function jevPopover(selector,container){var uikitoptions={"title":"","pos":"top","delay":150,"delayHide":200,"offset":20,"animation":"uk-animation-fade","duration":100,"cls":"uk-active uk-card uk-card-default uk-padding-remove uk-background-default","clsPos":"uk-tooltip","mode":"hover","container":"#jevents_body"};var bsoptions={"animation":!1,"html":!0,"placement":"top","selector":!1,"title":"","trigger":"hover","content":"","delay":{"show":150,"hide":150},"container":"#jevents_body","mouseonly":!1};uikitoptions.container=container;bsoptions.container=container;if(bsoptions.mouseonly&&'ontouchstart' in document.documentElement){return} if(jQuery(selector).length){try{ys_setuppopover(selector,uikitoptions)}catch(e){if('uikit'!="uikit"||typeof UIkit=='undefined'){if(jQuery(selector).popover){var hoveritems=document.querySelectorAll(selector);hoveritems.forEach(function(hoveritem){var title=hoveritem.getAttribute('data-original-title')||hoveritem.getAttribute('title')||'';var body=hoveritem.getAttribute('data-original-content')||hoveritem.getAttribute('data-content')||'';if(body==''){}});jQuery(selector).popover(bsoptions)}else{if('uikit'!="uikit"){alert("problem with popovers! Failed to load Bootstrap popovers")}else{alert("problem with popovers! Failed to load UIkit popovers")}}}else{var hoveritems=document.querySelectorAll(selector);hoveritems.forEach(function(hoveritem){var title=hoveritem.getAttribute('data-yspoptitle')||hoveritem.getAttribute('data-original-title')||hoveritem.getAttribute('title');var body=hoveritem.getAttribute('data-yspopcontent')||hoveritem.getAttribute('data-content')||hoveritem.getAttribute('data-bs-content')||'';var options=hoveritem.getAttribute('data-yspopoptions')||uikitoptions;if(typeof options=='string'){options=JSON.parse(options)} var phtml=''+(title!=''?title.replace("jevtt_title","uk-card-title uk-text-emphasis uk-padding-small").replace(/color:#(.*);/,'color:#$1!important;'):'')+(body!=''?body.replace("jevtt_text","uk-card-body uk-padding-small uk-text-secondary uk-background-default"):'')+'';options.title=phtml;if(hoveritem.hasAttribute('title')){hoveritem.removeAttribute('title')} UIkit.tooltip(hoveritem,options)})}}}} document.addEventListener('DOMContentLoaded',function(){try{jevPopover('.hasjevtip','#jevents_body')}catch(e){}})