uikit 3.25.29-dev.7b0f736 → 3.25.29-dev.a0b5ca8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/css/uikit-core-rtl.css +1 -1
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +1 -1
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +1 -1
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +1 -1
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +3 -3
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +17 -13
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +17 -13
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +5 -2
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +11 -15
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +11 -15
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +12 -16
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +11 -15
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +12 -16
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +2 -2
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +1 -1
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +73 -66
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +76 -69
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/components/lightbox-panel.js +3 -3
  44. package/src/js/core/alert.js +6 -3
  45. package/src/js/core/dropnav.js +1 -1
  46. package/src/js/core/grid.js +1 -1
  47. package/src/js/core/icon.js +6 -12
  48. package/src/js/core/img.js +3 -3
  49. package/src/js/core/inverse.js +4 -2
  50. package/src/js/core/margin.js +1 -1
  51. package/src/js/core/modal.js +1 -1
  52. package/src/js/core/overflow-fade.js +6 -2
  53. package/src/js/core/svg.js +5 -1
  54. package/src/js/core/switcher.js +1 -0
  55. package/src/js/mixin/event.js +4 -1
  56. package/src/js/util/filter.js +6 -1
  57. package/src/js/util/lang.js +8 -33
  58. package/src/js/util/scroll.js +14 -9
  59. package/src/js/util/svg.js +7 -6
  60. package/tests/alert.html +2 -2
  61. package/tests/overflow-fade.test.mjs +69 -0
