{"version":3,"file":"pane_controller-D2gOL-yl.js","sources":["../../../app/javascript/controllers/labels/pane_controller.js"],"sourcesContent":["import PaneController from \"../pane_controller\"\nimport { get } from \"@rails/request.js\"\n\nexport default class extends PaneController {\n async openWithForm(e) {\n await get(e.target.dataset.url, { responseKind: \"turbo-stream\" })\n\n let event = new CustomEvent(e.target.dataset.event, {\n bubbles: true,\n cancelable: true,\n })\n\n window.dispatchEvent(event)\n }\n}\n"],"names":["pane_controller","PaneController","get","event"],"mappings":"0FAGe,MAAKA,UAASC,CAAe,CAC1C,MAAM,aAAa,EAAG,CACpB,MAAMC,EAAI,EAAE,OAAO,QAAQ,IAAK,CAAE,aAAc,cAAgB,CAAA,EAEhE,IAAIC,EAAQ,IAAI,YAAY,EAAE,OAAO,QAAQ,MAAO,CAClD,QAAS,GACT,WAAY,EACb,CAAA,EAED,OAAO,cAAcA,CAAK,CAC9B,CACA"}