{"version":3,"names":["openModal","modalId","document","querySelector","openModalElement","setAttribute"],"sources":["src/utils/openModal.ts"],"sourcesContent":["/**\n * this function opens the specified modal window\n * @param modalId\n */\nexport function openModal(modalId: string) {\n if (!!document.querySelector(\"[modal-id=\" + modalId + \"]\")) {\n const openModalElement: HTMLElement = document.querySelector(\"[modal-id=\" + modalId + \"]\") as HTMLElement;\n openModalElement.setAttribute(\"visible\", \"true\");\n }\n}\n"],"mappings":"SAIgBA,EAAUC,GACxB,KAAMC,SAASC,cAAc,aAAeF,EAAU,KAAM,CAC1D,MAAMG,EAAgCF,SAASC,cAAc,aAAeF,EAAU,KACtFG,EAAiBC,aAAa,UAAW,O,CAE7C,Q"}