mirage2d 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MirageHttp.es.js +5268 -0
- package/dist/MirageHttp.es.js.map +1 -0
- package/dist/MirageHttp.umd.js +2 -0
- package/dist/MirageHttp.umd.js.map +1 -0
- package/dist/assets/js/basedecoder-fa2b8e8d.js +107 -0
- package/dist/assets/js/decoder-f19e05cf.js +6 -0
- package/dist/assets/js/deflate-adb9a67b.js +8 -0
- package/dist/{js/dist/_html2canvas@1.4.1@html2canvas.e8006fee.js → assets/js/html2canvas.esm-3dd231c5.js} +0 -0
- package/dist/assets/js/index-3263db85.js +1 -0
- package/dist/assets/js/index-a9db46a5.js +212968 -0
- package/dist/{js/lib/_canvg@3.0.10@canvg.bd557ac8.js → assets/js/index.es-38f73a27.js} +2179 -351
- package/dist/assets/js/jpeg-3bf23728.js +835 -0
- package/dist/{js/_lerc@3.0.0@lerc/_lerc@3.0.0@lerc.dc2ff398.js → assets/js/lerc-4c39f39b.js} +26 -1
- package/dist/assets/js/lzw-d0cad8af.js +123 -0
- package/dist/assets/js/packbits-d75b4cce.js +25 -0
- package/dist/{js/_pako@2.0.4@pako/_pako@2.0.4@pako.52d6b320.js → assets/js/pako.esm-49deb4d7.js} +0 -0
- package/dist/{js/dist/_dompurify@2.4.0@dompurify.e7ba523e.js → assets/js/purify.es-1915dfae.js} +0 -0
- package/dist/assets/js/raw-9656f9cc.js +7 -0
- package/dist/assets/js/webimage-edb7156c.js +27 -0
- package/package.json +1 -1
- package/dist/js/_@babel_runtime@7.18.9@@babel/_@babel_runtime@7.18.9@@babel.e0126ca2.js +0 -51
- package/dist/js/_@petamoriken_float16@3.6.6@@petamoriken/_@petamoriken_float16@3.6.6@@petamoriken.c5188241.js +0 -217
- package/dist/js/_@turf_along@6.5.0@@turf/_@turf_along@6.5.0@@turf.18dbc1a3.js +0 -31
- package/dist/js/_@turf_angle@6.5.0@@turf/_@turf_angle@6.5.0@@turf.554ac9bf.js +0 -1
- package/dist/js/_@turf_area@6.5.0@@turf/_@turf_area@6.5.0@@turf.6cbf0cc1.js +0 -74
- package/dist/js/_@turf_bbox-clip@6.5.0@@turf/_@turf_bbox-clip@6.5.0@@turf.e491cb90.js +0 -1
- package/dist/js/_@turf_bbox-polygon@6.5.0@@turf/_@turf_bbox-polygon@6.5.0@@turf.523f1c20.js +0 -19
- package/dist/js/_@turf_bbox@6.5.0@@turf/_@turf_bbox@6.5.0@@turf.4c59feee.js +0 -48
- package/dist/js/_@turf_bearing@6.5.0@@turf/_@turf_bearing@6.5.0@@turf.f2555a09.js +0 -25
- package/dist/js/_@turf_bezier-spline@6.5.0@@turf/_@turf_bezier-spline@6.5.0@@turf.fa7991dd.js +0 -137
- package/dist/js/_@turf_boolean-clockwise@6.5.0@@turf/_@turf_boolean-clockwise@6.5.0@@turf.4031f280.js +0 -1
- package/dist/js/_@turf_boolean-contains@6.5.0@@turf/_@turf_boolean-contains@6.5.0@@turf.836d55d8.js +0 -191
- package/dist/js/_@turf_boolean-crosses@6.5.0@@turf/_@turf_boolean-crosses@6.5.0@@turf.c5f65a28.js +0 -125
- package/dist/js/_@turf_boolean-disjoint@6.5.0@@turf/_@turf_boolean-disjoint@6.5.0@@turf.bbd60872.js +0 -122
- package/dist/js/_@turf_boolean-equal@6.5.0@@turf/_@turf_boolean-equal@6.5.0@@turf.341ffa01.js +0 -1
- package/dist/js/_@turf_boolean-intersects@6.5.0@@turf/_@turf_boolean-intersects@6.5.0@@turf.05fc28b3.js +0 -15
- package/dist/js/_@turf_boolean-overlap@6.5.0@@turf/_@turf_boolean-overlap@6.5.0@@turf.a519db25.js +0 -53
- package/dist/js/_@turf_boolean-parallel@6.5.0@@turf/_@turf_boolean-parallel@6.5.0@@turf.dbf2bc2d.js +0 -1
- package/dist/js/_@turf_boolean-point-in-polygon@6.5.0@@turf/_@turf_boolean-point-in-polygon@6.5.0@@turf.62a2d48a.js +0 -65
- package/dist/js/_@turf_boolean-point-on-line@6.5.0@@turf/_@turf_boolean-point-on-line@6.5.0@@turf.3cf3aaa1.js +0 -69
- package/dist/js/_@turf_boolean-within@6.5.0@@turf/_@turf_boolean-within@6.5.0@@turf.d70d6bfc.js +0 -172
- package/dist/js/_@turf_buffer@6.5.0@@turf/_@turf_buffer@6.5.0@@turf.88330dfe.js +0 -99
- package/dist/js/_@turf_center-mean@6.5.0@@turf/_@turf_center-mean@6.5.0@@turf.b3d7c917.js +0 -1
- package/dist/js/_@turf_center-median@6.5.0@@turf/_@turf_center-median@6.5.0@@turf.44c4669e.js +0 -1
- package/dist/js/_@turf_center-of-mass@6.5.0@@turf/_@turf_center-of-mass@6.5.0@@turf.63ce279e.js +0 -1
- package/dist/js/_@turf_center@6.5.0@@turf/_@turf_center@6.5.0@@turf.a45495b5.js +0 -12
- package/dist/js/_@turf_centroid@6.5.0@@turf/_@turf_centroid@6.5.0@@turf.0a5be869.js +0 -17
- package/dist/js/_@turf_circle@6.5.0@@turf/_@turf_circle@6.5.0@@turf.0166b8c2.js +0 -16
- package/dist/js/_@turf_clean-coords@6.5.0@@turf/_@turf_clean-coords@6.5.0@@turf.8c76bd63.js +0 -111
- package/dist/js/_@turf_clone@6.5.0@@turf/_@turf_clone@6.5.0@@turf.cd05b1f8.js +0 -100
- package/dist/js/_@turf_clusters-dbscan@6.5.0@@turf/_@turf_clusters-dbscan@6.5.0@@turf.6bbee7e9.js +0 -1
- package/dist/js/_@turf_clusters-kmeans@6.5.0@@turf/_@turf_clusters-kmeans@6.5.0@@turf.505415df.js +0 -1
- package/dist/js/_@turf_clusters@6.5.0@@turf/_@turf_clusters@6.5.0@@turf.84cb9680.js +0 -1
- package/dist/js/_@turf_collect@6.5.0@@turf/_@turf_collect@6.5.0@@turf.93e41b5f.js +0 -1
- package/dist/js/_@turf_combine@6.5.0@@turf/_@turf_combine@6.5.0@@turf.33ee6336.js +0 -1
- package/dist/js/_@turf_concave@6.5.0@@turf/_@turf_concave@6.5.0@@turf.6fb6a8be.js +0 -179
- package/dist/js/_@turf_convex@6.5.0@@turf/_@turf_convex@6.5.0@@turf.24600ac2.js +0 -1
- package/dist/js/_@turf_destination@6.5.0@@turf/_@turf_destination@6.5.0@@turf.2621651e.js +0 -18
- package/dist/js/_@turf_difference@6.5.0@@turf/_@turf_difference@6.5.0@@turf.70df5e79.js +0 -18
- package/dist/js/_@turf_dissolve@6.5.0@@turf/_@turf_dissolve@6.5.0@@turf.edb28fc1.js +0 -1
- package/dist/js/_@turf_distance-weight@6.5.0@@turf/_@turf_distance-weight@6.5.0@@turf.e168af7f.js +0 -1
- package/dist/js/_@turf_distance@6.5.0@@turf/_@turf_distance@6.5.0@@turf.0c7b8aea.js +0 -22
- package/dist/js/_@turf_ellipse@6.5.0@@turf/_@turf_ellipse@6.5.0@@turf.37986056.js +0 -1
- package/dist/js/_@turf_envelope@6.5.0@@turf/_@turf_envelope@6.5.0@@turf.599c5772.js +0 -1
- package/dist/js/_@turf_explode@6.5.0@@turf/_@turf_explode@6.5.0@@turf.5c768db5.js +0 -24
- package/dist/js/_@turf_flatten@6.5.0@@turf/_@turf_flatten@6.5.0@@turf.57e9114c.js +0 -1
- package/dist/js/_@turf_flip@6.5.0@@turf/_@turf_flip@6.5.0@@turf.1f02101f.js +0 -1
- package/dist/js/_@turf_great-circle@6.5.0@@turf/_@turf_great-circle@6.5.0@@turf.2ca021a8.js +0 -1
- package/dist/js/_@turf_helpers@6.5.0@@turf/_@turf_helpers@6.5.0@@turf.f1480aa1.js +0 -364
- package/dist/js/_@turf_hex-grid@6.5.0@@turf/_@turf_hex-grid@6.5.0@@turf.a6a45778.js +0 -99
- package/dist/js/_@turf_interpolate@6.5.0@@turf/_@turf_interpolate@6.5.0@@turf.4d39bd8c.js +0 -1
- package/dist/js/_@turf_intersect@6.5.0@@turf/_@turf_intersect@6.5.0@@turf.34082cdf.js +0 -17
- package/dist/js/_@turf_invariant@6.5.0@@turf/_@turf_invariant@6.5.0@@turf.0ef69f8c.js +0 -71
- package/dist/js/_@turf_isobands@6.5.0@@turf/_@turf_isobands@6.5.0@@turf.def019df.js +0 -3109
- package/dist/js/_@turf_isolines@6.5.0@@turf/_@turf_isolines@6.5.0@@turf.da623b25.js +0 -1
- package/dist/js/_@turf_kinks@6.5.0@@turf/_@turf_kinks@6.5.0@@turf.ee61685b.js +0 -87
- package/dist/js/_@turf_length@6.5.0@@turf/_@turf_length@6.5.0@@turf.f73f6c98.js +0 -12
- package/dist/js/_@turf_line-arc@6.5.0@@turf/_@turf_line-arc@6.5.0@@turf.3dc57055.js +0 -37
- package/dist/js/_@turf_line-chunk@6.5.0@@turf/_@turf_line-chunk@6.5.0@@turf.1867af48.js +0 -43
- package/dist/js/_@turf_line-intersect@6.5.0@@turf/_@turf_line-intersect@6.5.0@@turf.c4d81948.js +0 -73
- package/dist/js/_@turf_line-offset@6.5.0@@turf/_@turf_line-offset@6.5.0@@turf.e6846793.js +0 -116
- package/dist/js/_@turf_line-overlap@6.5.0@@turf/_@turf_line-overlap@6.5.0@@turf.addba9a5.js +0 -76
- package/dist/js/_@turf_line-segment@6.5.0@@turf/_@turf_line-segment@6.5.0@@turf.18ce3010.js +0 -55
- package/dist/js/_@turf_line-slice-along@6.5.0@@turf/_@turf_line-slice-along@6.5.0@@turf.2b802464.js +0 -57
- package/dist/js/_@turf_line-slice@6.5.0@@turf/_@turf_line-slice@6.5.0@@turf.6423a053.js +0 -23
- package/dist/js/_@turf_line-split@6.5.0@@turf/_@turf_line-split@6.5.0@@turf.2022f104.js +0 -125
- package/dist/js/_@turf_line-to-polygon@6.5.0@@turf/_@turf_line-to-polygon@6.5.0@@turf.83f5e69f.js +0 -1
- package/dist/js/_@turf_mask@6.5.0@@turf/_@turf_mask@6.5.0@@turf.96cd5a94.js +0 -1
- package/dist/js/_@turf_meta@6.5.0@@turf/_@turf_meta@6.5.0@@turf.1b9d5da5.js +0 -611
- package/dist/js/_@turf_midpoint@6.5.0@@turf/_@turf_midpoint@6.5.0@@turf.67c14f94.js +0 -1
- package/dist/js/_@turf_moran-index@6.5.0@@turf/_@turf_moran-index@6.5.0@@turf.2ad5365a.js +0 -1
- package/dist/js/_@turf_nearest-point-on-line@6.5.0@@turf/_@turf_nearest-point-on-line@6.5.0@@turf.095c8c0d.js +0 -57
- package/dist/js/_@turf_nearest-point-to-line@6.5.0@@turf/_@turf_nearest-point-to-line@6.5.0@@turf.68484097.js +0 -1
- package/dist/js/_@turf_nearest-point@6.5.0@@turf/_@turf_nearest-point@6.5.0@@turf.e0d2f509.js +0 -24
- package/dist/js/_@turf_planepoint@6.5.0@@turf/_@turf_planepoint@6.5.0@@turf.56fc70b3.js +0 -1
- package/dist/js/_@turf_point-grid@6.5.0@@turf/_@turf_point-grid@6.5.0@@turf.2d278644.js +0 -42
- package/dist/js/_@turf_point-on-feature@6.5.0@@turf/_@turf_point-on-feature@6.5.0@@turf.0c740874.js +0 -1
- package/dist/js/_@turf_point-to-line-distance@6.5.0@@turf/_@turf_point-to-line-distance@6.5.0@@turf.33105d82.js +0 -1
- package/dist/js/_@turf_points-within-polygon@6.5.0@@turf/_@turf_points-within-polygon@6.5.0@@turf.659cd335.js +0 -35
- package/dist/js/_@turf_polygon-smooth@6.5.0@@turf/_@turf_polygon-smooth@6.5.0@@turf.43a7c33e.js +0 -1
- package/dist/js/_@turf_polygon-tangents@6.5.0@@turf/_@turf_polygon-tangents@6.5.0@@turf.a2c3a7b6.js +0 -1
- package/dist/js/_@turf_polygon-to-line@6.5.0@@turf/_@turf_polygon-to-line@6.5.0@@turf.3177cfb1.js +0 -48
- package/dist/js/_@turf_polygonize@6.5.0@@turf/_@turf_polygonize@6.5.0@@turf.f7cc4910.js +0 -1
- package/dist/js/_@turf_projection@6.5.0@@turf/_@turf_projection@6.5.0@@turf.ffdd3321.js +0 -1
- package/dist/js/_@turf_random@6.5.0@@turf/_@turf_random@6.5.0@@turf.f65251e4.js +0 -130
- package/dist/js/_@turf_rectangle-grid@6.5.0@@turf/_@turf_rectangle-grid@6.5.0@@turf.7e8b1a1f.js +0 -49
- package/dist/js/_@turf_rewind@6.5.0@@turf/_@turf_rewind@6.5.0@@turf.5d137ee9.js +0 -1
- package/dist/js/_@turf_rhumb-bearing@6.5.0@@turf/_@turf_rhumb-bearing@6.5.0@@turf.fb8f6ade.js +0 -30
- package/dist/js/_@turf_rhumb-destination@6.5.0@@turf/_@turf_rhumb-destination@6.5.0@@turf.dc0e4753.js +0 -36
- package/dist/js/_@turf_rhumb-distance@6.5.0@@turf/_@turf_rhumb-distance@6.5.0@@turf.94e475b8.js +0 -30
- package/dist/js/_@turf_sample@6.5.0@@turf/_@turf_sample@6.5.0@@turf.7181d7a7.js +0 -1
- package/dist/js/_@turf_sector@6.5.0@@turf/_@turf_sector@6.5.0@@turf.04ffddfe.js +0 -39
- package/dist/js/_@turf_shortest-path@6.5.0@@turf/_@turf_shortest-path@6.5.0@@turf.0c1b62a8.js +0 -367
- package/dist/js/_@turf_simplify@6.5.0@@turf/_@turf_simplify@6.5.0@@turf.46703d2e.js +0 -1
- package/dist/js/_@turf_square-grid@6.5.0@@turf/_@turf_square-grid@6.5.0@@turf.38bd2eaa.js +0 -8
- package/dist/js/_@turf_square@6.5.0@@turf/_@turf_square@6.5.0@@turf.2705289a.js +0 -27
- package/dist/js/_@turf_standard-deviational-ellipse@6.5.0@@turf/_@turf_standard-deviational-ellipse@6.5.0@@turf.7094e432.js +0 -1
- package/dist/js/_@turf_tag@6.5.0@@turf/_@turf_tag@6.5.0@@turf.cb60b0c1.js +0 -1
- package/dist/js/_@turf_tesselate@6.5.0@@turf/_@turf_tesselate@6.5.0@@turf.330e4aae.js +0 -1
- package/dist/js/_@turf_tin@6.5.0@@turf/_@turf_tin@6.5.0@@turf.077204c4.js +0 -173
- package/dist/js/_@turf_transform-rotate@6.5.0@@turf/_@turf_transform-rotate@6.5.0@@turf.6d350d36.js +0 -1
- package/dist/js/_@turf_transform-scale@6.5.0@@turf/_@turf_transform-scale@6.5.0@@turf.d6f65671.js +0 -90
- package/dist/js/_@turf_transform-translate@6.5.0@@turf/_@turf_transform-translate@6.5.0@@turf.9296b81a.js +0 -1
- package/dist/js/_@turf_triangle-grid@6.5.0@@turf/_@turf_triangle-grid@6.5.0@@turf.939f94ab.js +0 -107
- package/dist/js/_@turf_truncate@6.5.0@@turf/_@turf_truncate@6.5.0@@turf.ed70ebcb.js +0 -33
- package/dist/js/_@turf_turf@6.4.0@@turf/_@turf_turf@6.4.0@@turf.34fde8ec.js +0 -1
- package/dist/js/_@turf_union@6.5.0@@turf/_@turf_union@6.5.0@@turf.386ee2eb.js +0 -1
- package/dist/js/_@turf_unkink-polygon@6.5.0@@turf/_@turf_unkink-polygon@6.5.0@@turf.cb446e47.js +0 -1
- package/dist/js/_@turf_voronoi@6.5.0@@turf/_@turf_voronoi@6.5.0@@turf.c30d929e.js +0 -30
- package/dist/js/_call-bind@1.0.2@call-bind/_call-bind@1.0.2@call-bind.3811d387.js +0 -53
- package/dist/js/_concaveman@1.2.1@concaveman/_concaveman@1.2.1@concaveman.e747f731.js +0 -1
- package/dist/js/_core-js@3.25.0@core-js/_core-js@3.25.0@core-js.003355ed.js +0 -5029
- package/dist/js/_crypto-js@4.1.1@crypto-js/_crypto-js@4.1.1@crypto-js.e2f7f158.js +0 -1823
- package/dist/js/_d3-array@1.2.4@d3-array/_d3-array@1.2.4@d3-array.d606df6b.js +0 -58
- package/dist/js/_d3-geo@1.7.1@d3-geo/_d3-geo@1.7.1@d3-geo.7d357be1.js +0 -1094
- package/dist/js/_d3-voronoi@1.1.2@d3-voronoi/_d3-voronoi@1.1.2@d3-voronoi.072f12a6.js +0 -816
- package/dist/js/_deep-equal@1.1.1@deep-equal/_deep-equal@1.1.1@deep-equal.98576c17.js +0 -108
- package/dist/js/_define-properties@1.1.4@define-properties/_define-properties@1.1.4@define-properties.647c3367.js +0 -40
- package/dist/js/_density-clustering@1.3.0@density-clustering/_density-clustering@1.3.0@density-clustering.a07fc6ae.js +0 -1
- package/dist/js/_earcut@2.2.4@earcut/_earcut@2.2.4@earcut.972ebfd3.js +0 -1
- package/dist/js/_echarts-gl@1.1.2@echarts-gl/_echarts-gl@1.1.2@echarts-gl.1e3964b9.js +0 -36533
- package/dist/js/_echarts@4.9.0@echarts/_echarts@4.9.0@echarts.7d74ba77.js +0 -44219
- package/dist/js/_fflate@0.4.8@fflate/_fflate@0.4.8@fflate.d8111196.js +0 -571
- package/dist/js/_function-bind@1.1.1@function-bind/_function-bind@1.1.1@function-bind.de3cf11d.js +0 -46
- package/dist/js/_functions-have-names@1.2.3@functions-have-names/_functions-have-names@1.2.3@functions-have-names.7def2408.js +0 -27
- package/dist/js/_geojson-equality@0.1.6@geojson-equality/_geojson-equality@0.1.6@geojson-equality.09ffa121.js +0 -133
- package/dist/js/_geojson-path-finder@1.5.3@geojson-path-finder/_geojson-path-finder@1.5.3@geojson-path-finder.7a10eb99.js +0 -348
- package/dist/js/_geojson-rbush@3.2.0@geojson-rbush/_geojson-rbush@3.2.0@geojson-rbush.2adaeedb.js +0 -93
- package/dist/js/_geotiff@2.0.4@geotiff/_geotiff@2.0.4@geotiff.5b08f79e.js +0 -3663
- package/dist/js/_get-intrinsic@1.1.2@get-intrinsic/_get-intrinsic@1.1.2@get-intrinsic.a633bd68.js +0 -291
- package/dist/js/_has-property-descriptors@1.0.0@has-property-descriptors/_has-property-descriptors@1.0.0@has-property-descriptors.6bd2d302.js +0 -26
- package/dist/js/_has-symbols@1.0.3@has-symbols/_has-symbols@1.0.3@has-symbols.70406077.js +0 -63
- package/dist/js/_has-tostringtag@1.0.0@has-tostringtag/_has-tostringtag@1.0.0@has-tostringtag.2d502422.js +0 -6
- package/dist/js/_has@1.0.3@has/_has@1.0.3@has.ddd2eb68.js +0 -4
- package/dist/js/_ieee754@1.2.1@ieee754/_ieee754@1.2.1@ieee754.56426503.js +0 -80
- package/dist/js/_is-arguments@1.1.1@is-arguments/_is-arguments@1.1.1@is-arguments.7d77e24a.js +0 -23
- package/dist/js/_is-date-object@1.0.5@is-date-object/_is-date-object@1.0.5@is-date-object.08cc2543.js +0 -20
- package/dist/js/_is-regex@1.1.4@is-regex/_is-regex@1.1.4@is-regex.6417e007.js +0 -47
- package/dist/js/_jspdf@2.5.1@jspdf/_jspdf@2.5.1@jspdf.e927dbd8.js +0 -8494
- package/dist/js/_kml-geojson@1.2.0@kml-geojson/_kml-geojson@1.2.0@kml-geojson.f1ae86e4.js +0 -7858
- package/dist/js/_lru-cache@6.0.0@lru-cache/_lru-cache@6.0.0@lru-cache.dd72cc1b.js +0 -263
- package/dist/js/_mgrs@1.0.0@mgrs/_mgrs@1.0.0@mgrs.12d1da3e.js +0 -432
- package/dist/js/_object-assign@4.1.1@object-assign/_object-assign@4.1.1@object-assign.e4009c1c.js +0 -69
- package/dist/js/_object-is@1.1.5@object-is/_object-is@1.1.5@object-is.e47f5d65.js +0 -45
- package/dist/js/_object-keys@1.1.1@object-keys/_object-keys@1.1.1@object-keys.4b1d0a99.js +0 -151
- package/dist/js/_ol-echarts@2.0.6@ol-echarts/_ol-echarts@2.0.6@ol-echarts.658aaf82.js +0 -841
- package/dist/js/_ol-ext@3.2.30@ol-ext/_ol-ext@3.2.30@ol-ext.b94220dd.js +0 -4614
- package/dist/js/_ol-mapbox-style@8.2.1@ol-mapbox-style/_ol-mapbox-style@8.2.1@ol-mapbox-style.795310f3.js +0 -1
- package/dist/js/_ol@6.15.1@ol/_ol@6.15.1@ol.8fd0cbb5.js +0 -31823
- package/dist/js/_pbf@3.2.1@pbf/_pbf@3.2.1@pbf.330acf55.js +0 -647
- package/dist/js/_performance-now@2.1.0@performance-now/_performance-now@2.1.0@performance-now.a51379c2.js +0 -34
- package/dist/js/_point-in-polygon@1.1.0@point-in-polygon/_point-in-polygon@1.1.0@point-in-polygon.2cc4306e.js +0 -1
- package/dist/js/_polygon-clipping@0.15.3@polygon-clipping/_polygon-clipping@0.15.3@polygon-clipping.c0e9ec57.js +0 -1363
- package/dist/js/_proj4@2.8.0@proj4/_proj4@2.8.0@proj4.1600352c.js +0 -4885
- package/dist/js/_quickselect@1.1.1@quickselect/_quickselect@1.1.1@quickselect.8afce154.js +0 -1
- package/dist/js/_quickselect@2.0.0@quickselect/_quickselect@2.0.0@quickselect.9f5c1e48.js +0 -51
- package/dist/js/_raf@3.4.1@raf/_raf@3.4.1@raf.ac0d6c66.js +0 -60
- package/dist/js/_rbush@2.0.2@rbush/_rbush@2.0.2@rbush.7149e620.js +0 -1
- package/dist/js/_rbush@3.0.1@rbush/_rbush@3.0.1@rbush.57d33d95.js +0 -402
- package/dist/js/_regexp.prototype.flags@1.4.3@regexp.prototype.flags/_regexp.prototype.flags@1.4.3@regexp.prototype.flags.8b6921c6.js +0 -102
- package/dist/js/_rgbcolor@1.0.1@rgbcolor/_rgbcolor@1.0.1@rgbcolor.dd87e013.js +0 -272
- package/dist/js/_robust-predicates@2.0.4@robust-predicates/_robust-predicates@2.0.4@robust-predicates.564bf2f8.js +0 -1
- package/dist/js/_skmeans@0.9.7@skmeans/_skmeans@0.9.7@skmeans.933c6a76.js +0 -1
- package/dist/js/_splaytree@3.1.1@splaytree/_splaytree@3.1.1@splaytree.6cb55ed3.js +0 -671
- package/dist/js/_stackblur-canvas@2.5.0@stackblur-canvas/_stackblur-canvas@2.5.0@stackblur-canvas.dd883d14.js +0 -214
- package/dist/js/_svg-pathdata@6.0.3@svg-pathdata/_svg-pathdata@6.0.3@svg-pathdata.7e858a5f.js +0 -441
- package/dist/js/_tinyqueue@2.0.3@tinyqueue/_tinyqueue@2.0.3@tinyqueue.78918532.js +0 -73
- package/dist/js/_topojson-client@3.1.0@topojson-client/_topojson-client@3.1.0@topojson-client.aef4e2d5.js +0 -238
- package/dist/js/_topojson-server@3.0.1@topojson-server/_topojson-server@3.0.1@topojson-server.b521a412.js +0 -662
- package/dist/js/_turf-jsts@1.2.3@turf-jsts/_turf-jsts@1.2.3@turf-jsts.6ef42696.js +0 -18934
- package/dist/js/_web-worker@1.2.0@web-worker/_web-worker@1.2.0@web-worker.43288df7.js +0 -2
- package/dist/js/_wkt-parser@1.3.2@wkt-parser/_wkt-parser@1.3.2@wkt-parser.0e1cf374.js +0 -461
- package/dist/js/_xml-utils@1.2.0@xml-utils/_xml-utils@1.2.0@xml-utils.2a8ae655.js +0 -126
- package/dist/js/_yallist@4.0.0@yallist/_yallist@4.0.0@yallist.8350aafe.js +0 -363
- package/dist/js/_zrender@4.3.2@zrender/_zrender@4.3.2@zrender.1feea14d.js +0 -12455
- package/dist/mirage2d.es.js +0 -15894
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
function quickselect(arr, k, left, right, compare) {
|
|
2
|
-
quickselectStep(arr, k, left || 0, right || arr.length - 1, compare || defaultCompare);
|
|
3
|
-
}
|
|
4
|
-
function quickselectStep(arr, k, left, right, compare) {
|
|
5
|
-
while (right > left) {
|
|
6
|
-
if (right - left > 600) {
|
|
7
|
-
var n = right - left + 1;
|
|
8
|
-
var m = k - left + 1;
|
|
9
|
-
var z = Math.log(n);
|
|
10
|
-
var s = 0.5 * Math.exp(2 * z / 3);
|
|
11
|
-
var sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);
|
|
12
|
-
var newLeft = Math.max(left, Math.floor(k - m * s / n + sd));
|
|
13
|
-
var newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));
|
|
14
|
-
quickselectStep(arr, k, newLeft, newRight, compare);
|
|
15
|
-
}
|
|
16
|
-
var t = arr[k];
|
|
17
|
-
var i = left;
|
|
18
|
-
var j = right;
|
|
19
|
-
swap(arr, left, k);
|
|
20
|
-
if (compare(arr[right], t) > 0)
|
|
21
|
-
swap(arr, left, right);
|
|
22
|
-
while (i < j) {
|
|
23
|
-
swap(arr, i, j);
|
|
24
|
-
i++;
|
|
25
|
-
j--;
|
|
26
|
-
while (compare(arr[i], t) < 0)
|
|
27
|
-
i++;
|
|
28
|
-
while (compare(arr[j], t) > 0)
|
|
29
|
-
j--;
|
|
30
|
-
}
|
|
31
|
-
if (compare(arr[left], t) === 0)
|
|
32
|
-
swap(arr, left, j);
|
|
33
|
-
else {
|
|
34
|
-
j++;
|
|
35
|
-
swap(arr, j, right);
|
|
36
|
-
}
|
|
37
|
-
if (j <= k)
|
|
38
|
-
left = j + 1;
|
|
39
|
-
if (k <= j)
|
|
40
|
-
right = j - 1;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
function swap(arr, i, j) {
|
|
44
|
-
var tmp = arr[i];
|
|
45
|
-
arr[i] = arr[j];
|
|
46
|
-
arr[j] = tmp;
|
|
47
|
-
}
|
|
48
|
-
function defaultCompare(a, b) {
|
|
49
|
-
return a < b ? -1 : a > b ? 1 : 0;
|
|
50
|
-
}
|
|
51
|
-
export { quickselect as q };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { c as commonjsGlobal } from "../_@turf_bbox@6.5.0@@turf/_@turf_bbox@6.5.0@@turf.4c59feee.js";
|
|
2
|
-
import { p as performanceNow } from "../_performance-now@2.1.0@performance-now/_performance-now@2.1.0@performance-now.a51379c2.js";
|
|
3
|
-
var _raf_3_4_1_raf = { exports: {} };
|
|
4
|
-
var now = performanceNow.exports, root = typeof window === "undefined" ? commonjsGlobal : window, vendors = ["moz", "webkit"], suffix = "AnimationFrame", raf = root["request" + suffix], caf = root["cancel" + suffix] || root["cancelRequest" + suffix];
|
|
5
|
-
for (var i = 0; !raf && i < vendors.length; i++) {
|
|
6
|
-
raf = root[vendors[i] + "Request" + suffix];
|
|
7
|
-
caf = root[vendors[i] + "Cancel" + suffix] || root[vendors[i] + "CancelRequest" + suffix];
|
|
8
|
-
}
|
|
9
|
-
if (!raf || !caf) {
|
|
10
|
-
var last = 0, id = 0, queue = [], frameDuration = 1e3 / 60;
|
|
11
|
-
raf = function(callback) {
|
|
12
|
-
if (queue.length === 0) {
|
|
13
|
-
var _now = now(), next = Math.max(0, frameDuration - (_now - last));
|
|
14
|
-
last = next + _now;
|
|
15
|
-
setTimeout(function() {
|
|
16
|
-
var cp = queue.slice(0);
|
|
17
|
-
queue.length = 0;
|
|
18
|
-
for (var i = 0; i < cp.length; i++) {
|
|
19
|
-
if (!cp[i].cancelled) {
|
|
20
|
-
try {
|
|
21
|
-
cp[i].callback(last);
|
|
22
|
-
} catch (e) {
|
|
23
|
-
setTimeout(function() {
|
|
24
|
-
throw e;
|
|
25
|
-
}, 0);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}, Math.round(next));
|
|
30
|
-
}
|
|
31
|
-
queue.push({
|
|
32
|
-
handle: ++id,
|
|
33
|
-
callback,
|
|
34
|
-
cancelled: false
|
|
35
|
-
});
|
|
36
|
-
return id;
|
|
37
|
-
};
|
|
38
|
-
caf = function(handle) {
|
|
39
|
-
for (var i = 0; i < queue.length; i++) {
|
|
40
|
-
if (queue[i].handle === handle) {
|
|
41
|
-
queue[i].cancelled = true;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
_raf_3_4_1_raf.exports = function(fn) {
|
|
47
|
-
return raf.call(root, fn);
|
|
48
|
-
};
|
|
49
|
-
_raf_3_4_1_raf.exports.cancel = function() {
|
|
50
|
-
caf.apply(root, arguments);
|
|
51
|
-
};
|
|
52
|
-
_raf_3_4_1_raf.exports.polyfill = function(object) {
|
|
53
|
-
if (!object) {
|
|
54
|
-
object = root;
|
|
55
|
-
}
|
|
56
|
-
object.requestAnimationFrame = raf;
|
|
57
|
-
object.cancelAnimationFrame = caf;
|
|
58
|
-
};
|
|
59
|
-
var requestAnimationFrame = _raf_3_4_1_raf.exports;
|
|
60
|
-
export { requestAnimationFrame as r };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace } from "../_@turf_bbox@6.5.0@@turf/_@turf_bbox@6.5.0@@turf.4c59feee.js";
|
|
2
|
-
import { q as quickselect } from "../_quickselect@2.0.0@quickselect/_quickselect@2.0.0@quickselect.9f5c1e48.js";
|
|
3
|
-
class RBush {
|
|
4
|
-
constructor(maxEntries = 9) {
|
|
5
|
-
this._maxEntries = Math.max(4, maxEntries);
|
|
6
|
-
this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4));
|
|
7
|
-
this.clear();
|
|
8
|
-
}
|
|
9
|
-
all() {
|
|
10
|
-
return this._all(this.data, []);
|
|
11
|
-
}
|
|
12
|
-
search(bbox) {
|
|
13
|
-
let node = this.data;
|
|
14
|
-
const result = [];
|
|
15
|
-
if (!intersects(bbox, node))
|
|
16
|
-
return result;
|
|
17
|
-
const toBBox = this.toBBox;
|
|
18
|
-
const nodesToSearch = [];
|
|
19
|
-
while (node) {
|
|
20
|
-
for (let i = 0; i < node.children.length; i++) {
|
|
21
|
-
const child = node.children[i];
|
|
22
|
-
const childBBox = node.leaf ? toBBox(child) : child;
|
|
23
|
-
if (intersects(bbox, childBBox)) {
|
|
24
|
-
if (node.leaf)
|
|
25
|
-
result.push(child);
|
|
26
|
-
else if (contains(bbox, childBBox))
|
|
27
|
-
this._all(child, result);
|
|
28
|
-
else
|
|
29
|
-
nodesToSearch.push(child);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
node = nodesToSearch.pop();
|
|
33
|
-
}
|
|
34
|
-
return result;
|
|
35
|
-
}
|
|
36
|
-
collides(bbox) {
|
|
37
|
-
let node = this.data;
|
|
38
|
-
if (!intersects(bbox, node))
|
|
39
|
-
return false;
|
|
40
|
-
const nodesToSearch = [];
|
|
41
|
-
while (node) {
|
|
42
|
-
for (let i = 0; i < node.children.length; i++) {
|
|
43
|
-
const child = node.children[i];
|
|
44
|
-
const childBBox = node.leaf ? this.toBBox(child) : child;
|
|
45
|
-
if (intersects(bbox, childBBox)) {
|
|
46
|
-
if (node.leaf || contains(bbox, childBBox))
|
|
47
|
-
return true;
|
|
48
|
-
nodesToSearch.push(child);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
node = nodesToSearch.pop();
|
|
52
|
-
}
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
load(data) {
|
|
56
|
-
if (!(data && data.length))
|
|
57
|
-
return this;
|
|
58
|
-
if (data.length < this._minEntries) {
|
|
59
|
-
for (let i = 0; i < data.length; i++) {
|
|
60
|
-
this.insert(data[i]);
|
|
61
|
-
}
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
let node = this._build(data.slice(), 0, data.length - 1, 0);
|
|
65
|
-
if (!this.data.children.length) {
|
|
66
|
-
this.data = node;
|
|
67
|
-
} else if (this.data.height === node.height) {
|
|
68
|
-
this._splitRoot(this.data, node);
|
|
69
|
-
} else {
|
|
70
|
-
if (this.data.height < node.height) {
|
|
71
|
-
const tmpNode = this.data;
|
|
72
|
-
this.data = node;
|
|
73
|
-
node = tmpNode;
|
|
74
|
-
}
|
|
75
|
-
this._insert(node, this.data.height - node.height - 1, true);
|
|
76
|
-
}
|
|
77
|
-
return this;
|
|
78
|
-
}
|
|
79
|
-
insert(item) {
|
|
80
|
-
if (item)
|
|
81
|
-
this._insert(item, this.data.height - 1);
|
|
82
|
-
return this;
|
|
83
|
-
}
|
|
84
|
-
clear() {
|
|
85
|
-
this.data = createNode([]);
|
|
86
|
-
return this;
|
|
87
|
-
}
|
|
88
|
-
remove(item, equalsFn) {
|
|
89
|
-
if (!item)
|
|
90
|
-
return this;
|
|
91
|
-
let node = this.data;
|
|
92
|
-
const bbox = this.toBBox(item);
|
|
93
|
-
const path = [];
|
|
94
|
-
const indexes = [];
|
|
95
|
-
let i, parent, goingUp;
|
|
96
|
-
while (node || path.length) {
|
|
97
|
-
if (!node) {
|
|
98
|
-
node = path.pop();
|
|
99
|
-
parent = path[path.length - 1];
|
|
100
|
-
i = indexes.pop();
|
|
101
|
-
goingUp = true;
|
|
102
|
-
}
|
|
103
|
-
if (node.leaf) {
|
|
104
|
-
const index = findItem(item, node.children, equalsFn);
|
|
105
|
-
if (index !== -1) {
|
|
106
|
-
node.children.splice(index, 1);
|
|
107
|
-
path.push(node);
|
|
108
|
-
this._condense(path);
|
|
109
|
-
return this;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
if (!goingUp && !node.leaf && contains(node, bbox)) {
|
|
113
|
-
path.push(node);
|
|
114
|
-
indexes.push(i);
|
|
115
|
-
i = 0;
|
|
116
|
-
parent = node;
|
|
117
|
-
node = node.children[0];
|
|
118
|
-
} else if (parent) {
|
|
119
|
-
i++;
|
|
120
|
-
node = parent.children[i];
|
|
121
|
-
goingUp = false;
|
|
122
|
-
} else
|
|
123
|
-
node = null;
|
|
124
|
-
}
|
|
125
|
-
return this;
|
|
126
|
-
}
|
|
127
|
-
toBBox(item) {
|
|
128
|
-
return item;
|
|
129
|
-
}
|
|
130
|
-
compareMinX(a, b) {
|
|
131
|
-
return a.minX - b.minX;
|
|
132
|
-
}
|
|
133
|
-
compareMinY(a, b) {
|
|
134
|
-
return a.minY - b.minY;
|
|
135
|
-
}
|
|
136
|
-
toJSON() {
|
|
137
|
-
return this.data;
|
|
138
|
-
}
|
|
139
|
-
fromJSON(data) {
|
|
140
|
-
this.data = data;
|
|
141
|
-
return this;
|
|
142
|
-
}
|
|
143
|
-
_all(node, result) {
|
|
144
|
-
const nodesToSearch = [];
|
|
145
|
-
while (node) {
|
|
146
|
-
if (node.leaf)
|
|
147
|
-
result.push(...node.children);
|
|
148
|
-
else
|
|
149
|
-
nodesToSearch.push(...node.children);
|
|
150
|
-
node = nodesToSearch.pop();
|
|
151
|
-
}
|
|
152
|
-
return result;
|
|
153
|
-
}
|
|
154
|
-
_build(items, left, right, height) {
|
|
155
|
-
const N = right - left + 1;
|
|
156
|
-
let M = this._maxEntries;
|
|
157
|
-
let node;
|
|
158
|
-
if (N <= M) {
|
|
159
|
-
node = createNode(items.slice(left, right + 1));
|
|
160
|
-
calcBBox(node, this.toBBox);
|
|
161
|
-
return node;
|
|
162
|
-
}
|
|
163
|
-
if (!height) {
|
|
164
|
-
height = Math.ceil(Math.log(N) / Math.log(M));
|
|
165
|
-
M = Math.ceil(N / Math.pow(M, height - 1));
|
|
166
|
-
}
|
|
167
|
-
node = createNode([]);
|
|
168
|
-
node.leaf = false;
|
|
169
|
-
node.height = height;
|
|
170
|
-
const N2 = Math.ceil(N / M);
|
|
171
|
-
const N1 = N2 * Math.ceil(Math.sqrt(M));
|
|
172
|
-
multiSelect(items, left, right, N1, this.compareMinX);
|
|
173
|
-
for (let i = left; i <= right; i += N1) {
|
|
174
|
-
const right2 = Math.min(i + N1 - 1, right);
|
|
175
|
-
multiSelect(items, i, right2, N2, this.compareMinY);
|
|
176
|
-
for (let j = i; j <= right2; j += N2) {
|
|
177
|
-
const right3 = Math.min(j + N2 - 1, right2);
|
|
178
|
-
node.children.push(this._build(items, j, right3, height - 1));
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
calcBBox(node, this.toBBox);
|
|
182
|
-
return node;
|
|
183
|
-
}
|
|
184
|
-
_chooseSubtree(bbox, node, level, path) {
|
|
185
|
-
while (true) {
|
|
186
|
-
path.push(node);
|
|
187
|
-
if (node.leaf || path.length - 1 === level)
|
|
188
|
-
break;
|
|
189
|
-
let minArea = Infinity;
|
|
190
|
-
let minEnlargement = Infinity;
|
|
191
|
-
let targetNode;
|
|
192
|
-
for (let i = 0; i < node.children.length; i++) {
|
|
193
|
-
const child = node.children[i];
|
|
194
|
-
const area = bboxArea(child);
|
|
195
|
-
const enlargement = enlargedArea(bbox, child) - area;
|
|
196
|
-
if (enlargement < minEnlargement) {
|
|
197
|
-
minEnlargement = enlargement;
|
|
198
|
-
minArea = area < minArea ? area : minArea;
|
|
199
|
-
targetNode = child;
|
|
200
|
-
} else if (enlargement === minEnlargement) {
|
|
201
|
-
if (area < minArea) {
|
|
202
|
-
minArea = area;
|
|
203
|
-
targetNode = child;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
node = targetNode || node.children[0];
|
|
208
|
-
}
|
|
209
|
-
return node;
|
|
210
|
-
}
|
|
211
|
-
_insert(item, level, isNode) {
|
|
212
|
-
const bbox = isNode ? item : this.toBBox(item);
|
|
213
|
-
const insertPath = [];
|
|
214
|
-
const node = this._chooseSubtree(bbox, this.data, level, insertPath);
|
|
215
|
-
node.children.push(item);
|
|
216
|
-
extend(node, bbox);
|
|
217
|
-
while (level >= 0) {
|
|
218
|
-
if (insertPath[level].children.length > this._maxEntries) {
|
|
219
|
-
this._split(insertPath, level);
|
|
220
|
-
level--;
|
|
221
|
-
} else
|
|
222
|
-
break;
|
|
223
|
-
}
|
|
224
|
-
this._adjustParentBBoxes(bbox, insertPath, level);
|
|
225
|
-
}
|
|
226
|
-
_split(insertPath, level) {
|
|
227
|
-
const node = insertPath[level];
|
|
228
|
-
const M = node.children.length;
|
|
229
|
-
const m = this._minEntries;
|
|
230
|
-
this._chooseSplitAxis(node, m, M);
|
|
231
|
-
const splitIndex = this._chooseSplitIndex(node, m, M);
|
|
232
|
-
const newNode = createNode(node.children.splice(splitIndex, node.children.length - splitIndex));
|
|
233
|
-
newNode.height = node.height;
|
|
234
|
-
newNode.leaf = node.leaf;
|
|
235
|
-
calcBBox(node, this.toBBox);
|
|
236
|
-
calcBBox(newNode, this.toBBox);
|
|
237
|
-
if (level)
|
|
238
|
-
insertPath[level - 1].children.push(newNode);
|
|
239
|
-
else
|
|
240
|
-
this._splitRoot(node, newNode);
|
|
241
|
-
}
|
|
242
|
-
_splitRoot(node, newNode) {
|
|
243
|
-
this.data = createNode([node, newNode]);
|
|
244
|
-
this.data.height = node.height + 1;
|
|
245
|
-
this.data.leaf = false;
|
|
246
|
-
calcBBox(this.data, this.toBBox);
|
|
247
|
-
}
|
|
248
|
-
_chooseSplitIndex(node, m, M) {
|
|
249
|
-
let index;
|
|
250
|
-
let minOverlap = Infinity;
|
|
251
|
-
let minArea = Infinity;
|
|
252
|
-
for (let i = m; i <= M - m; i++) {
|
|
253
|
-
const bbox1 = distBBox(node, 0, i, this.toBBox);
|
|
254
|
-
const bbox2 = distBBox(node, i, M, this.toBBox);
|
|
255
|
-
const overlap = intersectionArea(bbox1, bbox2);
|
|
256
|
-
const area = bboxArea(bbox1) + bboxArea(bbox2);
|
|
257
|
-
if (overlap < minOverlap) {
|
|
258
|
-
minOverlap = overlap;
|
|
259
|
-
index = i;
|
|
260
|
-
minArea = area < minArea ? area : minArea;
|
|
261
|
-
} else if (overlap === minOverlap) {
|
|
262
|
-
if (area < minArea) {
|
|
263
|
-
minArea = area;
|
|
264
|
-
index = i;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
return index || M - m;
|
|
269
|
-
}
|
|
270
|
-
_chooseSplitAxis(node, m, M) {
|
|
271
|
-
const compareMinX = node.leaf ? this.compareMinX : compareNodeMinX;
|
|
272
|
-
const compareMinY = node.leaf ? this.compareMinY : compareNodeMinY;
|
|
273
|
-
const xMargin = this._allDistMargin(node, m, M, compareMinX);
|
|
274
|
-
const yMargin = this._allDistMargin(node, m, M, compareMinY);
|
|
275
|
-
if (xMargin < yMargin)
|
|
276
|
-
node.children.sort(compareMinX);
|
|
277
|
-
}
|
|
278
|
-
_allDistMargin(node, m, M, compare) {
|
|
279
|
-
node.children.sort(compare);
|
|
280
|
-
const toBBox = this.toBBox;
|
|
281
|
-
const leftBBox = distBBox(node, 0, m, toBBox);
|
|
282
|
-
const rightBBox = distBBox(node, M - m, M, toBBox);
|
|
283
|
-
let margin = bboxMargin(leftBBox) + bboxMargin(rightBBox);
|
|
284
|
-
for (let i = m; i < M - m; i++) {
|
|
285
|
-
const child = node.children[i];
|
|
286
|
-
extend(leftBBox, node.leaf ? toBBox(child) : child);
|
|
287
|
-
margin += bboxMargin(leftBBox);
|
|
288
|
-
}
|
|
289
|
-
for (let i = M - m - 1; i >= m; i--) {
|
|
290
|
-
const child = node.children[i];
|
|
291
|
-
extend(rightBBox, node.leaf ? toBBox(child) : child);
|
|
292
|
-
margin += bboxMargin(rightBBox);
|
|
293
|
-
}
|
|
294
|
-
return margin;
|
|
295
|
-
}
|
|
296
|
-
_adjustParentBBoxes(bbox, path, level) {
|
|
297
|
-
for (let i = level; i >= 0; i--) {
|
|
298
|
-
extend(path[i], bbox);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
_condense(path) {
|
|
302
|
-
for (let i = path.length - 1, siblings; i >= 0; i--) {
|
|
303
|
-
if (path[i].children.length === 0) {
|
|
304
|
-
if (i > 0) {
|
|
305
|
-
siblings = path[i - 1].children;
|
|
306
|
-
siblings.splice(siblings.indexOf(path[i]), 1);
|
|
307
|
-
} else
|
|
308
|
-
this.clear();
|
|
309
|
-
} else
|
|
310
|
-
calcBBox(path[i], this.toBBox);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
function findItem(item, items, equalsFn) {
|
|
315
|
-
if (!equalsFn)
|
|
316
|
-
return items.indexOf(item);
|
|
317
|
-
for (let i = 0; i < items.length; i++) {
|
|
318
|
-
if (equalsFn(item, items[i]))
|
|
319
|
-
return i;
|
|
320
|
-
}
|
|
321
|
-
return -1;
|
|
322
|
-
}
|
|
323
|
-
function calcBBox(node, toBBox) {
|
|
324
|
-
distBBox(node, 0, node.children.length, toBBox, node);
|
|
325
|
-
}
|
|
326
|
-
function distBBox(node, k, p, toBBox, destNode) {
|
|
327
|
-
if (!destNode)
|
|
328
|
-
destNode = createNode(null);
|
|
329
|
-
destNode.minX = Infinity;
|
|
330
|
-
destNode.minY = Infinity;
|
|
331
|
-
destNode.maxX = -Infinity;
|
|
332
|
-
destNode.maxY = -Infinity;
|
|
333
|
-
for (let i = k; i < p; i++) {
|
|
334
|
-
const child = node.children[i];
|
|
335
|
-
extend(destNode, node.leaf ? toBBox(child) : child);
|
|
336
|
-
}
|
|
337
|
-
return destNode;
|
|
338
|
-
}
|
|
339
|
-
function extend(a, b) {
|
|
340
|
-
a.minX = Math.min(a.minX, b.minX);
|
|
341
|
-
a.minY = Math.min(a.minY, b.minY);
|
|
342
|
-
a.maxX = Math.max(a.maxX, b.maxX);
|
|
343
|
-
a.maxY = Math.max(a.maxY, b.maxY);
|
|
344
|
-
return a;
|
|
345
|
-
}
|
|
346
|
-
function compareNodeMinX(a, b) {
|
|
347
|
-
return a.minX - b.minX;
|
|
348
|
-
}
|
|
349
|
-
function compareNodeMinY(a, b) {
|
|
350
|
-
return a.minY - b.minY;
|
|
351
|
-
}
|
|
352
|
-
function bboxArea(a) {
|
|
353
|
-
return (a.maxX - a.minX) * (a.maxY - a.minY);
|
|
354
|
-
}
|
|
355
|
-
function bboxMargin(a) {
|
|
356
|
-
return a.maxX - a.minX + (a.maxY - a.minY);
|
|
357
|
-
}
|
|
358
|
-
function enlargedArea(a, b) {
|
|
359
|
-
return (Math.max(b.maxX, a.maxX) - Math.min(b.minX, a.minX)) * (Math.max(b.maxY, a.maxY) - Math.min(b.minY, a.minY));
|
|
360
|
-
}
|
|
361
|
-
function intersectionArea(a, b) {
|
|
362
|
-
const minX = Math.max(a.minX, b.minX);
|
|
363
|
-
const minY = Math.max(a.minY, b.minY);
|
|
364
|
-
const maxX = Math.min(a.maxX, b.maxX);
|
|
365
|
-
const maxY = Math.min(a.maxY, b.maxY);
|
|
366
|
-
return Math.max(0, maxX - minX) * Math.max(0, maxY - minY);
|
|
367
|
-
}
|
|
368
|
-
function contains(a, b) {
|
|
369
|
-
return a.minX <= b.minX && a.minY <= b.minY && b.maxX <= a.maxX && b.maxY <= a.maxY;
|
|
370
|
-
}
|
|
371
|
-
function intersects(a, b) {
|
|
372
|
-
return b.minX <= a.maxX && b.minY <= a.maxY && b.maxX >= a.minX && b.maxY >= a.minY;
|
|
373
|
-
}
|
|
374
|
-
function createNode(children) {
|
|
375
|
-
return {
|
|
376
|
-
children,
|
|
377
|
-
height: 1,
|
|
378
|
-
leaf: true,
|
|
379
|
-
minX: Infinity,
|
|
380
|
-
minY: Infinity,
|
|
381
|
-
maxX: -Infinity,
|
|
382
|
-
maxY: -Infinity
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
function multiSelect(arr, left, right, n, compare) {
|
|
386
|
-
const stack = [left, right];
|
|
387
|
-
while (stack.length) {
|
|
388
|
-
right = stack.pop();
|
|
389
|
-
left = stack.pop();
|
|
390
|
-
if (right - left <= n)
|
|
391
|
-
continue;
|
|
392
|
-
const mid = left + Math.ceil((right - left) / n / 2) * n;
|
|
393
|
-
quickselect(arr, mid, left, right, compare);
|
|
394
|
-
stack.push(left, mid, mid, right);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
var _rbush_3_0_1_rbush = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
398
|
-
__proto__: null,
|
|
399
|
-
"default": RBush
|
|
400
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
401
|
-
var require$$0 = /* @__PURE__ */ getAugmentedNamespace(_rbush_3_0_1_rbush);
|
|
402
|
-
export { RBush as R, require$$0 as r };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { _ as _defineProperties_1_1_4_defineProperties } from "../_define-properties@1.1.4@define-properties/_define-properties@1.1.4@define-properties.647c3367.js";
|
|
2
|
-
import { _ as _callBind_1_0_2_callBind } from "../_call-bind@1.0.2@call-bind/_call-bind@1.0.2@call-bind.3811d387.js";
|
|
3
|
-
import { _ as _functionsHaveNames_1_2_3_functionsHaveNames } from "../_functions-have-names@1.2.3@functions-have-names/_functions-have-names@1.2.3@functions-have-names.7def2408.js";
|
|
4
|
-
var implementation$2 = { exports: {} };
|
|
5
|
-
(function(module) {
|
|
6
|
-
var functionsHaveConfigurableNames = _functionsHaveNames_1_2_3_functionsHaveNames.functionsHaveConfigurableNames();
|
|
7
|
-
var $Object = Object;
|
|
8
|
-
var $TypeError = TypeError;
|
|
9
|
-
module.exports = function flags() {
|
|
10
|
-
if (this != null && this !== $Object(this)) {
|
|
11
|
-
throw new $TypeError("RegExp.prototype.flags getter called on non-object");
|
|
12
|
-
}
|
|
13
|
-
var result = "";
|
|
14
|
-
if (this.hasIndices) {
|
|
15
|
-
result += "d";
|
|
16
|
-
}
|
|
17
|
-
if (this.global) {
|
|
18
|
-
result += "g";
|
|
19
|
-
}
|
|
20
|
-
if (this.ignoreCase) {
|
|
21
|
-
result += "i";
|
|
22
|
-
}
|
|
23
|
-
if (this.multiline) {
|
|
24
|
-
result += "m";
|
|
25
|
-
}
|
|
26
|
-
if (this.dotAll) {
|
|
27
|
-
result += "s";
|
|
28
|
-
}
|
|
29
|
-
if (this.unicode) {
|
|
30
|
-
result += "u";
|
|
31
|
-
}
|
|
32
|
-
if (this.sticky) {
|
|
33
|
-
result += "y";
|
|
34
|
-
}
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
if (functionsHaveConfigurableNames && Object.defineProperty) {
|
|
38
|
-
Object.defineProperty(module.exports, "name", { value: "get flags" });
|
|
39
|
-
}
|
|
40
|
-
})(implementation$2);
|
|
41
|
-
var implementation$1 = implementation$2.exports;
|
|
42
|
-
var supportsDescriptors$1 = _defineProperties_1_1_4_defineProperties.supportsDescriptors;
|
|
43
|
-
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
44
|
-
var polyfill = function getPolyfill() {
|
|
45
|
-
if (supportsDescriptors$1 && /a/mig.flags === "gim") {
|
|
46
|
-
var descriptor = $gOPD(RegExp.prototype, "flags");
|
|
47
|
-
if (descriptor && typeof descriptor.get === "function" && typeof RegExp.prototype.dotAll === "boolean" && typeof RegExp.prototype.hasIndices === "boolean") {
|
|
48
|
-
var calls = "";
|
|
49
|
-
var o = {};
|
|
50
|
-
Object.defineProperty(o, "hasIndices", {
|
|
51
|
-
get: function() {
|
|
52
|
-
calls += "d";
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(o, "sticky", {
|
|
56
|
-
get: function() {
|
|
57
|
-
calls += "y";
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
if (calls === "dy") {
|
|
61
|
-
return descriptor.get;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return implementation$1;
|
|
66
|
-
};
|
|
67
|
-
var supportsDescriptors = _defineProperties_1_1_4_defineProperties.supportsDescriptors;
|
|
68
|
-
var getPolyfill$1 = polyfill;
|
|
69
|
-
var gOPD = Object.getOwnPropertyDescriptor;
|
|
70
|
-
var defineProperty = Object.defineProperty;
|
|
71
|
-
var TypeErr = TypeError;
|
|
72
|
-
var getProto = Object.getPrototypeOf;
|
|
73
|
-
var regex = /a/;
|
|
74
|
-
var shim$1 = function shimFlags() {
|
|
75
|
-
if (!supportsDescriptors || !getProto) {
|
|
76
|
-
throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
|
|
77
|
-
}
|
|
78
|
-
var polyfill2 = getPolyfill$1();
|
|
79
|
-
var proto = getProto(regex);
|
|
80
|
-
var descriptor = gOPD(proto, "flags");
|
|
81
|
-
if (!descriptor || descriptor.get !== polyfill2) {
|
|
82
|
-
defineProperty(proto, "flags", {
|
|
83
|
-
configurable: true,
|
|
84
|
-
enumerable: false,
|
|
85
|
-
get: polyfill2
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
return polyfill2;
|
|
89
|
-
};
|
|
90
|
-
var define = _defineProperties_1_1_4_defineProperties;
|
|
91
|
-
var callBind = _callBind_1_0_2_callBind.exports;
|
|
92
|
-
var implementation = implementation$2.exports;
|
|
93
|
-
var getPolyfill2 = polyfill;
|
|
94
|
-
var shim = shim$1;
|
|
95
|
-
var flagsBound = callBind(getPolyfill2());
|
|
96
|
-
define(flagsBound, {
|
|
97
|
-
getPolyfill: getPolyfill2,
|
|
98
|
-
implementation,
|
|
99
|
-
shim
|
|
100
|
-
});
|
|
101
|
-
var _regexp_prototype_flags_1_4_3_regexp_prototype_flags = flagsBound;
|
|
102
|
-
export { _regexp_prototype_flags_1_4_3_regexp_prototype_flags as _ };
|