JezK
Edit File: nested-tabs.min.js
(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__copyProps=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},__toESM=(n,r,a)=>(a=n==null?{}:e(i(n)),__copyProps(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),o=__commonJSMin(((e,t)=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.exports=_interopRequireDefault,t.exports.__esModule=!0,t.exports.default=t.exports})),s=__commonJSMin(((e,t)=>{var check=function(e){return e&&e.Math===Math&&e};t.exports=check(typeof globalThis==`object`&&globalThis)||check(typeof window==`object`&&window)||check(typeof self==`object`&&self)||check(typeof global==`object`&&global)||check(typeof e==`object`&&e)||(function(){return this})()||Function(`return this`)()})),c=__commonJSMin(((e,t)=>{t.exports=function(e){try{return!!e()}catch(e){return!0}}})),l=__commonJSMin(((e,t)=>{t.exports=!c()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})})),u=__commonJSMin(((e,t)=>{t.exports=!c()(function(){var e=(function(){}).bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})})),d=__commonJSMin(((e,t)=>{var n=u(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),f=__commonJSMin((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:t})),p=__commonJSMin(((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}})),m=__commonJSMin(((e,t)=>{var n=u(),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);t.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}})),h=__commonJSMin(((e,t)=>{var n=m(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}})),g=__commonJSMin(((e,t)=>{var n=m(),r=c(),i=h(),a=Object,o=n(``.split);t.exports=r(function(){return!a(`z`).propertyIsEnumerable(0)})?function(e){return i(e)===`String`?o(e,``):a(e)}:a})),_=__commonJSMin(((e,t)=>{t.exports=function(e){return e==null}})),v=__commonJSMin(((e,t)=>{var n=_(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`Can't call method on `+e);return e}})),y=__commonJSMin(((e,t)=>{var n=g(),r=v();t.exports=function(e){return n(r(e))}})),b=__commonJSMin(((e,t)=>{var n=typeof document==`object`&&document.all;t.exports=n===void 0&&n!==void 0?function(e){return typeof e==`function`||e===n}:function(e){return typeof e==`function`}})),x=__commonJSMin(((e,t)=>{var n=b();t.exports=function(e){return typeof e==`object`?e!==null:n(e)}})),S=__commonJSMin(((e,t)=>{var n=s(),r=b(),aFunction=function(e){return r(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?aFunction(n[e]):n[e]&&n[e][t]}})),C=__commonJSMin(((e,t)=>{t.exports=m()({}.isPrototypeOf)})),w=__commonJSMin(((e,t)=>{var n=s().navigator,r=n&&n.userAgent;t.exports=r?String(r):``})),T=__commonJSMin(((e,t)=>{var n=s(),r=w(),i=n.process,a=n.Deno,o=i&&i.versions||a&&a.version,c=o&&o.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&r&&(l=r.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=r.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u})),E=__commonJSMin(((e,t)=>{var n=T(),r=c(),i=s().String;t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol(`symbol detection`);return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})})),D=__commonJSMin(((e,t)=>{t.exports=E()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`})),ee=__commonJSMin(((e,t)=>{var n=S(),r=b(),i=C(),a=D(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}})),O=__commonJSMin(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch(e){return`Object`}}})),k=__commonJSMin(((e,t)=>{var n=b(),r=O(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a function`)}})),A=__commonJSMin(((e,t)=>{var n=k(),r=_();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),te=__commonJSMin(((e,t)=>{var n=d(),r=b(),i=x(),a=TypeError;t.exports=function(e,t){var o,s;if(t===`string`&&r(o=e.toString)&&!i(s=n(o,e))||r(o=e.valueOf)&&!i(s=n(o,e))||t!==`string`&&r(o=e.toString)&&!i(s=n(o,e)))return s;throw new a(`Can't convert object to primitive value`)}})),j=__commonJSMin(((e,t)=>{t.exports=!1})),M=__commonJSMin(((e,t)=>{var n=s(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}})),N=__commonJSMin(((e,t)=>{var n=j(),r=s(),i=M(),a=`__core-js_shared__`,o=t.exports=r[a]||i(a,{});(o.versions||(o.versions=[])).push({version:`3.46.0`,mode:n?`pure`:`global`,copyright:`© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)`,license:`https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE`,source:`https://github.com/zloirock/core-js`})})),ne=__commonJSMin(((e,t)=>{var n=N();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),P=__commonJSMin(((e,t)=>{var n=v(),r=Object;t.exports=function(e){return r(n(e))}})),I=__commonJSMin(((e,t)=>{var n=m(),r=P(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(e,t){return i(r(e),t)}})),re=__commonJSMin(((e,t)=>{var n=m(),r=0,i=Math.random(),a=n(1.1.toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}})),L=__commonJSMin(((e,t)=>{var n=s(),r=ne(),i=I(),a=re(),o=E(),c=D(),l=n.Symbol,u=r(`wks`),d=c?l.for||l:l&&l.withoutSetter||a;t.exports=function(e){return i(u,e)||(u[e]=o&&i(l,e)?l[e]:d(`Symbol.`+e)),u[e]}})),ie=__commonJSMin(((e,t)=>{var n=d(),r=x(),i=ee(),a=A(),o=te(),s=L(),c=TypeError,l=s(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var s=a(e,l),u;if(s){if(t===void 0&&(t=`default`),u=n(s,e,t),!r(u)||i(u))return u;throw new c(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),o(e,t)}})),ae=__commonJSMin(((e,t)=>{var n=ie(),r=ee();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}})),oe=__commonJSMin(((e,t)=>{var n=s(),r=x(),i=n.document,a=r(i)&&r(i.createElement);t.exports=function(e){return a?i.createElement(e):{}}})),se=__commonJSMin(((e,t)=>{var n=l(),r=c(),i=oe();t.exports=!n&&!r(function(){return Object.defineProperty(i(`div`),"a",{get:function(){return 7}}).a!==7})})),ce=__commonJSMin((e=>{var t=l(),n=d(),r=f(),i=p(),a=y(),o=ae(),s=I(),c=se(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=o(t),c)try{return u(e,t)}catch(e){}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),le=__commonJSMin(((e,t)=>{var n=l(),r=c();t.exports=n&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})})),R=__commonJSMin(((e,t)=>{var n=x(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not an object`)}})),z=__commonJSMin((e=>{var t=l(),n=se(),r=le(),i=R(),a=ae(),o=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=`enumerable`,d=`configurable`,f=`writable`;e.f=t?r?function defineProperty(e,t,n){if(i(e),t=a(t),i(n),typeof e==`function`&&t===`prototype`&&`value`in n&&f in n&&!n[f]){var r=c(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return s(e,t,n)}:s:function defineProperty(e,t,r){if(i(e),t=a(t),i(r),n)try{return s(e,t,r)}catch(e){}if(`get`in r||`set`in r)throw new o(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}})),B=__commonJSMin(((e,t)=>{var n=l(),r=z(),i=p();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),ue=__commonJSMin(((e,t)=>{var n=l(),r=I(),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(i,`name`);t.exports={EXISTS:o,PROPER:o&&(function something(){}).name===`something`,CONFIGURABLE:o&&(!n||n&&a(i,`name`).configurable)}})),de=__commonJSMin(((e,t)=>{var n=m(),r=b(),i=N(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),fe=__commonJSMin(((e,t)=>{var n=s(),r=b(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))})),V=__commonJSMin(((e,t)=>{var n=ne(),r=re(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}})),H=__commonJSMin(((e,t)=>{t.exports={}})),pe=__commonJSMin(((e,t)=>{var n=fe(),r=s(),i=x(),a=B(),o=I(),c=N(),l=V(),u=H(),d=`Object already initialized`,f=r.TypeError,p=r.WeakMap,set,get,has,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(e){return function(t){var n;if(!i(t)||(n=get(t)).type!==e)throw new f(`Incompatible receiver, `+e+` required`);return n}};if(n||c.state){var m=c.state||(c.state=new p);m.get=m.get,m.has=m.has,m.set=m.set,set=function(e,t){if(m.has(e))throw new f(d);return t.facade=e,m.set(e,t),t},get=function(e){return m.get(e)||{}},has=function(e){return m.has(e)}}else{var h=l(`state`);u[h]=!0,set=function(e,t){if(o(e,h))throw new f(d);return t.facade=e,a(e,h,t),t},get=function(e){return o(e,h)?e[h]:{}},has=function(e){return o(e,h)}}t.exports={set,get,has,enforce,getterFor}})),me=__commonJSMin(((e,t)=>{var n=m(),r=c(),i=b(),a=I(),o=l(),s=ue().CONFIGURABLE,u=de(),d=pe(),f=d.enforce,p=d.get,h=String,g=Object.defineProperty,_=n(``.slice),v=n(``.replace),y=n([].join),x=o&&!r(function(){return g(function(){},`length`,{value:8}).length!==8}),S=String(String).split(`String`),C=t.exports=function(e,t,n){_(h(t),0,7)===`Symbol(`&&(t=`[`+v(h(t),/^Symbol\(([^)]*)\).*$/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!a(e,`name`)||s&&e.name!==t)&&(o?g(e,`name`,{value:t,configurable:!0}):e.name=t),x&&n&&a(n,`arity`)&&e.length!==n.arity&&g(e,`length`,{value:n.arity});try{n&&a(n,`constructor`)&&n.constructor?o&&g(e,`prototype`,{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,`source`)||(r.source=y(S,typeof t==`string`?t:``)),e};Function.prototype.toString=C(function toString(){return i(this)&&p(this).source||u(this)},`toString`)})),U=__commonJSMin(((e,t)=>{var n=b(),r=z(),i=me(),a=M();t.exports=function(e,t,o,s){s||(s={});var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}})),he=__commonJSMin(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function trunc(e){var t=+e;return(t>0?r:n)(t)}})),ge=__commonJSMin(((e,t)=>{var n=he();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}})),_e=__commonJSMin(((e,t)=>{var n=ge(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),ve=__commonJSMin(((e,t)=>{var n=ge(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),W=__commonJSMin(((e,t)=>{var n=ve();t.exports=function(e){return n(e.length)}})),ye=__commonJSMin(((e,t)=>{var n=y(),r=_e(),i=W(),createMethod=function(e){return function(t,a,o){var s=n(t),c=i(s);if(c===0)return!e&&-1;var l=r(o,c),u;if(e&&a!==a){for(;c>l;)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}})),be=__commonJSMin(((e,t)=>{var n=m(),r=I(),i=y(),a=ye().indexOf,o=H(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}})),G=__commonJSMin(((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]})),xe=__commonJSMin((e=>{var t=be(),n=G().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return t(e,n)}})),Se=__commonJSMin((e=>{e.f=Object.getOwnPropertySymbols})),Ce=__commonJSMin(((e,t)=>{var n=S(),r=m(),i=xe(),a=Se(),o=R(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function ownKeys(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),we=__commonJSMin(((e,t)=>{var n=I(),r=Ce(),i=ce(),a=z();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}})),Te=__commonJSMin(((e,t)=>{var n=c(),r=b(),i=/#|\.prototype\./,isForced=function(e,t){var i=o[a(e)];return i===l?!0:i===s?!1:r(t)?n(t):!!t},a=isForced.normalize=function(e){return String(e).replace(i,`.`).toLowerCase()},o=isForced.data={},s=isForced.NATIVE=`N`,l=isForced.POLYFILL=`P`;t.exports=isForced})),K=__commonJSMin(((e,t)=>{var n=s(),r=ce().f,i=B(),a=U(),o=M(),c=we(),l=Te();t.exports=function(e,t){var s=e.target,u=e.global,d=e.stat,f,p=u?n:d?n[s]||o(s,{}):n[s]&&n[s].prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=r(p,m),h=_&&_.value):h=p[m],f=l(u?m:s+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&i(g,`sham`,!0),a(p,m,g,e)}}})),Ee=__commonJSMin(((e,t)=>{var n=C(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw new r(`Incorrect invocation`)}})),De=__commonJSMin(((e,t)=>{t.exports=!c()(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})})),Oe=__commonJSMin(((e,t)=>{var n=I(),r=b(),i=P(),a=V(),o=De(),s=a(`IE_PROTO`),c=Object,l=c.prototype;t.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var a=t.constructor;return r(a)&&t instanceof a?a.prototype:t instanceof c?l:null}})),ke=__commonJSMin(((e,t)=>{var n=me(),r=z();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}})),Ae=__commonJSMin(((e,t)=>{var n=l(),r=z(),i=p();t.exports=function(e,t,a){n?r.f(e,t,i(0,a)):e[t]=a}})),je=__commonJSMin(((e,t)=>{var n=be(),r=G();t.exports=Object.keys||function keys(e){return n(e,r)}})),Me=__commonJSMin((e=>{var t=l(),n=le(),r=z(),i=R(),a=y(),o=je();e.f=t&&!n?Object.defineProperties:function defineProperties(e,t){i(e);for(var n=a(t),s=o(t),c=s.length,l=0,u;c>l;)r.f(e,u=s[l++],n[u]);return e}})),Ne=__commonJSMin(((e,t)=>{t.exports=S()(`document`,`documentElement`)})),q=__commonJSMin(((e,t)=>{var n=R(),r=Me(),i=G(),a=H(),o=Ne(),s=oe(),c=V(),l=`>`,u=`<`,d=`prototype`,f=`script`,p=c(`IE_PROTO`),EmptyConstructor=function(){},scriptTag=function(e){return u+f+l+e+u+`/`+f+l},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(``)),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=s(`iframe`),t=`java`+f+`:`,n;return e.style.display=`none`,o.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(scriptTag(`document.F=Object`)),n.close(),n.F},m,NullProtoObject=function(){try{m=new ActiveXObject(`htmlfile`)}catch(e){}NullProtoObject=typeof document<`u`?document.domain&&m?NullProtoObjectViaActiveX(m):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(m);for(var e=i.length;e--;)delete NullProtoObject[d][i[e]];return NullProtoObject()};a[p]=!0,t.exports=Object.create||function create(e,t){var i;return e===null?i=NullProtoObject():(EmptyConstructor[d]=n(e),i=new EmptyConstructor,EmptyConstructor[d]=null,i[p]=e),t===void 0?i:r.f(i,t)}})),Pe=__commonJSMin(((e,t)=>{var n=c(),r=b(),i=x(),a=q(),o=Oe(),s=U(),l=L(),u=j(),d=l(`iterator`),f=!1,p,m,h;[].keys&&(h=[].keys(),`next`in h?(m=o(o(h)),m!==Object.prototype&&(p=m)):f=!0),!i(p)||n(function(){var e={};return p[d].call(e)!==e})?p={}:u&&(p=a(p)),r(p[d])||s(p,d,function(){return this}),t.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:f}})),Fe=__commonJSMin((()=>{var e=K(),t=s(),n=Ee(),r=R(),i=b(),a=Oe(),o=ke(),u=Ae(),d=c(),f=I(),p=L(),m=Pe().IteratorPrototype,h=l(),g=j(),_=`constructor`,v=`Iterator`,y=p(`toStringTag`),x=TypeError,S=t[v],C=g||!i(S)||S.prototype!==m||!d(function(){S({})}),w=function Iterator(){if(n(this,m),a(this)===m)throw new x(`Abstract class Iterator not directly constructable`)},defineIteratorPrototypeAccessor=function(e,t){h?o(m,e,{configurable:!0,get:function(){return t},set:function(t){if(r(this),this===m)throw new x(`You can't redefine this property`);f(this,e)?this[e]=t:u(this,e,t)}}):m[e]=t};f(m,y)||defineIteratorPrototypeAccessor(y,v),(C||!f(m,_)||m[_]===Object)&&defineIteratorPrototypeAccessor(_,w),w.prototype=m,e({global:!0,constructor:!0,forced:C},{Iterator:w})})),J=__commonJSMin((()=>{Fe()})),Y=__commonJSMin(((e,t)=>{t.exports=function(e){return{iterator:e,next:e.next,done:!1}}})),Ie=__commonJSMin(((e,t)=>{var n=U();t.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}})),Le=__commonJSMin(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),X=__commonJSMin(((e,t)=>{var n=d(),r=R(),i=A();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}})),Re=__commonJSMin(((e,t)=>{var n=X();t.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(e[i]!==void 0)try{r=n(e[i].iterator,t,r)}catch(e){t=`throw`,r=e}if(t===`throw`)throw r;return r}})),ze=__commonJSMin(((e,t)=>{var n=d(),r=q(),i=B(),a=Ie(),o=L(),s=pe(),c=A(),l=Pe().IteratorPrototype,u=Le(),f=X(),p=Re(),m=o(`toStringTag`),h=`IteratorHelper`,g=`WrapForValidIterator`,_=`normal`,v=`throw`,y=s.set,createIteratorProxyPrototype=function(e){var t=s.getterFor(e?g:h);return a(r(l),{next:function next(){var n=t(this);if(e)return n.nextHandler();if(n.done)return u(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:u(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=c(i,`return`);return a?n(a,i):u(void 0,!0)}if(r.inner)try{f(r.inner.iterator,_)}catch(e){return f(i,v,e)}if(r.openIters)try{p(r.openIters,_)}catch(e){return f(i,v,e)}return i&&f(i,_),u(void 0,!0)}})},b=createIteratorProxyPrototype(!0),x=createIteratorProxyPrototype(!1);i(x,m,`Iterator Helper`),t.exports=function(e,t,n){var r=function Iterator(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?g:h,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,y(this,i)};return r.prototype=t?b:x,r}})),Be=__commonJSMin(((e,t)=>{var n=R(),r=X();t.exports=function(e,t,i,a){try{return a?t(n(i)[0],i[1]):t(i)}catch(t){r(e,`throw`,t)}}})),Ve=__commonJSMin(((e,t)=>{t.exports=function(e,t){var n=typeof Iterator==`function`&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}})),Z=__commonJSMin(((e,t)=>{var n=s();t.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}})),He=__commonJSMin((()=>{var e=K(),t=d(),n=k(),r=R(),i=Y(),a=ze(),o=Be(),s=j(),c=X(),l=Ve(),u=Z(),f=!s&&!l(`filter`,function(){}),p=!s&&!f&&u(`filter`,TypeError),m=s||f||p,h=a(function(){for(var e=this.iterator,n=this.predicate,i=this.next,a,s,c;;){if(a=r(t(i,e)),s=this.done=!!a.done,s)return;if(c=a.value,o(e,n,[c,this.counter++],!0))return c}});e({target:`Iterator`,proto:!0,real:!0,forced:m},{filter:function filter(e){r(this);try{n(e)}catch(e){c(this,`throw`,e)}return p?t(p,this,e):new h(i(this),{predicate:e})}})})),Q=__commonJSMin((()=>{He()})),Ue=__commonJSMin(((e,t)=>{var n=h(),r=m();t.exports=function(e){if(n(e)===`Function`)return r(e)}})),We=__commonJSMin(((e,t)=>{var n=Ue(),r=k(),i=u(),a=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:i?a(e,t):function(){return e.apply(t,arguments)}}})),Ge=__commonJSMin(((e,t)=>{t.exports={}})),Ke=__commonJSMin(((e,t)=>{var n=L(),r=Ge(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}})),qe=__commonJSMin(((e,t)=>{var n=L()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`})),Je=__commonJSMin(((e,t)=>{var n=qe(),r=b(),i=h(),a=L()(`toStringTag`),o=Object,s=i(function(){return arguments}())===`Arguments`,tryGet=function(e,t){try{return e[t]}catch(e){}};t.exports=n?i:function(e){var t,n,c;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=tryGet(t=o(e),a))==`string`?n:s?i(t):(c=i(t))===`Object`&&r(t.callee)?`Arguments`:c}})),Ye=__commonJSMin(((e,t)=>{var n=Je(),r=A(),i=_(),a=Ge(),o=L()(`iterator`);t.exports=function(e){if(!i(e))return r(e,o)||r(e,`@@iterator`)||a[n(e)]}})),Xe=__commonJSMin(((e,t)=>{var n=d(),r=k(),i=R(),a=O(),o=Ye(),s=TypeError;t.exports=function(e,t){var c=arguments.length<2?o(e):t;if(r(c))return i(n(c,e));throw new s(a(e)+` is not iterable`)}})),Ze=__commonJSMin(((e,t)=>{var n=We(),r=d(),i=R(),a=O(),o=Ke(),s=W(),c=C(),l=Xe(),u=Ye(),f=X(),p=TypeError,Result=function(e,t){this.stopped=e,this.result=t},m=Result.prototype;t.exports=function(e,t,d){var h=d&&d.that,g=!!(d&&d.AS_ENTRIES),_=!!(d&&d.IS_RECORD),v=!!(d&&d.IS_ITERATOR),y=!!(d&&d.INTERRUPTED),b=n(t,h),x,S,C,w,T,E,D,stop=function(e){return x&&f(x,`normal`),new Result(!0,e)},callFn=function(e){return g?(i(e),y?b(e[0],e[1],stop):b(e[0],e[1])):y?b(e,stop):b(e)};if(_)x=e.iterator;else if(v)x=e;else{if(S=u(e),!S)throw new p(a(e)+` is not iterable`);if(o(S)){for(C=0,w=s(e);w>C;C++)if(T=callFn(e[C]),T&&c(m,T))return T;return new Result(!1)}x=l(e,S)}for(E=_?e.next:x.next;!(D=r(E,x)).done;){try{T=callFn(D.value)}catch(e){f(x,`throw`,e)}if(typeof T==`object`&&T&&c(m,T))return T}return new Result(!1)}})),Qe=__commonJSMin((()=>{var e=K(),t=d(),n=Ze(),r=k(),i=R(),a=Y(),o=X(),s=Z()(`find`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{find:function find(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return n(c,function(t,n){if(e(t,l++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})})),$=__commonJSMin((()=>{Qe()})),$e=__commonJSMin(((e,t)=>{var n=h();t.exports=Array.isArray||function isArray(e){return n(e)===`Array`}})),et=__commonJSMin(((e,t)=>{var n=l(),r=$e(),i=TypeError,a=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(r(e)&&!a(e,`length`).writable)throw new i(`Cannot set read only .length`);return e.length=t}:function(e,t){return e.length=t}})),tt=__commonJSMin(((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw n(`Maximum allowed index exceeded`);return e}})),nt=__commonJSMin((()=>{var e=K(),t=P(),n=W(),r=et(),i=tt(),a=c()(function(){return[].push.call({length:4294967296},1)!==4294967297}),properErrorOnNonWritableLength=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}};e({target:`Array`,proto:!0,arity:1,forced:a||!properErrorOnNonWritableLength()},{push:function push(e){var a=t(this),o=n(a),s=arguments.length;i(o+s);for(var c=0;c<s;c++)a[o]=arguments[c],o++;return r(a,o),o}})})),rt=__commonJSMin((()=>{var e=K(),t=d(),n=Ze(),r=k(),i=R(),a=Y(),o=X(),s=Z()(`forEach`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{forEach:function forEach(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;n(c,function(t){e(t,l++)},{IS_RECORD:!0})}})})),it=__commonJSMin((()=>{rt()})),at=__commonJSMin(((e,t)=>{nt(),J(),Q(),$(),it(),t.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass(`elementor-element-edit-mode`),this.isEdit&&this.addEditorListeners())},isActive(){return!0},isElementInTheCurrentDocument(){return elementorFrontend.isEditMode()?elementor.documents.currentDocument.id.toString()===this.$element[0].closest(`.elementor`).dataset.elementorId:!1},findElement(e){var t=this.$element;return t.find(e).filter(function(){return jQuery(this).parent().closest(`.elementor-element`).is(t)})},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr(`data-element_type`)+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:`element:destroy`,to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){let t=e.getWidgetType()||e.getElementType(),n=`change`;t!==`global`&&(n+=`:`+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get(`name`),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:`change:editSettings`,to:elementor.channels.editor,callback(t,n){if(n.model.cid!==e.getModelCID())return;let r=Object.keys(t.changed)[0];e.onEditSettingsChange(r,t.changed[r])}}),[`page`].forEach(function(t){var n=`on`+t[0].toUpperCase()+t.slice(1)+`SettingsChange`;e[n]&&e.editorListeners.push({event:`change`,to:elementor.settings[t].model,callback(t){e[n](t.changed)}})})},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)})},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)})},getElementType(){return this.$element.data(`element_type`)},getWidgetType(){let e=this.$element.data(`widget_type`);if(e)return e.split(`.`)[0]},getID(){return this.$element.data(`id`)},getModelCID(){return this.$element.data(`model-cid`)},getElementSettings(e){let t={},n=this.getModelCID();if(this.isEdit&&n){let e=elementorFrontend.config.elements.data[n],r=e.attributes,i=r.widgetType||r.elType;r.isInner&&(i=`inner-`+i);let a=elementorFrontend.config.elements.keys[i];a||(a=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,(e,t)=>{(t.frontend_available||t.editor_available)&&a.push(e)})),jQuery.each(e.getActiveControls(),function(e){if(a.indexOf(e)!==-1){let n=r[e];n.toJSON&&(n=n.toJSON()),t[e]=n}})}else t=this.$element.data(`settings`)||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})})),ot=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.changeScrollStatus=changeScrollStatus,e.setHorizontalScrollAlignment=setHorizontalScrollAlignment,e.setHorizontalTitleScrollValues=setHorizontalTitleScrollValues;function changeScrollStatus(e,t){t.type===`mousedown`?(e.classList.add(`e-scroll`),e.dataset.pageX=t.pageX):(e.classList.remove(`e-scroll`,`e-scroll-active`),e.dataset.pageX=``)}function setHorizontalTitleScrollValues(e,t,n){let r=e.classList.contains(`e-scroll`),i=t===`enable`,a=e.scrollWidth>e.clientWidth;if(!r||!i||!a)return;n.preventDefault();let o=parseFloat(e.dataset.pageX),s=n.pageX-o,c=0;c=20<s?5:-20>s?-5:s,e.scrollLeft-=c,e.classList.add(`e-scroll-active`)}function setHorizontalScrollAlignment({element:e,direction:t,justifyCSSVariable:n,horizontalScrollStatus:r}){e&&(isHorizontalScroll(e,r)?initialScrollPosition(e,t,n):e.style.setProperty(n,``))}function isHorizontalScroll(e,t){return e.clientWidth<getChildrenWidth(e.children)&&t===`enable`}function getChildrenWidth(e){let t=0,n=e[0].parentNode,r=getComputedStyle(n),i=parseFloat(r.gap)||0;for(let n=0;n<e.length;n++)t+=e[n].offsetWidth+i;return t}function initialScrollPosition(e,t,n){let r=elementorFrontend.config.is_rtl;switch(t){case`end`:e.style.setProperty(n,`start`),e.scrollLeft=r?-1*getChildrenWidth(e.children):getChildrenWidth(e.children);break;default:e.style.setProperty(n,`start`),e.scrollLeft=0}}})),st=__commonJSMin(((e,t)=>{var n=L(),r=q(),i=z().f,a=n(`unscopables`),o=Array.prototype;o[a]===void 0&&i(o,a,{configurable:!0,value:r(null)}),t.exports=function(e){o[a][e]=!0}})),ct=__commonJSMin((()=>{var e=K(),t=ye().includes,n=c(),r=st();e({target:`Array`,proto:!0,forced:n(function(){return![,].includes()})},{includes:function includes(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),r(`includes`)})),lt=__commonJSMin((e=>{var t=o();Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,ct(),J(),Q(),$();var n=t(at()),NestedTitleKeyboardHandler=class extends n.default{__construct(e){super.__construct(e),this.directionNext=`next`,this.directionPrevious=`previous`,this.focusableElementSelector=`audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], [contenteditable], [href], [tabindex]:not([tabindex="-1"])`}getWidgetNumber(){return this.$element.find(`> .elementor-widget-container > .e-n-tabs, > .e-n-tabs`).attr(`data-widget-number`)}getDefaultSettings(){return{selectors:{itemTitle:`[data-tab-title-id*="e-n-tab-title-${this.getWidgetNumber()}"]`,itemContainer:`[id*="e-n-tab-content-${this.getWidgetNumber()}"]`},ariaAttributes:{titleStateAttribute:`aria-selected`,activeTitleSelector:`[aria-selected="true"]`},datasets:{titleIndex:`data-tab-index`},keyDirection:{ArrowLeft:elementorFrontendConfig.is_rtl?this.directionNext:this.directionPrevious,ArrowUp:this.directionPrevious,ArrowRight:elementorFrontendConfig.is_rtl?this.directionPrevious:this.directionNext,ArrowDown:this.directionNext}}}getDefaultElements(){let e=this.getSettings(`selectors`);return{$itemTitles:this.findElement(e.itemTitle),$itemContainers:this.findElement(e.itemContainer),$focusableContainerElements:this.getFocusableElements(this.findElement(e.itemContainer))}}getFocusableElements(e){return e.find(this.focusableElementSelector).not(`[disabled], [inert]`)}getKeyDirectionValue(e){let t=this.getSettings(`keyDirection`)[e.key];return this.directionNext===t?1:-1}getTitleIndex(e){let{titleIndex:t}=this.getSettings(`datasets`);return e.getAttribute(t)}getTitleFilterSelector(e){let{titleIndex:t}=this.getSettings(`datasets`);return`[${t}="${e}"]`}getActiveTitleElement(){let e=this.getSettings(`ariaAttributes`).activeTitleSelector;return this.elements.$itemTitles.filter(e)}onInit(...e){super.onInit(...e)}bindEvents(){this.elements.$itemTitles.on(this.getTitleEvents()),this.elements.$focusableContainerElements.on(this.getContentElementEvents())}unbindEvents(){this.elements.$itemTitles.off(this.getTitleEvents()),this.elements.$focusableContainerElements.children().off(this.getContentElementEvents())}getTitleEvents(){return{keydown:this.handleTitleKeyboardNavigation.bind(this)}}getContentElementEvents(){return{keydown:this.handleContentElementKeyboardNavigation.bind(this)}}isDirectionKey(e){return[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)}isActivationKey(e){return[`Enter`,` `].includes(e.key)}handleTitleKeyboardNavigation(e){if(this.isDirectionKey(e)){e.preventDefault();let t=parseInt(this.getTitleIndex(e.currentTarget))||1,n=this.elements.$itemTitles.length,r=this.getTitleIndexFocusUpdated(e,t,n);this.changeTitleFocus(r),e.stopPropagation()}else if(this.isActivationKey(e)){if(e.preventDefault(),this.handeTitleLinkEnterOrSpaceEvent(e))return;let t=this.getTitleIndex(e.currentTarget);elementorFrontend.elements.$window.trigger(`elementor/nested-elements/activate-by-keyboard`,{widgetId:this.getID(),titleIndex:t})}else e.key===`Escape`&&this.handleTitleEscapeKeyEvents(e)}handeTitleLinkEnterOrSpaceEvent(e){var t;let n=(e==null||(t=e.currentTarget)==null||(t=t.tagName)==null?void 0:t.toLowerCase())===`a`;if(!elementorFrontend.isEditMode()&&n){var r;e==null||(r=e.currentTarget)==null||r.click(),e.stopPropagation()}return n}getTitleIndexFocusUpdated(e,t,n){let r=0;switch(e.key){case`Home`:r=1;break;case`End`:r=n;break;default:let i=this.getKeyDirectionValue(e),a=n<t+i,o=t+i===0;r=a?1:o?n:t+i}return r}changeTitleFocus(e){let t=this.elements.$itemTitles.filter(this.getTitleFilterSelector(e));this.setTitleTabindex(e),t.trigger(`focus`)}setTitleTabindex(e){this.elements.$itemTitles.attr(`tabindex`,`-1`),this.elements.$itemTitles.filter(this.getTitleFilterSelector(e)).attr(`tabindex`,`0`)}handleTitleEscapeKeyEvents(){}handleContentElementKeyboardNavigation(e){e.key===`Tab`&&!e.shiftKey?this.handleContentElementTabEvents(e):e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),this.handleContentElementEscapeEvents(e))}handleContentElementEscapeEvents(){this.getActiveTitleElement().trigger(`focus`)}handleContentElementTabEvents(){}};e.default=NestedTitleKeyboardHandler})),ut=__toESM(__commonJSMin((e=>{var t=o();Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,J(),Q(),$();var n=t(at()),r=ot();function _interopRequireWildcard(e,t){if(typeof WeakMap==`function`)var n=new WeakMap,r=new WeakMap;return(_interopRequireWildcard=function(e,t){if(!t&&e&&e.__esModule)return e;var i,a,o={__proto__:null,default:e};if(e===null||typeof e!=`object`&&typeof e!=`function`)return o;if(i=t?r:n){if(i.has(e))return i.get(e);i.set(e,o)}for(let t in e)t!=="default"&&{}.hasOwnProperty.call(e,t)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?i(o,t,a):o[t]=e[t]);return o})(e,t)}var NestedTabs=class extends n.default{getTabTitleFilterSelector(e){return`[${this.getSettings(`dataAttributes`).tabIndex}="${e}"]`}getTabContentFilterSelector(e){return`*:nth-child(${e})`}getTabIndex(e){return e.getAttribute(this.getSettings(`dataAttributes`).tabIndex)}getActiveTabIndex(){let e=this.getSettings(),t=e.ariaAttributes.activeTitleSelector,n=e.dataAttributes.tabIndex;return this.elements.$tabTitles.filter(t).attr(n)||null}getWidgetNumber(){return this.$element.find(`> .elementor-widget-container > .e-n-tabs, > .e-n-tabs`).attr(`data-widget-number`)}getDefaultSettings(){let e=this.getWidgetNumber();return{selectors:{widgetContainer:`[data-widget-number="${e}"]`,tabTitle:`[aria-controls*="e-n-tab-content-${e}"]`,tabTitleIcon:`[data-tab-title-id*="e-n-tab-title-${e}"] > .e-n-tab-icon`,tabTitleText:`[data-tab-title-id*="e-n-tab-title-${e}"] > .e-n-tab-title-text`,tabContent:`[data-widget-number="${e}"] > .e-n-tabs-content > .e-con`,headingContainer:`[data-widget-number="${e}"] > .e-n-tabs-heading`,activeTabContentContainers:`[id*="e-n-tab-content-${e}"].e-active`},classes:{active:`e-active`},dataAttributes:{tabIndex:`data-tab-index`},ariaAttributes:{titleStateAttribute:`aria-selected`,activeTitleSelector:`[aria-selected="true"]`},showTabFn:`show`,hideTabFn:`hide`,toggleSelf:!1,hidePrevious:!0,autoExpand:!0}}getDefaultElements(){let e=this.getSettings(`selectors`);return{$widgetContainer:this.findElement(e.widgetContainer),$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent),$headingContainer:this.findElement(e.headingContainer)}}getKeyboardNavigationSettings(){return this.getSettings()}activateDefaultTab(){let e=this.getSettings(),t=this.getEditSettings(`activeItemIndex`)||1,n={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:`show`,hideTabFn:`hide`}),this.changeActiveTab(t),this.setSettings(n),this.elements.$widgetContainer.addClass(`e-activated`)}deactivateActiveTab(e){let t=this.getSettings(),n=t.classes.active,r=t.ariaAttributes.activeTitleSelector,i=`.`+n,a=this.elements.$tabTitles.filter(r),o=this.elements.$tabContents.filter(i);return this.setTabDeactivationAttributes(a,e),o.removeClass(n),o[t.hideTabFn](0,()=>this.onHideTabContent(o)),o}getTitleActivationAttributes(){return{tabindex:`0`,[this.getSettings(`ariaAttributes`).titleStateAttribute]:`true`}}setTabDeactivationAttributes(e){let t=this.getSettings(`ariaAttributes`).titleStateAttribute;e.attr({tabindex:`-1`,[t]:`false`})}onHideTabContent(){}activateTab(e){let t=this.getSettings(),n=t.classes.active,r=t.showTabFn===`show`?0:400,i=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e)),a=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e));if(!i.length){let t=Math.max(e-1,1);i=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(t)),a=this.elements.$tabContents.filter(this.getTabContentFilterSelector(t))}i.attr(this.getTitleActivationAttributes()),a.addClass(n),a[t.showTabFn](r,()=>this.onShowTabContent(a))}onShowTabContent(e){elementorFrontend.elements.$window.trigger(`elementor-pro/motion-fx/recalc`),elementorFrontend.elements.$window.trigger(`elementor/nested-tabs/activate`,e),elementorFrontend.elements.$window.trigger(`elementor/bg-video/recalc`)}isActiveTab(e){let t=this.getSettings(),n=this.elements.$tabTitles.filter(`[${t.dataAttributes.tabIndex}="${e}"]`).attr(t.ariaAttributes.titleStateAttribute)===`true`,r=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).hasClass(this.getActiveClass());return n&&r}onTabClick(e){var t;e.preventDefault(),this.changeActiveTab((t=e.currentTarget)==null?void 0:t.getAttribute(this.getSettings(`dataAttributes`).tabIndex),!0)}getTabEvents(){return{click:this.onTabClick.bind(this)}}getHeadingEvents(){let e=this.elements.$headingContainer[0];return{mousedown:r.changeScrollStatus.bind(this,e),mouseup:r.changeScrollStatus.bind(this,e),mouseleave:r.changeScrollStatus.bind(this,e),mousemove:r.setHorizontalTitleScrollValues.bind(this,e,this.getHorizontalScrollSetting())}}bindEvents(){this.elements.$tabTitles.on(this.getTabEvents()),this.elements.$headingContainer.on(this.getHeadingEvents()),elementorFrontend.elements.$window.on(`resize`,this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.on(`resize`,this.setTouchMode.bind(this)),elementorFrontend.elements.$window.on(`elementor/nested-tabs/activate`,this.reInitSwipers),elementorFrontend.elements.$window.on(`elementor/nested-elements/activate-by-keyboard`,this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.on(`elementor/nested-container/atomic-repeater`,this.linkContainer.bind(this))}unbindEvents(){this.elements.$tabTitles.off(),this.elements.$headingContainer.off(),this.elements.$tabContents.children().off(),elementorFrontend.elements.$window.off(`resize`,this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.off(`resize`,this.setTouchMode.bind(this)),elementorFrontend.elements.$window.off(`elementor/nested-tabs/activate`,this.reInitSwipers),elementorFrontend.elements.$window.off(`elementor/nested-elements/activate-by-keyboard`,this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.off(`elementor/nested-container/atomic-repeater`,this.linkContainer.bind(this))}reInitSwipers(e,t){let n=t.querySelectorAll(`.swiper`);for(let e of n){if(!e.swiper)return;e.swiper.initialized=!1,e.swiper.init()}}onInit(...e){super.onInit(...e),this.getSettings(`autoExpand`)&&this.activateDefaultTab(),(0,r.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()),this.setTouchMode(),this.getSettings(`elementName`)===`nested-tabs.default`&&Promise.resolve().then(()=>_interopRequireWildcard(lt())).then(({default:e})=>{new e(this.getKeyboardNavigationSettings())}).catch(e=>{console.error(`Error importing module:`,e)})}onEditSettingsChange(e,t){e===`activeItemIndex`&&this.changeActiveTab(t,!1)}onElementChange(e){this.checkSliderPropsToWatch(e)&&(0,r.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}checkSliderPropsToWatch(e){return e.indexOf(`horizontal_scroll`)===0||e===`breakpoint_selector`||e.indexOf(`tabs_justify_horizontal`)===0||e.indexOf(`tabs_title_space_between`)===0}changeActiveTab(e,t=!1){if(t&&this.isEdit&&this.isElementInTheCurrentDocument())return window.top.$e.run(`document/repeater/select`,{container:elementor.getContainer(this.$element.attr(`data-id`)),index:parseInt(e)});let n=this.isActiveTab(e),r=this.getSettings();if((r.toggleSelf||!n)&&r.hidePrevious&&this.deactivateActiveTab(e),!r.hidePrevious&&n&&this.deactivateActiveTab(e),!n){if(this.isAccordionVersion()){this.activateMobileTab(e);return}this.activateTab(e)}}changeActiveTabByKeyboard(e,t){t.widgetId.toString()===this.getID().toString()&&this.changeActiveTab(t.titleIndex,!0)}activateMobileTab(e){setTimeout(()=>{this.activateTab(e),this.forceActiveTabToBeInViewport(e)},10)}forceActiveTabToBeInViewport(e){if(!elementorFrontend.isEditMode())return;let t=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e));elementor.helpers.isInViewport(t[0])||t[0].scrollIntoView({block:`center`})}getActiveClass(){return this.getSettings().classes.active}getTabsDirection(){let e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),`tabs_justify_horizontal`,``,e)}getHorizontalScrollSetting(){let e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),`horizontal_scroll`,``,e)}isAccordionVersion(){return this.elements.$headingContainer.css(`display`)===`contents`}setTouchMode(){var e;let t=this.getSettings(`selectors`).widgetContainer;if(elementorFrontend.isEditMode()||((e=event)==null?void 0:e.type)===`resize`){let e=[`mobile`,`mobile_extra`,`tablet`,`tablet_extra`],n=elementorFrontend.getCurrentDeviceMode();if(e.indexOf(n)!==-1){this.$element.find(t).attr(`data-touch-mode`,`true`);return}}else if(`ontouchstart`in window){this.$element.find(t).attr(`data-touch-mode`,`true`);return}this.$element.find(t).attr(`data-touch-mode`,`false`)}linkContainer(e){let{container:t}=e.detail,n=t.model.get(`id`),r=this.$element.data(`id`),i=t.view.$el;if(n===r&&(this.updateIndexValues(),this.updateListeners(i),elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent(`elementor/elements/link-data-bindings`))),!this.getActiveTabIndex()){let t=e.detail.index+1||1;this.changeActiveTab(t)}}updateListeners(e){this.elements.$tabContents=e.find(this.getSettings(`selectors.tabContent`)),this.elements.$tabTitles=e.find(this.getSettings(`selectors.tabTitle`)),this.elements.$tabTitles.on(this.getTabEvents())}updateIndexValues(){let{$widgetContainer:e,$tabContents:t,$tabTitles:n}=this.getDefaultElements(),r=this.getSettings(),i=r.dataAttributes.tabIndex,a=e.data(`widgetNumber`);n.each((e,n)=>{var o;let s=e+1,c=`e-n-tab-title-${a}${s}`,l=`e-n-tab-content-${a}${s}`;n.setAttribute(`id`,c),n.setAttribute(`style`,`--n-tabs-title-order: ${s}`),n.setAttribute(i,s),n.setAttribute(`aria-controls`,l),(o=n.querySelector(r.selectors.tabTitleIcon))==null||o.setAttribute(`data-binding-index`,s),n.querySelector(r.selectors.tabTitleText).setAttribute(`data-binding-index`,s),t[e].setAttribute(`aria-labelledby`,c),t[e].setAttribute(i,s),t[e].setAttribute(`id`,l),t[e].setAttribute(`style`,`--n-tabs-title-order: ${s}`)})}onResizeUpdateHorizontalScrolling(){(0,r.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}getHorizontalScrollingSettings(){return{element:this.elements.$headingContainer[0],direction:this.getTabsDirection(),justifyCSSVariable:`--n-tabs-heading-justify-content`,horizontalScrollStatus:this.getHorizontalScrollSetting()}}};e.default=NestedTabs}))());(window.__elementorChunks=window.__elementorChunks||{})[`nested-tabs`]=ut})();