{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/thread-loader/dist/cjs.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/flatmapvuer/src/components/FlatmapVuer.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/flatmapvuer/src/components/FlatmapVuer.vue","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/babel.config.js","mtime":1684261475125},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyLmpzIjsKaW1wb3J0IF9yZWdlbmVyYXRvclJ1bnRpbWUgZnJvbSAiL2hvbWUvY21pc3MvSmVua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mRyYXdlck9wZW4gPSAhdGhpcy5kcmF3ZXJPcGVuOwogICAgfSwKICAgIC8qKgogICAgICogRnVuY3Rpb24gdG8gdG9nZ2xlIGNvbG91ci9ncmV5c2NhbGUgb2Ygb3JnYW5zLgogICAgICovCiAgICBzZXRDb2xvdXI6IGZ1bmN0aW9uIHNldENvbG91cihmbGFnKSB7CiAgICAgIHRoaXMuY29sb3VyUmFkaW8gPSBmbGFnOwogICAgICBpZiAodGhpcy5tYXBJbXApIHsKICAgICAgICB0aGlzLm1hcEltcC5zZXRDb2xvdXIoewogICAgICAgICAgY29sb3VyOiBmbGFnLAogICAgICAgICAgb3V0bGluZTogdGhpcy5vdXRsaW5lc1JhZGlvCiAgICAgICAgfSk7CiAgICAgIH0KICAgIH0sCiAgICAvKioKICAgICAqIEZ1bmN0aW9uIHRvIHRvZ2dsZSBvdXRsaW5lcyBmIG9yZ2Fucy4KICAgICAqLwogICAgc2V0T3V0bGluZXM6IGZ1bmN0aW9uIHNldE91dGxpbmVzKGZsYWcpIHsKICAgICAgdGhpcy5vdXRsaW5lUmFkaW8gPSBmbGFnOwogICAgICBpZiAodGhpcy5tYXBJbXApIHsKICAgICAgICB0aGlzLm1hcEltcC5zZXRDb2xvdXIoewogICAgICAgICAgY29sb3VyOiB0aGlzLmNvbG91clJhZGlvLAogICAgICAgICAgb3V0bGluZTogZmxhZwogICAgICAgIH0pOwogICAgICB9CiAgICB9LAogICAgLyoqCiAgICAgKiBGdW5jdGlvbiB0byB0b2dnbGUgcGF0aHMgdG8gZGVmYXVsdC4KICAgICAqIEFsc28gY2FsbGVkIHdoZW4gdGhlIGFzc29jaWF0ZWQgYnV0dG9uIGlzIHByZXNzZWQuCiAgICAgKi8KICAgIHJlc2V0VmlldzogZnVuY3Rpb24gcmVzZXRWaWV3KCkgewogICAgICBpZiAodGhpcy5tYXBJbXApIHsKICAgICAgICB0aGlzLm1hcEltcC5yZXNldE1hcCgpOwogICAgICAgIGlmICh0aGlzLiRyZWZzLmNlbnRyZWxpbmVzU2VsZWN0aW9uKSB7CiAgICAgICAgICB0aGlzLiRyZWZzLmNlbnRyZWxpbmVzU2VsZWN0aW9uLnJlc2V0KCk7CiAgICAgICAgfQogICAgICAgIGlmICh0aGlzLiRyZWZzLnNrY2FuU2VsZWN0aW9uKSB7CiAgICAgICAgICB0aGlzLiRyZWZzLnNrY2FuU2VsZWN0aW9uLnJlc2V0KCk7CiAgICAgICAgfQogICAgICAgIGlmICh0aGlzLiRyZWZzLmxheWVyc1NlbGVjdGlvbikgewogICAgICAgICAgdGhpcy4kcmVmcy5sYXllcnNTZWxlY3Rpb24ucmVzZXQoKTsKICAgICAgICB9CiAgICAgICAgaWYgKHRoaXMuJHJlZnMuc3lzdGVtc1NlbGVjdGlvbikgewogICAgICAgICAgdGhpcy4kcmVmcy5wYXRod2F5c1NlbGVjdGlvbi5yZXNldCgpOwogICAgICAgIH0KICAgICAgICBpZiAodGhpcy4kcmVmcy5wYXRod2F5c1NlbGVjdGlvbikgewogICAgICAgICAgdGhpcy4kcmVmcy5wYXRod2F5c1NlbGVjdGlvbi5yZXNldCgpOwogICAgICAgIH0KICAgICAgfQogICAgfSwKICAgIC8qKgogICAgICogRnVuY3Rpb24gdG8gem9vbSBpbi4KICAgICAqIEFsc28gY2FsbGVkIHdoZW4gdGhlIGFzc29jaWF0ZWQgYnV0dG9uIGlzIHByZXNzZWQuCiAgICAgKi8KICAgIHpvb21JbjogZnVuY3Rpb24gem9vbUluKCkgewogICAgICBpZiAodGhpcy5tYXBJbXApIHsKICAgICAgICB0aGlzLm1hcEltcC56b29tSW4oKTsKICAgICAgfQogICAgfSwKICAgIC8qKgogICAgICogRnVuY3Rpb24gdG8gem9vbSBvdXQuCiAgICAgKiBBbHNvIGNhbGxlZCB3aGVuIHRoZSBhc3NvY2lhdGVkIGJ1dHRvbiBpcyBwcmVzc2VkLgogICAgICovCiAgICB6b29tT3V0OiBmdW5jdGlvbiB6b29tT3V0KCkgewogICAgICBpZiAodGhpcy5t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HsKICAgICAgdmFyIF90aGlzNiA9IHRoaXM7CiAgICAgIHJldHVybiBmdW5jdGlvbiAoZXZlbnRUeXBlLCBkYXRhKSB7CiAgICAgICAgaWYgKGV2ZW50VHlwZSAhPT0gInBhbi16b29tIikgewogICAgICAgICAgdmFyIGxhYmVsID0gZGF0YS5sYWJlbDsKICAgICAgICAgIHZhciByZXNvdXJjZSA9IFtkYXRhLm1vZGVsc107CiAgICAgICAgICB2YXIgdGF4b25vbXkgPSBfdGhpczYuZW50cnk7CiAgICAgICAgICB2YXIgYmlvbG9naWNhbFNleCA9IF90aGlzNi5iaW9sb2dpY2FsU2V4OwogICAgICAgICAgZm9yICh2YXIgX2xlbiA9IGFyZ3VtZW50cy5sZW5ndGgsIGFyZ3MgPSBuZXcgQXJyYXkoX2xlbiA+IDIgPyBfbGVuIC0gMiA6IDApLCBfa2V5ID0gMjsgX2tleSA8IF9sZW47IF9rZXkrKykgewogICAgICAgICAgICBhcmdzW19rZXkgLSAyXSA9IGFyZ3VtZW50c1tfa2V5XTsKICAgICAgICAgIH0KICAgICAgICAgIHZhciBwYXlsb2FkID0gewogICAgICAgICAgICBkYXRhc2V0OiBkYXRhLmRhdGFzZXQsCiAgICAgICAgICAgIGJpb2xvZ2ljYWxTZXg6IGJpb2xvZ2ljYWxTZXgsCiAgICAgICAgICAgIHRheG9ub215OiB0YXhvbm9teSwKICAgICAgICAgICAgcmVzb3VyY2U6IHJlc291cmNlLAogICAgICAgICAgICBsYWJlbDogbGFiZWwsCiAgICAgICAgICAgIGZlYXR1cmU6IGRhdGEsCiAgICAgICAgICAgIHVzZXJEYXRhOiBhcmdzLAogICAgICAgICAgICBldmVudFR5cGU6IGV2ZW50VHlwZSwKICAgICAgICAgICAgcHJvdmVuYW5jZVRheG9ub215OiBkYXRhLnRheG9ucyA/IEpTT04ucGFyc2UoZGF0YS50YXhvbnMpIDogdW5kZWZpbmVkCiAgICAgICAgICB9OwogICAgICAgICAgaWYgKGV2ZW50VHlwZSA9PT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UoKS5tYXJrKGZ1bmN0aW9uIF9jYWxsZWUyKGRhdGEpIHsKICAgICAgICByZXR1cm4gX3JlZ2VuZXJhdG9yUnVudGltZSgpLndyYXAoZnVuY3Rpb24gX2NhbGxlZTIkKF9jb250ZXh0MikgewogICAgICAgICAgd2hpbGUgKDEpIHN3aXRjaCAoX2NvbnRleHQyLnByZXYgPSBfY29udGV4dDIubmV4dCkgewogICAgICAgICAgICBjYXNlIDA6CiAgICAgICAgICAgICAgX2NvbnRleHQyLm5leHQgPSAyOwogICAgICAgICAgICAgIHJldHVybiB0aGlzLmZsYXRtYXBRdWVyaWVzLmNyZWF0ZVRvb2x0aXBEYXRhKGRhdGEpOwogICAgICAgICAgICBjYXNlIDI6CiAgICAgICAgICAgICAgdGhpcy50b29sdGlwRW50cnkgPSBfY29udGV4dDIuc2VudDsKICAgICAgICAgICAgICB0aGlzLmRpc3BsYXlUb29sdGlwKCk7CiAgICAgICAgICAgIGNhc2UgNDoKICAgICAgICAgICAgY2FzZSAiZW5kIjoKICAgICAgICAgICAgICByZXR1cm4gX2NvbnRleHQyLnN0b3AoKTsKICAgICAgICAgIH0KICAgICAgICB9LCBfY2FsbGVlMiwgdGhpcyk7CiAgICAgIH0pKTsKICAgICAgZnVuY3Rpb24gY3JlYXRlVG9vbHRpcEZyb21OZXVyb25DdXJhdGlvbihfeDIpIHsKICAgICAgICByZXR1cm4gX2NyZWF0ZVRvb2x0aXBGcm9tTmV1cm9uQ3VyYXRpb24uYXBwbHkodGhpcywgYXJndW1lbnRzKTsKICAgICAgfQogICAgICByZXR1cm4gY3JlYXRlVG9vbHRpcEZyb21OZXVyb25DdXJhdGlvbjsKICAgIH0oKSwKICAgIC8vIEtlZXBpbmcgdGhpcyBhcyBhbiBBUEkKICAgIHNob3dQb3B1cDogZnVuY3Rpb24gc2hvd1BvcHVwKGZlYXR1cmVJZCwgbm9kZSwgb3B0aW9ucykgewogICAgICB2YXIgbXlPcHRpb25zID0gb3B0aW9uczsKICAgICAga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WxzID0gW107CiAgICAgIGlmICh0aGlzLm1hcEltcCkgewogICAgICAgIHZhciBhbm5vdGF0aW9ucyA9IHRoaXMubWFwSW1wLmFubm90YXRpb25zOwogICAgICAgIHZhciBfaXRlcmF0b3IgPSBfY3JlYXRlRm9yT2ZJdGVyYXRvckhlbHBlcihhbm5vdGF0aW9ucy52YWx1ZXMoKSksCiAgICAgICAgICBfc3RlcDsKICAgICAgICB0cnkgewogICAgICAgICAgZm9yIChfaXRlcmF0b3IucygpOyAhKF9zdGVwID0gX2l0ZXJhdG9yLm4oKSkuZG9uZTspIHsKICAgICAgICAgICAgdmFyIHZhbHVlID0gX3N0ZXAudmFsdWU7CiAgICAgICAgICAgIGlmICh2YWx1ZS5sYWJlbCkgbGFiZWxzLnB1c2godmFsdWUubGFiZWwpOwogICAgICAgICAgfQogICAgICAgIH0gY2F0Y2ggKGVycikgewogICAgICAgICAgX2l0ZXJhdG9yLmUoZXJyKTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgX2l0ZXJhdG9yLmYoKTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIEFycmF5LmZyb20obmV3IFNldChsYWJlbHMpKTsKICAgICAgfQogICAgfSwKICAgIGdldFN0YXRlOiBmdW5jdGlvbiBnZXRTdGF0ZSgpIHsKICAgICAgaWYgKHRoaXMubWFwSW1wKSB7CiAgICAgICAgdmFyIHN0YXRlID0gewogICAgICAgICAgZW50cnk6IHRoaXMuZW50cnksCiAgICAgICAgICB2aWV3cG9ydDogdGhpcy5tYXBJbXAuZ2V0U3RhdGUoKQogICAgICAgIH07CiAgICAgICAgdmFyIGlkZW50aWZpZXIgPSB0aGlzLm1hcEltcC5nZXRJZGVudGlmaWVyKCk7CiAgICAgICAgaWYgKHRoaXMuYmlvbG9naWNhbFNleCkgc3RhdGVbJ2Jpb2xvZ2ljYWxTZXgnXSA9IHRoaXMuYmlvbG9naWNhbFNleDtlbHNlIGlmIChpZGVudGlmaWVyICYmIGlkZW50aWZpZXI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ICAgICAgfTsKICAgICAgICAgIH0gZWxzZSBpZiAoc3RhdGUuZW50cnkpIHsKICAgICAgICAgICAgaWRlbnRpZmllci50YXhvbiA9IHN0YXRlLmVudHJ5OwogICAgICAgICAgICBpZiAoc3RhdGUuYmlvbG9naWNhbFNleCkgewogICAgICAgICAgICAgIGlkZW50aWZpZXJbImJpb2xvZ2ljYWxTZXgiXSA9IHN0YXRlLmJpb2xvZ2ljYWxTZXg7CiAgICAgICAgICAgIH0gZWxzZSBpZiAoaWRlbnRpZmllci50YXhvbiA9PT0gIk5DQklUYXhvbjo5NjA2IikgewogICAgICAgICAgICAgIC8vRm9yIGJhY2t3YXJkIGNvbXBhdGliaWxpdHkKICAgICAgICAgICAgICBpZGVudGlmaWVyWyJiaW9sb2dpY2FsU2V4Il0gPSAiUEFUTzowMDAwMzg0IjsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAvLyBTZXQgdGhlIGJpb2xvaWNhbFNleCBub3cgaWYgbWFwIGlzIG5vdCByZXN1bWVkIGZyb20KICAgICAgICAgIC8vIGEgc2F2ZWQgc3RhdGUKICAgICAgICAgIGlmICh0aGlzLmJpb2xvZ2ljYWxTZXgpIHsKICAgICAgICAgICAgaWRlbnRpZmllclsiYmlvbG9naWNhbFNleCJdID0gdGhpcy5iaW9sb2dpY2FsU2V4OwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgICB2YXIgcHJvbWlzZTEgPSB0aGlzLm1hcE1hbmFnZXIubG9hZE1hcChpZGVudGlmaWVyLCB0aGlzLiRyZWZzLmRpc3BsYXksIHRoaXMuZXZlbnRDYWxsYmFjaygpLCB7CiAgICAgICAgICAvL2Z1bGxzY3JlZW5Db250cm9sOiBmYWxzZSwKICAgICAgICAgIC8vYW5ub3RhdGFibGU6IGZhbHNlLAogICAgICAgICAgLy9kZWJ1ZzogdHJ1ZSwKICAgICAgICAgIGZlYXR1cmVJbmZvOiB0aGlzLmZlYXR1cmV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biwKICAgICAgZGVmYXVsdDogZmFsc2UKICAgIH0sCiAgICBvcGVuTWFwT3B0aW9uczogewogICAgICB0eXBlOiBBcnJheSwKICAgICAgZGVmYXVsdDogZnVuY3Rpb24gX2RlZmF1bHQoKSB7CiAgICAgICAgcmV0dXJuIFt7CiAgICAgICAgICBkaXNwbGF5OiAiT3BlbiBBQyBNYXAiLAogICAgICAgICAga2V5OiAiQUMiCiAgICAgICAgfSwgewogICAgICAgICAgZGlzcGxheTogIk9wZW4gRkMgTWFwIiwKICAgICAgICAgIGtleTogIkZDIgogICAgICAgIH0sIHsKICAgICAgICAgIGRpc3BsYXk6ICJPcGVuIDNEIEh1bWFuIE1hcCIsCiAgICAgICAgICBrZXk6ICIzRCIKICAgICAgICB9XTsKICAgICAgfQogICAgfSwKICAgIGlzTGVnYWN5OiB7CiAgICAgIHR5cGU6IEJvb2xlYW4sCiAgICAgIGRlZmF1bHQ6IGZhbHNlCiAgICB9LAogICAgZGlzcGxheUxhdGVzdENoYW5nZXM6IHsKICAgICAgdHlwZTogQm9vbGVhbiwKICAgICAgZGVmYXVsdDogZmFsc2UKICAgIH0sCiAgICBsYXRlc3RDaGFuZ2VzTWVzc2FnZTogewogICAgICB0eXBlOiBTdHJpbmcsCiAgICAgIGRlZmF1bHQ6ICInT2JzZXJ2ZWQgSW4nIGNvbnRyb2xzIGFuZCBpbmZvcm1hdGlvbiBhcmUgbm93IGluY2x1ZGVkIGluIEFDIG1hcHMuIFN5c3RlbSBjb250cm9sIHdpdGggRlRVIGluZm9ybWF0aW9uIGhhcyBiZWVuIGFkZGVkIHRvIHRoZSBGQyBtYXAuIgogICAgfSwKICAgIC8qKgogICAgICogU3RhdGUgY29udGFpbmluZyBzdGF0ZSBvZiB0aGUgZmxhdG1hcC4KICAgICAqLwogICAgc3RhdGU6IHsKICAgICAgdHlwZTogT2JqZWN0LAogICAgICBkZWZhdWx0OiB1bmRlZmluZWQKICAgIH0sCiAgICAvKioKICAgICAqIFNwZWNpZnkgdGhlIGVuZHBvaW50IG9mIHRoZSBmbGF0bWFwIHNlcnZlci4KICAgICAqLwogICAgZmxhdG1hcEFQSTogewogICAgICB0eXBlOiBTdHJpbmcsCiAgICAgIGRlZmF1bHQ6ICJodHRwczovL21hcGNvcmUtZGVtby5vcmcvY3VycmVudC9mbGF0bWFwL3YzLyIKICAgIH0sCiAgICBzcGFyY0FQSTogewogICAgICB0eXBlOiBTdHJpbmcsCiAgICAgIGRlZmF1bHQ6ICJodHRwczovL2FwaS5zcGFyYy5zY2llbmNlLyIKICAgIH0KICB9LAogIHByb3ZpZGU6IGZ1bmN0aW9uIHByb3ZpZGUoKSB7CiAgICByZXR1cm4gewogICAgICBzcGFyY0FQSTogdGhpcy5zcGFyY0FQSSwKICAgICAgZmxhdG1hcEFQSTogdGhpcy5mbGF0bWFwQVBJCiAgICB9OwogIH0sCiAgZGF0YTogZnVuY3Rpb24gZGF0YSgpIHsKICAgIHJldHVybiB7CiAgICAgIGxheWVyczogW10sCiAgICAgIHBhdGh3YXlzOiBbXSwKICAgICAgc2NrYW5EaXNwbGF5OiBbewogICAgICAgIGxhYmVsOiAiRGlzcGxheSBQYXRoIHdpdGggU0NLQU4iLAogICAgICAgIGtleTogIlZBTElEIgogICAgICB9XSwKICAgICAgY2VudHJlTGluZXM6IFt7CiAgICAgICAgbGFiZWw6ICJEaXNwbGF5IE5lcnZlcyIsCiAgICAgICAga2V5OiAiY2VudHJlbGluZXMiLAogICAgICAgIGVuYWJsZWQ6IGZhbHNlCiAgICAgIH1dLAogICAgICBzeXN0ZW1zOiBbXSwKICAgICAgdGF4b25Db25uZWN0aXZpdHk6IFtdLAogICAgICBwYXRod2F5c01heEhlaWdodDogMTAwMCwKICAgICAgaG92ZXJWaXNpYmlsaXRpZXM6IFt7CiAgICAgICAgdmFsdWU6IGZhbHNlCiAgICAgIH0sIHsKICAgICAgICB2YWx1ZTogZmFsc2UKICAgICAgfSwgewogICAgICAgIHZhbHVlOiBmYWxzZQogICAgICB9LCB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0YXRlKTsKICAgICAgfQogICAgfSBlbHNlIGlmICh0aGlzLnJlbmRlckF0TW91bnRlZCkgewogICAgICB0aGlzLmNyZWF0ZUZsYXRtYXAoKTsKICAgIH0KICB9Cn07"},{"version":3,"names":["Vue","Tooltip","SelectionsGroup","TreeControls","MapSvgIcon","MapSvgSpriteColor","SvgLegends","lang","locale","flatmapMarker","FlatmapQueries","findTaxonomyLabel","use","_Button","_Col","_Loading","directive","_Radio","_RadioGroup","_Row","ResizeSensor","require","processTaxon","flatmapAPI","taxonIdentifiers","processed","forEach","taxon","then","value","item","label","push","processFTUs","parent","key","ftus","items","organs","children","filter","obj","index","findIndex","undefined","child","data","models","concat","grandChildren","length","processSystems","systems","allSystems","system","colour","enabled","id","createUnfilledTooltipData","destinations","origins","components","destinationsWithDatasets","originsWithDatasets","componentsWithDatasets","resource","name","beforeCreate","mapManager","mapImp","setStateRequired","methods","viewLatestMap","biologicalSex","entry","state","viewport","getState","$emit","backgroundChangeCallback","currentBackground","setBackgroundColour","toggleDrawer","drawerOpen","setColour","flag","colourRadio","outline","outlinesRadio","setOutlines","outlineRadio","resetView","resetMap","$refs","centrelinesSelection","reset","skcanSelection","layersSelection","systemsSelection","pathwaysSelection","zoomIn","zoomOut","centreLinesSelected","payload","enableCentrelines","sckanSelected","enableSckanPath","checkAllSCKAN","_this","keys","systemSelected","enableSystem","checkAllSystems","_this2","ftuSelected","searchAndShowResult","layersSelected","enableLayer","checkAllLayers","_this3","taxonsSelected","enableConnectivityByTaxonIds","checkAllTaxons","_this4","pathwaysSelected","enablePath","checkAllPathways","_this5","enablePanZoomEvents","eventCallback","_this6","eventType","taxonomy","_len","arguments","args","Array","_key","dataset","feature","userData","provenanceTaxonomy","taxons","JSON","parse","currentActive","currentHover","type","checkAndCreatePopups","_checkAndCreatePopups","_asyncToGenerator","_regeneratorRuntime","mark","_callee","results","wrap","_callee$","_context","prev","next","flatmapQueries","retrieveFlatmapKnowledgeForEvent","sent","hyperlinks","resourceForTooltip","createTooltipFromNeuronCuration","stop","_x","apply","popUpCssHacks","ftooltip","document","querySelector","style","display","tooltip","$el","onclick","_createTooltipFromNeuronCuration","_callee2","_callee2$","_context2","createTooltipData","tooltipEntry","displayTooltip","_x2","showPopup","featureId","node","options","myOptions","className","positionAtLastClick","showMarkerPopup","closeMinimap","minimapEl","flatmapContainer","minimapSmall","classList","add","remove","addResizeButtonToMinimap","minimapResize","parentNode","removeChild","appendChild","minimapResizeShow","setHelpMode","helpMode","inHelp","hoverVisibilities","openFlatmapHelpPopup","closeFlatmapHelpPopup","showToolitip","tooltipNumber","_this7","clearTimeout","tooltipWait","setTimeout","hideToolitip","_this8","modelFeatureIds","heartId","featureIdsForModel","elm","anchor","querySelectorAll","click","getLabels","labels","annotations","_iterator","_createForOfIteratorHelper","values","_step","s","n","done","err","e","f","from","Set","identifier","getIdentifier","uuid","setState","createFlatmap","restoreMapState","searchTerm","_this9","loading","minimap","displayMinimap","position","promise1","loadMap","featureInfo","minZoom","layerControl","pathControls","searchable","tooltips","returnedObject","onFlatmapReady","_stateToBeSet","computePathControlsMaximumHeight","elem","computed","getComputedStyle","padding","parseInt","paddingTop","paddingBottom","height","clientHeight","pathwaysMaxHeight","mapResize","resize","showMinimap","_minimap","_unused","console","error","sensor","isFC","setBackgroundOpacity","pathways","pathTypes","getSystems","taxonConnectivity","showPathwaysDrawer","term","displayLabel","clearSearchResults","searchResults","search","showSearchResults","text","annotation","preserveSelection","searchSuggestions","props","String","default","Boolean","Number","renderAtMounted","displayWarning","enableOpenMapUI","openMapOptions","_default","isLegacy","displayLatestChanges","latestChangesMessage","Object","sparcAPI","provide","layers","sckanDisplay","centreLines","availableBackground","connectivityTooltipVisible","watch","val","handler","immediate","deep","mounted","flatmap","MapManager","initialise"],"sources":["node_modules/@abi-software/flatmapvuer/src/components/FlatmapVuer.vue"],"sourcesContent":["\n\n\n\n\n\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0WA;AACA,OAAA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