uikit 3.16.11-dev.85cdca725 → 3.16.11-dev.cc1aeb568
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +7 -491
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +7 -491
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +1 -1
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +155 -161
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +155 -161
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/computed.js +47 -6
- package/src/js/api/hooks.js +9 -8
- package/src/js/api/observer.js +14 -32
- package/src/js/api/update.js +6 -1
- package/src/js/api/watch.js +6 -22
- package/src/js/core/drop.js +1 -1
- package/src/js/core/dropnav.js +23 -35
- package/src/js/core/img.js +6 -5
- package/src/js/core/navbar.js +17 -21
- package/src/js/core/scrollspy.js +6 -5
- package/src/js/core/switcher.js +5 -9
- package/src/js/core/toggle.js +3 -7
- package/src/js/{util → mixin/internal}/scroll.js +1 -5
- package/src/js/mixin/modal.js +1 -1
- package/tests/drop.html +0 -1
- package/tests/dropnav.html +1 -1
- package/tests/icon.html +0 -2
- package/tests/modal.html +0 -1
- package/tests/nav.html +0 -1
- package/tests/navbar.html +0 -1
- package/tests/progress.html +0 -1
- package/tests/scroll.html +0 -1
- package/tests/sticky-navbar.html +6 -6
package/dist/js/uikit.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(me,ve){typeof exports=="object"&&typeof module<"u"?module.exports=ve():typeof define=="function"&&define.amd?define("uikit",ve):(me=typeof globalThis<"u"?globalThis:me||self,me.UIkit=ve())})(this,function(){"use strict";const{hasOwnProperty:me,toString:ve}=Object.prototype;function Ot(t,e){return me.call(t,e)}const No=/\B([A-Z])/g,Kt=pt(t=>t.replace(No,"-$1").toLowerCase()),zo=/-(\w)/g,we=pt(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(zo,(e,i)=>i.toUpperCase())),Tt=pt(t=>t.charAt(0).toUpperCase()+t.slice(1));function ot(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}function Zt(t,e){var i;return(i=t==null?void 0:t.endsWith)==null?void 0:i.call(t,e)}function g(t,e){var i;return(i=t==null?void 0:t.includes)==null?void 0:i.call(t,e)}function $t(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:Z,from:Ai}=Array,{assign:xt}=Object;function it(t){return typeof t=="function"}function Et(t){return t!==null&&typeof t=="object"}function yt(t){return ve.call(t)==="[object Object]"}function Qt(t){return Et(t)&&t===t.window}function je(t){return Oi(t)===9}function qe(t){return Oi(t)>=1}function te(t){return Oi(t)===1}function Oi(t){return!Qt(t)&&Et(t)&&t.nodeType}function Bi(t){return typeof t=="boolean"}function O(t){return typeof t=="string"}function ee(t){return typeof t=="number"}function wt(t){return ee(t)||O(t)&&!isNaN(t-parseFloat(t))}function be(t){return!(Z(t)?t.length:Et(t)&&Object.keys(t).length)}function V(t){return t===void 0}function Mi(t){return Bi(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function kt(t){const e=Number(t);return isNaN(e)?!1:e}function $(t){return parseFloat(t)||0}function H(t){return k(t)[0]}function k(t){return qe(t)?[t]:Array.from(t||[]).filter(qe)}function ie(t){if(Qt(t))return t;t=H(t);const e=je(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Ue(t,e){return t===e||Et(t)&&Et(e)&&Object.keys(t).length===Object.keys(e).length&&St(t,(i,s)=>i===e[s])}function Di(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),s=>s===e?i:e)}function se(t){return t[t.length-1]}function St(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Ve(t,e){return t.slice().sort(({[e]:i=0},{[e]:s=0})=>i>s?1:s>i?-1:0)}function Bt(t,e){return t.reduce((i,s)=>i+$(it(e)?e(s):s[e]),0)}function As(t,e){const i=new Set;return t.filter(({[e]:s})=>i.has(s)?!1:i.add(s))}function Ni(t,e){return e.reduce((i,s)=>({...i,[s]:t[s]}),{})}function Q(t,e=0,i=1){return Math.min(Math.max(kt(t)||0,e),i)}function S(){}function zi(...t){return[["bottom","top"],["right","left"]].every(([e,i])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[i]:s})=>s))>0)}function Ye(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Fi(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function Os(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Fi(t,i,e[i]):t;return t}function Fo(t,e){t=Os(t,e);for(const i in t)t=t[i]<e[i]?Fi(t,i,e[i]):t;return t}const Ge={ratio:Fi,contain:Os,cover:Fo};function dt(t,e,i=0,s=!1){e=k(e);const{length:n}=e;return n?(t=wt(t)?kt(t):t==="next"?i+1:t==="previous"?i-1:t==="last"?n-1:e.indexOf(H(t)),s?Q(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function pt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Xe{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function p(t,e,i){var s;if(Et(e)){for(const n in e)p(t,n,e[n]);return}if(V(i))return(s=H(t))==null?void 0:s.getAttribute(e);for(const n of k(t))it(i)&&(i=i.call(n,p(n,e))),i===null?$e(n,e):n.setAttribute(e,i)}function bt(t,e){return k(t).some(i=>i.hasAttribute(e))}function $e(t,e){k(t).forEach(i=>i.removeAttribute(e))}function tt(t,e){for(const i of[e,`data-${e}`])if(bt(t,i))return p(t,i)}const Ho={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 Hi(t){return k(t).some(e=>Ho[e.tagName.toLowerCase()])}function j(t){return k(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const xe="input,select,textarea,button";function Li(t){return k(t).some(e=>E(e,xe))}const ye=`${xe},a[href],[tabindex]`;function Je(t){return E(t,ye)}function A(t){var e;return(e=H(t))==null?void 0:e.parentElement}function ke(t,e){return k(t).filter(i=>E(i,e))}function E(t,e){return k(t).some(i=>i.matches(e))}function Y(t,e){return te(t)?t.closest(ot(e,">")?e.slice(1):e):k(t).map(i=>Y(i,e)).filter(Boolean)}function B(t,e){return O(e)?!!Y(t,e):H(e).contains(H(t))}function ne(t,e){const i=[];for(;t=A(t);)(!e||E(t,e))&&i.push(t);return i}function P(t,e){t=H(t);const i=t?k(t.children):[];return e?ke(i,e):i}function oe(t,e){return e?k(t).indexOf(H(e)):P(A(t)).indexOf(t)}function re(t){return t=H(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function Wi(t){if(re(t)){t=H(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function rt(t,e){return Ri(t,Ms(t,e))}function Se(t,e){return Ie(t,Ms(t,e))}function Ri(t,e){return H(Ds(t,H(e),"querySelector"))}function Ie(t,e){return k(Ds(t,H(e),"querySelectorAll"))}const Lo=/(^|[^\\],)\s*[!>+~-]/,Bs=pt(t=>t.match(Lo));function Ms(t,e=document){return O(t)&&Bs(t)||je(e)?e:e.ownerDocument}const Wo=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Ro=pt(t=>t.replace(Wo,"$1 *"));function Ds(t,e=document,i){if(!t||!O(t))return t;if(t=Ro(t),Bs(t)){const s=qo(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=Y(A(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=E(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=`${t?",":""}${Uo(o)} ${n}`)}e=document}try{return e[i](t)}catch{return null}}const jo=/.*?[^\\](?:,|$)/g,qo=pt(t=>t.match(jo).map(e=>e.replace(/,$/,"").trim()));function Uo(t){const e=[];for(;t.parentNode;){const i=p(t,"id");if(i){e.unshift(`#${ji(i)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${oe(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function ji(t){return O(t)?CSS.escape(t):""}function x(...t){let[e,i,s,n,o=!1]=qi(t);n.length>1&&(n=Yo(n)),o!=null&&o.self&&(n=Go(n)),s&&(n=Vo(s,n));for(const r of i)for(const a of e)a.addEventListener(r,n,o);return()=>Mt(e,i,n,o)}function Mt(...t){let[e,i,,s,n=!1]=qi(t);for(const o of i)for(const r of e)r.removeEventListener(o,s,n)}function R(...t){const[e,i,s,n,o=!1,r]=qi(t),a=x(e,i,s,l=>{const c=!r||r(l);c&&(a(),n(l,c))},o);return a}function m(t,e,i){return Ui(t).every(s=>s.dispatchEvent(Dt(e,!0,!0,i)))}function Dt(t,e=!0,i=!1,s){return O(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function qi(t){return t[0]=Ui(t[0]),O(t[1])&&(t[1]=t[1].split(" ")),it(t[2])&&t.splice(2,0,!1),t}function Vo(t,e){return i=>{const s=t[0]===">"?Ie(t,i.currentTarget).reverse().filter(n=>B(i.target,n))[0]:Y(i.target,t);s&&(i.current=s,e.call(this,i),delete i.current)}}function Yo(t){return e=>Z(e.detail)?t(e,...e.detail):t(e)}function Go(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Ns(t){return t&&"addEventListener"in t}function Xo(t){return Ns(t)?t:H(t)}function Ui(t){return Z(t)?t.map(Xo).filter(Boolean):O(t)?Ie(t):Ns(t)?[t]:k(t)}function It(t){return t.pointerType==="touch"||!!t.touches}function ae(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}const Jo={"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 h(t,e,i,s){const n=k(t);for(const o of n)if(O(e)){if(e=Vi(e),V(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,wt(i)&&!Jo[e]?`${i}px`:i||ee(i)?i:"",s)}else if(Z(e)){const r={};for(const a of e)r[a]=h(o,a);return r}else Et(e)&&(s=i,St(e,(r,a)=>h(o,a,r,s)));return n[0]}const Vi=pt(t=>Ko(t));function Ko(t){if(ot(t,"--"))return t;t=Kt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s=`-${i}-${t}`;if(s in e)return s}}function y(t,...e){zs(t,e,"add")}function N(t,...e){zs(t,e,"remove")}function Yi(t,e){p(t,"class",i=>(i||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function Gi(t,...e){e[0]&&N(t,e[0]),e[1]&&y(t,e[1])}function M(t,e){return[e]=Xi(e),!!e&&k(t).some(i=>i.classList.contains(e))}function q(t,e,i){const s=Xi(e);V(i)||(i=!!i);for(const n of k(t))for(const o of s)n.classList.toggle(o,i)}function zs(t,e,i){e=e.reduce((s,n)=>s.concat(Xi(n)),[]);for(const s of k(t))s.classList[i](...e)}function Xi(t){return String(t).split(/[ ,]/).filter(Boolean)}function Zo(t,e,i=400,s="linear"){return i=Math.round(i),Promise.all(k(t).map(n=>new Promise((o,r)=>{for(const l in e){const c=h(n,l);c===""&&h(n,l,c)}const a=setTimeout(()=>m(n,"transitionend"),i);R(n,"transitionend transitioncanceled",({type:l})=>{clearTimeout(a),N(n,"uk-transition"),h(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),l==="transitioncanceled"?r():o(n)},{self:!0}),y(n,"uk-transition"),h(n,{transitionProperty:Object.keys(e).map(Vi).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:s,...e})})))}const I={start:Zo,async stop(t){m(t,"transitionend"),await Promise.resolve()},async cancel(t){m(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return M(t,"uk-transition")}},Ce="uk-animation-";function Fs(t,e,i=200,s,n){return Promise.all(k(t).map(o=>new Promise((r,a)=>{m(o,"animationcanceled");const l=setTimeout(()=>m(o,"animationend"),i);R(o,"animationend animationcanceled",({type:c})=>{clearTimeout(l),c==="animationcanceled"?a():r(o),h(o,"animationDuration",""),Yi(o,`${Ce}\\S*`)},{self:!0}),h(o,"animationDuration",`${i}ms`),y(o,e,Ce+(n?"leave":"enter")),ot(e,Ce)&&(s&&y(o,`uk-transform-origin-${s}`),n&&y(o,`${Ce}reverse`))})))}const Qo=new RegExp(`${Ce}(enter|leave)`),gt={in:Fs,out(t,e,i,s){return Fs(t,e,i,s,!0)},inProgress(t){return Qo.test(p(t,"class"))},cancel(t){m(t,"animationcanceled")}};function tr(t){if(document.readyState!=="loading"){t();return}R(document,"DOMContentLoaded",t)}function G(t,...e){return e.some(i=>{var s;return((s=t==null?void 0:t.tagName)==null?void 0:s.toLowerCase())===i.toLowerCase()})}function Ji(t){return t=w(t),t.innerHTML="",t}function Nt(t,e){return V(e)?w(t).innerHTML:L(Ji(t),e)}const er=Qe("prepend"),L=Qe("append"),Ke=Qe("before"),Ze=Qe("after");function Qe(t){return function(e,i){var s;const n=k(O(i)?zt(i):i);return(s=w(e))==null||s[t](...n),Hs(n)}}function at(t){k(t).forEach(e=>e.remove())}function ti(t,e){for(e=H(Ke(t,e));e.firstChild;)e=e.firstChild;return L(e,t),e}function Ki(t,e){return k(k(t).map(i=>i.hasChildNodes()?ti(k(i.childNodes),e):L(i,e)))}function Te(t){k(t).map(A).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const ir=/^\s*<(\w+|!)[^>]*>/,sr=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function zt(t){const e=sr.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return ir.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Hs(i.childNodes)}function Hs(t){return t.length>1?t:t[0]}function Ct(t,e){if(te(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;Ct(t,e),t=i}}function w(t,e){return Ls(t)?H(zt(t)):Ri(t,e)}function F(t,e){return Ls(t)?k(zt(t)):Ie(t,e)}function Ls(t){return O(t)&&ot(t.trim(),"<")}const Ft={width:["left","right"],height:["top","bottom"]};function b(t){const e=te(t)?H(t).getBoundingClientRect():{height:et(t),width:Ee(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 _(t,e){const i=b(t);if(t){const{scrollY:n,scrollX:o}=ie(t),r={height:n,width:o};for(const a in Ft)for(const l of Ft[a])i[l]+=r[a]}if(!e)return i;const s=h(t,"position");St(h(t,["left","top"]),(n,o)=>h(t,o,e[o]-i[o]+$(s==="absolute"&&n==="auto"?ei(t)[o]:n)))}function ei(t){let{top:e,left:i}=_(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=H(t);let r=o||n;for(;r&&(r===s||r===n)&&h(r,"position")==="static";)r=r.parentNode;if(te(r)){const a=_(r);e-=a.top+$(h(r,"borderTopWidth")),i-=a.left+$(h(r,"borderLeftWidth"))}return{top:e-$(h(t,"marginTop")),left:i-$(h(t,"marginLeft"))}}function Ht(t){t=H(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+$(h(t,"borderTopWidth")),e[1]+=t.offsetLeft+$(h(t,"borderLeftWidth")),h(t,"position")==="fixed"){const i=ie(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const et=Ws("height"),Ee=Ws("width");function Ws(t){const e=Tt(t);return(i,s)=>{if(V(s)){if(Qt(i))return i[`inner${e}`];if(je(i)){const n=i.documentElement;return Math.max(n[`offset${e}`],n[`scroll${e}`])}return i=H(i),s=h(i,t),s=s==="auto"?i[`offset${e}`]:$(s)||0,s-le(i,t)}else return h(i,t,!s&&s!==0?"":+s+le(i,t)+"px")}}function le(t,e,i="border-box"){return h(t,"boxSizing")===i?Bt(Ft[e].map(Tt),s=>$(h(t,`padding${s}`))+$(h(t,`border${s}Width`))):0}function ii(t){for(const e in Ft)for(const i in Ft[e])if(Ft[e][i]===t)return Ft[e][1-i];return t}function lt(t,e="width",i=window,s=!1){return O(t)?Bt(or(t),n=>{const o=ar(n);return o?lr(o==="vh"?hr():o==="vw"?Ee(ie(i)):s?i[`offset${Tt(e)}`]:b(i)[e],n):n}):$(t)}const nr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,or=pt(t=>t.toString().replace(/\s/g,"").match(nr)||[]),rr=/(?:v[hw]|%)$/,ar=pt(t=>(t.match(rr)||[])[0]);function lr(t,e){return t*$(e)/100}let Pe,he;function hr(){return Pe||(he||(he=w("<div>"),h(he,{height:"100vh",position:"fixed"}),x(window,"resize",()=>Pe=null)),L(document.body,he),Pe=he.clientHeight,at(he),Pe)}const Lt=typeof window<"u",X=Lt&&document.dir==="rtl",Wt=Lt&&"ontouchstart"in window,ce=Lt&&window.PointerEvent,mt=ce?"pointerdown":Wt?"touchstart":"mousedown",si=ce?"pointermove":Wt?"touchmove":"mousemove",Pt=ce?"pointerup":Wt?"touchend":"mouseup",Rt=ce?"pointerenter":Wt?"":"mouseenter",ue=ce?"pointerleave":Wt?"":"mouseleave",ni=ce?"pointercancel":"touchcancel",J={reads:[],writes:[],read(t){return this.reads.push(t),Qi(),t},write(t){return this.writes.push(t),Qi(),t},clear(t){js(this.reads,t),js(this.writes,t)},flush:Zi};function Zi(t){Rs(J.reads),Rs(J.writes.splice(0)),J.scheduled=!1,(J.reads.length||J.writes.length)&&Qi(t+1)}const cr=4;function Qi(t){J.scheduled||(J.scheduled=!0,t&&t<cr?Promise.resolve().then(()=>Zi(t)):requestAnimationFrame(()=>Zi(1)))}function Rs(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function js(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ts(){}ts.prototype={positions:[],init(){this.positions=[];let t;this.unbind=x(document,"mousemove",e=>t=ae(e)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:o}=e,[r]=this.positions,a=se(this.positions),l=[r,a];return Ye(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const d=ur(l,u);return d&&Ye(d,e)})}};function ur([{x:t,y:e},{x:i,y:s}],[{x:n,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-n)*(s-e);if(l===0)return!1;const c=((r-n)*(e-o)-(a-o)*(t-n))/l;return c<0?!1:{x:t+c*(i-t),y:e+c*(s-e)}}function es(t,e,i={},{intersecting:s=!0}={}){const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of k(t))n.observe(o);return n}const dr=Lt&&window.ResizeObserver;function oi(t,e,i={box:"border-box"}){return dr?Us(ResizeObserver,t,e,i):(fr(),_e.add(e),{observe:S,unobserve:S,disconnect(){_e.delete(e)}})}let _e;function fr(){if(_e)return;_e=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const i of _e)i()}};x(window,"load resize",e),x(document,"loadedmetadata load",e,!0)}function qs(t,e,i){return Us(MutationObserver,t,e,i)}function Us(t,e,i,s){const n=new t(i);for(const o of k(e))n.observe(o,s);return n}function Vs(t){if(ai(t)&&is(t,{func:"playVideo",method:"play"}),ri(t))try{t.play().catch(S)}catch{}}function Ys(t){ai(t)&&is(t,{func:"pauseVideo",method:"pause"}),ri(t)&&t.pause()}function Gs(t){ai(t)&&is(t,{func:"mute",method:"setVolume",value:0}),ri(t)&&(t.muted=!0)}function Xs(t){return ri(t)||ai(t)}function ri(t){return G(t,"video")}function ai(t){return G(t,"iframe")&&(Js(t)||Ks(t))}function Js(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Ks(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function is(t,e){await gr(t),Zs(t,e)}function Zs(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const ss="_ukPlayer";let pr=0;function gr(t){if(t[ss])return t[ss];const e=Js(t),i=Ks(t),s=++pr;let n;return t[ss]=new Promise(o=>{e&&R(t,"load",()=>{const r=()=>Zs(t,{event:"listening",id:s});n=setInterval(r,100),r()}),R(window,"message",o,!1,({data:r})=>{try{return r=JSON.parse(r),e&&(r==null?void 0:r.id)===s&&r.event==="onReady"||i&&Number(r==null?void 0:r.player_id)===s}catch{}}),t.src=`${t.src}${g(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(n))}function ns(t,e=0,i=0){return j(t)?zi(...jt(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=ht(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(_(t))):!1}function Qs(t,{offset:e=0}={}){const i=j(t)?vt(t,!1,["hidden"]):[];return i.reduce((r,a,l)=>{const{scrollTop:c,scrollHeight:u,offsetHeight:d}=a,f=ht(a),v=u-f.height,{height:C,top:z}=i[l-1]?ht(i[l-1]):_(t);let D=Math.ceil(z-f.top-e+c);return e>0&&d<C+e?D+=e:e=0,D>v?(e-=D-v,D=v):D<0&&(e-=D,D=0),()=>s(a,D-c).then(r)},()=>Promise.resolve())();function s(r,a){return new Promise(l=>{const c=r.scrollTop,u=n(Math.abs(a)),d=Date.now();(function f(){const v=o(Q((Date.now()-d)/u));r.scrollTop=c+a*v,v===1?l():requestAnimationFrame(f)})()})}function n(r){return 40*Math.pow(r,.375)}function o(r){return .5*(1-Math.cos(Math.PI*r))}}function os(t,e=0,i=0){if(!j(t))return 0;const[s]=vt(t,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=ht(s),a=n-r,l=Ht(t)[0]-Ht(s)[0],c=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return Q((o-c)/(u-c))}function vt(t,e=!1,i=[]){const s=tn(t);let n=ne(t).reverse();n=n.slice(n.indexOf(s)+1);const o=$t(n,r=>h(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>h(r,"overflow").split(" ").some(a=>g(["auto","scroll",...i],a))&&(!e||r.scrollHeight>ht(r).height))).reverse()}function jt(t){return vt(t,!1,["hidden","clip"])}function ht(t){const e=ie(t),{visualViewport:i,document:{documentElement:s}}=e;let n=t===tn(t)?e:t;if(Qt(n)&&i){let{height:r,width:a,scale:l,pageTop:c,pageLeft:u}=i;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:c,left:u,bottom:c+r,right:u+a}}let o=_(n);if(h(n,"display")==="inline")return o;for(let[r,a,l,c]of[["width","x","left","right"],["height","y","top","bottom"]])Qt(n)?n=s:o[l]+=$(h(n,`border-${l}-width`)),o[r]=o[a]=n[`client${Tt(r)}`],o[c]=o[r]+o[l];return o}function tn(t){return ie(t).document.scrollingElement}const ct=[["width","x","left","right"],["height","y","top","bottom"]];function en(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},Z(e)||(e=[e,e]),_(t,sn(t,e,i))}function sn(t,e,i){const s=nn(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[c,,u,d]]of Object.entries(ct)){const f=mr(t,e[l],o,n,l);if(li(s,f,l))continue;let v=0;if(r[l]==="flip"){const C=i.attach.target[l];if(C===d&&s[d]<=f[d]||C===u&&s[u]>=f[u])continue;v=wr(t,e,i,l)[u]-s[u];const z=vr(t,e[l],o,l);if(!li(rs(s,v,l),z,l)){if(li(s,z,l))continue;if(i.recursion)return!1;const D=br(t,e,i);if(D&&li(D,z,1-l))return D;continue}}else if(r[l]==="shift"){const C=_(e[l]),{offset:z}=i;v=Q(Q(s[u],f[u],f[d]-s[c]),C[u]-s[c]+z[l],C[d]-z[l])-s[u]}a=rs(a,v,l)}return a}function nn(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=_(t);for(const[r,[a,,l,c]]of Object.entries(ct)){const u=s.target[r]===s.element[r]?ht(e[r]):_(e[r]);o=rs(o,u[l]-o[l]+on(s.target[r],c,u[a])-on(s.element[r],c,o[a])+ +n[r],r)}return o}function rs(t,e,i){const[,s,n,o]=ct[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function on(t,e,i){return t==="center"?i/2:t===e?i:0}function mr(t,e,i,s,n){let o=an(...rn(t,e).map(ht));return i&&(o[ct[n][2]]+=i,o[ct[n][3]]-=i),s&&(o=an(o,_(Z(s)?s[n]:s))),o}function vr(t,e,i,s){const[n,o,r,a]=ct[s],[l]=rn(t,e),c=ht(l);return["auto","scroll"].includes(h(l,`overflow-${o}`))&&(c[r]-=l[`scroll${Tt(r)}`],c[a]=c[r]+l[`scroll${Tt(n)}`]),c[r]+=i,c[a]-=i,c}function rn(t,e){return jt(e).filter(i=>B(t,i))}function an(...t){let e={};for(const i of t)for(const[,,s,n]of ct)e[s]=Math.max(e[s]||0,i[s]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function li(t,e,i){const[,,s,n]=ct[i];return t[s]>=e[s]&&t[n]<=e[n]}function wr(t,e,{offset:i,attach:s},n){return nn(t,e,{attach:{element:ln(s.element,n),target:ln(s.target,n)},offset:$r(i,n)})}function br(t,e,i){return sn(t,e,{...i,attach:{element:i.attach.element.map(hn).reverse(),target:i.attach.target.map(hn).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function ln(t,e){const i=[...t],s=ct[e].indexOf(t[e]);return~s&&(i[e]=ct[e][1-s%2+2]),i}function hn(t){for(let e=0;e<ct.length;e++){const i=ct[e].indexOf(t);if(~i)return ct[1-e][i%2+2]}}function $r(t,e){return t=[...t],t[e]*=-1,t}var xr=Object.freeze({__proto__:null,$:w,$$:F,Animation:gt,Deferred:Xe,Dimensions:Ge,MouseTracker:ts,Transition:I,addClass:y,after:Ze,append:L,apply:Ct,assign:xt,attr:p,before:Ke,boxModelAdjust:le,camelize:we,children:P,clamp:Q,closest:Y,createEvent:Dt,css:h,data:tt,dimensions:b,each:St,empty:Ji,endsWith:Zt,escape:ji,fastdom:J,filter:ke,find:Ri,findAll:Ie,findIndex:$t,flipPosition:ii,fragment:zt,getEventPos:ae,getIndex:dt,getTargetedElement:Wi,hasAttr:bt,hasClass:M,hasOwn:Ot,hasTouch:Wt,height:et,html:Nt,hyphenate:Kt,inBrowser:Lt,includes:g,index:oe,intersectRect:zi,isArray:Z,isBoolean:Bi,isDocument:je,isElement:te,isEmpty:be,isEqual:Ue,isFocusable:Je,isFunction:it,isInView:ns,isInput:Li,isNode:qe,isNumber:ee,isNumeric:wt,isObject:Et,isPlainObject:yt,isRtl:X,isSameSiteAnchor:re,isString:O,isTag:G,isTouch:It,isUndefined:V,isVideo:Xs,isVisible:j,isVoidElement:Hi,isWindow:Qt,last:se,matches:E,memoize:pt,mute:Gs,noop:S,observeIntersection:es,observeMutation:qs,observeResize:oi,off:Mt,offset:_,offsetPosition:Ht,offsetViewport:ht,on:x,once:R,overflowParents:jt,parent:A,parents:ne,pause:Ys,pick:Ni,play:Vs,pointInRect:Ye,pointerCancel:ni,pointerDown:mt,pointerEnter:Rt,pointerLeave:ue,pointerMove:si,pointerUp:Pt,position:ei,positionAt:en,prepend:er,propName:Vi,query:rt,queryAll:Se,ready:tr,remove:at,removeAttr:$e,removeClass:N,removeClasses:Yi,replaceClass:Gi,scrollIntoView:Qs,scrollParents:vt,scrolledOver:os,selFocusable:ye,selInput:xe,sortBy:Ve,startsWith:ot,sumBy:Bt,swap:Di,toArray:Ai,toBoolean:Mi,toEventTargets:Ui,toFloat:$,toNode:H,toNodes:k,toNumber:kt,toPx:lt,toWindow:ie,toggleClass:q,trigger:m,ucfirst:Tt,uniqueBy:As,unwrap:Te,width:Ee,within:B,wrapAll:ti,wrapInner:Ki});function yr(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)cn(t,i,e[i])}function kr(t){const e={...t._computed};return t._computed={},e}function cn(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return Ot(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,V(n[e])&&delete n[e]}})}function Sr(t){t._updates=[...t.$options.update||[]]}function Ir(t,e){t._updates.unshift(e)}function as(t,e="update"){t._connected&&t.$options.update&&(t._queued||(t._queued=new Set,J.read(()=>{t._connected&&Cr(t,t._queued),delete t._queued})),t._queued.add(e.type||e))}function Cr(t,e){for(const{read:i,write:s,events:n=[]}of t._updates){if(!e.has("update")&&!n.some(r=>e.has(r)))continue;let o;i&&(o=i.call(t,t._data,e),o&&yt(o)&&xt(t._data,o)),s&&o!==!1&&J.write(()=>{t._connected&&s.call(t,t._data,e)})}}function Tr(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,s]of Object.entries(e))un(t,s,i);t._initial=!0,Ir(t,{read:()=>dn(t),events:["resize"]})}function un(t,e,i){t._watches.push({name:i,...yt(e)?e:{handler:e}}),e.document&&(t._observeTarget=t.$options.el.ownerDocumentocument)}function dn(t){t._connected&&(Er(t,t._initial),t._initial=!1)}function Er(t,e){const i=kr(t);for(const{name:s,handler:n,immediate:o=!0}of t._watches)(e&&o||Ot(i,s)&&!Ue(i[s],t[s]))&&n.call(t,t[s],e?void 0:i[s])}function Pr(t){t._events=[];for(const e of t.$options.events||[])if(Ot(e,"handler"))ls(t,e);else for(const i in e)ls(t,e[i],i)}function _r(t){t._events.forEach(e=>e()),delete t._events}function ls(t,e,i){let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:c,self:u}=yt(e)?e:{name:i,handler:e};if(n=it(n)?n.call(t,t):n||t.$el,Z(n)){n.forEach(d=>ls(t,{...e,el:d},i));return}!n||c&&!c.call(t)||t._events.push(x(n,s,l?O(l)?l:l.call(t,t):null,O(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Ar(t){t._observers=[];for(const e of t.$options.observe||[])if(Ot(e,"handler"))fn(t,e);else for(const i of e)fn(t,i)}function hi(t,...e){t._observers.push(...e)}function Or(t){for(const e of t._observers)e.disconnect()}function fn(t,e){let{observe:i,target:s=t.$el,handler:n,options:o,filter:r,args:a}=e;if(r&&!r.call(t,t))return;const l=`_observe${t._observers.length}`;it(s)&&!(l in t)&&cn(t,l,()=>s.call(t,t)),n=O(n)?t[n]:n.bind(t),it(o)&&(o=o.call(t,t));const c=i(l in t?t[l]:s,n,o,a);it(s)&&Z(t[l])&&c.unobserve&&un(t,{handler(u,d){for(const f of d)!g(u,f)&&c.unobserve(f);for(const f of u)!g(d,f)&&c.observe(f)},immediate:!1},l),hi(t,c)}function Br(t){let{el:e,computed:i}=t.$options;if(!i&&!t._watches)return;const s=new MutationObserver(()=>dn(t));s.observe(t._observeTarget||e,{childList:!0,subtree:!0}),hi(t,s)}const U={};U.events=U.watch=U.observe=U.created=U.beforeConnect=U.connected=U.beforeDisconnect=U.disconnected=U.destroy=hs,U.args=function(t,e){return e!==!1&&hs(e||t)},U.update=function(t,e){return Ve(hs(t,it(e)?{read:e}:e),"order")},U.props=function(t,e){if(Z(e)){const i={};for(const s of e)i[s]=String;e=i}return U.methods(t,e)},U.computed=U.methods=function(t,e){return e?t?{...t,...e}:e:t},U.i18n=U.data=function(t,e,i){return i?pn(t,e,i):e?t?function(s){return pn(t,e,s)}:e:t};function pn(t,e,i){return U.computed(it(t)?t.call(i,i):t,it(e)?e.call(i,i):e)}function hs(t,e){return t=t&&!Z(t)?[t]:t,e?t?t.concat(e):Z(e)?e:[e]:t}function Mr(t,e){return V(e)?t:e}function Ae(t,e,i){const s={};if(it(e)&&(e=e.options),e.extends&&(t=Ae(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=Ae(t,o,i);for(const o in t)n(o);for(const o in e)Ot(t,o)||n(o);function n(o){s[o]=(U[o]||Mr)(t[o],e[o],i)}return s}function Oe(t,e=[]){try{return t?ot(t,"{")?JSON.parse(t):e.length&&!g(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!V(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function cs(t,e){return t===Boolean?Mi(e):t===Number?kt(e):t==="list"?Dr(e):t===Object&&O(e)?Oe(e):t?t(e):e}function Dr(t){return Z(t)?t:O(t)?t.split(/,(?![^(]*\))/).map(e=>wt(e)?kt(e):Mi(e.trim())):[t]}function Nr(t){const e=gn(t.$options);for(let s in e)V(e[s])||(t.$props[s]=e[s]);const i=[t.$options.computed,t.$options.methods];for(let s in t.$props)s in e&&zr(i,s)&&(t[s]=t.$props[s])}function gn(t){const e={},{args:i=[],props:s={},el:n,id:o}=t;if(!s)return e;for(const a in s){const l=Kt(a);let c=tt(n,l);V(c)||(c=s[a]===Boolean&&c===""?!0:cs(s[a],c),!(l==="target"&&ot(c,"_"))&&(e[a]=c))}const r=Oe(tt(n,o),i);for(const a in r){const l=we(a);V(s[l])||(e[l]=cs(s[l],r[a]))}return e}function zr(t,e){return t.every(i=>!i||!Ot(i,e))}function Fr(t){const{$options:e,$props:i}=t,{id:s,attrs:n,props:o,el:r}=e;if(!o||n===!1)return;const a=Z(n)?n:Object.keys(o),l=a.map(u=>Kt(u)).concat(s),c=new MutationObserver(u=>{const d=gn(e);u.some(({attributeName:f})=>{const v=f.replace("data-","");return(v===s?a:[we(v),we(f)]).some(C=>!V(d[C])&&d[C]!==i[C])})&&t.$reset()});c.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>`data-${u}`))}),hi(t,c)}function de(t,e){var i;(i=t.$options[e])==null||i.forEach(s=>s.call(t))}function us(t){t._connected||(t._data={},t._computed={},Nr(t),de(t,"beforeConnect"),t._connected=!0,Pr(t),Sr(t),Tr(t),Ar(t),Fr(t),Br(t),de(t,"connected"),as(t))}function ds(t){t._connected&&(de(t,"beforeDisconnect"),Or(t),_r(t),de(t,"disconnected"),t._connected=!1,delete t._watch)}let Hr=0;function mn(t,e={}){e.data=Rr(e,t.constructor.options),t.$options=Ae(t.constructor.options,e,t),t.$props={},t._uid=Hr++,Lr(t),Wr(t),yr(t),de(t,"created"),e.el&&t.$mount(e.el)}function Lr(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}function Wr(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}function Rr({data:t={}},{args:e=[],props:i={}}){Z(t)&&(t=t.slice(0,e.length).reduce((s,n,o)=>(yt(n)?xt(s,n):s[e[o]]=n,s),{}));for(const s in t)V(t[s])?delete t[s]:i[s]&&(t[s]=cs(i[s],t[s]));return t}const ut=function(t){mn(this,t)};ut.util=xr,ut.options={},ut.version="3.16.11-dev.85cdca725";const jr="uk-",qt="__uikit__",fe={};function vn(t,e){var i;const s=jr+Kt(t);if(!e)return yt(fe[s])&&(fe[s]=ut.extend(fe[s])),fe[s];t=we(t),ut[t]=(o,r)=>Be(t,o,r);const n=yt(e)?{...e}:e.options;return n.id=s,n.name=t,(i=n.install)==null||i.call(n,ut,n,t),ut._initialized&&!n.functional&&requestAnimationFrame(()=>Be(t,`[${s}],[data-${s}]`)),fe[s]=n}function Be(t,e,i,...s){const n=vn(t);return n.options.functional?new n({data:yt(e)?e:[e,i,...s]}):e?F(e).map(o)[0]:o();function o(r){const a=ci(r,t);if(a)if(i)a.$destroy();else return a;return new n({el:r,data:i})}}function Ut(t){return(t==null?void 0:t[qt])||{}}function ci(t,e){return Ut(t)[e]}function qr(t,e){t[qt]||(t[qt]={}),t[qt][e.$options.name]=e}function Ur(t,e){var i;(i=t[qt])==null||delete i[e.$options.name],be(t[qt])||delete t[qt]}function Vr(t){t.component=vn,t.getComponents=Ut,t.getComponent=ci,t.update=wn,t.use=function(i){if(!i.installed)return i.call(null,this),i.installed=!0,this},t.mixin=function(i,s){s=(O(s)?this.component(s):s)||this,s.options=Ae(s.options,i)},t.extend=function(i){i=i||{};const s=this,n=function(r){mn(this,r)};return n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.options=Ae(s.options,i),n.super=s,n.extend=s.extend,n};let e;Object.defineProperty(t,"container",{get(){return e||document.body},set(i){e=w(i)}})}function wn(t,e){t=t?H(t):document.body;for(const i of ne(t).reverse())bn(i,e);Ct(t,i=>bn(i,e))}function bn(t,e){const i=Ut(t);for(const s in i)as(i[s],e)}function Yr(t){t.prototype.$mount=function(e){const i=this;qr(e,i),i.$options.el=e,B(e,document)&&us(i)},t.prototype.$destroy=function(e=!1){const i=this,{el:s}=i.$options;s&&ds(i),de(i,"destroy"),Ur(s,i),e&&at(i.$el)},t.prototype.$create=Be,t.prototype.$emit=function(e){as(this,e)},t.prototype.$update=function(e=this.$el,i){wn(e,i)},t.prototype.$reset=function(){ds(this),us(this)},t.prototype.$getComponent=ci,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}function _t(t,e=t.$el,i=""){if(e.id)return e.id;let s=`${t.$options.id}-${t._uid}${i}`;return w(`#${s}`)&&(s=_t(t,e,`${i}-2`)),s}Vr(ut),Yr(ut);function Gr(t){Lt&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>$n(t)):new MutationObserver((e,i)=>{document.body&&($n(t),i.disconnect())}).observe(document.documentElement,{childList:!0}))}function $n(t){m(document,"uikit:init",t),document.body&&Ct(document.body,xn),new MutationObserver(e=>e.forEach(Xr)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(e=>e.forEach(Jr)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0}function Xr({addedNodes:t,removedNodes:e}){for(const i of t)Ct(i,xn);for(const i of e)Ct(i,Kr)}function Jr({target:t,attributeName:e}){var i;const s=yn(e);if(s){if(bt(t,e)){Be(s,t);return}(i=ci(t,s))==null||i.$destroy()}}function xn(t){const e=Ut(t);for(const i in Ut(t))us(e[i]);for(const i of t.getAttributeNames()){const s=yn(i);s&&Be(s,t)}}function Kr(t){const e=Ut(t);for(const i in Ut(t))ds(e[i])}function yn(t){ot(t,"data-")&&(t=t.slice(5));const e=fe[t];return e&&(yt(e)?e:e.options).name}var st={connected(){y(this.$el,this.$options.id)}},Vt={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:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>ot(t[0],e))}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all(k(t).map(n=>{const o=Bi(e)?e:!this.isToggled(n);if(!m(n,`before${o?"show":"hide"}`,[this]))return Promise.reject();const r=(it(i)?i:i===!1||!this.hasAnimation?Zr:this.hasTransition?Qr:ta)(n,o,this),a=o?this.clsEnter:this.clsLeave;y(n,a),m(n,o?"show":"hide",[this]);const l=()=>{N(n,a),m(n,o?"shown":"hidden",[this])};return r?r.then(l,()=>(N(n,a),Promise.reject())):l()})).then(s,S))},isToggled(t=this.$el){return[t]=k(t),M(t,this.clsEnter)?!0:M(t,this.clsLeave)?!1:this.cls?M(t,this.cls.split(" ")[0]):j(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=g(this.cls," ")||e!==M(t,this.cls),i&&q(t,this.cls,g(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),F("[autofocus]",t).some(s=>j(s)?s.focus()||!0:s.blur()),i&&m(t,"toggled",[e,this])}}};function Zr(t,e,{_toggle:i}){return gt.cancel(t),I.cancel(t),i(t,e)}async function Qr(t,e,{animation:i,duration:s,velocity:n,transition:o,_toggle:r}){var a;const[l="reveal",c="top"]=((a=i[0])==null?void 0:a.split("-"))||[],u=[["left","right"],["top","bottom"]],d=u[g(u[0],c)?0:1],f=d[1]===c,C=["width","height"][u.indexOf(d)],z=`margin-${d[0]}`,D=`margin-${c}`;let At=b(t)[C];const Ps=I.inProgress(t);await I.cancel(t),e&&r(t,!0);const Wh=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",z,D].map(Do=>[Do,t.style[Do]])),Re=b(t),_s=$(h(t,z)),Oo=$(h(t,D)),Jt=Re[C]+Oo;!Ps&&!e&&(At+=Oo);const[_i]=Ki(t,"<div>");h(_i,{boxSizing:"border-box",height:Re.height,width:Re.width,...h(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",D])}),h(t,{padding:0,border:0,minWidth:0,minHeight:0,[D]:0,width:Re.width,height:Re.height,overflow:"hidden",[C]:At});const Bo=At/Jt;s=(n*Jt+s)*(e?1-Bo:Bo);const Mo={[C]:e?Jt:0};f&&(h(t,z,Jt-At+_s),Mo[z]=e?_s:Jt+_s),!f^l==="reveal"&&(h(_i,z,-Jt+At),I.start(_i,{[z]:e?0:-Jt},s,o));try{await I.start(t,Mo,s,o)}finally{h(t,Wh),Te(_i.firstChild),e||r(t,!1)}}function ta(t,e,i){gt.cancel(t);const{animation:s,duration:n,_toggle:o}=i;return e?(o(t,!0),gt.in(t,s[0],n,i.origin)):gt.out(t,s[1]||s[0],n,i.origin).then(()=>o(t,!1))}const T={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function ft(t){return fi(oi,t,"resize")}function ui(t){return fi(es,t)}function ea(t){return fi(qs,t)}function Me(t={}){return ui({handler:function(e,i){const{targets:s=this.$el,preload:n=5}=t;for(const o of k(it(s)?s(this):s))F('[loading="lazy"]',o).slice(0,n-1).forEach(r=>$e(r,"loading"));for(const o of e.filter(({isIntersecting:r})=>r).map(({target:r})=>r))i.unobserve(o)},...t})}function di(t){return fi(function(e,i){return{disconnect:x(e,"scroll",i,{passive:!0,capture:!0})}},{target:()=>window,...t},"scroll")}function kn(t){return{observe(e,i){return{observe:S,unobserve:S,disconnect:x(e,mt,i,{passive:!0})}},handler(e){if(!It(e))return;const i=ae(e),s="tagName"in e.target?e.target:A(e.target);R(document,`${Pt} ${ni} scroll`,n=>{const{x:o,y:r}=ae(n);(n.type!=="scroll"&&s&&o&&Math.abs(i.x-o)>100||r&&Math.abs(i.y-r)>100)&&setTimeout(()=>{m(s,"swipe"),m(s,`swipe${ia(i.x,i.y,o,r)}`)})})},...t}}function fi(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}function ia(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}var Sn={mixins:[st,Vt],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:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items({targets:t},e){return F(t,e)},toggles({toggle:t}){return this.items.map(e=>w(t,e))},contents({content:t}){return this.items.map(e=>{var i;return((i=e._wrapper)==null?void 0:i.firstElementChild)||w(t,e)})}},watch:{items(t,e){if(e||M(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const i=M(this.items.find(s=>B(e,s)),this.clsOpen);pi(e,!i)}this.$emit()}},observe:Me(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;t.type==="keydown"&&t.keyCode!==T.SPACE||(t.preventDefault(),(e=this._off)==null||e.call(this),this._off=na(t.target),await this.toggle(oe(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=ke(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],s=this.contents[e];if(!i||!s)continue;i.id=_t(this,i,`-title-${e}`),s.id=_t(this,s,`-content-${e}`);const n=g(t,this.items[e]);p(i,{role:G(i,"a")?"button":null,"aria-controls":s.id,"aria-expanded":n,"aria-disabled":!this.collapsible&&t.length<2&&n}),p(s,{role:"region","aria-labelledby":i.id}),G(s,"ul")&&p(P(s),"role","presentation")}},methods:{async toggle(t,e){t=this.items[dt(t,this.items)];let i=[t];const s=ke(this.items,`.${this.clsOpen}`);!this.multiple&&!g(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&g(s,t))&&await Promise.all(i.map(n=>this.toggleElement(n,!g(s,n),(o,r)=>{if(q(o,this.clsOpen,r),e===!1||!this.animation){pi(w(this.content,o),!r);return}return sa(o,r,this)})))}}};function pi(t,e){t&&(t.hidden=e)}async function sa(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||w(i,t),t._wrapper||(t._wrapper=ti(i,"<div>"));const a=t._wrapper;h(a,"overflow","hidden");const l=$(h(a,"height"));await I.cancel(a),pi(i,!1);const c=Bt(["marginTop","marginBottom"],d=>h(i,d))+b(i).height,u=l/c;s=(n*c+s)*(e?1-u:u),h(a,"height",l),await I.start(a,{height:e?c:0},s,o),Te(i),delete t._wrapper,e||pi(i,!0)}function na(t){const[e]=vt(t,!0);let i;return function s(){i=requestAnimationFrame(()=>{const{top:n}=t.getBoundingClientRect();n<0&&(e.scrollTop+=n),s()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var oa={mixins:[st,Vt],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-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,ra),this.$destroy(!0)}}};function ra(t,e,{duration:i,transition:s,velocity:n}){const o=$(h(t,"height"));return h(t,"height",o),I.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+i,s)}var In={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!bt(this.$el,"preload")&&(this.$el.preload="none"),G(this.$el,"iframe")&&!bt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Gs(this.$el)},observe:ui({args:{intersecting:!1}}),update:{read({visible:t}){return Xs(this.$el)?{prev:t,visible:j(this.$el)&&h(this.$el,"visibility")!=="hidden",inView:this.inView&&ns(this.$el)}:!1},write({prev:t,visible:e,inView:i}){!e||this.inView&&!i?Ys(this.$el):(this.autoplay===!0&&!t||this.inView&&i)&&Vs(this.$el)}}},aa={mixins:[In],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:ft({target:({$el:t})=>[t,Cn(t)||A(t)]}),update:{read(){const{ratio:t,cover:e}=Ge,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!s||!n){const c={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};s?o=t(c,"width",s):n?o=t(c,"height",n):o=c}const{offsetHeight:r,offsetWidth:a}=Cn(i)||A(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write({height:t,width:e}){h(this.$el,{height:t,width:e})},events:["resize"]}};function Cn(t){for(;t=A(t);)if(h(t,"position")!=="static")return t}var Tn={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${X?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=g(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:ii(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in o)o[l].reverse();s.reverse(),n.reverse()}const r=la(t),a=b(t);h(t,{top:-a.height,left:-a.width}),en(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t){return lt(this.offset===!1?h(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(g(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:lt(h(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(g(["left","top"],this.align)?1:-1)},getViewportOffset(t){return lt(h(t,"--uk-position-viewport-offset"))}}};function la(t){const[e]=vt(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}var De={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&w(t)}}};let fs;function En(t){const e=x(t,"touchmove",s=>{if(s.targetTouches.length!==1||E(s.target,'input[type="range"'))return;let[{scrollHeight:n,clientHeight:o}]=vt(s.target);o>=n&&s.cancelable&&s.preventDefault()},{passive:!1});if(fs)return e;fs=!0;const{scrollingElement:i}=document;return h(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Ee(window)-i.clientWidth||""}),()=>{fs=!1,e(),h(i,{overflowY:"",touchAction:"",paddingRight:""})}}let K;var Pn={mixins:[De,Tn,Vt],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},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:["uk-animation-fade"],cls:"uk-open",container:!1},computed:{boundary({boundary:t,boundaryX:e,boundaryY:i},s){return[rt(e||t,s)||window,rt(i||t,s)||window]},target({target:t,targetX:e,targetY:i},s){return e=e||t||this.targetEl,i=i||t||this.targetEl,[e===!0?window:rt(e,s),i===!0?window:rt(i,s)]}},created(){this.tracker=new ts},beforeConnect(){this.clsDrop=this.$props.clsDrop||`uk-${this.$options.name}`},connected(){y(this.$el,"uk-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=ua(this)),this._style=Ni(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),K=null),h(this.$el,this._style)},observe:Me({target:({toggle:t,$el:e})=>rt(t,e),targets:({$el:t})=>t}),events:[{name:"click",delegate(){return".uk-drop-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&re(e)&&!B(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),E(this.$el,":focus,:hover")||this.hide()}},{name:`${Rt} focusin`,filter(){return g(this.mode,"hover")},handler(t){It(t)||this.clearTimers()}},{name:`${ue} focusout`,filter(){return g(this.mode,"hover")},handler(t){!It(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){p(this.targetEl,"aria-expanded",e?!0:null),e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){K=this,this.tracker.init();const t=[da(this),pa(this),ga(this),this.autoUpdate&&fa(this),!this.bgScroll&&En(this.$el)];R(this.$el,"hide",()=>t.forEach(e=>e&&e()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){if(this.$el!==t){K=K===null&&B(t,this.$el)&&this.isToggled()?this:K;return}K=this.isActive()?null:K,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!M(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(K){if(e&&K.isDelaying){this.showTimer=setTimeout(()=>E(t,":hover")&&this.show(),10);return}let i;for(;K&&i!==K&&!B(this.$el,K.$el);)i=K,K.hide(!1,!1)}this.container&&A(this.$el)!==this.container&&L(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=ha(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return K===this},position(){N(this.$el,"uk-drop-stack"),h(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(n=>ca(this.$el,n)),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,r]]of i)this.axis!==o&&g([o,!0],this.stretch)&&h(this.$el,{[r]:Math.min(_(this.boundary[n])[r],t[n][r]-2*e),[`overflow-${o}`]:"auto"});const s=t[0].width-2*e;this.$el.hidden=!1,h(this.$el,"maxWidth",""),this.$el.offsetWidth>s&&y(this.$el,"uk-drop-stack"),h(this.$el,"maxWidth",s),this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,r,a,l]]of i)if(this.axis===o&&g([o,!0],this.stretch)){const c=Math.abs(this.getPositionOffset(this.$el)),u=_(this.target[n]),d=_(this.$el);h(this.$el,{[r]:(u[a]>d[a]?u[a]-Math.max(_(this.boundary[n])[a],t[n][a]+e):Math.min(_(this.boundary[n])[l],t[n][l]-e)-u[l])-c,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function ha(t){const e=[];return Ct(t,i=>h(i,"position")!=="static"&&e.push(i)),e}function ca(t,e){return ht(jt(e).find(i=>B(t,i)))}function ua(t){const{$el:e}=t.$create("toggle",rt(t.toggle,t.$el),{target:t.$el,mode:t.mode});return p(e,"aria-haspopup",!0),e}function da(t){const e=()=>t.$emit(),i=x(window,"resize",e),s=oi(jt(t.$el).concat(t.target),e);return()=>{s.disconnect(),i()}}function fa(t){return x([document,...jt(t.$el)],"scroll",()=>t.$emit(),{passive:!0})}function pa(t){return x(document,"keydown",e=>{e.keyCode===T.ESC&&t.hide(!1)})}function ga(t){return x(document,mt,({target:e})=>{B(e,t.$el)||R(document,`${Pt} ${ni} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===Pt&&e===n&&!(t.targetEl&&B(e,t.targetEl))&&t.hide(!1)},!0)})}var _n={mixins:[st,De],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},data:{align:X?"right":"left",clsDrop:"uk-dropdown",clsDropbar:"uk-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor({dropbarAnchor:t},e){return rt(t,e)||e},dropbar({dropbar:t}){return t?(t=this._dropbar||rt(t,this.$el)||w(`+ .${this.clsDropbar}`,this.$el),t||(this._dropbar=w("<div></div>"))):null},dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){var i;const s=F(`.${t}`,e);if(this.dropContainer!==e)for(const n of F(`.${t}`,this.dropContainer)){const o=(i=this.getDropdown(n))==null?void 0:i.targetEl;!g(s,n)&&o&&B(o,this.$el)&&s.push(n)}return s},items({selNavItem:t},e){return F(t,e)}},watch:{dropbar:{handler(t){y(t,"uk-dropbar","uk-dropbar-top",this.clsDropbar,`uk-${this.$options.name}-dropbar`)},immediate:!0},dropdowns:{handler(t){this.$create("drop",t.filter(e=>!this.getDropdown(e)),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:this.boundary===!0?this.$el:this.boundary})},immediate:!0},items:{handler(t){p(t,"tabindex",-1),p(t[0],"tabindex",0)},immediate:!0}},disconnected(){at(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:t,type:e}){const i=this.getActive();if(i&&g(i.mode,"hover")&&i.targetEl&&!B(i.targetEl,t)&&!i.isDelaying&&i.hide(!1),e==="focusin")for(const s of this.items)p(s,"tabindex",t===s?0:-1)}},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,s=this.getActive();i===T.DOWN&&bt(e,"aria-expanded")&&(t.preventDefault(),!s||s.targetEl!==e?(e.click(),R(this.dropContainer,"show",({target:n})=>On(n))):On(s.$el)),An(t,this.items,s)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){var e;const{current:i,keyCode:s}=t;if(!g(this.dropdowns,i))return;const n=this.getActive();let o=-1;if(s===T.HOME?o=0:s===T.END?o="last":s===T.UP?o="previous":s===T.DOWN?o="next":s===T.ESC&&((e=n.targetEl)==null||e.focus()),~o){t.preventDefault();const r=F(ye,i);r[dt(o,r,$t(r,a=>E(a,":focus")))].focus()}An(t,this.items,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&g(t.mode,"hover")&&!this.dropdowns.some(e=>E(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&Ze(this.dropbarAnchor,this.dropbar),y(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const s=ne(t,`.${this.clsDrop}`).concat(t).map(a=>_(a)),n=Math.min(...s.map(({top:a})=>a)),o=Math.max(...s.map(({bottom:a})=>a)),r=_(this.dropbar);h(this.dropbar,"top",this.dropbar.offsetTop-(r.top-n)),this.transitionTo(o-n+$(h(t,"marginBottom")),t)};this._observer=oi([e.$el,...e.target],i),i()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();E(this.dropbar,":hover")&&e.$el===t.target&&!this.items.some(i=>e.targetEl!==i&&E(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){var e;if(!this.isDropbarDrop(t))return;(e=this._observer)==null||e.disconnect();const i=this.getActive();(!i||i.$el===t)&&this.transitionTo(0)}}],methods:{getActive(){var t;return g(this.dropdowns,(t=K)==null?void 0:t.$el)&&K},async transitionTo(t,e){const{dropbar:i}=this,s=et(i);e=s<t&&e,await I.cancel([e,i]),h(e,"clipPath",`polygon(0 0,100% 0,100% ${s}px,0 ${s}px)`),et(i,s),await Promise.all([I.start(i,{height:t},this.duration),I.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration).finally(()=>h(e,{clipPath:""}))]).catch(S)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&M(t,this.clsDrop)}}};function An(t,e,i){var s,n,o;const{current:r,keyCode:a}=t;let l=-1;a===T.HOME?l=0:a===T.END?l="last":a===T.LEFT?l="previous":a===T.RIGHT?l="next":a===T.TAB&&((s=i.targetEl)==null||s.focus(),(n=i.hide)==null||n.call(i,!1)),~l&&(t.preventDefault(),(o=i.hide)==null||o.call(i,!1),e[dt(l,e,e.indexOf(i.targetEl||r))].focus())}function On(t){var e;w(":focus",t)||(e=w(ye,t))==null||e.focus()}var ma={mixins:[st],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return w(xe,e)},state(){return this.input.nextElementSibling},target({target:t},e){return t&&(t===!0&&A(this.input)===e&&this.input.nextElementSibling||w(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Li(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:E(i,"select")&&(s=F("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return Y(this.$el,"form")},handler(){this.$emit()}}]},Bn={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},observe:[ea({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),ft({target:({$el:t})=>[t,...Ai(t.children)]})],update:{read(){const t=ps(this.$el.children);return{rows:t,columns:va(t)}},write({columns:t,rows:e}){for(const i of e)for(const s of i)q(s,this.margin,e[0]!==i),q(s,this.firstColumn,t[0].includes(s))},events:["resize"]}};function ps(t){return Mn(t,"top","bottom")}function va(t){const e=[];for(const i of t){const s=Mn(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return X?e.reverse():e}function Mn(t,e,i){const s=[[]];for(const n of t){if(!j(n))continue;let o=gi(n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=gi(a[0]):(o=gi(n,!0),l=gi(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function gi(t,e=!1){let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Ht(t)),{top:i,left:s,bottom:i+n,right:s+o}}var wa={extends:Bn,mixins:[st],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&y(this.$el,"uk-flex-top uk-flex-wrap-top")},observe:di({filter:({parallax:t})=>t}),update:[{write({columns:t}){q(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||Dn(this.$el))return t.translates=!1,!1;let s=!1;const n=P(this.$el),o=e.map(c=>Bt(c,"offsetHeight")),r=$a(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(c=>Ve(c,"offsetTop")),s=ba(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((c,u,d)=>Math.max(c,u+r+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write({height:t,padding:e}){h(this.$el,"paddingBottom",e||""),t!==!1&&h(this.$el,"height",t)},events:["resize"]},{read(){return this.parallax&&Dn(this.$el)?!1:{scrolled:this.parallax?os(this.$el)*Math.abs(this.parallax):!1}},write({columns:t,scrolled:e,translates:i}){e===!1&&!i||t.forEach((s,n)=>s.forEach((o,r)=>h(o,"transform",!e&&!i?"":`translateY(${(i&&-i[n][r])+(e?n%2?e:e/8:0)}px)`)))},events:["scroll","resize"]}]};function Dn(t){return P(t).some(e=>h(e,"position")==="absolute")}function ba(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function $a(t,e){const[i]=t.filter(s=>M(s,e));return $(i?h(i,"marginTop"):h(t[0],"paddingLeft"))}var xa={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements({target:t},e){return F(t,e)}},observe:ft({target:({$el:t,elements:e})=>[t,...e]}),update:{read(){return{rows:(this.row?ps(this.elements):[this.elements]).map(ya)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((s,n)=>h(s,"minHeight",e[n]))},events:["resize"]}};function ya(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(ka);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function ka(t){const e=Ni(t.style,["display","minHeight"]);j(t)||h(t,"display","block","important"),h(t,"minHeight","");const i=b(t).height-le(t,"height","content-box");return h(t,e),i}var Sa={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:ft({target:({$el:t})=>[t,...vt(t)]}),update:{read({minHeight:t}){if(!j(this.$el))return!1;let e="";const i=le(this.$el,"height","content-box"),{body:s,scrollingElement:n}=document,[o]=vt(this.$el),{height:r}=ht(o===s?n:o);if(this.expand)e=Math.max(r-(b(o).height-b(this.$el).height)-i,0);else{const a=n===o||s===o;if(e=`calc(${a?"100vh":`${r}px`}`,this.offsetTop)if(a){const l=Ht(this.$el)[0]-Ht(o)[0];e+=l>0&&l<r/2?` - ${l}px`:""}else e+=` - ${h(o,"paddingTop")}`;this.offsetBottom===!0?e+=` - ${b(this.$el.nextElementSibling).height}px`:wt(this.offsetBottom)?e+=` - ${this.offsetBottom}vh`:this.offsetBottom&&Zt(this.offsetBottom,"px")?e+=` - ${$(this.offsetBottom)}px`:O(this.offsetBottom)&&(e+=` - ${b(rt(this.offsetBottom,this.$el)).height}px`),e+=`${i?` - ${i}px`:""})`}return{minHeight:e,prev:t}},write({minHeight:t}){h(this.$el,{minHeight:t}),this.minHeight&&$(h(this.$el,"minHeight"))<this.minHeight&&h(this.$el,"minHeight",this.minHeight)},events:["resize"]}};function Nn(t){return Math.ceil(Math.max(0,...F("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}var zn={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,attributes:"list"},data:{ratio:1,include:["style","class"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&g(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=Ea(t,this.$el);return this.svgEl&&e!==this.svgEl&&at(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},S),this.strokeAnimation&&this.svg.then(t=>{this._connected&&t&&(Hn(t),hi(this,es(t,(e,i)=>{Hn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Hi(this.$el)&&(this.$el.hidden=!1),at(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return G(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>R(this.$el,"load",()=>t(this.getSvg()))):Ca(await Ia(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)g(this.include,o)&&o in this&&p(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);p(t,r,a)}this.id||$e(t,"id");const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>p(e,o)));const n=p(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>p(t,i[r],$(o)*this.ratio||null))}}};const Ia=pt(async t=>t?ot(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Ca(t,e){return e&&g(t,"<symbol")&&(t=Ta(t,e)||t),t=w(t.substr(t.indexOf("<svg"))),(t==null?void 0:t.hasChildNodes())&&t}const Fn=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,mi={};function Ta(t,e){if(!mi[t]){mi[t]={},Fn.lastIndex=0;let i;for(;i=Fn.exec(t);)mi[t][i[3]]=`<svg xmlns="http://www.w3.org/2000/svg"${i[1]}svg>`}return mi[t][e]}function Hn(t){const e=Nn(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function Ea(t,e){if(Hi(e)||G(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return Ln(t,s)?s:Ze(e,t)}const i=e.lastElementChild;return Ln(t,i)?i:L(e,t)}function Ln(t,e){return G(t,"svg")&&G(e,"svg")&&t.innerHTML===e.innerHTML}var gs={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,s,n;let o=0;return((n=((i=this.i18n)==null?void 0:i[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:n.replace(/%s/g,()=>e[o++]||""))||""}}},Pa='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><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>',_a='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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>',Aa='<svg xmlns="http://www.w3.org/2000/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>',Oa='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',Ba='<svg xmlns="http://www.w3.org/2000/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>',Ma='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',Da='<svg xmlns="http://www.w3.org/2000/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>',Na='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><style>.uk-navbar-toggle-animate svg>[class*=line-]{transition:.2s ease-in-out;transition-property:transform,opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg>.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1,.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.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>',za='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',Fa='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',Ha='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',La='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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>',Wa='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><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>',Ra='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><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>',ja='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',qa='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',Ua='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',Va='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>',Ya='<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',Ga='<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>';const vi={spinner:Ya,totop:Ga,marker:Oa,"close-icon":Pa,"close-large":_a,"drop-parent-icon":Aa,"nav-parent-icon":Ba,"nav-parent-icon-large":Ma,"navbar-parent-icon":Da,"navbar-toggle-icon":Na,"overlay-icon":za,"pagination-next":Fa,"pagination-previous":Ha,"search-icon":La,"search-large":Wa,"search-navbar":Ra,"slidenav-next":ja,"slidenav-next-large":qa,"slidenav-previous":Ua,"slidenav-previous-large":Va},ms={install:nl,extends:zn,args:"icon",props:["icon"],data:{include:[]},isIcon:!0,beforeConnect(){y(this.$el,"uk-icon")},methods:{async getSvg(){const t=ol(this.icon);if(!t)throw"Icon not found.";return t}}},Yt={args:!1,extends:ms,data:t=>({icon:Kt(t.constructor.options.name)}),beforeConnect(){y(this.$el,this.$options.id)}},Xa={extends:Yt,beforeConnect(){const t=this.$props.icon;this.icon=Y(this.$el,".uk-nav-primary")?`${t}-large`:t}},Ja={extends:Yt,beforeConnect(){this.icon=M(this.$el,"uk-search-icon")&&ne(this.$el,".uk-search-large").length?"search-large":ne(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},Ka={extends:Yt,beforeConnect(){p(this.$el,"role","status")},methods:{async getSvg(){const t=await ms.methods.getSvg.call(this);return this.ratio!==1&&h(w("circle",t),"strokeWidth",1/this.ratio),t}}},Gt={extends:Yt,mixins:[gs],beforeConnect(){const t=Y(this.$el,"a,button");p(t,"role",this.role!==null&&G(t,"a")?"button":this.role);const e=this.t("label");e&&!bt(t,"aria-label")&&p(t,"aria-label",e)}},Wn={extends:Gt,beforeConnect(){y(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=M(this.$el,"uk-slidenav-large")?`${t}-large`:t}},Za={extends:Gt,i18n:{label:"Open menu"}},Qa={extends:Gt,i18n:{label:"Close"},beforeConnect(){this.icon=`close-${M(this.$el,"uk-close-large")?"large":"icon"}`}},tl={extends:Gt,i18n:{label:"Open"}},el={extends:Gt,i18n:{label:"Back to top"}},il={extends:Gt,i18n:{label:"Next page"},data:{role:null}},sl={extends:Gt,i18n:{label:"Previous page"},data:{role:null}},wi={};function nl(t){t.icon.add=(e,i)=>{const s=O(e)?{[e]:i}:e;St(s,(n,o)=>{vi[o]=n,delete wi[o]}),t._initialized&&Ct(document.body,n=>St(t.getComponents(n),o=>{o.$options.isIcon&&o.icon in s&&o.$reset()}))}}function ol(t){return vi[t]?(wi[t]||(wi[t]=w((vi[rl(t)]||vi[t]).trim())),wi[t].cloneNode(!0)):null}function rl(t){return X?Di(Di(t,"left","right"),"previous","next"):t}const al=Lt&&"loading"in HTMLImageElement.prototype;var ll={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}al&&bi(this.$el)&&(this.$el.loading="lazy",vs(this.$el)),fl(this.$el)},disconnected(){this._data.image&&(this._data.image.onload="")},observe:ui({target:({$el:t,$props:e})=>[t,...Se(e.target,t)],handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>t==="lazy"}),methods:{load(){if(this._data.image)return this._data.image;const t=bi(this.$el)?this.$el:cl(this.$el,this.dataSrc,this.sources);return $e(t,"loading"),vs(this.$el,t.currentSrc),this._data.image=t}}};function vs(t,e){if(bi(t)){const i=A(t);(G(i,"picture")?P(i):[t]).forEach(n=>Rn(n,n))}else e&&!g(t.style.backgroundImage,e)&&(h(t,"backgroundImage",`url(${ji(e)})`),m(t,Dt("load",!1)))}const hl=["data-src","data-srcset","sizes"];function Rn(t,e){hl.forEach(i=>{const s=tt(t,i);s&&p(e,i.replace(/^(data-)+/,""),s)})}function cl(t,e,i){const s=new Image;return ul(s,i),Rn(t,s),s.onload=()=>{vs(t,s.currentSrc)},p(s,"src",e),s}function ul(t,e){if(e=dl(e),e.length){const i=zt("<picture>");for(const s of e){const n=zt("<source>");p(n,s),L(i,n)}L(i,t)}}function dl(t){if(!t)return[];if(ot(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=Oe(t);return Z(t)||(t=[t]),t.filter(e=>!be(e))}function fl(t){bi(t)&&!bt(t,"src")&&p(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function bi(t){return G(t,"img")}var $i={props:{media:Boolean},data:{media:!1},connected(){const t=pl(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,m(this.$el,Dt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=x(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function pl(t,e){if(O(t)){if(ot(t,"@"))t=$(h(e,`--uk-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t}return t&&wt(t)?`(min-width: ${t}px)`:""}var gl={mixins:[st,$i],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill({fill:t}){return t||h(this.$el,"--uk-leader-fill-content")}},connected(){[this.wrapper]=Ki(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){Te(this.wrapper.childNodes)},observe:ft(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){q(this.wrapper,this.clsHide,i),p(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}};const nt=[];var ws={mixins:[st,De,Vt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:t},e){return w(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){p(this.panel||this.$el,"role",this.role),this.overlay&&p(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){g(nt,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&re(e)&&!B(s,this.$el)&&w(s,document.body)?this.hide():E(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===g(nt,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(g(nt,this))return!1;!this.stack&&nt.length?(Promise.all(nt.map(e=>e.hide())).then(this.show),t.preventDefault()):nt.push(this)}},{name:"show",self:!0,handler(){this.stack&&h(this.$el,"zIndex",$(h(this.$el,"zIndex"))+nt.length);const t=[this.overlay&&vl(this),this.overlay&&En(this.$el),this.bgClose&&wl(this),this.escClose&&bl(this)];R(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),y(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){Je(this.$el)||p(this.$el,"tabindex","-1"),E(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){g(nt,this)&&nt.splice(nt.indexOf(this),1),h(this.$el,"zIndex",""),nt.some(t=>t.clsPage===this.clsPage)||N(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&A(this.$el)!==this.container?(L(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,jn)},hide(){return this.toggleElement(this.$el,!1,jn)}}};function jn(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>R(t,"show hide",()=>{var r;(r=t._reject)==null||r.call(t),t._reject=o,s(t,e);const a=R(i,"transitionstart",()=>{R(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),n()},ml(h(i,"transitionDuration")))})).then(()=>delete t._reject)}function ml(t){return t?Zt(t,"ms")?$(t):$(t)*1e3:0}function vl(t){return x(document,"focusin",e=>{se(nt)===t&&!B(e.target,t.$el)&&t.$el.focus()})}function wl(t){return x(document,mt,({target:e})=>{se(nt)!==t||t.overlay&&!B(e,t.$el)||B(e,t.panel)||R(document,`${Pt} ${ni} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===Pt&&e===n&&t.hide()},!0)})}function bl(t){return x(document,"keydown",e=>{e.keyCode===27&&se(nt)===t&&t.hide()})}var $l={install:xl,mixins:[ws],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){M(this.panel,"uk-margin-auto-vertical")?y(this.$el,"uk-flex"):h(this.$el,"display","block"),et(this.$el)}},{name:"hidden",self:!0,handler(){h(this.$el,"display",""),N(this.$el,"uk-flex")}}]};function xl({modal:t}){t.dialog=function(i,s){const n=t(`<div class="uk-modal"> <div class="uk-modal-dialog">${i}</div> </div>`,s);return n.show(),x(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(i,s){return e(({i18n:n})=>`<div class="uk-modal-body">${O(i)?i:Nt(i)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>${n.ok}</button> </div>`,s,n=>n.resolve())},t.confirm=function(i,s){return e(({i18n:n})=>`<form> <div class="uk-modal-body">${O(i)?i:Nt(i)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${n.cancel}</button> <button class="uk-button uk-button-primary" autofocus>${n.ok}</button> </div> </form>`,s,n=>n.reject())},t.prompt=function(i,s,n){return e(({i18n:o})=>`<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>${O(i)?i:Nt(i)}</label> <input class="uk-input" value="${s||""}" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${o.cancel}</button> <button class="uk-button uk-button-primary">${o.ok}</button> </div> </form>`,n,o=>o.resolve(null),o=>w("input",o.$el).value)},t.i18n={ok:"Ok",cancel:"Cancel"};function e(i,s,n,o){s={bgClose:!1,escClose:!0,role:"alertdialog",...s,i18n:{...t.i18n,...s==null?void 0:s.i18n}};const r=t.dialog(i(s),s),a=new Xe;let l=!1;return x(r.$el,"submit","form",c=>{c.preventDefault(),a.resolve(o==null?void 0:o(r)),l=!0,r.hide()}),x(r.$el,"hide",()=>!l&&n(a)),a.promise.dialog=r,a.promise}}var yl={extends:Sn,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},kl={extends:_n,data:{clsDrop:"uk-navbar-dropdown",selNavItem:".uk-navbar-nav > li > a,a.uk-navbar-item,button.uk-navbar-item,.uk-navbar-item a,.uk-navbar-item button,.uk-navbar-toggle"},watch:{items:{handler(){const t=M(this.$el,"uk-navbar-justify");for(const e of F(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))h(e,"flexGrow",t?F(".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",e).length:"")},immediate:!0}}},Sl={mixins:[ws],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip({flip:t,clsFlip:e}){return t?e:""},clsOverlay({overlay:t,clsOverlay:e}){return t?e:""},clsMode({mode:t,clsMode:e}){return`${e}-${t}`},clsSidebarAnimation({mode:t,clsSidebarAnimation:e}){return t==="none"||t==="reveal"?"":e},clsContainerAnimation({mode:t,clsContainerAnimation:e}){return t!=="push"&&t!=="reveal"?"":e},transitionElement({mode:t}){return t==="reveal"?A(this.panel):this.panel}},observe:kn({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!j(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!M(A(this.panel),this.clsMode)&&(ti(this.panel,"<div>"),y(A(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;y(t,this.clsContainer,this.clsFlip),h(t,"touch-action","pan-y pinch-zoom"),h(this.$el,"display","block"),h(this.panel,"maxWidth",e.clientWidth),y(this.$el,this.clsOverlay),y(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),et(t),y(t,this.clsContainerAnimation),this.clsContainerAnimation&&Il()}},{name:"hide",self:!0,handler(){N(document.body,this.clsContainerAnimation),h(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&Cl(),this.mode==="reveal"&&Te(this.panel),N(this.panel,this.clsSidebarAnimation,this.clsMode),N(this.$el,this.clsOverlay),h(this.$el,"display",""),h(this.panel,"maxWidth",""),N(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Zt(t.type,"Left")^this.flip&&this.hide()}}]};function Il(){qn().content+=",user-scalable=0"}function Cl(){const t=qn();t.content=t.content.replace(/,user-scalable=0$/,"")}function qn(){return w('meta[name="viewport"]',document.head)||L(document.head,'<meta name="viewport">')}var Tl={mixins:[st],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container({selContainer:t},e){return Y(e,t)},content({selContent:t},e){return Y(e,t)}},observe:ft({target:({container:t,content:e})=>[t,e]}),update:{read(){return!this.content||!this.container||!j(this.$el)?!1:{max:Math.max(this.minHeight,et(this.container)-(b(this.content).height-et(this.$el)))}},write({max:t}){h(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},El={props:["width","height"],connected(){y(this.$el,"uk-responsive-width")},observe:ft({target:({$el:t})=>[t,A(t)]}),update:{read(){return j(this.$el)&&this.width&&this.height?{width:Ee(A(this.$el)),height:this.height}:!1},write(t){et(this.$el,Ge.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},Pl={props:{offset:Number},data:{offset:0},connected(){_l(this)},disconnected(){Al(this)},methods:{async scrollTo(t){t=t&&w(t)||document.body,m(this.$el,"beforescroll",[this,t])&&(await Qs(t,{offset:this.offset}),m(this.$el,"scrolled",[this,t]))}}};const Ne=new Set;function _l(t){Ne.size||x(document,"click",Un),Ne.add(t)}function Al(t){Ne.delete(t),Ne.size||Mt(document,"click",Un)}function Un(t){if(!t.defaultPrevented)for(const e of Ne)B(t.target,e.$el)&&re(e.$el)&&(t.preventDefault(),window.history.pushState({},"",e.$el.href),e.scrollTo(Wi(e.$el)))}var Ol={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:"uk-scrollspy-inview"}),computed:{elements({target:t},e){return t?F(t,e):[e]}},watch:{elements(t){this.hidden&&h(ke(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this._data.elements=new Map},disconnected(){for(const[t,e]of this._data.elements.entries())N(t,this.inViewClass,(e==null?void 0:e.cls)||"")},observe:ui({target:({elements:t})=>t,handler(t){const e=this._data.elements;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:tt(i,"uk-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},options:t=>({rootMargin:t.margin}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of t.elements.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){var i;const s=this._data.elements.get(t);if(s){if((i=s.off)==null||i.call(s),h(t,"opacity",!e&&this.hidden?0:""),q(t,this.inViewClass,e),q(t,s.cls),/\buk-animation-/.test(s.cls)){const n=()=>Yi(t,"uk-animation-[\\w-]+");e?s.off=R(t,"animationcancel animationend",n):n()}m(t,e?"inview":"outview"),s.inview=e,this.$update(t)}}}},Bl={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links(t,e){return F('a[href*="#"]',e).filter(i=>i.hash&&re(i))},elements({closest:t}){return Y(this.links,t||"*")}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})}},observe:di(),update:[{read(){const t=this.links.map(Wi).filter(Boolean),{length:e}=t;if(!e||!j(this.$el))return!1;const[i]=vt(t,!0),{scrollTop:s,scrollHeight:n}=i,o=ht(i),r=n-o.height;let a=!1;if(s===r)a=e-1;else{for(let l=0;l<t.length&&!(_(t[l]).top-o.top-this.offset>0);l++)a=+l;a===!1&&this.overflow&&(a=0)}return{active:a}},write({active:t}){const e=t!==!1&&!M(this.elements[t],this.cls);this.links.forEach(i=>i.blur());for(let i=0;i<this.elements.length;i++)q(this.elements[i],this.cls,+i===t);e&&m(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]},Ml={mixins:[st,$i],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:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget({selTarget:t},e){return t&&w(t,e)||e}},connected(){this.start=Vn(this.start||this.top),this.end=Vn(this.end||this.bottom),this.placeholder=w("+ .uk-sticky-placeholder",this.$el)||w('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),N(this.selTarget,this.clsInactive)),Yn(this.$el),at(this.placeholder),this.placeholder=null},observe:[ft({handler(){!this.isFixed&&this.$emit("resize")}}),ft({target:()=>[document.documentElement]}),di()],events:[{name:"resize",el(){return[window,window.visualViewport]},handler(){this.$emit("resizeViewport")}},{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=_(w(location.hash)),i=_(this.$el);this.isFixed&&zi(e,i)&&(t.scrollTop=e.top-i.height-lt(this.targetOffset,"height",this.placeholder)-lt(this.offset,"height",this.placeholder))})}}],update:[{read({height:t,width:e,margin:i,sticky:s},n){if(this.inactive=!this.matchMedia||!j(this.$el),this.inactive)return;const o=this.isFixed&&n.has("resize")&&!s;o&&(Gn(this.selTarget),this.hide()),this.active||({height:t,width:e}=_(this.$el),i=h(this.$el,"margin")),o&&this.show();const r=lt("100vh","height"),a=et(window),l=document.scrollingElement.scrollHeight-r;let c=this.position;this.overflowFlip&&t>r&&(c=c==="top"?"bottom":"top");const u=this.isFixed?this.placeholder:this.$el;let d=lt(this.offset,"height",s?this.$el:u);c==="bottom"&&(t<a||this.overflowFlip)&&(d+=a-t);const f=this.overflowFlip?0:Math.max(0,t+d-r),v=_(u).top,C=_(this.$el).height,z=(this.start===!1?v:bs(this.start,this.$el,v))-d,D=this.end===!1?l:Math.min(l,bs(this.end,this.$el,v+t,!0)-C-d+f);return s=l&&!this.showOnUp&&z+d===v&&D===Math.min(l,bs("!*",this.$el,0,!0)-C-d+f)&&h(A(this.$el),"overflowY")==="visible",{start:z,end:D,offset:d,overflow:f,topOffset:v,height:t,elHeight:C,width:e,margin:i,top:Ht(u)[0],sticky:s}},write({height:t,width:e,margin:i,offset:s,sticky:n}){if((this.inactive||n||!this.isFixed)&&Yn(this.$el),this.inactive)return;n&&(t=e=i=0,h(this.$el,{position:"sticky",top:s}));const{placeholder:o}=this;h(o,{height:t,width:e,margin:i}),B(o,document)||(o.hidden=!0),(n?Ke:Ze)(this.$el,o)},events:["resize","resizeViewport"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:s=0,start:n,end:o}){const r=document.scrollingElement.scrollTop;return{dir:t<=r?"down":"up",prevDir:e,scroll:r,prevScroll:t,offsetParentTop:_((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:Q(s+Q(r,n,o)-Q(t,n,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:c,topOffset:u,height:d}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const f=Date.now();if((f-s>300||n!==o)&&(t.initScroll=r,t.initTimestamp=f),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<c||this.showOnUp&&(r<=c||n==="down"&&i||n==="up"&&!this.isFixed&&r<=u+d)){if(!this.isFixed){gt.inProgress(this.$el)&&l>r&&(gt.cancel(this.$el),this.hide());return}this.animation&&r>u?(gt.cancel(this.$el),gt.out(this.$el,this.animation).then(()=>this.hide(),S)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(gt.cancel(this.$el),this.show(),gt.in(this.$el,this.animation).catch(S)):(Gn(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),N(this.$el,this.clsFixed,this.clsBelow),e?h(this.$el,"top",t):h(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:s=0,start:n,end:o,offset:r,topOffset:a,height:l,elHeight:c,offsetParentTop:u,sticky:d}=this._data;const f=n!==0||e>n;if(!d){let v="fixed";e>o&&(r+=o-u,v="absolute"),h(this.$el,{position:v,width:t}),h(this.$el,"marginTop",0,"important")}i&&(r-=s),h(this.$el,"top",r),this.setActive(f),q(this.$el,this.clsBelow,e>a+(d?Math.min(l,c):l)),y(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Gi(this.selTarget,this.clsInactive,this.clsActive),e!==t&&m(this.$el,"active")):(Gi(this.selTarget,this.clsActive,this.clsInactive),e!==t&&m(this.$el,"inactive"))}}};function bs(t,e,i,s){if(!t)return 0;if(wt(t)||O(t)&&t.match(/^-?\d/))return i+lt(t,"height",e,!0);{const n=t===!0?A(e):rt(t,e);return _(n).bottom-(s&&n&&B(e,n)?$(h(n,"paddingBottom")):0)}}function Vn(t){return t==="true"?!0:t==="false"?!1:t}function Yn(t){h(t,{position:"",top:"",marginTop:"",width:""})}function Gn(t){h(t,"transition","0s"),requestAnimationFrame(()=>h(t,"transition",""))}const $s=".uk-disabled *, .uk-disabled, [disabled]";var Xn={mixins:[Vt],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item",selVertical:".uk-nav",followFocus:!1,swiping:!0},computed:{connects({connect:t},e){return Se(t,e)},connectChildren(){return this.connects.map(t=>P(t)).flat()},toggles({toggle:t},e){return F(t,e)},children(){return P(this.$el).filter(t=>this.toggles.some(e=>B(e,t)))}},watch:{connects:{handler(t){this.swiping&&h(t,"touchAction","pan-y pinch-zoom"),this.$emit()},document:!0},connectChildren(){const t=this.index();for(const e of this.connects)P(e).forEach((i,s)=>q(i,this.cls,s===t));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){p(this.$el,"role","tablist")},observe:[Me({targets:({connectChildren:t})=>t}),kn({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate(){return this.toggle},handler(t){!E(t.current,$s)&&(t.type==="click"||t.keyCode===T.SPACE)&&(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate(){return this.toggle},handler(t){const{current:e,keyCode:i}=t,s=E(this.$el,this.selVertical);let n=i===T.HOME?0:i===T.END?"last":i===T.LEFT&&!s||i===T.UP&&s?"previous":i===T.RIGHT&&!s||i===T.DOWN&&s?"next":-1;if(~n){t.preventDefault();const o=this.toggles.filter(a=>!E(a,$s)),r=o[dt(n,o,o.indexOf(e))];r.focus(),this.followFocus&&this.show(r)}}},{name:"click",el(){return this.connects.concat(this.itemNav?Se(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){Y(t.target,"a,button")&&(t.preventDefault(),this.show(tt(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(Zt(t,"Left")?"next":"previous")}}],update(){var t;p(this.connects,"role","presentation"),p(P(this.$el),"role","presentation");for(const e in this.toggles){const i=this.toggles[e],s=(t=this.connects[0])==null?void 0:t.children[e];p(i,"role","tab"),s&&(i.id=_t(this,i,`-tab-${e}`),s.id=_t(this,s,`-tabpanel-${e}`),p(i,"aria-controls",s.id),p(s,{role:"tabpanel","aria-labelledby":i.id}))}p(this.$el,"aria-orientation",E(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return $t(this.children,t=>M(t,this.cls))},show(t){const e=this.toggles.filter(r=>!E(r,$s)),i=this.index(),s=dt(!qe(t)||g(e,t)?t:0,e,dt(this.toggles[i],e)),n=dt(e[s],this.toggles);this.children.forEach((r,a)=>{q(r,this.cls,n===a),p(this.toggles[a],{"aria-selected":n===a,tabindex:n===a?null:-1})});const o=i>=0&&i!==s;this.connects.forEach(async({children:r})=>{await this.toggleElement(k(r).filter(a=>M(a,this.cls)),!1,o),await this.toggleElement(r[n],!0,o)})}}},Dl={mixins:[st],extends:Xn,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item",selVertical:".uk-tab-left,.uk-tab-right"},connected(){const t=M(this.$el,"uk-tab-left")?"uk-tab-left":M(this.$el,"uk-tab-right")?"uk-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const Nl=32;var zl={mixins:[$i,Vt],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get({href:t,target:e},i){return e=Se(e||t,i),e.length&&e||[i]},document:!0}},connected(){g(this.mode,"media")||(Je(this.$el)||p(this.$el,"tabindex","0"),!this.cls&&G(this.$el,"a")&&p(this.$el,"role","button"))},observe:Me({target:({target:t})=>t}),events:[{name:mt,filter(){return g(this.mode,"hover")},handler(t){this._preventClick=null,!(!It(t)||this._showState||this.$el.disabled)&&(m(this.$el,"focus"),R(document,mt,()=>m(this.$el,"blur"),!0,e=>!B(e.target,this.$el)),g(this.mode,"click")&&(this._preventClick=!0))}},{name:`${Rt} ${ue} focus blur`,filter(){return g(this.mode,"hover")},handler(t){if(It(t)||this.$el.disabled)return;const e=g([Rt,"focus"],t.type),i=this.isToggled(this.target);if(!(!e&&(t.type===ue&&E(this.$el,":focus")||t.type==="blur"&&E(this.$el,":hover")))){if(this._showState&&e&&i!==this._showState){e||(this._showState=null);return}this._showState=e?i:null,this.toggle(`toggle${e?"show":"hide"}`)}}},{name:"keydown",filter(){return g(this.mode,"click")&&!G(this.$el,"input")},handler(t){t.keyCode===Nl&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>g(this.mode,t))},handler(t){let e;(this._preventClick||Y(t.target,'a[href="#"], a[href=""]')||(e=Y(t.target,"a[href]"))&&(!this.isToggled(this.target)||e.hash&&E(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&g(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return g(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!m(this.target,t||"toggle",[this]))return;if(bt(this.$el,"aria-expanded")&&p(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>M(s,this.clsLeave));if(e.length){for(const s of this.target){const n=g(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter(s=>!g(i,s)),!0)}}},Fl=Object.freeze({__proto__:null,Accordion:Sn,Alert:oa,Close:Qa,Cover:aa,Drop:Pn,DropParentIcon:Yt,Dropdown:Pn,Dropnav:_n,FormCustom:ma,Grid:wa,HeightMatch:xa,HeightViewport:Sa,Icon:ms,Img:ll,Leader:gl,Margin:Bn,Marker:tl,Modal:$l,Nav:yl,NavParentIcon:Xa,Navbar:kl,NavbarParentIcon:Yt,NavbarToggleIcon:Za,Offcanvas:Sl,OverflowAuto:Tl,OverlayIcon:Yt,PaginationNext:il,PaginationPrevious:sl,Responsive:El,Scroll:Pl,Scrollspy:Ol,ScrollspyNav:Bl,SearchIcon:Ja,SlidenavNext:Wn,SlidenavPrevious:Wn,Spinner:Ka,Sticky:Ml,Svg:zn,Switcher:Xn,Tab:Dl,Toggle:zl,Totop:el,Video:In});St(Fl,(t,e)=>ut.component(e,t)),Gr(ut);const Hl=["days","hours","minutes","seconds"];var Ll={mixins:[st],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".uk-countdown-%unit%",role:"timer"},connected(){p(this.$el,"role",this.role),this.date=$(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(m(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),m(this.$el,"countdownstop"),this.timer=null)},update(){const t=Wl(this.date);t.total||(this.stop(),this.end||(m(this.$el,"countdownend"),this.end=!0));for(const e of Hl){const i=w(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?`0${s}`:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&Nt(i,s.map(()=>"<span></span>").join("")),s.forEach((n,o)=>i.children[o].textContent=n))}}}};function Wl(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}const xs="uk-transition-leave",ys="uk-transition-enter";function Jn(t,e,i,s=0){const n=xi(e,!0),o={opacity:1},r={opacity:0},a=u=>()=>n===xi(e)?u():Promise.reject(),l=a(async()=>{y(e,xs),await Promise.all(Zn(e).map((u,d)=>new Promise(f=>setTimeout(()=>I.start(u,r,i/2,"ease").then(f),d*s)))),N(e,xs)}),c=a(async()=>{const u=et(e);y(e,ys),t(),h(P(e),{opacity:0}),await Rl();const d=P(e),f=et(e);h(e,"alignContent","flex-start"),et(e,u);const v=Zn(e);h(d,r);const C=v.map(async(z,D)=>{await jl(D*s),await I.start(z,o,i/2,"ease")});u!==f&&C.push(I.start(e,{height:f},i/2+v.length*s,"ease")),await Promise.all(C).then(()=>{N(e,ys),n===xi(e)&&(h(e,{height:"",alignContent:""}),h(d,{opacity:""}),delete e.dataset.transition)})});return M(e,xs)?Kn(e).then(c):M(e,ys)?Kn(e).then(l).then(c):l().then(c)}function xi(t,e){return e&&(t.dataset.transition=1+xi(t)),kt(t.dataset.transition)||0}function Kn(t){return Promise.all(P(t).filter(I.inProgress).map(e=>new Promise(i=>R(e,"transitionend transitioncanceled",i))))}function Zn(t){return ps(P(t)).reduce((e,i)=>e.concat(Ve(i.filter(s=>ns(s)),"offsetLeft")),[])}function Rl(){return new Promise(t=>requestAnimationFrame(t))}function jl(t){return new Promise(e=>setTimeout(e,t))}async function ql(t,e,i){await eo();let s=P(e);const n=s.map(f=>Qn(f,!0)),o={...h(e,["height","padding"]),display:"block"};await Promise.all(s.concat(e).map(I.cancel)),t(),s=s.concat(P(e).filter(f=>!g(s,f))),await Promise.resolve(),J.flush();const r=p(e,"style"),a=h(e,["height","padding"]),[l,c]=Ul(e,s,n),u=s.map(f=>({style:p(f,"style")}));s.forEach((f,v)=>c[v]&&h(f,c[v])),h(e,o),m(e,"scroll"),J.flush(),await eo();const d=s.map((f,v)=>A(f)===e&&I.start(f,l[v],i,"ease")).concat(I.start(e,a,i,"ease"));try{await Promise.all(d),s.forEach((f,v)=>{p(f,u[v]),A(f)===e&&h(f,"display",l[v].opacity===0?"none":"")}),p(e,"style",r)}catch{p(s,"style",""),Vl(e,o)}}function Qn(t,e){const i=h(t,"zIndex");return j(t)?{display:"",opacity:e?h(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?oe(t):i,...to(t)}:!1}function Ul(t,e,i){const s=e.map((o,r)=>A(o)&&r in i?i[r]?j(o)?to(o):{opacity:0}:{opacity:j(o)?1:0}:!1),n=s.map((o,r)=>{const a=A(e[r])===t&&(i[r]||Qn(e[r]));if(!a)return!1;if(!o)delete a.opacity;else if(!("opacity"in o)){const{opacity:l}=a;l%1?o.opacity=1:delete a.opacity}return a});return[s,n]}function Vl(t,e){for(const i in e)h(t,i,"")}function to(t){const{height:e,width:i}=_(t);return{height:e,width:i,transform:"",...ei(t),...h(t,["marginTop","marginLeft"])}}function eo(){return new Promise(t=>requestAnimationFrame(t))}var io={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return(i==="fade"?Jn:i==="delayed-fade"?(...n)=>Jn(...n,40):i?ql:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(S)}}},Yl={mixins:[io],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles({attrItem:t},e){return F(`[${t}],[data-${t}]`,e)},children({target:t},e){return F(`${t} > *`,e)}},watch:{toggles(t){this.updateState();const e=F(this.selActive,this.$el);for(const i of t){this.selActive!==!1&&q(i,this.cls,g(e,i));const s=Ql(i);G(s,"a")&&p(s,"role","button")}},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.type==="keydown"&&t.keyCode!==T.SPACE||Y(t.target,"a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=no(t,this.attrItem,this.getState());Gl(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>M(t,this.cls)).reduce((t,e)=>no(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},m(this.$el,"beforeFilter",[this,t]);for(const i of this.toggles)q(i,this.cls,Jl(i,this.attrItem,t));await Promise.all(F(this.target,this.$el).map(i=>{const s=()=>{Xl(t,i,P(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),m(this.$el,"afterFilter",[this])},updateState(){J.write(()=>this.setState(this.getState(),!1))}}};function so(t,e){return Oe(tt(t,e),["filter"])}function Gl(t,e){return["filter","sort"].every(i=>Ue(t[i],e[i]))}function Xl(t,e,i){const s=Kl(t);i.forEach(r=>h(r,"display",s&&!E(r,s)?"none":""));const[n,o]=t.sort;if(n){const r=Zl(i,n,o);Ue(r,i)||L(e,r)}}function no(t,e,i){const{filter:s,group:n,sort:o,order:r="asc"}=so(t,e);return(s||V(o))&&(n?s?(delete i.filter[""],i.filter[n]=s):(delete i.filter[n],(be(i.filter)||""in i.filter)&&(i.filter={"":s||""})):i.filter={"":s||""}),V(o)||(i.sort=[o,r]),i}function Jl(t,e,{filter:i={"":""},sort:[s,n]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=so(t,e);return V(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:s===a&&n===l}function Kl({filter:t}){let e="";return St(t,i=>e+=i||""),e}function Zl(t,e,i){return[...t].sort((s,n)=>tt(s,e).localeCompare(tt(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}function Ql(t){return w("a,button",t)||t}var ks={slide:{show(t){return[{transform:W(t*-100)},{transform:W()}]},percent(t){return ze(t)},translate(t,e){return[{transform:W(e*-100*t)},{transform:W(e*100*(1-t))}]}}};function ze(t){return Math.abs(h(t,"transform").split(",")[4]/t.offsetWidth)||0}function W(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function pe(t){return`scale3d(${t}, ${t}, 1)`}var oo={...ks,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:pe(1-.2)},{opacity:1,transform:pe(1)}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:pe(1-.2*t)},{opacity:t,transform:pe(1-.2+.2*t)}]}}};function th(t,e,i,{animation:s,easing:n}){const{percent:o,translate:r,show:a=S}=s,l=a(i),c=new Xe;return{dir:i,show(u,d=0,f){const v=f?"linear":n;return u-=Math.round(u*Q(d,-1,1)),this.translate(d),yi(e,"itemin",{percent:d,duration:u,timing:v,dir:i}),yi(t,"itemout",{percent:1-d,duration:u,timing:v,dir:i}),Promise.all([I.start(e,l[1],u,v),I.start(t,l[0],u,v)]).then(()=>{this.reset(),c.resolve()},S),c.promise},cancel(){I.cancel([e,t])},reset(){for(const u in l[0])h([e,t],u,"")},forward(u,d=this.percent()){return I.cancel([e,t]),this.show(u,d,!0)},translate(u){this.reset();const d=r(u,i);h(e,d[1]),h(t,d[0]),yi(e,"itemtranslatein",{percent:u,dir:i}),yi(t,"itemtranslateout",{percent:1-u,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function yi(t,e,i){m(t,Dt(e,!1,!1,i))}var eh={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},e){return w(t,e)},navChildren(){return P(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,e){return F(this.selNavItem,e)}},watch:{nav(t,e){p(t,"role","tablist"),e&&this.$emit()},list(t){p(t,"role","presentation")},navChildren(t){p(t,"role","presentation")},navItems(t){for(const e of t){const i=tt(e,this.attrItem),s=w("a,button",e)||e;let n,o=null;if(wt(i)){const r=kt(i),a=this.slides[r];a&&(a.id||(a.id=_t(this,a,`-item-${i}`)),o=a.id),n=this.t("slideX",$(i)+1),p(s,"role","tab")}else this.list&&(this.list.id||(this.list.id=_t(this,this.list,"-items")),o=this.list.id),n=this.t(i);p(s,{"aria-controls":o,"aria-label":p(s,"aria-label")||n})}},slides(t){t.forEach((e,i)=>p(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){Ji(this.nav);for(let i=0;i<t;i++)L(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){p(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){Y(t.target,"a,button")&&(t.type==="click"||t.keyCode===T.SPACE)&&(t.preventDefault(),this.show(tt(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,s=tt(e,this.attrItem);if(!wt(s))return;let n=i===T.HOME?0:i===T.END?"last":i===T.LEFT?"previous":i===T.RIGHT?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();let e,i;for(const s of this.navItems){const n=tt(s,this.attrItem),o=w("a,button",s)||s;if(wt(n)){const a=kt(n)===t;q(s,this.clsActive,a),p(o,{"aria-selected":a,tabindex:a?null:-1}),a&&(i=o),e=e||E(o,":focus")}else q(s,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex));e&&i&&i.focus()}}}};const Ss={passive:!1,capture:!0},ro={passive:!0,capture:!0},ih="touchstart mousedown",Is="touchmove mousemove",ao="touchend touchcancel mouseup click input scroll";var sh={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=ae(i).x*(X?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:ih,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!It(t)&&nh(t.target)||Y(t.target,xe)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:Is,el(){return this.list},handler:S,...Ss}],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,x(document,Is,this.move,Ss),x(document,ao,this.end,ro),h(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;h(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:s}=this,n=Math.abs(e),o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;for(;o!==s&&n>r;)this.drag-=r*this.dir,s=o,n-=r,o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;this.percent=n/r;const a=i[s],l=i[o],c=this.index!==o,u=s===o;let d;[this.index,this.prevIndex].filter(f=>!g([o,s],f)).forEach(f=>{m(i[f],"itemhidden",[this]),u&&(d=!0,this.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||d)&&m(i[this.index],"itemshown",[this]),c&&(this.prevIndex=s,this.index=o,!u&&m(a,"beforeitemhide",[this]),m(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l),c&&(!u&&m(a,"itemhide",[this]),m(l,"itemshow",[this]))},end(){if(Mt(document,Is,this.move,Ss),Mt(document,ao,this.end,ro),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=(X?this.dir*(X?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)}h(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function nh(t){return h(t,"userSelect")!=="none"&&k(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var oh={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){p(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){p(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&E(this.$el,":focus-within")||this.pauseOnHover&&E(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}},lo={mixins:[oh,sh,eh,gs],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){N(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return ho(e.offsetWidth/t)},list({selList:t},e){return w(t,e)},maxIndex(){return this.length-1},slides(){return P(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},observe:ft(),methods:{show(t,e=!1){var i;if(this.dragging||!this.length)return;const{stack:s}=this,n=e?0:s.length,o=()=>{s.splice(n,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const r=this.getIndex(this.index),a=M(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),c=this.slides[l];if(a===c){o();return}if(this.dir=rh(t,r),this.prevIndex=r,this.index=l,a&&!m(a,"beforeitemhide",[this])||!m(c,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const u=this._show(a,c,e).then(()=>{a&&m(a,"itemhidden",[this]),m(c,"itemshown",[this]),s.shift(),this._transitioner=null,requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))});return a&&m(a,"itemhide",[this]),m(c,"itemshow",[this]),u},getIndex(t=this.index,e=this.index){return Q(dt(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e=this.prevIndex,i=this.index){const s=this._getTransitioner(e===i?!1:e,i);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,s=this.transitionOptions){return new this.Transitioner(ee(t)?this.slides[t]:t,ee(e)?this.slides[e]:e,i*(X?-1:1),s)}}};function rh(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function ho(t){return .5*t+300}var co={mixins:[lo],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:ks,Transitioner:th},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){y(t,this.clsActive)},itemshown({target:t}){y(t,this.clsActivated)},itemhidden({target:t}){N(t,this.clsActive,this.clsActivated)}}},uo={mixins:[ws,co],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:oo,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=w(this.template),e=w(this.selList,t);this.items.forEach(()=>L(e,"<li>"));const i=w("[uk-close]",t),s=this.t("close");i&&s&&(i.dataset.i18n=JSON.stringify({label:s})),this.$mount(L(this.container,t))},computed:{caption({selCaption:t},e){return w(t,e)}},events:[{name:`${si} ${mt} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),N(this.slides,this.clsActive),I.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===T.LEFT?e="previous":t===T.RIGHT?e="next":t===T.HOME?e=0:t===T.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=oo.scale,N(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){Nt(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const c=Fe("img",{src:i,alt:n,...r});x(c,"load",()=>this.setItem(e,c)),x(c,"error",()=>this.setError(e))}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const c=Fe("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...r});x(c,"loadedmetadata",()=>this.setItem(e,c)),x(c,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,Fe("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,Fe("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:c,width:u}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,Fe("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:u,height:c,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||m(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[dt(t,this.slides)]},setItem(t,e){m(this.$el,"itemloaded",[this,Nt(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),y(this.$el,"uk-active","uk-transition-active")},hideControls(){N(this.$el,"uk-active","uk-transition-active")}}};function Fe(t,e){const i=zt(`<${t}>`);return p(i,e),i}var ah={install:lh,props:{toggle:String},data:{toggle:"a"},computed:{toggles({toggle:t},e){return F(t,e)}},watch:{toggles(t){this.hide();for(const e of t)G(e,"a")&&p(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=As(this.toggles.map(fo),"source");if(te(t)){const{source:i}=fo(t);t=$t(e,({source:s})=>i===s)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),x(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function lh(t,e){t.lightboxPanel||t.component("lightboxPanel",uo),xt(e.props,t.component("lightboxPanel").options.props)}function fo(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=tt(t,i);return e.attrs=Oe(e.attrs),e}var hh={mixins:[De],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:ch,computed:{marginProp({pos:t}){return`margin${ot(t,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=w(`.${this.clsContainer}-${this.pos}`,this.container)||L(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(L(t,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=$(h(this.$el,this.marginProp));await I.start(h(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){Y(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Rt](){this.timer&&clearTimeout(this.timer)},[ue](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=A(i);m(i,"close",[this]),at(i),s!=null&&s.hasChildNodes()||at(s)};this.timer&&clearTimeout(this.timer),t||await I.start(this.$el,this.startProps),e(this.$el)}}};function ch(t){t.notification.closeAll=function(e,i){Ct(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}const ki={x:Si,y:Si,rotate:Si,scale:Si,color:Cs,backgroundColor:Cs,borderColor:Cs,blur:Xt,hue:Xt,fopacity:Xt,grayscale:Xt,invert:Xt,saturate:Xt,sepia:Xt,opacity:dh,stroke:fh,bgx:mo,bgy:mo},{keys:po}=Object;var go={mixins:[$i],props:$o(po(ki),"list"),data:$o(po(ki),void 0),computed:{props(t,e){const i={};for(const n in t)n in ki&&!V(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=ki[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))h(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,t);return e.willChange=Object.keys(e).filter(i=>e[i]!=="").join(","),e}}};function Si(t,e,i){let s=Ci(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t=`translate${Tt(t)}`,n=o=>$($(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>Ci([o])?lt(o,"width",e,!0)/e.offsetWidth:o),i.length===1&&i.unshift(t==="scale"?1:0),i=ge(i,n),(o,r)=>{o.transform+=` ${t}(${He(i,r)}${s})`}}function Cs(t,e,i){return i.length===1&&i.unshift(Le(e,t,"")),i=ge(i,s=>uh(e,s)),(s,n)=>{const[o,r,a]=bo(i,n),l=o.map((c,u)=>(c+=a*(r[u]-c),u===3?$(c):parseInt(c,10))).join(",");s[t]=`rgba(${l})`}}function uh(t,e){return Le(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map($)}function Xt(t,e,i){i.length===1&&i.unshift(0);const s=Ci(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=ge(i),(n,o)=>{const r=He(i,o);n.filter+=` ${t}(${r+s})`}}function dh(t,e,i){return i.length===1&&i.unshift(Le(e,t,"")),i=ge(i),(s,n)=>{s[t]=He(i,n)}}function fh(t,e,i){i.length===1&&i.unshift(0);const s=Ci(i),n=Nn(e);return i=ge(i.reverse(),o=>(o=$(o),s==="%"?o*n/100:o)),i.some(([o])=>o)?(h(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=He(i,r)}):S}function mo(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=ge(i,a=>lt(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return S;if(Le(e,"backgroundSize","")==="cover")return ph(t,e,i,s);const r={};for(const a of o)r[a]=vo(e,a);return wo(o,r,s)}function ph(t,e,i,s){const n=gh(e);if(!n.width)return S;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const d=s[u].map(([D])=>D),f=Math.min(...d),v=Math.max(...d),C=d.indexOf(f)<d.indexOf(v),z=v-f;a[u]=`${(C?-z:0)-(C?f:v)}px`,o[u==="bgy"?"height":"width"]+=z}const l=Ge.cover(n,o);for(const u of r){const d=u==="bgy"?"height":"width",f=l[d]-o[d];a[u]=`max(${vo(e,u)},-${f}px) + ${a[u]}`}const c=wo(r,a,s);return(u,d)=>{c(u,d),u.backgroundSize=`${l.width}px ${l.height}px`,u.backgroundRepeat="no-repeat"}}function vo(t,e){return Le(t,`background-position-${e.substr(-1)}`,"")}function wo(t,e,i){return function(s,n){for(const o of t){const r=He(i[o],n);s[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${r}px)`}}}const Ii={};function gh(t){const e=h(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Ii[e])return Ii[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{Ii[e]=Ts(i),m(t,Dt("load",!1))},Ts(i)):Ii[e]=Ts(i)}function Ts(t){return{width:t.naturalWidth,height:t.naturalHeight}}function ge(t,e=$){const i=[],{length:s}=t;let n=0;for(let o=0;o<s;o++){let[r,a]=O(t[o])?t[o].trim().split(" "):[t[o]];if(r=e(r),a=a?$(a)/100:null,o===0?a===null?a=0:a&&i.push([r,0]):o===s-1&&(a===null?a=1:a!==1&&(i.push([r,a]),a=1)),i.push([r,a]),a===null)n++;else if(n){const l=i[o-n-1][1],c=(a-l)/(n+1);for(let u=n;u>0;u--)i[o-u][1]=l+c*(n-u+1);n=0}}return i}function bo(t,e){const i=$t(t.slice(1),([,s])=>e<=s)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function He(t,e){const[i,s,n]=bo(t,e);return ee(i)?i+Math.abs(i-s)*n*(i<s?1:-1):+s}const mh=/^-?\d+(\S+)?/;function Ci(t,e){var i;for(const s of t){const n=(i=s.match)==null?void 0:i.call(s,mh);if(n)return n[1]}return e}function Le(t,e,i){const s=t.style[e],n=h(h(t,e,i),e);return t.style[e]=s,n}function $o(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}var vh={mixins:[go],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:t},e){return xo(t&&rt(t,e)||e)},start({start:t}){return lt(t,"height",this.target,!0)},end({end:t,viewport:e}){return lt(t||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[ft({target:({$el:t,target:e})=>[t,e]}),di()],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!j(this.$el))return!1;if(!this.matchMedia)return;const i=t;return t=wh(os(this.target,this.start,this.end),this.easing),{percent:t,style:i===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&h(this.$el,t)},events:["scroll","resize"]}};function wh(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function xo(t){return t?"offsetTop"in t?t:xo(A(t)):document.documentElement}var yo={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},ko={observe:Me({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function bh(t,e,i,{center:s,easing:n,list:o}){const r=new Xe,a=t?We(t,o,s):We(e,o,s)+b(e).width*i,l=e?We(e,o,s):a+b(t).width*i*(X?-1:1);return{dir:i,show(c,u=0,d){const f=d?"linear":n;return c-=Math.round(c*Q(u,-1,1)),this.translate(u),u=t?u:Q(u,0,1),Es(this.getItemIn(),"itemin",{percent:u,duration:c,timing:f,dir:i}),t&&Es(this.getItemIn(!0),"itemout",{percent:1-u,duration:c,timing:f,dir:i}),I.start(o,{transform:W(-l*(X?-1:1),"px")},c,f).then(r.resolve,S),r.promise},cancel(){I.cancel(o)},reset(){h(o,"transform","")},forward(c,u=this.percent()){return I.cancel(o),this.show(c,u,!0)},translate(c){const u=this.getDistance()*i*(X?-1:1);h(o,"transform",W(Q(-l+(u-u*c),-Ti(o),b(o).width)*(X?-1:1),"px"));const d=this.getActives(),f=this.getItemIn(),v=this.getItemIn(!0);c=t?Q(c,-1,1):0;for(const C of P(o)){const z=g(d,C),D=C===f,At=C===v,Ps=D||!At&&(z||i*(X?-1:1)===-1^Ei(C,o)>Ei(t||e));Es(C,`itemtranslate${Ps?"in":"out"}`,{dir:i,percent:At?1-c:D?c:z?1:0})}},percent(){return Math.abs((h(o,"transform").split(",")[4]*(X?-1:1)+a)/(l-a))},getDistance(){return Math.abs(l-a)},getItemIn(c=!1){let u=this.getActives(),d=Io(o,We(e||t,o,s));if(c){const f=u;u=d,d=f}return d[$t(d,f=>!g(u,f))]},getActives(){return Io(o,We(t||e,o,s))}}}function We(t,e,i){const s=Ei(t,e);return i?s-$h(t,e):Math.min(s,So(e))}function So(t){return Math.max(0,Ti(t)-b(t).width)}function Ti(t){return Bt(P(t),e=>b(e).width)}function $h(t,e){return b(e).width/2-b(t).width/2}function Ei(t,e){return t&&(ei(t).left+(X?b(t).width-b(e).width:0))*(X?-1:1)||0}function Io(t,e){e-=1;const i=b(t).width,s=e+i+2;return P(t).filter(n=>{const o=Ei(n,t),r=o+Math.min(b(n).width,i);return o>=e&&r<=s})}function Es(t,e,i){m(t,Dt(e,!1,!1,i))}var xh={mixins:[st,lo,yo,ko],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:bh},computed:{avgWidth(){return Ti(this.list)/this.length},finite({finite:t}){return t||yh(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return se(this.sets);let t=0;const e=So(this.list),i=$t(this.slides,s=>{if(t>=e)return!0;t+=b(s).width});return~i?i:this.length-1},sets({sets:t}){if(!t)return;let e=0;const i=[],s=b(this.list).width;for(let n=0;n<this.length;n++){const o=b(this.slides[n]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+b(this.slides[+n+1]).width/2>s/2&&(i.push(+n),e=s/2-o/2):e===0&&i.push(Math.min(+n,this.maxIndex)),e+=o}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return P(this.list).filter(j)}},connected(){q(this.$el,this.clsContainer,!w(`.${this.clsContainer}`,this.$el))},observe:ft({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=kt(tt(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!g(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!g(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=ho(this.avgWidth/this.velocity)*(b(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&y(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){h(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>h(n,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=b(this.list).width/2-b(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];h(o,"order",n>t?-2:-1),i-=b(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||g(this.sets,$(this.index)))&&this.clsActivated||""];for(const i of this.slides){const s=g(t,i);q(i,e,s),p(i,"aria-hidden",!s),p(F(ye,i),"tabindex",s?null:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(g(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=b(this.list),e=-t,i=t*2,s=b(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const c=this.slides[this.getIndex(this.index+r+l++*r)];a+=b(c).width*r,o.add(c)}while(this.length>l&&a>e&&a<i)}return Array.from(o)}}};function yh(t,e){if(!t||t.length<2)return!0;const{width:i}=b(t);if(!e)return Math.ceil(Ti(t))<Math.trunc(i+kh(t));const s=P(t),n=Math.trunc(i/2);for(const o in s){const r=s[o],a=b(r).width,l=new Set([r]);let c=0;for(const u of[-1,1]){let d=a/2,f=0;for(;d<n;){const v=s[dt(+o+u+f++*u,s)];if(l.has(v))return!0;d+=b(v).width,l.add(v)}c=Math.max(c,a/2+b(s[dt(+o+u,s)]).width/2-(d-n))}if(c>Bt(s.filter(u=>!l.has(u)),u=>b(u).width))return!0}return!1}function kh(t){return Math.max(0,...P(t).map(e=>b(e).width))}var Co={mixins:[go],data:{selItem:"!li"},beforeConnect(){this.item=rt(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,duration:i,timing:s,dir:n}}){J.read(()=>{if(!this.matchMedia)return;const o=this.getCss(Eo(t,n,e)),r=this.getCss(To(t)?.5:n>0?1:0);J.write(()=>{h(this.$el,o),I.start(this.$el,r,i,s).catch(S)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){I.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){J.read(()=>{if(!this.matchMedia){this.reset();return}const s=this.getCss(Eo(t,i,e));J.write(()=>h(this.$el,s))})}}]};function To(t){return Zt(t,"in")}function Eo(t,e,i){return i/=2,To(t)^e<0?i:1-i}var Sh={...ks,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:pe(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:pe(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:W(30),zIndex:-1},{transform:W(),zIndex:0}]:[{transform:W(-100),zIndex:0},{transform:W(),zIndex:-1}]},percent(t,e,i){return i<0?1-ze(e):ze(t)},translate(t,e){return e<0?[{transform:W(30*t),zIndex:-1},{transform:W(-100*(1-t)),zIndex:0}]:[{transform:W(-t*100),zIndex:0},{transform:W(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:W(100),zIndex:0},{transform:W(),zIndex:-1}]:[{transform:W(-30),zIndex:-1},{transform:W(),zIndex:0}]},percent(t,e,i){return i>0?1-ze(e):ze(t)},translate(t,e){return e<0?[{transform:W(t*100),zIndex:0},{transform:W(-30*(1-t)),zIndex:-1}]:[{transform:W(-30*t),zIndex:-1},{transform:W(100*(1-t)),zIndex:0}]}}},Ih={mixins:[st,co,yo,ko],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Sh},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-le(this.list,"height","content-box")}},write({height:t}){t>0&&h(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},Ch={mixins:[st,io],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:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{xt(this.pos,ae(i)),e(i)}}},events:{name:mt,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return P(this.target)},isEmpty(){return be(this.items)},handles({handle:t},e){return t?F(t,e):this.items}},watch:{isEmpty(t){q(this.target,this.clsEmpty,t)},handles(t,e){h(e,{touchAction:"",userSelect:""}),h(t,{touchAction:Wt?"none":"",userSelect:"none"})}},update:{write(t){if(!this.drag||!A(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;h(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(I.inProgress))return;const l=_h(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),u=Ah(r.target,l,o,e,i,r===c&&t.moved!==l);u!==!1&&(u&&o===u||(r!==c?(c.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>B(e,o));!n||s||i>0||Li(e)||B(e,`.${this.clsNoDrag}`)||this.handle&&!B(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:oe(n),...this.pos},x(document,si,this.move),x(document,Pt,this.end),this.threshold||this.start(t))},start(t){this.drag=Ph(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();xt(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),y(this.drag,this.clsDrag,this.clsCustom),y(this.placeholder,this.clsPlaceholder),y(this.items,this.clsItem),y(document.documentElement,this.clsDragState),m(this.$el,"start",[this,this.placeholder]),Th(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(Mt(document,si,this.move),Mt(document,Pt,this.end),!this.drag)return;Eh();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==oe(this.placeholder)&&m(this.$el,"moved",[this,this.placeholder]):(m(t.$el,"added",[t,this.placeholder]),m(this.$el,"removed",[this,this.placeholder])),m(this.$el,"stop",[this,this.placeholder]),at(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)N(s.items,e,i);this.touched=null,N(document.documentElement,this.clsDragState)},insert(t,e){y(this.items,this.clsItem);const i=()=>e?Ke(e,t):L(this.target,t);this.animate(i)},remove(t){B(t,this.target)&&this.animate(()=>at(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=A(t))}}};let Po;function Th(t){let e=Date.now();Po=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),vt(document.elementFromPoint(i,t.y)).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:c,height:u}=ht(o);if(l<s&&l+35>s)r-=n;else if(c>s&&c-35<s)r+=n;else return;if(r>0&&r<a-u)return o.scrollTop=r,!0})},15)}function Eh(){clearInterval(Po)}function Ph(t,e){let i;if(G(e,"li","tr")){i=w("<div>"),L(i,e.cloneNode(!0).children);for(const s of e.getAttributeNames())p(i,s,e.getAttribute(s))}else i=e.cloneNode(!0);return L(t,i),h(i,"margin","0","important"),h(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:h(e,"padding")}),et(i.firstElementChild,et(e.firstElementChild)),i}function _h(t,e){return t[$t(t,i=>Ye(e,i.getBoundingClientRect()))]}function Ah(t,e,i,s,n,o){if(!P(t).length)return;const r=e.getBoundingClientRect();if(!o)return Oh(t,i)||n<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=_o([r.top,r.bottom],[a.top,a.bottom]),[c,u,d,f]=l?[s,"width","left","right"]:[n,"height","top","bottom"],v=a[u]<r[u]?r[u]-a[u]:0;return a[d]<r[d]?v&&c<r[d]+v?!1:e.nextElementSibling:v&&c>r[f]-v?!1:e}function Oh(t,e){const i=P(t).length===1;i&&L(t,e);const s=P(t),n=s.some((o,r)=>{const a=o.getBoundingClientRect();return s.slice(r+1).some(l=>{const c=l.getBoundingClientRect();return!_o([a.left,a.right],[c.left,c.right])})});return i&&at(e),n}function _o(t,e){return t[1]>e[0]&&e[1]>t[0]}var Bh={mixins:[De,Vt,Tn],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this.id=_t(this),this._hasTitle=bt(this.$el,"title"),p(this.$el,{title:"","aria-describedby":this.id}),Mh(this.$el)},disconnected(){this.hide(),p(this.$el,"title")||p(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){E(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),at(this.tooltip),this.tooltip=null))},_show(){this.tooltip=L(this.container,`<div id="${this.id}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${this.title}</div> </div>`),x(this.tooltip,"toggled",(t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[s,n]=Dh(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${ii(s)}-${n}`:`${n}-${ii(s)}`;const o=[R(document,`keydown ${mt}`,this.hide,!1,r=>r.type===mt&&!B(r.target,this.$el)||r.type==="keydown"&&r.keyCode===T.ESC),x([document,...jt(this.$el)],"scroll",i,{passive:!0})];R(this.tooltip,"hide",()=>o.forEach(r=>r()),{self:!0})}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${Rt} ${ue}`](t){It(t)||this[t.type===Rt?"show":"hide"]()},[mt](t){It(t)&&this.show()}}};function Mh(t){Je(t)||p(t,"tabindex","0")}function Dh(t,e,[i,s]){const n=_(t),o=_(e),r=[["left","right"],["top","bottom"]];for(const l of r){if(n[l[0]]>=o[l[1]]){i=l[1];break}if(n[l[1]]<=o[l[0]]){i=l[0];break}}const a=g(r[0],i)?r[1]:r[0];return n[a[0]]===o[a[0]]?s=a[0]:n[a[1]]===o[a[1]]?s=a[1]:s="center",[i,s]}var Nh={mixins:[gs],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:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:S,beforeAll:S,beforeSend:S,complete:S,completeAll:S,error:S,fail:S,load:S,loadEnd:S,loadStart:S,progress:S},events:{change(t){E(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){Pi(t);const e=t.dataTransfer;e!=null&&e.files&&(N(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){Pi(t)},dragover(t){Pi(t),y(this.$el,this.clsDragover)},dragleave(t){Pi(t),N(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=Ai(t),!t.length)return;m(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!Ao(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!Ao(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=zh(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await Fh(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;x(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])x(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function Ao(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function zh(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function Pi(t){t.preventDefault(),t.stopPropagation()}function Fh(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:S,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>Hh(t,i))}function Hh(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);x(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s(xt(Error(n.statusText),{xhr:n,status:n.status}))}),x(n,"error",()=>s(xt(Error("Network Error"),{xhr:n}))),x(n,"timeout",()=>s(xt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}var Lh=Object.freeze({__proto__:null,Countdown:Ll,Filter:Yl,Lightbox:ah,LightboxPanel:uo,Notification:hh,Parallax:vh,Slider:xh,SliderParallax:Co,Slideshow:Ih,SlideshowParallax:Co,Sortable:Ch,Tooltip:Bh,Upload:Nh});return St(Lh,(t,e)=>ut.component(e,t)),ut});
|
|
1
|
+
/*! UIkit 3.16.11-dev.cc1aeb568 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(me,ve){typeof exports=="object"&&typeof module<"u"?module.exports=ve():typeof define=="function"&&define.amd?define("uikit",ve):(me=typeof globalThis<"u"?globalThis:me||self,me.UIkit=ve())})(this,function(){"use strict";const{hasOwnProperty:me,toString:ve}=Object.prototype;function $t(t,e){return me.call(t,e)}const Fo=/\B([A-Z])/g,Kt=pt(t=>t.replace(Fo,"-$1").toLowerCase()),Ho=/-(\w)/g,we=pt(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Ho,(e,i)=>i.toUpperCase())),Et=pt(t=>t.charAt(0).toUpperCase()+t.slice(1));function ot(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}function Zt(t,e){var i;return(i=t==null?void 0:t.endsWith)==null?void 0:i.call(t,e)}function g(t,e){var i;return(i=t==null?void 0:t.includes)==null?void 0:i.call(t,e)}function xt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:Z,from:Oi}=Array,{assign:yt}=Object;function it(t){return typeof t=="function"}function Pt(t){return t!==null&&typeof t=="object"}function kt(t){return ve.call(t)==="[object Object]"}function Qt(t){return Pt(t)&&t===t.window}function qe(t){return Di(t)===9}function Ue(t){return Di(t)>=1}function te(t){return Di(t)===1}function Di(t){return!Qt(t)&&Pt(t)&&t.nodeType}function Bi(t){return typeof t=="boolean"}function O(t){return typeof t=="string"}function ee(t){return typeof t=="number"}function wt(t){return ee(t)||O(t)&&!isNaN(t-parseFloat(t))}function be(t){return!(Z(t)?t.length:Pt(t)&&Object.keys(t).length)}function V(t){return t===void 0}function Mi(t){return Bi(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function St(t){const e=Number(t);return isNaN(e)?!1:e}function $(t){return parseFloat(t)||0}function H(t){return k(t)[0]}function k(t){return Ue(t)?[t]:Array.from(t||[]).filter(Ue)}function ie(t){if(Qt(t))return t;t=H(t);const e=qe(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Ve(t,e){return t===e||Pt(t)&&Pt(e)&&Object.keys(t).length===Object.keys(e).length&&It(t,(i,s)=>i===e[s])}function Ni(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),s=>s===e?i:e)}function se(t){return t[t.length-1]}function It(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Ye(t,e){return t.slice().sort(({[e]:i=0},{[e]:s=0})=>i>s?1:s>i?-1:0)}function Dt(t,e){return t.reduce((i,s)=>i+$(it(e)?e(s):s[e]),0)}function Ds(t,e){const i=new Set;return t.filter(({[e]:s})=>i.has(s)?!1:i.add(s))}function zi(t,e){return e.reduce((i,s)=>({...i,[s]:t[s]}),{})}function Q(t,e=0,i=1){return Math.min(Math.max(St(t)||0,e),i)}function S(){}function Fi(...t){return[["bottom","top"],["right","left"]].every(([e,i])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[i]:s})=>s))>0)}function Ge(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Hi(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function Bs(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Hi(t,i,e[i]):t;return t}function Lo(t,e){t=Bs(t,e);for(const i in t)t=t[i]<e[i]?Hi(t,i,e[i]):t;return t}const Xe={ratio:Hi,contain:Bs,cover:Lo};function dt(t,e,i=0,s=!1){e=k(e);const{length:n}=e;return n?(t=wt(t)?St(t):t==="next"?i+1:t==="previous"?i-1:t==="last"?n-1:e.indexOf(H(t)),s?Q(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function pt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Je{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function p(t,e,i){var s;if(Pt(e)){for(const n in e)p(t,n,e[n]);return}if(V(i))return(s=H(t))==null?void 0:s.getAttribute(e);for(const n of k(t))it(i)&&(i=i.call(n,p(n,e))),i===null?$e(n,e):n.setAttribute(e,i)}function bt(t,e){return k(t).some(i=>i.hasAttribute(e))}function $e(t,e){k(t).forEach(i=>i.removeAttribute(e))}function tt(t,e){for(const i of[e,`data-${e}`])if(bt(t,i))return p(t,i)}const Wo={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 Li(t){return k(t).some(e=>Wo[e.tagName.toLowerCase()])}function j(t){return k(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const xe="input,select,textarea,button";function Wi(t){return k(t).some(e=>E(e,xe))}const ye=`${xe},a[href],[tabindex]`;function Ke(t){return E(t,ye)}function A(t){var e;return(e=H(t))==null?void 0:e.parentElement}function ke(t,e){return k(t).filter(i=>E(i,e))}function E(t,e){return k(t).some(i=>i.matches(e))}function Y(t,e){return te(t)?t.closest(ot(e,">")?e.slice(1):e):k(t).map(i=>Y(i,e)).filter(Boolean)}function D(t,e){return O(e)?!!Y(t,e):H(e).contains(H(t))}function ne(t,e){const i=[];for(;t=A(t);)(!e||E(t,e))&&i.push(t);return i}function P(t,e){t=H(t);const i=t?k(t.children):[];return e?ke(i,e):i}function oe(t,e){return e?k(t).indexOf(H(e)):P(A(t)).indexOf(t)}function re(t){return t=H(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function Ri(t){if(re(t)){t=H(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function rt(t,e){return ji(t,Ns(t,e))}function Se(t,e){return Ie(t,Ns(t,e))}function ji(t,e){return H(zs(t,H(e),"querySelector"))}function Ie(t,e){return k(zs(t,H(e),"querySelectorAll"))}const Ro=/(^|[^\\],)\s*[!>+~-]/,Ms=pt(t=>t.match(Ro));function Ns(t,e=document){return O(t)&&Ms(t)||qe(e)?e:e.ownerDocument}const jo=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qo=pt(t=>t.replace(jo,"$1 *"));function zs(t,e=document,i){if(!t||!O(t))return t;if(t=qo(t),Ms(t)){const s=Vo(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=Y(A(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=E(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=`${t?",":""}${Yo(o)} ${n}`)}e=document}try{return e[i](t)}catch{return null}}const Uo=/.*?[^\\](?:,|$)/g,Vo=pt(t=>t.match(Uo).map(e=>e.replace(/,$/,"").trim()));function Yo(t){const e=[];for(;t.parentNode;){const i=p(t,"id");if(i){e.unshift(`#${qi(i)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${oe(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function qi(t){return O(t)?CSS.escape(t):""}function x(...t){let[e,i,s,n,o=!1]=Ui(t);n.length>1&&(n=Xo(n)),o!=null&&o.self&&(n=Jo(n)),s&&(n=Go(s,n));for(const r of i)for(const a of e)a.addEventListener(r,n,o);return()=>Bt(e,i,n,o)}function Bt(...t){let[e,i,,s,n=!1]=Ui(t);for(const o of i)for(const r of e)r.removeEventListener(o,s,n)}function R(...t){const[e,i,s,n,o=!1,r]=Ui(t),a=x(e,i,s,l=>{const c=!r||r(l);c&&(a(),n(l,c))},o);return a}function m(t,e,i){return Vi(t).every(s=>s.dispatchEvent(Mt(e,!0,!0,i)))}function Mt(t,e=!0,i=!1,s){return O(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ui(t){return t[0]=Vi(t[0]),O(t[1])&&(t[1]=t[1].split(" ")),it(t[2])&&t.splice(2,0,!1),t}function Go(t,e){return i=>{const s=t[0]===">"?Ie(t,i.currentTarget).reverse().filter(n=>D(i.target,n))[0]:Y(i.target,t);s&&(i.current=s,e.call(this,i),delete i.current)}}function Xo(t){return e=>Z(e.detail)?t(e,...e.detail):t(e)}function Jo(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Fs(t){return t&&"addEventListener"in t}function Ko(t){return Fs(t)?t:H(t)}function Vi(t){return Z(t)?t.map(Ko).filter(Boolean):O(t)?Ie(t):Fs(t)?[t]:k(t)}function Ct(t){return t.pointerType==="touch"||!!t.touches}function ae(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}const Zo={"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 h(t,e,i,s){const n=k(t);for(const o of n)if(O(e)){if(e=Yi(e),V(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,wt(i)&&!Zo[e]?`${i}px`:i||ee(i)?i:"",s)}else if(Z(e)){const r={};for(const a of e)r[a]=h(o,a);return r}else Pt(e)&&(s=i,It(e,(r,a)=>h(o,a,r,s)));return n[0]}const Yi=pt(t=>Qo(t));function Qo(t){if(ot(t,"--"))return t;t=Kt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s=`-${i}-${t}`;if(s in e)return s}}function y(t,...e){Hs(t,e,"add")}function N(t,...e){Hs(t,e,"remove")}function Gi(t,e){p(t,"class",i=>(i||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function Xi(t,...e){e[0]&&N(t,e[0]),e[1]&&y(t,e[1])}function B(t,e){return[e]=Ji(e),!!e&&k(t).some(i=>i.classList.contains(e))}function q(t,e,i){const s=Ji(e);V(i)||(i=!!i);for(const n of k(t))for(const o of s)n.classList.toggle(o,i)}function Hs(t,e,i){e=e.reduce((s,n)=>s.concat(Ji(n)),[]);for(const s of k(t))s.classList[i](...e)}function Ji(t){return String(t).split(/[ ,]/).filter(Boolean)}function tr(t,e,i=400,s="linear"){return i=Math.round(i),Promise.all(k(t).map(n=>new Promise((o,r)=>{for(const l in e){const c=h(n,l);c===""&&h(n,l,c)}const a=setTimeout(()=>m(n,"transitionend"),i);R(n,"transitionend transitioncanceled",({type:l})=>{clearTimeout(a),N(n,"uk-transition"),h(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),l==="transitioncanceled"?r():o(n)},{self:!0}),y(n,"uk-transition"),h(n,{transitionProperty:Object.keys(e).map(Yi).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:s,...e})})))}const I={start:tr,async stop(t){m(t,"transitionend"),await Promise.resolve()},async cancel(t){m(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return B(t,"uk-transition")}},Ce="uk-animation-";function Ls(t,e,i=200,s,n){return Promise.all(k(t).map(o=>new Promise((r,a)=>{m(o,"animationcanceled");const l=setTimeout(()=>m(o,"animationend"),i);R(o,"animationend animationcanceled",({type:c})=>{clearTimeout(l),c==="animationcanceled"?a():r(o),h(o,"animationDuration",""),Gi(o,`${Ce}\\S*`)},{self:!0}),h(o,"animationDuration",`${i}ms`),y(o,e,Ce+(n?"leave":"enter")),ot(e,Ce)&&(s&&y(o,`uk-transform-origin-${s}`),n&&y(o,`${Ce}reverse`))})))}const er=new RegExp(`${Ce}(enter|leave)`),gt={in:Ls,out(t,e,i,s){return Ls(t,e,i,s,!0)},inProgress(t){return er.test(p(t,"class"))},cancel(t){m(t,"animationcanceled")}};function ir(t){if(document.readyState!=="loading"){t();return}R(document,"DOMContentLoaded",t)}function G(t,...e){return e.some(i=>{var s;return((s=t==null?void 0:t.tagName)==null?void 0:s.toLowerCase())===i.toLowerCase()})}function Ki(t){return t=w(t),t.innerHTML="",t}function Nt(t,e){return V(e)?w(t).innerHTML:L(Ki(t),e)}const sr=ti("prepend"),L=ti("append"),Ze=ti("before"),Qe=ti("after");function ti(t){return function(e,i){var s;const n=k(O(i)?zt(i):i);return(s=w(e))==null||s[t](...n),Ws(n)}}function at(t){k(t).forEach(e=>e.remove())}function ei(t,e){for(e=H(Ze(t,e));e.firstChild;)e=e.firstChild;return L(e,t),e}function Zi(t,e){return k(k(t).map(i=>i.hasChildNodes()?ei(k(i.childNodes),e):L(i,e)))}function Te(t){k(t).map(A).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const nr=/^\s*<(\w+|!)[^>]*>/,or=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function zt(t){const e=or.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return nr.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Ws(i.childNodes)}function Ws(t){return t.length>1?t:t[0]}function Tt(t,e){if(te(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;Tt(t,e),t=i}}function w(t,e){return Rs(t)?H(zt(t)):ji(t,e)}function F(t,e){return Rs(t)?k(zt(t)):Ie(t,e)}function Rs(t){return O(t)&&ot(t.trim(),"<")}const Ft={width:["left","right"],height:["top","bottom"]};function b(t){const e=te(t)?H(t).getBoundingClientRect():{height:et(t),width:Ee(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 _(t,e){const i=b(t);if(t){const{scrollY:n,scrollX:o}=ie(t),r={height:n,width:o};for(const a in Ft)for(const l of Ft[a])i[l]+=r[a]}if(!e)return i;const s=h(t,"position");It(h(t,["left","top"]),(n,o)=>h(t,o,e[o]-i[o]+$(s==="absolute"&&n==="auto"?ii(t)[o]:n)))}function ii(t){let{top:e,left:i}=_(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=H(t);let r=o||n;for(;r&&(r===s||r===n)&&h(r,"position")==="static";)r=r.parentNode;if(te(r)){const a=_(r);e-=a.top+$(h(r,"borderTopWidth")),i-=a.left+$(h(r,"borderLeftWidth"))}return{top:e-$(h(t,"marginTop")),left:i-$(h(t,"marginLeft"))}}function Ht(t){t=H(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+$(h(t,"borderTopWidth")),e[1]+=t.offsetLeft+$(h(t,"borderLeftWidth")),h(t,"position")==="fixed"){const i=ie(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const et=js("height"),Ee=js("width");function js(t){const e=Et(t);return(i,s)=>{if(V(s)){if(Qt(i))return i[`inner${e}`];if(qe(i)){const n=i.documentElement;return Math.max(n[`offset${e}`],n[`scroll${e}`])}return i=H(i),s=h(i,t),s=s==="auto"?i[`offset${e}`]:$(s)||0,s-le(i,t)}else return h(i,t,!s&&s!==0?"":+s+le(i,t)+"px")}}function le(t,e,i="border-box"){return h(t,"boxSizing")===i?Dt(Ft[e].map(Et),s=>$(h(t,`padding${s}`))+$(h(t,`border${s}Width`))):0}function si(t){for(const e in Ft)for(const i in Ft[e])if(Ft[e][i]===t)return Ft[e][1-i];return t}function lt(t,e="width",i=window,s=!1){return O(t)?Dt(ar(t),n=>{const o=hr(n);return o?cr(o==="vh"?ur():o==="vw"?Ee(ie(i)):s?i[`offset${Et(e)}`]:b(i)[e],n):n}):$(t)}const rr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,ar=pt(t=>t.toString().replace(/\s/g,"").match(rr)||[]),lr=/(?:v[hw]|%)$/,hr=pt(t=>(t.match(lr)||[])[0]);function cr(t,e){return t*$(e)/100}let Pe,he;function ur(){return Pe||(he||(he=w("<div>"),h(he,{height:"100vh",position:"fixed"}),x(window,"resize",()=>Pe=null)),L(document.body,he),Pe=he.clientHeight,at(he),Pe)}const Lt=typeof window<"u",X=Lt&&document.dir==="rtl",Wt=Lt&&"ontouchstart"in window,ce=Lt&&window.PointerEvent,mt=ce?"pointerdown":Wt?"touchstart":"mousedown",ni=ce?"pointermove":Wt?"touchmove":"mousemove",_t=ce?"pointerup":Wt?"touchend":"mouseup",Rt=ce?"pointerenter":Wt?"":"mouseenter",ue=ce?"pointerleave":Wt?"":"mouseleave",oi=ce?"pointercancel":"touchcancel",J={reads:[],writes:[],read(t){return this.reads.push(t),ts(),t},write(t){return this.writes.push(t),ts(),t},clear(t){Us(this.reads,t),Us(this.writes,t)},flush:Qi};function Qi(t){qs(J.reads),qs(J.writes.splice(0)),J.scheduled=!1,(J.reads.length||J.writes.length)&&ts(t+1)}const dr=4;function ts(t){J.scheduled||(J.scheduled=!0,t&&t<dr?Promise.resolve().then(()=>Qi(t)):requestAnimationFrame(()=>Qi(1)))}function qs(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Us(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function es(){}es.prototype={positions:[],init(){this.positions=[];let t;this.unbind=x(document,"mousemove",e=>t=ae(e)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:o}=e,[r]=this.positions,a=se(this.positions),l=[r,a];return Ge(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const d=fr(l,u);return d&&Ge(d,e)})}};function fr([{x:t,y:e},{x:i,y:s}],[{x:n,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-n)*(s-e);if(l===0)return!1;const c=((r-n)*(e-o)-(a-o)*(t-n))/l;return c<0?!1:{x:t+c*(i-t),y:e+c*(s-e)}}function is(t,e,i={},{intersecting:s=!0}={}){const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of k(t))n.observe(o);return n}const pr=Lt&&window.ResizeObserver;function ri(t,e,i={box:"border-box"}){return pr?Ys(ResizeObserver,t,e,i):(gr(),_e.add(e),{observe:S,unobserve:S,disconnect(){_e.delete(e)}})}let _e;function gr(){if(_e)return;_e=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const i of _e)i()}};x(window,"load resize",e),x(document,"loadedmetadata load",e,!0)}function Vs(t,e,i){return Ys(MutationObserver,t,e,i)}function Ys(t,e,i,s){const n=new t(i);for(const o of k(e))n.observe(o,s);return n}function Gs(t){if(li(t)&&ss(t,{func:"playVideo",method:"play"}),ai(t))try{t.play().catch(S)}catch{}}function Xs(t){li(t)&&ss(t,{func:"pauseVideo",method:"pause"}),ai(t)&&t.pause()}function Js(t){li(t)&&ss(t,{func:"mute",method:"setVolume",value:0}),ai(t)&&(t.muted=!0)}function Ks(t){return ai(t)||li(t)}function ai(t){return G(t,"video")}function li(t){return G(t,"iframe")&&(Zs(t)||Qs(t))}function Zs(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Qs(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function ss(t,e){await vr(t),tn(t,e)}function tn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const ns="_ukPlayer";let mr=0;function vr(t){if(t[ns])return t[ns];const e=Zs(t),i=Qs(t),s=++mr;let n;return t[ns]=new Promise(o=>{e&&R(t,"load",()=>{const r=()=>tn(t,{event:"listening",id:s});n=setInterval(r,100),r()}),R(window,"message",o,!1,({data:r})=>{try{return r=JSON.parse(r),e&&(r==null?void 0:r.id)===s&&r.event==="onReady"||i&&Number(r==null?void 0:r.player_id)===s}catch{}}),t.src=`${t.src}${g(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(n))}function os(t,e=0,i=0){return j(t)?Fi(...jt(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=ht(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(_(t))):!1}function en(t,{offset:e=0}={}){const i=j(t)?vt(t,!1,["hidden"]):[];return i.reduce((r,a,l)=>{const{scrollTop:c,scrollHeight:u,offsetHeight:d}=a,f=ht(a),v=u-f.height,{height:C,top:z}=i[l-1]?ht(i[l-1]):_(t);let M=Math.ceil(z-f.top-e+c);return e>0&&d<C+e?M+=e:e=0,M>v?(e-=M-v,M=v):M<0&&(e-=M,M=0),()=>s(a,M-c).then(r)},()=>Promise.resolve())();function s(r,a){return new Promise(l=>{const c=r.scrollTop,u=n(Math.abs(a)),d=Date.now();(function f(){const v=o(Q((Date.now()-d)/u));r.scrollTop=c+a*v,v===1?l():requestAnimationFrame(f)})()})}function n(r){return 40*Math.pow(r,.375)}function o(r){return .5*(1-Math.cos(Math.PI*r))}}function rs(t,e=0,i=0){if(!j(t))return 0;const[s]=vt(t,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=ht(s),a=n-r,l=Ht(t)[0]-Ht(s)[0],c=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return Q((o-c)/(u-c))}function vt(t,e=!1,i=[]){const s=sn(t);let n=ne(t).reverse();n=n.slice(n.indexOf(s)+1);const o=xt(n,r=>h(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>h(r,"overflow").split(" ").some(a=>g(["auto","scroll",...i],a))&&(!e||r.scrollHeight>ht(r).height))).reverse()}function jt(t){return vt(t,!1,["hidden","clip"])}function ht(t){const e=ie(t),{visualViewport:i,document:{documentElement:s}}=e;let n=t===sn(t)?e:t;if(Qt(n)&&i){let{height:r,width:a,scale:l,pageTop:c,pageLeft:u}=i;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:c,left:u,bottom:c+r,right:u+a}}let o=_(n);if(h(n,"display")==="inline")return o;for(let[r,a,l,c]of[["width","x","left","right"],["height","y","top","bottom"]])Qt(n)?n=s:o[l]+=$(h(n,`border-${l}-width`)),o[r]=o[a]=n[`client${Et(r)}`],o[c]=o[r]+o[l];return o}function sn(t){return ie(t).document.scrollingElement}const ct=[["width","x","left","right"],["height","y","top","bottom"]];function nn(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},Z(e)||(e=[e,e]),_(t,on(t,e,i))}function on(t,e,i){const s=rn(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[c,,u,d]]of Object.entries(ct)){const f=wr(t,e[l],o,n,l);if(hi(s,f,l))continue;let v=0;if(r[l]==="flip"){const C=i.attach.target[l];if(C===d&&s[d]<=f[d]||C===u&&s[u]>=f[u])continue;v=$r(t,e,i,l)[u]-s[u];const z=br(t,e[l],o,l);if(!hi(as(s,v,l),z,l)){if(hi(s,z,l))continue;if(i.recursion)return!1;const M=xr(t,e,i);if(M&&hi(M,z,1-l))return M;continue}}else if(r[l]==="shift"){const C=_(e[l]),{offset:z}=i;v=Q(Q(s[u],f[u],f[d]-s[c]),C[u]-s[c]+z[l],C[d]-z[l])-s[u]}a=as(a,v,l)}return a}function rn(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=_(t);for(const[r,[a,,l,c]]of Object.entries(ct)){const u=s.target[r]===s.element[r]?ht(e[r]):_(e[r]);o=as(o,u[l]-o[l]+an(s.target[r],c,u[a])-an(s.element[r],c,o[a])+ +n[r],r)}return o}function as(t,e,i){const[,s,n,o]=ct[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function an(t,e,i){return t==="center"?i/2:t===e?i:0}function wr(t,e,i,s,n){let o=hn(...ln(t,e).map(ht));return i&&(o[ct[n][2]]+=i,o[ct[n][3]]-=i),s&&(o=hn(o,_(Z(s)?s[n]:s))),o}function br(t,e,i,s){const[n,o,r,a]=ct[s],[l]=ln(t,e),c=ht(l);return["auto","scroll"].includes(h(l,`overflow-${o}`))&&(c[r]-=l[`scroll${Et(r)}`],c[a]=c[r]+l[`scroll${Et(n)}`]),c[r]+=i,c[a]-=i,c}function ln(t,e){return jt(e).filter(i=>D(t,i))}function hn(...t){let e={};for(const i of t)for(const[,,s,n]of ct)e[s]=Math.max(e[s]||0,i[s]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function hi(t,e,i){const[,,s,n]=ct[i];return t[s]>=e[s]&&t[n]<=e[n]}function $r(t,e,{offset:i,attach:s},n){return rn(t,e,{attach:{element:cn(s.element,n),target:cn(s.target,n)},offset:yr(i,n)})}function xr(t,e,i){return on(t,e,{...i,attach:{element:i.attach.element.map(un).reverse(),target:i.attach.target.map(un).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function cn(t,e){const i=[...t],s=ct[e].indexOf(t[e]);return~s&&(i[e]=ct[e][1-s%2+2]),i}function un(t){for(let e=0;e<ct.length;e++){const i=ct[e].indexOf(t);if(~i)return ct[1-e][i%2+2]}}function yr(t,e){return t=[...t],t[e]*=-1,t}var kr=Object.freeze({__proto__:null,$:w,$$:F,Animation:gt,Deferred:Je,Dimensions:Xe,MouseTracker:es,Transition:I,addClass:y,after:Qe,append:L,apply:Tt,assign:yt,attr:p,before:Ze,boxModelAdjust:le,camelize:we,children:P,clamp:Q,closest:Y,createEvent:Mt,css:h,data:tt,dimensions:b,each:It,empty:Ki,endsWith:Zt,escape:qi,fastdom:J,filter:ke,find:ji,findAll:Ie,findIndex:xt,flipPosition:si,fragment:zt,getEventPos:ae,getIndex:dt,getTargetedElement:Ri,hasAttr:bt,hasClass:B,hasOwn:$t,hasTouch:Wt,height:et,html:Nt,hyphenate:Kt,inBrowser:Lt,includes:g,index:oe,intersectRect:Fi,isArray:Z,isBoolean:Bi,isDocument:qe,isElement:te,isEmpty:be,isEqual:Ve,isFocusable:Ke,isFunction:it,isInView:os,isInput:Wi,isNode:Ue,isNumber:ee,isNumeric:wt,isObject:Pt,isPlainObject:kt,isRtl:X,isSameSiteAnchor:re,isString:O,isTag:G,isTouch:Ct,isUndefined:V,isVideo:Ks,isVisible:j,isVoidElement:Li,isWindow:Qt,last:se,matches:E,memoize:pt,mute:Js,noop:S,observeIntersection:is,observeMutation:Vs,observeResize:ri,off:Bt,offset:_,offsetPosition:Ht,offsetViewport:ht,on:x,once:R,overflowParents:jt,parent:A,parents:ne,pause:Xs,pick:zi,play:Gs,pointInRect:Ge,pointerCancel:oi,pointerDown:mt,pointerEnter:Rt,pointerLeave:ue,pointerMove:ni,pointerUp:_t,position:ii,positionAt:nn,prepend:sr,propName:Yi,query:rt,queryAll:Se,ready:ir,remove:at,removeAttr:$e,removeClass:N,removeClasses:Gi,replaceClass:Xi,scrollIntoView:en,scrollParents:vt,scrolledOver:rs,selFocusable:ye,selInput:xe,sortBy:Ye,startsWith:ot,sumBy:Dt,swap:Ni,toArray:Oi,toBoolean:Mi,toEventTargets:Vi,toFloat:$,toNode:H,toNodes:k,toNumber:St,toPx:lt,toWindow:ie,toggleClass:q,trigger:m,ucfirst:Et,uniqueBy:Ds,unwrap:Te,width:Ee,within:D,wrapAll:ei,wrapInner:Zi});function Sr(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,s]of Object.entries(e))dn(t,s,i);t._initial=!0}function dn(t,e,i){t._watches.push({name:i,...kt(e)?e:{handler:e}})}function Ir(t,e){for(const{name:i,handler:s,immediate:n=!0}of t._watches)(t._initial?n:$t(e,i)&&!Ve(e[i],t[i]))&&s.call(t,t[i],t._initial?void 0:e[i]);t._initial=!1}function Cr(t){t._data={},t._updates=[...t.$options.update||[]]}function Tr(t,e){t._updates.unshift(e)}function Er(t){delete t._data}function ci(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,J.read(()=>{t._connected&&Pr(t,t._queued),delete t._queued})),t._queued.add(e.type||e))}function Pr(t,e){for(const{read:i,write:s,events:n=[]}of t._updates){if(!e.has("update")&&!n.some(r=>e.has(r)))continue;let o;i&&(o=i.call(t,t._data,e),o&&kt(o)&&yt(t._data,o)),s&&o!==!1&&J.write(()=>{t._connected&&s.call(t,t._data,e)})}}function _r(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)fn(t,i,e[i])}function fn(t,e,i){t._hasComputed=!0,Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return $t(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,V(n[e])&&delete n[e]}})}function Ar(t){t._hasComputed&&(Tr(t,{read:()=>Ir(t,pn(t)),events:["resize","computed"]}),Dr(),Ae.add(t))}function Or(t){Ae==null||Ae.delete(t),pn(t)}function pn(t){const e={...t._computed};return t._computed={},e}let ls,Ae;function Dr(){ls||(Ae=new Set,ls=new MutationObserver(()=>{for(const t of Ae)ci(t,"computed")}),ls.observe(document,{childList:!0,subtree:!0}))}function Br(t){t._events=[];for(const e of t.$options.events||[])if($t(e,"handler"))hs(t,e);else for(const i in e)hs(t,e[i],i)}function Mr(t){t._events.forEach(e=>e()),delete t._events}function hs(t,e,i){let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:c,self:u}=kt(e)?e:{name:i,handler:e};if(n=it(n)?n.call(t,t):n||t.$el,Z(n)){n.forEach(d=>hs(t,{...e,el:d},i));return}!n||c&&!c.call(t)||t._events.push(x(n,s,l?O(l)?l:l.call(t,t):null,O(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Nr(t){t._observers=[];for(const e of t.$options.observe||[])if($t(e,"handler"))gn(t,e);else for(const i of e)gn(t,i)}function cs(t,...e){t._observers.push(...e)}function zr(t){for(const e of t._observers)e.disconnect()}function gn(t,e){let{observe:i,target:s=t.$el,handler:n,options:o,filter:r,args:a}=e;if(r&&!r.call(t,t))return;const l=`_observe${t._observers.length}`;it(s)&&!$t(t,l)&&fn(t,l,()=>s.call(t,t)),n=O(n)?t[n]:n.bind(t),it(o)&&(o=o.call(t,t));const c=$t(t,l)?t[l]:s,u=i(c,n,o,a);it(s)&&Z(t[l])&&u.unobserve&&dn(t,{handler:Fr(u),immediate:!1},l),cs(t,u)}function Fr(t){return(e,i)=>{for(const s of i)!g(e,s)&&t.unobserve(s);for(const s of e)!g(i,s)&&t.observe(s)}}const U={};U.events=U.watch=U.observe=U.created=U.beforeConnect=U.connected=U.beforeDisconnect=U.disconnected=U.destroy=us,U.args=function(t,e){return e!==!1&&us(e||t)},U.update=function(t,e){return Ye(us(t,it(e)?{read:e}:e),"order")},U.props=function(t,e){if(Z(e)){const i={};for(const s of e)i[s]=String;e=i}return U.methods(t,e)},U.computed=U.methods=function(t,e){return e?t?{...t,...e}:e:t},U.i18n=U.data=function(t,e,i){return i?mn(t,e,i):e?t?function(s){return mn(t,e,s)}:e:t};function mn(t,e,i){return U.computed(it(t)?t.call(i,i):t,it(e)?e.call(i,i):e)}function us(t,e){return t=t&&!Z(t)?[t]:t,e?t?t.concat(e):Z(e)?e:[e]:t}function Hr(t,e){return V(e)?t:e}function Oe(t,e,i){const s={};if(it(e)&&(e=e.options),e.extends&&(t=Oe(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=Oe(t,o,i);for(const o in t)n(o);for(const o in e)$t(t,o)||n(o);function n(o){s[o]=(U[o]||Hr)(t[o],e[o],i)}return s}function De(t,e=[]){try{return t?ot(t,"{")?JSON.parse(t):e.length&&!g(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!V(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function ds(t,e){return t===Boolean?Mi(e):t===Number?St(e):t==="list"?Lr(e):t===Object&&O(e)?De(e):t?t(e):e}function Lr(t){return Z(t)?t:O(t)?t.split(/,(?![^(]*\))/).map(e=>wt(e)?St(e):Mi(e.trim())):[t]}function Wr(t){const e=vn(t.$options);for(let s in e)V(e[s])||(t.$props[s]=e[s]);const i=[t.$options.computed,t.$options.methods];for(let s in t.$props)s in e&&Rr(i,s)&&(t[s]=t.$props[s])}function vn(t){const e={},{args:i=[],props:s={},el:n,id:o}=t;if(!s)return e;for(const a in s){const l=Kt(a);let c=tt(n,l);V(c)||(c=s[a]===Boolean&&c===""?!0:ds(s[a],c),!(l==="target"&&ot(c,"_"))&&(e[a]=c))}const r=De(tt(n,o),i);for(const a in r){const l=we(a);V(s[l])||(e[l]=ds(s[l],r[a]))}return e}function Rr(t,e){return t.every(i=>!i||!$t(i,e))}function jr(t){const{$options:e,$props:i}=t,{id:s,attrs:n,props:o,el:r}=e;if(!o||n===!1)return;const a=Z(n)?n:Object.keys(o),l=a.map(u=>Kt(u)).concat(s),c=new MutationObserver(u=>{const d=vn(e);u.some(({attributeName:f})=>{const v=f.replace("data-","");return(v===s?a:[we(v),we(f)]).some(C=>!V(d[C])&&d[C]!==i[C])})&&t.$reset()});c.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>`data-${u}`))}),cs(t,c)}function de(t,e){var i;(i=t.$options[e])==null||i.forEach(s=>s.call(t))}function fs(t){t._connected||(Wr(t),de(t,"beforeConnect"),t._connected=!0,Br(t),Cr(t),Sr(t),Nr(t),jr(t),Ar(t),de(t,"connected"),ci(t))}function ps(t){t._connected&&(de(t,"beforeDisconnect"),Mr(t),Er(t),zr(t),Or(t),de(t,"disconnected"),t._connected=!1)}let qr=0;function wn(t,e={}){e.data=Yr(e,t.constructor.options),t.$options=Oe(t.constructor.options,e,t),t.$props={},t._uid=qr++,Ur(t),Vr(t),_r(t),de(t,"created"),e.el&&t.$mount(e.el)}function Ur(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}function Vr(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}function Yr({data:t={}},{args:e=[],props:i={}}){Z(t)&&(t=t.slice(0,e.length).reduce((s,n,o)=>(kt(n)?yt(s,n):s[e[o]]=n,s),{}));for(const s in t)V(t[s])?delete t[s]:i[s]&&(t[s]=ds(i[s],t[s]));return t}const ut=function(t){wn(this,t)};ut.util=kr,ut.options={},ut.version="3.16.11-dev.cc1aeb568";const Gr="uk-",qt="__uikit__",fe={};function bn(t,e){var i;const s=Gr+Kt(t);if(!e)return kt(fe[s])&&(fe[s]=ut.extend(fe[s])),fe[s];t=we(t),ut[t]=(o,r)=>Be(t,o,r);const n=kt(e)?{...e}:e.options;return n.id=s,n.name=t,(i=n.install)==null||i.call(n,ut,n,t),ut._initialized&&!n.functional&&requestAnimationFrame(()=>Be(t,`[${s}],[data-${s}]`)),fe[s]=n}function Be(t,e,i,...s){const n=bn(t);return n.options.functional?new n({data:kt(e)?e:[e,i,...s]}):e?F(e).map(o)[0]:o();function o(r){const a=ui(r,t);if(a)if(i)a.$destroy();else return a;return new n({el:r,data:i})}}function Ut(t){return(t==null?void 0:t[qt])||{}}function ui(t,e){return Ut(t)[e]}function Xr(t,e){t[qt]||(t[qt]={}),t[qt][e.$options.name]=e}function Jr(t,e){var i;(i=t[qt])==null||delete i[e.$options.name],be(t[qt])||delete t[qt]}function Kr(t){t.component=bn,t.getComponents=Ut,t.getComponent=ui,t.update=$n,t.use=function(i){if(!i.installed)return i.call(null,this),i.installed=!0,this},t.mixin=function(i,s){s=(O(s)?this.component(s):s)||this,s.options=Oe(s.options,i)},t.extend=function(i){i=i||{};const s=this,n=function(r){wn(this,r)};return n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.options=Oe(s.options,i),n.super=s,n.extend=s.extend,n};let e;Object.defineProperty(t,"container",{get(){return e||document.body},set(i){e=w(i)}})}function $n(t,e){t=t?H(t):document.body;for(const i of ne(t).reverse())xn(i,e);Tt(t,i=>xn(i,e))}function xn(t,e){const i=Ut(t);for(const s in i)ci(i[s],e)}function Zr(t){t.prototype.$mount=function(e){const i=this;Xr(e,i),i.$options.el=e,D(e,document)&&fs(i)},t.prototype.$destroy=function(e=!1){const i=this,{el:s}=i.$options;s&&ps(i),de(i,"destroy"),Jr(s,i),e&&at(i.$el)},t.prototype.$create=Be,t.prototype.$emit=function(e){ci(this,e)},t.prototype.$update=function(e=this.$el,i){$n(e,i)},t.prototype.$reset=function(){ps(this),fs(this)},t.prototype.$getComponent=ui,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}function At(t,e=t.$el,i=""){if(e.id)return e.id;let s=`${t.$options.id}-${t._uid}${i}`;return w(`#${s}`)&&(s=At(t,e,`${i}-2`)),s}Kr(ut),Zr(ut);function Qr(t){Lt&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>yn(t)):new MutationObserver((e,i)=>{document.body&&(yn(t),i.disconnect())}).observe(document.documentElement,{childList:!0}))}function yn(t){m(document,"uikit:init",t),document.body&&Tt(document.body,kn),new MutationObserver(e=>e.forEach(ta)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(e=>e.forEach(ea)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0}function ta({addedNodes:t,removedNodes:e}){for(const i of t)Tt(i,kn);for(const i of e)Tt(i,ia)}function ea({target:t,attributeName:e}){var i;const s=Sn(e);if(s){if(bt(t,e)){Be(s,t);return}(i=ui(t,s))==null||i.$destroy()}}function kn(t){const e=Ut(t);for(const i in Ut(t))fs(e[i]);for(const i of t.getAttributeNames()){const s=Sn(i);s&&Be(s,t)}}function ia(t){const e=Ut(t);for(const i in Ut(t))ps(e[i])}function Sn(t){ot(t,"data-")&&(t=t.slice(5));const e=fe[t];return e&&(kt(e)?e:e.options).name}var st={connected(){y(this.$el,this.$options.id)}},Vt={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:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>ot(t[0],e))}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all(k(t).map(n=>{const o=Bi(e)?e:!this.isToggled(n);if(!m(n,`before${o?"show":"hide"}`,[this]))return Promise.reject();const r=(it(i)?i:i===!1||!this.hasAnimation?sa:this.hasTransition?na:oa)(n,o,this),a=o?this.clsEnter:this.clsLeave;y(n,a),m(n,o?"show":"hide",[this]);const l=()=>{N(n,a),m(n,o?"shown":"hidden",[this])};return r?r.then(l,()=>(N(n,a),Promise.reject())):l()})).then(s,S))},isToggled(t=this.$el){return[t]=k(t),B(t,this.clsEnter)?!0:B(t,this.clsLeave)?!1:this.cls?B(t,this.cls.split(" ")[0]):j(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=g(this.cls," ")||e!==B(t,this.cls),i&&q(t,this.cls,g(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),F("[autofocus]",t).some(s=>j(s)?s.focus()||!0:s.blur()),i&&m(t,"toggled",[e,this])}}};function sa(t,e,{_toggle:i}){return gt.cancel(t),I.cancel(t),i(t,e)}async function na(t,e,{animation:i,duration:s,velocity:n,transition:o,_toggle:r}){var a;const[l="reveal",c="top"]=((a=i[0])==null?void 0:a.split("-"))||[],u=[["left","right"],["top","bottom"]],d=u[g(u[0],c)?0:1],f=d[1]===c,C=["width","height"][u.indexOf(d)],z=`margin-${d[0]}`,M=`margin-${c}`;let Ot=b(t)[C];const As=I.inProgress(t);await I.cancel(t),e&&r(t,!0);const Vh=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",z,M].map(zo=>[zo,t.style[zo]])),je=b(t),Os=$(h(t,z)),Bo=$(h(t,M)),Jt=je[C]+Bo;!As&&!e&&(Ot+=Bo);const[Ai]=Zi(t,"<div>");h(Ai,{boxSizing:"border-box",height:je.height,width:je.width,...h(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",M])}),h(t,{padding:0,border:0,minWidth:0,minHeight:0,[M]:0,width:je.width,height:je.height,overflow:"hidden",[C]:Ot});const Mo=Ot/Jt;s=(n*Jt+s)*(e?1-Mo:Mo);const No={[C]:e?Jt:0};f&&(h(t,z,Jt-Ot+Os),No[z]=e?Os:Jt+Os),!f^l==="reveal"&&(h(Ai,z,-Jt+Ot),I.start(Ai,{[z]:e?0:-Jt},s,o));try{await I.start(t,No,s,o)}finally{h(t,Vh),Te(Ai.firstChild),e||r(t,!1)}}function oa(t,e,i){gt.cancel(t);const{animation:s,duration:n,_toggle:o}=i;return e?(o(t,!0),gt.in(t,s[0],n,i.origin)):gt.out(t,s[1]||s[0],n,i.origin).then(()=>o(t,!1))}const T={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function ft(t){return pi(ri,t,"resize")}function di(t){return pi(is,t)}function ra(t){return pi(Vs,t)}function Me(t={}){return di({handler:function(e,i){const{targets:s=this.$el,preload:n=5}=t;for(const o of k(it(s)?s(this):s))F('[loading="lazy"]',o).slice(0,n-1).forEach(r=>$e(r,"loading"));for(const o of e.filter(({isIntersecting:r})=>r).map(({target:r})=>r))i.unobserve(o)},...t})}function fi(t){return pi(function(e,i){return{disconnect:x(e,"scroll",i,{passive:!0,capture:!0})}},{target:()=>window,...t},"scroll")}function In(t){return{observe(e,i){return{observe:S,unobserve:S,disconnect:x(e,mt,i,{passive:!0})}},handler(e){if(!Ct(e))return;const i=ae(e),s="tagName"in e.target?e.target:A(e.target);R(document,`${_t} ${oi} scroll`,n=>{const{x:o,y:r}=ae(n);(n.type!=="scroll"&&s&&o&&Math.abs(i.x-o)>100||r&&Math.abs(i.y-r)>100)&&setTimeout(()=>{m(s,"swipe"),m(s,`swipe${aa(i.x,i.y,o,r)}`)})})},...t}}function pi(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}function aa(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}var Cn={mixins:[st,Vt],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:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items({targets:t},e){return F(t,e)},toggles({toggle:t}){return this.items.map(e=>w(t,e))},contents({content:t}){return this.items.map(e=>{var i;return((i=e._wrapper)==null?void 0:i.firstElementChild)||w(t,e)})}},watch:{items(t,e){if(e||B(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const i=B(this.items.find(s=>D(e,s)),this.clsOpen);gi(e,!i)}this.$emit()}},observe:Me(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;t.type==="keydown"&&t.keyCode!==T.SPACE||(t.preventDefault(),(e=this._off)==null||e.call(this),this._off=ha(t.target),await this.toggle(oe(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=ke(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],s=this.contents[e];if(!i||!s)continue;i.id=At(this,i,`-title-${e}`),s.id=At(this,s,`-content-${e}`);const n=g(t,this.items[e]);p(i,{role:G(i,"a")?"button":null,"aria-controls":s.id,"aria-expanded":n,"aria-disabled":!this.collapsible&&t.length<2&&n}),p(s,{role:"region","aria-labelledby":i.id}),G(s,"ul")&&p(P(s),"role","presentation")}},methods:{async toggle(t,e){t=this.items[dt(t,this.items)];let i=[t];const s=ke(this.items,`.${this.clsOpen}`);!this.multiple&&!g(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&g(s,t))&&await Promise.all(i.map(n=>this.toggleElement(n,!g(s,n),(o,r)=>{if(q(o,this.clsOpen,r),e===!1||!this.animation){gi(w(this.content,o),!r);return}return la(o,r,this)})))}}};function gi(t,e){t&&(t.hidden=e)}async function la(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||w(i,t),t._wrapper||(t._wrapper=ei(i,"<div>"));const a=t._wrapper;h(a,"overflow","hidden");const l=$(h(a,"height"));await I.cancel(a),gi(i,!1);const c=Dt(["marginTop","marginBottom"],d=>h(i,d))+b(i).height,u=l/c;s=(n*c+s)*(e?1-u:u),h(a,"height",l),await I.start(a,{height:e?c:0},s,o),Te(i),delete t._wrapper,e||gi(i,!0)}function ha(t){const[e]=vt(t,!0);let i;return function s(){i=requestAnimationFrame(()=>{const{top:n}=t.getBoundingClientRect();n<0&&(e.scrollTop+=n),s()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var ca={mixins:[st,Vt],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-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,ua),this.$destroy(!0)}}};function ua(t,e,{duration:i,transition:s,velocity:n}){const o=$(h(t,"height"));return h(t,"height",o),I.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+i,s)}var Tn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!bt(this.$el,"preload")&&(this.$el.preload="none"),G(this.$el,"iframe")&&!bt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Js(this.$el)},observe:di({args:{intersecting:!1}}),update:{read({visible:t}){return Ks(this.$el)?{prev:t,visible:j(this.$el)&&h(this.$el,"visibility")!=="hidden",inView:this.inView&&os(this.$el)}:!1},write({prev:t,visible:e,inView:i}){!e||this.inView&&!i?Xs(this.$el):(this.autoplay===!0&&!t||this.inView&&i)&&Gs(this.$el)}}},da={mixins:[Tn],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:ft({target:({$el:t})=>[t,En(t)||A(t)]}),update:{read(){const{ratio:t,cover:e}=Xe,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!s||!n){const c={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};s?o=t(c,"width",s):n?o=t(c,"height",n):o=c}const{offsetHeight:r,offsetWidth:a}=En(i)||A(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write({height:t,width:e}){h(this.$el,{height:t,width:e})},events:["resize"]}};function En(t){for(;t=A(t);)if(h(t,"position")!=="static")return t}var Pn={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${X?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=g(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:si(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in o)o[l].reverse();s.reverse(),n.reverse()}const r=fa(t),a=b(t);h(t,{top:-a.height,left:-a.width}),nn(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t){return lt(this.offset===!1?h(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(g(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:lt(h(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(g(["left","top"],this.align)?1:-1)},getViewportOffset(t){return lt(h(t,"--uk-position-viewport-offset"))}}};function fa(t){const[e]=vt(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}var Ne={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&w(t)}}};let gs;function _n(t){const e=x(t,"touchmove",s=>{if(s.targetTouches.length!==1||E(s.target,'input[type="range"'))return;let[{scrollHeight:n,clientHeight:o}]=vt(s.target);o>=n&&s.cancelable&&s.preventDefault()},{passive:!1});if(gs)return e;gs=!0;const{scrollingElement:i}=document;return h(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Ee(window)-i.clientWidth||""}),()=>{gs=!1,e(),h(i,{overflowY:"",touchAction:"",paddingRight:""})}}let K;var An={mixins:[Ne,Pn,Vt],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},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:["uk-animation-fade"],cls:"uk-open",container:!1},computed:{boundary({boundary:t,boundaryX:e,boundaryY:i},s){return[rt(e||t,s)||window,rt(i||t,s)||window]},target({target:t,targetX:e,targetY:i},s){return e=e||t||this.targetEl,i=i||t||this.targetEl,[e===!0?window:rt(e,s),i===!0?window:rt(i,s)]}},created(){this.tracker=new es},beforeConnect(){this.clsDrop=this.$props.clsDrop||`uk-${this.$options.name}`},connected(){y(this.$el,"uk-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=ma(this)),this._style=zi(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),K=null),h(this.$el,this._style)},observe:Me({target:({toggle:t,$el:e})=>rt(t,e),targets:({$el:t})=>t}),events:[{name:"click",delegate(){return".uk-drop-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&re(e)&&!D(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),E(this.$el,":focus,:hover")||this.hide()}},{name:`${Rt} focusin`,filter(){return g(this.mode,"hover")},handler(t){Ct(t)||this.clearTimers()}},{name:`${ue} focusout`,filter(){return g(this.mode,"hover")},handler(t){!Ct(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){p(this.targetEl,"aria-expanded",e?!0:null),e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){K=this,this.tracker.init();const t=[va(this),ba(this),$a(this),this.autoUpdate&&wa(this),!this.bgScroll&&_n(this.$el)];R(this.$el,"hide",()=>t.forEach(e=>e&&e()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){if(this.$el!==t){K=K===null&&D(t,this.$el)&&this.isToggled()?this:K;return}K=this.isActive()?null:K,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!B(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(K){if(e&&K.isDelaying){this.showTimer=setTimeout(()=>E(t,":hover")&&this.show(),10);return}let i;for(;K&&i!==K&&!D(this.$el,K.$el);)i=K,K.hide(!1,!1)}this.container&&A(this.$el)!==this.container&&L(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=pa(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return K===this},position(){N(this.$el,"uk-drop-stack"),h(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(n=>ga(this.$el,n)),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,r]]of i)this.axis!==o&&g([o,!0],this.stretch)&&h(this.$el,{[r]:Math.min(_(this.boundary[n])[r],t[n][r]-2*e),[`overflow-${o}`]:"auto"});const s=t[0].width-2*e;this.$el.hidden=!1,h(this.$el,"maxWidth",""),this.$el.offsetWidth>s&&y(this.$el,"uk-drop-stack"),h(this.$el,"maxWidth",s),this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,r,a,l]]of i)if(this.axis===o&&g([o,!0],this.stretch)){const c=Math.abs(this.getPositionOffset(this.$el)),u=_(this.target[n]),d=_(this.$el);h(this.$el,{[r]:(u[a]>d[a]?u[a]-Math.max(_(this.boundary[n])[a],t[n][a]+e):Math.min(_(this.boundary[n])[l],t[n][l]-e)-u[l])-c,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function pa(t){const e=[];return Tt(t,i=>h(i,"position")!=="static"&&e.push(i)),e}function ga(t,e){return ht(jt(e).find(i=>D(t,i)))}function ma(t){const{$el:e}=t.$create("toggle",rt(t.toggle,t.$el),{target:t.$el,mode:t.mode});return p(e,"aria-haspopup",!0),e}function va(t){const e=()=>t.$emit(),i=x(window,"resize",e),s=ri(jt(t.$el).concat(t.target),e);return()=>{s.disconnect(),i()}}function wa(t){return x([document,...jt(t.$el)],"scroll",()=>t.$emit(),{passive:!0})}function ba(t){return x(document,"keydown",e=>{e.keyCode===T.ESC&&t.hide(!1)})}function $a(t){return x(document,mt,({target:e})=>{D(e,t.$el)||R(document,`${_t} ${oi} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===_t&&e===n&&!(t.targetEl&&D(e,t.targetEl))&&t.hide(!1)},!0)})}var On={mixins:[st,Ne],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},data:{align:X?"right":"left",clsDrop:"uk-dropdown",clsDropbar:"uk-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor({dropbarAnchor:t},e){return rt(t,e)||e},dropbar({dropbar:t}){return t?(t=this._dropbar||rt(t,this.$el)||w(`+ .${this.clsDropbar}`,this.$el),t||(this._dropbar=w("<div></div>"))):null},dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){var i;const s=F(`.${t}`,e);if(this.dropContainer!==e)for(const n of F(`.${t}`,this.dropContainer)){const o=(i=this.getDropdown(n))==null?void 0:i.targetEl;!g(s,n)&&o&&D(o,this.$el)&&s.push(n)}return s},items({selNavItem:t},e){return F(t,e)}},watch:{dropbar(t){y(t,"uk-dropbar","uk-dropbar-top",this.clsDropbar,`uk-${this.$options.name}-dropbar`)},dropdowns(t){this.$create("drop",t.filter(e=>!this.getDropdown(e)),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:this.boundary===!0?this.$el:this.boundary})},items(t){p(t,"tabindex",-1),p(t[0],"tabindex",0)}},disconnected(){at(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:t,type:e}){const i=this.getActive();if(i&&g(i.mode,"hover")&&i.targetEl&&!D(i.targetEl,t)&&!i.isDelaying&&i.hide(!1),e==="focusin")for(const s of this.items)p(s,"tabindex",t===s?0:-1)}},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,s=this.getActive();i===T.DOWN&&bt(e,"aria-expanded")&&(t.preventDefault(),!s||s.targetEl!==e?(e.click(),R(this.dropContainer,"show",({target:n})=>Bn(n))):Bn(s.$el)),Dn(t,this.items,s)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){var e;const{current:i,keyCode:s}=t;if(!g(this.dropdowns,i))return;const n=this.getActive();let o=-1;if(s===T.HOME?o=0:s===T.END?o="last":s===T.UP?o="previous":s===T.DOWN?o="next":s===T.ESC&&((e=n.targetEl)==null||e.focus()),~o){t.preventDefault();const r=F(ye,i);r[dt(o,r,xt(r,a=>E(a,":focus")))].focus()}Dn(t,this.items,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&g(t.mode,"hover")&&!this.dropdowns.some(e=>E(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&Qe(this.dropbarAnchor,this.dropbar),y(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const s=ne(t,`.${this.clsDrop}`).concat(t).map(a=>_(a)),n=Math.min(...s.map(({top:a})=>a)),o=Math.max(...s.map(({bottom:a})=>a)),r=_(this.dropbar);h(this.dropbar,"top",this.dropbar.offsetTop-(r.top-n)),this.transitionTo(o-n+$(h(t,"marginBottom")),t)};this._observer=ri([e.$el,...e.target],i),i()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();E(this.dropbar,":hover")&&e.$el===t.target&&!this.items.some(i=>e.targetEl!==i&&E(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){var e;if(!this.isDropbarDrop(t))return;(e=this._observer)==null||e.disconnect();const i=this.getActive();(!i||i.$el===t)&&this.transitionTo(0)}}],methods:{getActive(){var t;return g(this.dropdowns,(t=K)==null?void 0:t.$el)&&K},async transitionTo(t,e){const{dropbar:i}=this,s=et(i);e=s<t&&e,await I.cancel([e,i]),h(e,"clipPath",`polygon(0 0,100% 0,100% ${s}px,0 ${s}px)`),et(i,s),await Promise.all([I.start(i,{height:t},this.duration),I.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration).finally(()=>h(e,{clipPath:""}))]).catch(S)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&B(t,this.clsDrop)}}};function Dn(t,e,i){var s,n,o;const{current:r,keyCode:a}=t;let l=-1;a===T.HOME?l=0:a===T.END?l="last":a===T.LEFT?l="previous":a===T.RIGHT?l="next":a===T.TAB&&((s=i.targetEl)==null||s.focus(),(n=i.hide)==null||n.call(i,!1)),~l&&(t.preventDefault(),(o=i.hide)==null||o.call(i,!1),e[dt(l,e,e.indexOf(i.targetEl||r))].focus())}function Bn(t){var e;w(":focus",t)||(e=w(ye,t))==null||e.focus()}var xa={mixins:[st],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return w(xe,e)},state(){return this.input.nextElementSibling},target({target:t},e){return t&&(t===!0&&A(this.input)===e&&this.input.nextElementSibling||w(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Wi(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:E(i,"select")&&(s=F("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return Y(this.$el,"form")},handler(){this.$emit()}}]},Mn={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},observe:[ra({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),ft({target:({$el:t})=>[t,...Oi(t.children)]})],update:{read(){const t=ms(this.$el.children);return{rows:t,columns:ya(t)}},write({columns:t,rows:e}){for(const i of e)for(const s of i)q(s,this.margin,e[0]!==i),q(s,this.firstColumn,t[0].includes(s))},events:["resize"]}};function ms(t){return Nn(t,"top","bottom")}function ya(t){const e=[];for(const i of t){const s=Nn(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return X?e.reverse():e}function Nn(t,e,i){const s=[[]];for(const n of t){if(!j(n))continue;let o=mi(n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=mi(a[0]):(o=mi(n,!0),l=mi(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function mi(t,e=!1){let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Ht(t)),{top:i,left:s,bottom:i+n,right:s+o}}var ka={extends:Mn,mixins:[st],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&y(this.$el,"uk-flex-top uk-flex-wrap-top")},observe:fi({filter:({parallax:t})=>t}),update:[{write({columns:t}){q(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||zn(this.$el))return t.translates=!1,!1;let s=!1;const n=P(this.$el),o=e.map(c=>Dt(c,"offsetHeight")),r=Ia(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(c=>Ye(c,"offsetTop")),s=Sa(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((c,u,d)=>Math.max(c,u+r+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write({height:t,padding:e}){h(this.$el,"paddingBottom",e||""),t!==!1&&h(this.$el,"height",t)},events:["resize"]},{read(){return this.parallax&&zn(this.$el)?!1:{scrolled:this.parallax?rs(this.$el)*Math.abs(this.parallax):!1}},write({columns:t,scrolled:e,translates:i}){e===!1&&!i||t.forEach((s,n)=>s.forEach((o,r)=>h(o,"transform",!e&&!i?"":`translateY(${(i&&-i[n][r])+(e?n%2?e:e/8:0)}px)`)))},events:["scroll","resize"]}]};function zn(t){return P(t).some(e=>h(e,"position")==="absolute")}function Sa(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function Ia(t,e){const[i]=t.filter(s=>B(s,e));return $(i?h(i,"marginTop"):h(t[0],"paddingLeft"))}var Ca={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements({target:t},e){return F(t,e)}},observe:ft({target:({$el:t,elements:e})=>[t,...e]}),update:{read(){return{rows:(this.row?ms(this.elements):[this.elements]).map(Ta)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((s,n)=>h(s,"minHeight",e[n]))},events:["resize"]}};function Ta(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(Ea);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Ea(t){const e=zi(t.style,["display","minHeight"]);j(t)||h(t,"display","block","important"),h(t,"minHeight","");const i=b(t).height-le(t,"height","content-box");return h(t,e),i}var Pa={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:ft({target:({$el:t})=>[t,...vt(t)]}),update:{read({minHeight:t}){if(!j(this.$el))return!1;let e="";const i=le(this.$el,"height","content-box"),{body:s,scrollingElement:n}=document,[o]=vt(this.$el),{height:r}=ht(o===s?n:o);if(this.expand)e=Math.max(r-(b(o).height-b(this.$el).height)-i,0);else{const a=n===o||s===o;if(e=`calc(${a?"100vh":`${r}px`}`,this.offsetTop)if(a){const l=Ht(this.$el)[0]-Ht(o)[0];e+=l>0&&l<r/2?` - ${l}px`:""}else e+=` - ${h(o,"paddingTop")}`;this.offsetBottom===!0?e+=` - ${b(this.$el.nextElementSibling).height}px`:wt(this.offsetBottom)?e+=` - ${this.offsetBottom}vh`:this.offsetBottom&&Zt(this.offsetBottom,"px")?e+=` - ${$(this.offsetBottom)}px`:O(this.offsetBottom)&&(e+=` - ${b(rt(this.offsetBottom,this.$el)).height}px`),e+=`${i?` - ${i}px`:""})`}return{minHeight:e,prev:t}},write({minHeight:t}){h(this.$el,{minHeight:t}),this.minHeight&&$(h(this.$el,"minHeight"))<this.minHeight&&h(this.$el,"minHeight",this.minHeight)},events:["resize"]}};function Fn(t){return Math.ceil(Math.max(0,...F("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}var Hn={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,attributes:"list"},data:{ratio:1,include:["style","class"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&g(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=Da(t,this.$el);return this.svgEl&&e!==this.svgEl&&at(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},S),this.strokeAnimation&&this.svg.then(t=>{this._connected&&t&&(Wn(t),cs(this,is(t,(e,i)=>{Wn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Li(this.$el)&&(this.$el.hidden=!1),at(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return G(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>R(this.$el,"load",()=>t(this.getSvg()))):Aa(await _a(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)g(this.include,o)&&o in this&&p(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);p(t,r,a)}this.id||$e(t,"id");const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>p(e,o)));const n=p(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>p(t,i[r],$(o)*this.ratio||null))}}};const _a=pt(async t=>t?ot(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Aa(t,e){return e&&g(t,"<symbol")&&(t=Oa(t,e)||t),t=w(t.substr(t.indexOf("<svg"))),(t==null?void 0:t.hasChildNodes())&&t}const Ln=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,vi={};function Oa(t,e){if(!vi[t]){vi[t]={},Ln.lastIndex=0;let i;for(;i=Ln.exec(t);)vi[t][i[3]]=`<svg xmlns="http://www.w3.org/2000/svg"${i[1]}svg>`}return vi[t][e]}function Wn(t){const e=Fn(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function Da(t,e){if(Li(e)||G(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return Rn(t,s)?s:Qe(e,t)}const i=e.lastElementChild;return Rn(t,i)?i:L(e,t)}function Rn(t,e){return G(t,"svg")&&G(e,"svg")&&t.innerHTML===e.innerHTML}var vs={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,s,n;let o=0;return((n=((i=this.i18n)==null?void 0:i[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:n.replace(/%s/g,()=>e[o++]||""))||""}}},Ba='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><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>',Ma='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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>',Na='<svg xmlns="http://www.w3.org/2000/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>',za='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',Fa='<svg xmlns="http://www.w3.org/2000/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>',Ha='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',La='<svg xmlns="http://www.w3.org/2000/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>',Wa='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><style>.uk-navbar-toggle-animate svg>[class*=line-]{transition:.2s ease-in-out;transition-property:transform,opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg>.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1,.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.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>',Ra='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',ja='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',qa='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',Ua='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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>',Va='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><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>',Ya='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><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>',Ga='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',Xa='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',Ja='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',Ka='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>',Za='<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',Qa='<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>';const wi={spinner:Za,totop:Qa,marker:za,"close-icon":Ba,"close-large":Ma,"drop-parent-icon":Na,"nav-parent-icon":Fa,"nav-parent-icon-large":Ha,"navbar-parent-icon":La,"navbar-toggle-icon":Wa,"overlay-icon":Ra,"pagination-next":ja,"pagination-previous":qa,"search-icon":Ua,"search-large":Va,"search-navbar":Ya,"slidenav-next":Ga,"slidenav-next-large":Xa,"slidenav-previous":Ja,"slidenav-previous-large":Ka},ws={install:hl,extends:Hn,args:"icon",props:["icon"],data:{include:[]},isIcon:!0,beforeConnect(){y(this.$el,"uk-icon")},methods:{async getSvg(){const t=cl(this.icon);if(!t)throw"Icon not found.";return t}}},Yt={args:!1,extends:ws,data:t=>({icon:Kt(t.constructor.options.name)}),beforeConnect(){y(this.$el,this.$options.id)}},tl={extends:Yt,beforeConnect(){const t=this.$props.icon;this.icon=Y(this.$el,".uk-nav-primary")?`${t}-large`:t}},el={extends:Yt,beforeConnect(){this.icon=B(this.$el,"uk-search-icon")&&ne(this.$el,".uk-search-large").length?"search-large":ne(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},il={extends:Yt,beforeConnect(){p(this.$el,"role","status")},methods:{async getSvg(){const t=await ws.methods.getSvg.call(this);return this.ratio!==1&&h(w("circle",t),"strokeWidth",1/this.ratio),t}}},Gt={extends:Yt,mixins:[vs],beforeConnect(){const t=Y(this.$el,"a,button");p(t,"role",this.role!==null&&G(t,"a")?"button":this.role);const e=this.t("label");e&&!bt(t,"aria-label")&&p(t,"aria-label",e)}},jn={extends:Gt,beforeConnect(){y(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=B(this.$el,"uk-slidenav-large")?`${t}-large`:t}},sl={extends:Gt,i18n:{label:"Open menu"}},nl={extends:Gt,i18n:{label:"Close"},beforeConnect(){this.icon=`close-${B(this.$el,"uk-close-large")?"large":"icon"}`}},ol={extends:Gt,i18n:{label:"Open"}},rl={extends:Gt,i18n:{label:"Back to top"}},al={extends:Gt,i18n:{label:"Next page"},data:{role:null}},ll={extends:Gt,i18n:{label:"Previous page"},data:{role:null}},bi={};function hl(t){t.icon.add=(e,i)=>{const s=O(e)?{[e]:i}:e;It(s,(n,o)=>{wi[o]=n,delete bi[o]}),t._initialized&&Tt(document.body,n=>It(t.getComponents(n),o=>{o.$options.isIcon&&o.icon in s&&o.$reset()}))}}function cl(t){return wi[t]?(bi[t]||(bi[t]=w((wi[ul(t)]||wi[t]).trim())),bi[t].cloneNode(!0)):null}function ul(t){return X?Ni(Ni(t,"left","right"),"previous","next"):t}const dl=Lt&&"loading"in HTMLImageElement.prototype;var fl={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}dl&&$i(this.$el)&&(this.$el.loading="lazy",bs(this.$el)),wl(this.$el)},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:di({target:({$el:t,$props:e})=>[t,...Se(e.target,t)],handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>t==="lazy"}),methods:{load(){if(this.img)return this.img;const t=$i(this.$el)?this.$el:gl(this.$el,this.dataSrc,this.sources);return $e(t,"loading"),bs(this.$el,t.currentSrc),this.img=t}}};function bs(t,e){if($i(t)){const i=A(t);(G(i,"picture")?P(i):[t]).forEach(n=>qn(n,n))}else e&&!g(t.style.backgroundImage,e)&&(h(t,"backgroundImage",`url(${qi(e)})`),m(t,Mt("load",!1)))}const pl=["data-src","data-srcset","sizes"];function qn(t,e){pl.forEach(i=>{const s=tt(t,i);s&&p(e,i.replace(/^(data-)+/,""),s)})}function gl(t,e,i){const s=new Image;return ml(s,i),qn(t,s),s.onload=()=>{bs(t,s.currentSrc)},p(s,"src",e),s}function ml(t,e){if(e=vl(e),e.length){const i=zt("<picture>");for(const s of e){const n=zt("<source>");p(n,s),L(i,n)}L(i,t)}}function vl(t){if(!t)return[];if(ot(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=De(t);return Z(t)||(t=[t]),t.filter(e=>!be(e))}function wl(t){$i(t)&&!bt(t,"src")&&p(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function $i(t){return G(t,"img")}var xi={props:{media:Boolean},data:{media:!1},connected(){const t=bl(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,m(this.$el,Mt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=x(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function bl(t,e){if(O(t)){if(ot(t,"@"))t=$(h(e,`--uk-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t}return t&&wt(t)?`(min-width: ${t}px)`:""}var $l={mixins:[st,xi],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill({fill:t}){return t||h(this.$el,"--uk-leader-fill-content")}},connected(){[this.wrapper]=Zi(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){Te(this.wrapper.childNodes)},observe:ft(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){q(this.wrapper,this.clsHide,i),p(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}};const nt=[];var $s={mixins:[st,Ne,Vt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:t},e){return w(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){p(this.panel||this.$el,"role",this.role),this.overlay&&p(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){g(nt,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&re(e)&&!D(s,this.$el)&&w(s,document.body)?this.hide():E(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===g(nt,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(g(nt,this))return!1;!this.stack&&nt.length?(Promise.all(nt.map(e=>e.hide())).then(this.show),t.preventDefault()):nt.push(this)}},{name:"show",self:!0,handler(){this.stack&&h(this.$el,"zIndex",$(h(this.$el,"zIndex"))+nt.length);const t=[this.overlay&&yl(this),this.overlay&&_n(this.$el),this.bgClose&&kl(this),this.escClose&&Sl(this)];R(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),y(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){Ke(this.$el)||p(this.$el,"tabindex","-1"),E(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){g(nt,this)&&nt.splice(nt.indexOf(this),1),h(this.$el,"zIndex",""),nt.some(t=>t.clsPage===this.clsPage)||N(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&A(this.$el)!==this.container?(L(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Un)},hide(){return this.toggleElement(this.$el,!1,Un)}}};function Un(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>R(t,"show hide",()=>{var r;(r=t._reject)==null||r.call(t),t._reject=o,s(t,e);const a=R(i,"transitionstart",()=>{R(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),n()},xl(h(i,"transitionDuration")))})).then(()=>delete t._reject)}function xl(t){return t?Zt(t,"ms")?$(t):$(t)*1e3:0}function yl(t){return x(document,"focusin",e=>{se(nt)===t&&!D(e.target,t.$el)&&t.$el.focus()})}function kl(t){return x(document,mt,({target:e})=>{se(nt)!==t||t.overlay&&!D(e,t.$el)||D(e,t.panel)||R(document,`${_t} ${oi} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===_t&&e===n&&t.hide()},!0)})}function Sl(t){return x(document,"keydown",e=>{e.keyCode===27&&se(nt)===t&&t.hide()})}var Il={install:Cl,mixins:[$s],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){B(this.panel,"uk-margin-auto-vertical")?y(this.$el,"uk-flex"):h(this.$el,"display","block"),et(this.$el)}},{name:"hidden",self:!0,handler(){h(this.$el,"display",""),N(this.$el,"uk-flex")}}]};function Cl({modal:t}){t.dialog=function(i,s){const n=t(`<div class="uk-modal"> <div class="uk-modal-dialog">${i}</div> </div>`,s);return n.show(),x(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(i,s){return e(({i18n:n})=>`<div class="uk-modal-body">${O(i)?i:Nt(i)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>${n.ok}</button> </div>`,s,n=>n.resolve())},t.confirm=function(i,s){return e(({i18n:n})=>`<form> <div class="uk-modal-body">${O(i)?i:Nt(i)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${n.cancel}</button> <button class="uk-button uk-button-primary" autofocus>${n.ok}</button> </div> </form>`,s,n=>n.reject())},t.prompt=function(i,s,n){return e(({i18n:o})=>`<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>${O(i)?i:Nt(i)}</label> <input class="uk-input" value="${s||""}" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${o.cancel}</button> <button class="uk-button uk-button-primary">${o.ok}</button> </div> </form>`,n,o=>o.resolve(null),o=>w("input",o.$el).value)},t.i18n={ok:"Ok",cancel:"Cancel"};function e(i,s,n,o){s={bgClose:!1,escClose:!0,role:"alertdialog",...s,i18n:{...t.i18n,...s==null?void 0:s.i18n}};const r=t.dialog(i(s),s),a=new Je;let l=!1;return x(r.$el,"submit","form",c=>{c.preventDefault(),a.resolve(o==null?void 0:o(r)),l=!0,r.hide()}),x(r.$el,"hide",()=>!l&&n(a)),a.promise.dialog=r,a.promise}}var Tl={extends:Cn,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},El={extends:On,data:{clsDrop:"uk-navbar-dropdown",selNavItem:".uk-navbar-nav > li > a,a.uk-navbar-item,button.uk-navbar-item,.uk-navbar-item a,.uk-navbar-item button,.uk-navbar-toggle"},watch:{items(){const t=B(this.$el,"uk-navbar-justify");for(const e of F(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))h(e,"flexGrow",t?F(".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",e).length:"")}}},Pl={mixins:[$s],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip({flip:t,clsFlip:e}){return t?e:""},clsOverlay({overlay:t,clsOverlay:e}){return t?e:""},clsMode({mode:t,clsMode:e}){return`${e}-${t}`},clsSidebarAnimation({mode:t,clsSidebarAnimation:e}){return t==="none"||t==="reveal"?"":e},clsContainerAnimation({mode:t,clsContainerAnimation:e}){return t!=="push"&&t!=="reveal"?"":e},transitionElement({mode:t}){return t==="reveal"?A(this.panel):this.panel}},observe:In({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!j(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!B(A(this.panel),this.clsMode)&&(ei(this.panel,"<div>"),y(A(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;y(t,this.clsContainer,this.clsFlip),h(t,"touch-action","pan-y pinch-zoom"),h(this.$el,"display","block"),h(this.panel,"maxWidth",e.clientWidth),y(this.$el,this.clsOverlay),y(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),et(t),y(t,this.clsContainerAnimation),this.clsContainerAnimation&&_l()}},{name:"hide",self:!0,handler(){N(document.body,this.clsContainerAnimation),h(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&Al(),this.mode==="reveal"&&Te(this.panel),N(this.panel,this.clsSidebarAnimation,this.clsMode),N(this.$el,this.clsOverlay),h(this.$el,"display",""),h(this.panel,"maxWidth",""),N(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Zt(t.type,"Left")^this.flip&&this.hide()}}]};function _l(){Vn().content+=",user-scalable=0"}function Al(){const t=Vn();t.content=t.content.replace(/,user-scalable=0$/,"")}function Vn(){return w('meta[name="viewport"]',document.head)||L(document.head,'<meta name="viewport">')}var Ol={mixins:[st],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container({selContainer:t},e){return Y(e,t)},content({selContent:t},e){return Y(e,t)}},observe:ft({target:({container:t,content:e})=>[t,e]}),update:{read(){return!this.content||!this.container||!j(this.$el)?!1:{max:Math.max(this.minHeight,et(this.container)-(b(this.content).height-et(this.$el)))}},write({max:t}){h(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},Dl={props:["width","height"],connected(){y(this.$el,"uk-responsive-width")},observe:ft({target:({$el:t})=>[t,A(t)]}),update:{read(){return j(this.$el)&&this.width&&this.height?{width:Ee(A(this.$el)),height:this.height}:!1},write(t){et(this.$el,Xe.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},Bl={props:{offset:Number},data:{offset:0},connected(){Ml(this)},disconnected(){Nl(this)},methods:{async scrollTo(t){t=t&&w(t)||document.body,m(this.$el,"beforescroll",[this,t])&&(await en(t,{offset:this.offset}),m(this.$el,"scrolled",[this,t]))}}};const ze=new Set;function Ml(t){ze.size||x(document,"click",Yn),ze.add(t)}function Nl(t){ze.delete(t),ze.size||Bt(document,"click",Yn)}function Yn(t){if(!t.defaultPrevented)for(const e of ze)D(t.target,e.$el)&&re(e.$el)&&(t.preventDefault(),window.history.pushState({},"",e.$el.href),e.scrollTo(Ri(e.$el)))}var zl={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:"uk-scrollspy-inview"}),computed:{elements({target:t},e){return t?F(t,e):[e]}},watch:{elements(t){this.hidden&&h(ke(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())N(t,this.inViewClass,(e==null?void 0:e.cls)||"");delete this.elementData},observe:di({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:tt(i,"uk-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},options:t=>({rootMargin:t.margin}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){var i;const s=this.elementData.get(t);if(s){if((i=s.off)==null||i.call(s),h(t,"opacity",!e&&this.hidden?0:""),q(t,this.inViewClass,e),q(t,s.cls),/\buk-animation-/.test(s.cls)){const n=()=>Gi(t,"uk-animation-[\\w-]+");e?s.off=R(t,"animationcancel animationend",n):n()}m(t,e?"inview":"outview"),s.inview=e,this.$update(t)}}}},Fl={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links(t,e){return F('a[href*="#"]',e).filter(i=>i.hash&&re(i))},elements({closest:t}){return Y(this.links,t||"*")}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})}},observe:fi(),update:[{read(){const t=this.links.map(Ri).filter(Boolean),{length:e}=t;if(!e||!j(this.$el))return!1;const[i]=vt(t,!0),{scrollTop:s,scrollHeight:n}=i,o=ht(i),r=n-o.height;let a=!1;if(s===r)a=e-1;else{for(let l=0;l<t.length&&!(_(t[l]).top-o.top-this.offset>0);l++)a=+l;a===!1&&this.overflow&&(a=0)}return{active:a}},write({active:t}){const e=t!==!1&&!B(this.elements[t],this.cls);this.links.forEach(i=>i.blur());for(let i=0;i<this.elements.length;i++)q(this.elements[i],this.cls,+i===t);e&&m(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]},Hl={mixins:[st,xi],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:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget({selTarget:t},e){return t&&w(t,e)||e}},connected(){this.start=Gn(this.start||this.top),this.end=Gn(this.end||this.bottom),this.placeholder=w("+ .uk-sticky-placeholder",this.$el)||w('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),N(this.selTarget,this.clsInactive)),Xn(this.$el),at(this.placeholder),this.placeholder=null},observe:[ft({handler(){!this.isFixed&&this.$emit("resize")}}),ft({target:()=>[document.documentElement]}),fi()],events:[{name:"resize",el(){return[window,window.visualViewport]},handler(){this.$emit("resizeViewport")}},{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=_(w(location.hash)),i=_(this.$el);this.isFixed&&Fi(e,i)&&(t.scrollTop=e.top-i.height-lt(this.targetOffset,"height",this.placeholder)-lt(this.offset,"height",this.placeholder))})}}],update:[{read({height:t,width:e,margin:i,sticky:s},n){if(this.inactive=!this.matchMedia||!j(this.$el),this.inactive)return;const o=this.isFixed&&n.has("resize")&&!s;o&&(Jn(this.selTarget),this.hide()),this.active||({height:t,width:e}=_(this.$el),i=h(this.$el,"margin")),o&&this.show();const r=lt("100vh","height"),a=et(window),l=document.scrollingElement.scrollHeight-r;let c=this.position;this.overflowFlip&&t>r&&(c=c==="top"?"bottom":"top");const u=this.isFixed?this.placeholder:this.$el;let d=lt(this.offset,"height",s?this.$el:u);c==="bottom"&&(t<a||this.overflowFlip)&&(d+=a-t);const f=this.overflowFlip?0:Math.max(0,t+d-r),v=_(u).top,C=_(this.$el).height,z=(this.start===!1?v:xs(this.start,this.$el,v))-d,M=this.end===!1?l:Math.min(l,xs(this.end,this.$el,v+t,!0)-C-d+f);return s=l&&!this.showOnUp&&z+d===v&&M===Math.min(l,xs("!*",this.$el,0,!0)-C-d+f)&&h(A(this.$el),"overflowY")==="visible",{start:z,end:M,offset:d,overflow:f,topOffset:v,height:t,elHeight:C,width:e,margin:i,top:Ht(u)[0],sticky:s}},write({height:t,width:e,margin:i,offset:s,sticky:n}){if((this.inactive||n||!this.isFixed)&&Xn(this.$el),this.inactive)return;n&&(t=e=i=0,h(this.$el,{position:"sticky",top:s}));const{placeholder:o}=this;h(o,{height:t,width:e,margin:i}),D(o,document)||(o.hidden=!0),(n?Ze:Qe)(this.$el,o)},events:["resize","resizeViewport"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:s=0,start:n,end:o}){const r=document.scrollingElement.scrollTop;return{dir:t<=r?"down":"up",prevDir:e,scroll:r,prevScroll:t,offsetParentTop:_((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:Q(s+Q(r,n,o)-Q(t,n,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:c,topOffset:u,height:d}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const f=Date.now();if((f-s>300||n!==o)&&(t.initScroll=r,t.initTimestamp=f),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<c||this.showOnUp&&(r<=c||n==="down"&&i||n==="up"&&!this.isFixed&&r<=u+d)){if(!this.isFixed){gt.inProgress(this.$el)&&l>r&&(gt.cancel(this.$el),this.hide());return}this.animation&&r>u?(gt.cancel(this.$el),gt.out(this.$el,this.animation).then(()=>this.hide(),S)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(gt.cancel(this.$el),this.show(),gt.in(this.$el,this.animation).catch(S)):(Jn(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),N(this.$el,this.clsFixed,this.clsBelow),e?h(this.$el,"top",t):h(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:s=0,start:n,end:o,offset:r,topOffset:a,height:l,elHeight:c,offsetParentTop:u,sticky:d}=this._data;const f=n!==0||e>n;if(!d){let v="fixed";e>o&&(r+=o-u,v="absolute"),h(this.$el,{position:v,width:t}),h(this.$el,"marginTop",0,"important")}i&&(r-=s),h(this.$el,"top",r),this.setActive(f),q(this.$el,this.clsBelow,e>a+(d?Math.min(l,c):l)),y(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Xi(this.selTarget,this.clsInactive,this.clsActive),e!==t&&m(this.$el,"active")):(Xi(this.selTarget,this.clsActive,this.clsInactive),e!==t&&m(this.$el,"inactive"))}}};function xs(t,e,i,s){if(!t)return 0;if(wt(t)||O(t)&&t.match(/^-?\d/))return i+lt(t,"height",e,!0);{const n=t===!0?A(e):rt(t,e);return _(n).bottom-(s&&n&&D(e,n)?$(h(n,"paddingBottom")):0)}}function Gn(t){return t==="true"?!0:t==="false"?!1:t}function Xn(t){h(t,{position:"",top:"",marginTop:"",width:""})}function Jn(t){h(t,"transition","0s"),requestAnimationFrame(()=>h(t,"transition",""))}const ys=".uk-disabled *, .uk-disabled, [disabled]";var Kn={mixins:[Vt],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item",selVertical:".uk-nav",followFocus:!1,swiping:!0},computed:{connects({connect:t},e){return Se(t,e)},connectChildren(){return this.connects.map(t=>P(t)).flat()},toggles({toggle:t},e){return F(t,e)},children(){return P(this.$el).filter(t=>this.toggles.some(e=>D(e,t)))}},watch:{connects(t){this.swiping&&h(t,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){const t=this.index();for(const e of this.connects)P(e).forEach((i,s)=>q(i,this.cls,s===t));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){p(this.$el,"role","tablist")},observe:[Me({targets:({connectChildren:t})=>t}),In({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate(){return this.toggle},handler(t){!E(t.current,ys)&&(t.type==="click"||t.keyCode===T.SPACE)&&(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate(){return this.toggle},handler(t){const{current:e,keyCode:i}=t,s=E(this.$el,this.selVertical);let n=i===T.HOME?0:i===T.END?"last":i===T.LEFT&&!s||i===T.UP&&s?"previous":i===T.RIGHT&&!s||i===T.DOWN&&s?"next":-1;if(~n){t.preventDefault();const o=this.toggles.filter(a=>!E(a,ys)),r=o[dt(n,o,o.indexOf(e))];r.focus(),this.followFocus&&this.show(r)}}},{name:"click",el(){return this.connects.concat(this.itemNav?Se(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){Y(t.target,"a,button")&&(t.preventDefault(),this.show(tt(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(Zt(t,"Left")?"next":"previous")}}],update(){var t;p(this.connects,"role","presentation"),p(P(this.$el),"role","presentation");for(const e in this.toggles){const i=this.toggles[e],s=(t=this.connects[0])==null?void 0:t.children[e];p(i,"role","tab"),s&&(i.id=At(this,i,`-tab-${e}`),s.id=At(this,s,`-tabpanel-${e}`),p(i,"aria-controls",s.id),p(s,{role:"tabpanel","aria-labelledby":i.id}))}p(this.$el,"aria-orientation",E(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return xt(this.children,t=>B(t,this.cls))},show(t){const e=this.toggles.filter(r=>!E(r,ys)),i=this.index(),s=dt(!Ue(t)||g(e,t)?t:0,e,dt(this.toggles[i],e)),n=dt(e[s],this.toggles);this.children.forEach((r,a)=>{q(r,this.cls,n===a),p(this.toggles[a],{"aria-selected":n===a,tabindex:n===a?null:-1})});const o=i>=0&&i!==s;this.connects.forEach(async({children:r})=>{await this.toggleElement(k(r).filter(a=>B(a,this.cls)),!1,o),await this.toggleElement(r[n],!0,o)})}}},Ll={mixins:[st],extends:Kn,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item",selVertical:".uk-tab-left,.uk-tab-right"},connected(){const t=B(this.$el,"uk-tab-left")?"uk-tab-left":B(this.$el,"uk-tab-right")?"uk-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const Wl=32;var Rl={mixins:[xi,Vt],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target({href:t,target:e},i){return e=Se(e||t,i),e.length&&e||[i]}},connected(){g(this.mode,"media")||(Ke(this.$el)||p(this.$el,"tabindex","0"),!this.cls&&G(this.$el,"a")&&p(this.$el,"role","button"))},observe:Me({target:({target:t})=>t}),events:[{name:mt,filter(){return g(this.mode,"hover")},handler(t){this._preventClick=null,!(!Ct(t)||this._showState||this.$el.disabled)&&(m(this.$el,"focus"),R(document,mt,()=>m(this.$el,"blur"),!0,e=>!D(e.target,this.$el)),g(this.mode,"click")&&(this._preventClick=!0))}},{name:`${Rt} ${ue} focus blur`,filter(){return g(this.mode,"hover")},handler(t){if(Ct(t)||this.$el.disabled)return;const e=g([Rt,"focus"],t.type),i=this.isToggled(this.target);if(!(!e&&(t.type===ue&&E(this.$el,":focus")||t.type==="blur"&&E(this.$el,":hover")))){if(this._showState&&e&&i!==this._showState){e||(this._showState=null);return}this._showState=e?i:null,this.toggle(`toggle${e?"show":"hide"}`)}}},{name:"keydown",filter(){return g(this.mode,"click")&&!G(this.$el,"input")},handler(t){t.keyCode===Wl&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>g(this.mode,t))},handler(t){let e;(this._preventClick||Y(t.target,'a[href="#"], a[href=""]')||(e=Y(t.target,"a[href]"))&&(!this.isToggled(this.target)||e.hash&&E(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&g(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return g(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!m(this.target,t||"toggle",[this]))return;if(bt(this.$el,"aria-expanded")&&p(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>B(s,this.clsLeave));if(e.length){for(const s of this.target){const n=g(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter(s=>!g(i,s)),!0)}}},jl=Object.freeze({__proto__:null,Accordion:Cn,Alert:ca,Close:nl,Cover:da,Drop:An,DropParentIcon:Yt,Dropdown:An,Dropnav:On,FormCustom:xa,Grid:ka,HeightMatch:Ca,HeightViewport:Pa,Icon:ws,Img:fl,Leader:$l,Margin:Mn,Marker:ol,Modal:Il,Nav:Tl,NavParentIcon:tl,Navbar:El,NavbarParentIcon:Yt,NavbarToggleIcon:sl,Offcanvas:Pl,OverflowAuto:Ol,OverlayIcon:Yt,PaginationNext:al,PaginationPrevious:ll,Responsive:Dl,Scroll:Bl,Scrollspy:zl,ScrollspyNav:Fl,SearchIcon:el,SlidenavNext:jn,SlidenavPrevious:jn,Spinner:il,Sticky:Hl,Svg:Hn,Switcher:Kn,Tab:Ll,Toggle:Rl,Totop:rl,Video:Tn});It(jl,(t,e)=>ut.component(e,t)),Qr(ut);const ql=["days","hours","minutes","seconds"];var Ul={mixins:[st],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".uk-countdown-%unit%",role:"timer"},connected(){p(this.$el,"role",this.role),this.date=$(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(m(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),m(this.$el,"countdownstop"),this.timer=null)},update(){const t=Vl(this.date);t.total||(this.stop(),this.end||(m(this.$el,"countdownend"),this.end=!0));for(const e of ql){const i=w(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?`0${s}`:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&Nt(i,s.map(()=>"<span></span>").join("")),s.forEach((n,o)=>i.children[o].textContent=n))}}}};function Vl(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}const ks="uk-transition-leave",Ss="uk-transition-enter";function Zn(t,e,i,s=0){const n=yi(e,!0),o={opacity:1},r={opacity:0},a=u=>()=>n===yi(e)?u():Promise.reject(),l=a(async()=>{y(e,ks),await Promise.all(to(e).map((u,d)=>new Promise(f=>setTimeout(()=>I.start(u,r,i/2,"ease").then(f),d*s)))),N(e,ks)}),c=a(async()=>{const u=et(e);y(e,Ss),t(),h(P(e),{opacity:0}),await Yl();const d=P(e),f=et(e);h(e,"alignContent","flex-start"),et(e,u);const v=to(e);h(d,r);const C=v.map(async(z,M)=>{await Gl(M*s),await I.start(z,o,i/2,"ease")});u!==f&&C.push(I.start(e,{height:f},i/2+v.length*s,"ease")),await Promise.all(C).then(()=>{N(e,Ss),n===yi(e)&&(h(e,{height:"",alignContent:""}),h(d,{opacity:""}),delete e.dataset.transition)})});return B(e,ks)?Qn(e).then(c):B(e,Ss)?Qn(e).then(l).then(c):l().then(c)}function yi(t,e){return e&&(t.dataset.transition=1+yi(t)),St(t.dataset.transition)||0}function Qn(t){return Promise.all(P(t).filter(I.inProgress).map(e=>new Promise(i=>R(e,"transitionend transitioncanceled",i))))}function to(t){return ms(P(t)).reduce((e,i)=>e.concat(Ye(i.filter(s=>os(s)),"offsetLeft")),[])}function Yl(){return new Promise(t=>requestAnimationFrame(t))}function Gl(t){return new Promise(e=>setTimeout(e,t))}async function Xl(t,e,i){await so();let s=P(e);const n=s.map(f=>eo(f,!0)),o={...h(e,["height","padding"]),display:"block"};await Promise.all(s.concat(e).map(I.cancel)),t(),s=s.concat(P(e).filter(f=>!g(s,f))),await Promise.resolve(),J.flush();const r=p(e,"style"),a=h(e,["height","padding"]),[l,c]=Jl(e,s,n),u=s.map(f=>({style:p(f,"style")}));s.forEach((f,v)=>c[v]&&h(f,c[v])),h(e,o),m(e,"scroll"),J.flush(),await so();const d=s.map((f,v)=>A(f)===e&&I.start(f,l[v],i,"ease")).concat(I.start(e,a,i,"ease"));try{await Promise.all(d),s.forEach((f,v)=>{p(f,u[v]),A(f)===e&&h(f,"display",l[v].opacity===0?"none":"")}),p(e,"style",r)}catch{p(s,"style",""),Kl(e,o)}}function eo(t,e){const i=h(t,"zIndex");return j(t)?{display:"",opacity:e?h(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?oe(t):i,...io(t)}:!1}function Jl(t,e,i){const s=e.map((o,r)=>A(o)&&r in i?i[r]?j(o)?io(o):{opacity:0}:{opacity:j(o)?1:0}:!1),n=s.map((o,r)=>{const a=A(e[r])===t&&(i[r]||eo(e[r]));if(!a)return!1;if(!o)delete a.opacity;else if(!("opacity"in o)){const{opacity:l}=a;l%1?o.opacity=1:delete a.opacity}return a});return[s,n]}function Kl(t,e){for(const i in e)h(t,i,"")}function io(t){const{height:e,width:i}=_(t);return{height:e,width:i,transform:"",...ii(t),...h(t,["marginTop","marginLeft"])}}function so(){return new Promise(t=>requestAnimationFrame(t))}var no={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return(i==="fade"?Zn:i==="delayed-fade"?(...n)=>Zn(...n,40):i?Xl:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(S)}}},Zl={mixins:[no],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles({attrItem:t},e){return F(`[${t}],[data-${t}]`,e)},children({target:t},e){return F(`${t} > *`,e)}},watch:{toggles(t){this.updateState();const e=F(this.selActive,this.$el);for(const i of t){this.selActive!==!1&&q(i,this.cls,g(e,i));const s=nh(i);G(s,"a")&&p(s,"role","button")}},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.type==="keydown"&&t.keyCode!==T.SPACE||Y(t.target,"a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=ro(t,this.attrItem,this.getState());Ql(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>B(t,this.cls)).reduce((t,e)=>ro(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},m(this.$el,"beforeFilter",[this,t]);for(const i of this.toggles)q(i,this.cls,eh(i,this.attrItem,t));await Promise.all(F(this.target,this.$el).map(i=>{const s=()=>{th(t,i,P(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),m(this.$el,"afterFilter",[this])},updateState(){J.write(()=>this.setState(this.getState(),!1))}}};function oo(t,e){return De(tt(t,e),["filter"])}function Ql(t,e){return["filter","sort"].every(i=>Ve(t[i],e[i]))}function th(t,e,i){const s=ih(t);i.forEach(r=>h(r,"display",s&&!E(r,s)?"none":""));const[n,o]=t.sort;if(n){const r=sh(i,n,o);Ve(r,i)||L(e,r)}}function ro(t,e,i){const{filter:s,group:n,sort:o,order:r="asc"}=oo(t,e);return(s||V(o))&&(n?s?(delete i.filter[""],i.filter[n]=s):(delete i.filter[n],(be(i.filter)||""in i.filter)&&(i.filter={"":s||""})):i.filter={"":s||""}),V(o)||(i.sort=[o,r]),i}function eh(t,e,{filter:i={"":""},sort:[s,n]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=oo(t,e);return V(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:s===a&&n===l}function ih({filter:t}){let e="";return It(t,i=>e+=i||""),e}function sh(t,e,i){return[...t].sort((s,n)=>tt(s,e).localeCompare(tt(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}function nh(t){return w("a,button",t)||t}var Is={slide:{show(t){return[{transform:W(t*-100)},{transform:W()}]},percent(t){return Fe(t)},translate(t,e){return[{transform:W(e*-100*t)},{transform:W(e*100*(1-t))}]}}};function Fe(t){return Math.abs(h(t,"transform").split(",")[4]/t.offsetWidth)||0}function W(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function pe(t){return`scale3d(${t}, ${t}, 1)`}var ao={...Is,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:pe(1-.2)},{opacity:1,transform:pe(1)}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:pe(1-.2*t)},{opacity:t,transform:pe(1-.2+.2*t)}]}}};function oh(t,e,i,{animation:s,easing:n}){const{percent:o,translate:r,show:a=S}=s,l=a(i),c=new Je;return{dir:i,show(u,d=0,f){const v=f?"linear":n;return u-=Math.round(u*Q(d,-1,1)),this.translate(d),ki(e,"itemin",{percent:d,duration:u,timing:v,dir:i}),ki(t,"itemout",{percent:1-d,duration:u,timing:v,dir:i}),Promise.all([I.start(e,l[1],u,v),I.start(t,l[0],u,v)]).then(()=>{this.reset(),c.resolve()},S),c.promise},cancel(){I.cancel([e,t])},reset(){for(const u in l[0])h([e,t],u,"")},forward(u,d=this.percent()){return I.cancel([e,t]),this.show(u,d,!0)},translate(u){this.reset();const d=r(u,i);h(e,d[1]),h(t,d[0]),ki(e,"itemtranslatein",{percent:u,dir:i}),ki(t,"itemtranslateout",{percent:1-u,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function ki(t,e,i){m(t,Mt(e,!1,!1,i))}var rh={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},e){return w(t,e)},navChildren(){return P(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,e){return F(this.selNavItem,e)}},watch:{nav(t,e){p(t,"role","tablist"),e&&this.$emit()},list(t){p(t,"role","presentation")},navChildren(t){p(t,"role","presentation")},navItems(t){for(const e of t){const i=tt(e,this.attrItem),s=w("a,button",e)||e;let n,o=null;if(wt(i)){const r=St(i),a=this.slides[r];a&&(a.id||(a.id=At(this,a,`-item-${i}`)),o=a.id),n=this.t("slideX",$(i)+1),p(s,"role","tab")}else this.list&&(this.list.id||(this.list.id=At(this,this.list,"-items")),o=this.list.id),n=this.t(i);p(s,{"aria-controls":o,"aria-label":p(s,"aria-label")||n})}},slides(t){t.forEach((e,i)=>p(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){Ki(this.nav);for(let i=0;i<t;i++)L(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){p(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){Y(t.target,"a,button")&&(t.type==="click"||t.keyCode===T.SPACE)&&(t.preventDefault(),this.show(tt(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,s=tt(e,this.attrItem);if(!wt(s))return;let n=i===T.HOME?0:i===T.END?"last":i===T.LEFT?"previous":i===T.RIGHT?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();let e,i;for(const s of this.navItems){const n=tt(s,this.attrItem),o=w("a,button",s)||s;if(wt(n)){const a=St(n)===t;q(s,this.clsActive,a),p(o,{"aria-selected":a,tabindex:a?null:-1}),a&&(i=o),e=e||E(o,":focus")}else q(s,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex));e&&i&&i.focus()}}}};const Cs={passive:!1,capture:!0},lo={passive:!0,capture:!0},ah="touchstart mousedown",Ts="touchmove mousemove",ho="touchend touchcancel mouseup click input scroll";var lh={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=ae(i).x*(X?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:ah,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!Ct(t)&&hh(t.target)||Y(t.target,xe)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:Ts,el(){return this.list},handler:S,...Cs}],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,x(document,Ts,this.move,Cs),x(document,ho,this.end,lo),h(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;h(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:s}=this,n=Math.abs(e),o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;for(;o!==s&&n>r;)this.drag-=r*this.dir,s=o,n-=r,o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;this.percent=n/r;const a=i[s],l=i[o],c=this.index!==o,u=s===o;let d;[this.index,this.prevIndex].filter(f=>!g([o,s],f)).forEach(f=>{m(i[f],"itemhidden",[this]),u&&(d=!0,this.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||d)&&m(i[this.index],"itemshown",[this]),c&&(this.prevIndex=s,this.index=o,!u&&m(a,"beforeitemhide",[this]),m(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l),c&&(!u&&m(a,"itemhide",[this]),m(l,"itemshow",[this]))},end(){if(Bt(document,Ts,this.move,Cs),Bt(document,ho,this.end,lo),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=(X?this.dir*(X?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)}h(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function hh(t){return h(t,"userSelect")!=="none"&&k(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var ch={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){p(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){p(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&E(this.$el,":focus-within")||this.pauseOnHover&&E(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}},co={mixins:[ch,lh,rh,vs],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){N(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return uo(e.offsetWidth/t)},list({selList:t},e){return w(t,e)},maxIndex(){return this.length-1},slides(){return P(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},observe:ft(),methods:{show(t,e=!1){var i;if(this.dragging||!this.length)return;const{stack:s}=this,n=e?0:s.length,o=()=>{s.splice(n,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const r=this.getIndex(this.index),a=B(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),c=this.slides[l];if(a===c){o();return}if(this.dir=uh(t,r),this.prevIndex=r,this.index=l,a&&!m(a,"beforeitemhide",[this])||!m(c,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const u=this._show(a,c,e).then(()=>{a&&m(a,"itemhidden",[this]),m(c,"itemshown",[this]),s.shift(),this._transitioner=null,requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))});return a&&m(a,"itemhide",[this]),m(c,"itemshow",[this]),u},getIndex(t=this.index,e=this.index){return Q(dt(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e=this.prevIndex,i=this.index){const s=this._getTransitioner(e===i?!1:e,i);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,s=this.transitionOptions){return new this.Transitioner(ee(t)?this.slides[t]:t,ee(e)?this.slides[e]:e,i*(X?-1:1),s)}}};function uh(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function uo(t){return .5*t+300}var fo={mixins:[co],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:Is,Transitioner:oh},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){y(t,this.clsActive)},itemshown({target:t}){y(t,this.clsActivated)},itemhidden({target:t}){N(t,this.clsActive,this.clsActivated)}}},po={mixins:[$s,fo],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:ao,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=w(this.template),e=w(this.selList,t);this.items.forEach(()=>L(e,"<li>"));const i=w("[uk-close]",t),s=this.t("close");i&&s&&(i.dataset.i18n=JSON.stringify({label:s})),this.$mount(L(this.container,t))},computed:{caption({selCaption:t},e){return w(t,e)}},events:[{name:`${ni} ${mt} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),N(this.slides,this.clsActive),I.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===T.LEFT?e="previous":t===T.RIGHT?e="next":t===T.HOME?e=0:t===T.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=ao.scale,N(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){Nt(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const c=He("img",{src:i,alt:n,...r});x(c,"load",()=>this.setItem(e,c)),x(c,"error",()=>this.setError(e))}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const c=He("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...r});x(c,"loadedmetadata",()=>this.setItem(e,c)),x(c,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,He("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,He("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:c,width:u}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,He("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:u,height:c,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||m(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[dt(t,this.slides)]},setItem(t,e){m(this.$el,"itemloaded",[this,Nt(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),y(this.$el,"uk-active","uk-transition-active")},hideControls(){N(this.$el,"uk-active","uk-transition-active")}}};function He(t,e){const i=zt(`<${t}>`);return p(i,e),i}var dh={install:fh,props:{toggle:String},data:{toggle:"a"},computed:{toggles({toggle:t},e){return F(t,e)}},watch:{toggles(t){this.hide();for(const e of t)G(e,"a")&&p(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=Ds(this.toggles.map(go),"source");if(te(t)){const{source:i}=go(t);t=xt(e,({source:s})=>i===s)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),x(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function fh(t,e){t.lightboxPanel||t.component("lightboxPanel",po),yt(e.props,t.component("lightboxPanel").options.props)}function go(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=tt(t,i);return e.attrs=De(e.attrs),e}var ph={mixins:[Ne],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:gh,computed:{marginProp({pos:t}){return`margin${ot(t,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=w(`.${this.clsContainer}-${this.pos}`,this.container)||L(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(L(t,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=$(h(this.$el,this.marginProp));await I.start(h(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){Y(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Rt](){this.timer&&clearTimeout(this.timer)},[ue](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=A(i);m(i,"close",[this]),at(i),s!=null&&s.hasChildNodes()||at(s)};this.timer&&clearTimeout(this.timer),t||await I.start(this.$el,this.startProps),e(this.$el)}}};function gh(t){t.notification.closeAll=function(e,i){Tt(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}const Si={x:Ii,y:Ii,rotate:Ii,scale:Ii,color:Es,backgroundColor:Es,borderColor:Es,blur:Xt,hue:Xt,fopacity:Xt,grayscale:Xt,invert:Xt,saturate:Xt,sepia:Xt,opacity:vh,stroke:wh,bgx:wo,bgy:wo},{keys:mo}=Object;var vo={mixins:[xi],props:yo(mo(Si),"list"),data:yo(mo(Si),void 0),computed:{props(t,e){const i={};for(const n in t)n in Si&&!V(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=Si[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))h(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,t);return e.willChange=Object.keys(e).filter(i=>e[i]!=="").join(","),e}}};function Ii(t,e,i){let s=Ti(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t=`translate${Et(t)}`,n=o=>$($(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>Ti([o])?lt(o,"width",e,!0)/e.offsetWidth:o),i.length===1&&i.unshift(t==="scale"?1:0),i=ge(i,n),(o,r)=>{o.transform+=` ${t}(${Le(i,r)}${s})`}}function Es(t,e,i){return i.length===1&&i.unshift(We(e,t,"")),i=ge(i,s=>mh(e,s)),(s,n)=>{const[o,r,a]=xo(i,n),l=o.map((c,u)=>(c+=a*(r[u]-c),u===3?$(c):parseInt(c,10))).join(",");s[t]=`rgba(${l})`}}function mh(t,e){return We(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map($)}function Xt(t,e,i){i.length===1&&i.unshift(0);const s=Ti(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=ge(i),(n,o)=>{const r=Le(i,o);n.filter+=` ${t}(${r+s})`}}function vh(t,e,i){return i.length===1&&i.unshift(We(e,t,"")),i=ge(i),(s,n)=>{s[t]=Le(i,n)}}function wh(t,e,i){i.length===1&&i.unshift(0);const s=Ti(i),n=Fn(e);return i=ge(i.reverse(),o=>(o=$(o),s==="%"?o*n/100:o)),i.some(([o])=>o)?(h(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=Le(i,r)}):S}function wo(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=ge(i,a=>lt(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return S;if(We(e,"backgroundSize","")==="cover")return bh(t,e,i,s);const r={};for(const a of o)r[a]=bo(e,a);return $o(o,r,s)}function bh(t,e,i,s){const n=$h(e);if(!n.width)return S;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const d=s[u].map(([M])=>M),f=Math.min(...d),v=Math.max(...d),C=d.indexOf(f)<d.indexOf(v),z=v-f;a[u]=`${(C?-z:0)-(C?f:v)}px`,o[u==="bgy"?"height":"width"]+=z}const l=Xe.cover(n,o);for(const u of r){const d=u==="bgy"?"height":"width",f=l[d]-o[d];a[u]=`max(${bo(e,u)},-${f}px) + ${a[u]}`}const c=$o(r,a,s);return(u,d)=>{c(u,d),u.backgroundSize=`${l.width}px ${l.height}px`,u.backgroundRepeat="no-repeat"}}function bo(t,e){return We(t,`background-position-${e.substr(-1)}`,"")}function $o(t,e,i){return function(s,n){for(const o of t){const r=Le(i[o],n);s[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${r}px)`}}}const Ci={};function $h(t){const e=h(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Ci[e])return Ci[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{Ci[e]=Ps(i),m(t,Mt("load",!1))},Ps(i)):Ci[e]=Ps(i)}function Ps(t){return{width:t.naturalWidth,height:t.naturalHeight}}function ge(t,e=$){const i=[],{length:s}=t;let n=0;for(let o=0;o<s;o++){let[r,a]=O(t[o])?t[o].trim().split(" "):[t[o]];if(r=e(r),a=a?$(a)/100:null,o===0?a===null?a=0:a&&i.push([r,0]):o===s-1&&(a===null?a=1:a!==1&&(i.push([r,a]),a=1)),i.push([r,a]),a===null)n++;else if(n){const l=i[o-n-1][1],c=(a-l)/(n+1);for(let u=n;u>0;u--)i[o-u][1]=l+c*(n-u+1);n=0}}return i}function xo(t,e){const i=xt(t.slice(1),([,s])=>e<=s)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Le(t,e){const[i,s,n]=xo(t,e);return ee(i)?i+Math.abs(i-s)*n*(i<s?1:-1):+s}const xh=/^-?\d+(\S+)?/;function Ti(t,e){var i;for(const s of t){const n=(i=s.match)==null?void 0:i.call(s,xh);if(n)return n[1]}return e}function We(t,e,i){const s=t.style[e],n=h(h(t,e,i),e);return t.style[e]=s,n}function yo(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}var yh={mixins:[vo],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:t},e){return ko(t&&rt(t,e)||e)},start({start:t}){return lt(t,"height",this.target,!0)},end({end:t,viewport:e}){return lt(t||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[ft({target:({$el:t,target:e})=>[t,e]}),fi()],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!j(this.$el))return!1;if(!this.matchMedia)return;const i=t;return t=kh(rs(this.target,this.start,this.end),this.easing),{percent:t,style:i===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&h(this.$el,t)},events:["scroll","resize"]}};function kh(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function ko(t){return t?"offsetTop"in t?t:ko(A(t)):document.documentElement}var So={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},Io={observe:Me({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function Sh(t,e,i,{center:s,easing:n,list:o}){const r=new Je,a=t?Re(t,o,s):Re(e,o,s)+b(e).width*i,l=e?Re(e,o,s):a+b(t).width*i*(X?-1:1);return{dir:i,show(c,u=0,d){const f=d?"linear":n;return c-=Math.round(c*Q(u,-1,1)),this.translate(u),u=t?u:Q(u,0,1),_s(this.getItemIn(),"itemin",{percent:u,duration:c,timing:f,dir:i}),t&&_s(this.getItemIn(!0),"itemout",{percent:1-u,duration:c,timing:f,dir:i}),I.start(o,{transform:W(-l*(X?-1:1),"px")},c,f).then(r.resolve,S),r.promise},cancel(){I.cancel(o)},reset(){h(o,"transform","")},forward(c,u=this.percent()){return I.cancel(o),this.show(c,u,!0)},translate(c){const u=this.getDistance()*i*(X?-1:1);h(o,"transform",W(Q(-l+(u-u*c),-Ei(o),b(o).width)*(X?-1:1),"px"));const d=this.getActives(),f=this.getItemIn(),v=this.getItemIn(!0);c=t?Q(c,-1,1):0;for(const C of P(o)){const z=g(d,C),M=C===f,Ot=C===v,As=M||!Ot&&(z||i*(X?-1:1)===-1^Pi(C,o)>Pi(t||e));_s(C,`itemtranslate${As?"in":"out"}`,{dir:i,percent:Ot?1-c:M?c:z?1:0})}},percent(){return Math.abs((h(o,"transform").split(",")[4]*(X?-1:1)+a)/(l-a))},getDistance(){return Math.abs(l-a)},getItemIn(c=!1){let u=this.getActives(),d=To(o,Re(e||t,o,s));if(c){const f=u;u=d,d=f}return d[xt(d,f=>!g(u,f))]},getActives(){return To(o,Re(t||e,o,s))}}}function Re(t,e,i){const s=Pi(t,e);return i?s-Ih(t,e):Math.min(s,Co(e))}function Co(t){return Math.max(0,Ei(t)-b(t).width)}function Ei(t){return Dt(P(t),e=>b(e).width)}function Ih(t,e){return b(e).width/2-b(t).width/2}function Pi(t,e){return t&&(ii(t).left+(X?b(t).width-b(e).width:0))*(X?-1:1)||0}function To(t,e){e-=1;const i=b(t).width,s=e+i+2;return P(t).filter(n=>{const o=Pi(n,t),r=o+Math.min(b(n).width,i);return o>=e&&r<=s})}function _s(t,e,i){m(t,Mt(e,!1,!1,i))}var Ch={mixins:[st,co,So,Io],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:Sh},computed:{avgWidth(){return Ei(this.list)/this.length},finite({finite:t}){return t||Th(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return se(this.sets);let t=0;const e=Co(this.list),i=xt(this.slides,s=>{if(t>=e)return!0;t+=b(s).width});return~i?i:this.length-1},sets({sets:t}){if(!t)return;let e=0;const i=[],s=b(this.list).width;for(let n=0;n<this.length;n++){const o=b(this.slides[n]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+b(this.slides[+n+1]).width/2>s/2&&(i.push(+n),e=s/2-o/2):e===0&&i.push(Math.min(+n,this.maxIndex)),e+=o}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return P(this.list).filter(j)}},connected(){q(this.$el,this.clsContainer,!w(`.${this.clsContainer}`,this.$el))},observe:ft({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=St(tt(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!g(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!g(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=uo(this.avgWidth/this.velocity)*(b(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&y(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){h(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>h(n,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=b(this.list).width/2-b(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];h(o,"order",n>t?-2:-1),i-=b(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||g(this.sets,$(this.index)))&&this.clsActivated||""];for(const i of this.slides){const s=g(t,i);q(i,e,s),p(i,"aria-hidden",!s),p(F(ye,i),"tabindex",s?null:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(g(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=b(this.list),e=-t,i=t*2,s=b(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const c=this.slides[this.getIndex(this.index+r+l++*r)];a+=b(c).width*r,o.add(c)}while(this.length>l&&a>e&&a<i)}return Array.from(o)}}};function Th(t,e){if(!t||t.length<2)return!0;const{width:i}=b(t);if(!e)return Math.ceil(Ei(t))<Math.trunc(i+Eh(t));const s=P(t),n=Math.trunc(i/2);for(const o in s){const r=s[o],a=b(r).width,l=new Set([r]);let c=0;for(const u of[-1,1]){let d=a/2,f=0;for(;d<n;){const v=s[dt(+o+u+f++*u,s)];if(l.has(v))return!0;d+=b(v).width,l.add(v)}c=Math.max(c,a/2+b(s[dt(+o+u,s)]).width/2-(d-n))}if(c>Dt(s.filter(u=>!l.has(u)),u=>b(u).width))return!0}return!1}function Eh(t){return Math.max(0,...P(t).map(e=>b(e).width))}var Eo={mixins:[vo],data:{selItem:"!li"},beforeConnect(){this.item=rt(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,duration:i,timing:s,dir:n}}){J.read(()=>{if(!this.matchMedia)return;const o=this.getCss(_o(t,n,e)),r=this.getCss(Po(t)?.5:n>0?1:0);J.write(()=>{h(this.$el,o),I.start(this.$el,r,i,s).catch(S)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){I.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){J.read(()=>{if(!this.matchMedia){this.reset();return}const s=this.getCss(_o(t,i,e));J.write(()=>h(this.$el,s))})}}]};function Po(t){return Zt(t,"in")}function _o(t,e,i){return i/=2,Po(t)^e<0?i:1-i}var Ph={...Is,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:pe(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:pe(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:W(30),zIndex:-1},{transform:W(),zIndex:0}]:[{transform:W(-100),zIndex:0},{transform:W(),zIndex:-1}]},percent(t,e,i){return i<0?1-Fe(e):Fe(t)},translate(t,e){return e<0?[{transform:W(30*t),zIndex:-1},{transform:W(-100*(1-t)),zIndex:0}]:[{transform:W(-t*100),zIndex:0},{transform:W(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:W(100),zIndex:0},{transform:W(),zIndex:-1}]:[{transform:W(-30),zIndex:-1},{transform:W(),zIndex:0}]},percent(t,e,i){return i>0?1-Fe(e):Fe(t)},translate(t,e){return e<0?[{transform:W(t*100),zIndex:0},{transform:W(-30*(1-t)),zIndex:-1}]:[{transform:W(-30*t),zIndex:-1},{transform:W(100*(1-t)),zIndex:0}]}}},_h={mixins:[st,fo,So,Io],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Ph},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-le(this.list,"height","content-box")}},write({height:t}){t>0&&h(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},Ah={mixins:[st,no],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:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{yt(this.pos,ae(i)),e(i)}}},events:{name:mt,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return P(this.target)},isEmpty(){return be(this.items)},handles({handle:t},e){return t?F(t,e):this.items}},watch:{isEmpty(t){q(this.target,this.clsEmpty,t)},handles(t,e){h(e,{touchAction:"",userSelect:""}),h(t,{touchAction:Wt?"none":"",userSelect:"none"})}},update:{write(t){if(!this.drag||!A(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;h(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(I.inProgress))return;const l=Mh(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),u=Nh(r.target,l,o,e,i,r===c&&t.moved!==l);u!==!1&&(u&&o===u||(r!==c?(c.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>D(e,o));!n||s||i>0||Wi(e)||D(e,`.${this.clsNoDrag}`)||this.handle&&!D(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:oe(n),...this.pos},x(document,ni,this.move),x(document,_t,this.end),this.threshold||this.start(t))},start(t){this.drag=Bh(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();yt(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),y(this.drag,this.clsDrag,this.clsCustom),y(this.placeholder,this.clsPlaceholder),y(this.items,this.clsItem),y(document.documentElement,this.clsDragState),m(this.$el,"start",[this,this.placeholder]),Oh(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(Bt(document,ni,this.move),Bt(document,_t,this.end),!this.drag)return;Dh();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==oe(this.placeholder)&&m(this.$el,"moved",[this,this.placeholder]):(m(t.$el,"added",[t,this.placeholder]),m(this.$el,"removed",[this,this.placeholder])),m(this.$el,"stop",[this,this.placeholder]),at(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)N(s.items,e,i);this.touched=null,N(document.documentElement,this.clsDragState)},insert(t,e){y(this.items,this.clsItem);const i=()=>e?Ze(e,t):L(this.target,t);this.animate(i)},remove(t){D(t,this.target)&&this.animate(()=>at(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=A(t))}}};let Ao;function Oh(t){let e=Date.now();Ao=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),vt(document.elementFromPoint(i,t.y)).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:c,height:u}=ht(o);if(l<s&&l+35>s)r-=n;else if(c>s&&c-35<s)r+=n;else return;if(r>0&&r<a-u)return o.scrollTop=r,!0})},15)}function Dh(){clearInterval(Ao)}function Bh(t,e){let i;if(G(e,"li","tr")){i=w("<div>"),L(i,e.cloneNode(!0).children);for(const s of e.getAttributeNames())p(i,s,e.getAttribute(s))}else i=e.cloneNode(!0);return L(t,i),h(i,"margin","0","important"),h(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:h(e,"padding")}),et(i.firstElementChild,et(e.firstElementChild)),i}function Mh(t,e){return t[xt(t,i=>Ge(e,i.getBoundingClientRect()))]}function Nh(t,e,i,s,n,o){if(!P(t).length)return;const r=e.getBoundingClientRect();if(!o)return zh(t,i)||n<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=Oo([r.top,r.bottom],[a.top,a.bottom]),[c,u,d,f]=l?[s,"width","left","right"]:[n,"height","top","bottom"],v=a[u]<r[u]?r[u]-a[u]:0;return a[d]<r[d]?v&&c<r[d]+v?!1:e.nextElementSibling:v&&c>r[f]-v?!1:e}function zh(t,e){const i=P(t).length===1;i&&L(t,e);const s=P(t),n=s.some((o,r)=>{const a=o.getBoundingClientRect();return s.slice(r+1).some(l=>{const c=l.getBoundingClientRect();return!Oo([a.left,a.right],[c.left,c.right])})});return i&&at(e),n}function Oo(t,e){return t[1]>e[0]&&e[1]>t[0]}var Fh={mixins:[Ne,Vt,Pn],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this.id=At(this),this._hasTitle=bt(this.$el,"title"),p(this.$el,{title:"","aria-describedby":this.id}),Hh(this.$el)},disconnected(){this.hide(),p(this.$el,"title")||p(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){E(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),at(this.tooltip),this.tooltip=null))},_show(){this.tooltip=L(this.container,`<div id="${this.id}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${this.title}</div> </div>`),x(this.tooltip,"toggled",(t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[s,n]=Lh(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${si(s)}-${n}`:`${n}-${si(s)}`;const o=[R(document,`keydown ${mt}`,this.hide,!1,r=>r.type===mt&&!D(r.target,this.$el)||r.type==="keydown"&&r.keyCode===T.ESC),x([document,...jt(this.$el)],"scroll",i,{passive:!0})];R(this.tooltip,"hide",()=>o.forEach(r=>r()),{self:!0})}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${Rt} ${ue}`](t){Ct(t)||this[t.type===Rt?"show":"hide"]()},[mt](t){Ct(t)&&this.show()}}};function Hh(t){Ke(t)||p(t,"tabindex","0")}function Lh(t,e,[i,s]){const n=_(t),o=_(e),r=[["left","right"],["top","bottom"]];for(const l of r){if(n[l[0]]>=o[l[1]]){i=l[1];break}if(n[l[1]]<=o[l[0]]){i=l[0];break}}const a=g(r[0],i)?r[1]:r[0];return n[a[0]]===o[a[0]]?s=a[0]:n[a[1]]===o[a[1]]?s=a[1]:s="center",[i,s]}var Wh={mixins:[vs],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:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:S,beforeAll:S,beforeSend:S,complete:S,completeAll:S,error:S,fail:S,load:S,loadEnd:S,loadStart:S,progress:S},events:{change(t){E(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){_i(t);const e=t.dataTransfer;e!=null&&e.files&&(N(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){_i(t)},dragover(t){_i(t),y(this.$el,this.clsDragover)},dragleave(t){_i(t),N(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=Oi(t),!t.length)return;m(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!Do(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!Do(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=Rh(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await jh(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;x(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])x(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function Do(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Rh(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function _i(t){t.preventDefault(),t.stopPropagation()}function jh(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:S,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>qh(t,i))}function qh(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);x(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s(yt(Error(n.statusText),{xhr:n,status:n.status}))}),x(n,"error",()=>s(yt(Error("Network Error"),{xhr:n}))),x(n,"timeout",()=>s(yt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}var Uh=Object.freeze({__proto__:null,Countdown:Ul,Filter:Zl,Lightbox:dh,LightboxPanel:po,Notification:ph,Parallax:yh,Slider:Ch,SliderParallax:Eo,Slideshow:_h,SlideshowParallax:Eo,Sortable:Ah,Tooltip:Fh,Upload:Wh});return It(Uh,(t,e)=>ut.component(e,t)),ut});
|