@esri/arcgis-rest-geocoding 3.4.1 → 4.0.0-beta.2

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.
Files changed (50) hide show
  1. package/README.md +13 -14
  2. package/dist/bundled/geocoding.esm.js +525 -0
  3. package/dist/bundled/geocoding.esm.js.map +1 -0
  4. package/dist/bundled/geocoding.esm.min.js +12 -0
  5. package/dist/bundled/geocoding.esm.min.js.map +1 -0
  6. package/dist/bundled/geocoding.umd.js +539 -0
  7. package/dist/bundled/geocoding.umd.js.map +1 -0
  8. package/dist/bundled/geocoding.umd.min.js +13 -0
  9. package/dist/bundled/geocoding.umd.min.js.map +1 -0
  10. package/dist/{node → cjs}/bulk.js +7 -8
  11. package/dist/cjs/bulk.js.map +1 -0
  12. package/dist/{node → cjs}/geocode.js +16 -17
  13. package/dist/cjs/geocode.js.map +1 -0
  14. package/dist/{node → cjs}/helpers.js +4 -5
  15. package/dist/cjs/helpers.js.map +1 -0
  16. package/dist/cjs/index.js +11 -0
  17. package/dist/cjs/index.js.map +1 -0
  18. package/dist/{node → cjs}/reverse.js +5 -6
  19. package/dist/cjs/reverse.js.map +1 -0
  20. package/dist/{node → cjs}/suggest.js +5 -6
  21. package/dist/cjs/suggest.js.map +1 -0
  22. package/dist/esm/bulk.d.ts +2 -2
  23. package/dist/esm/bulk.js +5 -6
  24. package/dist/esm/bulk.js.map +1 -1
  25. package/dist/esm/geocode.d.ts +4 -2
  26. package/dist/esm/geocode.js +10 -11
  27. package/dist/esm/geocode.js.map +1 -1
  28. package/dist/esm/helpers.js +4 -5
  29. package/dist/esm/helpers.js.map +1 -1
  30. package/dist/esm/index.d.ts +6 -6
  31. package/dist/esm/index.js +5 -5
  32. package/dist/esm/index.js.map +1 -1
  33. package/dist/esm/reverse.d.ts +2 -2
  34. package/dist/esm/reverse.js +4 -5
  35. package/dist/esm/reverse.js.map +1 -1
  36. package/dist/esm/suggest.d.ts +1 -1
  37. package/dist/esm/suggest.js +4 -5
  38. package/dist/esm/suggest.js.map +1 -1
  39. package/package.json +45 -42
  40. package/dist/node/bulk.js.map +0 -1
  41. package/dist/node/geocode.js.map +0 -1
  42. package/dist/node/helpers.js.map +0 -1
  43. package/dist/node/index.js +0 -11
  44. package/dist/node/index.js.map +0 -1
  45. package/dist/node/reverse.js.map +0 -1
  46. package/dist/node/suggest.js.map +0 -1
  47. package/dist/umd/geocoding.umd.js +0 -565
  48. package/dist/umd/geocoding.umd.js.map +0 -1
  49. package/dist/umd/geocoding.umd.min.js +0 -12
  50. package/dist/umd/geocoding.umd.min.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;gBACgB;AAEhB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;gBACgB;AAEhB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC","sourcesContent":["/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\n\nexport * from \"./geocode.js\";\nexport * from \"./suggest.js\";\nexport * from \"./reverse.js\";\nexport * from \"./bulk.js\";\nexport * from \"./helpers.js\";\n\n// Types that are used in this package are re-exported for convenience and \n// to make the links work correctly in the documentation pages.\nexport type {\n IPoint,\n ILocation,\n IExtent,\n ISpatialReference\n} from \"@esri/arcgis-rest-request\";\n"]}
