uikit 3.16.5-dev.1a12b9f06 → 3.16.5-dev.2fd0fea3e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +4 -4
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +4 -4
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +4 -4
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +4 -4
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +4 -4
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +4 -4
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +4 -4
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/component.js +2 -2
- package/src/scss/mixins-theme.scss +780 -736
- package/src/scss/mixins.scss +10 -10
- package/src/scss/variables-theme.scss +219 -219
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! UIkit 3.16.5-dev.1a12b9f06 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(i,et){typeof exports=="object"&&typeof module<"u"?module.exports=et(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider",["uikit-util"],et):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlider=et(i.UIkit.util))})(this,function(i){"use strict";var et={connected(){i.addClass(this.$el,this.$options.id)}};const{hasOwnProperty:Hn,toString:qn}=Object.prototype;function S(t,e){return Hn.call(t,e)}const Xn=/\B([A-Z])/g,nt=N(t=>t.replace(Xn,"-$1").toLowerCase()),Yn=/-(\w)/g,st=N(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Yn,(e,n)=>n.toUpperCase())),L=N(t=>t.charAt(0).toUpperCase()+t.slice(1));function W(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}function Jn(t,e){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,e)}function X(t,e){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,e)}function Ie(t,e){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,e)}const{isArray:$,from:Gn}=Array,{assign:Mt}=Object;function E(t){return typeof t=="function"}function R(t){return t!==null&&typeof t=="object"}function D(t){return qn.call(t)==="[object Object]"}function Y(t){return R(t)&&t===t.window}function wt(t){return Rt(t)===9}function St(t){return Rt(t)>=1}function rt(t){return Rt(t)===1}function Rt(t){return!Y(t)&&R(t)&&t.nodeType}function _e(t){return typeof t=="boolean"}function b(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function bt(t){return Dt(t)||b(t)&&!isNaN(t-parseFloat(t))}function Ee(t){return!($(t)?t.length:R(t)&&Object.keys(t).length)}function A(t){return t===void 0}function Lt(t){return _e(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function ot(t){const e=Number(t);return isNaN(e)?!1:e}function I(t){return parseFloat(t)||0}function v(t){return l(t)[0]}function l(t){return St(t)?[t]:Array.from(t||[]).filter(St)}function J(t){if(Y(t))return t;t=v(t);const e=wt(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Wt(t,e){return t===e||R(t)&&R(e)&&Object.keys(t).length===Object.keys(e).length&&xt(t,(n,s)=>n===e[s])}function Kn(t,e,n){return t.replace(new RegExp(`${e}|${n}`,"g"),s=>s===e?n:e)}function Ae(t){return t[t.length-1]}function xt(t,e){for(const n in t)if(e(t[n],n)===!1)return!1;return!0}function Ce(t,e){return t.slice().sort(({[e]:n=0},{[e]:s=0})=>n>s?1:s>n?-1:0)}function zt(t,e){return t.reduce((n,s)=>n+I(E(e)?e(s):s[e]),0)}function Zn(t,e){const n=new Set;return t.filter(({[e]:s})=>n.has(s)?!1:n.add(s))}function Qn(t,e){return e.reduce((n,s)=>({...n,[s]:t[s]}),{})}function G(t,e=0,n=1){return Math.min(Math.max(ot(t)||0,e),n)}function yt(){}function Oe(...t){return[["bottom","top"],["right","left"]].every(([e,n])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[n]:s})=>s))>0)}function jt(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Ft(t,e,n){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(n*t[s]/t[e]):t[s],[e]:n}}function Te(t,e){t={...t};for(const n in t)t=t[n]>e[n]?Ft(t,n,e[n]):t;return t}function Vn(t,e){t=Te(t,e);for(const n in t)t=t[n]<e[n]?Ft(t,n,e[n]):t;return t}const kn={ratio:Ft,contain:Te,cover:Vn};function Un(t,e,n=0,s=!1){e=l(e);const{length:r}=e;return r?(t=bt(t)?ot(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?r-1:e.indexOf(v(t)),s?G(t,0,r-1):(t%=r,t<0?t+r:t)):-1}function N(t){const e=Object.create(null);return n=>e[n]||(e[n]=t(n))}class ts{constructor(){this.promise=new Promise((e,n)=>{this.reject=n,this.resolve=e})}}function z(t,e,n){var s;if(R(e)){for(const r in e)z(t,r,e[r]);return}if(A(n))return(s=v(t))==null?void 0:s.getAttribute(e);for(const r of l(t))E(n)&&(n=n.call(r,z(r,e))),n===null?Bt(r,e):r.setAttribute(e,n)}function Pe(t,e){return l(t).some(n=>n.hasAttribute(e))}function Bt(t,e){l(t).forEach(n=>n.removeAttribute(e))}function Ht(t,e){for(const n of[e,`data-${e}`])if(Pe(t,n))return z(t,n)}const es={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 ns(t){return l(t).some(e=>es[e.tagName.toLowerCase()])}function $t(t){return l(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const qt="input,select,textarea,button";function ss(t){return l(t).some(e=>K(e,qt))}const Ne=`${qt},a[href],[tabindex]`;function rs(t){return K(t,Ne)}function it(t){var e;return(e=v(t))==null?void 0:e.parentElement}function Me(t,e){return l(t).filter(n=>K(n,e))}function K(t,e){return l(t).some(n=>n.matches(e))}function ct(t,e){return rt(t)?t.closest(W(e,">")?e.slice(1):e):l(t).map(n=>ct(n,e)).filter(Boolean)}function It(t,e){return b(e)?!!ct(t,e):v(e).contains(v(t))}function Xt(t,e){const n=[];for(;t=it(t);)(!e||K(t,e))&&n.push(t);return n}function Se(t,e){t=v(t);const n=t?l(t.children):[];return e?Me(n,e):n}function Re(t,e){return e?l(t).indexOf(v(e)):Se(it(t)).indexOf(t)}function De(t){return t=v(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function os(t){if(De(t)){t=v(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function is(t,e){return Yt(t,We(t,e))}function cs(t,e){return at(t,We(t,e))}function Yt(t,e){return v(ze(t,v(e),"querySelector"))}function at(t,e){return l(ze(t,v(e),"querySelectorAll"))}const as=/(^|[^\\],)\s*[!>+~-]/,Le=N(t=>t.match(as));function We(t,e=document){return b(t)&&Le(t)||wt(e)?e:e.ownerDocument}const fs=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,us=N(t=>t.replace(fs,"$1 *"));function ze(t,e=document,n){if(!t||!b(t))return t;if(t=us(t),Le(t)){const s=ds(t);t="";for(let r of s){let o=e;if(r[0]==="!"){const c=r.substr(1).trim().split(" ");if(o=ct(it(e),c[0]),r=c.slice(1).join(" ").trim(),!r.length&&s.length===1)return o}if(r[0]==="-"){const c=r.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=K(a,r.substr(1))?a:null,r=c.slice(1).join(" ")}o&&(t+=`${t?",":""}${ls(o)} ${r}`)}e=document}try{return e[n](t)}catch{return null}}const hs=/.*?[^\\](?:,|$)/g,ds=N(t=>t.match(hs).map(e=>e.replace(/,$/,"").trim()));function ls(t){const e=[];for(;t.parentNode;){const n=z(t,"id");if(n){e.unshift(`#${je(n)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${Re(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function je(t){return b(t)?CSS.escape(t):""}function j(...t){let[e,n,s,r,o=!1]=Jt(t);r.length>1&&(r=gs(r)),o!=null&&o.self&&(r=ms(r)),s&&(r=ps(s,r));for(const c of n)for(const a of e)a.addEventListener(c,r,o);return()=>Fe(e,n,r,o)}function Fe(...t){let[e,n,,s,r=!1]=Jt(t);for(const o of n)for(const c of e)c.removeEventListener(o,s,r)}function Z(...t){const[e,n,s,r,o=!1,c]=Jt(t),a=j(e,n,s,f=>{const u=!c||c(f);u&&(a(),r(f,u))},o);return a}function F(t,e,n){return Gt(t).every(s=>s.dispatchEvent(Be(e,!0,!0,n)))}function Be(t,e=!0,n=!1,s){return b(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:n,detail:s})),t}function Jt(t){return t[0]=Gt(t[0]),b(t[1])&&(t[1]=t[1].split(" ")),E(t[2])&&t.splice(2,0,!1),t}function ps(t,e){return n=>{const s=t[0]===">"?at(t,n.currentTarget).reverse().filter(r=>It(n.target,r))[0]:ct(n.target,t);s&&(n.current=s,e.call(this,n),delete n.current)}}function gs(t){return e=>$(e.detail)?t(e,...e.detail):t(e)}function ms(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function He(t){return t&&"addEventListener"in t}function vs(t){return He(t)?t:v(t)}function Gt(t){return $(t)?t.map(vs).filter(Boolean):b(t)?at(t):He(t)?[t]:l(t)}function ws(t){return t.pointerType==="touch"||!!t.touches}function qe(t){var e,n;const{clientX:s,clientY:r}=((e=t.touches)==null?void 0:e[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:s,y:r}}const bs={"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 p(t,e,n,s){const r=l(t);for(const o of r)if(b(e)){if(e=Kt(e),A(n))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,bt(n)&&!bs[e]?`${n}px`:n||Dt(n)?n:"",s)}else if($(e)){const c={};for(const a of e)c[a]=p(o,a);return c}else R(e)&&(s=n,xt(e,(c,a)=>p(o,a,c,s)));return r[0]}const Kt=N(t=>xs(t));function xs(t){if(W(t,"--"))return t;t=nt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const n of["webkit","moz"]){const s=`-${n}-${t}`;if(s in e)return s}}function Q(t,...e){Je(t,e,"add")}function Zt(t,...e){Je(t,e,"remove")}function Xe(t,e){z(t,"class",n=>(n||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function ys(t,...e){e[0]&&Zt(t,e[0]),e[1]&&Q(t,e[1])}function Ye(t,e){return[e]=Qt(e),!!e&&l(t).some(n=>n.classList.contains(e))}function $s(t,e,n){const s=Qt(e);A(n)||(n=!!n);for(const r of l(t))for(const o of s)r.classList.toggle(o,n)}function Je(t,e,n){e=e.reduce((s,r)=>s.concat(Qt(r)),[]);for(const s of l(t))s.classList[n](...e)}function Qt(t){return String(t).split(/[ ,]/).filter(Boolean)}function Is(t,e,n=400,s="linear"){return n=Math.round(n),Promise.all(l(t).map(r=>new Promise((o,c)=>{for(const f in e){const u=p(r,f);u===""&&p(r,f,u)}const a=setTimeout(()=>F(r,"transitionend"),n);Z(r,"transitionend transitioncanceled",({type:f})=>{clearTimeout(a),Zt(r,"uk-transition"),p(r,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),f==="transitioncanceled"?c():o(r)},{self:!0}),Q(r,"uk-transition"),p(r,{transitionProperty:Object.keys(e).map(Kt).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:s,...e})})))}const _s={start:Is,async stop(t){F(t,"transitionend"),await Promise.resolve()},async cancel(t){F(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return Ye(t,"uk-transition")}},ft="uk-animation-";function Ge(t,e,n=200,s,r){return Promise.all(l(t).map(o=>new Promise((c,a)=>{F(o,"animationcanceled");const f=setTimeout(()=>F(o,"animationend"),n);Z(o,"animationend animationcanceled",({type:u})=>{clearTimeout(f),u==="animationcanceled"?a():c(o),p(o,"animationDuration",""),Xe(o,`${ft}\\S*`)},{self:!0}),p(o,"animationDuration",`${n}ms`),Q(o,e,ft+(r?"leave":"enter")),W(e,ft)&&(s&&Q(o,`uk-transform-origin-${s}`),r&&Q(o,`${ft}reverse`))})))}const Es=new RegExp(`${ft}(enter|leave)`),As={in:Ge,out(t,e,n,s){return Ge(t,e,n,s,!0)},inProgress(t){return Es.test(z(t,"class"))},cancel(t){F(t,"animationcanceled")}};function Cs(t){if(document.readyState!=="loading"){t();return}Z(document,"DOMContentLoaded",t)}function Vt(t,...e){return e.some(n=>{var s;return((s=t==null?void 0:t.tagName)==null?void 0:s.toLowerCase())===n.toLowerCase()})}function Ke(t){return t=B(t),t.innerHTML="",t}function Os(t,e){return A(e)?B(t).innerHTML:ut(Ke(t),e)}const Ts=_t("prepend"),ut=_t("append"),Ze=_t("before"),Ps=_t("after");function _t(t){return function(e,n){var s;const r=l(b(n)?Et(n):n);return(s=B(e))==null||s[t](...r),Ve(r)}}function kt(t){l(t).forEach(e=>e.remove())}function Qe(t,e){for(e=v(Ze(t,e));e.firstChild;)e=e.firstChild;return ut(e,t),e}function Ns(t,e){return l(l(t).map(n=>n.hasChildNodes()?Qe(l(n.childNodes),e):ut(n,e)))}function Ms(t){l(t).map(it).filter((e,n,s)=>s.indexOf(e)===n).forEach(e=>e.replaceWith(...e.childNodes))}const Ss=/^\s*<(\w+|!)[^>]*>/,Rs=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Et(t){const e=Rs.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("div");return Ss.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,Ve(n.childNodes)}function Ve(t){return t.length>1?t:t[0]}function Ut(t,e){if(rt(t))for(e(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;Ut(t,e),t=n}}function B(t,e){return ke(t)?v(Et(t)):Yt(t,e)}function te(t,e){return ke(t)?l(Et(t)):at(t,e)}function ke(t){return b(t)&&W(t.trim(),"<")}const H={width:["left","right"],height:["top","bottom"]};function ee(t){const e=rt(t)?v(t).getBoundingClientRect():{height:tn(t),width:se(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=ee(t);if(t){const{scrollY:r,scrollX:o}=J(t),c={height:r,width:o};for(const a in H)for(const f of H[a])n[f]+=c[a]}if(!e)return n;const s=p(t,"position");xt(p(t,["left","top"]),(r,o)=>p(t,o,e[o]-n[o]+I(s==="absolute"&&r==="auto"?Ue(t)[o]:r)))}function Ue(t){let{top:e,left:n}=O(t);const{ownerDocument:{body:s,documentElement:r},offsetParent:o}=v(t);let c=o||r;for(;c&&(c===s||c===r)&&p(c,"position")==="static";)c=c.parentNode;if(rt(c)){const a=O(c);e-=a.top+I(p(c,"borderTopWidth")),n-=a.left+I(p(c,"borderLeftWidth"))}return{top:e-I(p(t,"marginTop")),left:n-I(p(t,"marginLeft"))}}function ne(t){t=v(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+I(p(t,"borderTopWidth")),e[1]+=t.offsetLeft+I(p(t,"borderLeftWidth")),p(t,"position")==="fixed"){const n=J(t);return e[0]+=n.scrollY,e[1]+=n.scrollX,e}return e}const tn=en("height"),se=en("width");function en(t){const e=L(t);return(n,s)=>{if(A(s)){if(Y(n))return n[`inner${e}`];if(wt(n)){const r=n.documentElement;return Math.max(r[`offset${e}`],r[`scroll${e}`])}return n=v(n),s=p(n,t),s=s==="auto"?n[`offset${e}`]:I(s)||0,s-re(n,t)}else return p(n,t,!s&&s!==0?"":+s+re(n,t)+"px")}}function re(t,e,n="border-box"){return p(t,"boxSizing")===n?zt(H[e].map(L),s=>I(p(t,`padding${s}`))+I(p(t,`border${s}Width`))):0}function Ds(t){for(const e in H)for(const n in H[e])if(H[e][n]===t)return H[e][1-n];return t}function Ls(t,e="width",n=window,s=!1){return b(t)?zt(zs(t),r=>{const o=Fs(r);return o?Bs(o==="vh"?Hs():o==="vw"?se(J(n)):s?n[`offset${L(e)}`]:ee(n)[e],r):r}):I(t)}const Ws=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,zs=N(t=>t.toString().replace(/\s/g,"").match(Ws)||[]),js=/(?:v[hw]|%)$/,Fs=N(t=>(t.match(js)||[])[0]);function Bs(t,e){return t*I(e)/100}let ht,V;function Hs(){return ht||(V||(V=B("<div>"),p(V,{height:"100vh",position:"fixed"}),j(window,"resize",()=>ht=null)),ut(document.body,V),ht=V.clientHeight,kt(V),ht)}const dt=typeof window<"u",qs=dt&&document.dir==="rtl",k=dt&&"ontouchstart"in window,U=dt&&window.PointerEvent,Xs=U?"pointerdown":k?"touchstart":"mousedown",Ys=U?"pointermove":k?"touchmove":"mousemove",Js=U?"pointerup":k?"touchend":"mouseup",Gs=U?"pointerenter":k?"":"mouseenter",Ks=U?"pointerleave":k?"":"mouseleave",Zs=U?"pointercancel":"touchcancel",T={reads:[],writes:[],read(t){return this.reads.push(t),ie(),t},write(t){return this.writes.push(t),ie(),t},clear(t){sn(this.reads,t),sn(this.writes,t)},flush:oe};function oe(t){nn(T.reads),nn(T.writes.splice(0)),T.scheduled=!1,(T.reads.length||T.writes.length)&&ie(t+1)}const Qs=4;function ie(t){T.scheduled||(T.scheduled=!0,t&&t<Qs?Promise.resolve().then(()=>oe(t)):requestAnimationFrame(()=>oe(1)))}function nn(t){let e;for(;e=t.shift();)try{e()}catch(n){console.error(n)}}function sn(t,e){const n=t.indexOf(e);return~n&&t.splice(n,1)}function rn(){}rn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=j(document,"mousemove",e=>t=qe(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:s,top:r,bottom:o}=e,[c]=this.positions,a=Ae(this.positions),f=[c,a];return jt(a,e)?!1:[[{x:n,y:r},{x:s,y:o}],[{x:n,y:o},{x:s,y:r}]].some(h=>{const d=Vs(f,h);return d&&jt(d,e)})}};function Vs([{x:t,y:e},{x:n,y:s}],[{x:r,y:o},{x:c,y:a}]){const f=(a-o)*(n-t)-(c-r)*(s-e);if(f===0)return!1;const u=((c-r)*(e-o)-(a-o)*(t-r))/f;return u<0?!1:{x:t+u*(n-t),y:e+u*(s-e)}}function on(t,e,n={},s=!0){const r=new IntersectionObserver(s?(o,c)=>{o.some(a=>a.isIntersecting)&&e(o,c)}:e,n);for(const o of l(t))r.observe(o);return r}const ks=dt&&window.ResizeObserver;function cn(t,e,n={box:"border-box"}){return ks?an(ResizeObserver,t,e,n):(Us(),lt.add(e),{observe:yt,unobserve:yt,disconnect(){lt.delete(e)}})}let lt;function Us(){if(lt)return;lt=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of lt)n()}};j(window,"load resize",e),j(document,"loadedmetadata load",e,!0)}function tr(t,e,n){return an(MutationObserver,t,e,n)}function an(t,e,n,s){const r=new t(n);for(const o of l(e))r.observe(o,s);return r}function er(t){if(Ct(t)&&ce(t,{func:"playVideo",method:"play"}),At(t))try{t.play().catch(yt)}catch{}}function nr(t){Ct(t)&&ce(t,{func:"pauseVideo",method:"pause"}),At(t)&&t.pause()}function sr(t){Ct(t)&&ce(t,{func:"mute",method:"setVolume",value:0}),At(t)&&(t.muted=!0)}function rr(t){return At(t)||Ct(t)}function At(t){return Vt(t,"video")}function Ct(t){return Vt(t,"iframe")&&(fn(t)||un(t))}function fn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function un(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function ce(t,e){await ir(t),hn(t,e)}function hn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const ae="_ukPlayer";let or=0;function ir(t){if(t[ae])return t[ae];const e=fn(t),n=un(t),s=++or;let r;return t[ae]=new Promise(o=>{e&&Z(t,"load",()=>{const c=()=>hn(t,{event:"listening",id:s});r=setInterval(c,100),c()}),Z(window,"message",o,!1,({data:c})=>{try{return c=JSON.parse(c),e&&(c==null?void 0:c.id)===s&&c.event==="onReady"||n&&Number(c==null?void 0:c.player_id)===s}catch{}}),t.src=`${t.src}${X(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(r))}function cr(t,e=0,n=0){return $t(t)?Oe(...fe(t).map(s=>{const{top:r,left:o,bottom:c,right:a}=M(s);return{top:r-e,left:o-n,bottom:c+e,right:a+n}}).concat(O(t))):!1}function ar(t,{offset:e=0}={}){const n=$t(t)?Ot(t,!1,["hidden"]):[];return n.reduce((c,a,f)=>{const{scrollTop:u,scrollHeight:h,offsetHeight:d}=a,g=M(a),w=h-g.height,{height:y,top:P}=n[f-1]?M(n[f-1]):O(t);let _=Math.ceil(P-g.top-e+u);return e>0&&d<y+e?_+=e:e=0,_>w?(e-=_-w,_=w):_<0&&(e-=_,_=0),()=>s(a,_-u).then(c)},()=>Promise.resolve())();function s(c,a){return new Promise(f=>{const u=c.scrollTop,h=r(Math.abs(a)),d=Date.now();(function g(){const w=o(G((Date.now()-d)/h));c.scrollTop=u+a*w,w===1?f():requestAnimationFrame(g)})()})}function r(c){return 40*Math.pow(c,.375)}function o(c){return .5*(1-Math.cos(Math.PI*c))}}function fr(t,e=0,n=0){if(!$t(t))return 0;const[s]=Ot(t,!0),{scrollHeight:r,scrollTop:o}=s,{height:c}=M(s),a=r-c,f=ne(t)[0]-ne(s)[0],u=Math.max(0,f-c+e),h=Math.min(a,f+t.offsetHeight-n);return G((o-u)/(h-u))}function Ot(t,e=!1,n=[]){const s=dn(t);let r=Xt(t).reverse();r=r.slice(r.indexOf(s)+1);const o=Ie(r,c=>p(c,"position")==="fixed");return~o&&(r=r.slice(o)),[s].concat(r.filter(c=>p(c,"overflow").split(" ").some(a=>X(["auto","scroll",...n],a))&&(!e||c.scrollHeight>M(c).height))).reverse()}function fe(t){return Ot(t,!1,["hidden","clip"])}function M(t){const e=J(t),{visualViewport:n,document:{documentElement:s}}=e;let r=t===dn(t)?e:t;if(Y(r)&&n){let{height:c,width:a,scale:f,pageTop:u,pageLeft:h}=n;return c=Math.round(c*f),a=Math.round(a*f),{height:c,width:a,top:u,left:h,bottom:u+c,right:h+a}}let o=O(r);if(p(r,"display")==="inline")return o;for(let[c,a,f,u]of[["width","x","left","right"],["height","y","top","bottom"]])Y(r)?r=s:o[f]+=I(p(r,`border-${f}-width`)),o[c]=o[a]=r[`client${L(c)}`],o[u]=o[c]+o[f];return o}function dn(t){return J(t).document.scrollingElement}const C=[["width","x","left","right"],["height","y","top","bottom"]];function ur(t,e,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},$(e)||(e=[e,e]),O(t,ln(t,e,n))}function ln(t,e,n){const s=pn(t,e,n),{boundary:r,viewportOffset:o=0,placement:c}=n;let a=s;for(const[f,[u,,h,d]]of Object.entries(C)){const g=hr(t,e[f],o,r,f);if(Tt(s,g,f))continue;let w=0;if(c[f]==="flip"){const y=n.attach.target[f];if(y===d&&s[d]<=g[d]||y===h&&s[h]>=g[h])continue;w=lr(t,e,n,f)[h]-s[h];const P=dr(t,e[f],o,f);if(!Tt(ue(s,w,f),P,f)){if(Tt(s,P,f))continue;if(n.recursion)return!1;const _=pr(t,e,n);if(_&&Tt(_,P,1-f))return _;continue}}else if(c[f]==="shift"){const y=O(e[f]),{offset:P}=n;w=G(G(s[h],g[h],g[d]-s[u]),y[h]-s[u]+P[f],y[d]-P[f])-s[h]}a=ue(a,w,f)}return a}function pn(t,e,n){let{attach:s,offset:r}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},o=O(t);for(const[c,[a,,f,u]]of Object.entries(C)){const h=s.target[c]===s.element[c]?M(e[c]):O(e[c]);o=ue(o,h[f]-o[f]+gn(s.target[c],u,h[a])-gn(s.element[c],u,o[a])+ +r[c],c)}return o}function ue(t,e,n){const[,s,r,o]=C[n],c={...t};return c[r]=t[s]=t[r]+e,c[o]+=e,c}function gn(t,e,n){return t==="center"?n/2:t===e?n:0}function hr(t,e,n,s,r){let o=vn(...mn(t,e).map(M));return n&&(o[C[r][2]]+=n,o[C[r][3]]-=n),s&&(o=vn(o,O($(s)?s[r]:s))),o}function dr(t,e,n,s){const[r,o,c,a]=C[s],[f]=mn(t,e),u=M(f);return["auto","scroll"].includes(p(f,`overflow-${o}`))&&(u[c]-=f[`scroll${L(c)}`],u[a]=u[c]+f[`scroll${L(r)}`]),u[c]+=n,u[a]-=n,u}function mn(t,e){return fe(e).filter(n=>It(t,n))}function vn(...t){let e={};for(const n of t)for(const[,,s,r]of C)e[s]=Math.max(e[s]||0,n[s]),e[r]=Math.min(...[e[r],n[r]].filter(Boolean));return e}function Tt(t,e,n){const[,,s,r]=C[n];return t[s]>=e[s]&&t[r]<=e[r]}function lr(t,e,{offset:n,attach:s},r){return pn(t,e,{attach:{element:wn(s.element,r),target:wn(s.target,r)},offset:gr(n,r)})}function pr(t,e,n){return ln(t,e,{...n,attach:{element:n.attach.element.map(bn).reverse(),target:n.attach.target.map(bn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function wn(t,e){const n=[...t],s=C[e].indexOf(t[e]);return~s&&(n[e]=C[e][1-s%2+2]),n}function bn(t){for(let e=0;e<C.length;e++){const n=C[e].indexOf(t);if(~n)return C[1-e][n%2+2]}}function gr(t,e){return t=[...t],t[e]*=-1,t}var mr=Object.freeze({__proto__:null,$:B,$$:te,Animation:As,Deferred:ts,Dimensions:kn,MouseTracker:rn,Transition:_s,addClass:Q,after:Ps,append:ut,apply:Ut,assign:Mt,attr:z,before:Ze,boxModelAdjust:re,camelize:st,children:Se,clamp:G,closest:ct,createEvent:Be,css:p,data:Ht,dimensions:ee,each:xt,empty:Ke,endsWith:Jn,escape:je,fastdom:T,filter:Me,find:Yt,findAll:at,findIndex:Ie,flipPosition:Ds,fragment:Et,getEventPos:qe,getIndex:Un,getTargetedElement:os,hasAttr:Pe,hasClass:Ye,hasOwn:S,hasTouch:k,height:tn,html:Os,hyphenate:nt,inBrowser:dt,includes:X,index:Re,intersectRect:Oe,isArray:$,isBoolean:_e,isDocument:wt,isElement:rt,isEmpty:Ee,isEqual:Wt,isFocusable:rs,isFunction:E,isInView:cr,isInput:ss,isNode:St,isNumber:Dt,isNumeric:bt,isObject:R,isPlainObject:D,isRtl:qs,isSameSiteAnchor:De,isString:b,isTag:Vt,isTouch:ws,isUndefined:A,isVideo:rr,isVisible:$t,isVoidElement:ns,isWindow:Y,last:Ae,matches:K,memoize:N,mute:sr,noop:yt,observeIntersection:on,observeMutation:tr,observeResize:cn,off:Fe,offset:O,offsetPosition:ne,offsetViewport:M,on:j,once:Z,overflowParents:fe,parent:it,parents:Xt,pause:nr,pick:Qn,play:er,pointInRect:jt,pointerCancel:Zs,pointerDown:Xs,pointerEnter:Gs,pointerLeave:Ks,pointerMove:Ys,pointerUp:Js,position:Ue,positionAt:ur,prepend:Ts,propName:Kt,query:is,queryAll:cs,ready:Cs,remove:kt,removeAttr:Bt,removeClass:Zt,removeClasses:Xe,replaceClass:ys,scrollIntoView:ar,scrollParents:Ot,scrolledOver:fr,selFocusable:Ne,selInput:qt,sortBy:Ce,startsWith:W,sumBy:zt,swap:Kn,toArray:Gn,toBoolean:Lt,toEventTargets:Gt,toFloat:I,toNode:v,toNodes:l,toNumber:ot,toPx:Ls,toWindow:J,toggleClass:$s,trigger:F,ucfirst:L,uniqueBy:Zn,unwrap:Ms,width:se,within:It,wrapAll:Qe,wrapInner:Ns});function xn(t){return yn(cn,t,"resize")}function vr(t){return yn(on,t)}function wr(t={}){return vr({handler:function(e,n){const{targets:s=this.$el,preload:r=5}=t;for(const o of l(E(s)?s(this):s))te('[loading="lazy"]',o).slice(0,r-1).forEach(c=>Bt(c,"loading"));for(const o of e.filter(({isIntersecting:c})=>c).map(({target:c})=>c))n.unobserve(o)},...t})}function yn(t,e,n){return{observe:t,handler(){this.$emit(n)},...e}}var br={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,s,r;let o=0;return((r=((n=this.i18n)==null?void 0:n[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:r.replace(/%s/g,()=>e[o++]||""))||""}}};const pt={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function xr(t){t._observers=[],t._observerUpdates=new Map;for(const e of t.$options.observe||[])if(S(e,"handler"))$n(t,e);else for(const n in e)$n(t,e[n],n)}function he(t,...e){t._observers.push(...e)}function yr(t){for(const e of t._observers)e==null||e.disconnect(),t._observerUpdates.delete(e)}function $r(t){for(const[e,n]of t._observerUpdates)n(e)}function $n(t,e,n){let{observe:s,target:r=t.$el,handler:o,options:c,filter:a,args:f}=D(e)?e:{type:n,handler:e};if(a&&!a.call(t,t))return;const u=E(r)?r.call(t,t):r;o=b(o)?t[o]:o.bind(t),E(c)&&(c=c.call(t,t));const h=s(u,o,c,f);E(r)&&$(u)&&h.unobserve&&t._observerUpdates.set(h,Ir(t,r,u)),he(t,h)}function Ir(t,e,n){return s=>{const r=e.call(t,t);Wt(n,r)||(n.forEach(o=>!X(r,o)&&s.unobserve(o)),r.forEach(o=>!X(n,o)&&s.observe(o)),n.splice(0,n.length,...r))}}function In(t){if(t._watch)return;const e=!S(t,"_watch");t._watch=T.read(()=>{t._connected&&_r(t,e),t._watch=null})}function _r(t,e){const n={...t._computed};t._computed={};for(const[s,{watch:r,immediate:o}]of Object.entries(t.$options.computed||{}))r&&(e&&o||S(n,s)&&!Wt(n[s],t[s]))&&r.call(t,t[s],e?void 0:n[s]);$r(t)}function de(t,e="update"){t._connected&&((e==="update"||e==="resize")&&In(t),t.$options.update&&(t._updates||(t._updates=new Set,T.read(()=>{t._connected&&Er(t,t._updates),delete t._updates})),t._updates.add(e.type||e)))}function Er(t,e){for(const{read:n,write:s,events:r=[]}of t.$options.update){if(!e.has("update")&&!r.some(c=>e.has(c)))continue;let o;n&&(o=n.call(t,t._data,e),o&&D(o)&&Mt(t._data,o)),s&&o!==!1&&T.write(()=>{t._connected&&s.call(t,t._data,e)})}}function Ar(t){let{el:e,computed:n,observe:s}=t.$options;if(!n&&!(s!=null&&s.some(o=>E(o.target))))return;for(const o in n||{})if(n[o].document){e=e.ownerDocument;break}const r=new MutationObserver(()=>In(t));r.observe(e,{childList:!0,subtree:!0}),he(t,r)}function Cr(t){t._events=[];for(const e of t.$options.events||[])if(S(e,"handler"))le(t,e);else for(const n in e)le(t,e[n],n)}function Or(t){t._events.forEach(e=>e()),delete t._events}function le(t,e,n){let{name:s,el:r,handler:o,capture:c,passive:a,delegate:f,filter:u,self:h}=D(e)?e:{name:n,handler:e};if(r=E(r)?r.call(t,t):r||t.$el,$(r)){r.forEach(d=>le(t,{...e,el:d},n));return}!r||u&&!u.call(t)||t._events.push(j(r,s,f?b(f)?f:f.call(t,t):null,b(o)?t[o]:o.bind(t),{passive:a,capture:c,self:h}))}const x={};x.events=x.observe=x.created=x.beforeConnect=x.connected=x.beforeDisconnect=x.disconnected=x.destroy=pe,x.args=function(t,e){return e!==!1&&pe(e||t)},x.update=function(t,e){return Ce(pe(t,E(e)?{read:e}:e),"order")},x.props=function(t,e){if($(e)){const n={};for(const s of e)n[s]=String;e=n}return x.methods(t,e)},x.computed=x.methods=function(t,e){return e?t?{...t,...e}:e:t},x.i18n=x.data=function(t,e,n){return n?_n(t,e,n):e?t?function(s){return _n(t,e,s)}:e:t};function _n(t,e,n){return x.computed(E(t)?t.call(n,n):t,E(e)?e.call(n,n):e)}function pe(t,e){return t=t&&!$(t)?[t]:t,e?t?t.concat(e):$(e)?e:[e]:t}function Tr(t,e){return A(e)?t:e}function gt(t,e,n){const s={};if(E(e)&&(e=e.options),e.extends&&(t=gt(t,e.extends,n)),e.mixins)for(const o of e.mixins)t=gt(t,o,n);for(const o in t)r(o);for(const o in e)S(t,o)||r(o);function r(o){s[o]=(x[o]||Tr)(t[o],e[o],n)}return s}function En(t,e=[]){try{return t?W(t,"{")?JSON.parse(t):e.length&&!X(t,":")?{[e[0]]:t}:t.split(";").reduce((n,s)=>{const[r,o]=s.split(/:(.*)/);return r&&!A(o)&&(n[r.trim()]=o.trim()),n},{}):{}}catch{return{}}}function ge(t,e){return t===Boolean?Lt(e):t===Number?ot(e):t==="list"?Pr(e):t===Object&&b(e)?En(e):t?t(e):e}function Pr(t){return $(t)?t:b(t)?t.split(/,(?![^(]*\))/).map(e=>bt(e)?ot(e):Lt(e.trim())):[t]}function Nr(t){const e=An(t.$options);for(let s in e)A(e[s])||(t.$props[s]=e[s]);const n=[t.$options.computed,t.$options.methods];for(let s in t.$props)s in e&&Mr(n,s)&&(t[s]=t.$props[s])}function An(t){const e={},{args:n=[],props:s={},el:r,id:o}=t;if(!s)return e;for(const a in s){const f=nt(a);let u=Ht(r,f);A(u)||(u=s[a]===Boolean&&u===""?!0:ge(s[a],u),!(f==="target"&&W(u,"_"))&&(e[a]=u))}const c=En(Ht(r,o),n);for(const a in c){const f=st(a);A(s[f])||(e[f]=ge(s[f],c[a]))}return e}function Mr(t,e){return t.every(n=>!n||!S(n,e))}function Sr(t){const{$options:e,$props:n}=t,{id:s,attrs:r,props:o,el:c}=e;if(!o||r===!1)return;const a=$(r)?r:Object.keys(o),f=a.map(h=>nt(h)).concat(s),u=new MutationObserver(h=>{const d=An(e);h.some(({attributeName:g})=>{const w=g.replace("data-","");return(w===s?a:[st(w),st(g)]).some(y=>!A(d[y])&&d[y]!==n[y])})&&t.$reset()});u.observe(c,{attributes:!0,attributeFilter:f.concat(f.map(h=>`data-${h}`))}),he(t,u)}function tt(t,e){var n;(n=t.$options[e])==null||n.forEach(s=>s.call(t))}function Cn(t){t._connected||(t._data={},t._computed={},Nr(t),tt(t,"beforeConnect"),t._connected=!0,Cr(t),xr(t),Sr(t),Ar(t),tt(t,"connected"),de(t))}function On(t){t._connected&&(tt(t,"beforeDisconnect"),yr(t),Or(t),tt(t,"disconnected"),t._connected=!1,delete t._watch)}function Rr(t){const{computed:e}=t.$options;if(t._computed={},e)for(const n in e)Dr(t,n,e[n])}function Dr(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:r,$el:o}=t;return S(s,e)||(s[e]=(n.get||n).call(t,r,o)),s[e]},set(s){const{_computed:r}=t;r[e]=n.set?n.set.call(t,s):s,A(r[e])&&delete r[e]}})}let Lr=0;function Tn(t,e={}){e.data=jr(e,t.constructor.options),t.$options=gt(t.constructor.options,e,t),t.$props={},t._uid=Lr++,Wr(t),zr(t),Rr(t),tt(t,"created"),e.el&&t.$mount(e.el)}function Wr(t){const{data:e={}}=t.$options;for(const n in e)t.$props[n]=t[n]=e[n]}function zr(t){const{methods:e}=t.$options;if(e)for(const n in e)t[n]=e[n].bind(t)}function jr({data:t={}},{args:e=[],props:n={}}){$(t)&&(t=t.slice(0,e.length).reduce((s,r,o)=>(D(r)?Mt(s,r):s[e[o]]=r,s),{}));for(const s in t)A(t[s])?delete t[s]:n[s]&&(t[s]=ge(n[s],t[s]));return t}const m=function(t){Tn(this,t)};m.util=mr,m.options={},m.version="3.16.5-dev.1a12b9f06";const Fr="uk-",q="__uikit__",mt={};function Pn(t,e){var n;const s=Fr+nt(t);if(!e)return D(mt[s])&&(mt[s]=m.extend(mt[s])),mt[s];t=st(t),m[t]=(o,c)=>me(t,o,c);const r=D(e)?{...e}:e.options;return r.id=s,r.name=t,(n=r.install)==null||n.call(r,m,r,t),m._initialized&&!r.functional&&requestAnimationFrame(()=>me(t,`[${s}],[data-${s}]`)),mt[s]=r}function me(t,e,n){const s=Pn(t);return s.options.functional?new s({data:D(e)?e:[...arguments]}):e?te(e).map(r)[0]:r();function r(o){const c=we(o,t);if(c)if(n)c.$destroy();else return c;return new s({el:o,data:n})}}function ve(t){return t[q]||{}}function we(t,e){return ve(t)[e]}function Br(t,e){t[q]||(t[q]={}),t[q][e.$options.name]=e}function Hr(t,e){var n;(n=t[q])==null||delete n[e.$options.name],Ee(t[q])||delete t[q]}m.component=Pn,m.getComponents=ve,m.getComponent=we,m.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},m.mixin=function(t,e){e=(b(e)?this.component(e):e)||this,e.options=gt(e.options,t)},m.extend=function(t){t=t||{};const e=this,n=function(r){Tn(this,r)};return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.options=gt(e.options,t),n.super=e,n.extend=e.extend,n};function Nn(t,e){t=t?v(t):document.body;for(const n of Xt(t).reverse())Mn(n,e);Ut(t,n=>Mn(n,e))}m.update=Nn;function Mn(t,e){const n=ve(t);for(const s in n)de(n[s],e)}let Sn;Object.defineProperty(m,"container",{get(){return Sn||document.body},set(t){Sn=B(t)}}),m.prototype.$mount=function(t){const e=this;Br(t,e),e.$options.el=t,It(t,document)&&Cn(e)},m.prototype.$destroy=function(t=!1){const e=this,{el:n}=e.$options;n&&On(e),tt(e,"destroy"),Hr(n,e),t&&kt(e.$el)},m.prototype.$create=me,m.prototype.$emit=function(t){de(this,t)},m.prototype.$update=function(t=this.$el,e){Nn(t,e)},m.prototype.$reset=function(){On(this),Cn(this)},m.prototype.$getComponent=we,Object.defineProperties(m.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(m,"container")});function be(t,e=t.$el,n=""){if(e.id)return e.id;let s=`${t.$options.id}-${t._uid}${n}`;return B(`#${s}`)&&(s=be(t,e,`${n}-2`)),s}var qr={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1},computed:{nav:{get({selNav:t},e){return i.$(t,e)},watch(t,e){i.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return i.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){i.attr(this.$el,"aria-roledescription","carousel")},update:[{write(){this.slides.forEach((t,e)=>i.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&&i.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),i.attr(i.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=i.data(t,this.attrItem),n=i.$("a,button",t)||t;let s,r=null;if(i.isNumeric(e)){const o=i.toNumber(e),c=this.slides[o];c&&(c.id||(c.id=be(this,c,`-item-${e}`)),r=c.id),s=this.t("slideX",i.toFloat(e)+1),i.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=be(this,this.list,"-items")),r=this.list.id),s=this.t(e);i.attr(n,{"aria-controls":r,"aria-label":i.attr(n,"aria-label")||s})}}},{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){i.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===pt.SPACE)&&(t.preventDefault(),this.show(i.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:n}=t,s=i.data(e,this.attrItem);if(!i.isNumeric(s))return;let r=n===pt.HOME?0:n===pt.END?"last":n===pt.LEFT?"previous":n===pt.RIGHT?"next":-1;~r&&(t.preventDefault(),this.show(r))}}],methods:{updateNav(){const t=this.getValidIndex();let e,n;for(const s of this.navItems){const r=i.data(s,this.attrItem),o=i.$("a,button",s)||s;if(i.isNumeric(r)){const a=i.toNumber(r)===t;i.toggleClass(s,this.clsActive,a),i.attr(o,{"aria-selected":a,tabindex:a?null:-1}),a&&(n=o),e=e||i.matches(o,":focus")}else i.toggleClass(s,"uk-invisible",this.finite&&(r==="previous"&&t===0||r==="next"&&t>=this.maxIndex));e&&n&&n.focus()}}}};const xe={passive:!1,capture:!0},Rn={passive:!0,capture:!0},Xr="touchstart mousedown",ye="touchmove mousemove",Dn="touchend touchcancel mouseup click input scroll";var Yr={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const s=i.getEventPos(n).x*(i.isRtl?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(n)}}},events:[{name:Xr,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!i.isTouch(t)&&Jr(t.target)||i.closest(t.target,i.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:ye,el(){return this.list},handler:i.noop,...xe}],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,i.on(document,ye,this.move,xe),i.on(document,Dn,this.end,Rn),i.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;i.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:s}=this,r=Math.abs(e),o=this.getIndex(s+this.dir,s),c=this._getDistance(s,o)||n[s].offsetWidth;for(;o!==s&&r>c;)this.drag-=c*this.dir,s=o,r-=c,o=this.getIndex(s+this.dir,s),c=this._getDistance(s,o)||n[s].offsetWidth;this.percent=r/c;const a=n[s],f=n[o],u=this.index!==o,h=s===o;let d;[this.index,this.prevIndex].filter(g=>!i.includes([o,s],g)).forEach(g=>{i.trigger(n[g],"itemhidden",[this]),h&&(d=!0,this.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||d)&&i.trigger(n[this.index],"itemshown",[this]),u&&(this.prevIndex=s,this.index=o,!h&&i.trigger(a,"beforeitemhide",[this]),i.trigger(f,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!h&&f),u&&(!h&&i.trigger(a,"itemhide",[this]),i.trigger(f,"itemshow",[this]))},end(){if(i.off(document,ye,this.move,xe),i.off(document,Dn,this.end,Rn),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=(i.isRtl?this.dir*(i.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)}i.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Jr(t){return i.css(t,"userSelect")!=="none"&&i.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var Gr={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){i.attr(this.list,"aria-live","polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){i.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}},{name:`${i.pointerEnter} focusin`,filter(){return this.autoplay},handler(t){(t.type!==i.pointerEnter||this.pauseOnHover)&&this.stopAutoplay()}},{name:`${i.pointerLeave} focusout`,filter(){return this.autoplay},handler(t){(t.type!==i.pointerLeave||this.pauseOnHover)&&this.startAutoplay()}}],methods:{startAutoplay(){this.draggable&&i.matches(this.$el,":focus-within")||this.pauseOnHover&&i.matches(this.$el,":hover")||(this.stopAutoplay(),this.interval=setInterval(()=>!this.stack.length&&this.show("next"),this.autoplayInterval),i.attr(this.list,"aria-live","off"))},stopAutoplay(){clearInterval(this.interval),i.attr(this.list,"aria-live","polite")}}},Kr={mixins:[Gr,Yr,qr,br],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(){i.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return Ln(e.offsetWidth/t)},list({selList:t},e){return i.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return i.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:xn(),methods:{show(t,e=!1){var n;if(this.dragging||!this.length)return;const{stack:s}=this,r=e?0:s.length,o=()=>{s.splice(r,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const c=this.getIndex(this.index),a=i.hasClass(this.slides,this.clsActive)&&this.slides[c],f=this.getIndex(t,this.index),u=this.slides[f];if(a===u){o();return}if(this.dir=Zr(t,c),this.prevIndex=c,this.index=f,a&&!i.trigger(a,"beforeitemhide",[this])||!i.trigger(u,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const h=this._show(a,u,e).then(()=>{a&&i.trigger(a,"itemhidden",[this]),i.trigger(u,"itemshown",[this]),s.shift(),this._transitioner=null,requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))});return a&&i.trigger(a,"itemhide",[this]),i.trigger(u,"itemshow",[this]),h},getIndex(t=this.index,e=this.index){return i.clamp(i.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:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e=this.prevIndex,n=this.index){const s=this._getTransitioner(e===n?!1:e,n);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,n=this.dir||1,s=this.transitionOptions){return new this.Transitioner(i.isNumber(t)?this.slides[t]:t,i.isNumber(e)?this.slides[e]:e,n*(i.isRtl?-1:1),s)}}};function Zr(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ln(t){return .5*t+300}var Qr={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},Vr={observe:wr({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function Wn(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function kr(t,e,n,{center:s,easing:r,list:o}){const c=new i.Deferred,a=t?vt(t,o,s):vt(e,o,s)+i.dimensions(e).width*n,f=e?vt(e,o,s):a+i.dimensions(t).width*n*(i.isRtl?-1:1);return{dir:n,show(u,h=0,d){const g=d?"linear":r;return u-=Math.round(u*i.clamp(h,-1,1)),this.translate(h),h=t?h:i.clamp(h,0,1),$e(this.getItemIn(),"itemin",{percent:h,duration:u,timing:g,dir:n}),t&&$e(this.getItemIn(!0),"itemout",{percent:1-h,duration:u,timing:g,dir:n}),i.Transition.start(o,{transform:Wn(-f*(i.isRtl?-1:1),"px")},u,g).then(c.resolve,i.noop),c.promise},cancel(){i.Transition.cancel(o)},reset(){i.css(o,"transform","")},forward(u,h=this.percent()){return i.Transition.cancel(o),this.show(u,h,!0)},translate(u){const h=this.getDistance()*n*(i.isRtl?-1:1);i.css(o,"transform",Wn(i.clamp(-f+(h-h*u),-Pt(o),i.dimensions(o).width)*(i.isRtl?-1:1),"px"));const d=this.getActives(),g=this.getItemIn(),w=this.getItemIn(!0);u=t?i.clamp(u,-1,1):0;for(const y of i.children(o)){const P=i.includes(d,y),_=y===g,Bn=y===w,no=_||!Bn&&(P||n*(i.isRtl?-1:1)===-1^Nt(y,o)>Nt(t||e));$e(y,`itemtranslate${no?"in":"out"}`,{dir:n,percent:Bn?1-u:_?u:P?1:0})}},percent(){return Math.abs((i.css(o,"transform").split(",")[4]*(i.isRtl?-1:1)+a)/(f-a))},getDistance(){return Math.abs(f-a)},getItemIn(u=!1){let h=this.getActives(),d=jn(o,vt(e||t,o,s));if(u){const g=h;h=d,d=g}return d[i.findIndex(d,g=>!i.includes(h,g))]},getActives(){return jn(o,vt(t||e,o,s))}}}function vt(t,e,n){const s=Nt(t,e);return n?s-Ur(t,e):Math.min(s,zn(e))}function zn(t){return Math.max(0,Pt(t)-i.dimensions(t).width)}function Pt(t){return i.sumBy(i.children(t),e=>i.dimensions(e).width)}function Ur(t,e){return i.dimensions(e).width/2-i.dimensions(t).width/2}function Nt(t,e){return t&&(i.position(t).left+(i.isRtl?i.dimensions(t).width-i.dimensions(e).width:0))*(i.isRtl?-1:1)||0}function jn(t,e){e-=1;const n=i.dimensions(t).width,s=e+n+2;return i.children(t).filter(r=>{const o=Nt(r,t),c=o+Math.min(i.dimensions(r).width,n);return o>=e&&c<=s})}function $e(t,e,n){i.trigger(t,i.createEvent(e,!1,!1,n))}var Fn={mixins:[et,Kr,Qr,Vr],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:kr},computed:{avgWidth(){return Pt(this.list)/this.length},finite({finite:t}){return t||to(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return i.last(this.sets);let t=0;const e=zn(this.list),n=i.findIndex(this.slides,s=>{if(t>=e)return!0;t+=i.dimensions(s).width});return~n?n:this.length-1},sets({sets:t}){if(!t)return;let e=0;const n=[],s=i.dimensions(this.list).width;for(let r=0;r<this.length;r++){const o=i.dimensions(this.slides[r]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+i.dimensions(this.slides[+r+1]).width/2>s/2&&(n.push(+r),e=s/2-o/2):e===0&&n.push(Math.min(+r,this.maxIndex)),e+=o}if(n.length)return n},transitionOptions(){return{center:this.center,list:this.list}},slides(){return i.children(this.list).filter(i.isVisible)}},connected(){i.toggleClass(this.$el,this.clsContainer,!i.$(`.${this.clsContainer}`,this.$el))},observe:xn({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=i.toNumber(i.data(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!i.includes(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!i.includes(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const n=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=Ln(this.avgWidth/this.velocity)*(i.dimensions(this.slides[n]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&i.addClass(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){i.css(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((r,o)=>i.css(r,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let n=i.dimensions(this.list).width/2-i.dimensions(e).width/2,s=0;for(;n>0;){const r=this.getIndex(--s+t,t),o=this.slides[r];i.css(o,"order",r>t?-2:-1),n-=i.dimensions(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||i.includes(this.sets,i.toFloat(this.index)))&&this.clsActivated||""];for(const n of this.slides){const s=i.includes(t,n);i.toggleClass(n,e,s),i.attr(n,"aria-hidden",!s),i.attr(i.$$(i.selFocusable,n),"tabindex",s?null:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let n;do{if(i.includes(this.sets,t))return t;n=t,t=this.getIndex(t+this.dir,e)}while(t!==n);return t},getAdjacentSlides(){const{width:t}=i.dimensions(this.list),e=-t,n=t*2,s=i.dimensions(this.slides[this.index]).width,r=this.center?t/2-s/2:0,o=new Set;for(const c of[-1,1]){let a=r+(c>0?s:0),f=0;do{const u=this.slides[this.getIndex(this.index+c+f++*c)];a+=i.dimensions(u).width*c,o.add(u)}while(this.length>f&&a>e&&a<n)}return Array.from(o)}}};function to(t,e){if(!t||t.length<2)return!0;const{width:n}=i.dimensions(t);if(!e)return Math.ceil(Pt(t))<Math.trunc(n+eo(t));const s=i.children(t),r=Math.trunc(n/2);for(const o in s){const c=s[o],a=i.dimensions(c).width,f=new Set([c]);let u=0;for(const h of[-1,1]){let d=a/2,g=0;for(;d<r;){const w=s[i.getIndex(+o+h+g++*h,s)];if(f.has(w))return!0;d+=i.dimensions(w).width,f.add(w)}u=Math.max(u,a/2+i.dimensions(s[i.getIndex(+o+h,s)]).width/2-(d-r))}if(u>i.sumBy(s.filter(h=>!f.has(h)),h=>i.dimensions(h).width))return!0}return!1}function eo(t){return Math.max(0,...i.children(t).map(e=>i.dimensions(e).width))}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slider",Fn),Fn});
|
|
1
|
+
/*! UIkit 3.16.5-dev.2fd0fea3e | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(i,et){typeof exports=="object"&&typeof module<"u"?module.exports=et(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider",["uikit-util"],et):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlider=et(i.UIkit.util))})(this,function(i){"use strict";var et={connected(){i.addClass(this.$el,this.$options.id)}};const{hasOwnProperty:Hn,toString:qn}=Object.prototype;function S(t,e){return Hn.call(t,e)}const Xn=/\B([A-Z])/g,nt=N(t=>t.replace(Xn,"-$1").toLowerCase()),Yn=/-(\w)/g,st=N(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Yn,(e,n)=>n.toUpperCase())),L=N(t=>t.charAt(0).toUpperCase()+t.slice(1));function W(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}function Jn(t,e){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,e)}function X(t,e){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,e)}function Ie(t,e){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,e)}const{isArray:$,from:Gn}=Array,{assign:Mt}=Object;function E(t){return typeof t=="function"}function R(t){return t!==null&&typeof t=="object"}function D(t){return qn.call(t)==="[object Object]"}function Y(t){return R(t)&&t===t.window}function wt(t){return Rt(t)===9}function St(t){return Rt(t)>=1}function rt(t){return Rt(t)===1}function Rt(t){return!Y(t)&&R(t)&&t.nodeType}function _e(t){return typeof t=="boolean"}function b(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function bt(t){return Dt(t)||b(t)&&!isNaN(t-parseFloat(t))}function Ee(t){return!($(t)?t.length:R(t)&&Object.keys(t).length)}function A(t){return t===void 0}function Lt(t){return _e(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function ot(t){const e=Number(t);return isNaN(e)?!1:e}function I(t){return parseFloat(t)||0}function v(t){return l(t)[0]}function l(t){return St(t)?[t]:Array.from(t||[]).filter(St)}function J(t){if(Y(t))return t;t=v(t);const e=wt(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Wt(t,e){return t===e||R(t)&&R(e)&&Object.keys(t).length===Object.keys(e).length&&xt(t,(n,s)=>n===e[s])}function Kn(t,e,n){return t.replace(new RegExp(`${e}|${n}`,"g"),s=>s===e?n:e)}function Ae(t){return t[t.length-1]}function xt(t,e){for(const n in t)if(e(t[n],n)===!1)return!1;return!0}function Ce(t,e){return t.slice().sort(({[e]:n=0},{[e]:s=0})=>n>s?1:s>n?-1:0)}function zt(t,e){return t.reduce((n,s)=>n+I(E(e)?e(s):s[e]),0)}function Zn(t,e){const n=new Set;return t.filter(({[e]:s})=>n.has(s)?!1:n.add(s))}function Qn(t,e){return e.reduce((n,s)=>({...n,[s]:t[s]}),{})}function G(t,e=0,n=1){return Math.min(Math.max(ot(t)||0,e),n)}function yt(){}function Oe(...t){return[["bottom","top"],["right","left"]].every(([e,n])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[n]:s})=>s))>0)}function jt(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Ft(t,e,n){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(n*t[s]/t[e]):t[s],[e]:n}}function Te(t,e){t={...t};for(const n in t)t=t[n]>e[n]?Ft(t,n,e[n]):t;return t}function Vn(t,e){t=Te(t,e);for(const n in t)t=t[n]<e[n]?Ft(t,n,e[n]):t;return t}const kn={ratio:Ft,contain:Te,cover:Vn};function Un(t,e,n=0,s=!1){e=l(e);const{length:r}=e;return r?(t=bt(t)?ot(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?r-1:e.indexOf(v(t)),s?G(t,0,r-1):(t%=r,t<0?t+r:t)):-1}function N(t){const e=Object.create(null);return n=>e[n]||(e[n]=t(n))}class ts{constructor(){this.promise=new Promise((e,n)=>{this.reject=n,this.resolve=e})}}function z(t,e,n){var s;if(R(e)){for(const r in e)z(t,r,e[r]);return}if(A(n))return(s=v(t))==null?void 0:s.getAttribute(e);for(const r of l(t))E(n)&&(n=n.call(r,z(r,e))),n===null?Bt(r,e):r.setAttribute(e,n)}function Pe(t,e){return l(t).some(n=>n.hasAttribute(e))}function Bt(t,e){l(t).forEach(n=>n.removeAttribute(e))}function Ht(t,e){for(const n of[e,`data-${e}`])if(Pe(t,n))return z(t,n)}const es={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 ns(t){return l(t).some(e=>es[e.tagName.toLowerCase()])}function $t(t){return l(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const qt="input,select,textarea,button";function ss(t){return l(t).some(e=>K(e,qt))}const Ne=`${qt},a[href],[tabindex]`;function rs(t){return K(t,Ne)}function it(t){var e;return(e=v(t))==null?void 0:e.parentElement}function Me(t,e){return l(t).filter(n=>K(n,e))}function K(t,e){return l(t).some(n=>n.matches(e))}function ct(t,e){return rt(t)?t.closest(W(e,">")?e.slice(1):e):l(t).map(n=>ct(n,e)).filter(Boolean)}function It(t,e){return b(e)?!!ct(t,e):v(e).contains(v(t))}function Xt(t,e){const n=[];for(;t=it(t);)(!e||K(t,e))&&n.push(t);return n}function Se(t,e){t=v(t);const n=t?l(t.children):[];return e?Me(n,e):n}function Re(t,e){return e?l(t).indexOf(v(e)):Se(it(t)).indexOf(t)}function De(t){return t=v(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function os(t){if(De(t)){t=v(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function is(t,e){return Yt(t,We(t,e))}function cs(t,e){return at(t,We(t,e))}function Yt(t,e){return v(ze(t,v(e),"querySelector"))}function at(t,e){return l(ze(t,v(e),"querySelectorAll"))}const as=/(^|[^\\],)\s*[!>+~-]/,Le=N(t=>t.match(as));function We(t,e=document){return b(t)&&Le(t)||wt(e)?e:e.ownerDocument}const fs=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,us=N(t=>t.replace(fs,"$1 *"));function ze(t,e=document,n){if(!t||!b(t))return t;if(t=us(t),Le(t)){const s=ds(t);t="";for(let r of s){let o=e;if(r[0]==="!"){const c=r.substr(1).trim().split(" ");if(o=ct(it(e),c[0]),r=c.slice(1).join(" ").trim(),!r.length&&s.length===1)return o}if(r[0]==="-"){const c=r.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=K(a,r.substr(1))?a:null,r=c.slice(1).join(" ")}o&&(t+=`${t?",":""}${ls(o)} ${r}`)}e=document}try{return e[n](t)}catch{return null}}const hs=/.*?[^\\](?:,|$)/g,ds=N(t=>t.match(hs).map(e=>e.replace(/,$/,"").trim()));function ls(t){const e=[];for(;t.parentNode;){const n=z(t,"id");if(n){e.unshift(`#${je(n)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${Re(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function je(t){return b(t)?CSS.escape(t):""}function j(...t){let[e,n,s,r,o=!1]=Jt(t);r.length>1&&(r=gs(r)),o!=null&&o.self&&(r=ms(r)),s&&(r=ps(s,r));for(const c of n)for(const a of e)a.addEventListener(c,r,o);return()=>Fe(e,n,r,o)}function Fe(...t){let[e,n,,s,r=!1]=Jt(t);for(const o of n)for(const c of e)c.removeEventListener(o,s,r)}function Z(...t){const[e,n,s,r,o=!1,c]=Jt(t),a=j(e,n,s,f=>{const u=!c||c(f);u&&(a(),r(f,u))},o);return a}function F(t,e,n){return Gt(t).every(s=>s.dispatchEvent(Be(e,!0,!0,n)))}function Be(t,e=!0,n=!1,s){return b(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:n,detail:s})),t}function Jt(t){return t[0]=Gt(t[0]),b(t[1])&&(t[1]=t[1].split(" ")),E(t[2])&&t.splice(2,0,!1),t}function ps(t,e){return n=>{const s=t[0]===">"?at(t,n.currentTarget).reverse().filter(r=>It(n.target,r))[0]:ct(n.target,t);s&&(n.current=s,e.call(this,n),delete n.current)}}function gs(t){return e=>$(e.detail)?t(e,...e.detail):t(e)}function ms(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function He(t){return t&&"addEventListener"in t}function vs(t){return He(t)?t:v(t)}function Gt(t){return $(t)?t.map(vs).filter(Boolean):b(t)?at(t):He(t)?[t]:l(t)}function ws(t){return t.pointerType==="touch"||!!t.touches}function qe(t){var e,n;const{clientX:s,clientY:r}=((e=t.touches)==null?void 0:e[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:s,y:r}}const bs={"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 p(t,e,n,s){const r=l(t);for(const o of r)if(b(e)){if(e=Kt(e),A(n))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,bt(n)&&!bs[e]?`${n}px`:n||Dt(n)?n:"",s)}else if($(e)){const c={};for(const a of e)c[a]=p(o,a);return c}else R(e)&&(s=n,xt(e,(c,a)=>p(o,a,c,s)));return r[0]}const Kt=N(t=>xs(t));function xs(t){if(W(t,"--"))return t;t=nt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const n of["webkit","moz"]){const s=`-${n}-${t}`;if(s in e)return s}}function Q(t,...e){Je(t,e,"add")}function Zt(t,...e){Je(t,e,"remove")}function Xe(t,e){z(t,"class",n=>(n||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function ys(t,...e){e[0]&&Zt(t,e[0]),e[1]&&Q(t,e[1])}function Ye(t,e){return[e]=Qt(e),!!e&&l(t).some(n=>n.classList.contains(e))}function $s(t,e,n){const s=Qt(e);A(n)||(n=!!n);for(const r of l(t))for(const o of s)r.classList.toggle(o,n)}function Je(t,e,n){e=e.reduce((s,r)=>s.concat(Qt(r)),[]);for(const s of l(t))s.classList[n](...e)}function Qt(t){return String(t).split(/[ ,]/).filter(Boolean)}function Is(t,e,n=400,s="linear"){return n=Math.round(n),Promise.all(l(t).map(r=>new Promise((o,c)=>{for(const f in e){const u=p(r,f);u===""&&p(r,f,u)}const a=setTimeout(()=>F(r,"transitionend"),n);Z(r,"transitionend transitioncanceled",({type:f})=>{clearTimeout(a),Zt(r,"uk-transition"),p(r,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),f==="transitioncanceled"?c():o(r)},{self:!0}),Q(r,"uk-transition"),p(r,{transitionProperty:Object.keys(e).map(Kt).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:s,...e})})))}const _s={start:Is,async stop(t){F(t,"transitionend"),await Promise.resolve()},async cancel(t){F(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return Ye(t,"uk-transition")}},ft="uk-animation-";function Ge(t,e,n=200,s,r){return Promise.all(l(t).map(o=>new Promise((c,a)=>{F(o,"animationcanceled");const f=setTimeout(()=>F(o,"animationend"),n);Z(o,"animationend animationcanceled",({type:u})=>{clearTimeout(f),u==="animationcanceled"?a():c(o),p(o,"animationDuration",""),Xe(o,`${ft}\\S*`)},{self:!0}),p(o,"animationDuration",`${n}ms`),Q(o,e,ft+(r?"leave":"enter")),W(e,ft)&&(s&&Q(o,`uk-transform-origin-${s}`),r&&Q(o,`${ft}reverse`))})))}const Es=new RegExp(`${ft}(enter|leave)`),As={in:Ge,out(t,e,n,s){return Ge(t,e,n,s,!0)},inProgress(t){return Es.test(z(t,"class"))},cancel(t){F(t,"animationcanceled")}};function Cs(t){if(document.readyState!=="loading"){t();return}Z(document,"DOMContentLoaded",t)}function Vt(t,...e){return e.some(n=>{var s;return((s=t==null?void 0:t.tagName)==null?void 0:s.toLowerCase())===n.toLowerCase()})}function Ke(t){return t=B(t),t.innerHTML="",t}function Os(t,e){return A(e)?B(t).innerHTML:ut(Ke(t),e)}const Ts=_t("prepend"),ut=_t("append"),Ze=_t("before"),Ps=_t("after");function _t(t){return function(e,n){var s;const r=l(b(n)?Et(n):n);return(s=B(e))==null||s[t](...r),Ve(r)}}function kt(t){l(t).forEach(e=>e.remove())}function Qe(t,e){for(e=v(Ze(t,e));e.firstChild;)e=e.firstChild;return ut(e,t),e}function Ns(t,e){return l(l(t).map(n=>n.hasChildNodes()?Qe(l(n.childNodes),e):ut(n,e)))}function Ms(t){l(t).map(it).filter((e,n,s)=>s.indexOf(e)===n).forEach(e=>e.replaceWith(...e.childNodes))}const Ss=/^\s*<(\w+|!)[^>]*>/,Rs=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Et(t){const e=Rs.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("div");return Ss.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,Ve(n.childNodes)}function Ve(t){return t.length>1?t:t[0]}function Ut(t,e){if(rt(t))for(e(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;Ut(t,e),t=n}}function B(t,e){return ke(t)?v(Et(t)):Yt(t,e)}function te(t,e){return ke(t)?l(Et(t)):at(t,e)}function ke(t){return b(t)&&W(t.trim(),"<")}const H={width:["left","right"],height:["top","bottom"]};function ee(t){const e=rt(t)?v(t).getBoundingClientRect():{height:tn(t),width:se(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=ee(t);if(t){const{scrollY:r,scrollX:o}=J(t),c={height:r,width:o};for(const a in H)for(const f of H[a])n[f]+=c[a]}if(!e)return n;const s=p(t,"position");xt(p(t,["left","top"]),(r,o)=>p(t,o,e[o]-n[o]+I(s==="absolute"&&r==="auto"?Ue(t)[o]:r)))}function Ue(t){let{top:e,left:n}=O(t);const{ownerDocument:{body:s,documentElement:r},offsetParent:o}=v(t);let c=o||r;for(;c&&(c===s||c===r)&&p(c,"position")==="static";)c=c.parentNode;if(rt(c)){const a=O(c);e-=a.top+I(p(c,"borderTopWidth")),n-=a.left+I(p(c,"borderLeftWidth"))}return{top:e-I(p(t,"marginTop")),left:n-I(p(t,"marginLeft"))}}function ne(t){t=v(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+I(p(t,"borderTopWidth")),e[1]+=t.offsetLeft+I(p(t,"borderLeftWidth")),p(t,"position")==="fixed"){const n=J(t);return e[0]+=n.scrollY,e[1]+=n.scrollX,e}return e}const tn=en("height"),se=en("width");function en(t){const e=L(t);return(n,s)=>{if(A(s)){if(Y(n))return n[`inner${e}`];if(wt(n)){const r=n.documentElement;return Math.max(r[`offset${e}`],r[`scroll${e}`])}return n=v(n),s=p(n,t),s=s==="auto"?n[`offset${e}`]:I(s)||0,s-re(n,t)}else return p(n,t,!s&&s!==0?"":+s+re(n,t)+"px")}}function re(t,e,n="border-box"){return p(t,"boxSizing")===n?zt(H[e].map(L),s=>I(p(t,`padding${s}`))+I(p(t,`border${s}Width`))):0}function Ds(t){for(const e in H)for(const n in H[e])if(H[e][n]===t)return H[e][1-n];return t}function Ls(t,e="width",n=window,s=!1){return b(t)?zt(zs(t),r=>{const o=Fs(r);return o?Bs(o==="vh"?Hs():o==="vw"?se(J(n)):s?n[`offset${L(e)}`]:ee(n)[e],r):r}):I(t)}const Ws=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,zs=N(t=>t.toString().replace(/\s/g,"").match(Ws)||[]),js=/(?:v[hw]|%)$/,Fs=N(t=>(t.match(js)||[])[0]);function Bs(t,e){return t*I(e)/100}let ht,V;function Hs(){return ht||(V||(V=B("<div>"),p(V,{height:"100vh",position:"fixed"}),j(window,"resize",()=>ht=null)),ut(document.body,V),ht=V.clientHeight,kt(V),ht)}const dt=typeof window<"u",qs=dt&&document.dir==="rtl",k=dt&&"ontouchstart"in window,U=dt&&window.PointerEvent,Xs=U?"pointerdown":k?"touchstart":"mousedown",Ys=U?"pointermove":k?"touchmove":"mousemove",Js=U?"pointerup":k?"touchend":"mouseup",Gs=U?"pointerenter":k?"":"mouseenter",Ks=U?"pointerleave":k?"":"mouseleave",Zs=U?"pointercancel":"touchcancel",T={reads:[],writes:[],read(t){return this.reads.push(t),ie(),t},write(t){return this.writes.push(t),ie(),t},clear(t){sn(this.reads,t),sn(this.writes,t)},flush:oe};function oe(t){nn(T.reads),nn(T.writes.splice(0)),T.scheduled=!1,(T.reads.length||T.writes.length)&&ie(t+1)}const Qs=4;function ie(t){T.scheduled||(T.scheduled=!0,t&&t<Qs?Promise.resolve().then(()=>oe(t)):requestAnimationFrame(()=>oe(1)))}function nn(t){let e;for(;e=t.shift();)try{e()}catch(n){console.error(n)}}function sn(t,e){const n=t.indexOf(e);return~n&&t.splice(n,1)}function rn(){}rn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=j(document,"mousemove",e=>t=qe(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:s,top:r,bottom:o}=e,[c]=this.positions,a=Ae(this.positions),f=[c,a];return jt(a,e)?!1:[[{x:n,y:r},{x:s,y:o}],[{x:n,y:o},{x:s,y:r}]].some(h=>{const d=Vs(f,h);return d&&jt(d,e)})}};function Vs([{x:t,y:e},{x:n,y:s}],[{x:r,y:o},{x:c,y:a}]){const f=(a-o)*(n-t)-(c-r)*(s-e);if(f===0)return!1;const u=((c-r)*(e-o)-(a-o)*(t-r))/f;return u<0?!1:{x:t+u*(n-t),y:e+u*(s-e)}}function on(t,e,n={},s=!0){const r=new IntersectionObserver(s?(o,c)=>{o.some(a=>a.isIntersecting)&&e(o,c)}:e,n);for(const o of l(t))r.observe(o);return r}const ks=dt&&window.ResizeObserver;function cn(t,e,n={box:"border-box"}){return ks?an(ResizeObserver,t,e,n):(Us(),lt.add(e),{observe:yt,unobserve:yt,disconnect(){lt.delete(e)}})}let lt;function Us(){if(lt)return;lt=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of lt)n()}};j(window,"load resize",e),j(document,"loadedmetadata load",e,!0)}function tr(t,e,n){return an(MutationObserver,t,e,n)}function an(t,e,n,s){const r=new t(n);for(const o of l(e))r.observe(o,s);return r}function er(t){if(Ct(t)&&ce(t,{func:"playVideo",method:"play"}),At(t))try{t.play().catch(yt)}catch{}}function nr(t){Ct(t)&&ce(t,{func:"pauseVideo",method:"pause"}),At(t)&&t.pause()}function sr(t){Ct(t)&&ce(t,{func:"mute",method:"setVolume",value:0}),At(t)&&(t.muted=!0)}function rr(t){return At(t)||Ct(t)}function At(t){return Vt(t,"video")}function Ct(t){return Vt(t,"iframe")&&(fn(t)||un(t))}function fn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function un(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function ce(t,e){await ir(t),hn(t,e)}function hn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const ae="_ukPlayer";let or=0;function ir(t){if(t[ae])return t[ae];const e=fn(t),n=un(t),s=++or;let r;return t[ae]=new Promise(o=>{e&&Z(t,"load",()=>{const c=()=>hn(t,{event:"listening",id:s});r=setInterval(c,100),c()}),Z(window,"message",o,!1,({data:c})=>{try{return c=JSON.parse(c),e&&(c==null?void 0:c.id)===s&&c.event==="onReady"||n&&Number(c==null?void 0:c.player_id)===s}catch{}}),t.src=`${t.src}${X(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(r))}function cr(t,e=0,n=0){return $t(t)?Oe(...fe(t).map(s=>{const{top:r,left:o,bottom:c,right:a}=M(s);return{top:r-e,left:o-n,bottom:c+e,right:a+n}}).concat(O(t))):!1}function ar(t,{offset:e=0}={}){const n=$t(t)?Ot(t,!1,["hidden"]):[];return n.reduce((c,a,f)=>{const{scrollTop:u,scrollHeight:h,offsetHeight:d}=a,g=M(a),w=h-g.height,{height:y,top:P}=n[f-1]?M(n[f-1]):O(t);let _=Math.ceil(P-g.top-e+u);return e>0&&d<y+e?_+=e:e=0,_>w?(e-=_-w,_=w):_<0&&(e-=_,_=0),()=>s(a,_-u).then(c)},()=>Promise.resolve())();function s(c,a){return new Promise(f=>{const u=c.scrollTop,h=r(Math.abs(a)),d=Date.now();(function g(){const w=o(G((Date.now()-d)/h));c.scrollTop=u+a*w,w===1?f():requestAnimationFrame(g)})()})}function r(c){return 40*Math.pow(c,.375)}function o(c){return .5*(1-Math.cos(Math.PI*c))}}function fr(t,e=0,n=0){if(!$t(t))return 0;const[s]=Ot(t,!0),{scrollHeight:r,scrollTop:o}=s,{height:c}=M(s),a=r-c,f=ne(t)[0]-ne(s)[0],u=Math.max(0,f-c+e),h=Math.min(a,f+t.offsetHeight-n);return G((o-u)/(h-u))}function Ot(t,e=!1,n=[]){const s=dn(t);let r=Xt(t).reverse();r=r.slice(r.indexOf(s)+1);const o=Ie(r,c=>p(c,"position")==="fixed");return~o&&(r=r.slice(o)),[s].concat(r.filter(c=>p(c,"overflow").split(" ").some(a=>X(["auto","scroll",...n],a))&&(!e||c.scrollHeight>M(c).height))).reverse()}function fe(t){return Ot(t,!1,["hidden","clip"])}function M(t){const e=J(t),{visualViewport:n,document:{documentElement:s}}=e;let r=t===dn(t)?e:t;if(Y(r)&&n){let{height:c,width:a,scale:f,pageTop:u,pageLeft:h}=n;return c=Math.round(c*f),a=Math.round(a*f),{height:c,width:a,top:u,left:h,bottom:u+c,right:h+a}}let o=O(r);if(p(r,"display")==="inline")return o;for(let[c,a,f,u]of[["width","x","left","right"],["height","y","top","bottom"]])Y(r)?r=s:o[f]+=I(p(r,`border-${f}-width`)),o[c]=o[a]=r[`client${L(c)}`],o[u]=o[c]+o[f];return o}function dn(t){return J(t).document.scrollingElement}const C=[["width","x","left","right"],["height","y","top","bottom"]];function ur(t,e,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},$(e)||(e=[e,e]),O(t,ln(t,e,n))}function ln(t,e,n){const s=pn(t,e,n),{boundary:r,viewportOffset:o=0,placement:c}=n;let a=s;for(const[f,[u,,h,d]]of Object.entries(C)){const g=hr(t,e[f],o,r,f);if(Tt(s,g,f))continue;let w=0;if(c[f]==="flip"){const y=n.attach.target[f];if(y===d&&s[d]<=g[d]||y===h&&s[h]>=g[h])continue;w=lr(t,e,n,f)[h]-s[h];const P=dr(t,e[f],o,f);if(!Tt(ue(s,w,f),P,f)){if(Tt(s,P,f))continue;if(n.recursion)return!1;const _=pr(t,e,n);if(_&&Tt(_,P,1-f))return _;continue}}else if(c[f]==="shift"){const y=O(e[f]),{offset:P}=n;w=G(G(s[h],g[h],g[d]-s[u]),y[h]-s[u]+P[f],y[d]-P[f])-s[h]}a=ue(a,w,f)}return a}function pn(t,e,n){let{attach:s,offset:r}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},o=O(t);for(const[c,[a,,f,u]]of Object.entries(C)){const h=s.target[c]===s.element[c]?M(e[c]):O(e[c]);o=ue(o,h[f]-o[f]+gn(s.target[c],u,h[a])-gn(s.element[c],u,o[a])+ +r[c],c)}return o}function ue(t,e,n){const[,s,r,o]=C[n],c={...t};return c[r]=t[s]=t[r]+e,c[o]+=e,c}function gn(t,e,n){return t==="center"?n/2:t===e?n:0}function hr(t,e,n,s,r){let o=vn(...mn(t,e).map(M));return n&&(o[C[r][2]]+=n,o[C[r][3]]-=n),s&&(o=vn(o,O($(s)?s[r]:s))),o}function dr(t,e,n,s){const[r,o,c,a]=C[s],[f]=mn(t,e),u=M(f);return["auto","scroll"].includes(p(f,`overflow-${o}`))&&(u[c]-=f[`scroll${L(c)}`],u[a]=u[c]+f[`scroll${L(r)}`]),u[c]+=n,u[a]-=n,u}function mn(t,e){return fe(e).filter(n=>It(t,n))}function vn(...t){let e={};for(const n of t)for(const[,,s,r]of C)e[s]=Math.max(e[s]||0,n[s]),e[r]=Math.min(...[e[r],n[r]].filter(Boolean));return e}function Tt(t,e,n){const[,,s,r]=C[n];return t[s]>=e[s]&&t[r]<=e[r]}function lr(t,e,{offset:n,attach:s},r){return pn(t,e,{attach:{element:wn(s.element,r),target:wn(s.target,r)},offset:gr(n,r)})}function pr(t,e,n){return ln(t,e,{...n,attach:{element:n.attach.element.map(bn).reverse(),target:n.attach.target.map(bn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function wn(t,e){const n=[...t],s=C[e].indexOf(t[e]);return~s&&(n[e]=C[e][1-s%2+2]),n}function bn(t){for(let e=0;e<C.length;e++){const n=C[e].indexOf(t);if(~n)return C[1-e][n%2+2]}}function gr(t,e){return t=[...t],t[e]*=-1,t}var mr=Object.freeze({__proto__:null,$:B,$$:te,Animation:As,Deferred:ts,Dimensions:kn,MouseTracker:rn,Transition:_s,addClass:Q,after:Ps,append:ut,apply:Ut,assign:Mt,attr:z,before:Ze,boxModelAdjust:re,camelize:st,children:Se,clamp:G,closest:ct,createEvent:Be,css:p,data:Ht,dimensions:ee,each:xt,empty:Ke,endsWith:Jn,escape:je,fastdom:T,filter:Me,find:Yt,findAll:at,findIndex:Ie,flipPosition:Ds,fragment:Et,getEventPos:qe,getIndex:Un,getTargetedElement:os,hasAttr:Pe,hasClass:Ye,hasOwn:S,hasTouch:k,height:tn,html:Os,hyphenate:nt,inBrowser:dt,includes:X,index:Re,intersectRect:Oe,isArray:$,isBoolean:_e,isDocument:wt,isElement:rt,isEmpty:Ee,isEqual:Wt,isFocusable:rs,isFunction:E,isInView:cr,isInput:ss,isNode:St,isNumber:Dt,isNumeric:bt,isObject:R,isPlainObject:D,isRtl:qs,isSameSiteAnchor:De,isString:b,isTag:Vt,isTouch:ws,isUndefined:A,isVideo:rr,isVisible:$t,isVoidElement:ns,isWindow:Y,last:Ae,matches:K,memoize:N,mute:sr,noop:yt,observeIntersection:on,observeMutation:tr,observeResize:cn,off:Fe,offset:O,offsetPosition:ne,offsetViewport:M,on:j,once:Z,overflowParents:fe,parent:it,parents:Xt,pause:nr,pick:Qn,play:er,pointInRect:jt,pointerCancel:Zs,pointerDown:Xs,pointerEnter:Gs,pointerLeave:Ks,pointerMove:Ys,pointerUp:Js,position:Ue,positionAt:ur,prepend:Ts,propName:Kt,query:is,queryAll:cs,ready:Cs,remove:kt,removeAttr:Bt,removeClass:Zt,removeClasses:Xe,replaceClass:ys,scrollIntoView:ar,scrollParents:Ot,scrolledOver:fr,selFocusable:Ne,selInput:qt,sortBy:Ce,startsWith:W,sumBy:zt,swap:Kn,toArray:Gn,toBoolean:Lt,toEventTargets:Gt,toFloat:I,toNode:v,toNodes:l,toNumber:ot,toPx:Ls,toWindow:J,toggleClass:$s,trigger:F,ucfirst:L,uniqueBy:Zn,unwrap:Ms,width:se,within:It,wrapAll:Qe,wrapInner:Ns});function xn(t){return yn(cn,t,"resize")}function vr(t){return yn(on,t)}function wr(t={}){return vr({handler:function(e,n){const{targets:s=this.$el,preload:r=5}=t;for(const o of l(E(s)?s(this):s))te('[loading="lazy"]',o).slice(0,r-1).forEach(c=>Bt(c,"loading"));for(const o of e.filter(({isIntersecting:c})=>c).map(({target:c})=>c))n.unobserve(o)},...t})}function yn(t,e,n){return{observe:t,handler(){this.$emit(n)},...e}}var br={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,s,r;let o=0;return((r=((n=this.i18n)==null?void 0:n[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:r.replace(/%s/g,()=>e[o++]||""))||""}}};const pt={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function xr(t){t._observers=[],t._observerUpdates=new Map;for(const e of t.$options.observe||[])if(S(e,"handler"))$n(t,e);else for(const n in e)$n(t,e[n],n)}function he(t,...e){t._observers.push(...e)}function yr(t){for(const e of t._observers)e==null||e.disconnect(),t._observerUpdates.delete(e)}function $r(t){for(const[e,n]of t._observerUpdates)n(e)}function $n(t,e,n){let{observe:s,target:r=t.$el,handler:o,options:c,filter:a,args:f}=D(e)?e:{type:n,handler:e};if(a&&!a.call(t,t))return;const u=E(r)?r.call(t,t):r;o=b(o)?t[o]:o.bind(t),E(c)&&(c=c.call(t,t));const h=s(u,o,c,f);E(r)&&$(u)&&h.unobserve&&t._observerUpdates.set(h,Ir(t,r,u)),he(t,h)}function Ir(t,e,n){return s=>{const r=e.call(t,t);Wt(n,r)||(n.forEach(o=>!X(r,o)&&s.unobserve(o)),r.forEach(o=>!X(n,o)&&s.observe(o)),n.splice(0,n.length,...r))}}function In(t){if(t._watch)return;const e=!S(t,"_watch");t._watch=T.read(()=>{t._connected&&_r(t,e),t._watch=null})}function _r(t,e){const n={...t._computed};t._computed={};for(const[s,{watch:r,immediate:o}]of Object.entries(t.$options.computed||{}))r&&(e&&o||S(n,s)&&!Wt(n[s],t[s]))&&r.call(t,t[s],e?void 0:n[s]);$r(t)}function de(t,e="update"){t._connected&&((e==="update"||e==="resize")&&In(t),t.$options.update&&(t._updates||(t._updates=new Set,T.read(()=>{t._connected&&Er(t,t._updates),delete t._updates})),t._updates.add(e.type||e)))}function Er(t,e){for(const{read:n,write:s,events:r=[]}of t.$options.update){if(!e.has("update")&&!r.some(c=>e.has(c)))continue;let o;n&&(o=n.call(t,t._data,e),o&&D(o)&&Mt(t._data,o)),s&&o!==!1&&T.write(()=>{t._connected&&s.call(t,t._data,e)})}}function Ar(t){let{el:e,computed:n,observe:s}=t.$options;if(!n&&!(s!=null&&s.some(o=>E(o.target))))return;for(const o in n||{})if(n[o].document){e=e.ownerDocument;break}const r=new MutationObserver(()=>In(t));r.observe(e,{childList:!0,subtree:!0}),he(t,r)}function Cr(t){t._events=[];for(const e of t.$options.events||[])if(S(e,"handler"))le(t,e);else for(const n in e)le(t,e[n],n)}function Or(t){t._events.forEach(e=>e()),delete t._events}function le(t,e,n){let{name:s,el:r,handler:o,capture:c,passive:a,delegate:f,filter:u,self:h}=D(e)?e:{name:n,handler:e};if(r=E(r)?r.call(t,t):r||t.$el,$(r)){r.forEach(d=>le(t,{...e,el:d},n));return}!r||u&&!u.call(t)||t._events.push(j(r,s,f?b(f)?f:f.call(t,t):null,b(o)?t[o]:o.bind(t),{passive:a,capture:c,self:h}))}const x={};x.events=x.observe=x.created=x.beforeConnect=x.connected=x.beforeDisconnect=x.disconnected=x.destroy=pe,x.args=function(t,e){return e!==!1&&pe(e||t)},x.update=function(t,e){return Ce(pe(t,E(e)?{read:e}:e),"order")},x.props=function(t,e){if($(e)){const n={};for(const s of e)n[s]=String;e=n}return x.methods(t,e)},x.computed=x.methods=function(t,e){return e?t?{...t,...e}:e:t},x.i18n=x.data=function(t,e,n){return n?_n(t,e,n):e?t?function(s){return _n(t,e,s)}:e:t};function _n(t,e,n){return x.computed(E(t)?t.call(n,n):t,E(e)?e.call(n,n):e)}function pe(t,e){return t=t&&!$(t)?[t]:t,e?t?t.concat(e):$(e)?e:[e]:t}function Tr(t,e){return A(e)?t:e}function gt(t,e,n){const s={};if(E(e)&&(e=e.options),e.extends&&(t=gt(t,e.extends,n)),e.mixins)for(const o of e.mixins)t=gt(t,o,n);for(const o in t)r(o);for(const o in e)S(t,o)||r(o);function r(o){s[o]=(x[o]||Tr)(t[o],e[o],n)}return s}function En(t,e=[]){try{return t?W(t,"{")?JSON.parse(t):e.length&&!X(t,":")?{[e[0]]:t}:t.split(";").reduce((n,s)=>{const[r,o]=s.split(/:(.*)/);return r&&!A(o)&&(n[r.trim()]=o.trim()),n},{}):{}}catch{return{}}}function ge(t,e){return t===Boolean?Lt(e):t===Number?ot(e):t==="list"?Pr(e):t===Object&&b(e)?En(e):t?t(e):e}function Pr(t){return $(t)?t:b(t)?t.split(/,(?![^(]*\))/).map(e=>bt(e)?ot(e):Lt(e.trim())):[t]}function Nr(t){const e=An(t.$options);for(let s in e)A(e[s])||(t.$props[s]=e[s]);const n=[t.$options.computed,t.$options.methods];for(let s in t.$props)s in e&&Mr(n,s)&&(t[s]=t.$props[s])}function An(t){const e={},{args:n=[],props:s={},el:r,id:o}=t;if(!s)return e;for(const a in s){const f=nt(a);let u=Ht(r,f);A(u)||(u=s[a]===Boolean&&u===""?!0:ge(s[a],u),!(f==="target"&&W(u,"_"))&&(e[a]=u))}const c=En(Ht(r,o),n);for(const a in c){const f=st(a);A(s[f])||(e[f]=ge(s[f],c[a]))}return e}function Mr(t,e){return t.every(n=>!n||!S(n,e))}function Sr(t){const{$options:e,$props:n}=t,{id:s,attrs:r,props:o,el:c}=e;if(!o||r===!1)return;const a=$(r)?r:Object.keys(o),f=a.map(h=>nt(h)).concat(s),u=new MutationObserver(h=>{const d=An(e);h.some(({attributeName:g})=>{const w=g.replace("data-","");return(w===s?a:[st(w),st(g)]).some(y=>!A(d[y])&&d[y]!==n[y])})&&t.$reset()});u.observe(c,{attributes:!0,attributeFilter:f.concat(f.map(h=>`data-${h}`))}),he(t,u)}function tt(t,e){var n;(n=t.$options[e])==null||n.forEach(s=>s.call(t))}function Cn(t){t._connected||(t._data={},t._computed={},Nr(t),tt(t,"beforeConnect"),t._connected=!0,Cr(t),xr(t),Sr(t),Ar(t),tt(t,"connected"),de(t))}function On(t){t._connected&&(tt(t,"beforeDisconnect"),yr(t),Or(t),tt(t,"disconnected"),t._connected=!1,delete t._watch)}function Rr(t){const{computed:e}=t.$options;if(t._computed={},e)for(const n in e)Dr(t,n,e[n])}function Dr(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:r,$el:o}=t;return S(s,e)||(s[e]=(n.get||n).call(t,r,o)),s[e]},set(s){const{_computed:r}=t;r[e]=n.set?n.set.call(t,s):s,A(r[e])&&delete r[e]}})}let Lr=0;function Tn(t,e={}){e.data=jr(e,t.constructor.options),t.$options=gt(t.constructor.options,e,t),t.$props={},t._uid=Lr++,Wr(t),zr(t),Rr(t),tt(t,"created"),e.el&&t.$mount(e.el)}function Wr(t){const{data:e={}}=t.$options;for(const n in e)t.$props[n]=t[n]=e[n]}function zr(t){const{methods:e}=t.$options;if(e)for(const n in e)t[n]=e[n].bind(t)}function jr({data:t={}},{args:e=[],props:n={}}){$(t)&&(t=t.slice(0,e.length).reduce((s,r,o)=>(D(r)?Mt(s,r):s[e[o]]=r,s),{}));for(const s in t)A(t[s])?delete t[s]:n[s]&&(t[s]=ge(n[s],t[s]));return t}const m=function(t){Tn(this,t)};m.util=mr,m.options={},m.version="3.16.5-dev.2fd0fea3e";const Fr="uk-",q="__uikit__",mt={};function Pn(t,e){var n;const s=Fr+nt(t);if(!e)return D(mt[s])&&(mt[s]=m.extend(mt[s])),mt[s];t=st(t),m[t]=(o,c)=>me(t,o,c);const r=D(e)?{...e}:e.options;return r.id=s,r.name=t,(n=r.install)==null||n.call(r,m,r,t),m._initialized&&!r.functional&&requestAnimationFrame(()=>me(t,`[${s}],[data-${s}]`)),mt[s]=r}function me(t,e,n,...s){const r=Pn(t);return r.options.functional?new r({data:D(e)?e:[e,n,...s]}):e?te(e).map(o)[0]:o();function o(c){const a=we(c,t);if(a)if(n)a.$destroy();else return a;return new r({el:c,data:n})}}function ve(t){return t[q]||{}}function we(t,e){return ve(t)[e]}function Br(t,e){t[q]||(t[q]={}),t[q][e.$options.name]=e}function Hr(t,e){var n;(n=t[q])==null||delete n[e.$options.name],Ee(t[q])||delete t[q]}m.component=Pn,m.getComponents=ve,m.getComponent=we,m.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},m.mixin=function(t,e){e=(b(e)?this.component(e):e)||this,e.options=gt(e.options,t)},m.extend=function(t){t=t||{};const e=this,n=function(r){Tn(this,r)};return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.options=gt(e.options,t),n.super=e,n.extend=e.extend,n};function Nn(t,e){t=t?v(t):document.body;for(const n of Xt(t).reverse())Mn(n,e);Ut(t,n=>Mn(n,e))}m.update=Nn;function Mn(t,e){const n=ve(t);for(const s in n)de(n[s],e)}let Sn;Object.defineProperty(m,"container",{get(){return Sn||document.body},set(t){Sn=B(t)}}),m.prototype.$mount=function(t){const e=this;Br(t,e),e.$options.el=t,It(t,document)&&Cn(e)},m.prototype.$destroy=function(t=!1){const e=this,{el:n}=e.$options;n&&On(e),tt(e,"destroy"),Hr(n,e),t&&kt(e.$el)},m.prototype.$create=me,m.prototype.$emit=function(t){de(this,t)},m.prototype.$update=function(t=this.$el,e){Nn(t,e)},m.prototype.$reset=function(){On(this),Cn(this)},m.prototype.$getComponent=we,Object.defineProperties(m.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(m,"container")});function be(t,e=t.$el,n=""){if(e.id)return e.id;let s=`${t.$options.id}-${t._uid}${n}`;return B(`#${s}`)&&(s=be(t,e,`${n}-2`)),s}var qr={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1},computed:{nav:{get({selNav:t},e){return i.$(t,e)},watch(t,e){i.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return i.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){i.attr(this.$el,"aria-roledescription","carousel")},update:[{write(){this.slides.forEach((t,e)=>i.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&&i.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),i.attr(i.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=i.data(t,this.attrItem),n=i.$("a,button",t)||t;let s,r=null;if(i.isNumeric(e)){const o=i.toNumber(e),c=this.slides[o];c&&(c.id||(c.id=be(this,c,`-item-${e}`)),r=c.id),s=this.t("slideX",i.toFloat(e)+1),i.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=be(this,this.list,"-items")),r=this.list.id),s=this.t(e);i.attr(n,{"aria-controls":r,"aria-label":i.attr(n,"aria-label")||s})}}},{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){i.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===pt.SPACE)&&(t.preventDefault(),this.show(i.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:n}=t,s=i.data(e,this.attrItem);if(!i.isNumeric(s))return;let r=n===pt.HOME?0:n===pt.END?"last":n===pt.LEFT?"previous":n===pt.RIGHT?"next":-1;~r&&(t.preventDefault(),this.show(r))}}],methods:{updateNav(){const t=this.getValidIndex();let e,n;for(const s of this.navItems){const r=i.data(s,this.attrItem),o=i.$("a,button",s)||s;if(i.isNumeric(r)){const a=i.toNumber(r)===t;i.toggleClass(s,this.clsActive,a),i.attr(o,{"aria-selected":a,tabindex:a?null:-1}),a&&(n=o),e=e||i.matches(o,":focus")}else i.toggleClass(s,"uk-invisible",this.finite&&(r==="previous"&&t===0||r==="next"&&t>=this.maxIndex));e&&n&&n.focus()}}}};const xe={passive:!1,capture:!0},Rn={passive:!0,capture:!0},Xr="touchstart mousedown",ye="touchmove mousemove",Dn="touchend touchcancel mouseup click input scroll";var Yr={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const s=i.getEventPos(n).x*(i.isRtl?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(n)}}},events:[{name:Xr,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!i.isTouch(t)&&Jr(t.target)||i.closest(t.target,i.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:ye,el(){return this.list},handler:i.noop,...xe}],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,i.on(document,ye,this.move,xe),i.on(document,Dn,this.end,Rn),i.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;i.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:s}=this,r=Math.abs(e),o=this.getIndex(s+this.dir,s),c=this._getDistance(s,o)||n[s].offsetWidth;for(;o!==s&&r>c;)this.drag-=c*this.dir,s=o,r-=c,o=this.getIndex(s+this.dir,s),c=this._getDistance(s,o)||n[s].offsetWidth;this.percent=r/c;const a=n[s],f=n[o],u=this.index!==o,h=s===o;let d;[this.index,this.prevIndex].filter(g=>!i.includes([o,s],g)).forEach(g=>{i.trigger(n[g],"itemhidden",[this]),h&&(d=!0,this.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||d)&&i.trigger(n[this.index],"itemshown",[this]),u&&(this.prevIndex=s,this.index=o,!h&&i.trigger(a,"beforeitemhide",[this]),i.trigger(f,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!h&&f),u&&(!h&&i.trigger(a,"itemhide",[this]),i.trigger(f,"itemshow",[this]))},end(){if(i.off(document,ye,this.move,xe),i.off(document,Dn,this.end,Rn),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=(i.isRtl?this.dir*(i.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)}i.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Jr(t){return i.css(t,"userSelect")!=="none"&&i.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var Gr={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){i.attr(this.list,"aria-live","polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){i.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}},{name:`${i.pointerEnter} focusin`,filter(){return this.autoplay},handler(t){(t.type!==i.pointerEnter||this.pauseOnHover)&&this.stopAutoplay()}},{name:`${i.pointerLeave} focusout`,filter(){return this.autoplay},handler(t){(t.type!==i.pointerLeave||this.pauseOnHover)&&this.startAutoplay()}}],methods:{startAutoplay(){this.draggable&&i.matches(this.$el,":focus-within")||this.pauseOnHover&&i.matches(this.$el,":hover")||(this.stopAutoplay(),this.interval=setInterval(()=>!this.stack.length&&this.show("next"),this.autoplayInterval),i.attr(this.list,"aria-live","off"))},stopAutoplay(){clearInterval(this.interval),i.attr(this.list,"aria-live","polite")}}},Kr={mixins:[Gr,Yr,qr,br],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(){i.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return Ln(e.offsetWidth/t)},list({selList:t},e){return i.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return i.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:xn(),methods:{show(t,e=!1){var n;if(this.dragging||!this.length)return;const{stack:s}=this,r=e?0:s.length,o=()=>{s.splice(r,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const c=this.getIndex(this.index),a=i.hasClass(this.slides,this.clsActive)&&this.slides[c],f=this.getIndex(t,this.index),u=this.slides[f];if(a===u){o();return}if(this.dir=Zr(t,c),this.prevIndex=c,this.index=f,a&&!i.trigger(a,"beforeitemhide",[this])||!i.trigger(u,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const h=this._show(a,u,e).then(()=>{a&&i.trigger(a,"itemhidden",[this]),i.trigger(u,"itemshown",[this]),s.shift(),this._transitioner=null,requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))});return a&&i.trigger(a,"itemhide",[this]),i.trigger(u,"itemshow",[this]),h},getIndex(t=this.index,e=this.index){return i.clamp(i.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:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e=this.prevIndex,n=this.index){const s=this._getTransitioner(e===n?!1:e,n);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,n=this.dir||1,s=this.transitionOptions){return new this.Transitioner(i.isNumber(t)?this.slides[t]:t,i.isNumber(e)?this.slides[e]:e,n*(i.isRtl?-1:1),s)}}};function Zr(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ln(t){return .5*t+300}var Qr={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},Vr={observe:wr({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function Wn(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function kr(t,e,n,{center:s,easing:r,list:o}){const c=new i.Deferred,a=t?vt(t,o,s):vt(e,o,s)+i.dimensions(e).width*n,f=e?vt(e,o,s):a+i.dimensions(t).width*n*(i.isRtl?-1:1);return{dir:n,show(u,h=0,d){const g=d?"linear":r;return u-=Math.round(u*i.clamp(h,-1,1)),this.translate(h),h=t?h:i.clamp(h,0,1),$e(this.getItemIn(),"itemin",{percent:h,duration:u,timing:g,dir:n}),t&&$e(this.getItemIn(!0),"itemout",{percent:1-h,duration:u,timing:g,dir:n}),i.Transition.start(o,{transform:Wn(-f*(i.isRtl?-1:1),"px")},u,g).then(c.resolve,i.noop),c.promise},cancel(){i.Transition.cancel(o)},reset(){i.css(o,"transform","")},forward(u,h=this.percent()){return i.Transition.cancel(o),this.show(u,h,!0)},translate(u){const h=this.getDistance()*n*(i.isRtl?-1:1);i.css(o,"transform",Wn(i.clamp(-f+(h-h*u),-Pt(o),i.dimensions(o).width)*(i.isRtl?-1:1),"px"));const d=this.getActives(),g=this.getItemIn(),w=this.getItemIn(!0);u=t?i.clamp(u,-1,1):0;for(const y of i.children(o)){const P=i.includes(d,y),_=y===g,Bn=y===w,no=_||!Bn&&(P||n*(i.isRtl?-1:1)===-1^Nt(y,o)>Nt(t||e));$e(y,`itemtranslate${no?"in":"out"}`,{dir:n,percent:Bn?1-u:_?u:P?1:0})}},percent(){return Math.abs((i.css(o,"transform").split(",")[4]*(i.isRtl?-1:1)+a)/(f-a))},getDistance(){return Math.abs(f-a)},getItemIn(u=!1){let h=this.getActives(),d=jn(o,vt(e||t,o,s));if(u){const g=h;h=d,d=g}return d[i.findIndex(d,g=>!i.includes(h,g))]},getActives(){return jn(o,vt(t||e,o,s))}}}function vt(t,e,n){const s=Nt(t,e);return n?s-Ur(t,e):Math.min(s,zn(e))}function zn(t){return Math.max(0,Pt(t)-i.dimensions(t).width)}function Pt(t){return i.sumBy(i.children(t),e=>i.dimensions(e).width)}function Ur(t,e){return i.dimensions(e).width/2-i.dimensions(t).width/2}function Nt(t,e){return t&&(i.position(t).left+(i.isRtl?i.dimensions(t).width-i.dimensions(e).width:0))*(i.isRtl?-1:1)||0}function jn(t,e){e-=1;const n=i.dimensions(t).width,s=e+n+2;return i.children(t).filter(r=>{const o=Nt(r,t),c=o+Math.min(i.dimensions(r).width,n);return o>=e&&c<=s})}function $e(t,e,n){i.trigger(t,i.createEvent(e,!1,!1,n))}var Fn={mixins:[et,Kr,Qr,Vr],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:kr},computed:{avgWidth(){return Pt(this.list)/this.length},finite({finite:t}){return t||to(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return i.last(this.sets);let t=0;const e=zn(this.list),n=i.findIndex(this.slides,s=>{if(t>=e)return!0;t+=i.dimensions(s).width});return~n?n:this.length-1},sets({sets:t}){if(!t)return;let e=0;const n=[],s=i.dimensions(this.list).width;for(let r=0;r<this.length;r++){const o=i.dimensions(this.slides[r]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+i.dimensions(this.slides[+r+1]).width/2>s/2&&(n.push(+r),e=s/2-o/2):e===0&&n.push(Math.min(+r,this.maxIndex)),e+=o}if(n.length)return n},transitionOptions(){return{center:this.center,list:this.list}},slides(){return i.children(this.list).filter(i.isVisible)}},connected(){i.toggleClass(this.$el,this.clsContainer,!i.$(`.${this.clsContainer}`,this.$el))},observe:xn({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=i.toNumber(i.data(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!i.includes(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!i.includes(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const n=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=Ln(this.avgWidth/this.velocity)*(i.dimensions(this.slides[n]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&i.addClass(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){i.css(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((r,o)=>i.css(r,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let n=i.dimensions(this.list).width/2-i.dimensions(e).width/2,s=0;for(;n>0;){const r=this.getIndex(--s+t,t),o=this.slides[r];i.css(o,"order",r>t?-2:-1),n-=i.dimensions(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||i.includes(this.sets,i.toFloat(this.index)))&&this.clsActivated||""];for(const n of this.slides){const s=i.includes(t,n);i.toggleClass(n,e,s),i.attr(n,"aria-hidden",!s),i.attr(i.$$(i.selFocusable,n),"tabindex",s?null:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let n;do{if(i.includes(this.sets,t))return t;n=t,t=this.getIndex(t+this.dir,e)}while(t!==n);return t},getAdjacentSlides(){const{width:t}=i.dimensions(this.list),e=-t,n=t*2,s=i.dimensions(this.slides[this.index]).width,r=this.center?t/2-s/2:0,o=new Set;for(const c of[-1,1]){let a=r+(c>0?s:0),f=0;do{const u=this.slides[this.getIndex(this.index+c+f++*c)];a+=i.dimensions(u).width*c,o.add(u)}while(this.length>f&&a>e&&a<n)}return Array.from(o)}}};function to(t,e){if(!t||t.length<2)return!0;const{width:n}=i.dimensions(t);if(!e)return Math.ceil(Pt(t))<Math.trunc(n+eo(t));const s=i.children(t),r=Math.trunc(n/2);for(const o in s){const c=s[o],a=i.dimensions(c).width,f=new Set([c]);let u=0;for(const h of[-1,1]){let d=a/2,g=0;for(;d<r;){const w=s[i.getIndex(+o+h+g++*h,s)];if(f.has(w))return!0;d+=i.dimensions(w).width,f.add(w)}u=Math.max(u,a/2+i.dimensions(s[i.getIndex(+o+h,s)]).width/2-(d-r))}if(u>i.sumBy(s.filter(h=>!f.has(h)),h=>i.dimensions(h).width))return!0}return!1}function eo(t){return Math.max(0,...i.children(t).map(e=>i.dimensions(e).width))}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slider",Fn),Fn});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.5-dev.
|
|
1
|
+
/*! UIkit 3.16.5-dev.2fd0fea3e | 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.5-dev.
|
|
1
|
+
/*! UIkit 3.16.5-dev.2fd0fea3e | 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("uikitslideshow_parallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow_parallax=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 e=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,e){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(e,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function T(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}function Y(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function Z(n){return C(n)&&n===n.window}function E(n){return W(n)>=1}function k(n){return W(n)===1}function W(n){return!Z(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return E(n)?[n]:Array.from(n||[]).filter(E)}function j(n){const e=Object.create(null);return t=>e[t]||(e[t]=n(t))}function O(n,e,t){var o;if(C(e)){for(const r in e)O(n,r,e[r]);return}if(U(t))return(o=x(n))==null?void 0:o.getAttribute(e);for(const r of u(n))Y(t)&&(t=t.call(r,O(r,e))),t===null?nn(r,e):r.setAttribute(e,t)}function nn(n,e){u(n).forEach(t=>t.removeAttribute(e))}function A(n){var e;return(e=x(n))==null?void 0:e.parentElement}function tn(n,e){return u(n).filter(t=>_(t,e))}function _(n,e){return u(n).some(t=>t.matches(e))}function R(n,e){return k(n)?n.closest(T(e,">")?e.slice(1):e):u(n).map(t=>R(t,e)).filter(Boolean)}function en(n,e){n=x(n);const t=n?u(n.children):[];return e?tn(t,e):t}function rn(n,e){return e?u(n).indexOf(x(e)):en(A(n)).indexOf(n)}function on(n,e){return u(un(n,x(e),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,e=document,t){if(!n||!M(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=e;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=R(A(e),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||e).previousElementSibling;i=_(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}e=document}try{return e[t](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(e=>e.replace(/,$/,"").trim()));function ln(n){const e=[];for(;n.parentNode;){const t=O(n,"id");if(t){e.unshift(`#${gn(t)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),e.unshift(o),n=n.parentNode}}return e.join(" > ")}function gn(n){return M(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=bn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("div");return mn.test(n)?t.insertAdjacentHTML("beforeend",n.trim()):t.textContent=n,$n(t.childNodes)}function $n(n){return n.length>1?n:n[0]}function wn(n,e){return yn(n)?u(xn(n)):on(n,e)}function yn(n){return M(n)&&T(n.trim(),"<")}function pn(n){return Math.ceil(Math.max(0,...wn("[stroke]",n).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}const p={x:v,y:v,rotate:v,scale:v,color:I,backgroundColor:I,borderColor:I,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Sn,stroke:Cn,bgx:B,bgy:B},{keys:z}=Object;var vn={mixins:[b],props:L(z(p),"list"),data:L(z(p),void 0),computed:{props(n,e){const t={};for(const r in n)r in p&&!s.isUndefined(n[r])&&(t[r]=n[r].slice());const o={};for(const r in t)o[r]=p[r](r,e,t[r],t);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const e={transform:"",filter:""};for(const t in this.props)this.props[t](e,n);return e.willChange=Object.keys(e).filter(t=>e[t]!=="").join(","),e}}};function v(n,e,t){let o=S(t)||{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=>S([i])?s.toPx(i,"width",e,!0)/e.offsetWidth:i),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,r),(i,a)=>{i.transform+=` ${n}(${$(t,a)}${o})`}}function I(n,e,t){return t.length===1&&t.unshift(w(e,n,"")),t=m(t,o=>Fn(e,o)),(o,r)=>{const[i,a,c]=q(t,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 Fn(n,e){return w(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const o=S(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(r,i)=>{const a=$(t,i);r.filter+=` ${n}(${a+o})`}}function Sn(n,e,t){return t.length===1&&t.unshift(w(e,n,"")),t=m(t),(o,r)=>{o[n]=$(t,r)}}function Cn(n,e,t){t.length===1&&t.unshift(0);const o=S(t),r=pn(e);return t=m(t.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),t.some(([i])=>i)?(s.css(e,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(t,a)}):s.noop}function B(n,e,t,o){t.length===1&&t.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(t,c=>s.toPx(c,r,e));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(w(e,"backgroundSize","")==="cover")return Mn(n,e,t,o);const a={};for(const c of i)a[c]=D(e,c);return H(i,a,o)}function Mn(n,e,t,o){const r=jn(e);if(!r.width)return s.noop;const i={width:e.offsetWidth,height:e.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),N=Math.max(...d),K=d.indexOf(y)<d.indexOf(N),Q=N-y;c[f]=`${(K?-Q:0)-(K?y:N)}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(e,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,e){return w(n,`background-position-${e.substr(-1)}`,"")}function H(n,e,t){return function(o,r){for(const i of n){const a=$(t[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${e[i]} + ${a}px)`}}}const F={};function jn(n){const e=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(F[e])return F[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth)?(t.onload=()=>{F[e]=P(t),s.trigger(n,s.createEvent("load",!1))},P(t)):F[e]=P(t)}function P(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=s.toFloat){const t=[],{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=e(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&t.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(t.push([a,c]),c=1)),t.push([a,c]),c===null)r++;else if(r){const h=t[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)t[i-f][1]=h+l*(r-f+1);r=0}}return t}function q(n,e){const t=s.findIndex(n.slice(1),([,o])=>e<=o)+1;return[n[t-1][0],n[t][0],(e-n[t-1][1])/(n[t][1]-n[t-1][1])]}function $(n,e){const[t,o,r]=q(n,e);return s.isNumber(t)?t+Math.abs(t-o)*r*(t<o?1:-1):+o}const On=/^-?\d+(\S+)?/;function S(n,e){var t;for(const o of n){const r=(t=o.match)==null?void 0:t.call(o,On);if(r)return r[1]}return e}function w(n,e,t){const o=n.style[e],r=s.css(s.css(n,e,t),e);return n.style[e]=o,r}function L(n,e){return n.reduce((t,o)=>(t[o]=e,t),{})}var V={mixins:[vn],data:{selItem:"!li"},beforeConnect(){this.item=s.query(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,duration:t,timing:o,dir:r}}){s.fastdom.read(()=>{if(!this.matchMedia)return;const i=this.getCss(J(n,r,e)),a=this.getCss(G(n)?.5:r>0?1:0);s.fastdom.write(()=>{s.css(this.$el,i),s.Transition.start(this.$el,a,t,o).catch(s.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){s.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,dir:t}}){s.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const o=this.getCss(J(n,t,e));s.fastdom.write(()=>s.css(this.$el,o))})}}]};function G(n){return s.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshowParallax",V),V});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.5-dev.
|
|
1
|
+
/*! UIkit 3.16.5-dev.2fd0fea3e | 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')) :
|
|
@@ -2257,7 +2257,7 @@
|
|
|
2257
2257
|
};
|
|
2258
2258
|
App.util = util;
|
|
2259
2259
|
App.options = {};
|
|
2260
|
-
App.version = "3.16.5-dev.
|
|
2260
|
+
App.version = "3.16.5-dev.2fd0fea3e";
|
|
2261
2261
|
|
|
2262
2262
|
const PREFIX = "uk-";
|
|
2263
2263
|
const DATA = "__uikit__";
|
|
@@ -2282,9 +2282,9 @@
|
|
|
2282
2282
|
}
|
|
2283
2283
|
return components[id] = opt;
|
|
2284
2284
|
}
|
|
2285
|
-
function createComponent(name, element, data) {
|
|
2285
|
+
function createComponent(name, element, data, ...args) {
|
|
2286
2286
|
const Component = component(name);
|
|
2287
|
-
return Component.options.functional ? new Component({ data: isPlainObject(element) ? element : [...
|
|
2287
|
+
return Component.options.functional ? new Component({ data: isPlainObject(element) ? element : [element, data, ...args] }) : element ? $$(element).map(init)[0] : init();
|
|
2288
2288
|
function init(element2) {
|
|
2289
2289
|
const instance = getComponent(element2, name);
|
|
2290
2290
|
if (instance) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! UIkit 3.16.5-dev.1a12b9f06 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(c,nt){typeof exports=="object"&&typeof module<"u"?module.exports=nt(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],nt):(c=typeof globalThis<"u"?globalThis:c||self,c.UIkitSlideshow=nt(c.UIkit.util))})(this,function(c){"use strict";var nt={connected(){c.addClass(this.$el,this.$options.id)}},$e={slide:{show(t){return[{transform:v(t*-100)},{transform:v()}]},percent(t){return rt(t)},translate(t,e){return[{transform:v(e*-100*t)},{transform:v(e*100*(1-t))}]}}};function rt(t){return Math.abs(c.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function v(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function Ie(t){return`scale3d(${t}, ${t}, 1)`}function Ln(t,e,n,{animation:r,easing:o}){const{percent:s,translate:i,show:a=c.noop}=r,u=a(n),f=new c.Deferred;return{dir:n,show(d,p=0,b){const x=b?"linear":o;return d-=Math.round(d*c.clamp(p,-1,1)),this.translate(p),bt(e,"itemin",{percent:p,duration:d,timing:x,dir:n}),bt(t,"itemout",{percent:1-p,duration:d,timing:x,dir:n}),Promise.all([c.Transition.start(e,u[1],d,x),c.Transition.start(t,u[0],d,x)]).then(()=>{this.reset(),f.resolve()},c.noop),f.promise},cancel(){c.Transition.cancel([e,t])},reset(){for(const d in u[0])c.css([e,t],d,"")},forward(d,p=this.percent()){return c.Transition.cancel([e,t]),this.show(d,p,!0)},translate(d){this.reset();const p=i(d,n);c.css(e,p[1]),c.css(t,p[0]),bt(e,"itemtranslatein",{percent:d,dir:n}),bt(t,"itemtranslateout",{percent:1-d,dir:n})},percent(){return s(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function bt(t,e,n){c.trigger(t,c.createEvent(e,!1,!1,n))}var Hn={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,r,o;let s=0;return((o=((n=this.i18n)==null?void 0:n[t])||((r=this.$options.i18n)==null?void 0:r[t]))==null?void 0:o.replace(/%s/g,()=>e[s++]||""))||""}}};const ot={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},{hasOwnProperty:jn,toString:Wn}=Object.prototype;function z(t,e){return jn.call(t,e)}const Fn=/\B([A-Z])/g,st=N(t=>t.replace(Fn,"-$1").toLowerCase()),Bn=/-(\w)/g,it=N(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Bn,(e,n)=>n.toUpperCase())),L=N(t=>t.charAt(0).toUpperCase()+t.slice(1));function H(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}function qn(t,e){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,e)}function Y(t,e){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,e)}function _e(t,e){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,e)}const{isArray:$,from:Xn}=Array,{assign:St}=Object;function _(t){return typeof t=="function"}function M(t){return t!==null&&typeof t=="object"}function D(t){return Wn.call(t)==="[object Object]"}function J(t){return M(t)&&t===t.window}function xt(t){return Mt(t)===9}function zt(t){return Mt(t)>=1}function ct(t){return Mt(t)===1}function Mt(t){return!J(t)&&M(t)&&t.nodeType}function Ee(t){return typeof t=="boolean"}function w(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function yt(t){return Dt(t)||w(t)&&!isNaN(t-parseFloat(t))}function Ae(t){return!($(t)?t.length:M(t)&&Object.keys(t).length)}function E(t){return t===void 0}function Rt(t){return Ee(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 I(t){return parseFloat(t)||0}function g(t){return h(t)[0]}function h(t){return zt(t)?[t]:Array.from(t||[]).filter(zt)}function G(t){if(J(t))return t;t=g(t);const e=xt(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Lt(t,e){return t===e||M(t)&&M(e)&&Object.keys(t).length===Object.keys(e).length&&$t(t,(n,r)=>n===e[r])}function Yn(t,e,n){return t.replace(new RegExp(`${e}|${n}`,"g"),r=>r===e?n:e)}function Oe(t){return t[t.length-1]}function $t(t,e){for(const n in t)if(e(t[n],n)===!1)return!1;return!0}function Ce(t,e){return t.slice().sort(({[e]:n=0},{[e]:r=0})=>n>r?1:r>n?-1:0)}function Ht(t,e){return t.reduce((n,r)=>n+I(_(e)?e(r):r[e]),0)}function Jn(t,e){const n=new Set;return t.filter(({[e]:r})=>n.has(r)?!1:n.add(r))}function Gn(t,e){return e.reduce((n,r)=>({...n,[r]:t[r]}),{})}function K(t,e=0,n=1){return Math.min(Math.max(at(t)||0,e),n)}function It(){}function Te(...t){return[["bottom","top"],["right","left"]].every(([e,n])=>Math.min(...t.map(({[e]:r})=>r))-Math.max(...t.map(({[n]:r})=>r))>0)}function jt(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Wt(t,e,n){const r=e==="width"?"height":"width";return{[r]:t[e]?Math.round(n*t[r]/t[e]):t[r],[e]:n}}function Pe(t,e){t={...t};for(const n in t)t=t[n]>e[n]?Wt(t,n,e[n]):t;return t}function Kn(t,e){t=Pe(t,e);for(const n in t)t=t[n]<e[n]?Wt(t,n,e[n]):t;return t}const Zn={ratio:Wt,contain:Pe,cover:Kn};function Qn(t,e,n=0,r=!1){e=h(e);const{length:o}=e;return o?(t=yt(t)?at(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?o-1:e.indexOf(g(t)),r?K(t,0,o-1):(t%=o,t<0?t+o:t)):-1}function N(t){const e=Object.create(null);return n=>e[n]||(e[n]=t(n))}class Vn{constructor(){this.promise=new Promise((e,n)=>{this.reject=n,this.resolve=e})}}function j(t,e,n){var r;if(M(e)){for(const o in e)j(t,o,e[o]);return}if(E(n))return(r=g(t))==null?void 0:r.getAttribute(e);for(const o of h(t))_(n)&&(n=n.call(o,j(o,e))),n===null?Ft(o,e):o.setAttribute(e,n)}function Ne(t,e){return h(t).some(n=>n.hasAttribute(e))}function Ft(t,e){h(t).forEach(n=>n.removeAttribute(e))}function Bt(t,e){for(const n of[e,`data-${e}`])if(Ne(t,n))return j(t,n)}const kn={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 Un(t){return h(t).some(e=>kn[e.tagName.toLowerCase()])}function _t(t){return h(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const qt="input,select,textarea,button";function tr(t){return h(t).some(e=>Z(e,qt))}const Se=`${qt},a[href],[tabindex]`;function er(t){return Z(t,Se)}function ut(t){var e;return(e=g(t))==null?void 0:e.parentElement}function ze(t,e){return h(t).filter(n=>Z(n,e))}function Z(t,e){return h(t).some(n=>n.matches(e))}function ft(t,e){return ct(t)?t.closest(H(e,">")?e.slice(1):e):h(t).map(n=>ft(n,e)).filter(Boolean)}function Et(t,e){return w(e)?!!ft(t,e):g(e).contains(g(t))}function Xt(t,e){const n=[];for(;t=ut(t);)(!e||Z(t,e))&&n.push(t);return n}function Me(t,e){t=g(t);const n=t?h(t.children):[];return e?ze(n,e):n}function De(t,e){return e?h(t).indexOf(g(e)):Me(ut(t)).indexOf(t)}function Re(t){return t=g(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function nr(t){if(Re(t)){t=g(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function rr(t,e){return Yt(t,He(t,e))}function or(t,e){return dt(t,He(t,e))}function Yt(t,e){return g(je(t,g(e),"querySelector"))}function dt(t,e){return h(je(t,g(e),"querySelectorAll"))}const sr=/(^|[^\\],)\s*[!>+~-]/,Le=N(t=>t.match(sr));function He(t,e=document){return w(t)&&Le(t)||xt(e)?e:e.ownerDocument}const ir=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,cr=N(t=>t.replace(ir,"$1 *"));function je(t,e=document,n){if(!t||!w(t))return t;if(t=cr(t),Le(t)){const r=ur(t);t="";for(let o of r){let s=e;if(o[0]==="!"){const i=o.substr(1).trim().split(" ");if(s=ft(ut(e),i[0]),o=i.slice(1).join(" ").trim(),!o.length&&r.length===1)return s}if(o[0]==="-"){const i=o.substr(1).trim().split(" "),a=(s||e).previousElementSibling;s=Z(a,o.substr(1))?a:null,o=i.slice(1).join(" ")}s&&(t+=`${t?",":""}${fr(s)} ${o}`)}e=document}try{return e[n](t)}catch{return null}}const ar=/.*?[^\\](?:,|$)/g,ur=N(t=>t.match(ar).map(e=>e.replace(/,$/,"").trim()));function fr(t){const e=[];for(;t.parentNode;){const n=j(t,"id");if(n){e.unshift(`#${We(n)}`);break}else{let{tagName:r}=t;r!=="HTML"&&(r+=`:nth-child(${De(t)+1})`),e.unshift(r),t=t.parentNode}}return e.join(" > ")}function We(t){return w(t)?CSS.escape(t):""}function W(...t){let[e,n,r,o,s=!1]=Jt(t);o.length>1&&(o=hr(o)),s!=null&&s.self&&(o=lr(o)),r&&(o=dr(r,o));for(const i of n)for(const a of e)a.addEventListener(i,o,s);return()=>Fe(e,n,o,s)}function Fe(...t){let[e,n,,r,o=!1]=Jt(t);for(const s of n)for(const i of e)i.removeEventListener(s,r,o)}function Q(...t){const[e,n,r,o,s=!1,i]=Jt(t),a=W(e,n,r,u=>{const f=!i||i(u);f&&(a(),o(u,f))},s);return a}function F(t,e,n){return Gt(t).every(r=>r.dispatchEvent(Be(e,!0,!0,n)))}function Be(t,e=!0,n=!1,r){return w(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:n,detail:r})),t}function Jt(t){return t[0]=Gt(t[0]),w(t[1])&&(t[1]=t[1].split(" ")),_(t[2])&&t.splice(2,0,!1),t}function dr(t,e){return n=>{const r=t[0]===">"?dt(t,n.currentTarget).reverse().filter(o=>Et(n.target,o))[0]:ft(n.target,t);r&&(n.current=r,e.call(this,n),delete n.current)}}function hr(t){return e=>$(e.detail)?t(e,...e.detail):t(e)}function lr(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 pr(t){return qe(t)?t:g(t)}function Gt(t){return $(t)?t.map(pr).filter(Boolean):w(t)?dt(t):qe(t)?[t]:h(t)}function mr(t){return t.pointerType==="touch"||!!t.touches}function Xe(t){var e,n;const{clientX:r,clientY:o}=((e=t.touches)==null?void 0:e[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:r,y:o}}const gr={"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 l(t,e,n,r){const o=h(t);for(const s of o)if(w(e)){if(e=Kt(e),E(n))return getComputedStyle(s).getPropertyValue(e);s.style.setProperty(e,yt(n)&&!gr[e]?`${n}px`:n||Dt(n)?n:"",r)}else if($(e)){const i={};for(const a of e)i[a]=l(s,a);return i}else M(e)&&(r=n,$t(e,(i,a)=>l(s,a,i,r)));return o[0]}const Kt=N(t=>vr(t));function vr(t){if(H(t,"--"))return t;t=st(t);const{style:e}=document.documentElement;if(t in e)return t;for(const n of["webkit","moz"]){const r=`-${n}-${t}`;if(r in e)return r}}function V(t,...e){Ge(t,e,"add")}function Zt(t,...e){Ge(t,e,"remove")}function Ye(t,e){j(t,"class",n=>(n||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function wr(t,...e){e[0]&&Zt(t,e[0]),e[1]&&V(t,e[1])}function Je(t,e){return[e]=Qt(e),!!e&&h(t).some(n=>n.classList.contains(e))}function br(t,e,n){const r=Qt(e);E(n)||(n=!!n);for(const o of h(t))for(const s of r)o.classList.toggle(s,n)}function Ge(t,e,n){e=e.reduce((r,o)=>r.concat(Qt(o)),[]);for(const r of h(t))r.classList[n](...e)}function Qt(t){return String(t).split(/[ ,]/).filter(Boolean)}function xr(t,e,n=400,r="linear"){return n=Math.round(n),Promise.all(h(t).map(o=>new Promise((s,i)=>{for(const u in e){const f=l(o,u);f===""&&l(o,u,f)}const a=setTimeout(()=>F(o,"transitionend"),n);Q(o,"transitionend transitioncanceled",({type:u})=>{clearTimeout(a),Zt(o,"uk-transition"),l(o,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),u==="transitioncanceled"?i():s(o)},{self:!0}),V(o,"uk-transition"),l(o,{transitionProperty:Object.keys(e).map(Kt).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:r,...e})})))}const yr={start:xr,async stop(t){F(t,"transitionend"),await Promise.resolve()},async cancel(t){F(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return Je(t,"uk-transition")}},ht="uk-animation-";function Ke(t,e,n=200,r,o){return Promise.all(h(t).map(s=>new Promise((i,a)=>{F(s,"animationcanceled");const u=setTimeout(()=>F(s,"animationend"),n);Q(s,"animationend animationcanceled",({type:f})=>{clearTimeout(u),f==="animationcanceled"?a():i(s),l(s,"animationDuration",""),Ye(s,`${ht}\\S*`)},{self:!0}),l(s,"animationDuration",`${n}ms`),V(s,e,ht+(o?"leave":"enter")),H(e,ht)&&(r&&V(s,`uk-transform-origin-${r}`),o&&V(s,`${ht}reverse`))})))}const $r=new RegExp(`${ht}(enter|leave)`),Ir={in:Ke,out(t,e,n,r){return Ke(t,e,n,r,!0)},inProgress(t){return $r.test(j(t,"class"))},cancel(t){F(t,"animationcanceled")}};function _r(t){if(document.readyState!=="loading"){t();return}Q(document,"DOMContentLoaded",t)}function Vt(t,...e){return e.some(n=>{var r;return((r=t==null?void 0:t.tagName)==null?void 0:r.toLowerCase())===n.toLowerCase()})}function Ze(t){return t=B(t),t.innerHTML="",t}function Er(t,e){return E(e)?B(t).innerHTML:lt(Ze(t),e)}const Ar=At("prepend"),lt=At("append"),Qe=At("before"),Or=At("after");function At(t){return function(e,n){var r;const o=h(w(n)?Ot(n):n);return(r=B(e))==null||r[t](...o),ke(o)}}function kt(t){h(t).forEach(e=>e.remove())}function Ve(t,e){for(e=g(Qe(t,e));e.firstChild;)e=e.firstChild;return lt(e,t),e}function Cr(t,e){return h(h(t).map(n=>n.hasChildNodes()?Ve(h(n.childNodes),e):lt(n,e)))}function Tr(t){h(t).map(ut).filter((e,n,r)=>r.indexOf(e)===n).forEach(e=>e.replaceWith(...e.childNodes))}const Pr=/^\s*<(\w+|!)[^>]*>/,Nr=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ot(t){const e=Nr.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("div");return Pr.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,ke(n.childNodes)}function ke(t){return t.length>1?t:t[0]}function Ut(t,e){if(ct(t))for(e(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;Ut(t,e),t=n}}function B(t,e){return Ue(t)?g(Ot(t)):Yt(t,e)}function te(t,e){return Ue(t)?h(Ot(t)):dt(t,e)}function Ue(t){return w(t)&&H(t.trim(),"<")}const q={width:["left","right"],height:["top","bottom"]};function ee(t){const e=ct(t)?g(t).getBoundingClientRect():{height:en(t),width:re(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function C(t,e){const n=ee(t);if(t){const{scrollY:o,scrollX:s}=G(t),i={height:o,width:s};for(const a in q)for(const u of q[a])n[u]+=i[a]}if(!e)return n;const r=l(t,"position");$t(l(t,["left","top"]),(o,s)=>l(t,s,e[s]-n[s]+I(r==="absolute"&&o==="auto"?tn(t)[s]:o)))}function tn(t){let{top:e,left:n}=C(t);const{ownerDocument:{body:r,documentElement:o},offsetParent:s}=g(t);let i=s||o;for(;i&&(i===r||i===o)&&l(i,"position")==="static";)i=i.parentNode;if(ct(i)){const a=C(i);e-=a.top+I(l(i,"borderTopWidth")),n-=a.left+I(l(i,"borderLeftWidth"))}return{top:e-I(l(t,"marginTop")),left:n-I(l(t,"marginLeft"))}}function ne(t){t=g(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+I(l(t,"borderTopWidth")),e[1]+=t.offsetLeft+I(l(t,"borderLeftWidth")),l(t,"position")==="fixed"){const n=G(t);return e[0]+=n.scrollY,e[1]+=n.scrollX,e}return e}const en=nn("height"),re=nn("width");function nn(t){const e=L(t);return(n,r)=>{if(E(r)){if(J(n))return n[`inner${e}`];if(xt(n)){const o=n.documentElement;return Math.max(o[`offset${e}`],o[`scroll${e}`])}return n=g(n),r=l(n,t),r=r==="auto"?n[`offset${e}`]:I(r)||0,r-oe(n,t)}else return l(n,t,!r&&r!==0?"":+r+oe(n,t)+"px")}}function oe(t,e,n="border-box"){return l(t,"boxSizing")===n?Ht(q[e].map(L),r=>I(l(t,`padding${r}`))+I(l(t,`border${r}Width`))):0}function Sr(t){for(const e in q)for(const n in q[e])if(q[e][n]===t)return q[e][1-n];return t}function zr(t,e="width",n=window,r=!1){return w(t)?Ht(Dr(t),o=>{const s=Lr(o);return s?Hr(s==="vh"?jr():s==="vw"?re(G(n)):r?n[`offset${L(e)}`]:ee(n)[e],o):o}):I(t)}const Mr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Dr=N(t=>t.toString().replace(/\s/g,"").match(Mr)||[]),Rr=/(?:v[hw]|%)$/,Lr=N(t=>(t.match(Rr)||[])[0]);function Hr(t,e){return t*I(e)/100}let pt,k;function jr(){return pt||(k||(k=B("<div>"),l(k,{height:"100vh",position:"fixed"}),W(window,"resize",()=>pt=null)),lt(document.body,k),pt=k.clientHeight,kt(k),pt)}const mt=typeof window<"u",Wr=mt&&document.dir==="rtl",U=mt&&"ontouchstart"in window,tt=mt&&window.PointerEvent,Fr=tt?"pointerdown":U?"touchstart":"mousedown",Br=tt?"pointermove":U?"touchmove":"mousemove",qr=tt?"pointerup":U?"touchend":"mouseup",Xr=tt?"pointerenter":U?"":"mouseenter",Yr=tt?"pointerleave":U?"":"mouseleave",Jr=tt?"pointercancel":"touchcancel",T={reads:[],writes:[],read(t){return this.reads.push(t),ie(),t},write(t){return this.writes.push(t),ie(),t},clear(t){on(this.reads,t),on(this.writes,t)},flush:se};function se(t){rn(T.reads),rn(T.writes.splice(0)),T.scheduled=!1,(T.reads.length||T.writes.length)&&ie(t+1)}const Gr=4;function ie(t){T.scheduled||(T.scheduled=!0,t&&t<Gr?Promise.resolve().then(()=>se(t)):requestAnimationFrame(()=>se(1)))}function rn(t){let e;for(;e=t.shift();)try{e()}catch(n){console.error(n)}}function on(t,e){const n=t.indexOf(e);return~n&&t.splice(n,1)}function sn(){}sn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=W(document,"mousemove",e=>t=Xe(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:r,top:o,bottom:s}=e,[i]=this.positions,a=Oe(this.positions),u=[i,a];return jt(a,e)?!1:[[{x:n,y:o},{x:r,y:s}],[{x:n,y:s},{x:r,y:o}]].some(d=>{const p=Kr(u,d);return p&&jt(p,e)})}};function Kr([{x:t,y:e},{x:n,y:r}],[{x:o,y:s},{x:i,y:a}]){const u=(a-s)*(n-t)-(i-o)*(r-e);if(u===0)return!1;const f=((i-o)*(e-s)-(a-s)*(t-o))/u;return f<0?!1:{x:t+f*(n-t),y:e+f*(r-e)}}function cn(t,e,n={},r=!0){const o=new IntersectionObserver(r?(s,i)=>{s.some(a=>a.isIntersecting)&&e(s,i)}:e,n);for(const s of h(t))o.observe(s);return o}const Zr=mt&&window.ResizeObserver;function an(t,e,n={box:"border-box"}){return Zr?un(ResizeObserver,t,e,n):(Qr(),gt.add(e),{observe:It,unobserve:It,disconnect(){gt.delete(e)}})}let gt;function Qr(){if(gt)return;gt=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of gt)n()}};W(window,"load resize",e),W(document,"loadedmetadata load",e,!0)}function Vr(t,e,n){return un(MutationObserver,t,e,n)}function un(t,e,n,r){const o=new t(n);for(const s of h(e))o.observe(s,r);return o}function kr(t){if(Tt(t)&&ce(t,{func:"playVideo",method:"play"}),Ct(t))try{t.play().catch(It)}catch{}}function Ur(t){Tt(t)&&ce(t,{func:"pauseVideo",method:"pause"}),Ct(t)&&t.pause()}function to(t){Tt(t)&&ce(t,{func:"mute",method:"setVolume",value:0}),Ct(t)&&(t.muted=!0)}function eo(t){return Ct(t)||Tt(t)}function Ct(t){return Vt(t,"video")}function Tt(t){return Vt(t,"iframe")&&(fn(t)||dn(t))}function fn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function dn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function ce(t,e){await ro(t),hn(t,e)}function hn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const ae="_ukPlayer";let no=0;function ro(t){if(t[ae])return t[ae];const e=fn(t),n=dn(t),r=++no;let o;return t[ae]=new Promise(s=>{e&&Q(t,"load",()=>{const i=()=>hn(t,{event:"listening",id:r});o=setInterval(i,100),i()}),Q(window,"message",s,!1,({data:i})=>{try{return i=JSON.parse(i),e&&(i==null?void 0:i.id)===r&&i.event==="onReady"||n&&Number(i==null?void 0:i.player_id)===r}catch{}}),t.src=`${t.src}${Y(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${r}`}`}).then(()=>clearInterval(o))}function oo(t,e=0,n=0){return _t(t)?Te(...ue(t).map(r=>{const{top:o,left:s,bottom:i,right:a}=S(r);return{top:o-e,left:s-n,bottom:i+e,right:a+n}}).concat(C(t))):!1}function so(t,{offset:e=0}={}){const n=_t(t)?Pt(t,!1,["hidden"]):[];return n.reduce((i,a,u)=>{const{scrollTop:f,scrollHeight:d,offsetHeight:p}=a,b=S(a),x=d-b.height,{height:P,top:R}=n[u-1]?S(n[u-1]):C(t);let O=Math.ceil(R-b.top-e+f);return e>0&&p<P+e?O+=e:e=0,O>x?(e-=O-x,O=x):O<0&&(e-=O,O=0),()=>r(a,O-f).then(i)},()=>Promise.resolve())();function r(i,a){return new Promise(u=>{const f=i.scrollTop,d=o(Math.abs(a)),p=Date.now();(function b(){const x=s(K((Date.now()-p)/d));i.scrollTop=f+a*x,x===1?u():requestAnimationFrame(b)})()})}function o(i){return 40*Math.pow(i,.375)}function s(i){return .5*(1-Math.cos(Math.PI*i))}}function io(t,e=0,n=0){if(!_t(t))return 0;const[r]=Pt(t,!0),{scrollHeight:o,scrollTop:s}=r,{height:i}=S(r),a=o-i,u=ne(t)[0]-ne(r)[0],f=Math.max(0,u-i+e),d=Math.min(a,u+t.offsetHeight-n);return K((s-f)/(d-f))}function Pt(t,e=!1,n=[]){const r=ln(t);let o=Xt(t).reverse();o=o.slice(o.indexOf(r)+1);const s=_e(o,i=>l(i,"position")==="fixed");return~s&&(o=o.slice(s)),[r].concat(o.filter(i=>l(i,"overflow").split(" ").some(a=>Y(["auto","scroll",...n],a))&&(!e||i.scrollHeight>S(i).height))).reverse()}function ue(t){return Pt(t,!1,["hidden","clip"])}function S(t){const e=G(t),{visualViewport:n,document:{documentElement:r}}=e;let o=t===ln(t)?e:t;if(J(o)&&n){let{height:i,width:a,scale:u,pageTop:f,pageLeft:d}=n;return i=Math.round(i*u),a=Math.round(a*u),{height:i,width:a,top:f,left:d,bottom:f+i,right:d+a}}let s=C(o);if(l(o,"display")==="inline")return s;for(let[i,a,u,f]of[["width","x","left","right"],["height","y","top","bottom"]])J(o)?o=r:s[u]+=I(l(o,`border-${u}-width`)),s[i]=s[a]=o[`client${L(i)}`],s[f]=s[i]+s[u];return s}function ln(t){return G(t).document.scrollingElement}const A=[["width","x","left","right"],["height","y","top","bottom"]];function co(t,e,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},$(e)||(e=[e,e]),C(t,pn(t,e,n))}function pn(t,e,n){const r=mn(t,e,n),{boundary:o,viewportOffset:s=0,placement:i}=n;let a=r;for(const[u,[f,,d,p]]of Object.entries(A)){const b=ao(t,e[u],s,o,u);if(Nt(r,b,u))continue;let x=0;if(i[u]==="flip"){const P=n.attach.target[u];if(P===p&&r[p]<=b[p]||P===d&&r[d]>=b[d])continue;x=fo(t,e,n,u)[d]-r[d];const R=uo(t,e[u],s,u);if(!Nt(fe(r,x,u),R,u)){if(Nt(r,R,u))continue;if(n.recursion)return!1;const O=ho(t,e,n);if(O&&Nt(O,R,1-u))return O;continue}}else if(i[u]==="shift"){const P=C(e[u]),{offset:R}=n;x=K(K(r[d],b[d],b[p]-r[f]),P[d]-r[f]+R[u],P[p]-R[u])-r[d]}a=fe(a,x,u)}return a}function mn(t,e,n){let{attach:r,offset:o}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},s=C(t);for(const[i,[a,,u,f]]of Object.entries(A)){const d=r.target[i]===r.element[i]?S(e[i]):C(e[i]);s=fe(s,d[u]-s[u]+gn(r.target[i],f,d[a])-gn(r.element[i],f,s[a])+ +o[i],i)}return s}function fe(t,e,n){const[,r,o,s]=A[n],i={...t};return i[o]=t[r]=t[o]+e,i[s]+=e,i}function gn(t,e,n){return t==="center"?n/2:t===e?n:0}function ao(t,e,n,r,o){let s=wn(...vn(t,e).map(S));return n&&(s[A[o][2]]+=n,s[A[o][3]]-=n),r&&(s=wn(s,C($(r)?r[o]:r))),s}function uo(t,e,n,r){const[o,s,i,a]=A[r],[u]=vn(t,e),f=S(u);return["auto","scroll"].includes(l(u,`overflow-${s}`))&&(f[i]-=u[`scroll${L(i)}`],f[a]=f[i]+u[`scroll${L(o)}`]),f[i]+=n,f[a]-=n,f}function vn(t,e){return ue(e).filter(n=>Et(t,n))}function wn(...t){let e={};for(const n of t)for(const[,,r,o]of A)e[r]=Math.max(e[r]||0,n[r]),e[o]=Math.min(...[e[o],n[o]].filter(Boolean));return e}function Nt(t,e,n){const[,,r,o]=A[n];return t[r]>=e[r]&&t[o]<=e[o]}function fo(t,e,{offset:n,attach:r},o){return mn(t,e,{attach:{element:bn(r.element,o),target:bn(r.target,o)},offset:lo(n,o)})}function ho(t,e,n){return pn(t,e,{...n,attach:{element:n.attach.element.map(xn).reverse(),target:n.attach.target.map(xn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function bn(t,e){const n=[...t],r=A[e].indexOf(t[e]);return~r&&(n[e]=A[e][1-r%2+2]),n}function xn(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 lo(t,e){return t=[...t],t[e]*=-1,t}var po=Object.freeze({__proto__:null,$:B,$$:te,Animation:Ir,Deferred:Vn,Dimensions:Zn,MouseTracker:sn,Transition:yr,addClass:V,after:Or,append:lt,apply:Ut,assign:St,attr:j,before:Qe,boxModelAdjust:oe,camelize:it,children:Me,clamp:K,closest:ft,createEvent:Be,css:l,data:Bt,dimensions:ee,each:$t,empty:Ze,endsWith:qn,escape:We,fastdom:T,filter:ze,find:Yt,findAll:dt,findIndex:_e,flipPosition:Sr,fragment:Ot,getEventPos:Xe,getIndex:Qn,getTargetedElement:nr,hasAttr:Ne,hasClass:Je,hasOwn:z,hasTouch:U,height:en,html:Er,hyphenate:st,inBrowser:mt,includes:Y,index:De,intersectRect:Te,isArray:$,isBoolean:Ee,isDocument:xt,isElement:ct,isEmpty:Ae,isEqual:Lt,isFocusable:er,isFunction:_,isInView:oo,isInput:tr,isNode:zt,isNumber:Dt,isNumeric:yt,isObject:M,isPlainObject:D,isRtl:Wr,isSameSiteAnchor:Re,isString:w,isTag:Vt,isTouch:mr,isUndefined:E,isVideo:eo,isVisible:_t,isVoidElement:Un,isWindow:J,last:Oe,matches:Z,memoize:N,mute:to,noop:It,observeIntersection:cn,observeMutation:Vr,observeResize:an,off:Fe,offset:C,offsetPosition:ne,offsetViewport:S,on:W,once:Q,overflowParents:ue,parent:ut,parents:Xt,pause:Ur,pick:Gn,play:kr,pointInRect:jt,pointerCancel:Jr,pointerDown:Fr,pointerEnter:Xr,pointerLeave:Yr,pointerMove:Br,pointerUp:qr,position:tn,positionAt:co,prepend:Ar,propName:Kt,query:rr,queryAll:or,ready:_r,remove:kt,removeAttr:Ft,removeClass:Zt,removeClasses:Ye,replaceClass:wr,scrollIntoView:so,scrollParents:Pt,scrolledOver:io,selFocusable:Se,selInput:qt,sortBy:Ce,startsWith:H,sumBy:Ht,swap:Yn,toArray:Xn,toBoolean:Rt,toEventTargets:Gt,toFloat:I,toNode:g,toNodes:h,toNumber:at,toPx:zr,toWindow:G,toggleClass:br,trigger:F,ucfirst:L,uniqueBy:Jn,unwrap:Tr,width:re,within:Et,wrapAll:Ve,wrapInner:Cr});function mo(t){t._observers=[],t._observerUpdates=new Map;for(const e of t.$options.observe||[])if(z(e,"handler"))yn(t,e);else for(const n in e)yn(t,e[n],n)}function de(t,...e){t._observers.push(...e)}function go(t){for(const e of t._observers)e==null||e.disconnect(),t._observerUpdates.delete(e)}function vo(t){for(const[e,n]of t._observerUpdates)n(e)}function yn(t,e,n){let{observe:r,target:o=t.$el,handler:s,options:i,filter:a,args:u}=D(e)?e:{type:n,handler:e};if(a&&!a.call(t,t))return;const f=_(o)?o.call(t,t):o;s=w(s)?t[s]:s.bind(t),_(i)&&(i=i.call(t,t));const d=r(f,s,i,u);_(o)&&$(f)&&d.unobserve&&t._observerUpdates.set(d,wo(t,o,f)),de(t,d)}function wo(t,e,n){return r=>{const o=e.call(t,t);Lt(n,o)||(n.forEach(s=>!Y(o,s)&&r.unobserve(s)),o.forEach(s=>!Y(n,s)&&r.observe(s)),n.splice(0,n.length,...o))}}function $n(t){if(t._watch)return;const e=!z(t,"_watch");t._watch=T.read(()=>{t._connected&&bo(t,e),t._watch=null})}function bo(t,e){const n={...t._computed};t._computed={};for(const[r,{watch:o,immediate:s}]of Object.entries(t.$options.computed||{}))o&&(e&&s||z(n,r)&&!Lt(n[r],t[r]))&&o.call(t,t[r],e?void 0:n[r]);vo(t)}function he(t,e="update"){t._connected&&((e==="update"||e==="resize")&&$n(t),t.$options.update&&(t._updates||(t._updates=new Set,T.read(()=>{t._connected&&xo(t,t._updates),delete t._updates})),t._updates.add(e.type||e)))}function xo(t,e){for(const{read:n,write:r,events:o=[]}of t.$options.update){if(!e.has("update")&&!o.some(i=>e.has(i)))continue;let s;n&&(s=n.call(t,t._data,e),s&&D(s)&&St(t._data,s)),r&&s!==!1&&T.write(()=>{t._connected&&r.call(t,t._data,e)})}}function yo(t){let{el:e,computed:n,observe:r}=t.$options;if(!n&&!(r!=null&&r.some(s=>_(s.target))))return;for(const s in n||{})if(n[s].document){e=e.ownerDocument;break}const o=new MutationObserver(()=>$n(t));o.observe(e,{childList:!0,subtree:!0}),de(t,o)}function $o(t){t._events=[];for(const e of t.$options.events||[])if(z(e,"handler"))le(t,e);else for(const n in e)le(t,e[n],n)}function Io(t){t._events.forEach(e=>e()),delete t._events}function le(t,e,n){let{name:r,el:o,handler:s,capture:i,passive:a,delegate:u,filter:f,self:d}=D(e)?e:{name:n,handler:e};if(o=_(o)?o.call(t,t):o||t.$el,$(o)){o.forEach(p=>le(t,{...e,el:p},n));return}!o||f&&!f.call(t)||t._events.push(W(o,r,u?w(u)?u:u.call(t,t):null,w(s)?t[s]:s.bind(t),{passive:a,capture:i,self:d}))}const y={};y.events=y.observe=y.created=y.beforeConnect=y.connected=y.beforeDisconnect=y.disconnected=y.destroy=pe,y.args=function(t,e){return e!==!1&&pe(e||t)},y.update=function(t,e){return Ce(pe(t,_(e)?{read:e}:e),"order")},y.props=function(t,e){if($(e)){const n={};for(const r of e)n[r]=String;e=n}return y.methods(t,e)},y.computed=y.methods=function(t,e){return e?t?{...t,...e}:e:t},y.i18n=y.data=function(t,e,n){return n?In(t,e,n):e?t?function(r){return In(t,e,r)}:e:t};function In(t,e,n){return y.computed(_(t)?t.call(n,n):t,_(e)?e.call(n,n):e)}function pe(t,e){return t=t&&!$(t)?[t]:t,e?t?t.concat(e):$(e)?e:[e]:t}function _o(t,e){return E(e)?t:e}function vt(t,e,n){const r={};if(_(e)&&(e=e.options),e.extends&&(t=vt(t,e.extends,n)),e.mixins)for(const s of e.mixins)t=vt(t,s,n);for(const s in t)o(s);for(const s in e)z(t,s)||o(s);function o(s){r[s]=(y[s]||_o)(t[s],e[s],n)}return r}function _n(t,e=[]){try{return t?H(t,"{")?JSON.parse(t):e.length&&!Y(t,":")?{[e[0]]:t}:t.split(";").reduce((n,r)=>{const[o,s]=r.split(/:(.*)/);return o&&!E(s)&&(n[o.trim()]=s.trim()),n},{}):{}}catch{return{}}}function me(t,e){return t===Boolean?Rt(e):t===Number?at(e):t==="list"?Eo(e):t===Object&&w(e)?_n(e):t?t(e):e}function Eo(t){return $(t)?t:w(t)?t.split(/,(?![^(]*\))/).map(e=>yt(e)?at(e):Rt(e.trim())):[t]}function Ao(t){const e=En(t.$options);for(let r in e)E(e[r])||(t.$props[r]=e[r]);const n=[t.$options.computed,t.$options.methods];for(let r in t.$props)r in e&&Oo(n,r)&&(t[r]=t.$props[r])}function En(t){const e={},{args:n=[],props:r={},el:o,id:s}=t;if(!r)return e;for(const a in r){const u=st(a);let f=Bt(o,u);E(f)||(f=r[a]===Boolean&&f===""?!0:me(r[a],f),!(u==="target"&&H(f,"_"))&&(e[a]=f))}const i=_n(Bt(o,s),n);for(const a in i){const u=it(a);E(r[u])||(e[u]=me(r[u],i[a]))}return e}function Oo(t,e){return t.every(n=>!n||!z(n,e))}function Co(t){const{$options:e,$props:n}=t,{id:r,attrs:o,props:s,el:i}=e;if(!s||o===!1)return;const a=$(o)?o:Object.keys(s),u=a.map(d=>st(d)).concat(r),f=new MutationObserver(d=>{const p=En(e);d.some(({attributeName:b})=>{const x=b.replace("data-","");return(x===r?a:[it(x),it(b)]).some(P=>!E(p[P])&&p[P]!==n[P])})&&t.$reset()});f.observe(i,{attributes:!0,attributeFilter:u.concat(u.map(d=>`data-${d}`))}),de(t,f)}function et(t,e){var n;(n=t.$options[e])==null||n.forEach(r=>r.call(t))}function An(t){t._connected||(t._data={},t._computed={},Ao(t),et(t,"beforeConnect"),t._connected=!0,$o(t),mo(t),Co(t),yo(t),et(t,"connected"),he(t))}function On(t){t._connected&&(et(t,"beforeDisconnect"),go(t),Io(t),et(t,"disconnected"),t._connected=!1,delete t._watch)}function To(t){const{computed:e}=t.$options;if(t._computed={},e)for(const n in e)Po(t,n,e[n])}function Po(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:r,$props:o,$el:s}=t;return z(r,e)||(r[e]=(n.get||n).call(t,o,s)),r[e]},set(r){const{_computed:o}=t;o[e]=n.set?n.set.call(t,r):r,E(o[e])&&delete o[e]}})}let No=0;function Cn(t,e={}){e.data=Mo(e,t.constructor.options),t.$options=vt(t.constructor.options,e,t),t.$props={},t._uid=No++,So(t),zo(t),To(t),et(t,"created"),e.el&&t.$mount(e.el)}function So(t){const{data:e={}}=t.$options;for(const n in e)t.$props[n]=t[n]=e[n]}function zo(t){const{methods:e}=t.$options;if(e)for(const n in e)t[n]=e[n].bind(t)}function Mo({data:t={}},{args:e=[],props:n={}}){$(t)&&(t=t.slice(0,e.length).reduce((r,o,s)=>(D(o)?St(r,o):r[e[s]]=o,r),{}));for(const r in t)E(t[r])?delete t[r]:n[r]&&(t[r]=me(n[r],t[r]));return t}const m=function(t){Cn(this,t)};m.util=po,m.options={},m.version="3.16.5-dev.1a12b9f06";const Do="uk-",X="__uikit__",wt={};function Tn(t,e){var n;const r=Do+st(t);if(!e)return D(wt[r])&&(wt[r]=m.extend(wt[r])),wt[r];t=it(t),m[t]=(s,i)=>ge(t,s,i);const o=D(e)?{...e}:e.options;return o.id=r,o.name=t,(n=o.install)==null||n.call(o,m,o,t),m._initialized&&!o.functional&&requestAnimationFrame(()=>ge(t,`[${r}],[data-${r}]`)),wt[r]=o}function ge(t,e,n){const r=Tn(t);return r.options.functional?new r({data:D(e)?e:[...arguments]}):e?te(e).map(o)[0]:o();function o(s){const i=we(s,t);if(i)if(n)i.$destroy();else return i;return new r({el:s,data:n})}}function ve(t){return t[X]||{}}function we(t,e){return ve(t)[e]}function Ro(t,e){t[X]||(t[X]={}),t[X][e.$options.name]=e}function Lo(t,e){var n;(n=t[X])==null||delete n[e.$options.name],Ae(t[X])||delete t[X]}m.component=Tn,m.getComponents=ve,m.getComponent=we,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=vt(e.options,t)},m.extend=function(t){t=t||{};const e=this,n=function(o){Cn(this,o)};return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.options=vt(e.options,t),n.super=e,n.extend=e.extend,n};function Pn(t,e){t=t?g(t):document.body;for(const n of Xt(t).reverse())Nn(n,e);Ut(t,n=>Nn(n,e))}m.update=Pn;function Nn(t,e){const n=ve(t);for(const r in n)he(n[r],e)}let Sn;Object.defineProperty(m,"container",{get(){return Sn||document.body},set(t){Sn=B(t)}}),m.prototype.$mount=function(t){const e=this;Ro(t,e),e.$options.el=t,Et(t,document)&&An(e)},m.prototype.$destroy=function(t=!1){const e=this,{el:n}=e.$options;n&&On(e),et(e,"destroy"),Lo(n,e),t&&kt(e.$el)},m.prototype.$create=ge,m.prototype.$emit=function(t){he(this,t)},m.prototype.$update=function(t=this.$el,e){Pn(t,e)},m.prototype.$reset=function(){On(this),An(this)},m.prototype.$getComponent=we,Object.defineProperties(m.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(m,"container")});function be(t,e=t.$el,n=""){if(e.id)return e.id;let r=`${t.$options.id}-${t._uid}${n}`;return B(`#${r}`)&&(r=be(t,e,`${n}-2`)),r}var Ho={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1},computed:{nav:{get({selNav:t},e){return c.$(t,e)},watch(t,e){c.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return c.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){c.attr(this.$el,"aria-roledescription","carousel")},update:[{write(){this.slides.forEach((t,e)=>c.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&&c.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),c.attr(c.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=c.data(t,this.attrItem),n=c.$("a,button",t)||t;let r,o=null;if(c.isNumeric(e)){const s=c.toNumber(e),i=this.slides[s];i&&(i.id||(i.id=be(this,i,`-item-${e}`)),o=i.id),r=this.t("slideX",c.toFloat(e)+1),c.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=be(this,this.list,"-items")),o=this.list.id),r=this.t(e);c.attr(n,{"aria-controls":o,"aria-label":c.attr(n,"aria-label")||r})}}},{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){c.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===ot.SPACE)&&(t.preventDefault(),this.show(c.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:n}=t,r=c.data(e,this.attrItem);if(!c.isNumeric(r))return;let o=n===ot.HOME?0:n===ot.END?"last":n===ot.LEFT?"previous":n===ot.RIGHT?"next":-1;~o&&(t.preventDefault(),this.show(o))}}],methods:{updateNav(){const t=this.getValidIndex();let e,n;for(const r of this.navItems){const o=c.data(r,this.attrItem),s=c.$("a,button",r)||r;if(c.isNumeric(o)){const a=c.toNumber(o)===t;c.toggleClass(r,this.clsActive,a),c.attr(s,{"aria-selected":a,tabindex:a?null:-1}),a&&(n=s),e=e||c.matches(s,":focus")}else c.toggleClass(r,"uk-invisible",this.finite&&(o==="previous"&&t===0||o==="next"&&t>=this.maxIndex));e&&n&&n.focus()}}}};const xe={passive:!1,capture:!0},zn={passive:!0,capture:!0},jo="touchstart mousedown",ye="touchmove mousemove",Mn="touchend touchcancel mouseup click input scroll";var Wo={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const r=c.getEventPos(n).x*(c.isRtl?-1:1);this.prevPos=r===this.pos?this.prevPos:this.pos,this.pos=r,e(n)}}},events:[{name:jo,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!c.isTouch(t)&&Fo(t.target)||c.closest(t.target,c.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:ye,el(){return this.list},handler:c.noop,...xe}],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,c.on(document,ye,this.move,xe),c.on(document,Mn,this.end,zn),c.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;c.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:r}=this,o=Math.abs(e),s=this.getIndex(r+this.dir,r),i=this._getDistance(r,s)||n[r].offsetWidth;for(;s!==r&&o>i;)this.drag-=i*this.dir,r=s,o-=i,s=this.getIndex(r+this.dir,r),i=this._getDistance(r,s)||n[r].offsetWidth;this.percent=o/i;const a=n[r],u=n[s],f=this.index!==s,d=r===s;let p;[this.index,this.prevIndex].filter(b=>!c.includes([s,r],b)).forEach(b=>{c.trigger(n[b],"itemhidden",[this]),d&&(p=!0,this.prevIndex=r)}),(this.index===r&&this.prevIndex!==r||p)&&c.trigger(n[this.index],"itemshown",[this]),f&&(this.prevIndex=r,this.index=s,!d&&c.trigger(a,"beforeitemhide",[this]),c.trigger(u,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!d&&u),f&&(!d&&c.trigger(a,"itemhide",[this]),c.trigger(u,"itemshow",[this]))},end(){if(c.off(document,ye,this.move,xe),c.off(document,Mn,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=(c.isRtl?this.dir*(c.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)}c.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Fo(t){return c.css(t,"userSelect")!=="none"&&c.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var Bo={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){c.attr(this.list,"aria-live","polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){c.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}},{name:`${c.pointerEnter} focusin`,filter(){return this.autoplay},handler(t){(t.type!==c.pointerEnter||this.pauseOnHover)&&this.stopAutoplay()}},{name:`${c.pointerLeave} focusout`,filter(){return this.autoplay},handler(t){(t.type!==c.pointerLeave||this.pauseOnHover)&&this.startAutoplay()}}],methods:{startAutoplay(){this.draggable&&c.matches(this.$el,":focus-within")||this.pauseOnHover&&c.matches(this.$el,":hover")||(this.stopAutoplay(),this.interval=setInterval(()=>!this.stack.length&&this.show("next"),this.autoplayInterval),c.attr(this.list,"aria-live","off"))},stopAutoplay(){clearInterval(this.interval),c.attr(this.list,"aria-live","polite")}}};function qo(t){return Dn(an,t,"resize")}function Xo(t){return Dn(cn,t)}function Yo(t={}){return Xo({handler:function(e,n){const{targets:r=this.$el,preload:o=5}=t;for(const s of h(_(r)?r(this):r))te('[loading="lazy"]',s).slice(0,o-1).forEach(i=>Ft(i,"loading"));for(const s of e.filter(({isIntersecting:i})=>i).map(({target:i})=>i))n.unobserve(s)},...t})}function Dn(t,e,n){return{observe:t,handler(){this.$emit(n)},...e}}var Jo={mixins:[Bo,Wo,Ho,Hn],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(){c.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return Ko(e.offsetWidth/t)},list({selList:t},e){return c.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return c.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:qo(),methods:{show(t,e=!1){var n;if(this.dragging||!this.length)return;const{stack:r}=this,o=e?0:r.length,s=()=>{r.splice(o,1),r.length&&this.show(r.shift(),!0)};if(r[e?"unshift":"push"](t),!e&&r.length>1){r.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const i=this.getIndex(this.index),a=c.hasClass(this.slides,this.clsActive)&&this.slides[i],u=this.getIndex(t,this.index),f=this.slides[u];if(a===f){s();return}if(this.dir=Go(t,i),this.prevIndex=i,this.index=u,a&&!c.trigger(a,"beforeitemhide",[this])||!c.trigger(f,"beforeitemshow",[this,a])){this.index=this.prevIndex,s();return}const d=this._show(a,f,e).then(()=>{a&&c.trigger(a,"itemhidden",[this]),c.trigger(f,"itemshown",[this]),r.shift(),this._transitioner=null,requestAnimationFrame(()=>r.length&&this.show(r.shift(),!0))});return a&&c.trigger(a,"itemhide",[this]),c.trigger(f,"itemshow",[this]),d},getIndex(t=this.index,e=this.index){return c.clamp(c.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:r}=this.stack;return this._transitioner[r>1?"forward":"show"](r>1?Math.min(this.duration,75+75/(r-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 r=this._getTransitioner(e===n?!1:e,n);return r.translate(t),r},_getTransitioner(t=this.prevIndex,e=this.index,n=this.dir||1,r=this.transitionOptions){return new this.Transitioner(c.isNumber(t)?this.slides[t]:t,c.isNumber(e)?this.slides[e]:e,n*(c.isRtl?-1:1),r)}}};function Go(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ko(t){return .5*t+300}var Zo={mixins:[Jo],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:$e,Transitioner:Ln},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){c.addClass(t,this.clsActive)},itemshown({target:t}){c.addClass(t,this.clsActivated)},itemhidden({target:t}){c.removeClass(t,this.clsActive,this.clsActivated)}}},Qo={...$e,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-c.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:Ie(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-c.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:Ie(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:v(30),zIndex:-1},{transform:v(),zIndex:0}]:[{transform:v(-100),zIndex:0},{transform:v(),zIndex:-1}]},percent(t,e,n){return n<0?1-rt(e):rt(t)},translate(t,e){return e<0?[{transform:v(30*t),zIndex:-1},{transform:v(-100*(1-t)),zIndex:0}]:[{transform:v(-t*100),zIndex:0},{transform:v(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:v(100),zIndex:0},{transform:v(),zIndex:-1}]:[{transform:v(-30),zIndex:-1},{transform:v(),zIndex:0}]},percent(t,e,n){return n>0?1-rt(e):rt(t)},translate(t,e){return e<0?[{transform:v(t*100),zIndex:0},{transform:v(-30*(1-t)),zIndex:-1}]:[{transform:v(-30*t),zIndex:-1},{transform:v(100*(1-t)),zIndex:0}]}}},Vo={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},ko={observe:Yo({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})},Rn={mixins:[nt,Zo,Vo,ko],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Qo},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-c.boxModelAdjust(this.list,"height","content-box")}},write({height:t}){t>0&&c.css(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",Rn),Rn});
|
|
1
|
+
/*! UIkit 3.16.5-dev.2fd0fea3e | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(c,nt){typeof exports=="object"&&typeof module<"u"?module.exports=nt(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],nt):(c=typeof globalThis<"u"?globalThis:c||self,c.UIkitSlideshow=nt(c.UIkit.util))})(this,function(c){"use strict";var nt={connected(){c.addClass(this.$el,this.$options.id)}},$e={slide:{show(t){return[{transform:v(t*-100)},{transform:v()}]},percent(t){return rt(t)},translate(t,e){return[{transform:v(e*-100*t)},{transform:v(e*100*(1-t))}]}}};function rt(t){return Math.abs(c.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function v(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function Ie(t){return`scale3d(${t}, ${t}, 1)`}function Ln(t,e,n,{animation:r,easing:o}){const{percent:s,translate:i,show:a=c.noop}=r,u=a(n),f=new c.Deferred;return{dir:n,show(d,p=0,b){const x=b?"linear":o;return d-=Math.round(d*c.clamp(p,-1,1)),this.translate(p),bt(e,"itemin",{percent:p,duration:d,timing:x,dir:n}),bt(t,"itemout",{percent:1-p,duration:d,timing:x,dir:n}),Promise.all([c.Transition.start(e,u[1],d,x),c.Transition.start(t,u[0],d,x)]).then(()=>{this.reset(),f.resolve()},c.noop),f.promise},cancel(){c.Transition.cancel([e,t])},reset(){for(const d in u[0])c.css([e,t],d,"")},forward(d,p=this.percent()){return c.Transition.cancel([e,t]),this.show(d,p,!0)},translate(d){this.reset();const p=i(d,n);c.css(e,p[1]),c.css(t,p[0]),bt(e,"itemtranslatein",{percent:d,dir:n}),bt(t,"itemtranslateout",{percent:1-d,dir:n})},percent(){return s(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function bt(t,e,n){c.trigger(t,c.createEvent(e,!1,!1,n))}var Hn={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,r,o;let s=0;return((o=((n=this.i18n)==null?void 0:n[t])||((r=this.$options.i18n)==null?void 0:r[t]))==null?void 0:o.replace(/%s/g,()=>e[s++]||""))||""}}};const ot={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},{hasOwnProperty:jn,toString:Wn}=Object.prototype;function z(t,e){return jn.call(t,e)}const Fn=/\B([A-Z])/g,st=N(t=>t.replace(Fn,"-$1").toLowerCase()),Bn=/-(\w)/g,it=N(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Bn,(e,n)=>n.toUpperCase())),L=N(t=>t.charAt(0).toUpperCase()+t.slice(1));function H(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}function qn(t,e){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,e)}function Y(t,e){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,e)}function _e(t,e){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,e)}const{isArray:$,from:Xn}=Array,{assign:St}=Object;function _(t){return typeof t=="function"}function M(t){return t!==null&&typeof t=="object"}function D(t){return Wn.call(t)==="[object Object]"}function J(t){return M(t)&&t===t.window}function xt(t){return Mt(t)===9}function zt(t){return Mt(t)>=1}function ct(t){return Mt(t)===1}function Mt(t){return!J(t)&&M(t)&&t.nodeType}function Ee(t){return typeof t=="boolean"}function w(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function yt(t){return Dt(t)||w(t)&&!isNaN(t-parseFloat(t))}function Ae(t){return!($(t)?t.length:M(t)&&Object.keys(t).length)}function E(t){return t===void 0}function Rt(t){return Ee(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 I(t){return parseFloat(t)||0}function g(t){return h(t)[0]}function h(t){return zt(t)?[t]:Array.from(t||[]).filter(zt)}function G(t){if(J(t))return t;t=g(t);const e=xt(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Lt(t,e){return t===e||M(t)&&M(e)&&Object.keys(t).length===Object.keys(e).length&&$t(t,(n,r)=>n===e[r])}function Yn(t,e,n){return t.replace(new RegExp(`${e}|${n}`,"g"),r=>r===e?n:e)}function Oe(t){return t[t.length-1]}function $t(t,e){for(const n in t)if(e(t[n],n)===!1)return!1;return!0}function Ce(t,e){return t.slice().sort(({[e]:n=0},{[e]:r=0})=>n>r?1:r>n?-1:0)}function Ht(t,e){return t.reduce((n,r)=>n+I(_(e)?e(r):r[e]),0)}function Jn(t,e){const n=new Set;return t.filter(({[e]:r})=>n.has(r)?!1:n.add(r))}function Gn(t,e){return e.reduce((n,r)=>({...n,[r]:t[r]}),{})}function K(t,e=0,n=1){return Math.min(Math.max(at(t)||0,e),n)}function It(){}function Te(...t){return[["bottom","top"],["right","left"]].every(([e,n])=>Math.min(...t.map(({[e]:r})=>r))-Math.max(...t.map(({[n]:r})=>r))>0)}function jt(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Wt(t,e,n){const r=e==="width"?"height":"width";return{[r]:t[e]?Math.round(n*t[r]/t[e]):t[r],[e]:n}}function Pe(t,e){t={...t};for(const n in t)t=t[n]>e[n]?Wt(t,n,e[n]):t;return t}function Kn(t,e){t=Pe(t,e);for(const n in t)t=t[n]<e[n]?Wt(t,n,e[n]):t;return t}const Zn={ratio:Wt,contain:Pe,cover:Kn};function Qn(t,e,n=0,r=!1){e=h(e);const{length:o}=e;return o?(t=yt(t)?at(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?o-1:e.indexOf(g(t)),r?K(t,0,o-1):(t%=o,t<0?t+o:t)):-1}function N(t){const e=Object.create(null);return n=>e[n]||(e[n]=t(n))}class Vn{constructor(){this.promise=new Promise((e,n)=>{this.reject=n,this.resolve=e})}}function j(t,e,n){var r;if(M(e)){for(const o in e)j(t,o,e[o]);return}if(E(n))return(r=g(t))==null?void 0:r.getAttribute(e);for(const o of h(t))_(n)&&(n=n.call(o,j(o,e))),n===null?Ft(o,e):o.setAttribute(e,n)}function Ne(t,e){return h(t).some(n=>n.hasAttribute(e))}function Ft(t,e){h(t).forEach(n=>n.removeAttribute(e))}function Bt(t,e){for(const n of[e,`data-${e}`])if(Ne(t,n))return j(t,n)}const kn={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 Un(t){return h(t).some(e=>kn[e.tagName.toLowerCase()])}function _t(t){return h(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const qt="input,select,textarea,button";function tr(t){return h(t).some(e=>Z(e,qt))}const Se=`${qt},a[href],[tabindex]`;function er(t){return Z(t,Se)}function ut(t){var e;return(e=g(t))==null?void 0:e.parentElement}function ze(t,e){return h(t).filter(n=>Z(n,e))}function Z(t,e){return h(t).some(n=>n.matches(e))}function ft(t,e){return ct(t)?t.closest(H(e,">")?e.slice(1):e):h(t).map(n=>ft(n,e)).filter(Boolean)}function Et(t,e){return w(e)?!!ft(t,e):g(e).contains(g(t))}function Xt(t,e){const n=[];for(;t=ut(t);)(!e||Z(t,e))&&n.push(t);return n}function Me(t,e){t=g(t);const n=t?h(t.children):[];return e?ze(n,e):n}function De(t,e){return e?h(t).indexOf(g(e)):Me(ut(t)).indexOf(t)}function Re(t){return t=g(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function nr(t){if(Re(t)){t=g(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function rr(t,e){return Yt(t,He(t,e))}function or(t,e){return dt(t,He(t,e))}function Yt(t,e){return g(je(t,g(e),"querySelector"))}function dt(t,e){return h(je(t,g(e),"querySelectorAll"))}const sr=/(^|[^\\],)\s*[!>+~-]/,Le=N(t=>t.match(sr));function He(t,e=document){return w(t)&&Le(t)||xt(e)?e:e.ownerDocument}const ir=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,cr=N(t=>t.replace(ir,"$1 *"));function je(t,e=document,n){if(!t||!w(t))return t;if(t=cr(t),Le(t)){const r=ur(t);t="";for(let o of r){let s=e;if(o[0]==="!"){const i=o.substr(1).trim().split(" ");if(s=ft(ut(e),i[0]),o=i.slice(1).join(" ").trim(),!o.length&&r.length===1)return s}if(o[0]==="-"){const i=o.substr(1).trim().split(" "),a=(s||e).previousElementSibling;s=Z(a,o.substr(1))?a:null,o=i.slice(1).join(" ")}s&&(t+=`${t?",":""}${fr(s)} ${o}`)}e=document}try{return e[n](t)}catch{return null}}const ar=/.*?[^\\](?:,|$)/g,ur=N(t=>t.match(ar).map(e=>e.replace(/,$/,"").trim()));function fr(t){const e=[];for(;t.parentNode;){const n=j(t,"id");if(n){e.unshift(`#${We(n)}`);break}else{let{tagName:r}=t;r!=="HTML"&&(r+=`:nth-child(${De(t)+1})`),e.unshift(r),t=t.parentNode}}return e.join(" > ")}function We(t){return w(t)?CSS.escape(t):""}function W(...t){let[e,n,r,o,s=!1]=Jt(t);o.length>1&&(o=hr(o)),s!=null&&s.self&&(o=lr(o)),r&&(o=dr(r,o));for(const i of n)for(const a of e)a.addEventListener(i,o,s);return()=>Fe(e,n,o,s)}function Fe(...t){let[e,n,,r,o=!1]=Jt(t);for(const s of n)for(const i of e)i.removeEventListener(s,r,o)}function Q(...t){const[e,n,r,o,s=!1,i]=Jt(t),a=W(e,n,r,u=>{const f=!i||i(u);f&&(a(),o(u,f))},s);return a}function F(t,e,n){return Gt(t).every(r=>r.dispatchEvent(Be(e,!0,!0,n)))}function Be(t,e=!0,n=!1,r){return w(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:n,detail:r})),t}function Jt(t){return t[0]=Gt(t[0]),w(t[1])&&(t[1]=t[1].split(" ")),_(t[2])&&t.splice(2,0,!1),t}function dr(t,e){return n=>{const r=t[0]===">"?dt(t,n.currentTarget).reverse().filter(o=>Et(n.target,o))[0]:ft(n.target,t);r&&(n.current=r,e.call(this,n),delete n.current)}}function hr(t){return e=>$(e.detail)?t(e,...e.detail):t(e)}function lr(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 pr(t){return qe(t)?t:g(t)}function Gt(t){return $(t)?t.map(pr).filter(Boolean):w(t)?dt(t):qe(t)?[t]:h(t)}function mr(t){return t.pointerType==="touch"||!!t.touches}function Xe(t){var e,n;const{clientX:r,clientY:o}=((e=t.touches)==null?void 0:e[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:r,y:o}}const gr={"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 l(t,e,n,r){const o=h(t);for(const s of o)if(w(e)){if(e=Kt(e),E(n))return getComputedStyle(s).getPropertyValue(e);s.style.setProperty(e,yt(n)&&!gr[e]?`${n}px`:n||Dt(n)?n:"",r)}else if($(e)){const i={};for(const a of e)i[a]=l(s,a);return i}else M(e)&&(r=n,$t(e,(i,a)=>l(s,a,i,r)));return o[0]}const Kt=N(t=>vr(t));function vr(t){if(H(t,"--"))return t;t=st(t);const{style:e}=document.documentElement;if(t in e)return t;for(const n of["webkit","moz"]){const r=`-${n}-${t}`;if(r in e)return r}}function V(t,...e){Ge(t,e,"add")}function Zt(t,...e){Ge(t,e,"remove")}function Ye(t,e){j(t,"class",n=>(n||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function wr(t,...e){e[0]&&Zt(t,e[0]),e[1]&&V(t,e[1])}function Je(t,e){return[e]=Qt(e),!!e&&h(t).some(n=>n.classList.contains(e))}function br(t,e,n){const r=Qt(e);E(n)||(n=!!n);for(const o of h(t))for(const s of r)o.classList.toggle(s,n)}function Ge(t,e,n){e=e.reduce((r,o)=>r.concat(Qt(o)),[]);for(const r of h(t))r.classList[n](...e)}function Qt(t){return String(t).split(/[ ,]/).filter(Boolean)}function xr(t,e,n=400,r="linear"){return n=Math.round(n),Promise.all(h(t).map(o=>new Promise((s,i)=>{for(const u in e){const f=l(o,u);f===""&&l(o,u,f)}const a=setTimeout(()=>F(o,"transitionend"),n);Q(o,"transitionend transitioncanceled",({type:u})=>{clearTimeout(a),Zt(o,"uk-transition"),l(o,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),u==="transitioncanceled"?i():s(o)},{self:!0}),V(o,"uk-transition"),l(o,{transitionProperty:Object.keys(e).map(Kt).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:r,...e})})))}const yr={start:xr,async stop(t){F(t,"transitionend"),await Promise.resolve()},async cancel(t){F(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return Je(t,"uk-transition")}},ht="uk-animation-";function Ke(t,e,n=200,r,o){return Promise.all(h(t).map(s=>new Promise((i,a)=>{F(s,"animationcanceled");const u=setTimeout(()=>F(s,"animationend"),n);Q(s,"animationend animationcanceled",({type:f})=>{clearTimeout(u),f==="animationcanceled"?a():i(s),l(s,"animationDuration",""),Ye(s,`${ht}\\S*`)},{self:!0}),l(s,"animationDuration",`${n}ms`),V(s,e,ht+(o?"leave":"enter")),H(e,ht)&&(r&&V(s,`uk-transform-origin-${r}`),o&&V(s,`${ht}reverse`))})))}const $r=new RegExp(`${ht}(enter|leave)`),Ir={in:Ke,out(t,e,n,r){return Ke(t,e,n,r,!0)},inProgress(t){return $r.test(j(t,"class"))},cancel(t){F(t,"animationcanceled")}};function _r(t){if(document.readyState!=="loading"){t();return}Q(document,"DOMContentLoaded",t)}function Vt(t,...e){return e.some(n=>{var r;return((r=t==null?void 0:t.tagName)==null?void 0:r.toLowerCase())===n.toLowerCase()})}function Ze(t){return t=B(t),t.innerHTML="",t}function Er(t,e){return E(e)?B(t).innerHTML:lt(Ze(t),e)}const Ar=At("prepend"),lt=At("append"),Qe=At("before"),Or=At("after");function At(t){return function(e,n){var r;const o=h(w(n)?Ot(n):n);return(r=B(e))==null||r[t](...o),ke(o)}}function kt(t){h(t).forEach(e=>e.remove())}function Ve(t,e){for(e=g(Qe(t,e));e.firstChild;)e=e.firstChild;return lt(e,t),e}function Cr(t,e){return h(h(t).map(n=>n.hasChildNodes()?Ve(h(n.childNodes),e):lt(n,e)))}function Tr(t){h(t).map(ut).filter((e,n,r)=>r.indexOf(e)===n).forEach(e=>e.replaceWith(...e.childNodes))}const Pr=/^\s*<(\w+|!)[^>]*>/,Nr=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ot(t){const e=Nr.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("div");return Pr.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,ke(n.childNodes)}function ke(t){return t.length>1?t:t[0]}function Ut(t,e){if(ct(t))for(e(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;Ut(t,e),t=n}}function B(t,e){return Ue(t)?g(Ot(t)):Yt(t,e)}function te(t,e){return Ue(t)?h(Ot(t)):dt(t,e)}function Ue(t){return w(t)&&H(t.trim(),"<")}const q={width:["left","right"],height:["top","bottom"]};function ee(t){const e=ct(t)?g(t).getBoundingClientRect():{height:en(t),width:re(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function C(t,e){const n=ee(t);if(t){const{scrollY:o,scrollX:s}=G(t),i={height:o,width:s};for(const a in q)for(const u of q[a])n[u]+=i[a]}if(!e)return n;const r=l(t,"position");$t(l(t,["left","top"]),(o,s)=>l(t,s,e[s]-n[s]+I(r==="absolute"&&o==="auto"?tn(t)[s]:o)))}function tn(t){let{top:e,left:n}=C(t);const{ownerDocument:{body:r,documentElement:o},offsetParent:s}=g(t);let i=s||o;for(;i&&(i===r||i===o)&&l(i,"position")==="static";)i=i.parentNode;if(ct(i)){const a=C(i);e-=a.top+I(l(i,"borderTopWidth")),n-=a.left+I(l(i,"borderLeftWidth"))}return{top:e-I(l(t,"marginTop")),left:n-I(l(t,"marginLeft"))}}function ne(t){t=g(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+I(l(t,"borderTopWidth")),e[1]+=t.offsetLeft+I(l(t,"borderLeftWidth")),l(t,"position")==="fixed"){const n=G(t);return e[0]+=n.scrollY,e[1]+=n.scrollX,e}return e}const en=nn("height"),re=nn("width");function nn(t){const e=L(t);return(n,r)=>{if(E(r)){if(J(n))return n[`inner${e}`];if(xt(n)){const o=n.documentElement;return Math.max(o[`offset${e}`],o[`scroll${e}`])}return n=g(n),r=l(n,t),r=r==="auto"?n[`offset${e}`]:I(r)||0,r-oe(n,t)}else return l(n,t,!r&&r!==0?"":+r+oe(n,t)+"px")}}function oe(t,e,n="border-box"){return l(t,"boxSizing")===n?Ht(q[e].map(L),r=>I(l(t,`padding${r}`))+I(l(t,`border${r}Width`))):0}function Sr(t){for(const e in q)for(const n in q[e])if(q[e][n]===t)return q[e][1-n];return t}function zr(t,e="width",n=window,r=!1){return w(t)?Ht(Dr(t),o=>{const s=Lr(o);return s?Hr(s==="vh"?jr():s==="vw"?re(G(n)):r?n[`offset${L(e)}`]:ee(n)[e],o):o}):I(t)}const Mr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Dr=N(t=>t.toString().replace(/\s/g,"").match(Mr)||[]),Rr=/(?:v[hw]|%)$/,Lr=N(t=>(t.match(Rr)||[])[0]);function Hr(t,e){return t*I(e)/100}let pt,k;function jr(){return pt||(k||(k=B("<div>"),l(k,{height:"100vh",position:"fixed"}),W(window,"resize",()=>pt=null)),lt(document.body,k),pt=k.clientHeight,kt(k),pt)}const mt=typeof window<"u",Wr=mt&&document.dir==="rtl",U=mt&&"ontouchstart"in window,tt=mt&&window.PointerEvent,Fr=tt?"pointerdown":U?"touchstart":"mousedown",Br=tt?"pointermove":U?"touchmove":"mousemove",qr=tt?"pointerup":U?"touchend":"mouseup",Xr=tt?"pointerenter":U?"":"mouseenter",Yr=tt?"pointerleave":U?"":"mouseleave",Jr=tt?"pointercancel":"touchcancel",T={reads:[],writes:[],read(t){return this.reads.push(t),ie(),t},write(t){return this.writes.push(t),ie(),t},clear(t){on(this.reads,t),on(this.writes,t)},flush:se};function se(t){rn(T.reads),rn(T.writes.splice(0)),T.scheduled=!1,(T.reads.length||T.writes.length)&&ie(t+1)}const Gr=4;function ie(t){T.scheduled||(T.scheduled=!0,t&&t<Gr?Promise.resolve().then(()=>se(t)):requestAnimationFrame(()=>se(1)))}function rn(t){let e;for(;e=t.shift();)try{e()}catch(n){console.error(n)}}function on(t,e){const n=t.indexOf(e);return~n&&t.splice(n,1)}function sn(){}sn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=W(document,"mousemove",e=>t=Xe(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:r,top:o,bottom:s}=e,[i]=this.positions,a=Oe(this.positions),u=[i,a];return jt(a,e)?!1:[[{x:n,y:o},{x:r,y:s}],[{x:n,y:s},{x:r,y:o}]].some(d=>{const p=Kr(u,d);return p&&jt(p,e)})}};function Kr([{x:t,y:e},{x:n,y:r}],[{x:o,y:s},{x:i,y:a}]){const u=(a-s)*(n-t)-(i-o)*(r-e);if(u===0)return!1;const f=((i-o)*(e-s)-(a-s)*(t-o))/u;return f<0?!1:{x:t+f*(n-t),y:e+f*(r-e)}}function cn(t,e,n={},r=!0){const o=new IntersectionObserver(r?(s,i)=>{s.some(a=>a.isIntersecting)&&e(s,i)}:e,n);for(const s of h(t))o.observe(s);return o}const Zr=mt&&window.ResizeObserver;function an(t,e,n={box:"border-box"}){return Zr?un(ResizeObserver,t,e,n):(Qr(),gt.add(e),{observe:It,unobserve:It,disconnect(){gt.delete(e)}})}let gt;function Qr(){if(gt)return;gt=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of gt)n()}};W(window,"load resize",e),W(document,"loadedmetadata load",e,!0)}function Vr(t,e,n){return un(MutationObserver,t,e,n)}function un(t,e,n,r){const o=new t(n);for(const s of h(e))o.observe(s,r);return o}function kr(t){if(Tt(t)&&ce(t,{func:"playVideo",method:"play"}),Ct(t))try{t.play().catch(It)}catch{}}function Ur(t){Tt(t)&&ce(t,{func:"pauseVideo",method:"pause"}),Ct(t)&&t.pause()}function to(t){Tt(t)&&ce(t,{func:"mute",method:"setVolume",value:0}),Ct(t)&&(t.muted=!0)}function eo(t){return Ct(t)||Tt(t)}function Ct(t){return Vt(t,"video")}function Tt(t){return Vt(t,"iframe")&&(fn(t)||dn(t))}function fn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function dn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function ce(t,e){await ro(t),hn(t,e)}function hn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const ae="_ukPlayer";let no=0;function ro(t){if(t[ae])return t[ae];const e=fn(t),n=dn(t),r=++no;let o;return t[ae]=new Promise(s=>{e&&Q(t,"load",()=>{const i=()=>hn(t,{event:"listening",id:r});o=setInterval(i,100),i()}),Q(window,"message",s,!1,({data:i})=>{try{return i=JSON.parse(i),e&&(i==null?void 0:i.id)===r&&i.event==="onReady"||n&&Number(i==null?void 0:i.player_id)===r}catch{}}),t.src=`${t.src}${Y(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${r}`}`}).then(()=>clearInterval(o))}function oo(t,e=0,n=0){return _t(t)?Te(...ue(t).map(r=>{const{top:o,left:s,bottom:i,right:a}=S(r);return{top:o-e,left:s-n,bottom:i+e,right:a+n}}).concat(C(t))):!1}function so(t,{offset:e=0}={}){const n=_t(t)?Pt(t,!1,["hidden"]):[];return n.reduce((i,a,u)=>{const{scrollTop:f,scrollHeight:d,offsetHeight:p}=a,b=S(a),x=d-b.height,{height:P,top:R}=n[u-1]?S(n[u-1]):C(t);let O=Math.ceil(R-b.top-e+f);return e>0&&p<P+e?O+=e:e=0,O>x?(e-=O-x,O=x):O<0&&(e-=O,O=0),()=>r(a,O-f).then(i)},()=>Promise.resolve())();function r(i,a){return new Promise(u=>{const f=i.scrollTop,d=o(Math.abs(a)),p=Date.now();(function b(){const x=s(K((Date.now()-p)/d));i.scrollTop=f+a*x,x===1?u():requestAnimationFrame(b)})()})}function o(i){return 40*Math.pow(i,.375)}function s(i){return .5*(1-Math.cos(Math.PI*i))}}function io(t,e=0,n=0){if(!_t(t))return 0;const[r]=Pt(t,!0),{scrollHeight:o,scrollTop:s}=r,{height:i}=S(r),a=o-i,u=ne(t)[0]-ne(r)[0],f=Math.max(0,u-i+e),d=Math.min(a,u+t.offsetHeight-n);return K((s-f)/(d-f))}function Pt(t,e=!1,n=[]){const r=ln(t);let o=Xt(t).reverse();o=o.slice(o.indexOf(r)+1);const s=_e(o,i=>l(i,"position")==="fixed");return~s&&(o=o.slice(s)),[r].concat(o.filter(i=>l(i,"overflow").split(" ").some(a=>Y(["auto","scroll",...n],a))&&(!e||i.scrollHeight>S(i).height))).reverse()}function ue(t){return Pt(t,!1,["hidden","clip"])}function S(t){const e=G(t),{visualViewport:n,document:{documentElement:r}}=e;let o=t===ln(t)?e:t;if(J(o)&&n){let{height:i,width:a,scale:u,pageTop:f,pageLeft:d}=n;return i=Math.round(i*u),a=Math.round(a*u),{height:i,width:a,top:f,left:d,bottom:f+i,right:d+a}}let s=C(o);if(l(o,"display")==="inline")return s;for(let[i,a,u,f]of[["width","x","left","right"],["height","y","top","bottom"]])J(o)?o=r:s[u]+=I(l(o,`border-${u}-width`)),s[i]=s[a]=o[`client${L(i)}`],s[f]=s[i]+s[u];return s}function ln(t){return G(t).document.scrollingElement}const A=[["width","x","left","right"],["height","y","top","bottom"]];function co(t,e,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},$(e)||(e=[e,e]),C(t,pn(t,e,n))}function pn(t,e,n){const r=mn(t,e,n),{boundary:o,viewportOffset:s=0,placement:i}=n;let a=r;for(const[u,[f,,d,p]]of Object.entries(A)){const b=ao(t,e[u],s,o,u);if(Nt(r,b,u))continue;let x=0;if(i[u]==="flip"){const P=n.attach.target[u];if(P===p&&r[p]<=b[p]||P===d&&r[d]>=b[d])continue;x=fo(t,e,n,u)[d]-r[d];const R=uo(t,e[u],s,u);if(!Nt(fe(r,x,u),R,u)){if(Nt(r,R,u))continue;if(n.recursion)return!1;const O=ho(t,e,n);if(O&&Nt(O,R,1-u))return O;continue}}else if(i[u]==="shift"){const P=C(e[u]),{offset:R}=n;x=K(K(r[d],b[d],b[p]-r[f]),P[d]-r[f]+R[u],P[p]-R[u])-r[d]}a=fe(a,x,u)}return a}function mn(t,e,n){let{attach:r,offset:o}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},s=C(t);for(const[i,[a,,u,f]]of Object.entries(A)){const d=r.target[i]===r.element[i]?S(e[i]):C(e[i]);s=fe(s,d[u]-s[u]+gn(r.target[i],f,d[a])-gn(r.element[i],f,s[a])+ +o[i],i)}return s}function fe(t,e,n){const[,r,o,s]=A[n],i={...t};return i[o]=t[r]=t[o]+e,i[s]+=e,i}function gn(t,e,n){return t==="center"?n/2:t===e?n:0}function ao(t,e,n,r,o){let s=wn(...vn(t,e).map(S));return n&&(s[A[o][2]]+=n,s[A[o][3]]-=n),r&&(s=wn(s,C($(r)?r[o]:r))),s}function uo(t,e,n,r){const[o,s,i,a]=A[r],[u]=vn(t,e),f=S(u);return["auto","scroll"].includes(l(u,`overflow-${s}`))&&(f[i]-=u[`scroll${L(i)}`],f[a]=f[i]+u[`scroll${L(o)}`]),f[i]+=n,f[a]-=n,f}function vn(t,e){return ue(e).filter(n=>Et(t,n))}function wn(...t){let e={};for(const n of t)for(const[,,r,o]of A)e[r]=Math.max(e[r]||0,n[r]),e[o]=Math.min(...[e[o],n[o]].filter(Boolean));return e}function Nt(t,e,n){const[,,r,o]=A[n];return t[r]>=e[r]&&t[o]<=e[o]}function fo(t,e,{offset:n,attach:r},o){return mn(t,e,{attach:{element:bn(r.element,o),target:bn(r.target,o)},offset:lo(n,o)})}function ho(t,e,n){return pn(t,e,{...n,attach:{element:n.attach.element.map(xn).reverse(),target:n.attach.target.map(xn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function bn(t,e){const n=[...t],r=A[e].indexOf(t[e]);return~r&&(n[e]=A[e][1-r%2+2]),n}function xn(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 lo(t,e){return t=[...t],t[e]*=-1,t}var po=Object.freeze({__proto__:null,$:B,$$:te,Animation:Ir,Deferred:Vn,Dimensions:Zn,MouseTracker:sn,Transition:yr,addClass:V,after:Or,append:lt,apply:Ut,assign:St,attr:j,before:Qe,boxModelAdjust:oe,camelize:it,children:Me,clamp:K,closest:ft,createEvent:Be,css:l,data:Bt,dimensions:ee,each:$t,empty:Ze,endsWith:qn,escape:We,fastdom:T,filter:ze,find:Yt,findAll:dt,findIndex:_e,flipPosition:Sr,fragment:Ot,getEventPos:Xe,getIndex:Qn,getTargetedElement:nr,hasAttr:Ne,hasClass:Je,hasOwn:z,hasTouch:U,height:en,html:Er,hyphenate:st,inBrowser:mt,includes:Y,index:De,intersectRect:Te,isArray:$,isBoolean:Ee,isDocument:xt,isElement:ct,isEmpty:Ae,isEqual:Lt,isFocusable:er,isFunction:_,isInView:oo,isInput:tr,isNode:zt,isNumber:Dt,isNumeric:yt,isObject:M,isPlainObject:D,isRtl:Wr,isSameSiteAnchor:Re,isString:w,isTag:Vt,isTouch:mr,isUndefined:E,isVideo:eo,isVisible:_t,isVoidElement:Un,isWindow:J,last:Oe,matches:Z,memoize:N,mute:to,noop:It,observeIntersection:cn,observeMutation:Vr,observeResize:an,off:Fe,offset:C,offsetPosition:ne,offsetViewport:S,on:W,once:Q,overflowParents:ue,parent:ut,parents:Xt,pause:Ur,pick:Gn,play:kr,pointInRect:jt,pointerCancel:Jr,pointerDown:Fr,pointerEnter:Xr,pointerLeave:Yr,pointerMove:Br,pointerUp:qr,position:tn,positionAt:co,prepend:Ar,propName:Kt,query:rr,queryAll:or,ready:_r,remove:kt,removeAttr:Ft,removeClass:Zt,removeClasses:Ye,replaceClass:wr,scrollIntoView:so,scrollParents:Pt,scrolledOver:io,selFocusable:Se,selInput:qt,sortBy:Ce,startsWith:H,sumBy:Ht,swap:Yn,toArray:Xn,toBoolean:Rt,toEventTargets:Gt,toFloat:I,toNode:g,toNodes:h,toNumber:at,toPx:zr,toWindow:G,toggleClass:br,trigger:F,ucfirst:L,uniqueBy:Jn,unwrap:Tr,width:re,within:Et,wrapAll:Ve,wrapInner:Cr});function mo(t){t._observers=[],t._observerUpdates=new Map;for(const e of t.$options.observe||[])if(z(e,"handler"))yn(t,e);else for(const n in e)yn(t,e[n],n)}function de(t,...e){t._observers.push(...e)}function go(t){for(const e of t._observers)e==null||e.disconnect(),t._observerUpdates.delete(e)}function vo(t){for(const[e,n]of t._observerUpdates)n(e)}function yn(t,e,n){let{observe:r,target:o=t.$el,handler:s,options:i,filter:a,args:u}=D(e)?e:{type:n,handler:e};if(a&&!a.call(t,t))return;const f=_(o)?o.call(t,t):o;s=w(s)?t[s]:s.bind(t),_(i)&&(i=i.call(t,t));const d=r(f,s,i,u);_(o)&&$(f)&&d.unobserve&&t._observerUpdates.set(d,wo(t,o,f)),de(t,d)}function wo(t,e,n){return r=>{const o=e.call(t,t);Lt(n,o)||(n.forEach(s=>!Y(o,s)&&r.unobserve(s)),o.forEach(s=>!Y(n,s)&&r.observe(s)),n.splice(0,n.length,...o))}}function $n(t){if(t._watch)return;const e=!z(t,"_watch");t._watch=T.read(()=>{t._connected&&bo(t,e),t._watch=null})}function bo(t,e){const n={...t._computed};t._computed={};for(const[r,{watch:o,immediate:s}]of Object.entries(t.$options.computed||{}))o&&(e&&s||z(n,r)&&!Lt(n[r],t[r]))&&o.call(t,t[r],e?void 0:n[r]);vo(t)}function he(t,e="update"){t._connected&&((e==="update"||e==="resize")&&$n(t),t.$options.update&&(t._updates||(t._updates=new Set,T.read(()=>{t._connected&&xo(t,t._updates),delete t._updates})),t._updates.add(e.type||e)))}function xo(t,e){for(const{read:n,write:r,events:o=[]}of t.$options.update){if(!e.has("update")&&!o.some(i=>e.has(i)))continue;let s;n&&(s=n.call(t,t._data,e),s&&D(s)&&St(t._data,s)),r&&s!==!1&&T.write(()=>{t._connected&&r.call(t,t._data,e)})}}function yo(t){let{el:e,computed:n,observe:r}=t.$options;if(!n&&!(r!=null&&r.some(s=>_(s.target))))return;for(const s in n||{})if(n[s].document){e=e.ownerDocument;break}const o=new MutationObserver(()=>$n(t));o.observe(e,{childList:!0,subtree:!0}),de(t,o)}function $o(t){t._events=[];for(const e of t.$options.events||[])if(z(e,"handler"))le(t,e);else for(const n in e)le(t,e[n],n)}function Io(t){t._events.forEach(e=>e()),delete t._events}function le(t,e,n){let{name:r,el:o,handler:s,capture:i,passive:a,delegate:u,filter:f,self:d}=D(e)?e:{name:n,handler:e};if(o=_(o)?o.call(t,t):o||t.$el,$(o)){o.forEach(p=>le(t,{...e,el:p},n));return}!o||f&&!f.call(t)||t._events.push(W(o,r,u?w(u)?u:u.call(t,t):null,w(s)?t[s]:s.bind(t),{passive:a,capture:i,self:d}))}const y={};y.events=y.observe=y.created=y.beforeConnect=y.connected=y.beforeDisconnect=y.disconnected=y.destroy=pe,y.args=function(t,e){return e!==!1&&pe(e||t)},y.update=function(t,e){return Ce(pe(t,_(e)?{read:e}:e),"order")},y.props=function(t,e){if($(e)){const n={};for(const r of e)n[r]=String;e=n}return y.methods(t,e)},y.computed=y.methods=function(t,e){return e?t?{...t,...e}:e:t},y.i18n=y.data=function(t,e,n){return n?In(t,e,n):e?t?function(r){return In(t,e,r)}:e:t};function In(t,e,n){return y.computed(_(t)?t.call(n,n):t,_(e)?e.call(n,n):e)}function pe(t,e){return t=t&&!$(t)?[t]:t,e?t?t.concat(e):$(e)?e:[e]:t}function _o(t,e){return E(e)?t:e}function vt(t,e,n){const r={};if(_(e)&&(e=e.options),e.extends&&(t=vt(t,e.extends,n)),e.mixins)for(const s of e.mixins)t=vt(t,s,n);for(const s in t)o(s);for(const s in e)z(t,s)||o(s);function o(s){r[s]=(y[s]||_o)(t[s],e[s],n)}return r}function _n(t,e=[]){try{return t?H(t,"{")?JSON.parse(t):e.length&&!Y(t,":")?{[e[0]]:t}:t.split(";").reduce((n,r)=>{const[o,s]=r.split(/:(.*)/);return o&&!E(s)&&(n[o.trim()]=s.trim()),n},{}):{}}catch{return{}}}function me(t,e){return t===Boolean?Rt(e):t===Number?at(e):t==="list"?Eo(e):t===Object&&w(e)?_n(e):t?t(e):e}function Eo(t){return $(t)?t:w(t)?t.split(/,(?![^(]*\))/).map(e=>yt(e)?at(e):Rt(e.trim())):[t]}function Ao(t){const e=En(t.$options);for(let r in e)E(e[r])||(t.$props[r]=e[r]);const n=[t.$options.computed,t.$options.methods];for(let r in t.$props)r in e&&Oo(n,r)&&(t[r]=t.$props[r])}function En(t){const e={},{args:n=[],props:r={},el:o,id:s}=t;if(!r)return e;for(const a in r){const u=st(a);let f=Bt(o,u);E(f)||(f=r[a]===Boolean&&f===""?!0:me(r[a],f),!(u==="target"&&H(f,"_"))&&(e[a]=f))}const i=_n(Bt(o,s),n);for(const a in i){const u=it(a);E(r[u])||(e[u]=me(r[u],i[a]))}return e}function Oo(t,e){return t.every(n=>!n||!z(n,e))}function Co(t){const{$options:e,$props:n}=t,{id:r,attrs:o,props:s,el:i}=e;if(!s||o===!1)return;const a=$(o)?o:Object.keys(s),u=a.map(d=>st(d)).concat(r),f=new MutationObserver(d=>{const p=En(e);d.some(({attributeName:b})=>{const x=b.replace("data-","");return(x===r?a:[it(x),it(b)]).some(P=>!E(p[P])&&p[P]!==n[P])})&&t.$reset()});f.observe(i,{attributes:!0,attributeFilter:u.concat(u.map(d=>`data-${d}`))}),de(t,f)}function et(t,e){var n;(n=t.$options[e])==null||n.forEach(r=>r.call(t))}function An(t){t._connected||(t._data={},t._computed={},Ao(t),et(t,"beforeConnect"),t._connected=!0,$o(t),mo(t),Co(t),yo(t),et(t,"connected"),he(t))}function On(t){t._connected&&(et(t,"beforeDisconnect"),go(t),Io(t),et(t,"disconnected"),t._connected=!1,delete t._watch)}function To(t){const{computed:e}=t.$options;if(t._computed={},e)for(const n in e)Po(t,n,e[n])}function Po(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:r,$props:o,$el:s}=t;return z(r,e)||(r[e]=(n.get||n).call(t,o,s)),r[e]},set(r){const{_computed:o}=t;o[e]=n.set?n.set.call(t,r):r,E(o[e])&&delete o[e]}})}let No=0;function Cn(t,e={}){e.data=Mo(e,t.constructor.options),t.$options=vt(t.constructor.options,e,t),t.$props={},t._uid=No++,So(t),zo(t),To(t),et(t,"created"),e.el&&t.$mount(e.el)}function So(t){const{data:e={}}=t.$options;for(const n in e)t.$props[n]=t[n]=e[n]}function zo(t){const{methods:e}=t.$options;if(e)for(const n in e)t[n]=e[n].bind(t)}function Mo({data:t={}},{args:e=[],props:n={}}){$(t)&&(t=t.slice(0,e.length).reduce((r,o,s)=>(D(o)?St(r,o):r[e[s]]=o,r),{}));for(const r in t)E(t[r])?delete t[r]:n[r]&&(t[r]=me(n[r],t[r]));return t}const m=function(t){Cn(this,t)};m.util=po,m.options={},m.version="3.16.5-dev.2fd0fea3e";const Do="uk-",X="__uikit__",wt={};function Tn(t,e){var n;const r=Do+st(t);if(!e)return D(wt[r])&&(wt[r]=m.extend(wt[r])),wt[r];t=it(t),m[t]=(s,i)=>ge(t,s,i);const o=D(e)?{...e}:e.options;return o.id=r,o.name=t,(n=o.install)==null||n.call(o,m,o,t),m._initialized&&!o.functional&&requestAnimationFrame(()=>ge(t,`[${r}],[data-${r}]`)),wt[r]=o}function ge(t,e,n,...r){const o=Tn(t);return o.options.functional?new o({data:D(e)?e:[e,n,...r]}):e?te(e).map(s)[0]:s();function s(i){const a=we(i,t);if(a)if(n)a.$destroy();else return a;return new o({el:i,data:n})}}function ve(t){return t[X]||{}}function we(t,e){return ve(t)[e]}function Ro(t,e){t[X]||(t[X]={}),t[X][e.$options.name]=e}function Lo(t,e){var n;(n=t[X])==null||delete n[e.$options.name],Ae(t[X])||delete t[X]}m.component=Tn,m.getComponents=ve,m.getComponent=we,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=vt(e.options,t)},m.extend=function(t){t=t||{};const e=this,n=function(o){Cn(this,o)};return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.options=vt(e.options,t),n.super=e,n.extend=e.extend,n};function Pn(t,e){t=t?g(t):document.body;for(const n of Xt(t).reverse())Nn(n,e);Ut(t,n=>Nn(n,e))}m.update=Pn;function Nn(t,e){const n=ve(t);for(const r in n)he(n[r],e)}let Sn;Object.defineProperty(m,"container",{get(){return Sn||document.body},set(t){Sn=B(t)}}),m.prototype.$mount=function(t){const e=this;Ro(t,e),e.$options.el=t,Et(t,document)&&An(e)},m.prototype.$destroy=function(t=!1){const e=this,{el:n}=e.$options;n&&On(e),et(e,"destroy"),Lo(n,e),t&&kt(e.$el)},m.prototype.$create=ge,m.prototype.$emit=function(t){he(this,t)},m.prototype.$update=function(t=this.$el,e){Pn(t,e)},m.prototype.$reset=function(){On(this),An(this)},m.prototype.$getComponent=we,Object.defineProperties(m.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(m,"container")});function be(t,e=t.$el,n=""){if(e.id)return e.id;let r=`${t.$options.id}-${t._uid}${n}`;return B(`#${r}`)&&(r=be(t,e,`${n}-2`)),r}var Ho={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1},computed:{nav:{get({selNav:t},e){return c.$(t,e)},watch(t,e){c.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return c.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){c.attr(this.$el,"aria-roledescription","carousel")},update:[{write(){this.slides.forEach((t,e)=>c.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&&c.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),c.attr(c.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=c.data(t,this.attrItem),n=c.$("a,button",t)||t;let r,o=null;if(c.isNumeric(e)){const s=c.toNumber(e),i=this.slides[s];i&&(i.id||(i.id=be(this,i,`-item-${e}`)),o=i.id),r=this.t("slideX",c.toFloat(e)+1),c.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=be(this,this.list,"-items")),o=this.list.id),r=this.t(e);c.attr(n,{"aria-controls":o,"aria-label":c.attr(n,"aria-label")||r})}}},{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){c.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===ot.SPACE)&&(t.preventDefault(),this.show(c.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:n}=t,r=c.data(e,this.attrItem);if(!c.isNumeric(r))return;let o=n===ot.HOME?0:n===ot.END?"last":n===ot.LEFT?"previous":n===ot.RIGHT?"next":-1;~o&&(t.preventDefault(),this.show(o))}}],methods:{updateNav(){const t=this.getValidIndex();let e,n;for(const r of this.navItems){const o=c.data(r,this.attrItem),s=c.$("a,button",r)||r;if(c.isNumeric(o)){const a=c.toNumber(o)===t;c.toggleClass(r,this.clsActive,a),c.attr(s,{"aria-selected":a,tabindex:a?null:-1}),a&&(n=s),e=e||c.matches(s,":focus")}else c.toggleClass(r,"uk-invisible",this.finite&&(o==="previous"&&t===0||o==="next"&&t>=this.maxIndex));e&&n&&n.focus()}}}};const xe={passive:!1,capture:!0},zn={passive:!0,capture:!0},jo="touchstart mousedown",ye="touchmove mousemove",Mn="touchend touchcancel mouseup click input scroll";var Wo={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const r=c.getEventPos(n).x*(c.isRtl?-1:1);this.prevPos=r===this.pos?this.prevPos:this.pos,this.pos=r,e(n)}}},events:[{name:jo,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!c.isTouch(t)&&Fo(t.target)||c.closest(t.target,c.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:ye,el(){return this.list},handler:c.noop,...xe}],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,c.on(document,ye,this.move,xe),c.on(document,Mn,this.end,zn),c.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;c.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:r}=this,o=Math.abs(e),s=this.getIndex(r+this.dir,r),i=this._getDistance(r,s)||n[r].offsetWidth;for(;s!==r&&o>i;)this.drag-=i*this.dir,r=s,o-=i,s=this.getIndex(r+this.dir,r),i=this._getDistance(r,s)||n[r].offsetWidth;this.percent=o/i;const a=n[r],u=n[s],f=this.index!==s,d=r===s;let p;[this.index,this.prevIndex].filter(b=>!c.includes([s,r],b)).forEach(b=>{c.trigger(n[b],"itemhidden",[this]),d&&(p=!0,this.prevIndex=r)}),(this.index===r&&this.prevIndex!==r||p)&&c.trigger(n[this.index],"itemshown",[this]),f&&(this.prevIndex=r,this.index=s,!d&&c.trigger(a,"beforeitemhide",[this]),c.trigger(u,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!d&&u),f&&(!d&&c.trigger(a,"itemhide",[this]),c.trigger(u,"itemshow",[this]))},end(){if(c.off(document,ye,this.move,xe),c.off(document,Mn,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=(c.isRtl?this.dir*(c.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)}c.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Fo(t){return c.css(t,"userSelect")!=="none"&&c.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var Bo={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){c.attr(this.list,"aria-live","polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){c.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}},{name:`${c.pointerEnter} focusin`,filter(){return this.autoplay},handler(t){(t.type!==c.pointerEnter||this.pauseOnHover)&&this.stopAutoplay()}},{name:`${c.pointerLeave} focusout`,filter(){return this.autoplay},handler(t){(t.type!==c.pointerLeave||this.pauseOnHover)&&this.startAutoplay()}}],methods:{startAutoplay(){this.draggable&&c.matches(this.$el,":focus-within")||this.pauseOnHover&&c.matches(this.$el,":hover")||(this.stopAutoplay(),this.interval=setInterval(()=>!this.stack.length&&this.show("next"),this.autoplayInterval),c.attr(this.list,"aria-live","off"))},stopAutoplay(){clearInterval(this.interval),c.attr(this.list,"aria-live","polite")}}};function qo(t){return Dn(an,t,"resize")}function Xo(t){return Dn(cn,t)}function Yo(t={}){return Xo({handler:function(e,n){const{targets:r=this.$el,preload:o=5}=t;for(const s of h(_(r)?r(this):r))te('[loading="lazy"]',s).slice(0,o-1).forEach(i=>Ft(i,"loading"));for(const s of e.filter(({isIntersecting:i})=>i).map(({target:i})=>i))n.unobserve(s)},...t})}function Dn(t,e,n){return{observe:t,handler(){this.$emit(n)},...e}}var Jo={mixins:[Bo,Wo,Ho,Hn],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(){c.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return Ko(e.offsetWidth/t)},list({selList:t},e){return c.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return c.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:qo(),methods:{show(t,e=!1){var n;if(this.dragging||!this.length)return;const{stack:r}=this,o=e?0:r.length,s=()=>{r.splice(o,1),r.length&&this.show(r.shift(),!0)};if(r[e?"unshift":"push"](t),!e&&r.length>1){r.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const i=this.getIndex(this.index),a=c.hasClass(this.slides,this.clsActive)&&this.slides[i],u=this.getIndex(t,this.index),f=this.slides[u];if(a===f){s();return}if(this.dir=Go(t,i),this.prevIndex=i,this.index=u,a&&!c.trigger(a,"beforeitemhide",[this])||!c.trigger(f,"beforeitemshow",[this,a])){this.index=this.prevIndex,s();return}const d=this._show(a,f,e).then(()=>{a&&c.trigger(a,"itemhidden",[this]),c.trigger(f,"itemshown",[this]),r.shift(),this._transitioner=null,requestAnimationFrame(()=>r.length&&this.show(r.shift(),!0))});return a&&c.trigger(a,"itemhide",[this]),c.trigger(f,"itemshow",[this]),d},getIndex(t=this.index,e=this.index){return c.clamp(c.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:r}=this.stack;return this._transitioner[r>1?"forward":"show"](r>1?Math.min(this.duration,75+75/(r-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 r=this._getTransitioner(e===n?!1:e,n);return r.translate(t),r},_getTransitioner(t=this.prevIndex,e=this.index,n=this.dir||1,r=this.transitionOptions){return new this.Transitioner(c.isNumber(t)?this.slides[t]:t,c.isNumber(e)?this.slides[e]:e,n*(c.isRtl?-1:1),r)}}};function Go(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ko(t){return .5*t+300}var Zo={mixins:[Jo],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:$e,Transitioner:Ln},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){c.addClass(t,this.clsActive)},itemshown({target:t}){c.addClass(t,this.clsActivated)},itemhidden({target:t}){c.removeClass(t,this.clsActive,this.clsActivated)}}},Qo={...$e,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-c.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:Ie(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-c.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:Ie(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:v(30),zIndex:-1},{transform:v(),zIndex:0}]:[{transform:v(-100),zIndex:0},{transform:v(),zIndex:-1}]},percent(t,e,n){return n<0?1-rt(e):rt(t)},translate(t,e){return e<0?[{transform:v(30*t),zIndex:-1},{transform:v(-100*(1-t)),zIndex:0}]:[{transform:v(-t*100),zIndex:0},{transform:v(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:v(100),zIndex:0},{transform:v(),zIndex:-1}]:[{transform:v(-30),zIndex:-1},{transform:v(),zIndex:0}]},percent(t,e,n){return n>0?1-rt(e):rt(t)},translate(t,e){return e<0?[{transform:v(t*100),zIndex:0},{transform:v(-30*(1-t)),zIndex:-1}]:[{transform:v(-30*t),zIndex:-1},{transform:v(100*(1-t)),zIndex:0}]}}},Vo={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},ko={observe:Yo({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})},Rn={mixins:[nt,Zo,Vo,ko],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Qo},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-c.boxModelAdjust(this.list,"height","content-box")}},write({height:t}){t>0&&c.css(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",Rn),Rn});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.5-dev.
|
|
1
|
+
/*! UIkit 3.16.5-dev.2fd0fea3e | 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')) :
|