@quandis/qbo4.fintech 4.0.1-CI-20240407-190836
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.
- package/package.json +44 -0
- package/src/Program.d.ts +3 -0
- package/src/Program.js +4 -0
- package/src/Program.js.map +1 -0
- package/src/Program.ts +3 -0
- package/wwwroot/js/qbo4.fintech.js +50766 -0
- package/wwwroot/js/qbo4.fintech.min.js +141 -0
- package/wwwroot/js/qbo4.fintech.min.js.LICENSE.txt +53 -0
- package/wwwroot/js/qbo4.fintech.min.js.map +1 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/*! For license information please see qbo4.fintech.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.fintech=e())}(self,(()=>(()=>{var t={630:(t,e,r)=>{var o;!function(t){!function(e){var o="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){}}(),n=i(t);function i(t,e){return function(r,o){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:o}),e&&e(r,o)}}void 0!==o.Reflect&&(n=i(o.Reflect,n)),function(t,e){var r=Object.prototype.hasOwnProperty,o="function"==typeof Symbol,n=o&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=o&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,l=!s&&!a,c={create:s?function(){return U(Object.create(null))}:a?function(){return U({__proto__:null})}:function(){return U({})},has:l?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:l?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},u=Object.getPrototypeOf(Function),d="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[i]=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 o=this._keys.length,n=r+1;n<o;n++)this._keys[n-1]=this._keys[n],this._values[n-1]=this._values[n];return this._keys.length--,this._values.length--,L(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,o)},e.prototype.values=function(){return new r(this._keys,this._values,n)},e.prototype.entries=function(){return new r(this._keys,this._values,s)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[i]=function(){return this.entries()},e.prototype._find=function(t,e){if(!L(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(L(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 o(t,e){return t}function n(t,e){return e}function s(t,e){return[t,e]}}(),p="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new d}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[i]=function(){return this.keys()},t}(),f="function"==typeof WeakMap?WeakMap:function(){var t=16,e=c.create(),o=n();return function(){function t(){this._key=n()}return t.prototype.has=function(t){var e=i(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=i(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return i(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=i(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=n()},t}();function n(){var t;do{t="@@WeakMap@@"+a()}while(c.has(e,t));return e[t]=!0,t}function i(t,e){if(!r.call(t,o)){if(!e)return;Object.defineProperty(t,o,{value:c.create()})}return t[o]}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="",o=0;o<t;++o){var n=e[o];4!==o&&6!==o&&8!==o||(r+="-"),n<16&&(r+="0"),r+=n.toString(16).toLowerCase()}return r}}(),b=o?Symbol.for("@reflect-metadata:registry"):void 0,h=function(){var t;return!E(b)&&A(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[b]),E(t)&&(t=function(){var t,r,o,n;E(b)||void 0===e.Reflect||b in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,o=t.getOwnMetadata,n=t.getOwnMetadataKeys,i=t.deleteMetadata,s=new f;return{isProviderFor:function(t,e){var r=s.get(t);return!(E(r)||!r.has(e))||!!n(t,e).length&&(E(r)&&(r=new p,s.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:o,OrdinaryOwnMetadataKeys:n,OrdinaryDeleteMetadata:i}}(e.Reflect));var i=new f,s={registerProvider:a,getProvider:c,setProvider:h};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(o):o=e;break;case o===e:break;default:void 0===n&&(n=new p),n.add(e)}}function l(e,i){if(!E(r)){if(r.isProviderFor(e,i))return r;if(!E(o)){if(o.isProviderFor(e,i))return r;if(!E(n))for(var s=j(n);;){var a=N(s);if(!a)return;var l=D(a);if(l.isProviderFor(e,i))return z(s),l}}}if(!E(t)&&t.isProviderFor(e,i))return t}function c(t,e){var r,o=i.get(t);return E(o)||(r=o.get(e)),E(r)?(E(r=l(t,e))||(E(o)&&(o=new d,i.set(t,o)),o.set(e,r)),r):r}function u(t){if(E(t))throw new TypeError;return r===t||o===t||!E(n)&&n.has(t)}function h(t,e,r){if(!u(r))throw new Error("Metadata provider not registered.");var o=c(t,e);if(o!==r){if(!E(o))return!1;var n=i.get(t);E(n)&&(n=new d,i.set(t,n)),n.set(e,r)}return!0}}()),!E(b)&&A(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,b,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),g=function(t){var e=new f,r={isProviderFor:function(t,r){var o=e.get(t);return!E(o)&&o.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,n){o(r,n,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var n=o(e,r,!1);return!E(n)&&$(n.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var n=o(e,r,!1);if(!E(n))return n.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],n=o(t,e,!1);if(E(n))return r;for(var i=j(n.keys()),s=0;;){var a=N(i);if(!a)return r.length=s,r;var l=D(a);try{r[s]=l}catch(t){try{z(i)}finally{throw t}}s++}},OrdinaryDeleteMetadata:function(t,r,n){var i=o(r,n,!1);if(E(i))return!1;if(!i.delete(t))return!1;if(0===i.size){var s=e.get(r);E(s)||(s.delete(n),0===s.size&&e.delete(s))}return!0}};return h.registerProvider(r),r;function o(o,n,i){var s=e.get(o),a=!1;if(E(s)){if(!i)return;s=new d,e.set(o,s),a=!0}var l=s.get(n);if(E(l)){if(!i)return;if(l=new d,s.set(n,l),!t.setProvider(o,n,r))throw s.delete(n),a&&e.delete(o),new Error("Wrong provider for target.")}return l}}(h);function v(t,e,r){if(m(t,e,r))return!0;var o=q(e);return!S(o)&&v(t,o,r)}function m(t,e,r){var o=H(e,r,!1);return!E(o)&&$(o.OrdinaryHasOwnMetadata(t,e,r))}function y(t,e,r){if(m(t,e,r))return w(t,e,r);var o=q(e);return S(o)?void 0:y(t,o,r)}function w(t,e,r){var o=H(e,r,!1);if(!E(o))return o.OrdinaryGetOwnMetadata(t,e,r)}function _(t,e,r,o){H(r,o,!0).OrdinaryDefineOwnMetadata(t,e,r,o)}function x(t,e){var r=k(t,e),o=q(t);if(null===o)return r;var n=x(o,e);if(n.length<=0)return r;if(r.length<=0)return n;for(var i=new p,s=[],a=0,l=r;a<l.length;a++){var c=l[a];i.has(c)||(i.add(c),s.push(c))}for(var u=0,d=n;u<d.length;u++)c=d[u],i.has(c)||(i.add(c),s.push(c));return s}function k(t,e){var r=H(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function C(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 S(t){return null===t}function A(t){return"object"==typeof t?null!==t:"function"==typeof t}function T(t,e){switch(C(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var r=3===e?"string":5===e?"number":"default",o=M(t,n);if(void 0!==o){var i=o.call(t,r);if(A(i))throw new TypeError;return i}return function(t,e){if("string"===e){var r=t.toString;if(R(r)&&!A(n=r.call(t)))return n;if(R(o=t.valueOf)&&!A(n=o.call(t)))return n}else{var o;if(R(o=t.valueOf)&&!A(n=o.call(t)))return n;var n,i=t.toString;if(R(i)&&!A(n=i.call(t)))return n}throw new TypeError}(t,"default"===r?"number":r)}function $(t){return!!t}function O(t){var e=T(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function I(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function R(t){return"function"==typeof t}function P(t){return"function"==typeof t}function L(t,e){return t===e||t!=t&&e!=e}function M(t,e){var r=t[e];if(null!=r){if(!R(r))throw new TypeError;return r}}function j(t){var e=M(t,i);if(!R(e))throw new TypeError;var r=e.call(t);if(!A(r))throw new TypeError;return r}function D(t){return t.value}function N(t){var e=t.next();return!e.done&&e}function z(t){var e=t.return;e&&e.call(t)}function q(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===u)return e;if(e!==u)return e;var r=t.prototype,o=r&&Object.getPrototypeOf(r);if(null==o||o===Object.prototype)return e;var n=o.constructor;return"function"!=typeof n||n===t?e:n}function H(t,e,r){var o=h.getProvider(t,e);if(!E(o))return o;if(r){if(h.setProvider(t,e,g))return g;throw new Error("Illegal state.")}}function U(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,o){if(E(r)){if(!I(t))throw new TypeError;if(!P(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var o=(0,t[r])(e);if(!E(o)&&!S(o)){if(!P(o))throw new TypeError;e=o}}return e}(t,e)}if(!I(t))throw new TypeError;if(!A(e))throw new TypeError;if(!A(o)&&!E(o)&&!S(o))throw new TypeError;return S(o)&&(o=void 0),function(t,e,r,o){for(var n=t.length-1;n>=0;--n){var i=(0,t[n])(e,r,o);if(!E(i)&&!S(i)){if(!A(i))throw new TypeError;o=i}}return o}(t,e,r=O(r),o)})),t("metadata",(function(t,e){return function(r,o){if(!A(r))throw new TypeError;if(!E(o)&&!function(t){switch(C(t)){case 3:case 4:return!0;default:return!1}}(o))throw new TypeError;_(t,e,r,o)}})),t("defineMetadata",(function(t,e,r,o){if(!A(r))throw new TypeError;return E(o)||(o=O(o)),_(t,e,r,o)})),t("hasMetadata",(function(t,e,r){if(!A(e))throw new TypeError;return E(r)||(r=O(r)),v(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!A(e))throw new TypeError;return E(r)||(r=O(r)),m(t,e,r)})),t("getMetadata",(function(t,e,r){if(!A(e))throw new TypeError;return E(r)||(r=O(r)),y(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!A(e))throw new TypeError;return E(r)||(r=O(r)),w(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!A(t))throw new TypeError;return E(e)||(e=O(e)),x(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!A(t))throw new TypeError;return E(e)||(e=O(e)),k(t,e)})),t("deleteMetadata",(function(t,e,r){if(!A(e))throw new TypeError;if(E(r)||(r=O(r)),!A(e))throw new TypeError;E(r)||(r=O(r));var o=H(e,r,!1);return!E(o)&&o.OrdinaryDeleteMetadata(t,e,r)}))}(n,o),void 0===o.Reflect&&(o.Reflect=t)}()}(o||(o={}))}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};return(()=>{"use strict";r.r(o),r.d(o,{ApiServiceComponent:()=>RT,AppInsightsConfiguration:()=>Ry,AppInsightsConfigurationToken:()=>Py,AppInsightsLogger:()=>Ly,Configuration:()=>N,ConfigurationSection:()=>D,ConsoleLogger:()=>re,EmailValidator:()=>fw,EmptyConfigurationSource:()=>j,ExistsValidator:()=>bw,IApiServiceToken:()=>ow,IConfigurationSourceToken:()=>R,IConfigurationToken:()=>P,ILogReaderToken:()=>ee,ILoggerServiceToken:()=>te,ILoggerToken:()=>Yt,JsonConfigurationSource:()=>M,LogLevel:()=>Zt,LoggerService:()=>Dy,MemoryLogger:()=>oe,QboBadge:()=>$_,QboConfigEditor:()=>Qt,QboDataList:()=>R_,QboDocViewer:()=>M_,QboFormElement:()=>z_,QboLogging:()=>By,QboMainMenu:()=>YA,QboMarkdown:()=>eT,QboMicrophone:()=>iT,QboPopover:()=>lT,QboPopup:()=>bT,QboPopupListener:()=>vT,QboSelect:()=>wT,QboSideBar:()=>kT,QboTable:()=>ST,QboValidate:()=>$T,RESOURCES:()=>Gy,RestApiService:()=>cw,Services:()=>O,ValidateToken:()=>iw,ZipCodeValidator:()=>pw,critial:()=>rw,debug:()=>Yy,enumValue:()=>Jy,error:()=>ew,findStyles:()=>zy,getApiService:()=>nw,getArray:()=>sw,info:()=>Zy,iterateConfig:()=>L,loggingStyles:()=>Ny,modalStyles:()=>qy,registerRestApi:()=>uw,replicate:()=>lw,services:()=>I,substitute:()=>aw,trace:()=>Qy,warn:()=>tw});var t,e={};r.r(e),r.d(e,{afterMain:()=>ix,afterRead:()=>rx,afterWrite:()=>lx,applyStyles:()=>hx,arrow:()=>Mx,auto:()=>B_,basePlacements:()=>V_,beforeMain:()=>ox,beforeRead:()=>tx,beforeWrite:()=>sx,bottom:()=>H_,clippingParents:()=>X_,computeStyles:()=>zx,createPopper:()=>bk,createPopperBase:()=>fk,createPopperLite:()=>hk,detectOverflow:()=>tk,end:()=>K_,eventListeners:()=>Hx,flip:()=>ek,hide:()=>nk,left:()=>F_,main:()=>nx,modifierPhases:()=>cx,offset:()=>ik,placements:()=>Z_,popper:()=>J_,popperGenerator:()=>pk,popperOffsets:()=>sk,preventOverflow:()=>ak,read:()=>ex,reference:()=>Q_,right:()=>U_,start:()=>W_,top:()=>q_,variationPlacements:()=>Y_,viewport:()=>G_,write:()=>ax}),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 n=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 s(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function a(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],o=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var o,n,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}function u(t){return!!t.useClass}function d(t){return!!t.useFactory}var p=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,o=!1;return new Proxy({},this.createHandler((function(){return o||(e=t(r.wrap()),o=!0),e})))},t.prototype.createHandler=function(t){var e={};return this.reflectMethods.forEach((function(r){e[r]=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return e[0]=t(),Reflect[r].apply(void 0,c(e))}})),e},t}();function f(t){return"string"==typeof t||"symbol"==typeof t}function b(t){return"object"==typeof t&&"token"in t&&"transform"in t}function h(t){return!!t.useToken}function g(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}(),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e}(v),y=function(){this.scopedResolutions=new Map};var w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e}(v),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e}(v);const x=function(){this.preResolution=new w,this.postResolution=new _};var k=new Map,C=function(){function t(t){this.parent=t,this._registry=new m,this.interceptors=new x,this.disposed=!1,this.disposables=new Set}return t.prototype.register=function(t,e,r){var o;if(void 0===r&&(r={lifecycle:n.Transient}),this.ensureNotDisposed(),o=function(t){return u(t)||g(t)||h(t)||d(t)}(e)?e:{useClass:e},h(o))for(var i=[t],s=o;null!=s;){var a=s.useToken;if(i.includes(a))throw new Error("Token registration cycle detected! "+c(i,[a]).join(" -> "));i.push(a);var l=this._registry.get(a);s=l&&h(l.provider)?l.provider:null}if((r.lifecycle===n.Singleton||r.lifecycle==n.ContainerScoped||r.lifecycle==n.ResolutionScoped)&&(g(o)||d(o)))throw new Error('Cannot use lifecycle "'+n[r.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(t,{provider:o,options:r}),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,e){if(this.ensureNotDisposed(),f(t)){if(f(e))return this.register(t,{useToken:e},{lifecycle:n.Singleton});if(e)return this.register(t,{useClass:e},{lifecycle:n.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var r=t;return e&&!f(e)&&(r=e),this.register(t,{useClass:r},{lifecycle:n.Singleton})},t.prototype.resolve=function(t,e){void 0===e&&(e=new y),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 o=this.resolveRegistration(r,e);return this.executePostResolutionInterceptor(t,o,"Single"),o}if(function(t){return"function"==typeof t||t instanceof p}(t))return o=this.construct(t,e),this.executePostResolutionInterceptor(t,o,"Single"),o;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,o;if(this.interceptors.preResolution.has(t)){var n=[];try{for(var i=a(this.interceptors.preResolution.getAll(t)),s=i.next();!s.done;s=i.next()){var l=s.value;"Once"!=l.options.frequency&&n.push(l),l.callback(t,e)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}this.interceptors.preResolution.setAll(t,n)}},t.prototype.executePostResolutionInterceptor=function(t,e,r){var o,n;if(this.interceptors.postResolution.has(t)){var i=[];try{for(var s=a(this.interceptors.postResolution.getAll(t)),l=s.next();!l.done;l=s.next()){var c=l.value;"Once"!=c.options.frequency&&i.push(c),c.callback(t,e,r)}}catch(t){o={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(o)throw o.error}}this.interceptors.postResolution.setAll(t,i)}},t.prototype.resolveRegistration=function(t,e){if(this.ensureNotDisposed(),t.options.lifecycle===n.ResolutionScoped&&e.scopedResolutions.has(t))return e.scopedResolutions.get(t);var r,o=t.options.lifecycle===n.Singleton,i=t.options.lifecycle===n.ContainerScoped,s=o||i;return r=g(t.provider)?t.provider.useValue:h(t.provider)?s?t.instance||(t.instance=this.resolve(t.provider.useToken,e)):this.resolve(t.provider.useToken,e):u(t.provider)?s?t.instance||(t.instance=this.construct(t.provider.useClass,e)):this.construct(t.provider.useClass,e):d(t.provider)?t.provider.useFactory(this):this.construct(t.provider,e),t.options.lifecycle===n.ResolutionScoped&&e.scopedResolutions.set(t,r),r},t.prototype.resolveAll=function(t,e){var r=this;void 0===e&&(e=new y),this.ensureNotDisposed();var o=this.getAllRegistrations(t);if(!o&&f(t))throw new Error('Attempted to resolve unregistered dependency token: "'+t.toString()+'"');if(this.executePreResolutionInterceptor(t,"All"),o){var n=o.map((function(t){return r.resolveRegistration(t,e)}));return this.executePostResolutionInterceptor(t,n,"All"),n}var i=[this.construct(t,e)];return this.executePostResolutionInterceptor(t,i,"All"),i},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=a(this._registry.entries()),o=r.next();!o.done;o=r.next()){var n=l(o.value,2),i=n[0],s=n[1];this._registry.setAll(i,s.filter((function(t){return!g(t.provider)})).map((function(t){return t.instance=void 0,t})))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},t.prototype.createChildContainer=function(){var e,r;this.ensureNotDisposed();var o=new t(this);try{for(var i=a(this._registry.entries()),s=i.next();!s.done;s=i.next()){var c=l(s.value,2),u=c[0],d=c[1];d.some((function(t){return t.options.lifecycle===n.ContainerScoped}))&&o._registry.setAll(u,d.map((function(t){return t.options.lifecycle===n.ContainerScoped?{provider:t.provider,options:t.options}:t})))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return o},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,o){return new(r||(r=Promise))((function(n,i){function s(t){try{l(o.next(t))}catch(t){i(t)}}function a(t){try{l(o.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}l((o=o.apply(t,e||[])).next())}))}(this,void 0,void 0,(function(){var t;return function(t,e){var r,o,n,i,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((n=(n=s.trys).length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){s.label=i[1];break}if(6===i[0]&&s.label<n[1]){s.label=n[1],n=i;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(i);break}n[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,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 p)return t.createProxy((function(t){return r.resolve(t,e)}));var o,n=function(){var o=k.get(t);if(!o||0===o.length){if(0===t.length)return new t;throw new Error('TypeInfo not known for "'+t.name+'"')}var n=o.map(r.resolveParams(e,t));return new(t.bind.apply(t,c([void 0],n)))}();return"function"!=typeof(o=n).dispose||o.dispose.length>0||this.disposables.add(n),n},t.prototype.resolveParams=function(t,e){var r=this;return function(o,n){var i,s,a,u;try{return"object"==typeof(u=o)&&"token"in u&&"multiple"in u?b(o)?o.multiple?(i=r.resolve(o.transform)).transform.apply(i,c([r.resolveAll(o.token)],o.transformArgs)):(s=r.resolve(o.transform)).transform.apply(s,c([r.resolve(o.token,t)],o.transformArgs)):o.multiple?r.resolveAll(o.token):r.resolve(o.token,t):b(o)?(a=r.resolve(o.transform,t)).transform.apply(a,c([r.resolve(o.token,t)],o.transformArgs)):r.resolve(o,t)}catch(t){throw new Error(function(t,e,r){var o,n,i,s,a=l(t.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1],u=(n=e,null===(o=void 0===a?null:a)?"at position #"+n:'"'+o.split(",")[n].trim()+'" at position #'+n);return i="Cannot inject the dependency "+u+' of "'+t.name+'" constructor. Reason:',void 0===s&&(s=" "),c([i],r.message.split("\n").map((function(t){return s+t}))).join("\n")}(e,n,t))}}},t.prototype.ensureNotDisposed=function(){if(this.disposed)throw new Error("This container has been disposed, you cannot interact with a disposed container")},t}(),E=new C,S="injectionTokens";function A(t,e){return function(r,o,n){var i=Reflect.getOwnMetadata(S,r)||{};i[n]=e?{token:t,transform:e.transformToken,transformArgs:e.args||[]}:t,Reflect.defineMetadata(S,i,r)}}const T=function(){return function(t){k.set(t,function(t){var e=Reflect.getMetadata("design:paramtypes",t)||[],r=Reflect.getOwnMetadata(S,t)||{};return Object.keys(r).forEach((function(t){e[+t]=r[t]})),e}(t))}},$=function(t){return A({token:t,multiple:!0})};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(E.createChildContainer(),{});const I=window.qbo4.services,R="IConfigurationSourceToken",P="IConfigurationToken";function*L(t,e=""){for(const[r,o]of Object.entries(t)){const t=e?`${e}:${r}`:r;if(Array.isArray(o))for(let e=0;e<o.length;e++){const r=o[e];"object"==typeof r&&null!==r?yield*L(r,`${t}:${e}`):yield{key:`${t}:${e}`,value:r}}else"object"==typeof o&&null!==o?yield*L(o,t):yield{key:t,value:o}}}class M{constructor(t){this.jsonConfig=t}getData(){return this.jsonConfig}*getValues(){yield*L(this.jsonConfig)}}class j{getData(){return{}}*getValues(){yield*L({})}}class D{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 D({});r=r[t]}return new D(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*L(this.data)}}let N=class extends D{constructor(t){super({}),this.sources=t,this.mergeConfigurations(t)}mergeConfigurations(t){t.forEach((t=>{const e=t.getData();this.data={...this.data,...e}}))}};var z,q;N=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}([T(),(z=0,q=$(R),function(t,e){q(t,e,z)}),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array])],N),I.container.register(P,{useClass:N},{lifecycle:n.Singleton}),I.container.register(R,{useClass:j},{lifecycle:n.Singleton});const H=globalThis,U=H.ShadowRoot&&(void 0===H.ShadyCSS||H.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,F=Symbol(),B=new WeakMap;class V{constructor(t,e,r){if(this._$cssResult$=!0,r!==F)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(U&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=B.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&B.set(e,t))}return t}toString(){return this.cssText}}const W=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>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[o+1]),t[0]);return new V(r,t,F)},K=U?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new V("string"==typeof t?t:t+"",void 0,F))(e)})(t):t,{is:X,defineProperty:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:Y,getPrototypeOf:Z}=Object,tt=globalThis,et=tt.trustedTypes,rt=et?et.emptyScript:"",ot=tt.reactiveElementPolyfillSupport,nt=(t,e)=>t,it={toAttribute(t,e){switch(e){case Boolean:t=t?rt: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}},st=(t,e)=>!X(t,e),at={attribute:!0,type:String,converter:it,reflect:!1,hasChanged:st};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;class lt 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=at){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&G(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:n}=J(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const i=o?.call(this);n.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??at}static _$Ei(){if(this.hasOwnProperty(nt("elementProperties")))return;const t=Z(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(nt("properties"))){const t=this.properties,e=[...Q(t),...Y(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(K(t))}else void 0!==t&&e.push(K(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(U)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),o=H.litNonce;void 0!==o&&e.setAttribute("nonce",o),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),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:it).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:it;this._$Em=o,this[o]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??st)(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){}}lt.elementStyles=[],lt.shadowRootOptions={mode:"open"},lt[nt("elementProperties")]=new Map,lt[nt("finalized")]=new Map,ot?.({ReactiveElement:lt}),(tt.reactiveElementVersions??=[]).push("2.0.4");const ct=globalThis,ut=ct.trustedTypes,dt=ut?ut.createPolicy("lit-html",{createHTML:t=>t}):void 0,pt="$lit$",ft=`lit$${(Math.random()+"").slice(9)}$`,bt="?"+ft,ht=`<${bt}>`,gt=document,vt=()=>gt.createComment(""),mt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,yt=Array.isArray,wt="[ \t\n\f\r]",_t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xt=/-->/g,kt=/>/g,Ct=RegExp(`>|${wt}(?:([^\\s"'>=/]+)(${wt}*=${wt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Et=/'/g,St=/"/g,At=/^(?:script|style|textarea|title)$/i,Tt=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),$t=Tt(1),Ot=(Tt(2),Symbol.for("lit-noChange")),It=Symbol.for("lit-nothing"),Rt=new WeakMap,Pt=gt.createTreeWalker(gt,129);function Lt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==dt?dt.createHTML(e):e}const Mt=(t,e)=>{const r=t.length-1,o=[];let n,i=2===e?"<svg>":"",s=_t;for(let e=0;e<r;e++){const r=t[e];let a,l,c=-1,u=0;for(;u<r.length&&(s.lastIndex=u,l=s.exec(r),null!==l);)u=s.lastIndex,s===_t?"!--"===l[1]?s=xt:void 0!==l[1]?s=kt:void 0!==l[2]?(At.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=Ct):void 0!==l[3]&&(s=Ct):s===Ct?">"===l[0]?(s=n??_t,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Ct:'"'===l[3]?St:Et):s===St||s===Et?s=Ct:s===xt||s===kt?s=_t:(s=Ct,n=void 0);const d=s===Ct&&t[e+1].startsWith("/>")?" ":"";i+=s===_t?r+ht:c>=0?(o.push(a),r.slice(0,c)+pt+r.slice(c)+ft+d):r+ft+(-2===c?e:d)}return[Lt(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class jt{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let n=0,i=0;const s=t.length-1,a=this.parts,[l,c]=Mt(t,e);if(this.el=jt.createElement(l,r),Pt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=Pt.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(pt)){const e=c[i++],r=o.getAttribute(t).split(ft),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:s[2],strings:r,ctor:"."===s[1]?Ht:"?"===s[1]?Ut:"@"===s[1]?Ft:qt}),o.removeAttribute(t)}else t.startsWith(ft)&&(a.push({type:6,index:n}),o.removeAttribute(t));if(At.test(o.tagName)){const t=o.textContent.split(ft),e=t.length-1;if(e>0){o.textContent=ut?ut.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],vt()),Pt.nextNode(),a.push({type:2,index:++n});o.append(t[e],vt())}}}else if(8===o.nodeType)if(o.data===bt)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(ft,t+1));)a.push({type:7,index:n}),t+=ft.length-1}n++}}static createElement(t,e){const r=gt.createElement("template");return r.innerHTML=t,r}}function Dt(t,e,r=t,o){if(e===Ot)return e;let n=void 0!==o?r._$Co?.[o]:r._$Cl;const i=mt(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=n:r._$Cl=n),void 0!==n&&(e=Dt(t,n._$AS(t,e.values),n,o)),e}class Nt{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,o=(t?.creationScope??gt).importNode(e,!0);Pt.currentNode=o;let n=Pt.nextNode(),i=0,s=0,a=r[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new zt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new Bt(n,this,t)),this._$AV.push(e),a=r[++s]}i!==a?.index&&(n=Pt.nextNode(),i++)}return Pt.currentNode=gt,o}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 zt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=It,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.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),mt(t)?t===It||null==t||""===t?(this._$AH!==It&&this._$AR(),this._$AH=It):t!==this._$AH&&t!==Ot&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>yt(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!==It&&mt(this._$AH)?this._$AA.nextSibling.data=t:this.T(gt.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=jt.createElement(Lt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new Nt(o,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=Rt.get(t.strings);return void 0===e&&Rt.set(t.strings,e=new jt(t)),e}k(t){yt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,o=0;for(const n of t)o===e.length?e.push(r=new zt(this.S(vt()),this.S(vt()),this,this.options)):r=e[o],r._$AI(n),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$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 qt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,n){this.type=1,this._$AH=It,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=It}_$AI(t,e=this,r,o){const n=this.strings;let i=!1;if(void 0===n)t=Dt(this,t,e,0),i=!mt(t)||t!==this._$AH&&t!==Ot,i&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Dt(this,o[r+s],e,s),a===Ot&&(a=this._$AH[s]),i||=!mt(a)||a!==this._$AH[s],a===It?t=It:t!==It&&(t+=(a??"")+n[s+1]),this._$AH[s]=a}i&&!o&&this.j(t)}j(t){t===It?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ht extends qt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===It?void 0:t}}class Ut extends qt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==It)}}class Ft extends qt{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){if((t=Dt(this,t,e,0)??It)===Ot)return;const r=this._$AH,o=t===It&&r!==It||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==It&&(r===It||o);o&&this.element.removeEventListener(this.name,this,r),n&&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 Bt{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 Vt=ct.litHtmlPolyfillSupport;Vt?.(jt,zt),(ct.litHtmlVersions??=[]).push("3.1.2");class Wt extends lt{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 o=r?.renderBefore??e;let n=o._$litPart$;if(void 0===n){const t=r?.renderBefore??null;o._$litPart$=n=new zt(e.insertBefore(vt(),t),t,void 0,r??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ot}}Wt._$litElement$=!0,Wt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Wt});const Kt=globalThis.litElementPolyfillSupport;Kt?.({LitElement:Wt}),(globalThis.litElementVersions??=[]).push("4.0.4");const Xt={attribute:!0,type:String,converter:it,reflect:!1,hasChanged:st},Gt=(t=Xt,e,r)=>{const{kind:o,metadata:n}=r;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(r.name,t),"accessor"===o){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error("Unsupported decorator location: "+o)};function Jt(t){return(e,r)=>"object"==typeof r?Gt(t,e,r):((t,e,r)=>{const o=e.hasOwnProperty(r);return e.constructor.createProperty(r,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}class Qt extends Wt{static get formAssociated(){return!0}static{this.styles=W`
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
padding: 16px;
|
|
6
|
+
}
|
|
7
|
+
.form-group {
|
|
8
|
+
margin-bottom: 10px;
|
|
9
|
+
}
|
|
10
|
+
`}constructor(){super(),this.configData={},this._internals=this.attachInternals()}_handleInput(t){this.value=t.target.value,this._internals.setFormValue(this.value)}async connectedCallback(){super.connectedCallback(),this.value&&(this.configData=JSON.parse(this.value))}handleInputChange(t,e){e.preventDefault();const r=e.target;this.configData[t]=r.value,this.requestUpdate()}updateConfigData(t,e,r,o=!1){if(r.preventDefault(),o){const r=this.configData[t];delete this.configData[t],this.configData[e]=r}else this.configData[t]=e;this.requestUpdate()}addKeyValuePair(t){t.preventDefault();const e=`newKey${Object.keys(this.configData).length}`;this.configData[e]="newValue",this.requestUpdate()}deleteKeyValuePair(t,e){e.preventDefault(),delete this.configData[t],this.requestUpdate()}saveChanges(t){t.preventDefault(),console.log("Saving changes:",this.configData)}cancelChanges(t){t.preventDefault(),console.log("Cancelling changes")}render(){const t=new M(this.configData);return $t`<slot></slot>
|
|
11
|
+
<form>
|
|
12
|
+
${Array.from(t.getValues()).map((({key:t,value:e})=>$t`
|
|
13
|
+
<div class="input-group mb-3">
|
|
14
|
+
<input type="text" class="form-control" .value="${t}" @input="${e=>this.updateConfigData(t,e.target.value,e,!0)}">
|
|
15
|
+
<input type="text" class="form-control" .value="${e}" @input="${e=>this.updateConfigData(t,e.target.value,e)}">
|
|
16
|
+
<button class="btn btn-outline-danger" @click="${e=>this.deleteKeyValuePair(t,e)}">Delete</button>
|
|
17
|
+
</div>`))}
|
|
18
|
+
<div>
|
|
19
|
+
<button class="btn btn-outline-primary" @click="${this.addKeyValuePair}">Add Entry</button>
|
|
20
|
+
<button class="btn btn-success" @click="${this.saveChanges}">Save</button>
|
|
21
|
+
<button class="btn btn-secondary" @click="${this.cancelChanges}">Cancel</button>
|
|
22
|
+
</div>
|
|
23
|
+
</form>
|
|
24
|
+
`}}(function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);i>3&&s&&Object.defineProperty(e,r,s)})([Jt({type:String}),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:type",Object)],Qt.prototype,"value",void 0),customElements.define("qbo-config-editor",Qt);const Yt="LoggerToken";var Zt;!function(t){t[t.Trace=0]="Trace",t[t.Debug=1]="Debug",t[t.Information=2]="Information",t[t.Warning=3]="Warning",t[t.Error=4]="Error",t[t.Critical=5]="Critical"}(Zt||(Zt={}));const te="LoggerServiceToken",ee="LogReaderToken";class re{logTrace(t,...e){console.debug(t,...e)}logDebug(t,...e){console.debug(t,...e)}logInformation(t,...e){console.info(t,...e)}logWarning(t,...e){console.warn(t,...e)}logError(t,e,...r){console.error(t,...e?[e,...r]:r)}logCritical(t,e,...r){console.error(`CRITICAL: ${t}`,...e?[e,...r]:r)}log(t,e,r,...o){switch(t){case Zt.Trace:this.logTrace(e,...o);break;case Zt.Debug:this.logDebug(e,...o);break;case Zt.Information:this.logInformation(e,...o);break;case Zt.Warning:this.logWarning(e,...o);break;case Zt.Error:this.logError(e,r,...o);break;case Zt.Critical:this.logCritical(e,r,...o);break;default:console.log(e,...o)}}}I.container.register(Yt,{useClass:re},{lifecycle:n.Singleton});class oe{constructor(){this.logs=[]}logTrace(t,...e){this.logs.push({logLevel:Zt.Trace,message:t,args:e})}logDebug(t,...e){this.logs.push({logLevel:Zt.Debug,message:t,args:e})}logInformation(t,...e){this.logs.push({logLevel:Zt.Information,message:t,args:e})}logWarning(t,...e){this.logs.push({logLevel:Zt.Warning,message:t,args:e})}logError(t,e,...r){this.logs.push({logLevel:Zt.Error,message:t,error:e,args:r})}logCritical(t,e,...r){this.logs.push({logLevel:Zt.Critical,message:t,error:e,args:r})}log(t,e,r,...o){this.logs.push({logLevel:t,message:e,error:r,args:o})}getLogs(){return this.logs}clearLogs(){this.logs=[]}}I.container.registerSingleton(oe),I.container.register(Yt,{useToken:oe}),I.container.register(ee,{useToken:oe});var ne=void 0,ie=null,se="",ae="function",le="object",ce="prototype",ue="__proto__",de="undefined",pe="constructor",fe="Symbol",be="_polyfill",he="length",ge="name",ve="call",me="toString",ye=Object,we=ye[ce],_e=String,xe=_e[ce],ke=Math,Ce=Array,Ee=Ce[ce],Se=Ee.slice;function Ae(t,e){try{return{v:t.apply(this,e)}}catch(t){return{e:t}}}var Te,$e,Oe="__tsUtils$gblCfg";function Ie(){var t;return typeof globalThis!==de&&(t=globalThis),t||typeof self===de||(t=self),t||typeof window===de||(t=window),t||typeof r.g===de||(t=r.g),t}function Re(){if(!Te){var t=Ae(Ie).v||{};Te=t[Oe]=t[Oe]||{}}return Te}function Pe(t){return function(e){return typeof e===t}}function Le(t){var e="[object "+t+"]";return function(t){return!(!t||Me(t)!==e)}}function Me(t){return we.toString.call(t)}function je(t){return typeof t===de||t===de}function De(t){return t===ie||je(t)}function Ne(t){return!!t||t!==ne}var ze=Pe("string"),qe=Pe(ae);function He(t){return!(!t&&De(t)||!t||typeof t!==le)}var Ue=Ce.isArray,Fe=Le("Date"),Be=Pe("number"),Ve=Pe("boolean"),We=Le("Error");function Ke(t){return!!(t&&t.then&&qe(t.then))}function Xe(t){return!(!t||(e=function(){return!(t&&0+t)},r=!t,o=Ae(e),o.e?r:o.v));var e,r,o}var Ge=ye.getOwnPropertyDescriptor;function Je(t,e){return!!t&&we.hasOwnProperty[ve](t,e)}var Qe=ye.hasOwn||function(t,e){return Je(t,e)||!!Ge(t,e)};function Ye(t,e,r){if(t&&He(t))for(var o in t)if(Qe(t,o)&&-1===e[ve](r||t,o,t[o]))break}var Ze={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};var tr,er=ye.defineProperty,rr=ye.defineProperties;function or(t,e,r){return er(t,e,function(t){var e={};if(e[Ze.c]=!0,e[Ze.e]=!0,t.l){e.get=function(){return t.l.v};var r=Ge(t.l,"v");r&&r.set&&(e.set=function(e){t.l.v=e})}return Ye(t,(function(t,r){e[Ze[t]]=je(r)?e[Ze[t]]:r})),e}(r))}function nr(){tr=Re()}function ir(t){var e={};return!tr&&nr(),e.b=tr.lzy,er(e,"v",{configurable:!0,get:function(){var r=t();return tr.lzy||er(e,"v",{value:r}),e.b=tr.lzy,r}}),e}function sr(t){return er({toJSON:function(){return t}},"v",{value:t})}var ar,lr="window";function cr(t,e){var r;return function(){return!tr&&nr(),(!r||tr.lzy)&&(r=sr(Ae(t,e).v)),r.v}}function ur(t){return ir((function(){return Ae(pr,[t]).v||ne}))}function dr(t){return!tr&&nr(),(!ar||!1===t||tr.lzy)&&(ar=sr(Ae(Ie).v||ie)),ar.v}function pr(t,e){var r=ar&&!1!==e?ar.v:dr(e);return r&&r[t]?r[t]:t===lr?gr():ie}function fr(){return!!br()}var br=cr(pr,["document"]);function hr(){return!!gr()}var gr=cr(pr,[lr]),vr=cr(pr,["navigator"]),mr=cr(pr,["history"]),yr=cr((function(){return!!Ae((function(){return process&&(process.versions||{}).node})).v})),wr=cr((function(){return!!Ae((function(){return self&&self instanceof WorkerGlobalScope})).v}));function _r(t){throw new Error(t)}function xr(t){throw new TypeError(t)}var kr=_e,Cr="[object Error]";function Er(t,e){var r=se,o=we[me][ve](t);o===Cr&&(t={stack:kr(t.stack),message:kr(t.message),name:kr(t.name)});try{r=(r=JSON.stringify(t,ie,e?"number"==typeof e?e:4:ne))&&r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||kr(t)}catch(t){r=" - "+Er(t,e)}return o+": "+r}var Sr,Ar=ye.create||function(t){if(!t)return{};var e=typeof t;function r(){}return e!==le&&e!==ae&&xr("Prototype must be an Object or function: "+Er(t)),r[ce]=t,new r},Tr="constructor",$r="prototype",Or="function",Ir="_dynInstFuncs",Rr="_isDynProxy",Pr="_dynClass",Lr="_dynInstChk",Mr=Lr,jr="_dfOpts",Dr="_unknown_",Nr="__proto__",zr="_dyn"+Nr,qr="__dynProto$Gbl",Hr="_dynInstProto",Ur="useBaseInst",Fr="setInstFuncs",Br=Object,Vr=Br.getPrototypeOf,Wr=Br.getOwnPropertyNames,Kr=dr(),Xr=Kr[qr]||(Kr[qr]={o:(Sr={},Sr[Fr]=!0,Sr[Ur]=!0,Sr),n:1e3});function Gr(t){return t&&(t===Br[$r]||t===Array[$r])}function Jr(t){return Gr(t)||t===Function[$r]}function Qr(t){var e;if(t){if(Vr)return Vr(t);var r=t[Nr]||t[$r]||(t[Tr]?t[Tr][$r]:null);e=t[zr]||r,Je(t,zr)||(delete t[Hr],e=t[zr]=t[Hr]||t[zr],t[Hr]=r)}return e}function Yr(t,e){var r=[];if(Wr)r=Wr(t);else for(var o in t)"string"==typeof o&&Je(t,o)&&r.push(o);if(r&&r.length>0)for(var n=0;n<r.length;n++)e(r[n])}function Zr(t,e,r){return e!==Tr&&typeof t[e]===Or&&(r||Je(t,e))&&e!==Nr&&e!==$r}function to(t){xr("DynamicProto: "+t)}function eo(t,e){for(var r=t.length-1;r>=0;r--)if(t[r]===e)return!0;return!1}function ro(t,e,r,o,n){if(!Gr(t)){var i=r[Ir]=r[Ir]||Ar(null);if(!Gr(i)){var s=i[e]=i[e]||Ar(null);!1!==i[Mr]&&(i[Mr]=!!n),Gr(s)||Yr(r,(function(e){Zr(r,e,!1)&&r[e]!==o[e]&&(s[e]=r[e],delete r[e],(!Je(t,e)||t[e]&&!t[e][Rr])&&(t[e]=function(t,e){var r=function(){var o=function(t,e,r,o){var n=null;if(t&&Je(r,Pr)){var i=t[Ir]||Ar(null);if((n=(i[r[Pr]]||Ar(null))[e])||to("Missing ["+e+"] "+Or),!n[Lr]&&!1!==i[Mr]){for(var s=!Je(t,e),a=Qr(t),l=[];s&&a&&!Jr(a)&&!eo(l,a);){var c=a[e];if(c){s=c===o;break}l.push(a),a=Qr(a)}try{s&&(t[e]=n),n[Lr]=1}catch(t){i[Mr]=!1}}}return n}(this,e,t,r)||function(t,e,r){var o=e[t];return o===r&&(o=Qr(e)[t]),typeof o!==Or&&to("["+t+"] is not a "+Or),o}(e,t,r);return o.apply(this,arguments)};return r[Rr]=1,r}(t,e)))}))}}}function oo(t,e){return Je(t,$r)?t.name||e||Dr:((t||{})[Tr]||{}).name||e||Dr}function no(t,e,r,o){Je(t,$r)||to("theClass is an invalid class definition.");var n=t[$r];(function(t,e){if(Vr){for(var r=[],o=Qr(e);o&&!Jr(o)&&!eo(r,o);){if(o===t)return!0;r.push(o),o=Qr(o)}return!1}return!0})(n,e)||to("["+oo(t)+"] not in hierarchy of ["+oo(e)+"]");var i=null;Je(n,Pr)?i=n[Pr]:(i="_dynCls$"+oo(t,"_")+"$"+Xr.n,Xr.n++,n[Pr]=i);var s=no[jr],a=!!s[Ur];a&&o&&void 0!==o[Ur]&&(a=!!o[Ur]);var l=function(t){var e=Ar(null);return Yr(t,(function(r){!e[r]&&Zr(t,r,!1)&&(e[r]=t[r])})),e}(e),c=function(t,e,r,o){function n(t,e,r){var n=e[r];if(n[Rr]&&o){var i=t[Ir]||{};!1!==i[Mr]&&(n=(i[e[Pr]]||{})[r]||n)}return function(){return n.apply(t,arguments)}}var i=Ar(null);Yr(r,(function(t){i[t]=n(e,r,t)}));for(var s=Qr(t),a=[];s&&!Jr(s)&&!eo(a,s);)Yr(s,(function(t){!i[t]&&Zr(s,t,!Vr)&&(i[t]=n(e,s,t))})),a.push(s),s=Qr(s);return i}(n,e,l,a);r(e,c);var u=!!Vr&&!!s[Fr];u&&o&&(u=!!o[Fr]),ro(n,i,e,l,!1!==u)}no[jr]=Xr.o;var io=ye.freeze;var so=ye.assign,ao=ye.keys;function lo(t){return io&&Ye(t,(function(t,e){(Ue(e)||He(e))&&io(e)})),co(t)}var co=io||function(t){return t},uo=(ye.seal,ye.getPrototypeOf||function(t){return t[ue]||ie}),po=(ye.entries,ye.values,"function"),fo="object",bo="undefined",ho="prototype",go=Object,vo=go[ho],mo=((dr()||{}).Symbol,(dr()||{}).Reflect,"hasOwnProperty"),yo=so||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])vo[mo].call(e,n)&&(t[n]=e[n]);return t},wo=function(t,e){return wo=go.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e[mo](r)&&(t[r]=e[r])},wo(t,e)};function _o(t,e){function r(){this.constructor=t}typeof e!==po&&null!==e&&xr("Class extends value "+String(e)+" is not a constructor or null"),wo(t,e),t[ho]=null===e?Ar(e):(r[ho]=e[ho],new r)}function xo(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t}var ko="toLowerCase",Co="blkVal",Eo="length",So="rdOnly",Ao="notify",To="warnToConsole",$o="throwInternal",Oo="setDf",Io="watch",Ro="logger",Po="apply",Lo="push",Mo="splice",jo="hdlr",Do="cancel",No="initialize",zo="identifier",qo="removeNotificationListener",Ho="addNotificationListener",Uo="isInitialized",Fo="getNotifyMgr",Bo="getPlugin",Vo="pollInternalLogs",Wo="name",Ko="time",Xo="processNext",Go="getProcessTelContext",Jo="enabled",Qo="stopPollingInternalLogs",Yo="unload",Zo="onComplete",tn="version",en="loggingLevelConsole",rn="createNew",on="teardown",nn="messageId",sn="message",an="isAsync",ln="diagLog",cn="_doTeardown",un="update",dn="getNext",pn="setNextPlugin",fn="protocol",bn="userAgent",hn="split",gn="nodeType",vn="replace",mn="logInternalMessage",yn="type",wn="handler",_n="status",xn="getResponseHeader",kn="getAllResponseHeaders",Cn="isChildEvt",En="data",Sn="getCtx",An="setCtx",Tn="complete",$n="itemsReceived",On="urlString",In="sendPOST",Rn="headers",Pn="timeout",Ln="setRequestHeader",Mn="traceId",jn="spanId",Dn="traceFlags",Nn=zn;function zn(t,e,r){var o=e&&e[t];return function(e){var n=e&&e[t]||o;if(n||r){var i=arguments;return(n||r).apply(e,n?Se[ve](i,1):i)}xr('"'+kr(t)+'" not defined for '+Er(e))}}function qn(t){return function(e){return e[t]}}var Hn,Un,Fn,Bn=Nn("indexOf",xe);function Vn(t,e,r){if(t)for(var o=t[he]>>>0,n=0;n<o&&(!(n in t)||-1!==e[ve](r||t,t[n],n,t));n++);}function Wn(t){if(!t||typeof t!==le)return!1;Fn||(Fn=!hr()||gr());var e=!1;if(t!==Fn){Un||(Hn=Function[ce][me],Un=Hn[ve](ye));try{var r=uo(t);(e=!r)||(Je(r,pe)&&(r=r[pe]),e=r&&typeof r===ae&&Hn[ve](r)===Un)}catch(t){}}return e}function Kn(t){return function(e){return De(e)&&xr("strTrim called ["+Er(e)+"]"),e&&e.replace&&(e=e.replace(t,se)),e}}var Xn=zn("trim",xe,Kn(/^\s+|(?=\s)\s+$/g)),Gn=void 0,Jn="",Qn="channels",Yn="core",Zn="createPerfMgr",ti="disabled",ei="extensionConfig",ri="extensions",oi="processTelemetry",ni="priority",ii="eventsSent",si="eventsDiscarded",ai="eventsSendRequest",li="perfEvent",ci="offlineEventsStored",ui="offlineBatchSent",di="offlineBatchDrop",pi="getPerfMgr",fi="domain",bi="path",hi="Not dynamic - ",gi=/-([a-z])/g,vi=/([^\w\d_$])/g,mi=/^(\d+[\w\d_$])/,yi=Object.getPrototypeOf;function wi(t){return!De(t)}function _i(t){var e=t;return e&&ze(e)&&(e=(e=(e=e[vn](gi,(function(t,e){return e.toUpperCase()})))[vn](vi,"_"))[vn](mi,(function(t,e){return"_"+e}))),e}function xi(t,e){return!(!t||!e)&&-1!==Bn(t,e)}function ki(t){return t&&t.toISOString()||""}function Ci(t){return We(t)?t[Wo]:Jn}function Ei(t,e,r,o,n){var i=r;return t&&((i=t[e])===r||n&&!n(i)||o&&!o(r)||(i=r,t[e]=i)),i}function Si(t,e,r){var o;return t?!(o=t[e])&&De(o)&&(o=je(r)?{}:r,t[e]=o):o=je(r)?{}:r,o}function Ai(t,e){var r=null,o=null;return qe(t)?r=t:o=t,function(){var t=arguments;if(r&&(o=r()),o)return o[e][Po](o,t)}}function Ti(t,e,r,o,n){t&&e&&r&&(!1!==n||je(t[e]))&&(t[e]=Ai(r,o))}function $i(t,e,r,o){return t&&e&&He(t)&&Ue(r)&&Vn(r,(function(r){ze(r)&&Ti(t,r,e,r,o)})),t}function Oi(t){return t&&so&&(t=go(so({},t))),t}function Ii(t,e,r,o,n,i){var s=arguments,a=s[0]||{},l=s[Eo],c=!1,u=1;for(l>0&&Ve(a)&&(c=a,a=s[u]||{},u++),He(a)||(a={});u<l;u++){var d=s[u],p=Ue(d),f=He(d);for(var b in d)if(p&&b in d||f&&Qe(d,b)){var h=d[b],g=void 0;if(c&&h&&((g=Ue(h))||Wn(h))){var v=a[b];g?Ue(v)||(v=[]):Wn(v)||(v={}),h=Ii(c,v,h)}void 0!==h&&(a[b]=h)}}return a}function Ri(t,e){var r=!1,o=e&&e.featureOptIn&&e.featureOptIn[t];if(t&&o){var n=o.mode;r=3==n||1==n}return r}function Pi(t){try{return t.responseText}catch(t){}return null}function Li(t,e){return t?"XDomainRequest,Response:"+Pi(t)||0:e}function Mi(t,e){return t?"XMLHttpRequest,Status:"+t[_n]+",Response:"+Pi(t)||0:e}function ji(t,e){return e&&(Be(e)?t=[e].concat(t):Ue(e)&&(t=e.concat(t))),t}var Di="withCredentials";function Ni(t,e,r){if(!t[r]&&e&&e[xn]){var o=e[xn](r);o&&(t[r]=Xn(o))}return t}function zi(t,e){var r,o,n={};return t[kn]?(r=t[kn](),o={},ze(r)&&Vn(Xn(r)[hn](/[\r\n]+/),(function(t){if(t){var e=t.indexOf(": ");if(-1!==e){var r=Xn(t.substring(0,e))[ko](),n=Xn(t.substring(e+1));o[r]=n}else o[Xn(t)]=1}})),n=o):e&&(n=Ni(n,t,"time-delta-millis"),n=Ni(n,t,"kill-duration"),n=Ni(n,t,"kill-duration-seconds")),n}function qi(){return(Date.now||Hi)()}function Hi(){return(new Date).getTime()}var Ui="location",Fi="JSON",Bi="crypto",Vi="msCrypto",Wi="msie",Ki="trident/",Xi="XMLHttpRequest",Gi=null,Ji=null,Qi=!1,Yi=null,Zi=null;function ts(t,e){var r=!1;if(t){try{if(!(r=e in t)){var o=t[ho];o&&(r=e in o)}}catch(t){}if(!r)try{r=!je((new t)[e])}catch(t){}}return r}function es(t){if(t&&Qi){var e=pr("__mockLocation");if(e)return e}return typeof location===fo&&location?location:pr(Ui)}function rs(){return Boolean(typeof JSON===fo&&JSON||null!==pr(Fi))}function os(){return rs()?JSON||pr(Fi):null}function ns(){var t=vr();if(t&&(t[bn]!==Ji||null===Gi)){var e=((Ji=t[bn])||Jn)[ko]();Gi=xi(e,Wi)||xi(e,Ki)}return Gi}function is(t){if(void 0===t&&(t=null),!t){var e=vr()||{};t=e?(e.userAgent||Jn)[ko]():Jn}var r=(t||Jn)[ko]();if(xi(r,Wi)){var o=br()||{};return Math.max(parseInt(r[hn](Wi)[1]),o.documentMode||0)}if(xi(r,Ki)){var n=parseInt(r[hn](Ki)[1]);if(n)return n+4}return null}function ss(t){return null!==Zi&&!1!==t||(Zi=!!vr()&&Boolean(vr().sendBeacon)),Zi}function as(t){var e=!1;try{e=!!pr("fetch");var r=pr("Request");e&&t&&r&&(e=ts(r,"keepalive"))}catch(t){}return e}function ls(){var t=!1;try{t=!!pr(Xi)}catch(t){}return t}var cs=4294967296,us=4294967295,ds=123456789,ps=987654321,fs=!1,bs=ds,hs=ps;function gs(){try{var t=2147483647&qi();(e=(Math.random()*cs^t)+t)<0&&(e>>>=0),bs=ds+e&us,hs=ps-e&us,fs=!0}catch(t){}var e}function vs(t){var e=0,r=pr(Bi)||pr(Vi);return r&&r.getRandomValues&&(e=r.getRandomValues(new Uint32Array(1))[0]&us),0===e&&ns()&&(fs||gs(),e=function(t){var e=((hs=36969*(65535&hs)+(hs>>16)&us)<<16)+(65535&(bs=18e3*(65535&bs)+(bs>>16)&us))>>>0&us;return e>>>=0}()&us),0===e&&(e=Math.floor(cs*Math.random()|0)),t||(e>>>=0),e}function ms(t){void 0===t&&(t=22);for(var e=vs()>>>0,r=0,o=Jn;o[Eo]<t;)r++,o+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&e),e>>>=6,5===r&&(e=(vs()<<2&4294967295|3&e)>>>0,r=0);return o}var ys="3.0.5",ws="."+ms(6),_s=0;function xs(t){return 1===t[gn]||9===t[gn]||!+t[gn]}function ks(t,e){return void 0===e&&(e=!1),_i(t+_s+++(e?"."+ys:Jn)+ws)}function Cs(t){var e={id:ks("_aiData-"+(t||Jn)+"."+ys),accept:function(t){return xs(t)},get:function(t,r,o,n){var i=t[e.id];return i?i[_i(r)]:(n&&(i=function(t,e){var r=e[t.id];if(!r){r={};try{xs(e)&&or(e,t.id,{e:!1,v:r})}catch(t){}}return r}(e,t),i[_i(r)]=o),o)},kill:function(t,e){if(t&&t[e])try{delete t[e]}catch(t){}}};return e}function Es(t){return t&&He(t)&&(t.isVal||t.fb||Qe(t,"v")||Qe(t,"mrg")||Qe(t,"ref")||t.set)}function Ss(t,e,r){var o,n=r.dfVal||Ne;if(e&&r.fb){var i=r.fb;Ue(i)||(i=[i]);for(var s=0;s<i[Eo];s++){var a=i[s],l=e[a];if(n(l)?o=l:t&&(n(l=t.cfg[a])&&(o=l),t.set(t.cfg,kr(a),l)),n(o))break}}return!n(o)&&n(r.v)&&(o=r.v),o}function As(t,e,r){var o,n=r;return r&&Es(r)&&(n=Ss(t,e,r)),n&&(Es(n)&&(n=As(t,e,n)),Ue(n)?(o=[])[Eo]=n[Eo]:Wn(n)&&(o={}),o&&(Ye(n,(function(r,n){n&&Es(n)&&(n=As(t,e,n)),o[r]=n})),n=o)),n}function Ts(t,e,r,o){var n,i,s,a,l,c,u,d,p=o;Es(p)?(n=p.isVal,i=p.set,c=p[So],u=p[Co],a=p.mrg,!(l=p.ref)&&je(l)&&(l=!!a),s=Ss(t,e,p)):s=o,u&&t[Co](e,r);var f=!0,b=e[r];!b&&De(b)||(d=b,f=!1,n&&d!==s&&!n(d)&&(d=s,f=!0),i&&(f=(d=i(d,s,e))===s)),f?d=s?As(t,e,s):s:(Wn(d)||Ue(s))&&a&&s&&(Wn(s)||Ue(s))&&Ye(s,(function(e,r){Ts(t,d,e,r)})),t.set(e,r,d),l&&t.ref(e,r),c&&t[So](e,r)}var $s=Nn("indexOf",Ee);function Os(t,e,r,o){var n={};return Ye(t,(function(t,o){n[t]=e?o:t,n[o]=r?o:t})),o(n)}function Is(t){return Os(t,0,0,lo)}var Rs,Ps,Ls,Ms,js=Is({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Ds="_urid";function Ns(t){var e={description:kr(t),toString:function(){return fe+"("+t+")"}};return e[be]=!0,e}function zs(t){var e=function(){if(!Rs){var t=Re();Rs=t.gblSym=t.gblSym||{k:{},s:{}}}return Rs}();if(!Qe(e.k,t)){var r=Ns(t),o=ao(e.s).length;r[Ds]=function(){return o+"_"+r[me]()},e.k[t]=r,e.s[r[Ds]()]=kr(t)}return e.k[t]}function qs(t,e){return ir((function(){var r=Ae(t);return r.e?e:r.v}))}function Hs(){Ls&&Ls.b||(Ls=ur(fe),Ms=qs((function(){return Ls.v?Ls.v.for:ne}),ne),qs((function(){return Ls.v?Ls.v.keyFor:ne}),ne))}function Us(){return!tr&&nr(),(!Ls||tr.lzy)&&Hs(),!!Ls.v}function Fs(t,e){var r=js[t];return!tr&&nr(),(!Ls||tr.lzy)&&Hs(),Ls.v?Ls.v[r||t]:e?ne:function(t){var e;!Ps&&(Ps={});var r=js[t];return r&&(e=Ps[r]=Ps[r]||Ns(fe+"."+r)),e}(t)}function Bs(t,e){return!tr&&nr(),(!Ls||tr.lzy)&&Hs(),Ls.v?Ls.v(t):e?ie:Ns(t)}function Vs(t){return!tr&&nr(),(!Ms||!Ls||tr.lzy)&&Hs(),(Ms.v||zs)(t)}var Ws=Vs("[[ai_dynCfg_1]]"),Ks=Vs("[[ai_blkDynCfg_1]]"),Xs=Vs("[[ai_frcDynCfg_1]]");function Gs(t){var e;return t&&(Ue(t)?(e=[])[Eo]=t[Eo]:Wn(t)&&(e={}),e)?(Ye(t,(function(t,r){e[t]=Gs(r)})),e):t}function Js(t,e,r){var o=!1;return r&&!t[e.blkVal]&&((o=r[Xs])||r[Ks]||(o=Wn(r)||Ue(r))),o}function Qs(t){xr("InvalidAccess:"+t)}var Ys=["push","pop","shift","unshift","splice"],Zs=function(t,e,r,o){t&&t[$o](3,108,"".concat(r," [").concat(e,"] failed - ")+Er(o))};function ta(t,e){var r=Ge(t,e);return r&&r.get}function ea(t,e,r,o){if(e){var n=ta(e,r);n&&n[t.prop]?e[r]=o:function(t,e,r,o){var n={n:r,h:[],trk:function(e){e&&e.fn&&(-1===$s(n.h,e)&&n.h[Lo](e),t.trk(e,n))},clr:function(t){var e=$s(n.h,t);-1!==e&&n.h[Mo](e,1)}},i=!0,s=!1;function a(){i&&(s=s||Js(a,t,o),o&&!o[Ws]&&s&&(o=oa(t,o,r,"Converting")),i=!1);var e=t.act;return e&&n.trk(e),o}a[t.prop]={chng:function(){t.add(n)}},or(e,n.n,{g:a,s:function(l){if(o!==l){a[t.ro]&&!t.upd&&Qs("["+r+"] is read-only:"+Er(e)),i&&(s=s||Js(a,t,o),i=!1);var c=s&&a[t.rf];if(s)if(c){Ye(o,(function(t){o[t]=l?l[t]:Gn}));try{Ye(l,(function(e,r){ea(t,o,e,r)})),l=o}catch(e){Zs((t.hdlr||{})[Ro],r,"Assigning",e),s=!1}}else o&&o[Ws]&&Ye(o,(function(e){var r=ta(o,e);if(r){var n=r[t.prop];n&&n.chng()}}));if(l!==o){var u=l&&Js(a,t,l);!c&&u&&(l=oa(t,l,r,"Converting")),o=l,s=u}t.add(n)}}})}(t,e,r,o)}return e}function ra(t,e,r,o){if(e){var n=ta(e,r),i=n&&!!n[t.prop],s=o&&o[0],a=o&&o[1],l=o&&o[2];if(!i){if(l)try{!function(t){if(t&&(Wn(t)||Ue(t)))try{t[Ks]=!0}catch(t){}}(e)}catch(e){Zs((t.hdlr||{})[Ro],r,"Blocking",e)}try{ea(t,e,r,e[r]),n=ta(e,r)}catch(e){Zs((t.hdlr||{})[Ro],r,"State",e)}}s&&(n[t.rf]=s),a&&(n[t.ro]=a),l&&(n[t.blkVal]=!0)}return e}function oa(t,e,r,o){try{Ye(e,(function(r,o){ea(t,e,r,o)})),e[Ws]||(er(e,Ws,{get:function(){return t[jo]}}),function(t,e,r){Ue(e)&&Vn(Ys,(function(o){var n=e[o];e[o]=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var s=n[Po](this,o);return oa(t,e,r,"Patching"),s}}))}(t,e,r))}catch(e){Zs((t.hdlr||{})[Ro],r,o,e)}return e}function na(t,e,r){return t.apply(e,r)}var ia,sa,aa,la="ref",ca="unref",ua="hasRef",da="enabled";function pa(t,e,r){var o=Ue(e),n=o?e.length:0,i=(n>0?e[0]:o?ne:e)||setTimeout,s=(n>1?e[1]:ne)||clearTimeout,a=r[0];r[0]=function(){l.dn(),na(a,ne,Se[ve](arguments))};var l=function(t,e,r){var o,n=!0,i=t?e(ie):ie;function a(){return n=!1,i&&i[ca]&&i[ca](),o}function l(){i&&function(t){na(s,ne,[t])}(i),i=ie}function c(){return i=e(i),n||a(),o}return(o={cancel:l,refresh:c})[ua]=function(){return i&&i[ua]?i[ua]():n},o[la]=function(){return n=!0,i&&i[la]&&i[la](),o},o[ca]=a,{h:o=er(o,da,{get:function(){return!!i},set:function(t){!t&&i&&l(),t&&!i&&c()}}),dn:function(){i=ie}}}(t,(function(t){if(t){if(t.refresh)return t.refresh(),t;na(s,ne,[t])}return na(i,ne,r)}));return l.h}function fa(t,e){return pa(!0,ne,Se[ve](arguments))}function ba(t,e){var r=ye.setPrototypeOf||function(t,e){!ia&&(ia=ir((function(){var t;return(t={})[ue]=[],t instanceof Array}))),ia.v?t[ue]=e:Ye(e,(function(e,r){return t[e]=r}))};return r(t,e)}function ha(t,e){e&&(t[ge]=e)}function ga(t,e,r){var o=r||Error,n=o[ce][ge],i=Error.captureStackTrace;return function(t,e,r){function o(){this.constructor=e,Ae(or,[this,ge,{v:t,c:!0,e:!1}])}return Ae(or,[e,ge,{v:t,c:!0,e:!1}]),(e=ba(e,r))[ce]=r===ie?Ar(r):(o[ce]=r[ce],new o),e}(t,(function(){var r=this,s=arguments;try{Ae(ha,[o,t]);var a=na(o,r,Se[ve](s))||r;if(a!==r){var l=uo(r);l!==uo(a)&&ba(a,l)}return i&&i(a,r[pe]),e&&e(a,s),a}finally{Ae(ha,[o,n])}}),o)}var va="[[ai_",ma="]]";function ya(t,e,r){var o,n=function(t){if(t){var e=t[Ws]||t;if(e.cfg&&(e.cfg===t||e.cfg[Ws]===e))return e}return null}(e);if(n)return n;var i,s=ks("dyncfg",!0),a=e&&!1!==r?e:Gs(e),l=((o={uid:null,cfg:a})[Ro]=t,o[Ao]=function(){i[Ao]()},o.set=function(e,r,o){try{e=ea(i,e,r,o)}catch(e){Zs(t,r,"Setting value",e)}return e[r]},o[Oo]=function(t,e){return e&&Ye(e,(function(e,r){Ts(l,t,e,r)})),t},o[Io]=function(t){return function(t,e){var r={fn:e,rm:function(){r.fn=null,t=null,e=null}};return or(r,"toJSON",{v:function(){return"WatcherHandler"+(r.fn?"":"[X]")}}),t.use(r,e),r}(i,t)},o.ref=function(t,e){var r;return ra(i,t,e,(r={},r[0]=!0,r))[e]},o[So]=function(t,e){var r;return ra(i,t,e,(r={},r[1]=!0,r))[e]},o[Co]=function(t,e){var r;return ra(i,t,e,(r={},r[2]=!0,r))[e]},o._block=function(t,e){i.use(null,(function(r){var o=i.upd;try{je(e)||(i.upd=e),t(r)}finally{i.upd=o}}))},o);return or(l,"uid",{c:!1,e:!1,w:!1,v:s}),oa(i=function(t){var e,r,o=Bs(va+"get"+t.uid+ma),n=Bs(va+"ro"+t.uid+ma),i=Bs(va+"rf"+t.uid+ma),s=Bs(va+"blkVal"+t.uid+ma),a=Bs(va+"dtl"+t.uid+ma),l=null,c=null;function u(e,o){var n=r.act;try{r.act=e,e&&e[a]&&(Vn(e[a],(function(t){t.clr(e)})),e[a]=[]),o({cfg:t.cfg,set:t.set.bind(t),setDf:t[Oo].bind(t),ref:t.ref.bind(t),rdOnly:t[So].bind(t)})}catch(e){var i=t[Ro];throw i&&i[$o](1,107,Er(e)),e}finally{r.act=n||null}}function d(){if(l){var t=l;l=null,c&&c[Do](),c=null;var e=[];if(Vn(t,(function(t){if(t&&(t[a]&&(Vn(t[a],(function(e){e.clr(t)})),t[a]=null),t.fn))try{u(t,t.fn)}catch(t){e[Lo](t)}})),l)try{d()}catch(t){e[Lo](t)}e[Eo]>0&&function(t,e){aa||(aa=ga("AggregationError",(function(t,e){e[Eo]>1&&(t.errors=e[1])})));var r="Watcher error(s): ";throw Vn(e,(function(t,e){r+="\n".concat(e," > ").concat(Er(t))})),new aa(r,e||[])}(0,e)}}return(e={prop:o,ro:n,rf:i})[Co]=s,e[jo]=t,e.add=function(t){if(t&&t.h[Eo]>0){l||(l=[]),c||(c=fa((function(){c=null,d()}),0));for(var e=0;e<t.h[Eo];e++){var r=t.h[e];r&&-1===$s(l,r)&&l[Lo](r)}}},e[Ao]=d,e.use=u,e.trk=function(t,e){if(t){var r=t[a]=t[a]||[];-1===$s(r,e)&&r[Lo](e)}},r=e}(l),a,"config","Creating"),l}function wa(t,e,r,o){var n=ya(r,t||{},o);return e&&n[Oo](n.cfg,e),n}function _a(t,e,r){var o=t[Ws]||t;return!o.cfg||o.cfg!==t&&o.cfg[Ws]!==o?(function(t,e){t?(t[To](e),t[$o](2,108,e)):Qs(e)}(r,hi+Er(t)),wa(t,null,r)[Io](e)):o[Io](e)}var xa,ka,Ca=[ii,si,ai,li],Ea=null;function Sa(t,e){return function(){var r=arguments,o=Aa(e);if(o){var n=o.listener;n&&n[t]&&n[t][Po](n,r)}}}function Aa(t){var e,r=Ea;return r||!0===t.disableDbgExt||(r=Ea||((e=pr("Microsoft"))&&(Ea=e.ApplicationInsights),Ea)),r?r.ChromeDbgExt:null}var Ta="warnToConsole",$a={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},Oa=((ka={})[0]=null,ka[1]="errorToConsole",ka[2]=Ta,ka[3]="debugToConsole",ka);function Ia(t){return t?'"'+t[vn](/\"/g,Jn)+'"':Jn}function Ra(t,e){var r=typeof console!==bo?console:pr("console");if(r){var o="log";r[t]&&(o=t),qe(r[o])&&r[o](e)}}var Pa=function(){function t(t,e,r,o){void 0===r&&(r=!1);var n=this;n[nn]=t,n[sn]=(r?"AI: ":"AI (Internal): ")+t;var i=Jn;rs()&&(i=os().stringify(o));var s=(e?" message:"+Ia(e):Jn)+(o?" props:"+Ia(i):Jn);n[sn]+=s}return t.dataType="MessageData",t}();function La(t,e){return(t||{})[Ro]||new Ma(e)}var Ma=function(){function t(e){this.identifier="DiagnosticLogger",this.queue=[];var r,o,n,i,s,a=0,l={};no(t,this,(function(t){function c(e,r){if(!(a>=n)){var i=!0,s="AITR_"+r[nn];if(l[s]?i=!1:l[s]=!0,i&&(e<=o&&(t.queue[Lo](r),a++,u(1===e?"error":"warn",r)),a===n)){var c="Internal events throttle limit per PageView reached for this app.",d=new Pa(23,c,!1);t.queue[Lo](d),1===e?t.errorToConsole(c):t[To](c)}}}function u(t,r){var o=Aa(e||{});o&&o[ln]&&o[ln](t,r)}s=function(e){return _a(wa(e,$a,t).cfg,(function(t){var e=t.cfg;r=e[en],o=e.loggingLevelTelemetry,n=e.maxMessageLimit,i=e.enableDebug}))}(e||{}),t.consoleLoggingLevel=function(){return r},t[$o]=function(e,o,n,s,a){void 0===a&&(a=!1);var d=new Pa(o,n,a,s);if(i)throw Er(d);var p=Oa[e]||Ta;if(je(d[sn]))u("throw"+(1===e?"Critical":"Warning"),d);else{if(a){var f=+d[nn];!l[f]&&r>=e&&(t[p](d[sn]),l[f]=!0)}else r>=e&&t[p](d[sn]);c(e,d)}},t.debugToConsole=function(t){Ra("debug",t),u("warning",t)},t[To]=function(t){Ra("warn",t),u("warning",t)},t.errorToConsole=function(t){Ra("error",t),u("error",t)},t.resetInternalMessageCount=function(){a=0,l={}},t[mn]=c,t[Yo]=function(t){s&&s.rm(),s=null}}))}return t.__ieDyn=1,t}();function ja(t){return t||new Ma}function Da(t,e,r,o,n,i){void 0===i&&(i=!1),ja(t)[$o](e,r,o,n,i)}function Na(t,e){ja(t)[To](e)}var za=function(t){return Os(t,1,0,lo)},qa=za({LocalStorage:0,SessionStorage:1}),Ha=(za({AI:0,AI_AND_W3C:1,W3C:2}),za({Normal:1,Critical:2}),"split"),Ua="length",Fa="toLowerCase",Ba="ingestionendpoint",Va="toString",Wa="push",Ka="removeItem",Xa="name",Ga="message",Ja="count",Qa="preTriggerDate",Ya="disabled",Za="interval",tl="daysOfMonth",el="date",rl="getUTCDate",ol="stringify",nl="pathname",il="correlationHeaderExcludePatterns",sl="exceptions",al="parsedStack",ll="properties",cl="measurements",ul="sizeInBytes",dl="typeName",pl="severityLevel",fl="problemGroup",bl="isManual",hl="CreateFromInterface",gl="assembly",vl="fileName",ml="hasFullStack",yl="level",wl="method",_l="line",xl="duration",kl="receivedResponse",Cl=void 0,El=void 0,Sl="";function Al(){return Il()?Tl(qa.LocalStorage):null}function Tl(t){try{if(De(dr()))return null;var e=(new Date)[Va](),r=pr(t===qa.LocalStorage?"localStorage":"sessionStorage"),o=Sl+e;r.setItem(o,e);var n=r.getItem(o)!==e;if(r[Ka](o),!n)return r}catch(t){}return null}function $l(){return Ll()?Tl(qa.SessionStorage):null}function Ol(t){Sl=t||""}function Il(t){return(t||void 0===Cl)&&(Cl=!!Tl(qa.LocalStorage)),Cl}function Rl(t,e){var r=Al();if(null!==r)try{return r.getItem(e)}catch(e){Cl=!1,Da(t,2,1,"Browser failed read of local storage. "+Ci(e),{exception:Er(e)})}return null}function Pl(t,e,r){var o=Al();if(null!==o)try{return o.setItem(e,r),!0}catch(e){Cl=!1,Da(t,2,3,"Browser failed write to local storage. "+Ci(e),{exception:Er(e)})}return!1}function Ll(t){return(t||void 0===El)&&(El=!!Tl(qa.SessionStorage)),El}function Ml(t,e){var r=$l();if(null!==r)try{return r.getItem(e)}catch(e){El=!1,Da(t,2,2,"Browser failed read of session storage. "+Ci(e),{exception:Er(e)})}return null}function jl(t,e,r){var o=$l();if(null!==o)try{return o.setItem(e,r),!0}catch(e){El=!1,Da(t,2,4,"Browser failed write to session storage. "+Ci(e),{exception:Er(e)})}return!1}var Dl="AppInsightsPropertiesPlugin",Nl="AppInsightsChannelPlugin",zl="ApplicationInsightsAnalytics",ql="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Hl="sampleRate",Ul="ProcessLegacy",Fl="http.method",Bl="https://dc.services.visualstudio.com",Vl="/v2/track",Wl="not_specified",Kl="iKey",Xl=(ke.min,ke.max),Gl=Nn("slice",xe),Jl=Nn("substring",xe),Ql=zn("substr",xe,Yl);function Yl(t,e,r){return De(t)&&xr("'polyStrSubstr called with invalid "+Er(t)),r<0?se:((e=e||0)<0&&(e=Xl(e+t[he],0)),je(r)?Gl(t,e):Gl(t,e,e+r))}function Zl(t,e){return Jl(t,0,e)}function tc(t,e,r){var o=e[Ua],n=function(t,e){var r;return e&&(e=Xn(kr(e)))[Ua]>150&&(r=Jl(e,0,150),Da(t,2,57,"name is too long. It has been truncated to 150 characters.",{name:e},!0)),r||e}(t,e);if(n[Ua]!==o){for(var i=0,s=n;void 0!==r[s];)i++,s=Jl(n,0,147)+ac(i);n=s}return n}function ec(t,e,r){var o;return void 0===r&&(r=1024),e&&(r=r||1024,(e=Xn(kr(e)))[Ua]>r&&(o=Jl(e,0,r),Da(t,2,61,"string value is too long. It has been truncated to "+r+" characters.",{value:e},!0))),o||e}function rc(t,e){return sc(t,e,2048,66)}function oc(t,e){var r;return e&&e[Ua]>32768&&(r=Jl(e,0,32768),Da(t,2,56,"message is too long, it has been truncated to 32768 characters.",{message:e},!0)),r||e}function nc(t,e){if(e){var r={};Ye(e,(function(e,o){if(He(o)&&rs())try{o=os()[ol](o)}catch(e){Da(t,2,49,"custom property is not valid",{exception:e},!0)}o=ec(t,o,8192),e=tc(t,e,r),r[e]=o})),e=r}return e}function ic(t,e){if(e){var r={};Ye(e,(function(e,o){e=tc(t,e,r),r[e]=o})),e=r}return e}function sc(t,e,r,o){var n;return e&&(e=Xn(kr(e)))[Ua]>r&&(n=Jl(e,0,r),Da(t,2,o,"input is too long, it has been truncated to "+r+" characters.",{data:e},!0)),n||e}function ac(t){var e="00"+t;return Ql(e,e[Ua]-3)}function lc(t,e,r,o,n,i){var s;r=ec(o,r)||Wl,(De(t)||De(e)||De(r))&&_r("Input doesn't contain all required fields");var a="";t[Kl]&&(a=t[Kl],delete t[Kl]);var l=((s={})[Xa]=r,s.time=ki(new Date),s.iKey=a,s.ext=i||{},s.tags=[],s.data={},s.baseType=e,s.baseData=t,s);return De(n)||Ye(n,(function(t,e){l.data[t]=e})),l}var cc=function(){function t(t,e,r,o){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var n=this;n.ver=2,n[Xa]=ec(t,e)||Wl,n[ll]=nc(t,r),n[cl]=ic(t,o)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Event",t.dataType="EventData",t}(),uc=function(){function t(t,e,r,o,n){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var i=this;i.ver=2,e=e||Wl,i[Ga]=oc(t,e),i[ll]=nc(t,o),i[cl]=ic(t,n),r&&(i[pl]=r)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Message",t.dataType="MessageData",t}(),dc=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},pc=function(){function t(t,e,r,o,n,i,s,a,l){this.aiDataContract={ver:1,metrics:1,properties:0};var c=this;c.ver=2;var u=new dc;u[Ja]=o>0?o:void 0,u.max=isNaN(i)||null===i?void 0:i,u.min=isNaN(n)||null===n?void 0:n,u[Xa]=ec(t,e)||Wl,u.value=r,u.stdDev=isNaN(s)||null===s?void 0:s,c.metrics=[u],c[ll]=nc(t,a),c[cl]=ic(t,l)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",t.dataType="MetricData",t}(),fc="";function bc(t){(isNaN(t)||t<0)&&(t=0),t=Math.round(t);var e=fc+t%1e3,r=fc+Math.floor(t/1e3)%60,o=fc+Math.floor(t/6e4)%60,n=fc+Math.floor(t/36e5)%24,i=Math.floor(t/864e5);return e=1===e[Ua]?"00"+e:2===e[Ua]?"0"+e:e,r=r[Ua]<2?"0"+r:r,o=o[Ua]<2?"0"+o:o,n=n[Ua]<2?"0"+n:n,(i>0?i+".":fc)+n+":"+o+":"+r+"."+e}var hc=function(){function t(t,e,r,o,n,i,s){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var a=this;a.ver=2,a.id=function(t,e){return e?sc(t,e,128,69)[Va]():e}(t,s),a.url=rc(t,r),a[Xa]=ec(t,e)||Wl,isNaN(o)||(a[xl]=bc(o)),a[ll]=nc(t,n),a[cl]=ic(t,i)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",t.dataType="PageviewData",t}(),gc=function(){function t(t,e,r,o,n,i,s){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var a=this;a.ver=2,a.url=rc(t,r),a[Xa]=ec(t,e)||Wl,a[ll]=nc(t,n),a[cl]=ic(t,i),s&&(a.domProcessing=s.domProcessing,a[xl]=s[xl],a.networkConnect=s.networkConnect,a.perfTotal=s.perfTotal,a[kl]=s[kl],a.sentRequest=s.sentRequest)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",t.dataType="PageviewPerformanceData",t}(),vc=Nn("map",Ee),mc="error",yc="stack",wc="stackDetails",_c="errorSrc",xc="message",kc="description";function Cc(t,e){var r=t;return r&&!ze(r)&&(JSON&&JSON[ol]?(r=JSON[ol](t),!e||r&&"{}"!==r||(r=qe(t[Va])?t[Va]():""+t)):r=t+" - (Missing JSON.stringify)"),r||""}function Ec(t,e){var r=t;return t&&(r&&!ze(r)&&(r=t[xc]||t[kc]||r),r&&!ze(r)&&(r=Cc(r,!0)),t.filename&&(r=r+" @"+(t.filename||"")+":"+(t.lineno||"?")+":"+(t.colno||"?"))),e&&"String"!==e&&"Object"!==e&&"Error"!==e&&-1===Bn(r||"",e)&&(r=e+": "+r),r||""}function Sc(t){return t&&t.src&&ze(t.src)&&t.obj&&Ue(t.obj)}function Ac(t){var e=t||"";ze(e)||(e=ze(e[yc])?e[yc]:""+e);var r=e[Ha]("\n");return{src:e,obj:r}}function Tc(t){var e=null;if(t)try{if(t[yc])e=Ac(t[yc]);else if(t[mc]&&t[mc][yc])e=Ac(t[mc][yc]);else if(t.exception&&t.exception[yc])e=Ac(t.exception[yc]);else if(Sc(t))e=t;else if(Sc(t[wc]))e=t[wc];else if(gr()&&gr().opera&&t[xc])e=function(t){for(var e=[],r=t[Ha]("\n"),o=0;o<r[Ua];o++){var n=r[o];r[o+1]&&(n+="@"+r[o+1],o++),e[Wa](n)}return{src:t,obj:e}}(t[Ga]);else if(t.reason&&t.reason[yc])e=Ac(t.reason[yc]);else if(ze(t))e=Ac(t);else{var r=t[xc]||t[kc]||"";ze(t[_c])&&(r&&(r+="\n"),r+=" from "+t[_c]),r&&(e=Ac(r))}}catch(t){e=Ac(t)}return e||{src:"",obj:null}}function $c(t){var e="";if(t&&!(e=t.typeName||t[Xa]||""))try{var r=/function (.{1,200})\(/.exec(t.constructor[Va]());e=r&&r[Ua]>1?r[1]:""}catch(t){}return e}function Oc(t){if(t)try{if(!ze(t)){var e=$c(t),r=Cc(t,!1);return r&&"{}"!==r||(t[mc]&&(e=$c(t=t[mc])),r=Cc(t,!0)),0!==Bn(r,e)&&"String"!==e?e+":"+r:r}}catch(t){}return""+(t||"")}var Ic,Rc=function(){function t(t,e,r,o,n,i){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var s=this;s.ver=2,function(t){try{if(He(t))return"ver"in t&&"exceptions"in t&&"properties"in t}catch(t){}return!1}(e)?(s[sl]=e[sl]||[],s[ll]=e[ll],s[cl]=e[cl],e[pl]&&(s[pl]=e[pl]),e.id&&(s.id=e.id,e[ll].id=e.id),e[fl]&&(s[fl]=e[fl]),De(e[bl])||(s[bl]=e[bl])):(r||(r={}),i&&(r.id=i),s[sl]=[new Pc(t,e,r)],s[ll]=nc(t,r),s[cl]=ic(t,o),n&&(s[pl]=n),i&&(s.id=i))}return t.CreateAutoException=function(t,e,r,o,n,i,s,a){var l,c=$c(n||i||t);return(l={})[Ga]=Ec(t,c),l.url=e,l.lineNumber=r,l.columnNumber=o,l.error=Oc(n||i||t),l.evt=Oc(i||t),l[dl]=c,l.stackDetails=Tc(s||n||i),l.errorSrc=a,l},t.CreateFromInterface=function(e,r,o,n){var i=r[sl]&&vc(r[sl],(function(t){return Pc[hl](e,t)}));return new t(e,yo(yo({},r),{exceptions:i}),o,n)},t.prototype.toInterface=function(){var t,e=this,r=e.exceptions,o=e.properties,n=e.measurements,i=e.severityLevel,s=e.problemGroup,a=e.id,l=e.isManual,c=r instanceof Array&&vc(r,(function(t){return t.toInterface()}))||void 0;return(t={ver:"4.0"})[sl]=c,t.severityLevel=i,t.properties=o,t.measurements=n,t.problemGroup=s,t.id=a,t.isManual=l,t},t.CreateSimpleException=function(t,e,r,o,n,i){var s;return{exceptions:[(s={},s[ml]=!0,s.message=t,s.stack=n,s.typeName=e,s)]}},t.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",t.dataType="ExceptionData",t.formatError=Oc,t}(),Pc=function(){function t(t,e,r){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var o=this;if(function(t){try{if(He(t))return"hasFullStack"in t&&"typeName"in t}catch(t){}return!1}(e))o[dl]=e[dl],o[Ga]=e[Ga],o[yc]=e[yc],o[al]=e[al]||[],o[ml]=e[ml];else{var n=e,i=n&&n.evt;We(n)||(n=n[mc]||i||n),o[dl]=ec(t,$c(n))||Wl,o[Ga]=oc(t,Ec(e||n,o[dl]))||Wl;var s=e[wc]||Tc(e);o[al]=function(t){var e,r=t.obj;if(r&&r[Ua]>0){e=[];var o=0,n=0;if(Vn(r,(function(t){var r=t[Va]();if(Lc.regex.test(r)){var i=new Lc(r,o++);n+=i[ul],e[Wa](i)}})),n>32768)for(var i=0,s=e[Ua]-1,a=0,l=i,c=s;i<s;){if((a+=e[i][ul]+e[s][ul])>32768){var u=c-l+1;e.splice(l,u);break}l=i,c=s,i++,s--}}return e}(s),Ue(o[al])&&vc(o[al],(function(e){e[gl]=ec(t,e[gl]),e[vl]=ec(t,e[vl])})),o[yc]=function(t,e){var r;if(e){var o=""+e;o[Ua]>32768&&(r=Jl(o,0,32768),Da(t,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:e},!0))}return r||e}(t,function(t){var e="";return t&&(t.obj?Vn(t.obj,(function(t){e+=t+"\n"})):e=t.src||""),e}(s)),o.hasFullStack=Ue(o.parsedStack)&&o.parsedStack[Ua]>0,r&&(r[dl]=r[dl]||o[dl])}}return t.prototype.toInterface=function(){var t,e=this,r=e[al]instanceof Array&&vc(e[al],(function(t){return t.toInterface()}));return(t={id:e.id,outerId:e.outerId,typeName:e[dl],message:e[Ga],hasFullStack:e[ml],stack:e[yc]})[al]=r||void 0,t},t.CreateFromInterface=function(e,r){var o=r[al]instanceof Array&&vc(r[al],(function(t){return Lc[hl](t)}))||r[al];return new t(e,yo(yo({},r),{parsedStack:o}))},t}(),Lc=function(){function t(e,r){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var o=this;if(o[ul]=0,"string"==typeof e){var n=e;o[yl]=r,o[wl]="<no_method>",o[gl]=Xn(n),o[vl]="",o[_l]=0;var i=n.match(t.regex);i&&i[Ua]>=5&&(o[wl]=Xn(i[2])||o[wl],o[vl]=Xn(i[4]),o[_l]=parseInt(i[5])||0)}else o[yl]=e[yl],o[wl]=e[wl],o[gl]=e[gl],o[vl]=e[vl],o[_l]=e[_l],o[ul]=0;o.sizeInBytes+=o.method[Ua],o.sizeInBytes+=o.fileName[Ua],o.sizeInBytes+=o.assembly[Ua],o[ul]+=t.baseSize,o.sizeInBytes+=o.level.toString()[Ua],o.sizeInBytes+=o.line.toString()[Ua]}return t.CreateFromInterface=function(e){return new t(e,null)},t.prototype.toInterface=function(){var t=this;return{level:t[yl],method:t[wl],assembly:t[gl],fileName:t[vl],line:t[_l]}},t.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,t.baseSize=58,t}();function Mc(){return!tr&&nr(),(!Ic||!Ic.b&&tr.lzy)&&(Ic=ur("performance")),Ic.v}function jc(){for(var t,e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],r=Jn,o=0;o<4;o++)r+=e[15&(t=vs())]+e[t>>4&15]+e[t>>8&15]+e[t>>12&15]+e[t>>16&15]+e[t>>20&15]+e[t>>24&15]+e[t>>28&15];var n=e[8+(3&vs())|0];return Ql(r,0,8)+Ql(r,9,4)+"4"+Ql(r,13,3)+n+Ql(r,16,3)+Ql(r,19,12)}var Dc="00",Nc="00000000000000000000000000000000",zc="0000000000000000";function qc(t,e,r){return!(!t||t[Eo]!==e||t===r||!t.match(/^[\da-f]*$/i))}function Hc(t,e,r){return qc(t,e)?t:r}function Uc(t,e,r,o){var n;return(n={})[tn]=qc(o,2,"ff")?o:Dc,n[Mn]=Fc(t)?t:jc(),n[jn]=Bc(e)?e:Zl(jc(),16),n.traceFlags=r>=0&&r<=255?r:1,n}function Fc(t){return qc(t,32,Nc)}function Bc(t){return qc(t,16,zc)}function Vc(t){if(t){var e=function(t){(isNaN(t)||t<0||t>255)&&(t=1);for(var e=t.toString(16);e[Eo]<2;)e="0"+e;return e}(t[Dn]);qc(e,2)||(e="01");var r=t[tn]||Dc;return"00"!==r&&"ff"!==r&&(r=Dc),"".concat(r.toLowerCase(),"-").concat(Hc(t.traceId,32,Nc).toLowerCase(),"-").concat(Hc(t.spanId,16,zc).toLowerCase(),"-").concat(e.toLowerCase())}return""}var Wc=function(t){var e={};return Ye(t,(function(t,r){e[t]=r[1],e[r[0]]=r[1]})),lo(e)}({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]}),Kc=br()||{},Xc=0,Gc=[null,null,null,null,null];function Jc(t){var e=Xc,r=Gc,o=r[e];return Kc.createElement?r[e]||(o=r[e]=Kc.createElement("a")):o={host:Qc(t,!0)},o.href=t,++e>=r[Ua]&&(e=0),Xc=e,o}function Qc(t,e){var r=Yc(t,e)||"";if(r){var o=r.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=o&&o[Ua]>3&&ze(o[2])&&o[2][Ua]>0)return o[2]+(o[3]||"")}return r}function Yc(t,e){var r=null;if(t){var o=t.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(null!=o&&o[Ua]>2&&ze(o[2])&&o[2][Ua]>0&&(r=o[2]||"",e&&o[Ua]>2)){var n=(o[1]||"")[Fa](),i=o[3]||"";("http"===n&&":80"===i||"https"===n&&":443"===i)&&(i=""),r+=i}}return r}var Zc=[Bl+Vl,"https://breeze.aimon.applicationinsights.io"+Vl,"https://dc-int.services.visualstudio.com"+Vl];function tu(t){return-1!==$s(Zc,t[Fa]())}function eu(t,e,r){if(!e||t&&t.disableCorrelationHeaders)return!1;if(t&&t[il])for(var o=0;o<t.correlationHeaderExcludePatterns[Ua];o++)if(t[il][o].test(e))return!1;var n=Jc(e).host[Fa]();if(!n||-1===Bn(n,":443")&&-1===Bn(n,":80")||(n=(Yc(e,!0)||"")[Fa]()),(!t||!t.enableCorsCorrelation)&&n&&n!==r)return!1;var i,s=t&&t.correlationHeaderDomains;if(s&&(Vn(s,(function(t){var e=new RegExp(t.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||e.test(n)})),!i))return!1;var a=t&&t.correlationHeaderExcludedDomains;if(!a||0===a[Ua])return!0;for(o=0;o<a[Ua];o++)if(new RegExp(a[o].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(n))return!1;return n&&n[Ua]>0}function ru(t){if(t){var e=function(t,e){if(t)for(var r=t[Ha](","),o=0;o<r[Ua];++o){var n=r[o][Ha]("=");if(2===n[Ua]&&n[0]===e)return n[1]}}(t,Wc[1]);if(e&&"cid-v1:"!==e)return e}}function ou(){var t=Mc();if(t&&t.now&&t.timing){var e=t.now()+t.timing.navigationStart;if(e>0)return e}return qi()}function nu(t,e){var r=null;return 0===t||0===e||De(t)||De(e)||(r=e-t),r}function iu(t,e){var r=t||{};return{getName:function(){return r[Xa]},setName:function(t){e&&e.setName(t),r[Xa]=t},getTraceId:function(){return r.traceID},setTraceId:function(t){e&&e.setTraceId(t),Fc(t)&&(r.traceID=t)},getSpanId:function(){return r.parentID},setSpanId:function(t){e&&e.setSpanId(t),Bc(t)&&(r.parentID=t)},getTraceFlags:function(){return r.traceFlags},setTraceFlags:function(t){e&&e.setTraceFlags(t),r.traceFlags=t}}}var su=function(){function t(t,e,r,o,n,i,s,a,l,c,u,d){void 0===l&&(l="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var p=this;p.ver=2,p.id=e,p[xl]=bc(n),p.success=i,p.resultCode=s+"",p.type=ec(t,l);var f=function(t,e,r,o){var n,i=o,s=o;if(e&&e[Ua]>0){var a=Jc(e);if(n=a.host,!i)if(null!=a[nl]){var l=0===a.pathname[Ua]?"/":a[nl];"/"!==l.charAt(0)&&(l="/"+l),s=a[nl],i=ec(t,r?r+" "+l:l)}else i=ec(t,e)}else n=o,i=o;return{target:n,name:i,data:s}}(t,r,a,o);p.data=rc(t,o)||f.data,p.target=ec(t,f.target),c&&(p.target="".concat(p.target," | ").concat(c)),p[Xa]=ec(t,f[Xa]),p[ll]=nc(t,u),p[cl]=ic(t,d)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",t.dataType="RemoteDependencyData",t}();function au(t){var e=null;if(qe(Event))e=new Event(t);else{var r=br();r&&r.createEvent&&(e=r.createEvent("Event")).initEvent(t,!0,!0)}return e}function lu(t,e,r){return!t&&De(t)?e:Ve(t)?t:"true"===kr(t)[ko]()}function cu(t){return{mrg:!0,v:t}}function uu(t,e){return{set:t,v:e}}function du(t,e,r){return{fb:r,isVal:t,v:e}}function pu(t,e){return{fb:e,set:lu,v:!!t}}var fu,bu,hu=zn("endsWith",xe,gu);function gu(t,e,r){ze(t)||xr("'"+Er(t)+"' is not a string");var o=ze(e)?e:kr(e),n=!je(r)&&r<t[he]?r:t[he];return Jl(t,n-o[he],n)===o}var vu,mu="toGMTString",yu="toUTCString",wu="cookie",_u="expires",xu="isCookieUseDisabled",ku="disableCookiesUsage",Cu="_ckMgr",Eu=null,Su=null,Au=null,Tu={},$u={},Ou=((fu={cookieCfg:cu((bu={},bu[fi]={fb:"cookieDomain",dfVal:wi},bu.path={fb:"cookiePath",dfVal:wi},bu.enabled=Gn,bu.ignoreCookies=Gn,bu.blockedCookies=Gn,bu)),cookieDomain:Gn,cookiePath:Gn})[ku]=Gn,fu);function Iu(){!vu&&(vu=ir((function(){return br()})))}function Ru(t){return!t||t.isEnabled()}function Pu(t,e){return!!(e&&t&&Ue(t.ignoreCookies))&&-1!==$s(t.ignoreCookies,e)}function Lu(t,e){var r=e[Jo];if(De(r)){var o=void 0;je(t[xu])||(o=!t[xu]),je(t[ku])||(o=!t[ku]),r=o}return r}function Mu(t,e){var r;if(t)r=t.getCookieMgr();else if(e){var o=e.cookieCfg;r=o&&o[Cu]?o[Cu]:ju(e)}return r||(r=function(t,e){var r=ju[Cu]||$u[Cu];return r||(r=ju[Cu]=ju(t,e),$u[Cu]=r),r}(e,(t||{})[Ro])),r}function ju(t,e){var r,o,n,i,s,a,l,c,u;t=wa(t||$u,null,e).cfg,s=_a(t,(function(e){e[Oo](e.cfg,Ou),o=e.ref(e.cfg,"cookieCfg"),n=o[bi]||"/",i=o[fi],a=!1!==Lu(t,o),l=o.getCookie||Hu,c=o.setCookie||Uu,u=o.delCookie||Uu}),e);var d=((r={isEnabled:function(){var r=!1!==Lu(t,o)&&a&&Du(e),n=$u[Cu];return r&&n&&d!==n&&(r=Ru(n)),r},setEnabled:function(t){a=!1!==t,o[Jo]=t},set:function(t,e,r,s,a){var l,u=!1;if(Ru(d)&&!function(t,e){return!!(e&&t&&Ue(t.blockedCookies)&&-1!==$s(t.blockedCookies,e))||Pu(t,e)}(o,t)){var p={},f=Xn(e||Jn),b=Bn(f,";");if(-1!==b&&(f=Xn(Zl(e,b)),p=Nu(Jl(e,b+1))),Ei(p,fi,s||i,Xe,je),!De(r)){var h=ns();if(je(p[_u])){var g=qi()+1e3*r;if(g>0){var v=new Date;v.setTime(g),Ei(p,_u,zu(v,h?mu:yu)||zu(v,h?mu:yu)||Jn,Xe)}}h||Ei(p,"max-age",Jn+r,null,je)}var m=es();m&&"https:"===m[fn]&&(Ei(p,"secure",null,null,je),null===Su&&(l=(vr()||{})[bn],Su=!(ze(l)&&(xi(l,"CPU iPhone OS 12")||xi(l,"iPad; CPU OS 12")||xi(l,"Macintosh; Intel Mac OS X 10_14")&&xi(l,"Version/")&&xi(l,"Safari")||xi(l,"Macintosh; Intel Mac OS X 10_14")&&hu(l,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||xi(l,"Chrome/5")||xi(l,"Chrome/6")||xi(l,"UnrealEngine")&&!xi(l,"Chrome")||xi(l,"UCBrowser/12")||xi(l,"UCBrowser/11")))),Su&&Ei(p,"SameSite","None",null,je)),Ei(p,bi,a||n,null,je),c(t,qu(f,p)),u=!0}return u},get:function(t){var e=Jn;return Ru(d)&&!Pu(o,t)&&(e=l(t)),e},del:function(t,e){var r=!1;return Ru(d)&&(r=d.purge(t,e)),r},purge:function(t,r){var o,n=!1;if(Du(e)){var i=((o={})[bi]=r||"/",o[_u]="Thu, 01 Jan 1970 00:00:01 GMT",o);ns()||(i["max-age"]="0"),u(t,qu(Jn,i)),n=!0}return n}})[Yo]=function(t){s&&s.rm(),s=null},r);return d[Cu]=d,d}function Du(t){if(null===Eu){Eu=!1,!vu&&Iu();try{var e=vu.v||{};Eu=void 0!==e[wu]}catch(e){Da(t,2,68,"Cannot access document.cookie - "+Ci(e),{exception:Er(e)})}}return Eu}function Nu(t){var e={};return t&&t[Eo]&&Vn(Xn(t)[hn](";"),(function(t){if(t=Xn(t||Jn)){var r=Bn(t,"=");-1===r?e[t]=null:e[Xn(Zl(t,r))]=Xn(Jl(t,r+1))}})),e}function zu(t,e){return qe(t[e])?t[e]():null}function qu(t,e){var r=t||Jn;return Ye(e,(function(t,e){r+="; "+t+(De(e)?Jn:"="+e)})),r}function Hu(t){var e=Jn;if(!vu&&Iu(),vu.v){var r=vu.v[wu]||Jn;Au!==r&&(Tu=Nu(r),Au=r),e=Xn(Tu[t]||Jn)}return e}function Uu(t,e){!vu&&Iu(),vu.v&&(vu.v[wu]=t+"="+e)}var Fu="on",Bu="attachEvent",Vu="addEventListener",Wu="detachEvent",Ku="removeEventListener",Xu="events",Gu="visibilitychange",Ju="pagehide",Qu="unload",Yu="beforeunload",Zu=ks("aiEvtPageHide"),td=(ks("aiEvtPageShow"),/\.[\.]+/g),ed=/[\.]+$/,rd=1,od=Cs("events"),nd=/^([^.]*)(?:\.(.+)|)/;function id(t){return t&&t[vn]?t[vn](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,Jn):t}function sd(t,e){var r;if(e){var o=Jn;Ue(e)?(o=Jn,Vn(e,(function(t){(t=id(t))&&("."!==t[0]&&(t="."+t),o+=t)}))):o=id(e),o&&("."!==o[0]&&(o="."+o),t=(t||Jn)+o)}var n=nd.exec(t||Jn)||[];return(r={})[yn]=n[1],r.ns=(n[2]||Jn).replace(td,".").replace(ed,Jn)[hn](".").sort().join("."),r}function ad(t,e,r){void 0===r&&(r=!0);var o=od.get(t,Xu,{},r),n=o[e];return n||(n=o[e]=[]),n}function ld(t,e,r,o){t&&e&&e[yn]&&(t[Ku]?t[Ku](e[yn],r,o):t[Wu]&&t[Wu](Fu+e[yn],r))}function cd(t,e,r,o){for(var n=e[Eo];n--;){var i=e[n];i&&(r.ns&&r.ns!==i.evtName.ns||o&&!o(i)||(ld(t,i.evtName,i[wn],i.capture),e[Mo](n,1)))}}function ud(t,e){return e?sd("xx",Ue(e)?[t].concat(e):[t,e]).ns[hn]("."):t}function dd(t,e,r,o,n){var i;void 0===n&&(n=!1);var s=!1;if(t)try{var a=sd(e,o);if(s=function(t,e,r,o){var n=!1;return t&&e&&e[yn]&&r&&(t[Vu]?(t[Vu](e[yn],r,o),n=!0):t[Bu]&&(t[Bu](Fu+e[yn],r),n=!0)),n}(t,a,r,n),s&&od.accept(t)){var l=((i={guid:rd++,evtName:a})[wn]=r,i.capture=n,i);ad(t,a.type)[Lo](l)}}catch(t){}return s}function pd(t,e,r,o,n){if(void 0===n&&(n=!1),t)try{var i=sd(e,o),s=!1;!function(t,e,r){if(e[yn])cd(t,ad(t,e[yn]),e,r);else{var o=od.get(t,Xu,{});Ye(o,(function(o,n){cd(t,n,e,r)})),0===ao(o)[Eo]&&od.kill(t,Xu)}}(t,i,(function(t){return!((!i.ns||r)&&t[wn]!==r||(s=!0,0))})),s||ld(t,i,r,n)}catch(t){}}function fd(t,e,r,o){var n=!1;return e&&t&&t[Eo]>0&&Vn(t,(function(t){t&&(r&&-1!==$s(r,t)||(n=function(t,e,r){var o=!1,n=gr();n&&(o=dd(n,t,e,r),o=dd(n.body,t,e,r)||o);var i=br();return i&&(o=dd(i,t,e,r)||o),o}(t,e,o)||n))})),n}function bd(t,e,r){t&&Ue(t)&&Vn(t,(function(t){t&&function(t,e,r){var o=gr();o&&(pd(o,t,e,r),pd(o.body,t,e,r));var n=br();n&&pd(n,t,e,r)}(t,e,r)}))}function hd(t,e,r){var o=ud(Zu,r),n=fd([Ju],t,e,o);return e&&-1!==$s(e,Gu)||(n=fd([Gu],(function(e){var r=br();t&&r&&"hidden"===r.visibilityState&&t(e)}),e,o)||n),!n&&e&&(n=hd(t,null,r)),n}var gd="ctx",vd="ParentContextKey",md="ChildrenContextKey",yd=function(){function t(e,r,o){var n,i=this;i.start=qi(),i[Wo]=e,i[an]=o,i[Cn]=function(){return!1},qe(r)&&or(i,"payload",{g:function(){return!n&&qe(r)&&(n=r(),r=null),n}}),i[Sn]=function(e){return e?e===t[vd]||e===t[md]?i[e]:(i[gd]||{})[e]:null},i[An]=function(e,r){e&&(e===t[vd]?(i[e]||(i[Cn]=function(){return!0}),i[e]=r):e===t[md]?i[e]=r:(i[gd]=i[gd]||{})[e]=r)},i[Tn]=function(){var e=0,r=i[Sn](t[md]);if(Ue(r))for(var o=0;o<r[Eo];o++){var n=r[o];n&&(e+=n[Ko])}i[Ko]=qi()-i.start,i.exTime=i[Ko]-e,i[Tn]=function(){}}}return t.ParentContextKey="parent",t.ChildrenContextKey="childEvts",t}(),wd=function(){function t(e){this.ctx={},no(t,this,(function(t){t.create=function(t,e,r){return new yd(t,e,r)},t.fire=function(t){t&&(t[Tn](),e&&qe(e[li])&&e[li](t))},t[An]=function(e,r){e&&((t[gd]=t[gd]||{})[e]=r)},t[Sn]=function(e){return(t[gd]||{})[e]}}))}return t.__ieDyn=1,t}(),_d="CoreUtils.doPerf";function xd(t,e,r,o,n){if(t){var i=t;if(i[pi]&&(i=i[pi]()),i){var s=void 0,a=i[Sn](_d);try{if(s=i.create(e(),o,n)){if(a&&s[An]&&(s[An](yd[vd],a),a[Sn]&&a[An])){var l=a[Sn](yd[md]);l||(l=[],a[An](yd[md],l)),l[Lo](s)}return i[An](_d,s),r(s)}}catch(t){s&&s[An]&&s[An]("exception",t)}finally{s&&i.fire(s),i[An](_d,a)}}}return r()}var kd=Cs("plugin");function Cd(t){return kd.get(t,"state",{},!0)}function Ed(t,e){for(var r,o=[],n=null,i=t[dn]();i;){var s=i[Bo]();if(s){n&&n[pn]&&s[oi]&&n[pn](s);var a=!!(r=Cd(s))[Uo];s[Uo]&&(a=s[Uo]()),a||o[Lo](s),n=s,i=i[dn]()}}Vn(o,(function(o){var n=t[Yn]();o[No](t.getCfg(),n,e,t[dn]()),r=Cd(o),o[Yn]||r[Yn]||(r[Yn]=n),r[Uo]=!0,delete r[on]}))}function Sd(t){return t.sort((function(t,e){var r=0;if(e){var o=e[oi];t[oi]?r=o?t[ni]-e[ni]:1:o&&(r=-1)}else r=t?1:-1;return r}))}var Ad="TelemetryPluginChain",Td="_hasRun",$d="_getTelCtx",Od=0;function Id(t,e,r,o){var n=null,i=[];e||(e=wa({},null,r[Ro])),null!==o&&(n=o?function(t,e,r){for(;t;){if(t[Bo]()===r)return t;t=t[dn]()}return Md([r],e.config||{},e)}(t,r,o):t);var s={_next:function(){var t=n;if(n=t?t[dn]():null,!t){var e=i;e&&e[Eo]>0&&(Vn(e,(function(t){try{t.func.call(t.self,t.args)}catch(t){Da(r[Ro],2,73,"Unexpected Exception during onComplete - "+Er(t))}})),i=[])}return t},ctx:{core:function(){return r},diagLog:function(){return La(r,e.cfg)},getCfg:function(){return e.cfg},getExtCfg:function(t,r){var o=a(t,!0);return r&&Ye(r,(function(t,r){if(De(o[t])){var n=e.cfg[t];!n&&De(n)||(o[t]=n)}Ts(e,o,t,r)})),e[Oo](o,r)},getConfig:function(t,r,o){void 0===o&&(o=!1);var n,i=a(t,!1),s=e.cfg;return!i||!i[r]&&De(i[r])?!s[r]&&De(s[r])||(n=s[r]):n=i[r],n||!De(n)?n:o},hasNext:function(){return!!n},getNext:function(){return n},setNext:function(t){n=t},iterate:function(t){for(var e;e=s._next();){var r=e[Bo]();r&&t(r)}},onComplete:function(t,e){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];t&&i[Lo]({func:t,self:je(e)?s.ctx:e,args:r})}}};function a(t,r){var o=null,n=e.cfg;if(n&&t){var i=n[ei];!i&&r&&(i={}),n[ei]=i,(i=e.ref(n,ei))&&(!(o=i[t])&&r&&(o={}),i[t]=o,o=e.ref(i,t))}return o}return s}function Rd(t,e,r,o){var n=wa(e),i=Id(t,n,r,o),s=i.ctx;return s[Xo]=function(t){var e=i._next();return e&&e[oi](t,s),!e},s[rn]=function(t,e){return void 0===t&&(t=null),Ue(t)&&(t=Md(t,n.cfg,r,e)),Rd(t||s[dn](),n.cfg,r,e)},s}function Pd(t,e,r){var o=wa(e.config),n=Id(t,o,e,r),i=n.ctx;return i[Xo]=function(t){var e=n._next();return e&&e[Yo](i,t),!e},i[rn]=function(t,r){return void 0===t&&(t=null),Ue(t)&&(t=Md(t,o.cfg,e,r)),Pd(t||i[dn](),e,r)},i}function Ld(t,e,r){var o=wa(e.config),n=Id(t,o,e,r).ctx;return n[Xo]=function(t){return n.iterate((function(e){qe(e[un])&&e[un](n,t)}))},n[rn]=function(t,r){return void 0===t&&(t=null),Ue(t)&&(t=Md(t,o.cfg,e,r)),Ld(t||n[dn](),e,r)},n}function Md(t,e,r,o){var n=null,i=!o;if(Ue(t)&&t[Eo]>0){var s=null;Vn(t,(function(t){if(i||o!==t||(i=!0),i&&t&&qe(t[oi])){var a=function(t,e,r){var o,n=null,i=qe(t[oi]),s=qe(t[pn]),a={getPlugin:function(){return t},getNext:function(){return n},processTelemetry:function(o,c){l(c=c||function(){var o;return t&&qe(t[$d])&&(o=t[$d]()),o||(o=Rd(a,e,r)),o}(),(function(e){if(!t||!i)return!1;var r=Cd(t);return!r[on]&&!r[ti]&&(s&&t[pn](n),t[oi](o,e),!0)}),"processTelemetry",(function(){return{item:o}}),!o.sync)||c[Xo](o)},unload:function(e,r){l(e,(function(){var o=!1;if(t){var n=Cd(t),i=t[Yn]||n[Yn];!t||i&&i!==e.core()||n[on]||(n[Yn]=null,n[on]=!0,n[Uo]=!1,t[on]&&!0===t[on](e,r)&&(o=!0))}return o}),"unload",(function(){}),r[an])||e[Xo](r)},update:function(e,r){l(e,(function(){var o=!1;if(t){var n=Cd(t),i=t[Yn]||n[Yn];!t||i&&i!==e.core()||n[on]||t[un]&&!0===t[un](e,r)&&(o=!0)}return o}),"update",(function(){}),!1)||e[Xo](r)},_id:o=t?t[zo]+"-"+t[ni]+"-"+Od++:"Unknown-0-"+Od++,_setNext:function(t){n=t}};function l(e,r,i,s,a){var l=!1,c=t?t[zo]:Ad,u=e[Td];return u||(u=e[Td]={}),e.setNext(n),t&&xd(e[Yn](),(function(){return c+":"+i}),(function(){u[o]=!0;try{var t=n?n._id:Jn;t&&(u[t]=!1),l=r(e)}catch(t){var s=!n||u[n._id];s&&(l=!0),n&&s||Da(e[ln](),1,73,"Plugin ["+c+"] failed during "+i+" - "+Er(t)+", run flags: "+Er(u))}}),s,a),l}return co(a)}(t,e,r);n||(n=a),s&&s._setNext(a),s=a}}))}return o&&!n?Md([o],e,r):n}var jd,Dd,Nd="_aiHooks",zd=["req","rsp","hkErr","fnErr"];function qd(t,e){if(t)for(var r=0;r<t[Eo]&&!e(t[r],r);r++);}function Hd(t,e,r,o,n){n>=0&&n<=2&&qd(t,(function(t,i){var s=t.cbks,a=s[zd[n]];if(a){e.ctx=function(){return o[i]=o[i]||{}};try{a[Po](e.inst,r)}catch(t){var l=e.err;try{var c=s[zd[2]];c&&(e.err=t,c[Po](e.inst,r))}catch(t){}finally{e.err=l}}}}))}function Ud(t,e,r,o){var n=null;return t&&(Je(t,e)?n=t:r&&(n=Ud(yi(t),e,o,!1))),n}function Fd(t,e,r,o){var n=r&&r[Nd];if(!n){var i=function(t){return function(){var e,r=arguments,o=t.h,n=((e={})[Wo]=t.n,e.inst=this,e.ctx=null,e.set=function(t,e){(r=a([],r))[t]=e,s=a([n],r)},e),i=[],s=a([n],r);function a(t,e){return qd(e,(function(e){t[Lo](e)})),t}n.evt=pr("event"),Hd(o,n,s,i,0);var l=t.f;if(l)try{n.rslt=l[Po](this,r)}catch(t){throw n.err=t,Hd(o,n,s,i,3),t}return Hd(o,n,s,i,1),n.rslt}}(n={i:0,n:e,f:r,h:[]});i[Nd]=n,t[e]=i}var s={id:n.i,cbks:o,rm:function(){var t=this.id;qd(n.h,(function(e,r){if(e.id===t)return n.h[Mo](r,1),1}))}};return n.i++,n.h[Lo](s),s}function Bd(t,e,r,o,n){if(void 0===o&&(o=!0),t&&e&&r){var i=Ud(t,e,o,n);if(i){var s=i[e];if(typeof s===po)return Fd(i,e,s,r)}}return null}function Vd(t,e,r,o,n){if(t&&e&&r){var i=Ud(t,e,o,n)||t;if(i)return Fd(i,e,i[e],r)}return null}function Wd(){var t=[];return{add:function(e){e&&t[Lo](e)},run:function(e,r){Vn(t,(function(t){try{t(e,r)}catch(t){Da(e[ln](),2,73,"Unexpected error calling unload handler - "+Er(t))}})),t=[]}}}function Kd(t){return!!t&&qe(t.next)}function Xd(t,e,r){if(t&&(Kd(t)||(!jd&&(jd=sr(Fs(3))),t=t[jd.v]?t[jd.v]():null),Kd(t))){var o=void 0,n=void 0;try{for(var i=0;!(n=t.next()).done&&-1!==e[ve](r||t,n.value,i,t);)i++}catch(e){o={e},t.throw&&(n=null,t.throw(o))}finally{try{n&&!n.done&&t.return&&t.return(n)}finally{if(o)throw o.e}}}}function Gd(t,e){return!je(e)&&t&&(Ue(e)?na(t.push,t,e):Kd(e)||!function(t){return t===ie||!Ne(t)}(r=e)&&qe(r[Fs(3)])?Xd(e,(function(e){t.push(e)})):t.push(e)),t;var r}function Jd(){var t=[];return{run:function(e){var r=t;t=[],Vn(r,(function(t){try{(t.rm||t.remove).call(t)}catch(t){Da(e,2,73,"Unloading:"+Er(t))}}))},add:function(e){e&&Gd(t,e)}}}var Qd="getPlugin",Yd=((Dd={})[ei]={isVal:wi,v:{}},Dd),Zd=function(){function t(){var e,r,o,n,i,s=this;function a(t){void 0===t&&(t=null);var e=t;if(!e){var n=r||Rd(null,{},s[Yn]);e=o&&o[Qd]?n[rn](null,o[Qd]):n[rn](null,o)}return e}function l(t,e,n){wa(t,Yd,La(e)),!n&&e&&(n=e[Go]()[dn]());var i=o;o&&o[Qd]&&(i=o[Qd]()),s[Yn]=e,r=Rd(n,t,e,i)}function c(){e=!1,s[Yn]=null,r=null,o=null,i=Jd(),n=Wd()}c(),no(t,s,(function(t){t[No]=function(t,r,o,n){l(t,r,n),e=!0},t[on]=function(e,r){var s,a=t[Yn];if(a&&(!e||a===e[Yn]())){var l,u=!1,d=e||Pd(null,a,o&&o[Qd]?o[Qd]():o),p=r||((s={reason:0})[an]=!1,s);return t[cn]&&!0===t[cn](d,p,f)?l=!0:f(),l}function f(){u||(u=!0,n.run(d,r),i.run(d[ln]()),!0===l&&d[Xo](p),c())}},t[un]=function(e,r){var n=t[Yn];if(n&&(!e||n===e[Yn]())){var i,s=!1,a=e||Ld(null,n,o&&o[Qd]?o[Qd]():o),c=r||{reason:0};return t._doUpdate&&!0===t._doUpdate(a,c,u)?i=!0:u(),i}function u(){s||(s=!0,l(a.getCfg(),a.core(),a[dn]()))}},Ti(t,"_addUnloadCb",(function(){return n}),"add"),Ti(t,"_addHook",(function(){return i}),"add"),or(t,"_unloadHooks",{g:function(){return i}})})),s[ln]=function(t){return a(t)[ln]()},s[Uo]=function(){return e},s.setInitialized=function(t){e=t},s[pn]=function(t){o=t},s[Xo]=function(t,e){e?e[Xo](t):o&&qe(o[oi])&&o[oi](t,null)},s._getTelCtx=a}return t.__ieDyn=1,t}(),tp="toString",ep="isStorageUseDisabled",rp="_addHook",op="core",np="dataType",ip="envelopeType",sp="diagLog",ap="track",lp="trackPageView",cp="trackPreviousPageVisit",up="sendPageViewInternal",dp="startTime",pp="properties",fp="duration",bp="sendPageViewPerformanceInternal",hp="populatePageViewPerformanceEvent",gp="href",vp="sendExceptionInternal",mp="exception",yp="error",wp="_onerror",_p="errorSrc",xp="lineNumber",kp="columnNumber",Cp="message",Ep="CreateAutoException",Sp="addTelemetryInitializer",Ap="autoTrackPageVisitTime",Tp="isBrowserLinkTrackingEnabled",$p="length",Op="enableAutoRouteTracking",Ip="enableUnhandledPromiseRejectionTracking",Rp="autoUnhandledPromiseInstrumented",Pp="getEntriesByType",Lp="isPerformanceTimingSupported",Mp="getPerformanceTiming",jp="navigationStart",Dp="shouldCollectDuration",Np="isPerformanceTimingDataReady",zp="responseStart",qp="loadEventEnd",Hp="responseEnd",Up="connectEnd",Fp="pageVisitStartTime",Bp=function(){function t(e,r,o,n){no(t,this,(function(t){var i,s=null,a=[],l=!1,c=!1;function u(t){o&&o.flush(t,(function(){}))}function d(){s||(s=fa((function(){s=null;var t=a.slice(0),e=!1;a=[],Vn(t,(function(t){t()?e=!0:a.push(t)})),a[$p]>0&&d(),e&&u(!0)}),100))}function p(t){a.push(t),d()}o&&(i=o.logger),t[lp]=function(t,o){var s=t.name;if(De(s)||"string"!=typeof s){var a=br();s=t.name=a&&a.title||""}var d=t.uri;if(De(d)||"string"!=typeof d){var f=es();d=t.uri=f&&f[gp]||""}if(!c){var b=Mc(),h=b&&b[Pp]&&b[Pp]("navigation");if(h&&h[0]&&!je(b.timeOrigin)){var g=h[0].loadEventStart;t[dp]=new Date(b.timeOrigin+g)}else{var v=(o||t[pp]||{})[fp]||0;t[dp]=new Date((new Date).getTime()-v)}c=!0}if(!n[Lp]())return e[up](t,o),u(!0),void(wr()||Da(i,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info."));var m,y,w=!1,_=n[Mp]()[jp];_>0&&(m=nu(_,+new Date),n[Dp](m)||(m=void 0)),De(o)||De(o[fp])||(y=o[fp]),!r&&isNaN(y)||(isNaN(y)&&(o||(o={}),o[fp]=m),e[up](t,o),u(!0),w=!0),o||(o={}),p((function(){var r=!1;try{if(n[Np]()){r=!0;var a={name:s,uri:d};n[hp](a),a.isValid||w?(w||(o[fp]=a.durationMs,e[up](t,o)),l||(e[bp](a,o),l=!0)):(o[fp]=m,e[up](t,o))}else _>0&&nu(_,+new Date)>6e4&&(r=!0,w||(o[fp]=6e4,e[up](t,o)))}catch(t){Da(i,1,38,"trackPageView failed on page load calculation: "+Ci(t),{exception:Er(t)})}return r}))},t.teardown=function(t,e){if(s){s.cancel(),s=null;var r=a.slice(0);a=[],Vn(r,(function(t){t()}))}}}))}return t.__ieDyn=1,t}(),Vp=["googlebot","adsbot-google","apis-google","mediapartners-google"];function Wp(){var t=Mc();return t&&!!t.timing}function Kp(){var t=Mc(),e=t?t.timing:0;return e&&e.domainLookupStart>0&&e[jp]>0&&e[zp]>0&&e.requestStart>0&&e[qp]>0&&e[Hp]>0&&e[Up]>0&&e.domLoading>0}function Xp(){return Wp()?Mc().timing:null}function Gp(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=(vr()||{}).userAgent,o=!1;if(r)for(var n=0;n<Vp[$p];n++)o=o||-1!==Bn(r.toLowerCase(),Vp[n]);if(o)return!1;for(n=0;n<t[$p];n++)if(t[n]<0||t[n]>=36e5)return!1;return!0}var Jp,Qp=function(){function t(e){var r=La(e);no(t,this,(function(t){t[hp]=function(e){e.isValid=!1;var o,n=(o=Mc())&&o.getEntriesByType&&o.getEntriesByType("navigation")[$p]>0?Mc()[Pp]("navigation")[0]:null,i=Xp(),s=0,a=0,l=0,c=0,u=0;(n||i)&&(n?(s=n[fp],a=0===n[dp]?n[Up]:nu(n[dp],n[Up]),l=nu(n.requestStart,n[zp]),c=nu(n[zp],n[Hp]),u=nu(n.responseEnd,n[qp])):(s=nu(i[jp],i[qp]),a=nu(i[jp],i[Up]),l=nu(i.requestStart,i[zp]),c=nu(i[zp],i[Hp]),u=nu(i.responseEnd,i[qp])),0===s?Da(r,2,10,"error calculating page view performance.",{total:s,network:a,request:l,response:c,dom:u}):t[Dp](s,a,l,c,u)?s<Math.floor(a)+Math.floor(l)+Math.floor(c)+Math.floor(u)?Da(r,2,8,"client performance math error.",{total:s,network:a,request:l,response:c,dom:u}):(e.durationMs=s,e.perfTotal=e[fp]=bc(s),e.networkConnect=bc(a),e.sentRequest=bc(l),e.receivedResponse=bc(c),e.domProcessing=bc(u),e.isValid=!0):Da(r,2,45,"Invalid page load duration value. Browser perf data won't be sent.",{total:s,network:a,request:l,response:c,dom:u}))},t[Mp]=Xp,t[Lp]=Wp,t[Np]=Kp,t[Dp]=Gp}))}return t.__ieDyn=1,t}(),Yp=function(){function t(e,r){var o="prevPageVisitData";no(t,this,(function(t){t[cp]=function(t,n){try{var i=function(t,r){var n=null;try{if(n=function(){var t=null;try{if(Ll()){var r=qi(),n=Ml(e,o);n&&rs()&&((t=os().parse(n)).pageVisitTime=r-t[Fp],function(t,e){var r=$l();if(null!==r)try{return r[Ka](e),!0}catch(e){El=!1,Da(t,2,6,"Browser failed removal of session storage item. "+Ci(e),{exception:Er(e)})}}(e,o))}}catch(r){Na(e,"Stop page visit timer failed: "+Er(r)),t=null}return t}(),Ll()){null!=Ml(e,o)&&_r("Cannot call startPageVisit consecutively without first calling stopPageVisit");var i=os().stringify(new Zp(t,r));jl(e,o,i)}}catch(t){Na(e,"Call to restart failed: "+Er(t)),n=null}return n}(t,n);i&&r(i.pageName,i.pageUrl,i.pageVisitTime)}catch(t){Na(e,"Auto track page visit time failed, metric will not be collected: "+Er(t))}},or(t,"_logger",{g:function(){return e}}),or(t,"pageVisitTimeTrackingHandler",{g:function(){return r}})}))}return t.__ieDyn=1,t}(),Zp=function(t,e){this[Fp]=qi(),this.pageName=t,this.pageUrl=e},tf=function(t,e){var r=this,o={};r.start=function(e){void 0!==o[e]&&Da(t,2,62,"start was called more than once for this event without calling stop.",{name:e,key:e},!0),o[e]=+new Date},r.stop=function(e,n,i,s){var a=o[e];if(isNaN(a))Da(t,2,63,"stop was called without a corresponding start.",{name:e,key:e},!0);else{var l=nu(a,+new Date);r.action(e,n,l,i,s)}delete o[e],o[e]=void 0}};function ef(t,e){t&&t.dispatchEvent&&e&&t.dispatchEvent(e)}var rf=lo(((Jp={sessionRenewalMs:uu(of,18e5),sessionExpirationMs:uu(of,864e5),disableExceptionTracking:pu()})[Ap]=pu(),Jp.overridePageViewDuration=pu(),Jp[Ip]=pu(),Jp[Rp]=!1,Jp.samplingPercentage=du((function(t){return!isNaN(t)&&t>0&&t<=100}),100),Jp[ep]=pu(),Jp[Tp]=pu(),Jp[Op]=pu(),Jp.namePrefix={isVal:ze,v:kr(Jn)},Jp.enableDebug=pu(),Jp.disableFlushOnBeforeUnload=pu(),Jp.disableFlushOnUnload=pu(!1,"disableFlushOnBeforeUnload"),Jp));function of(t,e){return(t=t||e)<6e4&&(t=6e4),+t}var nf=function(t){function e(){var r,o,n,i,s,a,l,c,u,d,p,f,b,h,g,v,m,y,w,_=t.call(this)||this;return _.identifier=zl,_.priority=180,_.autoRoutePVDelay=500,no(e,_,(function(t,e){var _=e[rp];function x(e,r,o,n,i){t[sp]().throwInternal(e,r,o,n,i)}function k(){r=null,o=null,n=null,i=null,s=null,a=null,l=!1,c=!1,u=!1,d=!1,p=!1,f=!1,b=!1,h=!1,v=!1;var e=es(!0);m=e&&e[gp]||"",y=null,w=null,g=null,or(t,"config",{g:function(){return g}})}k(),t.getCookieMgr=function(){return Mu(t[op])},t.processTelemetry=function(e,r){t.processNext(e,r)},t.trackEvent=function(e,r){try{var o=lc(e,cc[np],cc[ip],t[sp](),r);t[op][ap](o)}catch(t){x(2,39,"trackTrace failed, trace will not be collected: "+Ci(t),{exception:Er(t)})}},t.startTrackEvent=function(t){try{r.start(t)}catch(t){x(1,29,"startTrackEvent failed, event will not be collected: "+Ci(t),{exception:Er(t)})}},t.stopTrackEvent=function(t,e,o){try{r.stop(t,void 0,e,o)}catch(t){x(1,30,"stopTrackEvent failed, event will not be collected: "+Ci(t),{exception:Er(t)})}},t.trackTrace=function(e,r){try{var o=lc(e,uc[np],uc[ip],t[sp](),r);t[op][ap](o)}catch(t){x(2,39,"trackTrace failed, trace will not be collected: "+Ci(t),{exception:Er(t)})}},t.trackMetric=function(e,r){try{var o=lc(e,pc[np],pc[ip],t[sp](),r);t[op][ap](o)}catch(t){x(1,36,"trackMetric failed, metric will not be collected: "+Ci(t),{exception:Er(t)})}},t[lp]=function(t,e){try{var r=t||{};n[lp](r,yo(yo(yo({},r.properties),r.measurements),e)),v&&s[cp](r.name,r.uri)}catch(t){x(1,37,"trackPageView failed, page view will not be collected: "+Ci(t),{exception:Er(t)})}},t[up]=function(e,r,o){var n=br();if(n&&(e.refUri=void 0===e.refUri?n.referrer:e.refUri),De(e[dp])){var i=(r||e[pp]||{})[fp]||0;e[dp]=new Date((new Date).getTime()-i)}var s=lc(e,hc[np],hc[ip],t[sp](),r,o);t[op][ap](s)},t[bp]=function(e,r,o){var n=lc(e,gc[np],gc[ip],t[sp](),r,o);t[op][ap](n)},t.trackPageViewPerformance=function(e,r){var o=e||{};try{i[hp](o),t[bp](o,r)}catch(t){x(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Ci(t),{exception:Er(t)})}},t.startTrackPage=function(t){try{if("string"!=typeof t){var e=br();t=e&&e.title||""}o.start(t)}catch(t){x(1,31,"startTrackPage failed, page view may not be collected: "+Ci(t),{exception:Er(t)})}},t.stopTrackPage=function(t,e,r,n){try{if("string"!=typeof t){var i=br();t=i&&i.title||""}if("string"!=typeof e){var a=es();e=a&&a[gp]||""}o.stop(t,e,r,n),v&&s[cp](t,e)}catch(t){x(1,32,"stopTrackPage failed, page view will not be collected: "+Ci(t),{exception:Er(t)})}},t[vp]=function(e,r,o){var n=e&&(e[mp]||e[yp])||We(e)&&e||{name:e&&typeof e,message:e||Wl};e=e||{};var i=lc(new Rc(t[sp](),n,e[pp]||r,e.measurements,e.severityLevel,e.id).toInterface(),Rc[np],Rc[ip],t[sp](),r,o);t[op][ap](i)},t.trackException=function(e,r){e&&!e[mp]&&e[yp]&&(e[mp]=e[yp]);try{t[vp](e,r)}catch(t){x(1,35,"trackException failed, exception will not be collected: "+Ci(t),{exception:Er(t)})}},t[wp]=function(e){var r=e&&e[yp],o=e&&e.evt;try{if(!o){var n=gr();n&&(o=n.event)}var i=e&&e.url||(br()||{}).URL,s=e[_p]||"window.onerror@"+i+":"+(e[xp]||0)+":"+(e[kp]||0),a={errorSrc:s,url:i,lineNumber:e[xp]||0,columnNumber:e[kp]||0,message:e[Cp]};!function(t,e,r,o,n){return!n&&ze(t)&&("Script error."===t||"Script error"===t)}(e.message,e.url,e.lineNumber,e.columnNumber,e[yp])?(e[_p]||(e[_p]=s),t.trackException({exception:e,severityLevel:3},a)):function(e,r){var o=lc(e,Rc[np],Rc[ip],t[sp](),r);t[op][ap](o)}(Rc[Ep]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",i,e[xp]||0,e[kp]||0,r,o,null,s),a)}catch(t){var l=r?r.name+", "+r[Cp]:"null";x(1,11,"_onError threw exception while logging error, error will not be collected: "+Ci(t),{exception:Er(t),errorString:l})}},t[Sp]=function(e){if(t[op])return t[op][Sp](e);a||(a=[]),a.push(e)},t.initialize=function(x,k,C,E){if(!t.isInitialized()){De(k)&&_r("Error initializing"),e.initialize(x,k,C,E);try{w=ud(ks(t.identifier),k.evtNamespace&&k.evtNamespace()),a&&(Vn(a,(function(t){k[Sp](t)})),a=null),function(e){var r=t.identifier,o=t[op];t[rp](_a(e,(function(){var n,i=Rd(null,e,o);g=i.getExtCfg(r,rf),v=g[Ap],e.storagePrefix&&Ol(e.storagePrefix),je((n=g)[ep])||(n[ep]?(Cl=!1,El=!1):(Cl=Il(!0),El=Ll(!0))),l=g[Tp],function(){if(!c&&l){var e=["/browserLinkSignalR/","/__browserLink/"];t[rp](t[Sp]((function(t){if(l&&t.baseType===su[np]){var r=t.baseData;if(r)for(var o=0;o<e[$p];o++)if(r.target&&Bn(r.target,e[o])>=0)return!1}return!0}))),c=!0}}()})))}(x),i=new Qp(t[op]),n=new Bp(t,g.overridePageViewDuration,t[op],i),s=new Yp(t[sp](),(function(e,r,o){return function(e,r,o){var n={PageName:e,PageUrl:r};t.trackMetric({name:"PageVisitTime",average:o,max:o,min:o,sampleCount:1},n)}(e,r,o)})),(r=new tf(t[sp](),"trackEvent")).action=function(e,r,o,n,i){n||(n={}),i||(i={}),n.duration=o[tp](),t.trackEvent({name:e,properties:n,measurements:i})},(o=new tf(t[sp](),"trackPageView")).action=function(e,r,o,n,i){De(n)&&(n={}),n.duration=o[tp]();var s={name:e,uri:r,properties:n,measurements:i};t[up](s,n)},hr()&&(S=gr(),A=es(!0),t[rp](_a(g,(function(){(p=g.disableExceptionTracking)||f||g.autoExceptionInstrumented||(_(Vd(S,"onerror",{ns:w,rsp:function(e,r,o,n,i,s){p||!0===e.rslt||t[wp](Rc[Ep](r,o,n,i,s,e.evt))}},!1)),f=!0)}))),function(e,r){t[rp](_a(g,(function(){b=!0===g[Ip],f=f||g[Rp],b&&!h&&(_(Vd(e,"onunhandledrejection",{ns:w,rsp:function(e,o){b&&!0!==e.rslt&&t[wp](Rc[Ep](function(t){if(t&&t.reason){var e=t.reason;return!ze(e)&&qe(e[tp])?e[tp]():Er(e)}return t||""}(o),r?r[gp]:"",0,0,o,e.evt))}},!1)),g[Rp]=h=!0)})))}(S,A),function(){var e=gr(),r=es(!0);t[rp](_a(g,(function(){if(u=!0===g[Op],e&&u&&!d&&mr()){var o=mr();qe(o.pushState)&&qe(o.replaceState)&&typeof Event!==bo&&function(e,r,o){if(!d){var n=g.namePrefix||"";_(Vd(r,"pushState",{ns:w,rsp:function(){u&&(ef(e,au(n+"pushState")),ef(e,au(n+"locationchange")))}},!0)),_(Vd(r,"replaceState",{ns:w,rsp:function(){u&&(ef(e,au(n+"replaceState")),ef(e,au(n+"locationchange")))}},!0)),dd(e,n+"popstate",(function(){u&&ef(e,au(n+"locationchange"))}),w),dd(e,n+"locationchange",(function(){if(y?(m=y,y=o&&o[gp]||""):y=o&&o[gp]||"",u){var e=function(){var e=null;if(t[op]&&t[op].getTraceCtx&&(e=t[op].getTraceCtx(!1)),!e){var r=t[op].getPlugin(Dl);if(r){var o=r.plugin.context;o&&(e=iu(o.telemetryTrace))}}return e}();if(e){e.setTraceId(jc());var r="_unknown_";o&&o.pathname&&(r=o.pathname+(o.hash||"")),e.setName(ec(t[sp](),r))}fa(function(e){t[lp]({refUri:e,properties:{duration:0}})}.bind(t,m),t.autoRoutePVDelay)}}),w),d=!0}}(e,o,r)}})))}())}catch(e){throw t.setInitialized(!1),e}var S,A}},t._doTeardown=function(t,e){n&&n.teardown(t,e),pd(window,null,null,w),k()},or(t,"_pageViewManager",{g:function(){return n}}),or(t,"_pageViewPerformanceManager",{g:function(){return i}}),or(t,"_pageVisitTimeManager",{g:function(){return s}}),or(t,"_evtNamespace",{g:function(){return"."+w}})})),_}return _o(e,t),e.Version="3.1.2",e}(Zd),sf="Promise",af="rejected";function lf(t,e){return cf(t,(function(t){return e?e({status:"fulfilled",rejected:!1,value:t}):t}),(function(t){return e?e({status:af,rejected:!0,reason:t}):t}))}function cf(t,e,r,o){var n=t;try{if(Ke(t))(e||r)&&(n=t.then(e,r));else try{e&&(n=e(t))}catch(t){if(!r)throw t;n=r(t)}}finally{o&&function(t,e){e&&(Ke(t)?t.finally?t.finally(e):t.then((function(t){return e(),t}),(function(t){throw e(),t})):e())}(n,o)}return n}function uf(t){return t.value&&bf(t),!0}var df=[function(t){var e=t.value;if(Ue(e)){var r=t.result=[];return r.length=e.length,t.copyTo(r,e),!0}return!1},bf,function(t){return t.type===ae},function(t){var e=t.value;return!!Fe(e)&&(t.result=new Date(e.getTime()),!0)}];function pf(t,e,r,o){var n=r.handler,i=r.path?o?r.path.concat(o):r.path:[],s={handler:r.handler,src:r.src,path:i},a=typeof e,l=!1,c=!1;e&&a===le?l=Wn(e):c=e===ie||function(t){return!$e&&($e=["string","number","boolean",de,"symbol","bigint"]),t!==le&&-1!==$e.indexOf(t)}(a);var u={type:a,isPrim:c,isPlain:l,value:e,result:e,path:i,origin:r.src,copy:function(e,o){return pf(t,e,o?s:r,o)},copyTo:function(e,r){return ff(t,e,r,s)}};return u.isPrim?n&&n[ve](r,u)?u.result:e:function(t,e,o,i){var s;return Vn(t,(function(t){if(t.k===e)return s=t,-1})),s||(s={k:e,v:e},t.push(s),function(t){or(u,"result",{g:function(){return t.v},s:function(e){t.v=e}});for(var e=0,o=n;!(o||(e<df.length?df[e++]:uf))[ve](r,u);)o=ie}(s)),s.v}(t,e)}function ff(t,e,r,o){if(!De(r))for(var n in r)e[n]=pf(t,r[n],o,n);return e}function bf(t){var e=t.value;if(e&&t.isPlain){var r=t.result={};return t.copyTo(r,e),!0}return!1}function hf(t,e){return Vn(e,(function(e){!function(t,e,r){ff([],t,e,{handler:void 0,src:e,path:[]})}(t,e)})),t}function gf(t,e,r,o,n,i,s){return hf(pf([],a=t,{handler:undefined,src:a})||{},Se[ve](arguments));var a}var vf=Nn("split",xe);function mf(t,e,r){if(t&&e){var o=vf(e,"."),n=o.pop();Vn(o,(function(e){De(t[e])&&(t[e]={}),t=t[e]})),t[n]=r}}Us();var yf="featureOptIn",wf="onCfgChangeReceive",_f="nonOverrideConfigs",xf="scheduleFetchTimeout";function kf(t,e,r,o){try{var n=r>o;n&&(t=null);var i=0==r?function(t,e,r,o,n,i,s){return hf(t||{},Se[ve](arguments))}({},t):t;return i&&e&&!n&&Ye(i,(function(t){var n=e[t];n&&(He(i[t])&&He(n)?i[t]=kf(i[t],n,++r,o):delete i[t])})),i}catch(t){}return t}var Cf,Ef="featureOptIn.",Sf=".mode",Af=".onCfg",Tf=".offCfg";var $f,Of,If,Rf=void 0,Pf=lo(((Cf={syncMode:1,blkCdnCfg:Rf,customEvtName:Rf,cfgUrl:Rf,overrideSyncFn:Rf,overrideFetchFn:Rf})[wf]=Rf,Cf[xf]=18e5,Cf[_f]={instrumentationKey:!0,connectionString:!0,endpointUrl:!0},Cf)),Lf=function(t){function e(){var r,o,n,i,s,a,l,c,u,d,p,f,b,h,g,v,m=t.call(this)||this;m.priority=198,m.identifier="AppInsightsCfgSyncPlugin";var y=!1;return no(e,m,(function(t,e){function m(){o=null,n=null,i=null,s=null,l=null,c=null,b=null,a=null,d=null,p=null,u=null,g=null,v=null,f=null}function w(e,r){if(e){if(o=e,r&&!y)return x();if(l&&!y)return t.core.updateCfg(e),!0}return!1}function _(){try{var t=dr();t&&pd(t,null,null,i)}catch(t){}}function x(t){try{return v&&qe(v)?v(o,t):function(t,e,r){var o,n,i=dr();if(i&&i.CustomEvent)try{return o=i,n=function(t,e){var r=null,o={detail:e||null};if(qe(CustomEvent))r=new CustomEvent(t,o);else{var n=br();n&&n.createEvent&&(r=n.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,o)}return r}(t,{cfg:e||null,customDetails:r||null}),!!(o&&o.dispatchEvent&&n)&&(o.dispatchEvent(n),!0)}catch(t){}return!1}(n,o,t)}catch(t){}return!1}function k(t){try{return _(),t&&(n=t,function(){if(l){var t=dr();if(t)try{dd(t,n,(function(t){var e=t&&t.detail;if(f&&e)f(e);else{var r=e&&e.cfg,o=r&&Wn(r)&&function(t,e){var r=null;try{t&&(r=kf(t,b,0,5))}catch(t){}return r}(r);o&&w(o)}}),i,!0)}catch(t){}}}()),!0}catch(t){}return!1}function C(t,e,r){var o=dr(),n=o&&o.fetch||null;if(t&&n&&qe(n))try{var i=new Request(t,{method:"GET"});lf(fetch(i),(function(t){var o=t.value;t.rejected?A(e,400):o.ok?lf(o.text(),(function(t){A(e,o.status,t.value,r)})):A(e,o.status,null,r)}))}catch(t){}}function E(t,e,r){try{var o=new XMLHttpRequest;o.open("GET",t),o.onreadystatechange=function(){o.readyState===XMLHttpRequest.DONE&&A(e,o.status,o.responseText,r)},o.onerror=function(){A(e,400)},o.ontimeout=function(){A(e,400)},o.send()}catch(t){}}function S(e,r,o){try{if(e>=200&&e<400&&r){p=0;var n=os();if(n){var i=function(t,e){try{if(!t||!t.enabled)return null;if(!t[yf])return t.config;var r=t[yf],o=t.config||{};return Ye(r,(function(r){var n,i,s,a,l,c,u,d=function(t,e,r){var o;if(!e||!e.enabled)return null;var n=(e[yf]||{})[t]||{mode:1},i=n.mode,s=n.onCfg,a=n.offCfg,l=(r||{})[t]||{mode:2},c=l.mode,u=l.onCfg,d=l.offCfg,p=!!l.blockCdnCfg,f=Ef+t+Af,b=Ef+t+Tf,h=c,g=u,v=d;return p||(4===i||5===i?(h=4==i?3:2,g=s||u,v=a||d):2===i||2===c?(h=2,g=u||s,v=d||a):3===i?(h=3,g=u||s,v=d||a):1===i&&1===c&&(h=1)),(o={})[Ef+t+Sf]=h,o[f]=g,o[b]=v,o}(r,t,e.config[yf]);De(d)||(Ye(d,(function(t,e){mf(o,t,e)})),s=o,a=(i=d)[Ef+(n=r)+Sf],l=i[Ef+n+Af],c=i[Ef+n+Tf],u=null,3===a&&(u=l),2===a&&(u=c),u&&Ye(u,(function(t,e){mf(s,t,e)})))})),o}catch(t){}return null}(n.parse(r),t.core);i&&w(i,o)}}else p++;p<3&&T()}catch(t){}}function A(t,e,r,o){try{t(e,r,o)}catch(t){}}function T(){!a&&d&&(a=fa((function(){a=null,h(s,S,c)}),d)).unref()}function $(){a&&a.cancel(),a=null,p=0}m(),t.initialize=function(a,m,y,w){e.initialize(a,m,y,w),i=ud(ks(t.identifier),m.evtNamespace&&m.evtNamespace()),function(e){var i=t.identifier,a=t.core;t._addHook(_a(e,(function(){var t=Rd(null,e,a);r=t.getExtCfg(i,Pf);var d=u;u=!!r.blkCdnCfg,De(d)||d===u||(!u&&s?h&&h(s,S,c):$()),De(l)&&(l=2===r.syncMode),De(c)&&(c=1===r.syncMode);var p=r.customEvtName||"ai_cfgsync";n!==p&&(l?k(p):(_(),n=p)),De(s)&&(s=r.cfgUrl),s||(o=e,c&&x())}))),v=r.overrideSyncFn,g=r.overrideFetchFn,f=r[wf],b=r[_f],d=r[xf],h=function(){var t=g;return De(t)&&(as()?t=C:ls()&&(t=E)),t}(),p=0,s&&!u&&h&&h(s,S,c)}(a)},t.getCfg=function(){return o},t.pause=function(){y=!0,$()},t.resume=function(){y=!1,T()},t.setCfg=function(t){return w(t)},t.sync=function(t){return x(t)},t.updateEventListenerName=function(t){return k(t)},t._doTeardown=function(t,e){_(),$(),m()},t._getDbgPlgTargets=function(){return[c,l,n,u]},t.processTelemetry=function(e,r){t.processNext(e,r)}})),m}return _o(e,t),e.__ieDyn=1,e}(Zd);function Mf(t,e){pd(t,null,null,e)}function jf(t,e,r){return(t&&t.slice||Se).apply(t,Se[ve](arguments,1))}var Df,Nf=!1,zf=["pending","resolving","resolved",af],qf="dispatchEvent";function Hf(t){var e;return t&&t.createEvent&&(e=t.createEvent("Event")),!!e&&e.initEvent}var Uf,Ff="unhandledRejection",Bf=Ff.toLowerCase(),Vf=[],Wf=0,Kf=10;function Xf(t){return qe(t)?t.toString():Er(t)}function Gf(t,e,r){var o,n,i=jf(arguments,3),s=0,a=!1,l=[],c=Wf++,u=Vf.length>0?Vf[Vf.length-1]:void 0,d=!1,p=null;function f(e,r){try{return Vf.push(c),d=!0,p&&p.cancel(),p=null,t((function(t,n){l.push((function(){try{var i=2===s?e:r,a=je(i)?o:qe(i)?i(o):i;Ke(a)?a.then(t,n):i?t(a):3===s?n(a):t(a)}catch(t){n(t)}})),a&&h()}),i)}finally{Vf.pop()}}function b(){return zf[s]}function h(){if(l.length>0){var t=l.slice();l=[],d=!0,p&&p.cancel(),p=null,e(t)}}function g(t,e){return function(r){if(s===e){if(2===t&&Ke(r))return s=1,void r.then(g(2,1),g(3,1));s=t,a=!0,o=r,h(),d||3!==t||p||(p=fa(v,Kf))}}}function v(){d||(d=!0,yr()?process.emit(Ff,o,n):function(t,e,r,o){var n=br();!Df&&(Df=sr(!!Ae(Hf,[n]).v));var i=Df.v?n.createEvent("Event"):o?new Event(e):{};if(r&&r(i),Df.v&&i.initEvent(e,!1,!0),i&&t[qf])t[qf](i);else{var s=t["on"+e];if(s)s(i);else{var a=pr("console");a&&(a.error||a.log)(e,Er(i))}}}(gr()||dr(),Bf,(function(t){return or(t,"promise",{g:function(){return n}}),t.reason=o,t}),!!Uf.v))}return!Uf&&(Uf=ur(sf+"RejectionEvent")),er(n={then:f,catch:function(t){return f(void 0,t)},finally:function(t){var e=t,r=t;return qe(t)&&(e=function(e){return t&&t(),e},r=function(e){throw t&&t(),e}),f(e,r)}},"state",{get:b}),Nf&&function(t,e,r,n){Of=Of||{toString:function(){return"[[PromiseResult]]"}},If=If||{toString:function(){return"[[PromiseIsHandled]]"}};var i={};i[$f=$f||{toString:function(){return"[[PromiseState]]"}}]={get:e},i[Of]={get:function(){return Me(o)}},i[If]={get:function(){return d}},rr(t,i)}(n,b),Us()&&(n[Fs(11)]="IPromise"),n.toString=function(){return"IPromise"+(Nf?"["+c+(je(u)?"":":"+u)+"]":"")+" "+b()+(a?" - "+Xf(o):"")},function(){qe(r)||xr(sf+": executor is not a function - "+Xf(r));var t=g(3,0);try{r.call(n,g(2,0),t)}catch(e){t(e)}}(),n}function Jf(t){return function(e){var r=jf(arguments,1);return t((function(t,r){try{var o=[],n=1;Xd(e,(function(e,i){e&&(n++,cf(e,(function(e){o[i]=e,0==--n&&t(o)}),r))})),0==--n&&t(o)}catch(t){r(t)}}),r)}}function Qf(t,e){return Gf(Qf,function(t){var e=Be(t)?t:0;return function(t){fa((function(){!function(t){Vn(t,(function(t){try{t()}catch(t){}}))}(t)}),e)}}(e),t,e)}var Yf,Zf,tb=!0;function eb(t,e){!Yf&&(Yf=sr(tb&&Ae(pr,[sf]).v||null));var r=Yf.v;if(!r)return Qf(t);qe(t)||xr(sf+": executor is not a function - "+Er(t));var o=0,n=new r((function(e,r){t((function(t){o=2,e(t)}),(function(t){o=3,r(t)}))}));return er(n,"state",{get:function(){return zf[o]}}),n}function rb(t,e){return!Zf&&(Zf=sr(eb)),Zf.v.call(this,t,e)}var ob=Jf(rb),nb="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",ib="",sb="&NoResponseBody=true",ab="POST",lb=function(){function t(){var e,r,o,n,i,s,a,l,c,u,d,p,f,b=0;no(t,this,(function(t,h){var g=!0;function v(t,e){Da(o,2,26,"Failed to send telemetry.",{message:t}),y(e,400,{})}function m(t){v("No endpoint url is provided for the batch",t)}function y(t,e,r,o){try{t&&t(e,r,o)}catch(t){}}function w(t,e){var r=vr(),o=t[On];if(!o)return m(e),!0;o=t[On]+(p?sb:ib);var i=t[En],s=n?i:new Blob([i],{type:"text/plain;charset=UTF-8"});return r.sendBeacon(o,s)}function _(t,e,r){var s=t[En];try{if(s)if(w(t,e))y(e,200,{},ib);else{var l=i&&i.beaconOnRetry;l&&qe(l)?l(t,e,w):(a&&a[In](t,e,!0),Da(o,2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}catch(t){n&&Na(o,"Failed to send telemetry using sendBeacon API. Ex:"+Er(t)),y(e,n?0:400,{},ib)}}function x(t,r,o){var s,a,l,c=t[Rn]||{};!o&&e&&(s=rb((function(t,e){a=t,l=e}))),n&&o&&t.disableXhrSync&&(o=!1);var u=t[On];if(!u)return m(r),void(a&&a(!1));var d=function(t,e,r,o,n,i){function s(t,e,r){try{t[e]=r}catch(t){}}void 0===o&&(o=!1),void 0===n&&(n=!1);var a=new XMLHttpRequest;return o&&s(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",o),r&&s(a,Di,r),a.open(t,e,!n),r&&s(a,Di,r),!n&&i&&s(a,"timeout",i),a}(ab,u,g,!0,o,t[Pn]);function p(e){var o=i&&i.xhrOnComplete;if(o&&qe(o))o(e,r,t);else{var s=Pi(e);y(r,e[_n],zi(e,n),s)}}return d[Ln]("Content-type","application/json"),Vn(ao(c),(function(t){d[Ln](t,c[t])})),d.onreadystatechange=function(){n||(p(d),4===d.readyState&&a&&a(!0))},d.onload=function(){n&&p(d)},d.onerror=function(t){y(r,n?d[_n]:400,zi(d,n),n?ib:Mi(d)),l&&l(t)},d.ontimeout=function(){y(r,n?d[_n]:500,zi(d,n),n?ib:Mi(d)),a&&a(!1)},d.send(t[En]),s}function k(t,r,o){var s,a,l,c,u=t[On],d=t[En],h=n?d:new Blob([d],{type:"application/json"}),v=new Headers,w=d[Eo],_=!1,x=!1,k=t[Rn]||{},C=((s={method:ab,body:h})[nb]=!0,s);t.headers&&ao(t.headers)[Eo]>0&&(Vn(ao(k),(function(t){v.append(t,k[t])})),C[Rn]=v),g&&n&&(C.credentials="include"),o&&(C.keepalive=!0,b+=w,n?2===t._sendReason&&(_=!0,p&&(u+=sb)):_=!0);var E=new Request(u,C);try{E[nb]=!0}catch(t){}if(!o&&e&&(a=rb((function(t,e){l=t,c=e}))),!u)return m(r),void(l&&l(!1));function S(t){y(r,n?0:400,{},n?ib:t)}function A(t,e,o){var n=t[_n],s=i.fetchOnComplete;s&&qe(s)?s(t,r,o||ib,e):y(r,n,{},o||ib)}try{lf(fetch(n?u:E,n?C:null),(function(e){if(o&&(b-=w,w=0),!x)if(x=!0,e.rejected)S(e.reason&&e.reason[sn]),c&&c(e.reason);else{var r=e.value;try{n||r.ok?n&&!r.body?(A(r,null,ib),l&&l(!0)):lf(r.text(),(function(e){A(r,t,e.value),l&&l(!0)})):(S(r.statusText),l&&l(!1))}catch(t){S(Er(t)),c&&c(t)}}}))}catch(t){x||(S(Er(t)),c&&c(t))}return _&&!x&&(x=!0,y(r,200,{}),l&&l(!0)),n&&!x&&t[Pn]>0&&f&&f.set((function(){x||(x=!0,y(r,500,{}),l&&l(!0))}),t[Pn]),a}function C(t,e,r){var s=gr(),a=new XDomainRequest,l=t[En];a.onload=function(){var r=Pi(a),o=i&&i.xdrOnComplete;o&&qe(o)?o(a,e,t):y(e,200,{},r)},a.onerror=function(){y(e,400,{},n?ib:Li(a))},a.ontimeout=function(){y(e,500,{})},a.onprogress=function(){};var c=s&&s.location&&s.location[fn]||"",u=t[On];if(u){if(!n&&0!==u.lastIndexOf(c,0)){var d="Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol.";return Da(o,2,40,". "+d),void v(d,e)}var p=n?u:u[vn](/^(https?:)/,"");a.open(ab,p),t[Pn]&&(a[Pn]=t[Pn]),a.send(l),n&&r?f&&f.set((function(){a.send(l)}),0):a.send(l)}else m(e)}function E(){b=0,r=!1,e=!1,o=null,n=null,i=null,s=null,a=null,l=!1,c=!1,u=!1,d=!1,p=!1,f=null}E(),t[No]=function(e,n){o=n,r&&Da(o,1,28,"Sender is already initialized"),t.SetConfig(e),r=!0},t._getDbgPlgTargets=function(){return[r,n,s,e]},t.SetConfig=function(t){try{if(i=t.senderOnCompleteCallBack||{},s=!!t.disableCredentials,n=!!t.isOneDs,e=!!t.enableSendPromise,l=!!t.disableXhr,c=!!t.disableBeacon,u=!!t.disableBeaconSync,f=t.timeWrapper,p=!!t.addNoResponse,d=!!t.disableFetchKeepAlive,a={sendPOST:x},n||(g=!1),s){var r=es();r&&r.protocol&&"file:"===r.protocol[ko]()&&(g=!1)}return!0}catch(t){}return!1},t.getSyncFetchPayload=function(){return b},t.getSenderInst=function(t,e){return t&&t[Eo]?function(t,e){for(var r,o=0,n=null,i=0;null==n&&i<t[Eo];)o=t[i],l||1!==o?2!==o||!as(e)||e&&d?3!==o||!ss()||(e?u:c)||(n=_):n=k:(null===Yi&&(Yi=typeof XDomainRequest!==bo)&&ls()&&(Yi=Yi&&!ts(pr(Xi),"withCredentials")),Yi?n=C:ls()&&(n=x)),i++;return n?((r={_transport:o,_isSync:e})[In]=n,r):null}(t,e):null},t.getFallbackInst=function(){return a},t[cn]=function(t,e){E()}}))}return t.__ieDyn=1,t}(),cb=qn(he);function ub(t,e){if(t&&t[Yo])return t[Yo](e)}function db(t,e,r){var o;return r||(o=rb((function(t){r=t}))),t&&cb(t)>0?lf(ub(t[0],e),(function(){db(jf(t,1),e,r)})):r(),o}function pb(t,e){try{if(t&&""!==t){var r=os().parse(t);if(r&&r[$n]&&r[$n]>=r.itemsAccepted&&r.itemsReceived-r.itemsAccepted===r.errors[Eo])return r}}catch(r){Da(e,1,43,"Cannot parse the response. "+(r[Wo]||Er(r)),{response:t})}return null}function fb(t){var e="ai."+t+".";return function(t){return e+t}}var bb,hb=fb("application"),gb=fb("device"),vb=fb("location"),mb=fb("operation"),yb=fb("session"),wb=fb("user"),_b=fb("cloud"),xb=fb("internal"),kb=function(t){function e(){return t.call(this)||this}return _o(e,t),e}((bb={applicationVersion:hb("ver"),applicationBuild:hb("build"),applicationTypeId:hb("typeId"),applicationId:hb("applicationId"),applicationLayer:hb("layer"),deviceId:gb("id"),deviceIp:gb("ip"),deviceLanguage:gb("language"),deviceLocale:gb("locale"),deviceModel:gb("model"),deviceFriendlyName:gb("friendlyName"),deviceNetwork:gb("network"),deviceNetworkName:gb("networkName"),deviceOEMName:gb("oemName"),deviceOS:gb("os"),deviceOSVersion:gb("osVersion"),deviceRoleInstance:gb("roleInstance"),deviceRoleName:gb("roleName"),deviceScreenResolution:gb("screenResolution"),deviceType:gb("type"),deviceMachineName:gb("machineName"),deviceVMName:gb("vmName"),deviceBrowser:gb("browser"),deviceBrowserVersion:gb("browserVersion"),locationIp:vb("ip"),locationCountry:vb("country"),locationProvince:vb("province"),locationCity:vb("city"),operationId:mb("id"),operationName:mb("name"),operationParentId:mb("parentId"),operationRootId:mb("rootId"),operationSyntheticSource:mb("syntheticSource"),operationCorrelationVector:mb("correlationVector"),sessionId:yb("id"),sessionIsFirst:yb("isFirst"),sessionIsNew:yb("isNew"),userAccountAcquisitionDate:wb("accountAcquisitionDate"),userAccountId:wb("accountId"),userAgent:wb("userAgent"),userId:wb("id"),userStoreRegion:wb("storeRegion"),userAuthUserId:wb("authUserId"),userAnonymousUserAcquisitionDate:wb("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:wb("authUserAcquisitionDate"),cloudName:_b("name"),cloudRole:_b("role"),cloudRoleVer:_b("roleVer"),cloudRoleInstance:_b("roleInstance"),cloudEnvironment:_b("environment"),cloudLocation:_b("location"),cloudDeploymentUnit:_b("deploymentUnit"),internalNodeName:xb("nodeName"),internalSdkVersion:xb("sdkVersion"),internalAgentVersion:xb("agentVersion"),internalSnippet:xb("snippet"),internalSdkSrc:xb("sdkSrc")},function(){var t=this;bb&&Ye(bb,(function(e,r){t[e]=r}))})),Cb="user",Eb="device",Sb="trace",Ab=new kb,Tb=function(t,e,r){var o=this,n=this;n.ver=1,n.sampleRate=100,n.tags={},n[Xa]=ec(t,r)||Wl,n.data=e,n.time=ki(new Date),n.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===o.sampleRate?4:1},tags:1,data:1}},$b=function(t,e){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=e},Ob="duration",Ib="tags",Rb="deviceType",Pb="data",Lb="name",Mb="traceID",jb="length",Db="stringify",Nb="measurements",zb="dataType",qb="envelopeType",Hb="toString",Ub="_get",Fb="enqueue",Bb="count",Vb="eventsLimitInMem",Wb="push",Kb="emitLineDelimitedJson",Xb="clear",Gb="createNew",Jb="markAsSent",Qb="clearSent",Yb="bufferOverride",Zb="BUFFER_KEY",th="SENT_BUFFER_KEY",eh="MAX_BUFFER_SIZE",rh="triggerSend",oh="diagLog",nh="initialize",ih="_sender",sh="customHeaders",ah="maxBatchSizeInBytes",lh="onunloadDisableBeacon",ch="isBeaconApiDisabled",uh="alwaysUseXhrOverride",dh="disableXhr",ph="enableSessionStorageBuffer",fh="_buffer",bh="onunloadDisableFetch",hh="disableSendBeaconSplit",gh="instrumentationKey",vh="enableSendPromise",mh="getSenderInst",yh="unloadTransports",wh="convertUndefined",_h="maxBatchInterval",xh="serialize",kh="_onError",Ch="_onPartialSuccess",Eh="_onSuccess",Sh="itemsAccepted",Ah="oriPayload",Th="baseType",$h="sampleRate",Oh="eventsSendRequest",Ih="getSamplingScore",Rh="baseType",Ph="baseData",Lh="properties",Mh="true";function jh(t,e,r){return Ei(t,e,r,Xe)}function Dh(t,e,r){De(t)||Ye(t,(function(t,o){Be(o)?r[t]=o:ze(o)?e[t]=o:rs()&&(e[t]=os()[Db](o))}))}function Nh(t,e){De(t)||Ye(t,(function(r,o){t[r]=o||e}))}function zh(t,e,r,o){var n=new Tb(t,o,e);jh(n,"sampleRate",r[Hl]),(r[Ph]||{}).startTime&&(n.time=ki(r[Ph].startTime)),n.iKey=r.iKey;var i=r.iKey.replace(/-/g,"");return n[Lb]=n[Lb].replace("{0}",i),function(t,e,r){var o=r[Ib]=r[Ib]||{},n=e.ext=e.ext||{},i=e[Ib]=e[Ib]||[],s=n.user;s&&(jh(o,Ab.userAuthUserId,s.authId),jh(o,Ab.userId,s.id||s.localId));var a=n.app;a&&jh(o,Ab.sessionId,a.sesId);var l=n.device;l&&(jh(o,Ab.deviceId,l.id||l.localId),jh(o,Ab[Rb],l.deviceClass),jh(o,Ab.deviceIp,l.ip),jh(o,Ab.deviceModel,l.model),jh(o,Ab[Rb],l[Rb]));var c=e.ext.web;if(c){jh(o,Ab.deviceLanguage,c.browserLang),jh(o,Ab.deviceBrowserVersion,c.browserVer),jh(o,Ab.deviceBrowser,c.browser);var u=r[Pb]=r[Pb]||{},d=u[Ph]=u[Ph]||{},p=d[Lh]=d[Lh]||{};jh(p,"domain",c.domain),jh(p,"isManual",c.isManual?Mh:null),jh(p,"screenRes",c.screenRes),jh(p,"userConsent",c.userConsent?Mh:null)}var f=n.os;f&&jh(o,Ab.deviceOS,f[Lb]);var b=n.trace;b&&(jh(o,Ab.operationParentId,b.parentID),jh(o,Ab.operationName,ec(t,b[Lb])),jh(o,Ab.operationId,b[Mb]));for(var h={},g=i[jb]-1;g>=0;g--)Ye(i[g],(function(t,e){h[t]=e})),i.splice(g,1);Ye(i,(function(t,e){h[t]=e}));var v=yo(yo({},o),h);v[Ab.internalSdkVersion]||(v[Ab.internalSdkVersion]=ec(t,"javascript:".concat(Hh.Version),64)),r[Ib]=Oi(v)}(t,r,n),r[Ib]=r[Ib]||[],Oi(n)}function qh(t,e){De(e[Ph])&&Da(t,1,46,"telemetryItem.baseData cannot be null.")}var Hh={Version:"3.1.2"};function Uh(t,e,r){qh(t,e);var o={},n={};e[Rh]!==cc[zb]&&(o.baseTypeSource=e[Rh]),e[Rh]===cc[zb]?(o=e[Ph][Lh]||{},n=e[Ph][Nb]||{}):e[Ph]&&Dh(e[Ph],o,n),Dh(e[Pb],o,n),De(r)||Nh(o,r);var i=e[Ph][Lb],s=new cc(t,i,o,n),a=new $b(cc[zb],s);return zh(t,cc[qb],e,a)}var Fh,Bh,Vh=function(){function t(e,r){var o=[],n=!1;this[Ub]=function(){return o},this._set=function(t){return o=t},no(t,this,(function(t){t[Fb]=function(i){t[Bb]()>=r[Vb]?n||(Da(e,2,105,"Maximum in-memory buffer size reached: "+t[Bb](),!0),n=!0):o[Wb](i)},t[Bb]=function(){return o[jb]},t.size=function(){for(var t=o[jb],e=0;e<o[jb];e++)t+=o[e][jb];return r[Kb]||(t+=2),t},t[Xb]=function(){o=[],n=!1},t.getItems=function(){return o.slice(0)},t.batchPayloads=function(t){return t&&t[jb]>0?r[Kb]?t.join("\n"):"["+t.join(",")+"]":null},t[Gb]=function(t,r,n){var i=o.slice(0);t=t||e,r=r||{};var s=n?new Kh(t,r):new Wh(t,r);return Vn(i,(function(t){s[Fb](t)})),s}}))}return t.__ieDyn=1,t}(),Wh=function(t){function e(r,o){var n=t.call(this,r,o)||this;return no(e,n,(function(t,e){t[Jb]=function(t){e[Xb]()},t[Qb]=function(t){}})),n}return _o(e,t),e.__ieDyn=1,e}(Vh),Kh=function(t){function e(r,o){var n=t.call(this,r,o)||this,i=!1,s=null==o?void 0:o.namePrefix,a=o[Yb]||{getItem:Ml,setItem:jl},l=a.getItem,c=a.setItem;return no(e,n,(function(t,o){var n=p(e[Zb]),a=p(e[th]),u=t._set(n.concat(a));function d(t,e){var r=[];return Vn(e,(function(e){qe(e)||-1!==$s(t,e)||r[Wb](e)})),r}function p(t){var e=t;try{var o=l(r,e=s?s+"_"+e:e);if(o){var n=os().parse(o);if(ze(n)&&(n=os().parse(n)),n&&Ue(n))return n}}catch(t){Da(r,1,42," storage key: "+e+", "+Ci(t),{exception:Er(t)})}return[]}function f(t,e){var o=t;try{o=s?s+"_"+o:o;var n=JSON[Db](e);c(r,o,n)}catch(t){c(r,o,JSON[Db]([])),Da(r,2,41," storage key: "+o+", "+Ci(t)+". Buffer cleared",{exception:Er(t)})}}u[jb]>e[eh]&&(u[jb]=e[eh]),f(e[th],[]),f(e[Zb],u),t[Fb]=function(n){t[Bb]()>=e[eh]?i||(Da(r,2,67,"Maximum buffer size reached: "+t[Bb](),!0),i=!0):(o[Fb](n),f(e.BUFFER_KEY,t[Ub]()))},t[Xb]=function(){o[Xb](),f(e.BUFFER_KEY,t[Ub]()),f(e[th],[]),i=!1},t[Jb]=function(o){f(e[Zb],t._set(d(o,t[Ub]())));var n=p(e[th]);n instanceof Array&&o instanceof Array&&((n=n.concat(o))[jb]>e[eh]&&(Da(r,1,67,"Sent buffer reached its maximum size: "+n[jb],!0),n[jb]=e[eh]),f(e[th],n))},t[Qb]=function(t){var r=p(e[th]);r=d(t,r),f(e[th],r)},t[Gb]=function(o,n,i){i=!!i;var s=t[Ub]().slice(0),a=p(e[th]).slice(0);o=o||r,n=n||{},t[Xb]();var l=i?new e(o,n):new Wh(o,n);return Vn(s,(function(t){l[Fb](t)})),i&&l[Jb](a),l}})),n}return _o(e,t),e.BUFFER_KEY="AI_buffer",e.SENT_BUFFER_KEY="AI_sentBuffer",e.MAX_BUFFER_SIZE=2e3,e}(Vh),Xh=function(){function t(e){no(t,this,(function(t){function r(t,i){var s="__aiCircularRefCheck",a={};if(!t)return Da(e,1,48,"cannot serialize object because it is null or undefined",{name:i},!0),a;if(t[s])return Da(e,2,50,"Circular reference detected while serializing object",{name:i},!0),a;if(!t.aiDataContract){if("measurements"===i)a=n(t,"number",i);else if("properties"===i)a=n(t,"string",i);else if("tags"===i)a=n(t,"string",i);else if(Ue(t))a=o(t,i);else{Da(e,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:i},!0);try{os()[Db](t),a=t}catch(t){Da(e,1,48,t&&qe(t[Hb])?t[Hb]():"Error serializing object",null,!0)}}return a}return t[s]=!0,Ye(t.aiDataContract,(function(n,s){var l=qe(s)?1&s():1&s,c=qe(s)?4&s():4&s,u=2&s,d=void 0!==t[n],p=He(t[n])&&null!==t[n];if(!l||d||u){if(!c){var f;void 0!==(f=p?u?o(t[n],n):r(t[n],n):t[n])&&(a[n]=f)}}else Da(e,1,24,"Missing required field specification. The field is required but not present on source",{field:n,name:i})})),delete t[s],a}function o(t,o){var n;if(t)if(Ue(t)){n=[];for(var i=0;i<t[jb];i++){var s=r(t[i],o+"["+i+"]");n[Wb](s)}}else Da(e,1,54,"This field was specified as an array in the contract but the item is not an array.\r\n",{name:o},!0);return n}function n(t,r,o){var n;return t&&(n={},Ye(t,(function(t,i){if("string"===r)void 0===i?n[t]="undefined":null===i?n[t]="null":i[Hb]?n[t]=i[Hb]():n[t]="invalid field: toString() is not defined.";else if("number"===r)if(void 0===i)n[t]="undefined";else if(null===i)n[t]="null";else{var s=parseFloat(i);n[t]=s}else n[t]="invalid field: "+o+" is of unknown type.",Da(e,1,n[t],null,!0)}))),n}t[xh]=function(t){var o=r(t,"root");try{return os()[Db](o)}catch(t){Da(e,1,48,t&&qe(t[Hb])?t[Hb]():"Error serializing object",null,!0)}}}))}return t.__ieDyn=1,t}(),Gh=function(){function t(){}return t.prototype.getHashCodeScore=function(e){return this.getHashCode(e)/t.INT_MAX_VALUE*100},t.prototype.getHashCode=function(t){if(""===t)return 0;for(;t[jb]<8;)t=t.concat(t);for(var e=5381,r=0;r<t[jb];++r)e=(e<<5)+e+t.charCodeAt(r),e|=0;return Math.abs(e)},t.INT_MAX_VALUE=2147483647,t}(),Jh=function(){var t=new Gh,e=new kb;this[Ih]=function(r){return r[Ib]&&r[Ib][e.userId]?t.getHashCodeScore(r[Ib][e.userId]):r.ext&&r.ext.user&&r.ext.user.id?t.getHashCodeScore(r.ext.user.id):r[Ib]&&r[Ib][e.operationId]?t.getHashCodeScore(r[Ib][e.operationId]):r.ext&&r.ext.telemetryTrace&&r.ext.telemetryTrace[Mb]?t.getHashCodeScore(r.ext.telemetryTrace[Mb]):100*Math.random()}},Qh=function(){function t(t,e){this.INT_MAX_VALUE=2147483647;var r=e||La(null);(t>100||t<0)&&(r.throwInternal(2,58,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:t},!0),t=100),this[$h]=t,this.samplingScoreGenerator=new Jh}return t.prototype.isSampledIn=function(t){var e=this[$h];return null==e||e>=100||t.baseType===pc[zb]||this.samplingScoreGenerator[Ih](t)<e},t}(),Yh=void 0;function Zh(t){try{return t.responseText}catch(t){}return null}var tg=lo(((Fh={endpointUrl:du(Xe,Bl+Vl)})[Kb]=pu(),Fh[_h]=15e3,Fh[ah]=102400,Fh.disableTelemetry=pu(),Fh[ph]=pu(!0),Fh.isRetryDisabled=pu(),Fh[ch]=pu(!0),Fh[hh]=pu(!0),Fh[dh]=pu(),Fh[bh]=pu(),Fh[lh]=pu(),Fh[gh]=Yh,Fh.namePrefix=Yh,Fh.samplingPercentage=du((function(t){return!isNaN(t)&&t>0&&t<=100}),100),Fh[sh]=Yh,Fh[wh]=Yh,Fh[Vb]=1e4,Fh[Yb]=!1,Fh.httpXHROverride={isVal:function(t){return t&&t.sendPOST},v:Yh},Fh[uh]=pu(),Fh.transports=Yh,Fh.retryCodes=Yh,Fh)),eg=((Bh={})[cc.dataType]=Uh,Bh[uc.dataType]=function(t,e,r){qh(t,e);var o=e[Ph].message,n=e[Ph].severityLevel,i=e[Ph][Lh]||{},s=e[Ph][Nb]||{};Dh(e[Pb],i,s),De(r)||Nh(i,r);var a=new uc(t,o,n,i,s),l=new $b(uc[zb],a);return zh(t,uc[qb],e,l)},Bh[hc.dataType]=function(t,e,r){var o;qh(t,e);var n=e[Ph];De(n)||De(n[Lh])||De(n[Lh][Ob])?De(e[Pb])||De(e[Pb][Ob])||(o=e[Pb][Ob],delete e[Pb][Ob]):(o=n[Lh][Ob],delete n[Lh][Ob]);var i,s=e[Ph];((e.ext||{}).trace||{})[Mb]&&(i=e.ext.trace[Mb]);var a=s.id||i,l=s[Lb],c=s.uri,u=s[Lh]||{},d=s[Nb]||{};De(s.refUri)||(u.refUri=s.refUri),De(s.pageType)||(u.pageType=s.pageType),De(s.isLoggedIn)||(u.isLoggedIn=s.isLoggedIn[Hb]()),De(s[Lh])||Ye(s[Lh],(function(t,e){u[t]=e})),Dh(e[Pb],u,d),De(r)||Nh(u,r);var p=new hc(t,l,c,o,u,d,a),f=new $b(hc[zb],p);return zh(t,hc[qb],e,f)},Bh[gc.dataType]=function(t,e,r){qh(t,e);var o=e[Ph],n=o[Lb],i=o.uri||o.url,s=o[Lh]||{},a=o[Nb]||{};Dh(e[Pb],s,a),De(r)||Nh(s,r);var l=new gc(t,n,i,void 0,s,a,o),c=new $b(gc[zb],l);return zh(t,gc[qb],e,c)},Bh[Rc.dataType]=function(t,e,r){qh(t,e);var o=e[Ph][Nb]||{},n=e[Ph][Lh]||{};Dh(e[Pb],n,o),De(r)||Nh(n,r);var i=e[Ph],s=Rc.CreateFromInterface(t,i,n,o),a=new $b(Rc[zb],s);return zh(t,Rc[qb],e,a)},Bh[pc.dataType]=function(t,e,r){qh(t,e);var o=e[Ph],n=o[Lh]||{},i=o[Nb]||{};Dh(e[Pb],n,i),De(r)||Nh(n,r);var s=new pc(t,o[Lb],o.average,o.sampleCount,o.min,o.max,o.stdDev,n,i),a=new $b(pc[zb],s);return zh(t,pc[qb],e,a)},Bh[su.dataType]=function(t,e,r){qh(t,e);var o=e[Ph][Nb]||{},n=e[Ph][Lh]||{};Dh(e[Pb],n,o),De(r)||Nh(n,r);var i=e[Ph];if(De(i))return Na(t,"Invalid input for dependency data"),null;var s=i[Lh]&&i[Lh][Fl]?i[Lh][Fl]:"GET",a=new su(t,i.id,i.target,i[Lb],i[Ob],i.success,i.responseCode,s,i.type,i.correlationContext,n,o),l=new $b(su[zb],a);return zh(t,su[qb],e,l)},Bh),rg=function(t){function e(){var r,o,n,i,s,a,l,c=t.call(this)||this;c.priority=1001,c.identifier=Nl;var u,d,p,f,b,h,g,v,m,y,w,_,x,k,C,E,S,A,T,$,O,I,R,P,L,M,j,D=0;return no(e,c,(function(t,N){function z(e,o){var n=Zh(e);if(!e||n+""!="200"&&""!==n){var i=pb(n);i&&i.itemsReceived&&i.itemsReceived>i[Sh]&&!k?t[Ch](o,i):t[kh](o,Li(e))}else r=0,t[Eh](o,0)}function q(t,e,r){4===t.readyState&&Q(t.status,e,t.responseURL,r,Mi(t),Zh(t)||t.response)}function H(t){try{if(t){var e=t[Ah];return e&&e[jb]?e:null}}catch(t){}return null}function U(e,r){return!(w||(e?e.baseData&&!e[Th]?(r&&Da(r,1,70,"Cannot send telemetry without baseData and baseType"),1):(e[Th]||(e[Th]="EventData"),t[ih]?(o=e,t._sample.isSampledIn(o)?(e[Hl]=t._sample[$h],0):(r&&Da(r,2,33,"Telemetry item was sampled out and not sent",{SampleRate:t._sample[$h]}),1)):(r&&Da(r,1,28,"Sender was not initialized"),1)):(r&&Da(r,1,7,"Cannot send empty telemetry"),1)));var o}function F(t,r){var o=t.iKey||_,n=e.constructEnvelope(t,o,r,x);if(n){var i=!1;if(t[Ib]&&t[Ib][Ul]&&(Vn(t[Ib][Ul],(function(t){try{t&&!1===t(n)&&(i=!0,Na(r,"Telemetry processor check returns false"))}catch(t){Da(r,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Ci(t),{exception:Er(t)},!0)}})),delete t[Ib][Ul]),!i)return n}else Da(r,1,47,"Unable to create an AppInsights envelope")}function B(e){var r="",o=t[oh]();try{var n=U(e,o),i=null;n&&(i=F(e,o)),i&&(r=s[xh](i))}catch(t){}return r}function V(t){var e="";return t&&t[jb]&&(e="["+t.join(",")+"]"),e}function W(t){var e,r=G();return(e={urlString:f})[Pb]=t,e.headers=r,e}function K(e,r,o,n){void 0===n&&(n=!0);var i=X(r),s=e&&e.sendPOST;return s&&i?(n&&t._buffer[Jb](r),s(i,(function(e,o,n){return function(e,r,o,n){200===r&&e?t._onSuccess(e,e[jb]):n&&t[kh](e,n)}(r,e,0,n)}),!o)):null}function X(e){var r;if(Ue(e)&&e[jb]>0){var o=t[fh].batchPayloads(e),n=G();return(r={})[Pb]=o,r.urlString=f,r.headers=n,r.disableXhrSync=O,r.disableFetchKeepAlive=!I,r[Ah]=e,r}return null}function G(){try{var t=l||{};return tu(f)&&(t[Wc[6]]=Wc[7]),t}catch(t){}return null}function J(e){var r=e?e[jb]:0;return t[fh].size()+r>h&&(d&&!d.isOnline()||t[rh](!0,null,10),!0)}function Q(e,o,n,i,s,a){var l=null;if(t._appId||(l=pb(a))&&l.appId&&(t._appId=l.appId),(e<200||e>=300)&&0!==e){if((301===e||307===e||308===e)&&!Y(n))return void t[kh](o,s);!k&&nt(e)?(et(o),Da(t[oh](),2,40,". Response code "+e+". Will retry to send "+o[jb]+" items.")):t[kh](o,s)}else d&&!d.isOnline()?k||(et(o,10),Da(t[oh](),2,40,". Offline - Response Code: ".concat(e,". Offline status: ").concat(!d.isOnline(),". Will retry to send ").concat(o.length," items."))):(Y(n),206===e?(l||(l=pb(a)),l&&!k?t[Ch](o,l):t[kh](o,s)):(r=0,t[Eh](o,i)))}function Y(t){return!(a>=10||De(t)||""===t||t===f||(f=t,++a,0))}function Z(t,e){if(!u)return K(M&&M[mh]([3],!0),t,e);u(t,!1)}function tt(e,r){var o=null;if(Ue(e)){for(var n=e[jb],i=0;i<e[jb];i++)n+=e[i][jb];return M.getSyncFetchPayload()+n<=65e3?o=2:ss()?o=3:(o=1,Da(t[oh](),2,40,". Failed to send telemetry with Beacon API, retried with xhrSender.")),K(M&&M[mh]([o],!0),e,r)}return null}function et(e,n){if(void 0===n&&(n=1),e&&0!==e[jb]){var i=t[fh];i[Qb](e),r++;for(var s=0,a=e;s<a.length;s++){var l=a[s];i[Fb](l)}!function(t){var e;if(r<=1)e=10;else{var n=(Math.pow(2,r)-1)/2,i=Math.floor(Math.random()*n*10)+1;i*=t,e=Math.max(Math.min(i,3600),10)}var s=qi()+1e3*e;o=s}(n),rt()}}function rt(){if(!i&&!n){var e=o?Math.max(0,o-qi()):0,r=Math.max(C,e);i=fa((function(){i=null,t[rh](!0,null,1)}),r)}}function ot(){i&&i.cancel(),i=null,o=null}function nt(t){return De(j)?401===t||408===t||429===t||500===t||502===t||503===t||504===t:j[jb]&&j.indexOf(t)>-1}function it(){t[ih]=null,t[fh]=null,t._appId=null,t._sample=null,l={},d=null,r=0,o=null,n=!1,i=null,s=null,a=0,D=0,u=null,p=null,f=null,b=null,h=0,g=!1,y=null,w=!1,_=null,x=Yh,k=!1,E=null,A=Yh,O=!1,I=!1,L=!1,R=null,P=null,M=null,or(t,"_senderConfig",{g:function(){return Ii({},tg)}})}it(),t.pause=function(){ot(),n=!0},t.resume=function(){n&&(n=!1,o=null,J(),rt())},t.flush=function(e,r,o){if(void 0===e&&(e=!0),!n){ot();try{return t[rh](e,null,o||1)}catch(e){Da(t[oh](),1,22,"flush failed, telemetry will not be collected: "+Ci(e),{exception:Er(e)})}}},t.onunloadFlush=function(){if(!n)if(g||$)try{return t[rh](!0,Z,2)}catch(e){Da(t[oh](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Ci(e),{exception:Er(e)})}else t.flush(!1)},t.addHeader=function(t,e){l[t]=e},t[nh]=function(e,n,i,D){t.isInitialized()&&Da(t[oh](),1,28,"Sender is already initialized"),N[nh](e,n,i,D);var U=t.identifier;s=new Xh(n.logger),r=0,o=null,t[ih]=null,a=0;var F=t[oh]();p=ud(ks("Sender"),n.evtNamespace&&n.evtNamespace()),d=function(t){var e=br(),r=vr(),o=!1,n=[],i=1;!r||De(r.onLine)||r.onLine||(i=2);var s=0,a=d(),l=ud(ks("OfflineListener"),t);try{if(u(gr())&&(o=!0),e){var c=e.body||e;c.ononline&&u(c)&&(o=!0)}}catch(t){o=!1}function u(t){var e=!1;return t&&(e=dd(t,"online",f,l))&&dd(t,"offline",b,l),e}function d(){return 2!==s&&2!==i}function p(){var t=d();a!==t&&(a=t,Vn(n,(function(t){var e={isOnline:a,rState:i,uState:s};try{t(e)}catch(t){}})))}function f(){i=1,p()}function b(){i=2,p()}return{isOnline:function(){return a},isListening:function(){return o},unload:function(){var t=gr();if(t&&o){if(Mf(t,l),e){var r=e.body||e;je(r.ononline)||Mf(r,l)}o=!1}},addListener:function(t){return n[Wa](t),{rm:function(){var e=n.indexOf(t);return e>-1?n.splice(e,1):void 0}}},setOnlineState:function(t){s=t,p()}}}(p),t._addHook(_a(e,(function(e){var r=e.cfg;r.storagePrefix&&Ol(r.storagePrefix);var o=Rd(null,r,n).getExtCfg(U,tg);or(t,"_senderConfig",{g:function(){return o}}),b!==o.endpointUrl&&(f=b=o.endpointUrl),y&&y!==o[sh]&&Vn(y,(function(t){delete l[t.header]})),h=o[ah],g=(!1===o[lh]||!1===o[ch])&&ss(),v=!1===o[lh]&&ss(),m=!1===o[ch]&&ss(),$=o[uh],O=!!o[dh],j=o.retryCodes;var i=o[Yb],s=!!o[ph]&&(!!i||Ll()),a=o.namePrefix,d=s!==E||s&&A!==a||s&&S!==i;if(t[fh]){if(d)try{t._buffer=t._buffer[Gb](F,o,s)}catch(e){Da(t[oh](),1,12,"failed to transfer telemetry to different buffer storage, telemetry will be lost: "+Ci(e),{exception:Er(e)})}J()}else t[fh]=s?new Kh(F,o):new Wh(F,o);A=a,E=s,S=i,I=!o[bh]&&as(!0),L=!!o[hh],t._sample=new Qh(o.samplingPercentage,F),function(t,e){var r=e.disableInstrumentationKeyValidation;return!(De(r)||!r)||new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$").test(t)}(_=o[gh],r)||Da(F,1,100,"Invalid Instrumentation key "+_),y=o[sh],!tu(f)&&y&&y[jb]>0?Vn(y,(function(t){c.addHeader(t.header,t.value)})):y=null,T=o[vh];var p=function(){var e;try{var r={xdrOnComplete:function(t,e,r){var o=H(r);if(o)return z(t,o)},fetchOnComplete:function(t,e,r,o){var n=H(o);if(n)return Q(t.status,n,t.url,n[jb],t.statusText,r||"")},xhrOnComplete:function(t,e,r){var o=H(r);if(o)return q(t,o,o[jb])},beaconOnRetry:function(e,r,o){return function(e,r,o){var n=e&&e[Ah];if(L)P&&P(n,!0),Da(t[oh](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender.");else{for(var i=[],s=0;s<n[jb];s++){var a=n[s],l=[a];o(X(l),r)?t._onSuccess(l,l[jb]):i[Wb](a)}i[jb]>0&&(P&&P(i,!0),Da(t[oh](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}(e,r,o)}};return(e={})[vh]=T,e.isOneDs=!1,e.disableCredentials=!1,e[dh]=O,e.disableBeacon=!m,e.disableBeaconSync=!v,e.senderOnCompleteCallBack=r,e}catch(t){}return null}();M?M.SetConfig(p):(M=new lb)[nh](p,F);var D=o.httpXHROverride,N=null,B=null,V=ji([3,1,2],o.transports);N=M&&M[mh](V,!1);var W=M&&M.getFallbackInst();R=function(t,e){return K(W,t,e)},P=function(t,e){return K(W,t,e,!1)},N=$?D:N||D||W,t[ih]=function(t,e){return K(N,t,e)},I&&(u=tt);var G=ji([3,1],o[yh]);I||(G=G.filter((function(t){return 2!==t}))),B=M&&M[mh](G,!0),B=$?D:B||D,($||o[yh]||!u)&&B&&(u=function(t,e){return K(B,t,e)}),u||(u=R),w=o.disableTelemetry,x=o[wh]||Yh,k=o.isRetryDisabled,C=o[_h]})))},t.processTelemetry=function(e,r){var o=(r=t._getTelCtx(r))[oh]();try{if(!U(e,o))return;var n=F(e,o);if(!n)return;var i=s[xh](n),a=t[fh];J(i),a[Fb](i),rt()}catch(t){Da(o,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Ci(t),{exception:Er(t)})}t.processNext(e,r)},t.isCompletelyIdle=function(){return!n&&0===D&&0===t._buffer[Bb]()},t._xhrReadyStateChange=function(t,e,r){return q(t,e,r)},t[rh]=function(e,r,o){var i;if(void 0===e&&(e=!0),!n)try{var s=t[fh];if(w)s[Xb]();else{if(s[Bb]()>0){var a=s.getItems();!function(e,r){var o,n=(o="getNotifyMgr",t.core[o]?t.core[o]():t.core._notificationManager);if(n&&n[Oh])try{n[Oh](e,r)}catch(e){Da(t[oh](),1,74,"send request notification failed: "+Ci(e),{exception:Er(e)})}}(o||0,e),i=r?r.call(t,a,e):t[ih](a,e)}new Date}ot()}catch(e){var l=is();(!l||l>9)&&Da(t[oh](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+Ci(e),{exception:Er(e)})}return i},t.getOfflineSupport=function(){var t;return(t={getUrl:function(){return f},createPayload:W})[xh]=B,t.batch=V,t.shouldProcess=function(t){return!!U(t)},t},t._doTeardown=function(e,r){t.onunloadFlush(),ub(d,!1),it()},t[kh]=function(e,r,o){Da(t[oh](),2,26,"Failed to send telemetry.",{message:r}),t._buffer&&t._buffer[Qb](e)},t[Ch]=function(e,r){for(var o=[],n=[],i=0,s=r.errors.reverse();i<s.length;i++){var a=s[i],l=e.splice(a.index,1)[0];nt(a.statusCode)?n[Wb](l):o[Wb](l)}e[jb]>0&&t[Eh](e,r[Sh]),o[jb]>0&&t[kh](o,Mi(null,["partial success",r[Sh],"of",r.itemsReceived].join(" "))),n[jb]>0&&(et(n),Da(t[oh](),2,40,"Partial success. Delivered: "+e[jb]+", Failed: "+o[jb]+". Will retry to send "+n[jb]+" our of "+r.itemsReceived+" items"))},t[Eh]=function(e,r){t._buffer&&t._buffer[Qb](e)},t._xdrOnLoad=function(t,e){return z(t,e)}})),c}return _o(e,t),e.constructEnvelope=function(t,e,r,o){var n;return n=e===t.iKey||De(e)?t:yo(yo({},t),{iKey:e}),(eg[n.baseType]||Uh)(r,n,o)},e}(Zd),og=Nn("reduce",Ee);var ng=function(t,e){var r,o,n,i,s,a,l,c=this,u=!1,d=!1;function p(t,e,n,i){if(u){var a=function(t){try{var e=f(t);return(1e6>0?Math.floor(vs()/us*1000001)>>>0:0)<=e.limit.samplingRate}catch(t){}return!1}(t);if(!a)return;var l=f(t),c=_(t),d=h(l,r,c),p=!1,b=0,v=x(t);try{d&&!v?(b=Math.min(l.limit.maxSendNumber,c[Ja]+1),c[Ja]=0,p=!0,s[t]=!0,c[Qa]=new Date):(s[t]=d,c[Ja]+=1);var y=g(t);m(o,y,c);for(var C=0;C<b;C++)w(t,o,e,n)}catch(t){}return{isThrottled:p,throttleNum:b}}return i&&k(t)[Wa]({msgID:t,message:e,severity:n}),null}function f(t){return n[t]||n[109]}function b(t,e){var r,o,i,s,a;try{var l=e||{},c={};c[Ya]=!!l[Ya];var u=l[Za]||{};d=(null==u?void 0:u.daysOfMonth)&&(null==u?void 0:u.daysOfMonth[Ua])>0,c[Za]=(s=null===(i=(i=u)||{})||void 0===i?void 0:i.monthInterval,a=null==i?void 0:i.dayInterval,De(s)&&De(a)&&(i.monthInterval=3,d||(i[tl]=[28],d=!0)),i={monthInterval:null==i?void 0:i.monthInterval,dayInterval:null==i?void 0:i.dayInterval,daysOfMonth:null==i?void 0:i.daysOfMonth});var p={samplingRate:(null===(r=l.limit)||void 0===r?void 0:r.samplingRate)||100,maxSendNumber:(null===(o=l.limit)||void 0===o?void 0:o.maxSendNumber)||1};c.limit=p,n[t]=c}catch(t){}}function h(t,e,r){if(t&&!t[Ya]&&e&&wi(r)){var o=v(),n=r[el],i=t[Za],s=1;if(null==i?void 0:i.monthInterval){var a=12*(o.getUTCFullYear()-n.getUTCFullYear())+o.getUTCMonth()-n.getUTCMonth();s=y(i.monthInterval,0,a)}var l=1;if(d)l=$s(i[tl],o[rl]());else if(null==i?void 0:i.dayInterval){var c=Math.floor((o.getTime()-n.getTime())/864e5);l=y(i.dayInterval,0,c)}return s>=0&&l>=0}return!1}function g(t,e){var r=wi(e)?e:"";return t?"appInsightsThrottle"+r+"-"+t:null}function v(t){try{if(!t)return new Date;var e=new Date(t);if(!isNaN(e.getDate()))return e}catch(t){}return null}function m(t,e,r){try{return Pl(t,e,Xn(JSON[ol](r)))}catch(t){}return!1}function y(t,e,r){return t<=0?1:r>=e&&(r-e)%t==0?Math.floor((r-e)/t)+1:-1}function w(t,e,r,o){Da(e,o||1,t,r)}function _(t){try{var e=i[t];if(!e){var r=g(t,a);e=function(t,e,r){try{var o={date:v(),count:0};if(t){var n=JSON.parse(t);return{date:v(n[el])||o[el],count:n[Ja]||o[Ja],preTriggerDate:n.preTriggerDate?v(n[Qa]):void 0}}return m(e,r,o),o}catch(t){}return null}(Rl(o,r),o,r),i[t]=e}return i[t]}catch(t){}return null}function x(t){var e=s[t];if(De(e)){e=!1;var r=_(t);r&&(e=function(t){try{if(t){var e=new Date;return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t[rl]()===e[rl]()}}catch(t){}return!1}(r[Qa])),s[t]=e}return s[t]}function k(t){return De((l=l||{})[t])&&(l[t]=[]),l[t]}o=La(t),s={},i={},l={},n={},b(109),a=wi(e)?e:"",t.addUnloadHook(_a(t.config,(function(t){var e=t.cfg;r=Il(),Ye(e.throttleMgrCfg||{},(function(t,e){b(parseInt(t),e)}))}))),c._getDbgPlgTargets=function(){return[l]},c.getConfig=function(){return n},c.canThrottle=function(t){var e=_(t);return h(f(t),r,e)},c.isTriggered=function(t){return x(t)},c.isReady=function(){return u},c.flush=function(t){try{var e=k(t);if(e&&e[Ua]>0){var r=e.slice(0);return l[t]=[],Vn(r,(function(t){p(t.msgID,t[Ga],t.severity,!1)})),!0}}catch(t){}return!1},c.flushAll=function(){try{if(l){var t=!0;return Ye(l,(function(e){var r=c.flush(parseInt(e));t=t&&r})),t}}catch(t){}return!1},c.onReadyState=function(t,e){return void 0===e&&(e=!0),(u=!!De(t)||t)&&e?c.flushAll():null},c.sendMessage=function(t,e,r){return p(t,e,r,!0)}},ig={perfEvtsSendAll:!1};function sg(t){t.h=null;var e=t.cb;t.cb=[],Vn(e,(function(t){Ae(t.fn,[t.arg])}))}function ag(t,e,r,o){Vn(t,(function(t){t&&t[e]&&(r?(r.cb[Lo]({fn:o,arg:t}),r.h=r.h||fa(sg,0,r)):Ae(o,[t]))}))}var lg,cg=function(){function t(e){var r,o;this.listeners=[];var n=[],i={h:null,cb:[]},s=wa(e,ig);o=s[Io]((function(t){r=!!t.cfg.perfEvtsSendAll})),no(t,this,(function(t){or(t,"listeners",{g:function(){return n}}),t[Ho]=function(t){n[Lo](t)},t[qo]=function(t){for(var e=$s(n,t);e>-1;)n[Mo](e,1),e=$s(n,t)},t[ii]=function(t){ag(n,ii,i,(function(e){e[ii](t)}))},t[si]=function(t,e){ag(n,si,i,(function(r){r[si](t,e)}))},t[ai]=function(t,e){ag(n,ai,e?i:null,(function(r){r[ai](t,e)}))},t[li]=function(t){t&&(!r&&t[Cn]()||ag(n,li,null,(function(e){t[an]?fa((function(){return e[li](t)}),0):e[li](t)})))},t[ci]=function(t){t&&t[Eo]&&ag(n,ci,i,(function(e){e[ci](t)}))},t[ui]=function(t){t&&t[En]&&ag(n,ui,i,(function(e){e[ui](t)}))},t[di]=function(t,e){if(t>0){var r=e||0;ag(n,di,i,(function(e){e[di](t,r)}))}},t[Yo]=function(t){var e,r=function(){o&&o.rm(),o=null,n=[],i.h&&i.h[Do](),i.h=null,i.cb=[]};if(ag(n,"unload",null,(function(r){var o=r[Yo](t);o&&(e||(e=[]),e[Lo](o))})),e)return rb((function(t){return lf(ob(e),(function(){r(),t()}))}));r()}}))}return t.__ieDyn=1,t}(),ug=function(t){function e(){var r,o,n=t.call(this)||this;function i(){r=0,o=[]}return n.identifier="TelemetryInitializerPlugin",n.priority=199,i(),no(e,n,(function(t,e){t.addTelemetryInitializer=function(t){return function(t,e,r){var o={id:e,fn:r};return Gd(t,o),{remove:function(){Vn(t,(function(e,r){if(e.id===o.id)return t[Mo](r,1),-1}))}}}(o,r++,t)},t[oi]=function(e,r){(function(t,e,r){for(var o=!1,n=t[Eo],i=0;i<n;++i){var s=t[i];if(s)try{if(!1===s.fn[Po](null,[e])){o=!0;break}}catch(t){Da(r,2,64,"Telemetry initializer failed: "+Ci(t),{exception:Er(t)},!0)}}return!o})(o,e,r?r[ln]():t[ln]())&&t[Xo](e,r)},t[cn]=function(){i()}})),n}return _o(e,t),e.__ieDyn=1,e}(Zd),dg="Plugins must provide initialize method",pg="SDK is still unloading...",fg=lo(((lg={cookieCfg:{}})[ri]={rdOnly:!0,ref:!0,v:[]},lg[Qn]={rdOnly:!0,ref:!0,v:[]},lg[ei]={ref:!0,v:{}},lg[Zn]=Gn,lg.loggingLevelConsole=0,lg.diagnosticLogInterval=Gn,lg));function bg(t,e){return new wd(e)}function hg(t,e){var r=!1;return Vn(e,(function(e){if(e===t)return r=!0,-1})),r}function gg(t,e,r,o){r&&Ye(r,(function(r,n){o&&Wn(n)&&Wn(e[r])&&gg(t,e[r],n,o),o&&Wn(n)&&Wn(e[r])?gg(t,e[r],n,o):t.set(e,r,n)}))}function vg(t,e){var r=null,o=-1;return Vn(t,(function(t,n){if(t.w===e)return r=t,o=n,-1})),{i:o,l:r}}function mg(t,e,r,o){return e.add(t[Io]((function(t){var e=t.cfg.disableDbgExt;!0===e&&o&&(r[qo](o),o=null),r&&!o&&!0!==e&&(o=function(t){if(!xa){xa={};for(var e=0;e<Ca[Eo];e++)xa[Ca[e]]=Sa(Ca[e],t)}return xa}(t.cfg),r[Ho](o))}))),o}var yg=function(){function t(){var e,r,o,n,i,s,a,l,c,u,d,p,f,b,h,g,v,m,y,w,_,x,k,C,E,S,A,T;no(t,this,(function(t){function $(t){return S&&S[Jo]||T||(t||o&&o.queue[Eo]>0)&&(A||(A=!0,U(e[Io]((function(t){var e=t.cfg.diagnosticLogInterval;e&&e>0||(e=1e4);var r=!1;S&&(r=S[Jo],S[Do]()),S=function(t,e){return pa(!1,ne,Se[ve](arguments))}(D,e),S.unref(),S[Jo]=r})))),S[Jo]=!0),S}function O(){var t={};C=[];var e=function(e){e&&Vn(e,(function(e){if(e[zo]&&e[tn]&&!t[e.identifier]){var r=e[zo]+"="+e[tn];C[Lo](r),t[e.identifier]=e}}))};e(p),d&&Vn(d,(function(t){e(t)})),e(u)}function I(){r=!1,(e=wa({},fg,t[Ro])).cfg[en]=1,or(t,"config",{g:function(){return e.cfg},s:function(e){t.updateCfg(e,!1)}}),or(t,"pluginVersionStringArr",{g:function(){return C||O(),C}}),or(t,"pluginVersionString",{g:function(){return E||(C||O(),E=C.join(";")),E||Jn}}),or(t,"logger",{g:function(){return o||(o=new Ma(e.cfg),e[Ro]=o),o},s:function(t){e[Ro]=t,o!==t&&(ub(o,!1),o=t)}}),t[Ro]=new Ma(e.cfg),k=[];var y=t.config[ri]||[];y.splice(0,y[Eo]),Gd(y,k),b=new ug,n=[],ub(i,!1),i=null,s=null,a=null,ub(l,!1),l=null,c=null,u=[],d=null,p=null,f=!1,h=null,g=ks("AIBaseCore",!0),v=Wd(),w=null,_=null,m=Jd(),x=[],E=null,C=null,T=!1,S=null,A=!1}function R(){var r=Rd(M(),e.cfg,t);return r[Zo]($),r}function P(e){var r=function(t,e,r){var o,n=[],i=[],s={};return Vn(r,(function(e){(De(e)||De(e[No]))&&_r(dg);var r=e[ni],o=e[zo];e&&r&&(De(s[r])?s[r]=o:Na(t,"Two extensions have same priority #"+r+" - "+s[r]+", "+o)),!r||r<500?n[Lo](e):i[Lo](e)})),(o={})[Yn]=n,o[Qn]=i,o}(t[Ro],0,u);c=null,E=null,C=null,p=Sd(Gd(p=(d||[])[0]||[],r[Qn]));var o=Gd(Sd(r[Yn]),p);k=co(o);var n=t.config[ri]||[];n.splice(0,n[Eo]),Gd(n,k);var i=R();p&&p[Eo]>0&&Ed(i[rn](p),o),Ed(i,o),e&&z(e)}function L(t){var e=null,r=null,o=[];return Vn(k,(function(e){if(e[zo]===t&&e!==b)return r=e,-1;e.getChannel&&o[Lo](e)})),!r&&o[Eo]>0&&Vn(o,(function(e){if(!(r=e.getChannel(t)))return-1})),r&&(e={plugin:r,setEnabled:function(t){Cd(r)[ti]=!t},isEnabled:function(){var t=Cd(r);return!t[on]&&!t[ti]},remove:function(t,e){var o;void 0===t&&(t=!0);var n=[r],i=((o={reason:1})[an]=t,o);j(n,i,(function(t){t&&P({reason:32,removed:n}),e&&e(t)}))}}),e}function M(){if(!c){var r=(k||[]).slice();-1===$s(r,b)&&r[Lo](b),c=Md(Sd(r),e.cfg,t)}return c}function j(r,o,n){if(r&&r[Eo]>0){var i=Pd(Md(r,e.cfg,t),t);i[Zo]((function(){var t=!1,e=[];Vn(u,(function(o,n){hg(o,r)?t=!0:e[Lo](o)})),u=e,E=null,C=null;var o=[];d&&(Vn(d,(function(e,n){var i=[];Vn(e,(function(e){hg(e,r)?t=!0:i[Lo](e)})),o[Lo](i)})),d=o),n&&n(t),$()})),i[Xo](o)}else n(!1)}function D(){if(o&&o.queue){var e=o.queue.slice(0);o.queue[Eo]=0,Vn(e,(function(e){var r,o=((r={})[Wo]=h||"InternalMessageId: "+e[nn],r.iKey=_,r[Ko]=ki(new Date),r.baseType=Pa.dataType,r.baseData={message:e[sn]},r);t.track(o)}))}}function N(t,e,r,o){var n=1,i=!1,s=null;function a(){n--,i&&0===n&&(s&&s[Do](),s=null,e&&e(i),e=null)}return o=o||5e3,p&&p[Eo]>0&&R()[rn](p).iterate((function(e){if(e.flush){n++;var i=!1;e.flush(t,(function(){i=!0,a()}),r)||i||(t&&null==s?s=fa((function(){s=null,a()}),o):a())}})),i=!0,a(),!0}function z(e){var r=Ld(M(),t);r[Zo]($),t._updateHook&&!0===t._updateHook(r,e)||r[Xo](e)}function q(e){var r=t[Ro];r?(Da(r,2,73,e),$()):_r(e)}function H(e){var r=t[Fo]();r&&r[si]([e],2)}function U(t){m.add(t)}I(),t._getDbgPlgTargets=function(){return[k]},t[Uo]=function(){return r},t[No]=function(n,l,c,b){var h;f&&_r(pg),t[Uo]()&&_r("Core cannot be initialized more than once"),n=(e=wa(n,fg,c||t[Ro],!1)).cfg,U(e[Io]((function(t){_=t.cfg.instrumentationKey;var e=t.ref(t.cfg,ei);Ye(e,(function(r){t.ref(e,r)})),De(_)&&_r("Please provide instrumentation key")}))),y=mg(e,m,(i=b)&&t[Fo](),y),U(e[Io]((function(e){if(e.cfg.enablePerfMgr){var r=e.cfg[Zn];h!==r&&(r||(r=bg),Si(e.cfg,Zn,r),h=r,a=null),s||a||!qe(r)||(a=r(t,t[Fo]()))}else a=null,h=null}))),t[Ro]=c;var g=n[ri];if((u=[])[Lo].apply(u,xo(xo([],l),g)),d=n[Qn],P(null),p&&0!==p[Eo]||_r("No "+Qn+" available"),d&&d[Eo]>1){var v=t[Bo]("TeeChannelController");v&&v.plugin||Da(o,1,28,"TeeChannel required")}!function(t,e,r){Vn(e,(function(e){var o=_a(t,e.w,r);delete e.w,e.rm=function(){o.rm()}}))}(n,x,o),x=null,r=!0,t.releaseQueue(),t[Vo]()},t.getChannels=function(){var t=[];return p&&Vn(p,(function(e){t[Lo](e)})),co(t)},t.track=function(e){xd(t[pi](),(function(){return"AppInsightsCore:track"}),(function(){null===e&&(H(e),_r("Invalid telemetry item")),!e[Wo]&&De(e[Wo])&&(H(e),_r("telemetry name required")),e.iKey=e.iKey||_,e[Ko]=e[Ko]||ki(new Date),e.ver=e.ver||"4.0",!f&&t[Uo]()?R()[Xo](e):n[Lo](e)}),(function(){return{item:e}}),!e.sync)},t[Go]=R,t[Fo]=function(){return i||(i=new cg(e.cfg),t._notificationManager=i),i},t[Ho]=function(e){t.getNotifyMgr()[Ho](e)},t[qo]=function(t){i&&i[qo](t)},t.getCookieMgr=function(){return l||(l=ju(e.cfg,t[Ro])),l},t.setCookieMgr=function(t){l!==t&&(ub(l,!1),l=t)},t[pi]=function(){return s||a||null},t.setPerfMgr=function(t){s=t},t.eventCnt=function(){return n[Eo]},t.releaseQueue=function(){if(r&&n[Eo]>0){var t=n;n=[],Vn(t,(function(t){R()[Xo](t)}))}},t[Vo]=function(t){return h=t||null,T=!1,S&&S[Do](),$(!0)},t[Qo]=function(){T=!0,S&&S[Do](),D()},$i(t,(function(){return b}),["addTelemetryInitializer"]),t[Yo]=function(e,n,s){var a;void 0===e&&(e=!0),r||_r("SDK is not initialized"),f&&_r(pg);var c,u=((a={reason:50})[an]=e,a.flushComplete=!1,a);e&&!n&&(c=rb((function(t){n=t})));var d=Pd(M(),t);function p(e){u.flushComplete=e,f=!0,v.run(d,u),t[Qo](),d[Xo](u)}return d[Zo]((function(){m.run(t[Ro]),db([l,i,o],e,(function(){I(),n&&n(u)}))}),t),D(),N(e,p,6,s)||p(!1),c},t[Bo]=L,t.addPlugin=function(t,e,r,o){if(!t)return o&&o(!1),void q(dg);var n=L(t[zo]);if(n&&!e)return o&&o(!1),void q("Plugin ["+t[zo]+"] is already loaded!");var i={reason:16};function s(e){u[Lo](t),i.added=[t],P(i),o&&o(!0)}if(n){var a=[n.plugin];j(a,{reason:2,isAsync:!!r},(function(t){t?(i.removed=a,i.reason|=32,s()):o&&o(!1)}))}else s()},t.updateCfg=function(r,o){var n;if(void 0===o&&(o=!0),t[Uo]()){n={reason:1,cfg:e.cfg,oldCfg:gf({},e.cfg),newConfig:gf({},r),merge:o},r=n.newConfig;var i=e.cfg;r[ri]=i[ri],r[Qn]=i[Qn]}e._block((function(t){var e=t.cfg;gg(t,e,r,o),o||Ye(e,(function(o){Qe(r,o)||t.set(e,o,Gn)})),t[Oo](e,fg)}),!0),e[Ao](),n&&z(n)},t.evtNamespace=function(){return g},t.flush=N,t.getTraceCtx=function(t){return w||(w=function(t){var e={};return{getName:function(){return e[Wo]},setName:function(t){e[Wo]=t},getTraceId:function(){return e[Mn]},setTraceId:function(t){Fc(t)&&(e[Mn]=t)},getSpanId:function(){return e[jn]},setSpanId:function(t){Bc(t)&&(e[jn]=t)},getTraceFlags:function(){return e[Dn]},setTraceFlags:function(t){e[Dn]=t}}}()),w},t.setTraceCtx=function(t){w=t||null},t.addUnloadHook=U,Ti(t,"addUnloadCb",(function(){return v}),"add"),t.onCfgChange=function(o){var n,i,s,a;return r?n=_a(e.cfg,o,t[Ro]):((a=vg(i=x,s=o).l)||(a={w:s,rm:function(){var t=vg(i,s);-1!==t.i&&i[Mo](t.i,1)}},i[Lo](a)),n=a),function(t){return or({rm:function(){t.rm()}},"toJSON",{v:function(){return"aicore::onCfgChange<"+JSON.stringify(t)+">"}})}(n)},t.getWParam=function(){return fr()||e.cfg.enableWParam?0:-1}}))}return t.__ieDyn=1,t}(),wg="duration",_g="properties",xg="requestUrl",kg="inst",Cg="length",Eg="traceID",Sg="spanID",Ag="traceFlags",Tg="context",$g="aborted",Og="traceId",Ig="spanId",Rg="_addHook",Pg="core",Lg="includeCorrelationHeaders",Mg="getAbsoluteUrl",jg="headers",Dg="requestHeaders",Ng="setRequestHeader",zg="trackDependencyDataInternal",qg="startTime",Hg="toLowerCase",Ug="enableRequestHeaderTracking",Fg="enableAjaxErrorStatusText",Bg="enableAjaxPerfTracking",Vg="maxAjaxCallsPerView",Wg="excludeRequestFromAutoTrackingPatterns",Kg="addRequestContext",Xg="disableAjaxTracking",Gg="ajaxPerfLookupDelay",Jg="disableFetchTracking",Qg="enableResponseHeaderTracking",Yg="status",Zg="statusText",tv="headerMap",ev="openDone",rv="sendDone",ov="requestSentTime",nv="abortDone",iv="getTraceId",sv="getTraceFlags",av="method",lv="errorStatusText",cv="stateChangeAttached",uv="responseText",dv="responseFinishedTime",pv="CreateTrackItem",fv="response",bv="getAllResponseHeaders",hv="getPartAProps",gv="perfMark",vv="name",mv="perfTiming",yv="exception",wv="ajaxDiagnosticsMessage",_v="correlationContext",xv="ajaxTotalDuration",kv="eventTraceCtx";function Cv(t,e,r){var o=0,n=t[e],i=t[r];return n&&i&&(o=nu(n,i)),o}function Ev(t,e,r,o,n){var i=0,s=Cv(r,o,n);return s&&(i=Sv(t,e,bc(s))),i}function Sv(t,e,r){var o="ajaxPerf",n=0;return t&&e&&r&&((t[o]=t[o]||{})[e]=r,n=1),n}var Av,Tv=function(){var t=this;t[ev]=!1,t.setRequestHeaderDone=!1,t[rv]=!1,t[nv]=!1,t[cv]=!1},$v=function(){function t(e,r,o,n){var i,s=this,a=o;s[gv]=null,s.completed=!1,s.requestHeadersSize=null,s[Dg]=null,s.responseReceivingDuration=null,s.callbackDuration=null,s[xv]=null,s[$g]=0,s.pageUrl=null,s[xg]=null,s.requestSize=0,s[av]=null,s[Yg]=null,s[ov]=null,s.responseStartedTime=null,s[dv]=null,s.callbackFinishedTime=null,s.endTime=null,s.xhrMonitoringState=new Tv,s.clientFailure=0,s[Eg]=e,s[Sg]=r,s[Ag]=null==n?void 0:n.getTraceFlags(),s[kv]=n?((i={})[Og]=n[iv](),i[Ig]=n.getSpanId(),i[Ag]=n[sv](),i):null,no(t,s,(function(t){t.getAbsoluteUrl=function(){return t[xg]?function(t){var e,r=Jc(t);return r&&(e=r.href),e}(t[xg]):null},t.getPathName=function(){return t[xg]?rc(a,(e=t[av],r=t[xg],e?e.toUpperCase()+" "+r:r)):null;var e,r},t[pv]=function(e,r,o){var n;if(t.ajaxTotalDuration=Math.round(1e3*nu(t.requestSentTime,t.responseFinishedTime))/1e3,t[xv]<0)return null;var i=((n={id:"|"+t[Eg]+"."+t[Sg],target:t[Mg]()})[vv]=t.getPathName(),n.type=e,n[qg]=null,n.duration=t[xv],n.success=+t[Yg]>=200&&+t[Yg]<400,n.responseCode=+t[Yg],n[_g]={HttpMethod:t[av]},n),s=i[_g];if(t[$g]&&(s[$g]=!0),t[ov]&&(i[qg]=new Date,i[qg].setTime(t[ov])),function(t,e){var r=t[mv],o=e[_g]||{},n=0,i="name",s="Start",a="End",l="domainLookup",c="connect",u="redirect",d="request",p="response",f="startTime",b=l+s,h=l+a,g=c+s,v=c+a,m=d+s,y=d+a,w=p+s,_=p+a,x=u+s,k=u=a,C="transferSize",E="encodedBodySize",S="decodedBodySize",A="serverTiming";if(r){n|=Ev(o,u,r,x,k),n|=Ev(o,l,r,b,h),n|=Ev(o,c,r,g,v),n|=Ev(o,d,r,m,y),n|=Ev(o,p,r,w,_),n|=Ev(o,"networkConnect",r,f,v),n|=Ev(o,"sentRequest",r,m,_);var T=r[wg];T||(T=Cv(r,f,_)||0),n|=Sv(o,wg,T),n|=Sv(o,"perfTotal",T);var $=r[A];if($){var O={};Vn($,(function(t,e){var r=_i(t[i]||""+e),o=O[r]||{};Ye(t,(function(t,e){(t!==i&&ze(e)||Be(e))&&(o[t]&&(e=o[t]+";"+e),!e&&ze(e)||(o[t]=e))})),O[r]=o})),n|=Sv(o,A,O)}n|=Sv(o,C,r[C]),n|=Sv(o,E,r[E]),n|=Sv(o,S,r[S])}else t[gv]&&(n|=Sv(o,"missing",t.perfAttempts));n&&(e[_g]=o)}(t,i),r&&ao(t.requestHeaders)[Cg]>0&&(s[Dg]=t[Dg]),o){var a=o();if(a){var l=a[_v];if(l&&(i.correlationContext=l),a[tv]&&ao(a.headerMap)[Cg]>0&&(s.responseHeaders=a[tv]),t[lv])if(t[Yg]>=400){var c=a.type;""!==c&&"text"!==c||(s.responseText=a.responseText?a[Zg]+" - "+a.responseText:a[Zg]),"json"===c&&(s.responseText=a.response?a[Zg]+" - "+JSON.stringify(a[fv]):a[Zg])}else 0===t[Yg]&&(s.responseText=a[Zg]||"")}}return i},t[hv]=function(){var e,r=null,o=t[kv];if(o&&(o[Og]||o[Ig])){var n=(r={})[Sb]=((e={})[Eg]=o[Og],e.parentID=o[Ig],e);De(o[Ag])||(n[Ag]=o[Ag])}return r}}))}return t.__ieDyn=1,t}(),Ov="ai.ajxmn.",Iv="diagLog",Rv="_ajaxData",Pv="fetch",Lv="Failed to monitor XMLHttpRequest",Mv=", monitoring data for this ajax call ",jv=Mv+"may be incorrect.",Dv=Mv+"won't be sent.",Nv="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",zv="Failed to add custom defined request context as configured call back may missing a null check.",qv="Failed to calculate the duration of the ",Hv=0,Uv=function(t,e){return t&&e&&t[Rv]?(t[Rv].i||{})[e]:null},Fv=function(t,e){var r=!1;if(t){var o=(t[Rv]||{}).xh;o&&Vn(o,(function(t){if(t.n===e)return r=!0,-1}))}return r};function Bv(t,e){var r="";try{var o=Uv(t,e);o&&o[xg]&&(r+="(url: '"+o[xg]+"')")}catch(t){}return r}function Vv(t,e,r,o,n){Da(t[Iv](),1,e,r,o,n)}function Wv(t,e,r,o,n){Da(t[Iv](),2,e,r,o,n)}function Kv(t,e,r){return function(o){var n;Vv(t,e,r,((n={ajaxDiagnosticsMessage:Bv(o[kg],t._ajaxDataId)})[yv]=Er(o.err),n))}}function Xv(t,e){return t&&e?Bn(t,e):-1}function Gv(t,e,r){var o={id:e,fn:r};return t.push(o),{remove:function(){Vn(t,(function(e,r){if(e.id===o.id)return t.splice(r,1),-1}))}}}function Jv(t,e,r,o){var n=!0;return Vn(e,(function(e,i){try{!1===e.fn.call(null,r)&&(n=!1)}catch(e){Da(t&&t.logger,1,64,"Dependency "+o+" [#"+i+"] failed: "+Ci(e),{exception:Er(e)},!0)}})),n}var Qv="*.blob.core.",Yv=co([Qv+"windows.net",Qv+"chinacloudapi.cn",Qv+"cloudapi.de",Qv+"usgovcloudapi.net"]),Zv=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i],tm=co(((Av={})[Vg]=500,Av[Xg]=!1,Av[Jg]=!1,Av[Wg]=void 0,Av.disableCorrelationHeaders=!1,Av.distributedTracingMode=1,Av.correlationHeaderExcludedDomains=Yv,Av.correlationHeaderDomains=void 0,Av.correlationHeaderExcludePatterns=void 0,Av.appId=void 0,Av.enableCorsCorrelation=!1,Av[Ug]=!1,Av[Qg]=!1,Av[Fg]=!1,Av[Bg]=!1,Av.maxAjaxPerfLookupAttempts=3,Av[Gg]=25,Av.ignoreHeaders=["Authorization","X-API-Key","WWW-Authenticate"],Av[Kg]=void 0,Av.addIntEndpoints=!0,Av)),em=function(t){function e(){var r,o,n,i,s,a,l,c,u,d,p,f,b,h,g,v,m,y,w,_,x,k,C,E,S,A,T,$,O,I,R=t.call(this)||this;return R.identifier=e.identifier,R.priority=120,no(e,R,(function(t,R){var P=R[Rg];function L(){var e=es();r=!1,o=!1,I=!1,n=e&&e.host&&e.host[Hg](),i=null,s=!1,a=!1,l=0,c=null,u=!1,d=!1,p=null,f=!1,b=0,h=!1,g={},v=!1,m=!1,y=null,w=null,_=null,k=0,C=[],E=[],x=ks("ajaxData"),t._ajaxDataId=x,S=null,A=1,T=1,$=1,O=null}function M(t){var e=!0;return(t||S)&&Vn(S,(function(r){if(r[Hg]()===t[Hg]())return e=!1,-1})),e}function j(t,e,r){P(function(t,e,r){return t?Bd(t[ho],e,r,!1):null}(t,e,r))}function D(t,e,r){var o=!1,n=((ze(e)?e:(e||{}).url||"")||"")[Hg]();if(Vn(y,(function(t){var e=t;ze(t)&&(e=new RegExp(t)),o||(o=e.test(n))})),o)return o;var i=Xv(n,"?"),s=Xv(n,"#");return(-1===i||-1!==s&&s<i)&&(i=s),-1!==i&&(n=n.substring(0,i)),De(t)?De(e)||(o="object"==typeof e&&!0===e[ql]||!!r&&!0===r[ql]):o=!0===t[ql]||!0===n[ql],!o&&n&&tu(n)&&(o=!0),o?g[n]||(g[n]=1):g[n]&&(o=!0),o}function N(t,e,r){var n=!0,i=o;return De(t)||(n=!0===r||!De(e)),i&&n}function z(){var e=null;return t[Pg]&&t[Pg].getTraceCtx&&(e=t[Pg].getTraceCtx(!1)),!e&&c&&c.telemetryTrace&&(e=iu(c.telemetryTrace)),e}function q(t,e){if(e[xg]&&p&&f){var r=Mc();if(r&&qe(r.mark)){Hv++;var o=p+t+"#"+Hv;r.mark(o);var n=r.getEntriesByName(o);n&&1===n[Cg]&&(e[gv]=n[0])}}}function H(t,e,r,o){var n=e[gv],i=Mc(),s=A,a=T,l=e[xg],c=0;!function u(){try{if(i&&n){c++;for(var d=null,p=i.getEntries(),f=p[Cg]-1;f>=0;f--){var b=p[f];if(b){if("resource"===b.entryType)b.initiatorType!==t||-1===Xv(b[vv],l)&&-1===Xv(l,b[vv])||(d=b);else if("mark"===b.entryType&&b[vv]===n[vv]){e[mv]=d;break}if(b[qg]<n[qg]-1e3)break}}}!n||e[mv]||c>=s||!1===e.async?(n&&qe(i.clearMarks)&&i.clearMarks(n[vv]),e.perfAttempts=c,r()):fa(u,a)}catch(t){o(t)}}()}function U(e){var r="";try{De(e)||(r+="(url: '".concat("string"==typeof e?e:e.url,"')"))}catch(e){Vv(t,15,"Failed to grab failed fetch diagnostics message",{exception:Er(e)})}return r}function F(e,r,o,n,i,a,l){function c(e,r,n){var i=n||{};i.fetchDiagnosticsMessage=U(o),r&&(i.exception=Er(r)),Wv(t,e,qv+"fetch call"+Dv,i)}i&&(i[dv]=ou(),i[Yg]=r,H(Pv,i,(function(){var e,l=i[pv]("Fetch",s,a);try{w&&(e=w({status:r,request:o,response:n}))}catch(e){Wv(t,104,zv)}if(l){void 0!==e&&(l[_g]=yo(yo({},l.properties),e));var u=i[hv]();B(E,t[Pg],i,l,null,u)}else c(14,null,{requestSentTime:i[ov],responseFinishedTime:i[dv]})}),(function(t){c(18,t,null)})))}function B(e,r,o,n,i,s){var a,l=!0;e[Cg]>0&&(l=Jv(r,e,((a={item:n})[_g]=i,a.sysProperties=s,a.context=o?o[Tg]:null,a.aborted=!!o&&!!o[$g],a),"initializer")),l&&t[zg](n,i,s)}L(),t.initialize=function(n,l,g,k){var C;t.isInitialized()||(R.initialize(n,l,g,k),_=ud(ks("ajax"),l&&l.evtNamespace&&l.evtNamespace()),function(r){t[Rg](_a(r,(function(r){var o=r.cfg,n=Rd(null,o,t[Pg]);if(i=n.getExtCfg(e.identifier,tm),$=i.distributedTracingMode,s=i[Ug],a=i[Fg],f=i[Bg],b=i[Vg],y=[].concat(i[Wg]||[],!1!==i.addIntEndpoints?Zv:[]),w=i[Kg],d=0===$||1===$,u=1===$||2===$,f){var l=o.instrumentationKey||"unkwn";p=l[Cg]>5?Ov+Jl(l,l[Cg]-5)+".":Ov+l+"."}v=!!i[Xg],A=i.maxAjaxPerfLookupAttempts,T=i[Gg],S=i.ignoreHeaders,O=i.appId})))}(n),function(t,e){var r,o,n=!1;if(ls()){var i=XMLHttpRequest[ho];n=!(De(i)||De(i.open)||De(i.send)||De(i.abort))}var s=is();if(s&&s<9&&(n=!1),n)try{var a=new XMLHttpRequest,l={xh:[],i:(r={},r[e]={},r)};a[Rv]=l;var c=XMLHttpRequest[ho].open;XMLHttpRequest[ho].open=c}catch(e){n=!1,Vv(t,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",((o={})[yv]=Er(e),o))}return n}(t,x)&&t[Rg](_a(i,(function(){v=!!i[Xg],s=i[Ug],v||o||(j(XMLHttpRequest,"open",{ns:_,req:function(e,r,o,n){if(!v){var i=e[kg],l=Uv(i,x);!D(i,o)&&N(i,l,!0)&&(l&&l.xhrMonitoringState[ev]||(l=function(e,r,o,n){var i,s=z(),l=s&&s[iv]()||jc(),c=Ql(jc(),0,16),u=e[Rv]=e[Rv]||{xh:[],i:{}},d=u.i=u.i||{},p=d[x]=d[x]||new $v(l,c,t[Iv](),null===(i=t.core)||void 0===i?void 0:i.getTraceCtx());return p[Ag]=s&&s[sv](),p[av]=r,p[xg]=o,p.xhrMonitoringState[ev]=!0,p[Dg]={},p.async=n,p[lv]=a,p}(i,r,o,n)),function(e,r){r.xhrMonitoringState[cv]=dd(e,"readystatechange",(function(){var o;try{e&&4===e.readyState&&N(e,r)&&function(e){var r=Uv(e,x);function o(r,o){var n=o||{};n.ajaxDiagnosticsMessage=Bv(e,x),r&&(n.exception=Er(r)),Wv(t,14,qv+"ajax call"+Dv,n)}r[dv]=ou(),r[Yg]=e[Yg],H("xmlhttprequest",r,(function(){try{var n=r[pv]("Ajax",s,(function(){var r,o=((r={statusText:e[Zg]})[tv]=null,r[_v]=function(e){var r;try{var o=e[bv]();if(null!==o&&-1!==Xv(o[Hg](),Wc[8]))return ru(e.getResponseHeader(Wc[0]))}catch(o){Wv(t,18,Nv,((r={})[wv]=Bv(e,x),r[yv]=Er(o),r))}}(e),r.type=e.responseType,r[uv]=function(t){try{var e=t.responseType;if(""===e||"text"===e)return t[uv]}catch(t){}return null}(e),r.response=e[fv],r);if(h){var n=e[bv]();if(n){var i=Xn(n).split(/[\r\n]+/),s={};Vn(i,(function(t){var e=t.split(": "),r=e.shift(),o=e.join(": ");M(r)&&(s[r]=o)})),o[tv]=s}}return o})),i=void 0;try{w&&(i=w({status:e[Yg],xhr:e}))}catch(e){Wv(t,104,zv)}if(n){void 0!==i&&(n[_g]=yo(yo({},n.properties),i));var a=r[hv]();B(E,t[Pg],r,n,null,a)}else o(null,{requestSentTime:r[ov],responseFinishedTime:r[dv]})}finally{try{var l=(e[Rv]||{i:{}}).i||{};l[x]&&(l[x]=null)}catch(t){}}}),(function(t){o(t,null)}))}(e)}catch(r){var n=Er(r);n&&-1!==Xv(n[Hg](),"c00c023f")||Vv(t,16,Lv+" 'readystatechange' event handler"+jv,((o={})[wv]=Bv(e,x),o[yv]=n,o))}}),_)}(i,l))}},hkErr:Kv(t,15,Lv+".open"+jv)}),j(XMLHttpRequest,"send",{ns:_,req:function(e,r){if(!v){var o=e[kg],n=Uv(o,x);N(o,n)&&!n.xhrMonitoringState[rv]&&(q("xhr",n),n[ov]=ou(),t[Lg](n,void 0,void 0,o),n.xhrMonitoringState[rv]=!0)}},hkErr:Kv(t,17,Lv+jv)}),j(XMLHttpRequest,"abort",{ns:_,req:function(t){if(!v){var e=t[kg],r=Uv(e,x);N(e,r)&&!r.xhrMonitoringState[nv]&&(r[$g]=1,r.xhrMonitoringState[nv]=!0)}},hkErr:Kv(t,13,Lv+".abort"+jv)}),j(XMLHttpRequest,"setRequestHeader",{ns:_,req:function(t,e,r){if(!v){var o=t[kg],n=Uv(o,x);n&&N(o,n)&&(function(t,e,r){if(t){var o=(t[Rv]||{}).xh;o&&o.push({n:e,v:r})}}(o,e,r),s&&M(e)&&n&&(n[Dg][e]=r))}},hkErr:Kv(t,71,Lv+".setRequestHeader"+jv)}),o=!0)}))),function(){var e,n=!(e=dr())||De(e.Request)||De(e.Request[ho])||De(e[Pv])?null:e[Pv];if(n){var l=dr(),c=n.polyfill;t[Rg](_a(i,(function(){m=!!i[Jg],h=i[Qg],m||r?c&&!I&&(P(Bd(l,Pv,{ns:_,req:function(t,e,r){D(null,e,r)}})),I=!0):(P(Bd(l,Pv,{ns:_,req:function(e,n,i){var l;if(!m&&r&&!D(null,n,i)&&(!c||!o)){var u=e.ctx();l=function(e,r){var o,n,i=z(),l=i&&i[iv]()||jc(),c=Ql(jc(),0,16),u=new $v(l,c,t[Iv](),null===(o=t.core)||void 0===o?void 0:o.getTraceCtx());if(u[Ag]=i&&i[sv](),u[ov]=ou(),u[lv]=a,""===(n=e instanceof Request?(e||{}).url||"":e)){var d=es();d&&d.href&&(n=vf(d.href,"#")[0])}u[xg]=n;var p="GET";r&&r[av]?p=r[av]:e&&e instanceof Request&&(p=e[av]),u[av]=p;var f={};return s&&new Headers((r?r[jg]:0)||e instanceof Request&&e[jg]||{}).forEach((function(t,e){M(e)&&(f[e]=t)})),u[Dg]=f,q(Pv,u),u}(n,i);var d=t[Lg](l,n,i);d!==i&&e.set(1,d),u.data=l}},rsp:function(e,r){if(!m){var o=e.ctx().data;o&&(e.rslt=e.rslt.then((function(e){return F(0,(e||{})[Yg],r,e,o,(function(){var r,o=((r={statusText:(e||{})[Zg]})[tv]=null,r[_v]=function(e){var r;if(e&&e[jg])try{return ru(e[jg].get(Wc[0]))}catch(o){Wv(t,18,Nv,((r={fetchDiagnosticsMessage:U(e)})[yv]=Er(o),r))}}(e),r);if(h&&e){var n={};e.headers.forEach((function(t,e){M(e)&&(n[e]=t)})),o[tv]=n}return o})),e})).catch((function(t){throw F(0,0,r,null,o,null,t.message||Er(t)),t})))}},hkErr:Kv(t,15,"Failed to monitor Window.fetch"+jv)},!0,wr())),r=!0)}))),c&&(l[Pv].polyfill=c)}}(),(C=t[Pg].getPlugin(Dl))&&(c=C.plugin[Tg]))},t._doTeardown=function(){L()},t.trackDependencyData=function(e,r){B(E,t[Pg],null,e,r)},t[Lg]=function(e,r,o,a){var l=t._currentWindowHost||n;if(function(t,e,r,o,n,i){var s;if(t[Cg]>0){var a=((s={})[Pg]=e,s.xhr=o,s.input=n,s.init=i,s.traceId=r[Eg],s.spanId=r[Sg],s.traceFlags=r[Ag],s.context=r[Tg]||{},s.aborted=!!r[$g],s);Jv(e,t,a,"listener"),r[Eg]=a[Og],r[Sg]=a[Ig],r[Ag]=a[Ag],r[Tg]=a[Tg]}}(C,t[Pg],e,a,r,o),r||""===r){if(eu(i,e[Mg](),l)){o||(o={});var p=new Headers(o[jg]||r instanceof Request&&r[jg]||{});if(d){var f="|"+e[Eg]+"."+e[Sg];p.set(Wc[3],f),s&&(e[Dg][Wc[3]]=f)}if((h=O||c&&c.appId())&&(p.set(Wc[0],Wc[2]+h),s&&(e[Dg][Wc[0]]=Wc[2]+h)),u){De(g=e[Ag])&&(g=1);var b=Vc(Uc(e[Eg],e[Sg],g));p.set(Wc[4],b),s&&(e[Dg][Wc[4]]=b)}o[jg]=p}return o}if(a){var h,g;if(eu(i,e[Mg](),l))d&&(Fv(a,Wc[3])?Wv(t,71,"Unable to set ["+Wc[3]+"] as it has already been set by another instance"):(f="|"+e[Eg]+"."+e[Sg],a[Ng](Wc[3],f),s&&(e[Dg][Wc[3]]=f))),(h=O||c&&c.appId())&&(Fv(a,Wc[0])?Wv(t,71,"Unable to set ["+Wc[0]+"] as it has already been set by another instance"):(a[Ng](Wc[0],Wc[2]+h),s&&(e[Dg][Wc[0]]=Wc[2]+h))),u&&(De(g=e[Ag])&&(g=1),Fv(a,Wc[4])?Wv(t,71,"Unable to set ["+Wc[4]+"] as it has already been set by another instance"):(b=Vc(Uc(e[Eg],e[Sg],g)),a[Ng](Wc[4],b),s&&(e[Dg][Wc[4]]=b)));return a}},t[zg]=function(e,r,o){if(-1===b||l<b){2!==$&&1!==$||"string"!=typeof e.id||"."===e.id[e.id[Cg]-1]||(e.id+="."),De(e[qg])&&(e[qg]=new Date);var n=lc(e,su.dataType,su.envelopeType,t[Iv](),r,o);t[Pg].track(n)}else l===b&&Vv(t,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++l},t.addDependencyListener=function(t){return Gv(C,k++,t)},t.addDependencyInitializer=function(t){return Gv(E,k++,t)}})),R}return _o(e,t),e.prototype.processTelemetry=function(t,e){this.processNext(t,e)},e.prototype.addDependencyInitializer=function(t){return null},e.identifier="AjaxDependencyPlugin",e}(Zd),rm=function(){},om=function(){this.id="browser",this.deviceClass="Browser"},nm=function(t,e){var r=this,o=_a(t,(function(){var e=t.sdkExtension;r.sdkVersion=(e?e+"_":"")+"javascript:3.1.2"}));e&&e.add(o)},im=function(){},sm="sessionManager",am="update",lm="isUserCookieSet",cm="isNewUser",um="getTraceCtx",dm="telemetryTrace",pm="applySessionContext",fm="applyApplicationContext",bm="applyDeviceContext",hm="applyOperationContext",gm="applyUserContext",vm="applyOperatingSystemContxt",mm="applyLocationContext",ym="applyInternalContext",wm="accountId",_m="getSessionId",xm="namePrefix",km="userCookiePostfix",Cm="idLength",Em="getNewId",Sm="length",Am="automaticSession",Tm="authenticatedId",$m="acquisitionDate",Om="renewalDate",Im="join",Rm="cookieSeparator",Pm="authUserCookieName",Lm=function(){},Mm=function(){function t(e,r,o){var n,i,s,a,l=La(r),c=Mu(r);no(t,this,(function(t){e||(e={});var r=_a(e,(function(t){s=e.sessionExpirationMs||864e5,a=e.sessionRenewalMs||18e5;var r=e.sessionCookiePostfix||e[xm]||"";n="ai_session"+r}));function u(t,e){var r=!1,o=", session will be reset",n=e.split("|");if(n[Sm]>=2)try{var i=+n[1]||0,s=+n[2]||0;isNaN(i)||i<=0?Da(l,2,27,"AI session acquisition date is 0"+o):isNaN(s)||s<=0?Da(l,2,27,"AI session renewal date is 0"+o):n[0]&&(t.id=n[0],t[$m]=i,t[Om]=s,r=!0)}catch(t){Da(l,1,9,"Error parsing ai_session value ["+(e||"")+"]"+o+" - "+Ci(t),{exception:Er(t)})}return r}function d(t,r){var o=t[$m];t[Om]=r;var l,u=a,d=o+s-r,p=[t.id,o,r];l=d<u?d/1e3:u/1e3;var f=e.cookieDomain||null;c.set(n,p[Im]("|"),s>0?l:null,f),i=r}o&&o.add(r),t[Am]=new Lm,t[am]=function(){var r=qi(),o=!1,p=t[Am];if(p.id||(o=!function(t,e){var r=!1,o=c.get(n);if(o&&qe(o.split))r=u(t,o);else{var i=Rl(l,n);i&&(r=u(t,i))}return r||!!t.id}(p)),!o&&s>0){var f=r-p[$m],b=r-p[Om];o=(o=(o=f<0||b<0)||f>s)||b>a}o?function(r){var o=e[Em]||ms;t.automaticSession.id=o(e[Cm]||22),t[Am][$m]=r,d(t[Am],r),Il()||Da(l,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}(r):(!i||r-i>6e4)&&d(p,r)},t.backup=function(){var e,r,o,i=t[Am];e=i.id,r=i[$m],o=i[Om],Pl(l,n,[e,r,o][Im]("|"))}}))}return t.__ieDyn=1,t}(),jm=function(t,e,r,o){var n=this;n.traceID=t||jc(),n.parentID=e;var i=es();!r&&i&&i.pathname&&(r=i.pathname),n.name=ec(o,r)};function Dm(t){return!("string"!=typeof t||!t||t.match(/,|;|=| |\|/))}var Nm=function(){function t(e,r,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n,i=La(r),s=Mu(r);no(t,this,(function(r){or(r,"config",{g:function(){return e}});var a=_a(e,(function(){var o=e[km]||"";n=t.userCookieName+o;var a=s.get(n);if(a){r[cm]=!1;var d=a.split(t[Rm]);d[Sm]>0&&(r.id=d[0],r[lm]=!!r.id)}if(!r.id){r.id=l(),u(c(r.id)[Im](t[Rm]));var p=(e[xm]||"")+"ai_session";!function(t,e){var r=Al();if(null!==r)try{return r[Ka](e),!0}catch(e){Cl=!1,Da(t,2,5,"Browser failed removal of local storage item. "+Ci(e),{exception:Er(e)})}}(i,p)}r[wm]=e[wm]||void 0;var f=s.get(t[Pm]);if(f){var b=(f=decodeURI(f)).split(t[Rm]);b[0]&&(r[Tm]=b[0]),b[Sm]>1&&b[1]&&(r[wm]=b[1])}}));function l(){var t=e||{};return(t[Em]||ms)(t[Cm]?e[Cm]:22)}function c(t){var e=ki(new Date);return r.accountAcquisitionDate=e,r[cm]=!0,[t,e]}function u(t){r[lm]=s.set(n,t,31536e3)}o&&o.add(a),r.setAuthenticatedUserContext=function(e,o,n){if(void 0===n&&(n=!1),!Dm(e)||o&&!Dm(o))Da(i,2,60,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);else{r[Tm]=e;var a=r[Tm];o&&(r[wm]=o,a=[r[Tm],r.accountId][Im](t[Rm])),n&&s.set(t[Pm],encodeURI(a))}},r.clearAuthenticatedUserContext=function(){r[Tm]=null,r[wm]=null,s.del(t[Pm])},r[am]=function(e){r.id===e&&r[lm]||u(c(e||l())[Im](t[Rm]))}}))}return t.cookieSeparator="|",t.userCookieName="ai_user",t.authUserCookieName="ai_authUser",t}(),zm="ext",qm="tags";function Hm(t,e){t&&t[e]&&0===ao(t[e])[Sm]&&delete t[e]}function Um(){return null}var Fm,Bm,Vm=function(){function t(e,r,o,n){var i=this,s=e.logger;no(t,this,(function(t){if(t.appId=Um,t[_m]=Um,t.application=new rm,t.internal=new nm(r,n),hr()){t[sm]=new Mm(r,e,n),t.device=new om,t.location=new im,t.user=new Nm(r,e,n);var a,l=void 0,c=void 0;o&&(l=o.getTraceId(),c=o.getSpanId(),a=o.getName()),t[dm]=new jm(l,c,a,s),t.session=new Lm}t[_m]=function(){var e=t.session,r=null;if(e&&ze(e.id))r=e.id;else{var o=(t[sm]||{})[Am];r=o&&ze(o.id)?o.id:null}return r},t[pm]=function(e,r){Ei(Si(e.ext,"app"),"sesId",t[_m](),ze)},t[vm]=function(e,r){Ei(e.ext,"os",t.os)},t[fm]=function(e,r){var o=t.application;if(o){var n=Si(e,qm);Ei(n,Ab.applicationVersion,o.ver,ze),Ei(n,Ab.applicationBuild,o.build,ze)}},t[bm]=function(e,r){var o=t.device;if(o){var n=Si(Si(e,zm),Eb);Ei(n,"localId",o.id,ze),Ei(n,"ip",o.ip,ze),Ei(n,"model",o.model,ze),Ei(n,"deviceClass",o.deviceClass,ze)}},t[ym]=function(e,r){var o=t.internal;if(o){var n=Si(e,qm);Ei(n,Ab.internalAgentVersion,o.agentVersion,ze),Ei(n,Ab.internalSdkVersion,ec(s,o.sdkVersion,64),ze),e.baseType!==Pa.dataType&&e.baseType!==hc.dataType||(Ei(n,Ab.internalSnippet,o.snippetVer,ze),Ei(n,Ab.internalSdkSrc,o.sdkSrc,ze))}},t[mm]=function(t,e){var r=i.location;r&&Ei(Si(t,qm,[]),Ab.locationIp,r.ip,ze)},t[hm]=function(e,r){var o=t[dm];if(o){var n=Si(Si(e,zm),Sb,{traceID:void 0,parentID:void 0});Ei(n,"traceID",o.traceID,ze,De),Ei(n,"name",o.name,ze,De),Ei(n,"parentID",o.parentID,ze,De)}},t.applyWebContext=function(t,e){var r=i.web;r&&Ei(Si(t,zm),"web",r)},t[gm]=function(e,r){var o=t.user;if(o){Ei(Si(e,qm,[]),Ab.userAccountId,o[wm],ze);var n=Si(Si(e,zm),Cb);Ei(n,"id",o.id,ze),Ei(n,"authId",o[Tm],ze)}},t.cleanUp=function(t,e){var r=t.ext;r&&(Hm(r,Eb),Hm(r,Cb),Hm(r,"web"),Hm(r,"os"),Hm(r,"app"),Hm(r,Sb))}}))}return t.__ieDyn=1,t}(),Wm=null,Km=lo(((Fm={})[wm]=Wm,Fm.sessionRenewalMs=18e5,Fm.samplingPercentage=100,Fm.sessionExpirationMs=864e5,Fm.cookieDomain=Wm,Fm.sdkExtension=Wm,Fm.isBrowserLinkTrackingEnabled=!1,Fm.appId=Wm,Fm[_m]=Wm,Fm[xm]=Bm,Fm.sessionCookiePostfix=Bm,Fm[km]=Bm,Fm[Cm]=22,Fm[Em]=Wm,Fm));const Xm=function(t){function e(){var r,o,n,i,s,a=t.call(this)||this;return a.priority=110,a.identifier=Dl,no(e,a,(function(t,e){function a(){r=null,o=null,n=null,i=null,s=!0}a(),or(t,"context",{g:function(){return i}}),t.initialize=function(a,l,c,u){e.initialize(a,l,c,u),function(e){var a=t.identifier,l=t.core;t._addHook(_a(e,(function(){var o=Rd(null,e,l);e.storagePrefix&&Ol(e.storagePrefix),s=!1!==e.disableUserInitMessage,r=o.getExtCfg(a,Km),t._extConfig=r}))),n=l[um](!1),i=new Vm(l,r,n,t._unloadHooks),o=iu(t.context[dm],n),l.setTraceCtx(o),t.context.appId=function(){var t=l.getPlugin(Nl);return t?t.plugin._appId:null}}(a)},t.processTelemetry=function(e,r){if(!De(e)){r=t._getTelCtx(r),e.name===hc.envelopeType&&r.diagLog().resetInternalMessageCount();var o=i||{};o.session&&"string"!=typeof i.session.id&&o[sm]&&o[sm][am]();var n=o.user;if(n&&!n[lm]&&n[am](o.user.id),function(e,r){Si(e,"tags",[]),Si(e,"ext",{});var o=t.context;o[pm](e,r),o[fm](e,r),o[bm](e,r),o[hm](e,r),o[gm](e,r),o[vm](e,r),o.applyWebContext(e,r),o[mm](e,r),o[ym](e,r),o.cleanUp(e,r)}(e,r),n&&n[cm]&&(n[cm]=!1,!s)){var a=new Pa(72,(vr()||{}).userAgent||"");!function(t,e,r){ja(t)[mn](1,r)}(r.diagLog(),0,a)}t.processNext(e,r)}},t._doTeardown=function(t,e){var r=(t||{}).core();r&&r[um]&&r[um](!1)===o&&r.setTraceCtx(n),a()}})),a}return _o(e,t),e.__ieDyn=1,e}(Zd);var Gm,Jm,Qm,Ym,Zm="AuthenticatedUserContext",ty="track",ey="snippet",ry="flush",oy="pollInternalLogs",ny="getPlugin",iy="evtNamespace",sy=ty+"Event",ay=ty+"Trace",ly=ty+"Metric",cy=ty+"PageView",uy=ty+"Exception",dy=ty+"DependencyData",py="set"+Zm,fy="clear"+Zm,by="version",hy="queue",gy="connectionString",vy="endpointUrl",my="userOverrideEndpointUrl",yy="instrumentationKey",wy="onunloadFlush",_y="context",xy="addHousekeepingBeforeUnload",ky="sendMessage",Cy=[ey,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"],Ey="iKeyUsage",Sy="CdnUsage",Ay="SdkLoaderVer",Ty=void 0,$y={disabled:!0,limit:cu({samplingRate:100,maxSendNumber:1}),interval:cu({monthInterval:3,daysOfMonth:[28]})},Oy=((Gm={})[gy]=Ty,Gm[vy]=Ty,Gm[yy]=Ty,Gm[my]=Ty,Gm.diagnosticLogInterval=du((function(t){return t&&t>0}),1e4),Gm.featureOptIn=((Jm={})[Ey]={mode:2},Jm[Sy]={mode:2},Jm[Ay]={mode:2},Jm),Gm.throttleMgrCfg=cu(((Qm={})[109]=cu($y),Qm[106]=cu($y),Qm[111]=cu($y),Qm[110]=cu($y),Qm)),Gm),Iy=function(){function t(e){var r,o,n,i,s,a,l,c,u,d,p,f,b,h,g=this;no(t,this,(function(t){m(),or(t,"config",{g:function(){return c}}),Vn(["pluginVersionStringArr","pluginVersionString"],(function(e){or(t,e,{g:function(){return l?l[e]:null}})})),i=""+(e.sv||e[by]||""),e[hy]=e[hy]||[],e[by]=e[by]||2;var v=wa(e.config||{},Oy);function m(){s=ks("AISKU"),a=null,r=null,o=null,n=null,i=null,p=null,f=!1,b=!1,h=!1,d=new Lf}function y(){var t;a&&(bd([Yu,Qu,Ju],null,a),t=ud(Zu,a),bd([Ju],null,t),bd([Gu],null,t))}function w(t){l.addUnloadHook(t)}c=v.cfg,u=new nf,or(t,"appInsights",{g:function(){return u}}),o=new Xm,r=new em,n=new rg,l=new yg,or(t,"core",{g:function(){return l}}),w(_a(v,(function(){if(c[gy]){var t=function(t){if(!t)return{};var e=t[Ha](";"),r=og(e,(function(t,e){var r=e[Ha]("=");if(2===r[Ua]){var o=r[0][Fa](),n=r[1];t[o]=n}return t}),{});if(ao(r)[Ua]>0){if(r.endpointsuffix){var o=r.location?r.location+".":"";r[Ba]=r[Ba]||"https://"+o+"dc."+r.endpointsuffix}r[Ba]=r[Ba]||Bl,hu(r[Ba],"/")&&(r[Ba]=r[Ba].slice(0,-1))}return r}(c[gy]),e=t.ingestionendpoint;c[vy]=c[my]?c[my]:e+Vl,c[yy]=t.instrumentationkey||c[yy]}c[vy]=c[my]?c[my]:c[vy]}))),t[ey]=e,t[ry]=function(t,e){var r;return void 0===t&&(t=!0),xd(l,(function(){return"AISKU.flush"}),(function(){t&&!e&&(r=rb((function(t){e=t})));var o=1,n=function(){0==--o&&e()};Vn(l.getChannels(),(function(e){e&&(o++,e[ry](t,n))})),n()}),null,t),r},t[wy]=function(t){void 0===t&&(t=!0),Vn(l.getChannels(),(function(e){e[wy]?e[wy]():e[ry](t)}))},t.loadAppInsights=function(e,s,a){return void 0===e&&(e=!1),e&&function(t){throw sa||(sa=ga("UnsupportedError")),new sa("Legacy Mode is no longer supported")}(),xd(t.core,(function(){return"AISKU.loadAppInsights"}),(function(){l.initialize(c,[n,o,r,u,d],s,a),or(t,"context",{g:function(){return o[_y]}}),p||(p=new ng(l));var e=function(){if(Ym)return Ym;var t=null;try{var e=(document||{}).currentScript;e&&(t=e.src)}catch(t){}if(t){try{var r=t.toLowerCase();if(r){var o="";Vn(["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"],(function(t,e){if(-1!==Bn(r,t))return o="cdn"+(e+1),-1===Bn(r,"/scripts/")&&(-1!==Bn(r,"/next/")?o+="-next":-1!==Bn(r,"/beta/")&&(o+="-beta")),Ym=o+"",-1}))}}catch(t){}Ym=t}return Ym}();e&&t[_y]&&(t[_y].internal.sdkSrc=e),function(e){if(e){var r="";De(i)||(r+=i),t[_y]&&t[_y].internal&&(t[_y].internal.snippetVer=r||"-"),Ye(t,(function(t,r){ze(t)&&!qe(r)&&t&&"_"!==t[0]&&-1===$s(Cy,t)&&e[t]!==r&&(e[t]=r)}))}}(t[ey]),t.emptyQueue(),t[oy](),t[xy](t),w(_a(v,(function(){var e=!1;c.throttleMgrCfg[109]&&(e=!c.throttleMgrCfg[109].disabled),!p.isReady()&&c.extensionConfig&&c.extensionConfig[d.identifier]&&e&&p.onReadyState(!0),f||c[gy]||!Ri(Ey,c)||(p[ky](106,"See Instrumentation key support at aka.ms/IkeyMigrate"),f=!0),!b&&t[_y].internal.sdkSrc&&-1!=t[_y].internal.sdkSrc.indexOf("az416426")&&Ri(Sy,c)&&(p[ky](110,"See Cdn support notice at aka.ms/JsActiveCdn"),b=!0),!h&&parseInt(i)<6&&Ri(Ay,c)&&(p[ky](111,"An updated Sdk Loader is available, see aka.ms/SnippetVer"),h=!0)})))})),t},t.updateSnippetDefinitions=function(e){!function(t,e,r){if(t&&e&&He(t)&&He(e)){var o=function(o){if(ze(o)){var n=e[o];qe(n)?r&&!r(o)||(t[o]=Ai(e,o)):r&&!r(o)||(Qe(t,o)&&delete t[o],or(t,o,{g:function(){return e[o]},s:function(t){e[o]=t}}))}};for(var n in e)o(n)}}(e,t,(function(t){return t&&-1===$s(Cy,t)}))},t.emptyQueue=function(){try{if(Ue(t.snippet[hy])){for(var e=t.snippet[hy].length,r=0;r<e;r++)(0,t.snippet[hy][r])();t.snippet[hy]=void 0,delete t.snippet[hy]}}catch(t){t&&qe(t.toString)&&t.toString()}},t[xy]=function(e){if(hr()||fr()){var r=function(){if(e[wy](!1),qe(t.core[ny])){var r=g.core[ny](Dl);if(r){var o=r.plugin;o&&o[_y]&&o[_y]._sessionManager&&o[_y]._sessionManager.backup()}}},o=!1;a||(a=ud(s,l[iy]&&l[iy]())),w(_a(c,(function(t){var n=t.cfg,i=e.appInsights,s=Rd(null,n,i.core).getExtCfg(i.identifier||zl);y();var c,u=n.disablePageUnloadEvents;s.disableFlushOnBeforeUnload||(function(t,e,r,o){var n=!1;return e&&t&&Ue(t)&&!(n=fd(t,e,r,o))&&r&&r[Eo]>0&&(n=fd(t,e,null,o)),n}([Yu,Qu,Ju],r,u,a)&&(o=!0),hd(r,u,a)&&(o=!0),o||(c=vr())&&c.product&&"ReactNative"===c.product||Da(l.logger,1,19,"Could not add handler for beforeunload and pagehide")),o||s.disableFlushOnUnload||hd(r,u,a)})))}},t.getSender=function(){return n},t.unload=function(e,r,o){var n,i=!1;return e&&!r&&(n=rb((function(t){r=t}))),t[wy](e),y(),l.unload&&l.unload(e,(function(t){i||(i=!0,m(),r&&r(t))}),o),n},$i(t,u,["getCookieMgr",sy,cy,"trackPageViewPerformance",uy,"_onerror",ay,ly,"startTrackPage","stopTrackPage","startTrackEvent","stopTrackEvent"]),$i(t,(function(){return r}),[dy,"addDependencyListener","addDependencyInitializer"]),$i(t,l,["addTelemetryInitializer",oy,"stopPollingInternalLogs",ny,"addPlugin",iy,"addUnloadCb","getTraceCtx","updateCfg","onCfgChange"]),$i(t,(function(){var t=o[_y];return t?t.user:null}),[py,fy])}))}return t.prototype.addDependencyInitializer=function(t){return null},t}();class Ry{constructor(){this.config={},this.trackPageView=!1}}const Py="AppInsightsConfigurationToken";let Ly=class{constructor(t){this.config=t,t.config?.connectionString||t.config?.instrumentationKey?(this.instance=new Iy(t),this.instance.loadAppInsights(),t.trackPageView&&this.instance.trackPageView()):console.warn("AppInsightsLogger configuraiton has no connectionString or instrumentaitonKey."),this.config=t}logTrace(t,...e){this.instance?.trackTrace({message:this.formatMessage(t,e),severityLevel:0})}logDebug(t,...e){this.instance?.trackTrace({message:this.formatMessage(t,e),severityLevel:1})}logInformation(t,...e){this.instance?.trackTrace({message:this.formatMessage(t,e),severityLevel:2})}logWarning(t,...e){this.instance?.trackTrace({message:this.formatMessage(t,e),severityLevel:3})}logError(t,e,...r){this.instance?.trackException({exception:e??new Error(this.formatMessage(t,r))})}logCritical(t,e,...r){this.instance?.trackException({exception:e??new Error(this.formatMessage(t,r)),properties:{severity:"critical"}})}log(t,e,r,...o){r?this.instance?.trackException({exception:r,properties:{message:this.formatMessage(e,o)}}):this.instance?.trackTrace({message:this.formatMessage(e,o),severityLevel:t})}formatMessage(t,e){return e.length>0?`${t}, ${e.join(", ")}`:t}};var My;Ly=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}([T(),function(t,e){return function(r,o){e(r,o,t)}}(0,(My=Py,A(My))),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Ry])],Ly),I.container.registerSingleton(Ly),I.container.register(Yt,{useToken:Ly}),I.container.register(Py,{useFactory:function(){return I.container.resolve(P).getSection("ApplicationInsights").bind(Ry)}});var jy=function(t,e){return function(r,o){e(r,o,t)}};let Dy=class{constructor(t,e){this.loggers=t,this.readers=e,this.logTrace(`LoggingService.constructor loaded with ${t.length} loggers and ${e.length} readers.`)}logTrace(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITING_LOG,{detail:{logLevel:Zt.Trace,message:t,...e},bubbles:!0,cancelable:!0,composed:!0}));for(const r of this.loggers)r.logTrace(t,...e)}logDebug(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITING_LOG,{detail:{logLevel:Zt.Debug,message:t,...e},bubbles:!0,cancelable:!0,composed:!0}));for(const r of this.loggers)r.logDebug(t,...e)}logInformation(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITING_LOG,{detail:{logLevel:Zt.Information,message:t,...e},bubbles:!0,cancelable:!0,composed:!0}));for(const r of this.loggers)r.logInformation(t,...e)}logWarning(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITING_LOG,{detail:{logLevel:Zt.Warning,message:t,...e},bubbles:!0,cancelable:!0,composed:!0}));for(const r of this.loggers)r.logWarning(t,...e)}logError(t,e,...r){window.dispatchEvent(new CustomEvent(Gy.WRITING_LOG,{detail:{logLevel:Zt.Error,message:t,error:e,...r},bubbles:!0,cancelable:!0,composed:!0}));for(const o of this.loggers)o.logError(t,e,...r)}logCritical(t,e,...r){window.dispatchEvent(new CustomEvent(Gy.WRITING_LOG,{detail:{logLevel:Zt.Critical,message:t,error:e,...r},bubbles:!0,cancelable:!0,composed:!0}));for(const o of this.loggers)o.logCritical(t,e,...r)}log(t,e,r,...o){window.dispatchEvent(new CustomEvent(Gy.WRITING_LOG,{detail:{logLevel:t,message:e,error:r,...o},bubbles:!0,cancelable:!0,composed:!0}));for(const n of this.loggers)n.log(t,e,r,...o)}getLogs(){return this.readers.reduce(((t,e)=>{const r=e.getLogs();return t.concat(r)}),[])}clearLogs(){this.readers.forEach((t=>t.clearLogs()))}};Dy=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}([T(),jy(0,$(Yt)),jy(1,$(ee)),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array,Array])],Dy),I.container.register(te,{useClass:Dy},{lifecycle:n.Singleton});const Ny=W`
|
|
25
|
+
:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33,37,41,.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33,37,41,.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0,0,0,.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0,0,0,.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0,0,0,.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0,0,0,.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13,110,253,.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}.h5,h5{color:var(--bs-heading-color);font-size:1.25rem;font-weight:500;line-height:1.2;margin-bottom:.5rem;margin-top:0}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}svg{vertical-align:middle}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button{font-family:inherit;font-size:inherit;line-height:inherit;margin:0;text-transform:none}[role=button]{cursor:pointer}[type=button],button{-webkit-appearance:button}[type=button]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{border-style:none;padding:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{-webkit-appearance:button;font:inherit}[hidden]{display:none!important}.container{--bs-gutter-x:1.5rem;--bs-gutter-y:0;margin-left:auto;margin-right:auto;padding-left:calc(var(--bs-gutter-x)*.5);padding-right:calc(var(--bs-gutter-x)*.5);width:100%}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}@media (min-width:1400px){.container{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-left:calc(var(--bs-gutter-x)*-.5);margin-right:calc(var(--bs-gutter-x)*-.5);margin-top:calc(var(--bs-gutter-y)*-1)}.row>*{flex-shrink:0;margin-top:var(--bs-gutter-y);max-width:100%;padding-left:calc(var(--bs-gutter-x)*.5);padding-right:calc(var(--bs-gutter-x)*.5);width:100%}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{filter:none;opacity:.65;pointer-events:none}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.15),0 1px 1px rgba(0,0,0,.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb),.5);background-color:var(--bs-btn-bg);border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);color:var(--bs-btn-color);cursor:pointer;display:inline-block;font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);text-align:center;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;user-select:none;vertical-align:middle}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);color:var(--bs-btn-hover-color)}.btn-check+.btn:hover{background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color);color:var(--bs-btn-color)}.btn:focus-visible{background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);box-shadow:var(--bs-btn-focus-box-shadow);color:var(--bs-btn-hover-color);outline:0}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);box-shadow:var(--bs-btn-focus-box-shadow);outline:0}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color);color:var(--bs-btn-active-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled{background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);color:var(--bs-btn-disabled-color);opacity:var(--bs-btn-disabled-opacity);pointer-events:none}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0,0,0,.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.list-group,.log-list{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;border-radius:var(--bs-list-group-border-radius);display:flex;flex-direction:column;margin-bottom:0;padding-left:0}.list-group-numbered{counter-reset:section;list-style-type:none}.list-group-numbered>.list-group-item:before,.list-group-numbered>.log-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{color:var(--bs-list-group-action-color);text-align:inherit;width:100%}.list-group-item-action:focus,.list-group-item-action:hover{background-color:var(--bs-list-group-action-hover-bg);color:var(--bs-list-group-action-hover-color);text-decoration:none;z-index:1}.list-group-item-action:active{background-color:var(--bs-list-group-action-active-bg);color:var(--bs-list-group-action-active-color)}.list-group-item,.log-item{background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);color:var(--bs-list-group-color);display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);position:relative;text-decoration:none}.list-group-item:first-child,.log-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child,.log-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.disabled.log-item,.list-group-item.disabled,.list-group-item:disabled,.log-item:disabled{background-color:var(--bs-list-group-disabled-bg);color:var(--bs-list-group-disabled-color);pointer-events:none}.active.log-item,.list-group-item.active{background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color);color:var(--bs-list-group-active-color);z-index:2}.list-group-item+.list-group-item,.list-group-item+.log-item,.log-item+.list-group-item,.log-item+.log-item{border-top-width:0}.list-group-item+.active.log-item,.list-group-item+.list-group-item.active,.log-item+.active.log-item,.log-item+.list-group-item.active{border-top-width:var(--bs-list-group-border-width);margin-top:calc(var(--bs-list-group-border-width)*-1)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child),.list-group-horizontal>.log-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child),.list-group-horizontal>.log-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-right-radius:var(--bs-list-group-border-radius)}.list-group-horizontal>.active.log-item,.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item,.list-group-horizontal>.list-group-item+.log-item,.list-group-horizontal>.log-item+.list-group-item,.list-group-horizontal>.log-item+.log-item{border-left-width:0;border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal>.list-group-item+.active.log-item,.list-group-horizontal>.list-group-item+.list-group-item.active,.list-group-horizontal>.log-item+.active.log-item,.list-group-horizontal>.log-item+.list-group-item.active{border-left-width:var(--bs-list-group-border-width);margin-left:calc(var(--bs-list-group-border-width)*-1)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child),.list-group-horizontal-sm>.log-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child),.list-group-horizontal-sm>.log-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-right-radius:var(--bs-list-group-border-radius)}.list-group-horizontal-sm>.active.log-item,.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item,.list-group-horizontal-sm>.list-group-item+.log-item,.list-group-horizontal-sm>.log-item+.list-group-item,.list-group-horizontal-sm>.log-item+.log-item{border-left-width:0;border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal-sm>.list-group-item+.active.log-item,.list-group-horizontal-sm>.list-group-item+.list-group-item.active,.list-group-horizontal-sm>.log-item+.active.log-item,.list-group-horizontal-sm>.log-item+.list-group-item.active{border-left-width:var(--bs-list-group-border-width);margin-left:calc(var(--bs-list-group-border-width)*-1)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child),.list-group-horizontal-md>.log-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child),.list-group-horizontal-md>.log-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-right-radius:var(--bs-list-group-border-radius)}.list-group-horizontal-md>.active.log-item,.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item,.list-group-horizontal-md>.list-group-item+.log-item,.list-group-horizontal-md>.log-item+.list-group-item,.list-group-horizontal-md>.log-item+.log-item{border-left-width:0;border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal-md>.list-group-item+.active.log-item,.list-group-horizontal-md>.list-group-item+.list-group-item.active,.list-group-horizontal-md>.log-item+.active.log-item,.list-group-horizontal-md>.log-item+.list-group-item.active{border-left-width:var(--bs-list-group-border-width);margin-left:calc(var(--bs-list-group-border-width)*-1)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child),.list-group-horizontal-lg>.log-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child),.list-group-horizontal-lg>.log-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-right-radius:var(--bs-list-group-border-radius)}.list-group-horizontal-lg>.active.log-item,.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item,.list-group-horizontal-lg>.list-group-item+.log-item,.list-group-horizontal-lg>.log-item+.list-group-item,.list-group-horizontal-lg>.log-item+.log-item{border-left-width:0;border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal-lg>.list-group-item+.active.log-item,.list-group-horizontal-lg>.list-group-item+.list-group-item.active,.list-group-horizontal-lg>.log-item+.active.log-item,.list-group-horizontal-lg>.log-item+.list-group-item.active{border-left-width:var(--bs-list-group-border-width);margin-left:calc(var(--bs-list-group-border-width)*-1)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child),.list-group-horizontal-xl>.log-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child),.list-group-horizontal-xl>.log-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-right-radius:var(--bs-list-group-border-radius)}.list-group-horizontal-xl>.active.log-item,.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item,.list-group-horizontal-xl>.list-group-item+.log-item,.list-group-horizontal-xl>.log-item+.list-group-item,.list-group-horizontal-xl>.log-item+.log-item{border-left-width:0;border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal-xl>.list-group-item+.active.log-item,.list-group-horizontal-xl>.list-group-item+.list-group-item.active,.list-group-horizontal-xl>.log-item+.active.log-item,.list-group-horizontal-xl>.log-item+.list-group-item.active{border-left-width:var(--bs-list-group-border-width);margin-left:calc(var(--bs-list-group-border-width)*-1)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child),.list-group-horizontal-xxl>.log-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child),.list-group-horizontal-xxl>.log-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-right-radius:var(--bs-list-group-border-radius)}.list-group-horizontal-xxl>.active.log-item,.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item,.list-group-horizontal-xxl>.list-group-item+.log-item,.list-group-horizontal-xxl>.log-item+.list-group-item,.list-group-horizontal-xxl>.log-item+.log-item{border-left-width:0;border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal-xxl>.list-group-item+.active.log-item,.list-group-horizontal-xxl>.list-group-item+.list-group-item.active,.list-group-horizontal-xxl>.log-item+.active.log-item,.list-group-horizontal-xxl>.log-item+.list-group-item.active{border-left-width:var(--bs-list-group-border-width);margin-left:calc(var(--bs-list-group-border-width)*-1)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item,.list-group-flush>.log-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child,.list-group-flush>.log-item:last-child{border-bottom-width:0}.list-group-item-primary,.log-item.debug{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary,.log-item.trace{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning,.log-item.warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger,.log-item.critial,.log-item.error{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light,.log-item.info{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3E%3C/svg%3E");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13,110,253,.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;box-sizing:content-box;height:1em;opacity:var(--bs-btn-close-opacity);padding:.25em;width:1em}.btn-close,.btn-close:hover{color:var(--bs-btn-close-color)}.btn-close:hover{opacity:var(--bs-btn-close-hover-opacity);text-decoration:none}.btn-close:focus{box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity);outline:0}.btn-close.disabled,.btn-close:disabled{opacity:var(--bs-btn-close-disabled-opacity);pointer-events:none;user-select:none}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);display:none;height:100%;left:0;outline:0;overflow-x:hidden;overflow-y:auto;position:fixed;top:0;width:100%;z-index:var(--bs-modal-zindex)}.modal-dialog{margin:var(--bs-modal-margin);pointer-events:none;position:relative;width:auto}.modal.show .modal-dialog{transform:none}.modal-content{background-clip:padding-box;background-color:var(--bs-modal-bg);border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);color:var(--bs-modal-color);display:flex;flex-direction:column;outline:0;pointer-events:auto;position:relative;width:100%}.modal-header{align-items:center;border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius);display:flex;flex-shrink:0;padding:var(--bs-modal-header-padding)}.modal-header .btn-close{margin:calc(var(--bs-modal-header-padding-y)*-.5) calc(var(--bs-modal-header-padding-x)*-.5) calc(var(--bs-modal-header-padding-y)*-.5) auto;padding:calc(var(--bs-modal-header-padding-y)*.5) calc(var(--bs-modal-header-padding-x)*.5)}.modal-title{line-height:var(--bs-modal-title-line-height);margin-bottom:0}.modal-body{flex:1 1 auto;padding:var(--bs-modal-padding);position:relative}.modal-footer{align-items:center;background-color:var(--bs-modal-footer-bg);border-bottom-left-radius:var(--bs-modal-inner-border-radius);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap)*.5)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap)*.5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{margin-left:auto;margin-right:auto;max-width:var(--bs-modal-width)}}@media (min-width:992px){.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.spinner-border,.spinner-grow{animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);border-radius:50%;display:inline-block;height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);width:var(--bs-spinner-width)}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border-right-color:currentcolor;border:var(--bs-spinner-border-width) solid;border-right:var(--bs-spinner-border-width) solid transparent}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{animation:placeholder-wave 2s linear infinite;mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-size:200% 100%}@keyframes placeholder-wave{to{mask-position:-200% 0}}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.flex-wrap{flex-wrap:wrap!important}.modal.show{display:block}
|
|
26
|
+
/*# sourceMappingURL=qbo4.logging.min.css.map*/
|
|
27
|
+
`,zy=W`
|
|
28
|
+
:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h5,h1,h5{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h5,h5{font-size:1.25rem}p{margin-top:0;margin-bottom:1rem}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}b{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code{font-family:var(--bs-font-monospace);font-size:1em}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}th{text-align:inherit;text-align:-webkit-match-parent}td,th,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.container{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}@media (min-width:1400px){.container{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}input{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){input{transition:none}}input[type=file]{overflow:hidden}input[type=file]:not(:disabled):not([readonly]){cursor:pointer}input:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}input::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}input::-webkit-datetime-edit{display:block;padding:0}input::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}input::placeholder{color:var(--bs-secondary-color);opacity:1}input:disabled{background-color:var(--bs-secondary-bg);opacity:1}input::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){input::file-selector-button{transition:none}}input:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.show .modal-dialog{transform:none}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}}@media (min-width:992px){.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.shadow{box-shadow:var(--bs-box-shadow)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.flex-wrap{flex-wrap:wrap!important}.rounded{border-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}
|
|
29
|
+
`,qy=W`
|
|
30
|
+
:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h5,h1,h5{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h5,h5{font-size:1.25rem}p{margin-top:0;margin-bottom:1rem}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}b{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code{font-family:var(--bs-font-monospace);font-size:1em}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}td,th,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.container{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}@media (min-width:1400px){.container{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn,.qbo-modal>div>div>div:nth-of-type(3) .btn-check:disabled+.btn-secondary,.qbo-modal>div>div>div:nth-of-type(3) .btn-check[disabled]+.btn-secondary{pointer-events:none;filter:none;opacity:.65}.btn,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary{transition:none}}.btn:hover,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover,.qbo-modal>div>div>div:nth-of-type(3) .btn-check+.btn-secondary:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn,.qbo-modal>div>div>div:nth-of-type(3) .btn-check:focus-visible+.btn-secondary{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,.qbo-modal>div>div>div:nth-of-type(3) .active.btn-secondary,.qbo-modal>div>div>div:nth-of-type(3) .btn-check:checked+.btn-secondary,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary:first-child:active,.qbo-modal>div>div>div:nth-of-type(3) .show.btn-secondary,.qbo-modal>div>div>div:nth-of-type(3) :not(.btn-check)+.btn-secondary:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,.qbo-modal>div>div>div:nth-of-type(3) .active.btn-secondary:focus-visible,.qbo-modal>div>div>div:nth-of-type(3) .btn-check:checked+.btn-secondary:focus-visible,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary:first-child:active:focus-visible,.qbo-modal>div>div>div:nth-of-type(3) .show.btn-secondary:focus-visible,.qbo-modal>div>div>div:nth-of-type(3) :not(.btn-check)+.btn-secondary:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn,.qbo-modal>div>div>div:nth-of-type(3) .btn-check:checked:focus-visible+.btn-secondary{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary:disabled,.qbo-modal>div>div>div:nth-of-type(3) .disabled.btn-secondary{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-secondary,.qbo-modal>div>div>div:nth-of-type(3) .btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.collapse:not(.show){display:none}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close,.qbo-modal>div>div>div:first-of-type button{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover,.qbo-modal>div>div>div:first-of-type button:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus,.qbo-modal>div>div>div:first-of-type button:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled,.qbo-modal>div>div>div:first-of-type button.disabled,.qbo-modal>div>div>div:first-of-type button:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog,.qbo-modal>div{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.show .modal-dialog,.modal.show .qbo-modal>div{transform:none}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content,.modal-dialog-scrollable .qbo-modal>div>div{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body,.modal-dialog-scrollable .qbo-modal>div>div>div:nth-of-type(2){overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content,.qbo-modal>div>div{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-header,.qbo-modal>div>div>div:first-of-type{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close,.qbo-modal>div>div>div:first-of-type .btn-close,.qbo-modal>div>div>div:first-of-type button{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title,.qbo-modal>div>div>div:first-of-type .h5,.qbo-modal>div>div>div:first-of-type h5{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body,.qbo-modal>div>div>div:nth-of-type(2){position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer,.qbo-modal>div>div>div:nth-of-type(3){display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*,.qbo-modal>div>div>div:nth-of-type(3)>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog,.qbo-modal>div{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}}@media (min-width:992px){.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before,.qbo-modal>div>div>div:nth-of-type(3) .placeholder.btn-secondary::before{display:inline-block;content:""}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.shadow{box-shadow:var(--bs-box-shadow)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.flex-wrap{flex-wrap:wrap!important}.justify-content-between{justify-content:space-between!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}
|
|
31
|
+
`;var Hy,Uy=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Fy=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let By=class extends Wt{static{Hy=this}static{this.styles=[Ny,zy]}static{this.logLevelNames=Object.keys(Zt).filter((t=>isNaN(Number(t)))).map((t=>t.toLowerCase()))}constructor(){super(),this.debug=!1,this.info=!1,this.warning=!1,this.error=!0,this.critial=!0,this.window=!1,this.logs=[],this.logCounts={[Zt.Trace]:0,[Zt.Debug]:0,[Zt.Information]:0,[Zt.Warning]:0,[Zt.Error]:0,[Zt.Critical]:0},this.showModal=!1,this.logWindowError=t=>{this.loggerService?.logError(`Caught an error: ${t.message}`,t.error,Array.isArray(t.detail)?t.detail:[t.detail])},this.logRejection=t=>{this.loggerService?.logWarning(`Unhandled promist rejection: ${t.reason}`,Array.isArray(t.detail)?t.detail:[t.detail])},this.addLog=t=>{const e=this.toLog(t);this.loggerService?.log(e.logLevel,e.message,e.error,e.args),this.logs.push(e),this.logCounts.hasOwnProperty(e.logLevel)?this.logCounts[e.logLevel]++:this.logCounts[e.logLevel]=1,this.requestUpdate("logs",[...this.logs]),this.renderLogCounts()},this.loggerService=null,this.addEventListener("click",(t=>{this.showModal||(t.preventDefault(),t.stopPropagation(),this.showLogs())}))}showLogs(){this.showModal=!0}hideLogs(){this.showModal=!1}toLog(t){var e=Array.isArray(t.detail)?t.detail:[t.detail];return{logLevel:t.detail?.logLevel??Zt.Information,message:t.detail?.message??`${t.type} raised from ${t.target}`,error:t.detail?.error??null,args:e}}async connectedCallback(){super.connectedCallback(),this.loggerService=I.getService(te),this.logs=this.loggerService.getLogs(),window.addEventListener(Gy.WRITE_LOG,this.addLog),this.window&&(window.addEventListener("error",this.logWindowError),window.addEventListener("unhandledrejection",this.logRejection))}async disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Gy.WRITE_LOG,this.addLog),window.removeEventListener("error",this.logWindowError),window.removeEventListener("unhandledrejection",this.logRejection)}renderLogCounts(){this.querySelectorAll("[data-loglevel]").forEach((t=>{const e=Jy(Zt,t.getAttribute("data-loglevel"));void 0!==this.logCounts[e]&&(t.textContent=`${this.logCounts[e]}`)}));const t=this.querySelector("[data-loglevel=total]");null!==t&&(t.textContent=`${Object.values(this.logCounts).reduce(((t,e)=>t+e),0)}`)}render(){return $t`<slot></slot>
|
|
32
|
+
${this.showModal?$t`
|
|
33
|
+
<div class="modal show" @click="${this.hideLogs}">
|
|
34
|
+
<div class="modal-dialog modal-xl" role="document" @click="${t=>t.stopPropagation()}">
|
|
35
|
+
<div class="modal-content">
|
|
36
|
+
<div class="modal-header justify-content-between" >
|
|
37
|
+
<h5 class="modal-title">Error Log</h5>
|
|
38
|
+
<qbo-find selector=".log-item" selectorRoot="div.modal" class="mx-auto"></qbo-find>
|
|
39
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" @click="${this.hideLogs}"></button>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="modal-body">
|
|
42
|
+
<div class="log-list">
|
|
43
|
+
${this.logs.filter((t=>null!==t)).map((t=>$t`<div class="log-item ${Hy.logLevelNames[t.logLevel]}">${t.message}</div>`))}
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="modal-footer">
|
|
47
|
+
<button type="button" class="btn btn-secondary" @click="${this.hideLogs}">Close</button>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>`:""}
|
|
52
|
+
`}};var Vy;Uy([Jt({type:Boolean}),Fy("design:type",Object)],By.prototype,"debug",void 0),Uy([Jt({type:Boolean}),Fy("design:type",Object)],By.prototype,"info",void 0),Uy([Jt({type:Boolean}),Fy("design:type",Object)],By.prototype,"warning",void 0),Uy([Jt({type:Boolean}),Fy("design:type",Object)],By.prototype,"error",void 0),Uy([Jt({type:Boolean}),Fy("design:type",Object)],By.prototype,"critial",void 0),Uy([Jt({type:Boolean}),Fy("design:type",Object)],By.prototype,"window",void 0),Uy([Jt({type:Array}),Fy("design:type",Array)],By.prototype,"logs",void 0),Uy([Jt({type:Object}),Fy("design:type",Object)],By.prototype,"logCounts",void 0),Uy([Jt({type:Boolean}),Fy("design:type",Object)],By.prototype,"showModal",void 0),By=Hy=Uy([(Vy="qbo-logging",(t,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(Vy,t)})):customElements.define(Vy,t)}),Fy("design:paramtypes",[])],By);var Wy=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ky=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};class Xy extends Wt{constructor(){super(...arguments),this.selector="",this.cssClass="",this.selectorRoot=""}static{this.styles=[zy]}render(){return $t`<slot>
|
|
53
|
+
<input type="text" @input="${this.handleInput}" placeholder="Filter ...">
|
|
54
|
+
</slot>
|
|
55
|
+
`}connectedCallback(){super.connectedCallback(),this.root=this.getRoot()}getRoot(){if(this.selectorRoot){return this.closest(this.selectorRoot)||document}return document}handleInput(t){const e=t.target.value.toLowerCase(),r=this.root?.querySelectorAll(this.selector);null!=r&&r.forEach((t=>{(t.textContent?.toLowerCase()||"").includes(e)?this.cssClass?t.classList.remove(this.cssClass):t instanceof HTMLElement&&(t.style.display=""):this.cssClass?t.classList.add(this.cssClass):t instanceof HTMLElement&&(t.style.display="none")}))}}Wy([Jt({type:String}),Ky("design:type",Object)],Xy.prototype,"selector",void 0),Wy([Jt({type:String}),Ky("design:type",Object)],Xy.prototype,"cssClass",void 0),Wy([Jt({type:String}),Ky("design:type",Object)],Xy.prototype,"selectorRoot",void 0),customElements.define("qbo-find",Xy);const Gy={WRITE_LOG:"qbo-log",WRITING_LOG:"qbo-log-write"};function Jy(t,e){const r=Object.keys(t).filter((t=>isNaN(Number(t)))),o=r.find((t=>t.toLowerCase()===e.toLowerCase()));return void 0!==o?t[o]:void 0}function Qy(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITE_LOG,{detail:{logLevel:Zt.Trace,message:t,...e}})),console.log(t,...e)}function Yy(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITE_LOG,{detail:{logLevel:Zt.Debug,message:t,...e}}))}function Zy(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITE_LOG,{detail:{logLevel:Zt.Information,message:t,...e}}))}function tw(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITE_LOG,{detail:{logLevel:Zt.Warning,message:t,...e}}))}function ew(t,...e){window.dispatchEvent(new CustomEvent(Gy.WRITE_LOG,{detail:{logLevel:Zt.Error,message:t,...e}}))}function rw(t,e,...r){window.dispatchEvent(new CustomEvent(Gy.WRITE_LOG,{detail:{logLevel:Zt.Critical,message:t,error:e,...r}}))}const ow="ApiServiceToken";function nw(t){return I.container.resolve(t)}const iw="ValidateToken";function sw(t,e){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return console.error("Error parsing JSON string:",t),null}if(Array.isArray(t))return t;if("object"==typeof t&&null!==t)for(const r in t){const o=t[r];if(Array.isArray(o))return o;if("object"==typeof o){const t=sw(o,e);if(t)return t}}return null}function aw(t,...e){const r=/\${(.*?)}/g;let o=t;for(let t=0;t<e.length;t++){const n=e[t];o=o.replace(r,((t,e)=>{const r=e.split(/\.|\[|\]/).filter((t=>""!==t));let o=n;for(let e of r){if(void 0===o[e])return t;o=o[e]}return o}))}return o=o.replace(r,(()=>"")),o}function lw(t,e,r,o=!0){if(null!=t&&null!=e){for(;o&&t.firstChild;)t.removeChild(t.firstChild);r.map(((r,o)=>{const n=e.content.cloneNode(!0);null!=n.firstElementChild&&(n.firstElementChild.setAttribute("data-index",`${o}`),n.firstElementChild.innerHTML=aw(n.firstElementChild?.innerHTML??"",r)),t.appendChild(n)}))}}class cw{constructor(t,e={"Content-Type":"application/json"},r=null){this.apiEndpoint=t,this.headers=e,this.method=r}async fetch(t,e=null){const r=aw(new URL(t??"",this.apiEndpoint).href,e),o=this.method??(null!==e?"POST":"GET"),n=new Headers(this.headers||{});null===e||n.has("Content-Type")||n.append("Content-Type","application/json");const i=await fetch(r,{method:o,headers:n,body:"POST"===o&&e?JSON.stringify(e):null});if(!i.ok)throw new Error(`API request failed with status ${i.status}`);return i.json()}}function uw(t,e,r={"Content-Type":"application/json"},o){I.container.registerInstance(t,new cw(e,r,o))}I.container.registerInstance("default",new cw(document.querySelector("base[href]")?.getAttribute("href")||window.location.origin));var dw=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};let pw=class{constructor(){this.message="Zip code is invalid",this.selector=".zipcode"}validate(t){return Promise.resolve(!0)}};pw=dw([T()],pw),I.container.register(iw,{useClass:pw});let fw=class{constructor(){this.message="Email is invalid",this.selector=".email"}validate(t){return Promise.resolve(!0)}};fw=dw([T()],fw),I.container.register(iw,{useClass:fw});let bw=class{constructor(){this.message="This value does not appear to exist.",this.selector="[data-exists]"}async validate(t){var e=t.getAttribute("data-exists");if(!e)return!1;var r=t.getAttribute("data-exists-path");const o=I.container.isRegistered(e)?I.container.resolve(e):new cw(e);if(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement){const e=sw(await o.fetch(r,{value:t.value}));return null!=e&&e.length>0}return!1}};bw=dw([T()],bw),I.container.register(iw,{useClass:bw});const hw=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:r,elements:o}=e;return{kind:r,elements:o,finisher(e){customElements.define(t,e)}}})(t,e),gw=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(r){r.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function vw(t){return(e,r)=>void 0!==r?((t,e,r)=>{e.constructor.createProperty(r,t)})(t,e,r):gw(t,e)}var mw;null===(mw=window.HTMLSlotElement)||void 0===mw||mw.prototype.assignedElements;const yw=window,ww=yw.ShadowRoot&&(void 0===yw.ShadyCSS||yw.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_w=Symbol(),xw=new WeakMap;class kw{constructor(t,e,r){if(this._$cssResult$=!0,r!==_w)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(ww&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=xw.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&xw.set(e,t))}return t}toString(){return this.cssText}}const Cw=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>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[o+1]),t[0]);return new kw(r,t,_w)},Ew=ww?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new kw("string"==typeof t?t:t+"",void 0,_w))(e)})(t):t;var Sw;const Aw=window,Tw=Aw.trustedTypes,$w=Tw?Tw.emptyScript:"",Ow=Aw.reactiveElementPolyfillSupport,Iw={toAttribute(t,e){switch(e){case Boolean:t=t?$w: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}},Rw=(t,e)=>e!==t&&(e==e||t==t),Pw={attribute:!0,type:String,converter:Iw,reflect:!1,hasChanged:Rw},Lw="finalized";class Mw extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,r)=>{const o=this._$Ep(r,e);void 0!==o&&(this._$Ev.set(o,r),t.push(o))})),t}static createProperty(t,e=Pw){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,r,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Pw}static finalize(){if(this.hasOwnProperty(Lw))return!1;this[Lw]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of e)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}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(Ew(t))}else void 0!==t&&e.push(Ew(t));return e}static _$Ep(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,r;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{ww?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const r=document.createElement("style"),o=yw.litNonce;void 0!==o&&r.setAttribute("nonce",o),r.textContent=e.cssText,t.appendChild(r)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e,r=Pw){var o;const n=this.constructor._$Ep(t,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==(null===(o=r.converter)||void 0===o?void 0:o.toAttribute)?r.converter:Iw).toAttribute(e,r.type);this._$El=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$El=null}}_$AK(t,e){var r;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:Iw;this._$El=n,this[n]=i.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,r){let o=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||Rw)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(r)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(r)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var jw;Mw[Lw]=!0,Mw.elementProperties=new Map,Mw.elementStyles=[],Mw.shadowRootOptions={mode:"open"},null==Ow||Ow({ReactiveElement:Mw}),(null!==(Sw=Aw.reactiveElementVersions)&&void 0!==Sw?Sw:Aw.reactiveElementVersions=[]).push("1.6.3");const Dw=window,Nw=Dw.trustedTypes,zw=Nw?Nw.createPolicy("lit-html",{createHTML:t=>t}):void 0,qw="$lit$",Hw=`lit$${(Math.random()+"").slice(9)}$`,Uw="?"+Hw,Fw=`<${Uw}>`,Bw=document,Vw=()=>Bw.createComment(""),Ww=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Kw=Array.isArray,Xw="[ \t\n\f\r]",Gw=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jw=/-->/g,Qw=/>/g,Yw=RegExp(`>|${Xw}(?:([^\\s"'>=/]+)(${Xw}*=${Xw}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Zw=/'/g,t_=/"/g,e_=/^(?:script|style|textarea|title)$/i,r_=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),o_=r_(1),n_=(r_(2),Symbol.for("lit-noChange")),i_=Symbol.for("lit-nothing"),s_=new WeakMap,a_=Bw.createTreeWalker(Bw,129,null,!1);function l_(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==zw?zw.createHTML(e):e}class c_{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let n=0,i=0;const s=t.length-1,a=this.parts,[l,c]=((t,e)=>{const r=t.length-1,o=[];let n,i=2===e?"<svg>":"",s=Gw;for(let e=0;e<r;e++){const r=t[e];let a,l,c=-1,u=0;for(;u<r.length&&(s.lastIndex=u,l=s.exec(r),null!==l);)u=s.lastIndex,s===Gw?"!--"===l[1]?s=Jw:void 0!==l[1]?s=Qw:void 0!==l[2]?(e_.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=Yw):void 0!==l[3]&&(s=Yw):s===Yw?">"===l[0]?(s=null!=n?n:Gw,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Yw:'"'===l[3]?t_:Zw):s===t_||s===Zw?s=Yw:s===Jw||s===Qw?s=Gw:(s=Yw,n=void 0);const d=s===Yw&&t[e+1].startsWith("/>")?" ":"";i+=s===Gw?r+Fw:c>=0?(o.push(a),r.slice(0,c)+qw+r.slice(c)+Hw+d):r+Hw+(-2===c?(o.push(void 0),e):d)}return[l_(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]})(t,e);if(this.el=c_.createElement(l,r),a_.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=a_.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(qw)||e.startsWith(Hw)){const r=c[i++];if(t.push(e),void 0!==r){const t=o.getAttribute(r.toLowerCase()+qw).split(Hw),e=/([.?@])?(.*)/.exec(r);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?b_:"?"===e[1]?g_:"@"===e[1]?v_:f_})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(e_.test(o.tagName)){const t=o.textContent.split(Hw),e=t.length-1;if(e>0){o.textContent=Nw?Nw.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],Vw()),a_.nextNode(),a.push({type:2,index:++n});o.append(t[e],Vw())}}}else if(8===o.nodeType)if(o.data===Uw)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(Hw,t+1));)a.push({type:7,index:n}),t+=Hw.length-1}n++}}static createElement(t,e){const r=Bw.createElement("template");return r.innerHTML=t,r}}function u_(t,e,r=t,o){var n,i,s,a;if(e===n_)return e;let l=void 0!==o?null===(n=r._$Co)||void 0===n?void 0:n[o]:r._$Cl;const c=Ww(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,r,o)),void 0!==o?(null!==(s=(a=r)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:r._$Cl=l),void 0!==l&&(e=u_(t,l._$AS(t,e.values),l,o)),e}class d_{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){var e;const{el:{content:r},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:Bw).importNode(r,!0);a_.currentNode=n;let i=a_.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new p_(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new m_(i,this,t)),this._$AV.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(i=a_.nextNode(),s++)}return a_.currentNode=Bw,n}v(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 p_{constructor(t,e,r,o){var n;this.type=2,this._$AH=i_,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=u_(this,t,e),Ww(t)?t===i_||null==t||""===t?(this._$AH!==i_&&this._$AR(),this._$AH=i_):t!==this._$AH&&t!==n_&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Kw(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==i_&&Ww(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bw.createTextNode(t)),this._$AH=t}g(t){var e;const{values:r,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=c_.createElement(l_(o.h,o.h[0]),this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(r);else{const t=new d_(n,this),e=t.u(this.options);t.v(r),this.$(e),this._$AH=t}}_$AC(t){let e=s_.get(t.strings);return void 0===e&&s_.set(t.strings,e=new c_(t)),e}T(t){Kw(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,o=0;for(const n of t)o===e.length?e.push(r=new p_(this.k(Vw()),this.k(Vw()),this,this.options)):r=e[o],r._$AI(n),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class f_{constructor(t,e,r,o,n){this.type=1,this._$AH=i_,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=i_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,r,o){const n=this.strings;let i=!1;if(void 0===n)t=u_(this,t,e,0),i=!Ww(t)||t!==this._$AH&&t!==n_,i&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=u_(this,o[r+s],e,s),a===n_&&(a=this._$AH[s]),i||(i=!Ww(a)||a!==this._$AH[s]),a===i_?t=i_:t!==i_&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}i&&!o&&this.j(t)}j(t){t===i_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class b_ extends f_{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===i_?void 0:t}}const h_=Nw?Nw.emptyScript:"";class g_ extends f_{constructor(){super(...arguments),this.type=4}j(t){t&&t!==i_?this.element.setAttribute(this.name,h_):this.element.removeAttribute(this.name)}}class v_ extends f_{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){var r;if((t=null!==(r=u_(this,t,e,0))&&void 0!==r?r:i_)===n_)return;const o=this._$AH,n=t===i_&&o!==i_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==i_&&(o===i_||n);n&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class m_{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){u_(this,t)}}const y_=Dw.litHtmlPolyfillSupport;var w_,__;null==y_||y_(c_,p_),(null!==(jw=Dw.litHtmlVersions)&&void 0!==jw?jw:Dw.litHtmlVersions=[]).push("2.8.0");class x_ extends Mw{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,r)=>{var o,n;const i=null!==(o=null==r?void 0:r.renderBefore)&&void 0!==o?o:e;let s=i._$litPart$;if(void 0===s){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;i._$litPart$=s=new p_(e.insertBefore(Vw(),t),t,void 0,null!=r?r:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return n_}}x_.finalized=!0,x_._$litElement$=!0,null===(w_=globalThis.litElementHydrateSupport)||void 0===w_||w_.call(globalThis,{LitElement:x_});const k_=globalThis.litElementPolyfillSupport;null==k_||k_({LitElement:x_}),(null!==(__=globalThis.litElementVersions)&&void 0!==__?__:globalThis.litElementVersions=[]).push("3.3.3");var C_=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},E_=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};const S_=(t=>{class e extends t{constructor(...t){super(...t),this.apiEndpoint=null,this.method="GET",this.error=!1,this.jsonData={},this.accept="application/json",this.headerTag='script[name="headers"]',this.html=null,this.fetchOnLoad=!0}async connectedCallback(){if(super.connectedCallback(),this.fetchOnLoad){const t=this.getHeaders(),e=this.getPayload(t);await this.fetchData(t,e)}}getHeaders(){const t=this.querySelector(this.headerTag);let e={Accept:this.accept};if(t&&null!==t.textContent)try{e=JSON.parse(t.textContent)}catch(t){console.error("Error parsing header JSON:",t)}return e}getPayload(t){const e=this.querySelector('script[name="payload"]');let r=null;if(e&&null!==e.textContent)try{r=JSON.parse(e.textContent),r&&(t["Content-Type"]="application/json")}catch(t){console.error("Error parsing payload JSON:",t)}return r}async fetchData(t,e){if(null!==this.apiEndpoint){null!==e&&(this.method="POST");try{const r=await fetch(this.apiEndpoint,{method:this.method,headers:t,body:e?JSON.stringify(e):null});"application/json"===this.accept?(this.jsonData=await r.json(),this.html=null):(this.html=await r.text(),this.jsonData=null),this.dispatchEvent(new CustomEvent("qbo-updated",{bubbles:!0,composed:!0}))}catch(t){this.error=!0,dispatchEvent(new CustomEvent("qbo-error",{detail:t}))}}}}return C_([vw({type:URL}),E_("design:type",Object)],e.prototype,"apiEndpoint",void 0),C_([vw({type:String}),E_("design:type",Object)],e.prototype,"method",void 0),C_([vw({type:Boolean}),E_("design:type",Object)],e.prototype,"error",void 0),C_([vw({type:Object}),E_("design:type",Object)],e.prototype,"jsonData",void 0),C_([vw({type:String}),E_("design:type",Object)],e.prototype,"accept",void 0),C_([vw({type:String}),E_("design:type",Object)],e.prototype,"headerTag",void 0),C_([vw({type:String}),E_("design:type",Object)],e.prototype,"html",void 0),C_([vw({type:Boolean}),E_("design:type",Object)],e.prototype,"fetchOnLoad",void 0),e})(x_);var A_=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},T_=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let $_=class extends S_{constructor(){super(...arguments),this.loading=!1,this.target=null,this.values=[],this.targetElement=null,this.selector="*[data-badge]"}async connectedCallback(){if(this.targetElement=null!=this.target?this.closest(this.target):this,null==this.targetElement)throw new Error(`Could not find target element ${this.target}`);this.targetElement.addEventListener("qbo-updated",this.getIds.bind(this)),super.connectedCallback()}disconnectedCallback(){this.targetElement?.removeEventListener("qbo-updated",this.getIds)}getPayload(t){(super.getPayload(t)??{}).idList=this.values.join(",")}getIds(){if(console.log("reacting to target qbo-updated"),null==this.targetElement)return;const t=[];this.targetElement.querySelectorAll(this.selector).forEach((e=>{const r=e.getAttribute("data-badge");null!==r&&t.push(r)})),this.values=t}async fetchData(t,e){super.fetchData(t,e)}render(){this.targetElement.querySelectorAll(this.selector).forEach((t=>{t.innerHTML=t.getAttribute("data-badge")??""}))}};A_([vw({type:Boolean}),T_("design:type",Object)],$_.prototype,"loading",void 0),A_([vw(),T_("design:type",Object)],$_.prototype,"target",void 0),A_([vw(),T_("design:type",Array)],$_.prototype,"values",void 0),A_([vw(),T_("design:type",Object)],$_.prototype,"selector",void 0),$_=A_([hw("qbo-badge")],$_);var O_=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},I_=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let R_=class extends S_{constructor(){super(...arguments),this.listId=null,this.min=3,this.options=[],this.renderInHost=!0,this.text=null,this.value=null,this.fetchOnLoad=!1,this.endpoint=null,this.headers=null,this.payload={},this.targets=null}connectedCallback(){super.connectedCallback(),this.targets=document.querySelectorAll(`input[list=${this.listId}]`);const t=this;this.targets.forEach((function(e){e.addEventListener("keyup",t.buildDataList.bind(t)),e.hasAttribute("data-for")&&e.addEventListener("change",t.setOutputValue.bind(t))})),this.endpoint=this.apiEndpoint.toString(),this.headers=this.getHeaders(),this.payload=this.getPayload(this.headers)}disconnectedCallback(){const t=this;this.targets?.forEach((function(e){e.removeEventListener("keyup",t.buildDataList.bind(t)),e.hasAttribute("data-for")&&e.removeEventListener("change",t.setOutputValue.bind(t))})),super.disconnectedCallback()}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}async buildDataList(t){const e=t.target;e instanceof HTMLInputElement&&e.value.length>=this.min&&(null!=this.endpoint&&(this.apiEndpoint=new URL(this.endpoint.replace("{value}",`${e.value}`),this.baseURI)),await this.fetchData(this.headers,this.payload))}setOutputValue(t){const e=t.target;let r=null;if(e.hasAttribute("data-for")){const t=e.getAttribute("data-for");r=document.getElementById(t)||e.querySelector(t)||e.parentElement?.querySelector(t)||document.getElementsByName(t)[0]}if(e instanceof HTMLInputElement&&r instanceof HTMLInputElement){const t=this.text,o=this.options?.filter((function(r){return r[t]==e.value}));e.value=1==o?.length?o[0][`${this.text}`]:"",r.value=1==o?.length?o[0][`${this.value}`]:""}}render(){return this.options=sw(this.jsonData),this.options&&0!==this.options.length?(null!=this.options&&(this.value??=Object.keys(this.options[0])[0],this.text??=Object.keys(this.options[0])[1]??this.value),o_`
|
|
56
|
+
<datalist id=${this.listId}>
|
|
57
|
+
${this.options.map((t=>o_`<option value="${t[this.text]}" data-value="${t[this.value]}"/>`))}
|
|
58
|
+
</datalist>`):o_``}};O_([vw({type:String}),I_("design:type",Object)],R_.prototype,"listId",void 0),O_([vw({type:Number}),I_("design:type",Object)],R_.prototype,"min",void 0),O_([vw({type:Array}),I_("design:type",Object)],R_.prototype,"options",void 0),O_([vw({type:Boolean}),I_("design:type",Object)],R_.prototype,"renderInHost",void 0),O_([vw({type:String}),I_("design:type",Object)],R_.prototype,"text",void 0),O_([vw({type:String}),I_("design:type",Object)],R_.prototype,"value",void 0),O_([vw({type:Boolean}),I_("design:type",Object)],R_.prototype,"fetchOnLoad",void 0),R_=O_([hw("qbo-datalist")],R_);var P_=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},L_=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let M_=class extends S_{constructor(){super(...arguments),this.open=!1,this.loading=!1,this.renderInHost=!1}static{this.styles=[Cw`
|
|
59
|
+
/* Add any custom styles here */
|
|
60
|
+
.foo { color: red; }
|
|
61
|
+
`]}async connectedCallback(){super.connectedCallback()}render(){return o_`<iframe src='sample.pdf' width='100%' height='800px' frameborder='0'></iframe>`}};P_([vw({type:Boolean}),L_("design:type",Object)],M_.prototype,"open",void 0),P_([vw({type:Boolean}),L_("design:type",Object)],M_.prototype,"loading",void 0),P_([vw({type:Boolean}),L_("design:type",Object)],M_.prototype,"renderInHost",void 0),M_=P_([hw("qbo-docviewer")],M_);var j_,D_=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},N_=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let z_=class extends x_{static{j_=this}static{this.formAssociated=!0}constructor(){super(),this.value=new FormData,this.template="",this.name="",this.data=null,this.templateNode=null,this.handleFormChange=t=>{const e=t.target;e.matches("input, select, textarea")&&e.name&&!e.assignedSlot&&(this.value.set(`${this.name}${e.name}`,e.value),this.logger.logTrace(`${this.name}${e.name} was set to ${e.value}`)),this.internals.setFormValue(this.value),this.dispatchEvent(new CustomEvent("qbo-form-update",{bubbles:!0,composed:!0,detail:{formData:this.value}}))},this.augment=t=>{if(t.stopPropagation(),console.log(t),t instanceof CustomEvent&&t.detail.formData instanceof FormData)for(let[e,r]of t.detail.formData.entries())this.value.set(e,r),console.log(`Added ${e}=${r} to ${this.name}`);this.internals.setFormValue(this.value),this.dispatchEvent(new CustomEvent("qbo-form-update",{bubbles:!0,composed:!0,detail:{formData:this.value}}))},this.internals=this.attachInternals(),this.logger=I.container.resolve(te)}connectedCallback(){super.connectedCallback(),this.templateNode=document.getElementById(this.template),this.templateNode&&(this.appendChild(this.templateNode.content.cloneNode(!0)),this.innerHTML=aw(this.innerHTML,this.data)),this.shadowRoot?.addEventListener("change",this.handleFormChange),this.shadowRoot?.addEventListener("qbo-form-update",this.augment)}disconnectedCallback(){super.disconnectedCallback(),this.shadowRoot?.removeEventListener("change",this.handleFormChange),this.shadowRoot?.removeEventListener("qbo-form-update",this.augment)}updated(t){super.updated(t),this.establishFormData()}render(){return o_`<slot></slot>`}establishFormData(){const t=this.shadowRoot?.querySelectorAll("input, select, textarea");Array.from(t).filter((t=>!t.assignedSlot&&(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof j_)&&t.name)).forEach((t=>{const e=t;if(e instanceof HTMLSelectElement)this.value.set(`${this.name}${e.name}`,e.value);else if(e instanceof HTMLTextAreaElement)this.value.set(`${this.name}${e.name}`,e.value);else if(e instanceof j_)for(let[t,r]of e.value.entries())this.value.set(`${this.name}${t}`,r);else e instanceof HTMLInputElement&&("checkbox"===e.type||"radio"===e.type?e.checked&&this.value.set(`${this.name}${e.name}`,e.value):this.value.set(`${this.name}${e.name}`,e.value))})),this.internals.setFormValue(this.value),this.logger.logTrace(`Set ${this.name} values to `,this.value)}};D_([vw({type:FormData}),N_("design:type",FormData)],z_.prototype,"value",void 0),D_([vw({type:String}),N_("design:type",Object)],z_.prototype,"template",void 0),D_([vw({type:String}),N_("design:type",Object)],z_.prototype,"name",void 0),D_([vw({type:Object}),N_("design:type",Object)],z_.prototype,"data",void 0),z_=j_=D_([hw("qbo-form-element"),N_("design:paramtypes",[])],z_);var q_="top",H_="bottom",U_="right",F_="left",B_="auto",V_=[q_,H_,U_,F_],W_="start",K_="end",X_="clippingParents",G_="viewport",J_="popper",Q_="reference",Y_=V_.reduce((function(t,e){return t.concat([e+"-"+W_,e+"-"+K_])}),[]),Z_=[].concat(V_,[B_]).reduce((function(t,e){return t.concat([e,e+"-"+W_,e+"-"+K_])}),[]),tx="beforeRead",ex="read",rx="afterRead",ox="beforeMain",nx="main",ix="afterMain",sx="beforeWrite",ax="write",lx="afterWrite",cx=[tx,ex,rx,ox,nx,ix,sx,ax,lx];function ux(t){return t?(t.nodeName||"").toLowerCase():null}function dx(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function px(t){return t instanceof dx(t).Element||t instanceof Element}function fx(t){return t instanceof dx(t).HTMLElement||t instanceof HTMLElement}function bx(t){return"undefined"!=typeof ShadowRoot&&(t instanceof dx(t).ShadowRoot||t instanceof ShadowRoot)}const hx={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},o=e.attributes[t]||{},n=e.elements[t];fx(n)&&ux(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){var e=o[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],n=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});fx(o)&&ux(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]};function gx(t){return t.split("-")[0]}var vx=Math.max,mx=Math.min,yx=Math.round;function wx(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function _x(){return!/^((?!chrome|android).)*safari/i.test(wx())}function xx(t,e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var o=t.getBoundingClientRect(),n=1,i=1;e&&fx(t)&&(n=t.offsetWidth>0&&yx(o.width)/t.offsetWidth||1,i=t.offsetHeight>0&&yx(o.height)/t.offsetHeight||1);var s=(px(t)?dx(t):window).visualViewport,a=!_x()&&r,l=(o.left+(a&&s?s.offsetLeft:0))/n,c=(o.top+(a&&s?s.offsetTop:0))/i,u=o.width/n,d=o.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function kx(t){var e=xx(t),r=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:o}}function Cx(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&bx(r)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ex(t){return dx(t).getComputedStyle(t)}function Sx(t){return["table","td","th"].indexOf(ux(t))>=0}function Ax(t){return((px(t)?t.ownerDocument:t.document)||window.document).documentElement}function Tx(t){return"html"===ux(t)?t:t.assignedSlot||t.parentNode||(bx(t)?t.host:null)||Ax(t)}function $x(t){return fx(t)&&"fixed"!==Ex(t).position?t.offsetParent:null}function Ox(t){for(var e=dx(t),r=$x(t);r&&Sx(r)&&"static"===Ex(r).position;)r=$x(r);return r&&("html"===ux(r)||"body"===ux(r)&&"static"===Ex(r).position)?e:r||function(t){var e=/firefox/i.test(wx());if(/Trident/i.test(wx())&&fx(t)&&"fixed"===Ex(t).position)return null;var r=Tx(t);for(bx(r)&&(r=r.host);fx(r)&&["html","body"].indexOf(ux(r))<0;){var o=Ex(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(t)||e}function Ix(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Rx(t,e,r){return vx(t,mx(e,r))}function Px(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Lx(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}const Mx={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,o=t.name,n=t.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,a=gx(r.placement),l=Ix(a),c=[F_,U_].indexOf(a)>=0?"height":"width";if(i&&s){var u=function(t,e){return Px("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Lx(t,V_))}(n.padding,r),d=kx(i),p="y"===l?q_:F_,f="y"===l?H_:U_,b=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],h=s[l]-r.rects.reference[l],g=Ox(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,m=b/2-h/2,y=u[p],w=v-d[c]-u[f],_=v/2-d[c]/2+m,x=Rx(y,_,w),k=l;r.modifiersData[o]=((e={})[k]=x,e.centerOffset=x-_,e)}},effect:function(t){var e=t.state,r=t.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&Cx(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jx(t){return t.split("-")[1]}var Dx={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nx(t){var e,r=t.popper,o=t.popperRect,n=t.placement,i=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,p=s.x,f=void 0===p?0:p,b=s.y,h=void 0===b?0:b,g="function"==typeof u?u({x:f,y:h}):{x:f,y:h};f=g.x,h=g.y;var v=s.hasOwnProperty("x"),m=s.hasOwnProperty("y"),y=F_,w=q_,_=window;if(c){var x=Ox(r),k="clientHeight",C="clientWidth";x===dx(r)&&"static"!==Ex(x=Ax(r)).position&&"absolute"===a&&(k="scrollHeight",C="scrollWidth"),(n===q_||(n===F_||n===U_)&&i===K_)&&(w=H_,h-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[k])-o.height,h*=l?1:-1),n!==F_&&(n!==q_&&n!==H_||i!==K_)||(y=U_,f-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[C])-o.width,f*=l?1:-1)}var E,S=Object.assign({position:a},c&&Dx),A=!0===u?function(t,e){var r=t.x,o=t.y,n=e.devicePixelRatio||1;return{x:yx(r*n)/n||0,y:yx(o*n)/n||0}}({x:f,y:h},dx(r)):{x:f,y:h};return f=A.x,h=A.y,l?Object.assign({},S,((E={})[w]=m?"0":"",E[y]=v?"0":"",E.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",E)):Object.assign({},S,((e={})[w]=m?h+"px":"",e[y]=v?f+"px":"",e.transform="",e))}const zx={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,o=r.gpuAcceleration,n=void 0===o||o,i=r.adaptive,s=void 0===i||i,a=r.roundOffsets,l=void 0===a||a,c={placement:gx(e.placement),variation:jx(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Nx(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Nx(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var qx={passive:!0};const Hx={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,o=t.options,n=o.scroll,i=void 0===n||n,s=o.resize,a=void 0===s||s,l=dx(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",r.update,qx)})),a&&l.addEventListener("resize",r.update,qx),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",r.update,qx)})),a&&l.removeEventListener("resize",r.update,qx)}},data:{}};var Ux={left:"right",right:"left",bottom:"top",top:"bottom"};function Fx(t){return t.replace(/left|right|bottom|top/g,(function(t){return Ux[t]}))}var Bx={start:"end",end:"start"};function Vx(t){return t.replace(/start|end/g,(function(t){return Bx[t]}))}function Wx(t){var e=dx(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Kx(t){return xx(Ax(t)).left+Wx(t).scrollLeft}function Xx(t){var e=Ex(t),r=e.overflow,o=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function Gx(t){return["html","body","#document"].indexOf(ux(t))>=0?t.ownerDocument.body:fx(t)&&Xx(t)?t:Gx(Tx(t))}function Jx(t,e){var r;void 0===e&&(e=[]);var o=Gx(t),n=o===(null==(r=t.ownerDocument)?void 0:r.body),i=dx(o),s=n?[i].concat(i.visualViewport||[],Xx(o)?o:[]):o,a=e.concat(s);return n?a:a.concat(Jx(Tx(s)))}function Qx(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Yx(t,e,r){return e===G_?Qx(function(t,e){var r=dx(t),o=Ax(t),n=r.visualViewport,i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(n){i=n.width,s=n.height;var c=_x();(c||!c&&"fixed"===e)&&(a=n.offsetLeft,l=n.offsetTop)}return{width:i,height:s,x:a+Kx(t),y:l}}(t,r)):px(e)?function(t,e){var r=xx(t,!1,"fixed"===e);return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}(e,r):Qx(function(t){var e,r=Ax(t),o=Wx(t),n=null==(e=t.ownerDocument)?void 0:e.body,i=vx(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=vx(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+Kx(t),l=-o.scrollTop;return"rtl"===Ex(n||r).direction&&(a+=vx(r.clientWidth,n?n.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(Ax(t)))}function Zx(t){var e,r=t.reference,o=t.element,n=t.placement,i=n?gx(n):null,s=n?jx(n):null,a=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2;switch(i){case q_:e={x:a,y:r.y-o.height};break;case H_:e={x:a,y:r.y+r.height};break;case U_:e={x:r.x+r.width,y:l};break;case F_:e={x:r.x-o.width,y:l};break;default:e={x:r.x,y:r.y}}var c=i?Ix(i):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case W_:e[c]=e[c]-(r[u]/2-o[u]/2);break;case K_:e[c]=e[c]+(r[u]/2-o[u]/2)}}return e}function tk(t,e){void 0===e&&(e={});var r=e,o=r.placement,n=void 0===o?t.placement:o,i=r.strategy,s=void 0===i?t.strategy:i,a=r.boundary,l=void 0===a?X_:a,c=r.rootBoundary,u=void 0===c?G_:c,d=r.elementContext,p=void 0===d?J_:d,f=r.altBoundary,b=void 0!==f&&f,h=r.padding,g=void 0===h?0:h,v=Px("number"!=typeof g?g:Lx(g,V_)),m=p===J_?Q_:J_,y=t.rects.popper,w=t.elements[b?m:p],_=function(t,e,r,o){var n="clippingParents"===e?function(t){var e=Jx(Tx(t)),r=["absolute","fixed"].indexOf(Ex(t).position)>=0&&fx(t)?Ox(t):t;return px(r)?e.filter((function(t){return px(t)&&Cx(t,r)&&"body"!==ux(t)})):[]}(t):[].concat(e),i=[].concat(n,[r]),s=i[0],a=i.reduce((function(e,r){var n=Yx(t,r,o);return e.top=vx(n.top,e.top),e.right=mx(n.right,e.right),e.bottom=mx(n.bottom,e.bottom),e.left=vx(n.left,e.left),e}),Yx(t,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(px(w)?w:w.contextElement||Ax(t.elements.popper),l,u,s),x=xx(t.elements.reference),k=Zx({reference:x,element:y,strategy:"absolute",placement:n}),C=Qx(Object.assign({},y,k)),E=p===J_?C:x,S={top:_.top-E.top+v.top,bottom:E.bottom-_.bottom+v.bottom,left:_.left-E.left+v.left,right:E.right-_.right+v.right},A=t.modifiersData.offset;if(p===J_&&A){var T=A[n];Object.keys(S).forEach((function(t){var e=[U_,H_].indexOf(t)>=0?1:-1,r=[q_,H_].indexOf(t)>=0?"y":"x";S[t]+=T[r]*e}))}return S}const ek={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var n=r.mainAxis,i=void 0===n||n,s=r.altAxis,a=void 0===s||s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,f=r.flipVariations,b=void 0===f||f,h=r.allowedAutoPlacements,g=e.options.placement,v=gx(g),m=l||(v!==g&&b?function(t){if(gx(t)===B_)return[];var e=Fx(t);return[Vx(t),e,Vx(e)]}(g):[Fx(g)]),y=[g].concat(m).reduce((function(t,r){return t.concat(gx(r)===B_?function(t,e){void 0===e&&(e={});var r=e,o=r.placement,n=r.boundary,i=r.rootBoundary,s=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?Z_:l,u=jx(o),d=u?a?Y_:Y_.filter((function(t){return jx(t)===u})):V_,p=d.filter((function(t){return c.indexOf(t)>=0}));0===p.length&&(p=d);var f=p.reduce((function(e,r){return e[r]=tk(t,{placement:r,boundary:n,rootBoundary:i,padding:s})[gx(r)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}(e,{placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:b,allowedAutoPlacements:h}):r)}),[]),w=e.rects.reference,_=e.rects.popper,x=new Map,k=!0,C=y[0],E=0;E<y.length;E++){var S=y[E],A=gx(S),T=jx(S)===W_,$=[q_,H_].indexOf(A)>=0,O=$?"width":"height",I=tk(e,{placement:S,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),R=$?T?U_:F_:T?H_:q_;w[O]>_[O]&&(R=Fx(R));var P=Fx(R),L=[];if(i&&L.push(I[A]<=0),a&&L.push(I[R]<=0,I[P]<=0),L.every((function(t){return t}))){C=S,k=!1;break}x.set(S,L)}if(k)for(var M=function(t){var e=y.find((function(e){var r=x.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return C=e,"break"},j=b?3:1;j>0&&"break"!==M(j);j--);e.placement!==C&&(e.modifiersData[o]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function rk(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function ok(t){return[q_,U_,H_,F_].some((function(e){return t[e]>=0}))}const nk={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,o=e.rects.reference,n=e.rects.popper,i=e.modifiersData.preventOverflow,s=tk(e,{elementContext:"reference"}),a=tk(e,{altBoundary:!0}),l=rk(s,o),c=rk(a,n,i),u=ok(l),d=ok(c);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},ik={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.options,o=t.name,n=r.offset,i=void 0===n?[0,0]:n,s=Z_.reduce((function(t,r){return t[r]=function(t,e,r){var o=gx(t),n=[F_,q_].indexOf(o)>=0?-1:1,i="function"==typeof r?r(Object.assign({},e,{placement:t})):r,s=i[0],a=i[1];return s=s||0,a=(a||0)*n,[F_,U_].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(r,e.rects,i),t}),{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[o]=s}},sk={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=Zx({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},ak={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,o=t.name,n=r.mainAxis,i=void 0===n||n,s=r.altAxis,a=void 0!==s&&s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,f=void 0===p||p,b=r.tetherOffset,h=void 0===b?0:b,g=tk(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=gx(e.placement),m=jx(e.placement),y=!m,w=Ix(v),_="x"===w?"y":"x",x=e.modifiersData.popperOffsets,k=e.rects.reference,C=e.rects.popper,E="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,S="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,T={x:0,y:0};if(x){if(i){var $,O="y"===w?q_:F_,I="y"===w?H_:U_,R="y"===w?"height":"width",P=x[w],L=P+g[O],M=P-g[I],j=f?-C[R]/2:0,D=m===W_?k[R]:C[R],N=m===W_?-C[R]:-k[R],z=e.elements.arrow,q=f&&z?kx(z):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=H[O],F=H[I],B=Rx(0,k[R],q[R]),V=y?k[R]/2-j-B-U-S.mainAxis:D-B-U-S.mainAxis,W=y?-k[R]/2+j+B+F+S.mainAxis:N+B+F+S.mainAxis,K=e.elements.arrow&&Ox(e.elements.arrow),X=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,G=null!=($=null==A?void 0:A[w])?$:0,J=P+W-G,Q=Rx(f?mx(L,P+V-G-X):L,P,f?vx(M,J):M);x[w]=Q,T[w]=Q-P}if(a){var Y,Z="x"===w?q_:F_,tt="x"===w?H_:U_,et=x[_],rt="y"===_?"height":"width",ot=et+g[Z],nt=et-g[tt],it=-1!==[q_,F_].indexOf(v),st=null!=(Y=null==A?void 0:A[_])?Y:0,at=it?ot:et-k[rt]-C[rt]-st+S.altAxis,lt=it?et+k[rt]+C[rt]-st-S.altAxis:nt,ct=f&&it?function(t,e,r){var o=Rx(t,e,r);return o>r?r:o}(at,et,lt):Rx(f?at:ot,et,f?lt:nt);x[_]=ct,T[_]=ct-et}e.modifiersData[o]=T}},requiresIfExists:["offset"]};function lk(t,e,r){void 0===r&&(r=!1);var o,n,i=fx(e),s=fx(e)&&function(t){var e=t.getBoundingClientRect(),r=yx(e.width)/t.offsetWidth||1,o=yx(e.height)/t.offsetHeight||1;return 1!==r||1!==o}(e),a=Ax(e),l=xx(t,s,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!r)&&(("body"!==ux(e)||Xx(a))&&(c=(o=e)!==dx(o)&&fx(o)?{scrollLeft:(n=o).scrollLeft,scrollTop:n.scrollTop}:Wx(o)),fx(e)?((u=xx(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=Kx(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ck(t){var e=new Map,r=new Set,o=[];function n(t){r.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!r.has(t)){var o=e.get(t);o&&n(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||n(t)})),o}var uk={placement:"bottom",modifiers:[],strategy:"absolute"};function dk(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function pk(t){void 0===t&&(t={});var e=t,r=e.defaultModifiers,o=void 0===r?[]:r,n=e.defaultOptions,i=void 0===n?uk:n;return function(t,e,r){void 0===r&&(r=i);var n,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},uk,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(r){var n="function"==typeof r?r(a.options):r;d(),a.options=Object.assign({},i,a.options,n),a.scrollParents={reference:px(t)?Jx(t):t.contextElement?Jx(t.contextElement):[],popper:Jx(e)};var s,c,p=function(t){var e=ck(t);return cx.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}((s=[].concat(o,a.options.modifiers),c=s.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=p.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,r=t.options,o=void 0===r?{}:r,n=t.effect;if("function"==typeof n){var i=n({state:a,name:e,instance:u,options:o});l.push(i||function(){})}})),u.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,r=t.popper;if(dk(e,r)){a.rects={reference:lk(e,Ox(r),"fixed"===a.options.strategy),popper:kx(r)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var n=a.orderedModifiers[o],i=n.fn,s=n.options,l=void 0===s?{}:s,d=n.name;"function"==typeof i&&(a=i({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,o=-1}}},update:(n=function(){return new Promise((function(t){u.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(n())}))}))),s}),destroy:function(){d(),c=!0}};if(!dk(t,e))return u;function d(){l.forEach((function(t){return t()})),l=[]}return u.setOptions(r).then((function(t){!c&&r.onFirstUpdate&&r.onFirstUpdate(t)})),u}}var fk=pk(),bk=pk({defaultModifiers:[Hx,sk,zx,hx,ik,ek,ak,Mx,nk]}),hk=pk({defaultModifiers:[Hx,sk,zx,hx]});const gk=new Map,vk={set(t,e,r){gk.has(t)||gk.set(t,new Map);const o=gk.get(t);o.has(e)||0===o.size?o.set(e,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,e)=>gk.has(t)&&gk.get(t).get(e)||null,remove(t,e){if(!gk.has(t))return;const r=gk.get(t);r.delete(e),0===r.size&&gk.delete(t)}},mk="transitionend",yk=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),wk=t=>{t.dispatchEvent(new Event(mk))},_k=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),xk=t=>_k(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(yk(t)):null,kk=t=>{if(!_k(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),r=t.closest("details:not([open])");if(!r)return e;if(r!==t){const e=t.closest("summary");if(e&&e.parentNode!==r)return!1;if(null===e)return!1}return e},Ck=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),Ek=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Ek(t.parentNode):null},Sk=()=>{},Ak=t=>{t.offsetHeight},Tk=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$k=[],Ok=()=>"rtl"===document.documentElement.dir,Ik=t=>{var e;e=()=>{const e=Tk();if(e){const r=t.NAME,o=e.fn[r];e.fn[r]=t.jQueryInterface,e.fn[r].Constructor=t,e.fn[r].noConflict=()=>(e.fn[r]=o,t.jQueryInterface)}},"loading"===document.readyState?($k.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of $k)t()})),$k.push(e)):e()},Rk=(t,e=[],r=t)=>"function"==typeof t?t(...e):r,Pk=(t,e,r=!0)=>{if(!r)return void Rk(t);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:r}=window.getComputedStyle(t);const o=Number.parseFloat(e),n=Number.parseFloat(r);return o||n?(e=e.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(r))):0})(e)+5;let n=!1;const i=({target:r})=>{r===e&&(n=!0,e.removeEventListener(mk,i),Rk(t))};e.addEventListener(mk,i),setTimeout((()=>{n||wk(e)}),o)},Lk=(t,e,r,o)=>{const n=t.length;let i=t.indexOf(e);return-1===i?!r&&o?t[n-1]:t[0]:(i+=r?1:-1,o&&(i=(i+n)%n),t[Math.max(0,Math.min(i,n-1))])},Mk=/[^.]*(?=\..*)\.|.*/,jk=/\..*/,Dk=/::\d+$/,Nk={};let zk=1;const qk={mouseenter:"mouseover",mouseleave:"mouseout"},Hk=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Uk(t,e){return e&&`${e}::${zk++}`||t.uidEvent||zk++}function Fk(t){const e=Uk(t);return t.uidEvent=e,Nk[e]=Nk[e]||{},Nk[e]}function Bk(t,e,r=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===r))}function Vk(t,e,r){const o="string"==typeof e,n=o?r:e||r;let i=Gk(t);return Hk.has(i)||(i=t),[o,n,i]}function Wk(t,e,r,o,n){if("string"!=typeof e||!t)return;let[i,s,a]=Vk(e,r,o);if(e in qk){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s=t(s)}const l=Fk(t),c=l[a]||(l[a]={}),u=Bk(c,s,i?r:null);if(u)return void(u.oneOff=u.oneOff&&n);const d=Uk(s,e.replace(Mk,"")),p=i?function(t,e,r){return function o(n){const i=t.querySelectorAll(e);for(let{target:s}=n;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return Qk(n,{delegateTarget:s}),o.oneOff&&Jk.off(t,n.type,e,r),r.apply(s,[n])}}(t,r,s):function(t,e){return function r(o){return Qk(o,{delegateTarget:t}),r.oneOff&&Jk.off(t,o.type,e),e.apply(t,[o])}}(t,s);p.delegationSelector=i?r:null,p.callable=s,p.oneOff=n,p.uidEvent=d,c[d]=p,t.addEventListener(a,p,i)}function Kk(t,e,r,o,n){const i=Bk(e[r],o,n);i&&(t.removeEventListener(r,i,Boolean(n)),delete e[r][i.uidEvent])}function Xk(t,e,r,o){const n=e[r]||{};for(const[i,s]of Object.entries(n))i.includes(o)&&Kk(t,e,r,s.callable,s.delegationSelector)}function Gk(t){return t=t.replace(jk,""),qk[t]||t}const Jk={on(t,e,r,o){Wk(t,e,r,o,!1)},one(t,e,r,o){Wk(t,e,r,o,!0)},off(t,e,r,o){if("string"!=typeof e||!t)return;const[n,i,s]=Vk(e,r,o),a=s!==e,l=Fk(t),c=l[s]||{},u=e.startsWith(".");if(void 0===i){if(u)for(const r of Object.keys(l))Xk(t,l,r,e.slice(1));for(const[r,o]of Object.entries(c)){const n=r.replace(Dk,"");a&&!e.includes(n)||Kk(t,l,s,o.callable,o.delegationSelector)}}else{if(!Object.keys(c).length)return;Kk(t,l,s,i,n?r:null)}},trigger(t,e,r){if("string"!=typeof e||!t)return null;const o=Tk();let n=null,i=!0,s=!0,a=!1;e!==Gk(e)&&o&&(n=o.Event(e,r),o(t).trigger(n),i=!n.isPropagationStopped(),s=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());const l=Qk(new Event(e,{bubbles:i,cancelable:!0}),r);return a&&l.preventDefault(),s&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function Qk(t,e={}){for(const[r,o]of Object.entries(e))try{t[r]=o}catch(e){Object.defineProperty(t,r,{configurable:!0,get:()=>o})}return t}function Yk(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function Zk(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const tC={setDataAttribute(t,e,r){t.setAttribute(`data-bs-${Zk(e)}`,r)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Zk(e)}`)},getDataAttributes(t){if(!t)return{};const e={},r=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const o of r){let r=o.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=Yk(t.dataset[o])}return e},getDataAttribute:(t,e)=>Yk(t.getAttribute(`data-bs-${Zk(e)}`))};class eC{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const r=_k(e)?tC.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},..._k(e)?tC.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[o,n]of Object.entries(e)){const e=t[o],i=_k(e)?"element":null==(r=e)?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${i}" but expected type "${n}".`)}var r}}class rC extends eC{constructor(t,e){super(),(t=xk(t))&&(this._element=t,this._config=this._getConfig(e),vk.set(this._element,this.constructor.DATA_KEY,this))}dispose(){vk.remove(this._element,this.constructor.DATA_KEY),Jk.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,r=!0){Pk(t,e,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return vk.get(xk(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const oC=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let r=t.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),e=r&&"#"!==r?r.trim():null}return e?e.split(",").map((t=>yk(t))).join(","):null},nC={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const r=[];let o=t.parentNode.closest(e);for(;o;)r.push(o),o=o.parentNode.closest(e);return r},prev(t,e){let r=t.previousElementSibling;for(;r;){if(r.matches(e))return[r];r=r.previousElementSibling}return[]},next(t,e){let r=t.nextElementSibling;for(;r;){if(r.matches(e))return[r];r=r.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!Ck(t)&&kk(t)))},getSelectorFromElement(t){const e=oC(t);return e&&nC.findOne(e)?e:null},getElementFromSelector(t){const e=oC(t);return e?nC.findOne(e):null},getMultipleElementsFromSelector(t){const e=oC(t);return e?nC.find(e):[]}},iC=(t,e="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;Jk.on(document,r,`[data-bs-dismiss="${o}"]`,(function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Ck(this))return;const n=nC.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(n)[e]()}))},sC=".bs.alert",aC=`close${sC}`,lC=`closed${sC}`;class cC extends rC{static get NAME(){return"alert"}close(){if(Jk.trigger(this._element,aC).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),Jk.trigger(this._element,lC),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=cC.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}iC(cC,"close"),Ik(cC);const uC='[data-bs-toggle="button"]';class dC extends rC{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=dC.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}Jk.on(document,"click.bs.button.data-api",uC,(t=>{t.preventDefault();const e=t.target.closest(uC);dC.getOrCreateInstance(e).toggle()})),Ik(dC);const pC=".bs.swipe",fC=`touchstart${pC}`,bC=`touchmove${pC}`,hC=`touchend${pC}`,gC=`pointerdown${pC}`,vC=`pointerup${pC}`,mC={endCallback:null,leftCallback:null,rightCallback:null},yC={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class wC extends eC{constructor(t,e){super(),this._element=t,t&&wC.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return mC}static get DefaultType(){return yC}static get NAME(){return"swipe"}dispose(){Jk.off(this._element,pC)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Rk(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&Rk(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Jk.on(this._element,gC,(t=>this._start(t))),Jk.on(this._element,vC,(t=>this._end(t))),this._element.classList.add("pointer-event")):(Jk.on(this._element,fC,(t=>this._start(t))),Jk.on(this._element,bC,(t=>this._move(t))),Jk.on(this._element,hC,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const _C=".bs.carousel",xC=".data-api",kC="ArrowLeft",CC="ArrowRight",EC="next",SC="prev",AC="left",TC="right",$C=`slide${_C}`,OC=`slid${_C}`,IC=`keydown${_C}`,RC=`mouseenter${_C}`,PC=`mouseleave${_C}`,LC=`dragstart${_C}`,MC=`load${_C}${xC}`,jC=`click${_C}${xC}`,DC="carousel",NC="active",zC=".active",qC=".carousel-item",HC=zC+qC,UC={[kC]:TC,[CC]:AC},FC={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},BC={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class VC extends rC{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=nC.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===DC&&this.cycle()}static get Default(){return FC}static get DefaultType(){return BC}static get NAME(){return"carousel"}next(){this._slide(EC)}nextWhenVisible(){!document.hidden&&kk(this._element)&&this.next()}prev(){this._slide(SC)}pause(){this._isSliding&&wk(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?Jk.one(this._element,OC,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void Jk.one(this._element,OC,(()=>this.to(t)));const r=this._getItemIndex(this._getActive());if(r===t)return;const o=t>r?EC:SC;this._slide(o,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Jk.on(this._element,IC,(t=>this._keydown(t))),"hover"===this._config.pause&&(Jk.on(this._element,RC,(()=>this.pause())),Jk.on(this._element,PC,(()=>this._maybeEnableCycle()))),this._config.touch&&wC.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of nC.find(".carousel-item img",this._element))Jk.on(t,LC,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(AC)),rightCallback:()=>this._slide(this._directionToOrder(TC)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new wC(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=UC[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=nC.findOne(zC,this._indicatorsElement);e.classList.remove(NC),e.removeAttribute("aria-current");const r=nC.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(NC),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const r=this._getActive(),o=t===EC,n=e||Lk(this._getItems(),r,o,this._config.wrap);if(n===r)return;const i=this._getItemIndex(n),s=e=>Jk.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:i});if(s($C).defaultPrevented)return;if(!r||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=n;const l=o?"carousel-item-start":"carousel-item-end",c=o?"carousel-item-next":"carousel-item-prev";n.classList.add(c),Ak(n),r.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add(NC),r.classList.remove(NC,c,l),this._isSliding=!1,s(OC)}),r,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return nC.findOne(HC,this._element)}_getItems(){return nC.find(qC,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Ok()?t===AC?SC:EC:t===AC?EC:SC}_orderToDirection(t){return Ok()?t===SC?AC:TC:t===SC?TC:AC}static jQueryInterface(t){return this.each((function(){const e=VC.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}Jk.on(document,jC,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=nC.getElementFromSelector(this);if(!e||!e.classList.contains(DC))return;t.preventDefault();const r=VC.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");return o?(r.to(o),void r._maybeEnableCycle()):"next"===tC.getDataAttribute(this,"slide")?(r.next(),void r._maybeEnableCycle()):(r.prev(),void r._maybeEnableCycle())})),Jk.on(window,MC,(()=>{const t=nC.find('[data-bs-ride="carousel"]');for(const e of t)VC.getOrCreateInstance(e)})),Ik(VC);const WC=".bs.collapse",KC=`show${WC}`,XC=`shown${WC}`,GC=`hide${WC}`,JC=`hidden${WC}`,QC=`click${WC}.data-api`,YC="show",ZC="collapse",tE="collapsing",eE=`:scope .${ZC} .${ZC}`,rE='[data-bs-toggle="collapse"]',oE={parent:null,toggle:!0},nE={parent:"(null|element)",toggle:"boolean"};class iE extends rC{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const r=nC.find(rE);for(const t of r){const e=nC.getSelectorFromElement(t),r=nC.find(e).filter((t=>t===this._element));null!==e&&r.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return oE}static get DefaultType(){return nE}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>iE.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(Jk.trigger(this._element,KC).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(ZC),this._element.classList.add(tE),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(tE),this._element.classList.add(ZC,YC),this._element.style[e]="",Jk.trigger(this._element,XC)}),this._element,!0),this._element.style[e]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(Jk.trigger(this._element,GC).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Ak(this._element),this._element.classList.add(tE),this._element.classList.remove(ZC,YC);for(const t of this._triggerArray){const e=nC.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(tE),this._element.classList.add(ZC),Jk.trigger(this._element,JC)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(YC)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=xk(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(rE);for(const e of t){const t=nC.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=nC.find(eE,this._config.parent);return nC.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const r of t)r.classList.toggle("collapsed",!e),r.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const r=iE.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t]()}}))}}Jk.on(document,QC,rE,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of nC.getMultipleElementsFromSelector(this))iE.getOrCreateInstance(t,{toggle:!1}).toggle()})),Ik(iE);const sE="dropdown",aE=".bs.dropdown",lE=".data-api",cE="ArrowUp",uE="ArrowDown",dE=`hide${aE}`,pE=`hidden${aE}`,fE=`show${aE}`,bE=`shown${aE}`,hE=`click${aE}${lE}`,gE=`keydown${aE}${lE}`,vE=`keyup${aE}${lE}`,mE="show",yE='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',wE=`${yE}.${mE}`,_E=".dropdown-menu",xE=Ok()?"top-end":"top-start",kE=Ok()?"top-start":"top-end",CE=Ok()?"bottom-end":"bottom-start",EE=Ok()?"bottom-start":"bottom-end",SE=Ok()?"left-start":"right-start",AE=Ok()?"right-start":"left-start",TE={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},$E={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class OE extends rC{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=nC.next(this._element,_E)[0]||nC.prev(this._element,_E)[0]||nC.findOne(_E,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return TE}static get DefaultType(){return $E}static get NAME(){return sE}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ck(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Jk.trigger(this._element,fE,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))Jk.on(t,"mouseover",Sk);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(mE),this._element.classList.add(mE),Jk.trigger(this._element,bE,t)}}hide(){if(Ck(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Jk.trigger(this._element,dE,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Jk.off(t,"mouseover",Sk);this._popper&&this._popper.destroy(),this._menu.classList.remove(mE),this._element.classList.remove(mE),this._element.setAttribute("aria-expanded","false"),tC.removeDataAttribute(this._menu,"popper"),Jk.trigger(this._element,pE,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!_k(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${sE.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:_k(this._config.reference)?t=xk(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=bk(t,this._menu,r)}_isShown(){return this._menu.classList.contains(mE)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return SE;if(t.classList.contains("dropstart"))return AE;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?kE:xE:e?EE:CE}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(tC.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Rk(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const r=nC.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>kk(t)));r.length&&Lk(r,e,t===uE,!r.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=OE.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=nC.find(wE);for(const r of e){const e=OE.getInstance(r);if(!e||!1===e._config.autoClose)continue;const o=t.composedPath(),n=o.includes(e._menu);if(o.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const i={relatedTarget:e._element};"click"===t.type&&(i.clickEvent=t),e._completeHide(i)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),r="Escape"===t.key,o=[cE,uE].includes(t.key);if(!o&&!r)return;if(e&&!r)return;t.preventDefault();const n=this.matches(yE)?this:nC.prev(this,yE)[0]||nC.next(this,yE)[0]||nC.findOne(yE,t.delegateTarget.parentNode),i=OE.getOrCreateInstance(n);if(o)return t.stopPropagation(),i.show(),void i._selectMenuItem(t);i._isShown()&&(t.stopPropagation(),i.hide(),n.focus())}}Jk.on(document,gE,yE,OE.dataApiKeydownHandler),Jk.on(document,gE,_E,OE.dataApiKeydownHandler),Jk.on(document,hE,OE.clearMenus),Jk.on(document,vE,OE.clearMenus),Jk.on(document,hE,yE,(function(t){t.preventDefault(),OE.getOrCreateInstance(this).toggle()})),Ik(OE);const IE="backdrop",RE="show",PE=`mousedown.bs.${IE}`,LE={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ME={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class jE extends eC{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return LE}static get DefaultType(){return ME}static get NAME(){return IE}show(t){if(!this._config.isVisible)return void Rk(t);this._append();const e=this._getElement();this._config.isAnimated&&Ak(e),e.classList.add(RE),this._emulateAnimation((()=>{Rk(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(RE),this._emulateAnimation((()=>{this.dispose(),Rk(t)}))):Rk(t)}dispose(){this._isAppended&&(Jk.off(this._element,PE),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=xk(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Jk.on(t,PE,(()=>{Rk(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){Pk(t,this._getElement(),this._config.isAnimated)}}const DE=".bs.focustrap",NE=`focusin${DE}`,zE=`keydown.tab${DE}`,qE="backward",HE={autofocus:!0,trapElement:null},UE={autofocus:"boolean",trapElement:"element"};class FE extends eC{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return HE}static get DefaultType(){return UE}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Jk.off(document,DE),Jk.on(document,NE,(t=>this._handleFocusin(t))),Jk.on(document,zE,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Jk.off(document,DE))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const r=nC.focusableChildren(e);0===r.length?e.focus():this._lastTabNavDirection===qE?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?qE:"forward")}}const BE=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",VE=".sticky-top",WE="padding-right",KE="margin-right";class XE{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,WE,(e=>e+t)),this._setElementAttributes(BE,WE,(e=>e+t)),this._setElementAttributes(VE,KE,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,WE),this._resetElementAttributes(BE,WE),this._resetElementAttributes(VE,KE)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,r){const o=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+o)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${r(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const r=t.style.getPropertyValue(e);r&&tC.setDataAttribute(t,e,r)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const r=tC.getDataAttribute(t,e);null!==r?(tC.removeDataAttribute(t,e),t.style.setProperty(e,r)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(_k(t))e(t);else for(const r of nC.find(t,this._element))e(r)}}const GE=".bs.modal",JE=`hide${GE}`,QE=`hidePrevented${GE}`,YE=`hidden${GE}`,ZE=`show${GE}`,tS=`shown${GE}`,eS=`resize${GE}`,rS=`click.dismiss${GE}`,oS=`mousedown.dismiss${GE}`,nS=`keydown.dismiss${GE}`,iS=`click${GE}.data-api`,sS="modal-open",aS="show",lS="modal-static",cS={backdrop:!0,focus:!0,keyboard:!0},uS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class dS extends rC{constructor(t,e){super(t,e),this._dialog=nC.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new XE,this._addEventListeners()}static get Default(){return cS}static get DefaultType(){return uS}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Jk.trigger(this._element,ZE,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sS),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(Jk.trigger(this._element,JE).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(aS),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){Jk.off(window,GE),Jk.off(this._dialog,GE),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new jE({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new FE({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=nC.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),Ak(this._element),this._element.classList.add(aS),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Jk.trigger(this._element,tS,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){Jk.on(this._element,nS,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),Jk.on(window,eS,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),Jk.on(this._element,oS,(t=>{Jk.one(this._element,rS,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(sS),this._resetAdjustments(),this._scrollBar.reset(),Jk.trigger(this._element,YE)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Jk.trigger(this._element,QE).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(lS)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(lS),this._queueCallback((()=>{this._element.classList.remove(lS),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),r=e>0;if(r&&!t){const t=Ok()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!r&&t){const t=Ok()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const r=dS.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t](e)}}))}}Jk.on(document,iS,'[data-bs-toggle="modal"]',(function(t){const e=nC.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Jk.one(e,ZE,(t=>{t.defaultPrevented||Jk.one(e,YE,(()=>{kk(this)&&this.focus()}))}));const r=nC.findOne(".modal.show");r&&dS.getInstance(r).hide(),dS.getOrCreateInstance(e).toggle(this)})),iC(dS),Ik(dS);const pS=".bs.offcanvas",fS=".data-api",bS=`load${pS}${fS}`,hS="show",gS="showing",vS="hiding",mS=".offcanvas.show",yS=`show${pS}`,wS=`shown${pS}`,_S=`hide${pS}`,xS=`hidePrevented${pS}`,kS=`hidden${pS}`,CS=`resize${pS}`,ES=`click${pS}${fS}`,SS=`keydown.dismiss${pS}`,AS={backdrop:!0,keyboard:!0,scroll:!1},TS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $S extends rC{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return AS}static get DefaultType(){return TS}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||Jk.trigger(this._element,yS,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new XE).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(gS),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(hS),this._element.classList.remove(gS),Jk.trigger(this._element,wS,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(Jk.trigger(this._element,_S).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(vS),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(hS,vS),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new XE).reset(),Jk.trigger(this._element,kS)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new jE({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():Jk.trigger(this._element,xS)}:null})}_initializeFocusTrap(){return new FE({trapElement:this._element})}_addEventListeners(){Jk.on(this._element,SS,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():Jk.trigger(this._element,xS))}))}static jQueryInterface(t){return this.each((function(){const e=$S.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Jk.on(document,ES,'[data-bs-toggle="offcanvas"]',(function(t){const e=nC.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Ck(this))return;Jk.one(e,kS,(()=>{kk(this)&&this.focus()}));const r=nC.findOne(mS);r&&r!==e&&$S.getInstance(r).hide(),$S.getOrCreateInstance(e).toggle(this)})),Jk.on(window,bS,(()=>{for(const t of nC.find(mS))$S.getOrCreateInstance(t).show()})),Jk.on(window,CS,(()=>{for(const t of nC.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&$S.getOrCreateInstance(t).hide()})),iC($S),Ik($S);const OS={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},IS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),RS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,PS=(t,e)=>{const r=t.nodeName.toLowerCase();return e.includes(r)?!IS.has(r)||Boolean(RS.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(r)))},LS={allowList:OS,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},MS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},jS={entry:"(string|element|function|null)",selector:"(string|element)"};class DS extends eC{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return LS}static get DefaultType(){return MS}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,r]of Object.entries(this._config.content))this._setContent(t,r,e);const e=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&e.classList.add(...r.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,r]of Object.entries(t))super._typeCheckConfig({selector:e,entry:r},jS)}_setContent(t,e,r){const o=nC.findOne(r,t);o&&((e=this._resolvePossibleFunction(e))?_k(e)?this._putElementInTemplate(xk(e),o):this._config.html?o.innerHTML=this._maybeSanitize(e):o.textContent=e:o.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,r){if(!t.length)return t;if(r&&"function"==typeof r)return r(t);const o=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...o.body.querySelectorAll("*"));for(const t of n){const r=t.nodeName.toLowerCase();if(!Object.keys(e).includes(r)){t.remove();continue}const o=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[r]||[]);for(const e of o)PS(e,n)||t.removeAttribute(e.nodeName)}return o.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Rk(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const NS=new Set(["sanitize","allowList","sanitizeFn"]),zS="fade",qS="show",HS=".tooltip-inner",US=".modal",FS="hide.bs.modal",BS="hover",VS="focus",WS={AUTO:"auto",TOP:"top",RIGHT:Ok()?"left":"right",BOTTOM:"bottom",LEFT:Ok()?"right":"left"},KS={allowList:OS,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},XS={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class GS extends rC{constructor(t,r){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,r),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return KS}static get DefaultType(){return XS}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),Jk.off(this._element.closest(US),FS,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=Jk.trigger(this._element,this.constructor.eventName("show")),e=(Ek(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(r),Jk.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(qS),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Jk.on(t,"mouseover",Sk);this._queueCallback((()=>{Jk.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!Jk.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(qS),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Jk.off(t,"mouseover",Sk);this._activeTrigger.click=!1,this._activeTrigger[VS]=!1,this._activeTrigger[BS]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Jk.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(zS,qS),e.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",r),this._isAnimated()&&e.classList.add(zS),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new DS({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[HS]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(zS)}_isShown(){return this.tip&&this.tip.classList.contains(qS)}_createPopper(t){const e=Rk(this._config.placement,[this,t,this._element]),r=WS[e.toUpperCase()];return bk(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return Rk(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...Rk(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)Jk.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===BS?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=e===BS?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Jk.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?VS:BS]=!0,e._enter()})),Jk.on(this._element,r,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?VS:BS]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},Jk.on(this._element.closest(US),FS,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=tC.getDataAttributes(this._element);for(const t of Object.keys(e))NS.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:xk(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,r]of Object.entries(this._config))this.constructor.Default[e]!==r&&(t[e]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=GS.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Ik(GS);const JS=".popover-header",QS=".popover-body",YS={...GS.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ZS={...GS.DefaultType,content:"(null|string|element|function)"};class tA extends GS{static get Default(){return YS}static get DefaultType(){return ZS}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[JS]:this._getTitle(),[QS]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=tA.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Ik(tA);const eA=".bs.scrollspy",rA=`activate${eA}`,oA=`click${eA}`,nA=`load${eA}.data-api`,iA="active",sA="[href]",aA=".nav-link",lA=`${aA}, .nav-item > ${aA}, .list-group-item`,cA={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},uA={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class dA extends rC{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cA}static get DefaultType(){return uA}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=xk(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Jk.off(this._config.target,oA),Jk.on(this._config.target,oA,sA,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const r=this._rootElement||window,o=e.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:o,behavior:"smooth"});r.scrollTop=o}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),r=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},o=(this._rootElement||document.documentElement).scrollTop,n=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of t){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(i));continue}const t=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(r(i),!o)return}else n||t||r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=nC.find(sA,this._config.target);for(const e of t){if(!e.hash||Ck(e))continue;const t=nC.findOne(decodeURI(e.hash),this._element);kk(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(iA),this._activateParents(t),Jk.trigger(this._element,rA,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))nC.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(iA);else for(const e of nC.parents(t,".nav, .list-group"))for(const t of nC.prev(e,lA))t.classList.add(iA)}_clearActiveClass(t){t.classList.remove(iA);const e=nC.find(`${sA}.${iA}`,t);for(const t of e)t.classList.remove(iA)}static jQueryInterface(t){return this.each((function(){const e=dA.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Jk.on(window,nA,(()=>{for(const t of nC.find('[data-bs-spy="scroll"]'))dA.getOrCreateInstance(t)})),Ik(dA);const pA=".bs.tab",fA=`hide${pA}`,bA=`hidden${pA}`,hA=`show${pA}`,gA=`shown${pA}`,vA=`click${pA}`,mA=`keydown${pA}`,yA=`load${pA}`,wA="ArrowLeft",_A="ArrowRight",xA="ArrowUp",kA="ArrowDown",CA="Home",EA="End",SA="active",AA="fade",TA="show",$A=".dropdown-toggle",OA=`:not(${$A})`,IA='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',RA=`.nav-link${OA}, .list-group-item${OA}, [role="tab"]${OA}, ${IA}`,PA=`.${SA}[data-bs-toggle="tab"], .${SA}[data-bs-toggle="pill"], .${SA}[data-bs-toggle="list"]`;class LA extends rC{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Jk.on(this._element,mA,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),r=e?Jk.trigger(e,fA,{relatedTarget:t}):null;Jk.trigger(t,hA,{relatedTarget:e}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(SA),this._activate(nC.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Jk.trigger(t,gA,{relatedTarget:e})):t.classList.add(TA)}),t,t.classList.contains(AA)))}_deactivate(t,e){t&&(t.classList.remove(SA),t.blur(),this._deactivate(nC.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Jk.trigger(t,bA,{relatedTarget:e})):t.classList.remove(TA)}),t,t.classList.contains(AA)))}_keydown(t){if(![wA,_A,xA,kA,CA,EA].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!Ck(t)));let r;if([CA,EA].includes(t.key))r=e[t.key===CA?0:e.length-1];else{const o=[_A,kA].includes(t.key);r=Lk(e,t.target,o,!0)}r&&(r.focus({preventScroll:!0}),LA.getOrCreateInstance(r).show())}_getChildren(){return nC.find(RA,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",e),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=nC.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const r=this._getOuterElement(t);if(!r.classList.contains("dropdown"))return;const o=(t,o)=>{const n=nC.findOne(t,r);n&&n.classList.toggle(o,e)};o($A,SA),o(".dropdown-menu",TA),r.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,r){t.hasAttribute(e)||t.setAttribute(e,r)}_elemIsActive(t){return t.classList.contains(SA)}_getInnerElement(t){return t.matches(RA)?t:nC.findOne(RA,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=LA.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Jk.on(document,vA,IA,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),Ck(this)||LA.getOrCreateInstance(this).show()})),Jk.on(window,yA,(()=>{for(const t of nC.find(PA))LA.getOrCreateInstance(t)})),Ik(LA);const MA=".bs.toast",jA=`mouseover${MA}`,DA=`mouseout${MA}`,NA=`focusin${MA}`,zA=`focusout${MA}`,qA=`hide${MA}`,HA=`hidden${MA}`,UA=`show${MA}`,FA=`shown${MA}`,BA="hide",VA="show",WA="showing",KA={animation:"boolean",autohide:"boolean",delay:"number"},XA={animation:!0,autohide:!0,delay:5e3};class GA extends rC{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return XA}static get DefaultType(){return KA}static get NAME(){return"toast"}show(){Jk.trigger(this._element,UA).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(BA),Ak(this._element),this._element.classList.add(VA,WA),this._queueCallback((()=>{this._element.classList.remove(WA),Jk.trigger(this._element,FA),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(Jk.trigger(this._element,qA).defaultPrevented||(this._element.classList.add(WA),this._queueCallback((()=>{this._element.classList.add(BA),this._element.classList.remove(WA,VA),Jk.trigger(this._element,HA)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(VA),super.dispose()}isShown(){return this._element.classList.contains(VA)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){Jk.on(this._element,jA,(t=>this._onInteraction(t,!0))),Jk.on(this._element,DA,(t=>this._onInteraction(t,!1))),Jk.on(this._element,NA,(t=>this._onInteraction(t,!0))),Jk.on(this._element,zA,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=GA.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}iC(GA),Ik(GA);var JA=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},QA=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let YA=class extends S_{constructor(){super(...arguments),this.ariaExpanded="false",this.ariaLabel="Toggle menu",this.buttonType="button",this.collapseToggle="collapse",this.dblClickClass="qbo-doubleclick",this.dropdownId="qboMainMenu",this.dropdownToggle="dropdown",this.iconClass="qbo-icon",this.liLinkToggleClass="qbo-dropdown",this.liLinkClass="qbo-nav-item",this.liAMenuClass="qbo-dropdown-item",this.navClass="qbo-mainmenu",this.popoverContainer="body",this.popoverHtml="false",this.popoverPlacement="bottom",this.popoverToggle="popover",this.popoverTrigger="hover",this.spanMenuClass="qbo-submenuexpand",this.spanMenuValue=">",this.ulMainMenuToggleClass="qbo-dropdown-mainmenu",this.ulSubMenuClass="submenu",this.ulSubMenuToggleClass="dropdown-menu",this.apiEndpoint=new URL("config/mainmenu",this.baseURI),this.renderInHost=!0,this.targetElement=null,this.handleResize=()=>{window.innerWidth<992?this.renderRoot.querySelectorAll("button").forEach((function(t){null!=t&&t instanceof HTMLElement&&t.hasAttribute("aria-expanded")&&"true"==t.getAttribute("aria-expanded")&&t.click()})):this.renderRoot.querySelectorAll(`.${this.ulSubMenuToggleClass} .${this.ulSubMenuClass}`).forEach((function(t){null!=t&&t instanceof HTMLElement&&t.hasAttribute("style")&&t.removeAttribute("style")}))}}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.handleResize)}disconnectedCallback(){window.removeEventListener("resize",this.handleResize),super.disconnectedCallback()}updated(t){if(super.updated(t),null!=t.get("jsonData")){this.renderRoot.querySelectorAll(`.${this.ulSubMenuToggleClass}`).forEach((t=>{t.addEventListener("click",(function(t){t.stopPropagation()}))}));const t=this.ulSubMenuClass;this.renderRoot.querySelectorAll(`.${this.ulSubMenuToggleClass} a`).forEach((function(e){e.addEventListener("click",(e=>{if(null!=e.currentTarget&&e.currentTarget instanceof HTMLElement&&window.innerWidth<992){const r=e.currentTarget.nextElementSibling;null!=r&&r instanceof HTMLElement&&r.classList.contains(t)&&(e.preventDefault(),r.style.display="block"==r.style.display?"none":"block")}}))})),this.renderRoot.querySelectorAll(`[data-bs-toggle="${this.popoverToggle}"]`).forEach((function(t){new tA(t)}))}}renderImage(t){return null!=t?o_`<img src="${t}"/><span/>`:o_``}renderMenu(t,e,r){let o=o_``;const n=null!=t&&null!=t.Menu?t.Menu:t;return null!=n&&(n.forEach?n.forEach((t=>{o=null!=t.Menu?o_`${o}${this.renderMenuDropdown(t,r)}`:"Divider"==t.Type?o_`${o}${this.renderMenuDivider()}`:e?o_`${o}${this.renderMenuDropdownLink(t.URL,t.Text,t.Icon)}`:o_`${o}${this.renderMenuLink(t)}`})):o=null!=n.Menu?o_`${o}${this.renderMenuDropdown(n,r)}`:"Divider"==n.Type?o_`${o}${this.renderMenuDivider()}`:e?o_`${o}${this.renderMenuDropdownLink(n.URL,n.Text,n.Icon)}`:o_`${o}${this.renderMenuLink(n)}`),o_`${o}`}renderMenuDivider(){return o_`<li><hr/></li>`}renderMenuDropdown(t,e){const r=null!=t.Icon&&""!=t.Icon?o_`<i class="${t.Icon} ${this.iconClass}" />`:"";return e?o_`<li>
|
|
62
|
+
<a class="${this.liAMenuClass}" href="${t.URL}">
|
|
63
|
+
${r}<span>${t.Text}</span>
|
|
64
|
+
<span class="${this.spanMenuClass}">${this.spanMenuValue}</span>
|
|
65
|
+
</a>
|
|
66
|
+
<ul class="${this.ulSubMenuClass} ${this.ulSubMenuToggleClass}">
|
|
67
|
+
${this.renderMenu(t.Menu,!0,!0)}
|
|
68
|
+
</ul>
|
|
69
|
+
</li>`:o_`<li class="${this.liLinkClass} ${this.liLinkToggleClass}">
|
|
70
|
+
<a href="${t.URL}" data-bs-toggle="${this.dropdownToggle}">
|
|
71
|
+
${r}<span>${t.Text}</span>
|
|
72
|
+
</a>
|
|
73
|
+
<ul class="${this.ulSubMenuToggleClass} ${this.ulMainMenuToggleClass}">
|
|
74
|
+
${this.renderMenu(t.Menu,!0,!0)}
|
|
75
|
+
</ul>
|
|
76
|
+
</li>`}renderMenuDropdownLink(t,e,r){const o=null!=r&&""!=r?o_`<i class="${r} ${this.iconClass}" />`:"";return o_`<li><a class="${this.liAMenuClass}" href="${t}">${o}${e}</a></li>`}renderMenuLink(t){const e=null!=t.Icon&&""!=t.Icon?o_`<i class="${t.Icon} ${this.iconClass}" />`:"",r=t.Title,o=t.DataContent,n=null!=t.DataToggle?t.DataToggle:this.popoverToggle,i=null!=t.DataContainer?t.DataContainer:this.popoverContainer,s=null!=t.DataPlacement?t.DataPlacement:this.popoverPlacement,a=null!=t.DataTrigger?t.DataTrigger:this.popoverTrigger,l=null!=t.DataHtml?t.DataHtml:this.popoverHtml;return null!=t.DoubleClick?o_`<li class="${this.liLinkClass}">
|
|
77
|
+
<a class="${this.dblClickClass}" title="${r}" data-bs-trigger="${a}" data-bs-placement="${s}" data-bs-container="${i}" data-bs-content="${o}" data-bs-toggle="${n}" data-bs-html="${l}" ondblclick="${t.DoubleClick}">
|
|
78
|
+
${e}${t.Text}
|
|
79
|
+
</a>
|
|
80
|
+
</li>`:o_`<li class="${this.liLinkClass}">
|
|
81
|
+
<a title="${r}" data-bs-trigger="${a}" data-bs-placement="${s}" data-bs-container="${i}" data-bs-content="${o}" data-bs-toggle="${n}" data-bs-html="${l}" href="${t.URL}">
|
|
82
|
+
${e}${t.Text}
|
|
83
|
+
</a>
|
|
84
|
+
</li>`}render(){return this.jsonData.MainMenu?o_`
|
|
85
|
+
<nav class="${this.navClass}">
|
|
86
|
+
<div>
|
|
87
|
+
<a href="#">
|
|
88
|
+
${this.renderImage(this.jsonData.MainMenu.Image)}
|
|
89
|
+
${this.jsonData.MainMenu.Label}
|
|
90
|
+
</a>
|
|
91
|
+
<button type="${this.buttonType}" data-bs-toggle="${this.collapseToggle}" data-bs-target="#${this.dropdownId}" aria-expanded="${this.ariaExpanded}" aria-label="${this.ariaLabel}">
|
|
92
|
+
<span/>
|
|
93
|
+
</button>
|
|
94
|
+
<div id="${this.dropdownId}">
|
|
95
|
+
<ul>
|
|
96
|
+
${this.renderMenu(this.jsonData.MainMenu,!1,!1)}
|
|
97
|
+
</ul>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</nav>`:o_``}};JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"ariaExpanded",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"ariaLabel",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"buttonType",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"collapseToggle",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"dblClickClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"dropdownId",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"dropdownToggle",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"iconClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"liLinkToggleClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"liLinkClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"liAMenuClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"navClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"popoverContainer",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"popoverHtml",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"popoverPlacement",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"popoverToggle",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"popoverTrigger",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"spanMenuClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"spanMenuValue",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"ulMainMenuToggleClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"ulSubMenuClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"ulSubMenuToggleClass",void 0),JA([vw({type:String}),QA("design:type",Object)],YA.prototype,"apiEndpoint",void 0),JA([vw({type:Boolean}),QA("design:type",Object)],YA.prototype,"renderInHost",void 0),YA=JA([hw("qbo-mainmenu")],YA);class ZA extends HTMLElement{get src(){return this.getAttribute("src")}set src(t){this.reflect("src",t)}get manualRender(){return this.hasAttribute("manual-render")}set manualRender(t){this.reflect("manual-render",t)}reflect(t,e){!1===e?this.removeAttribute(t):this.setAttribute(t,!0===e?"":e)}static get observedAttributes(){return["src"]}attributeChangedCallback(t,e,r){"src"===t&&this.connected&&!this.manualRender&&r!==e&&this.render()}constructor(t){super(),this.version="$VERSION",this.config={markedUrl:"https://cdn.jsdelivr.net/gh/markedjs/marked@4/marked.min.js",prismUrl:[["https://cdn.jsdelivr.net/gh/PrismJS/prism@1/prism.min.js","data-manual"],"https://cdn.jsdelivr.net/gh/PrismJS/prism@1/plugins/autoloader/prism-autoloader.min.js"],cssUrls:["https://cdn.jsdelivr.net/gh/sindresorhus/github-markdown-css@4/github-markdown.min.css","https://cdn.jsdelivr.net/gh/PrismJS/prism@1/themes/prism.min.css"],hostCss:":host{display:block;position:relative;contain:content;}:host([hidden]){display:none;}",...t,...window.ZeroMdConfig},this.root=this.hasAttribute("no-shadow")?this:this.attachShadow({mode:"open"}),this.root.prepend(...this.makeNodes('<div class="markdown-styles"></div><div class="markdown-body"></div>')),this.constructor.ready||(this.constructor.ready=Promise.all([!!window.marked||this.loadScript(this.config.markedUrl),!!window.Prism||this.loadScript(this.config.prismUrl)])),this.clicked=this.clicked.bind(this),this.manualRender||this.render().then((()=>setTimeout((()=>this.goto(location.hash)),250))),this.observer=new MutationObserver((()=>{this.observeChanges(),this.manualRender||this.render()})),this.observer.observe(this,{childList:!0}),this.observeChanges()}observeChanges(){this.querySelectorAll('template,script[type="text/markdown"]').forEach((t=>{this.observer.observe(t.content||t,{childList:!0,subtree:!0,attributes:!0,characterData:!0})}))}connectedCallback(){this.connected=!0,this.fire("zero-md-connected",{},{bubbles:!1,composed:!1}),this.waitForReady().then((()=>{this.fire("zero-md-ready")})),this.shadowRoot&&this.shadowRoot.addEventListener("click",this.clicked)}disconnectedCallback(){this.connected=!1,this.shadowRoot&&this.shadowRoot.removeEventListener("click",this.clicked)}waitForReady(){const t=this.connected||new Promise((t=>{this.addEventListener("zero-md-connected",(function e(){this.removeEventListener("zero-md-connected",e),t()}))}));return Promise.all([this.constructor.ready,t])}fire(t,e={},r={bubbles:!0,composed:!0}){e.msg&&console.warn(e.msg),this.dispatchEvent(new CustomEvent(t,{detail:{node:this,...e},...r}))}tick(){return new Promise((t=>requestAnimationFrame(t)))}arrify(t){return t?Array.isArray(t)?t:[t]:[]}onload(t){return new Promise(((e,r)=>{t.onload=e,t.onerror=t=>r(t.path?t.path[0]:t.composedPath()[0])}))}loadScript(t){return Promise.all(this.arrify(t).map((t=>{const[e,...r]=this.arrify(t),o=document.createElement("script");return o.src=e,o.async=!1,r.forEach((t=>o.setAttribute(t,""))),this.onload(document.head.appendChild(o))})))}goto(t){let e;try{e=this.root.querySelector(t)}catch{}e&&e.scrollIntoView()}clicked(t){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||t.defaultPrevented)return;const e=t.target.closest("a");e&&e.hash&&e.host===location.host&&e.pathname===location.pathname&&this.goto(e.hash)}dedent(t){const e=(t=t.replace(/^\n/,"")).match(/^\s+/);return e?t.replace(new RegExp(`^${e[0]}`,"gm"),""):t}getBaseUrl(t){const e=document.createElement("a");return e.href=t,e.href.substring(0,e.href.lastIndexOf("/")+1)}highlight(t){return new Promise((e=>{t.querySelectorAll('pre>code:not([class*="language-"])').forEach((t=>{const e=t.innerText.match(/^\s*</)?"markup":t.innerText.match(/^\s*(\$|#)/)?"bash":"js";t.classList.add(`language-${e}`)}));try{window.Prism.highlightAllUnder(t,!0,e())}catch{window.Prism.highlightAllUnder(t),e()}}))}makeNodes(t){const e=document.createElement("template");return e.innerHTML=t,e.content.children}buildStyles(){const t=t=>{const e=this.querySelector(t);return e?e.innerHTML||" ":""},e=this.arrify(this.config.cssUrls),r=`<style>${this.config.hostCss}</style>${t('template[data-merge="prepend"]')}${t("template:not([data-merge])")||e.reduce(((t,e)=>`${t}<link rel="stylesheet" href="${e}">`),"")}${t('template[data-merge="append"]')}`;return r}async buildMd(t={}){return await(async()=>{if(!this.src)return"";const e=await fetch(this.src);if(e.ok){const r=await e.text();return window.marked.parse(r,{baseUrl:this.getBaseUrl(this.src),...t})}return this.fire("zero-md-error",{msg:`[zero-md] HTTP error ${e.status} while fetching src`,status:e.status,src:this.src}),""})()||(()=>{const e=this.querySelector('script[type="text/markdown"]');if(!e)return"";const r=e.hasAttribute("data-dedent")?this.dedent(e.text):e.text;return window.marked.parse(r,t)})()}getHash(t){let e=5381;for(let r=0;r<t.length;r++)e=(e<<5)+e^t.charCodeAt(r);return(e>>>0).toString(36)}async stampStyles(t){const e=this.getHash(t),r=this.root.querySelector(".markdown-styles");if(r.getAttribute("data-hash")!==e){r.setAttribute("data-hash",e);const o=this.makeNodes(t),n=[...o].filter((t=>"LINK"===t.tagName&&"stylesheet"===t.getAttribute("rel")));return r.innerHTML="",r.append(...o),await Promise.all(n.map((t=>this.onload(t)))).catch((t=>{this.fire("zero-md-error",{msg:"[zero-md] An external stylesheet failed to load",status:void 0,src:t.href})})),!0}}async stampBody(t,e){const r=this.arrify(e),o=this.getHash(t+JSON.stringify(r)),n=this.root.querySelector(".markdown-body");if(n.getAttribute("data-hash")!==o){n.setAttribute("data-hash",o),r.unshift("markdown-body"),n.setAttribute("class",r.join(" "));const e=this.makeNodes(t);return n.innerHTML="",n.append(...e),await this.highlight(n),!0}}async render(t={}){await this.waitForReady();const e=this.buildMd(t),r=await this.stampStyles(this.buildStyles());await this.tick();const o=await this.stampBody(await e,t.classes);this.fire("zero-md-rendered",{node:this,stamped:{styles:r,body:o}})}}customElements.define("zero-md",ZA);var tT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};let eT=class extends x_{async connectedCallback(){super.connectedCallback()}render(){return o_`<zero-md src="${this.src}"><script type="text/markdown">${this.querySelector("script")?.innerHTML}<\/script></zero-md>`}};tT([vw(),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:type",Object)],eT.prototype,"src",void 0),eT=tT([hw("qbo-markdown")],eT);var rT,oT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},nT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let iT=class extends x_{constructor(){super(...arguments),this.renderInHost=!0,this.continuous=!1,this.interimResults=!1,this.maxAlternatives=1,this.for="input",this.class="input-group-text bi bi-headset",this.activeClass="bg-primary-subtle",this._recognition=null,this.target=null,this.listening=!1}static{rT=this}static{this.activeInstance=null}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.listen);const t=new(window.SpeechRecognition||window.webkitSpeechRecognition);t.continuous=this.continuous,t.interimResults=this.interimResults,t.maxAlternatives=this.maxAlternatives,t.onresult=t=>{this.onResult(t)},t.onspeechend=t=>{this.stop(t)},t.onerror=t=>{this.error(t)},this._recognition=t,this.target=document.getElementById(this.for)||this.querySelector(this.for)||this.parentElement?.querySelector(this.for),null==this.target&&console.log(`qbo-microphone: no target found for ${this.for}`)}disconnectedCallback(){this.removeEventListener("click",this.listen),super.disconnectedCallback()}onResult(t){const e=t.results[t.results.length-1][0].transcript;if(console.log("Result: "+e),null==this.target)return;const r=this.target;if(r instanceof HTMLInputElement)"radio"===r.type?r.value===e&&(r.checked=!0):this.continuous?r.value+=e:r.value=e;else if(r instanceof HTMLTextAreaElement)this.continuous?r.value+=e:r.value=e;else if(r instanceof HTMLSelectElement)for(let t=0;t<r.options.length;t++)if(r.options[t].value===e||r.options[t].text===e){r.selectedIndex=t;break}}listen(t){this.listening?this.stop(t):this.start()}start(){this.listening=!0,rT.activeInstance=this,this.activeClass&&this.classList.add(this.activeClass),console.log("listening"),this._recognition.start()}stop(t){this.listening=!1,rT.activeInstance=null,this.activeClass&&this.classList.remove(this.activeClass),console.log("stopped listening"),this._recognition.stop(),this._recognition.abort()}error(t){console.log("Error during speech recognition:",t)}render(){return o_`<slot></slot>`}};oT([vw({type:Boolean}),nT("design:type",Object)],iT.prototype,"renderInHost",void 0),oT([vw({type:Boolean}),nT("design:type",Object)],iT.prototype,"continuous",void 0),oT([vw({type:Boolean}),nT("design:type",Object)],iT.prototype,"interimResults",void 0),oT([vw({type:Number}),nT("design:type",Object)],iT.prototype,"maxAlternatives",void 0),oT([vw({type:String}),nT("design:type",Object)],iT.prototype,"for",void 0),oT([vw({type:String}),nT("design:type",Object)],iT.prototype,"class",void 0),oT([vw({type:String}),nT("design:type",Object)],iT.prototype,"activeClass",void 0),iT=rT=oT([hw("qbo-microphone")],iT);var sT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},aT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let lT=class extends x_{constructor(){super(...arguments),this.selector='[data-bs-toggle="popover"]',this.renderInHost=!0}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}updated(t){this.renderRoot.querySelectorAll(`${this.selector}`).forEach((function(t){new tA(t)}))}render(){return o_`<slot></slot>`}};sT([vw({type:String}),aT("design:type",Object)],lT.prototype,"selector",void 0),sT([vw({type:Boolean}),aT("design:type",Object)],lT.prototype,"renderInHost",void 0),lT=sT([hw("qbo-popover")],lT);class cT{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}class uT extends cT{constructor(t){if(super(t),this.et=i_,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===i_||null==t)return this.ft=void 0,this.et=t;if(t===n_)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}uT.directiveName="unsafeHTML",uT.resultType=1;const dT=(t=>(...e)=>({_$litDirective$:t,values:e}))(uT);var pT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},fT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let bT=class extends S_{constructor(){super(...arguments),this.open=!1,this.loading=!1,this.renderInHost=!1}static{this.styles=[Cw`
|
|
101
|
+
/* Add any custom styles here */
|
|
102
|
+
.foo { color: red; }
|
|
103
|
+
`]}async connectedCallback(){super.connectedCallback(),this.handleOutsideClick=this.handleOutsideClick.bind(this)}toggle(){this.open=!this.open,this.open?document.addEventListener("click",this.handleOutsideClick):document.removeEventListener("click",this.handleOutsideClick)}show(){this.open=!0,document.addEventListener("click",this.handleOutsideClick)}hide(t){t.target.closest('[data-dismiss="modal"]')&&(this.open=!1,document.removeEventListener("click",this.handleOutsideClick))}handleOutsideClick(t){this.open&&!this.contains(t.target)&&(this.open=!1,document.removeEventListener("click",this.handleOutsideClick))}render(){return o_`
|
|
104
|
+
<slot name="button" @click="${this.toggle}">
|
|
105
|
+
<button class="btn">Popup</button>
|
|
106
|
+
</slot>
|
|
107
|
+
<slot name="content" @click="${this.hide}" style="display:${this.open?"flex":"none"}">${dT(this.html)}</slot>
|
|
108
|
+
`}};pT([vw({type:Boolean}),fT("design:type",Object)],bT.prototype,"open",void 0),pT([vw({type:Boolean}),fT("design:type",Object)],bT.prototype,"loading",void 0),pT([vw({type:Boolean}),fT("design:type",Object)],bT.prototype,"renderInHost",void 0),bT=pT([hw("qbo-popup")],bT);var hT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},gT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let vT=class extends x_{constructor(){super(...arguments),this.open=!1,this.loading=!1,this.renderInHost=!1,this.title="Popup",this.eventName="qbo-popup",this.listen=!0}async connectedCallback(){super.connectedCallback(),this.handleOutsideClick=this.handleOutsideClick.bind(this)}toggle(){this.open=!this.open,this.open?document.addEventListener("click",this.handleOutsideClick):document.removeEventListener("click",this.handleOutsideClick)}show(){this.open=!0,document.addEventListener("click",this.handleOutsideClick)}hide(t){if(t.target.closest('[data-dismiss="modal"]')){this.open=!1,this.src=null;const t=this.querySelector("iframe")??this.renderRoot.querySelector("iframe");null!=t&&t.removeAttribute("src"),document.removeEventListener("click",this.handleOutsideClick)}}handleOutsideClick(t){}firstUpdated(){const t=this;t.targetElement=document.querySelector(t.target)??document,t.targetContainer=t.querySelector("iframe")??t.renderRoot.querySelector("iframe"),t.targetElement.addEventListener(t.eventName,(e=>{t.showElement(e.target)})),t.listen&&t.targetElement.addEventListener("click",(t=>{const e=t.composedPath().find((t=>t instanceof HTMLAnchorElement));null!=e&&(e.dispatchEvent(new CustomEvent(this.eventName,{bubbles:!0,composed:!0})),t.preventDefault())}))}showElement(t){this.src=t.href.replace("youtube.com/watch","youtube.com/embed");const e=this.querySelector("iframe")??this.renderRoot.querySelector("iframe");null!=e&&(e.src=this.src,this.show())}render(){return o_`
|
|
109
|
+
<slot name="button" @click="${this.toggle}"></slot>
|
|
110
|
+
<slot name="content" @click="${this.hide}" style="display:${this.open?"flex":"none"}">
|
|
111
|
+
<link href="scripts/qbo4.css" rel="stylesheet">
|
|
112
|
+
<div class="modal" tabindex="-1" role="dialog" style="display:block">
|
|
113
|
+
<div class="modal-dialog modal-lg" role="document" style="width:960px; height:600px">
|
|
114
|
+
<div class="modal-content">
|
|
115
|
+
<div class="modal-body" style="height:500px">
|
|
116
|
+
<iframe src="${this.src}" title="${this.title}" frameborder="0" width="100%" height="100%" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="modal-footer">
|
|
119
|
+
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</slot>
|
|
125
|
+
`}};hT([vw({type:Boolean}),gT("design:type",Object)],vT.prototype,"open",void 0),hT([vw({type:Boolean}),gT("design:type",Object)],vT.prototype,"loading",void 0),hT([vw({type:Boolean}),gT("design:type",Object)],vT.prototype,"renderInHost",void 0),hT([vw({type:String}),gT("design:type",Object)],vT.prototype,"src",void 0),hT([vw({type:String}),gT("design:type",Object)],vT.prototype,"title",void 0),hT([vw(),gT("design:type",Object)],vT.prototype,"clickSelector",void 0),hT([vw(),gT("design:type",Object)],vT.prototype,"eventName",void 0),hT([vw(),gT("design:type",Object)],vT.prototype,"target",void 0),hT([vw({type:Boolean}),gT("design:type",Object)],vT.prototype,"listen",void 0),vT=hT([hw("qbo-popup-listener")],vT);var mT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},yT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let wT=class extends S_{constructor(){super(...arguments),this.loading=!1,this.optionText=null,this.optionValue=null,this.defaultValue=null,this.qboClass=null,this.options=[],this.renderInHost=!0}static{this.styles=[Cw`
|
|
126
|
+
/* Add any custom styles here */
|
|
127
|
+
.foo { color: red; }
|
|
128
|
+
`]}async connectedCallback(){this.optionText??=this.optionValue,super.connectedCallback()}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}render(){return this.options=sw(this.jsonData),this.options&&0!==this.options.length?(this.optionValue??=Object.keys(this.options[0])[0],this.optionText??=Object.keys(this.options[0])[1]??this.optionValue,o_`
|
|
129
|
+
<select class=${this.qboClass}>
|
|
130
|
+
${this.options.map((t=>o_`<option value="${t[this.optionValue]}" ?selected="${t[this.optionValue]===this.defaultValue}">${t[this.optionText]}</option>`))}
|
|
131
|
+
</select>`):o_`<p>Loading...</p>`}};mT([vw({type:Boolean}),yT("design:type",Object)],wT.prototype,"loading",void 0),mT([vw({type:String}),yT("design:type",Object)],wT.prototype,"optionText",void 0),mT([vw({type:String}),yT("design:type",Object)],wT.prototype,"optionValue",void 0),mT([vw({type:String}),yT("design:type",Object)],wT.prototype,"defaultValue",void 0),mT([vw({attribute:"qbo-class"}),yT("design:type",Object)],wT.prototype,"qboClass",void 0),mT([vw({type:Array}),yT("design:type",Object)],wT.prototype,"options",void 0),mT([vw({type:Boolean}),yT("design:type",Object)],wT.prototype,"renderInHost",void 0),wT=mT([hw("qbo-select")],wT);var _T=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let kT=class extends x_{constructor(){super(...arguments),this.collapseAttribute="aria-expanded",this.collapseSelector='[data-qbo-toggle="collapse"]',this.menuCollapsed="false",this.menuExpanded="true",this.menuShow="qbo-show"}updated(t){const e=this;e.querySelectorAll(`${this.collapseSelector}`).forEach((function(t){t.addEventListener("click",(r=>{const o=t.nextElementSibling;t.getAttribute(e.collapseAttribute)==e.menuCollapsed?(o instanceof HTMLElement&&o.classList.add(e.menuShow),t.setAttribute(e.collapseAttribute,e.menuExpanded)):(o instanceof HTMLElement&&o.classList.remove(e.menuShow),t.setAttribute(e.collapseAttribute,e.menuCollapsed))}))}))}render(){return o_`<slot></slot>`}};_T([vw({type:String}),xT("design:type",Object)],kT.prototype,"collapseAttribute",void 0),_T([vw({type:String}),xT("design:type",Object)],kT.prototype,"collapseSelector",void 0),_T([vw({type:String}),xT("design:type",Object)],kT.prototype,"menuCollapsed",void 0),_T([vw({type:String}),xT("design:type",Object)],kT.prototype,"menuExpanded",void 0),_T([vw({type:String}),xT("design:type",Object)],kT.prototype,"menuShow",void 0),kT=_T([hw("qbo-sidebar")],kT);var CT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ET=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let ST=class extends S_{constructor(){super(...arguments),this.loading=!1,this.renderInHost=!1,this.qboClass="table table-striped table-hover",this.dataSelector=null,this.options=null}async connectedCallback(){super.connectedCallback()}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}render(){this.options=sw(this.jsonData)??this.loadData()??[{Loading:"..."}],this.querySelector("tbody"),this.querySelector("template"),lw(this.querySelector("tbody"),this.querySelector("template"),this.options);const t=Object.keys(this.options[0]);return o_`<slot>
|
|
132
|
+
<table class=${this.qboClass}>
|
|
133
|
+
<thead>
|
|
134
|
+
${null!=this.querySelector("*[slot=header]")?o_`<tr><th colspan="${t.length}"><slot name="header"></slot></th></tr>`:null}
|
|
135
|
+
<tr>${t.map((t=>o_`<th>${t}</th>`))}</tr>
|
|
136
|
+
</thead>
|
|
137
|
+
<tbody>${this.options.map(((e,r)=>o_`<tr data-index="${r}">${t.map((t=>o_`<td>${e[t]}</td>`))}</tr>`))}</tbody>
|
|
138
|
+
<tfoot><tr><td colspan="${t.length}"><slot name="footer">${t.length} rows rendered.</slot></td></tr></tfoot>
|
|
139
|
+
</table>
|
|
140
|
+
</slot>`}loadData(){if(null!=this.dataSelector){const t=document.querySelector(this.dataSelector);if(null!=t)return sw(t.text)}return null}};CT([vw({type:Boolean}),ET("design:type",Object)],ST.prototype,"loading",void 0),CT([vw({type:Boolean}),ET("design:type",Object)],ST.prototype,"renderInHost",void 0),CT([vw({attribute:"qbo-class"}),ET("design:type",Object)],ST.prototype,"qboClass",void 0),CT([vw(),ET("design:type",Object)],ST.prototype,"dataSelector",void 0),CT([vw(),ET("design:type",Object)],ST.prototype,"options",void 0),ST=CT([hw("qbo-table")],ST);var AT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},TT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let $T=class extends x_{constructor(){super(...arguments),this.renderInHost=!1,this.autoComplete="off",this.validatedClass="was-validated",this.workingClass=["bg-light","text-secondary"],this.form=null,this.validators=[],this.validate=async t=>{console.log("validating form"),t.preventDefault();const e=Array.from(this.form?.querySelectorAll("*"));for(const t of e)t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement?(console.log("validating element ",t),await this.validateElement(t)):console.log("ignoring element ",t);this.form?.checkValidity()?console.log("form is valid, js submit"):(console.log("form is invalid"),t.preventDefault(),t.stopPropagation()),this.form?.classList.add(this.validatedClass),this.dispatchEvent(new Event("qbo-form-validated",{bubbles:!0}))},this.validateElement=async t=>{const e=t instanceof Event?t.target:t;if(console.log("validateElement start ",e),e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement){if(e.setCustomValidity(""),!e.checkValidity())return;for(const t of this.validators)if(e.matches(t.selector)){if(console.log("element matches selector ",t.selector," for ",e.matches(t.selector)?"true":"false"),!e.checkValidity())break;this.workingClass.forEach((t=>e.classList.add(t)));const r=await t.validate(e);this.workingClass.forEach((t=>e.classList.remove(t))),e.setCustomValidity(r?"":t.message),console.log("input validity is ",e.checkValidity()," message is ",e.validationMessage)}else console.log("element does not match selector ",t.selector," for ",e.matches(t.selector)?"true":"false")}console.log("validateElement end ",e),e?.dispatchEvent(new Event("qbo-input-validated",{bubbles:!0}))}}async connectedCallback(){super.connectedCallback(),this.form=this.closest("form"),null!=this.form&&(this.form?.addEventListener("submit",this.validate),this.form?.addEventListener("change",this.validateElement),this.validators=I.container.resolveAll(iw))}async disconnectedCallback(){super.disconnectedCallback(),this.form?.addEventListener("change",this.validateElement),this.form?.addEventListener("submit",this.validate)}render(){return o_``}};AT([vw({type:Boolean}),TT("design:type",Object)],$T.prototype,"renderInHost",void 0),AT([vw({type:String}),TT("design:type",Object)],$T.prototype,"autoComplete",void 0),AT([vw({type:String}),TT("design:type",Object)],$T.prototype,"validatedClass",void 0),AT([vw({converter:{fromAttribute:(t,e)=>t?.split(" "),toAttribute:(t,e)=>t.join(" ")}}),TT("design:type",Object)],$T.prototype,"workingClass",void 0),$T=AT([hw("qbo-validate")],$T);var OT=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},IT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let RT=class extends x_{constructor(){super(...arguments),this.name=null,this.apiEndpoint=null,this.method="POST"}firstUpdated(){const t={};null==this.name&&console.error("qbo-api name is required."),null==this.apiEndpoint&&console.error("qbo-api apiEndpoint is required."),this.querySelectorAll("header").forEach((e=>{const r=e.getAttribute("name"),o=e.textContent;r&&o&&(t[r]=o)})),t.ContentType&&(t["Content-Type"]=t.ContentType,delete t.ContentType),uw(this.name,this.apiEndpoint,t,this.method)}render(){return o_``}};OT([vw({type:String}),IT("design:type",Object)],RT.prototype,"name",void 0),OT([vw({type:String}),IT("design:type",Object)],RT.prototype,"apiEndpoint",void 0),OT([vw({type:String}),IT("design:type",String)],RT.prototype,"method",void 0),RT=OT([hw("qbo-api")],RT)})(),o})()));
|
|
141
|
+
//# sourceMappingURL=qbo4.fintech.min.js.map
|