window.ravenLoaderConfig={"cdn":"https://raven-static.aditude.io/prod","property":{"eventPublisherValue":"automattic","id":"wordpress-main-Uv94n","name":"wordpress main property ","publisherId":"m1uq9a6VF8Za","ravenVersion":"stable"},"releaseId":"wv1TT","versions":[{"pct":1,"version":"1.7.0"}]};!function(e){"use strict";/*! js-cookie v3.0.5 | MIT */function t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}var n=function e(n,i){function a(e,a,r){if("undefined"!=typeof document){"number"==typeof(r=t({},i,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var o in r)r[o]&&(s+="; "+o,!0!==r[o]&&(s+="="+r[o].split(";")[0]));return document.cookie=e+"="+n.write(a,e)+s}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],i={},a=0;a<t.length;a++){var r=t[a].split("="),s=r.slice(1).join("=");try{var o=decodeURIComponent(r[0]);if(i[o]=n.read(s,o),e===o)break}catch(e){}}return e?i[e]:i}},remove:function(e,n){a(e,"",t({},n,{expires:-1}))},withAttributes:function(n){return e(this.converter,t({},this.attributes,n))},withConverter:function(n){return e(t({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const i=e=>"tude-rvn"+e;class a{name;value;percentage;constructor(e,t,n){this.name=e,this.value=t,this.percentage=n}}function r(e,t){return{experiment:e,fromCookie:arguments.length>2&&void 0!==arguments[2]&&arguments[2],trackingId:`${e}@${t.name}`,value:t.value,variant:t.name}}class s{variant(e){let{name:t,value:n,percentage:i}=e;this.variants.push(new a(t,n,i))}pick(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;if(this.pickResponse)return this.pickResponse;const a=new URL(window.location.href);if(a.searchParams.has(`ab_${this.name}`)){const t=a.searchParams.get(`ab_${this.name}`),n=this.variants.find((e=>e.name===t));n&&(e=r(this.name,n,!1))}if(e){const t=this.variants.find((t=>t.name===e.variant));return t&&(this.selectedVariant=t),this.pickResponse=e,this.pickResponse}const s=(o=this.name,n.get(i(o))||!1);var o;if(s){const e=this.variants.filter((e=>e.name===s));if(e.length>0){const t=e[0];return this.selectedVariant=t??!1,this.pickResponse=r(this.name,t,!0),this.pickResponse}}const c=this.chooseVariant(this.variants);return this.pickResponse=r(this.name,c,!1),function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90;n.set(i(e),t,{expires:a})}(this.name,c.name,t),this.selectedVariant=c,this.pickResponse}chooseVariant(e){const t=Math.floor(1e6*Math.random()+1);let n,i=0,a=0;const r=e.sort(((e,t)=>t.percentage-e.percentage));let s;for(;a<r.length;a+=1){if(s=r[a],n=s.percentage/100*1e6,t<=i+n)return s;i+=n+1}return this.variants[0]}constructor(e){this.name=e,this.selectedVariant=!1,this.variants=[]}name;selectedVariant;variants;pickResponse}const o=(e,t)=>{((e,t=!1,n=!1,i=[])=>{const a=document.createElement("script");a.async=!!t,n&&(a.defer=!0),i.forEach((e=>{a.setAttribute(`data-${e.key}`,e.value)})),a.src=e,document.head.appendChild(a)})(`${e}${`/${t}/raven.js`}`,!1,!1,[{key:"raven",value:"1"}])};var c;const l="https://raven-static.aditude.io/prod";class d{constructor(e,t){this.baseCdnUrl=e,this.releaseId=t}load(e){var t,n;if(e.length>1){const i=(e=>new s(e))(`-rel-${this.releaseId}`);e.map((e=>i.variant({name:e.version,percentage:100*e.pct,value:e})));const a=i.pick(1);o(null!==(n=null===(t=a.value)||void 0===t?void 0:t.cdn)&&void 0!==n?n:this.baseCdnUrl,a.value.version)}else if(e.length>0){const{cdn:t=this.baseCdnUrl,version:n="stable"}=e[0];o(t,n)}else o(this.baseCdnUrl,"stable")}}const p=Object.assign({},window.ravenLoaderConfig||{cdn:l,releaseId:"fallback",versions:[{pct:100,version:"stable"}]}),{cdn:v,releaseId:h}=p;if(new d(null!=v?v:l,h).load(p.versions),window.ravenLoaderConfig&&(window.ravenLoaderConfig=void 0),null===(c=p.property)||void 0===c?void 0:c.id){window.Raven=window.Raven||{cmd:[],initialConfig:{}};const{initialConfig:e}=window.Raven;window.Raven.initialConfig=Object.assign({pbjsGlobals:(null==e?void 0:e.pbjsGlobals)||["pbjs"],propertyId:p.property.id},e)}e.RavenLoader=d}({});