function hideTermsAndConditionsPopup(){$(document.getElementById("termsAndConditionsContainer")).length>0&&($(document.getElementById("overlay")).removeClass("overlay_on"),$(document.getElementById("termsAndConditionsContainer")).removeClass("popup_on"))}function showTermsAndConditionsPopup(){$(document.getElementById("termsAndConditionsContainer")).length>0&&($(document.getElementById("overlay")).addClass("overlay_on"),$(document.getElementById("termsAndConditionsContainer")).addClass("popup_on"))}function termsAndConditionsAccept(){Cookies.set("termsAndConditionsAccepted","true",{expires:365});hideTermsAndConditionsPopup()}$(document).ready(function(){toastr.options={closeButton:!0,positionClass:"toast-bottom-center-custom",preventDuplicates:!0,allowHtml:!0};var n=Cookies.get("termsAndConditionsAccepted");n!=null&&n!==""?hideTermsAndConditionsPopup():showTermsAndConditionsPopup()});!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self,function(){var r=n.Cookies,i=n.Cookies=t();i.noConflict=function(){return n.Cookies=r,i}}())}(this,function(){"use strict";function n(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)n[r]=i[r]}return n}var t=function t(i,r){function u(t,u,f){var o,e;if("undefined"!=typeof document){"number"==typeof(f=n({},r,f)).expires&&(f.expires=new Date(Date.now()+864e5*f.expires));f.expires&&(f.expires=f.expires.toUTCString());t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);o="";for(e in f)f[e]&&(o+="; "+e,!0!==f[e]&&(o+="="+f[e].split(";")[0]));return document.cookie=t+"="+i.write(u,t)+o}}return Object.create({set:u,get:function(n){var f,o,t;if("undefined"!=typeof document&&(!arguments.length||n)){for(var e=document.cookie?document.cookie.split("; "):[],r={},u=0;u<e.length;u++){f=e[u].split("=");o=f.slice(1).join("=");try{if(t=decodeURIComponent(f[0]),r[t]=i.read(o,t),n===t)break}catch(n){}}return n?r[n]:r}},remove:function(t,i){u(t,"",n({},i,{expires:-1}))},withAttributes:function(i){return t(this.converter,n({},this.attributes,i))},withConverter:function(i){return t(n({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(i)}})}({read:function(n){return'"'===n[0]&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});return t});jQuery.cookie=function(n,t,i){var u,r,f,e;return arguments.length>1&&(t!==null||typeof t!="object")?(i=jQuery.extend({},i),t===null&&(i.expires=-1),typeof i.expires=="number"&&(u=i.expires,r=i.expires=new Date,r.setDate(r.getDate()+u)),document.cookie=[encodeURIComponent(n),"=",i.raw?String(t):encodeURIComponent(String(t)),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")):(i=t||{},e=i.raw?function(n){return n}:decodeURIComponent,(f=new RegExp("(?:^|; )"+encodeURIComponent(n)+"=([^;]*)").exec(document.cookie))?e(f[1]):null)}