UC_UI=void 0,function(){"use strict";var n=jQuery(document),i=n.find(".content.map > .google-map"),o=i.data("usercentricsId"),e=i.find(".loader-box"),t=i.find(".map-static"),d=function(){if("undefined"==typeof UC_UI)return e.hide(),void t.show();var n=UC_UI.getServicesBaseInfo(),i=Array.isArray(n)?n:Object.values(n||{}),o=i.find(c);o&&o.consent&&o.consent.status||(e.hide(),t.show())},c=function(n){return n.id===o},a=function(){if(!UC_UI||!UC_UI.isInitialized())return void window.addEventListener("UC_UI_INITIALIZED",d);d()};n.on("contentloaded",function(n){a();var i=t.find(".map-static__dialog"),o=t.find(".js-open-cookie-configuration"),e=t.find(".js-map-static-dialog-close");o.on("click",function(){UC_UI.showSecondLayer()}),e.on("click",function(){i.hide()})})}();