"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MapWorldInstance = void 0; const tslib_1 = require("tslib"); const mapWorld_1 = tslib_1.__importDefault(require("./service/mapWorld/mapWorld")); exports.MapWorldInstance = mapWorld_1.default; class MapWorldSDK { webKeyMap; constructor() { this.webKeyMap = {}; } getInstance(key) { if (this.webKeyMap[key]) { return this.webKeyMap[key]; } const instance = new mapWorld_1.default(key); Object.assign(this.webKeyMap, { [key]: instance, }); return instance; } } const SDK = new MapWorldSDK(); exports.default = SDK;