{"version":3,"file":"accessibilitysettings.min.js","sources":["https:\/\/tfe.ebi.gov.eg\/theme\/moove\/amd\/src\/accessibilitysettings.js"],"sourcesContent":["\/\/ This file is part of Moodle - http:\/\/moodle.org\/\n\/\/\n\/\/ Moodle is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ Moodle is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\/\/ GNU General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU General Public License\n\/\/ along with Moodle. If not, see .\n\n\/**\n * Theme settings js logic\n *\n * @package\n * @copyright 2022 Willian Mano - https:\/\/conecti.me\n * @license http:\/\/www.gnu.org\/copyleft\/gpl.html GNU GPL v3 or later\n *\/\n\nimport AccessibilitySettingsModal from 'theme_moove\/accessibilitysettings_modal';\nimport $ from 'jquery';\n\nexport const init = async() => {\n $('#accessibilitysettings-control').click(function(e) {\n e.preventDefault();\n\n openModal();\n });\n};\n\nconst openModal = async() => {\n const modal = await AccessibilitySettingsModal.create({});\n\n modal.show();\n};"],"names":["async","click","e","preventDefault","openModal","AccessibilitySettingsModal","create","show"],"mappings":";;;;;;;0NA0BoBA,8BACd,kCAAkCC,OAAM,SAASC,GAC\/CA,EAAEC,iBAEFC,sBAIFA,UAAYJ,iBACMK,qCAA2BC,OAAO,KAEhDC"}