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