(()=>{"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}})))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=>t===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,status: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)=>(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)=>{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)})))}))};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.")}))})();
(function($){
'use strict';
$('.wp-block-pdf-viewer-block-standard').each(function(){
var href=encodeURI($(this).find('.uploaded-pdf > a').attr('href') );
if(href!=undefined&&href!=''){
var widthValue=$(this).find('.uploaded-pdf > a').attr('data-width');
var heightValue=$(this).find('.uploaded-pdf > a').attr('data-height');
var width='100%';
if($.isNumeric(widthValue)&&widthValue > 0){
width=$(this).find('.uploaded-pdf > a').attr('data-width') + 'px';
}
var height='700px';
if($.isNumeric(heightValue)&&heightValue > 0){
height=$(this).find('.uploaded-pdf > a').attr('data-height') + 'px';
}
$('<iframe class="pdfjs-viewer" style="width:' + width + ';height:' + height + '" src="' + pdfViewerUrl + '?file=' + href + '"></iframe>').appendTo($(this) );
$(this).find('.uploaded-pdf').remove();
}});
})(jQuery);
jQuery(document).ready(function($){
console.log('eeSFL Document Ready');
window.addEventListener('touchstart', function(){
eeSFL_isTouchscreen=true;
});
jQuery('#eeSFL_Modal_Manage_Close').on('click', function(){
jQuery('#eeSFL_Modal_Manage').hide();
});
});
String.prototype.eeSFL_StripSlashes=function(){
return this.replace(/\\(.)/mg, "$1");
}
function eeSFL_CopyLinkToClipboard(eeSFL_FileURL){
var eeTemp=jQuery('<input name="eeTemp" value="' + eeSFL_FileURL + '" type="url" class="" id="eeTemp" />');
jQuery("body").append(eeTemp);
var eeTempInput=jQuery('#eeTemp');
eeTempInput.focus();
eeTempInput.select();
document.execCommand ("copy");
eeTemp.remove();
alert(eesfl_vars['eeCopyLinkText'] + "\r\n" + eeSFL_FileURL);
}
function eeSFL_ValidateEmail(eeSFL_CheckEmail){
var eeSFL_EmailFormat=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
if(eeSFL_CheckEmail.match(eeSFL_EmailFormat)){
return 'GOOD';
}else{
return "BAD";
}}
function eeSFL_GetFileSize(bytes){
var si=1024;
var thresh=si ? 1000:1024;
if(Math.abs(bytes) < thresh){
return bytes + ' B';
}
var units=si
? ['kB','MB','GB','TB','PB','EB','ZB','YB']
: ['KiB','MiB','GiB','TiB','PiB','EiB','ZiB','YiB'];
var u=-1;
do {
bytes /=thresh;
++u;
} while(Math.abs(bytes) >=thresh&&u < units.length - 1);
return bytes.toFixed(1)+' '+units[u];
};
(function($){
$.fn.magnify=function(oOptions){
oOptions=$.extend({
'src': '',
'speed': 100,
'timeout': -1,
'touchBottomOffset': 0,
'finalWidth': null,
'finalHeight': null,
'magnifiedWidth': null,
'magnifiedHeight': null,
'limitBounds': false,
'mobileCloseEvent': 'touchstart',
'afterLoad': function(){}}, oOptions);
var $that=this,
$html=$('html'),
init=function(el){
var $image=$(el),
$anchor=$image.closest('a'),
oDataAttr={};
for (var i in oOptions){
oDataAttr[i]=$image.attr('data-magnify-' + i.toLowerCase());
}
var sZoomSrc=oDataAttr['src']||oOptions['src']||$anchor.attr('href')||'';
if(!sZoomSrc) return;
var $container,
$lens,
nImageWidth,
nImageHeight,
nMagnifiedWidth,
nMagnifiedHeight,
nLensWidth,
nLensHeight,
nBoundX=0,
nBoundY=0,
oContainerOffset,
oImageOffset,
getOffset=function(){
var o=$container.offset();
oImageOffset={
'top': ($image.offset().top-o.top) + parseInt($image.css('border-top-width')) + parseInt($image.css('padding-top')),
'left': ($image.offset().left-o.left) + parseInt($image.css('border-left-width')) + parseInt($image.css('padding-left'))
};
o.top +=oImageOffset['top'];
o.left +=oImageOffset['left'];
return o;
},
hideLens=function(){
if($lens.is(':visible')) $lens.fadeOut(oOptions['speed'], function(){
$html.removeClass('magnifying').trigger('magnifyend');
});
},
moveLens=function(e){
if(!nImageHeight){
refresh();
return;
}
if(e){
e.preventDefault();
nPosX=e.pageX||e.originalEvent.touches[0].pageX;
nPosY=e.pageY||e.originalEvent.touches[0].pageY;
$image.data('lastPos', {
'x': nPosX,
'y': nPosY
});
}else{
nPosX=$image.data('lastPos').x;
nPosY=$image.data('lastPos').y;
}
nX=nPosX - oContainerOffset['left'],
nY=(nPosY - oContainerOffset['top']) - oOptions['touchBottomOffset'];
if(!$lens.is(':animated')){
if(nX>nBoundX&&nX<nImageWidth-nBoundX&&nY>nBoundY&&nY<nImageHeight-nBoundY){
if($lens.is(':hidden')){
$html.addClass('magnifying').trigger('magnifystart');
$lens.fadeIn(oOptions['speed']);
}}else{
hideLens();
}}
if($lens.is(':visible')){
var sBgPos='';
if(nMagnifiedWidth&&nMagnifiedHeight){
var nRatioX=-Math.round(nX/nImageWidth*nMagnifiedWidth-nLensWidth/2),
nRatioY=-Math.round(nY/nImageHeight*nMagnifiedHeight-nLensHeight/2);
if(oOptions['limitBounds']){
var nBoundRight=-Math.round((nImageWidth-nBoundX)/nImageWidth*nMagnifiedWidth-nLensWidth/2),
nBoundBottom=-Math.round((nImageHeight-nBoundY)/nImageHeight*nMagnifiedHeight-nLensHeight/2);
if(nRatioX>0) nRatioX=0;
else if(nRatioX<nBoundRight) nRatioX=nBoundRight;
if(nRatioY>0) nRatioY=0;
else if(nRatioY<nBoundBottom) nRatioY=nBoundBottom;
}
sBgPos=nRatioX + 'px ' + nRatioY + 'px';
}
$lens.css({
'top': Math.round(nY-nLensHeight/2) + oImageOffset['top'] + 'px',
'left': Math.round(nX-nLensWidth/2) + oImageOffset['left'] + 'px',
'background-position': sBgPos
});
}};
if(!isNaN(+oDataAttr['speed'])) oOptions['speed']=+oDataAttr['speed'];
if(!isNaN(+oDataAttr['timeout'])) oOptions['timeout']=+oDataAttr['timeout'];
if(!isNaN(+oDataAttr['finalWidth'])) oOptions['finalWidth']=+oDataAttr['finalWidth'];
if(!isNaN(+oDataAttr['finalHeight'])) oOptions['finalHeight']=+oDataAttr['finalHeight'];
if(!isNaN(+oDataAttr['magnifiedWidth'])) oOptions['magnifiedWidth']=+oDataAttr['magnifiedWidth'];
if(!isNaN(+oDataAttr['magnifiedHeight'])) oOptions['magnifiedHeight']=+oDataAttr['magnifiedHeight'];
if(oDataAttr['limitBounds']==='true') oOptions['limitBounds']=true;
if(typeof window[oDataAttr['afterLoad']]==='function') oOptions.afterLoad=window[oDataAttr['afterLoad']];
if(/\b(Android|BlackBerry|IEMobile|iPad|iPhone|Mobile|Opera Mini)\b/.test(navigator.userAgent)){
if(!isNaN(+oDataAttr['touchBottomOffset'])) oOptions['touchBottomOffset']=+oDataAttr['touchBottomOffset'];
}else{
oOptions['touchBottomOffset']=0;
}
$image.data('originalStyle', $image.attr('style'));
var elZoomImage=new Image();
$(elZoomImage).on({
'load': function(){
var nPosX, nPosY, nX, nY;
$image.css('display', 'block');
if(!$image.parent('.magnify').length){
$image.wrap('<div class="magnify"></div>');
}
$container=$image.parent('.magnify');
if($image.prev('.magnify-lens').length){
$container.children('.magnify-lens').css('background-image', 'url(\'' + sZoomSrc + '\')');
}else{
$image.before('<div class="magnify-lens loading" style="background:url(\'' + sZoomSrc + '\') 0 0 no-repeat"></div>');
}
$lens=$container.children('.magnify-lens');
$lens.removeClass('loading');
nImageWidth=oOptions['finalWidth']||$image.width();
nImageHeight=oOptions['finalHeight']||$image.height();
nMagnifiedWidth=oOptions['magnifiedWidth']||elZoomImage.width;
nMagnifiedHeight=oOptions['magnifiedHeight']||elZoomImage.height;
nLensWidth=$lens.width();
nLensHeight=$lens.height();
oContainerOffset=getOffset();
if(oOptions['limitBounds']){
nBoundX=(nLensWidth/2) / (nMagnifiedWidth/nImageWidth);
nBoundY=(nLensHeight/2) / (nMagnifiedHeight/nImageHeight);
}
if(nMagnifiedWidth!==elZoomImage.width||nMagnifiedHeight!==elZoomImage.height){
$lens.css('background-size', nMagnifiedWidth + 'px ' + nMagnifiedHeight + 'px');
}
$image.data('zoomSize', {
'width': nMagnifiedWidth,
'height': nMagnifiedHeight
});
$container.data('mobileCloseEvent', oDataAttr['mobileCloseEvent']||oOptions['mobileCloseEvent']);
elZoomImage=null;
oOptions.afterLoad();
if($lens.is(':visible')) moveLens();
$container.off().on({
'mousemove touchmove': moveLens,
'mouseenter': function(){
oContainerOffset=getOffset();
},
'mouseleave': hideLens
});
if(oOptions['timeout']>=0){
$container.on('touchend', function(){
setTimeout(hideLens, oOptions['timeout']);
});
}
$('body').not($container).on('touchstart', hideLens);
var sUsemap=$image.attr('usemap');
if(sUsemap){
var $map=$('map[name=' + sUsemap.slice(1) + ']');
$image.after($map);
$container.click(function(e){
if(e.clientX||e.clientY){
$lens.hide();
var elPoint=document.elementFromPoint(e.clientX||e.originalEvent.touches[0].clientX,
e.clientY||e.originalEvent.touches[0].clientY
);
if(elPoint.nodeName==='AREA'){
elPoint.click();
}else{
$('area', $map).each(function(){
var a=$(this).attr('coords').split(',');
if(nX>=a[0]&&nX<=a[2]&&nY>=a[1]&&nY<=a[3]){
this.click();
return false;
}});
}}
});
}
if($anchor.length){
$anchor.css('display', 'inline-block');
if($anchor.attr('href')&&!(oDataAttr['src']||oOptions['src'])){
$anchor.click(function(e){
e.preventDefault();
});
}}
},
'error': function(){
elZoomImage=null;
}});
elZoomImage.src=sZoomSrc;
},
nTimer=0,
refresh=function(){
clearTimeout(nTimer);
nTimer=setTimeout(function(){
$that.destroy();
$that.magnify(oOptions);
}, 100);
};
this.destroy=function(){
this.each(function(){
var $this=$(this),
$lens=$this.prev('div.magnify-lens'),
sStyle=$this.data('originalStyle');
if($this.parent('div.magnify').length&&$lens.length){
if(sStyle) $this.attr('style', sStyle);
else $this.removeAttr('style');
$this.unwrap();
$lens.remove();
}});
$(window).off('resize', refresh);
return $that;
}
$(window).resize(refresh);
return this.each(function(){
init(this);
});
};}(jQuery));
!function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isInCustomPslist:function(e){return-1!==["0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","b.br","i.ng","i.ph","a.se","b.se","c.se","d.se","e.se","f.se","g.se","h.se","i.se","k.se","l.se","m.se","n.se","o.se","p.se","r.se","s.se","t.se","u.se","w.se","x.se","y.se","z.se","v.ua","ac.ae","co.ae","co.ag","co.am","co.ao","ed.ao","gv.ao","it.ao","og.ao","pb.ao","ac.at","co.at","gv.at","or.at","id.au","oz.au","nt.au","sa.au","wa.au","pp.az","co.bb","tv.bb","ac.be","co.bi","or.bi","co.bj","tv.bo","am.br","fm.br","mp.br","tc.br","tv.br","co.bw","of.by","co.bz","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","ac.ci","co.ci","ed.ci","go.ci","or.ci","co.cl","co.cm","ac.cn","公司.cn","網絡.cn","网络.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gx.cn","gz.cn","ha.cn","hb.cn","he.cn","hi.cn","hk.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","mo.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","tw.cn","xj.cn","xz.cn","yn.cn","zj.cn","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","id.cv","ac.cy","tm.cy","co.dm","tm.dz","ac.eg","me.eg","tv.eg","ac.fj","tm.fr","co.gg","co.gl","ac.gn","co.gy","个人.hk","個人.hk","公司.hk","政府.hk","敎育.hk","教育.hk","箇人.hk","組織.hk","組织.hk","網絡.hk","網络.hk","组織.hk","组织.hk","网絡.hk","网络.hk","iz.hr","co.hu","tm.hu","ac.id","co.id","go.id","my.id","or.id","ac.il","co.il","ac.im","co.im","tt.im","tv.im","5g.in","6g.in","ac.in","ai.in","am.in","ca.in","cn.in","co.in","cs.in","dr.in","er.in","io.in","me.in","pg.in","tv.in","uk.in","up.in","us.in","co.io","ac.ir","co.ir","id.ir","ag.it","al.it","an.it","ao.it","ap.it","aq.it","ar.it","at.it","av.it","ba.it","bg.it","bi.it","bl.it","bn.it","bo.it","br.it","bs.it","bt.it","bz.it","ca.it","cb.it","ce.it","ch.it","ci.it","cl.it","cn.it","co.it","cr.it","cs.it","ct.it","cz.it","en.it","fc.it","fe.it","fg.it","fi.it","fm.it","fr.it","ge.it","go.it","gr.it","im.it","is.it","kr.it","lc.it","le.it","li.it","lo.it","lt.it","lu.it","mb.it","mc.it","me.it","mi.it","mn.it","mo.it","ms.it","mt.it","na.it","no.it","nu.it","og.it","or.it","ot.it","pa.it","pc.it","pd.it","pe.it","pg.it","pi.it","pn.it","po.it","pr.it","pt.it","pu.it","pv.it","pz.it","ra.it","rc.it","re.it","rg.it","ri.it","rm.it","rn.it","ro.it","sa.it","si.it","so.it","sp.it","sr.it","ss.it","sv.it","ta.it","te.it","tn.it","to.it","tp.it","tr.it","ts.it","tv.it","ud.it","va.it","vb.it","vc.it","ve.it","vi.it","vr.it","vs.it","vt.it","vv.it","co.je","ai.jo","fm.jo","tv.jo","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","三重.jp","京都.jp","佐賀.jp","兵庫.jp","千葉.jp","埼玉.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岐阜.jp","岡山.jp","岩手.jp","島根.jp","広島.jp","徳島.jp","愛媛.jp","愛知.jp","新潟.jp","東京.jp","栃木.jp","沖縄.jp","滋賀.jp","熊本.jp","石川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","茨城.jp","長崎.jp","長野.jp","青森.jp","静岡.jp","香川.jp","高知.jp","鳥取.jp","ac.ke","co.ke","go.ke","me.ke","ne.ke","or.ke","sc.ke","tm.km","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","co.lc","ac.lk","ac.ls","co.ls","sc.ls","id.lv","id.ly","ac.ma","co.ma","tm.mc","ac.me","co.me","co.mg","ac.mu","co.mu","or.mu","ac.mw","co.mw","ac.mz","co.mz","co.na","ac.ni","co.ni","in.ni","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","mr.no","nl.no","nt.no","of.no","ol.no","rl.no","sf.no","st.no","tm.no","tr.no","va.no","vf.no","al.no","ål.no","ås.no","ha.no","hå.no","ac.nz","co.nz","co.om","ac.pa","ac.pk","pc.pl","tm.pl","co.pn","ac.pr","co.pw","ed.pw","go.pw","or.pw","nt.ro","tm.ro","ac.rs","co.rs","in.rs","ac.rw","co.rw","tv.sd","ac.se","bd.se","fh.se","pp.se","tm.se","me.so","co.ss","me.ss","co.st","ac.sz","co.sz","ac.th","co.th","go.th","in.th","mi.th","or.th","ac.tj","co.tj","go.tj","co.tm","av.tr","dr.tr","tv.tr","nc.tr","co.tt","ac.tz","co.tz","go.tz","me.tz","ne.tz","or.tz","sc.tz","tv.tz","in.ua","ck.ua","cn.ua","cr.ua","cv.ua","dn.ua","dp.ua","if.ua","kh.ua","km.ua","kr.ua","ks.ua","kv.ua","lg.ua","lt.ua","lv.ua","mk.ua","od.ua","pl.ua","rv.ua","sb.ua","sm.ua","te.ua","uz.ua","vn.ua","zp.ua","zt.ua","ac.ug","co.ug","go.ug","ne.ug","or.ug","sc.ug","ac.uk","co.uk","me.uk","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","va.us","vi.us","vt.us","wa.us","wi.us","wv.us","wy.us","co.uz","co.ve","co.vi","ac.vn","ai.vn","id.vn","io.vn","個人.香港","公司.香港","政府.香港","教育.香港","組織.香港","網絡.香港","ac.za","co.za","tm.za","ac.zm","co.zm","ac.zw","co.zw","cc.ua","f5.si","gv.vc","of.je","ju.mp","za.bz","cx.ua","co.ca","co.nl","co.no","ac.ru","co.dk","us.kg","dy.fi","e4.cz","rt.ht","0e.vc","co.ro","ua.rs","ie.ua","co.cz","ir.md","we.bs","co.pl","pp.ru","ox.rs","oy.lc","co.bn","я.рус","x0.to","co.ua","pp.ua","rs.ba","com.ac","edu.ac","gov.ac","mil.ac","net.ac","org.ac","gov.ae","mil.ae","net.ae","org.ae","sch.ae","com.af","edu.af","gov.af","net.af","org.af","com.ag","net.ag","nom.ag","org.ag","com.ai","net.ai","off.ai","org.ai","com.al","edu.al","gov.al","mil.al","net.al","org.al","com.am","net.am","org.am","edu.ao","gov.ao","org.ao","bet.ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","net.ar","org.ar","tur.ar","gov.as","asn.au","com.au","edu.au","gov.au","net.au","org.au","act.au","nsw.au","qld.au","tas.au","vic.au","com.aw","biz.az","com.az","edu.az","gov.az","int.az","mil.az","net.az","org.az","pro.az","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","biz.bb","com.bb","edu.bb","gov.bb","net.bb","org.bb","gov.bf","com.bh","edu.bh","gov.bh","net.bh","org.bh","com.bi","edu.bi","org.bi","com.bj","eco.bj","edu.bj","net.bj","org.bj","ote.bj","com.bm","edu.bm","gov.bm","net.bm","org.bm","com.bn","edu.bn","gov.bn","net.bn","org.bn","com.bo","edu.bo","gob.bo","int.bo","mil.bo","net.bo","org.bo","web.bo","abc.br","adm.br","adv.br","agr.br","aju.br","app.br","arq.br","art.br","ato.br","bet.br","bhz.br","bib.br","bio.br","bmd.br","bsb.br","cim.br","cng.br","cnt.br","com.br","coz.br","cri.br","def.br","des.br","det.br","dev.br","ecn.br","eco.br","edu.br","emp.br","enf.br","eng.br","esp.br","etc.br","eti.br","far.br","fnd.br","fot.br","foz.br","fst.br","g12.br","geo.br","ggf.br","gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jdf.br","jor.br","jus.br","leg.br","lel.br","log.br","mat.br","med.br","mil.br","mus.br","net.br","not.br","ntr.br","odo.br","ong.br","org.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","rec.br","rep.br","rio.br","seg.br","sjc.br","slg.br","slz.br","srv.br","tec.br","teo.br","the.br","tmp.br","trd.br","tur.br","udi.br","vet.br","vix.br","zlg.br","com.bs","edu.bs","gov.bs","net.bs","org.bs","com.bt","edu.bt","gov.bt","net.bt","org.bt","org.bw","gov.by","mil.by","com.by","com.bz","edu.bz","gov.bz","net.bz","org.bz","gov.cd","com.ci","edu.ci","int.ci","net.ci","org.ci","gob.cl","gov.cl","mil.cl","com.cm","gov.cm","net.cm","com.cn","edu.cn","gov.cn","mil.cn","net.cn","org.cn","com.co","edu.co","gov.co","mil.co","net.co","nom.co","org.co","com.cu","edu.cu","gob.cu","inf.cu","nat.cu","net.cu","org.cu","com.cv","edu.cv","int.cv","net.cv","org.cv","com.cw","edu.cw","net.cw","org.cw","gov.cx","biz.cy","com.cy","gov.cy","ltd.cy","mil.cy","net.cy","org.cy","pro.cy","com.dm","edu.dm","gov.dm","net.dm","org.dm","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","art.dz","com.dz","edu.dz","gov.dz","net.dz","org.dz","pol.dz","soc.dz","com.ec","edu.ec","fin.ec","gob.ec","gov.ec","k12.ec","med.ec","mil.ec","net.ec","org.ec","pro.ec","aip.ee","com.ee","edu.ee","fie.ee","gov.ee","lib.ee","med.ee","org.ee","pri.ee","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","net.eg","org.eg","sci.eg","com.es","edu.es","gob.es","nom.es","org.es","biz.et","com.et","edu.et","gov.et","net.et","org.et","biz.fj","com.fj","gov.fj","mil.fj","net.fj","org.fj","pro.fj","com.fm","edu.fm","net.fm","org.fm","com.fr","nom.fr","prd.fr","cci.fr","edu.gd","gov.gd","com.ge","edu.ge","gov.ge","net.ge","org.ge","pvt.ge","net.gg","org.gg","com.gh","edu.gh","gov.gh","mil.gh","org.gh","com.gi","edu.gi","gov.gi","ltd.gi","mod.gi","org.gi","com.gl","edu.gl","net.gl","org.gl","com.gn","edu.gn","gov.gn","net.gn","org.gn","com.gp","edu.gp","net.gp","org.gp","com.gr","edu.gr","gov.gr","net.gr","org.gr","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","com.gu","edu.gu","gov.gu","net.gu","org.gu","web.gu","com.gy","edu.gy","gov.gy","net.gy","org.gy","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","com.hn","edu.hn","gob.hn","mil.hn","net.hn","org.hn","com.hr","art.ht","com.ht","edu.ht","med.ht","net.ht","org.ht","pol.ht","pro.ht","rel.ht","org.hu","sex.hu","biz.id","mil.id","net.id","sch.id","web.id","gov.ie","gov.il","idf.il","k12.il","net.il","org.il","com.im","net.im","org.im","biz.in","com.in","edu.in","gen.in","gov.in","ind.in","int.in","mil.in","net.in","nic.in","org.in","pro.in","res.in","eu.int","com.io","edu.io","gov.io","mil.io","net.io","nom.io","org.io","com.iq","edu.iq","gov.iq","mil.iq","net.iq","org.iq","gov.ir","net.ir","org.ir","sch.ir","edu.it","gov.it","abr.it","bas.it","cal.it","cam.it","emr.it","fvg.it","laz.it","lig.it","lom.it","mar.it","mol.it","pmn.it","pug.it","sar.it","sic.it","taa.it","tos.it","umb.it","vao.it","vda.it","ven.it","net.je","org.je","com.jo","edu.jo","eng.jo","gov.jo","mil.jo","net.jo","org.jo","per.jo","phd.jo","sch.jo","mie.jp","北海道.jp","和歌山.jp","神奈川.jp","鹿児島.jp","com.kg","edu.kg","gov.kg","mil.kg","net.kg","org.kg","biz.ki","com.ki","edu.ki","gov.ki","net.ki","org.ki","ass.km","com.km","edu.km","gov.km","mil.km","nom.km","org.km","prd.km","edu.kn","gov.kn","net.kn","org.kn","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","mil.kr","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","com.ky","edu.ky","net.ky","org.ky","com.kz","edu.kz","gov.kz","mil.kz","net.kz","org.kz","com.la","edu.la","gov.la","int.la","net.la","org.la","per.la","com.lb","edu.lb","gov.lb","net.lb","org.lb","com.lc","edu.lc","gov.lc","net.lc","org.lc","com.lk","edu.lk","gov.lk","grp.lk","int.lk","ltd.lk","net.lk","ngo.lk","org.lk","sch.lk","soc.lk","web.lk","com.lr","edu.lr","gov.lr","net.lr","org.lr","biz.ls","edu.ls","gov.ls","net.ls","org.ls","gov.lt","asn.lv","com.lv","edu.lv","gov.lv","mil.lv","net.lv","org.lv","com.ly","edu.ly","gov.ly","med.ly","net.ly","org.ly","plc.ly","sch.ly","gov.ma","net.ma","org.ma","edu.me","gov.me","its.me","net.me","org.me","com.mg","edu.mg","gov.mg","mil.mg","nom.mg","org.mg","prd.mg","com.mk","edu.mk","gov.mk","inf.mk","net.mk","org.mk","com.ml","edu.ml","gov.ml","net.ml","org.ml","edu.mn","gov.mn","org.mn","com.mo","edu.mo","gov.mo","net.mo","org.mo","gov.mr","com.ms","edu.ms","gov.ms","net.ms","org.ms","com.mt","edu.mt","net.mt","org.mt","com.mu","gov.mu","net.mu","org.mu","biz.mv","com.mv","edu.mv","gov.mv","int.mv","mil.mv","net.mv","org.mv","pro.mv","biz.mw","com.mw","edu.mw","gov.mw","int.mw","net.mw","org.mw","com.mx","edu.mx","gob.mx","net.mx","org.mx","biz.my","com.my","edu.my","gov.my","mil.my","net.my","org.my","adv.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","alt.na","com.na","gov.na","net.na","org.na","nom.nc","com.nf","net.nf","per.nf","rec.nf","web.nf","com.ng","edu.ng","gov.ng","mil.ng","net.ng","org.ng","sch.ng","biz.ni","com.ni","edu.ni","gob.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","fhs.no","vgs.no","dep.no","mil.no","eid.no","fet.no","fla.no","flå.no","gol.no","hof.no","hol.no","lom.no","sel.no","ski.no","vik.no","biz.nr","com.nr","edu.nr","gov.nr","net.nr","org.nr","cri.nz","gen.nz","iwi.nz","mil.nz","net.nz","org.nz","com.om","edu.om","gov.om","med.om","net.om","org.om","pro.om","abo.pa","com.pa","edu.pa","gob.pa","ing.pa","med.pa","net.pa","nom.pa","org.pa","sld.pa","com.pe","edu.pe","gob.pe","mil.pe","net.pe","nom.pe","org.pe","com.pf","edu.pf","org.pf","com.ph","edu.ph","gov.ph","mil.ph","net.ph","ngo.ph","org.ph","biz.pk","com.pk","edu.pk","fam.pk","gkp.pk","gob.pk","gog.pk","gok.pk","gon.pk","gop.pk","gos.pk","gov.pk","net.pk","org.pk","web.pk","com.pl","net.pl","org.pl","aid.pl","atm.pl","biz.pl","edu.pl","gsm.pl","mil.pl","nom.pl","rel.pl","sex.pl","sos.pl","gov.pl","elk.pl","waw.pl","edu.pn","gov.pn","net.pn","org.pn","biz.pr","com.pr","edu.pr","gov.pr","net.pr","org.pr","pro.pr","est.pr","com.ps","edu.ps","gov.ps","net.ps","org.ps","plo.ps","sec.ps","com.pt","edu.pt","gov.pt","int.pt","net.pt","org.pt","com.py","edu.py","gov.py","mil.py","net.py","org.py","com.qa","edu.qa","gov.qa","mil.qa","net.qa","org.qa","sch.qa","com.re","com.ro","nom.ro","org.ro","rec.ro","www.ro","edu.rs","gov.rs","org.rs","gov.rw","mil.rw","net.rw","org.rw","com.sa","edu.sa","gov.sa","med.sa","net.sa","org.sa","pub.sa","sch.sa","com.sb","edu.sb","gov.sb","net.sb","org.sb","com.sc","edu.sc","gov.sc","net.sc","org.sc","com.sd","edu.sd","gov.sd","med.sd","net.sd","org.sd","fhv.se","org.se","com.sg","edu.sg","gov.sg","net.sg","org.sg","com.sh","gov.sh","mil.sh","net.sh","org.sh","com.sl","edu.sl","gov.sl","net.sl","org.sl","art.sn","com.sn","edu.sn","org.sn","com.so","edu.so","gov.so","net.so","org.so","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","sch.ss","com.st","edu.st","mil.st","net.st","org.st","com.sv","edu.sv","gob.sv","org.sv","red.sv","gov.sx","com.sy","edu.sy","gov.sy","mil.sy","net.sy","org.sy","org.sz","net.th","biz.tj","com.tj","edu.tj","gov.tj","int.tj","mil.tj","net.tj","nic.tj","org.tj","web.tj","gov.tl","com.tm","edu.tm","gov.tm","mil.tm","net.tm","nom.tm","org.tm","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","nat.tn","net.tn","org.tn","com.to","edu.to","gov.to","mil.to","net.to","org.to","bbs.tr","bel.tr","biz.tr","com.tr","edu.tr","gen.tr","gov.tr","k12.tr","kep.tr","mil.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","web.tr","biz.tt","com.tt","edu.tt","gov.tt","mil.tt","net.tt","org.tt","pro.tt","com.tw","edu.tw","gov.tw","idv.tw","mil.tw","net.tw","org.tw","mil.tz","com.ua","edu.ua","gov.ua","net.ua","org.ua","com.ug","org.ug","gov.uk","ltd.uk","net.uk","nhs.uk","org.uk","plc.uk","dni.us","fed.us","isa.us","nsn.us","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","com.uz","net.uz","org.uz","com.vc","edu.vc","gov.vc","mil.vc","net.vc","org.vc","bib.ve","com.ve","e12.ve","edu.ve","gob.ve","gov.ve","int.ve","mil.ve","net.ve","nom.ve","org.ve","rar.ve","rec.ve","tec.ve","web.ve","com.vi","k12.vi","net.vi","org.vi","biz.vn","com.vn","edu.vn","gov.vn","int.vn","net.vn","org.vn","pro.vn","com.vu","edu.vu","net.vu","org.vu","com.ws","edu.ws","gov.ws","net.ws","org.ws","ак.срб","од.срб","пр.срб","com.ye","edu.ye","gov.ye","mil.ye","net.ye","org.ye","alt.za","edu.za","gov.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","web.za","biz.zm","com.zm","edu.zm","gov.zm","mil.zm","net.zm","org.zm","sch.zm","gov.zw","mil.zw","org.zw","co.krd","art.pl","inf.ua","ltd.ua","611.to","bnr.la","drr.ac","uwu.ai","crd.co","br.com","cn.com","de.com","eu.com","ru.com","sa.com","uk.com","us.com","za.com","com.de","gb.net","hu.net","jp.net","se.net","uk.net","ae.org","com.se","c66.me","r2.dev","co.com","edu.ru","gov.ru","int.ru","mil.ru","biz.dk","reg.dk","ath.cx","url.tw","eu.org","ru.net","bir.ru","cbg.ru","com.ru","msk.ru","nov.ru","spb.ru","msk.su","nov.su","spb.su","shw.io","0am.jp","0g0.jp","0j0.jp","0t0.jp","pgw.jp","wjg.jp","lab.ms","gsj.bz","boo.jp","boy.jp","but.jp","chu.jp","daa.jp","fem.jp","her.jp","moo.jp","pya.jp","sub.jp","gov.nl","fin.ci","caa.li","biz.gl","biz.ng","col.ng","gen.ng","ltd.ng","ngo.ng","plc.ng","gr.com","iki.fi","biz.at","js.org","oya.to","csx.cc","net.ru","org.ru","4u.com","ngo.us","n4t.co","nyc.mn","can.re","own.pm","srv.us","lk3.ru","qcx.io","web.in","in.net","hzc.io","rub.de","ras.ru","x0.com","2-d.jp","eek.jp","rdy.jp","rgr.jp","skr.jp","xii.jp","biz.ua","vp4.me","ts.net","gda.pl","med.pl","2ix.at","2ix.ch","2ix.de","hk.com","inc.hk","ltd.hk","hk.org","it.com","sch.tf","biz.wf","sch.wf","org.yt","us.org","now.sh","box.ca","ynh.fr","za.net","za.org"].indexOf(e)},deleteCookie:function(e,t,o){if(this.setCookie(e,"del",-1,t,o),t&&"string"!=typeof t&&this.setCookie(e,"del",-1,"."+t,o),this.setCookie(e,"del",-1,"."+location.hostname,o),this.setCookie(e,"del",-1,"",o),"string"==typeof t&&t){var i=t.replace(/^[^.]*\./,"");i.split(".").length-1>0&&!this.isInCustomPslist(i)&&(this.setCookie(e,"del",-1,"."+i,o),this.setCookie(e,"del",-1,i,o))}else(i=location.hostname.replace(/^[^.]*\./,"")).split(".").length-1>0&&!this.isInCustomPslist(i)&&(this.setCookie(e,"del",-1,"."+i,o),this.setCookie(e,"del",-1,i,o))},hasClass:function(e,t){var o=" ",i=e.className;return"object"==typeof i&&(i=e.className.baseVal||""),1===e.nodeType&&(o+i+o).replace(/[\n\t]/g,o).indexOf(o+t+o)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var o=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(o,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(e){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,o,i,n,s){var c=new Date;c.setHours(c.getHours()+24*(o||365));var a=[e+"="+t,"expires="+c.toUTCString(),"samesite=lax;path="+(n||"/")];i&&a.push("domain="+i),s&&a.push("secure"),document.cookie=a.join(";")},deepExtend:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(o in e&&this.isPlainObject(e[o])&&this.isPlainObject(t[o])?this.deepExtend(e[o],t[o]):e[o]=t[o]);return e},throttle:function(e,t){var o=!1;return function(){o||(e.apply(this,arguments),o=!0,setTimeout(function(){o=!1},t))}},hash:function(e){var t,o,i=0;if(0===e.length)return i;for(t=0,o=e.length;t<o;++t)i=(i<<5)-i+e.charCodeAt(t),i|=0;return i},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){return e=this.normaliseHex(e),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),o=38+(t>>16),i=38+(t>>8&255),n=38+(255&t);return"#"+(16777216+65536*(o<255?o<1?0:o:255)+256*(i<255?i<1?0:i:255)+(n<255?n<1?0:n:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,o){return e&&e.parentNode?t.hasClass(e,o)?e:this.traverseDOMPath(e.parentNode,o):null}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss",allowall:"allowall",savesettings:"savesettings",detailed:"detailed",close:"close",discard:"discard"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var o in t)if(t.hasOwnProperty(o)&&void 0!==e.style[o+"ransition"])return t[o];return""}(),e.hasTransition=!!e.transitionEnd;var o=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){var i={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:location.hostname,expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},onNoCookieLaw:function(e,t){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",savesettings:"Save Settings",link:"Learn more",href:"https://www.cookiescanner.com",close:"x",target:"_blank",policy:"Cookie Policy"},elements:{header:'<span class="cc-header">{{header}}</span>&nbsp;',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="cookies - {{link}} " role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a></span>',messageswitchlink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="cookies - {{link}}" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a><div class="cc-allswitches {{allswitchesclasses}}">{{allswitches}}</div></span>',dismiss:'<a aria-label="{{dismiss}} cookie" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="{{allow}} cookies" role=button tabindex="0"  class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="{{deny}} cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',savesettings:'<a aria-label="{{savesettings}}" role=button tabindex="0"  class="cc-btn cc-savesettings">{{savesettings}}</a>',allowall:'<a aria-label="{{allow}}" role=button tabindex="0"  class="cc-btn cc-allowall">{{allow}}</a>',link:'<a aria-label="cookies - {{link}}" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a>',close:'<span aria-label="{{close}} cookie" role=button tabindex="0" class="cc-close">{{close}}</span>',closeCustomText:'<span aria-label="{{close}} cookie" role=button tabindex="0" class="cc-close cc-closeXcustomText">{{close}}</span>',switch:'<span class="cc-switch-element"><label role="button" tabindex="0" id="nsc_bar_label_{{cc-cookietype-id}}" class="cc-switch cc-input-checkbox-switch-label"><input data-currentValue="{{checked}}" class="cc-input-checkbox-switch" aria-label="{{label}}" id="nsc_bar_input_switch{{cc-cookietype-id}}" type="checkbox" {{checked}} {{disabled}}><span class="cc-slider {{theme}} {{disabled}}"></span><span class="cc-visually-hidden">{{label}}</span></label><span class="cc-switch-label">{{label}}</span></span></span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}">\x3c!--googleoff: all--\x3e{{children}}\x3c!--googleon: all--\x3e</div>',revokeBtnText:'<div aria-label="{{policy}}" role=button tabindex="0" class="cc-revoke {{classes}}">{{policy}}</div>',revokeBtnIcon:'<div aria-label="{{policy}}" role=button tabindex="0" class="cc-revoke {{classes}}"><svg role=button class="cc-revoke-button-icon" height="{{revokeBtnIconHeight}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title class="cc-revoke-button-icon">{{policy}}</title><path class="cc-revoke-button-icon" fill="{{revokeBtnIconColor}}" d="{{dValue}}" /></svg></div>',revokeBtnType:"textOnly",revokeBtnIconDValue:"M14.5 10C13.67 10 13 9.33 13 8.5V8H12.5C11.67 8 11 7.33 11 6.5V5.07C7.91 5.5 5.47 8 5.07 11.08C5.25 10.46 5.82 10 6.5 10C7.33 10 8 10.67 8 11.5S7.33 13 6.5 13C5.71 13 5.07 12.39 5 11.62C5 12.11 5 12.61 5.09 13.12C5.5 15.81 7.54 18.04 10.16 18.74C9.76 18.47 9.5 18 9.5 17.5C9.5 16.67 10.17 16 11 16C11.59 16 12.1 16.35 12.34 16.84C12.16 17.39 12.06 17.97 12 18.57C11.83 18.76 11.6 18.9 11.32 18.96C11.55 19 11.78 19 12 19V19C12 19.69 12.11 20.36 12.29 21C12.19 21 12.1 21 12 21C7.03 21 3 16.97 3 12S7.03 3 12 3C12 3 13 3 13 4V6H14C14 6 15 6 15 7V8H17C17 8 18 8 18 9V10H20C20 10 20.6 10 20.87 10.5C20.96 11 21 11.5 21 12C21 12.1 21 12.19 21 12.29C20.36 12.11 19.69 12 19 12H17.5C16.67 12 16 11.33 16 10.5V10H14.5M11.5 11C10.67 11 10 11.67 10 12.5S10.67 14 11.5 14 13 13.33 13 12.5 12.33 11 11.5 11M11 7.5C11 6.67 10.33 6 9.5 6S8 6.67 8 7.5 8.67 9 9.5 9 11 8.33 11 7.5M23.8 20.4C23.9 20.4 23.9 20.5 23.8 20.6L22.8 22.3C22.7 22.4 22.6 22.4 22.5 22.4L21.3 22C21 22.2 20.8 22.3 20.5 22.5L20.3 23.8C20.3 23.9 20.2 24 20.1 24H18.1C18 24 17.9 23.9 17.8 23.8L17.6 22.5C17.3 22.4 17 22.2 16.8 22L15.6 22.5C15.5 22.5 15.4 22.5 15.3 22.4L14.3 20.7C14.2 20.6 14.3 20.5 14.4 20.4L15.5 19.6V18.6L14.4 17.8C14.3 17.7 14.3 17.6 14.3 17.5L15.3 15.8C15.4 15.7 15.5 15.7 15.6 15.7L16.8 16.2C17.1 16 17.3 15.9 17.6 15.7L17.8 14.4C17.8 14.3 17.9 14.2 18.1 14.2H20.1C20.2 14.2 20.3 14.3 20.3 14.4L20.5 15.7C20.8 15.8 21.1 16 21.4 16.2L22.6 15.7C22.7 15.7 22.9 15.7 22.9 15.8L23.9 17.5C24 17.6 23.9 17.7 23.8 17.8L22.7 18.6V19.6L23.8 20.4M20.5 19C20.5 18.2 19.8 17.5 19 17.5S17.5 18.2 17.5 19 18.2 20.5 19 20.5 20.5 19.8 20.5 19Z",revokeBtnIconColor:"#009868",revokeBtnIconHeight:"2em",blockingScreen:'<div class="cc-blockingScreen"></div>',blockScreen:!1,makeButtonsEqual:!1,buttonOrderAllowFirst:!1,activateConsentMode:!1,consentModeConfig:{},compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',detailed:'<div class="cc-compliance">{{savesettings}}</div>',detailedRev:'<div class="cc-compliance cc-highlight">{{savesettings}}{{allowall}}</div>',detailedRevDeny:'<div class="cc-compliance cc-highlight">{{deny}}{{savesettings}}{{allowall}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-closeCustomText":"{{messagelink}}{{compliance}}{{closeCustomText}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}",detailed:"{{messageswitchlink}}{{compliance}}","detailed-close":"{{messageswitchlink}}{{compliance}}{{close}}","detailed-closeCustomText":"{{messageswitchlink}}{{compliance}}{{closeCustomText}}"},cookietypes:null,statsUrl:null,statsSendOnOpen:!1,statsCountOpens:!1,layout:"basic",position:"bottom",positionRevokeButton:"bottom-right",centerBanner:!1,theme:"block",static:!1,palette:null,revokable:!0,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,forceToAppend:!0,whitelistPage:[],blacklistPage:[],disableWithiniFrames:"0",overrideHTML:null,closeXClickStatus:"default",dataLayerName:"dataLayer"};function n(){this.initialise.apply(this,arguments)}function s(){var e;try{e=localStorage.getItem("beautiful_cookie_banner_open_counter"),e=parseInt(e,10)}catch(e){return console.error(e),0}return("number"!=typeof e||isNaN(e))&&(e=0),e}function c(e,t,o,i,n,s,c){if(!window.pmw||!window.pmw.consent||!window.pmw.consent.api||"function"!=typeof window.pmw.consent.api.updateSelectively)return;const a=[{key:"statistics",values:e},{key:"marketing",values:t},{key:"preferences",values:o},{key:"necessary",values:i}],r={};for(let e=0;e<a.length;e++){if(!Array.isArray(a[e].values)||!Array.isArray(c)){console.warn("BCB: pixelManagerWooConsentApiUpdate: no array",a[e].key,a[e].values,c);continue}c.filter(t=>a[e].values.includes(t)).length>0?r[a[e].key]=!0:r[a[e].key]=!1}window.pmw.consent.api.updateSelectively(r),"1"==n&&(window[s]=window[s]||[],window[s].push({event:"pixelManagerWooConsent_update",consents:r}))}function a(e,t,o,i,n,s,c,a){if("function"!=typeof window.wp_set_consent)return;const r={},l=[{key:"statistics",values:e},{key:"statistics-anonymous",values:t},{key:"marketing",values:o},{key:"functional",values:i},{key:"preferences",values:n}];for(let e=0;e<l.length;e++){if(!Array.isArray(l[e].values)||!Array.isArray(a)){console.warn("BCB: wpConsentAPI: no array",l[e].key,l[e].values,a);continue}a.filter(t=>l[e].values.includes(t)).length>0?(r[l[e].key]=!0,window.wp_set_consent(l[e].key,"allow")):(r[l[e].key]=!1,window.wp_set_consent(l[e].key,"deny"))}"1"==s&&(window[c]=window[c]||[],window[c].push({event:"wpConsentApi_update",consents:r}))}function r(e,t,o,i){"dismiss"===e&&(e="allow"),void 0===e&&"info"===t&&(e="allow"),void 0===e&&"opt-out"===t&&(e="allow"),void 0===e&&(e="deny");const n=[];if("detailed"!==t&&"detailedRev"!==t&&"detailedRevDeny"!==t)return n.push(e),n;for(let e=0;e<o.length;e+=1){var s=l(i,o[e].cookie_suffix);s||"checked"!==o[e].checked||(s="allow"),"allow"===s&&n.push(o[e].cookie_suffix)}return n}function l(e,t){var o=document.cookie.match("(^|;)\\s*"+e+"_"+t+"\\s*=\\s*([^;]+)");return o?o.pop():""}function u(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function p(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function d(){var e=this.options,o="top"==e.position||"bottom"==e.position?"banner":"floating";return t.isMobile()&&(o="floating"),o}function g(e){var t=s.call(this);return{href:window.location.href,referrer:document.referrer,cookieName:this.options.cookie.name,mainStatus:e,openCount:t,cookieTypeConsent:[]}}function h(e){if(this.options.statsUrl)try{var t=new XMLHttpRequest;t.withCredentials=!1,t.open("POST",this.options.statsUrl),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify(e))}catch(e){console.error(e)}}function m(i){var n=this.options,s=document.createElement("div");let c=!1;var a;n.container&&1===n.container.nodeType?a=n.container:(a=document.body,c=!0),s.innerHTML=i;var r=s.children[0];return r.style.display="none",t.hasClass(r,"cc-window")&&e.hasTransition&&t.addClass(r,"cc-invisible"),this.onButtonClick=function(i){if("keyup"===i.type&&13!==i.keyCode)return;var n=t.traverseDOMPath(i.target,"cc-btn")||i.target;if(t.hasClass(n,"cc-btn")){var s=n.className.match(new RegExp("\\bcc-("+o.join("|")+")\\b")),c=s&&s[1]||!1;if("dismiss"===c&&"default"!==this.options.infoClickStatus&&e.status.hasOwnProperty(this.options.infoClickStatus))return this.setStatus(this.options.infoClickStatus),void this.close(!0);c&&(this.setStatus(c),this.close(!0))}t.hasClass(n,"cc-close")&&"default"!==this.options.closeXClickStatus&&e.status.hasOwnProperty(this.options.closeXClickStatus)&&(this.setStatus(this.options.closeXClickStatus),this.close(!0));t.hasClass(n,"cc-close")&&"opt-out"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.allow),this.close(!0));t.hasClass(n,"cc-close")&&"detailed"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.savesettings),this.close(!0));t.hasClass(n,"cc-close")&&"detailedRev"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.savesettings),this.close(!0));t.hasClass(n,"cc-close")&&"detailedRevDeny"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.savesettings),this.close(!0));t.hasClass(n,"cc-close")&&"opt-in"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.deny),this.close(!0));t.hasClass(n,"cc-close")&&"info"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.allow),this.close(!0));(t.hasClass(n,"cc-revoke")||t.hasClass(n,"cc-revoke-button-icon"))&&this.revokeChoice()}.bind(this),r.addEventListener("click",this.onButtonClick),r.addEventListener("keyup",this.onButtonClick),n.autoAttach&&(!a.firstChild||n.forceToAppend&&c?a.appendChild(r):a.insertBefore(r,a.firstChild)),r}function v(e){return"000000"==(e=t.normaliseHex(e))?"#222":t.getLuminance(e)}function b(e,t){for(var o=0,i=e.length;o<i;++o){var n=e[o];if(n instanceof RegExp&&n.test(t)||"string"==typeof n&&n.length&&n===t)return!0}return!1}return n.prototype.initialise=function(o){if(this.options&&this.destroy(),t.deepExtend(this.options={},i),t.isPlainObject(o)&&t.deepExtend(this.options,o),"1"===this.options.disableWithiniFrames&&!0===function(){var e,t=window.location.href;try{e=window.parent.location.href}catch(e){}return!e||t!==e}())return;"svgIcon"!==this.options.revokeBtnType&&(this.options.revokeBtn=this.options.revokeBtnText),"svgIcon"===this.options.revokeBtnType&&(this.options.revokeBtn=this.options.revokeBtnIcon.replace(/\{\{dValue\}\}/g,this.options.revokeBtnIconDValue).replace(/\{\{revokeBtnIconColor\}\}/g,this.options.revokeBtnIconColor).replace(/\{\{revokeBtnIconHeight\}\}/g,this.options.revokeBtnIconHeight));["opt-out","info"].includes(this.options.type)?window.wp_consent_type="optout":window.wp_consent_type;let n=new CustomEvent("wp_consent_type_defined");document.dispatchEvent(n),!0===this.options.buttonOrderAllowFirst&&(this.options.compliance["opt-in"]='<div class="cc-compliance cc-first-highlight">{{allow}}{{deny}}</div>',this.options.compliance["opt-out"]='<div class="cc-compliance cc-first-highlight">{{allow}}{{deny}}</div>',this.options.compliance.detailedRev='<div class="cc-compliance cc-first-highlight">{{allowall}}{{savesettings}}</div>',this.options.compliance.detailedRevDeny='<div class="cc-compliance cc-first-highlight">{{allowall}}{{savesettings}}{{deny}}</div>'),this.options.customOrderConsentButtons&&!1===this.options.buttonOrderAllowFirst&&(this.options.compliance.detailedRevDeny='<div class="cc-compliance cc-highlight">'+this.options.customOrderConsentButtons+"</div>"),this.options.customOrderConsentButtons&&!0===this.options.buttonOrderAllowFirst&&(this.options.compliance.detailedRevDeny='<div class="cc-compliance cc-first-highlight">'+this.options.customOrderConsentButtons+"</div>"),function(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var o=Object.keys(e.status),i=this.getStatus(),n=o.indexOf(i)>=0;n&&t(i);return n}.call(this)&&(this.options.enabled=!1),b(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),b(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var s=this.options.window.replace("{{classes}}",function(){var o=this.options;positionStyle=d.call(this);var i=["cc-"+positionStyle,"cc-type-"+o.type,"cc-theme-"+o.theme];o.static&&i.push("cc-static");o.showCloseX&&i.push("cc-addedcloseX");i.push.apply(i,function(){var e=this.options.position.split("-"),t=[];if(1===e.length&&"centered"===e[0])return["cc-top","cc-right","cc-popovercenter"];return e.forEach(function(e){t.push("cc-"+e)}),t}.call(this));(function(o,i){var n=t.hash(JSON.stringify(o)),s="cc-color-override-"+n,c=t.isPlainObject(o);this.customStyleSelector=c?s:null,c&&function(o,i,n,s){if(e.customStyles[o])return void++e.customStyles[o].references;var c={},a=i.popup,r=i.button,l=i.highlight,u=i.switches;a&&(a.backgroundBlurEffect=a.backgroundBlurEffect?a.backgroundBlurEffect:"0px",a.text=a.text?a.text:t.getContrast(a.background),a.link=a.link?a.link:a.text,c[n+".cc-window"]=["color: "+a.text,"background-color: "+a.background,"-webkit-backdrop-filter: blur("+a.backgroundBlurEffect+"); backdrop-filter: blur("+a.backgroundBlurEffect+");"],c[n+".cc-revoke"]=["color: "+a.text,"background-color: "+a.background],c[n+" .cc-link,"+n+" .cc-link:active,"+n+" .cc-link:visited"]=["color: "+a.link],r&&(r.text=r.text?r.text:t.getContrast(r.background),r.border=r.border?r.border:"transparent",c[n+" .cc-btn"]=["color: "+r.text,"border-color: "+r.border,"background-color: "+r.background],r.padding&&c[n+" .cc-btn"].push("padding: "+r.padding),"transparent"!=r.background&&(c[n+" .cc-btn:hover, "+n+" .cc-btn:focus"]=["background-color: "+(r.hover||v(r.background))]),l?(l.text=l.text?l.text:t.getContrast(l.background),l.border=l.border?l.border:"transparent",c[n+" .cc-highlight .cc-btn:first-child"]=["color: "+l.text,"border-color: "+l.border,"background-color: "+l.background]):!0===s?c[n+" .cc-first-highlight .cc-btn:last-child"]=["color: "+a.text]:c[n+" .cc-highlight .cc-btn:first-child"]=["color: "+a.text]));u&&(c[".cc-slider"]=["background-color: "+u.background+"!important"],c[".cc-slider:before"]=["background-color: "+u.switch+"!important"],c[".cc-switch-label"]=["color: "+u.text],c["input:checked+.cc-slider"]=["background-color: "+u.backgroundChecked+"!important"],c["input:focus+.cc-slider"]=["background-color: "+u.backgroundChecked+"!important"]);var p=document.createElement("style");document.head.appendChild(p),e.customStyles[o]={references:1,element:p.sheet};var d=-1;for(var g in c)c.hasOwnProperty(g)&&p.sheet.insertRule(g+"{"+c[g].join(";")+"}",++d)}(n,o,"."+s,i);return c}).call(this,this.options.palette,this.options.buttonOrderAllowFirst);this.customStyleSelector&&i.push(this.customStyleSelector);return i}.call(this).join(" ")).replace("{{children}}",function(){var e={},o=this.options;o.showLink||(o.elements.link="",o.elements.messagelink=o.elements.message);if(o.cookietypes){var i="",n=this.options.cookie;o.cookietypes.forEach(function(e){var s=e.checked,c=t.getCookie(n.name+"_"+e.cookie_suffix);"deny"===c&&(s=""),"allow"===c&&(s="checked"),i+=o.elements.switch.replace(/\{\{cc\-cookietype\-id\}\}/g,e.cookie_suffix).replace(/\{\{label\}\}/g,e.label).replace(/\{\{checked\}\}/g,s).replace(/\{\{disabled\}\}/g,e.disabled).replace(/\{\{theme\}\}/g,o.theme)}),o.elements.messageswitchlink=o.elements.messageswitchlink.replace(/\{\{allswitches\}\}/g,i).replace("{{allswitchesclasses}}",function(){positionStyle=d.call(this);var e=["cc-"+positionStyle];this.customStyleSelector&&e.push(this.customStyleSelector);return e}.call(this).join(" "))}Object.keys(o.elements).forEach(function(i){e[i]=t.interpolateString(o.elements[i],function(e){var t=o.content[e];return e&&"string"==typeof t&&t.length?t:""})});var s=o.compliance[o.type];s||(s=o.compliance.info);e.compliance=t.interpolateString(s,function(t){return e[t]});var c=function(e){if(!e.showCloseX)return e.layouts[e.layout];if("detailed"===e.type||"detailedRev"===e.type||"detailedRevDeny"===e.type)return"x"!==e.content.close?e.layouts["detailed-closeCustomText"]:e.layouts["detailed-close"];if("x"!==e.content.close)return e.layouts["basic-closeCustomText"];return e.layouts["basic-close"]}(o);c||(c=o.layouts.basic);return t.interpolateString(c,function(t){return e[t]})}.call(this));this.options.makeButtonsEqual&&(s=(s=s.replace("cc-highlight","")).replace("cc-first-highlight",""));var l=this.options.overrideHTML;if("string"==typeof l&&l.length&&(s=l),this.options.static){var u=m.call(this,'<div class="cc-grower">'+s+"</div>");u.style.display="",this.element=u.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=m.call(this,s);(function(){var o=this.setStatus.bind(this),i=this.close.bind(this),n=this.options.dismissOnTimeout,s=e.status.dismiss;"detailed"===this.options.type&&(s=e.status.savesettings);"detailedRev"===this.options.type&&(s=e.status.allowall);"detailedRevDeny"===this.options.type&&(s=e.status.allowall);"opt-in"!==this.options.type&&"opt-out"!==this.options.type||(s=e.status.allow);"number"==typeof n&&n>=0&&this.options.enabled&&(this.dismissTimeout=window.setTimeout(function(){o(s),i(!0)},Math.floor(n)));var c=this.options.dismissOnScroll;if("number"==typeof c&&c>=0){var a=function(e){window.pageYOffset>Math.floor(c)&&(o(s),i(!0),window.removeEventListener("scroll",a,{passive:!0}),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=a,window.addEventListener("scroll",a,{passive:!0}))}var r=this.options.dismissOnWindowClick,l=this.options.ignoreClicksFrom;if(r){var u=function(e){for(var n=!1,c=e.path.length,a=l.length,r=0;r<c;r++)if(!n)for(var p=0;p<a;p++)n||(n=t.hasClass(e.path[r],l[p]));n||(o(s),i(!0),window.removeEventListener("click",u),window.removeEventListener("touchend",u),this.onWindowClick=null)}.bind(this);this.options.enabled&&(this.onWindowClick=u,window.addEventListener("click",u),window.addEventListener("touchend",u))}}).call(this),function(){t.isMobile()&&(this.options.animateRevokable=!1);if(1==this.options.revokable){var e=function(){var e=this.options.positionRevokeButton.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}.call(this);this.options.animateRevokable&&e.push("cc-animate"),this.customStyleSelector&&e.push(this.customStyleSelector);var o=this.options.revokeBtn.replace("{{classes}}",e.join(" ")).replace(/\{\{policy\}\}/g,this.options.content.policy);this.revokeBtn=m.call(this,o);var i=this.revokeBtn;if(i.addEventListener("keyup",function(e){var o=e.key?e.key:e.keyCode;"Tab"!==o&&9!==o||t.addClass(i,"cc-active")}),this.options.animateRevokable){var n=t.throttle(function(e){var o=!1,n=window.innerHeight-20;t.hasClass(i,"cc-top")&&e.clientY<20&&(o=!0),t.hasClass(i,"cc-bottom")&&e.clientY>n&&(o=!0),o?t.hasClass(i,"cc-active")||t.addClass(i,"cc-active"):t.hasClass(i,"cc-active")&&t.removeClass(i,"cc-active")},200);this.onMouseMove=n,window.addEventListener("mousemove",n)}}}.call(this),this.options.autoOpen&&this.autoOpen(),function(){try{var e=document.getElementsByClassName("nsc-bara-manage-cookie-settings")}catch(t){e=[]}if(0===e.length)try{e=document.querySelectorAll('a[id="nsc_bar_link_show_banner"]')}catch(t){e=[]}if(this.shortCodeLink=function(){this.revokeChoice()}.bind(this),e.length>0)for(var t=0;t<e.length;t+=1)e[t].addEventListener("click",this.shortCodeLink);window.nscBaraRevokeChoice=this.shortCodeLink}.call(this),function(){try{var e=document.getElementsByClassName("cc-input-checkbox-switch-label")}catch(t){e=[]}"true"===localStorage.getItem("nscDebugLog")&&console.log("addEventListenerToSwitches: switches found: ",e.length);for(var t=0;t<e.length;t+=1)e[t].addEventListener("keyup",function(e){"Enter"!==e.key&&13!==e.keyCode||(e.target.firstChild.checked=!e.target.firstChild.checked)})}.call(this);const p=this.getStatus(),g=r.call(this,p,this.options.type,this.options.cookietypes,this.options.cookie.name);a.call(this,this.options.wpConsentApiStatistics,this.options.wpConsentApiStatisticsAnonymous,this.options.wpConsentApiMarketing,this.options.wpConsentApiFunctional,this.options.wpConsentApiPreferences,this.options.onStatusChange,this.options.dataLayerName,g),c.call(this,this.options.pixelManagerWooStatistics,this.options.pixelManagerWooMarketing,this.options.pixelManagerWooPreferences,this.options.pixelManagerWooNecessary,this.options.onStatusChange,this.options.dataLayerName,g)},n.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.element.removeEventListener("keyup",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,this.blockingScreen&&this.blockingScreen.parentNode&&this.blockingScreen.parentNode.removeChild(this.blockingScreen),this.blockingScreen=null,function(o){if(t.isPlainObject(o)){var i=t.hash(JSON.stringify(o)),n=e.customStyles[i];if(n&&!--n.references){var s=n.element.ownerNode;s&&s.parentNode&&s.parentNode.removeChild(s),e.customStyles[i]=null}}}(this.options.palette),this.options=null},n.prototype.open=function(t){if(this.element){if(!this.isOpen()){if(function(){if(1!=this.options.blockScreen)return!1;var e=this.options.blockingScreen;this.blockingScreen=m.call(this,e),this.blockingScreen.style.display=""}.call(this),e.hasTransition?this.fadeIn():this.element.style.display="",1==this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this),this.options.statsCountOpens){var o=s.call(this);o+=1;try{localStorage.setItem("beautiful_cookie_banner_open_counter",o)}catch(e){return void console.error(e)}}if(this.options.statsSendOnOpen){var i=g.call(this,"banner_open");h.call(this,i)}}return this}},n.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",this.blockingScreen&&this.blockingScreen.parentNode&&this.blockingScreen.parentNode.removeChild(this.blockingScreen),this.blockingScreen=null,t&&1==this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},n.prototype.fadeIn=function(){var o=this.element;if(e.hasTransition&&o&&(this.afterTransition&&p.call(this,o),t.hasClass(o,"cc-invisible"))){if(o.style.display="",this.options.static){var i=this.element.clientHeight;this.element.parentNode.style.maxHeight=i+"px"}this.openingTimeout=setTimeout(u.bind(this,o),20)}},n.prototype.fadeOut=function(){var o=this.element;e.hasTransition&&o&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),u.bind(this,o)),t.hasClass(o,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=p.bind(this,o),o.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(o,"cc-invisible")))},n.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},n.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},n.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},n.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0},n.prototype.hasConsented=function(t){var o=this.getStatus();return o==e.status.allow||o==e.status.dismiss||o==e.status.allowall},n.prototype.autoOpen=function(e){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&1==this.options.revokable&&this.toggleRevokeButton(!0)},n.prototype.setStatus=function(o){var i=this.options.cookie,n=t.getCookie(i.name);Object.keys(e.status).indexOf(n);if(Object.keys(e.status).indexOf(o)>=0){const e=i.domain?i.domain:location.hostname;t.setCookie(i.name,o,i.expiryDays,e,i.path,i.secure),function(e){var o=this.options,i=this.options.cookie,n=g.call(this,e);o.cookietypes&&o.cookietypes.forEach(function(o){try{var s;const c=document.querySelector("input[id=nsc_bar_input_switch"+o.cookie_suffix+"]");"allowall"==e&&(c.disabled||(c.checked=!0)),"deny"==e&&(c.disabled||(c.checked=!1)),s=c.checked?"allow":"deny",t.deleteCookie(i.name+"_"+o.cookie_suffix,i.domain,i.path);const a=i.domain?i.domain:location.hostname;t.setCookie(i.name+"_"+o.cookie_suffix,s,i.expiryDays,a,i.path,i.secure),n.cookieTypeConsent.push({name:o.cookie_suffix,status:s})}catch(e){}});(function(){try{localStorage.removeItem("beautiful_cookie_banner_open_counter")}catch(e){console.error(e)}}).call(this),h.call(this,n)}.call(this,o),!0===this.options.activateConsentMode&&function(e,t,o,i,n,s){"dismiss"===e&&(e="allow");const c={},a=Object.keys(n);for(let s=0;s<a.length;s+=1){const u=n[a[s]];if("detailed"===t||"detailedRev"===t||"detailedRevDeny"===t)for(let e=0;e<o.length;e+=1){var r=l(i,o[e].cookie_suffix);if(u.includes(o[e].cookie_suffix)&&"allow"===r){c[a[s]]="granted";break}u.includes(o[e].cookie_suffix)&&"deny"===r&&(c[a[s]]="denied")}else c[a[s]]=u.includes(e)?"granted":"denied"}window[s]=window[s]||[],function(){window[s].push(arguments)}("consent","update",c),!0===window.nsc_bara_pushUETconsent&&(window.uetq=window.uetq||[],window.uetq.push("consent","update",{ad_storage:c.ad_storage}));window[s].push({event:"consent_mode_update",consentType:t,method:"pushed per banner."})}(o,this.options.type,this.options.cookietypes,this.options.cookie.name,this.options.consentModeConfig,this.options.dataLayerName);const p=r(o,this.options.type,this.options.cookietypes,this.options.cookie.name);if(!0===this.options.microsoftClarityEnabled){window.clarity=window.clarity||function(){(window.clarity.q=window.clarity.q||[]).push(arguments)};var s=this.options.microsoftClarityAllowedCats;var u=!1;p.filter(e=>s.includes(e)).length>0?(window.clarity("consent"),u=!0):window.clarity("consent",!1),window[this.options.dataLayerName]=window[this.options.dataLayerName]||[],window[this.options.dataLayerName].push({event:"clarity_consent_update",clarityAllowed:u})}a(this.options.wpConsentApiStatistics,this.options.wpConsentApiStatisticsAnonymous,this.options.wpConsentApiMarketing,this.options.wpConsentApiFunctional,this.options.wpConsentApiPreferences,this.options.onStatusChange,this.options.dataLayerName,p),c(this.options.pixelManagerWooStatistics,this.options.pixelManagerWooMarketing,this.options.pixelManagerWooPreferences,this.options.pixelManagerWooNecessary,this.options.onStatusChange,this.options.dataLayerName,p),1==this.options.onStatusChange&&function(e,t,o,i,n){var s={event:"beautiful_cookie_consent_updated"};s.statusBefore=t,"dismiss"===e&&(e="allow");s.cookieconsent_status=e;for(var c=0,a=i.length;c<a;c+=1){var r=l(n,i[c].cookie_suffix);r&&(s["cookieconsent_status_"+i[c].cookie_suffix]=r)}window[o]=window[o]||[],window[o].push(s)}(o,n,this.options.dataLayerName,this.options.cookietypes,this.options.cookie.name)}else this.clearStatus();"function"==typeof window.nsc_bar_set_status_callback&&window.nsc_bar_set_status_callback(o)},n.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},n.prototype.clearStatus=function(){var e=this.options.cookie;t.deleteCookie(e.name,e.domain,e.path)},n}(),e.Location=function(){var e={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var o=JSON.parse(t);return o.error?s(o):{code:o.country}}catch(e){return s({error:"Invalid response ("+e+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var o=JSON.parse(t);return"ERROR"==o.statusCode?s({error:o.statusMessage}):{code:o.countryCode}}catch(e){return s({error:"Invalid response ("+e+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){window.geoip2?geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(t){e(s(t))}},function(t){e(s(t))}):e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};function o(o){t.deepExtend(this.options={},e),t.isPlainObject(o)&&t.deepExtend(this.options,o),this.currentServiceIndex=-1}function i(e,t,o){var i,n=document.createElement("script");n.type="text/"+(e.type||"javascript"),n.src=e.src||e,n.async=!1,n.onreadystatechange=n.onload=function(){var e=n.readyState;clearTimeout(i),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),n.onreadystatechange=n.onload=null)},document.body.appendChild(n),i=setTimeout(function(){t.done=!0,t(),n.onreadystatechange=n.onload=null},o)}function n(e,t,o,i,n){var s=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(s.open(i?"POST":"GET",e,1),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(n))for(var c=0,a=n.length;c<a;++c){var r=n[c].split(":",2);s.setRequestHeader(r[0].replace(/^\s+|\s+$/g,""),r[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(s.onreadystatechange=function(){s.readyState>3&&t(s)}),s.send(i)}function s(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}return o.prototype.getNextService=function(){var e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!e);return e},o.prototype.getServiceByIdx=function(e){var o=this.options.services[e];if("function"==typeof o){var i=o();return i.name&&t.deepExtend(i,this.options.serviceDefinitions[i.name](i)),i}return"string"==typeof o?this.options.serviceDefinitions[o]():t.isPlainObject(o)?this.options.serviceDefinitions[o.name](o):null},o.prototype.locate=function(e,t){var o=this.getNextService();o?(this.callbackComplete=e,this.callbackError=t,this.runService(o,this.runNextServiceOnError.bind(this))):t(new Error("No services to run"))},o.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(o,i){if("callback"===i){var n="callback"+Date.now();return window[n]=function(t){e.__JSONP_DATA=JSON.stringify(t)},n}if(i in t.interpolateUrl)return t.interpolateUrl[i]})},o.prototype.runService=function(e,t){var o=this;e&&e.url&&e.callback&&(e.isScript?i:n)(this.setupUrl(e),function(i){var n=i?i.responseText:"";e.__JSONP_DATA&&(n=e.__JSONP_DATA,delete e.__JSONP_DATA),o.runServiceCallback.call(o,t,e,n)},this.options.timeout,e.data,e.headers)},o.prototype.runServiceCallback=function(e,t,o){var i=this,n=t.callback(function(t){n||i.onServiceResult.call(i,e,t)},o);n&&this.onServiceResult.call(this,e,n)},o.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},o.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var o=this.getNextService();o?this.runService(o,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},o.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}:"function"==typeof e?e():t.isPlainObject(e)?e:{}},o.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},o.prototype.logError=function(e){var t=this.currentServiceIndex,o=this.getServiceByIdx(t);console.warn("The service["+t+"] ("+o.url+") responded with the following error",e)},o}(),e.Law=function(){var e={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","NO","PL","PT","SK","ES","SE","GB","UK","GR","EU","RO"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","NO","PT","ES"],explicitAction:["HR","IT","ES","NO"]};function o(e){this.initialise.apply(this,arguments)}return o.prototype.initialise=function(o){t.deepExtend(this.options={},e),t.isPlainObject(o)&&t.deepExtend(this.options,o)},o.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},o.prototype.applyLaw=function(e,t){var o=this.get(t);return o.hasLaw||(e.enabled=!1,"function"==typeof e.onNoCookieLaw&&e.onNoCookieLaw(t,o)),this.options.regionalLaw&&(o.revokable&&(e.revokable=!0),o.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},o}(),e.destroy=function(){var e=document.getElementsByClassName("cc-banner");e[0]&&e[0].remove(),(e=document.getElementsByClassName("cc-revoke"))[0]&&e[0].remove()},e.initialise=function(o,i,n){var s=new e.Law(o.law);"detailed"!=o.type&&"detailedRev"!=o.type&&"detailedRevDeny"!=o.type||(o.layout="detailed"),i||(i=function(){}),n||(n=function(){});var c=Object.keys(e.status),a=t.getCookie("cookieconsent_status");c.indexOf(a)>=0?i(new e.Popup(o)):e.getCountryCode(o,function(t){delete o.law,delete o.location,t.code&&(o=s.applyLaw(o,t.code)),i(new e.Popup(o))},function(t){delete o.law,delete o.location,n(t,new e.Popup(o))})},e.getCountryCode=function(t,o,i){t.law&&t.law.countryCode?o({code:t.law.countryCode}):t.location?new e.Location(t.location).locate(function(e){o(e||{})},i):o({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{});