(()=>{"use strict";var e,t,o,r={12998:(e,t,o)=>{o.r(t),o.d(t,{initPostHog:()=>c});var r=o(4869),n=o(34324);const i=(e,t)=>{const o={site_key:t.siteKey,site_url:t.siteUrl,wpmlActivePlugins:t.wpmlActivePlugins,currentTranslationEditor:t.currentTranslationEditor};t.wpUserEmail&&(o.wp_email=t.wpUserEmail),e.setPersonProperties(o)},a=e=>{const t=e.get_distinct_id();(0,r.setCookie)(n.WPML_PH_DISTINCT_ID,t,{maxAgeMinutes:30})},s=e=>{const t=e.get_session_id();(0,r.setCookie)(n.WPML_PH_SESSION_ID,t,{maxAgeMinutes:30})},l=e=>{const t=e.isFeatureEnabled("wpml_autocapture");e.set_config({autocapture:t})},u=e=>{const t=e.isFeatureEnabled("wpml_capture_pageview");e.set_config({capture_pageview:t})},p=e=>{const t=e.isFeatureEnabled("wpml_capture_pageleave");e.set_config({capture_pageleave:t})};async function c(e){if(!e)return;const{default:t}=await o.e(843).then(o.bind(o,55476));t.init(e.apiKey,{api_host:e.host,defaults:"2025-05-24",person_profiles:e.personProfiles,disable_surveys:e.disableSurveys,autocapture:e.autoCapture,capture_pageview:e.capturePageView,capture_pageleave:e.capturePageLeave,disable_session_recording:e.disableSessionRecording,session_recording:{maskAllInputs:!0,maskInputFn:(e,t)=>"true"===t?.dataset?.wpmlPhMaskInput?"*".repeat(e.trim().length):e},loaded:t=>{l(t),u(t),p(t),i(t,e),a(t),s(t),window.wpmlPostHog&&(window.wpmlPostHog.isLoaded=!0)}}),t.onFeatureFlags((()=>{l(t),u(t),p(t)}))}},34324:(e,t,o)=>{o.d(t,{WPML_PH_DISTINCT_ID:()=>r,WPML_PH_SESSION_ID:()=>n});const r="wpml_ph_distinct_id",n="wpml_ph_session_id"},4869:(e,t,o)=>{o.d(t,{setCookie:()=>n});const r="https:"===window.location.protocol;function n(e,t,o={}){const{maxAgeDays:n,maxAgeMinutes:i,domain:a,secure:s=r,sameSite:l="Strict"}=o,u=[`${encodeURIComponent(e)}=${encodeURIComponent(t)}`,"path=/",`SameSite=${l}`];if(s&&u.push("Secure"),a&&u.push(`Domain=${a}`),n||i){const e=864e5*(n??0)+6e4*(i??0);u.push(`Expires=${new Date(Date.now()+e).toUTCString()}`)}document.cookie=u.join("; ")}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,o)=>(i.f[o](e,t),t)),[])),i.u=e=>"node-modules.js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="wpml:",i.l=(o,r,n,a)=>{if(e[o])e[o].push(r);else{var s,l;if(void 0!==n)for(var u=document.getElementsByTagName("script"),p=0;p<u.length;p++){var c=u[p];if(c.getAttribute("src")==o||c.getAttribute("data-webpack")==t+n){s=c;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+n),s.src=o),e[o]=[r];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(m);var n=e[o];if(delete e[o],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((e=>e(r))),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=894,(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e={894:0};i.f.j=(t,o)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise(((o,n)=>r=e[t]=[o,n]));o.push(r[2]=n);var a=i.p+i.u(t),s=new Error;i.l(a,(o=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;s.message="Loading chunk "+t+" failed.\n("+n+": "+a+")",s.name="ChunkLoadError",s.type=n,s.request=a,r[1](s)}}),"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[a,s,l]=o,u=0;if(a.some((t=>0!==e[t]))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);l&&l(i)}for(t&&t(o);u<a.length;u++)n=a[u],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0},o=globalThis.webpackChunkwpml=globalThis.webpackChunkwpml||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),o=i(12998),window.wpmlPostHog&&(0,o.initPostHog)(window.wpmlPostHog).catch(console.error)})();