KotlinPublicationScriptsBui.../core/src/jsMain/resources/js/uikit.min.js

2 lines
133 KiB
JavaScript

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