uikit 3.16.6 → 3.16.7-dev.fcb5a4616

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +2 -0
  3. package/dist/css/uikit-core-rtl.css +1 -1
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +1 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +2 -2
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +2 -2
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +1 -1
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +5 -414
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +194 -1996
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +205 -1993
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +1 -1
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +3 -248
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +1 -1
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +143 -2429
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +1 -1
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +97 -2383
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +3 -408
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +81 -2367
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +1 -1
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +85 -78
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +1 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +85 -78
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +9 -8
  44. package/src/js/api/app.js +1 -1
  45. package/src/js/api/boot.js +1 -1
  46. package/src/js/api/component.js +1 -1
  47. package/src/js/api/computed.js +1 -1
  48. package/src/js/api/events.js +1 -1
  49. package/src/js/api/global.js +43 -43
  50. package/src/js/api/index.js +5 -5
  51. package/src/js/api/instance.js +42 -41
  52. package/src/js/api/observables.js +1 -1
  53. package/src/js/api/observer.js +9 -1
  54. package/src/js/api/options.js +1 -1
  55. package/src/js/api/props.js +1 -1
  56. package/src/js/api/state.js +1 -1
  57. package/src/js/api/update.js +1 -1
  58. package/src/js/api/watch.js +1 -1
  59. package/src/less/components/dropdown.less +1 -1
  60. package/src/less/theme/dropdown.less +2 -0
  61. package/src/scss/components/dropdown.scss +1 -1
  62. package/src/scss/theme/dropdown.scss +2 -0
  63. package/src/scss/variables-theme.scss +2 -2
  64. package/src/scss/variables.scss +1 -1
