/*! For license information please see quix.vendor.js.LICENSE.txt */ (()=>{"use strict";var t,e={277:(t,e,n)=>{var i,r=n(199),o=n.n(r),s=(n(683),n(99),n(418),n(159),n(96),n(372),n(584),(null===(i=window.qxUIkit)||void 0===i?void 0:i.sliderQueue)||[]);window.qxUIkit=n(799),s.forEach((function(t){return t()})),document.addEventListener("bgsetproxy",(function(t){var e;null===(e=t.target.querySelector(".lazyload-bg"))||void 0===e||e.classList.add("lazy-bg")})),o().init(),jQuery((function(){var t=window.navigator.userAgent;!1!==/MSIE|Trident|Edge/.test(t)&&"undefined"==typeof Modernizr&&jQuery(".qx-slider-pro-v2 .slider-pro-item").each((function(){var t=jQuery(this),e=t.find("img").prop("src");e&&t.css("backgroundImage","url("+e+")").addClass("compat-object-fit")})),jQuery(".qx-element-gallery-v2").find(".qx-active").click(),window.onload=window.onresize=function(){var t=jQuery("html").attr("dir"),e=0;jQuery(".qx-section--stretch").each((function(){var n=jQuery(this);e=n.offset().left,n.css("width",document.body.clientWidth),0!==e&&("rtl"===t?n.css({marginRight:e}):n.css({marginLeft:-e}))}))}}))}},n={};function i(t){var r=n[t];if(void 0!==r)return r.exports;var o=n[t]={exports:{}};return e[t].call(o.exports,o,o.exports,i),o.exports}i.m=e,t=[],i.O=(e,n,r,o)=>{if(!n){var s=1/0;for(u=0;u=o)&&Object.keys(i.O).every((t=>i.O[t](n[c])))?n.splice(c--,1):(a=!1,o0&&t[u-1][2]>o;u--)t[u]=t[u-1];t[u]=[n,r,o]},i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={898:0};i.O.j=e=>0===t[e];var e=(e,n)=>{var r,o,[s,a,c]=n,l=0;if(s.some((e=>0!==t[e]))){for(r in a)i.o(a,r)&&(i.m[r]=a[r]);if(c)var u=c(i)}for(e&&e(n);li(277)));r=i.O(r)})(),(self.webpackChunkpkg_quix=self.webpackChunkpkg_quix||[]).push([[555],{199:t=>{!function(e,n){var i=function(t,e,n){"use strict";var i,r;if(function(){var e,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in r=t.lazySizesConfig||t.lazysizesConfig||{},n)e in r||(r[e]=n[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var o,s,a,c,l,u,h,d,f,p,g,v,m,w,b,x,y,$,A,E,z,S,C,q,_,I,k,T,N,M,P,O,B,D,L,H,F,j,W,R,V,U,Y,X,Q=e.documentElement,J=t.HTMLPictureElement,G="addEventListener",K=t.addEventListener.bind(t),Z=t.setTimeout,tt=t.requestAnimationFrame||Z,et=t.requestIdleCallback,nt=/^picture$/i,it=["load","error","lazyincluded","_lazyloaded"],rt={},ot=Array.prototype.forEach,st=function(t,e){return rt[e]||(rt[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),rt[e].test(t.getAttribute("class")||"")&&rt[e]},at=function(t,e){st(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},ct=function(t,e){var n;(n=st(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(n," "))},lt=function(t,e,n){var i=n?G:"removeEventListener";n&<(t,e),it.forEach((function(n){t[i](n,e)}))},ut=function(t,n,r,o,s){var a=e.createEvent("Event");return r||(r={}),r.instance=i,a.initEvent(n,!o,!s),a.detail=r,t.dispatchEvent(a),a},ht=function(e,n){var i;!J&&(i=t.picturefill||r.pf)?(n&&n.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[e]})):n&&n.src&&(e.src=n.src)},dt=function(t,e){return(getComputedStyle(t,null)||{})[e]},ft=function(t,e,n){for(n=n||t.offsetWidth;n0)&&"visible"!=dt(r,"overflow")&&(i=r.getBoundingClientRect(),o=w>i.left&&mi.top-1&&v49?function(){et(a,{timeout:s}),s!==r.ricTimeout&&(s=r.ricTimeout)}:gt((function(){Z(a)}),!0);return function(t){var r;(t=!0===t)&&(s=33),e||(e=!0,(r=o-(n.now()-i))<0&&(r=0),t||r<9?c():Z(c,r))}}(I=function(){var t,n,o,s,a,c,h,f,y,$,C,I,k=i.elements;if((d=r.loadMode)&&z<8&&(t=k.length)){for(n=0,S++;n500&&Q.clientWidth>500?500:370:r.expand,i._defEx=$,C=$*r.expFactor,I=r.hFac,x=null,E2&&d>2&&!e.hidden?(E=C,S=0):E=d>1&&S>1&&z<6?$:0),y!==c&&(p=innerWidth+c*I,g=innerHeight+c,h=-1*c,y=c),o=k[n].getBoundingClientRect(),(b=o.bottom)>=h&&(v=o.top)<=g&&(w=o.right)>=h*I&&(m=o.left)<=p&&(b||w||m||v)&&(r.loadHidden||q(k[n]))&&(u&&z<3&&!f&&(d<3||S<4)||_(k[n],c))){if(D(k[n]),a=!0,z>9)break}else!a&&u&&!s&&z<4&&S<4&&d>2&&(l[0]||r.preloadAfterLoad)&&(l[0]||!f&&(b||w||m||v||"auto"!=k[n].getAttribute(r.sizesAttr)))&&(s=l[0]||k[n]);s&&!a&&D(s)}}),N=gt(T=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(C(t),at(e,r.loadedClass),ct(e,r.loadingClass),lt(e,M),ut(e,"lazyloaded"))}),M=function(t){N({target:t.target})},P=function(t,e){var n=t.getAttribute("data-load-mode")||r.iframeLoadMode;0==n?t.contentWindow.location.replace(e):1==n&&(t.src=e)},O=function(t){var e,n=t.getAttribute(r.srcsetAttr);(e=r.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),n&&t.setAttribute("srcset",n)},B=gt((function(t,e,n,i,o){var s,a,c,l,u,d;(u=ut(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?at(t,r.autosizesClass):t.setAttribute("sizes",i)),a=t.getAttribute(r.srcsetAttr),s=t.getAttribute(r.srcAttr),o&&(l=(c=t.parentNode)&&nt.test(c.nodeName||"")),d=e.firesLoad||"src"in t&&(a||s||l),u={target:t},at(t,r.loadingClass),d&&(clearTimeout(h),h=Z(C,2500),lt(t,M,!0)),l&&ot.call(c.getElementsByTagName("source"),O),a?t.setAttribute("srcset",a):s&&!l&&($.test(t.nodeName)?P(t,s):t.src=s),o&&(a||l)&&ht(t,{src:s})),t._lazyRace&&delete t._lazyRace,ct(t,r.lazyClass),pt((function(){var e=t.complete&&t.naturalWidth>1;d&&!e||(e&&at(t,r.fastLoadedClass),T(u),t._lazyCache=!0,Z((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&z--}),!0)})),D=function(t){if(!t._lazyRace){var e,n=y.test(t.nodeName),i=n&&(t.getAttribute(r.sizesAttr)||t.getAttribute("sizes")),o="auto"==i;(!o&&u||!n||!t.getAttribute("src")&&!t.srcset||t.complete||st(t,r.errorClass)||!st(t,r.lazyClass))&&(e=ut(t,"lazyunveilread").detail,o&&wt.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,z++,B(t,e,o,i,n))}},L=vt((function(){r.loadMode=3,k()})),F=function(){u||(n.now()-f<999?Z(F,999):(u=!0,r.loadMode=3,k(),K("scroll",H,!0)))},{_:function(){f=n.now(),i.elements=e.getElementsByClassName(r.lazyClass),l=e.getElementsByClassName(r.lazyClass+" "+r.preloadClass),K("scroll",k,!0),K("resize",k,!0),K("pageshow",(function(t){if(t.persisted){var n=e.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&tt((function(){n.forEach((function(t){t.complete&&D(t)}))}))}})),t.MutationObserver?new MutationObserver(k).observe(Q,{childList:!0,subtree:!0,attributes:!0}):(Q.addEventListener("DOMNodeInserted",k,!0),Q.addEventListener("DOMAttrModified",k,!0),setInterval(k,999)),K("hashchange",k,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){e.addEventListener(t,k,!0)})),/d$|^c/.test(e.readyState)?F():(K("load",F),e.addEventListener("DOMContentLoaded",k),Z(F,2e4)),i.elements.length?(I(),pt._lsFlush()):k()},checkElems:k,unveil:D,_aLSL:H=function(){3==r.loadMode&&(r.loadMode=2),L()}}),wt=(s=gt((function(t,e,n,i){var r,o,s;if(t._lazysizesWidth=i,i+="px",t.setAttribute("sizes",i),nt.test(e.nodeName||""))for(o=0,s=(r=e.getElementsByTagName("source")).length;o{var i,r,o;!function(s,a){a=a.bind(null,s,s.document),t.exports?a(n(199)):(r=[n(199)],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o))}(window,(function(t,e,n){"use strict";if(t.addEventListener){var i=n.cfg,r=/\s+/g,o=/\s*\|\s+|\s+\|\s*/g,s=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,a=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,c=/\(|\)|'/,l={contain:1,cover:1},u=function(t,e){if(e){var n=e.match(a);n&&n[1]?t.setAttribute("type",n[1]):t.setAttribute("media",i.customMedia[e]||e)}},h=function(t){if(t.target._lazybgset){var e=t.target,i=e._lazybgset,r=e.currentSrc||e.src;if(r){var o=c.test(r)?JSON.stringify(r):r,s=n.fire(i,"bgsetproxy",{src:r,useSrc:o,fullSrc:null});s.defaultPrevented||(i.style.backgroundImage=s.detail.fullSrc||"url("+s.detail.useSrc+")")}e._lazybgsetLoading&&(n.fire(i,"_lazyloaded",{},!1,!0),delete e._lazybgsetLoading)}};addEventListener("lazybeforeunveil",(function(t){var a,c,l;!t.defaultPrevented&&(a=t.target.getAttribute("data-bgset"))&&(l=t.target,(c=e.createElement("img")).alt="",c._lazybgsetLoading=!0,t.detail.firesLoad=!0,function(t,n,a){var c=e.createElement("picture"),l=n.getAttribute(i.sizesAttr),h=n.getAttribute("data-ratio"),d=n.getAttribute("data-optimumx");n._lazybgset&&n._lazybgset.parentNode==n&&n.removeChild(n._lazybgset),Object.defineProperty(a,"_lazybgset",{value:n,writable:!0}),Object.defineProperty(n,"_lazybgset",{value:c,writable:!0}),t=t.replace(r," ").split(o),c.style.display="none",a.className=i.lazyClass,1!=t.length||l||(l="auto"),t.forEach((function(t){var n,r=e.createElement("source");l&&"auto"!=l&&r.setAttribute("sizes",l),(n=t.match(s))?(r.setAttribute(i.srcsetAttr,n[1]),u(r,n[2]),u(r,n[3])):r.setAttribute(i.srcsetAttr,t),c.appendChild(r)})),l&&(a.setAttribute(i.sizesAttr,l),n.removeAttribute(i.sizesAttr),n.removeAttribute("sizes")),d&&a.setAttribute("data-optimumx",d),h&&a.setAttribute("data-ratio",h),c.appendChild(a),n.appendChild(c)}(a,l,c),setTimeout((function(){n.loader.unveil(c),n.rAF((function(){n.fire(c,"_lazyloaded",{},!0,!0),c.complete&&h({target:c})}))})))})),e.addEventListener("load",h,!0),t.addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==n&&t.target._lazybgset&&t.detail.dataAttr){var e=function(t){var e;return e=(getComputedStyle(t)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!l[e]&&l[t.style.backgroundSize]&&(e=t.style.backgroundSize),e}(t.target._lazybgset);l[e]&&(t.target._lazysizesParentFit=e,n.rAF((function(){t.target.setAttribute("data-parent-fit",e),t.target._lazysizesParentFit&&delete t.target._lazysizesParentFit})))}}),!0),e.documentElement.addEventListener("lazybeforesizes",(function(t){var e,i;!t.defaultPrevented&&t.target._lazybgset&&t.detail.instance==n&&(t.detail.width=(e=t.target._lazybgset,i=n.gW(e,e.parentNode),(!e._lazysizesWidth||i>e._lazysizesWidth)&&(e._lazysizesWidth=i),e._lazysizesWidth))}))}}))},683:(t,e,n)=>{var i,r,o;!function(s,a){s&&(a=a.bind(null,s,s.document),t.exports?a(n(199)):(r=[n(199)],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,n,i){"use strict";var r,o=e.createElement("a").style,s="objectFit"in o,a=/object-fit["']*\s*:\s*["']*(contain|cover)/,c=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,l="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",u=/\(|\)|'/,h={center:"center","50% 50%":"center"};if(!s||!s||!("objectPosition"in o)){var d=function(t){if(t.detail.instance==n){var i=t.target,o=function(t){var e=(getComputedStyle(t,null)||{}).fontFamily||"",n=e.match(a)||"",i=n&&e.match(c)||"";return i&&(i=i[1]),{fit:n&&n[1]||"",position:h[i]||i||"center"}}(i);return!(!o.fit||s&&"center"==o.position||(function(t,i){var o,s,a,c,h=n.cfg,d=function(){var e=t.currentSrc||t.src;e&&s!==e&&(s=e,c.backgroundImage="url("+(u.test(e)?JSON.stringify(e):e)+")",o||(o=!0,n.rC(a,h.loadingClass),n.aC(a,h.loadedClass)))},f=function(){n.rAF(d)};t._lazysizesParentFit=i.fit,t.addEventListener("lazyloaded",f,!0),t.addEventListener("load",f,!0),n.rAF((function(){var o=t,s=t.parentNode;"PICTURE"==s.nodeName.toUpperCase()&&(o=s,s=s.parentNode),function(t){var e=t.previousElementSibling;e&&n.hC(e,r)&&(e.parentNode.removeChild(e),t.style.position=e.getAttribute("data-position")||"",t.style.visibility=e.getAttribute("data-visibility")||"")}(o),r||function(){if(!r){var t=e.createElement("style");r=n.cfg.objectFitClass||"lazysizes-display-clone",e.querySelector("head").appendChild(t)}}(),a=t.cloneNode(!1),c=a.style,a.addEventListener("load",(function(){var t=a.currentSrc||a.src;t&&t!=l&&(a.src=l,a.srcset="")})),n.rC(a,h.loadedClass),n.rC(a,h.lazyClass),n.rC(a,h.autosizesClass),n.aC(a,h.loadingClass),n.aC(a,r),["data-parent-fit","data-parent-container","data-object-fit-polyfilled",h.srcsetAttr,h.srcAttr].forEach((function(t){a.removeAttribute(t)})),a.src=l,a.srcset="",c.backgroundRepeat="no-repeat",c.backgroundPosition=i.position,c.backgroundSize=i.fit,a.setAttribute("data-position",o.style.position),a.setAttribute("data-visibility",o.style.visibility),o.style.visibility="hidden",o.style.position="absolute",t.setAttribute("data-parent-fit",i.fit),t.setAttribute("data-parent-container","prev"),t.setAttribute("data-object-fit-polyfilled",""),t._objectFitPolyfilledDisplay=a,s.insertBefore(a,o),t._lazysizesParentFit&&delete t._lazysizesParentFit,t.complete&&d()}))}(i,o),0))}};t.addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==n){var e=t.target;null==e.getAttribute("data-object-fit-polyfilled")||e._objectFitPolyfilledDisplay||d(t)||n.rAF((function(){e.removeAttribute("data-object-fit-polyfilled")}))}})),t.addEventListener("lazyunveilread",d,!0),i&&i.detail&&d(i)}}))},96:(t,e,n)=>{var i,r,o;!function(s,a){s&&(a=a.bind(null,s,s.document),t.exports?a(n(199)):(r=[n(199)],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,n){"use strict";if(t.addEventListener){var i,r,o,s,a,c,l,u,h=/^picture$/i,d=e.documentElement,f=(o=/(([^,\s].[^\s]+)\s+(\d+)(w|h)(\s+(\d+)(w|h))?)/g,s=function(t,e,n,i,o,s,a,c){r.push({c:e,u:n,w:1*("w"==c?a:i)})},function(t){return r=[],t.replace(o,s),r}),p=(a=function(t,e){return t.w-e.w},c=function(t,e){var i={srcset:t.getAttribute(n.cfg.srcsetAttr)||""},r=f(i.srcset);return Object.defineProperty(t,e,{value:i,writable:!0}),i.cands=r,i.index=0,i.dirty=!1,r[0]&&r[0].w?(r.sort(a),i.cSrcset=[r[i.index].c]):(i.cSrcset=i.srcset?[i.srcset]:[],i.cands=[]),i},function(t,e){var n,i,r,o;if(!t[e]&&(o=t.parentNode||{},t[e]=c(t,e),t[e].isImg=!0,h.test(o.nodeName||"")))for(t[e].picture=!0,i=0,r=(n=o.getElementsByTagName("source")).length;i.7?.6:.4,!(t.d>=n)&&((i=Math.pow(t.d-r,1.6)||.1)<.1?i=.1:i>3&&(i=3),t.d+(e-n)*i=i)){if(!(r.d<=n||l(t.cands[i-1],r.d,n)))break;t.cSrcset.push(r.c),t.index=i}})},v=(u=function(t,e,n,i,r){var o,s=t[r];s&&(o=s.index,g[r](s,e,n),s.dirty&&o==s.index||(s.cSrcset.join(", "),t.setAttribute(i,s.cSrcset.join(", ")),s.dirty=!0))},function(t,e,n,i,r){var o,s,a,c,l=t[r];if(l.width=e,l.picture&&(s=t.parentNode))for(c=0,a=(o=s.getElementsByTagName("source")).length;c2.6?e*=.6:e>1.9?e*=.8:e-=.01,Math.min(Math.round(100*e)/100,2)}),t.devicePixelRatio&&addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==n){var e,r,o,s,a=t.target,c=t.detail,l=c.dataAttr;t.defaultPrevented||!(e=m(a))||e>=devicePixelRatio||(!l||!a._lazyOptimumx||c.reloaded||i.unloadedClass&&n.hC(a,i.unloadedClass)||(a._lazyOptimumx=null),r=p(a,"_lazyOptimumx"),(o=c.width)&&(r.width||0){var i,r,o;!function(s,a){s&&(a=a.bind(null,s,s.document),t.exports?a(n(199)):(r=[n(199)],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,n){"use strict";if(t.addEventListener){var i=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,r=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,o=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,s=/^picture$/i,a=n.cfg,c={getParent:function(e,n){var i=e,r=e.parentNode;return n&&"prev"!=n||!r||!s.test(r.nodeName||"")||(r=r.parentNode),"self"!=n&&(i="prev"==n?e.previousElementSibling:n&&(r.closest||t.jQuery)&&(r.closest?r.closest(n):jQuery(r).closest(n)[0])||r),i},getFit:function(t){var e,n,i=getComputedStyle(t,null)||{},s=i.content||i.fontFamily,a={fit:t._lazysizesParentFit||t.getAttribute("data-parent-fit")};return!a.fit&&s&&(e=s.match(r))&&(a.fit=e[1]),a.fit?(!(n=t._lazysizesParentContainer||t.getAttribute("data-parent-container"))&&s&&(e=s.match(o))&&(n=e[1]),a.parent=c.getParent(t,n)):a.fit=i.objectFit,a},getImageRatio:function(e){var n,r,o,c,l,u,h,d=e.parentNode,f=d&&s.test(d.nodeName||"")?d.querySelectorAll("source, img"):[e];for(n=0;ni)&&(r=e*(i/n)),r):e}};n.parentFit=c,e.addEventListener("lazybeforesizes",(function(t){if(!t.defaultPrevented&&t.detail.instance==n){var e=t.target;t.detail.width=c.calculateSize(e,t.detail.width)}}))}}))},584:(t,e,n)=>{var i,r,o;!function(s,a){a=a.bind(null,s,s.document),t.exports?a(n(199)):(r=[n(199)],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o))}(window,(function(t,e,n){"use strict";var i,r;"srcset"in e.createElement("img")&&(i=/^img$/i,r=function(t){t.target.style.backgroundSize="",t.target.style.backgroundImage="",t.target.removeEventListener(t.type,r)},e.addEventListener("lazybeforeunveil",(function(t){if(t.detail.instance==n){var e=t.target;if(i.test(e.nodeName)){var o=e.getAttribute("src");o&&(e.style.backgroundSize="100% 100%",e.style.backgroundImage="url("+o+")",e.removeAttribute("src"),e.addEventListener("load",r))}}}),!1))}))},372:(t,e,n)=>{var i,r,o;!function(s,a){s&&(a=a.bind(null,s,s.document),t.exports?a(n(199)):(r=[n(199)],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,n){"use strict";var i,r,o,s,a,c,l,u,h,d,f,p,g,v,m,w,b=n.cfg,x=e.createElement("img"),y="sizes"in x&&"srcset"in x,$=/\s+\d+h/g,A=(r=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,o=Array.prototype.forEach,function(){var t=e.createElement("img"),i=function(t){var e,n,i=t.getAttribute(b.srcsetAttr);i&&(n=i.match(r))&&((e="w"==n[2]?n[1]/n[3]:n[3]/n[1])&&t.setAttribute("data-aspectratio",e),t.setAttribute(b.srcsetAttr,i.replace($,"")))},s=function(t){if(t.detail.instance==n){var e=t.target.parentNode;e&&"PICTURE"==e.nodeName&&o.call(e.getElementsByTagName("source"),i),i(t.target)}},a=function(){t.currentSrc&&e.removeEventListener("lazybeforeunveil",s)};e.addEventListener("lazybeforeunveil",s),t.onload=a,t.onerror=a,t.srcset="data:,a 1w 1h",t.complete&&a()});b.supportsType||(b.supportsType=function(t){return!t}),t.HTMLPictureElement&&y?!n.hasHDescriptorFix&&e.msElementsFromPoint&&(n.hasHDescriptorFix=!0,A()):t.picturefill||b.pf||(b.pf=function(e){var n,r;if(!t.picturefill)for(n=0,r=e.elements.length;n1?(l=s.getAttribute("sizes")||"",l=h.test(l)&&parseInt(l,10)||n.gW(e,e.parentNode),a.d=function(e){var i=t.devicePixelRatio||1,r=n.getX&&n.getX(e);return Math.min(r||i,2.5,i)}(e),!a.src||!a.w||a.w=t.d){!r.cached&&(e=t[o-1])&&e.d>t.d-.13*Math.pow(t.d,2.2)&&(n=Math.pow(e.d-.6,1.6),e.cached&&(e.d+=.15*n),e.d+(r.d-t.d)*n>t.d&&(r=e));break}return r}(a.sort(u)),a.src=c):c=a.src):c=a[0],c},(m=function(t){if(!y||!t.parentNode||"PICTURE"==t.parentNode.nodeName.toUpperCase()){var e=v(t);e&&e.u&&t._lazypolyfill.cur!=e.u&&(t._lazypolyfill.cur=e.u,e.cached=!0,t.setAttribute(b.srcAttr,e.u),t.setAttribute("src",e.u))}}).parse=d=function(t){return s=[],(t=t.trim()).replace($,"").replace(a,l),s.length||!t||c.test(t)||s.push({c:t,u:t,w:99}),s},i=m,b.loadedClass&&b.loadingClass&&(w=[],['img[sizes$="px"][srcset].',"picture > img:not([srcset])."].forEach((function(t){w.push(t+b.loadedClass),w.push(t+b.loadingClass)})),b.pf({elements:e.querySelectorAll(w.join(", "))})))}))},159:(t,e,n)=>{var i,r,o;!function(s,a){a=a.bind(null,s,s.document),t.exports?a(n(199)):(r=[n(199)],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o))}(window,(function(t,e,n){"use strict";var i,r,o={};function s(t,n,i){if(!o[t]){var r=e.createElement(n?"link":"script"),s=e.getElementsByTagName("script")[0];n?(r.rel="stylesheet",r.href=t):(r.onload=function(){r.onerror=null,r.onload=null,i()},r.onerror=r.onload,r.src=t),o[t]=!0,o[r.src||r.href]=!0,s.parentNode.insertBefore(r,s)}}e.addEventListener&&(r=/\(|\)|\s|'/,i=function(t,n){var i=e.createElement("img");i.onload=function(){i.onload=null,i.onerror=null,i=null,n()},i.onerror=i.onload,i.src=t,i&&i.complete&&i.onload&&i.onload()},addEventListener("lazybeforeunveil",(function(t){var e,o,a;if(t.detail.instance==n&&!t.defaultPrevented){var c=t.target;if("none"==c.preload&&(c.preload=c.getAttribute("data-preload")||"auto"),null!=c.getAttribute("data-autoplay"))if(c.getAttribute("data-expand")&&!c.autoplay)try{c.play()}catch(t){}else requestAnimationFrame((function(){c.setAttribute("data-expand","-10"),n.aC(c,n.cfg.lazyClass)}));(e=c.getAttribute("data-link"))&&s(e,!0),(e=c.getAttribute("data-script"))&&(t.detail.firesLoad=!0,s(e,null,(function(){t.detail.firesLoad=!1,n.fire(c,"_lazyloaded",{},!0,!0)}))),(e=c.getAttribute("data-require"))&&(n.cfg.requireJs?n.cfg.requireJs([e]):s(e)),(o=c.getAttribute("data-bg"))&&(t.detail.firesLoad=!0,i(o,(function(){c.style.backgroundImage="url("+(r.test(o)?JSON.stringify(o):o)+")",t.detail.firesLoad=!1,n.fire(c,"_lazyloaded",{},!0,!0)}))),(a=c.getAttribute("data-poster"))&&(t.detail.firesLoad=!0,i(a,(function(){c.poster=a,t.detail.firesLoad=!1,n.fire(c,"_lazyloaded",{},!0,!0)})))}}),!1))}))},799:function(t){t.exports=function(){"use strict";var t=Object.prototype,e=t.hasOwnProperty;function n(t,n){return e.call(t,n)}var i={},r=/([a-z\d])([A-Z])/g;function o(t){return t in i||(i[t]=t.replace(r,"$1-$2").toLowerCase()),i[t]}var s={},a=/-(\w)/g;function c(t){return t in s||(s[t]=t.replace(a,l)),s[t]}function l(t,e){return e?e.toUpperCase():""}function u(t){return t.length?l(0,t.charAt(0))+t.slice(1):""}var h=String.prototype,d=h.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function f(t,e){return d.call(t,e)}var p=h.endsWith||function(t){return this.substr(-t.length)===t};function g(t,e){return p.call(t,e)}var v=Array.prototype,m=function(t,e){return!!~this.indexOf(t,e)},w=h.includes||m,b=v.includes||m;function x(t,e){return t&&(M(t)?w:b).call(t,e)}var y=v.findIndex||function(t){for(var e=arguments,n=0;n=1}function k(t){return 1===T(t)}function T(t){return!q(t)&&z(t)&&t.nodeType}function N(t){return"boolean"==typeof t}function M(t){return"string"==typeof t}function P(t){return"number"==typeof t}function O(t){return P(t)||M(t)&&!isNaN(t-parseFloat(t))}function B(t){return!(A(t)?t.length:z(t)&&Object.keys(t).length)}function D(t){return void 0===t}function L(t){return N(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function H(t){var e=Number(t);return!isNaN(e)&&e}function F(t){return parseFloat(t)||0}var j=Array.from||function(t){return v.slice.call(t)};function W(t){return R(t)[0]}function R(t){return t&&(I(t)?[t]:j(t).filter(I))||[]}function V(t){return q(t)?t:(t=W(t))?(_(t)?t:t.ownerDocument).defaultView:window}function U(t){return t?g(t,"ms")?F(t):1e3*F(t):0}function Y(t,e){return t===e||z(t)&&z(e)&&Object.keys(t).length===Object.keys(e).length&&G(t,(function(t,n){return t===e[n]}))}function X(t,e,n){return t.replace(new RegExp(e+"|"+n,"g"),(function(t){return t===e?n:e}))}var Q=Object.assign||function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];t=Object(t);for(var r=0;rr?1:r>i?-1:0}))}function Z(t,e){var n=new Set;return t.filter((function(t){var i=t[e];return!n.has(i)&&(n.add(i)||!0)}))}function tt(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(Math.max(H(t)||0,e),n)}function et(){}function nt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return[["bottom","top"],["right","left"]].every((function(e){var n=e[0],i=e[1];return Math.min.apply(Math,t.map((function(t){return t[n]})))-Math.max.apply(Math,t.map((function(t){return t[i]})))>0}))}function it(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var rt={ratio:function(t,e,n){var i,r="width"===e?"height":"width";return(i={})[r]=t[e]?Math.round(n*t[r]/t[e]):t[r],i[e]=n,i},contain:function(t,e){var n=this;return G(t=Q({},t),(function(i,r){return t=t[r]>e[r]?n.ratio(t,r,e[r]):t})),t},cover:function(t,e){var n=this;return G(t=this.contain(t,e),(function(i,r){return t=t[r]")&&(e=e.slice(1)),k(t)?Tt.call(t,e):R(t).map((function(t){return Nt(t,e)})).filter(Boolean)}function Mt(t,e){return M(e)?kt(t,e)||!!Nt(t,e):t===e||(_(e)?e.documentElement:W(e)).contains(W(t))}function Pt(t,e){for(var n=[];t=Ct(t);)e&&!kt(t,e)||n.push(t);return n}function Ot(t,e){var n=(t=W(t))?R(t.children):[];return e?qt(n,e):n}function Bt(t,e){return e?R(t).indexOf(W(e)):Ot(Ct(t)).indexOf(t)}function Dt(t,e){return W(t)||Ft(t,Ht(t,e))}function Lt(t,e){var n=R(t);return n.length&&n||jt(t,Ht(t,e))}function Ht(t,e){return void 0===e&&(e=document),Ut(t)||_(e)?e:e.ownerDocument}function Ft(t,e){return W(Wt(t,e,"querySelector"))}function jt(t,e){return R(Wt(t,e,"querySelectorAll"))}function Wt(t,e,n){if(void 0===e&&(e=document),!t||!M(t))return null;Ut(t=t.replace(Vt,"$1 *"))&&(t=function(t){return t.match(Yt).map((function(t){return t.replace(/,$/,"").trim()}))}(t).map((function(t,n){var i=e;if("!"===t[0]){var r=t.substr(1).trim().split(" ");i=Nt(Ct(e),r[0]),t=r.slice(1).join(" ").trim()}if("-"===t[0]){var o=t.substr(1).trim().split(" "),s=(i||e).previousElementSibling;i=kt(s,t.substr(1))?s:null,t=o.slice(1).join(" ")}return i?function(t){for(var e=[];t.parentNode;){if(t.id){e.unshift("#"+Qt(t.id));break}var n=t.tagName;"HTML"!==n&&(n+=":nth-child("+(Bt(t)+1)+")"),e.unshift(n),t=t.parentNode}return e.join(" > ")}(i)+" "+t:null})).filter(Boolean).join(","),e=document);try{return e[n](t)}catch(t){return null}}var Rt=/(^|[^\\],)\s*[!>+~-]/,Vt=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function Ut(t){return M(t)&&t.match(Rt)}var Yt=/.*?[^\\](?:,|$)/g;var Xt=ut&&window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,(function(t){return"\\"+t}))};function Qt(t){return M(t)?Xt.call(null,t):""}function Jt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=ee(t),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4];return i=ce(i),s.length>1&&(s=ie(s)),a&&a.self&&(s=re(s)),o&&(s=ne(o,s)),a=oe(a),r.split(" ").forEach((function(t){return i.forEach((function(e){return e.addEventListener(t,s,a)}))})),function(){return Gt(i,r,s,a)}}function Gt(t,e,n,i){void 0===i&&(i=!1),i=oe(i),t=ce(t),e.split(" ").forEach((function(e){return t.forEach((function(t){return t.removeEventListener(e,n,i)}))}))}function Kt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=ee(t),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],c=n[5],l=Jt(i,r,o,(function(t){var e=!c||c(t);e&&(l(),s(t,e))}),a);return l}function Zt(t,e,n){return ce(t).reduce((function(t,i){return t&&i.dispatchEvent(te(e,!0,!0,n))}),!0)}function te(t,e,n,i){if(void 0===e&&(e=!0),void 0===n&&(n=!1),M(t)){var r=document.createEvent("CustomEvent");r.initCustomEvent(t,e,n,i),t=r}return t}function ee(t){return E(t[2])&&t.splice(2,0,!1),t}function ne(t,e){var n=this;return function(i){var r=">"===t[0]?jt(t,i.currentTarget).reverse().filter((function(t){return Mt(i.target,t)}))[0]:Nt(i.target,t);r&&(i.current=r,e.call(n,i))}}function ie(t){return function(e){return A(e.detail)?t.apply(void 0,[e].concat(e.detail)):t(e)}}function re(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function oe(t){return t&&ht&&!N(t)?!!t.capture:t}function se(t){return t&&"addEventListener"in t}function ae(t){return se(t)?t:W(t)}function ce(t){return A(t)?t.map(ae).filter(Boolean):M(t)?jt(t):se(t)?[t]:R(t)}function le(t){return"touch"===t.pointerType||!!t.touches}function ue(t){var e=t.touches,n=t.changedTouches,i=e&&e[0]||n&&n[0]||t;return{x:i.clientX,y:i.clientY}}var he=ut&&window.Promise||pe,de=function(){var t=this;this.promise=new he((function(e,n){t.reject=n,t.resolve=e}))},fe=ut&&window.setImmediate||setTimeout;function pe(t){this.state=2,this.value=void 0,this.deferred=[];var e=this;try{t((function(t){e.resolve(t)}),(function(t){e.reject(t)}))}catch(t){e.reject(t)}}pe.reject=function(t){return new pe((function(e,n){n(t)}))},pe.resolve=function(t){return new pe((function(e,n){e(t)}))},pe.all=function(t){return new pe((function(e,n){var i=[],r=0;function o(n){return function(o){i[n]=o,(r+=1)===t.length&&e(i)}}0===t.length&&e(i);for(var s=0;s=200&&o.status<300||304===o.status?("json"===r.responseType&&M(o.response)&&(o=Q(function(t){var e={};for(var n in t)e[n]=t[n];return e}(o),{response:JSON.parse(o.response)})),n(o)):i(Q(Error(o.statusText),{xhr:o,status:o.status}))})),Jt(o,"error",(function(){return i(Q(Error("Network Error"),{xhr:o}))})),Jt(o,"timeout",(function(){return i(Q(Error("Network Timeout"),{xhr:o}))})),o.send(r.data)}))}function me(t,e,n){return new he((function(i,r){var o=new Image;o.onerror=function(t){return r(t)},o.onload=function(){return i(o)},n&&(o.sizes=n),e&&(o.srcset=e),o.src=t}))}function we(t){return(t=Te(t)).innerHTML="",t}function be(t,e){return t=Te(t),D(e)?t.innerHTML:xe(t.hasChildNodes()?we(t):t,e)}function xe(t,e){return t=Te(t),Ae(e,(function(e){return t.appendChild(e)}))}function ye(t,e){return t=Te(t),Ae(e,(function(e){return t.parentNode.insertBefore(e,t)}))}function $e(t,e){return t=Te(t),Ae(e,(function(e){return t.nextSibling?ye(t.nextSibling,e):xe(t.parentNode,e)}))}function Ae(t,e){return(t=M(t)?Ie(t):t)?"length"in t?R(t).map(e):e(t):null}function Ee(t){R(t).forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)}))}function ze(t,e){for(e=W(ye(t,e));e.firstChild;)e=e.firstChild;return xe(e,t),e}function Se(t,e){return R(R(t).map((function(t){return t.hasChildNodes?ze(R(t.childNodes),e):xe(t,e)})))}function Ce(t){R(t).map(Ct).filter((function(t,e,n){return n.indexOf(t)===e})).forEach((function(t){ye(t,t.childNodes),Ee(t)}))}ge.resolve=function(t){var e=this;if(2===e.state){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&z(t)&&E(i))return void i.call(t,(function(t){n||e.resolve(t),n=!0}),(function(t){n||e.reject(t),n=!0}))}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},ge.reject=function(t){var e=this;if(2===e.state){if(t===e)throw new TypeError("Promise settled with itself.");e.state=1,e.value=t,e.notify()}},ge.notify=function(){var t=this;fe((function(){if(2!==t.state)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],i=e[1],r=e[2],o=e[3];try{0===t.state?E(n)?r(n.call(void 0,t.value)):r(t.value):1===t.state&&(E(i)?r(i.call(void 0,t.value)):o(t.value))}catch(t){o(t)}}}))},ge.then=function(t,e){var n=this;return new pe((function(i,r){n.deferred.push([t,e,i,r]),n.notify()}))},ge.catch=function(t){return this.then(void 0,t)};var qe=/^\s*<(\w+|!)[^>]*>/,_e=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ie(t){var e=_e.exec(t);if(e)return document.createElement(e[1]);var n=document.createElement("div");return qe.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,n.childNodes.length>1?R(n.childNodes):n.firstChild}function ke(t,e){if(k(t))for(e(t),t=t.firstElementChild;t;){var n=t.nextElementSibling;ke(t,e),t=n}}function Te(t,e){return M(t)?Me(t)?W(Ie(t)):Ft(t,e):W(t)}function Ne(t,e){return M(t)?Me(t)?R(Ie(t)):jt(t,e):R(t)}function Me(t){return"<"===t[0]||t.match(/^\s*0;)e[n]=arguments[n+1];Fe(t,e,"add")}function Oe(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];Fe(t,e,"remove")}function Be(t,e){st(t,"class",(function(t){return(t||"").replace(new RegExp("\\b"+e+"\\b","g"),"")}))}function De(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];e[0]&&Oe(t,e[0]),e[1]&&Pe(t,e[1])}function Le(t,e){return e&&R(t).some((function(t){return t.classList.contains(e.split(" ")[0])}))}function He(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(e.length){var i=M(J(e=je(e)))?[]:e.pop();e=e.filter(Boolean),R(t).forEach((function(t){for(var n=t.classList,r=0;r5&&e.positions.shift())}),50)},cancel:function(){this.unbind&&this.unbind(),this.interval&&clearInterval(this.interval)},movesTo:function(t){if(this.positions.length<2)return!1;var e=t.getBoundingClientRect(),n=e.left,i=e.right,r=e.top,o=e.bottom,s=this.positions[0],a=J(this.positions),c=[s,a];return!it(a,e)&&[[{x:n,y:r},{x:i,y:o}],[{x:n,y:o},{x:i,y:r}]].some((function(t){var n=function(t,e){var n=t[0],i=n.x,r=n.y,o=t[1],s=o.x,a=o.y,c=e[0],l=c.x,u=c.y,h=e[1],d=h.x,f=h.y,p=(f-u)*(s-i)-(d-l)*(a-r);if(0===p)return!1;var g=((d-l)*(r-u)-(f-u)*(i-l))/p;return!(g<0)&&{x:i+g*(s-i),y:r+g*(a-r)}}(c,t);return n&&it(n,e)}))}};var En={};function zn(t,e,n){return En.computed(E(t)?t.call(n,n):t,E(e)?e.call(n,n):e)}function Sn(t,e){return t=t&&!A(t)?[t]:t,e?t?t.concat(e):A(e)?e:[e]:t}function Cn(t,e){return D(e)?t:e}function qn(t,e,i){var r={};if(E(e)&&(e=e.options),e.extends&&(t=qn(t,e.extends,i)),e.mixins)for(var o=0,s=e.mixins.length;oh?(r=d-h,d=h):r=0,function(){return o(s,d-c).then(e)}}),(function(){return he.resolve()}))()}function o(t,e){return new he((function(n){var i,r=t.scrollTop,o=(i=Math.abs(e),40*Math.pow(i,.375)),s=Date.now();!function i(){var a,c=(a=tt((Date.now()-s)/o),.5*(1-Math.cos(Math.PI*a)));Fn(t,r+e*c),1!==c?requestAnimationFrame(i):n()}()}))}}function Wn(t,e){if(void 0===e&&(e=0),!Et(t))return 0;var n=Rn(t,/auto|scroll/)[0],i=n.scrollHeight,r=n.scrollTop,o=Vn(n),s=hn(o),a=un(t)[0]-r-un(n)[0],c=Math.min(s,a+r);return tt(-1*(a-c)/Math.min(hn(t)+e+c,i-(a+r),i-s))}function Rn(t,e,n){void 0===e&&(e=/auto|scroll|hidden/),void 0===n&&(n=!1);var i=Un(t),r=Pt(t).reverse(),o=$(r=r.slice(r.indexOf(i)+1),(function(t){return"fixed"===Ve(t,"position")}));return~o&&(r=r.slice(o)),[i].concat(r.filter((function(t){return e.test(Ve(t,"overflow"))&&(!n||t.scrollHeight>hn(t))}))).reverse()}function Vn(t){return t===Un(t)?window:t}function Un(t){var e=V(t).document;return e.scrollingElement||e.documentElement}var Yn={width:["x","left","right"],height:["y","top","bottom"]};function Xn(t,e,n,i,r,o,s,a){n=Jn(n),i=Jn(i);var c={element:n,target:i};if(!t||!e)return c;var l=cn(t),u=cn(e),h=u;if(Qn(h,n,l,-1),Qn(h,i,u,1),r=Gn(r,l.width,l.height),o=Gn(o,u.width,u.height),r.x+=o.x,r.y+=o.y,h.left+=r.x,h.top+=r.y,s){var d=Rn(e).map(Vn);a&&x(d,a)&&d.unshift(a),d=d.map((function(t){return cn(t)})),G(Yn,(function(t,e){var o=t[0],a=t[1],f=t[2];(!0===s||x(s,o))&&d.some((function(t){var s=n[o]===a?-l[e]:n[o]===f?l[e]:0,d=i[o]===a?u[e]:i[o]===f?-u[e]:0;if(h[a]t[f]){var p=l[e]/2,g="center"===i[o]?-u[e]/2:0;return"center"===n[o]&&(v(p,g)||v(-p,-g))||v(s,d)}function v(n,i){var s=F((h[a]+n+i-2*r[o]).toFixed(4));if(s>=t[a]&&s+l[e]<=t[f])return h[a]=s,["element","target"].forEach((function(t){c[t][o]=n?c[t][o]===Yn[e][1]?Yn[e][2]:Yn[e][1]:c[t][o]})),!0}}))}))}return cn(t,h),c}function Qn(t,e,n,i){G(Yn,(function(r,o){var s=r[0],a=r[1],c=r[2];e[s]===c?t[a]+=n[o]*i:"center"===e[s]&&(t[a]+=n[o]*i/2)}))}function Jn(t){var e=/left|center|right/,n=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat("center"):n.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:n.test(t[1])?t[1]:"center"}}function Gn(t,e,n){var i=(t||"").split(" "),r=i[0],o=i[1];return{x:r?F(r)*(g(r,"%")?e/100:1):0,y:o?F(o)*(g(o,"%")?n/100:1):0}}var Kn=Object.freeze({__proto__:null,ajax:ve,getImage:me,transition:Ze,Transition:tn,animate:nn,Animation:on,attr:st,hasAttr:at,removeAttr:ct,data:lt,addClass:Pe,removeClass:Oe,removeClasses:Be,replaceClass:De,hasClass:Le,toggleClass:He,dimensions:an,offset:cn,position:ln,offsetPosition:un,height:hn,width:dn,boxModelAdjust:pn,flipPosition:gn,toPx:vn,ready:function(t){if("loading"===document.readyState)var e=Jt(document,"DOMContentLoaded",(function(){e(),t()}));else t()},empty:we,html:be,prepend:function(t,e){return(t=Te(t)).hasChildNodes()?Ae(e,(function(e){return t.insertBefore(e,t.firstChild)})):xe(t,e)},append:xe,before:ye,after:$e,remove:Ee,wrapAll:ze,wrapInner:Se,unwrap:Ce,fragment:Ie,apply:ke,$:Te,$$:Ne,inBrowser:ut,isIE:ht,isRtl:dt,hasTouch:gt,pointerDown:vt,pointerMove:mt,pointerUp:wt,pointerEnter:bt,pointerLeave:xt,pointerCancel:yt,on:Jt,off:Gt,once:Kt,trigger:Zt,createEvent:te,toEventTargets:ce,isTouch:le,getEventPos:ue,fastdom:wn,isVoidElement:At,isVisible:Et,selInput:zt,isInput:St,parent:Ct,filter:qt,matches:kt,closest:Nt,within:Mt,parents:Pt,children:Ot,index:Bt,hasOwn:n,hyphenate:o,camelize:c,ucfirst:u,startsWith:f,endsWith:g,includes:x,findIndex:$,isArray:A,isFunction:E,isObject:z,isPlainObject:C,isWindow:q,isDocument:_,isNode:I,isElement:k,isBoolean:N,isString:M,isNumber:P,isNumeric:O,isEmpty:B,isUndefined:D,toBoolean:L,toNumber:H,toFloat:F,toArray:j,toNode:W,toNodes:R,toWindow:V,toMs:U,isEqual:Y,swap:X,assign:Q,last:J,each:G,sortBy:K,uniqueBy:Z,clamp:tt,noop:et,intersectRect:nt,pointInRect:it,Dimensions:rt,getIndex:ot,MouseTracker:An,mergeOptions:qn,parseOptions:_n,play:In,pause:kn,mute:Tn,positionAt:Xn,Promise:he,Deferred:de,query:Dt,queryAll:Lt,find:Ft,findAll:jt,escape:Qt,css:Ve,getStyles:Ue,getStyle:Ye,getCssVar:Qe,propName:Ge,isInView:Hn,scrollTop:Fn,scrollIntoView:jn,scrolledOver:Wn,scrollParents:Rn,getViewport:Vn});function Zn(t){return!(!f(t,"qx-")&&!f(t,"data-qx-"))&&c(t.replace("data-qx-","").replace("qx-",""))}var ti=function(t){this._init(t)};ti.util=Kn,ti.data="__uikit__",ti.prefix="qx-",ti.options={},ti.version="3.6.5",function(t){var e,n=t.data;function i(t,e){if(t)for(var n in t)t[n]._connected&&t[n]._callUpdate(e)}t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(e,n){(n=(M(n)?t.component(n):n)||this).options=qn(n.options,e)},t.extend=function(t){t=t||{};var e=this,n=function(t){this._init(t)};return(n.prototype=Object.create(e.prototype)).constructor=n,n.options=qn(e.options,t),n.super=e,n.extend=e.extend,n},t.update=function(t,e){Pt(t=t?W(t):document.body).reverse().forEach((function(t){return i(t[n],e)})),ke(t,(function(t){return i(t[n],e)}))},Object.defineProperty(t,"container",{get:function(){return e||document.body},set:function(t){e=Te(t)}})}(ti),function(t){t.prototype._callHook=function(t){var e=this,n=this.$options[t];n&&n.forEach((function(t){return t.call(e)}))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._frames={reads:{},writes:{}},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},t.prototype._callUpdate=function(t){var e=this;void 0===t&&(t="update");var n=t.type||t;x(["update","resize"],n)&&this._callWatches();var i=this.$options.update,r=this._frames,o=r.reads,s=r.writes;i&&i.forEach((function(t,i){var r=t.read,a=t.write,c=t.events;("update"===n||x(c,n))&&(r&&!x(wn.reads,o[i])&&(o[i]=wn.read((function(){var t=e._connected&&r.call(e,e._data,n);!1===t&&a?wn.clear(s[i]):C(t)&&Q(e._data,t)}))),a&&!x(wn.writes,s[i])&&(s[i]=wn.write((function(){return e._connected&&a.call(e,e._data,n)}))))}))},t.prototype._callWatches=function(){var t=this,e=this._frames;if(!e._watch){var i=!n(e,"_watch");e._watch=wn.read((function(){if(t._connected){var r=t,o=r.$options.computed,s=r._computeds;for(var a in o){var c=n(s,a),l=s[a];delete s[a];var u=o[a],h=u.watch,d=u.immediate;h&&(i&&d||c&&!Y(l,t[a]))&&h.call(t,t[a],l)}e._watch=null}}))}}}(ti),function(t){var e=0;function i(t,e){var n={},i=t.args;void 0===i&&(i=[]);var r=t.props;void 0===r&&(r={});var s=t.el;if(!r)return n;for(var a in r){var u=o(a),h=lt(s,u);D(h)||(h=r[a]===Boolean&&""===h||l(r[a],h),("target"!==u||h&&!f(h,"_"))&&(n[a]=h))}var d=_n(lt(s,e),i);for(var p in d){var g=c(p);void 0!==r[g]&&(n[g]=l(r[g],d[p]))}return n}function r(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get:function(){var r=t._computeds,o=t.$props,s=t.$el;return n(r,e)||(r[e]=(i.get||i).call(t,o,s)),r[e]},set:function(n){var r=t._computeds;r[e]=i.set?i.set.call(t,n):n,D(r[e])&&delete r[e]}})}function s(t,e,n){C(e)||(e={name:n,handler:e});var i=e.name,r=e.el,o=e.handler,a=e.capture,c=e.passive,l=e.delegate,u=e.filter,h=e.self;r=E(r)?r.call(t):r||t.$el,A(r)?r.forEach((function(i){return s(t,Q({},e,{el:i}),n)})):!r||u&&!u.call(t)||t._events.push(Jt(r,i,l?M(l)?l:l.call(t):null,M(o)?t[o]:o.bind(t),{passive:c,capture:a,self:h}))}function a(t,e){return t.every((function(t){return!t||!n(t,e)}))}function l(t,e){return t===Boolean?L(e):t===Number?H(e):"list"===t?function(t){return A(t)?t:M(t)?t.split(/,(?![^(]*\))/).map((function(t){return O(t)?H(t):L(t.trim())})):[t]}(e):t?t(e):e}function u(t){var e=t.$name,n=t.$options,r=t.$props,s=n.attrs,a=n.props,l=n.el;if(a&&!1!==s){var u=A(s)?s:Object.keys(a),h=u.map((function(t){return o(t)})).concat(e),d=new MutationObserver((function(o){var s=i(n,e);o.some((function(t){var n=t.attributeName,i=n.replace("data-","");return(i===e?u:[c(i),c(n)]).some((function(t){return!D(s[t])&&s[t]!==r[t]}))}))&&t.$reset()}));return d.observe(l,{attributes:!0,attributeFilter:h.concat(h.map((function(t){return"data-"+t})))}),d}}t.prototype._init=function(t){(t=t||{}).data=function(t,e){var n=t.data;t.el;var i=e.args,r=e.props;if(void 0===r&&(r={}),n=A(n)?B(i)?void 0:n.slice(0,i.length).reduce((function(t,e,n){return C(e)?Q(t,e):t[i[n]]=e,t}),{}):n,n)for(var o in n)D(n[o])?delete n[o]:n[o]=r[o]?l(r[o],n[o]):n[o];return n}(t,this.constructor.options),this.$options=qn(this.constructor.options,t,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},t.prototype._initData=function(){var t=this.$options.data;for(var e in void 0===t&&(t={}),t)this.$props[e]=this[e]=t[e]},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=t[e].bind(this)},t.prototype._initComputeds=function(){var t=this.$options.computed;if(this._computeds={},t)for(var e in t)r(this,e,t[e])},t.prototype._initProps=function(t){var e;for(e in t=t||i(this.$options,this.$name))D(t[e])||(this.$props[e]=t[e]);var n=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&a(n,e)&&(this[e]=this.$props[e])},t.prototype._initEvents=function(){var t=this;this._events=[];var e=this.$options.events;e&&e.forEach((function(e){if(n(e,"handler"))s(t,e);else for(var i in e)s(t,e[i],i)}))},t.prototype._unbindEvents=function(){this._events.forEach((function(t){return t()})),delete this._events},t.prototype._initObservers=function(){var t,e,n;this._observers=[(t=this,e=t.$options.el,n=new MutationObserver((function(){return t.$emit()})),n.observe(e,{childList:!0,subtree:!0}),n),u(this)]},t.prototype._disconnectObservers=function(){this._observers.forEach((function(t){return t&&t.disconnect()}))}}(ti),function(t){var e=t.data,n={};t.component=function(e,i){var r=o(e);if(e=c(r),!i)return C(n[e])&&(n[e]=t.extend(n[e])),n[e];t[e]=function(n,i){for(var r=arguments.length,o=Array(r);r--;)o[r]=arguments[r];var s=t.component(e);return s.options.functional?new s({data:C(n)?n:[].concat(o)}):n?Ne(n).map(a)[0]:a(n);function a(n){var r=t.getComponent(n,e);if(r){if(!i)return r;r.$destroy()}return new s({el:n,data:i})}};var s=C(i)?Q({},i):i.options;return s.name=e,s.install&&s.install(t,s,e),t._initialized&&!s.functional&&wn.read((function(){return t[e]("[qx-"+r+"],[data-qx-"+r+"]")})),n[e]=C(i)?s:i},t.getComponents=function(t){return t&&t[e]||{}},t.getComponent=function(e,n){return t.getComponents(e)[n]},t.connect=function(i){if(i[e])for(var r in i[e])i[e][r]._callConnected();for(var o=0;o *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"qx-open",toggle:"> .qx-accordion-title",content:"> .qx-accordion-content",transition:"ease",offset:0},computed:{items:{get:function(t,e){return Ne(t.targets,e)},watch:function(t,e){var n=this;if(t.forEach((function(t){return oi(Te(n.content,t),!Le(t,n.clsOpen))})),!e&&!Le(t,this.clsOpen)){var i=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)}},immediate:!0},toggles:function(t){var e=t.toggle;return this.items.map((function(t){return Te(e,t)}))}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Bt(this.toggles,t.current))}}],methods:{toggle:function(t,e){var n=this,i=[this.items[ot(t,this.items)]],r=qt(this.items,"."+this.clsOpen);this.multiple||x(r,i[0])||(i=i.concat(r)),!this.collapsible&&r.length<2&&!qt(i,":not(."+this.clsOpen+")").length||i.forEach((function(t){return n.toggleElement(t,!Le(t,n.clsOpen),(function(t,i){He(t,n.clsOpen,i),st(Te(n.$props.toggle,t),"aria-expanded",i);var r=Te((t._wrapper?"> * ":"")+n.content,t);if(!1!==e&&n.hasTransition)return t._wrapper||(t._wrapper=ze(r,"")),oi(r,!1),ii(n)(t._wrapper,i).then((function(){if(oi(r,!i),delete t._wrapper,Ce(r),i){var e=Te(n.$props.toggle,t);Hn(e)||jn(e,{offset:n.offset})}}));oi(r,!i)}))}))}}};function oi(t,e){t&&(t.hidden=e)}var si={mixins:[ei,ni],args:"animation",props:{close:String},data:{animation:[!0],selClose:".qx-alert-close",duration:150,hideProps:Q({opacity:0},ni.data.hideProps)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.close()}}],methods:{close:function(){var t=this;this.toggleElement(this.$el).then((function(){return t.$destroy(!0)}))}}},ai={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!at(this.$el,"preload")&&(this.$el.preload="none"),this.automute&&Tn(this.$el)},update:{read:function(){return{visible:Et(this.$el)&&"hidden"!==Ve(this.$el,"visibility"),inView:this.inView&&Hn(this.$el)}},write:function(t){var e=t.visible,n=t.inView;!e||this.inView&&!n?kn(this.$el):(!0===this.autoplay||this.inView&&n)&&In(this.$el)},events:["resize","scroll"]}},ci={mixins:[ei,ai],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el,e=function(t){for(;t=Ct(t);)if("static"!==Ve(t,"position"))return t}(t)||Ct(t),n=e.offsetHeight,i=e.offsetWidth,r=rt.cover({width:this.width||t.naturalWidth||t.videoWidth||t.clientWidth,height:this.height||t.naturalHeight||t.videoHeight||t.clientHeight},{width:i+(i%2?1:0),height:n+(n%2?1:0)});return!(!r.width||!r.height)&&r},write:function(t){var e=t.height,n=t.width;Ve(this.$el,{height:e,width:n})},events:["resize"]}};var li,ui={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(dt?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){var e=t.pos;return(e+(x(e,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,n){Be(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?");var i=this.offset,r=this.getAxis();if(!O(i)){var o=Te(i);i=o?cn(o)["x"===r?"left":"top"]-cn(e)["x"===r?"right":"bottom"]:0}var s=Xn(t,e,"x"===r?gn(this.dir)+" "+this.align:this.align+" "+gn(this.dir),"x"===r?this.dir+" "+this.align:this.align+" "+this.dir,"x"===r?""+("left"===this.dir?-i:i):" "+("top"===this.dir?-i:i),null,this.flip,n).target,a=s.x,c=s.y;this.dir="x"===r?a:c,this.align="x"===r?c:a,He(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},hi={mixins:[ui,ni],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:ut&&window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,animation:["qx-animation-fade"],cls:"qx-open"},computed:{boundary:function(t,e){return Dt(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"qx-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new An},connected:function(){Pe(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",Dt(t,this.$el),{target:this.$el,mode:this.mode})},disconnected:function(){this.isActive()&&(li=null)},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.defaultPrevented,n=t.current.hash;e||!n||Mt(n,this.$el)||this.hide(!1)}},{name:"beforescroll",handler:function(){this.hide(!1)}},{name:"toggle",self:!0,handler:function(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e,!1)}},{name:"toggleshow",self:!0,handler:function(t,e){t.preventDefault(),this.show(e)}},{name:"togglehide",self:!0,handler:function(t){t.preventDefault(),this.hide()}},{name:bt,filter:function(){return x(this.mode,"hover")},handler:function(t){le(t)||this.clearTimers()}},{name:xt,filter:function(){return x(this.mode,"hover")},handler:function(t){!le(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler:function(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler:function(){var t=this;li=this,this.tracker.init(),Kt(this.$el,"hide",Jt(document,vt,(function(e){var n=e.target;return!Mt(n,t.$el)&&Kt(document,wt+" "+yt+" scroll",(function(e){var i=e.defaultPrevented,r=e.type,o=e.target;i||r!==wt||n!==o||t.toggle&&Mt(n,t.toggle.$el)||t.hide(!1)}),!0)})),{self:!0}),Kt(this.$el,"hide",Jt(document,"keydown",(function(e){27===e.keyCode&&t.hide(!1)})),{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(li=this.isActive()?null:li,this.tracker.cancel()):li=null===li&&Mt(e,this.$el)&&this.isToggled()?this:li}}],update:{write:function(){this.isToggled()&&!Le(this.$el,this.clsEnter)&&this.position()},events:["resize"]},methods:{show:function(t,e){var n=this;if(void 0===t&&(t=this.toggle),void 0===e&&(e=!0),this.isToggled()&&t&&this.toggle&&t.$el!==this.toggle.$el&&this.hide(!1),this.toggle=t,this.clearTimers(),!this.isActive()){if(li){if(e&&li.isDelaying)return void(this.showTimer=setTimeout(this.show,10));for(var i;li&&i!==li&&!Mt(this.$el,li.$el);)i=li,li.hide(!1)}this.showTimer=setTimeout((function(){return!n.isToggled()&&n.toggleElement(n.$el,!0)}),e&&this.delayShow||0)}},hide:function(t){var e=this;void 0===t&&(t=!0);var n,i,r=function(){return e.toggleElement(e.$el,!1,!1)};this.clearTimers(),this.isDelaying=(n=this.$el,i=[],ke(n,(function(t){return"static"!==Ve(t,"position")&&i.push(t)})),i).some((function(t){return e.tracker.movesTo(t)})),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(r,this.delayHide):r()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return li===this},position:function(){Oe(this.$el,this.clsDrop+"-stack"),He(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=cn(this.boundary),e=this.boundaryAlign?t:cn(this.toggle.$el);if("justify"===this.align){var n="y"===this.getAxis()?"width":"height";Ve(this.$el,n,e[n])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&Pe(this.$el,this.clsDrop+"-stack");this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary)}}};var di={mixins:[ei],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Te(zt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){var n=t.target;return n&&(!0===n&&Ct(this.input)===e&&this.input.nextElementSibling||Dt(n,e))}},update:function(){var t=this.target,e=this.input;if(t){var n,i=St(t)?"value":"textContent",r=t[i],o=e.files&&e.files[0]?e.files[0].name:kt(e,"select")&&(n=Ne("option",e).filter((function(t){return t.selected}))[0])?n.textContent:e.value;r!==o&&(t[i]=o)}},events:[{name:"change",handler:function(){this.$update()}},{name:"reset",el:function(){return Nt(this.$el,"form")},handler:function(){this.$update()}}]},fi={update:{read:function(t){var e=Hn(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=""+this.$el.src},events:["scroll","resize"]}},pi={props:{margin:String,firstColumn:Boolean},data:{margin:"qx-margin-small-top",firstColumn:"qx-first-column"},update:{read:function(){var t=gi(this.$el.children);return{rows:t,columns:vi(t)}},write:function(t){var e=this,n=t.columns;t.rows.forEach((function(t,i){return t.forEach((function(t){He(t,e.margin,0!==i),He(t,e.firstColumn,x(n[0],t))}))}))},events:["resize"]}};function gi(t){return mi(t,"top","bottom")}function vi(t){var e=[[]];return t.forEach((function(t){return mi(t,"left","right").forEach((function(t,n){return e[n]=e[n]?e[n].concat(t):t}))})),dt?e.reverse():e}function mi(t,e,n){for(var i=[[]],r=0;r=0;a--){var c=i[a];if(!c[0]){c.push(o);break}var l=void 0;if(c[0].offsetParent===o.offsetParent?l=wi(c[0]):(s=wi(o,!0),l=wi(c[0],!0)),s[e]>=l[n]-1&&s[e]!==l[e]){i.push([o]);break}if(s[n]-1>l[e]||s[e]===l[e]){c.push(o);break}if(0===a){i.unshift([o]);break}}}return i}function wi(t,e){var n;void 0===e&&(e=!1);var i=t.offsetTop,r=t.offsetLeft,o=t.offsetHeight,s=t.offsetWidth;return e&&(i=(n=un(t))[0],r=n[1]),{top:i,left:r,bottom:i+o,right:r+s}}var bi={extends:pi,mixins:[ei],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"qx-grid-margin",clsStack:"qx-grid-stack",masonry:!1,parallax:0},connected:function(){this.masonry&&Pe(this.$el,"qx-flex-top qx-flex-wrap-top")},update:[{write:function(t){var e=t.columns;He(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read:function(t){var e=t.columns,n=t.rows,i=Ot(this.$el);if(!i.length||!this.masonry&&!this.parallax||xi(this.$el))return!1;var r=!1,o=function(t){return t.map((function(t){return t.reduce((function(t,e){return t+e.offsetHeight}),0)}))}(e),s=function(t,e){var n=t.filter((function(t){return Le(t,e)}))[0];return F(n?Ve(n,"marginTop"):Ve(t[0],"paddingLeft"))}(i,this.margin)*(n.length-1),a=Math.max.apply(Math,o)+s;this.masonry&&(r=function(t,e){var n=t.map((function(t){return Math.max.apply(Math,t.map((function(t){return t.offsetHeight})))}));return e.map((function(t){var e=0;return t.map((function(i,r){return e+=r?n[r-1]-t[r-1].offsetHeight:0}))}))}(n,e=e.map((function(t){return K(t,"offsetTop")}))));var c=Math.abs(this.parallax);return c&&(c=o.reduce((function(t,e,n){return Math.max(t,e+s+(n%2?c:c/8)-a)}),0)),{padding:c,columns:e,translates:r,height:r?a:""}},write:function(t){var e=t.height,n=t.padding;Ve(this.$el,"paddingBottom",n||""),!1!==e&&Ve(this.$el,"height",e)},events:["resize"]},{read:function(t){var e=t.height;return{scrolled:!(!this.parallax||xi(this.$el))&&Wn(this.$el,e?e-hn(this.$el):0)*Math.abs(this.parallax)}},write:function(t){var e=t.columns,n=t.scrolled,i=t.translates;(!1!==n||i)&&e.forEach((function(t,e){return t.forEach((function(t,r){return Ve(t,"transform",n||i?"translateY("+((i&&-i[e][r])+(n?e%2?n:n/8:0))+"px)":"")}))}))},events:["scroll","resize"]}]};function xi(t){return Ot(t).some((function(t){return"absolute"===Ve(t,"position")}))}var yi=ht?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){var n=t.selMinHeight;return n?Ne(n,e):[e]}},update:[{read:function(){Ve(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var t=this;this.elements.forEach((function(e){var n=F(Ve(e,"minHeight"));n&&(t.forceHeight||Math.round(n+pn(e,"height","content-box"))>=e.offsetHeight)&&Ve(e,"height",n)}))},order:5,events:["resize"]}]}:{},$i={mixins:[yi],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return Ne(t.target,e)}},update:{read:function(){return{rows:(this.row?gi(this.elements):[this.elements]).map(Ai)}},write:function(t){t.rows.forEach((function(t){var e=t.heights;return t.elements.forEach((function(t,n){return Ve(t,"minHeight",e[n])}))}))},events:["resize"]}};function Ai(t){if(t.length<2)return{heights:[""],elements:t};var e=t.map(zi),n=Math.max.apply(Math,e),i=t.some((function(t){return t.style.minHeight})),r=t.some((function(t,i){return!t.style.minHeight&&e[i]0&&r";return Ii[t][e]}(t,e)||t),(t=Te(t.substr(t.indexOf("/g,Ii={};function ki(t){return Math.ceil(Math.max.apply(Math,[0].concat(Ne("[stroke]",t).map((function(t){try{return t.getTotalLength()}catch(t){return 0}})))))}function Ti(t,e){return st(t,"data-svg")===st(e,"data-svg")}var Ni={spinner:'',totop:'',marker:'',"close-icon":'',"close-large":'',"navbar-toggle-icon":'',"overlay-icon":'',"pagination-next":'',"pagination-previous":'',"search-icon":'',"search-large":'',"search-navbar":'',"slidenav-next":'',"slidenav-next-large":'',"slidenav-previous":'',"slidenav-previous-large":''},Mi={install:function(t){t.icon.add=function(e,n){var i,r=M(e)?((i={})[e]=n,i):e;G(r,(function(t,e){Ni[e]=t,delete Hi[e]})),t._initialized&&ke(document.body,(function(e){return G(t.getComponents(e),(function(t){t.$options.isIcon&&t.icon in r&&t.$reset()}))}))}},extends:Ci,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect:function(){Pe(this.$el,"qx-icon")},methods:{getSvg:function(){var t=function(t){return Ni[t]?(Hi[t]||(Hi[t]=Te((Ni[function(t){return dt?X(X(t,"left","right"),"previous","next"):t}(t)]||Ni[t]).trim())),Hi[t].cloneNode(!0)):null}(this.icon);return t?he.resolve(t):he.reject("Icon not found.")}}},Pi={args:!1,extends:Mi,data:function(t){return{icon:o(t.constructor.options.name)}},beforeConnect:function(){Pe(this.$el,this.$name)}},Oi={extends:Pi,beforeConnect:function(){Pe(this.$el,"qx-slidenav")},computed:{icon:function(t,e){var n=t.icon;return Le(e,"qx-slidenav-large")?n+"-large":n}}},Bi={extends:Pi,computed:{icon:function(t,e){var n=t.icon;return Le(e,"qx-search-icon")&&Pt(e,".qx-search-large").length?"search-large":Pt(e,".qx-search-navbar").length?"search-navbar":n}}},Di={extends:Pi,computed:{icon:function(){return"close-"+(Le(this.$el,"qx-close-large")?"large":"icon")}}},Li={extends:Pi,connected:function(){var t=this;this.svg.then((function(e){return 1!==t.ratio&&Ve(Te("circle",e),"strokeWidth",1/t.ratio)}),et)}},Hi={};var Fi={args:"dataSrc",props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:"50vw",target:!1},computed:{cacheKey:function(t){var e=t.dataSrc;return this.$name+"."+e},width:function(t){var e=t.width,n=t.dataWidth;return e||n},height:function(t){var e=t.height,n=t.dataHeight;return e||n},sizes:function(t){var e=t.sizes,n=t.dataSizes;return e||n},isImg:function(t,e){return Xi(e)},target:{get:function(t){var e=t.target;return[this.$el].concat(Lt(e,this.$el))},watch:function(){this.observe()}},offsetTop:function(t){return vn(t.offsetTop,"height")},offsetLeft:function(t){return vn(t.offsetLeft,"width")}},connected:function(){window.IntersectionObserver?(Ji[this.cacheKey]?ji(this.$el,Ji[this.cacheKey],this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&ji(this.$el,function(t,e,n){var i;return n&&(t=(i=rt.ratio({width:t,height:e},"width",vn(Ri(n)))).width,e=i.height),'data:image/svg+xml;utf8,'}(this.width,this.height,this.sizes)),this.observer=new IntersectionObserver(this.load,{rootMargin:this.offsetTop+"px "+this.offsetLeft+"px"}),requestAnimationFrame(this.observe)):ji(this.$el,this.dataSrc,this.dataSrcset,this.sizes)},disconnected:function(){this.observer&&this.observer.disconnect()},update:{read:function(t){var e=this,n=t.image;return!!this.observer&&(n||"complete"!==document.readyState||this.load(this.observer.takeRecords()),!this.isImg&&void(n&&n.then((function(t){return t&&""!==t.currentSrc&&ji(e.$el,Qi(t))}))))},write:function(t){if(this.dataSrcset&&1!==window.devicePixelRatio){var e=Ve(this.$el,"backgroundSize");(e.match(/^(auto\s?)+$/)||F(e)===t.bgSize)&&(t.bgSize=(n=this.dataSrcset,i=this.sizes,r=vn(Ri(i)),(o=(n.match(Yi)||[]).map(F).sort((function(t,e){return t-e}))).filter((function(t){return t>=r}))[0]||o.pop()||""),Ve(this.$el,"backgroundSize",t.bgSize+"px"))}var n,i,r,o},events:["resize"]},methods:{load:function(t){var e=this;t.some((function(t){return D(t.isIntersecting)||t.isIntersecting}))&&(this._data.image=me(this.dataSrc,this.dataSrcset,this.sizes).then((function(t){return ji(e.$el,Qi(t),t.srcset,t.sizes),Ji[e.cacheKey]=Qi(t),t}),(function(t){return Zt(e.$el,new t.constructor(t.type,t))})),this.observer.disconnect())},observe:function(){var t=this;this._connected&&!this._data.image&&this.target.forEach((function(e){return t.observer.observe(e)}))}}};function ji(t,e,n,i){Xi(t)?(i&&(t.sizes=i),n&&(t.srcset=n),e&&(t.src=e)):e&&!x(t.style.backgroundImage,e)&&(Ve(t,"backgroundImage","url("+Qt(e)+")"),Zt(t,te("load",!1)))}var Wi=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;function Ri(t){var e,n;for(Wi.lastIndex=0;e=Wi.exec(t);)if(!e[1]||window.matchMedia(e[1]).matches){e=f(n=e[2],"calc")?n.slice(5,-1).replace(Vi,(function(t){return vn(t)})).replace(/ /g,"").match(Ui).reduce((function(t,e){return t+ +e}),0):n;break}return e||"100vw"}var Vi=/\d+(?:\w+|%)/g,Ui=/[+-]?(\d+)/g;var Yi=/\s+\d+w\s*(?:,|$)/g;function Xi(t){return"IMG"===t.tagName}function Qi(t){return t.currentSrc||t.src}var Ji,Gi="__test__";try{(Ji=window.sessionStorage||{})[Gi]=1,delete Ji[Gi]}catch(t){Ji={}}var Ki={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var t=function(t){if(M(t))if("@"===t[0]){var e="breakpoint-"+t.substr(1);t=F(Qe(e))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(this.media);return!t||window.matchMedia(t).matches}}};var Zi={mixins:[ei,Ki],props:{fill:String},data:{fill:"",clsWrapper:"qx-leader-fill",clsHide:"qx-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||Qe("leader-fill-content")}},connected:function(){var t;t=Se(this.$el,''),this.wrapper=t[0]},disconnected:function(){Ce(this.wrapper.childNodes)},update:{read:function(t){var e=t.changed,n=t.width,i=n;return{width:n=Math.floor(this.$el.offsetWidth/2),fill:this.fill,changed:e||i!==n,hide:!this.matchMedia}},write:function(t){He(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,st(this.wrapper,this.attrFill,new Array(t.width).join(t.fill)))},events:["resize"]}},tr={props:{container:Boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&Te(e)}}},er=[],nr={mixins:[ei,tr,ni],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"qx-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Te(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===x(er,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){if(x(er,this))return!1;!this.stack&&er.length?(he.all(er.map((function(t){return t.hide()}))).then(this.show),t.preventDefault()):er.push(this)}},{name:"show",self:!0,handler:function(){var t=this;dn(window)-dn(document)&&this.overlay&&Ve(document.body,"overflowY","scroll"),this.stack&&Ve(this.$el,"zIndex",F(Ve(this.$el,"zIndex"))+er.length),Pe(document.documentElement,this.clsPage),this.bgClose&&Kt(this.$el,"hide",Jt(document,vt,(function(e){var n=e.target;J(er)!==t||t.overlay&&!Mt(n,t.$el)||Mt(n,t.panel)||Kt(document,wt+" "+yt+" scroll",(function(e){var i=e.defaultPrevented,r=e.type,o=e.target;i||r!==wt||n!==o||t.hide()}),!0)})),{self:!0}),this.escClose&&Kt(this.$el,"hide",Jt(document,"keydown",(function(e){27===e.keyCode&&J(er)===t&&t.hide()})),{self:!0})}},{name:"hidden",self:!0,handler:function(){var t=this;er.splice(er.indexOf(this),1),er.length||Ve(document.body,"overflowY",""),Ve(this.$el,"zIndex",""),er.some((function(e){return e.clsPage===t.clsPage}))||Oe(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var t=this;return this.container&&Ct(this.$el)!==this.container?(xe(this.container,this.$el),new he((function(e){return requestAnimationFrame((function(){return t.show().then(e)}))}))):this.toggleElement(this.$el,!0,ir(this))},hide:function(){return this.toggleElement(this.$el,!1,ir(this))}}};function ir(t){var e=t.transitionElement,n=t._toggle;return function(t,i){return new he((function(r,o){return Kt(t,"show hide",(function(){t._reject&&t._reject(),t._reject=o,n(t,i);var s=Kt(e,"transitionstart",(function(){Kt(e,"transitionend transitioncancel",r,{self:!0}),clearTimeout(a)}),{self:!0}),a=setTimeout((function(){s(),r()}),U(Ve(e,"transitionDuration")))}))})).then((function(){return delete t._reject}))}}var rr={install:function(t){var e=t.modal;function n(t,n,i,r){n=Q({bgClose:!1,escClose:!0,labels:e.labels},n);var o=e.dialog(t(n),n),s=new de,a=!1;return Jt(o.$el,"submit","form",(function(t){t.preventDefault(),s.resolve(r&&r(o)),a=!0,o.hide()})),Jt(o.$el,"hide",(function(){return!a&&i(s)})),s.promise.dialog=o,s.promise}e.dialog=function(t,n){var i=e('
'+t+"
",n);return i.show(),Jt(i.$el,"hidden",(function(){return he.resolve().then((function(){return i.$destroy(!0)}))}),{self:!0}),i},e.alert=function(t,e){return n((function(e){var n=e.labels;return'
'+(M(t)?t:be(t))+'
"}),e,(function(t){return t.resolve()}))},e.confirm=function(t,e){return n((function(e){var n=e.labels;return'
'+(M(t)?t:be(t))+'
"}),e,(function(t){return t.reject()}))},e.prompt=function(t,e,i){return n((function(n){var i=n.labels;return'
"}),i,(function(t){return t.resolve(null)}),(function(t){return Te("input",t.$el).value}))},e.labels={ok:"Ok",cancel:"Cancel"}},mixins:[nr],data:{clsPage:"qx-modal-page",selPanel:".qx-modal-dialog",selClose:".qx-modal-close, .qx-modal-close-default, .qx-modal-close-outside, .qx-modal-close-full"},events:[{name:"show",self:!0,handler:function(){Le(this.panel,"qx-margin-auto-vertical")?Pe(this.$el,"qx-flex"):Ve(this.$el,"display","block"),hn(this.$el)}},{name:"hidden",self:!0,handler:function(){Ve(this.$el,"display",""),Oe(this.$el,"qx-flex")}}]};var or={extends:ri,data:{targets:"> .qx-parent",toggle:"> a",content:"> ul"}},sr={mixins:[ei,yi],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".qx-navbar-nav > li",align:dt?"right":"left",clsDrop:"qx-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200,forceHeight:!0,selMinHeight:".qx-navbar-nav > li > a, .qx-navbar-item, .qx-navbar-toggle"},computed:{boundary:function(t,e){var n=t.boundary,i=t.boundaryAlign;return!0===n||i?e:n},dropbarAnchor:function(t,e){return Dt(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropbar:{get:function(t){var e=t.dropbar;return e?(e=this._dropbar||Dt(e,this.$el)||Te("+ .qx-navbar-dropbar",this.$el))||(this._dropbar=Te("
")):null},watch:function(t){Pe(t,"qx-navbar-dropbar")},immediate:!0},dropdowns:{get:function(t,e){return Ne(t.dropdown+" ."+t.clsDrop,e)},watch:function(t){var e=this;this.$create("drop",t.filter((function(t){return!e.getDropdown(t)})),Q({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},immediate:!0}},disconnected:function(){this.dropbar&&Ee(this.dropbar),delete this._dropbar},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,n=this.getActive();n&&n.toggle&&!Mt(n.toggle.$el,e)&&!n.tracker.movesTo(n.$el)&&n.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!this.dropdowns.some((function(t){return kt(t,":hover")}))&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){Ct(this.dropbar)||$e(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=e.dir;Le(n,this.clsDrop)&&("slide"===this.dropbarMode&&Pe(this.dropbar,"qx-navbar-dropbar-slide"),this.clsDrop&&Pe(n,this.clsDrop+"-dropbar"),"bottom"===i&&this.transitionTo(n.offsetHeight+F(Ve(n,"marginTop"))+F(Ve(n,"marginBottom")),n))}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=this.getActive();kt(this.dropbar,":hover")&&i&&i.$el===n&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el;if(Le(n,this.clsDrop)){var i=this.getActive();(!i||i&&i.$el===n)&&this.transitionTo(0)}}}],methods:{getActive:function(){var t=this.dropdowns.map(this.getDropdown).filter((function(t){return t&&t.isActive()})),e=t[0];return e&&x(e.mode,"hover")&&Mt(e.toggle.$el,this.$el)&&e},transitionTo:function(t,e){var n=this,i=this.dropbar,r=Et(i)?hn(i):0;return Ve(e=r=r||0===i&&e>0||r-i<=o&&e<0)&&t.cancelable&&t.preventDefault()}}},{name:"show",self:!0,handler:function(){"reveal"!==this.mode||Le(Ct(this.panel),this.clsMode)||(ze(this.panel,"
"),Pe(Ct(this.panel),this.clsMode)),Ve(document.documentElement,"overflowY",this.overlay?"hidden":""),Pe(document.body,this.clsContainer,this.clsFlip),Ve(document.body,"touch-action","pan-y pinch-zoom"),Ve(this.$el,"display","block"),Pe(this.$el,this.clsOverlay),Pe(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),hn(document.body),Pe(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&(cr().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){Oe(document.body,this.clsContainerAnimation),Ve(document.body,"touch-action","")}},{name:"hidden",self:!0,handler:function(){var t;this.clsContainerAnimation&&((t=cr()).content=t.content.replace(/,user-scalable=0$/,"")),"reveal"===this.mode&&Ce(this.panel),Oe(this.panel,this.clsSidebarAnimation,this.clsMode),Oe(this.$el,this.clsOverlay),Ve(this.$el,"display",""),Oe(document.body,this.clsContainer,this.clsFlip),Ve(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&g(t.type,"Left")^this.flip&&this.hide()}}]};function cr(){return Te('meta[name="viewport"]',document.head)||xe(document.head,'')}var lr={mixins:[ei],props:{selContainer:String,selContent:String},data:{selContainer:".qx-modal",selContent:".qx-modal-dialog"},computed:{container:function(t,e){return Nt(e,t.selContainer)},content:function(t,e){return Nt(e,t.selContent)}},connected:function(){Ve(this.$el,"minHeight",150)},update:{read:function(){return!!(this.content&&this.container&&Et(this.$el))&&{current:F(Ve(this.$el,"maxHeight")),max:Math.max(150,hn(this.container)-(an(this.content).height-hn(this.$el)))}},write:function(t){var e=t.current,n=t.max;Ve(this.$el,"maxHeight",n),Math.round(e)!==Math.round(n)&&Zt(this.$el,"resize")},events:["resize"]}},ur={props:["width","height"],connected:function(){Pe(this.$el,"qx-responsive-width")},update:{read:function(){return!!(Et(this.$el)&&this.width&&this.height)&&{width:dn(Ct(this.$el)),height:this.height}},write:function(t){hn(this.$el,rt.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},hr={props:{offset:Number},data:{offset:0},methods:{scrollTo:function(t){var e=this;t=t&&Te(t)||document.body,Zt(this.$el,"beforescroll",[this,t])&&jn(t,{offset:this.offset}).then((function(){return Zt(e.$el,"scrolled",[e,t])}))}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(Qt(decodeURIComponent(this.$el.hash)).substr(1)))}}},dr="_ukScrollspy",fr={args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:!1,target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"qx-scrollspy-inview"}},computed:{elements:{get:function(t,e){var n=t.target;return n?Ne(n,e):[e]},watch:function(t){this.hidden&&Ve(qt(t,":not(."+this.inViewClass+")"),"visibility","hidden")},immediate:!0}},disconnected:function(){var t=this;this.elements.forEach((function(e){Oe(e,t.inViewClass,e[dr]?e[dr].cls:""),delete e[dr]}))},update:[{read:function(t){var e=this;t.update&&this.elements.forEach((function(t){t[dr]||(t[dr]={cls:lt(t,"qx-scrollspy-class")||e.cls}),t[dr].show=Hn(t,e.offsetTop,e.offsetLeft)}))},write:function(t){var e=this;if(!t.update)return this.$emit(),t.update=!0;this.elements.forEach((function(n){var i=n[dr],r=function(t){Ve(n,"visibility",!t&&e.hidden?"hidden":""),He(n,e.inViewClass,t),He(n,i.cls),Zt(n,t?"inview":"outview"),i.inview=t,e.$update(n)};!i.show||i.inview||i.queued?!i.show&&i.inview&&!i.queued&&e.repeat&&r(!1):(i.queued=!0,t.promise=(t.promise||he.resolve()).then((function(){return new he((function(t){return setTimeout(t,e.delay)}))})).then((function(){r(!0),setTimeout((function(){i.queued=!1,e.$emit()}),300)})))}))},events:["scroll","resize"]}]},pr={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"qx-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:{get:function(t,e){return Ne('a[href^="#"]',e).filter((function(t){return t.hash}))},watch:function(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})},immediate:!0},targets:function(){return Ne(this.links.map((function(t){return Qt(t.hash).substr(1)})).join(","))},elements:function(t){var e=t.closest;return Nt(this.links,e||"*")}},update:[{read:function(){var t=this,e=this.targets.length;if(!e||!Et(this.$el))return!1;var n=Rn(this.targets,/auto|scroll/,!0)[0],i=n.scrollTop,r=n.scrollHeight,o=Vn(n),s=r-hn(o),a=!1;return i===s?a=e-1:(this.targets.every((function(e,n){if(ln(e,o).top-t.offset<=0)return a=n,!0})),!1===a&&this.overflow&&(a=0)),{active:a}},write:function(t){var e=t.active;this.links.forEach((function(t){return t.blur()})),Oe(this.elements,this.cls),!1!==e&&Zt(this.$el,"active",[e,Pe(this.elements[e],this.cls)])},events:["scroll","resize"]}]},gr={mixins:[ei,Ki],props:{top:null,bottom:Boolean,offset:String,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"qx-active",clsInactive:"",clsFixed:"qx-sticky-fixed",clsBelow:"qx-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{offset:function(t){return vn(t.offset)},selTarget:function(t,e){var n=t.selTarget;return n&&Te(n,e)||e},widthElement:function(t,e){return Dt(t.widthElement,e)||this.placeholder},isActive:{get:function(){return Le(this.selTarget,this.clsActive)},set:function(t){t&&!this.isActive?(De(this.selTarget,this.clsInactive,this.clsActive),Zt(this.$el,"active")):t||Le(this.selTarget,this.clsInactive)||(De(this.selTarget,this.clsActive,this.clsInactive),Zt(this.$el,"inactive"))}}},connected:function(){this.placeholder=Te("+ .qx-sticky-placeholder",this.$el)||Te('
'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),Oe(this.selTarget,this.clsInactive)),Ee(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:ut&&window,handler:function(){var t=this;if(!1!==this.targetOffset&&location.hash&&window.pageYOffset>0){var e=Te(location.hash);e&&wn.read((function(){var n=cn(e).top,i=cn(t.$el).top,r=t.$el.offsetHeight;t.isFixed&&i+r>=n&&i<=n+e.offsetHeight&&Fn(window,n-r-(O(t.targetOffset)?t.targetOffset:0)-t.offset)}))}}}],update:[{read:function(t,e){var n=t.height;if(this.inactive=!this.matchMedia||!Et(this.$el),this.inactive)return!1;this.isActive&&"update"!==e&&(this.hide(),n=this.$el.offsetHeight,this.show()),n=this.isActive?n:this.$el.offsetHeight,this.topOffset=cn(this.isFixed?this.placeholder:this.$el).top,this.bottomOffset=this.topOffset+n;var i=vr("bottom",this);return this.top=Math.max(F(vr("top",this)),this.topOffset)-this.offset,this.bottom=i&&i-this.$el.offsetHeight,this.width=an(Et(this.widthElement)?this.widthElement:this.$el).width,{height:n,top:un(this.placeholder)[0],margins:Ve(this.$el,["marginTop","marginBottom","marginLeft","marginRight"])}},write:function(t){var e=t.height,n=t.margins,i=this.placeholder;Ve(i,Q({height:e},n)),Mt(i,document)||($e(this.$el,i),i.hidden=!0),this.isActive=!!this.isActive},events:["resize"]},{read:function(t){var e=t.scroll;return void 0===e&&(e=0),this.scroll=window.pageYOffset,{dir:e<=this.scroll?"down":"up",scroll:this.scroll}},write:function(t,e){var n=this,i=Date.now(),r=t.initTimestamp;void 0===r&&(r=0);var o=t.dir,s=t.lastDir,a=t.lastScroll,c=t.scroll,l=t.top;if(t.lastScroll=c,!(c<0||c===a&&"scroll"===e||this.showOnUp&&"scroll"!==e&&!this.isFixed||((i-r>300||o!==s)&&(t.initScroll=c,t.initTimestamp=i),t.lastDir=o,this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-c)<=30&&Math.abs(a-c)<=10)))if(this.inactive||cc&&(on.cancel(this.$el),this.hide()));this.isFixed=!1,this.animation&&c>this.topOffset?(on.cancel(this.$el),on.out(this.$el,this.animation).then((function(){return n.hide()}),et)):this.hide()}else this.isFixed?this.update():this.animation?(on.cancel(this.$el),this.show(),on.in(this.$el,this.animation).catch(et)):this.show()},events:["resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide:function(){this.isActive=!1,Oe(this.$el,this.clsFixed,this.clsBelow),Ve(this.$el,{position:"",top:"",width:""}),this.placeholder.hidden=!0},update:function(){var t=0!==this.top||this.scroll>this.top,e=Math.max(0,this.offset);O(this.bottom)&&this.scroll>this.bottom-this.offset&&(e=this.bottom-this.scroll),Ve(this.$el,{position:"fixed",top:e+"px",width:this.width}),this.isActive=t,He(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Pe(this.$el,this.clsFixed)}}};function vr(t,e){var n=e.$props,i=e.$el,r=e[t+"Offset"],o=n[t];if(o)return M(o)&&o.match(/^-?\d/)?r+vn(o):cn(!0===o?Ct(i):Dt(o,i)).bottom}var mr={mixins:[ni],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.qx-switcher",toggle:"> * > :first-child",active:0,swiping:!0,cls:"qx-active",attrItem:"qx-switcher-item"},computed:{connects:{get:function(t,e){return Lt(t.connect,e)},watch:function(t){this.swiping&&Ve(t,"touch-action","pan-y pinch-zoom")},immediate:!0},toggles:{get:function(t,e){return Ne(t.toggle,e).filter((function(t){return!kt(t,".qx-disabled *, .qx-disabled, [disabled]")}))},watch:function(t){var e=this.index();this.show(~e&&e||t[this.active]||t[0])},immediate:!0},children:function(){var t=this;return Ot(this.$el).filter((function(e){return t.toggles.some((function(t){return Mt(t,e)}))}))}},events:[{name:"click",delegate:function(){return this.toggle},handler:function(t){t.preventDefault(),this.show(t.current)}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(lt(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){var e=t.type;this.show(g(e,"Left")?"next":"previous")}}],methods:{index:function(){var t=this;return $(this.children,(function(e){return Le(e,t.cls)}))},show:function(t){var e=this,n=this.index(),i=ot(this.children[ot(t,this.toggles,n)],Ot(this.$el));n!==i&&(this.children.forEach((function(t,n){He(t,e.cls,i===n),st(e.toggles[n],"aria-expanded",i===n)})),this.connects.forEach((function(t){var r=t.children;return e.toggleElement(R(r).filter((function(t,n){return n!==i&&e.isToggled(t)})),!1,n>=0).then((function(){return e.toggleElement(r[i],!0,n>=0)}))})))}}},wr={mixins:[ei],extends:mr,props:{media:Boolean},data:{media:960,attrItem:"qx-tab-item"},connected:function(){var t=Le(this.$el,"qx-tab-left")?"qx-tab-left":!!Le(this.$el,"qx-tab-right")&&"qx-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},br={mixins:[Ki,ni],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get:function(t,e){var n=t.href,i=t.target;return(i=Lt(i||n,e)).length&&i||[e]},watch:function(){this.updateAria()},immediate:!0}},events:[{name:bt+" "+xt,filter:function(){return x(this.mode,"hover")},handler:function(t){le(t)||this.toggle("toggle"+(t.type===bt?"show":"hide"))}},{name:"click",filter:function(){return x(this.mode,"click")||gt&&x(this.mode,"hover")},handler:function(t){var e;(Nt(t.target,'a[href="#"], a[href=""]')||(e=Nt(t.target,"a[href]"))&&(!xr(this.target,this.cls)||e.hash&&kt(this.target,e.hash)))&&t.preventDefault(),this.toggle()}},{name:"toggled",self:!0,el:function(){return this.target},handler:function(t,e){this.updateAria(e)}}],update:{read:function(){return!(!x(this.mode,"media")||!this.media)&&{match:this.matchMedia}},write:function(t){var e=t.match,n=this.isToggled(this.target);(e?!n:n)&&this.toggle()},events:["resize"]},methods:{toggle:function(t){var e=this;if(Zt(this.target,t||"toggle",[this])){if(!this.queued)return this.toggleElement(this.target);var n=this.target.filter((function(t){return Le(t,e.clsLeave)}));if(n.length)this.target.forEach((function(t){var i=x(n,t);e.toggleElement(t,i,i)}));else{var i=this.target.filter(this.isToggled);this.toggleElement(i,!1).then((function(){return e.toggleElement(e.target.filter((function(t){return!x(i,t)})),!0)}))}}},updateAria:function(t){st(this.$el,"aria-expanded",N(t)?t:xr(this.target,this.cls))}}};function xr(t,e){return e?Le(t,e.split(" ")[0]):Et(t)}G(Object.freeze({__proto__:null,Accordion:ri,Alert:si,Cover:ci,Drop:hi,Dropdown:hi,FormCustom:di,Gif:fi,Grid:bi,HeightMatch:$i,HeightViewport:Si,Icon:Mi,Img:Fi,Leader:Zi,Margin:pi,Modal:rr,Nav:or,Navbar:sr,Offcanvas:ar,OverflowAuto:lr,Responsive:ur,Scroll:hr,Scrollspy:fr,ScrollspyNav:pr,Sticky:gr,Svg:Ci,Switcher:mr,Tab:wr,Toggle:br,Video:ai,Close:Di,Spinner:Li,SlidenavNext:Oi,SlidenavPrevious:Oi,SearchIcon:Bi,Marker:Pi,NavbarToggleIcon:Pi,OverlayIcon:Pi,PaginationNext:Pi,PaginationPrevious:Pi,Totop:Pi}),(function(t,e){return ti.component(e,t)})),ti.use((function(t){if(ut){var e,n,i=function(){e||(e=!0,wn.write((function(){return e=!1})),t.update(null,"resize"))};Jt(window,"load resize",i),Jt(document,"loadedmetadata load",i,!0),"ResizeObserver"in window&&new ResizeObserver(i).observe(document.documentElement),Jt(window,"scroll",(function(e){n||(n=!0,wn.write((function(){return n=!1})),t.update(null,e.type))}),{passive:!0,capture:!0});var r=0;Jt(document,"animationstart",(function(t){var e=t.target;(Ve(e,"animationName")||"").match(/^qx-.*(left|right)/)&&(r++,Ve(document.documentElement,"overflowX","hidden"),setTimeout((function(){--r||Ve(document.documentElement,"overflowX","")}),U(Ve(e,"animationDuration"))+100))}),!0),Jt(document,vt,(function(t){if(le(t)){var e=ue(t),n="tagName"in t.target?t.target:Ct(t.target);Kt(document,wt+" "+yt+" scroll",(function(t){var i=ue(t),r=i.x,o=i.y;("scroll"!==t.type&&n&&r&&Math.abs(e.x-r)>100||o&&Math.abs(e.y-o)>100)&&setTimeout((function(){var t,i,s,a;Zt(n,"swipe"),Zt(n,"swipe"+(t=e.x,i=e.y,s=r,a=o,Math.abs(t-s)>=Math.abs(i-a)?t-s>0?"Left":"Right":i-a>0?"Up":"Down"))}))}))}}),{passive:!0})}})),function(t){var e=t.connect,n=t.disconnect;function i(t){for(var i=t.addedNodes,r=t.removedNodes,o=0;o"})).join("")),e.forEach((function(t,e){return r.children[e].textContent=t})))}))}},methods:{start:function(){this.stop(),this.date&&this.units.length&&(this.$update(),this.timer=setInterval(this.$update,1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}};var $r="qx-transition-leave",Ar="qx-transition-enter";function Er(t,e,n,i){void 0===i&&(i=40);var r=zr(e,!0),o={opacity:1},s={opacity:0},a=function(t){return function(){return r===zr(e)?t():he.reject()}},c=a((function(){return Pe(e,$r),he.all(Cr(e).map((function(t,e){return new he((function(r){return setTimeout((function(){return tn.start(t,s,n/2,"ease").then(r)}),e*i)}))}))).then((function(){return Oe(e,$r)}))})),l=a((function(){var a=hn(e);return Pe(e,Ar),t(),Ve(Ot(e),{opacity:0}),new he((function(t){requestAnimationFrame((function(){var c=Ot(e),l=hn(e);hn(e,a);var u=Cr(e);Ve(c,s);var h=u.map((function(t,e){return new he((function(r){return setTimeout((function(){return tn.start(t,o,n/2,"ease").then(r)}),e*i)}))}));a!==l&&h.push(tn.start(e,{height:l},n/2+u.length*i,"ease")),he.all(h).then((function(){Oe(e,Ar),r===zr(e)&&(Ve(e,"height",""),Ve(c,{opacity:""}),delete e.dataset.transition),t()}))}))}))}));return Le(e,$r)?Sr(e).then(l):Le(e,Ar)?Sr(e).then(c).then(l):c().then(l)}function zr(t,e){return e&&(t.dataset.transition=1+zr(t)),H(t.dataset.transition)||0}function Sr(t){return he.all(Ot(t).filter(tn.inProgress).map((function(t){return new he((function(e){return Kt(t,"transitionend transitioncanceled",e)}))})))}function Cr(t){return gi(Ot(t)).reduce((function(t,e){return t.concat(K(e.filter((function(t){return Hn(t)})),"offsetLeft"))}),[])}var qr,_r="qx-animation-target";function Ir(t,e,n){qr||(qr=!!xe(document.head,""));var i=Ot(e),r=i.map((function(t){return kr(t,!0)})),o=hn(e);tn.cancel(e),i.forEach(tn.cancel),Oe(e,_r),Tr(e),t(),i=i.concat(Ot(e).filter((function(t){return!x(i,t)}))),Zt(V(e),"resize"),wn.flush();var s=hn(e),a=function(t,e,n){var i=e.map((function(t,e){return!(!Ct(t)||!(e in n))&&(n[e]?Et(t)?Nr(t):{opacity:0}:{opacity:Et(t)?1:0})})),r=i.map((function(i,r){var o=Ct(e[r])===t&&(n[r]||kr(e[r]));return!!o&&(i?"opacity"in i||(o.opacity%1?i.opacity=1:delete o.opacity):delete o.opacity,o)}));return[i,r]}(e,i,r),c=a[0],l=a[1];return Pe(e,_r),i.forEach((function(t,e){return l[e]&&Ve(t,l[e])})),Ve(e,{height:o,display:"block"}),new he((function(t){return requestAnimationFrame((function(){var r=i.map((function(t,e){return tn.start(t,c[e],n,"ease")})).concat(tn.start(e,{height:s},n,"ease"));he.all(r).then((function(){i.forEach((function(t,e){return Ve(t,"display",0===c[e].opacity?"none":"")})),Tr(e)}),et).then(t)}))}))}function kr(t,e){var n=Ve(t,"zIndex");return!!Et(t)&&Q({display:"",opacity:e?Ve(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===n?Bt(t):n},Nr(t))}function Tr(t){Ve(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",width:"",zIndex:""}),Oe(t,_r),Ve(t,{height:"",display:""})}function Nr(t){var e=cn(t),n=e.height,i=e.width,r=ln(t);return{top:r.top,left:r.left,height:n,width:i}}var Mr={props:{duration:Number,animation:String},data:{duration:150,animation:"slide"},methods:{animate:function(t,e){return void 0===e&&(e=this.$el),("fade"===this.animation?Er:Ir)(t,e,this.duration).then((function(){return Zt(V(e),"resize")}),et)}}},Pr={mixins:[Mr],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"qx-filter-control",cls:"qx-active",duration:250},computed:{toggles:{get:function(t,e){return t.attrItem,Ne("["+this.attrItem+"],[data-"+this.attrItem+"]",e)},watch:function(){var t=this;if(this.updateState(),!1!==this.selActive){var e=Ne(this.selActive,this.$el);this.toggles.forEach((function(n){return He(n,t.cls,x(e,n))}))}},immediate:!0},children:{get:function(t,e){return Ne(t.target+" > *",e)},watch:function(t,e){var n,i;i=e,(n=t).length===i.length&&n.every((function(t){return~i.indexOf(t)}))||this.updateState()}}},events:[{name:"click",delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.apply(t.current)}}],methods:{apply:function(t){this.setState(Dr(t,this.attrItem,this.getState()))},getState:function(){var t=this;return this.toggles.filter((function(e){return Le(e,t.cls)})).reduce((function(e,n){return Dr(n,t.attrItem,e)}),{filter:{"":""},sort:[]})},setState:function(t,e){var n=this;void 0===e&&(e=!0),t=Q({filter:{"":""},sort:[]},t),Zt(this.$el,"beforeFilter",[this,t]),this.toggles.forEach((function(e){return He(e,n.cls,!!function(t,e,n){var i=n.filter;void 0===i&&(i={"":""});var r=n.sort,o=r[0],s=r[1],a=Or(t,e),c=a.filter;void 0===c&&(c="");var l=a.group;void 0===l&&(l="");var u=a.sort,h=a.order;return void 0===h&&(h="asc"),D(u)?l in i&&c===i[l]||!c&&l&&!(l in i)&&!i[""]:o===u&&s===h}(e,n.attrItem,t))})),he.all(Ne(this.target,this.$el).map((function(i){var r=Ot(i);return e?n.animate((function(){return Br(t,i,r)}),i):Br(t,i,r)}))).then((function(){return Zt(n.$el,"afterFilter",[n])}))},updateState:function(){var t=this;wn.write((function(){return t.setState(t.getState(),!1)}))}}};function Or(t,e){return _n(lt(t,e),["filter"])}function Br(t,e,n){var i=function(t){var e=t.filter,n="";return G(e,(function(t){return n+=t||""})),n}(t);n.forEach((function(t){return Ve(t,"display",i&&!kt(t,i)?"none":"")}));var r=t.sort,o=r[0],s=r[1];if(o){var a=function(t,e,n){return Q([],t).sort((function(t,i){return lt(t,e).localeCompare(lt(i,e),void 0,{numeric:!0})*("asc"===n||-1)}))}(n,o,s);Y(a,n)||xe(e,a)}}function Dr(t,e,n){var i=Or(t,e),r=i.filter,o=i.group,s=i.sort,a=i.order;return void 0===a&&(a="asc"),(r||D(s))&&(o?r?(delete n.filter[""],n.filter[o]=r):(delete n.filter[o],(B(n.filter)||""in n.filter)&&(n.filter={"":r||""})):n.filter={"":r||""}),D(s)||(n.sort=[s,a]),n}var Lr={slide:{show:function(t){return[{transform:Fr(-100*t)},{transform:Fr()}]},percent:function(t){return Hr(t)},translate:function(t,e){return[{transform:Fr(-100*e*t)},{transform:Fr(100*e*(1-t))}]}}};function Hr(t){return Math.abs(Ve(t,"transform").split(",")[4]/t.offsetWidth)||0}function Fr(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),t+=t?e:"",ht?"translateX("+t+")":"translate3d("+t+", 0, 0)"}function jr(t){return"scale3d("+t+", "+t+", 1)"}var Wr=Q({},Lr,{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-Ve(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:jr(.8)},{opacity:1,transform:jr(1)}]},percent:function(t){return 1-Ve(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:jr(1-.2*t)},{opacity:t,transform:jr(.8+.2*t)}]}}});function Rr(t,e,n){Zt(t,te(e,!1,!1,n))}var Vr={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected:function(){this.autoplay&&this.startAutoplay()},disconnected:function(){this.stopAutoplay()},update:function(){st(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:ut&&document,filter:function(){return this.autoplay},handler:function(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay:function(){var t=this;this.stopAutoplay(),this.interval=setInterval((function(){return(!t.draggable||!Te(":focus",t.$el))&&(!t.pauseOnHover||!kt(t.$el,":hover"))&&!t.stack.length&&t.show("next")}),this.autoplayInterval)},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}},Ur={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created:function(){var t=this;["start","move","end"].forEach((function(e){var n=t[e];t[e]=function(e){var i=ue(e).x*(dt?-1:1);t.prevPos=i!==t.pos?t.pos:t.prevPos,t.pos=i,n(e)}}))},events:[{name:vt,delegate:function(){return this.selSlides},handler:function(t){var e;!this.draggable||!le(t)&&(!(e=t.target).children.length&&e.childNodes.length)||Nt(t.target,zt)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,Jt(document,mt,this.move,{passive:!1}),Jt(document,wt+" "+yt,this.end,!0),Ve(this.list,"userSelect","none")},move:function(t){var e=this,n=this.pos-this.drag;if(!(0===n||this.prevPos===this.pos||!this.dragging&&Math.abs(n)a;)this.drag-=a*this.dir,r=s,o-=a,s=this.getIndex(r+this.dir,r),a=this._getDistance(r,s)||i[r].offsetWidth;this.percent=o/a;var c,l=i[r],u=i[s],h=this.index!==s,d=r===s;[this.index,this.prevIndex].filter((function(t){return!x([s,r],t)})).forEach((function(t){Zt(i[t],"itemhidden",[e]),d&&(c=!0,e.prevIndex=r)})),(this.index===r&&this.prevIndex!==r||c)&&Zt(i[this.index],"itemshown",[this]),h&&(this.prevIndex=r,this.index=s,!d&&Zt(l,"beforeitemhide",[this]),Zt(u,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),l,!d&&u),h&&(!d&&Zt(l,"itemhide",[this]),Zt(u,"itemshow",[this]))}},end:function(){if(Gt(document,mt,this.move,{passive:!1}),Gt(document,wt+" "+yt,this.end,!0),Gt(this.list,"touchmove",Yr,{passive:!1}),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{var t=(dt?this.dir*(dt?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}Ve(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Yr(t){t.cancelable&&t.preventDefault()}var Xr={mixins:[Vr,Ur,{data:{selNav:!1},computed:{nav:function(t,e){return Te(t.selNav,e)},selNavItem:function(t){var e=t.attrItem;return"["+e+"],[data-"+e+"]"},navItems:function(t,e){return Ne(this.selNavItem,e)}},update:{write:function(){var t=this;this.nav&&this.length!==this.nav.children.length&&be(this.nav,this.slides.map((function(e,n){return"
  • '})).join("")),this.navItems.concat(this.nav).forEach((function(e){return e&&(e.hidden=!t.maxIndex)})),this.updateNav()},events:["resize"]},events:[{name:"click",delegate:function(){return this.selNavItem},handler:function(t){t.preventDefault(),this.show(lt(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var t=this,e=this.getValidIndex();this.navItems.forEach((function(n){var i=lt(n,t.attrItem);He(n,t.clsActive,H(i)===e),He(n,"qx-invisible",t.finite&&("previous"===i&&0===e||"next"===i&&e>=t.maxIndex))}))}}}],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:function(){return{easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"qx-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}},connected:function(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected:function(){Oe(this.slides,this.clsActive)},computed:{duration:function(t,e){var n=t.velocity;return Qr(e.offsetWidth/n)},list:function(t,e){return Te(t.selList,e)},maxIndex:function(){return this.length-1},selSlides:function(t){return t.selList+" "+(t.selSlides||"> *")},slides:{get:function(){return Ne(this.selSlides,this.$el)},watch:function(){this.$reset()}},length:function(){return this.slides.length}},events:{itemshown:function(){this.$update(this.list)}},methods:{show:function(t,e){var n=this;if(void 0===e&&(e=!1),!this.dragging&&this.length){var i=this.stack,r=e?0:i.length,o=function(){i.splice(r,1),i.length&&n.show(i.shift(),!0)};if(i[e?"unshift":"push"](t),!e&&i.length>1)2===i.length&&this._transitioner.forward(Math.min(this.duration,200));else{var s=this.getIndex(this.index),a=Le(this.slides,this.clsActive)&&this.slides[s],c=this.getIndex(t,this.index),l=this.slides[c];if(a!==l){if(this.dir=function(t,e){return"next"===t?1:"previous"===t||t1?"forward":"show"](i>1?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance:function(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate:function(t,e,n){void 0===e&&(e=this.prevIndex),void 0===n&&(n=this.index);var i=this._getTransitioner(e!==n&&e,n);return i.translate(t),i},_getTransitioner:function(t,e,n,i){return void 0===t&&(t=this.prevIndex),void 0===e&&(e=this.index),void 0===n&&(n=this.dir||1),void 0===i&&(i=this.transitionOptions),new this.Transitioner(P(t)?this.slides[t]:t,P(e)?this.slides[e]:e,n*(dt?-1:1),i)}}};function Qr(t){return.5*t+300}var Jr={mixins:[Xr],props:{animation:String},data:{animation:"slide",clsActivated:"qx-transition-active",Animations:Lr,Transitioner:function(t,e,n,i){var r=i.animation,o=i.easing,s=r.percent,a=r.translate,c=r.show;void 0===c&&(c=et);var l=c(n),u=new de;return{dir:n,show:function(i,r,s){var a=this;void 0===r&&(r=0);var c=s?"linear":o;return i-=Math.round(i*tt(r,-1,1)),this.translate(r),Rr(e,"itemin",{percent:r,duration:i,timing:c,dir:n}),Rr(t,"itemout",{percent:1-r,duration:i,timing:c,dir:n}),he.all([tn.start(e,l[1],i,c),tn.start(t,l[0],i,c)]).then((function(){a.reset(),u.resolve()}),et),u.promise},cancel:function(){tn.cancel([e,t])},reset:function(){for(var n in l[0])Ve([e,t],n,"")},forward:function(n,i){return void 0===i&&(i=this.percent()),tn.cancel([e,t]),this.show(n,i,!0)},translate:function(i){this.reset();var r=a(i,n);Ve(e,r[1]),Ve(t,r[0]),Rr(e,"itemtranslatein",{percent:i,dir:n}),Rr(t,"itemtranslateout",{percent:1-i,dir:n})},percent:function(){return s(t||e,e,n)},getDistance:function(){return t&&t.offsetWidth}}}},computed:{animation:function(t){var e=t.animation,n=t.Animations;return Q(n[e]||n.slide,{name:e})},transitionOptions:function(){return{animation:this.animation}}},events:{"itemshow itemhide itemshown itemhidden":function(t){var e=t.target;this.$update(e)},beforeitemshow:function(t){Pe(t.target,this.clsActive)},itemshown:function(t){Pe(t.target,this.clsActivated)},itemhidden:function(t){Oe(t.target,this.clsActive,this.clsActivated)}}},Gr={mixins:[tr,nr,ni,Jr],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:function(){return{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"qx-open",clsPage:"qx-lightbox-page",selList:".qx-lightbox-items",attrItem:"qx-lightbox-item",selClose:".qx-close-large",selCaption:".qx-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Wr,template:'
      '}},created:function(){var t=Te(this.template),e=Te(this.selList,t);this.items.forEach((function(){return xe(e,"
    • ")})),this.$mount(xe(this.container,t))},computed:{caption:function(t,e){return t.selCaption,Te(".qx-lightbox-caption",e)}},events:[{name:mt+" "+vt+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.selSlides},handler:function(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler:function(){this.showControls()}},{name:"hide",self:!0,handler:function(){this.hideControls(),Oe(this.slides,this.clsActive),tn.stop(this.slides)}},{name:"hidden",self:!0,handler:function(){this.$destroy(!0)}},{name:"keyup",el:ut&&document,handler:function(t){if(this.isToggled(this.$el)&&this.draggable)switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"beforeitemshow",handler:function(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Wr.scale,Oe(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler:function(){be(this.caption,this.getItem().caption||"");for(var t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler:function(){this.draggable=this.$props.draggable}},{name:"itemload",handler:function(t,e){var n=this,i=e.source,r=e.type,o=e.alt;void 0===o&&(o="");var s=e.poster,a=e.attrs;if(void 0===a&&(a={}),this.setItem(e,""),i){var c,l={frameborder:"0",allow:"autoplay",allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","qx-responsive":"","qx-video":""+this.videoAutoplay};if("image"===r||i.match(/\.(jpe?g|png|gif|svg|webp)($|\?)/i))me(i,a.srcset,a.size).then((function(t){var r=t.width,s=t.height;return n.setItem(e,Kr("img",Q({src:i,width:r,height:s,alt:o},a)))}),(function(){return n.setError(e)}));else if("video"===r||i.match(/\.(mp4|webm|ogv)($|\?)/i)){var u=Kr("video",Q({src:i,poster:s,controls:"",playsinline:"","qx-video":""+this.videoAutoplay},a));Jt(u,"loadedmetadata",(function(){st(u,{width:u.videoWidth,height:u.videoHeight}),n.setItem(e,u)})),Jt(u,"error",(function(){return n.setError(e)}))}else"iframe"===r||i.match(/\.(html|php)($|\?)/i)?this.setItem(e,Kr("iframe",Q({src:i,frameborder:"0",allowfullscreen:"",class:"qx-lightbox-iframe"},a))):(c=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?[?&]v=|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))?this.setItem(e,Kr("iframe",Q({src:"https://www.youtube"+(c[1]||"")+".com/embed/"+c[2]+(c[3]?"?"+c[3]:""),width:1920,height:1080},l,a))):(c=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))&&ve("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(i),{responseType:"json",withCredentials:!1}).then((function(t){var i=t.response,r=i.height,o=i.width;return n.setItem(e,Kr("iframe",Q({src:"https://player.vimeo.com/video/"+c[1]+(c[2]?"?"+c[2]:""),width:o,height:r},l,a)))}),(function(){return n.setError(e)}))}}}],methods:{loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);this.getSlide(e).childElementCount||Zt(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[ot(t,this.slides)]},setItem:function(t,e){Zt(this.$el,"itemloaded",[this,be(this.getSlide(t),e)])},getSlide:function(t){return this.slides[this.items.indexOf(t)]},setError:function(t){this.setItem(t,'')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),Pe(this.$el,"qx-active","qx-transition-active")},hideControls:function(){Oe(this.$el,"qx-active","qx-transition-active")}}};function Kr(t,e){var n=Ie("<"+t+">");return st(n,e),n}var Zr,to={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",Gr),Q(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get:function(t,e){return Ne(t.toggle,e)},watch:function(){this.hide()}}},disconnected:function(){this.hide()},events:[{name:"click",delegate:function(){return this.toggle+":not(.qx-disabled)"},handler:function(t){t.preventDefault(),this.show(t.current)}}],methods:{show:function(t){var e=this,n=Z(this.toggles.map(eo),"source");if(k(t)){var i=eo(t).source;t=$(n,(function(t){var e=t.source;return i===e}))}return this.panel=this.panel||this.$create("lightboxPanel",Q({},this.$props,{items:n})),Jt(this.panel.$el,"hidden",(function(){return e.panel=!1})),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}};function eo(t){var e={};return["href","caption","type","poster","alt","attrs"].forEach((function(n){e["href"===n?"source":n]=lt(t,n)})),e.attrs=_n(e.attrs),e}var no={functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"qx-notification",clsClose:"qx-notification-close",clsMsg:"qx-notification-message"},install:function(t){t.notification.closeAll=function(e,n){ke(document.body,(function(i){var r=t.getComponent(i,"notification");!r||e&&e!==r.group||r.close(n)}))}},computed:{marginProp:function(t){return"margin"+(f(t.pos,"top")?"Top":"Bottom")},startProps:function(){var t;return(t={opacity:0})[this.marginProp]=-this.$el.offsetHeight,t}},created:function(){var t=Te("."+this.clsContainer+"-"+this.pos,this.$container)||xe(this.$container,'
      ');this.$mount(xe(t,'
      '+this.message+"
      "))},connected:function(){var t,e=this,n=F(Ve(this.$el,this.marginProp));tn.start(Ve(this.$el,this.startProps),(t={opacity:1},t[this.marginProp]=n,t)).then((function(){e.timeout&&(e.timer=setTimeout(e.close,e.timeout))}))},events:(Zr={click:function(t){Nt(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()}},Zr[bt]=function(){this.timer&&clearTimeout(this.timer)},Zr[xt]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},Zr),methods:{close:function(t){var e=this,n=function(t){var n=Ct(t);Zt(t,"close",[e]),Ee(t),n&&!n.hasChildNodes()&&Ee(n)};this.timer&&clearTimeout(this.timer),t?n(this.$el):tn.start(this.$el,this.startProps).then(n)}}};var io=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity","stroke"],ro={mixins:[Ki],props:io.reduce((function(t,e){return t[e]="list",t}),{}),data:io.reduce((function(t,e){return t[e]=void 0,t}),{}),computed:{props:function(t,e){var n=this;return io.reduce((function(i,r){if(D(t[r]))return i;var o,s,a,c=r.match(/color/i),l=c||"opacity"===r,u=t[r].slice();l&&Ve(e,r,""),u.length<2&&u.unshift(("scale"===r?1:l?Ve(e,r):0)||0);var h=function(t){return t.reduce((function(t,e){return M(e)&&e.replace(/-|\d/g,"").trim()||t}),"")}(u);if(c){var d=e.style.color;u=u.map((function(t){return function(t,e){return Ve(Ve(t,"color",e),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(F)}(e,t)})),e.style.color=d}else if(f(r,"bg")){var p="bgy"===r?"height":"width";if(u=u.map((function(t){return vn(t,p,n.$el)})),Ve(e,"background-position-"+r[2],""),s=Ve(e,"backgroundPosition").split(" ")["x"===r[2]?0:1],n.covers){var g=Math.min.apply(Math,u),v=Math.max.apply(Math,u),m=u.indexOf(g)i){var h=o[l]/vn(r,l,e.$el);h&&(e.props[t].steps=c.map((function(t){return t-(u-i)/h})))}a=rt.cover(s,o)})),t.dim=a}}},write:function(t){var e=t.dim;t.active?e&&Ve(this.$el,{backgroundSize:e.width+"px "+e.height+"px",backgroundRepeat:"no-repeat"}):Ve(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["resize"]},methods:{reset:function(){var t=this;G(this.getCss(0),(function(e,n){return Ve(t.$el,n,"")}))},getCss:function(t){var e=this.props;return Object.keys(e).reduce((function(n,i){var r=e[i],o=r.steps,s=r.unit,a=r.pos,c=function(t,e,n){void 0===n&&(n=2);var i=oo(t,e),r=i[0],o=i[1],s=i[2];return(P(r)?r+Math.abs(r-o)*s*(r0?i.length-1:0]);return~o&&r[o+(t&&!e?n:0)]},getActives:function(){return[t||e].concat(Ot(s).filter((function(t){var e=po(t,s);return e>c&&e+an(t).width<=an(s).width+c})))},updateTranslates:function(){var t=this.getActives();Ot(s).forEach((function(n){var i=x(t,n);go(n,"itemtranslate"+(i?"in":"out"),{percent:i?1:0,dir:n.offsetLeft<=e.offsetLeft?1:-1})}))}}}},computed:{avgWidth:function(){return fo(this.list)/this.length},finite:function(t){return t.finite||Math.ceil(fo(this.list))=e}));return~n?n:this.length-1},sets:function(t){var e=this,n=t.sets;if(n){var i=an(this.list).width/(this.center?2:1),r=0,o=i,s=0;return n=K(this.slides,"offsetLeft").reduce((function(t,n,a){var c=an(n).width;if(s+c>r&&(!e.center&&a>e.maxIndex&&(a=e.maxIndex),!x(t,a))){var l=e.slides[a+1];e.center&&l&&ct.maxIndex||t.sets&&!x(t.sets,n))})),!this.length||this.dragging||this.stack.length||(this.reorder(),this._translate(1));var e=this._getTransitioner(this.index).getActives();this.slides.forEach((function(n){return He(n,t.clsActive,x(e,n))})),(!this.sets||x(this.sets,F(this.index)))&&this.slides.forEach((function(n){return He(n,t.clsActivated,x(e,n))}))},events:["resize"]},events:{beforeitemshow:function(t){!this.dragging&&this.sets&&this.stack.length<2&&!x(this.sets,this.index)&&(this.index=this.getValidIndex());var 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(var n=0;n0?"next":"previous");t.preventDefault()}else{var i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=Qr(this.avgWidth/this.velocity)*(an(this.slides[i]).width/this.avgWidth),this.reorder()}},itemshow:function(){~this.prevIndex&&Pe(this._getTransitioner().getItemIn(),this.clsActive)}},methods:{reorder:function(){var t=this;if(this.finite)Ve(this.slides,"order","");else{var e=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((function(n,i){return Ve(n,"order",t.dir>0&&i=t.index?-1:"")})),this.center)for(var n=this.slides[e],i=an(this.list).width/2-an(n).width/2,r=0;i>0;){var o=this.getIndex(--r+e,e),s=this.slides[o];Ve(s,"order",o>e?-2:-1),i-=an(s).width}}},getValidIndex:function(t,e){if(void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;var n;do{if(x(this.sets,t))return t;n=t,t=this.getIndex(t+this.dir,e)}while(t!==n);return t}}};var mo={mixins:[ro],data:{selItem:"!li"},computed:{item:function(t,e){return Dt(t.selItem,e)}},events:[{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var e=this,n=t.type,i=t.detail,r=i.percent,o=i.duration,s=i.timing,a=i.dir;wn.read((function(){var t=e.getCss(bo(n,a,r)),i=e.getCss(wo(n)?.5:a>0?1:0);wn.write((function(){Ve(e.$el,t),tn.start(e.$el,i,o,s).catch(et)}))}))}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){tn.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=this,n=t.type,i=t.detail,r=i.percent,o=i.dir;wn.read((function(){var t=e.getCss(bo(n,o,r));wn.write((function(){return Ve(e.$el,t)}))}))}}]};function wo(t){return g(t,"in")}function bo(t,e,n){return n/=2,wo(t)?e<0?1-n:n:e<0?n:1-n}var xo,yo,$o=Q({},Lr,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-Ve(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:jr(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-Ve(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:jr(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:Fr(30),zIndex:-1},{transform:Fr(),zIndex:0}]:[{transform:Fr(-100),zIndex:0},{transform:Fr(),zIndex:-1}]},percent:function(t,e,n){return n<0?1-Hr(e):Hr(t)},translate:function(t,e){return e<0?[{transform:Fr(30*t),zIndex:-1},{transform:Fr(-100*(1-t)),zIndex:0}]:[{transform:Fr(100*-t),zIndex:0},{transform:Fr(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:Fr(100),zIndex:0},{transform:Fr(),zIndex:-1}]:[{transform:Fr(-30),zIndex:-1},{transform:Fr(),zIndex:0}]},percent:function(t,e,n){return n>0?1-Hr(e):Hr(t)},translate:function(t,e){return e<0?[{transform:Fr(100*t),zIndex:0},{transform:Fr(-30*(1-t)),zIndex:-1}]:[{transform:Fr(-30*t),zIndex:-1},{transform:Fr(100*(1-t)),zIndex:0}]}}}),Ao={mixins:[ei,Jr,lo],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".qx-slideshow-items",attrItem:"qx-slideshow-item",selNav:".qx-slideshow-nav",Animations:$o},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],n=t[1];return n=n*this.list.offsetWidth/e||0,this.minHeight&&(n=Math.max(this.minHeight,n)),this.maxHeight&&(n=Math.min(this.maxHeight,n)),{height:n-pn(this.list,"height","content-box")}},write:function(t){var e=t.height;e>0&&Ve(this.list,"minHeight",e)},events:["resize"]}},Eo={mixins:[ei,Mr],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:function(){var t=this;["init","start","move","end"].forEach((function(e){var n=t[e];t[e]=function(e){Q(t.pos,ue(e)),n(e)}}))},events:{name:vt,passive:!1,handler:"init"},computed:{target:function(){return(this.$el.tBodies||[this.$el])[0]},items:function(){return Ot(this.target)},isEmpty:{get:function(){return B(this.items)},watch:function(t){He(this.target,this.clsEmpty,t)},immediate:!0},handles:{get:function(t,e){var n=t.handle;return n?Ne(n,e):this.items},watch:function(t,e){Ve(e,{touchAction:"",userSelect:""}),Ve(t,{touchAction:gt?"none":"",userSelect:"none"})},immediate:!0}},update:{write:function(){if(this.drag&&Ct(this.placeholder)){var t=this,e=t.pos,n=e.x,i=e.y,r=t.origin,o=r.offsetTop,s=r.offsetLeft,a=t.placeholder;Ve(this.drag,{top:i-o,left:n-s});var c=this.getSortable(document.elementFromPoint(n,i));if(c){var l=c.items;if(!l.some(tn.inProgress)){var u=function(t,e){return t[$(t,(function(t){return it(e,t.getBoundingClientRect())}))]}(l,{x:n,y:i});if(!l.length||u&&u!==a){this.touched.add(c);var h=this.getSortable(a);c!==h&&h.remove(a),c.insert(a,function(t,e,n,i,r){var o=Ot(t);if(o.length){var s=1===o.length;s&&xe(t,n);var a=function(t){return t.some((function(e,n){var i=e.getBoundingClientRect();return t.slice(n+1).some((function(t){var e=t.getBoundingClientRect();return!zo([i.left,i.right],[e.left,e.right])}))}))}(Ot(t));s&&Ee(n);var c=e.getBoundingClientRect();if(!a)return rc.left+c.width/2||!u&&l.top0||St(e)||Mt(e,"."+this.clsNoDrag)||this.handle&&!Mt(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=r,this.origin=Q({target:e,index:Bt(r)},this.pos),Jt(document,mt,this.move),Jt(document,wt,this.end),this.threshold||this.start(t))},start:function(t){var e,n,i;this.drag=(e=this.$container,n=this.placeholder,Ve(i=xe(e,n.outerHTML.replace(/(^<)(?:li|tr)|(?:li|tr)(\/>$)/g,"$1div$2")),"margin","0","important"),Ve(i,Q({boxSizing:"border-box",width:n.offsetWidth,height:n.offsetHeight},Ve(n,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),hn(i.firstElementChild,hn(n.firstElementChild)),i);var r=this.placeholder.getBoundingClientRect(),o=r.left,s=r.top;Q(this.origin,{offsetLeft:this.pos.x-o,offsetTop:this.pos.y-s}),Pe(this.drag,this.clsDrag,this.clsCustom),Pe(this.placeholder,this.clsPlaceholder),Pe(this.items,this.clsItem),Pe(document.documentElement,this.clsDragState),Zt(this.$el,"start",[this,this.placeholder]),function(t){var e=Date.now();xo=setInterval((function(){var n=t.x,i=t.y;i+=window.pageYOffset;var r=.3*(Date.now()-e);e=Date.now(),Rn(document.elementFromPoint(n,t.y)).reverse().some((function(t){var e=t.scrollTop,n=t.scrollHeight,o=cn(Vn(t)),s=o.top,a=o.bottom,c=o.height;if(si)e-=r;else{if(!(a>i&&a-350&&ethis.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end:function(){var t=this;if(Gt(document,mt,this.move),Gt(document,wt,this.end),Gt(window,"scroll",this.scroll),this.drag){clearInterval(xo);var e=this.getSortable(this.placeholder);this===e?this.origin.index!==Bt(this.placeholder)&&Zt(this.$el,"moved",[this,this.placeholder]):(Zt(e.$el,"added",[e,this.placeholder]),Zt(this.$el,"removed",[this,this.placeholder])),Zt(this.$el,"stop",[this,this.placeholder]),Ee(this.drag),this.drag=null,this.touched.forEach((function(e){var n=e.clsPlaceholder,i=e.clsItem;return t.touched.forEach((function(t){return Oe(t.items,n,i)}))})),this.touched=null,Oe(document.documentElement,this.clsDragState)}},insert:function(t,e){var n=this;if(!e||t!==e&&t!==e.previousElementSibling){Pe(this.items,this.clsItem);var i=function(){return e?ye(e,t):xe(n.target,t)};this.animation?this.animate(i):i()}},remove:function(t){Mt(t,this.target)&&(this.animation?this.animate((function(){return Ee(t)})):Ee(t))},getSortable:function(t){do{var e=this.$getComponent(t,"sortable");if(e&&(e===this||!1!==this.group&&e.group===this.group))return e}while(t=Ct(t))}}};function zo(t,e){return t[1]>e[0]&&e[1]>t[0]}var So={mixins:[tr,ni,ui],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["qx-animation-scale-up"],duration:100,cls:"qx-active",clsPos:"qx-tooltip"},beforeConnect:function(){var t;this._hasTitle=at(this.$el,"title"),st(this.$el,"title",""),this.updateAria(!1),function(t){return St(t)||kt(t,"a,button")||at(t,"tabindex")}(t=this.$el)||st(t,"tabindex","0")},disconnected:function(){this.hide(),st(this.$el,"title",this._hasTitle?this.title:null)},methods:{show:function(){var t=this;!this.isToggled(this.tooltip)&&this.title&&(this._unbind=Kt(document,"show keydown",this.hide,!1,(function(e){return"keydown"===e.type&&27===e.keyCode||"show"===e.type&&e.detail[0]!==t&&e.detail[0].$name===t.$name})),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},hide:function(){var t=this;kt(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip)&&this.toggleElement(this.tooltip,!1,!1).then((function(){t.tooltip=Ee(t.tooltip),t._unbind()})))},_show:function(){var t=this;this.tooltip=xe(this.container,'
      '+this.title+"
      "),Jt(this.tooltip,"toggled",(function(e,n){t.updateAria(n),n&&(t.positionAt(t.tooltip,t.$el),t.origin="y"===t.getAxis()?gn(t.dir)+"-"+t.align:t.align+"-"+gn(t.dir))})),this.toggleElement(this.tooltip,!0)},updateAria:function(t){st(this.$el,"aria-expanded",t)}},events:(yo={focus:"show",blur:"hide"},yo[bt+" "+xt]=function(t){le(t)||(t.type===bt?this.show():this.hide())},yo)};var Co={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"qx-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:et,beforeAll:et,beforeSend:et,complete:et,completeAll:et,error:et,fail:et,load:et,loadEnd:et,loadStart:et,progress:et},events:{change:function(t){kt(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){_o(t);var e=t.dataTransfer;e&&e.files&&(Oe(this.$el,this.clsDragover),this.upload(e.files))},dragenter:function(t){_o(t)},dragover:function(t){_o(t),Pe(this.$el,this.clsDragover)},dragleave:function(t){_o(t),Oe(this.$el,this.clsDragover)}},methods:{upload:function(t){var e=this;if(t.length){Zt(this.$el,"upload",[t]);for(var n=0;n