/*! bdtUIkit 3.17.0 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function($e,xe){typeof exports=="object"&&typeof module<"u"?module.exports=xe():typeof define=="function"&&define.amd?define("uikit",xe):($e=typeof globalThis<"u"?globalThis:$e||self,$e.bdtUIkit=xe())})(this,function(){"use strict";const{hasOwnProperty:$e,toString:xe}=Object.prototype;function bt(t,e){return $e.call(t,e)}const Vo=/\B([A-Z])/g,te=pt(t=>t.replace(Vo,"-$1").toLowerCase()),Go=/-(\w)/g,ye=pt(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Go,(e,i)=>i.toUpperCase())),Et=pt(t=>t.charAt(0).toUpperCase()+t.slice(1));function lt(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}function ee(t,e){var i;return(i=t==null?void 0:t.endsWith)==null?void 0:i.call(t,e)}function g(t,e){var i;return(i=t==null?void 0:t.includes)==null?void 0:i.call(t,e)}function kt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:Q,from:Pt}=Array,{assign:wt}=Object;function nt(t){return typeof t=="function"}function _t(t){return t!==null&&typeof t=="object"}function St(t){return xe.call(t)==="[object Object]"}function ie(t){return _t(t)&&t===t.window}function Qe(t){return Fi(t)===9}function ti(t){return Fi(t)>=1}function ke(t){return Fi(t)===1}function Fi(t){return!ie(t)&&_t(t)&&t.nodeType}function se(t){return typeof t=="boolean"}function B(t){return typeof t=="string"}function Se(t){return typeof t=="number"}function $t(t){return Se(t)||B(t)&&!isNaN(t-parseFloat(t))}function Ie(t){return!(Q(t)?t.length:_t(t)&&Object.keys(t).length)}function J(t){return t===void 0}function zi(t){return se(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function It(t){const e=Number(t);return isNaN(e)?!1:e}function k(t){return parseFloat(t)||0}function z(t){return T(t)[0]}function T(t){return ti(t)?[t]:Array.from(t||[]).filter(ti)}function ne(t){if(ie(t))return t;t=z(t);const e=Qe(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function ei(t,e){return t===e||_t(t)&&_t(e)&&Object.keys(t).length===Object.keys(e).length&&Ot(t,(i,s)=>i===e[s])}function Hi(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),s=>s===e?i:e)}function oe(t){return t[t.length-1]}function Ot(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Fs(t,e){return t.slice().sort(({[e]:i=0},{[e]:s=0})=>i>s?1:s>i?-1:0)}function Nt(t,e){return t.reduce((i,s)=>i+k(nt(e)?e(s):s[e]),0)}function zs(t,e){const i=new Set;return t.filter(({[e]:s})=>i.has(s)?!1:i.add(s))}function Li(t,e){return e.reduce((i,s)=>({...i,[s]:t[s]}),{})}function tt(t,e=0,i=1){return Math.min(Math.max(It(t)||0,e),i)}function P(){}function Wi(...t){return[["bottom","top"],["right","left"]].every(([e,i])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[i]:s})=>s))>0)}function Ce(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function ji(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function Hs(t,e){t={...t};for(const i in t)t=t[i]>e[i]?ji(t,i,e[i]):t;return t}function Yo(t,e){t=Hs(t,e);for(const i in t)t=t[i]<e[i]?ji(t,i,e[i]):t;return t}const ii={ratio:ji,contain:Hs,cover:Yo};function ht(t,e,i=0,s=!1){e=T(e);const{length:n}=e;return n?(t=$t(t)?It(t):t==="next"?i+1:t==="previous"?i-1:t==="last"?n-1:e.indexOf(z(t)),s?tt(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function pt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}function p(t,e,i){var s;if(_t(e)){for(const n in e)p(t,n,e[n]);return}if(J(i))return(s=z(t))==null?void 0:s.getAttribute(e);for(const n of T(t))nt(i)&&(i=i.call(n,p(n,e))),i===null?Te(n,e):n.setAttribute(e,i)}function xt(t,e){return T(t).some(i=>i.hasAttribute(e))}function Te(t,e){T(t).forEach(i=>i.removeAttribute(e))}function it(t,e){for(const i of[e,`data-${e}`])if(xt(t,i))return p(t,i)}function $(t,...e){for(const i of T(t)){const s=Ft(e).filter(n=>!S(i,n));s.length&&i.classList.add(...s)}}function M(t,...e){for(const i of T(t)){const s=Ft(e).filter(n=>S(i,n));s.length&&i.classList.remove(...s)}}function Ri(t,e){e=new RegExp(e);for(const i of T(t))i.classList.remove(...Pt(i.classList).filter(s=>s.match(e)))}function si(t,e,i){i=Ft(i),e=Ft(e).filter(s=>!g(i,s)),M(t,e),$(t,i)}function S(t,e){return[e]=Ft(e),T(t).some(i=>i.classList.contains(e))}function q(t,e,i){const s=Ft(e);J(i)||(i=!!i);for(const n of T(t))for(const o of s)n.classList.toggle(o,i)}function Ft(t){return Q(t)?t.map(Ft).flat():String(t).split(/[ ,]/).filter(Boolean)}const Xo={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function qi(t){return T(t).some(e=>Xo[e.tagName.toLowerCase()])}function j(t){return T(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const Ee="input,select,textarea,button";function Ui(t){return T(t).some(e=>O(e,Ee))}const Pe=`${Ee},a[href],[tabindex]`;function ni(t){return O(t,Pe)}function _(t){var e;return(e=z(t))==null?void 0:e.parentElement}function _e(t,e){return T(t).filter(i=>O(i,e))}function O(t,e){return T(t).some(i=>i.matches(e))}function U(t,e){var i;return(i=z(t))==null?void 0:i.closest(lt(e,">")?e.slice(1):e)}function N(t,e){return B(e)?!!U(t,e):z(e).contains(z(t))}function re(t,e){const i=[];for(;t=_(t);)(!e||O(t,e))&&i.push(t);return i}function D(t,e){t=z(t);const i=t?Pt(t.children):[];return e?_e(i,e):i}function ae(t,e){return e?T(t).indexOf(z(e)):D(_(t)).indexOf(t)}function le(t){return t=z(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function Vi(t){if(le(t)){t=z(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function ot(t,e){return Gi(t,Ws(t,e))}function Oe(t,e){return Ae(t,Ws(t,e))}function Gi(t,e){return z(js(t,z(e),"querySelector"))}function Ae(t,e){return T(js(t,z(e),"querySelectorAll"))}const Jo=/(^|[^\\],)\s*[!>+~-]/,Ls=pt(t=>t.match(Jo));function Ws(t,e=document){return B(t)&&Ls(t)||Qe(e)?e:e.ownerDocument}const Ko=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Zo=pt(t=>t.replace(Ko,"$1 *"));function js(t,e=document,i){if(!t||!B(t))return t;if(t=Zo(t),Ls(t)){const s=tr(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=U(_(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=O(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=`${t?",":""}${er(o)} ${n}`)}e=document}try{return e[i](t)}catch{return null}}const Qo=/.*?[^\\](?:,|$)/g,tr=pt(t=>t.match(Qo).map(e=>e.replace(/,$/,"").trim()));function er(t){const e=[];for(;t.parentNode;){const i=p(t,"id");if(i){e.unshift(`#${Yi(i)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${ae(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Yi(t){return B(t)?CSS.escape(t):""}function y(...t){let[e,i,s,n,o=!1]=Xi(t);n.length>1&&(n=sr(n)),o!=null&&o.self&&(n=nr(n)),s&&(n=ir(s,n));for(const r of i)for(const a of e)a.addEventListener(r,n,o);return()=>zt(e,i,n,o)}function zt(...t){let[e,i,,s,n=!1]=Xi(t);for(const o of i)for(const r of e)r.removeEventListener(o,s,n)}function R(...t){const[e,i,s,n,o=!1,r]=Xi(t),a=y(e,i,s,l=>{const h=!r||r(l);h&&(a(),n(l,h))},o);return a}function v(t,e,i){return Ji(t).every(s=>s.dispatchEvent(Ht(e,!0,!0,i)))}function Ht(t,e=!0,i=!1,s){return B(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Xi(t){return t[0]=Ji(t[0]),B(t[1])&&(t[1]=t[1].split(" ")),nt(t[2])&&t.splice(2,0,!1),t}function ir(t,e){return i=>{const s=t[0]===">"?Ae(t,i.currentTarget).reverse().filter(n=>N(i.target,n))[0]:U(i.target,t);s&&(i.current=s,e.call(this,i),delete i.current)}}function sr(t){return e=>Q(e.detail)?t(e,...e.detail):t(e)}function nr(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Rs(t){return t&&"addEventListener"in t}function or(t){return Rs(t)?t:z(t)}function Ji(t){return Q(t)?t.map(or).filter(Boolean):B(t)?Ae(t):Rs(t)?[t]:T(t)}function Ct(t){return t.pointerType==="touch"||!!t.touches}function he(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}const rr={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function c(t,e,i,s){const n=T(t);for(const o of n)if(B(e)){if(e=oi(e),J(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,$t(i)&&!rr[e]?`${i}px`:i||Se(i)?i:"",s)}else if(Q(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else _t(e)&&(s=i,Ot(e,(r,a)=>c(o,a,r,s)));return n[0]}const oi=pt(t=>ar(t));function ar(t){if(lt(t,"--"))return t;t=te(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s=`-${i}-${t}`;if(s in e)return s}}const Ki="bdt-transition",Zi="transitionend",Qi="transitioncanceled";function lr(t,e,i=400,s="linear"){return i=Math.round(i),Promise.all(T(t).map(n=>new Promise((o,r)=>{for(const l in e){const h=c(n,l);h===""&&c(n,l,h)}const a=setTimeout(()=>v(n,Zi),i);R(n,[Zi,Qi],({type:l})=>{clearTimeout(a),M(n,Ki),c(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),l===Qi?r():o(n)},{self:!0}),$(n,Ki),c(n,{transitionProperty:Object.keys(e).map(oi).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:s,...e})})))}const A={start:lr,async stop(t){v(t,Zi),await Promise.resolve()},async cancel(t){v(t,Qi),await Promise.resolve()},inProgress(t){return S(t,Ki)}},Me="bdt-animation-",qs="animationend",ri="animationcanceled";function Us(t,e,i=200,s,n){return Promise.all(T(t).map(o=>new Promise((r,a)=>{v(o,ri);const l=setTimeout(()=>v(o,qs),i);R(o,[qs,ri],({type:h})=>{clearTimeout(l),h===ri?a():r(o),c(o,"animationDuration",""),Ri(o,`${Me}\\S*`)},{self:!0}),c(o,"animationDuration",`${i}ms`),$(o,e,Me+(n?"leave":"enter")),lt(e,Me)&&(s&&$(o,`bdt-transform-origin-${s}`),n&&$(o,`${Me}reverse`))})))}const hr=new RegExp(`${Me}(enter|leave)`),At={in:Us,out(t,e,i,s){return Us(t,e,i,s,!0)},inProgress(t){return hr.test(p(t,"class"))},cancel(t){v(t,ri)}};function cr(t){if(document.readyState!=="loading"){t();return}R(document,"DOMContentLoaded",t)}function V(t,...e){return e.some(i=>{var s;return((s=t==null?void 0:t.tagName)==null?void 0:s.toLowerCase())===i.toLowerCase()})}function ts(t){return t=w(t),t.innerHTML="",t}function Lt(t,e){return J(e)?w(t).innerHTML:L(ts(t),e)}const ur=hi("prepend"),L=hi("append"),ai=hi("before"),li=hi("after");function hi(t){return function(e,i){var s;const n=T(B(i)?Wt(i):i);return(s=w(e))==null||s[t](...n),Vs(n)}}function ct(t){T(t).forEach(e=>e.remove())}function ci(t,e){for(e=z(ai(t,e));e.firstChild;)e=e.firstChild;return L(e,t),e}function es(t,e){return T(T(t).map(i=>i.hasChildNodes()?ci(Pt(i.childNodes),e):L(i,e)))}function De(t){T(t).map(_).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const fr=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Wt(t){const e=fr.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),Vs(i.content.childNodes)}function Vs(t){return t.length>1?t:t[0]}function Tt(t,e){if(ke(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;Tt(t,e),t=i}}function w(t,e){return Gs(t)?z(Wt(t)):Gi(t,e)}function F(t,e){return Gs(t)?T(Wt(t)):Ae(t,e)}function Gs(t){return B(t)&&lt(t.trim(),"<")}const jt={width:["left","right"],height:["top","bottom"]};function x(t){const e=ke(t)?z(t).getBoundingClientRect():{height:st(t),width:Be(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function I(t,e){e&&c(t,{left:0,top:0});const i=x(t);if(t){const{scrollY:s,scrollX:n}=ne(t),o={height:s,width:n};for(const r in jt)for(const a of jt[r])i[a]+=o[r]}if(!e)return i;for(const s of["left","top"])c(t,s,e[s]-i[s])}function is(t){let{top:e,left:i}=I(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=z(t);let r=o||n;for(;r&&(r===s||r===n)&&c(r,"position")==="static";)r=r.parentNode;if(ke(r)){const a=I(r);e-=a.top+k(c(r,"borderTopWidth")),i-=a.left+k(c(r,"borderLeftWidth"))}return{top:e-k(c(t,"marginTop")),left:i-k(c(t,"marginLeft"))}}function Rt(t){t=z(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+k(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+k(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=ne(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const st=Ys("height"),Be=Ys("width");function Ys(t){const e=Et(t);return(i,s)=>{if(J(s)){if(ie(i))return i[`inner${e}`];if(Qe(i)){const n=i.documentElement;return Math.max(n[`offset${e}`],n[`scroll${e}`])}return i=z(i),s=c(i,t),s=s==="auto"?i[`offset${e}`]:k(s)||0,s-ce(i,t)}else return c(i,t,!s&&s!==0?"":+s+ce(i,t)+"px")}}function ce(t,e,i="border-box"){return c(t,"boxSizing")===i?Nt(jt[e].map(Et),s=>k(c(t,`padding${s}`))+k(c(t,`border${s}Width`))):0}function ui(t){for(const e in jt)for(const i in jt[e])if(jt[e][i]===t)return jt[e][1-i];return t}function et(t,e="width",i=window,s=!1){return B(t)?Nt(pr(t),n=>{const o=mr(n);return o?vr(o==="vh"?br():o==="vw"?Be(ne(i)):s?i[`offset${Et(e)}`]:x(i)[e],n):n}):k(t)}const dr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,pr=pt(t=>t.toString().replace(/\s/g,"").match(dr)||[]),gr=/(?:v[hw]|%)$/,mr=pt(t=>(t.match(gr)||[])[0]);function vr(t,e){return t*k(e)/100}let Ne,ue;function br(){return Ne||(ue||(ue=w("<div>"),c(ue,{height:"100vh",position:"fixed"}),y(window,"resize",()=>Ne=null)),L(document.body,ue),Ne=ue.clientHeight,ct(ue),Ne)}const Mt=typeof window<"u",G=Mt&&document.dir==="rtl",qt=Mt&&"ontouchstart"in window,fe=Mt&&window.PointerEvent,vt=fe?"pointerdown":qt?"touchstart":"mousedown",fi=fe?"pointermove":qt?"touchmove":"mousemove",Dt=fe?"pointerup":qt?"touchend":"mouseup",Ut=fe?"pointerenter":qt?"":"mouseenter",Fe=fe?"pointerleave":qt?"":"mouseleave",di=fe?"pointercancel":"touchcancel",K={reads:[],writes:[],read(t){return this.reads.push(t),ns(),t},write(t){return this.writes.push(t),ns(),t},clear(t){Js(this.reads,t),Js(this.writes,t)},flush:ss};function ss(t){Xs(K.reads),Xs(K.writes.splice(0)),K.scheduled=!1,(K.reads.length||K.writes.length)&&ns(t+1)}const wr=4;function ns(t){K.scheduled||(K.scheduled=!0,t&&t<wr?Promise.resolve().then(()=>ss(t)):requestAnimationFrame(()=>ss(1)))}function Xs(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Js(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function os(){}os.prototype={positions:[],init(){this.positions=[];let t;this.unbind=y(document,"mousemove",e=>t=he(e)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:o}=e,[r]=this.positions,a=oe(this.positions),l=[r,a];return Ce(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const f=$r(l,u);return f&&Ce(f,e)})}};function $r([{x:t,y:e},{x:i,y:s}],[{x:n,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-n)*(s-e);if(l===0)return!1;const h=((r-n)*(e-o)-(a-o)*(t-n))/l;return h<0?!1:{x:t+h*(i-t),y:e+h*(s-e)}}function Ks(t,e,i={},{intersecting:s=!0}={}){const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of T(t))n.observe(o);return n}const xr=Mt&&window.ResizeObserver;function ze(t,e,i={box:"border-box"}){if(xr)return Qs(ResizeObserver,t,e,i);const s=[y(window,"load resize",e),y(document,"loadedmetadata load",e,!0)];return{disconnect:()=>s.map(n=>n())}}function rs(t){return{disconnect:y([window,window.visualViewport],"resize",t)}}function Zs(t,e,i){return Qs(MutationObserver,t,e,i)}function Qs(t,e,i,s){const n=new t(i);for(const o of T(e))n.observe(o,s);return n}function tn(t){gi(t)&&as(t,{func:"playVideo",method:"play"}),pi(t)&&t.play()}function en(t){gi(t)&&as(t,{func:"pauseVideo",method:"pause"}),pi(t)&&t.pause()}function sn(t){gi(t)&&as(t,{func:"mute",method:"setVolume",value:0}),pi(t)&&(t.muted=!0)}function nn(t){return pi(t)||gi(t)}function pi(t){return V(t,"video")}function gi(t){return V(t,"iframe")&&(on(t)||rn(t))}function on(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function rn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function as(t,e){await kr(t),an(t,e)}function an(t,e){t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}const ls="_ukPlayer";let yr=0;function kr(t){if(t[ls])return t[ls];const e=on(t),i=rn(t),s=++yr;let n;return t[ls]=new Promise(o=>{e&&R(t,"load",()=>{const r=()=>an(t,{event:"listening",id:s});n=setInterval(r,100),r()}),R(window,"message",o,!1,({data:r})=>{try{return r=JSON.parse(r),e&&(r==null?void 0:r.id)===s&&r.event==="onReady"||i&&Number(r==null?void 0:r.player_id)===s}catch{}}),t.src=`${t.src}${g(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(n))}function hs(t,e=0,i=0){return j(t)?Wi(...Vt(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=ut(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(I(t))):!1}function ln(t,{offset:e=0}={}){const i=j(t)?de(t,!1,["hidden"]):[];return i.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:f,offsetHeight:d}=l,m=ut(l),b=f-m.height,{height:C,top:H}=i[h-1]?ut(i[h-1]):I(t);let X=Math.ceil(H-m.top-e+u);return e>0&&d<C+e?X+=e:e=0,X>b?(e-=X-b,X=b):X<0&&(e-=X,X=0),()=>s(l,X-u,t,b).then(a)},()=>Promise.resolve())();function s(a,l,h,u){return new Promise(f=>{const d=a.scrollTop,m=n(Math.abs(l)),b=Date.now(),C=I(h).top;let H=0,X=15;(function Ze(){const Bi=o(tt((Date.now()-b)/m));let mt=0;if(i[0]===a&&d+l<u){mt=I(h).top-C;const we=r(h);mt-=we?I(we).height:0}a.scrollTop=Math[l+mt>0?"max":"min"](a.scrollTop,d+(l+mt)*Bi),Bi===1&&(H===mt||!X--)?f():(H=mt,requestAnimationFrame(Ze))})()})}function n(a){return 40*Math.pow(a,.375)}function o(a){return .5*(1-Math.cos(Math.PI*a))}function r(a){return a.ownerDocument.elementsFromPoint(0,0).find(l=>["fixed","sticky"].includes(c(l,"position"))&&!l.contains(a))}}function cs(t,e=0,i=0){if(!j(t))return 0;const s=yt(t,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=ut(s),a=n-r,l=Rt(t)[0]-Rt(s)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return tt((o-h)/(u-h))}function de(t,e=!1,i=[]){const s=hn(t);let n=re(t).reverse();n=n.slice(n.indexOf(s)+1);const o=kt(n,r=>c(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>c(r,"overflow").split(" ").some(a=>g(["auto","scroll",...i],a))&&(!e||r.scrollHeight>ut(r).height))).reverse()}function yt(...t){return de(...t)[0]}function Vt(t){return de(t,!1,["hidden","clip"])}function ut(t){const e=ne(t),{visualViewport:i,document:{documentElement:s}}=e;let n=t===hn(t)?e:t;if(ie(n)&&i){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=i;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:h,left:u,bottom:h+r,right:u+a}}let o=I(n);if(c(n,"display")==="inline")return o;for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]]){ie(n)?n=s:o[l]+=k(c(n,`border-${l}-width`));const u=o[r]%1;o[r]=o[a]=n[`client${Et(r)}`]-(u?u<.5?-u:1-u:0),o[h]=o[r]+o[l]}return o}function hn(t){return ne(t).document.scrollingElement}const ft=[["width","x","left","right"],["height","y","top","bottom"]];function cn(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},Q(e)||(e=[e,e]),I(t,un(t,e,i))}function un(t,e,i){const s=fn(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[h,,u,f]]of Object.entries(ft)){const d=Sr(t,e[l],o,n,l);if(mi(s,d,l))continue;let m=0;if(r[l]==="flip"){const b=i.attach.target[l];if(b===f&&s[f]<=d[f]||b===u&&s[u]>=d[u])continue;m=Cr(t,e,i,l)[u]-s[u];const C=Ir(t,e[l],o,l);if(!mi(us(s,m,l),C,l)){if(mi(s,C,l))continue;if(i.recursion)return!1;const H=Tr(t,e,i);if(H&&mi(H,C,1-l))return H;continue}}else if(r[l]==="shift"){const b=I(e[l]),{offset:C}=i;m=tt(tt(s[u],d[u],d[f]-s[h]),b[u]-s[h]+C[l],b[f]-C[l])-s[u]}a=us(a,m,l)}return a}function fn(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=I(t);for(const[r,[a,,l,h]]of Object.entries(ft)){const u=s.target[r]===s.element[r]?ut(e[r]):I(e[r]);o=us(o,u[l]-o[l]+dn(s.target[r],h,u[a])-dn(s.element[r],h,o[a])+ +n[r],r)}return o}function us(t,e,i){const[,s,n,o]=ft[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function dn(t,e,i){return t==="center"?i/2:t===e?i:0}function Sr(t,e,i,s,n){let o=gn(...pn(t,e).map(ut));return i&&(o[ft[n][2]]+=i,o[ft[n][3]]-=i),s&&(o=gn(o,I(Q(s)?s[n]:s))),o}function Ir(t,e,i,s){const[n,o,r,a]=ft[s],[l]=pn(t,e),h=ut(l);return["auto","scroll"].includes(c(l,`overflow-${o}`))&&(h[r]-=l[`scroll${Et(r)}`],h[a]=h[r]+l[`scroll${Et(n)}`]),h[r]+=i,h[a]-=i,h}function pn(t,e){return Vt(e).filter(i=>N(t,i))}function gn(...t){let e={};for(const i of t)for(const[,,s,n]of ft)e[s]=Math.max(e[s]||0,i[s]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function mi(t,e,i){const[,,s,n]=ft[i];return t[s]>=e[s]&&t[n]<=e[n]}function Cr(t,e,{offset:i,attach:s},n){return fn(t,e,{attach:{element:mn(s.element,n),target:mn(s.target,n)},offset:Er(i,n)})}function Tr(t,e,i){return un(t,e,{...i,attach:{element:i.attach.element.map(vn).reverse(),target:i.attach.target.map(vn).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function mn(t,e){const i=[...t],s=ft[e].indexOf(t[e]);return~s&&(i[e]=ft[e][1-s%2+2]),i}function vn(t){for(let e=0;e<ft.length;e++){const i=ft[e].indexOf(t);if(~i)return ft[1-e][i%2+2]}}function Er(t,e){return t=[...t],t[e]*=-1,t}var Pr=Object.freeze({__proto__:null,$:w,$$:F,Animation:At,Dimensions:ii,MouseTracker:os,Transition:A,addClass:$,after:li,append:L,apply:Tt,assign:wt,attr:p,before:ai,boxModelAdjust:ce,camelize:ye,children:D,clamp:tt,closest:U,createEvent:Ht,css:c,data:it,dimensions:x,each:Ot,empty:ts,endsWith:ee,escape:Yi,fastdom:K,filter:_e,find:Gi,findAll:Ae,findIndex:kt,flipPosition:ui,fragment:Wt,getEventPos:he,getIndex:ht,getTargetedElement:Vi,hasAttr:xt,hasClass:S,hasOwn:bt,hasTouch:qt,height:st,html:Lt,hyphenate:te,inBrowser:Mt,includes:g,index:ae,intersectRect:Wi,isArray:Q,isBoolean:se,isDocument:Qe,isElement:ke,isEmpty:Ie,isEqual:ei,isFocusable:ni,isFunction:nt,isInView:hs,isInput:Ui,isNode:ti,isNumber:Se,isNumeric:$t,isObject:_t,isPlainObject:St,isRtl:G,isSameSiteAnchor:le,isString:B,isTag:V,isTouch:Ct,isUndefined:J,isVideo:nn,isVisible:j,isVoidElement:qi,isWindow:ie,last:oe,matches:O,memoize:pt,mute:sn,noop:P,observeIntersection:Ks,observeMutation:Zs,observeResize:ze,observeViewportResize:rs,off:zt,offset:I,offsetPosition:Rt,offsetViewport:ut,on:y,once:R,overflowParents:Vt,parent:_,parents:re,pause:en,pick:Li,play:tn,pointInRect:Ce,pointerCancel:di,pointerDown:vt,pointerEnter:Ut,pointerLeave:Fe,pointerMove:fi,pointerUp:Dt,position:is,positionAt:cn,prepend:ur,propName:oi,query:ot,queryAll:Oe,ready:cr,remove:ct,removeAttr:Te,removeClass:M,removeClasses:Ri,replaceClass:si,scrollIntoView:ln,scrollParent:yt,scrollParents:de,scrolledOver:cs,selFocusable:Pe,selInput:Ee,sortBy:Fs,startsWith:lt,sumBy:Nt,swap:Hi,toArray:Pt,toBoolean:zi,toEventTargets:Ji,toFloat:k,toNode:z,toNodes:T,toNumber:It,toPx:et,toWindow:ne,toggleClass:q,trigger:v,ucfirst:Et,uniqueBy:zs,unwrap:De,width:Be,within:N,wrapAll:ci,wrapInner:es}),rt={connected(){$(this.$el,this.$options.id)}};const _r=["days","hours","minutes","seconds"];var Or={mixins:[rt],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".bdt-countdown-%unit%",role:"timer"},connected(){p(this.$el,"role",this.role),this.date=k(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(v(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),v(this.$el,"countdownstop"),this.timer=null)},update(){const t=Ar(this.date);t.total||(this.stop(),this.end||(v(this.$el,"countdownend"),this.end=!0));for(const e of _r){const i=w(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?`0${s}`:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&Lt(i,s.map(()=>"<span></span>").join("")),s.forEach((n,o)=>i.children[o].textContent=n))}}}};function Ar(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}const Y={};Y.events=Y.watch=Y.observe=Y.created=Y.beforeConnect=Y.connected=Y.beforeDisconnect=Y.disconnected=Y.destroy=fs,Y.args=function(t,e){return e!==!1&&fs(e||t)},Y.update=function(t,e){return Fs(fs(t,nt(e)?{read:e}:e),"order")},Y.props=function(t,e){if(Q(e)){const i={};for(const s of e)i[s]=String;e=i}return Y.methods(t,e)},Y.computed=Y.methods=function(t,e){return e?t?{...t,...e}:e:t},Y.i18n=Y.data=function(t,e,i){return i?bn(t,e,i):e?t?function(s){return bn(t,e,s)}:e:t};function bn(t,e,i){return Y.computed(nt(t)?t.call(i,i):t,nt(e)?e.call(i,i):e)}function fs(t,e){return t=t&&!Q(t)?[t]:t,e?t?t.concat(e):Q(e)?e:[e]:t}function Mr(t,e){return J(e)?t:e}function He(t,e,i){const s={};if(nt(e)&&(e=e.options),e.extends&&(t=He(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=He(t,o,i);for(const o in t)n(o);for(const o in e)bt(t,o)||n(o);function n(o){s[o]=(Y[o]||Mr)(t[o],e[o],i)}return s}function Le(t,e=[]){try{return t?lt(t,"{")?JSON.parse(t):e.length&&!g(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!J(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function ds(t,e){return t===Boolean?zi(e):t===Number?It(e):t==="list"?Dr(e):t===Object&&B(e)?Le(e):t?t(e):e}function Dr(t){return Q(t)?t:B(t)?t.split(/,(?![^(]*\))/).map(e=>$t(e)?It(e):zi(e.trim())):[t]}function gt(t){return je(ze,t,"resize")}function pe(t){return je(Ks,t)}function ps(t){return je(Zs,t)}function We(t={}){return pe({handler:function(e,i){const{targets:s=this.$el,preload:n=5}=t;for(const o of T(nt(s)?s(this):s))F('[loading="lazy"]',o).slice(0,n-1).forEach(r=>Te(r,"loading"));for(const o of e.filter(({isIntersecting:r})=>r).map(({target:r})=>r))i.unobserve(o)},...t})}function gs(t){return je((e,i)=>rs(i),t)}function vi(t){return je((e,i)=>({disconnect:y(Nr(e),"scroll",i,{passive:!0})}),t,"scroll")}function wn(t){return{observe(e,i){return{observe:P,unobserve:P,disconnect:y(e,vt,i,{passive:!0})}},handler(e){if(!Ct(e))return;const i=he(e),s="tagName"in e.target?e.target:_(e.target);R(document,`${Dt} ${di} scroll`,n=>{const{x:o,y:r}=he(n);(n.type!=="scroll"&&s&&o&&Math.abs(i.x-o)>100||r&&Math.abs(i.y-r)>100)&&setTimeout(()=>{v(s,"swipe"),v(s,`swipe${Br(i.x,i.y,o,r)}`)})})},...t}}function je(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}function Br(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}function Nr(t){return T(t).map(e=>{const{ownerDocument:i}=e,s=yt(e,!0);return s===i.scrollingElement?i:s})}var $n={props:{margin:String,firstColumn:Boolean},data:{margin:"bdt-margin-small-top",firstColumn:"bdt-first-column"},observe:[ps({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),gt({target:({$el:t})=>[t,...D(t)]})],update:{read(){return{rows:ms(Pt(this.$el.children))}},write({rows:t}){for(const e of t)for(const i of e)q(i,this.margin,t[0]!==e),q(i,this.firstColumn,e[G?e.length-1:0]===i)},events:["resize"]}};function ms(t){const e=[[]],i=t.some((s,n)=>n&&t[n-1].offsetParent!==s.offsetParent);for(const s of t){if(!j(s))continue;const n=vs(s,i);for(let o=e.length-1;o>=0;o--){const r=e[o];if(!r[0]){r.push(s);break}const a=vs(r[0],i);if(n.top>=a.bottom-1&&n.top!==a.top){e.push([s]);break}if(n.bottom-1>a.top||n.top===a.top){let l=r.length-1;for(;l>=0;l--){const h=vs(r[l],i);if(n.left>=h.left)break}r.splice(l+1,0,s);break}if(o===0){e.unshift([s]);break}}}return e}function vs(t,e=!1){let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Rt(t)),{top:i,left:s,bottom:i+n,right:s+o}}const bs="bdt-transition-leave",ws="bdt-transition-enter";function xn(t,e,i,s=0){const n=bi(e,!0),o={opacity:1},r={opacity:0},a=u=>()=>n===bi(e)?u():Promise.reject(),l=a(async()=>{$(e,bs),await Promise.all(kn(e).map((u,f)=>new Promise(d=>setTimeout(()=>A.start(u,r,i/2,"ease").then(d),f*s)))),M(e,bs)}),h=a(async()=>{const u=st(e);$(e,ws),t(),c(D(e),{opacity:0}),await Fr();const f=D(e),d=st(e);c(e,"alignContent","flex-start"),st(e,u);const m=kn(e);c(f,r);const b=m.map(async(C,H)=>{await zr(H*s),await A.start(C,o,i/2,"ease")});u!==d&&b.push(A.start(e,{height:d},i/2+m.length*s,"ease")),await Promise.all(b).then(()=>{M(e,ws),n===bi(e)&&(c(e,{height:"",alignContent:""}),c(f,{opacity:""}),delete e.dataset.transition)})});return S(e,bs)?yn(e).then(h):S(e,ws)?yn(e).then(l).then(h):l().then(h)}function bi(t,e){return e&&(t.dataset.transition=1+bi(t)),It(t.dataset.transition)||0}function yn(t){return Promise.all(D(t).filter(A.inProgress).map(e=>new Promise(i=>R(e,"transitionend transitioncanceled",i))))}function kn(t){return ms(D(t)).flat().filter(hs)}function Fr(){return new Promise(t=>requestAnimationFrame(t))}function zr(t){return new Promise(e=>setTimeout(e,t))}async function Hr(t,e,i){await Cn();let s=D(e);const n=s.map(d=>Sn(d,!0)),o={...c(e,["height","padding"]),display:"block"};await Promise.all(s.concat(e).map(A.cancel)),t(),s=s.concat(D(e).filter(d=>!g(s,d))),await Promise.resolve(),K.flush();const r=p(e,"style"),a=c(e,["height","padding"]),[l,h]=Lr(e,s,n),u=s.map(d=>({style:p(d,"style")}));s.forEach((d,m)=>h[m]&&c(d,h[m])),c(e,o),v(e,"scroll"),K.flush(),await Cn();const f=s.map((d,m)=>_(d)===e&&A.start(d,l[m],i,"ease")).concat(A.start(e,a,i,"ease"));try{await Promise.all(f),s.forEach((d,m)=>{p(d,u[m]),_(d)===e&&c(d,"display",l[m].opacity===0?"none":"")}),p(e,"style",r)}catch{p(s,"style",""),Wr(e,o)}}function Sn(t,e){const i=c(t,"zIndex");return j(t)?{display:"",opacity:e?c(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?ae(t):i,...In(t)}:!1}function Lr(t,e,i){const s=e.map((o,r)=>_(o)&&r in i?i[r]?j(o)?In(o):{opacity:0}:{opacity:j(o)?1:0}:!1),n=s.map((o,r)=>{const a=_(e[r])===t&&(i[r]||Sn(e[r]));if(!a)return!1;if(!o)delete a.opacity;else if(!("opacity"in o)){const{opacity:l}=a;l%1?o.opacity=1:delete a.opacity}return a});return[s,n]}function Wr(t,e){for(const i in e)c(t,i,"")}function In(t){const{height:e,width:i}=I(t);return{height:e,width:i,transform:"",...is(t),...c(t,["marginTop","marginLeft"])}}function Cn(){return new Promise(t=>requestAnimationFrame(t))}var Tn={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return(i==="fade"?xn:i==="delayed-fade"?(...n)=>xn(...n,40):i?Hr:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(P)}}};const E={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var jr={mixins:[Tn],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"bdt-filter-control",cls:"bdt-active",duration:250},computed:{toggles({attrItem:t},e){return F(`[${t}],[data-${t}]`,e)},children({target:t},e){return F(`${t} > *`,e)}},watch:{toggles(t){this.updateState();const e=F(this.selActive,this.$el);for(const i of t){this.selActive!==!1&&q(i,this.cls,g(e,i));const s=Yr(i);V(s,"a")&&p(s,"role","button")}},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.type==="keydown"&&t.keyCode!==E.SPACE||U(t.target,"a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=Pn(t,this.attrItem,this.getState());Rr(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>S(t,this.cls)).reduce((t,e)=>Pn(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},v(this.$el,"beforeFilter",[this,t]);for(const i of this.toggles)q(i,this.cls,Ur(i,this.attrItem,t));await Promise.all(F(this.target,this.$el).map(i=>{const s=()=>{qr(t,i,D(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),v(this.$el,"afterFilter",[this])},updateState(){K.write(()=>this.setState(this.getState(),!1))}}};function En(t,e){return Le(it(t,e),["filter"])}function Rr(t,e){return["filter","sort"].every(i=>ei(t[i],e[i]))}function qr(t,e,i){const s=Vr(t);i.forEach(r=>c(r,"display",s&&!O(r,s)?"none":""));const[n,o]=t.sort;if(n){const r=Gr(i,n,o);ei(r,i)||L(e,r)}}function Pn(t,e,i){const{filter:s,group:n,sort:o,order:r="asc"}=En(t,e);return(s||J(o))&&(n?s?(delete i.filter[""],i.filter[n]=s):(delete i.filter[n],(Ie(i.filter)||""in i.filter)&&(i.filter={"":s||""})):i.filter={"":s||""}),J(o)||(i.sort=[o,r]),i}function Ur(t,e,{filter:i={"":""},sort:[s,n]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=En(t,e);return J(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:s===a&&n===l}function Vr({filter:t}){let e="";return Ot(t,i=>e+=i||""),e}function Gr(t,e,i){return[...t].sort((s,n)=>it(s,e).localeCompare(it(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}function Yr(t){return w("a,button",t)||t}var Re={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&w(t)}}};let $s;function _n(t){const e=y(t,"touchmove",s=>{if(s.targetTouches.length!==1||O(s.target,'input[type="range"'))return;let{scrollHeight:n,clientHeight:o}=yt(s.target);o>=n&&s.cancelable&&s.preventDefault()},{passive:!1});if($s)return e;$s=!0;const{scrollingElement:i}=document;return c(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Be(window)-i.clientWidth||""}),()=>{$s=!1,e(),c(i,{overflowY:"",touchAction:"",paddingRight:""})}}var Gt={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"bdt-togglabe-enter",clsLeave:"bdt-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>lt(t[0],e))}},methods:{async toggleElement(t,e,i){try{return await Promise.all(T(t).map(s=>{const n=se(e)?e:!this.isToggled(s);if(!v(s,`before${n?"show":"hide"}`,[this]))return Promise.reject();const o=(nt(i)?i:i===!1||!this.hasAnimation?Xr:this.hasTransition?Jr:Kr)(s,n,this),r=n?this.clsEnter:this.clsLeave;$(s,r),v(s,n?"show":"hide",[this]);const a=()=>{M(s,r),v(s,n?"shown":"hidden",[this])};return o?o.then(a,()=>(M(s,r),Promise.reject())):a()})),!0}catch{return!1}},isToggled(t=this.$el){return t=z(t),S(t,this.clsEnter)?!0:S(t,this.clsLeave)?!1:this.cls?S(t,this.cls.split(" ")[0]):j(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=g(this.cls," ")||e!==S(t,this.cls),i&&q(t,this.cls,g(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),F("[autofocus]",t).some(s=>j(s)?s.focus()||!0:s.blur()),i&&v(t,"toggled",[e,this])}}};function Xr(t,e,{_toggle:i}){return At.cancel(t),A.cancel(t),i(t,e)}async function Jr(t,e,{animation:i,duration:s,velocity:n,transition:o,_toggle:r}){var a;const[l="reveal",h="top"]=((a=i[0])==null?void 0:a.split("-"))||[],u=[["left","right"],["top","bottom"]],f=u[g(u[0],h)?0:1],d=f[1]===h,b=["width","height"][u.indexOf(f)],C=`margin-${f[0]}`,H=`margin-${h}`;let X=x(t)[b];const Ze=A.inProgress(t);await A.cancel(t),e&&r(t,!0);const Bi=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",C,H].map(Uo=>[Uo,t.style[Uo]])),mt=x(t),we=k(c(t,C)),jo=k(c(t,H)),Qt=mt[b]+jo;!Ze&&!e&&(X+=jo);const[Ni]=es(t,"<div>");c(Ni,{boxSizing:"border-box",height:mt.height,width:mt.width,...c(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",H])}),c(t,{padding:0,border:0,minWidth:0,minHeight:0,[H]:0,width:mt.width,height:mt.height,overflow:"hidden",[b]:X});const Ro=X/Qt;s=(n*Qt+s)*(e?1-Ro:Ro);const qo={[b]:e?Qt:0};d&&(c(t,C,Qt-X+we),qo[C]=e?we:Qt+we),!d^l==="reveal"&&(c(Ni,C,-Qt+X),A.start(Ni,{[C]:e?0:-Qt},s,o));try{await A.start(t,qo,s,o)}finally{c(t,Bi),De(Ni.firstChild),e||r(t,!1)}}function Kr(t,e,i){const{animation:s,duration:n,_toggle:o}=i;return e?(o(t,!0),At.in(t,s[0],n,i.origin)):At.out(t,s[1]||s[0],n,i.origin).then(()=>o(t,!1))}const at=[];var xs={mixins:[rt,Re,Gt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"bdt-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:t},e){return w(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){p(this.panel||this.$el,"role",this.role),this.overlay&&p(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){g(at,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&le(e)&&!N(s,this.$el)&&w(s,document.body)?this.hide():O(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===g(at,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(g(at,this))return!1;!this.stack&&at.length?(Promise.all(at.map(e=>e.hide())).then(this.show),t.preventDefault()):at.push(this)}},{name:"show",self:!0,handler(){this.stack&&c(this.$el,"zIndex",k(c(this.$el,"zIndex"))+at.length);const t=[this.overlay&&Qr(this),this.overlay&&_n(this.$el),this.bgClose&&ta(this),this.escClose&&ea(this)];R(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),$(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){ni(this.$el)||p(this.$el,"tabindex","-1"),O(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){g(at,this)&&at.splice(at.indexOf(this),1),c(this.$el,"zIndex",""),at.some(t=>t.clsPage===this.clsPage)||M(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&_(this.$el)!==this.container?(L(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,On)},hide(){return this.toggleElement(this.$el,!1,On)}}};function On(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>R(t,"show hide",()=>{var r;(r=t._reject)==null||r.call(t),t._reject=o,s(t,e);const a=R(i,"transitionstart",()=>{R(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),n()},Zr(c(i,"transitionDuration")))})).then(()=>delete t._reject)}function Zr(t){return t?ee(t,"ms")?k(t):k(t)*1e3:0}function Qr(t){return y(document,"focusin",e=>{oe(at)===t&&!N(e.target,t.$el)&&t.$el.focus()})}function ta(t){return y(document,vt,({target:e})=>{oe(at)!==t||t.overlay&&!N(e,t.$el)||N(e,t.panel)||R(document,`${Dt} ${di} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===Dt&&e===n&&t.hide()},!0)})}function ea(t){return y(document,"keydown",e=>{e.keyCode===27&&oe(at)===t&&t.hide()})}var ys={slide:{show(t){return[{transform:W(t*-100)},{transform:W()}]},percent(t){return qe(t)},translate(t,e){return[{transform:W(e*-100*t)},{transform:W(e*100*(1-t))}]}}};function qe(t){return Math.abs(c(t,"transform").split(",")[4]/t.offsetWidth)}function W(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function ge(t){return`scale3d(${t}, ${t}, 1)`}function ia(t,e,i,{animation:s,easing:n}){const{percent:o,translate:r,show:a=P}=s,l=a(i);let h;return{dir:i,show(u,f=0,d){const m=d?"linear":n;return u-=Math.round(u*tt(f,-1,1)),this.translate(f),wi(e,"itemin",{percent:f,duration:u,timing:m,dir:i}),wi(t,"itemout",{percent:1-f,duration:u,timing:m,dir:i}),new Promise(b=>{h||(h=b),Promise.all([A.start(e,l[1],u,m),A.start(t,l[0],u,m)]).then(()=>{this.reset(),h()},P)})},cancel(){return A.cancel([e,t])},reset(){for(const u in l[0])c([e,t],u,"")},async forward(u,f=this.percent()){return await this.cancel(),this.show(u,f,!0)},translate(u){this.reset();const f=r(u,i);c(e,f[1]),c(t,f[0]),wi(e,"itemtranslatein",{percent:u,dir:i}),wi(t,"itemtranslateout",{percent:1-u,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function wi(t,e,i){v(t,Ht(e,!1,!1,i))}var $i={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,s,n;let o=0;return((n=((i=this.i18n)==null?void 0:i[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:n.replace(/%s/g,()=>e[o++]||""))||""}}},sa={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){p(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){p(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&O(this.$el,":focus-within")||this.pauseOnHover&&O(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const ks={passive:!1,capture:!0},An={passive:!0,capture:!0},na="touchstart mousedown",Ss="touchmove mousemove",Mn="touchend touchcancel mouseup click input scroll";var oa={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=he(i).x*(G?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:na,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!Ct(t)&&ra(t.target)||U(t.target,Ee)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:Ss,el(){return this.list},handler:P,...ks}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,y(document,Ss,this.move,ks),y(document,Mn,this.end,An),c(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;c(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:i,prevIndex:s}=this,n=Math.abs(e),o=this.getIndex(s+this.dir),r=this._getDistance(s,o);for(;o!==s&&n>r;)this.drag-=r*this.dir,s=o,n-=r,o=this.getIndex(s+this.dir),r=this._getDistance(s,o);this.percent=n/r;const a=i[s],l=i[o],h=this.index!==o,u=s===o;let f;for(const d of[this.index,this.prevIndex])g([o,s],d)||(v(i[d],"itemhidden",[this]),u&&(f=!0,this.prevIndex=s));(this.index===s&&this.prevIndex!==s||f)&&v(i[this.index],"itemshown",[this]),h&&(this.prevIndex=s,this.index=o,!u&&v(a,"beforeitemhide",[this]),v(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l),h&&(!u&&v(a,"itemhide",[this]),v(l,"itemshow",[this]))},end(){if(zt(document,Ss,this.move,ks),zt(document,Mn,this.end,An),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(G?this.dir*(G?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}c(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}}};function ra(t){return c(t,"userSelect")!=="none"&&Pt(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function aa(t){t._data={},t._updates=[...t.$options.update||[]]}function la(t,e){t._updates.unshift(e)}function ha(t){delete t._data}function xi(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,K.read(()=>{t._connected&&ca(t,t._queued),delete t._queued})),t._queued.add(e.type||e))}function ca(t,e){for(const{read:i,write:s,events:n=[]}of t._updates){if(!e.has("update")&&!n.some(r=>e.has(r)))continue;let o;i&&(o=i.call(t,t._data,e),o&&St(o)&&wt(t._data,o)),s&&o!==!1&&K.write(()=>{t._connected&&s.call(t,t._data,e)})}}function ua(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,s]of Object.entries(e))Dn(t,s,i);t._initial=!0}function Dn(t,e,i){t._watches.push({name:i,...St(e)?e:{handler:e}})}function fa(t,e){for(const{name:i,handler:s,immediate:n=!0}of t._watches)(t._initial&&n||bt(e,i)&&!ei(e[i],t[i]))&&s.call(t,t[i],e[i]);t._initial=!1}function da(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)Bn(t,i,e[i])}function Bn(t,e,i){t._hasComputed=!0,Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return bt(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,J(n[e])&&delete n[e]}})}function pa(t){t._hasComputed&&(la(t,{read:()=>fa(t,Nn(t)),events:["resize","computed"]}),ma(),Ue.add(t))}function ga(t){Ue==null||Ue.delete(t),Nn(t)}function Nn(t){const e={...t._computed};return t._computed={},e}let Is,Ue;function ma(){Is||(Ue=new Set,Is=new MutationObserver(()=>{for(const t of Ue)xi(t,"computed")}),Is.observe(document,{subtree:!0,childList:!0}))}function va(t){t._events=[];for(const e of t.$options.events||[])if(bt(e,"handler"))Cs(t,e);else for(const i in e)Cs(t,e[i],i)}function ba(t){t._events.forEach(e=>e()),delete t._events}function Cs(t,e,i){let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=St(e)?e:{name:i,handler:e};if(n=nt(n)?n.call(t,t):n||t.$el,Q(n)){n.forEach(f=>Cs(t,{...e,el:f},i));return}!n||h&&!h.call(t)||t._events.push(y(n,s,l?B(l)?l:l.call(t,t):null,B(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function wa(t){t._observers=[];for(const e of t.$options.observe||[])if(bt(e,"handler"))zn(t,e);else for(const i of e)zn(t,i)}function Fn(t,...e){t._observers.push(...e)}function $a(t){for(const e of t._observers)e.disconnect()}function zn(t,e){let{observe:i,target:s=t.$el,handler:n,options:o,filter:r,args:a}=e;if(r&&!r.call(t,t))return;const l=`_observe${t._observers.length}`;nt(s)&&!bt(t,l)&&Bn(t,l,()=>s.call(t,t)),n=B(n)?t[n]:n.bind(t),nt(o)&&(o=o.call(t,t));const h=bt(t,l)?t[l]:s,u=i(h,n,o,a);nt(s)&&Q(t[l])&&u.unobserve&&Dn(t,{handler:xa(u),immediate:!1},l),Fn(t,u)}function xa(t){return(e,i)=>{for(const s of i)!g(e,s)&&t.unobserve(s);for(const s of e)!g(i,s)&&t.observe(s)}}function ya(t){const e=Hn(t.$options);for(let s in e)J(e[s])||(t.$props[s]=e[s]);const i=[t.$options.computed,t.$options.methods];for(let s in t.$props)s in e&&ka(i,s)&&(t[s]=t.$props[s])}function Hn(t){const e={},{args:i=[],props:s={},el:n,id:o}=t;if(!s)return e;for(const a in s){const l=te(a);let h=it(n,l);J(h)||(h=s[a]===Boolean&&h===""?!0:ds(s[a],h),!(l==="target"&&lt(h,"_"))&&(e[a]=h))}const r=Le(it(n,o),i);for(const a in r){const l=ye(a);J(s[l])||(e[l]=ds(s[l],r[a]))}return e}function ka(t,e){return t.every(i=>!i||!bt(i,e))}function Sa(t){const{$options:e,$props:i}=t,{id:s,props:n,el:o}=e;if(!n)return;const r=Object.keys(n),a=r.map(h=>te(h)).concat(s),l=new MutationObserver(h=>{const u=Hn(e);h.some(({attributeName:f})=>{const d=f.replace("data-","");return(d===s?r:[ye(d),ye(f)]).some(m=>!J(u[m])&&u[m]!==i[m])})&&t.$reset()});l.observe(o,{attributes:!0,attributeFilter:a.concat(a.map(h=>`data-${h}`))}),Fn(t,l)}function me(t,e){var i;(i=t.$options[e])==null||i.forEach(s=>s.call(t))}function Ts(t){t._connected||(ya(t),me(t,"beforeConnect"),t._connected=!0,va(t),aa(t),ua(t),wa(t),Sa(t),pa(t),me(t,"connected"),xi(t))}function Es(t){t._connected&&(me(t,"beforeDisconnect"),ba(t),ha(t),$a(t),ga(t),me(t,"disconnected"),t._connected=!1)}let Ia=0;function Ln(t,e={}){e.data=Ea(e,t.constructor.options),t.$options=He(t.constructor.options,e,t),t.$props={},t._uid=Ia++,Ca(t),Ta(t),da(t),me(t,"created"),e.el&&t.$mount(e.el)}function Ca(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}function Ta(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}function Ea({data:t={}},{args:e=[],props:i={}}){Q(t)&&(t=t.slice(0,e.length).reduce((s,n,o)=>(St(n)?wt(s,n):s[e[o]]=n,s),{}));for(const s in t)J(t[s])?delete t[s]:i[s]&&(t[s]=ds(i[s],t[s]));return t}const dt=function(t){Ln(this,t)};dt.util=Pr,dt.options={},dt.version="3.17.0";const Pa="bdt-",Yt="__uikit__",ve={};function Wn(t,e){var i;const s=Pa+te(t);if(!e)return St(ve[s])&&(ve[s]=dt.extend(ve[s])),ve[s];t=ye(t),dt[t]=(o,r)=>Ve(t,o,r);const n=St(e)?{...e}:e.options;return n.id=s,n.name=t,(i=n.install)==null||i.call(n,dt,n,t),dt._initialized&&!n.functional&&requestAnimationFrame(()=>Ve(t,`[${s}],[data-${s}]`)),ve[s]=n}function Ve(t,e,i,...s){const n=Wn(t);return n.options.functional?new n({data:St(e)?e:[e,i,...s]}):e?F(e).map(o)[0]:o();function o(r){const a=yi(r,t);if(a)if(i)a.$destroy();else return a;return new n({el:r,data:i})}}function Xt(t){return(t==null?void 0:t[Yt])||{}}function yi(t,e){return Xt(t)[e]}function _a(t,e){t[Yt]||(t[Yt]={}),t[Yt][e.$options.name]=e}function Oa(t,e){var i;(i=t[Yt])==null||delete i[e.$options.name],Ie(t[Yt])||delete t[Yt]}function Aa(t){t.component=Wn,t.getComponents=Xt,t.getComponent=yi,t.update=jn,t.use=function(i){if(!i.installed)return i.call(null,this),i.installed=!0,this},t.mixin=function(i,s){s=(B(s)?this.component(s):s)||this,s.options=He(s.options,i)},t.extend=function(i){i||(i={});const s=this,n=function(r){Ln(this,r)};return n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.options=He(s.options,i),n.super=s,n.extend=s.extend,n};let e;Object.defineProperty(t,"container",{get(){return e||document.body},set(i){e=w(i)}})}function jn(t,e){t=t?z(t):document.body;for(const i of re(t).reverse())Rn(i,e);Tt(t,i=>Rn(i,e))}function Rn(t,e){const i=Xt(t);for(const s in i)xi(i[s],e)}function Ma(t){t.prototype.$mount=function(e){const i=this;_a(e,i),i.$options.el=e,N(e,document)&&Ts(i)},t.prototype.$destroy=function(e=!1){const i=this,{el:s}=i.$options;s&&Es(i),me(i,"destroy"),Oa(s,i),e&&ct(i.$el)},t.prototype.$create=Ve,t.prototype.$emit=function(e){xi(this,e)},t.prototype.$update=function(e=this.$el,i){jn(e,i)},t.prototype.$reset=function(){Es(this),Ts(this)},t.prototype.$getComponent=yi,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}function Bt(t,e=t.$el,i=""){if(e.id)return e.id;let s=`${t.$options.id}-${t._uid}${i}`;return w(`#${s}`)&&(s=Bt(t,e,`${i}-2`)),s}var Da={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},e){return w(t,e)},navChildren(){return D(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,e){return F(this.selNavItem,e)}},watch:{nav(t,e){p(t,"role","tablist"),e&&this.$emit()},list(t){p(t,"role","presentation")},navChildren(t){p(t,"role","presentation")},navItems(t){for(const e of t){const i=it(e,this.attrItem),s=w("a,button",e)||e;let n,o=null;if($t(i)){const r=It(i),a=this.slides[r];a&&(a.id||(a.id=Bt(this,a,`-item-${i}`)),o=a.id),n=this.t("slideX",k(i)+1),p(s,"role","tab")}else this.list&&(this.list.id||(this.list.id=Bt(this,this.list,"-items")),o=this.list.id),n=this.t(i);p(s,{"aria-controls":o,"aria-label":p(s,"aria-label")||n})}},slides(t){t.forEach((e,i)=>p(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){ts(this.nav);for(let i=0;i<t;i++)L(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){p(this.$el,{role:this.role,"aria-roledescription":"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){U(t.target,"a,button")&&(t.type==="click"||t.keyCode===E.SPACE)&&(t.preventDefault(),this.show(it(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,s=it(e,this.attrItem);if(!$t(s))return;let n=i===E.HOME?0:i===E.END?"last":i===E.LEFT?"previous":i===E.RIGHT?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=it(e,this.attrItem),s=w("a,button",e)||e;if($t(i)){const o=It(i)===t;q(e,this.clsActive,o),p(s,{"aria-selected":o,tabindex:o?null:-1}),o&&s&&O(_(e),":focus-within")&&s.focus()}else q(e,"bdt-invisible",this.finite&&(i==="previous"&&t===0||i==="next"&&t>=this.maxIndex))}}}},qn={mixins:[sa,oa,Da,$i],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"bdt-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){M(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return Un(e.offsetWidth/t)},list({selList:t},e){return w(t,e)},maxIndex(){return this.length-1},slides(){return D(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},observe:gt(),methods:{show(t,e=!1){var i;if(this.dragging||!this.length)return;const{stack:s}=this,n=e?0:s.length,o=()=>{s.splice(n,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const r=this.getIndex(this.index),a=S(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),h=this.slides[l];if(a===h){o();return}if(this.dir=Ba(t,r),this.prevIndex=r,this.index=l,a&&!v(a,"beforeitemhide",[this])||!v(h,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const u=this._show(a,h,e).then(()=>{a&&v(a,"itemhidden",[this]),v(h,"itemshown",[this]),s.shift(),this._transitioner=null,requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))});return a&&v(a,"itemhide",[this]),v(h,"itemshow",[this]),u},getIndex(t=this.index,e=this.index){return tt(ht(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const s=this._getTransitioner(e===i?!1:e,i);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,s=this.transitionOptions){return new this.Transitioner(Se(t)?this.slides[t]:t,Se(e)?this.slides[e]:e,i*(G?-1:1),s)}}};function Ba(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Un(t){return .5*t+300}var Vn={mixins:[qn],props:{animation:String},data:{animation:"slide",clsActivated:"bdt-transition-active",Animations:ys,Transitioner:ia},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){$(t,this.clsActive)},itemshown({target:t}){$(t,this.clsActivated)},itemhidden({target:t}){M(t,this.clsActive,this.clsActivated)}}},Gn={...ys,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:ge(1-.2)},{opacity:1,transform:ge(1)}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:ge(1-.2*t)},{opacity:t,transform:ge(1-.2+.2*t)}]}}},Yn={mixins:[xs,Vn],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"bdt-open",clsPage:"bdt-lightbox-page",selList:".bdt-lightbox-items",attrItem:"bdt-lightbox-item",selClose:".bdt-close-large",selCaption:".bdt-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Gn,template:'<div class="bdt-lightbox bdt-overflow-hidden"> <ul class="bdt-lightbox-items"></ul> <div class="bdt-lightbox-toolbar bdt-position-top bdt-text-right bdt-transition-slide-top bdt-transition-opaque"> <button class="bdt-lightbox-toolbar-icon bdt-close-large" type="button" bdt-close></button> </div> <a class="bdt-lightbox-button bdt-position-center-left bdt-position-medium bdt-transition-fade" href bdt-slidenav-previous bdt-lightbox-item="previous"></a> <a class="bdt-lightbox-button bdt-position-center-right bdt-position-medium bdt-transition-fade" href bdt-slidenav-next bdt-lightbox-item="next"></a> <div class="bdt-lightbox-toolbar bdt-lightbox-caption bdt-position-bottom bdt-text-center bdt-transition-slide-bottom bdt-transition-opaque"></div> </div>'}),created(){const t=w(this.template),e=w(this.selList,t);this.items.forEach(()=>L(e,"<li>"));const i=w("[bdt-close]",t),s=this.t("close");i&&s&&(i.dataset.i18n=JSON.stringify({label:s})),this.$mount(L(this.container,t))},computed:{caption({selCaption:t},e){return w(t,e)}},events:[{name:`${fi} ${vt} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),M(this.slides,this.clsActive),A.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===E.LEFT?e="previous":t===E.RIGHT?e="next":t===E.HOME?e=0:t===E.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Gn.scale,M(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){Lt(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span bdt-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","bdt-responsive":"","bdt-video":`${this.videoAutoplay}`};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const h=Ge("img",{src:i,alt:n,...r});y(h,"load",()=>this.setItem(e,h)),y(h,"error",()=>this.setError(e))}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const h=Ge("video",{src:i,poster:o,controls:"",playsinline:"","bdt-video":`${this.videoAutoplay}`,...r});y(h,"loadedmetadata",()=>this.setItem(e,h)),y(h,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,Ge("iframe",{src:i,allowfullscreen:"",class:"bdt-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,Ge("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:h,width:u}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,Ge("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:u,height:h,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||v(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[ht(t,this.slides)]},setItem(t,e){v(this.$el,"itemloaded",[this,Lt(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span bdt-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),$(this.$el,"bdt-active","bdt-transition-active")},hideControls(){M(this.$el,"bdt-active","bdt-transition-active")}}};function Ge(t,e){const i=Wt(`<${t}>`);return p(i,e),i}var Na={install:Fa,props:{toggle:String},data:{toggle:"a"},computed:{toggles({toggle:t},e){return F(t,e)}},watch:{toggles(t){this.hide();for(const e of t)V(e,"a")&&p(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.bdt-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=zs(this.toggles.map(Xn),"source");if(ke(t)){const{source:i}=Xn(t);t=kt(e,({source:s})=>i===s)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),y(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function Fa(t,e){t.lightboxPanel||t.component("lightboxPanel",Yn),wt(e.props,t.component("lightboxPanel").options.props)}function Xn(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=it(t,i);return e.attrs=Le(e.attrs),e}var za={mixins:[Re],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"bdt-notification",clsClose:"bdt-notification-close",clsMsg:"bdt-notification-message"},install:Ha,computed:{marginProp({pos:t}){return`margin${lt(t,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=`${this.clsContainer}-${this.pos}`;let e=w(`.${t}`,this.container);(!e||!j(e))&&(e=L(this.container,`<div class="${this.clsContainer} ${t}"></div>`)),this.$mount(L(e,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-bdt-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=k(c(this.$el,this.marginProp));await A.start(c(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){U(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Ut](){this.timer&&clearTimeout(this.timer)},[Fe](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=_(i);v(i,"close",[this]),ct(i),s!=null&&s.hasChildNodes()||ct(s)};this.timer&&clearTimeout(this.timer),t||await A.start(this.$el,this.startProps),e(this.$el)}}};function Ha(t){t.notification.closeAll=function(e,i){Tt(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}var ki={props:{media:Boolean},data:{media:!1},connected(){const t=La(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,v(this.$el,Ht("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=y(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function La(t,e){if(B(t)){if(lt(t,"@"))t=k(c(e,`--bdt-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t}return t&&$t(t)?`(min-width: ${t}px)`:""}function Jn(t){return Math.ceil(Math.max(0,...F("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}const Si={x:Ii,y:Ii,rotate:Ii,scale:Ii,color:Ps,backgroundColor:Ps,borderColor:Ps,blur:Jt,hue:Jt,fopacity:Jt,grayscale:Jt,invert:Jt,saturate:Jt,sepia:Jt,opacity:ja,stroke:Ra,bgx:Qn,bgy:Qn},{keys:Kn}=Object;var Zn={mixins:[ki],props:so(Kn(Si),"list"),data:so(Kn(Si),void 0),computed:{props(t,e){const i={};for(const n in t)n in Si&&!J(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=Si[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))c(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,tt(t));return e.willChange=Object.keys(e).filter(i=>e[i]!=="").map(oi).join(","),e}}};function Ii(t,e,i){let s=Ti(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t=`translate${Et(t)}`,n=o=>k(k(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>{var r;return Ti([o])?et(o,"width",e,!0)/e[`offset${(r=o.endsWith)!=null&&r.call(o,"vh")?"Height":"Width"}`]:k(o)}),i.length===1&&i.unshift(t==="scale"?1:0),i=be(i,n),(o,r)=>{o.transform+=` ${t}(${Ye(i,r)}${s})`}}function Ps(t,e,i){return i.length===1&&i.unshift(Xe(e,t,"")),i=be(i,s=>Wa(e,s)),(s,n)=>{const[o,r,a]=io(i,n),l=o.map((h,u)=>(h+=a*(r[u]-h),u===3?k(h):parseInt(h,10))).join(",");s[t]=`rgba(${l})`}}function Wa(t,e){return Xe(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(k)}function Jt(t,e,i){i.length===1&&i.unshift(0);const s=Ti(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=be(i),(n,o)=>{const r=Ye(i,o);n.filter+=` ${t}(${r+s})`}}function ja(t,e,i){return i.length===1&&i.unshift(Xe(e,t,"")),i=be(i),(s,n)=>{s[t]=Ye(i,n)}}function Ra(t,e,i){i.length===1&&i.unshift(0);const s=Ti(i),n=Jn(e);return i=be(i.reverse(),o=>(o=k(o),s==="%"?o*n/100:o)),i.some(([o])=>o)?(c(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=Ye(i,r)}):P}function Qn(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=be(i,a=>et(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return P;if(Xe(e,"backgroundSize","")==="cover")return qa(t,e,i,s);const r={};for(const a of o)r[a]=to(e,a);return eo(o,r,s)}function qa(t,e,i,s){const n=Ua(e);if(!n.width)return P;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const f=s[u].map(([H])=>H),d=Math.min(...f),m=Math.max(...f),b=f.indexOf(d)<f.indexOf(m),C=m-d;a[u]=`${(b?-C:0)-(b?d:m)}px`,o[u==="bgy"?"height":"width"]+=C}const l=ii.cover(n,o);for(const u of r){const f=u==="bgy"?"height":"width",d=l[f]-o[f];a[u]=`max(${to(e,u)},-${d}px) + ${a[u]}`}const h=eo(r,a,s);return(u,f)=>{h(u,f),u.backgroundSize=`${l.width}px ${l.height}px`,u.backgroundRepeat="no-repeat"}}function to(t,e){return Xe(t,`background-position-${e.substr(-1)}`,"")}function eo(t,e,i){return function(s,n){for(const o of t){const r=Ye(i[o],n);s[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${r}px)`}}}const Ci={};function Ua(t){const e=c(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Ci[e])return Ci[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{Ci[e]=_s(i),v(t,Ht("load",!1))},_s(i)):Ci[e]=_s(i)}function _s(t){return{width:t.naturalWidth,height:t.naturalHeight}}function be(t,e=k){const i=[],{length:s}=t;let n=0;for(let o=0;o<s;o++){let[r,a]=B(t[o])?t[o].trim().split(/ (?![^(]*\))/):[t[o]];if(r=e(r),a=a?k(a)/100:null,o===0?a===null?a=0:a&&i.push([r,0]):o===s-1&&(a===null?a=1:a!==1&&(i.push([r,a]),a=1)),i.push([r,a]),a===null)n++;else if(n){const l=i[o-n-1][1],h=(a-l)/(n+1);for(let u=n;u>0;u--)i[o-u][1]=l+h*(n-u+1);n=0}}return i}function io(t,e){const i=kt(t.slice(1),([,s])=>e<=s)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Ye(t,e){const[i,s,n]=io(t,e);return i+Math.abs(i-s)*n*(i<s?1:-1)}const Va=/^-?\d+(?:\.\d+)?(\S+)?/;function Ti(t,e){var i;for(const s of t){const n=(i=s.match)==null?void 0:i.call(s,Va);if(n)return n[1]}return e}function Xe(t,e,i){const s=t.style[e],n=c(c(t,e,i),e);return t.style[e]=s,n}function so(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}var Ga={mixins:[Zn],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:t},e){return no(t&&ot(t,e)||e)},start({start:t}){return et(t,"height",this.target,!0)},end({end:t,viewport:e}){return et(t||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[gs(),vi({target:({target:t})=>t}),gt({target:({$el:t,target:e})=>[t,e,yt(e,!0)]})],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!j(this.$el))return!1;if(!this.matchMedia)return;const i=t;return t=Ya(cs(this.target,this.start,this.end),this.easing),{percent:t,style:i===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&c(this.$el,t)},events:["scroll","resize"]}};function Ya(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function no(t){return t?"offsetTop"in t?t:no(_(t)):document.documentElement}var oo={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},ro={observe:We({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function Xa(t,e,i,{center:s,easing:n,list:o}){const r=t?Je(t,o,s):Je(e,o,s)+x(e).width*i,a=e?Je(e,o,s):r+x(t).width*i*(G?-1:1);let l;return{dir:i,show(h,u=0,f){const d=f?"linear":n;return h-=Math.round(h*tt(u,-1,1)),this.translate(u),u=t?u:tt(u,0,1),Os(this.getItemIn(),"itemin",{percent:u,duration:h,timing:d,dir:i}),t&&Os(this.getItemIn(!0),"itemout",{percent:1-u,duration:h,timing:d,dir:i}),new Promise(m=>{l||(l=m),A.start(o,{transform:W(-a*(G?-1:1),"px")},h,d).then(l,P)})},cancel(){return A.cancel(o)},reset(){c(o,"transform","")},async forward(h,u=this.percent()){return await this.cancel(),this.show(h,u,!0)},translate(h){const u=this.getDistance()*i*(G?-1:1);c(o,"transform",W(tt(-a+(u-u*h),-Ei(o),x(o).width)*(G?-1:1),"px"));const f=this.getActives(),d=this.getItemIn(),m=this.getItemIn(!0);h=t?tt(h,-1,1):0;for(const b of D(o)){const C=g(f,b),H=b===d,X=b===m,Ze=H||!X&&(C||i*(G?-1:1)===-1^Pi(b,o)>Pi(t||e));Os(b,`itemtranslate${Ze?"in":"out"}`,{dir:i,percent:X?1-h:H?h:C?1:0})}},percent(){return Math.abs((c(o,"transform").split(",")[4]*(G?-1:1)+r)/(a-r))},getDistance(){return Math.abs(a-r)},getItemIn(h=!1){let u=this.getActives(),f=lo(o,Je(e||t,o,s));if(h){const d=u;u=f,f=d}return f[kt(f,d=>!g(u,d))]},getActives(){return lo(o,Je(t||e,o,s))}}}function Je(t,e,i){const s=Pi(t,e);return i?s-Ja(t,e):Math.min(s,ao(e))}function ao(t){return Math.max(0,Ei(t)-x(t).width)}function Ei(t){return Nt(D(t),e=>x(e).width)}function Ja(t,e){return x(e).width/2-x(t).width/2}function Pi(t,e){return t&&(is(t).left+(G?x(t).width-x(e).width:0))*(G?-1:1)||0}function lo(t,e){e-=1;const i=x(t).width,s=e+i+2;return D(t).filter(n=>{const o=Pi(n,t),r=o+Math.min(x(n).width,i);return o>=e&&r<=s})}function Os(t,e,i){v(t,Ht(e,!1,!1,i))}var Ka={mixins:[rt,qn,oo,ro],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"bdt-slider-item",selList:".bdt-slider-items",selNav:".bdt-slider-nav",clsContainer:"bdt-slider-container",Transitioner:Xa},computed:{avgWidth(){return Ei(this.list)/this.length},finite({finite:t}){return t||Za(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return oe(this.sets);let t=0;const e=ao(this.list),i=kt(this.slides,s=>{if(t>=e)return!0;t+=x(s).width});return~i?i:this.length-1},sets({sets:t}){if(!t)return;let e=0;const i=[],s=x(this.list).width;for(let n=0;n<this.length;n++){const o=x(this.slides[n]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+x(ht(+n+1,this.slides)).width/2>s/2&&(i.push(+n),e=s/2-o/2):e===0&&i.push(Math.min(+n,this.maxIndex)),e+=o}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return D(this.list).filter(j)}},connected(){q(this.$el,this.clsContainer,!w(`.${this.clsContainer}`,this.$el))},observe:gt({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=It(it(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!g(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!g(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=Un(this.avgWidth/this.velocity)*(x(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&$(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){c(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>c(n,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=x(this.list).width/2-x(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];c(o,"order",n>t?-2:-1),i-=x(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||g(this.sets,k(this.index)))&&this.clsActivated||""];for(const i of this.slides){const s=g(t,i);q(i,e,s),p(i,"aria-hidden",!s);for(const n of F(Pe,i))bt(n,"_tabindex")||(n._tabindex=p(n,"tabindex")),p(n,"tabindex",s?n._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(g(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=x(this.list),e=-t,i=t*2,s=x(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const h=this.slides[this.getIndex(this.index+r+l++*r)];a+=x(h).width*r,o.add(h)}while(this.length>l&&a>e&&a<i)}return Array.from(o)}}};function Za(t,e){if(!t||t.length<2)return!0;const{width:i}=x(t);if(!e)return Math.ceil(Ei(t))<Math.trunc(i+Qa(t));const s=D(t),n=Math.trunc(i/2);for(const o in s){const r=s[o],a=x(r).width,l=new Set([r]);let h=0;for(const u of[-1,1]){let f=a/2,d=0;for(;f<n;){const m=s[ht(+o+u+d++*u,s)];if(l.has(m))return!0;f+=x(m).width,l.add(m)}h=Math.max(h,a/2+x(s[ht(+o+u,s)]).width/2-(f-n))}if(h>Nt(s.filter(u=>!l.has(u)),u=>x(u).width))return!0}return!1}function Qa(t){return Math.max(0,...D(t).map(e=>x(e).width))}var ho={mixins:[Zn],data:{selItem:"!li"},beforeConnect(){this.item=ot(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,duration:i,timing:s,dir:n}}){K.read(()=>{if(!this.matchMedia)return;const o=this.getCss(uo(t,n,e)),r=this.getCss(co(t)?.5:n>0?1:0);K.write(()=>{c(this.$el,o),A.start(this.$el,r,i,s).catch(P)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){A.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){K.read(()=>{if(!this.matchMedia){this.reset();return}const s=this.getCss(uo(t,i,e));K.write(()=>c(this.$el,s))})}}]};function co(t){return ee(t,"in")}function uo(t,e,i){return i/=2,co(t)^e<0?i:1-i}var tl={...ys,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:ge(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:ge(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:W(30),zIndex:-1},{transform:W(),zIndex:0}]:[{transform:W(-100),zIndex:0},{transform:W(),zIndex:-1}]},percent(t,e,i){return i<0?1-qe(e):qe(t)},translate(t,e){return e<0?[{transform:W(30*t),zIndex:-1},{transform:W(-100*(1-t)),zIndex:0}]:[{transform:W(-t*100),zIndex:0},{transform:W(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:W(100),zIndex:0},{transform:W(),zIndex:-1}]:[{transform:W(-30),zIndex:-1},{transform:W(),zIndex:0}]},percent(t,e,i){return i>0?1-qe(e):qe(t)},translate(t,e){return e<0?[{transform:W(t*100),zIndex:0},{transform:W(-30*(1-t)),zIndex:-1}]:[{transform:W(-30*t),zIndex:-1},{transform:W(100*(1-t)),zIndex:0}]}}};const fo=Mt&&CSS.supports("aspect-ratio","1/1");var el={mixins:[rt,Vn,oo,ro],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".bdt-slideshow-items",attrItem:"bdt-slideshow-item",selNav:".bdt-slideshow-nav",Animations:tl},watch:{list(t){t&&fo&&c(t,{aspectRatio:this.ratio.replace(":","/"),minHeight:this.minHeight||"",maxHeight:this.maxHeight||"",minWidth:"100%",maxWidth:"100%"})}},update:{read(){if(!this.list||fo)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-ce(this.list,"height","content-box")}},write({height:t}){t>0&&c(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},il={mixins:[rt,Tn],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"bdt-sortable-item",clsPlaceholder:"bdt-sortable-placeholder",clsDrag:"bdt-sortable-drag",clsDragState:"bdt-drag",clsBase:"bdt-sortable",clsNoDrag:"bdt-sortable-nodrag",clsEmpty:"bdt-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{wt(this.pos,he(i)),e(i)}}},events:{name:vt,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return D(this.target)},isEmpty(){return Ie(this.items)},handles({handle:t},e){return t?F(t,e):this.items}},watch:{isEmpty(t){q(this.target,this.clsEmpty,t)},handles(t,e){c(e,{touchAction:"",userSelect:""}),c(t,{touchAction:qt?"none":"",userSelect:"none"})}},update:{write(t){if(!this.drag||!_(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;c(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(A.inProgress))return;const l=rl(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const h=this.getSortable(o),u=al(r.target,l,o,e,i,r===h&&t.moved!==l);u!==!1&&(u&&o===u||(r!==h?(h.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>N(e,o));!n||s||i>0||Ui(e)||N(e,`.${this.clsNoDrag}`)||this.handle&&!N(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:ae(n),...this.pos},y(document,fi,this.move),y(document,Dt,this.end),this.threshold||this.start(t))},start(t){this.drag=ol(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();wt(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),$(this.drag,this.clsDrag,this.clsCustom),$(this.placeholder,this.clsPlaceholder),$(this.items,this.clsItem),$(document.documentElement,this.clsDragState),v(this.$el,"start",[this,this.placeholder]),sl(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(zt(document,fi,this.move),zt(document,Dt,this.end),!this.drag)return;nl();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==ae(this.placeholder)&&v(this.$el,"moved",[this,this.placeholder]):(v(t.$el,"added",[t,this.placeholder]),v(this.$el,"removed",[this,this.placeholder])),v(this.$el,"stop",[this,this.placeholder]),ct(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)M(s.items,e,i);this.touched=null,M(document.documentElement,this.clsDragState)},insert(t,e){$(this.items,this.clsItem);const i=()=>e?ai(e,t):L(this.target,t);this.animate(i)},remove(t){N(t,this.target)&&this.animate(()=>ct(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=_(t))}}};let po;function sl(t){let e=Date.now();po=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),de(document.elementFromPoint(i,t.y)).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:h,height:u}=ut(o);if(l<s&&l+35>s)r-=n;else if(h>s&&h-35<s)r+=n;else return;if(r>0&&r<a-u)return o.scrollTop=r,!0})},15)}function nl(){clearInterval(po)}function ol(t,e){let i;if(V(e,"li","tr")){i=w("<div>"),L(i,e.cloneNode(!0).children);for(const s of e.getAttributeNames())p(i,s,e.getAttribute(s))}else i=e.cloneNode(!0);return L(t,i),c(i,"margin","0","important"),c(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:c(e,"padding")}),st(i.firstElementChild,st(e.firstElementChild)),i}function rl(t,e){return t[kt(t,i=>Ce(e,i.getBoundingClientRect()))]}function al(t,e,i,s,n,o){if(!D(t).length)return;const r=e.getBoundingClientRect();if(!o)return ll(t,i)||n<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=go([r.top,r.bottom],[a.top,a.bottom]),[h,u,f,d]=l?[s,"width","left","right"]:[n,"height","top","bottom"],m=a[u]<r[u]?r[u]-a[u]:0;return a[f]<r[f]?m&&h<r[f]+m?!1:e.nextElementSibling:m&&h>r[d]-m?!1:e}function ll(t,e){const i=D(t).length===1;i&&L(t,e);const s=D(t),n=s.some((o,r)=>{const a=o.getBoundingClientRect();return s.slice(r+1).some(l=>{const h=l.getBoundingClientRect();return!go([a.left,a.right],[h.left,h.right])})});return i&&ct(e),n}function go(t,e){return t[1]>e[0]&&e[1]>t[0]}var mo={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${G?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=g(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:ui(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in o)o[l].reverse();s.reverse(),n.reverse()}const r=hl(t),a=x(t);c(t,{top:-a.height,left:-a.width}),cn(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t){return et(this.offset===!1?c(t,"--bdt-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(g(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:et(c(t,"--bdt-position-shift-offset"),this.axis==="y"?"width":"height",t)*(g(["left","top"],this.align)?1:-1)},getViewportOffset(t){return et(c(t,"--bdt-position-viewport-offset"))}}};function hl(t){const e=yt(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}var cl={mixins:[Re,Gt,mo],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["bdt-animation-scale-up"],duration:100,cls:"bdt-active"},beforeConnect(){this.id=Bt(this,{}),this._hasTitle=xt(this.$el,"title"),p(this.$el,{title:"","aria-describedby":this.id}),ul(this.$el)},disconnected(){this.hide(),p(this.$el,"title")||p(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){O(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),ct(this.tooltip),this.tooltip=null)},async _show(){this.tooltip=L(this.container,`<div id="${this.id}" class="bdt-${this.$options.name}" role="tooltip"> <div class="bdt-${this.$options.name}-inner">${this.title}</div> </div>`),y(this.tooltip,"toggled",(t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[s,n]=fl(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${ui(s)}-${n}`:`${n}-${ui(s)}`;const o=[R(document,`keydown ${vt}`,this.hide,!1,r=>r.type===vt&&!N(r.target,this.$el)||r.type==="keydown"&&r.keyCode===E.ESC),y([document,...Vt(this.$el)],"scroll",i,{passive:!0})];R(this.tooltip,"hide",()=>o.forEach(r=>r()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{focus:"show",blur:"hide",[`${Ut} ${Fe}`](t){Ct(t)||this[t.type===Ut?"show":"hide"]()},[vt](t){Ct(t)&&this.show()}}};function ul(t){ni(t)||p(t,"tabindex","0")}function fl(t,e,[i,s]){const n=I(t),o=I(e),r=[["left","right"],["top","bottom"]];for(const l of r){if(n[l[0]]>=o[l[1]]){i=l[1];break}if(n[l[1]]<=o[l[0]]){i=l[0];break}}const a=g(r[0],i)?r[1]:r[0];return n[a[0]]===o[a[0]]?s=a[0]:n[a[1]]===o[a[1]]?s=a[1]:s="center",[i,s]}var dl={mixins:[$i],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"bdt-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:P,beforeAll:P,beforeSend:P,complete:P,completeAll:P,error:P,fail:P,load:P,loadEnd:P,loadStart:P,progress:P},events:{change(t){O(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){_i(t);const e=t.dataTransfer;e!=null&&e.files&&(M(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){_i(t)},dragover(t){_i(t),$(this.$el,this.clsDragover)},dragleave(t){_i(t),M(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=Pt(t),!t.length)return;v(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!vo(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!vo(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=pl(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await gl(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;y(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])y(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function vo(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function pl(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function _i(t){t.preventDefault(),t.stopPropagation()}function gl(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:P,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>ml(t,i))}function ml(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);y(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s(wt(Error(n.statusText),{xhr:n,status:n.status}))}),y(n,"error",()=>s(wt(Error("Network Error"),{xhr:n}))),y(n,"timeout",()=>s(wt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}var vl=Object.freeze({__proto__:null,Countdown:Or,Filter:jr,Lightbox:Na,LightboxPanel:Yn,Notification:za,Parallax:Ga,Slider:Ka,SliderParallax:ho,Slideshow:el,SlideshowParallax:ho,Sortable:il,Tooltip:cl,Upload:dl});function bl(t){Mt&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>bo(t)):new MutationObserver((e,i)=>{document.body&&(bo(t),i.disconnect())}).observe(document.documentElement,{childList:!0}))}function bo(t){v(document,"uikit:init",t),document.body&&Tt(document.body,wo),new MutationObserver(e=>e.forEach(wl)).observe(document,{subtree:!0,childList:!0}),new MutationObserver(e=>e.forEach($l)).observe(document,{subtree:!0,attributes:!0}),t._initialized=!0}function wl({addedNodes:t,removedNodes:e}){for(const i of t)Tt(i,wo);for(const i of e)Tt(i,xl)}function $l({target:t,attributeName:e}){var i;const s=$o(e);if(s){if(xt(t,e)){Ve(s,t);return}(i=yi(t,s))==null||i.$destroy()}}function wo(t){const e=Xt(t);for(const i in Xt(t))Ts(e[i]);for(const i of t.getAttributeNames()){const s=$o(i);s&&Ve(s,t)}}function xl(t){const e=Xt(t);for(const i in Xt(t))Es(e[i])}function $o(t){lt(t,"data-")&&(t=t.slice(5));const e=ve[t];return e&&(St(e)?e:e.options).name}Aa(dt),Ma(dt);var xo={mixins:[rt,Gt],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"bdt-open",toggle:"> .bdt-accordion-title",content:"> .bdt-accordion-content",offset:0},computed:{items({targets:t},e){return F(t,e)},toggles({toggle:t}){return this.items.map(e=>w(t,e))},contents({content:t}){return this.items.map(e=>{var i;return((i=e._wrapper)==null?void 0:i.firstElementChild)||w(t,e)})}},watch:{items(t,e){if(e||S(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const i=S(this.items.find(s=>N(e,s)),this.clsOpen);Oi(e,!i)}this.$emit()}},observe:We(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;t.type==="keydown"&&t.keyCode!==E.SPACE||(t.preventDefault(),(e=this._off)==null||e.call(this),this._off=kl(t.target),await this.toggle(ae(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=_e(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],s=this.contents[e];if(!i||!s)continue;i.id=Bt(this,i,`-title-${e}`),s.id=Bt(this,s,`-content-${e}`);const n=g(t,this.items[e]);p(i,{role:V(i,"a")?"button":null,"aria-controls":s.id,"aria-expanded":n,"aria-disabled":!this.collapsible&&t.length<2&&n}),p(s,{role:"region","aria-labelledby":i.id}),V(s,"ul")&&p(D(s),"role","presentation")}},methods:{toggle(t,e){t=this.items[ht(t,this.items)];let i=[t];const s=_e(this.items,`.${this.clsOpen}`);if(!this.multiple&&!g(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&g(s,t)))return Promise.all(i.map(n=>this.toggleElement(n,!g(s,n),(o,r)=>{if(q(o,this.clsOpen,r),e===!1||!this.animation){Oi(w(this.content,o),!r);return}return yl(o,r,this)})))}}};function Oi(t,e){t&&(t.hidden=e)}async function yl(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||w(i,t),t._wrapper||(t._wrapper=ci(i,"<div>"));const a=t._wrapper;c(a,"overflow","hidden");const l=k(c(a,"height"));await A.cancel(a),Oi(i,!1);const h=Nt(["marginTop","marginBottom"],f=>c(i,f))+x(i).height,u=l/h;s=(n*h+s)*(e?1-u:u),c(a,"height",l),await A.start(a,{height:e?h:0},s,o),De(i),delete t._wrapper,e||Oi(i,!0)}function kl(t){const e=yt(t,!0);let i;return function s(){i=requestAnimationFrame(()=>{const{top:n}=t.getBoundingClientRect();n<0&&(e.scrollTop+=n),s()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var Sl={mixins:[rt,Gt],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".bdt-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,Il),this.$destroy(!0)}}};function Il(t,e,{duration:i,transition:s,velocity:n}){const o=k(c(t,"height"));return c(t,"height",o),A.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+i,s)}var yo={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!xt(this.$el,"preload")&&(this.$el.preload="none"),V(this.$el,"iframe")&&!xt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&sn(this.$el)},observe:[pe({args:{intersecting:!1}}),gt()],update:{read({visible:t}){return nn(this.$el)?{prev:t,visible:j(this.$el),inView:this.inView&&hs(this.$el)}:!1},write({prev:t,visible:e,inView:i}){!e||this.inView&&!i?en(this.$el):(this.autoplay===!0&&!t||i)&&tn(this.$el)},events:["resize"]}};const Cl={top:0,left:0,width:"100%",height:"100%",transform:"none",objectFit:"cover",objectPosition:"center"};var Tl={mixins:[yo],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:gt({target:({$el:t})=>[ko(t)||_(t)],filter:({_useObjectFit:t})=>!t}),connected(){this._useObjectFit=V(this.$el,"img","video"),this._useObjectFit&&c(this.$el,Cl)},disconnected(){this._useObjectFit&&p(this.$el,"style","")},update:{read(){if(this._useObjectFit)return;const{ratio:t,cover:e}=ii,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!s||!n){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};s?o=t(h,"width",s):n?o=t(h,"height",n):o=h}const{offsetHeight:r,offsetWidth:a}=ko(i)||_(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write({height:t,width:e}){c(this.$el,{height:t,width:e})},events:["resize"]}};function ko(t){for(;t=_(t);)if(c(t,"position")!=="static")return t}let Z;var So={mixins:[Re,mo,Gt],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean,closeOnScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["bdt-animation-fade"],cls:"bdt-open",container:!1,closeOnScroll:!1},computed:{boundary({boundary:t,boundaryX:e,boundaryY:i},s){return[ot(e||t,s)||window,ot(i||t,s)||window]},target({target:t,targetX:e,targetY:i},s){return e||(e=t||this.targetEl),i||(i=t||this.targetEl),[e===!0?window:ot(e,s),i===!0?window:ot(i,s)]}},created(){this.tracker=new os},beforeConnect(){this.clsDrop=this.$props.clsDrop||`bdt-${this.$options.name}`},connected(){$(this.$el,"bdt-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=_l(this)),this._style=Li(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),Z=null),c(this.$el,this._style)},observe:We({target:({toggle:t,$el:e})=>ot(t,e),targets:({$el:t})=>t}),events:[{name:"click",delegate(){return".bdt-drop-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&le(e)&&!N(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),O(this.$el,":focus,:hover")||this.hide()}},{name:`${Ut} focusin`,filter(){return g(this.mode,"hover")},handler(t){Ct(t)||this.clearTimers()}},{name:`${Fe} focusout`,filter(){return g(this.mode,"hover")},handler(t){!Ct(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){Z=this,this.tracker.init(),p(this.targetEl,"aria-expanded",!0);const t=[Ol(this),Al(this),Dl(this),this.autoUpdate&&Io(this),this.closeOnScroll&&Ml(this),!this.bgScroll&&_n(this.$el)];R(this.$el,"hide",()=>t.forEach(e=>e&&e()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){if(this.$el!==t){Z=Z===null&&N(t,this.$el)&&this.isToggled()?this:Z;return}Z=this.isActive()?null:Z,this.tracker.cancel(),p(this.targetEl,"aria-expanded",null)}}],update:{write(){this.isToggled()&&!S(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(Z){if(e&&Z.isDelaying){this.showTimer=setTimeout(()=>O(t,":hover")&&this.show(),10);return}let i;for(;Z&&i!==Z&&!N(this.$el,Z.$el);)i=Z,Z.hide(!1,!1)}this.container&&_(this.$el)!==this.container&&L(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelayedHide=t,this.isDelaying=El(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return Z===this},position(){M(this.$el,"bdt-drop-stack"),c(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(n=>Pl(this.$el,n)),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,r]]of i)this.axis!==o&&g([o,!0],this.stretch)&&c(this.$el,{[r]:Math.min(I(this.boundary[n])[r],t[n][r]-2*e),[`overflow-${o}`]:"auto"});const s=t[0].width-2*e;this.$el.hidden=!1,c(this.$el,"maxWidth",""),this.$el.offsetWidth>s&&$(this.$el,"bdt-drop-stack"),c(this.$el,"maxWidth",s),this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,r,a,l]]of i)if(this.axis===o&&g([o,!0],this.stretch)){const h=Math.abs(this.getPositionOffset(this.$el)),u=I(this.target[n]),f=I(this.$el);c(this.$el,{[r]:(u[a]>f[a]?u[this.inset?l:a]-Math.max(I(this.boundary[n])[a],t[n][a]+e):Math.min(I(this.boundary[n])[l],t[n][l]-e)-u[this.inset?a:l])-h,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function El(t){const e=[];return Tt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}function Pl(t,e){return ut(Vt(e).find(i=>N(t,i)))}function _l(t){const{$el:e}=t.$create("toggle",ot(t.toggle,t.$el),{target:t.$el,mode:t.mode});return p(e,"aria-haspopup",!0),e}function Ol(t){const e=()=>t.$emit(),i=[rs(e),ze(Vt(t.$el).concat(t.target),e)];return()=>i.map(s=>s.disconnect())}function Io(t,e=()=>t.$emit()){return y([document,...Vt(t.$el)],"scroll",e,{passive:!0})}function Al(t){return y(document,"keydown",e=>{e.keyCode===E.ESC&&t.hide(!1)})}function Ml(t){return Io(t,()=>t.hide(!1))}function Dl(t){return y(document,vt,({target:e})=>{N(e,t.$el)||R(document,`${Dt} ${di} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===Dt&&e===n&&!(t.targetEl&&N(e,t.targetEl))&&t.hide(!1)},!0)})}var Co={mixins:[rt,Re],props:{align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean,closeOnScroll:Boolean},data:{align:G?"right":"left",clsDrop:"bdt-dropdown",clsDropbar:"bdt-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor({dropbarAnchor:t},e){return ot(t,e)||e},dropbar({dropbar:t}){return t?(t=this._dropbar||ot(t,this.$el)||w(`+ .${this.clsDropbar}`,this.$el),t||(this._dropbar=w("<div></div>"))):null},dropbarOffset(){return 0},dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){var i;const s=F(`.${t}`,e);if(this.dropContainer!==e)for(const n of F(`.${t}`,this.dropContainer)){const o=(i=this.getDropdown(n))==null?void 0:i.targetEl;!g(s,n)&&o&&N(o,this.$el)&&s.push(n)}return s},items({selNavItem:t},e){return F(t,e)}},watch:{dropbar(t){$(t,"bdt-dropbar","bdt-dropbar-top",this.clsDropbar,`bdt-${this.$options.name}-dropbar`)},dropdowns(){this.initializeDropdowns()}},connected(){this.initializeDropdowns()},disconnected(){ct(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:t}){const e=this.getActive();e&&g(e.mode,"hover")&&e.targetEl&&!N(e.targetEl,t)&&!e.isDelaying&&e.hide(!1)}},{name:"keydown",self:!0,delegate(){return this.selNavItem},handler(t){var e;const{current:i,keyCode:s}=t,n=this.getActive();s===E.DOWN&&(n==null?void 0:n.targetEl)===i&&(t.preventDefault(),(e=w(Pe,n.$el))==null||e.focus()),To(t,this.items,n)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){var e;const{current:i,keyCode:s}=t;if(!g(this.dropdowns,i))return;const n=this.getActive();let o=-1;if(s===E.HOME?o=0:s===E.END?o="last":s===E.UP?o="previous":s===E.DOWN?o="next":s===E.ESC&&((e=n.targetEl)==null||e.focus()),~o){t.preventDefault();const r=F(Pe,i);r[ht(o,r,kt(r,a=>O(a,":focus")))].focus()}To(t,this.items,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&g(t.mode,"hover")&&!this.dropdowns.some(e=>O(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&li(this.dropbarAnchor,this.dropbar),$(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const s=re(t,`.${this.clsDrop}`).concat(t).map(a=>I(a)),n=Math.min(...s.map(({top:a})=>a)),o=Math.max(...s.map(({bottom:a})=>a)),r=I(this.dropbar);c(this.dropbar,"top",this.dropbar.offsetTop-(r.top-n)-this.dropbarOffset),this.transitionTo(o-n+k(c(t,"marginBottom"))+this.dropbarOffset,t)};this._observer=ze([e.$el,...e.target],i),i()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();O(this.dropbar,":hover")&&e.$el===t.target&&g(e.mode,"hover")&&e.isDelayedHide&&!this.items.some(i=>e.targetEl!==i&&O(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){var e;if(!this.isDropbarDrop(t))return;(e=this._observer)==null||e.disconnect();const i=this.getActive();(!i||i.$el===t)&&this.transitionTo(0)}}],methods:{getActive(){var t;return g(this.dropdowns,(t=Z)==null?void 0:t.$el)&&Z},async transitionTo(t,e){const{dropbar:i}=this,s=st(i);e=s<t&&e,await A.cancel([e,i]),c(e,"clipPath",`polygon(0 0,100% 0,100% ${s}px,0 ${s}px)`),st(i,s),await Promise.all([A.start(i,{height:t},this.duration),A.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration).finally(()=>c(e,{clipPath:""}))]).catch(P)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&S(t,this.clsDrop)},initializeDropdowns(){this.$create("drop",this.dropdowns.filter(t=>!this.getDropdown(t)),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:this.boundary===!0?this.$el:this.boundary})}}};function To(t,e,i){var s,n,o;const{current:r,keyCode:a}=t;let l=-1;a===E.HOME?l=0:a===E.END?l="last":a===E.LEFT?l="previous":a===E.RIGHT?l="next":a===E.TAB&&((s=i.targetEl)==null||s.focus(),(n=i.hide)==null||n.call(i,!1)),~l&&(t.preventDefault(),(o=i.hide)==null||o.call(i,!1),e[ht(l,e,e.indexOf(i.targetEl||r))].focus())}var Bl={mixins:[rt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return w(Ee,e)},state(){return this.input.nextElementSibling},target({target:t},e){return t&&(t===!0&&_(this.input)===e&&this.input.nextElementSibling||w(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ui(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:O(i,"select")&&(s=F("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return U(this.$el,"form")},handler(){this.$emit()}}]},Nl={extends:$n,mixins:[rt],name:"grid",props:{masonry:Boolean,parallax:String,parallaxStart:String,parallaxEnd:String,parallaxJustify:Boolean},data:{margin:"bdt-grid-margin",clsStack:"bdt-grid-stack",masonry:!1,parallax:0,parallaxStart:0,parallaxEnd:0,parallaxJustify:!1},connected(){this.masonry&&$(this.$el,"bdt-flex-top","bdt-flex-wrap-top")},observe:vi({filter:({parallax:t,parallaxJustify:e})=>t||e}),update:[{write({rows:t}){q(this.$el,this.clsStack,!t[0][1])},events:["resize"]},{read(t){const{rows:e}=t;let{masonry:i,parallax:s,parallaxJustify:n,margin:o}=this;if(s=Math.max(0,et(s)),!(i||s||n)||Eo(e)||e[0].some((b,C)=>e.some(H=>H[C]&&H[C].offsetWidth!==b.offsetWidth)))return t.translates=t.scrollColumns=!1;let r=zl(e,o),a,l;i?[a,l]=Fl(e,r,i==="next"):a=Hl(e);const h=a.map(b=>Nt(b,"offsetHeight")+r*(b.length-1)),u=Math.max(0,...h);let f,d,m;return(s||n)&&(f=h.map((b,C)=>n?u-b+s:s/(C%2||8)),n||(s=Math.max(...h.map((b,C)=>b+f[C]-u))),d=et(this.parallaxStart,"height",this.$el,!0),m=et(this.parallaxEnd,"height",this.$el,!0)),{columns:a,translates:l,scrollColumns:f,parallaxStart:d,parallaxEnd:m,padding:s,height:l?u:""}},write({height:t,padding:e}){c(this.$el,"paddingBottom",e||""),t!==!1&&c(this.$el,"height",t)},events:["resize"]},{read({rows:t,scrollColumns:e,parallaxStart:i,parallaxEnd:s}){return e&&Eo(t)?!1:{scrolled:e?cs(this.$el,i,s):!1}},write({columns:t,scrolled:e,scrollColumns:i,translates:s}){!e&&!s||t.forEach((n,o)=>n.forEach((r,a)=>{let[l,h]=s&&s[o][a]||[0,0];e&&(h+=e*i[o]),c(r,"transform",`translate(${l}px, ${h}px)`)}))},events:["scroll","resize"]}]};function Eo(t){return t.flat().some(e=>c(e,"position")==="absolute")}function Fl(t,e,i){const s=[],n=[],o=Array(t[0].length).fill(0);let r=0;for(let a of t){G&&(a=a.reverse());let l=0;for(const h in a){const{offsetWidth:u,offsetHeight:f}=a[h],d=i?h:o.indexOf(Math.min(...o));As(s,d,a[h]),As(n,d,[(d-h)*u*(G?-1:1),o[d]-r]),o[d]+=f+e,l=Math.max(l,f)}r+=l+e}return[s,n]}function zl(t,e){const i=t.flat().find(s=>S(s,e));return k(i?c(i,"marginTop"):c(t[0][0],"paddingLeft"))}function Hl(t){const e=[];for(const i of t)for(const s in i)As(e,s,i[s]);return e}function As(t,e,i){t[e]||(t[e]=[]),t[e].push(i)}var Ll={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements({target:t},e){return F(t,e)}},observe:gt({target:({$el:t,elements:e})=>[t,...e]}),update:{read(){return{rows:(this.row?ms(this.elements):[this.elements]).map(Wl)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((s,n)=>c(s,"minHeight",e[n]))},events:["resize"]}};function Wl(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(jl);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function jl(t){const e=Li(t.style,["display","minHeight"]);j(t)||c(t,"display","block","important"),c(t,"minHeight","");const i=x(t).height-ce(t,"height","content-box");return c(t,e),i}var Rl={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:[gs({filter:({expand:t})=>t}),gt({target:({$el:t})=>de(t)})],update:{read(){if(!j(this.$el))return!1;let t="";const e=ce(this.$el,"height","content-box"),{body:i,scrollingElement:s}=document,n=yt(this.$el),{height:o}=ut(n===i?s:n),r=s===n||i===n;if(t=`calc(${r?"100vh":`${o}px`}`,this.expand){const a=x(n).height-x(this.$el).height;t+=` - ${a}px`}else{if(this.offsetTop)if(r){const a=this.offsetTop===!0?this.$el:ot(this.offsetTop,this.$el),l=Rt(a)[0]-Rt(n)[0];t+=l>0&&l<o/2?` - ${l}px`:""}else t+=` - ${c(n,"paddingTop")}`;this.offsetBottom===!0?t+=` - ${x(this.$el.nextElementSibling).height}px`:$t(this.offsetBottom)?t+=` - ${this.offsetBottom}vh`:this.offsetBottom&&ee(this.offsetBottom,"px")?t+=` - ${k(this.offsetBottom)}px`:B(this.offsetBottom)&&(t+=` - ${x(ot(this.offsetBottom,this.$el)).height}px`)}return t+=`${e?` - ${e}px`:""})`,{minHeight:t}},write({minHeight:t}){c(this.$el,"minHeight",`max(${this.minHeight||0}px, ${t})`)},events:["resize"]}},ql='<svg width="14" height="14" viewBox="0 0 14 14"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',Ul='<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',Vl='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Gl='<svg width="20" height="20" viewBox="0 0 20 20"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',Yl='<svg width="14" height="14" viewBox="0 0 14 14"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',Xl='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Jl='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Kl='<svg width="20" height="20" viewBox="0 0 20 20"><style>.bdt-navbar-toggle-animate svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.bdt-navbar-toggle svg&gt;.line-3{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{opacity:1}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-2{transform:rotate(45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{transform:rotate(-45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1,.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1{transform:translateY(6px) scaleX(0)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>',Zl='<svg width="40" height="40" viewBox="0 0 40 40"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',Ql='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',th='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',eh='<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',ih='<svg width="40" height="40" viewBox="0 0 40 40"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',sh='<svg width="24" height="24" viewBox="0 0 24 24"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',nh='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5"/></svg>',oh='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1"/></svg>',rh='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547"/></svg>',ah='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23"/></svg>',lh='<svg width="30" height="30" viewBox="0 0 30 30"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',hh='<svg width="18" height="10" viewBox="0 0 18 10"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9"/></svg>',Po={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then(t=>{if(!this._connected)return;const e=ch(t,this.$el);return this.svgEl&&e!==this.svgEl&&ct(this.svgEl),uh.call(this,e,t),this.svgEl=e},P)},disconnected(){this.svg.then(t=>{this._connected||(qi(this.$el)&&(this.$el.hidden=!1),ct(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){}}};function ch(t,e){if(qi(e)||V(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return _o(t,s)?s:li(e,t)}const i=e.lastElementChild;return _o(t,i)?i:L(e,t)}function _o(t,e){return V(t,"svg")&&V(e,"svg")&&t.innerHTML===e.innerHTML}function uh(t,e){const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>p(e,o)));const n=p(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>p(t,i[r],k(o)*this.ratio||null))}const Ai={spinner:lh,totop:hh,marker:Gl,"close-icon":ql,"close-large":Ul,"drop-parent-icon":Vl,"nav-parent-icon":Xl,"nav-parent-icon-large":Yl,"navbar-parent-icon":Jl,"navbar-toggle-icon":Kl,"overlay-icon":Zl,"pagination-next":Ql,"pagination-previous":th,"search-icon":eh,"search-large":ih,"search-navbar":sh,"slidenav-next":oh,"slidenav-next-large":nh,"slidenav-previous":ah,"slidenav-previous-large":rh},Ms={install:xh,mixins:[Po],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){$(this.$el,"bdt-icon")},methods:{async getSvg(){const t=yh(this.icon);if(!t)throw"Icon not found.";return t}}},Kt={args:!1,extends:Ms,data:t=>({icon:te(t.constructor.options.name)}),beforeConnect(){$(this.$el,this.$options.id)}},fh={extends:Kt,beforeConnect(){const t=this.$props.icon;this.icon=U(this.$el,".bdt-nav-primary")?`${t}-large`:t}},dh={extends:Kt,mixins:[$i],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){if(this.icon=S(this.$el,"bdt-search-icon")&&re(this.$el,".bdt-search-large").length?"search-large":re(this.$el,".bdt-search-navbar").length?"search-navbar":this.$props.icon,!xt(this.$el,"aria-label"))if(S(this.$el,"bdt-search-toggle")||S(this.$el,"bdt-navbar-toggle")){const t=this.t("toggle");p(this.$el,"aria-label",t)}else{const t=U(this.$el,"a,button");if(t){const e=this.t("submit");p(t,"aria-label",e)}}}},ph={extends:Kt,beforeConnect(){p(this.$el,"role","status")},methods:{async getSvg(){const t=await Ms.methods.getSvg.call(this);return this.ratio!==1&&c(w("circle",t),"strokeWidth",1/this.ratio),t}}},Zt={extends:Kt,mixins:[$i],beforeConnect(){const t=U(this.$el,"a,button");p(t,"role",this.role!==null&&V(t,"a")?"button":this.role);const e=this.t("label");e&&!xt(t,"aria-label")&&p(t,"aria-label",e)}},Oo={extends:Zt,beforeConnect(){$(this.$el,"bdt-slidenav");const t=this.$props.icon;this.icon=S(this.$el,"bdt-slidenav-large")?`${t}-large`:t}},gh={extends:Zt,i18n:{label:"Open menu"}},mh={extends:Zt,i18n:{label:"Close"},beforeConnect(){this.icon=`close-${S(this.$el,"bdt-close-large")?"large":"icon"}`}},vh={extends:Zt,i18n:{label:"Open"}},bh={extends:Zt,i18n:{label:"Back to top"}},wh={extends:Zt,i18n:{label:"Next page"},data:{role:null}},$h={extends:Zt,i18n:{label:"Previous page"},data:{role:null}},Mi={};function xh(t){t.icon.add=(e,i)=>{const s=B(e)?{[e]:i}:e;Ot(s,(n,o)=>{Ai[o]=n,delete Mi[o]}),t._initialized&&Tt(document.body,n=>Ot(t.getComponents(n),o=>{o.$options.isIcon&&o.icon in s&&o.$reset()}))}}function yh(t){return Ai[t]?(Mi[t]||(Mi[t]=w((Ai[kh(t)]||Ai[t]).trim())),Mi[t].cloneNode(!0)):null}function kh(t){return G?Hi(Hi(t,"left","right"),"previous","next"):t}const Sh=Mt&&"loading"in HTMLImageElement.prototype;var Ih={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}Sh&&Di(this.$el)&&(this.$el.loading="lazy",Ds(this.$el)),_h(this.$el)},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:pe({target:({$el:t,$props:e})=>[t,...Oe(e.target,t)],handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>t==="lazy"}),methods:{load(){if(this.img)return this.img;const t=Di(this.$el)?this.$el:Th(this.$el,this.dataSrc,this.sources);return Te(t,"loading"),Ds(this.$el,t.currentSrc),this.img=t}}};function Ds(t,e){if(Di(t)){const i=_(t);(V(i,"picture")?D(i):[t]).forEach(n=>Ao(n,n))}else e&&!g(t.style.backgroundImage,e)&&(c(t,"backgroundImage",`url(${Yi(e)})`),v(t,Ht("load",!1)))}const Ch=["data-src","data-srcset","sizes"];function Ao(t,e){for(const i of Ch){const s=it(t,i);s&&p(e,i.replace(/^(data-)+/,""),s)}}function Th(t,e,i){const s=new Image;return Eh(s,i),Ao(t,s),s.onload=()=>{Ds(t,s.currentSrc)},p(s,"src",e),s}function Eh(t,e){if(e=Ph(e),e.length){const i=Wt("<picture>");for(const s of e){const n=Wt("<source>");p(n,s),L(i,n)}L(i,t)}}function Ph(t){if(!t)return[];if(lt(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=Le(t);return Q(t)||(t=[t]),t.filter(e=>!Ie(e))}function _h(t){Di(t)&&!xt(t,"src")&&p(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function Di(t){return V(t,"img")}var Oh={mixins:[rt,ki],props:{fill:String},data:{fill:"",clsWrapper:"bdt-leader-fill",clsHide:"bdt-leader-hide",attrFill:"data-fill"},computed:{fill({fill:t}){return t||c(this.$el,"--bdt-leader-fill-content")}},connected(){[this.wrapper]=es(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){De(this.wrapper.childNodes)},observe:gt(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){q(this.wrapper,this.clsHide,i),p(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}},Ah={install:Mh,mixins:[xs],data:{clsPage:"bdt-modal-page",selPanel:".bdt-modal-dialog",selClose:".bdt-modal-close, .bdt-modal-close-default, .bdt-modal-close-outside, .bdt-modal-close-full"},events:[{name:"show",self:!0,handler(){S(this.panel,"bdt-margin-auto-vertical")?$(this.$el,"bdt-flex"):c(this.$el,"display","block"),st(this.$el)}},{name:"hidden",self:!0,handler(){c(this.$el,"display",""),M(this.$el,"bdt-flex")}}]};function Mh({modal:t}){t.dialog=function(i,s){const n=t(`<div class="bdt-modal"> <div class="bdt-modal-dialog">${i}</div> </div>`,{stack:!0,role:"alertdialog",...s});return n.show(),y(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(i,s){return e(({i18n:n})=>`<div class="bdt-modal-body">${B(i)?i:Lt(i)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-primary bdt-modal-close" autofocus>${n.ok}</button> </div>`,s)},t.confirm=function(i,s){return e(({i18n:n})=>`<form> <div class="bdt-modal-body">${B(i)?i:Lt(i)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${n.cancel}</button> <button class="bdt-button bdt-button-primary" autofocus>${n.ok}</button> </div> </form>`,s,()=>Promise.reject())},t.prompt=function(i,s,n){const o=e(({i18n:l})=>`<form class="bdt-form-stacked"> <div class="bdt-modal-body"> <label>${B(i)?i:Lt(i)}</label> <input class="bdt-input" value="${s||""}" autofocus> </div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${l.cancel}</button> <button class="bdt-button bdt-button-primary">${l.ok}</button> </div> </form>`,n,()=>null,()=>a.value),{$el:r}=o.dialog,a=w("input",r);return y(r,"show",()=>a.select()),o},t.i18n={ok:"Ok",cancel:"Cancel"};function e(i,s,n=P,o=P){s={bgClose:!1,escClose:!0,...s,i18n:{...t.i18n,...s==null?void 0:s.i18n}};const r=t.dialog(i(s),s);return wt(new Promise(a=>{const l=y(r.$el,"hide",()=>a(n()));y(r.$el,"submit","form",h=>{h.preventDefault(),a(o(r)),l(),r.hide()})}),{dialog:r})}}var Dh={extends:xo,data:{targets:"> .bdt-parent",toggle:"> a",content:"> ul"}},Bh={extends:Co,props:{dropbarTransparentMode:Boolean},data:{clsDrop:"bdt-navbar-dropdown",selNavItem:".bdt-navbar-nav > li > a,a.bdt-navbar-item,button.bdt-navbar-item,.bdt-navbar-item a,.bdt-navbar-item button,.bdt-navbar-toggle",selTransparentTarget:'[class*="bdt-section"]',dropbarTransparentMode:!1},computed:{dropbarOffset(){return this.dropbarTransparentMode==="behind"?this.$el.offsetHeight:0},navbarContainer(){return U(this.$el,".bdt-navbar-container")}},watch:{items(){const t=S(this.$el,"bdt-navbar-justify");for(const e of F(".bdt-navbar-nav, .bdt-navbar-left, .bdt-navbar-right",this.$el))c(e,"flexGrow",t?F(".bdt-navbar-nav > li > a, .bdt-navbar-item, .bdt-navbar-toggle",e).length:"")}},disconnect(){var t;(t=this._colorListener)==null||t.call(this)},observe:[ps({target:({navbarContainer:t})=>t,handler(){this.registerColorListener()},options:{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}}),pe({handler(t){this._isIntersecting=t[0].isIntersecting,this.registerColorListener()},args:{intersecting:!1}})],events:[{name:"show",el(){return this.dropContainer},handler({target:t}){const e=this.getTransparentMode(t);if(!e||this._mode)return;const i=()=>this._mode=Nh(this.navbarContainer,"bdt-light","bdt-dark");if(e==="behind"){const s=Mo(this.$el);s&&(i(),$(this.navbarContainer,`bdt-${s}`))}e==="remove"&&(i(),M(this.navbarContainer,"bdt-navbar-transparent"))}},{name:"hide",el(){return this.dropContainer},async handler({target:t}){const e=this.getTransparentMode(t);if(!(!e||!this._mode)&&(await Fh(),!this.getActive())){if(e==="behind"){const i=Mo(this.$el);i&&M(this.navbarContainer,`bdt-${i}`)}$(this.navbarContainer,this._mode),e==="remove"&&$(this.navbarContainer,"bdt-navbar-transparent"),this._mode=null}}}],methods:{getTransparentMode(t){if(!this.navbarContainer)return;if(this.dropbar&&this.isDropbarDrop(t))return this.dropbarTransparentMode;const e=this.getDropdown(t);if(!(!e||!S(t,"bdt-dropbar")))return e.inset?"behind":"remove"},registerColorListener(){const t=this._isIntersecting&&S(this.navbarContainer,"bdt-navbar-transparent")&&!Hh(this.navbarContainer)&&!F(".bdt-drop",this.dropContainer).map(this.getDropdown).some(e=>e.isToggled()&&(e.inset||this.getTransparentMode(e.$el)==="behind"));if(this._colorListener){t||(this._colorListener(),this._colorListener=null);return}t&&(this._colorListener=zh(this.navbarContainer,()=>{const{left:e,top:i,height:s}=I(this.navbarContainer),n={x:e,y:Math.max(0,i)+s/2},o=F(this.selTransparentTarget).find(a=>Ce(n,I(a))),r=c(o,"--bdt-navbar-color");r&&si(this.navbarContainer,"bdt-light,bdt-dark",`bdt-${r}`)}))}}};function Nh(t,...e){for(const i of e)if(S(t,i))return M(t,i),i}async function Fh(){return new Promise(t=>setTimeout(t))}function Mo(t){return c(t,"--bdt-navbar-dropbar-behind-color")}function zh(t,e){const i=yt(t,!0),s=i===document.documentElement?document:i,n=y(s,"scroll",e,{passive:!0}),o=ze([t,i],e);return()=>{n(),o.disconnect()}}function Hh(t){do if(c(t,"mixBlendMode")!=="normal")return!0;while(t=_(t))}var Lh={mixins:[xs],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"bdt-offcanvas-page",clsContainer:"bdt-offcanvas-container",selPanel:".bdt-offcanvas-bar",clsFlip:"bdt-offcanvas-flip",clsContainerAnimation:"bdt-offcanvas-container-animation",clsSidebarAnimation:"bdt-offcanvas-bar-animation",clsMode:"bdt-offcanvas",clsOverlay:"bdt-offcanvas-overlay",selClose:".bdt-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip({flip:t,clsFlip:e}){return t?e:""},clsOverlay({overlay:t,clsOverlay:e}){return t?e:""},clsMode({mode:t,clsMode:e}){return`${e}-${t}`},clsSidebarAnimation({mode:t,clsSidebarAnimation:e}){return t==="none"||t==="reveal"?"":e},clsContainerAnimation({mode:t,clsContainerAnimation:e}){return t!=="push"&&t!=="reveal"?"":e},transitionElement({mode:t}){return t==="reveal"?_(this.panel):this.panel}},observe:wn({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!j(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!S(_(this.panel),this.clsMode)&&(ci(this.panel,"<div>"),$(_(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;$(t,this.clsContainer,this.clsFlip),c(t,"touch-action","pan-y pinch-zoom"),c(this.$el,"display","block"),c(this.panel,"maxWidth",e.clientWidth),$(this.$el,this.clsOverlay),$(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),st(t),$(t,this.clsContainerAnimation),this.clsContainerAnimation&&Wh()}},{name:"hide",self:!0,handler(){M(document.body,this.clsContainerAnimation),c(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&jh(),this.mode==="reveal"&&De(this.panel),M(this.panel,this.clsSidebarAnimation,this.clsMode),M(this.$el,this.clsOverlay),c(this.$el,"display",""),c(this.panel,"maxWidth",""),M(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&ee(t.type,"Left")^this.flip&&this.hide()}}]};function Wh(){Do().content+=",user-scalable=0"}function jh(){const t=Do();t.content=t.content.replace(/,user-scalable=0$/,"")}function Do(){return w('meta[name="viewport"]',document.head)||L(document.head,'<meta name="viewport">')}var Rh={mixins:[rt],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".bdt-modal",selContent:".bdt-modal-dialog",minHeight:150},computed:{container({selContainer:t},e){return U(e,t)},content({selContent:t},e){return U(e,t)}},observe:gt({target:({container:t,content:e})=>[t,e]}),update:{read(){return!this.content||!this.container||!j(this.$el)?!1:{max:Math.max(this.minHeight,st(this.container)-(x(this.content).height-st(this.$el)))}},write({max:t}){c(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},qh={props:["width","height"],connected(){$(this.$el,"bdt-responsive-width")},observe:gt({target:({$el:t})=>[t,_(t)]}),update:{read(){return j(this.$el)&&this.width&&this.height?{width:Be(_(this.$el)),height:this.height}:!1},write(t){st(this.$el,ii.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},Uh={props:{offset:Number},data:{offset:0},connected(){Vh(this)},disconnected(){Gh(this)},methods:{async scrollTo(t){t=t&&w(t)||document.body,v(this.$el,"beforescroll",[this,t])&&(await ln(t,{offset:this.offset}),v(this.$el,"scrolled",[this,t]))}}};const Ke=new Set;function Vh(t){Ke.size||y(document,"click",Bo),Ke.add(t)}function Gh(t){Ke.delete(t),Ke.size||zt(document,"click",Bo)}function Bo(t){if(!t.defaultPrevented)for(const e of Ke)N(t.target,e.$el)&&le(e.$el)&&(t.preventDefault(),window.location.href!==e.$el.href&&window.history.pushState({},"",e.$el.href),e.scrollTo(Vi(e.$el)))}var Yh={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"bdt-scrollspy-inview"}),computed:{elements({target:t},e){return t?F(t,e):[e]}},watch:{elements(t){this.hidden&&c(_e(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())M(t,this.inViewClass,(e==null?void 0:e.cls)||"");delete this.elementData},observe:pe({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:it(i,"bdt-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},options:({margin:t})=>({rootMargin:t}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){var i;const s=this.elementData.get(t);if(s){if((i=s.off)==null||i.call(s),c(t,"opacity",!e&&this.hidden?0:""),q(t,this.inViewClass,e),q(t,s.cls),/\bbdt-animation-/.test(s.cls)){const n=()=>Ri(t,"bdt-animation-[\\w-]+");e?s.off=R(t,"animationcancel animationend",n):n()}v(t,e?"inview":"outview"),s.inview=e,this.$update(t)}}}},Xh={props:{cls:String,closest:Boolean,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"bdt-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links(t,e){return F('a[href*="#"]',e).filter(i=>i.hash&&le(i))},elements({closest:t}){return this.links.map(e=>U(e,t||"*"))}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset})}},observe:[pe(),vi()],update:[{read(){const t=this.links.map(Vi).filter(Boolean),{length:e}=t;if(!e||!j(this.$el))return!1;const i=yt(t,!0),{scrollTop:s,scrollHeight:n}=i,o=ut(i),r=n-o.height;let a=!1;if(s===r)a=e-1;else{for(let l=0;l<t.length;l++){const h=Jh(t[l]),u=this.offset+(h?I(h).height:0);if(I(t[l]).top-o.top-u>0)break;a=+l}a===!1&&this.overflow&&(a=0)}return{active:a}},write({active:t}){const e=t!==!1&&!S(this.elements[t],this.cls);this.links.forEach(i=>i.blur());for(let i=0;i<this.elements.length;i++)q(this.elements[i],this.cls,+i===t);e&&v(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]};function Jh(t){return t.ownerDocument.elementsFromPoint(1,1).find(e=>["fixed","sticky"].includes(c(e,"position"))&&!e.contains(t))}var Kh={mixins:[rt,ki],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"bdt-active",clsInactive:"",clsFixed:"bdt-sticky-fixed",clsBelow:"bdt-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget({selTarget:t},e){return t&&w(t,e)||e}},connected(){this.start=No(this.start||this.top),this.end=No(this.end||this.bottom),this.placeholder=w("+ .bdt-sticky-placeholder",this.$el)||w('<div class="bdt-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},beforeDisconnect(){this.isFixed&&(this.hide(),M(this.selTarget,this.clsInactive)),Fo(this.$el),ct(this.placeholder),this.placeholder=null},observe:[gs(),vi({target:()=>document.scrollingElement}),gt({target:({$el:t})=>[t,document.scrollingElement]})],events:[{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=I(w(location.hash)),i=I(this.$el);this.isFixed&&Wi(e,i)&&(t.scrollTop=e.top-i.height-et(this.targetOffset,"height",this.placeholder)-et(this.offset,"height",this.placeholder))})}},{name:"transitionstart",handler(){this.transitionInProgress=R(this.$el,"transitionend transitioncancel",()=>this.transitionInProgress=null)}}],update:[{read({height:t,width:e,margin:i,sticky:s}){if(this.inactive=!this.matchMedia||!j(this.$el),this.inactive)return;const n=this.isFixed&&!this.transitionInProgress;n&&(zo(this.selTarget),this.hide()),this.active||({height:t,width:e}=I(this.$el),i=c(this.$el,"margin")),n&&this.show();const o=et("100vh","height"),r=st(window),a=document.scrollingElement.scrollHeight-o;let l=this.position;this.overflowFlip&&t>o&&(l=l==="top"?"bottom":"top");const h=this.isFixed?this.placeholder:this.$el;let u=et(this.offset,"height",s?this.$el:h);l==="bottom"&&(t<r||this.overflowFlip)&&(u+=r-t);const f=this.overflowFlip?0:Math.max(0,t+u-o),d=I(h).top,m=I(this.$el).height,b=(this.start===!1?d:Bs(this.start,this.$el,d))-u,C=this.end===!1?a:Math.min(a,Bs(this.end,this.$el,d+t,!0)-m-u+f);return s=a&&!this.showOnUp&&b+u===d&&C===Math.min(a,Bs("!*",this.$el,0,!0)-m-u+f)&&c(_(this.$el),"overflowY")==="visible",{start:b,end:C,offset:u,overflow:f,topOffset:d,height:t,elHeight:m,width:e,margin:i,top:Rt(h)[0],sticky:s}},write({height:t,width:e,margin:i,offset:s,sticky:n}){if((this.inactive||n||!this.isFixed)&&Fo(this.$el),this.inactive)return;n&&(t=e=i=0,c(this.$el,{position:"sticky",top:s}));const{placeholder:o}=this;c(o,{height:t,width:e,margin:i}),N(o,document)||(o.hidden=!0),(n?ai:li)(this.$el,o)},events:["resize"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:s=0,start:n,end:o}){const r=document.scrollingElement.scrollTop;return{dir:t<=r?"down":"up",prevDir:e,scroll:r,prevScroll:t,offsetParentTop:I((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:tt(s+tt(r,n,o)-tt(t,n,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:h,topOffset:u,height:f}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const d=Date.now();if((d-s>300||n!==o)&&(t.initScroll=r,t.initTimestamp=d),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<h||this.showOnUp&&(r<=h||n==="down"&&i||n==="up"&&!this.isFixed&&r<=u+f)){if(!this.isFixed){At.inProgress(this.$el)&&l>r&&(At.cancel(this.$el),this.hide());return}if(this.animation&&r>u){if(S(this.$el,"bdt-animation-leave"))return;At.out(this.$el,this.animation).then(()=>this.hide(),P)}else this.hide()}else this.isFixed?this.update():this.animation&&r>u?(this.show(),At.in(this.$el,this.animation).catch(P)):(zo(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),M(this.$el,this.clsFixed,this.clsBelow),e?c(this.$el,"top",t):c(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:s=0,start:n,end:o,offset:r,topOffset:a,height:l,elHeight:h,offsetParentTop:u,sticky:f}=this._data;const d=n!==0||e>n;if(!f){let m="fixed";e>o&&(r+=o-u,m="absolute"),c(this.$el,{position:m,width:t,marginTop:0},"important")}i&&(r-=s),c(this.$el,"top",r),this.setActive(d),q(this.$el,this.clsBelow,e>a+(f?Math.min(l,h):l)),$(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(si(this.selTarget,this.clsInactive,this.clsActive),e!==t&&v(this.$el,"active")):(si(this.selTarget,this.clsActive,this.clsInactive),e!==t&&v(this.$el,"inactive"))}}};function Bs(t,e,i,s){if(!t)return 0;if($t(t)||B(t)&&t.match(/^-?\d/))return i+et(t,"height",e,!0);{const n=t===!0?_(e):ot(t,e);return I(n).bottom-(s&&n&&N(e,n)?k(c(n,"paddingBottom")):0)}}function No(t){return t==="true"?!0:t==="false"?!1:t}function Fo(t){c(t,{position:"",top:"",marginTop:"",width:""})}function zo(t){c(t,"transition","0s"),requestAnimationFrame(()=>c(t,"transition",""))}var Zh={mixins:[Po],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[ps({async handler(){const t=await this.svg;t&&Ho.call(this,t)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){g(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const t=await this.svg;t&&(Ho.call(this,t),this.strokeAnimation&&ic(t))},methods:{async getSvg(){return V(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>R(this.$el,"load",()=>t(this.getSvg()))):tc(await Qh(this.src),this.icon)||Promise.reject("SVG not found.")}}};function Ho(t){const{$el:e}=this;$(t,p(e,"class"),"bdt-svg");for(let i=0;i<e.style.length;i++){const s=e.style[i];c(t,s,c(e,s))}for(const i in this.attributes){const[s,n]=this.attributes[i].split(":",2);p(t,s,n)}this.$el.id||Te(t,"id")}const Qh=pt(async t=>t?lt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function tc(t,e){return e&&g(t,"<symbol")&&(t=ec(t)[e]||t),t=w(t.substr(t.indexOf("<svg"))),(t==null?void 0:t.hasChildNodes())&&t}const Lo=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,ec=pt(function(t){const e={};Lo.lastIndex=0;let i;for(;i=Lo.exec(t);)e[i[3]]=`<svg ${i[1]}svg>`;return e});function ic(t){const e=Jn(t);e&&c(t,"--bdt-animation-stroke",e)}const Ns=".bdt-disabled *, .bdt-disabled, [disabled]";var Wo={mixins:[Gt],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.bdt-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"bdt-active",attrItem:"bdt-switcher-item",selVertical:".bdt-nav",followFocus:!1,swiping:!0},computed:{connects({connect:t},e){return Oe(t,e)},connectChildren(){return this.connects.map(t=>D(t)).flat()},toggles({toggle:t},e){return F(t,e)},children(){return D(this.$el).filter(t=>this.toggles.some(e=>N(e,t)))}},watch:{connects(t){this.swiping&&c(t,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let t=Math.max(0,this.index());for(const e of this.connects)D(e).forEach((i,s)=>q(i,this.cls,s===t));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){p(this.$el,"role","tablist")},observe:[We({targets:({connectChildren:t})=>t}),wn({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate(){return this.toggle},handler(t){!O(t.current,Ns)&&(t.type==="click"||t.keyCode===E.SPACE)&&(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate(){return this.toggle},handler(t){const{current:e,keyCode:i}=t,s=O(this.$el,this.selVertical);let n=i===E.HOME?0:i===E.END?"last":i===E.LEFT&&!s||i===E.UP&&s?"previous":i===E.RIGHT&&!s||i===E.DOWN&&s?"next":-1;if(~n){t.preventDefault();const o=this.toggles.filter(a=>!O(a,Ns)),r=o[ht(n,o,o.indexOf(e))];r.focus(),this.followFocus&&this.show(r)}}},{name:"click",el(){return this.connects.concat(this.itemNav?Oe(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){U(t.target,"a,button")&&(t.preventDefault(),this.show(it(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(ee(t,"Left")?"next":"previous")}}],update(){var t;p(this.connects,"role","presentation"),p(D(this.$el),"role","presentation");for(const e in this.toggles){const i=this.toggles[e],s=(t=this.connects[0])==null?void 0:t.children[e];p(i,"role","tab"),s&&(i.id=Bt(this,i,`-tab-${e}`),s.id=Bt(this,s,`-tabpanel-${e}`),p(i,"aria-controls",s.id),p(s,{role:"tabpanel","aria-labelledby":i.id}))}p(this.$el,"aria-orientation",O(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return kt(this.children,t=>S(t,this.cls))},show(t){const e=this.toggles.filter(r=>!O(r,Ns)),i=this.index(),s=ht(!ti(t)||g(e,t)?t:0,e,ht(this.toggles[i],e)),n=ht(e[s],this.toggles);this.children.forEach((r,a)=>{q(r,this.cls,n===a),p(this.toggles[a],{"aria-selected":n===a,tabindex:n===a?null:-1})});const o=i>=0&&i!==s;this.connects.forEach(async({children:r})=>{const a=Pt(r).filter((l,h)=>h!==n&&S(l,this.cls));await this.toggleElement(a,!1,o),await this.toggleElement(r[n],!0,o)})}}},sc={mixins:[rt],extends:Wo,props:{media:Boolean},data:{media:960,attrItem:"bdt-tab-item",selVertical:".bdt-tab-left,.bdt-tab-right"},connected(){const t=S(this.$el,"bdt-tab-left")?"bdt-tab-left":S(this.$el,"bdt-tab-right")?"bdt-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const nc=32;var oc={mixins:[ki,Gt],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target({target:t},e){return t=Oe(t||e.hash,e),t.length&&t||[e]}},connected(){g(this.mode,"media")||(ni(this.$el)||p(this.$el,"tabindex","0"),!this.cls&&V(this.$el,"a")&&p(this.$el,"role","button"))},observe:We({target:({target:t})=>t}),events:[{name:vt,filter(){return g(this.mode,"hover")},handler(t){this._preventClick=null,!(!Ct(t)||se(this._showState)||this.$el.disabled)&&(v(this.$el,"focus"),R(document,vt,()=>v(this.$el,"blur"),!0,e=>!N(e.target,this.$el)),g(this.mode,"click")&&(this._preventClick=!0))}},{name:`mouseenter mouseleave ${Ut} ${Fe} focus blur`,filter(){return g(this.mode,"hover")},handler(t){if(Ct(t)||this.$el.disabled)return;const e=g(["mouseenter",Ut,"focus"],t.type),i=this.isToggled(this.target);if(!e&&(!se(this._showState)||t.type!=="blur"&&O(this.$el,":focus")||t.type==="blur"&&O(this.$el,":hover"))){i===this._showState&&(this._showState=null);return}e&&se(this._showState)&&i!==this._showState||(this._showState=e?i:null,this.toggle(`toggle${e?"show":"hide"}`))}},{name:"keydown",filter(){return g(this.mode,"click")&&!V(this.$el,"input")},handler(t){t.keyCode===nc&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>g(this.mode,t))},handler(t){let e;(this._preventClick||U(t.target,'a[href="#"], a[href=""]')||(e=U(t.target,"a[href]"))&&(!this.isToggled(this.target)||e.hash&&O(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&g(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return g(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!v(this.target,t||"toggle",[this]))return;if(xt(this.$el,"aria-expanded")&&p(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>S(s,this.clsLeave));if(e.length){for(const s of this.target){const n=g(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1)&&await this.toggleElement(this.target.filter(s=>!g(i,s)),!0)}}},rc=Object.freeze({__proto__:null,Accordion:xo,Alert:Sl,Close:mh,Cover:Tl,Drop:So,DropParentIcon:Kt,Dropdown:So,Dropnav:Co,FormCustom:Bl,Grid:Nl,HeightMatch:Ll,HeightViewport:Rl,Icon:Ms,Img:Ih,Leader:Oh,Margin:$n,Marker:vh,Modal:Ah,Nav:Dh,NavParentIcon:fh,Navbar:Bh,NavbarParentIcon:Kt,NavbarToggleIcon:gh,Offcanvas:Lh,OverflowAuto:Rh,OverlayIcon:Kt,PaginationNext:wh,PaginationPrevious:$h,Responsive:qh,Scroll:Uh,Scrollspy:Yh,ScrollspyNav:Xh,SearchIcon:dh,SlidenavNext:Oo,SlidenavPrevious:Oo,Spinner:ph,Sticky:Kh,Svg:Zh,Switcher:Wo,Tab:sc,Toggle:oc,Totop:bh,Video:yo});return Ot(rc,(t,e)=>dt.component(e,t)),bl(dt),Ot(vl,(t,e)=>dt.component(e,t)),dt});
