HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/demo.sumarbc.com.py/theme/moove/amd/build/accessibilitysettings.min.js.map
{"version":3,"file":"accessibilitysettings.min.js","sources":["../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 <http://www.gnu.org/licenses/>.\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 */\ndefine(['jquery', 'core/modal_factory', 'theme_moove/accessibilitysettings_modal'],\n    function($, ModalFactory, AccessibilitySettingsModal) {\n        /**\n         * Toogle region selectors.\n         */\n        var SELECTORS = {\n            TOGGLE_REGION: '#accessibilitysettings-control'\n        };\n\n        /**\n         * Constructor for the AccessibilitySettings.\n         */\n        var AccessibilitySettings = function() {\n            this.registerEventListeners();\n        };\n\n        /**\n         * Open / close the blocks drawer.\n         */\n        AccessibilitySettings.prototype.openAccessibilitySettingsModal = function() {\n            // eslint-disable-next-line promise/catch-or-return\n            ModalFactory.create({\n                type: AccessibilitySettingsModal.TYPE\n            })\n            .then(function(modal) {\n                return modal.show();\n            });\n        };\n\n        /**\n         * Set up all of the event handling for the modal.\n         */\n        AccessibilitySettings.prototype.registerEventListeners = function() {\n            $(SELECTORS.TOGGLE_REGION).click(function(e) {\n                this.openAccessibilitySettingsModal(e);\n                e.preventDefault();\n            }.bind(this));\n        };\n\n        return {\n            'init': function() {\n                return new AccessibilitySettings();\n            }\n        };\n    }\n);\n"],"names":["define","$","ModalFactory","AccessibilitySettingsModal","SELECTORS","AccessibilitySettings","this","registerEventListeners","prototype","openAccessibilitySettingsModal","create","type","TYPE","then","modal","show","click","e","preventDefault","bind","init"],"mappings":";;;;;;;AAsBAA,OAAO,oCAAA,CAAC,SAAU,qBAAsB,4CACpC,SAASC,EAAGC,aAAcC,4BAItB,IAAIC,wBACe,iCAMfC,sBAAwB,WACxBC,KAAKC,0BA0BT,OApBAF,sBAAsBG,UAAUC,+BAAiC,WAE7DP,aAAaQ,OAAO,CAChBC,KAAMR,2BAA2BS,OAEpCC,MAAK,SAASC,OACX,OAAOA,MAAMC,WAOrBV,sBAAsBG,UAAUD,uBAAyB,WACrDN,EAAEG,yBAAyBY,MAAM,SAASC,GACtCX,KAAKG,+BAA+BQ,GACpCA,EAAEC,kBACJC,KAAKb,QAGJ,CACHc,KAAQ,WACJ,OAAO,IAAIf"}