@@ -1,5 +1,5 @@
1
- import { IPoint, ILocation } from "@esri/arcgis-rest-types";
2
- import { IEndpointOptions } from "./helpers";
1
+ import { IPoint, ILocation } from "@esri/arcgis-rest-request";
2
+ import { IEndpointOptions } from "./helpers.js";
3
3
  export interface IReverseGeocodeResponse {
4
4
  address: {
5
5
  [key: string]: any;
@@ -1,8 +1,7 @@
1
1
  /* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
2
2
  * Apache-2.0 */
3
- import { __assign } from "tslib";
4
3
  import { request, cleanUrl } from "@esri/arcgis-rest-request";
5
- import { ARCGIS_ONLINE_GEOCODING_URL } from "./helpers";
4
+ import { ARCGIS_ONLINE_GEOCODING_URL } from "./helpers.js";
6
5
  function isLocationArray(coords) {
7
6
  return (coords.length === 2 ||
8
7
  coords.length === 3);
@@ -32,7 +31,7 @@ function isLocation(coords) {
32
31
  * @returns A Promise that will resolve with the data from the response.
33
32
  */
34
33
  export function reverseGeocode(coords, requestOptions) {
35
- var options = __assign({ endpoint: ARCGIS_ONLINE_GEOCODING_URL, params: {} }, requestOptions);
34
+ const options = Object.assign({ endpoint: ARCGIS_ONLINE_GEOCODING_URL, params: {} }, requestOptions);
36
35
  if (isLocationArray(coords)) {
37
36
  options.params.location = coords.join();
38
37
  }
@@ -48,9 +47,9 @@ export function reverseGeocode(coords, requestOptions) {
48
47
  // if input is a point, we can pass it straight through, with or without a spatial reference
49
48
  options.params.location = coords;
50
49
  }
51
- return request(cleanUrl(options.endpoint) + "/reverseGeocode", options);
50
+ return request(`${cleanUrl(options.endpoint)}/reverseGeocode`, options);
52
51
  }
53
52
  export default {
54
- reverseGeocode: reverseGeocode
53
+ reverseGeocode
55
54
  };
56
55
  //# sourceMappingURL=reverse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reverse.js","sourceRoot":"","sources":["../../src/reverse.ts"],"names":[],"mappings":"AAAA;gBACgB;;AAEhB,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAI9D,OAAO,EAAE,2BAA2B,EAAoB,MAAM,WAAW,CAAC;AAS1E,SAAS,eAAe,CACtB,MAAwE;IAExE,OAAO,CACJ,MAA2B,CAAC,MAAM,KAAK,CAAC;QACxC,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Research Institute, Inc.\n * Apache-2.0 */\n\nimport { request, cleanUrl, IPoint, ILocation } from \"@esri/arcgis-rest-request\";\n\nimport { ARCGIS_ONLINE_GEOCODING_URL, IEndpointOptions } from \"./helpers.js\";\n\nexport interface IReverseGeocodeResponse {\n address: {\n [key: string]: any;\n };\n location: IPoint;\n}\n\nfunction isLocationArray(\n coords: ILocation | IPoint | [number, number] | [number, number, number]\n): coords is [number, number] | [number, number, number] {\n return (\n (coords as [number, number]).length === 2 ||\n (coords as [number, number, number]).length === 3\n );\n}\n\nfunction isLocation(\n coords: ILocation | IPoint | [number, number] | [number, number, number]\n): coords is ILocation {\n return (\n (coords as ILocation).latitude !== undefined ||\n (coords as ILocation).lat !== undefined\n );\n}\n\n/**\n * ```js\n * import { reverseGeocode } from '@esri/arcgis-rest-geocoding';\n * //\n * reverseGeocode([-118.409,33.943 ]) // long, lat\n * .then((response) => {\n * response.address.PlaceName; // => \"LA Airport\"\n * });\n * // or\n * reverseGeocode({ long: -118.409, lat: 33.943 })\n * reverseGeocode({ latitude: 33.943, latitude: -118.409 })\n * reverseGeocode({ x: -118.409, y: 33.9425 }) // wgs84 is assumed\n * reverseGeocode({ x: -13181226, y: 4021085, spatialReference: { wkid: 3857 })\n * ```\n * Used to determine the address of a [location](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-reverse-geocode.htm).\n *\n * @param coordinates - the location you'd like to associate an address with.\n * @param requestOptions - Additional options for the request including authentication.\n * @returns A Promise that will resolve with the data from the response.\n */\nexport function reverseGeocode(\n coords: IPoint | ILocation | [number, number],\n requestOptions?: IEndpointOptions\n): Promise<IReverseGeocodeResponse> {\n const options: IEndpointOptions = {\n endpoint: ARCGIS_ONLINE_GEOCODING_URL,\n params: {},\n ...requestOptions\n };\n\n if (isLocationArray(coords)) {\n options.params.location = coords.join();\n } else if (isLocation(coords)) {\n if (coords.lat) {\n options.params.location = coords.long + \",\" + coords.lat;\n }\n if (coords.latitude) {\n options.params.location = coords.longitude + \",\" + coords.latitude;\n }\n } else {\n // if input is a point, we can pass it straight through, with or without a spatial reference\n options.params.location = coords;\n }\n\n return request(`${cleanUrl(options.endpoint)}/reverseGeocode`, options);\n}\n\nexport default {\n reverseGeocode\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { IEndpointOptions } from "./helpers";
1
+ import { IEndpointOptions } from "./helpers.js";
2
2
  export interface ISuggestResponse {
3
3
  suggestions: Array<{
4
4
  text: string;
@@ -1,8 +1,7 @@
1
1
  /* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
2
2
  * Apache-2.0 */
3
- import { __assign } from "tslib";
4
3
  import { request, cleanUrl } from "@esri/arcgis-rest-request";
5
- import { ARCGIS_ONLINE_GEOCODING_URL } from "./helpers";
4
+ import { ARCGIS_ONLINE_GEOCODING_URL } from "./helpers.js";
6
5
  /**
7
6
  * ```js
8
7
  * import { suggest } from '@esri/arcgis-rest-geocoding';
@@ -16,11 +15,11 @@ import { ARCGIS_ONLINE_GEOCODING_URL } from "./helpers";
16
15
  * @returns A Promise that will resolve with the data from the response.
17
16
  */
18
17
  export function suggest(partialText, requestOptions) {
19
- var options = __assign({ endpoint: ARCGIS_ONLINE_GEOCODING_URL, params: {} }, requestOptions);
18
+ const options = Object.assign({ endpoint: ARCGIS_ONLINE_GEOCODING_URL, params: {} }, requestOptions);
20
19
  options.params.text = partialText;
21
- return request(cleanUrl(options.endpoint) + "/suggest", options);
20
+ return request(`${cleanUrl(options.endpoint)}/suggest`, options);
22
21
  }
23
22
  export default {
24
- suggest: suggest
23
+ suggest
25
24
  };
26
25
  //# sourceMappingURL=suggest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"suggest.js","sourceRoot":"","sources":["../../src/suggest.ts"],"names":[],"mappings":"AAAA;gBACgB;;AAEhB,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,2BAA2B,EAAoB,MAAM,WAAW,CAAC;AAU1E;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,OAAO,CACrB,WAAmB,EACnB,cAAiC;IAEjC,IAAM,OAAO,cACX,QAAQ,EAAE,2BAA2B,EACrC,MAAM,EAAE,EAAE,IACP,cAAc,CAClB,CAAC;IAEF,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC;IAElC,OAAO,OAAO,CAAI,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAU,EAAE,OAAO,CAAC,CAAC;AACnE,CAAC;AAED,eAAe;IACb,OAAO,SAAA;CACR,CAAC"}
1
+ {"version":3,"file":"suggest.js","sourceRoot":"","sources":["../../src/suggest.ts"],"names":[],"mappings":"AAAA;gBACgB;AAEhB,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,2BAA2B,EAAoB,MAAM,cAAc,CAAC;AAU7E;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,OAAO,CACrB,WAAmB,EACnB,cAAiC;IAEjC,MAAM,OAAO,mBACX,QAAQ,EAAE,2BAA2B,EACrC,MAAM,EAAE,EAAE,IACP,cAAc,CAClB,CAAC;IAEF,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC;IAElC,OAAO,OAAO,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AACnE,CAAC;AAED,eAAe;IACb,OAAO;CACR,CAAC","sourcesContent":["/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\n\nimport { request, cleanUrl } from \"@esri/arcgis-rest-request\";\n\nimport { ARCGIS_ONLINE_GEOCODING_URL, IEndpointOptions } from \"./helpers.js\";\n\nexport interface ISuggestResponse {\n suggestions: Array<{\n text: string;\n magicKey: string;\n isCollection: boolean;\n }>;\n}\n\n/**\n * ```js\n * import { suggest } from '@esri/arcgis-rest-geocoding';\n * //\n * suggest(\"Starb\")\n * .then(response) // response.text === \"Starbucks\"\n * ```\n * Used to return a placename [suggestion](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) for a partial string.\n *\n * @param requestOptions - Options for the request including authentication and other optional parameters.\n * @returns A Promise that will resolve with the data from the response.\n */\nexport function suggest(\n partialText: string,\n requestOptions?: IEndpointOptions\n): Promise<ISuggestResponse> {\n const options: IEndpointOptions = {\n endpoint: ARCGIS_ONLINE_GEOCODING_URL,\n params: {},\n ...requestOptions\n };\n\n options.params.text = partialText;\n\n return request(`${cleanUrl(options.endpoint)}/suggest`, options);\n}\n\nexport default {\n suggest\n};\n"]}
package/package.json CHANGED
@@ -1,66 +1,69 @@
1
1
  {
2
2
  "name": "@esri/arcgis-rest-geocoding",
3
- "version": "3.4.1",
3
+ "version": "4.0.0-beta.2",
4
4
  "description": "Geocoding helpers for @esri/arcgis-rest-js",
5
- "main": "dist/node/index.js",
6
- "unpkg": "dist/umd/geocoding.umd.js",
5
+ "license": "Apache-2.0",
6
+ "keywords": [
7
+ "ES6",
8
+ "arcgis",
9
+ "esri",
10
+ "fetch",
11
+ "promise",
12
+ "typescript"
13
+ ],
14
+ "type": "module",
15
+ "main": "dist/cjs/index.js",
7
16
  "module": "dist/esm/index.js",
8
- "js:next": "dist/esm/index.js",
9
- "sideEffects": false,
17
+ "unpkg": "dist/bundled/geocoding.umd.min.js",
18
+ "exports": {
19
+ ".": {
20
+ "import": "./dist/esm/index.js",
21
+ "require": "./dist/cjs/index.js"
22
+ }
23
+ },
10
24
  "types": "dist/esm/index.d.ts",
11
- "license": "Apache-2.0",
25
+ "sideEffects": false,
12
26
  "files": [
13
27
  "dist/**"
14
28
  ],
29
+ "scripts": {
30
+ "build": "npm-run-all --parallel build:*",
31
+ "postbuild": "node ../../scripts/create-dist-package-jsons.js",
32
+ "build:bundled": "rollup -c ../../rollup.js",
33
+ "build:cjs": "tsc --outDir ./dist/cjs -m commonjs",
34
+ "build:esm": "tsc --outDir ./dist/esm --declaration",
35
+ "dev": "npm-run-all --parallel dev:*",
36
+ "dev:bundled": "rollup -w -c ../../rollup.js",
37
+ "dev:cjs": "tsc -w --outDir ./dist/cjs -m commonjs",
38
+ "dev:esm": "tsc -w --outDir ./dist/esm --declaration"
39
+ },
40
+ "engines": {
41
+ "node": ">=12.20.0"
42
+ },
15
43
  "dependencies": {
16
- "@esri/arcgis-rest-types": "^3.4.1",
17
44
  "@terraformer/arcgis": "^2.0.7",
18
45
  "@types/terraformer__arcgis": "^2.0.0",
19
- "tslib": "^1.13.0"
20
- },
21
- "devDependencies": {
22
- "@esri/arcgis-rest-auth": "^3.4.1",
23
- "@esri/arcgis-rest-request": "^3.4.1"
46
+ "tslib": "^2.3.0"
24
47
  },
25
48
  "peerDependencies": {
26
- "@esri/arcgis-rest-auth": "^3.0.0",
27
- "@esri/arcgis-rest-request": "^3.0.0"
28
- },
29
- "scripts": {
30
- "prepare": "npm run build",
31
- "build": "npm run build:node && npm run build:umd && npm run build:esm",
32
- "build:esm": "tsc --module es2015 --outDir ./dist/esm --declaration",
33
- "build:umd": "rollup -c ../../umd-base-profile.js && rollup -c ../../umd-production-profile.js",
34
- "build:node": "tsc --module commonjs --outDir ./dist/node",
35
- "dev:esm": "tsc -w --module es2015 --outDir ./dist/esm --declaration",
36
- "dev:umd": "rollup -w -c ../../umd-base-profile.js",
37
- "dev:node": "tsc -w --module commonjs --outDir ./dist/node"
49
+ "@esri/arcgis-rest-request": "4.0.0-beta.2"
38
50
  },
39
- "publishConfig": {
40
- "access": "public"
51
+ "devDependencies": {
52
+ "@esri/arcgis-rest-request": "4.0.0-beta.2"
41
53
  },
54
+ "contributors": [
55
+ "Patrick Arlt <parlt@esri.com> (http://patrickarlt.com/)"
56
+ ],
57
+ "homepage": "https://github.com/Esri/arcgis-rest-js#readme",
42
58
  "repository": {
43
59
  "type": "git",
44
60
  "url": "git+https://github.com/Esri/arcgis-rest-js.git",
45
61
  "directory": "packages/arcgis-rest-geocoding"
46
62
  },
47
- "contributors": [
48
- {
49
- "name": "Patrick Arlt",
50
- "email": "parlt@esri.com",
51
- "url": "http://patrickarlt.com/"
52
- }
53
- ],
54
63
  "bugs": {
55
64
  "url": "https://github.com/Esri/arcgis-rest-js/issues"
56
65
  },
57
- "homepage": "https://github.com/Esri/arcgis-rest-js#readme",
58
- "keywords": [
59
- "typescript",
60
- "promise",
61
- "fetch",
62
- "arcgis",
63
- "esri",
64
- "ES6"
65
- ]
66
+ "publishConfig": {
67
+ "access": "public"
68
+ }
66
69
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../src/bulk.ts"],"names":[],"mappings":";AAAA;gBACgB;;;;AAEhB,iEAA8D;AAG9D,qCAA+E;AAqC/E;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,WAAW,CACzB,cAAmC,CAAC,kCAAkC;;IAEtE,IAAM,OAAO,sBACX,QAAQ,EAAE,0CAAgC,EAC1C,MAAM,EAAE,EAAE,IACP,cAAc,CAClB,CAAC;IAEF,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG;QACzB,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,UAAA,OAAO;YAC3C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;QACjC,CAAC,CAAC;KACH,CAAC;IAEF,sDAAsD;IACtD,IACE,CAAC,cAAc,CAAC,cAAc;QAC9B,OAAO,CAAC,QAAQ,KAAK,0CAAgC,EACrD;QACA,OAAO,OAAO,CAAC,MAAM,CACnB,iEAAiE,CAClE,CAAC;KACH;IAED,OAAO,6BAAO,CACT,8BAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,sBAAmB,EAChD,OAAO,CACR,CAAC,IAAI,CAAC,UAAA,QAAQ;QACb,IAAI,OAAO,CAAC,WAAW,EAAE;YACvB,OAAO,QAAQ,CAAC;SACjB;QACD,IAAM,EAAE,GAAG,QAAQ,CAAC,gBAAgB,CAAC;QACrC,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,UAA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U,EAAE,KAAK,EACjB,YAAY,EAAE,IAAI,IACf,cAAc,CAClB,CAAC;IAEF,OAAO,6BAAO,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAC/B,CAAC;AAbD,8CAaC"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
3
- * Apache-2.0 */
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- var tslib_1 = require("tslib");
6
- tslib_1.__exportStar(require("./geocode"), exports);
7
- tslib_1.__exportStar(require("./suggest"), exports);
8
- tslib_1.__exportStar(require("./reverse"), exports);
9
- tslib_1.__exportStar(require("./bulk"), exports);
10
- tslib_1.__exportStar(require("./helpers"), exports);
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;gBACgB;;;AAEhB,oDAA0B;AAC1B,oDAA0B;AAC1B,oDAA0B;AAC1B,iDAAuB;AACvB,oDAA0B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"reverse.js","sourceRoot":"","sources":["../../src/reverse.ts"],"names":[],"mappings":";AAAA;gBACgB;;;;AAEhB,iEAA8D;AAI9D,qCAA0E;AAS1E,SAAS,eAAe,CACtB,MAAwE;IAExE,OAAO,CACJ,MAA2B,CAAC,MAAM,KAAK,CAAC;QACxC,MAAmC,CAAC,MAAM,KAAK,CAAC,CAClD,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CACjB,MAAwE;IAExE,OAAO,CACJ,MAAoB,CAAC,QAAQ,KAAK,SAAS;QAC3C,MAAoB,CAAC,GAAG,KAAK,SAAS,CACxC,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,cAAc,CAC5B,MAA6C,EAC7C,cAAiC;IAEjC,IAAM,OAAO,sBACX,QAAQ,EAAE,qCAA2B,EACrC,MAAM,EAAE,EAAE,IACP,cAAc,CAClB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