");c(ki,{boxSizing:"border-box",height:Ne.height,width:Ne.width,...c(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",O])}),c(t,{padding:0,border:0,minWidth:0,minHeight:0,[O]:0,width:Ne.width,height:Ne.height,overflow:"hidden",[T]:At});const fo=At/Yt;s=(n*Yt+s)*(e?1-fo:fo);const po={[T]:e?Yt:0};f&&(c(t,M,Yt-At+ps),po[M]=e?ps:Yt+ps),!f^l==="reveal"&&(c(ki,M,-Yt+At),S.start(ki,{[M]:e?0:-Yt},s,o));try{await S.start(t,po,s,o)}finally{c(t,Rl),ye(ki.firstChild),e||r(t,!1)}}function wr(t,e,i){pt.cancel(t);const{animation:s,duration:n,_toggle:o}=i;return e?(o(t,!0),pt.in(t,s[0],n,i.origin)):pt.out(t,s[1]||s[0],n,i.origin).then(()=>o(t,!1))}var tn={mixins:[tt,_e,jt],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({targets:t},e){return z(t,e)},watch(t,e){if(e||A(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({toggle:t}){return this.items.map(e=>v(t,e))},contents:{get({content:t}){return this.items.map(e=>v(t,e))},watch(t){for(const e of t)oi(e,!A(this.items.find(i=>P(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=br(t.target),await this.toggle(ee(this.toggles,t.current)),this._off()}}],methods:{async toggle(t,e){t=this.items[It(t,this.items)];let i=[t];const s=Ye(this.items,`.${this.clsOpen}`);!this.multiple&&!g(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&g(s,t))&&await Promise.all(i.map(n=>this.toggleElement(n,!g(s,n),(o,r)=>{if(R(o,this.clsOpen,r),b(v(this.$props.toggle,o),"aria-expanded",r),e===!1||!this.animation){oi(v(this.content,o),!r);return}return $r(o,r,this)})))}}};function oi(t,e){t&&(t.hidden=e)}async function $r(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||v(i,t),t._wrapper||(t._wrapper=Ke(i,"
"));const a=t._wrapper;c(a,"overflow","hidden");const l=$(c(a,"height"));await S.cancel(a),oi(i,!1);const h=Mt(["marginTop","marginBottom"],d=>c(i,d))+w(i).height,u=l/h;s=(n*h+s)*(e?1-u:u),c(a,"height",l),await S.start(a,{height:e?h:0},s,o),ye(i),delete t._wrapper,e||oi(i,!0)}function br(t){const[e]=ut(t,!0);let i;return function s(){i=requestAnimationFrame(()=>{const{top:n}=t.getBoundingClientRect();n<0&&(e.scrollTop+=n),s()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var xr={mixins:[tt,jt],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,yr),this.$destroy(!0)}}};function yr(t,e,{duration:i,transition:s,velocity:n}){const o=$(c(t,"height"));return c(t,"height",o),S.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+i,s)}var en={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!Ct(this.$el,"preload")&&(this.$el.preload="none"),ct(this.$el,"iframe")&&!Ct(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Ns(this.$el),this.registerObserver(ae(this.$el,()=>this.$emit(),{},!1))},update:{read({visible:t}){return Hs(this.$el)?{prev:t,visible:j(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&Xi(this.$el)}:!1},write({prev:t,visible:e,inView:i}){!e||this.inView&&!i?zs(this.$el):(this.autoplay===!0&&!t||this.inView&&i)&&Ds(this.$el)}}},mt={connected(){var t;this.registerObserver(Te(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},kr={mixins:[mt,en],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,sn(this.$el)||_(this.$el)]},update:{read(){const{ratio:t,cover:e}=Re,{$el:i,width:s,height:n}=this;let o={width:s,height:n};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):n?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=sn(i)||_(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write({height:t,width:e}){c(this.$el,{height:t,width:e})},events:["resize"]}};function sn(t){for(;t=_(t);)if(c(t,"position")!=="static")return t}var Pe={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&v(t)}}},nn={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${Y?"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=g(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Qe(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();s.reverse(),n.reverse()}const[r]=ut(t),{scrollTop:a,scrollLeft:l}=r,h=w(t);c(t,{top:-h.height,left:-h.width}),qs(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return nt(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(g(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:nt(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(g(["left","top"],this.align)?1:-1)},getViewportOffset(t){return nt(c(t,"--uk-position-viewport-offset"))}}};const et=[];var Qi={mixins:[tt,Pe,jt],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({selPanel:t},e){return v(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},beforeDisconnect(){g(et,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&ts(e)&&!P(s,this.$el)&&v(s,document.body)?this.hide():H(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===g(et,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(g(et,this))return!1;!this.stack&&et.length?(Promise.all(et.map(e=>e.hide())).then(this.show),t.preventDefault()):et.push(this)}},{name:"show",self:!0,handler(){N(this.$el,"hide",k(document,"focusin",t=>{Ut(et)===this&&!P(t.target,this.$el)&&this.$el.focus()})),this.overlay&&N(this.$el,"hidden",rn(this.$el),{self:!0}),this.stack&&c(this.$el,"zIndex",$(c(this.$el,"zIndex"))+et.length),x(document.documentElement,this.clsPage),this.bgClose&&N(this.$el,"hide",k(document,gt,({target:t})=>{Ut(et)!==this||this.overlay&&!P(t,this.$el)||P(t,this.panel)||N(document,`${Pt} ${ti} scroll`,({defaultPrevented:e,type:i,target:s})=>{!e&&i===Pt&&t===s&&this.hide()},!0)}),{self:!0}),this.escClose&&N(this.$el,"hide",k(document,"keydown",t=>{t.keyCode===27&&Ut(et)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){Ve(this.$el)||b(this.$el,"tabindex","-1"),v(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){g(et,this)&&et.splice(et.indexOf(this),1),c(this.$el,"zIndex",""),et.some(t=>t.clsPage===this.clsPage)||B(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&_(this.$el)!==this.container?(L(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,on)},hide(){return this.toggleElement(this.$el,!1,on)}}};function on(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>N(t,"show hide",()=>{t._reject==null||t._reject(),t._reject=o,s(t,e);const r=N(i,"transitionstart",()=>{N(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(a)},{self:!0}),a=setTimeout(()=>{r(),n()},Sr(c(i,"transitionDuration")))})).then(()=>delete t._reject)}function Sr(t){return t?Xt(t,"ms")?$(t):$(t)*1e3:0}let Ui;function rn(t){const e=k(t,"touchmove",s=>{if(s.targetTouches.length!==1)return;let[{scrollHeight:n,clientHeight:o}]=ut(s.target);o>=n&&s.cancelable&&s.preventDefault()},{passive:!1});if(Ui)return e;Ui=!0;const{scrollingElement:i}=document;return c(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:ke(window)-i.clientWidth||""}),()=>{Ui=!1,e(),c(i,{overflowY:"",touchAction:"",paddingRight:""})}}function ts(t){return["origin","pathname","search"].every(e=>t[e]===location[e])}let V;var an={mixins:[Pe,_e,nn,jt],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({boundary:t,boundaryX:e,boundaryY:i},s){return[ht(e||t,s)||window,ht(i||t,s)||window]},target({target:t,targetX:e,targetY:i},s){return e=e||t||this.targetEl,i=i||t||this.targetEl,[e===!0?window:ht(e,s),i===!0?window:ht(i,s)]}},created(){this.tracker=new qi},beforeConnect(){this.clsDrop=this.$props.clsDrop||`uk-${this.$options.name}`},connected(){x(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",ht(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,b(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl)),this._style=(({width:t,height:e})=>({width:t,height:e}))(this.$el.style)},disconnected(){this.isActive()&&(this.hide(!1),V=null),c(this.$el,this._style)},events:[{name:"click",delegate(){return`.${this.clsDrop}-close`},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&ts(e)&&!P(i,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(),H(this.$el,":focus,:hover")||this.hide()}},{name:`${Rt} focusin`,filter(){return g(this.mode,"hover")},handler(t){xt(t)||this.clearTimers()}},{name:`${re} focusout`,filter(){return g(this.mode,"hover")},handler(t){!xt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){V=this,this.tracker.init();const t=()=>this.$emit(),e=[k(document,gt,({target:i})=>!P(i,this.$el)&&N(document,`${Pt} ${ti} scroll`,({defaultPrevented:s,type:n,target:o})=>{!s&&n===Pt&&i===o&&!(this.targetEl&&P(i,this.targetEl))&&this.hide(!1)},!0)),k(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),k(window,"resize",t),(()=>{const i=Te(he(this.$el).concat(this.target),t);return()=>i.disconnect()})(),this.autoUpdate&&k([document,...he(this.$el)],"scroll",t,{passive:!0}),!this.bgScroll&&rn(this.$el)];N(this.$el,"hide",()=>e.forEach(i=>i&&i()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){if(this.$el!==t){V=V===null&&P(t,this.$el)&&this.isToggled()?this:V;return}V=this.isActive()?null:V,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!A(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(V){if(e&&V.isDelaying){this.showTimer=setTimeout(()=>H(t,":hover")&&this.show(),10);return}let i;for(;V&&i!==V&&!P(this.$el,V.$el);)i=V,V.hide(!1,!1)}this.container&&_(this.$el)!==this.container&&L(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=Tr(this.$el).some(s=>this.tracker.movesTo(s)),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 V===this},position(){B(this.$el,`${this.clsDrop}-stack`),c(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(n=>Ir(this.$el,n)),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,r]]of i)this.axis!==o&&g([o,!0],this.stretch)&&c(this.$el,{[r]:Math.min(I(this.boundary[n])[r],t[n][r]-2*e),[`overflow-${o}`]:"auto"});const s=t[0].width-2*e;this.$el.offsetWidth>s&&x(this.$el,`${this.clsDrop}-stack`),c(this.$el,"maxWidth",s),this.$el.hidden=!1,this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,r,a,l]]of i)if(this.axis===o&&g([o,!0],this.stretch)){const h=Math.abs(this.getPositionOffset(this.$el)),u=I(this.target[n]),d=I(this.$el);c(this.$el,{[r]:(u[a]>d[a]?u[a]-Math.max(I(this.boundary[n])[a],t[n][a]+e):Math.min(I(this.boundary[n])[l],t[n][l]-e)-u[l])-h,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function Tr(t){const e=[];return yt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}function Ir(t,e){return ot(he(e).find(i=>P(t,i)))}var Cr={mixins:[tt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return v(we,e)},state(){return this.input.nextElementSibling},target({target:t},e){return t&&(t===!0&&_(this.input)===e&&this.input.nextElementSibling||v(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Oi(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:H(i,"select")&&(s=z("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return Q(this.$el,"form")},handler(){this.$emit()}}]},ln={mixins:[mt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...Si(this.$el.children)]},connected(){this.registerObserver(Os(this.$el,()=>this.$reset(),{childList:!0,attributes:!0,attributeFilter:["style"]}))},update:{read(){const t=es(this.$el.children);return{rows:t,columns:_r(t)}},write({columns:t,rows:e}){for(const i of e)for(const s of i)R(s,this.margin,e[0]!==i),R(s,this.firstColumn,t[0].includes(s))},events:["resize"]}};function es(t){return hn(t,"top","bottom")}function _r(t){const e=[];for(const i of t){const s=hn(i,"left","right");for(let n=0;n
=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=ri(a[0]):(o=ri(n,!0),l=ri(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function ri(t,e=!1){let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Ft(t)),{top:i,left:s,bottom:i+n,right:s+o}}var ai={connected(){cn(this._uid,()=>this.$emit("scroll"))},disconnected(){un(this._uid)}};const li=new Map;let Ee;function cn(t,e){Ee=Ee||k(window,"scroll",()=>li.forEach(i=>i()),{passive:!0,capture:!0}),li.set(t,e)}function un(t){li.delete(t),Ee&&!li.size&&(Ee(),Ee=null)}var Pr={extends:ln,mixins:[tt],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&x(this.$el,"uk-flex-top uk-flex-wrap-top"),this.parallax&&cn(this._uid,()=>this.$emit("scroll"))},disconnected(){un(this._uid)},update:[{write({columns:t}){R(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||dn(this.$el))return t.translates=!1,!1;let s=!1;const n=E(this.$el),o=e.map(h=>Mt(h,"offsetHeight")),r=Ar(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>Le(h,"offsetTop")),s=Er(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,d)=>Math.max(h,u+r+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write({height:t,padding:e}){c(this.$el,"paddingBottom",e||""),t!==!1&&c(this.$el,"height",t)},events:["resize"]},{read(){return this.parallax&&dn(this.$el)?!1:{scrolled:this.parallax?Ji(this.$el)*Math.abs(this.parallax):!1}},write({columns:t,scrolled:e,translates:i}){e===!1&&!i||t.forEach((s,n)=>s.forEach((o,r)=>c(o,"transform",!e&&!i?"":`translateY(${(i&&-i[n][r])+(e?n%2?e:e/8:0)}px)`)))},events:["scroll","resize"]}]};function dn(t){return E(t).some(e=>c(e,"position")==="absolute")}function Er(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function Ar(t,e){const[i]=t.filter(s=>A(s,e));return $(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}var Or={mixins:[mt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get({target:t},e){return z(t,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?es(this.elements):[this.elements]).map(Br)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((s,n)=>c(s,"minHeight",e[n]))},events:["resize"]}};function Br(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(Mr);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Mr(t){let e=!1;j(t)||(e=t.style.display,c(t,"display","block","important"));const i=w(t).height-se(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var Dr={mixins:[mt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...ut(this.$el)]},update:{read({minHeight:t}){if(!j(this.$el))return!1;let e="";const i=se(this.$el,"height","content-box"),{body:s,scrollingElement:n}=document,[o]=ut(this.$el),{height:r}=ot(o===s?n:o);if(this.expand)e=Math.max(r-(w(o).height-w(this.$el).height)-i,0);else{const a=n===o||s===o;if(e=`calc(${a?"100vh":`${r}px`}`,this.offsetTop)if(a){const l=Ft(this.$el)[0]-Ft(o)[0];e+=l>0&&l{if(this._connected){const e=Fr(t,this.$el);return this.svgEl&&e!==this.svgEl&&st(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},C),this.strokeAnimation&&this.svg.then(t=>{this._connected&&t&&(gn(t),this.registerObserver(ae(t,(e,i)=>{gn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ai(this.$el)&&(this.$el.hidden=!1),st(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return ct(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>N(this.$el,"load",()=>t(this.getSvg()))):Nr(await zr(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)g(this.include,o)&&o in this&&b(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);b(t,r,a)}this.id||ve(t,"id");const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>b(e,o)));const n=b(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>b(t,i[r],$(o)*this.ratio||null))}}};const zr=ft(async t=>t?lt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Nr(t,e){var i;return e&&g(t,"/g,hi={};function Hr(t,e){if(!hi[t]){hi[t]={},pn.lastIndex=0;let i;for(;i=pn.exec(t);)hi[t][i[3]]=`