`))},async connected(){const t=_(Kt(this.$el,this.marginProp));await ne.start(Kt(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Ze](){this.timer&&clearTimeout(this.timer)},[ti](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){this.timer&&clearTimeout(this.timer),t||await ne.start(this.$el,this.startProps),(t=>{const e=mt(t);Wt(t,"close",[this]),be(t),e?.hasChildNodes()||be(e)})(this.$el)}}};var oo={props:{media:Boolean},data:{media:!1},connected(){const t=function(t,e){if(S(t))if(l(t,"@"))t=_(Kt(e,`--qx-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t;return t&&C(t)?`(min-width: ${t}px)`:""}(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,Wt(this.$el,Rt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=Ft(this.mediaObj,"change",(()=>{e(),this.$emit("resize")})),e()}},disconnected(){this.offMediaObj?.()}};function ro(t){return Math.ceil(Math.max(0,...ze("[stroke]",t).map((t=>{try{return t.getTotalLength()}catch(t){return 0}}))))}const ao={x:ho,y:ho,rotate:ho,scale:ho,color:uo,backgroundColor:uo,borderColor:uo,blur:fo,hue:fo,fopacity:fo,grayscale:fo,invert:fo,saturate:fo,sepia:fo,opacity:function(t,e,i){return 1===i.length&&i.unshift(So(e,t,"")),i=xo(i),(e,n)=>{e[t]=yo(i,n)}},stroke:function(t,e,i){1===i.length&&i.unshift(0);const n=qo(i),s=ro(e);return i=xo(i.reverse(),(t=>(t=_(t),"%"===n?t*s/100:t))),i.some((([t])=>t))?(Kt(e,"strokeDasharray",s),(t,e)=>{t.strokeDashoffset=yo(i,e)}):R},bgx:po,bgy:po},{keys:lo}=Object;var co={mixins:[oo],props:Ao(lo(ao),"list"),data:Ao(lo(ao),void 0),computed:{props(t,e){const i={};for(const e in t)e in ao&&!E(t[e])&&(i[e]=t[e].slice());const n={};for(const t in i)n[t]=ao[t](t,e,i[t],i);return n}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))Kt(this.$el,t,"")},getCss(t){const e={};for(const i in this.props)this.props[i](e,W(t));return e.willChange=Object.keys(e).map(Zt).join(","),e}}};function ho(t,e,i){let n,s=qo(i)||{x:"px",y:"px",rotate:"deg"}[t]||"";return"x"===t||"y"===t?(t=`translate${a(t)}`,n=t=>_(_(t).toFixed("px"===s?0:6))):"scale"===t&&(s="",n=t=>qo([t])?Le(t,"width",e,!0)/e["offset"+(t.endsWith?.("vh")?"Height":"Width")]:_(t)),1===i.length&&i.unshift("scale"===t?1:0),i=xo(i,n),(e,n)=>{e.transform=`${e.transform||""} ${t}(${yo(i,n)}${s})`}}function uo(t,e,i){return 1===i.length&&i.unshift(So(e,t,"")),i=xo(i,(t=>function(t,e){return So(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(_)}(e,t))),(e,n)=>{const[s,o,r]=wo(i,n),a=s.map(((t,e)=>(t+=r*(o[e]-t),3===e?_(t):parseInt(t,10)))).join(",");e[t]=`rgba(${a})`}}function fo(t,e,i){1===i.length&&i.unshift(0);const n=qo(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=xo(i),(e,s)=>{const o=yo(i,s);e.filter=`${e.filter||""} ${t}(${o+n})`}}function po(t,e,i,n){1===i.length&&i.unshift(0);const s="bgy"===t?"height":"width";n[t]=xo(i,(t=>Le(t,s,e)));const o=["bgx","bgy"].filter((t=>t in n));if(2===o.length&&"bgx"===t)return R;if("cover"===So(e,"backgroundSize",""))return function(t,e,i,n){const s=function(t){const e=Kt(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(vo[e])return vo[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{vo[e]=bo(i),Wt(t,Rt("load",!1))},bo(i)):vo[e]=bo(i)}(e);if(!s.width)return R;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter((t=>t in n)),a={};for(const t of r){const e=n[t].map((([t])=>t)),i=Math.min(...e),s=Math.max(...e),r=e.indexOf(i){c(t,e),t.backgroundSize=`${l.width}px ${l.height}px`,t.backgroundRepeat="no-repeat"}}(0,e,0,n);const r={};for(const t of o)r[t]=go(e,t);return mo(o,r,n)}function go(t,e){return So(t,`background-position-${e.substr(-1)}`,"")}function mo(t,e,i){return function(n,s){for(const o of t){const t=yo(i[o],s);n[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${t}px)`}}}const vo={};function bo(t){return{width:t.naturalWidth,height:t.naturalHeight}}function xo(t,e=_){const i=[],{length:n}=t;let s=0;for(let o=0;o0;n--)i[o-n][1]=t+e*(s-n+1);s=0}}return i}function wo(t,e){const i=d(t.slice(1),(([,t])=>e<=t))+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function yo(t,e){const[i,n,s]=wo(t,e);return i+Math.abs(i-n)*s*(i(t[i]=e,t)),{})}function Co(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var zo={mixins:[co],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:t},e)=>Eo(t&&Ct(t,e)||e),start({start:t}){return Le(t,"height",this.target,!0)},end({end:t,viewport:e}){return Le(t||(e=100*(1-e))&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[vn(),bn({target:({target:t})=>t}),fn({target:({$el:t,target:e})=>[t,e,Ii(e,!0)]})],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!dt(this.$el))return!1;if(!this.matchMedia)return;const i=t;return{percent:t=Co(Ei(this.target,this.start,this.end),this.easing),style:i!==t&&this.getCss(t)}},write({style:t}){this.matchMedia?t&&Kt(this.$el,t):this.reset()},events:["scroll","resize"]}};function Eo(t){return t?"offsetTop"in t?t:Eo(mt(t)):document.documentElement}var ko={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[fn({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),bn({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&Ct(t,e)||this.list}},update:{write(){if(!this.parallax)return;const t=this.parallaxTarget,e=Co(Ei(t,Le(this.parallaxStart,"height",t,!0),Le(this.parallaxEnd,"height",t,!0)),this.parallaxEasing),[i,n]=this.getIndexAt(e),s=this.getValidIndex(i+Math.ceil(n)),o=this.slides[i],r=this.slides[s],{triggerShow:a,triggerShown:l,triggerHide:c,triggerHidden:d}=function(t){const{clsSlideActive:e,clsEnter:i,clsLeave:n}=t;return{triggerShow:s,triggerShown:o,triggerHide:r,triggerHidden:a};function s(i){rt(i,n)&&(r(i),a(i)),rt(i,e)||(Wt(i,"beforeitemshow",[t]),Wt(i,"itemshow",[t]))}function o(e){rt(e,i)&&Wt(e,"itemshown",[t])}function r(r){rt(r,e)||s(r),rt(r,i)&&o(r),rt(r,n)||(Wt(r,"beforeitemhide",[t]),Wt(r,"itemhide",[t]))}function a(e){rt(e,n)&&Wt(e,"itemhidden",[t])}}(this);if(~this.prevIndex)for(const t of new Set([this.index,this.prevIndex]))h([s,i],t)||(c(this.slides[t]),d(this.slides[t]));const u=this.prevIndex!==i||this.index!==s;this.dir=1,this.prevIndex=i,this.index=s,o!==r&&c(o),a(r),u&&l(o),this._translate(o===r?1:n,o,r)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};var Io={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();~this.prevIndex&&this.index===t?this._translate(1,this.prevIndex,this.index):this.show(t)},events:["resize"]}},_o={observe:mn({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map((t=>this.slides[this.getIndex(this.index+t)]))}}};function To(t,e,i){const n=No(t,e);return i?n-function(t,e){return Ie(e).width/2-Ie(t).width/2}(t,e):Math.min(n,Po(e))}function Po(t){return Math.max(0,Mo(t)-Ie(t).width)}function Mo(t,e){return F($t(t).slice(0,e),(t=>Ie(t).width))}function No(t,e){return t&&(Te(t).left+(Xe?Ie(t).width-Ie(e).width:0))*(Xe?-1:1)||0}function Oo(t,e){e-=1;const i=Ie(t).width,n=e+i+2;return $t(t).filter((s=>{const o=No(s,t),r=o+Math.min(Ie(s).width,i);return o>=e&&r<=n}))}function Bo(t,e,i){Wt(t,Rt(e,!1,!1,i))}var Do={mixins:[tn,Gs,Io,ko,_o],props:{center:Boolean,sets:Boolean,active:String},data:{center:!1,sets:!1,attrItem:"qx-slider-item",selList:".qx-slider-items",selNav:".qx-slider-nav",clsContainer:"qx-slider-container",active:"all",Transitioner:function(t,e,i,{center:n,easing:s,list:o}){const r=t?To(t,o,n):To(e,o,n)+Ie(e).width*i,a=e?To(e,o,n):r+Ie(t).width*i*(Xe?-1:1);let l;return{dir:i,show(e,n=0,r){const c=r?"linear":s;return e-=Math.round(e*W(n,-1,1)),this.translate(n),n=t?n:W(n,0,1),Bo(this.getItemIn(),"itemin",{percent:n,duration:e,timing:c,dir:i}),t&&Bo(this.getItemIn(!0),"itemout",{percent:1-n,duration:e,timing:c,dir:i}),new Promise((t=>{l||=t,ne.start(o,{transform:cs(-a*(Xe?-1:1),"px")},e,c).then(l,R)}))},cancel:()=>ne.cancel(o),reset(){Kt(o,"transform","")},async forward(t,e=this.percent()){return await this.cancel(),this.show(t,e,!0)},translate(n){const s=this.getDistance()*i*(Xe?-1:1);Kt(o,"transform",cs(W(s-s*n-a,-Mo(o),Ie(o).width)*(Xe?-1:1),"px"));const r=this.getActives(),l=this.getItemIn(),c=this.getItemIn(!0);n=t?W(n,-1,1):0;for(const s of $t(o)){const a=h(r,s),d=s===l,u=s===c;Bo(s,"itemtranslate"+(d||!u&&(a||i*(Xe?-1:1)==-1^No(s,o)>No(t||e))?"in":"out"),{dir:i,percent:u?1-n:d?n:a?1:0})}},percent:()=>Math.abs((Kt(o,"transform").split(",")[4]*(Xe?-1:1)+r)/(a-r)),getDistance:()=>Math.abs(a-r),getItemIn(i=!1){let s=this.getActives(),r=Oo(o,To(e||t,o,n));if(i){const t=s;s=r,r=t}return r[d(r,(t=>!h(s,t)))]},getActives:()=>Oo(o,To(t||e,o,n))}}},computed:{finite({finite:t}){return t||function(t,e){if(!t||t.length<2)return!0;const{width:i}=Ie(t);if(!e)return Math.ceil(Mo(t))Ie(t).width)))}(t));const n=$t(t),s=Math.trunc(i/2);for(const t in n){const e=n[t],i=Ie(e).width,o=new Set([e]);let r=0;for(const e of[-1,1]){let a=i/2,l=0;for(;aF(n.filter((t=>!o.has(t))),(t=>Ie(t).width)))return!0}return!1}(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return B(this.sets);let t=0;const e=Po(this.list),i=d(this.slides,(i=>{if(t>=e)return!0;t+=Ie(i).width}));return~i?i:this.length-1},sets({sets:t}){if(!t||this.parallax)return;let e=0;const i=[],n=Ie(this.list).width;for(let t=0;tn&&(e=0),this.center?en/2&&(i.push(+t),e=n/2-s/2):0===e&&i.push(Math.min(+t,this.maxIndex)),e+=s}return i.length?i:void 0},transitionOptions(){return{center:this.center,list:this.list}},slides(){return $t(this.list).filter(dt)}},connected(){at(this.$el,this.clsContainer,!Ce(`.${this.clsContainer}`,this.$el))},observe:fn({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=I(et(t,this.attrItem));!1!==e&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!h(this.sets,e))}this.reorder(),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!h(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.indexthis.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let t=0;t0?"next":"previous");return void t.preventDefault()}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,n=Mo(this.list)/this.length;this.duration=Qs(n/this.velocity)*(Ie(this.slides[i]).width/n),this.reorder()},itemshow(){~this.prevIndex&&it(this._getTransitioner().getItemIn(),this.clsActive),this.updateActiveClasses(this.prevIndex)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite)return void Kt(this.slides,"order","");const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(((e,i)=>Kt(e,"order",this.dir>0&&i=this.index?-1:""))),!this.center)return;const e=this.slides[t];let i=Ie(this.list).width/2-Ie(e).width/2,n=0;for(;i>0;){const e=this.getIndex(--n+t,t),s=this.slides[e];Kt(s,"order",e>t?-2:-1),i-=Ie(s).width}},updateActiveClasses(t=this.index){let e=this._getTransitioner(t).getActives();"all"!==this.active&&(e=[this.slides[this.getValidIndex(t)]]);const n=[this.clsActive,!this.sets||h(this.sets,_(this.index))?this.clsActivated:""];for(const t of this.slides){const s=h(e,t);at(t,n,s),K(t,"aria-hidden",!s);for(const e of ze(pt,t))i(e,"_tabindex")||(e._tabindex=K(e,"tabindex")),K(e,"tabindex",s?e._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(h(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=Ie(this.list),e=-t,i=2*t,n=Ie(this.slides[this.index]).width,s=this.center?t/2-n/2:0,o=new Set;for(const t of[-1,1]){let r=s+(t>0?n:0),a=0;do{const e=this.slides[this.getIndex(this.index+t+a++*t)];r+=Ie(e).width*t,o.add(e)}while(this.length>a&&r>e&&r=0&&e{if(!this.matchMedia)return;const o=this.getCss(Ho(t,s,e)),r=this.getCss(Fo(t)?.5:s>0?1:0);ii.write((()=>{Kt(this.$el,o),ne.start(this.$el,r,i,n).catch(R)}))}))}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){ne.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){ii.read((()=>{if(!this.matchMedia)return void this.reset();const n=this.getCss(Ho(t,i,e));ii.write((()=>Kt(this.$el,n)))}))}}]};function Fo(t){return c(t,"in")}function Ho(t,e,i){return i/=2,Fo(t)^e<0?i:1-i}var jo={...as,fade:{show:()=>[{opacity:0,zIndex:0},{zIndex:-1}],percent:t=>1-Kt(t,"opacity"),translate:t=>[{opacity:1-t,zIndex:0},{zIndex:-1}]},scale:{show:()=>[{opacity:0,transform:hs(1.5),zIndex:0},{zIndex:-1}],percent:t=>1-Kt(t,"opacity"),translate:t=>[{opacity:1-t,transform:hs(1+.5*t),zIndex:0},{zIndex:-1}]},pull:{show:t=>t<0?[{transform:cs(30),zIndex:-1},{transform:cs(),zIndex:0}]:[{transform:cs(-100),zIndex:0},{transform:cs(),zIndex:-1}],percent:(t,e,i)=>i<0?1-ls(e):ls(t),translate:(t,e)=>e<0?[{transform:cs(30*t),zIndex:-1},{transform:cs(-100*(1-t)),zIndex:0}]:[{transform:cs(100*-t),zIndex:0},{transform:cs(30*(1-t)),zIndex:-1}]},push:{show:t=>t<0?[{transform:cs(100),zIndex:0},{transform:cs(),zIndex:-1}]:[{transform:cs(-30),zIndex:-1},{transform:cs(),zIndex:0}],percent:(t,e,i)=>i>0?1-ls(e):ls(t),translate:(t,e)=>e<0?[{transform:cs(100*t),zIndex:0},{transform:cs(-30*(1-t)),zIndex:-1}]:[{transform:cs(-30*t),zIndex:-1},{transform:cs(100*(1-t)),zIndex:0}]}},Wo={mixins:[tn,Ks,Io,ko,_o],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".qx-slideshow-items",attrItem:"qx-slideshow-item",selNav:".qx-slideshow-nav",Animations:jo},watch:{list(t){Kt(t,{aspectRatio:this.ratio?this.ratio.replace(":","/"):void 0,minHeight:this.minHeight,maxHeight:this.maxHeight,minWidth:"100%",maxWidth:"100%"})}},methods:{getAdjacentSlides(){return[1,-1].map((t=>this.slides[this.getIndex(this.index+t)]))}}},Ro={mixins:[tn,Mn],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:"qx-sortable-item",clsPlaceholder:"qx-sortable-placeholder",clsDrag:"qx-sortable-drag",clsDragState:"qx-drag",clsBase:"qx-sortable",clsNoDrag:"qx-sortable-nodrag",clsEmpty:"qx-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=t=>{p(this.pos,Gt(t)),e(t)}}},events:{name:Ge,passive:!1,handler:"init"},computed:{target:(t,e)=>(e.tBodies||[e])[0],items(){return $t(this.target)},isEmpty(){return!this.items.length},handles({handle:t},e){return t?ze(t,e):this.items}},watch:{isEmpty(t){at(this.target,this.clsEmpty,t)},handles(t,e){Kt(e,{touchAction:"",userSelect:""}),Kt(t,{touchAction:"none",userSelect:"none"})}},update:{write(t){if(!this.drag||!mt(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:n,offsetLeft:s},placeholder:o}=this;Kt(this.drag,{top:i-n,left:e-s});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(ne.inProgress))return;const l=function(t,e){return t[d(t,(t=>U(e,Ie(t))))]}(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),h=function(t,e,i,n,s,o){if(!$t(t).length)return;const r=Ie(e);if(!o)return function(t,e){const i=1===$t(t).length;i&&pe(t,e);const n=$t(t),s=n.some(((t,e)=>{const i=Ie(t);return n.slice(e+1).some((t=>{const e=Ie(t);return!Uo([i.left,i.right],[e.left,e.right])}))}));return i&&be(e),s}(t,i)||sr[u]-f)&&e}(r.target,l,o,e,i,r===c&&t.moved!==l);!1!==h&&(h&&o===h||(r!==c?(c.remove(o),t.moved=l):delete t.moved,r.insert(o,h),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:n}=t,[s]=this.items.filter((t=>t.contains(e)));!s||n||i>0||ft(e)||e.closest(`.${this.clsNoDrag}`)||this.handle&&!e.closest(this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=s,this.origin={target:e,index:qt(s),...this.pos},Ft(document,Qe,this.move),Ft(document,Ke,this.end),this.threshold||this.start(t))},start(t){this.drag=function(t,e){let i;if(he(e,"li","tr")){i=Ce("
"),pe(i,e.cloneNode(!0).children);for(const t of e.getAttributeNames())K(i,t,e.getAttribute(t))}else i=e.cloneNode(!0);return pe(t,i),Kt(i,"margin","0","important"),Kt(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:Kt(e,"padding")}),Me(i.firstElementChild,Me(e.firstElementChild)),i}(this.$container,this.placeholder);const{left:e,top:i}=Ie(this.placeholder);p(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),it(this.drag,this.clsDrag,this.clsCustom),it(this.placeholder,this.clsPlaceholder),it(this.items,this.clsItem),it(document.documentElement,this.clsDragState),Wt(this.$el,"start",[this,this.placeholder]),function(t){let e=Date.now();Vo=setInterval((()=>{let{x:i,y:n}=t;n+=document.scrollingElement.scrollTop;const s=.3*(Date.now()-e);e=Date.now(),ki(document.elementFromPoint(i,t.y)).reverse().some((t=>{let{scrollTop:e,scrollHeight:i}=t;const{top:o,bottom:r,height:a}=Ti(t);if(on)e-=s;else{if(!(r>n&&r-350&ðis.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(Ht(document,Qe,this.move),Ht(document,Ke,this.end),!this.drag)return;clearInterval(Vo);const t=this.getSortable(this.placeholder);this===t?this.origin.index!==qt(this.placeholder)&&Wt(this.$el,"moved",[this,this.placeholder]):(Wt(t.$el,"added",[t,this.placeholder]),Wt(this.$el,"removed",[this,this.placeholder])),Wt(this.$el,"stop",[this,this.placeholder]),be(this.drag),this.drag=null;for(const{clsPlaceholder:t,clsItem:e}of this.touched)for(const i of this.touched)nt(i.items,t,e);this.touched=null,nt(document.documentElement,this.clsDragState)},insert(t,e){it(this.items,this.clsItem);this.animate((()=>e?ge(e,t):pe(this.target,t)))},remove(t){this.target.contains(t)&&this.animate((()=>be(t)))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||!1!==this.group&&e.group===this.group))return e}while(t=mt(t))}}};let Vo;function Uo(t,e){return t[1]>e[0]&&e[1]>t[0]}var Xo={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(Xe?"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=h(["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:De(this.dir),this.align],target:[this.dir,this.align]};if("y"===this.axis){for(const t in o)o[t].reverse();n.reverse(),s.reverse()}const r=function(t){const e=Ii(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}(t),a=Ie(t);Kt(t,{top:-a.height,left:-a.width}),Di(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t=this.$el){return Le(!1===this.offset?Kt(t,"--qx-position-offset"):this.offset,"x"===this.axis?"width":"height",t)*(h(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t=this.$el){return"center"===this.align?0:Le(Kt(t,"--qx-position-shift-offset"),"y"===this.axis?"width":"height",t)*(h(["left","top"],this.align)?1:-1)},getViewportOffset:t=>Le(Kt(t,"--qx-position-viewport-offset"))}};var Yo={mixins:[Gn,Qn,Xo],data:{pos:"top",animation:["qx-animation-scale-up"],duration:100,cls:"qx-active"},connected(){var t;gt(t=this.$el)||K(t,"tabindex","0")},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:t=0,title:e}=function(t){const{el:e,id:i,data:n}=t;return["delay","title"].reduce(((t,i)=>({[i]:et(e,i),...t})),{...cn(et(e,i),["title"]),...n})}(this.$options);if(!e)return;const i=K(this.$el,"title"),n=Ft(this.$el,["blur",ti],(t=>!Jt(t)&&this.hide()));this.reset=()=>{K(this.$el,{title:i,"aria-describedby":null}),n()};const s=Js(this);K(this.$el,{title:null,"aria-describedby":s}),clearTimeout(this.showTimer),this.showTimer=setTimeout((()=>this._show(e,s)),t)},async hide(){bt(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),this.reset?.(),be(this.tooltip),this.tooltip=null)},async _show(t,e){this.tooltip=pe(this.container,`
${t}
`),Ft(this.tooltip,"toggled",((t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[n,s]=function(t,e,[i,n]){const s=_e(t),o=_e(e),r=[["left","right"],["top","bottom"]];for(const t of r){if(s[t[0]]>=o[t[1]]){i=t[1];break}if(s[t[1]]<=o[t[0]]){i=t[0];break}}return[i,(h(r[0],i)?r[1]:r[0]).find((t=>s[t]===o[t]))||"center"]}(this.tooltip,this.$el,this.pos);this.origin="y"===this.axis?`${De(n)}-${s}`:`${s}-${De(n)}`;const o=[jt(document,`keydown ${Ge}`,this.hide,!1,(t=>t.type===Ge&&!this.$el.contains(t.target)||"keydown"===t.type&&t.keyCode===On)),Ft([document,..._i(this.$el)],"scroll",i,{passive:!0})];jt(this.tooltip,"hide",(()=>o.forEach((t=>t()))),{self:!0})})),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${Ze} ${Ge}`](t){Jt(t)&&t.type!==Ge||this.show()}}};var Jo={mixins:[us],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:"qx-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:R,beforeAll:R,beforeSend:R,complete:R,completeAll:R,error:R,fail:R,load:R,loadEnd:R,loadStart:R,progress:R},events:{change(t){bt(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){Qo(t);const e=t.dataTransfer;e?.files&&(nt(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){Qo(t)},dragover(t){Qo(t),it(this.$el,this.clsDragover)},dragleave(t){Qo(t),nt(this.$el,this.clsDragover)}},methods:{async upload(t){if(!(t=f(t)).length)return;Wt(this.$el,"upload",[t]);for(const e of t){if(this.maxSize&&1e3*this.maxSize{const n=new FormData;t.forEach((t=>n.append(this.name,t)));for(const t in this.params)n.append(t,this.params[t]);try{const t=await function(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:R,responseType:"",...e};return Promise.resolve().then((()=>i.beforeSend(i))).then((()=>function(t,e){return new Promise(((i,n)=>{const{xhr:s}=e;for(const t in e)if(t in s)try{s[t]=e[t]}catch(t){}s.open(e.method.toUpperCase(),t);for(const t in e.headers)s.setRequestHeader(t,e.headers[t]);Ft(s,"load",(()=>{0===s.status||s.status>=200&&s.status<300||304===s.status?i(s):n(p(Error(s.statusText),{xhr:s,status:s.status}))})),Ft(s,"error",(()=>n(p(Error("Network Error"),{xhr:s})))),Ft(s,"timeout",(()=>n(p(Error("Network Timeout"),{xhr:s})))),s.send(e.data)}))}(t,i)))}(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:t=>{const{xhr:e}=t;Ft(e.upload,"progress",this.progress);for(const t of["loadStart","load","loadEnd","abort"])Ft(e,t.toLowerCase(),this[t]);return this.beforeSend(t)}});this.complete(t),e.length?await i(e.shift()):this.completeAll(t)}catch(t){this.error(t)}};await i(e.shift())}}};function Go(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Qo(t){t.preventDefault(),t.stopPropagation()}var Ko=Object.freeze({__proto__:null,Countdown:nn,Filter:Rn,Lightbox:io,LightboxPanel:to,Notification:so,Parallax:zo,Slider:Do,SliderParallax:Lo,Slideshow:Wo,SlideshowParallax:Lo,Sortable:Ro,Tooltip:Yo,Upload:Jo});function Zo(t){Wt(document,"uikit:init",t),document.body&&Ae(document.body,ir),new MutationObserver((t=>t.forEach(tr))).observe(document,{subtree:!0,childList:!0}),new MutationObserver((t=>t.forEach(er))).observe(document,{subtree:!0,attributes:!0}),t._initialized=!0}function tr({addedNodes:t,removedNodes:e}){for(const e of t)Ae(e,ir);for(const t of e)Ae(t,nr)}function er({target:t,attributeName:e}){const i=sr(e);if(i){if(Z(t,e))return void Ws(i,t);Vs(t,i)?.$destroy()}}function ir(t){const e=Rs(t);for(const i in Rs(t))Ms(e[i]);for(const e of t.getAttributeNames()){const i=sr(e);i&&Ws(i,t)}}function nr(t){const e=Rs(t);for(const i in Rs(t))Ns(e[i])}function sr(t){l(t,"data-")&&(t=t.slice(5));const e=Hs[t];return e&&(v(e)?e:e.options).name}(function(t){let e;t.component=js,t.getComponents=Rs,t.getComponent=Vs,t.update=Us,t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(t,e){(e=(S(e)?this.component(e):e)||this).options=ln(e.options,t)},t.extend=function(t){t||={};const e=this,i=function(t){Bs(this,t)};return(i.prototype=Object.create(e.prototype)).constructor=i,i.options=ln(e.options,t),i.super=e,i.extend=e.extend,i},Object.defineProperty(t,"container",{get:()=>e||document.body,set(t){e=Ce(t)}})})(Ds),function(t){t.prototype.$mount=function(t){const e=this;(function(t,e){t[Fs]||(t[Fs]={}),t[Fs][e.$options.name]=e})(t,e),e.$options.el=t,document.contains(t)&&Ms(e)},t.prototype.$destroy=function(t=!1){const e=this,{el:i}=e.$options;i&&Ns(e),Ps(e,"destroy"),function(t,e){delete t[Fs]?.[e.$options.name],z(t[Fs])||delete t[Fs]}(i,e),t&&be(e.$el)},t.prototype.$create=Ws,t.prototype.$emit=function(t){un(this,t)},t.prototype.$update=function(t=this.$el,e){Us(t,e)},t.prototype.$reset=function(){Ns(this),Ms(this)},t.prototype.$getComponent=Vs,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}(Ds);var or={mixins:[tn,Qn],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:"qx-open",toggle:"> .qx-accordion-title",content:"> .qx-accordion-content",offset:0},computed:{items:({targets:t},e)=>ze(t,e),toggles({toggle:t}){return this.items.map((e=>Ce(t,e)))},contents({content:t}){return this.items.map((e=>e._wrapper?.firstElementChild||Ce(t,e)))}},watch:{items(t,e){if(e||rt(t,this.clsOpen))return;const i=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const t=rt(this.items.find((t=>t.contains(e))),this.clsOpen);rr(e,!t)}this.$emit()}},observe:mn(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){"keydown"===t.type&&t.keyCode!==Bn||(t.preventDefault(),this._off?.(),this._off=function(t){const e=Ii(t,!0);let i;return function n(){i=requestAnimationFrame((()=>{const{top:i}=Ie(t);i<0&&(e.scrollTop+=i),n()}))}(),()=>requestAnimationFrame((()=>cancelAnimationFrame(i)))}(t.target),await this.toggle(qt(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=vt(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],n=this.contents[e];if(!i||!n)continue;i.id=Js(this,i),n.id=Js(this,n);const s=h(t,this.items[e]);K(i,{role:he(i,"a")?"button":null,"aria-controls":n.id,"aria-expanded":s,"aria-disabled":!this.collapsible&&t.length<2&&s}),K(n,{role:"region","aria-labelledby":i.id}),he(n,"ul")&&K($t(n),"role","presentation")}},methods:{toggle(t,e){let i=[t=this.items[G(t,this.items)]];const n=vt(this.items,`.${this.clsOpen}`);if(this.multiple||h(n,i[0])||(i=i.concat(n)),!(!this.collapsible&&n.length<2&&h(n,t)))return Promise.all(i.map((t=>this.toggleElement(t,!h(n,t),((t,i)=>{if(at(t,this.clsOpen,i),!1!==e&&this.animation)return async function(t,e,{content:i,duration:n,velocity:s,transition:o}){i=t._wrapper?.firstElementChild||Ce(i,t),t._wrapper||(t._wrapper=xe(i,"