{ "version": 3, "sources": ["svg_map_controller-190163b6.js"], "sourcesContent": ["import { Controller } from \"@hotwired/stimulus\"\nimport svgPanZoom from \"svg-pan-zoom\"\n\nexport default class extends Controller {\n static targets = [ \"map\" ]\n\n connect() {\n this.map = svgPanZoom(this.mapTarget, {\n center: true,\n fit: true,\n zoomEnabled: false,\n zoomScaleSensitivity: 0.25,\n minZoom: 0.5,\n maxZoom: 1.5,\n })\n }\n\n disconnect() {\n this.map.destroy()\n }\n\n zoomIn() {\n this.map.zoomIn()\n }\n\n zoomOut() {\n this.map.zoomOut()\n }\n\n reset() {\n this.map.reset()\n }\n}\n"], "mappings": "wKAAA,gDACA,4BAEA,qBAAO,SAAsB,EAAW,CAGtC,SAAU,CACR,KAAK,IAAM,EAAW,KAAK,UAAW,CACpC,OAAQ,GACR,IAAK,GACL,YAAa,GACb,qBAAsB,IACtB,QAAS,GACT,QAAS,GACX,CAAC,CACH,CAEA,YAAa,CACX,KAAK,IAAI,QAAQ,CACnB,CAEA,QAAS,CACP,KAAK,IAAI,OAAO,CAClB,CAEA,SAAU,CACR,KAAK,IAAI,QAAQ,CACnB,CAEA,OAAQ,CACN,KAAK,IAAI,MAAM,CACjB,CACF,CA5BS,EADT,EACS,UAAU,CAAE,KAAM", "names": [] }