@@ -1 +1 @@
1
- /*! UIkit 3.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,w){typeof exports=="object"&&typeof module<"u"?module.exports=w(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],w):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlideshow=w(i.UIkit.util))})(this,(function(i){"use strict";var w={connected(){this._cmpCls=i.hasClass(this.$el,this.$options.id),i.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||i.removeClass(this.$el,this.$options.id)}};function at(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,i.fastdom.read(()=>{t._connected&&(t._updateCount||(t._updateCount=0,requestAnimationFrame(()=>t._updateCount=0)),t._updateCount<10&&(t._updateCount++,ot(t,t._queued))),t._queued=null})),t._queued.add(e.type||e))}function ot(t,e){for(const{read:n,write:s,events:a=[]}of t._updates){if(!e.has("update")&&!a.some(o=>e.has(o)))continue;let r;n&&(r=n.call(t,t._data,e),r&&i.isPlainObject(r)&&i.assign(t._data,r)),s&&r!==!1&&i.fastdom.write(()=>{t._connected&&s.call(t,t._data,e)})}}function O(t){return E(i.observeResize,t,"resize")}function ht(t){return E(i.observeIntersection,t)}function ct(t={}){return ht({handler:function(e,n){const{targets:s=this.$el,preload:a=5}=t;for(const r of i.toNodes(i.isFunction(s)?s(this):s))i.$$('[loading="lazy"]',r).slice(0,a-1).forEach(o=>i.removeAttr(o,"loading"));for(const{isIntersecting:r,target:o}of e)r&&n.unobserve(o)},...t})}function dt(t){return E((e,n)=>({disconnect:i.on(lt(e),"scroll",n,{passive:!0})}),t,"scroll")}function E(t,e,n){return{observe:t,handler(){at(this,n)},...e}}function lt(t){return i.toNodes(t).map(e=>{const{ownerDocument:n}=e,s=i.scrollParent(e,!0);return s===n.scrollingElement?n:s})}function ft(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}const{from:ut}=Array;function T(t){return t!==null&&typeof t=="object"}function gt(t){return T(t)&&t===t.window}function mt(t){return R(t)===9}function L(t){return R(t)>=1}function R(t){return!gt(t)&&T(t)&&t.nodeType}function P(t){return typeof t=="string"}function pt(t){return t===void 0}function _(t){return t&&m(t)[0]}function m(t){return L(t)?[t]:Array.from(t||[]).filter(L)}function W(t){const e=Object.create(null);return(n,...s)=>e[n]||(e[n]=t(n,...s))}function q(t,e,n){var s;if(T(e)){for(const a in e)q(t,a,e[a]);return}if(pt(n))return(s=_(t))==null?void 0:s.getAttribute(e);for(const a of m(t))n===null?vt(a,e):a.setAttribute(e,n)}function vt(t,e){m(t).forEach(n=>n.removeAttribute(e))}const xt=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function wt(t){return m(t).some(e=>xt.call(e))}function It(t){var e;return(e=_(t))==null?void 0:e.parentElement}function bt(t,e){return m(t).filter(n=>B(n,e))}function B(t,e){return m(t).some(n=>n.matches(e))}function $t(t,e){t=_(t);const n=t?ut(t.children):[];return e?bt(n,e):n}function U(t,e){return $t(It(t)).indexOf(t)}function yt(t,e){return m(At(t,_(e),"querySelectorAll"))}const St=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,_t=/(\([^)]*\)|[^,])+/g,kt=W(t=>{let e=!1;if(!t||!P(t))return{};const n=[];for(let s of t.match(_t))s=s.trim().replace(St,"$1 *"),e||(e=["!","+","~","-",">"].includes(s[0])),n.push(s);return{selector:n.join(","),selectors:n,isContextSelector:e}}),Ct=/(\([^)]*\)|\S)*/,V=W(t=>{t=t.slice(1).trim();const[e]=t.match(Ct);return[e,t.slice(e.length+1)]});function At(t,e=document,n){var s;const a=kt(t);if(!a.isContextSelector)return a.selector?M(e,n,a.selector):t;t="";const r=a.selectors.length===1;for(let o of a.selectors){let h,c=e;if(o[0]==="!"&&([h,o]=V(o),c=(s=e.parentElement)==null?void 0:s.closest(h),!o&&r)||c&&o[0]==="-"&&([h,o]=V(o),c=c.previousElementSibling,c=B(c,h)?c:null,!o&&r))return c;if(c){if(r)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${U(c)+1}) ${o}`,c=c.parentElement):o[0]===">"&&(o=`:scope ${o}`),M(c,n,o);t+=`${t?",":""}${zt(c)} ${o}`}}return mt(e)||(e=e.ownerDocument),M(e,n,t)}function M(t,e,n){try{return t[e](n)}catch{return null}}function zt(t){const e=[];for(;t.parentNode;){const n=q(t,"id");if(n){e.unshift(`#${Nt(n)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${U(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Nt(t){return P(t)?CSS.escape(t):""}const Et=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Tt(t){const e=Et.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("template");return n.innerHTML=t.trim(),Pt(n.content.childNodes)}function Pt(t){return t.length>1?t:t[0]}function Mt(t,e){return Ht(t)?m(Tt(t)):yt(t,e)}function Ht(t){return P(t)&&ft(t.trim(),"<")}function Dt(t){return wt(t)?Math.ceil(Math.max(0,...Mt("[stroke]",t).map(e=>{var n;return((n=e.getTotalLength)==null?void 0:n.call(e))||0}))):0}const j={x:k,y:k,rotate:k,scale:k,color:H,backgroundColor:H,borderColor:H,blur:p,hue:p,fopacity:p,grayscale:p,invert:p,saturate:p,sepia:p,opacity:Ot,stroke:Lt,bgx:G,bgy:G},{keys:Q}=Object;Z(Q(j),"list"),Z(Q(j),void 0);function k(t,e,n){let s=A(n)||{x:"px",y:"px",rotate:"deg"}[t]||"",a;return t==="x"||t==="y"?(t=`translate${i.ucfirst(t)}`,a=r=>i.toFloat(i.toFloat(r).toFixed(s==="px"?0:6))):t==="scale"&&(s="",a=r=>{var o;return A([r])?i.toPx(r,"width",e,!0)/e[`offset${(o=r.endsWith)!=null&&o.call(r,"vh")?"Height":"Width"}`]:i.toFloat(r)}),n.length===1&&n.unshift(t==="scale"?1:0),n=x(n,a),(r,o)=>{r.transform=`${r.transform||""} ${t}(${I(n,o)}${s})`}}function H(t,e,n){return n.length===1&&n.unshift(b(e,t,"")),n=x(n,s=>Ft(e,s)),(s,a)=>{const[r,o,h]=Y(n,a),c=r.map((u,d)=>(u+=h*(o[d]-u),d===3?i.toFloat(u):parseInt(u,10))).join(",");s[t]=`rgba(${c})`}}function Ft(t,e){return b(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function p(t,e,n){n.length===1&&n.unshift(0);const s=A(n)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,n=x(n),(a,r)=>{const o=I(n,r);a.filter=`${a.filter||""} ${t}(${o+s})`}}function Ot(t,e,n){return n.length===1&&n.unshift(b(e,t,"")),n=x(n),(s,a)=>{s[t]=I(n,a)}}function Lt(t,e,n){n.length===1&&n.unshift(0);const s=A(n),a=Dt(e);return n=x(n.reverse(),r=>(r=i.toFloat(r),s==="%"?r*a/100:r)),n.some(([r])=>r)?(i.css(e,"strokeDasharray",a),(r,o)=>{r.strokeDashoffset=I(n,o)}):i.noop}function G(t,e,n,s){n.length===1&&n.unshift(0);const a=t==="bgy"?"height":"width";s[t]=x(n,h=>i.toPx(h,a,e));const r=["bgx","bgy"].filter(h=>h in s);if(r.length===2&&t==="bgx")return i.noop;if(b(e,"backgroundSize","")==="cover")return Rt(t,e,n,s);const o={};for(const h of r)o[h]=X(e,h);return J(r,o,s)}function Rt(t,e,n,s){const a=Wt(e);if(!a.width)return i.noop;const r={width:e.offsetWidth,height:e.offsetHeight},o=["bgx","bgy"].filter(d=>d in s),h={};for(const d of o){const l=s[d].map(([pe])=>pe),g=Math.min(...l),S=Math.max(...l),v=l.indexOf(g)<l.indexOf(S),rt=S-g;h[d]=`${(v?-rt:0)-(v?g:S)}px`,r[d==="bgy"?"height":"width"]+=rt}const c=i.Dimensions.cover(a,r);for(const d of o){const l=d==="bgy"?"height":"width",g=c[l]-r[l];h[d]=`max(${X(e,d)},-${g}px) + ${h[d]}`}const u=J(o,h,s);return(d,l)=>{u(d,l),d.backgroundSize=`${c.width}px ${c.height}px`,d.backgroundRepeat="no-repeat"}}function X(t,e){return b(t,`background-position-${e.slice(-1)}`,"")}function J(t,e,n){return function(s,a){for(const r of t){const o=I(n[r],a);s[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${o}px)`}}}const K={},C={};function Wt(t){const e=i.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(C[e])return C[e];const n=new Image;return e&&(n.src=e,!n.naturalWidth&&!K[e])?(i.once(n,"error load",()=>{C[e]=D(n),i.trigger(t,i.createEvent("load",!1))}),K[e]=!0,D(n)):C[e]=D(n)}function D(t){return{width:t.naturalWidth,height:t.naturalHeight}}function x(t,e=i.toFloat){const n=[],{length:s}=t;let a=0;for(let r=0;r<s;r++){let[o,h]=i.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(o=e(o),h=h?i.toFloat(h)/100:null,r===0?h===null?h=0:h&&n.push([o,0]):r===s-1&&(h===null?h=1:h!==1&&(n.push([o,h]),h=1)),n.push([o,h]),h===null)a++;else if(a){const c=n[r-a-1][1],u=(h-c)/(a+1);for(let d=a;d>0;d--)n[r-d][1]=c+u*(a-d+1);a=0}}return n}function Y(t,e){const n=i.findIndex(t.slice(1),([,s])=>e<=s)+1;return[t[n-1][0],t[n][0],(e-t[n-1][1])/(t[n][1]-t[n-1][1])]}function I(t,e){const[n,s,a]=Y(t,e);return n+(s-n)*a}const qt=/^-?\d+(?:\.\d+)?(\S+)?/;function A(t,e){var n;for(const s of t){const a=(n=s.match)==null?void 0:n.call(s,qt);if(a)return a[1]}return e}function b(t,e,n){const s=t.style[e],a=i.css(i.css(t,e,n),e);return t.style[e]=s,a}function Z(t,e){return t.reduce((n,s)=>(n[s]=e,n),{})}function Bt(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var Ut={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[O({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),dt({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&i.query(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=i.toPx(this.parallaxStart,"height",t,!0),n=i.toPx(this.parallaxEnd,"height",t,!0),s=Bt(i.scrolledOver(t,e,n),this.parallaxEasing);return{parallax:this.getIndexAt(s)}},write({parallax:t}){const[e,n]=t,s=this.getValidIndex(e+Math.ceil(n)),a=this.slides[e],r=this.slides[s],{triggerShow:o,triggerShown:h,triggerHide:c,triggerHidden:u}=Vt(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))i.includes([s,e],l)||(c(this.slides[l]),u(this.slides[l]));const d=this.prevIndex!==e||this.index!==s;this.dir=1,this.prevIndex=e,this.index=s,a!==r&&c(a),o(r),d&&h(a),this._translate(a===r?1:n,a,r)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function Vt(t){const{clsSlideActive:e,clsEnter:n,clsLeave:s}=t;return{triggerShow:a,triggerShown:r,triggerHide:o,triggerHidden:h};function a(c){i.hasClass(c,s)&&(o(c),h(c)),i.hasClass(c,e)||(i.trigger(c,"beforeitemshow",[t]),i.trigger(c,"itemshow",[t]))}function r(c){i.hasClass(c,n)&&i.trigger(c,"itemshown",[t])}function o(c){i.hasClass(c,e)||a(c),i.hasClass(c,n)&&r(c),i.hasClass(c,s)||(i.trigger(c,"beforeitemhide",[t]),i.trigger(c,"itemhide",[t]))}function h(c){i.hasClass(c,s)&&i.trigger(c,"itemhidden",[t])}}var jt={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1)},events:["resize"]}},tt={slide:{show(t){return[{transform:f(t*-100)},{transform:f()}]},percent(t){return $(t)},translate(t,e){return[{transform:f(e*-100*t)},{transform:f(e*100*(1-t))}]}}};function $(t){return Math.abs(new DOMMatrix(i.css(t,"transform")).m41/t.offsetWidth)}function f(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function Qt(t,e,n,{animation:s,easing:a}){const{percent:r,translate:o,show:h=i.noop}=s,c=h(n),{promise:u,resolve:d}=Gt();return{dir:n,show(l,g=0,S){const v=S?"linear":a;return l-=Math.round(l*i.clamp(g,-1,1)),this.translate(g),z(e,"itemin",{percent:g,duration:l,timing:v,dir:n}),z(t,"itemout",{percent:1-g,duration:l,timing:v,dir:n}),Promise.all([i.Transition.start(e,c[1],l,v),i.Transition.start(t,c[0],l,v)]).then(()=>{this.reset(),d()},i.noop),u},cancel(){return i.Transition.cancel([e,t])},reset(){i.resetProps([e,t],c[0])},async forward(l,g=this.percent()){return await this.cancel(),this.show(l,g,!0)},translate(l){this.reset();const g=o(l,n);i.css(e,g[1]),i.css(t,g[0]),z(e,"itemtranslatein",{percent:l,dir:n}),z(t,"itemtranslateout",{percent:1-l,dir:n})},percent(){return r(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function z(t,e,n){i.trigger(t,i.createEvent(e,!1,!1,n))}function Gt(){let t;return{promise:new Promise(e=>t=e),resolve:t}}function Xt(){return new Promise(t=>requestAnimationFrame(t))}var Jt={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,s,a;let r=0;return((a=((n=this.i18n)==null?void 0:n[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:a.replace(/%s/g,()=>e[r++]||""))||""}}},Kt={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){i.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){i.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:t})=>t,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||!i.isVisible(this.$el)||this.draggable&&i.matches(this.$el,":focus-within")&&!i.matches(this.$el,":focus")||this.pauseOnHover&&i.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const N={passive:!1,capture:!0},Yt="touchstart mousedown",F="touchmove mousemove",Zt="touchend touchcancel mouseup click input scroll";var te={props:{draggable:Boolean},data:{draggable:!0,threshold:10,angleThreshold:45},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const s=i.getEventPos(n);i.isRtl&&(s.x=-s.x),this.prevPos=i.isEqual(s,this.pos)?this.prevPos:this.pos,this.pos=s,e(n)}}},events:[{name:Yt,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!i.isTouch(t)&&ee(t.target)||t.target.closest(i.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:F,el:({list:t})=>t,handler:i.noop,...N}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag.x+=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,F,this.move,N),i.on(document,Zt,this.end,{passive:!0,capture:!0,once:!0}),i.css(this.list,"userSelect","none")},move(t){const e=this.pos.x-this.drag.x;if(e===0||!this.dragging&&ne(this.pos,this.drag)>this.angleThreshold||this.prevPos.x===this.pos.x||!this.dragging&&Math.abs(e)<this.threshold)return;t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:n,prevIndex:s}=this,a=Math.abs(e),r=this.getIndex(s+this.dir),o=et.call(this,s,r);for(;r!==s&&a>o;)this.drag.x-=o*this.dir,s=r,a-=o,r=this.getIndex(s+this.dir),o=et.call(this,s,r);this.percent=a/o;const h=n[s],c=n[r],u=this.index!==r,d=s===r;let l;for(const g of[this.index,this.prevIndex])g!==r&&g!==s&&(i.trigger(n[g],"itemhidden",[this]),d&&(l=!0,this.prevIndex=s));(this.index===s&&this.prevIndex!==s||l)&&i.trigger(n[this.index],"itemshown",[this]),u&&(this.prevIndex=s,this.index=r,d||(i.trigger(h,"beforeitemhide",[this]),i.trigger(h,"itemhide",[this])),i.trigger(c,"beforeitemshow",[this]),i.trigger(c,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!d&&c)},end(){if(i.off(document,F,this.move,N),this.dragging)if(setTimeout(i.on(this.list,"click",t=>t.preventDefault(),N)),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=this.dir<0==this.prevPos.x>this.pos.x;t?(i.trigger(this.slides[this.prevIndex],"itemhidden",[this]),i.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent):this.index=this.prevIndex,this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}i.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function et(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function ee(t){return i.css(t,"userSelect")!=="none"&&i.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function ne(t,e){return Math.atan2(Math.abs(e.y-t.y),Math.abs(e.x-t.x))*180/Math.PI}i.memoize((t,e)=>{const n=Object.keys(e),s=n.concat(t).flatMap(a=>[i.hyphenate(a),`data-${i.hyphenate(a)}`]);return{attributes:n,filter:s}});let ie=1;function nt(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${ie++}`}const y={SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function se(t,e=y.LEFT,n=y.RIGHT){switch(t){case y.HOME:return 0;case y.END:return"last";case e:return"previous";case n:return"next"}return-1}function re(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault()}var ae={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>i.$$(t,e),navChildren(){return this.nav.flatMap(t=>i.children(t))},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return i.$$(this.selNavItem,e)}},watch:{nav(t,e){i.attr(t,"role","tablist"),this.padNavitems(),e&&this.$emit()},list(t){i.isTag(t,"ul")&&i.attr(t,"role","presentation")},navChildren(t){i.attr(t,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(t){for(const e of t){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;let a,r=null;if(i.isNumeric(n)){const o=i.toNumber(n),h=this.slides[o];h&&(h.id||(h.id=nt(this,h)),r=h.id),a=this.t("slideX",i.toFloat(n)+1),s.role="tab"}else this.list&&(this.list.id||(this.list.id=nt(this,this.list)),r=this.list.id),a=this.t(n);i.attr(s,"aria-controls",r),s.ariaLabel=s.ariaLabel||a}},slides(t){t.forEach((e,n)=>i.attr(e,{role:this.nav.length?"tabpanel":"group","aria-label":this.t("slideLabel",n+1,this.length),"aria-roledescription":this.nav.length?null:"slide"})),this.padNavitems()}},connected(){this.$el.role=this.role,this.$el.ariaRoleDescription="carousel"},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=this.maxIndex<1)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){t.target.closest("a,button")&&(t.type==="click"||t.keyCode===y.SPACE)&&(re(t),this.show(i.data(t.current,this.attrItem)))}},{name:"itemshow",handler(){this.updateNav()}},{name:"keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){const{current:e,keyCode:n}=t,s=i.data(e,this.attrItem);if(!i.isNumeric(s))return;const a=se(n);~a&&(t.preventDefault(),this.show(a))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;if(i.isNumeric(n)){const r=i.toNumber(n)===t;i.toggleClass(e,this.clsActive,r),i.toggleClass(s,"uk-disabled",!!this.parallax),s.ariaSelected=r,s.tabIndex=r&&!this.parallax?null:-1,r&&s&&i.matches(i.parent(e),":focus-within")&&s.focus()}else i.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}},padNavitems(){for(const t of this.nav){const e=i.children(t),n=[];for(let s=0;s<this.length;s++){const a=`${this.attrItem}="${s}"`;n[s]=e.findLast(r=>r.matches(`[${a}]`))||i.$(`<li ${a}><a href></a></li>`)}i.isEqual(n,e)||i.html(t,n)}}}};const oe="cubic-bezier(0.25, 0.46, 0.45, 0.94)",he="cubic-bezier(0.165, 0.84, 0.44, 1)";var ce={mixins:[Kt,te,ae,Jt],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:"",clsEnter:"uk-slide-enter",clsLeave:"uk-slide-leave",clsSlideActive:"uk-slide-active",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)=>le(e.offsetWidth/t),list:({selList:t},e)=>i.$(t,e),maxIndex(){return this.length-1},slides(){return i.children(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},events:{itemshow({target:t}){i.addClass(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){i.removeClass(t,this.clsEnter)},itemhide({target:t}){i.addClass(t,this.clsLeave)},itemhidden({target:t}){i.removeClass(t,this.clsLeave,this.clsSlideActive)}},methods:{async show(t,e=!1){var n;if(this.dragging||!this.length||this.parallax)return;const{stack:s}=this,a=e?0:s.length,r=()=>{s.splice(a,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 o=this.getIndex(this.index),h=i.hasClass(this.slides,this.clsActive)&&this.slides[o],c=this.getIndex(t,this.index),u=this.slides[c];if(h===u){r();return}if(this.dir=de(t,o),this.prevIndex=o,this.index=c,h&&!i.trigger(h,"beforeitemhide",[this])||!i.trigger(u,"beforeitemshow",[this,h])){this.index=this.prevIndex,r();return}h&&i.trigger(h,"itemhide",[this]),i.trigger(u,"itemshow",[this]),await this._show(h,u,e),h&&i.trigger(h,"itemhidden",[this]),i.trigger(u,"itemshown",[this]),this._transitioner=null,await Xt(),s.shift(),s.length&&this.show(s.shift(),!0)},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)},async _show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?oe:he:this.easing,...this.transitionOptions}),!n&&!t){this._translate(1);return}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)},_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 de(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function le(t){return .5*t+300}var fe={mixins:[ce],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:tt,Transitioner:Qt},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},observe:O(),events:{itemshow({target:t}){i.addClass(t,this.clsActive)},itemshown({target:t}){i.addClass(t,this.clsActivated)},itemhidden({target:t}){i.removeClass(t,this.clsActive,this.clsActivated)}}},ue={observe:ct({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},ge={...tt,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:it(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:it(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:f(30),zIndex:-1},{transform:f(),zIndex:0}]:[{transform:f(-100),zIndex:0},{transform:f(),zIndex:-1}]},percent(t,e,n){return n<0?1-$(e):$(t)},translate(t,e){return e<0?[{transform:f(30*t),zIndex:-1},{transform:f(-100*(1-t)),zIndex:0}]:[{transform:f(-t*100),zIndex:0},{transform:f(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:f(100),zIndex:0},{transform:f(),zIndex:-1}]:[{transform:f(-30),zIndex:-1},{transform:f(),zIndex:0}]},percent(t,e,n){return n>0?1-$(e):$(t)},translate(t,e){return e<0?[{transform:f(t*100),zIndex:0},{transform:f(-30*(1-t)),zIndex:-1}]:[{transform:f(-30*t),zIndex:-1},{transform:f(100*(1-t)),zIndex:0}]}}};function it(t){return`scale3d(${t}, ${t}, 1)`}var st={mixins:[w,fe,jt,Ut,ue],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:ge},watch:{list(t){i.css(t,{aspectRatio:this.ratio&&this.ratio!=="false"?this.ratio.replace(":","/"):"",minHeight:this.minHeight,maxHeight:this.maxHeight,width:"100%"})}}},me="slideshow";return typeof window<"u"&&window.UIkit&&window.UIkit.component(me,st),st}));
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,w){typeof exports=="object"&&typeof module<"u"?module.exports=w(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],w):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlideshow=w(i.UIkit.util))})(this,(function(i){"use strict";var w={connected(){this._cmpCls=i.hasClass(this.$el,this.$options.id),i.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||i.removeClass(this.$el,this.$options.id)}};function at(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,i.fastdom.read(()=>{t._connected&&(t._updateCount||(t._updateCount=0,requestAnimationFrame(()=>t._updateCount=0)),t._updateCount<10&&(t._updateCount++,ot(t,t._queued))),t._queued=null})),t._queued.add(e.type||e))}function ot(t,e){for(const{read:n,write:s,events:a=[]}of t._updates){if(!e.has("update")&&!a.some(o=>e.has(o)))continue;let r;n&&(r=n.call(t,t._data,e),r&&i.isPlainObject(r)&&i.assign(t._data,r)),s&&r!==!1&&i.fastdom.write(()=>{t._connected&&s.call(t,t._data,e)})}}function F(t){return E(i.observeResize,t,"resize")}function ht(t){return E(i.observeIntersection,t)}function dt(t={}){return ht({handler:function(e,n){const{targets:s=this.$el,preload:a=5}=t;for(const r of i.toNodes(i.isFunction(s)?s(this):s))i.$$('[loading="lazy"]',r).slice(0,a-1).forEach(o=>i.removeAttr(o,"loading"));for(const{isIntersecting:r,target:o}of e)r&&n.unobserve(o)},...t})}function ct(t){return E((e,n)=>({disconnect:i.on(lt(e),"scroll",n,{passive:!0})}),t,"scroll")}function E(t,e,n){return{observe:t,handler(){at(this,n)},...e}}function lt(t){return i.toNodes(t).map(e=>{const{ownerDocument:n}=e,s=i.scrollParent(e,!0);return s===n.scrollingElement?n:s})}function ft(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}const{from:ut}=Array;function T(t){return t!==null&&typeof t=="object"}function gt(t){return T(t)&&t===t.window}function mt(t){return R(t)===9}function L(t){return R(t)>=1}function R(t){return!gt(t)&&T(t)&&t.nodeType}function P(t){return typeof t=="string"}function pt(t){return t===void 0}function _(t){return t&&m(t)[0]}function m(t){return L(t)?[t]:Array.from(t||[]).filter(L)}function W(t){const e=Object.create(null);return(n,...s)=>e[n]||(e[n]=t(n,...s))}function q(t,e,n){var s;if(T(e)){for(const a in e)q(t,a,e[a]);return}if(pt(n))return(s=_(t))==null?void 0:s.getAttribute(e);for(const a of m(t))n===null?vt(a,e):a.setAttribute(e,n)}function vt(t,e){m(t).forEach(n=>n.removeAttribute(e))}function xt(t){var e;return(e=_(t))==null?void 0:e.parentElement}function It(t,e){return m(t).filter(n=>U(n,e))}function U(t,e){return m(t).some(n=>n.matches(e))}function wt(t,e){t=_(t);const n=t?ut(t.children):[];return e?It(n,e):n}function j(t,e){return wt(xt(t)).indexOf(t)}function bt(t,e){return m(kt(t,_(e),"querySelectorAll"))}const $t=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,yt=/(\([^)]*\)|[^,])+/g,St=W(t=>{let e=!1;if(!t||!P(t))return{};const n=[];for(let s of t.match(yt))s=s.trim().replace($t,"$1 *"),e||(e=["!","+","~","-",">"].includes(s[0])),n.push(s);return{selector:n.join(","),selectors:n,isContextSelector:e}}),_t=/(\([^)]*\)|\S)*/,B=W(t=>{t=t.slice(1).trim();const[e]=t.match(_t);return[e,t.slice(e.length+1)]});function kt(t,e=document,n){var s;const a=St(t);if(!a.isContextSelector)return a.selector?M(e,n,a.selector):t;t="";const r=a.selectors.length===1;for(let o of a.selectors){let h,d=e;if(o[0]==="!"&&([h,o]=B(o),d=(s=e.parentElement)==null?void 0:s.closest(h),!o&&r)||d&&o[0]==="-"&&([h,o]=B(o),d=d.previousElementSibling,d=U(d,h)?d:null,!o&&r))return d;if(d){if(r)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${j(d)+1}) ${o}`,d=d.parentElement):o[0]===">"&&(o=`:scope ${o}`),M(d,n,o);t+=`${t?",":""}${Ct(d)} ${o}`}}return mt(e)||(e=e.ownerDocument),M(e,n,t)}function M(t,e,n){try{return t[e](n)}catch{return null}}function Ct(t){const e=[];for(;t.parentNode;){const n=q(t,"id");if(n){e.unshift(`#${At(n)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${j(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function At(t){return P(t)?CSS.escape(t):""}const zt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Nt(t){const e=zt.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("template");return n.innerHTML=t.trim(),Et(n.content.childNodes)}function Et(t){return t.length>1?t:t[0]}function Tt(t,e){return Pt(t)?m(Nt(t)):bt(t,e)}function Pt(t){return P(t)&&ft(t.trim(),"<")}function Mt(t){try{return Math.ceil(Math.max(0,...Tt("[stroke]",t).map(e=>{var n;return((n=e.getTotalLength)==null?void 0:n.call(e))||0})))}catch{return 0}}const V={x:k,y:k,rotate:k,scale:k,color:D,backgroundColor:D,borderColor:D,blur:p,hue:p,fopacity:p,grayscale:p,invert:p,saturate:p,sepia:p,opacity:Ht,stroke:Ot,bgx:G,bgy:G},{keys:Q}=Object;Z(Q(V),"list"),Z(Q(V),void 0);function k(t,e,n){let s=A(n)||{x:"px",y:"px",rotate:"deg"}[t]||"",a;return t==="x"||t==="y"?(t=`translate${i.ucfirst(t)}`,a=r=>i.toFloat(i.toFloat(r).toFixed(s==="px"?0:6))):t==="scale"&&(s="",a=r=>{var o;return A([r])?i.toPx(r,"width",e,!0)/e[`offset${(o=r.endsWith)!=null&&o.call(r,"vh")?"Height":"Width"}`]:i.toFloat(r)}),n.length===1&&n.unshift(t==="scale"?1:0),n=x(n,a),(r,o)=>{r.transform=`${r.transform||""} ${t}(${b(n,o)}${s})`}}function D(t,e,n){return n.length===1&&n.unshift($(e,t,"")),n=x(n,s=>Dt(e,s)),(s,a)=>{const[r,o,h]=Y(n,a),d=r.map((u,c)=>(u+=h*(o[c]-u),c===3?i.toFloat(u):parseInt(u,10))).join(",");s[t]=`rgba(${d})`}}function Dt(t,e){return $(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function p(t,e,n){n.length===1&&n.unshift(0);const s=A(n)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,n=x(n),(a,r)=>{const o=b(n,r);a.filter=`${a.filter||""} ${t}(${o+s})`}}function Ht(t,e,n){return n.length===1&&n.unshift($(e,t,"")),n=x(n),(s,a)=>{s[t]=b(n,a)}}function Ot(t,e,n){n.length===1&&n.unshift(0);const s=A(n),a=Mt(e);return n=x(n.reverse(),r=>(r=i.toFloat(r),s==="%"?r*a/100:r)),n.some(([r])=>r)?(i.css(e,"strokeDasharray",a),(r,o)=>{r.strokeDashoffset=b(n,o)}):i.noop}function G(t,e,n,s){n.length===1&&n.unshift(0);const a=t==="bgy"?"height":"width";s[t]=x(n,h=>i.toPx(h,a,e));const r=["bgx","bgy"].filter(h=>h in s);if(r.length===2&&t==="bgx")return i.noop;if($(e,"backgroundSize","")==="cover")return Ft(t,e,n,s);const o={};for(const h of r)o[h]=X(e,h);return J(r,o,s)}function Ft(t,e,n,s){const a=Lt(e);if(!a.width)return i.noop;const r={width:e.offsetWidth,height:e.offsetHeight},o=["bgx","bgy"].filter(c=>c in s),h={};for(const c of o){const l=s[c].map(([ge])=>ge),g=Math.min(...l),S=Math.max(...l),v=l.indexOf(g)<l.indexOf(S),rt=S-g;h[c]=`${(v?-rt:0)-(v?g:S)}px`,r[c==="bgy"?"height":"width"]+=rt}const d=i.Dimensions.cover(a,r);for(const c of o){const l=c==="bgy"?"height":"width",g=d[l]-r[l];h[c]=`max(${X(e,c)},-${g}px) + ${h[c]}`}const u=J(o,h,s);return(c,l)=>{u(c,l),c.backgroundSize=`${d.width}px ${d.height}px`,c.backgroundRepeat="no-repeat"}}function X(t,e){return $(t,`background-position-${e.slice(-1)}`,"")}function J(t,e,n){return function(s,a){for(const r of t){const o=b(n[r],a);s[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${o}px)`}}}const K={},C={};function Lt(t){const e=i.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(C[e])return C[e];const n=new Image;return e&&(n.src=e,!n.naturalWidth&&!K[e])?(i.once(n,"error load",()=>{C[e]=H(n),i.trigger(t,i.createEvent("load",!1))}),K[e]=!0,H(n)):C[e]=H(n)}function H(t){return{width:t.naturalWidth,height:t.naturalHeight}}function x(t,e=i.toFloat){const n=[],{length:s}=t;let a=0;for(let r=0;r<s;r++){let[o,h]=i.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(o=e(o),h=h?i.toFloat(h)/100:null,r===0?h===null?h=0:h&&n.push([o,0]):r===s-1&&(h===null?h=1:h!==1&&(n.push([o,h]),h=1)),n.push([o,h]),h===null)a++;else if(a){const d=n[r-a-1][1],u=(h-d)/(a+1);for(let c=a;c>0;c--)n[r-c][1]=d+u*(a-c+1);a=0}}return n}function Y(t,e){const n=i.findIndex(t.slice(1),([,s])=>e<=s)+1;return[t[n-1][0],t[n][0],(e-t[n-1][1])/(t[n][1]-t[n-1][1])]}function b(t,e){const[n,s,a]=Y(t,e);return n+(s-n)*a}const Rt=/^-?\d+(?:\.\d+)?(\S+)?/;function A(t,e){var n;for(const s of t){const a=(n=s.match)==null?void 0:n.call(s,Rt);if(a)return a[1]}return e}function $(t,e,n){const s=t.style[e],a=i.css(i.css(t,e,n),e);return t.style[e]=s,a}function Z(t,e){return t.reduce((n,s)=>(n[s]=e,n),{})}function Wt(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var qt={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[F({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),ct({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&i.query(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=i.toPx(this.parallaxStart,"height",t,!0),n=i.toPx(this.parallaxEnd,"height",t,!0),s=Wt(i.scrolledOver(t,e,n),this.parallaxEasing);return{parallax:this.getIndexAt(s)}},write({parallax:t}){const[e,n]=t,s=this.getValidIndex(e+Math.ceil(n)),a=this.slides[e],r=this.slides[s],{triggerShow:o,triggerShown:h,triggerHide:d,triggerHidden:u}=Ut(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))i.includes([s,e],l)||(d(this.slides[l]),u(this.slides[l]));const c=this.prevIndex!==e||this.index!==s;this.dir=1,this.prevIndex=e,this.index=s,a!==r&&d(a),o(r),c&&h(a),this._translate(a===r?1:n,a,r)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function Ut(t){const{clsSlideActive:e,clsEnter:n,clsLeave:s}=t;return{triggerShow:a,triggerShown:r,triggerHide:o,triggerHidden:h};function a(d){i.hasClass(d,s)&&(o(d),h(d)),i.hasClass(d,e)||(i.trigger(d,"beforeitemshow",[t]),i.trigger(d,"itemshow",[t]))}function r(d){i.hasClass(d,n)&&i.trigger(d,"itemshown",[t])}function o(d){i.hasClass(d,e)||a(d),i.hasClass(d,n)&&r(d),i.hasClass(d,s)||(i.trigger(d,"beforeitemhide",[t]),i.trigger(d,"itemhide",[t]))}function h(d){i.hasClass(d,s)&&i.trigger(d,"itemhidden",[t])}}var jt={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1)},events:["resize"]}},tt={slide:{show(t){return[{transform:f(t*-100)},{transform:f()}]},percent(t){return y(t)},translate(t,e){return[{transform:f(e*-100*t)},{transform:f(e*100*(1-t))}]}}};function y(t){return Math.abs(new DOMMatrix(i.css(t,"transform")).m41/t.offsetWidth)}function f(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function Bt(t,e,n,{animation:s,easing:a}){const{percent:r,translate:o,show:h=i.noop}=s,d=h(n),{promise:u,resolve:c}=Vt();return{dir:n,show(l,g=0,S){const v=S?"linear":a;return l-=Math.round(l*i.clamp(g,-1,1)),this.translate(g),z(e,"itemin",{percent:g,duration:l,timing:v,dir:n}),z(t,"itemout",{percent:1-g,duration:l,timing:v,dir:n}),Promise.all([i.Transition.start(e,d[1],l,v),i.Transition.start(t,d[0],l,v)]).then(()=>{this.reset(),c()},i.noop),u},cancel(){return i.Transition.cancel([e,t])},reset(){i.resetProps([e,t],d[0])},async forward(l,g=this.percent()){return await this.cancel(),this.show(l,g,!0)},translate(l){this.reset();const g=o(l,n);i.css(e,g[1]),i.css(t,g[0]),z(e,"itemtranslatein",{percent:l,dir:n}),z(t,"itemtranslateout",{percent:1-l,dir:n})},percent(){return r(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function z(t,e,n){i.trigger(t,i.createEvent(e,!1,!1,n))}function Vt(){let t;return{promise:new Promise(e=>t=e),resolve:t}}function Qt(){return new Promise(t=>requestAnimationFrame(t))}var Gt={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,s,a;let r=0;return((a=((n=this.i18n)==null?void 0:n[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:a.replace(/%s/g,()=>e[r++]||""))||""}}},Xt={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){i.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){i.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:t})=>t,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||!i.isVisible(this.$el)||this.draggable&&i.matches(this.$el,":focus-within")&&!i.matches(this.$el,":focus")||this.pauseOnHover&&i.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const N={passive:!1,capture:!0},Jt="touchstart mousedown",O="touchmove mousemove",Kt="touchend touchcancel mouseup click input scroll";var Yt={props:{draggable:Boolean},data:{draggable:!0,threshold:10,angleThreshold:45},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const s=i.getEventPos(n);i.isRtl&&(s.x=-s.x),this.prevPos=i.isEqual(s,this.pos)?this.prevPos:this.pos,this.pos=s,e(n)}}},events:[{name:Jt,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!i.isTouch(t)&&Zt(t.target)||t.target.closest(i.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:O,el:({list:t})=>t,handler:i.noop,...N}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag.x+=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,O,this.move,N),i.on(document,Kt,this.end,{passive:!0,capture:!0,once:!0}),i.css(this.list,"userSelect","none")},move(t){const e=this.pos.x-this.drag.x;if(e===0||!this.dragging&&te(this.pos,this.drag)>this.angleThreshold||this.prevPos.x===this.pos.x||!this.dragging&&Math.abs(e)<this.threshold)return;t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:n,prevIndex:s}=this,a=Math.abs(e),r=this.getIndex(s+this.dir),o=et.call(this,s,r);for(;r!==s&&a>o;)this.drag.x-=o*this.dir,s=r,a-=o,r=this.getIndex(s+this.dir),o=et.call(this,s,r);this.percent=a/o;const h=n[s],d=n[r],u=this.index!==r,c=s===r;let l;for(const g of[this.index,this.prevIndex])g!==r&&g!==s&&(i.trigger(n[g],"itemhidden",[this]),c&&(l=!0,this.prevIndex=s));(this.index===s&&this.prevIndex!==s||l)&&i.trigger(n[this.index],"itemshown",[this]),u&&(this.prevIndex=s,this.index=r,c||(i.trigger(h,"beforeitemhide",[this]),i.trigger(h,"itemhide",[this])),i.trigger(d,"beforeitemshow",[this]),i.trigger(d,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!c&&d)},end(){if(i.off(document,O,this.move,N),this.dragging)if(setTimeout(i.on(this.list,"click",t=>t.preventDefault(),N)),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=this.dir<0==this.prevPos.x>this.pos.x;t?(i.trigger(this.slides[this.prevIndex],"itemhidden",[this]),i.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent):this.index=this.prevIndex,this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}i.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function et(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function Zt(t){return i.css(t,"userSelect")!=="none"&&i.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function te(t,e){return Math.atan2(Math.abs(e.y-t.y),Math.abs(e.x-t.x))*180/Math.PI}i.memoize((t,e)=>{const n=Object.keys(e),s=n.concat(t).flatMap(a=>[i.hyphenate(a),`data-${i.hyphenate(a)}`]);return{attributes:n,filter:s}});let ee=1;function nt(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${ee++}`}const I={SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function ne(t,e=I.LEFT,n=I.RIGHT){switch(t){case I.HOME:return 0;case I.END:return"last";case e:return"previous";case n:return"next"}return-1}function ie(t){(t.type==="keydown"&&t.keyCode===I.SPACE||t.target.closest('a[href="#"],a[href=""]'))&&t.preventDefault()}var se={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>i.$$(t,e),navChildren(){return this.nav.flatMap(t=>i.children(t))},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return i.$$(this.selNavItem,e)}},watch:{nav(t,e){i.attr(t,"role","tablist"),this.padNavitems(),e&&this.$emit()},list(t){i.isTag(t,"ul")&&i.attr(t,"role","presentation")},navChildren(t){i.attr(t,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(t){for(const e of t){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;let a,r=null;if(i.isNumeric(n)){const o=i.toNumber(n),h=this.slides[o];h&&(h.id||(h.id=nt(this,h)),r=h.id),a=this.t("slideX",i.toFloat(n)+1),s.role="tab"}else this.list&&(this.list.id||(this.list.id=nt(this,this.list)),r=this.list.id),a=this.t(n);i.attr(s,"aria-controls",r),s.ariaLabel=s.ariaLabel||a}},slides(t){t.forEach((e,n)=>i.attr(e,{role:this.nav.length?"tabpanel":"group","aria-label":this.t("slideLabel",n+1,this.length),"aria-roledescription":this.nav.length?null:"slide"})),this.padNavitems()}},connected(){this.$el.role=this.role,this.$el.ariaRoleDescription="carousel"},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=this.maxIndex<1)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){t.target.closest("a,button")&&(t.type==="click"||t.keyCode===I.SPACE)&&(ie(t),this.show(i.data(t.current,this.attrItem)))}},{name:"itemshow",handler(){this.updateNav()}},{name:"keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){const{current:e,keyCode:n}=t,s=i.data(e,this.attrItem);if(!i.isNumeric(s))return;const a=ne(n);~a&&(t.preventDefault(),this.show(a))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;if(i.isNumeric(n)){const r=i.toNumber(n)===t;i.toggleClass(e,this.clsActive,r),i.toggleClass(s,"uk-disabled",!!this.parallax),s.ariaSelected=r,s.tabIndex=r&&!this.parallax?null:-1,r&&s&&i.matches(i.parent(e),":focus-within")&&s.focus()}else i.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}},padNavitems(){for(const t of this.nav){const e=i.children(t),n=[];for(let s=0;s<this.length;s++){const a=`${this.attrItem}="${s}"`;n[s]=e.findLast(r=>r.matches(`[${a}]`))||i.$(`<li ${a}><a href></a></li>`)}i.isEqual(n,e)||i.html(t,n)}}}};const re="cubic-bezier(0.25, 0.46, 0.45, 0.94)",ae="cubic-bezier(0.165, 0.84, 0.44, 1)";var oe={mixins:[Xt,Yt,se,Gt],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:"",clsEnter:"uk-slide-enter",clsLeave:"uk-slide-leave",clsSlideActive:"uk-slide-active",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)=>de(e.offsetWidth/t),list:({selList:t},e)=>i.$(t,e),maxIndex(){return this.length-1},slides(){return i.children(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},events:{itemshow({target:t}){i.addClass(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){i.removeClass(t,this.clsEnter)},itemhide({target:t}){i.addClass(t,this.clsLeave)},itemhidden({target:t}){i.removeClass(t,this.clsLeave,this.clsSlideActive)}},methods:{async show(t,e=!1){var n;if(this.dragging||!this.length||this.parallax)return;const{stack:s}=this,a=e?0:s.length,r=()=>{s.splice(a,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 o=this.getIndex(this.index),h=i.hasClass(this.slides,this.clsActive)&&this.slides[o],d=this.getIndex(t,this.index),u=this.slides[d];if(h===u){r();return}if(this.dir=he(t,o),this.prevIndex=o,this.index=d,h&&!i.trigger(h,"beforeitemhide",[this])||!i.trigger(u,"beforeitemshow",[this,h])){this.index=this.prevIndex,r();return}h&&i.trigger(h,"itemhide",[this]),i.trigger(u,"itemshow",[this]),await this._show(h,u,e),h&&i.trigger(h,"itemhidden",[this]),i.trigger(u,"itemshown",[this]),this._transitioner=null,await Qt(),s.shift(),s.length&&this.show(s.shift(),!0)},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)},async _show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?re:ae:this.easing,...this.transitionOptions}),!n&&!t){this._translate(1);return}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)},_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 he(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function de(t){return .5*t+300}var ce={mixins:[oe],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:tt,Transitioner:Bt},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},observe:F(),events:{itemshow({target:t}){i.addClass(t,this.clsActive)},itemshown({target:t}){i.addClass(t,this.clsActivated)},itemhidden({target:t}){i.removeClass(t,this.clsActive,this.clsActivated)}}},le={observe:dt({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},fe={...tt,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:it(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:it(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:f(30),zIndex:-1},{transform:f(),zIndex:0}]:[{transform:f(-100),zIndex:0},{transform:f(),zIndex:-1}]},percent(t,e,n){return n<0?1-y(e):y(t)},translate(t,e){return e<0?[{transform:f(30*t),zIndex:-1},{transform:f(-100*(1-t)),zIndex:0}]:[{transform:f(-t*100),zIndex:0},{transform:f(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:f(100),zIndex:0},{transform:f(),zIndex:-1}]:[{transform:f(-30),zIndex:-1},{transform:f(),zIndex:0}]},percent(t,e,n){return n>0?1-y(e):y(t)},translate(t,e){return e<0?[{transform:f(t*100),zIndex:0},{transform:f(-30*(1-t)),zIndex:-1}]:[{transform:f(-30*t),zIndex:-1},{transform:f(100*(1-t)),zIndex:0}]}}};function it(t){return`scale3d(${t}, ${t}, 1)`}var st={mixins:[w,ce,jt,qt,le],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:fe},watch:{list(t){i.css(t,{aspectRatio:this.ratio&&this.ratio!=="false"?this.ratio.replace(":","/"):"",minHeight:this.minHeight,maxHeight:this.maxHeight,width:"100%"})}}},ue="slideshow";return typeof window<"u"&&window.UIkit&&window.UIkit.component(ue,st),st}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -115,7 +115,7 @@
115
115
  }
116
116
  const offsetCurrent = getOffset(current[0], withOffset);
117
117
  if (offset.top >= offsetCurrent.bottom - 1 && offset.top !== offsetCurrent.top) {
118
- sorted.push([el]);
118
+ sorted.splice(i + 1, 0, [el]);
119
119
  break;
120
120
  }
121
121
  if (offset.bottom - 1 > offsetCurrent.top || offset.top === offsetCurrent.top) {
@@ -1 +1 @@
1
- /*! UIkit 3.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(e,v){typeof exports=="object"&&typeof module<"u"?module.exports=v(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitsortable",["uikit-util"],v):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSortable=v(e.UIkit.util))})(this,(function(e){"use strict";function v(o,s="update"){o._connected&&o._updates.length&&(o._queued||(o._queued=new Set,e.fastdom.read(()=>{o._connected&&(o._updateCount||(o._updateCount=0,requestAnimationFrame(()=>o._updateCount=0)),o._updateCount<10&&(o._updateCount++,H(o,o._queued))),o._queued=null})),o._queued.add(s.type||s))}function H(o,s){for(const{read:n,write:t,events:c=[]}of o._updates){if(!s.has("update")&&!c.some(a=>s.has(a)))continue;let r;n&&(r=n.call(o,o._data,s),r&&e.isPlainObject(r)&&e.assign(o._data,r)),t&&r!==!1&&e.fastdom.write(()=>{o._connected&&t.call(o,o._data,s)})}}function L(o){return I(e.observeResize,o,"resize")}function x(o){return I(e.observeMutation,o)}function I(o,s,n){return{observe:o,handler(){v(this,n)},...s}}x({options:{childList:!0}}),x({options:{attributes:!0,attributeFilter:["style"]}}),L({handler(o){for(const{target:s,borderBoxSize:[{inlineSize:n,blockSize:t}]}of o)if(s===this.$el&&!n&&!t)return;this.$emit("resize")},target:({$el:o})=>[o,...e.children(o)]});function M(o){const s=[[]],n=o.some((t,c)=>c&&o[c-1].offsetParent!==t.offsetParent);for(const t of o){if(!e.isVisible(t))continue;const c=y(t,n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(t);break}const h=y(a[0],n);if(c.top>=h.bottom-1&&c.top!==h.top){s.push([t]);break}if(c.bottom-1>h.top||c.top===h.top){let f=a.length-1;for(;f>=0;f--){const p=y(a[f],n);if(c.left>=p.left)break}a.splice(f+1,0,t);break}if(r===0){s.unshift([t]);break}}}return s}function y(o,s=!1){let{offsetTop:n,offsetLeft:t,offsetHeight:c}=o;return s&&([n,t]=e.offsetPosition(o)),{top:n,left:t,bottom:n+c}}function _(){return new Promise(o=>requestAnimationFrame(o))}function P(o){return new Promise(s=>setTimeout(s,o))}const C="uk-transition-leave",S="uk-transition-enter";function E(o,s,n,t=0){const c=T(s,!0),r={opacity:1},a={opacity:0},h=()=>c===T(s),f=l=>()=>h()?l():Promise.reject(),p=f(async()=>{e.addClass(s,C),await(t?D(s).reduce(async(l,m,u,b)=>{if(await l,!e.isInView(m)||!h()){e.css(m,a);return}await P(t);const d=e.Transition.start(m,a,n/2,"ease");b.length-1===u&&await d},Promise.resolve()):e.Transition.start(s,a,n/2,"ease")),e.removeClass(s,C)}),i=f(async()=>{const l=e.height(s);e.addClass(s,S),o(),e.css(t?e.children(s):s,a),e.height(s,l),await P(),e.height(s,"");const m=e.height(s);e.css(s,"alignContent","flex-start"),e.height(s,l);const u=[];let b=n/2;if(t){const d=D(s);e.css(e.children(s),a),u.push(d.reduce(async(g,w,k,U)=>{if(await g,!e.isInView(w)||!h()){e.resetProps(w,r);return}await P(t);const ee=e.Transition.start(w,r,n/2,"ease").then(()=>h()&&e.resetProps(w,r));U.length-1===k&&await ee},Promise.resolve())),b+=d.length*t}if(!t||l!==m){const d={height:m,...t?{}:r};u.push(e.Transition.start(s,d,b,"ease"))}await Promise.all(u),e.removeClass(s,S),h()&&(e.resetProps(s,{height:"",alignContent:"",...r}),delete s.dataset.transition)});return e.hasClass(s,C)?$(s).then(i):e.hasClass(s,S)?$(s).then(p).then(i):p().then(i)}function T(o,s){return s&&(o.dataset.transition=1+T(o)),e.toNumber(o.dataset.transition)||0}function $(o){return Promise.all(e.children(o).filter(e.Transition.inProgress).map(s=>new Promise(n=>e.once(s,"transitionend transitioncanceled",n))))}function D(o){return M(e.children(o)).flat().filter(e.isVisible)}async function B(o,s,n){await _();let t=e.children(s);const c=t.map(d=>F(d,!0)),r={...e.css(s,["height","padding"]),display:"block"},a=t.filter(d=>e.isInView(d)),h=t.concat(s);await Promise.all(h.map(e.Transition.cancel)),e.css(h,"transitionProperty","none"),await o();const f=e.children(s).filter(d=>!e.includes(t,d));t=t.concat(f),await Promise.resolve(),e.css(h,"transitionProperty","");const p=e.attr(s,"style"),i=e.css(s,["height","padding"]),[l,m]=R(s,t,c),u=t.map(d=>({style:e.attr(d,"style")}));a.push(...t.filter(d=>e.isInView(d))),t.forEach((d,g)=>m[g]&&e.css(d,m[g])),e.css(s,r),e.trigger(s,"scroll"),await _();const b=t.map((d,g)=>{if(e.parent(d)===s&&a.includes(d))return e.Transition.start(d,l[g],n,"ease",!f.includes(d))}).concat(e.Transition.start(s,i,n,"ease",!0));try{await Promise.all(b),t.forEach((d,g)=>{e.attr(d,u[g]),e.parent(d)===s&&e.css(d,"display",l[g].opacity===0?"none":"")}),e.attr(s,"style",p)}catch{e.attr(t,"style",""),e.resetProps(s,r)}}function F(o,s){const n=e.css(o,"zIndex");return e.isVisible(o)?{display:"",opacity:s?e.css(o,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:n==="auto"?e.index(o):n,...z(o)}:!1}function R(o,s,n){const t=s.map((r,a)=>e.parent(r)&&a in n?n[a]?e.isVisible(r)?z(r):{opacity:0}:{opacity:e.isVisible(r)?1:0}:!1),c=t.map((r,a)=>{const h=e.parent(s[a])===o&&(n[a]||F(s[a]));if(!h)return!1;if(!r)delete h.opacity;else if(!("opacity"in r)){const{opacity:f}=h;f%1?r.opacity=1:delete h.opacity}return h});return[t,c]}function z(o){const{height:s,width:n}=e.dimensions(o);return{height:s,width:n,transform:"",...e.position(o),...e.css(o,["marginTop","marginLeft"])}}var j={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(o,s=this.$el){const n=this.animation;return(n==="fade"?E:n==="delayed-fade"?(...c)=>E(...c,40):n?B:()=>(o(),Promise.resolve()))(o,s,this.duration).catch(e.noop)}}},O={connected(){this._cmpCls=e.hasClass(this.$el,this.$options.id),e.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||e.removeClass(this.$el,this.$options.id)}};const N=[e.pointerUp,e.pointerCancel];var V={mixins:[O,j],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},events:{name:e.pointerDown,passive:!1,handler(o){this.init(o)}},computed:{target:(o,s)=>(s.tBodies||[s])[0],items(){return e.children(this.target)},isEmpty(){return!this.items.length},handles({handle:o},s){return o?e.$$(o,s):this.items}},watch:{isEmpty(o){e.toggleClass(this.target,this.clsEmpty,o)},handles(o,s){const n={touchAction:"none",userSelect:"none"};e.resetProps(s,n),e.css(o,n)}},update:{write(o){if(!this.drag||!e.parent(this.placeholder))return;const{pos:{x:s,y:n},origin:{offsetTop:t,offsetLeft:c},placeholder:r}=this;e.css(this.drag,{top:n-t,left:s-c});const a=this.getSortable(document.elementFromPoint(s,n));if(!a)return;const{items:h}=a;if(h.some(e.Transition.inProgress))return;const f=K(h,{x:s,y:n});if(h.length&&(!f||f===r))return;const p=this.getSortable(r),i=Q(a.target,f,r,{x:s,y:n},a===p&&o.moved!==f);i!==!1&&(i&&r===i||(a!==p?(p.remove(r),o.moved=f):delete o.moved,a.insert(r,i),this.touched.add(a)))},events:["move"]},methods:{init(o){const{target:s,button:n,defaultPrevented:t}=o,[c]=this.items.filter(r=>r.contains(s));!c||t||n>0||e.isInput(s)||s.closest(`.${this.clsNoDrag}`)||this.handle&&!s.closest(this.handle)||(o.preventDefault(),this.pos=e.getEventPos(o),this.touched=new Set([this]),this.placeholder=c,this.origin={target:s,index:e.index(c),...this.pos},e.on(document,e.pointerMove,this.move),e.on(document,N,this.end),this.threshold||this.start(o))},start(o){this.drag=J(this.$container,this.placeholder);const{left:s,top:n}=e.dimensions(this.placeholder);e.assign(this.origin,{offsetLeft:this.pos.x-s,offsetTop:this.pos.y-n}),e.addClass(this.drag,this.clsDrag,this.clsCustom),e.addClass(this.placeholder,this.clsPlaceholder),e.addClass(this.items,this.clsItem),e.addClass(document.documentElement,this.clsDragState),e.trigger(this.$el,"start",[this,this.placeholder]),W(this.pos),this.move(o)},move:Y(function(o){e.assign(this.pos,e.getEventPos(o)),!this.drag&&(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(o),this.$emit("move")}),end(){if(e.off(document,e.pointerMove,this.move),e.off(document,N,this.end),!this.drag)return;G();const o=this.getSortable(this.placeholder);this===o?this.origin.index!==e.index(this.placeholder)&&e.trigger(this.$el,"moved",[this,this.placeholder]):(e.trigger(o.$el,"added",[o,this.placeholder]),e.trigger(this.$el,"removed",[this,this.placeholder])),e.trigger(this.$el,"stop",[this,this.placeholder]),e.remove(this.drag),this.drag=null;for(const{clsPlaceholder:s,clsItem:n}of this.touched)for(const t of this.touched)e.removeClass(t.items,s,n);this.touched=null,e.removeClass(document.documentElement,this.clsDragState)},insert(o,s){e.addClass(this.items,this.clsItem),s&&s.previousElementSibling!==o?this.animate(()=>e.before(s,o)):!s&&this.target.lastElementChild!==o&&this.animate(()=>e.append(this.target,o))},remove(o){this.target.contains(o)&&this.animate(()=>e.remove(o))},getSortable(o){do{const s=this.$getComponent(o,"sortable");if(s&&(s===this||this.group!==!1&&s.group===this.group))return s}while(o=e.parent(o))}}};let q;function W(o){let s=Date.now();q=setInterval(()=>{let{x:n,y:t}=o;t+=document.scrollingElement.scrollTop;const c=(Date.now()-s)*.3;s=Date.now(),e.scrollParents(document.elementFromPoint(n,o.y)).reverse().some(r=>{let{scrollTop:a,scrollHeight:h}=r;const{top:f,bottom:p,height:i}=e.offsetViewport(r);if(f<t&&f+35>t)a-=c;else if(p>t&&p-35<t)a+=c;else return;if(a>0&&a<h-i)return r.scrollTop=a,!0})},15)}function G(){clearInterval(q)}function J(o,s){let n;if(e.isTag(s,"li","tr")){n=e.$("<div>"),e.append(n,s.cloneNode(!0).children);for(const t of s.getAttributeNames())e.attr(n,t,s.getAttribute(t))}else n=s.cloneNode(!0);return e.append(o,n),e.css(n,"margin","0","important"),e.css(n,{boxSizing:"border-box",width:s.offsetWidth,height:s.offsetHeight,padding:e.css(s,"padding")}),e.height(n.firstElementChild,e.height(s.firstElementChild)),n}function K(o,s){return o[e.findIndex(o,n=>e.pointInRect(s,e.dimensions(n)))]}function Q(o,s,n,t,c){if(!e.children(o).length)return;const r=e.dimensions(s);if(!c)return X(o,n)||t.y<r.top+r.height/2?s:s.nextElementSibling;const a=e.dimensions(n),h=A([r.top,r.bottom],[a.top,a.bottom]),[f,p,i,l]=h?[t.x,"width","left","right"]:[t.y,"height","top","bottom"],m=a[p]<r[p]?r[p]-a[p]:0;return a[i]<r[i]?m&&f<r[i]+m?!1:s.nextElementSibling:m&&f>r[l]-m?!1:s}function X(o,s){const n=e.children(o).length===1;n&&e.append(o,s);const t=e.children(o),c=t.some((r,a)=>{const h=e.dimensions(r);return t.slice(a+1).some(f=>{const p=e.dimensions(f);return!A([h.left,h.right],[p.left,p.right])})});return n&&e.remove(s),c}function A(o,s){return o[1]>s[0]&&s[1]>o[0]}function Y(o){let s;return function(...n){s||(s=!0,o.call(this,...n),requestAnimationFrame(()=>s=!1))}}var Z="sortable";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Z,V),V}));
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(e,v){typeof exports=="object"&&typeof module<"u"?module.exports=v(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitsortable",["uikit-util"],v):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSortable=v(e.UIkit.util))})(this,(function(e){"use strict";function v(o,s="update"){o._connected&&o._updates.length&&(o._queued||(o._queued=new Set,e.fastdom.read(()=>{o._connected&&(o._updateCount||(o._updateCount=0,requestAnimationFrame(()=>o._updateCount=0)),o._updateCount<10&&(o._updateCount++,H(o,o._queued))),o._queued=null})),o._queued.add(s.type||s))}function H(o,s){for(const{read:n,write:t,events:c=[]}of o._updates){if(!s.has("update")&&!c.some(a=>s.has(a)))continue;let r;n&&(r=n.call(o,o._data,s),r&&e.isPlainObject(r)&&e.assign(o._data,r)),t&&r!==!1&&e.fastdom.write(()=>{o._connected&&t.call(o,o._data,s)})}}function L(o){return I(e.observeResize,o,"resize")}function x(o){return I(e.observeMutation,o)}function I(o,s,n){return{observe:o,handler(){v(this,n)},...s}}x({options:{childList:!0}}),x({options:{attributes:!0,attributeFilter:["style"]}}),L({handler(o){for(const{target:s,borderBoxSize:[{inlineSize:n,blockSize:t}]}of o)if(s===this.$el&&!n&&!t)return;this.$emit("resize")},target:({$el:o})=>[o,...e.children(o)]});function M(o){const s=[[]],n=o.some((t,c)=>c&&o[c-1].offsetParent!==t.offsetParent);for(const t of o){if(!e.isVisible(t))continue;const c=y(t,n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(t);break}const h=y(a[0],n);if(c.top>=h.bottom-1&&c.top!==h.top){s.splice(r+1,0,[t]);break}if(c.bottom-1>h.top||c.top===h.top){let f=a.length-1;for(;f>=0;f--){const p=y(a[f],n);if(c.left>=p.left)break}a.splice(f+1,0,t);break}if(r===0){s.unshift([t]);break}}}return s}function y(o,s=!1){let{offsetTop:n,offsetLeft:t,offsetHeight:c}=o;return s&&([n,t]=e.offsetPosition(o)),{top:n,left:t,bottom:n+c}}function _(){return new Promise(o=>requestAnimationFrame(o))}function P(o){return new Promise(s=>setTimeout(s,o))}const C="uk-transition-leave",S="uk-transition-enter";function E(o,s,n,t=0){const c=T(s,!0),r={opacity:1},a={opacity:0},h=()=>c===T(s),f=l=>()=>h()?l():Promise.reject(),p=f(async()=>{e.addClass(s,C),await(t?D(s).reduce(async(l,m,u,b)=>{if(await l,!e.isInView(m)||!h()){e.css(m,a);return}await P(t);const d=e.Transition.start(m,a,n/2,"ease");b.length-1===u&&await d},Promise.resolve()):e.Transition.start(s,a,n/2,"ease")),e.removeClass(s,C)}),i=f(async()=>{const l=e.height(s);e.addClass(s,S),o(),e.css(t?e.children(s):s,a),e.height(s,l),await P(),e.height(s,"");const m=e.height(s);e.css(s,"alignContent","flex-start"),e.height(s,l);const u=[];let b=n/2;if(t){const d=D(s);e.css(e.children(s),a),u.push(d.reduce(async(g,w,k,U)=>{if(await g,!e.isInView(w)||!h()){e.resetProps(w,r);return}await P(t);const ee=e.Transition.start(w,r,n/2,"ease").then(()=>h()&&e.resetProps(w,r));U.length-1===k&&await ee},Promise.resolve())),b+=d.length*t}if(!t||l!==m){const d={height:m,...t?{}:r};u.push(e.Transition.start(s,d,b,"ease"))}await Promise.all(u),e.removeClass(s,S),h()&&(e.resetProps(s,{height:"",alignContent:"",...r}),delete s.dataset.transition)});return e.hasClass(s,C)?$(s).then(i):e.hasClass(s,S)?$(s).then(p).then(i):p().then(i)}function T(o,s){return s&&(o.dataset.transition=1+T(o)),e.toNumber(o.dataset.transition)||0}function $(o){return Promise.all(e.children(o).filter(e.Transition.inProgress).map(s=>new Promise(n=>e.once(s,"transitionend transitioncanceled",n))))}function D(o){return M(e.children(o)).flat().filter(e.isVisible)}async function B(o,s,n){await _();let t=e.children(s);const c=t.map(d=>F(d,!0)),r={...e.css(s,["height","padding"]),display:"block"},a=t.filter(d=>e.isInView(d)),h=t.concat(s);await Promise.all(h.map(e.Transition.cancel)),e.css(h,"transitionProperty","none"),await o();const f=e.children(s).filter(d=>!e.includes(t,d));t=t.concat(f),await Promise.resolve(),e.css(h,"transitionProperty","");const p=e.attr(s,"style"),i=e.css(s,["height","padding"]),[l,m]=R(s,t,c),u=t.map(d=>({style:e.attr(d,"style")}));a.push(...t.filter(d=>e.isInView(d))),t.forEach((d,g)=>m[g]&&e.css(d,m[g])),e.css(s,r),e.trigger(s,"scroll"),await _();const b=t.map((d,g)=>{if(e.parent(d)===s&&a.includes(d))return e.Transition.start(d,l[g],n,"ease",!f.includes(d))}).concat(e.Transition.start(s,i,n,"ease",!0));try{await Promise.all(b),t.forEach((d,g)=>{e.attr(d,u[g]),e.parent(d)===s&&e.css(d,"display",l[g].opacity===0?"none":"")}),e.attr(s,"style",p)}catch{e.attr(t,"style",""),e.resetProps(s,r)}}function F(o,s){const n=e.css(o,"zIndex");return e.isVisible(o)?{display:"",opacity:s?e.css(o,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:n==="auto"?e.index(o):n,...z(o)}:!1}function R(o,s,n){const t=s.map((r,a)=>e.parent(r)&&a in n?n[a]?e.isVisible(r)?z(r):{opacity:0}:{opacity:e.isVisible(r)?1:0}:!1),c=t.map((r,a)=>{const h=e.parent(s[a])===o&&(n[a]||F(s[a]));if(!h)return!1;if(!r)delete h.opacity;else if(!("opacity"in r)){const{opacity:f}=h;f%1?r.opacity=1:delete h.opacity}return h});return[t,c]}function z(o){const{height:s,width:n}=e.dimensions(o);return{height:s,width:n,transform:"",...e.position(o),...e.css(o,["marginTop","marginLeft"])}}var j={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(o,s=this.$el){const n=this.animation;return(n==="fade"?E:n==="delayed-fade"?(...c)=>E(...c,40):n?B:()=>(o(),Promise.resolve()))(o,s,this.duration).catch(e.noop)}}},O={connected(){this._cmpCls=e.hasClass(this.$el,this.$options.id),e.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||e.removeClass(this.$el,this.$options.id)}};const N=[e.pointerUp,e.pointerCancel];var V={mixins:[O,j],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},events:{name:e.pointerDown,passive:!1,handler(o){this.init(o)}},computed:{target:(o,s)=>(s.tBodies||[s])[0],items(){return e.children(this.target)},isEmpty(){return!this.items.length},handles({handle:o},s){return o?e.$$(o,s):this.items}},watch:{isEmpty(o){e.toggleClass(this.target,this.clsEmpty,o)},handles(o,s){const n={touchAction:"none",userSelect:"none"};e.resetProps(s,n),e.css(o,n)}},update:{write(o){if(!this.drag||!e.parent(this.placeholder))return;const{pos:{x:s,y:n},origin:{offsetTop:t,offsetLeft:c},placeholder:r}=this;e.css(this.drag,{top:n-t,left:s-c});const a=this.getSortable(document.elementFromPoint(s,n));if(!a)return;const{items:h}=a;if(h.some(e.Transition.inProgress))return;const f=K(h,{x:s,y:n});if(h.length&&(!f||f===r))return;const p=this.getSortable(r),i=Q(a.target,f,r,{x:s,y:n},a===p&&o.moved!==f);i!==!1&&(i&&r===i||(a!==p?(p.remove(r),o.moved=f):delete o.moved,a.insert(r,i),this.touched.add(a)))},events:["move"]},methods:{init(o){const{target:s,button:n,defaultPrevented:t}=o,[c]=this.items.filter(r=>r.contains(s));!c||t||n>0||e.isInput(s)||s.closest(`.${this.clsNoDrag}`)||this.handle&&!s.closest(this.handle)||(o.preventDefault(),this.pos=e.getEventPos(o),this.touched=new Set([this]),this.placeholder=c,this.origin={target:s,index:e.index(c),...this.pos},e.on(document,e.pointerMove,this.move),e.on(document,N,this.end),this.threshold||this.start(o))},start(o){this.drag=J(this.$container,this.placeholder);const{left:s,top:n}=e.dimensions(this.placeholder);e.assign(this.origin,{offsetLeft:this.pos.x-s,offsetTop:this.pos.y-n}),e.addClass(this.drag,this.clsDrag,this.clsCustom),e.addClass(this.placeholder,this.clsPlaceholder),e.addClass(this.items,this.clsItem),e.addClass(document.documentElement,this.clsDragState),e.trigger(this.$el,"start",[this,this.placeholder]),W(this.pos),this.move(o)},move:Y(function(o){e.assign(this.pos,e.getEventPos(o)),!this.drag&&(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(o),this.$emit("move")}),end(){if(e.off(document,e.pointerMove,this.move),e.off(document,N,this.end),!this.drag)return;G();const o=this.getSortable(this.placeholder);this===o?this.origin.index!==e.index(this.placeholder)&&e.trigger(this.$el,"moved",[this,this.placeholder]):(e.trigger(o.$el,"added",[o,this.placeholder]),e.trigger(this.$el,"removed",[this,this.placeholder])),e.trigger(this.$el,"stop",[this,this.placeholder]),e.remove(this.drag),this.drag=null;for(const{clsPlaceholder:s,clsItem:n}of this.touched)for(const t of this.touched)e.removeClass(t.items,s,n);this.touched=null,e.removeClass(document.documentElement,this.clsDragState)},insert(o,s){e.addClass(this.items,this.clsItem),s&&s.previousElementSibling!==o?this.animate(()=>e.before(s,o)):!s&&this.target.lastElementChild!==o&&this.animate(()=>e.append(this.target,o))},remove(o){this.target.contains(o)&&this.animate(()=>e.remove(o))},getSortable(o){do{const s=this.$getComponent(o,"sortable");if(s&&(s===this||this.group!==!1&&s.group===this.group))return s}while(o=e.parent(o))}}};let q;function W(o){let s=Date.now();q=setInterval(()=>{let{x:n,y:t}=o;t+=document.scrollingElement.scrollTop;const c=(Date.now()-s)*.3;s=Date.now(),e.scrollParents(document.elementFromPoint(n,o.y)).reverse().some(r=>{let{scrollTop:a,scrollHeight:h}=r;const{top:f,bottom:p,height:i}=e.offsetViewport(r);if(f<t&&f+35>t)a-=c;else if(p>t&&p-35<t)a+=c;else return;if(a>0&&a<h-i)return r.scrollTop=a,!0})},15)}function G(){clearInterval(q)}function J(o,s){let n;if(e.isTag(s,"li","tr")){n=e.$("<div>"),e.append(n,s.cloneNode(!0).children);for(const t of s.getAttributeNames())e.attr(n,t,s.getAttribute(t))}else n=s.cloneNode(!0);return e.append(o,n),e.css(n,"margin","0","important"),e.css(n,{boxSizing:"border-box",width:s.offsetWidth,height:s.offsetHeight,padding:e.css(s,"padding")}),e.height(n.firstElementChild,e.height(s.firstElementChild)),n}function K(o,s){return o[e.findIndex(o,n=>e.pointInRect(s,e.dimensions(n)))]}function Q(o,s,n,t,c){if(!e.children(o).length)return;const r=e.dimensions(s);if(!c)return X(o,n)||t.y<r.top+r.height/2?s:s.nextElementSibling;const a=e.dimensions(n),h=A([r.top,r.bottom],[a.top,a.bottom]),[f,p,i,l]=h?[t.x,"width","left","right"]:[t.y,"height","top","bottom"],m=a[p]<r[p]?r[p]-a[p]:0;return a[i]<r[i]?m&&f<r[i]+m?!1:s.nextElementSibling:m&&f>r[l]-m?!1:s}function X(o,s){const n=e.children(o).length===1;n&&e.append(o,s);const t=e.children(o),c=t.some((r,a)=>{const h=e.dimensions(r);return t.slice(a+1).some(f=>{const p=e.dimensions(f);return!A([h.left,h.right],[p.left,p.right])})});return n&&e.remove(s),c}function A(o,s){return o[1]>s[0]&&s[1]>o[0]}function Y(o){let s;return function(...n){s||(s=!0,o.call(this,...n),requestAnimationFrame(()=>s=!1))}}var Z="sortable";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Z,V),V}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 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.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(t,l){typeof exports=="object"&&typeof module<"u"?module.exports=l(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],l):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitTooltip=l(t.UIkit.util))})(this,(function(t){"use strict";function l(s,i=[]){try{return s?t.startsWith(s,"{")?JSON.parse(s):i.length&&!t.includes(s,":")?{[i[0]]:s}:s.split(";").reduce((o,n)=>{const[e,r]=n.split(/:(.*)/);return e&&!t.isUndefined(r)&&(o[e.trim()]=r.trim()),o},{}):{}}catch{return{}}}t.memoize((s,i)=>{const o=Object.keys(i),n=o.concat(s).flatMap(e=>[t.hyphenate(e),`data-${t.hyphenate(e)}`]);return{attributes:o,filter:n}});let E=1;function O(s,i=null){return(i==null?void 0:i.id)||`${s.$options.id}-${E++}`}var A={props:{container:Boolean},data:{container:!0},computed:{container({container:s}){return s===!0&&this.$container||s&&t.$(s)}}},B={props:{pos:String,offset:Boolean,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${t.isRtl?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=t.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(s,i,o){let n=[this.getPositionOffset(s),this.getShiftOffset(s)];const e=[this.flip&&"flip",this.shift&&"shift"],r={element:[this.inset?this.dir:t.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const a in r)r[a].reverse();n.reverse(),e.reverse()}const h=I(s),c=t.dimensions(s);t.css(s,{top:-c.height,left:-c.width}),t.positionAt(s,i,{attach:r,offset:n,boundary:o,placement:e,viewportOffset:this.getViewportOffset(s)}),h()},getPositionOffset(s=this.$el){return t.toPx(this.offset===!1?t.css(s,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",s)*(t.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(s=this.$el){return this.align==="center"?0:t.toPx(t.css(s,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",s)*(t.includes(["left","top"],this.align)?1:-1)},getViewportOffset(s){return t.toPx(t.css(s,"--uk-position-viewport-offset"))}}};function I(s){const i=t.scrollParent(s),{scrollTop:o}=i;return()=>{o!==i.scrollTop&&(i.scrollTop=o)}}var D={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglable-enter",clsLeave:"uk-togglable-leave"},computed:{hasAnimation:({animation:s})=>!!s[0],hasTransition:({animation:s})=>["slide","reveal"].some(i=>t.startsWith(s[0],i))},methods:{async toggleElement(s,i,o){const n={};return(await Promise.all(t.toNodes(s).map(e=>{const r=t.isBoolean(i)?i:!this.isToggled(e);if(!t.trigger(e,`before${r?"show":"hide"}`,[this]))return n;const h=(t.isFunction(o)?o:o===!1||!this.hasAnimation?L:this.hasTransition?N:_)(e,r,this),c=r?this.clsEnter:this.clsLeave;t.addClass(e,c),t.trigger(e,r?"show":"hide",[this]);const a=()=>{var f;t.removeClass(e,c),t.trigger(e,r?"shown":"hidden",[this]),r&&((f=t.$$("[autofocus]",e).find(t.isVisible))==null||f.focus({preventScroll:!0}))};return h?h.then(a,()=>(t.removeClass(e,c),n)):a()}))).every(e=>e!==n)},isToggled(s=this.$el){return s=t.toNode(s),t.hasClass(s,this.clsEnter)?!0:t.hasClass(s,this.clsLeave)?!1:this.cls?t.hasClass(s,this.cls.split(" ")[0]):t.isVisible(s)},_toggle(s,i){if(!s)return;i=!!i;let o;this.cls?(o=t.includes(this.cls," ")||i!==t.hasClass(s,this.cls),o&&t.toggleClass(s,this.cls,t.includes(this.cls," ")?void 0:i)):(o=i===s.hidden,o&&(s.hidden=!i)),o&&t.trigger(s,"toggled",[i,this])}}};function L(s,i,{_toggle:o}){return t.Animation.cancel(s),t.Transition.cancel(s),o(s,i)}async function N(s,i,{animation:o,duration:n,velocity:e,transition:r,_toggle:h}){var c;const[a="reveal",f="top"]=((c=o[0])==null?void 0:c.split("-"))||[],b=[["left","right"],["top","bottom"]],y=b[t.includes(b[0],f)?0:1],k=y[1]===f,v=["width","height"][b.indexOf(y)],p=`margin-${y[0]}`,w=`margin-${f}`;let g=t.dimensions(s)[v];const M=t.Transition.inProgress(s);await t.Transition.cancel(s),i&&h(s,!0);const z=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",p,w].map(S=>[S,s.style[S]])),m=t.dimensions(s),T=t.toFloat(t.css(s,p)),P=t.toFloat(t.css(s,w)),d=m[v]+P;!M&&!i&&(g+=P);const[$]=t.wrapInner(s,"<div>");t.css($,{boxSizing:"border-box",height:m.height,width:m.width,...t.css(s,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",w])}),t.css(s,{padding:0,border:0,minWidth:0,minHeight:0,[w]:0,width:m.width,height:m.height,overflow:"hidden",[v]:g});const x=g/d;n=(e*d+n)*(i?1-x:x);const C={[v]:i?d:0};k&&(t.css(s,p,d-g+T),C[p]=i?T:d+T),!k^a==="reveal"&&(t.css($,p,-d+g),t.Transition.start($,{[p]:i?0:-d},n,r));try{await t.Transition.start(s,C,n,r)}finally{t.css(s,z),t.unwrap($.firstChild),i||h(s,!1)}}async function _(s,i,o){const{animation:n,duration:e,_toggle:r}=o;if(i)return r(s,!0),t.Animation.in(s,n[0],e,o.origin);await t.Animation.out(s,n[1]||n[0],e,o.origin),r(s,!1)}const F={ESC:27};var u={mixins:[A,D,B],data:{pos:"top",animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},connected(){U(this.$el)},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:s=0,title:i}=W(this.$options);if(!i)return;const o=t.attr(this.$el,"title"),n=t.on(this.$el,["blur",t.pointerLeave],r=>!t.isTouch(r)&&this.hide());this.reset=()=>{t.attr(this.$el,{title:o,"aria-describedby":null}),n()};const e=O(this);t.attr(this.$el,{title:null,"aria-describedby":e}),clearTimeout(this.showTimer),this.showTimer=setTimeout(()=>this._show(i,e),s)},async hide(){var s;t.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),(s=this.reset)==null||s.call(this),t.remove(this.tooltip),this.tooltip=null)},async _show(s,i){this.tooltip=t.append(this.container,`<div id="${i}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${s}</div> </div>`),t.on(this.tooltip,"toggled",(o,n)=>{if(!n)return;const e=()=>this.positionAt(this.tooltip,this.$el);e();const[r,h]=V(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${t.flipPosition(r)}-${h}`:`${h}-${t.flipPosition(r)}`;const c=[t.once(document,`keydown ${t.pointerDown}`,this.hide,!1,a=>a.type===t.pointerDown&&!this.$el.contains(a.target)||a.type==="keydown"&&a.keyCode===F.ESC),t.on([document,...t.overflowParents(this.$el)],"scroll",e,{passive:!0})];t.once(this.tooltip,"hide",()=>c.forEach(a=>a()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${t.pointerEnter} ${t.pointerDown}`](s){(!t.isTouch(s)||s.type===t.pointerDown)&&document.readyState!=="loading"&&this.show()}}};function U(s){t.isFocusable(s)||(s.tabIndex=0)}function V(s,i,[o,n]){const e=t.offset(s),r=t.offset(i),h=[["left","right"],["top","bottom"]];for(const a of h){if(e[a[0]]>=r[a[1]]){o=a[1];break}if(e[a[1]]<=r[a[0]]){o=a[0];break}}return n=(t.includes(h[0],o)?h[1]:h[0]).find(a=>e[a]===r[a])||"center",[o,n]}function W(s){const{el:i,id:o,data:n}=s;return{title:t.data(i,"title"),delay:t.data(i,"delay"),...l(t.data(i,o),["title"]),...n}}var j="tooltip";return typeof window<"u"&&window.UIkit&&window.UIkit.component(j,u),u}));
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(t,l){typeof exports=="object"&&typeof module<"u"?module.exports=l(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],l):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitTooltip=l(t.UIkit.util))})(this,(function(t){"use strict";function l(s,i=[]){try{return s?t.startsWith(s,"{")?JSON.parse(s):i.length&&!t.includes(s,":")?{[i[0]]:s}:s.split(";").reduce((o,n)=>{const[e,r]=n.split(/:(.*)/);return e&&!t.isUndefined(r)&&(o[e.trim()]=r.trim()),o},{}):{}}catch{return{}}}t.memoize((s,i)=>{const o=Object.keys(i),n=o.concat(s).flatMap(e=>[t.hyphenate(e),`data-${t.hyphenate(e)}`]);return{attributes:o,filter:n}});let E=1;function O(s,i=null){return(i==null?void 0:i.id)||`${s.$options.id}-${E++}`}var A={props:{container:Boolean},data:{container:!0},computed:{container({container:s}){return s===!0&&this.$container||s&&t.$(s)}}},B={props:{pos:String,offset:Boolean,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${t.isRtl?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=t.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(s,i,o){let n=[this.getPositionOffset(s),this.getShiftOffset(s)];const e=[this.flip&&"flip",this.shift&&"shift"],r={element:[this.inset?this.dir:t.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const a in r)r[a].reverse();n.reverse(),e.reverse()}const h=I(s),c=t.dimensions(s);t.css(s,{top:-c.height,left:-c.width}),t.positionAt(s,i,{attach:r,offset:n,boundary:o,placement:e,viewportOffset:this.getViewportOffset(s)}),h()},getPositionOffset(s=this.$el){return t.toPx(this.offset===!1?t.css(s,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",s)*(t.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(s=this.$el){return this.align==="center"?0:t.toPx(t.css(s,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",s)*(t.includes(["left","top"],this.align)?1:-1)},getViewportOffset(s){return t.toPx(t.css(s,"--uk-position-viewport-offset"))}}};function I(s){const i=t.scrollParent(s),{scrollTop:o}=i;return()=>{o!==i.scrollTop&&(i.scrollTop=o)}}var D={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglable-enter",clsLeave:"uk-togglable-leave"},computed:{hasAnimation:({animation:s})=>!!s[0],hasTransition:({animation:s})=>["slide","reveal"].some(i=>t.startsWith(s[0],i))},methods:{async toggleElement(s,i,o){const n={};return(await Promise.all(t.toNodes(s).map(e=>{const r=t.isBoolean(i)?i:!this.isToggled(e);if(!t.trigger(e,`before${r?"show":"hide"}`,[this]))return n;const h=(t.isFunction(o)?o:o===!1||!this.hasAnimation?L:this.hasTransition?N:_)(e,r,this),c=r?this.clsEnter:this.clsLeave;t.addClass(e,c),t.trigger(e,r?"show":"hide",[this]);const a=()=>{var f;t.removeClass(e,c),t.trigger(e,r?"shown":"hidden",[this]),r&&((f=t.$$("[autofocus]",e).find(t.isVisible))==null||f.focus({preventScroll:!0}))};return h?h.then(a,()=>(t.removeClass(e,c),n)):a()}))).every(e=>e!==n)},isToggled(s=this.$el){return s=t.toNode(s),t.hasClass(s,this.clsEnter)?!0:t.hasClass(s,this.clsLeave)?!1:this.cls?t.hasClass(s,this.cls.split(" ")[0]):t.isVisible(s)},_toggle(s,i){if(!s)return;i=!!i;let o;this.cls?(o=t.includes(this.cls," ")||i!==t.hasClass(s,this.cls),o&&t.toggleClass(s,this.cls,t.includes(this.cls," ")?void 0:i)):(o=i===s.hidden,o&&(s.hidden=!i)),o&&t.trigger(s,"toggled",[i,this])}}};function L(s,i,{_toggle:o}){return t.Animation.cancel(s),t.Transition.cancel(s),o(s,i)}async function N(s,i,{animation:o,duration:n,velocity:e,transition:r,_toggle:h}){var c;const[a="reveal",f="top"]=((c=o[0])==null?void 0:c.split("-"))||[],b=[["left","right"],["top","bottom"]],y=b[t.includes(b[0],f)?0:1],k=y[1]===f,v=["width","height"][b.indexOf(y)],p=`margin-${y[0]}`,w=`margin-${f}`;let g=t.dimensions(s)[v];const M=t.Transition.inProgress(s);await t.Transition.cancel(s),i&&h(s,!0);const z=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",p,w].map(S=>[S,s.style[S]])),m=t.dimensions(s),T=t.toFloat(t.css(s,p)),P=t.toFloat(t.css(s,w)),d=m[v]+P;!M&&!i&&(g+=P);const[$]=t.wrapInner(s,"<div>");t.css($,{boxSizing:"border-box",height:m.height,width:m.width,...t.css(s,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",w])}),t.css(s,{padding:0,border:0,minWidth:0,minHeight:0,[w]:0,width:m.width,height:m.height,overflow:"hidden",[v]:g});const x=g/d;n=(e*d+n)*(i?1-x:x);const C={[v]:i?d:0};k&&(t.css(s,p,d-g+T),C[p]=i?T:d+T),!k^a==="reveal"&&(t.css($,p,-d+g),t.Transition.start($,{[p]:i?0:-d},n,r));try{await t.Transition.start(s,C,n,r)}finally{t.css(s,z),t.unwrap($.firstChild),i||h(s,!1)}}async function _(s,i,o){const{animation:n,duration:e,_toggle:r}=o;if(i)return r(s,!0),t.Animation.in(s,n[0],e,o.origin);await t.Animation.out(s,n[1]||n[0],e,o.origin),r(s,!1)}const F={ESC:27};var u={mixins:[A,D,B],data:{pos:"top",animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},connected(){U(this.$el)},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:s=0,title:i}=W(this.$options);if(!i)return;const o=t.attr(this.$el,"title"),n=t.on(this.$el,["blur",t.pointerLeave],r=>!t.isTouch(r)&&this.hide());this.reset=()=>{t.attr(this.$el,{title:o,"aria-describedby":null}),n()};const e=O(this);t.attr(this.$el,{title:null,"aria-describedby":e}),clearTimeout(this.showTimer),this.showTimer=setTimeout(()=>this._show(i,e),s)},async hide(){var s;t.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),(s=this.reset)==null||s.call(this),t.remove(this.tooltip),this.tooltip=null)},async _show(s,i){this.tooltip=t.append(this.container,`<div id="${i}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${s}</div> </div>`),t.on(this.tooltip,"toggled",(o,n)=>{if(!n)return;const e=()=>this.positionAt(this.tooltip,this.$el);e();const[r,h]=V(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${t.flipPosition(r)}-${h}`:`${h}-${t.flipPosition(r)}`;const c=[t.once(document,`keydown ${t.pointerDown}`,this.hide,!1,a=>a.type===t.pointerDown&&!this.$el.contains(a.target)||a.type==="keydown"&&a.keyCode===F.ESC),t.on([document,...t.overflowParents(this.$el)],"scroll",e,{passive:!0})];t.once(this.tooltip,"hide",()=>c.forEach(a=>a()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${t.pointerEnter} ${t.pointerDown}`](s){(!t.isTouch(s)||s.type===t.pointerDown)&&document.readyState!=="loading"&&this.show()}}};function U(s){t.isFocusable(s)||(s.tabIndex=0)}function V(s,i,[o,n]){const e=t.offset(s),r=t.offset(i),h=[["left","right"],["top","bottom"]];for(const a of h){if(e[a[0]]>=r[a[1]]){o=a[1];break}if(e[a[1]]<=r[a[0]]){o=a[0];break}}return n=(t.includes(h[0],o)?h[1]:h[0]).find(a=>e[a]===r[a])||"center",[o,n]}function W(s){const{el:i,id:o,data:n}=s;return{title:t.data(i,"title"),delay:t.data(i,"delay"),...l(t.data(i,o),["title"]),...n}}var j="tooltip";return typeof window<"u"&&window.UIkit&&window.UIkit.component(j,u),u}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 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.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(o,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitupload",["uikit-util"],i):(o=typeof globalThis<"u"?globalThis:o||self,o.UIkitUpload=i(o.UIkit.util))})(this,(function(o){"use strict";var i={props:{i18n:Object},data:{i18n:null},methods:{t(e,...t){var n,s,r;let a=0;return((r=((n=this.i18n)==null?void 0:n[e])||((s=this.$options.i18n)==null?void 0:s[e]))==null?void 0:r.replace(/%s/g,()=>t[a++]||""))||""}}},d={mixins:[i],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:o.noop,beforeAll:o.noop,beforeSend:o.noop,complete:o.noop,completeAll:o.noop,error:o.noop,fail:o.noop,load:o.noop,loadEnd:o.noop,loadStart:o.noop,progress:o.noop},events:{change(e){o.matches(e.target,'input[type="file"]')&&(e.preventDefault(),e.target.files&&this.upload(e.target.files),e.target.value="")},drop(e){l(e);const t=e.dataTransfer;t!=null&&t.files&&(o.removeClass(this.$el,this.clsDragover),this.upload(t.files))},dragenter(e){l(e)},dragover(e){l(e),o.addClass(this.$el,this.clsDragover)},dragleave(e){l(e),o.removeClass(this.$el,this.clsDragover)}},methods:{async upload(e){try{if(e=o.toArray(e),!e.length)return;this.multiple||(e=e.slice(0,1)),o.trigger(this.$el,"upload",[e]);for(const n of e){if(this.maxSize&&this.maxSize*1e3<n.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!p(this.allow,n.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!p(this.mime,n.type)){this.fail(this.t("invalidMime",this.mime));return}}await this.beforeAll(this,e);const t=this.concurrent;for(let n=0;n<e.length;n+=t){const s=new FormData;e.slice(n,n+t).forEach(a=>s.append(this.name,a));for(const a in this.params)s.append(a,this.params[a]);const r=await c(this.url,{data:s,method:this.method,responseType:this.type,beforeSend:a=>{const{xhr:m}=a;o.on(m.upload,"progress",this.progress);for(const f of["loadStart","load","loadEnd","abort"])o.on(m,f.toLowerCase(),this[f]);return this.beforeSend(a)}});this.complete(r),n+t>=e.length&&this.completeAll(r)}}catch(t){(t==null?void 0:t.name)!=="AbortError"&&this.error(t)}}}};function p(e,t){const n=e.replace(/\*\*|[.*+?^${}()|[\]\\]/g,s=>({"**":".*","*":"[^/]+","?":"[^/]","|":"|"})[s]||`\\${s}`);return new RegExp(`^(?:${n})$`,"i").test(t)}function l(e){e.preventDefault(),e.stopPropagation()}async function c(e,t){const n={url:e,data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:o.noop,responseType:"",...t};if(await n.beforeSend(n)===!1)throw h(n.xhr);return u(n.url,n)}function u(e,t){return new Promise((n,s)=>{const{xhr:r}=t;for(const a in t)if(a in r)try{r[a]=t[a]}catch{}r.open(t.method.toUpperCase(),e);for(const a in t.headers)r.setRequestHeader(a,t.headers[a]);o.on(r,"load",()=>{r.status===0||r.status>=200&&r.status<300||r.status===304?n(r):s(o.assign(Error(r.statusText),{xhr:r,status:r.status}))}),o.on(r,"error",()=>s(o.assign(Error("Network Error"),{xhr:r}))),o.on(r,"timeout",()=>s(o.assign(Error("Network Timeout"),{xhr:r}))),o.on(r,"abort",()=>s(h(r))),r.send(t.data)})}function h(e){return o.assign(Error("Network Abort"),{xhr:e,name:"AbortError"})}var g="upload";return typeof window<"u"&&window.UIkit&&window.UIkit.component(g,d),d}));
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(o,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitupload",["uikit-util"],i):(o=typeof globalThis<"u"?globalThis:o||self,o.UIkitUpload=i(o.UIkit.util))})(this,(function(o){"use strict";var i={props:{i18n:Object},data:{i18n:null},methods:{t(e,...t){var n,s,r;let a=0;return((r=((n=this.i18n)==null?void 0:n[e])||((s=this.$options.i18n)==null?void 0:s[e]))==null?void 0:r.replace(/%s/g,()=>t[a++]||""))||""}}},d={mixins:[i],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:o.noop,beforeAll:o.noop,beforeSend:o.noop,complete:o.noop,completeAll:o.noop,error:o.noop,fail:o.noop,load:o.noop,loadEnd:o.noop,loadStart:o.noop,progress:o.noop},events:{change(e){o.matches(e.target,'input[type="file"]')&&(e.preventDefault(),e.target.files&&this.upload(e.target.files),e.target.value="")},drop(e){l(e);const t=e.dataTransfer;t!=null&&t.files&&(o.removeClass(this.$el,this.clsDragover),this.upload(t.files))},dragenter(e){l(e)},dragover(e){l(e),o.addClass(this.$el,this.clsDragover)},dragleave(e){l(e),o.removeClass(this.$el,this.clsDragover)}},methods:{async upload(e){try{if(e=o.toArray(e),!e.length)return;this.multiple||(e=e.slice(0,1)),o.trigger(this.$el,"upload",[e]);for(const n of e){if(this.maxSize&&this.maxSize*1e3<n.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!p(this.allow,n.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!p(this.mime,n.type)){this.fail(this.t("invalidMime",this.mime));return}}await this.beforeAll(this,e);const t=this.concurrent;for(let n=0;n<e.length;n+=t){const s=new FormData;e.slice(n,n+t).forEach(a=>s.append(this.name,a));for(const a in this.params)s.append(a,this.params[a]);const r=await c(this.url,{data:s,method:this.method,responseType:this.type,beforeSend:a=>{const{xhr:m}=a;o.on(m.upload,"progress",this.progress);for(const f of["loadStart","load","loadEnd","abort"])o.on(m,f.toLowerCase(),this[f]);return this.beforeSend(a)}});this.complete(r),n+t>=e.length&&this.completeAll(r)}}catch(t){(t==null?void 0:t.name)!=="AbortError"&&this.error(t)}}}};function p(e,t){const n=e.replace(/\*\*|[.*+?^${}()|[\]\\]/g,s=>({"**":".*","*":"[^/]+","?":"[^/]","|":"|"})[s]||`\\${s}`);return new RegExp(`^(?:${n})$`,"i").test(t)}function l(e){e.preventDefault(),e.stopPropagation()}async function c(e,t){const n={url:e,data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:o.noop,responseType:"",...t};if(await n.beforeSend(n)===!1)throw h(n.xhr);return u(n.url,n)}function u(e,t){return new Promise((n,s)=>{const{xhr:r}=t;for(const a in t)if(a in r)try{r[a]=t[a]}catch{}r.open(t.method.toUpperCase(),e);for(const a in t.headers)r.setRequestHeader(a,t.headers[a]);o.on(r,"load",()=>{r.status===0||r.status>=200&&r.status<300||r.status===304?n(r):s(o.assign(Error(r.statusText),{xhr:r,status:r.status}))}),o.on(r,"error",()=>s(o.assign(Error("Network Error"),{xhr:r}))),o.on(r,"timeout",()=>s(o.assign(Error("Network Timeout"),{xhr:r}))),o.on(r,"abort",()=>s(h(r))),r.send(t.data)})}function h(e){return o.assign(Error("Network Abort"),{xhr:e,name:"AbortError"})}var g="upload";return typeof window<"u"&&window.UIkit&&window.UIkit.component(g,d),d}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.7b0f736 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.a0b5ca8 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -156,28 +156,17 @@
156
156
  function pointInRect(point, rect) {
157
157
  return point.x <= rect.right && point.x >= rect.left && point.y <= rect.bottom && point.y >= rect.top;
158
158
  }
159
- function ratio(dimensions, prop, value) {
160
- const aProp = prop === "width" ? "height" : "width";
159
+ function cover$1(dimensions, maxDimensions) {
160
+ const scale = Math.max(
161
+ dimensions.width ? maxDimensions.width / dimensions.width : 0,
162
+ dimensions.height ? maxDimensions.height / dimensions.height : 0
163
+ );
161
164
  return {
162
- [aProp]: dimensions[prop] ? Math.round(value * dimensions[aProp] / dimensions[prop]) : dimensions[aProp],
163
- [prop]: value
165
+ width: Math.round(dimensions.width * scale),
166
+ height: Math.round(dimensions.height * scale)
164
167
  };
165
168
  }
166
- function contain(dimensions, maxDimensions) {
167
- dimensions = { ...dimensions };
168
- for (const prop in dimensions) {
169
- dimensions = dimensions[prop] > maxDimensions[prop] ? ratio(dimensions, prop, maxDimensions[prop]) : dimensions;
170
- }
171
- return dimensions;
172
- }
173
- function cover$1(dimensions, maxDimensions) {
174
- dimensions = contain(dimensions, maxDimensions);
175
- for (const prop in dimensions) {
176
- dimensions = dimensions[prop] < maxDimensions[prop] ? ratio(dimensions, prop, maxDimensions[prop]) : dimensions;
177
- }
178
- return dimensions;
179
- }
180
- const Dimensions = { ratio, contain, cover: cover$1 };
169
+ const Dimensions = { cover: cover$1 };
181
170
  function getIndex(i, elements, current = 0, finite = false) {
182
171
  elements = toNodes(elements);
183
172
  const { length } = elements;
@@ -350,7 +339,11 @@
350
339
  function getTargetedElement(el) {
351
340
  if (isSameSiteAnchor(el)) {
352
341
  const { hash, ownerDocument } = toNode(el);
353
- const id = decodeURIComponent(hash).slice(1);
342
+ let id = hash.slice(1);
343
+ try {
344
+ id = decodeURIComponent(id);
345
+ } catch {
346
+ }
354
347
  return id ? ownerDocument.getElementById(id) || ownerDocument.getElementsByName(id)[0] : ownerDocument.documentElement;
355
348
  }
356
349
  }
@@ -1690,7 +1683,7 @@
1690
1683
  wrapInner: wrapInner
1691
1684
  });
1692
1685
 
1693
- var VERSION = '3.25.29-dev.7b0f736';
1686
+ var VERSION = '3.25.29-dev.a0b5ca8';
1694
1687
 
1695
1688
  function initUpdates(instance) {
1696
1689
  instance._data = {};
@@ -2533,7 +2526,7 @@
2533
2526
  }
2534
2527
 
2535
2528
  function maybeDefaultPreventClick(e) {
2536
- if (e.target.closest('a[href="#"],a[href=""]')) {
2529
+ if (e.type === "keydown" && e.keyCode === keyMap.SPACE || e.target.closest('a[href="#"],a[href=""]')) {
2537
2530
  e.preventDefault();
2538
2531
  }
2539
2532
  }
@@ -2921,11 +2914,10 @@
2921
2914
  mixins: [Class, Togglable],
2922
2915
  args: "animation",
2923
2916
  props: {
2924
- animation: Boolean,
2925
2917
  close: String
2926
2918
  },
2927
2919
  data: {
2928
- animation: true,
2920
+ animation: [true],
2929
2921
  selClose: ".uk-alert-close",
2930
2922
  duration: 150
2931
2923
  },
@@ -2939,7 +2931,11 @@
2939
2931
  },
2940
2932
  methods: {
2941
2933
  async close() {
2942
- await this.toggleElement(this.$el, false, this.animation ? animate$1 : false);
2934
+ await this.toggleElement(
2935
+ this.$el,
2936
+ false,
2937
+ this.animation[0] === true || this.animation[0] === 1 ? animate$1 : true
2938
+ );
2943
2939
  this.$destroy(true);
2944
2940
  }
2945
2941
  }
@@ -3192,7 +3188,7 @@
3192
3188
  };
3193
3189
  }
3194
3190
 
3195
- let prevented;
3191
+ let scrollLocks = 0;
3196
3192
  function preventBackgroundScroll(el) {
3197
3193
  const off = on(
3198
3194
  el,
@@ -3227,21 +3223,25 @@
3227
3223
  },
3228
3224
  { passive: true }
3229
3225
  );
3230
- if (prevented) {
3231
- return off;
3232
- }
3233
- prevented = true;
3234
3226
  const { scrollingElement } = document;
3235
3227
  const props = {
3236
3228
  overflowY: CSS.supports("overflow", "clip") ? "clip" : "hidden",
3237
3229
  touchAction: "none",
3238
3230
  scrollbarGutter: width(window) - scrollingElement.clientWidth ? "stable" : ""
3239
3231
  };
3240
- css(scrollingElement, props);
3232
+ if (!scrollLocks++) {
3233
+ css(scrollingElement, props);
3234
+ }
3235
+ let released = false;
3241
3236
  return () => {
3242
- prevented = false;
3237
+ if (released) {
3238
+ return;
3239
+ }
3240
+ released = true;
3243
3241
  off();
3244
- resetProps(scrollingElement, props);
3242
+ if (!--scrollLocks) {
3243
+ resetProps(scrollingElement, props);
3244
+ }
3245
3245
  };
3246
3246
  }
3247
3247
 
@@ -3746,7 +3746,7 @@
3746
3746
  el: ({ dropContainer }) => dropContainer,
3747
3747
  delegate: ({ clsDrop }) => `.${clsDrop}`,
3748
3748
  handler(e) {
3749
- var _a;
3749
+ var _a, _b;
3750
3750
  const { current, keyCode, target } = e;
3751
3751
  if (isInput(target) || !includes(this.dropdowns, current)) {
3752
3752
  return;
@@ -3756,15 +3756,15 @@
3756
3756
  if (~next) {
3757
3757
  e.preventDefault();
3758
3758
  const elements = $$(selFocusable, current);
3759
- elements[getIndex(
3759
+ (_a = elements[getIndex(
3760
3760
  next,
3761
3761
  elements,
3762
3762
  findIndex(elements, (el) => matches(el, ":focus"))
3763
- )].focus();
3763
+ )]) == null ? void 0 : _a.focus();
3764
3764
  return;
3765
3765
  }
3766
3766
  if (keyCode === keyMap.ESC) {
3767
- (_a = active2.targetEl) == null ? void 0 : _a.focus();
3767
+ (_b = active2.targetEl) == null ? void 0 : _b.focus();
3768
3768
  }
3769
3769
  handleNavItemNavigation(e, this.items, active2);
3770
3770
  }
@@ -4043,7 +4043,7 @@
4043
4043
  }
4044
4044
  const offsetCurrent = getOffset(current[0], withOffset);
4045
4045
  if (offset.top >= offsetCurrent.bottom - 1 && offset.top !== offsetCurrent.top) {
4046
- sorted.push([el]);
4046
+ sorted.splice(i + 1, 0, [el]);
4047
4047
  break;
4048
4048
  }
4049
4049
  if (offset.bottom - 1 > offsetCurrent.top || offset.top === offsetCurrent.top) {
@@ -4168,7 +4168,7 @@
4168
4168
  };
4169
4169
  },
4170
4170
  write({ columns, scrolled, scrollColumns, translates }) {
4171
- if (!scrolled && !translates) {
4171
+ if (scrolled === false && !translates) {
4172
4172
  return;
4173
4173
  }
4174
4174
  columns.forEach(
@@ -4645,16 +4645,9 @@
4645
4645
  beforeConnect() {
4646
4646
  const isToggle = hasClass(this.$el, "uk-search-toggle") || hasClass(this.$el, "uk-navbar-toggle");
4647
4647
  this.icon = isToggle ? "search-toggle-icon" : hasClass(this.$el, "uk-search-icon") && this.$el.closest(".uk-search-large") ? "search-large" : this.$el.closest(".uk-search-medium") ? "search-medium" : this.$props.icon;
4648
- if (hasAttr(this.$el, "aria-label")) {
4649
- return;
4650
- }
4651
- if (isToggle) {
4652
- this.$el.ariaLabel = this.t("toggle");
4653
- } else {
4654
- const button = this.$el.closest("a,button");
4655
- if (button) {
4656
- button.ariaLabel = this.t("submit");
4657
- }
4648
+ const target = isToggle ? this.$el : this.$el.closest("a,button");
4649
+ if (target && !hasAttr(target, "aria-label")) {
4650
+ target.ariaLabel = this.t(isToggle ? "toggle" : "submit");
4658
4651
  }
4659
4652
  }
4660
4653
  };
@@ -4740,7 +4733,7 @@
4740
4733
  apply(
4741
4734
  document.body,
4742
4735
  (el) => each(UIkit.getComponents(el), (cmp) => {
4743
- cmp.$options.isIcon && cmp.icon in added && cmp.$reset();
4736
+ cmp.$options.isIcon && (aliases[cmp.icon] || cmp.icon) in added && cmp.$reset();
4744
4737
  })
4745
4738
  );
4746
4739
  }
@@ -4818,8 +4811,9 @@
4818
4811
  const elements = isTag(parentNode, "picture") ? children(parentNode) : [el];
4819
4812
  elements.forEach((el2) => setSourceProps(el2, el2));
4820
4813
  } else if (src) {
4821
- if (!includes(el.style.backgroundImage, src)) {
4822
- css(el, "backgroundImage", `url(${escape(src)})`);
4814
+ const previousBackground = el.style.backgroundImage;
4815
+ css(el, "backgroundImage", `url(${escape(src)})`);
4816
+ if (el.style.backgroundImage !== previousBackground) {
4823
4817
  trigger(el, createEvent("load", false));
4824
4818
  }
4825
4819
  }
@@ -4918,6 +4912,7 @@
4918
4912
  [...toNodes(target), document.documentElement],
4919
4913
  handler
4920
4914
  );
4915
+ const transitionObserver = observeResize([], handler);
4921
4916
  const listener = [
4922
4917
  on(document, "scroll itemshown itemhidden", handler, {
4923
4918
  passive: true,
@@ -4925,11 +4920,11 @@
4925
4920
  }),
4926
4921
  on(document, "show hide transitionstart", (e) => {
4927
4922
  handler();
4928
- return observer.observe(e.target);
4923
+ return transitionObserver.observe(e.target);
4929
4924
  }),
4930
4925
  on(document, "shown hidden transitionend transitioncancel", (e) => {
4931
4926
  handler();
4932
- return observer.unobserve(e.target);
4927
+ return transitionObserver.unobserve(e.target);
4933
4928
  })
4934
4929
  ];
4935
4930
  return {
@@ -4937,6 +4932,7 @@
4937
4932
  unobserve: observer.unobserve.bind(observer),
4938
4933
  disconnect() {
4939
4934
  observer.disconnect();
4935
+ transitionObserver.disconnect();
4940
4936
  listener.forEach((off) => off());
4941
4937
  }
4942
4938
  };
@@ -5352,7 +5348,7 @@
5352
5348
  const dialog = modal.dialog(tmpl(options), options);
5353
5349
  return assign(
5354
5350
  new Promise((resolve) => {
5355
- const off = on(dialog.$el, "hide", () => resolve(hideFn()));
5351
+ const off = on(dialog.$el, "hide", () => resolve(hideFn()), { self: true });
5356
5352
  on(dialog.$el, "submit", "form", (e) => {
5357
5353
  e.preventDefault();
5358
5354
  resolve(submitFn(dialog));
@@ -5655,7 +5651,8 @@
5655
5651
  );
5656
5652
  if (!overflow[i - 1]) {
5657
5653
  const dir = i ? "Top" : "Left";
5658
- const percent = overflow[i] ? this.$el[`scroll${dir}`] / overflow[i] : 0;
5654
+ const position = this.$el[`scroll${dir}`] + (!i && isRtl ? overflow[i] : 0);
5655
+ const percent = overflow[i] ? position / overflow[i] : 0;
5659
5656
  const toValue = (value) => overflow[i] ? clamp((this.fadeDuration - value) / this.fadeDuration) : 1;
5660
5657
  css(this.$el, {
5661
5658
  "--uk-overflow-fade-start-opacity": toValue(percent),
@@ -5677,7 +5674,7 @@
5677
5674
  const { $el: el, threshold, $options } = this;
5678
5675
  let started;
5679
5676
  const off = on(document, pointerMove, move(e), pointerOptions);
5680
- on(document, [pointerUp, pointerCancel], end, { capture: true, once: true });
5677
+ once(document, [pointerUp, pointerCancel], end, true);
5681
5678
  function move(e2) {
5682
5679
  let origin = getEventPos(e2);
5683
5680
  let pos = origin;
@@ -6311,12 +6308,16 @@
6311
6308
  }
6312
6309
 
6313
6310
  function getMaxPathLength(el) {
6314
- return isVisible(el) ? Math.ceil(
6315
- Math.max(0, ...$$("[stroke]", el).map((stroke) => {
6316
- var _a;
6317
- return ((_a = stroke.getTotalLength) == null ? void 0 : _a.call(stroke)) || 0;
6318
- }))
6319
- ) : 0;
6311
+ try {
6312
+ return Math.ceil(
6313
+ Math.max(0, ...$$("[stroke]", el).map((stroke) => {
6314
+ var _a;
6315
+ return ((_a = stroke.getTotalLength) == null ? void 0 : _a.call(stroke)) || 0;
6316
+ }))
6317
+ );
6318
+ } catch {
6319
+ return 0;
6320
+ }
6320
6321
  }
6321
6322
 
6322
6323
  var svg = {
@@ -6360,7 +6361,13 @@
6360
6361
  methods: {
6361
6362
  async getSvg() {
6362
6363
  if (isTag(this.$el, "img") && !this.$el.complete && this.$el.loading === "lazy") {
6363
- await new Promise((resolve) => once(this.$el, "load", resolve));
6364
+ await new Promise(
6365
+ (resolve, reject) => once(
6366
+ this.$el,
6367
+ "load error",
6368
+ (event) => event.type === "load" ? resolve() : reject(event)
6369
+ )
6370
+ );
6364
6371
  }
6365
6372
  return parseSVG(await loadSVG(this.src), this.icon) || Promise.reject("SVG not found.");
6366
6373
  }
@@ -6468,7 +6475,7 @@
6468
6475
  name: "click keydown",
6469
6476
  delegate: ({ toggle }) => toggle,
6470
6477
  handler(e) {
6471
- if (!matches(e.current, selDisabled) && (e.type === "click" || e.keyCode === keyMap.SPACE)) {
6478
+ if (!e.defaultPrevented && !matches(e.current, selDisabled) && (e.type === "click" || e.keyCode === keyMap.SPACE)) {
6472
6479
  maybeDefaultPreventClick(e);
6473
6480
  this.show(e.current);
6474
6481
  }