var g=t=>{throw TypeError(t)};var f=(t,e,a)=>e.has(t)||g("Cannot "+a);var l=(t,e,a)=>(f(t,e,"read from private field"),a?a.call(t):e.get(t)),r=(t,e,a)=>e.has(t)?g("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,a),c=(t,e,a,n)=>(f(t,e,"write to private field"),n?n.call(t,a):e.set(t,a),a),p=(t,e,a)=>(f(t,e,"access private method"),a);import{F as A}from"./Tab.js?ver=1.3.21";document.addEventListener("DOMContentLoaded",()=>{var a,n,u,C,w,o,d,s,T,v,m;const h=class h{constructor(){r(this,s);r(this,n);r(this,u);r(this,C,"open");r(this,w,"active");r(this,o);r(this,d)}toTitleCase(i){return i.replace(/\w\S*/g,function(b){return b.charAt(0).toUpperCase()+b.substr(1).toLowerCase()})}$t(i){return window.fluentcart_pricing_table_vars.trans[i]||i}init(i,b){return c(this,d,b),c(this,n,i),c(this,u,l(this,n).querySelectorAll("[data-fluent-cart-pricing-table-variant-add-to-cart]")),p(this,s,m).call(this),p(this,s,v).call(this),p(this,s,T).call(this),c(h,a,this),this}};a=new WeakMap,n=new WeakMap,u=new WeakMap,C=new WeakMap,w=new WeakMap,o=new WeakMap,d=new WeakMap,s=new WeakSet,T=function(){l(this,n).querySelector("[data-fluent-cart-pricing-table-tab]")&&(c(this,o,new A(l(this,n))),l(this,o).init())},v=function(){},m=function(){},r(h,a,null);let t=h;document.querySelectorAll("[data-fluent-cart-pricing-table]").forEach(function(y,i){new t().init(y,i)}),window.FluentCartPricingTable=t});
