{"version":3,"file":"control_controller-BM-WcP9q.js","sources":["../../../app/javascript/controllers/pane/control_controller.js"],"sourcesContent":["import ApplicationController from \"../application_controller\"\n\nexport default class extends ApplicationController {\n static values = {\n id: String,\n }\n\n connect() {\n console.log(\"connecting\")\n }\n\n showPane() {\n this.dispatch(\"show\", { target: this.pane })\n }\n\n hidePane() {\n this.dispatch(\"hide\", { target: this.pane })\n }\n\n get pane() {\n return Array.from(document.getElementsByTagName(\"x-pane\"))\n .find((pane) => pane.id === this.idValue)\n }\n}\n"],"names":["control_controller","ApplicationController","pane","__publicField"],"mappings":"uNAEe,MAAKA,UAASC,CAAsB,CAKjD,SAAU,CACR,QAAQ,IAAI,YAAY,CAC5B,CAEE,UAAW,CACT,KAAK,SAAS,OAAQ,CAAE,OAAQ,KAAK,IAAM,CAAA,CAC/C,CAEE,UAAW,CACT,KAAK,SAAS,OAAQ,CAAE,OAAQ,KAAK,IAAM,CAAA,CAC/C,CAEE,IAAI,MAAO,CACT,OAAO,MAAM,KAAK,SAAS,qBAAqB,QAAQ,CAAC,EACtD,KAAMC,GAASA,EAAK,KAAO,KAAK,OAAO,CAC9C,CACA,CApBEC,EADkBH,EACX,SAAS,CACd,GAAI,MACR"}