uikit 3.16.6 → 3.16.7-dev.fcb5a4616

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +2 -0
  3. package/dist/css/uikit-core-rtl.css +1 -1
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +1 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +2 -2
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +2 -2
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +1 -1
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +5 -414
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +194 -1996
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +205 -1993
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +1 -1
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +3 -248
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +1 -1
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +143 -2429
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +1 -1
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +97 -2383
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +3 -408
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +81 -2367
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +1 -1
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +85 -78
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +1 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +85 -78
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +9 -8
  44. package/src/js/api/app.js +1 -1
  45. package/src/js/api/boot.js +1 -1
  46. package/src/js/api/component.js +1 -1
  47. package/src/js/api/computed.js +1 -1
  48. package/src/js/api/events.js +1 -1
  49. package/src/js/api/global.js +43 -43
  50. package/src/js/api/index.js +5 -5
  51. package/src/js/api/instance.js +42 -41
  52. package/src/js/api/observables.js +1 -1
  53. package/src/js/api/observer.js +9 -1
  54. package/src/js/api/options.js +1 -1
  55. package/src/js/api/props.js +1 -1
  56. package/src/js/api/state.js +1 -1
  57. package/src/js/api/update.js +1 -1
  58. package/src/js/api/watch.js +1 -1
  59. package/src/less/components/dropdown.less +1 -1
  60. package/src/less/theme/dropdown.less +2 -0
  61. package/src/scss/components/dropdown.scss +1 -1
  62. package/src/scss/theme/dropdown.scss +2 -0
  63. package/src/scss/variables-theme.scss +2 -2
  64. package/src/scss/variables.scss +1 -1
