1jQuery(document).ready(function($){$('.elementor-nav-menu').on('click.smapi',function(e,item){if(e.namespace=='smapi'){var obj=$(this).data('smartmenus');if(!obj.isCollapsible()){var $sub=$(item).dataSM('sub'),firstLevelSub=$sub?$sub.dataSM('level')==2:false;if(firstLevelSub&&$sub.is(':visible')){return false;}}}});});class BaseSwitcher{constructor(rootEl){this.root=rootEl;this.list=rootEl?.querySelector('.trp-switcher-dropdown-list')||null;this.isOpen=false;this._pendingFocusOnOpen=false;if(!this.root||!this.list)return;if(!this.list.id){this.list.id=`trp-list-${Math.random().toString(36).slice(2, 9)}`;} 2this._onTe=(e)=>{if(e.target!==this.list||e.propertyName!=='max-height')return;this.root.classList.remove('is-transitioning');if(!this.isOpen){this.list.hidden=true;this.list.setAttribute('inert','');}else if(this._pendingFocusOnOpen){this._pendingFocusOnOpen=false;const first=this.list.querySelector('[role="option"], a, button, [tabindex]:not([tabindex="-1"])');first?.focus?.({preventScroll:true});}};this.list.addEventListener('transitionend',this._onTe);this.collapse();this.setAutoWidth();this.bindKeyboard();} 3_hasAnimatedTransition(){if(!this.list)return false;const cs=getComputedStyle(this.list);const durationsRaw=cs.transitionDuration||'';if(!durationsRaw)return false;const durations=durationsRaw.split(',').map(str=>parseFloat(str)||0);return durations.some(d=>d>0);} 4collapse(){this.list.hidden=true;this.list.setAttribute('inert','');this.setExpanded(false);this.root.classList.remove('is-transitioning');} 5setAutoWidth(){const bonusWidth=10;const cs=getComputedStyle(this.root);const declaredWidth=cs.getPropertyValue('--switcher-width').trim();if(declaredWidth==='auto'&&this.root.querySelector('.trp-language-item-name')){const initialWidth=this.root.getBoundingClientRect().width;this.root.style.setProperty('--switcher-width',(initialWidth+bonusWidth)+'px');}} 6setExpanded(open){const trigger=this.root.querySelector('.trp-language-item__current[role="button"]');const val=String(!!open);trigger?.setAttribute('aria-expanded',val);this.root.classList.toggle('is-open',!!open);} 7setOpen(open,{source=null}={}){if(!this.root||!this.list||open===this.isOpen)return;const prefersReduced=window.matchMedia?.('(prefers-reduced-motion: reduce)')?.matches;const hasTransition=!prefersReduced&&this._hasAnimatedTransition();this.isOpen=open;if(!hasTransition){if(open){this.list.hidden=false;this.list.removeAttribute('inert');this.setExpanded(true);this._pendingFocusOnOpen=(source?.type==='keydown');if(this._pendingFocusOnOpen){this._pendingFocusOnOpen=false;const first=this.list.querySelector('[role="option"], a, button, [tabindex]:not([tabindex="-1"])');first?.focus?.({preventScroll:true});}}else{this.setExpanded(false);this.list.hidden=true;this.list.setAttribute('inert','');this._pendingFocusOnOpen=false;} 8return;} 9if(open){this.list.hidden=false;this.list.removeAttribute('inert');this._pendingFocusOnOpen=(source?.type==='keydown');this.root.classList.add('is-transitioning');requestAnimationFrame(()=>this.setExpanded(true));}else{this.root.classList.add('is-transitioning');this.setExpanded(false);}} 10bindKeyboard(){const trigger=this.root.querySelector('.trp-language-item__current[role="button"]');if(!trigger)return;trigger.addEventListener('keydown',(e)=>{const inList=!!e.target.closest?.('.trp-switcher-dropdown-list');if(e.key==='Enter'||e.key===' '){e.preventDefault();this.setOpen(!this.isOpen,{source:e});return;} 11if(e.key==='ArrowDown'&&!this.isOpen){e.preventDefault();this.setOpen(true,{source:e});} 12if(e.key==='Escape'){this.setOpen(false,{source:e});trigger.focus?.();}});}} 13class ShortcodeSwitcher extends BaseSwitcher{constructor(wrapper){const overlay=wrapper.querySelector('.trp-language-switcher.trp-shortcode-overlay')||[...wrapper.querySelectorAll('.trp-language-switcher')].find(el=>el.classList.contains('trp-shortcode-overlay'));overlay.hidden=false;overlay.removeAttribute('hidden');overlay.removeAttribute('inert');if('inert'in overlay)overlay.inert=false;super(overlay);if(!this.root||!this.list)return;const control=this.root.querySelector('.trp-language-item__current[role="button"]');if(control&&this.list&&!control.hasAttribute('aria-controls')){control.setAttribute('aria-controls',this.list.id);} 14const isClickMode=this.root.classList.contains('trp-open-on-click')||wrapper.dataset.openMode==='click'||wrapper.classList.contains('trp-open-on-click');if(isClickMode){this.root.addEventListener('click',(e)=>{const inList=e.target.closest('.trp-switcher-dropdown-list');if(!inList){e.preventDefault();e.stopPropagation();this.setOpen(!this.isOpen,{source:e});}},true);this.onDocClick=(evt)=>{if(!wrapper.contains(evt.target))this.setOpen(false,{source:evt});};document.addEventListener('click',this.onDocClick,true);wrapper.addEventListener('focusout',()=>{setTimeout(()=>{if(!wrapper.contains(document.activeElement)){this.setOpen(false,{source:'keyboard'});}},0);});}else{this.root.addEventListener('mouseenter',(e)=>this.setOpen(true,{source:e}));this.root.addEventListener('mouseleave',(e)=>this.setOpen(false,{source:e}));}}} 15class FloaterSwitcher extends BaseSwitcher{constructor(el){super(el);el.addEventListener('mouseenter',(e)=>this.setOpen(true,{source:e}));el.addEventListener('mouseleave',(e)=>this.setOpen(false,{source:e}));this.onDocClick=(evt)=>{if(!el.contains(evt.target))this.setOpen(false,{source:evt});};document.addEventListener('click',this.onDocClick,true);}} 16document.addEventListener('DOMContentLoaded',()=>{initLanguageSwitchers(document);
16if(inGutenberg()&&!getEditorDoc().querySelector(WRAPPER)){observeWrapperUntilFound();} 17if(!inGutenberg()) 18observeShortcodeSwitcher();});const TRP_BOUND=new WeakSet();const mark=(el)=>TRP_BOUND.add(el);const isMarked=(el)=>TRP_BOUND.has(el);const WRAPPER='.trp-shortcode-switcher__wrapper';const OVERLAY='.trp-language-switcher:not(.trp-opposite-button):not(.trp-ald-language-selector)';function inGutenberg(){return document.body?.classList?.contains('block-editor-page')||!!(window.wp?.data?.select?.('core/block-editor'));} 19function getEditorDoc(){const ifr=document.querySelector('iframe[name="editor-canvas"], .editor-canvas__iframe');return(ifr&&ifr.contentDocument)?ifr.contentDocument:document;} 20function initLanguageSwitchers(root=document){const floater=root.querySelector('.trp-language-switcher.trp-ls-dropdown:not(.trp-shortcode-switcher):not(.trp-opposite-language)');if(floater) 21new FloaterSwitcher(floater);root.querySelectorAll(WRAPPER).forEach(wrapper=>{const overlay=wrapper.querySelector(OVERLAY);if(overlay&&!isMarked(overlay)){mark(overlay);new ShortcodeSwitcher(wrapper);}});} 22function observeShortcodeSwitcher(){const initWrapper=(wrapper)=>{if(!wrapper) 23return;const overlay=wrapper.querySelector(OVERLAY);if(!overlay||isMarked(overlay)) 24return;mark(overlay);new ShortcodeSwitcher(wrapper);} 25const mo=new MutationObserver((mutations)=>{for(const m of mutations){for(const n of m.addedNodes){if(n.nodeType!==1) 26continue;if(n.matches?.(WRAPPER)) 27initWrapper(n);n.querySelectorAll?.(WRAPPER).forEach(initWrapper);}}});mo.observe(document,{childList:true,subtree:true});} 28function observeWrapperUntilFound(){const edDoc=getEditorDoc();const existing=edDoc.querySelector(WRAPPER);if(existing){initLanguageSwitchers(edDoc);return;} 29const findCanvasIframe=()=>document.querySelector('iframe[name="editor-canvas"], .editor-canvas__iframe');const iframeNow=findCanvasIframe();if(iframeNow){watchIframe(iframeNow);return;} 30const outerMO=new MutationObserver((mutations)=>{for(const m of mutations){for(const n of m.addedNodes){if(n.nodeType!==1)continue;const iframe=n.matches?.('iframe[name="editor-canvas"], .editor-canvas__iframe')?n:n.querySelector?.('iframe[name="editor-canvas"], .editor-canvas__iframe');if(iframe){outerMO.disconnect();watchIframe(iframe);return;} 31const wrapper=n.matches?.(WRAPPER)?n:n.querySelector?.(WRAPPER);if(wrapper){outerMO.disconnect();initLanguageSwitchers(document);return;}}}});outerMO.observe(document,{childList:true,subtree:true});function watchIframe(iframe){tryAttachInside();iframe.addEventListener('load',tryAttachInside);function tryAttachInside(){let doc;try{doc=iframe.contentDocument||iframe.contentWindow?.document;}catch(e){console.warn('Cannot access iframe content due to cross-origin restrictions',e);return;} 32if(!doc)return;const hit=doc.querySelector(WRAPPER);if(hit){initLanguageSwitchers(doc);return;} 33const innerMO=new MutationObserver((muts)=>{for(const mm of muts){for(const nn of mm.addedNodes){if(nn.nodeType!==1)continue;if(nn.matches?.(WRAPPER)||nn.querySelector?.(WRAPPER)){innerMO.disconnect();initLanguageSwitchers(doc);return;}}} 34if(doc.querySelector(WRAPPER)){innerMO.disconnect();initLanguageSwitchers(doc);}});innerMO.observe(doc,{childList:true,subtree:true});}}};var captchaRes='';var sibErrMsg;var gCaptchaSibWidget;var ajax_sib_front_object;var sibVerifyCallback=function(response){captchaRes=response;var formIdInvisible=sessionStorage.getItem("formIdRecapcha");if(captchaRes){var validationErr=0;jQuery.each(jQuery(formIdInvisible).find('input[required=required]'),function(){if(jQuery(this).val().trim()==''||(jQuery(this).attr('type')=="checkbox"&&jQuery(this).prop("checked")==false)){validationErr++;var form=jQuery(this).closest('form');var requiredField=jQuery(this).closest('form').find('input[name="sib_form_alert_notice"]').val();if(requiredField!==undefined){sibErrMsg.requiredField=requiredField;} 35form.find('.sib_msg_disp').html('<p class="sib-alert-message sib-alert-message-warning ">'+sibErrMsg.requiredField+'</p>').show();return;}});} 36if(validationErr==0){jQuery(formIdInvisible).trigger('submit');}};jQuery(document).ready(function(){jQuery('.sib_signup_form').find('input[required=required]').on("invalid",function(){if(jQuery(this).val().trim()=='') 37{var alert_msg=jQuery(this).closest('form').find('input[name="sib_form_alert_notice"]').val();this.setCustomValidity(alert_msg);} 38else{this.setCustomValidity('');}});jQuery(document).on('submit','form',function(e){var invalidEmail=jQuery(this).closest('form').find('input[name="sib_form_invalid_email_notice"]').val();var requiredField=jQuery(this).closest('form').find('input[name="sib_form_alert_notice"]').val();
38if(invalidEmail!==undefined){sibErrMsg.invalidMail=invalidEmail;} 39if(requiredField!==undefined){sibErrMsg.requiredField=requiredField;} 40if(!jQuery(this).hasClass('sib_signup_form')){var email=jQuery(this).find('input[type=email]').val();var emailPattern=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(typeof sendinblue!='undefined'&&email!=null&&emailPattern.test(email)){var postData=jQuery('input[type!=password]',this).serializeObject();sendinblue.identify(email,postData);}} 41else 42{e.preventDefault();var form=jQuery(this).closest('form');jQuery.each(form.find('.sib-sms'),function(){var sms=jQuery(this).val();var sms_prefix=jQuery(this).closest('.sib-sms-field').find('input[name="sib_SMS_prefix"]').val();if(sms==sms_prefix&&!jQuery(this).prop('required')){jQuery(this).val('');}});var required_fileds=[];var err_index=0;var multi_lists=form.find(jQuery('.sib-multi-lists'));if(multi_lists!=undefined&&multi_lists.data('require')=='required') 43{if(multi_lists.find('input:checked').length==0) 44{err_index++;multi_lists.addClass('sib_error');}} 45if(err_index>0) 46{form.find('.sib_msg_disp').html('<p class="sib-alert-message sib-alert-message-warning ">'+sibErrMsg.requiredField+'</p>').show();return;} 47err_index=0;jQuery.each(form.find('input[type="email"]'),function(){var Email=/^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/i;if(!Email.test(jQuery(this).val())) 48{err_index++;}});if(err_index>0) 49{form.find('.sib_msg_disp').html('<p class="sib-alert-message sib-alert-message-warning ">'+sibErrMsg.invalidMail+'</p>').show();return;} 50err_index=0;jQuery.each(form.find('.sib-sms'),function(){var sms=jQuery(this).val();if(is_valid_sms(sms)==false&&sms!=''){err_index++;}});if(err_index>0) 51{form.find('.sib_msg_disp').html('<p class="sib-alert-message sib-alert-message-warning ">'+sibErrMsg.invalidSMSFormat+'</p>').show();return;} 52jQuery(".sib-default-btn").attr("disabled",true);form.find('.sib_loader').show();jQuery('.sib_msg_disp').hide();var postData=form.serializeArray();if(captchaRes!='') 53{postData.push({"name":"g-recaptcha-response","value":captchaRes});} 54captchaRes='';if(jQuery('.sib-multi-lists').length) 55{var interesting_lists=[];jQuery('.sib-interesting-lists').each(function(){postData.push({"name":"interestingLists[]","value":jQuery(this).val()})});} 56var formURL=form.attr("action");form.addClass('sib_processing');postData.push({"name":"security","value":ajax_sib_front_object.ajax_nonce});jQuery.ajax({url:formURL,type:"POST",dataType:"json",data:postData,success:function(data,textStatus,jqXHR){jQuery(".sib-default-btn").attr("disabled",false);jQuery('.sib_loader').hide();if(jQuery('.sib-multi-lists').length) 57{jQuery('.sib-multi-lists').removeClass('sib_error');} 58if(data.status==='success'||data.status==='update'){var cdata='<p class="sib-alert-message sib-alert-message-success ">'+data.msg.successMsg+'</p>';form.find('.sib_msg_disp').html(cdata).show();}else if(data.status==='failure'){var cdata='<p class="sib-alert-message sib-alert-message-error ">'+data.msg.errorMsg+'</p>';form.find('.sib_msg_disp').html(cdata).show();}else if(data.status==='already_exist'){var cdata='<p class="sib-alert-message sib-alert-message-warning ">'+data.msg.existMsg+'</p>';form.find('.sib_msg_disp').html(cdata).show();}else if(data.status==='invalid'){var cdata='<p class="sib-alert-message sib-alert-message-error ">'+data.msg.invalidMsg+'</p>';form.find('.sib_msg_disp').html(cdata).show();}else if(data.status==='gcaptchaEmpty'){var cdata='<p class="sib-alert-message sib-alert-message-error ">'+data.msg+'</p>';form.find('.sib_msg_disp').html(cdata).show();}else if(data.status==='gcaptchaFail'){var cdata='<p class="sib-alert-message sib-alert-message-error ">'+data.msg+'</p>';form.find('.sib_msg_disp').html(cdata).show();} 59form[0].reset();if(data.redirect&&(data.status==='success'||data.status==='update')){window.location.href=data.redirect;} 60if(typeof data.turnstileCaptcha!=='undefined'&&data.turnstileCaptcha){jQuery.each(form.find('.cf-turnstile'),function(){var siteKey=jQuery(this).data("sitekey");var cfResponse=jQuery('input[name="cf-turnstile-response"]').val();if(cfResponse){var idToBeRendered="#cf-turnstile-"+siteKey;turnstile.render(idToBeRendered,{sitekey:siteKey,callback:function(token){console.log("Challenge Success");},});}});} 61var previous_code=form.find('.sib-cflags').data('dial-code');if(previous_code) 62{form.find('.sib-sms').val('+'+previous_code);form.find('input[name="sib_SMS_prefix"]').val('+'+previous_code);} 63if(typeof sendinblue!='undefined'){var email=form.find('input[name=email]').val();var postData=form.serializeObject();if(data.status==='success'||data.status==='update'||data.status==='already_exist'){sendinblue.identify(email,postData);}} 64jQuery(".sib-alert-message").delay(5000).hide('slow');form.removeClass('sib_processing');if(typeof grecaptcha!='undefined') 65{grecaptcha.reset(gCaptchaSibWidget);}},error:function(jqXHR,textStatus,errorThrown){form.find('.sib_msg_disp').html(jqXHR).show();
65jQuery(".sib-default-btn").attr("disabled",false);if(typeof grecaptcha!='undefined') 66{grecaptcha.reset(gCaptchaSibWidget);}}});}});jQuery('.sib-country-block').on('click',function(){jQuery('.sib-country-list').toggle();});if(jQuery('.sib-country-list').length>0) 67{jQuery('.sib-country-list').ready(function(){var data={action:'sib_get_country_prefix',security:ajax_sib_front_object.ajax_nonce,};jQuery.post(ajax_sib_front_object.ajax_url,data,function(respond){jQuery('.sib-country-list').html(respond);});});} 68jQuery('body').on('click',function(e){if(jQuery('.sib-sms-field .sib-country-list').length>0&&!jQuery('.sib-sms-field .sib-country-list').is(e.target)&&jQuery('.sib-sms-field .sib-country-list').has(e.target).length===0&&jQuery('.sib-sms-field .sib-country-block').has(e.target).length===0){jQuery('.sib-sms-field .sib-country-list').hide();}});jQuery('.sib-country-list').on('click','li',function(){var country_code=jQuery(this).data('country-code').toLowerCase();var dial_code=jQuery(this).data('dial-code');jQuery(this).closest('.sib-sms-field').find('.sib-sms').val('+'+dial_code);jQuery(this).closest('.sib-sms-field').find('input[name="sib_SMS_prefix"]').val('+'+dial_code);jQuery(this).closest('.sib-sms-field').find('.sib-cflags').css('background-image','url('+ajax_sib_front_object.flag_url+country_code+'.png)');jQuery(this).closest('.sib-sms-field').find('.sib-cflags').data('dial-code',dial_code);jQuery(this).closest('.sib-country-list').hide();});jQuery(".sib-sms").on('keypress',function(event){validateInteger(event,'sms');});jQuery(".sib-date").on('keypress',function(event){validateInteger(event,'date');});function is_valid_sms(sms){sms=sms.replace(/\b(0(?!\b))+/g,"");var tempSms=sms.replace(/( |\(|\)|\.|\-)/g,'');if(tempSms.length>19||tempSms.length<6||tempSms.charAt(0)!='+'){return false;} 69return true;} 70function validateInteger(evt,type){var theEvent=evt||window.event;var key=theEvent.charCode||theEvent.which;key=String.fromCharCode(key);var regex=/[ +0-9()-]/;var smsLength=0;if(type=='date'){regex=/[ 0-9-/]/;} 71if(!regex.test(key)){theEvent.returnValue=false;key=theEvent.keyCode;if(theEvent.preventDefault&&key!=9&&key!=8)theEvent.preventDefault();}}});jQuery.fn.serializeObject=function() 72{var o={};var a=this.serializeArray();jQuery.each(a,function(){if(this.name=='sib_form_action'||this.name=='sib_form_id'||this.name=='email') 73return true;if(o[this.name]!==undefined){if(!o[this.name].push){o[this.name]=[o[this.name]];} 74o[this.name].push(this.value||'');}else{o[this.name]=this.value||'';}});return o;};jQuery(document).ready(function(){jQuery(".sib-default-btn").on("click",function(){var row=jQuery(this).closest(".sib_signup_form");sessionStorage.setItem("formIdRecapcha","#"+jQuery(row).attr('id'));})}) 75function errorCallbackForTurnstileErrors(){};(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>m,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>d,maxdate:()=>z,maxfilesize:()=>j,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>y,mindate:()=>A,minfilesize:()=>$,minitems:()=>w,minlength:()=>g,minnumber:()=>b,number:()=>c,required:()=>n,requiredfile:()=>a,stepnumber:()=>I,tel:()=>l,time:()=>f,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(t.length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));if(!e.every((t=>{try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}}
75)))throw new o(this)},l=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>(((t=(t=t.replace(/[#*].*$/,"")).replaceAll(/[()/.*#\s-]+/g,"")).startsWith("+")||t.startsWith("00"))&&(t=`+${t.replace(/^[+0]+/,"")}`),!!/^[+]?[0-9]+$/.test(t)&&5<t.length&&t.length<16))))throw new o(this)},c=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t))))throw new o(this)},m=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},f=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=t.match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>this.accept?.some((e=>
75t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).length<parseInt(this.threshold))throw new o(this)},v=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));if(parseInt(this.threshold)<e.length)throw new o(this)},g=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&i<parseInt(this.threshold))throw new o(this)},x=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)<i)throw new o(this)},b=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(t)<parseFloat(this.threshold)))))throw new o(this)},y=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(this.threshold)<parseFloat(t)))))throw new o(this)},A=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold))))throw new o(this)},z=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t))))throw new o(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),i<parseInt(this.threshold))throw new o(this)},j=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)<i)throw new o(this)},I=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)),i=parseFloat(this.base),s=parseFloat(this.interval);if(!(0<s))return!0;if(!e.every((t=>{const e=(parseFloat(t)-i)%s;return"0.000000"===Math.abs(e).toFixed(6)||"0.000000"===Math.abs(e-s).toFixed(6)})))throw new o(this)},O=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},E=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},k=[],F=t=>[...k].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var L;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>O({ruleObj:t,options:i})));if(!n.length)return new Map;const a=F(E),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{k.push(t)},...null!==(L=window.swv)&&void 0!==L?L:{}}})();(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,
75status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return c.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:c,path:o,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),o=r?n+"/"+r:n),"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),c=t+o),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||o||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},c=[];function o(e,t={}){const{target:a,scope:r=e,...c}=t;if(void 0===e.wpcf7?.schema)return;const o={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>
75(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(o,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const c=t.dataset.name;if(n.has(c)){const{error:t,validInputs:a}=n.get(c);i(e,c),void 0!==t&&s(e,c,t,{scope:r}),l(e,c,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{c.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...c}=null!=n?n:{},o=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",o),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",o),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const c=new FormData(e);t.submitter&&t.submitter.name&&c.append(t.submitter.name,t.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:c};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((t=>{const r=n(e,t.status);return o.status=t.status,o.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,o):["sent","failed"].includes(r)&&a(e,`mail${r}`,o),a(e,"submit",o),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>
75{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),c.apiResponse=t,a(e,"reset",c)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),c=t(e.getAttribute("data-minimum-value")),o=e.classList.contains("down")?n-a.value.trim().length:a.value.trim().length;e.setAttribute("data-current-value",o),e.innerText=o,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),c&&a.value.length<c?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),c=e.querySelector(`[name="${r}"]`);c&&(c.value=c.defaultValue,a(n,c),t.init&&c.addEventListener("keyup",(e=>{a(n,c)}
75)))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:o,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7[data-wpcf7-id]").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})(); 76/*! pojo-accessibility - v2.1.0 - 18-12-2022 */ 77!function(){var t=-1<navigator.userAgent.toLowerCase().indexOf("webkit"),e=-1<navigator.userAgent.toLowerCase().indexOf("opera"),o=-1<navigator.userAgent.toLowerCase().indexOf("msie");(t||e||o)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1)}(),function(n,t,o,e){"use strict";var i={cache:{$document:n(o),$window:n(t)},cacheElements:function(){this.cache.$toolbar=n("#pojo-a11y-toolbar"),this.cache.$toolbarLinks=this.cache.$toolbar.find("a.pojo-a11y-toolbar-link"),this.cache.$toolbarToolsLinks=this.cache.$toolbar.find(".pojo-a11y-tools a.pojo-a11y-toolbar-link"),this.cache.$btnToolbarToggle=this.cache.$toolbar.find("div.pojo-a11y-toolbar-toggle > a"),this.cache.$skipToContent=n("#pojo-a11y-skip-content"),this.cache.$body=n("body")},settings:{minFontSize:120,maxFontSize:200,buttonsClassPrefix:"pojo-a11y-btn-",bodyClassPrefix:"pojo-a11y-",bodyFontClassPrefix:"pojo-a11y-resize-font-",storageKey:"pojo-a11y",expires:PojoA11yOptions.save_expiration?36e5*PojoA11yOptions.save_expiration:432e5},variables:{currentFontSize:120,currentSchema:null},activeActions:{},buildElements:function(){this.cache.$body.prepend(this.cache.$toolbar),this.cache.$body.prepend(this.cache.$skipToContent)},bindEvents:function(){var e=this;e.cache.$btnToolbarToggle.on("click",function(t){t.preventDefault(),e.cache.$toolbar.toggleClass("pojo-a11y-toolbar-open"),e.cache.$toolbar.hasClass("pojo-a11y-toolbar-open")?e.cache.$toolbarLinks.attr("tabindex","0"):e.cache.$toolbarLinks.attr("tabindex","-1")}),n(o).on("keyup",function(t){9===t.which&&e.cache.$btnToolbarToggle.is(":focus")&&(e.cac
77he.$toolbar.addClass("pojo-a11y-toolbar-open"),e.cache.$toolbarLinks.attr("tabindex","0"))}),e.bindToolbarButtons()},bindToolbarButtons:function(){var s=this;s.cache.$toolbarToolsLinks.on("click",function(t){t.preventDefault();var e=n(this),o=e.data("action"),i=e.data("action-group"),a=!1;"reset"!==o?(-1!==["toggle","schema"].indexOf(i)&&(a=e.hasClass("active")),s.activateButton(o,a)):s.reset()})},activateButton:function(t,e){var o=this.getButtonByAction(t).data("action-group");this.activeActions[t]=!e,this.actions[o].call(this,t,e),this.saveToLocalStorage()},getActiveButtons:function(){return this.cache.$toolbarToolsLinks.filter(".active")},getButtonByAction:function(t){return this.cache.$toolbarToolsLinks.filter("."+this.settings.buttonsClassPrefix+t)},actions:{toggle:function(t,e){var o=this.getButtonByAction(t),i=e?"removeClass":"addClass";e?o.removeClass("active"):o.addClass("active"),this.cache.$body[i](this.settings.bodyClassPrefix+t)},resize:function(t,e){var o=this.variables.currentFontSize;"resize-plus"===t&&this.settings.maxFontSize>o&&(this.variables.currentFontSize+=10),"resize-minus"===t&&this.settings.minFontSize<o&&(this.variables.currentFontSize-=10),e&&(this.variables.currentFontSize=this.settings.minFontSize),this.cache.$body.removeClass(this.settings.bodyFontClassPrefix+o);var i=120<this.variables.currentFontSize,a=i?"addClass":"removeClass";this.getButtonByAction("resize-plus")[a]("active"),i&&this.cache.$body.addClass(this.settings.bodyFontClassPrefix+this.variables.currentFontSize),this.activeActions["resize-minus"]=!1,this.activeActions["resize-plus"]=i,this.cache.$window.trigger("resize")},schema:function(t,e){var o=this.variables.currentSchema;o&&(this.cache.$body.removeClass(this.settings.bodyClassPrefix+o),this.getButtonByAction(o).removeClass("active"),this.activeActions[o]=!1,this.saveToLocalStorage()),e?this.variables.currentSchema=null:(o=this.variables.currentSchema=t,this.cache.$body.addClass(this.settings.bodyClassPrefix+o),this.getButtonByAction(o).addClass("active"))}},reset:function(){for(var t in this.activeActions)this.activeActions.hasOwnProperty(t)&&this.activeActions[t]&&this.activateButton(t,!0);localStorage.removeItem(this.settings.storageKey)},saveToLocalStorage:function(){if("1"===PojoA11yOptions.enable_save){this.variables.expires||(this.variables.expires=(new Date).getTime()+this.settings.expires);var t={actions:this.activeActions,variables:{currentFontSize:this.variables.currentFontSize,expires:this.variables.expires}};localStorage.setItem(this.settings.storageKey,JSON.stringify(t))}},setFromLocalStorage:function(){if("1"===PojoA11yOptions.enable_save){var t=JSON.parse(localStorage.getItem(this.settings.storageKey));if(t){var e=new Date;if(t.variables.expires<e)localStorage.removeItem(this.settings.storageKey);else{var o=t.actions;for(var i in 120<t.variables.currentFontSize&&(t.variables.currentFontSize-=10),n.extend(this.variables,t.variables),o)o.hasOwnProperty(i)&&o[i]&&this.activateButton(i,!1)}}}},handleGlobalOptions:function(){"1"===PojoA11yOptions.focusable&&this.cache.$body.addClass("pojo-a11y-focusable"),"1"===PojoA11yOptions.remove_link_target&&n('a[target="_blank"]').attr("target",""),"1"===PojoA11yOptions.add_role_links&&n("a").attr("role","link")},init:function(){this.cacheElements(),this.buildElements(),this.bindEvents(),this.handleGlobalOptions()}};n(o).ready(function(t){i.init(),i.setFromLocalStorage()})}(jQuery,window,document); 78/*! jQuery UI - v1.13.3 - 2024-04-26 79* https://jqueryui.com 80* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js 81* Copyright jQuery Foundation and other contributors; Licensed MIT */ 82!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3", 83/*! 84 * jQuery UI :data 1.13.3 85 * https://jqueryui.com 86 * 87 * Copyright OpenJS Foundation and other contributors 88 * Released under the MIT license. 89 * https://jquery.org/license 90 */ 91x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}
vendor: 4,702 bytes, lines 91-157
91):function(t,e,i){return!!x.data(t,i[3])}}), 92/*! 93 * jQuery UI Disable Selection 1.13.3 94 * https://jqueryui.com 95 * 96 * Copyright OpenJS Foundation and other contributors 97 * Released under the MIT license. 98 * https://jquery.org/license 99 */ 100x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}), 101/*! 102 * jQuery UI Focusable 1.13.3 103 * https://jqueryui.com 104 * 105 * Copyright OpenJS Foundation and other contributors 106 * Released under the MIT license. 107 * https://jquery.org/license 108 */ 109x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)}, 110/*! 111 * jQuery UI Form Reset Mixin 1.13.3 112 * https://jqueryui.com 113 * 114 * Copyright OpenJS Foundation and other contributors 115 * Released under the MIT license. 116 * https://jquery.org/license 117 */ 118x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()), 119/*! 120 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3 121 * https://jqueryui.com 122 * 123 * Copyright OpenJS Foundation and other contributors 124 * Released under the MIT license. 125 * https://jquery.org/license 126 * 127 */ 128x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}), 129/*! 130 * jQuery UI Keycode 1.13.3 131 * https://jqueryui.com 132 * 133 * Copyright OpenJS Foundation and other contributors 134 * Released under the MIT license. 135 * https://jquery.org/license 136 */ 137x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}, 138/*! 139 * jQuery UI Labels 1.13.3 140 * https://jqueryui.com 141 * 142 * Copyright OpenJS Foundation and other contributors 143 * Released under the MIT license. 144 * https://jquery.org/license 145 */ 146x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}}, 147/*! 148 * jQuery UI Position 1.13.3 149 * https://jqueryui.com 150 * 151 * Copyright OpenJS Foundation and other contributors 152 * Released under the MIT license. 153 * https://jquery.org/license 154 * 155 * https://api.jqueryui.com/position/ 156 */ 157W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;
157width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;e.collisionWidth>n?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"
vendor: 8,472 bytes, lines 157-193
157===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")}, 158/*! 159 * jQuery UI Scroll Parent 1.13.3 160 * https://jqueryui.com 161 * 162 * Copyright OpenJS Foundation and other contributors 163 * Released under the MIT license. 164 * https://jquery.org/license 165 */ 166x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)}, 167/*! 168 * jQuery UI Tabbable 1.13.3 169 * https://jqueryui.com 170 * 171 * Copyright OpenJS Foundation and other contributors 172 * Released under the MIT license. 173 * https://jquery.org/license 174 */ 175x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}), 176/*! 177 * jQuery UI Unique ID 1.13.3 178 * https://jqueryui.com 179 * 180 * Copyright OpenJS Foundation and other contributors 181 * Released under the MIT license. 182 * https://jquery.org/license 183 */ 184x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}}); 185/*! 186 * jQuery UI Widget 1.13.3 187 * https://jqueryui.com 188 * 189 * Copyright OpenJS Foundation and other contributors 190 * Released under the MIT license. 191 * https://jquery.org/license 192 */ 193var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)}
193,_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});!function(e,t){"use strict";window.ElementsKit_Helper=window.ElementsKit_Helper||{},ElementsKit_Helper.setURLHash=function(t,n,i){if(void 0===t||!("ekit_hash_change"in t))return;void 0===i&&(i="ekit-handler-id");let a="#"+e(n).data(i);window.location.hash=a},ElementsKit_Helper.ajaxLoading=function(n,i){if(n.hasClass("ekit-template-ajax--yes")){var a=i.find("[data-ajax-post-id]");a.hasClass("is--loaded")||e.ajax({type:"POST",url:ekit_config.ajaxurl,data:{action:"ekit_widgetarea_content",nonce:ekit_config.nonce,post_id:a.data("ajax-post-id")},success:function(n){a.addClass("is--loaded").html(n),a.find("[data-widget_type]").each(function(){var n=e(this);t.hooks.doAction("frontend/element_ready/"+n.data("widget_type"),n)})}})}},ElementsKit_Helper.triggerClickOnEvent=function(t,n){"click"!==t&&n.on(t,function(){e(this).trigger("click")})},ElementsKit_Helper.megaMenuAjaxLoad=function(t){let n=t.find(".elementskit-submenu-indicator, .ekit-submenu-indicator-icon"),i=t.find(".megamenu-ajax-load"),a=t.closest(".ekit-wid-con").data("responsive-breakpoint"),r=n.prop("outerHTML");i.length&&!t.hasClass("ekit-ajax-loading")&&e.ajax({url:window.elementskit.resturl+"megamenu/megamenu_content",type:"get",data:{id:i.data("id")},beforeSend:function(){t.addClass("ekit-ajax-loading"),n.replaceWith('<span class="elementskit-submenu-indicator ekit-spinner"></span>'),e(document).width()<=Number(a)?n.css({border:"none"}):n.css({"padding-right":0,"margin-right":"5px"})},success:function(n){n&&(i.replaceWith(n),t.find(".elementor-element").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(e(this))}))},complete:function(){t.removeClass("ekit-ajax-loading");var e=t.find(".elementskit-submenu-indicator.ekit-spinner");r?e.replaceWith(r):e.remove()}})},ElementsKit_Helper.swiper=function(t,n){var i=t.get(0);n=n||{};var a=window.ekit_config&&window.ekit_config.i18n||{};if(n.a11y=e.extend({prevSlideMessage:a.slider_prev||"Previous slide",nextSlideMessage:a.slider_next||"Next slide",firstSlideMessage:a.slider_first||"This is the first slide",lastSlideMessage:a.slider_last||"This is the last slide",paginationBulletMessage:a.slider_bullet||"Go to slide {{index}}"},n.a11y||{}),"function"!=typeof Swiper){return new(0,elementorFrontend.utils.swiper)(i,n).then(e=>e)}const r=new Swiper(i,n);return Promise.resolve(r)},ElementsKit_Helper.observeElement=function(e,t,n={threshold:1}){new IntersectionObserver((e,n)=>
193{e.forEach(e=>{e.isIntersecting&&(t(e.target),n.unobserve(e.target))})},n).observe(e)},ElementsKit_Helper.isValidURL=function(e){try{if(e.startsWith("#"))return!0;let t=new URL(e,window.location.origin);return["http:","https:","mailto:","tel:","ftp:"].includes(t.protocol)}catch(t){return!1}},ElementsKit_Helper.escapeHtml=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},ElementsKit_Helper.registerWidget=function(n,i){e(window).on("elementor/frontend/init",function(){t.hooks.addAction("frontend/element_ready/"+n,i)})},ElementsKit_Helper.rememberTab=function(){if(!window.location.hash||"function"!=typeof e.fn.tab)return;const t=window.location.hash.split("?")[0].substring(1);if(!t)return;const n=e("[data-ekit-handler-id]").filter(function(){return e(this).attr("data-ekit-handler-id")===t});n.length&&n.tab("show")},e(window).on("load",ElementsKit_Helper.rememberTab).on("hashchange",ElementsKit_Helper.rememberTab)}(jQuery,window.elementorFrontend);!function(e){"use strict";function n(n){var t=n.find(".elementskit-navbar-nav").first();if(t.length){var i="ekit-dropdown-open-onclick",o=t.closest(".ekit-wid-con"),r=t.closest(".elementskit-menu-container").hasClass("ekit-nav-dropdown-hover"),s=Number(o.data("responsive-breakpoint"))||1024,a=window.matchMedia("(min-width: "+(s+1)+"px)"),l=!1,d=t.find(".elementskit-dropdown").filter(function(){return!e(this).parentsUntil(t,".elementskit-megamenu-has").length}),c=t.add(d),u=f(c).filter(function(){return w(e(this))});
193t.on("keydown","a",function(n){var i=e(this);if(l&&p(i)&&!n.altKey&&!n.ctrlKey&&!n.metaKey){var o=h(i),r=w(i),s=o?null:m(i).parent().children("a").first(),a=!0;switch(n.key){case"Enter":case" ":r?E(i,"first"):" "===n.key?this.click():a=!1;break;case"ArrowDown":o?r?E(i,"first"):a=!1:L(i,1).trigger("focus");break;case"ArrowUp":o?r?E(i,"last"):a=!1:L(i,-1).trigger("focus");break;case"ArrowRight":o?K(L(i,1)):r?E(i,"first"):K(L(function(e){return e.parentsUntil(t,"li").last().children("a").first()}(i),1),!0);break;case"ArrowLeft":o?K(L(i,-1)):h(s)?K(L(s,-1),!0):(y(s),s.trigger("focus"));break;case"Home":f(m(i)).first().trigger("focus");break;case"End":f(m(i)).last().trigger("focus");break;case"Escape":o?r&&v(i)?y(i):a=!1:(y(s),s.trigger("focus"));break;default:var d=1===n.key.length?function(e,n){for(var t=f(m(e)),i=t.index(e),o=1;o<=t.length;o++){var r=t.eq((i+o)%t.length);if(b(r).charAt(0).toLowerCase()===n)return r}return null}(i,n.key.toLowerCase()):null;d?d.trigger("focus"):a=!1}a&&(n.preventDefault(),n.stopPropagation())}}),t.on("keydown",".elementskit-megamenu-panel",function(n){var t=e(this).parent().children("a").first();l&&"Escape"===n.key&&p(t)&&(y(t),t.trigger("focus"),n.preventDefault(),n.stopPropagation())}),t.on("focusin","a",function(){var n=e(this);l&&p(n)&&h(n)&&(f(t).attr("tabindex","-1"),n.attr("tabindex","0"))}),t.on("focusout",function(n){l&&n.relatedTarget&&!e.contains(t[0],n.relatedTarget)&&_()}),e(document).on("click",function(n){l&&!e.contains(t[0],n.target)&&_()}),t.children("li").on("mouseenter",function(){l&&r&&e(this).siblings("li").children("a").each(function(){y(e(this))})}),u.parent().on("mouseenter mouseleave",function(){var n=e(this).children("a").first();setTimeout(function(){C(n)},0)}),n.on("click",".elementskit-dropdown-has > a",function(){setTimeout(x,0)}),n.on("keydown",function(e){if(!l&&"Escape"===e.key){var t=n.find(".ekit-dropdown-open-onclick, .elementskit-dropdown-open");t.length&&(t.removeClass("ekit-dropdown-open-onclick elementskit-dropdown-open"),t.closest(".elementskit-dropdown-has").children("a").first().trigger("focus"),x())}}),a.addEventListener?a.addEventListener("change",H):a.addListener(H),H()}function f(e){return e.children("li").children("a")}function m(e){return e.parent().parent()}function p(e){return c.is(m(e))}function h(e){return m(e).is(t)}function k(e){return e.parent().hasClass("elementskit-megamenu-has")}function g(e){return k(e)?e.parent().children(".elementskit-megamenu-panel"):e.parent().children(".elementskit-dropdown")}function w(e){return g(e).length>0}function v(e){return g(e).hasClass(i)}function b(e){var n=e.clone();return n.find(".ekit-menu-badge").remove(),n.text().trim()}function C(e){var n=g(e),t=n.hasClass(i)||n.hasClass("elementskit-dropdown-open")||l&&r&&e.parent().is(":hover");e.attr("aria-expanded",t?"true":"false")}function x(){u.each(function(){C(e(this))})}function y(e){g(e).removeClass(i).find("."+i).removeClass(i),x()}function _(){f(t).each(function(){y(e(this))})}function A(n){n.parent().siblings("li").children("a").each(function(){y(e(this))}),g(n).addClass(i),k(n)&&ElementsKit_Helper.megaMenuAjaxLoad(n.parent()),x()}function E(e,n){A(e);var t=g(e),i=k(e)?t.find('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').filter(":visible"):f(t);i.length&&("last"===n?i.last():i.first()).trigger("focus")}function L(e,n){var t=f(m(e)),i=(t.index(e)+n+t.length)%t.length;return t.eq(i)}function K(n,i){var o=i||f(t).is(function(){return v(e(this))});_(),o&&w(n)&&A(n),n.trigger("focus")}function H(){a.matches?(l=!0,t.attr({role:"menubar","aria-label":o.attr("aria-label")||null}),d.each(function(){e(this).attr({role:"menu","aria-label":b(e(this).parent().children("a").first())})}),c.children("li").attr("role","none"),f(c).attr({role:"menuitem",tabindex:"-1"}),f(t).first().attr("tabindex","0")):(_(),l=!1,c.removeAttr("role aria-label"),c.children("li").removeAttr("role"),f(c).removeAttr("role tabindex")),x()}}ElementsKit_Helper.registerWidget("ekit-nav-menu.default",function(t){if(t.find(".elementskit-megamenu-has").length>0){let i=t.find(".ekit-wid-con").data("responsive-breakpoint"),o=t.find(".elementskit-megamenu-has"),r=t.find(".elementskit-menu-container").outerHeight();function s(n,t,i){n.css({width:t}),e(document).width()<Number(i)&&n.removeAttr("style")}e(window).on("resize",function(){t.find(".elementskit-megamenu-panel").css({top:r})}).trigger("resize"),o.on("mouseenter",function(){let n=e(this).data("vertical-menu"),t=e(this).children(".elementskit-megamenu-panel");
193if(e(this).hasClass("elementskit-dropdown-menu-full_width")&&e(this).hasClass("top_position")){let n=Math.floor(e(this).position().left-e(this).offset().left),t=e(this);t.find(".elementskit-megamenu-panel").css("max-width",e(window).width()),e(window).on("resize",function(){t.find(".elementskit-megamenu-panel").css({left:n+"px"})}).trigger("resize")}!e(this).hasClass("elementskit-dropdown-menu-full_width")&&e(this).hasClass("top_position")&&e(this).on({mouseenter:function(){0===e(".default_menu_position").length&&e(this).parents(".elementor-section-wrap").addClass("default_menu_position")},mouseleave:function(){0!==e(".default_menu_position").length&&e(this).parents(".elementor-section-wrap").removeClass("default_menu_position")}}),n&&n!==undefined?"string"==typeof n?(/^[0-9]/.test(n),s(t,n,i)):t.css({width:n+"px"}):s(t,n,i)}),o.trigger("mouseenter")}if(t.find(".ekit-nav-dropdown-click").length>0){let a=t.find(".ekit-wid-con").data("responsive-breakpoint");t.on("click",".elementskit-dropdown-has > a",function(n){if(n.preventDefault(),e(document).width()<Number(a))return;let i=e(this).parent(),o=e(this).parents(".elementskit-dropdown-has"),r=i.find(">.elementskit-dropdown, >.elementskit-megamenu-panel");t.find(".elementskit-dropdown-has").not(o).find(">.elementskit-dropdown, >.elementskit-megamenu-panel").removeClass("ekit-dropdown-open-onclick"),r.toggleClass("ekit-dropdown-open-onclick")}),e(window).on("resize",function(){e(document).width()<Number(a)&&t.find(".ekit-dropdown-open-onclick").removeClass("ekit-dropdown-open-onclick")}),e(document).on("click",function(n){e(n.target).closest(".elementskit-dropdown-has").length||t.find(".ekit-dropdown-open-onclick").removeClass("ekit-dropdown-open-onclick")}),e(window).on("sticky:stick sticky:unstick",n=>{e(n.target).find(".ekit-dropdown-open-onclick").removeClass("ekit-dropdown-open-onclick"),e(n.target).next().find(".ekit-dropdown-open-onclick").removeClass("ekit-dropdown-open-onclick")})}t.find(".megamenu-ajax-load").length>0&&(t.find(".ekit-nav-dropdown-hover").on("mouseenter",".elementskit-megamenu-has",function(){ElementsKit_Helper.megaMenuAjaxLoad(e(this))}),t.find(".ekit-nav-dropdown-click").on("click",".elementskit-megamenu-has",function(){ElementsKit_Helper.megaMenuAjaxLoad(e(this))})),n(t),"yes"===t.find(".ekit-wid-con").data("close-on-anchor")&&t.on("click",'.elementskit-navbar-nav a[href^="#"]:not(.ekit-menu-dropdown-toggle)',function(){setTimeout(function(){t.find(".elementskit-menu-close.elementskit-menu-toggler").trigger("click")},300)})})}(jQuery); 194/*! Magnific Popup - v1.2.0 - 2024-06-08 195* http://dimsemenov.com/plugins/magnific-popup/ 196* Copyright (c) 2024 Dmitry Semenov; */ 197!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(e){function t(){}function n(e,t){d.ev.on(P+e+_,t)}function o(t,n,o,i){var r=document.createElement("div");return r.className="mfp-"+t,o&&(r.innerHTML=o),i?n&&n.appendChild(r):(r=e(r),n&&r.appendTo(n)),r}function i(e,t){d.ev.triggerHandler(P+e,t),d.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),d.st.callbacks[e])&&d.st.callbacks[e].apply(d,Array.isArray(t)?t:[t])}function r(t){return t===g&&d.currTemplate.closeBtn||(d.currTemplate.closeBtn=e(d.st.closeMarkup.replace("%title%",d.st.tClose)),g=t),d.currTemplate.closeBtn}function a(){e.magnificPopup.instance||((d=new t).init(),e.magnificPopup.instance=d)}function s(){y&&(v.after(y.addClass(h)).detach(),y=null)}function l(){w&&e(document.body).removeClass(w)}function c(){l(),d.req&&d.req.abort()}var d,p,u,f,m,g,h,v,y,w,C,b="Close",x="BeforeClose",I="MarkupParse",T="Open",k="Change",P="mfp",_="."+P,S="mfp-ready",E="mfp-removing",z="mfp-prevent-close",O=!!window.jQuery,M=e(window),B=(e.magnificPopup={instance:null,proto:t.prototype={constructor:t,init:function(){var t=navigator.appVersion;d.isLowIE=d.isIE8=document.all&&!document.addEventListener,d.isAndroid=/android/gi.test(t),d.isIOS=/iphone|ipad|ipod/gi.test(t),d.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),d.probablyMobile=d.isAndroid||d.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),u=e(document),d.popupsCache={}},open:function(t){if(!1===t.isObj){d.items=t.items.toArray(),d.index=0;for(var a,s=t.items,l=0;l<s.length;l++)if((a=(a=s[l]).parsed?a.el[0]:a)===t.el[0]){d.index=l;break}}else d.items=Array.isArray(t.items)?t.items:[t.items],d.index=t.index||0;if(!d.isOpen){d.types=[],m="",t.mainEl&&t.mainEl.length?d.ev=t.mainEl.eq(0):d.ev=u,t.ke
vendor: 18,540 bytes, line 197
197y?(d.popupsCache[t.key]||(d.popupsCache[t.key]={}),d.currTemplate=d.popupsCache[t.key]):d.currTemplate={},d.st=e.extend(!0,{},e.magnificPopup.defaults,t),d.fixedContentPos="auto"===d.st.fixedContentPos?!d.probablyMobile:d.st.fixedContentPos,d.st.modal&&(d.st.closeOnContentClick=!1,d.st.closeOnBgClick=!1,d.st.showCloseBtn=!1,d.st.enableEscapeKey=!1),d.bgOverlay||(d.bgOverlay=o("bg").on("click"+_,function(){d.close()}),d.wrap=o("wrap").attr("tabindex",-1).on("click"+_,function(e){d._checkIfClose(e.target)&&d.close()}),d.container=o("container",d.wrap)),d.contentContainer=o("content"),d.st.preloader&&(d.preloader=o("preloader",d.container,d.st.tLoading));var c=e.magnificPopup.modules;for(l=0;l<c.length;l++){var p=(p=c[l]).charAt(0).toUpperCase()+p.slice(1);d["init"+p].call(d)}i("BeforeOpen"),d.st.showCloseBtn&&(d.st.closeBtnInside?(n(I,function(e,t,n,o){n.close_replaceWith=r(o.type)}),m+=" mfp-close-btn-in"):d.wrap.append(r())),d.st.alignTop&&(m+=" mfp-align-top"),d.fixedContentPos?d.wrap.css({overflow:d.st.overflowY,overflowX:"hidden",overflowY:d.st.overflowY}):d.wrap.css({top:M.scrollTop(),position:"absolute"}),!1!==d.st.fixedBgPos&&("auto"!==d.st.fixedBgPos||d.fixedContentPos)||d.bgOverlay.css({height:u.height(),position:"absolute"}),d.st.enableEscapeKey&&u.on("keyup"+_,function(e){27===e.keyCode&&d.close()}),M.on("resize"+_,function(){d.updateSize()}),d.st.closeOnContentClick||(m+=" mfp-auto-cursor"),m&&d.wrap.addClass(m);var f=d.wH=M.height(),g={},h=(d.fixedContentPos&&d._hasScrollBar(f)&&(h=d._getScrollbarSize())&&(g.marginRight=h),d.fixedContentPos&&(d.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden"),d.st.mainClass);return d.isIE7&&(h+=" mfp-ie7"),h&&d._addClassToMFP(h),d.updateItemHTML(),i("BuildControls"),e("html").css(g),d.bgOverlay.add(d.wrap).prependTo(d.st.prependTo||e(document.body)),d._lastFocusedEl=document.activeElement,setTimeout(function(){d.content?(d._addClassToMFP(S),d._setFocus()):d.bgOverlay.addClass(S),u.on("focusin"+_,d._onFocusIn)},16),d.isOpen=!0,d.updateSize(f),i(T),t}d.updateItemHTML()},close:function(){d.isOpen&&(i(x),d.isOpen=!1,d.st.removalDelay&&!d.isLowIE&&d.supportsTransition?(d._addClassToMFP(E),setTimeout(function(){d._close()},d.st.removalDelay)):d._close())},_close:function(){i(b);var t=E+" "+S+" ";d.bgOverlay.detach(),d.wrap.detach(),d.container.empty(),d.st.mainClass&&(t+=d.st.mainClass+" "),d._removeClassFromMFP(t),d.fixedContentPos&&(t={marginRight:""},d.isIE7?e("body, html").css("overflow",""):t.overflow="",e("html").css(t)),u.off("keyup.mfp focusin"+_),d.ev.off(_),d.wrap.attr("class","mfp-wrap").removeAttr("style"),d.bgOverlay.attr("class","mfp-bg"),d.container.attr("class","mfp-container"),!d.st.showCloseBtn||d.st.closeBtnInside&&!0!==d.currTemplate[d.currItem.type]||d.currTemplate.closeBtn&&d.currTemplate.closeBtn.detach(),d.st.autoFocusLast&&d._lastFocusedEl&&e(d._lastFocusedEl).trigger("focus"),d.currItem=null,d.content=null,d.currTemplate=null,d.prevHeight=0,i("AfterClose")},updateSize:function(e){var t;d.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,d.wrap.css("height",t),d.wH=t):d.wH=e||M.height(),d.fixedContentPos||d.wrap.css("height",d.wH),i("Resize")},updateItemHTML:function(){var t=d.items[d.index],n=(d.contentContainer.detach(),d.content&&d.content.detach(),(t=t.parsed?t:d.parseEl(d.index)).type),o=(i("BeforeChange",[d.currItem?d.currItem.type:"",n]),d.currItem=t,d.currTemplate[n]||(i("FirstMarkupParse",o=!!d.st[n]&&d.st[n].markup),d.currTemplate[n]=!o||e(o)),f&&f!==t.type&&d.container.removeClass("mfp-"+f+"-holder"),d["get"+n.charAt(0).toUpperCase()+n.slice(1)](t,d.currTemplate[n]));d.appendContent(o,n),t.preloaded=!0,i(k,t),f=t.type,d.container.prepend(d.contentContainer),i("AfterChange")},appendContent:function(e,t){(d.content=e)?d.st.showCloseBtn&&d.st.closeBtnInside&&!0===d.currTemplate[t]?d.content.find(".mfp-close").length||d.content.append(r()):d.content=e:d.content="",i("BeforeAppend"),d.container.addClass("mfp-"+t+"-holder"),d.contentContainer.append(d.content)},parseEl:function(t){var n,o=d.items[t];if((o=o.tagName?{el:e(o)}:(n=o.type,{data:o,src:o.src})).el){for(var r=d.types,a=0;a<r.length;a++)if(o.el.hasClass("mfp-"+r[a])){n=r[a];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||d.st.type||"inline",o.index=t,o.parsed=!0,d.items[t]=o,i("ElementParse",o),d.items[t]},addGroup:function(e,t){function n(n){n.mfpEl=this,d._openClick(n,e,t)}var o="click.magnificPopup";(t=t||{}).mainEl=e,t.items?(t.isObj=!0,e.off(o).on(o,n)):(t.isObj=!1,t.delegate?e.off(o).on(o,t.delegate,n):(t.items=e).off(o).on(o,n))},_openClick:function(t,n,o){var i=(void 0!==o.midClick?o:e.magnificPopup.defaults).midClick;if(i||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){if(i=(void 0!==o.disableOn?o:e.magnificPopup.defaults).disableOn)if("function"==typeof i){if(!i.call(d))return!0}else if(M.width()<i)return!0;t.type&&(t.preventDefault(),d.isOpen)&&t.stopPropagation(),o.el=e(t.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),d.open(o)}},updateStatus:function(e,t){var n;d.preloader&&(p!==e&&d.container.removeClass("mfp-s-"+p),i("UpdateStatus",n={status:e,text:t=t||"loading"!==e?t:d.st.tLoading}),e=n.status,t=n.text,d.st.allowHTMLInStatusIndicator?d.preloader.html(t):d.preloader.text(t),d.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),d.container.addClass("mfp-s-"+e),p=e)},_checkIfClose:function(t){if(!e(t).closest("."+z).length){var n=d.st.closeOnContentClick,o=d.st.closeOnBgClick;if(n&&o)return!0;if(!d.content||e(t).closest(".mfp-close").length||d.preloader&&t===d.preloader[0])return!0;if(t===d.content[0]||e.contains(d.content[0],t)){if(n)return!0}else if(o&&e.contains(document,t))return!0;return!1}},_addClassToMFP:function(e){d.bgOverlay.addClass(e),d.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),d.wrap.removeClass(e)},_hasScrollBar:function(e){return(d.isIE7?u.height():document.body.scrollHeight)>(e||M.height())},_setFocus:function(){(d.st.focus?d.content.find(d.st.focus).eq(0):d.wrap).trigger("focus")},_onFocusIn:function(t){if(t.target!==d.wrap[0]&&!e.contains(d.wrap[0],t.target))return d._setFocus(),!1},_parseMarkup:function(t,n,o){var r;o.data&&(n=e.extend(o.data,n)),i(I,[t,n,o]),e.each(n,function(n,o){if(void 0===o||!1===o)return!0;var i,a;1<(r=n.split("_")).length?0<(i=t.find(_+"-"+r[0])).length&&("replaceWith"===(a=r[1])?i[0]!==o[0]&&i.replaceWith(o):"img"===a?i.is("img")?i.attr("src",o):i.replaceWith(e("<img>").attr("src",o).attr("class",i.attr("class"))):i.attr(r[1],o)):d.st.allowHTMLInTemplate?t.find(_+"-"+n).html(o):t.find(_+"-"+n).text(o)})},_getScrollbarSize:function(){var e;return void 0===d.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),d.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),d.scrollbarSize}},modules:[],open:function(t,n){return a(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,allowHTMLInStatusIndicator:!1,allowHTMLInTemplate:!1}},e.fn.magnificPopup=function(t){a();var n,o,i,r=e(this);return"string"==typeof t?"open"===t?(n=O?r.data("magnificPopup"):r[0].magnificPopup,o=parseInt(arguments[1],10)||0,i=n.items?n.items[o]:(i=r,(i=n.delegate?i.find(n.delegate):i).eq(o)),d._openClick({mfpEl:i},r,n)):d.isOpen&&d[t].apply(d,Array.prototype.slice.call(arguments,1)):(t=e.extend(!0,{},t),O?r.data("magnificPopup",t):r[0].magnificPopup=t,d.addGroup(r,t)),r},"inline"),L=(e.magnificPopup.registerModule(B,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){d.types.push(B),n(b+"."+B,function(){s()})},getInline:function(t,n){var i,r,a;return s(),t.src?(i=d.st.inline,(r=e(t.src)).length?((a=r[0].parentNode)&&a.tagName&&(v||(h=i.hiddenClass,v=o(h),h="mfp-"+h),y=r.after(v).detach().removeClass(h)),d.updateStatus("ready")):(d.updateStatus("error",i.tNotFound),r=e("<div>")),t.inlineElement=r):(d.updateStatus("ready"),d._parseMarkup(n,{},t),n)}}}),"ajax");function H(e){var t;d.currTemplate[N]&&(t=d.currTemplate[N].find("iframe")).length&&(e||(t[0].src="//about:blank"),d.isIE8)&&t.css("display",e?"block":"none")}function A(e){var t=d.items.length;return t-1<e?e-t:e<0?t+e:e}function F(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}e.magnificPopup.registerModule(L,{options:{settings:null,cursor:"mfp-ajax-cur",tError:"The content could not be loaded."},proto:{initAjax:function(){d.types.push(L),w=d.st.ajax.cursor,n(b+"."+L,c),n("BeforeChange."+L,c)},getAjax:function(t){w&&e(document.body).addClass(w),d.updateStatus("loading");var n=e.extend({url:t.src,success:function(n,o,r){i("ParseAjax",n={data:n,xhr:r}),d.appendContent(e(n.data),L),t.finished=!0,l(),d._setFocus(),setTimeout(function(){d.wrap.addClass(S)},16),d.updateStatus("ready"),i("AjaxContentAdded")},error:function(){l(),t.finished=t.loadError=!0,d.updateStatus("error",d.st.ajax.tError.replace("%url%",t.src))}},d.st.ajax.settings);return d.req=e.ajax(n),""}}}),e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:"The image could not be loaded."},proto:{initImage:function(){var t=d.st.image,o=".image";d.types.push("image"),n(T+o,function(){"image"===d.currItem.type&&t.cursor&&e(document.body).addClass(t.cursor)}),n(b+o,function(){t.cursor&&e(document.body).removeClass(t.cursor),M.off("resize"+_)}),n("Resize"+o,d.resizeImage),d.isLowIE&&n("AfterChange",d.resizeImage)},resizeImage:function(){var e,t=d.currItem;t&&t.img&&d.st.image.verticalFit&&(e=0,d.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",d.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,C&&clearInterval(C),e.isCheckingImgSize=!1,i("ImageHasSize",e),e.imgHidden)&&(d.content&&d.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(e){var t=0,n=e.img[0];!function o(i){C&&clearInterval(C),C=setInterval(function(){0<n.naturalWidth?d._onImageHasSize(e):(200<t&&clearInterval(C),3===++t?o(10):40===t?o(50):100===t&&o(500))},i)}(1)},getImage:function(t,n){function o(){t&&(t.img.off(".mfploader"),t===d.currItem&&(d._onImageHasSize(t),d.updateStatus("error",s.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)}var r,a=0,s=d.st.image,l=n.find(".mfp-img");return l.length&&((r=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(r.alt=t.el.find("img").attr("alt")),t.img=e(r).on("load.mfploader",function c(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===d.currItem&&(d._onImageHasSize(t),d.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,i("ImageLoadComplete")):++a<200?setTimeout(c,100):o())}).on("error.mfploader",o),r.src=t.src,l.is("img")&&(t.img=t.img.clone()),0<(r=t.img[0]).naturalWidth?t.hasSize=!0:r.width||(t.hasSize=!1)),d._parseMarkup(n,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=d.st.image.titleSrc;if(t){if("function"==typeof t)return t.call(d,e);if(e.el)return e.el.attr(t)||""}return""}(t),img_replaceWith:t.img},t),d.resizeImage(),t.hasSize?(C&&clearInterval(C),t.loadError?(n.addClass("mfp-loading"),d.updateStatus("error",s.tError.replace("%url%",t.src))):(n.removeClass("mfp-loading"),d.updateStatus("ready"))):(d.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,n.addClass("mfp-loading"),d.findImageSize(t))),n}}}),e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,o,r,a,s,l=d.st.zoom,c=".zoom";l.enabled&&d.supportsTransition&&(t=l.duration,o=function(e){e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image");var t="all "+l.duration/1e3+"s "+l.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return n["-webkit-"+o]=n["-moz-"+o]=n["-o-"+o]=n[o]=t,e.css(n),e},r=function(){d.content.css("visibility","visible")},n("BuildControls"+c,function(){d._allowZoom()&&(clearTimeout(a),d.content.css("visibility","hidden"),(e=d._getItemToZoom())?((s=o(e)).css(d._getOffset()),d.wrap.append(s),a=setTimeout(function(){s.css(d._getOffset(!0)),a=setTimeout(function(){r(),setTimeout(function(){s.remove(),e=s=null,i("ZoomAnimationEnded")},16)},t)},16)):r())}),n(x+c,function(){if(d._allowZoom()){if(clearTimeout(a),d.st.removalDelay=t,!e){if(!(e=d._getItemToZoom()))return;s=o(e)}s.css(d._getOffset(!0)),d.wrap.append(s),d.content.css("visibility","hidden"),setTimeout(function(){s.css(d._getOffset())},16)}}),n(b+c,function(){d._allowZoom()&&(r(),s&&s.remove(),e=null)}))},_allowZoom:function(){return"image"===d.currItem.type},_getItemToZoom:function(){return!!d.currItem.hasSize&&d.currItem.img},_getOffset:function(t){var n=(t=t?d.currItem.img:d.st.zoom.opener(d.currItem.el||d.currItem)).offset(),o=parseInt(t.css("padding-top"),10),i=parseInt(t.css("padding-bottom"),10);n.top-=e(window).scrollTop()-o,t={width:t.width(),height:(O?t.innerHeight():t[0].offsetHeight)-i-o};return(j=void 0===j?void 0!==document.createElement("p").style.MozTransform:j)?t["-moz-transform"]=t.transform="translate("+n.left+"px,"+n.top+"px)":(t.left=n.left,t.top=n.top),t}}});var j,N="iframe",D=(e.magnificPopup.registerModule(N,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){d.types.push(N),n("BeforeChange",function(e,t,n){t!==n&&(t===N?H():n===N&&H(!0))}),n(b+"."+N,function(){H()})},getIframe:function(t,n){var o=t.src,i=d.st.iframe,r=(e.each(i.patterns,function(){if(-1<o.indexOf(this.index))return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1}),{});return i.srcAction&&(r[i.srcAction]=o),d._parseMarkup(n,r,t),d.updateStatus("ready"),n}}}),e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%",langDir:null,loop:!0},proto:{initGallery:function(){var t=d.st.gallery,o=".mfp-gallery";if(d.direction=!0,!t||!t.enabled)return!1;t.langDir||(t.langDir=document.dir||"ltr"),m+=" mfp-gallery",n(T+o,function(){t.navigateByImgClick&&d.wrap.on("click"+o,".mfp-img",function(){if(1<d.items.length)return d.next(),!1}),u.on("keydown"+o,function(e){37===e.keyCode?"rtl"===t.langDir?d.next():d.prev():39===e.keyCode&&("rtl"===t.langDir?d.prev():d.next())}),d.updateGalleryButtons()}),n("UpdateStatus"+o,function(){d.updateGalleryButtons()}),n("UpdateStatus"+o,function(e,t){t.text&&(t.text=F(t.text,d.currItem.index,d.items.length))}),n(I+o,function(e,n,o,i){var r=d.items.length;o.counter=1<r?F(t.tCounter,i.index,r):""}),n("BuildControls"+o,function(){var n,o,i,r,a;1<d.items.length&&t.arrows&&!d.arrowLeft&&(o="rtl"===t.langDir?(r=t.tNext,n=t.tPrev,a="next","prev"):(r=t.tPrev,n=t.tNext,a="prev","next"),i=t.arrowMarkup,r=d.arrowLeft=e(i.replace(/%title%/gi,r).replace(/%action%/gi,a).replace(/%dir%/gi,"left")).addClass(z),a=d.arrowRight=e(i.replace(/%title%/gi,n).replace(/%action%/gi,o).replace(/%dir%/gi,"right")).addClass(z),"rtl"===t.langDir?(d.arrowNext=r,d.arrowPrev=a):(d.arrowNext=a,d.arrowPrev=r),r.on("click",function(){"rtl"===t.langDir?d.next():d.prev()}),a.on("click",function(){"rtl"===t.langDir?d.prev():d.next()}),d.container.append(r.add(a)))}),n(k+o,function(){d._preloadTimeout&&clearTimeout(d._preloadTimeout),d._preloadTimeout=setTimeout(function(){d.preloadNearbyImages(),d._preloadTimeout=null},16)}),n(b+o,function(){u.off(o),d.wrap.off("click"+o),d.arrowRight=d.arrowLeft=null})},next:function(){var e=A(d.index+1);if(!d.st.gallery.loop&&0===e)return!1;d.direction=!0,d.index=e,d.updateItemHTML()},prev:function(){var e=d.index-1;if(!d.st.gallery.loop&&e<0)return!1;d.direction=!1,d.index=A(e),d.updateItemHTML()},goTo:function(e){d.direction=e>=d.index,d.index=e,d.updateItemHTML()},preloadNearbyImages:function(){for(var e=d.st.gallery.preload,t=Math.min(e[0],d.items.length),n=Math.min(e[1],d.items.length),o=1;o<=(d.direction?n:t);o++)d._preloadItem(d.index+o);for(o=1;o<=(d.direction?t:n);o++)d._preloadItem(d.index-o)},_preloadItem:function(t){var n;t=A(t),d.items[t].preloaded||((n=d.items[t]).parsed||(n=d.parseEl(t)),i("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,i("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0)},updateGalleryButtons:function(){d.st.gallery.loop||"object"!=typeof d.arrowPrev||null===d.arrowPrev||(0===d.index?d.arrowPrev.hide():d.arrowPrev.show(),d.index===d.items.length-1?d.arrowNext.hide():d.arrowNext.show())}}}),"retina");e.magnificPopup.registerModule(D,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var e,t;1<window.devicePixelRatio&&(e=d.st.retina,t=e.ratio,1<(t=isNaN(t)?t():t))&&(n("ImageHasSize."+D,function(e,n){
197n.img.css({"max-width":n.img[0].naturalWidth/t,width:"100%"})}),n("ElementParse."+D,function(n,o){o.src=e.replaceSrc(o,t)}))}}}),a()});!function(e){"use strict";e(function(){var t;function n(t,n,a){e(document).on(t,n,a)}t=e(".elementskit-menu-container"),e(t).each(function(){var t=e(this);"yes"!=t.attr("ekit-dom-added")&&(0===t.parents(".elementor-widget-ekit-nav-menu").length&&t.parents(".ekit-wid-con").addClass("ekit_menu_responsive_tablet"),t.attr("ekit-dom-added","yes"))}),n("click",".elementskit-dropdown-has > a",function(t){var n=e(this).parents(".elementskit-navbar-nav, .ekit-vertical-navbar-nav"),a=e(this).parents(".ekit-wid-con").data("responsive-breakpoint");if((!n.hasClass("submenu-click-on-icon")||e(t.target).hasClass("elementskit-submenu-indicator"))&&(!(e(document).width()>Number(a)&&n.hasClass("submenu-click-on-"))||e(t.target).hasClass("elementskit-submenu-indicator"))){t.preventDefault();var s=e(this).parent().find(">.elementskit-dropdown, >.elementskit-megamenu-panel");s.find(".elementskit-dropdown-open").removeClass("elementskit-dropdown-open"),s.hasClass("elementskit-dropdown-open")?s.removeClass("elementskit-dropdown-open"):s.addClass("elementskit-dropdown-open")}}),n("click",".elementskit-menu-toggler",function(t){t.preventDefault();var n=e(this).parents(".elementskit-menu-container").parent();n.length<1&&(n=e(this).parent());var a=n.find(".elementskit-menu-offcanvas-elements");a.hasClass("active")?a.removeClass("active"):a.addClass("active"),n.find(".elementskit-menu-hamburger").attr("aria-expanded",a.hasClass("active")?"true":"false")}),e(".elementskit-navbar-nav li a").on("click",function(t){var n=e(this),a=n.get(0);if(a&&n.attr("href")){var s=a.href,i=s.includes("#"),r=n.closest(".elementskit-menu-container").hasClass("ekit-nav-menu-one-page-yes"),o=a.pathname===window.location.pathname;"elementskit-submenu-indicator"!==t.target.className&&i&&s.length>1&&r&&o&&n.closest(".ekit-wid-con").find(".elementskit-menu-close").trigger("click")}})})}(jQuery);!function(){"use strict";ElementsKit_Helper.registerWidget("elementskit-header-search.default",function(e){var o=e.find(".ekit_navsearch-button"),t=e.closest("body"),s=e.data("id");o.magnificPopup({type:"inline",fixedContentPos:!0,fixedBgPos:!0,overflowY:"auto",closeBtnInside:!1,callbacks:{beforeOpen:function(){this.st.mainClass="my-mfp-slide-bottom ekit-promo-popup ekit-popup-"+s},open:function(){t.css("overflow","hidden"),t.find(".mfp-close").addClass("ekit-popup-close")},close:function(){t.css("overflow","auto"),t.find(".mfp-close").removeClass("ekit-popup-close")}}})})}(jQuery);!function(e){"use strict";ElementsKit_Helper.registerWidget("elementskit-header-offcanvas.default",function(i){var s=i.find(".ekit-sidebar-group"),t=i.find(".ekit_offcanvas-sidebar, .ekit_close-side-widget, .ekit-overlay"),o=i.find(".ekit-sidebar-group").data("settings");t.on("click",function(i){i.preventDefault(),s.toggleClass("ekit_isActive"),"yes"===o?.disable_bodyscroll&&(s.hasClass("ekit_isActive")?e("body").css("overflow","hidden"):e("body").css("overflow",""))})})}(jQuery);let cmplz_cookie_data=[],cmplzCleanCookieInterval;function cmplz_log(...e){"undefined"!=typeof complianz&&complianz.debug&&console.warn(...e)}function cmplz_create_element(e,t){e=document.createElement(e);return e.innerHtml=t,e}function cmplz_add_event(e,t,c){document.addEventListener(e,e=>{e.target.closest(t)&&c(e)})}function cmplz_is_hidden(e){return null===e.offsetParent}function cmplz_html_decode(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}function cmplz_sanitize_placeholder_html(e){var t=document.createElement("template");return t.innerHTML=String(e||""),t.content.querySelectorAll("script, iframe, object, embed, link, style, base, meta").forEach(e=>{e.remove()}),t.content.querySelectorAll("*").forEach(n=>{Array.from(n.attributes).forEach(e=>{var t,c=e.name.toLowerCase();0!==c.indexOf("on")&&(t=e.value.trim(),"href"!==c&&"src"!==c&&"xlink:href"!==c||!/^\s*(javascript:|data:)/i.test(t))||n.removeAttribute(e.name)})}),t.innerHTML}function cmplz_is_safe_script_src(e){if("string"!=typeof e)return!1;e=e.trim();if(!e)return!1;try{var t=new URL(e,window.location.href);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}}function cmplz_trap_focus(){var e;cmplz_banner&&(cmplz_original_active_element=cmplz_banner.ownerDocument.activeElement,complianz.soft_cookiewall&&document.body.classList.add("cmplz-banner-active"),document.addEventListener("keydown",cmplz_handle_tab_navigation),0<(e=cmplz_banner.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not
197([tabindex="-1"])')).length)&&e[0].focus()}function cmplz_handle_tab_navigation(e){var t,c,n,o;"Tab"===e.key&&cmplz_banner&&(0===(c=Array.from(cmplz_banner.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(function(e){return null!==e.offsetParent})).length?e.preventDefault():(t=c[0],c=c[c.length-1],n=cmplz_banner.ownerDocument.activeElement,o=cmplz_banner.contains(n),e.shiftKey?o&&n!==t||(e.preventDefault(),c.focus()):o&&n!==c||(e.preventDefault(),t.focus())))}function cmplz_release_focus_trap(){document.removeEventListener("keydown",cmplz_handle_tab_navigation),document.body.classList.remove("cmplz-banner-active");var e=cmplz_banner_trigger_source;if(cmplz_banner_trigger_source="page-load","manage-consent"===e){if(cmplz_original_active_element&&cmplz_original_active_element.focus)try{cmplz_original_active_element.focus()}catch(e){document.body.focus()}}else cmplz_last_input_was_keyboard&&(document.querySelector('a[href="#content"], a[href="#main"], a[href="#main-content"], .skip-link')||document.body).focus()}function cmplzLoadConsentAreaContent(e,r){document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(t=>{let c=t.getAttribute("data-category"),n=t.getAttribute("data-service");var o=t.getAttribute("data-post_id"),a=t.getAttribute("data-block_id");if(e===c||r===n){let e=new XMLHttpRequest;e.open("GET",complianz.url+"consent-area/"+o+"/"+a,!0),e.setRequestHeader("Content-type","application/json"),e.send(),t.classList.remove("cmplz-placeholder"),e.onload=function(){t.innerHTML=JSON.parse(e.response),t.querySelectorAll("script").forEach(e=>{cmplz_run_script(e.innerHTML,c,n,"inline",e)})}}})}document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(e=>{e.addEventListener("click",e=>{let t=e.target;(t=t.classList.contains("cmplz-consent-area")?t:e.target.closest(".cmplz-consent-area.cmplz-placeholder"))&&(cmplz_set_service_consent(e=t.getAttribute("data-service"),!0),cmplzLoadConsentAreaContent(!1,e),cmplz_enable_category(null,e),cmplz_set_banner_status("dismissed"))}),document.addEventListener("cmplz_enable_category",function(e){cmplzLoadConsentAreaContent(e.detail.category,e.detail.service)})}),document.addEventListener("cmplz_manage_consent_container_loaded",function(){var e,t=window.location.href;-1!==t.indexOf("#")&&(e=-1!==t.lastIndexOf("?")?t.lastIndexOf("?"):void 0,t=t.substring(t.indexOf("#")+1,e),e=document.getElementById(t))&&(t=e.getBoundingClientRect().top+window.pageYOffset-200,window.scrollTo({top:t,behavior:"smooth"}))}),complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),(()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),c}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)})();let cmplz_banner,cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container"),cmplz_manage_consent_button,cmplz_waiting_inline_scripts=[],cmplz_waiting_scripts=[],cmplz_fired_scripts=[],cmplz_placeholder_class_index=0,cmplz_all_scripts_hook_fired=!1,cmplz_consent_stored_once=!1,cmplz_fired_category_events=["functional"],cmplz_fired_service_events=[],cmplz_categories=["functional","preferences","statistics","marketing"],cmplz_original_active_element=null,cmplz_banner_trigger_source="page-load",cmplz_last_input_was_keyboard=!1,cmplz_set_category_as_body_class=(document.addEventListener("keydown",function(){cmplz_last_input_was_keyboard=!0},!0),document.addEventListener("pointerdown",function(){cmplz_last_input_was_keyboard=!1},!0),window.cmplz_get_cookie=function(t){if("undefined"!=typeof document){t=complianz.prefix+t;var c=document.cookie.split(";");for(let e=0;e<c.length;e++){var n=c[e].trim();if(n.startsWith(t+"="))return n.substring(t.length+1)}}return""},window.cmplz_set_cookie=function(e,t,c){var n,o,a,r;"undefined"!=typeof document&&(c=void 0===c||c,n="https:"===window.location.protocol?";
197secure":"",(o=new Date).setTime(o.getTime()+24*complianz.cookie_expiry*60*60*1e3),o=";expires="+o.toGMTString(),a=0<(a=cmplz_get_cookie_domain()).length?";domain="+a:"",c=c?complianz.prefix:"",r=cmplz_get_cookie_path(),document.cookie=""+c+e+`=${t};SameSite=Lax${n}${o}${a};path=`+r)},window.cmplz_in_array=function(e,t){return t.includes(e)},window.cmplz_highest_accepted_category=function(){var t=cmplz_accepted_categories(),c=["marketing","statistics","preferences"];for(let e=0;e<c.length;e++)if(cmplz_in_array(c[e],t))return c[e];return"functional"},()=>{let c=document.body.classList;for(let e=c.length-1;0<=e;e--)c[e].startsWith("cmplz-")&&"cmplz-document"!==c[e]&&c.remove(c[e]);var e=cmplz_accepted_categories(),e=(Object.values(e).forEach(e=>{"string"==typeof e&&c.add("cmplz-"+e)}),cmplz_get_all_service_consents()),e=(Object.entries(e).forEach(([e,t])=>{t&&c.add("cmplz-"+e)}),c.add("cmplz-"+complianz.region,"cmplz-"+complianz.consenttype),new CustomEvent("cmplz_set_category_as_bodyclass"));document.dispatchEvent(e)}),cmplz_append_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.setAttribute("type","text/css"),c.appendChild(document.createTextNode(e)),t.appendChild(c)},cmplz_load_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.href=e,t.appendChild(c)};function cmplz_run_script(t,c,n,e,o){var a=document.createElement("script");if("inline"!==e&&cmplz_is_safe_script_src(t)?a.src=t:("string"!=typeof t&&(t=t.innerHTML),a.textContent=[t,"cmplzScriptLoaded();"].join("\n")),!cmplz_in_array(t,cmplz_fired_scripts)){cmplzCopyAttributes(o,a);try{"inline"!==e?a.onload=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)}:window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)},document.head.appendChild(a)}catch(e){throw cmplz_run_after_all_scripts(c,n),"Something went wrong "+e+" while loading "+t}}}function cmplz_maybe_run_waiting_scripts(e,t,c,n){var o=cmplz_get_waiting_script(cmplz_waiting_scripts,e),o=(o&&cmplz_run_script(o,t,c,"src",n),cmplz_get_waiting_script(cmplz_waiting_inline_scripts,e));o&&cmplz_run_script(o,t,c,"inline",n)}let cmplzLazyLoader=()=>{var e=document.querySelectorAll(".cmplz-blocked-content-container");let t=new IntersectionObserver((e,n)=>{e.forEach(e=>{var t,c;e.isIntersecting&&((t=(e=e.target).getAttribute("data-placeholder-image"))&&(c=e.getAttribute("data-placeholder_class_index"),cmplz_append_css(".cmplz-placeholder-"+c+" {background-image: url("+t+") !important;}"),cmplz_set_blocked_content_container_aspect_ratio(e,t,c)),n.unobserve(e))})});e.forEach(e=>{t.observe(e)})};function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(e=>{var t,c,n,o;e.classList.contains("cmplz-processed")||(e.classList.add("cmplz-processed"),t=e.getAttribute("data-service"),c=e.getAttribute("data-category"),(n=e.parentElement).classList.add("cmplz-blocked-content-container"),o=n.getAttribute("data-placeholder_class_index"),"lazy"===e.getAttribute("loading")&&(e.removeAttribute("loading"),e.setAttribute("data-deferlazy",1)),null===o&&(cmplz_placeholder_class_index++,n.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),n.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(n,c,t)))}),document.querySelectorAll(".cmplz-placeholder-element").forEach(t=>{if(!t.classList.contains("cmplz-processed")){t.classList.add("cmplz-processed");var c=t.getAttribute("data-service"),n=t.getAttribute("data-category");let e;null===(e=t.classList.contains("cmplz-iframe")?("lazy"===t.getAttribute("loading")&&(t.removeAttribute("loading"),t.setAttribute("data-deferlazy",1)),t.parentElement):t).getAttribute("data-placeholder_class_index")&&(cmplz_placeholder_class_index++,e.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),e.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(e,n,c),n=t.getAttribute("data-placeholder-image"))&&void 0!==n&&n.length&&e.setAttribute("data-placeholder-image",n)}}),cmplzLazyLoader(),cmplz_has_consent("statistics")&&cmplz_enable_category("statistics"),cmplz_has_consent("marketing")&&cmplz_enable_category("marketing")}function cmplz_insert_placeholder_text(e,n,o){if(!e.querySelector(".cmplz-blocked-content-notice")){let t=complianz.placeholdertext;n=n||"marketing";let c;if(void 0!==t){if(1===Number(complianz.clean_cookies)){let e=o?o.replace("-"," "):"";e=e.charAt(0).toUpperCase()+e.slice(1),t=t.replace("{service}
197",e),(c=cmplz_create_element("div",t)).innerHTML=cmplz_sanitize_placeholder_html(t),c.classList.add("cmplz-blocked-content-notice");var a=c.querySelector("button"),a=(a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{service}",e)),complianz.page_links[complianz.region]),r=c.querySelector(".cmplz-links a");a&&a.hasOwnProperty("cookie-statement")?(r.setAttribute("href",a["cookie-statement"].url),"{title}"===r.innerText&&(r.innerText=a["cookie-statement"].title)):r&&(r.parentElement.style.display="none")}else{a=cmplz_create_element("button",""),r=complianz.categories.hasOwnProperty(n)?complianz.categories[n]:"marketing";a.innerText=t.replace("{category}",r),a.classList.add("cmplz-blocked-content-notice","cmplz-accept-category","cmplz-accept-"+n),a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{category}",n)),c=a}("VIDEO"!==e.tagName?e:e.parentElement).appendChild(c)}}}function cmplz_set_blocked_content_container_aspect_ratio(t,c,n){var e;null!=t&&((e=new Image).addEventListener("load",function(){var e=this.naturalWidth||1,e=this.naturalHeight*(t.clientWidth/e),e=-1===c.indexOf("placeholder.jpg")?"height:"+e+"px;":"";cmplz_append_css(".cmplz-placeholder-"+n+" {"+e+"}")}),e.src=c)}let cmplzResizeTimer;function cmplz_enable_category(o,a){1===Number(complianz.tm_categories)&&""!==o&&cmplz_run_tm_event(o);var t={},t=(t.category=o,t.categories=cmplz_accepted_categories(),t.region=complianz.region,new CustomEvent("cmplz_before_category",{detail:t}));if(document.dispatchEvent(t),a=void 0!==a?a:"do_not_match","functional"!==(o=""===o?"do_not_match":o)){"marketing"===o&&cmplz_set_integrations_cookies();let e;e="do_not_match"!==a?'.cmplz-blocked-content-notice [data-service="'+a+'"]':1!==Number(complianz.clean_cookies)?".cmplz-blocked-content-notice.cmplz-accept-"+o:'.cmplz-blocked-content-notice [data-category="'+o+'"]',document.querySelectorAll(e).forEach(e=>{var t=e.getAttribute("data-service");e.parentNode.classList.contains("cmplz-blocked-content-notice")&&(e=e.parentNode),cmplz_is_service_denied(t)||e.parentNode.removeChild(e)}),document.querySelectorAll('[data-category="'+o+'"], [data-service="'+a+'"]').forEach(t=>{var e=t.getAttribute("data-service");if(!cmplz_is_service_denied(e)&&"functional"!==t.getAttribute("data-category")&&!t.classList.contains("cmplz-activated")){var e=t.tagName;if("LINK"===e){t.classList.add("cmplz-activated");var c=t.getAttribute("data-href");cmplz_load_css(c,o)}else if("IMG"===e){t.classList.add("cmplz-activated");c=t.getAttribute("data-src-cmplz");t.setAttribute("src",c),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),cmplz_remove_placeholder(t)}else if("IFRAME"===e){t.classList.add("cmplz-activated");let e=t.getAttribute("data-src-cmplz");c=t.getAttribute("data-cmplz-target")?t.getAttribute("data-cmplz-target"):"src";"1"===cmplz_get_url_parameter(t.getAttribute(c),"autoplay")&&(e+="&autoplay=1"),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),t.addEventListener("load",()=>{cmplz_remove_placeholder(t)}),t.setAttribute(c,e)}else t.classList.contains("cmplz-placeholder-element")&&(t.classList.add("cmplz-activated"),e=t.getAttribute("data-placeholder_class_index"),t.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+e))}});t=document.querySelectorAll('script[data-category="'+o+'"], script[data-service="'+a+'"]');t.forEach(e=>{var t=e.getAttribute("data-waitfor"),c=e.getAttribute("data-cmplz-src");t&&(c?cmplz_waiting_scripts[t]=c:0<e.innerText.length&&(cmplz_waiting_inline_scripts[t]=e)),e.parentElement&&e.parentElement.removeChild(e)}),t.forEach(e=>{var t,c,n=e.getAttribute("type");!e.classList.contains("cmplz-activated")&&n&&"text/javascript"!==n&&(e.classList.add("cmplz-activated"),(n=e.getAttribute("data-cmplz-src"))?(e.removeAttribute("type"),cmplz_is_waiting_script(cmplz_waiting_scripts,n)||(e.getAttribute("data-post_scribe_id")?(t="#"+e.getAttribute("data-post_scribe_id"),(c=document.querySelector(t))&&(c.innerHtml(""),postscribe(t,"<script src="+n+"><\/script>"))):cmplz_run_script(n,o,a,"src",e))):0<e.innerText.length&&(cmplz_is_
197waiting_script(cmplz_waiting_inline_scripts,e.innerText)||cmplz_run_script(e.innerText,o,a,"inline",e)))}),cmplz_run_after_all_scripts(o,a)}}function cmplz_remove_placeholder(e){var t,c=e.closest(".cmplz-blocked-content-container");c&&(t=c.getAttribute("data-placeholder_class_index"),c.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+t)),e.classList.remove("cmplz-iframe-styles","cmplz-iframe","video-wrap")}function cmplz_get_waiting_script(e,t){for(var c in e){var n;if(e.hasOwnProperty(c))if(-1!==t.indexOf(c))return n=e[c],delete e[c],n}return!1}function cmplz_array_is_empty(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function cmplz_is_waiting_script(t,c){for(var n in t)if(t.hasOwnProperty(n)){let e=t[n];if("string"!=typeof e&&(e=e.innerText),-1!==c.indexOf(e)||-1!==e.indexOf(c))return!0}return!1}function cmplz_run_after_all_scripts(e,t){var c="do_not_match"!==t&&!cmplz_in_array(t,cmplz_fired_service_events),n="do_not_match"!==e&&!cmplz_in_array(e,cmplz_fired_category_events);(n||c)&&(n&&cmplz_fired_category_events.push(e),c&&cmplz_fired_service_events.push(t),(n={}).category=e,n.service=t,n.categories=cmplz_accepted_categories(),n.services=cmplz_get_all_service_consents(),n.region=complianz.region,c=new CustomEvent("cmplz_enable_category",{detail:n}),document.dispatchEvent(c)),!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)&&(n=new CustomEvent("cmplz_run_after_all_scripts",{detail:e,service:t}),document.dispatchEvent(n),cmplz_all_scripts_hook_fired=!0)}window.addEventListener("resize",function(){clearTimeout(cmplzResizeTimer),cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},!0),1===Number(complianz.block_ajax_content)&&setInterval(function(){cmplz_set_blocked_content_container()},2e3);let cmplz_fired_events=[];function cmplz_run_tm_event(e){-1===cmplz_fired_events.indexOf(e)&&(cmplz_fired_events.push(e),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cmplz_event_"+e}),e=new CustomEvent("cmplz_tag_manager_event",{detail:e}),document.dispatchEvent(e))}function cmplz_fire_before_categories_consent(e){var t={},e=(t.categories=e,t.region=complianz.region,new CustomEvent("cmplz_before_categories_consent",{detail:t}));document.dispatchEvent(e)}function cmplz_check_cookie_policy_id(){var e=cmplz_get_cookie("policy_id");e&&parseInt(complianz.current_policy_id)!==parseInt(e)&&(cmplz_deny_all(),cmplz_set_banner_status("show"),cmplz_clear_cookies("cmplz"))}function cmplz_do_not_track(){var e="doNotTrack"in navigator&&"1"===navigator.doNotTrack,t="globalPrivacyControl"in navigator&&navigator.globalPrivacyControl;return!(!complianz.do_not_track_enabled||!t&&!e)}function cmplz_get_services_on_page(){let c=[];return document.querySelectorAll("[data-service]").forEach(e=>{var t=e.getAttribute("data-service"),e=e.getAttribute("data-category");-1===c.indexOf(t)&&c.push({category:e,service:t})}),c}function cmplzEnsureBannerCss(){var e="cmplz-banner-"+complianz.user_banner_id+"-"+complianz.consenttype+"-css",e=document.getElementById(e);if(e&&"stylesheet"===e.rel)return e.sheet&&e.sheet.disabled&&(e.sheet.disabled=!1),e;var t,e=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);-1!==complianz.css_file.indexOf("cookiebanner/css/defaults/banner")&&cmplz_log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory");let c=e.split("?")[0].split("/").pop(),n=null;return document.querySelectorAll('link[rel="stylesheet"]').forEach(function(e){e.href.split("?")[0].split("/").pop()===c&&(n=e)}),n?(n.sheet&&n.sheet.disabled&&(n.sheet.disabled=!1),n):((t=document.createElement("link")).href=e,t.type="text/css",t.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(t),t)}function cmplzSyncConsentState(){var e=document.querySelectorAll(".cmplz-cookiebanner");1<e.length&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()});let t="dismissed"===cmplz_get_banner_status();document.querySelectorAll(".cmplz-cookiebanner").forEach(function(e){e.classList.toggle("cmplz-show",!t),e.classList.toggle("cmplz-dismissed",t)});e=document.querySelectorAll("#cmplz-manage-consent");Array.prototype.some.call(e,function(e){return!e.closest("[data-wp-router-region]")})&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()})}function cmplzInitNavigationHook(){if(document.querySelector("[data-wp-router-region]")){let e=function(){cmplzEnsureBannerCss(),cmplzSyncConsentState()};
197if("module"===complianz.iapi_nav)document.addEventListener("cmplz_router_navigated",e);else{let c=function(){requestAnimationFrame(function(){e(),setTimeout(e,150)})};["pushState","replaceState"].forEach(function(e){let t=history[e];history[e]=function(){var e=t.apply(this,arguments);return c(),e}}),window.addEventListener("popstate",c)}}}function cmplz_is_bot(){var e=new RegExp("(googlebot/|Googlebot-Mobile|Google-InspectionTool|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),t=navigator.userAgent;return e.test(t)}function cmplz_is_speedbot(){var e=navigator.userAgent;return new RegExp("(GTmetrix|pingdom|pingbot|Lighthouse)","i").test(e)}function cmplz_exists_service_consent(){var e,t=cmplz_get_cookie("consented_services");try{for(var c in e=JSON.parse(t))if(e.hasOwnProperty(c)&&!0===e[c])return!0}catch(e){}return!1}function cmplz_set_service_consent(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}n[e]=t,cmplz_set_cookie("consented_services",JSON.stringify(n));c={},c.service=e,c.value=t,c.region=complianz.region,cmplz_all_scripts_hook_fired=!1,e=new CustomEvent("cmplz_status_change_service",{detail:c});document.dispatchEvent(e)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var e=cmplz_get_cookie("consented_services");let t;try{t=JSON.parse(e)}catch(e){t={}}return t}function cmplz_get_cookie_path(){return void 0!==complianz.cookie_path&&""!==complianz.cookie_path?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){return 1===Number(complianz.set_cookies_on_root)&&3<complianz.cookie_domain.length&&!complianz.cookie_domain.includes("localhost")?complianz.cookie_domain:""}function cmplz_reload_browser_compatible(){var e;-1<navigator.userAgent.toLowerCase().indexOf("firefox")?((e=new
197URL(window.location.href)).searchParams.set("cmplz-force-reload",Date.now().toString()),window.location.href=e.toString()):window.location.reload()}window.cmplz_accept_all=function(){for(var e in cmplz_clear_all_service_consents(),cmplz_fire_before_categories_consent(cmplz_categories),cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"allow");cmplz_sync_category_checkboxes()},window.cmplz_deny_all=function(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"deny");let t=!1;"functional"===cmplz_highest_accepted_category()&&!cmplz_exists_service_consent()||(t=!0),cmplz_clear_cookies("cmplz_service")&&(t=!0),cmplz_clear_all_service_consents(),cmplz_integrations_revoke(),cmplz_fire_categories_event(),cmplz_track_status();var c=new CustomEvent("cmplz_revoke",{detail:t});document.dispatchEvent(c),!complianz.tcf_active&&t&&cmplz_reload_browser_compatible()},window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data),cmplz_maybe_auto_redirect(),cmplz_set_blocked_content_container(),window.wp_consent_type=complianz.consenttype;var e,t,c,n=new CustomEvent("wp_consent_type_defined"),o=(document.dispatchEvent(n),n=new CustomEvent("cmplz_before_cookiebanner"),document.dispatchEvent(n),1===Number(complianz.forceEnableStats)&&"optin"===complianz.consenttype&&cmplz_set_consent("statistics","allow"),cmplz_categories.reverse()),a=[];for(e in o)o.hasOwnProperty(e)&&(t=cmplz_categories[e],cmplz_has_consent(t))&&a.push(t);for(c in cmplz_fire_before_categories_consent(a),a)o.hasOwnProperty(c)&&cmplz_enable_category(a[c]);if(cmplz_exists_service_consent()){cmplz_enable_category("","general");var r,l,i,s=cmplz_get_services_on_page();for(r in s)s.hasOwnProperty(r)&&(l=s[r].service,i=s[r].category,cmplz_has_service_consent(l,i))&&(document.querySelectorAll('.cmplz-accept-service[data-service="'+l+'"]').forEach(e=>{e.checked=!0}),cmplz_enable_category("",l))}cmplz_sync_category_checkboxes(),cmplz_integrations_init(),cmplz_check_cookie_policy_id(),cmplz_set_up_auto_dismiss(),cmplz_load_manage_consent_container(),n=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz}),document.dispatchEvent(n),""===cmplz_get_cookie("saved_categories")&&("optin"!==complianz.consenttype&&"optout"!==complianz.consenttype?cmplz_track_status():cmplz_do_not_track()&&cmplz_track_status("do_not_track")),cmplz_set_category_as_body_class(),cmplz_fire_categories_event(),cmplz_do_not_track()?(cmplz_log("global privacy control or do not track detected: no banner."),cmplz_track_status("do_not_track")):("optin"===complianz.consenttype?(complianz.forceEnableStats&&cmplz_enable_category("statistics"),cmplz_log("opt-in"),show_cookie_banner):"optout"===complianz.consenttype?(cmplz_log("opt-out"),show_cookie_banner):(cmplz_log("other consent type, no cookie warning"),cmplz_accept_all))()},window.show_cookie_banner=function(){let t=complianz.disable_cookiebanner||cmplz_is_speedbot(),e=!1;(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy"))&&(e=!0);var c=document.getElementById("cmplz-cookiebanner-container");c&&document.body.prepend(c);let n=complianz.page_links[complianz.region];(cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype))||(t=!0),cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);function o(){var e;t||(cmplz_banner.classList.remove("cmplz-hidden"),cmplz_manage_consent_button.classList.remove("cmplz-hidden"),"show"===cmplz_get_banner_status()&&(cmplz_trap_focus(),e=cmplz_banner.querySelector(".cmplz-close"))&&e.focus())}c=cmplzEnsureBannerCss(),t||((!c||!c.sheet)&&c?(c.addEventListener("load",o),setTimeout(o,500)):o()),cmplz_banner&&!t&&(cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(e=>{var t,c=e;for(t in c.classList.add("cmplz-hidden"),n)n.hasOwnProperty(t)&&c.classList.contains(t)&&(c.setAttribute("href",n[t].url+c.getAttribute("data-relative_url")),"{title}"===c.innerText&&(c.innerText=cmplz_html_decode(n[t].title)),c.classList.remove("cmplz-hidden"))}),cmplz_set_banner_status(),e)&&(cmplz_banner.classList.remove("cmplz-show"),cmplz_banner.classList.add("cmplz-dismissed"),cmplz_manage_consent_button.classList.remove("cmplz-dismissed"),cmplz_manage_consent_button.classList.add("cmplz-show")),c=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(c)},window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")},window.cmplz_set_banner_status=function(e){let t=cmplz_get_cookie("banner-status");(e=void 0!==e?e:t)!==t&&cmplz_set_cookie("banner-status",e),0===e.length&&(e="show"),t="show"===e?"dismissed":"show",cmplz_banner&&0<e.length&&(cmplz_banner.classList.remove("cmplz-"+t),cmplz_banner.classList.add("cmplz-"+e),cmplz_manage_consent_button)&&(cmplz_manage_consent_button.classList.add("cmplz-"+t),cmplz_manage_consent_button.classList.remove("cmplz-"+e)),cmplz_banner_container&&complianz.soft_cookiewall&&(cmplz_banner_container.classList.remove("cmplz-"+t),cmplz_banner_container.classList.add("cmplz-"+e,"cmplz-soft-cookiewall"));var c=new CustomEvent("cmplz_banner_status",{detail:e});document.dispatchEvent(c),cmplz_start_clean(),"show"===e?(cmplz_trap_focus(),(c=cmplz_banner.querySelector(".cmplz-close"))&&c.focus()):cmplz_release_focus_trap()},window.cmplz_has_consent=function(e){if(cmplz_is_bot())return!0;
197if("functional"===e)return!0;let t,c;return t=cmplz_do_not_track()?(c=cmplz_get_cookie(e),"allow"===c):(c=cmplz_get_cookie(e),("optout"===complianz.consenttype||"other"===complianz.consenttype)&&""===c||"allow"===c)},window.cmplz_is_service_denied=function(e){var t=cmplz_get_cookie("consented_services");let c;try{c=JSON.parse(t)}catch(e){c={}}return!!c.hasOwnProperty(e)&&!c[e]},window.cmplz_has_service_consent=function(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}return n.hasOwnProperty(e)?n[e]:cmplz_has_consent(t)},window.cmplz_set_consent=function(e,t){cmplz_set_accepted_cookie_policy_id(),t="functional"===e?"allow":t;var c,n=cmplz_get_cookie(e);let o="allow"===t;document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=o}),n!==t&&(cmplz_set_cookie(e,t),"allow"===t&&cmplz_enable_category(e),cmplz_wp_set_consent(e,t),"statistics"===e&&cmplz_wp_set_consent("statistics-anonymous","allow"),(c=new Object).category=e,c.value=t,c.region=complianz.region,c.categories=cmplz_accepted_categories(),cmplz_all_scripts_hook_fired=!1,c=new CustomEvent("cmplz_status_change",{detail:c}),document.dispatchEvent(c),"marketing"===e)&&"deny"===t&&"allow"===n&&(cmplz_integrations_revoke(),setTimeout(function(){cmplz_reload_browser_compatible()},500))};let cmplz_user_data=[];if("undefined"!=typeof Storage&&sessionStorage.cmplz_user_data&&(cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)),1!==Number(complianz.geoip)||0!==cmplz_user_data.length&&cmplz_user_data.version===complianz.version&&cmplz_user_data.banner_version===complianz.banner_version)conditionally_show_banner();else{let e=new XMLHttpRequest,t=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");t=t?"&cmplz_user_region="+t:"",e.open("GET",complianz.url+"banner?"+complianz.locale+t,!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_user_data=JSON.parse(e.response),sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data),conditionally_show_banner()}}if(cmplzInitNavigationHook(),1===Number(complianz.store_consent)){let e=cmplz_get_cookie("id"),t="",c="";"undefined"!=typeof Storage&&sessionStorage.cmplz_id&&(t=JSON.parse(sessionStorage.cmplz_id)),0===e.length&&0<t.length&&(c=t,cmplz_set_cookie("id",c)),0<e.length&&0===t.length&&(c=e),"undefined"!=typeof Storage&&(sessionStorage.cmplz_id=JSON.stringify(c))}function cmplz_track_status_end(){cmplz_consent_stored_once||cmplz_track_status()}function cmplz_set_up_auto_dismiss(){if("dismissed"!==cmplz_get_banner_status()){if("optout"===complianz.consenttype&&1===Number(complianz.dismiss_on_scroll)){let e=function(){window.pageYOffset>Math.floor(400)&&(window.removeEventListener("scroll",e),this.onWindowScroll=null,"dismissed"!==cmplz_get_banner_status())&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())};window.addEventListener("scroll",e)}var e=parseInt(complianz.dismiss_timeout);"optout"===complianz.consenttype&&0<e&&window.setTimeout(function(){"dismissed"!==cmplz_get_banner_status()&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())},Math.floor(e))}}function cmplz_fire_categories_event(){var e=new Object,e=(e.category=cmplz_highest_accepted_category(),e.categories=cmplz_accepted_categories(),e.region=complianz.region,new CustomEvent("cmplz_fire_categories",{detail:e}));document.dispatchEvent(e)}function cmplz_track_status(e){let t=[];e=void 0!==e&&e;var c=new CustomEvent("cmplz_track_status",{detail:e});document.dispatchEvent(c),t=e?[e]:cmplz_accepted_categories(),cmplz_set_category_as_body_class();let n,o;try{n=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){n={}}try{o=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){o={}}var c=cmplz_get_all_service_consents();cmplz_equals(n,t)&&cmplz_equals(o,c)||1!==Number(complianz.store_consent)||cmplz_is_bot()||cmplz_is_speedbot()||(cmplz_set_cookie("saved_categories",JSON.stringify(t)),cmplz_set_cookie("saved_services",JSON.stringify(c)),cmplz_consent_stored_once=!0,e={consented_categories:t,consented_services:c,consenttype:window.wp_consent_type},(c=new XMLHttpRequest).open("POST",complianz.url+"track",!0),c.setRequestHeader("Content-type","application/json"),c.send(JSON.stringify(e)))}function cmplz_accepted_categories(){let e=cmplz_categories,t=[];for(var c in e)e.hasOwnProperty(c)&&(c=e[c],cmplz_has_consent(c))&&t.pu
197sh(c);return e=e.filter(function(e){return cmplz_in_array(e,t)})}function cmplz_sync_category_checkboxes(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],cmplz_has_consent(e)||"functional"===e?document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!0}):document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!1})),document.querySelectorAll(".cmplz-accept-service").forEach(e=>{var t=e.getAttribute("data-service"),c=e.getAttribute("data-category");cmplz_has_service_consent(t,c)?e.checked=!0:cmplz_is_service_denied(t)?e.checked=!1:e.checked=!!cmplz_has_consent(c)})}function cmplz_merge_object(e,t){var c,n,o={};for(c in t)t.hasOwnProperty(c)&&(o[c]=t[c]);for(n in e)t.hasOwnProperty(n)&&void 0!==t[n]||e.hasOwnProperty(n)&&(o[n]=e[n]);return o}function cmplz_clear_cookies(t){if("undefined"==typeof document)return!1;let a=!1,r="https:"===window.location.protocol?";secure":"",l="expires="+(new Date).toGMTString(),i=location.pathname.replace(/^\/|\/$/g,"").split("/");return document.cookie.split("; ").forEach(function(e){let n=e.split(";")[0].split("=")[0];if(-1!==n.indexOf(t)){a=!0;let c=window.location.hostname.split(".");var o=1<c.length;for(i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e+"/"});0<c.length;){let t="."+c.join(".");
197c.shift(),o&&1===c.length&&c.shift(),i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e+"/"})}}}),cmplz_set_accepted_cookie_policy_id(),a}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&"1"===t[e][1]&&cmplz_set_cookie(e,t[e][1],!1)}function cmplz_integrations_revoke(){var e,t,c=complianz.set_cookies;for(e in c)c.hasOwnProperty(e)&&(t=c[e][1],cmplz_set_cookie(e,t,!1),0===Number(t))&&cmplz_clear_cookies(e)}function cmplz_set_integrations_cookies(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&cmplz_set_cookie(e,t[e][0],!1)}function cmplz_get_url_parameter(e,t){if(e&&void 0!==e&&-1!==e.indexOf("?")){e=e.split("?")[1];if(e){var c=e.split("&");for(let e=0;e<c.length;e++){var n=c[e].split("=");if(n[0]===t)return void 0===n[1]||decodeURIComponent(n[1])}}}return!1}function cmplz_maybe_auto_redirect(){var e=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect"),t=cmplz_get_url_parameter(window.location.href,"cmplz-region");e&&!t&&(e=window.location.href.split("#")[0]+"&cmplz-region="+complianz.region,t=window.location.hash,window.location.href=e+t)}function cmplz_wp_set_consent(e,t){"function"==typeof wp_set_consent&&wp_set_consent(e,t)}function cmplz_start_clean(){if(1===Number(complianz.clean_cookies))if((cmplz_cookie_data="undefined"!=typeof Storage?JSON.parse(sessionStorage.getItem("cmplz_cookie_data")):cmplz_cookie_data)&&0!==cmplz_cookie_data.length)cmplz_setup_clean_interval();else{let e=new XMLHttpRequest;e.open("GET",complianz.url+"cookie_data",!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_cookie_data=JSON.parse(e.response),sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data)),cmplz_setup_clean_interval()}}}function cmplz_do_cleanup(){var e;for(e of["preferences","statistics","marketing"])if(!cmplz_has_consent(e)&&cmplz_cookie_data.hasOwnProperty(e)){var t,c,n=cmplz_cookie_data[e];for(t in n)if(!cmplz_has_service_consent(t,e))for(c of n[t])cmplz_clear_cookies(c),cmplz_clear_storage(c)}}function cmplz_setup_clean_interval(){!cmplz_cookie_data||cmplzCleanCookieInterval||(cmplz_do_cleanup(),cmplzCleanCookieInterval=setInterval(cmplz_do_cleanup,1e3))}function cmplz_clear_storage(e){"undefined"!=typeof Storage&&(localStorage.getItem(e)&&localStorage.removeItem(e),sessionStorage.getItem(e))&&sessionStorage.removeItem(e)}function cmplz_load_manage_consent_container(){let c=document.querySelector(".cmplz-manage-consent-container");if(c){let t=new XMLHttpRequest;t.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,!0),t.setRequestHeader("Content-type","application/json"),t.send(),t.onload=function(){var e=JSON.parse(t.response);c.insertAdjacentHTML("beforeend",e),cmplz_sync_category_checkboxes();document.querySelector("#cmplz-manage-consent-container-nojavascript").style.display="none",c.style.display="block";e=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(e)}}}function cmplz_equals(c,n){if("object"!=typeof c||null===c||Array.isArray(c)||"object"!=typeof n||null===n||Array.isArray(n)){if(Array.isArray(c)||(c=Object.keys(c),n=Object.keys(n)),!c||!n)return!1;if(c.length!==n.length)return!1;for(let e=0,t=c.length;e<t;e++)if(c[e]instanceof Array&&n[e]instanceof Array){if(!cmplz_equals(c[e],n[e]))return!1}else if(c[e]!==n[e])return!1}else{var e;for(e of[...new Set([...Object.keys(c),...Object.keys(n)])])if(c[e]!==n[e])return!1}return!0}function cmplzCopyAttributes(e,t){let c=["type","data-service","data-category","async"];Array.from(e.attributes).forEach(e=>{"data-script-type"===e.nodeName&&"module"===e.nodeValue?(t.setAttribute("type","module"),t.removeAttribute("data-script-type")):c.includes(e.nodeName)||t.setAttribute(e.nodeName,e.nodeValue)})}document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&cmplz_track_status_end()}),window.addEventListener("pagehide",cmplz_track_status_end,!1),window.addEventListener("beforeunload",cmplz_track_status_end,!1),document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault(),setTimeout(()=>{cmplz_accept_all(),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()},0)}),cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();var e=e.target,t=e.getAttribute("data-service"),e=e.getAttribute("data-category")||"marketing";1===Number(complianz.clean_cookies)&&void 0!==t&&t?(cmplz_set_service_consent(t,!0),cmplz_enable_category("","general"),cmplz_enable_category("",t)):cmplz_set_consent(e,"allow"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept-service",function(e){var e=e.target;"INPUT"!==e.tagName&&(void 0!==(e=e.getAttribute("data-service"))&&(cmplz_set_service_consent(e,!0),cmplz_enable_category("","general"),cmplz_enable_category("",e)),cmplz_fire_categories_event(),cmplz_track_status())}),cmplz_add_event("change",".cmplz-accept-service",function(e){var t=e.target,c=t.tagName,n=t.getAttribute("data-service");void 0!==n&&("INPUT"===c?(cmplz_set_banner_status("dismissed"),t.checked?(cmplz_set_service_consent(n,!0),cmplz_enable_category("",n)):(cmplz_set_service_consent(n,!1),setTimeout(function(){cmplz_reload_browser_compatible()},500))):(e.preventDefault(),cmplz_set_service_consent(n,!0),cmplz_enable_category("","general"),cmplz_enable_category("",n),setTimeout(function(){cmplz_reload_browser_compatible()},500))),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-save-preferences",function(e){var t,c,n,o,a,e=e.target,r=(cmplz_banner=e.closest(".cmplz-cookiebanner"),[]);for(t in cmplz_categories)cmplz_categories.hasOwnProperty(t)&&(c=cmplz_categories[t],n=cmplz_banner.querySelector("input.cmplz-"+c))&&n.checked&&r.push(c);for(o in cmplz_fire_before_categories_consent(r),cmplz_categories)cmplz_categories.hasOwnProperty(o)&&(a=cmplz_categories[o],r.includes(a)?cmplz_set_consent(a,"allow"):cmplz_set_consent(a,"deny"));cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-close",function(){cmplz_set_banner_status("dismissed")}),cmplz_add_event("click",".cmplz-view-preferences",function(e){var e=e.target;(cmplz_banner=e.closest(".cmplz-cookiebanner")).querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")?(cmplz_banner.classList.remove("cmplz-categories-v
197isible"),cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"):(cmplz_banner.classList.add("cmplz-categories-visible"),cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block",(e=cmplz_banner.querySelector(".cmplz-categories .cmplz-category"))&&(e=e.querySelector(".cmplz-category-toggle"))&&e.focus())}),cmplz_add_event("click",".cmplz-category-toggle",function(e){var t,e=e.target.closest(".cmplz-category-toggle");e&&(t="true"===e.getAttribute("aria-expanded"),e.setAttribute("aria-expanded",String(!t)),e=e.closest(".cmplz-category"))&&(e=e.querySelector(".cmplz-description"))&&(e.hidden=t)}),cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(){for(var e in cmplz_categories){var t;cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],t=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+e))&&(t.checked?cmplz_set_consent(e,"allow"):cmplz_set_consent(e,"deny"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())}}),cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault(),cmplz_set_banner_status("dismissed"),cmplz_deny_all()}),cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var e=document.querySelector(".cmplz-cookiebanner .cmplz-categories"),t=document.querySelector(".cmplz-save-settings"),c=document.querySelector("button.cmplz-manage-settings");cmplz_is_hidden(e)?(t.style.display="block",c.style.display="none",e.style.display="block"):(t.style.display="none",c.style.display="block",e.style.display="none")}),cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault(),cmplz_banner_trigger_source="manage-consent",cmplz_set_banner_status("show")}),cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){32===(e.keyCode||e.which)&&e.target.click()}),cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){13===(e.keyCode||e.which)&&e.target.click()});let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode"),cmplz_times_checked=0;void 0!==window.jQuery&&jQuery(document).ready(function(i){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(){t()});let e=setInterval(function(){cmplz_times_checked+=1,document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100?t():clearInterval(e)},500)}function t(){if(document.querySelector(".cmplz-wp-video-shortcode")){var e,t,n,o=cmplz_accepted_categories(),a=cmplz_get_all_service_consents(),r=[];for(e in o)if(o.hasOwnProperty(e)){var l=o[e];if("functional"===l)break;r.push('.cmplz-wp-video-shortcode[data-category="'+l+'"]')}for(t in a)a.hasOwnProperty(t)&&r.push('.cmplz-wp-video-shortcode[data-service="'+t+'"]');n=r.join(",");let c=!1;0<n.length&&document.querySelectorAll(n).forEach(e=>{c=!0,e.setAttribute("controls","controls"),e.classList.add("wp-video-shortcode","cmplz-processed"),e.classList.remove("cmplz-wp-video-shortcode"),e.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");var t=e.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");t&&t.parentElement.removeChild(t),e.classList.remove("cmplz-blocked-content-container")}),c&&(window.wp.mediaelement?window.wp.mediaelement.initialize():(n={videoWidth:"100%",videoHeight:"100%",enableAutosize:!0},i(".wp-video-shortcode").mediaelementplayer(n)))}}function c(e){e=i(e);"function"==typeof e.parent().fitVids&&e.parent().fitVids()}document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)}),document.addEventListener("cmplz_enable_category",function(){document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)})})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.