{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template theme_academi/footer Admin time setting template. Academi footer layout template. }} {{{output.standard_end_of_body_html}}} {{#js}} require(['theme_boost/loader']); require(['theme_boost/drawer'], function(mod) { mod.init(); }); (function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true; s.src='https://widget.intercom.io/widget/APP_ID'; var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})(); var APP_ID = 'xlf7h3pa'; var NOME = $("#inter_name").val(); var EMAIL = $("#inter_email").val(); var USER_ID = $("#inter_user_id").val(); if (!(EMAIL || USER_ID)) { window.Intercom('boot', { app_id: APP_ID, }); } else { window.Intercom('boot', { app_id: APP_ID, name: NOME, email: EMAIL, user_id: USER_ID, apples: 1, }); } {{/js}}