@quandis/qbo4.configuration 4.0.1-CI-20240406-142339 → 4.0.1-CI-20240508-211012
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see qbo4.configuration.min.js.LICENSE.txt */
|
|
2
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.qbo4=e():(t.qbo4=t.qbo4||{},t.qbo4.configuration=e())}(self,(()=>(()=>{var t={630:(t,e,r)=>{var n;!function(t){!function(e){var n="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),i=o(t);function o(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==n.Reflect&&(i=o(n.Reflect,i)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,i=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,u={create:s?function(){return z(Object.create(null))}:a?function(){return z({__proto__:null})}:function(){return z({})},has:c?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:c?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},l=Object.getPrototypeOf(Function),h="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[o]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,i=r+1;i<n;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,j(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,n)},e.prototype.values=function(){return new r(this._keys,this._values,i)},e.prototype.entries=function(){return new r(this._keys,this._values,s)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[o]=function(){return this.entries()},e.prototype._find=function(t,e){if(!j(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(j(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function n(t,e){return t}function i(t,e){return e}function s(t,e){return[t,e]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new h}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[o]=function(){return this.keys()},t}(),p="function"==typeof WeakMap?WeakMap:function(){var t=16,e=u.create(),n=i();return function(){function t(){this._key=i()}return t.prototype.has=function(t){var e=o(t,!1);return void 0!==e&&u.has(e,this._key)},t.prototype.get=function(t){var e=o(t,!1);return void 0!==e?u.get(e,this._key):void 0},t.prototype.set=function(t,e){return o(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=o(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=i()},t}();function i(){var t;do{t="@@WeakMap@@"+a()}while(u.has(e,t));return e[t]=!0,t}function o(t,e){if(!r.call(t,n)){if(!e)return;Object.defineProperty(t,n,{value:u.create()})}return t[n]}function s(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function a(){var e=function(t){if("function"==typeof Uint8Array){var e=new Uint8Array(t);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):s(e,t),e}return s(new Array(t),t)}(t);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var r="",n=0;n<t;++n){var i=e[n];4!==n&&6!==n&&8!==n||(r+="-"),i<16&&(r+="0"),r+=i.toString(16).toLowerCase()}return r}}(),d=n?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var t;return!E(d)&&P(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[d]),E(t)&&(t=function(){var t,r,n,i;E(d)||void 0===e.Reflect||d in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,i=t.getOwnMetadataKeys,o=t.deleteMetadata,s=new p;return{isProviderFor:function(t,e){var r=s.get(t);return!(E(r)||!r.has(e))||!!i(t,e).length&&(E(r)&&(r=new f,s.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:o}}(e.Reflect));var o=new p,s={registerProvider:a,getProvider:u,setProvider:y};return s;function a(e){if(!Object.isExtensible(s))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case E(r):r=e;break;case r===e:break;case E(n):n=e;break;case n===e:break;default:void 0===i&&(i=new f),i.add(e)}}function c(e,o){if(!E(r)){if(r.isProviderFor(e,o))return r;if(!E(n)){if(n.isProviderFor(e,o))return r;if(!E(i))for(var s=U(i);;){var a=H(s);if(!a)return;var c=N(a);if(c.isProviderFor(e,o))return I(s),c}}}if(!E(t)&&t.isProviderFor(e,o))return t}function u(t,e){var r,n=o.get(t);return E(n)||(r=n.get(e)),E(r)?(E(r=c(t,e))||(E(n)&&(n=new h,o.set(t,n)),n.set(e,r)),r):r}function l(t){if(E(t))throw new TypeError;return r===t||n===t||!E(i)&&i.has(t)}function y(t,e,r){if(!l(r))throw new Error("Metadata provider not registered.");var n=u(t,e);if(n!==r){if(!E(n))return!1;var i=o.get(t);E(i)&&(i=new h,o.set(t,i)),i.set(e,r)}return!0}}()),!E(d)&&P(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,d,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),v=function(t){var e=new p,r={isProviderFor:function(t,r){var n=e.get(t);return!E(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,i){n(r,i,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var i=n(e,r,!1);return!E(i)&&C(i.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var i=n(e,r,!1);if(!E(i))return i.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],i=n(t,e,!1);if(E(i))return r;for(var o=U(i.keys()),s=0;;){var a=H(o);if(!a)return r.length=s,r;var c=N(a);try{r[s]=c}catch(t){try{I(o)}finally{throw t}}s++}},OrdinaryDeleteMetadata:function(t,r,i){var o=n(r,i,!1);if(E(o))return!1;if(!o.delete(t))return!1;if(0===o.size){var s=e.get(r);E(s)||(s.delete(i),0===s.size&&e.delete(s))}return!0}};return y.registerProvider(r),r;function n(n,i,o){var s=e.get(n),a=!1;if(E(s)){if(!o)return;s=new h,e.set(n,s),a=!0}var c=s.get(i);if(E(c)){if(!o)return;if(c=new h,s.set(i,c),!t.setProvider(n,i,r))throw s.delete(i),a&&e.delete(n),new Error("Wrong provider for target.")}return c}}(y);function g(t,e,r){if(_(t,e,r))return!0;var n=q(e);return!O(n)&&g(t,n,r)}function _(t,e,r){var n=V(e,r,!1);return!E(n)&&C(n.OrdinaryHasOwnMetadata(t,e,r))}function w(t,e,r){if(_(t,e,r))return b(t,e,r);var n=q(e);return O(n)?void 0:w(t,n,r)}function b(t,e,r){var n=V(e,r,!1);if(!E(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function m(t,e,r,n){V(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function $(t,e){var r=A(t,e),n=q(t);if(null===n)return r;var i=$(n,e);if(i.length<=0)return r;if(r.length<=0)return i;for(var o=new f,s=[],a=0,c=r;a<c.length;a++){var u=c[a];o.has(u)||(o.add(u),s.push(u))}for(var l=0,h=i;l<h.length;l++)u=h[l],o.has(u)||(o.add(u),s.push(u));return s}function A(t,e){var r=V(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function S(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function E(t){return void 0===t}function O(t){return null===t}function P(t){return"object"==typeof t?null!==t:"function"==typeof t}function R(t,e){switch(S(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var r=3===e?"string":5===e?"number":"default",n=D(t,i);if(void 0!==n){var o=n.call(t,r);if(P(o))throw new TypeError;return o}return function(t,e){if("string"===e){var r=t.toString;if(M(r)&&!P(i=r.call(t)))return i;if(M(n=t.valueOf)&&!P(i=n.call(t)))return i}else{var n;if(M(n=t.valueOf)&&!P(i=n.call(t)))return i;var i,o=t.toString;if(M(o)&&!P(i=o.call(t)))return i}throw new TypeError}(t,"default"===r?"number":r)}function C(t){return!!t}function k(t){var e=R(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function x(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function M(t){return"function"==typeof t}function T(t){return"function"==typeof t}function j(t,e){return t===e||t!=t&&e!=e}function D(t,e){var r=t[e];if(null!=r){if(!M(r))throw new TypeError;return r}}function U(t){var e=D(t,o);if(!M(e))throw new TypeError;var r=e.call(t);if(!P(r))throw new TypeError;return r}function N(t){return t.value}function H(t){var e=t.next();return!e.done&&e}function I(t){var e=t.return;e&&e.call(t)}function q(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===l)return e;if(e!==l)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var i=n.constructor;return"function"!=typeof i||i===t?e:i}function V(t,e,r){var n=y.getProvider(t,e);if(!E(n))return n;if(r){if(y.setProvider(t,e,v))return v;throw new Error("Illegal state.")}}function z(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,n){if(E(r)){if(!x(t))throw new TypeError;if(!T(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!E(n)&&!O(n)){if(!T(n))throw new TypeError;e=n}}return e}(t,e)}if(!x(t))throw new TypeError;if(!P(e))throw new TypeError;if(!P(n)&&!E(n)&&!O(n))throw new TypeError;return O(n)&&(n=void 0),function(t,e,r,n){for(var i=t.length-1;i>=0;--i){var o=(0,t[i])(e,r,n);if(!E(o)&&!O(o)){if(!P(o))throw new TypeError;n=o}}return n}(t,e,r=k(r),n)})),t("metadata",(function(t,e){return function(r,n){if(!P(r))throw new TypeError;if(!E(n)&&!function(t){switch(S(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;m(t,e,r,n)}})),t("defineMetadata",(function(t,e,r,n){if(!P(r))throw new TypeError;return E(n)||(n=k(n)),m(t,e,r,n)})),t("hasMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),g(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),_(t,e,r)})),t("getMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),w(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),b(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!P(t))throw new TypeError;return E(e)||(e=k(e)),$(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!P(t))throw new TypeError;return E(e)||(e=k(e)),A(t,e)})),t("deleteMetadata",(function(t,e,r){if(!P(e))throw new TypeError;if(E(r)||(r=k(r)),!P(e))throw new TypeError;E(r)||(r=k(r));var n=V(e,r,!1);return!E(n)&&n.OrdinaryDeleteMetadata(t,e,r)}))}(i,n),void 0===n.Reflect&&(n.Reflect=t)}()}(n||(n={}))}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";var t;r.r(n),r.d(n,{Configuration:()=>j,ConfigurationSection:()=>T,EmptyConfigurationSource:()=>M,IConfigurationSourceToken:()=>R,IConfigurationToken:()=>C,JsonConfigurationSource:()=>x,QboConfigEditor:()=>Jt,Services:()=>O,iterateConfig:()=>k,services:()=>P}),r(630),function(t){t[t.Transient=0]="Transient",t[t.Singleton=1]="Singleton",t[t.ResolutionScoped=2]="ResolutionScoped",t[t.ContainerScoped=3]="ContainerScoped"}(t||(t={}));const e=t;var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},i(t,e)};function o(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}function u(t){return!!t.useClass}function l(t){return!!t.useFactory}var h=function(){function t(t){this.wrap=t,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct","ownKeys"]}return t.prototype.createProxy=function(t){var e,r=this,n=!1;return new Proxy({},this.createHandler((function(){return n||(e=t(r.wrap()),n=!0),e})))},t.prototype.createHandler=function(t){var e={};return this.reflectMethods.forEach((function(r){e[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e[0]=t(),Reflect[r].apply(void 0,c(e))}})),e},t}();function f(t){return"string"==typeof t||"symbol"==typeof t}function p(t){return"object"==typeof t&&"token"in t&&"transform"in t}function d(t){return!!t.useToken}function y(t){return null!=t.useValue}const v=function(){function t(){this._registryMap=new Map}return t.prototype.entries=function(){return this._registryMap.entries()},t.prototype.getAll=function(t){return this.ensure(t),this._registryMap.get(t)},t.prototype.get=function(t){this.ensure(t);var e=this._registryMap.get(t);return e[e.length-1]||null},t.prototype.set=function(t,e){this.ensure(t),this._registryMap.get(t).push(e)},t.prototype.setAll=function(t,e){this._registryMap.set(t,e)},t.prototype.has=function(t){return this.ensure(t),this._registryMap.get(t).length>0},t.prototype.clear=function(){this._registryMap.clear()},t.prototype.ensure=function(t){this._registryMap.has(t)||this._registryMap.set(t,[])},t}(),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(v),_=function(){this.scopedResolutions=new Map};var w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(v),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(v);const m=function(){this.preResolution=new w,this.postResolution=new b};var $=new Map,A=function(){function t(t){this.parent=t,this._registry=new g,this.interceptors=new m,this.disposed=!1,this.disposables=new Set}return t.prototype.register=function(t,r,n){var i;if(void 0===n&&(n={lifecycle:e.Transient}),this.ensureNotDisposed(),i=function(t){return u(t)||y(t)||d(t)||l(t)}(r)?r:{useClass:r},d(i))for(var o=[t],s=i;null!=s;){var a=s.useToken;if(o.includes(a))throw new Error("Token registration cycle detected! "+c(o,[a]).join(" -> "));o.push(a);var h=this._registry.get(a);s=h&&d(h.provider)?h.provider:null}if((n.lifecycle===e.Singleton||n.lifecycle==e.ContainerScoped||n.lifecycle==e.ResolutionScoped)&&(y(i)||l(i)))throw new Error('Cannot use lifecycle "'+e[n.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(t,{provider:i,options:n}),this},t.prototype.registerType=function(t,e){return this.ensureNotDisposed(),f(e)?this.register(t,{useToken:e}):this.register(t,{useClass:e})},t.prototype.registerInstance=function(t,e){return this.ensureNotDisposed(),this.register(t,{useValue:e})},t.prototype.registerSingleton=function(t,r){if(this.ensureNotDisposed(),f(t)){if(f(r))return this.register(t,{useToken:r},{lifecycle:e.Singleton});if(r)return this.register(t,{useClass:r},{lifecycle:e.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var n=t;return r&&!f(r)&&(n=r),this.register(t,{useClass:n},{lifecycle:e.Singleton})},t.prototype.resolve=function(t,e){void 0===e&&(e=new _),this.ensureNotDisposed();var r=this.getRegistration(t);if(!r&&f(t))throw new Error('Attempted to resolve unregistered dependency token: "'+t.toString()+'"');if(this.executePreResolutionInterceptor(t,"Single"),r){var n=this.resolveRegistration(r,e);return this.executePostResolutionInterceptor(t,n,"Single"),n}if(function(t){return"function"==typeof t||t instanceof h}(t))return n=this.construct(t,e),this.executePostResolutionInterceptor(t,n,"Single"),n;throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},t.prototype.executePreResolutionInterceptor=function(t,e){var r,n;if(this.interceptors.preResolution.has(t)){var i=[];try{for(var o=s(this.interceptors.preResolution.getAll(t)),a=o.next();!a.done;a=o.next()){var c=a.value;"Once"!=c.options.frequency&&i.push(c),c.callback(t,e)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}this.interceptors.preResolution.setAll(t,i)}},t.prototype.executePostResolutionInterceptor=function(t,e,r){var n,i;if(this.interceptors.postResolution.has(t)){var o=[];try{for(var a=s(this.interceptors.postResolution.getAll(t)),c=a.next();!c.done;c=a.next()){var u=c.value;"Once"!=u.options.frequency&&o.push(u),u.callback(t,e,r)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}this.interceptors.postResolution.setAll(t,o)}},t.prototype.resolveRegistration=function(t,r){if(this.ensureNotDisposed(),t.options.lifecycle===e.ResolutionScoped&&r.scopedResolutions.has(t))return r.scopedResolutions.get(t);var n,i=t.options.lifecycle===e.Singleton,o=t.options.lifecycle===e.ContainerScoped,s=i||o;return n=y(t.provider)?t.provider.useValue:d(t.provider)?s?t.instance||(t.instance=this.resolve(t.provider.useToken,r)):this.resolve(t.provider.useToken,r):u(t.provider)?s?t.instance||(t.instance=this.construct(t.provider.useClass,r)):this.construct(t.provider.useClass,r):l(t.provider)?t.provider.useFactory(this):this.construct(t.provider,r),t.options.lifecycle===e.ResolutionScoped&&r.scopedResolutions.set(t,n),n},t.prototype.resolveAll=function(t,e){var r=this;void 0===e&&(e=new _),this.ensureNotDisposed();var n=this.getAllRegistrations(t);if(!n&&f(t))throw new Error('Attempted to resolve unregistered dependency token: "'+t.toString()+'"');if(this.executePreResolutionInterceptor(t,"All"),n){var i=n.map((function(t){return r.resolveRegistration(t,e)}));return this.executePostResolutionInterceptor(t,i,"All"),i}var o=[this.construct(t,e)];return this.executePostResolutionInterceptor(t,o,"All"),o},t.prototype.isRegistered=function(t,e){return void 0===e&&(e=!1),this.ensureNotDisposed(),this._registry.has(t)||e&&(this.parent||!1)&&this.parent.isRegistered(t,!0)},t.prototype.reset=function(){this.ensureNotDisposed(),this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},t.prototype.clearInstances=function(){var t,e;this.ensureNotDisposed();try{for(var r=s(this._registry.entries()),n=r.next();!n.done;n=r.next()){var i=a(n.value,2),o=i[0],c=i[1];this._registry.setAll(o,c.filter((function(t){return!y(t.provider)})).map((function(t){return t.instance=void 0,t})))}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},t.prototype.createChildContainer=function(){var r,n;this.ensureNotDisposed();var i=new t(this);try{for(var o=s(this._registry.entries()),c=o.next();!c.done;c=o.next()){var u=a(c.value,2),l=u[0],h=u[1];h.some((function(t){return t.options.lifecycle===e.ContainerScoped}))&&i._registry.setAll(l,h.map((function(t){return t.options.lifecycle===e.ContainerScoped?{provider:t.provider,options:t.options}:t})))}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},t.prototype.beforeResolution=function(t,e,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.preResolution.set(t,{callback:e,options:r})},t.prototype.afterResolution=function(t,e,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.postResolution.set(t,{callback:e,options:r})},t.prototype.dispose=function(){return function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{c(n.next(t))}catch(t){o(t)}}function a(t){try{c(n.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}c((n=n.apply(t,e||[])).next())}))}(this,void 0,void 0,(function(){var t;return function(t,e){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(e){switch(e.label){case 0:return this.disposed=!0,t=[],this.disposables.forEach((function(e){var r=e.dispose();r&&t.push(r)})),[4,Promise.all(t)];case 1:return e.sent(),[2]}}))}))},t.prototype.getRegistration=function(t){return this.isRegistered(t)?this._registry.get(t):this.parent?this.parent.getRegistration(t):null},t.prototype.getAllRegistrations=function(t){return this.isRegistered(t)?this._registry.getAll(t):this.parent?this.parent.getAllRegistrations(t):null},t.prototype.construct=function(t,e){var r=this;if(t instanceof h)return t.createProxy((function(t){return r.resolve(t,e)}));var n,i=function(){var n=$.get(t);if(!n||0===n.length){if(0===t.length)return new t;throw new Error('TypeInfo not known for "'+t.name+'"')}var i=n.map(r.resolveParams(e,t));return new(t.bind.apply(t,c([void 0],i)))}();return"function"!=typeof(n=i).dispose||n.dispose.length>0||this.disposables.add(i),i},t.prototype.resolveParams=function(t,e){var r=this;return function(n,i){var o,s,u,l;try{return"object"==typeof(l=n)&&"token"in l&&"multiple"in l?p(n)?n.multiple?(o=r.resolve(n.transform)).transform.apply(o,c([r.resolveAll(n.token)],n.transformArgs)):(s=r.resolve(n.transform)).transform.apply(s,c([r.resolve(n.token,t)],n.transformArgs)):n.multiple?r.resolveAll(n.token):r.resolve(n.token,t):p(n)?(u=r.resolve(n.transform,t)).transform.apply(u,c([r.resolve(n.token,t)],n.transformArgs)):r.resolve(n,t)}catch(t){throw new Error(function(t,e,r){var n,i,o=a(t.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1];return function(t,e,r){return void 0===r&&(r=" "),c([t],e.message.split("\n").map((function(t){return r+t}))).join("\n")}("Cannot inject the dependency "+(i=e,(null===(n=void 0===o?null:o)?"at position #"+i:'"'+n.split(",")[i].trim()+'" at position #'+i)+' of "')+t.name+'" constructor. Reason:',r)}(e,i,t))}}},t.prototype.ensureNotDisposed=function(){if(this.disposed)throw new Error("This container has been disposed, you cannot interact with a disposed container")},t}(),S=new A,E="injectionTokens";if("undefined"==typeof Reflect||!Reflect.getMetadata)throw new Error("tsyringe requires a reflect polyfill. Please add 'import \"reflect-metadata\"' to the top of your entry point.");class O{constructor(t,e){this.container=t,this.options=e}getService(t){return this.container.resolve(t)}}window.qbo4=window.qbo4||{},window.qbo4.services=window.qbo4.services||new O(S.createChildContainer(),{});const P=window.qbo4.services,R="IConfigurationSourceToken",C="IConfigurationToken";function*k(t,e=""){for(const[r,n]of Object.entries(t)){const t=e?`${e}:${r}`:r;if(Array.isArray(n))for(let e=0;e<n.length;e++){const r=n[e];"object"==typeof r&&null!==r?yield*k(r,`${t}:${e}`):yield{key:`${t}:${e}`,value:r}}else"object"==typeof n&&null!==n?yield*k(n,t):yield{key:t,value:n}}}class x{constructor(t){this.jsonConfig=t}getData(){return this.jsonConfig}*getValues(){yield*k(this.jsonConfig)}}class M{getData(){return{}}*getValues(){yield*k({})}}class T{constructor(t){this.data=t}getSection(t){const e=t.split(":");let r=this.data;for(const t of e){if(!(t in r))return new T({});r=r[t]}return new T(r)}get(t){const e=t.split(":");let r=this.data;for(const t of e){if(!r||!(t in r))return{};r=r[t]}return r}bind(t){const e=new t;for(const t in this.data)this.data.hasOwnProperty(t)&&(e[t]=this.data[t]);return e}*getValues(){yield*k(this.data)}}let j=class extends T{constructor(t){super({}),this.sources=t,this.mergeConfigurations(t)}mergeConfigurations(t){t.forEach((t=>{const e=t.getData();this.data={...this.data,...e}}))}};var D,U,N,H;j=function(t,e,r,n){var i,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,r,s):i(e,r))||s);return o>3&&s&&Object.defineProperty(e,r,s),s}([function(t){$.set(t,function(t){var e=Reflect.getMetadata("design:paramtypes",t)||[],r=Reflect.getOwnMetadata(E,t)||{};return Object.keys(r).forEach((function(t){e[+t]=r[t]})),e}(t))},(D=0,N=R,H={token:N,multiple:!0},U=function(t,e,r){var n=Reflect.getOwnMetadata(E,t)||{};n[r]=H,Reflect.defineMetadata(E,n,t)},function(t,e){U(t,e,D)}),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array])],j),P.container.register(C,{useClass:j},{lifecycle:e.Singleton}),P.container.register(R,{useClass:M},{lifecycle:e.Singleton});const I=globalThis,q=I.ShadowRoot&&(void 0===I.ShadyCSS||I.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),z=new WeakMap;class K{constructor(t,e,r){if(this._$cssResult$=!0,r!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(q&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=z.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&z.set(e,t))}return t}toString(){return this.cssText}}const L=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[n+1]),t[0]);return new K(r,t,V)},F=q?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new K("string"==typeof t?t:t+"",void 0,V))(e)})(t):t,{is:B,defineProperty:W,getOwnPropertyDescriptor:G,getOwnPropertyNames:J,getOwnPropertySymbols:Z,getPrototypeOf:Q}=Object,X=globalThis,Y=X.trustedTypes,tt=Y?Y.emptyScript:"",et=X.reactiveElementPolyfillSupport,rt=(t,e)=>t,nt={toAttribute(t,e){switch(e){case Boolean:t=t?tt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},it=(t,e)=>!B(t,e),ot={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it};Symbol.metadata??=Symbol("metadata"),X.litPropertyMetadata??=new WeakMap;class st extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ot){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&W(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){const{get:n,set:i}=G(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return n?.call(this)},set(e){const o=n?.call(this);i.call(this,e),this.requestUpdate(t,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ot}static _$Ei(){if(this.hasOwnProperty(rt("elementProperties")))return;const t=Q(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(rt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(rt("properties"))){const t=this.properties,e=[...J(t),...Z(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(F(t))}else void 0!==t&&e.push(F(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(q)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),n=I.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=r.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==r.converter?.toAttribute?r.converter:nt).toAttribute(e,r.type);this._$Em=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(t,e){const r=this.constructor,n=r._$Eh.get(t);if(void 0!==n&&this._$Em!==n){const t=r.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:nt;this._$Em=n,this[n]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??it)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}st.elementStyles=[],st.shadowRootOptions={mode:"open"},st[rt("elementProperties")]=new Map,st[rt("finalized")]=new Map,et?.({ReactiveElement:st}),(X.reactiveElementVersions??=[]).push("2.0.4");const at=globalThis,ct=at.trustedTypes,ut=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,lt="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,ft="?"+ht,pt=`<${ft}>`,dt=document,yt=()=>dt.createComment(""),vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,gt=Array.isArray,_t="[ \t\n\f\r]",wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bt=/-->/g,mt=/>/g,$t=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),At=/'/g,St=/"/g,Et=/^(?:script|style|textarea|title)$/i,Ot=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Pt=Ot(1),Rt=(Ot(2),Symbol.for("lit-noChange")),Ct=Symbol.for("lit-nothing"),kt=new WeakMap,xt=dt.createTreeWalker(dt,129);function Mt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ut?ut.createHTML(e):e}const Tt=(t,e)=>{const r=t.length-1,n=[];let i,o=2===e?"<svg>":"",s=wt;for(let e=0;e<r;e++){const r=t[e];let a,c,u=-1,l=0;for(;l<r.length&&(s.lastIndex=l,c=s.exec(r),null!==c);)l=s.lastIndex,s===wt?"!--"===c[1]?s=bt:void 0!==c[1]?s=mt:void 0!==c[2]?(Et.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=$t):void 0!==c[3]&&(s=$t):s===$t?">"===c[0]?(s=i??wt,u=-1):void 0===c[1]?u=-2:(u=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?$t:'"'===c[3]?St:At):s===St||s===At?s=$t:s===bt||s===mt?s=wt:(s=$t,i=void 0);const h=s===$t&&t[e+1].startsWith("/>")?" ":"";o+=s===wt?r+pt:u>=0?(n.push(a),r.slice(0,u)+lt+r.slice(u)+ht+h):r+ht+(-2===u?e:h)}return[Mt(t,o+(t[r]||"<?>")+(2===e?"</svg>":"")),n]};class jt{constructor({strings:t,_$litType$:e},r){let n;this.parts=[];let i=0,o=0;const s=t.length-1,a=this.parts,[c,u]=Tt(t,e);if(this.el=jt.createElement(c,r),xt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=xt.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(lt)){const e=u[o++],r=n.getAttribute(t).split(ht),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:i,name:s[2],strings:r,ctor:"."===s[1]?It:"?"===s[1]?qt:"@"===s[1]?Vt:Ht}),n.removeAttribute(t)}else t.startsWith(ht)&&(a.push({type:6,index:i}),n.removeAttribute(t));if(Et.test(n.tagName)){const t=n.textContent.split(ht),e=t.length-1;if(e>0){n.textContent=ct?ct.emptyScript:"";for(let r=0;r<e;r++)n.append(t[r],yt()),xt.nextNode(),a.push({type:2,index:++i});n.append(t[e],yt())}}}else if(8===n.nodeType)if(n.data===ft)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(ht,t+1));)a.push({type:7,index:i}),t+=ht.length-1}i++}}static createElement(t,e){const r=dt.createElement("template");return r.innerHTML=t,r}}function Dt(t,e,r=t,n){if(e===Rt)return e;let i=void 0!==n?r._$Co?.[n]:r._$Cl;const o=vt(e)?void 0:e._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),void 0===o?i=void 0:(i=new o(t),i._$AT(t,r,n)),void 0!==n?(r._$Co??=[])[n]=i:r._$Cl=i),void 0!==i&&(e=Dt(t,i._$AS(t,e.values),i,n)),e}class Ut{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,n=(t?.creationScope??dt).importNode(e,!0);xt.currentNode=n;let i=xt.nextNode(),o=0,s=0,a=r[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new Nt(i,i.nextSibling,this,t):1===a.type?e=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(e=new zt(i,this,t)),this._$AV.push(e),a=r[++s]}o!==a?.index&&(i=xt.nextNode(),o++)}return xt.currentNode=dt,n}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class Nt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,n){this.type=2,this._$AH=Ct,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Dt(this,t,e),vt(t)?t===Ct||null==t||""===t?(this._$AH!==Ct&&this._$AR(),this._$AH=Ct):t!==this._$AH&&t!==Rt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>gt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==Ct&&vt(this._$AH)?this._$AA.nextSibling.data=t:this.T(dt.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=jt.createElement(Mt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new Ut(n,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=kt.get(t.strings);return void 0===e&&kt.set(t.strings,e=new jt(t)),e}k(t){gt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of t)n===e.length?e.push(r=new Nt(this.S(yt()),this.S(yt()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Ht{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,n,i){this.type=1,this._$AH=Ct,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Ct}_$AI(t,e=this,r,n){const i=this.strings;let o=!1;if(void 0===i)t=Dt(this,t,e,0),o=!vt(t)||t!==this._$AH&&t!==Rt,o&&(this._$AH=t);else{const n=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=Dt(this,n[r+s],e,s),a===Rt&&(a=this._$AH[s]),o||=!vt(a)||a!==this._$AH[s],a===Ct?t=Ct:t!==Ct&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}o&&!n&&this.j(t)}j(t){t===Ct?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class It extends Ht{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ct?void 0:t}}class qt extends Ht{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ct)}}class Vt extends Ht{constructor(t,e,r,n,i){super(t,e,r,n,i),this.type=5}_$AI(t,e=this){if((t=Dt(this,t,e,0)??Ct)===Rt)return;const r=this._$AH,n=t===Ct&&r!==Ct||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==Ct&&(r===Ct||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class zt{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){Dt(this,t)}}const Kt=at.litHtmlPolyfillSupport;Kt?.(jt,Nt),(at.litHtmlVersions??=[]).push("3.1.2");class Lt extends st{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,r)=>{const n=r?.renderBefore??e;let i=n._$litPart$;if(void 0===i){const t=r?.renderBefore??null;n._$litPart$=i=new Nt(e.insertBefore(yt(),t),t,void 0,r??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Rt}}Lt._$litElement$=!0,Lt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Lt});const Ft=globalThis.litElementPolyfillSupport;Ft?.({LitElement:Lt}),(globalThis.litElementVersions??=[]).push("4.0.4");const Bt={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it},Wt=(t=Bt,e,r)=>{const{kind:n,metadata:i}=r;let o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),o.set(r.name,t),"accessor"===n){const{name:n}=r;return{set(r){const i=e.get.call(this);e.set.call(this,r),this.requestUpdate(n,i,t)},init(e){return void 0!==e&&this.P(n,void 0,t),e}}}if("setter"===n){const{name:n}=r;return function(r){const i=this[n];e.call(this,r),this.requestUpdate(n,i,t)}}throw Error("Unsupported decorator location: "+n)};var Gt;class Jt extends Lt{static get formAssociated(){return!0}static{this.styles=L`
|
|
2
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.qbo4=e():(t.qbo4=t.qbo4||{},t.qbo4.configuration=e())}(self,(()=>(()=>{var t={630:(t,e,r)=>{var n;!function(t){!function(e){var n="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),i=o(t);function o(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==n.Reflect&&(i=o(n.Reflect,i)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,i=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,u={create:s?function(){return z(Object.create(null))}:a?function(){return z({__proto__:null})}:function(){return z({})},has:c?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:c?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},l=Object.getPrototypeOf(Function),h="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[o]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,i=r+1;i<n;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,j(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,n)},e.prototype.values=function(){return new r(this._keys,this._values,i)},e.prototype.entries=function(){return new r(this._keys,this._values,s)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[o]=function(){return this.entries()},e.prototype._find=function(t,e){if(!j(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(j(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function n(t,e){return t}function i(t,e){return e}function s(t,e){return[t,e]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new h}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[o]=function(){return this.keys()},t}(),p="function"==typeof WeakMap?WeakMap:function(){var t=16,e=u.create(),n=i();return function(){function t(){this._key=i()}return t.prototype.has=function(t){var e=o(t,!1);return void 0!==e&&u.has(e,this._key)},t.prototype.get=function(t){var e=o(t,!1);return void 0!==e?u.get(e,this._key):void 0},t.prototype.set=function(t,e){return o(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=o(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=i()},t}();function i(){var t;do{t="@@WeakMap@@"+a()}while(u.has(e,t));return e[t]=!0,t}function o(t,e){if(!r.call(t,n)){if(!e)return;Object.defineProperty(t,n,{value:u.create()})}return t[n]}function s(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function a(){var e=function(t){if("function"==typeof Uint8Array){var e=new Uint8Array(t);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):s(e,t),e}return s(new Array(t),t)}(t);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var r="",n=0;n<t;++n){var i=e[n];4!==n&&6!==n&&8!==n||(r+="-"),i<16&&(r+="0"),r+=i.toString(16).toLowerCase()}return r}}(),d=n?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var t;return!E(d)&&P(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[d]),E(t)&&(t=function(){var t,r,n,i;E(d)||void 0===e.Reflect||d in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,i=t.getOwnMetadataKeys,o=t.deleteMetadata,s=new p;return{isProviderFor:function(t,e){var r=s.get(t);return!(E(r)||!r.has(e))||!!i(t,e).length&&(E(r)&&(r=new f,s.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:o}}(e.Reflect));var o=new p,s={registerProvider:a,getProvider:u,setProvider:y};return s;function a(e){if(!Object.isExtensible(s))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case E(r):r=e;break;case r===e:break;case E(n):n=e;break;case n===e:break;default:void 0===i&&(i=new f),i.add(e)}}function c(e,o){if(!E(r)){if(r.isProviderFor(e,o))return r;if(!E(n)){if(n.isProviderFor(e,o))return r;if(!E(i))for(var s=U(i);;){var a=H(s);if(!a)return;var c=N(a);if(c.isProviderFor(e,o))return I(s),c}}}if(!E(t)&&t.isProviderFor(e,o))return t}function u(t,e){var r,n=o.get(t);return E(n)||(r=n.get(e)),E(r)?(E(r=c(t,e))||(E(n)&&(n=new h,o.set(t,n)),n.set(e,r)),r):r}function l(t){if(E(t))throw new TypeError;return r===t||n===t||!E(i)&&i.has(t)}function y(t,e,r){if(!l(r))throw new Error("Metadata provider not registered.");var n=u(t,e);if(n!==r){if(!E(n))return!1;var i=o.get(t);E(i)&&(i=new h,o.set(t,i)),i.set(e,r)}return!0}}()),!E(d)&&P(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,d,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),v=function(t){var e=new p,r={isProviderFor:function(t,r){var n=e.get(t);return!E(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,i){n(r,i,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var i=n(e,r,!1);return!E(i)&&C(i.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var i=n(e,r,!1);if(!E(i))return i.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],i=n(t,e,!1);if(E(i))return r;for(var o=U(i.keys()),s=0;;){var a=H(o);if(!a)return r.length=s,r;var c=N(a);try{r[s]=c}catch(t){try{I(o)}finally{throw t}}s++}},OrdinaryDeleteMetadata:function(t,r,i){var o=n(r,i,!1);if(E(o))return!1;if(!o.delete(t))return!1;if(0===o.size){var s=e.get(r);E(s)||(s.delete(i),0===s.size&&e.delete(s))}return!0}};return y.registerProvider(r),r;function n(n,i,o){var s=e.get(n),a=!1;if(E(s)){if(!o)return;s=new h,e.set(n,s),a=!0}var c=s.get(i);if(E(c)){if(!o)return;if(c=new h,s.set(i,c),!t.setProvider(n,i,r))throw s.delete(i),a&&e.delete(n),new Error("Wrong provider for target.")}return c}}(y);function g(t,e,r){if(_(t,e,r))return!0;var n=q(e);return!O(n)&&g(t,n,r)}function _(t,e,r){var n=V(e,r,!1);return!E(n)&&C(n.OrdinaryHasOwnMetadata(t,e,r))}function w(t,e,r){if(_(t,e,r))return b(t,e,r);var n=q(e);return O(n)?void 0:w(t,n,r)}function b(t,e,r){var n=V(e,r,!1);if(!E(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function m(t,e,r,n){V(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function $(t,e){var r=A(t,e),n=q(t);if(null===n)return r;var i=$(n,e);if(i.length<=0)return r;if(r.length<=0)return i;for(var o=new f,s=[],a=0,c=r;a<c.length;a++){var u=c[a];o.has(u)||(o.add(u),s.push(u))}for(var l=0,h=i;l<h.length;l++)u=h[l],o.has(u)||(o.add(u),s.push(u));return s}function A(t,e){var r=V(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function S(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function E(t){return void 0===t}function O(t){return null===t}function P(t){return"object"==typeof t?null!==t:"function"==typeof t}function R(t,e){switch(S(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var r=3===e?"string":5===e?"number":"default",n=D(t,i);if(void 0!==n){var o=n.call(t,r);if(P(o))throw new TypeError;return o}return function(t,e){if("string"===e){var r=t.toString;if(M(r)&&!P(i=r.call(t)))return i;if(M(n=t.valueOf)&&!P(i=n.call(t)))return i}else{var n;if(M(n=t.valueOf)&&!P(i=n.call(t)))return i;var i,o=t.toString;if(M(o)&&!P(i=o.call(t)))return i}throw new TypeError}(t,"default"===r?"number":r)}function C(t){return!!t}function k(t){var e=R(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function x(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function M(t){return"function"==typeof t}function T(t){return"function"==typeof t}function j(t,e){return t===e||t!=t&&e!=e}function D(t,e){var r=t[e];if(null!=r){if(!M(r))throw new TypeError;return r}}function U(t){var e=D(t,o);if(!M(e))throw new TypeError;var r=e.call(t);if(!P(r))throw new TypeError;return r}function N(t){return t.value}function H(t){var e=t.next();return!e.done&&e}function I(t){var e=t.return;e&&e.call(t)}function q(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===l)return e;if(e!==l)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var i=n.constructor;return"function"!=typeof i||i===t?e:i}function V(t,e,r){var n=y.getProvider(t,e);if(!E(n))return n;if(r){if(y.setProvider(t,e,v))return v;throw new Error("Illegal state.")}}function z(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,n){if(E(r)){if(!x(t))throw new TypeError;if(!T(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!E(n)&&!O(n)){if(!T(n))throw new TypeError;e=n}}return e}(t,e)}if(!x(t))throw new TypeError;if(!P(e))throw new TypeError;if(!P(n)&&!E(n)&&!O(n))throw new TypeError;return O(n)&&(n=void 0),function(t,e,r,n){for(var i=t.length-1;i>=0;--i){var o=(0,t[i])(e,r,n);if(!E(o)&&!O(o)){if(!P(o))throw new TypeError;n=o}}return n}(t,e,r=k(r),n)})),t("metadata",(function(t,e){return function(r,n){if(!P(r))throw new TypeError;if(!E(n)&&!function(t){switch(S(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;m(t,e,r,n)}})),t("defineMetadata",(function(t,e,r,n){if(!P(r))throw new TypeError;return E(n)||(n=k(n)),m(t,e,r,n)})),t("hasMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),g(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),_(t,e,r)})),t("getMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),w(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!P(e))throw new TypeError;return E(r)||(r=k(r)),b(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!P(t))throw new TypeError;return E(e)||(e=k(e)),$(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!P(t))throw new TypeError;return E(e)||(e=k(e)),A(t,e)})),t("deleteMetadata",(function(t,e,r){if(!P(e))throw new TypeError;if(E(r)||(r=k(r)),!P(e))throw new TypeError;E(r)||(r=k(r));var n=V(e,r,!1);return!E(n)&&n.OrdinaryDeleteMetadata(t,e,r)}))}(i,n),void 0===n.Reflect&&(n.Reflect=t)}()}(n||(n={}))}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";var t;r.r(n),r.d(n,{Configuration:()=>j,ConfigurationSection:()=>T,EmptyConfigurationSource:()=>M,IConfigurationSourceToken:()=>R,IConfigurationToken:()=>C,JsonConfigurationSource:()=>x,QboConfigEditor:()=>Jt,Services:()=>O,iterateConfig:()=>k,services:()=>P}),r(630),function(t){t[t.Transient=0]="Transient",t[t.Singleton=1]="Singleton",t[t.ResolutionScoped=2]="ResolutionScoped",t[t.ContainerScoped=3]="ContainerScoped"}(t||(t={}));const e=t;var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},i(t,e)};function o(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}function u(t){return!!t.useClass}function l(t){return!!t.useFactory}var h=function(){function t(t){this.wrap=t,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct","ownKeys"]}return t.prototype.createProxy=function(t){var e,r=this,n=!1;return new Proxy({},this.createHandler((function(){return n||(e=t(r.wrap()),n=!0),e})))},t.prototype.createHandler=function(t){var e={};return this.reflectMethods.forEach((function(r){e[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e[0]=t(),Reflect[r].apply(void 0,c(e))}})),e},t}();function f(t){return"string"==typeof t||"symbol"==typeof t}function p(t){return"object"==typeof t&&"token"in t&&"transform"in t}function d(t){return!!t.useToken}function y(t){return null!=t.useValue}const v=function(){function t(){this._registryMap=new Map}return t.prototype.entries=function(){return this._registryMap.entries()},t.prototype.getAll=function(t){return this.ensure(t),this._registryMap.get(t)},t.prototype.get=function(t){this.ensure(t);var e=this._registryMap.get(t);return e[e.length-1]||null},t.prototype.set=function(t,e){this.ensure(t),this._registryMap.get(t).push(e)},t.prototype.setAll=function(t,e){this._registryMap.set(t,e)},t.prototype.has=function(t){return this.ensure(t),this._registryMap.get(t).length>0},t.prototype.clear=function(){this._registryMap.clear()},t.prototype.ensure=function(t){this._registryMap.has(t)||this._registryMap.set(t,[])},t}(),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(v),_=function(){this.scopedResolutions=new Map};var w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(v),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(v);const m=function(){this.preResolution=new w,this.postResolution=new b};var $=new Map,A=function(){function t(t){this.parent=t,this._registry=new g,this.interceptors=new m,this.disposed=!1,this.disposables=new Set}return t.prototype.register=function(t,r,n){var i;if(void 0===n&&(n={lifecycle:e.Transient}),this.ensureNotDisposed(),i=function(t){return u(t)||y(t)||d(t)||l(t)}(r)?r:{useClass:r},d(i))for(var o=[t],s=i;null!=s;){var a=s.useToken;if(o.includes(a))throw new Error("Token registration cycle detected! "+c(o,[a]).join(" -> "));o.push(a);var h=this._registry.get(a);s=h&&d(h.provider)?h.provider:null}if((n.lifecycle===e.Singleton||n.lifecycle==e.ContainerScoped||n.lifecycle==e.ResolutionScoped)&&(y(i)||l(i)))throw new Error('Cannot use lifecycle "'+e[n.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(t,{provider:i,options:n}),this},t.prototype.registerType=function(t,e){return this.ensureNotDisposed(),f(e)?this.register(t,{useToken:e}):this.register(t,{useClass:e})},t.prototype.registerInstance=function(t,e){return this.ensureNotDisposed(),this.register(t,{useValue:e})},t.prototype.registerSingleton=function(t,r){if(this.ensureNotDisposed(),f(t)){if(f(r))return this.register(t,{useToken:r},{lifecycle:e.Singleton});if(r)return this.register(t,{useClass:r},{lifecycle:e.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var n=t;return r&&!f(r)&&(n=r),this.register(t,{useClass:n},{lifecycle:e.Singleton})},t.prototype.resolve=function(t,e){void 0===e&&(e=new _),this.ensureNotDisposed();var r=this.getRegistration(t);if(!r&&f(t))throw new Error('Attempted to resolve unregistered dependency token: "'+t.toString()+'"');if(this.executePreResolutionInterceptor(t,"Single"),r){var n=this.resolveRegistration(r,e);return this.executePostResolutionInterceptor(t,n,"Single"),n}if(function(t){return"function"==typeof t||t instanceof h}(t))return n=this.construct(t,e),this.executePostResolutionInterceptor(t,n,"Single"),n;throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},t.prototype.executePreResolutionInterceptor=function(t,e){var r,n;if(this.interceptors.preResolution.has(t)){var i=[];try{for(var o=s(this.interceptors.preResolution.getAll(t)),a=o.next();!a.done;a=o.next()){var c=a.value;"Once"!=c.options.frequency&&i.push(c),c.callback(t,e)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}this.interceptors.preResolution.setAll(t,i)}},t.prototype.executePostResolutionInterceptor=function(t,e,r){var n,i;if(this.interceptors.postResolution.has(t)){var o=[];try{for(var a=s(this.interceptors.postResolution.getAll(t)),c=a.next();!c.done;c=a.next()){var u=c.value;"Once"!=u.options.frequency&&o.push(u),u.callback(t,e,r)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}this.interceptors.postResolution.setAll(t,o)}},t.prototype.resolveRegistration=function(t,r){if(this.ensureNotDisposed(),t.options.lifecycle===e.ResolutionScoped&&r.scopedResolutions.has(t))return r.scopedResolutions.get(t);var n,i=t.options.lifecycle===e.Singleton,o=t.options.lifecycle===e.ContainerScoped,s=i||o;return n=y(t.provider)?t.provider.useValue:d(t.provider)?s?t.instance||(t.instance=this.resolve(t.provider.useToken,r)):this.resolve(t.provider.useToken,r):u(t.provider)?s?t.instance||(t.instance=this.construct(t.provider.useClass,r)):this.construct(t.provider.useClass,r):l(t.provider)?t.provider.useFactory(this):this.construct(t.provider,r),t.options.lifecycle===e.ResolutionScoped&&r.scopedResolutions.set(t,n),n},t.prototype.resolveAll=function(t,e){var r=this;void 0===e&&(e=new _),this.ensureNotDisposed();var n=this.getAllRegistrations(t);if(!n&&f(t))throw new Error('Attempted to resolve unregistered dependency token: "'+t.toString()+'"');if(this.executePreResolutionInterceptor(t,"All"),n){var i=n.map((function(t){return r.resolveRegistration(t,e)}));return this.executePostResolutionInterceptor(t,i,"All"),i}var o=[this.construct(t,e)];return this.executePostResolutionInterceptor(t,o,"All"),o},t.prototype.isRegistered=function(t,e){return void 0===e&&(e=!1),this.ensureNotDisposed(),this._registry.has(t)||e&&(this.parent||!1)&&this.parent.isRegistered(t,!0)},t.prototype.reset=function(){this.ensureNotDisposed(),this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},t.prototype.clearInstances=function(){var t,e;this.ensureNotDisposed();try{for(var r=s(this._registry.entries()),n=r.next();!n.done;n=r.next()){var i=a(n.value,2),o=i[0],c=i[1];this._registry.setAll(o,c.filter((function(t){return!y(t.provider)})).map((function(t){return t.instance=void 0,t})))}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},t.prototype.createChildContainer=function(){var r,n;this.ensureNotDisposed();var i=new t(this);try{for(var o=s(this._registry.entries()),c=o.next();!c.done;c=o.next()){var u=a(c.value,2),l=u[0],h=u[1];h.some((function(t){return t.options.lifecycle===e.ContainerScoped}))&&i._registry.setAll(l,h.map((function(t){return t.options.lifecycle===e.ContainerScoped?{provider:t.provider,options:t.options}:t})))}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},t.prototype.beforeResolution=function(t,e,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.preResolution.set(t,{callback:e,options:r})},t.prototype.afterResolution=function(t,e,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.postResolution.set(t,{callback:e,options:r})},t.prototype.dispose=function(){return function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{c(n.next(t))}catch(t){o(t)}}function a(t){try{c(n.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}c((n=n.apply(t,e||[])).next())}))}(this,void 0,void 0,(function(){var t;return function(t,e){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(e){switch(e.label){case 0:return this.disposed=!0,t=[],this.disposables.forEach((function(e){var r=e.dispose();r&&t.push(r)})),[4,Promise.all(t)];case 1:return e.sent(),[2]}}))}))},t.prototype.getRegistration=function(t){return this.isRegistered(t)?this._registry.get(t):this.parent?this.parent.getRegistration(t):null},t.prototype.getAllRegistrations=function(t){return this.isRegistered(t)?this._registry.getAll(t):this.parent?this.parent.getAllRegistrations(t):null},t.prototype.construct=function(t,e){var r=this;if(t instanceof h)return t.createProxy((function(t){return r.resolve(t,e)}));var n,i=function(){var n=$.get(t);if(!n||0===n.length){if(0===t.length)return new t;throw new Error('TypeInfo not known for "'+t.name+'"')}var i=n.map(r.resolveParams(e,t));return new(t.bind.apply(t,c([void 0],i)))}();return"function"!=typeof(n=i).dispose||n.dispose.length>0||this.disposables.add(i),i},t.prototype.resolveParams=function(t,e){var r=this;return function(n,i){var o,s,u,l;try{return"object"==typeof(l=n)&&"token"in l&&"multiple"in l?p(n)?n.multiple?(o=r.resolve(n.transform)).transform.apply(o,c([r.resolveAll(n.token)],n.transformArgs)):(s=r.resolve(n.transform)).transform.apply(s,c([r.resolve(n.token,t)],n.transformArgs)):n.multiple?r.resolveAll(n.token):r.resolve(n.token,t):p(n)?(u=r.resolve(n.transform,t)).transform.apply(u,c([r.resolve(n.token,t)],n.transformArgs)):r.resolve(n,t)}catch(t){throw new Error(function(t,e,r){var n,i,o=a(t.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1];return function(t,e,r){return void 0===r&&(r=" "),c([t],e.message.split("\n").map((function(t){return r+t}))).join("\n")}("Cannot inject the dependency "+(i=e,(null===(n=void 0===o?null:o)?"at position #"+i:'"'+n.split(",")[i].trim()+'" at position #'+i)+' of "')+t.name+'" constructor. Reason:',r)}(e,i,t))}}},t.prototype.ensureNotDisposed=function(){if(this.disposed)throw new Error("This container has been disposed, you cannot interact with a disposed container")},t}(),S=new A,E="injectionTokens";if("undefined"==typeof Reflect||!Reflect.getMetadata)throw new Error("tsyringe requires a reflect polyfill. Please add 'import \"reflect-metadata\"' to the top of your entry point.");class O{constructor(t,e){this.container=t,this.options=e}getService(t){return this.container.resolve(t)}}window.qbo4=window.qbo4||{},window.qbo4.services=window.qbo4.services||new O(S.createChildContainer(),{});const P=window.qbo4.services,R="IConfigurationSourceToken",C="IConfigurationToken";function*k(t,e=""){for(const[r,n]of Object.entries(t)){const t=e?`${e}:${r}`:r;if(Array.isArray(n))for(let e=0;e<n.length;e++){const r=n[e];"object"==typeof r&&null!==r?yield*k(r,`${t}:${e}`):yield{key:`${t}:${e}`,value:r}}else"object"==typeof n&&null!==n?yield*k(n,t):yield{key:t,value:n}}}class x{constructor(t){this.jsonConfig=t}getData(){return this.jsonConfig}*getValues(){yield*k(this.jsonConfig)}}class M{getData(){return{}}*getValues(){yield*k({})}}class T{constructor(t){this.data=t}getSection(t){const e=t.split(":");let r=this.data;for(const t of e){if(!(t in r))return new T({});r=r[t]}return new T(r)}get(t){const e=t.split(":");let r=this.data;for(const t of e){if(!r||!(t in r))return{};r=r[t]}return r}bind(t){const e=new t;for(const t in this.data)this.data.hasOwnProperty(t)&&(e[t]=this.data[t]);return e}*getValues(){yield*k(this.data)}}let j=class extends T{constructor(t){super({}),this.sources=t,this.mergeConfigurations(t)}mergeConfigurations(t){t.forEach((t=>{const e=t.getData();this.data={...this.data,...e}}))}};var D,U,N,H;j=function(t,e,r,n){var i,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,r,s):i(e,r))||s);return o>3&&s&&Object.defineProperty(e,r,s),s}([function(t){$.set(t,function(t){var e=Reflect.getMetadata("design:paramtypes",t)||[],r=Reflect.getOwnMetadata(E,t)||{};return Object.keys(r).forEach((function(t){e[+t]=r[t]})),e}(t))},(D=0,N=R,H={token:N,multiple:!0},U=function(t,e,r){var n=Reflect.getOwnMetadata(E,t)||{};n[r]=H,Reflect.defineMetadata(E,n,t)},function(t,e){U(t,e,D)}),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array])],j),P.container.register(C,{useClass:j},{lifecycle:e.Singleton}),P.container.register(R,{useClass:M},{lifecycle:e.Singleton});const I=globalThis,q=I.ShadowRoot&&(void 0===I.ShadyCSS||I.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),z=new WeakMap;class K{constructor(t,e,r){if(this._$cssResult$=!0,r!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(q&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=z.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&z.set(e,t))}return t}toString(){return this.cssText}}const L=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[n+1]),t[0]);return new K(r,t,V)},F=q?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new K("string"==typeof t?t:t+"",void 0,V))(e)})(t):t,{is:B,defineProperty:W,getOwnPropertyDescriptor:G,getOwnPropertyNames:J,getOwnPropertySymbols:Z,getPrototypeOf:Q}=Object,X=globalThis,Y=X.trustedTypes,tt=Y?Y.emptyScript:"",et=X.reactiveElementPolyfillSupport,rt=(t,e)=>t,nt={toAttribute(t,e){switch(e){case Boolean:t=t?tt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},it=(t,e)=>!B(t,e),ot={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it};Symbol.metadata??=Symbol("metadata"),X.litPropertyMetadata??=new WeakMap;class st extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ot){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&W(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){const{get:n,set:i}=G(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return n?.call(this)},set(e){const o=n?.call(this);i.call(this,e),this.requestUpdate(t,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ot}static _$Ei(){if(this.hasOwnProperty(rt("elementProperties")))return;const t=Q(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(rt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(rt("properties"))){const t=this.properties,e=[...J(t),...Z(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(F(t))}else void 0!==t&&e.push(F(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(q)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),n=I.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=r.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==r.converter?.toAttribute?r.converter:nt).toAttribute(e,r.type);this._$Em=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(t,e){const r=this.constructor,n=r._$Eh.get(t);if(void 0!==n&&this._$Em!==n){const t=r.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:nt;this._$Em=n,this[n]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??it)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}st.elementStyles=[],st.shadowRootOptions={mode:"open"},st[rt("elementProperties")]=new Map,st[rt("finalized")]=new Map,et?.({ReactiveElement:st}),(X.reactiveElementVersions??=[]).push("2.0.4");const at=globalThis,ct=at.trustedTypes,ut=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,lt="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,ft="?"+ht,pt=`<${ft}>`,dt=document,yt=()=>dt.createComment(""),vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,gt=Array.isArray,_t="[ \t\n\f\r]",wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bt=/-->/g,mt=/>/g,$t=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),At=/'/g,St=/"/g,Et=/^(?:script|style|textarea|title)$/i,Ot=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Pt=Ot(1),Rt=(Ot(2),Symbol.for("lit-noChange")),Ct=Symbol.for("lit-nothing"),kt=new WeakMap,xt=dt.createTreeWalker(dt,129);function Mt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ut?ut.createHTML(e):e}const Tt=(t,e)=>{const r=t.length-1,n=[];let i,o=2===e?"<svg>":"",s=wt;for(let e=0;e<r;e++){const r=t[e];let a,c,u=-1,l=0;for(;l<r.length&&(s.lastIndex=l,c=s.exec(r),null!==c);)l=s.lastIndex,s===wt?"!--"===c[1]?s=bt:void 0!==c[1]?s=mt:void 0!==c[2]?(Et.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=$t):void 0!==c[3]&&(s=$t):s===$t?">"===c[0]?(s=i??wt,u=-1):void 0===c[1]?u=-2:(u=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?$t:'"'===c[3]?St:At):s===St||s===At?s=$t:s===bt||s===mt?s=wt:(s=$t,i=void 0);const h=s===$t&&t[e+1].startsWith("/>")?" ":"";o+=s===wt?r+pt:u>=0?(n.push(a),r.slice(0,u)+lt+r.slice(u)+ht+h):r+ht+(-2===u?e:h)}return[Mt(t,o+(t[r]||"<?>")+(2===e?"</svg>":"")),n]};class jt{constructor({strings:t,_$litType$:e},r){let n;this.parts=[];let i=0,o=0;const s=t.length-1,a=this.parts,[c,u]=Tt(t,e);if(this.el=jt.createElement(c,r),xt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=xt.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(lt)){const e=u[o++],r=n.getAttribute(t).split(ht),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:i,name:s[2],strings:r,ctor:"."===s[1]?It:"?"===s[1]?qt:"@"===s[1]?Vt:Ht}),n.removeAttribute(t)}else t.startsWith(ht)&&(a.push({type:6,index:i}),n.removeAttribute(t));if(Et.test(n.tagName)){const t=n.textContent.split(ht),e=t.length-1;if(e>0){n.textContent=ct?ct.emptyScript:"";for(let r=0;r<e;r++)n.append(t[r],yt()),xt.nextNode(),a.push({type:2,index:++i});n.append(t[e],yt())}}}else if(8===n.nodeType)if(n.data===ft)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(ht,t+1));)a.push({type:7,index:i}),t+=ht.length-1}i++}}static createElement(t,e){const r=dt.createElement("template");return r.innerHTML=t,r}}function Dt(t,e,r=t,n){if(e===Rt)return e;let i=void 0!==n?r._$Co?.[n]:r._$Cl;const o=vt(e)?void 0:e._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),void 0===o?i=void 0:(i=new o(t),i._$AT(t,r,n)),void 0!==n?(r._$Co??=[])[n]=i:r._$Cl=i),void 0!==i&&(e=Dt(t,i._$AS(t,e.values),i,n)),e}class Ut{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,n=(t?.creationScope??dt).importNode(e,!0);xt.currentNode=n;let i=xt.nextNode(),o=0,s=0,a=r[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new Nt(i,i.nextSibling,this,t):1===a.type?e=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(e=new zt(i,this,t)),this._$AV.push(e),a=r[++s]}o!==a?.index&&(i=xt.nextNode(),o++)}return xt.currentNode=dt,n}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class Nt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,n){this.type=2,this._$AH=Ct,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Dt(this,t,e),vt(t)?t===Ct||null==t||""===t?(this._$AH!==Ct&&this._$AR(),this._$AH=Ct):t!==this._$AH&&t!==Rt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>gt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==Ct&&vt(this._$AH)?this._$AA.nextSibling.data=t:this.T(dt.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=jt.createElement(Mt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new Ut(n,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=kt.get(t.strings);return void 0===e&&kt.set(t.strings,e=new jt(t)),e}k(t){gt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of t)n===e.length?e.push(r=new Nt(this.S(yt()),this.S(yt()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Ht{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,n,i){this.type=1,this._$AH=Ct,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Ct}_$AI(t,e=this,r,n){const i=this.strings;let o=!1;if(void 0===i)t=Dt(this,t,e,0),o=!vt(t)||t!==this._$AH&&t!==Rt,o&&(this._$AH=t);else{const n=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=Dt(this,n[r+s],e,s),a===Rt&&(a=this._$AH[s]),o||=!vt(a)||a!==this._$AH[s],a===Ct?t=Ct:t!==Ct&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}o&&!n&&this.j(t)}j(t){t===Ct?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class It extends Ht{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ct?void 0:t}}class qt extends Ht{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ct)}}class Vt extends Ht{constructor(t,e,r,n,i){super(t,e,r,n,i),this.type=5}_$AI(t,e=this){if((t=Dt(this,t,e,0)??Ct)===Rt)return;const r=this._$AH,n=t===Ct&&r!==Ct||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==Ct&&(r===Ct||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class zt{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){Dt(this,t)}}const Kt=at.litHtmlPolyfillSupport;Kt?.(jt,Nt),(at.litHtmlVersions??=[]).push("3.1.3");class Lt extends st{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,r)=>{const n=r?.renderBefore??e;let i=n._$litPart$;if(void 0===i){const t=r?.renderBefore??null;n._$litPart$=i=new Nt(e.insertBefore(yt(),t),t,void 0,r??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Rt}}Lt._$litElement$=!0,Lt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Lt});const Ft=globalThis.litElementPolyfillSupport;Ft?.({LitElement:Lt}),(globalThis.litElementVersions??=[]).push("4.0.5");const Bt={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it},Wt=(t=Bt,e,r)=>{const{kind:n,metadata:i}=r;let o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),o.set(r.name,t),"accessor"===n){const{name:n}=r;return{set(r){const i=e.get.call(this);e.set.call(this,r),this.requestUpdate(n,i,t)},init(e){return void 0!==e&&this.P(n,void 0,t),e}}}if("setter"===n){const{name:n}=r;return function(r){const i=this[n];e.call(this,r),this.requestUpdate(n,i,t)}}throw Error("Unsupported decorator location: "+n)};var Gt;class Jt extends Lt{static get formAssociated(){return!0}static{this.styles=L`
|
|
3
3
|
:host {
|
|
4
4
|
display: block;
|
|
5
5
|
padding: 16px;
|