"use strict";window.App.Layouts.Backend=function(){var $selectLanguage=$("#select-language"),$notification=$("#notification"),$loading=$("#loading"),$footer=$("#footer");return document.addEventListener("DOMContentLoaded",function(){$(document).ajaxStart(function(){$loading.show()}),$(document).ajaxStop(function(){$loading.hide()}),tippy("[data-tippy-content]"),App.Utils.Lang.enableLanguageSelection($selectLanguage)}),{DB_SLUG_ADMIN:"admin",DB_SLUG_PROVIDER:"provider",DB_SLUG_SECRETARY:"secretary",DB_SLUG_CUSTOMER:"customer",PRIV_VIEW:1,PRIV_ADD:2,PRIV_EDIT:4,PRIV_DELETE:8,PRIV_APPOINTMENTS:"appointments",PRIV_CUSTOMERS:"customers",PRIV_SERVICES:"services",PRIV_USERS:"users",PRIV_SYSTEM_SETTINGS:"system_settings",PRIV_USER_SETTINGS:"user_settings",displayNotification:function(message){var actions=1\n
\n ".concat(message,"\n
\n \n \n ")).appendTo("body");actions.forEach(function(action){$("