@@ -1 +1 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(r,G){typeof exports=="object"&&typeof module<"u"?module.exports=G(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitlightbox",["uikit-util"],G):(r=typeof globalThis<"u"?globalThis:r||self,r.UIkitLightbox=G(r.UIkit.util))})(this,function(r){"use strict";var G={slide:{show(t){return[{transform:It(t*-100)},{transform:It()}]},percent(t){return Kn(t)},translate(t,e){return[{transform:It(e*-100*t)},{transform:It(e*100*(1-t))}]}}};function Kn(t){return Math.abs(r.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function It(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function Ct(t){return`scale3d(${t}, ${t}, 1)`}var Ae={...G,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-r.css(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:Ct(1-.2)},{opacity:1,transform:Ct(1)}]},percent(t){return 1-r.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:Ct(1-.2*t)},{opacity:t,transform:Ct(1-.2+.2*t)}]}}},Zn={connected(){r.addClass(this.$el,this.$options.id)}},Qn={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&r.$(t)}}},Vn={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>r.startsWith(t[0],e))}},methods:{toggleElement(t,e,n){return new Promise(o=>Promise.all(r.toNodes(t).map(s=>{const i=r.isBoolean(e)?e:!this.isToggled(s);if(!r.trigger(s,`before${i?"show":"hide"}`,[this]))return Promise.reject();const c=(r.isFunction(n)?n:n===!1||!this.hasAnimation?kn:this.hasTransition?Un:to)(s,i,this),a=i?this.clsEnter:this.clsLeave;r.addClass(s,a),r.trigger(s,i?"show":"hide",[this]);const u=()=>{r.removeClass(s,a),r.trigger(s,i?"shown":"hidden",[this])};return c?c.then(u,()=>(r.removeClass(s,a),Promise.reject())):u()})).then(o,r.noop))},isToggled(t=this.$el){return[t]=r.toNodes(t),r.hasClass(t,this.clsEnter)?!0:r.hasClass(t,this.clsLeave)?!1:this.cls?r.hasClass(t,this.cls.split(" ")[0]):r.isVisible(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let n;this.cls?(n=r.includes(this.cls," ")||e!==r.hasClass(t,this.cls),n&&r.toggleClass(t,this.cls,r.includes(this.cls," ")?void 0:e)):(n=e===t.hidden,n&&(t.hidden=!e)),r.$$("[autofocus]",t).some(o=>r.isVisible(o)?o.focus()||!0:o.blur()),n&&r.trigger(t,"toggled",[e,this])}}};function kn(t,e,{_toggle:n}){return r.Animation.cancel(t),r.Transition.cancel(t),n(t,e)}async function Un(t,e,{animation:n,duration:o,velocity:s,transition:i,_toggle:c}){var a;const[u="reveal",h="top"]=((a=n[0])==null?void 0:a.split("-"))||[],f=[["left","right"],["top","bottom"]],l=f[r.includes(f[0],h)?0:1],v=l[1]===h,x=["width","height"][f.indexOf(l)],_=`margin-${l[0]}`,y=`margin-${h}`;let yt=r.dimensions(t)[x];const xr=r.Transition.inProgress(t);await r.Transition.cancel(t),e&&c(t,!0);const Ir=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",_,y].map(Gn=>[Gn,t.style[Gn]])),xt=r.dimensions(t),Pe=r.toFloat(r.css(t,_)),Xn=r.toFloat(r.css(t,y)),J=xt[x]+Xn;!xr&&!e&&(yt+=Xn);const[Bt]=r.wrapInner(t,"<div>");r.css(Bt,{boxSizing:"border-box",height:xt.height,width:xt.width,...r.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",y])}),r.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[y]:0,width:xt.width,height:xt.height,overflow:"hidden",[x]:yt});const Yn=yt/J;o=(s*J+o)*(e?1-Yn:Yn);const Jn={[x]:e?J:0};v&&(r.css(t,_,J-yt+Pe),Jn[_]=e?Pe:J+Pe),!v^u==="reveal"&&(r.css(Bt,_,-J+yt),r.Transition.start(Bt,{[_]:e?0:-J},o,i));try{await r.Transition.start(t,Jn,o,i)}finally{r.css(t,Ir),r.unwrap(Bt.firstChild),e||c(t,!1)}}function to(t,e,n){r.Animation.cancel(t);const{animation:o,duration:s,_toggle:i}=n;return e?(i(t,!0),r.Animation.in(t,o[0],s,n.origin)):r.Animation.out(t,o[1]||o[0],s,n.origin).then(()=>i(t,!1))}const{hasOwnProperty:eo,toString:no}=Object.prototype;function L(t,e){return eo.call(t,e)}const oo=/\B([A-Z])/g,rt=N(t=>t.replace(oo,"-$1").toLowerCase()),so=/-(\w)/g,it=N(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(so,(e,n)=>n.toUpperCase())),j=N(t=>t.charAt(0).toUpperCase()+t.slice(1));function z(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}function ro(t,e){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,e)}function K(t,e){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,e)}function Oe(t,e){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,e)}const{isArray:I,from:io}=Array,{assign:jt}=Object;function P(t){return typeof t=="function"}function R(t){return t!==null&&typeof t=="object"}function F(t){return no.call(t)==="[object Object]"}function Z(t){return R(t)&&t===t.window}function _t(t){return Ht(t)===9}function zt(t){return Ht(t)>=1}function ct(t){return Ht(t)===1}function Ht(t){return!Z(t)&&R(t)&&t.nodeType}function Se(t){return typeof t=="boolean"}function w(t){return typeof t=="string"}function Wt(t){return typeof t=="number"}function Et(t){return Wt(t)||w(t)&&!isNaN(t-parseFloat(t))}function Ne(t){return!(I(t)?t.length:R(t)&&Object.keys(t).length)}function E(t){return t===void 0}function qt(t){return Se(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function at(t){const e=Number(t);return isNaN(e)?!1:e}function C(t){return parseFloat(t)||0}function g(t){return p(t)[0]}function p(t){return zt(t)?[t]:Array.from(t||[]).filter(zt)}function Q(t){if(Z(t))return t;t=g(t);const e=_t(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Xt(t,e){return t===e||R(t)&&R(e)&&Object.keys(t).length===Object.keys(e).length&&Tt(t,(n,o)=>n===e[o])}function co(t,e,n){return t.replace(new RegExp(`${e}|${n}`,"g"),o=>o===e?n:e)}function De(t){return t[t.length-1]}function Tt(t,e){for(const n in t)if(e(t[n],n)===!1)return!1;return!0}function Me(t,e){return t.slice().sort(({[e]:n=0},{[e]:o=0})=>n>o?1:o>n?-1:0)}function Yt(t,e){return t.reduce((n,o)=>n+C(P(e)?e(o):o[e]),0)}function ao(t,e){const n=new Set;return t.filter(({[e]:o})=>n.has(o)?!1:n.add(o))}function uo(t,e){return e.reduce((n,o)=>({...n,[o]:t[o]}),{})}function V(t,e=0,n=1){return Math.min(Math.max(at(t)||0,e),n)}function Pt(){}function Le(...t){return[["bottom","top"],["right","left"]].every(([e,n])=>Math.min(...t.map(({[e]:o})=>o))-Math.max(...t.map(({[n]:o})=>o))>0)}function Jt(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Gt(t,e,n){const o=e==="width"?"height":"width";return{[o]:t[e]?Math.round(n*t[o]/t[e]):t[o],[e]:n}}function Re(t,e){t={...t};for(const n in t)t=t[n]>e[n]?Gt(t,n,e[n]):t;return t}function ho(t,e){t=Re(t,e);for(const n in t)t=t[n]<e[n]?Gt(t,n,e[n]):t;return t}const fo={ratio:Gt,contain:Re,cover:ho};function lo(t,e,n=0,o=!1){e=p(e);const{length:s}=e;return s?(t=Et(t)?at(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?s-1:e.indexOf(g(t)),o?V(t,0,s-1):(t%=s,t<0?t+s:t)):-1}function N(t){const e=Object.create(null);return n=>e[n]||(e[n]=t(n))}class po{constructor(){this.promise=new Promise((e,n)=>{this.reject=n,this.resolve=e})}}function H(t,e,n){var o;if(R(e)){for(const s in e)H(t,s,e[s]);return}if(E(n))return(o=g(t))==null?void 0:o.getAttribute(e);for(const s of p(t))P(n)&&(n=n.call(s,H(s,e))),n===null?Be(s,e):s.setAttribute(e,n)}function Fe(t,e){return p(t).some(n=>n.hasAttribute(e))}function Be(t,e){p(t).forEach(n=>n.removeAttribute(e))}function Kt(t,e){for(const n of[e,`data-${e}`])if(Fe(t,n))return H(t,n)}const mo={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function go(t){return p(t).some(e=>mo[e.tagName.toLowerCase()])}function At(t){return p(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const Zt="input,select,textarea,button";function vo(t){return p(t).some(e=>k(e,Zt))}const je=`${Zt},a[href],[tabindex]`;function bo(t){return k(t,je)}function ut(t){var e;return(e=g(t))==null?void 0:e.parentElement}function ze(t,e){return p(t).filter(n=>k(n,e))}function k(t,e){return p(t).some(n=>n.matches(e))}function ht(t,e){return ct(t)?t.closest(z(e,">")?e.slice(1):e):p(t).map(n=>ht(n,e)).filter(Boolean)}function Ot(t,e){return w(e)?!!ht(t,e):g(e).contains(g(t))}function Qt(t,e){const n=[];for(;t=ut(t);)(!e||k(t,e))&&n.push(t);return n}function He(t,e){t=g(t);const n=t?p(t.children):[];return e?ze(n,e):n}function We(t,e){return e?p(t).indexOf(g(e)):He(ut(t)).indexOf(t)}function qe(t){return t=g(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function wo(t){if(qe(t)){t=g(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function $o(t,e){return Vt(t,Ye(t,e))}function yo(t,e){return ft(t,Ye(t,e))}function Vt(t,e){return g(Je(t,g(e),"querySelector"))}function ft(t,e){return p(Je(t,g(e),"querySelectorAll"))}const xo=/(^|[^\\],)\s*[!>+~-]/,Xe=N(t=>t.match(xo));function Ye(t,e=document){return w(t)&&Xe(t)||_t(e)?e:e.ownerDocument}const Io=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Co=N(t=>t.replace(Io,"$1 *"));function Je(t,e=document,n){if(!t||!w(t))return t;if(t=Co(t),Xe(t)){const o=Eo(t);t="";for(let s of o){let i=e;if(s[0]==="!"){const c=s.substr(1).trim().split(" ");if(i=ht(ut(e),c[0]),s=c.slice(1).join(" ").trim(),!s.length&&o.length===1)return i}if(s[0]==="-"){const c=s.substr(1).trim().split(" "),a=(i||e).previousElementSibling;i=k(a,s.substr(1))?a:null,s=c.slice(1).join(" ")}i&&(t+=`${t?",":""}${To(i)} ${s}`)}e=document}try{return e[n](t)}catch{return null}}const _o=/.*?[^\\](?:,|$)/g,Eo=N(t=>t.match(_o).map(e=>e.replace(/,$/,"").trim()));function To(t){const e=[];for(;t.parentNode;){const n=H(t,"id");if(n){e.unshift(`#${Ge(n)}`);break}else{let{tagName:o}=t;o!=="HTML"&&(o+=`:nth-child(${We(t)+1})`),e.unshift(o),t=t.parentNode}}return e.join(" > ")}function Ge(t){return w(t)?CSS.escape(t):""}function B(...t){let[e,n,o,s,i=!1]=kt(t);s.length>1&&(s=Ao(s)),i!=null&&i.self&&(s=Oo(s)),o&&(s=Po(o,s));for(const c of n)for(const a of e)a.addEventListener(c,s,i);return()=>Ke(e,n,s,i)}function Ke(...t){let[e,n,,o,s=!1]=kt(t);for(const i of n)for(const c of e)c.removeEventListener(i,o,s)}function U(...t){const[e,n,o,s,i=!1,c]=kt(t),a=B(e,n,o,u=>{const h=!c||c(u);h&&(a(),s(u,h))},i);return a}function W(t,e,n){return Ut(t).every(o=>o.dispatchEvent(Ze(e,!0,!0,n)))}function Ze(t,e=!0,n=!1,o){return w(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:n,detail:o})),t}function kt(t){return t[0]=Ut(t[0]),w(t[1])&&(t[1]=t[1].split(" ")),P(t[2])&&t.splice(2,0,!1),t}function Po(t,e){return n=>{const o=t[0]===">"?ft(t,n.currentTarget).reverse().filter(s=>Ot(n.target,s))[0]:ht(n.target,t);o&&(n.current=o,e.call(this,n),delete n.current)}}function Ao(t){return e=>I(e.detail)?t(e,...e.detail):t(e)}function Oo(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Qe(t){return t&&"addEventListener"in t}function So(t){return Qe(t)?t:g(t)}function Ut(t){return I(t)?t.map(So).filter(Boolean):w(t)?ft(t):Qe(t)?[t]:p(t)}function No(t){return t.pointerType==="touch"||!!t.touches}function Ve(t){var e,n;const{clientX:o,clientY:s}=((e=t.touches)==null?void 0:e[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:o,y:s}}const Do={"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 d(t,e,n,o){const s=p(t);for(const i of s)if(w(e)){if(e=te(e),E(n))return getComputedStyle(i).getPropertyValue(e);i.style.setProperty(e,Et(n)&&!Do[e]?`${n}px`:n||Wt(n)?n:"",o)}else if(I(e)){const c={};for(const a of e)c[a]=d(i,a);return c}else R(e)&&(o=n,Tt(e,(c,a)=>d(i,a,c,o)));return s[0]}const te=N(t=>Mo(t));function Mo(t){if(z(t,"--"))return t;t=rt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const n of["webkit","moz"]){const o=`-${n}-${t}`;if(o in e)return o}}function Lo(t){if(document.readyState!=="loading"){t();return}U(document,"DOMContentLoaded",t)}function ee(t,...e){return e.some(n=>{var o;return((o=t==null?void 0:t.tagName)==null?void 0:o.toLowerCase())===n.toLowerCase()})}function ke(t){return t=q(t),t.innerHTML="",t}function Ro(t,e){return E(e)?q(t).innerHTML:lt(ke(t),e)}const Fo=St("prepend"),lt=St("append"),Ue=St("before"),Bo=St("after");function St(t){return function(e,n){var o;const s=p(w(n)?Nt(n):n);return(o=q(e))==null||o[t](...s),en(s)}}function ne(t){p(t).forEach(e=>e.remove())}function tn(t,e){for(e=g(Ue(t,e));e.firstChild;)e=e.firstChild;return lt(e,t),e}function jo(t,e){return p(p(t).map(n=>n.hasChildNodes()?tn(p(n.childNodes),e):lt(n,e)))}function zo(t){p(t).map(ut).filter((e,n,o)=>o.indexOf(e)===n).forEach(e=>e.replaceWith(...e.childNodes))}const Ho=/^\s*<(\w+|!)[^>]*>/,Wo=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Nt(t){const e=Wo.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("div");return Ho.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,en(n.childNodes)}function en(t){return t.length>1?t:t[0]}function oe(t,e){if(ct(t))for(e(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;oe(t,e),t=n}}function q(t,e){return on(t)?g(Nt(t)):Vt(t,e)}function nn(t,e){return on(t)?p(Nt(t)):ft(t,e)}function on(t){return w(t)&&z(t.trim(),"<")}const X={width:["left","right"],height:["top","bottom"]};function se(t){const e=ct(t)?g(t).getBoundingClientRect():{height:rn(t),width:Dt(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 O(t,e){const n=se(t);if(t){const{scrollY:s,scrollX:i}=Q(t),c={height:s,width:i};for(const a in X)for(const u of X[a])n[u]+=c[a]}if(!e)return n;const o=d(t,"position");Tt(d(t,["left","top"]),(s,i)=>d(t,i,e[i]-n[i]+C(o==="absolute"&&s==="auto"?sn(t)[i]:s)))}function sn(t){let{top:e,left:n}=O(t);const{ownerDocument:{body:o,documentElement:s},offsetParent:i}=g(t);let c=i||s;for(;c&&(c===o||c===s)&&d(c,"position")==="static";)c=c.parentNode;if(ct(c)){const a=O(c);e-=a.top+C(d(c,"borderTopWidth")),n-=a.left+C(d(c,"borderLeftWidth"))}return{top:e-C(d(t,"marginTop")),left:n-C(d(t,"marginLeft"))}}function re(t){t=g(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+C(d(t,"borderTopWidth")),e[1]+=t.offsetLeft+C(d(t,"borderLeftWidth")),d(t,"position")==="fixed"){const n=Q(t);return e[0]+=n.scrollY,e[1]+=n.scrollX,e}return e}const rn=cn("height"),Dt=cn("width");function cn(t){const e=j(t);return(n,o)=>{if(E(o)){if(Z(n))return n[`inner${e}`];if(_t(n)){const s=n.documentElement;return Math.max(s[`offset${e}`],s[`scroll${e}`])}return n=g(n),o=d(n,t),o=o==="auto"?n[`offset${e}`]:C(o)||0,o-ie(n,t)}else return d(n,t,!o&&o!==0?"":+o+ie(n,t)+"px")}}function ie(t,e,n="border-box"){return d(t,"boxSizing")===n?Yt(X[e].map(j),o=>C(d(t,`padding${o}`))+C(d(t,`border${o}Width`))):0}function qo(t){for(const e in X)for(const n in X[e])if(X[e][n]===t)return X[e][1-n];return t}function Xo(t,e="width",n=window,o=!1){return w(t)?Yt(Jo(t),s=>{const i=Ko(s);return i?Zo(i==="vh"?Qo():i==="vw"?Dt(Q(n)):o?n[`offset${j(e)}`]:se(n)[e],s):s}):C(t)}const Yo=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Jo=N(t=>t.toString().replace(/\s/g,"").match(Yo)||[]),Go=/(?:v[hw]|%)$/,Ko=N(t=>(t.match(Go)||[])[0]);function Zo(t,e){return t*C(e)/100}let dt,tt;function Qo(){return dt||(tt||(tt=q("<div>"),d(tt,{height:"100vh",position:"fixed"}),B(window,"resize",()=>dt=null)),lt(document.body,tt),dt=tt.clientHeight,ne(tt),dt)}function Vo(t,e=0,n=0){return At(t)?Le(...ce(t).map(o=>{const{top:s,left:i,bottom:c,right:a}=D(o);return{top:s-e,left:i-n,bottom:c+e,right:a+n}}).concat(O(t))):!1}function ko(t,{offset:e=0}={}){const n=At(t)?pt(t,!1,["hidden"]):[];return n.reduce((c,a,u)=>{const{scrollTop:h,scrollHeight:f,offsetHeight:l}=a,v=D(a),b=f-v.height,{height:x,top:_}=n[u-1]?D(n[u-1]):O(t);let y=Math.ceil(_-v.top-e+h);return e>0&&l<x+e?y+=e:e=0,y>b?(e-=y-b,y=b):y<0&&(e-=y,y=0),()=>o(a,y-h).then(c)},()=>Promise.resolve())();function o(c,a){return new Promise(u=>{const h=c.scrollTop,f=s(Math.abs(a)),l=Date.now();(function v(){const b=i(V((Date.now()-l)/f));c.scrollTop=h+a*b,b===1?u():requestAnimationFrame(v)})()})}function s(c){return 40*Math.pow(c,.375)}function i(c){return .5*(1-Math.cos(Math.PI*c))}}function Uo(t,e=0,n=0){if(!At(t))return 0;const[o]=pt(t,!0),{scrollHeight:s,scrollTop:i}=o,{height:c}=D(o),a=s-c,u=re(t)[0]-re(o)[0],h=Math.max(0,u-c+e),f=Math.min(a,u+t.offsetHeight-n);return V((i-h)/(f-h))}function pt(t,e=!1,n=[]){const o=an(t);let s=Qt(t).reverse();s=s.slice(s.indexOf(o)+1);const i=Oe(s,c=>d(c,"position")==="fixed");return~i&&(s=s.slice(i)),[o].concat(s.filter(c=>d(c,"overflow").split(" ").some(a=>K(["auto","scroll",...n],a))&&(!e||c.scrollHeight>D(c).height))).reverse()}function ce(t){return pt(t,!1,["hidden","clip"])}function D(t){const e=Q(t),{visualViewport:n,document:{documentElement:o}}=e;let s=t===an(t)?e:t;if(Z(s)&&n){let{height:c,width:a,scale:u,pageTop:h,pageLeft:f}=n;return c=Math.round(c*u),a=Math.round(a*u),{height:c,width:a,top:h,left:f,bottom:h+c,right:f+a}}let i=O(s);if(d(s,"display")==="inline")return i;for(let[c,a,u,h]of[["width","x","left","right"],["height","y","top","bottom"]])Z(s)?s=o:i[u]+=C(d(s,`border-${u}-width`)),i[c]=i[a]=s[`client${j(c)}`],i[h]=i[c]+i[u];return i}function an(t){return Q(t).document.scrollingElement}let ae;function ts(t){const e=B(t,"touchmove",o=>{if(o.targetTouches.length!==1)return;let[{scrollHeight:s,clientHeight:i}]=pt(o.target);i>=s&&o.cancelable&&o.preventDefault()},{passive:!1});if(ae)return e;ae=!0;const{scrollingElement:n}=document;return d(n,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Dt(window)-n.clientWidth||""}),()=>{ae=!1,e(),d(n,{overflowY:"",touchAction:"",paddingRight:""})}}const T=[];var es={mixins:[Zn,Qn,Vn],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:t},e){return r.$(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){r.attr(this.panel||this.$el,"role",this.role),this.overlay&&r.attr(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){r.includes(T,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:n}=t,{hash:o}=e;!n&&o&&r.isSameSiteAnchor(e)&&!r.within(o,this.$el)&&r.$(o,document.body)?this.hide():r.matches(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===r.includes(T,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(r.includes(T,this))return!1;!this.stack&&T.length?(Promise.all(T.map(e=>e.hide())).then(this.show),t.preventDefault()):T.push(this)}},{name:"show",self:!0,handler(){this.stack&&r.css(this.$el,"zIndex",r.toFloat(r.css(this.$el,"zIndex"))+T.length);const t=[this.overlay&&os(this),this.overlay&&ts(this.$el),this.bgClose&&ss(this),this.escClose&&rs(this)];r.once(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),r.addClass(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){r.isFocusable(this.$el)||r.attr(this.$el,"tabindex","-1"),r.matches(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){r.includes(T,this)&&T.splice(T.indexOf(this),1),r.css(this.$el,"zIndex",""),T.some(t=>t.clsPage===this.clsPage)||r.removeClass(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&r.parent(this.$el)!==this.container?(r.append(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,un)},hide(){return this.toggleElement(this.$el,!1,un)}}};function un(t,e,{transitionElement:n,_toggle:o}){return new Promise((s,i)=>r.once(t,"show hide",()=>{var c;(c=t._reject)==null||c.call(t),t._reject=i,o(t,e);const a=r.once(n,"transitionstart",()=>{r.once(n,"transitionend transitioncancel",s,{self:!0}),clearTimeout(u)},{self:!0}),u=setTimeout(()=>{a(),s()},ns(r.css(n,"transitionDuration")))})).then(()=>delete t._reject)}function ns(t){return t?r.endsWith(t,"ms")?r.toFloat(t):r.toFloat(t)*1e3:0}function os(t){return r.on(document,"focusin",e=>{r.last(T)===t&&!r.within(e.target,t.$el)&&t.$el.focus()})}function ss(t){return r.on(document,r.pointerDown,({target:e})=>{r.last(T)!==t||t.overlay&&!r.within(e,t.$el)||r.within(e,t.panel)||r.once(document,`${r.pointerUp} ${r.pointerCancel} scroll`,({defaultPrevented:n,type:o,target:s})=>{!n&&o===r.pointerUp&&e===s&&t.hide()},!0)})}function rs(t){return r.on(document,"keydown",e=>{e.keyCode===27&&r.last(T)===t&&t.hide()})}function is(t,e,n,{animation:o,easing:s}){const{percent:i,translate:c,show:a=r.noop}=o,u=a(n),h=new r.Deferred;return{dir:n,show(f,l=0,v){const b=v?"linear":s;return f-=Math.round(f*r.clamp(l,-1,1)),this.translate(l),Mt(e,"itemin",{percent:l,duration:f,timing:b,dir:n}),Mt(t,"itemout",{percent:1-l,duration:f,timing:b,dir:n}),Promise.all([r.Transition.start(e,u[1],f,b),r.Transition.start(t,u[0],f,b)]).then(()=>{this.reset(),h.resolve()},r.noop),h.promise},cancel(){r.Transition.cancel([e,t])},reset(){for(const f in u[0])r.css([e,t],f,"")},forward(f,l=this.percent()){return r.Transition.cancel([e,t]),this.show(f,l,!0)},translate(f){this.reset();const l=c(f,n);r.css(e,l[1]),r.css(t,l[0]),Mt(e,"itemtranslatein",{percent:f,dir:n}),Mt(t,"itemtranslateout",{percent:1-f,dir:n})},percent(){return i(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function Mt(t,e,n){r.trigger(t,r.createEvent(e,!1,!1,n))}var cs={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,o,s;let i=0;return((s=((n=this.i18n)==null?void 0:n[t])||((o=this.$options.i18n)==null?void 0:o[t]))==null?void 0:s.replace(/%s/g,()=>e[i++]||""))||""}}};const M={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function et(t,...e){ln(t,e,"add")}function ue(t,...e){ln(t,e,"remove")}function hn(t,e){H(t,"class",n=>(n||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function as(t,...e){e[0]&&ue(t,e[0]),e[1]&&et(t,e[1])}function fn(t,e){return[e]=he(e),!!e&&p(t).some(n=>n.classList.contains(e))}function us(t,e,n){const o=he(e);E(n)||(n=!!n);for(const s of p(t))for(const i of o)s.classList.toggle(i,n)}function ln(t,e,n){e=e.reduce((o,s)=>o.concat(he(s)),[]);for(const o of p(t))o.classList[n](...e)}function he(t){return String(t).split(/[ ,]/).filter(Boolean)}function hs(t,e,n=400,o="linear"){return n=Math.round(n),Promise.all(p(t).map(s=>new Promise((i,c)=>{for(const u in e){const h=d(s,u);h===""&&d(s,u,h)}const a=setTimeout(()=>W(s,"transitionend"),n);U(s,"transitionend transitioncanceled",({type:u})=>{clearTimeout(a),ue(s,"uk-transition"),d(s,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),u==="transitioncanceled"?c():i(s)},{self:!0}),et(s,"uk-transition"),d(s,{transitionProperty:Object.keys(e).map(te).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:o,...e})})))}const fs={start:hs,async stop(t){W(t,"transitionend"),await Promise.resolve()},async cancel(t){W(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return fn(t,"uk-transition")}},mt="uk-animation-";function dn(t,e,n=200,o,s){return Promise.all(p(t).map(i=>new Promise((c,a)=>{W(i,"animationcanceled");const u=setTimeout(()=>W(i,"animationend"),n);U(i,"animationend animationcanceled",({type:h})=>{clearTimeout(u),h==="animationcanceled"?a():c(i),d(i,"animationDuration",""),hn(i,`${mt}\\S*`)},{self:!0}),d(i,"animationDuration",`${n}ms`),et(i,e,mt+(s?"leave":"enter")),z(e,mt)&&(o&&et(i,`uk-transform-origin-${o}`),s&&et(i,`${mt}reverse`))})))}const ls=new RegExp(`${mt}(enter|leave)`),ds={in:dn,out(t,e,n,o){return dn(t,e,n,o,!0)},inProgress(t){return ls.test(H(t,"class"))},cancel(t){W(t,"animationcanceled")}},gt=typeof window<"u",ps=gt&&document.dir==="rtl",nt=gt&&"ontouchstart"in window,ot=gt&&window.PointerEvent,ms=ot?"pointerdown":nt?"touchstart":"mousedown",gs=ot?"pointermove":nt?"touchmove":"mousemove",vs=ot?"pointerup":nt?"touchend":"mouseup",bs=ot?"pointerenter":nt?"":"mouseenter",ws=ot?"pointerleave":nt?"":"mouseleave",$s=ot?"pointercancel":"touchcancel",S={reads:[],writes:[],read(t){return this.reads.push(t),le(),t},write(t){return this.writes.push(t),le(),t},clear(t){mn(this.reads,t),mn(this.writes,t)},flush:fe};function fe(t){pn(S.reads),pn(S.writes.splice(0)),S.scheduled=!1,(S.reads.length||S.writes.length)&&le(t+1)}const ys=4;function le(t){S.scheduled||(S.scheduled=!0,t&&t<ys?Promise.resolve().then(()=>fe(t)):requestAnimationFrame(()=>fe(1)))}function pn(t){let e;for(;e=t.shift();)try{e()}catch(n){console.error(n)}}function mn(t,e){const n=t.indexOf(e);return~n&&t.splice(n,1)}function gn(){}gn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=B(document,"mousemove",e=>t=Ve(e)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:n,right:o,top:s,bottom:i}=e,[c]=this.positions,a=De(this.positions),u=[c,a];return Jt(a,e)?!1:[[{x:n,y:s},{x:o,y:i}],[{x:n,y:i},{x:o,y:s}]].some(f=>{const l=xs(u,f);return l&&Jt(l,e)})}};function xs([{x:t,y:e},{x:n,y:o}],[{x:s,y:i},{x:c,y:a}]){const u=(a-i)*(n-t)-(c-s)*(o-e);if(u===0)return!1;const h=((c-s)*(e-i)-(a-i)*(t-s))/u;return h<0?!1:{x:t+h*(n-t),y:e+h*(o-e)}}function Is(t,e,n={},o=!0){const s=new IntersectionObserver(o?(i,c)=>{i.some(a=>a.isIntersecting)&&e(i,c)}:e,n);for(const i of p(t))s.observe(i);return s}const Cs=gt&&window.ResizeObserver;function vn(t,e,n={box:"border-box"}){return Cs?bn(ResizeObserver,t,e,n):(_s(),vt.add(e),{observe:Pt,unobserve:Pt,disconnect(){vt.delete(e)}})}let vt;function _s(){if(vt)return;vt=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of vt)n()}};B(window,"load resize",e),B(document,"loadedmetadata load",e,!0)}function Es(t,e,n){return bn(MutationObserver,t,e,n)}function bn(t,e,n,o){const s=new t(n);for(const i of p(e))s.observe(i,o);return s}function Ts(t){if(Rt(t)&&de(t,{func:"playVideo",method:"play"}),Lt(t))try{t.play().catch(Pt)}catch{}}function Ps(t){Rt(t)&&de(t,{func:"pauseVideo",method:"pause"}),Lt(t)&&t.pause()}function As(t){Rt(t)&&de(t,{func:"mute",method:"setVolume",value:0}),Lt(t)&&(t.muted=!0)}function Os(t){return Lt(t)||Rt(t)}function Lt(t){return ee(t,"video")}function Rt(t){return ee(t,"iframe")&&(wn(t)||$n(t))}function wn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function $n(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function de(t,e){await Ns(t),yn(t,e)}function yn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const pe="_ukPlayer";let Ss=0;function Ns(t){if(t[pe])return t[pe];const e=wn(t),n=$n(t),o=++Ss;let s;return t[pe]=new Promise(i=>{e&&U(t,"load",()=>{const c=()=>yn(t,{event:"listening",id:o});s=setInterval(c,100),c()}),U(window,"message",i,!1,({data:c})=>{try{return c=JSON.parse(c),e&&(c==null?void 0:c.id)===o&&c.event==="onReady"||n&&Number(c==null?void 0:c.player_id)===o}catch{}}),t.src=`${t.src}${K(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${o}`}`}).then(()=>clearInterval(s))}const A=[["width","x","left","right"],["height","y","top","bottom"]];function Ds(t,e,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},I(e)||(e=[e,e]),O(t,xn(t,e,n))}function xn(t,e,n){const o=In(t,e,n),{boundary:s,viewportOffset:i=0,placement:c}=n;let a=o;for(const[u,[h,,f,l]]of Object.entries(A)){const v=Ms(t,e[u],i,s,u);if(Ft(o,v,u))continue;let b=0;if(c[u]==="flip"){const x=n.attach.target[u];if(x===l&&o[l]<=v[l]||x===f&&o[f]>=v[f])continue;b=Rs(t,e,n,u)[f]-o[f];const _=Ls(t,e[u],i,u);if(!Ft(me(o,b,u),_,u)){if(Ft(o,_,u))continue;if(n.recursion)return!1;const y=Fs(t,e,n);if(y&&Ft(y,_,1-u))return y;continue}}else if(c[u]==="shift"){const x=O(e[u]),{offset:_}=n;b=V(V(o[f],v[f],v[l]-o[h]),x[f]-o[h]+_[u],x[l]-_[u])-o[f]}a=me(a,b,u)}return a}function In(t,e,n){let{attach:o,offset:s}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},i=O(t);for(const[c,[a,,u,h]]of Object.entries(A)){const f=o.target[c]===o.element[c]?D(e[c]):O(e[c]);i=me(i,f[u]-i[u]+Cn(o.target[c],h,f[a])-Cn(o.element[c],h,i[a])+ +s[c],c)}return i}function me(t,e,n){const[,o,s,i]=A[n],c={...t};return c[s]=t[o]=t[s]+e,c[i]+=e,c}function Cn(t,e,n){return t==="center"?n/2:t===e?n:0}function Ms(t,e,n,o,s){let i=En(..._n(t,e).map(D));return n&&(i[A[s][2]]+=n,i[A[s][3]]-=n),o&&(i=En(i,O(I(o)?o[s]:o))),i}function Ls(t,e,n,o){const[s,i,c,a]=A[o],[u]=_n(t,e),h=D(u);return["auto","scroll"].includes(d(u,`overflow-${i}`))&&(h[c]-=u[`scroll${j(c)}`],h[a]=h[c]+u[`scroll${j(s)}`]),h[c]+=n,h[a]-=n,h}function _n(t,e){return ce(e).filter(n=>Ot(t,n))}function En(...t){let e={};for(const n of t)for(const[,,o,s]of A)e[o]=Math.max(e[o]||0,n[o]),e[s]=Math.min(...[e[s],n[s]].filter(Boolean));return e}function Ft(t,e,n){const[,,o,s]=A[n];return t[o]>=e[o]&&t[s]<=e[s]}function Rs(t,e,{offset:n,attach:o},s){return In(t,e,{attach:{element:Tn(o.element,s),target:Tn(o.target,s)},offset:Bs(n,s)})}function Fs(t,e,n){return xn(t,e,{...n,attach:{element:n.attach.element.map(Pn).reverse(),target:n.attach.target.map(Pn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function Tn(t,e){const n=[...t],o=A[e].indexOf(t[e]);return~o&&(n[e]=A[e][1-o%2+2]),n}function Pn(t){for(let e=0;e<A.length;e++){const n=A[e].indexOf(t);if(~n)return A[1-e][n%2+2]}}function Bs(t,e){return t=[...t],t[e]*=-1,t}var js=Object.freeze({__proto__:null,$:q,$$:nn,Animation:ds,Deferred:po,Dimensions:fo,MouseTracker:gn,Transition:fs,addClass:et,after:Bo,append:lt,apply:oe,assign:jt,attr:H,before:Ue,boxModelAdjust:ie,camelize:it,children:He,clamp:V,closest:ht,createEvent:Ze,css:d,data:Kt,dimensions:se,each:Tt,empty:ke,endsWith:ro,escape:Ge,fastdom:S,filter:ze,find:Vt,findAll:ft,findIndex:Oe,flipPosition:qo,fragment:Nt,getEventPos:Ve,getIndex:lo,getTargetedElement:wo,hasAttr:Fe,hasClass:fn,hasOwn:L,hasTouch:nt,height:rn,html:Ro,hyphenate:rt,inBrowser:gt,includes:K,index:We,intersectRect:Le,isArray:I,isBoolean:Se,isDocument:_t,isElement:ct,isEmpty:Ne,isEqual:Xt,isFocusable:bo,isFunction:P,isInView:Vo,isInput:vo,isNode:zt,isNumber:Wt,isNumeric:Et,isObject:R,isPlainObject:F,isRtl:ps,isSameSiteAnchor:qe,isString:w,isTag:ee,isTouch:No,isUndefined:E,isVideo:Os,isVisible:At,isVoidElement:go,isWindow:Z,last:De,matches:k,memoize:N,mute:As,noop:Pt,observeIntersection:Is,observeMutation:Es,observeResize:vn,off:Ke,offset:O,offsetPosition:re,offsetViewport:D,on:B,once:U,overflowParents:ce,parent:ut,parents:Qt,pause:Ps,pick:uo,play:Ts,pointInRect:Jt,pointerCancel:$s,pointerDown:ms,pointerEnter:bs,pointerLeave:ws,pointerMove:gs,pointerUp:vs,position:sn,positionAt:Ds,prepend:Fo,propName:te,query:$o,queryAll:yo,ready:Lo,remove:ne,removeAttr:Be,removeClass:ue,removeClasses:hn,replaceClass:as,scrollIntoView:ko,scrollParents:pt,scrolledOver:Uo,selFocusable:je,selInput:Zt,sortBy:Me,startsWith:z,sumBy:Yt,swap:co,toArray:io,toBoolean:qt,toEventTargets:Ut,toFloat:C,toNode:g,toNodes:p,toNumber:at,toPx:Xo,toWindow:Q,toggleClass:us,trigger:W,ucfirst:j,uniqueBy:ao,unwrap:zo,width:Dt,within:Ot,wrapAll:tn,wrapInner:jo});function zs(t){t._observers=[],t._observerUpdates=new Map;for(const e of t.$options.observe||[])if(L(e,"handler"))An(t,e);else for(const n in e)An(t,e[n],n)}function ge(t,...e){t._observers.push(...e)}function Hs(t){for(const e of t._observers)e==null||e.disconnect(),t._observerUpdates.delete(e)}function Ws(t){for(const[e,n]of t._observerUpdates)n(e)}function An(t,e,n){let{observe:o,target:s=t.$el,handler:i,options:c,filter:a,args:u}=F(e)?e:{type:n,handler:e};if(a&&!a.call(t,t))return;const h=P(s)?s.call(t,t):s;i=w(i)?t[i]:i.bind(t),P(c)&&(c=c.call(t,t));const f=o(h,i,c,u);P(s)&&I(h)&&f.unobserve&&t._observerUpdates.set(f,qs(t,s,h)),ge(t,f)}function qs(t,e,n){return o=>{const s=e.call(t,t);Xt(n,s)||(n.forEach(i=>!K(s,i)&&o.unobserve(i)),s.forEach(i=>!K(n,i)&&o.observe(i)),n.splice(0,n.length,...s))}}function On(t){if(t._watch)return;const e=!L(t,"_watch");t._watch=S.read(()=>{t._connected&&Xs(t,e),t._watch=null})}function Xs(t,e){const n={...t._computed};t._computed={};for(const[o,{watch:s,immediate:i}]of Object.entries(t.$options.computed||{}))s&&(e&&i||L(n,o)&&!Xt(n[o],t[o]))&&s.call(t,t[o],e?void 0:n[o]);Ws(t)}function ve(t,e="update"){t._connected&&((e==="update"||e==="resize")&&On(t),t.$options.update&&(t._updates||(t._updates=new Set,S.read(()=>{t._connected&&Ys(t,t._updates),delete t._updates})),t._updates.add(e.type||e)))}function Ys(t,e){for(const{read:n,write:o,events:s=[]}of t.$options.update){if(!e.has("update")&&!s.some(c=>e.has(c)))continue;let i;n&&(i=n.call(t,t._data,e),i&&F(i)&&jt(t._data,i)),o&&i!==!1&&S.write(()=>{t._connected&&o.call(t,t._data,e)})}}function Js(t){let{el:e,computed:n,observe:o}=t.$options;if(!n&&!(o!=null&&o.some(i=>P(i.target))))return;for(const i in n||{})if(n[i].document){e=e.ownerDocument;break}const s=new MutationObserver(()=>On(t));s.observe(e,{childList:!0,subtree:!0}),ge(t,s)}function Gs(t){t._events=[];for(const e of t.$options.events||[])if(L(e,"handler"))be(t,e);else for(const n in e)be(t,e[n],n)}function Ks(t){t._events.forEach(e=>e()),delete t._events}function be(t,e,n){let{name:o,el:s,handler:i,capture:c,passive:a,delegate:u,filter:h,self:f}=F(e)?e:{name:n,handler:e};if(s=P(s)?s.call(t,t):s||t.$el,I(s)){s.forEach(l=>be(t,{...e,el:l},n));return}!s||h&&!h.call(t)||t._events.push(B(s,o,u?w(u)?u:u.call(t,t):null,w(i)?t[i]:i.bind(t),{passive:a,capture:c,self:f}))}const $={};$.events=$.observe=$.created=$.beforeConnect=$.connected=$.beforeDisconnect=$.disconnected=$.destroy=we,$.args=function(t,e){return e!==!1&&we(e||t)},$.update=function(t,e){return Me(we(t,P(e)?{read:e}:e),"order")},$.props=function(t,e){if(I(e)){const n={};for(const o of e)n[o]=String;e=n}return $.methods(t,e)},$.computed=$.methods=function(t,e){return e?t?{...t,...e}:e:t},$.i18n=$.data=function(t,e,n){return n?Sn(t,e,n):e?t?function(o){return Sn(t,e,o)}:e:t};function Sn(t,e,n){return $.computed(P(t)?t.call(n,n):t,P(e)?e.call(n,n):e)}function we(t,e){return t=t&&!I(t)?[t]:t,e?t?t.concat(e):I(e)?e:[e]:t}function Zs(t,e){return E(e)?t:e}function bt(t,e,n){const o={};if(P(e)&&(e=e.options),e.extends&&(t=bt(t,e.extends,n)),e.mixins)for(const i of e.mixins)t=bt(t,i,n);for(const i in t)s(i);for(const i in e)L(t,i)||s(i);function s(i){o[i]=($[i]||Zs)(t[i],e[i],n)}return o}function $e(t,e=[]){try{return t?z(t,"{")?JSON.parse(t):e.length&&!K(t,":")?{[e[0]]:t}:t.split(";").reduce((n,o)=>{const[s,i]=o.split(/:(.*)/);return s&&!E(i)&&(n[s.trim()]=i.trim()),n},{}):{}}catch{return{}}}function ye(t,e){return t===Boolean?qt(e):t===Number?at(e):t==="list"?Qs(e):t===Object&&w(e)?$e(e):t?t(e):e}function Qs(t){return I(t)?t:w(t)?t.split(/,(?![^(]*\))/).map(e=>Et(e)?at(e):qt(e.trim())):[t]}function Vs(t){const e=Nn(t.$options);for(let o in e)E(e[o])||(t.$props[o]=e[o]);const n=[t.$options.computed,t.$options.methods];for(let o in t.$props)o in e&&ks(n,o)&&(t[o]=t.$props[o])}function Nn(t){const e={},{args:n=[],props:o={},el:s,id:i}=t;if(!o)return e;for(const a in o){const u=rt(a);let h=Kt(s,u);E(h)||(h=o[a]===Boolean&&h===""?!0:ye(o[a],h),!(u==="target"&&z(h,"_"))&&(e[a]=h))}const c=$e(Kt(s,i),n);for(const a in c){const u=it(a);E(o[u])||(e[u]=ye(o[u],c[a]))}return e}function ks(t,e){return t.every(n=>!n||!L(n,e))}function Us(t){const{$options:e,$props:n}=t,{id:o,attrs:s,props:i,el:c}=e;if(!i||s===!1)return;const a=I(s)?s:Object.keys(i),u=a.map(f=>rt(f)).concat(o),h=new MutationObserver(f=>{const l=Nn(e);f.some(({attributeName:v})=>{const b=v.replace("data-","");return(b===o?a:[it(b),it(v)]).some(x=>!E(l[x])&&l[x]!==n[x])})&&t.$reset()});h.observe(c,{attributes:!0,attributeFilter:u.concat(u.map(f=>`data-${f}`))}),ge(t,h)}function st(t,e){var n;(n=t.$options[e])==null||n.forEach(o=>o.call(t))}function Dn(t){t._connected||(t._data={},t._computed={},Vs(t),st(t,"beforeConnect"),t._connected=!0,Gs(t),zs(t),Us(t),Js(t),st(t,"connected"),ve(t))}function Mn(t){t._connected&&(st(t,"beforeDisconnect"),Hs(t),Ks(t),st(t,"disconnected"),t._connected=!1,delete t._watch)}function tr(t){const{computed:e}=t.$options;if(t._computed={},e)for(const n in e)er(t,n,e[n])}function er(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:o,$props:s,$el:i}=t;return L(o,e)||(o[e]=(n.get||n).call(t,s,i)),o[e]},set(o){const{_computed:s}=t;s[e]=n.set?n.set.call(t,o):o,E(s[e])&&delete s[e]}})}let nr=0;function Ln(t,e={}){e.data=rr(e,t.constructor.options),t.$options=bt(t.constructor.options,e,t),t.$props={},t._uid=nr++,or(t),sr(t),tr(t),st(t,"created"),e.el&&t.$mount(e.el)}function or(t){const{data:e={}}=t.$options;for(const n in e)t.$props[n]=t[n]=e[n]}function sr(t){const{methods:e}=t.$options;if(e)for(const n in e)t[n]=e[n].bind(t)}function rr({data:t={}},{args:e=[],props:n={}}){I(t)&&(t=t.slice(0,e.length).reduce((o,s,i)=>(F(s)?jt(o,s):o[e[i]]=s,o),{}));for(const o in t)E(t[o])?delete t[o]:n[o]&&(t[o]=ye(n[o],t[o]));return t}const m=function(t){Ln(this,t)};m.util=js,m.options={},m.version="3.16.6";const ir="uk-",Y="__uikit__",wt={};function Rn(t,e){var n;const o=ir+rt(t);if(!e)return F(wt[o])&&(wt[o]=m.extend(wt[o])),wt[o];t=it(t),m[t]=(i,c)=>xe(t,i,c);const s=F(e)?{...e}:e.options;return s.id=o,s.name=t,(n=s.install)==null||n.call(s,m,s,t),m._initialized&&!s.functional&&requestAnimationFrame(()=>xe(t,`[${o}],[data-${o}]`)),wt[o]=s}function xe(t,e,n,...o){const s=Rn(t);return s.options.functional?new s({data:F(e)?e:[e,n,...o]}):e?nn(e).map(i)[0]:i();function i(c){const a=Ce(c,t);if(a)if(n)a.$destroy();else return a;return new s({el:c,data:n})}}function Ie(t){return(t==null?void 0:t[Y])||{}}function Ce(t,e){return Ie(t)[e]}function cr(t,e){t[Y]||(t[Y]={}),t[Y][e.$options.name]=e}function ar(t,e){var n;(n=t[Y])==null||delete n[e.$options.name],Ne(t[Y])||delete t[Y]}m.component=Rn,m.getComponents=Ie,m.getComponent=Ce,m.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},m.mixin=function(t,e){e=(w(e)?this.component(e):e)||this,e.options=bt(e.options,t)},m.extend=function(t){t=t||{};const e=this,n=function(s){Ln(this,s)};return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.options=bt(e.options,t),n.super=e,n.extend=e.extend,n};function Fn(t,e){t=t?g(t):document.body;for(const n of Qt(t).reverse())Bn(n,e);oe(t,n=>Bn(n,e))}m.update=Fn;function Bn(t,e){const n=Ie(t);for(const o in n)ve(n[o],e)}let jn;Object.defineProperty(m,"container",{get(){return jn||document.body},set(t){jn=q(t)}}),m.prototype.$mount=function(t){const e=this;cr(t,e),e.$options.el=t,Ot(t,document)&&Dn(e)},m.prototype.$destroy=function(t=!1){const e=this,{el:n}=e.$options;n&&Mn(e),st(e,"destroy"),ar(n,e),t&&ne(e.$el)},m.prototype.$create=xe,m.prototype.$emit=function(t){ve(this,t)},m.prototype.$update=function(t=this.$el,e){Fn(t,e)},m.prototype.$reset=function(){Mn(this),Dn(this)},m.prototype.$getComponent=Ce,Object.defineProperties(m.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(m,"container")});function _e(t,e=t.$el,n=""){if(e.id)return e.id;let o=`${t.$options.id}-${t._uid}${n}`;return q(`#${o}`)&&(o=_e(t,e,`${n}-2`)),o}var ur={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1},computed:{nav:{get({selNav:t},e){return r.$(t,e)},watch(t,e){r.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return r.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){r.attr(this.$el,"aria-roledescription","carousel")},update:[{write(){this.slides.forEach((t,e)=>r.attr(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.nav&&this.length!==this.nav.children.length&&r.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),r.attr(r.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=r.data(t,this.attrItem),n=r.$("a,button",t)||t;let o,s=null;if(r.isNumeric(e)){const i=r.toNumber(e),c=this.slides[i];c&&(c.id||(c.id=_e(this,c,`-item-${e}`)),s=c.id),o=this.t("slideX",r.toFloat(e)+1),r.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=_e(this,this.list,"-items")),s=this.list.id),o=this.t(e);r.attr(n,{"aria-controls":s,"aria-label":r.attr(n,"aria-label")||o})}}},{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){r.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===M.SPACE)&&(t.preventDefault(),this.show(r.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:n}=t,o=r.data(e,this.attrItem);if(!r.isNumeric(o))return;let s=n===M.HOME?0:n===M.END?"last":n===M.LEFT?"previous":n===M.RIGHT?"next":-1;~s&&(t.preventDefault(),this.show(s))}}],methods:{updateNav(){const t=this.getValidIndex();let e,n;for(const o of this.navItems){const s=r.data(o,this.attrItem),i=r.$("a,button",o)||o;if(r.isNumeric(s)){const a=r.toNumber(s)===t;r.toggleClass(o,this.clsActive,a),r.attr(i,{"aria-selected":a,tabindex:a?null:-1}),a&&(n=i),e=e||r.matches(i,":focus")}else r.toggleClass(o,"uk-invisible",this.finite&&(s==="previous"&&t===0||s==="next"&&t>=this.maxIndex));e&&n&&n.focus()}}}};const Ee={passive:!1,capture:!0},zn={passive:!0,capture:!0},hr="touchstart mousedown",Te="touchmove mousemove",Hn="touchend touchcancel mouseup click input scroll";var fr={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const o=r.getEventPos(n).x*(r.isRtl?-1:1);this.prevPos=o===this.pos?this.prevPos:this.pos,this.pos=o,e(n)}}},events:[{name:hr,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!r.isTouch(t)&&lr(t.target)||r.closest(t.target,r.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:Te,el(){return this.list},handler:r.noop,...Ee}],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,r.on(document,Te,this.move,Ee),r.on(document,Hn,this.end,zn),r.css(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;r.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:o}=this,s=Math.abs(e),i=this.getIndex(o+this.dir,o),c=this._getDistance(o,i)||n[o].offsetWidth;for(;i!==o&&s>c;)this.drag-=c*this.dir,o=i,s-=c,i=this.getIndex(o+this.dir,o),c=this._getDistance(o,i)||n[o].offsetWidth;this.percent=s/c;const a=n[o],u=n[i],h=this.index!==i,f=o===i;let l;[this.index,this.prevIndex].filter(v=>!r.includes([i,o],v)).forEach(v=>{r.trigger(n[v],"itemhidden",[this]),f&&(l=!0,this.prevIndex=o)}),(this.index===o&&this.prevIndex!==o||l)&&r.trigger(n[this.index],"itemshown",[this]),h&&(this.prevIndex=o,this.index=i,!f&&r.trigger(a,"beforeitemhide",[this]),r.trigger(u,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!f&&u),h&&(!f&&r.trigger(a,"itemhide",[this]),r.trigger(u,"itemshow",[this]))},end(){if(r.off(document,Te,this.move,Ee),r.off(document,Hn,this.end,zn),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=(r.isRtl?this.dir*(r.isRtl?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)}r.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function lr(t){return r.css(t,"userSelect")!=="none"&&r.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var dr={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){r.attr(this.list,"aria-live","polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){r.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}},{name:`${r.pointerEnter} focusin`,filter(){return this.autoplay},handler(t){(t.type!==r.pointerEnter||this.pauseOnHover)&&this.stopAutoplay()}},{name:`${r.pointerLeave} focusout`,filter(){return this.autoplay},handler(t){(t.type!==r.pointerLeave||this.pauseOnHover)&&this.startAutoplay()}}],methods:{startAutoplay(){this.draggable&&r.matches(this.$el,":focus-within")||this.pauseOnHover&&r.matches(this.$el,":hover")||(this.stopAutoplay(),this.interval=setInterval(()=>!this.stack.length&&this.show("next"),this.autoplayInterval),r.attr(this.list,"aria-live","off"))},stopAutoplay(){clearInterval(this.interval),r.attr(this.list,"aria-live","polite")}}};function pr(t){return mr(vn,t,"resize")}function mr(t,e,n){return{observe:t,handler(){this.$emit(n)},...e}}var gr={mixins:[dr,fr,ur,cs],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){r.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return br(e.offsetWidth/t)},list({selList:t},e){return r.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return r.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:pr(),methods:{show(t,e=!1){var n;if(this.dragging||!this.length)return;const{stack:o}=this,s=e?0:o.length,i=()=>{o.splice(s,1),o.length&&this.show(o.shift(),!0)};if(o[e?"unshift":"push"](t),!e&&o.length>1){o.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const c=this.getIndex(this.index),a=r.hasClass(this.slides,this.clsActive)&&this.slides[c],u=this.getIndex(t,this.index),h=this.slides[u];if(a===h){i();return}if(this.dir=vr(t,c),this.prevIndex=c,this.index=u,a&&!r.trigger(a,"beforeitemhide",[this])||!r.trigger(h,"beforeitemshow",[this,a])){this.index=this.prevIndex,i();return}const f=this._show(a,h,e).then(()=>{a&&r.trigger(a,"itemhidden",[this]),r.trigger(h,"itemshown",[this]),o.shift(),this._transitioner=null,requestAnimationFrame(()=>o.length&&this.show(o.shift(),!0))});return a&&r.trigger(a,"itemhide",[this]),r.trigger(h,"itemshow",[this]),f},getIndex(t=this.index,e=this.index){return r.clamp(r.getIndex(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?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}),!n&&!t)return this._translate(1),Promise.resolve();const{length:o}=this.stack;return this._transitioner[o>1?"forward":"show"](o>1?Math.min(this.duration,75+75/(o-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e=this.prevIndex,n=this.index){const o=this._getTransitioner(e===n?!1:e,n);return o.translate(t),o},_getTransitioner(t=this.prevIndex,e=this.index,n=this.dir||1,o=this.transitionOptions){return new this.Transitioner(r.isNumber(t)?this.slides[t]:t,r.isNumber(e)?this.slides[e]:e,n*(r.isRtl?-1:1),o)}}};function vr(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function br(t){return .5*t+300}var wr={mixins:[gr],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:G,Transitioner:is},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){r.addClass(t,this.clsActive)},itemshown({target:t}){r.addClass(t,this.clsActivated)},itemhidden({target:t}){r.removeClass(t,this.clsActive,this.clsActivated)}}},$r={mixins:[es,wr],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:Ae,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=r.$(this.template),e=r.$(this.selList,t);this.items.forEach(()=>r.append(e,"<li>"));const n=r.$("[uk-close]",t),o=this.t("close");n&&o&&(n.dataset.i18n=JSON.stringify({label:o})),this.$mount(r.append(this.container,t))},computed:{caption({selCaption:t},e){return r.$(t,e)}},events:[{name:`${r.pointerMove} ${r.pointerDown} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),r.removeClass(this.slides,this.clsActive),r.Transition.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===M.LEFT?e="previous":t===M.RIGHT?e="next":t===M.HOME?e=0:t===M.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Ae.scale,r.removeClass(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){r.html(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:n,type:o,alt:s="",poster:i,attrs:c={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!n)return;let a;const u={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(o==="image"||n.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const h=$t("img",{src:n,alt:s,...c});r.on(h,"load",()=>this.setItem(e,h)),r.on(h,"error",()=>this.setError(e))}else if(o==="video"||n.match(/\.(mp4|webm|ogv)($|\?)/i)){const h=$t("video",{src:n,poster:i,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...c});r.on(h,"loadedmetadata",()=>this.setItem(e,h)),r.on(h,"error",()=>this.setError(e))}else if(o==="iframe"||n.match(/\.(html|php)($|\?)/i))this.setItem(e,$t("iframe",{src:n,allowfullscreen:"",class:"uk-lightbox-iframe",...c}));else if(a=n.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,$t("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...u,...c}));else if(a=n.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:h,width:f}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(n)}`,{credentials:"omit"})).json();this.setItem(e,$t("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:f,height:h,...u,...c}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||r.trigger(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[r.getIndex(t,this.slides)]},setItem(t,e){r.trigger(this.$el,"itemloaded",[this,r.html(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),r.addClass(this.$el,"uk-active","uk-transition-active")},hideControls(){r.removeClass(this.$el,"uk-active","uk-transition-active")}}};function $t(t,e){const n=r.fragment(`<${t}>`);return r.attr(n,e),n}var Wn={install:yr,props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get({toggle:t},e){return r.$$(t,e)},watch(t){this.hide();for(const e of t)r.isTag(e,"a")&&r.attr(e,"role","button")},immediate:!0}},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=r.uniqueBy(this.toggles.map(qn),"source");if(r.isElement(t)){const{source:n}=qn(t);t=r.findIndex(e,({source:o})=>n===o)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),r.on(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function yr(t,e){t.lightboxPanel||t.component("lightboxPanel",$r),r.assign(e.props,t.component("lightboxPanel").options.props)}function qn(t){const e={};for(const n of["href","caption","type","poster","alt","attrs"])e[n==="href"?"source":n]=r.data(t,n);return e.attrs=$e(e.attrs),e}return typeof window<"u"&&window.UIkit&&window.UIkit.component("lightbox",Wn),Wn});
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,y){typeof exports=="object"&&typeof module<"u"?module.exports=y(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitlightbox",["uikit-util"],y):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitLightbox=y(s.UIkit.util))})(this,function(s){"use strict";var y={slide:{show(t){return[{transform:S(t*-100)},{transform:S()}]},percent(t){return kt(t)},translate(t,e){return[{transform:S(e*-100*t)},{transform:S(e*100*(1-t))}]}}};function kt(t){return Math.abs(s.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function S(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function P(t){return`scale3d(${t}, ${t}, 1)`}var et={...y,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:P(1-.2)},{opacity:1,transform:P(1)}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:P(1-.2*t)},{opacity:t,transform:P(1-.2+.2*t)}]}}},It={connected(){s.addClass(this.$el,this.$options.id)}},Ct={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&s.$(t)}}},At={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>s.startsWith(t[0],e))}},methods:{toggleElement(t,e,i){return new Promise(n=>Promise.all(s.toNodes(t).map(r=>{const o=s.isBoolean(e)?e:!this.isToggled(r);if(!s.trigger(r,`before${o?"show":"hide"}`,[this]))return Promise.reject();const a=(s.isFunction(i)?i:i===!1||!this.hasAnimation?Tt:this.hasTransition?Et:Nt)(r,o,this),h=o?this.clsEnter:this.clsLeave;s.addClass(r,h),s.trigger(r,o?"show":"hide",[this]);const l=()=>{s.removeClass(r,h),s.trigger(r,o?"shown":"hidden",[this])};return a?a.then(l,()=>(s.removeClass(r,h),Promise.reject())):l()})).then(n,s.noop))},isToggled(t=this.$el){return[t]=s.toNodes(t),s.hasClass(t,this.clsEnter)?!0:s.hasClass(t,this.clsLeave)?!1:this.cls?s.hasClass(t,this.cls.split(" ")[0]):s.isVisible(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=s.includes(this.cls," ")||e!==s.hasClass(t,this.cls),i&&s.toggleClass(t,this.cls,s.includes(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),s.$$("[autofocus]",t).some(n=>s.isVisible(n)?n.focus()||!0:n.blur()),i&&s.trigger(t,"toggled",[e,this])}}};function Tt(t,e,{_toggle:i}){return s.Animation.cancel(t),s.Transition.cancel(t),i(t,e)}async function Et(t,e,{animation:i,duration:n,velocity:r,transition:o,_toggle:a}){var h;const[l="reveal",c="top"]=((h=i[0])==null?void 0:h.split("-"))||[],d=[["left","right"],["top","bottom"]],u=d[s.includes(d[0],c)?0:1],w=u[1]===c,L=["width","height"][d.indexOf(u)],I=`margin-${u[0]}`,B=`margin-${c}`;let E=s.dimensions(t)[L];const Oe=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const Le=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",I,B].map(yt=>[yt,t.style[yt]])),N=s.dimensions(t),tt=s.toFloat(s.css(t,I)),wt=s.toFloat(s.css(t,B)),$=N[L]+wt;!Oe&&!e&&(E+=wt);const[M]=s.wrapInner(t,"<div>");s.css(M,{boxSizing:"border-box",height:N.height,width:N.width,...s.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",B])}),s.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[B]:0,width:N.width,height:N.height,overflow:"hidden",[L]:E});const xt=E/$;n=(r*$+n)*(e?1-xt:xt);const $t={[L]:e?$:0};w&&(s.css(t,I,$-E+tt),$t[I]=e?tt:$+tt),!w^l==="reveal"&&(s.css(M,I,-$+E),s.Transition.start(M,{[I]:e?0:-$},n,o));try{await s.Transition.start(t,$t,n,o)}finally{s.css(t,Le),s.unwrap(M.firstChild),e||a(t,!1)}}function Nt(t,e,i){s.Animation.cancel(t);const{animation:n,duration:r,_toggle:o}=i;return e?(o(t,!0),s.Animation.in(t,n[0],r,i.origin)):s.Animation.out(t,n[1]||n[0],r,i.origin).then(()=>o(t,!1))}const St=/\B([A-Z])/g,Pt=k(t=>t.replace(St,"-$1").toLowerCase()),F=k(t=>t.charAt(0).toUpperCase()+t.slice(1));function st(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}function _t(t,e){var i;return(i=t==null?void 0:t.includes)==null?void 0:i.call(t,e)}function Dt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:W,from:Be}=Array;function z(t){return typeof t=="function"}function _(t){return t!==null&&typeof t=="object"}function C(t){return _(t)&&t===t.window}function it(t){return R(t)===9}function nt(t){return R(t)>=1}function H(t){return R(t)===1}function R(t){return!C(t)&&_(t)&&t.nodeType}function x(t){return typeof t=="string"}function rt(t){return typeof t=="number"}function Ot(t){return rt(t)||x(t)&&!isNaN(t-parseFloat(t))}function j(t){return t===void 0}function v(t){return parseFloat(t)||0}function g(t){return m(t)[0]}function m(t){return nt(t)?[t]:Array.from(t||[]).filter(nt)}function U(t){if(C(t))return t;t=g(t);const e=it(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function ot(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Lt(t,e){return t.reduce((i,n)=>i+v(z(e)?e(n):n[e]),0)}function k(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}function q(t,e,i){var n;if(_(e)){for(const r in e)q(t,r,e[r]);return}if(j(i))return(n=g(t))==null?void 0:n.getAttribute(e);for(const r of m(t))z(i)&&(i=i.call(r,q(r,e))),i===null?Bt(r,e):r.setAttribute(e,i)}function Bt(t,e){m(t).forEach(i=>i.removeAttribute(e))}function V(t){var e;return(e=g(t))==null?void 0:e.parentElement}function Mt(t,e){return m(t).filter(i=>X(i,e))}function X(t,e){return m(t).some(i=>i.matches(e))}function D(t,e){return H(t)?t.closest(st(e,">")?e.slice(1):e):m(t).map(i=>D(i,e)).filter(Boolean)}function Ft(t,e){return x(e)?!!D(t,e):g(e).contains(g(t))}function Wt(t,e){const i=[];for(;t=V(t);)(!e||X(t,e))&&i.push(t);return i}function zt(t,e){t=g(t);const i=t?m(t.children):[];return e?Mt(i,e):i}function Ht(t,e){return e?m(t).indexOf(g(e)):zt(V(t)).indexOf(t)}function at(t,e){return m(Vt(t,g(e),"querySelectorAll"))}const Rt=/(^|[^\\],)\s*[!>+~-]/,jt=k(t=>t.match(Rt)),Ut=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qt=k(t=>t.replace(Ut,"$1 *"));function Vt(t,e=document,i){if(!t||!x(t))return t;if(t=qt(t),jt(t)){const n=Yt(t);t="";for(let r of n){let o=e;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(o=D(V(e),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&n.length===1)return o}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),h=(o||e).previousElementSibling;o=X(h,r.substr(1))?h:null,r=a.slice(1).join(" ")}o&&(t+=`${t?",":""}${Gt(o)} ${r}`)}e=document}try{return e[i](t)}catch{return null}}const Xt=/.*?[^\\](?:,|$)/g,Yt=k(t=>t.match(Xt).map(e=>e.replace(/,$/,"").trim()));function Gt(t){const e=[];for(;t.parentNode;){const i=q(t,"id");if(i){e.unshift(`#${Jt(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${Ht(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Jt(t){return x(t)?CSS.escape(t):""}function Zt(...t){let[e,i,n,r,o=!1]=ht(t);r.length>1&&(r=te(r)),o!=null&&o.self&&(r=ee(r)),n&&(r=Qt(n,r));for(const a of i)for(const h of e)h.addEventListener(a,r,o);return()=>Kt(e,i,r,o)}function Kt(...t){let[e,i,,n,r=!1]=ht(t);for(const o of i)for(const a of e)a.removeEventListener(o,n,r)}function ht(t){return t[0]=ie(t[0]),x(t[1])&&(t[1]=t[1].split(" ")),z(t[2])&&t.splice(2,0,!1),t}function Qt(t,e){return i=>{const n=t[0]===">"?at(t,i.currentTarget).reverse().filter(r=>Ft(i.target,r))[0]:D(i.target,t);n&&(i.current=n,e.call(this,i),delete i.current)}}function te(t){return e=>W(e.detail)?t(e,...e.detail):t(e)}function ee(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function ct(t){return t&&"addEventListener"in t}function se(t){return ct(t)?t:g(t)}function ie(t){return W(t)?t.map(se).filter(Boolean):x(t)?at(t):ct(t)?[t]:m(t)}const ne={"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 f(t,e,i,n){const r=m(t);for(const o of r)if(x(e)){if(e=re(e),j(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Ot(i)&&!ne[e]?`${i}px`:i||rt(i)?i:"",n)}else if(W(e)){const a={};for(const h of e)a[h]=f(o,h);return a}else _(e)&&(n=i,ot(e,(a,h)=>f(o,h,a,n)));return r[0]}const re=k(t=>oe(t));function oe(t){if(st(t,"--"))return t;t=Pt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n=`-${i}-${t}`;if(n in e)return n}}const Y={width:["left","right"],height:["top","bottom"]};function ae(t){const e=H(t)?g(t).getBoundingClientRect():{height:ce(t),width:dt(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 G(t,e){const i=ae(t);if(t){const{scrollY:r,scrollX:o}=U(t),a={height:r,width:o};for(const h in Y)for(const l of Y[h])i[l]+=a[h]}if(!e)return i;const n=f(t,"position");ot(f(t,["left","top"]),(r,o)=>f(t,o,e[o]-i[o]+v(n==="absolute"&&r==="auto"?he(t)[o]:r)))}function he(t){let{top:e,left:i}=G(t);const{ownerDocument:{body:n,documentElement:r},offsetParent:o}=g(t);let a=o||r;for(;a&&(a===n||a===r)&&f(a,"position")==="static";)a=a.parentNode;if(H(a)){const h=G(a);e-=h.top+v(f(a,"borderTopWidth")),i-=h.left+v(f(a,"borderLeftWidth"))}return{top:e-v(f(t,"marginTop")),left:i-v(f(t,"marginLeft"))}}const ce=lt("height"),dt=lt("width");function lt(t){const e=F(t);return(i,n)=>{if(j(n)){if(C(i))return i[`inner${e}`];if(it(i)){const r=i.documentElement;return Math.max(r[`offset${e}`],r[`scroll${e}`])}return i=g(i),n=f(i,t),n=n==="auto"?i[`offset${e}`]:v(n)||0,n-ft(i,t)}else return f(i,t,!n&&n!==0?"":+n+ft(i,t)+"px")}}function ft(t,e,i="border-box"){return f(t,"boxSizing")===i?Lt(Y[e].map(F),n=>v(f(t,`padding${n}`))+v(f(t,`border${n}Width`))):0}function de(t,e=!1,i=[]){const n=ut(t);let r=Wt(t).reverse();r=r.slice(r.indexOf(n)+1);const o=Dt(r,a=>f(a,"position")==="fixed");return~o&&(r=r.slice(o)),[n].concat(r.filter(a=>f(a,"overflow").split(" ").some(h=>_t(["auto","scroll",...i],h))&&(!e||a.scrollHeight>le(a).height))).reverse()}function le(t){const e=U(t),{visualViewport:i,document:{documentElement:n}}=e;let r=t===ut(t)?e:t;if(C(r)&&i){let{height:a,width:h,scale:l,pageTop:c,pageLeft:d}=i;return a=Math.round(a*l),h=Math.round(h*l),{height:a,width:h,top:c,left:d,bottom:c+a,right:d+h}}let o=G(r);if(f(r,"display")==="inline")return o;for(let[a,h,l,c]of[["width","x","left","right"],["height","y","top","bottom"]])C(r)?r=n:o[l]+=v(f(r,`border-${l}-width`)),o[a]=o[h]=r[`client${F(a)}`],o[c]=o[a]+o[l];return o}function ut(t){return U(t).document.scrollingElement}let J;function fe(t){const e=Zt(t,"touchmove",n=>{if(n.targetTouches.length!==1)return;let[{scrollHeight:r,clientHeight:o}]=de(n.target);o>=r&&n.cancelable&&n.preventDefault()},{passive:!1});if(J)return e;J=!0;const{scrollingElement:i}=document;return f(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:dt(window)-i.clientWidth||""}),()=>{J=!1,e(),f(i,{overflowY:"",touchAction:"",paddingRight:""})}}const p=[];var ue={mixins:[It,Ct,At],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:t},e){return s.$(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){s.attr(this.panel||this.$el,"role",this.role),this.overlay&&s.attr(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){s.includes(p,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&s.isSameSiteAnchor(e)&&!s.within(n,this.$el)&&s.$(n,document.body)?this.hide():s.matches(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===s.includes(p,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(s.includes(p,this))return!1;!this.stack&&p.length?(Promise.all(p.map(e=>e.hide())).then(this.show),t.preventDefault()):p.push(this)}},{name:"show",self:!0,handler(){this.stack&&s.css(this.$el,"zIndex",s.toFloat(s.css(this.$el,"zIndex"))+p.length);const t=[this.overlay&&ge(this),this.overlay&&fe(this.$el),this.bgClose&&me(this),this.escClose&&ve(this)];s.once(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),s.addClass(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){s.isFocusable(this.$el)||s.attr(this.$el,"tabindex","-1"),s.matches(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){s.includes(p,this)&&p.splice(p.indexOf(this),1),s.css(this.$el,"zIndex",""),p.some(t=>t.clsPage===this.clsPage)||s.removeClass(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&s.parent(this.$el)!==this.container?(s.append(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,pt)},hide(){return this.toggleElement(this.$el,!1,pt)}}};function pt(t,e,{transitionElement:i,_toggle:n}){return new Promise((r,o)=>s.once(t,"show hide",()=>{var a;(a=t._reject)==null||a.call(t),t._reject=o,n(t,e);const h=s.once(i,"transitionstart",()=>{s.once(i,"transitionend transitioncancel",r,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{h(),r()},pe(s.css(i,"transitionDuration")))})).then(()=>delete t._reject)}function pe(t){return t?s.endsWith(t,"ms")?s.toFloat(t):s.toFloat(t)*1e3:0}function ge(t){return s.on(document,"focusin",e=>{s.last(p)===t&&!s.within(e.target,t.$el)&&t.$el.focus()})}function me(t){return s.on(document,s.pointerDown,({target:e})=>{s.last(p)!==t||t.overlay&&!s.within(e,t.$el)||s.within(e,t.panel)||s.once(document,`${s.pointerUp} ${s.pointerCancel} scroll`,({defaultPrevented:i,type:n,target:r})=>{!i&&n===s.pointerUp&&e===r&&t.hide()},!0)})}function ve(t){return s.on(document,"keydown",e=>{e.keyCode===27&&s.last(p)===t&&t.hide()})}function be(t,e,i,{animation:n,easing:r}){const{percent:o,translate:a,show:h=s.noop}=n,l=h(i),c=new s.Deferred;return{dir:i,show(d,u=0,w){const T=w?"linear":r;return d-=Math.round(d*s.clamp(u,-1,1)),this.translate(u),O(e,"itemin",{percent:u,duration:d,timing:T,dir:i}),O(t,"itemout",{percent:1-u,duration:d,timing:T,dir:i}),Promise.all([s.Transition.start(e,l[1],d,T),s.Transition.start(t,l[0],d,T)]).then(()=>{this.reset(),c.resolve()},s.noop),c.promise},cancel(){s.Transition.cancel([e,t])},reset(){for(const d in l[0])s.css([e,t],d,"")},forward(d,u=this.percent()){return s.Transition.cancel([e,t]),this.show(d,u,!0)},translate(d){this.reset();const u=a(d,i);s.css(e,u[1]),s.css(t,u[0]),O(e,"itemtranslatein",{percent:d,dir:i}),O(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function O(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}var we={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,n,r;let o=0;return((r=((i=this.i18n)==null?void 0:i[t])||((n=this.$options.i18n)==null?void 0:n[t]))==null?void 0:r.replace(/%s/g,()=>e[o++]||""))||""}}};const b={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function xe(t,e=[]){try{return t?s.startsWith(t,"{")?JSON.parse(t):e.length&&!s.includes(t,":")?{[e[0]]:t}:t.split(";").reduce((i,n)=>{const[r,o]=n.split(/:(.*)/);return r&&!s.isUndefined(o)&&(i[r.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Z(t,e=t.$el,i=""){if(e.id)return e.id;let n=`${t.$options.id}-${t._uid}${i}`;return s.$(`#${n}`)&&(n=Z(t,e,`${i}-2`)),n}var $e={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1},computed:{nav:{get({selNav:t},e){return s.$(t,e)},watch(t,e){s.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return s.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){s.attr(this.$el,"aria-roledescription","carousel")},update:[{write(){this.slides.forEach((t,e)=>s.attr(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),s.attr(s.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=s.data(t,this.attrItem),i=s.$("a,button",t)||t;let n,r=null;if(s.isNumeric(e)){const o=s.toNumber(e),a=this.slides[o];a&&(a.id||(a.id=Z(this,a,`-item-${e}`)),r=a.id),n=this.t("slideX",s.toFloat(e)+1),s.attr(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=Z(this,this.list,"-items")),r=this.list.id),n=this.t(e);s.attr(i,{"aria-controls":r,"aria-label":s.attr(i,"aria-label")||n})}}},{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){s.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===b.SPACE)&&(t.preventDefault(),this.show(s.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,n=s.data(e,this.attrItem);if(!s.isNumeric(n))return;let r=i===b.HOME?0:i===b.END?"last":i===b.LEFT?"previous":i===b.RIGHT?"next":-1;~r&&(t.preventDefault(),this.show(r))}}],methods:{updateNav(){const t=this.getValidIndex();let e,i;for(const n of this.navItems){const r=s.data(n,this.attrItem),o=s.$("a,button",n)||n;if(s.isNumeric(r)){const h=s.toNumber(r)===t;s.toggleClass(n,this.clsActive,h),s.attr(o,{"aria-selected":h,tabindex:h?null:-1}),h&&(i=o),e=e||s.matches(o,":focus")}else s.toggleClass(n,"uk-invisible",this.finite&&(r==="previous"&&t===0||r==="next"&&t>=this.maxIndex));e&&i&&i.focus()}}}};const K={passive:!1,capture:!0},gt={passive:!0,capture:!0},ye="touchstart mousedown",Q="touchmove mousemove",mt="touchend touchcancel mouseup click input scroll";var ke={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i).x*(s.isRtl?-1:1);this.prevPos=n===this.pos?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:ye,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!s.isTouch(t)&&Ie(t.target)||s.closest(t.target,s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:Q,el(){return this.list},handler:s.noop,...K}],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,s.on(document,Q,this.move,K),s.on(document,mt,this.end,gt),s.css(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;s.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:n}=this,r=Math.abs(e),o=this.getIndex(n+this.dir,n),a=this._getDistance(n,o)||i[n].offsetWidth;for(;o!==n&&r>a;)this.drag-=a*this.dir,n=o,r-=a,o=this.getIndex(n+this.dir,n),a=this._getDistance(n,o)||i[n].offsetWidth;this.percent=r/a;const h=i[n],l=i[o],c=this.index!==o,d=n===o;let u;[this.index,this.prevIndex].filter(w=>!s.includes([o,n],w)).forEach(w=>{s.trigger(i[w],"itemhidden",[this]),d&&(u=!0,this.prevIndex=n)}),(this.index===n&&this.prevIndex!==n||u)&&s.trigger(i[this.index],"itemshown",[this]),c&&(this.prevIndex=n,this.index=o,!d&&s.trigger(h,"beforeitemhide",[this]),s.trigger(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!d&&l),c&&(!d&&s.trigger(h,"itemhide",[this]),s.trigger(l,"itemshow",[this]))},end(){if(s.off(document,Q,this.move,K),s.off(document,mt,this.end,gt),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=(s.isRtl?this.dir*(s.isRtl?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)}s.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Ie(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var Ce={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){s.attr(this.list,"aria-live","polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){s.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}},{name:`${s.pointerEnter} focusin`,filter(){return this.autoplay},handler(t){(t.type!==s.pointerEnter||this.pauseOnHover)&&this.stopAutoplay()}},{name:`${s.pointerLeave} focusout`,filter(){return this.autoplay},handler(t){(t.type!==s.pointerLeave||this.pauseOnHover)&&this.startAutoplay()}}],methods:{startAutoplay(){this.draggable&&s.matches(this.$el,":focus-within")||this.pauseOnHover&&s.matches(this.$el,":hover")||(this.stopAutoplay(),this.interval=setInterval(()=>!this.stack.length&&this.show("next"),this.autoplayInterval),s.attr(this.list,"aria-live","off"))},stopAutoplay(){clearInterval(this.interval),s.attr(this.list,"aria-live","polite")}}};function Ae(t){return Te(s.observeResize,t,"resize")}function Te(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}var Ee={mixins:[Ce,ke,$e,we],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){s.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return Se(e.offsetWidth/t)},list({selList:t},e){return s.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return s.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:Ae(),methods:{show(t,e=!1){var i;if(this.dragging||!this.length)return;const{stack:n}=this,r=e?0:n.length,o=()=>{n.splice(r,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1){n.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const a=this.getIndex(this.index),h=s.hasClass(this.slides,this.clsActive)&&this.slides[a],l=this.getIndex(t,this.index),c=this.slides[l];if(h===c){o();return}if(this.dir=Ne(t,a),this.prevIndex=a,this.index=l,h&&!s.trigger(h,"beforeitemhide",[this])||!s.trigger(c,"beforeitemshow",[this,h])){this.index=this.prevIndex,o();return}const d=this._show(h,c,e).then(()=>{h&&s.trigger(h,"itemhidden",[this]),s.trigger(c,"itemshown",[this]),n.shift(),this._transitioner=null,requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))});return h&&s.trigger(h,"itemhide",[this]),s.trigger(c,"itemshow",[this]),d},getIndex(t=this.index,e=this.index){return s.clamp(s.getIndex(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:n}=this.stack;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e=this.prevIndex,i=this.index){const n=this._getTransitioner(e===i?!1:e,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(s.isNumber(t)?this.slides[t]:t,s.isNumber(e)?this.slides[e]:e,i*(s.isRtl?-1:1),n)}}};function Ne(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Se(t){return .5*t+300}var Pe={mixins:[Ee],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:y,Transitioner:be},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){s.addClass(t,this.clsActive)},itemshown({target:t}){s.addClass(t,this.clsActivated)},itemhidden({target:t}){s.removeClass(t,this.clsActive,this.clsActivated)}}},_e={mixins:[ue,Pe],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:et,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=s.$(this.template),e=s.$(this.selList,t);this.items.forEach(()=>s.append(e,"<li>"));const i=s.$("[uk-close]",t),n=this.t("close");i&&n&&(i.dataset.i18n=JSON.stringify({label:n})),this.$mount(s.append(this.container,t))},computed:{caption({selCaption:t},e){return s.$(t,e)}},events:[{name:`${s.pointerMove} ${s.pointerDown} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),s.removeClass(this.slides,this.clsActive),s.Transition.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===b.LEFT?e="previous":t===b.RIGHT?e="next":t===b.HOME?e=0:t===b.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=et.scale,s.removeClass(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){s.html(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,alt:r="",poster:o,attrs:a={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let h;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(n==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const c=A("img",{src:i,alt:r,...a});s.on(c,"load",()=>this.setItem(e,c)),s.on(c,"error",()=>this.setError(e))}else if(n==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const c=A("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...a});s.on(c,"loadedmetadata",()=>this.setItem(e,c)),s.on(c,"error",()=>this.setError(e))}else if(n==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,A("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...a}));else if(h=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,A("iframe",{src:`https://www.youtube${h[1]||""}.com/embed/${h[2]}${h[3]?`?${h[3]}`:""}`,width:1920,height:1080,...l,...a}));else if(h=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:c,width:d}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,A("iframe",{src:`https://player.vimeo.com/video/${h[1]}${h[2]?`?${h[2]}`:""}`,width:d,height:c,...l,...a}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||s.trigger(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[s.getIndex(t,this.slides)]},setItem(t,e){s.trigger(this.$el,"itemloaded",[this,s.html(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),s.addClass(this.$el,"uk-active","uk-transition-active")},hideControls(){s.removeClass(this.$el,"uk-active","uk-transition-active")}}};function A(t,e){const i=s.fragment(`<${t}>`);return s.attr(i,e),i}var vt={install:De,props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get({toggle:t},e){return s.$$(t,e)},watch(t){this.hide();for(const e of t)s.isTag(e,"a")&&s.attr(e,"role","button")},immediate:!0}},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=s.uniqueBy(this.toggles.map(bt),"source");if(s.isElement(t)){const{source:i}=bt(t);t=s.findIndex(e,({source:n})=>i===n)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),s.on(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function De(t,e){t.lightboxPanel||t.component("lightboxPanel",_e),s.assign(e.props,t.component("lightboxPanel").options.props)}function bt(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=s.data(t,i);return e.attrs=xe(e.attrs),e}return typeof window<"u"&&window.UIkit&&window.UIkit.component("lightbox",vt),vt});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -1 +1 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],e):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitNotification=e(t.UIkit.util))})(this,function(t){"use strict";var e={props:{container:Boolean},data:{container:!0},computed:{container({container:s}){return s===!0&&this.$container||s&&t.$(s)}}},r={mixins:[e],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:c,computed:{marginProp({pos:s}){return`margin${t.startsWith(s,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const s=t.$(`.${this.clsContainer}-${this.pos}`,this.container)||t.append(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(t.append(s,`<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 s=t.toFloat(t.css(this.$el,this.marginProp));await t.Transition.start(t.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:s}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(s){t.closest(s.target,'a[href="#"],a[href=""]')&&s.preventDefault(),this.close()},[t.pointerEnter](){this.timer&&clearTimeout(this.timer)},[t.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(s){const n=o=>{const i=t.parent(o);t.trigger(o,"close",[this]),t.remove(o),i!=null&&i.hasChildNodes()||t.remove(i)};this.timer&&clearTimeout(this.timer),s||await t.Transition.start(this.$el,this.startProps),n(this.$el)}}};function c(s){s.notification.closeAll=function(n,o){t.apply(document.body,i=>{const a=s.getComponent(i,"notification");a&&(!n||n===a.group)&&a.close(o)})}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("notification",r),r});
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],e):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitNotification=e(t.UIkit.util))})(this,function(t){"use strict";var e={props:{container:Boolean},data:{container:!0},computed:{container({container:s}){return s===!0&&this.$container||s&&t.$(s)}}},r={mixins:[e],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:c,computed:{marginProp({pos:s}){return`margin${t.startsWith(s,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const s=t.$(`.${this.clsContainer}-${this.pos}`,this.container)||t.append(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(t.append(s,`<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 s=t.toFloat(t.css(this.$el,this.marginProp));await t.Transition.start(t.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:s}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(s){t.closest(s.target,'a[href="#"],a[href=""]')&&s.preventDefault(),this.close()},[t.pointerEnter](){this.timer&&clearTimeout(this.timer)},[t.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(s){const n=o=>{const i=t.parent(o);t.trigger(o,"close",[this]),t.remove(o),i!=null&&i.hasChildNodes()||t.remove(i)};this.timer&&clearTimeout(this.timer),s||await t.Transition.start(this.$el,this.startProps),n(this.$el)}}};function c(s){s.notification.closeAll=function(n,o){t.apply(document.body,i=>{const a=s.getComponent(i,"notification");a&&(!n||n===a.group)&&a.close(o)})}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("notification",r),r});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -45,14 +45,10 @@
45
45
  return value && uikitUtil.isNumeric(value) ? `(min-width: ${value}px)` : "";
46
46
  }
47
47
 
48
- const hyphenateRe = /\B([A-Z])/g;
49
- const hyphenate = memoize((str) => str.replace(hyphenateRe, "-$1").toLowerCase());
50
- const ucfirst = memoize((str) => str.charAt(0).toUpperCase() + str.slice(1));
51
48
  function startsWith(str, search) {
52
49
  var _a;
53
50
  return (_a = str == null ? void 0 : str.startsWith) == null ? void 0 : _a.call(str, search);
54
51
  }
55
- const { isArray, from: toArray } = Array;
56
52
  function isFunction(obj) {
57
53
  return typeof obj === "function";
58
54
  }
@@ -62,9 +58,6 @@
62
58
  function isWindow(obj) {
63
59
  return isObject(obj) && obj === obj.window;
64
60
  }
65
- function isDocument(obj) {
66
- return nodeType(obj) === 9;
67
- }
68
61
  function isNode(obj) {
69
62
  return nodeType(obj) >= 1;
70
63
  }
@@ -77,40 +70,15 @@
77
70
  function isString(value) {
78
71
  return typeof value === "string";
79
72
  }
80
- function isNumber(value) {
81
- return typeof value === "number";
82
- }
83
- function isNumeric(value) {
84
- return isNumber(value) || isString(value) && !isNaN(value - parseFloat(value));
85
- }
86
73
  function isUndefined(value) {
87
74
  return value === void 0;
88
75
  }
89
- function toFloat(value) {
90
- return parseFloat(value) || 0;
91
- }
92
76
  function toNode(element) {
93
77
  return toNodes(element)[0];
94
78
  }
95
79
  function toNodes(element) {
96
80
  return isNode(element) ? [element] : Array.from(element || []).filter(isNode);
97
81
  }
98
- function each(obj, cb) {
99
- for (const key in obj) {
100
- if (false === cb(obj[key], key)) {
101
- return false;
102
- }
103
- }
104
- return true;
105
- }
106
- function sumBy(array, iteratee) {
107
- return array.reduce(
108
- (sum, item) => sum + toFloat(isFunction(iteratee) ? iteratee(item) : item[iteratee]),
109
- 0
110
- );
111
- }
112
- function noop() {
113
- }
114
82
  function memoize(fn) {
115
83
  const cache = /* @__PURE__ */ Object.create(null);
116
84
  return (key) => cache[key] || (cache[key] = fn(key));
@@ -156,9 +124,6 @@
156
124
  function closest(element, selector) {
157
125
  return isElement(element) ? element.closest(startsWith(selector, ">") ? selector.slice(1) : selector) : toNodes(element).map((element2) => closest(element2, selector)).filter(Boolean);
158
126
  }
159
- function within(element, selector) {
160
- return isString(selector) ? !!closest(element, selector) : toNode(selector).contains(toNode(element));
161
- }
162
127
  function children(element, selector) {
163
128
  element = toNode(element);
164
129
  const children2 = element ? toNodes(element.children) : [];
@@ -237,72 +202,6 @@
237
202
  return isString(css) ? CSS.escape(css) : "";
238
203
  }
239
204
 
240
- function on(...args) {
241
- let [targets, types, selector, listener, useCapture = false] = getArgs(args);
242
- if (listener.length > 1) {
243
- listener = detail(listener);
244
- }
245
- if (useCapture == null ? void 0 : useCapture.self) {
246
- listener = selfFilter(listener);
247
- }
248
- if (selector) {
249
- listener = delegate(selector, listener);
250
- }
251
- for (const type of types) {
252
- for (const target of targets) {
253
- target.addEventListener(type, listener, useCapture);
254
- }
255
- }
256
- return () => off(targets, types, listener, useCapture);
257
- }
258
- function off(...args) {
259
- let [targets, types, , listener, useCapture = false] = getArgs(args);
260
- for (const type of types) {
261
- for (const target of targets) {
262
- target.removeEventListener(type, listener, useCapture);
263
- }
264
- }
265
- }
266
- function getArgs(args) {
267
- args[0] = toEventTargets(args[0]);
268
- if (isString(args[1])) {
269
- args[1] = args[1].split(" ");
270
- }
271
- if (isFunction(args[2])) {
272
- args.splice(2, 0, false);
273
- }
274
- return args;
275
- }
276
- function delegate(selector, listener) {
277
- return (e) => {
278
- const current = selector[0] === ">" ? findAll(selector, e.currentTarget).reverse().filter((element) => within(e.target, element))[0] : closest(e.target, selector);
279
- if (current) {
280
- e.current = current;
281
- listener.call(this, e);
282
- delete e.current;
283
- }
284
- };
285
- }
286
- function detail(listener) {
287
- return (e) => isArray(e.detail) ? listener(e, ...e.detail) : listener(e);
288
- }
289
- function selfFilter(listener) {
290
- return function(e) {
291
- if (e.target === e.currentTarget || e.target === e.current) {
292
- return listener.call(null, e);
293
- }
294
- };
295
- }
296
- function isEventTarget(target) {
297
- return target && "addEventListener" in target;
298
- }
299
- function toEventTarget(target) {
300
- return isEventTarget(target) ? target : toNode(target);
301
- }
302
- function toEventTargets(target) {
303
- return isArray(target) ? target.map(toEventTarget).filter(Boolean) : isString(target) ? findAll(target) : isEventTarget(target) ? [target] : toNodes(target);
304
- }
305
-
306
205
  const fragmentRe = /^\s*<(\w+|!)[^>]*>/;
307
206
  const singleTagRe = /^<(\w+)\s*\/?>(?:<\/\1>)?$/;
308
207
  function fragment(html2) {
@@ -638,158 +537,14 @@
638
537
  }, {});
639
538
  }
640
539
 
641
- const cssNumber = {
642
- "animation-iteration-count": true,
643
- "column-count": true,
644
- "fill-opacity": true,
645
- "flex-grow": true,
646
- "flex-shrink": true,
647
- "font-weight": true,
648
- "line-height": true,
649
- opacity: true,
650
- order: true,
651
- orphans: true,
652
- "stroke-dasharray": true,
653
- "stroke-dashoffset": true,
654
- widows: true,
655
- "z-index": true,
656
- zoom: true
657
- };
658
- function css(element, property, value, priority) {
659
- const elements = toNodes(element);
660
- for (const element2 of elements) {
661
- if (isString(property)) {
662
- property = propName(property);
663
- if (isUndefined(value)) {
664
- return getComputedStyle(element2).getPropertyValue(property);
665
- } else {
666
- element2.style.setProperty(
667
- property,
668
- isNumeric(value) && !cssNumber[property] ? `${value}px` : value || isNumber(value) ? value : "",
669
- priority
670
- );
671
- }
672
- } else if (isArray(property)) {
673
- const props = {};
674
- for (const prop of property) {
675
- props[prop] = css(element2, prop);
676
- }
677
- return props;
678
- } else if (isObject(property)) {
679
- priority = value;
680
- each(property, (value2, property2) => css(element2, property2, value2, priority));
681
- }
682
- }
683
- return elements[0];
684
- }
685
- const propName = memoize((name) => vendorPropName(name));
686
- function vendorPropName(name) {
687
- if (startsWith(name, "--")) {
688
- return name;
689
- }
690
- name = hyphenate(name);
691
- const { style } = document.documentElement;
692
- if (name in style) {
693
- return name;
694
- }
695
- for (const prefix of ["webkit", "moz"]) {
696
- const prefixedName = `-${prefix}-${name}`;
697
- if (prefixedName in style) {
698
- return prefixedName;
699
- }
700
- }
701
- }
702
-
703
- const dirs = {
704
- width: ["left", "right"],
705
- height: ["top", "bottom"]
706
- };
707
- dimension("height");
708
- dimension("width");
709
- function dimension(prop) {
710
- const propName = ucfirst(prop);
711
- return (element, value) => {
712
- if (isUndefined(value)) {
713
- if (isWindow(element)) {
714
- return element[`inner${propName}`];
715
- }
716
- if (isDocument(element)) {
717
- const doc = element.documentElement;
718
- return Math.max(doc[`offset${propName}`], doc[`scroll${propName}`]);
719
- }
720
- element = toNode(element);
721
- value = css(element, prop);
722
- value = value === "auto" ? element[`offset${propName}`] : toFloat(value) || 0;
723
- return value - boxModelAdjust(element, prop);
724
- } else {
725
- return css(
726
- element,
727
- prop,
728
- !value && value !== 0 ? "" : +value + boxModelAdjust(element, prop) + "px"
729
- );
730
- }
731
- };
732
- }
733
- function boxModelAdjust(element, prop, sizing = "border-box") {
734
- return css(element, "boxSizing") === sizing ? sumBy(
735
- dirs[prop].map(ucfirst),
736
- (prop2) => toFloat(css(element, `padding${prop2}`)) + toFloat(css(element, `border${prop2}Width`))
737
- ) : 0;
738
- }
739
-
740
- const inBrowser = typeof window !== "undefined";
741
-
742
- const hasResizeObserver = inBrowser && window.ResizeObserver;
743
- function observeResize(targets, cb, options = { box: "border-box" }) {
744
- if (hasResizeObserver) {
745
- return observe$1(ResizeObserver, targets, cb, options);
746
- }
747
- initResizeListener();
748
- listeners.add(cb);
749
- return {
750
- observe: noop,
751
- unobserve: noop,
752
- disconnect() {
753
- listeners.delete(cb);
754
- }
755
- };
756
- }
757
- let listeners;
758
- function initResizeListener() {
759
- if (listeners) {
760
- return;
761
- }
762
- listeners = /* @__PURE__ */ new Set();
763
- let pendingResize;
764
- const handleResize = () => {
765
- if (pendingResize) {
766
- return;
767
- }
768
- pendingResize = true;
769
- requestAnimationFrame(() => pendingResize = false);
770
- for (const listener of listeners) {
771
- listener();
772
- }
773
- };
774
- on(window, "load resize", handleResize);
775
- on(document, "loadedmetadata load", handleResize, true);
776
- }
777
- function observe$1(Observer, targets, cb, options) {
778
- const observer = new Observer(cb);
779
- for (const el of toNodes(targets)) {
780
- observer.observe(el, options);
781
- }
782
- return observer;
783
- }
784
-
785
540
  function resize(options) {
786
- return observe(observeResize, options, "resize");
541
+ return observe(uikitUtil.observeResize, options, "resize");
787
542
  }
788
543
  function scroll(options) {
789
544
  return observe(
790
545
  function(target, handler) {
791
546
  return {
792
- disconnect: on(target, "scroll", handler, {
547
+ disconnect: uikitUtil.on(target, "scroll", handler, {
793
548
  passive: true,
794
549
  capture: true
795
550
  })
@@ -1 +1 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,y){typeof exports=="object"&&typeof module<"u"?module.exports=y(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],y):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitParallax=y(s.UIkit.util))})(this,function(s){"use strict";var y={props:{media:Boolean},data:{media:!1},connected(){const t=dt(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const n=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{n(),this.$emit("resize")}),n()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function dt(t,n){if(s.isString(t)){if(s.startsWith(t,"@"))t=s.toFloat(s.css(n,`--uk-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t}return t&&s.isNumeric(t)?`(min-width: ${t}px)`:""}const ht=/\B([A-Z])/g,lt=$(t=>t.replace(ht,"-$1").toLowerCase()),H=$(t=>t.charAt(0).toUpperCase()+t.slice(1));function A(t,n){var e;return(e=t==null?void 0:t.startsWith)==null?void 0:e.call(t,n)}const{isArray:j,from:hn}=Array;function R(t){return typeof t=="function"}function N(t){return t!==null&&typeof t=="object"}function V(t){return N(t)&&t===t.window}function gt(t){return T(t)===9}function Z(t){return T(t)>=1}function mt(t){return T(t)===1}function T(t){return!V(t)&&N(t)&&t.nodeType}function l(t){return typeof t=="string"}function G(t){return typeof t=="number"}function bt(t){return G(t)||l(t)&&!isNaN(t-parseFloat(t))}function I(t){return t===void 0}function z(t){return parseFloat(t)||0}function d(t){return a(t)[0]}function a(t){return Z(t)?[t]:Array.from(t||[]).filter(Z)}function xt(t,n){for(const e in t)if(n(t[e],e)===!1)return!1;return!0}function $t(t,n){return t.reduce((e,r)=>e+z(R(n)?n(r):r[n]),0)}function J(){}function $(t){const n=Object.create(null);return e=>n[e]||(n[e]=t(e))}function B(t,n,e){var r;if(N(n)){for(const o in n)B(t,o,n[o]);return}if(I(e))return(r=d(t))==null?void 0:r.getAttribute(n);for(const o of a(t))R(e)&&(e=e.call(o,B(o,n))),e===null?wt(o,n):o.setAttribute(n,e)}function wt(t,n){a(t).forEach(e=>e.removeAttribute(n))}function K(t){var n;return(n=d(t))==null?void 0:n.parentElement}function yt(t,n){return a(t).filter(e=>Q(e,n))}function Q(t,n){return a(t).some(e=>e.matches(n))}function M(t,n){return mt(t)?t.closest(A(n,">")?n.slice(1):n):a(t).map(e=>M(e,n)).filter(Boolean)}function pt(t,n){return l(n)?!!M(t,n):d(n).contains(d(t))}function vt(t,n){t=d(t);const e=t?a(t.children):[];return n?yt(e,n):e}function Ft(t,n){return n?a(t).indexOf(d(n)):vt(K(t)).indexOf(t)}function L(t,n){return a(Ot(t,d(n),"querySelectorAll"))}const St=/(^|[^\\],)\s*[!>+~-]/,Nt=$(t=>t.match(St)),zt=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Mt=$(t=>t.replace(zt,"$1 *"));function Ot(t,n=document,e){if(!t||!l(t))return t;if(t=Mt(t),Nt(t)){const r=Ct(t);t="";for(let o of r){let i=n;if(o[0]==="!"){const f=o.substr(1).trim().split(" ");if(i=M(K(n),f[0]),o=f.slice(1).join(" ").trim(),!o.length&&r.length===1)return i}if(o[0]==="-"){const f=o.substr(1).trim().split(" "),c=(i||n).previousElementSibling;i=Q(c,o.substr(1))?c:null,o=f.slice(1).join(" ")}i&&(t+=`${t?",":""}${Pt(i)} ${o}`)}n=document}try{return n[e](t)}catch{return null}}const Et=/.*?[^\\](?:,|$)/g,Ct=$(t=>t.match(Et).map(n=>n.replace(/,$/,"").trim()));function Pt(t){const n=[];for(;t.parentNode;){const e=B(t,"id");if(e){n.unshift(`#${At(e)}`);break}else{let{tagName:r}=t;r!=="HTML"&&(r+=`:nth-child(${Ft(t)+1})`),n.unshift(r),t=t.parentNode}}return n.join(" > ")}function At(t){return l(t)?CSS.escape(t):""}function W(...t){let[n,e,r,o,i=!1]=X(t);o.length>1&&(o=Tt(o)),i!=null&&i.self&&(o=It(o)),r&&(o=Rt(r,o));for(const f of e)for(const c of n)c.addEventListener(f,o,i);return()=>jt(n,e,o,i)}function jt(...t){let[n,e,,r,o=!1]=X(t);for(const i of e)for(const f of n)f.removeEventListener(i,r,o)}function X(t){return t[0]=Lt(t[0]),l(t[1])&&(t[1]=t[1].split(" ")),R(t[2])&&t.splice(2,0,!1),t}function Rt(t,n){return e=>{const r=t[0]===">"?L(t,e.currentTarget).reverse().filter(o=>pt(e.target,o))[0]:M(e.target,t);r&&(e.current=r,n.call(this,e),delete e.current)}}function Tt(t){return n=>j(n.detail)?t(n,...n.detail):t(n)}function It(t){return function(n){if(n.target===n.currentTarget||n.target===n.current)return t.call(null,n)}}function Y(t){return t&&"addEventListener"in t}function Bt(t){return Y(t)?t:d(t)}function Lt(t){return j(t)?t.map(Bt).filter(Boolean):l(t)?L(t):Y(t)?[t]:a(t)}const Wt=/^\s*<(\w+|!)[^>]*>/,Dt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function _t(t){const n=Dt.exec(t);if(n)return document.createElement(n[1]);const e=document.createElement("div");return Wt.test(t)?e.insertAdjacentHTML("beforeend",t.trim()):e.textContent=t,qt(e.childNodes)}function qt(t){return t.length>1?t:t[0]}function Ht(t,n){return Vt(t)?a(_t(t)):L(t,n)}function Vt(t){return l(t)&&A(t.trim(),"<")}function Zt(t){return Math.ceil(Math.max(0,...Ht("[stroke]",t).map(n=>{try{return n.getTotalLength()}catch{return 0}})))}const O={x:E,y:E,rotate:E,scale:E,color:D,backgroundColor:D,borderColor:D,blur:b,hue:b,fopacity:b,grayscale:b,invert:b,saturate:b,sepia:b,opacity:Kt,stroke:Qt,bgx:U,bgy:U},{keys:k}=Object;var Gt={mixins:[y],props:rt(k(O),"list"),data:rt(k(O),void 0),computed:{props(t,n){const e={};for(const o in t)o in O&&!s.isUndefined(t[o])&&(e[o]=t[o].slice());const r={};for(const o in e)r[o]=O[o](o,n,e[o],e);return r}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))s.css(this.$el,t,"")},getCss(t){const n={transform:"",filter:""};for(const e in this.props)this.props[e](n,t);return n.willChange=Object.keys(n).filter(e=>n[e]!=="").join(","),n}}};function E(t,n,e){let r=P(e)||{x:"px",y:"px",rotate:"deg"}[t]||"",o;return t==="x"||t==="y"?(t=`translate${s.ucfirst(t)}`,o=i=>s.toFloat(s.toFloat(i).toFixed(r==="px"?0:6))):t==="scale"&&(r="",o=i=>P([i])?s.toPx(i,"width",n,!0)/n.offsetWidth:i),e.length===1&&e.unshift(t==="scale"?1:0),e=w(e,o),(i,f)=>{i.transform+=` ${t}(${p(e,f)}${r})`}}function D(t,n,e){return e.length===1&&e.unshift(v(n,t,"")),e=w(e,r=>Jt(n,r)),(r,o)=>{const[i,f,c]=et(e,o),g=i.map((m,u)=>(m+=c*(f[u]-m),u===3?s.toFloat(m):parseInt(m,10))).join(",");r[t]=`rgba(${g})`}}function Jt(t,n){return v(t,"color",n).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function b(t,n,e){e.length===1&&e.unshift(0);const r=P(e)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,e=w(e),(o,i)=>{const f=p(e,i);o.filter+=` ${t}(${f+r})`}}function Kt(t,n,e){return e.length===1&&e.unshift(v(n,t,"")),e=w(e),(r,o)=>{r[t]=p(e,o)}}function Qt(t,n,e){e.length===1&&e.unshift(0);const r=P(e),o=Zt(n);return e=w(e.reverse(),i=>(i=s.toFloat(i),r==="%"?i*o/100:i)),e.some(([i])=>i)?(s.css(n,"strokeDasharray",o),(i,f)=>{i.strokeDashoffset=p(e,f)}):s.noop}function U(t,n,e,r){e.length===1&&e.unshift(0);const o=t==="bgy"?"height":"width";r[t]=w(e,c=>s.toPx(c,o,n));const i=["bgx","bgy"].filter(c=>c in r);if(i.length===2&&t==="bgx")return s.noop;if(v(n,"backgroundSize","")==="cover")return Xt(t,n,e,r);const f={};for(const c of i)f[c]=tt(n,c);return nt(i,f,r)}function Xt(t,n,e,r){const o=Yt(n);if(!o.width)return s.noop;const i={width:n.offsetWidth,height:n.offsetHeight},f=["bgx","bgy"].filter(u=>u in r),c={};for(const u of f){const h=r[u].map(([dn])=>dn),S=Math.min(...h),q=Math.max(...h),ut=h.indexOf(S)<h.indexOf(q),at=q-S;c[u]=`${(ut?-at:0)-(ut?S:q)}px`,i[u==="bgy"?"height":"width"]+=at}const g=s.Dimensions.cover(o,i);for(const u of f){const h=u==="bgy"?"height":"width",S=g[h]-i[h];c[u]=`max(${tt(n,u)},-${S}px) + ${c[u]}`}const m=nt(f,c,r);return(u,h)=>{m(u,h),u.backgroundSize=`${g.width}px ${g.height}px`,u.backgroundRepeat="no-repeat"}}function tt(t,n){return v(t,`background-position-${n.substr(-1)}`,"")}function nt(t,n,e){return function(r,o){for(const i of t){const f=p(e[i],o);r[`background-position-${i.substr(-1)}`]=`calc(${n[i]} + ${f}px)`}}}const C={};function Yt(t){const n=s.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(C[n])return C[n];const e=new Image;return n&&(e.src=n,!e.naturalWidth)?(e.onload=()=>{C[n]=_(e),s.trigger(t,s.createEvent("load",!1))},_(e)):C[n]=_(e)}function _(t){return{width:t.naturalWidth,height:t.naturalHeight}}function w(t,n=s.toFloat){const e=[],{length:r}=t;let o=0;for(let i=0;i<r;i++){let[f,c]=s.isString(t[i])?t[i].trim().split(" "):[t[i]];if(f=n(f),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&e.push([f,0]):i===r-1&&(c===null?c=1:c!==1&&(e.push([f,c]),c=1)),e.push([f,c]),c===null)o++;else if(o){const g=e[i-o-1][1],m=(c-g)/(o+1);for(let u=o;u>0;u--)e[i-u][1]=g+m*(o-u+1);o=0}}return e}function et(t,n){const e=s.findIndex(t.slice(1),([,r])=>n<=r)+1;return[t[e-1][0],t[e][0],(n-t[e-1][1])/(t[e][1]-t[e-1][1])]}function p(t,n){const[e,r,o]=et(t,n);return s.isNumber(e)?e+Math.abs(e-r)*o*(e<r?1:-1):+r}const kt=/^-?\d+(\S+)?/;function P(t,n){var e;for(const r of t){const o=(e=r.match)==null?void 0:e.call(r,kt);if(o)return o[1]}return n}function v(t,n,e){const r=t.style[n],o=s.css(s.css(t,n,e),n);return t.style[n]=r,o}function rt(t,n){return t.reduce((e,r)=>(e[r]=n,e),{})}const Ut={"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 x(t,n,e,r){const o=a(t);for(const i of o)if(l(n)){if(n=tn(n),I(e))return getComputedStyle(i).getPropertyValue(n);i.style.setProperty(n,bt(e)&&!Ut[n]?`${e}px`:e||G(e)?e:"",r)}else if(j(n)){const f={};for(const c of n)f[c]=x(i,c);return f}else N(n)&&(r=e,xt(n,(f,c)=>x(i,c,f,r)));return o[0]}const tn=$(t=>nn(t));function nn(t){if(A(t,"--"))return t;t=lt(t);const{style:n}=document.documentElement;if(t in n)return t;for(const e of["webkit","moz"]){const r=`-${e}-${t}`;if(r in n)return r}}const en={width:["left","right"],height:["top","bottom"]};ot("height"),ot("width");function ot(t){const n=H(t);return(e,r)=>{if(I(r)){if(V(e))return e[`inner${n}`];if(gt(e)){const o=e.documentElement;return Math.max(o[`offset${n}`],o[`scroll${n}`])}return e=d(e),r=x(e,t),r=r==="auto"?e[`offset${n}`]:z(r)||0,r-it(e,t)}else return x(e,t,!r&&r!==0?"":+r+it(e,t)+"px")}}function it(t,n,e="border-box"){return x(t,"boxSizing")===e?$t(en[n].map(H),r=>z(x(t,`padding${r}`))+z(x(t,`border${r}Width`))):0}const rn=typeof window<"u"&&window.ResizeObserver;function on(t,n,e={box:"border-box"}){return rn?cn(ResizeObserver,t,n,e):(sn(),F.add(n),{observe:J,unobserve:J,disconnect(){F.delete(n)}})}let F;function sn(){if(F)return;F=new Set;let t;const n=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const e of F)e()}};W(window,"load resize",n),W(document,"loadedmetadata load",n,!0)}function cn(t,n,e,r){const o=new t(e);for(const i of a(n))o.observe(i,r);return o}function fn(t){return st(on,t,"resize")}function un(t){return st(function(n,e){return{disconnect:W(n,"scroll",e,{passive:!0,capture:!0})}},{target:window,...t},"scroll")}function st(t,n,e){return{observe:t,handler(){this.$emit(e)},...n}}var ct={mixins:[Gt],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:t},n){return ft(t&&s.query(t,n)||n)},start({start:t}){return s.toPx(t,"height",this.target,!0)},end({end:t,viewport:n}){return s.toPx(t||(n=(1-n)*100)&&`${n}vh+${n}%`,"height",this.target,!0)}},observe:[fn({target:({$el:t,target:n})=>[t,n]}),un()],update:{read({percent:t},n){if(n.has("scroll")||(t=!1),!s.isVisible(this.$el))return!1;if(!this.matchMedia)return;const e=t;return t=an(s.scrolledOver(this.target,this.start,this.end),this.easing),{percent:t,style:e===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&s.css(this.$el,t)},events:["scroll","resize"]}};function an(t,n){return n>=0?Math.pow(t,n+1):1-Math.pow(1-t,1-n)}function ft(t){return t?"offsetTop"in t?t:ft(s.parent(t)):document.documentElement}return typeof window<"u"&&window.UIkit&&window.UIkit.component("parallax",ct),ct});
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitParallax=b(s.UIkit.util))})(this,function(s){"use strict";var b={props:{media:Boolean},data:{media:!1},connected(){const n=X(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const t=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,t){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(t,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function I(n,t){var e;return(e=n==null?void 0:n.startsWith)==null?void 0:e.call(n,t)}function Y(n){return typeof n=="function"}function M(n){return n!==null&&typeof n=="object"}function Z(n){return M(n)&&n===n.window}function z(n){return T(n)>=1}function k(n){return T(n)===1}function T(n){return!Z(n)&&M(n)&&n.nodeType}function O(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return z(n)?[n]:Array.from(n||[]).filter(z)}function j(n){const t=Object.create(null);return e=>t[e]||(t[e]=n(e))}function P(n,t,e){var o;if(M(t)){for(const r in t)P(n,r,t[r]);return}if(U(e))return(o=x(n))==null?void 0:o.getAttribute(t);for(const r of u(n))Y(e)&&(e=e.call(r,P(r,t))),e===null?nn(r,t):r.setAttribute(t,e)}function nn(n,t){u(n).forEach(e=>e.removeAttribute(t))}function A(n){var t;return(t=x(n))==null?void 0:t.parentElement}function tn(n,t){return u(n).filter(e=>R(e,t))}function R(n,t){return u(n).some(e=>e.matches(t))}function W(n,t){return k(n)?n.closest(I(t,">")?t.slice(1):t):u(n).map(e=>W(e,t)).filter(Boolean)}function en(n,t){n=x(n);const e=n?u(n.children):[];return t?tn(e,t):e}function rn(n,t){return t?u(n).indexOf(x(t)):en(A(n)).indexOf(n)}function on(n,t){return u(un(n,x(t),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,t=document,e){if(!n||!O(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=t;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=W(A(t),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return i}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),c=(i||t).previousElementSibling;i=R(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}t=document}try{return t[e](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(t=>t.replace(/,$/,"").trim()));function ln(n){const t=[];for(;n.parentNode;){const e=P(n,"id");if(e){t.unshift(`#${gn(e)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),t.unshift(o),n=n.parentNode}}return t.join(" > ")}function gn(n){return O(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const t=bn.exec(n);if(t)return document.createElement(t[1]);const e=document.createElement("div");return mn.test(n)?e.insertAdjacentHTML("beforeend",n.trim()):e.textContent=n,$n(e.childNodes)}function $n(n){return n.length>1?n:n[0]}function wn(n,t){return yn(n)?u(xn(n)):on(n,t)}function yn(n){return O(n)&&I(n.trim(),"<")}function vn(n){return Math.ceil(Math.max(0,...wn("[stroke]",n).map(t=>{try{return t.getTotalLength()}catch{return 0}})))}const v={x:p,y:p,rotate:p,scale:p,color:C,backgroundColor:C,borderColor:C,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Fn,stroke:Mn,bgx:B,bgy:B},{keys:_}=Object;var pn={mixins:[b],props:L(_(v),"list"),data:L(_(v),void 0),computed:{props(n,t){const e={};for(const r in n)r in v&&!s.isUndefined(n[r])&&(e[r]=n[r].slice());const o={};for(const r in e)o[r]=v[r](r,t,e[r],e);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const t={transform:"",filter:""};for(const e in this.props)this.props[e](t,n);return t.willChange=Object.keys(t).filter(e=>t[e]!=="").join(","),t}}};function p(n,t,e){let o=F(e)||{x:"px",y:"px",rotate:"deg"}[n]||"",r;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,r=i=>s.toFloat(s.toFloat(i).toFixed(o==="px"?0:6))):n==="scale"&&(o="",r=i=>F([i])?s.toPx(i,"width",t,!0)/t.offsetWidth:i),e.length===1&&e.unshift(n==="scale"?1:0),e=m(e,r),(i,a)=>{i.transform+=` ${n}(${$(e,a)}${o})`}}function C(n,t,e){return e.length===1&&e.unshift(w(t,n,"")),e=m(e,o=>Sn(t,o)),(o,r)=>{const[i,a,c]=q(e,r),h=i.map((l,f)=>(l+=c*(a[f]-l),f===3?s.toFloat(l):parseInt(l,10))).join(",");o[n]=`rgba(${h})`}}function Sn(n,t){return w(n,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,t,e){e.length===1&&e.unshift(0);const o=F(e)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,e=m(e),(r,i)=>{const a=$(e,i);r.filter+=` ${n}(${a+o})`}}function Fn(n,t,e){return e.length===1&&e.unshift(w(t,n,"")),e=m(e),(o,r)=>{o[n]=$(e,r)}}function Mn(n,t,e){e.length===1&&e.unshift(0);const o=F(e),r=vn(t);return e=m(e.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),e.some(([i])=>i)?(s.css(t,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(e,a)}):s.noop}function B(n,t,e,o){e.length===1&&e.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(e,c=>s.toPx(c,r,t));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(w(t,"backgroundSize","")==="cover")return On(n,t,e,o);const a={};for(const c of i)a[c]=D(t,c);return H(i,a,o)}function On(n,t,e,o){const r=jn(t);if(!r.width)return s.noop;const i={width:t.offsetWidth,height:t.offsetHeight},a=["bgx","bgy"].filter(f=>f in o),c={};for(const f of a){const d=o[f].map(([In])=>In),y=Math.min(...d),E=Math.max(...d),K=d.indexOf(y)<d.indexOf(E),Q=E-y;c[f]=`${(K?-Q:0)-(K?y:E)}px`,i[f==="bgy"?"height":"width"]+=Q}const h=s.Dimensions.cover(r,i);for(const f of a){const d=f==="bgy"?"height":"width",y=h[d]-i[d];c[f]=`max(${D(t,f)},-${y}px) + ${c[f]}`}const l=H(a,c,o);return(f,d)=>{l(f,d),f.backgroundSize=`${h.width}px ${h.height}px`,f.backgroundRepeat="no-repeat"}}function D(n,t){return w(n,`background-position-${t.substr(-1)}`,"")}function H(n,t,e){return function(o,r){for(const i of n){const a=$(e[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${t[i]} + ${a}px)`}}}const S={};function jn(n){const t=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[t])return S[t];const e=new Image;return t&&(e.src=t,!e.naturalWidth)?(e.onload=()=>{S[t]=N(e),s.trigger(n,s.createEvent("load",!1))},N(e)):S[t]=N(e)}function N(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,t=s.toFloat){const e=[],{length:o}=n;let r=0;for(let i=0;i<o;i++){let[a,c]=s.isString(n[i])?n[i].trim().split(" "):[n[i]];if(a=t(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&e.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(e.push([a,c]),c=1)),e.push([a,c]),c===null)r++;else if(r){const h=e[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)e[i-f][1]=h+l*(r-f+1);r=0}}return e}function q(n,t){const e=s.findIndex(n.slice(1),([,o])=>t<=o)+1;return[n[e-1][0],n[e][0],(t-n[e-1][1])/(n[e][1]-n[e-1][1])]}function $(n,t){const[e,o,r]=q(n,t);return s.isNumber(e)?e+Math.abs(e-o)*r*(e<o?1:-1):+o}const Pn=/^-?\d+(\S+)?/;function F(n,t){var e;for(const o of n){const r=(e=o.match)==null?void 0:e.call(o,Pn);if(r)return r[1]}return t}function w(n,t,e){const o=n.style[t],r=s.css(s.css(n,t,e),t);return n.style[t]=o,r}function L(n,t){return n.reduce((e,o)=>(e[o]=t,e),{})}function Cn(n){return V(s.observeResize,n,"resize")}function Nn(n){return V(function(t,e){return{disconnect:s.on(t,"scroll",e,{passive:!0,capture:!0})}},{target:window,...n},"scroll")}function V(n,t,e){return{observe:n,handler(){this.$emit(e)},...t}}var G={mixins:[pn],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:n},t){return J(n&&s.query(n,t)||t)},start({start:n}){return s.toPx(n,"height",this.target,!0)},end({end:n,viewport:t}){return s.toPx(n||(t=(1-t)*100)&&`${t}vh+${t}%`,"height",this.target,!0)}},observe:[Cn({target:({$el:n,target:t})=>[n,t]}),Nn()],update:{read({percent:n},t){if(t.has("scroll")||(n=!1),!s.isVisible(this.$el))return!1;if(!this.matchMedia)return;const e=n;return n=En(s.scrolledOver(this.target,this.start,this.end),this.easing),{percent:n,style:e===n?!1:this.getCss(n)}},write({style:n}){if(!this.matchMedia){this.reset();return}n&&s.css(this.$el,n)},events:["scroll","resize"]}};function En(n,t){return t>=0?Math.pow(n,t+1):1-Math.pow(1-n,1-t)}function J(n){return n?"offsetTop"in n?n:J(s.parent(n)):document.documentElement}return typeof window<"u"&&window.UIkit&&window.UIkit.component("parallax",G),G});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :