@hybridcore/ui 1.5.89 → 1.6.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/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-DgAwVTk8.js} +81 -82
- package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
- package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
- package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
- package/dist/AxisRendererY-C_ItLPNV.js +445 -0
- package/dist/Box-p6OtTUEo.js +30 -0
- package/dist/Bullet-DVczI2TD.js +41 -0
- package/dist/Button-CcsPEIDh.js +35 -0
- package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
- package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
- package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
- package/dist/CategoryAxis-CwnfaGc8.js +458 -0
- package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
- package/dist/Circle-Cy5s-pVc.js +27 -0
- package/dist/ColorSet-C7vpNXhM.js +2957 -0
- package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
- package/dist/DataProcessor-CHDO51q4.js +83 -0
- package/dist/DateAxis-YX3QNIB-.js +569 -0
- package/dist/{Delete-86TO0fMo.js → Delete-CW0UZv1m.js} +1 -1
- package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
- package/dist/FormControl-BLbrq4C7.js +1636 -0
- package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
- package/dist/Hierarchy-Bihj0S61.js +925 -0
- package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
- package/dist/IconPlus-yPkff_Vj.js +19 -0
- package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
- package/dist/Legend-Dp_MKfS4.js +178 -0
- package/dist/LineSeries-Uiv5o56b.js +472 -0
- package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
- package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
- package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
- package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
- package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
- package/dist/PieSeries-B2fW3z0s.js +693 -0
- package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
- package/dist/Scrollbar-D86MJyr2.js +171 -0
- package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
- package/dist/Slice-B19rbYDZ.js +261 -0
- package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
- package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
- package/dist/{TextField-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
- package/dist/Tick-2bcLyHpF.js +162 -0
- package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/XYCursor-C8WktvKM.js +362 -0
- package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
- package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
- package/dist/capitalize-ciszXJ7R.js +9 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +1 -1
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- package/dist/components/charts/_common/utils.js +20 -0
- package/dist/components/charts/candlestick/logic.js +170 -140
- package/dist/components/charts/chart-wrapper/helpers.js +27 -0
- package/dist/components/charts/chart-wrapper/index.js +44 -0
- package/dist/components/charts/chart-wrapper/logic.js +47 -0
- package/dist/components/charts/chart-wrapper/styled.js +44 -0
- package/dist/components/charts/column-line-mix/index.js +10 -0
- package/dist/components/charts/column-line-mix/logic.js +162 -0
- package/dist/components/charts/column-line-mix/styled.js +12 -0
- package/dist/components/charts/drill-down-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-treemap/logic.js +391 -0
- package/dist/components/charts/drill-down-treemap/styled.js +12 -0
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
- package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
- package/dist/components/charts/heatmap/index.js +10 -0
- package/dist/components/charts/heatmap/logic.js +361 -0
- package/dist/components/charts/heatmap/styled.js +12 -0
- package/dist/components/charts/highlighting-line-data/logic.js +89 -256
- package/dist/components/charts/line/index.js +10 -0
- package/dist/components/charts/line/logic.js +148 -0
- package/dist/components/charts/line/styled.js +12 -0
- package/dist/components/charts/logaritmic-scale/index.js +10 -0
- package/dist/components/charts/logaritmic-scale/logic.js +119 -0
- package/dist/components/charts/logaritmic-scale/styled.js +12 -0
- package/dist/components/charts/multiple-value-axes/index.js +10 -0
- package/dist/components/charts/multiple-value-axes/logic.js +191 -0
- package/dist/components/charts/multiple-value-axes/styled.js +12 -0
- package/dist/components/charts/nested-pie/index.js +10 -0
- package/dist/components/charts/nested-pie/logic.js +110 -0
- package/dist/components/charts/nested-pie/styled.js +12 -0
- package/dist/components/charts/packed-circles/index.js +10 -0
- package/dist/components/charts/packed-circles/logic.js +423 -0
- package/dist/components/charts/packed-circles/styled.js +12 -0
- package/dist/components/charts/pie-chart/index.js +10 -0
- package/dist/components/charts/pie-chart/logic.js +70 -0
- package/dist/components/charts/pie-chart/styled.js +12 -0
- package/dist/components/charts/stacked-area-radar/index.js +10 -0
- package/dist/components/charts/stacked-area-radar/logic.js +868 -0
- package/dist/components/charts/stacked-area-radar/styled.js +12 -0
- package/dist/components/charts/stacked-column-chart/index.js +10 -0
- package/dist/components/charts/stacked-column-chart/logic.js +148 -0
- package/dist/components/charts/stacked-column-chart/styled.js +12 -0
- package/dist/components/charts/xy-chart/index.js +10 -0
- package/dist/components/charts/xy-chart/logic.js +170 -0
- package/dist/components/charts/xy-chart/styled.js +12 -0
- package/dist/components/collapsible-card/index.js +58 -32
- package/dist/components/collapsible-card/logic.js +20 -0
- package/dist/components/collapsible-card/styled.js +52 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +153 -253
- package/dist/components/data-map/components/controls/index.js +12 -0
- package/dist/components/data-map/components/controls/styled.js +34 -0
- package/dist/components/data-map/index.js +51 -0
- package/dist/components/data-map/logic.js +108 -0
- package/dist/components/data-map/styled.js +32 -0
- package/dist/components/data-security-selectors/security-level/index.js +5 -5
- package/dist/components/date-picker-with-custom-range/index.js +9 -0
- package/dist/components/date-picker-with-custom-range/logic.js +66 -0
- package/dist/components/date-picker-with-custom-range/styled.js +43 -0
- package/dist/components/divider/index.js +18 -0
- package/dist/components/divider/logic.js +13 -0
- package/dist/components/divider/styled.js +14 -0
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +7 -8
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +65 -62
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/heat-map/components/controls/index.js +12 -0
- package/dist/components/heat-map/components/controls/styled.js +34 -0
- package/dist/components/heat-map/components/legend/index.js +26 -0
- package/dist/components/heat-map/components/legend/styled.js +14 -0
- package/dist/components/heat-map/index.js +37 -0
- package/dist/components/heat-map/logic.js +1945 -0
- package/dist/components/heat-map/styled.js +32 -0
- package/dist/components/icon-button/index.js +22 -15
- package/dist/components/icon-button/logic.js +15 -0
- package/dist/components/icon-button/styled.js +22 -10
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
- package/dist/components/instance-form/components/variable/index.js +8 -8
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/instance-variable-list/index.js +34 -29
- package/dist/components/instance-variable-list/styled.js +21 -21
- package/dist/components/instance-variable-list/variable.js +44 -74
- package/dist/components/linear-indicator/index.js +10 -67
- package/dist/components/linear-indicator/logic.js +47 -0
- package/dist/components/linear-indicator/styled.js +39 -40
- package/dist/components/map/helpers/kml.js +1 -1
- package/dist/components/map/helpers/mapbox.js +14 -14
- package/dist/components/map/helpers/ol.js +23 -19
- package/dist/components/map/helpers/wkt.js +26 -1314
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +113 -101
- package/dist/components/map/styled.js +39 -31
- package/dist/components/metric-card/MetricChart.js +50 -498
- package/dist/components/metric-card/index.js +94 -115
- package/dist/components/metric-card/logic.js +70 -131
- package/dist/components/object-profile-card/components/avatar/index.js +44 -0
- package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
- package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
- package/dist/components/object-profile-card/index.js +90 -0
- package/dist/components/object-profile-card/logic.js +33 -0
- package/dist/components/object-profile-card/styled.js +48 -0
- package/dist/components/paginated-list/index.js +93 -89
- package/dist/components/paginated-list/logic.js +51 -40
- package/dist/components/paginated-list/styled.js +25 -21
- package/dist/components/property-mapping/index.js +2 -2
- package/dist/components/prr-map/components/controls/index.js +12 -0
- package/dist/components/prr-map/components/controls/styled.js +34 -0
- package/dist/components/prr-map/components/legend/index.js +36 -0
- package/dist/components/prr-map/components/legend/styled.js +21 -0
- package/dist/components/prr-map/index.js +38 -0
- package/dist/components/prr-map/logic.js +104 -0
- package/dist/components/prr-map/styled.js +32 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
- package/dist/components/range-selector/components/date-range/index.js +4282 -7
- package/dist/components/range-selector/index.js +1 -1
- package/dist/components/raster-grid-map/components/controls/index.js +12 -0
- package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
- package/dist/components/raster-grid-map/components/legend/index.js +14 -0
- package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
- package/dist/components/raster-grid-map/helpers.js +190 -0
- package/dist/components/raster-grid-map/index.js +38 -0
- package/dist/components/raster-grid-map/logic.js +172 -0
- package/dist/components/raster-grid-map/styled.js +32 -0
- package/dist/components/search-input/index.js +62 -140
- package/dist/components/search-input/logic.js +43 -0
- package/dist/components/search-input/styled.js +33 -0
- package/dist/components/simple-pivot-table/index.js +66 -0
- package/dist/components/simple-pivot-table/logic.js +51 -0
- package/dist/components/simple-pivot-table/styled.js +45 -0
- package/dist/components/static-text/index.js +18 -0
- package/dist/components/static-text/logic.js +13 -0
- package/dist/components/static-text/styled.js +45 -0
- package/dist/components/tabs/index.js +56 -2160
- package/dist/components/tabs/logic.js +36 -0
- package/dist/components/tabs/styled.js +94 -16
- package/dist/components/tabs/tab-panel.js +11 -10
- package/dist/components/template-filters/components/tab-panel/index.js +1 -1
- package/dist/components/template-form/components/property-list/index.js +7 -7
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
- package/dist/components/template-form/index.js +5 -5
- package/dist/components/template-property-filters/property.js +5 -5
- package/dist/components/timeline/index.js +61 -0
- package/dist/components/timeline/logic.js +40 -0
- package/dist/components/timeline/styled.js +48 -0
- package/dist/components/tree-select/index.js +5 -5
- package/dist/components/treeview-filter/item-label/index.js +3 -3
- package/dist/constant-BiOGvlZc.js +21 -0
- package/dist/createReactComponent-C7L-DMHj.js +60 -0
- package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
- package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
- package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
- package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
- package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
- package/dist/index-BMS1Otro.js +183 -0
- package/dist/index-C__OZmYy.js +663 -0
- package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
- package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
- package/dist/index-syTc6m_V.js +1934 -0
- package/dist/index.es-CHNMhaMi.js +2067 -0
- package/dist/index.esm-BLLrbTzY.js +318 -0
- package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
- package/dist/main.d.ts +1226 -358
- package/dist/main.js +141 -443
- package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/path-CNVruS--.js +84 -0
- package/dist/{property-list-form-C5hcK2y2.js → property-list-form-zZQfpR0X.js} +13 -13
- package/dist/styled-eZwjUruw.js +12 -0
- package/dist/useId-B4-oF9Mq.js +34 -0
- package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
- package/dist/useThemeProps-BzzHcQyd.js +58 -0
- package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
- package/package.json +42 -9
- package/dist/AxisRendererY-kADUad00.js +0 -18370
- package/dist/Box-B1AVyJ_s.js +0 -71
- package/dist/DateAxis-CMum47iz.js +0 -924
- package/dist/Input-CoIrGZAh.js +0 -326
- package/dist/InputLabel-CBuAYyuT.js +0 -1367
- package/dist/LineSeries-CfcpoYla.js +0 -549
- package/dist/OutlinedInput-B-iZoc9l.js +0 -450
- package/dist/Tabs-Cn42Z5QI.js +0 -789
- package/dist/components/collapsible-card/style.js +0 -49
- package/dist/components/profile-card/index.js +0 -80
- package/dist/components/profile-card/logic.js +0 -33
- package/dist/components/profile-card/styled.js +0 -43
- package/dist/components/tabs/appleTabs.style.js +0 -55
- package/dist/createStyled-BGx1I94c.js +0 -352
- package/dist/createTheme-CyC5HawC.js +0 -879
- package/dist/exactProp-cjT0t_Pt.js +0 -36
- package/dist/extendSxProp-FEpqY5_S.js +0 -30
- package/dist/index-DMSHuq6l.js +0 -688
- package/dist/index-SpeaLUQD.js +0 -10963
- package/dist/ol-lGwSyEIV.js +0 -15050
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/styled-B8ugzvji.js +0 -12
- package/dist/useId-BHG98T5I.js +0 -26
- package/dist/useTheme-C15Eq8KG.js +0 -18
- package/dist/useTheme-D-uii9iX.js +0 -10
- package/dist/useThemeProps-DRP1dikX.js +0 -95
|
@@ -1,1317 +1,29 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
multipolygon: 10,
|
|
25
|
-
geometrycollection: 11,
|
|
26
|
-
coordinate: 12,
|
|
27
|
-
DOUBLE_TOK: 13,
|
|
28
|
-
ptarray: 14,
|
|
29
|
-
COMMA: 15,
|
|
30
|
-
ring_list: 16,
|
|
31
|
-
ring: 17,
|
|
32
|
-
"(": 18,
|
|
33
|
-
")": 19,
|
|
34
|
-
POINT: 20,
|
|
35
|
-
Z: 21,
|
|
36
|
-
ZM: 22,
|
|
37
|
-
M: 23,
|
|
38
|
-
EMPTY: 24,
|
|
39
|
-
point_untagged: 25,
|
|
40
|
-
polygon_list: 26,
|
|
41
|
-
polygon_untagged: 27,
|
|
42
|
-
point_list: 28,
|
|
43
|
-
LINESTRING: 29,
|
|
44
|
-
POLYGON: 30,
|
|
45
|
-
MULTIPOINT: 31,
|
|
46
|
-
MULTILINESTRING: 32,
|
|
47
|
-
MULTIPOLYGON: 33,
|
|
48
|
-
geometry: 34,
|
|
49
|
-
geometry_collection: 35,
|
|
50
|
-
GEOMETRYCOLLECTION: 36,
|
|
51
|
-
$accept: 0,
|
|
52
|
-
$end: 1
|
|
53
|
-
},
|
|
54
|
-
terminals_: {
|
|
55
|
-
2: "error",
|
|
56
|
-
5: "EOF",
|
|
57
|
-
13: "DOUBLE_TOK",
|
|
58
|
-
15: "COMMA",
|
|
59
|
-
18: "(",
|
|
60
|
-
19: ")",
|
|
61
|
-
20: "POINT",
|
|
62
|
-
21: "Z",
|
|
63
|
-
22: "ZM",
|
|
64
|
-
23: "M",
|
|
65
|
-
24: "EMPTY",
|
|
66
|
-
29: "LINESTRING",
|
|
67
|
-
30: "POLYGON",
|
|
68
|
-
31: "MULTIPOINT",
|
|
69
|
-
32: "MULTILINESTRING",
|
|
70
|
-
33: "MULTIPOLYGON",
|
|
71
|
-
36: "GEOMETRYCOLLECTION"
|
|
72
|
-
},
|
|
73
|
-
productions_: [0, [3, 2], [3, 2], [3, 2], [3, 2], [3, 2], [3, 2], [3, 2], [12, 2], [12, 3], [12, 4], [14, 3], [14, 1], [16, 3], [16, 1], [17, 3], [4, 4], [4, 5], [4, 5], [4, 5], [4, 2], [25, 1], [25, 3], [26, 3], [26, 1], [27, 3], [28, 3], [28, 1], [6, 4], [6, 5], [6, 5], [6, 5], [6, 2], [7, 4], [7, 5], [7, 5], [7, 5], [7, 2], [8, 4], [8, 5], [8, 5], [8, 5], [8, 2], [9, 4], [9, 5], [9, 5], [9, 5], [9, 2], [10, 4], [10, 5], [10, 5], [10, 5], [10, 2], [34, 1], [34, 1], [34, 1], [34, 1], [34, 1], [34, 1], [34, 1], [35, 3], [35, 1], [11, 4], [11, 5], [11, 5], [11, 5], [11, 2]],
|
|
74
|
-
performAction: function(e, t, r, a, l, i, y) {
|
|
75
|
-
var o = i.length - 1;
|
|
76
|
-
switch (l) {
|
|
77
|
-
case 1:
|
|
78
|
-
case 2:
|
|
79
|
-
case 3:
|
|
80
|
-
case 4:
|
|
81
|
-
case 5:
|
|
82
|
-
case 6:
|
|
83
|
-
case 7:
|
|
84
|
-
return i[o - 1];
|
|
85
|
-
case 8:
|
|
86
|
-
this.$ = new Y([Number(i[o - 1]), Number(i[o])]);
|
|
87
|
-
break;
|
|
88
|
-
case 9:
|
|
89
|
-
this.$ = new Y([Number(i[o - 2]), Number(i[o - 1]), Number(i[o])]);
|
|
90
|
-
break;
|
|
91
|
-
case 10:
|
|
92
|
-
this.$ = new Y([Number(i[o - 3]), Number(i[o - 2]), Number(i[o - 1]), Number(i[o])]);
|
|
93
|
-
break;
|
|
94
|
-
case 11:
|
|
95
|
-
case 26:
|
|
96
|
-
this.$ = i[o - 2].addPoint(i[o]);
|
|
97
|
-
break;
|
|
98
|
-
case 12:
|
|
99
|
-
case 21:
|
|
100
|
-
case 27:
|
|
101
|
-
case 53:
|
|
102
|
-
case 54:
|
|
103
|
-
case 55:
|
|
104
|
-
case 56:
|
|
105
|
-
case 57:
|
|
106
|
-
case 58:
|
|
107
|
-
case 59:
|
|
108
|
-
this.$ = i[o];
|
|
109
|
-
break;
|
|
110
|
-
case 13:
|
|
111
|
-
this.$ = i[o - 2].addRing(i[o]);
|
|
112
|
-
break;
|
|
113
|
-
case 14:
|
|
114
|
-
this.$ = new F(i[o]);
|
|
115
|
-
break;
|
|
116
|
-
case 15:
|
|
117
|
-
this.$ = new tt(i[o - 1]);
|
|
118
|
-
break;
|
|
119
|
-
case 16:
|
|
120
|
-
this.$ = {
|
|
121
|
-
type: "Point",
|
|
122
|
-
coordinates: i[o - 1].data[0]
|
|
123
|
-
};
|
|
124
|
-
break;
|
|
125
|
-
case 17:
|
|
126
|
-
this.$ = {
|
|
127
|
-
type: "Point",
|
|
128
|
-
coordinates: i[o - 1].data[0],
|
|
129
|
-
properties: {
|
|
130
|
-
z: !0
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
break;
|
|
134
|
-
case 18:
|
|
135
|
-
this.$ = {
|
|
136
|
-
type: "Point",
|
|
137
|
-
coordinates: i[o - 1].data[0],
|
|
138
|
-
properties: {
|
|
139
|
-
z: !0,
|
|
140
|
-
m: !0
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
break;
|
|
144
|
-
case 19:
|
|
145
|
-
this.$ = {
|
|
146
|
-
type: "Point",
|
|
147
|
-
coordinates: i[o - 1].data[0],
|
|
148
|
-
properties: {
|
|
149
|
-
m: !0
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
break;
|
|
153
|
-
case 20:
|
|
154
|
-
this.$ = {
|
|
155
|
-
type: "Point",
|
|
156
|
-
coordinates: []
|
|
157
|
-
};
|
|
158
|
-
break;
|
|
159
|
-
case 22:
|
|
160
|
-
case 25:
|
|
161
|
-
this.$ = i[o - 1];
|
|
162
|
-
break;
|
|
163
|
-
case 23:
|
|
164
|
-
this.$ = i[o - 2].addPolygon(i[o]);
|
|
165
|
-
break;
|
|
166
|
-
case 24:
|
|
167
|
-
this.$ = new B(i[o]);
|
|
168
|
-
break;
|
|
169
|
-
case 28:
|
|
170
|
-
this.$ = {
|
|
171
|
-
type: "LineString",
|
|
172
|
-
coordinates: i[o - 1].data
|
|
173
|
-
};
|
|
174
|
-
break;
|
|
175
|
-
case 29:
|
|
176
|
-
this.$ = {
|
|
177
|
-
type: "LineString",
|
|
178
|
-
coordinates: i[o - 1].data,
|
|
179
|
-
properties: {
|
|
180
|
-
z: !0
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
break;
|
|
184
|
-
case 30:
|
|
185
|
-
this.$ = {
|
|
186
|
-
type: "LineString",
|
|
187
|
-
coordinates: i[o - 1].data,
|
|
188
|
-
properties: {
|
|
189
|
-
m: !0
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
break;
|
|
193
|
-
case 31:
|
|
194
|
-
this.$ = {
|
|
195
|
-
type: "LineString",
|
|
196
|
-
coordinates: i[o - 1].data,
|
|
197
|
-
properties: {
|
|
198
|
-
z: !0,
|
|
199
|
-
m: !0
|
|
200
|
-
}
|
|
201
|
-
};
|
|
202
|
-
break;
|
|
203
|
-
case 32:
|
|
204
|
-
this.$ = {
|
|
205
|
-
type: "LineString",
|
|
206
|
-
coordinates: []
|
|
207
|
-
};
|
|
208
|
-
break;
|
|
209
|
-
case 33:
|
|
210
|
-
this.$ = {
|
|
211
|
-
type: "Polygon",
|
|
212
|
-
coordinates: i[o - 1].toJSON()
|
|
213
|
-
};
|
|
214
|
-
break;
|
|
215
|
-
case 34:
|
|
216
|
-
this.$ = {
|
|
217
|
-
type: "Polygon",
|
|
218
|
-
coordinates: i[o - 1].toJSON(),
|
|
219
|
-
properties: {
|
|
220
|
-
z: !0
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
break;
|
|
224
|
-
case 35:
|
|
225
|
-
this.$ = {
|
|
226
|
-
type: "Polygon",
|
|
227
|
-
coordinates: i[o - 1].toJSON(),
|
|
228
|
-
properties: {
|
|
229
|
-
m: !0
|
|
230
|
-
}
|
|
231
|
-
};
|
|
232
|
-
break;
|
|
233
|
-
case 36:
|
|
234
|
-
this.$ = {
|
|
235
|
-
type: "Polygon",
|
|
236
|
-
coordinates: i[o - 1].toJSON(),
|
|
237
|
-
properties: {
|
|
238
|
-
z: !0,
|
|
239
|
-
m: !0
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
break;
|
|
243
|
-
case 37:
|
|
244
|
-
this.$ = {
|
|
245
|
-
type: "Polygon",
|
|
246
|
-
coordinates: []
|
|
247
|
-
};
|
|
248
|
-
break;
|
|
249
|
-
case 38:
|
|
250
|
-
this.$ = {
|
|
251
|
-
type: "MultiPoint",
|
|
252
|
-
coordinates: i[o - 1].data
|
|
253
|
-
};
|
|
254
|
-
break;
|
|
255
|
-
case 39:
|
|
256
|
-
this.$ = {
|
|
257
|
-
type: "MultiPoint",
|
|
258
|
-
coordinates: i[o - 1].data,
|
|
259
|
-
properties: {
|
|
260
|
-
z: !0
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
break;
|
|
264
|
-
case 40:
|
|
265
|
-
this.$ = {
|
|
266
|
-
type: "MultiPoint",
|
|
267
|
-
coordinates: i[o - 1].data,
|
|
268
|
-
properties: {
|
|
269
|
-
m: !0
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
break;
|
|
273
|
-
case 41:
|
|
274
|
-
this.$ = {
|
|
275
|
-
type: "MultiPoint",
|
|
276
|
-
coordinates: i[o - 1].data,
|
|
277
|
-
properties: {
|
|
278
|
-
z: !0,
|
|
279
|
-
m: !0
|
|
280
|
-
}
|
|
281
|
-
};
|
|
282
|
-
break;
|
|
283
|
-
case 42:
|
|
284
|
-
this.$ = {
|
|
285
|
-
type: "MultiPoint",
|
|
286
|
-
coordinates: []
|
|
287
|
-
};
|
|
288
|
-
break;
|
|
289
|
-
case 43:
|
|
290
|
-
this.$ = {
|
|
291
|
-
type: "MultiLineString",
|
|
292
|
-
coordinates: i[o - 1].toJSON()
|
|
293
|
-
};
|
|
294
|
-
break;
|
|
295
|
-
case 44:
|
|
296
|
-
this.$ = {
|
|
297
|
-
type: "MultiLineString",
|
|
298
|
-
coordinates: i[o - 1].toJSON(),
|
|
299
|
-
properties: {
|
|
300
|
-
z: !0
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
break;
|
|
304
|
-
case 45:
|
|
305
|
-
this.$ = {
|
|
306
|
-
type: "MultiLineString",
|
|
307
|
-
coordinates: i[o - 1].toJSON(),
|
|
308
|
-
properties: {
|
|
309
|
-
m: !0
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
break;
|
|
313
|
-
case 46:
|
|
314
|
-
this.$ = {
|
|
315
|
-
type: "MultiLineString",
|
|
316
|
-
coordinates: i[o - 1].toJSON(),
|
|
317
|
-
properties: {
|
|
318
|
-
z: !0,
|
|
319
|
-
m: !0
|
|
320
|
-
}
|
|
321
|
-
};
|
|
322
|
-
break;
|
|
323
|
-
case 47:
|
|
324
|
-
this.$ = {
|
|
325
|
-
type: "MultiLineString",
|
|
326
|
-
coordinates: []
|
|
327
|
-
};
|
|
328
|
-
break;
|
|
329
|
-
case 48:
|
|
330
|
-
this.$ = {
|
|
331
|
-
type: "MultiPolygon",
|
|
332
|
-
coordinates: i[o - 1].toJSON()
|
|
333
|
-
};
|
|
334
|
-
break;
|
|
335
|
-
case 49:
|
|
336
|
-
this.$ = {
|
|
337
|
-
type: "MultiPolygon",
|
|
338
|
-
coordinates: i[o - 1].toJSON(),
|
|
339
|
-
properties: {
|
|
340
|
-
z: !0
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
|
-
break;
|
|
344
|
-
case 50:
|
|
345
|
-
this.$ = {
|
|
346
|
-
type: "MultiPolygon",
|
|
347
|
-
coordinates: i[o - 1].toJSON(),
|
|
348
|
-
properties: {
|
|
349
|
-
m: !0
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
break;
|
|
353
|
-
case 51:
|
|
354
|
-
this.$ = {
|
|
355
|
-
type: "MultiPolygon",
|
|
356
|
-
coordinates: i[o - 1].toJSON(),
|
|
357
|
-
properties: {
|
|
358
|
-
z: !0,
|
|
359
|
-
m: !0
|
|
360
|
-
}
|
|
361
|
-
};
|
|
362
|
-
break;
|
|
363
|
-
case 52:
|
|
364
|
-
this.$ = {
|
|
365
|
-
type: "MultiPolygon",
|
|
366
|
-
coordinates: []
|
|
367
|
-
};
|
|
368
|
-
break;
|
|
369
|
-
case 60:
|
|
370
|
-
this.$ = i[o - 2].addGeometry(i[o]);
|
|
371
|
-
break;
|
|
372
|
-
case 61:
|
|
373
|
-
this.$ = new D(i[o]);
|
|
374
|
-
break;
|
|
375
|
-
case 62:
|
|
376
|
-
this.$ = {
|
|
377
|
-
type: "GeometryCollection",
|
|
378
|
-
geometries: i[o - 1].toJSON()
|
|
379
|
-
};
|
|
380
|
-
break;
|
|
381
|
-
case 63:
|
|
382
|
-
this.$ = {
|
|
383
|
-
type: "GeometryCollection",
|
|
384
|
-
geometries: i[o - 1].toJSON(),
|
|
385
|
-
properties: {
|
|
386
|
-
z: !0
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
break;
|
|
390
|
-
case 64:
|
|
391
|
-
this.$ = {
|
|
392
|
-
type: "GeometryCollection",
|
|
393
|
-
geometries: i[o - 1].toJSON(),
|
|
394
|
-
properties: {
|
|
395
|
-
m: !0
|
|
396
|
-
}
|
|
397
|
-
};
|
|
398
|
-
break;
|
|
399
|
-
case 65:
|
|
400
|
-
this.$ = {
|
|
401
|
-
type: "GeometryCollection",
|
|
402
|
-
geometries: i[o - 1].toJSON(),
|
|
403
|
-
properties: {
|
|
404
|
-
z: !0,
|
|
405
|
-
m: !0
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
break;
|
|
409
|
-
case 66:
|
|
410
|
-
this.$ = {
|
|
411
|
-
type: "GeometryCollection",
|
|
412
|
-
geometries: []
|
|
413
|
-
};
|
|
414
|
-
break;
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
table: [{
|
|
418
|
-
3: 1,
|
|
419
|
-
4: 2,
|
|
420
|
-
6: 3,
|
|
421
|
-
7: 4,
|
|
422
|
-
8: 5,
|
|
423
|
-
9: 6,
|
|
424
|
-
10: 7,
|
|
425
|
-
11: 8,
|
|
426
|
-
20: M,
|
|
427
|
-
29: v,
|
|
428
|
-
30: N,
|
|
429
|
-
31: L,
|
|
430
|
-
32: E,
|
|
431
|
-
33: I,
|
|
432
|
-
36: x
|
|
433
|
-
}, {
|
|
434
|
-
1: [3]
|
|
435
|
-
}, {
|
|
436
|
-
5: [1, 16]
|
|
437
|
-
}, {
|
|
438
|
-
5: [1, 17]
|
|
439
|
-
}, {
|
|
440
|
-
5: [1, 18]
|
|
441
|
-
}, {
|
|
442
|
-
5: [1, 19]
|
|
443
|
-
}, {
|
|
444
|
-
5: [1, 20]
|
|
445
|
-
}, {
|
|
446
|
-
5: [1, 21]
|
|
447
|
-
}, {
|
|
448
|
-
5: [1, 22]
|
|
449
|
-
}, {
|
|
450
|
-
18: [1, 23],
|
|
451
|
-
21: [1, 24],
|
|
452
|
-
22: [1, 25],
|
|
453
|
-
23: [1, 26],
|
|
454
|
-
24: [1, 27]
|
|
455
|
-
}, {
|
|
456
|
-
18: [1, 28],
|
|
457
|
-
21: [1, 29],
|
|
458
|
-
22: [1, 31],
|
|
459
|
-
23: [1, 30],
|
|
460
|
-
24: [1, 32]
|
|
461
|
-
}, {
|
|
462
|
-
18: [1, 33],
|
|
463
|
-
21: [1, 34],
|
|
464
|
-
22: [1, 36],
|
|
465
|
-
23: [1, 35],
|
|
466
|
-
24: [1, 37]
|
|
467
|
-
}, {
|
|
468
|
-
18: [1, 38],
|
|
469
|
-
21: [1, 39],
|
|
470
|
-
22: [1, 41],
|
|
471
|
-
23: [1, 40],
|
|
472
|
-
24: [1, 42]
|
|
473
|
-
}, {
|
|
474
|
-
18: [1, 43],
|
|
475
|
-
21: [1, 44],
|
|
476
|
-
22: [1, 46],
|
|
477
|
-
23: [1, 45],
|
|
478
|
-
24: [1, 47]
|
|
479
|
-
}, {
|
|
480
|
-
18: [1, 48],
|
|
481
|
-
21: [1, 49],
|
|
482
|
-
22: [1, 51],
|
|
483
|
-
23: [1, 50],
|
|
484
|
-
24: [1, 52]
|
|
485
|
-
}, {
|
|
486
|
-
18: [1, 53],
|
|
487
|
-
21: [1, 54],
|
|
488
|
-
22: [1, 56],
|
|
489
|
-
23: [1, 55],
|
|
490
|
-
24: [1, 57]
|
|
491
|
-
}, {
|
|
492
|
-
1: [2, 1]
|
|
493
|
-
}, {
|
|
494
|
-
1: [2, 2]
|
|
495
|
-
}, {
|
|
496
|
-
1: [2, 3]
|
|
497
|
-
}, {
|
|
498
|
-
1: [2, 4]
|
|
499
|
-
}, {
|
|
500
|
-
1: [2, 5]
|
|
501
|
-
}, {
|
|
502
|
-
1: [2, 6]
|
|
503
|
-
}, {
|
|
504
|
-
1: [2, 7]
|
|
505
|
-
}, {
|
|
506
|
-
12: 59,
|
|
507
|
-
13: p,
|
|
508
|
-
14: 58
|
|
509
|
-
}, {
|
|
510
|
-
18: [1, 61]
|
|
511
|
-
}, {
|
|
512
|
-
18: [1, 62]
|
|
513
|
-
}, {
|
|
514
|
-
18: [1, 63]
|
|
515
|
-
}, s(c, [2, 20]), {
|
|
516
|
-
12: 66,
|
|
517
|
-
13: p,
|
|
518
|
-
18: b,
|
|
519
|
-
25: 65,
|
|
520
|
-
28: 64
|
|
521
|
-
}, {
|
|
522
|
-
18: [1, 68]
|
|
523
|
-
}, {
|
|
524
|
-
18: [1, 69]
|
|
525
|
-
}, {
|
|
526
|
-
18: [1, 70]
|
|
527
|
-
}, s(c, [2, 32]), {
|
|
528
|
-
16: 71,
|
|
529
|
-
17: 72,
|
|
530
|
-
18: g
|
|
531
|
-
}, {
|
|
532
|
-
18: [1, 74]
|
|
533
|
-
}, {
|
|
534
|
-
18: [1, 75]
|
|
535
|
-
}, {
|
|
536
|
-
18: [1, 76]
|
|
537
|
-
}, s(c, [2, 37]), {
|
|
538
|
-
12: 66,
|
|
539
|
-
13: p,
|
|
540
|
-
18: b,
|
|
541
|
-
25: 65,
|
|
542
|
-
28: 77
|
|
543
|
-
}, {
|
|
544
|
-
18: [1, 78]
|
|
545
|
-
}, {
|
|
546
|
-
18: [1, 79]
|
|
547
|
-
}, {
|
|
548
|
-
18: [1, 80]
|
|
549
|
-
}, s(c, [2, 42]), {
|
|
550
|
-
16: 81,
|
|
551
|
-
17: 72,
|
|
552
|
-
18: g
|
|
553
|
-
}, {
|
|
554
|
-
18: [1, 82]
|
|
555
|
-
}, {
|
|
556
|
-
18: [1, 83]
|
|
557
|
-
}, {
|
|
558
|
-
18: [1, 84]
|
|
559
|
-
}, s(c, [2, 47]), {
|
|
560
|
-
18: G,
|
|
561
|
-
26: 85,
|
|
562
|
-
27: 86
|
|
563
|
-
}, {
|
|
564
|
-
18: [1, 88]
|
|
565
|
-
}, {
|
|
566
|
-
18: [1, 89]
|
|
567
|
-
}, {
|
|
568
|
-
18: [1, 90]
|
|
569
|
-
}, s(c, [2, 52]), {
|
|
570
|
-
4: 93,
|
|
571
|
-
6: 94,
|
|
572
|
-
7: 95,
|
|
573
|
-
8: 96,
|
|
574
|
-
9: 97,
|
|
575
|
-
10: 98,
|
|
576
|
-
11: 99,
|
|
577
|
-
20: M,
|
|
578
|
-
29: v,
|
|
579
|
-
30: N,
|
|
580
|
-
31: L,
|
|
581
|
-
32: E,
|
|
582
|
-
33: I,
|
|
583
|
-
34: 92,
|
|
584
|
-
35: 91,
|
|
585
|
-
36: x
|
|
586
|
-
}, {
|
|
587
|
-
18: [1, 100]
|
|
588
|
-
}, {
|
|
589
|
-
18: [1, 101]
|
|
590
|
-
}, {
|
|
591
|
-
18: [1, 102]
|
|
592
|
-
}, s(c, [2, 66]), {
|
|
593
|
-
15: R,
|
|
594
|
-
19: [1, 103]
|
|
595
|
-
}, s(h, [2, 12]), {
|
|
596
|
-
13: [1, 105]
|
|
597
|
-
}, {
|
|
598
|
-
12: 59,
|
|
599
|
-
13: p,
|
|
600
|
-
14: 106
|
|
601
|
-
}, {
|
|
602
|
-
12: 59,
|
|
603
|
-
13: p,
|
|
604
|
-
14: 107
|
|
605
|
-
}, {
|
|
606
|
-
12: 59,
|
|
607
|
-
13: p,
|
|
608
|
-
14: 108
|
|
609
|
-
}, {
|
|
610
|
-
15: _,
|
|
611
|
-
19: [1, 109]
|
|
612
|
-
}, s(h, [2, 27]), s(h, [2, 21]), {
|
|
613
|
-
12: 111,
|
|
614
|
-
13: p
|
|
615
|
-
}, {
|
|
616
|
-
12: 66,
|
|
617
|
-
13: p,
|
|
618
|
-
18: b,
|
|
619
|
-
25: 65,
|
|
620
|
-
28: 112
|
|
621
|
-
}, {
|
|
622
|
-
12: 66,
|
|
623
|
-
13: p,
|
|
624
|
-
18: b,
|
|
625
|
-
25: 65,
|
|
626
|
-
28: 113
|
|
627
|
-
}, {
|
|
628
|
-
12: 66,
|
|
629
|
-
13: p,
|
|
630
|
-
18: b,
|
|
631
|
-
25: 65,
|
|
632
|
-
28: 114
|
|
633
|
-
}, {
|
|
634
|
-
15: k,
|
|
635
|
-
19: [1, 115]
|
|
636
|
-
}, s(h, [2, 14]), {
|
|
637
|
-
12: 59,
|
|
638
|
-
13: p,
|
|
639
|
-
14: 117
|
|
640
|
-
}, {
|
|
641
|
-
16: 118,
|
|
642
|
-
17: 72,
|
|
643
|
-
18: g
|
|
644
|
-
}, {
|
|
645
|
-
16: 119,
|
|
646
|
-
17: 72,
|
|
647
|
-
18: g
|
|
648
|
-
}, {
|
|
649
|
-
16: 120,
|
|
650
|
-
17: 72,
|
|
651
|
-
18: g
|
|
652
|
-
}, {
|
|
653
|
-
15: _,
|
|
654
|
-
19: [1, 121]
|
|
655
|
-
}, {
|
|
656
|
-
12: 66,
|
|
657
|
-
13: p,
|
|
658
|
-
18: b,
|
|
659
|
-
25: 65,
|
|
660
|
-
28: 122
|
|
661
|
-
}, {
|
|
662
|
-
12: 66,
|
|
663
|
-
13: p,
|
|
664
|
-
18: b,
|
|
665
|
-
25: 65,
|
|
666
|
-
28: 123
|
|
667
|
-
}, {
|
|
668
|
-
12: 66,
|
|
669
|
-
13: p,
|
|
670
|
-
18: b,
|
|
671
|
-
25: 65,
|
|
672
|
-
28: 124
|
|
673
|
-
}, {
|
|
674
|
-
15: k,
|
|
675
|
-
19: [1, 125]
|
|
676
|
-
}, {
|
|
677
|
-
16: 126,
|
|
678
|
-
17: 72,
|
|
679
|
-
18: g
|
|
680
|
-
}, {
|
|
681
|
-
16: 127,
|
|
682
|
-
17: 72,
|
|
683
|
-
18: g
|
|
684
|
-
}, {
|
|
685
|
-
16: 128,
|
|
686
|
-
17: 72,
|
|
687
|
-
18: g
|
|
688
|
-
}, {
|
|
689
|
-
15: U,
|
|
690
|
-
19: [1, 129]
|
|
691
|
-
}, s(h, [2, 24]), {
|
|
692
|
-
16: 131,
|
|
693
|
-
17: 72,
|
|
694
|
-
18: g
|
|
695
|
-
}, {
|
|
696
|
-
18: G,
|
|
697
|
-
26: 132,
|
|
698
|
-
27: 86
|
|
699
|
-
}, {
|
|
700
|
-
18: G,
|
|
701
|
-
26: 133,
|
|
702
|
-
27: 86
|
|
703
|
-
}, {
|
|
704
|
-
18: G,
|
|
705
|
-
26: 134,
|
|
706
|
-
27: 86
|
|
707
|
-
}, {
|
|
708
|
-
15: V,
|
|
709
|
-
19: [1, 135]
|
|
710
|
-
}, s(h, [2, 61]), s(h, [2, 53]), s(h, [2, 54]), s(h, [2, 55]), s(h, [2, 56]), s(h, [2, 57]), s(h, [2, 58]), s(h, [2, 59]), {
|
|
711
|
-
4: 93,
|
|
712
|
-
6: 94,
|
|
713
|
-
7: 95,
|
|
714
|
-
8: 96,
|
|
715
|
-
9: 97,
|
|
716
|
-
10: 98,
|
|
717
|
-
11: 99,
|
|
718
|
-
20: M,
|
|
719
|
-
29: v,
|
|
720
|
-
30: N,
|
|
721
|
-
31: L,
|
|
722
|
-
32: E,
|
|
723
|
-
33: I,
|
|
724
|
-
34: 92,
|
|
725
|
-
35: 137,
|
|
726
|
-
36: x
|
|
727
|
-
}, {
|
|
728
|
-
4: 93,
|
|
729
|
-
6: 94,
|
|
730
|
-
7: 95,
|
|
731
|
-
8: 96,
|
|
732
|
-
9: 97,
|
|
733
|
-
10: 98,
|
|
734
|
-
11: 99,
|
|
735
|
-
20: M,
|
|
736
|
-
29: v,
|
|
737
|
-
30: N,
|
|
738
|
-
31: L,
|
|
739
|
-
32: E,
|
|
740
|
-
33: I,
|
|
741
|
-
34: 92,
|
|
742
|
-
35: 138,
|
|
743
|
-
36: x
|
|
744
|
-
}, {
|
|
745
|
-
4: 93,
|
|
746
|
-
6: 94,
|
|
747
|
-
7: 95,
|
|
748
|
-
8: 96,
|
|
749
|
-
9: 97,
|
|
750
|
-
10: 98,
|
|
751
|
-
11: 99,
|
|
752
|
-
20: M,
|
|
753
|
-
29: v,
|
|
754
|
-
30: N,
|
|
755
|
-
31: L,
|
|
756
|
-
32: E,
|
|
757
|
-
33: I,
|
|
758
|
-
34: 92,
|
|
759
|
-
35: 139,
|
|
760
|
-
36: x
|
|
761
|
-
}, s(c, [2, 16]), {
|
|
762
|
-
12: 140,
|
|
763
|
-
13: p
|
|
764
|
-
}, s(h, [2, 8], {
|
|
765
|
-
13: [1, 141]
|
|
766
|
-
}), {
|
|
767
|
-
15: R,
|
|
768
|
-
19: [1, 142]
|
|
769
|
-
}, {
|
|
770
|
-
15: R,
|
|
771
|
-
19: [1, 143]
|
|
772
|
-
}, {
|
|
773
|
-
15: R,
|
|
774
|
-
19: [1, 144]
|
|
775
|
-
}, s(c, [2, 28]), {
|
|
776
|
-
12: 66,
|
|
777
|
-
13: p,
|
|
778
|
-
18: b,
|
|
779
|
-
25: 145
|
|
780
|
-
}, {
|
|
781
|
-
19: [1, 146]
|
|
782
|
-
}, {
|
|
783
|
-
15: _,
|
|
784
|
-
19: [1, 147]
|
|
785
|
-
}, {
|
|
786
|
-
15: _,
|
|
787
|
-
19: [1, 148]
|
|
788
|
-
}, {
|
|
789
|
-
15: _,
|
|
790
|
-
19: [1, 149]
|
|
791
|
-
}, s(c, [2, 33]), {
|
|
792
|
-
17: 150,
|
|
793
|
-
18: g
|
|
794
|
-
}, {
|
|
795
|
-
15: R,
|
|
796
|
-
19: [1, 151]
|
|
797
|
-
}, {
|
|
798
|
-
15: k,
|
|
799
|
-
19: [1, 152]
|
|
800
|
-
}, {
|
|
801
|
-
15: k,
|
|
802
|
-
19: [1, 153]
|
|
803
|
-
}, {
|
|
804
|
-
15: k,
|
|
805
|
-
19: [1, 154]
|
|
806
|
-
}, s(c, [2, 38]), {
|
|
807
|
-
15: _,
|
|
808
|
-
19: [1, 155]
|
|
809
|
-
}, {
|
|
810
|
-
15: _,
|
|
811
|
-
19: [1, 156]
|
|
812
|
-
}, {
|
|
813
|
-
15: _,
|
|
814
|
-
19: [1, 157]
|
|
815
|
-
}, s(c, [2, 43]), {
|
|
816
|
-
15: k,
|
|
817
|
-
19: [1, 158]
|
|
818
|
-
}, {
|
|
819
|
-
15: k,
|
|
820
|
-
19: [1, 159]
|
|
821
|
-
}, {
|
|
822
|
-
15: k,
|
|
823
|
-
19: [1, 160]
|
|
824
|
-
}, s(c, [2, 48]), {
|
|
825
|
-
18: G,
|
|
826
|
-
27: 161
|
|
827
|
-
}, {
|
|
828
|
-
15: k,
|
|
829
|
-
19: [1, 162]
|
|
830
|
-
}, {
|
|
831
|
-
15: U,
|
|
832
|
-
19: [1, 163]
|
|
833
|
-
}, {
|
|
834
|
-
15: U,
|
|
835
|
-
19: [1, 164]
|
|
836
|
-
}, {
|
|
837
|
-
15: U,
|
|
838
|
-
19: [1, 165]
|
|
839
|
-
}, s(c, [2, 62]), {
|
|
840
|
-
4: 93,
|
|
841
|
-
6: 94,
|
|
842
|
-
7: 95,
|
|
843
|
-
8: 96,
|
|
844
|
-
9: 97,
|
|
845
|
-
10: 98,
|
|
846
|
-
11: 99,
|
|
847
|
-
20: M,
|
|
848
|
-
29: v,
|
|
849
|
-
30: N,
|
|
850
|
-
31: L,
|
|
851
|
-
32: E,
|
|
852
|
-
33: I,
|
|
853
|
-
34: 166,
|
|
854
|
-
36: x
|
|
855
|
-
}, {
|
|
856
|
-
15: V,
|
|
857
|
-
19: [1, 167]
|
|
858
|
-
}, {
|
|
859
|
-
15: V,
|
|
860
|
-
19: [1, 168]
|
|
861
|
-
}, {
|
|
862
|
-
15: V,
|
|
863
|
-
19: [1, 169]
|
|
864
|
-
}, s(h, [2, 11]), s(h, [2, 9], {
|
|
865
|
-
13: [1, 170]
|
|
866
|
-
}), s(c, [2, 17]), s(c, [2, 18]), s(c, [2, 19]), s(h, [2, 26]), s(h, [2, 22]), s(c, [2, 29]), s(c, [2, 30]), s(c, [2, 31]), s(h, [2, 13]), s(h, [2, 15]), s(c, [2, 34]), s(c, [2, 35]), s(c, [2, 36]), s(c, [2, 39]), s(c, [2, 40]), s(c, [2, 41]), s(c, [2, 44]), s(c, [2, 45]), s(c, [2, 46]), s(h, [2, 23]), s(h, [2, 25]), s(c, [2, 49]), s(c, [2, 50]), s(c, [2, 51]), s(h, [2, 60]), s(c, [2, 63]), s(c, [2, 64]), s(c, [2, 65]), s(h, [2, 10])],
|
|
867
|
-
defaultActions: {
|
|
868
|
-
16: [2, 1],
|
|
869
|
-
17: [2, 2],
|
|
870
|
-
18: [2, 3],
|
|
871
|
-
19: [2, 4],
|
|
872
|
-
20: [2, 5],
|
|
873
|
-
21: [2, 6],
|
|
874
|
-
22: [2, 7]
|
|
875
|
-
},
|
|
876
|
-
parseError: function(e, t) {
|
|
877
|
-
if (t.recoverable)
|
|
878
|
-
this.trace(e);
|
|
879
|
-
else {
|
|
880
|
-
var r = new Error(e);
|
|
881
|
-
throw r.hash = t, r;
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
parse: function(e) {
|
|
885
|
-
var t = this, r = [0], a = [null], l = [], i = this.table, y = "", o = 0, q = 0, et = 2, H = 1, it = l.slice.call(arguments, 1), u = Object.create(this.lexer), T = {
|
|
886
|
-
yy: {}
|
|
887
|
-
};
|
|
888
|
-
for (var Z in this.yy)
|
|
889
|
-
Object.prototype.hasOwnProperty.call(this.yy, Z) && (T.yy[Z] = this.yy[Z]);
|
|
890
|
-
u.setInput(e, T.yy), T.yy.lexer = u, T.yy.parser = this, typeof u.yylloc > "u" && (u.yylloc = {});
|
|
891
|
-
var z = u.yylloc;
|
|
892
|
-
l.push(z);
|
|
893
|
-
var rt = u.options && u.options.ranges;
|
|
894
|
-
typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
895
|
-
for (var nt = function() {
|
|
896
|
-
var S;
|
|
897
|
-
return S = u.lex() || H, typeof S != "number" && (S = t.symbols_[S] || S), S;
|
|
898
|
-
}, f, P, d, K, O = {}, A, m, Q, C; ; ) {
|
|
899
|
-
if (P = r[r.length - 1], this.defaultActions[P] ? d = this.defaultActions[P] : ((f === null || typeof f > "u") && (f = nt()), d = i[P] && i[P][f]), typeof d > "u" || !d.length || !d[0]) {
|
|
900
|
-
var W = "";
|
|
901
|
-
C = [];
|
|
902
|
-
for (A in i[P])
|
|
903
|
-
this.terminals_[A] && A > et && C.push("'" + this.terminals_[A] + "'");
|
|
904
|
-
u.showPosition ? W = "Parse error on line " + (o + 1) + `:
|
|
905
|
-
` + u.showPosition() + `
|
|
906
|
-
Expecting ` + C.join(", ") + ", got '" + (this.terminals_[f] || f) + "'" : W = "Parse error on line " + (o + 1) + ": Unexpected " + (f == H ? "end of input" : "'" + (this.terminals_[f] || f) + "'"), this.parseError(W, {
|
|
907
|
-
text: u.match,
|
|
908
|
-
token: this.terminals_[f] || f,
|
|
909
|
-
line: u.yylineno,
|
|
910
|
-
loc: z,
|
|
911
|
-
expected: C
|
|
912
|
-
});
|
|
913
|
-
}
|
|
914
|
-
if (d[0] instanceof Array && d.length > 1)
|
|
915
|
-
throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + f);
|
|
916
|
-
switch (d[0]) {
|
|
917
|
-
case 1:
|
|
918
|
-
r.push(f), a.push(u.yytext), l.push(u.yylloc), r.push(d[1]), f = null, q = u.yyleng, y = u.yytext, o = u.yylineno, z = u.yylloc;
|
|
919
|
-
break;
|
|
920
|
-
case 2:
|
|
921
|
-
if (m = this.productions_[d[1]][1], O.$ = a[a.length - m], O._$ = {
|
|
922
|
-
first_line: l[l.length - (m || 1)].first_line,
|
|
923
|
-
last_line: l[l.length - 1].last_line,
|
|
924
|
-
first_column: l[l.length - (m || 1)].first_column,
|
|
925
|
-
last_column: l[l.length - 1].last_column
|
|
926
|
-
}, rt && (O._$.range = [l[l.length - (m || 1)].range[0], l[l.length - 1].range[1]]), K = this.performAction.apply(O, [y, q, o, T.yy, d[1], a, l].concat(it)), typeof K < "u")
|
|
927
|
-
return K;
|
|
928
|
-
m && (r = r.slice(0, -1 * m * 2), a = a.slice(0, -1 * m), l = l.slice(0, -1 * m)), r.push(this.productions_[d[1]][0]), a.push(O.$), l.push(O._$), Q = i[r[r.length - 2]][r[r.length - 1]], r.push(Q);
|
|
929
|
-
break;
|
|
930
|
-
case 3:
|
|
931
|
-
return !0;
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
return !0;
|
|
935
|
-
}
|
|
936
|
-
}, ot = /* @__PURE__ */ function() {
|
|
937
|
-
var n = {
|
|
938
|
-
EOF: 1,
|
|
939
|
-
parseError: function(t, r) {
|
|
940
|
-
if (this.yy.parser)
|
|
941
|
-
this.yy.parser.parseError(t, r);
|
|
942
|
-
else
|
|
943
|
-
throw new Error(t);
|
|
944
|
-
},
|
|
945
|
-
// resets the lexer, sets new input
|
|
946
|
-
setInput: function(t, r) {
|
|
947
|
-
return this.yy = r || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
948
|
-
first_line: 1,
|
|
949
|
-
first_column: 0,
|
|
950
|
-
last_line: 1,
|
|
951
|
-
last_column: 0
|
|
952
|
-
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
953
|
-
},
|
|
954
|
-
// consumes and returns one char from the input
|
|
955
|
-
input: function() {
|
|
956
|
-
var t = this._input[0];
|
|
957
|
-
this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
|
|
958
|
-
var r = t.match(/(?:\r\n?|\n).*/g);
|
|
959
|
-
return r ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
|
|
960
|
-
},
|
|
961
|
-
// unshifts one char (or a string) into the input
|
|
962
|
-
unput: function(t) {
|
|
963
|
-
var r = t.length, a = t.split(/(?:\r\n?|\n)/g);
|
|
964
|
-
this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
|
|
965
|
-
var l = this.match.split(/(?:\r\n?|\n)/g);
|
|
966
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), a.length - 1 && (this.yylineno -= a.length - 1);
|
|
967
|
-
var i = this.yylloc.range;
|
|
968
|
-
return this.yylloc = {
|
|
969
|
-
first_line: this.yylloc.first_line,
|
|
970
|
-
last_line: this.yylineno + 1,
|
|
971
|
-
first_column: this.yylloc.first_column,
|
|
972
|
-
last_column: a ? (a.length === l.length ? this.yylloc.first_column : 0) + l[l.length - a.length].length - a[0].length : this.yylloc.first_column - r
|
|
973
|
-
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - r]), this.yyleng = this.yytext.length, this;
|
|
974
|
-
},
|
|
975
|
-
// When called from action, caches matched text and appends it on next action
|
|
976
|
-
more: function() {
|
|
977
|
-
return this._more = !0, this;
|
|
978
|
-
},
|
|
979
|
-
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
980
|
-
reject: function() {
|
|
981
|
-
if (this.options.backtrack_lexer)
|
|
982
|
-
this._backtrack = !0;
|
|
983
|
-
else
|
|
984
|
-
return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
985
|
-
` + this.showPosition(), {
|
|
986
|
-
text: "",
|
|
987
|
-
token: null,
|
|
988
|
-
line: this.yylineno
|
|
989
|
-
});
|
|
990
|
-
return this;
|
|
991
|
-
},
|
|
992
|
-
// retain first n characters of the match
|
|
993
|
-
less: function(t) {
|
|
994
|
-
this.unput(this.match.slice(t));
|
|
995
|
-
},
|
|
996
|
-
// displays already matched input, i.e. for error messages
|
|
997
|
-
pastInput: function() {
|
|
998
|
-
var t = this.matched.substr(0, this.matched.length - this.match.length);
|
|
999
|
-
return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
|
|
1000
|
-
},
|
|
1001
|
-
// displays upcoming input, i.e. for error messages
|
|
1002
|
-
upcomingInput: function() {
|
|
1003
|
-
var t = this.match;
|
|
1004
|
-
return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1005
|
-
},
|
|
1006
|
-
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
1007
|
-
showPosition: function() {
|
|
1008
|
-
var t = this.pastInput(), r = new Array(t.length + 1).join("-");
|
|
1009
|
-
return t + this.upcomingInput() + `
|
|
1010
|
-
` + r + "^";
|
|
1011
|
-
},
|
|
1012
|
-
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
1013
|
-
test_match: function(t, r) {
|
|
1014
|
-
var a, l, i;
|
|
1015
|
-
if (this.options.backtrack_lexer && (i = {
|
|
1016
|
-
yylineno: this.yylineno,
|
|
1017
|
-
yylloc: {
|
|
1018
|
-
first_line: this.yylloc.first_line,
|
|
1019
|
-
last_line: this.last_line,
|
|
1020
|
-
first_column: this.yylloc.first_column,
|
|
1021
|
-
last_column: this.yylloc.last_column
|
|
1022
|
-
},
|
|
1023
|
-
yytext: this.yytext,
|
|
1024
|
-
match: this.match,
|
|
1025
|
-
matches: this.matches,
|
|
1026
|
-
matched: this.matched,
|
|
1027
|
-
yyleng: this.yyleng,
|
|
1028
|
-
offset: this.offset,
|
|
1029
|
-
_more: this._more,
|
|
1030
|
-
_input: this._input,
|
|
1031
|
-
yy: this.yy,
|
|
1032
|
-
conditionStack: this.conditionStack.slice(0),
|
|
1033
|
-
done: this.done
|
|
1034
|
-
}, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), l = t[0].match(/(?:\r\n?|\n).*/g), l && (this.yylineno += l.length), this.yylloc = {
|
|
1035
|
-
first_line: this.yylloc.last_line,
|
|
1036
|
-
last_line: this.yylineno + 1,
|
|
1037
|
-
first_column: this.yylloc.last_column,
|
|
1038
|
-
last_column: l ? l[l.length - 1].length - l[l.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
|
|
1039
|
-
}, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], a = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a)
|
|
1040
|
-
return a;
|
|
1041
|
-
if (this._backtrack) {
|
|
1042
|
-
for (var y in i)
|
|
1043
|
-
this[y] = i[y];
|
|
1044
|
-
return !1;
|
|
1045
|
-
}
|
|
1046
|
-
return !1;
|
|
1047
|
-
},
|
|
1048
|
-
// return next match in input
|
|
1049
|
-
next: function() {
|
|
1050
|
-
if (this.done)
|
|
1051
|
-
return this.EOF;
|
|
1052
|
-
this._input || (this.done = !0);
|
|
1053
|
-
var t, r, a, l;
|
|
1054
|
-
this._more || (this.yytext = "", this.match = "");
|
|
1055
|
-
for (var i = this._currentRules(), y = 0; y < i.length; y++)
|
|
1056
|
-
if (a = this._input.match(this.rules[i[y]]), a && (!r || a[0].length > r[0].length)) {
|
|
1057
|
-
if (r = a, l = y, this.options.backtrack_lexer) {
|
|
1058
|
-
if (t = this.test_match(a, i[y]), t !== !1)
|
|
1059
|
-
return t;
|
|
1060
|
-
if (this._backtrack) {
|
|
1061
|
-
r = !1;
|
|
1062
|
-
continue;
|
|
1063
|
-
} else
|
|
1064
|
-
return !1;
|
|
1065
|
-
} else if (!this.options.flex)
|
|
1066
|
-
break;
|
|
1067
|
-
}
|
|
1068
|
-
return r ? (t = this.test_match(r, i[l]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
1069
|
-
` + this.showPosition(), {
|
|
1070
|
-
text: "",
|
|
1071
|
-
token: null,
|
|
1072
|
-
line: this.yylineno
|
|
1073
|
-
});
|
|
1074
|
-
},
|
|
1075
|
-
// return next match that has a token
|
|
1076
|
-
lex: function() {
|
|
1077
|
-
var t = this.next();
|
|
1078
|
-
return t || this.lex();
|
|
1079
|
-
},
|
|
1080
|
-
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
1081
|
-
begin: function(t) {
|
|
1082
|
-
this.conditionStack.push(t);
|
|
1083
|
-
},
|
|
1084
|
-
// pop the previously active lexer condition state off the condition stack
|
|
1085
|
-
popState: function() {
|
|
1086
|
-
var t = this.conditionStack.length - 1;
|
|
1087
|
-
return t > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1088
|
-
},
|
|
1089
|
-
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
1090
|
-
_currentRules: function() {
|
|
1091
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1092
|
-
},
|
|
1093
|
-
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
1094
|
-
topState: function(t) {
|
|
1095
|
-
return t = this.conditionStack.length - 1 - Math.abs(t || 0), t >= 0 ? this.conditionStack[t] : "INITIAL";
|
|
1096
|
-
},
|
|
1097
|
-
// alias for begin(condition)
|
|
1098
|
-
pushState: function(t) {
|
|
1099
|
-
this.begin(t);
|
|
1100
|
-
},
|
|
1101
|
-
// return the number of states currently on the stack
|
|
1102
|
-
stateStackSize: function() {
|
|
1103
|
-
return this.conditionStack.length;
|
|
1104
|
-
},
|
|
1105
|
-
options: {},
|
|
1106
|
-
performAction: function(t, r, a, l) {
|
|
1107
|
-
switch (a) {
|
|
1108
|
-
case 0:
|
|
1109
|
-
break;
|
|
1110
|
-
case 1:
|
|
1111
|
-
return 18;
|
|
1112
|
-
case 2:
|
|
1113
|
-
return 19;
|
|
1114
|
-
case 3:
|
|
1115
|
-
return 13;
|
|
1116
|
-
case 4:
|
|
1117
|
-
return 20;
|
|
1118
|
-
case 5:
|
|
1119
|
-
return 29;
|
|
1120
|
-
case 6:
|
|
1121
|
-
return 30;
|
|
1122
|
-
case 7:
|
|
1123
|
-
return 31;
|
|
1124
|
-
case 8:
|
|
1125
|
-
return 32;
|
|
1126
|
-
case 9:
|
|
1127
|
-
return 33;
|
|
1128
|
-
case 10:
|
|
1129
|
-
return 36;
|
|
1130
|
-
case 11:
|
|
1131
|
-
return 15;
|
|
1132
|
-
case 12:
|
|
1133
|
-
return 24;
|
|
1134
|
-
case 13:
|
|
1135
|
-
return 23;
|
|
1136
|
-
case 14:
|
|
1137
|
-
return 21;
|
|
1138
|
-
case 15:
|
|
1139
|
-
return 22;
|
|
1140
|
-
case 16:
|
|
1141
|
-
return 5;
|
|
1142
|
-
case 17:
|
|
1143
|
-
return "INVALID";
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
rules: [/^(?:\s+)/, /^(?:\()/, /^(?:\))/, /^(?:-?[0-9]+(\.[0-9]+)?([eE][\-\+]?[0-9]+)?)/, /^(?:POINT\b)/, /^(?:LINESTRING\b)/, /^(?:POLYGON\b)/, /^(?:MULTIPOINT\b)/, /^(?:MULTILINESTRING\b)/, /^(?:MULTIPOLYGON\b)/, /^(?:GEOMETRYCOLLECTION\b)/, /^(?:,)/, /^(?:EMPTY\b)/, /^(?:M\b)/, /^(?:Z\b)/, /^(?:ZM\b)/, /^(?:$)/, /^(?:.)/],
|
|
1147
|
-
conditions: {
|
|
1148
|
-
INITIAL: {
|
|
1149
|
-
rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17],
|
|
1150
|
-
inclusive: !0
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
};
|
|
1154
|
-
return n;
|
|
1155
|
-
}();
|
|
1156
|
-
J.lexer = ot;
|
|
1157
|
-
function j() {
|
|
1158
|
-
this.yy = {};
|
|
1159
|
-
}
|
|
1160
|
-
j.prototype = J;
|
|
1161
|
-
J.Parser = j;
|
|
1162
|
-
J.yy.parseError = function(n) {
|
|
1163
|
-
throw n;
|
|
1164
|
-
};
|
|
1165
|
-
function Y(n) {
|
|
1166
|
-
this.data = [n], this.type = "PointArray";
|
|
1167
|
-
}
|
|
1168
|
-
Y.prototype.addPoint = function(n) {
|
|
1169
|
-
return n.type === "PointArray" ? this.data = this.data.concat(n.data) : this.data.push(n), this;
|
|
1170
|
-
};
|
|
1171
|
-
Y.prototype.toJSON = function() {
|
|
1172
|
-
return this.data;
|
|
1173
|
-
};
|
|
1174
|
-
function tt(n) {
|
|
1175
|
-
this.data = n, this.type = "Ring";
|
|
1176
|
-
}
|
|
1177
|
-
tt.prototype.toJSON = function() {
|
|
1178
|
-
for (var n = [], e = 0; e < this.data.data.length; e++)
|
|
1179
|
-
n.push(this.data.data[e]);
|
|
1180
|
-
return n;
|
|
1181
|
-
};
|
|
1182
|
-
function F(n) {
|
|
1183
|
-
this.data = [n], this.type = "RingList";
|
|
1184
|
-
}
|
|
1185
|
-
F.prototype.addRing = function(n) {
|
|
1186
|
-
return this.data.push(n), this;
|
|
1187
|
-
};
|
|
1188
|
-
F.prototype.toJSON = function() {
|
|
1189
|
-
for (var n = [], e = 0; e < this.data.length; e++)
|
|
1190
|
-
n.push(this.data[e].toJSON());
|
|
1191
|
-
return n.length === 1, n;
|
|
1192
|
-
};
|
|
1193
|
-
function D(n) {
|
|
1194
|
-
this.data = [n], this.type = "GeometryList";
|
|
1195
|
-
}
|
|
1196
|
-
D.prototype.addGeometry = function(n) {
|
|
1197
|
-
return this.data.push(n), this;
|
|
1198
|
-
};
|
|
1199
|
-
D.prototype.toJSON = function() {
|
|
1200
|
-
return this.data;
|
|
1201
|
-
};
|
|
1202
|
-
function B(n) {
|
|
1203
|
-
this.data = [n], this.type = "PolygonList";
|
|
1204
|
-
}
|
|
1205
|
-
B.prototype.addPolygon = function(n) {
|
|
1206
|
-
return this.data.push(n), this;
|
|
1207
|
-
};
|
|
1208
|
-
B.prototype.toJSON = function() {
|
|
1209
|
-
for (var n = [], e = 0; e < this.data.length; e++)
|
|
1210
|
-
n = n.concat([this.data[e].toJSON()]);
|
|
1211
|
-
return n;
|
|
1212
|
-
};
|
|
1213
|
-
var X = function(e) {
|
|
1214
|
-
var t;
|
|
1215
|
-
try {
|
|
1216
|
-
t = J.parse(e);
|
|
1217
|
-
} catch (r) {
|
|
1218
|
-
throw Error("Unable to parse: " + r);
|
|
1219
|
-
}
|
|
1220
|
-
return t;
|
|
1221
|
-
}, $ = function(e) {
|
|
1222
|
-
for (var t = [], r = "", a = 0; a < e.length; a++)
|
|
1223
|
-
t.push(e[a].join(" "));
|
|
1224
|
-
return r += "(" + t.join(", ") + ")", r;
|
|
1225
|
-
}, at = function(e) {
|
|
1226
|
-
var t = "POINT ";
|
|
1227
|
-
return e.coordinates === void 0 || e.coordinates.length === 0 ? (t += "EMPTY", t) : (e.coordinates.length === 3 ? e.properties && e.properties.m === !0 ? t += "M " : t += "Z " : e.coordinates.length === 4 && (t += "ZM "), t += "(" + e.coordinates.join(" ") + ")", t);
|
|
1228
|
-
}, lt = function(e) {
|
|
1229
|
-
var t = "LINESTRING ";
|
|
1230
|
-
return e.coordinates === void 0 || e.coordinates.length === 0 || e.coordinates[0].length === 0 ? (t += "EMPTY", t) : (e.coordinates[0].length === 3 ? e.properties && e.properties.m === !0 ? t += "M " : t += "Z " : e.coordinates[0].length === 4 && (t += "ZM "), t += $(e.coordinates), t);
|
|
1231
|
-
}, ct = function(e) {
|
|
1232
|
-
var t = "POLYGON ";
|
|
1233
|
-
if (e.coordinates === void 0 || e.coordinates.length === 0 || e.coordinates[0].length === 0)
|
|
1234
|
-
return t += "EMPTY", t;
|
|
1235
|
-
e.coordinates[0][0].length === 3 ? e.properties && e.properties.m === !0 ? t += "M " : t += "Z " : e.coordinates[0][0].length === 4 && (t += "ZM "), t += "(";
|
|
1236
|
-
for (var r = [], a = 0; a < e.coordinates.length; a++)
|
|
1237
|
-
r.push($(e.coordinates[a]));
|
|
1238
|
-
return t += r.join(", "), t += ")", t;
|
|
1239
|
-
}, ht = function(e) {
|
|
1240
|
-
var t = "MULTIPOINT ";
|
|
1241
|
-
return e.coordinates === void 0 || e.coordinates.length === 0 || e.coordinates[0].length === 0 ? (t += "EMPTY", t) : (e.coordinates[0].length === 3 ? e.properties && e.properties.m === !0 ? t += "M " : t += "Z " : e.coordinates[0].length === 4 && (t += "ZM "), t += $(e.coordinates), t);
|
|
1242
|
-
}, ut = function(e) {
|
|
1243
|
-
var t = "MULTILINESTRING ";
|
|
1244
|
-
if (e.coordinates === void 0 || e.coordinates.length === 0 || e.coordinates[0].length === 0)
|
|
1245
|
-
return t += "EMPTY", t;
|
|
1246
|
-
e.coordinates[0][0].length === 3 ? e.properties && e.properties.m === !0 ? t += "M " : t += "Z " : e.coordinates[0][0].length === 4 && (t += "ZM "), t += "(";
|
|
1247
|
-
for (var r = [], a = 0; a < e.coordinates.length; a++)
|
|
1248
|
-
r.push($(e.coordinates[a]));
|
|
1249
|
-
return t += r.join(", "), t += ")", t;
|
|
1250
|
-
}, yt = function(e) {
|
|
1251
|
-
var t = "MULTIPOLYGON ";
|
|
1252
|
-
if (e.coordinates === void 0 || e.coordinates.length === 0 || e.coordinates[0].length === 0)
|
|
1253
|
-
return t += "EMPTY", t;
|
|
1254
|
-
e.coordinates[0][0][0].length === 3 ? e.properties && e.properties.m === !0 ? t += "M " : t += "Z " : e.coordinates[0][0][0].length === 4 && (t += "ZM "), t += "(";
|
|
1255
|
-
for (var r = [], a = 0; a < e.coordinates.length; a++) {
|
|
1256
|
-
for (var l = "(", i = [], y = 0; y < e.coordinates[a].length; y++)
|
|
1257
|
-
i.push($(e.coordinates[a][y]));
|
|
1258
|
-
l += i.join(", "), l += ")", r.push(l);
|
|
1259
|
-
}
|
|
1260
|
-
return t += r.join(", "), t += ")", t;
|
|
1261
|
-
}, pt = function n(e) {
|
|
1262
|
-
switch (e.type) {
|
|
1263
|
-
case "Point":
|
|
1264
|
-
return at(e);
|
|
1265
|
-
case "LineString":
|
|
1266
|
-
return lt(e);
|
|
1267
|
-
case "Polygon":
|
|
1268
|
-
return ct(e);
|
|
1269
|
-
case "MultiPoint":
|
|
1270
|
-
return ht(e);
|
|
1271
|
-
case "MultiLineString":
|
|
1272
|
-
return ut(e);
|
|
1273
|
-
case "MultiPolygon":
|
|
1274
|
-
return yt(e);
|
|
1275
|
-
case "GeometryCollection":
|
|
1276
|
-
for (var t = "GEOMETRYCOLLECTION", r = [], a = 0; a < e.geometries.length; a++)
|
|
1277
|
-
r.push(n(e.geometries[a]));
|
|
1278
|
-
return t + "(" + r.join(", ") + ")";
|
|
1279
|
-
default:
|
|
1280
|
-
throw Error("Unknown Type: " + e.type);
|
|
1281
|
-
}
|
|
1282
|
-
};
|
|
1283
|
-
const gt = (n) => {
|
|
1284
|
-
try {
|
|
1285
|
-
if (n.includes("GEOMETRYCOLLECTION")) {
|
|
1286
|
-
let e = n.replace("GEOMETRYCOLLECTION(", "");
|
|
1287
|
-
e = e.slice(0, -1);
|
|
1288
|
-
let t = e.split("),");
|
|
1289
|
-
return t = t.filter((r) => r !== "").map((r, a) => (a < t.length - 1 && (r += ")"), r)), t.map((r) => X(r));
|
|
1290
|
-
}
|
|
1291
|
-
return X(n);
|
|
1292
|
-
} catch {
|
|
1293
|
-
}
|
|
1294
|
-
}, mt = (n) => {
|
|
1295
|
-
try {
|
|
1296
|
-
return st.isArray(n) ? void 0 : pt(n);
|
|
1297
|
-
} catch {
|
|
1298
|
-
}
|
|
1299
|
-
}, bt = (n) => {
|
|
1300
|
-
let e = [0, 0];
|
|
1301
|
-
if (n.type === "Point")
|
|
1302
|
-
return e = n.coordinates, e;
|
|
1303
|
-
if (n.type === "Polygon") {
|
|
1304
|
-
const t = w.polygon(n.coordinates);
|
|
1305
|
-
return e = w.centerOfMass(t).geometry.coordinates, e;
|
|
1306
|
-
}
|
|
1307
|
-
if (n.type === "LineString") {
|
|
1308
|
-
const t = w.lineString(n.coordinates);
|
|
1309
|
-
return e = w.centerOfMass(t).geometry.coordinates, e;
|
|
1310
|
-
}
|
|
1311
|
-
return n.type === "MultiPoint" ? (e = w.multiPoint(n.coordinates).geometry.coordinates[0], e) : (console.log("Undefined geometry type!", n.type), e);
|
|
1
|
+
import * as o from "@turf/turf";
|
|
2
|
+
import i from "terraformer-wkt-parser";
|
|
3
|
+
const l = (e) => {
|
|
4
|
+
if (e.includes("GEOMETRYCOLLECTION")) {
|
|
5
|
+
let t = e.replace("GEOMETRYCOLLECTION(", "");
|
|
6
|
+
t = t.slice(0, -1);
|
|
7
|
+
let n = t.split("),");
|
|
8
|
+
return n = n.filter((r) => r !== "").map((r, s) => (s < n.length - 1 && (r += ")"), r)), n.map((r) => i.parse(r));
|
|
9
|
+
}
|
|
10
|
+
return i.parse(e);
|
|
11
|
+
}, p = (e) => i.convert(e), u = (e) => {
|
|
12
|
+
let t = [0, 0];
|
|
13
|
+
if (e.type === "Point")
|
|
14
|
+
return t = e.coordinates, t;
|
|
15
|
+
if (e.type === "Polygon") {
|
|
16
|
+
const n = o.polygon(e.coordinates);
|
|
17
|
+
return t = o.centerOfMass(n).geometry.coordinates, t;
|
|
18
|
+
}
|
|
19
|
+
if (e.type === "LineString") {
|
|
20
|
+
const n = o.lineString(e.coordinates);
|
|
21
|
+
return t = o.centerOfMass(n).geometry.coordinates, t;
|
|
22
|
+
}
|
|
23
|
+
return e.type === "MultiPoint" ? (t = o.multiPoint(e.coordinates).geometry.coordinates[0], t) : (console.log("Undefined geometry type!", e.type), t);
|
|
1312
24
|
};
|
|
1313
25
|
export {
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
26
|
+
p as convert,
|
|
27
|
+
u as findCoordinate,
|
|
28
|
+
l as parse
|
|
1317
29
|
};
|