@@ -1 +1 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(f,nt){typeof exports=="object"&&typeof module<"u"?module.exports=nt(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],nt):(f=typeof globalThis<"u"?globalThis:f||self,f.UIkitTooltip=nt(f.UIkit.util))})(this,function(f){"use strict";var nt={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&f.$(t)}}},Rn={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(o=>f.startsWith(t[0],o))}},methods:{toggleElement(t,o,n){return new Promise(e=>Promise.all(f.toNodes(t).map(r=>{const s=f.isBoolean(o)?o:!this.isToggled(r);if(!f.trigger(r,`before${s?"show":"hide"}`,[this]))return Promise.reject();const i=(f.isFunction(n)?n:n===!1||!this.hasAnimation?Dn:this.hasTransition?Ln:Fn)(r,s,this),c=s?this.clsEnter:this.clsLeave;f.addClass(r,c),f.trigger(r,s?"show":"hide",[this]);const u=()=>{f.removeClass(r,c),f.trigger(r,s?"shown":"hidden",[this])};return i?i.then(u,()=>(f.removeClass(r,c),Promise.reject())):u()})).then(e,f.noop))},isToggled(t=this.$el){return[t]=f.toNodes(t),f.hasClass(t,this.clsEnter)?!0:f.hasClass(t,this.clsLeave)?!1:this.cls?f.hasClass(t,this.cls.split(" ")[0]):f.isVisible(t)},_toggle(t,o){if(!t)return;o=Boolean(o);let n;this.cls?(n=f.includes(this.cls," ")||o!==f.hasClass(t,this.cls),n&&f.toggleClass(t,this.cls,f.includes(this.cls," ")?void 0:o)):(n=o===t.hidden,n&&(t.hidden=!o)),f.$$("[autofocus]",t).some(e=>f.isVisible(e)?e.focus()||!0:e.blur()),n&&f.trigger(t,"toggled",[o,this])}}};function Dn(t,o,{_toggle:n}){return f.Animation.cancel(t),f.Transition.cancel(t),n(t,o)}async function Ln(t,o,{animation:n,duration:e,velocity:r,transition:s,_toggle:i}){var c;const[u="reveal",a="top"]=((c=n[0])==null?void 0:c.split("-"))||[],d=[["left","right"],["top","bottom"]],m=d[f.includes(d[0],a)?0:1],$=m[1]===a,y=["width","height"][d.indexOf(m)],E=`margin-${m[0]}`,b=`margin-${a}`;let wt=f.dimensions(t)[y];const qr=f.Transition.inProgress(t);await f.Transition.cancel(t),o&&i(t,!0);const Xr=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",E,b].map(Mn=>[Mn,t.style[Mn]])),vt=f.dimensions(t),vo=f.toFloat(f.css(t,E)),Sn=f.toFloat(f.css(t,b)),X=vt[y]+Sn;!qr&&!o&&(wt+=Sn);const[It]=f.wrapInner(t,"<div>");f.css(It,{boxSizing:"border-box",height:vt.height,width:vt.width,...f.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",b])}),f.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[b]:0,width:vt.width,height:vt.height,overflow:"hidden",[y]:wt});const In=wt/X;e=(r*X+e)*(o?1-In:In);const Nn={[y]:o?X:0};$&&(f.css(t,E,X-wt+vo),Nn[E]=o?vo:X+vo),!$^u==="reveal"&&(f.css(It,E,-X+wt),f.Transition.start(It,{[E]:o?0:-X},e,s));try{await f.Transition.start(t,Nn,e,s)}finally{f.css(t,Xr),f.unwrap(It.firstChild),o||i(t,!1)}}function Fn(t,o,n){f.Animation.cancel(t);const{animation:e,duration:r,_toggle:s}=n;return o?(s(t,!0),f.Animation.in(t,e[0],r,n.origin)):f.Animation.out(t,e[1]||e[0],r,n.origin).then(()=>s(t,!1))}var Bn={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${f.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=f.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,o,n){let e=[this.getPositionOffset(t),this.getShiftOffset(t)];const r=[this.flip&&"flip",this.shift&&"shift"],s={element:[this.inset?this.dir:f.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in s)s[u].reverse();e.reverse(),r.reverse()}const i=jn(t),c=f.dimensions(t);f.css(t,{top:-c.height,left:-c.width}),f.positionAt(t,o,{attach:s,offset:e,boundary:n,placement:r,viewportOffset:this.getViewportOffset(t)}),i()},getPositionOffset(t){return f.toPx(this.offset===!1?f.css(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(f.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:f.toPx(f.css(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(f.includes(["left","top"],this.align)?1:-1)},getViewportOffset(t){return f.toPx(f.css(t,"--uk-position-viewport-offset"))}}};function jn(t){const[o]=f.scrollParents(t),{scrollTop:n}=o;return()=>{n!==o.scrollTop&&(o.scrollTop=n)}}const zn={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},{hasOwnProperty:Wn,toString:Hn}=Object.prototype;function M(t,o){return Wn.call(t,o)}const qn=/\B([A-Z])/g,et=I(t=>t.replace(qn,"-$1").toLowerCase()),Xn=/-(\w)/g,rt=I(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Xn,(o,n)=>n.toUpperCase())),L=I(t=>t.charAt(0).toUpperCase()+t.slice(1));function F(t,o){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,o)}function Yn(t,o){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,o)}function Y(t,o){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,o)}function bo(t,o){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,o)}const{isArray:x,from:Jn}=Array,{assign:Nt}=Object;function _(t){return typeof t=="function"}function R(t){return t!==null&&typeof t=="object"}function D(t){return Hn.call(t)==="[object Object]"}function J(t){return R(t)&&t===t.window}function bt(t){return Rt(t)===9}function Mt(t){return Rt(t)>=1}function st(t){return Rt(t)===1}function Rt(t){return!J(t)&&R(t)&&t.nodeType}function $o(t){return typeof t=="boolean"}function w(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function $t(t){return Dt(t)||w(t)&&!isNaN(t-parseFloat(t))}function yo(t){return!(x(t)?t.length:R(t)&&Object.keys(t).length)}function O(t){return t===void 0}function Lt(t){return $o(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function it(t){const o=Number(t);return isNaN(o)?!1:o}function T(t){return parseFloat(t)||0}function g(t){return l(t)[0]}function l(t){return Mt(t)?[t]:Array.from(t||[]).filter(Mt)}function K(t){if(J(t))return t;t=g(t);const o=bt(t)?t:t==null?void 0:t.ownerDocument;return(o==null?void 0:o.defaultView)||window}function Ft(t,o){return t===o||R(t)&&R(o)&&Object.keys(t).length===Object.keys(o).length&&yt(t,(n,e)=>n===o[e])}function Kn(t,o,n){return t.replace(new RegExp(`${o}|${n}`,"g"),e=>e===o?n:o)}function xo(t){return t[t.length-1]}function yt(t,o){for(const n in t)if(o(t[n],n)===!1)return!1;return!0}function To(t,o){return t.slice().sort(({[o]:n=0},{[o]:e=0})=>n>e?1:e>n?-1:0)}function Bt(t,o){return t.reduce((n,e)=>n+T(_(o)?o(e):e[o]),0)}function Gn(t,o){const n=new Set;return t.filter(({[o]:e})=>n.has(e)?!1:n.add(e))}function Zn(t,o){return o.reduce((n,e)=>({...n,[e]:t[e]}),{})}function G(t,o=0,n=1){return Math.min(Math.max(it(t)||0,o),n)}function xt(){}function Po(...t){return[["bottom","top"],["right","left"]].every(([o,n])=>Math.min(...t.map(({[o]:e})=>e))-Math.max(...t.map(({[n]:e})=>e))>0)}function jt(t,o){return t.x<=o.right&&t.x>=o.left&&t.y<=o.bottom&&t.y>=o.top}function zt(t,o,n){const e=o==="width"?"height":"width";return{[e]:t[o]?Math.round(n*t[e]/t[o]):t[e],[o]:n}}function Eo(t,o){t={...t};for(const n in t)t=t[n]>o[n]?zt(t,n,o[n]):t;return t}function Qn(t,o){t=Eo(t,o);for(const n in t)t=t[n]<o[n]?zt(t,n,o[n]):t;return t}const Vn={ratio:zt,contain:Eo,cover:Qn};function kn(t,o,n=0,e=!1){o=l(o);const{length:r}=o;return r?(t=$t(t)?it(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?r-1:o.indexOf(g(t)),e?G(t,0,r-1):(t%=r,t<0?t+r:t)):-1}function I(t){const o=Object.create(null);return n=>o[n]||(o[n]=t(n))}class Un{constructor(){this.promise=new Promise((o,n)=>{this.reject=n,this.resolve=o})}}function B(t,o,n){var e;if(R(o)){for(const r in o)B(t,r,o[r]);return}if(O(n))return(e=g(t))==null?void 0:e.getAttribute(o);for(const r of l(t))_(n)&&(n=n.call(r,B(r,o))),n===null?_o(r,o):r.setAttribute(o,n)}function Oo(t,o){return l(t).some(n=>n.hasAttribute(o))}function _o(t,o){l(t).forEach(n=>n.removeAttribute(o))}function Wt(t,o){for(const n of[o,`data-${o}`])if(Oo(t,n))return B(t,n)}const te={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function oe(t){return l(t).some(o=>te[o.tagName.toLowerCase()])}function Tt(t){return l(t).some(o=>o.offsetWidth||o.offsetHeight||o.getClientRects().length)}const Ht="input,select,textarea,button";function ne(t){return l(t).some(o=>Z(o,Ht))}const Co=`${Ht},a[href],[tabindex]`;function ee(t){return Z(t,Co)}function ct(t){var o;return(o=g(t))==null?void 0:o.parentElement}function Ao(t,o){return l(t).filter(n=>Z(n,o))}function Z(t,o){return l(t).some(n=>n.matches(o))}function ft(t,o){return st(t)?t.closest(F(o,">")?o.slice(1):o):l(t).map(n=>ft(n,o)).filter(Boolean)}function Pt(t,o){return w(o)?!!ft(t,o):g(o).contains(g(t))}function qt(t,o){const n=[];for(;t=ct(t);)(!o||Z(t,o))&&n.push(t);return n}function So(t,o){t=g(t);const n=t?l(t.children):[];return o?Ao(n,o):n}function Io(t,o){return o?l(t).indexOf(g(o)):So(ct(t)).indexOf(t)}function No(t){return t=g(t),t&&["origin","pathname","search"].every(o=>t[o]===location[o])}function re(t){if(No(t)){t=g(t);const o=decodeURIComponent(t.hash).substring(1);return document.getElementById(o)||document.getElementsByName(o)[0]}}function se(t,o){return Xt(t,Ro(t,o))}function ie(t,o){return ut(t,Ro(t,o))}function Xt(t,o){return g(Do(t,g(o),"querySelector"))}function ut(t,o){return l(Do(t,g(o),"querySelectorAll"))}const ce=/(^|[^\\],)\s*[!>+~-]/,Mo=I(t=>t.match(ce));function Ro(t,o=document){return w(t)&&Mo(t)||bt(o)?o:o.ownerDocument}const fe=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ue=I(t=>t.replace(fe,"$1 *"));function Do(t,o=document,n){if(!t||!w(t))return t;if(t=ue(t),Mo(t)){const e=de(t);t="";for(let r of e){let s=o;if(r[0]==="!"){const i=r.substr(1).trim().split(" ");if(s=ft(ct(o),i[0]),r=i.slice(1).join(" ").trim(),!r.length&&e.length===1)return s}if(r[0]==="-"){const i=r.substr(1).trim().split(" "),c=(s||o).previousElementSibling;s=Z(c,r.substr(1))?c:null,r=i.slice(1).join(" ")}s&&(t+=`${t?",":""}${le(s)} ${r}`)}o=document}try{return o[n](t)}catch{return null}}const ae=/.*?[^\\](?:,|$)/g,de=I(t=>t.match(ae).map(o=>o.replace(/,$/,"").trim()));function le(t){const o=[];for(;t.parentNode;){const n=B(t,"id");if(n){o.unshift(`#${Lo(n)}`);break}else{let{tagName:e}=t;e!=="HTML"&&(e+=`:nth-child(${Io(t)+1})`),o.unshift(e),t=t.parentNode}}return o.join(" > ")}function Lo(t){return w(t)?CSS.escape(t):""}function j(...t){let[o,n,e,r,s=!1]=Yt(t);r.length>1&&(r=pe(r)),s!=null&&s.self&&(r=ge(r)),e&&(r=he(e,r));for(const i of n)for(const c of o)c.addEventListener(i,r,s);return()=>Fo(o,n,r,s)}function Fo(...t){let[o,n,,e,r=!1]=Yt(t);for(const s of n)for(const i of o)i.removeEventListener(s,e,r)}function Q(...t){const[o,n,e,r,s=!1,i]=Yt(t),c=j(o,n,e,u=>{const a=!i||i(u);a&&(c(),r(u,a))},s);return c}function z(t,o,n){return Jt(t).every(e=>e.dispatchEvent(Bo(o,!0,!0,n)))}function Bo(t,o=!0,n=!1,e){return w(t)&&(t=new CustomEvent(t,{bubbles:o,cancelable:n,detail:e})),t}function Yt(t){return t[0]=Jt(t[0]),w(t[1])&&(t[1]=t[1].split(" ")),_(t[2])&&t.splice(2,0,!1),t}function he(t,o){return n=>{const e=t[0]===">"?ut(t,n.currentTarget).reverse().filter(r=>Pt(n.target,r))[0]:ft(n.target,t);e&&(n.current=e,o.call(this,n),delete n.current)}}function pe(t){return o=>x(o.detail)?t(o,...o.detail):t(o)}function ge(t){return function(o){if(o.target===o.currentTarget||o.target===o.current)return t.call(null,o)}}function jo(t){return t&&"addEventListener"in t}function me(t){return jo(t)?t:g(t)}function Jt(t){return x(t)?t.map(me).filter(Boolean):w(t)?ut(t):jo(t)?[t]:l(t)}function we(t){return t.pointerType==="touch"||!!t.touches}function zo(t){var o,n;const{clientX:e,clientY:r}=((o=t.touches)==null?void 0:o[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:e,y:r}}const ve={"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 h(t,o,n,e){const r=l(t);for(const s of r)if(w(o)){if(o=Kt(o),O(n))return getComputedStyle(s).getPropertyValue(o);s.style.setProperty(o,$t(n)&&!ve[o]?`${n}px`:n||Dt(n)?n:"",e)}else if(x(o)){const i={};for(const c of o)i[c]=h(s,c);return i}else R(o)&&(e=n,yt(o,(i,c)=>h(s,c,i,e)));return r[0]}const Kt=I(t=>be(t));function be(t){if(F(t,"--"))return t;t=et(t);const{style:o}=document.documentElement;if(t in o)return t;for(const n of["webkit","moz"]){const e=`-${n}-${t}`;if(e in o)return e}}function V(t,...o){qo(t,o,"add")}function Gt(t,...o){qo(t,o,"remove")}function Wo(t,o){B(t,"class",n=>(n||"").replace(new RegExp(`\\b${o}\\b\\s?`,"g"),""))}function $e(t,...o){o[0]&&Gt(t,o[0]),o[1]&&V(t,o[1])}function Ho(t,o){return[o]=Zt(o),!!o&&l(t).some(n=>n.classList.contains(o))}function ye(t,o,n){const e=Zt(o);O(n)||(n=!!n);for(const r of l(t))for(const s of e)r.classList.toggle(s,n)}function qo(t,o,n){o=o.reduce((e,r)=>e.concat(Zt(r)),[]);for(const e of l(t))e.classList[n](...o)}function Zt(t){return String(t).split(/[ ,]/).filter(Boolean)}function xe(t,o,n=400,e="linear"){return n=Math.round(n),Promise.all(l(t).map(r=>new Promise((s,i)=>{for(const u in o){const a=h(r,u);a===""&&h(r,u,a)}const c=setTimeout(()=>z(r,"transitionend"),n);Q(r,"transitionend transitioncanceled",({type:u})=>{clearTimeout(c),Gt(r,"uk-transition"),h(r,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),u==="transitioncanceled"?i():s(r)},{self:!0}),V(r,"uk-transition"),h(r,{transitionProperty:Object.keys(o).map(Kt).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:e,...o})})))}const Te={start:xe,async stop(t){z(t,"transitionend"),await Promise.resolve()},async cancel(t){z(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return Ho(t,"uk-transition")}},at="uk-animation-";function Xo(t,o,n=200,e,r){return Promise.all(l(t).map(s=>new Promise((i,c)=>{z(s,"animationcanceled");const u=setTimeout(()=>z(s,"animationend"),n);Q(s,"animationend animationcanceled",({type:a})=>{clearTimeout(u),a==="animationcanceled"?c():i(s),h(s,"animationDuration",""),Wo(s,`${at}\\S*`)},{self:!0}),h(s,"animationDuration",`${n}ms`),V(s,o,at+(r?"leave":"enter")),F(o,at)&&(e&&V(s,`uk-transform-origin-${e}`),r&&V(s,`${at}reverse`))})))}const Pe=new RegExp(`${at}(enter|leave)`),Ee={in:Xo,out(t,o,n,e){return Xo(t,o,n,e,!0)},inProgress(t){return Pe.test(B(t,"class"))},cancel(t){z(t,"animationcanceled")}};function Oe(t){if(document.readyState!=="loading"){t();return}Q(document,"DOMContentLoaded",t)}function Qt(t,...o){return o.some(n=>{var e;return((e=t==null?void 0:t.tagName)==null?void 0:e.toLowerCase())===n.toLowerCase()})}function Yo(t){return t=W(t),t.innerHTML="",t}function _e(t,o){return O(o)?W(t).innerHTML:dt(Yo(t),o)}const Ce=Et("prepend"),dt=Et("append"),Jo=Et("before"),Ae=Et("after");function Et(t){return function(o,n){var e;const r=l(w(n)?Ot(n):n);return(e=W(o))==null||e[t](...r),Go(r)}}function Vt(t){l(t).forEach(o=>o.remove())}function Ko(t,o){for(o=g(Jo(t,o));o.firstChild;)o=o.firstChild;return dt(o,t),o}function Se(t,o){return l(l(t).map(n=>n.hasChildNodes()?Ko(l(n.childNodes),o):dt(n,o)))}function Ie(t){l(t).map(ct).filter((o,n,e)=>e.indexOf(o)===n).forEach(o=>o.replaceWith(...o.childNodes))}const Ne=/^\s*<(\w+|!)[^>]*>/,Me=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ot(t){const o=Me.exec(t);if(o)return document.createElement(o[1]);const n=document.createElement("div");return Ne.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,Go(n.childNodes)}function Go(t){return t.length>1?t:t[0]}function kt(t,o){if(st(t))for(o(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;kt(t,o),t=n}}function W(t,o){return Qo(t)?g(Ot(t)):Xt(t,o)}function Zo(t,o){return Qo(t)?l(Ot(t)):ut(t,o)}function Qo(t){return w(t)&&F(t.trim(),"<")}const H={width:["left","right"],height:["top","bottom"]};function Ut(t){const o=st(t)?g(t).getBoundingClientRect():{height:ko(t),width:oo(t),top:0,left:0};return{height:o.height,width:o.width,top:o.top,left:o.left,bottom:o.top+o.height,right:o.left+o.width}}function A(t,o){const n=Ut(t);if(t){const{scrollY:r,scrollX:s}=K(t),i={height:r,width:s};for(const c in H)for(const u of H[c])n[u]+=i[c]}if(!o)return n;const e=h(t,"position");yt(h(t,["left","top"]),(r,s)=>h(t,s,o[s]-n[s]+T(e==="absolute"&&r==="auto"?Vo(t)[s]:r)))}function Vo(t){let{top:o,left:n}=A(t);const{ownerDocument:{body:e,documentElement:r},offsetParent:s}=g(t);let i=s||r;for(;i&&(i===e||i===r)&&h(i,"position")==="static";)i=i.parentNode;if(st(i)){const c=A(i);o-=c.top+T(h(i,"borderTopWidth")),n-=c.left+T(h(i,"borderLeftWidth"))}return{top:o-T(h(t,"marginTop")),left:n-T(h(t,"marginLeft"))}}function to(t){t=g(t);const o=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(o[0]+=t.offsetTop+T(h(t,"borderTopWidth")),o[1]+=t.offsetLeft+T(h(t,"borderLeftWidth")),h(t,"position")==="fixed"){const n=K(t);return o[0]+=n.scrollY,o[1]+=n.scrollX,o}return o}const ko=Uo("height"),oo=Uo("width");function Uo(t){const o=L(t);return(n,e)=>{if(O(e)){if(J(n))return n[`inner${o}`];if(bt(n)){const r=n.documentElement;return Math.max(r[`offset${o}`],r[`scroll${o}`])}return n=g(n),e=h(n,t),e=e==="auto"?n[`offset${o}`]:T(e)||0,e-no(n,t)}else return h(n,t,!e&&e!==0?"":+e+no(n,t)+"px")}}function no(t,o,n="border-box"){return h(t,"boxSizing")===n?Bt(H[o].map(L),e=>T(h(t,`padding${e}`))+T(h(t,`border${e}Width`))):0}function Re(t){for(const o in H)for(const n in H[o])if(H[o][n]===t)return H[o][1-n];return t}function De(t,o="width",n=window,e=!1){return w(t)?Bt(Fe(t),r=>{const s=je(r);return s?ze(s==="vh"?We():s==="vw"?oo(K(n)):e?n[`offset${L(o)}`]:Ut(n)[o],r):r}):T(t)}const Le=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Fe=I(t=>t.toString().replace(/\s/g,"").match(Le)||[]),Be=/(?:v[hw]|%)$/,je=I(t=>(t.match(Be)||[])[0]);function ze(t,o){return t*T(o)/100}let lt,k;function We(){return lt||(k||(k=W("<div>"),h(k,{height:"100vh",position:"fixed"}),j(window,"resize",()=>lt=null)),dt(document.body,k),lt=k.clientHeight,Vt(k),lt)}const ht=typeof window<"u",He=ht&&document.dir==="rtl",U=ht&&"ontouchstart"in window,tt=ht&&window.PointerEvent,qe=tt?"pointerdown":U?"touchstart":"mousedown",Xe=tt?"pointermove":U?"touchmove":"mousemove",Ye=tt?"pointerup":U?"touchend":"mouseup",Je=tt?"pointerenter":U?"":"mouseenter",Ke=tt?"pointerleave":U?"":"mouseleave",Ge=tt?"pointercancel":"touchcancel",S={reads:[],writes:[],read(t){return this.reads.push(t),ro(),t},write(t){return this.writes.push(t),ro(),t},clear(t){on(this.reads,t),on(this.writes,t)},flush:eo};function eo(t){tn(S.reads),tn(S.writes.splice(0)),S.scheduled=!1,(S.reads.length||S.writes.length)&&ro(t+1)}const Ze=4;function ro(t){S.scheduled||(S.scheduled=!0,t&&t<Ze?Promise.resolve().then(()=>eo(t)):requestAnimationFrame(()=>eo(1)))}function tn(t){let o;for(;o=t.shift();)try{o()}catch(n){console.error(n)}}function on(t,o){const n=t.indexOf(o);return~n&&t.splice(n,1)}function nn(){}nn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=j(document,"mousemove",o=>t=zo(o)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const o=t.getBoundingClientRect(),{left:n,right:e,top:r,bottom:s}=o,[i]=this.positions,c=xo(this.positions),u=[i,c];return jt(c,o)?!1:[[{x:n,y:r},{x:e,y:s}],[{x:n,y:s},{x:e,y:r}]].some(d=>{const m=Qe(u,d);return m&&jt(m,o)})}};function Qe([{x:t,y:o},{x:n,y:e}],[{x:r,y:s},{x:i,y:c}]){const u=(c-s)*(n-t)-(i-r)*(e-o);if(u===0)return!1;const a=((i-r)*(o-s)-(c-s)*(t-r))/u;return a<0?!1:{x:t+a*(n-t),y:o+a*(e-o)}}function Ve(t,o,n={},e=!0){const r=new IntersectionObserver(e?(s,i)=>{s.some(c=>c.isIntersecting)&&o(s,i)}:o,n);for(const s of l(t))r.observe(s);return r}const ke=ht&&window.ResizeObserver;function Ue(t,o,n={box:"border-box"}){return ke?en(ResizeObserver,t,o,n):(tr(),pt.add(o),{observe:xt,unobserve:xt,disconnect(){pt.delete(o)}})}let pt;function tr(){if(pt)return;pt=new Set;let t;const o=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of pt)n()}};j(window,"load resize",o),j(document,"loadedmetadata load",o,!0)}function or(t,o,n){return en(MutationObserver,t,o,n)}function en(t,o,n,e){const r=new t(n);for(const s of l(o))r.observe(s,e);return r}function nr(t){if(Ct(t)&&so(t,{func:"playVideo",method:"play"}),_t(t))try{t.play().catch(xt)}catch{}}function er(t){Ct(t)&&so(t,{func:"pauseVideo",method:"pause"}),_t(t)&&t.pause()}function rr(t){Ct(t)&&so(t,{func:"mute",method:"setVolume",value:0}),_t(t)&&(t.muted=!0)}function sr(t){return _t(t)||Ct(t)}function _t(t){return Qt(t,"video")}function Ct(t){return Qt(t,"iframe")&&(rn(t)||sn(t))}function rn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function sn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function so(t,o){await cr(t),cn(t,o)}function cn(t,o){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...o}),"*")}catch{}}const io="_ukPlayer";let ir=0;function cr(t){if(t[io])return t[io];const o=rn(t),n=sn(t),e=++ir;let r;return t[io]=new Promise(s=>{o&&Q(t,"load",()=>{const i=()=>cn(t,{event:"listening",id:e});r=setInterval(i,100),i()}),Q(window,"message",s,!1,({data:i})=>{try{return i=JSON.parse(i),o&&(i==null?void 0:i.id)===e&&i.event==="onReady"||n&&Number(i==null?void 0:i.player_id)===e}catch{}}),t.src=`${t.src}${Y(t.src,"?")?"&":"?"}${o?"enablejsapi=1":`api=1&player_id=${e}`}`}).then(()=>clearInterval(r))}function fr(t,o=0,n=0){return Tt(t)?Po(...co(t).map(e=>{const{top:r,left:s,bottom:i,right:c}=N(e);return{top:r-o,left:s-n,bottom:i+o,right:c+n}}).concat(A(t))):!1}function ur(t,{offset:o=0}={}){const n=Tt(t)?At(t,!1,["hidden"]):[];return n.reduce((i,c,u)=>{const{scrollTop:a,scrollHeight:d,offsetHeight:m}=c,$=N(c),P=d-$.height,{height:y,top:E}=n[u-1]?N(n[u-1]):A(t);let b=Math.ceil(E-$.top-o+a);return o>0&&m<y+o?b+=o:o=0,b>P?(o-=b-P,b=P):b<0&&(o-=b,b=0),()=>e(c,b-a).then(i)},()=>Promise.resolve())();function e(i,c){return new Promise(u=>{const a=i.scrollTop,d=r(Math.abs(c)),m=Date.now();(function $(){const P=s(G((Date.now()-m)/d));i.scrollTop=a+c*P,P===1?u():requestAnimationFrame($)})()})}function r(i){return 40*Math.pow(i,.375)}function s(i){return .5*(1-Math.cos(Math.PI*i))}}function ar(t,o=0,n=0){if(!Tt(t))return 0;const[e]=At(t,!0),{scrollHeight:r,scrollTop:s}=e,{height:i}=N(e),c=r-i,u=to(t)[0]-to(e)[0],a=Math.max(0,u-i+o),d=Math.min(c,u+t.offsetHeight-n);return G((s-a)/(d-a))}function At(t,o=!1,n=[]){const e=fn(t);let r=qt(t).reverse();r=r.slice(r.indexOf(e)+1);const s=bo(r,i=>h(i,"position")==="fixed");return~s&&(r=r.slice(s)),[e].concat(r.filter(i=>h(i,"overflow").split(" ").some(c=>Y(["auto","scroll",...n],c))&&(!o||i.scrollHeight>N(i).height))).reverse()}function co(t){return At(t,!1,["hidden","clip"])}function N(t){const o=K(t),{visualViewport:n,document:{documentElement:e}}=o;let r=t===fn(t)?o:t;if(J(r)&&n){let{height:i,width:c,scale:u,pageTop:a,pageLeft:d}=n;return i=Math.round(i*u),c=Math.round(c*u),{height:i,width:c,top:a,left:d,bottom:a+i,right:d+c}}let s=A(r);if(h(r,"display")==="inline")return s;for(let[i,c,u,a]of[["width","x","left","right"],["height","y","top","bottom"]])J(r)?r=e:s[u]+=T(h(r,`border-${u}-width`)),s[i]=s[c]=r[`client${L(i)}`],s[a]=s[i]+s[u];return s}function fn(t){return K(t).document.scrollingElement}const C=[["width","x","left","right"],["height","y","top","bottom"]];function dr(t,o,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},x(o)||(o=[o,o]),A(t,un(t,o,n))}function un(t,o,n){const e=an(t,o,n),{boundary:r,viewportOffset:s=0,placement:i}=n;let c=e;for(const[u,[a,,d,m]]of Object.entries(C)){const $=lr(t,o[u],s,r,u);if(St(e,$,u))continue;let P=0;if(i[u]==="flip"){const y=n.attach.target[u];if(y===m&&e[m]<=$[m]||y===d&&e[d]>=$[d])continue;P=pr(t,o,n,u)[d]-e[d];const E=hr(t,o[u],s,u);if(!St(fo(e,P,u),E,u)){if(St(e,E,u))continue;if(n.recursion)return!1;const b=gr(t,o,n);if(b&&St(b,E,1-u))return b;continue}}else if(i[u]==="shift"){const y=A(o[u]),{offset:E}=n;P=G(G(e[d],$[d],$[m]-e[a]),y[d]-e[a]+E[u],y[m]-E[u])-e[d]}c=fo(c,P,u)}return c}function an(t,o,n){let{attach:e,offset:r}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},s=A(t);for(const[i,[c,,u,a]]of Object.entries(C)){const d=e.target[i]===e.element[i]?N(o[i]):A(o[i]);s=fo(s,d[u]-s[u]+dn(e.target[i],a,d[c])-dn(e.element[i],a,s[c])+ +r[i],i)}return s}function fo(t,o,n){const[,e,r,s]=C[n],i={...t};return i[r]=t[e]=t[r]+o,i[s]+=o,i}function dn(t,o,n){return t==="center"?n/2:t===o?n:0}function lr(t,o,n,e,r){let s=hn(...ln(t,o).map(N));return n&&(s[C[r][2]]+=n,s[C[r][3]]-=n),e&&(s=hn(s,A(x(e)?e[r]:e))),s}function hr(t,o,n,e){const[r,s,i,c]=C[e],[u]=ln(t,o),a=N(u);return["auto","scroll"].includes(h(u,`overflow-${s}`))&&(a[i]-=u[`scroll${L(i)}`],a[c]=a[i]+u[`scroll${L(r)}`]),a[i]+=n,a[c]-=n,a}function ln(t,o){return co(o).filter(n=>Pt(t,n))}function hn(...t){let o={};for(const n of t)for(const[,,e,r]of C)o[e]=Math.max(o[e]||0,n[e]),o[r]=Math.min(...[o[r],n[r]].filter(Boolean));return o}function St(t,o,n){const[,,e,r]=C[n];return t[e]>=o[e]&&t[r]<=o[r]}function pr(t,o,{offset:n,attach:e},r){return an(t,o,{attach:{element:pn(e.element,r),target:pn(e.target,r)},offset:mr(n,r)})}function gr(t,o,n){return un(t,o,{...n,attach:{element:n.attach.element.map(gn).reverse(),target:n.attach.target.map(gn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function pn(t,o){const n=[...t],e=C[o].indexOf(t[o]);return~e&&(n[o]=C[o][1-e%2+2]),n}function gn(t){for(let o=0;o<C.length;o++){const n=C[o].indexOf(t);if(~n)return C[1-o][n%2+2]}}function mr(t,o){return t=[...t],t[o]*=-1,t}var wr=Object.freeze({__proto__:null,$:W,$$:Zo,Animation:Ee,Deferred:Un,Dimensions:Vn,MouseTracker:nn,Transition:Te,addClass:V,after:Ae,append:dt,apply:kt,assign:Nt,attr:B,before:Jo,boxModelAdjust:no,camelize:rt,children:So,clamp:G,closest:ft,createEvent:Bo,css:h,data:Wt,dimensions:Ut,each:yt,empty:Yo,endsWith:Yn,escape:Lo,fastdom:S,filter:Ao,find:Xt,findAll:ut,findIndex:bo,flipPosition:Re,fragment:Ot,getEventPos:zo,getIndex:kn,getTargetedElement:re,hasAttr:Oo,hasClass:Ho,hasOwn:M,hasTouch:U,height:ko,html:_e,hyphenate:et,inBrowser:ht,includes:Y,index:Io,intersectRect:Po,isArray:x,isBoolean:$o,isDocument:bt,isElement:st,isEmpty:yo,isEqual:Ft,isFocusable:ee,isFunction:_,isInView:fr,isInput:ne,isNode:Mt,isNumber:Dt,isNumeric:$t,isObject:R,isPlainObject:D,isRtl:He,isSameSiteAnchor:No,isString:w,isTag:Qt,isTouch:we,isUndefined:O,isVideo:sr,isVisible:Tt,isVoidElement:oe,isWindow:J,last:xo,matches:Z,memoize:I,mute:rr,noop:xt,observeIntersection:Ve,observeMutation:or,observeResize:Ue,off:Fo,offset:A,offsetPosition:to,offsetViewport:N,on:j,once:Q,overflowParents:co,parent:ct,parents:qt,pause:er,pick:Zn,play:nr,pointInRect:jt,pointerCancel:Ge,pointerDown:qe,pointerEnter:Je,pointerLeave:Ke,pointerMove:Xe,pointerUp:Ye,position:Vo,positionAt:dr,prepend:Ce,propName:Kt,query:se,queryAll:ie,ready:Oe,remove:Vt,removeAttr:_o,removeClass:Gt,removeClasses:Wo,replaceClass:$e,scrollIntoView:ur,scrollParents:At,scrolledOver:ar,selFocusable:Co,selInput:Ht,sortBy:To,startsWith:F,sumBy:Bt,swap:Kn,toArray:Jn,toBoolean:Lt,toEventTargets:Jt,toFloat:T,toNode:g,toNodes:l,toNumber:it,toPx:De,toWindow:K,toggleClass:ye,trigger:z,ucfirst:L,uniqueBy:Gn,unwrap:Ie,width:oo,within:Pt,wrapAll:Ko,wrapInner:Se});function vr(t){t._observers=[],t._observerUpdates=new Map;for(const o of t.$options.observe||[])if(M(o,"handler"))mn(t,o);else for(const n in o)mn(t,o[n],n)}function uo(t,...o){t._observers.push(...o)}function br(t){for(const o of t._observers)o==null||o.disconnect(),t._observerUpdates.delete(o)}function $r(t){for(const[o,n]of t._observerUpdates)n(o)}function mn(t,o,n){let{observe:e,target:r=t.$el,handler:s,options:i,filter:c,args:u}=D(o)?o:{type:n,handler:o};if(c&&!c.call(t,t))return;const a=_(r)?r.call(t,t):r;s=w(s)?t[s]:s.bind(t),_(i)&&(i=i.call(t,t));const d=e(a,s,i,u);_(r)&&x(a)&&d.unobserve&&t._observerUpdates.set(d,yr(t,r,a)),uo(t,d)}function yr(t,o,n){return e=>{const r=o.call(t,t);Ft(n,r)||(n.forEach(s=>!Y(r,s)&&e.unobserve(s)),r.forEach(s=>!Y(n,s)&&e.observe(s)),n.splice(0,n.length,...r))}}function wn(t){if(t._watch)return;const o=!M(t,"_watch");t._watch=S.read(()=>{t._connected&&xr(t,o),t._watch=null})}function xr(t,o){const n={...t._computed};t._computed={};for(const[e,{watch:r,immediate:s}]of Object.entries(t.$options.computed||{}))r&&(o&&s||M(n,e)&&!Ft(n[e],t[e]))&&r.call(t,t[e],o?void 0:n[e]);$r(t)}function ao(t,o="update"){t._connected&&((o==="update"||o==="resize")&&wn(t),t.$options.update&&(t._updates||(t._updates=new Set,S.read(()=>{t._connected&&Tr(t,t._updates),delete t._updates})),t._updates.add(o.type||o)))}function Tr(t,o){for(const{read:n,write:e,events:r=[]}of t.$options.update){if(!o.has("update")&&!r.some(i=>o.has(i)))continue;let s;n&&(s=n.call(t,t._data,o),s&&D(s)&&Nt(t._data,s)),e&&s!==!1&&S.write(()=>{t._connected&&e.call(t,t._data,o)})}}function Pr(t){let{el:o,computed:n,observe:e}=t.$options;if(!n&&!(e!=null&&e.some(s=>_(s.target))))return;for(const s in n||{})if(n[s].document){o=o.ownerDocument;break}const r=new MutationObserver(()=>wn(t));r.observe(o,{childList:!0,subtree:!0}),uo(t,r)}function Er(t){t._events=[];for(const o of t.$options.events||[])if(M(o,"handler"))lo(t,o);else for(const n in o)lo(t,o[n],n)}function Or(t){t._events.forEach(o=>o()),delete t._events}function lo(t,o,n){let{name:e,el:r,handler:s,capture:i,passive:c,delegate:u,filter:a,self:d}=D(o)?o:{name:n,handler:o};if(r=_(r)?r.call(t,t):r||t.$el,x(r)){r.forEach(m=>lo(t,{...o,el:m},n));return}!r||a&&!a.call(t)||t._events.push(j(r,e,u?w(u)?u:u.call(t,t):null,w(s)?t[s]:s.bind(t),{passive:c,capture:i,self:d}))}const v={};v.events=v.observe=v.created=v.beforeConnect=v.connected=v.beforeDisconnect=v.disconnected=v.destroy=ho,v.args=function(t,o){return o!==!1&&ho(o||t)},v.update=function(t,o){return To(ho(t,_(o)?{read:o}:o),"order")},v.props=function(t,o){if(x(o)){const n={};for(const e of o)n[e]=String;o=n}return v.methods(t,o)},v.computed=v.methods=function(t,o){return o?t?{...t,...o}:o:t},v.i18n=v.data=function(t,o,n){return n?vn(t,o,n):o?t?function(e){return vn(t,o,e)}:o:t};function vn(t,o,n){return v.computed(_(t)?t.call(n,n):t,_(o)?o.call(n,n):o)}function ho(t,o){return t=t&&!x(t)?[t]:t,o?t?t.concat(o):x(o)?o:[o]:t}function _r(t,o){return O(o)?t:o}function gt(t,o,n){const e={};if(_(o)&&(o=o.options),o.extends&&(t=gt(t,o.extends,n)),o.mixins)for(const s of o.mixins)t=gt(t,s,n);for(const s in t)r(s);for(const s in o)M(t,s)||r(s);function r(s){e[s]=(v[s]||_r)(t[s],o[s],n)}return e}function bn(t,o=[]){try{return t?F(t,"{")?JSON.parse(t):o.length&&!Y(t,":")?{[o[0]]:t}:t.split(";").reduce((n,e)=>{const[r,s]=e.split(/:(.*)/);return r&&!O(s)&&(n[r.trim()]=s.trim()),n},{}):{}}catch{return{}}}function po(t,o){return t===Boolean?Lt(o):t===Number?it(o):t==="list"?Cr(o):t===Object&&w(o)?bn(o):t?t(o):o}function Cr(t){return x(t)?t:w(t)?t.split(/,(?![^(]*\))/).map(o=>$t(o)?it(o):Lt(o.trim())):[t]}function Ar(t){const o=$n(t.$options);for(let e in o)O(o[e])||(t.$props[e]=o[e]);const n=[t.$options.computed,t.$options.methods];for(let e in t.$props)e in o&&Sr(n,e)&&(t[e]=t.$props[e])}function $n(t){const o={},{args:n=[],props:e={},el:r,id:s}=t;if(!e)return o;for(const c in e){const u=et(c);let a=Wt(r,u);O(a)||(a=e[c]===Boolean&&a===""?!0:po(e[c],a),!(u==="target"&&F(a,"_"))&&(o[c]=a))}const i=bn(Wt(r,s),n);for(const c in i){const u=rt(c);O(e[u])||(o[u]=po(e[u],i[c]))}return o}function Sr(t,o){return t.every(n=>!n||!M(n,o))}function Ir(t){const{$options:o,$props:n}=t,{id:e,attrs:r,props:s,el:i}=o;if(!s||r===!1)return;const c=x(r)?r:Object.keys(s),u=c.map(d=>et(d)).concat(e),a=new MutationObserver(d=>{const m=$n(o);d.some(({attributeName:$})=>{const P=$.replace("data-","");return(P===e?c:[rt(P),rt($)]).some(y=>!O(m[y])&&m[y]!==n[y])})&&t.$reset()});a.observe(i,{attributes:!0,attributeFilter:u.concat(u.map(d=>`data-${d}`))}),uo(t,a)}function ot(t,o){var n;(n=t.$options[o])==null||n.forEach(e=>e.call(t))}function yn(t){t._connected||(t._data={},t._computed={},Ar(t),ot(t,"beforeConnect"),t._connected=!0,Er(t),vr(t),Ir(t),Pr(t),ot(t,"connected"),ao(t))}function xn(t){t._connected&&(ot(t,"beforeDisconnect"),br(t),Or(t),ot(t,"disconnected"),t._connected=!1,delete t._watch)}function Nr(t){const{computed:o}=t.$options;if(t._computed={},o)for(const n in o)Mr(t,n,o[n])}function Mr(t,o,n){Object.defineProperty(t,o,{enumerable:!0,get(){const{_computed:e,$props:r,$el:s}=t;return M(e,o)||(e[o]=(n.get||n).call(t,r,s)),e[o]},set(e){const{_computed:r}=t;r[o]=n.set?n.set.call(t,e):e,O(r[o])&&delete r[o]}})}let Rr=0;function Tn(t,o={}){o.data=Fr(o,t.constructor.options),t.$options=gt(t.constructor.options,o,t),t.$props={},t._uid=Rr++,Dr(t),Lr(t),Nr(t),ot(t,"created"),o.el&&t.$mount(o.el)}function Dr(t){const{data:o={}}=t.$options;for(const n in o)t.$props[n]=t[n]=o[n]}function Lr(t){const{methods:o}=t.$options;if(o)for(const n in o)t[n]=o[n].bind(t)}function Fr({data:t={}},{args:o=[],props:n={}}){x(t)&&(t=t.slice(0,o.length).reduce((e,r,s)=>(D(r)?Nt(e,r):e[o[s]]=r,e),{}));for(const e in t)O(t[e])?delete t[e]:n[e]&&(t[e]=po(n[e],t[e]));return t}const p=function(t){Tn(this,t)};p.util=wr,p.options={},p.version="3.16.6";const Br="uk-",q="__uikit__",mt={};function Pn(t,o){var n;const e=Br+et(t);if(!o)return D(mt[e])&&(mt[e]=p.extend(mt[e])),mt[e];t=rt(t),p[t]=(s,i)=>go(t,s,i);const r=D(o)?{...o}:o.options;return r.id=e,r.name=t,(n=r.install)==null||n.call(r,p,r,t),p._initialized&&!r.functional&&requestAnimationFrame(()=>go(t,`[${e}],[data-${e}]`)),mt[e]=r}function go(t,o,n,...e){const r=Pn(t);return r.options.functional?new r({data:D(o)?o:[o,n,...e]}):o?Zo(o).map(s)[0]:s();function s(i){const c=wo(i,t);if(c)if(n)c.$destroy();else return c;return new r({el:i,data:n})}}function mo(t){return(t==null?void 0:t[q])||{}}function wo(t,o){return mo(t)[o]}function jr(t,o){t[q]||(t[q]={}),t[q][o.$options.name]=o}function zr(t,o){var n;(n=t[q])==null||delete n[o.$options.name],yo(t[q])||delete t[q]}p.component=Pn,p.getComponents=mo,p.getComponent=wo,p.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},p.mixin=function(t,o){o=(w(o)?this.component(o):o)||this,o.options=gt(o.options,t)},p.extend=function(t){t=t||{};const o=this,n=function(r){Tn(this,r)};return n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.options=gt(o.options,t),n.super=o,n.extend=o.extend,n};function En(t,o){t=t?g(t):document.body;for(const n of qt(t).reverse())On(n,o);kt(t,n=>On(n,o))}p.update=En;function On(t,o){const n=mo(t);for(const e in n)ao(n[e],o)}let _n;Object.defineProperty(p,"container",{get(){return _n||document.body},set(t){_n=W(t)}}),p.prototype.$mount=function(t){const o=this;jr(t,o),o.$options.el=t,Pt(t,document)&&yn(o)},p.prototype.$destroy=function(t=!1){const o=this,{el:n}=o.$options;n&&xn(o),ot(o,"destroy"),zr(n,o),t&&Vt(o.$el)},p.prototype.$create=go,p.prototype.$emit=function(t){ao(this,t)},p.prototype.$update=function(t=this.$el,o){En(t,o)},p.prototype.$reset=function(){xn(this),yn(this)},p.prototype.$getComponent=wo,Object.defineProperties(p.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(p,"container")});function Cn(t,o=t.$el,n=""){if(o.id)return o.id;let e=`${t.$options.id}-${t._uid}${n}`;return W(`#${e}`)&&(e=Cn(t,o,`${n}-2`)),e}var An={mixins:[nt,Rn,Bn],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=Cn(this),this._hasTitle=f.hasAttr(this.$el,"title"),f.attr(this.$el,{title:"","aria-describedby":this.id}),Wr(this.$el)},disconnected(){this.hide(),f.attr(this.$el,"title")||f.attr(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){f.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),f.remove(this.tooltip),this.tooltip=null))},_show(){this.tooltip=f.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>`),f.on(this.tooltip,"toggled",(t,o)=>{if(!o)return;const n=()=>this.positionAt(this.tooltip,this.$el);n();const[e,r]=Hr(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${f.flipPosition(e)}-${r}`:`${r}-${f.flipPosition(e)}`;const s=[f.once(document,`keydown ${f.pointerDown}`,this.hide,!1,i=>i.type===f.pointerDown&&!f.within(i.target,this.$el)||i.type==="keydown"&&i.keyCode===zn.ESC),f.on([document,...f.overflowParents(this.$el)],"scroll",n,{passive:!0})];f.once(this.tooltip,"hide",()=>s.forEach(i=>i()),{self:!0})}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${f.pointerEnter} ${f.pointerLeave}`](t){f.isTouch(t)||this[t.type===f.pointerEnter?"show":"hide"]()},[f.pointerDown](t){f.isTouch(t)&&this.show()}}};function Wr(t){f.isFocusable(t)||f.attr(t,"tabindex","0")}function Hr(t,o,[n,e]){const r=f.offset(t),s=f.offset(o),i=[["left","right"],["top","bottom"]];for(const u of i){if(r[u[0]]>=s[u[1]]){n=u[1];break}if(r[u[1]]<=s[u[0]]){n=u[0];break}}const c=f.includes(i[0],n)?i[1]:i[0];return r[c[0]]===s[c[0]]?e=c[0]:r[c[1]]===s[c[1]]?e=c[1]:e="center",[n,e]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("tooltip",An),An});
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,p){typeof exports=="object"&&typeof module<"u"?module.exports=p(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],p):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitTooltip=p(t.UIkit.util))})(this,function(t){"use strict";var p={props:{container:Boolean},data:{container:!0},computed:{container({container:s}){return s===!0&&this.$container||s&&t.$(s)}}},S={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:s}){return!!s[0]},hasTransition({animation:s}){return["slide","reveal"].some(i=>t.startsWith(s[0],i))}},methods:{toggleElement(s,i,o){return new Promise(e=>Promise.all(t.toNodes(s).map(n=>{const r=t.isBoolean(i)?i:!this.isToggled(n);if(!t.trigger(n,`before${r?"show":"hide"}`,[this]))return Promise.reject();const h=(t.isFunction(o)?o:o===!1||!this.hasAnimation?O:this.hasTransition?B:I)(n,r,this),a=r?this.clsEnter:this.clsLeave;t.addClass(n,a),t.trigger(n,r?"show":"hide",[this]);const c=()=>{t.removeClass(n,a),t.trigger(n,r?"shown":"hidden",[this])};return h?h.then(c,()=>(t.removeClass(n,a),Promise.reject())):c()})).then(e,t.noop))},isToggled(s=this.$el){return[s]=t.toNodes(s),t.hasClass(s,this.clsEnter)?!0:t.hasClass(s,this.clsLeave)?!1:this.cls?t.hasClass(s,this.cls.split(" ")[0]):t.isVisible(s)},_toggle(s,i){if(!s)return;i=!!i;let o;this.cls?(o=t.includes(this.cls," ")||i!==t.hasClass(s,this.cls),o&&t.toggleClass(s,this.cls,t.includes(this.cls," ")?void 0:i)):(o=i===s.hidden,o&&(s.hidden=!i)),t.$$("[autofocus]",s).some(e=>t.isVisible(e)?e.focus()||!0:e.blur()),o&&t.trigger(s,"toggled",[i,this])}}};function O(s,i,{_toggle:o}){return t.Animation.cancel(s),t.Transition.cancel(s),o(s,i)}async function B(s,i,{animation:o,duration:e,velocity:n,transition:r,_toggle:h}){var a;const[c="reveal",v="top"]=((a=o[0])==null?void 0:a.split("-"))||[],b=[["left","right"],["top","bottom"]],T=b[t.includes(b[0],v)?0:1],u=T[1]===v,m=["width","height"][b.indexOf(T)],d=`margin-${T[0]}`,w=`margin-${v}`;let g=t.dimensions(s)[m];const U=t.Transition.inProgress(s);await t.Transition.cancel(s),i&&h(s,!0);const j=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",d,w].map(A=>[A,s.style[A]])),l=t.dimensions(s),P=t.toFloat(t.css(s,d)),E=t.toFloat(t.css(s,w)),f=l[m]+E;!U&&!i&&(g+=E);const[$]=t.wrapInner(s,"<div>");t.css($,{boxSizing:"border-box",height:l.height,width:l.width,...t.css(s,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",w])}),t.css(s,{padding:0,border:0,minWidth:0,minHeight:0,[w]:0,width:l.width,height:l.height,overflow:"hidden",[m]:g});const x=g/f;e=(n*f+e)*(i?1-x:x);const C={[m]:i?f:0};u&&(t.css(s,d,f-g+P),C[d]=i?P:f+P),!u^c==="reveal"&&(t.css($,d,-f+g),t.Transition.start($,{[d]:i?0:-f},e,r));try{await t.Transition.start(s,C,e,r)}finally{t.css(s,j),t.unwrap($.firstChild),i||h(s,!1)}}function I(s,i,o){t.Animation.cancel(s);const{animation:e,duration:n,_toggle:r}=o;return i?(r(s,!0),t.Animation.in(s,e[0],n,o.origin)):t.Animation.out(s,e[1]||e[0],n,o.origin).then(()=>r(s,!1))}var D={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${t.isRtl?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=t.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(s,i,o){let e=[this.getPositionOffset(s),this.getShiftOffset(s)];const n=[this.flip&&"flip",this.shift&&"shift"],r={element:[this.inset?this.dir:t.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const c in r)r[c].reverse();e.reverse(),n.reverse()}const h=N(s),a=t.dimensions(s);t.css(s,{top:-a.height,left:-a.width}),t.positionAt(s,i,{attach:r,offset:e,boundary:o,placement:n,viewportOffset:this.getViewportOffset(s)}),h()},getPositionOffset(s){return t.toPx(this.offset===!1?t.css(s,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",s)*(t.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(s){return this.align==="center"?0:t.toPx(t.css(s,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",s)*(t.includes(["left","top"],this.align)?1:-1)},getViewportOffset(s){return t.toPx(t.css(s,"--uk-position-viewport-offset"))}}};function N(s){const[i]=t.scrollParents(s),{scrollTop:o}=i;return()=>{o!==i.scrollTop&&(i.scrollTop=o)}}const _={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function y(s,i=s.$el,o=""){if(i.id)return i.id;let e=`${s.$options.id}-${s._uid}${o}`;return t.$(`#${e}`)&&(e=y(s,i,`${o}-2`)),e}var k={mixins:[p,S,D],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=y(this),this._hasTitle=t.hasAttr(this.$el,"title"),t.attr(this.$el,{title:"","aria-describedby":this.id}),F(this.$el)},disconnected(){this.hide(),t.attr(this.$el,"title")||t.attr(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){t.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),t.remove(this.tooltip),this.tooltip=null))},_show(){this.tooltip=t.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>`),t.on(this.tooltip,"toggled",(s,i)=>{if(!i)return;const o=()=>this.positionAt(this.tooltip,this.$el);o();const[e,n]=L(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${t.flipPosition(e)}-${n}`:`${n}-${t.flipPosition(e)}`;const r=[t.once(document,`keydown ${t.pointerDown}`,this.hide,!1,h=>h.type===t.pointerDown&&!t.within(h.target,this.$el)||h.type==="keydown"&&h.keyCode===_.ESC),t.on([document,...t.overflowParents(this.$el)],"scroll",o,{passive:!0})];t.once(this.tooltip,"hide",()=>r.forEach(h=>h()),{self:!0})}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${t.pointerEnter} ${t.pointerLeave}`](s){t.isTouch(s)||this[s.type===t.pointerEnter?"show":"hide"]()},[t.pointerDown](s){t.isTouch(s)&&this.show()}}};function F(s){t.isFocusable(s)||t.attr(s,"tabindex","0")}function L(s,i,[o,e]){const n=t.offset(s),r=t.offset(i),h=[["left","right"],["top","bottom"]];for(const c of h){if(n[c[0]]>=r[c[1]]){o=c[1];break}if(n[c[1]]<=r[c[0]]){o=c[0];break}}const a=t.includes(h[0],o)?h[1]:h[0];return n[a[0]]===r[a[0]]?e=a[0]:n[a[1]]===r[a[1]]?e=a[1]:e="center",[o,e]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("tooltip",k),k});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -1 +1 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(o,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitupload",["uikit-util"],i):(o=typeof globalThis<"u"?globalThis:o||self,o.UIkitUpload=i(o.UIkit.util))})(this,function(o){"use strict";var i={props:{i18n:Object},data:{i18n:null},methods:{t(e,...r){var a,s,t;let n=0;return((t=((a=this.i18n)==null?void 0:a[e])||((s=this.$options.i18n)==null?void 0:s[e]))==null?void 0:t.replace(/%s/g,()=>r[n++]||""))||""}}},d={mixins:[i],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:o.noop,beforeAll:o.noop,beforeSend:o.noop,complete:o.noop,completeAll:o.noop,error:o.noop,fail:o.noop,load:o.noop,loadEnd:o.noop,loadStart:o.noop,progress:o.noop},events:{change(e){o.matches(e.target,'input[type="file"]')&&(e.preventDefault(),e.target.files&&this.upload(e.target.files),e.target.value="")},drop(e){l(e);const r=e.dataTransfer;r!=null&&r.files&&(o.removeClass(this.$el,this.clsDragover),this.upload(r.files))},dragenter(e){l(e)},dragover(e){l(e),o.addClass(this.$el,this.clsDragover)},dragleave(e){l(e),o.removeClass(this.$el,this.clsDragover)}},methods:{async upload(e){if(e=o.toArray(e),!e.length)return;o.trigger(this.$el,"upload",[e]);for(const s of e){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!h(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!h(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(e=e.slice(0,1)),this.beforeAll(this,e);const r=f(e,this.concurrent),a=async s=>{const t=new FormData;s.forEach(n=>t.append(this.name,n));for(const n in this.params)t.append(n,this.params[n]);try{const n=await u(this.url,{data:t,method:this.method,responseType:this.type,beforeSend:p=>{const{xhr:m}=p;o.on(m.upload,"progress",this.progress);for(const c of["loadStart","load","loadEnd","abort"])o.on(m,c.toLowerCase(),this[c]);return this.beforeSend(p)}});this.complete(n),r.length?await a(r.shift()):this.completeAll(n)}catch(n){this.error(n)}};await a(r.shift())}}};function h(e,r){return r.match(new RegExp(`^${e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function f(e,r){const a=[];for(let s=0;s<e.length;s+=r)a.push(e.slice(s,s+r));return a}function l(e){e.preventDefault(),e.stopPropagation()}function u(e,r){const a={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:o.noop,responseType:"",...r};return Promise.resolve().then(()=>a.beforeSend(a)).then(()=>g(e,a))}function g(e,r){return new Promise((a,s)=>{const{xhr:t}=r;for(const n in r)if(n in t)try{t[n]=r[n]}catch{}t.open(r.method.toUpperCase(),e);for(const n in r.headers)t.setRequestHeader(n,r.headers[n]);o.on(t,"load",()=>{t.status===0||t.status>=200&&t.status<300||t.status===304?a(t):s(o.assign(Error(t.statusText),{xhr:t,status:t.status}))}),o.on(t,"error",()=>s(o.assign(Error("Network Error"),{xhr:t}))),o.on(t,"timeout",()=>s(o.assign(Error("Network Timeout"),{xhr:t}))),t.send(r.data)})}return typeof window<"u"&&window.UIkit&&window.UIkit.component("upload",d),d});
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(o,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitupload",["uikit-util"],i):(o=typeof globalThis<"u"?globalThis:o||self,o.UIkitUpload=i(o.UIkit.util))})(this,function(o){"use strict";var i={props:{i18n:Object},data:{i18n:null},methods:{t(e,...r){var a,s,t;let n=0;return((t=((a=this.i18n)==null?void 0:a[e])||((s=this.$options.i18n)==null?void 0:s[e]))==null?void 0:t.replace(/%s/g,()=>r[n++]||""))||""}}},d={mixins:[i],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:o.noop,beforeAll:o.noop,beforeSend:o.noop,complete:o.noop,completeAll:o.noop,error:o.noop,fail:o.noop,load:o.noop,loadEnd:o.noop,loadStart:o.noop,progress:o.noop},events:{change(e){o.matches(e.target,'input[type="file"]')&&(e.preventDefault(),e.target.files&&this.upload(e.target.files),e.target.value="")},drop(e){l(e);const r=e.dataTransfer;r!=null&&r.files&&(o.removeClass(this.$el,this.clsDragover),this.upload(r.files))},dragenter(e){l(e)},dragover(e){l(e),o.addClass(this.$el,this.clsDragover)},dragleave(e){l(e),o.removeClass(this.$el,this.clsDragover)}},methods:{async upload(e){if(e=o.toArray(e),!e.length)return;o.trigger(this.$el,"upload",[e]);for(const s of e){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!h(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!h(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(e=e.slice(0,1)),this.beforeAll(this,e);const r=f(e,this.concurrent),a=async s=>{const t=new FormData;s.forEach(n=>t.append(this.name,n));for(const n in this.params)t.append(n,this.params[n]);try{const n=await u(this.url,{data:t,method:this.method,responseType:this.type,beforeSend:p=>{const{xhr:m}=p;o.on(m.upload,"progress",this.progress);for(const c of["loadStart","load","loadEnd","abort"])o.on(m,c.toLowerCase(),this[c]);return this.beforeSend(p)}});this.complete(n),r.length?await a(r.shift()):this.completeAll(n)}catch(n){this.error(n)}};await a(r.shift())}}};function h(e,r){return r.match(new RegExp(`^${e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function f(e,r){const a=[];for(let s=0;s<e.length;s+=r)a.push(e.slice(s,s+r));return a}function l(e){e.preventDefault(),e.stopPropagation()}function u(e,r){const a={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:o.noop,responseType:"",...r};return Promise.resolve().then(()=>a.beforeSend(a)).then(()=>g(e,a))}function g(e,r){return new Promise((a,s)=>{const{xhr:t}=r;for(const n in r)if(n in t)try{t[n]=r[n]}catch{}t.open(r.method.toUpperCase(),e);for(const n in r.headers)t.setRequestHeader(n,r.headers[n]);o.on(t,"load",()=>{t.status===0||t.status>=200&&t.status<300||t.status===304?a(t):s(o.assign(Error(t.statusText),{xhr:t,status:t.status}))}),o.on(t,"error",()=>s(o.assign(Error("Network Error"),{xhr:t}))),o.on(t,"timeout",()=>s(o.assign(Error("Network Timeout"),{xhr:t}))),t.send(r.data)})}return typeof window<"u"&&window.UIkit&&window.UIkit.component("upload",d),d});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.6 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.7-dev.fcb5a4616 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -2140,7 +2140,7 @@
2140
2140
  };
