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MAAQ,MAChB,QAAQ,SAAW,SACnB,QAAQ,SAAW,SACnB,QAAQ,UAAY,UACpB,QAAQ,UAAY,UACpB,QAAQ,iBAAmB,iBAC3B,QAAQ,mBAAqB,mBAC7B,QAAQ,UAAY,UACpB,QAAQ,MAAQ","file":"/npm/reactant-module@0.150.0/dist/index.cjs.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/reactant-module@0.150.0/dist/index.cjs.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\n\nvar mutative = require('mutative');\nvar reactantDi = require('reactant-di');\nvar redux = require('redux');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n    if (typeof b !== \"function\" && b !== null)\r\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    };\r\n    return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nfunction __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nfunction __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nfunction __spreadArray(to, from, pack) {\r\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n        if (ar || !(i in from)) {\r\n            if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n            ar[i] = from[i];\r\n        }\r\n    }\r\n    return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n    var e = new Error(message);\r\n    return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\nvar storeKey = Symbol('store');\nvar loaderKey = Symbol('loader');\nvar subscriptionsKey = Symbol('subscriptions');\nvar unsubscriptionsKey = Symbol('unsubscriptions');\nvar stateKey = Symbol('state');\nvar defaultStateKey = Symbol('defaultState');\nvar signalMapKey = Symbol('signalMap');\nvar enablePatchesKey = Symbol('enablePatches');\nvar enableAutoComputedKey = Symbol('enableAutoComputed');\nvar enableAutoFreezeKey = Symbol('enableAutoFreeze');\nvar strictKey = Symbol('strict');\nvar enableInspectorKey = Symbol('enableInspector');\nvar checkActionKey = Symbol('checkAction');\nvar actionIdentifier = 'REACTANT_ACTION';\n\nvar containerKey = Symbol('container');\nvar identifierKey = Symbol('identifier');\nvar modulesKey = Symbol('modules');\nvar nameKey = Symbol('name');\nvar initStateKey = Symbol('initState');\nvar dynamicModulesKey = Symbol('dynamicModules');\n\nvar ViewModule = /** @class */ (function () {\n    function ViewModule() {\n        // It needs to ensure that the default props of the component in the current instance can be assigned values,\n        // and have the correct 'this' binding.\n        if (typeof this.component !== 'function') {\n            throw new Error(\"'\".concat(Object.getPrototypeOf(this).constructor.name, \"' ViewModule 'component' property should be defined class 'method'.\"));\n        }\n        this.component = this.component.bind(this);\n    }\n    ViewModule = __decorate([\n        reactantDi.injectable(),\n        __metadata(\"design:paramtypes\", [])\n    ], ViewModule);\n    return ViewModule;\n}());\n\nvar stagedState;\nvar getStagedState = function () { return stagedState; };\n/**\n * ## Description\n *\n * `@action` is used to decorate a class method as a action method.\n *\n * ## Example\n *\n * ```ts\n * @injectable()\n * class Counter {\n *   @state\n *   count = 0;\n *\n *   @action\n *   increase() {\n *     this.count += 1;\n *   }\n * }\n *\n * const app = testBed({\n *   modules: [],\n *   main: Counter,\n * });\n *\n * app.instance.increase();\n * expect(app.instance.count).toBe(1);\n * ```\n */\nvar action = function (target, key, descriptor) {\n    var fn = descriptor.value;\n    if (process.env.NODE_ENV !== 'production' && typeof fn !== 'function') {\n        throw new Error(\"\".concat(String(key), \" can only be decorated by '@action' as a class method.\"));\n    }\n    var value = function () {\n        var _a;\n        var _this = this;\n        var args = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            args[_i] = arguments[_i];\n        }\n        var ref = getRef(this);\n        if (typeof ref.store === 'undefined') {\n            throw new Error(\"'this' in method '\".concat(key.toString(), \"' of class '\").concat(target.constructor.name, \"' decorated by '@action' must be bound to the current class instance.\"));\n        }\n        if (typeof ref.checkAction === 'function') {\n            try {\n                ref.checkAction({\n                    target: this,\n                    ref: ref,\n                    method: key,\n                    args: args,\n                });\n            }\n            catch (error) {\n                console.error(error);\n            }\n        }\n        else if (process.env.NODE_ENV !== 'production' && ref.checkAction !== undefined) {\n            throw new Error(\"The method '\".concat(key, \"' decorated by '@action' must be checked by 'checkAction' option function.\"));\n        }\n        if (typeof stagedState === 'undefined') {\n            try {\n                var lastState = ref.store.getState();\n                var state = void 0;\n                var patches = void 0;\n                var inversePatches = void 0;\n                if (ref.enablePatches) {\n                    _a = __read(mutative.create(lastState, function (draftState) {\n                        stagedState = draftState;\n                        var result = fn.apply(_this, args);\n                        if (process.env.NODE_ENV !== 'production' && result !== undefined) {\n                            throw new Error(\"The return value of the method '\".concat(key, \"' is not allowed.\"));\n                        }\n                    }, {\n                        enablePatches: true,\n                        strict: ref.strict,\n                        enableAutoFreeze: ref.enableAutoFreeze,\n                    }), 3), state = _a[0], patches = _a[1], inversePatches = _a[2];\n                }\n                else {\n                    state = mutative.create(lastState, function (draftState) {\n                        stagedState = draftState;\n                        var result = fn.apply(_this, args);\n                        if (process.env.NODE_ENV !== 'production' && result !== undefined) {\n                            throw new Error(\"The return value of the method '\".concat(key, \"' is not allowed.\"));\n                        }\n                    }, {\n                        strict: ref.strict,\n                        enableAutoFreeze: ref.enableAutoFreeze,\n                    });\n                }\n                stagedState = undefined;\n                if (process.env.NODE_ENV !== 'production') {\n                    var methodName = \"\".concat(ref.identifier, \".\").concat(key.toString());\n                    if (ref.enableInspector && lastState === state) {\n                        console.warn(\"There are no state updates to method '\".concat(methodName, \"'\"));\n                    }\n                }\n                ref.store.dispatch(__assign({ type: ref.identifier, method: key, params: args, state: state, _reactant: actionIdentifier }, (ref.enablePatches\n                    ? {\n                        _patches: patches,\n                        _inversePatches: inversePatches,\n                    }\n                    : {})));\n            }\n            finally {\n                stagedState = undefined;\n            }\n        }\n        else {\n            // enable staged state mode.\n            fn.apply(this, args);\n        }\n    };\n    return __assign(__assign({}, descriptor), { value: value });\n};\n\nfunction assign(target, key, value, options) {\n    Object.defineProperty(target, key, __assign({ configurable: true, writable: true, enumerable: true, value: value }, options));\n}\n\nvar isEqual = function (x, y) {\n    if (x === y) {\n        return x !== 0 || y !== 0 || 1 / x === 1 / y;\n    }\n    // eslint-disable-next-line no-self-compare\n    return x !== x && y !== y;\n};\nvar isEqualExceptFunction = function (x, y) {\n    if (typeof x === 'function' && typeof y === 'function')\n        return true;\n    return isEqual(x, y);\n};\nvar areShallowEqualWithObject = function (objA, objB) {\n    if (isEqualExceptFunction(objA, objB))\n        return true;\n    if (typeof objA !== 'object' ||\n        objA === null ||\n        typeof objB !== 'object' ||\n        objB === null) {\n        return false;\n    }\n    var keysA = Object.keys(objA);\n    var keysB = Object.keys(objB);\n    if (keysA.length !== keysB.length)\n        return false;\n    for (var i = 0; i < keysA.length; i += 1) {\n        if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) ||\n            !isEqualExceptFunction(objA[keysA[i]], objB[keysA[i]])) {\n            return false;\n        }\n    }\n    return true;\n};\nfunction areShallowEqualWithArray(prev, next) {\n    if (prev === null || next === null || prev.length !== next.length) {\n        return false;\n    }\n    var length = prev.length;\n    for (var i = 0; i < length; i += 1) {\n        if (!isEqual(prev[i], next[i])) {\n            return false;\n        }\n    }\n    return true;\n}\n\nvar getStageName = function (className) {\n    return \"@@reactant/\".concat(className, \"/\").concat(Math.random().toString(36));\n};\n\nvar perform = function (funs, parameter) {\n    return funs.reduce(function (param, fun) { return fun(param); }, parameter);\n};\n\nvar getComposeEnhancers = function (enableReduxDevTools, reduxDevToolsOptions) {\n    try {\n        var reduxDevToolsCompose = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;\n        return typeof reduxDevToolsCompose === 'function' && enableReduxDevTools\n            ? reduxDevToolsCompose(__assign({ serialize: true, actionSanitizer: function (action) {\n                    return action._reactant === actionIdentifier\n                        ? __assign(__assign({}, action), { type: \"@@reactant/\".concat(action.type, \"/\").concat(action.method) }) : action;\n                } }, reduxDevToolsOptions))\n            : redux.compose;\n    }\n    catch (e) {\n        return redux.compose;\n    }\n};\n\nvar compose = redux.compose;\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable func-names */\n/* eslint-disable prefer-rest-params */\nfunction defaultMemoize(func) {\n    var lastArgs = new Map();\n    var lastResult = new Map();\n    return function () {\n        var _a;\n        if (!areShallowEqualWithArray((_a = lastArgs.get(this)) !== null && _a !== void 0 ? _a : [], arguments)) {\n            lastResult.set(this, func.apply(this, arguments));\n        }\n        lastArgs.set(this, arguments);\n        return lastResult.get(this);\n    };\n}\nvar createSelectorCreatorWithArray = function (memoize) {\n    if (memoize === void 0) { memoize = defaultMemoize; }\n    return function (dependenciesFunc, resultFunc) {\n        var memoizedResultFunc = memoize(function () {\n            return resultFunc.apply(this, arguments);\n        });\n        return function () {\n            return memoizedResultFunc.apply(this, dependenciesFunc.apply(null, [this]));\n        };\n    };\n};\nvar createSelectorWithArray = createSelectorCreatorWithArray();\n\n/**\n * ## Description\n *\n * You can use `@autobind` and decorate any class method that binds the instance of the current class as its `this`,\n * it can also be used with `@action`.\n *\n * ## Example\n *\n * ```ts\n * class Shop {\n *   @state\n *   count = 0;\n *\n *   list: string[] = [];\n *\n *   @autobind\n *   @action\n *   increase() {\n *     this.count += 0;\n *   }\n *\n *   @autobind\n *   addGood(text) {\n *     this.list.push(text);\n *   }\n * }\n *\n * const app = testBed({\n *   modules: [],\n *   main: Shop,\n * });\n *\n * const { increase, addGood } = app.instance;\n * increase();\n * addGood('apple');\n * expect(app.instance.count).toBe(1);\n * expect(app.instance.list).toEqual(['apple']);\n * ```\n */\nfunction autobind(target, key, _a) {\n    var value = _a.value, configurable = _a.configurable, enumerable = _a.enumerable;\n    if (process.env.NODE_ENV !== 'production' && typeof value !== 'function') {\n        throw new SyntaxError(\"@autobind decorator must be applied to functions not: \".concat(typeof value));\n    }\n    return {\n        configurable: configurable,\n        enumerable: enumerable,\n        get: function () {\n            if (this === target) {\n                return value;\n            }\n            if (target.constructor !== this.constructor &&\n                target.constructor === Object.getPrototypeOf(this).constructor) {\n                return value;\n            }\n            var boundFn = value.bind(this);\n            assign(this, key, boundFn, { enumerable: false });\n            return boundFn;\n        },\n        set: function (setValue) {\n            assign(this, key, setValue);\n        },\n    };\n}\n\n/**\n * ## Description\n *\n * `@state` is used to decorate a class property as a state field.\n *\n * ## Example\n *\n * ```ts\n * @injectable()\n * class Counter {\n *   @state\n *   count = 0;\n * }\n *\n * const app = testBed({\n *   modules: [],\n *   main: Counter,\n * });\n *\n * expect(app.instance.count).toBe(0);\n * ```\n */\nfunction state(target, key, descriptor) {\n    var _a, _b;\n    var service = target;\n    if (process.env.NODE_ENV !== 'production' && typeof key !== 'string') {\n        throw new Error(\"'@state' decorate \".concat(key.toString(), \" error in \").concat(target.constructor.name, \" class, it only supports class properties that decorate keys for string types.\"));\n    }\n    Object.assign(target, (_a = {},\n        _a[stateKey] = __assign(__assign({}, service[stateKey]), (_b = {}, _b[key] = undefined, _b)),\n        _a));\n}\n\nvar evalContext;\nvar globalVersion = 0;\nvar untrackedDepth = 0;\nvar untracked = function (callback) {\n    if (untrackedDepth > 0) {\n        return callback();\n    }\n    var prevContext = evalContext;\n    evalContext = undefined;\n    untrackedDepth += 1;\n    try {\n        return callback();\n    }\n    finally {\n        untrackedDepth -= 1;\n        evalContext = prevContext;\n    }\n};\nvar Signal = /** @class */ (function () {\n    function Signal(value) {\n        this._version = 0;\n        this._value = value;\n    }\n    Signal.prototype._refresh = function () {\n        return true;\n    };\n    Object.defineProperty(Signal.prototype, \"value\", {\n        get: function () {\n            var node = this.addDependency();\n            if (node !== undefined) {\n                node._version = this._version;\n            }\n            return this._value;\n        },\n        set: function (value) {\n            if (evalContext instanceof Computed) {\n                throw new Error('Computed cannot have side-effects');\n            }\n            if (value !== this._value) {\n                this._value = value;\n                this._version += 1;\n                globalVersion += 1;\n            }\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Signal.prototype.addDependency = function () {\n        if (evalContext === undefined) {\n            return;\n        }\n        var node = this._node;\n        if (node === undefined || node._target !== evalContext) {\n            node = {\n                _version: 0,\n                _source: this,\n                _prevSource: evalContext._sources,\n                _nextSource: undefined,\n                _target: evalContext,\n                _prevTarget: undefined,\n                _nextTarget: undefined,\n                _rollbackNode: node,\n            };\n            if (evalContext._sources !== undefined) {\n                evalContext._sources._nextSource = node;\n            }\n            evalContext._sources = node;\n            this._node = node;\n            return node;\n        }\n        else if (node._version === -1) {\n            node._version = 0;\n            if (node._nextSource !== undefined) {\n                node._nextSource._prevSource = node._prevSource;\n                if (node._prevSource !== undefined) {\n                    node._prevSource._nextSource = node._nextSource;\n                }\n                node._prevSource = evalContext._sources;\n                node._nextSource = undefined;\n                evalContext._sources._nextSource = node;\n                evalContext._sources = node;\n            }\n            return node;\n        }\n    };\n    return Signal;\n}());\nvar signal = function (value) { return new Signal(value); };\nvar Computed = /** @class */ (function (_super) {\n    __extends(Computed, _super);\n    function Computed(compute) {\n        var _this = _super.call(this, undefined) || this;\n        _this._globalVersion = globalVersion - 1;\n        // TODO: refactor for improving performance\n        _this._flags = new Set([2 /* ComputedFlags.Outdated */]);\n        _this._compute = compute;\n        return _this;\n    }\n    Computed.prototype._refresh = function () {\n        this._flags.delete(1 /* ComputedFlags.Notified */);\n        if (this._flags.has(0 /* ComputedFlags.Running */)) {\n            return false;\n        }\n        if (!this._flags.has(2 /* ComputedFlags.Outdated */) &&\n            this._flags.has(4 /* ComputedFlags.Tracking */)) {\n            return true;\n        }\n        this._flags.delete(2 /* ComputedFlags.Outdated */);\n        if (this._globalVersion === globalVersion) {\n            return true;\n        }\n        this._globalVersion = globalVersion;\n        this._flags.add(0 /* ComputedFlags.Running */);\n        if (this._version > 0 && !this.needsToRecompute()) {\n            this._flags.delete(0 /* ComputedFlags.Running */);\n            return true;\n        }\n        var prevContext = evalContext;\n        try {\n            this.prepareSources();\n            evalContext = this;\n            var value = this._compute();\n            if (this._flags.has(3 /* ComputedFlags.HasError */) ||\n                this._value !== value ||\n                this._version === 0) {\n                this._value = value;\n                this._flags.delete(3 /* ComputedFlags.HasError */);\n                this._version += 1;\n            }\n        }\n        catch (err) {\n            this._value = err;\n            this._flags.add(3 /* ComputedFlags.HasError */);\n            this._version += 1;\n        }\n        evalContext = prevContext;\n        this.cleanupSources();\n        this._flags.delete(0 /* ComputedFlags.Running */);\n        return true;\n    };\n    Object.defineProperty(Computed.prototype, \"value\", {\n        get: function () {\n            if (this._flags.has(0 /* ComputedFlags.Running */)) {\n                throw new Error('Cycle detected');\n            }\n            var node = this.addDependency();\n            this._refresh();\n            if (node !== undefined) {\n                node._version = this._version;\n            }\n            if (this._flags.has(3 /* ComputedFlags.HasError */)) {\n                throw this._value;\n            }\n            return this._value;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Computed.prototype.needsToRecompute = function () {\n        for (var node = this._sources; node !== undefined; node = node._nextSource) {\n            if (node._source._version !== node._version ||\n                !node._source._refresh() ||\n                node._source._version !== node._version) {\n                return true;\n            }\n        }\n        return false;\n    };\n    Computed.prototype.prepareSources = function () {\n        for (var node = this._sources; node !== undefined; node = node._nextSource) {\n            var rollbackNode = node._source._node;\n            if (rollbackNode !== undefined) {\n                node._rollbackNode = rollbackNode;\n            }\n            node._source._node = node;\n            node._version = -1;\n            if (node._nextSource === undefined) {\n                this._sources = node;\n                break;\n            }\n        }\n    };\n    Computed.prototype.cleanupSources = function () {\n        var node = this._sources;\n        var head;\n        while (node !== undefined) {\n            var prev = node._prevSource;\n            if (node._version === -1) {\n                if (prev !== undefined) {\n                    prev._nextSource = node._nextSource;\n                }\n                if (node._nextSource !== undefined) {\n                    node._nextSource._prevSource = prev;\n                }\n            }\n            else {\n                head = node;\n            }\n            node._source._node = node._rollbackNode;\n            if (node._rollbackNode !== undefined) {\n                node._rollbackNode = undefined;\n            }\n            node = prev;\n        }\n        this._sources = head;\n    };\n    return Computed;\n}(Signal));\nvar computed$1 = function (compute) {\n    return new Computed(compute);\n};\n\n/**\n * ## Description\n *\n * You can use `@computed` to decorate a getter function for derived data,\n * which quickly solves performance problems for computing derived data.\n *\n * if you want to use `@computed` with non-manually maintained dependencies,\n * you should enable auto computed feature by setting 'autoComputed' to 'true' in the dev options.\n *\n * ## Example\n *\n * ```ts\n * class Shop {\n *   @state\n *   fruits = [];\n *\n *   @state\n *   vegetables = [];\n *\n *   @computed(({ fruits, vegetables }: Shop) => [fruits, fruits])\n *   get sum() {\n *     return this.fruits.length + this.vegetables.length;\n *   }\n * }\n * ```\n */\nfunction computed() {\n    var args = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n    }\n    if (args.length === 1 && typeof args[0] === 'function') {\n        return function (target, key, descriptor) {\n            var depsCallback = args[0];\n            if (process.env.NODE_ENV !== 'production') {\n                if (typeof descriptor.get !== 'function') {\n                    throw new Error(\"'@computed' should decorate a getter.\");\n                }\n                if (typeof depsCallback !== 'function') {\n                    throw new Error(\"@computed() parameter should be a selector function for dependencies collection.\");\n                }\n            }\n            var depsCallbackSelector = createSelectorWithArray(\n            // for performance improvement\n            function (that) {\n                var _a;\n                return [(_a = that[storeKey]) === null || _a === void 0 ? void 0 : _a.getState()];\n            }, \n            // eslint-disable-next-line func-names\n            function () {\n                return depsCallback(this);\n            });\n            var selector = createSelectorWithArray(function (that) {\n                var stagedState = getStagedState();\n                if (that[enableAutoComputedKey] && !stagedState) {\n                    depsCallback(that);\n                }\n                return depsCallbackSelector.call(that);\n            }, descriptor.get);\n            return __assign(__assign({}, descriptor), { get: function () {\n                    return selector.call(this);\n                } });\n        };\n    }\n    var descriptor = args[2];\n    if (process.env.NODE_ENV !== 'production') {\n        if (typeof descriptor.get !== 'function') {\n            throw new Error(\"'@computed' should decorate a getter.\");\n        }\n    }\n    var computedMap = new WeakMap();\n    return __assign(__assign({}, descriptor), { get: function () {\n            if (!this[enableAutoComputedKey]) {\n                // if the auto computed feature is disabled, return the computed value directly.\n                if (process.env.NODE_ENV !== 'production' && this[storeKey]) {\n                    console.warn(\"You should enable auto computed feature by setting 'autoComputed' to 'true' in the dev options.\");\n                }\n                return descriptor.get.call(this);\n            }\n            var stagedState = getStagedState();\n            if (!this[storeKey]) {\n                return descriptor.get.call(this);\n            }\n            var currentComputed = computedMap.get(this);\n            if (stagedState) {\n                // if the state is staged and the cache value is computed with the current store state, return the cache value.\n                if ((currentComputed === null || currentComputed === void 0 ? void 0 : currentComputed.storeState) === this[storeKey].getState()) {\n                    return currentComputed.value;\n                }\n                // because the state is staged and it's a draft, so the cache value is invalid, so we need to recompute the value without signal computed instance.\n                return descriptor.get.call(this);\n            }\n            if (!currentComputed) {\n                var instance = computed$1(descriptor.get.bind(this));\n                currentComputed = {\n                    instance: instance,\n                };\n                computedMap.set(this, currentComputed);\n            }\n            var currentValue = currentComputed.instance.value;\n            // update the cache value and store state\n            currentComputed.value = currentValue;\n            currentComputed.storeState = this[storeKey].getState();\n            return currentValue;\n        } });\n}\n// https://github.com/microsoft/TypeScript/issues/338\n\nvar lazy = reactantDi.getLazyDecorator(function (serviceIdentifier, target) {\n    try {\n        var services = target[containerKey].getAll(serviceIdentifier);\n        return services.length === 1 ? services[0] : services;\n    }\n    catch (e) {\n        if (process.env.NODE_ENV !== 'production' && (target === null || target === void 0 ? void 0 : target[storeKey])) {\n            console.warn(\"Failed to get instance of lazy loading module \".concat(serviceIdentifier.toString(), \".\"));\n        }\n    }\n    return null;\n});\n\n/* eslint-disable no-undef-init */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar dynamic = function (serviceIdentifierOrName, options) { return function (target, key) {\n    var _a, _b;\n    var multipleInject = (_a = options === null || options === void 0 ? void 0 : options.multiple) !== null && _a !== void 0 ? _a : false;\n    var useToken = (_b = options === null || options === void 0 ? void 0 : options.useToken) !== null && _b !== void 0 ? _b : false;\n    if (multipleInject) {\n        reactantDi.multiOptional(serviceIdentifierOrName)(/** @class */ (function () {\n            function class_1() {\n            }\n            return class_1;\n        }()));\n    }\n    function getter() {\n        var _a, _b;\n        if (!useToken) {\n            return (_a = this[modulesKey]) === null || _a === void 0 ? void 0 : _a[serviceIdentifierOrName];\n        }\n        var dynamicModules = this[dynamicModulesKey];\n        if (process.env.NODE_ENV !== 'production' && !dynamicModules) {\n            throw new Error(\"The property '\".concat(key.toString(), \"' is not readable when class \").concat((_b = this[identifierKey]) !== null && _b !== void 0 ? _b : this.constructor.name, \" is constructing.\"));\n        }\n        if (dynamicModules.has(serviceIdentifierOrName)) {\n            return dynamicModules.get(serviceIdentifierOrName).value;\n        }\n        var value = undefined;\n        try {\n            var services = this[containerKey].getAll(serviceIdentifierOrName);\n            value = !multipleInject ? services[0] : services;\n        }\n        catch (e) {\n            //\n        }\n        dynamicModules.set(serviceIdentifierOrName, {\n            multiple: multipleInject,\n            value: value,\n        });\n        return value;\n    }\n    function setter(_) {\n        var _a;\n        throw new Error(\"Cannot assign to read only 'dynamic' injection property '\".concat(key.toString(), \"' of class '\").concat((_a = this[identifierKey]) !== null && _a !== void 0 ? _a : this.constructor.name, \"'\"));\n    }\n    // It should be compatible with the TS decorator and the babel decorator\n    return {\n        configurable: true,\n        enumerable: true,\n        get: getter,\n        set: setter,\n    };\n}; };\n\n/**\n * ## Description\n *\n * You can use `@injectable()` to decorate an injectable module, which will also allow `emitDecoratorMetadata` to take effect in the decorated class, so the corresponding `@inject()` is optional.\n *\n * But if you don't want to use `@injectable()`, then the dependency injection decorator for constructors such as `@inject()` is required, and it must be imported in the corresponding `modules` startup configuration. Therefore, in most cases, it is recommended to use `@injectable()`.\n *\n * ## Example\n *\n * ```ts\n * @injectable()\n * class Bar {\n *   getValue() {\n *     return 'bar';\n *   }\n * }\n *\n * class Foo {\n *   constructor(@inject() public bar: Bar) {}\n * }\n *\n * @injectable()\n * class FooBar {\n *   constructor(public bar: Bar, public foo: Foo) {}\n * }\n *\n * const fooBar = testBed({\n *   modules: [\n *    Foo // `Foo` is required, but `Bar` will be injected automatically.\n *  ],\n *   main: FooBar,\n * });\n *\n * expect(fooBar.instance.foo.getValue()).toBe('foo');\n * ```\n *\n * If you use JavaScript, then you can only use `@injectable()` to define the full dependency metadata.\n *\n * ```js\n * @injectable()\n * class Bar {\n *   getValue() {\n *     return 'bar';\n *   }\n * }\n *\n * @injectable()\n * class Foo {\n *   getValue() {\n *     return 'foo';\n *   }\n * }\n *\n * @injectable({\n *   name: 'fooBar',\n *   deps: [Bar,  { provide: 'foo' }],\n * })\n * class FooBar {\n *   constructor(bar, foo) {\n *     this.bar = bar;\n *     this.foo = foo;\n *   }\n * }\n *\n * const fooBar = testBed({\n *   modules: [\n *    Bar,\n *    { provide: 'foo', useClass: Foo },\n *  ],\n *   main: FooBar,\n * });\n *\n * expect(fooBar.instance.foo.getValue()).toBe('foo');\n * ```\n */\nfunction injectable(options) {\n    if (options === void 0) { options = {}; }\n    var decorate = reactantDi.injectable(options);\n    return function (target) {\n        var name = options.name;\n        if (typeof name === 'string') {\n            Object.defineProperty(target.prototype, nameKey, {\n                enumerable: false,\n                configurable: false,\n                writable: false,\n                value: name,\n            });\n        }\n        else if (process.env.NODE_ENV !== 'production' && typeof name !== 'undefined') {\n            console.warn(\"The parameter 'name' of the decorator @injectable(options) used in '\".concat(target.name, \"' class must be a string.\"));\n        }\n        return decorate(target);\n    };\n}\n\nvar PluginModule = /** @class */ (function () {\n    function PluginModule() {\n    }\n    PluginModule = __decorate([\n        reactantDi.injectable()\n    ], PluginModule);\n    return PluginModule;\n}());\n\nvar generatePluginHooks = function () { return ({\n    middleware: [],\n    beforeCombineRootReducers: [],\n    afterCombineRootReducers: [],\n    enhancer: [],\n    preloadedStateHandler: [],\n    afterCreateStore: [],\n    provider: [],\n}); };\nvar mergePluginHooks = function (pluginHooks, _assignPluginHooks, _pushPluginHooks) {\n    Object.keys(pluginHooks).forEach(function (key) {\n        var _a;\n        var assignPluginHooks = _assignPluginHooks[key].filter(Boolean);\n        var pushPluginHooks = _pushPluginHooks[key];\n        (_a = pluginHooks[key]).push.apply(_a, __spreadArray(__spreadArray([], __read(assignPluginHooks), false), __read(pushPluginHooks), false));\n    });\n};\nvar assignPlugin = function (service, pluginHooks, index) {\n    if (service instanceof PluginModule && typeof index === 'number') {\n        if (typeof service.beforeCombineRootReducers === 'function') {\n            pluginHooks.beforeCombineRootReducers[index] = function (reducers) { return service.beforeCombineRootReducers(reducers); };\n        }\n        if (typeof service.afterCombineRootReducers === 'function') {\n            pluginHooks.afterCombineRootReducers[index] = function (rootReducer) {\n                return service.afterCombineRootReducers(rootReducer);\n            };\n        }\n        if (typeof service.preloadedStateHandler === 'function') {\n            pluginHooks.preloadedStateHandler[index] = function (preloadedState) { return service.preloadedStateHandler(preloadedState); };\n        }\n        if (typeof service.enhancer === 'function') {\n            pluginHooks.enhancer[index] = service.enhancer.bind(service);\n        }\n        if (typeof service.middleware === 'function') {\n            pluginHooks.middleware[index] = service.middleware.bind(service);\n        }\n        if (typeof service.afterCreateStore === 'function') {\n            pluginHooks.afterCreateStore[index] =\n                service.afterCreateStore.bind(service);\n        }\n        if (typeof service.provider === 'function') {\n            pluginHooks.provider[index] = service.provider.bind(service);\n        }\n    }\n};\nvar pushPlugin = function (service, pluginHooks) {\n    if (service instanceof PluginModule) {\n        if (typeof service.beforeCombineRootReducers === 'function') {\n            pluginHooks.beforeCombineRootReducers.push(function (reducers) {\n                return service.beforeCombineRootReducers(reducers);\n            });\n        }\n        if (typeof service.afterCombineRootReducers === 'function') {\n            pluginHooks.afterCombineRootReducers.push(function (rootReducer) {\n                return service.afterCombineRootReducers(rootReducer);\n            });\n        }\n        if (typeof service.preloadedStateHandler === 'function') {\n            pluginHooks.preloadedStateHandler.push(function (preloadedState) {\n                return service.preloadedStateHandler(preloadedState);\n            });\n        }\n        if (typeof service.enhancer === 'function') {\n            pluginHooks.enhancer.push(service.enhancer.bind(service));\n        }\n        if (typeof service.middleware === 'function') {\n            pluginHooks.middleware.push(service.middleware.bind(service));\n        }\n        if (typeof service.afterCreateStore === 'function') {\n            pluginHooks.afterCreateStore.push(service.afterCreateStore.bind(service));\n        }\n        if (typeof service.provider === 'function') {\n            pluginHooks.provider.push(service.provider.bind(service));\n        }\n    }\n};\n\nfunction createStore(_a) {\n    var e_1, _b, e_2, _c;\n    var _d, _e, _f, _g, _h, _j;\n    var modules = _a.modules, container = _a.container, ServiceIdentifiers = _a.ServiceIdentifiers, loadedModules = _a.loadedModules, load = _a.load, dynamicModules = _a.dynamicModules, pluginHooks = _a.pluginHooks, preloadedState = _a.preloadedState, _k = _a.devOptions, devOptions = _k === void 0 ? {} : _k, originalStore = _a.originalStore, beforeReplaceReducer = _a.beforeReplaceReducer, _l = _a.modulesMap, modulesMap = _l === void 0 ? {} : _l;\n    var isExistReducer = false;\n    var store = originalStore;\n    var reducers = {};\n    var subscriptions = [];\n    var enableAutoFreeze = (_d = devOptions.autoFreeze) !== null && _d !== void 0 ? _d : false;\n    var enableAutoComputed = (_e = devOptions.autoComputed) !== null && _e !== void 0 ? _e : false;\n    var enableReduxDevTools = (_f = devOptions.reduxDevTools) !== null && _f !== void 0 ? _f : process.env.NODE_ENV !== 'production';\n    var enablePatches = (_g = devOptions.enablePatches) !== null && _g !== void 0 ? _g : false;\n    var enableInspector = (_h = devOptions.enableInspector) !== null && _h !== void 0 ? _h : false;\n    var strict = (_j = devOptions.strict) !== null && _j !== void 0 ? _j : false;\n    var checkAction = devOptions.checkAction;\n    var _pushPluginHooks = generatePluginHooks();\n    var _assignPluginHooks = generatePluginHooks();\n    dynamicModules.forEach(function (module, key) {\n        try {\n            var services = container.getAll(key);\n            module.value = !module.multiple ? services[0] : services;\n        }\n        catch (e) {\n            //\n        }\n    });\n    try {\n        // add Non-dependent `modules` to ServiceIdentifiers config.\n        for (var modules_1 = __values(modules), modules_1_1 = modules_1.next(); !modules_1_1.done; modules_1_1 = modules_1.next()) {\n            var module_1 = modules_1_1.value;\n            var moduleIdentifier = typeof module_1 === 'function' ? module_1 : module_1.provide;\n            if (!ServiceIdentifiers.has(moduleIdentifier)) {\n                ServiceIdentifiers.set(moduleIdentifier, []);\n            }\n        }\n    }\n    catch (e_1_1) { e_1 = { error: e_1_1 }; }\n    finally {\n        try {\n            if (modules_1_1 && !modules_1_1.done && (_b = modules_1.return)) _b.call(modules_1);\n        }\n        finally { if (e_1) throw e_1.error; }\n    }\n    var multipleInjectMap = reactantDi.getMetadata(reactantDi.METADATA_KEY.multiple);\n    // #region sort ServiceIdentifiers\n    // it's just a workaround for the issue of `ServiceIdentifiers` order.\n    // InversifyJS issue: https://github.com/inversify/InversifyJS/issues/1578\n    var allServiceIdentifiers = Array.from(ServiceIdentifiers);\n    var allServiceIdentifierKeys = Array.from(ServiceIdentifiers.keys());\n    allServiceIdentifiers.sort(function (_a, _b) {\n        var _c, _d;\n        var _e = __read(_a, 1), a = _e[0];\n        var _f = __read(_b, 1), b = _f[0];\n        var aDeps = [];\n        try {\n            aDeps = (_c = Reflect.getMetadata(reactantDi.METADATA_KEY.paramtypes, a)) !== null && _c !== void 0 ? _c : [];\n        }\n        catch (e) {\n            //\n        }\n        var bDeps = [];\n        try {\n            bDeps = (_d = Reflect.getMetadata(reactantDi.METADATA_KEY.paramtypes, b)) !== null && _d !== void 0 ? _d : [];\n        }\n        catch (e) {\n            //\n        }\n        return aDeps.length - bDeps.length;\n    });\n    ServiceIdentifiers.clear();\n    // ServiceIdentifiers is sorted by the number of dependencies.\n    // The purpose is to ensure that the module is loaded in the correct order.\n    // The module with fewer dependencies is loaded first.\n    // ServiceIdentifiers is a mutable object, so it needs to be redefined.\n    allServiceIdentifiers.forEach(function (_a) {\n        var _b = __read(_a, 2), ServiceIdentifier = _b[0], value = _b[1];\n        ServiceIdentifiers.set(ServiceIdentifier, value);\n    });\n    var _loop_1 = function (ServiceIdentifier) {\n        // `Service` should be bound before `createStore`.\n        var isMultipleInjection = multipleInjectMap.has(ServiceIdentifier);\n        var shouldInstantiate = container.isBound(ServiceIdentifier) &&\n            (isMultipleInjection ||\n                (!isMultipleInjection && !loadedModules.has(ServiceIdentifier)));\n        if (shouldInstantiate) {\n            var services_1 = container.getAll(ServiceIdentifier);\n            loadedModules.add(ServiceIdentifier);\n            services_1.forEach(function (service, index) {\n                var _a, _b, _c, _d, _e, _f, _g;\n                var indexPlugin = allServiceIdentifierKeys.indexOf(ServiceIdentifier);\n                if (indexPlugin === -1) {\n                    pushPlugin(service, _pushPluginHooks);\n                }\n                else {\n                    assignPlugin(service, _assignPluginHooks, indexPlugin);\n                }\n                var className = ServiceIdentifier.name;\n                var identifier = typeof ServiceIdentifier === 'string'\n                    ? ServiceIdentifier\n                    : service[nameKey];\n                // module identifier prioritizes using DI module token\n                // The `options.name` property of the decorator `@injectable(options)` parameter must be specified as a string, otherwise a staged string will be generated.\n                // this solution replaces the `combineReducers` need `Object.keys` get keys without `symbol` keys.\n                identifier !== null && identifier !== void 0 ? identifier : (identifier = getStageName(className !== null && className !== void 0 ? className : String(ServiceIdentifier)));\n                if (typeof identifier !== 'string') {\n                    if (process.env.NODE_ENV !== 'production') {\n                        console.error(\"\\n                Since '\".concat(className, \"' module has set the module state, '\").concat(className, \"' module must set a unique and valid class property 'nameKey' to be used as the module index.\\n                Example:\\n                  @injectable({ name: 'fooBar' }) // <- add identifier for modules.\\n                  class FooBar {}\\n              \"));\n                    }\n                    else {\n                        throw new Error(\"'\".concat(className, \"' module 'options.name' property in '@injectable(options)' should be defined as a valid 'string'.\"));\n                    }\n                }\n                if (services_1.length > 1) {\n                    // injection about multi-instances\n                    identifier += \":\".concat(index);\n                }\n                if (modulesMap[identifier]) {\n                    throw new Error(\"Unexpected multiple instances, provider: '\".concat(className !== null && className !== void 0 ? className : ServiceIdentifier, \"' module '\").concat(identifier, \"' property and other module conflicts. Please check the token for dependency injection.\"));\n                }\n                Object.assign(modulesMap, (_a = {},\n                    _a[identifier] = service,\n                    _a));\n                if (typeof service !== 'object' ||\n                    service === null ||\n                    (service[modulesKey] && isMultipleInjection)) {\n                    return;\n                }\n                var hasState = toString.call(service[stateKey]) === '[object Object]';\n                if (hasState) {\n                    var signalMap_1 = {};\n                    var isEmptyObject = Object.keys(service[stateKey]).length === 0;\n                    if (!isEmptyObject) {\n                        var descriptors = (_b = {},\n                            _b[signalMapKey] = {\n                                enumerable: false,\n                                configurable: false,\n                                writable: false,\n                                value: signalMap_1,\n                            },\n                            _b);\n                        var _loop_2 = function (key) {\n                            var _h;\n                            var descriptor = Object.getOwnPropertyDescriptor(service, key);\n                            // eslint-disable-next-line no-continue\n                            if (typeof descriptor === 'undefined')\n                                return \"continue\";\n                            Object.assign(service[stateKey], (_h = {},\n                                _h[key] = descriptor.value,\n                                _h));\n                            descriptors[key] = {\n                                enumerable: true,\n                                configurable: true,\n                                get: function () {\n                                    var current = this[stateKey][key];\n                                    if (!enableAutoComputed)\n                                        return current;\n                                    var stagedState = getStagedState();\n                                    if (!stagedState &&\n                                        signalMap_1[key] &&\n                                        !isEqual(signalMap_1[key].value, current)) {\n                                        try {\n                                            // Manual update signal value when the state is changed outside the common reducer.\n                                            signalMap_1[key].value = current;\n                                        }\n                                        catch (e) {\n                                            if (JSON.stringify(signalMap_1[key].value) !==\n                                                JSON.stringify(current)) {\n                                                console.error(\"[Reactant] The '\".concat(key, \"' state value of the module '\").concat(className, \"' has been changed outside the common reducer, which may cause the state to be out of sync. Please check middleware to update the state value without signal updating.\"));\n                                            }\n                                        }\n                                    }\n                                    return current;\n                                },\n                                set: function (value) {\n                                    this[stateKey][key] = value;\n                                },\n                            };\n                        };\n                        for (var key in service[stateKey]) {\n                            _loop_2(key);\n                        }\n                        var initState_1 = enableAutoFreeze\n                            ? mutative.create(__assign({}, service[stateKey]), function () { }, { enableAutoFreeze: enableAutoFreeze }) // freeze init state\n                            : service[stateKey];\n                        Object.assign(descriptors, (_c = {},\n                            _c[initStateKey] = {\n                                enumerable: false,\n                                configurable: false,\n                                writable: false,\n                                value: initState_1,\n                            },\n                            _c));\n                        var serviceReducers = Object.keys(initState_1).reduce(function (serviceReducersMapObject, key) {\n                            var _a, _b;\n                            var value = service[defaultStateKey] &&\n                                // for custom reducer default state\n                                Object.hasOwnProperty.call(service[defaultStateKey], key)\n                                ? service[defaultStateKey][key]\n                                : initState_1[key];\n                            // support pure reducer\n                            if (typeof value === 'function') {\n                                var pureReducer_1 = value;\n                                var _initState_1 = pureReducer_1(undefined, {});\n                                var reducer_1 = function (state, action) {\n                                    if (state === void 0) { state = _initState_1; }\n                                    return action._reactant === actionIdentifier &&\n                                        action.state[identifier]\n                                        ? action.state[identifier][key]\n                                        : pureReducer_1(state, action);\n                                };\n                                return Object.assign(serviceReducersMapObject, (_a = {},\n                                    _a[key] = reducer_1,\n                                    _a));\n                            }\n                            signalMap_1[key] = signal(value);\n                            var current = signalMap_1[key];\n                            var reducer = function (state, action) {\n                                if (state === void 0) { state = value; }\n                                if (action._reactant === actionIdentifier &&\n                                    action.state[identifier]) {\n                                    var nextState = action.state[identifier][key];\n                                    if (enableAutoComputed && !isEqual(nextState, state)) {\n                                        current.value = nextState;\n                                    }\n                                    return nextState;\n                                }\n                                return state;\n                            };\n                            return Object.assign(serviceReducersMapObject, (_b = {},\n                                _b[key] = reducer,\n                                _b));\n                        }, {});\n                        isExistReducer = true;\n                        var reducer = redux.combineReducers(serviceReducers);\n                        Object.assign(reducers, (_d = {},\n                            _d[identifier] = reducer,\n                            _d));\n                        Object.defineProperties(service, descriptors);\n                        // redefine get service state from store state.\n                        Object.defineProperties(service, (_e = {},\n                            _e[stateKey] = {\n                                enumerable: false,\n                                configurable: false,\n                                get: function () {\n                                    var stagedState = getStagedState();\n                                    if (stagedState)\n                                        return stagedState[identifier];\n                                    if (!store)\n                                        return initState_1;\n                                    var currentState = store.getState()[identifier];\n                                    if (enableAutoFreeze && !Object.isFrozen(currentState)) {\n                                        return Object.freeze(currentState);\n                                    }\n                                    return currentState;\n                                },\n                            },\n                            _e));\n                    }\n                    else {\n                        throw new Error(\"\\n            '\".concat(className, \"' class property 'state' must have at least one state key.\\n          \"));\n                    }\n                }\n                if (!Array.isArray(service[subscriptionsKey])) {\n                    // support any subscriptions with ref\n                    Object.assign(service, (_f = {},\n                        _f[subscriptionsKey] = [],\n                        _f));\n                }\n                subscriptions.push(service[subscriptionsKey]);\n                try {\n                    Object.defineProperties(service, (_g = {},\n                        _g[modulesKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            writable: false,\n                            value: modulesMap,\n                        },\n                        _g[identifierKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            writable: false,\n                            value: identifier,\n                        },\n                        // in order to support multiple instances for stores.\n                        _g[storeKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            get: function () {\n                                return store;\n                            },\n                        },\n                        _g[containerKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            get: function () {\n                                return container;\n                            },\n                        },\n                        // dynamic modules cache\n                        _g[dynamicModulesKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: dynamicModules,\n                        },\n                        // loader for dynamic modules\n                        _g[loaderKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: function () {\n                                var args = [];\n                                for (var _i = 0; _i < arguments.length; _i++) {\n                                    args[_i] = arguments[_i];\n                                }\n                                load.apply(void 0, __spreadArray([], __read(args), false));\n                            },\n                        },\n                        // use strict mode for mutative\n                        _g[strictKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: strict,\n                        },\n                        // enableAutoFreeze options for mutative\n                        _g[enableAutoFreezeKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: enableAutoFreeze,\n                        },\n                        // enablePatches options for mutative\n                        _g[enablePatchesKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: enablePatches,\n                        },\n                        // enableAutoComputed options for state-derived computing\n                        _g[enableAutoComputedKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: enableAutoComputed,\n                        },\n                        // enableInspector options for state changing check before dispatching\n                        _g[enableInspectorKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: enableInspector,\n                        },\n                        // check action method\n                        _g[checkActionKey] = {\n                            enumerable: false,\n                            configurable: false,\n                            value: checkAction,\n                        },\n                        _g));\n                }\n                catch (e) {\n                    console.error(\"provide: '\".concat(ServiceIdentifier.toString(), \"' has unexpected errors.\"));\n                    throw e;\n                }\n            });\n        }\n    };\n    try {\n        // #endregion\n        for (var ServiceIdentifiers_1 = __values(ServiceIdentifiers), ServiceIdentifiers_1_1 = ServiceIdentifiers_1.next(); !ServiceIdentifiers_1_1.done; ServiceIdentifiers_1_1 = ServiceIdentifiers_1.next()) {\n            var _m = __read(ServiceIdentifiers_1_1.value, 1), ServiceIdentifier = _m[0];\n            _loop_1(ServiceIdentifier);\n        }\n    }\n    catch (e_2_1) { e_2 = { error: e_2_1 }; }\n    finally {\n        try {\n            if (ServiceIdentifiers_1_1 && !ServiceIdentifiers_1_1.done && (_c = ServiceIdentifiers_1.return)) _c.call(ServiceIdentifiers_1);\n        }\n        finally { if (e_2) throw e_2.error; }\n    }\n    // #region keep plugin instance order\n    mergePluginHooks(pluginHooks, _assignPluginHooks, _pushPluginHooks);\n    if (typeof store === 'undefined') {\n        // load reducers and create store for Redux\n        var reducer = isExistReducer\n            ? redux.combineReducers((reducers = perform(pluginHooks.beforeCombineRootReducers, reducers)))\n            : function () { return null; };\n        var composeEnhancers = getComposeEnhancers(enableReduxDevTools, devOptions.reduxDevToolsOptions);\n        store = redux.createStore(perform(pluginHooks.afterCombineRootReducers, reducer), perform(pluginHooks.preloadedStateHandler, preloadedState\n            ? Object.entries(preloadedState).reduce(function (state, _a) {\n                var _b;\n                var _c = __read(_a, 2), key = _c[0], value = _c[1];\n                return modulesMap[key]\n                    ? Object.assign(state, (_b = {},\n                        _b[key] = value,\n                        _b))\n                    : state;\n            }, {})\n            : preloadedState), composeEnhancers.apply(void 0, __spreadArray([redux.applyMiddleware.apply(void 0, __spreadArray([], __read(pluginHooks.middleware), false))], __read(pluginHooks.enhancer), false)));\n        if (isExistReducer) {\n            Object.assign(store, {\n                reducers: reducers,\n            });\n        }\n        perform(pluginHooks.afterCreateStore, store);\n    }\n    else if (isExistReducer) {\n        // just load reducers\n        store.reducers = __assign(__assign({}, store.reducers), perform(pluginHooks.beforeCombineRootReducers, reducers));\n        var reducer = redux.combineReducers(store.reducers);\n        var rootReducer = perform(pluginHooks.afterCombineRootReducers, reducer);\n        if (typeof beforeReplaceReducer === 'function') {\n            beforeReplaceReducer();\n        }\n        store.replaceReducer(rootReducer);\n    }\n    else if (typeof beforeReplaceReducer === 'function') {\n        // TODO: refactor hook\n        beforeReplaceReducer();\n    }\n    perform(Array.prototype.concat.apply([], subscriptions));\n    return store;\n}\n\n/**\n * ## Description\n *\n * It is used for compatibility with redux actions,\n * when a class state with actions is being migrated from the Redux boilerplate code to the Reactant.\n * And it's often used in conjunction with `createState()`.\n *\n * ## Example\n *\n * ```ts\n * const type = 'count_increase';\n *\n * interface CountAction {\n *  type: typeof type;\n *  state: number;\n * }\n *\n * @injectable()\n * class Counter {\n *  @state\n *  count = createState<CountAction['state'], CountAction>(\n *    ($state = 0, $action) => ($action.type === type ? $action.state : $state)\n *  );\n *\n *  increase() {\n *    dispatch<CountAction>(this, {\n *      type,\n *      state: this.count + 1,\n *    });\n *  }\n * }\n *\n * const app = createApp({\n *   modules: [],\n *   main: Counter,\n *   render: () => {},\n * });\n *\n * app.instance.increase();\n * expect(app.instance.count).toBe(1);\n * ```\n */\nvar dispatch = function (target, action) {\n    var store = target[storeKey];\n    // the api should not be implemented as a decorator\n    // (because it should return new state should get a the current new state, low performance.)\n    if (store) {\n        store.dispatch(action);\n    }\n    else {\n        throw new Error(\"Store for '\".concat(target.constructor.name, \"' service does not exist. Please make sure you have set any Redux state, or it should not be executed synchronously in class constructor.\"));\n    }\n};\n\n/**\n * ## Description\n *\n * It allows a class state to be defined with a reducer,\n * which is often used in situations where a class state is being migrated from the Redux boilerplate code to the Reactant.\n * And it's often used in conjunction with `dispatch()`.\n *\n * ## Example\n *\n * ```ts\n * const type = 'count_increase';\n *\n * interface CountAction {\n *  type: typeof type;\n *  state: number;\n * }\n *\n * @injectable()\n * class Counter {\n *  @state\n *  count = createState<CountAction['state'], CountAction>(\n *    ($state = 0, $action) => ($action.type === type ? $action.state : $state)\n *  );\n *\n *  increase() {\n *    dispatch<CountAction>(this, {\n *      type,\n *      state: this.count + 1,\n *    });\n *  }\n * }\n *\n * const app = createApp({\n *   modules: [],\n *   main: Counter,\n *   render: () => {},\n * });\n *\n * app.instance.increase();\n * expect(app.instance.count).toBe(1);\n * ```\n */\nfunction createState(reducer) {\n    return reducer;\n}\n\n/**\n * ## Description\n *\n * You can use `subscribe` to subscribe to state changes in any class module.\n *\n * ## Example\n *\n * ```ts\n * @injectable()\n * class Counter {\n *   constructor() {\n *     subscribe(this, () => {\n *       if (this.count === 3) {\n *         console.log(`new value: ${newValue}`);\n *       }\n *     });\n *   }\n *\n *   @state\n *   count = 0;\n *\n *   @action\n *   increase() {\n *     this.count += 0;\n *   }\n * }\n *\n * const app = testBed({\n *   modules: [],\n *   main: Counter,\n * });\n * ```\n */\nvar subscribe = function (service, listener, _a) {\n    var _b, _c;\n    var _d, _e, _f;\n    var _g = _a === void 0 ? {} : _a, immediate = _g.immediate;\n    if (typeof listener !== 'function') {\n        throw new Error(\"The 'listener' should be a function.\");\n    }\n    var unsubscribe;\n    if (service[storeKey]) {\n        if (immediate) {\n            try {\n                listener();\n            }\n            catch (error) {\n                console.error(error);\n            }\n        }\n        unsubscribe = (_d = service[storeKey]) === null || _d === void 0 ? void 0 : _d.subscribe(listener);\n    }\n    else {\n        // When constructing\n        var subscriptions = (_e = service[subscriptionsKey]) !== null && _e !== void 0 ? _e : [];\n        var _unsubscribe_1;\n        subscriptions.push(function () {\n            var _a;\n            if (immediate) {\n                try {\n                    listener();\n                }\n                catch (error) {\n                    console.error(error);\n                }\n            }\n            _unsubscribe_1 = (_a = service[storeKey]) === null || _a === void 0 ? void 0 : _a.subscribe(listener);\n        });\n        unsubscribe = function () {\n            return _unsubscribe_1();\n        };\n        Object.assign(service, (_b = {},\n            _b[subscriptionsKey] = subscriptions,\n            _b));\n    }\n    var unsubscriptions = (_f = service[unsubscriptionsKey]) !== null && _f !== void 0 ? _f : new Set();\n    var fn = function () {\n        unsubscribe();\n        unsubscriptions.delete(fn);\n    };\n    unsubscriptions.add(fn);\n    if (!service[unsubscriptionsKey]) {\n        Object.assign(service, (_c = {},\n            _c[unsubscriptionsKey] = unsubscriptions,\n            _c));\n    }\n    return fn;\n};\n\n/**\n * ## Description\n *\n * You can use `watch` to observe a specific state changes in any class module.\n *\n * ## Example\n *\n * ```ts\n * @injectable()\n * class Counter {\n *   constructor() {\n *     watch(this, () => this.count, (newValue) => {\n *       if (newValue === 3) {\n *         console.log(`new value: ${newValue}`);\n *       }\n *     });\n *   }\n *\n *   @state\n *   count = 0;\n *\n *   @action\n *   increase() {\n *     this.count += 0;\n *   }\n * }\n *\n * const app = testBed({\n *   modules: [],\n *   main: Counter,\n * });\n * ```\n */\nvar watch = function (service, selector, watcher, _a) {\n    var _b = _a === void 0 ? {} : _a, _c = _b.multiple, multiple = _c === void 0 ? false : _c, _d = _b.isEqual, isEqual$1 = _d === void 0 ? isEqual : _d;\n    if (typeof watcher !== 'function') {\n        var className = Object.getPrototypeOf(service).constructor.name;\n        throw new Error(\"The 'watcher' should be a function in the class '\".concat(className, \"'.\"));\n    }\n    var callback = watcher;\n    var oldValue = selector();\n    if (multiple) {\n        if (!Array.isArray(oldValue)) {\n            var className = Object.getPrototypeOf(service).constructor.name;\n            throw new Error(\"The 'selector' should be a function that returns an array as watching multiple values in the class '\".concat(className, \"'.\"));\n        }\n        return subscribe(service, function () {\n            var newValue = selector();\n            var length = oldValue.length;\n            for (var i = 0; i < length; i += 1) {\n                if (!isEqual$1(newValue[i], oldValue[i])) {\n                    var lastValues = oldValue;\n                    oldValue = newValue;\n                    callback(newValue, lastValues);\n                    return;\n                }\n            }\n        });\n    }\n    return subscribe(service, function () {\n        var newValue = selector();\n        if (!isEqual$1(newValue, oldValue)) {\n            var lastValue = oldValue;\n            oldValue = newValue;\n            callback(newValue, lastValue);\n        }\n    });\n};\n\nvar load = function (service, options) {\n    return new Promise(function (resolve) {\n        if (!service[loaderKey]) {\n            var unsubscribe_1 = subscribe(service, function () {\n                if (service[loaderKey]) {\n                    unsubscribe_1();\n                    service[loaderKey](options, resolve);\n                }\n            });\n            return;\n        }\n        service[loaderKey](options, resolve);\n    });\n};\n\n/**\n * ## Description\n * Apply middlewares for Redux.\n *\n * ## Example\n *\n * ```ts\n * import logger from 'redux-logger';\n *\n * @injectable()\n * class Foo {}\n *\n * const app = createApp({\n *   modules: [applyMiddleware(logger)],\n *   main: Foo,\n *   render: () => {},\n * });\n * ```\n *\n * @param args middlewares for Redux\n */\nvar applyMiddleware = function () {\n    var args = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n    }\n    return /** @class */ (function (_super) {\n        __extends(class_1, _super);\n        function class_1() {\n            var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;\n            // eslint-disable-next-line prefer-spread\n            _this.enhancer = redux.applyMiddleware.apply(null, args);\n            return _this;\n        }\n        return class_1;\n    }(PluginModule));\n};\n\n/**\n * Get the reference of the module instance.\n */\nvar getRef = function (instance) {\n    var _instance = instance;\n    return {\n        get modules() {\n            return _instance[modulesKey];\n        },\n        get identifier() {\n            return _instance[identifierKey];\n        },\n        get store() {\n            return _instance[storeKey];\n        },\n        get container() {\n            return _instance[containerKey];\n        },\n        get state() {\n            return _instance[stateKey];\n        },\n        get initState() {\n            return _instance[initStateKey];\n        },\n        get enablePatches() {\n            return _instance[enablePatchesKey];\n        },\n        get enableAutoFreeze() {\n            return _instance[enableAutoFreezeKey];\n        },\n        get strict() {\n            return _instance[strictKey];\n        },\n        get enableInspector() {\n            return _instance[enableInspectorKey];\n        },\n        get checkAction() {\n            return _instance[checkActionKey];\n        },\n    };\n};\n\nObject.defineProperty(exports, \"applyPatches\", {\n    enumerable: true,\n    get: function () { return mutative.apply; }\n});\nObject.defineProperty(exports, \"current\", {\n    enumerable: true,\n    get: function () { return mutative.current; }\n});\nObject.defineProperty(exports, \"original\", {\n    enumerable: true,\n    get: function () { return mutative.original; }\n});\nObject.defineProperty(exports, \"unsafe\", {\n    enumerable: true,\n    get: function () { return mutative.unsafe; }\n});\nObject.defineProperty(exports, \"METADATA_KEY\", {\n    enumerable: true,\n    get: function () { return reactantDi.METADATA_KEY; }\n});\nObject.defineProperty(exports, \"ModuleRef\", {\n    enumerable: true,\n    get: function () { return reactantDi.ModuleRef; }\n});\nObject.defineProperty(exports, \"Optional\", {\n    enumerable: true,\n    get: function () { return reactantDi.Optional; }\n});\nObject.defineProperty(exports, \"bindModules\", {\n    enumerable: true,\n    get: function () { return reactantDi.bindModules; }\n});\nObject.defineProperty(exports, \"createContainer\", {\n    enumerable: true,\n    get: function () { return reactantDi.createContainer; }\n});\nObject.defineProperty(exports, \"forwardRef\", {\n    enumerable: true,\n    get: function () { return reactantDi.forwardRef; }\n});\nObject.defineProperty(exports, \"getLazyDecorator\", {\n    enumerable: true,\n    get: function () { return reactantDi.getLazyDecorator; }\n});\nObject.defineProperty(exports, \"getMetadata\", {\n    enumerable: true,\n    get: function () { return reactantDi.getMetadata; }\n});\nObject.defineProperty(exports, \"inject\", {\n    enumerable: true,\n    get: function () { return reactantDi.inject; }\n});\nObject.defineProperty(exports, \"multiInject\", {\n    enumerable: true,\n    get: function () { return reactantDi.multiInject; }\n});\nObject.defineProperty(exports, \"multiOptional\", {\n    enumerable: true,\n    get: function () { return reactantDi.multiOptional; }\n});\nObject.defineProperty(exports, \"optional\", {\n    enumerable: true,\n    get: function () { return reactantDi.optional; }\n});\nexports.PluginModule = PluginModule;\nexports.ViewModule = ViewModule;\nexports.action = action;\nexports.actionIdentifier = actionIdentifier;\nexports.applyMiddleware = applyMiddleware;\nexports.areShallowEqualWithArray = areShallowEqualWithArray;\nexports.areShallowEqualWithObject = areShallowEqualWithObject;\nexports.assign = assign;\nexports.assignPlugin = assignPlugin;\nexports.autobind = autobind;\nexports.checkActionKey = checkActionKey;\nexports.compose = compose;\nexports.computed = computed;\nexports.containerKey = containerKey;\nexports.createSelectorWithArray = createSelectorWithArray;\nexports.createState = createState;\nexports.createStore = createStore;\nexports.defaultMemoize = defaultMemoize;\nexports.defaultStateKey = defaultStateKey;\nexports.dispatch = dispatch;\nexports.dynamic = dynamic;\nexports.dynamicModulesKey = dynamicModulesKey;\nexports.enableAutoComputedKey = enableAutoComputedKey;\nexports.enableAutoFreezeKey = enableAutoFreezeKey;\nexports.enableInspectorKey = enableInspectorKey;\nexports.enablePatchesKey = enablePatchesKey;\nexports.generatePluginHooks = generatePluginHooks;\nexports.getComposeEnhancers = getComposeEnhancers;\nexports.getRef = getRef;\nexports.getStageName = getStageName;\nexports.getStagedState = getStagedState;\nexports.identifierKey = identifierKey;\nexports.initStateKey = initStateKey;\nexports.injectable = injectable;\nexports.isEqual = isEqual;\nexports.isEqualExceptFunction = isEqualExceptFunction;\nexports.lazy = lazy;\nexports.load = load;\nexports.loaderKey = loaderKey;\nexports.mergePluginHooks = mergePluginHooks;\nexports.modulesKey = modulesKey;\nexports.nameKey = nameKey;\nexports.perform = perform;\nexports.pushPlugin = pushPlugin;\nexports.signal = signal;\nexports.signalMapKey = signalMapKey;\nexports.state = state;\nexports.stateKey = stateKey;\nexports.storeKey = storeKey;\nexports.strictKey = strictKey;\nexports.subscribe = subscribe;\nexports.subscriptionsKey = subscriptionsKey;\nexports.unsubscriptionsKey = unsubscriptionsKey;\nexports.untracked = untracked;\nexports.watch = watch;\n"]}