',l;for(l in o){var h=theChampCapitaliseFirstLetter(o[l].title.replace(/[_. ]/g,""));i+='- '+o[l].svg+''+o[l].title+"
"}i+=concate;var s=document.createElement("div"),n=(s.innerHTML=i,s.setAttribute("id","the_champ_sharing_more_providers"),document.createElement("div"));n.setAttribute("id","the_champ_popup_bg"),jQuery("body").append(s).append(n),document.getElementById("the_champ_popup_bg").onclick=document.getElementById("the_champ_sharing_popup_close").onclick=function(){s.parentNode.removeChild(s),n.parentNode.removeChild(n)},jQuery("#the_champ_sharing_more_content a[alt=Mastodon]").click(function(){event.preventDefault(),heateorSsMastodonPopup(jQuery(this).attr("href"))})}}function heateorSsMastodonPopup(e){var e='",t=document.createElement("div"),a=(t.innerHTML=e,t.setAttribute("id","the_champ_sharing_more_providers"),t.style.height="auto",document.createElement("div"));a.setAttribute("id","heateor_ss_mastodon_popup_bg"),jQuery("body").append(t).append(a),document.getElementById("heateor_ss_mastodon_popup_bg").onclick=document.getElementById("heateor_ss_mastodon_popup_close").onclick=function(){t.parentNode.removeChild(t),a.parentNode.removeChild(a)}}function theChampFilterSharing(e){jQuery("ul.mini li a").each(function(){-1!=jQuery(this).text().toLowerCase().indexOf(e.toLowerCase())?jQuery(this).parent().css("display","block"):jQuery(this).parent().css("display","none")})}window.fbAsyncInit=function(){theChampInitiateFB(),theChampFbIosLogin&&theChampAuthUserFB(),"function"==typeof theChampDisplayLoginIcon&&theChampDisplayLoginIcon(document,["theChampFacebookButton","theChampFacebookLogin"]),("undefined"!=typeof theChampCommentNotification&&1==theChampCommentNotification||"undefined"!=typeof theChampHeateorFcmRecentComments&&1==theChampHeateorFcmRecentComments)&&FB.Event.subscribe("comment.create",function(e){void 0!==e.commentID&&e.commentID&&("undefined"!=typeof theChampCommentNotification&&1==theChampCommentNotification&&jQuery.ajax({type:"POST",dataType:"json",url:theChampSiteUrl+"/index.php",data:{action:"the_champ_moderate_fb_comments",data:e},success:function(e,t,a){}}),"undefined"!=typeof theChampHeateorFcmRecentComments)&&1==theChampHeateorFcmRecentComments&&jQuery.ajax({type:"POST",dataType:"json",url:theChampSiteUrl+"/index.php",data:{action:"heateor_fcm_save_fb_comment",data:e},success:function(e,t,a){}})}),"undefined"!=typeof theChampFbLikeMycred&&theChampFbLikeMycred&&(FB.Event.subscribe("edge.create",function(e){heateorSsmiMycredPoints("Facebook_like_recommend","",e||"")}),FB.Event.subscribe("edge.remove",function(e){heateorSsmiMycredPoints("Facebook_like_recommend","",e||"","Minus point(s) for undoing Facebook like-recommend")})),"undefined"!=typeof theChampSsga&&theChampSsga&&(FB.Event.subscribe("edge.create",function(e){heateorSsgaSocialPluginsTracking("Facebook","Like",e||"")}),FB.Event.subscribe("edge.remove",function(e){heateorSsgaSocialPluginsTracking("Facebook","Unlike",e||"")}))},(e=>{var e,t="facebook-jssdk",a=e.getElementsByTagName("script")[0];e.getElementById(t)||((e=e.createElement("script")).id=t,e.async=!0,e.src="//connect.facebook.net/"+theChampFBLang+"/sdk.js",a.parentNode.insertBefore(e,a))})(document),theChampLoadEvent(function(){theChampRenderFBCommenting()}),void 0===theChampVerticalSharingCountEnable&&(theChampVerticalSharingCountEnable=0),((theChampHorizontalSharingCountEnable=void 0===theChampHorizontalSharingCountEnable?0:theChampHorizontalSharingCountEnable)||theChampVerticalSharingCountEnable)&&theChampLoadEvent(function(){theChampCallAjax(function(){theChampGetSharingCounts()})});var heateorSsFacebookTargetUrls=[];function theChampGetSharingCounts(){var t;"undefined"!=typeof theChampSaveSharesLocally&&1==theChampSaveSharesLocally||(t=[],jQuery(".the_champ_sharing_container").each(function(){var e;void 0===jQuery(this).attr("data-super-socializer-no-counts")&&null!=(e=jQuery(this).attr("data-super-socializer-href"))&&-1==jQuery.inArray(e,heateorSsUrlCountFetched)&&(t.push(e),heateorSsUrlCountFetched.push(e))}),0!=t.length&&jQuery.ajax({type:"GET",dataType:"json",url:theChampSharingAjaxUrl,data:{action:"the_champ_sharing_count",urls:t},success:function(i,e,t){if(1==i.status){for(var l in i.facebook&&(heateorSsFacebookTargetUrls=i.facebook_urls),i.message){var a=jQuery("div[data-super-socializer-href='"+l+"']");jQuery(a).each(function(){var t=0,e;for(e in i.message[l]){var a=parseInt(i.message[l][e])||0,r=jQuery(this).find(".the_champ_"+e+"_count");jQuery(r).attr("data-heateor-ss-st-count")&&(a=parseInt(a)+parseInt(jQuery(r).attr("data-heateor-ss-st-count"))),t+=parseInt(a),a<1||(jQuery(r).html(theChampCalculateApproxCount(a)).css({visibility:"visible",display:"block"}),("undefined"!=typeof theChampReduceHorizontalSvgWidth&&jQuery(this).hasClass("the_champ_horizontal_sharing")||"undefined"!=typeof theChampReduceVerticalSvgWidth&&jQuery(this).hasClass("the_champ_vertical_sharing"))&&jQuery(r).parents("li").find(".theChampSharingSvg").css("float","left"),("undefined"!=typeof theChampReduceHorizontalSvgHeight&&jQuery(this).hasClass("the_champ_horizontal_sharing")||"undefined"!=typeof theChampReduceVerticalSvgHeight&&jQuery(this).hasClass("the_champ_vertical_sharing"))&&jQuery(r).parents("li").find(".theChampSharingSvg").css("marginTop","0"))}var o=jQuery(this).find(".theChampTCBackground");jQuery(o).each(function(){var e=jQuery(this).css("height");jQuery(this).html(''+theChampCalculateApproxCount(t)+'
'+(0==t||1").css("visibility","visible")})})}0!=heateorSsFacebookTargetUrls.length&&theChampFetchFacebookShares(heateorSsFacebookTargetUrls)}}}))}function theChampFetchFacebookShares(e){var t=0,a;for(a in e)for(var r in e[a])t++,theChampFBShareJSONCall(e[a][r],t,e[0].length*e.length,e[0][r])}function theChampFBShareJSONCall(e,t,a,r){jQuery.getJSON("//graph.facebook.com/?id="+e,function(o){var e;o.share&&0<=o.share.share_count&&(e=jQuery("div[data-super-socializer-href='"+r+"']"),jQuery(e).each(function(){var e=jQuery(this).find(".the_champ_facebook_count"),t=jQuery(this).find("i.theChampFacebookBackground"),r=parseInt(o.share.share_count),a,t;void 0!==jQuery(e).attr("data-heateor-ss-st-count")&&(r+=parseInt(jQuery(e).attr("data-heateor-ss-st-count"))),0
')});"undefined"!=typeof theChampMobileStickySharingEnabled&&1==theChampMobileStickySharingEnabled&&jQuery("div.the_champ_vertical_sharing").length&&jQuery(document.body).append(""),new ClipboardJS("a.the_champ_button_copy_link, span.the_champ_s_copy_link, span.the_champ_s_copy_link svg, span.the_champ_more_label_copy_link",{text:function(e){var t,a,t,a,t,a,t,a,t,a,t,a,t,a;return jQuery(e).hasClass("the_champ_button_copy_link")?(t=e.parentElement.parentElement,a=jQuery(t).attr("data-super-socializer-href")||""):jQuery(e).hasClass("the_champ_s_copy_link")?(t=e.parentElement.parentElement.parentElement,(a=jQuery(t).attr("data-super-socializer-href")||"")||(t=e.parentElement.parentElement.parentElement.parentElement.parentElement,a=jQuery(t).attr("data-href")||"")):jQuery(e).parent().hasClass("the_champ_s_copy_link")?(t=e.parentElement.parentElement.parentElement.parentElement,(a=jQuery(t).attr("data-super-socializer-href")||"")||(t=e.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement,a=jQuery(t).attr("data-href")||"")):jQuery(e).hasClass("the_champ_more_label_copy_link")?(t=e.parentElement.parentElement.parentElement.parentElement.parentElement,a=jQuery(t).attr("data-href")||""):"undefined"!=jQuery(e).attr("href")&&(t=e.parentElement.parentElement.parentElement.parentElement,a=jQuery(t).attr("data-href")||""),a}}).on("success",function(e){alert(heateorSsCopyLinkMessage)})}),((e,t)=>{"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()})(this,function(){return r={},o.m=a=[function(e,t){e.exports=function(e){var e,t,t,a,e="SELECT"===e.nodeName?(e.focus(),e.value):"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName?((t=e.hasAttribute("readonly"))||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),t||e.removeAttribute("readonly"),e.value):(e.hasAttribute("contenteditable")&&e.focus(),t=window.getSelection(),(a=document.createRange()).selectNodeContents(e),t.removeAllRanges(),t.addRange(a),t.toString());return e}},function(e,t){function a(){}a.prototype={on:function(e,t,a){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:a}),this},once:function(e,t,a){var r=this;function o(){r.off(e,o),t.apply(a,arguments)}return o._=t,this.on(e,o,a)},emit:function(e){for(var t=[].slice.call(arguments,1),a=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=a.length;r{if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(m,r.a),a(m,[{key:"resolveOptions",value:function(e){var e=0{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(m.__proto__||Object.getPrototypeOf(m)).call(this))).resolveOptions(t),o.listenClick(e),o;throw new TypeError("Cannot call a class as a function")}function v(e,t){var e="data-clipboard-"+e;if(t.hasAttribute(e))return t.getAttribute(e)}t.default=n}],o.c=r,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(a,r,function(e){return t[e]}.bind(null,r));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=6).default;function o(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},a[e].call(t.exports,t,t.exports,o),t.l=!0,t)).exports}var a,r});
(()=>{var r={2076(e){var p=/^(?:submit|button|image|reset|file)$/i,g=/^(?:input|select|textarea|keygen)/i,a=/(\[[^\[\]]*\])/g;function o(e,t,r){var n,a,a,i;return 0===t.length?r:(a=(n=t.shift()).match(/^\[(.+?)\]$/),"[]"===n?(e=e||[],(Array.isArray(e)?e:(e._values=e._values||[],e._values)).push(o(null,t,r))):a?(i=+(a=a[1]),isNaN(i)?(e=e||{})[a]=o(e[a],t,r):(e=e||[])[i]=o(e[i],t,r)):e[n]=o(e[n],t,r),e)}function v(e,t,r){var n;return t.match(a)?o(e,(e=>{var t=[],r=new RegExp(a),n=/^([^\[\]]*)/.exec(e);for(n[1]&&t.push(n[1]);null!==(n=r.exec(e));)t.push(n[1]);return t})(t),r):(n=e[t])?(Array.isArray(n)||(e[t]=[n]),e[t].push(r)):e[t]=r,e}function y(e,t,r){return r=r.replace(/(\r)?\n/g,"\r\n"),r=(r=encodeURIComponent(r)).replace(/%20/g,"+"),e+(e?"&":"")+encodeURIComponent(t)+"="+r}e.exports=function(e,t){"object"!=typeof t?t={hash:!!t}:void 0===t.hash&&(t.hash=!0);for(var r=t.hash?{}:"",n=t.serializer||(t.hash?v:y),a=e&&e.elements?e.elements:[],i=Object.create(null),o=0;o{var r=[],n=e.querySelectorAll('input[name="'+t+'"],select[name="'+t+'"],textarea[name="'+t+'"]');for(let e=0;e{let t=e;for(;t.parentElement;)if("FORM"===(t=t.parentElement).tagName)return t;return null})(e),n);let o=!1;for(let e=0;ee.apply(null,t))},t.prototype.on=function(e,t){this.listeners[e]=this.listeners[e]??[],this.listeners[e].push(t)},e.exports=t}},n={};function a(e){var t=n[e],t;return void 0!==t||(t=n[e]={exports:{}},r[e](t,t.exports,a)),t.exports}let e=window.mc4wp||{},i=a(9685);function t(e,r){document.addEventListener(e,e=>{var t;e.target&&("string"==typeof(t=e.target).className&&-1{var a={},e;a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();let s="email",m="phone",u="name",o={email:["email","e-mail","mail","email address"],phone:["phone","tel","mobile","cell","telephone","phone number"],name:["name","full-name","full name","full_name","fullname","first-name","first name","first_name","firstname","last-name","last name","last_name","lastname","given-name","given name","given_name","givenname","family-name","family name","family_name","familyname","fname","lname","first","last","your-name","your name"]};function f(e){return e&&"string"==typeof e?e.trim().toLowerCase():""}function c(e){var e=f(e),t=e.lastIndexOf("@"),n;return-1!==t&&(n=e.slice(t+1),["gmail.com","googlemail.com"].includes(n))?e.slice(0,t).replace(/\./g,"")+"@"+n:e}function g(e){var e=f(e),t=e.replace(/\D/g,"");return e.startsWith("+")?"+"+t:t}function r(e){var e=e.filter(e=>{var{type:e}=e;return e===u}).map(e=>{var{value:e}=e;return f(e)}).filter(Boolean),e,t;if(e.length)return[e,...t]=1===e.length?e[0].split(" "):e,{first_name:e,...0{var{type:e}=e;return e===s})?.value}function v(e){return e.find(e=>{var{type:e}=e;return e===m})?.value}(e=a.g.mc4wp)&&e.forms.on("subscribed",(e,t)=>{var n,e=a.g._googlesitekit?.gtagUserData?((l,i)=>{if(l&&l instanceof HTMLFormElement){var e=Object.entries(i).map(e=>{var[e,t]=e;if("NAME"===e&&("FNAME"in i||"LNAME"in i))return null;var n=l.querySelector(`[name='${e}']`),a=n?.type,a,{type:a,name:n,value:r,label:e}=a={type:a,label:n?.id?l.querySelector(`label[for='${n?.id}']`)?.textContent:void 0,name:e,value:t},a=f(a),n=f(n),r=f(r),t,e=(t=e)&&"string"==typeof t?t.trim().toLowerCase().replace(/\s*\*+\s*$/,"").replace(/\s*\(required\)\s*$/i,"").replace(/\s*:\s*$/,"").trim():"";switch(a){case"email":return{type:s,value:c(r)};case"tel":return{type:m,value:g(r)}}return(e=>{var e;if(e)return e=c(e),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)})(r)||o[s].includes(n)||o[s].includes(e)?{type:s,value:c(r)}:o[m].includes(n)||o[m].includes(e)?{type:m,value:g(r)}:o[u].includes(n)||o[u].includes(e)?{type:u,value:f(r)}:(e=>{if(e&&!((n=(t=e).replace(/\D/g,"")).length<7||n.length{var[,e]=e;return e})).length)return Object.fromEntries(e)}})(e.element,t):null;a.g._googlesitekit?.gtagEvent?.("submit_lead_form",{event_category:"mailchimp",...e?{user_data:e}:{}})})})();