PageSourceSearch

https://bciaerospace.com/media/quixnxt/js/quix.vendor.js?6.2.9

js bciaerospace.com collected 2026-10-02 03:32:27 UTC 349,924 bytes, 2 lines download raw bytes

1/*! For license information please see quix.vendor.js.LICENSE.txt */
2(()=>{"use strict";var e,t={7133(e,t,n){n.r(t);var r,i=n(1449),o=n.n(i);n(1510),n(9594),n(6696),n(5740),n(6886),n(5636),n(8216);const s=(null===(r=window.qxUIkit)||void 0===r?void 0:r.sliderQueue)||[];window.qxUIkit=n(2133),s.forEach(e=>e()),document.addEventListener("bgsetproxy",function(e){var t;null===(t=e.target.querySelector(".lazyload-bg"))||void 0===t||t.classList.add("lazy-bg")}),o().init(),document.addEventListener("DOMContentLoaded",function(){const e=window.navigator.userAgent;!1!==/MSIE|Trident|Edge/.test(e)&&"undefined"==typeof Modernizr&&document.querySelectorAll(".qx-slider-pro-v2 .slider-pro-item").forEach(function(e){var t;const n=null===(t=e.querySelector("img"))||void 0===t?void 0:t.src;n&&(e.style.backgroundImage="url("+n+")",e.classList.add("compat-object-fit"))});const t=document.querySelector(".qx-element-gallery-v2 .qx-active");let n;t&&t.click(),i();const r=new AbortController;function i(){if(document.documentElement.classList.contains("quix-builder"))return!1;const e=document.documentElement.getAttribute("dir");let t=0;document.querySelectorAll(".qx-section--stretch").forEach(function(n){n.style.marginLeft="0",setTimeout(()=>{n.style.width=document.body.clientWidth+"px",t=n.getBoundingClientRect().left,0===t?n.style.offset=t+"px":"rtl"===e?n.style.marginRight=t+"px":n.style.marginLeft="-"+t+"px"},100)})}window.addEventListener("resize",function(){window.abortResizing?r.abort():(clearTimeout(n),n=setTimeout(i,200))},{signal:r.signal})})}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=t,e=[],r.O=(t,n,i,o)=>{if(!n){var s=1/0;for(u=0;u<e.length;u++){for(var[n,i,o]=e[u],a=!0,l=0;l<n.length;l++)(!1&o||s>=o)&&Object.keys(r.O).every(e=>r.O[e](n[l]))?n.splice(l--,1):(a=!1,o<s&&(s=o));if(a){e.splice(u--,1);var c=i();void 0!==c&&(t=c)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,i,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={132:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var i,o,[s,a,l]=n,c=0;if(s.some(t=>0!==e[t])){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(l)var u=l(r)}for(t&&t(n);c<s.length;c++)o=s[c],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(u)},n=self.webpackChunkpkg_quix=self.webpackChunkpkg_quix||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=r.O(void 0,[375],()=>r(7133));i=r.O(i)})(),(self.webpackChunkpkg_quix=self.webpackChunkpkg_quix||[]).push([[375],{9908(e,t,n){e.exports=n(8482)},1163(e,t,n){"use strict";var r=n(2505),i=n(3939),o=n(7073),s=n(4657),a=n(8748),l=n(1351),c=n(9499),u=n(7456);e.exports=function(e){return new Promise(function(t,n){var h=e.data,p=e.headers,d=e.responseType;r.isFormData(h)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(g+":"+m)}var y=a(e.baseURL,e.url);function v(){if(f){var r="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,o={data:d&&"text"!==d&&"json"!==d?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};i(t,n,o),f=null}}if(f.open(e.method.toUpperCase(),s(y,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=v:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(v)},f.onabort=function(){f&&(n(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||c(y))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in f&&r.forEach(p,function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),d&&"json"!==d&&(f.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),n(e),f=null)}
vendor: 5,673 bytes, line 2
2),h||(h=null),f.send(h)})}},8482(e,t,n){"use strict";var r=n(2505),i=n(4279),o=n(6872),s=n(528);function a(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var l=a(n(4820));l.Axios=o,l.create=function(e){return a(s(l.defaults,e))},l.Cancel=n(4649),l.CancelToken=n(2872),l.isCancel=n(593),l.all=function(e){return Promise.all(e)},l.spread=n(3791),l.isAxiosError=n(6104),e.exports=l,e.exports.default=l},4649(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},2872(e,t,n){"use strict";var r=n(4649);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},593(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},6872(e,t,n){"use strict";var r=n(2505),i=n(4657),o=n(9810),s=n(225),a=n(528),l=n(3992),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))});var i,o=[];if(this.interceptors.response.forEach(function(e){o.push(e.fulfilled,e.rejected)}),!r){var u=[s,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var h=e;n.length;){var p=n.shift(),d=n.shift();try{h=p(h)}catch(e){d(e);break}}try{i=s(h)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}}),e.exports=u},9810(e,t,n){"use strict";var r=n(2505);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},8748(e,t,n){"use strict";var r=n(1948),i=n(3089);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},7456(e,t,n){"use strict";var r=n(2908);e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},225(e,t,n){"use strict";var r=n(2505),i=n(2662),o=n(593),s=n(4820);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return a(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(a(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},2908(e){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},528(e,t,n){"use strict";var r=n(2505);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function l(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(e[i],t[i])}r.forEach(i,function(e){r.isUndefined(t[e])||(n[e]=l(void 0,t[e]))}),r.forEach(o,c),r.forEach(s,function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(void 0,t[i])}),r.forEach(a,function(r){r in t?n[r]=l(e[r],t[r]):r in e&&(n[r]=l(void 0,e[r]))});var u=i.concat(o).concat(s).concat(a),h=Object.keys(e).concat(Object.keys(t)).filter(function(e){return-1===u.indexOf(e)});return r.forEach(h,c),n}},3939(e,t,n){"use strict";var r=n(7456);e.exports=function(e,t,n){var i=n.config.validateStatus;
2n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2662(e,t,n){"use strict";var r=n(2505),i=n(4820);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,function(n){e=n.call(o,e,t)}),e}},4820(e,t,n){"use strict";var r=n(2505),i=n(7319),o=n(2908),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(1163)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){c.headers[e]={}}),r.forEach(["post","put","patch"],function(e){c.headers[e]=r.merge(s)}),e.exports=c},4279(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},4657(e,t,n){"use strict";var r=n(2505);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))}))}),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},3089(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},7073(e,t,n){"use strict";var r=n(2505);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1948(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6104(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},9499(e,t,n){"use strict";var r=n(2505);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},7319(e,t,n){"use strict";var r=n(2505);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},1351(e,t,n){"use strict";var r=n(2505),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}}),s):s}},3791(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},3992(e,t,n){"use strict";var r=n(7431),i={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var o={},s=r.version.split(".");function a(e,t){for(var n=t?t.split("."):s,r=e.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;
2if(n[i]<r[i])return!1}return!1}i.transitional=function(e,t,n){var i=t&&a(t);function s(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(s(r," has been removed in "+t));return i&&!o[r]&&(o[r]=!0,console.warn(s(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={isOlderVersion:a,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],l=void 0===a||s(a,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},2505(e,t,n){"use strict";var r=n(4279),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:l,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return a(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},1449(e){!function(t){var n=function(e,t,n){"use strict";var r,i;if(function(){var t,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(t in i=e.lazySizesConfig||e.lazysizesConfig||{},n)t in i||(i[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:i,noSupport:!0};var o,s,a,l,c,u,h,p,d,f,g,m,y,v,b,x,w,k,$,E,S,_,A,T,C,O,N,j,I,q,P,z,M,D,B,R,L,F,U,W,H,V,Y,J,X=t.documentElement,G=e.HTMLPictureElement,Z="addEventListener",K="getAttribute",Q=e[Z].bind(e),ee=e.setTimeout,te=e.requestAnimationFrame||ee,ne=e.requestIdleCallback,re=/^picture$/i,ie=["load","error","lazyincluded","_lazyloaded"],oe={},se=Array.prototype.forEach,ae=function(e,t){return oe[t]||(oe[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),oe[t].test(e[K]("class")||"")&&oe[t]},le=function(e,t){ae(e,t)||e.setAttribute("class",(e[K]("class")||"").trim()+" "+t)},ce=function(e,t){var n;(n=ae(e,t))&&e.setAttribute("class",(e[K]("class")||"").replace(n," "))},ue=function(e,t,n){var r=n?Z:"removeEventListener";n&&ue(e,t),ie.forEach(function(n){e[r](n,t)})},he=function(e,n,i,o,s){var a=t.createEvent("Event");
2return i||(i={}),i.instance=r,a.initEvent(n,!o,!s),a.detail=i,e.dispatchEvent(a),a},pe=function(t,n){var r;!G&&(r=e.picturefill||i.pf)?(n&&n.src&&!t[K]("srcset")&&t.setAttribute("srcset",n.src),r({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},de=function(e,t){return(getComputedStyle(e,null)||{})[t]},fe=function(e,t,n){for(n=n||e.offsetWidth;n<i.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},ge=(H=[],V=W=[],J=function(e,n){F&&!n?e.apply(this,arguments):(V.push(e),U||(U=!0,(t.hidden?ee:te)(Y)))},J._lsFlush=Y=function(){var e=V;for(V=W.length?H:W,F=!0,U=!1;e.length;)e.shift()();F=!1},J),me=function(e,t){return t?function(){ge(e)}:function(){var t=this,n=arguments;ge(function(){e.apply(t,n)})}},ye=function(e){var t,r,i=function(){t=null,e()},o=function(){var e=n.now()-r;e<99?ee(o,99-e):(ne||i)(i)};return function(){r=n.now(),t||(t=ee(o,99))}},ve=(w=/^img$/i,k=/^iframe$/i,$="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),E=0,S=0,_=-1,A=function(e){S--,(!e||S<0||!e.target)&&(S=0)},T=function(e){return null==x&&(x="hidden"==de(t.body,"visibility")),x||!("hidden"==de(e.parentNode,"visibility")&&"hidden"==de(e,"visibility"))},C=function(e,n){var r,i=e,o=T(e);for(m-=n,b+=n,y-=n,v+=n;o&&(i=i.offsetParent)&&i!=t.body&&i!=X;)(o=(de(i,"opacity")||1)>0)&&"visible"!=de(i,"overflow")&&(r=i.getBoundingClientRect(),o=v>r.left&&y<r.right&&b>r.top-1&&m<r.bottom+1);return o},N=function(e){var t,r=0,o=i.throttleDelay,s=i.ricTimeout,a=function(){t=!1,r=n.now(),e()},l=ne&&s>49?function(){ne(a,{timeout:s}),s!==i.ricTimeout&&(s=i.ricTimeout)}:me(function(){ee(a)},!0);return function(e){var i;(e=!0===e)&&(s=33),t||(t=!0,(i=o-(n.now()-r))<0&&(i=0),e||i<9?l():ee(l,i))}}(O=function(){var e,n,o,s,a,l,h,d,w,k,A,O,N=r.elements;if((p=i.loadMode)&&S<8&&(e=N.length)){for(n=0,_++;n<e;n++)if(N[n]&&!N[n]._lazyRace)if(!$||r.prematureUnveil&&r.prematureUnveil(N[n]))D(N[n]);else if((d=N[n][K]("data-expand"))&&(l=1*d)||(l=E),k||(k=!i.expand||i.expand<1?X.clientHeight>500&&X.clientWidth>500?500:370:i.expand,r._defEx=k,A=k*i.expFactor,O=i.hFac,x=null,E<A&&S<1&&_>2&&p>2&&!t.hidden?(E=A,_=0):E=p>1&&_>1&&S<6?k:0),w!==l&&(f=innerWidth+l*O,g=innerHeight+l,h=-1*l,w=l),o=N[n].getBoundingClientRect(),(b=o.bottom)>=h&&(m=o.top)<=g&&(v=o.right)>=h*O&&(y=o.left)<=f&&(b||v||y||m)&&(i.loadHidden||T(N[n]))&&(u&&S<3&&!d&&(p<3||_<4)||C(N[n],l))){if(D(N[n]),a=!0,S>9)break}else!a&&u&&!s&&S<4&&_<4&&p>2&&(c[0]||i.preloadAfterLoad)&&(c[0]||!d&&(b||v||y||m||"auto"!=N[n][K](i.sizesAttr)))&&(s=c[0]||N[n]);s&&!a&&D(s)}}),I=me(j=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(A(e),le(t,i.loadedClass),ce(t,i.loadingClass),ue(t,q),he(t,"lazyloaded"))}),q=function(e){I({target:e.target})},P=function(e,t){var n=e.getAttribute("data-load-mode")||i.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},z=function(e){var t,n=e[K](i.srcsetAttr);(t=i.customMedia[e[K]("data-media")||e[K]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},M=me(function(e,t,n,r,o){var s,a,l,c,u,p;(u=he(e,"lazybeforeunveil",t)).defaultPrevented||(r&&(n?le(e,i.autosizesClass):e.setAttribute("sizes",r)),a=e[K](i.srcsetAttr),s=e[K](i.srcAttr),o&&(c=(l=e.parentNode)&&re.test(l.nodeName||"")),p=t.firesLoad||"src"in e&&(a||s||c),u={target:e},le(e,i.loadingClass),p&&(clearTimeout(h),h=ee(A,2500),ue(e,q,!0)),c&&se.call(l.getElementsByTagName("source"),z),a?e.setAttribute("srcset",a):s&&!c&&(k.test(e.nodeName)?P(e,s):e.src=s),o&&(a||c)&&pe(e,{src:s})),e._lazyRace&&delete e._lazyRace,ce(e,i.lazyClass),ge(function(){var t=e.complete&&e.naturalWidth>1;p&&!t||(t&&le(e,i.fastLoadedClass),j(u),e._lazyCache=!0,ee(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&S--},!0)}),D=function(e){if(!e._lazyRace){var t,n=w.test(e.nodeName),r=n&&(e[K](i.sizesAttr)||e[K]("sizes")),o="auto"==r;(!o&&u||!n||!e[K]("src")&&!e.srcset||e.complete||ae(e,i.errorClass)||!ae(e,i.lazyClass))&&(t=he(e,"lazyunveilread").detail,o&&be.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,S++,M(e,t,o,r,n))}},B=ye(function(){i.loadMode=3,N()}),L=function(){u||(n.now()-d<999?ee(L,999):(u=!0,i.loadMode=3,N(),Q("scroll",R,!0)))},{_:function(){d=n.now(),r.elements=t.getElementsByClassName(i.lazyClass),c=t.getElementsByClassName(i.lazyClass+" "+i.preloadClass),Q("scroll",N,!0),Q("resize",N,!0),Q("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+i.loadingClass);
2n.length&&n.forEach&&te(function(){n.forEach(function(e){e.complete&&D(e)})})}}),e.MutationObserver?new MutationObserver(N).observe(X,{childList:!0,subtree:!0,attributes:!0}):(X[Z]("DOMNodeInserted",N,!0),X[Z]("DOMAttrModified",N,!0),setInterval(N,999)),Q("hashchange",N,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[Z](e,N,!0)}),/d$|^c/.test(t.readyState)?L():(Q("load",L),t[Z]("DOMContentLoaded",N),ee(L,2e4)),r.elements.length?(O(),ge._lsFlush()):N()},checkElems:N,unveil:D,_aLSL:R=function(){3==i.loadMode&&(i.loadMode=2),B()}}),be=(s=me(function(e,t,n,r){var i,o,s;if(e._lazysizesWidth=r,r+="px",e.setAttribute("sizes",r),re.test(t.nodeName||""))for(o=0,s=(i=t.getElementsByTagName("source")).length;o<s;o++)i[o].setAttribute("sizes",r);n.detail.dataAttr||pe(e,n.detail)}),a=function(e,t,n){var r,i=e.parentNode;i&&(n=fe(e,i,n),(r=he(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=r.detail.width)&&n!==e._lazysizesWidth&&s(e,i,r,n))},{_:function(){o=t.getElementsByClassName(i.autosizesClass),Q("resize",l)},checkElems:l=ye(function(){var e,t=o.length;if(t)for(e=0;e<t;e++)a(o[e])}),updateElem:a}),xe=function(){!xe.i&&t.getElementsByClassName&&(xe.i=!0,be._(),ve._())};return ee(function(){i.init&&xe()}),r={cfg:i,autoSizer:be,loader:ve,init:xe,uP:pe,aC:le,rC:ce,hC:ae,fire:he,gW:fe,rAF:ge}}(t,t.document,Date);t.lazySizes=n,e.exports&&(e.exports=n)}("undefined"!=typeof window?window:{})}
2,6696(e,t,n){var r,i,o;!function(s,a){a=a.bind(null,s,s.document),e.exports?a(n(1449)):(i=[n(1449)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o))}(window,function(e,t,n){"use strict";if(e.addEventListener){var r=n.cfg,i=/\s+/g,o=/\s*\|\s+|\s+\|\s*/g,s=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,a=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,l=/\(|\)|'/,c={contain:1,cover:1},u=function(e,t){if(t){var n=t.match(a);n&&n[1]?e.setAttribute("type",n[1]):e.setAttribute("media",r.customMedia[t]||t)}},h=function(e){if(e.target._lazybgset){var t=e.target,r=t._lazybgset,i=t.currentSrc||t.src;if(i){var o=l.test(i)?JSON.stringify(i):i,s=n.fire(r,"bgsetproxy",{src:i,useSrc:o,fullSrc:null});s.defaultPrevented||(r.style.backgroundImage=s.detail.fullSrc||"url("+s.detail.useSrc+")")}t._lazybgsetLoading&&(n.fire(r,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading)}};addEventListener("lazybeforeunveil",function(e){var a,l,c;!e.defaultPrevented&&(a=e.target.getAttribute("data-bgset"))&&(c=e.target,(l=t.createElement("img")).alt="",l._lazybgsetLoading=!0,e.detail.firesLoad=!0,function(e,n,a){var l=t.createElement("picture"),c=n.getAttribute(r.sizesAttr),h=n.getAttribute("data-ratio"),p=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:l,writable:!0}),e=e.replace(i," ").split(o),l.style.display="none",a.className=r.lazyClass,1!=e.length||c||(c="auto"),e.forEach(function(e){var n,i=t.createElement("source");c&&"auto"!=c&&i.setAttribute("sizes",c),(n=e.match(s))?(i.setAttribute(r.srcsetAttr,n[1]),u(i,n[2]),u(i,n[3])):i.setAttribute(r.srcsetAttr,e),l.appendChild(i)}),c&&(a.setAttribute(r.sizesAttr,c),n.removeAttribute(r.sizesAttr),n.removeAttribute("sizes")),p&&a.setAttribute("data-optimumx",p),h&&a.setAttribute("data-ratio",h),l.appendChild(a),n.appendChild(l)}(a,c,l),setTimeout(function(){n.loader.unveil(l),n.rAF(function(){n.fire(l,"_lazyloaded",{},!0,!0),l.complete&&h({target:l})})}))}),t.addEventListener("load",h,!0),e.addEventListener("lazybeforesizes",function(e){if(e.detail.instance==n&&e.target._lazybgset&&e.detail.dataAttr){var t=function(e){var t;return t=(getComputedStyle(e)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!c[t]&&c[e.style.backgroundSize]&&(t=e.style.backgroundSize),t}(e.target._lazybgset);c[t]&&(e.target._lazysizesParentFit=t,n.rAF(function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit}))}},!0),t.documentElement.addEventListener("lazybeforesizes",function(e){var t,r;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==n&&(e.detail.width=(t=e.target._lazybgset,r=n.gW(t,t.parentNode),(!t._lazysizesWidth||r>t._lazysizesWidth)&&(t._lazysizesWidth=r),t._lazysizesWidth))})}})},1510(e,t,n){var r,i,o;!function(s,a){s&&(a=a.bind(null,s,s.document),e.exports?a(n(1449)):(i=[n(1449)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o)))}("undefined"!=typeof window?window:0,function(e,t,n,r){"use strict";var i,o=t.createElement("a").style,s="objectFit"in o,a=/object-fit["']*\s*:\s*["']*(contain|cover)/,l=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,c="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",u=/\(|\)|'/,h={center:"center","50% 50%":"center"};if(!s||!s||!("objectPosition"in o)){var p=function(e){if(e.detail.instance==n){var r=e.target,o=function(e){var t=(getComputedStyle(e,null)||{}).fontFamily||"",n=t.match(a)||"",r=n&&t.match(l)||"";return r&&(r=r[1]),{fit:n&&n[1]||"",position:h[r]||r||"center"}}(r);return!(!o.fit||s&&"center"==o.position||(function(e,r){var o,s,a,l,h=n.cfg,p=function(){var t=e.currentSrc||e.src;t&&s!==t&&(s=t,l.backgroundImage="url("+(u.test(t)?JSON.stringify(t):t)+")",o||(o=!0,n.rC(a,h.loadingClass),n.aC(a,h.loadedClass)))},d=function(){n.rAF(p)};e._lazysizesParentFit=r.fit,e.addEventListener("lazyloaded",d,!0),e.addEventListener("load",d,!0),n.rAF(function(){var o=e,s=e.parentNode;"PICTURE"==s.nodeName.toUpperCase()&&(o=s,s=s.parentNode),function(e){var t=e.previousElementSibling;t&&n.hC(t,i)&&(t.parentNode.removeChild(t),e.style.position=t.getAttribute("data-position")||"",e.style.visibility=t.getAttribute("data-visibility")||"")}(o),i||function(){if(!i){var e=t.createElement("style");
2i=n.cfg.objectFitClass||"lazysizes-display-clone",t.querySelector("head").appendChild(e)}}(),a=e.cloneNode(!1),l=a.style,a.addEventListener("load",function(){var e=a.currentSrc||a.src;e&&e!=c&&(a.src=c,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,i),["data-parent-fit","data-parent-container","data-object-fit-polyfilled",h.srcsetAttr,h.srcAttr].forEach(function(e){a.removeAttribute(e)}),a.src=c,a.srcset="",l.backgroundRepeat="no-repeat",l.backgroundPosition=r.position,l.backgroundSize=r.fit,a.setAttribute("data-position",o.style.position),a.setAttribute("data-visibility",o.style.visibility),o.style.visibility="hidden",o.style.position="absolute",e.setAttribute("data-parent-fit",r.fit),e.setAttribute("data-parent-container","prev"),e.setAttribute("data-object-fit-polyfilled",""),e._objectFitPolyfilledDisplay=a,s.insertBefore(a,o),e._lazysizesParentFit&&delete e._lazysizesParentFit,e.complete&&p()})}(r,o),0))}};e.addEventListener("lazybeforesizes",function(e){if(e.detail.instance==n){var t=e.target;null==t.getAttribute("data-object-fit-polyfilled")||t._objectFitPolyfilledDisplay||p(e)||n.rAF(function(){t.removeAttribute("data-object-fit-polyfilled")})}}),e.addEventListener("lazyunveilread",p,!0),r&&r.detail&&p(r)}})}
2,6886(e,t,n){var r,i,o;!function(s,a){s&&(a=a.bind(null,s,s.document),e.exports?a(n(1449)):(i=[n(1449)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o)))}("undefined"!=typeof window?window:0,function(e,t,n){"use strict";if(e.addEventListener){var r,i,o,s,a,l,c,u,h=/^picture$/i,p=t.documentElement,d=(o=/(([^,\s].[^\s]+)\s+(\d+)(w|h)(\s+(\d+)(w|h))?)/g,s=function(e,t,n,r,o,s,a,l){i.push({c:t,u:n,w:1*("w"==l?a:r)})},function(e){return i=[],e.replace(o,s),i}),f=(a=function(e,t){return e.w-t.w},l=function(e,t){var r={srcset:e.getAttribute(n.cfg.srcsetAttr)||""},i=d(r.srcset);return Object.defineProperty(e,t,{value:r,writable:!0}),r.cands=i,r.index=0,r.dirty=!1,i[0]&&i[0].w?(i.sort(a),r.cSrcset=[i[r.index].c]):(r.cSrcset=r.srcset?[r.srcset]:[],r.cands=[]),r},function(e,t){var n,r,i,o;if(!e[t]&&(o=e.parentNode||{},e[t]=l(e,t),e[t].isImg=!0,h.test(o.nodeName||"")))for(e[t].picture=!0,r=0,i=(n=o.getElementsByTagName("source")).length;r<i;r++)l(n[r],t).isImg=!1;return e[t]}),g={_lazyOptimumx:(c=function(e,t,n){var r,i;return!e||!e.d||(i=n>.7?.6:.4,!(e.d>=n)&&((r=Math.pow(e.d-i,1.6)||.1)<.1?r=.1:r>3&&(r=3),e.d+(t-n)*r<n))},function(e,t,n){var r,i;for(r=0;r<e.cands.length;r++)if((i=e.cands[r]).d=(i.w||1)/t,!(e.index>=r)){if(!(i.d<=n||c(e.cands[r-1],i.d,n)))break;e.cSrcset.push(i.c),e.index=r}})},m=(u=function(e,t,n,r,i){var o,s=e[i];s&&(o=s.index,g[i](s,t,n),s.dirty&&o==s.index||(s.cSrcset.join(", "),e.setAttribute(r,s.cSrcset.join(", ")),s.dirty=!0))},function(e,t,n,r,i){var o,s,a,l,c=e[i];if(c.width=t,c.picture&&(s=e.parentNode))for(l=0,a=(o=s.getElementsByTagName("source")).length;l<a;l++)u(o[l],t,n,r,i);u(e,t,n,r,i)}),y=function(e){var t=e.getAttribute("data-optimumx")||e.getAttribute("data-maxdpr");return!t&&r.constrainPixelDensity&&(t="auto"),t&&(t="auto"==t?r.getOptimumX(e):parseFloat(t,10)),t},v=function(){n&&!n.getOptimumX&&(n.getX=y,n.pWS=d,p.removeEventListener("lazybeforeunveil",v))};p.addEventListener("lazybeforeunveil",v),setTimeout(v),"function"!=typeof(r=n&&n.cfg).getOptimumX&&(r.getOptimumX=function(){var t=e.devicePixelRatio||1;return t>2.6?t*=.6:t>1.9?t*=.8:t-=.01,Math.min(Math.round(100*t)/100,2)}),e.devicePixelRatio&&addEventListener("lazybeforesizes",function(e){if(e.detail.instance==n){var t,i,o,s,a=e.target,l=e.detail,c=l.dataAttr;e.defaultPrevented||!(t=y(a))||t>=devicePixelRatio||(!c||!a._lazyOptimumx||l.reloaded||r.unloadedClass&&n.hC(a,r.unloadedClass)||(a._lazyOptimumx=null),i=f(a,"_lazyOptimumx"),(o=l.width)&&(i.width||0)<o&&(s=c?n.cfg.srcsetAttr:"srcset",n.rAF(function(){m(a,o,t,s,"_lazyOptimumx")})))}})}})},9594(e,t,n){var r,i,o;!function(s,a){s&&(a=a.bind(null,s,s.document),e.exports?a(n(1449)):(i=[n(1449)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o)))}("undefined"!=typeof window?window:0,function(e,t,n){"use strict";if(e.addEventListener){var r=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,i=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,o=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,s=/^picture$/i,a=n.cfg,l={getParent:function(t,n){var r=t,i=t.parentNode;return n&&"prev"!=n||!i||!s.test(i.nodeName||"")||(i=i.parentNode),"self"!=n&&(r="prev"==n?t.previousElementSibling:n&&(i.closest||e.jQuery)&&(i.closest?i.closest(n):jQuery(i).closest(n)[0])||i),r},getFit:function(e){var t,n,r=getComputedStyle(e,null)||{},s=r.content||r.fontFamily,a={fit:e._lazysizesParentFit||e.getAttribute("data-parent-fit")};return!a.fit&&s&&(t=s.match(i))&&(a.fit=t[1]),a.fit?(!(n=e._lazysizesParentContainer||e.getAttribute("data-parent-container"))&&s&&(t=s.match(o))&&(n=t[1]),a.parent=l.getParent(e,n)):a.fit=r.objectFit,a},getImageRatio:function(t){var n,i,o,l,c,u,h,p=t.parentNode,d=p&&s.test(p.nodeName||"")?p.querySelectorAll("source, img"):[t];for(n=0;n<d.length;n++)if(i=(t=d[n]).getAttribute(a.srcsetAttr)||t.getAttribute("srcset")||t.getAttribute("data-pfsrcset")||t.getAttribute("data-risrcset")||"",o=t._lsMedia||t.getAttribute("media"),o=a.customMedia[t.getAttribute("data-media")||o]||o,i&&(!o||(e.matchMedia&&matchMedia(o)||{}).matches)){(l=parseFloat(t.getAttribute("data-aspectratio")))||((c=i.match(r))?"w"==c[2]?(u=c[1],h=c[3]):(u=c[3],h=c[1]):(u=t.getAttribute("width"),h=t.getAttribute("height")),l=u/h);break}return l},calculateSize:function(e,t){var n,r,i,o=this.getFit(e),s=o.fit,a=o.parent;return"width"==s||("contain"==s||"cover"==s)&&(r=this.getImageRatio(e))?(a?t=a.clientWidth:a=e,i=t,"width"==s?i=t:(n=t/a.clientHeight)&&("cover"==s&&n<r||"contain"==s&&n>r)&&(i=t*(r/n)),i):t}};n.parentFit=l,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail.instance==n){var t=e.target;e.detail.width=l.calculateSize(t,e.detail.width)}})}})},8216(e,t,n){var r,i,o;!function(s,a){a=a.bind(null,s,s.document),e.exports?a(n(1449)):(i=[n(1449)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o))}(window,function(e,t,n){"use strict";var r,i;"srcset"in t.createElement("img")&&(r=/^img$/i,i=function(e){e.target.style.backgroundSize="",e.target.style.backgroundImage="",e.target.removeEventListener(e.type,i)},t.addEventListener("lazybeforeunveil",function(e){if(e.detail.instance==n){var t=e.target;
2if(r.test(t.nodeName)){var o=t.getAttribute("src");o&&(t.style.backgroundSize="100% 100%",t.style.backgroundImage="url("+o+")",t.removeAttribute("src"),t.addEventListener("load",i))}}},!1))})},5636(e,t,n){var r,i,o;!function(s,a){s&&(a=a.bind(null,s,s.document),e.exports?a(n(1449)):(i=[n(1449)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o)))}("undefined"!=typeof window?window:0,function(e,t,n){"use strict";var r,i,o,s,a,l,c,u,h,p,d,f,g,m,y,v,b=n.cfg,x=t.createElement("img"),w="sizes"in x&&"srcset"in x,k=/\s+\d+h/g,$=(i=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,o=Array.prototype.forEach,function(){var e=t.createElement("img"),r=function(e){var t,n,r=e.getAttribute(b.srcsetAttr);r&&(n=r.match(i))&&((t="w"==n[2]?n[1]/n[3]:n[3]/n[1])&&e.setAttribute("data-aspectratio",t),e.setAttribute(b.srcsetAttr,r.replace(k,"")))},s=function(e){if(e.detail.instance==n){var t=e.target.parentNode;t&&"PICTURE"==t.nodeName&&o.call(t.getElementsByTagName("source"),r),r(e.target)}},a=function(){e.currentSrc&&t.removeEventListener("lazybeforeunveil",s)};t.addEventListener("lazybeforeunveil",s),e.onload=a,e.onerror=a,e.srcset="data:,a 1w 1h",e.complete&&a()});b.supportsType||(b.supportsType=function(e){return!e}),e.HTMLPictureElement&&w?!n.hasHDescriptorFix&&t.msElementsFromPoint&&(n.hasHDescriptorFix=!0,$()):e.picturefill||b.pf||(b.pf=function(t){var n,i;if(!e.picturefill)for(n=0,i=t.elements.length;n<i;n++)r(t.elements[n])},u=function(e,t){return e.w-t.w},h=/^\s*\d+\.*\d*px\s*$/,a=/(([^,\s].[^\s]+)\s+(\d+)w)/g,l=/\s/,c=function(e,t,n,r){s.push({c:t,u:n,w:1*r})},d=function(){var e,n,i;d.init||(d.init=!0,addEventListener("resize",(n=t.getElementsByClassName("lazymatchmedia"),i=function(){var e,t;for(e=0,t=n.length;e<t;e++)r(n[e])},function(){clearTimeout(e),e=setTimeout(i,66)})))},f=function(t,r){var i,o=t.getAttribute("srcset")||t.getAttribute(b.srcsetAttr);!o&&r&&(o=t._lazypolyfill?t._lazypolyfill._set:t.getAttribute(b.srcAttr)||t.getAttribute("src")),t._lazypolyfill&&t._lazypolyfill._set==o||(i=p(o||""),r&&t.parentNode&&(i.isPicture="PICTURE"==t.parentNode.nodeName.toUpperCase(),i.isPicture&&e.matchMedia&&(n.aC(t,"lazymatchmedia"),d())),i._set=o,Object.defineProperty(t,"_lazypolyfill",{value:i,writable:!0}))},g=function(t){return e.matchMedia?(g=function(e){return!e||(matchMedia(e)||{}).matches},g(t)):!t},m=function(t){var r,i,o,s,a,l,c;if(f(s=t,!0),(a=s._lazypolyfill).isPicture)for(i=0,o=(r=t.parentNode.getElementsByTagName("source")).length;i<o;i++)if(b.supportsType(r[i].getAttribute("type"),t)&&g(r[i].getAttribute("media"))){s=r[i],f(s),a=s._lazypolyfill;break}return a.length>1?(c=s.getAttribute("sizes")||"",c=h.test(c)&&parseInt(c,10)||n.gW(t,t.parentNode),a.d=function(t){var r=e.devicePixelRatio||1,i=n.getX&&n.getX(t);return Math.min(i||r,2.5,r)}(t),!a.src||!a.w||a.w<c?(a.w=c,l=function(e){for(var t,n,r=e.length,i=e[r-1],o=0;o<r;o++)if((i=e[o]).d=i.w/e.w,i.d>=e.d){!i.cached&&(t=e[o-1])&&t.d>e.d-.13*Math.pow(e.d,2.2)&&(n=Math.pow(t.d-.6,1.6),t.cached&&(t.d+=.15*n),t.d+(i.d-e.d)*n>e.d&&(i=t));break}return i}(a.sort(u)),a.src=l):l=a.src):l=a[0],l},(y=function(e){if(!w||!e.parentNode||"PICTURE"==e.parentNode.nodeName.toUpperCase()){var t=m(e);t&&t.u&&e._lazypolyfill.cur!=t.u&&(e._lazypolyfill.cur=t.u,t.cached=!0,e.setAttribute(b.srcAttr,t.u),e.setAttribute("src",t.u))}}).parse=p=function(e){return s=[],(e=e.trim()).replace(k,"").replace(a,c),s.length||!e||l.test(e)||s.push({c:e,u:e,w:99}),s},r=y,b.loadedClass&&b.loadingClass&&(v=[],['img[sizes$="px"][srcset].',"picture > img:not([srcset])."].forEach(function(e){v.push(e+b.loadedClass),v.push(e+b.loadingClass)}),b.pf({elements:t.querySelectorAll(v.join(", "))})))})},5740(e,t,n){var r,i,o;!function(s,a){a=a.bind(null,s,s.document),e.exports?a(n(1449)):(i=[n(1449)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o))}(window,function(e,t,n){"use strict";var r,i,o={};function s(e,n,r){if(!o[e]){var i=t.createElement(n?"link":"script"),s=t.getElementsByTagName("script")[0];n?(i.rel="stylesheet",i.href=e):(i.onload=function(){i.onerror=null,i.onload=null,r()},i.onerror=i.onload,i.src=e),o[e]=!0,o[i.src||i.href]=!0,s.parentNode.insertBefore(i,s)}}t.addEventListener&&(i=/\(|\)|\s|'/,r=function(e,n){var r=t.createElement("img");r.onload=function(){r.onload=null,r.onerror=null,r=null,n()},r.onerror=r.onload,r.src=e,r&&r.complete&&r.onload&&r.onload()},addEventListener("lazybeforeunveil",function(e){var t,o,a;if(e.detail.instance==n&&!e.defaultPrevented){var l=e.target;if("none"==l.preload&&(l.preload=l.getAttribute("data-preload")||"auto"),null!=l.getAttribute("data-autoplay"))if(l.getAttribute("data-expand")&&!l.autoplay)try{l.play()}catch(e){}
2else requestAnimationFrame(function(){l.setAttribute("data-expand","-10"),n.aC(l,n.cfg.lazyClass)});(t=l.getAttribute("data-link"))&&s(t,!0),(t=l.getAttribute("data-script"))&&(e.detail.firesLoad=!0,s(t,null,function(){e.detail.firesLoad=!1,n.fire(l,"_lazyloaded",{},!0,!0)})),(t=l.getAttribute("data-require"))&&(n.cfg.requireJs?n.cfg.requireJs([t]):s(t)),(o=l.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,r(o,function(){l.style.backgroundImage="url("+(i.test(o)?JSON.stringify(o):o)+")",e.detail.firesLoad=!1,n.fire(l,"_lazyloaded",{},!0,!0)})),(a=l.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,r(a,function(){l.poster=a,e.detail.firesLoad=!1,n.fire(l,"_lazyloaded",{},!0,!0)}))}},!1))})},5001(e,t,n){e.exports=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){return i(t[s][1][e]||e)},c,c.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,r){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(u),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}t.exports=function(e){1!==c.push(e)||r||n()}}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&d(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function h(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return o.reject(e,t)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function p(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var s=f(function(){t(i,r)});"error"===s.status&&r(s.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=c,c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(i);return this.state!==l?h(n,this.state===a?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){h(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){h(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=f(p,t);
2if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)d(e,r);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},c.reject=function(e){var t=new this(i);return o.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,l=-1,c=new this(i);++l<n;)u(e[l],l);return c;function u(e,i){t.resolve(e).then(function(e){s[i]=e,++a!==n||r||(r=!0,o.resolve(c,s))},function(e){r||(r=!0,o.reject(c,e))})}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=-1,a=new this(i);++s<n;)l(e[s]);return a;function l(e){t.resolve(e).then(function(e){r||(r=!0,o.resolve(a,e))},function(e){r||(r=!0,o.reject(a,e))})}}},{1:1}],3:[function(e,t,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var s=Promise;function a(e,t){t&&e.then(function(e){t(null,e)},function(e){t(e)})}function l(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function c(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function u(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var h="local-forage-detect-blob-support",p=void 0,d={},f=Object.prototype.toString,g="readonly",m="readwrite";function y(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}function v(e){return"boolean"==typeof p?s.resolve(p):function(e){return new s(function(t){var n=e.transaction(h,m),r=o([""]);n.objectStore(h).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}}).catch(function(){return!1})}(e).then(function(e){return p=e})}function b(e){var t=d[e.name],n={};n.promise=new s(function(e,t){n.resolve=e,n.reject=t}),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then(function(){return n.promise}):t.dbReady=n.promise}function x(e){var t=d[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function w(e,t){var n=d[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function k(e,t){return new s(function(n,r){if(d[e.name]=d[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);b(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var s=i.open.apply(i,o);t&&(s.onupgradeneeded=function(t){var n=s.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(h)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),s.onerror=function(e){e.preventDefault(),r(s.error)},s.onsuccess=function(){var t=s.result;t.onversionchange=function(e){e.target.close()},n(t),x(e)}})}function $(e){return k(e,!1)}function E(e){return k(e,!0)}function S(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,i=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function _(e){return o([y(atob(e.data))],{type:e.type})}function A(e){return e&&e.__local_forage_encoded_blob}function T(e){var t=this,n=t._initReady().then(function(){var e=d[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady});return l(n,e,e),n}function C(e,t,n,r){void 0===r&&(r=1);try{var i=e.db.transaction(e.storeName,t);n(null,i)}catch(i){if(r>0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return s.resolve().then(function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),E(e)}).then(function(){return function(e){b(e);for(var t=d[e.name],n=t.forages,r=0;r<n.length;r++){var i=n[r];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,$(e).then(function(t){return e.db=t,S(e)?E(e):t}).then(function(r){e.db=t.db=r;
2for(var i=0;i<n.length;i++)n[i]._dbInfo.db=r}).catch(function(t){throw w(e,t),t})}(e).then(function(){C(e,t,n,r-1)})}).catch(n);n(i)}}var O={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var i=d[n.name];i||(i={forages:[],db:null,dbReady:null,deferredOperations:[]},d[n.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=T);var o=[];function a(){return s.resolve()}for(var l=0;l<i.forages.length;l++){var c=i.forages[l];c!==t&&o.push(c._initReady().catch(a))}var u=i.forages.slice(0);return s.all(o).then(function(){return n.db=i.db,$(n)}).then(function(e){return n.db=e,S(n,t._defaultConfig.version)?E(n):e}).then(function(e){n.db=i.db=e,t._dbInfo=n;for(var r=0;r<u.length;r++){var o=u[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}})},_support:function(){try{if(!i||!i.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=new s(function(t,r){n.ready().then(function(){C(n._dbInfo,g,function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).openCursor(),a=1;s.onsuccess=function(){var n=s.result;if(n){var r=n.value;A(r)&&(r=_(r));var i=e(r,n.key,a++);void 0!==i?t(i):n.continue()}else t()},s.onerror=function(){r(s.error)}}catch(e){r(e)}})}).catch(r)});return a(r,t),r},getItem:function(e,t){var n=this;e=c(e);var r=new s(function(t,r){n.ready().then(function(){C(n._dbInfo,g,function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).get(e);s.onsuccess=function(){var e=s.result;void 0===e&&(e=null),A(e)&&(e=_(e)),t(e)},s.onerror=function(){r(s.error)}}catch(e){r(e)}})}).catch(r)});return a(r,t),r},setItem:function(e,t,n){var r=this;e=c(e);var i=new s(function(n,i){var o;r.ready().then(function(){return o=r._dbInfo,"[object Blob]"===f.call(t)?v(o.db).then(function(e){return e?t:(n=t,new s(function(e,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:n.type})},r.readAsBinaryString(n)}));var n}):t}).then(function(t){C(r._dbInfo,m,function(o,s){if(o)return i(o);try{var a=s.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var l=a.put(t,e);s.oncomplete=function(){void 0===t&&(t=null),n(t)},s.onabort=s.onerror=function(){var e=l.error?l.error:l.transaction.error;i(e)}}catch(e){i(e)}})}).catch(i)});return a(i,n),i},removeItem:function(e,t){var n=this;e=c(e);var r=new s(function(t,r){n.ready().then(function(){C(n._dbInfo,m,function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(s.error)},o.onabort=function(){var e=s.error?s.error:s.transaction.error;r(e)}}catch(e){r(e)}})}).catch(r)});return a(r,t),r},clear:function(e){var t=this,n=new s(function(e,n){t.ready().then(function(){C(t._dbInfo,m,function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){var e=o.error?o.error:o.transaction.error;n(e)}}catch(e){n(e)}})}).catch(n)});return a(n,e),n},length:function(e){var t=this,n=new s(function(e,n){t.ready().then(function(){C(t._dbInfo,g,function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(e){n(e)}})}).catch(n)});return a(n,e),n},key:function(e,t){var n=this,r=new s(function(t,r){e<0?t(null):n.ready().then(function(){C(n._dbInfo,g,function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName),a=!1,l=s.openKeyCursor();l.onsuccess=function(){var n=l.result;n?0===e||a?t(n.key):(a=!0,n.advance(e)):t(null)},l.onerror=function(){r(l.error)}}catch(e){r(e)}})}).catch(r)});return a(r,t),r},keys:function(e){var t=this,n=new s(function(e,n){t.ready().then(function(){C(t._dbInfo,g,function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).openKeyCursor(),s=[];o.onsuccess=function(){var t=o.result;t?(s.push(t.key),t.continue()):e(s)},o.onerror=function(){n(o.error)}}catch(e){n(e)}})}).catch(n)});return a(n,e),n},dropInstance:function(e,t){t=u.apply(this,arguments);var n,r=this.config();if((e="function"!=typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName),e.name){var o=e.name===r.name&&this._dbInfo.db?s.resolve(this._dbInfo.db):$(e).then(function(t){var n=d[e.name],r=n.forages;n.db=t;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=t;return t});n=e.storeName?o.then(function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.ver
2sion+1;b(e);var r=d[e.name],o=r.forages;t.close();for(var a=0;a<o.length;a++){var l=o[a];l._dbInfo.db=null,l._dbInfo.version=n}var c=new s(function(t,r){var o=i.open(e.name,n);o.onerror=function(e){o.result.close(),r(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}});return c.then(function(e){r.db=e;for(var t=0;t<o.length;t++){var n=o[t];n._dbInfo.db=e,x(n._dbInfo)}}).catch(function(t){throw(w(e,t)||s.resolve()).catch(function(){}),t})}}):o.then(function(t){b(e);var n=d[e.name],r=n.forages;t.close();for(var o=0;o<r.length;o++)r[o]._dbInfo.db=null;var a=new s(function(t,n){var r=i.deleteDatabase(e.name);r.onerror=function(){var e=r.result;e&&e.close(),n(r.error)},r.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}});return a.then(function(e){n.db=e;for(var t=0;t<r.length;t++)x(r[t]._dbInfo)}).catch(function(t){throw(w(e,t)||s.resolve()).catch(function(){}),t})})}else n=s.reject("Invalid arguments");return a(n,t),n}};var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",j=/^~~local_forage_type~([^~]+)~/,I="__lfsc__:",q="arbf",P="blob",z="si08",M="ui08",D="uic8",B="si16",R="si32",L="ur16",F="ui32",U="fl32",W="fl64",H=Object.prototype.toString;function V(e){var t,n,r,i,o,s=.75*e.length,a=e.length,l=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c=new ArrayBuffer(s),u=new Uint8Array(c);for(t=0;t<a;t+=4)n=N.indexOf(e[t]),r=N.indexOf(e[t+1]),i=N.indexOf(e[t+2]),o=N.indexOf(e[t+3]),u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c}function Y(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=N[n[t]>>2],r+=N[(3&n[t])<<4|n[t+1]>>4],r+=N[(15&n[t+1])<<2|n[t+2]>>6],r+=N[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var J={serialize:function(e,t){var n="";if(e&&(n=H.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===H.call(e.buffer))){var r,i=I;e instanceof ArrayBuffer?(r=e,i+=q):(r=e.buffer,"[object Int8Array]"===n?i+=z:"[object Uint8Array]"===n?i+=M:"[object Uint8ClampedArray]"===n?i+=D:"[object Int16Array]"===n?i+=B:"[object Uint16Array]"===n?i+=L:"[object Int32Array]"===n?i+=R:"[object Uint32Array]"===n?i+=F:"[object Float32Array]"===n?i+=U:"[object Float64Array]"===n?i+=W:t(new Error("Failed to get type for BinaryArray"))),t(i+Y(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n="~~local_forage_type~"+e.type+"~"+Y(this.result);t(I+P+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if(e.substring(0,9)!==I)return JSON.parse(e);var t,n=e.substring(13),r=e.substring(9,13);if(r===P&&j.test(n)){var i=n.match(j);t=i[1],n=n.substring(i[0].length)}var s=V(n);switch(r){case q:return s;case P:return o([s],{type:t});case z:return new Int8Array(s);case M:return new Uint8Array(s);case D:return new Uint8ClampedArray(s);case B:return new Int16Array(s);case L:return new Uint16Array(s);case R:return new Int32Array(s);case F:return new Uint32Array(s);case U:return new Float32Array(s);case W:return new Float64Array(s);default:throw new Error("Unkown type: "+r)}},stringToBuffer:V,bufferToString:Y};function X(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function G(e,t,n,r,i,o){e.executeSql(n,r,i,function(e,s){s.code===s.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],function(e,a){a.rows.length?o(e,s):X(e,t,function(){e.executeSql(n,r,i,o)},o)},o):o(e,s)},o)}function Z(e,t,n,r){var i=this;e=c(e);var o=new s(function(o,s){i.ready().then(function(){void 0===t&&(t=null);var a=t,l=i._dbInfo;l.serializer.serialize(t,function(t,c){c?s(c):l.db.transaction(function(n){G(n,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[e,t],function(){o(a)},function(e,t){s(t)})},function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void o(Z.apply(i,[e,a,n,r-1]));s(t)}})})}).catch(s)});return a(o,n),o}var K={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var i=new s(function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction(function(i){X(i,n,function(){t._dbInfo=n,e()},function(e,t){r(t)})},r)});
vendor: 8,950 bytes, line 2
2return n.serializer=J,i},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new s(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){G(n,i,"SELECT * FROM "+i.storeName,[],function(n,r){for(var o=r.rows,s=o.length,a=0;a<s;a++){var l=o.item(a),c=l.value;if(c&&(c=i.serializer.deserialize(c)),void 0!==(c=e(c,l.key,a+1)))return void t(c)}t()},function(e,t){r(t)})})}).catch(r)});return a(r,t),r},getItem:function(e,t){var n=this;e=c(e);var r=new s(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){G(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)},function(e,t){r(t)})})}).catch(r)});return a(r,t),r},setItem:function(e,t,n){return Z.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=c(e);var r=new s(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){G(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],function(){t()},function(e,t){r(t)})})}).catch(r)});return a(r,t),r},clear:function(e){var t=this,n=new s(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){G(t,r,"DELETE FROM "+r.storeName,[],function(){e()},function(e,t){n(t)})})}).catch(n)});return a(n,e),n},length:function(e){var t=this,n=new s(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){G(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(t,n){var r=n.rows.item(0).c;e(r)},function(e,t){n(t)})})}).catch(n)});return a(n,e),n},key:function(e,t){var n=this,r=new s(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){G(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)},function(e,t){r(t)})})}).catch(r)});return a(r,t),r},keys:function(e){var t=this,n=new s(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){G(t,r,"SELECT key FROM "+r.storeName,[],function(t,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);e(r)},function(e,t){n(t)})})}).catch(n)});return a(n,e),n},dropInstance:function(e,t){t=u.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;return a(r=e.name?new s(function(t){var r;r=e.name===n.name?i._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(function(e){return new s(function(t,n){e.transaction(function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(n,r){for(var i=[],o=0;o<r.rows.length;o++)i.push(r.rows.item(o).name);t({db:e,storeNames:i})},function(e,t){n(t)})},function(e){n(e)})})}(r))}).then(function(e){return new s(function(t,n){e.db.transaction(function(r){function i(e){return new s(function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],function(){t()},function(e,t){n(t)})})}for(var o=[],a=0,l=e.storeNames.length;a<l;a++)o.push(i(e.storeNames[a]));s.all(o).then(function(){t()}).catch(function(e){n(e)})},function(e){n(e)})})}):s.reject("Invalid arguments"),t),r}};function Q(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function ee(){return!function(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(e){return!0}}()||localStorage.length>0}var te={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=Q(e,this._defaultConfig),ee()?(this._dbInfo=t,t.serializer=J,s.resolve()):s.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then(function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,s=1,a=0;a<o;a++){var l=localStorage.key(a);if(0===l.indexOf(r)){var c=localStorage.getItem(l);if(c&&(c=t.serializer.deserialize(c)),void 0!==(c=e(c,l.substring(i),s++)))return c}}});return a(r,t),r},getItem:function(e,t){var n=this;e=c(e);var r=n.ready().then(function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r});return a(r,t),r},setItem:function(e,t,n){var r=this;e=c(e);var i=r.ready().then(function(){void 0===t&&(t=null);var n=t;return new s(function(i,o){var s=r._dbInfo;s.serializer.serialize(t,function(t,r){if(r)o(r);else try{localStorage.setItem(s.keyPrefix+e,t),i(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}})})});return a(i,n),i},removeItem:function(e,t){var n=this;e=c(e);var r=n.ready().then(function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)});return a(r,t),r},clear:function(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}});return a(n,e),n},length:function(e){var t=this.keys().then(function(e){return e.length});return a(t,e),t},key:function(e,t){var n=this,r=n.ready().then(function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t});return a(r,t),r},keys:function(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r});return a(n,e),n},dropInstance:function(e,t){if(t=u.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,i=this;return r=e.name?new s(function(t){e.storeName?t(Q(e,i._defaultConfig)):t(e.name+"/")}).then(function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}}):s.reject("Invalid arguments"),a(r,t),r}},ne=function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)},re=function(e,t){for(var n=e.length,r=0;r<n;){if(ne(e[r],t))return!0;r++}return!1},ie=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},oe={},se={},ae={INDEXEDDB:O,WEBSQL:K,LOCALSTORAGE:te},le=[ae.INDEXEDDB._driver,ae.WEBSQL._driver,ae.LOCALSTORAGE._driver],ce=["dropInstance"],ue=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ce),he={description:"",driver:le.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function pe(e,t){e[t]=function(){var n=arguments;return e.ready().then(function(){return e[t].apply(e,n)})}}function de(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(ie(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var fe=function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ae)if(ae.hasOwnProperty(n)){var r=ae[n],i=r._driver;this[n]=i,oe[i]||this.defineDriver(r)}this._defaultConfig=de({},he),this._config=de({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new s(function(t,n){try{var r=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(i);for(var o=ue.concat("_initStorage"),l=0,c=o.length;l<c;l++){var u=o[l];if((!re(ce,u)||e[u])&&"function"!=typeof e[u])return void n(i)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=s.reject(t);return a(n,arguments[arguments.length-1]),n}},n=0,r=ce.length;n<r;n++){var i=ce[n];e[i]||(e[i]=t(i))}}();var h=function(n){oe[r]&&console.info("Redefining LocalForage driver: "+r),oe[r]=e,se[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(h,n):h(!!e._support):h(!0)}catch(e){n(e)}});return l(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=oe[e]?s.resolve(oe[e]):s.reject(new Error("Driver not found."));return l(r,t,n),r}
2,e.prototype.getSerializer=function(e){var t=s.resolve(J);return l(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then(function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready});return l(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;ie(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function a(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}var c=null!==this._driverSet?this._driverSet.catch(function(){return s.resolve()}):s.resolve();return this._driverSet=c.then(function(){var e=i[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then(function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var i=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(i).then(a).catch(n)}o();var l=new Error("No available storage method found.");return r._driverSet=s.reject(l),r._driverSet}()}}(i)})}).catch(function(){o();var e=new Error("No available storage method found.");return r._driverSet=s.reject(e),r._driverSet}),l(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!se[e]},e.prototype._extend=function(e){de(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=ue.length;e<t;e++)pe(this,ue[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),ge=new fe;t.exports=ge},{3:3}]},{},[4])(4)},164(e){e.exports=function(e){switch(typeof e){case"boolean":return e?"1":"";case"string":return e;case"number":return isNaN(e)?"NAN":isFinite(e)?e+"":(e<0?"-":"")+"INF";case"undefined":return"";case"object":return Array.isArray(e)?"Array":null!==e?"Object":"";default:throw new Error("Unsupported value type")}}},1075(e,t,n){e.exports=function(e){switch(typeof e){case"number":return e;case"string":return parseFloat(e)||0;default:return n(5188)(e)}}},5188(e){e.exports=function(e){switch(typeof e){case"number":return isNaN(e)||!isFinite(e)?0:e<0?Math.ceil(e):Math.floor(e);case"string":return parseInt(e,10)||0;default:return+!!e}}},2432(e){e.exports=function(e,t){let n,r;const i=["Sun","Mon","Tues","Wednes","Thurs","Fri","Satur","January","February","March","April","May","June","July","August","September","October","November","December"],o=/\\?(.?)/gi,s=function(e,t){return r[e]?r[e]():t},a=function(e,t){for(e=String(e);e.length<t;)e="0"+e;return e};return r={d:function(){return a(r.j(),2)},D:function(){return r.l().slice(0,3)},j:function(){return n.getDate()},l:function(){return i[r.w()]+"day"},N:function(){return r.w()||7},S:function(){const e=r.j();let t=e%10;return t<=3&&1===parseInt(e%100/10,10)&&(t=0),["st","nd","rd"][t-1]||"th"},w:function(){return n.getDay()},z:function(){const e=new Date(r.Y(),r.n()-1,r.j()),t=new Date(r.Y(),0,1);return Math.round((e-t)/864e5)},W:function(){const e=new Date(r.Y(),r.n()-1,r.j()-r.N()+3),t=new Date(e.getFullYear(),0,4);return a(1+Math.round((e-t)/864e5/7),2)},F:function(){return i[6+r.n()]},m:function(){return a(r.n(),2)},M:function(){return r.F().slice(0,3)},n:function(){return n.getMonth()+1},t:function(){return new Date(r.Y(),r.n(),0).getDate()},L:function(){const e=r.Y();return e%4==0&e%100!=0|e%400==0},o:function(){const e=r.n(),t=r.W();return r.Y()+(12===e&&t<9?1:1===e&&t>9?-1:0)},Y:function(){return n.getFullYear()},y:function(){return r.Y().toString().slice(-2)},a:function(){return n.getHours()>11?"pm":"am"},A:function(){return r.a().toUpperCase()},B:function(){const e=3600*n.getUTCHours(),t=60*n.getUTCMinutes(),r=n.getUTCSeconds();return a(Math.floor((e+t+r+3600)/86.4)%1e3,3)},g:function(){return r.G()%12||12},G:function(){return n.getHours()},h:function(){return a(r.g(),2)},H:function(){return a(r.G(),2)},i:function(){return a(n.getMinutes(),2)},s:function(){return a(n.getSeconds(),2)},u:function(){return a(1e3*n.getMilliseconds(),6)},e:function(){throw new Error("Not supported (see source code of date() for timezone on how to add support)")},I:function(){return new Date(r.Y(),0)-Date.UTC(r.Y(),0)!==new Date(r.Y(),6)-Date.UTC(r.Y(),6)?1:0},O:function(){const e=n.getTimezoneOffset(),t=Math.abs(e);return(e>0?"-":"+")+a(100*Math.floor(t/60)+t%60,4)},P:function(){const e=r.O();return e.substr(0,3)+":"+e.substr(3,2)},T:function(){return"UTC"},Z:function(){return 60*-n.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(o,s)},r:function(){return"D, d M Y H:i:s O".replace(o,s)},U:function(){return n/1e3|0}},function(e,t){return n=void 0===t?new Date:t instanceof Date?new Date(t):new Date(1e3*t),e.replace(o,s)}(e,t)}},9637(e){const t="[ \\t]+",n="[ \\t]*",r="(?:([ap])\\.?m\\.?([\\t ]|$))",i="(2[0-4]|[01]?[0-9])",o="([01][0-9]|2[0-4])",s="(0?[1-9]|1[0-2])",a="([0-5]?[0-9])",l="([0-5][0-9])",c="(60|[0-5]?[0-9])",u="(60|[0-5][0-9])",h="(?:\\.([0-9]+))",p="sunday|monday|tuesday|wednesday|thursday|friday|saturday",d="sun|mon|tue|wed|thu|fri|sat",f=p+"|"+d+"|weekdays?",g="first|second|third|fourth|fifth|sixth|seventh|eighth?|ninth|tenth|eleventh|twelfth",m="next|last|previous|this",y="(?:second|sec|minute|min|hour|day|fortnight|forthnight|month|year)s?|weeks|"+f,v="([0-9]{1,4})",b="([0-9]{4})",x="(1[0-2]|0?[0-9])",w="(0[0-9]|1[0-2])",k="(?:(3[01]|[0-2]?[0-9])(?:st|nd|rd|th)?)",$="(0[0-9]|[1-2][0-9]|3[01])",E="january|february|march|april|may|june|july|august|september|october|november|december",S="jan|feb|mar|apr|may|jun|jul|aug|sept?|oct|nov|dec",_="("+E+"|"+S+"|i[vx]|vi{0,3}|xi{0,2}|i{1,3})",A="((?:GMT)?([+-])"+i+":?"+a+"?)",T=_+"[ .\\t-]*"+k+"[,.stndrh\\t ]*";function C(e,t){switch(t=t&&t.toLowerCase()){case"a":e+=12===e?-12:0;break;case"p":e+=12!==e?12:0}return e}function O(e){let t=+e;return e.length<4&&t<100&&(t+=t<70?2e3:1900),t}function N(e){return{jan:0,january:0,i:0,feb:1,february:1,ii:1,mar:2,march:2,iii:2,apr:3,april:3,iv:3,may:4,v:4,jun:5,june:5,vi:5,jul:6,july:6,vii:6,aug:7,august:7,viii:7,sep:8,sept:8,september:8,ix:8,oct:9,october:9,x:9,n
vendor: 4,662 bytes, line 2
2ov:10,november:10,xi:10,dec:11,december:11,xii:11}[e.toLowerCase()]}function j(e,t=0){return{mon:1,monday:1,tue:2,tuesday:2,wed:3,wednesday:3,thu:4,thursday:4,fri:5,friday:5,sat:6,saturday:6,sun:0,sunday:0}[e.toLowerCase()]||t}function I(e,t){if(!(e=e&&e.match(/(?:GMT)?([+-])(\d+)(:?)(\d{0,2})/i)))return t;const n="-"===e[1]?-1:1;let r=+e[2],i=+e[4];return e[4]||e[3]||(i=Math.floor(r%100),r=Math.floor(r/100)),n*(60*r+i)*60}const q={acdt:37800,acst:34200,addt:-7200,adt:-10800,aedt:39600,aest:36e3,ahdt:-32400,ahst:-36e3,akdt:-28800,akst:-32400,amt:-13840,apt:-10800,ast:-14400,awdt:32400,awst:28800,awt:-10800,bdst:7200,bdt:-36e3,bmt:-14309,bst:3600,cast:34200,cat:7200,cddt:-14400,cdt:-18e3,cemt:10800,cest:7200,cet:3600,cmt:-15408,cpt:-18e3,cst:-21600,cwt:-18e3,chst:36e3,dmt:-1521,eat:10800,eddt:-10800,edt:-14400,eest:10800,eet:7200,emt:-26248,ept:-14400,est:-18e3,ewt:-14400,ffmt:-14660,fmt:-4056,gdt:39600,gmt:0,gst:36e3,hdt:-34200,hkst:32400,hkt:28800,hmt:-19776,hpt:-34200,hst:-36e3,hwt:-34200,iddt:14400,idt:10800,imt:25025,ist:7200,jdt:36e3,jmt:8440,jst:32400,kdt:36e3,kmt:5736,kst:30600,lst:9394,mddt:-18e3,mdst:16279,mdt:-21600,mest:7200,met:3600,mmt:9017,mpt:-21600,msd:14400,msk:10800,mst:-25200,mwt:-21600,nddt:-5400,ndt:-9052,npt:-9e3,nst:-12600,nwt:-9e3,nzdt:46800,nzmt:41400,nzst:43200,pddt:-21600,pdt:-25200,pkst:21600,pkt:18e3,plmt:25590,pmt:-13236,ppmt:-17340,ppt:-25200,pst:-28800,pwt:-25200,qmt:-18840,rmt:5794,sast:7200,sdmt:-16800,sjmt:-20173,smt:-13884,sst:-39600,tbmt:10751,tmt:12344,uct:0,utc:0,wast:7200,wat:3600,wemt:7200,west:3600,wet:0,wib:25200,wita:28800,wit:32400,wmt:5040,yddt:-25200,ydt:-28800,ypt:-28800,yst:-32400,ywt:-28800,a:3600,b:7200,c:10800,d:14400,e:18e3,f:21600,g:25200,h:28800,i:32400,k:36e3,l:39600,m:43200,n:-3600,o:-7200,p:-10800,q:-14400,r:-18e3,s:-21600,t:-25200,u:-28800,v:-32400,w:-36e3,x:-39600,y:-43200,z:0},P={yesterday:{regex:/^yesterday/i,name:"yesterday",callback(){return this.rd-=1,this.resetTime()}},now:{regex:/^now/i,name:"now"},noon:{regex:/^noon/i,name:"noon",callback(){return this.resetTime()&&this.time(12,0,0,0)}},midnightOrToday:{regex:/^(midnight|today)/i,name:"midnight | today",callback(){return this.resetTime()}},tomorrow:{regex:/^tomorrow/i,name:"tomorrow",callback(){return this.rd+=1,this.resetTime()}},timestamp:{regex:/^@(-?\d+)/i,name:"timestamp",callback(e,t){return this.rs+=+t,this.y=1970,this.m=0,this.d=1,this.dates=0,this.resetTime()&&this.zone(0)}},firstOrLastDay:{regex:/^(first|last) day of/i,name:"firstdayof | lastdayof",callback(e,t){"first"===t.toLowerCase()?this.firstOrLastDayOfMonth=1:this.firstOrLastDayOfMonth=-1}},backOrFrontOf:{regex:new RegExp("^(back|front) of "+i+n+r+"?","i"),name:"backof | frontof",callback(e,t,n,r){let i=+n,o=15;return"back"===t.toLowerCase()||(i-=1,o=45),i=C(i,r),this.resetTime()&&this.time(i,o,0,0)}},weekdayOf:{regex:new RegExp("^("+g+"|"+m+")"+t+"("+p+"|"+d+")"+t+"of","i"),name:"weekdayof"},mssqltime:{regex:new RegExp("^"+s+":"+l+":"+u+"[:.]([0-9]+)"+r,"i"),name:"mssqltime",callback(e,t,n,r,i,o){return this.time(C(+t,o),+n,+r,+i.substr(0,3))}},oracledate:{regex:/^(\d{2})-([A-Z]{3})-(\d{2})$/i,name:"d-M-y",callback(e,t,n,r){const i={JAN:0,FEB:1,MAR:2,APR:3,MAY:4,JUN:5,JUL:6,AUG:7,SEP:8,OCT:9,NOV:10,DEC:11}[n.toUpperCase()];return this.ymd(2e3+parseInt(r,10),i,parseInt(t,10))}},timeLong12:{regex:new RegExp("^"+s+"[:.]"+a+"[:.]"+u+n+r,"i"),name:"timelong12",callback(e,t,n,r,i){return this.time(C(+t,i),+n,+r,0)}},timeShort12:{regex:new RegExp("^"+s+"[:.]"+l+n+r,"i"),name:"timeshort12",callback(e,t,n,r){return this.time(C(+t,r),+n,0,0)}},timeTiny12:{regex:new RegExp("^"+s+n+r,"i"),name:"timetiny12",callback(e,t,n){return this.time(C(+t,n),0,0,0)}},soap:{regex:new RegExp("^"+b+"-"+w+"-"+$+"T"+o+":"+l+":"+u+h+A+"?","i"),name:"soap",callback(e,t,n,r,i,o,s,a,l){return this.ymd(+t,n-1,+r)&&this.time(+i,+o,+s,+a.substr(0,3))&&this.zone(I(l))}},wddx:{regex:new RegExp("^"+b+"-"+x+"-"+k+"T"+i+":"+a+":"+c),name:"wddx",callback(e,t,n,r,i,o,s){return this.ymd(+t,n-1,+r)&&this.time(+i,+o,+s,0)}},exif:{regex:new RegExp("^"+b+":"+w+":"+$+" "+o+":"+l+":"+u,"i"),name:"exif",callback(e,t,n,r,i,o,s){return this.ymd(+t,n-1,+r)&&this.time(+i,+o,+s,0)}},xmlRpc:{regex:new RegExp("^"+b+w+$+"T"+i+":"+l+":"+u),name:"xmlrpc",callback(e,t,n,r,i,o,s){return this.ymd(+t,n-1,+r)&&this.time(+i,+o,+s,0)}},xmlRpcNoColon:{regex:new RegExp("^"+b+w+$+"[Tt]"+i+l+u),name:"xmlrpcnocolon",callback(e,t,n,r,i,o,s){return this.ymd(+t,n-1,+r)&&this.time(+i,+o,+s,0)}},clf:{regex:new RegExp("^"+k+"/("+S+")/"+b+":"+o+":"+l+":"+u+t+A,"i"),name:"clf",callback(e,t,n,r,i,o,s,a){return this.ymd(+r,N(n),+t)&&this.time(+i,+o,+s,0)&&this.zone(I(a))}}
2,iso8601long:{regex:new RegExp("^t?"+i+"[:.]"+a+"[:.]"+c+h,"i"),name:"iso8601long",callback(e,t,n,r,i){return this.time(+t,+n,+r,+i.substr(0,3))}},dateTextual:{regex:new RegExp("^"+_+"[ .\\t-]*"+k+"[,.stndrh\\t ]+"+v,"i"),name:"datetextual",callback(e,t,n,r){return this.ymd(O(r),N(t),+n)}},pointedDate4:{regex:new RegExp("^"+k+"[.\\t-]"+x+"[.-]"+b),name:"pointeddate4",callback(e,t,n,r){return this.ymd(+r,n-1,+t)}},pointedDate2:{regex:new RegExp("^"+k+"[.\\t]"+x+"\\.([0-9]{2})"),name:"pointeddate2",callback(e,t,n,r){return this.ymd(O(r),n-1,+t)}},timeLong24:{regex:new RegExp("^t?"+i+"[:.]"+a+"[:.]"+c),name:"timelong24",callback(e,t,n,r){return this.time(+t,+n,+r,0)}},dateNoColon:{regex:new RegExp("^"+b+w+$),name:"datenocolon",callback(e,t,n,r){return this.ymd(+t,n-1,+r)}},pgydotd:{regex:new RegExp("^"+b+"\\.?(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])"),name:"pgydotd",callback(e,t,n){return this.ymd(+t,0,+n)}},timeShort24:{regex:new RegExp("^t?"+i+"[:.]"+a,"i"),name:"timeshort24",callback(e,t,n){return this.time(+t,+n,0,0)}},iso8601noColon:{regex:new RegExp("^t?"+o+l+u,"i"),name:"iso8601nocolon",callback(e,t,n,r){return this.time(+t,+n,+r,0)}},iso8601dateSlash:{regex:new RegExp("^"+b+"/"+w+"/"+$+"/"),name:"iso8601dateslash",callback(e,t,n,r){return this.ymd(+t,n-1,+r)}},dateSlash:{regex:new RegExp("^"+b+"/"+x+"/"+k),name:"dateslash",callback(e,t,n,r){return this.ymd(+t,n-1,+r)}},american:{regex:new RegExp("^"+x+"/"+k+"/"+v),name:"american",callback(e,t,n,r){return this.ymd(O(r),t-1,+n)}},americanShort:{regex:new RegExp("^"+x+"/"+k),name:"americanshort",callback(e,t,n){return this.ymd(this.y,t-1,+n)}},gnuDateShortOrIso8601date2:{regex:new RegExp("^"+v+"-"+x+"-"+k),name:"gnudateshort | iso8601date2",callback(e,t,n,r){return this.ymd(O(t),n-1,+r)}},iso8601date4:{regex:new RegExp("^([+-]?[0-9]{4})-"+w+"-"+$),name:"iso8601date4",callback(e,t,n,r){return this.ymd(+t,n-1,+r)}},gnuNoColon:{regex:new RegExp("^t?"+o+l,"i"),name:"gnunocolon",callback(e,t,n){switch(this.times){case 0:return this.time(+t,+n,0,this.f);case 1:return this.y=100*t+ +n,this.times++,!0;default:return!1}}},gnuDateShorter:{regex:new RegExp("^"+b+"-"+x),name:"gnudateshorter",callback(e,t,n){return this.ymd(+t,n-1,1)}},pgTextReverse:{regex:new RegExp("^(\\d{3,4}|[4-9]\\d|3[2-9])-("+S+")-"+$,"i"),name:"pgtextreverse",callback(e,t,n,r){return this.ymd(O(t),N(n),+r)}},dateFull:{regex:new RegExp("^"+k+"[ \\t.-]*"+_+"[ \\t.-]*"+v,"i"),name:"datefull",callback(e,t,n,r){return this.ymd(O(r),N(n),+t)}},dateNoDay:{regex:new RegExp("^"+_+"[ .\\t-]*"+b,"i"),name:"datenoday",callback(e,t,n){return this.ymd(+n,N(t),1)}},dateNoDayRev:{regex:new RegExp("^"+b+"[ .\\t-]*"+_,"i"),name:"datenodayrev",callback(e,t,n){return this.ymd(+t,N(n),1)}},pgTextShort:{regex:new RegExp("^("+S+")-"+$+"-"+v,"i"),name:"pgtextshort",callback(e,t,n,r){return this.ymd(O(r),N(t),+n)}},dateNoYear:{regex:new RegExp("^"+T,"i"),name:"datenoyear",callback(e,t,n){return this.ymd(this.y,N(t),+n)}},dateNoYearRev:{regex:new RegExp("^"+k+"[ .\\t-]*"+_,"i"),name:"datenoyearrev",callback(e,t,n){return this.ymd(this.y,N(n),+t)}},isoWeekDay:{regex:new RegExp("^"+b+"-?W(0[1-9]|[1-4][0-9]|5[0-3])(?:-?([0-7]))?"),name:"isoweekday | isoweek",callback(e,t,n,r){if(r=r?+r:1,!this.ymd(+t,0,1))return!1;let i=new Date(this.y,this.m,this.d).getDay();i=0-(i>4?i-7:i),this.rd+=i+7*(n-1)+r}},relativeText:{regex:new RegExp("^("+g+"|"+m+")"+t+"("+y+")","i"),name:"relativetext",callback(e,t,n){const{amount:r,behavior:i}=function(e){const t=e.toLowerCase();return{amount:{last:-1,previous:-1,this:0,first:1,next:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eight:8,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12}[t],behavior:{this:1}[t]||0}}(t);switch(n.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=r;break;case"min":case"mins":case"minute":case"minutes":this.ri+=r;break;case"hour":case"hours":this.rh+=r;break;case"day":case"days":this.rd+=r;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=14*r;break;case"week":case"weeks":this.rd+=7*r;break;case"month":case"months":this.rm+=r;break;case"year":case"years":this.ry+=r;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=j(n,7),this.weekdayBehavior=1,this.rd+=7*(r>0?r-1:r)}}},relative:{regex:new RegExp("^([+-]*)[ \\t]*(\\d+)"+n+"("+y+"|week)","i"),name:"relative",callback(e,t,n,r){const i=t.replace(/[^-]/g,"").length,o=+n*Math.pow(-1,i);switch(r.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=o;break;case"min":case"mins":case"minute":case"minutes":this.ri+=o;break;case"hour":case"hours":this.rh+=o;break;case"day":case"days":this.rd+=o;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=14*o;break;case"week":case"weeks":this.rd+=7*o;break;case"month":case"months":this.rm+=o;break;case"year":case"years":this.ry+=o;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=j(r,7),this.weekdayBehavior=1,this.rd+=7*(o>0?o-1:o)}}},dayText:{regex:new RegExp("^("+f+")","i"),name:"daytext",callback(e,t){this.resetTime(),this.weekday=j(t,0),2!==this.weekdayBehavior&&(this.weekdayBehavior=1)}},relativeTextWeek:{regex:new RegExp("^("+m+")"+t+"week","i"),name:"relativetextweek",callback(e,t){switch(this.weekdayBehavior=2,t.toLowerCase()){case"this":this.rd+=0;break;case"next":this.rd+=7;break;case"last":case"previous":this.rd-=7}isNaN(this.weekday)&&(this.weekday=1)}},monthFullOrMonthAbbr:{regex:new RegExp("^("+E+"|"+S+")","i"),name:"monthfull | monthabbr",callback(e,t){return this.ymd(this.y,N(t),this.d)}},tzCorrection:{regex:new RegExp("^"+A,"i"),name:"tzcorrection",callback(e){return this.zone(I(e))}},tzAbbr:{regex:new RegExp("^\\(?([a-zA-Z]{1,6})\\)?"),name:"tzabbr",callback(e,t){const n=q[t.toLowerCase()];return!isNaN(n)&&this.zone(n)}},ago:{regex:/^ago/i,name:"ago",callback(){this.ry=-this.ry,this.rm=-this.rm,this.rd=-this.rd,this.rh=-this.rh,this.ri=-this.ri,this.rs=-this.rs,this.rf=-this.rf}},year4:{regex:new RegExp("^"+b),name:"year4",callback(e,t){return this.y=+t,!0}},whitespace:{regex:/^[ .,\t]+/,name:"whitespace"}
2,dateShortWithTimeLong:{regex:new RegExp("^"+T+"t?"+i+"[:.]"+a+"[:.]"+c,"i"),name:"dateshortwithtimelong",callback(e,t,n,r,i,o){return this.ymd(this.y,N(t),+n)&&this.time(+r,+i,+o,0)}},dateShortWithTimeLong12:{regex:new RegExp("^"+T+s+"[:.]"+a+"[:.]"+u+n+r,"i"),name:"dateshortwithtimelong12",callback(e,t,n,r,i,o,s){return this.ymd(this.y,N(t),+n)&&this.time(C(+r,s),+i,+o,0)}},dateShortWithTimeShort:{regex:new RegExp("^"+T+"t?"+i+"[:.]"+a,"i"),name:"dateshortwithtimeshort",callback(e,t,n,r,i){return this.ymd(this.y,N(t),+n)&&this.time(+r,+i,0,0)}},dateShortWithTimeShort12:{regex:new RegExp("^"+T+s+"[:.]"+l+n+r,"i"),name:"dateshortwithtimeshort12",callback(e,t,n,r,i,o){return this.ymd(this.y,N(t),+n)&&this.time(C(+r,o),+i,0,0)}}},z={y:NaN,m:NaN,d:NaN,h:NaN,i:NaN,s:NaN,f:NaN,ry:0,rm:0,rd:0,rh:0,ri:0,rs:0,rf:0,weekday:NaN,weekdayBehavior:0,firstOrLastDayOfMonth:0,z:NaN,dates:0,times:0,zones:0,ymd(e,t,n){return!(this.dates>0||(this.dates++,this.y=e,this.m=t,this.d=n,0))},time(e,t,n,r){return!(this.times>0||(this.times++,this.h=e,this.i=t,this.s=n,this.f=r,0))},resetTime(){return this.h=0,this.i=0,this.s=0,this.f=0,this.times=0,!0},zone(e){return this.zones<=1&&(this.zones++,this.z=e,!0)},toDate(e){switch(this.dates&&!this.times&&(this.h=this.i=this.s=this.f=0),isNaN(this.y)&&(this.y=e.getFullYear()),isNaN(this.m)&&(this.m=e.getMonth()),isNaN(this.d)&&(this.d=e.getDate()),isNaN(this.h)&&(this.h=e.getHours()),isNaN(this.i)&&(this.i=e.getMinutes()),isNaN(this.s)&&(this.s=e.getSeconds()),isNaN(this.f)&&(this.f=e.getMilliseconds()),this.firstOrLastDayOfMonth){case 1:this.d=1;break;case-1:this.d=0,this.m+=1}if(!isNaN(this.weekday)){const t=new Date(e.getTime());t.setFullYear(this.y,this.m,this.d),t.setHours(this.h,this.i,this.s,this.f);const n=t.getDay();if(2===this.weekdayBehavior)0===n&&0!==this.weekday&&(this.weekday=-6),0===this.weekday&&0!==n&&(this.weekday=7),this.d-=n,this.d+=this.weekday;else{let e=this.weekday-n;(this.rd<0&&e<0||this.rd>=0&&e<=-this.weekdayBehavior)&&(e+=7),this.weekday>=0?this.d+=e:this.d-=7-(Math.abs(this.weekday)-n),this.weekday=NaN}}this.y+=this.ry,this.m+=this.rm,this.d+=this.rd,this.h+=this.rh,this.i+=this.ri,this.s+=this.rs,this.f+=this.rf,this.ry=this.rm=this.rd=0,this.rh=this.ri=this.rs=this.rf=0;const t=new Date(e.getTime());switch(t.setFullYear(this.y,this.m,this.d),t.setHours(this.h,this.i,this.s,this.f),this.firstOrLastDayOfMonth){case 1:t.setDate(1);break;case-1:t.setMonth(t.getMonth()+1,0)}return isNaN(this.z)||t.getTimezoneOffset()===this.z||(t.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),t.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds()-this.z,t.getMilliseconds())),t}};e.exports=function(e,t){null==t&&(t=Math.floor(Date.now()/1e3));const n=[P.yesterday,P.now,P.noon,P.midnightOrToday,P.tomorrow,P.timestamp,P.firstOrLastDay,P.backOrFrontOf,P.timeTiny12,P.timeShort12,P.timeLong12,P.mssqltime,P.oracledate,P.timeShort24,P.timeLong24,P.iso8601long,P.gnuNoColon,P.iso8601noColon,P.americanShort,P.american,P.iso8601date4,P.iso8601dateSlash,P.dateSlash,P.gnuDateShortOrIso8601date2,P.gnuDateShorter,P.dateFull,P.pointedDate4,P.pointedDate2,P.dateNoDay,P.dateNoDayRev,P.dateTextual,P.dateNoYear,P.dateNoYearRev,P.dateNoColon,P.xmlRpc,P.xmlRpcNoColon,P.soap,P.wddx,P.exif,P.pgydotd,P.isoWeekDay,P.pgTextShort,P.pgTextReverse,P.clf,P.year4,P.ago,P.dayText,P.relativeTextWeek,P.relativeText,P.monthFullOrMonthAbbr,P.tzCorrection,P.tzAbbr,P.dateShortWithTimeShort12,P.dateShortWithTimeLong12,P.dateShortWithTimeShort,P.dateShortWithTimeLong,P.relative,P.whitespace],r=Object.create(z);for(;e.length;){let t=null,i=null;for(let r=0,o=n.length;r<o;r++){const o=n[r],s=e.match(o.regex);s&&(!t||s[0].length>t[0].length)&&(t=s,i=o)}if(!i||i.callback&&!1===i.callback.apply(r,t))return!1;e=e.substr(t[0].length),i=null,t=null}return Math.floor(r.toDate(new Date(1e3*t))/1e3)}},7379(e){e.exports=function(){let e,t,n=0,r=0;const i=arguments,o=i.length,s=function(e){if(Array.isArray(e))return e;{const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}},a=function(e,t){let n=0,r=0,i=0,o=0,l=0;if(e===t)return 0;if("object"==typeof e){if("object"==typeof t){if(e=s(e),t=s(t),l=e.length,o=t.length,o>l)return 1;if(o<l)return-1;for(n=0,r=l;n<r;++n){if(i=a(e[n],t[n]),1===i)return 1;if(-1===i)return-1}return 0}return-1}return"object"==typeof t?1:isNaN(t)&&!isNaN(e)?0===e?0:e<0?1:-1:isNaN(e)&&!isNaN(t)?0===t?0:t>0?1:-1:t===e?0:t>e?1:-1};if(0===o)throw new Error("At least one value should be passed to max()");if(1===o){if("object"!=typeof i[0])throw new Error("Wrong parameter count for max()");if(e=s(i[0]),0===e.length)throw new Error("Array must contain at least one element for max()")}
2else e=i;for(t=e[0],n=1,r=e.length;n<r;++n)1===a(t,e[n])&&(t=e[n]);return t}},9745(e){e.exports=function(){let e,t,n=0,r=0;const i=arguments,o=i.length,s=function(e){if(Array.isArray(e))return e;const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},a=function(e,t){let n=0,r=0,i=0,o=0,l=0;if(e===t)return 0;if("object"==typeof e){if("object"==typeof t){if(e=s(e),t=s(t),l=e.length,o=t.length,o>l)return 1;if(o<l)return-1;for(n=0,r=l;n<r;++n){if(i=a(e[n],t[n]),1===i)return 1;if(-1===i)return-1}return 0}return-1}return"object"==typeof t?1:isNaN(t)&&!isNaN(e)?0===e?0:e<0?1:-1:isNaN(e)&&!isNaN(t)?0===t?0:t>0?1:-1:t===e?0:t>e?1:-1};if(0===o)throw new Error("At least one value should be passed to min()");if(1===o){if("object"!=typeof i[0])throw new Error("Wrong parameter count for min()");if(e=s(i[0]),0===e.length)throw new Error("Array must contain at least one element for min()")}else e=i;for(t=e[0],n=1,r=e.length;n<r;++n)-1===a(t,e[n])&&(t=e[n]);return t}},693(e,t,n){function r(e,t){let n=Math.floor(Math.abs(e)+.5);return("PHP_ROUND_HALF_DOWN"===t&&e===n-.5||"PHP_ROUND_HALF_EVEN"===t&&e===.5+2*Math.floor(n/2)||"PHP_ROUND_HALF_ODD"===t&&e===.5+2*Math.floor(n/2)-1)&&(n-=1),e<0?-n:n}e.exports=function(e,t=0,i="PHP_ROUND_HALF_UP"){const o=n(1075),s=n(5188);let a;if(e=o(e),t=s(t),a=Math.pow(10,t),isNaN(e)||!isFinite(e))return e;if(Math.trunc(e)===e&&t>=0)return e;const l=14-Math.floor(Math.log10(Math.abs(e)));return l>t&&l-15<t?(e=r(e*Math.pow(10,l),i),e/=Math.pow(10,Math.abs(t-l))):e*=a,(e=r(e,i))/a}},2485(e){e.exports=function(){const e=/%%|%(?:(\d+)\$)?((?:[-+#0 ]|'[\s\S])*)(\d+)?(?:\.(\d*))?([\s\S])/g,t=arguments;let n=0;const r=t[n++],i=function(e,t,n,r){n||(n=" ");const i=e.length>=t?"":new Array(1+t-e.length>>>0).join(n);return r?e+i:i+e},o=function(e,t,n,r,o){const s=r-e.length;return s>0&&(e=n||"0"!==o?i(e,r,o,n):[e.slice(0,t.length),i("",s,"0",!0),e.slice(t.length)].join("")),e},s=function(e,t,n,r,s,a){return e=i((e>>>0).toString(t),s||0,"0",!1),o(e,"",n,r,a)},a=function(e,t,n,r,i){return null!=r&&(e=e.slice(0,r)),o(e,"",t,n,i)},l=function(e,r,l,c,u,h){let p,d,f,g,m;if("%%"===e)return"%";let y,v,b=" ",x=!1,w="";for(y=0,v=l.length;y<v;y++)switch(l.charAt(y)){case" ":case"0":b=l.charAt(y);break;case"+":w="+";break;case"-":x=!0;break;case"'":y+1<v&&(b=l.charAt(y+1),y++)}if(c=c?+c:0,!isFinite(c))throw new Error("Width must be finite");if(u=u?+u:"d"===h?0:"fFeE".indexOf(h)>-1?6:void 0,r&&0===+r)throw new Error("Argument number must be greater than zero");if(r&&+r>=t.length)throw new Error("Too few arguments");switch(m=r?t[+r]:t[n++],h){case"%":return"%";case"s":return a(m+"",x,c,u,b);case"c":return a(String.fromCharCode(+m),x,c,u,b);case"b":return s(m,2,x,c,u,b);case"o":return s(m,8,x,c,u,b);case"x":return s(m,16,x,c,u,b);case"X":return s(m,16,x,c,u,b).toUpperCase();case"u":return s(m,10,x,c,u,b);case"i":case"d":return p=+m||0,p=Math.round(p-p%1),d=p<0?"-":w,m=d+i(String(Math.abs(p)),u,"0",!1),x&&"0"===b&&(b=" "),o(m,d,x,c,b);case"e":case"E":case"f":case"F":case"g":case"G":return p=+m,d=p<0?"-":w,f=["toExponential","toFixed","toPrecision"]["efg".indexOf(h.toLowerCase())],g=["toString","toUpperCase"]["eEfFgG".indexOf(h)%2],m=d+Math.abs(p)[f](u),o(m,d,x,c,b)[g]();default:return""}};try{return r.replace(e,l)}catch(e){return!1}}},3837(e,t,n){e.exports=function(e,t){const r=n(164);t=(((t||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");const i=/<\/?([a-z0-9]*)\b[^>]*>?/gi,o=/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi;let s=r(e);for(s="<"===s.substring(s.length-1)?s.substring(0,s.length-1):s;;){const e=s;if(s=e.replace(o,"").replace(i,function(e,n){return t.indexOf("<"+n.toLowerCase()+">")>-1?e:""}),e===s)return s}}},743(e,t,n){e.exports=function(e,t){return n(2485).apply(this,[e].concat(t))}},4799(e){e.exports=function(e){return!1!==e&&0!==e&&0!==e&&""!==e&&"0"!==e&&(!Array.isArray(e)||0!==e.length)&&null!=e}},663(e,t,n){var r=n(4147)(n(1894),"DataView");e.exports=r},3874(e,t,n){var r=n(4147)(n(1894),"Map");e.exports=r},525(e,t,n){var r=n(4147)(n(1894),"Promise");e.exports=r},4488(e,t,n){var r=n(4147)(n(1894),"Set");e.exports=r},4986(e,t,n){var r=n(1894).Symbol;e.exports=r},3022(e,t,n){var r=n(4147)(n(1894),"WeakMap");e.exports=r},927(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},6892(e){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},7851(e,t,n){var r=n(4986),i=n(5166),o=n(6805),s=r?r.toStringTag:void 0;
vendor: 4,712 bytes, line 2
2e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},4275(e,t,n){var r=n(7851),i=n(4171);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},4944(e,t,n){var r=n(1695),i=n(7023),o=n(9716),s=n(2074),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,h=c.hasOwnProperty,p=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?p:a).test(s(e))}},6826(e,t,n){var r=n(7851),i=n(3779),o=n(4171),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[r(e)]}},1883(e,t,n){var r=n(6090),i=n(5585),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},7115(e,t,n){var r=n(4986),i=n(927),o=n(574),s=n(8475),a=r?r.prototype:void 0,l=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},7483(e,t,n){var r=n(8457),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},9948(e){e.exports=function(e){return function(t){return e(t)}}},950(e,t,n){var r=n(1894)["__core-js_shared__"];e.exports=r},5887(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},4147(e,t,n){var r=n(4944),i=n(7107);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},5166(e,t,n){var r=n(4986),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},7790(e,t,n){var r=n(663),i=n(3874),o=n(525),s=n(4488),a=n(3022),l=n(7851),c=n(2074),u="[object Map]",h="[object Promise]",p="[object Set]",d="[object WeakMap]",f="[object DataView]",g=c(r),m=c(i),y=c(o),v=c(s),b=c(a),x=l;(r&&x(new r(new ArrayBuffer(1)))!=f||i&&x(new i)!=u||o&&x(o.resolve())!=h||s&&x(new s)!=p||a&&x(new a)!=d)&&(x=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return f;case m:return u;case y:return h;case v:return p;case b:return d}return t}),e.exports=x},7107(e){e.exports=function(e,t){return null==e?void 0:e[t]}},7023(e,t,n){var r,i=n(950),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},6090(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},5585(e,t,n){var r=n(6382)(Object.keys,Object);e.exports=r},5946(e,t,n){e=n.nmd(e);var r=n(5887),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},6805(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},6382(e){e.exports=function(e,t){return function(n){return e(t(n))}}},1894(e,t,n){var r=n(5887),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},2074(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},8457(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},1467(e,t,n){var r=n(4275),i=n(4171),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},574(e){var t=Array.isArray;e.exports=t},1481(e,t,n){var r=n(1695),i=n(3779);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},3813(e,t,n){e=n.nmd(e);var r=n(1894),i=n(3676),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?r.Buffer:void 0,l=(a?a.isBuffer:void 0)||i;e.exports=l},9010(e,t,n){var r=n(1883),i=n(7790),o=n(1467),s=n(574),a=n(1481),l=n(3813),c=n(6090),u=n(6434),h=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;
2if(a(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}},1695(e,t,n){var r=n(7851),i=n(9716);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},3779(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9716(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},4171(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8475(e,t,n){var r=n(7851),i=n(4171);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},6434(e,t,n){var r=n(6826),i=n(9948),o=n(5946),s=o&&o.isTypedArray,a=s?i(s):r;e.exports=a},6010(e,t,n){var r=n(6892),i=n(7115),o=n(3986),s=n(1251);e.exports=function(e,t,n){return e=s(e),n=null==n?0:r(o(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}},3676(e){e.exports=function(){return!1}},1533(e,t,n){var r=n(9691),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},3986(e,t,n){var r=n(1533);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},9691(e,t,n){var r=n(7483),i=n(9716),o=n(8475),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?NaN:+e}},1251(e,t,n){var r=n(7115);e.exports=function(e){return null==e?"":r(e)}},3899(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(a[c]=o[c]);if(t){s=t(o);for(var u=0;u<s.length;u++)r.call(o,s[u])&&(a[s[u]]=o[s[u]])}}return a}},8629(e){"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)n=e.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=a,s=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=a,s=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(r=s+"/"+r,i=47===s.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,s=o-i,a=1;a<n.length&&47===n.charCodeAt(a);++a);for(var l=n.length-a,c=s<l?s:l,u=-1,h=0;h<=c;++h){if(h===c){if(l>c){if(47===n.charCodeAt(a+h))return n.slice(a+h+1);if(0===h)return n.slice(a+h)}else s>c&&(47===e.charCodeAt(i+h)?u=h:0===h&&(u=0));break}var p=e.charCodeAt(i+h);if(p!==n.charCodeAt(a+h))break;47===p&&(u=h)}var d="";for(h=i+u+1;h<=o;++h)h!==o&&47!==e.charCodeAt(h)||(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(a+u):(a+=u,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(n=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!s){i=r+1;break}}else-1===l&&(s=!1,l=r+1),a>=0&&(c===n.charCodeAt(a)?-1===--a&&(o=r):(a=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){i=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(o=!1,i=a+1),46===l?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1);else if(!o){r=a+1;break}}return-1===n||-1===i||0===s||1===s&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var s=-1,a=0,l=-1,c=!0,u=e.length-1,h=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1);else if(!c){a=u+1;break}return-1===s||-1===l||0===h||1===h&&s===l-1&&s===a+1?-1!==l&&(n.base=n.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},8108(e,t,n){"use strict";n.r(t),n.d(t,{Item:()=>S,Menu:()=>E,Separator:()=>_,Submenu:()=>A,animation:()=>y,contextMenu:()=>f,theme:()=>m,useContextMenu:()=>g});var r=n(7857);function i(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=i(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const o=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=i(e))&&(r&&(r+=" "),r+=t);return r};function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var l=(0,r.createContext)({});function c(){return(0,r.useContext)(l)}var u=function(e){return r.createElement(l.Provider,{value:e.refTracker},e.children)};function h(){var e=new Map;return{on:function(t,n){var r;return e.has(t)?null==(r=e.get(t))||r.add(n):e.set(t,new Set([n])
2),this},off:function(t,n){return n?e.get(t).delete(n):e.delete(t),this},emit:function(t,n){if("production"!=={USER_TYPE:"pro"}.NODE){var r=t;e.has(t)||0===r||console.error("It seems that the menu you are trying to display is not renderer or you have a menu id mismatch.","You used the menu id: "+t)}return e.has(t)&&e.get(t).forEach(function(e){e(n)}),this}}}var p=h();function d(){return(0,r.useRef)(new Map).current}var f={show:function(e){var t=e.id,n=e.event,r=e.props,i=e.position;n.preventDefault&&n.preventDefault(),p.emit(0).emit(t,{event:n.nativeEvent||n,props:r,position:i})},hideAll:function(){p.emit(0)}};function g(e){return{show:function(t,n){f.show({id:(null==n?void 0:n.id)||(null==e?void 0:e.id),props:(null==n?void 0:n.props)||(null==e?void 0:e.props),event:t,position:null==n?void 0:n.position})},hideAll:function(){f.hideAll()}}}var m={light:"light",dark:"dark"},y={fade:"fade",flip:"flip",scale:"scale",slide:"slide"},v=function(){};function b(e){return"function"==typeof e}function x(e){return"string"==typeof e}function w(e,t){return r.Children.map(r.Children.toArray(e).filter(Boolean),function(e){return(0,r.cloneElement)(e,t)})}function k(e,t){return b(e)?e(t):e}function $(e,t){return b(t)?s({},e,t(e)):s({},e,t)}var E=function(e){var t,n,i,l=e.id,c=e.theme,h=e.style,f=e.className,g=e.children,m=e.animation,y=void 0===m?"scale":m,b=e.onHidden,k=void 0===b?v:b,E=e.onShown,S=void 0===E?v:E,_=a(e,["id","theme","style","className","children","animation","onHidden","onShown"]),A=(0,r.useReducer)($,{x:0,y:0,visible:!1,triggerEvent:{},propsFromTrigger:null,willLeave:!1}),T=A[0],C=A[1],O=(0,r.useRef)(null),N=(0,r.useRef)(!1),j=(n=T.visible,i=(0,r.useRef)(),(0,r.useEffect)(function(){i.current=n},[n]),i.current),I=d(),q=(0,r.useState)(function(){return function(){var e,t,n,r,i=new Map,o=!1;function s(){r[e].node.focus()}function a(){return-1!==e||(l(),!1)}function l(){e+1<r.length?e++:e+1===r.length&&(e=0),o&&c(),s()}function c(){if(a()&&!n){var l=i.get(t),c=l.isRoot,u=l.items,h=l.focusedIndex,p=l.parentNode;t.classList.remove("react-contexify__submenu--is-open"),r=u,t=p,c&&(n=!0,i.clear()),o||(e=h,s())}}return{init:function(t){r=t,e=-1,n=!0},moveDown:l,moveUp:function(){-1===e||0===e?e=r.length-1:e-1<r.length&&e--,o&&c(),s()},openSubmenu:function(){if(a()&&e>=0&&r[e].isSubmenu){var l=Array.from(r[e].submenuRefTracker.values()),c=r[e].node;return i.set(c,{isRoot:n,focusedIndex:e,parentNode:t||c,items:r}),c.classList.add("react-contexify__submenu--is-open"),t=c,l.length>0?(e=0,r=l):o=!0,n=!1,s(),!0}return!1},closeSubmenu:c}}()})[0];function P(e){var t=e.event,n=e.props,r=e.position;t.stopPropagation();var i,o,s=r||(o={x:0,y:0},function(e){return"touchend"===e.type}(i=t)&&i.changedTouches&&i.changedTouches.length>0?(o.x=i.changedTouches[0].clientX,o.y=i.changedTouches[0].clientY):(o.x=i.clientX,o.y=i.clientY),(!o.x||o.x<0)&&(o.x=0),(!o.y||o.y<0)&&(o.y=0),o),a=s.x,l=s.y;setTimeout(function(){C({visible:!0,willLeave:!1,x:a,y:l,triggerEvent:t,propsFromTrigger:n})},0)}function z(e){var t=e;(void 0===t||2!==t.button&&!0!==t.ctrlKey||"contextmenu"===t.type)&&(function(e){return!(!e||!(x(e)||"exit"in e&&e.exit))}(y)?C(function(e){return{willLeave:e.visible}}):C(function(e){return{visible:!e.visible&&e.visible}}))}(0,r.useEffect)(function(){return N.current=!0,p.on(l,P).on(0,z),function(){p.off(l,P).off(0,z)}},[l]),(0,r.useEffect)(function(){N.current&&T.visible!==j&&(T.visible?S():k())},[T.visible,k,S]),(0,r.useEffect)(function(){T.visible?q.init(Array.from(I.values())):I.clear()},[T.visible,q,I]),(0,r.useEffect)(function(){if(T.visible){var e=window,t=e.innerWidth,n=e.innerHeight,r=O.current,i=r.offsetWidth,o=r.offsetHeight,s=T.x,a=T.y;s+i>t&&(s-=s+i-t),a+o>n&&(a-=a+o-n),C({x:s,y:a})}},[T.visible]),(0,r.useEffect)(function(){function e(e){switch(e.preventDefault(),e.key){case"Enter":q.openSubmenu()||z();break;case"Escape":z();break;case"ArrowUp":q.moveUp();break;case"ArrowDown":q.moveDown();break;case"ArrowRight":q.openSubmenu();break;case"ArrowLeft":q.closeSubmenu()}}return T.visible&&(window.addEventListener("resize",z),window.addEventListener("contextmenu",z),window.addEventListener("click",z),window.addEventListener("scroll",z),window.addEventListener("keydown",e),window.addEventListener("blur",z)),function(){window.removeEventListener("resize",z),window.removeEventListener("contextmenu",z),window.removeEventListener("click",z),window.removeEventListener("scroll",z),window.removeEventListener("keydown",e),window.removeEventListener("blur",z)}},[T.visible,q]);var M,D,B=T.visible,R=T.triggerEvent,L=T.propsFromTrigger,F=T.x,U=T.y,W=T.willLeave,H=o("react-contexify",f,((t={})["react-contexify__theme--"+c]=c,t),y?x(y)?o(((M={})["react-contexify__will-enter--"+y]=y&&B&&!W,M["react-contexify__will-leave--"+y+" react-contexify__will-leave--'disabled'"]=y&&B&&W,M)):"enter"in y&&"exit"in y?o(((D={})["react-contexify__will-enter--"+y.enter]=y.enter&&B&&!W,D["react-contexify__will-leave--"+y.exit+" react-contexify__will-leave--'disabled'"]=y.exit&&B&&W,D)):null:null),V=s({},h,{left:F,top:U,opacity:1});return r.createElement(u,{refTracker:I},B&&r.createElement("div",Object.assign({},_,{className:H,onAnimationEnd:function(){T.willLeave&&T.visible&&C({visible:!1,willLeave:!1})},style:V,ref:O,role:"menu"}),w(g,{propsFromTrigger:L,triggerEvent:R})))},S=function(e){var t,n=e.children,i=e.className,s=e.style,l=e.triggerEvent,u=e.data,h=e.propsFromTrigger,p=e.onClick,d=void 0===p?v:p,f=e.disabled,g=void 0!==f&&f,m=e.hidden,y=void 0!==m&&m,b=a(e,["children","className","style","triggerEvent","data","propsFromTrigger","onClick","disabled","hidden"]),x=c(),w={data:u,triggerEvent:l,props:h},$=k(g,w);if(k(y,w))return null;var E=o("react-contexify__item",i,((t={})["react-contexify__item--disabled"]=$,t));return r.createElement("div",Object.assign({},b,{className:E,style:s,onClick:function(e){w.event=e,$?e.stopPropagation():d(w)},onKeyDown:function(e){"Enter"===e.key&&(w.event=e,d(w))},ref:function(e){e&&!$&&x.set(e,{node:e,isSubmenu:!1})},tabIndex:-1,role:"menuitem","aria-disabled":$}),r.createElement("div",{className:"react-contexify__item__content"},n))};function _(){return r.createElement("div",{className:"react-contexify__separator"})}var A=function(e){var t,n=e.arrow,i=void 0===n?"▶":n,l=e.children,h=e.disabled,p=void 0!==h&&h,f=e.hidden,g=void 0!==f&&f,m=e.label,y=e.className,v=e.triggerEvent,b=e.propsFromTrigger,x=e.style,$=a(e,["arrow","children","disabled","hidden","label","className","triggerEvent","propsFromTrigger","style"]),E=c(),S=d(),_=(0,r.useRef)(null),A=(0,r.useState)({left:"100%",top:0,bottom:"initial"}),T=A[0],C=A[1],O={triggerEvent:v,props:b},N=k(p,O),j=k(g,O);
2if((0,r.useEffect)(function(){if(_.current){var e=window,t=e.innerWidth,n=e.innerHeight,r=_.current.getBoundingClientRect(),i={};r.right<t?(i.left="100%",i.right=void 0):(i.right="100%",i.left=void 0),r.bottom>n?(i.bottom=0,i.top="initial"):i.bottom="initial",C(i)}},[]),j)return null;var I=o("react-contexify__item",y,((t={})["react-contexify__item--disabled"]=N,t)),q=s({},x,T);return r.createElement(u,{refTracker:S},r.createElement("div",Object.assign({},$,{className:I,ref:function(e){e&&!N&&E.set(e,{node:e,isSubmenu:!0,submenuRefTracker:S})},tabIndex:-1,role:"menuitem","aria-haspopup":!0,"aria-disabled":N}),r.createElement("div",{className:"react-contexify__item__content",onClick:function(e){e.stopPropagation()}},m,r.createElement("span",{className:"react-contexify__submenu-arrow"},i)),r.createElement("div",{className:"react-contexify react-contexify__submenu",ref:_,style:q},w(l,{propsFromTrigger:b,triggerEvent:v}))))}},5439(e,t,n){"use strict";n(3899);var r=n(7857),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:s.current}}t.jsx=c,t.jsxs=c},4920(e,t,n){"use strict";var r=n(3899),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var s=60109,a=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;i=h("react.element"),o=h("react.portal"),t.Fragment=h("react.fragment"),t.StrictMode=h("react.strict_mode"),t.Profiler=h("react.profiler"),s=h("react.provider"),a=h("react.context"),l=h("react.forward_ref"),t.Suspense=h("react.suspense"),c=h("react.memo"),u=h("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function m(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=m.prototype;var b=v.prototype=new y;b.constructor=v,r(b,m.prototype),b.isPureReactComponent=!0;var x={current:null},w=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function $(e,t,n){var r,o={},s=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)w.call(t,r)&&!k.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:s,ref:a,props:o,_owner:x.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var S=/\/+/g;function _(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(e,t,n,r,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case o:l=!0}}if(l)return s=s(l=e),e=""===r?"."+_(l,0):r,Array.isArray(s)?(n="",null!=e&&(n=e.replace(S,"$&/")+"/"),A(s,t,n,"",function(e){return e})):null!=s&&(E(s)&&(s=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,n+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(S,"$&/")+"/")+e)),t.push(s)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+_(a=e[c],c);l+=A(a,t,n,u,s)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(a=e.next()).done;)l+=A(a=a.value,t,n,u=r+_(a,c++),s);else if("object"===a)throw t=""+e,Error(d(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function T(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function C(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var O={current:null};function N(){var e=O.current;if(null===e)throw Error(d(321));return e}var j={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:T,forEach:function(e,t,n){T(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return T(e,function(){t++}),t},toArray:function(e){return T(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(d(143));return e}}
2,t.Component=m,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,t.cloneElement=function(e,t,n){if(null==e)throw Error(d(267,e));var o=r({},e.props),s=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=x.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)w.call(t,u)&&!k.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var h=0;h<u;h++)c[h]=arguments[h+2];o.children=c}return{$$typeof:i,type:e.type,key:s,ref:a,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=$,t.createFactory=function(e){var t=$.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:C}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="17.0.2"},7857(e,t,n){"use strict";e.exports=n(4920)},5573(e,t,n){"use strict";e.exports=n(5439)},9527(e){e.exports=function(e){"use strict";return e.ParseState.prototype.parseAsync=function(e,t){return this.parse(e,t,!0)},e.expression.parseAsync=function(t,n,r){return e.expression.parse.call(this,t,n,r,!0)},e.logic.parseAsync=function(t,n,r){return e.logic.parse.call(this,t,n,r,!0)},e.Template.prototype.renderAsync=function(e,t){return this.render(e,t,!0)},e.async={},e.isPromise=function(e){return e&&e.then&&"function"==typeof e.then},e.async.potentiallyAsync=function(t,n,r){return n?e.Promise.resolve(r.call(t)):function(t,n,r){let i=r.call(t),o=null,s=!0;if(!e.isPromise(i))return i;if(i.then(e=>{i=e,s=!1}).catch(e=>{o=e}),null!==o)throw o;if(s)throw new e.Error("You are using Twig.js in sync mode in combination with async extensions.");return i}(t,0,r)},e.Thenable=function(e,t,n){this.then=e,this._value=n?t:null,this._state=n||0},e.Thenable.prototype.catch=function(e){return 1===this._state?this:this.then(null,e)},e.Thenable.resolvedThen=function(t){try{return e.Promise.resolve(t(this._value))}catch(t){return e.Promise.reject(t)}},e.Thenable.rejectedThen=function(t,n){if(!n||"function"!=typeof n)return this;const r=this._value;let i;try{i=n(r)}catch(t){i=e.Promise.reject(t)}return e.Promise.resolve(i)},e.Promise=function(t){let n=0,r=null,i=function(e,t){n=e,r=t};return function(e,t,n){try{e(function(e){i(1,e)},n)}catch(e){n(e)}}(t,0,function(e){i(2,e)}),1===n?e.Promise.resolve(r):2===n?e.Promise.reject(r):(i=new e.FullPromise,i.promise)},e.FullPromise=function(){let t=null;function n(e){e(s._value)}function r(e,t){t(s._value)}let i=function(e,n){t=function(e,t,n){const r=[t,n,-2];return e?-2===e[2]?e=[e,r]:e.push(r):e=r,e}(t,e,n)};function o(e,o){if(!s._state&&(s._value=o,s._state=e,i=1===e?n:r,t)){if(-2===t[2])return i(t[0],t[1]),void(t=null);t.forEach(e=>{i(e[0],e[1])}),t=null}}const s=new e.Thenable((t,n)=>{const r="function"==typeof t;if(1===s._state&&!r)return e.Promise.resolve(s._value);if(1===s._state)try{return e.Promise.resolve(t(s._value))}catch(t){return e.Promise.reject(t)}const o="function"==typeof n;return new e.Promise((e,s)=>{i(r?n=>{try{e(t(n))}catch(e){s(e)}}:e,o?t=>{try{e(n(t))}catch(e){s(e)}}:s)})});return o.promise=s,o},e.Promise.defaultResolved=new e.Thenable(e.Thenable.resolvedThen,void 0,1),e.Promise.emptyStringResolved=new e.Thenable(e.Thenable.resolvedThen,"",1),e.Promise.resolve=function(t){return 0===arguments.length||void 0===t?e.Promise.defaultResolved:e.isPromise(t)?t:""===t?e.Promise.emptyStringResolved:new e.Thenable(e.Thenable.resolvedThen,t,1)},e.Promise.reject=function(t){return new e.Thenable(e.Thenable.rejectedThen,t,2)},e.Promise.all=function(t){const n=new Array(t.length);return e.async.forEach(t,(t,r)=>{if(e.isPromise(t)){if(1!==t._state)return t.then(e=>{n[r]=e});n[r]=t._value}else n[r]=t}).then(()=>n)},e.async.forEach=function(t,n){const r=t?t.length:0;let i=0;return function o(){let s=null;do{if(i===r)return e.Promise.resolve();s=n(t[i],i),i++}while(!s||!e.isPromise(s)||1===s._state);return s.then(o)}()},e}},1922(e){e.exports=function(e){return e.compiler={module:{}},e.compiler.compile=function(t,n){const r=JSON.stringify(t.tokens),{id:i}=t;let o=null;if(n.module){if(void 0===e.compiler.module[n.module])throw new e.Error("Unable to find module type "+n.module);o=e.compiler.module[n.module](i,r,n.twig)}else o=e.compiler.wrap(i,r);return o},e.compiler.module={amd:(t,n,r)=>'define(["'+r+'"], function (Twig) {\n\tvar twig, templates;
2\ntwig = Twig.twig;\ntemplates = '+e.compiler.wrap(t,n)+"\n\treturn templates;\n});",node:(t,n)=>'var twig = require("twig").twig;\nexports.template = '+e.compiler.wrap(t,n),cjs2:(t,n,r)=>'module.declare([{ twig: "'+r+'" }], function (require, exports, module) {\n\tvar twig = require("twig").twig;\n\texports.template = '+e.compiler.wrap(t,n)+"\n});"},e.compiler.wrap=function(e,t){return'twig({id:"'+e.replace('"','\\"')+'", data:'+t+", precompiled: true});\n"},e}},6200(e){e.exports=function(e){"use strict";function t(t,n){if(t.template.options.rethrow)throw"string"==typeof n&&(n=new e.Error(n)),"TwigException"!==n.type||n.file||(n.file=t.template.id),n;if(e.log.error("Error parsing twig template "+t.template.id+": "),n.stack?e.log.error(n.stack):e.log.error(n.toString()),e.debug)return n.toString()}return e.trace=!1,e.debug=!1,e.cache=!0,e.noop=function(){},e.merge=function(e,t,n){return Object.keys(t).forEach(r=>{n&&!(r in e)||(e[r]=t[r])}),e},e.Error=function(e,t){this.message=e,this.name="TwigException",this.type="TwigException",this.file=t},e.Error.prototype.toString=function(){return this.name+": "+this.message},e.log={trace(...t){e.trace&&console&&console.log(Array.prototype.slice.call(t))},debug(...t){e.debug&&console&&console.log(Array.prototype.slice.call(t))}},"undefined"==typeof console?e.log.error=function(){}:void 0!==console.error?e.log.error=function(...e){console.error(...e)}:void 0!==console.log&&(e.log.error=function(...e){console.log(...e)}),e.token={},e.token.type={output:"output",logic:"logic",comment:"comment",raw:"raw",outputWhitespacePre:"output_whitespace_pre",outputWhitespacePost:"output_whitespace_post",outputWhitespaceBoth:"output_whitespace_both",logicWhitespacePre:"logic_whitespace_pre",logicWhitespacePost:"logic_whitespace_post",logicWhitespaceBoth:"logic_whitespace_both"},e.token.definitions=[{type:e.token.type.raw,open:"{% raw %}",close:"{% endraw %}"},{type:e.token.type.raw,open:"{% verbatim %}",close:"{% endverbatim %}"},{type:e.token.type.outputWhitespacePre,open:"{{-",close:"}}"},{type:e.token.type.outputWhitespacePost,open:"{{",close:"-}}"},{type:e.token.type.outputWhitespaceBoth,open:"{{-",close:"-}}"},{type:e.token.type.logicWhitespacePre,open:"{%-",close:"%}"},{type:e.token.type.logicWhitespacePost,open:"{%",close:"-%}"},{type:e.token.type.logicWhitespaceBoth,open:"{%-",close:"-%}"},{type:e.token.type.output,open:"{{",close:"}}"},{type:e.token.type.logic,open:"{%",close:"%}"},{type:e.token.type.comment,open:"{#",close:"#}"}],e.token.strings=['"',"'"],e.token.findStart=function(t){const n={position:null,def:null};let r=null;const i=e.token.definitions.length;let o,s,a,l;for(o=0;o<i;o++)s=e.token.definitions[o],a=t.indexOf(s.open),l=t.indexOf(s.close),e.log.trace("Twig.token.findStart: ","Searching for ",s.open," found at ",a),a>=0&&s.open.length!==s.close.length&&l<0||(a>=0&&(null===n.position||a<n.position)?(n.position=a,n.def=s,r=l):a>=0&&null!==n.position&&a===n.position&&(s.open.length>n.def.open.length?(n.position=a,n.def=s,r=l):s.open.length===n.def.open.length&&(s.close.length,n.def.close.length,l>=0&&l<r&&(n.position=a,n.def=s,r=l))));return n},e.token.findEnd=function(t,n,r){let i,o,s=null,a=!1,l=0,c=null,u=null,h=null,p=null,d=null,f=null;for(;!a;){if(c=null,u=null,h=t.indexOf(n.close,l),!(h>=0))throw new e.Error("Unable to find closing bracket '"+n.close+"' opened near template position "+r);if(s=h,a=!0,n.type===e.token.type.comment)break;
2if(n.type===e.token.type.raw)break;for(o=e.token.strings.length,i=0;i<o;i+=1)d=t.indexOf(e.token.strings[i],l),d>0&&d<h&&(null===c||d<c)&&(c=d,u=e.token.strings[i]);if(null!==c)for(p=c+1,s=null,a=!1;;){if(f=t.indexOf(u,p),f<0)throw e.Error("Unclosed string in template");if("\\"!==t.slice(f-1,f)){l=f+1;break}p=f+1}}return s},e.tokenize=function(t){const n=[];let r=0,i=null,o=null;for(;t.length>0;)if(i=e.token.findStart(t),e.log.trace("Twig.tokenize: ","Found token: ",i),null===i.position)n.push({type:e.token.type.raw,value:t,position:{start:r,end:r+i.position}}),t="";else{if(i.position>0&&n.push({type:e.token.type.raw,value:t.slice(0,Math.max(0,i.position)),position:{start:r,end:r+Math.max(0,i.position)}}),t=t.slice(i.position+i.def.open.length),r+=i.position+i.def.open.length,o=e.token.findEnd(t,i.def,r),e.log.trace("Twig.tokenize: ","Token ends at ",o),n.push({type:i.def.type,value:t.slice(0,Math.max(0,o)).trim(),position:{start:r-i.def.open.length,end:r+o+i.def.close.length}}),"\n"===t.slice(o+i.def.close.length,o+i.def.close.length+1))switch(i.def.type){case"logic_whitespace_pre":case"logic_whitespace_post":case"logic_whitespace_both":case"logic":o+=1}t=t.slice(o+i.def.close.length),r+=o+i.def.close.length}return n},e.compile=function(t){const n=this;try{const r=[],i=[];let o=[],s=null,a=null,l=null,c=null,u=null,h=null,p=null,d=null,f=null,g=null,m=null,y=null;const v=function(t){e.expression.compile.call(n,t),i.length>0?o.push(t):r.push(t)},b=function(t){if(a=e.logic.compile.call(n,t),a.position=t.position,g=a.type,m=e.logic.handler[g].open,y=e.logic.handler[g].next,e.log.trace("Twig.compile: ","Compiled logic token to ",a," next is: ",y," open is : ",m),void 0!==m&&!m){if(c=i.pop(),p=e.logic.handler[c.type],!p.next.includes(g))throw new Error(g+" not expected after a "+c.type);c.output=c.output||[],c.output=c.output.concat(o),o=[],f={type:e.token.type.logic,token:c,position:{open:c.position,close:t.position}},i.length>0?o.push(f):r.push(f)}void 0!==y&&y.length>0?(e.log.trace("Twig.compile: ","Pushing ",a," to logic stack."),i.length>0&&(c=i.pop(),c.output=c.output||[],c.output=c.output.concat(o),i.push(c),o=[]),i.push(a)):void 0!==m&&m&&(f={type:e.token.type.logic,token:a,position:a.position},i.length>0?o.push(f):r.push(f))};for(;t.length>0;){switch(s=t.shift(),u=r[r.length-1],h=o[o.length-1],d=t[0],e.log.trace("Compiling token ",s),s.type){case e.token.type.raw:i.length>0?o.push(s):r.push(s);break;case e.token.type.logic:b.call(n,s);break;case e.token.type.comment:break;case e.token.type.output:v.call(n,s);break;case e.token.type.logicWhitespacePre:case e.token.type.logicWhitespacePost:case e.token.type.logicWhitespaceBoth:case e.token.type.outputWhitespacePre:case e.token.type.outputWhitespacePost:case e.token.type.outputWhitespaceBoth:switch(s.type!==e.token.type.outputWhitespacePost&&s.type!==e.token.type.logicWhitespacePost&&(u&&u.type===e.token.type.raw&&(r.pop(),u.value=u.value.trimEnd(),r.push(u)),h&&h.type===e.token.type.raw&&(o.pop(),h.value=h.value.trimEnd(),o.push(h))),s.type){case e.token.type.outputWhitespacePre:case e.token.type.outputWhitespacePost:case e.token.type.outputWhitespaceBoth:v.call(n,s);break;case e.token.type.logicWhitespacePre:case e.token.type.logicWhitespacePost:case e.token.type.logicWhitespaceBoth:b.call(n,s)}s.type!==e.token.type.outputWhitespacePre&&s.type!==e.token.type.logicWhitespacePre&&d&&d.type===e.token.type.raw&&(t.shift(),d.value=d.value.trimStart(),t.unshift(d))}e.log.trace("Twig.compile: "," Output: ",r," Logic Stack: ",i," Pending Output: ",o)}if(i.length>0)throw l=i.pop(),new Error("Unable to find an end tag for "+l.type+", expecting one of "+l.next);return r}catch(t){if(n.options.rethrow)throw"TwigException"!==t.type||t.file||(t.file=n.id),t;e.log.error("Error compiling twig template "+n.id+": "),t.stack?e.log.error(t.stack):e.log.error(t.toString())}},e.prepare=function(t){e.log.debug("Twig.prepare: ","Tokenizing ",t);const n=e.tokenize.call(this,t);e.log.debug("Twig.prepare: ","Compiling ",n);const r=e.compile.call(this,n);return e.log.debug("Twig.prepare: ","Compiled ",r),r},e.output=function(t){const{autoescape:n}=this.options;if(!n)return t.join("");const r="string"==typeof n?n:"html",i=t.map(t=>(!t||!0===t.twigMarkup||t.twigMarkup===r||"html"===r&&"html_attr"===t.twigMarkup||(t=e.filters.escape(t,[r])),t));if(0===i.length)return"";const o=i.join("");return 0===o.length?"":new e.Markup(o,!0)},e.Templates={loaders:{},parsers:{},registry:{}},e.validateId=function(t){if("prototype"===t)throw new e.Error(t+" is not a valid twig identifier");
2if(e.cache&&Object.hasOwnProperty.call(e.Templates.registry,t))throw new e.Error("There is already a template with the ID "+t);return!0},e.Templates.registerLoader=function(t,n,r){if("function"!=typeof n)throw new e.Error("Unable to add loader for "+t+": Invalid function reference given.");r&&(n=n.bind(r)),this.loaders[t]=n},e.Templates.unRegisterLoader=function(e){this.isRegisteredLoader(e)&&delete this.loaders[e]},e.Templates.isRegisteredLoader=function(e){return Object.hasOwnProperty.call(this.loaders,e)},e.Templates.registerParser=function(t,n,r){if("function"!=typeof n)throw new e.Error("Unable to add parser for "+t+": Invalid function regerence given.");r&&(n=n.bind(r)),this.parsers[t]=n},e.Templates.unRegisterParser=function(e){this.isRegisteredParser(e)&&delete this.parsers[e]},e.Templates.isRegisteredParser=function(e){return Object.hasOwnProperty.call(this.parsers,e)},e.Templates.save=function(t){if(void 0===t.id)throw new e.Error("Unable to save template with no id");e.Templates.registry[t.id]=t},e.Templates.load=function(t){return Object.hasOwnProperty.call(e.Templates.registry,t)?e.Templates.registry[t]:null},e.Templates.loadRemote=function(t,n,r,i){const o=void 0===n.id?t:n.id,s=e.Templates.registry[o];return e.cache&&void 0!==s?("function"==typeof r&&r(s),s):(n.parser=n.parser||"twig",n.id=o,void 0===n.async&&(n.async=!0),(this.loaders[n.method]||this.loaders.fs).call(this,t,n,r,i))},e.Block=function(e,t){this.template=e,this.token=t},e.Block.prototype.render=function(t,n){const r=t.template;let i;return t.template=this.template,i=this.token.expression?e.expression.parseAsync.call(t,this.token.output,n):t.parseAsync(this.token.output,n),i.then(r=>e.expression.parseAsync.call(t,{type:e.expression.type.string,value:r},n)).then(e=>(t.template=r,e))},e.ParseState=function(e,t,n){this.renderedBlocks={},this.overrideBlocks=void 0===t?{}:t,this.context=void 0===n?{}:n,this.macros={},this.nestingStack=[],this.template=e},e.ParseState.prototype.getBlock=function(e,t){let n;return!0!==t&&(n=this.overrideBlocks[e]),void 0===n&&(n=this.template.getBlock(e,t)),void 0===n&&null!==this.template.parentTemplate&&(n=this.template.parentTemplate.getBlock(e)),n},e.ParseState.prototype.getBlocks=function(e){let t={};return!1!==e&&null!==this.template.parentTemplate&&this.template.parentTemplate!==this.template&&(t=this.template.parentTemplate.getBlocks()),t={...t,...this.template.getBlocks(),...this.overrideBlocks},t},e.ParseState.prototype.getNestingStackToken=function(e){let t;return this.nestingStack.forEach(n=>{void 0===t&&n.type===e&&(t=n)}),t},e.ParseState.prototype.parse=function(n,r,i){const o=this;let s=[],a=null,l=!0,c=null,u=!0;function h(e){s.push(e)}function p(e){void 0!==e.chain&&(u=e.chain),void 0!==e.context&&(o.context=e.context),void 0!==e.output&&s.push(e.output)}if(r&&(o.context=r),c=e.async.forEach(n,t=>{switch(e.log.debug("Twig.ParseState.parse: ","Parsing token: ",t),t.type){case e.token.type.raw:s.push(e.filters.raw(t.value));break;case e.token.type.logic:return e.logic.parseAsync.call(o,t.token,o.context,u).then(p);case e.token.type.comment:break;case e.token.type.outputWhitespacePre:case e.token.type.outputWhitespacePost:case e.token.type.outputWhitespaceBoth:case e.token.type.output:return e.log.debug("Twig.ParseState.parse: ","Output token: ",t.stack),e.expression.parseAsync.call(o,t.stack,o.context).then(h)}}).then(()=>(s=e.output.call(o.template,s),l=!1,s)).catch(e=>{i&&t(o,e),a=e}),i)return c;if(null!==a)return t(o,a);if(l)throw new e.Error("You are using Twig.js in sync mode in combination with async extensions.");return s}
2,e.Template=function(t){const{data:n,id:r,base:i,path:o,url:s,name:a,method:l,options:c}=t;this.base=i,this.blocks={defined:{},imported:{}},this.id=r,this.method=l,this.name=a,this.options=c,this.parentTemplate=null,this.path=o,this.url=s,function(e,t){const n=Object.prototype.toString.call(t).slice(8,-1);return null!=t&&"String"===n}(0,n)?this.tokens=e.prepare.call(this,n):this.tokens=n,void 0!==r&&e.Templates.save(this)},e.Template.prototype.getBlock=function(e,t,n=!0){let r;return!0!==t&&(r=this.blocks.defined[e]),n&&void 0===r&&(r=this.blocks.imported[e]),void 0===r&&null!==this.parentTemplate&&(r=this.parentTemplate.getBlock(e,t,n=!1)),r},e.Template.prototype.getBlocks=function(){let e={};return e={...e,...this.blocks.imported,...this.blocks.defined},e},e.Template.prototype.render=function(t,n,r){const i=this;return n=n||{},e.async.potentiallyAsync(i,r,()=>{const r=new e.ParseState(i,n.blocks,t);return r.parseAsync(i.tokens).then(t=>{let o,s;return null!==i.parentTemplate?(i.options.allowInlineIncludes&&(o=e.Templates.load(i.parentTemplate),o&&(o.options=i.options)),o||(s=e.path.parsePath(i,i.parentTemplate),o=e.Templates.loadRemote(s,{method:i.getLoaderMethod(),base:i.base,async:!1,id:s,options:i.options})),i.parentTemplate=o,i.parentTemplate.renderAsync(r.context,{blocks:r.getBlocks(!1),isInclude:!0})):!0===n.isInclude?t:t.valueOf()})})},e.Template.prototype.importFile=function(t){let n,r=null;if(!this.url&&this.options.allowInlineIncludes){if(t=this.path?e.path.parsePath(this,t):t,n=e.Templates.load(t),!n&&(n=e.Templates.loadRemote(r,{id:t,method:this.getLoaderMethod(),async:!1,path:t,options:this.options}),!n))throw new e.Error("Unable to find the template "+t);return n.options=this.options,n}return r=e.path.parsePath(this,t),n=e.Templates.loadRemote(r,{method:this.getLoaderMethod(),base:this.base,async:!1,options:this.options,id:r}),n},e.Template.prototype.getLoaderMethod=function(){return this.path?"fs":this.url?"ajax":this.method||"fs"},e.Template.prototype.compile=function(t){return e.compiler.compile(this,t)},e.Markup=function(e,t){if("string"!=typeof e)return e;const n=new String(e);return n.twigMarkup=void 0===t||t,n},e}},1e3(e){e.exports=function(e){"use strict";return e.exports={VERSION:e.VERSION},e.exports.twig=function(t){const{id:n}=t,r={strictVariables:t.strict_variables||!1,autoescape:null!==t.autoescape&&t.autoescape||!1,allowInlineIncludes:t.allowInlineIncludes||!1,rethrow:t.rethrow||!1,namespaces:t.namespaces};if(e.cache&&n&&e.validateId(n),void 0!==t.debug&&(e.debug=t.debug),void 0!==t.trace&&(e.trace=t.trace),void 0!==t.data)return e.Templates.parsers.twig({data:t.data,path:Object.hasOwnProperty.call(t,"path")?t.path:void 0,module:t.module,id:n,options:r});if(void 0!==t.ref){if(void 0!==t.id)throw new e.Error("Both ref and id cannot be set on a twig.js template.");return e.Templates.load(t.ref)}if(void 0!==t.method){if(!e.Templates.isRegisteredLoader(t.method))throw new e.Error('Loader for "'+t.method+'" is not defined.');return e.Templates.loadRemote(t.name||t.href||t.path||n||void 0,{id:n,method:t.method,parser:t.parser||"twig",base:t.base,module:t.module,precompiled:t.precompiled,async:t.async,options:r},t.load,t.error)}return void 0!==t.href?e.Templates.loadRemote(t.href,{id:n,method:"ajax",parser:t.parser||"twig",base:t.base,module:t.module,precompiled:t.precompiled,async:t.async,options:r},t.load,t.error):void 0!==t.path?e.Templates.loadRemote(t.path,{id:n,method:"fs",parser:t.parser||"twig",base:t.base,module:t.module,precompiled:t.precompiled,async:t.async,options:r},t.load,t.error):void 0},e.exports.extendFilter=function(t,n){e.filter.extend(t,n)},e.exports.extendFunction=function(t,n){e._function.extend(t,n)},e.exports.extendTest=function(t,n){e.test.extend(t,n)},e.exports.extendTag=function(t){e.logic.extend(t)},e.exports.extend=function(t){t(e)},e.exports.compile=function(t,n){const r=n.filename,i=n.filename,o=new e.Template({data:t,path:i,id:r,options:n.settings["twig options"]});return function(e){return o.render(e)}},e.exports.renderFile=function(t,n,r){"function"==typeof n&&(r=n,n={});const i=(n=n||{}).settings||{},o=i["twig options"],s={path:t,base:i.views,load(e){o&&o.allowAsync?e.renderAsync(n).then(e=>r(null,e),r):r(null,String(e.render(n)))},error(e){r(e)}};if(o)for(const e in o)Object.hasOwnProperty.call(o,e)&&(s[e]=o[e]);e.exports.twig(s)},e.exports.__express=e.exports.renderFile,e.exports.cache=function(t){e.cache=t},e.exports.path=e.path,e.exports.filters=e.filters,e.exports.tests=e.tests,e.exports.functions=e.functions,e.exports.Promise=e.Promise,e}},1089(e,t,n){e.exports=function(e){"use strict";function t(t,n,r){return n?e.expression.parseAsync.call(t,n,r):e.Promise.resolve(!1)}for(e.expression={},n(9543)(e),e.expression.reservedWords=["true","false","null","TRUE","FALSE","NULL","_context","and","b-and","or","b-or","b-xor","in","not in","if","matches","starts","ends","with"],e.expression.type={comma:"Twig.expression.type.comma",operator:{unary:"Twig.expression.type.operator.unary",binary:"Twig.expression.type.operator.binary"},string:"Twig.expression.type.string",bool:"Twig.expression.type.bool",slice:"Twig.expression.type.slice",array:{start:"Twig.expression.type.array.start",end:"Twig.expression.type.array.end"},object:{start:"Twig.expression.type.object.start",end:"Twig.expression.type.object.end"}
2,parameter:{start:"Twig.expression.type.parameter.start",end:"Twig.expression.type.parameter.end"},subexpression:{start:"Twig.expression.type.subexpression.start",end:"Twig.expression.type.subexpression.end"},key:{period:"Twig.expression.type.key.period",brackets:"Twig.expression.type.key.brackets"},filter:"Twig.expression.type.filter",_function:"Twig.expression.type._function",variable:"Twig.expression.type.variable",number:"Twig.expression.type.number",_null:"Twig.expression.type.null",context:"Twig.expression.type.context",test:"Twig.expression.type.test"},e.expression.set={operations:[e.expression.type.filter,e.expression.type.operator.unary,e.expression.type.operator.binary,e.expression.type.array.end,e.expression.type.object.end,e.expression.type.parameter.end,e.expression.type.subexpression.end,e.expression.type.comma,e.expression.type.test],expressions:[e.expression.type._function,e.expression.type.bool,e.expression.type.string,e.expression.type.variable,e.expression.type.number,e.expression.type._null,e.expression.type.context,e.expression.type.parameter.start,e.expression.type.array.start,e.expression.type.object.start,e.expression.type.subexpression.start,e.expression.type.operator.unary]},e.expression.set.operationsExtended=e.expression.set.operations.concat([e.expression.type.key.period,e.expression.type.key.brackets,e.expression.type.slice]),e.expression.fn={compile:{push(e,t,n){n.push(e)},pushBoth(e,t,n){n.push(e),t.push(e)}},parse:{push(e,t){t.push(e)},pushValue(e,t){t.push(e.value)}}},e.expression.definitions=[{type:e.expression.type.test,regex:/^is\s+(not)?\s*([a-zA-Z_]\w*(\s?(?:as|by))?)/,next:e.expression.set.operations.concat([e.expression.type.parameter.start]),compile(e,t,n){e.filter=e.match[2],e.modifier=e.match[1],delete e.match,delete e.value,n.push(e)},parse(n,r,i){const o=r.pop();return t(this,n.params,i).then(t=>{const i=e.test(n.filter,o,t);"not"===n.modifier?r.push(!i):r.push(i)})}},{type:e.expression.type.comma,regex:/^,/,next:e.expression.set.expressions.concat([e.expression.type.array.end,e.expression.type.object.end]),compile(t,n,r){let i,o=n.length-1;for(delete t.match,delete t.value;o>=0;o--){if(i=n.pop(),i.type===e.expression.type.object.start||i.type===e.expression.type.parameter.start||i.type===e.expression.type.array.start){n.push(i);break}r.push(i)}r.push(t)}},{type:e.expression.type.number,regex:/^-?\d+(\.\d+)?/,next:e.expression.set.operations,compile(e,t,n){e.value=Number(e.value),n.push(e)},parse:e.expression.fn.parse.pushValue},{type:e.expression.type.operator.binary,regex:/(^\?\?|^\?:|^(b-and)|^(b-or)|^(b-xor)|^[+\-~%?]|^(<=>)|^[:](?!\d\])|^[!=]==?|^[!<>]=?|^\*\*?|^\/\/?|^(and)[(|\s+]|^(or)[(|\s+]|^(in)[(|\s+]|^(not in)[(|\s+]|^(matches)|^(starts with)|^(ends with)|^\.\.)/,next:e.expression.set.expressions,transform(e,t){switch(e[0]){case"and(":case"or(":case"in(":case"not in(":return t[t.length-1].value=e[2],e[0];default:return""}},compile(t,n,r){delete t.match,t.value=t.value.trim();const{value:i}=t,o=e.expression.operator.lookup(i,t);for(e.log.trace("Twig.expression.compile: ","Operator: ",o," from ",i);n.length>0&&(n[n.length-1].type===e.expression.type.operator.unary||n[n.length-1].type===e.expression.type.operator.binary)&&(o.associativity===e.expression.operator.leftToRight&&o.precidence>=n[n.length-1].precidence||o.associativity===e.expression.operator.rightToLeft&&o.precidence>n[n.length-1].precidence);){const e=n.pop();r.push(e)}if(":"===i)if(n[n.length-1]&&"?"===n[n.length-1].value);else{const n=r.pop();if(n.type===e.expression.type.string||n.type===e.expression.type.variable)t.key=n.value;else if(n.type===e.expression.type.number)t.key=n.value.toString();else{if(!n.expression||n.type!==e.expression.type.parameter.end&&n.type!==e.expression.type.subexpression.end)throw new e.Error("Unexpected value before ':' of "+n.type+" = "+n.value);t.params=n.params}r.push(t)}else n.push(o)},parse(t,n,r){const i=this;if(t.key)n.push(t);else{if(t.params)return e.expression.parseAsync.call(i,t.params,r).then(e=>{t.key=e,n.push(t),r.loop||delete t.params});e.expression.operator.parse(t.value,n)}}},{type:e.expression.type.operator.unary,regex:/(^not\s+)/,next:e.expression.set.expressions,compile(t,n,r){delete t.match,t.value=t.value.trim();const{value:i}=t,o=e.expression.operator.lookup(i,t);for(e.log.trace("Twig.expression.compile: ","Operator: ",o," from ",i);n.length>0&&(n[n.length-1].type===e.expression.type.operator.unary||n[n.length-1].type===e.expression.type.operator.binary)&&(o.associativity===e.expression.operator.leftToRight&&o.precidence>=n[n.length-1].precidence||o.associativity===e.expression.operator.rightToLeft&&o.precidence>n[n.length-1].precidence);){const e=n.pop();r.push(e)}n.push(o)},parse(t,n){e.expression.operator.parse(t.value,n)}},{type:e.expression.type.string,regex:/^(["'])(?:(?=(\\?))\2[\s\S])*?\1/,next:e.expression.set.operationsExtended,compile(t,n,r){let{value:i}=t;delete t.match,i='"'===i.slice(0,1)?i.replace('\\"','"'):i.replace("\\'","'"),t.value=i.slice(1,-1).replace(/\\n
2/g,"\n").replace(/\\r/g,"\r"),e.log.trace("Twig.expression.compile: ","String value: ",t.value),r.push(t)},parse:e.expression.fn.parse.pushValue},{type:e.expression.type.subexpression.start,regex:/^\(/,next:e.expression.set.expressions.concat([e.expression.type.subexpression.end]),compile(e,t,n){e.value="(",n.push(e),t.push(e)},parse:e.expression.fn.parse.push},{type:e.expression.type.subexpression.end,regex:/^\)/,next:e.expression.set.operationsExtended,validate(t,n){let r=n.length-1,i=!1,o=!1,s=0;for(;!i&&r>=0;){const t=n[r];i=t.type===e.expression.type.subexpression.start,i&&o&&(o=!1,i=!1),t.type===e.expression.type.parameter.start?s++:t.type===e.expression.type.parameter.end?s--:t.type===e.expression.type.subexpression.end&&(o=!0),r--}return i&&0===s},compile(t,n,r){let i;const o=t;for(i=n.pop();n.length>0&&i.type!==e.expression.type.subexpression.start;)r.push(i),i=n.pop();const s=[];for(;t.type!==e.expression.type.subexpression.start;)s.unshift(t),t=r.pop();s.unshift(t),i=n[n.length-1],void 0===i||i.type!==e.expression.type._function&&i.type!==e.expression.type.filter&&i.type!==e.expression.type.test&&i.type!==e.expression.type.key.brackets?(o.expression=!0,s.pop(),s.shift(),o.params=s,r.push(o)):(o.expression=!1,i.params=s)},parse(t,n,r){if(t.expression)return e.expression.parseAsync.call(this,t.params,r).then(e=>{n.push(e)});throw new e.Error("Unexpected subexpression end when token is not marked as an expression")}},{type:e.expression.type.parameter.start,regex:/^\(/,next:e.expression.set.expressions.concat([e.expression.type.parameter.end]),validate(t,n){const r=n[n.length-1];return r&&!e.expression.reservedWords.includes(r.value.trim())},compile:e.expression.fn.compile.pushBoth,parse:e.expression.fn.parse.push},{type:e.expression.type.parameter.end,regex:/^\)/,next:e.expression.set.operationsExtended,compile(t,n,r){let i;const o=t;for(i=n.pop();n.length>0&&i.type!==e.expression.type.parameter.start;)r.push(i),i=n.pop();const s=[];for(;t.type!==e.expression.type.parameter.start;)s.unshift(t),t=r.pop();s.unshift(t),void 0===(t=r[r.length-1])||t.type!==e.expression.type._function&&t.type!==e.expression.type.filter&&t.type!==e.expression.type.test&&t.type!==e.expression.type.key.brackets?(o.expression=!0,s.pop(),s.shift(),o.params=s,r.push(o)):(o.expression=!1,t.params=s)},parse(t,n,r){const i=[];let o=!1,s=null;if(t.expression)return e.expression.parseAsync.call(this,t.params,r).then(e=>{n.push(e)});for(;n.length>0;){if(s=n.pop(),s&&s.type&&s.type===e.expression.type.parameter.start){o=!0;break}i.unshift(s)}if(!o)throw new e.Error("Expected end of parameter set.");n.push(i)}},{type:e.expression.type.slice,regex:/^\[(-?\w*:-?\w*)\]/,next:e.expression.set.operationsExtended,compile(e,t,n){const r=e.match[1].split(":"),i=r[0],o=r[1];e.value="slice",e.params=[i,o],o||(e.params=[i]),n.push(e)},parse(t,n,r){const i=n.pop();let{params:o}=t;const s=this;if(parseInt(o[0],10).toString()===o[0])o[0]=parseInt(o[0],10);else{const t=r[o[0]];if(s.template.options.strictVariables&&void 0===t)throw new e.Error('Variable "'+o[0]+'" does not exist.');o[0]=t}if(o[1])if(parseInt(o[1],10).toString()===o[1])o[1]=parseInt(o[1],10);else{const t=r[o[1]];if(s.template.options.strictVariables&&void 0===t)throw new e.Error('Variable "'+o[1]+'" does not exist.');void 0===t?o=[o[0]]:o[1]=t}n.push(e.filter.call(s,t.value,i,o))}},{type:e.expression.type.array.start,regex:/^\[/,next:e.expression.set.expressions.concat([e.expression.type.array.end]),compile:e.expression.fn.compile.pushBoth,parse:e.expression.fn.parse.push},{type:e.expression.type.array.end,regex:/^\]/,next:e.expression.set.operationsExtended,compile(t,n,r){let i,o=n.length-1;for(;o>=0&&(i=n.pop(),i.type!==e.expression.type.array.start);o--)r.push(i);r.push(t)},parse(t,n){const r=[];let i=!1,o=null;for(;n.length>0;){if(o=n.pop(),o&&o.type&&o.type===e.expression.type.array.start){i=!0;break}r.unshift(o)}if(!i)throw new e.Error("Expected end of array.");n.push(r)}},{type:e.expression.type.object.start,regex:/^\{/,next:e.expression.set.expressions.concat([e.expression.type.object.end]),compile:e.expression.fn.compile.pushBoth,parse:e.expression.fn.parse.push},{type:e.expression.type.object.end,regex:/^\}/,next:e.expression.set.operationsExtended,compile(t,n,r){let i,o=n.length-1;for(;o>=0&&(i=n.pop(),!i||i.type!==e.expression.type.object.start);o--)r.push(i);r.push(t)},parse(t,n){const r={};let i=!1,o=null,s=!1,a=null;for(;n.length>0;){if(o=n.pop(),o&&o.type&&o.type===e.expression.type.object.start){i=!0;break}if(o&&o.type&&(o.type===e.expression.type.operator.binary||o.type===e.expression.type.operator.unary)&&o.key){if(!s)throw new e.Error("Missing value for key '"+o.
2key+"' in object definition.");r[o.key]=a,void 0===r._keys&&(r._keys=[]),r._keys.unshift(o.key),a=null,s=!1}else s=!0,a=o}if(!i)throw new e.Error("Unexpected end of object.");n.push(r)}},{type:e.expression.type.filter,regex:/^\|\s?([a-zA-Z_][a-zA-Z0-9_-]*)/,next:e.expression.set.operationsExtended.concat([e.expression.type.parameter.start]),compile(e,t,n){e.value=e.match[1],n.push(e)},parse(n,r,i){const o=r.pop(),s=this;return t(s,n.params,i).then(t=>e.filter.call(s,n.value,o,t)).then(e=>{r.push(e)})}},{type:e.expression.type._function,regex:/^([a-zA-Z_]\w*)\s*\(/,next:e.expression.type.parameter.start,validate:t=>t[1]&&!e.expression.reservedWords.includes(t[1]),transform:()=>"(",compile(e,t,n){const r=e.match[1];e.fn=r,delete e.match,delete e.value,n.push(e)},parse(n,r,i){const o=this,{fn:s}=n;let a;return t(o,n.params,i).then(t=>{if(e.functions[s])a=e.functions[s].apply(o,t);else{if("function"!=typeof i[s])throw new e.Error(s+" function does not exist and is not defined in the context");a=i[s](...t)}return a}).then(e=>{r.push(e)})}},{type:e.expression.type.variable,regex:/^[a-zA-Z_]\w*/,next:e.expression.set.operationsExtended.concat([e.expression.type.parameter.start]),compile:e.expression.fn.compile.push,validate:t=>!e.expression.reservedWords.includes(t[0]),parse(t,n,r){const i=this;return e.expression.resolveAsync.call(i,r[t.value],r).then(r=>{if(i.template.options.strictVariables&&void 0===r)throw new e.Error('Variable "'+t.value+'" does not exist.');n.push(r)})}},{type:e.expression.type.key.period,regex:/^\.(\w+)/,next:e.expression.set.operationsExtended.concat([e.expression.type.parameter.start]),compile(e,t,n){e.key=e.match[1],delete e.match,delete e.value,n.push(e)},parse(n,r,i,o){const s=this,{key:a}=n,l=r.pop();let c;if(l&&!Object.prototype.hasOwnProperty.call(l,a)&&s.template.options.strictVariables)throw Object.keys(l).length>0?new e.Error('Key "'+a+'" for object with keys "'+Object.keys(l).join(", ")+'" does not exist.'):new e.Error('Key "'+a+'" does not exist as the object is empty.');return t(s,n.params,i).then(t=>{if(null==l)c=void 0;else{const e=function(e){return e.slice(0,1).toUpperCase()+e.slice(1)};c="object"==typeof l&&a in l?l[a]:l["get"+e(a)]?l["get"+e(a)]:l["is"+e(a)]?l["is"+e(a)]:void 0}return e.expression.resolveAsync.call(s,c,i,t,o,l)}).then(e=>{r.push(e)})}},{type:e.expression.type.key.brackets,regex:/^\[([^\]]*)\]/,next:e.expression.set.operationsExtended.concat([e.expression.type.parameter.start]),compile(t,n,r){const i=t.match[1];delete t.value,delete t.match,t.stack=e.expression.compile({value:i}).stack,r.push(t)},parse(n,r,i,o){const s=this;let a,l,c=null;return t(s,n.params,i).then(t=>(c=t,e.expression.parseAsync.call(s,n.stack,i))).then(t=>{if(a=r.pop(),a&&!Object.prototype.hasOwnProperty.call(a,t)&&s.template.options.strictVariables){const n=Object.keys(a);throw n.length>0?new e.Error('Key "'+t+'" for array with keys "'+n.join(", ")+'" does not exist.'):new e.Error('Key "'+t+'" does not exist as the array is empty.')}return null==a?null:(l="object"==typeof a&&t in a?a[t]:null,e.expression.resolveAsync.call(s,l,a,c,o))}).then(e=>{r.push(e)})}},{type:e.expression.type._null,regex:/^(null|NULL|none|NONE)/,next:e.expression.set.operations,compile(e,t,n){delete e.match,e.value=null,n.push(e)},parse:e.expression.fn.parse.pushValue},{type:e.expression.type.context,regex:/^_context/,next:e.expression.set.operationsExtended.concat([e.expression.type.parameter.start]),compile:e.expression.fn.compile.push,parse(e,t,n){t.push(n)}},{type:e.expression.type.bool,regex:/^(true|TRUE|false|FALSE)/,next:e.expression.set.operations,compile(e,t,n){e.value="true"===e.match[0].toLowerCase(),delete e.match,n.push(e)},parse:e.expression.fn.parse.pushValue}],e.expression.resolveAsync=function(t,n,r,i,o){const s=this;if("function"!=typeof t)return e.Promise.resolve(t);let a=e.Promise.resolve(r);if(i&&i.type===e.expression.type.parameter.end){const t=!0;a=a.then(()=>i.params&&e.expression.parseAsync.call(s,i.params,n,t)).then(e=>(i.cleanup=!0,e))}return a.then(e=>t.apply(o||n,e||[]))},e.expression.resolve=function(t,n,r,i,o){return e.async.potentiallyAsync(this,!1,function(){return e.expression.resolveAsync.call(this,t,n,r,i,o)})},e.expression.handler={},e.expression.extendType=function(t){e.expression.type[t]="Twig.expression.type."+t},e.expression.extend=function(t){if(!t.type)throw new e.Error("Unable to extend logic definition. No type provided for "+t);e.expression.handler[t.type]=t};e.expression.definitions.length>0;)e.expression.extend(e.expression.definitions.shift());return e.expression.tokenize=function(t){let n=t.value;const r=[];let i,o,s,a,l,c=0,u=null,h=[];const p=function(...n){let o=arguments.length-2;const s=new Array(o);for(;o-- >0;)s[o]=n[o];if(e.log.trace("Twig.expression.tokenize","Matched a ",i," regular expression of ",s),u&&!u.includes(i))return h.push(i+" cannot follow a "+r[r.length-1].type+" at template:"+c+" near '"+s[0].slice(0,20)+"...'"),s[0];const p=e.expression.handler[i];if(p.validate&&!p.validate(s,r))return s[0];h=[];const d={type:i,value:s[0],match:s};return t.position&&(d.position=t.position),r.push(d),l=!0,u=a,c+=s[0].length,p.transform?p.transform(s,r):""};for(e.log.debug("Twig.expression.tokenize","Tokenizing expression ",n
2);n.length>0;){for(i in n=n.trim(),e.expression.handler)if(Object.hasOwnProperty.call(e.expression.handler,i)){if(a=e.expression.handler[i].next,o=e.expression.handler[i].regex,e.log.trace("Checking type ",i," on ",n),l=!1,Array.isArray(o))for(s=o.length;s-- >0;)n=n.replace(o[s],p);else n=n.replace(o,p);if(l)break}if(!l)throw h.length>0?new e.Error(h.join(" OR ")):new e.Error("Unable to parse '"+n+"' at template position"+c)}return e.log.trace("Twig.expression.tokenize","Tokenized to ",r),r},e.expression.compile=function(t){const n=e.expression.tokenize(t);let r=null;const i=[],o=[];let s=null;for(e.log.trace("Twig.expression.compile: ","Compiling ",t.value);n.length>0;)r=n.shift(),s=e.expression.handler[r.type],e.log.trace("Twig.expression.compile: ","Compiling ",r),s.compile(r,o,i),e.log.trace("Twig.expression.compile: ","Stack is",o),e.log.trace("Twig.expression.compile: ","Output is",i);for(;o.length>0;)i.push(o.pop());return e.log.trace("Twig.expression.compile: ","Final output is",i),t.stack=i,delete t.value,t},e.expression.parse=function(t,n,r,i){const o=this;Array.isArray(t)||(t=[t]);const s=[],a=[],l=e.expression.type.operator.binary;return e.async.potentiallyAsync(o,i,()=>e.async.forEach(t,(r,i)=>{let c,u=null,h=null;if(!r.cleanup)return t.length>i+1&&(h=t[i+1]),u=e.expression.handler[r.type],u.parse&&(c=u.parse.call(o,r,s,n,h)),r.type===l&&n.loop&&a.push(r),c}).then(()=>{let e=a.length,t=null;for(;e-- >0;)t=a[e],t.params&&t.key&&delete t.key;if(r){const e=s.splice(0);s.push(e)}return s.pop()}))},e}},9543(e){e.exports=function(e){"use strict";e.expression.operator={leftToRight:"leftToRight",rightToLeft:"rightToLeft"};const t=function(e,t){if(null==t)return null;if(void 0!==t.indexOf)return(e===t||""!==e)&&t.includes(e);let n;for(n in t)if(Object.hasOwnProperty.call(t,n)&&t[n]===e)return!0;return!1};return e.expression.operator.lookup=function(t,n){switch(t){case"..":n.precidence=20,n.associativity=e.expression.operator.leftToRight;break;case",":n.precidence=18,n.associativity=e.expression.operator.leftToRight;break;case"?:":case"?":case":":n.precidence=16,n.associativity=e.expression.operator.rightToLeft;break;case"??":n.precidence=15,n.associativity=e.expression.operator.rightToLeft;break;case"or":n.precidence=14,n.associativity=e.expression.operator.leftToRight;break;case"and":n.precidence=13,n.associativity=e.expression.operator.leftToRight;break;case"b-or":n.precidence=12,n.associativity=e.expression.operator.leftToRight;break;case"b-xor":n.precidence=11,n.associativity=e.expression.operator.leftToRight;break;case"b-and":n.precidence=10,n.associativity=e.expression.operator.leftToRight;break;case"==":case"!=":case"<=>":n.precidence=9,n.associativity=e.expression.operator.leftToRight;break;case"<":case"<=":case">":case">=":case"not in":case"in":case"matches":case"starts with":case"ends with":n.precidence=8,n.associativity=e.expression.operator.leftToRight;break;case"~":case"+":case"-":n.precidence=6,n.associativity=e.expression.operator.leftToRight;break;case"//":case"**":case"*":case"/":case"%":n.precidence=5,n.associativity=e.expression.operator.leftToRight;break;case"not":n.precidence=3,n.associativity=e.expression.operator.rightToLeft;break;default:throw new e.Error("Failed to lookup operator: "+t+" is an unknown operator.")}return n.operator=t,n},e.expression.operator.parse=function(n,r){let i,o,s;if(e.log.trace("Twig.expression.operator.parse: ","Handling ",n),"?"===n&&(s=r.pop()),o=r.pop(),"not"!==n&&(i=r.pop()),"in"!==n&&"not in"!==n&&"??"!==n&&(i&&Array.isArray(i)&&(i=i.length),"?"!==n&&o&&Array.isArray(o)&&(o=o.length)),"matches"===n&&o&&"string"==typeof o){const e=o.match(/^\/(.*)\/([gims]?)$/),t=e[1],n=e[2];o=new RegExp(t,n)}switch(n){case":":break;case"??":void 0===i&&(i=o,o=s,s=void 0),null!=i?r.push(i):r.push(o);break;case"?:":e.lib.boolval(i)?r.push(i):r.push(o);break;case"?":void 0===i&&(i=o,o=s,s=void 0),e.lib.boolval(i)?r.push(o):r.push(s);break;case"+":o=parseFloat(o),i=parseFloat(i),r.push(i+o);break;case"-":o=parseFloat(o),i=parseFloat(i),r.push(i-o);break;case"*":o=parseFloat(o),i=parseFloat(i),r.push(i*o);break;case"/":o=parseFloat(o),i=parseFloat(i),r.push(i/o);break;case"//":o=parseFloat(o),i=parseFloat(i),r.push(Math.floor(i/o));break;case"%":o=parseFloat(o),i=parseFloat(i),r.push(i%o);break;case"~":r.push((null!=i?i.toString():"")+(null!=o?o.toString():""));break;case"not":case"!":r.push(!e.lib.boolval(o));break;case"<=>":r.push(i===o?0:i<o?-1:1);break;case"<":r.push(i<o);break;case"<=":r.push(i<=o);break;case">":r.push(i>o);break;case">=":r.push(i>=o);break;case"===":r.push(i===o);break;case"==":r.push(i==o);break;case"!==":r.push(i!==o);break;case"!=":r.push(i!=o);break;case"or":r.push(e.lib.boolval(i)||e.lib.boolval(o));break;case"b-or":r.push(i|o);break;case"b-xor":r.push(i^o);break;case"and":r.push(e.lib.boolval(i)&&e.lib.boolval(o));break;case"b-and":r.push(i&o);break;case"**":r.push(i**o);break;case"not in":r.push(!t(i,o));break;case"in":r.push(t(i,o));break;case"matches":r.push(o.test(i));break;case"starts with":r.push("string"==typeof i&&0===i.indexOf(o));break;case"ends with":r.push("string"==typeof i&&i.includes(o,i.length-o.length));break;case"..":r.push(e.functions.range(i,o));break;default:throw new e.Error("Failed to parse operator: "+n+" is an unknown operator.")}},e}},1909(e,t,n){e.exports=function e(){const t={VERSION:"1.17.1"};return n(6200)(t),n(1922)(t),n(1089)(t),n(4980)(t),n(7926)(t),n(7848)(t),n(2102)(t),n(595)(t),n(2493)(t),n(1637)(t),n(7773)(t),n(9536)(t),n(642)(t),n(9527)(t),n(1e3)(t),t.exp
2orts.factory=e,t.exports}},4980(e){e.exports=function(e){function t(e,t){const n=Object.prototype.toString.call(t).slice(8,-1);return null!=t&&n===e}return e.filters={upper:e=>"string"!=typeof e?e:e.toUpperCase(),lower:e=>"string"!=typeof e?e:e.toLowerCase(),capitalize:e=>"string"!=typeof e?e:e.slice(0,1).toUpperCase()+e.toLowerCase().slice(1),title:e=>"string"!=typeof e?e:e.toLowerCase().replace(/(^|\s)([a-z])/g,(e,t,n)=>t+n.toUpperCase()),length:t=>e.lib.is("Array",t)||"string"==typeof t?t.length:e.lib.is("Object",t)?void 0===t._keys?Object.keys(t).length:t._keys.length:0,reverse(e){if(t("Array",e))return e.reverse();if(t("String",e))return e.split("").reverse().join("");if(t("Object",e)){const t=e._keys||Object.keys(e).reverse();return e._keys=t,e}},sort(e){if(t("Array",e))return e.sort();if(t("Object",e)){delete e._keys;const t=Object.keys(e).sort((t,n)=>{let r,i;return e[t]>e[n]==!(e[t]<=e[n])?e[t]>e[n]?1:e[t]<e[n]?-1:0:isNaN(r=parseFloat(e[t]))||isNaN(i=parseFloat(e[n]))?"string"==typeof e[t]?e[t]>e[n].toString()?1:e[t]<e[n].toString()?-1:0:"string"==typeof e[n]?e[t].toString()>e[n]?1:e[t].toString()<e[n]?-1:0:null:r>i?1:r<i?-1:0});return e._keys=t,e}},keys(e){if(null==e)return;const t=e._keys||Object.keys(e),n=[];return t.forEach(t=>{"_keys"!==t&&Object.hasOwnProperty.call(e,t)&&n.push(t)}),n},url_encode(t){if(null==t)return;if(e.lib.is("Object",t)){const n=function(t,r){const i=[];return(t._keys||Object.keys(t)).forEach(o=>{if(!Object.prototype.hasOwnProperty.call(t,o))return;const s=r?r+"["+o+"]":o,a=t[o];i.push(e.lib.is("Object",a)||Array.isArray(a)?n(a,s):encodeURIComponent(s)+"="+encodeURIComponent(a))}),i.join("&amp;")};return n(t)}let n=encodeURIComponent(t);return n=n.replace("'","%27"),n},join(e,n){if(null==e)return;let r="",i=[],o=null;return n&&n[0]&&(r=n[0]),t("Array",e)?i=e:(o=e._keys||Object.keys(e),o.forEach(t=>{"_keys"!==t&&Object.hasOwnProperty.call(e,t)&&i.push(e[t])})),i.join(r)},default(t,n){if(void 0!==n&&n.length>1)throw new e.Error("default filter expects one argument");return null==t||""===t?void 0===n?"":n[0]:t},json_encode(n){if(null==n)return"null";if("object"==typeof n&&t("Array",n)){const t=[];return n.forEach(n=>{t.push(e.filters.json_encode(n))}),"["+t.join(",")+"]"}if("object"==typeof n&&t("Date",n))return'"'+n.toISOString()+'"';if("object"==typeof n){const t=n._keys||Object.keys(n),r=[];return t.forEach(t=>{r.push(JSON.stringify(t)+":"+e.filters.json_encode(n[t]))}),"{"+r.join(",")+"}"}return JSON.stringify(n)},merge(n,r){let i=[],o=0,s=[];if(t("Array",n)?r.forEach(e=>{t("Array",e)||(i={})}):i={},t("Array",i)||(i._keys=[]),t("Array",n)?n.forEach(e=>{i._keys&&i._keys.push(o),i[o]=e,o++}
2):(s=n._keys||Object.keys(n),s.forEach(e=>{i[e]=n[e],i._keys.push(e);const t=parseInt(e,10);!isNaN(t)&&t>=o&&(o=t+1)})),r.forEach(e=>{t("Array",e)?e.forEach(e=>{i._keys&&i._keys.push(o),i[o]=e,o++}):(s=e._keys||Object.keys(e),s.forEach(t=>{i[t]||i._keys.push(t),i[t]=e[t];const n=parseInt(t,10);!isNaN(n)&&n>=o&&(o=n+1)}))}),0===r.length)throw new e.Error("Filter merge expects at least one parameter");return i},date(t,n){const r=e.functions.date(t),i=n&&Boolean(n.length)?n[0]:"F j, Y H:i";return e.lib.date(i.replace(/\\\\/g,"\\"),r)},date_modify(t,n){if(null==t)return;if(void 0===n||1!==n.length)throw new e.Error("date_modify filter expects 1 argument");const r=n[0];let i;return e.lib.is("Date",t)&&(i=e.lib.strtotime(r,t.getTime()/1e3)),e.lib.is("String",t)&&(i=e.lib.strtotime(r,e.lib.strtotime(t))),e.lib.is("Number",t)&&(i=e.lib.strtotime(r,t)),new Date(1e3*i)},replace(t,n){if(null==t)return;const r=n[0];let i;for(i in r)Object.hasOwnProperty.call(r,i)&&"_keys"!==i&&(t=e.lib.replaceAll(t,i,r[i]));return t},format(t,n){if(null!=t)return e.lib.vsprintf(t,n)},striptags(t,n){if(null!=t)return e.lib.stripTags(t,n)},escape(t,n){if(null==t||""===t)return;let r="html";if(n&&Boolean(n.length)&&!0!==n[0]&&(r=n[0]),"html"===r){const n=t.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;");return new e.Markup(n,"html")}if("js"===r){const n=t.toString();let r="";for(let t=0;t<n.length;t++)if(n[t].match(/^[a-zA-Z0-9,._]$/))r+=n[t];else{const i=n.charAt(t),o=n.charCodeAt(t),s={"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};s[i]?r+=s[i]:r+=e.lib.sprintf("\\u%04s",o.toString(16).toUpperCase())}return new e.Markup(r,"js")}if("css"===r){const n=t.toString();let r="";for(let e=0;e<n.length;e++)n[e].match(/^[a-zA-Z0-9]$/)?r+=n[e]:r+="\\"+n.charCodeAt(e).toString(16).toUpperCase()+" ";return new e.Markup(r,"css")}if("url"===r){const n=e.filters.url_encode(t);return new e.Markup(n,"url")}if("html_attr"===r){const n=t.toString();let r="";for(let t=0;t<n.length;t++)if(n[t].match(/^[a-zA-Z0-9,.\-_]$/))r+=n[t];else if(n[t].match(/^[&<>"]$/))r+=n[t].replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");else{const i=n.charCodeAt(t);r+=i<=31&&9!==i&&10!==i&&13!==i?"&#xFFFD;":i<128?e.lib.sprintf("&#x%02s;",i.toString(16).toUpperCase()):e.lib.sprintf("&#x%04s;",i.toString(16).toUpperCase())}return new e.Markup(r,"html_attr")}throw new e.Error("escape strategy unsupported")},e:(t,n)=>e.filters.escape(t,n),nl2br(t){if(null==t||""===t)return;const n="BACKSLASH_n_replace",r="<br />"+n;return t=e.filters.escape(t).replace(/\r\n/g,r).replace(/\r/g,r).replace(/\n/g,r),t=e.lib.replaceAll(t,n,"\n"),new e.Markup(t)},number_format(e,t){let n=e;const r=t&&t[0]?t[0]:void 0,i=t&&void 0!==t[1]?t[1]:".",o=t&&void 0!==t[2]?t[2]:",";n=String(n).replace(/[^0-9+\-Ee.]/g,"");const s=isFinite(Number(n))?Number(n):0,a=isFinite(Number(r))?Math.abs(r):0;let l="";return l=(a?function(e,t){const n=10**t;return String(Math.round(e*n)/n)}(s,a):String(Math.round(s))).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(l[1]||"").length<a&&(l[1]=l[1]||"",l[1]+=new Array(a-l[1].length+1).join("0")),l.join(i)},trim(e,t){if(null==e)return;let n,r=String(e);n=t&&t[0]?String(t[0]):" \n\r\t\f\v            ​\u2028\u2029 ";for(let e=0;e<r.length;e++)if(!n.includes(r.charAt(e))){r=r.slice(Math.max(0,e));break}for(let e=r.length-1;e>=0;e--)if(!n.includes(r.charAt(e))){r=r.slice(0,Math.max(0,e+1));break}return n.includes(r.charAt(0))?"":r},truncate(e,t){let n=30,r=!1,i="...";if(e=String(e),t&&(t[0]&&(n=t[0]),t[1]&&(r=t[1]),t[2]&&(i=t[2])),e.length>n){if(r&&(n=e.indexOf(" ",n),-1===n))return e;e=e.slice(0,n)+i}return e},slice(t,n){if(null==t)return;if(void 0===n||0===n.length)throw new e.Error("slice filter expects at least 1 argument");const r=n[0]||0;let i=n.length>1?n[1]:t.length;const o=r>=0?r:Math.max(t.length+r,0);if(i<0&&(i=t.length-o+i),e.lib.is("Array",t)){const e=[];for(let n=o;n<o+i&&n<t.length;n++)e.push(t[n]);return e}if(e.lib.is("String",t))return t.slice(o,o+i);throw new e.Error("slice filter expects value to be an array or string")},abs(e){if(null!=e)return Math.abs(e)},first(e){if(t("Array",e))return e[0];if(t("Object",e)){if("_keys"in e)return e[e._keys[0]]}else if("string"==typeof e)return e.slice(0,1)},split(t,n){if(null!=t){if(void 0===n||0===n.length||n.length>2)throw new e.Error("split filter expects 1 or 2 argument");
2if(e.lib.is("String",t)){const e=n[0],r=n[1],i=t.split(e);if(void 0===r)return i;if(r<0)return t.split(e,i.length+r);const o=[];if(""===e)for(;i.length>0;){let e="";for(let t=0;t<r&&i.length>0;t++)e+=i.shift();o.push(e)}else{for(let e=0;e<r-1&&i.length>0;e++)o.push(i.shift());i.length>0&&o.push(i.join(e))}return o}throw new e.Error("split filter expects value to be a string")}},last(t){if(e.lib.is("Object",t)){let e;return e=void 0===t._keys?Object.keys(t):t._keys,t[e[e.length-1]]}return e.lib.is("Number",t)?t.toString().slice(-1):t[t.length-1]},raw:t=>new e.Markup(t||""),batch(t,n){let r=n.shift();const i=n.shift();let o,s;if(!e.lib.is("Array",t))throw new e.Error("batch filter expects items to be an array");if(!e.lib.is("Number",r))throw new e.Error("batch filter expects size to be a number");r=Math.ceil(r);const a=e.lib.chunkArray(t,r);if(i&&t.length%r!==0){for(o=a.pop(),s=r-o.length;s--;)o.push(i);a.push(o)}return a},round(t,n){const r=(n=n||[]).length>0?n[0]:0,i=n.length>1?n[1]:"common";if(t=parseFloat(t),r&&!e.lib.is("Number",r))throw new e.Error("round filter expects precision to be a number");if("common"===i)return e.lib.round(t,r);if(!e.lib.is("Function",Math[i]))throw new e.Error("round filter expects method to be 'floor', 'ceil', or 'common'");return Math[i](t*10**r)/10**r},spaceless:e=>e.replace(/>\s+</g,"><").trim()},e.filter=function(t,n,r){if(!e.filters[t])throw new e.Error("Unable to find filter "+t);return e.filters[t].call(this,n,r)},e.filter.extend=function(t,n){e.filters[t]=n},e}},7926(e){e.exports=function(t){return t.functions={range(e,t,n){const r=[];let i,o;const s=n||1;let a=!1;if(isNaN(e)||isNaN(t)?isNaN(e)&&isNaN(t)?(a=!0,i=e.charCodeAt(0),o=t.charCodeAt(0)):(i=isNaN(e)?0:e,o=isNaN(t)?0:t):(i=parseInt(e,10),o=parseInt(t,10)),i>o)for(;i>=o;)r.push(a?String.fromCharCode(i):i),i-=s;else for(;i<=o;)r.push(a?String.fromCharCode(i):i),i+=s;return r},cycle:(e,t)=>e[t%e.length],dump(...e){const t=[...e],n="\n";let r=0,i="";const o=function(e){let t="";for(;e>0;)e--,t+="  ";return t},s=function(e){i+=o(r),"object"==typeof e?a(e):"function"==typeof e?i+="function()\n":"string"==typeof e?i+="string("+e.length+') "'+e+'"'+n:"number"==typeof e?i+="number("+e+")"+n:"boolean"==typeof e&&(i+="bool("+e+")"+n)},a=function(e){let t;if(null===e)i+="NULL\n";else if(void 0===e)i+="undefined\n";else if("object"==typeof e){for(t in i+=o(r)+typeof e,r++,i+="("+function(e){let t,n=0;for(t in e)Object.hasOwnProperty.call(e,t)&&n++;return n}(e)+") {"+n,e)Object.hasOwnProperty.call(e,t)&&(i+=o(r)+"["+t+"]=> "+n,s(e[t]));r--,i+=o(r)+"}"+n}else s(e)};return 0===t.length&&t.push(this.context),t.forEach(e=>{a(e)}),i},date(e){let n;if(null==e||""===e)n=new Date;else if(t.lib.is("Date",e))n=e;else if(t.lib.is("String",e))n=e.match(/^\d+$/)?new Date(1e3*e):new Date(1e3*t.lib.strtotime(e));else{if(!t.lib.is("Number",e))throw new t.Error("Unable to parse date "+e);n=new Date(1e3*e)}return n},block(e){const t=this,n=t.getBlock(e);if(void 0!==n)return n.render(t,t.context)},parent(){const e=this;return e.getBlock(e.getNestingStackToken(t.logic.type.block).blockName,!0).render(e,e.context)},attribute:(e,n,r)=>t.lib.is("Object",e)&&Object.hasOwnProperty.call(e,n)?"function"==typeof e[n]?e[n].apply(void 0,r):e[n]:e&&e[n]||void 0,max:(e,...n)=>t.lib.is("Object",e)?(delete e._keys,t.lib.max(e)):Reflect.apply(t.lib.max,null,[e,...n]),min:(e,...n)=>t.lib.is("Object",e)?(delete e._keys,t.lib.min(e)):Reflect.apply(t.lib.min,null,[e,...n]),template_from_string(e){return void 0===e&&(e=""),t.Templates.parsers.twig({options:this.template.options,data:e})},random(e){const n=2147483648;function r(e){const t=Math.floor(Math.random()*n),r=Math.min.call(null,0,e),i=Math.max.call(null,0,e);return r+Math.floor((i-r+1)*t/n)}if(t.lib.is("Number",e))return r(e);if(t.lib.is("String",e))return e.charAt(r(e.length-1));if(t.lib.is("Array",e))return e[r(e.length-1)];if(t.lib.is("Object",e)){const t=Object.keys(e);return e[t[r(t.length-1)]]}return r(2147483647)},source(n,r){const{namespaces:i}=this.template.options;let o,s=!1;const a=void 0!==e.exports&&"undefined"==typeof window;let l,c=n;i&&"object"==typeof i&&(c=t.path.expandNamespace(i,c)),l=a?"fs":"ajax";const u={id:n,path:c,method:l,parser:"source",async:!1,fetchTemplateSource:!0};void 0===r&&(r=!1);try{o=t.Templates.loadRemote(n,u),null==o?o="":s=!0}
2catch(e){t.log.debug("Twig.functions.source: ","Problem loading template  ",e)}return s||r?o:'Template "{name}" is not defined.'.replace("{name}",n)}},t._function=function(e,n,r){if(!t.functions[e])throw new t.Error("Unable to find function "+e);return t.functions[e](n,r)},t._function.extend=function(e,n){t.functions[e]=n},t}},229(e,t,n){e.exports=n(1909)()},7848(e,t,n){e.exports=function(e){return e.lib={},e.lib.sprintf=n(2485),e.lib.vsprintf=n(743),e.lib.round=n(693),e.lib.max=n(7379),e.lib.min=n(9745),e.lib.stripTags=n(3837),e.lib.strtotime=n(9637),e.lib.date=n(2432),e.lib.boolval=n(4799),e.lib.is=function(e,t){if(null==t)return!1;switch(e){case"Array":return Array.isArray(t);case"Date":return t instanceof Date;case"String":return"string"==typeof t||t instanceof String;case"Number":return"number"==typeof t||t instanceof Number;case"Function":return"function"==typeof t;case"Object":return t instanceof Object;default:return!1}},e.lib.replaceAll=function(e,t,n){const r="string"==typeof e?e:e.toString(),i=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return r.replace(new RegExp(i,"g"),n)},e.lib.chunkArray=function(e,t){const n=[];let r=0;const i=e.length;if(t<1||!Array.isArray(e))return[];for(;r<i;)n.push(e.slice(r,r+=t));return n},e}},2102(e){e.exports=function(e){"use strict";e.Templates.registerLoader("ajax",function(t,n,r,i){let o;const{precompiled:s}=n,a=this.parsers[n.parser]||this.parser.twig;if("undefined"==typeof XMLHttpRequest)throw new e.Error('Unsupported platform: Unable to do ajax requests because there is no "XMLHTTPRequest" implementation');const l=new XMLHttpRequest;return l.onreadystatechange=function(){let c=null;4===l.readyState&&(200===l.status||window.cordova&&0===l.status?(e.log.debug("Got template ",l.responseText),c=!0===s?JSON.parse(l.responseText):l.responseText,n.url=t,n.data=c,o=a.call(this,n),"function"==typeof r&&r(o)):"function"==typeof i&&i(l))},l.open("GET",t,Boolean(n.async)),l.overrideMimeType("text/plain"),l.send(),!!n.async||o})}},595(e,t,n){e.exports=function(e){"use strict";let t,r;try{t=n(3677),r=n(8629)}catch(e){console.warn("Missing fs and path modules. "+e)}e.Templates.registerLoader("fs",function(n,i,o,s){let a,l=null;const{precompiled:c}=i,u=this.parsers[i.parser]||this.parser.twig;if(!t||!r)throw new e.Error('Unsupported platform: Unable to load from file because there is no "fs" or "path" implementation');const h=function(e,t){e?"function"==typeof s&&s(e):(!0===c&&(t=JSON.parse(t)),i.data=t,i.path=i.path||n,a=u.call(this,i),"function"==typeof o&&o(a))};if(i.path=i.path||n,i.async)return t.stat(i.path,(n,r)=>{!n&&r.isFile()?t.readFile(i.path,"utf8",h):"function"==typeof s&&s(new e.Error("Unable to find template file "+i.path))}),!0;try{if(!t.statSync(i.path).isFile())throw new e.Error("Unable to find template file "+i.path)}catch(t){throw new e.Error("Unable to find template file "+i.path+". "+t)}return l=t.readFileSync(i.path,"utf8"),h(void 0,l),a})}},2493(e){e.exports=function(e){"use strict";for(e.logic={},e.logic.type={if_:"Twig.logic.type.if",endif:"Twig.logic.type.endif",for_:"Twig.logic.type.for",endfor:"Twig.logic.type.endfor",else_:"Twig.logic.type.else",elseif:"Twig.logic.type.elseif",set:"Twig.logic.type.set",setcapture:"Twig.logic.type.setcapture",endset:"Twig.logic.type.endset",filter:"Twig.logic.type.filter",endfilter:"Twig.logic.type.endfilter",apply:"Twig.logic.type.apply",endapply:"Twig.logic.type.endapply",do:"Twig.logic.type.do",shortblock:"Twig.logic.type.shortblock",block:"Twig.logic.type.block",endblock:"Twig.logic.type.endblock",extends_:"Twig.logic.type.extends",use:"Twig.logic.type.use",include:"Twig.logic.type.include",spaceless:"Twig.logic.type.spaceless",endspaceless:"Twig.logic.type.endspaceless",macro:"Twig.logic.type.macro",endmacro:"Twig.logic.type.endmacro",import_:"Twig.logic.type.import",from:"Twig.logic.type.from",embed:"Twig.logic.type.embed",endembed:"Twig.logic.type.endembed",with:"Twig.logic.type.with",endwith:"Twig.logic.type.endwith",deprecated:"Twig.logic.type.deprecated"},e.logic.definitions=[{type:e.logic.type.if_,regex:/^if\s?([\s\S]+)$/,next:[e.logic.type.else_,e.logic.type.elseif,e.logic.type.endif],open:!0,compile(t){const n=t.match[1];return t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,delete t.match,t},parse(t,n,r){const i=this;return e.expression.parseAsync.call(i,t.stack,n).then(o=>(r=!0,e.lib.boolval(o)?(r=!1,i.parseAsync(t.output,n)):"")).then(e=>({chain:r,output:e}))}}
2,{type:e.logic.type.elseif,regex:/^elseif\s*([^\s].*)$/,next:[e.logic.type.else_,e.logic.type.elseif,e.logic.type.endif],open:!1,compile(t){const n=t.match[1];return t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,delete t.match,t},parse(t,n,r){const i=this;return e.expression.parseAsync.call(i,t.stack,n).then(o=>r&&e.lib.boolval(o)?(r=!1,i.parseAsync(t.output,n)):"").then(e=>({chain:r,output:e}))}},{type:e.logic.type.else_,regex:/^else$/,next:[e.logic.type.endif,e.logic.type.endfor],open:!1,parse(t,n,r){let i=e.Promise.resolve("");return r&&(i=this.parseAsync(t.output,n)),i.then(e=>({chain:r,output:e}))}},{type:e.logic.type.endif,regex:/^endif$/,next:[],open:!1},{type:e.logic.type.for_,regex:/^for\s+([a-zA-Z0-9_,\s]+)\s+in\s+([\S\s]+?)(?:\s+if\s+([^\s].*))?$/,next:[e.logic.type.else_,e.logic.type.endfor],open:!0,compile(t){const n=t.match[1],r=t.match[2],i=t.match[3];let o=null;if(t.keyVar=null,t.valueVar=null,n.includes(",")){if(o=n.split(","),2!==o.length)throw new e.Error("Invalid expression in for loop: "+n);t.keyVar=o[0].trim(),t.valueVar=o[1].trim()}else t.valueVar=n.trim();return t.expression=e.expression.compile.call(this,{type:e.expression.type.expression,value:r}).stack,i&&(t.conditional=e.expression.compile.call(this,{type:e.expression.type.expression,value:i}).stack),delete t.match,t},parse(t,n,r){const i=[];let o,s,a=0;const l=this,{conditional:c}=t,u=function(r,s){const u={...n};return u[t.valueVar]=s,t.keyVar&&(u[t.keyVar]=r),u.loop=function(e,t){const r=void 0!==c;return{index:e+1,index0:e,revindex:r?void 0:t-e,revindex0:r?void 0:t-e-1,first:0===e,last:r?void 0:e===t-1,length:r?void 0:t,parent:n}}(a,o),(void 0===c?e.Promise.resolve(!0):e.expression.parseAsync.call(l,c,u)).then(e=>{if(e)return l.parseAsync(t.output,u).then(e=>{i.push(e),a+=1})}).then(()=>{delete u.loop,delete u[t.valueVar],delete u[t.keyVar],e.merge(n,u,!0)})};return e.expression.parseAsync.call(l,t.expression,n).then(t=>Array.isArray(t)?(o=t.length,e.async.forEach(t,e=>u(a,e))):e.lib.is("Object",t)?(s=void 0===t._keys?Object.keys(t):t._keys,o=s.length,e.async.forEach(s,e=>{if("_keys"!==e)return u(e,t[e])})):void 0).then(()=>({chain:0===i.length,context:n,output:e.output.call(l.template,i)}))}},{type:e.logic.type.endfor,regex:/^endfor$/,next:[],open:!1},{type:e.logic.type.set,regex:/^set\s+([a-zA-Z0-9_,\s]+)\s*=\s*([\s\S]+)$/,next:[],open:!0,compile(t){const n=t.match[1].trim(),r=t.match[2],i=e.expression.compile.call(this,{type:e.expression.type.expression,value:r}).stack;return t.key=n,t.expression=i,delete t.match,t},parse(t,n,r){const{key:i}=t;return e.expression.parseAsync.call(this,t.expression,n).then(e=>(e===n&&(e={...e}),n[i]=e,{chain:r,context:n}))}},{type:e.logic.type.setcapture,regex:/^set\s+([a-zA-Z0-9_,\s]+)$/,next:[e.logic.type.endset],open:!0,compile(e){const t=e.match[1].trim();return e.key=t,delete e.match,e},parse(e,t,n){const r=this,{key:i}=e;return r.parseAsync(e.output,t).then(e=>(r.context[i]=e,t[i]=e,{chain:n,context:t}))}},{type:e.logic.type.endset,regex:/^endset$/,next:[],open:!1},{type:e.logic.type.filter,regex:/^filter\s+(.+)$/,next:[e.logic.type.endfilter],open:!0,compile(t){const n="|"+t.match[1].trim();return t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,delete t.match,t},parse(t,n,r){const i=this;return i.parseAsync(t.output,n).then(r=>{const o=[{type:e.expression.type.string,value:r}].concat(t.stack);return e.expression.parseAsync.call(i,o,n)}).then(e=>({chain:r,output:e}))}},{type:e.logic.type.endfilter,regex:/^endfilter$/,next:[],open:!1},{type:e.logic.type.apply,regex:/^apply\s+(.+)$/,next:[e.logic.type.endapply],open:!0,compile(t){const n="|"+t.match[1].trim();return t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,delete t.match,t},parse(t,n,r){const i=this;return i.parseAsync(t.output,n).then(r=>{const o=[{type:e.expression.type.string,value:r}].concat(t.stack);return e.expression.parseAsync.call(i,o,n)}).then(e=>({chain:r,output:e}))}}
2,{type:e.logic.type.endapply,regex:/^endapply$/,next:[],open:!1},{type:e.logic.type.do,regex:/^do\s+([\S\s]+)$/,next:[],open:!0,compile(t){const n=t.match[1],r=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack;return t.expression=r,delete t.match,t},parse(t,n,r){return e.expression.parseAsync.call(this,t.expression,n).then(()=>({chain:r,context:n}))}},{type:e.logic.type.block,regex:/^block\s+(\w+)$/,next:[e.logic.type.endblock],open:!0,compile:e=>(e.blockName=e.match[1].trim(),delete e.match,e),parse(t,n,r){const i=this;let o=e.Promise.resolve();return i.template.blocks.defined[t.blockName]=new e.Block(i.template,t),(null===i.template.parentTemplate||i.template.parentTemplate instanceof e.Template)&&(o=i.getBlock(t.blockName).render(i,n)),o.then(e=>({chain:r,output:e}))}},{type:e.logic.type.shortblock,regex:/^block\s+(\w+)\s+(.+)$/,next:[],open:!0,compile(t){return t.expression=t.match[2].trim(),t.output=e.expression.compile({type:e.expression.type.expression,value:t.expression}).stack,e.logic.handler[e.logic.type.block].compile.apply(this,[t])},parse(...t){return e.logic.handler[e.logic.type.block].parse.apply(this,t)}},{type:e.logic.type.endblock,regex:/^endblock(?:\s+(\w+))?$/,next:[],open:!1},{type:e.logic.type.extends_,regex:/^extends\s+(.+)$/,next:[],open:!0,compile(t){const n=t.match[1].trim();return delete t.match,t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,t},parse(t,n,r){const i=this;return e.expression.parseAsync.call(i,t.stack,n).then(e=>{if(Array.isArray(e)){const t=e.reverse().reduce((e,t)=>{try{return{render:i.template.importFile(t),fileName:t}}catch(t){return e}},{render:null,fileName:null});null!==t.fileName&&(i.template.parentTemplate=t.fileName)}else i.template.parentTemplate=e;return{chain:r,output:""}})}},{type:e.logic.type.use,regex:/^use\s+(.+)$/,next:[],open:!0,compile(t){const n=t.match[1].trim();return delete t.match,t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,t},parse(t,n,r){const i=this;return e.expression.parseAsync.call(i,t.stack,n).then(t=>{const n=i.template.importFile(t),r=new e.ParseState(n);return r.parseAsync(n.tokens).then(()=>{i.template.blocks.imported={...i.template.blocks.imported,...r.getBlocks()}})}).then(()=>({chain:r,output:""}))}},{type:e.logic.type.include,regex:/^include\s+(.+?)(?:\s|$)(ignore missing(?:\s|$))?(?:with\s+([\S\s]+?))?(?:\s|$)(only)?$/,next:[],open:!0,compile(t){const{match:n}=t,r=n[1].trim(),i=void 0!==n[2],o=n[3],s=void 0!==n[4]&&n[4].length;return delete t.match,t.only=s,t.ignoreMissing=i,t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:r}).stack,void 0!==o&&(t.withStack=e.expression.compile.call(this,{type:e.expression.type.expression,value:o.trim()}).stack),t},parse(t,n,r){let i=t.only?{}:{...n};const{ignoreMissing:o}=t,s=this;let a=null;const l={chain:r,output:""};return a=void 0===t.withStack?e.Promise.resolve():e.expression.parseAsync.call(s,t.withStack,n).then(e=>{i={...i,...e}}),a.then(()=>e.expression.parseAsync.call(s,t.stack,n)).then(t=>{let n;n=Array.isArray(t)?t:[t];const r=n.reduce((t,n)=>{if(null===t.render){if(n instanceof e.Template)return{render:n.renderAsync(i,{isInclude:!0}),lastError:null};try{return{render:s.template.importFile(n).renderAsync(i,{isInclude:!0}),lastError:null}}catch(e){return{render:null,lastError:e}}}return t},{render:null,lastError:null});if(null!==r.render)return r.render;if(null===r.render&&o)return"";throw r.lastError}).then(e=>(""!==e&&(l.output=e),l))}},{type:e.logic.type.spaceless,regex:/^spaceless$/,next:[e.logic.type.endspaceless],open:!0,parse(t,n,r){return this.parseAsync(t.output,n).then(t=>{let n=t.replace(/>\s+</g,"><").trim();return n=new e.Markup(n),{chain:r,output:n}})}},{type:e.logic.type.endspaceless,regex:/^endspaceless$/,next:[],open:!1},{type:e.logic.type.macro,regex:/^macro\s+(\w+)\s*\(\s*((?:\w+(?:\s*=\s*([\s\S]+))?(?:,\s*)?)*)\s*\)$/,next:[e.logic.type.endmacro],open:!0,compile(t){const n=t.match[1],r=t.match[2].split(/\s*,\s*/),i=r.map(e=>e.split(/\s*=\s*/)[0]),o=i.length;if(o>1){const t={};for(let n=0;n<o;n++){const r=i[n];if(t[r])throw new e.Error("Duplicate arguments for parameter: "+r);t[r]=1}}return t.macroName=n,t.parameters=i,t.defaults=r.reduce(function(t,n){const r=n.split(/\s*=\s*/),i=r[0],o=r[1];return t[i]=o?e.expression.compile.call(this,{type:e.expression.type.expression,value:o}).stack:void 0,t},{}),delete t.match,t},parse(t,n,r){const i=this;return i.macros[t.macroName]=function(...r){const o={...i.context,_self:i.macros};return e.async.forEach(t.parameters,function(i,s){return void 0!==r[s]?(o[i]=r[s],!0):void 0!==t.defaults[i]?e.expression.parseAsync.call(this,t.defaults[i],n).then(t=>(o[i]=t,e.Promise.resolve())):(o[i]=void 0,!0)}).then(()=>i.parseAsync(t.output,o))},{chain:r,output:""}}},{type:e.logic.type.endmacro,regex:/^endmacro$/,next:[],open:!1},{type:e.logic.type.import_,regex:/^import\s+(.+)\s+as\s+(\w+)$/,next:[],open:!0,compile(t){const n=t.match[1].trim(),r
2=t.match[2].trim();return delete t.match,t.expression=n,t.contextName=r,t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,t},parse(t,n,r){const i=this,o={chain:r,output:""};return"_self"===t.expression?(n[t.contextName]=i.macros,o):e.expression.parseAsync.call(i,t.stack,n).then(e=>i.template.importFile(e||t.expression)).then(r=>{const i=new e.ParseState(r);return i.parseAsync(r.tokens).then(()=>(n[t.contextName]=i.macros,o))})}},{type:e.logic.type.from,regex:/^from\s+(.+)\s+import\s+([a-zA-Z0-9_, ]+)$/,next:[],open:!0,compile(t){const n=t.match[1].trim(),r=t.match[2].trim().split(/\s*,\s*/),i={};for(const e of r){const t=e.match(/^(\w+)\s+as\s+(\w+)$/);t?i[t[1].trim()]=t[2].trim():e.match(/^(\w+)$/)&&(i[e]=e)}return delete t.match,t.expression=n,t.macroNames=i,t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:n}).stack,t},parse(t,n,r){const i=this;let o;return o="_self"===t.expression?e.Promise.resolve(i.macros):e.expression.parseAsync.call(i,t.stack,n).then(e=>i.template.importFile(e||t.expression)).then(t=>{const n=new e.ParseState(t);return n.parseAsync(t.tokens).then(()=>n.macros)}),o.then(e=>{for(const r in t.macroNames)void 0!==e[r]&&(n[t.macroNames[r]]=e[r]);return{chain:r,output:""}})}},{type:e.logic.type.embed,regex:/^embed\s+(.+?)(?:\s+(ignore missing))?(?:\s+with\s+([\S\s]+?))?(?:\s+(only))?$/,next:[e.logic.type.endembed],open:!0,compile(t){const{match:n}=t,r=n[1].trim(),i=void 0!==n[2],o=n[3],s=void 0!==n[4]&&n[4].length;return delete t.match,t.only=s,t.ignoreMissing=i,t.stack=e.expression.compile.call(this,{type:e.expression.type.expression,value:r}).stack,void 0!==o&&(t.withStack=e.expression.compile.call(this,{type:e.expression.type.expression,value:o.trim()}).stack),t},parse(t,n,r){let i={},o=e.Promise.resolve(),s=this;return t.only||(i={...n}),void 0!==t.withStack&&(o=e.expression.parseAsync.call(s,t.withStack,n).then(e=>{i={...i,...e}})),o.then(()=>e.expression.parseAsync.call(s,t.stack,i)).then(n=>{const r=new e.Template({data:t.output,base:s.template.base,path:s.template.path,url:s.template.url,name:s.template.name,method:s.template.method,options:s.template.options});try{r.importFile(n)}catch(e){if(t.ignoreMissing)return"";throw s=null,e}return r.parentTemplate=n,r.renderAsync(i,{isInclude:!0})}).then(e=>({chain:r,output:e}))}},{type:e.logic.type.endembed,regex:/^endembed$/,next:[],open:!1},{type:e.logic.type.with,regex:/^(?:with(?:\s+([\S\s]+?))?)(?:\s|$)(only)?$/,next:[e.logic.type.endwith],open:!0,compile(t){const{match:n}=t,r=n[1],i=void 0!==n[2]&&n[2].length;return delete t.match,t.only=i,void 0!==r&&(t.withStack=e.expression.compile.call(this,{type:e.expression.type.expression,value:r.trim()}).stack),t},parse(t,n,r){let i,o={};let s=e.Promise.resolve();t.only||(o={...n}),void 0!==t.withStack&&(s=e.expression.parseAsync.call(this,t.withStack,n).then(e=>{for(i in e)Object.hasOwnProperty.call(e,i)&&(o[i]=e[i])}));const a=new e.ParseState(this.template,void 0,o);return s.then(()=>a.parseAsync(t.output)).then(e=>({chain:r,output:e}))}},{type:e.logic.type.endwith,regex:/^endwith$/,next:[],open:!1},{type:e.logic.type.deprecated,regex:/^deprecated\s+(.+)$/,next:[],open:!0,compile:e=>(console.warn("Deprecation notice: "+e.match[1]),e),parse:()=>({})}],e.logic.handler={},e.logic.extendType=function(t,n){n=n||"Twig.logic.type"+t,e.logic.type[t]=n},e.logic.extend=function(t){if(!t.type)throw new e.Error("Unable to extend logic definition. No type provided for "+t);e.logic.extendType(t.type),e.logic.handler[t.type]=t};e.logic.definitions.length>0;)e.logic.extend(e.logic.definitions.shift());return e.logic.compile=function(t){const n=t.value.trim();let r=e.logic.tokenize.call(this,n);const i=e.logic.handler[r.type];return i.compile&&(r=i.compile.call(this,r),e.log.trace("Twig.logic.compile: ","Compiled logic token to ",r)),r},e.logic.tokenize=function(t){let n=null,r=null,i=null,o=null,s=null,a=null,l=null;for(n in t=t.trim(),e.logic.handler)if(Object.hasOwnProperty.call(e.logic.handler,n))for(r=e.logic.handler[n].type,i=e.logic.handler[n].regex,o=i,Array.isArray(i)||(o=[i]),s=o.length,a=0;a<s;a++)if(l=o[a].exec(t),null!==l)return e.log.trace("Twig.logic.tokenize: ","Matched a ",r," regular expression of ",l),{type:r,match:l};throw new e.Error("Unable to parse '"+t.trim()+"'")},e.logic.parse=function(t,n,r,i){return e.async.potentiallyAsync(this,i,function(){e.log.debug("Twig.logic.parse: ","Parsing logic token ",t);const i=e.logic.handler[t.type];let o;const s=this;return i.parse?(s.nestingStack.unshift(t),o=i.parse.call(s,t,n||{},r),e.isPromise(o)?o=o.then(e=>(s.nestingStack.shift(),e)):s.nestingStack.shift(),o):""})},e}},1637(e){e.exports=function(e){"use strict";e.Templates.registerParser("source",e=>e.data||"")}},7773(e){e.exports=function(e){"use strict";e.Templates.registerParser("twig",t=>new e.Template(t))}}
2,9536(e,t,n){e.exports=function(e){"use strict";return e.path={},e.path.expandNamespace=function(e,t){const n=Object.keys(e),r=new RegExp(`^(?:@(${n.join("|")})/|(${n.join("|")})::)`);return t.replace(r,(t,n,r)=>`${e[void 0===n?r:n]}/`)},e.path.parsePath=function(t,n){const{namespaces:r}=t.options,i=n||"";let o=r&&"object"==typeof r?e.path.expandNamespace(r,i):i;return o===i&&(o=e.path.relativePath(t,i)),o},e.path.relativePath=function(t,r){let i,o,s="/";const a=[];let l,c=r||"";if(t.url)i=void 0===t.base?t.url:t.base.replace(/([^/])$/,"$1/");else if(t.path){const e=n(8629),r=e.sep||s,o=new RegExp("^\\.{1,2}"+r.replace("\\","\\\\"));c=c.replace(/\//g,r),void 0!==t.base&&null===c.match(o)?(c=c.replace(t.base,""),i=t.base+r):i=e.normalize(t.path),i=i.replace(r+r,r),s=r}else{if(!t.name&&!t.id||!t.method||"fs"===t.method||"ajax"===t.method)throw new e.Error("Cannot extend an inline template.");i=t.base||t.name||t.id}for(o=i.split(s),o.pop(),o=o.concat(c.split(s));o.length>0;)l=o.shift(),"."===l||(".."===l&&a.length>0&&".."!==a[a.length-1]?a.pop():a.push(l));return a.join(s)},e}},642(e){e.exports=function(e){"use strict";return e.tests={empty(e){if(!0===e)return!1;if(null==e)return!0;if("number"==typeof e)return!1;if(e.length>0)return!1;for(const t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0},odd:e=>e%2==1,even:e=>e%2==0,"divisible by":(e,t)=>e%t[0]===0,divisibleby:(t,n)=>(console.warn("`divisibleby` is deprecated use `divisible by`"),e.tests["divisible by"](t,n)),defined:e=>void 0!==e,none:e=>null===e,null(e){return this.none(e)},"same as":(e,t)=>e===t[0],sameas:(t,n)=>(console.warn("`sameas` is deprecated use `same as`"),e.tests["same as"](t,n)),iterable:t=>t&&(e.lib.is("Array",t)||e.lib.is("Object",t))},e.test=function(t,n,r){if(!e.tests[t])throw e.Error("Test "+t+" is not defined.");return e.tests[t](n,r)},e.test.extend=function(t,n){e.tests[t]=n},e}},2133(e){e.exports=function(){"use strict";const{hasOwnProperty:e,toString:t}=Object.prototype;function n(t,n){return e.call(t,n)}const r=/\B([A-Z])/g,i=G(e=>e.replace(r,"-$1").toLowerCase()),o=/-(\w)/g,s=G(e=>(e.charAt(0).toLowerCase()+e.slice(1)).replace(o,(e,t)=>t.toUpperCase())),a=G(e=>e.charAt(0).toUpperCase()+e.slice(1));function l(e,t){return e?.startsWith?.(t)}function c(e,t){return e?.endsWith?.(t)}function u(e,t){return e?.includes?.(t)}function h(e,t){return e?.findIndex?.(t)}const{isArray:p,from:d}=Array,{assign:f}=Object;function g(e){return"function"==typeof e}function m(e){return null!==e&&"object"==typeof e}function y(e){return"[object Object]"===t.call(e)}function v(e){return m(e)&&e===e.window}function b(e){return 9===k(e)}function x(e){return k(e)>=1}function w(e){return 1===k(e)}function k(e){return!v(e)&&m(e)&&e.nodeType}function $(e){return"boolean"==typeof e}function E(e){return"string"==typeof e}function S(e){return"number"==typeof e}function _(e){return S(e)||E(e)&&!isNaN(e-parseFloat(e))}function A(e){return!(p(e)?e.length:m(e)&&Object.keys(e).length)}function T(e){return void 0===e}function C(e){return $(e)?e:"true"===e||"1"===e||""===e||"false"!==e&&"0"!==e&&e}function O(e){const t=Number(e);return!isNaN(t)&&t}function N(e){return parseFloat(e)||0}function j(e){return e&&I(e)[0]}function I(e){return x(e)?[e]:Array.from(e||[]).filter(x)}function q(e){if(v(e))return e;const t=b(e=j(e))?e:e?.ownerDocument;return t?.defaultView||window}function P(e,t){return e===t||m(e)&&m(t)&&Object.keys(e).length===Object.keys(t).length&&D(e,(e,n)=>e===t[n])}function z(e,t,n){return e.replace(new RegExp(`${t}|${n}`,"g"),e=>e===t?n:t)}function M(e){return e[e.length-1]}function D(e,t){for(const n in e)if(!1===t(e[n],n))return!1;return!0}function B(e,t){return e.reduce((e,n)=>e+N(g(t)?t(n):n[t]),0)}function R(e,t){const n=new Set;return e.filter(({[t]:e})=>!n.has(e)&&n.add(e))}function L(e,t){return t.reduce((t,n)=>({...t,[n]:e[n]}),{})}function F(e,t=0,n=1){return Math.min(Math.max(O(e)||0,t),n)}function U(){}function W(...e){return[["bottom","top"],["right","left"]].every(([t,n])=>Math.min(...e.map(({[t]:e})=>e))-Math.max(...e.map(({[n]:e})=>e))>0)}function H(e,t){return e.x<=t.right&&e.x>=t.left&&e.y<=t.bottom&&e.y>=t.top}
2function V(e,t,n){const r="width"===t?"height":"width";return{[r]:e[t]?Math.round(n*e[r]/e[t]):e[r],[t]:n}}function Y(e,t){e={...e};for(const n in e)e=e[n]>t[n]?V(e,n,t[n]):e;return e}const J={ratio:V,contain:Y,cover:function(e,t){e=Y(e,t);for(const n in e)e=e[n]<t[n]?V(e,n,t[n]):e;return e}};function X(e,t,n=0,r=!1){t=I(t);const{length:i}=t;return i?(e=_(e)?O(e):"next"===e?n+1:"previous"===e?n-1:"last"===e?i-1:t.indexOf(j(e)),r?F(e,0,i-1):(e%=i)<0?e+i:e):-1}function G(e){const t=Object.create(null);return(n,...r)=>t[n]||(t[n]=e(n,...r))}function Z(e,...t){for(const n of I(e)){const e=ne(t).filter(e=>!ee(n,e));e.length&&n.classList.add(...e)}}function K(e,...t){for(const n of I(e)){const e=ne(t).filter(e=>ee(n,e));e.length&&n.classList.remove(...e)}}function Q(e,t,n){n=ne(n),K(e,t=ne(t).filter(e=>!u(n,e))),Z(e,n)}function ee(e,t){return[t]=ne(t),I(e).some(e=>e.classList.contains(t))}function te(e,t,n){const r=ne(t);T(n)||(n=!!n);for(const t of I(e))for(const e of r)t.classList.toggle(e,n)}function ne(e){return e?p(e)?e.map(ne).flat():String(e).split(" ").filter(Boolean):[]}function re(e,t,n){if(m(t))for(const n in t)re(e,n,t[n]);else{if(T(n))return j(e)?.getAttribute(t);for(const r of I(e))null===n?oe(r,t):r.setAttribute(t,n)}}function ie(e,t){return I(e).some(e=>e.hasAttribute(t))}function oe(e,t){I(e).forEach(e=>e.removeAttribute(t))}function se(e,t){for(const n of[t,`data-${t}`])if(ie(e,n))return re(e,n)}const ae="undefined"!=typeof window,le=ae&&"rtl"===document.dir,ce=ae&&"ontouchstart"in window,ue=ae&&window.PointerEvent,he=ue?"pointerdown":ce?"touchstart":"mousedown",pe=ue?"pointermove":ce?"touchmove":"mousemove",de=ue?"pointerup":ce?"touchend":"mouseup",fe=ue?"pointerenter":ce?"":"mouseenter",ge=ue?"pointerleave":ce?"":"mouseleave",me=ue?"pointercancel":"touchcancel",ye={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function ve(e){return I(e).some(e=>ye[e.tagName.toLowerCase()])}const be=ae&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function xe(e){return I(e).some(e=>be.call(e))}const we="input,select,textarea,button";function ke(e){return I(e).some(e=>Ae(e,we))}const $e=`${we},a[href],[tabindex]`;function Ee(e){return Ae(e,$e)}function Se(e){return j(e)?.parentElement}function _e(e,t){return I(e).filter(e=>Ae(e,t))}function Ae(e,t){return I(e).some(e=>e.matches(t))}function Te(e,t){const n=[];for(;e=Se(e);)t&&!Ae(e,t)||n.push(e);return n}function Ce(e,t){const n=(e=j(e))?d(e.children):[];return t?_e(n,t):n}function Oe(e,t){return t?I(e).indexOf(j(t)):Ce(Se(e)).indexOf(e)}function Ne(e){return(e=j(e))&&["origin","pathname","search"].every(t=>e[t]===location[t])}function je(e){if(Ne(e)){const{hash:t,ownerDocument:n}=j(e),r=decodeURIComponent(t).slice(1);return r?n.getElementById(r)||n.getElementsByName(r)[0]:n.documentElement}}function Ie(e,t){return Pe(e,Me(e,t))}function qe(e,t){return ze(e,Me(e,t))}function Pe(e,t){return j(Ue(e,j(t),"querySelector"))}function ze(e,t){return I(Ue(e,j(t),"querySelectorAll"))}function Me(e,t=document){return b(t)||Re(e).isContextSelector?t:t.ownerDocument}const De=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Be=/(\([^)]*\)|[^,])+/g,Re=G(e=>{let t=!1;if(!e||!E(e))return{};const n=[];for(let r of e.match(Be))r=r.trim().replace(De,"$1 *"),t||=["!","+","~","-",">"].includes(r[0]),n.push(r);return{selector:n.join(","),selectors:n,isContextSelector:t}}),Le=/(\([^)]*\)|\S)*/,Fe=G(e=>{e=e.slice(1).trim();const[t]=e.match(Le);return[t,e.slice(t.length+1)]});function Ue(e,t=document,n){const r=Re(e);if(!r.isContextSelector)return r.selector?We(t,n,r.selector):e;e="";const i=1===r.selectors.length;for(let o of r.selectors){let r,s=t;if("!"===o[0]&&([r,o]=Fe(o),s=t.parentElement?.closest(r),!o&&i))return s;if(s&&"-"===o[0]&&([r,o]=Fe(o),s=s.previousElementSibling,s=Ae(s,r)?s:null,!o&&i))return s;if(s){if(i)return"~"===o[0]||"+"===o[0]?(o=`:scope > :nth-child(${Oe(s)+1}) ${o}`,s=s.parentElement):">"===o[0]&&(o=`:scope ${o}`),We(s,n,o);e+=`${e?",":""}${He(s)} ${o}`}}return b(t)||(t=t.ownerDocument),We(t,n,e)}function We(e,t,n){try{return e[t](n)}catch{return null}}function He(e){const t=[];for(;e.parentNode;){const n=re(e,"id");if(n){t.unshift(`#${Ve(n)}`);break}{let{tagName:n}=e;"HTML"!==n&&(n+=`:nth-child(${Oe(e)+1})`),t.unshift(n),e=e.parentNode}}return t.join(" > ")}function Ve(e){return E(e)?CSS.escape(e):""}function Ye(...e){let[t,n,r,i,o=!1]=Ke(e);i.length>1&&(i=function(e){return t=>
2p(t.detail)?e(t,...t.detail):e(t)}(i)),o?.self&&(i=function(e){return function(t){if(t.target===t.currentTarget||t.target===t.current)return e.call(null,t)}}(i)),r&&(i=function(e,t){return n=>{const r=">"===e[0]?ze(e,n.currentTarget).reverse().find(e=>e.contains(n.target)):n.target.closest(e);r&&(n.current=r,t.call(this,n),delete n.current)}}(r,i));for(const e of n)for(const n of t)n.addEventListener(e,i,o);return()=>Je(t,n,i,o)}function Je(...e){let[t,n,,r,i=!1]=Ke(e);for(const e of n)for(const n of t)n.removeEventListener(e,r,i)}function Xe(...e){const[t,n,r,i,o=!1,s]=Ke(e),a=Ye(t,n,r,e=>{const t=!s||s(e);t&&(a(),i(e,t))},o);return a}function Ge(e,t,n){return tt(e).every(e=>e.dispatchEvent(Ze(t,!0,!0,n)))}function Ze(e,t=!0,n=!1,r){return E(e)&&(e=new CustomEvent(e,{bubbles:t,cancelable:n,detail:r})),e}function Ke(e){return e[0]=tt(e[0]),E(e[1])&&(e[1]=e[1].split(" ")),g(e[2])&&e.splice(2,0,!1),e}function Qe(e){return e&&"addEventListener"in e}function et(e){return Qe(e)?e:j(e)}function tt(e){return p(e)?e.map(et).filter(Boolean):E(e)?ze(e):Qe(e)?[e]:I(e)}function nt(e){return"touch"===e.pointerType||!!e.touches}function rt(e){const{clientX:t,clientY:n}=e.touches?.[0]||e.changedTouches?.[0]||e;return{x:t,y:n}}const it={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function ot(e,t,n,r){const i=I(e);for(const e of i)if(E(t)){if(t=at(t),T(n))return getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,!_(n)||it[t]||lt(t)?n||S(n)?n:"":`${n}px`,r)}else{if(p(t)){const n={};for(const r of t)n[r]=ot(e,r);return n}if(m(t))for(const r in t)ot(e,r,t[r],n)}return i[0]}function st(e,t){for(const n in t)ot(e,n,"")}const at=G(e=>{if(lt(e))return e;e=i(e);const{style:t}=document.documentElement;if(e in t)return e;for(const n of["webkit","moz"]){const r=`-${n}-${e}`;if(r in t)return r}});function lt(e){return l(e,"--")}const ct="qx-transition",ut="transitionend",ht="transitioncanceled";const pt={start:function(e,t,n=400,r="linear",i){return n=Math.round(n),Promise.all(I(e).map(e=>new Promise((o,s)=>{i||e.offsetHeight;const a=setTimeout(()=>Ge(e,ut),n);Xe(e,[ut,ht],({type:t})=>{clearTimeout(a),K(e,ct),st(e,l),t===ht?s():o(e)},{self:!0}),Z(e,ct);const l={transitionProperty:Object.keys(t).map(at).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:r};ot(e,{...l,...t})})))},async stop(e){Ge(e,ut),await Promise.resolve()},async cancel(e){Ge(e,ht),await Promise.resolve()},inProgress:e=>ee(e,ct)},dt="qx-animation",ft="animationend",gt="animationcanceled";function mt(e,t,n=200,r,i){return Promise.all(I(e).map(e=>new Promise((o,s)=>{ee(e,dt)&&Ge(e,gt);const a=[t,dt,`${dt}-${i?"leave":"enter"}`,r&&`qx-transform-origin-${r}`,i&&`${dt}-reverse`],l=setTimeout(()=>Ge(e,ft),n);Xe(e,[ft,gt],({type:t})=>{clearTimeout(l),t===gt?s():o(e),ot(e,"animationDuration",""),K(e,a)},{self:!0}),ot(e,"animationDuration",`${n}ms`),Z(e,a)})))}const yt={in:mt,out:(e,t,n,r)=>mt(e,t,n,r,!0),inProgress:e=>ee(e,dt),cancel(e){Ge(e,gt)}};function vt(e,...t){return t.some(t=>e?.tagName?.toLowerCase()===t.toLowerCase())}function bt(e){return(e=qt(e))&&(e.innerHTML=""),e}function xt(e,t){return T(t)?qt(e).innerHTML:kt(bt(e),t)}const wt=St("prepend"),kt=St("append"),$t=St("before"),Et=St("after");function St(e){return function(t,n){const r=I(E(n)?Nt(n):n);return qt(t)?.[e](...r),jt(r)}}function _t(e){I(e).forEach(e=>e.remove())}function At(e,t){for(t=j($t(e,t));t.firstElementChild;)t=t.firstElementChild;return kt(t,e),t}function Tt(e,t){return I(I(e).map(e=>e.hasChildNodes()?At(d(e.childNodes),t):kt(e,t)))}function Ct(e){I(e).map(Se).filter((e,t,n)=>n.indexOf(e)===t).forEach(e=>e.replaceWith(...e.childNodes))}const Ot=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Nt(e){const t=Ot.exec(e);if(t)return document.createElement(t[1]);const n=document.createElement("template");return n.innerHTML=e.trim(),jt(n.content.childNodes)}function jt(e){return e.length>1?e:e[0]}function It(e,t){if(w(e))for(t(e),e=e.firstElementChild;e;)It(e,t),e=e.nextElementSibling}function qt(e,t){return zt(e)?j(Nt(e)):Pe(e,t)}function Pt(e,t){return zt(e)?I(Nt(e)):ze(e,t)}function zt(e){return E(e)&&l(e.trim(),"<")}const Mt={width:["left","right"],height:["top","bottom"]};function Dt(e){const t=w(e)?j(e).getBoundingClientRect():{height:Ft(e),width:Ut(e),top:0,left:0};
2return{height:t.height,width:t.width,top:t.top,left:t.left,bottom:t.top+t.height,right:t.left+t.width}}function Bt(e,t){t&&ot(e,{left:0,top:0});const n=Dt(e);if(e){const{scrollY:t,scrollX:r}=q(e),i={height:t,width:r};for(const e in Mt)for(const t of Mt[e])n[t]+=i[e]}if(!t)return n;for(const r of["left","top"])ot(e,r,t[r]-n[r])}function Rt(e){let{top:t,left:n}=Bt(e);const{ownerDocument:{body:r,documentElement:i},offsetParent:o}=j(e);let s=o||i;for(;s&&(s===r||s===i)&&"static"===ot(s,"position");)s=s.parentNode;if(w(s)){const e=Bt(s);t-=e.top+N(ot(s,"borderTopWidth")),n-=e.left+N(ot(s,"borderLeftWidth"))}return{top:t-N(ot(e,"marginTop")),left:n-N(ot(e,"marginLeft"))}}function Lt(e){const t=[(e=j(e)).offsetTop,e.offsetLeft];for(;e=e.offsetParent;)if(t[0]+=e.offsetTop+N(ot(e,"borderTopWidth")),t[1]+=e.offsetLeft+N(ot(e,"borderLeftWidth")),"fixed"===ot(e,"position")){const n=q(e);return t[0]+=n.scrollY,t[1]+=n.scrollX,t}return t}const Ft=Wt("height"),Ut=Wt("width");function Wt(e){const t=a(e);return(n,r)=>{if(T(r)){if(v(n))return n[`inner${t}`];if(b(n)){const e=n.documentElement;return Math.max(e[`offset${t}`],e[`scroll${t}`])}return(r="auto"===(r=ot(n=j(n),e))?n[`offset${t}`]:N(r)||0)-Ht(n,e)}return ot(n,e,r||0===r?+r+Ht(n,e)+"px":"")}}function Ht(e,t,n="border-box"){return ot(e,"boxSizing")===n?B(Mt[t],t=>N(ot(e,`padding-${t}`))+N(ot(e,`border-${t}-width`))):0}function Vt(e){for(const t in Mt)for(const n in Mt[t])if(Mt[t][n]===e)return Mt[t][1-n];return e}function Yt(e,t="width",n=window,r=!1){return E(e)?B(Xt(e),e=>{const i=Zt(e);return i?function(e,t){return e*N(t)/100}("vh"===i?Kt||(Qt||(Qt=qt("<div>"),ot(Qt,{height:"100vh",position:"fixed"}),Ye(window,"resize",()=>Kt=null)),kt(document.body,Qt),Kt=Qt.clientHeight,_t(Qt),Kt):"vw"===i?Ut(q(n)):r?n[`offset${a(t)}`]:Dt(n)[t],e):e}):N(e)}const Jt=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Xt=G(e=>
2e.toString().replace(/\s/g,"").match(Jt)||[]),Gt=/(?:v[hw]|%)$/,Zt=G(e=>(e.match(Gt)||[])[0]);let Kt,Qt;const en={read:function(e){return tn.push(e),sn(),e},write:function(e){return nn.push(e),sn(),e},clear:function(e){ln(tn,e),ln(nn,e)},flush:on},tn=[],nn=[];let rn=!1;function on(){an(tn),an(nn.splice(0)),rn=!1,(tn.length||nn.length)&&sn()}function sn(){rn||(rn=!0,queueMicrotask(on))}function an(e){let t;for(;t=e.shift();)try{t()}catch(e){console.error(e)}}function ln(e,t){const n=e.indexOf(t);return~n&&e.splice(n,1)}class cn{init(){let e;this.positions=[],this.unbind=Ye(document,"mousemove",t=>e=rt(t)),this.interval=setInterval(()=>{e&&(this.positions.push(e),this.positions.length>5&&this.positions.shift())},50)}cancel(){this.unbind?.(),clearInterval(this.interval)}movesTo(e){if(!this.positions||this.positions.length<2)return!1;const t=Dt(e),{left:n,right:r,top:i,bottom:o}=t,[s]=this.positions,a=M(this.positions),l=[s,a];return!H(a,t)&&[[{x:n,y:i},{x:r,y:o}],[{x:n,y:o},{x:r,y:i}]].some(e=>{const n=function([{x:e,y:t},{x:n,y:r}],[{x:i,y:o},{x:s,y:a}]){const l=(a-o)*(n-e)-(s-i)*(r-t);if(0===l)return!1;const c=((s-i)*(t-o)-(a-o)*(e-i))/l;return!(c<0)&&{x:e+c*(n-e),y:t+c*(r-t)}}(l,e);return n&&H(n,t)})}}function un(e,t,n={},{intersecting:r=!0}={}){const i=new IntersectionObserver(r?(e,n)=>{e.some(e=>e.isIntersecting)&&t(e,n)}:t,n);for(const t of I(e))i.observe(t);return i}const hn=ae&&window.ResizeObserver;function pn(e,t,n={box:"border-box"}){if(hn)return gn(ResizeObserver,e,t,n);const r=[Ye(window,"load resize",t),Ye(document,"loadedmetadata load",t,!0)];return{disconnect:()=>r.map(e=>e())}}function dn(e){return{disconnect:Ye([window,window.visualViewport],"resize",e)}}function fn(e,t,n){return gn(MutationObserver,e,t,n)}function gn(e,t,n,r){const i=new e(n);for(const e of I(t))i.observe(e,r);return i}function mn(e){xn(e)&&$n(e,{func:"playVideo",method:"play"}),bn(e)&&e.play().catch(U)}function yn(e){xn(e)&&e[Sn]&&$n(e,{func:"pauseVideo",method:"pause"}),bn(e)&&e.pause()}function vn(e){xn(e)&&$n(e,{func:"mute",method:"setVolume",value:0}),bn(e)&&(e.muted=!0)}function bn(e){return vt(e,"video")}function xn(e){return vt(e,"iframe")&&(wn(e)||kn(e))}function wn(e){return!!e.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function kn(e){return!!e.src.match(/vimeo\.com\/video\/.*/)}async function $n(e,t){await function(e){if(e[Sn])return e[Sn];const t=wn(e),n=kn(e),r=++_n;let i;return e[Sn]=new Promise(o=>{t&&Xe(e,"load",()=>{const t=()=>En(e,{event:"listening",id:r});i=setInterval(t,100),t()}),Xe(window,"message",o,!1,({data:e})=>{try{return e=JSON.parse(e),t&&e?.id===r&&"onReady"===e.event||n&&Number(e?.player_id)===r}catch{}}),e.src=`${e.src}${u(e.src,"?")?"&":"?"}${t?"enablejsapi=1":`api=1&player_id=${r}`}`}).then(()=>clearInterval(i))}(e),En(e,t)}function En(e,t){e.contentWindow.postMessage(JSON.stringify({event:"command",...t}),"*")}const Sn="_ukPlayer";let _n=0;function An(e,t=0,n=0){return!!xe(e)&&W(...jn(e).map(e=>{const{top:r,left:i,bottom:o,right:s}=In(e);return{top:r-t,left:i-n,bottom:o+t,right:s+n}}).concat(Bt(e)))}function Tn(e,{offset:t=0}={}){const n=xe(e)?On(e,!1,["hidden"]):[];return n.reduce((r,i,o)=>{const{scrollTop:s,scrollHeight:a,offsetHeight:l}=i,c=In(i),u=a-c.height,{height:h,top:p}=n[o-1]?In(n[o-1]):Bt(e);let d=Math.ceil(p-c.top-t+s);return t>0&&l<h+t?d+=t:t=0,d>u?(t-=d-u,d=u):d<0&&(t-=d,d=0),()=>function(e,t,r,i){return new Promise(o=>{const s=e.scrollTop,a=(h=Math.abs(t),40*Math.pow(h,.375)),l=Date.now(),c=Mn(e)===e,u=Bt(r).top+(c?0:s);var h;let p=0,d=15;!function h(){const f=(g=F((Date.now()-l)/a),.5*(1-Math.cos(Math.PI*g)));var g;let m=0;n[0]===e&&s+t<i&&(m=Bt(r).top+(c?0:e.scrollTop)-u-Dt(qn(r)).height),"auto"!==ot(e,"scrollBehavior")&&ot(e,"scrollBehavior","auto"),e.scrollTop=s+(t+m)*f,ot(e,"scrollBehavior",""),1!==f||p!==m&&d--?(p=m,requestAnimationFrame(h)):o()}()})}(i,d-s,e,u).then(r)},()=>Promise.resolve())()}function Cn(e,t=0,n=0){if(!xe(e))return 0;const r=Nn(e,!0),{scrollHeight:i,scrollTop:o}=r,{height:s}=In(r),a=i-s,l=Lt(e)[0]-Lt(r)[0],c=Math.max(0,l-s+t),u=Math.min(a,l+e.offsetHeight-n);return c<u?F((o-c)/(u-c)):1}function On(e,t=!1,n=[]){const r=Mn(e);let i=Te(e).reverse();i=i.slice(i.indexOf(r)+1);const o=h(i,e=>zn(e,"fixed"));return~o&&(i=i.slice(o)),[r].concat(i.filter(e=>ot(e,"overflow").split(" ").some(e=>u(["auto","scroll",...n],e))&&(!t||e.scrollHeight>In(e).height))).reverse()}function Nn(...e){return On(...e)[0]}function jn(e){return On(e,!1,["hidden","clip"])}function In(e){const t=q(e),n=Mn(e),r=!x(e)||e.contains(n);
vendor: 4,147 bytes, line 2
2if(r&&t.visualViewport){let{height:e,width:n,scale:r,pageTop:i,pageLeft:o}=t.visualViewport;return e=Math.round(e*r),n=Math.round(n*r),{height:e,width:n,top:i,left:o,bottom:i+e,right:o+n}}let i=Bt(r?t:e);if("inline"===ot(e,"display"))return i;const{body:o,documentElement:s}=t.document,l=r?n===s||n.clientHeight<o.clientHeight?n:o:e;for(let[e,t,n,r]of[["width","x","left","right"],["height","y","top","bottom"]]){const o=i[e]%1;i[n]+=N(ot(l,`border-${n}-width`)),i[e]=i[t]=l[`client${a(e)}`]-(o?o<.5?-o:1-o:0),i[r]=i[e]+i[n]}return i}function qn(e){const{document:t}=q(e);e=e||t.body;const{left:n,width:r,top:i}=Dt(e);for(const o of i?[0,i]:[0]){let i;for(const s of t.elementsFromPoint(n+r/2,o))s.contains(e)||ee(s,"qx-togglable-leave")||!(zn(s,"fixed")&&Pn(Te(e).reverse().find(e=>!e.contains(s)&&!zn(e,"static")))<Pn(s)||zn(s,"sticky")&&(!e||Se(s).contains(e)))||i&&!(Dt(i).height<Dt(s).height)||(i=s);if(i)return i}}function Pn(e){return N(ot(e,"zIndex"))}function zn(e,t){return ot(e,"position")===t}function Mn(e){return q(e).document.scrollingElement}const Dn=[["width","x","left","right"],["height","y","top","bottom"]];function Bn(e,t,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},p(t)||(t=[t,t]),Bt(e,Rn(e,t,n))}function Rn(e,t,n){const r=Ln(e,t,n),{boundary:i,viewportOffset:o=0,placement:s}=n;let a=r;for(const[l,[c,,u,h]]of Object.entries(Dn)){const p=Wn(e,t[l],o,i,l);if(Jn(r,p,l))continue;let d=0;if("flip"===s[l]){const i=n.attach.target[l];if(i===h&&r[h]<=p[h]||i===u&&r[u]>=p[u])continue;d=Xn(e,t,n,l)[u]-r[u];const s=Hn(e,t[l],o,l);if(!Jn(Fn(r,d,l),s,l)){if(Jn(r,s,l))continue;if(n.recursion)return!1;const i=Gn(e,t,n);if(i&&Jn(i,s,1-l))return i;continue}}else if("shift"===s[l]){const e=Bt(t[l]),{offset:i}=n;d=F(F(r[u],p[u],p[h]-r[c]),e[u]-r[c]+i[l],e[h]-i[l])-r[u]}a=Fn(a,d,l)}return a}function Ln(e,t,n){let{attach:r,offset:i}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},o=Bt(e);for(const[e,[n,,s,a]]of Object.entries(Dn)){const l=r.target[e]===r.element[e]?In(t[e]):Bt(t[e]);o=Fn(o,l[s]-o[s]+Un(r.target[e],a,l[n])-Un(r.element[e],a,o[n])+ +i[e],e)}return o}function Fn(e,t,n){const[,r,i,o]=Dn[n],s={...e};return s[i]=e[r]=e[i]+t,s[o]+=t,s}function Un(e,t,n){return"center"===e?n/2:e===t?n:0}function Wn(e,t,n,r,i){let o=Yn(...Vn(e,t).map(In));return n&&(o[Dn[i][2]]+=n,o[Dn[i][3]]-=n),r&&(o=Yn(o,Bt(p(r)?r[i]:r))),o}function Hn(e,t,n,r){const[i,o,s,l]=Dn[r],[c]=Vn(e,t),u=In(c);return["auto","scroll"].includes(ot(c,`overflow-${o}`))&&(u[s]-=c[`scroll${a(s)}`],u[l]=u[s]+c[`scroll${a(i)}`]),u[s]+=n,u[l]-=n,u}function Vn(e,t){return jn(t).filter(t=>t.contains(e))}function Yn(...e){let t={};for(const n of e)for(const[,,e,r]of Dn)t[e]=Math.max(t[e]||0,n[e]),t[r]=Math.min(...[t[r],n[r]].filter(S));return t}function Jn(e,t,n){const[,,r,i]=Dn[n];return e[r]>=t[r]&&e[i]<=t[i]}function Xn(e,t,{offset:n,attach:r},i){return Ln(e,t,{attach:{element:Zn(r.element,i),target:Zn(r.target,i)},offset:Qn(n,i)})}function Gn(e,t,n){return Rn(e,t,{...n,attach:{element:n.attach.element.map(Kn).reverse(),target:n.attach.target.map(Kn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function Zn(e,t){const n=[...e],r=Dn[t].indexOf(e[t]);return~r&&(n[t]=Dn[t][1-r%2+2]),n}function Kn(e){for(let t=0;t<Dn.length;t++){const n=Dn[t].indexOf(e);if(~n)return Dn[1-t][n%2+2]}}function Qn(e,t){return(e=[...e])[t]*=-1,e}var er=Object.freeze({__proto__:null,$:qt,$$:Pt,Animation:yt,Dimensions:J,MouseTracker:cn,Transition:pt,addClass:Z,after:Et,append:kt,apply:It,assign:f,attr:re,before:$t,boxModelAdjust:Ht,camelize:s,children:Ce,clamp:F,createEvent:Ze,css:ot,data:se,dimensions:Dt,each:D,empty:bt,endsWith:c,escape:Ve,fastdom:en,filter:_e,find:Pe,findAll:ze,findIndex:h,flipPosition:Vt,fragment:Nt,getCoveringElement:qn,getEventPos:rt,getIndex:X,getTargetedElement:je,hasAttr:ie,hasClass:ee,hasOwn:n,hasTouch:ce,height:Ft,html:xt,hyphenate:i,inBrowser:ae,includes:u,index:Oe,intersectRect:W,isArray:p,isBoolean:$,isDocument:b,isElement:w,isEmpty:A,isEqual:P,isFocusable:Ee,isFunction:g,isInView:An,isInput
2:ke,isNode:x,isNumber:S,isNumeric:_,isObject:m,isPlainObject:y,isRtl:le,isSameSiteAnchor:Ne,isString:E,isTag:vt,isTouch:nt,isUndefined:T,isVisible:xe,isVoidElement:ve,isWindow:v,last:M,matches:Ae,memoize:G,mute:vn,noop:U,observeIntersection:un,observeMutation:fn,observeResize:pn,observeViewportResize:dn,off:Je,offset:Bt,offsetPosition:Lt,offsetViewport:In,on:Ye,once:Xe,overflowParents:jn,parent:Se,parents:Te,pause:yn,pick:L,play:mn,pointInRect:H,pointerCancel:me,pointerDown:he,pointerEnter:fe,pointerLeave:ge,pointerMove:pe,pointerUp:de,position:Rt,positionAt:Bn,prepend:wt,propName:at,query:Ie,queryAll:qe,ready:function(e){"loading"===document.readyState?Xe(document,"DOMContentLoaded",e):e()},remove:_t,removeAttr:oe,removeClass:K,replaceClass:Q,resetProps:st,scrollIntoView:Tn,scrollParent:Nn,scrollParents:On,scrolledOver:Cn,selFocusable:$e,selInput:we,sortBy:function(e,t){return e.slice().sort(({[t]:e=0},{[t]:n=0})=>e>n?1:n>e?-1:0)},startsWith:l,sumBy:B,swap:z,toArray:d,toBoolean:C,toEventTargets:tt,toFloat:N,toNode:j,toNodes:I,toNumber:O,toPx:Yt,toWindow:q,toggleClass:te,trigger:Ge,ucfirst:a,uniqueBy:R,unwrap:Ct,width:Ut,wrapAll:At,wrapInner:Tt}),tr={connected(){this._cmpCls=ee(this.$el,this.$options.id),Z(this.$el,this.$options.id)},disconnected(){this._cmpCls||K(this.$el,this.$options.id)}};const nr=["days","hours","minutes","seconds"];var rr={mixins:[tr],props:{date:String,clsWrapper:String,role:String,reload:Boolean},data:{date:"",clsWrapper:".qx-countdown-%unit%",role:"timer",reload:!1},connected(){this.$el.role=this.role,this.date=N(Date.parse(this.$props.date)),this.started=this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el:()=>document,handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update()},stop(){this.timer&&(clearInterval(this.timer),Ge(this.$el,"countdownstop"),this.timer=null)},update(){const e=function(e){const t=Math.max(0,e-Date.now())/1e3;return{total:t,seconds:t%60,minutes:t/60%60,hours:t/60/60%24,days:t/60/60/24}}(this.date);e.total?this.timer||(this.started=!0,this.timer=setInterval(this.update,1e3),Ge(this.$el,"countdownstart")):(this.stop(),this.end||(Ge(this.$el,"countdownend"),this.end=!0,this.reload&&this.started&&window.location.reload()));for(const t of nr){const n=qt(this.clsWrapper.replace("%unit%",t),this.$el);if(!n)continue;let r=Math.trunc(e[t]).toString().padStart(2,"0");n.textContent!==r&&(r=r.split(""),r.length!==n.children.length&&xt(n,r.map(()=>"<span></span>").join("")),r.forEach((e,t)=>n.children[t].textContent=e))}}}};const ir={};function or(e,t,n){return ir.computed(g(e)?e.call(n,n):e,g(t)?t.call(n,n):t)}function sr(e,t){return e=e&&!p(e)?[e]:e,t?e?e.concat(t):p(t)?t:[t]:e}function ar(e,t){return T(t)?e:t}function lr(e,t,r){const i={};if(g(t)&&(t=t.options),t.extends&&(e=lr(e,t.extends,r)),t.mixins)for(const n of t.mixins)e=lr(e,n,r);for(const t in e)o(t);for(const r in t)n(e,r)||o(r);function o(n){i[n]=(ir[n]||ar)(e[n],t[n],r)}return i}function cr(e,t=[]){try{return e?l(e,"{")?JSON.parse(e):t.length&&!u(e,":")?{[t[0]]:e}:e.split(";").reduce((e,t)=>{const[n,r]=t.split(/:(.*)/);return n&&!T(r)&&(e[n.trim()]=r.trim()),e},{}):{}}catch{return{}}}function ur(e,t){return e===Boolean?C(t):e===Number?O(t):"list"===e?function(e){return p(e)?e:E(e)?e.split(hr).map(e=>_(e)?O(e):C(e.trim())):[e]}(t):e===Object&&E(t)?cr(t):e?e(t):t}ir.events=ir.watch=ir.observe=ir.created=ir.beforeConnect=ir.connected=ir.beforeDisconnect=ir.disconnected=ir.destroy=sr,ir.args=function(e,t){return!1!==t&&sr(t||e)},ir.update=function(e,t){return sr(e,g(t)?{read:t}:t)},ir.props=function(e,t){if(p(t)){const e={};for(const n of t)e[n]=String;t=e}return ir.methods(e,t)},ir.computed=ir.methods=function(e,t){return t?e?{...e,...t}:t:e},ir.i18n=ir.data=function(e,t,n){return n?or(e,t,n):t?e?function(n){return or(e,t,n)}:t:e};const hr=/,(?![^(]*\))/;function pr(e,t="update"){e._connected&&e._updates.length&&(e._updateCount||(e._updateCount=0,requestAnimationFrame(()=>e._updateCount=0)),e._queued||(e._queued=new Set,en.read(()=>{e._connected&&function(e,t){for(const{read:n,write:r,events:i=[]}
2of e._updates){if(!t.has("update")&&!i.some(e=>t.has(e)))continue;let o;n&&(o=n.call(e,e._data,t),o&&y(o)&&f(e._data,o)),r&&!1!==o&&en.write(()=>{e._connected&&r.call(e,e._data,t)})}}(e,e._queued),e._queued=null})),e._updateCount++<20&&e._queued.add(t.type||t))}function dr(e){return xr(pn,e,"resize")}function fr(e){return xr(un,e)}function gr(e){return xr(fn,e)}function mr(e={}){return fr({handler:function(t,n){const{targets:r=this.$el,preload:i=5}=e;for(const e of I(g(r)?r(this):r))Pt('[loading="lazy"]',e).slice(0,i-1).forEach(e=>oe(e,"loading"));for(const e of t.filter(({isIntersecting:e})=>e).map(({target:e})=>e))n.unobserve(e)},...e})}function yr(e){return xr((e,t)=>dn(t),e,"resize")}function vr(e){return xr((e,t)=>{return{disconnect:Ye((n=e,I(n).map(e=>{const{ownerDocument:t}=e,n=Nn(e,!0);return n===t.scrollingElement?t:n})),"scroll",t,{passive:!0})};var n},e,"scroll")}function br(e){return{observe:(e,t)=>({observe:U,unobserve:U,disconnect:Ye(e,he,t,{passive:!0})}),handler(e){if(!nt(e))return;const t=rt(e),n="tagName"in e.target?e.target:Se(e.target);Xe(document,`${de} ${me} scroll`,e=>{const{x:r,y:i}=rt(e);("scroll"!==e.type&&n&&r&&Math.abs(t.x-r)>100||i&&Math.abs(t.y-i)>100)&&setTimeout(()=>{var e,o,s,a;Ge(n,"swipe"),Ge(n,"swipe"+(e=t.x,o=t.y,s=r,a=i,Math.abs(e-s)>=Math.abs(o-a)?e-s>0?"Left":"Right":o-a>0?"Up":"Down"))})})},...e}}function xr(e,t,n){return{observe:e,handler(){pr(this,n)},...t}}var wr={props:{margin:String,firstColumn:Boolean},data:{margin:"qx-margin-small-top",firstColumn:"qx-first-column"},observe:[gr({options:{childList:!0}}),gr({options:{attributes:!0,attributeFilter:["style"]}}),dr({handler(e){for(const{target:t,borderBoxSize:[{inlineSize:n,blockSize:r}]}of e)if(t===this.$el&&!n&&!r)return;this.$emit("resize")},target:({$el:e})=>[e,...Ce(e)]})],update:{read(){return{rows:kr(Ce(this.$el))}},write({rows:e}){for(const t of e)for(const n of t)te(n,this.margin,e[0]!==t),te(n,this.firstColumn,t[le?t.length-1:0]===n)},events:["resize"]}};function kr(e){const t=[[]],n=e.some((t,n)=>n&&e[n-1].offsetParent!==t.offsetParent);for(const r of e){if(!xe(r))continue;const e=$r(r,n);for(let i=t.length-1;i>=0;i--){const o=t[i];if(!o[0]){o.push(r);break}const s=$r(o[0],n);if(e.top>=s.bottom-1&&e.top!==s.top){t.push([r]);break}if(e.bottom-1>s.top||e.top===s.top){let t=o.length-1;for(;t>=0;t--){const r=$r(o[t],n);if(e.left>=r.left)break}o.splice(t+1,0,r);break}if(0===i){t.unshift([r]);break}}}return t}function $r(e,t=!1){let{offsetTop:n,offsetLeft:r,offsetHeight:i,offsetWidth:o}=e;return t&&([n,r]=Lt(e)),{top:n,left:r,bottom:n+i,right:r+o}}function Er(){return new Promise(e=>requestAnimationFrame(e))}function Sr(e){return new Promise(t=>setTimeout(t,e))}const _r="qx-transition-leave",Ar="qx-transition-enter";function Tr(e,t,n,r=0){const i=Cr(t,!0),o={opacity:1},s={opacity:0},a=()=>i===Cr(t),l=e=>()=>a()?e():Promise.reject(),c=l(async()=>{Z(t,_r),await(r?Nr(t).reduce(async(e,t,i,o)=>{if(await e,!An(t)||!a())return void ot(t,s);await Sr(r);const l=pt.start(t,s,n/2,"ease");o.length-1===i&&await l},Promise.resolve()):pt.start(t,s,n/2,"ease")),K(t,_r)}),u=l(async()=>{const i=Ft(t);Z(t,Ar),e(),ot(r?Ce(t):t,s),Ft(t,i),await Sr(),Ft(t,"");const l=Ft(t);ot(t,"alignContent","flex-start"),Ft(t,i);let c=[],u=n/2;if(r){const e=Nr(t);ot(Ce(t),s),c=e.reduce(async(e,t,i,s)=>{if(await e,!An(t)||!a())return void st(t,o);await Sr(r);const l=pt.start(t,o,n/2,"ease").then(()=>a()&&st(t,o));s.length-1===i&&await l},Promise.resolve()),u+=e.length*r}if(!r||i!==l){const e={height:l,...r?{}:o};c.push(pt.start(t,e,u,"ease"))}await Promise.all(c),K(t,Ar),a()&&(st(t,{height:"",alignContent:"",...o}),delete t.dataset.transition)});return ee(t,_r)?Or(t).then(u):ee(t,Ar)?Or(t).then(c).then(u):c().then(u)}function Cr(e,t){return t&&(e.dataset.transition=1+Cr(e)),O(e.dataset.transition)||0}function Or(e){return Promise.all(Ce(e).filter(pt.inProgress).map(e=>new Promise(t=>Xe(e,"transitionend transitioncanceled",t))))}function Nr(e){return kr(Ce(e)).flat().filter(xe)}async function jr(e,t,n){await Er();let r=Ce(t);const i=r.map(e=>Ir(e,!0)),o={...ot(t,["height","padding"]),display:"block"},s=r.filter(e=>An(e)),a=r.concat(t);await Promise.all(a.map(pt.cancel)),ot(a,"transitionProperty","none"),await e();const l=Ce(t).filter(e=>!u(r,e));r=r.concat(l),await Promise.resolve(),ot(a,"transitionProperty","");const c=re(t,"style"),h=ot(t,["height","padding"]),[p,d]=function(e,t,n){const r=t.map((e,t)=>!(!Se(e)||!(t in n))&&(n[t]?xe(e)?qr(e):{opacity:0}
2:{opacity:xe(e)?1:0})),i=r.map((r,i)=>{const o=Se(t[i])===e&&(n[i]||Ir(t[i]));if(!o)return!1;if(r){if(!("opacity"in r)){const{opacity:e}=o;e%1?r.opacity=1:delete o.opacity}}else delete o.opacity;return o});return[r,i]}(t,r,i),f=r.map(e=>({style:re(e,"style")}));s.push(...r.filter(e=>An(e))),r.forEach((e,t)=>d[t]&&ot(e,d[t])),ot(t,o),Ge(t,"scroll"),await Er();const g=r.map((e,r)=>{if(Se(e)===t&&s.includes(e))return pt.start(e,p[r],n,"ease",!l.includes(e))}).concat(pt.start(t,h,n,"ease",!0));try{await Promise.all(g),r.forEach((e,n)=>{re(e,f[n]),Se(e)===t&&ot(e,"display",0===p[n].opacity?"none":"")}),re(t,"style",c)}catch{re(r,"style",""),st(t,o)}}function Ir(e,t){const n=ot(e,"zIndex");return!!xe(e)&&{display:"",opacity:t?ot(e,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===n?Oe(e):n,...qr(e)}}function qr(e){const{height:t,width:n}=Dt(e);let{top:r,left:i}=Rt(e);const o=In(e.ownerDocument);return r=F(r,o.top-t-o.height,o.bottom+o.height),i=F(i,o.left-n-o.width,o.right+o.width),{height:t,width:n,top:r,left:i,transform:"",...ot(e,["marginTop","marginLeft"])}}var Pr={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(e,t=this.$el){const n=this.animation;return("fade"===n?Tr:"delayed-fade"===n?(...e)=>Tr(...e,40):n?jr:()=>(e(),Promise.resolve()))(e,t,this.duration).catch(U)}}};function zr(e){e.target.closest('a[href="#"],a[href=""]')&&e.preventDefault()}const Mr=9,Dr=13,Br=27,Rr=32,Lr=35,Fr=36,Ur=37,Wr=38,Hr=39,Vr=40;var Yr={mixins:[Pr],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"qx-filter-control",cls:"qx-active",duration:250},computed:{children:({target:e},t)=>Pt(`${e} > *`,t),toggles:({attrItem:e},t)=>Pt(`[${e}],[data-${e}]`,t)},watch:{toggles(e){this.updateState();const t=Pt(this.selActive,this.$el);for(const n of e){!1!==this.selActive&&te(n,this.cls,u(t,n));const e=Zr(n);vt(e,"a")&&(e.role="button")}},children(e,t){t&&this.updateState()}},events:{name:"click keydown",delegate:({attrItem:e})=>`[${e}],[data-${e}]`,handler(e){"keydown"===e.type&&e.keyCode!==Rr||e.target.closest("a,button")&&(zr(e),this.apply(e.current))}},methods:{apply(e){const t=this.getState(),n=Xr(e,this.attrItem,this.getState());var r,i;r=t,i=n,["filter","sort"].every(e=>P(r[e],i[e]))||this.setState(n)},getState(){return this.toggles.filter(e=>ee(e,this.cls)).reduce((e,t)=>Xr(t,this.attrItem,e),{filter:{"":""},sort:[]})},async setState(e,t=!0){e={filter:{"":""},sort:[],...e},Ge(this.$el,"beforeFilter",[this,e]);for(const t of this.toggles)te(t,this.cls,Gr(t,this.attrItem,e));await Promise.all(Pt(this.target,this.$el).map(n=>{const r=()=>function(e,t,n){for(const t of n)ot(t,"display",Object.values(e.filter).every(e=>!e||Ae(t,e))?"":"none");const[r,i]=e.sort;if(r){const e=function(e,t,n){return[...e].sort((e,r)=>{const i=se(e,t)||"",o=se(r,t)||"";return(_(i)&&_(o)?i-o:i.localeCompare(o,void 0,{numeric:!0}))*("asc"===n||-1)})}(n,r,i);P(e,n)||kt(t,e)}}(e,n,Ce(n));return t?this.animate(r,n):r()})),Ge(this.$el,"afterFilter",[this])},updateState(){en.write(()=>this.setState(this.getState(),!1))}}};function Jr(e,t){return cr(se(e,t),["filter"])}function Xr(e,t,n){const{filter:r,group:i,sort:o,order:s="asc"}=Jr(e,t);return(r||T(o))&&(i?r?(delete n.filter[""],n.filter[i]=r):(delete n.filter[i],(A(n.filter)||""in n.filter)&&(n.filter={"":r||""})):n.filter={"":r||""}),T(o)||(n.sort=[o,s]),n}function Gr(e,t,{filter:n={"":""},sort:[r,i]}){const{filter:o="",group:s="",sort:a,order:l="asc"}=Jr(e,t);return T(a)?s in n&&o===n[s]||!o&&s&&!(s in n)&&!n[""]:r===a&&i===l}function Zr(e){return qt("a,button",e)||e}var Kr={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){"lazy"!==this.loading?this.load():ri(this.$el)&&(this.$el.loading="lazy",Qr(this.$el))},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:fr({handler(e,t){this.load(),t.disconnect()},options:({margin:e})=>({rootMargin:e}),filter:({loading:e})=>"lazy"===e,target:({$el:e,$props:t})=>t.target?[e,...qe(t.target,e)]:e}),methods:{load(){if(this.img)return this.img;const e=ri(this.$el)?this.$el:function(e,t,n){const r=new Image;return ni(r,n),ti(e,r),r.onload=()=>Qr(e,r.currentSrc),r.src=t,r}(this.$el,this.dataSrc,this.sources);return oe(e,"loading"),Qr(this.$el,e.currentSrc),this.img=e}}};function Qr(e,t){if(ri(e)){const t=Se(e);
2(vt(t,"picture")?Ce(t):[e]).forEach(e=>ti(e,e))}else t&&!u(e.style.backgroundImage,t)&&(ot(e,"backgroundImage",`url(${Ve(t)})`),Ge(e,Ze("load",!1)))}const ei=["data-src","data-srcset","sizes"];function ti(e,t){for(const n of ei){const r=se(e,n);r&&re(t,n.replace(/data-/g,""),r)}}function ni(e,t){if((t=function(e){if(!e)return[];if(l(e,"["))try{e=JSON.parse(e)}catch{e=[]}else e=cr(e);return p(e)||(e=[e]),e.filter(e=>!A(e))}(t)).length){const n=Nt("<picture>");for(const e of t){const t=Nt("<source>");re(t,e),kt(n,t)}kt(n,e)}}function ri(e){return vt(e,"img")}let ii;function oi(e){const t=Ye(e,"touchstart",t=>{if(1!==t.targetTouches.length||Ae(t.target,'input[type="range"]'))return;let n=rt(t).y;const r=Ye(e,"touchmove",t=>{const r=rt(t).y;r!==n&&(n=r,On(t.target).some(t=>{if(!e.contains(t))return!1;let{scrollHeight:n,clientHeight:r}=t;return r<n})||t.preventDefault())},{passive:!1});Xe(e,"scroll touchend touchcancel",r,{capture:!0})},{passive:!0});if(ii)return t;ii=!0;const{scrollingElement:n}=document,r={overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",scrollbarGutter:Ut(window)-n.clientWidth?"stable":""};return ot(n,r),()=>{ii=!1,t(),st(n,r)}}var si={props:{container:Boolean},data:{container:!0},computed:{container({container:e}){return!0===e&&this.$container||e&&qt(e)}}},ai={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"qx-togglable-enter",clsLeave:"qx-togglable-leave"},computed:{hasAnimation:({animation:e})=>!!e[0],hasTransition:({animation:e})=>["slide","reveal"].some(t=>l(e[0],t))},methods:{async toggleElement(e,t,n){const r={};return(await Promise.all(I(e).map(e=>{const i=$(t)?t:!this.isToggled(e);if(!Ge(e,"before"+(i?"show":"hide"),[this]))return r;const o=(g(n)?n:!1!==n&&this.hasAnimation?this.hasTransition?ci:ui:li)(e,i,this),s=i?this.clsEnter:this.clsLeave;Z(e,s),Ge(e,i?"show":"hide",[this]);const a=()=>{K(e,s),Ge(e,i?"shown":"hidden",[this]),i&&Pt("[autofocus]",e).find(xe)?.focus({preventScroll:!0})};return o?o.then(a,()=>(K(e,s),r)):a()}))).every(e=>e!==r)},isToggled(e=this.$el){return!!ee(e=j(e),this.clsEnter)||!ee(e,this.clsLeave)&&(this.cls?ee(e,this.cls.split(" ")[0]):xe(e))},_toggle(e,t){if(!e)return;let n;t=Boolean(t),this.cls?(n=u(this.cls," ")||t!==ee(e,this.cls),n&&te(e,this.cls,u(this.cls," ")?void 0:t)):(n=t===e.hidden,n&&(e.hidden=!t)),n&&Ge(e,"toggled",[t,this])}}};function li(e,t,{_toggle:n}){return yt.cancel(e),pt.cancel(e),n(e,t)}async function ci(e,t,{animation:n,duration:r,velocity:i,transition:o,_toggle:s}){const[a="reveal",l="top"]=n[0]?.split("-")||[],c=[["left","right"],["top","bottom"]],h=c[u(c[0],l)?0:1],p=h[1]===l,d=["width","height"][c.indexOf(h)],f=`margin-${h[0]}`,g=`margin-${l}`;let m=Dt(e)[d];const y=pt.inProgress(e);await pt.cancel(e),t&&s(e,!0);const v=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",f,g].map(t=>[t,e.style[t]])),b=Dt(e),x=N(ot(e,f)),w=N(ot(e,g)),k=b[d]+w;y||t||(m+=w);const[$]=Tt(e,"<div>");ot($,{boxSizing:"border-box",height:b.height,width:b.width,...ot(e,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",g])}),ot(e,{padding:0,border:0,minWidth:0,minHeight:0,[g]:0,width:b.width,height:b.height,overflow:"hidden",[d]:m});const E=m/k;r=(i*k+r)*(t?1-E:E);const S={[d]:t?k:0};p&&(ot(e,f,k-m+x),S[f]=t?x:k+x),!p^"reveal"===a&&(ot($,f,-k+m),pt.start($,{[f]:t?0:-k},r,o));try{await pt.start(e,S,r,o)}finally{ot(e,v),Ct($.firstChild),t||s(e,!1)}}function ui(e,t,n){const{animation:r,duration:i,_toggle:o}=n;return t?(o(e,!0),yt.in(e,r[0],i,n.origin)):yt.out(e,r[1]||r[0],i,n.origin).then(()=>o(e,!1))}const hi=[];var pi={mixins:[tr,si,ai],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"qx-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel:({selPanel:e},t)=>qt(e,t),transitionElement(){return this.panel}},connected(){const e=this.panel||this.$el;e.role=this.role,this.overlay&&(e.ariaModal=!0)},beforeDisconnect(){u(hi,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate:({selClose:e})=>`${e},a[href*="#"]`,handler(e){const{current:t,defaultPrevented:n}=e,{hash:r}=t;!n&&r&&Ne(t)&&!this.$el.contains(qt(r))?this.hide():Ae(t,this.selClose)&&(zr(e),this.hide())}},{name:"toggle",self:!0,handler(e,t){e.defaultPrevented||(e.preventDefault(),this.target=t?.$el,this.isToggled()===u(hi,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(e){if(u(hi,this))return!1;!this.stack&&hi.length?(Promise.all(hi.map(e=>e.hide())).then(this.show),e.preventDefault()):hi.push(this)}}
2,{name:"show",self:!0,handler(){this.stack&&ot(this.$el,"zIndex",N(ot(this.$el,"zIndex"))+hi.length);const e=[this.overlay&&fi(this),this.overlay&&oi(this.$el),this.bgClose&&gi(this),this.escClose&&mi(this)];Xe(this.$el,"hidden",()=>e.forEach(e=>e&&e()),{self:!0}),Z(document.documentElement,this.clsPage),yi(this.target,!0)}},{name:"shown",self:!0,handler(){Ee(this.$el)||(this.$el.tabIndex=-1),Ae(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){u(hi,this)&&hi.splice(hi.indexOf(this),1),ot(this.$el,"zIndex","");const{target:e}=this;hi.some(e=>e.clsPage===this.clsPage)||(K(document.documentElement,this.clsPage),queueMicrotask(()=>{Ee(e)&&e.focus({preventScroll:!0})})),yi(e,!1),this.target=null}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},async show(){return this.container&&Se(this.$el)!==this.container&&(kt(this.container,this.$el),await Er()),this.toggleElement(this.$el,!0,di)},hide(){return this.toggleElement(this.$el,!1,di)}}};function di(e,t,{transitionElement:n,_toggle:r}){return new Promise((i,o)=>Xe(e,"show hide",()=>{e._reject?.(),e._reject=o,r(e,t);const s=Xe(n,"transitionstart",()=>{Xe(n,"transitionend transitioncancel",i,{self:!0}),clearTimeout(a)},{self:!0}),a=setTimeout(()=>{s(),i()},(l=ot(n,"transitionDuration"))?c(l,"ms")?N(l):1e3*N(l):0);var l})).then(()=>delete e._reject)}function fi(e){return Ye(document,"focusin",t=>{if(M(hi)!==e||e.$el.contains(t.target))return;const{left:n,top:r,width:i,height:o}=Dt(t.target),s=document.elementFromPoint(n+i/2,r+o/2);s&&(t.target.contains(s)||s.contains(t.target))||e.$el.focus()})}function gi(e){return Ye(document,he,({target:t})=>{M(hi)!==e||e.overlay&&!e.$el.contains(t)||!e.panel||e.panel.contains(t)||Xe(document,`${de} ${me} scroll`,({defaultPrevented:n,type:r,target:i})=>{n||r!==de||t!==i||e.hide()},!0)})}function mi(e){return Ye(document,"keydown",t=>{27===t.keyCode&&M(hi)===e&&e.hide()})}function yi(e,t){e?.ariaExpanded&&(e.ariaExpanded=t)}var vi={slide:{show:e=>[{transform:xi(-100*e)},{transform:xi()}],percent:e=>bi(e),translate:(e,t)=>
2[{transform:xi(-100*t*e)},{transform:xi(100*t*(1-e))}]}};function bi(e){return Math.abs(new DOMMatrix(ot(e,"transform")).m41/e.offsetWidth)}function xi(e=0,t="%"){return e?`translate3d(${e+t}, 0, 0)`:""}function wi(e,t,n){Ge(e,Ze(t,!1,!1,n))}function ki(){let e;return{promise:new Promise(t=>e=t),resolve:e}}var $i={props:{i18n:Object},data:{i18n:null},methods:{t(e,...t){let n=0;return(this.i18n?.[e]||this.$options.i18n?.[e])?.replace(/%s/g,()=>t[n++]||"")||""}}},Ei={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){re(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){re(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:e})=>e,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||!xe(this.$el)||this.draggable&&Ae(this.$el,":focus-within")&&!Ae(this.$el,":focus")||this.pauseOnHover&&Ae(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const Si={passive:!1,capture:!0},_i="touchmove mousemove";var Ai={props:{draggable:Boolean},data:{draggable:!0,threshold:10,angleThreshold:45},created(){for(const e of["start","move","end"]){const t=this[e];this[e]=e=>{const n=rt(e);le&&(n.x=-n.x),this.prevPos=P(n,this.pos)?this.prevPos:this.pos,this.pos=n,t(e)}}},events:[{name:"touchstart mousedown",passive:!0,delegate:({selList:e})=>`${e} > *`,handler(e){var t;!this.draggable||this.parallax||!nt(e)&&("none"!==ot(t=e.target,"userSelect")&&d(t.childNodes).some(e=>3===e.nodeType&&e.textContent.trim()))||e.target.closest(we)||e.button>0||this.length<2||this.start(e)}},{name:"dragstart",handler(e){e.preventDefault()}},{name:_i,el:({list:e})=>e,handler:U,...Si}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag.x+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,Ye(document,_i,this.move,Si),Ye(document,"touchend touchcancel mouseup click input scroll",this.end,{passive:!0,capture:!0,once:!0}),ot(this.list,"userSelect","none")},move(e){const t=this.pos.x-this.drag.x;if(0===t||!this.dragging&&(n=this.pos,r=this.drag,180*Math.atan2(Math.abs(r.y-n.y),Math.abs(r.x-n.x))/Math.PI>this.angleThreshold)||this.prevPos.x===this.pos.x||!this.dragging&&Math.abs(t)<this.threshold)return;var n,r;e.cancelable&&e.preventDefault(),this.dragging=!0,this.dir=t<0?1:-1;let{slides:i,prevIndex:o}=this,s=Math.abs(t),a=this.getIndex(o+this.dir),l=Ti.call(this,o,a);for(;a!==o&&s>l;)this.drag.x-=l*this.dir,o=a,s-=l,a=this.getIndex(o+this.dir),l=Ti.call(this,o,a);this.percent=s/l;const c=i[o],h=i[a],p=this.index!==a,d=o===a;let f;for(const e of[this.index,this.prevIndex])u([a,o],e)||(Ge(i[e],"itemhidden",[this]),d&&(f=!0,this.prevIndex=o));(this.index===o&&this.prevIndex!==o||f)&&Ge(i[this.index],"itemshown",[this]),p&&(this.prevIndex=o,this.index=a,d||(Ge(c,"beforeitemhide",[this]),Ge(c,"itemhide",[this])),Ge(h,"beforeitemshow",[this]),Ge(h,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),c,!d&&h)},end(){if(Je(document,_i,this.move,Si),this.dragging)if(setTimeout(Ye(this.list,"click",e=>e.preventDefault(),Si)),this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const e=this.dir<0==this.prevPos.x>this.pos.x;e?(Ge(this.slides[this.prevIndex],"itemhidden",[this]),Ge(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent):this.index=this.prevIndex,this.show(this.dir>0&&!e||this.dir<0&&e?"next":"previous",!0)}ot(this.list,{userSelect:""}),this.drag=this.percent=null}}};function Ti(e,t){return this._getTransitioner(e,e!==t&&t).getDistance()||this.slides[e].offsetWidth}function Ci(e,t,n){e._watches.push({name:n,...y(t)?t:{handler:t}})}const Oi={subtree:!0,childList:!0};function Ni(e,t,r){e._hasComputed=!0,Object.defineProperty(e,t,{enumerable:!0,get(){const{_computed:i,$props:o,$el:s}=e;if(!n(i,t)&&(i[t]=(r.get||r).call(e,o,s),r.observe&&e._computedObserver)){const t=r.observe.call(e,o);e._computedObserver.observe(["~","+","-"].includes(t[0])?s.parentElement:s.getRootNode(),Oi)}return i[t]},set(n){const{_computed:i}=e;i[t]=r.set?r.set.call(e,n):n,T(i[t])&&delete i[t]}})}function ji(e){e._hasComputed&&(function(e,t){e._updates.unshift(t)}(e,{read:()=>function(e,t){for(const{name:r,handler:i,immediate:o=!0}of e._watches)(e._initial&&o||n(t,r)&&!P(t[r],e[r]))&&i.call(e,e[r],t[r]);e._initial=!1}(e,Ii(e)),events:["resize","computed"]}),e._computedObserver=fn(e.$el,()=>pr(e,"computed"),Oi),e._disconnect.push(()=>{e._computedObserver.disconnect(),e._computedObserver=null,Ii(e)}))}function Ii(e){const t={...e._computed};return e._computed={},t}function qi(e,{name:t,el:n,handler:r,capture:i,passive:o,delegate:s,filter:a,self:l}){a&&!a.call(e,e)||e._disconnect.push(Ye(n?n.call(e,e):e.$el,t,s?.call(e,e),r.bind(e),{passive:o,capture:i,self:l}))}function Pi(e,t){let{observe:r,target:i=e.$el,handler:o,options:s,filter:a,args:l}=t;if(a&&!a.call(e,e))return;const c=`_observe${e._disconnect.length}`;g(i)&&!n(e,c)&&Ni(e,c,()=>{const t=i.call(e,e);return p(t)?I(t):t}),o=E(o)?e[o]:o.bind(e),g(s)&&(s=s.call(e,e));const u=r(n(e,c)?e[c]:i,o,s,l);g(i)&&p(e[c])&&Ci(e,{handler:zi(u,s),immediate:!1},c),e._disconnect.push(()=>u.disconnect())}function zi(e,t){return(n,r)=>{for(const t of r)u(n,t)||(e.unobserve?e.unobserve(t):e.observe&&e.disconnect());for(const i of n)u(r,i)&&e.unobserve||e.observe(i,t)}}function Mi(e){const t={},{args:n=[],props:r={},el:o,id:a}=e;if(!r)return t;for(const e in r){const n=i(e);let s=se(o,n);T(s)||(s=r[e]===Boolean&&""===s||ur(r[e],s),"target"===n&&l(s,"_")||(t[e]=s))}const c=cr(se(o,a),n);for(const e in c){const n=s(e);T(r[n])||(t[n]=ur(r[n],c[e]))}return t}const Di=G((e,t)=>{const n=Object.keys(t),r=n.concat(e).map(e=>[i(e),`data-${i(e)}`]).flat();return{attributes:n,filter:r}});function Bi(e,t){e.$options[t]?.forEach(t=>t.call(e))}function Ri(e){e._connected||(function(e){const{$options:t,$props:r}=e,i=Mi(t);f(r,i);const{computed:o,methods:s}=t;
2for(let t in r)!(t in i)||o&&n(o,t)||s&&n(s,t)||(e[t]=r[t])}(e),Bi(e,"beforeConnect"),e._connected=!0,e._disconnect=[],function(e){for(const t of e.$options.events||[])if(n(t,"handler"))qi(e,t);else for(const n in t)qi(e,{name:n,handler:t[n]})}(e),function(e){e._data={},e._updates=[...e.$options.update||[]],e._disconnect.push(()=>e._updates=e._data=null)}(e),function(e){e._watches=[];for(const t of e.$options.watch||[])for(const[n,r]of Object.entries(t))Ci(e,r,n);e._initial=!0}(e),function(e){for(const t of e.$options.observe||[])Pi(e,t)}(e),function(e){const{$options:t,$props:n}=e,{id:r,props:i,el:o}=t;if(!i)return;const{attributes:a,filter:l}=Di(r,i),c=new MutationObserver(i=>{const o=Mi(t);i.some(({attributeName:e})=>{const t=e.replace("data-","");return(t===r?a:[s(t),s(e)]).some(e=>!T(o[e])&&o[e]!==n[e])})&&e.$reset()});c.observe(o,{attributes:!0,attributeFilter:l}),e._disconnect.push(()=>c.disconnect())}(e),ji(e),Bi(e,"connected"),pr(e))}function Li(e){e._connected&&(Bi(e,"beforeDisconnect"),e._disconnect.forEach(e=>e()),e._disconnect=null,Bi(e,"disconnected"),e._connected=!1)}let Fi=0;function Ui(e,t={}){t.data=function({data:e={}},{args:t=[],props:n={}}){p(e)&&(e=e.slice(0,t.length).reduce((e,n,r)=>(y(n)?f(e,n):e[t[r]]=n,e),{}));for(const t in e)T(e[t])?delete e[t]:n[t]&&(e[t]=ur(n[t],e[t]));return e}(t,e.constructor.options),e.$options=lr(e.constructor.options,t,e),e.$props={},e._uid=Fi++,function(e){const{data:t={}}=e.$options;for(const n in t)e.$props[n]=e[n]=t[n]}(e),function(e){const{methods:t}=e.$options;if(t)for(const n in t)e[n]=t[n].bind(e)}(e),function(e){const{computed:t}=e.$options;if(e._computed={},t)for(const n in t)Ni(e,n,t[n])}(e),Bi(e,"created"),t.el&&e.$mount(t.el)}const Wi=function(e){Ui(this,e)};Wi.util=er,Wi.options={},Wi.version="3.25.16";const Hi="__uikit__",Vi={};function Yi(e,t){const n="qx-"+i(e);if(!t)return Vi[n].options||(Vi[n]=Wi.extend(Vi[n])),Vi[n];e=s(e),Wi[e]=(t,n)=>Ji(e,t,n);const r=t.options??{...t};return r.id=n,r.name=e,r.install?.(Wi,r,e),Wi._initialized&&!r.functional&&requestAnimationFrame(()=>Ji(e,`[${n}],[data-${n}]`)),Vi[n]=r}function Ji(e,t,n,...r){const i=Yi(e);return i.options.functional?new i({data:y(t)?t:[t,n,...r]}):t?Pt(t).map(o)[0]:o();function o(t){const r=Gi(t,e);if(r){if(!n)return r;r.$destroy()}return new i({el:t,data:n})}}function Xi(e){return e?.[Hi]||{}}function Gi(e,t){return Xi(e)[t]}function Zi(e,t){e=e?j(e):document.body;for(const n of Te(e).reverse())Ki(n,t);It(e,e=>Ki(e,t))}function Ki(e,t){const n=Xi(e);for(const e in n)pr(n[e],t)}let Qi=1;function eo(e,t=null){return t?.id||`${e.$options.id}-${Qi++}`}var to={mixins:[Ei,Ai,{i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:e},t)=>Pt(e,t),navChildren(){return this.nav.map(e=>Ce(e)).flat()},selNavItem:({attrItem:e})=>`[${e}],[data-${e}]`,navItems(e,t){return Pt(this.selNavItem,t)}},watch:{nav(e,t){re(e,"role","tablist"),this.padNavitems(),t&&this.$emit()},list(e){vt(e,"ul")&&re(e,"role","presentation")},navChildren(e){re(e,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(e){for(const t of e){const e=se(t,this.attrItem),n=qt("a,button",t)||t;let r,i=null;if(_(e)){const t=O(e),o=this.slides[t];o&&(o.id||(o.id=eo(this,o)),i=o.id),r=this.t("slideX",N(e)+1),n.role="tab"}else this.list&&(this.list.id||(this.list.id=eo(this,this.list)),i=this.list.id),r=this.t(e);n.ariaControls=i,n.ariaLabel=n.ariaLabel||r}},slides(e){e.forEach((e,t)=>re(e,{role:this.nav.length?"tabpanel":"group","aria-label":this.t("slideLabel",t+1,this.length),"aria-roledescription":this.nav.length?null:"slide"})),this.padNavitems()}},connected(){this.$el.role=this.role,this.$el.ariaRoleDescription="carousel"},update:[{write(){this.navItems.concat(this.nav).forEach(e=>e&&(e.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:e})=>e,filter:({parallax:e})=>!e,handler(e){!e.target.closest("a,button")||"click"!==e.type&&e.keyCode!==Rr||(zr(e),this.show(se(e.current,this.attrItem)))}},{name:"itemshow",handler(){this.updateNav()}},{name:"keydown",delegate:({selNavItem:e})=>e,filter:({parallax:e})=>!e,handler(e){const{current:t,keyCode:n}=e;if(!_(se(t,this.attrItem)))return;let r=n===Fr?0:n===Lr?"last":n===Ur?"previous":n===Hr?"next":-1;~r&&(e.preventDefault(),this.show(r))}}],methods:{updateNav(){const e=this.getValidIndex();for(const t of this.navItems){const n=se(t,this.attrItem),r=qt("a,button",t)||t;if(_(n)){const i=O(n)===e;te(t,this.clsActive,i),te(r,"qx-disabled",!!this.parallax),r.ariaSelected=i,r.tabIndex=i&&!this.parallax?null:-1,i&&r&&Ae(Se(t),":focus-within")&&r.focus()}else te(t,"qx-invisible",this.finite&&("previous"===n&&0===e||"next"===n&&e>=this.maxIndex))}},padNavitems(){for(const e of this.nav){const t=Ce(e),n=[];for(let e=0;e<this.length;e++){const r=`${this.attrItem}="${e}"`;n[e]=t.findLast(e=>e.matches(`[${r}]`))||qt(`<li ${r}><a href></a></li>`)}P(n,t)||xt(e,n)}}}},$i],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"qx-active",clsActivated:"",clsEnter:"qx-slide-enter",clsLeave:"qx-slide-leave",clsSlideActive:"qx-slide-active",Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){K(this.slides,this.clsActive)},computed:{duration:({velocity:e},t)=>no(t.offsetWidth/e),list:({selList:e},t)=>qt(e,t),maxIndex(){return this.length-1},slides(){return Ce(this.list)},length(){return this.slides.length}},watch:{slides(e,t){t&&this.$emit()}},events:{itemshow({target:e}){Z(e,this.clsEnter,this.clsSlideActive)},itemshown({target:e}){K(e,this.clsEnter)},itemhide({target:e}){Z(e,this.clsLeave)},itemhidden({target:e}){K(e,this.clsLeave,this.clsSlideActive)}},methods:{async show(e,t=!1){if(this.dragging||!this.length||this.parallax)return;const{stack:n}=this,r=t?0:n.length,i=()=>{n.splice(r,1),n.length&&this.show(n.shift(),!0)};if(n[t?"unshift":"push"](e),!t&&n.length>1)return void(2===n.length&&this._transitioner?.forward(Math.min(this.duration,200)));const o=this.getIndex(this.index),s=ee(this.slides,this.clsActive)&&this.slides[o],a=this.getIndex(e,this.index),l=this.slides[a];if(s!==l){if(this.dir=function(e,t){return"next"===e?1:"previous"===e||e<t?-1:1}(e,o),this.prevIndex=o,this.index=a,s&&!Ge(s,"beforeitemhide",[this])||!Ge(l,"beforeitemshow",[this,s])
2)return this.index=this.prevIndex,void i();s&&Ge(s,"itemhide",[this]),Ge(l,"itemshow",[this]),await this._show(s,l,t),s&&Ge(s,"itemhidden",[this]),Ge(l,"itemshown",[this]),n.shift(),this._transitioner=null,await Er(),n.length&&this.show(n.shift(),!0)}else i()},getIndex(e=this.index,t=this.index){return F(X(e,this.slides,t,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(e=this.index,t=this.prevIndex){return this.getIndex(e,t)},async _show(e,t,n){if(this._transitioner=this._getTransitioner(e,t,this.dir,{easing:n?t.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!n&&!e)return void this._translate(1);const{length:r}=this.stack;return this._transitioner[r>1?"forward":"show"](r>1?Math.min(this.duration,75+75/(r-1)):this.duration,this.percent)},_translate(e,t=this.prevIndex,n=this.index){const r=this._getTransitioner(t!==n&&t,n);return r.translate(e),r},_getTransitioner(e=this.prevIndex,t=this.index,n=this.dir||1,r=this.transitionOptions){return new this.Transitioner(S(e)?this.slides[e]:e,S(t)?this.slides[t]:t,n*(le?-1:1),r)}}};function no(e){return.5*e+300}var ro={mixins:[to],props:{animation:String},data:{animation:"slide",clsActivated:"qx-transition-active",Animations:vi,Transitioner:function(e,t,n,{animation:r,easing:i}){const{percent:o,translate:s,show:a=U}=r,l=a(n),{promise:c,resolve:u}=ki();return{dir:n,show(r,o=0,s){const a=s?"linear":i;return r-=Math.round(r*F(o,-1,1)),this.translate(o),wi(t,"itemin",{percent:o,duration:r,timing:a,dir:n}),wi(e,"itemout",{percent:1-o,duration:r,timing:a,dir:n}),Promise.all([pt.start(t,l[1],r,a),pt.start(e,l[0],r,a)]).then(()=>{this.reset(),u()},U),c},cancel:()=>pt.cancel([t,e]),reset(){st([t,e],l[0])},async forward(e,t=this.percent()){return await this.cancel(),this.show(e,t,!0)},translate(r){this.reset();const i=s(r,n);ot(t,i[1]),ot(e,i[0]),wi(t,"itemtranslatein",{percent:r,dir:n}),wi(e,"itemtranslateout",{percent:1-r,dir:n})},percent:()=>o(e||t,t,n),getDistance:()=>e?.offsetWidth}}},computed:{animation:({animation:e,Animations:t})=>({...t[e]||t.slide,name:e}),transitionOptions(){return{animation:this.animation}}},observe:dr(),events:{itemshow({target:e}){Z(e,this.clsActive)},itemshown({target:e}){Z(e,this.clsActivated)},itemhidden({target:e}){K(e,this.clsActive,this.clsActivated)}}},io={...vi,fade:{show:()=>[{opacity:0,zIndex:0},{zIndex:-1}],percent:e=>1-ot(e,"opacity"),translate:e=>[{opacity:1-e,zIndex:0},{zIndex:-1}]},scale:{show:()=>[{opacity:0,transform:oo(1.5),zIndex:0},{zIndex:-1}],percent:e=>1-ot(e,"opacity"),translate:e=>[{opacity:1-e,transform:oo(1+.5*e),zIndex:0},{zIndex:-1}]},pull:{show:e=>e<0?[{transform:xi(30),zIndex:-1},{transform:xi(),zIndex:0}]:[{transform:xi(-100),zIndex:0},{transform:xi(),zIndex:-1}],percent:(e,t,n)=>n<0?1-bi(t):bi(e),translate:(e,t)=>
2t<0?[{transform:xi(30*e),zIndex:-1},{transform:xi(-100*(1-e)),zIndex:0}]:[{transform:xi(100*-e),zIndex:0},{transform:xi(30*(1-e)),zIndex:-1}]},push:{show:e=>e<0?[{transform:xi(100),zIndex:0},{transform:xi(),zIndex:-1}]:[{transform:xi(-30),zIndex:-1},{transform:xi(),zIndex:0}],percent:(e,t,n)=>n>0?1-bi(t):bi(e),translate:(e,t)=>t<0?[{transform:xi(100*e),zIndex:0},{transform:xi(-30*(1-e)),zIndex:-1}]:[{transform:xi(-30*e),zIndex:-1},{transform:xi(100*(1-e)),zIndex:0}]}};function oo(e){return`scale3d(${e}, ${e}, 1)`}var so={...vi,fade:{show:()=>[{opacity:0},{opacity:1}],percent:e=>1-ot(e,"opacity"),translate:e=>[{opacity:1-e},{opacity:e}]},scale:{show:()=>[{opacity:0,transform:oo(.8)},{opacity:1,transform:oo(1)}],percent:e=>1-ot(e,"opacity"),translate:e=>[{opacity:1-e,transform:oo(1-.2*e)},{opacity:e,transform:oo(.8+.2*e)}]}},ao={i18n:{counter:"%s / %s"},mixins:[pi,ro],functional:!0,props:{counter:Boolean,preload:Number,nav:Boolean,slidenav:Boolean,delayControls:Number,videoAutoplay:Boolean,template:String},data:()=>({counter:!1,preload:1,nav:!1,slidenav:!0,delayControls:3e3,videoAutoplay:!1,items:[],cls:"qx-open",clsPage:"qx-lightbox-page",clsFit:"qx-lightbox-items-fit",clsZoom:"qx-lightbox-zoom",attrItem:"qx-lightbox-item",selList:".qx-lightbox-items",selClose:".qx-close-large",selNav:".qx-lightbox-thumbnav, .qx-lightbox-dotnav",selCaption:".qx-lightbox-caption",selCounter:".qx-lightbox-counter",pauseOnHover:!1,velocity:2,Animations:so,template:'<div class="qx-lightbox qx-overflow-hidden">  <div class="qx-lightbox-items"></div>  <div class="qx-position-top-right qx-position-small qx-transition-fade" qx-inverse>  <button class="qx-lightbox-close qx-close-large" type="button" qx-close></button>  </div>  <div class="qx-lightbox-slidenav qx-position-center-left qx-position-medium qx-transition-fade" qx-inverse>  <a href qx-slidenav-previous qx-lightbox-item="previous"></a>  </div>  <div class="qx-lightbox-slidenav qx-position-center-right qx-position-medium qx-transition-fade" qx-inverse>  <a href qx-slidenav-next qx-lightbox-item="next"></a>  </div>  <div class="qx-position-center-right qx-position-medium qx-transition-fade" qx-inverse style="max-height: 90vh; overflow: auto;">  <ul class="qx-lightbox-thumbnav qx-lightbox-thumbnav-vertical qx-thumbnav qx-thumbnav-vertical"></ul>  <ul class="qx-lightbox-dotnav qx-dotnav qx-dotnav-vertical"></ul>  </div>  <div class="qx-lightbox-counter qx-text-large qx-position-top-left qx-position-small qx-transition-fade" qx-inverse></div>  <div class="qx-lightbox-caption qx-position-bottom qx-text-center qx-transition-sli
2de-bottom qx-transition-opaque"></div>  </div>'}),created(){let e=qt(this.template);vt(e,"template")&&(e=Nt(xt(e)));const t=qt(this.selList,e),n=this.$props.nav;_t(Pt(this.selNav,e).filter(e=>!Ae(e,`.qx-${n}`)));for(const[r,i]of this.items.entries())kt(t,"<div>"),"thumbnav"===n&&At(co(i,this.videoAutoplay),kt(qt(this.selNav,e),`<li qx-lightbox-item="${r}"><a href></a></li>`));this.slidenav||_t(Pt(".qx-lightbox-slidenav",e)),this.counter||_t(qt(this.selCounter,e)),Z(t,this.clsFit);const r=qt("[qx-close]",e),i=this.t("close");r&&i&&(r.dataset.i18n=JSON.stringify({label:i})),this.$mount(kt(this.container,e))},events:[{name:"click",self:!0,filter:({bgClose:e})=>e,delegate:({selList:e})=>`${e} > *`,handler(e){e.defaultPrevented||this.hide()}},{name:"click",self:!0,delegate:({clsZoom:e})=>`.${e}`,handler(e){e.defaultPrevented||te(this.list,this.clsFit)}},{name:`${pe} ${he} keydown`,filter:({delayControls:e})=>e,handler(){this.showControls()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),K(this.slides,this.clsActive),pt.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler({keyCode:e}){if(!this.isToggled()||!this.draggable)return;let t=-1;e===Ur?t="previous":e===Hr?t="next":e===Fr?t=0:e===Lr&&(t="last"),~t&&this.show(t)}},{name:"beforeitemshow",handler(e){xt(qt(this.selCaption,this.$el),this.getItem().caption||""),xt(qt(this.selCounter,this.$el),this.t("counter",this.index+1,this.slides.length));for(let e=-this.preload;e<=this.preload;e++)this.loadItem(this.index+e);this.isToggled()||(this.draggable=!1,e.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=so.scale,K(e.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(e,t){const{source:n,type:r,attrs:i={}}=t;if(this.setItem(t,"<span qx-spinner qx-inverse></span>"),!n)return;let o;const s={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","qx-responsive":"","qx-video":Boolean(this.videoAutoplay)};if("image"===r||uo(n)){const e=lo("img");ni(e,t.sources),re(e,{src:n,...L(t,["alt","srcset","sizes"]),...i}),Ye(e,"load",()=>this.setItem(t,Se(e)||e)),Ye(e,"error",()=>this.setError(t))}else if("video"===r||ho(n)){const e="inline"===this.videoAutoplay,r=lo("video",{src:n,playsinline:"",controls:e?null:"",loop:e?"":null,muted:e?"":null,poster:this.videoAutoplay?null:t.poster,"qx-video":Boolean(this.videoAutoplay),...i});Ye(r,"loadedmetadata",()=>this.setItem(t,r)),Ye(r,"error",()=>this.setError(t))}else if("iframe"===r||n.match(/\.(html|php)($|\?)/i))this.setItem(t,lo("iframe",{src:n,allowfullscreen:"",class:"qx-lightbox-iframe",...i}));else if(o=n.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(t,lo("iframe",{src:`https://www.youtube${o[1]||""}.com/embed/${o[2]}${o[3]?`?${o[3]}`:""}`,width:1920,height:1080,...s,...i}));else if(o=n.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:e,width:r}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(n)}`,{credentials:"omit"})).json();this.setItem(t,lo("iframe",{src:`https://player.vimeo.com/video/${o[1]}${o[2]?`?${o[2]}`:""}`,width:r,height:e,...s,...i}))}catch{this.setError(t)}}},{name:"itemloaded",handler(){this.$emit("resize")}}],update:{read(){for(const e of Pt(`${this.selList} :not([controls]):is(img,video)`,this.$el))te(e,this.clsZoom,(e.naturalHeight||e.videoHeight)-this.$el.offsetHeight>Math.max(0,(e.naturalWidth||e.videoWidth)-this.$el.offsetWidth))},events:["resize"]},methods:{loadItem(e=this.index){const t=this.getItem(e);this.getSlide(t).childElementCount||Ge(this.$el,"itemload",[t])},getItem(e=this.index){return this.items[X(e,this.slides)]},setItem(e,t){Ge(this.$el,"itemloaded",[this,xt(this.getSlide(e),t)])},getSlide(e){return this.slides[this.items.indexOf(e)]},setError(e){this.setItem(e,'<span qx-icon="icon: bolt; ratio: 2" qx-inverse></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=this.delayControls&&setTimeout(this.hideControls,this.delayControls),Z(this.$el,"qx-active","qx-transition-active")},hideControls(){K(this.$el,"qx-active","qx-transition-active")}}};function lo(e,t){const n=Nt(`<${e}>`);return re(n,t),n}function co(e,t){const n=e.poster||e.thumb&&("image"===e.type||uo(e.thumb))?lo("img",{src:e.poster||e.thumb,alt:""}):e.thumb&&("video"===e.type||ho(e.thumb))?lo("video",{src:e.thumb,loop:"",playsinline:"",muted:"","qx-video":"inline"===t}):lo("canvas");return e.thumbRatio&&(n.style.aspectRatio=e.thumbRatio),n}function uo(e){return e?.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)}function ho(e){return e?.match(/\.(mp4|webm|ogv)($|\?)/i)}var po={install:function(e,t){e.lightboxPanel||e.component("lightboxPanel",ao),f(t.props,e.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:({toggle:e},t)=>Pt(e,t)},watch:{toggles(e){this.hide();for(const t of e)vt(t,"a")&&(t.role="button")}},disconnected(){this.hide()},events:{name:"click",delegate:({toggle:e})=>e,handler(e){e.defaultPrevented||(e.preventDefault(),Ae(e.current,".qx-disabled *, .qx-disabled, [disabled]")||this.show(e.current))}},methods:{show(e){let t=this.toggles.map(go);
2if("thumbnav"===this.nav&&fo.call(this,this.toggles,t),t=R(t,"source"),w(e)){const{source:n}=go(e);e=h(t,({source:e})=>n===e)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:t}),Ye(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(e)},hide(){return this.panel?.hide()}}};function fo(e,t){for(const[n,r]of Object.entries(e)){if(t[n].thumb)continue;const e=Te(r).reverse().concat(r).find(e=>this.$el.contains(e)&&(e===r||1===Pt(this.toggle,e).length));if(!e)continue;const i=qt("img,video",e);i&&(t[n].thumb=i.currentSrc||i.poster||i.src,t[n].thumbRatio=(i.naturalWidth||i.videoWidth)/(i.naturalHeight||i.videoHeight))}}function go(e){const t={};for(const n of e.getAttributeNames()){const r=n.replace(/^data-/,"");t["href"===r?"source":r]=e.getAttribute(n)}return t.attrs=cr(t.attrs),t}var mo={mixins:[si],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"qx-notification",clsClose:"qx-notification-close",clsMsg:"qx-notification-message"},install:function(e){e.notification.closeAll=function(t,n){It(document.body,r=>{const i=e.getComponent(r,"notification");!i||t&&t!==i.group||i.close(n)})}},computed:{marginProp:({pos:e})=>`margin-${e.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const e=`${this.clsContainer}-${this.pos}`,t=`data-${this.clsContainer}-container`,n=qt(`.${e}[${t}]`,this.container)||kt(this.container,`<div class="${this.clsContainer} ${e}" ${t}></div>`);this.$mount(kt(n,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert">  <a href class="${this.clsClose}" data-qx-close></a>  <div>${this.message}</div>  </div>`))},async connected(){const e=N(ot(this.$el,this.marginProp));await pt.start(ot(this.$el,this.startProps),{opacity:1,[this.marginProp]:e}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(e){zr(e),this.close()},[fe](){this.timer&&clearTimeout(this.timer)},[ge](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(e){this.timer&&clearTimeout(this.timer),e||await pt.start(this.$el,this.startProps),(e=>{const t=Se(e);Ge(e,"close",[this]),_t(e),t?.hasChildNodes()||_t(t)})(this.$el)}}};var yo={props:{media:Boolean},data:{media:!1},connected(){const e=function(e,t){if(E(e))if(l(e,"@"))e=N(ot(t,`--qx-breakpoint-${e.slice(1)}`));else if(isNaN(e))return e;return e&&_(e)?`(min-width: ${e}px)`:""}(this.media,this.$el);if(this.matchMedia=!0,e){this.mediaObj=window.matchMedia(e);const t=()=>{this.matchMedia=this.mediaObj.matches,Ge(this.$el,Ze("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=Ye(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){this.offMediaObj?.()}};function vo(e){return xe(e)?Math.ceil(Math.max(0,...Pt("[stroke]",e).map(e=>e.getTotalLength?.()||0))):0}const bo={x:ko,y:ko,rotate:ko,scale:ko,color:$o,backgroundColor:$o,borderColor:$o,blur:Eo,hue:Eo,fopacity:Eo,grayscale:Eo,invert:Eo,saturate:Eo,sepia:Eo,opacity:function(e,t,n){return 1===n.length&&n.unshift(zo(t,e,"")),n=No(n),(t,r)=>{t[e]=Io(n,r)}},stroke:function(e,t,n){1===n.length&&n.unshift(0);const r=Po(n),i=vo(t);return n=No(n.reverse(),e=>(e=N(e),"%"===r?e*i/100:e)),n.some(([e])=>e)?(ot(t,"strokeDasharray",i),(e,t)=>{e.strokeDashoffset=Io(n,t)}):U},bgx:So,bgy:So},{keys:xo}=Object;var wo={mixins:[yo],props:Mo(xo(bo),"list"),data:Mo(xo(bo),void 0),computed:{props(e,t){const n={};for(const t in e)t in bo&&!T(e[t])&&(n[t]=e[t].slice());const r={};for(const e in n)r[e]=bo[e](e,t,n[e],n);return r}},events:{load(){this.$emit()}},methods:{reset(){st(this.$el,this.getCss(0))},getCss(e){const t={};for(const n in this.props)this.props[n](t,F(e));return t.willChange=Object.keys(t).map(at).join(","),t}}};function ko(e,t,n){let r,i=Po(n)||{x:"px",y:"px",rotate:"deg"}[e]||"";return"x"===e||"y"===e?(e=`translate${a(e)}`,r=e=>N(N(e).toFixed("px"===i?0:6))):"scale"===e&&(i="",r=e=>Po([e])?Yt(e,"width",t,!0)/t["offset"+(e.endsWith?.("vh")?"Height":"Width")]:N(e)),1===n.length&&n.unshift("scale"===e?1:0),n=No(n,r),(t,r)=>{t.transform=`${t.transform||""} ${e}(${Io(n,r)}${i})`}}function $o(e,t,n){return 1===n.length&&n.unshift(zo(t,e,"")),n=No(n,e=>function(e,t){return zo(e,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(N)}(t,e)),(t,r)=>{const[i,o,s]=jo(n,r),a=i.map((e,t)=>(e+=s*(o[t]-e),3===t?N(e):parseInt(e,10))).join(",");t[e]=`rgba(${a})`}}function Eo(e,t,n){1===n.length&&n.unshift(0);const r=Po(n)||{blur:"px",hue:"deg"}[e]||"%";return e={fopacity:"opacity",hue:"hue-rotate"}[e]||e,n=No(n),(t,i)=>{const o=Io(n,i);t.filter=`${t.filter||""} ${e}(${o+r})`}}function So(e,t,n,r){1===n.length&&n.unshift(0);const i="bgy"===e?"height":"width";r[e]=No(n,e=>Yt(e,i,t));const o=["bgx","bgy"].filter(e=>e in r);
2if(2===o.length&&"bgx"===e)return U;if("cover"===zo(t,"backgroundSize",""))return function(e,t,n,r){const i=function(e){const t=ot(e,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Co[t])return Co[t];const n=new Image;return!t||(n.src=t,n.naturalWidth||To[t])?Co[t]=Oo(n):(Xe(n,"error load",()=>{Co[t]=Oo(n),Ge(e,Ze("load",!1))}),To[t]=!0,Oo(n))}(t);if(!i.width)return U;const o={width:t.offsetWidth,height:t.offsetHeight},s=["bgx","bgy"].filter(e=>e in r),a={};for(const e of s){const t=r[e].map(([e])=>e),n=Math.min(...t),i=Math.max(...t),s=t.indexOf(n)<t.indexOf(i),l=i-n;a[e]=(s?-l:0)-(s?n:i)+"px",o["bgy"===e?"height":"width"]+=l}const l=J.cover(i,o);for(const e of s){const n="bgy"===e?"height":"width",r=l[n]-o[n];a[e]=`max(${_o(t,e)},-${r}px) + ${a[e]}`}const c=Ao(s,a,r);return(e,t)=>{c(e,t),e.backgroundSize=`${l.width}px ${l.height}px`,e.backgroundRepeat="no-repeat"}}(0,t,0,r);const s={};for(const e of o)s[e]=_o(t,e);return Ao(o,s,r)}function _o(e,t){return zo(e,`background-position-${t.slice(-1)}`,"")}function Ao(e,t,n){return function(r,i){for(const o of e){const e=Io(n[o],i);r[`background-position-${o.slice(-1)}`]=`calc(${t[o]} + ${e}px)`}}}const To={},Co={};function Oo(e){return{width:e.naturalWidth,height:e.naturalHeight}}function No(e,t=N){const n=[],{length:r}=e;let i=0;for(let o=0;o<r;o++){let[s,a]=E(e[o])?e[o].trim().split(/ (?![^(]*\))/):[e[o]];if(s=t(s),a=a?N(a)/100:null,0===o?null===a?a=0:a&&n.push([s,0]):o===r-1&&(null===a?a=1:1!==a&&(n.push([s,a]),a=1)),n.push([s,a]),null===a)i++;else if(i){const e=n[o-i-1][1],t=(a-e)/(i+1);for(let r=i;r>0;r--)n[o-r][1]=e+t*(i-r+1);i=0}}return n}function jo(e,t){const n=h(e.slice(1),([,e])=>t<=e)+1;return[e[n-1][0],e[n][0],(t-e[n-1][1])/(e[n][1]-e[n-1][1])]}function Io(e,t){const[n,r,i]=jo(e,t);return n+(r-n)*i}const qo=/^-?\d+(?:\.\d+)?(\S+)?/;function Po(e,t){for(const t of e){const e=t.match?.(qo);if(e)return e[1]}return t}function zo(e,t,n){const r=e.style[t],i=ot(ot(e,t,n),t);return e.style[t]=r,i}function Mo(e,t){return e.reduce((e,n)=>(e[n]=t,e),{})}function Do(e,t){return t>=0?Math.pow(e,t+1):1-Math.pow(1-e,1-t)}var Bo={mixins:[wo],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:e},t)=>Ro(e&&Ie(e,t)||t),start({start:e}){return Yt(e,"height",this.target,!0)},end({end:e,viewport:t}){return Yt(e||(t=100*(1-t))&&`${t}vh+${t}%`,"height",this.target,!0)}},observe:[yr(),vr({target:({target:e})=>e}),dr({target:({$el:e,target:t})=>[e,t,Nn(t,!0)]})],update:{read({percent:e},t){if(t.has("scroll")||(e=!1),!xe(this.$el))return!1;if(!this.matchMedia)return;const n=e;return{percent:e=Do(Cn(this.target,this.start,this.end),this.easing),style:n!==e&&this.getCss(e)}},write({style:e}){this.matchMedia?e&&ot(this.$el,e):this.reset()},events:["scroll","resize"]}};function Ro(e){return e?"offsetTop"in e?e:Ro(Se(e)):document.documentElement}var Lo={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[dr({target:({$el:e,parallaxTarget:t})=>[e,t],filter:({parallax:e})=>e}),vr({filter:({parallax:e})=>e})],computed:{parallaxTarget({parallaxTarget:e},t){return e&&Ie(e,t)||this.list}},update:{read(){if(!this.parallax)return!1;const e=this.parallaxTarget;if(!e)return!1;const t=Do(Cn(e,Yt(this.parallaxStart,"height",e,!0),Yt(this.parallaxEnd,"height",e,!0)),this.parallaxEasing);return{parallax:this.getIndexAt(t)}},write({parallax:e}){const[t,n]=e,r=this.getValidIndex(t+Math.ceil(n)),i=this.slides[t],o=this.slides[r],{triggerShow:s,triggerShown:a,triggerHide:l,triggerHidden:c}=function(e){const{clsSlideActive:t,clsEnter:n,clsLeave:r}=e;return{triggerShow:i,triggerShown:o,triggerHide:s,triggerHidden:a};function i(n){ee(n,r)&&(s(n),a(n)),ee(n,t)||(Ge(n,"beforeitemshow",[e]),Ge(n,"itemshow",[e]))}function o(t){ee(t,n)&&Ge(t,"itemshown",[e])}function s(s){ee(s,t)||i(s),ee(s,n)&&o(s),ee(s,r)||(Ge(s,"beforeitemhide",[e]),Ge(s,"itemhide",[e]))}function a(t){ee(t,r)&&Ge(t,"itemhidden",[e])}}(this);if(~this.prevIndex)for(const e of new Set([this.index,this.prevIndex]))u([r,t],e)||(l(this.slides[e]),c(this.slides[e]));const h=this.prevIndex!==t||this.index!==r;this.dir=1,this.prevIndex=t,this.index=r,i!==o&&l(i),s(o),h&&a(i),this._translate(i===o?1:n,i,o)},events:["scroll","resize"]},methods:{getIndexAt(e){const t=e*(this.length-1);return[Math.floor(t),t%1]}}};var Fo={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const e=this.getValidIndex();~this.prevIndex&&this.index===e?this._translate(1):this.show(e)},events:["resize"]}},Uo={observe:mr({target:({slides:e})=>e,targets:e=>e.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(e=>this.slides[this.getIndex(this.index+e)])}}};function Wo(e,t,n){const r=Yo(e,t);return n?r-function(e,t){return(Dt(t).width-Dt(e).width)/2}(e,t):Math.min(r,Ho(t))}function Ho(e){return Math.max(0,Vo(e)-Dt(e).width)}function Vo(e,t){return B(Ce(e).slice(0,t),e=>Dt(e).width)}function Yo(e,t){return e&&(Rt(e).left+(le?Dt(e).width-Dt(t).width:0))*(le?-1:1)||0}function Jo(e,t){t-=1;const n=Dt(e).width,r=t+n+2;return Ce(e).filter(i=>{const o=Yo(i,e),s=o+Math.min(Dt(i).width,n);return o>=t&&s<=r})}var Xo={mixins:[tr,to,Fo,Lo,Uo],props:{center:Boolean,sets:Boolean,active:String},data:{center:!1,sets:!1,attrItem:"qx-slider-item",selList:".qx-slider-items",selNav:".qx-slider-nav",clsContainer:"qx-slider-container",active:"all",Transitioner:function(e,t,n,{center:r,easing:i,list:o}){const s=e?Wo(e,o,r):Wo(t,o,r)+Dt(t).width*n,a=t?Wo(t,o,r):s+Dt(e).width*n*(le?-1:1),{promise:l,resolve:c}=ki();return{dir:n,show(t,r=0,s){const u=s?"linear":i;return t-=Math.round(t*F(r,-1,1)),ot(o,"transitionProperty","none"),this.translate(r),ot(o,"transitionProperty",""),r=e?r:F(r,0,1),wi(this.getItemIn(),"itemin",{percent:r,duration:t,timing:u,dir:n}),e&&wi(this.getItemIn(!0),"itemout",{percent:1-r,duration:t,timing:u,dir:n}),pt.start(o,{transform:xi(-a*(le?-1:1),"px")},t,u).then(c,U),l},cancel:()=>pt.cancel(o),reset(){ot(o,"transform","")},async forward(e,t=this.percent()){return await this.cancel(),this.show(e,t,!0)},translate(r){if(r===this.percent())return;const i=this.getDistance()*n*(le?-1:1);ot(o,"transform",xi(F(i-i*r-a,-Vo(o),Dt(o).width)*(le?-1:1),"px"));const s=this.getActives(),l=this.getItemIn(),c=this.getItemIn(!0);r=e?F(r,-1,1):0;for(const i of Ce(o)){const a=u(s,i),h=i===l,p=i===c;wi(i,"itemtranslate"+(h||!p&&(a||n*(le?-1:1)==-1^Yo(i,o)>Yo(e||t))?"in":"out"),{dir:n,percent:p?1-r:h?r:a?1:0})}},percent:()=>Math.abs((new DOMMatrix(ot(o,"transform")).m41*(le?-1:1)+s)/(a-s)),getDistance:()=>Math.abs(a-s),getItemIn(n=!1){let i=this.getActives(),s=Jo(o,Wo(t||e,o,r));if(n){const e=i;i=s,s=e}return s[h(s,e=>!u(i,e))]},getActives:()=>Jo(o,Wo(e||t,o,r))}}},computed:{finite({finite:e}){return e||function(e,t){if(!e||e.length<2)return!0;const{width:n}=Dt(e);
2if(!t)return Math.ceil(Vo(e))<Math.trunc(n+function(e){return Math.max(0,...Ce(e).map(e=>Dt(e).width))}(e));const r=Ce(e),i=Math.trunc(n/2);for(const e in r){const t=r[e],n=Dt(t).width,o=new Set([t]);let s=0;for(const t of[-1,1]){let a=n/2,l=0;for(;a<i;){const n=r[X(+e+t+l++*t,r)];if(o.has(n))return!0;a+=Dt(n).width,o.add(n)}s=Math.max(s,(n+Dt(r[X(+e+t,r)]).width)/2-(a-i))}if(Math.trunc(s)>B(r.filter(e=>!o.has(e)),e=>Dt(e).width))return!0}return!1}(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return M(this.sets);let e=0;const t=Ho(this.list),n=h(this.slides,n=>{if(e>=t-.005)return!0;e+=Dt(n).width});return~n?n:this.length-1},sets({sets:e}){if(!e||this.parallax)return;let t=0;const n=[],r=Dt(this.list).width;for(let e=0;e<this.length;e++){const i=Dt(this.slides[e]).width;t+i>r&&(t=0),this.center?t<r/2&&t+i+Dt(this.slides[X(e+1,this.slides)]).width/2>r/2&&(n.push(e),t=(r-i)/2):0===t&&n.push(Math.min(e,this.maxIndex)),t+=i}return n.length?n:void 0},transitionOptions(){return{center:this.center,list:this.list}},slides(){return Ce(this.list).filter(xe)}},connected(){te(this.$el,this.clsContainer,!qt(`.${this.clsContainer}`,this.$el))},observe:[dr({target:({slides:e,$el:t})=>[t,...e]}),fr({handler(e){for(const{target:t,isIntersecting:n}of e)t.ariaHidden=t.inert=!n},target:({slides:e})=>e,args:{intersecting:!1},options:({$el:e})=>({root:e,rootMargin:"0px -10px"})})],update:{write(){for(const e of this.navItems){const t=O(se(e,this.attrItem));!1!==t&&(e.hidden=!this.maxIndex||t>this.maxIndex||this.sets&&!u(this.sets,t))}this.reorder(),this.parallax||this._translate(1),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(e){!this.dragging&&this.sets&&this.stack.length<2&&!u(this.sets,this.index)&&(this.index=this.getValidIndex());const t=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&t>1){for(let e=0;e<t;e++)this.stack.splice(1,0,this.dir>0?"next":"previous");return void e.preventDefault()}const n=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,r=Vo(this.list)/this.length;this.duration=no(r/this.velocity)*(Dt(this.slides[n]).width/r),this.reorder()},itemshow(){~this.prevIndex&&Z(this._getTransitioner().getItemIn(),this.clsActive),this.updateActiveClasses(this.prevIndex)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite)return void ot(this.slides,"order","");const e=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((t,n)=>ot(t,"order",this.dir>0&&n<e?1:this.dir<0&&n>=this.index?-1:"")),!this.center||!this.length)return;const t=this.slides[e];let n=(Dt(this.list).width-Dt(t).width)/2,r=0;for(;n>0;){const t=this.getIndex(--r+e,e),i=this.slides[t];ot(i,"order",t>e?-2:-1),n-=Dt(i).width}}
2,updateActiveClasses(e=this.index){let t=this._getTransitioner(e).getActives();"all"!==this.active&&(t=[this.slides[this.getValidIndex(e)]]);const n=[this.clsActive,!this.sets||u(this.sets,N(this.index))?this.clsActivated:""];for(const e of this.slides)te(e,n,u(t,e))},getValidIndex(e=this.index,t=this.prevIndex){if(e=this.getIndex(e,t),!this.sets)return e;let n;do{if(u(this.sets,e))return e;n=e,e=this.getIndex(e+this.dir,t)}while(e!==n);return e},getAdjacentSlides(){const{width:e}=Dt(this.list),t=-e,n=2*e,r=Dt(this.slides[this.index]).width,i=this.center?(e-r)/2:0,o=new Set;for(const e of[-1,1]){let s=i+(e>0?r:0),a=0;do{const t=this.slides[this.getIndex(this.index+e+a++*e)];s+=Dt(t).width*e,o.add(t)}while(this.length>a&&s>t&&s<n)}return Array.from(o)},getIndexAt(e){let t,n=-1,r=e*(this.center?Vo(this.list)-(Dt(this.slides[0]).width+Dt(M(this.slides)).width)/2:Vo(this.list,this.maxIndex));do{const e=Dt(this.slides[++n]).width,i=this.center?(e+Dt(this.slides[n+1]).width)/2:e;t=r/i%1,r-=i}while(r>=0&&n<this.maxIndex);return[n,t]}}};var Go={mixins:[wo],beforeConnect(){this.item=this.$el.closest(`.${this.$options.id.replace("parallax","items")} > *`)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el:({item:e})=>e,handler({type:e,detail:{percent:t,duration:n,timing:r,dir:i}}){en.read(()=>{if(!this.matchMedia)return;const o=this.getCss(Ko(e,i,t)),s=this.getCss(Zo(e)?.5:i>0?1:0);en.write(()=>{ot(this.$el,o),pt.start(this.$el,s,n,r).catch(U)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:e})=>e,handler(){pt.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:e})=>e,handler({type:e,detail:{percent:t,dir:n}}){en.read(()=>{if(!this.matchMedia)return void this.reset();const r=this.getCss(Ko(e,n,t));en.write(()=>ot(this.$el,r))})}}]};function Zo(e){return c(e,"in")}function Ko(e,t,n){return n/=2,Zo(e)^t<0?n:1-n}var Qo={mixins:[tr,ro,Fo,Lo,Uo],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".qx-slideshow-items",attrItem:"qx-slideshow-item",selNav:".qx-slideshow-nav",Animations:io},watch:{list(e){ot(e,{aspectRatio:this.ratio?this.ratio.replace(":","/"):void 0,minHeight:this.minHeight,maxHeight:this.maxHeight,width:"100%"})}},methods:{getAdjacentSlides(){return[1,-1].map(e=>this.slides[this.getIndex(this.index+e)])}}},es={mixins:[tr,Pr],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:{}},events:{name:he,passive:!1,handler(e){this.init(e)}},computed:{target:(e,t)=>(t.tBodies||[t])[0],items(){return Ce(this.target)},isEmpty(){return!this.items.length},handles({handle:e},t){return e?Pt(e,t):this.items}},watch:{isEmpty(e){te(this.target,this.clsEmpty,e)},handles(e,t){const n={touchAction:"none",userSelect:"none"};st(t,n),ot(e,n)}},update:{write(e){if(!this.drag||!Se(this.placeholder))return;const{pos:{x:t,y:n},origin:{offsetTop:r,offsetLeft:i},placeholder:o}=this;ot(this.drag,{top:n-r,left:t-i});const s=this.getSortable(document.elementFromPoint(t,n));if(!s)return;const{items:a}=s;if(a.some(pt.inProgress))return;const l=function(e,t){return e[h(e,e=>H(t,Dt(e)))]}(a,{x:t,y:n});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),u=function(e,t,n,r,i){if(!Ce(e).length)return;const o=Dt(t);if(!i)return function(e,t){const n=1===Ce(e).length;n&&kt(e,t);const r=Ce(e),i=r.some((e,t)=>{const n=Dt(e);return r.slice(t+1).some(e=>{const t=Dt(e);return!ns([n.left,n.right],[t.left,t.right])})});return n&&_t(t),i}(e,n)||r.y<o.top+o.height/2?t:t.nextElementSibling;const s=Dt(n),a=ns([o.top,o.bottom],[s.top,s.bottom]),[l,c,u,h]=a?[r.x,"width","left","right"]:[r.y,"height","top","bottom"],p=s[c]<o[c]?o[c]-s[c]:0;return s[u]<o[u]?!(p&&l<o[u]+p)&&t.nextElementSibling:!(p&&l>o[h]-p)&&t}(s.target,l,o,{x:t,y:n},s===c&&e.moved!==l);!1!==u&&(u&&o===u||(s!==c?(c.remove(o),e.moved=l):delete e.moved,s.insert(o,u),this.touched.add(s)))},events:["move"]},methods:{init(e){const{target:t,button:n,defaultPrevented:r}=e,[i]=this.items.filter(e=>e.contains(t));!i||r||n>0||ke(t)||t.closest(`.${this.clsNoDrag}`)||this.handle&&!t.closest(this.handle)||(e.preventDefault(),this.pos=rt(e),this.touched=new Set([this]),this.placeholder=i,this.origin={target:t,index:Oe(i),...this.pos},Ye(document,pe,this.move),Ye(document,de,this.end),this.threshold||this.start(e))},start(e){this.drag=function(e,t){let n;if(vt(t,"li","tr")){n=qt("<div>"),kt(n,t.cloneNode(!0).children);for(const e of t.getAttributeNames())re(n,e,t.getAttribute(e))}else n=t.cloneNode(!0);return kt(e,n),ot(n,"margin","0","important"),ot(n,{boxSizing:"border-box",width:t.offsetWidth,height:t.offsetHeight,padding:ot(t,"padding")}),Ft(n.firstElementChild,Ft(t.firstElementChild)),n}(this.$container,this.placeholder);const{left:t,top:n}=Dt(this.placeholder);f(this.origin,{offsetLeft:this.pos.x-t,offsetTop:this.pos.y-n}),Z(this.drag,this.clsDrag,this.clsCustom),Z(this.placeholder,this.clsPlaceholder),Z(this.items,this.clsItem),Z(document.documentElement,this.clsDragState),Ge(this.$el,"start",[this,this.placeholder]),function(e){let t=Date.now();ts=setInterval(()=>{let{x:n,y:r}=e;r+=document.scrollingElement.scrollTop;const i=.3*(Date.now()-t);t=Date.now(),On(document.elementFromPoint(n,e.y)).reverse().some(e=>{let{scrollTop:t,scrollHeight:n}=e;const{top:o,bottom:s,height:a}=In(e);if(o<r&&o+35>r)t-=i;else{if(!(s>r&&s-35<r))return;t+=i}if(t>0&&t<n-a)return e.scrollTop=t,!0})},15)}(this.pos),this.move(e)},move:function(e){let t;
2return function(...n){t||(t=!0,e.call(this,...n),requestAnimationFrame(()=>t=!1))}}(function(e){f(this.pos,rt(e)),!this.drag&&(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(e),this.$emit("move")}),end(){if(Je(document,pe,this.move),Je(document,de,this.end),!this.drag)return;clearInterval(ts);const e=this.getSortable(this.placeholder);this===e?this.origin.index!==Oe(this.placeholder)&&Ge(this.$el,"moved",[this,this.placeholder]):(Ge(e.$el,"added",[e,this.placeholder]),Ge(this.$el,"removed",[this,this.placeholder])),Ge(this.$el,"stop",[this,this.placeholder]),_t(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:t}of this.touched)for(const n of this.touched)K(n.items,e,t);this.touched=null,K(document.documentElement,this.clsDragState)},insert(e,t){Z(this.items,this.clsItem),t&&t.previousElementSibling!==e?this.animate(()=>$t(t,e)):t||this.target.lastElementChild===e||this.animate(()=>kt(this.target,e))},remove(e){this.target.contains(e)&&this.animate(()=>_t(e))},getSortable(e){do{const t=this.$getComponent(e,"sortable");if(t&&(t===this||!1!==this.group&&t.group===this.group))return t}while(e=Se(e))}}};let ts;function ns(e,t){return e[1]>t[0]&&t[1]>e[0]}var rs={props:{pos:String,offset:Boolean,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(le?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=u(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(e,t,n){let r=[this.getPositionOffset(e),this.getShiftOffset(e)];const i=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Vt(this.dir),this.align],target:[this.dir,this.align]};if("y"===this.axis){for(const e in o)o[e].reverse();r.reverse(),i.reverse()}const s=is(e),a=Dt(e);ot(e,{top:-a.height,left:-a.width}),Bn(e,t,{attach:o,offset:r,boundary:n,placement:i,viewportOffset:this.getViewportOffset(e)}),s()},getPositionOffset(e=this.$el){return Yt(!1===this.offset?ot(e,"--qx-position-offset"):this.offset,"x"===this.axis?"width":"height",e)*(u(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(e=this.$el){return"center"===this.align?0:Yt(ot(e,"--qx-position-shift-offset"),"y"===this.axis?"width":"height",e)*(u(["left","top"],this.align)?1:-1)},getViewportOffset:e=>Yt(ot(e,"--qx-position-viewport-offset"))}};function is(e){const t=Nn(e),{scrollTop:n}=t;return()=>{n!==t.scrollTop&&(t.scrollTop=n)}}var os={mixins:[si,ai,rs],data:{pos:"top",animation:["qx-animation-scale-up"],duration:100,cls:"qx-active"},connected(){var e;Ee(e=this.$el)||(e.tabIndex=0)},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:e=0,title:t}=function(e){const{el:t,id:n,data:r}=e;return["delay","title"].reduce((e,n)=>({[n]:se(t,n),...e}),{...cr(se(t,n),["title"]),...r})}(this.$options);if(!t)return;const n=re(this.$el,"title"),r=Ye(this.$el,["blur",ge],e=>!nt(e)&&this.hide());this.reset=()=>{re(this.$el,{title:n,"aria-describedby":null}),r()};const i=eo(this);re(this.$el,{title:null,"aria-describedby":i}),clearTimeout(this.showTimer),this.showTimer=setTimeout(()=>this._show(t,i),e)},async hide(){Ae(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),this.reset?.(),_t(this.tooltip),this.tooltip=null)},async _show(e,t){this.tooltip=kt(this.container,`<div id="${t}" class="qx-${this.$options.name}" role="">  <div class="qx-${this.$options.name}-inner">${e}</div>  </div>`),Ye(this.tooltip,"toggled",(e,t)=>{if(!t)return;const n=()=>this.positionAt(this.tooltip,this.$el);n();const[r,i]=function(e,t,[n,r]){const i=Bt(e),o=Bt(t),s=[["left","right"],["top","bottom"]];for(const e of s){if(i[e[0]]>=o[e[1]]){n=e[1];break}if(i[e[1]]<=o[e[0]]){n=e[0];break}}return[n,(u(s[0],n)?s[1]:s[0]).find(e=>i[e]===o[e])||"center"]}(this.tooltip,this.$el,this.pos);this.origin="y"===this.axis?`${Vt(r)}-${i}`:`${i}-${Vt(r)}`;const o=[Xe(document,`keydown ${he}`,this.hide,!1,e=>e.type===he&&!this.$el.contains(e.target)||"keydown"===e.type&&e.keyCode===Br),Ye([document,...jn(this.$el)],"scroll",n,{passive:!0})];Xe(this.tooltip,"hide",()=>
2o.forEach(e=>e()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${fe} ${he}`](e){nt(e)&&e.type!==he||"loading"===document.readyState||this.show()}}};var ss={mixins:[$i],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"qx-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:U,beforeAll:U,beforeSend:U,complete:U,completeAll:U,error:U,fail:U,load:U,loadEnd:U,loadStart:U,progress:U},events:{change(e){Ae(e.target,'input[type="file"]')&&(e.preventDefault(),e.target.files&&this.upload(e.target.files),e.target.value="")},drop(e){ls(e);const t=e.dataTransfer;t?.files&&(K(this.$el,this.clsDragover),this.upload(t.files))},dragenter(e){ls(e)},dragover(e){ls(e),Z(this.$el,this.clsDragover)},dragleave(e){ls(e),K(this.$el,this.clsDragover)}},methods:{async upload(e){if(!(e=d(e)).length)return;Ge(this.$el,"upload",[e]);for(const t of e){if(this.maxSize&&1e3*this.maxSize<t.size)return void this.fail(this.t("invalidSize",this.maxSize));if(this.allow&&!as(this.allow,t.name))return void this.fail(this.t("invalidName",this.allow));if(this.mime&&!as(this.mime,t.type))return void this.fail(this.t("invalidMime",this.mime))}this.multiple||(e=e.slice(0,1)),this.beforeAll(this,e);const t=function(e,t){const n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}(e,this.concurrent),n=async e=>{const r=new FormData;e.forEach(e=>r.append(this.name,e));for(const e in this.params)r.append(e,this.params[e]);try{const e=await async function(e,t){const n={url:e,data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:U,responseType:"",...t};return await n.beforeSend(n),function(e,t){return new Promise((n,r)=>{const{xhr:i}=t;for(const e in t)if(e in i)try{i[e]=t[e]}catch{}i.open(t.method.toUpperCase(),e);for(const e in t.headers)i.setRequestHeader(e,t.headers[e]);Ye(i,"load",()=>{0===i.status||i.status>=200&&i.status<300||304===i.status?n(i):r(f(Error(i.statusText),{xhr:i,status:i.status}))}),Ye(i,"error",()=>r(f(Error("Network Error"),{xhr:i}))),Ye(i,"timeout",()=>r(f(Error("Network Timeout"),{xhr:i}))),i.send(t.data)})}(n.url,n)}(this.url,{data:r,method:this.method,responseType:this.type,beforeSend:e=>{const{xhr:t}=e;Ye(t.upload,"progress",this.progress);for(const e of["loadStart","load","loadEnd","abort"])Ye(t,e.toLowerCase(),this[e]);return this.beforeSend(e)}});this.complete(e),t.length?await n(t.shift()):this.completeAll(e)}catch(e){this.error(e)}};await n(t.shift())}}};function as(e,t){return t.match(new RegExp(`^${e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function ls(e){e.preventDefault(),e.stopPropagation()}var cs=Object.freeze({__proto__:null,Countdown:rr,Filter:Yr,Lightbox:po,LightboxPanel:ao,Notification:mo,Parallax:Bo,Slider:Xo,SliderParallax:Go,Slideshow:Qo,SlideshowParallax:Go,Sortable:es,Tooltip:os,Upload:ss});function us(e){Ge(document,"uikit:init",e),document.body&&It(document.body,ps),new MutationObserver(hs).observe(document,{subtree:!0,childList:!0,attributes:!0}),e._initialized=!0}function hs(e){for(const{addedNodes:t,removedNodes:n,target:r,attributeName:i}of e){for(const e of t)It(e,ps);for(const e of n)It(e,ds);const e=i&&fs(i);e&&(ie(r,i)?Ji(e,r):Gi(r,e)?.$destroy())}}function ps(e){const t=Xi(e);for(const e in t)Ri(t[e]);for(const t of e.getAttributeNames()){const n=fs(t);n&&Ji(n,e)}}function ds(e){const t=Xi(e);for(const e in t)Li(t[e])}function fs(e){l(e,"data-")&&(e=e.slice(5));const t=Vi[e];return t&&(t.options||t).name}(function(e){let t;e.component=Yi,e.getComponents=Xi,e.getComponent=Gi,e.update=Zi,e.use=function(e){if(!e.installed)return e.call(null,this),e.installed=!0,this},e.mixin=function(e,t){(t=(E(t)?this.component(t):t)||this).options=lr(t.options,e)},e.extend=function(e){e||={};const t=this,n=function(e){Ui(this,e)};return(n.prototype=Object.create(t.prototype)).constructor=n,n.options=lr(t.options,e),n.super=t,n.extend=t.extend,n},Object.defineProperty(e,"container",{get:()=>t||document.body,set(e){t=qt(e)}})})(Wi),function(e){e.prototype.$mount=function(e){const t=this;(function(e,t){e[Hi]||(e[Hi]={}),e[Hi][t.$options.name]=t})(e,t),t.$options.el=e,e.isConnected&&Ri(t)},e.prototype.$destroy=function(e=!1){const t=this,{el:n}=t.$options;n&&Li(t),Bi(t,"destroy"),function(e,t){delete e[Hi]?.[t.$options.name],A(e[Hi])&&delete e[Hi]}(n,t),e&&_t(t.$el)},e.prototype.$create=Ji,e.prototype.$emit=function(e){pr(this,e)},e.prototype.$update=function(e=this.$el,t){Zi(e,t)},e.prototype.$reset=function(){Li(this),Ri(this)},e.prototype.$getComponent=Gi,Object.defineProperties(e.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(e,"container")})}(Wi);var gs={mixins:[tr,ai],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"qx-open",toggle:".qx-accordion-title",content:".qx-accordion-content",offset:0},computed:{items:({targets:e},t)=>Pt(e,t),toggles({toggle:e}){return this.items.map(t=>qt(e,t))},contents({content:e}){return this.items.map(t=>t._wrapper?.firstElementChild||qt(e,t))}},watch:{items(e,t){if(t||ee(e,this.clsOpen))return;const n=!1!==this.active&&e[Number(this.active)]||!this.collapsible&&e[0];n&&this.toggle(n,!1)},toggles(){this.$emit()},contents(e){for(const t of e){const e=ee(this.items.find(e=>e.contains(t)),this.clsOpen);ms(t,!e)}this.$emit()}},observe:mr(),events:[{name:"click keydown",delegate:({targets:e,$props:t})=>`${e} ${t.toggle}`,handler(e){if("keydown"===e.type&&e.keyCode!==Rr)return;const t=Oe(this.toggles,e.current);if(-1===t)return;zr(e);const n=function(e){const t=Nn(e,!0);let n;return function r(){n=requestAnimationFrame(()=>{const{top:n}=Dt(e);n<0&&(t.scrollTop+=n),r()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(n))}(e.target);this.toggle(t).finally(n)}},{name:"show hide shown hidden",self:!0,delegate:({targets:e})=>e,handler(){this.$emit()}}],update(){const e=_e(this.items,`.${this.clsOpen}`);for(const t in this.items){const n=this.toggles[t],r=this.contents[t];if(!n||!r)continue;n.id=eo(this,n),r.id=eo(this,r);const i=u(e,this.items[t]);re(n,{role:vt(n,"a")?"button":null,"aria-controls":r.id,"aria-expanded":i,"aria-disabled":!this.collapsible&&e.length<2&&i}),re(r,{role:"region","aria-labelledby":n.id}),vt(r,"ul")&&re(Ce(r),"role","presentation")}},methods:{toggle(e,t){let n=[e=this.items[X(e,this.items)]];const r=_e(this.items,`.${this.clsOpen}`);return this.multiple||u(r,n[0])||(n=n.concat(r)),!this.collapsible&&r.length<2&&u(r,e)&&(n=[]),Promise.all(n.map(e=>this.toggleElement(e,!u(r,e),(e,n)=>{if(te(e,this.clsOpen,n),!1!==t&&this.animation)return async function(e,t,{content:n,duration:r,velocity:i,transition:o}){n=e._wrapper?.firstElementChild||qt(n,e),e._wrapper||(e._wrapper=At(n,"<div>"));const s=e._wrapper;ot(s,"overflow","hidden");const a=N(ot(s,"height"));await pt.cancel(s),ms(n,!1);const l=B(["marginTop","marginBottom"],e=>ot(n,e))+Dt(n).height,c=a/l;r=l?(i*l+r)*(t?1-c:c):0,ot(s,"height",a),await pt.start(s,{height:t?l:0},r,o),Ct(n),delete e._wrapper,t||ms(n,!0)}(e,n,this);ms(qt(this.content,e),!n)})))}}};function ms(e,t){e&&(e.hidden=t)}var ys={mixins:[tr,ai],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".qx-alert-close",duration:150},events:{name:"click",delegate:({selClose:e})=>e,handler(e){zr(e),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,vs),this.$destroy(!0)}}};function vs(e,t,{duration:n,transition:r,velocity:i}){const o=N(ot(e,"height"));return ot(e,"height",o),pt.start(e,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0}
2,i*o+n,r)}var bs={args:"autoplay",props:{automute:Boolean,autoplay:Boolean,restart:Boolean,hoverTarget:Boolean},data:{automute:!1,autoplay:!0,restart:!1,hoverTarget:!1},beforeConnect(){const e=vt(this.$el,"video");"inview"===this.autoplay&&e&&!ie(this.$el,"preload")&&(this.$el.preload="none"),e||ie(this.$el,"allow")||(this.$el.allow="autoplay"),"hover"===this.autoplay&&(e?this.$el.tabIndex=0:this.autoplay=!0),(this.automute||ie(this.$el,"muted"))&&vn(this.$el)},events:[{name:`${fe} focusin`,el:({hoverTarget:e,$el:t})=>Ie(e,t)||t,filter:({autoplay:e})=>"hover"===e,handler(e){var t;!nt(e)||((t=this.$el).paused||t.ended)?mn(this.$el):xs(this.$el,this.restart)}},{name:`${ge} focusout`,el:({hoverTarget:e,$el:t})=>Ie(e,t)||t,filter:({autoplay:e})=>"hover"===e,handler(e){nt(e)||xs(this.$el,this.restart)}}],observe:[fr({filter:({$el:e})=>"none"===e.preload,handler([{target:e}]){e.preload="",this.$reset()}}),fr({filter:({$el:e,autoplay:t})=>"hover"!==t&&"none"!==e.preload,handler([{isIntersecting:e,target:t}]){document.fullscreenElement||(e?this.autoplay&&mn(t):xs(t,this.restart))},args:{intersecting:!1},options:({$el:e,autoplay:t})=>({root:"inview"===t?null:Se(e).closest(":not(a)")})})]};function xs(e,t){yn(e),t&&vt(e,"video")&&(e.currentTime=0)}var ws={mixins:[bs],props:{width:Number,height:Number},data:{automute:!0},created(){this.useObjectFit=vt(this.$el,"img","video")},observe:dr({target:({$el:e})=>ks(e)||Se(e),filter:({useObjectFit:e})=>!e}),update:{read(){if(this.useObjectFit)return!1;const{$el:e,width:t=e.clientWidth,height:n=e.clientHeight}=this,r=ks(e)||Se(e),i=J.cover({width:t,height:n},{width:r.offsetWidth,height:r.offsetHeight});return!(!i.width||!i.height)&&i},write({height:e,width:t}){ot(this.$el,{height:e,width:t})},events:["resize"]}};function ks(e){for(;e=Se(e);)if("static"!==ot(e,"position"))return e}let $s;var Es={mixins:[tr,si,rs,ai],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,animateOut:Boolean,bgScroll:Boolean,closeOnScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,animateOut:!1,bgScroll:!0,animation:["qx-animation-fade"],cls:"qx-open",container:!1,closeOnScroll:!1,selClose:".qx-drop-close"},computed:{boundary:({boundary:e,boundaryX:t,boundaryY:n},r)=>[Ie(t||e,r)||window,Ie(n||e,r)||window],target({target:e,targetX:t,targetY:n},r){return t||=e||this.targetEl,n||=e||this.targetEl,[!0===t?window:Ie(t,r),!0===n?window:Ie(n,r)]}},created(){this.tracker=new cn},connected(){Z(this.$el,"qx-drop"),this.toggle&&!this.targetEl&&(this.targetEl=function(e){const t=Ie(e.toggle,e.$el);return t&&(e.$create("toggle",t,{target:e.$el,mode:e.mode}),t.ariaHasPopup=!0),t}(this)),re(this.targetEl,"aria-expanded",!1),this._style=L(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),$s=null),ot(this.$el,this._style)},events:[{name:"click",delegate:({selClose:e})=>e,handler(e){zr(e),this.hide(!1)}},{name:"click",delegate:()=>'a[href*="#"]',handler({defaultPrevented:e,current:t}){const{hash:n}=t;!e&&n&&Ne(t)&&!this.$el.contains(qt(n))&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(e,t){e.preventDefault(),this.isToggled()?this.hide(!1):this.show(t?.$el,!1)}},{name:"toggleshow",self:!0,handler(e,t){e.preventDefault(),this.show(t?.$el)}},{name:"togglehide",self:!0,handler(e){e.preventDefault(),Ae(this.$el,":focus,:hover")||this.hide()}},{name:`${fe} focusin`,filter:({mode:e})=>u(e,"hover"),handler(e){nt(e)||this.clearTimers()}},{name:`${ge} focusout`,filter:({mode:e})=>u(e,"hover"),handler(e){!nt(e)&&e.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(e,t){t&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){$s=this,this.tracker.init(),re(this.targetEl,"aria-expanded",!0);const e=[Ss(this),As(this),Cs(this),this.autoUpdate&&_s(this),this.closeOnScroll&&Ts(this)];Xe(this.$el,"hide",()=>
2e.forEach(e=>e&&e()),{self:!0}),this.bgScroll||Xe(this.$el,"hidden",oi(this.$el),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:e}){this.$el===e?($s=this.isActive()?null:$s,this.tracker.cancel(),re(this.targetEl,"aria-expanded",!1)):$s=null===$s&&this.$el.contains(e)&&this.isToggled()?this:$s}}],update:{write(){this.isToggled()&&!ee(this.$el,this.clsEnter)&&this.position()}},methods:{show(e=this.targetEl,t=!0){if(this.isToggled()&&e&&this.targetEl&&e!==this.targetEl&&this.hide(!1,!1),this.targetEl=e,this.clearTimers(),!this.isActive()){if($s){if(t&&$s.isDelaying())return void(this.showTimer=setTimeout(()=>Ae(e,":hover")&&this.show(),10));let n;for(;$s&&n!==$s&&!$s.$el.contains(this.$el);)n=$s,$s.hide(!1,!1);t=!1}this.container&&Se(this.$el)!==this.container&&kt(this.container,this.$el),Z(this.$el,this.clsEnter),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),t&&this.delayShow||0)}},hide(e=!0,t=!0){const n=()=>{K(this.$el,this.clsEnter),this.toggleElement(this.$el,!1,this.animateOut&&t)};this.clearTimers(),this.isDelayedHide=e,e&&this.isDelaying()?this.hideTimer=setTimeout(this.hide,50):e&&this.delayHide?this.hideTimer=setTimeout(n,this.delayHide):n()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null},isActive(){return $s===this},isDelaying(){return[this.$el,...Pt(".qx-drop",this.$el)].some(e=>this.tracker.movesTo(e))},position(){const e=is(this.$el);K(this.$el,"qx-drop-stack"),ot(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(e=>function(e,t){return In(jn(t).find(t=>t.contains(e)))}(this.$el,e)),n=this.getViewportOffset(this.$el),r=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[e,[i,o]]of r)this.axis!==i&&u([i,!0],this.stretch)&&ot(this.$el,{[o]:Math.min(Bt(this.boundary[e])[o],t[e][o]-2*n),[`overflow-${i}`]:"auto"});const i=t[0].width-2*n;this.$el.hidden=!1,ot(this.$el,"maxWidth",""),this.$el.offsetWidth>i&&Z(this.$el,"qx-drop-stack"),ot(this.$el,"maxWidth",i),this.positionAt(this.$el,this.target,this.boundary);for(const[e,[i,o,s,a]]of r)if(this.axis===i&&u([i,!0],this.stretch)){const r=Math.abs(this.getPositionOffset()),l=Bt(this.target[e]),c=Bt(this.$el);ot(this.$el,{[o]:(l[s]>c[s]?l[this.inset?a:s]-Math.max(Bt(this.boundary[e])[s],t[e][s]+n):Math.min(Bt(this.boundary[e])[a],t[e][a]-n)-l[this.inset?s:a])-r,[`overflow-${i}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}e()}}};function Ss(e){const t=()=>e.$emit(),n=[dn(t),pn(jn(e.$el).concat(e.target),t)];return()=>n.map(e=>e.disconnect())}function _s(e,t=()=>e.$emit()){return Ye([document,...jn(e.$el)],"scroll",t,{passive:!0})}function As(e){return Ye(document,"keydown",t=>{t.keyCode===Br&&e.hide(!1)})}function Ts(e){return _s(e,()=>e.hide(!1))}function Cs(e){return Ye(document,he,({target:t})=>{e.$el.contains(t)||Xe(document,`${de} ${me} scroll`,({defaultPrevented:n,type:r,target:i})=>{n||r!==de||t!==i||e.targetEl?.contains(t)||e.hide(!1)},!0)})}var Os={mixins:[tr,si],props:{align:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean,closeOnScroll:Boolean},data:{align:le?"right":"left",clsDrop:"qx-dropdown",clsDropbar:"qx-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,flip:!0,delayShow:160,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor:({dropbarAnchor:e},t)=>Ie(e,t)||t,dropbar({dropbar:e}){return e?(e=this._dropbar||Ie(e,this.$el)||qt(`+ .${this.clsDropbar}`,this.$el))||(this._dropbar=qt("<div>")):null},dropContainer(e,t){return this.container||t},dropdowns({clsDrop:e},t){const n=Pt(`.${e}`,t);if(this.dropContainer!==t)for(const t of Pt(`.${e}`,this.dropContainer)){const e=this.getDropdown(t)?.targetEl;!u(n,t)&&e&&this.$el.contains(e)&&n.push(t)}return n},items:({selNavItem:e},t)=>Pt(e,t)},watch:{dropbar(e){Z(e,"qx-dropbar","qx-dropbar-top",this.clsDropbar,`qx-${this.$options.name}-dropbar`)},dropdowns(){this.initializeDropdowns()}},connected(){this.initializeDropdowns(),function(e){const t=()=>
2n.forEach(e=>e()),n=[Xe(e.ownerDocument,pe,n=>e.contains(n.target)||t()),Ye(e,`mouseenter ${fe}`,e=>e.stopPropagation(),{capture:!0}),Ye(e,`mouseleave ${ge}`,t,{capture:!0})]}(this.$el)},disconnected(){_t(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate:({selNavItem:e})=>e,handler({current:e}){const t=this.getActive();t&&u(t.mode,"hover")&&t.targetEl&&!e.contains(t.targetEl)&&!t.isDelaying()&&t.hide(!1)}},{name:"keydown",self:!0,delegate:({selNavItem:e})=>e,handler(e){const{current:t,keyCode:n}=e,r=this.getActive();if(n===Vr)if(r?.targetEl===t)e.preventDefault(),qt($e,r.$el)?.focus();else{const n=this.dropdowns.find(e=>this.getDropdown(e)?.targetEl===t);n&&(e.preventDefault(),t.click(),Xe(n,"show",e=>qt($e,e.target)?.focus()))}Ns(e,this.items,r)}},{name:"keydown",el:({dropContainer:e})=>e,delegate:({clsDrop:e})=>`.${e}`,handler(e){const{current:t,keyCode:n,target:r}=e;if(ke(r)||!u(this.dropdowns,t))return;const i=this.getActive();let o=-1;if(n===Fr?o=0:n===Lr?o="last":n===Wr?o="previous":n===Vr?o="next":n===Br&&i.targetEl?.focus(),~o){e.preventDefault();const n=Pt($e,t);return void n[X(o,n,h(n,e=>Ae(e,":focus")))].focus()}Ns(e,this.items,i)}},{name:"mouseleave",el:({dropbar:e})=>e,filter:({dropbar:e})=>e,handler(){const e=this.getActive();e&&u(e.mode,"hover")&&!this.dropdowns.some(e=>Ae(e,":hover"))&&e.hide()}},{name:"beforeshow",el:({dropContainer:e})=>e,filter:({dropbar:e})=>e,handler({target:e}){this.isDropbarDrop(e)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&Et(this.dropbarAnchor,this.dropbar),Z(e,`${this.clsDrop}-dropbar`))}},{name:"show",el:({dropContainer:e})=>e,filter:({dropbar:e})=>e,handler({target:e}){if(!this.isDropbarDrop(e))return;const t=this.getDropdown(e),n=()=>{const n=Math.max(...Te(e,`.${this.clsDrop}`).concat(e).map(e=>Bt(e).bottom));Bt(this.dropbar,{left:Bt(this.dropbar).left,top:this.getDropbarOffset(t.getPositionOffset())}),this.transitionTo(n-Bt(this.dropbar).top+N(ot(e,"marginBottom")),e)};this._observer=pn([t.$el,...t.target],n),n()}},{name:"beforehide",el:({dropContainer:e})=>e,filter:({dropbar:e})=>e,handler(e){const t=this.getActive();Ae(this.dropbar,":hover")&&t.$el===e.target&&this.isDropbarDrop(t.$el)&&u(t.mode,"hover")&&t.isDelayedHide&&!this.items.some(e=>t.targetEl!==e&&Ae(e,":focus"))&&e.preventDefault()}},{name:"hide",el:({dropContainer:e})=>e,filter:({dropbar:e})=>e,handler({target:e}){if(!this.isDropbarDrop(e))return;this._observer?.disconnect();const t=this.getActive();t&&t.$el!==e||this.transitionTo(0)}}],methods:{getActive(){return u(this.dropdowns,$s?.$el)&&$s},async transitionTo(e,t){const{dropbar:n}=this,r=Ft(n);if(t=r<e&&t,await pt.cancel([t,n]),t){const i=Bt(t).top-Bt(n).top-r;i>0&&ot(t,"transitionDelay",i/e*this.duration+"ms")}ot(t,"clipPath",`polygon(0 0,100% 0,100% ${r}px,0 ${r}px)`),Ft(n,r),await Promise.all([pt.start(n,{height:e},this.duration),pt.start(t,{clipPath:`polygon(0 0,100% 0,100% ${e}px,0 ${e}px)`},this.duration).finally(()=>ot(t,{clipPath:"",transitionDelay:""}))]).catch(U)},getDropdown(e){return this.$getComponent(e,"drop")||this.$getComponent(e,"dropdown")},isDropbarDrop(e){return u(this.dropdowns,e)&&ee(e,this.clsDrop)},getDropbarOffset(e){const{$el:t,target:n,targetY:r}=this,{top:i,height:o}=Bt(Ie(r||n||t,t));return i+o+e},initializeDropdowns(){this.$create("drop",this.dropdowns.filter(e=>!this.getDropdown(e)),{...this.$props,flip:this.flip&&!this.$props.dropbar,shift:!0,pos:`bottom-${this.align}`,boundary:!1,boundaryX:!0===this.boundary?this.$el:this.boundary})}}};function Ns(e,t,n){const{current:r,keyCode:i}=e;let o=-1;i===Fr?o=0:i===Lr?o="last":i===Ur?o="previous":i===Hr?o="next":i===Mr&&(n.targetEl?.focus(),n.hide?.(!1)),~o&&(e.preventDefault(),n.hide?.(!1),t[X(o,t,t.indexOf(n.targetEl||r))].focus())}var js={mixins:[tr],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:(e,t)=>qt(we,t),state(){return this.input.nextElementSibling},target({target:e},t){return e&&(!0===e&&Se(this.input)===t&&this.input.nextElementSibling||qt(e,t))}},update(){const{target:e,input:t}=this;if(!e)return;let n;const r=ke(e)?"value":"textContent",i=e[r],o=t.files?.[0]?t.files[0].name:Ae(t,"select")&&(n=Pt("option",t).filter(e=>e.selected)[0])?n.textContent:t.value;i!==o&&(e[r]=o)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el:({$el:e})=>e.closest("form"),handler(){this.$emit()}}]},Is={extends:wr,mixins:[tr],name:"grid",props:{masonry:Boolean,parallax:String,parallaxStart:String,parallaxEnd:String,parallaxJustify:Boolean},data:{margin:"qx-grid-margin",clsStack:"qx-grid-stack",masonry:!1,parallax:0,parallaxStart:0,parallaxEnd:0,parallaxJustify:!1},connected(){this.masonry&&Z(this.$el,"qx-flex-top","qx-flex-wrap-top")},observe:vr({filter:({parallax:e,parallaxJustify:t})=>e||t}),update:[{write({rows:e}){te(this.$el,this.clsStack,!e.some(e=>e.length>1))},events:["resize"]},{read(e){const{rows:t}=e;let{masonry:n,parallax:r,parallaxJustify:i,margin:o}=this;if(r=Math.max(0,Yt(r)),!(n||r||i)||qs(t)||t[0].some((e,n)=>t.some(t=>
2t[n]&&t[n].offsetWidth!==e.offsetWidth)))return e.translates=e.scrollColumns=!1;let s,a,l=function(e,t){const n=e.flat().find(e=>ee(e,t));return N(n?ot(n,"marginTop"):ot(e[0][0],"paddingLeft"))}(t,o);n?[s,a]=function(e,t,n){const r=[],i=[],o=Array(e[0].length).fill(0);let s=0;for(let a of e){const e=le?a.slice().reverse():a;let l=0;for(const a in e){const{offsetWidth:c,offsetHeight:u}=e[a],h=n?a:o.indexOf(Math.min(...o));Ps(r,h,e[a]),Ps(i,h,[(h-a)*c*(le?-1:1),o[h]-s]),o[h]+=u+t,l=Math.max(l,u)}s+=l+t}return[r,i]}(t,l,"next"===n):s=function(e){const t=[];for(const n of e)for(const e in n)Ps(t,e,n[e]);return t}(t);const c=s.map(e=>B(e,"offsetHeight")+l*(e.length-1)),u=Math.max(0,...c);let h,p,d;return(r||i)&&(h=c.map((e,t)=>i?u-e+r:r/(t%2||8)),i||(r=Math.max(...c.map((e,t)=>e+h[t]-u))),p=Yt(this.parallaxStart,"height",this.$el,!0),d=Yt(this.parallaxEnd,"height",this.$el,!0)),{columns:s,translates:a,scrollColumns:h,parallaxStart:p,parallaxEnd:d,padding:r,height:a?u:""}},write({height:e,padding:t}){ot(this.$el,"paddingBottom",t||""),!1!==e&&ot(this.$el,"height",e)},events:["resize"]},{read({rows:e,scrollColumns:t,parallaxStart:n,parallaxEnd:r}){return{scrolled:!(!t||qs(e))&&Cn(this.$el,n,r)}},write({columns:e,scrolled:t,scrollColumns:n,translates:r}){(t||r)&&e.forEach((e,i)=>e.forEach((e,o)=>{let[s,a]=r&&r[i][o]||[0,0];t&&(a+=t*n[i]),ot(e,"transform",`translate(${s}px, ${a}px)`)}))},events:["scroll","resize"]}]};function qs(e){return e.flat().some(e=>"absolute"===ot(e,"position"))}function Ps(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}var zs={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:({target:e},t)=>Pt(e,t)},observe:dr({target:({$el:e,elements:t})=>t.reduce((e,t)=>e.concat(t,...t.children),[e])}),events:{name:"loadingdone",el:()=>document.fonts,handler(){this.$emit("resize")}},update:{read(){return{rows:(this.row?kr(this.elements):[this.elements]).map(Ms)}},write({rows:e}){for(const{heights:t,elements:n}of e)n.forEach((e,n)=>ot(e,"minHeight",t[n]))},events:["resize"]}};function Ms(e){if(e.length<2)return{heights:[""],elements:e};let t=e.map(Ds);const n=Math.max(...t);return{heights:e.map((e,r)=>t[r].toFixed(2)===n.toFixed(2)?"":n),elements:e}}function Ds(e){const t=L(e.style,["display","minHeight"]);xe(e)||ot(e,"display","block","important"),ot(e,"minHeight","");const n=Dt(e).height-Ht(e,"height","content-box");return ot(e,t),n}var Bs={args:"target",props:{target:String},data:{target:""},computed:{target:{get:({target:e},t)=>Ie(e,t),observe:({target:e})=>e}},observe:dr({target:({target:e})=>e}),update:{read(){return!!this.target&&{height:this.target.offsetHeight}},write({height:e}){ot(this.$el,"minHeight",e)},events:["resize"]}},Rs={mixins:[yo],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,min:Number,property:String},data:{expand:!1,offsetTop:!1,offsetBottom:!1,min:0,property:"min-height"},observe:[yr({filter:({expand:e})=>e}),dr({target:({$el:e})=>On(e)})],update:{read(){if(!xe(this.$el))return!1;if(!this.matchMedia)return{minHeight:!1};const e=Ht(this.$el,"height","content-box"),{body:t,scrollingElement:n}=document,r=Nn(this.$el),{height:i}=In(r===t?n:r),o=n===r||t===r;let s="calc("+(o?"100vh":`${i}px`);if(this.expand)s+=` - ${Dt(r).height-Dt(this.$el).height}px`;else{if(this.offsetTop)if(o){const e=!0===this.offsetTop?this.$el:Ie(this.offsetTop,this.$el),{top:t}=Bt(e);s+=t>0&&t<i/2?` - ${t}px`:""}else s+=` - ${Ht(r,"height",ot(r,"boxSizing"))}px`;!0===this.offsetBottom?s+=` - ${Dt(this.$el.nextElementSibling).height}px`:_(this.offsetBottom)?s+=` - ${this.offsetBottom}vh`:this.offsetBottom&&c(this.offsetBottom,"px")?s+=` - ${N(this.offsetBottom)}px`:E(this.offsetBottom)&&(s+=` - ${Dt(Ie(this.offsetBottom,this.$el)).height}px`)}return s+=(e?` - ${e}px`:"")+")",{minHeight:s}},write({minHeight:e}){ot(this.$el,this.property,!1===e?"":`max(${this.min||0}px, ${e})`)},events:["resize"]}},Ls='<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',Fs={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then(e=>{if(!this._connected)return;const t=function(e,t){if(ve(t)||vt(t,"canvas")){t.hidden=!0;const n=t.nextElementSibling;return Us(e,n)?n:Et(t,e)}const n=t.lastElementChild;return Us(e,n)?n:kt(t,e)}(e,this.$el);return this.svgEl&&t!==this.svgEl&&_t(this.svgEl),Ws.call(this,t,e),this.svgEl=t},U)},disconnected(){this.svg.then(e=>{this._connected||(ve(this.$el)&&(this.$el.hidden=!1),_t(e),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){}}};function Us(e,t){return vt(e,"svg")&&vt(t,"svg")&&e.innerHTML===t.innerHTML}function Ws(e,t){const n=["width","height"];let r=n.map(e=>this[e]);r.some(e=>e)||(r=n.map(e=>re(t,e)));const i=re(t,"viewBox");i&&!r.some(e=>e)&&(r=i.split(" ").slice(2)),r.forEach((t,r)=>re(e,n[r],N(t)*this.ratio||null))}function Hs(e,t){return t&&u(e,"<symbol")&&(e=Ys(e)[t]||e),I(Nt(e)).filter(w)[0]}const Vs=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,Ys=G(function(e){const t={};let n;for(;n=Vs.exec(e);)t[n[3]]=`<svg ${n[1]}svg>`;return t}),Js={spinner:'<svg width="30" height="30" viewBox="0 0 30 30"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>
2',totop:'<svg width="18" height="10" viewBox="0 0 18 10"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9"/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="11" x="9" y="4"/><rect width="11" height="1" x="4" y="9"/></svg>',"accordion-icon":'<svg width="13" height="13" viewBox="0 0 13 13"><style>.qx-accordion-icon svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-out;transition-property:transform, opacity;transform-origin:center}[aria-expanded=&quot;true&quot;] .qx-accordion-icon svg&gt;.line-1{transform:rotate(-45deg);opacity:0}[aria-expanded=&quot;true&quot;] .qx-accordion-icon svg&gt;.line-2{transform:rotate(90deg)}</style><rect width="13" height="1" fill="#000" x="0" y="6" class="line-1"/><rect width="1" height="13" fill="#000" x="6" y="0" class="line-2"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"drop-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"nav-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"nav-parent-icon-large":'<svg width="14" height="14" viewBox="0 0 14 14"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',"navbar-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20"><style>.qx-navbar-toggle-icon svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.qx-navbar-toggle-icon svg&gt;.line-3{opacity:0}[aria-expanded=&quot;true&quot;].qx-navbar-toggle-icon svg&gt;.line-3,[aria-expanded=&quot;true&quot;]&gt;.qx-navbar-toggle-icon svg&gt;.line-3{opacity:1}[aria-expanded=&quot;true&quot;].qx-navbar-toggle-icon svg&gt;.line-2,[aria-expanded=&quot;true&quot;]&gt;.qx-navbar-toggle-icon svg&gt;.line-2{transform:rotate(45deg)}[aria-expanded=&quot;true&quot;].qx-navbar-toggle-icon svg&gt;.line-3,[aria-expanded=&quot;true&quot;]&gt;.qx-navbar-toggle-icon svg&gt;.line-3{transform:rotate(-45deg)}[aria-expanded=&quot;true&quot;].qx-navbar-toggle-icon svg&gt;.line-1,[aria-expanded=&quot;true&quot;]&gt;.qx-navbar-toggle-icon svg&gt;.line-1,[aria-expanded=&quot;true&quot;].qx-navbar-toggle-icon svg&gt;.line-4,[aria-expanded=&quot;true&quot;]&gt;.qx-navbar-toggle-icon svg&gt;.line-4{opacity:0}[aria-expanded=&quot;true&quot;].qx-navbar-toggle-icon svg&gt;.line-1,[aria-expanded=&quot;true&quot;]&gt;.qx-navbar-toggle-icon svg&gt;.line-1{transform:translateY(6px) scaleX(0)}[aria-expanded=&quot;true&quot;].qx-navbar-toggle-icon svg&gt;.line-4,[aria-expanded=&quot;true&quot;]&gt;.qx-navbar-toggle-icon svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect width="20" height="2" y="3" class="line-1"/><rect width="20" height="2" y="9" class="line-2"/><rect width="20" height="2" y="9" class="line-3"/><rect width="20" height="2" y="15" class="line-4"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40"><rect width="1" height="40" x="19" y="0"/><rect width="40" height="1" x="0" y="19"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":Ls,"search-medium":'<svg width="24" height="24" viewBox="0 0 24 24"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-toggle-icon":Ls,"slidenav-next":'<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1"/></svg>',"slidenav-next-large":'<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5"/></svg>',"slidenav-previous":'<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23"/></svg>',"slidenav-previous-large":'<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547"/></svg>'},Xs={install:function(e){e.icon.add=(t,n)=>{const r=E(t)?{[t]:n}:t;D(r,(e,t)=>{Js[t]=e,delete la[t]}),e._initialized&&It(document.body,t=>D(e.getComponents(t),e=>{e.$options.isIcon&&e.icon in r&&e.$reset()}))}},mixins:[Fs],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){Z(this.$el,"qx-icon")},async connected(){const e=await this.svg;e&&(e.ariaHidden=!0)},methods:{async getSvg(){const e=function(e){return e=ca[e]||e,Js[e]?(la[e]||(la[e]=Hs(Js[function(e){return le?z(z(e,"left","right"),"previous","next"):e}(e)]||Js[e])),la[e].cloneNode(!0)):null}(this.icon);if(!e)throw"Icon not found.";return e}}},Gs={args:!1,extends:Xs,data:e=>({icon:i(e.constructor.options.name)}),beforeConnect(){Z(this.$el,this.$options.id)}},Zs={extends:Gs,beforeConnect(){const e=this.$props.icon;this.icon=this.$el.closest(".qx-nav-primary")?`${e}-large`:e}},Ks={extends:Gs,mixins:[$i],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){const e=ee(this.$el,"qx-search-toggle")||ee(this.$el,"qx-navbar-toggle");if(this.icon=e?"search-toggle-icon":ee(this.$el,"qx-search-icon")&&this.$el.closest(".qx-search-large")?"search-large":this.$el.closest(".qx-search-medium")?"search-medium":this.$props.icon,!ie(this.$el,"aria-label"))if(e)this.$el.ariaLabel=this.t("toggle");else{const e=this.$el.closest("a,button");e&&(e.ariaLabel=this.t("submit"))}}},Qs={extends:Gs,beforeConnect(){this.$el.role="status"},methods:{async getSvg(){const e=await Xs.methods.getSvg.call(this);return 1!==this.ratio&&ot(qt("circle",e),"strokeWidth",1/this.ratio),e}}},ea={extends:Gs,mixins:[$i],beforeConnect(){const e=this.$el.closest("a,button");re(e,"role",null!==this.role&&vt(e,"a")?"button":this.role);const t=this.t("label");t&&!ie(e,"aria-label")&&re(e,"aria-label",t)}},ta={extends:ea,beforeConnect(){Z(this.$el,"qx-slidenav");const e=this.$props.icon;this.icon=ee(this.$el,"qx-slidenav-large")?`${e}-large`:e}},na={extends:ea,i18n:{label:"Open menu"},beforeConnect(){const e=this.$el.closest("a,button");e&&(e.ariaExpanded=!1)}},ra={extends:ea,i18n:{label:"Close"}
2,beforeConnect(){this.icon="close-"+(ee(this.$el,"qx-close-large")?"large":"icon")}},ia={extends:ea,i18n:{label:"Open"}},oa={extends:ea,i18n:{label:"Back to top"}},sa={extends:ea,i18n:{label:"Next page"},data:{role:null}},aa={extends:ea,i18n:{label:"Previous page"},data:{role:null}},la={};const ca={twitter:"x"};var ua={props:{target:String,selActive:String},data:{target:!1,selActive:!1},connected(){this.isIntersecting=0},computed:{target:({target:e},t)=>e?Pt(e,t):t},watch:{target:{handler(){queueMicrotask(()=>this.$reset())},immediate:!1}},observe:[fr({handler(e){this.isIntersecting=e.reduce((e,{isIntersecting:t})=>e+(t?1:this.isIntersecting?-1:0),this.isIntersecting),this.$emit()},target:({target:e})=>e,args:{intersecting:!1}}),gr({target:({target:e})=>e,options:{attributes:!0,attributeFilter:["class"]}}),{target:({target:e})=>e,observe:(e,t)=>{const n=pn([...I(e),document.documentElement],t),r=[Ye(document,"scroll itemshown itemhidden",t,{passive:!0,capture:!0}),Ye(document,"show hide transitionstart",e=>(t(),n.observe(e.target))),Ye(document,"shown hidden transitionend transitioncancel",e=>(t(),n.unobserve(e.target)))];return{observe:n.observe.bind(n),unobserve:n.unobserve.bind(n),disconnect(){n.disconnect(),r.map(e=>e())}}},handler(){this.$emit()}}],update:{read(){if(!this.isIntersecting)return!1;for(const e of I(this.target)){let t=!this.selActive||Ae(e,this.selActive)?ha(e):"";!1!==t&&Q(e,"qx-light qx-dark",t)}}}};function ha(e){const t=Dt(e),n=Dt(window);if(!W(t,n))return!1;const{left:r,top:i,height:o,width:s}=t;let a="";for(const t of[.25,.5,.75]){const l=e.ownerDocument.elementsFromPoint(Math.max(0,Math.min(r+s*t,n.width-1)),Math.max(0,Math.min(i+o/2,n.height-1)));for(const t of l){if(e.contains(t)||!pa(t)||t.closest('[class*="-leave"]')&&l.some(e=>t!==e&&Ae(e,'[class*="-enter"]')))continue;const n=ot(t,"--qx-inverse");if(n){if(n===a)return`qx-${n}`;a=n;break}}}return a?`qx-${a}`:""}function pa(e){if("visible"!==ot(e,"visibility"))return!1;for(;e;){if("0"===ot(e,"opacity"))return!1;e=Se(e)}return!0}var da={mixins:[tr,yo],props:{fill:String},data:{fill:"",clsWrapper:"qx-leader-fill",clsHide:"qx-leader-hide",attrFill:"data-fill"},computed:{fill:({fill:e},t)=>e||ot(t,"--qx-leader-fill-content")},connected(){[this.wrapper]=Tt(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){Ct(this.wrapper.childNodes)},observe:dr(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:e,fill:t,hide:n}){te(this.wrapper,this.clsHide,n),re(this.wrapper,this.attrFill,new Array(e).join(t))},events:["resize"]}},fa={install:function({modal:e}){function t(t,n,r=U,i=U){n={bgClose:!1,escClose:!0,...n,i18n:{...e.i18n,...n?.i18n}};const o=e.dialog(t(n),n);return f(new Promise(e=>{const t=Ye(o.$el,"hide",()=>e(r()));Ye(o.$el,"submit","form",n=>{n.preventDefault(),e(i(o)),t(),o.hide()})}),{dialog:o})}e.dialog=function(t,n){const r=e(qt(`<div><div class="qx-modal-dialog">${t}</div></div>`),{stack:!0,role:"alertdialog",...n});return r.show(),Ye(r.$el,"hidden",async()=>{await Promise.resolve(),r.$destroy(!0)},{self:!0}),r},e.alert=function(e,n){return t(({i18n:t})=>`<div class="qx-modal-body">${E(e)?e:xt(e)}</div>  <div class="qx-modal-footer qx-text-right">  <button class="qx-button qx-button-primary qx-modal-close" type="button" autofocus>${t.ok}</button>  </div>`,n)},e.confirm=function(e,n){return t(({i18n:t})=>`<form>  <div class="qx-modal-body">${E(e)?e:xt(e)}</div>  <div class="qx-modal-footer qx-text-right">  <button class="qx-button qx-button-default qx-modal-close" type="button">${t.cancel}</button>  <button class="qx-button qx-button-primary" autofocus>${t.ok}</button>  </div>  </form>`,n,()=>Promise.reject())},e.prompt=function(e,n,r){const i=t(({i18n:t})=>`<form class="qx-form-stacked">  <div class="qx-modal-body">  <label>${E(e)?e:xt(e)}</label>  <input class="qx-input" autofocus>  </div>  <div class="qx-modal-footer qx-text-right">  <button class="qx-button qx-button-default qx-modal-close" type="button">${t.cancel}</button>  <button class="qx-button qx-button-primary">${t.ok}</button>  </div>  </form>`,r,()=>null,()=>s.value),{$el:o}=i.dialog,s=qt("input",o);return s.value=n||"",Ye(o,"show",()=>s.select()),i},e.i18n={ok:"Ok",cancel:"Cancel"}},mixins:[pi],data:{clsPage:"qx-modal-page",selPanel:".qx-modal-dialog",selClose:'[class*="qx-modal-close"]'},events:[{name:"fullscreenchange webkitendfullscreen",capture:!0,handler(e){vt(e.target,"video")&&this.isToggled()&&!document.fullscreenElement&&this.hide()}}
2,{name:"show",self:!0,handler(){ee(this.panel,"qx-margin-auto-vertical")?Z(this.$el,"qx-flex"):ot(this.$el,"display","block"),Ft(this.$el)}},{name:"hidden",self:!0,handler(){ot(this.$el,"display",""),K(this.$el,"qx-flex")}}]};var ga={extends:gs,data:{targets:"> .qx-parent",toggle:"> a",content:"> ul"}};const ma="qx-navbar-transparent";var ya={extends:Os,props:{dropbarTransparentMode:Boolean},data:{flip:!1,autoUpdate:!1,delayShow:200,clsDrop:"qx-navbar-dropdown",selNavItem:".qx-navbar-nav > li > a,a.qx-navbar-item,button.qx-navbar-item,.qx-navbar-item a,.qx-navbar-item button,.qx-navbar-toggle",dropbarTransparentMode:!1},computed:{navbarContainer:(e,t)=>t.closest(".qx-navbar-container")},watch:{items(){const e=ee(this.$el,"qx-navbar-justify"),t=Pt(".qx-navbar-nav, .qx-navbar-left, .qx-navbar-right",this.$el);for(const n of t)ot(n,"flexGrow",e?Pt(".qx-navbar-nav > li > a, .qx-navbar-item, .qx-navbar-toggle",n).length:"")}},events:[{name:"show",el:({dropContainer:e})=>e,handler({target:e}){"remove"===this.getTransparentMode(e)&&ee(this.navbarContainer,ma)&&(K(this.navbarContainer,ma),this._transparent=!0)}},{name:"hide",el:({dropContainer:e})=>e,async handler(){await Sr(),!this._transparent||$s&&this.dropContainer.contains($s.$el)||(Z(this.navbarContainer,ma),this._transparent=null)}}],methods:{getTransparentMode(e){if(!this.navbarContainer)return;if(this.dropbar&&this.isDropbarDrop(e))return this.dropbarTransparentMode;const t=this.getDropdown(e);return t&&ee(e,"qx-dropbar")?t.inset?"behind":"remove":void 0},getDropbarOffset(e){const{top:t,height:n}=Bt(this.navbarContainer);return t+("behind"===this.dropbarTransparentMode?0:n+e)}}},va={mixins:[pi],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"qx-offcanvas-page",clsContainer:"qx-offcanvas-container",selPanel:".qx-offcanvas-bar",clsFlip:"qx-offcanvas-flip",clsContainerAnimation:"qx-offcanvas-container-animation",clsSidebarAnimation:"qx-offcanvas-bar-animation",clsMode:"qx-offcanvas",clsOverlay:"qx-offcanvas-overlay",selClose:".qx-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip:({flip:e,clsFlip:t})=>e?t:"",clsOverlay:({overlay:e,clsOverlay:t})=>e?t:"",clsMode:({mode:e,clsMode:t})=>`${t}-${e}`,clsSidebarAnimation:({mode:e,clsSidebarAnimation:t})=>"none"===e||"reveal"===e?"":t,clsContainerAnimation:({mode:e,clsContainerAnimation:t})=>"push"!==e&&"reveal"!==e?"":t,transitionElement({mode:e}){return"reveal"===e?Se(this.panel):this.panel}},observe:br({filter:({swiping:e})=>e}),update:{read(){this.isToggled()&&!xe(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter:({overlay:e})=>e,handler(e){e.cancelable&&e.preventDefault()}},{name:"show",self:!0,handler(){"reveal"!==this.mode||ee(Se(this.panel),this.clsMode)||Z(At(this.panel,"<div>"),this.clsMode);const{body:e,scrollingElement:t}=document;Z(e,this.clsContainer,this.clsFlip),ot(e,"touchAction","pan-y pinch-zoom"),ot(this.$el,"display","block"),ot(this.panel,"maxWidth",t.clientWidth),Z(this.$el,this.clsOverlay),Z(this.panel,this.clsSidebarAnimation,"reveal"===this.mode?"":this.clsMode),Ft(e),Z(e,this.clsContainerAnimation),this.clsContainerAnimation&&(ba().content+=",user-scalable=0")}},{name:"hide",self:!0,handler(){K(document.body,this.clsContainerAnimation),ot(document.body,"touchAction","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&function(){const e=ba();e.content=e.content.replace(/,user-scalable=0$/,"")}(),"reveal"===this.mode&&ee(Se(this.panel),this.clsMode)&&Ct(this.panel),K(this.panel,this.clsSidebarAnimation,this.clsMode),K(this.$el,this.clsOverlay),ot(this.$el,"display",""),ot(this.panel,"maxWidth",""),K(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(e){this.isToggled()&&c(e.type,"Left")^this.flip&&this.hide()}}]};function ba(){return qt('meta[name="viewport"]',document.head)||kt(document.head,'<meta name="viewport">')}var xa={mixins:[tr],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".qx-modal",selContent:".qx-modal-dialog",minHeight:150},computed:{container:({selContainer:e},t)=>t.closest(e),content:({selContent:e},t)=>t.closest(e)},observe:dr({target:({container:e,content:t})=>[e,t]}),update:{read(){return!!(this.content&&this.container&&xe(this.$el))&&{max:Math.max(this.minHeight,Ft(this.container)-(Dt(this.content).height-Ft(this.$el)))}},write({max:e}){ot(this.$el,{minHeight:this.minHeight,maxHeight:e})},events:["resize"]}},wa={data:{threshold:5,fadeDuration:.05},events:[{name:"scroll",self:!0,passive:!0,handler(){this.$emit()}},{name:he,handler:function(e){const{target:t,button:n,defaultPrevented:r}=e;if(r||n>0||nt(e)||t.closest(we)||ke(t))return;e.preventDefault();const i={passive:!1,capture:!0},{$el:o,threshold:s,$options:a}=this;let l;const c=Ye(document,pe,function(e){let t=rt(e),n=t,r=n;return function(e){r=n,n=rt(e);const i=ee(o,`${a.id}
2-vertical`),c=i?"y":"x";if(l||=Math.abs(n[c]-t[c])>s,l){const e=r[c]-n[c];o[i?"scrollTop":"scrollLeft"]+=e}}}(e),i);Ye(document,[de,me],function(){c(),l&&setTimeout(Ye(o,"click",e=>e.preventDefault(),i))},{capture:!0,once:!0})}}],observe:[gr({options:{subtree:!0,childList:!0}}),dr({target:({$el:e})=>[e,...Ce(e)]})],update:{read(){const e=[];for(const t of["Width","Height"])e.push(this.$el[`scroll${t}`]-this.$el[`client${t}`]);return{overflow:e}},write({overflow:e}){for(let t=0;t<2;t++)if(te(this.$el,`${this.$options.id}-${t?"vertical":"horizontal"}`,e[t]&&!e[t-1]),!e[t-1]){const n=t?"Top":"Left",r=e[t]?this.$el[`scroll${n}`]/e[t]:0,i=n=>e[t]?F((this.fadeDuration-n)/this.fadeDuration):1;ot(this.$el,{"--qx-overflow-fade-start-opacity":i(r),"--qx-overflow-fade-end-opacity":i(1-r)})}},events:["resize"]}};var ka={props:["width","height"],connected(){Z(this.$el,"qx-responsive-width"),ot(this.$el,"aspectRatio",`${this.width}/${this.height}`)}},$a={props:{offset:Number},data:{offset:0},connected(){var e;e=this,Ea.size||Ye(document,"click",Sa),Ea.add(e)},disconnected(){var e;e=this,Ea.delete(e),Ea.size||Je(document,"click",Sa)},methods:{async scrollTo(e){e=e&&qt(e)||document.body,Ge(this.$el,"beforescroll",[this,e])&&(await Tn(e,{offset:this.offset}),Ge(this.$el,"scrolled",[this,e]))}}};const Ea=new Set;function Sa(e){if(!e.defaultPrevented)for(const t of Ea)t.$el.contains(e.target)&&Ne(t.$el)&&(e.preventDefault(),window.location.href!==t.$el.href&&window.history.pushState({},"",t.$el.href),t.scrollTo(je(t.$el)))}const _a="qx-scrollspy-inview";var Aa={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0}),computed:{elements:({target:e},t)=>e?Pt(e,t):[t]},watch:{elements(e){this.hidden&&ot(_e(e,`:not(.${_a})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[e,t]of this.elementData.entries())K(e,_a,t.cls||"");delete this.elementData},observe:fr({target:({elements:e})=>e,handler(e){const t=this.elementData;for(const{target:n,isIntersecting:r}of e){t.has(n)||t.set(n,{cls:se(n,"qx-scrollspy-class")||this.cls});const e=t.get(n);!this.repeat&&e.show||(e.show=r)}this.$emit()},options:({margin:e})=>({rootMargin:e}),args:{intersecting:!1}}),update:[{write(e){for(const[t,n]of this.elementData.entries())!n.show||n.inview||n.queued?!n.show&&n.inview&&!n.queued&&this.repeat&&this.toggle(t,!1):(n.queued=!0,e.promise=(e.promise||Promise.resolve()).then(async()=>{await Sr(n.show?this.delay:0),this.toggle(t,!0),setTimeout(()=>{n.queued=!1,this.$emit()},300)}))}}],methods:{toggle(e,t){const n=this.elementData?.get(e);if(!n)return;let r;if(n.off?.(),ot(e,"opacity",!t&&this.hidden?0:""),te(e,_a,t),te(e,n.cls),r=n.cls.match(/\bqx-animation-[\w-]+/g)){const i=()=>K(e,r);t?n.off=Xe(e,"animationcancel animationend",i,{self:!0}):i()}Ge(e,t?"inview":"outview"),n.inview=t}}},Ta={props:{cls:String,closest:Boolean,scroll:Boolean,target:String,offset:Number},data:{cls:"qx-active",closest:!1,scroll:!1,target:'a[href]:not([role="button"])',offset:0},computed:{links:{get:({target:e},t)=>Pt(e,t).filter(je),observe:()=>"*"},targets(){return this.links.map(e=>je(e))},elements({closest:e}){return this.links.map(t=>t.closest(e||"*"))}},watch:{links(e){this.scroll&&this.$create("scroll",e,{offset:this.offset})}},observe:[fr(),vr()],update:[{read(){const{targets:e}=this,{length:t}=e;if(!t||!xe(this.$el))return!1;const n=Nn(e,!0),{scrollTop:r,scrollHeight:i}=n,o=In(n);let s=!1;if(r>=i-o.height)s=t-1;else{const t=this.offset+Dt(qn()).height+.1*o.height;for(let n=0;n<e.length&&!(Bt(e[n]).top-o.top-t>0);n++)s=+n}return{active:s}},write({active:e}){const{elements:t}=this,n=!1!==e&&!ee(t[e],this.cls);this.links.forEach(e=>e.blur());for(let n=0;n<t.length;n++)te(t[n],this.cls,+n===e);n&&Ge(this.$el,"active",[e,t[e]])},events:["scroll","resize"]}]},Ca={mixins:[tr,yo],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,offsetEnd:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,offsetEnd:0,overflowFlip:!1,animation:"",clsActive:"qx-active",clsInactive:"",clsFixed:"qx-sticky-fixed",clsBelow:"qx-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{target:({selTarget:e},t)=>e&&qt(e,t)||t},connected(){this.start=Na(this.start||this.top),this.end=Na(this.end||this.bottom),this.placeholder=qt("+ .qx-sticky-placeholder",this.$el)||qt('<div class="qx-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},beforeDisconnect(){this.isFixed&&(this.hide(),K(this.target,this.clsInactive)),ja(this.$el),_t(this.placeholder),this.placeholder=null},observe:[yr(),vr({target:()=>document.scrollingElement}),dr({target:({$el:e})=>[e,Pa(e),document.scrollingElement],handler(e){this.$emit(this._data.resized&&e.some(({target:e})=>e===Pa(this.$el))?"update":"resize"),this._data.resized=!0}})],events:[{name:"load hashchange popstate",el:()=>window,filter:({targetOffset:e})=>!1!==e,async handler(){const{scrollingElement:e}=document;if(!location.hash||0===e.scrollTop)return;await Sr();const t=Bt(qt(location.hash)),n=Bt(this.$el);this.isFixed&&W(t,n)&&(e.scrollTop=Math.ceil(t.top-n.height-Yt(this.targetOffset,"height",this.placeholder)-Yt(this.offset,"height",this.placeholder)))}}],update:[{read({height:e,width:t,margin:n,sticky:r}
2,i){if(this.inactive=!this.matchMedia||!xe(this.$el)||!this.$el.offsetHeight,this.inactive)return;const o=Ft(window),s=Math.max(0,document.scrollingElement.scrollHeight-o);if(!s)return void(this.inactive=!0);const a=this.isFixed&&i.has("update");a&&(qa(this.target),this.hide()),this.active||(({height:e,width:t}=Dt(this.$el)),n=ot(this.$el,"margin")),a&&this.show();const l=Yt("100vh","height");let c=this.position;this.overflowFlip&&e>l&&(c="top"===c?"bottom":"top");const u=this.isFixed?this.placeholder:this.$el;let[h,p]=[this.offset,this.offsetEnd].map(e=>Yt(e,"height",r?this.$el:u));"bottom"===c&&(e<o||this.overflowFlip)&&(h+=o-e);const d=e+h+p,f=this.overflowFlip?0:Math.max(0,d-l),g=Bt(u).top-new DOMMatrix(ot(u,"transform")).m42,m=Dt(this.$el).height,y=(!1===this.start?g:Oa(this.start,this.$el,g))-h,v=!1===this.end?s:Math.min(s,Oa(this.end,this.$el,g+e,!0)-m-h+f);return r=!this.showOnUp&&y+h===g&&v===Math.min(s,Oa(!0,this.$el,0,!0)-m-h+f)&&"hidden"!==ot(Pa(this.$el),"overflowY"),{start:y,end:v,offset:h,overflow:f,height:e,elHeight:m,width:t,margin:n,top:Lt(u)[0],sticky:r,viewport:l,maxScrollHeight:s}},write({height:e,width:t,margin:n,offset:r,sticky:i}){if((this.inactive||i||!this.isFixed)&&ja(this.$el),this.inactive)return;i&&(e=t=n=0,ot(this.$el,{position:"sticky",top:r}));const{placeholder:o}=this;ot(o,{height:e,width:t,margin:n}),(Se(o)!==Se(this.$el)||i^Oe(o)<Oe(this.$el))&&((i?$t:Et)(this.$el,o),o.hidden=!0)},events:["resize"]},{read({scroll:e=0,dir:t="down",overflow:n,overflowScroll:r=0,start:i,end:o,elHeight:s,height:a,sticky:l,maxScrollHeight:c}){const u=Math.min(document.scrollingElement.scrollTop,c),h=e<=u?"down":"up",p=this.isFixed?this.placeholder:this.$el;return{dir:h,prevDir:t,scroll:u,prevScroll:e,below:u>Bt(p).top+(l?Math.min(a,s):a),offsetParentTop:Bt(p.offsetParent).top,overflowScroll:F(r+F(u,i,o)-F(e,i,o),0,n)}},write(e,t){const n=t.has("scroll"),{initTimestamp:r=0,dir:i,prevDir:o,scroll:s,prevScroll:a=0,top:l,start:c,below:u}=e;if(s<0||s===a&&n||this.showOnUp&&!n&&!this.isFixed)return;const h=Date.now();if((h-r>300||i!==o)&&(e.initScroll=s,e.initTimestamp=h),!(this.showOnUp&&!this.isFixed&&Math.abs(e.initScroll-s)<=30&&Math.abs(a-s)<=10))if(this.inactive||s<c||this.showOnUp&&(s<=c||"down"===i&&n||"up"===i&&!this.isFixed&&!u)){if(!this.isFixed)return void(yt.inProgress(this.$el)&&l>s&&(yt.cancel(this.$el),this.hide()));if(this.animation&&u){if(ee(this.$el,"qx-animation-leave"))return;yt.out(this.$el,this.animation).then(()=>this.hide(),U)}else this.hide()}else this.isFixed?this.update():this.animation&&u?(this.show(),yt.in(this.$el,this.animation).catch(U)):(qa(this.target),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:e,sticky:t}=this._data;this.setActive(!1),K(this.$el,this.clsFixed,this.clsBelow),t?ot(this.$el,"top",e):ja(this.$el),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:e,scroll:t=0,overflow:n,overflowScroll:r=0,start:i,end:o,offset:s,offsetParentTop:a,sticky:l,below:c}=this._data;const u=0!==i||t>i;if(!l){let i="fixed";t>o&&(s+=o-a+r-n,i="absolute"),ot(this.$el,{position:i,width:e,marginTop:0},"important")}ot(this.$el,"top",s-r),this.setActive(u),te(this.$el,this.clsBelow,c),Z(this.$el,this.clsFixed)},setActive(e){const t=this.active;this.active=e,e?(Q(this.target,this.clsInactive,this.clsActive),t!==e&&Ge(this.$el,"active")):(Q(this.target,this.clsActive,this.clsInactive),t!==e&&(qa(this.target),Ge(this.$el,"inactive")))}}};function Oa(e,t,n,r){if(!e)return 0;if(_(e)||E(e)&&e.match(/^-?\d/))return n+Yt(e,"height",t,!0);{const n=!0===e?Pa(t):Ie(e,t);return Bt(n).bottom-(r&&n?.contains(t)?N(ot(n,"paddingBottom"))+N(ot(n,"borderBottomWidth")):0)}}function Na(e){return"true"===e||"false"!==e&&e}function ja(e){ot(e,{position:"",top:"",marginTop:"",width:""})}const Ia="qx-transition-disable";async function qa(e){ee(e,Ia)||(Z(e,Ia),await Er(),K(e,Ia))}function Pa(e){for(;e=Se(e);)if(xe(e))return e}var za={mixins:[Fs],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[gr({async handler(){const e=await this.svg;e&&Ma.call(this,e)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){u(this.src,"#")&&([this.src,this.icon]=this.src.split("#",2));const e=await this.svg;e&&(Ma.call(this,e),this.strokeAnimation&&function(e){const t=vo(e);t&&ot(e,"--qx-animation-stroke",t)}(e))},methods:{async getSvg(){return vt(this.$el,"img")&&!this.$el.complete&&"lazy"===this.$el.loading&&await new Promise(e=>Xe(this.$el,"load",e)),Hs(await Da(this.src),this.icon)||Promise.reject("SVG not found.")}}};function Ma(e){const{$el:t}=this;Z(e,re(t,"class"),"qx-svg");for(let n=0;n<t.style.length;n++){const r=t.style[n];ot(e,r,ot(t,r))}for(const t in this.attributes){const[n,r]=this.attributes[t].split(":",2);re(e,n,r)}e.ariaHidden=this.$el.ariaHidden,this.$el.id||oe(e,"id")}const Da=G(async e=>{if(e){const t=await fetch(e);if("image/svg+xml"===t.headers.get("Content-Type"))return t.text()}return Promise.reject()});const Ba=".qx-disabled *, .qx-disabled, [disabled]";var Ra={mixins:[ai],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.qx-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"qx-active",attrItem:"qx-switcher-item",selVertical:".qx-nav",followFocus:!1,swiping:!0},computed:{connects:{get:({connect:e},t)=>qe(e,t),observe:({connect:e})=>e},connectChildren(){return this.connects.map(e=>Ce(e)).flat()},toggles:({toggle:e},t)=>Pt(e,t),children(e,t){return Ce(t).filter(e=>this.toggles.some(t=>e.contains(t)))}},watch:{connects(e){this.swiping&&ot(e,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let e=Math.max(0,this.index());for(const t of this.connects)Ce(t).forEach((t,n)=>te(t,this.cls,n===e));this.$emit()},toggles(){this.$emit();const e=this.index();this.show(~e?e:this.next(this.active))}},connected(){this.$el.role="tablist"},observe:[mr({targets:({connectChildren:e})=>e}),br({target:({connects:e})=>e,filter:({swiping:e})=>e})],events:[{name:"click keydown",delegate:({toggle:e})=>e,handler(e){Ae(e.current,Ba)||"click"!==e.type&&e.keyCode!==Rr||(zr(e),this.show(e.current))}},{name:"keydown",delegate:({toggle:e})=>e,handler(e){const{current:t,keyCode:n}=e,r=Ae(this.$el,this.selVertical);let i=n===Fr?0:n===Lr?"last":n===Ur&&!r||n===Wr&&r?"previous":n===Hr&&!r||n===Vr&&r?"next":-1;if(~i){e.preventDefault();const n=this.toggles[this.next(i,this.toggles.indexOf(t))];n.focus(),this.followFocus&&this.show(n)}}},{name:"click",el:({$el:e,connects:t,itemNav:n})=>t.concat(n?qe(n,e):[]),delegate:({attrItem:e})=>`[${e}],[data-${e}]`,handler(e){e.target.closest("a,button")&&(zr(e),this.show(se(e.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter:({swiping:e})=>e,el:({connects:e})=>e,handler({type:e}){this.show(c(e,"Left")?"next":"previous")}}],update(){for(const e of this.connects)vt(e,"ul")&&(e.role="presentation");re(Ce(this.$el),"role","presentation");for(const e in this.toggles){const t=this.toggles[e],n=this.connects[0]?.children[e];
2t.role="tab",n&&(t.id=eo(this,t),n.id=eo(this,n),t.ariaControls=n.id,re(n,{role:"tabpanel","aria-labelledby":t.id}))}re(this.$el,"aria-orientation",Ae(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return h(this.children,e=>ee(e,this.cls))},next(e,t=this.index()){if(_(e))for(let t=0;t<this.toggles.length;t++){let n=X(t+ +e,this.toggles);if(!Ae(this.toggles[n],Ba))return n}const n=this.toggles.filter(e=>!Ae(e,Ba));return X(n[X(e,n,n.indexOf(this.toggles[t]))],this.toggles)},show(e){const t=this.index(),n=this.next(e);this.children.forEach((e,t)=>{te(e,this.cls,n===t),re(this.toggles[t],{"aria-selected":n===t,tabindex:n===t?null:-1})});const r=t>=0&&t!==n;this.connects.forEach(async({children:e})=>{const t=d(e).filter((e,t)=>t!==n&&ee(e,this.cls));await this.toggleElement(t,!1,r)&&await this.toggleElement(e[n],!0,r)})}}},La={mixins:[tr],extends:Ra,props:{media:Boolean},data:{media:960,attrItem:"qx-tab-item",selVertical:".qx-tab-left,.qx-tab-right"},connected(){const e=ee(this.$el,"qx-tab-left")?"qx-tab-left":!!ee(this.$el,"qx-tab-right")&&"qx-tab-right";e&&this.$create("toggle",this.$el,{cls:e,mode:"media",media:this.media})}},Fa={mixins:[yo,ai],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get:({target:e},t)=>(e=qe(e||t.hash,t)).length?e:[t],observe:({target:e})=>e}},connected(){u(this.mode,"media")||(Ee(this.$el)||(this.$el.tabIndex=0),!this.cls&&vt(this.$el,"a")&&(this.$el.role="button"))},observe:mr({targets:({target:e})=>e}),events:[{name:he,filter:({mode:e})=>u(e,"hover"),handler(e){this._preventClick=null,!nt(e)||$(this._showState)||this.$el.disabled||(Ge(this.$el,"focus"),Xe(document,he,()=>
2Ge(this.$el,"blur"),!0,e=>!this.$el.contains(e.target)),u(this.mode,"click")&&(this._preventClick=!0))}},{name:`${fe} ${ge} focus blur`,filter:({mode:e})=>u(e,"hover"),handler(e){if(nt(e)||this.$el.disabled||"loading"===document.readyState)return;const t=u([fe,"focus"],e.type),n=this.isToggled(this.target);t||!(!$(this._showState)||e.type===ge&&Ae(this.$el,":focus")||"blur"===e.type&&Ae(this.$el,":hover"))?t&&$(this._showState)&&n!==this._showState||(this._showState=t?n:null,this.toggle("toggle"+(t?"show":"hide"))):n===this._showState&&(this._showState=null)}},{name:"keydown",filter:({$el:e,mode:t})=>u(t,"click")&&!vt(e,"input"),handler(e){e.keyCode!==Rr&&e.keyCode!==Dr||(e.preventDefault(),this.$el.click())}},{name:"click",filter:({mode:e})=>["click","hover"].some(t=>u(e,t)),handler(e){if(e.defaultPrevented)return;const t=e.target.closest("a[href]"),n=Ne(t)&&(!t.hash||Ae(this.target,t.hash));(this._preventClick||n||t&&!this.isToggled(this.target))&&e.preventDefault(),this._preventClick||!u(this.mode,"click")||t&&!n&&!e.defaultPrevented||this.toggle()}},{name:"mediachange",filter:({mode:e})=>u(e,"media"),el:({target:e})=>e,handler(e,t){t.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(e){if(!Ge(this.target,e||"toggle",[this]))return;if(ie(this.$el,"aria-expanded")&&(this.$el.ariaExpanded=!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const t=this.target.filter(e=>ee(e,this.clsLeave));if(t.length){for(const e of this.target){const n=u(t,e);this.toggleElement(e,n,n)}return}const n=this.target.filter(this.isToggled);await this.toggleElement(n,!1)&&await this.toggleElement(this.target.filter(e=>!u(n,e)),!0)}}};return D(Object.freeze({__proto__:null,Accordion:gs,AccordionIcon:Gs,Alert:ys,Close:ra,Cover:ws,Drop:Es,DropParentIcon:Gs,Dropdown:Es,Dropnav:Os,FormCustom:js,Grid:Is,HeightMatch:zs,HeightPlaceholder:Bs,HeightViewport:Rs,Icon:Xs,Img:Kr,Inverse:ua,Leader:da,Margin:wr,Marker:ia,Modal:fa,Nav:ga,NavParentIcon:Zs,Navbar:ya,NavbarParentIcon:Gs,NavbarToggleIcon:na,Offcanvas:va,OverflowAuto:xa,OverflowFade:wa,OverlayIcon:Gs,PaginationNext:sa,PaginationPrevious:aa,Responsive:ka,Scroll:$a,Scrollspy:Aa,ScrollspyNav:Ta,SearchIcon:Ks,SlidenavNext:ta,SlidenavPrevious:ta,Spinner:Qs,Sticky:Ca,Svg:za,Switcher:Ra,Tab:La,Toggle:Fa,Totop:oa,Video:bs}),(e,t)=>Wi.component(t,e)),function(e){ae&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>us(e)):new MutationObserver((t,n)=>{document.body&&(us(e),n.disconnect())}).observe(document.documentElement,{childList:!0}))}(Wi),D(cs,(e,t)=>Wi.component(t,e)),Wi}()},1008(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},7431(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.
219","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.