(()=>{"use strict";var t,e={389(){const t=t=>{if("yes"===t.dataset.calioFancyTabsInit)return;t.dataset.calioFancyTabsInit="yes";const e=Array.from(t.querySelectorAll(".calio-fancy-tabs-button")),n=Array.from(t.querySelectorAll(".calio-fancy-tabs-panel")),a=Array.from(t.querySelectorAll(".calio-fancy-tabs-mobile-toggle")),r="vertical"===t.dataset.orientation?"vertical":"horizontal",o=t.dataset.mobileMode||"tabs",i=window.matchMedia("(max-width: 767px)");if(0===e.length||0===n.length)return;const s=()=>"accordion"===o&&i.matches,c=(t,a=!1)=>{const r=t?.dataset.target||"";e.forEach(e=>{const n=e===t;e.classList.toggle("is-active",n),e.setAttribute("aria-selected",n?"true":"false"),e.setAttribute("tabindex",n?"0":"-1")}),n.forEach(t=>{const e=!a&&t.id===r;t.classList.toggle("is-active",e),t.hidden=!s()&&!e;const n=t.querySelector(".calio-fancy-tabs-mobile-toggle");n&&n.setAttribute("aria-expanded",e?"true":"false")})};e.forEach((t,n)=>{t.addEventListener("click",()=>{c(t)}),t.addEventListener("keydown",t=>{const a="vertical"===r?"ArrowUp"===t.key:"ArrowLeft"===t.key,o="vertical"===r?"ArrowDown"===t.key:"ArrowRight"===t.key;if("Home"===t.key)return t.preventDefault(),e[0]?.focus(),void c(e[0]);if("End"===t.key)return t.preventDefault(),e[e.length-1]?.focus(),void c(e[e.length-1]);if(!a&&!o)return;t.preventDefault();const i=o?(n+1)%e.length:(n-1+e.length)%e.length;e[i]?.focus(),c(e[i])})}),a.forEach(t=>{t.addEventListener("click",()=>{if(!s())return;const a=e.find(e=>e.dataset.target===t.dataset.target),r=n.find(e=>e.id===t.dataset.target),o=r?.classList.contains("is-active");a&&r&&(o?c(a,!0):c(a))})});const l=()=>{if(s()){const t=e.find(t=>t.classList.contains("is-active"))||e[0];return void(t&&c(t))}(()=>{const t=e.find(t=>t.classList.contains("is-active"))||e[0];t&&c(t)})()};l(),i.addEventListener("change",l)},e=(e=document)=>{e.querySelectorAll(".calio-fancy-tabs").forEach(t)};document.addEventListener("DOMContentLoaded",()=>{e(document)});let n=!1;const a=()=>!!n||!!window.elementorFrontend?.hooks&&(window.elementorFrontend.hooks.addAction("frontend/element_ready/calio-fancy-tabs.default",t=>{const n=t?.[0]||null;n&&e(n)}),n=!0,!0);if(window.addEventListener("elementor/frontend/init",a),!a()){let t=0;const e=window.setInterval(()=>{t+=1,(a()||t>=40)&&window.clearInterval(e)},250)}}},n={};function a(t){var r=n[t];if(void 0!==r)return r.exports;var o=n[t]={exports:{}};return e[t](o,o.exports,a),o.exports}a.m=e,t=[],a.O=(e,n,r,o)=>{if(!n){var i=1/0;for(d=0;d<t.length;d++){for(var[n,r,o]=t[d],s=!0,c=0;c<n.length;c++)(!1&o||i>=o)&&Object.keys(a.O).every(t=>a.O[t](n[c]))?n.splice(c--,1):(s=!1,o<i&&(i=o));if(s){t.splice(d--,1);var l=r();void 0!==l&&(e=l)}}return e}o=o||0;for(var d=t.length;d>0&&t[d-1][2]>o;d--)t[d]=t[d-1];t[d]=[n,r,o]},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={3844:0,1532:0};a.O.j=e=>0===t[e];var e=(e,n)=>{var r,o,[i,s,c]=n,l=0;if(i.some(e=>0!==t[e])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(c)var d=c(a)}for(e&&e(n);l<i.length;l++)o=i[l],a.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return a.O(d)},n=globalThis.webpackChunkcalio_addon=globalThis.webpackChunkcalio_addon||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var r=a.O(void 0,[1532],()=>a(389));r=a.O(r)})();