2141
2141
  App.util = util;
2142
2142
  App.options = {};
2143
- App.version = "3.16.6";
2143
+ App.version = "3.16.7-dev.fcb5a4616";
2144
2144
 
2145
2145
  const PREFIX = "uk-";
2146
2146
  const DATA = "__uikit__";
@@ -2200,34 +2200,46 @@
2200
2200
  }
2201
2201
  }
2202
2202
 
2203
- App.component = component;
2204
- App.getComponents = getComponents;
2205
- App.getComponent = getComponent;
2206
- App.use = function(plugin) {
2207
- if (plugin.installed) {
2208
- return;
2209
- }
2210
- plugin.call(null, this);
2211
- plugin.installed = true;
2212
- return this;
2213
- };
2214
- App.mixin = function(mixin, component2) {
2215
- component2 = (isString(component2) ? this.component(component2) : component2) || this;
2216
- component2.options = mergeOptions(component2.options, mixin);
2217
- };
2218
- App.extend = function(options) {
2219
- options = options || {};
2220
- const Super = this;
2221
- const Sub = function UIkitComponent(options2) {
2222
- init$1(this, options2);
2203
+ function globalApi(App) {
2204
+ App.component = component;
2205
+ App.getComponents = getComponents;
2206
+ App.getComponent = getComponent;
2207
+ App.update = update;
2208
+ App.use = function(plugin) {
2209
+ if (plugin.installed) {
2210
+ return;
2211
+ }
2212
+ plugin.call(null, this);
2213
+ plugin.installed = true;
2214
+ return this;
2223
2215
  };
2224
- Sub.prototype = Object.create(Super.prototype);
2225
- Sub.prototype.constructor = Sub;
2226
- Sub.options = mergeOptions(Super.options, options);
2227
- Sub.super = Super;
2228
- Sub.extend = Super.extend;
2229
- return Sub;
2230
- };
2216
+ App.mixin = function(mixin, component2) {
2217
+ component2 = (isString(component2) ? this.component(component2) : component2) || this;
2218
+ component2.options = mergeOptions(component2.options, mixin);
2219
+ };
2220
+ App.extend = function(options) {
2221
+ options = options || {};
2222
+ const Super = this;
2223
+ const Sub = function UIkitComponent(options2) {
2224
+ init$1(this, options2);
2225
+ };
2226
+ Sub.prototype = Object.create(Super.prototype);
2227
+ Sub.prototype.constructor = Sub;
2228
+ Sub.options = mergeOptions(Super.options, options);
2229
+ Sub.super = Super;
2230
+ Sub.extend = Super.extend;
2231
+ return Sub;
2232
+ };
2233
+ let container;
2234
+ Object.defineProperty(App, "container", {
2235
+ get() {
2236
+ return container || document.body;
2237
+ },
2238
+ set(element) {
2239
+ container = $(element);
2240
+ }
2241
+ });
2242
+ }
2231
2243
  function update(element, e) {
2232
2244
  element = element ? toNode(element) : document.body;
2233
2245
  for (const parentEl of parents(element).reverse()) {
@@ -2235,63 +2247,55 @@
2235
2247
  }
2236
2248
  apply(element, (element2) => updateElement(element2, e));
2237
2249
  }
2238
- App.update = update;
2239
2250
  function updateElement(element, e) {
2240
2251
  const components = getComponents(element);
2241
2252
  for (const name in components) {
2242
2253
  callUpdate(components[name], e);
2243
2254
  }
2244
2255
  }
2245
- let container;
2246
- Object.defineProperty(App, "container", {
2247
- get() {
2248
- return container || document.body;
2249
- },
2250
- set(element) {
2251
- container = $(element);
2252
- }
2253
- });
2254
2256
 
2255
- App.prototype.$mount = function(el) {
2256
- const instance = this;
2257
- attachToElement(el, instance);
2258
- instance.$options.el = el;
2259
- if (within(el, document)) {
2260
- callConnected(instance);
2261
- }
2262
- };
2263
- App.prototype.$destroy = function(removeEl = false) {
2264
- const instance = this;
2265
- const { el } = instance.$options;
2266
- if (el) {
2267
- callDisconnected(instance);
2268
- }
2269
- callHook(instance, "destroy");
2270
- detachFromElement(el, instance);
2271
- if (removeEl) {
2272
- remove$1(instance.$el);
2273
- }
2274
- };
2275
- App.prototype.$create = createComponent;
2276
- App.prototype.$emit = function(e) {
2277
- callUpdate(this, e);
2278
- };
2279
- App.prototype.$update = function(element = this.$el, e) {
2280
- update(element, e);
2281
- };
2282
- App.prototype.$reset = function() {
2283
- callDisconnected(this);
2284
- callConnected(this);
2285
- };
2286
- App.prototype.$getComponent = getComponent;
2287
- Object.defineProperties(App.prototype, {
2288
- $el: {
2289
- get() {
2290
- return this.$options.el;
2257
+ function instanceApi(App) {
2258
+ App.prototype.$mount = function(el) {
2259
+ const instance = this;
2260
+ attachToElement(el, instance);
2261
+ instance.$options.el = el;
2262
+ if (within(el, document)) {
2263
+ callConnected(instance);
2291
2264
  }
2292
- },
2293
- $container: Object.getOwnPropertyDescriptor(App, "container")
2294
- });
2265
+ };
2266
+ App.prototype.$destroy = function(removeEl = false) {
2267
+ const instance = this;
2268
+ const { el } = instance.$options;
2269
+ if (el) {
2270
+ callDisconnected(instance);
2271
+ }
2272
+ callHook(instance, "destroy");
2273
+ detachFromElement(el, instance);
2274
+ if (removeEl) {
2275
+ remove$1(instance.$el);
2276
+ }
2277
+ };
2278
+ App.prototype.$create = createComponent;
2279
+ App.prototype.$emit = function(e) {
2280
+ callUpdate(this, e);
2281
+ };
2282
+ App.prototype.$update = function(element = this.$el, e) {
2283
+ update(element, e);
2284
+ };
2285
+ App.prototype.$reset = function() {
2286
+ callDisconnected(this);
2287
+ callConnected(this);
2288
+ };
2289
+ App.prototype.$getComponent = getComponent;
2290
+ Object.defineProperties(App.prototype, {
2291
+ $el: {
2292
+ get() {
2293
+ return this.$options.el;
2294
+ }
2295
+ },
2296
+ $container: Object.getOwnPropertyDescriptor(App, "container")
2297
+ });
2298
+ }
2295
2299
  function generateId(instance, el = instance.$el, postfix = "") {
2296
2300
  if (el.id) {
2297
2301
  return el.id;
@@ -2303,6 +2307,9 @@
2303
2307
  return id;
2304
2308
  }
2305
2309
 
2310
+ globalApi(App);
2311
+ instanceApi(App);
2312
+
2306
2313
  function boot(App) {
2307
2314
  if (inBrowser && window.MutationObserver) {
2308
2315
  requestAnimationFrame(() => init(App));