window.Backend=window.Backend||{},function(t){"use strict";$(function(){$(window).on("resize",function(){Backend.placeFooterToBottom()}).trigger("resize"),$(document).ajaxStart(function(){$("#loading").show()}),$(document).ajaxStop(function(){$("#loading").hide()}),tippy("[data-tippy-content]"),GeneralFunctions.enableLanguageSelection($("#select-language"))}),t.DB_SLUG_ADMIN="admin",t.DB_SLUG_PROVIDER="provider",t.DB_SLUG_SECRETARY="secretary",t.DB_SLUG_CUSTOMER="customer",t.PRIV_VIEW=1,t.PRIV_ADD=2,t.PRIV_EDIT=4,t.PRIV_DELETE=8,t.PRIV_APPOINTMENTS="appointments",t.PRIV_CUSTOMERS="customers",t.PRIV_SERVICES="services",t.PRIV_USERS="users",t.PRIV_SYSTEM_SETTINGS="system_settings",t.PRIV_USER_SETTINGS="user_settings",t.placeFooterToBottom=function(){var t=$("#footer");window.innerHeight>$("body").height()?t.css({position:"absolute",width:"100%",bottom:"0px"}):t.css({position:"static"})},t.displayNotification=function(t,o){t=t||"- No message provided for this notification -";var n=$("#notification");o||(o=[],setTimeout(function(){n.fadeOut()},5e3)),n.empty();var e=$("
",{class:"notification alert",html:[$("