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