{"version":3,"sources":["jsdelivr-header.js","/npm/geo-3d-transform-mat4@1.0.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,IAAI,MAAQ,QAAQ,gCAChB,QAAU,QAAQ,+BAClB,KAAO,QAAQ,WAInB,SAAS,UAAU,EAAW,GAG1B,IAFA,IAAI,EAAS,MAAM,SAAS,GACxB,EAAS,QAAQ,QAAQ,EAAW,MAAM,gBAAiB,GACtD,EAAI,EAAG,EAAI,EAAO,OAAQ,IAC/B,KAAK,cAAc,EAAO,GAAI,EAAO,GAAI,GAG7C,OADA,EAAS,QAAQ,QAAQ,EAAQ,EAAQ,EAE7C,CAVA,OAAO,QAAU","file":"/npm/geo-3d-transform-mat4@1.0.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/geo-3d-transform-mat4@1.0.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict'\n\nvar geoid = require('geo-identify-position-format');\nvar geoconv = require('geo-convert-position-format');\nvar vec3 = require('gl-vec3');\n\nmodule.exports = transform;\n\nfunction transform(positions, m) {\n    var oldfmt = geoid.identify(positions);\n    var newpos = geoconv.convert(positions, geoid.ARRAY_OF_ARRAYS, 3);\n    for (var i = 0; i < newpos.length; i++) {\n        vec3.transformMat4(newpos[i], newpos[i], m);\n    }\n    newpos = geoconv.convert(newpos, oldfmt, 3);\n    return newpos;\n}\n"]}