@e1011/es-kit 1.0.1 → 1.0.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/hooks/esm/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/hooks/esm/node_modules/core-js/internals/shared.js +2 -2
- package/dist/hooks/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/hooks/esm/node_modules/lodash-es/_Symbol.js +9 -0
- package/dist/hooks/esm/node_modules/lodash-es/_Symbol.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/_baseGetTag.js +29 -0
- package/dist/hooks/esm/node_modules/lodash-es/_baseGetTag.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/_baseTrim.js +20 -0
- package/dist/hooks/esm/node_modules/lodash-es/_baseTrim.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/_freeGlobal.js +7 -0
- package/dist/hooks/esm/node_modules/lodash-es/_freeGlobal.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/_getRawTag.js +47 -0
- package/dist/hooks/esm/node_modules/lodash-es/_getRawTag.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/_objectToString.js +23 -0
- package/dist/hooks/esm/node_modules/lodash-es/_objectToString.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/_root.js +12 -0
- package/dist/hooks/esm/node_modules/lodash-es/_root.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/_trimmedEndIndex.js +20 -0
- package/dist/hooks/esm/node_modules/lodash-es/_trimmedEndIndex.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/debounce.js +192 -0
- package/dist/hooks/esm/node_modules/lodash-es/debounce.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/isObject.js +32 -0
- package/dist/hooks/esm/node_modules/lodash-es/isObject.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/isObjectLike.js +30 -0
- package/dist/hooks/esm/node_modules/lodash-es/isObjectLike.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/isSymbol.js +30 -0
- package/dist/hooks/esm/node_modules/lodash-es/isSymbol.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/now.js +26 -0
- package/dist/hooks/esm/node_modules/lodash-es/now.js.map +1 -0
- package/dist/hooks/esm/node_modules/lodash-es/toNumber.js +65 -0
- package/dist/hooks/esm/node_modules/lodash-es/toNumber.js.map +1 -0
- package/dist/hooks/esm/src/core/hooks/index.js +1 -0
- package/dist/hooks/esm/src/core/hooks/index.js.map +1 -1
- package/dist/hooks/esm/src/core/hooks/useResize.js +66 -0
- package/dist/hooks/esm/src/core/hooks/useResize.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/hooks/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/hooks/node_modules/core-js/internals/shared.js +2 -2
- package/dist/hooks/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/hooks/node_modules/lodash-es/_Symbol.js +11 -0
- package/dist/hooks/node_modules/lodash-es/_Symbol.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/_baseGetTag.js +31 -0
- package/dist/hooks/node_modules/lodash-es/_baseGetTag.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/_baseTrim.js +22 -0
- package/dist/hooks/node_modules/lodash-es/_baseTrim.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/_freeGlobal.js +9 -0
- package/dist/hooks/node_modules/lodash-es/_freeGlobal.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/_getRawTag.js +49 -0
- package/dist/hooks/node_modules/lodash-es/_getRawTag.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/_objectToString.js +25 -0
- package/dist/hooks/node_modules/lodash-es/_objectToString.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/_root.js +14 -0
- package/dist/hooks/node_modules/lodash-es/_root.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/_trimmedEndIndex.js +22 -0
- package/dist/hooks/node_modules/lodash-es/_trimmedEndIndex.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/debounce.js +194 -0
- package/dist/hooks/node_modules/lodash-es/debounce.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/isObject.js +34 -0
- package/dist/hooks/node_modules/lodash-es/isObject.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/isObjectLike.js +32 -0
- package/dist/hooks/node_modules/lodash-es/isObjectLike.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/isSymbol.js +32 -0
- package/dist/hooks/node_modules/lodash-es/isSymbol.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/now.js +28 -0
- package/dist/hooks/node_modules/lodash-es/now.js.map +1 -0
- package/dist/hooks/node_modules/lodash-es/toNumber.js +67 -0
- package/dist/hooks/node_modules/lodash-es/toNumber.js.map +1 -0
- package/dist/hooks/src/core/hooks/index.js +2 -0
- package/dist/hooks/src/core/hooks/index.js.map +1 -1
- package/dist/hooks/src/core/hooks/useResize.js +70 -0
- package/dist/hooks/src/core/hooks/useResize.js.map +1 -0
- package/dist/lib/cjs/_virtual/is-pure.js +8 -0
- package/dist/lib/cjs/_virtual/is-pure.js.map +1 -0
- package/dist/lib/cjs/_virtual/path.js +8 -0
- package/dist/lib/cjs/_virtual/path.js.map +1 -0
- package/dist/lib/cjs/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/lib/cjs/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/is-pure.js +9 -0
- package/dist/lib/cjs/node_modules/core-js/internals/is-pure.js.map +1 -0
- package/dist/lib/cjs/node_modules/core-js/internals/path.js +11 -0
- package/dist/lib/cjs/node_modules/core-js/internals/path.js.map +1 -0
- package/dist/lib/cjs/node_modules/core-js/internals/shared.js +2 -2
- package/dist/lib/cjs/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.number.constructor.js +32 -18
- package/dist/lib/cjs/node_modules/core-js/modules/es.number.constructor.js.map +1 -1
- package/dist/lib/cjs/node_modules/lodash-es/_Symbol.js +11 -0
- package/dist/lib/cjs/node_modules/lodash-es/_Symbol.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/_baseGetTag.js +31 -0
- package/dist/lib/cjs/node_modules/lodash-es/_baseGetTag.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/_baseTrim.js +22 -0
- package/dist/lib/cjs/node_modules/lodash-es/_baseTrim.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/_freeGlobal.js +9 -0
- package/dist/lib/cjs/node_modules/lodash-es/_freeGlobal.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/_getRawTag.js +49 -0
- package/dist/lib/cjs/node_modules/lodash-es/_getRawTag.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/_objectToString.js +25 -0
- package/dist/lib/cjs/node_modules/lodash-es/_objectToString.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/_root.js +14 -0
- package/dist/lib/cjs/node_modules/lodash-es/_root.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/_trimmedEndIndex.js +22 -0
- package/dist/lib/cjs/node_modules/lodash-es/_trimmedEndIndex.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/debounce.js +194 -0
- package/dist/lib/cjs/node_modules/lodash-es/debounce.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/isObject.js +34 -0
- package/dist/lib/cjs/node_modules/lodash-es/isObject.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/isObjectLike.js +32 -0
- package/dist/lib/cjs/node_modules/lodash-es/isObjectLike.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/isSymbol.js +32 -0
- package/dist/lib/cjs/node_modules/lodash-es/isSymbol.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/now.js +28 -0
- package/dist/lib/cjs/node_modules/lodash-es/now.js.map +1 -0
- package/dist/lib/cjs/node_modules/lodash-es/toNumber.js +67 -0
- package/dist/lib/cjs/node_modules/lodash-es/toNumber.js.map +1 -0
- package/dist/lib/cjs/src/core/hooks/useResize.js +70 -0
- package/dist/lib/cjs/src/core/hooks/useResize.js.map +1 -0
- package/dist/lib/cjs/src/core/ui/components/container/Container.js +2 -2
- package/dist/lib/cjs/src/core/ui/components/container/Container.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/container/Flex.js +3 -3
- package/dist/lib/cjs/src/core/ui/components/container/Placeholder.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/field/Field.js +5 -5
- package/dist/lib/cjs/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/lib/cjs/src/index.js +2 -0
- package/dist/lib/cjs/src/index.js.map +1 -1
- package/dist/lib/esm/_virtual/is-pure.js +3 -0
- package/dist/lib/esm/_virtual/is-pure.js.map +1 -0
- package/dist/lib/esm/_virtual/path.js +3 -0
- package/dist/lib/esm/_virtual/path.js.map +1 -0
- package/dist/lib/esm/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/lib/esm/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/is-pure.js +4 -0
- package/dist/lib/esm/node_modules/core-js/internals/is-pure.js.map +1 -0
- package/dist/lib/esm/node_modules/core-js/internals/path.js +6 -0
- package/dist/lib/esm/node_modules/core-js/internals/path.js.map +1 -0
- package/dist/lib/esm/node_modules/core-js/internals/shared.js +2 -2
- package/dist/lib/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.number.constructor.js +32 -18
- package/dist/lib/esm/node_modules/core-js/modules/es.number.constructor.js.map +1 -1
- package/dist/lib/esm/node_modules/lodash-es/_Symbol.js +9 -0
- package/dist/lib/esm/node_modules/lodash-es/_Symbol.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/_baseGetTag.js +29 -0
- package/dist/lib/esm/node_modules/lodash-es/_baseGetTag.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/_baseTrim.js +20 -0
- package/dist/lib/esm/node_modules/lodash-es/_baseTrim.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/_freeGlobal.js +7 -0
- package/dist/lib/esm/node_modules/lodash-es/_freeGlobal.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/_getRawTag.js +47 -0
- package/dist/lib/esm/node_modules/lodash-es/_getRawTag.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/_objectToString.js +23 -0
- package/dist/lib/esm/node_modules/lodash-es/_objectToString.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/_root.js +12 -0
- package/dist/lib/esm/node_modules/lodash-es/_root.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/_trimmedEndIndex.js +20 -0
- package/dist/lib/esm/node_modules/lodash-es/_trimmedEndIndex.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/debounce.js +192 -0
- package/dist/lib/esm/node_modules/lodash-es/debounce.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/isObject.js +32 -0
- package/dist/lib/esm/node_modules/lodash-es/isObject.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/isObjectLike.js +30 -0
- package/dist/lib/esm/node_modules/lodash-es/isObjectLike.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/isSymbol.js +30 -0
- package/dist/lib/esm/node_modules/lodash-es/isSymbol.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/now.js +26 -0
- package/dist/lib/esm/node_modules/lodash-es/now.js.map +1 -0
- package/dist/lib/esm/node_modules/lodash-es/toNumber.js +65 -0
- package/dist/lib/esm/node_modules/lodash-es/toNumber.js.map +1 -0
- package/dist/lib/esm/src/core/hooks/useResize.js +66 -0
- package/dist/lib/esm/src/core/hooks/useResize.js.map +1 -0
- package/dist/lib/esm/src/core/ui/components/container/Container.js +2 -2
- package/dist/lib/esm/src/core/ui/components/container/Container.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/container/Flex.js +3 -3
- package/dist/lib/esm/src/core/ui/components/container/Placeholder.js +1 -1
- package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/field/Field.js +5 -5
- package/dist/lib/esm/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/lib/esm/src/index.js +1 -0
- package/dist/lib/esm/src/index.js.map +1 -1
- package/dist/lib/src/core/hooks/index.js +1 -0
- package/dist/lib/src/core/hooks/index.js.map +1 -1
- package/dist/types/src/core/hooks/index.d.ts +1 -0
- package/dist/types/src/core/hooks/index.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/container/Flex.d.ts +2 -2
- package/dist/ui/esm/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/shared.js +2 -2
- package/dist/ui/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/Container.js +2 -2
- package/dist/ui/esm/src/core/ui/components/container/Container.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/Flex.js +3 -3
- package/dist/ui/esm/src/core/ui/components/container/Placeholder.js +1 -1
- package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/field/Field.js +5 -5
- package/dist/ui/esm/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/ui/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/shared.js +2 -2
- package/dist/ui/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/Container.js +2 -2
- package/dist/ui/src/core/ui/components/container/Container.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/Flex.js +3 -3
- package/dist/ui/src/core/ui/components/container/Placeholder.js +1 -1
- package/dist/ui/src/core/ui/components/dividers/DividerLine.js +1 -1
- package/dist/ui/src/core/ui/components/dividers/DividerLine.js.map +1 -1
- package/dist/ui/src/core/ui/components/field/Field.js +5 -5
- package/dist/ui/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/utils/_virtual/is-pure.js +8 -0
- package/dist/utils/_virtual/is-pure.js.map +1 -0
- package/dist/utils/_virtual/path.js +8 -0
- package/dist/utils/_virtual/path.js.map +1 -0
- package/dist/utils/esm/_virtual/is-pure.js +3 -0
- package/dist/utils/esm/_virtual/is-pure.js.map +1 -0
- package/dist/utils/esm/_virtual/path.js +3 -0
- package/dist/utils/esm/_virtual/path.js.map +1 -0
- package/dist/utils/esm/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/utils/esm/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/is-pure.js +4 -0
- package/dist/utils/esm/node_modules/core-js/internals/is-pure.js.map +1 -0
- package/dist/utils/esm/node_modules/core-js/internals/path.js +6 -0
- package/dist/utils/esm/node_modules/core-js/internals/path.js.map +1 -0
- package/dist/utils/esm/node_modules/core-js/internals/shared.js +2 -2
- package/dist/utils/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.number.constructor.js +32 -18
- package/dist/utils/esm/node_modules/core-js/modules/es.number.constructor.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/document-all.js +1 -0
- package/dist/utils/node_modules/core-js/internals/document-all.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/is-pure.js +9 -0
- package/dist/utils/node_modules/core-js/internals/is-pure.js.map +1 -0
- package/dist/utils/node_modules/core-js/internals/path.js +11 -0
- package/dist/utils/node_modules/core-js/internals/path.js.map +1 -0
- package/dist/utils/node_modules/core-js/internals/shared.js +2 -2
- package/dist/utils/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/utils/node_modules/core-js/modules/es.number.constructor.js +32 -18
- package/dist/utils/node_modules/core-js/modules/es.number.constructor.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
var documentAll = typeof document == 'object' && document.all;
|
|
2
2
|
|
|
3
3
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
4
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
4
5
|
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
5
6
|
|
|
6
7
|
var documentAll_1 = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-all.js","sources":["../../../../../../node_modules/core-js/internals/document-all.js"],"sourcesContent":["var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n"],"names":[],"mappings":"AAAA,IAAI,WAAW,GAAG,OAAO,QAAQ,IAAI,QAAQ,IAAI,QAAQ,CAAC,GAAG,CAAC;AAC9D;AACA;AACA,IAAI,UAAU,GAAG,OAAO,WAAW,IAAI,WAAW,IAAI,WAAW,KAAK,SAAS,CAAC;AAChF;AACA,IAAA,aAAc,GAAG;AACjB,EAAE,GAAG,EAAE,WAAW;AAClB,EAAE,UAAU,EAAE,UAAU;AACxB;;;;"}
|
|
1
|
+
{"version":3,"file":"document-all.js","sources":["../../../../../../node_modules/core-js/internals/document-all.js"],"sourcesContent":["var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n"],"names":[],"mappings":"AAAA,IAAI,WAAW,GAAG,OAAO,QAAQ,IAAI,QAAQ,IAAI,QAAQ,CAAC,GAAG,CAAC;AAC9D;AACA;AACA;AACA,IAAI,UAAU,GAAG,OAAO,WAAW,IAAI,WAAW,IAAI,WAAW,KAAK,SAAS,CAAC;AAChF;AACA,IAAA,aAAc,GAAG;AACjB,EAAE,GAAG,EAAE,WAAW;AAClB,EAAE,UAAU,EAAE,UAAU;AACxB;;;;"}
|
|
@@ -5,10 +5,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
5
5
|
(module.exports = function (key, value) {
|
|
6
6
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
7
7
|
})('versions', []).push({
|
|
8
|
-
version: '3.
|
|
8
|
+
version: '3.27.1',
|
|
9
9
|
mode: 'global',
|
|
10
10
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
11
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
11
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE',
|
|
12
12
|
source: 'https://github.com/zloirock/core-js'
|
|
13
13
|
});
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sources":["../../../../../../node_modules/core-js/internals/shared.js"],"sourcesContent":["var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.
|
|
1
|
+
{"version":3,"file":"shared.js","sources":["../../../../../../node_modules/core-js/internals/shared.js"],"sourcesContent":["var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.27.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n"],"names":["store"],"mappings":";;;;AAGA,CAAC,cAAc,GAAG,UAAU,GAAG,EAAE,KAAK,EAAE;AACxC,EAAE,OAAOA,WAAK,CAAC,GAAG,CAAC,KAAKA,WAAK,CAAC,GAAG,CAAC,GAAG,KAAK,KAAK,SAAS,GAAG,KAAK,GAAG,EAAE,CAAC,CAAC;AACvE,CAAC,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC;AACxB,EAAE,OAAO,EAAE,QAAQ;AACnB,EAAE,IAAI,EAAqB,QAAQ;AACnC,EAAE,SAAS,EAAE,2CAA2C;AACxD,EAAE,OAAO,EAAE,0DAA0D;AACrE,EAAE,MAAM,EAAE,qCAAqC;AAC/C,CAAC,CAAC,CAAA;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_Symbol.js","sources":["../../../../../node_modules/lodash-es/_Symbol.js"],"sourcesContent":["import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n"],"names":[],"mappings":";;AAEA;AACA,IAAI,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;AACzB;AACA,eAAe,MAAM;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import Symbol from './_Symbol.js';
|
|
2
|
+
import getRawTag from './_getRawTag.js';
|
|
3
|
+
import objectToString from './_objectToString.js';
|
|
4
|
+
|
|
5
|
+
/** `Object#toString` result references. */
|
|
6
|
+
var nullTag = '[object Null]',
|
|
7
|
+
undefinedTag = '[object Undefined]';
|
|
8
|
+
|
|
9
|
+
/** Built-in value references. */
|
|
10
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
14
|
+
*
|
|
15
|
+
* @private
|
|
16
|
+
* @param {*} value The value to query.
|
|
17
|
+
* @returns {string} Returns the `toStringTag`.
|
|
18
|
+
*/
|
|
19
|
+
function baseGetTag(value) {
|
|
20
|
+
if (value == null) {
|
|
21
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
22
|
+
}
|
|
23
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
24
|
+
? getRawTag(value)
|
|
25
|
+
: objectToString(value);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { baseGetTag as default };
|
|
29
|
+
//# sourceMappingURL=_baseGetTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_baseGetTag.js","sources":["../../../../../node_modules/lodash-es/_baseGetTag.js"],"sourcesContent":["import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n"],"names":[],"mappings":";;;;AAIA;AACA,IAAI,OAAO,GAAG,eAAe;AAC7B,IAAI,YAAY,GAAG,oBAAoB,CAAC;AACxC;AACA;AACA,IAAI,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,CAAC,KAAK,EAAE;AAC3B,EAAE,IAAI,KAAK,IAAI,IAAI,EAAE;AACrB,IAAI,OAAO,KAAK,KAAK,SAAS,GAAG,YAAY,GAAG,OAAO,CAAC;AACxD,GAAG;AACH,EAAE,OAAO,CAAC,cAAc,IAAI,cAAc,IAAI,MAAM,CAAC,KAAK,CAAC;AAC3D,MAAM,SAAS,CAAC,KAAK,CAAC;AACtB,MAAM,cAAc,CAAC,KAAK,CAAC,CAAC;AAC5B;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import trimmedEndIndex from './_trimmedEndIndex.js';
|
|
2
|
+
|
|
3
|
+
/** Used to match leading whitespace. */
|
|
4
|
+
var reTrimStart = /^\s+/;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The base implementation of `_.trim`.
|
|
8
|
+
*
|
|
9
|
+
* @private
|
|
10
|
+
* @param {string} string The string to trim.
|
|
11
|
+
* @returns {string} Returns the trimmed string.
|
|
12
|
+
*/
|
|
13
|
+
function baseTrim(string) {
|
|
14
|
+
return string
|
|
15
|
+
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
16
|
+
: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { baseTrim as default };
|
|
20
|
+
//# sourceMappingURL=_baseTrim.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_baseTrim.js","sources":["../../../../../node_modules/lodash-es/_baseTrim.js"],"sourcesContent":["import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n"],"names":[],"mappings":";;AAEA;AACA,IAAI,WAAW,GAAG,MAAM,CAAC;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,MAAM,EAAE;AAC1B,EAAE,OAAO,MAAM;AACf,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC;AAC3E,MAAM,MAAM,CAAC;AACb;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_freeGlobal.js","sources":["../../../../../node_modules/lodash-es/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n"],"names":[],"mappings":"AAAA;AACA,IAAI,UAAU,GAAG,OAAO,MAAM,IAAI,QAAQ,IAAI,MAAM,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,IAAI,MAAM,CAAC;AAC3F;AACA,mBAAe,UAAU;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import Symbol from './_Symbol.js';
|
|
2
|
+
|
|
3
|
+
/** Used for built-in method references. */
|
|
4
|
+
var objectProto = Object.prototype;
|
|
5
|
+
|
|
6
|
+
/** Used to check objects for own properties. */
|
|
7
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Used to resolve the
|
|
11
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
12
|
+
* of values.
|
|
13
|
+
*/
|
|
14
|
+
var nativeObjectToString = objectProto.toString;
|
|
15
|
+
|
|
16
|
+
/** Built-in value references. */
|
|
17
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
21
|
+
*
|
|
22
|
+
* @private
|
|
23
|
+
* @param {*} value The value to query.
|
|
24
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
25
|
+
*/
|
|
26
|
+
function getRawTag(value) {
|
|
27
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
|
28
|
+
tag = value[symToStringTag];
|
|
29
|
+
|
|
30
|
+
try {
|
|
31
|
+
value[symToStringTag] = undefined;
|
|
32
|
+
var unmasked = true;
|
|
33
|
+
} catch (e) {}
|
|
34
|
+
|
|
35
|
+
var result = nativeObjectToString.call(value);
|
|
36
|
+
if (unmasked) {
|
|
37
|
+
if (isOwn) {
|
|
38
|
+
value[symToStringTag] = tag;
|
|
39
|
+
} else {
|
|
40
|
+
delete value[symToStringTag];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return result;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { getRawTag as default };
|
|
47
|
+
//# sourceMappingURL=_getRawTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_getRawTag.js","sources":["../../../../../node_modules/lodash-es/_getRawTag.js"],"sourcesContent":["import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n"],"names":[],"mappings":";;AAEA;AACA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC;AACnC;AACA;AACA,IAAI,cAAc,GAAG,WAAW,CAAC,cAAc,CAAC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,oBAAoB,GAAG,WAAW,CAAC,QAAQ,CAAC;AAChD;AACA;AACA,IAAI,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS,CAAC,KAAK,EAAE;AAC1B,EAAE,IAAI,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC;AACxD,MAAM,GAAG,GAAG,KAAK,CAAC,cAAc,CAAC,CAAC;AAClC;AACA,EAAE,IAAI;AACN,IAAI,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;AACtC,IAAI,IAAI,QAAQ,GAAG,IAAI,CAAC;AACxB,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE;AAChB;AACA,EAAE,IAAI,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAChD,EAAE,IAAI,QAAQ,EAAE;AAChB,IAAI,IAAI,KAAK,EAAE;AACf,MAAM,KAAK,CAAC,cAAc,CAAC,GAAG,GAAG,CAAC;AAClC,KAAK,MAAM;AACX,MAAM,OAAO,KAAK,CAAC,cAAc,CAAC,CAAC;AACnC,KAAK;AACL,GAAG;AACH,EAAE,OAAO,MAAM,CAAC;AAChB;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** Used for built-in method references. */
|
|
2
|
+
var objectProto = Object.prototype;
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Used to resolve the
|
|
6
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
7
|
+
* of values.
|
|
8
|
+
*/
|
|
9
|
+
var nativeObjectToString = objectProto.toString;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
13
|
+
*
|
|
14
|
+
* @private
|
|
15
|
+
* @param {*} value The value to convert.
|
|
16
|
+
* @returns {string} Returns the converted string.
|
|
17
|
+
*/
|
|
18
|
+
function objectToString(value) {
|
|
19
|
+
return nativeObjectToString.call(value);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { objectToString as default };
|
|
23
|
+
//# sourceMappingURL=_objectToString.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_objectToString.js","sources":["../../../../../node_modules/lodash-es/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n"],"names":[],"mappings":"AAAA;AACA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,oBAAoB,GAAG,WAAW,CAAC,QAAQ,CAAC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,cAAc,CAAC,KAAK,EAAE;AAC/B,EAAE,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC1C;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import freeGlobal from './_freeGlobal.js';
|
|
2
|
+
|
|
3
|
+
/** Detect free variable `self`. */
|
|
4
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
5
|
+
|
|
6
|
+
/** Used as a reference to the global object. */
|
|
7
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
8
|
+
|
|
9
|
+
var root$1 = root;
|
|
10
|
+
|
|
11
|
+
export { root$1 as default };
|
|
12
|
+
//# sourceMappingURL=_root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_root.js","sources":["../../../../../node_modules/lodash-es/_root.js"],"sourcesContent":["import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n"],"names":[],"mappings":";;AAEA;AACA,IAAI,QAAQ,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,IAAI,CAAC;AACjF;AACA;AACA,IAAI,IAAI,GAAG,UAAU,IAAI,QAAQ,IAAI,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;AAC/D;AACA,aAAe,IAAI;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Used to match a single whitespace character. */
|
|
2
|
+
var reWhitespace = /\s/;
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
6
|
+
* character of `string`.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @param {string} string The string to inspect.
|
|
10
|
+
* @returns {number} Returns the index of the last non-whitespace character.
|
|
11
|
+
*/
|
|
12
|
+
function trimmedEndIndex(string) {
|
|
13
|
+
var index = string.length;
|
|
14
|
+
|
|
15
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
16
|
+
return index;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { trimmedEndIndex as default };
|
|
20
|
+
//# sourceMappingURL=_trimmedEndIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_trimmedEndIndex.js","sources":["../../../../../node_modules/lodash-es/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n"],"names":[],"mappings":"AAAA;AACA,IAAI,YAAY,GAAG,IAAI,CAAC;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,eAAe,CAAC,MAAM,EAAE;AACjC,EAAE,IAAI,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5B;AACA,EAAE,OAAO,KAAK,EAAE,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE;AAC/D,EAAE,OAAO,KAAK,CAAC;AACf;;;;"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import isObject from './isObject.js';
|
|
2
|
+
import now from './now.js';
|
|
3
|
+
import toNumber from './toNumber.js';
|
|
4
|
+
|
|
5
|
+
/** Error message constants. */
|
|
6
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
7
|
+
|
|
8
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
9
|
+
var nativeMax = Math.max,
|
|
10
|
+
nativeMin = Math.min;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
14
|
+
* milliseconds have elapsed since the last time the debounced function was
|
|
15
|
+
* invoked. The debounced function comes with a `cancel` method to cancel
|
|
16
|
+
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
|
17
|
+
* Provide `options` to indicate whether `func` should be invoked on the
|
|
18
|
+
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
|
19
|
+
* with the last arguments provided to the debounced function. Subsequent
|
|
20
|
+
* calls to the debounced function return the result of the last `func`
|
|
21
|
+
* invocation.
|
|
22
|
+
*
|
|
23
|
+
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
|
24
|
+
* invoked on the trailing edge of the timeout only if the debounced function
|
|
25
|
+
* is invoked more than once during the `wait` timeout.
|
|
26
|
+
*
|
|
27
|
+
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
|
28
|
+
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
|
29
|
+
*
|
|
30
|
+
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
|
31
|
+
* for details over the differences between `_.debounce` and `_.throttle`.
|
|
32
|
+
*
|
|
33
|
+
* @static
|
|
34
|
+
* @memberOf _
|
|
35
|
+
* @since 0.1.0
|
|
36
|
+
* @category Function
|
|
37
|
+
* @param {Function} func The function to debounce.
|
|
38
|
+
* @param {number} [wait=0] The number of milliseconds to delay.
|
|
39
|
+
* @param {Object} [options={}] The options object.
|
|
40
|
+
* @param {boolean} [options.leading=false]
|
|
41
|
+
* Specify invoking on the leading edge of the timeout.
|
|
42
|
+
* @param {number} [options.maxWait]
|
|
43
|
+
* The maximum time `func` is allowed to be delayed before it's invoked.
|
|
44
|
+
* @param {boolean} [options.trailing=true]
|
|
45
|
+
* Specify invoking on the trailing edge of the timeout.
|
|
46
|
+
* @returns {Function} Returns the new debounced function.
|
|
47
|
+
* @example
|
|
48
|
+
*
|
|
49
|
+
* // Avoid costly calculations while the window size is in flux.
|
|
50
|
+
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
|
51
|
+
*
|
|
52
|
+
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
|
53
|
+
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
|
54
|
+
* 'leading': true,
|
|
55
|
+
* 'trailing': false
|
|
56
|
+
* }));
|
|
57
|
+
*
|
|
58
|
+
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
|
59
|
+
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
|
60
|
+
* var source = new EventSource('/stream');
|
|
61
|
+
* jQuery(source).on('message', debounced);
|
|
62
|
+
*
|
|
63
|
+
* // Cancel the trailing debounced invocation.
|
|
64
|
+
* jQuery(window).on('popstate', debounced.cancel);
|
|
65
|
+
*/
|
|
66
|
+
function debounce(func, wait, options) {
|
|
67
|
+
var lastArgs,
|
|
68
|
+
lastThis,
|
|
69
|
+
maxWait,
|
|
70
|
+
result,
|
|
71
|
+
timerId,
|
|
72
|
+
lastCallTime,
|
|
73
|
+
lastInvokeTime = 0,
|
|
74
|
+
leading = false,
|
|
75
|
+
maxing = false,
|
|
76
|
+
trailing = true;
|
|
77
|
+
|
|
78
|
+
if (typeof func != 'function') {
|
|
79
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
80
|
+
}
|
|
81
|
+
wait = toNumber(wait) || 0;
|
|
82
|
+
if (isObject(options)) {
|
|
83
|
+
leading = !!options.leading;
|
|
84
|
+
maxing = 'maxWait' in options;
|
|
85
|
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
86
|
+
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function invokeFunc(time) {
|
|
90
|
+
var args = lastArgs,
|
|
91
|
+
thisArg = lastThis;
|
|
92
|
+
|
|
93
|
+
lastArgs = lastThis = undefined;
|
|
94
|
+
lastInvokeTime = time;
|
|
95
|
+
result = func.apply(thisArg, args);
|
|
96
|
+
return result;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function leadingEdge(time) {
|
|
100
|
+
// Reset any `maxWait` timer.
|
|
101
|
+
lastInvokeTime = time;
|
|
102
|
+
// Start the timer for the trailing edge.
|
|
103
|
+
timerId = setTimeout(timerExpired, wait);
|
|
104
|
+
// Invoke the leading edge.
|
|
105
|
+
return leading ? invokeFunc(time) : result;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function remainingWait(time) {
|
|
109
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
110
|
+
timeSinceLastInvoke = time - lastInvokeTime,
|
|
111
|
+
timeWaiting = wait - timeSinceLastCall;
|
|
112
|
+
|
|
113
|
+
return maxing
|
|
114
|
+
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
|
115
|
+
: timeWaiting;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function shouldInvoke(time) {
|
|
119
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
120
|
+
timeSinceLastInvoke = time - lastInvokeTime;
|
|
121
|
+
|
|
122
|
+
// Either this is the first call, activity has stopped and we're at the
|
|
123
|
+
// trailing edge, the system time has gone backwards and we're treating
|
|
124
|
+
// it as the trailing edge, or we've hit the `maxWait` limit.
|
|
125
|
+
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
|
126
|
+
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function timerExpired() {
|
|
130
|
+
var time = now();
|
|
131
|
+
if (shouldInvoke(time)) {
|
|
132
|
+
return trailingEdge(time);
|
|
133
|
+
}
|
|
134
|
+
// Restart the timer.
|
|
135
|
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
function trailingEdge(time) {
|
|
139
|
+
timerId = undefined;
|
|
140
|
+
|
|
141
|
+
// Only invoke if we have `lastArgs` which means `func` has been
|
|
142
|
+
// debounced at least once.
|
|
143
|
+
if (trailing && lastArgs) {
|
|
144
|
+
return invokeFunc(time);
|
|
145
|
+
}
|
|
146
|
+
lastArgs = lastThis = undefined;
|
|
147
|
+
return result;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function cancel() {
|
|
151
|
+
if (timerId !== undefined) {
|
|
152
|
+
clearTimeout(timerId);
|
|
153
|
+
}
|
|
154
|
+
lastInvokeTime = 0;
|
|
155
|
+
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
function flush() {
|
|
159
|
+
return timerId === undefined ? result : trailingEdge(now());
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
function debounced() {
|
|
163
|
+
var time = now(),
|
|
164
|
+
isInvoking = shouldInvoke(time);
|
|
165
|
+
|
|
166
|
+
lastArgs = arguments;
|
|
167
|
+
lastThis = this;
|
|
168
|
+
lastCallTime = time;
|
|
169
|
+
|
|
170
|
+
if (isInvoking) {
|
|
171
|
+
if (timerId === undefined) {
|
|
172
|
+
return leadingEdge(lastCallTime);
|
|
173
|
+
}
|
|
174
|
+
if (maxing) {
|
|
175
|
+
// Handle invocations in a tight loop.
|
|
176
|
+
clearTimeout(timerId);
|
|
177
|
+
timerId = setTimeout(timerExpired, wait);
|
|
178
|
+
return invokeFunc(lastCallTime);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
if (timerId === undefined) {
|
|
182
|
+
timerId = setTimeout(timerExpired, wait);
|
|
183
|
+
}
|
|
184
|
+
return result;
|
|
185
|
+
}
|
|
186
|
+
debounced.cancel = cancel;
|
|
187
|
+
debounced.flush = flush;
|
|
188
|
+
return debounced;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export { debounce as default };
|
|
192
|
+
//# sourceMappingURL=debounce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debounce.js","sources":["../../../../../node_modules/lodash-es/debounce.js"],"sourcesContent":["import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if `value` is the
|
|
3
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
4
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
5
|
+
*
|
|
6
|
+
* @static
|
|
7
|
+
* @memberOf _
|
|
8
|
+
* @since 0.1.0
|
|
9
|
+
* @category Lang
|
|
10
|
+
* @param {*} value The value to check.
|
|
11
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
12
|
+
* @example
|
|
13
|
+
*
|
|
14
|
+
* _.isObject({});
|
|
15
|
+
* // => true
|
|
16
|
+
*
|
|
17
|
+
* _.isObject([1, 2, 3]);
|
|
18
|
+
* // => true
|
|
19
|
+
*
|
|
20
|
+
* _.isObject(_.noop);
|
|
21
|
+
* // => true
|
|
22
|
+
*
|
|
23
|
+
* _.isObject(null);
|
|
24
|
+
* // => false
|
|
25
|
+
*/
|
|
26
|
+
function isObject(value) {
|
|
27
|
+
var type = typeof value;
|
|
28
|
+
return value != null && (type == 'object' || type == 'function');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { isObject as default };
|
|
32
|
+
//# sourceMappingURL=isObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isObject.js","sources":["../../../../../node_modules/lodash-es/isObject.js"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,IAAI,IAAI,GAAG,OAAO,KAAK,CAAC;AAC1B,EAAE,OAAO,KAAK,IAAI,IAAI,KAAK,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,UAAU,CAAC,CAAC;AACnE;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
3
|
+
* and has a `typeof` result of "object".
|
|
4
|
+
*
|
|
5
|
+
* @static
|
|
6
|
+
* @memberOf _
|
|
7
|
+
* @since 4.0.0
|
|
8
|
+
* @category Lang
|
|
9
|
+
* @param {*} value The value to check.
|
|
10
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
11
|
+
* @example
|
|
12
|
+
*
|
|
13
|
+
* _.isObjectLike({});
|
|
14
|
+
* // => true
|
|
15
|
+
*
|
|
16
|
+
* _.isObjectLike([1, 2, 3]);
|
|
17
|
+
* // => true
|
|
18
|
+
*
|
|
19
|
+
* _.isObjectLike(_.noop);
|
|
20
|
+
* // => false
|
|
21
|
+
*
|
|
22
|
+
* _.isObjectLike(null);
|
|
23
|
+
* // => false
|
|
24
|
+
*/
|
|
25
|
+
function isObjectLike(value) {
|
|
26
|
+
return value != null && typeof value == 'object';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { isObjectLike as default };
|
|
30
|
+
//# sourceMappingURL=isObjectLike.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isObjectLike.js","sources":["../../../../../node_modules/lodash-es/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,YAAY,CAAC,KAAK,EAAE;AAC7B,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,IAAI,QAAQ,CAAC;AACnD;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import baseGetTag from './_baseGetTag.js';
|
|
2
|
+
import isObjectLike from './isObjectLike.js';
|
|
3
|
+
|
|
4
|
+
/** `Object#toString` result references. */
|
|
5
|
+
var symbolTag = '[object Symbol]';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
9
|
+
*
|
|
10
|
+
* @static
|
|
11
|
+
* @memberOf _
|
|
12
|
+
* @since 4.0.0
|
|
13
|
+
* @category Lang
|
|
14
|
+
* @param {*} value The value to check.
|
|
15
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
16
|
+
* @example
|
|
17
|
+
*
|
|
18
|
+
* _.isSymbol(Symbol.iterator);
|
|
19
|
+
* // => true
|
|
20
|
+
*
|
|
21
|
+
* _.isSymbol('abc');
|
|
22
|
+
* // => false
|
|
23
|
+
*/
|
|
24
|
+
function isSymbol(value) {
|
|
25
|
+
return typeof value == 'symbol' ||
|
|
26
|
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { isSymbol as default };
|
|
30
|
+
//# sourceMappingURL=isSymbol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isSymbol.js","sources":["../../../../../node_modules/lodash-es/isSymbol.js"],"sourcesContent":["import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n"],"names":[],"mappings":";;;AAGA;AACA,IAAI,SAAS,GAAG,iBAAiB,CAAC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,OAAO,OAAO,KAAK,IAAI,QAAQ;AACjC,KAAK,YAAY,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC,CAAC;AAC5D;;;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import root from './_root.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
5
|
+
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
6
|
+
*
|
|
7
|
+
* @static
|
|
8
|
+
* @memberOf _
|
|
9
|
+
* @since 2.4.0
|
|
10
|
+
* @category Date
|
|
11
|
+
* @returns {number} Returns the timestamp.
|
|
12
|
+
* @example
|
|
13
|
+
*
|
|
14
|
+
* _.defer(function(stamp) {
|
|
15
|
+
* console.log(_.now() - stamp);
|
|
16
|
+
* }, _.now());
|
|
17
|
+
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
18
|
+
*/
|
|
19
|
+
var now = function() {
|
|
20
|
+
return root.Date.now();
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
var now$1 = now;
|
|
24
|
+
|
|
25
|
+
export { now$1 as default };
|
|
26
|
+
//# sourceMappingURL=now.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"now.js","sources":["../../../../../node_modules/lodash-es/now.js"],"sourcesContent":["import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n"],"names":[],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,GAAG,GAAG,WAAW;AACrB,EAAE,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;AACzB,CAAC,CAAC;AACF;AACA,YAAe,GAAG;;;;"}
|