uikit 3.15.8 → 3.15.9-dev.d605a4e5a

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 (43) hide show
  1. package/CHANGELOG.md +6 -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 +1 -1
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +1 -1
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +1 -1
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +1 -1
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +1 -1
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +1 -1
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +8 -11
  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 +2 -2
  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 +9 -12
  41. package/dist/js/uikit.min.js +2 -2
  42. package/package.json +1 -1
  43. package/src/js/components/tooltip.js +6 -9
@@ -1 +1 @@
1
- /*! UIkit 3.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(s,p){typeof exports=="object"&&typeof module<"u"?module.exports=p(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],p):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow=p(s.UIkit.util))})(this,function(s){"use strict";var p={connected(){s.addClass(this.$el,this.$options.id)}},z={slide:{show(t){return[{transform:h(t*-100)},{transform:h()}]},percent(t){return v(t)},translate(t,e){return[{transform:h(e*-100*t)},{transform:h(e*100*(1-t))}]}}};function v(t){return Math.abs(s.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function h(t,e){return t===void 0&&(t=0),e===void 0&&(e="%"),t+=t?e:"","translate3d("+t+", 0, 0)"}function b(t){return"scale3d("+t+", "+t+", 1)"}function $(t,e,n,i){let{animation:l,easing:r}=i;const{percent:a,translate:f,show:c=s.noop}=l,g=c(n),m=new s.Deferred;return{dir:n,show(o,d,L){d===void 0&&(d=0);const x=L?"linear":r;return o-=Math.round(o*s.clamp(d,-1,1)),this.translate(d),u(e,"itemin",{percent:d,duration:o,timing:x,dir:n}),u(t,"itemout",{percent:1-d,duration:o,timing:x,dir:n}),Promise.all([s.Transition.start(e,g[1],o,x),s.Transition.start(t,g[0],o,x)]).then(()=>{this.reset(),m.resolve()},s.noop),m.promise},cancel(){s.Transition.cancel([e,t])},reset(){for(const o in g[0])s.css([e,t],o,"")},forward(o,d){return d===void 0&&(d=this.percent()),s.Transition.cancel([e,t]),this.show(o,d,!0)},translate(o){this.reset();const d=f(o,n);s.css(e,d[1]),s.css(t,d[0]),u(e,"itemtranslatein",{percent:o,dir:n}),u(t,"itemtranslateout",{percent:1-o,dir:n})},percent(){return a(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function u(t,e,n){s.trigger(t,s.createEvent(e,!1,!1,n))}var S={connected(){var t;this.registerObserver(s.observeResize(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},N={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){s.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>(!this.draggable||!s.$(":focus",this.$el))&&(!this.pauseOnHover||!s.matches(this.$el,":hover"))&&!this.stack.length&&this.show("next"),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const I={passive:!1,capture:!0},y={passive:!0,capture:!0},T="touchstart mousedown",w="touchmove mousemove",A="touchend touchcancel mouseup click input scroll";var D={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const i=s.getEventPos(n).x*(s.isRtl?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(n)}}},events:[{name:T,passive:!0,delegate(){return this.selSlides},handler(t){!this.draggable||!s.isTouch(t)&&C(t.target)||s.closest(t.target,s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:w,el(){return this.list},handler:s.noop,...I}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,s.on(document,w,this.move,I),s.on(document,A,this.end,y),s.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;s.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:i}=this,l=Math.abs(e),r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;for(;r!==i&&l>a;)this.drag-=a*this.dir,i=r,l-=a,r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;this.percent=l/a;const f=n[i],c=n[r],g=this.index!==r,m=i===r;let o;[this.index,this.prevIndex].filter(d=>!s.includes([r,i],d)).forEach(d=>{s.trigger(n[d],"itemhidden",[this]),m&&(o=!0,this.prevIndex=i)}),(this.index===i&&this.prevIndex!==i||o)&&s.trigger(n[this.index],"itemshown",[this]),g&&(this.prevIndex=i,this.index=r,!m&&s.trigger(f,"beforeitemhide",[this]),s.trigger(c,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),f,!m&&c),g&&(!m&&s.trigger(f,"itemhide",[this]),s.trigger(c,"itemshow",[this]))},end(){if(s.off(document,w,this.move,I),s.off(document,A,this.end,y),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(s.isRtl?this.dir*(s.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function C(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var H={data:{selNav:!1},computed:{nav(t,e){let{selNav:n}=t;return s.$(n,e)},selNavItem(t){let{attrItem:e}=t;return"["+e+"],[data-"+e+"]"},navItems(t,e){return s.$$(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>"<li "+this.attrItem+'="'+e+'"><a href></a></li>').join("")),this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(s.data(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=s.data(e,this.attrItem);s.toggleClass(e,this.clsActive,s.toNumber(n)===t),s.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}}}},M={mixins:[N,D,H,S],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){s.removeClass(this.slides,this.clsActive)},computed:{duration(t,e){let{velocity:n}=t;return P(e.offsetWidth/n)},list(t,e){let{selList:n}=t;return s.$(n,e)},maxIndex(){return this.length-1},selSlides(t){let{selList:e,selSlides:n}=t;return e+" "+(n||"> *")},slides:{get(){return s.$$(this.selSlides,this.$el)},watch(){this.$emit("resize")}},length(){return this.slides.length}},methods:{show(t,e){if(e===void 0&&(e=!1),this.dragging||!this.length)return;const{stack:n}=this,i=e?0:n.length,l=()=>{n.splice(i,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1){n.length===2&&this._transitioner.forward(Math.min(this.duration,200));return}const r=this.getIndex(this.index),a=s.hasClass(this.slides,this.clsActive)&&this.slides[r],f=this.getIndex(t,this.index),c=this.slides[f];if(a===c){l();return}if(this.dir=O(t,r),this.prevIndex=r,this.index=f,a&&!s.trigger(a,"beforeitemhide",[this])||!s.trigger(c,"beforeitemshow",[this,a])){this.index=this.prevIndex,l();return}const g=this._show(a,c,e).then(()=>(a&&s.trigger(a,"itemhidden",[this]),s.trigger(c,"itemshown",[this]),new Promise(m=>{requestAnimationFrame(()=>{n.shift(),n.length?this.show(n.shift(),!0):this._transitioner=null,m()})})));return a&&s.trigger(a,"itemhide",[this]),s.trigger(c,"itemshow",[this]),g},getIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.index),s.clamp(s.getIndex(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),this.getIndex(t,e)},_show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!n&&!t)return this._translate(1),Promise.resolve();const{length:i}=this.stack;return this._transitioner[i>1?"forward":"show"](i>1?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e,n){e===void 0&&(e=this.prevIndex),n===void 0&&(n=this.index);const i=this._getTransitioner(e!==n?e:!1,n);return i.translate(t),i},_getTransitioner(t,e,n,i){return t===void 0&&(t=this.prevIndex),e===void 0&&(e=this.index),n===void 0&&(n=this.dir||1),i===void 0&&(i=this.transitionOptions),new this.Transitioner(s.isNumber(t)?this.slides[t]:t,s.isNumber(e)?this.slides[e]:e,n*(s.isRtl?-1:1),i)}}};function O(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function P(t){return .5*t+300}var E={mixins:[M],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:z,Transitioner:$},computed:{animation(t){let{animation:e,Animations:n}=t;return{...n[e]||n.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow(t){let{target:e}=t;s.addClass(e,this.clsActive)},itemshown(t){let{target:e}=t;s.addClass(e,this.clsActivated)},itemhidden(t){let{target:e}=t;s.removeClass(e,this.clsActive,this.clsActivated)}}},R={...z,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:b(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:b(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:h(30),zIndex:-1},{transform:h(),zIndex:0}]:[{transform:h(-100),zIndex:0},{transform:h(),zIndex:-1}]},percent(t,e,n){return n<0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(30*t),zIndex:-1},{transform:h(-100*(1-t)),zIndex:0}]:[{transform:h(-t*100),zIndex:0},{transform:h(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:h(100),zIndex:0},{transform:h(),zIndex:-1}]:[{transform:h(-30),zIndex:-1},{transform:h(),zIndex:0}]},percent(t,e,n){return n>0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(t*100),zIndex:0},{transform:h(-30*(1-t)),zIndex:-1}]:[{transform:h(-30*t),zIndex:-1},{transform:h(100*(1-t)),zIndex:0}]}}},W={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},j={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(s.observeIntersection(t,(n,i)=>{for(const l of s.toNodes(s.isFunction(e)?e():e))s.$$('[loading="lazy"]',l).slice(0,this.preload-1).forEach(r=>s.removeAttr(r,"loading"));for(const l of n.filter(r=>{let{isIntersecting:a}=r;return a}).map(r=>{let{target:a}=r;return a}))i.unobserve(l)}))}}},B={mixins:[j],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}},_={mixins:[p,E,W,B],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:R},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-s.boxModelAdjust(this.list,"height","content-box")}},write(t){let{height:e}=t;e>0&&s.css(this.list,"minHeight",e)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",_),_});
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(s,p){typeof exports=="object"&&typeof module<"u"?module.exports=p(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],p):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow=p(s.UIkit.util))})(this,function(s){"use strict";var p={connected(){s.addClass(this.$el,this.$options.id)}},z={slide:{show(t){return[{transform:h(t*-100)},{transform:h()}]},percent(t){return v(t)},translate(t,e){return[{transform:h(e*-100*t)},{transform:h(e*100*(1-t))}]}}};function v(t){return Math.abs(s.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function h(t,e){return t===void 0&&(t=0),e===void 0&&(e="%"),t+=t?e:"","translate3d("+t+", 0, 0)"}function b(t){return"scale3d("+t+", "+t+", 1)"}function $(t,e,n,i){let{animation:l,easing:r}=i;const{percent:a,translate:f,show:c=s.noop}=l,g=c(n),m=new s.Deferred;return{dir:n,show(o,d,L){d===void 0&&(d=0);const x=L?"linear":r;return o-=Math.round(o*s.clamp(d,-1,1)),this.translate(d),u(e,"itemin",{percent:d,duration:o,timing:x,dir:n}),u(t,"itemout",{percent:1-d,duration:o,timing:x,dir:n}),Promise.all([s.Transition.start(e,g[1],o,x),s.Transition.start(t,g[0],o,x)]).then(()=>{this.reset(),m.resolve()},s.noop),m.promise},cancel(){s.Transition.cancel([e,t])},reset(){for(const o in g[0])s.css([e,t],o,"")},forward(o,d){return d===void 0&&(d=this.percent()),s.Transition.cancel([e,t]),this.show(o,d,!0)},translate(o){this.reset();const d=f(o,n);s.css(e,d[1]),s.css(t,d[0]),u(e,"itemtranslatein",{percent:o,dir:n}),u(t,"itemtranslateout",{percent:1-o,dir:n})},percent(){return a(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function u(t,e,n){s.trigger(t,s.createEvent(e,!1,!1,n))}var S={connected(){var t;this.registerObserver(s.observeResize(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},N={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){s.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>(!this.draggable||!s.$(":focus",this.$el))&&(!this.pauseOnHover||!s.matches(this.$el,":hover"))&&!this.stack.length&&this.show("next"),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const I={passive:!1,capture:!0},y={passive:!0,capture:!0},T="touchstart mousedown",w="touchmove mousemove",A="touchend touchcancel mouseup click input scroll";var D={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const i=s.getEventPos(n).x*(s.isRtl?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(n)}}},events:[{name:T,passive:!0,delegate(){return this.selSlides},handler(t){!this.draggable||!s.isTouch(t)&&C(t.target)||s.closest(t.target,s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:w,el(){return this.list},handler:s.noop,...I}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,s.on(document,w,this.move,I),s.on(document,A,this.end,y),s.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;s.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:i}=this,l=Math.abs(e),r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;for(;r!==i&&l>a;)this.drag-=a*this.dir,i=r,l-=a,r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;this.percent=l/a;const f=n[i],c=n[r],g=this.index!==r,m=i===r;let o;[this.index,this.prevIndex].filter(d=>!s.includes([r,i],d)).forEach(d=>{s.trigger(n[d],"itemhidden",[this]),m&&(o=!0,this.prevIndex=i)}),(this.index===i&&this.prevIndex!==i||o)&&s.trigger(n[this.index],"itemshown",[this]),g&&(this.prevIndex=i,this.index=r,!m&&s.trigger(f,"beforeitemhide",[this]),s.trigger(c,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),f,!m&&c),g&&(!m&&s.trigger(f,"itemhide",[this]),s.trigger(c,"itemshow",[this]))},end(){if(s.off(document,w,this.move,I),s.off(document,A,this.end,y),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(s.isRtl?this.dir*(s.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function C(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var H={data:{selNav:!1},computed:{nav(t,e){let{selNav:n}=t;return s.$(n,e)},selNavItem(t){let{attrItem:e}=t;return"["+e+"],[data-"+e+"]"},navItems(t,e){return s.$$(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>"<li "+this.attrItem+'="'+e+'"><a href></a></li>').join("")),this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(s.data(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=s.data(e,this.attrItem);s.toggleClass(e,this.clsActive,s.toNumber(n)===t),s.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}}}},M={mixins:[N,D,H,S],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){s.removeClass(this.slides,this.clsActive)},computed:{duration(t,e){let{velocity:n}=t;return P(e.offsetWidth/n)},list(t,e){let{selList:n}=t;return s.$(n,e)},maxIndex(){return this.length-1},selSlides(t){let{selList:e,selSlides:n}=t;return e+" "+(n||"> *")},slides:{get(){return s.$$(this.selSlides,this.$el)},watch(){this.$emit("resize")}},length(){return this.slides.length}},methods:{show(t,e){if(e===void 0&&(e=!1),this.dragging||!this.length)return;const{stack:n}=this,i=e?0:n.length,l=()=>{n.splice(i,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1){n.length===2&&this._transitioner.forward(Math.min(this.duration,200));return}const r=this.getIndex(this.index),a=s.hasClass(this.slides,this.clsActive)&&this.slides[r],f=this.getIndex(t,this.index),c=this.slides[f];if(a===c){l();return}if(this.dir=O(t,r),this.prevIndex=r,this.index=f,a&&!s.trigger(a,"beforeitemhide",[this])||!s.trigger(c,"beforeitemshow",[this,a])){this.index=this.prevIndex,l();return}const g=this._show(a,c,e).then(()=>(a&&s.trigger(a,"itemhidden",[this]),s.trigger(c,"itemshown",[this]),new Promise(m=>{requestAnimationFrame(()=>{n.shift(),n.length?this.show(n.shift(),!0):this._transitioner=null,m()})})));return a&&s.trigger(a,"itemhide",[this]),s.trigger(c,"itemshow",[this]),g},getIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.index),s.clamp(s.getIndex(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),this.getIndex(t,e)},_show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!n&&!t)return this._translate(1),Promise.resolve();const{length:i}=this.stack;return this._transitioner[i>1?"forward":"show"](i>1?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e,n){e===void 0&&(e=this.prevIndex),n===void 0&&(n=this.index);const i=this._getTransitioner(e!==n?e:!1,n);return i.translate(t),i},_getTransitioner(t,e,n,i){return t===void 0&&(t=this.prevIndex),e===void 0&&(e=this.index),n===void 0&&(n=this.dir||1),i===void 0&&(i=this.transitionOptions),new this.Transitioner(s.isNumber(t)?this.slides[t]:t,s.isNumber(e)?this.slides[e]:e,n*(s.isRtl?-1:1),i)}}};function O(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function P(t){return .5*t+300}var E={mixins:[M],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:z,Transitioner:$},computed:{animation(t){let{animation:e,Animations:n}=t;return{...n[e]||n.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow(t){let{target:e}=t;s.addClass(e,this.clsActive)},itemshown(t){let{target:e}=t;s.addClass(e,this.clsActivated)},itemhidden(t){let{target:e}=t;s.removeClass(e,this.clsActive,this.clsActivated)}}},R={...z,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:b(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:b(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:h(30),zIndex:-1},{transform:h(),zIndex:0}]:[{transform:h(-100),zIndex:0},{transform:h(),zIndex:-1}]},percent(t,e,n){return n<0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(30*t),zIndex:-1},{transform:h(-100*(1-t)),zIndex:0}]:[{transform:h(-t*100),zIndex:0},{transform:h(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:h(100),zIndex:0},{transform:h(),zIndex:-1}]:[{transform:h(-30),zIndex:-1},{transform:h(),zIndex:0}]},percent(t,e,n){return n>0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(t*100),zIndex:0},{transform:h(-30*(1-t)),zIndex:-1}]:[{transform:h(-30*t),zIndex:-1},{transform:h(100*(1-t)),zIndex:0}]}}},W={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},j={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(s.observeIntersection(t,(n,i)=>{for(const l of s.toNodes(s.isFunction(e)?e():e))s.$$('[loading="lazy"]',l).slice(0,this.preload-1).forEach(r=>s.removeAttr(r,"loading"));for(const l of n.filter(r=>{let{isIntersecting:a}=r;return a}).map(r=>{let{target:a}=r;return a}))i.unobserve(l)}))}}},B={mixins:[j],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}},_={mixins:[p,E,W,B],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:R},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-s.boxModelAdjust(this.list,"height","content-box")}},write(t){let{height:e}=t;e>0&&s.css(this.list,"minHeight",e)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",_),_});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 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.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(e,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitsortable",["uikit-util"],g):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSortable=g(e.UIkit.util))})(this,function(e){"use strict";function g(n){return B(n,"top","bottom")}function B(n,s,o){const t=[[]];for(const c of n){if(!e.isVisible(c))continue;let a=u(c);for(let r=t.length-1;r>=0;r--){const h=t[r];if(!h[0]){h.push(c);break}let d;if(h[0].offsetParent===c.offsetParent?d=u(h[0]):(a=u(c,!0),d=u(h[0],!0)),a[s]>=d[o]-1&&a[s]!==d[s]){t.push([c]);break}if(a[o]-1>d[s]||a[s]===d[s]){h.push(c);break}if(r===0){t.unshift([c]);break}}}return t}function u(n,s){s===void 0&&(s=!1);let{offsetTop:o,offsetLeft:t,offsetHeight:c,offsetWidth:a}=n;return s&&([o,t]=e.offsetPosition(n)),{top:o,left:t,bottom:o+c,right:t+a}}const w="uk-transition-leave",b="uk-transition-enter";function y(n,s,o,t){t===void 0&&(t=0);const c=v(s,!0),a={opacity:1},r={opacity:0},h=f=>()=>c===v(s)?f():Promise.reject(),d=h(async()=>{e.addClass(s,w),await Promise.all(C(s).map((f,p)=>new Promise(l=>setTimeout(()=>e.Transition.start(f,r,o/2,"ease").then(l),p*t)))),e.removeClass(s,w)}),i=h(async()=>{const f=e.height(s);e.addClass(s,b),n(),e.css(e.children(s),{opacity:0}),await R();const p=e.children(s),l=e.height(s);e.css(s,"alignContent","flex-start"),e.height(s,f);const m=C(s);e.css(p,r);const F=m.map(async(G,J)=>{await L(J*t),await e.Transition.start(G,a,o/2,"ease")});f!==l&&F.push(e.Transition.start(s,{height:l},o/2+m.length*t,"ease")),await Promise.all(F).then(()=>{e.removeClass(s,b),c===v(s)&&(e.css(s,{height:"",alignContent:""}),e.css(p,{opacity:""}),delete s.dataset.transition)})});return e.hasClass(s,w)?T(s).then(i):e.hasClass(s,b)?T(s).then(d).then(i):d().then(i)}function v(n,s){return s&&(n.dataset.transition=1+v(n)),e.toNumber(n.dataset.transition)||0}function T(n){return Promise.all(e.children(n).filter(e.Transition.inProgress).map(s=>new Promise(o=>e.once(s,"transitionend transitioncanceled",o))))}function C(n){return g(e.children(n)).reduce((s,o)=>s.concat(e.sortBy(o.filter(t=>e.isInView(t)),"offsetLeft")),[])}function R(){return new Promise(n=>requestAnimationFrame(n))}function L(n){return new Promise(s=>setTimeout(s,n))}async function z(n,s,o){await I();let t=e.children(s);const c=t.map(f=>P(f,!0)),a=e.css(s,["height","padding"]);e.Transition.cancel(s),t.forEach(e.Transition.cancel),S(s),n(),t=t.concat(e.children(s).filter(f=>!e.includes(t,f))),await Promise.resolve(),e.fastdom.flush();const r=e.css(s,["height","padding"]),[h,d]=H(s,t,c);t.forEach((f,p)=>d[p]&&e.css(f,d[p])),e.css(s,{display:"block",...a}),await I();const i=t.map((f,p)=>e.parent(f)===s&&e.Transition.start(f,h[p],o,"ease")).concat(e.Transition.start(s,r,o,"ease"));await Promise.all(i).then(()=>{t.forEach((f,p)=>e.parent(f)===s&&e.css(f,"display",h[p].opacity===0?"none":"")),S(s)},e.noop)}function P(n,s){const o=e.css(n,"zIndex");return e.isVisible(n)?{display:"",opacity:s?e.css(n,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:o==="auto"?e.index(n):o,...x(n)}:!1}function H(n,s,o){const t=s.map((a,r)=>e.parent(a)&&r in o?o[r]?e.isVisible(a)?x(a):{opacity:0}:{opacity:e.isVisible(a)?1:0}:!1),c=t.map((a,r)=>{const h=e.parent(s[r])===n&&(o[r]||P(s[r]));if(!h)return!1;if(!a)delete h.opacity;else if(!("opacity"in a)){const{opacity:d}=h;d%1?a.opacity=1:delete h.opacity}return h});return[t,c]}function S(n){e.css(n.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",marginTop:"",marginLeft:"",transform:"",width:"",zIndex:""}),e.css(n,{height:"",display:"",padding:""})}function x(n){const{height:s,width:o}=e.offset(n),{top:t,left:c}=e.position(n),{marginLeft:a,marginTop:r}=e.css(n,["marginTop","marginLeft"]);return{top:t,left:c,height:s,width:o,marginLeft:a,marginTop:r,transform:""}}function I(){return new Promise(n=>requestAnimationFrame(n))}var N={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(n,s){s===void 0&&(s=this.$el);const o=this.animation;return(o==="fade"?y:o==="delayed-fade"?function(){for(var c=arguments.length,a=new Array(c),r=0;r<c;r++)a[r]=arguments[r];return y(...a,40)}:o?z:()=>(n(),Promise.resolve()))(n,s,this.duration).then(()=>this.$update(s,"resize"),e.noop)}}},A={connected(){e.addClass(this.$el,this.$options.id)}},$={mixins:[A,N],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const n of["init","start","move","end"]){const s=this[n];this[n]=o=>{e.assign(this.pos,e.getEventPos(o)),s(o)}}},events:{name:e.pointerDown,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return e.children(this.target)},isEmpty:{get(){return e.isEmpty(this.items)},watch(n){e.toggleClass(this.target,this.clsEmpty,n)},immediate:!0},handles:{get(n,s){let{handle:o}=n;return o?e.$$(o,s):this.items},watch(n,s){e.css(s,{touchAction:"",userSelect:""}),e.css(n,{touchAction:e.hasTouch?"none":"",userSelect:"none"})},immediate:!0}},update:{write(n){if(!this.drag||!e.parent(this.placeholder))return;const{pos:{x:s,y:o},origin:{offsetTop:t,offsetLeft:c},placeholder:a}=this;e.css(this.drag,{top:o-t,left:s-c});const r=this.getSortable(document.elementFromPoint(s,o));if(!r)return;const{items:h}=r;if(h.some(e.Transition.inProgress))return;const d=W(h,{x:s,y:o});if(h.length&&(!d||d===a))return;const i=this.getSortable(a),f=j(r.target,d,a,s,o,r===i&&n.moved!==d);f!==!1&&(f&&a===f||(r!==i?(i.remove(a),n.moved=d):delete n.moved,r.insert(a,f),this.touched.add(r)))},events:["move"]},methods:{init(n){const{target:s,button:o,defaultPrevented:t}=n,[c]=this.items.filter(a=>e.within(s,a));!c||t||o>0||e.isInput(s)||e.within(s,"."+this.clsNoDrag)||this.handle&&!e.within(s,this.handle)||(n.preventDefault(),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,e.pointerUp,this.end),this.threshold||this.start(n))},start(n){this.drag=q(this.$container,this.placeholder);const{left:s,top:o}=this.placeholder.getBoundingClientRect();e.assign(this.origin,{offsetLeft:this.pos.x-s,offsetTop:this.pos.y-o}),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]),M(this.pos),this.move(n)},move(n){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(n)},end(){if(e.off(document,e.pointerMove,this.move),e.off(document,e.pointerUp,this.end),!this.drag)return;V();const n=this.getSortable(this.placeholder);this===n?this.origin.index!==e.index(this.placeholder)&&e.trigger(this.$el,"moved",[this,this.placeholder]):(e.trigger(n.$el,"added",[n,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:o}of this.touched)for(const t of this.touched)e.removeClass(t.items,s,o);this.touched=null,e.removeClass(document.documentElement,this.clsDragState)},insert(n,s){e.addClass(this.items,this.clsItem);const o=()=>s?e.before(s,n):e.append(this.target,n);this.animate(o)},remove(n){!e.within(n,this.target)||this.animate(()=>e.remove(n))},getSortable(n){do{const s=this.$getComponent(n,"sortable");if(s&&(s===this||this.group!==!1&&s.group===this.group))return s}while(n=e.parent(n))}}};let D;function M(n){let s=Date.now();D=setInterval(()=>{let{x:o,y:t}=n;t+=document.scrollingElement.scrollTop;const c=(Date.now()-s)*.3;s=Date.now(),e.scrollParents(document.elementFromPoint(o,n.y),/auto|scroll/).reverse().some(a=>{let{scrollTop:r,scrollHeight:h}=a;const{top:d,bottom:i,height:f}=e.offsetViewport(a);if(d<t&&d+35>t)r-=c;else if(i>t&&i-35<t)r+=c;else return;if(r>0&&r<h-f)return a.scrollTop=r,!0})},15)}function V(){clearInterval(D)}function q(n,s){const o=e.append(n,s.outerHTML.replace(/(^<)(?:li|tr)|(?:li|tr)(\/>$)/g,"$1div$2"));return e.css(o,"margin","0","important"),e.css(o,{boxSizing:"border-box",width:s.offsetWidth,height:s.offsetHeight,padding:e.css(s,"padding")}),e.height(o.firstElementChild,e.height(s.firstElementChild)),o}function W(n,s){return n[e.findIndex(n,o=>e.pointInRect(s,o.getBoundingClientRect()))]}function j(n,s,o,t,c,a){if(!e.children(n).length)return;const r=s.getBoundingClientRect();if(!a)return O(n,o)||c<r.top+r.height/2?s:s.nextElementSibling;const h=o.getBoundingClientRect(),d=E([r.top,r.bottom],[h.top,h.bottom]),i=d?t:c,f=d?"width":"height",p=d?"left":"top",l=d?"right":"bottom",m=h[f]<r[f]?r[f]-h[f]:0;return h[p]<r[p]?m&&i<r[p]+m?!1:s.nextElementSibling:m&&i>r[l]-m?!1:s}function O(n,s){const o=e.children(n).length===1;o&&e.append(n,s);const t=e.children(n),c=t.some((a,r)=>{const h=a.getBoundingClientRect();return t.slice(r+1).some(d=>{const i=d.getBoundingClientRect();return!E([h.left,h.right],[i.left,i.right])})});return o&&e.remove(s),c}function E(n,s){return n[1]>s[0]&&s[1]>n[0]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sortable",$),$});
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(e,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitsortable",["uikit-util"],g):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSortable=g(e.UIkit.util))})(this,function(e){"use strict";function g(n){return B(n,"top","bottom")}function B(n,s,o){const t=[[]];for(const c of n){if(!e.isVisible(c))continue;let a=u(c);for(let r=t.length-1;r>=0;r--){const h=t[r];if(!h[0]){h.push(c);break}let d;if(h[0].offsetParent===c.offsetParent?d=u(h[0]):(a=u(c,!0),d=u(h[0],!0)),a[s]>=d[o]-1&&a[s]!==d[s]){t.push([c]);break}if(a[o]-1>d[s]||a[s]===d[s]){h.push(c);break}if(r===0){t.unshift([c]);break}}}return t}function u(n,s){s===void 0&&(s=!1);let{offsetTop:o,offsetLeft:t,offsetHeight:c,offsetWidth:a}=n;return s&&([o,t]=e.offsetPosition(n)),{top:o,left:t,bottom:o+c,right:t+a}}const w="uk-transition-leave",b="uk-transition-enter";function y(n,s,o,t){t===void 0&&(t=0);const c=v(s,!0),a={opacity:1},r={opacity:0},h=f=>()=>c===v(s)?f():Promise.reject(),d=h(async()=>{e.addClass(s,w),await Promise.all(C(s).map((f,p)=>new Promise(l=>setTimeout(()=>e.Transition.start(f,r,o/2,"ease").then(l),p*t)))),e.removeClass(s,w)}),i=h(async()=>{const f=e.height(s);e.addClass(s,b),n(),e.css(e.children(s),{opacity:0}),await R();const p=e.children(s),l=e.height(s);e.css(s,"alignContent","flex-start"),e.height(s,f);const m=C(s);e.css(p,r);const F=m.map(async(G,J)=>{await L(J*t),await e.Transition.start(G,a,o/2,"ease")});f!==l&&F.push(e.Transition.start(s,{height:l},o/2+m.length*t,"ease")),await Promise.all(F).then(()=>{e.removeClass(s,b),c===v(s)&&(e.css(s,{height:"",alignContent:""}),e.css(p,{opacity:""}),delete s.dataset.transition)})});return e.hasClass(s,w)?T(s).then(i):e.hasClass(s,b)?T(s).then(d).then(i):d().then(i)}function v(n,s){return s&&(n.dataset.transition=1+v(n)),e.toNumber(n.dataset.transition)||0}function T(n){return Promise.all(e.children(n).filter(e.Transition.inProgress).map(s=>new Promise(o=>e.once(s,"transitionend transitioncanceled",o))))}function C(n){return g(e.children(n)).reduce((s,o)=>s.concat(e.sortBy(o.filter(t=>e.isInView(t)),"offsetLeft")),[])}function R(){return new Promise(n=>requestAnimationFrame(n))}function L(n){return new Promise(s=>setTimeout(s,n))}async function z(n,s,o){await I();let t=e.children(s);const c=t.map(f=>P(f,!0)),a=e.css(s,["height","padding"]);e.Transition.cancel(s),t.forEach(e.Transition.cancel),S(s),n(),t=t.concat(e.children(s).filter(f=>!e.includes(t,f))),await Promise.resolve(),e.fastdom.flush();const r=e.css(s,["height","padding"]),[h,d]=H(s,t,c);t.forEach((f,p)=>d[p]&&e.css(f,d[p])),e.css(s,{display:"block",...a}),await I();const i=t.map((f,p)=>e.parent(f)===s&&e.Transition.start(f,h[p],o,"ease")).concat(e.Transition.start(s,r,o,"ease"));await Promise.all(i).then(()=>{t.forEach((f,p)=>e.parent(f)===s&&e.css(f,"display",h[p].opacity===0?"none":"")),S(s)},e.noop)}function P(n,s){const o=e.css(n,"zIndex");return e.isVisible(n)?{display:"",opacity:s?e.css(n,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:o==="auto"?e.index(n):o,...x(n)}:!1}function H(n,s,o){const t=s.map((a,r)=>e.parent(a)&&r in o?o[r]?e.isVisible(a)?x(a):{opacity:0}:{opacity:e.isVisible(a)?1:0}:!1),c=t.map((a,r)=>{const h=e.parent(s[r])===n&&(o[r]||P(s[r]));if(!h)return!1;if(!a)delete h.opacity;else if(!("opacity"in a)){const{opacity:d}=h;d%1?a.opacity=1:delete h.opacity}return h});return[t,c]}function S(n){e.css(n.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",marginTop:"",marginLeft:"",transform:"",width:"",zIndex:""}),e.css(n,{height:"",display:"",padding:""})}function x(n){const{height:s,width:o}=e.offset(n),{top:t,left:c}=e.position(n),{marginLeft:a,marginTop:r}=e.css(n,["marginTop","marginLeft"]);return{top:t,left:c,height:s,width:o,marginLeft:a,marginTop:r,transform:""}}function I(){return new Promise(n=>requestAnimationFrame(n))}var N={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(n,s){s===void 0&&(s=this.$el);const o=this.animation;return(o==="fade"?y:o==="delayed-fade"?function(){for(var c=arguments.length,a=new Array(c),r=0;r<c;r++)a[r]=arguments[r];return y(...a,40)}:o?z:()=>(n(),Promise.resolve()))(n,s,this.duration).then(()=>this.$update(s,"resize"),e.noop)}}},A={connected(){e.addClass(this.$el,this.$options.id)}},$={mixins:[A,N],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const n of["init","start","move","end"]){const s=this[n];this[n]=o=>{e.assign(this.pos,e.getEventPos(o)),s(o)}}},events:{name:e.pointerDown,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return e.children(this.target)},isEmpty:{get(){return e.isEmpty(this.items)},watch(n){e.toggleClass(this.target,this.clsEmpty,n)},immediate:!0},handles:{get(n,s){let{handle:o}=n;return o?e.$$(o,s):this.items},watch(n,s){e.css(s,{touchAction:"",userSelect:""}),e.css(n,{touchAction:e.hasTouch?"none":"",userSelect:"none"})},immediate:!0}},update:{write(n){if(!this.drag||!e.parent(this.placeholder))return;const{pos:{x:s,y:o},origin:{offsetTop:t,offsetLeft:c},placeholder:a}=this;e.css(this.drag,{top:o-t,left:s-c});const r=this.getSortable(document.elementFromPoint(s,o));if(!r)return;const{items:h}=r;if(h.some(e.Transition.inProgress))return;const d=W(h,{x:s,y:o});if(h.length&&(!d||d===a))return;const i=this.getSortable(a),f=j(r.target,d,a,s,o,r===i&&n.moved!==d);f!==!1&&(f&&a===f||(r!==i?(i.remove(a),n.moved=d):delete n.moved,r.insert(a,f),this.touched.add(r)))},events:["move"]},methods:{init(n){const{target:s,button:o,defaultPrevented:t}=n,[c]=this.items.filter(a=>e.within(s,a));!c||t||o>0||e.isInput(s)||e.within(s,"."+this.clsNoDrag)||this.handle&&!e.within(s,this.handle)||(n.preventDefault(),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,e.pointerUp,this.end),this.threshold||this.start(n))},start(n){this.drag=q(this.$container,this.placeholder);const{left:s,top:o}=this.placeholder.getBoundingClientRect();e.assign(this.origin,{offsetLeft:this.pos.x-s,offsetTop:this.pos.y-o}),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]),M(this.pos),this.move(n)},move(n){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(n)},end(){if(e.off(document,e.pointerMove,this.move),e.off(document,e.pointerUp,this.end),!this.drag)return;V();const n=this.getSortable(this.placeholder);this===n?this.origin.index!==e.index(this.placeholder)&&e.trigger(this.$el,"moved",[this,this.placeholder]):(e.trigger(n.$el,"added",[n,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:o}of this.touched)for(const t of this.touched)e.removeClass(t.items,s,o);this.touched=null,e.removeClass(document.documentElement,this.clsDragState)},insert(n,s){e.addClass(this.items,this.clsItem);const o=()=>s?e.before(s,n):e.append(this.target,n);this.animate(o)},remove(n){!e.within(n,this.target)||this.animate(()=>e.remove(n))},getSortable(n){do{const s=this.$getComponent(n,"sortable");if(s&&(s===this||this.group!==!1&&s.group===this.group))return s}while(n=e.parent(n))}}};let D;function M(n){let s=Date.now();D=setInterval(()=>{let{x:o,y:t}=n;t+=document.scrollingElement.scrollTop;const c=(Date.now()-s)*.3;s=Date.now(),e.scrollParents(document.elementFromPoint(o,n.y),/auto|scroll/).reverse().some(a=>{let{scrollTop:r,scrollHeight:h}=a;const{top:d,bottom:i,height:f}=e.offsetViewport(a);if(d<t&&d+35>t)r-=c;else if(i>t&&i-35<t)r+=c;else return;if(r>0&&r<h-f)return a.scrollTop=r,!0})},15)}function V(){clearInterval(D)}function q(n,s){const o=e.append(n,s.outerHTML.replace(/(^<)(?:li|tr)|(?:li|tr)(\/>$)/g,"$1div$2"));return e.css(o,"margin","0","important"),e.css(o,{boxSizing:"border-box",width:s.offsetWidth,height:s.offsetHeight,padding:e.css(s,"padding")}),e.height(o.firstElementChild,e.height(s.firstElementChild)),o}function W(n,s){return n[e.findIndex(n,o=>e.pointInRect(s,o.getBoundingClientRect()))]}function j(n,s,o,t,c,a){if(!e.children(n).length)return;const r=s.getBoundingClientRect();if(!a)return O(n,o)||c<r.top+r.height/2?s:s.nextElementSibling;const h=o.getBoundingClientRect(),d=E([r.top,r.bottom],[h.top,h.bottom]),i=d?t:c,f=d?"width":"height",p=d?"left":"top",l=d?"right":"bottom",m=h[f]<r[f]?r[f]-h[f]:0;return h[p]<r[p]?m&&i<r[p]+m?!1:s.nextElementSibling:m&&i>r[l]-m?!1:s}function O(n,s){const o=e.children(n).length===1;o&&e.append(n,s);const t=e.children(n),c=t.some((a,r)=>{const h=a.getBoundingClientRect();return t.slice(r+1).some(d=>{const i=d.getBoundingClientRect();return!E([h.left,h.right],[i.left,i.right])})});return o&&e.remove(s),c}function E(n,s){return n[1]>s[0]&&s[1]>n[0]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sortable",$),$});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -364,9 +364,12 @@
364
364
 
365
365
 
366
366
  beforeConnect() {
367
+ this.id = "uk-tooltip-" + this._uid;
367
368
  this._hasTitle = uikitUtil.hasAttr(this.$el, 'title');
368
- uikitUtil.attr(this.$el, 'title', '');
369
- this.updateAria(false);
369
+ uikitUtil.attr(this.$el, {
370
+ title: '',
371
+ 'aria-describedby': this.id });
372
+
370
373
  makeFocusable(this.$el);
371
374
  },
372
375
 
@@ -414,15 +417,13 @@
414
417
 
415
418
  _show() {
416
419
  this.tooltip = uikitUtil.append(
417
- this.container, "<div class=\"uk-" +
418
- this.$options.name + "\"> <div class=\"uk-" +
420
+ this.container, "<div id=\"" +
421
+ this.id + "\" class=\"uk-" + this.$options.name + "\" role=\"tooltip\"> <div class=\"uk-" +
419
422
  this.$options.name + "-inner\">" + this.title + "</div> </div>");
420
423
 
421
424
 
422
425
 
423
426
  uikitUtil.on(this.tooltip, 'toggled', (e, toggled) => {
424
- this.updateAria(toggled);
425
-
426
427
  if (!toggled) {
427
428
  return;
428
429
  }
@@ -438,10 +439,6 @@
438
439
  });
439
440
 
440
441
  this.toggleElement(this.tooltip, true);
441
- },
442
-
443
- updateAria(toggled) {
444
- uikitUtil.attr(this.$el, 'aria-expanded', toggled);
445
442
  } },
446
443
 
447
444
 
@@ -1 +1 @@
1
- /*! UIkit 3.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(s,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],g):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitTooltip=g(s.UIkit.util))})(this,function(s){"use strict";var g={props:{container:Boolean},data:{container:!0},computed:{container(o){let{container:t}=o;return t===!0&&this.$container||t&&s.$(t)}}},E={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation(o){let{animation:t}=o;return!!t[0]},hasTransition(o){let{animation:t}=o;return["slide","reveal"].some(e=>s.startsWith(t[0],e))}},methods:{toggleElement(o,t,e){return new Promise(n=>Promise.all(s.toNodes(o).map(i=>{const r=s.isBoolean(t)?t:!this.isToggled(i);if(!s.trigger(i,"before"+(r?"show":"hide"),[this]))return Promise.reject();const h=(s.isFunction(e)?e:e===!1||!this.hasAnimation?S:this.hasTransition?B:I)(i,r,this),c=r?this.clsEnter:this.clsLeave;s.addClass(i,c),s.trigger(i,r?"show":"hide",[this]);const a=()=>{s.removeClass(i,c),s.trigger(i,r?"shown":"hidden",[this])};return h?h.then(a,()=>(s.removeClass(i,c),Promise.reject())):a()})).then(n,s.noop))},isToggled(o){return o===void 0&&(o=this.$el),[o]=s.toNodes(o),s.hasClass(o,this.clsEnter)?!0:s.hasClass(o,this.clsLeave)?!1:this.cls?s.hasClass(o,this.cls.split(" ")[0]):s.isVisible(o)},_toggle(o,t){if(!o)return;t=Boolean(t);let e;this.cls?(e=s.includes(this.cls," ")||t!==s.hasClass(o,this.cls),e&&s.toggleClass(o,this.cls,s.includes(this.cls," ")?void 0:t)):(e=t===o.hidden,e&&(o.hidden=!t)),s.$$("[autofocus]",o).some(n=>s.isVisible(n)?n.focus()||!0:n.blur()),e&&s.trigger(o,"toggled",[t,this])}}};function S(o,t,e){let{_toggle:n}=e;return s.Animation.cancel(o),s.Transition.cancel(o),n(o,t)}async function B(o,t,e){var n;let{animation:i,duration:r,velocity:h,transition:c,_toggle:a}=e;const[f="reveal",l="top"]=((n=i[0])==null?void 0:n.split("-"))||[],u=[["left","right"],["top","bottom"]],y=u[s.includes(u[0],l)?0:1],$=y[1]===l,v=["width","height"][u.indexOf(y)],p="margin-"+y[0],b="margin-"+l;let m=s.dimensions(o)[v];const N=s.Transition.inProgress(o);await s.Transition.cancel(o),t&&a(o,!0);const j=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",p,b].map(_=>[_,o.style[_]])),w=s.dimensions(o),P=s.toFloat(s.css(o,p)),A=s.toFloat(s.css(o,b)),d=w[v]+A;!N&&!t&&(m+=A);const[T]=s.wrapInner(o,"<div>");s.css(T,{boxSizing:"border-box",height:w.height,width:w.width,...s.css(o,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",b])}),s.css(o,{padding:0,border:0,minWidth:0,minHeight:0,[b]:0,width:w.width,height:w.height,overflow:"hidden",[v]:m});const C=m/d;r=(h*d+r)*(t?1-C:C);const O={[v]:t?d:0};$&&(s.css(o,p,d-m+P),O[p]=t?P:d+P),!$^f==="reveal"&&(s.css(T,p,-d+m),s.Transition.start(T,{[p]:t?0:-d},r,c));try{await s.Transition.start(o,O,r,c)}finally{s.css(o,j),s.unwrap(T.firstChild),t||a(o,!1)}}function I(o,t,e){s.Animation.cancel(o);const{animation:n,duration:i,_toggle:r}=e;return t?(r(o,!0),s.Animation.in(o,n[0],i,e.origin)):s.Animation.out(o,n[1]||n[0],i,e.origin).then(()=>r(o,!1))}var L={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(s.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=s.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(o,t,e){let n=[this.getPositionOffset(o),this.getShiftOffset(o)];const i=[this.flip&&"flip",this.shift&&"shift"],r={element:[this.inset?this.dir:s.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in r)r[l].reverse();n.reverse(),i.reverse()}const[h]=s.scrollParents(o,/auto|scroll/),{scrollTop:c,scrollLeft:a}=h,f=s.dimensions(o);s.css(o,{top:-f.height,left:-f.width}),s.positionAt(o,t,{attach:r,offset:n,boundary:e,placement:i,viewportOffset:this.getViewportOffset(o)}),h.scrollTop=c,h.scrollLeft=a},getPositionOffset(o){return s.toPx(this.offset===!1?s.css(o,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",o)*(s.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(o){return this.align==="center"?0:s.toPx(s.css(o,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",o)*(s.includes(["left","top"],this.align)?1:-1)},getViewportOffset(o){return s.toPx(s.css(o,"--uk-position-viewport-offset"))}}},x={mixins:[g,E,L],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this._hasTitle=s.hasAttr(this.$el,"title"),s.attr(this.$el,"title",""),this.updateAria(!1),D(this.$el)},disconnected(){this.hide(),s.attr(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(this._unbind=s.once(document,"keydown "+s.pointerDown,this.hide,!1,o=>o.type===s.pointerDown&&!s.within(o.target,this.$el)||o.type==="keydown"&&o.keyCode===27),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){s.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),s.remove(this.tooltip),this.tooltip=null,this._unbind()))},_show(){this.tooltip=s.append(this.container,'<div class="uk-'+this.$options.name+'"> <div class="uk-'+this.$options.name+'-inner">'+this.title+"</div> </div>"),s.on(this.tooltip,"toggled",(o,t)=>{if(this.updateAria(t),!t)return;this.positionAt(this.tooltip,this.$el);const[e,n]=F(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?s.flipPosition(e)+"-"+n:n+"-"+s.flipPosition(e)}),this.toggleElement(this.tooltip,!0)},updateAria(o){s.attr(this.$el,"aria-expanded",o)}},events:{focus:"show",blur:"hide",[s.pointerEnter+" "+s.pointerLeave](o){s.isTouch(o)||this[o.type===s.pointerEnter?"show":"hide"]()},[s.pointerDown](o){s.isTouch(o)&&this.show()}}};function D(o){s.isFocusable(o)||s.attr(o,"tabindex","0")}function F(o,t,e){let[n,i]=e;const r=s.offset(o),h=s.offset(t),c=[["left","right"],["top","bottom"]];for(const f of c){if(r[f[0]]>=h[f[1]]){n=f[1];break}if(r[f[1]]<=h[f[0]]){n=f[0];break}}const a=s.includes(c[0],n)?c[1]:c[0];return r[a[0]]===h[a[0]]?i=a[0]:r[a[1]]===h[a[1]]?i=a[1]:i="center",[n,i]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("tooltip",x),x});
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(s,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],g):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitTooltip=g(s.UIkit.util))})(this,function(s){"use strict";var g={props:{container:Boolean},data:{container:!0},computed:{container(o){let{container:t}=o;return t===!0&&this.$container||t&&s.$(t)}}},E={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation(o){let{animation:t}=o;return!!t[0]},hasTransition(o){let{animation:t}=o;return["slide","reveal"].some(e=>s.startsWith(t[0],e))}},methods:{toggleElement(o,t,e){return new Promise(n=>Promise.all(s.toNodes(o).map(i=>{const r=s.isBoolean(t)?t:!this.isToggled(i);if(!s.trigger(i,"before"+(r?"show":"hide"),[this]))return Promise.reject();const h=(s.isFunction(e)?e:e===!1||!this.hasAnimation?S:this.hasTransition?B:I)(i,r,this),c=r?this.clsEnter:this.clsLeave;s.addClass(i,c),s.trigger(i,r?"show":"hide",[this]);const a=()=>{s.removeClass(i,c),s.trigger(i,r?"shown":"hidden",[this])};return h?h.then(a,()=>(s.removeClass(i,c),Promise.reject())):a()})).then(n,s.noop))},isToggled(o){return o===void 0&&(o=this.$el),[o]=s.toNodes(o),s.hasClass(o,this.clsEnter)?!0:s.hasClass(o,this.clsLeave)?!1:this.cls?s.hasClass(o,this.cls.split(" ")[0]):s.isVisible(o)},_toggle(o,t){if(!o)return;t=Boolean(t);let e;this.cls?(e=s.includes(this.cls," ")||t!==s.hasClass(o,this.cls),e&&s.toggleClass(o,this.cls,s.includes(this.cls," ")?void 0:t)):(e=t===o.hidden,e&&(o.hidden=!t)),s.$$("[autofocus]",o).some(n=>s.isVisible(n)?n.focus()||!0:n.blur()),e&&s.trigger(o,"toggled",[t,this])}}};function S(o,t,e){let{_toggle:n}=e;return s.Animation.cancel(o),s.Transition.cancel(o),n(o,t)}async function B(o,t,e){var n;let{animation:i,duration:r,velocity:h,transition:c,_toggle:a}=e;const[d="reveal",l="top"]=((n=i[0])==null?void 0:n.split("-"))||[],u=[["left","right"],["top","bottom"]],y=u[s.includes(u[0],l)?0:1],$=y[1]===l,v=["width","height"][u.indexOf(y)],p="margin-"+y[0],b="margin-"+l;let m=s.dimensions(o)[v];const N=s.Transition.inProgress(o);await s.Transition.cancel(o),t&&a(o,!0);const j=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",p,b].map(O=>[O,o.style[O]])),w=s.dimensions(o),P=s.toFloat(s.css(o,p)),C=s.toFloat(s.css(o,b)),f=w[v]+C;!N&&!t&&(m+=C);const[T]=s.wrapInner(o,"<div>");s.css(T,{boxSizing:"border-box",height:w.height,width:w.width,...s.css(o,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",b])}),s.css(o,{padding:0,border:0,minWidth:0,minHeight:0,[b]:0,width:w.width,height:w.height,overflow:"hidden",[v]:m});const A=m/f;r=(h*f+r)*(t?1-A:A);const _={[v]:t?f:0};$&&(s.css(o,p,f-m+P),_[p]=t?P:f+P),!$^d==="reveal"&&(s.css(T,p,-f+m),s.Transition.start(T,{[p]:t?0:-f},r,c));try{await s.Transition.start(o,_,r,c)}finally{s.css(o,j),s.unwrap(T.firstChild),t||a(o,!1)}}function I(o,t,e){s.Animation.cancel(o);const{animation:n,duration:i,_toggle:r}=e;return t?(r(o,!0),s.Animation.in(o,n[0],i,e.origin)):s.Animation.out(o,n[1]||n[0],i,e.origin).then(()=>r(o,!1))}var L={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(s.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=s.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(o,t,e){let n=[this.getPositionOffset(o),this.getShiftOffset(o)];const i=[this.flip&&"flip",this.shift&&"shift"],r={element:[this.inset?this.dir:s.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in r)r[l].reverse();n.reverse(),i.reverse()}const[h]=s.scrollParents(o,/auto|scroll/),{scrollTop:c,scrollLeft:a}=h,d=s.dimensions(o);s.css(o,{top:-d.height,left:-d.width}),s.positionAt(o,t,{attach:r,offset:n,boundary:e,placement:i,viewportOffset:this.getViewportOffset(o)}),h.scrollTop=c,h.scrollLeft=a},getPositionOffset(o){return s.toPx(this.offset===!1?s.css(o,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",o)*(s.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(o){return this.align==="center"?0:s.toPx(s.css(o,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",o)*(s.includes(["left","top"],this.align)?1:-1)},getViewportOffset(o){return s.toPx(s.css(o,"--uk-position-viewport-offset"))}}},x={mixins:[g,E,L],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this.id="uk-tooltip-"+this._uid,this._hasTitle=s.hasAttr(this.$el,"title"),s.attr(this.$el,{title:"","aria-describedby":this.id}),D(this.$el)},disconnected(){this.hide(),s.attr(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(this._unbind=s.once(document,"keydown "+s.pointerDown,this.hide,!1,o=>o.type===s.pointerDown&&!s.within(o.target,this.$el)||o.type==="keydown"&&o.keyCode===27),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){s.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),s.remove(this.tooltip),this.tooltip=null,this._unbind()))},_show(){this.tooltip=s.append(this.container,'<div id="'+this.id+'" class="uk-'+this.$options.name+'" role="tooltip"> <div class="uk-'+this.$options.name+'-inner">'+this.title+"</div> </div>"),s.on(this.tooltip,"toggled",(o,t)=>{if(!t)return;this.positionAt(this.tooltip,this.$el);const[e,n]=F(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?s.flipPosition(e)+"-"+n:n+"-"+s.flipPosition(e)}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[s.pointerEnter+" "+s.pointerLeave](o){s.isTouch(o)||this[o.type===s.pointerEnter?"show":"hide"]()},[s.pointerDown](o){s.isTouch(o)&&this.show()}}};function D(o){s.isFocusable(o)||s.attr(o,"tabindex","0")}function F(o,t,e){let[n,i]=e;const r=s.offset(o),h=s.offset(t),c=[["left","right"],["top","bottom"]];for(const d of c){if(r[d[0]]>=h[d[1]]){n=d[1];break}if(r[d[1]]<=h[d[0]]){n=d[0];break}}const a=s.includes(c[0],n)?c[1]:c[0];return r[a[0]]===h[a[0]]?i=a[0]:r[a[1]]===h[a[1]]?i=a[1]:i="center",[n,i]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("tooltip",x),x});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 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.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(o,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitupload",["uikit-util"],n):(o=typeof globalThis<"u"?globalThis:o||self,o.UIkitUpload=n(o.UIkit.util))})(this,function(o){"use strict";var n={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort: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){i(e);const t=e.dataTransfer;!(t!=null&&t.files)||(o.removeClass(this.$el,this.clsDragover),this.upload(t.files))},dragenter(e){i(e)},dragover(e){i(e),o.addClass(this.$el,this.clsDragover)},dragleave(e){i(e),o.removeClass(this.$el,this.clsDragover)}},methods:{async upload(e){if(e=o.toArray(e),!e.length)return;o.trigger(this.$el,"upload",[e]);for(const a of e){if(this.maxSize&&this.maxSize*1e3<a.size){this.fail(this.msgInvalidSize.replace("%s",this.maxSize));return}if(this.allow&&!d(this.allow,a.name)){this.fail(this.msgInvalidName.replace("%s",this.allow));return}if(this.mime&&!d(this.mime,a.type)){this.fail(this.msgInvalidMime.replace("%s",this.mime));return}}this.multiple||(e=e.slice(0,1)),this.beforeAll(this,e);const t=c(e,this.concurrent),s=async a=>{const l=new FormData;a.forEach(r=>l.append(this.name,r));for(const r in this.params)l.append(r,this.params[r]);try{const r=await o.ajax(this.url,{data:l,method:this.method,responseType:this.type,beforeSend:h=>{const{xhr:p}=h;p.upload&&o.on(p.upload,"progress",this.progress);for(const m of["loadStart","load","loadEnd","abort"])o.on(p,m.toLowerCase(),this[m]);return this.beforeSend(h)}});this.complete(r),t.length?await s(t.shift()):this.completeAll(r)}catch(r){this.error(r)}};await s(t.shift())}}};function d(e,t){return t.match(new RegExp("^"+e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function c(e,t){const s=[];for(let a=0;a<e.length;a+=t)s.push(e.slice(a,a+t));return s}function i(e){e.preventDefault(),e.stopPropagation()}return typeof window<"u"&&window.UIkit&&window.UIkit.component("upload",n),n});
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(o,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitupload",["uikit-util"],n):(o=typeof globalThis<"u"?globalThis:o||self,o.UIkitUpload=n(o.UIkit.util))})(this,function(o){"use strict";var n={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort: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){i(e);const t=e.dataTransfer;!(t!=null&&t.files)||(o.removeClass(this.$el,this.clsDragover),this.upload(t.files))},dragenter(e){i(e)},dragover(e){i(e),o.addClass(this.$el,this.clsDragover)},dragleave(e){i(e),o.removeClass(this.$el,this.clsDragover)}},methods:{async upload(e){if(e=o.toArray(e),!e.length)return;o.trigger(this.$el,"upload",[e]);for(const a of e){if(this.maxSize&&this.maxSize*1e3<a.size){this.fail(this.msgInvalidSize.replace("%s",this.maxSize));return}if(this.allow&&!d(this.allow,a.name)){this.fail(this.msgInvalidName.replace("%s",this.allow));return}if(this.mime&&!d(this.mime,a.type)){this.fail(this.msgInvalidMime.replace("%s",this.mime));return}}this.multiple||(e=e.slice(0,1)),this.beforeAll(this,e);const t=c(e,this.concurrent),s=async a=>{const l=new FormData;a.forEach(r=>l.append(this.name,r));for(const r in this.params)l.append(r,this.params[r]);try{const r=await o.ajax(this.url,{data:l,method:this.method,responseType:this.type,beforeSend:h=>{const{xhr:p}=h;p.upload&&o.on(p.upload,"progress",this.progress);for(const m of["loadStart","load","loadEnd","abort"])o.on(p,m.toLowerCase(),this[m]);return this.beforeSend(h)}});this.complete(r),t.length?await s(t.shift()):this.completeAll(r)}catch(r){this.error(r)}};await s(t.shift())}}};function d(e,t){return t.match(new RegExp("^"+e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function c(e,t){const s=[];for(let a=0;a<e.length;a+=t)s.push(e.slice(a,a+t));return s}function i(e){e.preventDefault(),e.stopPropagation()}return typeof window<"u"&&window.UIkit&&window.UIkit.component("upload",n),n});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -2937,7 +2937,7 @@
2937
2937
  UIkit.data = '__uikit__';
2938
2938
  UIkit.prefix = 'uk-';
2939
2939
  UIkit.options = {};
2940
- UIkit.version = '3.15.8';
2940
+ UIkit.version = '3.15.9-dev.d605a4e5a';
2941
2941
 
2942
2942
  globalAPI(UIkit);
2943
2943
  hooksAPI(UIkit);
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(jt,qt){typeof exports=="object"&&typeof module<"u"?module.exports=qt():typeof define=="function"&&define.amd?define("uikit",qt):(jt=typeof globalThis<"u"?globalThis:jt||self,jt.UIkit=qt())})(this,function(){"use strict";const{hasOwnProperty:jt,toString:qt}=Object.prototype;function vt(t,e){return jt.call(t,e)}const Qn=/\B([A-Z])/g,_t=tt(t=>t.replace(Qn,"-$1").toLowerCase()),Un=/-(\w)/g,Yt=tt(t=>t.replace(Un,Pi)),wt=tt(t=>t.length?Pi(null,t.charAt(0))+t.slice(1):"");function Pi(t,e){return e?e.toUpperCase():""}function U(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Xt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function d(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function ce(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:N,from:Ai}=Array,{assign:Pt}=Object;function ot(t){return typeof t=="function"}function pt(t){return t!==null&&typeof t=="object"}function ht(t){return qt.call(t)==="[object Object]"}function At(t){return pt(t)&&t===t.window}function he(t){return Re(t)===9}function Fe(t){return Re(t)>=1}function Vt(t){return Re(t)===1}function Re(t){return!At(t)&&pt(t)&&t.nodeType}function ue(t){return typeof t=="boolean"}function y(t){return typeof t=="string"}function Ie(t){return typeof t=="number"}function bt(t){return Ie(t)||y(t)&&!isNaN(t-parseFloat(t))}function We(t){return!(N(t)?t.length:pt(t)?Object.keys(t).length:!1)}function R(t){return t===void 0}function je(t){return ue(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Gt(t){const e=Number(t);return isNaN(e)?!1:e}function g(t){return parseFloat(t)||0}function _(t){return p(t)[0]}function p(t){return t&&(Fe(t)?[t]:Array.from(t).filter(Fe))||[]}function yt(t){var e;if(At(t))return t;t=_(t);const i=he(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function qe(t,e){return t===e||pt(t)&&pt(e)&&Object.keys(t).length===Object.keys(e).length&&$t(t,(i,n)=>i===e[n])}function Ye(t,e,i){return t.replace(new RegExp(e+"|"+i,"g"),n=>n===e?i:e)}function Jt(t){return t[t.length-1]}function $t(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Xe(t,e){return t.slice().sort((i,n)=>{let{[e]:s=0}=i,{[e]:o=0}=n;return s>o?1:o>s?-1:0})}function ts(t,e){const i=new Set;return t.filter(n=>{let{[e]:s}=n;return i.has(s)?!1:i.add(s)})}function ut(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(Gt(t)||0,e),i)}function ft(){}function Ve(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every(n=>{let[s,o]=n;return Math.min(...e.map(r=>{let{[s]:a}=r;return a}))-Math.max(...e.map(r=>{let{[o]:a}=r;return a}))>0})}function Ge(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Je(t,e,i){const n=e==="width"?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function Bi(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Je(t,i,e[i]):t;return t}function es(t,e){t=Bi(t,e);for(const i in t)t=t[i]<e[i]?Je(t,i,e[i]):t;return t}const Ke={ratio:Je,contain:Bi,cover:es};function fe(t,e,i,n){i===void 0&&(i=0),n===void 0&&(n=!1),e=p(e);const{length:s}=e;return s?(t=bt(t)?Gt(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(_(t)),n?ut(t,0,s-1):(t%=s,t<0?t+s:t)):-1}function tt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Oi{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function v(t,e,i){if(pt(e)){for(const s in e)v(t,s,e[s]);return}if(R(i)){var n;return(n=_(t))==null?void 0:n.getAttribute(e)}else for(const s of p(t))ot(i)&&(i=i.call(s,v(s,e))),i===null?Kt(s,e):s.setAttribute(e,i)}function xt(t,e){return p(t).some(i=>i.hasAttribute(e))}function Kt(t,e){const i=p(t);for(const n of e.split(" "))for(const s of i)s.removeAttribute(n)}function Bt(t,e){for(const i of[e,"data-"+e])if(xt(t,i))return v(t,i)}const is={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Ze(t){return p(t).some(e=>is[e.tagName.toLowerCase()])}function z(t){return p(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const de="input,select,textarea,button";function Mi(t){return p(t).some(e=>A(e,de))}const pe=de+",a[href],[tabindex]";function Qe(t){return A(t,pe)}function E(t){var e;return(e=_(t))==null?void 0:e.parentElement}function ge(t,e){return p(t).filter(i=>A(i,e))}function A(t,e){return p(t).some(i=>i.matches(e))}function V(t,e){return Vt(t)?t.closest(U(e,">")?e.slice(1):e):p(t).map(i=>V(i,e)).filter(Boolean)}function C(t,e){return y(e)?!!V(t,e):_(e).contains(_(t))}function Ot(t,e){const i=[];for(;t=E(t);)(!e||A(t,e))&&i.push(t);return i}function rt(t,e){t=_(t);const i=t?p(t.children):[];return e?ge(i,e):i}function Ue(t,e){return e?p(t).indexOf(_(e)):rt(E(t)).indexOf(t)}function at(t,e){return ti(t,Ni(t,e))}function Zt(t,e){return Qt(t,Ni(t,e))}function ti(t,e){return _(zi(t,e,"querySelector"))}function Qt(t,e){return p(zi(t,e,"querySelectorAll"))}const ns=/(^|[^\\],)\s*[!>+~-]/,Di=tt(t=>t.match(ns));function Ni(t,e){return e===void 0&&(e=document),y(t)&&Di(t)||he(e)?e:e.ownerDocument}const ss=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,os=tt(t=>t.replace(ss,"$1 *"));function zi(t,e,i){if(e===void 0&&(e=document),!t||!y(t))return t;if(t=os(t),Di(t)){const n=as(t);t="";for(let s of n){let o=e;if(s[0]==="!"){const r=s.substr(1).trim().split(" ");if(o=V(E(e),r[0]),s=r.slice(1).join(" ").trim(),!s.length&&n.length===1)return o}if(s[0]==="-"){const r=s.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=A(a,s.substr(1))?a:null,s=r.slice(1).join(" ")}o&&(t+=(t?",":"")+ls(o)+" "+s)}e=document}try{return e[i](t)}catch{return null}}const rs=/.*?[^\\](?:,|$)/g,as=tt(t=>t.match(rs).map(e=>e.replace(/,$/,"").trim()));function ls(t){const e=[];for(;t.parentNode;){const i=v(t,"id");if(i){e.unshift("#"+ei(i));break}else{let{tagName:n}=t;n!=="HTML"&&(n+=":nth-child("+(Ue(t)+1)+")"),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function ei(t){return y(t)?CSS.escape(t):""}function $(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,s,o,r,a=!1]=ni(e);r.length>1&&(r=hs(r)),a!=null&&a.self&&(r=us(r)),o&&(r=cs(o,r));for(const l of s)for(const h of n)h.addEventListener(l,r,a);return()=>ii(n,s,r,a)}function ii(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,s,,o,r=!1]=ni(e);for(const a of s)for(const l of n)l.removeEventListener(a,o,r)}function S(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[n,s,o,r,a=!1,l]=ni(e),h=$(n,s,o,u=>{const f=!l||l(u);f&&(h(),r(u,f))},a);return h}function x(t,e,i){return si(t).every(n=>n.dispatchEvent(me(e,!0,!0,i)))}function me(t,e,i,n){return e===void 0&&(e=!0),i===void 0&&(i=!1),y(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function ni(t){return t[0]=si(t[0]),y(t[1])&&(t[1]=t[1].split(" ")),ot(t[2])&&t.splice(2,0,!1),t}function cs(t,e){return i=>{const n=t[0]===">"?Qt(t,i.currentTarget).reverse().filter(s=>C(i.target,s))[0]:V(i.target,t);n&&(i.current=n,e.call(this,i))}}function hs(t){return e=>N(e.detail)?t(e,...e.detail):t(e)}function us(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Hi(t){return t&&"addEventListener"in t}function fs(t){return Hi(t)?t:_(t)}function si(t){return N(t)?t.map(fs).filter(Boolean):y(t)?Qt(t):Hi(t)?[t]:p(t)}function Mt(t){return t.pointerType==="touch"||!!t.touches}function ve(t){var e,i;const{clientX:n,clientY:s}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:n,y:s}}function ds(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:ft,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>ps(t,i))}function ps(t,e){return new Promise((i,n)=>{const{xhr:s}=e;for(const o in e)if(o in s)try{s[o]=e[o]}catch{}s.open(e.method.toUpperCase(),t);for(const o in e.headers)s.setRequestHeader(o,e.headers[o]);$(s,"load",()=>{s.status===0||s.status>=200&&s.status<300||s.status===304?i(s):n(Pt(Error(s.statusText),{xhr:s,status:s.status}))}),$(s,"error",()=>n(Pt(Error("Network Error"),{xhr:s}))),$(s,"timeout",()=>n(Pt(Error("Network Timeout"),{xhr:s}))),s.send(e.data)})}function gs(t,e,i){return new Promise((n,s)=>{const o=new Image;o.onerror=r=>{s(r)},o.onload=()=>{n(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const ms={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function c(t,e,i,n){n===void 0&&(n="");const s=p(t);for(const o of s)if(y(e)){if(e=oi(e),R(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,bt(i)&&!ms[e]?i+"px":i||Ie(i)?i:"",n)}else if(N(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else pt(e)&&(n=i,$t(e,(r,a)=>c(o,a,r,n)));return s[0]}const oi=tt(t=>vs(t));function vs(t){if(U(t,"--"))return t;t=_t(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n="-"+i+"-"+t;if(n in e)return n}}function b(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Li(t,i,"add")}function H(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Li(t,i,"remove")}function ri(t,e){v(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b\\s?","g"),""))}function ai(t){!(arguments.length<=1)&&arguments[1]&&H(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&b(t,arguments.length<=2?void 0:arguments[2])}function T(t,e){return[e]=li(e),!!e&&p(t).some(i=>i.classList.contains(e))}function W(t,e,i){const n=li(e);R(i)||(i=!!i);for(const s of p(t))for(const o of n)s.classList.toggle(o,i)}function Li(t,e,i){e=e.reduce((n,s)=>n.concat(li(s)),[]);for(const n of p(t))n.classList[i](...e)}function li(t){return String(t).split(/\s|,/).filter(Boolean)}function ws(t,e,i,n){return i===void 0&&(i=400),n===void 0&&(n="linear"),i=Math.round(i),Promise.all(p(t).map(s=>new Promise((o,r)=>{for(const l in e){const h=c(s,l);h===""&&c(s,l,h)}const a=setTimeout(()=>x(s,"transitionend"),i);S(s,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),H(s,"uk-transition"),c(s,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?r():o(s)},{self:!0}),b(s,"uk-transition"),c(s,{transitionProperty:Object.keys(e).map(oi).join(","),transitionDuration:i+"ms",transitionTimingFunction:n,...e})})))}const G={start:ws,async stop(t){x(t,"transitionend"),await Promise.resolve()},async cancel(t){x(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return T(t,"uk-transition")}},Ut="uk-animation-";function Fi(t,e,i,n,s){return i===void 0&&(i=200),Promise.all(p(t).map(o=>new Promise((r,a)=>{x(o,"animationcanceled");const l=setTimeout(()=>x(o,"animationend"),i);S(o,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():r(o),c(o,"animationDuration",""),ri(o,Ut+"\\S*")},{self:!0}),c(o,"animationDuration",i+"ms"),b(o,e,Ut+(s?"leave":"enter")),U(e,Ut)&&(n&&b(o,"uk-transform-origin-"+n),s&&b(o,Ut+"reverse"))})))}const bs=new RegExp(Ut+"(enter|leave)"),et={in:Fi,out(t,e,i,n){return Fi(t,e,i,n,!0)},inProgress(t){return bs.test(v(t,"class"))},cancel(t){x(t,"animationcanceled")}},kt={width:["left","right"],height:["top","bottom"]};function j(t){const e=Vt(t)?_(t).getBoundingClientRect():{height:it(t),width:te(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function w(t,e){const i=j(t);if(t){const{scrollY:s,scrollX:o}=yt(t),r={height:s,width:o};for(const a in kt)for(const l of kt[a])i[l]+=r[a]}if(!e)return i;const n=c(t,"position");$t(c(t,["left","top"]),(s,o)=>c(t,o,e[o]-i[o]+g(n==="absolute"&&s==="auto"?Ri(t)[o]:s)))}function Ri(t){let{top:e,left:i}=w(t);const{ownerDocument:{body:n,documentElement:s},offsetParent:o}=_(t);let r=o||s;for(;r&&(r===n||r===s)&&c(r,"position")==="static";)r=r.parentNode;if(Vt(r)){const a=w(r);e-=a.top+g(c(r,"borderTopWidth")),i-=a.left+g(c(r,"borderLeftWidth"))}return{top:e-g(c(t,"marginTop")),left:i-g(c(t,"marginLeft"))}}function Tt(t){t=_(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+g(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+g(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=yt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const it=Ii("height"),te=Ii("width");function Ii(t){const e=wt(t);return(i,n)=>{if(R(n)){if(At(i))return i["inner"+e];if(he(i)){const s=i.documentElement;return Math.max(s["offset"+e],s["scroll"+e])}return i=_(i),n=c(i,t),n=n==="auto"?i["offset"+e]:g(n)||0,n-ee(i,t)}else return c(i,t,!n&&n!==0?"":+n+ee(i,t)+"px")}}function ee(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?kt[e].map(wt).reduce((n,s)=>n+g(c(t,"padding"+s))+g(c(t,"border"+s+"Width")),0):0}function Wi(t){for(const e in kt)for(const i in kt[e])if(kt[e][i]===t)return kt[e][1-i];return t}function J(t,e,i,n){return e===void 0&&(e="width"),i===void 0&&(i=window),n===void 0&&(n=!1),y(t)?$s(t).reduce((s,o)=>{const r=ks(o);return r&&(o=Ts(r==="vh"?it(yt(i)):r==="vw"?te(yt(i)):n?i["offset"+wt(e)]:j(i)[e],o)),s+g(o)},0):g(t)}const ys=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,$s=tt(t=>t.toString().replace(/\s/g,"").match(ys)||[]),xs=/(?:v[hw]|%)$/,ks=tt(t=>(t.match(xs)||[])[0]);function Ts(t,e){return t*g(e)/100}function ci(t){if(document.readyState!=="loading"){t();return}S(document,"DOMContentLoaded",t)}function nt(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function ji(t){return t=m(t),t.innerHTML="",t}function we(t,e){return R(e)?m(t).innerHTML:lt(ji(t),e)}const Ss=ye("prepend"),lt=ye("append"),qi=ye("before"),be=ye("after");function ye(t){return function(e,i){var n;const s=p(y(i)?Nt(i):i);return(n=m(e))==null||n[t](...s),Yi(s)}}function Dt(t){p(t).forEach(e=>e.remove())}function $e(t,e){for(e=_(qi(t,e));e.firstChild;)e=e.firstChild;return lt(e,t),e}function hi(t,e){return p(p(t).map(i=>i.hasChildNodes()?$e(p(i.childNodes),e):lt(i,e)))}function ie(t){p(t).map(E).filter((e,i,n)=>n.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const Cs=/^\s*<(\w+|!)[^>]*>/,Es=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Nt(t){const e=Es.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return Cs.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Yi(i.childNodes)}function Yi(t){return t.length>1?t:t[0]}function dt(t,e){if(!!Vt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;dt(t,e),t=i}}function m(t,e){return Xi(t)?_(Nt(t)):ti(t,e)}function B(t,e){return Xi(t)?p(Nt(t)):Qt(t,e)}function Xi(t){return y(t)&&U(t.trim(),"<")}const St=typeof window<"u",ne=St&&v(document.documentElement,"dir")==="rtl",zt=St&&"ontouchstart"in window,Ht=St&&window.PointerEvent,Lt=Ht?"pointerdown":zt?"touchstart":"mousedown",_s=Ht?"pointermove":zt?"touchmove":"mousemove",Ft=Ht?"pointerup":zt?"touchend":"mouseup",xe=Ht?"pointerenter":zt?"":"mouseenter",ke=Ht?"pointerleave":zt?"":"mouseleave",Te=Ht?"pointercancel":"touchcancel",st={reads:[],writes:[],read(t){return this.reads.push(t),fi(),t},write(t){return this.writes.push(t),fi(),t},clear(t){Gi(this.reads,t),Gi(this.writes,t)},flush:ui};function ui(t){Vi(st.reads),Vi(st.writes.splice(0)),st.scheduled=!1,(st.reads.length||st.writes.length)&&fi(t+1)}const Ps=4;function fi(t){st.scheduled||(st.scheduled=!0,t&&t<Ps?Promise.resolve().then(()=>ui(t)):requestAnimationFrame(()=>ui(1)))}function Vi(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Gi(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function di(){}di.prototype={positions:[],init(){this.positions=[];let t;this.unbind=$(document,"mousemove",e=>t=ve(e)),this.interval=setInterval(()=>{!t||(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),this.interval&&clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:n,top:s,bottom:o}=e,[r]=this.positions,a=Jt(this.positions),l=[r,a];return Ge(a,e)?!1:[[{x:i,y:s},{x:n,y:o}],[{x:i,y:o},{x:n,y:s}]].some(u=>{const f=As(l,u);return f&&Ge(f,e)})}};function As(t,e){let[{x:i,y:n},{x:s,y:o}]=t,[{x:r,y:a},{x:l,y:h}]=e;const u=(h-a)*(s-i)-(l-r)*(o-n);if(u===0)return!1;const f=((l-r)*(n-a)-(h-a)*(i-r))/u;return f<0?!1:{x:i+f*(s-i),y:n+f*(o-n)}}function Rt(t,e,i,n){n===void 0&&(n=!0);const s=new IntersectionObserver(n?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of p(t))s.observe(o);return s}const Bs=St&&window.ResizeObserver;function Se(t,e,i){return i===void 0&&(i={box:"border-box"}),Bs?Ji(ResizeObserver,t,e,i):(Os(),se.add(e),{disconnect(){se.delete(e)}})}let se;function Os(){if(se)return;se=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const i of se)i()}};$(window,"load resize",e),$(document,"loadedmetadata load",e,!0)}function pi(t,e,i){return Ji(MutationObserver,t,e,i)}function Ji(t,e,i,n){const s=new t(i);for(const o of p(e))s.observe(o,n);return s}const M={};M.events=M.created=M.beforeConnect=M.connected=M.beforeDisconnect=M.disconnected=M.destroy=gi,M.args=function(t,e){return e!==!1&&gi(e||t)},M.update=function(t,e){return Xe(gi(t,ot(e)?{read:e}:e),"order")},M.props=function(t,e){if(N(e)){const i={};for(const n of e)i[n]=String;e=i}return M.methods(t,e)},M.computed=M.methods=function(t,e){return e?t?{...t,...e}:e:t},M.data=function(t,e,i){return i?Ki(t,e,i):e?t?function(n){return Ki(t,e,n)}:e:t};function Ki(t,e,i){return M.computed(ot(t)?t.call(i,i):t,ot(e)?e.call(i,i):e)}function gi(t,e){return t=t&&!N(t)?[t]:t,e?t?t.concat(e):N(e)?e:[e]:t}function Ms(t,e){return R(e)?t:e}function It(t,e,i){const n={};if(ot(e)&&(e=e.options),e.extends&&(t=It(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=It(t,o,i);for(const o in t)s(o);for(const o in e)vt(t,o)||s(o);function s(o){n[o]=(M[o]||Ms)(t[o],e[o],i)}return n}function mi(t,e){e===void 0&&(e=[]);try{return t?U(t,"{")?JSON.parse(t):e.length&&!d(t,":")?{[e[0]]:t}:t.split(";").reduce((i,n)=>{const[s,o]=n.split(/:(.*)/);return s&&!R(o)&&(i[s.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Zi(t){if(Ee(t)&&vi(t,{func:"playVideo",method:"play"}),Ce(t))try{t.play().catch(ft)}catch{}}function Qi(t){Ee(t)&&vi(t,{func:"pauseVideo",method:"pause"}),Ce(t)&&t.pause()}function Ui(t){Ee(t)&&vi(t,{func:"mute",method:"setVolume",value:0}),Ce(t)&&(t.muted=!0)}function tn(t){return Ce(t)||Ee(t)}function Ce(t){return nt(t,"video")}function Ee(t){return nt(t,"iframe")&&(en(t)||nn(t))}function en(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function nn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function vi(t,e){await Ns(t),sn(t,e)}function sn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const wi="_ukPlayer";let Ds=0;function Ns(t){if(t[wi])return t[wi];const e=en(t),i=nn(t),n=++Ds;let s;return t[wi]=new Promise(o=>{e&&S(t,"load",()=>{const r=()=>sn(t,{event:"listening",id:n});s=setInterval(r,100),r()}),S(window,"message",o,!1,r=>{let{data:a}=r;try{return a=JSON.parse(a),a&&(e&&a.id===n&&a.event==="onReady"||i&&Number(a.player_id)===n)}catch{}}),t.src=""+t.src+(d(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+n)}).then(()=>clearInterval(s))}function on(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),z(t)?Ve(...L(t).map(n=>{const{top:s,left:o,bottom:r,right:a}=K(n);return{top:s-e,left:o-i,bottom:r+e,right:a+i}}).concat(w(t))):!1}function rn(t,e){let{offset:i=0}=e===void 0?{}:e;const n=z(t)?L(t):[];return n.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:f,offsetHeight:k}=l,F=K(l),D=f-F.height,{height:O,top:Q}=n[h-1]?K(n[h-1]):w(t);let X=Math.ceil(Q-F.top-i+u);return i>0&&k<O+i?X+=i:i=0,X>D?(i-=X-D,X=D):X<0&&(i-=X,X=0),()=>s(l,X-u).then(a)},()=>Promise.resolve())();function s(a,l){return new Promise(h=>{const u=a.scrollTop,f=o(Math.abs(l)),k=Date.now();(function F(){const D=r(ut((Date.now()-k)/f));a.scrollTop=u+l*D,D===1?h():requestAnimationFrame(F)})()})}function o(a){return 40*Math.pow(a,.375)}function r(a){return .5*(1-Math.cos(Math.PI*a))}}function an(t,e,i){if(e===void 0&&(e=0),i===void 0&&(i=0),!z(t))return 0;const[n]=L(t,/auto|scroll/,!0),{scrollHeight:s,scrollTop:o}=n,{height:r}=K(n),a=s-r,l=Tt(t)[0]-Tt(n)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return ut((o-h)/(u-h))}function L(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const n=ln(t);let s=Ot(t).reverse();s=s.slice(s.indexOf(n)+1);const o=ce(s,r=>c(r,"position")==="fixed");return~o&&(s=s.slice(o)),[n].concat(s.filter(r=>e.test(c(r,"overflow"))&&(!i||r.scrollHeight>K(r).height))).reverse()}function K(t){const e=yt(t),{document:{documentElement:i}}=e;let n=t===ln(t)?e:t;const{visualViewport:s}=e;if(At(n)&&s){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=s;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:h,left:u,bottom:h+r,right:u+a}}let o=w(n);for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])At(n)?n=i:o[l]+=g(c(n,"border-"+l+"-width")),o[r]=o[a]=n["client"+wt(r)],o[h]=o[r]+o[l];return o}function ln(t){return yt(t).document.scrollingElement}const q=[["width","x","left","right"],["height","y","top","bottom"]];function cn(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},N(e)||(e=[e,e]),w(t,hn(t,e,i))}function hn(t,e,i){const n=un(t,e,i),{boundary:s,viewportOffset:o=0,placement:r}=i;let a=n;for(const[l,[h,,u,f]]of Object.entries(q)){const k=zs(e[l],o,s,l);if(_e(n,k,l))continue;let F=0;if(r[l]==="flip"){const D=i.attach.target[l];if(D===f&&n[f]<=k[f]||D===u&&n[u]>=k[u])continue;F=Ls(t,e,i,l)[u]-n[u];const O=Hs(e[l],o,l);if(!_e(bi(n,F,l),O,l)){if(_e(n,O,l))continue;if(i.recursion)return!1;const Q=Fs(t,e,i);if(Q&&_e(Q,O,1-l))return Q;continue}}else if(r[l]==="shift"){const D=w(e[l]),{offset:O}=i;F=ut(ut(n[u],k[u],k[f]-n[h]),D[u]-n[h]+O[l],D[f]-O[l])-n[u]}a=bi(a,F,l)}return a}function un(t,e,i){let{attach:n,offset:s}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=w(t);for(const[r,[a,,l,h]]of Object.entries(q)){const u=n.target[r]===n.element[r]?K(e[r]):w(e[r]);o=bi(o,u[l]-o[l]+fn(n.target[r],h,u[a])-fn(n.element[r],h,o[a])+ +s[r],r)}return o}function bi(t,e,i){const[,n,s,o]=q[i],r={...t};return r[s]=t[n]=t[s]+e,r[o]+=e,r}function fn(t,e,i){return t==="center"?i/2:t===e?i:0}function zs(t,e,i,n){let s=dn(...L(t).map(K));return e&&(s[q[n][2]]+=e,s[q[n][3]]-=e),i&&(s=dn(s,w(N(i)?i[n]:i))),s}function Hs(t,e,i){const[n,,s,o]=q[i],[r]=L(t),a=K(r);return a[s]-=r["scroll"+wt(s)]-e,a[o]=a[s]+r["scroll"+wt(n)]-e,a}function dn(){let t={};for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];for(const s of i)for(const[,,o,r]of q)t[o]=Math.max(t[o]||0,s[o]),t[r]=Math.min(...[t[r],s[r]].filter(Boolean));return t}function _e(t,e,i){const[,,n,s]=q[i];return t[n]>=e[n]&&t[s]<=e[s]}function Ls(t,e,i,n){let{offset:s,attach:o}=i;return un(t,e,{attach:{element:pn(o.element,n),target:pn(o.target,n)},offset:Rs(s,n)})}function Fs(t,e,i){return hn(t,e,{...i,attach:{element:i.attach.element.map(gn).reverse(),target:i.attach.target.map(gn).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function pn(t,e){const i=[...t],n=q[e].indexOf(t[e]);return~n&&(i[e]=q[e][1-n%2+2]),i}function gn(t){for(let e=0;e<q.length;e++){const i=q[e].indexOf(t);if(~i)return q[1-e][i%2+2]}}function Rs(t,e){return t=[...t],t[e]*=-1,t}var Is=Object.freeze({__proto__:null,ajax:ds,getImage:gs,Transition:G,Animation:et,attr:v,hasAttr:xt,removeAttr:Kt,data:Bt,addClass:b,removeClass:H,removeClasses:ri,replaceClass:ai,hasClass:T,toggleClass:W,dimensions:j,offset:w,position:Ri,offsetPosition:Tt,height:it,width:te,boxModelAdjust:ee,flipPosition:Wi,toPx:J,ready:ci,isTag:nt,empty:ji,html:we,prepend:Ss,append:lt,before:qi,after:be,remove:Dt,wrapAll:$e,wrapInner:hi,unwrap:ie,fragment:Nt,apply:dt,$:m,$$:B,inBrowser:St,isRtl:ne,hasTouch:zt,pointerDown:Lt,pointerMove:_s,pointerUp:Ft,pointerEnter:xe,pointerLeave:ke,pointerCancel:Te,on:$,off:ii,once:S,trigger:x,createEvent:me,toEventTargets:si,isTouch:Mt,getEventPos:ve,fastdom:st,isVoidElement:Ze,isVisible:z,selInput:de,isInput:Mi,selFocusable:pe,isFocusable:Qe,parent:E,filter:ge,matches:A,closest:V,within:C,parents:Ot,children:rt,index:Ue,hasOwn:vt,hyphenate:_t,camelize:Yt,ucfirst:wt,startsWith:U,endsWith:Xt,includes:d,findIndex:ce,isArray:N,toArray:Ai,assign:Pt,isFunction:ot,isObject:pt,isPlainObject:ht,isWindow:At,isDocument:he,isNode:Fe,isElement:Vt,isBoolean:ue,isString:y,isNumber:Ie,isNumeric:bt,isEmpty:We,isUndefined:R,toBoolean:je,toNumber:Gt,toFloat:g,toNode:_,toNodes:p,toWindow:yt,isEqual:qe,swap:Ye,last:Jt,each:$t,sortBy:Xe,uniqueBy:ts,clamp:ut,noop:ft,intersectRect:Ve,pointInRect:Ge,Dimensions:Ke,getIndex:fe,memoize:tt,Deferred:Oi,MouseTracker:di,observeIntersection:Rt,observeResize:Se,observeMutation:pi,mergeOptions:It,parseOptions:mi,play:Zi,pause:Qi,mute:Ui,isVideo:tn,positionAt:cn,query:at,queryAll:Zt,find:ti,findAll:Qt,escape:ei,css:c,propName:oi,isInView:on,scrollIntoView:rn,scrolledOver:an,scrollParents:L,offsetViewport:K});function Ws(t){const e=t.data;t.use=function(s){if(!s.installed)return s.call(null,this),s.installed=!0,this},t.mixin=function(s,o){o=(y(o)?t.component(o):o)||this,o.options=It(o.options,s)},t.extend=function(s){s=s||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=It(o.options,s),r.super=o,r.extend=o.extend,r},t.update=function(s,o){s=s?_(s):document.body;for(const r of Ot(s).reverse())n(r[e],o);dt(s,r=>n(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(s){i=m(s)}});function n(s,o){if(!!s)for(const r in s)s[r]._connected&&s[r]._callUpdate(o)}}function js(t){t.prototype._callHook=function(n){var s;(s=this.$options[n])==null||s.forEach(o=>o.call(this))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computed={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){!this._connected||(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},t.prototype._callUpdate=function(n){n===void 0&&(n="update"),this._connected&&((n==="update"||n==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,st.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(n.type||n)))},t.prototype._callWatches=function(){if(this._watch)return;const n=!vt(this,"_watch");this._watch=st.read(()=>{this._connected&&i.call(this,n),this._watch=null})};function e(n){for(const{read:s,write:o,events:r=[]}of this.$options.update){if(!n.has("update")&&!r.some(l=>n.has(l)))continue;let a;s&&(a=s.call(this,this._data,n),a&&ht(a)&&Pt(this._data,a)),o&&a!==!1&&st.write(()=>{this._connected&&o.call(this,this._data,n)})}}function i(n){const{$options:{computed:s}}=this,o={...this._computed};this._computed={};for(const r in s){const{watch:a,immediate:l}=s[r];a&&(n&&l||vt(o,r)&&!qe(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function qs(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=Gs(i,this.constructor.options),this.$options=It(this.constructor.options,i,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),i.el&&this.$mount(i.el)},t.prototype._initData=function(){const{data:i={}}=this.$options;for(const n in i)this.$props[n]=this[n]=i[n]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const n in i)this[n]=i[n].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const n in i)Ys(this,n,i[n])},t.prototype._initProps=function(i){let n;i=i||mn(this.$options);for(n in i)R(i[n])||(this.$props[n]=i[n]);const s=[this.$options.computed,this.$options.methods];for(n in this.$props)n in i&&Xs(s,n)&&(this[n]=this.$props[n])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(vt(i,"handler"))Pe(this,i);else for(const n in i)Pe(this,i[n],n)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[Ks(this)],this.$options.computed&&this.registerObserver(Js(this))},t.prototype.registerObserver=function(i){this._observers.push(i)},t.prototype._disconnectObservers=function(){this._observers.forEach(i=>i==null?void 0:i.disconnect())}}function mn(t){const e={},{args:i=[],props:n={},el:s,id:o}=t;if(!n)return e;for(const a in n){const l=_t(a);let h=Bt(s,l);R(h)||(h=n[a]===Boolean&&h===""?!0:yi(n[a],h),!(l==="target"&&U(h,"_"))&&(e[a]=h))}const r=mi(Bt(s,o),i);for(const a in r){const l=Yt(a);R(n[l])||(e[l]=yi(n[l],r[a]))}return e}function Ys(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:n,$props:s,$el:o}=t;return vt(n,e)||(n[e]=(i.get||i).call(t,s,o)),n[e]},set(n){const{_computed:s}=t;s[e]=i.set?i.set.call(t,n):n,R(s[e])&&delete s[e]}})}function Pe(t,e,i){ht(e)||(e={name:i,handler:e});let{name:n,el:s,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=e;if(s=ot(s)?s.call(t):s||t.$el,N(s)){s.forEach(f=>Pe(t,{...e,el:f},i));return}!s||h&&!h.call(t)||t._events.push($(s,n,l?y(l)?l:l.call(t):null,y(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Xs(t,e){return t.every(i=>!i||!vt(i,e))}function yi(t,e){return t===Boolean?je(e):t===Number?Gt(e):t==="list"?Vs(e):t?t(e):e}function Vs(t){return N(t)?t:y(t)?t.split(/,(?![^(]*\))/).map(e=>bt(e)?Gt(e):je(e.trim())):[t]}function Gs(t,e){let{data:i={}}=t,{args:n=[],props:s={}}=e;N(i)&&(i=i.slice(0,n.length).reduce((o,r,a)=>(ht(r)?Pt(o,r):o[n[a]]=r,o),{}));for(const o in i)R(i[o])?delete i[o]:s[o]&&(i[o]=yi(s[o],i[o]));return i}function Js(t){const{el:e}=t.$options,i=new MutationObserver(()=>t._callWatches());return i.observe(e,{childList:!0,subtree:!0}),i}function Ks(t){const{$options:e,$props:i}=t,{id:n,attrs:s,props:o,el:r}=e;if(!o||s===!1)return;const a=N(s)?s:Object.keys(o),l=a.map(u=>_t(u)).concat(n),h=new MutationObserver(u=>{const f=mn(e);u.some(k=>{let{attributeName:F}=k;const D=F.replace("data-","");return(D===n?a:[Yt(D),Yt(F)]).some(O=>!R(f[O])&&f[O]!==i[O])})&&t.$reset()});return h.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function Zs(t){const e=t.data;t.prototype.$create=function(i,n,s){return t[i](n,s)},t.prototype.$mount=function(i){const{name:n}=this.$options;i[e]||(i[e]={}),!i[e][n]&&(i[e][n]=this,this.$el=this.$options.el=this.$options.el||i,C(i,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(i){i===void 0&&(i=!1);const{el:n,name:s}=this.$options;n&&this._callDisconnected(),this._callHook("destroy"),n!=null&&n[e]&&(delete n[e][s],We(n[e])||delete n[e],i&&Dt(this.$el))},t.prototype.$emit=function(i){this._callUpdate(i)},t.prototype.$update=function(i,n){i===void 0&&(i=this.$el),t.update(i,n)},t.prototype.$getComponent=t.getComponent,Object.defineProperty(t.prototype,"$container",Object.getOwnPropertyDescriptor(t,"container"))}const gt={};function Qs(t){const{data:e,prefix:i}=t;t.component=function(n,s){n=_t(n);const o=i+n;if(!s)return ht(gt[o])&&(gt[o]=gt["data-"+o]=t.extend(gt[o])),gt[o];n=Yt(n),t[n]=function(a,l){const h=t.component(n);return h.options.functional?new h({data:ht(a)?a:[...arguments]}):a?B(a).map(u)[0]:u();function u(f){const k=t.getComponent(f,n);if(k)if(l)k.$destroy();else return k;return new h({el:f,data:l})}};const r=ht(s)?{...s}:s.options;return r.id=o,r.name=n,r.install==null||r.install(t,r,n),t._initialized&&!r.functional&&requestAnimationFrame(()=>t[n]("["+o+"],[data-"+o+"]")),gt[o]=gt["data-"+o]=ht(s)?r:s},t.getComponents=n=>(n==null?void 0:n[e])||{},t.getComponent=(n,s)=>t.getComponents(n)[s],t.connect=n=>{if(n[e])for(const s in n[e])n[e][s]._callConnected();for(const s of n.attributes){const o=vn(s.name);o&&t[o](n)}},t.disconnect=n=>{for(const s in n[e])n[e][s]._callDisconnected()}}function vn(t){const e=gt[t];return e&&(ht(e)?e:e.options).name}const Y=function(t){this._init(t)};Y.util=Is,Y.data="__uikit__",Y.prefix="uk-",Y.options={},Y.version="3.15.8",Ws(Y),js(Y),qs(Y),Qs(Y),Zs(Y);function Us(t){const{connect:e,disconnect:i}=t;if(!St||!window.MutationObserver)return;requestAnimationFrame(function(){document.body&&dt(document.body,e),new MutationObserver(o=>o.forEach(n)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(s)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function n(o){let{addedNodes:r,removedNodes:a}=o;for(const l of r)dt(l,e);for(const l of a)dt(l,i)}function s(o){let{target:r,attributeName:a}=o;const l=vn(a);if(l){var h;if(xt(r,a)){t[l](r);return}(h=t.getComponent(r,l))==null||h.$destroy()}}}var ct={connected(){b(this.$el,this.$options.id)}},Ae={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(Rt(t,(i,n)=>{for(const s of p(ot(e)?e():e))B('[loading="lazy"]',s).slice(0,this.preload-1).forEach(o=>Kt(o,"loading"));for(const s of i.filter(o=>{let{isIntersecting:r}=o;return r}).map(o=>{let{target:r}=o;return r}))n.unobserve(s)}))}}},Wt={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation(t){let{animation:e}=t;return!!e[0]},hasTransition(t){let{animation:e}=t;return["slide","reveal"].some(i=>U(e[0],i))}},methods:{toggleElement(t,e,i){return new Promise(n=>Promise.all(p(t).map(s=>{const o=ue(e)?e:!this.isToggled(s);if(!x(s,"before"+(o?"show":"hide"),[this]))return Promise.reject();const r=(ot(i)?i:i===!1||!this.hasAnimation?to:this.hasTransition?eo:io)(s,o,this),a=o?this.clsEnter:this.clsLeave;b(s,a),x(s,o?"show":"hide",[this]);const l=()=>{H(s,a),x(s,o?"shown":"hidden",[this])};return r?r.then(l,()=>(H(s,a),Promise.reject())):l()})).then(n,ft))},isToggled(t){return t===void 0&&(t=this.$el),[t]=p(t),T(t,this.clsEnter)?!0:T(t,this.clsLeave)?!1:this.cls?T(t,this.cls.split(" ")[0]):z(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=d(this.cls," ")||e!==T(t,this.cls),i&&W(t,this.cls,d(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),B("[autofocus]",t).some(n=>z(n)?n.focus()||!0:n.blur()),i&&x(t,"toggled",[e,this])}}};function to(t,e,i){let{_toggle:n}=i;return et.cancel(t),G.cancel(t),n(t,e)}async function eo(t,e,i){var n;let{animation:s,duration:o,velocity:r,transition:a,_toggle:l}=i;const[h="reveal",u="top"]=((n=s[0])==null?void 0:n.split("-"))||[],f=[["left","right"],["top","bottom"]],k=f[d(f[0],u)?0:1],F=k[1]===u,O=["width","height"][f.indexOf(k)],Q="margin-"+k[0],X="margin-"+u;let ae=j(t)[O];const Br=G.inProgress(t);await G.cancel(t),e&&l(t,!0);const Or=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",Q,X].map(Zn=>[Zn,t.style[Zn]])),le=j(t),_i=g(c(t,Q)),Gn=g(c(t,X)),Et=le[O]+Gn;!Br&&!e&&(ae+=Gn);const[Le]=hi(t,"<div>");c(Le,{boxSizing:"border-box",height:le.height,width:le.width,...c(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",X])}),c(t,{padding:0,border:0,minWidth:0,minHeight:0,[X]:0,width:le.width,height:le.height,overflow:"hidden",[O]:ae});const Jn=ae/Et;o=(r*Et+o)*(e?1-Jn:Jn);const Kn={[O]:e?Et:0};F&&(c(t,Q,Et-ae+_i),Kn[Q]=e?_i:Et+_i),!F^h==="reveal"&&(c(Le,Q,-Et+ae),G.start(Le,{[Q]:e?0:-Et},o,a));try{await G.start(t,Kn,o,a)}finally{c(t,Or),ie(Le.firstChild),e||l(t,!1)}}function io(t,e,i){et.cancel(t);const{animation:n,duration:s,_toggle:o}=i;return e?(o(t,!0),et.in(t,n[0],s,i.origin)):et.out(t,n[1]||n[0],s,i.origin).then(()=>o(t,!1))}var wn={mixins:[ct,Ae,Wt],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items:{get(t,e){let{targets:i}=t;return B(i,e)},watch(t,e){if(e||T(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},immediate:!0},toggles(t){let{toggle:e}=t;return this.items.map(i=>m(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>m(e,i))},watch(t){for(const e of t)Be(e,!T(this.items.find(i=>C(e,i)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return this.targets+" "+this.$props.toggle},async handler(t){var e;t.preventDefault(),(e=this._off)==null||e.call(this),this._off=so(t.target),await this.toggle(Ue(this.toggles,t.current)),this._off()}}],methods:{async toggle(t,e){t=this.items[fe(t,this.items)];let i=[t];const n=ge(this.items,"."+this.clsOpen);!this.multiple&&!d(n,i[0])&&(i=i.concat(n)),!(!this.collapsible&&n.length<2&&d(n,t))&&await Promise.all(i.map(s=>this.toggleElement(s,!d(n,s),(o,r)=>{if(W(o,this.clsOpen,r),v(m(this.$props.toggle,o),"aria-expanded",r),e===!1||!this.animation){Be(m(this.content,o),!r);return}return no(o,r,this)})))}}};function Be(t,e){t&&(t.hidden=e)}async function no(t,e,i){var n;let{content:s,duration:o,velocity:r,transition:a}=i;s=((n=t._wrapper)==null?void 0:n.firstElementChild)||m(s,t),t._wrapper||(t._wrapper=$e(s,"<div>"));const l=t._wrapper;c(l,"overflow","hidden");const h=g(c(l,"height"));await G.cancel(l),Be(s,!1);const u=g(c(s,"height"))+g(c(s,"marginTop"))+g(c(s,"marginBottom")),f=h/u;o=(r*u+o)*(e?1-f:f),c(l,"height",h),await G.start(l,{height:e?u:0},o,a),ie(s),delete t._wrapper,e||Be(s,!0)}function so(t){const e=L(t)[0];let i;return function n(){i=requestAnimationFrame(()=>{const{top:s}=t.getBoundingClientRect();s<0&&(e.scrollTop+=s),n()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var oo={mixins:[ct,Wt],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,ro),this.$destroy(!0)}}};function ro(t,e,i){let{duration:n,transition:s,velocity:o}=i;const r=g(c(t,"height"));return c(t,"height",r),G.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},o*r+n,s)}var bn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!xt(this.$el,"preload")&&(this.$el.preload="none"),nt(this.$el,"iframe")&&!xt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Ui(this.$el),this.registerObserver(Rt(this.$el,()=>this.$emit(),{},!1))},update:{read(){return tn(this.$el)?{visible:z(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&on(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?Qi(this.$el):(this.autoplay===!0||this.inView&&i)&&Zi(this.$el)}}},mt={connected(){var t;this.registerObserver(Se(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},ao={mixins:[mt,bn],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,yn(this.$el)||E(this.$el)]},update:{read(){const{ratio:t,cover:e}=Ke,{$el:i,width:n,height:s}=this;let o={width:n,height:s};if(!o.width||!o.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o.width?o=t(h,"width",o.width):s?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=yn(i)||E(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write(t){let{height:e,width:i}=t;c(this.$el,{height:e,width:i})},events:["resize"]}};function yn(t){for(;t=E(t);)if(c(t,"position")!=="static")return t}var $i={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&m(e)}}},lo={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(ne?"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=d(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const s=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Wi(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();n.reverse(),s.reverse()}const[r]=L(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,h=j(t);c(t,{top:-h.height,left:-h.width}),cn(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return J(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(d(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:J(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(d(["left","top"],this.align)?1:-1)},getViewportOffset(t){return J(c(t,"--uk-position-viewport-offset"))}}},co={beforeConnect(){this._style=v(this.$el,"style")},disconnected(){v(this.$el,"style",this._style)}};const I=[];var $n={mixins:[ct,$i,Wt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel(t,e){let{selPanel:i}=t;return m(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){d(I,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.hide()}},{name:"click",delegate(){return'a[href*="#"]'},handler(t){let{current:e,defaultPrevented:i}=t;const{hash:n}=e;!i&&n&&ki(e)&&!C(n,this.$el)&&m(n,document.body)&&this.hide()}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===d(I,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(d(I,this))return!1;!this.stack&&I.length?(Promise.all(I.map(e=>e.hide())).then(this.show),t.preventDefault()):I.push(this)}},{name:"show",self:!0,handler(){S(this.$el,"hide",$(document,"focusin",t=>{Jt(I)===this&&!C(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(S(this.$el,"hidden",kn(this.$el),{self:!0}),S(this.$el,"hidden",Tn(),{self:!0})),this.stack&&c(this.$el,"zIndex",g(c(this.$el,"zIndex"))+I.length),b(document.documentElement,this.clsPage),this.bgClose&&S(this.$el,"hide",$(document,Lt,t=>{let{target:e}=t;Jt(I)!==this||this.overlay&&!C(e,this.$el)||C(e,this.panel)||S(document,Ft+" "+Te+" scroll",i=>{let{defaultPrevented:n,type:s,target:o}=i;!n&&s===Ft&&e===o&&this.hide()},!0)}),{self:!0}),this.escClose&&S(this.$el,"hide",$(document,"keydown",t=>{t.keyCode===27&&Jt(I)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){Qe(this.$el)||v(this.$el,"tabindex","-1"),m(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){d(I,this)&&I.splice(I.indexOf(this),1),c(this.$el,"zIndex",""),I.some(t=>t.clsPage===this.clsPage)||H(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&E(this.$el)!==this.container?(lt(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,xn)},hide(){return this.toggleElement(this.$el,!1,xn)}}};function xn(t,e,i){let{transitionElement:n,_toggle:s}=i;return new Promise((o,r)=>S(t,"show hide",()=>{t._reject==null||t._reject(),t._reject=r,s(t,e);const a=S(n,"transitionstart",()=>{S(n,"transitionend transitioncancel",o,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),o()},ho(c(n,"transitionDuration")))})).then(()=>delete t._reject)}function ho(t){return t?Xt(t,"ms")?g(t):g(t)*1e3:0}function kn(t){if(CSS.supports("overscroll-behavior","contain")){const n=uo(t,s=>/auto|scroll/.test(c(s,"overflow")));return c(n,"overscrollBehavior","contain"),()=>c(n,"overscrollBehavior","")}let e;const i=[$(t,"touchstart",n=>{let{targetTouches:s}=n;s.length===1&&(e=s[0].clientY)},{passive:!0}),$(t,"touchmove",n=>{if(n.targetTouches.length!==1)return;let[s]=L(n.target,/auto|scroll/);C(s,t)||(s=t);const o=n.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=s;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&n.cancelable&&n.preventDefault()},{passive:!1})];return()=>i.forEach(n=>n())}let xi;function Tn(){if(xi)return ft;xi=!0;const{scrollingElement:t}=document;return c(t,{overflowY:"hidden",touchAction:"none",paddingRight:te(window)-t.clientWidth}),()=>{xi=!1,c(t,{overflowY:"",touchAction:"",paddingRight:""})}}function uo(t,e){const i=[];return dt(t,n=>{e(n)&&i.push(n)}),i}function ki(t){return["origin","pathname","search"].every(e=>t[e]===location[e])}let P;var Sn={mixins:[$i,Ae,lo,co,Wt],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1},computed:{boundary(t,e){let{boundary:i,boundaryX:n,boundaryY:s}=t;return[at(n||i,e)||window,at(s||i,e)||window]},target(t,e){let{target:i,targetX:n,targetY:s}=t;return n=n||i||this.targetEl,s=s||i||this.targetEl,[n===!0?window:at(n,e),s===!0?window:at(s,e)]}},created(){this.tracker=new di},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){b(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",at(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,v(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl))},disconnected(){this.isActive()&&(this.hide(!1),P=null)},events:[{name:"click",delegate(){return"."+this.clsDrop+"-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler(t){let{defaultPrevented:e,current:i}=t;const{hash:n}=i;!e&&n&&ki(i)&&!C(n,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),A(this.$el,":focus,:hover")||this.hide()}},{name:xe+" focusin",filter(){return d(this.mode,"hover")},handler(t){Mt(t)||this.clearTimers()}},{name:ke+" focusout",filter(){return d(this.mode,"hover")},handler(t){!Mt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){P=this,this.tracker.init();const t=()=>this.$emit(),e=[$(document,Lt,i=>{let{target:n}=i;return!C(n,this.$el)&&S(document,Ft+" "+Te+" scroll",s=>{let{defaultPrevented:o,type:r,target:a}=s;!o&&r===Ft&&n===a&&!(this.targetEl&&C(n,this.targetEl))&&this.hide(!1)},!0)}),$(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),$(window,"resize",t),(()=>{const i=Se(L(this.$el).concat(this.target),t);return()=>i.disconnect()})(),...this.autoUpdate?[$([document,L(this.$el)],"scroll",t,{passive:!0})]:[],...this.bgScroll?[]:[kn(this.$el),Tn()]];S(this.$el,"hide",()=>e.forEach(i=>i()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;if(this.$el!==e){P=P===null&&C(e,this.$el)&&this.isToggled()?this:P;return}P=this.isActive()?null:P,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!T(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.targetEl),e===void 0&&(e=!0),this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(P){if(e&&P.isDelaying){this.showTimer=setTimeout(()=>A(t,":hover")&&this.show(),10);return}let i;for(;P&&i!==P&&!C(this.$el,P.$el);)i=P,P.hide(!1,!1)}this.container&&E(this.$el)!==this.container&&lt(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t,e){t===void 0&&(t=!0),e===void 0&&(e=!0);const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=fo(this.$el).some(n=>this.tracker.movesTo(n)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return P===this},position(){H(this.$el,this.clsDrop+"-stack"),v(this.$el,"style",this._style),this.$el.hidden=!0;const t=this.target.map(s=>K(L(s)[0])),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[s,[o,r]]of i)this.axis!==o&&d([o,!0],this.stretch)&&c(this.$el,{[r]:Math.min(w(this.boundary[s])[r],t[s][r]-2*e),["overflow-"+o]:"auto"});const n=t[0].width-2*e;this.$el.offsetWidth>n&&b(this.$el,this.clsDrop+"-stack"),c(this.$el,"maxWidth",n),this.$el.hidden=!1,this.positionAt(this.$el,this.target,this.boundary);for(const[s,[o,r,a,l]]of i)if(this.axis===o&&d([o,!0],this.stretch)){const h=Math.abs(this.getPositionOffset(this.$el)),u=w(this.target[s]),f=w(this.$el);c(this.$el,{[r]:(u[a]>f[a]?u[a]-Math.max(w(this.boundary[s])[a],t[s][a]+e):Math.min(w(this.boundary[s])[l],t[s][l]-e)-u[l])-h,["overflow-"+o]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function fo(t){const e=[];return dt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var po={mixins:[ct],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return m(de,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&E(this.input)===e&&this.input.nextElementSibling||m(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let n;const s=Mi(e)?"value":"textContent",o=e[s],r=(t=i.files)!=null&&t[0]?i.files[0].name:A(i,"select")&&(n=B("option",i).filter(a=>a.selected)[0])?n.textContent:i.value;o!==r&&(e[s]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return V(this.$el,"form")},handler(){this.$emit()}}]},Cn={mixins:[mt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...Ai(this.$el.children)]},connected(){this.registerObserver(pi(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=En(this.$el.children);return{rows:t,columns:go(t)}},write(t){let{columns:e,rows:i}=t;for(const n of i)for(const s of n)W(s,this.margin,i[0]!==n),W(s,this.firstColumn,e[0].includes(s))},events:["resize"]}};function En(t){return _n(t,"top","bottom")}function go(t){const e=[];for(const i of t){const n=_n(i,"left","right");for(let s=0;s<n.length;s++)e[s]=e[s]?e[s].concat(n[s]):n[s]}return ne?e.reverse():e}function _n(t,e,i){const n=[[]];for(const s of t){if(!z(s))continue;let o=Oe(s);for(let r=n.length-1;r>=0;r--){const a=n[r];if(!a[0]){a.push(s);break}let l;if(a[0].offsetParent===s.offsetParent?l=Oe(a[0]):(o=Oe(s,!0),l=Oe(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){n.push([s]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(s);break}if(r===0){n.unshift([s]);break}}}return n}function Oe(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:n,offsetHeight:s,offsetWidth:o}=t;return e&&([i,n]=Tt(t)),{top:i,left:n,bottom:i+s,right:n+o}}var Ti={connected(){Pn(this._uid,()=>this.$emit("scroll"))},disconnected(){An(this._uid)}};const Me=new Map;let oe;function Pn(t,e){oe=oe||$(window,"scroll",()=>Me.forEach(i=>i()),{passive:!0,capture:!0}),Me.set(t,e)}function An(t){Me.delete(t),oe&&!Me.size&&(oe(),oe=null)}var mo={extends:Cn,mixins:[ct],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&b(this.$el,"uk-flex-top uk-flex-wrap-top"),this.parallax&&Pn(this._uid,()=>this.$emit("scroll"))},disconnected(){An(this._uid)},update:[{write(t){let{columns:e}=t;W(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||Bn(this.$el))return t.translates=!1,!1;let n=!1;const s=rt(this.$el),o=bo(e),r=wo(s,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>Xe(h,"offsetTop")),n=vo(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,f)=>Math.max(h,u+r+(f%2?l:l/8)-a),0)),{padding:l,columns:e,translates:n,height:n?a:""}},write(t){let{height:e,padding:i}=t;c(this.$el,"paddingBottom",i||""),e!==!1&&c(this.$el,"height",e)},events:["resize"]},{read(){return this.parallax&&Bn(this.$el)?!1:{scrolled:this.parallax?an(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:n}=t;i===!1&&!n||e.forEach((s,o)=>s.forEach((r,a)=>c(r,"transform",!i&&!n?"":"translateY("+((n&&-n[o][a])+(i?o%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function Bn(t){return rt(t).some(e=>c(e,"position")==="absolute")}function vo(t,e){const i=t.map(n=>Math.max(...n.map(s=>s.offsetHeight)));return e.map(n=>{let s=0;return n.map((o,r)=>s+=r?i[r-1]-n[r-1].offsetHeight:0)})}function wo(t,e){const[i]=t.filter(n=>T(n,e));return g(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function bo(t){return t.map(e=>e.reduce((i,n)=>i+n.offsetHeight,0))}var yo={mixins:[mt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return B(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?En(this.elements):[this.elements]).map($o)}},write(t){let{rows:e}=t;for(const{heights:i,elements:n}of e)n.forEach((s,o)=>c(s,"minHeight",i[o]))},events:["resize"]}};function $o(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(xo);const i=Math.max(...e);return{heights:t.map((n,s)=>e[s].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function xo(t){let e=!1;z(t)||(e=t.style.display,c(t,"display","block","important"));const i=j(t).height-ee(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var ko={mixins:[mt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...L(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!z(this.$el))return!1;let i="";const n=ee(this.$el,"height","content-box"),{body:s,scrollingElement:o}=document,[r]=L(this.$el,/auto|scroll/),{height:a}=K(r===s?o:r);if(this.expand)i=Math.max(a-(j(r).height-j(this.$el).height)-n,0);else{const l=o===r||s===r;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Tt(this.$el)[0]-Tt(r)[0];i+=h>0&&h<a/2?" - "+h+"px":""}else i+=" - "+c(r,"paddingTop");this.offsetBottom===!0?i+=" - "+j(this.$el.nextElementSibling).height+"px":bt(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Xt(this.offsetBottom,"px")?i+=" - "+g(this.offsetBottom)+"px":y(this.offsetBottom)&&(i+=" - "+j(at(this.offsetBottom,this.$el)).height+"px"),i+=(n?" - "+n+"px":"")+")"}return{minHeight:i,prev:e}},write(t){let{minHeight:e}=t;c(this.$el,{minHeight:e}),this.minHeight&&g(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},On={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&d(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=_o(t,this.$el);return this.svgEl&&e!==this.svgEl&&Dt(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},ft),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(Dn(t),this.registerObserver(Rt(t,(e,i)=>{Dn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ze(this.$el)&&(this.$el.hidden=!1),Dt(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return nt(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>S(this.$el,"load",()=>t(this.getSvg()))):So(await To(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)d(this.include,o)&&o in this&&v(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);v(t,r,a)}this.id||Kt(t,"id");const i=["width","height"];let n=i.map(o=>this[o]);n.some(o=>o)||(n=i.map(o=>v(e,o)));const s=v(e,"viewBox");s&&!n.some(o=>o)&&(n=s.split(" ").slice(2)),n.forEach((o,r)=>v(t,i[r],g(o)*this.ratio||null))}}};const To=tt(async t=>t?U(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function So(t,e){var i;return e&&d(t,"<symbol")&&(t=Co(t,e)||t),t=m(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const Mn=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,De={};function Co(t,e){if(!De[t]){De[t]={},Mn.lastIndex=0;let i;for(;i=Mn.exec(t);)De[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return De[t][e]}function Dn(t){const e=Eo(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function Eo(t){return Math.ceil(Math.max(0,...B("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function _o(t,e){if(Ze(e)||nt(e,"canvas")){e.hidden=!0;const n=e.nextElementSibling;return Nn(t,n)?n:be(e,t)}const i=e.lastElementChild;return Nn(t,i)?i:lt(e,t)}function Nn(t,e){return nt(t,"svg")&&nt(e,"svg")&&zn(t)===zn(e)}function zn(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var Po='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',Ao='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',Bo='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',Oo='<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Mo='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',Do='<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',No=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><style>.uk-navbar-toggle-animate svg > [class*='line-'] {
1
+ /*! UIkit 3.15.9-dev.d605a4e5a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(jt,qt){typeof exports=="object"&&typeof module<"u"?module.exports=qt():typeof define=="function"&&define.amd?define("uikit",qt):(jt=typeof globalThis<"u"?globalThis:jt||self,jt.UIkit=qt())})(this,function(){"use strict";const{hasOwnProperty:jt,toString:qt}=Object.prototype;function vt(t,e){return jt.call(t,e)}const Qn=/\B([A-Z])/g,_t=tt(t=>t.replace(Qn,"-$1").toLowerCase()),Un=/-(\w)/g,Yt=tt(t=>t.replace(Un,Pi)),wt=tt(t=>t.length?Pi(null,t.charAt(0))+t.slice(1):"");function Pi(t,e){return e?e.toUpperCase():""}function U(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Xt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function d(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function ce(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:N,from:Ai}=Array,{assign:Pt}=Object;function ot(t){return typeof t=="function"}function pt(t){return t!==null&&typeof t=="object"}function ht(t){return qt.call(t)==="[object Object]"}function At(t){return pt(t)&&t===t.window}function he(t){return Re(t)===9}function Fe(t){return Re(t)>=1}function Vt(t){return Re(t)===1}function Re(t){return!At(t)&&pt(t)&&t.nodeType}function ue(t){return typeof t=="boolean"}function y(t){return typeof t=="string"}function Ie(t){return typeof t=="number"}function bt(t){return Ie(t)||y(t)&&!isNaN(t-parseFloat(t))}function We(t){return!(N(t)?t.length:pt(t)?Object.keys(t).length:!1)}function R(t){return t===void 0}function je(t){return ue(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Gt(t){const e=Number(t);return isNaN(e)?!1:e}function g(t){return parseFloat(t)||0}function _(t){return p(t)[0]}function p(t){return t&&(Fe(t)?[t]:Array.from(t).filter(Fe))||[]}function yt(t){var e;if(At(t))return t;t=_(t);const i=he(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function qe(t,e){return t===e||pt(t)&&pt(e)&&Object.keys(t).length===Object.keys(e).length&&$t(t,(i,n)=>i===e[n])}function Ye(t,e,i){return t.replace(new RegExp(e+"|"+i,"g"),n=>n===e?i:e)}function Jt(t){return t[t.length-1]}function $t(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Xe(t,e){return t.slice().sort((i,n)=>{let{[e]:s=0}=i,{[e]:o=0}=n;return s>o?1:o>s?-1:0})}function ts(t,e){const i=new Set;return t.filter(n=>{let{[e]:s}=n;return i.has(s)?!1:i.add(s)})}function ut(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(Gt(t)||0,e),i)}function ft(){}function Ve(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every(n=>{let[s,o]=n;return Math.min(...e.map(r=>{let{[s]:a}=r;return a}))-Math.max(...e.map(r=>{let{[o]:a}=r;return a}))>0})}function Ge(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Je(t,e,i){const n=e==="width"?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function Bi(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Je(t,i,e[i]):t;return t}function es(t,e){t=Bi(t,e);for(const i in t)t=t[i]<e[i]?Je(t,i,e[i]):t;return t}const Ke={ratio:Je,contain:Bi,cover:es};function fe(t,e,i,n){i===void 0&&(i=0),n===void 0&&(n=!1),e=p(e);const{length:s}=e;return s?(t=bt(t)?Gt(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(_(t)),n?ut(t,0,s-1):(t%=s,t<0?t+s:t)):-1}function tt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Oi{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function v(t,e,i){if(pt(e)){for(const s in e)v(t,s,e[s]);return}if(R(i)){var n;return(n=_(t))==null?void 0:n.getAttribute(e)}else for(const s of p(t))ot(i)&&(i=i.call(s,v(s,e))),i===null?Kt(s,e):s.setAttribute(e,i)}function xt(t,e){return p(t).some(i=>i.hasAttribute(e))}function Kt(t,e){const i=p(t);for(const n of e.split(" "))for(const s of i)s.removeAttribute(n)}function Bt(t,e){for(const i of[e,"data-"+e])if(xt(t,i))return v(t,i)}const is={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Ze(t){return p(t).some(e=>is[e.tagName.toLowerCase()])}function z(t){return p(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const de="input,select,textarea,button";function Mi(t){return p(t).some(e=>A(e,de))}const pe=de+",a[href],[tabindex]";function Qe(t){return A(t,pe)}function E(t){var e;return(e=_(t))==null?void 0:e.parentElement}function ge(t,e){return p(t).filter(i=>A(i,e))}function A(t,e){return p(t).some(i=>i.matches(e))}function V(t,e){return Vt(t)?t.closest(U(e,">")?e.slice(1):e):p(t).map(i=>V(i,e)).filter(Boolean)}function C(t,e){return y(e)?!!V(t,e):_(e).contains(_(t))}function Ot(t,e){const i=[];for(;t=E(t);)(!e||A(t,e))&&i.push(t);return i}function rt(t,e){t=_(t);const i=t?p(t.children):[];return e?ge(i,e):i}function Ue(t,e){return e?p(t).indexOf(_(e)):rt(E(t)).indexOf(t)}function at(t,e){return ti(t,Ni(t,e))}function Zt(t,e){return Qt(t,Ni(t,e))}function ti(t,e){return _(zi(t,e,"querySelector"))}function Qt(t,e){return p(zi(t,e,"querySelectorAll"))}const ns=/(^|[^\\],)\s*[!>+~-]/,Di=tt(t=>t.match(ns));function Ni(t,e){return e===void 0&&(e=document),y(t)&&Di(t)||he(e)?e:e.ownerDocument}const ss=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,os=tt(t=>t.replace(ss,"$1 *"));function zi(t,e,i){if(e===void 0&&(e=document),!t||!y(t))return t;if(t=os(t),Di(t)){const n=as(t);t="";for(let s of n){let o=e;if(s[0]==="!"){const r=s.substr(1).trim().split(" ");if(o=V(E(e),r[0]),s=r.slice(1).join(" ").trim(),!s.length&&n.length===1)return o}if(s[0]==="-"){const r=s.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=A(a,s.substr(1))?a:null,s=r.slice(1).join(" ")}o&&(t+=(t?",":"")+ls(o)+" "+s)}e=document}try{return e[i](t)}catch{return null}}const rs=/.*?[^\\](?:,|$)/g,as=tt(t=>t.match(rs).map(e=>e.replace(/,$/,"").trim()));function ls(t){const e=[];for(;t.parentNode;){const i=v(t,"id");if(i){e.unshift("#"+ei(i));break}else{let{tagName:n}=t;n!=="HTML"&&(n+=":nth-child("+(Ue(t)+1)+")"),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function ei(t){return y(t)?CSS.escape(t):""}function $(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,s,o,r,a=!1]=ni(e);r.length>1&&(r=hs(r)),a!=null&&a.self&&(r=us(r)),o&&(r=cs(o,r));for(const l of s)for(const h of n)h.addEventListener(l,r,a);return()=>ii(n,s,r,a)}function ii(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,s,,o,r=!1]=ni(e);for(const a of s)for(const l of n)l.removeEventListener(a,o,r)}function S(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[n,s,o,r,a=!1,l]=ni(e),h=$(n,s,o,u=>{const f=!l||l(u);f&&(h(),r(u,f))},a);return h}function x(t,e,i){return si(t).every(n=>n.dispatchEvent(me(e,!0,!0,i)))}function me(t,e,i,n){return e===void 0&&(e=!0),i===void 0&&(i=!1),y(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function ni(t){return t[0]=si(t[0]),y(t[1])&&(t[1]=t[1].split(" ")),ot(t[2])&&t.splice(2,0,!1),t}function cs(t,e){return i=>{const n=t[0]===">"?Qt(t,i.currentTarget).reverse().filter(s=>C(i.target,s))[0]:V(i.target,t);n&&(i.current=n,e.call(this,i))}}function hs(t){return e=>N(e.detail)?t(e,...e.detail):t(e)}function us(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Hi(t){return t&&"addEventListener"in t}function fs(t){return Hi(t)?t:_(t)}function si(t){return N(t)?t.map(fs).filter(Boolean):y(t)?Qt(t):Hi(t)?[t]:p(t)}function Mt(t){return t.pointerType==="touch"||!!t.touches}function ve(t){var e,i;const{clientX:n,clientY:s}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:n,y:s}}function ds(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:ft,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>ps(t,i))}function ps(t,e){return new Promise((i,n)=>{const{xhr:s}=e;for(const o in e)if(o in s)try{s[o]=e[o]}catch{}s.open(e.method.toUpperCase(),t);for(const o in e.headers)s.setRequestHeader(o,e.headers[o]);$(s,"load",()=>{s.status===0||s.status>=200&&s.status<300||s.status===304?i(s):n(Pt(Error(s.statusText),{xhr:s,status:s.status}))}),$(s,"error",()=>n(Pt(Error("Network Error"),{xhr:s}))),$(s,"timeout",()=>n(Pt(Error("Network Timeout"),{xhr:s}))),s.send(e.data)})}function gs(t,e,i){return new Promise((n,s)=>{const o=new Image;o.onerror=r=>{s(r)},o.onload=()=>{n(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const ms={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function c(t,e,i,n){n===void 0&&(n="");const s=p(t);for(const o of s)if(y(e)){if(e=oi(e),R(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,bt(i)&&!ms[e]?i+"px":i||Ie(i)?i:"",n)}else if(N(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else pt(e)&&(n=i,$t(e,(r,a)=>c(o,a,r,n)));return s[0]}const oi=tt(t=>vs(t));function vs(t){if(U(t,"--"))return t;t=_t(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n="-"+i+"-"+t;if(n in e)return n}}function b(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Li(t,i,"add")}function H(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Li(t,i,"remove")}function ri(t,e){v(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b\\s?","g"),""))}function ai(t){!(arguments.length<=1)&&arguments[1]&&H(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&b(t,arguments.length<=2?void 0:arguments[2])}function T(t,e){return[e]=li(e),!!e&&p(t).some(i=>i.classList.contains(e))}function W(t,e,i){const n=li(e);R(i)||(i=!!i);for(const s of p(t))for(const o of n)s.classList.toggle(o,i)}function Li(t,e,i){e=e.reduce((n,s)=>n.concat(li(s)),[]);for(const n of p(t))n.classList[i](...e)}function li(t){return String(t).split(/\s|,/).filter(Boolean)}function ws(t,e,i,n){return i===void 0&&(i=400),n===void 0&&(n="linear"),i=Math.round(i),Promise.all(p(t).map(s=>new Promise((o,r)=>{for(const l in e){const h=c(s,l);h===""&&c(s,l,h)}const a=setTimeout(()=>x(s,"transitionend"),i);S(s,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),H(s,"uk-transition"),c(s,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?r():o(s)},{self:!0}),b(s,"uk-transition"),c(s,{transitionProperty:Object.keys(e).map(oi).join(","),transitionDuration:i+"ms",transitionTimingFunction:n,...e})})))}const G={start:ws,async stop(t){x(t,"transitionend"),await Promise.resolve()},async cancel(t){x(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return T(t,"uk-transition")}},Ut="uk-animation-";function Fi(t,e,i,n,s){return i===void 0&&(i=200),Promise.all(p(t).map(o=>new Promise((r,a)=>{x(o,"animationcanceled");const l=setTimeout(()=>x(o,"animationend"),i);S(o,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():r(o),c(o,"animationDuration",""),ri(o,Ut+"\\S*")},{self:!0}),c(o,"animationDuration",i+"ms"),b(o,e,Ut+(s?"leave":"enter")),U(e,Ut)&&(n&&b(o,"uk-transform-origin-"+n),s&&b(o,Ut+"reverse"))})))}const bs=new RegExp(Ut+"(enter|leave)"),et={in:Fi,out(t,e,i,n){return Fi(t,e,i,n,!0)},inProgress(t){return bs.test(v(t,"class"))},cancel(t){x(t,"animationcanceled")}},kt={width:["left","right"],height:["top","bottom"]};function j(t){const e=Vt(t)?_(t).getBoundingClientRect():{height:it(t),width:te(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function w(t,e){const i=j(t);if(t){const{scrollY:s,scrollX:o}=yt(t),r={height:s,width:o};for(const a in kt)for(const l of kt[a])i[l]+=r[a]}if(!e)return i;const n=c(t,"position");$t(c(t,["left","top"]),(s,o)=>c(t,o,e[o]-i[o]+g(n==="absolute"&&s==="auto"?Ri(t)[o]:s)))}function Ri(t){let{top:e,left:i}=w(t);const{ownerDocument:{body:n,documentElement:s},offsetParent:o}=_(t);let r=o||s;for(;r&&(r===n||r===s)&&c(r,"position")==="static";)r=r.parentNode;if(Vt(r)){const a=w(r);e-=a.top+g(c(r,"borderTopWidth")),i-=a.left+g(c(r,"borderLeftWidth"))}return{top:e-g(c(t,"marginTop")),left:i-g(c(t,"marginLeft"))}}function Tt(t){t=_(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+g(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+g(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=yt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const it=Ii("height"),te=Ii("width");function Ii(t){const e=wt(t);return(i,n)=>{if(R(n)){if(At(i))return i["inner"+e];if(he(i)){const s=i.documentElement;return Math.max(s["offset"+e],s["scroll"+e])}return i=_(i),n=c(i,t),n=n==="auto"?i["offset"+e]:g(n)||0,n-ee(i,t)}else return c(i,t,!n&&n!==0?"":+n+ee(i,t)+"px")}}function ee(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?kt[e].map(wt).reduce((n,s)=>n+g(c(t,"padding"+s))+g(c(t,"border"+s+"Width")),0):0}function Wi(t){for(const e in kt)for(const i in kt[e])if(kt[e][i]===t)return kt[e][1-i];return t}function J(t,e,i,n){return e===void 0&&(e="width"),i===void 0&&(i=window),n===void 0&&(n=!1),y(t)?$s(t).reduce((s,o)=>{const r=ks(o);return r&&(o=Ts(r==="vh"?it(yt(i)):r==="vw"?te(yt(i)):n?i["offset"+wt(e)]:j(i)[e],o)),s+g(o)},0):g(t)}const ys=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,$s=tt(t=>t.toString().replace(/\s/g,"").match(ys)||[]),xs=/(?:v[hw]|%)$/,ks=tt(t=>(t.match(xs)||[])[0]);function Ts(t,e){return t*g(e)/100}function ci(t){if(document.readyState!=="loading"){t();return}S(document,"DOMContentLoaded",t)}function nt(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function ji(t){return t=m(t),t.innerHTML="",t}function we(t,e){return R(e)?m(t).innerHTML:lt(ji(t),e)}const Ss=ye("prepend"),lt=ye("append"),qi=ye("before"),be=ye("after");function ye(t){return function(e,i){var n;const s=p(y(i)?Nt(i):i);return(n=m(e))==null||n[t](...s),Yi(s)}}function Dt(t){p(t).forEach(e=>e.remove())}function $e(t,e){for(e=_(qi(t,e));e.firstChild;)e=e.firstChild;return lt(e,t),e}function hi(t,e){return p(p(t).map(i=>i.hasChildNodes()?$e(p(i.childNodes),e):lt(i,e)))}function ie(t){p(t).map(E).filter((e,i,n)=>n.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const Cs=/^\s*<(\w+|!)[^>]*>/,Es=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Nt(t){const e=Es.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return Cs.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Yi(i.childNodes)}function Yi(t){return t.length>1?t:t[0]}function dt(t,e){if(!!Vt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;dt(t,e),t=i}}function m(t,e){return Xi(t)?_(Nt(t)):ti(t,e)}function B(t,e){return Xi(t)?p(Nt(t)):Qt(t,e)}function Xi(t){return y(t)&&U(t.trim(),"<")}const St=typeof window<"u",ne=St&&v(document.documentElement,"dir")==="rtl",zt=St&&"ontouchstart"in window,Ht=St&&window.PointerEvent,Lt=Ht?"pointerdown":zt?"touchstart":"mousedown",_s=Ht?"pointermove":zt?"touchmove":"mousemove",Ft=Ht?"pointerup":zt?"touchend":"mouseup",xe=Ht?"pointerenter":zt?"":"mouseenter",ke=Ht?"pointerleave":zt?"":"mouseleave",Te=Ht?"pointercancel":"touchcancel",st={reads:[],writes:[],read(t){return this.reads.push(t),fi(),t},write(t){return this.writes.push(t),fi(),t},clear(t){Gi(this.reads,t),Gi(this.writes,t)},flush:ui};function ui(t){Vi(st.reads),Vi(st.writes.splice(0)),st.scheduled=!1,(st.reads.length||st.writes.length)&&fi(t+1)}const Ps=4;function fi(t){st.scheduled||(st.scheduled=!0,t&&t<Ps?Promise.resolve().then(()=>ui(t)):requestAnimationFrame(()=>ui(1)))}function Vi(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Gi(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function di(){}di.prototype={positions:[],init(){this.positions=[];let t;this.unbind=$(document,"mousemove",e=>t=ve(e)),this.interval=setInterval(()=>{!t||(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),this.interval&&clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:n,top:s,bottom:o}=e,[r]=this.positions,a=Jt(this.positions),l=[r,a];return Ge(a,e)?!1:[[{x:i,y:s},{x:n,y:o}],[{x:i,y:o},{x:n,y:s}]].some(u=>{const f=As(l,u);return f&&Ge(f,e)})}};function As(t,e){let[{x:i,y:n},{x:s,y:o}]=t,[{x:r,y:a},{x:l,y:h}]=e;const u=(h-a)*(s-i)-(l-r)*(o-n);if(u===0)return!1;const f=((l-r)*(n-a)-(h-a)*(i-r))/u;return f<0?!1:{x:i+f*(s-i),y:n+f*(o-n)}}function Rt(t,e,i,n){n===void 0&&(n=!0);const s=new IntersectionObserver(n?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of p(t))s.observe(o);return s}const Bs=St&&window.ResizeObserver;function Se(t,e,i){return i===void 0&&(i={box:"border-box"}),Bs?Ji(ResizeObserver,t,e,i):(Os(),se.add(e),{disconnect(){se.delete(e)}})}let se;function Os(){if(se)return;se=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const i of se)i()}};$(window,"load resize",e),$(document,"loadedmetadata load",e,!0)}function pi(t,e,i){return Ji(MutationObserver,t,e,i)}function Ji(t,e,i,n){const s=new t(i);for(const o of p(e))s.observe(o,n);return s}const M={};M.events=M.created=M.beforeConnect=M.connected=M.beforeDisconnect=M.disconnected=M.destroy=gi,M.args=function(t,e){return e!==!1&&gi(e||t)},M.update=function(t,e){return Xe(gi(t,ot(e)?{read:e}:e),"order")},M.props=function(t,e){if(N(e)){const i={};for(const n of e)i[n]=String;e=i}return M.methods(t,e)},M.computed=M.methods=function(t,e){return e?t?{...t,...e}:e:t},M.data=function(t,e,i){return i?Ki(t,e,i):e?t?function(n){return Ki(t,e,n)}:e:t};function Ki(t,e,i){return M.computed(ot(t)?t.call(i,i):t,ot(e)?e.call(i,i):e)}function gi(t,e){return t=t&&!N(t)?[t]:t,e?t?t.concat(e):N(e)?e:[e]:t}function Ms(t,e){return R(e)?t:e}function It(t,e,i){const n={};if(ot(e)&&(e=e.options),e.extends&&(t=It(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=It(t,o,i);for(const o in t)s(o);for(const o in e)vt(t,o)||s(o);function s(o){n[o]=(M[o]||Ms)(t[o],e[o],i)}return n}function mi(t,e){e===void 0&&(e=[]);try{return t?U(t,"{")?JSON.parse(t):e.length&&!d(t,":")?{[e[0]]:t}:t.split(";").reduce((i,n)=>{const[s,o]=n.split(/:(.*)/);return s&&!R(o)&&(i[s.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Zi(t){if(Ee(t)&&vi(t,{func:"playVideo",method:"play"}),Ce(t))try{t.play().catch(ft)}catch{}}function Qi(t){Ee(t)&&vi(t,{func:"pauseVideo",method:"pause"}),Ce(t)&&t.pause()}function Ui(t){Ee(t)&&vi(t,{func:"mute",method:"setVolume",value:0}),Ce(t)&&(t.muted=!0)}function tn(t){return Ce(t)||Ee(t)}function Ce(t){return nt(t,"video")}function Ee(t){return nt(t,"iframe")&&(en(t)||nn(t))}function en(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function nn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function vi(t,e){await Ns(t),sn(t,e)}function sn(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const wi="_ukPlayer";let Ds=0;function Ns(t){if(t[wi])return t[wi];const e=en(t),i=nn(t),n=++Ds;let s;return t[wi]=new Promise(o=>{e&&S(t,"load",()=>{const r=()=>sn(t,{event:"listening",id:n});s=setInterval(r,100),r()}),S(window,"message",o,!1,r=>{let{data:a}=r;try{return a=JSON.parse(a),a&&(e&&a.id===n&&a.event==="onReady"||i&&Number(a.player_id)===n)}catch{}}),t.src=""+t.src+(d(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+n)}).then(()=>clearInterval(s))}function on(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),z(t)?Ve(...L(t).map(n=>{const{top:s,left:o,bottom:r,right:a}=K(n);return{top:s-e,left:o-i,bottom:r+e,right:a+i}}).concat(w(t))):!1}function rn(t,e){let{offset:i=0}=e===void 0?{}:e;const n=z(t)?L(t):[];return n.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:f,offsetHeight:k}=l,F=K(l),D=f-F.height,{height:O,top:Q}=n[h-1]?K(n[h-1]):w(t);let X=Math.ceil(Q-F.top-i+u);return i>0&&k<O+i?X+=i:i=0,X>D?(i-=X-D,X=D):X<0&&(i-=X,X=0),()=>s(l,X-u).then(a)},()=>Promise.resolve())();function s(a,l){return new Promise(h=>{const u=a.scrollTop,f=o(Math.abs(l)),k=Date.now();(function F(){const D=r(ut((Date.now()-k)/f));a.scrollTop=u+l*D,D===1?h():requestAnimationFrame(F)})()})}function o(a){return 40*Math.pow(a,.375)}function r(a){return .5*(1-Math.cos(Math.PI*a))}}function an(t,e,i){if(e===void 0&&(e=0),i===void 0&&(i=0),!z(t))return 0;const[n]=L(t,/auto|scroll/,!0),{scrollHeight:s,scrollTop:o}=n,{height:r}=K(n),a=s-r,l=Tt(t)[0]-Tt(n)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return ut((o-h)/(u-h))}function L(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const n=ln(t);let s=Ot(t).reverse();s=s.slice(s.indexOf(n)+1);const o=ce(s,r=>c(r,"position")==="fixed");return~o&&(s=s.slice(o)),[n].concat(s.filter(r=>e.test(c(r,"overflow"))&&(!i||r.scrollHeight>K(r).height))).reverse()}function K(t){const e=yt(t),{document:{documentElement:i}}=e;let n=t===ln(t)?e:t;const{visualViewport:s}=e;if(At(n)&&s){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=s;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:h,left:u,bottom:h+r,right:u+a}}let o=w(n);for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])At(n)?n=i:o[l]+=g(c(n,"border-"+l+"-width")),o[r]=o[a]=n["client"+wt(r)],o[h]=o[r]+o[l];return o}function ln(t){return yt(t).document.scrollingElement}const q=[["width","x","left","right"],["height","y","top","bottom"]];function cn(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},N(e)||(e=[e,e]),w(t,hn(t,e,i))}function hn(t,e,i){const n=un(t,e,i),{boundary:s,viewportOffset:o=0,placement:r}=i;let a=n;for(const[l,[h,,u,f]]of Object.entries(q)){const k=zs(e[l],o,s,l);if(_e(n,k,l))continue;let F=0;if(r[l]==="flip"){const D=i.attach.target[l];if(D===f&&n[f]<=k[f]||D===u&&n[u]>=k[u])continue;F=Ls(t,e,i,l)[u]-n[u];const O=Hs(e[l],o,l);if(!_e(bi(n,F,l),O,l)){if(_e(n,O,l))continue;if(i.recursion)return!1;const Q=Fs(t,e,i);if(Q&&_e(Q,O,1-l))return Q;continue}}else if(r[l]==="shift"){const D=w(e[l]),{offset:O}=i;F=ut(ut(n[u],k[u],k[f]-n[h]),D[u]-n[h]+O[l],D[f]-O[l])-n[u]}a=bi(a,F,l)}return a}function un(t,e,i){let{attach:n,offset:s}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=w(t);for(const[r,[a,,l,h]]of Object.entries(q)){const u=n.target[r]===n.element[r]?K(e[r]):w(e[r]);o=bi(o,u[l]-o[l]+fn(n.target[r],h,u[a])-fn(n.element[r],h,o[a])+ +s[r],r)}return o}function bi(t,e,i){const[,n,s,o]=q[i],r={...t};return r[s]=t[n]=t[s]+e,r[o]+=e,r}function fn(t,e,i){return t==="center"?i/2:t===e?i:0}function zs(t,e,i,n){let s=dn(...L(t).map(K));return e&&(s[q[n][2]]+=e,s[q[n][3]]-=e),i&&(s=dn(s,w(N(i)?i[n]:i))),s}function Hs(t,e,i){const[n,,s,o]=q[i],[r]=L(t),a=K(r);return a[s]-=r["scroll"+wt(s)]-e,a[o]=a[s]+r["scroll"+wt(n)]-e,a}function dn(){let t={};for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];for(const s of i)for(const[,,o,r]of q)t[o]=Math.max(t[o]||0,s[o]),t[r]=Math.min(...[t[r],s[r]].filter(Boolean));return t}function _e(t,e,i){const[,,n,s]=q[i];return t[n]>=e[n]&&t[s]<=e[s]}function Ls(t,e,i,n){let{offset:s,attach:o}=i;return un(t,e,{attach:{element:pn(o.element,n),target:pn(o.target,n)},offset:Rs(s,n)})}function Fs(t,e,i){return hn(t,e,{...i,attach:{element:i.attach.element.map(gn).reverse(),target:i.attach.target.map(gn).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function pn(t,e){const i=[...t],n=q[e].indexOf(t[e]);return~n&&(i[e]=q[e][1-n%2+2]),i}function gn(t){for(let e=0;e<q.length;e++){const i=q[e].indexOf(t);if(~i)return q[1-e][i%2+2]}}function Rs(t,e){return t=[...t],t[e]*=-1,t}var Is=Object.freeze({__proto__:null,ajax:ds,getImage:gs,Transition:G,Animation:et,attr:v,hasAttr:xt,removeAttr:Kt,data:Bt,addClass:b,removeClass:H,removeClasses:ri,replaceClass:ai,hasClass:T,toggleClass:W,dimensions:j,offset:w,position:Ri,offsetPosition:Tt,height:it,width:te,boxModelAdjust:ee,flipPosition:Wi,toPx:J,ready:ci,isTag:nt,empty:ji,html:we,prepend:Ss,append:lt,before:qi,after:be,remove:Dt,wrapAll:$e,wrapInner:hi,unwrap:ie,fragment:Nt,apply:dt,$:m,$$:B,inBrowser:St,isRtl:ne,hasTouch:zt,pointerDown:Lt,pointerMove:_s,pointerUp:Ft,pointerEnter:xe,pointerLeave:ke,pointerCancel:Te,on:$,off:ii,once:S,trigger:x,createEvent:me,toEventTargets:si,isTouch:Mt,getEventPos:ve,fastdom:st,isVoidElement:Ze,isVisible:z,selInput:de,isInput:Mi,selFocusable:pe,isFocusable:Qe,parent:E,filter:ge,matches:A,closest:V,within:C,parents:Ot,children:rt,index:Ue,hasOwn:vt,hyphenate:_t,camelize:Yt,ucfirst:wt,startsWith:U,endsWith:Xt,includes:d,findIndex:ce,isArray:N,toArray:Ai,assign:Pt,isFunction:ot,isObject:pt,isPlainObject:ht,isWindow:At,isDocument:he,isNode:Fe,isElement:Vt,isBoolean:ue,isString:y,isNumber:Ie,isNumeric:bt,isEmpty:We,isUndefined:R,toBoolean:je,toNumber:Gt,toFloat:g,toNode:_,toNodes:p,toWindow:yt,isEqual:qe,swap:Ye,last:Jt,each:$t,sortBy:Xe,uniqueBy:ts,clamp:ut,noop:ft,intersectRect:Ve,pointInRect:Ge,Dimensions:Ke,getIndex:fe,memoize:tt,Deferred:Oi,MouseTracker:di,observeIntersection:Rt,observeResize:Se,observeMutation:pi,mergeOptions:It,parseOptions:mi,play:Zi,pause:Qi,mute:Ui,isVideo:tn,positionAt:cn,query:at,queryAll:Zt,find:ti,findAll:Qt,escape:ei,css:c,propName:oi,isInView:on,scrollIntoView:rn,scrolledOver:an,scrollParents:L,offsetViewport:K});function Ws(t){const e=t.data;t.use=function(s){if(!s.installed)return s.call(null,this),s.installed=!0,this},t.mixin=function(s,o){o=(y(o)?t.component(o):o)||this,o.options=It(o.options,s)},t.extend=function(s){s=s||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=It(o.options,s),r.super=o,r.extend=o.extend,r},t.update=function(s,o){s=s?_(s):document.body;for(const r of Ot(s).reverse())n(r[e],o);dt(s,r=>n(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(s){i=m(s)}});function n(s,o){if(!!s)for(const r in s)s[r]._connected&&s[r]._callUpdate(o)}}function js(t){t.prototype._callHook=function(n){var s;(s=this.$options[n])==null||s.forEach(o=>o.call(this))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computed={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){!this._connected||(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},t.prototype._callUpdate=function(n){n===void 0&&(n="update"),this._connected&&((n==="update"||n==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,st.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(n.type||n)))},t.prototype._callWatches=function(){if(this._watch)return;const n=!vt(this,"_watch");this._watch=st.read(()=>{this._connected&&i.call(this,n),this._watch=null})};function e(n){for(const{read:s,write:o,events:r=[]}of this.$options.update){if(!n.has("update")&&!r.some(l=>n.has(l)))continue;let a;s&&(a=s.call(this,this._data,n),a&&ht(a)&&Pt(this._data,a)),o&&a!==!1&&st.write(()=>{this._connected&&o.call(this,this._data,n)})}}function i(n){const{$options:{computed:s}}=this,o={...this._computed};this._computed={};for(const r in s){const{watch:a,immediate:l}=s[r];a&&(n&&l||vt(o,r)&&!qe(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function qs(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=Gs(i,this.constructor.options),this.$options=It(this.constructor.options,i,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),i.el&&this.$mount(i.el)},t.prototype._initData=function(){const{data:i={}}=this.$options;for(const n in i)this.$props[n]=this[n]=i[n]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const n in i)this[n]=i[n].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const n in i)Ys(this,n,i[n])},t.prototype._initProps=function(i){let n;i=i||mn(this.$options);for(n in i)R(i[n])||(this.$props[n]=i[n]);const s=[this.$options.computed,this.$options.methods];for(n in this.$props)n in i&&Xs(s,n)&&(this[n]=this.$props[n])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(vt(i,"handler"))Pe(this,i);else for(const n in i)Pe(this,i[n],n)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[Ks(this)],this.$options.computed&&this.registerObserver(Js(this))},t.prototype.registerObserver=function(i){this._observers.push(i)},t.prototype._disconnectObservers=function(){this._observers.forEach(i=>i==null?void 0:i.disconnect())}}function mn(t){const e={},{args:i=[],props:n={},el:s,id:o}=t;if(!n)return e;for(const a in n){const l=_t(a);let h=Bt(s,l);R(h)||(h=n[a]===Boolean&&h===""?!0:yi(n[a],h),!(l==="target"&&U(h,"_"))&&(e[a]=h))}const r=mi(Bt(s,o),i);for(const a in r){const l=Yt(a);R(n[l])||(e[l]=yi(n[l],r[a]))}return e}function Ys(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:n,$props:s,$el:o}=t;return vt(n,e)||(n[e]=(i.get||i).call(t,s,o)),n[e]},set(n){const{_computed:s}=t;s[e]=i.set?i.set.call(t,n):n,R(s[e])&&delete s[e]}})}function Pe(t,e,i){ht(e)||(e={name:i,handler:e});let{name:n,el:s,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=e;if(s=ot(s)?s.call(t):s||t.$el,N(s)){s.forEach(f=>Pe(t,{...e,el:f},i));return}!s||h&&!h.call(t)||t._events.push($(s,n,l?y(l)?l:l.call(t):null,y(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Xs(t,e){return t.every(i=>!i||!vt(i,e))}function yi(t,e){return t===Boolean?je(e):t===Number?Gt(e):t==="list"?Vs(e):t?t(e):e}function Vs(t){return N(t)?t:y(t)?t.split(/,(?![^(]*\))/).map(e=>bt(e)?Gt(e):je(e.trim())):[t]}function Gs(t,e){let{data:i={}}=t,{args:n=[],props:s={}}=e;N(i)&&(i=i.slice(0,n.length).reduce((o,r,a)=>(ht(r)?Pt(o,r):o[n[a]]=r,o),{}));for(const o in i)R(i[o])?delete i[o]:s[o]&&(i[o]=yi(s[o],i[o]));return i}function Js(t){const{el:e}=t.$options,i=new MutationObserver(()=>t._callWatches());return i.observe(e,{childList:!0,subtree:!0}),i}function Ks(t){const{$options:e,$props:i}=t,{id:n,attrs:s,props:o,el:r}=e;if(!o||s===!1)return;const a=N(s)?s:Object.keys(o),l=a.map(u=>_t(u)).concat(n),h=new MutationObserver(u=>{const f=mn(e);u.some(k=>{let{attributeName:F}=k;const D=F.replace("data-","");return(D===n?a:[Yt(D),Yt(F)]).some(O=>!R(f[O])&&f[O]!==i[O])})&&t.$reset()});return h.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function Zs(t){const e=t.data;t.prototype.$create=function(i,n,s){return t[i](n,s)},t.prototype.$mount=function(i){const{name:n}=this.$options;i[e]||(i[e]={}),!i[e][n]&&(i[e][n]=this,this.$el=this.$options.el=this.$options.el||i,C(i,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(i){i===void 0&&(i=!1);const{el:n,name:s}=this.$options;n&&this._callDisconnected(),this._callHook("destroy"),n!=null&&n[e]&&(delete n[e][s],We(n[e])||delete n[e],i&&Dt(this.$el))},t.prototype.$emit=function(i){this._callUpdate(i)},t.prototype.$update=function(i,n){i===void 0&&(i=this.$el),t.update(i,n)},t.prototype.$getComponent=t.getComponent,Object.defineProperty(t.prototype,"$container",Object.getOwnPropertyDescriptor(t,"container"))}const gt={};function Qs(t){const{data:e,prefix:i}=t;t.component=function(n,s){n=_t(n);const o=i+n;if(!s)return ht(gt[o])&&(gt[o]=gt["data-"+o]=t.extend(gt[o])),gt[o];n=Yt(n),t[n]=function(a,l){const h=t.component(n);return h.options.functional?new h({data:ht(a)?a:[...arguments]}):a?B(a).map(u)[0]:u();function u(f){const k=t.getComponent(f,n);if(k)if(l)k.$destroy();else return k;return new h({el:f,data:l})}};const r=ht(s)?{...s}:s.options;return r.id=o,r.name=n,r.install==null||r.install(t,r,n),t._initialized&&!r.functional&&requestAnimationFrame(()=>t[n]("["+o+"],[data-"+o+"]")),gt[o]=gt["data-"+o]=ht(s)?r:s},t.getComponents=n=>(n==null?void 0:n[e])||{},t.getComponent=(n,s)=>t.getComponents(n)[s],t.connect=n=>{if(n[e])for(const s in n[e])n[e][s]._callConnected();for(const s of n.attributes){const o=vn(s.name);o&&t[o](n)}},t.disconnect=n=>{for(const s in n[e])n[e][s]._callDisconnected()}}function vn(t){const e=gt[t];return e&&(ht(e)?e:e.options).name}const Y=function(t){this._init(t)};Y.util=Is,Y.data="__uikit__",Y.prefix="uk-",Y.options={},Y.version="3.15.9-dev.d605a4e5a",Ws(Y),js(Y),qs(Y),Qs(Y),Zs(Y);function Us(t){const{connect:e,disconnect:i}=t;if(!St||!window.MutationObserver)return;requestAnimationFrame(function(){document.body&&dt(document.body,e),new MutationObserver(o=>o.forEach(n)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(s)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function n(o){let{addedNodes:r,removedNodes:a}=o;for(const l of r)dt(l,e);for(const l of a)dt(l,i)}function s(o){let{target:r,attributeName:a}=o;const l=vn(a);if(l){var h;if(xt(r,a)){t[l](r);return}(h=t.getComponent(r,l))==null||h.$destroy()}}}var ct={connected(){b(this.$el,this.$options.id)}},Ae={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(Rt(t,(i,n)=>{for(const s of p(ot(e)?e():e))B('[loading="lazy"]',s).slice(0,this.preload-1).forEach(o=>Kt(o,"loading"));for(const s of i.filter(o=>{let{isIntersecting:r}=o;return r}).map(o=>{let{target:r}=o;return r}))n.unobserve(s)}))}}},Wt={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation(t){let{animation:e}=t;return!!e[0]},hasTransition(t){let{animation:e}=t;return["slide","reveal"].some(i=>U(e[0],i))}},methods:{toggleElement(t,e,i){return new Promise(n=>Promise.all(p(t).map(s=>{const o=ue(e)?e:!this.isToggled(s);if(!x(s,"before"+(o?"show":"hide"),[this]))return Promise.reject();const r=(ot(i)?i:i===!1||!this.hasAnimation?to:this.hasTransition?eo:io)(s,o,this),a=o?this.clsEnter:this.clsLeave;b(s,a),x(s,o?"show":"hide",[this]);const l=()=>{H(s,a),x(s,o?"shown":"hidden",[this])};return r?r.then(l,()=>(H(s,a),Promise.reject())):l()})).then(n,ft))},isToggled(t){return t===void 0&&(t=this.$el),[t]=p(t),T(t,this.clsEnter)?!0:T(t,this.clsLeave)?!1:this.cls?T(t,this.cls.split(" ")[0]):z(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=d(this.cls," ")||e!==T(t,this.cls),i&&W(t,this.cls,d(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),B("[autofocus]",t).some(n=>z(n)?n.focus()||!0:n.blur()),i&&x(t,"toggled",[e,this])}}};function to(t,e,i){let{_toggle:n}=i;return et.cancel(t),G.cancel(t),n(t,e)}async function eo(t,e,i){var n;let{animation:s,duration:o,velocity:r,transition:a,_toggle:l}=i;const[h="reveal",u="top"]=((n=s[0])==null?void 0:n.split("-"))||[],f=[["left","right"],["top","bottom"]],k=f[d(f[0],u)?0:1],F=k[1]===u,O=["width","height"][f.indexOf(k)],Q="margin-"+k[0],X="margin-"+u;let ae=j(t)[O];const Br=G.inProgress(t);await G.cancel(t),e&&l(t,!0);const Or=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",Q,X].map(Zn=>[Zn,t.style[Zn]])),le=j(t),_i=g(c(t,Q)),Gn=g(c(t,X)),Et=le[O]+Gn;!Br&&!e&&(ae+=Gn);const[Le]=hi(t,"<div>");c(Le,{boxSizing:"border-box",height:le.height,width:le.width,...c(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",X])}),c(t,{padding:0,border:0,minWidth:0,minHeight:0,[X]:0,width:le.width,height:le.height,overflow:"hidden",[O]:ae});const Jn=ae/Et;o=(r*Et+o)*(e?1-Jn:Jn);const Kn={[O]:e?Et:0};F&&(c(t,Q,Et-ae+_i),Kn[Q]=e?_i:Et+_i),!F^h==="reveal"&&(c(Le,Q,-Et+ae),G.start(Le,{[Q]:e?0:-Et},o,a));try{await G.start(t,Kn,o,a)}finally{c(t,Or),ie(Le.firstChild),e||l(t,!1)}}function io(t,e,i){et.cancel(t);const{animation:n,duration:s,_toggle:o}=i;return e?(o(t,!0),et.in(t,n[0],s,i.origin)):et.out(t,n[1]||n[0],s,i.origin).then(()=>o(t,!1))}var wn={mixins:[ct,Ae,Wt],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items:{get(t,e){let{targets:i}=t;return B(i,e)},watch(t,e){if(e||T(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},immediate:!0},toggles(t){let{toggle:e}=t;return this.items.map(i=>m(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>m(e,i))},watch(t){for(const e of t)Be(e,!T(this.items.find(i=>C(e,i)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return this.targets+" "+this.$props.toggle},async handler(t){var e;t.preventDefault(),(e=this._off)==null||e.call(this),this._off=so(t.target),await this.toggle(Ue(this.toggles,t.current)),this._off()}}],methods:{async toggle(t,e){t=this.items[fe(t,this.items)];let i=[t];const n=ge(this.items,"."+this.clsOpen);!this.multiple&&!d(n,i[0])&&(i=i.concat(n)),!(!this.collapsible&&n.length<2&&d(n,t))&&await Promise.all(i.map(s=>this.toggleElement(s,!d(n,s),(o,r)=>{if(W(o,this.clsOpen,r),v(m(this.$props.toggle,o),"aria-expanded",r),e===!1||!this.animation){Be(m(this.content,o),!r);return}return no(o,r,this)})))}}};function Be(t,e){t&&(t.hidden=e)}async function no(t,e,i){var n;let{content:s,duration:o,velocity:r,transition:a}=i;s=((n=t._wrapper)==null?void 0:n.firstElementChild)||m(s,t),t._wrapper||(t._wrapper=$e(s,"<div>"));const l=t._wrapper;c(l,"overflow","hidden");const h=g(c(l,"height"));await G.cancel(l),Be(s,!1);const u=g(c(s,"height"))+g(c(s,"marginTop"))+g(c(s,"marginBottom")),f=h/u;o=(r*u+o)*(e?1-f:f),c(l,"height",h),await G.start(l,{height:e?u:0},o,a),ie(s),delete t._wrapper,e||Be(s,!0)}function so(t){const e=L(t)[0];let i;return function n(){i=requestAnimationFrame(()=>{const{top:s}=t.getBoundingClientRect();s<0&&(e.scrollTop+=s),n()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var oo={mixins:[ct,Wt],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,ro),this.$destroy(!0)}}};function ro(t,e,i){let{duration:n,transition:s,velocity:o}=i;const r=g(c(t,"height"));return c(t,"height",r),G.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},o*r+n,s)}var bn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!xt(this.$el,"preload")&&(this.$el.preload="none"),nt(this.$el,"iframe")&&!xt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Ui(this.$el),this.registerObserver(Rt(this.$el,()=>this.$emit(),{},!1))},update:{read(){return tn(this.$el)?{visible:z(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&on(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?Qi(this.$el):(this.autoplay===!0||this.inView&&i)&&Zi(this.$el)}}},mt={connected(){var t;this.registerObserver(Se(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},ao={mixins:[mt,bn],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,yn(this.$el)||E(this.$el)]},update:{read(){const{ratio:t,cover:e}=Ke,{$el:i,width:n,height:s}=this;let o={width:n,height:s};if(!o.width||!o.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o.width?o=t(h,"width",o.width):s?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=yn(i)||E(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write(t){let{height:e,width:i}=t;c(this.$el,{height:e,width:i})},events:["resize"]}};function yn(t){for(;t=E(t);)if(c(t,"position")!=="static")return t}var $i={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&m(e)}}},lo={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(ne?"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=d(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const s=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Wi(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();n.reverse(),s.reverse()}const[r]=L(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,h=j(t);c(t,{top:-h.height,left:-h.width}),cn(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return J(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(d(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:J(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(d(["left","top"],this.align)?1:-1)},getViewportOffset(t){return J(c(t,"--uk-position-viewport-offset"))}}},co={beforeConnect(){this._style=v(this.$el,"style")},disconnected(){v(this.$el,"style",this._style)}};const I=[];var $n={mixins:[ct,$i,Wt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel(t,e){let{selPanel:i}=t;return m(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){d(I,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.hide()}},{name:"click",delegate(){return'a[href*="#"]'},handler(t){let{current:e,defaultPrevented:i}=t;const{hash:n}=e;!i&&n&&ki(e)&&!C(n,this.$el)&&m(n,document.body)&&this.hide()}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===d(I,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(d(I,this))return!1;!this.stack&&I.length?(Promise.all(I.map(e=>e.hide())).then(this.show),t.preventDefault()):I.push(this)}},{name:"show",self:!0,handler(){S(this.$el,"hide",$(document,"focusin",t=>{Jt(I)===this&&!C(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(S(this.$el,"hidden",kn(this.$el),{self:!0}),S(this.$el,"hidden",Tn(),{self:!0})),this.stack&&c(this.$el,"zIndex",g(c(this.$el,"zIndex"))+I.length),b(document.documentElement,this.clsPage),this.bgClose&&S(this.$el,"hide",$(document,Lt,t=>{let{target:e}=t;Jt(I)!==this||this.overlay&&!C(e,this.$el)||C(e,this.panel)||S(document,Ft+" "+Te+" scroll",i=>{let{defaultPrevented:n,type:s,target:o}=i;!n&&s===Ft&&e===o&&this.hide()},!0)}),{self:!0}),this.escClose&&S(this.$el,"hide",$(document,"keydown",t=>{t.keyCode===27&&Jt(I)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){Qe(this.$el)||v(this.$el,"tabindex","-1"),m(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){d(I,this)&&I.splice(I.indexOf(this),1),c(this.$el,"zIndex",""),I.some(t=>t.clsPage===this.clsPage)||H(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&E(this.$el)!==this.container?(lt(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,xn)},hide(){return this.toggleElement(this.$el,!1,xn)}}};function xn(t,e,i){let{transitionElement:n,_toggle:s}=i;return new Promise((o,r)=>S(t,"show hide",()=>{t._reject==null||t._reject(),t._reject=r,s(t,e);const a=S(n,"transitionstart",()=>{S(n,"transitionend transitioncancel",o,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),o()},ho(c(n,"transitionDuration")))})).then(()=>delete t._reject)}function ho(t){return t?Xt(t,"ms")?g(t):g(t)*1e3:0}function kn(t){if(CSS.supports("overscroll-behavior","contain")){const n=uo(t,s=>/auto|scroll/.test(c(s,"overflow")));return c(n,"overscrollBehavior","contain"),()=>c(n,"overscrollBehavior","")}let e;const i=[$(t,"touchstart",n=>{let{targetTouches:s}=n;s.length===1&&(e=s[0].clientY)},{passive:!0}),$(t,"touchmove",n=>{if(n.targetTouches.length!==1)return;let[s]=L(n.target,/auto|scroll/);C(s,t)||(s=t);const o=n.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=s;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&n.cancelable&&n.preventDefault()},{passive:!1})];return()=>i.forEach(n=>n())}let xi;function Tn(){if(xi)return ft;xi=!0;const{scrollingElement:t}=document;return c(t,{overflowY:"hidden",touchAction:"none",paddingRight:te(window)-t.clientWidth}),()=>{xi=!1,c(t,{overflowY:"",touchAction:"",paddingRight:""})}}function uo(t,e){const i=[];return dt(t,n=>{e(n)&&i.push(n)}),i}function ki(t){return["origin","pathname","search"].every(e=>t[e]===location[e])}let P;var Sn={mixins:[$i,Ae,lo,co,Wt],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1},computed:{boundary(t,e){let{boundary:i,boundaryX:n,boundaryY:s}=t;return[at(n||i,e)||window,at(s||i,e)||window]},target(t,e){let{target:i,targetX:n,targetY:s}=t;return n=n||i||this.targetEl,s=s||i||this.targetEl,[n===!0?window:at(n,e),s===!0?window:at(s,e)]}},created(){this.tracker=new di},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){b(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",at(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,v(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl))},disconnected(){this.isActive()&&(this.hide(!1),P=null)},events:[{name:"click",delegate(){return"."+this.clsDrop+"-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler(t){let{defaultPrevented:e,current:i}=t;const{hash:n}=i;!e&&n&&ki(i)&&!C(n,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),A(this.$el,":focus,:hover")||this.hide()}},{name:xe+" focusin",filter(){return d(this.mode,"hover")},handler(t){Mt(t)||this.clearTimers()}},{name:ke+" focusout",filter(){return d(this.mode,"hover")},handler(t){!Mt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){P=this,this.tracker.init();const t=()=>this.$emit(),e=[$(document,Lt,i=>{let{target:n}=i;return!C(n,this.$el)&&S(document,Ft+" "+Te+" scroll",s=>{let{defaultPrevented:o,type:r,target:a}=s;!o&&r===Ft&&n===a&&!(this.targetEl&&C(n,this.targetEl))&&this.hide(!1)},!0)}),$(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),$(window,"resize",t),(()=>{const i=Se(L(this.$el).concat(this.target),t);return()=>i.disconnect()})(),...this.autoUpdate?[$([document,L(this.$el)],"scroll",t,{passive:!0})]:[],...this.bgScroll?[]:[kn(this.$el),Tn()]];S(this.$el,"hide",()=>e.forEach(i=>i()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;if(this.$el!==e){P=P===null&&C(e,this.$el)&&this.isToggled()?this:P;return}P=this.isActive()?null:P,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!T(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.targetEl),e===void 0&&(e=!0),this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(P){if(e&&P.isDelaying){this.showTimer=setTimeout(()=>A(t,":hover")&&this.show(),10);return}let i;for(;P&&i!==P&&!C(this.$el,P.$el);)i=P,P.hide(!1,!1)}this.container&&E(this.$el)!==this.container&&lt(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t,e){t===void 0&&(t=!0),e===void 0&&(e=!0);const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=fo(this.$el).some(n=>this.tracker.movesTo(n)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return P===this},position(){H(this.$el,this.clsDrop+"-stack"),v(this.$el,"style",this._style),this.$el.hidden=!0;const t=this.target.map(s=>K(L(s)[0])),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[s,[o,r]]of i)this.axis!==o&&d([o,!0],this.stretch)&&c(this.$el,{[r]:Math.min(w(this.boundary[s])[r],t[s][r]-2*e),["overflow-"+o]:"auto"});const n=t[0].width-2*e;this.$el.offsetWidth>n&&b(this.$el,this.clsDrop+"-stack"),c(this.$el,"maxWidth",n),this.$el.hidden=!1,this.positionAt(this.$el,this.target,this.boundary);for(const[s,[o,r,a,l]]of i)if(this.axis===o&&d([o,!0],this.stretch)){const h=Math.abs(this.getPositionOffset(this.$el)),u=w(this.target[s]),f=w(this.$el);c(this.$el,{[r]:(u[a]>f[a]?u[a]-Math.max(w(this.boundary[s])[a],t[s][a]+e):Math.min(w(this.boundary[s])[l],t[s][l]-e)-u[l])-h,["overflow-"+o]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function fo(t){const e=[];return dt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var po={mixins:[ct],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return m(de,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&E(this.input)===e&&this.input.nextElementSibling||m(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let n;const s=Mi(e)?"value":"textContent",o=e[s],r=(t=i.files)!=null&&t[0]?i.files[0].name:A(i,"select")&&(n=B("option",i).filter(a=>a.selected)[0])?n.textContent:i.value;o!==r&&(e[s]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return V(this.$el,"form")},handler(){this.$emit()}}]},Cn={mixins:[mt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...Ai(this.$el.children)]},connected(){this.registerObserver(pi(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=En(this.$el.children);return{rows:t,columns:go(t)}},write(t){let{columns:e,rows:i}=t;for(const n of i)for(const s of n)W(s,this.margin,i[0]!==n),W(s,this.firstColumn,e[0].includes(s))},events:["resize"]}};function En(t){return _n(t,"top","bottom")}function go(t){const e=[];for(const i of t){const n=_n(i,"left","right");for(let s=0;s<n.length;s++)e[s]=e[s]?e[s].concat(n[s]):n[s]}return ne?e.reverse():e}function _n(t,e,i){const n=[[]];for(const s of t){if(!z(s))continue;let o=Oe(s);for(let r=n.length-1;r>=0;r--){const a=n[r];if(!a[0]){a.push(s);break}let l;if(a[0].offsetParent===s.offsetParent?l=Oe(a[0]):(o=Oe(s,!0),l=Oe(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){n.push([s]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(s);break}if(r===0){n.unshift([s]);break}}}return n}function Oe(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:n,offsetHeight:s,offsetWidth:o}=t;return e&&([i,n]=Tt(t)),{top:i,left:n,bottom:i+s,right:n+o}}var Ti={connected(){Pn(this._uid,()=>this.$emit("scroll"))},disconnected(){An(this._uid)}};const Me=new Map;let oe;function Pn(t,e){oe=oe||$(window,"scroll",()=>Me.forEach(i=>i()),{passive:!0,capture:!0}),Me.set(t,e)}function An(t){Me.delete(t),oe&&!Me.size&&(oe(),oe=null)}var mo={extends:Cn,mixins:[ct],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&b(this.$el,"uk-flex-top uk-flex-wrap-top"),this.parallax&&Pn(this._uid,()=>this.$emit("scroll"))},disconnected(){An(this._uid)},update:[{write(t){let{columns:e}=t;W(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||Bn(this.$el))return t.translates=!1,!1;let n=!1;const s=rt(this.$el),o=bo(e),r=wo(s,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>Xe(h,"offsetTop")),n=vo(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,f)=>Math.max(h,u+r+(f%2?l:l/8)-a),0)),{padding:l,columns:e,translates:n,height:n?a:""}},write(t){let{height:e,padding:i}=t;c(this.$el,"paddingBottom",i||""),e!==!1&&c(this.$el,"height",e)},events:["resize"]},{read(){return this.parallax&&Bn(this.$el)?!1:{scrolled:this.parallax?an(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:n}=t;i===!1&&!n||e.forEach((s,o)=>s.forEach((r,a)=>c(r,"transform",!i&&!n?"":"translateY("+((n&&-n[o][a])+(i?o%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function Bn(t){return rt(t).some(e=>c(e,"position")==="absolute")}function vo(t,e){const i=t.map(n=>Math.max(...n.map(s=>s.offsetHeight)));return e.map(n=>{let s=0;return n.map((o,r)=>s+=r?i[r-1]-n[r-1].offsetHeight:0)})}function wo(t,e){const[i]=t.filter(n=>T(n,e));return g(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function bo(t){return t.map(e=>e.reduce((i,n)=>i+n.offsetHeight,0))}var yo={mixins:[mt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return B(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?En(this.elements):[this.elements]).map($o)}},write(t){let{rows:e}=t;for(const{heights:i,elements:n}of e)n.forEach((s,o)=>c(s,"minHeight",i[o]))},events:["resize"]}};function $o(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(xo);const i=Math.max(...e);return{heights:t.map((n,s)=>e[s].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function xo(t){let e=!1;z(t)||(e=t.style.display,c(t,"display","block","important"));const i=j(t).height-ee(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var ko={mixins:[mt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...L(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!z(this.$el))return!1;let i="";const n=ee(this.$el,"height","content-box"),{body:s,scrollingElement:o}=document,[r]=L(this.$el,/auto|scroll/),{height:a}=K(r===s?o:r);if(this.expand)i=Math.max(a-(j(r).height-j(this.$el).height)-n,0);else{const l=o===r||s===r;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Tt(this.$el)[0]-Tt(r)[0];i+=h>0&&h<a/2?" - "+h+"px":""}else i+=" - "+c(r,"paddingTop");this.offsetBottom===!0?i+=" - "+j(this.$el.nextElementSibling).height+"px":bt(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Xt(this.offsetBottom,"px")?i+=" - "+g(this.offsetBottom)+"px":y(this.offsetBottom)&&(i+=" - "+j(at(this.offsetBottom,this.$el)).height+"px"),i+=(n?" - "+n+"px":"")+")"}return{minHeight:i,prev:e}},write(t){let{minHeight:e}=t;c(this.$el,{minHeight:e}),this.minHeight&&g(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},On={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&d(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=_o(t,this.$el);return this.svgEl&&e!==this.svgEl&&Dt(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},ft),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(Dn(t),this.registerObserver(Rt(t,(e,i)=>{Dn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ze(this.$el)&&(this.$el.hidden=!1),Dt(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return nt(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>S(this.$el,"load",()=>t(this.getSvg()))):So(await To(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)d(this.include,o)&&o in this&&v(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);v(t,r,a)}this.id||Kt(t,"id");const i=["width","height"];let n=i.map(o=>this[o]);n.some(o=>o)||(n=i.map(o=>v(e,o)));const s=v(e,"viewBox");s&&!n.some(o=>o)&&(n=s.split(" ").slice(2)),n.forEach((o,r)=>v(t,i[r],g(o)*this.ratio||null))}}};const To=tt(async t=>t?U(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function So(t,e){var i;return e&&d(t,"<symbol")&&(t=Co(t,e)||t),t=m(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const Mn=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,De={};function Co(t,e){if(!De[t]){De[t]={},Mn.lastIndex=0;let i;for(;i=Mn.exec(t);)De[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return De[t][e]}function Dn(t){const e=Eo(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function Eo(t){return Math.ceil(Math.max(0,...B("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function _o(t,e){if(Ze(e)||nt(e,"canvas")){e.hidden=!0;const n=e.nextElementSibling;return Nn(t,n)?n:be(e,t)}const i=e.lastElementChild;return Nn(t,i)?i:lt(e,t)}function Nn(t,e){return nt(t,"svg")&&nt(e,"svg")&&zn(t)===zn(e)}function zn(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var Po='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',Ao='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',Bo='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',Oo='<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Mo='<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',Do='<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',No=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><style>.uk-navbar-toggle-animate svg > [class*='line-'] {
2
2
  transition: 0.2s ease-in-out;
3
3
  transition-property: transform, opacity,;
4
4
  transform-origin: center;