@operato/utils 8.0.0-beta.2 → 8.1.0
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/CHANGELOG.md +7 -41
- package/dist/src/context-path.d.ts +1 -0
- package/dist/src/context-path.js +4 -3
- package/dist/src/context-path.js.map +1 -1
- package/dist/src/mixins/index.d.ts +0 -1
- package/dist/src/mixins/index.js +0 -1
- package/dist/src/mixins/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -18
- package/dist/src/gesture-helper.d.ts +0 -35
- package/dist/src/gesture-helper.js +0 -111
- package/dist/src/gesture-helper.js.map +0 -1
- package/dist/src/mixins/gesture-mixin.d.ts +0 -393
- package/dist/src/mixins/gesture-mixin.js +0 -119
- package/dist/src/mixins/gesture-mixin.js.map +0 -1
package/CHANGELOG.md
CHANGED
@@ -3,43 +3,16 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
## [8.
|
6
|
+
## [8.1.0](https://github.com/hatiolab/operato/compare/v8.0.3...v8.1.0) (2025-02-19)
|
7
7
|
|
8
8
|
|
9
|
-
### :
|
10
|
-
|
11
|
-
* typo .npmignore ([d9c0c8c](https://github.com/hatiolab/operato/commit/d9c0c8c79abc688c3c2cfb6c37fcb689483a5977))
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
## [8.0.0-beta.1](https://github.com/hatiolab/operato/compare/v8.0.0-beta.0...v8.0.0-beta.1) (2025-01-08)
|
16
|
-
|
17
|
-
|
18
|
-
### :bug: Bug Fix
|
19
|
-
|
20
|
-
* missing .npmignore ([be05985](https://github.com/hatiolab/operato/commit/be05985abfae4af53501f718dd52932099f7fbcb))
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
## [8.0.0-beta.0](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.56...v8.0.0-beta.0) (2025-01-07)
|
25
|
-
|
26
|
-
**Note:** Version bump only for package @operato/utils
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
## [8.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.36...v8.0.0-alpha.37) (2024-10-20)
|
33
|
-
|
34
|
-
|
35
|
-
### :bug: Bug Fix
|
9
|
+
### :rocket: New Features
|
36
10
|
|
37
|
-
*
|
38
|
-
* update dev-dependencies version ([d6fe342](https://github.com/hatiolab/operato/commit/d6fe342de738c6bad3528550a862b5a1d2573161))
|
11
|
+
* support domain-type for context-aware multi-tenancy ([885369a](https://github.com/hatiolab/operato/commit/885369a7bce2dd377e3c2473f5384cc9b61ba077))
|
39
12
|
|
40
13
|
|
41
14
|
|
42
|
-
## [8.0.0
|
15
|
+
## [8.0.0](https://github.com/hatiolab/operato/compare/v7.1.33...v8.0.0) (2025-01-14)
|
43
16
|
|
44
17
|
**Note:** Version bump only for package @operato/utils
|
45
18
|
|
@@ -47,20 +20,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
47
20
|
|
48
21
|
|
49
22
|
|
50
|
-
|
23
|
+
### [7.1.32](https://github.com/hatiolab/operato/compare/v7.1.31...v7.1.32) (2025-01-11)
|
51
24
|
|
52
25
|
|
53
26
|
### :bug: Bug Fix
|
54
27
|
|
55
|
-
*
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
## [8.0.0-alpha.0](https://github.com/hatiolab/operato/compare/v7.1.1...v8.0.0-alpha.0) (2024-09-01)
|
60
|
-
|
61
|
-
**Note:** Version bump only for package @operato/utils
|
62
|
-
|
63
|
-
|
28
|
+
* missing .npmignore ([03db207](https://github.com/hatiolab/operato/commit/03db207498088b294ccfb9645f6839c2f11645d5))
|
29
|
+
* typo .npmignore ([df91cae](https://github.com/hatiolab/operato/commit/df91caea0f5938a3febd9307184e5b036a65e2bd))
|
64
30
|
|
65
31
|
|
66
32
|
|
package/dist/src/context-path.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
* It captures the contextPath, prefix, domain, and path.
|
4
4
|
* Example: /contextPathPrefix/domain/path/to/resource
|
5
5
|
*/
|
6
|
-
var CONTEXT_PATH_PREFIX = 'domain
|
6
|
+
var CONTEXT_PATH_PREFIX = 'domain';
|
7
7
|
/**
|
8
8
|
* Parses the given pathname and extracts information about the contextPath, prefix, domain, and path.
|
9
9
|
*
|
@@ -25,6 +25,7 @@ export function getPathInfo(pathname) {
|
|
25
25
|
contextPath,
|
26
26
|
prefix,
|
27
27
|
domain,
|
28
|
+
subdomain: domain,
|
28
29
|
path
|
29
30
|
};
|
30
31
|
}
|
@@ -34,7 +35,7 @@ export function getPathInfo(pathname) {
|
|
34
35
|
* @param {string} contextPathPrefix - The new context path prefix to set.
|
35
36
|
*/
|
36
37
|
export function setContextPathPrefix(contextPathPrefix) {
|
37
|
-
console.log('context-path-prefix was just set to ', `'${contextPathPrefix || 'domain
|
38
|
-
CONTEXT_PATH_PREFIX = contextPathPrefix || 'domain
|
38
|
+
console.log('context-path-prefix was just set to ', `'${contextPathPrefix || 'domain'}'`);
|
39
|
+
CONTEXT_PATH_PREFIX = contextPathPrefix || 'domain';
|
39
40
|
}
|
40
41
|
//# sourceMappingURL=context-path.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context-path.js","sourceRoot":"","sources":["../../src/context-path.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAI,mBAAmB,GAAG,
|
1
|
+
{"version":3,"file":"context-path.js","sourceRoot":"","sources":["../../src/context-path.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAI,mBAAmB,GAAG,QAAQ,CAAA;AAElC;;;;;;;;;GASG;AACH,MAAM,UAAU,WAAW,CAAC,QAAgB;IAC1C,IAAI,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,mBAAmB,mBAAmB,CAAC,CAAA;IACrE,IAAI,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IACpC,IAAI,WAAW,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,KAAI,EAAE,CAAA;IACpC,IAAI,MAAM,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,KAAI,EAAE,CAAA;IAC/B,IAAI,MAAM,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,KAAI,EAAE,CAAA;IAC/B,IAAI,IAAI,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,CAAC,CAAC,CAAA;IAEvB,OAAO;QACL,WAAW;QACX,MAAM;QACN,MAAM;QACN,SAAS,EAAE,MAAM;QACjB,IAAI;KACL,CAAA;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,iBAA0B;IAC7D,OAAO,CAAC,GAAG,CAAC,sCAAsC,EAAE,IAAI,iBAAiB,IAAI,QAAQ,GAAG,CAAC,CAAA;IACzF,mBAAmB,GAAG,iBAAiB,IAAI,QAAQ,CAAA;AACrD,CAAC","sourcesContent":["/**\n * A regular expression pattern used to parse the pathname into different parts.\n * It captures the contextPath, prefix, domain, and path.\n * Example: /contextPathPrefix/domain/path/to/resource\n */\nvar CONTEXT_PATH_PREFIX = 'domain'\n\n/**\n * Parses the given pathname and extracts information about the contextPath, prefix, domain, and path.\n *\n * @param {string} pathname - The pathname to parse.\n * @returns {object} - An object containing the parsed information:\n * - contextPath: The context path portion of the pathname.\n * - prefix: The prefix portion of the pathname.\n * - domain: The domain portion of the pathname.\n * - path: The remaining path after contextPath, prefix, and domain.\n */\nexport function getPathInfo(pathname: string) {\n var regexp = new RegExp(`(/(${CONTEXT_PATH_PREFIX})/([^/]+))?(/?.*)`)\n var matched = pathname.match(regexp)\n var contextPath = matched?.[1] || ''\n var prefix = matched?.[2] || ''\n var domain = matched?.[3] || ''\n var path = matched?.[4]\n\n return {\n contextPath,\n prefix,\n domain,\n subdomain: domain,\n path\n }\n}\n\n/**\n * Sets the context path prefix used for parsing pathnames.\n *\n * @param {string} contextPathPrefix - The new context path prefix to set.\n */\nexport function setContextPathPrefix(contextPathPrefix?: string) {\n console.log('context-path-prefix was just set to ', `'${contextPathPrefix || 'domain'}'`)\n CONTEXT_PATH_PREFIX = contextPathPrefix || 'domain'\n}\n"]}
|
package/dist/src/mixins/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA","sourcesContent":["export { default as InfiniteScrollable } from './infinite-scrollable.js'\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/adjust-list-param.ts","../src/async-lock.ts","../src/clipboard.ts","../src/closest-element.ts","../src/context-path.ts","../src/cookie.ts","../src/decode-html.ts","../src/detect-overflow.ts","../src/encode-form-params.ts","../src/file-drop-helper.ts","../src/format.ts","../src/fullscreen.ts","../src/gesture-helper.ts","../src/has-overflow.ts","../src/sleep.ts","../src/os.ts","../src/swipe-listener.ts","../src/parse-jwt.ts","../src/password-pattern.ts","../src/logger.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/debounce.d.ts","../src/timecapsule/snapshot-taker.ts","../src/timecapsule/timecapsule.ts","../src/timecapsule/index.ts","../src/is-unvalued.ts","../src/stringify-bignum.ts","../src/number-parser.ts","../src/longpressable.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit-html/is-server.d.ts","../../../node_modules/lit/index.d.ts","../src/reactive-controllers/tooltip-reactive-controller.ts","../src/reactive-controllers/index.ts","../src/index.ts","../src/mixins/gesture-mixin.ts","../src/mixins/infinite-scrollable.ts","../src/mixins/index.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileIdsList":[[109,152],[89,90,109,152],[80,109,152],[68,70,71,72,73,74,75,76,77,78,79,80,109,152],[68,69,71,72,73,74,75,76,77,78,79,80,109,152],[69,70,71,72,73,74,75,76,77,78,79,80,109,152],[68,69,70,72,73,74,75,76,77,78,79,80,109,152],[68,69,70,71,73,74,75,76,77,78,79,80,109,152],[68,69,70,71,72,74,75,76,77,78,79,80,109,152],[68,69,70,71,72,73,75,76,77,78,79,80,109,152],[68,69,70,71,72,73,74,76,77,78,79,80,109,152],[68,69,70,71,72,73,74,75,77,78,79,80,109,152],[68,69,70,71,72,73,74,75,76,78,79,80,109,152],[68,69,70,71,72,73,74,75,76,77,79,80,109,152],[68,69,70,71,72,73,74,75,76,77,78,80,109,152],[68,69,70,71,72,73,74,75,76,77,78,79,109,152],[109,149,152],[109,151,152],[152],[109,152,157,187],[109,152,153,158,164,165,172,184,195],[109,152,153,154,164,172],[104,105,106,109,152],[109,152,155,196],[109,152,156,157,165,173],[109,152,157,184,192],[109,152,158,160,164,172],[109,151,152,159],[109,152,160,161],[109,152,164],[109,152,162,164],[109,151,152,164],[109,152,164,165,166,184,195],[109,152,164,165,166,179,184,187],[109,147,152,200],[109,147,152,160,164,167,172,184,195],[109,152,164,165,167,168,172,184,192,195],[109,152,167,169,184,192,195],[107,108,109,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],[109,152,164,170],[109,152,171,195,200],[109,152,160,164,172,184],[109,152,173],[109,152,174],[109,151,152,175],[109,149,150,151,152,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],[109,152,177],[109,152,178],[109,152,164,179,180],[109,152,179,181,196,198],[109,152,164,184,185,186,187],[109,152,184,186],[109,152,184,185],[109,152,187],[109,152,188],[109,149,152,184],[109,152,164,190,191],[109,152,190,191],[109,152,157,172,184,192],[109,152,193],[109,152,172,194],[109,152,167,178,195],[109,152,157,196],[109,152,184,197],[109,152,171,198],[109,152,199],[109,152,157,164,166,175,184,195,198,200],[109,152,184,201],[91,94,109,152],[94,109,152],[92,93,109,152],[91,94,95,96,109,152],[109,119,123,152,195],[109,119,152,184,195],[109,114,152],[109,116,119,152,192,195],[109,152,172,192],[109,152,202],[109,114,152,202],[109,116,119,152,172,195],[109,111,112,115,118,152,164,184,195],[109,119,126,152],[109,111,117,152],[109,119,140,141,152],[109,115,119,152,187,195,202],[109,140,152,202],[109,113,114,152,202],[109,119,152],[109,113,114,115,116,117,118,119,120,121,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,141,142,143,144,145,146,152],[109,119,134,152],[109,119,126,127,152],[109,117,119,127,128,152],[109,118,152],[109,111,114,119,152],[109,119,123,127,128,152],[109,123,152],[109,117,119,122,152,195],[109,111,116,119,126,152],[109,152,184],[109,114,119,140,152,200,202],[47,109,152],[47,48,49,50,51,52,53,54,55,56,57,58,59,61,62,63,64,65,66,84,85,86,87,88,99,109,152],[47,101,102,109,152],[47,81,109,152],[47,98,109,152],[47,61,97,109,152],[47,82,83,109,152],[47,81,83,109,152],[47,67,82,109,152]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"973ff19d4b21d528741d19ef8ae1a6192806e7fbe18e2b414dae6a5eb4ce1c18","signature":"098ec42cd54c2b3354584c4fe8ad143040114891dde762741522b62788772f0d"},{"version":"3c004a51a1d43261e6411e7c6934185e3f2f66126c64c0817b5b9181870086e2","signature":"f5800813e5c0d6c27d73b76f2c99f39bdfd6229d03553a8a9ae485f6aeb94425"},{"version":"c65636fa3cea14ad6a96f3c01bcc30d9f83c6e6095864b5e20190fef7d0e30eb","signature":"7fcb76be88d4a64f6318b5a24b57021d7463f24485a3d1a931bf664c7e437534"},{"version":"e16b98f53c89fc764db968b0ef9dce28a0f0d039439851eea30fab962ca2cdeb","signature":"7efea6f2270a14f1b0d5f472f2a6fcb0a97beb677299e10b073cc2abdabeef51"},{"version":"4c7799288b1bd167612ecedf9fe0f2563904ce78809c161536799a16b1b15901","signature":"6cf5098c7bf0c14358b656edd6103df1ae9f8c6a94abca9df8650c2b520d8096"},{"version":"644c5f408a19dac2fb6e89eae85ff930d51a88414da6e762e572f49eecb81ab4","signature":"dc2461db89dde29306a73a2926e2cf874e981ef034412f4d1e3d06d45bb3127e"},{"version":"9796074435e67376d48ec509ef8249ac69caeedfb942a2cc6daf9a86b4335396","signature":"4f69dd36aa514494e2665a9dd1ecbb94f705c37f13554aa6f0c4b55d47dcfec1"},{"version":"8f09cc9e905cb1d54d2d863de2bafbb1c0c4f20e979a07e4edc2a29361798de7","signature":"642bd83dc8b11abc31785975f869fea5ab2dd84246acd13c6ad7e769fea95150"},{"version":"8e8f663fe7c4665c984072bb694c8bd5303afb5bc64ebc1edfb7637677dcc80d","signature":"cb2de9f1d7d286191834eeb331d23dc69eeb322745114ddad1695e4c575b5feb"},{"version":"69ef8de8a4e2551f1a0e21d82a04d233fb5d7d8a1f8db661a1a18e880b4e7545","signature":"4d5e201faa4bceca840b652dfc10795170c061f498e19429a06e056490aa69aa"},{"version":"dd40099f356d530470a658ec27886f29fc679f27a2bd6fc0eef98e492596343c","signature":"d75490903da576f8fd0ee1c990858cb31e605d3db925593c12728bd0949eedfe"},{"version":"b18b9acb5cff76a70fec4f1effd260b9f956bba6edb28c1e160979f0b9a51dd6","signature":"85e0f00b17c3ae8cd88438c754a2c43f4a9361e685b97a70e52e33afbf62488f"},{"version":"ee87fbfa3a85b52bb5c846d4858c144f16229ae0fa4aafed002d0a0d4a9e3aa0","signature":"c5dbee891258a55a6f5f77c066373fe37f97f19d3a5adcda1e4c7cfb513c525d"},{"version":"6d3648445c8620b2330d9fb7c2caea528e3c4e079437959516b853c8cc360754","signature":"712dbb6cc6020b1dae2a2031b8a117717318652f73fd5042d508f7de416c47b7"},{"version":"d9e51838c1aa2a91b7d2a495adb92ab70eb35c81fcd3b359c2509903958bf3f8","signature":"05cfea0488751015b0b85911b6cdcde7c6cebdd9b8cada1ec0b5c1736357a552"},{"version":"a1953ae5bbf52b027ed3044bf32024e21994345c8a05d0aaa3902e08c033c803","signature":"ee11b7061adce4a1c0370620949a57851215b152a5632d2faf1aedbc90ad0520"},{"version":"d1d0e3e5bd9e070e932c938bd580da6fce3b6a9e230b7156584f7b38ce3a9c4e","signature":"f8c86fcbfb0a1e69a0ed28d3249cc33c312fa23a39c17e15cbbcc539bdcdc303"},{"version":"f1f7164489347eacf6f1239bcae173a72047ee9be4ba8cd7f4f6af42e8155ce8","signature":"39d2d450df6efbf38585fd316f18922c8ac3fdfd4c3fc412d0bee34e2bc86378"},{"version":"995abaa0980d5f0e01b0c4723c203194a3ea4b289ea814afdcc6ec9df478488c","signature":"4dcdfe4c18557fc02d8cb22cb422cb98bfeba8158aaf18cc66f9d99293ebe2c8"},{"version":"2d95c27112bfd3344d29539192bbdd69996f276fb24e061932d8043f3a9ef26f","signature":"bc971f58cf8cef65c3e5a4d37539b96e1f8d19b5c662e9ab796b62c9a63cc0c0"},{"version":"7220461ab7f6d600b313ce621346c315c3a0ebc65b5c6f268488c5c55b68d319","impliedFormat":1},{"version":"f90d4c1ae3af9afb35920b984ba3e41bdd43f0dc7bae890b89fbd52b978f0cac","impliedFormat":1},{"version":"fcf79300e5257a23ed3bacaa6861d7c645139c6f7ece134d15e6669447e5e6db","impliedFormat":1},{"version":"187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","impliedFormat":1},{"version":"aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","impliedFormat":1},{"version":"b88749bdb18fc1398370e33aa72bc4f88274118f4960e61ce26605f9b33c5ba2","impliedFormat":1},{"version":"0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","impliedFormat":1},{"version":"00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","impliedFormat":1},{"version":"bdf0ed7d9ebae6175a5d1b4ec4065d07f8099379370a804b1faff05004dc387d","impliedFormat":1},{"version":"7c14ccd2eaa82619fffc1bfa877eb68a012e9fb723d07ee98db451fadb618906","impliedFormat":1},{"version":"288d992cd0d35fd4bb5a0f23df62114b8bfbc53e55b96a4ad00dde7e6fb72e31","impliedFormat":1},{"version":"df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","impliedFormat":1},{"version":"4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","impliedFormat":1},{"version":"a862dcb740371257e3dae1ab379b0859edcb5119484f8359a5e6fb405db9e12e","impliedFormat":99},{"version":"c169e9579cc2e83f78561e54b8e76d8474f28f01606dfc622823a8bb6478a2eb","signature":"3df6a0e8bdb7199dff6cf75c0250316f06b87c982bb47460960a1c5a793f5ca6"},{"version":"fb6284b223f3580ff8a5bc75b24824f80ea7b2f32afcae4aee7c6bd73802179c","signature":"b3238dd00b7796eda3f507726e9882a55ff7043b249be8309abed22cfb7d7463"},{"version":"b3725f31a113200e0a0266278f33e64ba879874b0acf6837054f9acd34719588","signature":"f499d7fb533781939c7a5ab778ac6e6c8ffe65601b1a61a843c36ee0013f05b6"},{"version":"4d8db0ef58073a950c6a985b0d1313a358c888e491d5d9a4d5a0777d84351c9a","signature":"1e73d612f806d183d6c16c4135c16c1a14dd827c1a67097e72ab1841852bfcb9"},{"version":"8e485e375afaab51fdf32972879fa40758471dc93fc9c2484ad16542fd9a8fdb","signature":"30046b0787c577061d43e498b507da8a249fbc58bbe33a09a7bef777e1d5fb67"},{"version":"679a664272f576edc7a22e5d35e1a050634eac2f0a2564c704f380e653e4f4b7","signature":"13a5d8ec52111b64ed8fdcb47ab664b60085733c46c44aede33fd2926840ac31"},{"version":"9544dfae3085b4d978f768b14b591c75a2d811d28ea006075bfb1428ff9da82e","signature":"1cf02270a889fcc3fa5863734fcdbea410d3b4dd71e4678a894a48028f836f6e"},{"version":"e056bb30bf82271634daeee81f772f4a7960085f01f6d4d09c8da1ebe5f6a623","impliedFormat":99},{"version":"5e30131b6a5587fe666926ad1d9807e733c0a597ed12d682669fcaa331aea576","impliedFormat":99},{"version":"86492a546c3308feaf1dde967afd325c321483b5e96f5fa9e9b6e691dc23fa9e","affectsGlobalScope":true,"impliedFormat":99},{"version":"00cb63103f9670f8094c238a4a7e252c8b4c06ba371fea5c44add7e41b7247e4","impliedFormat":99},{"version":"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e","impliedFormat":1},{"version":"43f58358870effc43ba93c92c040dee2285cbd8685ddfa77658e498780727c4e","impliedFormat":99},{"version":"9a318e3a8900672b85cd3c8c3a5acf51b88049557a3ae897ccdcf2b85a8f61f9","impliedFormat":99},{"version":"1bcd560deed90a43c51b08aa18f7f55229f2e30974ab5ed1b7bb5721be379013","impliedFormat":99},{"version":"dc08fe04e50bc24d1baded4f33e942222bbdd5d77d6341a93cfe6e4e4586a3be","impliedFormat":99},{"version":"c0ed68d549423698661f1b55e4a3747c0a92420bc8871119b66531e8867666c6","signature":"c88faa2f2d9778aa0b4dedc2bfde0990b0beea6c45b0fc7d4a79e1294ebe8cb0"},{"version":"8961b63c842af1026b9e1e6f67cba3cae570b0011168719c538d950f202b3689","signature":"51f3be4aa09529ea1ad83a3d66830075a49e3e630df25d9892ef5708bb00de55"},{"version":"c675bb21cfe468c2c5954085a1b94afe505064abeadeb692a8b93944b518f231","signature":"1bdef5c3270439174be1f8668f4e2d9b0e61be67f10e5dc770b4b7562caf04bb"},{"version":"3bbb53998a74e51791c8f2e486c40c52673a959c1aedf69963158050b190c977","signature":"5565a0a9b1f8334d25d8f6eaf4891af84e755c1491ac8434c0d5815c69beb5a9"},{"version":"f9520a64036c4378b6617c0e414d8f02f5ce3bcc2a7b0a929a319e7e3f9c6800","signature":"156f461ef172e70226132dc36df4b72f7e77ae88523aaad9f0440307a53bda36"},{"version":"1221a7ea8180d1043bfc5ef1b465557a4e6273332162496d6153f3d2464d5261","signature":"17d71b30f5026430a24d17f3461963d25b6ebee5a38d9effebc59d00cd93072d"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fd06258805d26c72f5997e07a23155d322d5f05387adb3744a791fe6a0b042d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"ba97261afafe85aafe76d988e65e531da8e8cf791c49caf0531f5dd1689bd91b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f52e8dacc97d71dcc96af29e49584353f9c54cb916d132e3e768d8b8129c928d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"24642567d3729bcc545bacb65ee7c0db423400c7f1ef757cab25d05650064f98","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"e9ad08a376ac84948fcca0013d6f1d4ae4f9522e26b91f87945b97c99d7cc30b","impliedFormat":1},{"version":"eaf9ee1d90a35d56264f0bf39842282c58b9219e112ac7d0c1bce98c6c5da672","impliedFormat":1},{"version":"c15c4427ae7fd1dcd7f312a8a447ac93581b0d4664ddf151ecd07de4bf2bb9d7","impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","impliedFormat":1},{"version":"4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"07562498d06bc1db00536c886f38e5f9892f8aef7a3720a25db714be4c775952","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4047ed87e765bd3bcc316a0c4c4c8b0061628460d8a5412d1c4b53a4658665a","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"3eb62baae4df08c9173e6903d3ca45942ccec8c3659b0565684a75f3292cffbb","affectsGlobalScope":true,"impliedFormat":1},{"version":"a85683ef86875f4ad4c6b7301bbcc63fb379a8d80d3d3fd735ee57f48ef8a47e","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","impliedFormat":1},{"version":"58832ded29e0094047596544ac391d68c799d7bd7d35936f47221857141628f1","impliedFormat":1},{"version":"553870e516f8c772b89f3820576152ebc70181d7994d96917bb943e37da7f8a7","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"9212c6e9d80cb45441a3614e95afd7235a55a18584c2ed32d6c1aca5a0c53d93","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"6bd91a2a356600dee28eb0438082d0799a18a974a6537c4410a796bab749813c","affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","impliedFormat":1},{"version":"ae25afbbf1ed5df63a177d67b9048bf7481067f1b8dc9c39212e59db94fc9fc6","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"29f72ec1289ae3aeda78bf14b38086d3d803262ac13904b400422941a26a3636","affectsGlobalScope":true,"impliedFormat":1}],"root":[[48,67],[82,88],[98,103]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"referencedMap":[[89,1],[90,1],[91,2],[81,3],[69,4],[70,5],[68,6],[71,7],[72,8],[73,9],[74,10],[75,11],[76,12],[77,13],[78,14],[79,15],[80,16],[203,1],[149,17],[150,17],[151,18],[109,19],[152,20],[153,21],[154,22],[104,1],[107,23],[105,1],[106,1],[155,24],[156,25],[157,26],[158,27],[159,28],[160,29],[161,29],[163,30],[162,31],[164,32],[165,33],[166,34],[148,35],[108,1],[167,36],[168,37],[169,38],[202,39],[170,40],[171,41],[172,42],[173,43],[174,44],[175,45],[176,46],[177,47],[178,48],[179,49],[180,49],[181,50],[182,1],[183,1],[184,51],[186,52],[185,53],[187,54],[188,55],[189,56],[190,57],[191,58],[192,59],[193,60],[194,61],[195,62],[196,63],[197,64],[198,65],[199,66],[200,67],[201,68],[93,1],[110,1],[95,69],[92,70],[96,1],[94,71],[97,72],[47,1],[45,1],[46,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[19,1],[20,1],[4,1],[21,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[1,1],[126,73],[136,74],[125,73],[146,75],[117,76],[116,77],[145,78],[139,79],[144,80],[119,81],[133,82],[118,83],[142,84],[114,85],[113,78],[143,86],[115,87],[120,88],[121,1],[124,88],[111,1],[147,89],[137,90],[128,91],[129,92],[131,93],[127,94],[130,95],[140,78],[122,96],[123,97],[132,98],[112,99],[135,90],[134,88],[138,1],[141,100],[48,101],[49,101],[50,101],[51,101],[52,101],[53,101],[54,101],[55,101],[56,101],[57,101],[58,101],[59,101],[60,101],[61,101],[100,102],[85,101],[67,101],[88,101],[101,101],[103,103],[102,104],[87,101],[63,101],[65,101],[66,101],[99,105],[98,106],[62,101],[86,101],[64,101],[84,107],[82,108],[83,109]],"version":"5.7.2"}
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/adjust-list-param.ts","../src/async-lock.ts","../src/clipboard.ts","../src/closest-element.ts","../src/context-path.ts","../src/cookie.ts","../src/decode-html.ts","../src/detect-overflow.ts","../src/encode-form-params.ts","../src/file-drop-helper.ts","../src/format.ts","../src/fullscreen.ts","../src/has-overflow.ts","../src/sleep.ts","../src/os.ts","../src/swipe-listener.ts","../src/parse-jwt.ts","../src/password-pattern.ts","../src/logger.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/debounce.d.ts","../src/timecapsule/snapshot-taker.ts","../src/timecapsule/timecapsule.ts","../src/timecapsule/index.ts","../src/is-unvalued.ts","../src/stringify-bignum.ts","../src/number-parser.ts","../src/longpressable.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit-html/is-server.d.ts","../../../node_modules/lit/index.d.ts","../src/reactive-controllers/tooltip-reactive-controller.ts","../src/reactive-controllers/index.ts","../src/index.ts","../src/mixins/infinite-scrollable.ts","../src/mixins/index.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileIdsList":[[107,150],[88,89,107,150],[79,107,150],[67,69,70,71,72,73,74,75,76,77,78,79,107,150],[67,68,70,71,72,73,74,75,76,77,78,79,107,150],[68,69,70,71,72,73,74,75,76,77,78,79,107,150],[67,68,69,71,72,73,74,75,76,77,78,79,107,150],[67,68,69,70,72,73,74,75,76,77,78,79,107,150],[67,68,69,70,71,73,74,75,76,77,78,79,107,150],[67,68,69,70,71,72,74,75,76,77,78,79,107,150],[67,68,69,70,71,72,73,75,76,77,78,79,107,150],[67,68,69,70,71,72,73,74,76,77,78,79,107,150],[67,68,69,70,71,72,73,74,75,77,78,79,107,150],[67,68,69,70,71,72,73,74,75,76,78,79,107,150],[67,68,69,70,71,72,73,74,75,76,77,79,107,150],[67,68,69,70,71,72,73,74,75,76,77,78,107,150],[107,147,150],[107,149,150],[150],[107,150,155,185],[107,150,151,156,162,163,170,182,193],[107,150,151,152,162,170],[102,103,104,107,150],[107,150,153,194],[107,150,154,155,163,171],[107,150,155,182,190],[107,150,156,158,162,170],[107,149,150,157],[107,150,158,159],[107,150,162],[107,150,160,162],[107,149,150,162],[107,150,162,163,164,182,193],[107,150,162,163,164,177,182,185],[107,145,150,198],[107,145,150,158,162,165,170,182,193],[107,150,162,163,165,166,170,182,190,193],[107,150,165,167,182,190,193],[105,106,107,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[107,150,162,168],[107,150,169,193],[107,150,158,162,170,182],[107,150,171],[107,150,172],[107,149,150,173],[107,147,148,149,150,151,152,153,154,155,156,157,158,159,160,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[107,150,175],[107,150,176],[107,150,162,177,178],[107,150,177,179,194,196],[107,150,162,182,183,184,185],[107,150,182,184],[107,150,182,183],[107,150,185],[107,150,186],[107,147,150,182],[107,150,162,188,189],[107,150,188,189],[107,150,155,170,182,190],[107,150,191],[107,150,170,192],[107,150,165,176,193],[107,150,155,194],[107,150,182,195],[107,150,169,196],[107,150,197],[107,150,155,162,164,173,182,193,196,198],[107,150,182,199],[90,93,107,150],[93,107,150],[91,92,107,150],[90,93,94,95,107,150],[107,117,121,150,193],[107,117,150,182,193],[107,112,150],[107,114,117,150,190,193],[107,150,170,190],[107,150,200],[107,112,150,200],[107,114,117,150,170,193],[107,109,110,113,116,150,162,182,193],[107,117,124,150],[107,109,115,150],[107,117,138,139,150],[107,113,117,150,185,193,200],[107,138,150,200],[107,111,112,150,200],[107,117,150],[107,111,112,113,114,115,116,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,150],[107,117,132,150],[107,117,124,125,150],[107,115,117,125,126,150],[107,116,150],[107,109,112,117,150],[107,117,121,125,126,150],[107,121,150],[107,115,117,120,150,193],[107,109,114,117,124,150],[107,150,182],[107,112,117,138,150,198,200],[47,107,150],[47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,83,84,85,86,87,98,107,150],[47,100,107,150],[47,80,107,150],[47,97,107,150],[47,60,96,107,150],[47,81,82,107,150],[47,80,82,107,150],[47,66,81,107,150]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"973ff19d4b21d528741d19ef8ae1a6192806e7fbe18e2b414dae6a5eb4ce1c18","signature":"098ec42cd54c2b3354584c4fe8ad143040114891dde762741522b62788772f0d"},{"version":"3c004a51a1d43261e6411e7c6934185e3f2f66126c64c0817b5b9181870086e2","signature":"f5800813e5c0d6c27d73b76f2c99f39bdfd6229d03553a8a9ae485f6aeb94425"},{"version":"c65636fa3cea14ad6a96f3c01bcc30d9f83c6e6095864b5e20190fef7d0e30eb","signature":"7fcb76be88d4a64f6318b5a24b57021d7463f24485a3d1a931bf664c7e437534"},{"version":"e16b98f53c89fc764db968b0ef9dce28a0f0d039439851eea30fab962ca2cdeb","signature":"7efea6f2270a14f1b0d5f472f2a6fcb0a97beb677299e10b073cc2abdabeef51"},{"version":"2c7cc07d4b9035ad31020a164295784fb2a0042263ea4384670f77a63f5d0977","signature":"b085d2f3c839ad9634c9b1ea8bb2d4e3a321af1392d8ac44a79b99c0d8d194aa"},{"version":"644c5f408a19dac2fb6e89eae85ff930d51a88414da6e762e572f49eecb81ab4","signature":"dc2461db89dde29306a73a2926e2cf874e981ef034412f4d1e3d06d45bb3127e"},{"version":"9796074435e67376d48ec509ef8249ac69caeedfb942a2cc6daf9a86b4335396","signature":"4f69dd36aa514494e2665a9dd1ecbb94f705c37f13554aa6f0c4b55d47dcfec1"},{"version":"8f09cc9e905cb1d54d2d863de2bafbb1c0c4f20e979a07e4edc2a29361798de7","signature":"642bd83dc8b11abc31785975f869fea5ab2dd84246acd13c6ad7e769fea95150"},{"version":"8e8f663fe7c4665c984072bb694c8bd5303afb5bc64ebc1edfb7637677dcc80d","signature":"cb2de9f1d7d286191834eeb331d23dc69eeb322745114ddad1695e4c575b5feb"},{"version":"69ef8de8a4e2551f1a0e21d82a04d233fb5d7d8a1f8db661a1a18e880b4e7545","signature":"4d5e201faa4bceca840b652dfc10795170c061f498e19429a06e056490aa69aa"},{"version":"dd40099f356d530470a658ec27886f29fc679f27a2bd6fc0eef98e492596343c","signature":"d75490903da576f8fd0ee1c990858cb31e605d3db925593c12728bd0949eedfe"},{"version":"b18b9acb5cff76a70fec4f1effd260b9f956bba6edb28c1e160979f0b9a51dd6","signature":"85e0f00b17c3ae8cd88438c754a2c43f4a9361e685b97a70e52e33afbf62488f"},{"version":"6d3648445c8620b2330d9fb7c2caea528e3c4e079437959516b853c8cc360754","signature":"712dbb6cc6020b1dae2a2031b8a117717318652f73fd5042d508f7de416c47b7"},{"version":"d9e51838c1aa2a91b7d2a495adb92ab70eb35c81fcd3b359c2509903958bf3f8","signature":"05cfea0488751015b0b85911b6cdcde7c6cebdd9b8cada1ec0b5c1736357a552"},{"version":"a1953ae5bbf52b027ed3044bf32024e21994345c8a05d0aaa3902e08c033c803","signature":"ee11b7061adce4a1c0370620949a57851215b152a5632d2faf1aedbc90ad0520"},{"version":"d1d0e3e5bd9e070e932c938bd580da6fce3b6a9e230b7156584f7b38ce3a9c4e","signature":"f8c86fcbfb0a1e69a0ed28d3249cc33c312fa23a39c17e15cbbcc539bdcdc303"},{"version":"f1f7164489347eacf6f1239bcae173a72047ee9be4ba8cd7f4f6af42e8155ce8","signature":"39d2d450df6efbf38585fd316f18922c8ac3fdfd4c3fc412d0bee34e2bc86378"},{"version":"995abaa0980d5f0e01b0c4723c203194a3ea4b289ea814afdcc6ec9df478488c","signature":"4dcdfe4c18557fc02d8cb22cb422cb98bfeba8158aaf18cc66f9d99293ebe2c8"},{"version":"2d95c27112bfd3344d29539192bbdd69996f276fb24e061932d8043f3a9ef26f","signature":"bc971f58cf8cef65c3e5a4d37539b96e1f8d19b5c662e9ab796b62c9a63cc0c0"},{"version":"7220461ab7f6d600b313ce621346c315c3a0ebc65b5c6f268488c5c55b68d319","impliedFormat":1},{"version":"f90d4c1ae3af9afb35920b984ba3e41bdd43f0dc7bae890b89fbd52b978f0cac","impliedFormat":1},{"version":"fcf79300e5257a23ed3bacaa6861d7c645139c6f7ece134d15e6669447e5e6db","impliedFormat":1},{"version":"187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","impliedFormat":1},{"version":"aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","impliedFormat":1},{"version":"b88749bdb18fc1398370e33aa72bc4f88274118f4960e61ce26605f9b33c5ba2","impliedFormat":1},{"version":"0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","impliedFormat":1},{"version":"00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","impliedFormat":1},{"version":"a873c50d3e47c21aa09fbe1e2023d9a44efb07cc0cb8c72f418bf301b0771fd3","impliedFormat":1},{"version":"7c14ccd2eaa82619fffc1bfa877eb68a012e9fb723d07ee98db451fadb618906","impliedFormat":1},{"version":"288d992cd0d35fd4bb5a0f23df62114b8bfbc53e55b96a4ad00dde7e6fb72e31","impliedFormat":1},{"version":"df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","impliedFormat":1},{"version":"4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","impliedFormat":1},{"version":"a862dcb740371257e3dae1ab379b0859edcb5119484f8359a5e6fb405db9e12e","impliedFormat":99},{"version":"c169e9579cc2e83f78561e54b8e76d8474f28f01606dfc622823a8bb6478a2eb","signature":"3df6a0e8bdb7199dff6cf75c0250316f06b87c982bb47460960a1c5a793f5ca6"},{"version":"fb6284b223f3580ff8a5bc75b24824f80ea7b2f32afcae4aee7c6bd73802179c","signature":"b3238dd00b7796eda3f507726e9882a55ff7043b249be8309abed22cfb7d7463"},{"version":"b3725f31a113200e0a0266278f33e64ba879874b0acf6837054f9acd34719588","signature":"f499d7fb533781939c7a5ab778ac6e6c8ffe65601b1a61a843c36ee0013f05b6"},{"version":"4d8db0ef58073a950c6a985b0d1313a358c888e491d5d9a4d5a0777d84351c9a","signature":"1e73d612f806d183d6c16c4135c16c1a14dd827c1a67097e72ab1841852bfcb9"},{"version":"8e485e375afaab51fdf32972879fa40758471dc93fc9c2484ad16542fd9a8fdb","signature":"30046b0787c577061d43e498b507da8a249fbc58bbe33a09a7bef777e1d5fb67"},{"version":"679a664272f576edc7a22e5d35e1a050634eac2f0a2564c704f380e653e4f4b7","signature":"13a5d8ec52111b64ed8fdcb47ab664b60085733c46c44aede33fd2926840ac31"},{"version":"9544dfae3085b4d978f768b14b591c75a2d811d28ea006075bfb1428ff9da82e","signature":"1cf02270a889fcc3fa5863734fcdbea410d3b4dd71e4678a894a48028f836f6e"},{"version":"e056bb30bf82271634daeee81f772f4a7960085f01f6d4d09c8da1ebe5f6a623","impliedFormat":99},{"version":"5e30131b6a5587fe666926ad1d9807e733c0a597ed12d682669fcaa331aea576","impliedFormat":99},{"version":"86492a546c3308feaf1dde967afd325c321483b5e96f5fa9e9b6e691dc23fa9e","affectsGlobalScope":true,"impliedFormat":99},{"version":"00cb63103f9670f8094c238a4a7e252c8b4c06ba371fea5c44add7e41b7247e4","impliedFormat":99},{"version":"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e","impliedFormat":1},{"version":"43f58358870effc43ba93c92c040dee2285cbd8685ddfa77658e498780727c4e","impliedFormat":99},{"version":"9a318e3a8900672b85cd3c8c3a5acf51b88049557a3ae897ccdcf2b85a8f61f9","impliedFormat":99},{"version":"1bcd560deed90a43c51b08aa18f7f55229f2e30974ab5ed1b7bb5721be379013","impliedFormat":99},{"version":"dc08fe04e50bc24d1baded4f33e942222bbdd5d77d6341a93cfe6e4e4586a3be","impliedFormat":99},{"version":"c0ed68d549423698661f1b55e4a3747c0a92420bc8871119b66531e8867666c6","signature":"c88faa2f2d9778aa0b4dedc2bfde0990b0beea6c45b0fc7d4a79e1294ebe8cb0"},{"version":"8961b63c842af1026b9e1e6f67cba3cae570b0011168719c538d950f202b3689","signature":"51f3be4aa09529ea1ad83a3d66830075a49e3e630df25d9892ef5708bb00de55"},{"version":"c675bb21cfe468c2c5954085a1b94afe505064abeadeb692a8b93944b518f231","signature":"1bdef5c3270439174be1f8668f4e2d9b0e61be67f10e5dc770b4b7562caf04bb"},{"version":"f9520a64036c4378b6617c0e414d8f02f5ce3bcc2a7b0a929a319e7e3f9c6800","signature":"156f461ef172e70226132dc36df4b72f7e77ae88523aaad9f0440307a53bda36"},{"version":"14fd84e1f3037c24aa5e5c9b6c4250e9effeea0fae526277c8ac4890310273c6","signature":"2045cb057c6163f5d5bb4d12655bb1449383952bcd3b7a7a62b2848e420245c1"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"13af9e8fb6757946c48117315866177b95e554d1e773577bb6ca6e40083b6d73","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","impliedFormat":1},{"version":"1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","impliedFormat":1},{"version":"2ea254f944dfe131df1264d1fb96e4b1f7d110195b21f1f5dbb68fdd394e5518","impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","impliedFormat":1},{"version":"4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"b11cb909327c874a4e81bfb390bf0d231e5bf9439052689ab80ba8afa50da17b","affectsGlobalScope":true,"impliedFormat":1},{"version":"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f6f1d54779d0b9ed152b0516b0958cd34889764c1190434bbf18e7a8bb884cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"1cbae62b67f180291d211f0e1045fb923a8ec800cfbf9caa13223d769013dae2","impliedFormat":1},{"version":"b52d379b4939681f3781d1cfd5b2c3cbb35e7e76f2425172e165782f8a08228c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"993985beef40c7d113f6dd8f0ba26eed63028b691fbfeb6a5b63f26408dd2c6d","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb094bb347d7df3380299eb69836c2c8758626ecf45917577707c03cf816b6f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","impliedFormat":1},{"version":"b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"29f72ec1289ae3aeda78bf14b38086d3d803262ac13904b400422941a26a3636","affectsGlobalScope":true,"impliedFormat":1}],"root":[[48,66],[81,87],[97,101]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"referencedMap":[[88,1],[89,1],[90,2],[80,3],[68,4],[69,5],[67,6],[70,7],[71,8],[72,9],[73,10],[74,11],[75,12],[76,13],[77,14],[78,15],[79,16],[201,1],[147,17],[148,17],[149,18],[107,19],[150,20],[151,21],[152,22],[102,1],[105,23],[103,1],[104,1],[153,24],[154,25],[155,26],[156,27],[157,28],[158,29],[159,29],[161,30],[160,31],[162,32],[163,33],[164,34],[146,35],[106,1],[165,36],[166,37],[167,38],[200,39],[168,40],[169,41],[170,42],[171,43],[172,44],[173,45],[174,46],[175,47],[176,48],[177,49],[178,49],[179,50],[180,1],[181,1],[182,51],[184,52],[183,53],[185,54],[186,55],[187,56],[188,57],[189,58],[190,59],[191,60],[192,61],[193,62],[194,63],[195,64],[196,65],[197,66],[198,67],[199,68],[92,1],[108,1],[94,69],[91,70],[95,1],[93,71],[96,72],[47,1],[45,1],[46,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[19,1],[20,1],[4,1],[21,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[1,1],[124,73],[134,74],[123,73],[144,75],[115,76],[114,77],[143,78],[137,79],[142,80],[117,81],[131,82],[116,83],[140,84],[112,85],[111,78],[141,86],[113,87],[118,88],[119,1],[122,88],[109,1],[145,89],[135,90],[126,91],[127,92],[129,93],[125,94],[128,95],[138,78],[120,96],[121,97],[130,98],[110,99],[133,90],[132,88],[136,1],[139,100],[48,101],[49,101],[50,101],[51,101],[52,101],[53,101],[54,101],[55,101],[56,101],[57,101],[58,101],[59,101],[60,101],[99,102],[84,101],[66,101],[87,101],[101,103],[100,104],[86,101],[62,101],[64,101],[65,101],[98,105],[97,106],[61,101],[85,101],[63,101],[83,107],[81,108],[82,109]],"version":"5.7.3"}
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@operato/utils",
|
3
3
|
"description": "Webcomponent utils following open-wc recommendations",
|
4
4
|
"author": "heartyoh",
|
5
|
-
"version": "8.
|
5
|
+
"version": "8.1.0",
|
6
6
|
"main": "dist/src/index.js",
|
7
7
|
"module": "dist/src/index.js",
|
8
8
|
"exports": {
|
@@ -19,8 +19,6 @@
|
|
19
19
|
"./clipboard.js": "./dist/src/clipboard.js",
|
20
20
|
"./format.js": "./dist/src/format.js",
|
21
21
|
"./mixins/infinite-scrollable.js": "./dist/src/mixins/infinite-scrollable.js",
|
22
|
-
"./gesture-mixin.js": "./dist/src/mixins/gesture-mixin.js",
|
23
|
-
"./gesture-helper.js": "./dist/src/gesture-helper.js",
|
24
22
|
"./is-unvalued.js": "./dist/src/is-unvalued.js"
|
25
23
|
},
|
26
24
|
"typesVersions": {
|
@@ -58,12 +56,6 @@
|
|
58
56
|
"mixins/infinite-scrollable.js": [
|
59
57
|
"dist/src/mixins/infinite-scrollable.d.ts"
|
60
58
|
],
|
61
|
-
"gesture-mixin.js": [
|
62
|
-
"dist/src/mixins/gesture-mixin.d.ts"
|
63
|
-
],
|
64
|
-
"gesture-helper.js": [
|
65
|
-
"dist/src/gesture-helper.d.ts"
|
66
|
-
],
|
67
59
|
"is-unvalued.js": [
|
68
60
|
"dist/src/is-unvalued.d.ts"
|
69
61
|
]
|
@@ -93,17 +85,17 @@
|
|
93
85
|
"storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
|
94
86
|
},
|
95
87
|
"devDependencies": {
|
96
|
-
"@custom-elements-manifest/analyzer": "^0.
|
88
|
+
"@custom-elements-manifest/analyzer": "^0.9.2",
|
97
89
|
"@hatiolab/prettier-config": "^1.0.0",
|
98
90
|
"@open-wc/eslint-config": "^12.0.3",
|
99
|
-
"@open-wc/testing": "^
|
100
|
-
"@typescript-eslint/eslint-plugin": "^
|
101
|
-
"@typescript-eslint/parser": "^
|
102
|
-
"@web/dev-server": "^0.
|
91
|
+
"@open-wc/testing": "^3.1.6",
|
92
|
+
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
93
|
+
"@typescript-eslint/parser": "^7.0.1",
|
94
|
+
"@web/dev-server": "^0.3.0",
|
103
95
|
"@web/dev-server-storybook": "^2.0.1",
|
104
|
-
"@web/test-runner": "^0.
|
105
|
-
"concurrently": "^
|
106
|
-
"eslint": "^
|
96
|
+
"@web/test-runner": "^0.18.0",
|
97
|
+
"concurrently": "^8.0.1",
|
98
|
+
"eslint": "^8.39.0",
|
107
99
|
"eslint-config-prettier": "^9.1.0",
|
108
100
|
"husky": "^9.0.11",
|
109
101
|
"lint-staged": "^15.2.2",
|
@@ -127,5 +119,5 @@
|
|
127
119
|
"dependencies": {
|
128
120
|
"lodash-es": "^4.17.21"
|
129
121
|
},
|
130
|
-
"gitHead": "
|
122
|
+
"gitHead": "5f8d40b06fbc80dc848bfa91796933761b90a3f8"
|
131
123
|
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
export type GestureEventPinch = CustomEvent<{
|
2
|
-
scale: number;
|
3
|
-
centerX: number;
|
4
|
-
centerY: number;
|
5
|
-
}>;
|
6
|
-
export type GestureEventDrag = CustomEvent<{
|
7
|
-
deltaX: number;
|
8
|
-
deltaY: number;
|
9
|
-
clientX: number;
|
10
|
-
clientY: number;
|
11
|
-
end: boolean;
|
12
|
-
}>;
|
13
|
-
export type GestureEventDoubleTap = CustomEvent<{
|
14
|
-
x: number;
|
15
|
-
y: number;
|
16
|
-
}>;
|
17
|
-
export declare class GestureHelper {
|
18
|
-
private __pointers;
|
19
|
-
private __lastTapTime;
|
20
|
-
private __lastPinchDistance;
|
21
|
-
private __dragStart;
|
22
|
-
private element;
|
23
|
-
constructor(element: Element);
|
24
|
-
private init;
|
25
|
-
dispose(): void;
|
26
|
-
private handlePointerDown;
|
27
|
-
private handlePointerMove;
|
28
|
-
private handlePointerUp;
|
29
|
-
private handlePinch;
|
30
|
-
private handleDrag;
|
31
|
-
private handleTap;
|
32
|
-
private getDistance;
|
33
|
-
private addGlobalListeners;
|
34
|
-
private removeGlobalListeners;
|
35
|
-
}
|
@@ -1,111 +0,0 @@
|
|
1
|
-
export class GestureHelper {
|
2
|
-
constructor(element) {
|
3
|
-
this.__pointers = new Map();
|
4
|
-
this.__lastTapTime = 0;
|
5
|
-
this.__lastPinchDistance = 0;
|
6
|
-
this.__dragStart = null;
|
7
|
-
this.handlePointerDown = (e) => {
|
8
|
-
e.preventDefault();
|
9
|
-
const point = { x: e.clientX, y: e.clientY };
|
10
|
-
this.__pointers.set(e.pointerId, point);
|
11
|
-
this.addGlobalListeners();
|
12
|
-
};
|
13
|
-
this.handlePointerMove = (e) => {
|
14
|
-
e.preventDefault();
|
15
|
-
const point = { x: e.clientX, y: e.clientY };
|
16
|
-
this.__pointers.set(e.pointerId, point);
|
17
|
-
if (this.__pointers.size === 2) {
|
18
|
-
this.handlePinch();
|
19
|
-
}
|
20
|
-
else if (this.__pointers.size === 1) {
|
21
|
-
this.handleDrag(point, false);
|
22
|
-
}
|
23
|
-
};
|
24
|
-
this.handlePointerUp = (e) => {
|
25
|
-
const point = { x: e.clientX, y: e.clientY };
|
26
|
-
this.__pointers.delete(e.pointerId);
|
27
|
-
if (this.__dragStart) {
|
28
|
-
this.handleDrag(point, true);
|
29
|
-
}
|
30
|
-
if (this.__pointers.size === 0) {
|
31
|
-
this.removeGlobalListeners();
|
32
|
-
this.__dragStart = null;
|
33
|
-
this.__lastPinchDistance = 0;
|
34
|
-
this.handleTap(point);
|
35
|
-
}
|
36
|
-
};
|
37
|
-
this.element = element;
|
38
|
-
this.init();
|
39
|
-
}
|
40
|
-
init() {
|
41
|
-
this.element.addEventListener('pointerdown', this.handlePointerDown);
|
42
|
-
}
|
43
|
-
dispose() {
|
44
|
-
this.element.removeEventListener('pointerdown', this.handlePointerDown);
|
45
|
-
this.removeGlobalListeners();
|
46
|
-
}
|
47
|
-
handlePinch() {
|
48
|
-
const pointers = Array.from(this.__pointers.values());
|
49
|
-
const currentDistance = this.getDistance(pointers[0], pointers[1]);
|
50
|
-
if (this.__lastPinchDistance) {
|
51
|
-
const scale = currentDistance / this.__lastPinchDistance;
|
52
|
-
const center = {
|
53
|
-
x: (pointers[0].x + pointers[1].x) / 2,
|
54
|
-
y: (pointers[0].y + pointers[1].y) / 2
|
55
|
-
};
|
56
|
-
this.element.dispatchEvent(new CustomEvent('pinch', {
|
57
|
-
detail: { scale, centerX: center.x, centerY: center.y }
|
58
|
-
}));
|
59
|
-
}
|
60
|
-
this.__lastPinchDistance = currentDistance;
|
61
|
-
}
|
62
|
-
handleDrag(point, end) {
|
63
|
-
if (this.__dragStart) {
|
64
|
-
const deltaX = point.x - this.__dragStart.x;
|
65
|
-
const deltaY = point.y - this.__dragStart.y;
|
66
|
-
this.element.dispatchEvent(new CustomEvent('drag', {
|
67
|
-
detail: { deltaX, deltaY, clientX: point.x, clientY: point.y, end }
|
68
|
-
}));
|
69
|
-
if (end) {
|
70
|
-
this.__dragStart = null;
|
71
|
-
}
|
72
|
-
else {
|
73
|
-
this.__dragStart = point;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
else if (!end && this.__pointers.size === 1) {
|
77
|
-
/* dragging을 시작하려면, pointer 개수가 1개인 것을 (지연)확인해야한다. */
|
78
|
-
setTimeout(() => {
|
79
|
-
if (this.__pointers.size === 1 && !this.__dragStart) {
|
80
|
-
this.__dragStart = point;
|
81
|
-
}
|
82
|
-
}, 30);
|
83
|
-
}
|
84
|
-
}
|
85
|
-
handleTap(point) {
|
86
|
-
const currentTime = performance.now();
|
87
|
-
const timeSinceLastTap = currentTime - this.__lastTapTime;
|
88
|
-
if (timeSinceLastTap < 300) {
|
89
|
-
this.element.dispatchEvent(new CustomEvent('doubletap', {
|
90
|
-
detail: { x: point.x, y: point.y }
|
91
|
-
}));
|
92
|
-
}
|
93
|
-
this.__lastTapTime = currentTime;
|
94
|
-
}
|
95
|
-
getDistance(p1, p2) {
|
96
|
-
const dx = p1.x - p2.x;
|
97
|
-
const dy = p1.y - p2.y;
|
98
|
-
return Math.sqrt(dx * dx + dy * dy);
|
99
|
-
}
|
100
|
-
addGlobalListeners() {
|
101
|
-
document.addEventListener('pointermove', this.handlePointerMove);
|
102
|
-
document.addEventListener('pointerup', this.handlePointerUp);
|
103
|
-
document.addEventListener('pointercancel', this.handlePointerUp);
|
104
|
-
}
|
105
|
-
removeGlobalListeners() {
|
106
|
-
document.removeEventListener('pointermove', this.handlePointerMove);
|
107
|
-
document.removeEventListener('pointerup', this.handlePointerUp);
|
108
|
-
document.removeEventListener('pointercancel', this.handlePointerUp);
|
109
|
-
}
|
110
|
-
}
|
111
|
-
//# sourceMappingURL=gesture-helper.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"gesture-helper.js","sourceRoot":"","sources":["../../src/gesture-helper.ts"],"names":[],"mappings":"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","sourcesContent":["export type GestureEventPinch = CustomEvent<{ scale: number; centerX: number; centerY: number }>\nexport type GestureEventDrag = CustomEvent<{\n deltaX: number\n deltaY: number\n clientX: number\n clientY: number\n end: boolean\n}>\nexport type GestureEventDoubleTap = CustomEvent<{ x: number; y: number }>\n\nexport class GestureHelper {\n private __pointers = new Map<number, { x: number; y: number }>()\n private __lastTapTime = 0\n private __lastPinchDistance = 0\n private __dragStart: { x: number; y: number } | null = null\n private element: Element\n\n constructor(element: Element) {\n this.element = element\n this.init()\n }\n\n private init() {\n this.element.addEventListener('pointerdown', this.handlePointerDown as EventListener)\n }\n\n dispose() {\n this.element.removeEventListener('pointerdown', this.handlePointerDown as EventListener)\n this.removeGlobalListeners()\n }\n\n private handlePointerDown = (e: PointerEvent) => {\n e.preventDefault()\n const point = { x: e.clientX, y: e.clientY }\n this.__pointers.set(e.pointerId, point)\n\n this.addGlobalListeners()\n }\n\n private handlePointerMove = (e: PointerEvent) => {\n e.preventDefault()\n const point = { x: e.clientX, y: e.clientY }\n this.__pointers.set(e.pointerId, point)\n\n if (this.__pointers.size === 2) {\n this.handlePinch()\n } else if (this.__pointers.size === 1) {\n this.handleDrag(point, false)\n }\n }\n\n private handlePointerUp = (e: PointerEvent) => {\n const point = { x: e.clientX, y: e.clientY }\n this.__pointers.delete(e.pointerId)\n\n if (this.__dragStart) {\n this.handleDrag(point, true)\n }\n\n if (this.__pointers.size === 0) {\n this.removeGlobalListeners()\n this.__dragStart = null\n this.__lastPinchDistance = 0\n this.handleTap(point)\n }\n }\n\n private handlePinch() {\n const pointers = Array.from(this.__pointers.values()) as { x: number; y: number }[]\n const currentDistance = this.getDistance(pointers[0], pointers[1])\n\n if (this.__lastPinchDistance) {\n const scale = currentDistance / this.__lastPinchDistance\n const center = {\n x: (pointers[0].x + pointers[1].x) / 2,\n y: (pointers[0].y + pointers[1].y) / 2\n }\n\n this.element.dispatchEvent(\n new CustomEvent('pinch', {\n detail: { scale, centerX: center.x, centerY: center.y }\n })\n )\n }\n\n this.__lastPinchDistance = currentDistance\n }\n\n private handleDrag(point: { x: number; y: number }, end: boolean) {\n if (this.__dragStart) {\n const deltaX = point.x - this.__dragStart.x\n const deltaY = point.y - this.__dragStart.y\n\n this.element.dispatchEvent(\n new CustomEvent('drag', {\n detail: { deltaX, deltaY, clientX: point.x, clientY: point.y, end }\n })\n )\n\n if (end) {\n this.__dragStart = null\n } else {\n this.__dragStart = point\n }\n } else if (!end && this.__pointers.size === 1) {\n /* dragging을 시작하려면, pointer 개수가 1개인 것을 (지연)확인해야한다. */\n setTimeout(() => {\n if (this.__pointers.size === 1 && !this.__dragStart) {\n this.__dragStart = point\n }\n }, 30)\n }\n }\n\n private handleTap(point: { x: number; y: number }) {\n const currentTime = performance.now()\n const timeSinceLastTap = currentTime - this.__lastTapTime\n\n if (timeSinceLastTap < 300) {\n this.element.dispatchEvent(\n new CustomEvent('doubletap', {\n detail: { x: point.x, y: point.y }\n })\n )\n }\n\n this.__lastTapTime = currentTime\n }\n\n private getDistance(p1: { x: number; y: number }, p2: { x: number; y: number }): number {\n const dx = p1.x - p2.x\n const dy = p1.y - p2.y\n return Math.sqrt(dx * dx + dy * dy)\n }\n\n private addGlobalListeners() {\n document.addEventListener('pointermove', this.handlePointerMove as EventListener)\n document.addEventListener('pointerup', this.handlePointerUp as EventListener)\n document.addEventListener('pointercancel', this.handlePointerUp as EventListener)\n }\n\n private removeGlobalListeners() {\n document.removeEventListener('pointermove', this.handlePointerMove as EventListener)\n document.removeEventListener('pointerup', this.handlePointerUp as EventListener)\n document.removeEventListener('pointercancel', this.handlePointerUp as EventListener)\n }\n}\n"]}
|
@@ -1,393 +0,0 @@
|
|
1
|
-
interface CustomElement extends HTMLElement {
|
2
|
-
connectedCallback?(): void;
|
3
|
-
disconnectedCallback?(): void;
|
4
|
-
}
|
5
|
-
type Constructor<T = CustomElement> = new (...args: any[]) => T;
|
6
|
-
export type GestureEventPinch = CustomEvent<{
|
7
|
-
scale: number;
|
8
|
-
centerX: number;
|
9
|
-
centerY: number;
|
10
|
-
}>;
|
11
|
-
export type GestureEventDrag = CustomEvent<{
|
12
|
-
deltaX: number;
|
13
|
-
deltaY: number;
|
14
|
-
clientX: number;
|
15
|
-
clientY: number;
|
16
|
-
end: boolean;
|
17
|
-
}>;
|
18
|
-
export type GestureEventDoubleTap = CustomEvent<{
|
19
|
-
x: number;
|
20
|
-
y: number;
|
21
|
-
}>;
|
22
|
-
export declare function gesture<TBase extends Constructor>(Base: TBase): {
|
23
|
-
new (...args: any[]): {
|
24
|
-
__pointers: Map<number, {
|
25
|
-
x: number;
|
26
|
-
y: number;
|
27
|
-
}>;
|
28
|
-
__lastTapTime: number;
|
29
|
-
__lastPinchDistance: number;
|
30
|
-
__dragStart: {
|
31
|
-
x: number;
|
32
|
-
y: number;
|
33
|
-
} | null;
|
34
|
-
connectedCallback(): void;
|
35
|
-
disconnectedCallback(): void;
|
36
|
-
handlePointerDown: (e: PointerEvent) => void;
|
37
|
-
handlePointerMove: (e: PointerEvent) => void;
|
38
|
-
handlePointerUp: (e: PointerEvent) => void;
|
39
|
-
handlePinch(): void;
|
40
|
-
handleDrag(point: {
|
41
|
-
x: number;
|
42
|
-
y: number;
|
43
|
-
}, end: boolean): void;
|
44
|
-
handleTap(point: {
|
45
|
-
x: number;
|
46
|
-
y: number;
|
47
|
-
}): void;
|
48
|
-
getDistance(p1: {
|
49
|
-
x: number;
|
50
|
-
y: number;
|
51
|
-
}, p2: {
|
52
|
-
x: number;
|
53
|
-
y: number;
|
54
|
-
}): number;
|
55
|
-
addGlobalListeners(): void;
|
56
|
-
removeGlobalListeners(): void;
|
57
|
-
accessKey: string;
|
58
|
-
readonly accessKeyLabel: string;
|
59
|
-
autocapitalize: string;
|
60
|
-
dir: string;
|
61
|
-
draggable: boolean;
|
62
|
-
hidden: boolean;
|
63
|
-
inert: boolean;
|
64
|
-
innerText: string;
|
65
|
-
lang: string;
|
66
|
-
readonly offsetHeight: number;
|
67
|
-
readonly offsetLeft: number;
|
68
|
-
readonly offsetParent: Element | null;
|
69
|
-
readonly offsetTop: number;
|
70
|
-
readonly offsetWidth: number;
|
71
|
-
outerText: string;
|
72
|
-
popover: string | null;
|
73
|
-
spellcheck: boolean;
|
74
|
-
title: string;
|
75
|
-
translate: boolean;
|
76
|
-
writingSuggestions: string;
|
77
|
-
attachInternals(): ElementInternals;
|
78
|
-
click(): void;
|
79
|
-
hidePopover(): void;
|
80
|
-
showPopover(): void;
|
81
|
-
togglePopover(force?: boolean): boolean;
|
82
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
83
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
84
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
85
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
86
|
-
readonly attributes: NamedNodeMap;
|
87
|
-
readonly classList: DOMTokenList;
|
88
|
-
className: string;
|
89
|
-
readonly clientHeight: number;
|
90
|
-
readonly clientLeft: number;
|
91
|
-
readonly clientTop: number;
|
92
|
-
readonly clientWidth: number;
|
93
|
-
readonly currentCSSZoom: number;
|
94
|
-
id: string;
|
95
|
-
innerHTML: string;
|
96
|
-
readonly localName: string;
|
97
|
-
readonly namespaceURI: string | null;
|
98
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
99
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
100
|
-
outerHTML: string;
|
101
|
-
readonly ownerDocument: Document;
|
102
|
-
readonly part: DOMTokenList;
|
103
|
-
readonly prefix: string | null;
|
104
|
-
readonly scrollHeight: number;
|
105
|
-
scrollLeft: number;
|
106
|
-
scrollTop: number;
|
107
|
-
readonly scrollWidth: number;
|
108
|
-
readonly shadowRoot: ShadowRoot | null;
|
109
|
-
slot: string;
|
110
|
-
readonly tagName: string;
|
111
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
112
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
113
|
-
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
114
|
-
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
115
|
-
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
116
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
117
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
118
|
-
getAttribute(qualifiedName: string): string | null;
|
119
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
120
|
-
getAttributeNames(): string[];
|
121
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
122
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
123
|
-
getBoundingClientRect(): DOMRect;
|
124
|
-
getClientRects(): DOMRectList;
|
125
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
126
|
-
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
127
|
-
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
128
|
-
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
129
|
-
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
130
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
131
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
132
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
133
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
134
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
135
|
-
getHTML(options?: GetHTMLOptions): string;
|
136
|
-
hasAttribute(qualifiedName: string): boolean;
|
137
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
138
|
-
hasAttributes(): boolean;
|
139
|
-
hasPointerCapture(pointerId: number): boolean;
|
140
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
141
|
-
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
142
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
143
|
-
matches(selectors: string): boolean;
|
144
|
-
releasePointerCapture(pointerId: number): void;
|
145
|
-
removeAttribute(qualifiedName: string): void;
|
146
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
147
|
-
removeAttributeNode(attr: Attr): Attr;
|
148
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
149
|
-
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
150
|
-
scroll(options?: ScrollToOptions): void;
|
151
|
-
scroll(x: number, y: number): void;
|
152
|
-
scrollBy(options?: ScrollToOptions): void;
|
153
|
-
scrollBy(x: number, y: number): void;
|
154
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
155
|
-
scrollTo(options?: ScrollToOptions): void;
|
156
|
-
scrollTo(x: number, y: number): void;
|
157
|
-
setAttribute(qualifiedName: string, value: string): void;
|
158
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
159
|
-
setAttributeNode(attr: Attr): Attr | null;
|
160
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
161
|
-
setHTMLUnsafe(html: string): void;
|
162
|
-
setPointerCapture(pointerId: number): void;
|
163
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
164
|
-
webkitMatchesSelector(selectors: string): boolean;
|
165
|
-
readonly baseURI: string;
|
166
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
167
|
-
readonly firstChild: ChildNode | null;
|
168
|
-
readonly isConnected: boolean;
|
169
|
-
readonly lastChild: ChildNode | null;
|
170
|
-
readonly nextSibling: ChildNode | null;
|
171
|
-
readonly nodeName: string;
|
172
|
-
readonly nodeType: number;
|
173
|
-
nodeValue: string | null;
|
174
|
-
readonly parentElement: HTMLElement | null;
|
175
|
-
readonly parentNode: ParentNode | null;
|
176
|
-
readonly previousSibling: ChildNode | null;
|
177
|
-
textContent: string | null;
|
178
|
-
appendChild<T extends Node>(node: T): T;
|
179
|
-
cloneNode(deep?: boolean): Node;
|
180
|
-
compareDocumentPosition(other: Node): number;
|
181
|
-
contains(other: Node | null): boolean;
|
182
|
-
getRootNode(options?: GetRootNodeOptions): Node;
|
183
|
-
hasChildNodes(): boolean;
|
184
|
-
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
185
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
186
|
-
isEqualNode(otherNode: Node | null): boolean;
|
187
|
-
isSameNode(otherNode: Node | null): boolean;
|
188
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
189
|
-
lookupPrefix(namespace: string | null): string | null;
|
190
|
-
normalize(): void;
|
191
|
-
removeChild<T extends Node>(child: T): T;
|
192
|
-
replaceChild<T extends Node>(node: Node, child: T): T;
|
193
|
-
readonly ELEMENT_NODE: 1;
|
194
|
-
readonly ATTRIBUTE_NODE: 2;
|
195
|
-
readonly TEXT_NODE: 3;
|
196
|
-
readonly CDATA_SECTION_NODE: 4;
|
197
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
198
|
-
readonly ENTITY_NODE: 6;
|
199
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
200
|
-
readonly COMMENT_NODE: 8;
|
201
|
-
readonly DOCUMENT_NODE: 9;
|
202
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
203
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
204
|
-
readonly NOTATION_NODE: 12;
|
205
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
206
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
207
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
208
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
209
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
210
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
211
|
-
dispatchEvent(event: Event): boolean;
|
212
|
-
ariaAtomic: string | null;
|
213
|
-
ariaAutoComplete: string | null;
|
214
|
-
ariaBrailleLabel: string | null;
|
215
|
-
ariaBrailleRoleDescription: string | null;
|
216
|
-
ariaBusy: string | null;
|
217
|
-
ariaChecked: string | null;
|
218
|
-
ariaColCount: string | null;
|
219
|
-
ariaColIndex: string | null;
|
220
|
-
ariaColIndexText: string | null;
|
221
|
-
ariaColSpan: string | null;
|
222
|
-
ariaCurrent: string | null;
|
223
|
-
ariaDescription: string | null;
|
224
|
-
ariaDisabled: string | null;
|
225
|
-
ariaExpanded: string | null;
|
226
|
-
ariaHasPopup: string | null;
|
227
|
-
ariaHidden: string | null;
|
228
|
-
ariaInvalid: string | null;
|
229
|
-
ariaKeyShortcuts: string | null;
|
230
|
-
ariaLabel: string | null;
|
231
|
-
ariaLevel: string | null;
|
232
|
-
ariaLive: string | null;
|
233
|
-
ariaModal: string | null;
|
234
|
-
ariaMultiLine: string | null;
|
235
|
-
ariaMultiSelectable: string | null;
|
236
|
-
ariaOrientation: string | null;
|
237
|
-
ariaPlaceholder: string | null;
|
238
|
-
ariaPosInSet: string | null;
|
239
|
-
ariaPressed: string | null;
|
240
|
-
ariaReadOnly: string | null;
|
241
|
-
ariaRequired: string | null;
|
242
|
-
ariaRoleDescription: string | null;
|
243
|
-
ariaRowCount: string | null;
|
244
|
-
ariaRowIndex: string | null;
|
245
|
-
ariaRowIndexText: string | null;
|
246
|
-
ariaRowSpan: string | null;
|
247
|
-
ariaSelected: string | null;
|
248
|
-
ariaSetSize: string | null;
|
249
|
-
ariaSort: string | null;
|
250
|
-
ariaValueMax: string | null;
|
251
|
-
ariaValueMin: string | null;
|
252
|
-
ariaValueNow: string | null;
|
253
|
-
ariaValueText: string | null;
|
254
|
-
role: string | null;
|
255
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
256
|
-
getAnimations(options?: GetAnimationsOptions): Animation[];
|
257
|
-
after(...nodes: (Node | string)[]): void;
|
258
|
-
before(...nodes: (Node | string)[]): void;
|
259
|
-
remove(): void;
|
260
|
-
replaceWith(...nodes: (Node | string)[]): void;
|
261
|
-
readonly nextElementSibling: Element | null;
|
262
|
-
readonly previousElementSibling: Element | null;
|
263
|
-
readonly childElementCount: number;
|
264
|
-
readonly children: HTMLCollection;
|
265
|
-
readonly firstElementChild: Element | null;
|
266
|
-
readonly lastElementChild: Element | null;
|
267
|
-
append(...nodes: (Node | string)[]): void;
|
268
|
-
prepend(...nodes: (Node | string)[]): void;
|
269
|
-
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
270
|
-
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
271
|
-
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
272
|
-
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
273
|
-
querySelector<E extends Element = Element>(selectors: string): E | null;
|
274
|
-
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
275
|
-
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
276
|
-
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
277
|
-
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
278
|
-
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
279
|
-
replaceChildren(...nodes: (Node | string)[]): void;
|
280
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
281
|
-
readonly attributeStyleMap: StylePropertyMap;
|
282
|
-
readonly style: CSSStyleDeclaration;
|
283
|
-
contentEditable: string;
|
284
|
-
enterKeyHint: string;
|
285
|
-
inputMode: string;
|
286
|
-
readonly isContentEditable: boolean;
|
287
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
288
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
289
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
290
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
291
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
292
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
293
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
294
|
-
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
295
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
296
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
297
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
298
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
299
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
300
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
301
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
302
|
-
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
303
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
304
|
-
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
305
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
306
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
307
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
308
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
309
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
310
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
311
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
312
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
313
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
314
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
315
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
316
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
317
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
318
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
319
|
-
onerror: OnErrorEventHandler;
|
320
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
321
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
322
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
323
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
324
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
325
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
326
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
327
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
328
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
329
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
330
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
331
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
332
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
333
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
334
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
335
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
336
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
337
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
338
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
339
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
340
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
341
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
342
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
343
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
344
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
345
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
346
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
347
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
348
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
349
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
350
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
351
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
352
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
353
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
354
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
355
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
356
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
357
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
358
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
359
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
360
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
361
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
362
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
363
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
364
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
365
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
366
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
367
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
368
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
369
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
370
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
371
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
372
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
373
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
374
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
375
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
376
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
377
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
378
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
379
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
380
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
381
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
382
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
383
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
384
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
385
|
-
autofocus: boolean;
|
386
|
-
readonly dataset: DOMStringMap;
|
387
|
-
nonce?: string;
|
388
|
-
tabIndex: number;
|
389
|
-
blur(): void;
|
390
|
-
focus(options?: FocusOptions): void;
|
391
|
-
};
|
392
|
-
} & TBase;
|
393
|
-
export {};
|
@@ -1,119 +0,0 @@
|
|
1
|
-
export function gesture(Base) {
|
2
|
-
return class extends Base {
|
3
|
-
constructor() {
|
4
|
-
super(...arguments);
|
5
|
-
this.__pointers = new Map();
|
6
|
-
this.__lastTapTime = 0;
|
7
|
-
this.__lastPinchDistance = 0;
|
8
|
-
this.__dragStart = null;
|
9
|
-
this.handlePointerDown = (e) => {
|
10
|
-
e.preventDefault();
|
11
|
-
const point = { x: e.clientX, y: e.clientY };
|
12
|
-
this.__pointers.set(e.pointerId, point);
|
13
|
-
this.addGlobalListeners();
|
14
|
-
};
|
15
|
-
this.handlePointerMove = (e) => {
|
16
|
-
e.preventDefault();
|
17
|
-
const point = { x: e.clientX, y: e.clientY };
|
18
|
-
this.__pointers.set(e.pointerId, point);
|
19
|
-
if (this.__pointers.size === 2) {
|
20
|
-
this.handlePinch();
|
21
|
-
}
|
22
|
-
else if (this.__pointers.size === 1) {
|
23
|
-
this.handleDrag(point, false);
|
24
|
-
}
|
25
|
-
};
|
26
|
-
this.handlePointerUp = (e) => {
|
27
|
-
const point = { x: e.clientX, y: e.clientY };
|
28
|
-
this.__pointers.delete(e.pointerId);
|
29
|
-
if (this.__dragStart) {
|
30
|
-
this.handleDrag(point, true);
|
31
|
-
}
|
32
|
-
if (this.__pointers.size === 0) {
|
33
|
-
this.removeGlobalListeners();
|
34
|
-
this.__dragStart = null;
|
35
|
-
this.__lastPinchDistance = 0;
|
36
|
-
this.handleTap(point);
|
37
|
-
}
|
38
|
-
};
|
39
|
-
}
|
40
|
-
connectedCallback() {
|
41
|
-
if (super.connectedCallback) {
|
42
|
-
super.connectedCallback();
|
43
|
-
}
|
44
|
-
this.addEventListener('pointerdown', this.handlePointerDown);
|
45
|
-
}
|
46
|
-
disconnectedCallback() {
|
47
|
-
if (super.disconnectedCallback) {
|
48
|
-
super.disconnectedCallback();
|
49
|
-
}
|
50
|
-
this.removeEventListener('pointerdown', this.handlePointerDown);
|
51
|
-
this.removeGlobalListeners();
|
52
|
-
}
|
53
|
-
handlePinch() {
|
54
|
-
const pointers = Array.from(this.__pointers.values());
|
55
|
-
const currentDistance = this.getDistance(pointers[0], pointers[1]);
|
56
|
-
if (this.__lastPinchDistance) {
|
57
|
-
const scale = currentDistance / this.__lastPinchDistance;
|
58
|
-
const center = {
|
59
|
-
x: (pointers[0].x + pointers[1].x) / 2,
|
60
|
-
y: (pointers[0].y + pointers[1].y) / 2
|
61
|
-
};
|
62
|
-
this.dispatchEvent(new CustomEvent('pinch', {
|
63
|
-
detail: { scale, centerX: center.x, centerY: center.y }
|
64
|
-
}));
|
65
|
-
}
|
66
|
-
this.__lastPinchDistance = currentDistance;
|
67
|
-
}
|
68
|
-
handleDrag(point, end) {
|
69
|
-
if (this.__dragStart) {
|
70
|
-
const deltaX = point.x - this.__dragStart.x;
|
71
|
-
const deltaY = point.y - this.__dragStart.y;
|
72
|
-
this.dispatchEvent(new CustomEvent('drag', {
|
73
|
-
detail: { deltaX, deltaY, clientX: point.x, clientY: point.y, end }
|
74
|
-
}));
|
75
|
-
if (end) {
|
76
|
-
this.__dragStart = null;
|
77
|
-
}
|
78
|
-
else {
|
79
|
-
this.__dragStart = point;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
else if (!end && this.__pointers.size === 1) {
|
83
|
-
/* dragging을 시작하려면, pointer 개수가 1개인 것을 (지연)확인해야한다. */
|
84
|
-
setTimeout(() => {
|
85
|
-
if (this.__pointers.size === 1 && !this.__dragStart) {
|
86
|
-
this.__dragStart = point;
|
87
|
-
}
|
88
|
-
}, 30);
|
89
|
-
}
|
90
|
-
}
|
91
|
-
handleTap(point) {
|
92
|
-
const currentTime = performance.now();
|
93
|
-
const timeSinceLastTap = currentTime - this.__lastTapTime;
|
94
|
-
if (timeSinceLastTap < 300) {
|
95
|
-
// 300ms is a common double-tap threshold
|
96
|
-
this.dispatchEvent(new CustomEvent('doubletap', {
|
97
|
-
detail: { x: point.x, y: point.y }
|
98
|
-
}));
|
99
|
-
}
|
100
|
-
this.__lastTapTime = currentTime;
|
101
|
-
}
|
102
|
-
getDistance(p1, p2) {
|
103
|
-
const dx = p1.x - p2.x;
|
104
|
-
const dy = p1.y - p2.y;
|
105
|
-
return Math.sqrt(dx * dx + dy * dy);
|
106
|
-
}
|
107
|
-
addGlobalListeners() {
|
108
|
-
document.addEventListener('pointermove', this.handlePointerMove);
|
109
|
-
document.addEventListener('pointerup', this.handlePointerUp);
|
110
|
-
document.addEventListener('pointercancel', this.handlePointerUp);
|
111
|
-
}
|
112
|
-
removeGlobalListeners() {
|
113
|
-
document.removeEventListener('pointermove', this.handlePointerMove);
|
114
|
-
document.removeEventListener('pointerup', this.handlePointerUp);
|
115
|
-
document.removeEventListener('pointercancel', this.handlePointerUp);
|
116
|
-
}
|
117
|
-
};
|
118
|
-
}
|
119
|
-
//# sourceMappingURL=gesture-mixin.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"gesture-mixin.js","sourceRoot":"","sources":["../../../src/mixins/gesture-mixin.ts"],"names":[],"mappings":"AAiBA,MAAM,UAAU,OAAO,CAA4B,IAAW;IAC5D,OAAO,KAAM,SAAQ,IAAI;QAAlB;;YACL,eAAU,GAAG,IAAI,GAAG,EAAoC,CAAA;YACxD,kBAAa,GAAG,CAAC,CAAA;YACjB,wBAAmB,GAAG,CAAC,CAAA;YACvB,gBAAW,GAAoC,IAAI,CAAA;YAiBnD,sBAAiB,GAAG,CAAC,CAAe,EAAE,EAAE;gBACtC,CAAC,CAAC,cAAc,EAAE,CAAA;gBAClB,MAAM,KAAK,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAA;gBAC5C,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE,KAAK,CAAC,CAAA;gBAEvC,IAAI,CAAC,kBAAkB,EAAE,CAAA;YAC3B,CAAC,CAAA;YAED,sBAAiB,GAAG,CAAC,CAAe,EAAE,EAAE;gBACtC,CAAC,CAAC,cAAc,EAAE,CAAA;gBAClB,MAAM,KAAK,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAA;gBAC5C,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE,KAAK,CAAC,CAAA;gBAEvC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;oBAC/B,IAAI,CAAC,WAAW,EAAE,CAAA;gBACpB,CAAC;qBAAM,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;oBACtC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;gBAC/B,CAAC;YACH,CAAC,CAAA;YAED,oBAAe,GAAG,CAAC,CAAe,EAAE,EAAE;gBACpC,MAAM,KAAK,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAA;gBAC5C,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;gBAEnC,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACrB,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;gBAC9B,CAAC;gBAED,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;oBAC/B,IAAI,CAAC,qBAAqB,EAAE,CAAA;oBAC5B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAA;oBACvB,IAAI,CAAC,mBAAmB,GAAG,CAAC,CAAA;oBAC5B,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;gBACvB,CAAC;YACH,CAAC,CAAA;QAkFH,CAAC;QAnIC,iBAAiB;YACf,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;gBAC5B,KAAK,CAAC,iBAAiB,EAAE,CAAA;YAC3B,CAAC;YACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,IAAI,CAAC,iBAAkC,CAAC,CAAA;QAC/E,CAAC;QAED,oBAAoB;YAClB,IAAI,KAAK,CAAC,oBAAoB,EAAE,CAAC;gBAC/B,KAAK,CAAC,oBAAoB,EAAE,CAAA;YAC9B,CAAC;YACD,IAAI,CAAC,mBAAmB,CAAC,aAAa,EAAE,IAAI,CAAC,iBAAkC,CAAC,CAAA;YAChF,IAAI,CAAC,qBAAqB,EAAE,CAAA;QAC9B,CAAC;QAsCD,WAAW;YACT,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAA+B,CAAA;YACnF,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;YAElE,IAAI,IAAI,CAAC,mBAAmB,EAAE,CAAC;gBAC7B,MAAM,KAAK,GAAG,eAAe,GAAG,IAAI,CAAC,mBAAmB,CAAA;gBACxD,MAAM,MAAM,GAAG;oBACb,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;oBACtC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;iBACvC,CAAA;gBAED,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,OAAO,EAAE;oBACvB,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,EAAE;iBACxD,CAAC,CACH,CAAA;YACH,CAAC;YAED,IAAI,CAAC,mBAAmB,GAAG,eAAe,CAAA;QAC5C,CAAC;QAED,UAAU,CAAC,KAA+B,EAAE,GAAY;YACtD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;gBACrB,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAA;gBAC3C,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAA;gBAE3C,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,MAAM,EAAE;oBACtB,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE;iBACpE,CAAC,CACH,CAAA;gBAED,IAAI,GAAG,EAAE,CAAC;oBACR,IAAI,CAAC,WAAW,GAAG,IAAI,CAAA;gBACzB,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,WAAW,GAAG,KAAK,CAAA;gBAC1B,CAAC;YACH,CAAC;iBAAM,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;gBAC9C,qDAAqD;gBACrD,UAAU,CAAC,GAAG,EAAE;oBACd,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;wBACpD,IAAI,CAAC,WAAW,GAAG,KAAK,CAAA;oBAC1B,CAAC;gBACH,CAAC,EAAE,EAAE,CAAC,CAAA;YACR,CAAC;QACH,CAAC;QAED,SAAS,CAAC,KAA+B;YACvC,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE,CAAA;YACrC,MAAM,gBAAgB,GAAG,WAAW,GAAG,IAAI,CAAC,aAAa,CAAA;YAEzD,IAAI,gBAAgB,GAAG,GAAG,EAAE,CAAC;gBAC3B,yCAAyC;gBACzC,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,WAAW,EAAE;oBAC3B,MAAM,EAAE,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE;iBACnC,CAAC,CACH,CAAA;YACH,CAAC;YAED,IAAI,CAAC,aAAa,GAAG,WAAW,CAAA;QAClC,CAAC;QAED,WAAW,CAAC,EAA4B,EAAE,EAA4B;YACpE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtB,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtB,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAA;QACrC,CAAC;QAED,kBAAkB;YAChB,QAAQ,CAAC,gBAAgB,CAAC,aAAa,EAAE,IAAI,CAAC,iBAAkC,CAAC,CAAA;YACjF,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,eAAgC,CAAC,CAAA;YAC7E,QAAQ,CAAC,gBAAgB,CAAC,eAAe,EAAE,IAAI,CAAC,eAAgC,CAAC,CAAA;QACnF,CAAC;QAED,qBAAqB;YACnB,QAAQ,CAAC,mBAAmB,CAAC,aAAa,EAAE,IAAI,CAAC,iBAAkC,CAAC,CAAA;YACpF,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,eAAgC,CAAC,CAAA;YAChF,QAAQ,CAAC,mBAAmB,CAAC,eAAe,EAAE,IAAI,CAAC,eAAgC,CAAC,CAAA;QACtF,CAAC;KACF,CAAA;AACH,CAAC","sourcesContent":["interface CustomElement extends HTMLElement {\n connectedCallback?(): void\n disconnectedCallback?(): void\n}\n\ntype Constructor<T = CustomElement> = new (...args: any[]) => T\n\nexport type GestureEventPinch = CustomEvent<{ scale: number; centerX: number; centerY: number }>\nexport type GestureEventDrag = CustomEvent<{\n deltaX: number\n deltaY: number\n clientX: number\n clientY: number\n end: boolean\n}>\nexport type GestureEventDoubleTap = CustomEvent<{ x: number; y: number }>\n\nexport function gesture<TBase extends Constructor>(Base: TBase) {\n return class extends Base {\n __pointers = new Map<number, { x: number; y: number }>()\n __lastTapTime = 0\n __lastPinchDistance = 0\n __dragStart: { x: number; y: number } | null = null\n\n connectedCallback(): void {\n if (super.connectedCallback) {\n super.connectedCallback()\n }\n this.addEventListener('pointerdown', this.handlePointerDown as EventListener)\n }\n\n disconnectedCallback(): void {\n if (super.disconnectedCallback) {\n super.disconnectedCallback()\n }\n this.removeEventListener('pointerdown', this.handlePointerDown as EventListener)\n this.removeGlobalListeners()\n }\n\n handlePointerDown = (e: PointerEvent) => {\n e.preventDefault()\n const point = { x: e.clientX, y: e.clientY }\n this.__pointers.set(e.pointerId, point)\n\n this.addGlobalListeners()\n }\n\n handlePointerMove = (e: PointerEvent) => {\n e.preventDefault()\n const point = { x: e.clientX, y: e.clientY }\n this.__pointers.set(e.pointerId, point)\n\n if (this.__pointers.size === 2) {\n this.handlePinch()\n } else if (this.__pointers.size === 1) {\n this.handleDrag(point, false)\n }\n }\n\n handlePointerUp = (e: PointerEvent) => {\n const point = { x: e.clientX, y: e.clientY }\n this.__pointers.delete(e.pointerId)\n\n if (this.__dragStart) {\n this.handleDrag(point, true)\n }\n\n if (this.__pointers.size === 0) {\n this.removeGlobalListeners()\n this.__dragStart = null\n this.__lastPinchDistance = 0\n this.handleTap(point)\n }\n }\n\n handlePinch() {\n const pointers = Array.from(this.__pointers.values()) as { x: number; y: number }[]\n const currentDistance = this.getDistance(pointers[0], pointers[1])\n\n if (this.__lastPinchDistance) {\n const scale = currentDistance / this.__lastPinchDistance\n const center = {\n x: (pointers[0].x + pointers[1].x) / 2,\n y: (pointers[0].y + pointers[1].y) / 2\n }\n\n this.dispatchEvent(\n new CustomEvent('pinch', {\n detail: { scale, centerX: center.x, centerY: center.y }\n })\n )\n }\n\n this.__lastPinchDistance = currentDistance\n }\n\n handleDrag(point: { x: number; y: number }, end: boolean) {\n if (this.__dragStart) {\n const deltaX = point.x - this.__dragStart.x\n const deltaY = point.y - this.__dragStart.y\n\n this.dispatchEvent(\n new CustomEvent('drag', {\n detail: { deltaX, deltaY, clientX: point.x, clientY: point.y, end }\n })\n )\n\n if (end) {\n this.__dragStart = null\n } else {\n this.__dragStart = point\n }\n } else if (!end && this.__pointers.size === 1) {\n /* dragging을 시작하려면, pointer 개수가 1개인 것을 (지연)확인해야한다. */\n setTimeout(() => {\n if (this.__pointers.size === 1 && !this.__dragStart) {\n this.__dragStart = point\n }\n }, 30)\n }\n }\n\n handleTap(point: { x: number; y: number }) {\n const currentTime = performance.now()\n const timeSinceLastTap = currentTime - this.__lastTapTime\n\n if (timeSinceLastTap < 300) {\n // 300ms is a common double-tap threshold\n this.dispatchEvent(\n new CustomEvent('doubletap', {\n detail: { x: point.x, y: point.y }\n })\n )\n }\n\n this.__lastTapTime = currentTime\n }\n\n getDistance(p1: { x: number; y: number }, p2: { x: number; y: number }): number {\n const dx = p1.x - p2.x\n const dy = p1.y - p2.y\n return Math.sqrt(dx * dx + dy * dy)\n }\n\n addGlobalListeners() {\n document.addEventListener('pointermove', this.handlePointerMove as EventListener)\n document.addEventListener('pointerup', this.handlePointerUp as EventListener)\n document.addEventListener('pointercancel', this.handlePointerUp as EventListener)\n }\n\n removeGlobalListeners() {\n document.removeEventListener('pointermove', this.handlePointerMove as EventListener)\n document.removeEventListener('pointerup', this.handlePointerUp as EventListener)\n document.removeEventListener('pointercancel', this.handlePointerUp as EventListener)\n }\n }\n}\n"]}
|