{"version":3,"file":"settings.min.js","sources":["https:\/\/sandbox-internal.myopenlms.net\/moodle4\/lib\/editor\/tiny\/plugins\/cursive\/amd\/src\/settings.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 * @module tiny_cursive\/settings\n * @category TinyMCE Editor\n * @copyright CTI \n * @author kuldeep singh \n *\/\n\ndefine([\"core\/str\"], function (str) {\n var usersTable = {\n init: function (showcomments, user_role) {\n str\n .get_strings([\n { key: \"tiny_cursive\", component: \"tiny_cursive\" },\n ])\n .done(function () {\n usersTable.getToken(showcomments, user_role);\n });\n },\n\n getToken: function (showcomments, user_role) {\n var body = document.createElement(\"div\");\n body.id = \"body\";\n body.className = \"body\";\n document.body.appendChild(body);\n\n body.className = user_role;\n\n if (showcomments == 1) {\n body.className = 'intervention ' + user_role;\n }\n },\n };\n\n return usersTable;\n});\n"],"names":["define","str","usersTable","init","showcomments","user_role","get_strings","key","component","done","getToken","body","document","createElement","id","className","appendChild"],"mappings":"AAsBAA,+BAAO,CAAC,aAAa,SAAUC,SACzBC,WAAa,CACfC,KAAM,SAAUC,aAAcC,WAC5BJ,IACGK,YAAY,CACX,CAAEC,IAAK,eAAgBC,UAAW,kBAEnCC,MAAK,WACJP,WAAWQ,SAASN,aAAcC,eAIxCK,SAAU,SAAUN,aAAcC,eAC5BM,KAAOC,SAASC,cAAc,OAClCF,KAAKG,GAAK,OACVH,KAAKI,UAAY,OACjBH,SAASD,KAAKK,YAAYL,MAE1BA,KAAKI,UAAYV,UAEG,GAAhBD,eACFO,KAAKI,UAAY,gBAAkBV,oBAKlCH"}