@antv/g 5.0.23-alpha.2 → 5.0.23-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.min.js +1 -1
- package/es/css/cssom/CSSNumericValue.d.ts +32 -1
- package/es/css/cssom/CSSNumericValue.js +259 -3
- package/es/css/cssom/index.d.ts +0 -1
- package/es/css/cssom/index.js +0 -1
- package/lib/css/cssom/CSSNumericValue.d.ts +32 -1
- package/lib/css/cssom/CSSNumericValue.js +280 -23
- package/lib/css/cssom/index.d.ts +0 -1
- package/lib/css/cssom/index.js +0 -13
- package/package.json +3 -3
- package/es/css/cssom/CSSNumericValueType.d.ts +0 -33
- package/es/css/cssom/CSSNumericValueType.js +0 -259
- package/lib/css/cssom/CSSNumericValueType.d.ts +0 -33
- package/lib/css/cssom/CSSNumericValueType.js +0 -272
package/dist/index.umd.min.js
CHANGED
|
@@ -13,7 +13,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
13
13
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
14
14
|
and limitations under the License.
|
|
15
15
|
***************************************************************************** */
|
|
16
|
-
var n;!function(n){!function(r){var i="object"==typeof e?e:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),o=a(n);function a(t,e){return function(n,r){"function"!=typeof t[n]&&Object.defineProperty(t,n,{configurable:!0,writable:!0,value:r}),e&&e(n,r)}}void 0===i.Reflect?i.Reflect=n:o=a(i.Reflect,o),function(e){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,u={__proto__:[]}instanceof Array,s=!a&&!u,c={create:a?function(){return I(Object.create(null))}:u?function(){return I({__proto__:null})}:function(){return I({})},has:s?function(t,e){return n.call(t,e)}:function(t,e){return e in t},get:s?function(t,e){return n.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},l=Object.getPrototypeOf(Function),h="object"==typeof t&&t.env&&"true"===t.env.REFLECT_METADATA_USE_MAP_POLYFILL,f=h||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var t={},e=[],n=function(){function t(t,e,n){this._index=0,this._keys=t,this._values=e,this._selector=n}return t.prototype["@@iterator"]=function(){return this},t.prototype[o]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var n=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var n=this._find(t,!0);return this._values[n]=e,this},e.prototype.delete=function(e){var n=this._find(e,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,e===this._cacheKey&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new n(this._keys,this._values,r)},e.prototype.values=function(){return new n(this._keys,this._values,i)},e.prototype.entries=function(){return new n(this._keys,this._values,a)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[o]=function(){return this.entries()},e.prototype._find=function(t,e){return this._cacheKey!==t&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=t)),this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function r(t,e){return t}function i(t,e){return e}function a(t,e){return[t,e]}}():Map,p=h||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function t(){this._map=new f}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.values()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[o]=function(){return this.keys()},t}():Set,d=new(h||"function"!=typeof WeakMap?function(){var t=c.create(),e=r();return function(){function t(){this._key=r()}return t.prototype.has=function(t){var e=i(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=i(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return i(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=i(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=r()},t}();function r(){var e;do{e="@@WeakMap@@"+a()}while(c.has(t,e));return t[e]=!0,e}function i(t,r){if(!n.call(t,e)){if(!r)return;Object.defineProperty(t,e,{value:c.create()})}return t[e]}function o(t,e){for(var n=0;n<e;++n)t[n]=255*Math.random()|0;return t}function a(){var t,e=(t=16,"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(t)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(t)):o(new Uint8Array(t),t):o(new Array(t),t));e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var n="",r=0;r<16;++r){var i=e[r];4!==r&&6!==r&&8!==r||(n+="-"),i<16&&(n+="0"),n+=i.toString(16).toLowerCase()}return n}}():WeakMap);function y(t,e,n){var r=d.get(t);if(E(r)){if(!n)return;r=new f,d.set(t,r)}var i=r.get(e);if(E(i)){if(!n)return;i=new f,r.set(e,i)}return i}function v(t,e,n){var r=y(e,n,!1);return!E(r)&&!!r.has(t)}function m(t,e,n){var r=y(e,n,!1);if(!E(r))return r.get(t)}function g(t,e,n,r){y(n,r,!0).set(t,e)}function b(t,e){var n=[],r=y(t,e,!1);if(E(r))return n;for(var i=function(t){var e=A(t,o);if(!S(e))throw new TypeError;var n=e.call(t);if(!M(n))throw new TypeError;return n}(r.keys()),a=0;;){var u=C(i);if(!u)return n.length=a,n;var s=u.value;try{n[a]=s}catch(t){try{_(i)}finally{throw t}}a++}}function T(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function E(t){return void 0===t}function w(t){return null===t}function M(t){return"object"==typeof t?null!==t:"function"==typeof t}function k(t,e){switch(T(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var n=3===e?"string":5===e?"number":"default",r=A(t,i);if(void 0!==r){var o=r.call(t,n);if(M(o))throw new TypeError;return o}return function(t,e){if("string"===e){var n=t.toString;if(S(n))if(!M(i=n.call(t)))return i;if(S(r=t.valueOf))if(!M(i=r.call(t)))return i}else{var r;if(S(r=t.valueOf))if(!M(i=r.call(t)))return i;var i,o=t.toString;if(S(o))if(!M(i=o.call(t)))return i}throw new TypeError}(t,"default"===n?"number":n)}function P(t){var e=k(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function x(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function S(t){return"function"==typeof t}function N(t){return"function"==typeof t}function A(t,e){var n=t[e];if(null!=n){if(!S(n))throw new TypeError;return n}}function C(t){var e=t.next();return!e.done&&e}function _(t){var e=t.return;e&&e.call(t)}function O(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===l)return e;if(e!==l)return e;var n=t.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return e;var i=r.constructor;return"function"!=typeof i||i===t?e:i}function I(t){return t.__=void 0,delete t.__,t}e("decorate",(function(t,e,n,r){if(E(n)){if(!x(t))throw new TypeError;if(!N(e))throw new TypeError;return function(t,e){for(var n=t.length-1;n>=0;--n){var r=(0,t[n])(e);if(!E(r)&&!w(r)){if(!N(r))throw new TypeError;e=r}}return e}(t,e)}if(!x(t))throw new TypeError;if(!M(e))throw new TypeError;if(!M(r)&&!E(r)&&!w(r))throw new TypeError;return w(r)&&(r=void 0),function(t,e,n,r){for(var i=t.length-1;i>=0;--i){var o=(0,t[i])(e,n,r);if(!E(o)&&!w(o)){if(!M(o))throw new TypeError;r=o}}return r}(t,e,n=P(n),r)})),e("metadata",(function(t,e){return function(n,r){if(!M(n))throw new TypeError;if(!E(r)&&!function(t){switch(T(t)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;g(t,e,n,r)}})),e("defineMetadata",(function(t,e,n,r){if(!M(n))throw new TypeError;return E(r)||(r=P(r)),g(t,e,n,r)})),e("hasMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),function t(e,n,r){if(v(e,n,r))return!0;var i=O(n);return!w(i)&&t(e,i,r)}(t,e,n)})),e("hasOwnMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),v(t,e,n)})),e("getMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),function t(e,n,r){if(v(e,n,r))return m(e,n,r);var i=O(n);return w(i)?void 0:t(e,i,r)}(t,e,n)})),e("getOwnMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),m(t,e,n)})),e("getMetadataKeys",(function(t,e){if(!M(t))throw new TypeError;return E(e)||(e=P(e)),function t(e,n){var r=b(e,n),i=O(e);if(null===i)return r;var o=t(i,n);if(o.length<=0)return r;if(r.length<=0)return o;for(var a=new p,u=[],s=0,c=r;s<c.length;s++){var l=c[s];a.has(l)||(a.add(l),u.push(l))}for(var h=0,f=o;h<f.length;h++){l=f[h];a.has(l)||(a.add(l),u.push(l))}return u}(t,e)})),e("getOwnMetadataKeys",(function(t,e){if(!M(t))throw new TypeError;return E(e)||(e=P(e)),b(t,e)})),e("deleteMetadata",(function(t,e,n){if(!M(e))throw new TypeError;E(n)||(n=P(n));var r=y(e,n,!1);if(E(r))return!1;if(!r.delete(t))return!1;if(r.size>0)return!0;var i=d.get(e);return i.delete(n),i.size>0||d.delete(e),!0}))}(o)}()}(n||(n={}))}).call(this,n(23),n(13))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MetadataReader=void 0;var r=n(0),i=function(){function t(){}return t.prototype.getConstructorMetadata=function(t){return{compilerGeneratedMetadata:Reflect.getMetadata(r.PARAM_TYPES,t),userGeneratedMetadata:Reflect.getMetadata(r.TAGGED,t)||{}}},t.prototype.getPropertiesMetadata=function(t){return Reflect.getMetadata(r.TAGGED_PROP,t)||[]},t}();e.MetadataReader=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isStackOverflowExeption=void 0;var r=n(2);e.isStackOverflowExeption=function(t){return t instanceof RangeError||t.message===r.STACK_OVERFLOW}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inject=e.LazyServiceIdentifer=void 0;var r=n(2),i=n(0),o=n(3),a=n(5),u=function(){function t(t){this._cb=t}return t.prototype.unwrap=function(){return this._cb()},t}();e.LazyServiceIdentifer=u,e.inject=function(t){return function(e,n,u){if(void 0===t)throw new Error(r.UNDEFINED_INJECT_ANNOTATION(e.name));var s=new o.Metadata(i.INJECT_TAG,t);"number"==typeof u?a.tagParameter(e,n,u,s):a.tagProperty(e,n,s)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Target=void 0;var r=n(0),i=n(7),o=n(3),a=n(31),u=function(){function t(t,e,n,u){this.id=i.id(),this.type=t,this.serviceIdentifier=n,this.name=new a.QueryableString(e||""),this.metadata=new Array;var s=null;"string"==typeof u?s=new o.Metadata(r.NAMED_TAG,u):u instanceof o.Metadata&&(s=u),null!==s&&this.metadata.push(s)}return t.prototype.hasTag=function(t){for(var e=0,n=this.metadata;e<n.length;e++){if(n[e].key===t)return!0}return!1},t.prototype.isArray=function(){return this.hasTag(r.MULTI_INJECT_TAG)},t.prototype.matchesArray=function(t){return this.matchesTag(r.MULTI_INJECT_TAG)(t)},t.prototype.isNamed=function(){return this.hasTag(r.NAMED_TAG)},t.prototype.isTagged=function(){return this.metadata.some((function(t){return r.NON_CUSTOM_TAG_KEYS.every((function(e){return t.key!==e}))}))},t.prototype.isOptional=function(){return this.matchesTag(r.OPTIONAL_TAG)(!0)},t.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter((function(t){return t.key===r.NAMED_TAG}))[0]:null},t.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter((function(t){return r.NON_CUSTOM_TAG_KEYS.every((function(e){return t.key!==e}))})):null},t.prototype.matchesNamedTag=function(t){return this.matchesTag(r.NAMED_TAG)(t)},t.prototype.matchesTag=function(t){var e=this;return function(n){for(var r=0,i=e.metadata;r<i.length;r++){var o=i[r];if(o.key===t&&o.value===n)return!0}return!1}},t}();e.Target=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingWhenOnSyntax=void 0;var r=n(9),i=n(10),o=function(){function t(t){this._binding=t,this._bindingWhenSyntax=new i.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new r.BindingOnSyntax(this._binding)}return t.prototype.when=function(t){return this._bindingWhenSyntax.when(t)},t.prototype.whenTargetNamed=function(t){return this._bindingWhenSyntax.whenTargetNamed(t)},t.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},t.prototype.whenTargetTagged=function(t,e){return this._bindingWhenSyntax.whenTargetTagged(t,e)},t.prototype.whenInjectedInto=function(t){return this._bindingWhenSyntax.whenInjectedInto(t)},t.prototype.whenParentNamed=function(t){return this._bindingWhenSyntax.whenParentNamed(t)},t.prototype.whenParentTagged=function(t,e){return this._bindingWhenSyntax.whenParentTagged(t,e)},t.prototype.whenAnyAncestorIs=function(t){return this._bindingWhenSyntax.whenAnyAncestorIs(t)},t.prototype.whenNoAncestorIs=function(t){return this._bindingWhenSyntax.whenNoAncestorIs(t)},t.prototype.whenAnyAncestorNamed=function(t){return this._bindingWhenSyntax.whenAnyAncestorNamed(t)},t.prototype.whenAnyAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenAnyAncestorTagged(t,e)},t.prototype.whenNoAncestorNamed=function(t){return this._bindingWhenSyntax.whenNoAncestorNamed(t)},t.prototype.whenNoAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenNoAncestorTagged(t,e)},t.prototype.whenAnyAncestorMatches=function(t){return this._bindingWhenSyntax.whenAnyAncestorMatches(t)},t.prototype.whenNoAncestorMatches=function(t){return this._bindingWhenSyntax.whenNoAncestorMatches(t)},t.prototype.onActivation=function(t){return this._bindingOnSyntax.onActivation(t)},t}();e.BindingWhenOnSyntax=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typeConstraint=e.namedConstraint=e.taggedConstraint=e.traverseAncerstors=void 0;var r=n(0),i=n(3),o=function(t,e){var n=t.parentRequest;return null!==n&&(!!e(n)||o(n,e))};e.traverseAncerstors=o;var a=function(t){return function(e){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(t)(e)};return n.metaData=new i.Metadata(t,e),n}};e.taggedConstraint=a;var u=a(r.NAMED_TAG);e.namedConstraint=u;e.typeConstraint=function(t){return function(e){var n=null;if(null!==e){if(n=e.bindings[0],"string"==typeof t)return n.serviceIdentifier===t;var r=e.bindings[0].implementationType;return t===r}return!1}}},,,,function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,c=[],l=!1,h=-1;function f(){l&&s&&(l=!1,s.length?c=s.concat(c):h=-1,c.length&&p())}function p(){if(!l){var t=u(f);l=!0;for(var e=c.length;e;){for(s=c,c=[];++h<e;)s&&s[h].run();h=-1,e=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function y(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new d(t,e)),1!==c.length||l||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}s((r=r.apply(t,e||[])).next())}))},i=this&&this.__generator||function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}},o=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.Container=void 0;var a=n(25),u=n(2),s=n(4),c=n(0),l=n(14),h=n(26),f=n(33),p=n(35),d=n(7),y=n(8),v=n(38),m=n(39),g=function(){function t(t){this._appliedMiddleware=[];var e=t||{};if("object"!=typeof e)throw new Error(""+u.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT);if(void 0===e.defaultScope)e.defaultScope=s.BindingScopeEnum.Transient;else if(e.defaultScope!==s.BindingScopeEnum.Singleton&&e.defaultScope!==s.BindingScopeEnum.Transient&&e.defaultScope!==s.BindingScopeEnum.Request)throw new Error(""+u.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE);if(void 0===e.autoBindInjectable)e.autoBindInjectable=!1;else if("boolean"!=typeof e.autoBindInjectable)throw new Error(""+u.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE);if(void 0===e.skipBaseClassChecks)e.skipBaseClassChecks=!1;else if("boolean"!=typeof e.skipBaseClassChecks)throw new Error(""+u.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK);this.options={autoBindInjectable:e.autoBindInjectable,defaultScope:e.defaultScope,skipBaseClassChecks:e.skipBaseClassChecks},this.id=d.id(),this._bindingDictionary=new m.Lookup,this._snapshots=[],this._middleware=null,this.parent=null,this._metadataReader=new l.MetadataReader}return t.merge=function(e,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var a=new t,u=o([e,n],r).map((function(t){return h.getBindingDictionary(t)})),s=h.getBindingDictionary(a);function c(t,e){t.traverse((function(t,n){n.forEach((function(t){e.add(t.serviceIdentifier,t.clone())}))}))}return u.forEach((function(t){c(t,s)})),a},t.prototype.load=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=this._getContainerModuleHelpersFactory(),r=0,i=t;r<i.length;r++){var o=i[r],a=n(o.id);o.registry(a.bindFunction,a.unbindFunction,a.isboundFunction,a.rebindFunction)}},t.prototype.loadAsync=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r(this,void 0,void 0,(function(){var e,n,r,o,a;return i(this,(function(i){switch(i.label){case 0:e=this._getContainerModuleHelpersFactory(),n=0,r=t,i.label=1;case 1:return n<r.length?(o=r[n],a=e(o.id),[4,o.registry(a.bindFunction,a.unbindFunction,a.isboundFunction,a.rebindFunction)]):[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))},t.prototype.unload=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=function(t){return function(e){return e.moduleId===t}};e.forEach((function(e){var n=r(e.id);t._bindingDictionary.removeByCondition(n)}))},t.prototype.bind=function(t){var e=this.options.defaultScope||s.BindingScopeEnum.Transient,n=new a.Binding(t,e);return this._bindingDictionary.add(t,n),new p.BindingToSyntax(n)},t.prototype.rebind=function(t){return this.unbind(t),this.bind(t)},t.prototype.unbind=function(t){try{this._bindingDictionary.remove(t)}catch(e){throw new Error(u.CANNOT_UNBIND+" "+y.getServiceIdentifierAsString(t))}},t.prototype.unbindAll=function(){this._bindingDictionary=new m.Lookup},t.prototype.isBound=function(t){var e=this._bindingDictionary.hasKey(t);return!e&&this.parent&&(e=this.parent.isBound(t)),e},t.prototype.isBoundNamed=function(t,e){return this.isBoundTagged(t,c.NAMED_TAG,e)},t.prototype.isBoundTagged=function(t,e,n){var r=!1;if(this._bindingDictionary.hasKey(t)){var i=this._bindingDictionary.get(t),o=h.createMockRequest(this,t,e,n);r=i.some((function(t){return t.constraint(o)}))}return!r&&this.parent&&(r=this.parent.isBoundTagged(t,e,n)),r},t.prototype.snapshot=function(){this._snapshots.push(v.ContainerSnapshot.of(this._bindingDictionary.clone(),this._middleware))},t.prototype.restore=function(){var t=this._snapshots.pop();if(void 0===t)throw new Error(u.NO_MORE_SNAPSHOTS_AVAILABLE);this._bindingDictionary=t.bindings,this._middleware=t.middleware},t.prototype.createChild=function(e){var n=new t(e||this.options);return n.parent=this,n},t.prototype.applyMiddleware=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._appliedMiddleware=this._appliedMiddleware.concat(t);var n=this._middleware?this._middleware:this._planAndResolve();this._middleware=t.reduce((function(t,e){return e(t)}),n)},t.prototype.applyCustomMetadataReader=function(t){this._metadataReader=t},t.prototype.get=function(t){return this._get(!1,!1,s.TargetTypeEnum.Variable,t)},t.prototype.getTagged=function(t,e,n){return this._get(!1,!1,s.TargetTypeEnum.Variable,t,e,n)},t.prototype.getNamed=function(t,e){return this.getTagged(t,c.NAMED_TAG,e)},t.prototype.getAll=function(t){return this._get(!0,!0,s.TargetTypeEnum.Variable,t)},t.prototype.getAllTagged=function(t,e,n){return this._get(!1,!0,s.TargetTypeEnum.Variable,t,e,n)},t.prototype.getAllNamed=function(t,e){return this.getAllTagged(t,c.NAMED_TAG,e)},t.prototype.resolve=function(t){var e=this.createChild();return e.bind(t).toSelf(),this._appliedMiddleware.forEach((function(t){e.applyMiddleware(t)})),e.get(t)},t.prototype._getContainerModuleHelpersFactory=function(){var t=this,e=function(t,e){t._binding.moduleId=e},n=function(n){return function(r){var i=t.rebind.bind(t)(r);return e(i,n),i}};return function(r){return{bindFunction:(i=r,function(n){var r=t.bind.bind(t)(n);return e(r,i),r}),isboundFunction:function(e){return t.isBound.bind(t)(e)},rebindFunction:n(r),unbindFunction:function(e){t.unbind.bind(t)(e)}};var i}},t.prototype._get=function(t,e,n,r,i,o){var a=null,s={avoidConstraints:t,contextInterceptor:function(t){return t},isMultiInject:e,key:i,serviceIdentifier:r,targetType:n,value:o};if(this._middleware){if(null==(a=this._middleware(s)))throw new Error(u.INVALID_MIDDLEWARE_RETURN)}else a=this._planAndResolve()(s);return a},t.prototype._planAndResolve=function(){var t=this;return function(e){var n=h.plan(t._metadataReader,t,e.isMultiInject,e.targetType,e.serviceIdentifier,e.key,e.value,e.avoidConstraints);return n=e.contextInterceptor(n),f.resolve(n)}},t}();e.Container=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Binding=void 0;var r=n(4),i=n(7),o=function(){function t(t,e){this.id=i.id(),this.activated=!1,this.serviceIdentifier=t,this.scope=e,this.type=r.BindingTypeEnum.Invalid,this.constraint=function(t){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.dynamicValue=null}return t.prototype.clone=function(){var e=new t(this.serviceIdentifier,this.scope);return e.activated=e.scope===r.BindingScopeEnum.Singleton&&this.activated,e.implementationType=this.implementationType,e.dynamicValue=this.dynamicValue,e.scope=this.scope,e.type=this.type,e.factory=this.factory,e.provider=this.provider,e.constraint=this.constraint,e.onActivation=this.onActivation,e.cache=this.cache,e},t}();e.Binding=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBindingDictionary=e.createMockRequest=e.plan=void 0;var r=n(27),i=n(2),o=n(4),a=n(0),u=n(15),s=n(8),c=n(28),l=n(3),h=n(29),f=n(30),p=n(32),d=n(17);function y(t){return t._bindingDictionary}function v(t,e,n,o,a){var u=m(n.container,a.serviceIdentifier),c=[];return u.length===r.BindingCount.NoBindingsAvailable&&n.container.options.autoBindInjectable&&"function"==typeof a.serviceIdentifier&&t.getConstructorMetadata(a.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(a.serviceIdentifier).toSelf(),u=m(n.container,a.serviceIdentifier)),c=e?u:u.filter((function(t){var e=new p.Request(t.serviceIdentifier,n,o,t,a);return t.constraint(e)})),function(t,e,n,o){switch(e.length){case r.BindingCount.NoBindingsAvailable:if(n.isOptional())return e;var a=s.getServiceIdentifierAsString(t),u=i.NOT_REGISTERED;throw u+=s.listMetadataForTarget(a,n),u+=s.listRegisteredBindingsForServiceIdentifier(o,a,m),new Error(u);case r.BindingCount.OnlyOneBindingAvailable:if(!n.isArray())return e;case r.BindingCount.MultipleBindingsAvailable:default:if(n.isArray())return e;a=s.getServiceIdentifierAsString(t),u=i.AMBIGUOUS_MATCH+" "+a;throw u+=s.listRegisteredBindingsForServiceIdentifier(o,a,m),new Error(u)}}(a.serviceIdentifier,c,a,n.container),c}function m(t,e){var n=[],r=y(t);return r.hasKey(e)?n=r.get(e):null!==t.parent&&(n=m(t.parent,e)),n}e.getBindingDictionary=y,e.plan=function(t,e,n,r,y,m,g,b){void 0===b&&(b=!1);var T=new c.Context(e),E=function(t,e,n,r,i,o){var u=t?a.MULTI_INJECT_TAG:a.INJECT_TAG,s=new l.Metadata(u,n),c=new d.Target(e,r,n,s);if(void 0!==i){var h=new l.Metadata(i,o);c.metadata.push(h)}return c}(n,r,y,"",m,g);try{return function t(e,n,r,a,u,s){var c,l;if(null===u){c=v(e,n,a,null,s),l=new p.Request(r,a,null,c,s);var d=new h.Plan(a,l);a.addPlan(d)}else c=v(e,n,a,u,s),l=u.addChildRequest(s.serviceIdentifier,c,s);c.forEach((function(n){var r=null;if(s.isArray())r=l.addChildRequest(n.serviceIdentifier,n,s);else{if(n.cache)return;r=l}if(n.type===o.BindingTypeEnum.Instance&&null!==n.implementationType){var u=f.getDependencies(e,n.implementationType);if(!a.container.options.skipBaseClassChecks){var c=f.getBaseClassDependencyCount(e,n.implementationType);if(u.length<c){var h=i.ARGUMENTS_LENGTH_MISMATCH(f.getFunctionName(n.implementationType));throw new Error(h)}}u.forEach((function(n){t(e,!1,n.serviceIdentifier,a,r,n)}))}}))}(t,b,y,T,null,E),T}catch(t){throw u.isStackOverflowExeption(t)&&T.plan&&s.circularDependencyToException(T.plan.rootRequest),t}},e.createMockRequest=function(t,e,n,r){var i=new d.Target(o.TargetTypeEnum.Variable,"",e,new l.Metadata(n,r)),a=new c.Context(t);return new p.Request(e,a,null,[],i)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingCount=void 0;e.BindingCount={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Context=void 0;var r=n(7),i=function(){function t(t){this.id=r.id(),this.container=t}return t.prototype.addPlan=function(t){this.plan=t},t.prototype.setCurrentRequest=function(t){this.currentRequest=t},t}();e.Context=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Plan=void 0;var r=function(t,e){this.parentContext=t,this.rootRequest=e};e.Plan=r},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.getFunctionName=e.getBaseClassDependencyCount=e.getDependencies=void 0;var i=n(16),o=n(2),a=n(4),u=n(0),s=n(8);Object.defineProperty(e,"getFunctionName",{enumerable:!0,get:function(){return s.getFunctionName}});var c=n(17);function l(t,e,n,i){var u=t.getConstructorMetadata(n),s=u.compilerGeneratedMetadata;if(void 0===s){var l=o.MISSING_INJECTABLE_ANNOTATION+" "+e+".";throw new Error(l)}var p=u.userGeneratedMetadata,d=Object.keys(p),y=0===n.length&&d.length>0,v=d.length>n.length,m=function(t,e,n,r,i){for(var o=[],a=0;a<i;a++){var u=h(a,t,e,n,r);null!==u&&o.push(u)}return o}(i,e,s,p,y||v?d.length:n.length),g=function t(e,n){for(var i=e.getPropertiesMetadata(n),o=[],u=Object.keys(i),s=0,l=u;s<l.length;s++){var h=l[s],p=i[h],d=f(i[h]),y=d.targetName||h,v=d.inject||d.multiInject,m=new c.Target(a.TargetTypeEnum.ClassProperty,y,v);m.metadata=p,o.push(m)}var g=Object.getPrototypeOf(n.prototype).constructor;if(g!==Object){var b=t(e,g);o=r(r([],o),b)}return o}(t,n);return r(r([],m),g)}function h(t,e,n,r,u){var s=u[t.toString()]||[],l=f(s),h=!0!==l.unmanaged,p=r[t],d=l.inject||l.multiInject;if((p=d||p)instanceof i.LazyServiceIdentifer&&(p=p.unwrap()),h){if(!e&&(p===Object||p===Function||void 0===p)){var y=o.MISSING_INJECT_ANNOTATION+" argument "+t+" in class "+n+".";throw new Error(y)}var v=new c.Target(a.TargetTypeEnum.ConstructorArgument,l.targetName,p);return v.metadata=s,v}return null}function f(t){var e={};return t.forEach((function(t){e[t.key.toString()]=t.value})),{inject:e[u.INJECT_TAG],multiInject:e[u.MULTI_INJECT_TAG],targetName:e[u.NAME_TAG],unmanaged:e[u.UNMANAGED_TAG]}}e.getDependencies=function(t,e){return l(t,s.getFunctionName(e),e,!1)},e.getBaseClassDependencyCount=function t(e,n){var r=Object.getPrototypeOf(n.prototype).constructor;if(r!==Object){var i=l(e,s.getFunctionName(r),r,!0),o=i.map((function(t){return t.metadata.filter((function(t){return t.key===u.UNMANAGED_TAG}))})),a=[].concat.apply([],o).length,c=i.length-a;return c>0?c:t(e,r)}return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QueryableString=void 0;var r=function(){function t(t){this.str=t}return t.prototype.startsWith=function(t){return 0===this.str.indexOf(t)},t.prototype.endsWith=function(t){var e,n=t.split("").reverse().join("");return e=this.str.split("").reverse().join(""),this.startsWith.call({str:e},n)},t.prototype.contains=function(t){return-1!==this.str.indexOf(t)},t.prototype.equals=function(t){return this.str===t},t.prototype.value=function(){return this.str},t}();e.QueryableString=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Request=void 0;var r=n(7),i=function(){function t(t,e,n,i,o){this.id=r.id(),this.serviceIdentifier=t,this.parentContext=e,this.parentRequest=n,this.target=o,this.childRequests=[],this.bindings=Array.isArray(i)?i:[i],this.requestScope=null===n?new Map:null}return t.prototype.addChildRequest=function(e,n,r){var i=new t(e,this.parentContext,this,n,r);return this.childRequests.push(i),i},t}();e.Request=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolve=void 0;var r=n(2),i=n(4),o=n(15),a=n(8),u=n(34),s=function(t,e,n){try{return n()}catch(n){throw o.isStackOverflowExeption(n)?new Error(r.CIRCULAR_DEPENDENCY_IN_FACTORY(t,e.toString())):n}},c=function(t){return function(e){e.parentContext.setCurrentRequest(e);var n=e.bindings,o=e.childRequests,l=e.target&&e.target.isArray(),h=!(e.parentRequest&&e.parentRequest.target&&e.target&&e.parentRequest.target.matchesArray(e.target.serviceIdentifier));if(l&&h)return o.map((function(e){return c(t)(e)}));var f=null;if(!e.target.isOptional()||0!==n.length){var p=n[0],d=p.scope===i.BindingScopeEnum.Singleton,y=p.scope===i.BindingScopeEnum.Request;if(d&&p.activated)return p.cache;if(y&&null!==t&&t.has(p.id))return t.get(p.id);if(p.type===i.BindingTypeEnum.ConstantValue)f=p.cache,p.activated=!0;else if(p.type===i.BindingTypeEnum.Function)f=p.cache,p.activated=!0;else if(p.type===i.BindingTypeEnum.Constructor)f=p.implementationType;else if(p.type===i.BindingTypeEnum.DynamicValue&&null!==p.dynamicValue)f=s("toDynamicValue",p.serviceIdentifier,(function(){return p.dynamicValue(e.parentContext)}));else if(p.type===i.BindingTypeEnum.Factory&&null!==p.factory)f=s("toFactory",p.serviceIdentifier,(function(){return p.factory(e.parentContext)}));else if(p.type===i.BindingTypeEnum.Provider&&null!==p.provider)f=s("toProvider",p.serviceIdentifier,(function(){return p.provider(e.parentContext)}));else{if(p.type!==i.BindingTypeEnum.Instance||null===p.implementationType){var v=a.getServiceIdentifierAsString(e.serviceIdentifier);throw new Error(r.INVALID_BINDING_TYPE+" "+v)}f=u.resolveInstance(p.implementationType,o,c(t))}return"function"==typeof p.onActivation&&(f=p.onActivation(e.parentContext,f)),d&&(p.cache=f,p.activated=!0),y&&null!==t&&!t.has(p.id)&&t.set(p.id,f),f}}};e.resolve=function(t){return c(t.plan.rootRequest.requestScope)(t.plan.rootRequest)}},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.resolveInstance=void 0;var i=n(2),o=n(4),a=n(0);e.resolveInstance=function(t,e,n){var u,s,c=null;if(e.length>0){var l=e.filter((function(t){return null!==t.target&&t.target.type===o.TargetTypeEnum.ConstructorArgument})).map(n);s=l,c=function(t,e,n){var r=e.filter((function(t){return null!==t.target&&t.target.type===o.TargetTypeEnum.ClassProperty})),i=r.map(n);return r.forEach((function(e,n){var r;r=e.target.name.value();var o=i[n];t[r]=o})),t}(c=new((u=t).bind.apply(u,r([void 0],s))),e,n)}else c=new t;return function(t,e){if(Reflect.hasMetadata(a.POST_CONSTRUCT,t)){var n=Reflect.getMetadata(a.POST_CONSTRUCT,t);try{e[n.value]()}catch(e){throw new Error(i.POST_CONSTRUCT_ERROR(t.name,e.message))}}}(t,c),c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingToSyntax=void 0;var r=n(2),i=n(4),o=n(36),a=n(18),u=function(){function t(t){this._binding=t}return t.prototype.to=function(t){return this._binding.type=i.BindingTypeEnum.Instance,this._binding.implementationType=t,new o.BindingInWhenOnSyntax(this._binding)},t.prototype.toSelf=function(){if("function"!=typeof this._binding.serviceIdentifier)throw new Error(""+r.INVALID_TO_SELF_VALUE);var t=this._binding.serviceIdentifier;return this.to(t)},t.prototype.toConstantValue=function(t){return this._binding.type=i.BindingTypeEnum.ConstantValue,this._binding.cache=t,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toDynamicValue=function(t){return this._binding.type=i.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=t,this._binding.implementationType=null,new o.BindingInWhenOnSyntax(this._binding)},t.prototype.toConstructor=function(t){return this._binding.type=i.BindingTypeEnum.Constructor,this._binding.implementationType=t,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toFactory=function(t){return this._binding.type=i.BindingTypeEnum.Factory,this._binding.factory=t,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toFunction=function(t){if("function"!=typeof t)throw new Error(r.INVALID_FUNCTION_BINDING);var e=this.toConstantValue(t);return this._binding.type=i.BindingTypeEnum.Function,this._binding.scope=i.BindingScopeEnum.Singleton,e},t.prototype.toAutoFactory=function(t){return this._binding.type=i.BindingTypeEnum.Factory,this._binding.factory=function(e){return function(){return e.container.get(t)}},this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toProvider=function(t){return this._binding.type=i.BindingTypeEnum.Provider,this._binding.provider=t,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toService=function(t){this.toDynamicValue((function(e){return e.container.get(t)}))},t}();e.BindingToSyntax=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingInWhenOnSyntax=void 0;var r=n(37),i=n(9),o=n(10),a=function(){function t(t){this._binding=t,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new i.BindingOnSyntax(this._binding),this._bindingInSyntax=new r.BindingInSyntax(t)}return t.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},t.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},t.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},t.prototype.when=function(t){return this._bindingWhenSyntax.when(t)},t.prototype.whenTargetNamed=function(t){return this._bindingWhenSyntax.whenTargetNamed(t)},t.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},t.prototype.whenTargetTagged=function(t,e){return this._bindingWhenSyntax.whenTargetTagged(t,e)},t.prototype.whenInjectedInto=function(t){return this._bindingWhenSyntax.whenInjectedInto(t)},t.prototype.whenParentNamed=function(t){return this._bindingWhenSyntax.whenParentNamed(t)},t.prototype.whenParentTagged=function(t,e){return this._bindingWhenSyntax.whenParentTagged(t,e)},t.prototype.whenAnyAncestorIs=function(t){return this._bindingWhenSyntax.whenAnyAncestorIs(t)},t.prototype.whenNoAncestorIs=function(t){return this._bindingWhenSyntax.whenNoAncestorIs(t)},t.prototype.whenAnyAncestorNamed=function(t){return this._bindingWhenSyntax.whenAnyAncestorNamed(t)},t.prototype.whenAnyAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenAnyAncestorTagged(t,e)},t.prototype.whenNoAncestorNamed=function(t){return this._bindingWhenSyntax.whenNoAncestorNamed(t)},t.prototype.whenNoAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenNoAncestorTagged(t,e)},t.prototype.whenAnyAncestorMatches=function(t){return this._bindingWhenSyntax.whenAnyAncestorMatches(t)},t.prototype.whenNoAncestorMatches=function(t){return this._bindingWhenSyntax.whenNoAncestorMatches(t)},t.prototype.onActivation=function(t){return this._bindingOnSyntax.onActivation(t)},t}();e.BindingInWhenOnSyntax=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingInSyntax=void 0;var r=n(4),i=n(18),o=function(){function t(t){this._binding=t}return t.prototype.inRequestScope=function(){return this._binding.scope=r.BindingScopeEnum.Request,new i.BindingWhenOnSyntax(this._binding)},t.prototype.inSingletonScope=function(){return this._binding.scope=r.BindingScopeEnum.Singleton,new i.BindingWhenOnSyntax(this._binding)},t.prototype.inTransientScope=function(){return this._binding.scope=r.BindingScopeEnum.Transient,new i.BindingWhenOnSyntax(this._binding)},t}();e.BindingInSyntax=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContainerSnapshot=void 0;var r=function(){function t(){}return t.of=function(e,n){var r=new t;return r.bindings=e,r.middleware=n,r},t}();e.ContainerSnapshot=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lookup=void 0;var r=n(2),i=function(){function t(){this._map=new Map}return t.prototype.getMap=function(){return this._map},t.prototype.add=function(t,e){if(null==t)throw new Error(r.NULL_ARGUMENT);if(null==e)throw new Error(r.NULL_ARGUMENT);var n=this._map.get(t);void 0!==n?(n.push(e),this._map.set(t,n)):this._map.set(t,[e])},t.prototype.get=function(t){if(null==t)throw new Error(r.NULL_ARGUMENT);var e=this._map.get(t);if(void 0!==e)return e;throw new Error(r.KEY_NOT_FOUND)},t.prototype.remove=function(t){if(null==t)throw new Error(r.NULL_ARGUMENT);if(!this._map.delete(t))throw new Error(r.KEY_NOT_FOUND)},t.prototype.removeByCondition=function(t){var e=this;this._map.forEach((function(n,r){var i=n.filter((function(e){return!t(e)}));i.length>0?e._map.set(r,i):e._map.delete(r)}))},t.prototype.hasKey=function(t){if(null==t)throw new Error(r.NULL_ARGUMENT);return this._map.has(t)},t.prototype.clone=function(){var e=new t;return this._map.forEach((function(t,n){t.forEach((function(t){return e.add(n,t.clone())}))})),e},t.prototype.traverse=function(t){this._map.forEach((function(e,n){t(n,e)}))},t}();e.Lookup=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AsyncContainerModule=e.ContainerModule=void 0;var r=n(7),i=function(t){this.id=r.id(),this.registry=t};e.ContainerModule=i;var o=function(t){this.id=r.id(),this.registry=t};e.AsyncContainerModule=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.injectable=void 0;var r=n(2),i=n(0);e.injectable=function(){return function(t){if(Reflect.hasOwnMetadata(i.PARAM_TYPES,t))throw new Error(r.DUPLICATED_INJECTABLE_DECORATOR);var e=Reflect.getMetadata(i.DESIGN_PARAM_TYPES,t)||[];return Reflect.defineMetadata(i.PARAM_TYPES,e,t),t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tagged=void 0;var r=n(3),i=n(5);e.tagged=function(t,e){return function(n,o,a){var u=new r.Metadata(t,e);"number"==typeof a?i.tagParameter(n,o,a,u):i.tagProperty(n,o,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.named=void 0;var r=n(0),i=n(3),o=n(5);e.named=function(t){return function(e,n,a){var u=new i.Metadata(r.NAMED_TAG,t);"number"==typeof a?o.tagParameter(e,n,a,u):o.tagProperty(e,n,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.optional=void 0;var r=n(0),i=n(3),o=n(5);e.optional=function(){return function(t,e,n){var a=new i.Metadata(r.OPTIONAL_TAG,!0);"number"==typeof n?o.tagParameter(t,e,n,a):o.tagProperty(t,e,a)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unmanaged=void 0;var r=n(0),i=n(3),o=n(5);e.unmanaged=function(){return function(t,e,n){var a=new i.Metadata(r.UNMANAGED_TAG,!0);o.tagParameter(t,e,n,a)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.multiInject=void 0;var r=n(0),i=n(3),o=n(5);e.multiInject=function(t){return function(e,n,a){var u=new i.Metadata(r.MULTI_INJECT_TAG,t);"number"==typeof a?o.tagParameter(e,n,a,u):o.tagProperty(e,n,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.targetName=void 0;var r=n(0),i=n(3),o=n(5);e.targetName=function(t){return function(e,n,a){var u=new i.Metadata(r.NAME_TAG,t);o.tagParameter(e,n,a,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.postConstruct=void 0;var r=n(2),i=n(0),o=n(3);e.postConstruct=function(){return function(t,e,n){var a=new o.Metadata(i.POST_CONSTRUCT,e);if(Reflect.hasOwnMetadata(i.POST_CONSTRUCT,t.constructor))throw new Error(r.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(i.POST_CONSTRUCT,a,t.constructor)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.multiBindToService=void 0;e.multiBindToService=function(t){return function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.forEach((function(n){return t.bind(n).toService(e)}))}}}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){"use strict";n.r(e),n.d(e,"ManaSyringe",(function(){return r})),n.d(e,"Shape",(function(){return Cs})),n.d(e,"LineCap",(function(){return _s})),n.d(e,"LineJoin",(function(){return Os})),n.d(e,"TextTransform",(function(){return Is})),n.d(e,"TextAlign",(function(){return Rs})),n.d(e,"CanvasConfig",(function(){return Ds})),n.d(e,"UnitType",(function(){return Bo})),n.d(e,"UnitCategory",(function(){return jo})),n.d(e,"ValueRange",(function(){return Fo})),n.d(e,"Nested",(function(){return Uo})),n.d(e,"ParenLess",(function(){return Go})),n.d(e,"CSSColorValue",(function(){return Ta})),n.d(e,"CSSKeywordValue",(function(){return Ea})),n.d(e,"CSSMathOperator",(function(){return ma})),n.d(e,"isComparison",(function(){return wa})),n.d(e,"CSSNumericValue",(function(){return xa})),n.d(e,"CSSUnitValue",(function(){return Oa})),n.d(e,"CSSMathValue",(function(){return Ia})),n.d(e,"CSSMathInvert",(function(){return Ra})),n.d(e,"CSSMathNegate",(function(){return Da})),n.d(e,"typeCheck",(function(){return La})),n.d(e,"CSSMathVariadic",(function(){return Ba})),n.d(e,"CSSMathMin",(function(){return ja})),n.d(e,"CSSMathMax",(function(){return Fa})),n.d(e,"CSSMathSum",(function(){return Ua})),n.d(e,"CSSMathProduct",(function(){return Ga})),n.d(e,"BaseType",(function(){return ga})),n.d(e,"unitTypeToBaseType",(function(){return Ma})),n.d(e,"baseTypeToString",(function(){return ka})),n.d(e,"CSSNumericValueType",(function(){return Pa})),n.d(e,"CSSRGB",(function(){return za})),n.d(e,"GradientPatternType",(function(){return Va})),n.d(e,"CSSGradientValue",(function(){return Wa})),n.d(e,"CSSStyleValueType",(function(){return ya})),n.d(e,"CSSStyleValue",(function(){return ba})),n.d(e,"CSSTransformValue",(function(){return Ha})),n.d(e,"CSSTranslate",(function(){return Ya})),n.d(e,"parseColor",(function(){return xu})),n.d(e,"mergeColors",(function(){return Su})),n.d(e,"parseDimension",(function(){return Nu})),n.d(e,"parseLength",(function(){return Au})),n.d(e,"parserPercentage",(function(){return Cu})),n.d(e,"parseLengthOrPercentage",(function(){return _u})),n.d(e,"parseAngle",(function(){return Ou})),n.d(e,"mergeDimensions",(function(){return Iu})),n.d(e,"convertAngleUnit",(function(){return Ru})),n.d(e,"parseDimensionArray",(function(){return Du})),n.d(e,"mergeDimensionList",(function(){return Lu})),n.d(e,"convertPercentUnit",(function(){return Vu})),n.d(e,"numberToString",(function(){return Bu})),n.d(e,"parseNumber",(function(){return ju})),n.d(e,"parseNumberList",(function(){return Fu})),n.d(e,"mergeNumbers",(function(){return Uu})),n.d(e,"clampedMergeNumbers",(function(){return Gu})),n.d(e,"mergeNumberLists",(function(){return zu})),n.d(e,"parsePath",(function(){return Ys})),n.d(e,"mergePaths",(function(){return Xs})),n.d(e,"parsePoints",(function(){return Zs})),n.d(e,"parseParam",(function(){return Js})),n.d(e,"parseFilter",(function(){return $s})),n.d(e,"Opx",(function(){return ec})),n.d(e,"Odeg",(function(){return nc})),n.d(e,"parseTransform",(function(){return ac})),n.d(e,"mergeTransforms",(function(){return cc})),n.d(e,"parseTransformOrigin",(function(){return lc})),n.d(e,"CSSPropertyLengthOrPercentage",(function(){return pc})),n.d(e,"CSSPropertyLocalPosition",(function(){return dc})),n.d(e,"CSSPropertyOpacity",(function(){return yc})),n.d(e,"CSSPropertyColor",(function(){return vc})),n.d(e,"CSSPropertyFilter",(function(){return mc})),n.d(e,"CSSPropertyLineDash",(function(){return gc})),n.d(e,"CSSPropertyShadowBlur",(function(){return bc})),n.d(e,"CSSPropertyOffsetPath",(function(){return Tc})),n.d(e,"CSSPropertyOffsetDistance",(function(){return Ec})),n.d(e,"CSSPropertyAnchor",(function(){return wc})),n.d(e,"CSSPropertyZIndex",(function(){return Mc})),n.d(e,"CSSPropertyTransform",(function(){return kc})),n.d(e,"CSSPropertyTransformOrigin",(function(){return Pc})),n.d(e,"CSSPropertyPath",(function(){return xc})),n.d(e,"CSSPropertyPoints",(function(){return Sc})),n.d(e,"CSSPropertyClipPath",(function(){return Nc})),n.d(e,"CSSPropertyText",(function(){return Ac})),n.d(e,"CSSPropertyTextTransform",(function(){return Cc})),n.d(e,"CSS",(function(){return bh})),n.d(e,"LayoutRegistry",(function(){return Th})),n.d(e,"PropertySyntax",(function(){return vh})),n.d(e,"BUILT_IN_PROPERTIES",(function(){return mh})),n.d(e,"StyleValueRegistry",(function(){return gh})),n.d(e,"ElementEvent",(function(){return ko})),n.d(e,"DELEGATION_SPLITTER",(function(){return Oc})),n.d(e,"EventTarget",(function(){return Ic})),n.d(e,"Node",(function(){return Rc})),n.d(e,"Element",(function(){return Uc})),n.d(e,"Document",(function(){return eh})),n.d(e,"FederatedEvent",(function(){return zo})),n.d(e,"FederatedMouseEvent",(function(){return nh})),n.d(e,"FederatedPointerEvent",(function(){return rh})),n.d(e,"FederatedWheelEvent",(function(){return ih})),n.d(e,"Animation",(function(){return qc})),n.d(e,"AnimationEvent",(function(){return Gc})),n.d(e,"AnimationEffectTiming",(function(){return _l})),n.d(e,"CustomEvent",(function(){return _c})),n.d(e,"MutationEvent",(function(){return qo})),n.d(e,"Registration",(function(){return sh})),n.d(e,"MutationObserver",(function(){return ch})),n.d(e,"MutationRecord",(function(){return oh})),n.d(e,"makeTiming",(function(){return Dl})),n.d(e,"normalizeTimingInput",(function(){return Ll})),n.d(e,"numericTimingToObject",(function(){return Vl})),n.d(e,"KeyframeEffect",(function(){return Fl})),n.d(e,"normalizeKeyframes",(function(){return Ol})),n.d(e,"compareAnimations",(function(){return Wc})),n.d(e,"AnimationTimeline",(function(){return Hc})),n.d(e,"CustomElementRegistry",(function(){return yh})),n.d(e,"DefaultCamera",(function(){return wf})),n.d(e,"CameraType",(function(){return Jh})),n.d(e,"CameraTrackingMode",(function(){return Qh})),n.d(e,"CameraProjectionMode",(function(){return $h})),n.d(e,"CameraEvent",(function(){return kf})),n.d(e,"Camera",(function(){return Sf})),n.d(e,"DisplayObject",(function(){return Gl})),n.d(e,"CustomElement",(function(){return zl})),n.d(e,"Circle",(function(){return ql})),n.d(e,"Ellipse",(function(){return Wl})),n.d(e,"Group",(function(){return Hl})),n.d(e,"Image",(function(){return Yl})),n.d(e,"Line",(function(){return Kl})),n.d(e,"Path",(function(){return Xl})),n.d(e,"Polygon",(function(){return Zl})),n.d(e,"Polyline",(function(){return Jl})),n.d(e,"Rect",(function(){return Ql})),n.d(e,"Text",(function(){return $l})),n.d(e,"HTML",(function(){return th})),n.d(e,"Geometry",(function(){return Dc})),n.d(e,"Renderable",(function(){return Lc})),n.d(e,"Transform",(function(){return Vc})),n.d(e,"Strategy",(function(){return fc})),n.d(e,"Cullable",(function(){return Bc})),n.d(e,"Sortable",(function(){return jc})),n.d(e,"AbstractRenderer",(function(){return Nf})),n.d(e,"CanvasEvent",(function(){return Mf})),n.d(e,"Canvas",(function(){return Bf})),n.d(e,"DisplayObjectPool",(function(){return Tt})),n.d(e,"sortByZIndex",(function(){return Wh})),n.d(e,"dirtifyToRoot",(function(){return Hh})),n.d(e,"SceneGraphService",(function(){return Kh})),n.d(e,"DefaultSceneGraphService",(function(){return Xh})),n.d(e,"ContextService",(function(){return Zh})),n.d(e,"RenderReason",(function(){return Yh})),n.d(e,"RenderingContext",(function(){return tf})),n.d(e,"RenderingPluginContribution",(function(){return ef})),n.d(e,"RenderingService",(function(){return nf})),n.d(e,"EventService",(function(){return of})),n.d(e,"SceneGraphSelectorFactory",(function(){return Ro})),n.d(e,"SceneGraphSelector",(function(){return Do})),n.d(e,"DefaultSceneGraphSelector",(function(){return Vo})),n.d(e,"TextService",(function(){return hf})),n.d(e,"OffscreenCanvasCreator",(function(){return af})),n.d(e,"GeometryUpdaterFactory",(function(){return ff})),n.d(e,"GeometryAABBUpdater",(function(){return pf})),n.d(e,"CircleUpdater",(function(){return df})),n.d(e,"EllipseUpdater",(function(){return yf})),n.d(e,"RectUpdater",(function(){return vf})),n.d(e,"TextUpdater",(function(){return mf})),n.d(e,"LineUpdater",(function(){return gf})),n.d(e,"PolylineUpdater",(function(){return bf})),n.d(e,"PathUpdater",(function(){return Tf})),n.d(e,"AABB",(function(){return To})),n.d(e,"BoundingSphere",(function(){return wo})),n.d(e,"Mask",(function(){return lo})),n.d(e,"Frustum",(function(){return Po})),n.d(e,"Plane",(function(){return Mo})),n.d(e,"Ray",(function(){return _o})),n.d(e,"Point",(function(){return Oo})),n.d(e,"Rectangle",(function(){return Io})),n.d(e,"DCHECK",(function(){return Wo})),n.d(e,"DCHECK_EQ",(function(){return Ho})),n.d(e,"DCHECK_NE",(function(){return Yo})),n.d(e,"isUndefined",(function(){return Ko})),n.d(e,"isNil",(function(){return Xo})),n.d(e,"isNumber",(function(){return Zo})),n.d(e,"isFunction",(function(){return Jo})),n.d(e,"isBoolean",(function(){return Qo})),n.d(e,"isObject",(function(){return $o})),n.d(e,"clamp",(function(){return ta})),n.d(e,"getAngle",(function(){return ea})),n.d(e,"createVec3",(function(){return na})),n.d(e,"deg2rad",(function(){return ra})),n.d(e,"rad2deg",(function(){return ia})),n.d(e,"grad2deg",(function(){return oa})),n.d(e,"deg2turn",(function(){return aa})),n.d(e,"turn2deg",(function(){return ua})),n.d(e,"getScaling",(function(){return sa})),n.d(e,"getTranslation",(function(){return ca})),n.d(e,"getRotationInRadians",(function(){return la})),n.d(e,"getEuler",(function(){return ha})),n.d(e,"fromRotationTranslationScale",(function(){return fa})),n.d(e,"makePerspective",(function(){return pa})),n.d(e,"decompose",(function(){return da})),n.d(e,"convertEffectInput",(function(){return Mh})),n.d(e,"formatAttribute",(function(){return Nh})),n.d(e,"equalizeSegments",(function(){return Bs})),n.d(e,"getDrawDirection",(function(){return js})),n.d(e,"getPathArea",(function(){return Us})),n.d(e,"reverseCurve",(function(){return Gs})),n.d(e,"clonePath",(function(){return zs})),n.d(e,"getRotatedCurve",(function(){return qs})),n.d(e,"convertToPath",(function(){return Hs})),n.d(e,"toFontString",(function(){return Ch})),n.d(e,"camelCase",(function(){return Eh})),n.d(e,"isString",(function(){return wh})),n.d(e,"MOUSE_POINTER_ID",(function(){return _h})),n.d(e,"TOUCH_TO_POINTER",(function(){return Oh})),n.d(e,"cleanExistedCanvas",(function(){return Dh})),n.d(e,"isBrowser",(function(){return Lh})),n.d(e,"Hook",(function(){return Bh})),n.d(e,"SyncTapHook",(function(){return jh})),n.d(e,"AsyncTapHook",(function(){return Fh})),n.d(e,"SyncHook",(function(){return Uh})),n.d(e,"SyncWaterfallHook",(function(){return Gh})),n.d(e,"AsyncParallelHook",(function(){return zh})),n.d(e,"AsyncSeriesWaterfallHook",(function(){return qh}));var r={};n.r(r),n.d(r,"injectable",(function(){return N})),n.d(r,"singleton",(function(){return A})),n.d(r,"transient",(function(){return C})),n.d(r,"inject",(function(){return _})),n.d(r,"named",(function(){return O})),n.d(r,"postConstruct",(function(){return f.postConstruct})),n.d(r,"optional",(function(){return f.optional})),n.d(r,"unmanaged",(function(){return f.unmanaged})),n.d(r,"decorate",(function(){return f.decorate})),n.d(r,"Container",(function(){return it})),n.d(r,"GlobalContainer",(function(){return ot})),n.d(r,"register",(function(){return at})),n.d(r,"SyringeModule",(function(){return J})),n.d(r,"isSyringeModule",(function(){return Q})),n.d(r,"Module",(function(){return $})),n.d(r,"Provider",(function(){return F})),n.d(r,"DefaultContributionProvider",(function(){return Y})),n.d(r,"contrib",(function(){return ut})),n.d(r,"Contribution",(function(){return et})),n.d(r,"Syringe",(function(){return l})),n.d(r,"Utils",(function(){return h})),n.d(r,"OptionSymbol",(function(){return I})),n.d(r,"registerSideOption",(function(){return R}));var i={};n.r(i),n.d(i,"create",(function(){return kt})),n.d(i,"fromMat4",(function(){return Pt})),n.d(i,"clone",(function(){return xt})),n.d(i,"copy",(function(){return St})),n.d(i,"fromValues",(function(){return Nt})),n.d(i,"set",(function(){return At})),n.d(i,"identity",(function(){return Ct})),n.d(i,"transpose",(function(){return _t})),n.d(i,"invert",(function(){return Ot})),n.d(i,"adjoint",(function(){return It})),n.d(i,"determinant",(function(){return Rt})),n.d(i,"multiply",(function(){return Dt})),n.d(i,"translate",(function(){return Lt})),n.d(i,"rotate",(function(){return Vt})),n.d(i,"scale",(function(){return Bt})),n.d(i,"fromTranslation",(function(){return jt})),n.d(i,"fromRotation",(function(){return Ft})),n.d(i,"fromScaling",(function(){return Ut})),n.d(i,"fromMat2d",(function(){return Gt})),n.d(i,"fromQuat",(function(){return zt})),n.d(i,"normalFromMat4",(function(){return qt})),n.d(i,"projection",(function(){return Wt})),n.d(i,"str",(function(){return Ht})),n.d(i,"frob",(function(){return Yt})),n.d(i,"add",(function(){return Kt})),n.d(i,"subtract",(function(){return Xt})),n.d(i,"multiplyScalar",(function(){return Zt})),n.d(i,"multiplyScalarAndAdd",(function(){return Jt})),n.d(i,"exactEquals",(function(){return Qt})),n.d(i,"equals",(function(){return $t})),n.d(i,"mul",(function(){return te})),n.d(i,"sub",(function(){return ee}));var o={};n.r(o),n.d(o,"create",(function(){return ne})),n.d(o,"clone",(function(){return re})),n.d(o,"copy",(function(){return ie})),n.d(o,"fromValues",(function(){return oe})),n.d(o,"set",(function(){return ae})),n.d(o,"identity",(function(){return ue})),n.d(o,"transpose",(function(){return se})),n.d(o,"invert",(function(){return ce})),n.d(o,"adjoint",(function(){return le})),n.d(o,"determinant",(function(){return he})),n.d(o,"multiply",(function(){return fe})),n.d(o,"translate",(function(){return pe})),n.d(o,"scale",(function(){return de})),n.d(o,"rotate",(function(){return ye})),n.d(o,"rotateX",(function(){return ve})),n.d(o,"rotateY",(function(){return me})),n.d(o,"rotateZ",(function(){return ge})),n.d(o,"fromTranslation",(function(){return be})),n.d(o,"fromScaling",(function(){return Te})),n.d(o,"fromRotation",(function(){return Ee})),n.d(o,"fromXRotation",(function(){return we})),n.d(o,"fromYRotation",(function(){return Me})),n.d(o,"fromZRotation",(function(){return ke})),n.d(o,"fromRotationTranslation",(function(){return Pe})),n.d(o,"fromQuat2",(function(){return xe})),n.d(o,"getTranslation",(function(){return Se})),n.d(o,"getScaling",(function(){return Ne})),n.d(o,"getRotation",(function(){return Ae})),n.d(o,"fromRotationTranslationScale",(function(){return Ce})),n.d(o,"fromRotationTranslationScaleOrigin",(function(){return _e})),n.d(o,"fromQuat",(function(){return Oe})),n.d(o,"frustum",(function(){return Ie})),n.d(o,"perspectiveNO",(function(){return Re})),n.d(o,"perspective",(function(){return De})),n.d(o,"perspectiveZO",(function(){return Le})),n.d(o,"perspectiveFromFieldOfView",(function(){return Ve})),n.d(o,"orthoNO",(function(){return Be})),n.d(o,"ortho",(function(){return je})),n.d(o,"orthoZO",(function(){return Fe})),n.d(o,"lookAt",(function(){return Ue})),n.d(o,"targetTo",(function(){return Ge})),n.d(o,"str",(function(){return ze})),n.d(o,"frob",(function(){return qe})),n.d(o,"add",(function(){return We})),n.d(o,"subtract",(function(){return He})),n.d(o,"multiplyScalar",(function(){return Ye})),n.d(o,"multiplyScalarAndAdd",(function(){return Ke})),n.d(o,"exactEquals",(function(){return Xe})),n.d(o,"equals",(function(){return Ze})),n.d(o,"mul",(function(){return Je})),n.d(o,"sub",(function(){return Qe}));var a={};n.r(a),n.d(a,"create",(function(){return $e})),n.d(a,"clone",(function(){return tn})),n.d(a,"length",(function(){return en})),n.d(a,"fromValues",(function(){return nn})),n.d(a,"copy",(function(){return rn})),n.d(a,"set",(function(){return on})),n.d(a,"add",(function(){return an})),n.d(a,"subtract",(function(){return un})),n.d(a,"multiply",(function(){return sn})),n.d(a,"divide",(function(){return cn})),n.d(a,"ceil",(function(){return ln})),n.d(a,"floor",(function(){return hn})),n.d(a,"min",(function(){return fn})),n.d(a,"max",(function(){return pn})),n.d(a,"round",(function(){return dn})),n.d(a,"scale",(function(){return yn})),n.d(a,"scaleAndAdd",(function(){return vn})),n.d(a,"distance",(function(){return mn})),n.d(a,"squaredDistance",(function(){return gn})),n.d(a,"squaredLength",(function(){return bn})),n.d(a,"negate",(function(){return Tn})),n.d(a,"inverse",(function(){return En})),n.d(a,"normalize",(function(){return wn})),n.d(a,"dot",(function(){return Mn})),n.d(a,"cross",(function(){return kn})),n.d(a,"lerp",(function(){return Pn})),n.d(a,"hermite",(function(){return xn})),n.d(a,"bezier",(function(){return Sn})),n.d(a,"random",(function(){return Nn})),n.d(a,"transformMat4",(function(){return An})),n.d(a,"transformMat3",(function(){return Cn})),n.d(a,"transformQuat",(function(){return _n})),n.d(a,"rotateX",(function(){return On})),n.d(a,"rotateY",(function(){return In})),n.d(a,"rotateZ",(function(){return Rn})),n.d(a,"angle",(function(){return Dn})),n.d(a,"zero",(function(){return Ln})),n.d(a,"str",(function(){return Vn})),n.d(a,"exactEquals",(function(){return Bn})),n.d(a,"equals",(function(){return jn})),n.d(a,"sub",(function(){return Un})),n.d(a,"mul",(function(){return Gn})),n.d(a,"div",(function(){return zn})),n.d(a,"dist",(function(){return qn})),n.d(a,"sqrDist",(function(){return Wn})),n.d(a,"len",(function(){return Hn})),n.d(a,"sqrLen",(function(){return Yn})),n.d(a,"forEach",(function(){return Kn}));var u={};n.r(u),n.d(u,"create",(function(){return Xn})),n.d(u,"clone",(function(){return Zn})),n.d(u,"fromValues",(function(){return Jn})),n.d(u,"copy",(function(){return Qn})),n.d(u,"set",(function(){return $n})),n.d(u,"add",(function(){return tr})),n.d(u,"subtract",(function(){return er})),n.d(u,"multiply",(function(){return nr})),n.d(u,"divide",(function(){return rr})),n.d(u,"ceil",(function(){return ir})),n.d(u,"floor",(function(){return or})),n.d(u,"min",(function(){return ar})),n.d(u,"max",(function(){return ur})),n.d(u,"round",(function(){return sr})),n.d(u,"scale",(function(){return cr})),n.d(u,"scaleAndAdd",(function(){return lr})),n.d(u,"distance",(function(){return hr})),n.d(u,"squaredDistance",(function(){return fr})),n.d(u,"length",(function(){return pr})),n.d(u,"squaredLength",(function(){return dr})),n.d(u,"negate",(function(){return yr})),n.d(u,"inverse",(function(){return vr})),n.d(u,"normalize",(function(){return mr})),n.d(u,"dot",(function(){return gr})),n.d(u,"cross",(function(){return br})),n.d(u,"lerp",(function(){return Tr})),n.d(u,"random",(function(){return Er})),n.d(u,"transformMat4",(function(){return wr})),n.d(u,"transformQuat",(function(){return Mr})),n.d(u,"zero",(function(){return kr})),n.d(u,"str",(function(){return Pr})),n.d(u,"exactEquals",(function(){return xr})),n.d(u,"equals",(function(){return Sr})),n.d(u,"sub",(function(){return Nr})),n.d(u,"mul",(function(){return Ar})),n.d(u,"div",(function(){return Cr})),n.d(u,"dist",(function(){return _r})),n.d(u,"sqrDist",(function(){return Or})),n.d(u,"len",(function(){return Ir})),n.d(u,"sqrLen",(function(){return Rr})),n.d(u,"forEach",(function(){return Dr}));var s={};n.r(s),n.d(s,"create",(function(){return Lr})),n.d(s,"identity",(function(){return Vr})),n.d(s,"setAxisAngle",(function(){return Br})),n.d(s,"getAxisAngle",(function(){return jr})),n.d(s,"getAngle",(function(){return Fr})),n.d(s,"multiply",(function(){return Ur})),n.d(s,"rotateX",(function(){return Gr})),n.d(s,"rotateY",(function(){return zr})),n.d(s,"rotateZ",(function(){return qr})),n.d(s,"calculateW",(function(){return Wr})),n.d(s,"exp",(function(){return Hr})),n.d(s,"ln",(function(){return Yr})),n.d(s,"pow",(function(){return Kr})),n.d(s,"slerp",(function(){return Xr})),n.d(s,"random",(function(){return Zr})),n.d(s,"invert",(function(){return Jr})),n.d(s,"conjugate",(function(){return Qr})),n.d(s,"fromMat3",(function(){return $r})),n.d(s,"fromEuler",(function(){return ti})),n.d(s,"str",(function(){return ei})),n.d(s,"clone",(function(){return si})),n.d(s,"fromValues",(function(){return ci})),n.d(s,"copy",(function(){return li})),n.d(s,"set",(function(){return hi})),n.d(s,"add",(function(){return fi})),n.d(s,"mul",(function(){return pi})),n.d(s,"scale",(function(){return di})),n.d(s,"dot",(function(){return yi})),n.d(s,"lerp",(function(){return vi})),n.d(s,"length",(function(){return mi})),n.d(s,"len",(function(){return gi})),n.d(s,"squaredLength",(function(){return bi})),n.d(s,"sqrLen",(function(){return Ti})),n.d(s,"normalize",(function(){return Ei})),n.d(s,"exactEquals",(function(){return wi})),n.d(s,"equals",(function(){return Mi})),n.d(s,"rotationTo",(function(){return ki})),n.d(s,"sqlerp",(function(){return Pi})),n.d(s,"setAxes",(function(){return xi}));var c={};n.r(c),n.d(c,"create",(function(){return Si})),n.d(c,"clone",(function(){return Ni})),n.d(c,"fromValues",(function(){return Ai})),n.d(c,"copy",(function(){return Ci})),n.d(c,"set",(function(){return _i})),n.d(c,"add",(function(){return Oi})),n.d(c,"subtract",(function(){return Ii})),n.d(c,"multiply",(function(){return Ri})),n.d(c,"divide",(function(){return Di})),n.d(c,"ceil",(function(){return Li})),n.d(c,"floor",(function(){return Vi})),n.d(c,"min",(function(){return Bi})),n.d(c,"max",(function(){return ji})),n.d(c,"round",(function(){return Fi})),n.d(c,"scale",(function(){return Ui})),n.d(c,"scaleAndAdd",(function(){return Gi})),n.d(c,"distance",(function(){return zi})),n.d(c,"squaredDistance",(function(){return qi})),n.d(c,"length",(function(){return Wi})),n.d(c,"squaredLength",(function(){return Hi})),n.d(c,"negate",(function(){return Yi})),n.d(c,"inverse",(function(){return Ki})),n.d(c,"normalize",(function(){return Xi})),n.d(c,"dot",(function(){return Zi})),n.d(c,"cross",(function(){return Ji})),n.d(c,"lerp",(function(){return Qi})),n.d(c,"random",(function(){return $i})),n.d(c,"transformMat2",(function(){return to})),n.d(c,"transformMat2d",(function(){return eo})),n.d(c,"transformMat3",(function(){return no})),n.d(c,"transformMat4",(function(){return ro})),n.d(c,"rotate",(function(){return io})),n.d(c,"angle",(function(){return oo})),n.d(c,"zero",(function(){return ao})),n.d(c,"str",(function(){return uo})),n.d(c,"exactEquals",(function(){return so})),n.d(c,"equals",(function(){return co})),n.d(c,"len",(function(){return ho})),n.d(c,"sub",(function(){return fo})),n.d(c,"mul",(function(){return po})),n.d(c,"div",(function(){return yo})),n.d(c,"dist",(function(){return vo})),n.d(c,"sqrDist",(function(){return mo})),n.d(c,"sqrLen",(function(){return go})),n.d(c,"forEach",(function(){return bo}));n(12);var l,h,f=n(1);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){return e.lifecycle===l.Lifecycle.singleton?function(t){return t.inSingletonScope()}(t):function(t){return t.inTransientScope()}(t)}function b(t,e){t.whenTargetNamed(w(e))}function T(t,e){return e.bind(M(t))}function E(t,e){if(e.isBound(M(t)))try{return e.rebind(M(t))}catch(n){return e.bind(M(t))}return e.bind(M(t))}function w(t){return h.isDefinedToken(t)?t.symbol:t}function M(t){return h.isDefinedToken(t)?t.symbol:t}!function(t){t.defineToken=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{multiple:!0};return new t.DefinedToken(e,n)};var e,n=y((function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};v(this,t),this.prototype={},this.name=void 0,this.multiple=void 0,this.symbol=void 0;var r=n.multiple,i=void 0!==r&&r;this.name=e,this.symbol=Symbol(this.name),this.multiple=i}));t.DefinedToken=n,t.isModule=function(t){return!!t&&"object"===p(t)&&"id"in t},function(t){t.singleton="singleton",t.transient="transient"}(e=t.Lifecycle||(t.Lifecycle={})),t.ClassOptionSymbol=Symbol("SyringeClassOptionSymbol"),t.DefaultOption={lifecycle:e.transient}}(l||(l={})),function(t){t.toArray=function(t){return Array.isArray(t)?t:void 0===t?[]:[t]},t.isClass=function(t){return!(!t||"function"!=typeof t||!("prototype"in t))},t.isDefinedToken=function(t){return!!(t&&"object"===p(t)&&"symbol"in t&&"multiple"in t)},t.isInjectOption=function(t){return!(!t||"object"!==p(t)||!("token"in t))},t.isNamedToken=function(t){return!!(t&&"object"===p(t)&&"token"in t&&"named"in t)},t.isMultipleEnabled=function(e){return t.isDefinedToken(e)&&e.multiple}}(h||(h={}));var k=new f.Container;function P(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(f.injectable)();return function(n){Reflect.defineMetadata(l.ClassOptionSymbol,x(x({},t),{},{target:n}),n),e(n)}}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return N(x(x({},t),{},{lifecycle:l.Lifecycle.singleton}))}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return N(x(x({},t),{},{lifecycle:l.Lifecycle.transient}))}function _(t){return Object(f.inject)(M(t))}function O(t){return Object(f.named)(w(t))}var I=Symbol("SyringeOptionSymbol"),R=function(t,e){Reflect.defineMetadata(I,t,e)};function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){V(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var j=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.token=void 0,this.rawToken=void 0,this.named=void 0,this.generalToken=void 0,this.option=void 0,this.register=void 0,this.mutiple=void 0,this.register=e,this.token=n,this.option=r,this.rawToken=h.isNamedToken(n)?n.token:n,this.named=h.isNamedToken(n)?n.named:void 0,this.mutiple=!!this.named||h.isMultipleEnabled(this.rawToken),this.generalToken=this.rawToken}var e,n,r;return e=t,r=[{key:"resolveTarget",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{try{var i=Reflect.getMetadata(I,n);i&&t.resolveOption(e,i)}catch(t){}if(h.isClass(n))if(r.useClass){var o=h.toArray(r.useClass);o.unshift(n),r.useClass=o}else r.useClass=[n];var a;try{a=Reflect.getMetadata(l.ClassOptionSymbol,n)}catch(t){}if((a=L(L({},a||{}),r)).token){var u=h.toArray(a.token);u.unshift(n),a.token=u}else a.token=[n];t.resolveOption(e,a)}catch(t){}}},{key:"resolveOption",value:function(e,n){var r,i,o,a,u,s,c,f,p=(r=L(L({},t.globalConfig),n),i=h.toArray(r.token),o=h.toArray(r.useClass),a=h.toArray(r.useDynamic),u=h.toArray(r.useFactory),s=h.toArray(r.contrib),c=r.lifecycle||l.Lifecycle.transient,f={token:i,useClass:o,lifecycle:s.length>0?l.Lifecycle.singleton:c,contrib:s,useDynamic:a,useFactory:u},"useValue"in r&&(f.useValue=r.useValue),f);(0!==p.useClass.length||0!==p.useDynamic.length||0!==p.useFactory.length||"useValue"in p)&&p.token.forEach((function(n){new t(e,n,L({},p)).resolve()}))}}],(n=[{key:"resolve",value:function(){var t=this,e=this.register;(function(t){return t&&"object"===m(t)&&"bind"in t&&"unbind"in t&&"rebind"in t&&"isBound"in t})(e)&&(this.mutiple?this.resolveMutilple(e):(this.resolveMono(e),!this.named&&this.option.contrib.length>0&&this.option.contrib.forEach((function(n){h.isMultipleEnabled(n)?T(n,e).toService(t.generalToken):E(n,e).toService(t.generalToken)}))))}},{key:"resolveMono",value:function(t){if("useValue"in this.option)return E(this.generalToken,t).toConstantValue(this.option.useValue);if(this.option.useDynamic.length>0){var e=this.option.useDynamic[this.option.useDynamic.length-1];return g(E(this.generalToken,t).toDynamicValue((function(t){var n=it.getContainer(t.container);return e({container:n})})),this.option)}if(this.option.useFactory.length>0){var n=this.option.useFactory[this.option.useFactory.length-1];return E(this.generalToken,t).toFactory((function(t){var e=it.getContainer(t.container);return n({container:e})}))}if(this.option.useClass.length>0){var r=this.option.useClass[this.option.useClass.length-1];return g(E(this.generalToken,t).to(r),this.option)}}},{key:"resolveMutilple",value:function(t){var e=this,n=this.option.useClass.map((function(n){return g(T(e.generalToken,t).to(n),e.option)})),r=this.option.useDynamic.map((function(n){return g(T(e.generalToken,t).toDynamicValue((function(t){var e=it.getContainer(t.container);return n({container:e})})),e.option)})),i=this.option.useFactory.map((function(n){return T(e.generalToken,t).toFactory((function(t){var e=it.getContainer(t.container);return n({container:e})}))})),o="useValue"in this.option?T(this.generalToken,t).toConstantValue(this.option.useValue):void 0;this.named&&(n.forEach((function(t){return e.named&&b(t,e.named)})),r.forEach((function(t){return e.named&&b(t,e.named)})),i.forEach((function(t){return e.named&&b(t,e.named)})),o&&b(o,this.named))}}])&&B(e.prototype,n),r&&B(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();j.globalConfig=l.DefaultOption;var F=l.defineToken("ContributionProvider");function U(t){return function(t){if(Array.isArray(t))return G(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){W(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function W(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Y=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.option={recursive:!1,cache:!0},this.services=void 0,this.serviceIdentifier=void 0,this.container=void 0,this.container=n,this.serviceIdentifier=e,r&&(this.option=q(q({},this.option),r))}var e,n,r;return e=t,(n=[{key:"setServices",value:function(t){for(var e=[],n=this.container;n;){if(n.isBound(this.serviceIdentifier)){var r=n.getAll(this.serviceIdentifier);e.push.apply(e,U(r))}n=t?n.parent:void 0}return e}},{key:"getContributions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=q(q({},this.option),t),n=e.cache,r=e.recursive;return n&&void 0!==this.services||(this.services=this.setServices(!!r)),this.services}}])&&H(e.prototype,n),r&&H(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function K(t,e){return{token:{token:F,named:t},useDynamic:function(n){return new Y(t,n.container,e)},lifecycle:l.Lifecycle.singleton}}function X(t,e,n){t({token:{token:F,named:e},useDynamic:function(t){return new Y(e,t.container,n)},lifecycle:l.Lifecycle.singleton})}function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var J=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.id=void 0,this.inversifyModule=void 0,this.baseRegistry=void 0,this.optionCollection=void 0,this.inversifyRegister=function(t,e,r,i){var o={bind:t,unbind:e,isBound:r,rebind:i},a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.isInjectOption(t)?j.resolveOption(o,t):j.resolveTarget(o,t,e)};n.baseRegistry&&n.baseRegistry(a),n.optionCollection&&n.optionCollection.forEach((function(t){return a(t)}))},this.baseRegistry=e,this.inversifyModule=new f.ContainerModule(this.inversifyRegister),this.id=this.inversifyModule.id}var e,n,r;return e=t,(n=[{key:"options",get:function(){return this.optionCollection||(this.optionCollection=[]),this.optionCollection}},{key:"register",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){return t.options.push(e)})),this}},{key:"contribution",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){return t.options.push(K(e))})),this}}])&&Z(e.prototype,n),r&&Z(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Q(t){return t&&"inversifyModule"in t}function $(t){return new J(t)}function tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var et,nt,rt=new Map,it=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.loadedModules=[],this.container=void 0,this.inversify=!0,this.parent=void 0,this.container=e||new f.Container,t.setContainer(this.container,this)}var e,n,r;return e=t,r=[{key:"setContainer",value:function(t,e){return rt.set(t.id,e)}},{key:"getContainer",value:function(e){var n=rt.get(e.id);if(!n){var r=new t(e);return t.setContainer(e,r),r}return n}},{key:"config",value:function(t){j.globalConfig=t}}],(n=[{key:"load",value:function(t,e){var n=this;return e||!this.loadedModules.includes(t.id)?(Q(t)&&this.container.load(t.inversifyModule),this.loadedModules.push(t.id),{dispose:function(){n.unload(t)}}):(console.warn("Unsupported module."),{dispose:function(){}})}},{key:"unload",value:function(t){Q(t)&&(this.container.unload(t.inversifyModule),this.loadedModules=this.loadedModules.filter((function(e){return e!==t.id})))}},{key:"remove",value:function(t){return this.container.unbind(M(t))}},{key:"get",value:function(t){return this.container.get(M(t))}},{key:"getNamed",value:function(t,e){return this.container.getNamed(M(t),w(e))}},{key:"getAll",value:function(t){return this.container.getAll(M(t))}},{key:"getAllNamed",value:function(t,e){return this.container.getAllNamed(M(t),w(e))}},{key:"isBound",value:function(t){return this.container.isBound(M(t))}},{key:"isBoundNamed",value:function(t,e){return this.container.isBoundNamed(M(t),w(e))}},{key:"createChild",value:function(){var e=new t(this.container.createChild());return e.parent=this,e}},{key:"register",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.isInjectOption(t)?j.resolveOption(this.container,t):j.resolveTarget(this.container,t,e)}}])&&tt(e.prototype,n),r&&tt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ot=new it(k),at=ot.register.bind(ot),ut=function(t){return function(e,n,r){O(t)(e,n,r),_(F)(e,n,r)}};(nt=et||(et={})).Provider=F,nt.register=X;var st=n(6),ct=function(t,e){return(ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};
|
|
16
|
+
var n;!function(n){!function(r){var i="object"==typeof e?e:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),o=a(n);function a(t,e){return function(n,r){"function"!=typeof t[n]&&Object.defineProperty(t,n,{configurable:!0,writable:!0,value:r}),e&&e(n,r)}}void 0===i.Reflect?i.Reflect=n:o=a(i.Reflect,o),function(e){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,u={__proto__:[]}instanceof Array,s=!a&&!u,c={create:a?function(){return I(Object.create(null))}:u?function(){return I({__proto__:null})}:function(){return I({})},has:s?function(t,e){return n.call(t,e)}:function(t,e){return e in t},get:s?function(t,e){return n.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},l=Object.getPrototypeOf(Function),h="object"==typeof t&&t.env&&"true"===t.env.REFLECT_METADATA_USE_MAP_POLYFILL,f=h||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var t={},e=[],n=function(){function t(t,e,n){this._index=0,this._keys=t,this._values=e,this._selector=n}return t.prototype["@@iterator"]=function(){return this},t.prototype[o]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var n=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var n=this._find(t,!0);return this._values[n]=e,this},e.prototype.delete=function(e){var n=this._find(e,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,e===this._cacheKey&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new n(this._keys,this._values,r)},e.prototype.values=function(){return new n(this._keys,this._values,i)},e.prototype.entries=function(){return new n(this._keys,this._values,a)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[o]=function(){return this.entries()},e.prototype._find=function(t,e){return this._cacheKey!==t&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=t)),this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function r(t,e){return t}function i(t,e){return e}function a(t,e){return[t,e]}}():Map,p=h||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function t(){this._map=new f}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.values()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[o]=function(){return this.keys()},t}():Set,d=new(h||"function"!=typeof WeakMap?function(){var t=c.create(),e=r();return function(){function t(){this._key=r()}return t.prototype.has=function(t){var e=i(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=i(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return i(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=i(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=r()},t}();function r(){var e;do{e="@@WeakMap@@"+a()}while(c.has(t,e));return t[e]=!0,e}function i(t,r){if(!n.call(t,e)){if(!r)return;Object.defineProperty(t,e,{value:c.create()})}return t[e]}function o(t,e){for(var n=0;n<e;++n)t[n]=255*Math.random()|0;return t}function a(){var t,e=(t=16,"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(t)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(t)):o(new Uint8Array(t),t):o(new Array(t),t));e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var n="",r=0;r<16;++r){var i=e[r];4!==r&&6!==r&&8!==r||(n+="-"),i<16&&(n+="0"),n+=i.toString(16).toLowerCase()}return n}}():WeakMap);function y(t,e,n){var r=d.get(t);if(E(r)){if(!n)return;r=new f,d.set(t,r)}var i=r.get(e);if(E(i)){if(!n)return;i=new f,r.set(e,i)}return i}function v(t,e,n){var r=y(e,n,!1);return!E(r)&&!!r.has(t)}function m(t,e,n){var r=y(e,n,!1);if(!E(r))return r.get(t)}function g(t,e,n,r){y(n,r,!0).set(t,e)}function b(t,e){var n=[],r=y(t,e,!1);if(E(r))return n;for(var i=function(t){var e=A(t,o);if(!S(e))throw new TypeError;var n=e.call(t);if(!M(n))throw new TypeError;return n}(r.keys()),a=0;;){var u=C(i);if(!u)return n.length=a,n;var s=u.value;try{n[a]=s}catch(t){try{_(i)}finally{throw t}}a++}}function T(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function E(t){return void 0===t}function w(t){return null===t}function M(t){return"object"==typeof t?null!==t:"function"==typeof t}function k(t,e){switch(T(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var n=3===e?"string":5===e?"number":"default",r=A(t,i);if(void 0!==r){var o=r.call(t,n);if(M(o))throw new TypeError;return o}return function(t,e){if("string"===e){var n=t.toString;if(S(n))if(!M(i=n.call(t)))return i;if(S(r=t.valueOf))if(!M(i=r.call(t)))return i}else{var r;if(S(r=t.valueOf))if(!M(i=r.call(t)))return i;var i,o=t.toString;if(S(o))if(!M(i=o.call(t)))return i}throw new TypeError}(t,"default"===n?"number":n)}function P(t){var e=k(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function x(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function S(t){return"function"==typeof t}function N(t){return"function"==typeof t}function A(t,e){var n=t[e];if(null!=n){if(!S(n))throw new TypeError;return n}}function C(t){var e=t.next();return!e.done&&e}function _(t){var e=t.return;e&&e.call(t)}function O(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===l)return e;if(e!==l)return e;var n=t.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return e;var i=r.constructor;return"function"!=typeof i||i===t?e:i}function I(t){return t.__=void 0,delete t.__,t}e("decorate",(function(t,e,n,r){if(E(n)){if(!x(t))throw new TypeError;if(!N(e))throw new TypeError;return function(t,e){for(var n=t.length-1;n>=0;--n){var r=(0,t[n])(e);if(!E(r)&&!w(r)){if(!N(r))throw new TypeError;e=r}}return e}(t,e)}if(!x(t))throw new TypeError;if(!M(e))throw new TypeError;if(!M(r)&&!E(r)&&!w(r))throw new TypeError;return w(r)&&(r=void 0),function(t,e,n,r){for(var i=t.length-1;i>=0;--i){var o=(0,t[i])(e,n,r);if(!E(o)&&!w(o)){if(!M(o))throw new TypeError;r=o}}return r}(t,e,n=P(n),r)})),e("metadata",(function(t,e){return function(n,r){if(!M(n))throw new TypeError;if(!E(r)&&!function(t){switch(T(t)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;g(t,e,n,r)}})),e("defineMetadata",(function(t,e,n,r){if(!M(n))throw new TypeError;return E(r)||(r=P(r)),g(t,e,n,r)})),e("hasMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),function t(e,n,r){if(v(e,n,r))return!0;var i=O(n);return!w(i)&&t(e,i,r)}(t,e,n)})),e("hasOwnMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),v(t,e,n)})),e("getMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),function t(e,n,r){if(v(e,n,r))return m(e,n,r);var i=O(n);return w(i)?void 0:t(e,i,r)}(t,e,n)})),e("getOwnMetadata",(function(t,e,n){if(!M(e))throw new TypeError;return E(n)||(n=P(n)),m(t,e,n)})),e("getMetadataKeys",(function(t,e){if(!M(t))throw new TypeError;return E(e)||(e=P(e)),function t(e,n){var r=b(e,n),i=O(e);if(null===i)return r;var o=t(i,n);if(o.length<=0)return r;if(r.length<=0)return o;for(var a=new p,u=[],s=0,c=r;s<c.length;s++){var l=c[s];a.has(l)||(a.add(l),u.push(l))}for(var h=0,f=o;h<f.length;h++){l=f[h];a.has(l)||(a.add(l),u.push(l))}return u}(t,e)})),e("getOwnMetadataKeys",(function(t,e){if(!M(t))throw new TypeError;return E(e)||(e=P(e)),b(t,e)})),e("deleteMetadata",(function(t,e,n){if(!M(e))throw new TypeError;E(n)||(n=P(n));var r=y(e,n,!1);if(E(r))return!1;if(!r.delete(t))return!1;if(r.size>0)return!0;var i=d.get(e);return i.delete(n),i.size>0||d.delete(e),!0}))}(o)}()}(n||(n={}))}).call(this,n(23),n(13))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MetadataReader=void 0;var r=n(0),i=function(){function t(){}return t.prototype.getConstructorMetadata=function(t){return{compilerGeneratedMetadata:Reflect.getMetadata(r.PARAM_TYPES,t),userGeneratedMetadata:Reflect.getMetadata(r.TAGGED,t)||{}}},t.prototype.getPropertiesMetadata=function(t){return Reflect.getMetadata(r.TAGGED_PROP,t)||[]},t}();e.MetadataReader=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isStackOverflowExeption=void 0;var r=n(2);e.isStackOverflowExeption=function(t){return t instanceof RangeError||t.message===r.STACK_OVERFLOW}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inject=e.LazyServiceIdentifer=void 0;var r=n(2),i=n(0),o=n(3),a=n(5),u=function(){function t(t){this._cb=t}return t.prototype.unwrap=function(){return this._cb()},t}();e.LazyServiceIdentifer=u,e.inject=function(t){return function(e,n,u){if(void 0===t)throw new Error(r.UNDEFINED_INJECT_ANNOTATION(e.name));var s=new o.Metadata(i.INJECT_TAG,t);"number"==typeof u?a.tagParameter(e,n,u,s):a.tagProperty(e,n,s)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Target=void 0;var r=n(0),i=n(7),o=n(3),a=n(31),u=function(){function t(t,e,n,u){this.id=i.id(),this.type=t,this.serviceIdentifier=n,this.name=new a.QueryableString(e||""),this.metadata=new Array;var s=null;"string"==typeof u?s=new o.Metadata(r.NAMED_TAG,u):u instanceof o.Metadata&&(s=u),null!==s&&this.metadata.push(s)}return t.prototype.hasTag=function(t){for(var e=0,n=this.metadata;e<n.length;e++){if(n[e].key===t)return!0}return!1},t.prototype.isArray=function(){return this.hasTag(r.MULTI_INJECT_TAG)},t.prototype.matchesArray=function(t){return this.matchesTag(r.MULTI_INJECT_TAG)(t)},t.prototype.isNamed=function(){return this.hasTag(r.NAMED_TAG)},t.prototype.isTagged=function(){return this.metadata.some((function(t){return r.NON_CUSTOM_TAG_KEYS.every((function(e){return t.key!==e}))}))},t.prototype.isOptional=function(){return this.matchesTag(r.OPTIONAL_TAG)(!0)},t.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter((function(t){return t.key===r.NAMED_TAG}))[0]:null},t.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter((function(t){return r.NON_CUSTOM_TAG_KEYS.every((function(e){return t.key!==e}))})):null},t.prototype.matchesNamedTag=function(t){return this.matchesTag(r.NAMED_TAG)(t)},t.prototype.matchesTag=function(t){var e=this;return function(n){for(var r=0,i=e.metadata;r<i.length;r++){var o=i[r];if(o.key===t&&o.value===n)return!0}return!1}},t}();e.Target=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingWhenOnSyntax=void 0;var r=n(9),i=n(10),o=function(){function t(t){this._binding=t,this._bindingWhenSyntax=new i.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new r.BindingOnSyntax(this._binding)}return t.prototype.when=function(t){return this._bindingWhenSyntax.when(t)},t.prototype.whenTargetNamed=function(t){return this._bindingWhenSyntax.whenTargetNamed(t)},t.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},t.prototype.whenTargetTagged=function(t,e){return this._bindingWhenSyntax.whenTargetTagged(t,e)},t.prototype.whenInjectedInto=function(t){return this._bindingWhenSyntax.whenInjectedInto(t)},t.prototype.whenParentNamed=function(t){return this._bindingWhenSyntax.whenParentNamed(t)},t.prototype.whenParentTagged=function(t,e){return this._bindingWhenSyntax.whenParentTagged(t,e)},t.prototype.whenAnyAncestorIs=function(t){return this._bindingWhenSyntax.whenAnyAncestorIs(t)},t.prototype.whenNoAncestorIs=function(t){return this._bindingWhenSyntax.whenNoAncestorIs(t)},t.prototype.whenAnyAncestorNamed=function(t){return this._bindingWhenSyntax.whenAnyAncestorNamed(t)},t.prototype.whenAnyAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenAnyAncestorTagged(t,e)},t.prototype.whenNoAncestorNamed=function(t){return this._bindingWhenSyntax.whenNoAncestorNamed(t)},t.prototype.whenNoAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenNoAncestorTagged(t,e)},t.prototype.whenAnyAncestorMatches=function(t){return this._bindingWhenSyntax.whenAnyAncestorMatches(t)},t.prototype.whenNoAncestorMatches=function(t){return this._bindingWhenSyntax.whenNoAncestorMatches(t)},t.prototype.onActivation=function(t){return this._bindingOnSyntax.onActivation(t)},t}();e.BindingWhenOnSyntax=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typeConstraint=e.namedConstraint=e.taggedConstraint=e.traverseAncerstors=void 0;var r=n(0),i=n(3),o=function(t,e){var n=t.parentRequest;return null!==n&&(!!e(n)||o(n,e))};e.traverseAncerstors=o;var a=function(t){return function(e){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(t)(e)};return n.metaData=new i.Metadata(t,e),n}};e.taggedConstraint=a;var u=a(r.NAMED_TAG);e.namedConstraint=u;e.typeConstraint=function(t){return function(e){var n=null;if(null!==e){if(n=e.bindings[0],"string"==typeof t)return n.serviceIdentifier===t;var r=e.bindings[0].implementationType;return t===r}return!1}}},,,,function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,c=[],l=!1,h=-1;function f(){l&&s&&(l=!1,s.length?c=s.concat(c):h=-1,c.length&&p())}function p(){if(!l){var t=u(f);l=!0;for(var e=c.length;e;){for(s=c,c=[];++h<e;)s&&s[h].run();h=-1,e=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function y(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new d(t,e)),1!==c.length||l||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}s((r=r.apply(t,e||[])).next())}))},i=this&&this.__generator||function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}},o=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.Container=void 0;var a=n(25),u=n(2),s=n(4),c=n(0),l=n(14),h=n(26),f=n(33),p=n(35),d=n(7),y=n(8),v=n(38),m=n(39),g=function(){function t(t){this._appliedMiddleware=[];var e=t||{};if("object"!=typeof e)throw new Error(""+u.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT);if(void 0===e.defaultScope)e.defaultScope=s.BindingScopeEnum.Transient;else if(e.defaultScope!==s.BindingScopeEnum.Singleton&&e.defaultScope!==s.BindingScopeEnum.Transient&&e.defaultScope!==s.BindingScopeEnum.Request)throw new Error(""+u.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE);if(void 0===e.autoBindInjectable)e.autoBindInjectable=!1;else if("boolean"!=typeof e.autoBindInjectable)throw new Error(""+u.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE);if(void 0===e.skipBaseClassChecks)e.skipBaseClassChecks=!1;else if("boolean"!=typeof e.skipBaseClassChecks)throw new Error(""+u.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK);this.options={autoBindInjectable:e.autoBindInjectable,defaultScope:e.defaultScope,skipBaseClassChecks:e.skipBaseClassChecks},this.id=d.id(),this._bindingDictionary=new m.Lookup,this._snapshots=[],this._middleware=null,this.parent=null,this._metadataReader=new l.MetadataReader}return t.merge=function(e,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var a=new t,u=o([e,n],r).map((function(t){return h.getBindingDictionary(t)})),s=h.getBindingDictionary(a);function c(t,e){t.traverse((function(t,n){n.forEach((function(t){e.add(t.serviceIdentifier,t.clone())}))}))}return u.forEach((function(t){c(t,s)})),a},t.prototype.load=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=this._getContainerModuleHelpersFactory(),r=0,i=t;r<i.length;r++){var o=i[r],a=n(o.id);o.registry(a.bindFunction,a.unbindFunction,a.isboundFunction,a.rebindFunction)}},t.prototype.loadAsync=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r(this,void 0,void 0,(function(){var e,n,r,o,a;return i(this,(function(i){switch(i.label){case 0:e=this._getContainerModuleHelpersFactory(),n=0,r=t,i.label=1;case 1:return n<r.length?(o=r[n],a=e(o.id),[4,o.registry(a.bindFunction,a.unbindFunction,a.isboundFunction,a.rebindFunction)]):[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))},t.prototype.unload=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=function(t){return function(e){return e.moduleId===t}};e.forEach((function(e){var n=r(e.id);t._bindingDictionary.removeByCondition(n)}))},t.prototype.bind=function(t){var e=this.options.defaultScope||s.BindingScopeEnum.Transient,n=new a.Binding(t,e);return this._bindingDictionary.add(t,n),new p.BindingToSyntax(n)},t.prototype.rebind=function(t){return this.unbind(t),this.bind(t)},t.prototype.unbind=function(t){try{this._bindingDictionary.remove(t)}catch(e){throw new Error(u.CANNOT_UNBIND+" "+y.getServiceIdentifierAsString(t))}},t.prototype.unbindAll=function(){this._bindingDictionary=new m.Lookup},t.prototype.isBound=function(t){var e=this._bindingDictionary.hasKey(t);return!e&&this.parent&&(e=this.parent.isBound(t)),e},t.prototype.isBoundNamed=function(t,e){return this.isBoundTagged(t,c.NAMED_TAG,e)},t.prototype.isBoundTagged=function(t,e,n){var r=!1;if(this._bindingDictionary.hasKey(t)){var i=this._bindingDictionary.get(t),o=h.createMockRequest(this,t,e,n);r=i.some((function(t){return t.constraint(o)}))}return!r&&this.parent&&(r=this.parent.isBoundTagged(t,e,n)),r},t.prototype.snapshot=function(){this._snapshots.push(v.ContainerSnapshot.of(this._bindingDictionary.clone(),this._middleware))},t.prototype.restore=function(){var t=this._snapshots.pop();if(void 0===t)throw new Error(u.NO_MORE_SNAPSHOTS_AVAILABLE);this._bindingDictionary=t.bindings,this._middleware=t.middleware},t.prototype.createChild=function(e){var n=new t(e||this.options);return n.parent=this,n},t.prototype.applyMiddleware=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._appliedMiddleware=this._appliedMiddleware.concat(t);var n=this._middleware?this._middleware:this._planAndResolve();this._middleware=t.reduce((function(t,e){return e(t)}),n)},t.prototype.applyCustomMetadataReader=function(t){this._metadataReader=t},t.prototype.get=function(t){return this._get(!1,!1,s.TargetTypeEnum.Variable,t)},t.prototype.getTagged=function(t,e,n){return this._get(!1,!1,s.TargetTypeEnum.Variable,t,e,n)},t.prototype.getNamed=function(t,e){return this.getTagged(t,c.NAMED_TAG,e)},t.prototype.getAll=function(t){return this._get(!0,!0,s.TargetTypeEnum.Variable,t)},t.prototype.getAllTagged=function(t,e,n){return this._get(!1,!0,s.TargetTypeEnum.Variable,t,e,n)},t.prototype.getAllNamed=function(t,e){return this.getAllTagged(t,c.NAMED_TAG,e)},t.prototype.resolve=function(t){var e=this.createChild();return e.bind(t).toSelf(),this._appliedMiddleware.forEach((function(t){e.applyMiddleware(t)})),e.get(t)},t.prototype._getContainerModuleHelpersFactory=function(){var t=this,e=function(t,e){t._binding.moduleId=e},n=function(n){return function(r){var i=t.rebind.bind(t)(r);return e(i,n),i}};return function(r){return{bindFunction:(i=r,function(n){var r=t.bind.bind(t)(n);return e(r,i),r}),isboundFunction:function(e){return t.isBound.bind(t)(e)},rebindFunction:n(r),unbindFunction:function(e){t.unbind.bind(t)(e)}};var i}},t.prototype._get=function(t,e,n,r,i,o){var a=null,s={avoidConstraints:t,contextInterceptor:function(t){return t},isMultiInject:e,key:i,serviceIdentifier:r,targetType:n,value:o};if(this._middleware){if(null==(a=this._middleware(s)))throw new Error(u.INVALID_MIDDLEWARE_RETURN)}else a=this._planAndResolve()(s);return a},t.prototype._planAndResolve=function(){var t=this;return function(e){var n=h.plan(t._metadataReader,t,e.isMultiInject,e.targetType,e.serviceIdentifier,e.key,e.value,e.avoidConstraints);return n=e.contextInterceptor(n),f.resolve(n)}},t}();e.Container=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Binding=void 0;var r=n(4),i=n(7),o=function(){function t(t,e){this.id=i.id(),this.activated=!1,this.serviceIdentifier=t,this.scope=e,this.type=r.BindingTypeEnum.Invalid,this.constraint=function(t){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.dynamicValue=null}return t.prototype.clone=function(){var e=new t(this.serviceIdentifier,this.scope);return e.activated=e.scope===r.BindingScopeEnum.Singleton&&this.activated,e.implementationType=this.implementationType,e.dynamicValue=this.dynamicValue,e.scope=this.scope,e.type=this.type,e.factory=this.factory,e.provider=this.provider,e.constraint=this.constraint,e.onActivation=this.onActivation,e.cache=this.cache,e},t}();e.Binding=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBindingDictionary=e.createMockRequest=e.plan=void 0;var r=n(27),i=n(2),o=n(4),a=n(0),u=n(15),s=n(8),c=n(28),l=n(3),h=n(29),f=n(30),p=n(32),d=n(17);function y(t){return t._bindingDictionary}function v(t,e,n,o,a){var u=m(n.container,a.serviceIdentifier),c=[];return u.length===r.BindingCount.NoBindingsAvailable&&n.container.options.autoBindInjectable&&"function"==typeof a.serviceIdentifier&&t.getConstructorMetadata(a.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(a.serviceIdentifier).toSelf(),u=m(n.container,a.serviceIdentifier)),c=e?u:u.filter((function(t){var e=new p.Request(t.serviceIdentifier,n,o,t,a);return t.constraint(e)})),function(t,e,n,o){switch(e.length){case r.BindingCount.NoBindingsAvailable:if(n.isOptional())return e;var a=s.getServiceIdentifierAsString(t),u=i.NOT_REGISTERED;throw u+=s.listMetadataForTarget(a,n),u+=s.listRegisteredBindingsForServiceIdentifier(o,a,m),new Error(u);case r.BindingCount.OnlyOneBindingAvailable:if(!n.isArray())return e;case r.BindingCount.MultipleBindingsAvailable:default:if(n.isArray())return e;a=s.getServiceIdentifierAsString(t),u=i.AMBIGUOUS_MATCH+" "+a;throw u+=s.listRegisteredBindingsForServiceIdentifier(o,a,m),new Error(u)}}(a.serviceIdentifier,c,a,n.container),c}function m(t,e){var n=[],r=y(t);return r.hasKey(e)?n=r.get(e):null!==t.parent&&(n=m(t.parent,e)),n}e.getBindingDictionary=y,e.plan=function(t,e,n,r,y,m,g,b){void 0===b&&(b=!1);var T=new c.Context(e),E=function(t,e,n,r,i,o){var u=t?a.MULTI_INJECT_TAG:a.INJECT_TAG,s=new l.Metadata(u,n),c=new d.Target(e,r,n,s);if(void 0!==i){var h=new l.Metadata(i,o);c.metadata.push(h)}return c}(n,r,y,"",m,g);try{return function t(e,n,r,a,u,s){var c,l;if(null===u){c=v(e,n,a,null,s),l=new p.Request(r,a,null,c,s);var d=new h.Plan(a,l);a.addPlan(d)}else c=v(e,n,a,u,s),l=u.addChildRequest(s.serviceIdentifier,c,s);c.forEach((function(n){var r=null;if(s.isArray())r=l.addChildRequest(n.serviceIdentifier,n,s);else{if(n.cache)return;r=l}if(n.type===o.BindingTypeEnum.Instance&&null!==n.implementationType){var u=f.getDependencies(e,n.implementationType);if(!a.container.options.skipBaseClassChecks){var c=f.getBaseClassDependencyCount(e,n.implementationType);if(u.length<c){var h=i.ARGUMENTS_LENGTH_MISMATCH(f.getFunctionName(n.implementationType));throw new Error(h)}}u.forEach((function(n){t(e,!1,n.serviceIdentifier,a,r,n)}))}}))}(t,b,y,T,null,E),T}catch(t){throw u.isStackOverflowExeption(t)&&T.plan&&s.circularDependencyToException(T.plan.rootRequest),t}},e.createMockRequest=function(t,e,n,r){var i=new d.Target(o.TargetTypeEnum.Variable,"",e,new l.Metadata(n,r)),a=new c.Context(t);return new p.Request(e,a,null,[],i)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingCount=void 0;e.BindingCount={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Context=void 0;var r=n(7),i=function(){function t(t){this.id=r.id(),this.container=t}return t.prototype.addPlan=function(t){this.plan=t},t.prototype.setCurrentRequest=function(t){this.currentRequest=t},t}();e.Context=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Plan=void 0;var r=function(t,e){this.parentContext=t,this.rootRequest=e};e.Plan=r},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.getFunctionName=e.getBaseClassDependencyCount=e.getDependencies=void 0;var i=n(16),o=n(2),a=n(4),u=n(0),s=n(8);Object.defineProperty(e,"getFunctionName",{enumerable:!0,get:function(){return s.getFunctionName}});var c=n(17);function l(t,e,n,i){var u=t.getConstructorMetadata(n),s=u.compilerGeneratedMetadata;if(void 0===s){var l=o.MISSING_INJECTABLE_ANNOTATION+" "+e+".";throw new Error(l)}var p=u.userGeneratedMetadata,d=Object.keys(p),y=0===n.length&&d.length>0,v=d.length>n.length,m=function(t,e,n,r,i){for(var o=[],a=0;a<i;a++){var u=h(a,t,e,n,r);null!==u&&o.push(u)}return o}(i,e,s,p,y||v?d.length:n.length),g=function t(e,n){for(var i=e.getPropertiesMetadata(n),o=[],u=Object.keys(i),s=0,l=u;s<l.length;s++){var h=l[s],p=i[h],d=f(i[h]),y=d.targetName||h,v=d.inject||d.multiInject,m=new c.Target(a.TargetTypeEnum.ClassProperty,y,v);m.metadata=p,o.push(m)}var g=Object.getPrototypeOf(n.prototype).constructor;if(g!==Object){var b=t(e,g);o=r(r([],o),b)}return o}(t,n);return r(r([],m),g)}function h(t,e,n,r,u){var s=u[t.toString()]||[],l=f(s),h=!0!==l.unmanaged,p=r[t],d=l.inject||l.multiInject;if((p=d||p)instanceof i.LazyServiceIdentifer&&(p=p.unwrap()),h){if(!e&&(p===Object||p===Function||void 0===p)){var y=o.MISSING_INJECT_ANNOTATION+" argument "+t+" in class "+n+".";throw new Error(y)}var v=new c.Target(a.TargetTypeEnum.ConstructorArgument,l.targetName,p);return v.metadata=s,v}return null}function f(t){var e={};return t.forEach((function(t){e[t.key.toString()]=t.value})),{inject:e[u.INJECT_TAG],multiInject:e[u.MULTI_INJECT_TAG],targetName:e[u.NAME_TAG],unmanaged:e[u.UNMANAGED_TAG]}}e.getDependencies=function(t,e){return l(t,s.getFunctionName(e),e,!1)},e.getBaseClassDependencyCount=function t(e,n){var r=Object.getPrototypeOf(n.prototype).constructor;if(r!==Object){var i=l(e,s.getFunctionName(r),r,!0),o=i.map((function(t){return t.metadata.filter((function(t){return t.key===u.UNMANAGED_TAG}))})),a=[].concat.apply([],o).length,c=i.length-a;return c>0?c:t(e,r)}return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QueryableString=void 0;var r=function(){function t(t){this.str=t}return t.prototype.startsWith=function(t){return 0===this.str.indexOf(t)},t.prototype.endsWith=function(t){var e,n=t.split("").reverse().join("");return e=this.str.split("").reverse().join(""),this.startsWith.call({str:e},n)},t.prototype.contains=function(t){return-1!==this.str.indexOf(t)},t.prototype.equals=function(t){return this.str===t},t.prototype.value=function(){return this.str},t}();e.QueryableString=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Request=void 0;var r=n(7),i=function(){function t(t,e,n,i,o){this.id=r.id(),this.serviceIdentifier=t,this.parentContext=e,this.parentRequest=n,this.target=o,this.childRequests=[],this.bindings=Array.isArray(i)?i:[i],this.requestScope=null===n?new Map:null}return t.prototype.addChildRequest=function(e,n,r){var i=new t(e,this.parentContext,this,n,r);return this.childRequests.push(i),i},t}();e.Request=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolve=void 0;var r=n(2),i=n(4),o=n(15),a=n(8),u=n(34),s=function(t,e,n){try{return n()}catch(n){throw o.isStackOverflowExeption(n)?new Error(r.CIRCULAR_DEPENDENCY_IN_FACTORY(t,e.toString())):n}},c=function(t){return function(e){e.parentContext.setCurrentRequest(e);var n=e.bindings,o=e.childRequests,l=e.target&&e.target.isArray(),h=!(e.parentRequest&&e.parentRequest.target&&e.target&&e.parentRequest.target.matchesArray(e.target.serviceIdentifier));if(l&&h)return o.map((function(e){return c(t)(e)}));var f=null;if(!e.target.isOptional()||0!==n.length){var p=n[0],d=p.scope===i.BindingScopeEnum.Singleton,y=p.scope===i.BindingScopeEnum.Request;if(d&&p.activated)return p.cache;if(y&&null!==t&&t.has(p.id))return t.get(p.id);if(p.type===i.BindingTypeEnum.ConstantValue)f=p.cache,p.activated=!0;else if(p.type===i.BindingTypeEnum.Function)f=p.cache,p.activated=!0;else if(p.type===i.BindingTypeEnum.Constructor)f=p.implementationType;else if(p.type===i.BindingTypeEnum.DynamicValue&&null!==p.dynamicValue)f=s("toDynamicValue",p.serviceIdentifier,(function(){return p.dynamicValue(e.parentContext)}));else if(p.type===i.BindingTypeEnum.Factory&&null!==p.factory)f=s("toFactory",p.serviceIdentifier,(function(){return p.factory(e.parentContext)}));else if(p.type===i.BindingTypeEnum.Provider&&null!==p.provider)f=s("toProvider",p.serviceIdentifier,(function(){return p.provider(e.parentContext)}));else{if(p.type!==i.BindingTypeEnum.Instance||null===p.implementationType){var v=a.getServiceIdentifierAsString(e.serviceIdentifier);throw new Error(r.INVALID_BINDING_TYPE+" "+v)}f=u.resolveInstance(p.implementationType,o,c(t))}return"function"==typeof p.onActivation&&(f=p.onActivation(e.parentContext,f)),d&&(p.cache=f,p.activated=!0),y&&null!==t&&!t.has(p.id)&&t.set(p.id,f),f}}};e.resolve=function(t){return c(t.plan.rootRequest.requestScope)(t.plan.rootRequest)}},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.resolveInstance=void 0;var i=n(2),o=n(4),a=n(0);e.resolveInstance=function(t,e,n){var u,s,c=null;if(e.length>0){var l=e.filter((function(t){return null!==t.target&&t.target.type===o.TargetTypeEnum.ConstructorArgument})).map(n);s=l,c=function(t,e,n){var r=e.filter((function(t){return null!==t.target&&t.target.type===o.TargetTypeEnum.ClassProperty})),i=r.map(n);return r.forEach((function(e,n){var r;r=e.target.name.value();var o=i[n];t[r]=o})),t}(c=new((u=t).bind.apply(u,r([void 0],s))),e,n)}else c=new t;return function(t,e){if(Reflect.hasMetadata(a.POST_CONSTRUCT,t)){var n=Reflect.getMetadata(a.POST_CONSTRUCT,t);try{e[n.value]()}catch(e){throw new Error(i.POST_CONSTRUCT_ERROR(t.name,e.message))}}}(t,c),c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingToSyntax=void 0;var r=n(2),i=n(4),o=n(36),a=n(18),u=function(){function t(t){this._binding=t}return t.prototype.to=function(t){return this._binding.type=i.BindingTypeEnum.Instance,this._binding.implementationType=t,new o.BindingInWhenOnSyntax(this._binding)},t.prototype.toSelf=function(){if("function"!=typeof this._binding.serviceIdentifier)throw new Error(""+r.INVALID_TO_SELF_VALUE);var t=this._binding.serviceIdentifier;return this.to(t)},t.prototype.toConstantValue=function(t){return this._binding.type=i.BindingTypeEnum.ConstantValue,this._binding.cache=t,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toDynamicValue=function(t){return this._binding.type=i.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=t,this._binding.implementationType=null,new o.BindingInWhenOnSyntax(this._binding)},t.prototype.toConstructor=function(t){return this._binding.type=i.BindingTypeEnum.Constructor,this._binding.implementationType=t,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toFactory=function(t){return this._binding.type=i.BindingTypeEnum.Factory,this._binding.factory=t,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toFunction=function(t){if("function"!=typeof t)throw new Error(r.INVALID_FUNCTION_BINDING);var e=this.toConstantValue(t);return this._binding.type=i.BindingTypeEnum.Function,this._binding.scope=i.BindingScopeEnum.Singleton,e},t.prototype.toAutoFactory=function(t){return this._binding.type=i.BindingTypeEnum.Factory,this._binding.factory=function(e){return function(){return e.container.get(t)}},this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toProvider=function(t){return this._binding.type=i.BindingTypeEnum.Provider,this._binding.provider=t,this._binding.scope=i.BindingScopeEnum.Singleton,new a.BindingWhenOnSyntax(this._binding)},t.prototype.toService=function(t){this.toDynamicValue((function(e){return e.container.get(t)}))},t}();e.BindingToSyntax=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingInWhenOnSyntax=void 0;var r=n(37),i=n(9),o=n(10),a=function(){function t(t){this._binding=t,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new i.BindingOnSyntax(this._binding),this._bindingInSyntax=new r.BindingInSyntax(t)}return t.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},t.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},t.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},t.prototype.when=function(t){return this._bindingWhenSyntax.when(t)},t.prototype.whenTargetNamed=function(t){return this._bindingWhenSyntax.whenTargetNamed(t)},t.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},t.prototype.whenTargetTagged=function(t,e){return this._bindingWhenSyntax.whenTargetTagged(t,e)},t.prototype.whenInjectedInto=function(t){return this._bindingWhenSyntax.whenInjectedInto(t)},t.prototype.whenParentNamed=function(t){return this._bindingWhenSyntax.whenParentNamed(t)},t.prototype.whenParentTagged=function(t,e){return this._bindingWhenSyntax.whenParentTagged(t,e)},t.prototype.whenAnyAncestorIs=function(t){return this._bindingWhenSyntax.whenAnyAncestorIs(t)},t.prototype.whenNoAncestorIs=function(t){return this._bindingWhenSyntax.whenNoAncestorIs(t)},t.prototype.whenAnyAncestorNamed=function(t){return this._bindingWhenSyntax.whenAnyAncestorNamed(t)},t.prototype.whenAnyAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenAnyAncestorTagged(t,e)},t.prototype.whenNoAncestorNamed=function(t){return this._bindingWhenSyntax.whenNoAncestorNamed(t)},t.prototype.whenNoAncestorTagged=function(t,e){return this._bindingWhenSyntax.whenNoAncestorTagged(t,e)},t.prototype.whenAnyAncestorMatches=function(t){return this._bindingWhenSyntax.whenAnyAncestorMatches(t)},t.prototype.whenNoAncestorMatches=function(t){return this._bindingWhenSyntax.whenNoAncestorMatches(t)},t.prototype.onActivation=function(t){return this._bindingOnSyntax.onActivation(t)},t}();e.BindingInWhenOnSyntax=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingInSyntax=void 0;var r=n(4),i=n(18),o=function(){function t(t){this._binding=t}return t.prototype.inRequestScope=function(){return this._binding.scope=r.BindingScopeEnum.Request,new i.BindingWhenOnSyntax(this._binding)},t.prototype.inSingletonScope=function(){return this._binding.scope=r.BindingScopeEnum.Singleton,new i.BindingWhenOnSyntax(this._binding)},t.prototype.inTransientScope=function(){return this._binding.scope=r.BindingScopeEnum.Transient,new i.BindingWhenOnSyntax(this._binding)},t}();e.BindingInSyntax=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContainerSnapshot=void 0;var r=function(){function t(){}return t.of=function(e,n){var r=new t;return r.bindings=e,r.middleware=n,r},t}();e.ContainerSnapshot=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lookup=void 0;var r=n(2),i=function(){function t(){this._map=new Map}return t.prototype.getMap=function(){return this._map},t.prototype.add=function(t,e){if(null==t)throw new Error(r.NULL_ARGUMENT);if(null==e)throw new Error(r.NULL_ARGUMENT);var n=this._map.get(t);void 0!==n?(n.push(e),this._map.set(t,n)):this._map.set(t,[e])},t.prototype.get=function(t){if(null==t)throw new Error(r.NULL_ARGUMENT);var e=this._map.get(t);if(void 0!==e)return e;throw new Error(r.KEY_NOT_FOUND)},t.prototype.remove=function(t){if(null==t)throw new Error(r.NULL_ARGUMENT);if(!this._map.delete(t))throw new Error(r.KEY_NOT_FOUND)},t.prototype.removeByCondition=function(t){var e=this;this._map.forEach((function(n,r){var i=n.filter((function(e){return!t(e)}));i.length>0?e._map.set(r,i):e._map.delete(r)}))},t.prototype.hasKey=function(t){if(null==t)throw new Error(r.NULL_ARGUMENT);return this._map.has(t)},t.prototype.clone=function(){var e=new t;return this._map.forEach((function(t,n){t.forEach((function(t){return e.add(n,t.clone())}))})),e},t.prototype.traverse=function(t){this._map.forEach((function(e,n){t(n,e)}))},t}();e.Lookup=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AsyncContainerModule=e.ContainerModule=void 0;var r=n(7),i=function(t){this.id=r.id(),this.registry=t};e.ContainerModule=i;var o=function(t){this.id=r.id(),this.registry=t};e.AsyncContainerModule=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.injectable=void 0;var r=n(2),i=n(0);e.injectable=function(){return function(t){if(Reflect.hasOwnMetadata(i.PARAM_TYPES,t))throw new Error(r.DUPLICATED_INJECTABLE_DECORATOR);var e=Reflect.getMetadata(i.DESIGN_PARAM_TYPES,t)||[];return Reflect.defineMetadata(i.PARAM_TYPES,e,t),t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tagged=void 0;var r=n(3),i=n(5);e.tagged=function(t,e){return function(n,o,a){var u=new r.Metadata(t,e);"number"==typeof a?i.tagParameter(n,o,a,u):i.tagProperty(n,o,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.named=void 0;var r=n(0),i=n(3),o=n(5);e.named=function(t){return function(e,n,a){var u=new i.Metadata(r.NAMED_TAG,t);"number"==typeof a?o.tagParameter(e,n,a,u):o.tagProperty(e,n,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.optional=void 0;var r=n(0),i=n(3),o=n(5);e.optional=function(){return function(t,e,n){var a=new i.Metadata(r.OPTIONAL_TAG,!0);"number"==typeof n?o.tagParameter(t,e,n,a):o.tagProperty(t,e,a)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unmanaged=void 0;var r=n(0),i=n(3),o=n(5);e.unmanaged=function(){return function(t,e,n){var a=new i.Metadata(r.UNMANAGED_TAG,!0);o.tagParameter(t,e,n,a)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.multiInject=void 0;var r=n(0),i=n(3),o=n(5);e.multiInject=function(t){return function(e,n,a){var u=new i.Metadata(r.MULTI_INJECT_TAG,t);"number"==typeof a?o.tagParameter(e,n,a,u):o.tagProperty(e,n,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.targetName=void 0;var r=n(0),i=n(3),o=n(5);e.targetName=function(t){return function(e,n,a){var u=new i.Metadata(r.NAME_TAG,t);o.tagParameter(e,n,a,u)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.postConstruct=void 0;var r=n(2),i=n(0),o=n(3);e.postConstruct=function(){return function(t,e,n){var a=new o.Metadata(i.POST_CONSTRUCT,e);if(Reflect.hasOwnMetadata(i.POST_CONSTRUCT,t.constructor))throw new Error(r.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(i.POST_CONSTRUCT,a,t.constructor)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.multiBindToService=void 0;e.multiBindToService=function(t){return function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.forEach((function(n){return t.bind(n).toService(e)}))}}}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){"use strict";n.r(e),n.d(e,"ManaSyringe",(function(){return r})),n.d(e,"Shape",(function(){return Cs})),n.d(e,"LineCap",(function(){return _s})),n.d(e,"LineJoin",(function(){return Os})),n.d(e,"TextTransform",(function(){return Is})),n.d(e,"TextAlign",(function(){return Rs})),n.d(e,"CanvasConfig",(function(){return Ds})),n.d(e,"UnitType",(function(){return Bo})),n.d(e,"UnitCategory",(function(){return jo})),n.d(e,"ValueRange",(function(){return Fo})),n.d(e,"Nested",(function(){return Uo})),n.d(e,"ParenLess",(function(){return Go})),n.d(e,"CSSColorValue",(function(){return Ta})),n.d(e,"CSSKeywordValue",(function(){return Ea})),n.d(e,"CSSMathOperator",(function(){return ma})),n.d(e,"isComparison",(function(){return wa})),n.d(e,"BaseType",(function(){return ga})),n.d(e,"unitTypeToBaseType",(function(){return Ma})),n.d(e,"baseTypeToString",(function(){return ka})),n.d(e,"CSSNumericValueType",(function(){return Pa})),n.d(e,"CSSNumericValue",(function(){return xa})),n.d(e,"CSSUnitValue",(function(){return Oa})),n.d(e,"CSSMathValue",(function(){return Ia})),n.d(e,"CSSMathInvert",(function(){return Ra})),n.d(e,"CSSMathNegate",(function(){return Da})),n.d(e,"typeCheck",(function(){return La})),n.d(e,"CSSMathVariadic",(function(){return Ba})),n.d(e,"CSSMathMin",(function(){return ja})),n.d(e,"CSSMathMax",(function(){return Fa})),n.d(e,"CSSMathSum",(function(){return Ua})),n.d(e,"CSSMathProduct",(function(){return Ga})),n.d(e,"CSSRGB",(function(){return za})),n.d(e,"GradientPatternType",(function(){return Va})),n.d(e,"CSSGradientValue",(function(){return Wa})),n.d(e,"CSSStyleValueType",(function(){return ya})),n.d(e,"CSSStyleValue",(function(){return ba})),n.d(e,"CSSTransformValue",(function(){return Ha})),n.d(e,"CSSTranslate",(function(){return Ya})),n.d(e,"parseColor",(function(){return xu})),n.d(e,"mergeColors",(function(){return Su})),n.d(e,"parseDimension",(function(){return Nu})),n.d(e,"parseLength",(function(){return Au})),n.d(e,"parserPercentage",(function(){return Cu})),n.d(e,"parseLengthOrPercentage",(function(){return _u})),n.d(e,"parseAngle",(function(){return Ou})),n.d(e,"mergeDimensions",(function(){return Iu})),n.d(e,"convertAngleUnit",(function(){return Ru})),n.d(e,"parseDimensionArray",(function(){return Du})),n.d(e,"mergeDimensionList",(function(){return Lu})),n.d(e,"convertPercentUnit",(function(){return Vu})),n.d(e,"numberToString",(function(){return Bu})),n.d(e,"parseNumber",(function(){return ju})),n.d(e,"parseNumberList",(function(){return Fu})),n.d(e,"mergeNumbers",(function(){return Uu})),n.d(e,"clampedMergeNumbers",(function(){return Gu})),n.d(e,"mergeNumberLists",(function(){return zu})),n.d(e,"parsePath",(function(){return Ys})),n.d(e,"mergePaths",(function(){return Xs})),n.d(e,"parsePoints",(function(){return Zs})),n.d(e,"parseParam",(function(){return Js})),n.d(e,"parseFilter",(function(){return $s})),n.d(e,"Opx",(function(){return ec})),n.d(e,"Odeg",(function(){return nc})),n.d(e,"parseTransform",(function(){return ac})),n.d(e,"mergeTransforms",(function(){return cc})),n.d(e,"parseTransformOrigin",(function(){return lc})),n.d(e,"CSSPropertyLengthOrPercentage",(function(){return pc})),n.d(e,"CSSPropertyLocalPosition",(function(){return dc})),n.d(e,"CSSPropertyOpacity",(function(){return yc})),n.d(e,"CSSPropertyColor",(function(){return vc})),n.d(e,"CSSPropertyFilter",(function(){return mc})),n.d(e,"CSSPropertyLineDash",(function(){return gc})),n.d(e,"CSSPropertyShadowBlur",(function(){return bc})),n.d(e,"CSSPropertyOffsetPath",(function(){return Tc})),n.d(e,"CSSPropertyOffsetDistance",(function(){return Ec})),n.d(e,"CSSPropertyAnchor",(function(){return wc})),n.d(e,"CSSPropertyZIndex",(function(){return Mc})),n.d(e,"CSSPropertyTransform",(function(){return kc})),n.d(e,"CSSPropertyTransformOrigin",(function(){return Pc})),n.d(e,"CSSPropertyPath",(function(){return xc})),n.d(e,"CSSPropertyPoints",(function(){return Sc})),n.d(e,"CSSPropertyClipPath",(function(){return Nc})),n.d(e,"CSSPropertyText",(function(){return Ac})),n.d(e,"CSSPropertyTextTransform",(function(){return Cc})),n.d(e,"CSS",(function(){return bh})),n.d(e,"LayoutRegistry",(function(){return Th})),n.d(e,"PropertySyntax",(function(){return vh})),n.d(e,"BUILT_IN_PROPERTIES",(function(){return mh})),n.d(e,"StyleValueRegistry",(function(){return gh})),n.d(e,"ElementEvent",(function(){return ko})),n.d(e,"DELEGATION_SPLITTER",(function(){return Oc})),n.d(e,"EventTarget",(function(){return Ic})),n.d(e,"Node",(function(){return Rc})),n.d(e,"Element",(function(){return Uc})),n.d(e,"Document",(function(){return eh})),n.d(e,"FederatedEvent",(function(){return zo})),n.d(e,"FederatedMouseEvent",(function(){return nh})),n.d(e,"FederatedPointerEvent",(function(){return rh})),n.d(e,"FederatedWheelEvent",(function(){return ih})),n.d(e,"Animation",(function(){return qc})),n.d(e,"AnimationEvent",(function(){return Gc})),n.d(e,"AnimationEffectTiming",(function(){return _l})),n.d(e,"CustomEvent",(function(){return _c})),n.d(e,"MutationEvent",(function(){return qo})),n.d(e,"Registration",(function(){return sh})),n.d(e,"MutationObserver",(function(){return ch})),n.d(e,"MutationRecord",(function(){return oh})),n.d(e,"makeTiming",(function(){return Dl})),n.d(e,"normalizeTimingInput",(function(){return Ll})),n.d(e,"numericTimingToObject",(function(){return Vl})),n.d(e,"KeyframeEffect",(function(){return Fl})),n.d(e,"normalizeKeyframes",(function(){return Ol})),n.d(e,"compareAnimations",(function(){return Wc})),n.d(e,"AnimationTimeline",(function(){return Hc})),n.d(e,"CustomElementRegistry",(function(){return yh})),n.d(e,"DefaultCamera",(function(){return wf})),n.d(e,"CameraType",(function(){return Jh})),n.d(e,"CameraTrackingMode",(function(){return Qh})),n.d(e,"CameraProjectionMode",(function(){return $h})),n.d(e,"CameraEvent",(function(){return kf})),n.d(e,"Camera",(function(){return Sf})),n.d(e,"DisplayObject",(function(){return Gl})),n.d(e,"CustomElement",(function(){return zl})),n.d(e,"Circle",(function(){return ql})),n.d(e,"Ellipse",(function(){return Wl})),n.d(e,"Group",(function(){return Hl})),n.d(e,"Image",(function(){return Yl})),n.d(e,"Line",(function(){return Kl})),n.d(e,"Path",(function(){return Xl})),n.d(e,"Polygon",(function(){return Zl})),n.d(e,"Polyline",(function(){return Jl})),n.d(e,"Rect",(function(){return Ql})),n.d(e,"Text",(function(){return $l})),n.d(e,"HTML",(function(){return th})),n.d(e,"Geometry",(function(){return Dc})),n.d(e,"Renderable",(function(){return Lc})),n.d(e,"Transform",(function(){return Vc})),n.d(e,"Strategy",(function(){return fc})),n.d(e,"Cullable",(function(){return Bc})),n.d(e,"Sortable",(function(){return jc})),n.d(e,"AbstractRenderer",(function(){return Nf})),n.d(e,"CanvasEvent",(function(){return Mf})),n.d(e,"Canvas",(function(){return Bf})),n.d(e,"DisplayObjectPool",(function(){return Tt})),n.d(e,"sortByZIndex",(function(){return Wh})),n.d(e,"dirtifyToRoot",(function(){return Hh})),n.d(e,"SceneGraphService",(function(){return Kh})),n.d(e,"DefaultSceneGraphService",(function(){return Xh})),n.d(e,"ContextService",(function(){return Zh})),n.d(e,"RenderReason",(function(){return Yh})),n.d(e,"RenderingContext",(function(){return tf})),n.d(e,"RenderingPluginContribution",(function(){return ef})),n.d(e,"RenderingService",(function(){return nf})),n.d(e,"EventService",(function(){return of})),n.d(e,"SceneGraphSelectorFactory",(function(){return Ro})),n.d(e,"SceneGraphSelector",(function(){return Do})),n.d(e,"DefaultSceneGraphSelector",(function(){return Vo})),n.d(e,"TextService",(function(){return hf})),n.d(e,"OffscreenCanvasCreator",(function(){return af})),n.d(e,"GeometryUpdaterFactory",(function(){return ff})),n.d(e,"GeometryAABBUpdater",(function(){return pf})),n.d(e,"CircleUpdater",(function(){return df})),n.d(e,"EllipseUpdater",(function(){return yf})),n.d(e,"RectUpdater",(function(){return vf})),n.d(e,"TextUpdater",(function(){return mf})),n.d(e,"LineUpdater",(function(){return gf})),n.d(e,"PolylineUpdater",(function(){return bf})),n.d(e,"PathUpdater",(function(){return Tf})),n.d(e,"AABB",(function(){return To})),n.d(e,"BoundingSphere",(function(){return wo})),n.d(e,"Mask",(function(){return lo})),n.d(e,"Frustum",(function(){return Po})),n.d(e,"Plane",(function(){return Mo})),n.d(e,"Ray",(function(){return _o})),n.d(e,"Point",(function(){return Oo})),n.d(e,"Rectangle",(function(){return Io})),n.d(e,"DCHECK",(function(){return Wo})),n.d(e,"DCHECK_EQ",(function(){return Ho})),n.d(e,"DCHECK_NE",(function(){return Yo})),n.d(e,"isUndefined",(function(){return Ko})),n.d(e,"isNil",(function(){return Xo})),n.d(e,"isNumber",(function(){return Zo})),n.d(e,"isFunction",(function(){return Jo})),n.d(e,"isBoolean",(function(){return Qo})),n.d(e,"isObject",(function(){return $o})),n.d(e,"clamp",(function(){return ta})),n.d(e,"getAngle",(function(){return ea})),n.d(e,"createVec3",(function(){return na})),n.d(e,"deg2rad",(function(){return ra})),n.d(e,"rad2deg",(function(){return ia})),n.d(e,"grad2deg",(function(){return oa})),n.d(e,"deg2turn",(function(){return aa})),n.d(e,"turn2deg",(function(){return ua})),n.d(e,"getScaling",(function(){return sa})),n.d(e,"getTranslation",(function(){return ca})),n.d(e,"getRotationInRadians",(function(){return la})),n.d(e,"getEuler",(function(){return ha})),n.d(e,"fromRotationTranslationScale",(function(){return fa})),n.d(e,"makePerspective",(function(){return pa})),n.d(e,"decompose",(function(){return da})),n.d(e,"convertEffectInput",(function(){return Mh})),n.d(e,"formatAttribute",(function(){return Nh})),n.d(e,"equalizeSegments",(function(){return Bs})),n.d(e,"getDrawDirection",(function(){return js})),n.d(e,"getPathArea",(function(){return Us})),n.d(e,"reverseCurve",(function(){return Gs})),n.d(e,"clonePath",(function(){return zs})),n.d(e,"getRotatedCurve",(function(){return qs})),n.d(e,"convertToPath",(function(){return Hs})),n.d(e,"toFontString",(function(){return Ch})),n.d(e,"camelCase",(function(){return Eh})),n.d(e,"isString",(function(){return wh})),n.d(e,"MOUSE_POINTER_ID",(function(){return _h})),n.d(e,"TOUCH_TO_POINTER",(function(){return Oh})),n.d(e,"cleanExistedCanvas",(function(){return Dh})),n.d(e,"isBrowser",(function(){return Lh})),n.d(e,"Hook",(function(){return Bh})),n.d(e,"SyncTapHook",(function(){return jh})),n.d(e,"AsyncTapHook",(function(){return Fh})),n.d(e,"SyncHook",(function(){return Uh})),n.d(e,"SyncWaterfallHook",(function(){return Gh})),n.d(e,"AsyncParallelHook",(function(){return zh})),n.d(e,"AsyncSeriesWaterfallHook",(function(){return qh}));var r={};n.r(r),n.d(r,"injectable",(function(){return N})),n.d(r,"singleton",(function(){return A})),n.d(r,"transient",(function(){return C})),n.d(r,"inject",(function(){return _})),n.d(r,"named",(function(){return O})),n.d(r,"postConstruct",(function(){return f.postConstruct})),n.d(r,"optional",(function(){return f.optional})),n.d(r,"unmanaged",(function(){return f.unmanaged})),n.d(r,"decorate",(function(){return f.decorate})),n.d(r,"Container",(function(){return it})),n.d(r,"GlobalContainer",(function(){return ot})),n.d(r,"register",(function(){return at})),n.d(r,"SyringeModule",(function(){return J})),n.d(r,"isSyringeModule",(function(){return Q})),n.d(r,"Module",(function(){return $})),n.d(r,"Provider",(function(){return F})),n.d(r,"DefaultContributionProvider",(function(){return Y})),n.d(r,"contrib",(function(){return ut})),n.d(r,"Contribution",(function(){return et})),n.d(r,"Syringe",(function(){return l})),n.d(r,"Utils",(function(){return h})),n.d(r,"OptionSymbol",(function(){return I})),n.d(r,"registerSideOption",(function(){return R}));var i={};n.r(i),n.d(i,"create",(function(){return kt})),n.d(i,"fromMat4",(function(){return Pt})),n.d(i,"clone",(function(){return xt})),n.d(i,"copy",(function(){return St})),n.d(i,"fromValues",(function(){return Nt})),n.d(i,"set",(function(){return At})),n.d(i,"identity",(function(){return Ct})),n.d(i,"transpose",(function(){return _t})),n.d(i,"invert",(function(){return Ot})),n.d(i,"adjoint",(function(){return It})),n.d(i,"determinant",(function(){return Rt})),n.d(i,"multiply",(function(){return Dt})),n.d(i,"translate",(function(){return Lt})),n.d(i,"rotate",(function(){return Vt})),n.d(i,"scale",(function(){return Bt})),n.d(i,"fromTranslation",(function(){return jt})),n.d(i,"fromRotation",(function(){return Ft})),n.d(i,"fromScaling",(function(){return Ut})),n.d(i,"fromMat2d",(function(){return Gt})),n.d(i,"fromQuat",(function(){return zt})),n.d(i,"normalFromMat4",(function(){return qt})),n.d(i,"projection",(function(){return Wt})),n.d(i,"str",(function(){return Ht})),n.d(i,"frob",(function(){return Yt})),n.d(i,"add",(function(){return Kt})),n.d(i,"subtract",(function(){return Xt})),n.d(i,"multiplyScalar",(function(){return Zt})),n.d(i,"multiplyScalarAndAdd",(function(){return Jt})),n.d(i,"exactEquals",(function(){return Qt})),n.d(i,"equals",(function(){return $t})),n.d(i,"mul",(function(){return te})),n.d(i,"sub",(function(){return ee}));var o={};n.r(o),n.d(o,"create",(function(){return ne})),n.d(o,"clone",(function(){return re})),n.d(o,"copy",(function(){return ie})),n.d(o,"fromValues",(function(){return oe})),n.d(o,"set",(function(){return ae})),n.d(o,"identity",(function(){return ue})),n.d(o,"transpose",(function(){return se})),n.d(o,"invert",(function(){return ce})),n.d(o,"adjoint",(function(){return le})),n.d(o,"determinant",(function(){return he})),n.d(o,"multiply",(function(){return fe})),n.d(o,"translate",(function(){return pe})),n.d(o,"scale",(function(){return de})),n.d(o,"rotate",(function(){return ye})),n.d(o,"rotateX",(function(){return ve})),n.d(o,"rotateY",(function(){return me})),n.d(o,"rotateZ",(function(){return ge})),n.d(o,"fromTranslation",(function(){return be})),n.d(o,"fromScaling",(function(){return Te})),n.d(o,"fromRotation",(function(){return Ee})),n.d(o,"fromXRotation",(function(){return we})),n.d(o,"fromYRotation",(function(){return Me})),n.d(o,"fromZRotation",(function(){return ke})),n.d(o,"fromRotationTranslation",(function(){return Pe})),n.d(o,"fromQuat2",(function(){return xe})),n.d(o,"getTranslation",(function(){return Se})),n.d(o,"getScaling",(function(){return Ne})),n.d(o,"getRotation",(function(){return Ae})),n.d(o,"fromRotationTranslationScale",(function(){return Ce})),n.d(o,"fromRotationTranslationScaleOrigin",(function(){return _e})),n.d(o,"fromQuat",(function(){return Oe})),n.d(o,"frustum",(function(){return Ie})),n.d(o,"perspectiveNO",(function(){return Re})),n.d(o,"perspective",(function(){return De})),n.d(o,"perspectiveZO",(function(){return Le})),n.d(o,"perspectiveFromFieldOfView",(function(){return Ve})),n.d(o,"orthoNO",(function(){return Be})),n.d(o,"ortho",(function(){return je})),n.d(o,"orthoZO",(function(){return Fe})),n.d(o,"lookAt",(function(){return Ue})),n.d(o,"targetTo",(function(){return Ge})),n.d(o,"str",(function(){return ze})),n.d(o,"frob",(function(){return qe})),n.d(o,"add",(function(){return We})),n.d(o,"subtract",(function(){return He})),n.d(o,"multiplyScalar",(function(){return Ye})),n.d(o,"multiplyScalarAndAdd",(function(){return Ke})),n.d(o,"exactEquals",(function(){return Xe})),n.d(o,"equals",(function(){return Ze})),n.d(o,"mul",(function(){return Je})),n.d(o,"sub",(function(){return Qe}));var a={};n.r(a),n.d(a,"create",(function(){return $e})),n.d(a,"clone",(function(){return tn})),n.d(a,"length",(function(){return en})),n.d(a,"fromValues",(function(){return nn})),n.d(a,"copy",(function(){return rn})),n.d(a,"set",(function(){return on})),n.d(a,"add",(function(){return an})),n.d(a,"subtract",(function(){return un})),n.d(a,"multiply",(function(){return sn})),n.d(a,"divide",(function(){return cn})),n.d(a,"ceil",(function(){return ln})),n.d(a,"floor",(function(){return hn})),n.d(a,"min",(function(){return fn})),n.d(a,"max",(function(){return pn})),n.d(a,"round",(function(){return dn})),n.d(a,"scale",(function(){return yn})),n.d(a,"scaleAndAdd",(function(){return vn})),n.d(a,"distance",(function(){return mn})),n.d(a,"squaredDistance",(function(){return gn})),n.d(a,"squaredLength",(function(){return bn})),n.d(a,"negate",(function(){return Tn})),n.d(a,"inverse",(function(){return En})),n.d(a,"normalize",(function(){return wn})),n.d(a,"dot",(function(){return Mn})),n.d(a,"cross",(function(){return kn})),n.d(a,"lerp",(function(){return Pn})),n.d(a,"hermite",(function(){return xn})),n.d(a,"bezier",(function(){return Sn})),n.d(a,"random",(function(){return Nn})),n.d(a,"transformMat4",(function(){return An})),n.d(a,"transformMat3",(function(){return Cn})),n.d(a,"transformQuat",(function(){return _n})),n.d(a,"rotateX",(function(){return On})),n.d(a,"rotateY",(function(){return In})),n.d(a,"rotateZ",(function(){return Rn})),n.d(a,"angle",(function(){return Dn})),n.d(a,"zero",(function(){return Ln})),n.d(a,"str",(function(){return Vn})),n.d(a,"exactEquals",(function(){return Bn})),n.d(a,"equals",(function(){return jn})),n.d(a,"sub",(function(){return Un})),n.d(a,"mul",(function(){return Gn})),n.d(a,"div",(function(){return zn})),n.d(a,"dist",(function(){return qn})),n.d(a,"sqrDist",(function(){return Wn})),n.d(a,"len",(function(){return Hn})),n.d(a,"sqrLen",(function(){return Yn})),n.d(a,"forEach",(function(){return Kn}));var u={};n.r(u),n.d(u,"create",(function(){return Xn})),n.d(u,"clone",(function(){return Zn})),n.d(u,"fromValues",(function(){return Jn})),n.d(u,"copy",(function(){return Qn})),n.d(u,"set",(function(){return $n})),n.d(u,"add",(function(){return tr})),n.d(u,"subtract",(function(){return er})),n.d(u,"multiply",(function(){return nr})),n.d(u,"divide",(function(){return rr})),n.d(u,"ceil",(function(){return ir})),n.d(u,"floor",(function(){return or})),n.d(u,"min",(function(){return ar})),n.d(u,"max",(function(){return ur})),n.d(u,"round",(function(){return sr})),n.d(u,"scale",(function(){return cr})),n.d(u,"scaleAndAdd",(function(){return lr})),n.d(u,"distance",(function(){return hr})),n.d(u,"squaredDistance",(function(){return fr})),n.d(u,"length",(function(){return pr})),n.d(u,"squaredLength",(function(){return dr})),n.d(u,"negate",(function(){return yr})),n.d(u,"inverse",(function(){return vr})),n.d(u,"normalize",(function(){return mr})),n.d(u,"dot",(function(){return gr})),n.d(u,"cross",(function(){return br})),n.d(u,"lerp",(function(){return Tr})),n.d(u,"random",(function(){return Er})),n.d(u,"transformMat4",(function(){return wr})),n.d(u,"transformQuat",(function(){return Mr})),n.d(u,"zero",(function(){return kr})),n.d(u,"str",(function(){return Pr})),n.d(u,"exactEquals",(function(){return xr})),n.d(u,"equals",(function(){return Sr})),n.d(u,"sub",(function(){return Nr})),n.d(u,"mul",(function(){return Ar})),n.d(u,"div",(function(){return Cr})),n.d(u,"dist",(function(){return _r})),n.d(u,"sqrDist",(function(){return Or})),n.d(u,"len",(function(){return Ir})),n.d(u,"sqrLen",(function(){return Rr})),n.d(u,"forEach",(function(){return Dr}));var s={};n.r(s),n.d(s,"create",(function(){return Lr})),n.d(s,"identity",(function(){return Vr})),n.d(s,"setAxisAngle",(function(){return Br})),n.d(s,"getAxisAngle",(function(){return jr})),n.d(s,"getAngle",(function(){return Fr})),n.d(s,"multiply",(function(){return Ur})),n.d(s,"rotateX",(function(){return Gr})),n.d(s,"rotateY",(function(){return zr})),n.d(s,"rotateZ",(function(){return qr})),n.d(s,"calculateW",(function(){return Wr})),n.d(s,"exp",(function(){return Hr})),n.d(s,"ln",(function(){return Yr})),n.d(s,"pow",(function(){return Kr})),n.d(s,"slerp",(function(){return Xr})),n.d(s,"random",(function(){return Zr})),n.d(s,"invert",(function(){return Jr})),n.d(s,"conjugate",(function(){return Qr})),n.d(s,"fromMat3",(function(){return $r})),n.d(s,"fromEuler",(function(){return ti})),n.d(s,"str",(function(){return ei})),n.d(s,"clone",(function(){return si})),n.d(s,"fromValues",(function(){return ci})),n.d(s,"copy",(function(){return li})),n.d(s,"set",(function(){return hi})),n.d(s,"add",(function(){return fi})),n.d(s,"mul",(function(){return pi})),n.d(s,"scale",(function(){return di})),n.d(s,"dot",(function(){return yi})),n.d(s,"lerp",(function(){return vi})),n.d(s,"length",(function(){return mi})),n.d(s,"len",(function(){return gi})),n.d(s,"squaredLength",(function(){return bi})),n.d(s,"sqrLen",(function(){return Ti})),n.d(s,"normalize",(function(){return Ei})),n.d(s,"exactEquals",(function(){return wi})),n.d(s,"equals",(function(){return Mi})),n.d(s,"rotationTo",(function(){return ki})),n.d(s,"sqlerp",(function(){return Pi})),n.d(s,"setAxes",(function(){return xi}));var c={};n.r(c),n.d(c,"create",(function(){return Si})),n.d(c,"clone",(function(){return Ni})),n.d(c,"fromValues",(function(){return Ai})),n.d(c,"copy",(function(){return Ci})),n.d(c,"set",(function(){return _i})),n.d(c,"add",(function(){return Oi})),n.d(c,"subtract",(function(){return Ii})),n.d(c,"multiply",(function(){return Ri})),n.d(c,"divide",(function(){return Di})),n.d(c,"ceil",(function(){return Li})),n.d(c,"floor",(function(){return Vi})),n.d(c,"min",(function(){return Bi})),n.d(c,"max",(function(){return ji})),n.d(c,"round",(function(){return Fi})),n.d(c,"scale",(function(){return Ui})),n.d(c,"scaleAndAdd",(function(){return Gi})),n.d(c,"distance",(function(){return zi})),n.d(c,"squaredDistance",(function(){return qi})),n.d(c,"length",(function(){return Wi})),n.d(c,"squaredLength",(function(){return Hi})),n.d(c,"negate",(function(){return Yi})),n.d(c,"inverse",(function(){return Ki})),n.d(c,"normalize",(function(){return Xi})),n.d(c,"dot",(function(){return Zi})),n.d(c,"cross",(function(){return Ji})),n.d(c,"lerp",(function(){return Qi})),n.d(c,"random",(function(){return $i})),n.d(c,"transformMat2",(function(){return to})),n.d(c,"transformMat2d",(function(){return eo})),n.d(c,"transformMat3",(function(){return no})),n.d(c,"transformMat4",(function(){return ro})),n.d(c,"rotate",(function(){return io})),n.d(c,"angle",(function(){return oo})),n.d(c,"zero",(function(){return ao})),n.d(c,"str",(function(){return uo})),n.d(c,"exactEquals",(function(){return so})),n.d(c,"equals",(function(){return co})),n.d(c,"len",(function(){return ho})),n.d(c,"sub",(function(){return fo})),n.d(c,"mul",(function(){return po})),n.d(c,"div",(function(){return yo})),n.d(c,"dist",(function(){return vo})),n.d(c,"sqrDist",(function(){return mo})),n.d(c,"sqrLen",(function(){return go})),n.d(c,"forEach",(function(){return bo}));n(12);var l,h,f=n(1);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){return e.lifecycle===l.Lifecycle.singleton?function(t){return t.inSingletonScope()}(t):function(t){return t.inTransientScope()}(t)}function b(t,e){t.whenTargetNamed(w(e))}function T(t,e){return e.bind(M(t))}function E(t,e){if(e.isBound(M(t)))try{return e.rebind(M(t))}catch(n){return e.bind(M(t))}return e.bind(M(t))}function w(t){return h.isDefinedToken(t)?t.symbol:t}function M(t){return h.isDefinedToken(t)?t.symbol:t}!function(t){t.defineToken=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{multiple:!0};return new t.DefinedToken(e,n)};var e,n=y((function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};v(this,t),this.prototype={},this.name=void 0,this.multiple=void 0,this.symbol=void 0;var r=n.multiple,i=void 0!==r&&r;this.name=e,this.symbol=Symbol(this.name),this.multiple=i}));t.DefinedToken=n,t.isModule=function(t){return!!t&&"object"===p(t)&&"id"in t},function(t){t.singleton="singleton",t.transient="transient"}(e=t.Lifecycle||(t.Lifecycle={})),t.ClassOptionSymbol=Symbol("SyringeClassOptionSymbol"),t.DefaultOption={lifecycle:e.transient}}(l||(l={})),function(t){t.toArray=function(t){return Array.isArray(t)?t:void 0===t?[]:[t]},t.isClass=function(t){return!(!t||"function"!=typeof t||!("prototype"in t))},t.isDefinedToken=function(t){return!!(t&&"object"===p(t)&&"symbol"in t&&"multiple"in t)},t.isInjectOption=function(t){return!(!t||"object"!==p(t)||!("token"in t))},t.isNamedToken=function(t){return!!(t&&"object"===p(t)&&"token"in t&&"named"in t)},t.isMultipleEnabled=function(e){return t.isDefinedToken(e)&&e.multiple}}(h||(h={}));var k=new f.Container;function P(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(f.injectable)();return function(n){Reflect.defineMetadata(l.ClassOptionSymbol,x(x({},t),{},{target:n}),n),e(n)}}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return N(x(x({},t),{},{lifecycle:l.Lifecycle.singleton}))}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return N(x(x({},t),{},{lifecycle:l.Lifecycle.transient}))}function _(t){return Object(f.inject)(M(t))}function O(t){return Object(f.named)(w(t))}var I=Symbol("SyringeOptionSymbol"),R=function(t,e){Reflect.defineMetadata(I,t,e)};function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){V(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var j=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.token=void 0,this.rawToken=void 0,this.named=void 0,this.generalToken=void 0,this.option=void 0,this.register=void 0,this.mutiple=void 0,this.register=e,this.token=n,this.option=r,this.rawToken=h.isNamedToken(n)?n.token:n,this.named=h.isNamedToken(n)?n.named:void 0,this.mutiple=!!this.named||h.isMultipleEnabled(this.rawToken),this.generalToken=this.rawToken}var e,n,r;return e=t,r=[{key:"resolveTarget",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{try{var i=Reflect.getMetadata(I,n);i&&t.resolveOption(e,i)}catch(t){}if(h.isClass(n))if(r.useClass){var o=h.toArray(r.useClass);o.unshift(n),r.useClass=o}else r.useClass=[n];var a;try{a=Reflect.getMetadata(l.ClassOptionSymbol,n)}catch(t){}if((a=L(L({},a||{}),r)).token){var u=h.toArray(a.token);u.unshift(n),a.token=u}else a.token=[n];t.resolveOption(e,a)}catch(t){}}},{key:"resolveOption",value:function(e,n){var r,i,o,a,u,s,c,f,p=(r=L(L({},t.globalConfig),n),i=h.toArray(r.token),o=h.toArray(r.useClass),a=h.toArray(r.useDynamic),u=h.toArray(r.useFactory),s=h.toArray(r.contrib),c=r.lifecycle||l.Lifecycle.transient,f={token:i,useClass:o,lifecycle:s.length>0?l.Lifecycle.singleton:c,contrib:s,useDynamic:a,useFactory:u},"useValue"in r&&(f.useValue=r.useValue),f);(0!==p.useClass.length||0!==p.useDynamic.length||0!==p.useFactory.length||"useValue"in p)&&p.token.forEach((function(n){new t(e,n,L({},p)).resolve()}))}}],(n=[{key:"resolve",value:function(){var t=this,e=this.register;(function(t){return t&&"object"===m(t)&&"bind"in t&&"unbind"in t&&"rebind"in t&&"isBound"in t})(e)&&(this.mutiple?this.resolveMutilple(e):(this.resolveMono(e),!this.named&&this.option.contrib.length>0&&this.option.contrib.forEach((function(n){h.isMultipleEnabled(n)?T(n,e).toService(t.generalToken):E(n,e).toService(t.generalToken)}))))}},{key:"resolveMono",value:function(t){if("useValue"in this.option)return E(this.generalToken,t).toConstantValue(this.option.useValue);if(this.option.useDynamic.length>0){var e=this.option.useDynamic[this.option.useDynamic.length-1];return g(E(this.generalToken,t).toDynamicValue((function(t){var n=it.getContainer(t.container);return e({container:n})})),this.option)}if(this.option.useFactory.length>0){var n=this.option.useFactory[this.option.useFactory.length-1];return E(this.generalToken,t).toFactory((function(t){var e=it.getContainer(t.container);return n({container:e})}))}if(this.option.useClass.length>0){var r=this.option.useClass[this.option.useClass.length-1];return g(E(this.generalToken,t).to(r),this.option)}}},{key:"resolveMutilple",value:function(t){var e=this,n=this.option.useClass.map((function(n){return g(T(e.generalToken,t).to(n),e.option)})),r=this.option.useDynamic.map((function(n){return g(T(e.generalToken,t).toDynamicValue((function(t){var e=it.getContainer(t.container);return n({container:e})})),e.option)})),i=this.option.useFactory.map((function(n){return T(e.generalToken,t).toFactory((function(t){var e=it.getContainer(t.container);return n({container:e})}))})),o="useValue"in this.option?T(this.generalToken,t).toConstantValue(this.option.useValue):void 0;this.named&&(n.forEach((function(t){return e.named&&b(t,e.named)})),r.forEach((function(t){return e.named&&b(t,e.named)})),i.forEach((function(t){return e.named&&b(t,e.named)})),o&&b(o,this.named))}}])&&B(e.prototype,n),r&&B(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();j.globalConfig=l.DefaultOption;var F=l.defineToken("ContributionProvider");function U(t){return function(t){if(Array.isArray(t))return G(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){W(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function W(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Y=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.option={recursive:!1,cache:!0},this.services=void 0,this.serviceIdentifier=void 0,this.container=void 0,this.container=n,this.serviceIdentifier=e,r&&(this.option=q(q({},this.option),r))}var e,n,r;return e=t,(n=[{key:"setServices",value:function(t){for(var e=[],n=this.container;n;){if(n.isBound(this.serviceIdentifier)){var r=n.getAll(this.serviceIdentifier);e.push.apply(e,U(r))}n=t?n.parent:void 0}return e}},{key:"getContributions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=q(q({},this.option),t),n=e.cache,r=e.recursive;return n&&void 0!==this.services||(this.services=this.setServices(!!r)),this.services}}])&&H(e.prototype,n),r&&H(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function K(t,e){return{token:{token:F,named:t},useDynamic:function(n){return new Y(t,n.container,e)},lifecycle:l.Lifecycle.singleton}}function X(t,e,n){t({token:{token:F,named:e},useDynamic:function(t){return new Y(e,t.container,n)},lifecycle:l.Lifecycle.singleton})}function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var J=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.id=void 0,this.inversifyModule=void 0,this.baseRegistry=void 0,this.optionCollection=void 0,this.inversifyRegister=function(t,e,r,i){var o={bind:t,unbind:e,isBound:r,rebind:i},a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.isInjectOption(t)?j.resolveOption(o,t):j.resolveTarget(o,t,e)};n.baseRegistry&&n.baseRegistry(a),n.optionCollection&&n.optionCollection.forEach((function(t){return a(t)}))},this.baseRegistry=e,this.inversifyModule=new f.ContainerModule(this.inversifyRegister),this.id=this.inversifyModule.id}var e,n,r;return e=t,(n=[{key:"options",get:function(){return this.optionCollection||(this.optionCollection=[]),this.optionCollection}},{key:"register",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){return t.options.push(e)})),this}},{key:"contribution",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){return t.options.push(K(e))})),this}}])&&Z(e.prototype,n),r&&Z(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Q(t){return t&&"inversifyModule"in t}function $(t){return new J(t)}function tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var et,nt,rt=new Map,it=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.loadedModules=[],this.container=void 0,this.inversify=!0,this.parent=void 0,this.container=e||new f.Container,t.setContainer(this.container,this)}var e,n,r;return e=t,r=[{key:"setContainer",value:function(t,e){return rt.set(t.id,e)}},{key:"getContainer",value:function(e){var n=rt.get(e.id);if(!n){var r=new t(e);return t.setContainer(e,r),r}return n}},{key:"config",value:function(t){j.globalConfig=t}}],(n=[{key:"load",value:function(t,e){var n=this;return e||!this.loadedModules.includes(t.id)?(Q(t)&&this.container.load(t.inversifyModule),this.loadedModules.push(t.id),{dispose:function(){n.unload(t)}}):(console.warn("Unsupported module."),{dispose:function(){}})}},{key:"unload",value:function(t){Q(t)&&(this.container.unload(t.inversifyModule),this.loadedModules=this.loadedModules.filter((function(e){return e!==t.id})))}},{key:"remove",value:function(t){return this.container.unbind(M(t))}},{key:"get",value:function(t){return this.container.get(M(t))}},{key:"getNamed",value:function(t,e){return this.container.getNamed(M(t),w(e))}},{key:"getAll",value:function(t){return this.container.getAll(M(t))}},{key:"getAllNamed",value:function(t,e){return this.container.getAllNamed(M(t),w(e))}},{key:"isBound",value:function(t){return this.container.isBound(M(t))}},{key:"isBoundNamed",value:function(t,e){return this.container.isBoundNamed(M(t),w(e))}},{key:"createChild",value:function(){var e=new t(this.container.createChild());return e.parent=this,e}},{key:"register",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.isInjectOption(t)?j.resolveOption(this.container,t):j.resolveTarget(this.container,t,e)}}])&&tt(e.prototype,n),r&&tt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ot=new it(k),at=ot.register.bind(ot),ut=function(t){return function(e,n,r){O(t)(e,n,r),_(F)(e,n,r)}};(nt=et||(et={})).Provider=F,nt.register=X;var st=n(6),ct=function(t,e){return(ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};
|
|
17
17
|
/*! *****************************************************************************
|
|
18
18
|
Copyright (c) Microsoft Corporation.
|
|
19
19
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { CSSNumericSumValue, UnitMap } from './CSSNumericSumValue';
|
|
2
|
-
import { CSSNumericValueType } from './CSSNumericValueType';
|
|
3
2
|
import { CSSStyleValue, CSSStyleValueType } from './CSSStyleValue';
|
|
4
3
|
import { Nested, ParenLess, UnitType } from './types';
|
|
5
4
|
export declare type CSSNumberish = number | CSSNumericValue;
|
|
@@ -14,6 +13,38 @@ interface CSSNumericType {
|
|
|
14
13
|
percent: number;
|
|
15
14
|
percentHint: CSSNumericBaseType;
|
|
16
15
|
}
|
|
16
|
+
export declare enum BaseType {
|
|
17
|
+
kLength = 0,
|
|
18
|
+
kAngle = 1,
|
|
19
|
+
kTime = 2,
|
|
20
|
+
kFrequency = 3,
|
|
21
|
+
kResolution = 4,
|
|
22
|
+
kFlex = 5,
|
|
23
|
+
kPercent = 6,
|
|
24
|
+
kNumBaseTypes = 7
|
|
25
|
+
}
|
|
26
|
+
export declare function unitTypeToBaseType(unit: UnitType): BaseType.kLength | BaseType.kAngle | BaseType.kTime | BaseType.kFrequency | BaseType.kResolution | BaseType.kFlex | BaseType.kPercent;
|
|
27
|
+
export declare function baseTypeToString(baseType: BaseType): "" | "percent" | "length" | "angle" | "time" | "frequency" | "resolution" | "flex";
|
|
28
|
+
export declare class CSSNumericValueType {
|
|
29
|
+
private exponents;
|
|
30
|
+
private numNonZeroEntries;
|
|
31
|
+
percentHint: BaseType;
|
|
32
|
+
hasPercentHint: boolean;
|
|
33
|
+
constructor(unit?: UnitType, exponent?: number);
|
|
34
|
+
applyPercentHint(hint: BaseType): void;
|
|
35
|
+
hasNonZeroEntries(): boolean;
|
|
36
|
+
isOnlyNonZeroEntry(baseType: BaseType, value: number): boolean;
|
|
37
|
+
exponent(type: BaseType): number;
|
|
38
|
+
setExponent(type: BaseType, newValue: number): void;
|
|
39
|
+
static negateExponents(type: CSSNumericValueType): CSSNumericValueType;
|
|
40
|
+
matchesBaseType(baseType: BaseType): boolean;
|
|
41
|
+
matchesPercentage(): boolean;
|
|
42
|
+
matchesBaseTypePercentage(baseType: BaseType): boolean;
|
|
43
|
+
matchesNumber(): boolean;
|
|
44
|
+
matchesNumberPercentage(): boolean;
|
|
45
|
+
static add(type1: CSSNumericValueType, type2: CSSNumericValueType, error: boolean): CSSNumericValueType;
|
|
46
|
+
static multiply(type1: CSSNumericValueType, type2: CSSNumericValueType, error: boolean): CSSNumericValueType;
|
|
47
|
+
}
|
|
17
48
|
/**
|
|
18
49
|
* CSSNumericValue is the base class for numeric and length typed CSS Values.
|
|
19
50
|
* @see https://drafts.css-houdini.org/css-typed-om/#numeric-objects
|