@travel-match/ui 0.6.0 → 0.7.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/components/ArmeniaRouteMap/ArmeniaRouteMap.cjs +2 -0
- package/dist/components/ArmeniaRouteMap/ArmeniaRouteMap.cjs.map +1 -0
- package/dist/components/ArmeniaRouteMap/ArmeniaRouteMap.js +106 -0
- package/dist/components/ArmeniaRouteMap/ArmeniaRouteMap.js.map +1 -0
- package/dist/components/ArmeniaRouteMap/regionNames.cjs +2 -0
- package/dist/components/ArmeniaRouteMap/regionNames.cjs.map +1 -0
- package/dist/components/ArmeniaRouteMap/regionNames.js +49 -0
- package/dist/components/ArmeniaRouteMap/regionNames.js.map +1 -0
- package/dist/components/GlobeMap/GlobeMap.cjs +2 -0
- package/dist/components/GlobeMap/GlobeMap.cjs.map +1 -0
- package/dist/components/GlobeMap/GlobeMap.js +202 -0
- package/dist/components/GlobeMap/GlobeMap.js.map +1 -0
- package/dist/components/GlobeMap/geo.cjs +2 -0
- package/dist/components/GlobeMap/geo.cjs.map +1 -0
- package/dist/components/GlobeMap/geo.js +150 -0
- package/dist/components/GlobeMap/geo.js.map +1 -0
- package/dist/components/GlobeMap/world.json.cjs +2 -0
- package/dist/components/GlobeMap/world.json.cjs.map +1 -0
- package/dist/components/GlobeMap/world.json.js +28990 -0
- package/dist/components/GlobeMap/world.json.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +80 -0
- package/dist/index.d.ts +80 -0
- package/dist/index.js +34 -31
- package/dist/node_modules/d3-array/dist/d3-array.cjs +2 -0
- package/dist/node_modules/d3-array/dist/d3-array.cjs.map +1 -0
- package/dist/node_modules/d3-array/dist/d3-array.js +90 -0
- package/dist/node_modules/d3-array/dist/d3-array.js.map +1 -0
- package/dist/node_modules/d3-geo/src/area.cjs +2 -0
- package/dist/node_modules/d3-geo/src/area.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/area.js +41 -0
- package/dist/node_modules/d3-geo/src/area.js.map +1 -0
- package/dist/node_modules/d3-geo/src/cartesian.cjs +2 -0
- package/dist/node_modules/d3-geo/src/cartesian.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/cartesian.js +41 -0
- package/dist/node_modules/d3-geo/src/cartesian.js.map +1 -0
- package/dist/node_modules/d3-geo/src/centroid.cjs +2 -0
- package/dist/node_modules/d3-geo/src/centroid.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/centroid.js +66 -0
- package/dist/node_modules/d3-geo/src/centroid.js.map +1 -0
- package/dist/node_modules/d3-geo/src/circle.cjs +2 -0
- package/dist/node_modules/d3-geo/src/circle.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/circle.js +23 -0
- package/dist/node_modules/d3-geo/src/circle.js.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/antimeridian.cjs +2 -0
- package/dist/node_modules/d3-geo/src/clip/antimeridian.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/antimeridian.js +40 -0
- package/dist/node_modules/d3-geo/src/clip/antimeridian.js.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/buffer.cjs +2 -0
- package/dist/node_modules/d3-geo/src/clip/buffer.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/buffer.js +29 -0
- package/dist/node_modules/d3-geo/src/clip/buffer.js.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/circle.cjs +2 -0
- package/dist/node_modules/d3-geo/src/clip/circle.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/circle.js +69 -0
- package/dist/node_modules/d3-geo/src/clip/circle.js.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/index.cjs +2 -0
- package/dist/node_modules/d3-geo/src/clip/index.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/index.js +67 -0
- package/dist/node_modules/d3-geo/src/clip/index.js.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/line.cjs +2 -0
- package/dist/node_modules/d3-geo/src/clip/line.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/line.js +45 -0
- package/dist/node_modules/d3-geo/src/clip/line.js.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/rectangle.cjs +2 -0
- package/dist/node_modules/d3-geo/src/clip/rectangle.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/rectangle.js +73 -0
- package/dist/node_modules/d3-geo/src/clip/rectangle.js.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/rejoin.cjs +2 -0
- package/dist/node_modules/d3-geo/src/clip/rejoin.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/clip/rejoin.js +52 -0
- package/dist/node_modules/d3-geo/src/clip/rejoin.js.map +1 -0
- package/dist/node_modules/d3-geo/src/compose.cjs +2 -0
- package/dist/node_modules/d3-geo/src/compose.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/compose.js +13 -0
- package/dist/node_modules/d3-geo/src/compose.js.map +1 -0
- package/dist/node_modules/d3-geo/src/distance.cjs +2 -0
- package/dist/node_modules/d3-geo/src/distance.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/distance.js +13 -0
- package/dist/node_modules/d3-geo/src/distance.js.map +1 -0
- package/dist/node_modules/d3-geo/src/identity.cjs +2 -0
- package/dist/node_modules/d3-geo/src/identity.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/identity.js +6 -0
- package/dist/node_modules/d3-geo/src/identity.js.map +1 -0
- package/dist/node_modules/d3-geo/src/interpolate.cjs +2 -0
- package/dist/node_modules/d3-geo/src/interpolate.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/interpolate.js +15 -0
- package/dist/node_modules/d3-geo/src/interpolate.js.map +1 -0
- package/dist/node_modules/d3-geo/src/length.cjs +2 -0
- package/dist/node_modules/d3-geo/src/length.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/length.js +34 -0
- package/dist/node_modules/d3-geo/src/length.js.map +1 -0
- package/dist/node_modules/d3-geo/src/math.cjs +2 -0
- package/dist/node_modules/d3-geo/src/math.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/math.js +17 -0
- package/dist/node_modules/d3-geo/src/math.js.map +1 -0
- package/dist/node_modules/d3-geo/src/noop.cjs +2 -0
- package/dist/node_modules/d3-geo/src/noop.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/noop.js +6 -0
- package/dist/node_modules/d3-geo/src/noop.js.map +1 -0
- package/dist/node_modules/d3-geo/src/path/area.cjs +2 -0
- package/dist/node_modules/d3-geo/src/path/area.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/path/area.js +35 -0
- package/dist/node_modules/d3-geo/src/path/area.js.map +1 -0
- package/dist/node_modules/d3-geo/src/path/bounds.cjs +2 -0
- package/dist/node_modules/d3-geo/src/path/bounds.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/path/bounds.js +20 -0
- package/dist/node_modules/d3-geo/src/path/bounds.js.map +1 -0
- package/dist/node_modules/d3-geo/src/path/centroid.cjs +2 -0
- package/dist/node_modules/d3-geo/src/path/centroid.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/path/centroid.js +50 -0
- package/dist/node_modules/d3-geo/src/path/centroid.js.map +1 -0
- package/dist/node_modules/d3-geo/src/path/context.cjs +2 -0
- package/dist/node_modules/d3-geo/src/path/context.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/path/context.js +40 -0
- package/dist/node_modules/d3-geo/src/path/context.js.map +1 -0
- package/dist/node_modules/d3-geo/src/path/index.cjs +2 -0
- package/dist/node_modules/d3-geo/src/path/index.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/path/index.js +43 -0
- package/dist/node_modules/d3-geo/src/path/index.js.map +1 -0
- package/dist/node_modules/d3-geo/src/path/measure.cjs +2 -0
- package/dist/node_modules/d3-geo/src/path/measure.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/path/measure.js +33 -0
- package/dist/node_modules/d3-geo/src/path/measure.js.map +1 -0
- package/dist/node_modules/d3-geo/src/path/string.cjs +2 -0
- package/dist/node_modules/d3-geo/src/path/string.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/path/string.js +64 -0
- package/dist/node_modules/d3-geo/src/path/string.js.map +1 -0
- package/dist/node_modules/d3-geo/src/pointEqual.cjs +2 -0
- package/dist/node_modules/d3-geo/src/pointEqual.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/pointEqual.js +9 -0
- package/dist/node_modules/d3-geo/src/pointEqual.js.map +1 -0
- package/dist/node_modules/d3-geo/src/polygonContains.cjs +2 -0
- package/dist/node_modules/d3-geo/src/polygonContains.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/polygonContains.js +31 -0
- package/dist/node_modules/d3-geo/src/polygonContains.js.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/azimuthal.cjs +2 -0
- package/dist/node_modules/d3-geo/src/projection/azimuthal.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/azimuthal.js +12 -0
- package/dist/node_modules/d3-geo/src/projection/azimuthal.js.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/fit.cjs +2 -0
- package/dist/node_modules/d3-geo/src/projection/fit.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/fit.js +32 -0
- package/dist/node_modules/d3-geo/src/projection/fit.js.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/index.cjs +2 -0
- package/dist/node_modules/d3-geo/src/projection/index.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/index.js +105 -0
- package/dist/node_modules/d3-geo/src/projection/index.js.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/orthographic.cjs +2 -0
- package/dist/node_modules/d3-geo/src/projection/orthographic.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/orthographic.js +15 -0
- package/dist/node_modules/d3-geo/src/projection/orthographic.js.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/resample.cjs +2 -0
- package/dist/node_modules/d3-geo/src/projection/resample.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/projection/resample.js +62 -0
- package/dist/node_modules/d3-geo/src/projection/resample.js.map +1 -0
- package/dist/node_modules/d3-geo/src/rotation.cjs +2 -0
- package/dist/node_modules/d3-geo/src/rotation.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/rotation.js +34 -0
- package/dist/node_modules/d3-geo/src/rotation.js.map +1 -0
- package/dist/node_modules/d3-geo/src/stream.cjs +2 -0
- package/dist/node_modules/d3-geo/src/stream.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/stream.js +54 -0
- package/dist/node_modules/d3-geo/src/stream.js.map +1 -0
- package/dist/node_modules/d3-geo/src/transform.cjs +2 -0
- package/dist/node_modules/d3-geo/src/transform.cjs.map +1 -0
- package/dist/node_modules/d3-geo/src/transform.js +34 -0
- package/dist/node_modules/d3-geo/src/transform.js.map +1 -0
- package/dist/node_modules/topojson-client/src/feature.cjs +2 -0
- package/dist/node_modules/topojson-client/src/feature.cjs.map +1 -0
- package/dist/node_modules/topojson-client/src/feature.js +89 -0
- package/dist/node_modules/topojson-client/src/feature.js.map +1 -0
- package/dist/node_modules/topojson-client/src/identity.cjs +2 -0
- package/dist/node_modules/topojson-client/src/identity.cjs.map +1 -0
- package/dist/node_modules/topojson-client/src/identity.js +8 -0
- package/dist/node_modules/topojson-client/src/identity.js.map +1 -0
- package/dist/node_modules/topojson-client/src/reverse.cjs +2 -0
- package/dist/node_modules/topojson-client/src/reverse.cjs.map +1 -0
- package/dist/node_modules/topojson-client/src/reverse.js +8 -0
- package/dist/node_modules/topojson-client/src/reverse.js.map +1 -0
- package/dist/node_modules/topojson-client/src/transform.cjs +2 -0
- package/dist/node_modules/topojson-client/src/transform.cjs.map +1 -0
- package/dist/node_modules/topojson-client/src/transform.js +16 -0
- package/dist/node_modules/topojson-client/src/transform.js.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +11 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream.js","names":["streamGeometry","geometry","streamGeometryType","stream","streamObjectType","object","features","n","coordinates","i","geometries","streamLine","closed","coordinate","streamPolygon","stream_default"],"sources":["../../../../node_modules/d3-geo/src/stream.js"],"sourcesContent":["function streamGeometry(geometry, stream) {\n if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n streamGeometryType[geometry.type](geometry, stream);\n }\n}\n\nvar streamObjectType = {\n Feature: function(object, stream) {\n streamGeometry(object.geometry, stream);\n },\n FeatureCollection: function(object, stream) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n) streamGeometry(features[i].geometry, stream);\n }\n};\n\nvar streamGeometryType = {\n Sphere: function(object, stream) {\n stream.sphere();\n },\n Point: function(object, stream) {\n object = object.coordinates;\n stream.point(object[0], object[1], object[2]);\n },\n MultiPoint: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) object = coordinates[i], stream.point(object[0], object[1], object[2]);\n },\n LineString: function(object, stream) {\n streamLine(object.coordinates, stream, 0);\n },\n MultiLineString: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) streamLine(coordinates[i], stream, 0);\n },\n Polygon: function(object, stream) {\n streamPolygon(object.coordinates, stream);\n },\n MultiPolygon: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) streamPolygon(coordinates[i], stream);\n },\n GeometryCollection: function(object, stream) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n) streamGeometry(geometries[i], stream);\n }\n};\n\nfunction streamLine(coordinates, stream, closed) {\n var i = -1, n = coordinates.length - closed, coordinate;\n stream.lineStart();\n while (++i < n) coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n stream.lineEnd();\n}\n\nfunction streamPolygon(coordinates, stream) {\n var i = -1, n = coordinates.length;\n stream.polygonStart();\n while (++i < n) streamLine(coordinates[i], stream, 1);\n stream.polygonEnd();\n}\n\nexport default function(object, stream) {\n if (object && streamObjectType.hasOwnProperty(object.type)) {\n streamObjectType[object.type](object, stream);\n } else {\n streamGeometry(object, stream);\n }\n}\n"],"ignoreList":[0],"mappings":";;AAAA,SAASA,EAAe,GAAU,GAAQ;CACxC,AAAIC,KAAYC,EAAmB,eAAeD,EAAS,IAAI,KAC7DC,EAAmBD,EAAS,KAAK,CAACA,GAAUE,CAAM;AAEtD;AAEA,IAAIC,IAAmB;CACrB,SAAS,SAAS,GAAQ,GAAQ;EAChC,EAAeC,EAAO,UAAUF,CAAM;CACxC;CACA,mBAAmB,SAAS,GAAQ,GAAQ;EAE1C,KADA,IAAIG,IAAWD,EAAO,UAAU,IAAI,IAAIE,IAAID,EAAS,QAC9C,EAAE,IAAIC,IAAG,EAAeD,EAAS,EAAE,CAAC,UAAUH,CAAM;CAC7D;AACF,GAEID,IAAqB;CACvB,QAAQ,SAAS,GAAQ,GAAQ;EAC/B,EAAO,OAAO;CAChB;CACA,OAAO,SAAS,GAAQ,GAAQ;EAE9B,AADA,IAASG,EAAO,aAChBF,EAAO,MAAME,EAAO,IAAIA,EAAO,IAAIA,EAAO,EAAE;CAC9C;CACA,YAAY,SAAS,GAAQ,GAAQ;EAEnC,KADA,IAAIG,IAAcH,EAAO,aAAaI,IAAI,IAAIF,IAAIC,EAAY,QACvD,EAAEC,IAAIF,IAAG,IAASC,EAAYC,IAAIN,EAAO,MAAME,EAAO,IAAIA,EAAO,IAAIA,EAAO,EAAE;CACvF;CACA,YAAY,SAAS,GAAQ,GAAQ;EACnC,EAAWA,EAAO,aAAaF,GAAQ,CAAC;CAC1C;CACA,iBAAiB,SAAS,GAAQ,GAAQ;EAExC,KADA,IAAIK,IAAcH,EAAO,aAAa,IAAI,IAAIE,IAAIC,EAAY,QACvD,EAAE,IAAID,IAAG,EAAWC,EAAY,IAAIL,GAAQ,CAAC;CACtD;CACA,SAAS,SAAS,GAAQ,GAAQ;EAChC,EAAcE,EAAO,aAAaF,CAAM;CAC1C;CACA,cAAc,SAAS,GAAQ,GAAQ;EAErC,KADA,IAAIK,IAAcH,EAAO,aAAaI,IAAI,IAAIF,IAAIC,EAAY,QACvD,EAAEC,IAAIF,IAAG,EAAcC,EAAYC,IAAIN,CAAM;CACtD;CACA,oBAAoB,SAAS,GAAQ,GAAQ;EAE3C,KADA,IAAIO,IAAaL,EAAO,YAAY,IAAI,IAAIE,IAAIG,EAAW,QACpD,EAAE,IAAIH,IAAG,EAAeG,EAAW,IAAIP,CAAM;CACtD;AACF;AAEA,SAASQ,EAAW,GAAa,GAAQ,GAAQ;CAC/C,IAAIF,IAAI,IAAIF,IAAIC,EAAY,SAASI,GAAQC;CAE7C,KADAV,EAAO,UAAU,GACV,EAAEM,IAAIF,IAAG,IAAaC,EAAYC,IAAIN,EAAO,MAAMU,EAAW,IAAIA,EAAW,IAAIA,EAAW,EAAE;CACrG,EAAO,QAAQ;AACjB;AAEA,SAASC,EAAc,GAAa,GAAQ;CAC1C,IAAIL,IAAI,IAAIF,IAAIC,EAAY;CAE5B,KADAL,EAAO,aAAa,GACb,EAAEM,IAAIF,IAAG,EAAWC,EAAYC,IAAIN,GAAQ,CAAC;CACpD,EAAO,WAAW;AACpB;AAEA,SAAAY,EAAwB,GAAQ,GAAQ;CACtC,AAAIV,KAAUD,EAAiB,eAAeC,EAAO,IAAI,IACvDD,EAAiBC,EAAO,KAAK,CAACA,GAAQF,CAAM,IAE5CH,EAAeK,GAAQF,CAAM;AAEjC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";function e(e){return function(n){var r=new t;for(var i in e)r[i]=e[i];return r.stream=n,r}}function t(){}t.prototype={constructor:t,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},exports.transformer=e;
|
|
2
|
+
//# sourceMappingURL=transform.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.cjs","names":["transformer","s","TransformStream","key","methods","stream","x","y"],"sources":["../../../../node_modules/d3-geo/src/transform.js"],"sourcesContent":["export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n"],"ignoreList":[0],"mappings":"A,aAMA,SAAgBA,EAAY,EAAS,CACnC,OAAO,SAAS,EAAQ,CACtB,IAAIC,EAAI,IAAIC,EACZ,IAAK,IAAIC,KAAOC,EAAS,EAAED,GAAOC,EAAQD,GAE1C,MADA,GAAE,OAASE,EACJJ,CACT,CACF,CAEA,SAASC,GAAkB,CAAC,CAE5B,EAAgB,UAAY,CAC1B,YAAaA,EACb,MAAO,SAAS,EAAG,EAAG,CAAE,KAAK,OAAO,MAAMI,EAAGC,CAAC,CAAG,EACjD,OAAQ,UAAW,CAAE,KAAK,OAAO,OAAO,CAAG,EAC3C,UAAW,UAAW,CAAE,KAAK,OAAO,UAAU,CAAG,EACjD,QAAS,UAAW,CAAE,KAAK,OAAO,QAAQ,CAAG,EAC7C,aAAc,UAAW,CAAE,KAAK,OAAO,aAAa,CAAG,EACvD,WAAY,UAAW,CAAE,KAAK,OAAO,WAAW,CAAG,CACrD,E"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
// node_modules/d3-geo/src/transform.js
|
|
3
|
+
function e(e) {
|
|
4
|
+
return function(n) {
|
|
5
|
+
var r = new t();
|
|
6
|
+
for (var i in e) r[i] = e[i];
|
|
7
|
+
return r.stream = n, r;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function t() {}
|
|
11
|
+
t.prototype = {
|
|
12
|
+
constructor: t,
|
|
13
|
+
point: function(e, t) {
|
|
14
|
+
this.stream.point(e, t);
|
|
15
|
+
},
|
|
16
|
+
sphere: function() {
|
|
17
|
+
this.stream.sphere();
|
|
18
|
+
},
|
|
19
|
+
lineStart: function() {
|
|
20
|
+
this.stream.lineStart();
|
|
21
|
+
},
|
|
22
|
+
lineEnd: function() {
|
|
23
|
+
this.stream.lineEnd();
|
|
24
|
+
},
|
|
25
|
+
polygonStart: function() {
|
|
26
|
+
this.stream.polygonStart();
|
|
27
|
+
},
|
|
28
|
+
polygonEnd: function() {
|
|
29
|
+
this.stream.polygonEnd();
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export { e as transformer };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=transform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.js","names":["transformer","s","TransformStream","key","methods","stream","x","y"],"sources":["../../../../node_modules/d3-geo/src/transform.js"],"sourcesContent":["export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n"],"ignoreList":[0],"mappings":";;AAMA,SAAgBA,EAAY,GAAS;CACnC,OAAO,SAAS,GAAQ;EACtB,IAAIC,IAAI,IAAIC,EAAc;EAC1B,KAAK,IAAIC,KAAOC,GAAS,EAAED,KAAOC,EAAQD;EAE1C,OADA,EAAE,SAASE,GACJJ;CACT;AACF;AAEA,SAASC,IAAkB,CAAC;AAE5B,EAAgB,YAAY;CAC1B,aAAaA;CACb,OAAO,SAAS,GAAG,GAAG;EAAE,KAAK,OAAO,MAAMI,GAAGC,CAAC;CAAG;CACjD,QAAQ,WAAW;EAAE,KAAK,OAAO,OAAO;CAAG;CAC3C,WAAW,WAAW;EAAE,KAAK,OAAO,UAAU;CAAG;CACjD,SAAS,WAAW;EAAE,KAAK,OAAO,QAAQ;CAAG;CAC7C,cAAc,WAAW;EAAE,KAAK,OAAO,aAAa;CAAG;CACvD,YAAY,WAAW;EAAE,KAAK,OAAO,WAAW;CAAG;AACrD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("./reverse.cjs"),t=require("./transform.cjs");function n(e,t){return typeof t==`string`&&(t=e.objects[t]),t.type===`GeometryCollection`?{type:`FeatureCollection`,features:t.geometries.map(function(t){return r(e,t)})}:r(e,t)}function r(e,t){var n=t.id,r=t.bbox,a=t.properties==null?{}:t.properties,o=i(e,t);return n==null&&r==null?{type:`Feature`,properties:a,geometry:o}:r==null?{type:`Feature`,id:n,properties:a,geometry:o}:{type:`Feature`,id:n,bbox:r,properties:a,geometry:o}}function i(n,r){var i=t.default(n.transform),a=n.arcs;function o(t,n){n.length&&n.pop();for(var r=a[t<0?~t:t],o=0,s=r.length;o<s;++o)n.push(i(r[o],o));t<0&&e.default(n,s)}function s(e){return i(e)}function c(e){for(var t=[],n=0,r=e.length;n<r;++n)o(e[n],t);return t.length<2&&t.push(t[0]),t}function l(e){for(var t=c(e);t.length<4;)t.push(t[0]);return t}function u(e){return e.map(l)}function d(e){var t=e.type,n;switch(t){case`GeometryCollection`:return{type:t,geometries:e.geometries.map(d)};case`Point`:n=s(e.coordinates);break;case`MultiPoint`:n=e.coordinates.map(s);break;case`LineString`:n=c(e.arcs);break;case`MultiLineString`:n=e.arcs.map(c);break;case`Polygon`:n=u(e.arcs);break;case`MultiPolygon`:n=e.arcs.map(u);break;default:return null}return{type:t,coordinates:n}}return d(r)}exports.default=n,exports.object=i;
|
|
2
|
+
//# sourceMappingURL=feature.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.cjs","names":["transform","require_reverse","require_transform","feature_default","o","topology","feature","id","bbox","properties","geometry","object","transformPoint","arcs","arc","points","a","i","k","n","point","p","line","ring","polygon","type","coordinates"],"sources":["../../../../node_modules/topojson-client/src/feature.js"],"sourcesContent":["import reverse from \"./reverse.js\";\nimport transform from \"./transform.js\";\n\nexport default function(topology, o) {\n if (typeof o === \"string\") o = topology.objects[o];\n return o.type === \"GeometryCollection\"\n ? {type: \"FeatureCollection\", features: o.geometries.map(function(o) { return feature(topology, o); })}\n : feature(topology, o);\n}\n\nfunction feature(topology, o) {\n var id = o.id,\n bbox = o.bbox,\n properties = o.properties == null ? {} : o.properties,\n geometry = object(topology, o);\n return id == null && bbox == null ? {type: \"Feature\", properties: properties, geometry: geometry}\n : bbox == null ? {type: \"Feature\", id: id, properties: properties, geometry: geometry}\n : {type: \"Feature\", id: id, bbox: bbox, properties: properties, geometry: geometry};\n}\n\nexport function object(topology, o) {\n var transformPoint = transform(topology.transform),\n arcs = topology.arcs;\n\n function arc(i, points) {\n if (points.length) points.pop();\n for (var a = arcs[i < 0 ? ~i : i], k = 0, n = a.length; k < n; ++k) {\n points.push(transformPoint(a[k], k));\n }\n if (i < 0) reverse(points, n);\n }\n\n function point(p) {\n return transformPoint(p);\n }\n\n function line(arcs) {\n var points = [];\n for (var i = 0, n = arcs.length; i < n; ++i) arc(arcs[i], points);\n if (points.length < 2) points.push(points[0]); // This should never happen per the specification.\n return points;\n }\n\n function ring(arcs) {\n var points = line(arcs);\n while (points.length < 4) points.push(points[0]); // This may happen if an arc has only two points.\n return points;\n }\n\n function polygon(arcs) {\n return arcs.map(ring);\n }\n\n function geometry(o) {\n var type = o.type, coordinates;\n switch (type) {\n case \"GeometryCollection\": return {type: type, geometries: o.geometries.map(geometry)};\n case \"Point\": coordinates = point(o.coordinates); break;\n case \"MultiPoint\": coordinates = o.coordinates.map(point); break;\n case \"LineString\": coordinates = line(o.arcs); break;\n case \"MultiLineString\": coordinates = o.arcs.map(line); break;\n case \"Polygon\": coordinates = polygon(o.arcs); break;\n case \"MultiPolygon\": coordinates = o.arcs.map(polygon); break;\n default: return null;\n }\n return {type: type, coordinates: coordinates};\n }\n\n return geometry(o);\n}\n"],"ignoreList":[0],"mappings":"A,2EAGA,SAAAG,EAAwB,EAAU,EAAG,CAEnC,OADI,OAAOC,GAAM,WAAU,EAAIC,EAAS,QAAQD,IACzCA,EAAE,OAAS,qBACZ,CAAC,KAAM,oBAAqB,SAAUA,EAAE,WAAW,IAAI,SAAS,EAAG,CAAE,OAAOE,EAAQD,EAAUD,CAAC,CAAG,CAAC,CAAC,EACpGE,EAAQD,EAAUD,CAAC,CAC3B,CAEA,SAASE,EAAQ,EAAU,EAAG,CAC5B,IAAIC,EAAKH,EAAE,GACPI,EAAOJ,EAAE,KACTK,EAAaL,EAAE,YAAc,KAAO,CAAC,EAAIA,EAAE,WAC3CM,EAAWC,EAAON,EAAUD,CAAC,EACjC,OAAOG,GAAM,MAAQC,GAAQ,KAAO,CAAC,KAAM,UAAuB,aAAsB,UAAQ,EAC1FA,GAAQ,KAAO,CAAC,KAAM,UAAe,KAAgB,aAAsB,UAAQ,EACnF,CAAC,KAAM,UAAe,KAAU,OAAkB,aAAsB,UAAQ,CACxF,CAEA,SAAgBG,EAAO,EAAU,EAAG,CAClC,IAAIC,EAAiBZ,EAAAA,QAAUK,EAAS,SAAS,EAC7CQ,EAAOR,EAAS,KAEpB,SAASS,EAAI,EAAG,EAAQ,CAClBC,EAAO,QAAQA,EAAO,IAAI,EAC9B,IAAK,IAAIC,EAAIH,EAAKI,EAAI,EAAI,CAACA,EAAIA,GAAIC,EAAI,EAAGC,EAAIH,EAAE,OAAQE,EAAIC,EAAG,EAAED,EAC/DH,EAAO,KAAKH,EAAeI,EAAEE,GAAIA,CAAC,CAAC,EAEjCD,EAAI,GAAGhB,EAAA,QAAQc,EAAQI,CAAC,CAC9B,CAEA,SAASC,EAAM,EAAG,CAChB,OAAOR,EAAeS,CAAC,CACzB,CAEA,SAASC,EAAK,EAAM,CAElB,IAAK,IADDP,EAAS,CAAC,EACLE,EAAI,EAAGE,EAAIN,EAAK,OAAQI,EAAIE,EAAG,EAAEF,EAAGH,EAAID,EAAKI,GAAIF,CAAM,EAEhE,OADIA,EAAO,OAAS,GAAGA,EAAO,KAAKA,EAAO,EAAE,EACrCA,CACT,CAEA,SAASQ,EAAK,EAAM,CAElB,IADA,IAAIR,EAASO,EAAKT,CAAI,EACfE,EAAO,OAAS,GAAGA,EAAO,KAAKA,EAAO,EAAE,EAC/C,OAAOA,CACT,CAEA,SAASS,EAAQ,EAAM,CACrB,OAAOX,EAAK,IAAIU,CAAI,CACtB,CAEA,SAASb,EAAS,EAAG,CACnB,IAAIe,EAAOrB,EAAE,KAAMsB,EACnB,OAAQD,EAAR,CACE,IAAK,qBAAsB,MAAO,CAAO,OAAM,WAAYrB,EAAE,WAAW,IAAIM,CAAQ,CAAC,EACrF,IAAK,QAAS,EAAcU,EAAMhB,EAAE,WAAW,EAAG,MAClD,IAAK,aAAc,EAAcA,EAAE,YAAY,IAAIgB,CAAK,EAAG,MAC3D,IAAK,aAAc,EAAcE,EAAKlB,EAAE,IAAI,EAAG,MAC/C,IAAK,kBAAmB,EAAcA,EAAE,KAAK,IAAIkB,CAAI,EAAG,MACxD,IAAK,UAAW,EAAcE,EAAQpB,EAAE,IAAI,EAAG,MAC/C,IAAK,eAAgB,EAAcA,EAAE,KAAK,IAAIoB,CAAO,EAAG,MACxD,QAAS,OAAO,IAClB,CACA,MAAO,CAAO,OAAmB,aAAW,CAC9C,CAEA,OAAOd,EAASN,CAAC,CACnB,C"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import e from "./reverse.js";
|
|
3
|
+
import t from "./transform.js";
|
|
4
|
+
// node_modules/topojson-client/src/feature.js
|
|
5
|
+
function n(e, t) {
|
|
6
|
+
return typeof t == "string" && (t = e.objects[t]), t.type === "GeometryCollection" ? {
|
|
7
|
+
type: "FeatureCollection",
|
|
8
|
+
features: t.geometries.map(function(t) {
|
|
9
|
+
return r(e, t);
|
|
10
|
+
})
|
|
11
|
+
} : r(e, t);
|
|
12
|
+
}
|
|
13
|
+
function r(e, t) {
|
|
14
|
+
var n = t.id, r = t.bbox, a = t.properties == null ? {} : t.properties, o = i(e, t);
|
|
15
|
+
return n == null && r == null ? {
|
|
16
|
+
type: "Feature",
|
|
17
|
+
properties: a,
|
|
18
|
+
geometry: o
|
|
19
|
+
} : r == null ? {
|
|
20
|
+
type: "Feature",
|
|
21
|
+
id: n,
|
|
22
|
+
properties: a,
|
|
23
|
+
geometry: o
|
|
24
|
+
} : {
|
|
25
|
+
type: "Feature",
|
|
26
|
+
id: n,
|
|
27
|
+
bbox: r,
|
|
28
|
+
properties: a,
|
|
29
|
+
geometry: o
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function i(n, r) {
|
|
33
|
+
var i = t(n.transform), a = n.arcs;
|
|
34
|
+
function o(t, n) {
|
|
35
|
+
n.length && n.pop();
|
|
36
|
+
for (var r = a[t < 0 ? ~t : t], o = 0, s = r.length; o < s; ++o) n.push(i(r[o], o));
|
|
37
|
+
t < 0 && e(n, s);
|
|
38
|
+
}
|
|
39
|
+
function s(e) {
|
|
40
|
+
return i(e);
|
|
41
|
+
}
|
|
42
|
+
function c(e) {
|
|
43
|
+
for (var t = [], n = 0, r = e.length; n < r; ++n) o(e[n], t);
|
|
44
|
+
return t.length < 2 && t.push(t[0]), t;
|
|
45
|
+
}
|
|
46
|
+
function l(e) {
|
|
47
|
+
for (var t = c(e); t.length < 4;) t.push(t[0]);
|
|
48
|
+
return t;
|
|
49
|
+
}
|
|
50
|
+
function u(e) {
|
|
51
|
+
return e.map(l);
|
|
52
|
+
}
|
|
53
|
+
function d(e) {
|
|
54
|
+
var t = e.type, n;
|
|
55
|
+
switch (t) {
|
|
56
|
+
case "GeometryCollection": return {
|
|
57
|
+
type: t,
|
|
58
|
+
geometries: e.geometries.map(d)
|
|
59
|
+
};
|
|
60
|
+
case "Point":
|
|
61
|
+
n = s(e.coordinates);
|
|
62
|
+
break;
|
|
63
|
+
case "MultiPoint":
|
|
64
|
+
n = e.coordinates.map(s);
|
|
65
|
+
break;
|
|
66
|
+
case "LineString":
|
|
67
|
+
n = c(e.arcs);
|
|
68
|
+
break;
|
|
69
|
+
case "MultiLineString":
|
|
70
|
+
n = e.arcs.map(c);
|
|
71
|
+
break;
|
|
72
|
+
case "Polygon":
|
|
73
|
+
n = u(e.arcs);
|
|
74
|
+
break;
|
|
75
|
+
case "MultiPolygon":
|
|
76
|
+
n = e.arcs.map(u);
|
|
77
|
+
break;
|
|
78
|
+
default: return null;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
type: t,
|
|
82
|
+
coordinates: n
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
return d(r);
|
|
86
|
+
}
|
|
87
|
+
export { n as default, i as object };
|
|
88
|
+
|
|
89
|
+
//# sourceMappingURL=feature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.js","names":["transform","reverse_default","transform_default","feature_default","o","topology","feature","id","bbox","properties","geometry","object","transformPoint","arcs","arc","points","a","i","k","n","point","p","line","ring","polygon","type","coordinates"],"sources":["../../../../node_modules/topojson-client/src/feature.js"],"sourcesContent":["import reverse from \"./reverse.js\";\nimport transform from \"./transform.js\";\n\nexport default function(topology, o) {\n if (typeof o === \"string\") o = topology.objects[o];\n return o.type === \"GeometryCollection\"\n ? {type: \"FeatureCollection\", features: o.geometries.map(function(o) { return feature(topology, o); })}\n : feature(topology, o);\n}\n\nfunction feature(topology, o) {\n var id = o.id,\n bbox = o.bbox,\n properties = o.properties == null ? {} : o.properties,\n geometry = object(topology, o);\n return id == null && bbox == null ? {type: \"Feature\", properties: properties, geometry: geometry}\n : bbox == null ? {type: \"Feature\", id: id, properties: properties, geometry: geometry}\n : {type: \"Feature\", id: id, bbox: bbox, properties: properties, geometry: geometry};\n}\n\nexport function object(topology, o) {\n var transformPoint = transform(topology.transform),\n arcs = topology.arcs;\n\n function arc(i, points) {\n if (points.length) points.pop();\n for (var a = arcs[i < 0 ? ~i : i], k = 0, n = a.length; k < n; ++k) {\n points.push(transformPoint(a[k], k));\n }\n if (i < 0) reverse(points, n);\n }\n\n function point(p) {\n return transformPoint(p);\n }\n\n function line(arcs) {\n var points = [];\n for (var i = 0, n = arcs.length; i < n; ++i) arc(arcs[i], points);\n if (points.length < 2) points.push(points[0]); // This should never happen per the specification.\n return points;\n }\n\n function ring(arcs) {\n var points = line(arcs);\n while (points.length < 4) points.push(points[0]); // This may happen if an arc has only two points.\n return points;\n }\n\n function polygon(arcs) {\n return arcs.map(ring);\n }\n\n function geometry(o) {\n var type = o.type, coordinates;\n switch (type) {\n case \"GeometryCollection\": return {type: type, geometries: o.geometries.map(geometry)};\n case \"Point\": coordinates = point(o.coordinates); break;\n case \"MultiPoint\": coordinates = o.coordinates.map(point); break;\n case \"LineString\": coordinates = line(o.arcs); break;\n case \"MultiLineString\": coordinates = o.arcs.map(line); break;\n case \"Polygon\": coordinates = polygon(o.arcs); break;\n case \"MultiPolygon\": coordinates = o.arcs.map(polygon); break;\n default: return null;\n }\n return {type: type, coordinates: coordinates};\n }\n\n return geometry(o);\n}\n"],"ignoreList":[0],"mappings":";;;;AAGA,SAAAG,EAAwB,GAAU,GAAG;CAEnC,OADI,OAAOC,KAAM,aAAU,IAAIC,EAAS,QAAQD,KACzCA,EAAE,SAAS,uBACZ;EAAC,MAAM;EAAqB,UAAUA,EAAE,WAAW,IAAI,SAAS,GAAG;GAAE,OAAOE,EAAQD,GAAUD,CAAC;EAAG,CAAC;CAAC,IACpGE,EAAQD,GAAUD,CAAC;AAC3B;AAEA,SAASE,EAAQ,GAAU,GAAG;CAC5B,IAAIC,IAAKH,EAAE,IACPI,IAAOJ,EAAE,MACTK,IAAaL,EAAE,cAAc,OAAO,CAAC,IAAIA,EAAE,YAC3CM,IAAWC,EAAON,GAAUD,CAAC;CACjC,OAAOG,KAAM,QAAQC,KAAQ,OAAO;EAAC,MAAM;EAAuB;EAAsB;CAAQ,IAC1FA,KAAQ,OAAO;EAAC,MAAM;EAAe;EAAgB;EAAsB;CAAQ,IACnF;EAAC,MAAM;EAAe;EAAU;EAAkB;EAAsB;CAAQ;AACxF;AAEA,SAAgBG,EAAO,GAAU,GAAG;CAClC,IAAIC,IAAiBZ,EAAUK,EAAS,SAAS,GAC7CQ,IAAOR,EAAS;CAEpB,SAASS,EAAI,GAAG,GAAQ;EACtB,AAAIC,EAAO,UAAQA,EAAO,IAAI;EAC9B,KAAK,IAAIC,IAAIH,EAAKI,IAAI,IAAI,CAACA,IAAIA,IAAIC,IAAI,GAAGC,IAAIH,EAAE,QAAQE,IAAIC,GAAG,EAAED,GAC/D,EAAO,KAAKN,EAAeI,EAAEE,IAAIA,CAAC,CAAC;EAErC,AAAID,IAAI,KAAGhB,EAAQc,GAAQI,CAAC;CAC9B;CAEA,SAASC,EAAM,GAAG;EAChB,OAAOR,EAAeS,CAAC;CACzB;CAEA,SAASC,EAAK,GAAM;EAElB,KAAK,IADDP,IAAS,CAAC,GACLE,IAAI,GAAGE,IAAIN,EAAK,QAAQI,IAAIE,GAAG,EAAEF,GAAG,EAAIJ,EAAKI,IAAIF,CAAM;EAEhE,OADIA,EAAO,SAAS,KAAGA,EAAO,KAAKA,EAAO,EAAE,GACrCA;CACT;CAEA,SAASQ,EAAK,GAAM;EAElB,KADA,IAAIR,IAASO,EAAKT,CAAI,GACfE,EAAO,SAAS,IAAG,EAAO,KAAKA,EAAO,EAAE;EAC/C,OAAOA;CACT;CAEA,SAASS,EAAQ,GAAM;EACrB,OAAOX,EAAK,IAAIU,CAAI;CACtB;CAEA,SAASb,EAAS,GAAG;EACnB,IAAIe,IAAOrB,EAAE,MAAMsB;EACnB,QAAQD,GAAR;GACE,KAAK,sBAAsB,OAAO;IAAO;IAAM,YAAYrB,EAAE,WAAW,IAAIM,CAAQ;GAAC;GACrF,KAAK;IAAS,IAAcU,EAAMhB,EAAE,WAAW;IAAG;GAClD,KAAK;IAAc,IAAcA,EAAE,YAAY,IAAIgB,CAAK;IAAG;GAC3D,KAAK;IAAc,IAAcE,EAAKlB,EAAE,IAAI;IAAG;GAC/C,KAAK;IAAmB,IAAcA,EAAE,KAAK,IAAIkB,CAAI;IAAG;GACxD,KAAK;IAAW,IAAcE,EAAQpB,EAAE,IAAI;IAAG;GAC/C,KAAK;IAAgB,IAAcA,EAAE,KAAK,IAAIoB,CAAO;IAAG;GACxD,SAAS,OAAO;EAClB;EACA,OAAO;GAAO;GAAmB;EAAW;CAC9C;CAEA,OAAOd,EAASN,CAAC;AACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.cjs","names":["identity_default","x"],"sources":["../../../../node_modules/topojson-client/src/identity.js"],"sourcesContent":["export default function(x) {\n return x;\n}\n"],"ignoreList":[0],"mappings":"A,aAAA,SAAAA,EAAwB,EAAG,CACzB,OAAOC,CACT,C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.js","names":["identity_default","x"],"sources":["../../../../node_modules/topojson-client/src/identity.js"],"sourcesContent":["export default function(x) {\n return x;\n}\n"],"ignoreList":[0],"mappings":";;AAAA,SAAAA,EAAwB,GAAG;CACzB,OAAOC;AACT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reverse.cjs","names":["reverse_default","t","j","array","n"],"sources":["../../../../node_modules/topojson-client/src/reverse.js"],"sourcesContent":["export default function(array, n) {\n var t, j = array.length, i = j - n;\n while (i < --j) t = array[i], array[i++] = array[j], array[j] = t;\n}\n"],"ignoreList":[0],"mappings":"A,aAAA,SAAAA,EAAwB,EAAO,EAAG,CAEhC,IADA,IAAIC,EAAGC,EAAIC,EAAM,OAAQ,EAAID,EAAIE,EAC1B,EAAI,EAAEF,GAAG,EAAIC,EAAM,GAAI,EAAM,KAAOA,EAAMD,GAAI,EAAMA,GAAKD,CAClE,C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reverse.js","names":["reverse_default","t","j","array","n"],"sources":["../../../../node_modules/topojson-client/src/reverse.js"],"sourcesContent":["export default function(array, n) {\n var t, j = array.length, i = j - n;\n while (i < --j) t = array[i], array[i++] = array[j], array[j] = t;\n}\n"],"ignoreList":[0],"mappings":";;AAAA,SAAAA,EAAwB,GAAO,GAAG;CAEhC,KADA,IAAIC,GAAGC,IAAIC,EAAM,QAAQ,IAAID,IAAIE,GAC1B,IAAI,EAAEF,IAAG,IAAIC,EAAM,IAAI,EAAM,OAAOA,EAAMD,IAAI,EAAMA,KAAKD;AAClE"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("./identity.cjs");function t(t){if(t==null)return e.default;var n,r,i=t.scale[0],a=t.scale[1],o=t.translate[0],s=t.translate[1];return function(e,t){t||(n=r=0);var c=2,l=e.length,u=Array(l);for(u[0]=(n+=e[0])*i+o,u[1]=(r+=e[1])*a+s;c<l;)u[c]=e[c],++c;return u}}exports.default=t;
|
|
2
|
+
//# sourceMappingURL=transform.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.cjs","names":["identity","require_identity","transform_default","transform","x0","y0","kx","ky","dx","dy","i","j","n","input","output"],"sources":["../../../../node_modules/topojson-client/src/transform.js"],"sourcesContent":["import identity from \"./identity.js\";\n\nexport default function(transform) {\n if (transform == null) return identity;\n var x0,\n y0,\n kx = transform.scale[0],\n ky = transform.scale[1],\n dx = transform.translate[0],\n dy = transform.translate[1];\n return function(input, i) {\n if (!i) x0 = y0 = 0;\n var j = 2, n = input.length, output = new Array(n);\n output[0] = (x0 += input[0]) * kx + dx;\n output[1] = (y0 += input[1]) * ky + dy;\n while (j < n) output[j] = input[j], ++j;\n return output;\n };\n}\n"],"ignoreList":[0],"mappings":"A,+CAEA,SAAAE,EAAwB,EAAW,CACjC,GAAIC,GAAa,KAAM,OAAOH,EAAAA,QAC9B,IAAII,EACAC,EACAC,EAAKH,EAAU,MAAM,GACrBI,EAAKJ,EAAU,MAAM,GACrBK,EAAKL,EAAU,UAAU,GACzBM,EAAKN,EAAU,UAAU,GAC7B,OAAO,SAAS,EAAO,EAAG,CACnBO,IAAG,EAAK,EAAK,GAClB,IAAIC,EAAI,EAAGC,EAAIC,EAAM,OAAQC,EAAa,MAAMF,CAAC,EAGjD,IAFA,EAAO,IAAM,GAAMC,EAAM,IAAMP,EAAKE,EACpC,EAAO,IAAM,GAAMK,EAAM,IAAMN,EAAKE,EAC7BE,EAAIC,GAAG,EAAOD,GAAKE,EAAMF,GAAI,EAAEA,EACtC,OAAOG,CACT,CACF,C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import e from "./identity.js";
|
|
3
|
+
// node_modules/topojson-client/src/transform.js
|
|
4
|
+
function t(t) {
|
|
5
|
+
if (t == null) return e;
|
|
6
|
+
var n, r, i = t.scale[0], a = t.scale[1], o = t.translate[0], s = t.translate[1];
|
|
7
|
+
return function(e, t) {
|
|
8
|
+
t || (n = r = 0);
|
|
9
|
+
var c = 2, l = e.length, u = Array(l);
|
|
10
|
+
for (u[0] = (n += e[0]) * i + o, u[1] = (r += e[1]) * a + s; c < l;) u[c] = e[c], ++c;
|
|
11
|
+
return u;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export { t as default };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=transform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.js","names":["identity","identity_default","transform_default","transform","x0","y0","kx","ky","dx","dy","i","j","n","input","output"],"sources":["../../../../node_modules/topojson-client/src/transform.js"],"sourcesContent":["import identity from \"./identity.js\";\n\nexport default function(transform) {\n if (transform == null) return identity;\n var x0,\n y0,\n kx = transform.scale[0],\n ky = transform.scale[1],\n dx = transform.translate[0],\n dy = transform.translate[1];\n return function(input, i) {\n if (!i) x0 = y0 = 0;\n var j = 2, n = input.length, output = new Array(n);\n output[0] = (x0 += input[0]) * kx + dx;\n output[1] = (y0 += input[1]) * ky + dy;\n while (j < n) output[j] = input[j], ++j;\n return output;\n };\n}\n"],"ignoreList":[0],"mappings":";;;AAEA,SAAAE,EAAwB,GAAW;CACjC,IAAIC,KAAa,MAAM,OAAOH;CAC9B,IAAII,GACAC,GACAC,IAAKH,EAAU,MAAM,IACrBI,IAAKJ,EAAU,MAAM,IACrBK,IAAKL,EAAU,UAAU,IACzBM,IAAKN,EAAU,UAAU;CAC7B,OAAO,SAAS,GAAO,GAAG;EACxB,AAAKO,MAAG,IAAK,IAAK;EAClB,IAAIC,IAAI,GAAGC,IAAIC,EAAM,QAAQC,IAAa,MAAMF,CAAC;EAGjD,KAFA,EAAO,MAAM,KAAMC,EAAM,MAAMP,IAAKE,GACpC,EAAO,MAAM,KAAMK,EAAM,MAAMN,IAAKE,GAC7BE,IAAIC,IAAG,EAAOD,KAAKE,EAAMF,IAAI,EAAEA;EACtC,OAAOG;CACT;AACF"}
|