src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDPwEmJYinyCJp4sxRgznLMGepUbIDQuS4&libraries=directions,places,visualization®ion=HU&language=hu&map_ids=5109661ec4f41565"
Happy POS - Web | Vendéglátós szoftver
window.getSupportChatEnabled = function () {
try {
return localStorage.getItem("supportChat") !== "hidden";
} catch (error) {
return true;
}
};
window.applySupportChatVisibility = function (isEnabled) {
var enabled = !!isEnabled;
var styleId = "smartsupp-visibility-style";
var styleElement = document.getElementById(styleId);
try {
localStorage.setItem("supportChat", enabled ? "show" : "hidden");
} catch (error) {}
if (!styleElement) {
styleElement = document.createElement("style");
styleElement.id = styleId;
document.head.appendChild(styleElement);
}
styleElement.textContent = enabled
? ""
: 'iframe[src*="smartsuppchat.com"], [id*="smartsupp"], [class*="smartsupp"] { display: none !important; visibility: hidden !important; }';
if (typeof window.smartsupp === "function") {
window.smartsupp(enabled ? "chat:show" : "chat:hide");
}
if (window.smartsupp && typeof window.smartsupp === "object") {
window.smartsupp.hideWidget = !enabled;
}
};