@quandis/qbo4.ui 4.0.1-CI-20240515-222031 → 4.0.1-CI-20240604-124747
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 +13 -13
- package/src/qbo/qbo-markdown.js +1 -1
- package/src/qbo/qbo-markdown.ts +1 -1
- package/src/qbo/qbo-select.js +5 -3
- package/src/qbo/qbo-select.ts +5 -4
- package/src/qbo-code/qbo-code.d.ts +2 -1
- package/src/qbo-code/qbo-code.js +15 -10
- package/src/qbo-code/qbo-code.ts +14 -7
- package/wwwroot/js/qbo4.ui-code.js +131 -70
- package/wwwroot/js/qbo4.ui-code.min.js +1 -1
- package/wwwroot/js/qbo4.ui-code.min.js.map +1 -1
- package/wwwroot/js/qbo4.ui-flowchart.js +119 -79
- package/wwwroot/js/qbo4.ui-flowchart.min.js +2 -2
- package/wwwroot/js/qbo4.ui-flowchart.min.js.map +1 -1
- package/wwwroot/js/qbo4.ui.js +522 -318
- package/wwwroot/js/qbo4.ui.min.js +36 -36
- package/wwwroot/js/qbo4.ui.min.js.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see qbo4.ui.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.ui=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 V(Object.create(null))}:a?function(){return V({__proto__:null})}:function(){return V({})},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]}},d=Object.getPrototypeOf(Function),u="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--,D(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(!D(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(D(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 u}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}(),b="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}}(),f=o?Symbol.for("@reflect-metadata:registry"):void 0,h=function(){var t;return!S(f)&&T(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[f]),S(t)&&(t=function(){var t,r,o,n;S(f)||void 0===e.Reflect||f 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 b;return{isProviderFor:function(t,e){var r=s.get(t);return!(S(r)||!r.has(e))||!!n(t,e).length&&(S(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 b,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 S(r):r=e;break;case r===e:break;case S(o):o=e;break;case o===e:break;default:void 0===n&&(n=new p),n.add(e)}}function l(e,i){if(!S(r)){if(r.isProviderFor(e,i))return r;if(!S(o)){if(o.isProviderFor(e,i))return r;if(!S(n))for(var s=P(n);;){var a=N(s);if(!a)return;var l=M(a);if(l.isProviderFor(e,i))return q(s),l}}}if(!S(t)&&t.isProviderFor(e,i))return t}function c(t,e){var r,o=i.get(t);return S(o)||(r=o.get(e)),S(r)?(S(r=l(t,e))||(S(o)&&(o=new u,i.set(t,o)),o.set(e,r)),r):r}function d(t){if(S(t))throw new TypeError;return r===t||o===t||!S(n)&&n.has(t)}function h(t,e,r){if(!d(r))throw new Error("Metadata provider not registered.");var o=c(t,e);if(o!==r){if(!S(o))return!1;var n=i.get(t);S(n)&&(n=new u,i.set(t,n)),n.set(e,r)}return!0}}()),!S(f)&&T(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,f,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),g=function(t){var e=new b,r={isProviderFor:function(t,r){var o=e.get(t);return!S(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!S(n)&&O(n.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var n=o(e,r,!1);if(!S(n))return n.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],n=o(t,e,!1);if(S(n))return r;for(var i=P(n.keys()),s=0;;){var a=N(i);if(!a)return r.length=s,r;var l=M(a);try{r[s]=l}catch(t){try{q(i)}finally{throw t}}s++}},OrdinaryDeleteMetadata:function(t,r,n){var i=o(r,n,!1);if(S(i))return!1;if(!i.delete(t))return!1;if(0===i.size){var s=e.get(r);S(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(S(s)){if(!i)return;s=new u,e.set(o,s),a=!0}var l=s.get(n);if(S(l)){if(!i)return;if(l=new u,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=z(e);return!E(o)&&v(t,o,r)}function m(t,e,r){var o=H(e,r,!1);return!S(o)&&O(o.OrdinaryHasOwnMetadata(t,e,r))}function y(t,e,r){if(m(t,e,r))return w(t,e,r);var o=z(e);return E(o)?void 0:y(t,o,r)}function w(t,e,r){var o=H(e,r,!1);if(!S(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=C(t,e),o=z(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 d=0,u=n;d<u.length;d++)c=u[d],i.has(c)||(i.add(c),s.push(c));return s}function C(t,e){var r=H(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function k(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 S(t){return void 0===t}function E(t){return null===t}function T(t){return"object"==typeof t?null!==t:"function"==typeof t}function $(t,e){switch(k(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=L(t,n);if(void 0!==o){var i=o.call(t,r);if(T(i))throw new TypeError;return i}return function(t,e){if("string"===e){var r=t.toString;if(j(r)&&!T(n=r.call(t)))return n;if(j(o=t.valueOf)&&!T(n=o.call(t)))return n}else{var o;if(j(o=t.valueOf)&&!T(n=o.call(t)))return n;var n,i=t.toString;if(j(i)&&!T(n=i.call(t)))return n}throw new TypeError}(t,"default"===r?"number":r)}function O(t){return!!t}function A(t){var e=$(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 j(t){return"function"==typeof t}function R(t){return"function"==typeof t}function D(t,e){return t===e||t!=t&&e!=e}function L(t,e){var r=t[e];if(null!=r){if(!j(r))throw new TypeError;return r}}function P(t){var e=L(t,i);if(!j(e))throw new TypeError;var r=e.call(t);if(!T(r))throw new TypeError;return r}function M(t){return t.value}function N(t){var e=t.next();return!e.done&&e}function q(t){var e=t.return;e&&e.call(t)}function z(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===d)return e;if(e!==d)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(!S(o))return o;if(r){if(h.setProvider(t,e,g))return g;throw new Error("Illegal state.")}}function V(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,o){if(S(r)){if(!I(t))throw new TypeError;if(!R(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var o=(0,t[r])(e);if(!S(o)&&!E(o)){if(!R(o))throw new TypeError;e=o}}return e}(t,e)}if(!I(t))throw new TypeError;if(!T(e))throw new TypeError;if(!T(o)&&!S(o)&&!E(o))throw new TypeError;return E(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(!S(i)&&!E(i)){if(!T(i))throw new TypeError;o=i}}return o}(t,e,r=A(r),o)})),t("metadata",(function(t,e){return function(r,o){if(!T(r))throw new TypeError;if(!S(o)&&!function(t){switch(k(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(!T(r))throw new TypeError;return S(o)||(o=A(o)),_(t,e,r,o)})),t("hasMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),v(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),m(t,e,r)})),t("getMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),y(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),w(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!T(t))throw new TypeError;return S(e)||(e=A(e)),x(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!T(t))throw new TypeError;return S(e)||(e=A(e)),C(t,e)})),t("deleteMetadata",(function(t,e,r){if(!T(e))throw new TypeError;if(S(r)||(r=A(r)),!T(e))throw new TypeError;S(r)||(r=A(r));var o=H(e,r,!1);return!S(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,{Dependency:()=>fw,DependencyValidator:()=>yw,DependencyValidatorOptions:()=>hw,DependencyValidatorOptionsToken:()=>gw,EmailValidator:()=>pw,ExistsValidator:()=>bw,IApiServiceToken:()=>lw,QboApiElement:()=>xw,QboBadge:()=>$w,QboContact:()=>Iw,QboContactName:()=>qw,QboDataList:()=>Vw,QboDocViewer:()=>Bw,QboFormEdit:()=>Gw,QboFormElement:()=>Lw,QboMainMenu:()=>lT,QboMarkdown:()=>uT,QboMicrophone:()=>hT,QboPopover:()=>mT,QboPopup:()=>ST,QboPopupListener:()=>$T,QboSSN:()=>NT,QboSelect:()=>IT,QboSideBar:()=>DT,QboTable:()=>HT,QboValidate:()=>FT,RestApiService:()=>sw,ValidateToken:()=>cw,ZipCodeValidator:()=>uw,elementClearValue:()=>XT,elementData:()=>JT,elementDate:()=>YT,elementDateTime:()=>ZT,elementOptions:()=>BT,elementResetValue:()=>KT,elementSelectorAll:()=>WT,getApiService:()=>QT,getArray:()=>ow,matches:()=>GT,registerRestApi:()=>aw,replicate:()=>iw,services:()=>I,substitute:()=>nw});var t,e={};r.r(e),r.d(e,{afterMain:()=>h_,afterRead:()=>p_,afterWrite:()=>m_,applyStyles:()=>S_,arrow:()=>B_,auto:()=>t_,basePlacements:()=>e_,beforeMain:()=>b_,beforeRead:()=>d_,beforeWrite:()=>g_,bottom:()=>Qw,clippingParents:()=>n_,computeStyles:()=>G_,createPopper:()=>kx,createPopperBase:()=>Cx,createPopperLite:()=>Sx,detectOverflow:()=>dx,end:()=>o_,eventListeners:()=>Q_,flip:()=>ux,hide:()=>fx,left:()=>Zw,main:()=>f_,modifierPhases:()=>y_,offset:()=>hx,placements:()=>c_,popper:()=>s_,popperGenerator:()=>xx,popperOffsets:()=>gx,preventOverflow:()=>vx,read:()=>u_,reference:()=>a_,right:()=>Yw,start:()=>r_,top:()=>Jw,variationPlacements:()=>l_,viewport:()=>i_,write:()=>v_}),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 d(t){return!!t.useClass}function u(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 b(t){return"string"==typeof t||"symbol"==typeof t}function f(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 C=new Map,k=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 d(t)||g(t)||h(t)||u(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)||u(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(),b(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(),b(t)){if(b(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&&!b(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&&b(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):d(t.provider)?s?t.instance||(t.instance=this.construct(t.provider.useClass,e)):this.construct(t.provider.useClass,e):u(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&&b(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),d=c[0],u=c[1];u.some((function(t){return t.options.lifecycle===n.ContainerScoped}))&&o._registry.setAll(d,u.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=C.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,d;try{return"object"==typeof(d=o)&&"token"in d&&"multiple"in d?f(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):f(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=l(t.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1];return function(t,e,r){return void 0===r&&(r=" "),c([t],e.message.split("\n").map((function(t){return r+t}))).join("\n")}("Cannot inject the dependency "+(n=e,(null===(o=void 0===i?null:i)?"at position #"+n:'"'+o.split(",")[n].trim()+'" at position #'+n)+' of "')+t.name+'" constructor. Reason:',r)}(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}(),S=new k,E="injectionTokens";function T(t,e){return function(r,o,n){var i=Reflect.getOwnMetadata(E,r)||{};i[n]=e?{token:t,transform:e.transformToken,transformArgs:e.args||[]}:t,Reflect.defineMetadata(E,i,r)}}const $=function(t){return T(t)},O=function(){return function(t){C.set(t,function(t){var e=Reflect.getMetadata("design:paramtypes",t)||[],r=Reflect.getOwnMetadata(E,t)||{};return Object.keys(r).forEach((function(t){e[+t]=r[t]})),e}(t))}},A=function(t){return T({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.");window.qbo4=window.qbo4||{},window.qbo4.services=window.qbo4.services||new class{constructor(t,e){this.container=t,this.options=e}getService(t){return this.container.resolve(t)}}(S.createChildContainer(),{});const I=window.qbo4.services,j="IConfigurationSourceToken",R="IConfigurationToken";function*D(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*D(r,`${t}:${e}`):yield{key:`${t}:${e}`,value:r}}else"object"==typeof o&&null!==o?yield*D(o,t):yield{key:t,value:o}}}class L{constructor(t){this.jsonConfig=t}getData(){return this.jsonConfig}*getValues(){yield*D(this.jsonConfig)}}class P{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 P({});r=r[t]}return new P(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*D(this.data)}}let M=class extends P{constructor(t){super({}),this.sources=t,this.mergeConfigurations(t)}mergeConfigurations(t){t.forEach((t=>{const e=t.getData();this.data={...this.data,...e}}))}};var N,q;M=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}([O(),(N=0,q=A(j),function(t,e){q(t,e,N)}),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array])],M),I.container.register(R,{useClass:M},{lifecycle:n.Singleton}),I.container.register(j,{useClass:class{getData(){return{}}*getValues(){yield*D({})}}},{lifecycle:n.Singleton});const z=globalThis,H=z.ShadowRoot&&(void 0===z.ShadyCSS||z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),U=new WeakMap;class F{constructor(t,e,r){if(this._$cssResult$=!0,r!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(H&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=U.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&U.set(e,t))}return t}toString(){return this.cssText}}const B=(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 F(r,t,V)},W=H?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new F("string"==typeof t?t:t+"",void 0,V))(e)})(t):t,{is:K,defineProperty:X,getOwnPropertyDescriptor:G,getOwnPropertyNames:J,getOwnPropertySymbols:Q,getPrototypeOf:Y}=Object,Z=globalThis,tt=Z.trustedTypes,et=tt?tt.emptyScript:"",rt=Z.reactiveElementPolyfillSupport,ot=(t,e)=>t,nt={toAttribute(t,e){switch(e){case Boolean:t=t?et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},it=(t,e)=>!K(t,e),st={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it};Symbol.metadata??=Symbol("metadata"),Z.litPropertyMetadata??=new WeakMap;class at 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=st){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&&X(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:n}=G(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)??st}static _$Ei(){if(this.hasOwnProperty(ot("elementProperties")))return;const t=Y(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ot("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ot("properties"))){const t=this.properties,e=[...J(t),...Q(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(W(t))}else void 0!==t&&e.push(W(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(H)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),o=z.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:nt).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:nt;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??it)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[ot("elementProperties")]=new Map,at[ot("finalized")]=new Map,rt?.({ReactiveElement:at}),(Z.reactiveElementVersions??=[]).push("2.0.4");const lt=globalThis,ct=lt.trustedTypes,dt=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,ut="$lit$",pt=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+pt,ft=`<${bt}>`,ht=document,gt=()=>ht.createComment(""),vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,yt="[ \t\n\f\r]",wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_t=/-->/g,xt=/>/g,Ct=RegExp(`>|${yt}(?:([^\\s"'>=/]+)(${yt}*=${yt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),kt=/'/g,St=/"/g,Et=/^(?: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")),At=Symbol.for("lit-nothing"),It=new WeakMap,jt=ht.createTreeWalker(ht,129);function Rt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==dt?dt.createHTML(e):e}const Dt=(t,e)=>{const r=t.length-1,o=[];let n,i=2===e?"<svg>":"",s=wt;for(let e=0;e<r;e++){const r=t[e];let a,l,c=-1,d=0;for(;d<r.length&&(s.lastIndex=d,l=s.exec(r),null!==l);)d=s.lastIndex,s===wt?"!--"===l[1]?s=_t:void 0!==l[1]?s=xt:void 0!==l[2]?(Et.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=Ct):void 0!==l[3]&&(s=Ct):s===Ct?">"===l[0]?(s=n??wt,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:kt):s===St||s===kt?s=Ct:s===_t||s===xt?s=wt:(s=Ct,n=void 0);const u=s===Ct&&t[e+1].startsWith("/>")?" ":"";i+=s===wt?r+ft:c>=0?(o.push(a),r.slice(0,c)+ut+r.slice(c)+pt+u):r+pt+(-2===c?e:u)}return[Rt(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class Lt{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]=Dt(t,e);if(this.el=Lt.createElement(l,r),jt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=jt.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(ut)){const e=c[i++],r=o.getAttribute(t).split(pt),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:s[2],strings:r,ctor:"."===s[1]?zt:"?"===s[1]?Ht:"@"===s[1]?Vt:qt}),o.removeAttribute(t)}else t.startsWith(pt)&&(a.push({type:6,index:n}),o.removeAttribute(t));if(Et.test(o.tagName)){const t=o.textContent.split(pt),e=t.length-1;if(e>0){o.textContent=ct?ct.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],gt()),jt.nextNode(),a.push({type:2,index:++n});o.append(t[e],gt())}}}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(pt,t+1));)a.push({type:7,index:n}),t+=pt.length-1}n++}}static createElement(t,e){const r=ht.createElement("template");return r.innerHTML=t,r}}function Pt(t,e,r=t,o){if(e===Ot)return e;let n=void 0!==o?r._$Co?.[o]:r._$Cl;const i=vt(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=Pt(t,n._$AS(t,e.values),n,o)),e}class Mt{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??ht).importNode(e,!0);jt.currentNode=o;let n=jt.nextNode(),i=0,s=0,a=r[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new Nt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new Ut(n,this,t)),this._$AV.push(e),a=r[++s]}i!==a?.index&&(n=jt.nextNode(),i++)}return jt.currentNode=ht,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 Nt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=At,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=Pt(this,t,e),vt(t)?t===At||null==t||""===t?(this._$AH!==At&&this._$AR(),this._$AH=At):t!==this._$AH&&t!==Ot&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>mt(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!==At&&vt(this._$AH)?this._$AA.nextSibling.data=t:this.T(ht.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=Lt.createElement(Rt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new Mt(o,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=It.get(t.strings);return void 0===e&&It.set(t.strings,e=new Lt(t)),e}k(t){mt(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 Nt(this.S(gt()),this.S(gt()),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=At,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=At}_$AI(t,e=this,r,o){const n=this.strings;let i=!1;if(void 0===n)t=Pt(this,t,e,0),i=!vt(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=Pt(this,o[r+s],e,s),a===Ot&&(a=this._$AH[s]),i||=!vt(a)||a!==this._$AH[s],a===At?t=At:t!==At&&(t+=(a??"")+n[s+1]),this._$AH[s]=a}i&&!o&&this.j(t)}j(t){t===At?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class zt extends qt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===At?void 0:t}}class Ht extends qt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==At)}}class Vt extends qt{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){if((t=Pt(this,t,e,0)??At)===Ot)return;const r=this._$AH,o=t===At&&r!==At||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==At&&(r===At||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 Ut{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){Pt(this,t)}}const Ft=lt.litHtmlPolyfillSupport;Ft?.(Lt,Nt),(lt.litHtmlVersions??=[]).push("3.1.3");class Bt extends at{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 Nt(e.insertBefore(gt(),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}}Bt._$litElement$=!0,Bt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Bt});const Wt=globalThis.litElementPolyfillSupport;Wt?.({LitElement:Bt}),(globalThis.litElementVersions??=[]).push("4.0.5");const Kt=t=>(e,r)=>{void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},Xt={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it},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 Bt{static get formAssociated(){return!0}static{this.styles=B`
|
|
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.ui=e())}(self,(()=>(()=>{var t={526:t=>{function e(t){return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}e.keys=()=>[],e.resolve=e,e.id=526,t.exports=e},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 V(Object.create(null))}:a?function(){return V({__proto__:null})}:function(){return V({})},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]}},d=Object.getPrototypeOf(Function),u="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--,R(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(!R(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(R(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 u}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}(),b="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}}(),f=o?Symbol.for("@reflect-metadata:registry"):void 0,h=function(){var t;return!S(f)&&T(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[f]),S(t)&&(t=function(){var t,r,o,n;S(f)||void 0===e.Reflect||f 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 b;return{isProviderFor:function(t,e){var r=s.get(t);return!(S(r)||!r.has(e))||!!n(t,e).length&&(S(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 b,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 S(r):r=e;break;case r===e:break;case S(o):o=e;break;case o===e:break;default:void 0===n&&(n=new p),n.add(e)}}function l(e,i){if(!S(r)){if(r.isProviderFor(e,i))return r;if(!S(o)){if(o.isProviderFor(e,i))return r;if(!S(n))for(var s=M(n);;){var a=N(s);if(!a)return;var l=P(a);if(l.isProviderFor(e,i))return q(s),l}}}if(!S(t)&&t.isProviderFor(e,i))return t}function c(t,e){var r,o=i.get(t);return S(o)||(r=o.get(e)),S(r)?(S(r=l(t,e))||(S(o)&&(o=new u,i.set(t,o)),o.set(e,r)),r):r}function d(t){if(S(t))throw new TypeError;return r===t||o===t||!S(n)&&n.has(t)}function h(t,e,r){if(!d(r))throw new Error("Metadata provider not registered.");var o=c(t,e);if(o!==r){if(!S(o))return!1;var n=i.get(t);S(n)&&(n=new u,i.set(t,n)),n.set(e,r)}return!0}}()),!S(f)&&T(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,f,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),g=function(t){var e=new b,r={isProviderFor:function(t,r){var o=e.get(t);return!S(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!S(n)&&O(n.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var n=o(e,r,!1);if(!S(n))return n.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],n=o(t,e,!1);if(S(n))return r;for(var i=M(n.keys()),s=0;;){var a=N(i);if(!a)return r.length=s,r;var l=P(a);try{r[s]=l}catch(t){try{q(i)}finally{throw t}}s++}},OrdinaryDeleteMetadata:function(t,r,n){var i=o(r,n,!1);if(S(i))return!1;if(!i.delete(t))return!1;if(0===i.size){var s=e.get(r);S(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(S(s)){if(!i)return;s=new u,e.set(o,s),a=!0}var l=s.get(n);if(S(l)){if(!i)return;if(l=new u,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=z(e);return!E(o)&&v(t,o,r)}function m(t,e,r){var o=H(e,r,!1);return!S(o)&&O(o.OrdinaryHasOwnMetadata(t,e,r))}function y(t,e,r){if(m(t,e,r))return w(t,e,r);var o=z(e);return E(o)?void 0:y(t,o,r)}function w(t,e,r){var o=H(e,r,!1);if(!S(o))return o.OrdinaryGetOwnMetadata(t,e,r)}function x(t,e,r,o){H(r,o,!0).OrdinaryDefineOwnMetadata(t,e,r,o)}function _(t,e){var r=C(t,e),o=z(t);if(null===o)return r;var n=_(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 d=0,u=n;d<u.length;d++)c=u[d],i.has(c)||(i.add(c),s.push(c));return s}function C(t,e){var r=H(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function k(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 S(t){return void 0===t}function E(t){return null===t}function T(t){return"object"==typeof t?null!==t:"function"==typeof t}function $(t,e){switch(k(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=L(t,n);if(void 0!==o){var i=o.call(t,r);if(T(i))throw new TypeError;return i}return function(t,e){if("string"===e){var r=t.toString;if(I(r)&&!T(n=r.call(t)))return n;if(I(o=t.valueOf)&&!T(n=o.call(t)))return n}else{var o;if(I(o=t.valueOf)&&!T(n=o.call(t)))return n;var n,i=t.toString;if(I(i)&&!T(n=i.call(t)))return n}throw new TypeError}(t,"default"===r?"number":r)}function O(t){return!!t}function A(t){var e=$(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function j(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function I(t){return"function"==typeof t}function D(t){return"function"==typeof t}function R(t,e){return t===e||t!=t&&e!=e}function L(t,e){var r=t[e];if(null!=r){if(!I(r))throw new TypeError;return r}}function M(t){var e=L(t,i);if(!I(e))throw new TypeError;var r=e.call(t);if(!T(r))throw new TypeError;return r}function P(t){return t.value}function N(t){var e=t.next();return!e.done&&e}function q(t){var e=t.return;e&&e.call(t)}function z(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===d)return e;if(e!==d)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(!S(o))return o;if(r){if(h.setProvider(t,e,g))return g;throw new Error("Illegal state.")}}function V(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,o){if(S(r)){if(!j(t))throw new TypeError;if(!D(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var o=(0,t[r])(e);if(!S(o)&&!E(o)){if(!D(o))throw new TypeError;e=o}}return e}(t,e)}if(!j(t))throw new TypeError;if(!T(e))throw new TypeError;if(!T(o)&&!S(o)&&!E(o))throw new TypeError;return E(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(!S(i)&&!E(i)){if(!T(i))throw new TypeError;o=i}}return o}(t,e,r=A(r),o)})),t("metadata",(function(t,e){return function(r,o){if(!T(r))throw new TypeError;if(!S(o)&&!function(t){switch(k(t)){case 3:case 4:return!0;default:return!1}}(o))throw new TypeError;x(t,e,r,o)}})),t("defineMetadata",(function(t,e,r,o){if(!T(r))throw new TypeError;return S(o)||(o=A(o)),x(t,e,r,o)})),t("hasMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),v(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),m(t,e,r)})),t("getMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),y(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!T(e))throw new TypeError;return S(r)||(r=A(r)),w(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!T(t))throw new TypeError;return S(e)||(e=A(e)),_(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!T(t))throw new TypeError;return S(e)||(e=A(e)),C(t,e)})),t("deleteMetadata",(function(t,e,r){if(!T(e))throw new TypeError;if(S(r)||(r=A(r)),!T(e))throw new TypeError;S(r)||(r=A(r));var o=H(e,r,!1);return!S(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,{Dependency:()=>mw,DependencyValidator:()=>Cw,DependencyValidatorOptions:()=>yw,DependencyValidatorOptionsToken:()=>ww,EmailValidator:()=>gw,ExistsValidator:()=>vw,IApiServiceToken:()=>pw,QboApiElement:()=>Ew,QboBadge:()=>Iw,QboContact:()=>Lw,QboContactName:()=>Uw,QboDataList:()=>Ww,QboDocViewer:()=>Gw,QboFormEdit:()=>Zw,QboFormElement:()=>qw,QboMainMenu:()=>pT,QboMarkdown:()=>yT,QboMicrophone:()=>CT,QboPopover:()=>ET,QboPopup:()=>DT,QboPopupListener:()=>MT,QboSSN:()=>WT,QboSelect:()=>qT,QboSideBar:()=>VT,QboTable:()=>GT,QboValidate:()=>YT,RestApiService:()=>dw,ValidateToken:()=>bw,ZipCodeValidator:()=>hw,elementClearValue:()=>r$,elementData:()=>n$,elementDate:()=>s$,elementDateTime:()=>a$,elementOptions:()=>ZT,elementResetValue:()=>e$,elementSelectorAll:()=>t$,getApiService:()=>i$,getArray:()=>aw,matches:()=>o$,registerRestApi:()=>uw,replicate:()=>cw,services:()=>j,substitute:()=>lw});var t,e={};r.r(e),r.d(e,{afterMain:()=>yx,afterRead:()=>gx,afterWrite:()=>_x,applyStyles:()=>Ox,arrow:()=>Gx,auto:()=>nx,basePlacements:()=>ix,beforeMain:()=>vx,beforeRead:()=>fx,beforeWrite:()=>wx,bottom:()=>ex,clippingParents:()=>lx,computeStyles:()=>Zx,createPopper:()=>$_,createPopperBase:()=>T_,createPopperLite:()=>O_,detectOverflow:()=>f_,end:()=>ax,eventListeners:()=>e_,flip:()=>h_,hide:()=>m_,left:()=>ox,main:()=>mx,modifierPhases:()=>Cx,offset:()=>y_,placements:()=>bx,popper:()=>dx,popperGenerator:()=>E_,popperOffsets:()=>w_,preventOverflow:()=>x_,read:()=>hx,reference:()=>ux,right:()=>rx,start:()=>sx,top:()=>tx,variationPlacements:()=>px,viewport:()=>cx,write:()=>xx}),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 d(t){return!!t.useClass}function u(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 b(t){return"string"==typeof t||"symbol"==typeof t}function f(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),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e}(v);const _=function(){this.preResolution=new w,this.postResolution=new x};var C=new Map,k=function(){function t(t){this.parent=t,this._registry=new m,this.interceptors=new _,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 d(t)||g(t)||h(t)||u(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)||u(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(),b(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(),b(t)){if(b(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&&!b(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&&b(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):d(t.provider)?s?t.instance||(t.instance=this.construct(t.provider.useClass,e)):this.construct(t.provider.useClass,e):u(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&&b(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),d=c[0],u=c[1];u.some((function(t){return t.options.lifecycle===n.ContainerScoped}))&&o._registry.setAll(d,u.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=C.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,d;try{return"object"==typeof(d=o)&&"token"in d&&"multiple"in d?f(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):f(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=l(t.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1];return function(t,e,r){return void 0===r&&(r=" "),c([t],e.message.split("\n").map((function(t){return r+t}))).join("\n")}("Cannot inject the dependency "+(n=e,(null===(o=void 0===i?null:i)?"at position #"+n:'"'+o.split(",")[n].trim()+'" at position #'+n)+' of "')+t.name+'" constructor. Reason:',r)}(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}(),S=new k,E="injectionTokens";function T(t,e){return function(r,o,n){var i=Reflect.getOwnMetadata(E,r)||{};i[n]=e?{token:t,transform:e.transformToken,transformArgs:e.args||[]}:t,Reflect.defineMetadata(E,i,r)}}const $=function(t){return T(t)},O=function(){return function(t){C.set(t,function(t){var e=Reflect.getMetadata("design:paramtypes",t)||[],r=Reflect.getOwnMetadata(E,t)||{};return Object.keys(r).forEach((function(t){e[+t]=r[t]})),e}(t))}},A=function(t){return T({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.");window.qbo4=window.qbo4||{},window.qbo4.services=window.qbo4.services||new class{constructor(t,e){this.container=t,this.options=e}getService(t){return this.container.resolve(t)}}(S.createChildContainer(),{});const j=window.qbo4.services,I="IConfigurationSourceToken",D="IConfigurationToken";function*R(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*R(r,`${t}:${e}`):yield{key:`${t}:${e}`,value:r}}else"object"==typeof o&&null!==o?yield*R(o,t):yield{key:t,value:o}}}class L{constructor(t){this.jsonConfig=t}getData(){return this.jsonConfig}*getValues(){yield*R(this.jsonConfig)}}class M{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 M({});r=r[t]}return new M(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*R(this.data)}}let P=class extends M{constructor(t){super({}),this.sources=t,this.mergeConfigurations(t)}mergeConfigurations(t){t.forEach((t=>{const e=t.getData();this.data={...this.data,...e}}))}};var N,q;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}([O(),(N=0,q=A(I),function(t,e){q(t,e,N)}),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array])],P),j.container.register(D,{useClass:P},{lifecycle:n.Singleton}),j.container.register(I,{useClass:class{getData(){return{}}*getValues(){yield*R({})}}},{lifecycle:n.Singleton});const z=globalThis,H=z.ShadowRoot&&(void 0===z.ShadyCSS||z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),U=new WeakMap;class F{constructor(t,e,r){if(this._$cssResult$=!0,r!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(H&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=U.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&U.set(e,t))}return t}toString(){return this.cssText}}const B=(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 F(r,t,V)},W=H?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new F("string"==typeof t?t:t+"",void 0,V))(e)})(t):t,{is:K,defineProperty:X,getOwnPropertyDescriptor:G,getOwnPropertyNames:Q,getOwnPropertySymbols:J,getPrototypeOf:Y}=Object,Z=globalThis,tt=Z.trustedTypes,et=tt?tt.emptyScript:"",rt=Z.reactiveElementPolyfillSupport,ot=(t,e)=>t,nt={toAttribute(t,e){switch(e){case Boolean:t=t?et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},it=(t,e)=>!K(t,e),st={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it};Symbol.metadata??=Symbol("metadata"),Z.litPropertyMetadata??=new WeakMap;class at 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=st){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&&X(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:n}=G(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)??st}static _$Ei(){if(this.hasOwnProperty(ot("elementProperties")))return;const t=Y(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ot("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ot("properties"))){const t=this.properties,e=[...Q(t),...J(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(W(t))}else void 0!==t&&e.push(W(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(H)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),o=z.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:nt).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:nt;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??it)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[ot("elementProperties")]=new Map,at[ot("finalized")]=new Map,rt?.({ReactiveElement:at}),(Z.reactiveElementVersions??=[]).push("2.0.4");const lt=globalThis,ct=lt.trustedTypes,dt=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,ut="$lit$",pt=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+pt,ft=`<${bt}>`,ht=document,gt=()=>ht.createComment(""),vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,yt="[ \t\n\f\r]",wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xt=/-->/g,_t=/>/g,Ct=RegExp(`>|${yt}(?:([^\\s"'>=/]+)(${yt}*=${yt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),kt=/'/g,St=/"/g,Et=/^(?: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")),At=Symbol.for("lit-nothing"),jt=new WeakMap,It=ht.createTreeWalker(ht,129);function Dt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==dt?dt.createHTML(e):e}const Rt=(t,e)=>{const r=t.length-1,o=[];let n,i=2===e?"<svg>":"",s=wt;for(let e=0;e<r;e++){const r=t[e];let a,l,c=-1,d=0;for(;d<r.length&&(s.lastIndex=d,l=s.exec(r),null!==l);)d=s.lastIndex,s===wt?"!--"===l[1]?s=xt:void 0!==l[1]?s=_t:void 0!==l[2]?(Et.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=Ct):void 0!==l[3]&&(s=Ct):s===Ct?">"===l[0]?(s=n??wt,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:kt):s===St||s===kt?s=Ct:s===xt||s===_t?s=wt:(s=Ct,n=void 0);const u=s===Ct&&t[e+1].startsWith("/>")?" ":"";i+=s===wt?r+ft:c>=0?(o.push(a),r.slice(0,c)+ut+r.slice(c)+pt+u):r+pt+(-2===c?e:u)}return[Dt(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class Lt{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]=Rt(t,e);if(this.el=Lt.createElement(l,r),It.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=It.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(ut)){const e=c[i++],r=o.getAttribute(t).split(pt),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:s[2],strings:r,ctor:"."===s[1]?zt:"?"===s[1]?Ht:"@"===s[1]?Vt:qt}),o.removeAttribute(t)}else t.startsWith(pt)&&(a.push({type:6,index:n}),o.removeAttribute(t));if(Et.test(o.tagName)){const t=o.textContent.split(pt),e=t.length-1;if(e>0){o.textContent=ct?ct.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],gt()),It.nextNode(),a.push({type:2,index:++n});o.append(t[e],gt())}}}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(pt,t+1));)a.push({type:7,index:n}),t+=pt.length-1}n++}}static createElement(t,e){const r=ht.createElement("template");return r.innerHTML=t,r}}function Mt(t,e,r=t,o){if(e===Ot)return e;let n=void 0!==o?r._$Co?.[o]:r._$Cl;const i=vt(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=Mt(t,n._$AS(t,e.values),n,o)),e}class Pt{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??ht).importNode(e,!0);It.currentNode=o;let n=It.nextNode(),i=0,s=0,a=r[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new Nt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new Ut(n,this,t)),this._$AV.push(e),a=r[++s]}i!==a?.index&&(n=It.nextNode(),i++)}return It.currentNode=ht,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 Nt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=At,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=Mt(this,t,e),vt(t)?t===At||null==t||""===t?(this._$AH!==At&&this._$AR(),this._$AH=At):t!==this._$AH&&t!==Ot&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>mt(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!==At&&vt(this._$AH)?this._$AA.nextSibling.data=t:this.T(ht.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=Lt.createElement(Dt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new Pt(o,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=jt.get(t.strings);return void 0===e&&jt.set(t.strings,e=new Lt(t)),e}k(t){mt(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 Nt(this.S(gt()),this.S(gt()),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=At,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=At}_$AI(t,e=this,r,o){const n=this.strings;let i=!1;if(void 0===n)t=Mt(this,t,e,0),i=!vt(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=Mt(this,o[r+s],e,s),a===Ot&&(a=this._$AH[s]),i||=!vt(a)||a!==this._$AH[s],a===At?t=At:t!==At&&(t+=(a??"")+n[s+1]),this._$AH[s]=a}i&&!o&&this.j(t)}j(t){t===At?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class zt extends qt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===At?void 0:t}}class Ht extends qt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==At)}}class Vt extends qt{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){if((t=Mt(this,t,e,0)??At)===Ot)return;const r=this._$AH,o=t===At&&r!==At||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==At&&(r===At||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 Ut{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){Mt(this,t)}}const Ft=lt.litHtmlPolyfillSupport;Ft?.(Lt,Nt),(lt.litHtmlVersions??=[]).push("3.1.3");class Bt extends at{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 Nt(e.insertBefore(gt(),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}}Bt._$litElement$=!0,Bt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Bt});const Wt=globalThis.litElementPolyfillSupport;Wt?.({LitElement:Bt}),(globalThis.litElementVersions??=[]).push("4.0.5");const Kt=t=>(e,r)=>{void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},Xt={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:it},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 Qt(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 Jt extends Bt{static get formAssociated(){return!0}static{this.styles=B`
|
|
3
3
|
:host {
|
|
4
4
|
display: block;
|
|
5
5
|
padding: 16px;
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
<button class="btn btn-secondary" @click="${this.cancelChanges}">Cancel</button>
|
|
22
22
|
</div>
|
|
23
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,te;(te=Zt||(Zt={}))[te.Trace=0]="Trace",te[te.Debug=1]="Debug",te[te.Information=2]="Information",te[te.Warning=3]="Warning",te[te.Error=4]="Error",te[te.Critical=5]="Critical";const ee="LoggerServiceToken";I.container.register(Yt,{useClass:class{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)}}}},{lifecycle:n.Singleton});const re="LogReaderToken";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=[]}}function ne(t,e){return t||e}function ie(t,e){return t[e]}I.container.registerSingleton(oe),I.container.register(Yt,{useToken:oe}),I.container.register(re,{useToken:oe});var se,ae=void 0,le=null,ce="",de="function",ue="object",pe="prototype",be="__proto__",fe="undefined",he="constructor",ge="Symbol",ve="_polyfill",me="length",ye="name",we="call",_e="toString",xe=ne(Object),Ce=ie(xe,pe),ke=ne(String),Se=ie(ke,pe),Ee=ne(Math),Te=ne(Array),$e=ie(Te,pe),Oe=ie($e,"slice");function Ae(t,e){try{return{v:t.apply(this,e)}}catch(t){return{e:t}}}function Ie(t){return function(e){return typeof e===t}}function je(t){var e="[object "+t+"]";return function(t){return!(!t||Re(t)!==e)}}function Re(t){return Ce[_e].call(t)}function De(t){return typeof t===fe||t===fe}function Le(t){return t===le||De(t)}function Pe(t){return!!t||t!==ae}var Me=Ie("string"),Ne=Ie(de);function qe(t){return!(!t&&Le(t)||!t||typeof t!==ue)}var ze=ie(Te,"isArray"),He=je("Date"),Ve=Ie("number"),Ue=Ie("boolean"),Fe=je("Error");function Be(t){return!!(t&&t.then&&Ne(t.then))}function We(t){return!(!t||(e=function(){return!(t&&0+t)},r=!t,o=Ae(e),o.e?r:o.v));var e,r,o}var Ke=ie(xe,"getOwnPropertyDescriptor");function Xe(t,e){return!!t&&Ce.hasOwnProperty[we](t,e)}var Ge=ne(ie(xe,"hasOwn"),Je);function Je(t,e){return Xe(t,e)||!!Ke(t,e)}function Qe(t,e,r){if(t&&qe(t))for(var o in t)if(Ge(t,o)&&-1===e[we](r||t,o,t[o]))break}function Ye(t,e,r,o){var n={};return Qe(t,(function(t,o){n[t]=e?o:t,n[o]=r?o:t})),o(n)}var Ze=ne(ke),tr="[object Error]";function er(t,e){var r=ce,o=Ce[_e][we](t);o===tr&&(t={stack:Ze(t.stack),message:Ze(t.message),name:Ze(t.name)});try{r=(r=JSON.stringify(t,le,e?"number"==typeof e?e:4:ae))&&r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||Ze(t)}catch(t){r=" - "+er(t,e)}return o+": "+r}function rr(t){throw new Error(t)}function or(t){throw new TypeError(t)}var nr=ie(xe,"freeze");function ir(t){return t}function sr(t){return t[be]||le}var ar=ie(xe,"assign"),lr=ie(xe,"keys");function cr(t){return nr&&Qe(t,(function(t,e){(ze(e)||qe(e))&&nr(e)})),dr(t)}var dr=ne(nr,ir),ur=ne(ie(xe,"getPrototypeOf"),sr);function pr(t){return Ye(t,0,0,cr)}var br,fr=pr({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}),hr="__tsUtils$gblCfg";function gr(){var t;return typeof globalThis!==fe&&(t=globalThis),t||typeof self===fe||(t=self),t||typeof window===fe||(t=window),t||typeof r.g===fe||(t=r.g),t}function vr(){if(!br){var t=Ae(gr).v||{};br=t[hr]=t[hr]||{}}return br}var mr=yr;function yr(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?Oe[we](i,1):i)}or('"'+Ze(t)+'" not defined for '+er(e))}}function wr(t){return function(e){return e[t]}}var _r=ie(Ee,"max"),xr=mr("slice",Se),Cr=mr("substring",Se),kr=yr("substr",Se,Sr);function Sr(t,e,r){return Le(t)&&or("Invalid "+er(t)),r<0?ce:((e=e||0)<0&&(e=_r(e+t[me],0)),De(r)?xr(t,e):xr(t,e,e+r))}function Er(t,e){return Cr(t,0,e)}var Tr,$r,Or="_urid";function Ar(t){var e={description:Ze(t),toString:function(){return ge+"("+t+")"}};return e[ve]=!0,e}function Ir(t){var e=function(){if(!Tr){var t=vr();Tr=t.gblSym=t.gblSym||{k:{},s:{}}}return Tr}();if(!Ge(e.k,t)){var r=Ar(t),o=lr(e.s).length;r[Or]=function(){return o+"_"+r[_e]()},e.k[t]=r,e.s[r[Or]()]=Ze(t)}return e.k[t]}var jr={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};var Rr,Dr=ie(xe,"defineProperty"),Lr=ie(xe,"defineProperties");function Pr(t,e,r){return Dr(t,e,function(t){var e={};if(e[jr.c]=!0,e[jr.e]=!0,t.l){e.get=function(){return t.l.v};var r=Ke(t.l,"v");r&&r.set&&(e.set=function(e){t.l.v=e})}return Qe(t,(function(t,r){e[jr[t]]=De(r)?e[jr[t]]:r})),e}(r))}function Mr(){Rr=vr()}function Nr(t){return Dr({toJSON:function(){return t}},"v",{value:t})}var qr,zr="window";function Hr(t,e){var r;return function(){return!Rr&&Mr(),(!r||Rr.lzy)&&(r=Nr(Ae(t,e).v)),r.v}}function Vr(t){return!Rr&&Mr(),(!qr||!1===t||Rr.lzy)&&(qr=Nr(Ae(gr).v||le)),qr.v}function Ur(t,e){var r=qr&&!1!==e?qr.v:Vr(e);return r&&r[t]?r[t]:t===zr?Jr():le}function Fr(){return!!Br()}var Br=Hr(Ur,["document"]);function Wr(){return!!Jr()}var Kr,Xr,Gr,Jr=Hr(Ur,[zr]),Qr=Hr(Ur,["navigator"]),Yr=Hr(Ur,["history"]),Zr=Hr((function(){return!!Ae((function(){return process&&(process.versions||{}).node})).v})),to=Hr((function(){return!!Ae((function(){return self&&self instanceof WorkerGlobalScope})).v}));function eo(){return Kr=Nr(Ae(Ur,[ge]).v)}function ro(t){var e=(Rr.lzy?0:Kr)||eo();return e.v?e.v[t]:ae}function oo(){return!!no()}function no(){return!Rr&&Mr(),((Rr.lzy?0:Kr)||eo()).v}function io(t,e){var r=fr[t];!Rr&&Mr();var o=(Rr.lzy?0:Kr)||eo();return o.v?o.v[r||t]:e?ae:function(t){var e;!$r&&($r={});var r=fr[t];return r&&(e=$r[r]=$r[r]||Ar(ge+"."+r)),e}(t)}function so(t,e){!Rr&&Mr();var r=(Rr.lzy?0:Kr)||eo();return r.v?r.v(t):e?le:Ar(t)}function ao(t){return!Rr&&Mr(),((Xr=(Rr.lzy?0:Xr)||Nr(Ae(ro,["for"]).v)).v||Ir)(t)}function lo(t){return!!t&&Ne(t.next)}function co(t,e,r){if(t&&(lo(t)||(!Gr&&(Gr=Nr(io(3))),t=t[Gr.v]?t[Gr.v]():null),lo(t))){var o=ae,n=ae;try{for(var i=0;!(n=t.next()).done&&-1!==e[we](r||t,n.value,i,t);)i++}catch(e){o={e},t.throw&&(n=le,t.throw(o))}finally{try{n&&!n.done&&t.return&&t.return(n)}finally{if(o)throw o.e}}}}function uo(t,e,r){return t.apply(e,r)}function po(t,e){return!De(e)&&t&&(ze(e)?uo(t.push,t,e):lo(e)||!function(t){return t===le||!Pe(t)}(r=e)&&Ne(r[io(3)])?co(e,(function(e){t.push(e)})):t.push(e)),t;var r}function bo(t,e,r){if(t)for(var o=t[me]>>>0,n=0;n<o&&(!(n in t)||-1!==e[we](r||t,t[n],n,t));n++);}var fo=mr("indexOf",$e),ho=mr("map",$e);function go(t,e,r){return(t&&t.slice||Oe).apply(t,Oe[we](arguments,1))}var vo,mo,yo=mr("reduce",$e),wo=ne(ie(xe,"create"),_o);function _o(t){if(!t)return{};var e=typeof t;function r(){}return e!==ue&&e!==de&&or("Prototype must be an Object or function: "+er(t)),r[pe]=t,new r}function xo(t,e){var r=xe.setPrototypeOf||function(t,e){var r;!vo&&(vo=Nr(((r={})[be]=[],r instanceof Array))),vo.v?t[be]=e:Qe(e,(function(e,r){return t[e]=r}))};return r(t,e)}function Co(t,e){e&&(t[ye]=e)}function ko(t,e,r){var o=r||Error,n=o[pe][ye],i=Error.captureStackTrace;return function(t,e,r){function o(){this[he]=e,Ae(Pr,[this,ye,{v:t,c:!0,e:!1}])}return Ae(Pr,[e,ye,{v:t,c:!0,e:!1}]),(e=xo(e,r))[pe]=r===le?wo(r):(o[pe]=r[pe],new o),e}(t,(function(){var r=this,s=arguments;try{Ae(Co,[o,t]);var a=uo(o,r,Oe[we](s))||r;if(a!==r){var l=ur(r);l!==ur(a)&&xo(a,l)}return i&&i(a,r[he]),e&&e(a,s),a}finally{Ae(Co,[o,n])}}),o)}function So(){return(Date.now||Eo)()}function Eo(){return(new Date).getTime()}function To(t){return function(e){return Le(e)&&or("strTrim called ["+er(e)+"]"),e&&e.replace&&(e=e.replace(t,ce)),e}}var $o,Oo,Ao,Io=yr("trim",Se,To(/^\s+|(?=\s)\s+$/g));function jo(t){if(!t||typeof t!==ue)return!1;Ao||(Ao=!Wr()||Jr());var e=!1;if(t!==Ao){Oo||($o=Function[pe][_e],Oo=$o[we](xe));try{var r=ur(t);(e=!r)||(Xe(r,he)&&(r=r[he]),e=r&&typeof r===de&&$o[we](r)===Oo)}catch(t){}}return e}function Ro(t){return t.value&&Mo(t),!0}var Do=[function(t){var e=t.value;if(ze(e)){var r=t.result=[];return r.length=e.length,t.copyTo(r,e),!0}return!1},Mo,function(t){return t.type===de},function(t){var e=t.value;return!!He(e)&&(t.result=new Date(e.getTime()),!0)}];function Lo(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===ue?l=jo(e):c=e===le||function(t){return!se&&(se=["string","number","boolean",fe,"symbol","bigint"]),t!==ue&&-1!==se.indexOf(t)}(a);var d={type:a,isPrim:c,isPlain:l,value:e,result:e,path:i,origin:r.src,copy:function(e,o){return Lo(t,e,o?s:r,o)},copyTo:function(e,r){return Po(t,e,r,s)}};return d.isPrim?n&&n[we](r,d)?d.result:e:function(t,e,o,i){var s;return bo(t,(function(t){if(t.k===e)return s=t,-1})),s||(s={k:e,v:e},t.push(s),function(t){Pr(d,"result",{g:function(){return t.v},s:function(e){t.v=e}});for(var e=0,o=n;!(o||(e<Do.length?Do[e++]:Ro))[we](r,d);)o=le}(s)),s.v}(t,e)}function Po(t,e,r,o){if(!Le(r))for(var n in r)e[n]=Lo(t,r[n],o,n);return e}function Mo(t){var e=t.value;if(e&&t.isPlain){var r=t.result={};return t.copyTo(r,e),!0}return!1}function No(t,e){return bo(e,(function(e){!function(t,e,r){Po([],t,e,{handler:void 0,src:e,path:[]})}(t,e)})),t}function qo(t,e,r,o,n,i,s){return No(Lo([],a=t,{handler:undefined,src:a})||{},Oe[we](arguments));var a}var zo,Ho=wr(me);function Vo(){return!Rr&&Mr(),(!zo||Rr.lzy)&&(zo=Nr(Ae(Ur,["performance"]).v)),zo.v}var Uo=mr("split",Se);function Fo(t,e,r){if(t&&e){var o=Uo(e,"."),n=o.pop();bo(o,(function(e){Le(t[e])&&(t[e]={}),t=t[e]})),t[n]=r}}oo();var Bo=yr("endsWith",Se,Wo);function Wo(t,e,r){Me(t)||or("'"+er(t)+"' is not a string");var o=Me(e)?e:Ze(e),n=!De(r)&&r<t[me]?r:t[me];return Cr(t,n-o[me],n)===o}var Ko,Xo=mr("indexOf",Se),Go="ref",Jo="unref",Qo="hasRef",Yo="enabled";function Zo(t,e,r){var o=ze(e),n=o?e.length:0,i=(n>0?e[0]:o?ae:e)||setTimeout,s=(n>1?e[1]:ae)||clearTimeout,a=r[0];r[0]=function(){l.dn(),uo(a,ae,Oe[we](arguments))};var l=function(t,e,r){var o,n=!0,i=t?e(le):le;function s(){return n=!1,i&&i[Jo]&&i[Jo](),o}function a(){i&&r(i),i=le}function l(){return i=e(i),n||s(),o}return(o={cancel:a,refresh:l})[Qo]=function(){return i&&i[Qo]?i[Qo]():n},o[Go]=function(){return n=!0,i&&i[Go]&&i[Go](),o},o[Jo]=s,{h:o=Dr(o,Yo,{get:function(){return!!i},set:function(t){!t&&i&&a(),t&&!i&&l()}}),dn:function(){i=le}}}(t,(function(t){if(t){if(t.refresh)return t.refresh(),t;uo(s,ae,[t])}return uo(i,ae,r)}),(function(t){uo(s,ae,[t])}));return l.h}function tn(t,e){return Zo(!0,ae,Oe[we](arguments))}var en="constructor",rn="prototype",on="function",nn="_dynInstFuncs",sn="_isDynProxy",an="_dynClass",ln="_dynInstChk",cn=ln,dn="_dfOpts",un="_unknown_",pn="__proto__",bn="_dyn"+pn,fn="__dynProto$Gbl",hn="_dynInstProto",gn="useBaseInst",vn="setInstFuncs",mn=Object,yn=mn.getPrototypeOf,wn=mn.getOwnPropertyNames,_n=Vr(),xn=_n[fn]||(_n[fn]={o:(Ko={},Ko[vn]=!0,Ko[gn]=!0,Ko),n:1e3});function Cn(t){return t&&(t===mn[rn]||t===Array[rn])}function kn(t){return Cn(t)||t===Function[rn]}function Sn(t){var e;if(t){if(yn)return yn(t);var r=t[pn]||t[rn]||(t[en]?t[en][rn]:null);e=t[bn]||r,Xe(t,bn)||(delete t[hn],e=t[bn]=t[hn]||t[bn],t[hn]=r)}return e}function En(t,e){var r=[];if(wn)r=wn(t);else for(var o in t)"string"==typeof o&&Xe(t,o)&&r.push(o);if(r&&r.length>0)for(var n=0;n<r.length;n++)e(r[n])}function Tn(t,e,r){return e!==en&&typeof t[e]===on&&(r||Xe(t,e))&&e!==pn&&e!==rn}function $n(t){or("DynamicProto: "+t)}function On(t,e){for(var r=t.length-1;r>=0;r--)if(t[r]===e)return!0;return!1}function An(t,e,r,o,n){if(!Cn(t)){var i=r[nn]=r[nn]||wo(null);if(!Cn(i)){var s=i[e]=i[e]||wo(null);!1!==i[cn]&&(i[cn]=!!n),Cn(s)||En(r,(function(e){Tn(r,e,!1)&&r[e]!==o[e]&&(s[e]=r[e],delete r[e],(!Xe(t,e)||t[e]&&!t[e][sn])&&(t[e]=function(t,e){var r=function(){var o=function(t,e,r,o){var n=null;if(t&&Xe(r,an)){var i=t[nn]||wo(null);if((n=(i[r[an]]||wo(null))[e])||$n("Missing ["+e+"] "+on),!n[ln]&&!1!==i[cn]){for(var s=!Xe(t,e),a=Sn(t),l=[];s&&a&&!kn(a)&&!On(l,a);){var c=a[e];if(c){s=c===o;break}l.push(a),a=Sn(a)}try{s&&(t[e]=n),n[ln]=1}catch(t){i[cn]=!1}}}return n}(this,e,t,r)||function(t,e,r){var o=e[t];return o===r&&(o=Sn(e)[t]),typeof o!==on&&$n("["+t+"] is not a "+on),o}(e,t,r);return o.apply(this,arguments)};return r[sn]=1,r}(t,e)))}))}}}function In(t,e){return Xe(t,rn)?t.name||e||un:((t||{})[en]||{}).name||e||un}function jn(t,e,r,o){Xe(t,rn)||$n("theClass is an invalid class definition.");var n=t[rn];(function(t,e){if(yn){for(var r=[],o=Sn(e);o&&!kn(o)&&!On(r,o);){if(o===t)return!0;r.push(o),o=Sn(o)}return!1}return!0})(n,e)||$n("["+In(t)+"] not in hierarchy of ["+In(e)+"]");var i=null;Xe(n,an)?i=n[an]:(i="_dynCls$"+In(t,"_")+"$"+xn.n,xn.n++,n[an]=i);var s=jn[dn],a=!!s[gn];a&&o&&void 0!==o[gn]&&(a=!!o[gn]);var l=function(t){var e=wo(null);return En(t,(function(r){!e[r]&&Tn(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[sn]&&o){var i=t[nn]||{};!1!==i[cn]&&(n=(i[e[an]]||{})[r]||n)}return function(){return n.apply(t,arguments)}}var i=wo(null);En(r,(function(t){i[t]=n(e,r,t)}));for(var s=Sn(t),a=[];s&&!kn(s)&&!On(a,s);)En(s,(function(t){!i[t]&&Tn(s,t,!yn)&&(i[t]=n(e,s,t))})),a.push(s),s=Sn(s);return i}(n,e,l,a);r(e,c);var d=!!yn&&!!s[vn];d&&o&&(d=!!o[vn]),An(n,i,e,l,!1!==d)}jn[dn]=xn.o;var Rn="function",Dn="object",Ln="undefined",Pn="prototype",Mn=Object,Nn=Mn[Pn],qn=((Vr()||{}).Symbol,(Vr()||{}).Reflect,"hasOwnProperty"),zn=ar||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])Nn[qn].call(e,n)&&(t[n]=e[n]);return t},Hn=function(t,e){return Hn=Mn.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e[qn](r)&&(t[r]=e[r])},Hn(t,e)};function Vn(t,e){function r(){this.constructor=t}typeof e!==Rn&&null!==e&&or("Class extends value "+String(e)+" is not a constructor or null"),Hn(t,e),t[Pn]=null===e?wo(e):(r[Pn]=e[Pn],new r)}function Un(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t}var Fn="toLowerCase",Bn="blkVal",Wn="length",Kn="rdOnly",Xn="notify",Gn="warnToConsole",Jn="throwInternal",Qn="setDf",Yn="watch",Zn="logger",ti="apply",ei="push",ri="splice",oi="hdlr",ni="cancel",ii="initialize",si="identifier",ai="removeNotificationListener",li="addNotificationListener",ci="isInitialized",di="getNotifyMgr",ui="getPlugin",pi="pollInternalLogs",bi="name",fi="time",hi="processNext",gi="getProcessTelContext",vi="enabled",mi="stopPollingInternalLogs",yi="unload",wi="onComplete",_i="version",xi="loggingLevelConsole",Ci="createNew",ki="teardown",Si="messageId",Ei="message",Ti="isAsync",$i="diagLog",Oi="_doTeardown",Ai="update",Ii="getNext",ji="setNextPlugin",Ri="protocol",Di="userAgent",Li="split",Pi="nodeType",Mi="replace",Ni="logInternalMessage",qi="type",zi="handler",Hi="status",Vi="getResponseHeader",Ui="getAllResponseHeaders",Fi="isChildEvt",Bi="data",Wi="getCtx",Ki="setCtx",Xi="complete",Gi="itemsReceived",Ji="urlString",Qi="sendPOST",Yi="headers",Zi="timeout",ts="setRequestHeader",es="traceId",rs="spanId",os="traceFlags",ns=void 0,is="",ss="channels",as="core",ls="createPerfMgr",cs="disabled",ds="extensionConfig",us="extensions",ps="processTelemetry",bs="priority",fs="eventsSent",hs="eventsDiscarded",gs="eventsSendRequest",vs="perfEvent",ms="offlineEventsStored",ys="offlineBatchSent",ws="offlineBatchDrop",_s="getPerfMgr",xs="domain",Cs="path",ks="Not dynamic - ",Ss=/-([a-z])/g,Es=/([^\w\d_$])/g,Ts=/^(\d+[\w\d_$])/,$s=Object.getPrototypeOf;function Os(t){return!Le(t)}function As(t){var e=t;return e&&Me(e)&&(e=(e=(e=e[Mi](Ss,(function(t,e){return e.toUpperCase()})))[Mi](Es,"_"))[Mi](Ts,(function(t,e){return"_"+e}))),e}function Is(t,e){return!(!t||!e)&&-1!==Xo(t,e)}function js(t){return t&&t.toISOString()||""}function Rs(t){return Fe(t)?t[bi]:is}function Ds(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 Ls(t,e,r){var o;return t?!(o=t[e])&&Le(o)&&(o=De(r)?{}:r,t[e]=o):o=De(r)?{}:r,o}function Ps(t,e){var r=null,o=null;return Ne(t)?r=t:o=t,function(){var t=arguments;if(r&&(o=r()),o)return o[e][ti](o,t)}}function Ms(t,e,r,o,n){t&&e&&r&&(!1!==n||De(t[e]))&&(t[e]=Ps(r,o))}function Ns(t,e,r,o){return t&&e&&qe(t)&&ze(r)&&bo(r,(function(r){Me(r)&&Ms(t,r,e,r,o)})),t}function qs(t){return t&&ar&&(t=Mn(ar({},t))),t}function zs(t,e,r,o,n,i){var s=arguments,a=s[0]||{},l=s[Wn],c=!1,d=1;for(l>0&&Ue(a)&&(c=a,a=s[d]||{},d++),qe(a)||(a={});d<l;d++){var u=s[d],p=ze(u),b=qe(u);for(var f in u)if(p&&f in u||b&&Ge(u,f)){var h=u[f],g=void 0;if(c&&h&&((g=ze(h))||jo(h))){var v=a[f];g?ze(v)||(v=[]):jo(v)||(v={}),h=zs(c,v,h)}void 0!==h&&(a[f]=h)}}return a}function Hs(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 Vs(t){try{return t.responseText}catch(t){}return null}function Us(t,e){return t?"XDomainRequest,Response:"+Vs(t)||0:e}function Fs(t,e){return t?"XMLHttpRequest,Status:"+t[Hi]+",Response:"+Vs(t)||0:e}function Bs(t,e){return e&&(Ve(e)?t=[e].concat(t):ze(e)&&(t=e.concat(t))),t}var Ws="withCredentials";function Ks(t,e,r){if(!t[r]&&e&&e[Vi]){var o=e[Vi](r);o&&(t[r]=Io(o))}return t}function Xs(t,e){var r,o,n={};return t[Ui]?(r=t[Ui](),o={},Me(r)&&bo(Io(r)[Li](/[\r\n]+/),(function(t){if(t){var e=t.indexOf(": ");if(-1!==e){var r=Io(t.substring(0,e))[Fn](),n=Io(t.substring(e+1));o[r]=n}else o[Io(t)]=1}})),n=o):e&&(n=Ks(n,t,"time-delta-millis"),n=Ks(n,t,"kill-duration"),n=Ks(n,t,"kill-duration-seconds")),n}var Gs="location",Js="JSON",Qs="crypto",Ys="msCrypto",Zs="msie",ta="trident/",ea="XMLHttpRequest",ra=null,oa=null,na=!1,ia=null,sa=null;function aa(t,e){var r=!1;if(t){try{if(!(r=e in t)){var o=t[Pn];o&&(r=e in o)}}catch(t){}if(!r)try{r=!De((new t)[e])}catch(t){}}return r}function la(t){if(t&&na){var e=Ur("__mockLocation");if(e)return e}return typeof location===Dn&&location?location:Ur(Gs)}function ca(){return Boolean(typeof JSON===Dn&&JSON||null!==Ur(Js))}function da(){return ca()?JSON||Ur(Js):null}function ua(){var t=Qr();if(t&&(t[Di]!==oa||null===ra)){var e=((oa=t[Di])||is)[Fn]();ra=Is(e,Zs)||Is(e,ta)}return ra}function pa(t){if(void 0===t&&(t=null),!t){var e=Qr()||{};t=e?(e.userAgent||is)[Fn]():is}var r=(t||is)[Fn]();if(Is(r,Zs)){var o=Br()||{};return Math.max(parseInt(r[Li](Zs)[1]),o.documentMode||0)}if(Is(r,ta)){var n=parseInt(r[Li](ta)[1]);if(n)return n+4}return null}function ba(t){return null!==sa&&!1!==t||(sa=!!Qr()&&Boolean(Qr().sendBeacon)),sa}function fa(t){var e=!1;try{e=!!Ur("fetch");var r=Ur("Request");e&&t&&r&&(e=aa(r,"keepalive"))}catch(t){}return e}function ha(){var t=!1;try{t=!!Ur(ea)}catch(t){}return t}var ga=4294967296,va=4294967295,ma=123456789,ya=987654321,wa=!1,_a=ma,xa=ya;function Ca(){try{var t=2147483647&So();(e=(Math.random()*ga^t)+t)<0&&(e>>>=0),_a=ma+e&va,xa=ya-e&va,wa=!0}catch(t){}var e}function ka(t){var e=0,r=Ur(Qs)||Ur(Ys);return r&&r.getRandomValues&&(e=r.getRandomValues(new Uint32Array(1))[0]&va),0===e&&ua()&&(wa||Ca(),e=function(t){var e=((xa=36969*(65535&xa)+(xa>>16)&va)<<16)+(65535&(_a=18e3*(65535&_a)+(_a>>16)&va))>>>0&va;return e>>>=0}()&va),0===e&&(e=Math.floor(ga*Math.random()|0)),t||(e>>>=0),e}function Sa(t){void 0===t&&(t=22);for(var e=ka()>>>0,r=0,o=is;o[Wn]<t;)r++,o+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&e),e>>>=6,5===r&&(e=(ka()<<2&4294967295|3&e)>>>0,r=0);return o}var Ea="3.2.1",Ta="."+Sa(6),$a=0;function Oa(t){return 1===t[Pi]||9===t[Pi]||!+t[Pi]}function Aa(t,e){return void 0===e&&(e=!1),As(t+$a+++(e?"."+Ea:is)+Ta)}function Ia(t){var e={id:Aa("_aiData-"+(t||is)+"."+Ea),accept:function(t){return Oa(t)},get:function(t,r,o,n){var i=t[e.id];return i?i[As(r)]:(n&&(i=function(t,e){var r=e[t.id];if(!r){r={};try{Oa(e)&&Pr(e,t.id,{e:!1,v:r})}catch(t){}}return r}(e,t),i[As(r)]=o),o)},kill:function(t,e){if(t&&t[e])try{delete t[e]}catch(t){}}};return e}function ja(t){return t&&qe(t)&&(t.isVal||t.fb||Ge(t,"v")||Ge(t,"mrg")||Ge(t,"ref")||t.set)}function Ra(t,e,r){var o,n=r.dfVal||Pe;if(e&&r.fb){var i=r.fb;ze(i)||(i=[i]);for(var s=0;s<i[Wn];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,Ze(a),l)),n(o))break}}return!n(o)&&n(r.v)&&(o=r.v),o}function Da(t,e,r){var o,n=r;return r&&ja(r)&&(n=Ra(t,e,r)),n&&(ja(n)&&(n=Da(t,e,n)),ze(n)?(o=[])[Wn]=n[Wn]:jo(n)&&(o={}),o&&(Qe(n,(function(r,n){n&&ja(n)&&(n=Da(t,e,n)),o[r]=n})),n=o)),n}function La(t,e,r,o){var n,i,s,a,l,c,d,u,p=o;ja(p)?(n=p.isVal,i=p.set,c=p[Kn],d=p[Bn],a=p.mrg,!(l=p.ref)&&De(l)&&(l=!!a),s=Ra(t,e,p)):s=o,d&&t[Bn](e,r);var b=!0,f=e[r];!f&&Le(f)||(u=f,b=!1,n&&u!==s&&!n(u)&&(u=s,b=!0),i&&(b=(u=i(u,s,e))===s)),b?u=s?Da(t,e,s):s:(jo(u)||ze(s))&&a&&s&&(jo(s)||ze(s))&&Qe(s,(function(e,r){La(t,u,e,r)})),t.set(e,r,u),l&&t.ref(e,r),c&&t[Kn](e,r)}var Pa=ao("[[ai_dynCfg_1]]"),Ma=ao("[[ai_blkDynCfg_1]]"),Na=ao("[[ai_frcDynCfg_1]]");function qa(t){var e;return t&&(ze(t)?(e=[])[Wn]=t[Wn]:jo(t)&&(e={}),e)?(Qe(t,(function(t,r){e[t]=qa(r)})),e):t}function za(t,e,r){var o=!1;return r&&!t[e.blkVal]&&((o=r[Na])||r[Ma]||(o=jo(r)||ze(r))),o}function Ha(t){or("InvalidAccess:"+t)}var Va,Ua=["push","pop","shift","unshift","splice"],Fa=function(t,e,r,o){t&&t[Jn](3,108,"".concat(r," [").concat(e,"] failed - ")+er(o))};function Ba(t,e){var r=Ke(t,e);return r&&r.get}function Wa(t,e,r,o){if(e){var n=Ba(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===fo(n.h,e)&&n.h[ei](e),t.trk(e,n))},clr:function(t){var e=fo(n.h,t);-1!==e&&n.h[ri](e,1)}},i=!0,s=!1;function a(){i&&(s=s||za(a,t,o),o&&!o[Pa]&&s&&(o=Xa(t,o,r,"Converting")),i=!1);var e=t.act;return e&&n.trk(e),o}a[t.prop]={chng:function(){t.add(n)}},Pr(e,n.n,{g:a,s:function(l){if(o!==l){a[t.ro]&&!t.upd&&Ha("["+r+"] is read-only:"+er(e)),i&&(s=s||za(a,t,o),i=!1);var c=s&&a[t.rf];if(s)if(c){Qe(o,(function(t){o[t]=l?l[t]:ns}));try{Qe(l,(function(e,r){Wa(t,o,e,r)})),l=o}catch(e){Fa((t.hdlr||{})[Zn],r,"Assigning",e),s=!1}}else o&&o[Pa]&&Qe(o,(function(e){var r=Ba(o,e);if(r){var n=r[t.prop];n&&n.chng()}}));if(l!==o){var d=l&&za(a,t,l);!c&&d&&(l=Xa(t,l,r,"Converting")),o=l,s=d}t.add(n)}}})}(t,e,r,o)}return e}function Ka(t,e,r,o){if(e){var n=Ba(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&&(jo(t)||ze(t)))try{t[Ma]=!0}catch(t){}}(e)}catch(e){Fa((t.hdlr||{})[Zn],r,"Blocking",e)}try{Wa(t,e,r,e[r]),n=Ba(e,r)}catch(e){Fa((t.hdlr||{})[Zn],r,"State",e)}}s&&(n[t.rf]=s),a&&(n[t.ro]=a),l&&(n[t.blkVal]=!0)}return e}function Xa(t,e,r,o){try{Qe(e,(function(r,o){Wa(t,e,r,o)})),e[Pa]||(Dr(e,Pa,{get:function(){return t[oi]}}),function(t,e,r){ze(e)&&bo(Ua,(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[ti](this,o);return Xa(t,e,r,"Patching"),s}}))}(t,e,r))}catch(e){Fa((t.hdlr||{})[Zn],r,o,e)}return e}var Ga="[[ai_",Ja="]]";function Qa(t,e,r){var o,n=function(t){if(t){var e=t[Pa]||t;if(e.cfg&&(e.cfg===t||e.cfg[Pa]===e))return e}return null}(e);if(n)return n;var i,s=Aa("dyncfg",!0),a=e&&!1!==r?e:qa(e),l=((o={uid:null,cfg:a})[Zn]=t,o[Xn]=function(){i[Xn]()},o.set=function(e,r,o){try{e=Wa(i,e,r,o)}catch(e){Fa(t,r,"Setting value",e)}return e[r]},o[Qn]=function(t,e){return e&&Qe(e,(function(e,r){La(l,t,e,r)})),t},o[Yn]=function(t){return function(t,e){var r={fn:e,rm:function(){r.fn=null,t=null,e=null}};return Pr(r,"toJSON",{v:function(){return"WatcherHandler"+(r.fn?"":"[X]")}}),t.use(r,e),r}(i,t)},o.ref=function(t,e){var r;return Ka(i,t,e,(r={},r[0]=!0,r))[e]},o[Kn]=function(t,e){var r;return Ka(i,t,e,(r={},r[1]=!0,r))[e]},o[Bn]=function(t,e){var r;return Ka(i,t,e,(r={},r[2]=!0,r))[e]},o._block=function(t,e){i.use(null,(function(r){var o=i.upd;try{De(e)||(i.upd=e),t(r)}finally{i.upd=o}}))},o);return Pr(l,"uid",{c:!1,e:!1,w:!1,v:s}),Xa(i=function(t){var e,r,o=so(Ga+"get"+t.uid+Ja),n=so(Ga+"ro"+t.uid+Ja),i=so(Ga+"rf"+t.uid+Ja),s=so(Ga+"blkVal"+t.uid+Ja),a=so(Ga+"dtl"+t.uid+Ja),l=null,c=null;function d(e,o){var n=r.act;try{r.act=e,e&&e[a]&&(bo(e[a],(function(t){t.clr(e)})),e[a]=[]),o({cfg:t.cfg,set:t.set.bind(t),setDf:t[Qn].bind(t),ref:t.ref.bind(t),rdOnly:t[Kn].bind(t)})}catch(e){var i=t[Zn];throw i&&i[Jn](1,107,er(e)),e}finally{r.act=n||null}}function u(){if(l){var t=l;l=null,c&&c[ni](),c=null;var e=[];if(bo(t,(function(t){if(t&&(t[a]&&(bo(t[a],(function(e){e.clr(t)})),t[a]=null),t.fn))try{d(t,t.fn)}catch(t){e[ei](t)}})),l)try{u()}catch(t){e[ei](t)}e[Wn]>0&&function(t,e){Va||(Va=ko("AggregationError",(function(t,e){e[Wn]>1&&(t.errors=e[1])})));var r="Watcher error(s): ";throw bo(e,(function(t,e){r+="\n".concat(e," > ").concat(er(t))})),new Va(r,e||[])}(0,e)}}return(e={prop:o,ro:n,rf:i})[Bn]=s,e[oi]=t,e.add=function(t){if(t&&t.h[Wn]>0){l||(l=[]),c||(c=tn((function(){c=null,u()}),0));for(var e=0;e<t.h[Wn];e++){var r=t.h[e];r&&-1===fo(l,r)&&l[ei](r)}}},e[Xn]=u,e.use=d,e.trk=function(t,e){if(t){var r=t[a]=t[a]||[];-1===fo(r,e)&&r[ei](e)}},r=e}(l),a,"config","Creating"),l}function Ya(t,e,r,o){var n=Qa(r,t||{},o);return e&&n[Qn](n.cfg,e),n}function Za(t,e,r){var o=t[Pa]||t;return!o.cfg||o.cfg!==t&&o.cfg[Pa]!==o?(function(t,e){t?(t[Gn](e),t[Jn](2,108,e)):Ha(e)}(r,ks+er(t)),Ya(t,null,r)[Yn](e)):o[Yn](e)}var tl,el,rl=[fs,hs,gs,vs],ol=null;function nl(t,e){return function(){var r=arguments,o=il(e);if(o){var n=o.listener;n&&n[t]&&n[t][ti](n,r)}}}function il(t){var e,r=ol;return r||!0===t.disableDbgExt||(r=ol||((e=Ur("Microsoft"))&&(ol=e.ApplicationInsights),ol)),r?r.ChromeDbgExt:null}var sl="warnToConsole",al={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},ll=((el={})[0]=null,el[1]="errorToConsole",el[2]=sl,el[3]="debugToConsole",el);function cl(t){return t?'"'+t[Mi](/\"/g,is)+'"':is}function dl(t,e){var r=typeof console!==Ln?console:Ur("console");if(r){var o="log";r[t]&&(o=t),Ne(r[o])&&r[o](e)}}var ul=function(){function t(t,e,r,o){void 0===r&&(r=!1);var n=this;n[Si]=t,n[Ei]=(r?"AI: ":"AI (Internal): ")+t;var i=is;ca()&&(i=da().stringify(o));var s=(e?" message:"+cl(e):is)+(o?" props:"+cl(i):is);n[Ei]+=s}return t.dataType="MessageData",t}();function pl(t,e){return(t||{})[Zn]||new bl(e)}var bl=function(){function t(e){this.identifier="DiagnosticLogger",this.queue=[];var r,o,n,i,s,a=0,l={};jn(t,this,(function(t){function c(e,r){if(!(a>=n)){var i=!0,s="AITR_"+r[Si];if(l[s]?i=!1:l[s]=!0,i&&(e<=o&&(t.queue[ei](r),a++,d(1===e?"error":"warn",r)),a===n)){var c="Internal events throttle limit per PageView reached for this app.",u=new ul(23,c,!1);t.queue[ei](u),1===e?t.errorToConsole(c):t[Gn](c)}}}function d(t,r){var o=il(e||{});o&&o[$i]&&o[$i](t,r)}s=function(e){return Za(Ya(e,al,t).cfg,(function(t){var e=t.cfg;r=e[xi],o=e.loggingLevelTelemetry,n=e.maxMessageLimit,i=e.enableDebug}))}(e||{}),t.consoleLoggingLevel=function(){return r},t[Jn]=function(e,o,n,s,a){void 0===a&&(a=!1);var u=new ul(o,n,a,s);if(i)throw er(u);var p=ll[e]||sl;if(De(u[Ei]))d("throw"+(1===e?"Critical":"Warning"),u);else{if(a){var b=+u[Si];!l[b]&&r>=e&&(t[p](u[Ei]),l[b]=!0)}else r>=e&&t[p](u[Ei]);c(e,u)}},t.debugToConsole=function(t){dl("debug",t),d("warning",t)},t[Gn]=function(t){dl("warn",t),d("warning",t)},t.errorToConsole=function(t){dl("error",t),d("error",t)},t.resetInternalMessageCount=function(){a=0,l={}},t[Ni]=c,t[yi]=function(t){s&&s.rm(),s=null}}))}return t.__ieDyn=1,t}();function fl(t){return t||new bl}function hl(t,e,r,o,n,i){void 0===i&&(i=!1),fl(t)[Jn](e,r,o,n,i)}function gl(t,e){fl(t)[Gn](e)}var vl=function(t){return Ye(t,1,0,cr)},ml=vl({LocalStorage:0,SessionStorage:1}),yl=(vl({AI:0,AI_AND_W3C:1,W3C:2}),vl({Normal:1,Critical:2}),"split"),wl="length",_l="toLowerCase",xl="ingestionendpoint",Cl="toString",kl="push",Sl="removeItem",El="name",Tl="message",$l="count",Ol="preTriggerDate",Al="disabled",Il="interval",jl="daysOfMonth",Rl="date",Dl="getUTCDate",Ll="stringify",Pl="pathname",Ml="correlationHeaderExcludePatterns",Nl="exceptions",ql="parsedStack",zl="properties",Hl="measurements",Vl="sizeInBytes",Ul="typeName",Fl="severityLevel",Bl="problemGroup",Wl="isManual",Kl="CreateFromInterface",Xl="assembly",Gl="fileName",Jl="hasFullStack",Ql="level",Yl="method",Zl="line",tc="duration",ec="receivedResponse",rc=void 0,oc=void 0,nc="";function ic(){return cc()?sc(ml.LocalStorage):null}function sc(t){try{if(Le(Vr()))return null;var e=(new Date)[Cl](),r=Ur(t===ml.LocalStorage?"localStorage":"sessionStorage"),o=nc+e;r.setItem(o,e);var n=r.getItem(o)!==e;if(r[Sl](o),!n)return r}catch(t){}return null}function ac(){return pc()?sc(ml.SessionStorage):null}function lc(t){nc=t||""}function cc(t){return(t||void 0===rc)&&(rc=!!sc(ml.LocalStorage)),rc}function dc(t,e){var r=ic();if(null!==r)try{return r.getItem(e)}catch(e){rc=!1,hl(t,2,1,"Browser failed read of local storage. "+Rs(e),{exception:er(e)})}return null}function uc(t,e,r){var o=ic();if(null!==o)try{return o.setItem(e,r),!0}catch(e){rc=!1,hl(t,2,3,"Browser failed write to local storage. "+Rs(e),{exception:er(e)})}return!1}function pc(t){return(t||void 0===oc)&&(oc=!!sc(ml.SessionStorage)),oc}function bc(t,e){var r=ac();if(null!==r)try{return r.getItem(e)}catch(e){oc=!1,hl(t,2,2,"Browser failed read of session storage. "+Rs(e),{exception:er(e)})}return null}function fc(t,e,r){var o=ac();if(null!==o)try{return o.setItem(e,r),!0}catch(e){oc=!1,hl(t,2,4,"Browser failed write to session storage. "+Rs(e),{exception:er(e)})}return!1}function hc(t,e){var r=ac();if(null!==r)try{return r[Sl](e),!0}catch(e){oc=!1,hl(t,2,6,"Browser failed removal of session storage item. "+Rs(e),{exception:er(e)})}return!1}var gc="AppInsightsPropertiesPlugin",vc="AppInsightsChannelPlugin",mc="ApplicationInsightsAnalytics",yc="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",wc="sampleRate",_c="ProcessLegacy",xc="http.method",Cc="https://dc.services.visualstudio.com",kc="/v2/track",Sc="not_specified",Ec="iKey";function Tc(t,e,r){var o=e[wl],n=function(t,e){var r;return e&&(e=Io(Ze(e)))[wl]>150&&(r=Cr(e,0,150),hl(t,2,57,"name is too long. It has been truncated to 150 characters.",{name:e},!0)),r||e}(t,e);if(n[wl]!==o){for(var i=0,s=n;void 0!==r[s];)i++,s=Cr(n,0,147)+Dc(i);n=s}return n}function $c(t,e,r){var o;return void 0===r&&(r=1024),e&&(r=r||1024,(e=Io(Ze(e)))[wl]>r&&(o=Cr(e,0,r),hl(t,2,61,"string value is too long. It has been truncated to "+r+" characters.",{value:e},!0))),o||e}function Oc(t,e){return Rc(t,e,2048,66)}function Ac(t,e){var r;return e&&e[wl]>32768&&(r=Cr(e,0,32768),hl(t,2,56,"message is too long, it has been truncated to 32768 characters.",{message:e},!0)),r||e}function Ic(t,e){if(e){var r={};Qe(e,(function(e,o){if(qe(o)&&ca())try{o=da()[Ll](o)}catch(e){hl(t,2,49,"custom property is not valid",{exception:e},!0)}o=$c(t,o,8192),e=Tc(t,e,r),r[e]=o})),e=r}return e}function jc(t,e){if(e){var r={};Qe(e,(function(e,o){e=Tc(t,e,r),r[e]=o})),e=r}return e}function Rc(t,e,r,o){var n;return e&&(e=Io(Ze(e)))[wl]>r&&(n=Cr(e,0,r),hl(t,2,o,"input is too long, it has been truncated to "+r+" characters.",{data:e},!0)),n||e}function Dc(t){var e="00"+t;return kr(e,e[wl]-3)}function Lc(t,e,r,o,n,i){var s;r=$c(o,r)||Sc,(Le(t)||Le(e)||Le(r))&&rr("Input doesn't contain all required fields");var a="";t[Ec]&&(a=t[Ec],delete t[Ec]);var l=((s={})[El]=r,s.time=js(new Date),s.iKey=a,s.ext=i||{},s.tags=[],s.data={},s.baseType=e,s.baseData=t,s);return Le(n)||Qe(n,(function(t,e){l.data[t]=e})),l}var Pc=function(){function t(t,e,r,o){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var n=this;n.ver=2,n[El]=$c(t,e)||Sc,n[zl]=Ic(t,r),n[Hl]=jc(t,o)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Event",t.dataType="EventData",t}(),Mc=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||Sc,i[Tl]=Ac(t,e),i[zl]=Ic(t,o),i[Hl]=jc(t,n),r&&(i[Fl]=r)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Message",t.dataType="MessageData",t}(),Nc=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},qc=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 d=new Nc;d[$l]=o>0?o:void 0,d.max=isNaN(i)||null===i?void 0:i,d.min=isNaN(n)||null===n?void 0:n,d[El]=$c(t,e)||Sc,d.value=r,d.stdDev=isNaN(s)||null===s?void 0:s,c.metrics=[d],c[zl]=Ic(t,a),c[Hl]=jc(t,l)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",t.dataType="MetricData",t}(),zc="";function Hc(t){(isNaN(t)||t<0)&&(t=0),t=Math.round(t);var e=zc+t%1e3,r=zc+Math.floor(t/1e3)%60,o=zc+Math.floor(t/6e4)%60,n=zc+Math.floor(t/36e5)%24,i=Math.floor(t/864e5);return e=1===e[wl]?"00"+e:2===e[wl]?"0"+e:e,r=r[wl]<2?"0"+r:r,o=o[wl]<2?"0"+o:o,n=n[wl]<2?"0"+n:n,(i>0?i+".":zc)+n+":"+o+":"+r+"."+e}var Vc=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?Rc(t,e,128,69)[Cl]():e}(t,s),a.url=Oc(t,r),a[El]=$c(t,e)||Sc,isNaN(o)||(a[tc]=Hc(o)),a[zl]=Ic(t,n),a[Hl]=jc(t,i)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",t.dataType="PageviewData",t}(),Uc=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=Oc(t,r),a[El]=$c(t,e)||Sc,a[zl]=Ic(t,n),a[Hl]=jc(t,i),s&&(a.domProcessing=s.domProcessing,a[tc]=s[tc],a.networkConnect=s.networkConnect,a.perfTotal=s.perfTotal,a[ec]=s[ec],a.sentRequest=s.sentRequest)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",t.dataType="PageviewPerformanceData",t}(),Fc="error",Bc="stack",Wc="stackDetails",Kc="errorSrc",Xc="message",Gc="description";function Jc(t,e){var r=t;return r&&!Me(r)&&(JSON&&JSON[Ll]?(r=JSON[Ll](t),!e||r&&"{}"!==r||(r=Ne(t[Cl])?t[Cl]():""+t)):r=t+" - (Missing JSON.stringify)"),r||""}function Qc(t,e){var r=t;return t&&(r&&!Me(r)&&(r=t[Xc]||t[Gc]||r),r&&!Me(r)&&(r=Jc(r,!0)),t.filename&&(r=r+" @"+(t.filename||"")+":"+(t.lineno||"?")+":"+(t.colno||"?"))),e&&"String"!==e&&"Object"!==e&&"Error"!==e&&-1===Xo(r||"",e)&&(r=e+": "+r),r||""}function Yc(t){return t&&t.src&&Me(t.src)&&t.obj&&ze(t.obj)}function Zc(t){var e=t||"";Me(e)||(e=Me(e[Bc])?e[Bc]:""+e);var r=e[yl]("\n");return{src:e,obj:r}}function td(t){var e=null;if(t)try{if(t[Bc])e=Zc(t[Bc]);else if(t[Fc]&&t[Fc][Bc])e=Zc(t[Fc][Bc]);else if(t.exception&&t.exception[Bc])e=Zc(t.exception[Bc]);else if(Yc(t))e=t;else if(Yc(t[Wc]))e=t[Wc];else if(Jr()&&Jr().opera&&t[Xc])e=function(t){for(var e=[],r=t[yl]("\n"),o=0;o<r[wl];o++){var n=r[o];r[o+1]&&(n+="@"+r[o+1],o++),e[kl](n)}return{src:t,obj:e}}(t[Tl]);else if(t.reason&&t.reason[Bc])e=Zc(t.reason[Bc]);else if(Me(t))e=Zc(t);else{var r=t[Xc]||t[Gc]||"";Me(t[Kc])&&(r&&(r+="\n"),r+=" from "+t[Kc]),r&&(e=Zc(r))}}catch(t){e=Zc(t)}return e||{src:"",obj:null}}function ed(t){var e="";if(t&&!(e=t.typeName||t[El]||""))try{var r=/function (.{1,200})\(/.exec(t.constructor[Cl]());e=r&&r[wl]>1?r[1]:""}catch(t){}return e}function rd(t){if(t)try{if(!Me(t)){var e=ed(t),r=Jc(t,!1);return r&&"{}"!==r||(t[Fc]&&(e=ed(t=t[Fc])),r=Jc(t,!0)),0!==Xo(r,e)&&"String"!==e?e+":"+r:r}}catch(t){}return""+(t||"")}var od=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(qe(t))return"ver"in t&&"exceptions"in t&&"properties"in t}catch(t){}return!1}(e)?(s[Nl]=e[Nl]||[],s[zl]=e[zl],s[Hl]=e[Hl],e[Fl]&&(s[Fl]=e[Fl]),e.id&&(s.id=e.id,e[zl].id=e.id),e[Bl]&&(s[Bl]=e[Bl]),Le(e[Wl])||(s[Wl]=e[Wl])):(r||(r={}),i&&(r.id=i),s[Nl]=[new nd(t,e,r)],s[zl]=Ic(t,r),s[Hl]=jc(t,o),n&&(s[Fl]=n),i&&(s.id=i))}return t.CreateAutoException=function(t,e,r,o,n,i,s,a){var l,c=ed(n||i||t);return(l={})[Tl]=Qc(t,c),l.url=e,l.lineNumber=r,l.columnNumber=o,l.error=rd(n||i||t),l.evt=rd(i||t),l[Ul]=c,l.stackDetails=td(s||n||i),l.errorSrc=a,l},t.CreateFromInterface=function(e,r,o,n){var i=r[Nl]&&ho(r[Nl],(function(t){return nd[Kl](e,t)}));return new t(e,zn(zn({},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&&ho(r,(function(t){return t.toInterface()}))||void 0;return(t={ver:"4.0"})[Nl]=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[Jl]=!0,s.message=t,s.stack=n,s.typeName=e,s)]}},t.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",t.dataType="ExceptionData",t.formatError=rd,t}(),nd=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(qe(t))return"hasFullStack"in t&&"typeName"in t}catch(t){}return!1}(e))o[Ul]=e[Ul],o[Tl]=e[Tl],o[Bc]=e[Bc],o[ql]=e[ql]||[],o[Jl]=e[Jl];else{var n=e,i=n&&n.evt;Fe(n)||(n=n[Fc]||i||n),o[Ul]=$c(t,ed(n))||Sc,o[Tl]=Ac(t,Qc(e||n,o[Ul]))||Sc;var s=e[Wc]||td(e);o[ql]=function(t){var e,r=t.obj;if(r&&r[wl]>0){e=[];var o=0,n=0;if(bo(r,(function(t){var r=t[Cl]();if(id.regex.test(r)){var i=new id(r,o++);n+=i[Vl],e[kl](i)}})),n>32768)for(var i=0,s=e[wl]-1,a=0,l=i,c=s;i<s;){if((a+=e[i][Vl]+e[s][Vl])>32768){var d=c-l+1;e.splice(l,d);break}l=i,c=s,i++,s--}}return e}(s),ze(o[ql])&&ho(o[ql],(function(e){e[Xl]=$c(t,e[Xl]),e[Gl]=$c(t,e[Gl])})),o[Bc]=function(t,e){var r;if(e){var o=""+e;o[wl]>32768&&(r=Cr(o,0,32768),hl(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?bo(t.obj,(function(t){e+=t+"\n"})):e=t.src||""),e}(s)),o.hasFullStack=ze(o.parsedStack)&&o.parsedStack[wl]>0,r&&(r[Ul]=r[Ul]||o[Ul])}}return t.prototype.toInterface=function(){var t,e=this,r=e[ql]instanceof Array&&ho(e[ql],(function(t){return t.toInterface()}));return(t={id:e.id,outerId:e.outerId,typeName:e[Ul],message:e[Tl],hasFullStack:e[Jl],stack:e[Bc]})[ql]=r||void 0,t},t.CreateFromInterface=function(e,r){var o=r[ql]instanceof Array&&ho(r[ql],(function(t){return id[Kl](t)}))||r[ql];return new t(e,zn(zn({},r),{parsedStack:o}))},t}(),id=function(){function t(e,r){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var o=this;if(o[Vl]=0,"string"==typeof e){var n=e;o[Ql]=r,o[Yl]="<no_method>",o[Xl]=Io(n),o[Gl]="",o[Zl]=0;var i=n.match(t.regex);i&&i[wl]>=5&&(o[Yl]=Io(i[2])||o[Yl],o[Gl]=Io(i[4]),o[Zl]=parseInt(i[5])||0)}else o[Ql]=e[Ql],o[Yl]=e[Yl],o[Xl]=e[Xl],o[Gl]=e[Gl],o[Zl]=e[Zl],o[Vl]=0;o.sizeInBytes+=o.method[wl],o.sizeInBytes+=o.fileName[wl],o.sizeInBytes+=o.assembly[wl],o[Vl]+=t.baseSize,o.sizeInBytes+=o.level.toString()[wl],o.sizeInBytes+=o.line.toString()[wl]}return t.CreateFromInterface=function(e){return new t(e,null)},t.prototype.toInterface=function(){var t=this;return{level:t[Ql],method:t[Yl],assembly:t[Xl],fileName:t[Gl],line:t[Zl]}},t.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,t.baseSize=58,t}();function sd(){for(var t,e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],r=is,o=0;o<4;o++)r+=e[15&(t=ka())]+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&ka())|0];return kr(r,0,8)+kr(r,9,4)+"4"+kr(r,13,3)+n+kr(r,16,3)+kr(r,19,12)}var ad="00",ld="00000000000000000000000000000000",cd="0000000000000000";function dd(t,e,r){return!(!t||t[Wn]!==e||t===r||!t.match(/^[\da-f]*$/i))}function ud(t,e,r){return dd(t,e)?t:r}function pd(t,e,r,o){var n;return(n={})[_i]=dd(o,2,"ff")?o:ad,n[es]=bd(t)?t:sd(),n[rs]=fd(e)?e:Er(sd(),16),n.traceFlags=r>=0&&r<=255?r:1,n}function bd(t){return dd(t,32,ld)}function fd(t){return dd(t,16,cd)}function hd(t){if(t){var e=function(t){(isNaN(t)||t<0||t>255)&&(t=1);for(var e=t.toString(16);e[Wn]<2;)e="0"+e;return e}(t[os]);dd(e,2)||(e="01");var r=t[_i]||ad;return"00"!==r&&"ff"!==r&&(r=ad),"".concat(r.toLowerCase(),"-").concat(ud(t.traceId,32,ld).toLowerCase(),"-").concat(ud(t.spanId,16,cd).toLowerCase(),"-").concat(e.toLowerCase())}return""}var gd=function(t){var e={};return Qe(t,(function(t,r){e[t]=r[1],e[r[0]]=r[1]})),cr(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"]}),vd=Br()||{},md=0,yd=[null,null,null,null,null];function wd(t){var e=md,r=yd,o=r[e];return vd.createElement?r[e]||(o=r[e]=vd.createElement("a")):o={host:_d(t,!0)},o.href=t,++e>=r[wl]&&(e=0),md=e,o}function _d(t,e){var r=xd(t,e)||"";if(r){var o=r.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=o&&o[wl]>3&&Me(o[2])&&o[2][wl]>0)return o[2]+(o[3]||"")}return r}function xd(t,e){var r=null;if(t){var o=t.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(null!=o&&o[wl]>2&&Me(o[2])&&o[2][wl]>0&&(r=o[2]||"",e&&o[wl]>2)){var n=(o[1]||"")[_l](),i=o[3]||"";("http"===n&&":80"===i||"https"===n&&":443"===i)&&(i=""),r+=i}}return r}var Cd=[Cc+kc,"https://breeze.aimon.applicationinsights.io"+kc,"https://dc-int.services.visualstudio.com"+kc];function kd(t){return-1!==fo(Cd,t[_l]())}function Sd(t,e,r){if(!e||t&&t.disableCorrelationHeaders)return!1;if(t&&t[Ml])for(var o=0;o<t.correlationHeaderExcludePatterns[wl];o++)if(t[Ml][o].test(e))return!1;var n=wd(e).host[_l]();if(!n||-1===Xo(n,":443")&&-1===Xo(n,":80")||(n=(xd(e,!0)||"")[_l]()),(!t||!t.enableCorsCorrelation)&&n&&n!==r)return!1;var i,s=t&&t.correlationHeaderDomains;if(s&&(bo(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[wl])return!0;for(o=0;o<a[wl];o++)if(new RegExp(a[o].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(n))return!1;return n&&n[wl]>0}function Ed(t){if(t){var e=function(t,e){if(t)for(var r=t[yl](","),o=0;o<r[wl];++o){var n=r[o][yl]("=");if(2===n[wl]&&n[0]===e)return n[1]}}(t,gd[1]);if(e&&"cid-v1:"!==e)return e}}function Td(){var t=Vo();if(t&&t.now&&t.timing){var e=t.now()+t.timing.navigationStart;if(e>0)return e}return So()}function $d(t,e){var r=null;return 0===t||0===e||Le(t)||Le(e)||(r=e-t),r}function Od(t,e){var r=t||{};return{getName:function(){return r[El]},setName:function(t){e&&e.setName(t),r[El]=t},getTraceId:function(){return r.traceID},setTraceId:function(t){e&&e.setTraceId(t),bd(t)&&(r.traceID=t)},getSpanId:function(){return r.parentID},setSpanId:function(t){e&&e.setSpanId(t),fd(t)&&(r.parentID=t)},getTraceFlags:function(){return r.traceFlags},setTraceFlags:function(t){e&&e.setTraceFlags(t),r.traceFlags=t}}}var Ad,Id,jd=function(){function t(t,e,r,o,n,i,s,a,l,c,d,u){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[tc]=Hc(n),p.success=i,p.resultCode=s+"",p.type=$c(t,l);var b=function(t,e,r,o){var n,i=o,s=o;if(e&&e[wl]>0){var a=wd(e);if(n=a.host,!i)if(null!=a[Pl]){var l=0===a.pathname[wl]?"/":a[Pl];"/"!==l.charAt(0)&&(l="/"+l),s=a[Pl],i=$c(t,r?r+" "+l:l)}else i=$c(t,e)}else n=o,i=o;return{target:n,name:i,data:s}}(t,r,a,o);p.data=Oc(t,o)||b.data,p.target=$c(t,b.target),c&&(p.target="".concat(p.target," | ").concat(c)),p[El]=$c(t,b[El]),p[zl]=Ic(t,d),p[Hl]=jc(t,u)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",t.dataType="RemoteDependencyData",t}();function Rd(t){var e=null;if(Ne(Event))e=new Event(t);else{var r=Br();r&&r.createEvent&&(e=r.createEvent("Event")).initEvent(t,!0,!0)}return e}function Dd(t,e,r){return!t&&Le(t)?e:Ue(t)?t:"true"===Ze(t)[Fn]()}function Ld(t){return{mrg:!0,v:t}}function Pd(t,e){return{set:t,v:e}}function Md(t,e,r){return{fb:r,isVal:t,v:e}}function Nd(t,e){return{fb:e,set:Dd,v:!!t}}var qd,zd="toGMTString",Hd="toUTCString",Vd="cookie",Ud="expires",Fd="isCookieUseDisabled",Bd="disableCookiesUsage",Wd="_ckMgr",Kd=null,Xd=null,Gd=null,Jd={},Qd={},Yd=((Ad={cookieCfg:Ld((Id={},Id[xs]={fb:"cookieDomain",dfVal:Os},Id.path={fb:"cookiePath",dfVal:Os},Id.enabled=ns,Id.ignoreCookies=ns,Id.blockedCookies=ns,Id)),cookieDomain:ns,cookiePath:ns})[Bd]=ns,Ad);function Zd(){var t,e;!qd&&(t=function(){return Br()},e={},!Rr&&Mr(),e.b=Rr.lzy,Dr(e,"v",{configurable:!0,get:function(){var r=t();return Rr.lzy||Dr(e,"v",{value:r}),e.b=Rr.lzy,r}}),qd=e)}function tu(t){return!t||t.isEnabled()}function eu(t,e){return!!(e&&t&&ze(t.ignoreCookies))&&-1!==fo(t.ignoreCookies,e)}function ru(t,e){var r=e[vi];if(Le(r)){var o=void 0;De(t[Fd])||(o=!t[Fd]),De(t[Bd])||(o=!t[Bd]),r=o}return r}function ou(t,e){var r;if(t)r=t.getCookieMgr();else if(e){var o=e.cookieCfg;r=o&&o[Wd]?o[Wd]:nu(e)}return r||(r=function(t,e){var r=nu[Wd]||Qd[Wd];return r||(r=nu[Wd]=nu(t,e),Qd[Wd]=r),r}(e,(t||{})[Zn])),r}function nu(t,e){var r,o,n,i,s,a,l,c,d;t=Ya(t||Qd,null,e).cfg,s=Za(t,(function(e){e[Qn](e.cfg,Yd),o=e.ref(e.cfg,"cookieCfg"),n=o[Cs]||"/",i=o[xs],a=!1!==ru(t,o),l=o.getCookie||cu,c=o.setCookie||du,d=o.delCookie||du}),e);var u=((r={isEnabled:function(){var r=!1!==ru(t,o)&&a&&iu(e),n=Qd[Wd];return r&&n&&u!==n&&(r=tu(n)),r},setEnabled:function(t){a=!1!==t,o[vi]=t},set:function(t,e,r,s,a){var l,d=!1;if(tu(u)&&!function(t,e){return!!(e&&t&&ze(t.blockedCookies)&&-1!==fo(t.blockedCookies,e))||eu(t,e)}(o,t)){var p={},b=Io(e||is),f=Xo(b,";");if(-1!==f&&(b=Io(Er(e,f)),p=su(Cr(e,f+1))),Ds(p,xs,s||i,We,De),!Le(r)){var h=ua();if(De(p[Ud])){var g=So()+1e3*r;if(g>0){var v=new Date;v.setTime(g),Ds(p,Ud,au(v,h?zd:Hd)||au(v,h?zd:Hd)||is,We)}}h||Ds(p,"max-age",is+r,null,De)}var m=la();m&&"https:"===m[Ri]&&(Ds(p,"secure",null,null,De),null===Xd&&(l=(Qr()||{})[Di],Xd=!(Me(l)&&(Is(l,"CPU iPhone OS 12")||Is(l,"iPad; CPU OS 12")||Is(l,"Macintosh; Intel Mac OS X 10_14")&&Is(l,"Version/")&&Is(l,"Safari")||Is(l,"Macintosh; Intel Mac OS X 10_14")&&Bo(l,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Is(l,"Chrome/5")||Is(l,"Chrome/6")||Is(l,"UnrealEngine")&&!Is(l,"Chrome")||Is(l,"UCBrowser/12")||Is(l,"UCBrowser/11")))),Xd&&Ds(p,"SameSite","None",null,De)),Ds(p,Cs,a||n,null,De),c(t,lu(b,p)),d=!0}return d},get:function(t){var e=is;return tu(u)&&!eu(o,t)&&(e=l(t)),e},del:function(t,e){var r=!1;return tu(u)&&(r=u.purge(t,e)),r},purge:function(t,r){var o,n=!1;if(iu(e)){var i=((o={})[Cs]=r||"/",o[Ud]="Thu, 01 Jan 1970 00:00:01 GMT",o);ua()||(i["max-age"]="0"),d(t,lu(is,i)),n=!0}return n}})[yi]=function(t){s&&s.rm(),s=null},r);return u[Wd]=u,u}function iu(t){if(null===Kd){Kd=!1,!qd&&Zd();try{var e=qd.v||{};Kd=void 0!==e[Vd]}catch(e){hl(t,2,68,"Cannot access document.cookie - "+Rs(e),{exception:er(e)})}}return Kd}function su(t){var e={};return t&&t[Wn]&&bo(Io(t)[Li](";"),(function(t){if(t=Io(t||is)){var r=Xo(t,"=");-1===r?e[t]=null:e[Io(Er(t,r))]=Io(Cr(t,r+1))}})),e}function au(t,e){return Ne(t[e])?t[e]():null}function lu(t,e){var r=t||is;return Qe(e,(function(t,e){r+="; "+t+(Le(e)?is:"="+e)})),r}function cu(t){var e=is;if(!qd&&Zd(),qd.v){var r=qd.v[Vd]||is;Gd!==r&&(Jd=su(r),Gd=r),e=Io(Jd[t]||is)}return e}function du(t,e){!qd&&Zd(),qd.v&&(qd.v[Vd]=t+"="+e)}var uu="on",pu="attachEvent",bu="addEventListener",fu="detachEvent",hu="removeEventListener",gu="events",vu="visibilitychange",mu="pagehide",yu="unload",wu="beforeunload",_u=Aa("aiEvtPageHide"),xu=(Aa("aiEvtPageShow"),/\.[\.]+/g),Cu=/[\.]+$/,ku=1,Su=Ia("events"),Eu=/^([^.]*)(?:\.(.+)|)/;function Tu(t){return t&&t[Mi]?t[Mi](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,is):t}function $u(t,e){var r;if(e){var o=is;ze(e)?(o=is,bo(e,(function(t){(t=Tu(t))&&("."!==t[0]&&(t="."+t),o+=t)}))):o=Tu(e),o&&("."!==o[0]&&(o="."+o),t=(t||is)+o)}var n=Eu.exec(t||is)||[];return(r={})[qi]=n[1],r.ns=(n[2]||is).replace(xu,".").replace(Cu,is)[Li](".").sort().join("."),r}function Ou(t,e,r){void 0===r&&(r=!0);var o=Su.get(t,gu,{},r),n=o[e];return n||(n=o[e]=[]),n}function Au(t,e,r,o){t&&e&&e[qi]&&(t[hu]?t[hu](e[qi],r,o):t[fu]&&t[fu](uu+e[qi],r))}function Iu(t,e,r,o){for(var n=e[Wn];n--;){var i=e[n];i&&(r.ns&&r.ns!==i.evtName.ns||o&&!o(i)||(Au(t,i.evtName,i[zi],i.capture),e[ri](n,1)))}}function ju(t,e){return e?$u("xx",ze(e)?[t].concat(e):[t,e]).ns[Li]("."):t}function Ru(t,e,r,o,n){var i;void 0===n&&(n=!1);var s=!1;if(t)try{var a=$u(e,o);if(s=function(t,e,r,o){var n=!1;return t&&e&&e[qi]&&r&&(t[bu]?(t[bu](e[qi],r,o),n=!0):t[pu]&&(t[pu](uu+e[qi],r),n=!0)),n}(t,a,r,n),s&&Su.accept(t)){var l=((i={guid:ku++,evtName:a})[zi]=r,i.capture=n,i);Ou(t,a.type)[ei](l)}}catch(t){}return s}function Du(t,e,r,o,n){if(void 0===n&&(n=!1),t)try{var i=$u(e,o),s=!1;!function(t,e,r){if(e[qi])Iu(t,Ou(t,e[qi]),e,r);else{var o=Su.get(t,gu,{});Qe(o,(function(o,n){Iu(t,n,e,r)})),0===lr(o)[Wn]&&Su.kill(t,gu)}}(t,i,(function(t){return!((!i.ns||r)&&t[zi]!==r||(s=!0,0))})),s||Au(t,i,r,n)}catch(t){}}function Lu(t,e,r,o){var n=!1;return e&&t&&t[Wn]>0&&bo(t,(function(t){t&&(r&&-1!==fo(r,t)||(n=function(t,e,r){var o=!1,n=Jr();n&&(o=Ru(n,t,e,r),o=Ru(n.body,t,e,r)||o);var i=Br();return i&&(o=Ru(i,t,e,r)||o),o}(t,e,o)||n))})),n}function Pu(t,e,r){t&&ze(t)&&bo(t,(function(t){t&&function(t,e,r){var o=Jr();o&&(Du(o,t,e,r),Du(o.body,t,e,r));var n=Br();n&&Du(n,t,e,r)}(t,e,r)}))}function Mu(t,e,r){var o=ju(_u,r),n=Lu([mu],t,e,o);return e&&-1!==fo(e,vu)||(n=Lu([vu],(function(e){var r=Br();t&&r&&"hidden"===r.visibilityState&&t(e)}),e,o)||n),!n&&e&&(n=Mu(t,null,r)),n}var Nu="ctx",qu="ParentContextKey",zu="ChildrenContextKey",Hu=function(){function t(e,r,o){var n,i=this;i.start=So(),i[bi]=e,i[Ti]=o,i[Fi]=function(){return!1},Ne(r)&&Pr(i,"payload",{g:function(){return!n&&Ne(r)&&(n=r(),r=null),n}}),i[Wi]=function(e){return e?e===t[qu]||e===t[zu]?i[e]:(i[Nu]||{})[e]:null},i[Ki]=function(e,r){e&&(e===t[qu]?(i[e]||(i[Fi]=function(){return!0}),i[e]=r):e===t[zu]?i[e]=r:(i[Nu]=i[Nu]||{})[e]=r)},i[Xi]=function(){var e=0,r=i[Wi](t[zu]);if(ze(r))for(var o=0;o<r[Wn];o++){var n=r[o];n&&(e+=n[fi])}i[fi]=So()-i.start,i.exTime=i[fi]-e,i[Xi]=function(){}}}return t.ParentContextKey="parent",t.ChildrenContextKey="childEvts",t}(),Vu=function(){function t(e){this.ctx={},jn(t,this,(function(t){t.create=function(t,e,r){return new Hu(t,e,r)},t.fire=function(t){t&&(t[Xi](),e&&Ne(e[vs])&&e[vs](t))},t[Ki]=function(e,r){e&&((t[Nu]=t[Nu]||{})[e]=r)},t[Wi]=function(e){return(t[Nu]||{})[e]}}))}return t.__ieDyn=1,t}(),Uu="CoreUtils.doPerf";function Fu(t,e,r,o,n){if(t){var i=t;if(i[_s]&&(i=i[_s]()),i){var s=void 0,a=i[Wi](Uu);try{if(s=i.create(e(),o,n)){if(a&&s[Ki]&&(s[Ki](Hu[qu],a),a[Wi]&&a[Ki])){var l=a[Wi](Hu[zu]);l||(l=[],a[Ki](Hu[zu],l)),l[ei](s)}return i[Ki](Uu,s),r(s)}}catch(t){s&&s[Ki]&&s[Ki]("exception",t)}finally{s&&i.fire(s),i[Ki](Uu,a)}}}return r()}var Bu=Ia("plugin");function Wu(t){return Bu.get(t,"state",{},!0)}function Ku(t,e){for(var r,o=[],n=null,i=t[Ii]();i;){var s=i[ui]();if(s){n&&n[ji]&&s[ps]&&n[ji](s);var a=!!(r=Wu(s))[ci];s[ci]&&(a=s[ci]()),a||o[ei](s),n=s,i=i[Ii]()}}bo(o,(function(o){var n=t[as]();o[ii](t.getCfg(),n,e,t[Ii]()),r=Wu(o),o[as]||r[as]||(r[as]=n),r[ci]=!0,delete r[ki]}))}function Xu(t){return t.sort((function(t,e){var r=0;if(e){var o=e[ps];t[ps]?r=o?t[bs]-e[bs]:1:o&&(r=-1)}else r=t?1:-1;return r}))}var Gu="TelemetryPluginChain",Ju="_hasRun",Qu="_getTelCtx",Yu=0;function Zu(t,e,r,o){var n=null,i=[];e||(e=Ya({},null,r[Zn])),null!==o&&(n=o?function(t,e,r){for(;t;){if(t[ui]()===r)return t;t=t[Ii]()}return op([r],e.config||{},e)}(t,r,o):t);var s={_next:function(){var t=n;if(n=t?t[Ii]():null,!t){var e=i;e&&e[Wn]>0&&(bo(e,(function(t){try{t.func.call(t.self,t.args)}catch(t){hl(r[Zn],2,73,"Unexpected Exception during onComplete - "+er(t))}})),i=[])}return t},ctx:{core:function(){return r},diagLog:function(){return pl(r,e.cfg)},getCfg:function(){return e.cfg},getExtCfg:function(t,r){var o=a(t,!0);return r&&Qe(r,(function(t,r){if(Le(o[t])){var n=e.cfg[t];!n&&Le(n)||(o[t]=n)}La(e,o,t,r)})),e[Qn](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]&&Le(i[r])?!s[r]&&Le(s[r])||(n=s[r]):n=i[r],n||!Le(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[ui]();r&&t(r)}},onComplete:function(t,e){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];t&&i[ei]({func:t,self:De(e)?s.ctx:e,args:r})}}};function a(t,r){var o=null,n=e.cfg;if(n&&t){var i=n[ds];!i&&r&&(i={}),n[ds]=i,(i=e.ref(n,ds))&&(!(o=i[t])&&r&&(o={}),i[t]=o,o=e.ref(i,t))}return o}return s}function tp(t,e,r,o){var n=Ya(e),i=Zu(t,n,r,o),s=i.ctx;return s[hi]=function(t){var e=i._next();return e&&e[ps](t,s),!e},s[Ci]=function(t,e){return void 0===t&&(t=null),ze(t)&&(t=op(t,n.cfg,r,e)),tp(t||s[Ii](),n.cfg,r,e)},s}function ep(t,e,r){var o=Ya(e.config),n=Zu(t,o,e,r),i=n.ctx;return i[hi]=function(t){var e=n._next();return e&&e[yi](i,t),!e},i[Ci]=function(t,r){return void 0===t&&(t=null),ze(t)&&(t=op(t,o.cfg,e,r)),ep(t||i[Ii](),e,r)},i}function rp(t,e,r){var o=Ya(e.config),n=Zu(t,o,e,r).ctx;return n[hi]=function(t){return n.iterate((function(e){Ne(e[Ai])&&e[Ai](n,t)}))},n[Ci]=function(t,r){return void 0===t&&(t=null),ze(t)&&(t=op(t,o.cfg,e,r)),rp(t||n[Ii](),e,r)},n}function op(t,e,r,o){var n=null,i=!o;if(ze(t)&&t[Wn]>0){var s=null;bo(t,(function(t){if(i||o!==t||(i=!0),i&&t&&Ne(t[ps])){var a=function(t,e,r){var o,n=null,i=Ne(t[ps]),s=Ne(t[ji]),a={getPlugin:function(){return t},getNext:function(){return n},processTelemetry:function(o,c){l(c=c||function(){var o;return t&&Ne(t[Qu])&&(o=t[Qu]()),o||(o=tp(a,e,r)),o}(),(function(e){if(!t||!i)return!1;var r=Wu(t);return!r[ki]&&!r[cs]&&(s&&t[ji](n),t[ps](o,e),!0)}),"processTelemetry",(function(){return{item:o}}),!o.sync)||c[hi](o)},unload:function(e,r){l(e,(function(){var o=!1;if(t){var n=Wu(t),i=t[as]||n[as];!t||i&&i!==e.core()||n[ki]||(n[as]=null,n[ki]=!0,n[ci]=!1,t[ki]&&!0===t[ki](e,r)&&(o=!0))}return o}),"unload",(function(){}),r[Ti])||e[hi](r)},update:function(e,r){l(e,(function(){var o=!1;if(t){var n=Wu(t),i=t[as]||n[as];!t||i&&i!==e.core()||n[ki]||t[Ai]&&!0===t[Ai](e,r)&&(o=!0)}return o}),"update",(function(){}),!1)||e[hi](r)},_id:o=t?t[si]+"-"+t[bs]+"-"+Yu++:"Unknown-0-"+Yu++,_setNext:function(t){n=t}};function l(e,r,i,s,a){var l=!1,c=t?t[si]:Gu,d=e[Ju];return d||(d=e[Ju]={}),e.setNext(n),t&&Fu(e[as](),(function(){return c+":"+i}),(function(){d[o]=!0;try{var t=n?n._id:is;t&&(d[t]=!1),l=r(e)}catch(t){var s=!n||d[n._id];s&&(l=!0),n&&s||hl(e[$i](),1,73,"Plugin ["+c+"] failed during "+i+" - "+er(t)+", run flags: "+er(d))}}),s,a),l}return dr(a)}(t,e,r);n||(n=a),s&&s._setNext(a),s=a}}))}return o&&!n?op([o],e,r):n}var np,ip="_aiHooks",sp=["req","rsp","hkErr","fnErr"];function ap(t,e){if(t)for(var r=0;r<t[Wn]&&!e(t[r],r);r++);}function lp(t,e,r,o,n){n>=0&&n<=2&&ap(t,(function(t,i){var s=t.cbks,a=s[sp[n]];if(a){e.ctx=function(){return o[i]=o[i]||{}};try{a[ti](e.inst,r)}catch(t){var l=e.err;try{var c=s[sp[2]];c&&(e.err=t,c[ti](e.inst,r))}catch(t){}finally{e.err=l}}}}))}function cp(t,e,r,o){var n=null;return t&&(Xe(t,e)?n=t:r&&(n=cp($s(t),e,o,!1))),n}function dp(t,e,r,o){var n=r&&r[ip];if(!n){var i=function(t){return function(){var e,r=arguments,o=t.h,n=((e={})[bi]=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 ap(e,(function(e){t[ei](e)})),t}n.evt=Ur("event"),lp(o,n,s,i,0);var l=t.f;if(l)try{n.rslt=l[ti](this,r)}catch(t){throw n.err=t,lp(o,n,s,i,3),t}return lp(o,n,s,i,1),n.rslt}}(n={i:0,n:e,f:r,h:[]});i[ip]=n,t[e]=i}var s={id:n.i,cbks:o,rm:function(){var t=this.id;ap(n.h,(function(e,r){if(e.id===t)return n.h[ri](r,1),1}))}};return n.i++,n.h[ei](s),s}function up(t,e,r,o,n){if(void 0===o&&(o=!0),t&&e&&r){var i=cp(t,e,o,n);if(i){var s=i[e];if(typeof s===Rn)return dp(i,e,s,r)}}return null}function pp(t,e,r,o,n){if(t&&e&&r){var i=cp(t,e,o,n)||t;if(i)return dp(i,e,i[e],r)}return null}function bp(){var t=[];return{add:function(e){e&&t[ei](e)},run:function(e,r){bo(t,(function(t){try{t(e,r)}catch(t){hl(e[$i](),2,73,"Unexpected error calling unload handler - "+er(t))}})),t=[]}}}function fp(){var t=[];return{run:function(e){var r=t;t=[],bo(r,(function(t){try{(t.rm||t.remove).call(t)}catch(t){hl(e,2,73,"Unloading:"+er(t))}}))},add:function(e){e&&po(t,e)}}}var hp="getPlugin",gp=((np={})[ds]={isVal:Os,v:{}},np),vp=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||tp(null,{},s[as]);e=o&&o[hp]?n[Ci](null,o[hp]):n[Ci](null,o)}return e}function l(t,e,n){Ya(t,gp,pl(e)),!n&&e&&(n=e[gi]()[Ii]());var i=o;o&&o[hp]&&(i=o[hp]()),s[as]=e,r=tp(n,t,e,i)}function c(){e=!1,s[as]=null,r=null,o=null,i=fp(),n=bp()}c(),jn(t,s,(function(t){t[ii]=function(t,r,o,n){l(t,r,n),e=!0},t[ki]=function(e,r){var s,a=t[as];if(a&&(!e||a===e[as]())){var l,d=!1,u=e||ep(null,a,o&&o[hp]?o[hp]():o),p=r||((s={reason:0})[Ti]=!1,s);return t[Oi]&&!0===t[Oi](u,p,b)?l=!0:b(),l}function b(){d||(d=!0,n.run(u,r),i.run(u[$i]()),!0===l&&u[hi](p),c())}},t[Ai]=function(e,r){var n=t[as];if(n&&(!e||n===e[as]())){var i,s=!1,a=e||rp(null,n,o&&o[hp]?o[hp]():o),c=r||{reason:0};return t._doUpdate&&!0===t._doUpdate(a,c,d)?i=!0:d(),i}function d(){s||(s=!0,l(a.getCfg(),a.core(),a[Ii]()))}},Ms(t,"_addUnloadCb",(function(){return n}),"add"),Ms(t,"_addHook",(function(){return i}),"add"),Pr(t,"_unloadHooks",{g:function(){return i}})})),s[$i]=function(t){return a(t)[$i]()},s[ci]=function(){return e},s.setInitialized=function(t){e=t},s[ji]=function(t){o=t},s[hi]=function(t,e){e?e[hi](t):o&&Ne(o[ps])&&o[ps](t,null)},s._getTelCtx=a}return t.__ieDyn=1,t}(),mp="toString",yp="isStorageUseDisabled",wp="_addHook",_p="core",xp="dataType",Cp="envelopeType",kp="diagLog",Sp="track",Ep="trackPageView",Tp="trackPreviousPageVisit",$p="sendPageViewInternal",Op="startTime",Ap="properties",Ip="duration",jp="sendPageViewPerformanceInternal",Rp="populatePageViewPerformanceEvent",Dp="href",Lp="sendExceptionInternal",Pp="exception",Mp="error",Np="_onerror",qp="errorSrc",zp="lineNumber",Hp="columnNumber",Vp="message",Up="CreateAutoException",Fp="addTelemetryInitializer",Bp="autoTrackPageVisitTime",Wp="isBrowserLinkTrackingEnabled",Kp="length",Xp="enableAutoRouteTracking",Gp="enableUnhandledPromiseRejectionTracking",Jp="autoUnhandledPromiseInstrumented",Qp="getEntriesByType",Yp="isPerformanceTimingSupported",Zp="getPerformanceTiming",tb="navigationStart",eb="shouldCollectDuration",rb="isPerformanceTimingDataReady",ob="responseStart",nb="loadEventEnd",ib="responseEnd",sb="connectEnd",ab="pageVisitStartTime",lb=function(){function t(e,r,o,n){jn(t,this,(function(t){var i,s=null,a=[],l=!1,c=!1;function d(t){o&&o.flush(t,(function(){}))}function u(){s||(s=tn((function(){s=null;var t=a.slice(0),e=!1;a=[],bo(t,(function(t){t()?e=!0:a.push(t)})),a[Kp]>0&&u(),e&&d(!0)}),100))}function p(t){a.push(t),u()}o&&(i=o.logger),t[Ep]=function(t,o){var s=t.name;if(Le(s)||"string"!=typeof s){var a=Br();s=t.name=a&&a.title||""}var u=t.uri;if(Le(u)||"string"!=typeof u){var b=la();u=t.uri=b&&b[Dp]||""}if(!c){var f=Vo(),h=f&&f[Qp]&&f[Qp]("navigation");if(h&&h[0]&&!De(f.timeOrigin)){var g=h[0].loadEventStart;t[Op]=new Date(f.timeOrigin+g)}else{var v=(o||t[Ap]||{})[Ip]||0;t[Op]=new Date((new Date).getTime()-v)}c=!0}if(!n[Yp]())return e[$p](t,o),d(!0),void(to()||hl(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[Zp]()[tb];_>0&&(m=$d(_,+new Date),n[eb](m)||(m=void 0)),Le(o)||Le(o[Ip])||(y=o[Ip]),!r&&isNaN(y)||(isNaN(y)&&(o||(o={}),o[Ip]=m),e[$p](t,o),d(!0),w=!0),o||(o={}),p((function(){var r=!1;try{if(n[rb]()){r=!0;var a={name:s,uri:u};n[Rp](a),a.isValid||w?(w||(o[Ip]=a.durationMs,e[$p](t,o)),l||(e[jp](a,o),l=!0)):(o[Ip]=m,e[$p](t,o))}else _>0&&$d(_,+new Date)>6e4&&(r=!0,w||(o[Ip]=6e4,e[$p](t,o)))}catch(t){hl(i,1,38,"trackPageView failed on page load calculation: "+Rs(t),{exception:er(t)})}return r}))},t.teardown=function(t,e){if(s){s.cancel(),s=null;var r=a.slice(0);a=[],bo(r,(function(t){t()}))}}}))}return t.__ieDyn=1,t}(),cb=["googlebot","adsbot-google","apis-google","mediapartners-google"];function db(){var t=Vo();return t&&!!t.timing}function ub(){var t=Vo(),e=t?t.timing:0;return e&&e.domainLookupStart>0&&e[tb]>0&&e[ob]>0&&e.requestStart>0&&e[nb]>0&&e[ib]>0&&e[sb]>0&&e.domLoading>0}function pb(){return db()?Vo().timing:null}function bb(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=(Qr()||{}).userAgent,o=!1;if(r)for(var n=0;n<cb[Kp];n++)o=o||-1!==Xo(r.toLowerCase(),cb[n]);if(o)return!1;for(n=0;n<t[Kp];n++)if(t[n]<0||t[n]>=36e5)return!1;return!0}var fb,hb=function(){function t(e){var r=pl(e);jn(t,this,(function(t){t[Rp]=function(e){e.isValid=!1;var o,n=(o=Vo())&&o.getEntriesByType&&o.getEntriesByType("navigation")[Kp]>0?Vo()[Qp]("navigation")[0]:null,i=pb(),s=0,a=0,l=0,c=0,d=0;(n||i)&&(n?(s=n[Ip],a=0===n[Op]?n[sb]:$d(n[Op],n[sb]),l=$d(n.requestStart,n[ob]),c=$d(n[ob],n[ib]),d=$d(n.responseEnd,n[nb])):(s=$d(i[tb],i[nb]),a=$d(i[tb],i[sb]),l=$d(i.requestStart,i[ob]),c=$d(i[ob],i[ib]),d=$d(i.responseEnd,i[nb])),0===s?hl(r,2,10,"error calculating page view performance.",{total:s,network:a,request:l,response:c,dom:d}):t[eb](s,a,l,c,d)?s<Math.floor(a)+Math.floor(l)+Math.floor(c)+Math.floor(d)?hl(r,2,8,"client performance math error.",{total:s,network:a,request:l,response:c,dom:d}):(e.durationMs=s,e.perfTotal=e[Ip]=Hc(s),e.networkConnect=Hc(a),e.sentRequest=Hc(l),e.receivedResponse=Hc(c),e.domProcessing=Hc(d),e.isValid=!0):hl(r,2,45,"Invalid page load duration value. Browser perf data won't be sent.",{total:s,network:a,request:l,response:c,dom:d}))},t[Zp]=pb,t[Yp]=db,t[rb]=ub,t[eb]=bb}))}return t.__ieDyn=1,t}(),gb=function(){function t(e,r){var o="prevPageVisitData";jn(t,this,(function(t){t[Tp]=function(t,n){try{var i=function(t,r){var n=null;try{if(n=function(){var t=null;try{if(pc()){var r=So(),n=bc(e,o);n&&ca()&&((t=da().parse(n)).pageVisitTime=r-t[ab],hc(e,o))}}catch(r){gl(e,"Stop page visit timer failed: "+er(r)),t=null}return t}(),pc()){null!=bc(e,o)&&rr("Cannot call startPageVisit consecutively without first calling stopPageVisit");var i=da().stringify(new vb(t,r));fc(e,o,i)}}catch(t){gl(e,"Call to restart failed: "+er(t)),n=null}return n}(t,n);i&&r(i.pageName,i.pageUrl,i.pageVisitTime)}catch(t){gl(e,"Auto track page visit time failed, metric will not be collected: "+er(t))}},Pr(t,"_logger",{g:function(){return e}}),Pr(t,"pageVisitTimeTrackingHandler",{g:function(){return r}})}))}return t.__ieDyn=1,t}(),vb=function(t,e){this[ab]=So(),this.pageName=t,this.pageUrl=e},mb=function(t,e){var r=this,o={};r.start=function(e){void 0!==o[e]&&hl(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))hl(t,2,63,"stop was called without a corresponding start.",{name:e,key:e},!0);else{var l=$d(a,+new Date);r.action(e,n,l,i,s)}delete o[e],o[e]=void 0}};function yb(t,e){t&&t.dispatchEvent&&e&&t.dispatchEvent(e)}var wb=cr(((fb={sessionRenewalMs:Pd(_b,18e5),sessionExpirationMs:Pd(_b,864e5),disableExceptionTracking:Nd()})[Bp]=Nd(),fb.overridePageViewDuration=Nd(),fb[Gp]=Nd(),fb[Jp]=!1,fb.samplingPercentage=Md((function(t){return!isNaN(t)&&t>0&&t<=100}),100),fb[yp]=Nd(),fb[Wp]=Nd(),fb[Xp]=Nd(),fb.namePrefix={isVal:Me,v:Ze(is)},fb.enableDebug=Nd(),fb.disableFlushOnBeforeUnload=Nd(),fb.disableFlushOnUnload=Nd(!1,"disableFlushOnBeforeUnload"),fb));function _b(t,e){return(t=t||e)<6e4&&(t=6e4),+t}var xb,Cb,kb,Sb=function(t){function e(){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m,y,w,_=t.call(this)||this;return _.identifier=mc,_.priority=180,_.autoRoutePVDelay=500,jn(e,_,(function(t,e){var _=e[wp];function x(e,r,o,n,i){t[kp]().throwInternal(e,r,o,n,i)}function C(){r=null,o=null,n=null,i=null,s=null,a=null,l=!1,c=!1,d=!1,u=!1,p=!1,b=!1,f=!1,h=!1,v=!1;var e=la(!0);m=e&&e[Dp]||"",y=null,w=null,g=null,Pr(t,"config",{g:function(){return g}})}C(),t.getCookieMgr=function(){return ou(t[_p])},t.processTelemetry=function(e,r){t.processNext(e,r)},t.trackEvent=function(e,r){try{var o=Lc(e,Pc[xp],Pc[Cp],t[kp](),r);t[_p][Sp](o)}catch(t){x(2,39,"trackTrace failed, trace will not be collected: "+Rs(t),{exception:er(t)})}},t.startTrackEvent=function(t){try{r.start(t)}catch(t){x(1,29,"startTrackEvent failed, event will not be collected: "+Rs(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: "+Rs(t),{exception:er(t)})}},t.trackTrace=function(e,r){try{var o=Lc(e,Mc[xp],Mc[Cp],t[kp](),r);t[_p][Sp](o)}catch(t){x(2,39,"trackTrace failed, trace will not be collected: "+Rs(t),{exception:er(t)})}},t.trackMetric=function(e,r){try{var o=Lc(e,qc[xp],qc[Cp],t[kp](),r);t[_p][Sp](o)}catch(t){x(1,36,"trackMetric failed, metric will not be collected: "+Rs(t),{exception:er(t)})}},t[Ep]=function(t,e){try{var r=t||{};n[Ep](r,zn(zn(zn({},r.properties),r.measurements),e)),v&&s[Tp](r.name,r.uri)}catch(t){x(1,37,"trackPageView failed, page view will not be collected: "+Rs(t),{exception:er(t)})}},t[$p]=function(e,r,o){var n=Br();if(n&&(e.refUri=void 0===e.refUri?n.referrer:e.refUri),Le(e[Op])){var i=(r||e[Ap]||{})[Ip]||0;e[Op]=new Date((new Date).getTime()-i)}var s=Lc(e,Vc[xp],Vc[Cp],t[kp](),r,o);t[_p][Sp](s)},t[jp]=function(e,r,o){var n=Lc(e,Uc[xp],Uc[Cp],t[kp](),r,o);t[_p][Sp](n)},t.trackPageViewPerformance=function(e,r){var o=e||{};try{i[Rp](o),t[jp](o,r)}catch(t){x(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Rs(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: "+Rs(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=la();e=a&&a[Dp]||""}o.stop(t,e,r,n),v&&s[Tp](t,e)}catch(t){x(1,32,"stopTrackPage failed, page view will not be collected: "+Rs(t),{exception:er(t)})}},t[Lp]=function(e,r,o){var n=e&&(e[Pp]||e[Mp])||Fe(e)&&e||{name:e&&typeof e,message:e||Sc};e=e||{};var i=Lc(new od(t[kp](),n,e[Ap]||r,e.measurements,e.severityLevel,e.id).toInterface(),od[xp],od[Cp],t[kp](),r,o);t[_p][Sp](i)},t.trackException=function(e,r){e&&!e[Pp]&&e[Mp]&&(e[Pp]=e[Mp]);try{t[Lp](e,r)}catch(t){x(1,35,"trackException failed, exception will not be collected: "+Rs(t),{exception:er(t)})}},t[Np]=function(e){var r=e&&e[Mp],o=e&&e.evt;try{if(!o){var n=Jr();n&&(o=n.event)}var i=e&&e.url||(Br()||{}).URL,s=e[qp]||"window.onerror@"+i+":"+(e[zp]||0)+":"+(e[Hp]||0),a={errorSrc:s,url:i,lineNumber:e[zp]||0,columnNumber:e[Hp]||0,message:e[Vp]};!function(t,e,r,o,n){return!n&&Me(t)&&("Script error."===t||"Script error"===t)}(e.message,e.url,e.lineNumber,e.columnNumber,e[Mp])?(e[qp]||(e[qp]=s),t.trackException({exception:e,severityLevel:3},a)):function(e,r){var o=Lc(e,od[xp],od[Cp],t[kp](),r);t[_p][Sp](o)}(od[Up]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",i,e[zp]||0,e[Hp]||0,r,o,null,s),a)}catch(t){var l=r?r.name+", "+r[Vp]:"null";x(1,11,"_onError threw exception while logging error, error will not be collected: "+Rs(t),{exception:er(t),errorString:l})}},t[Fp]=function(e){if(t[_p])return t[_p][Fp](e);a||(a=[]),a.push(e)},t.initialize=function(x,C,k,S){if(!t.isInitialized()){Le(C)&&rr("Error initializing"),e.initialize(x,C,k,S);try{w=ju(Aa(t.identifier),C.evtNamespace&&C.evtNamespace()),a&&(bo(a,(function(t){C[Fp](t)})),a=null),function(e){var r=t.identifier,o=t[_p];t[wp](Za(e,(function(){var n,i=tp(null,e,o);g=i.getExtCfg(r,wb),v=g[Bp],e.storagePrefix&&lc(e.storagePrefix),De((n=g)[yp])||(n[yp]?(rc=!1,oc=!1):(rc=cc(!0),oc=pc(!0))),l=g[Wp],function(){if(!c&&l){var e=["/browserLinkSignalR/","/__browserLink/"];t[wp](t[Fp]((function(t){if(l&&t.baseType===jd[xp]){var r=t.baseData;if(r)for(var o=0;o<e[Kp];o++)if(r.target&&Xo(r.target,e[o])>=0)return!1}return!0}))),c=!0}}()})))}(x),i=new hb(t[_p]),n=new lb(t,g.overridePageViewDuration,t[_p],i),s=new gb(t[kp](),(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 mb(t[kp](),"trackEvent")).action=function(e,r,o,n,i){n||(n={}),i||(i={}),n.duration=o[mp](),t.trackEvent({name:e,properties:n,measurements:i})},(o=new mb(t[kp](),"trackPageView")).action=function(e,r,o,n,i){Le(n)&&(n={}),n.duration=o[mp]();var s={name:e,uri:r,properties:n,measurements:i};t[$p](s,n)},Wr()&&(E=Jr(),T=la(!0),t[wp](Za(g,(function(){(p=g.disableExceptionTracking)||b||g.autoExceptionInstrumented||(_(pp(E,"onerror",{ns:w,rsp:function(e,r,o,n,i,s){p||!0===e.rslt||t[Np](od[Up](r,o,n,i,s,e.evt))}},!1)),b=!0)}))),function(e,r){t[wp](Za(g,(function(){f=!0===g[Gp],b=b||g[Jp],f&&!h&&(_(pp(e,"onunhandledrejection",{ns:w,rsp:function(e,o){f&&!0!==e.rslt&&t[Np](od[Up](function(t){if(t&&t.reason){var e=t.reason;return!Me(e)&&Ne(e[mp])?e[mp]():er(e)}return t||""}(o),r?r[Dp]:"",0,0,o,e.evt))}},!1)),g[Jp]=h=!0)})))}(E,T),function(){var e=Jr(),r=la(!0);t[wp](Za(g,(function(){if(d=!0===g[Xp],e&&d&&!u&&Yr()){var o=Yr();Ne(o.pushState)&&Ne(o.replaceState)&&typeof Event!==Ln&&function(e,r,o){if(!u){var n=g.namePrefix||"";_(pp(r,"pushState",{ns:w,rsp:function(){d&&(yb(e,Rd(n+"pushState")),yb(e,Rd(n+"locationchange")))}},!0)),_(pp(r,"replaceState",{ns:w,rsp:function(){d&&(yb(e,Rd(n+"replaceState")),yb(e,Rd(n+"locationchange")))}},!0)),Ru(e,n+"popstate",(function(){d&&yb(e,Rd(n+"locationchange"))}),w),Ru(e,n+"locationchange",(function(){if(y?(m=y,y=o&&o[Dp]||""):y=o&&o[Dp]||"",d){var e=function(){var e=null;if(t[_p]&&t[_p].getTraceCtx&&(e=t[_p].getTraceCtx(!1)),!e){var r=t[_p].getPlugin(gc);if(r){var o=r.plugin.context;o&&(e=Od(o.telemetryTrace))}}return e}();if(e){e.setTraceId(sd());var r="_unknown_";o&&o.pathname&&(r=o.pathname+(o.hash||"")),e.setName($c(t[kp](),r))}tn(function(e){t[Ep]({refUri:e,properties:{duration:0}})}.bind(t,m),t.autoRoutePVDelay)}}),w),u=!0}}(e,o,r)}})))}())}catch(e){throw t.setInitialized(!1),e}var E,T}},t._doTeardown=function(t,e){n&&n.teardown(t,e),Du(window,null,null,w),C()},Pr(t,"_pageViewManager",{g:function(){return n}}),Pr(t,"_pageViewPerformanceManager",{g:function(){return i}}),Pr(t,"_pageVisitTimeManager",{g:function(){return s}}),Pr(t,"_evtNamespace",{g:function(){return"."+w}})})),_}return Vn(e,t),e.Version="3.2.1",e}(vp),Eb="Promise",Tb="rejected";function $b(t,e){return Ob(t,(function(t){return e?e({status:"fulfilled",rejected:!1,value:t}):t}),(function(t){return e?e({status:Tb,rejected:!0,reason:t}):t}))}function Ob(t,e,r,o){var n=t;try{if(Be(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){var r=t;e&&(Be(t)?r=t.finally?t.finally(e):t.then((function(t){return e(),t}),(function(t){throw e(),t})):e())}(n,o)}return n}var Ab,Ib=!1,jb=["pending","resolving","resolved",Tb],Rb="dispatchEvent";function Db(t){var e;return t&&t.createEvent&&(e=t.createEvent("Event")),!!e&&e.initEvent}var Lb,Pb,Mb,Nb="unhandledRejection",qb=Nb.toLowerCase(),zb=[],Hb=0,Vb=10;function Ub(t){return Ne(t)?t.toString():er(t)}function Fb(t,e,r){var o,n,i=go(arguments,3),s=0,a=!1,l=[],c=Hb++,d=zb.length>0?zb[zb.length-1]:void 0,u=!1,p=null;function b(e,r){try{zb.push(c),u=!0,p&&p.cancel(),p=null;var n=t((function(t,n){l.push((function(){try{var i=2===s?e:r,a=De(i)?o:Ne(i)?i(o):i;Be(a)?a.then(t,n):i?t(a):3===s?n(a):t(a)}catch(t){n(t)}})),a&&h()}),i);return n}finally{zb.pop()}}function f(){return jb[s]}function h(){if(l.length>0){var t=l.slice();l=[],u=!0,p&&p.cancel(),p=null,e(t)}}function g(t,e){return function(r){if(s===e){if(2===t&&Be(r))return s=1,void r.then(g(2,1),g(3,1));s=t,a=!0,o=r,h(),u||3!==t||p||(p=tn(v,Vb))}}}function v(){if(!u)if(u=!0,Zr())process.emit(Nb,o,n);else{var t=Jr()||Vr();!Lb&&(Lb=Nr(Ae(Ur,[Eb+"RejectionEvent"]).v)),function(t,e,r,o){var n=Br();!Ab&&(Ab=Nr(!!Ae(Db,[n]).v));var i=Ab.v?n.createEvent("Event"):o?new Event(e):{};if(r&&r(i),Ab.v&&i.initEvent(e,!1,!0),i&&t[Rb])t[Rb](i);else{var s=t["on"+e];if(s)s(i);else{var a=Ur("console");a&&(a.error||a.log)(e,er(i))}}}(t,qb,(function(t){return Pr(t,"promise",{g:function(){return n}}),t.reason=o,t}),!!Lb.v)}}return Dr(n={then:b,catch:function(t){return b(void 0,t)},finally:function(t){var e=t,r=t;return Ne(t)&&(e=function(e){return t&&t(),e},r=function(e){throw t&&t(),e}),b(e,r)}},"state",{get:f}),Ib&&function(t,e,r,n){Cb=Cb||{toString:function(){return"[[PromiseResult]]"}},kb=kb||{toString:function(){return"[[PromiseIsHandled]]"}};var i={};i[xb=xb||{toString:function(){return"[[PromiseState]]"}}]={get:e},i[Cb]={get:function(){return Re(o)}},i[kb]={get:function(){return u}},Lr(t,i)}(n,f),oo()&&(n[io(11)]="IPromise"),n.toString=function(){return"IPromise"+(Ib?"["+c+(De(d)?"":":"+d)+"]":"")+" "+f()+(a?" - "+Ub(o):"")},function(){Ne(r)||or(Eb+": executor is not a function - "+Ub(r));var t=g(3,0);try{r.call(n,g(2,0),t)}catch(e){t(e)}}(),n}function Bb(t){return function(e){var r=go(arguments,1);return t((function(t,r){try{var o=[],n=1;co(e,(function(e,i){e&&(n++,Ob(e,(function(e){o[i]=e,0==--n&&t(o)}),r))})),0==--n&&t(o)}catch(t){r(t)}}),r)}}function Wb(t,e){return Fb(Wb,function(t){var e=Ve(t)?t:0;return function(t){tn((function(){!function(t){bo(t,(function(t){try{t()}catch(t){}}))}(t)}),e)}}(e),t,e)}function Kb(t,e){!Pb&&(Pb=Nr(Ae(Ur,[Eb]).v||null));var r=Pb.v;if(!r)return Wb(t);Ne(t)||or(Eb+": 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 Dr(n,"state",{get:function(){return jb[o]}}),n}function Xb(t,e){return!Mb&&(Mb=Nr(Kb)),Mb.v.call(this,t,e)}var Gb=Bb(Xb);io(11);var Jb="featureOptIn",Qb="onCfgChangeReceive",Yb="nonOverrideConfigs",Zb="scheduleFetchTimeout";function tf(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 No(t||{},Oe[we](arguments))}({},t):t;return i&&e&&!n&&Qe(i,(function(t){var n=e[t];n&&(qe(i[t])&&qe(n)?i[t]=tf(i[t],n,++r,o):delete i[t])})),i}catch(t){}return t}var ef,rf="featureOptIn.",of=".mode",nf=".onCfg",sf=".offCfg";var af=void 0,lf=cr(((ef={syncMode:1,blkCdnCfg:af,customEvtName:af,cfgUrl:af,overrideSyncFn:af,overrideFetchFn:af})[Qb]=af,ef[Zb]=18e5,ef[Yb]={instrumentationKey:!0,connectionString:!0,endpointUrl:!0},ef)),cf=function(t){function e(){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m=t.call(this)||this;m.priority=198,m.identifier="AppInsightsCfgSyncPlugin";var y=!1;return jn(e,m,(function(t,e){function m(){o=null,n=null,i=null,s=null,l=null,c=null,f=null,a=null,u=null,p=null,d=null,g=null,v=null,b=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=Vr();t&&Du(t,null,null,i)}catch(t){}}function x(t){try{return v&&Ne(v)?v(o,t):function(t,e,r){var o,n,i=Vr();if(i&&i.CustomEvent)try{return o=i,n=function(t,e){var r=null,o={detail:e||null};if(Ne(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 C(t){try{return _(),t&&(n=t,function(){if(l){var t=Vr();if(t)try{Ru(t,n,(function(t){var e=t&&t.detail;if(b&&e)b(e);else{var r=e&&e.cfg,o=r&&jo(r)&&$(r);o&&w(o)}}),i,!0)}catch(t){}}}()),!0}catch(t){}return!1}function k(t,e,r){var o=Vr(),n=o&&o.fetch||null;if(t&&n&&Ne(n))try{var i=new Request(t,{method:"GET"});$b(fetch(i),(function(t){var o=t.value;t.rejected?T(e,400):o.ok?$b(o.text(),(function(t){T(e,o.status,t.value,r)})):T(e,o.status,null,r)}))}catch(t){}}function S(t,e,r){try{var o=new XMLHttpRequest;o.open("GET",t),o.onreadystatechange=function(){o.readyState===XMLHttpRequest.DONE&&T(e,o.status,o.responseText,r)},o.onerror=function(){T(e,400)},o.ontimeout=function(){T(e,400)},o.send()}catch(t){}}function E(e,r,o){try{if(e>=200&&e<400&&r){p=0;var n=da();if(n){var i=function(t,e){try{if(!t||!t.enabled)return null;if(!t[Jb])return t.config;var r=t[Jb],o=t.config||{};return Qe(r,(function(r){var n,i,s,a,l,c,d,u=function(t,e,r){var o;if(!e||!e.enabled)return null;var n=(e[Jb]||{})[t]||{mode:1},i=n.mode,s=n.onCfg,a=n.offCfg,l=(r||{})[t]||{mode:2},c=l.mode,d=l.onCfg,u=l.offCfg,p=!!l.blockCdnCfg,b=rf+t+nf,f=rf+t+sf,h=c,g=d,v=u;return p||(4===i||5===i?(h=4==i?3:2,g=s||d,v=a||u):2===i||2===c?(h=2,g=d||s,v=u||a):3===i?(h=3,g=d||s,v=u||a):1===i&&1===c&&(h=1)),(o={})[rf+t+of]=h,o[b]=g,o[f]=v,o}(r,t,e.config[Jb]);Le(u)||(Qe(u,(function(t,e){Fo(o,t,e)})),s=o,a=(i=u)[rf+(n=r)+of],l=i[rf+n+nf],c=i[rf+n+sf],d=null,3===a&&(d=l),2===a&&(d=c),d&&Qe(d,(function(t,e){Fo(s,t,e)})))})),o}catch(t){}return null}(n.parse(r),t.core),s=i&&jo(i)&&$(i);s&&w(s,o)}}else p++;p<3&&O()}catch(t){}}function T(t,e,r,o){try{t(e,r,o)}catch(t){}}function $(t,e){var r=null;try{t&&(r=tf(t,f,0,5))}catch(t){}return r}function O(){!a&&u&&(a=tn((function(){a=null,h(s,E,c)}),u)).unref()}function A(){a&&a.cancel(),a=null,p=0}m(),t.initialize=function(a,m,y,w){e.initialize(a,m,y,w),i=ju(Aa(t.identifier),m.evtNamespace&&m.evtNamespace()),function(e){var i=t.identifier,a=t.core;t._addHook(Za(e,(function(){var t=tp(null,e,a);r=t.getExtCfg(i,lf);var u=d;d=!!r.blkCdnCfg,Le(u)||u===d||(!d&&s?h&&h(s,E,c):A()),Le(l)&&(l=2===r.syncMode),Le(c)&&(c=1===r.syncMode);var p=r.customEvtName||"ai_cfgsync";n!==p&&(l?C(p):(_(),n=p)),Le(s)&&(s=r.cfgUrl),s||(o=e,c&&x())}))),v=r.overrideSyncFn,g=r.overrideFetchFn,b=r[Qb],f=r[Yb],u=r[Zb],h=function(){var t=g;return Le(t)&&(fa()?t=k:ha()&&(t=S)),t}(),p=0,s&&!d&&h&&h(s,E,c)}(a)},t.getCfg=function(){return o},t.pause=function(){y=!0,A()},t.resume=function(){y=!1,O()},t.setCfg=function(t){return w(t)},t.sync=function(t){return x(t)},t.updateEventListenerName=function(t){return C(t)},t._doTeardown=function(t,e){_(),A(),m()},t._getDbgPlgTargets=function(){return[c,l,n,d,f]},t.processTelemetry=function(e,r){t.processNext(e,r)}})),m}return Vn(e,t),e.__ieDyn=1,e}(vp);function df(t,e){Du(t,null,null,e)}var uf="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",pf="",bf="&NoResponseBody=true",ff="POST",hf=function(){function t(){var e,r,o,n,i,s,a,l,c,d,u,p,b,f=0;jn(t,this,(function(t,h){var g=!0;function v(t,e){hl(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=Qr(),o=t[Ji];if(!o)return m(e),!0;o=t[Ji]+(p?bf:pf);var i=t[Bi],s=n?i:new Blob([i],{type:"text/plain;charset=UTF-8"});return r.sendBeacon(o,s)}function _(t,e,r){var s=t[Bi];try{if(s)if(w(t,e))y(e,200,{},pf);else{var l=i&&i.beaconOnRetry;l&&Ne(l)?l(t,e,w):(a&&a[Qi](t,e,!0),hl(o,2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}catch(t){n&&gl(o,"Failed to send telemetry using sendBeacon API. Ex:"+er(t)),y(e,n?0:400,{},pf)}}function x(t,r,o){var s,a,l,c=t[Yi]||{};!o&&e&&(s=Xb((function(t,e){a=t,l=e}))),n&&o&&t.disableXhrSync&&(o=!1);var d=t[Ji];if(!d)return m(r),void(a&&a(!1));var u=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,Ws,r),a.open(t,e,!n),r&&s(a,Ws,r),!n&&i&&s(a,"timeout",i),a}(ff,d,g,!0,o,t[Zi]);function p(e){var o=i&&i.xhrOnComplete;if(o&&Ne(o))o(e,r,t);else{var s=Vs(e);y(r,e[Hi],Xs(e,n),s)}}return n||u[ts]("Content-type","application/json"),bo(lr(c),(function(t){u[ts](t,c[t])})),u.onreadystatechange=function(){n||(p(u),4===u.readyState&&a&&a(!0))},u.onload=function(){n&&p(u)},u.onerror=function(t){y(r,n?u[Hi]:400,Xs(u,n),n?pf:Fs(u)),l&&l(t)},u.ontimeout=function(){y(r,n?u[Hi]:500,Xs(u,n),n?pf:Fs(u)),a&&a(!1)},u.send(t[Bi]),s}function C(t,r,o){var s,a,l,c,d=t[Ji],u=t[Bi],h=n?u:new Blob([u],{type:"application/json"}),v=new Headers,w=u[Wn],_=!1,x=!1,C=t[Yi]||{},k=((s={method:ff,body:h})[uf]=!0,s);t.headers&&lr(t.headers)[Wn]>0&&(bo(lr(C),(function(t){v.append(t,C[t])})),k[Yi]=v),g&&n&&(k.credentials="include"),o&&(k.keepalive=!0,f+=w,n?2===t._sendReason&&(_=!0,p&&(d+=bf)):_=!0);var S=new Request(d,k);try{S[uf]=!0}catch(t){}if(!o&&e&&(a=Xb((function(t,e){l=t,c=e}))),!d)return m(r),void(l&&l(!1));function E(t){y(r,n?0:400,{},n?pf:t)}function T(t,e,o){var n=t[Hi],s=i.fetchOnComplete;s&&Ne(s)?s(t,r,o||pf,e):y(r,n,{},o||pf)}try{$b(fetch(n?d:S,n?k:null),(function(e){if(o&&(f-=w,w=0),!x)if(x=!0,e.rejected)E(e.reason&&e.reason[Ei]),c&&c(e.reason);else{var r=e.value;try{n||r.ok?n&&!r.body?(T(r,null,pf),l&&l(!0)):$b(r.text(),(function(e){T(r,t,e.value),l&&l(!0)})):(E(r.statusText),l&&l(!1))}catch(t){E(er(t)),c&&c(t)}}}))}catch(t){x||(E(er(t)),c&&c(t))}return _&&!x&&(x=!0,y(r,200,{}),l&&l(!0)),n&&!x&&t[Zi]>0&&b&&b.set((function(){x||(x=!0,y(r,500,{}),l&&l(!0))}),t[Zi]),a}function k(t,e,r){var s=Jr(),a=new XDomainRequest,l=t[Bi];a.onload=function(){var r=Vs(a),o=i&&i.xdrOnComplete;o&&Ne(o)?o(a,e,t):y(e,200,{},r)},a.onerror=function(){y(e,400,{},n?pf:Us(a))},a.ontimeout=function(){y(e,500,{})},a.onprogress=function(){};var c=s&&s.location&&s.location[Ri]||"",d=t[Ji];if(d){if(!n&&0!==d.lastIndexOf(c,0)){var u="Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol.";return hl(o,2,40,". "+u),void v(u,e)}var p=n?d:d[Mi](/^(https?:)/,"");a.open(ff,p),t[Zi]&&(a[Zi]=t[Zi]),a.send(l),n&&r?b&&b.set((function(){a.send(l)}),0):a.send(l)}else m(e)}function S(){f=0,r=!1,e=!1,o=null,n=null,i=null,s=null,a=null,l=!1,c=!1,d=!1,u=!1,p=!1,b=null}S(),t[ii]=function(e,n){o=n,r&&hl(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,d=!!t.disableBeaconSync,b=t.timeWrapper,p=!!t.addNoResponse,u=!!t.disableFetchKeepAlive,a={sendPOST:x},n||(g=!1),s){var r=la();r&&r.protocol&&"file:"===r.protocol[Fn]()&&(g=!1)}return!0}catch(t){}return!1},t.getSyncFetchPayload=function(){return f},t.getSenderInst=function(t,e){return t&&t[Wn]?function(t,e){for(var r,o=0,n=null,i=0;null==n&&i<t[Wn];)o=t[i],l||1!==o?2!==o||!fa(e)||e&&u?3!==o||!ba()||(e?d:c)||(n=_):n=C:(null===ia&&(ia=typeof XDomainRequest!==Ln)&&ha()&&(ia=ia&&!aa(Ur(ea),"withCredentials")),ia?n=k:ha()&&(n=x)),i++;return n?((r={_transport:o,_isSync:e})[Qi]=n,r):null}(t,e):null},t.getFallbackInst=function(){return a},t[Oi]=function(t,e){S()}}))}return t.__ieDyn=1,t}();function gf(t,e){if(t&&t[yi])return t[yi](e)}function vf(t,e,r){var o;return r||(o=Xb((function(t){r=t}))),t&&Ho(t)>0?$b(gf(t[0],e),(function(){vf(go(t,1),e,r)})):r(),o}function mf(t,e){try{if(t&&""!==t){var r=da().parse(t);if(r&&r[Gi]&&r[Gi]>=r.itemsAccepted&&r.itemsReceived-r.itemsAccepted===r.errors[Wn])return r}}catch(r){hl(e,1,43,"Cannot parse the response. "+(r[bi]||er(r)),{response:t})}return null}function yf(t){var e="ai."+t+".";return function(t){return e+t}}var wf,_f=yf("application"),xf=yf("device"),Cf=yf("location"),kf=yf("operation"),Sf=yf("session"),Ef=yf("user"),Tf=yf("cloud"),$f=yf("internal"),Of=function(t){function e(){return t.call(this)||this}return Vn(e,t),e}((wf={applicationVersion:_f("ver"),applicationBuild:_f("build"),applicationTypeId:_f("typeId"),applicationId:_f("applicationId"),applicationLayer:_f("layer"),deviceId:xf("id"),deviceIp:xf("ip"),deviceLanguage:xf("language"),deviceLocale:xf("locale"),deviceModel:xf("model"),deviceFriendlyName:xf("friendlyName"),deviceNetwork:xf("network"),deviceNetworkName:xf("networkName"),deviceOEMName:xf("oemName"),deviceOS:xf("os"),deviceOSVersion:xf("osVersion"),deviceRoleInstance:xf("roleInstance"),deviceRoleName:xf("roleName"),deviceScreenResolution:xf("screenResolution"),deviceType:xf("type"),deviceMachineName:xf("machineName"),deviceVMName:xf("vmName"),deviceBrowser:xf("browser"),deviceBrowserVersion:xf("browserVersion"),locationIp:Cf("ip"),locationCountry:Cf("country"),locationProvince:Cf("province"),locationCity:Cf("city"),operationId:kf("id"),operationName:kf("name"),operationParentId:kf("parentId"),operationRootId:kf("rootId"),operationSyntheticSource:kf("syntheticSource"),operationCorrelationVector:kf("correlationVector"),sessionId:Sf("id"),sessionIsFirst:Sf("isFirst"),sessionIsNew:Sf("isNew"),userAccountAcquisitionDate:Ef("accountAcquisitionDate"),userAccountId:Ef("accountId"),userAgent:Ef("userAgent"),userId:Ef("id"),userStoreRegion:Ef("storeRegion"),userAuthUserId:Ef("authUserId"),userAnonymousUserAcquisitionDate:Ef("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Ef("authUserAcquisitionDate"),cloudName:Tf("name"),cloudRole:Tf("role"),cloudRoleVer:Tf("roleVer"),cloudRoleInstance:Tf("roleInstance"),cloudEnvironment:Tf("environment"),cloudLocation:Tf("location"),cloudDeploymentUnit:Tf("deploymentUnit"),internalNodeName:$f("nodeName"),internalSdkVersion:$f("sdkVersion"),internalAgentVersion:$f("agentVersion"),internalSnippet:$f("snippet"),internalSdkSrc:$f("sdkSrc")},function(){var t=this;wf&&Qe(wf,(function(e,r){t[e]=r}))})),Af="user",If="device",jf="trace",Rf=new Of,Df=function(t,e,r){var o=this,n=this;n.ver=1,n.sampleRate=100,n.tags={},n[El]=$c(t,r)||Sc,n.data=e,n.time=js(new Date),n.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===o.sampleRate?4:1},tags:1,data:1}},Lf=function(t,e){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=e},Pf="duration",Mf="tags",Nf="deviceType",qf="data",zf="name",Hf="traceID",Vf="length",Uf="stringify",Ff="measurements",Bf="dataType",Wf="envelopeType",Kf="toString",Xf="_get",Gf="enqueue",Jf="count",Qf="eventsLimitInMem",Yf="push",Zf="item",th="emitLineDelimitedJson",eh="clear",rh="createNew",oh="markAsSent",nh="clearSent",ih="bufferOverride",sh="BUFFER_KEY",ah="SENT_BUFFER_KEY",lh="concat",ch="MAX_BUFFER_SIZE",dh="triggerSend",uh="diagLog",ph="initialize",bh="_sender",fh="customHeaders",hh="maxBatchSizeInBytes",gh="onunloadDisableBeacon",vh="isBeaconApiDisabled",mh="alwaysUseXhrOverride",yh="disableXhr",wh="enableSessionStorageBuffer",_h="_buffer",xh="onunloadDisableFetch",Ch="disableSendBeaconSplit",kh="instrumentationKey",Sh="enableSendPromise",Eh="getSenderInst",Th="unloadTransports",$h="convertUndefined",Oh="maxBatchInterval",Ah="serialize",Ih="_onError",jh="_onPartialSuccess",Rh="_onSuccess",Dh="itemsReceived",Lh="itemsAccepted",Ph="oriPayload",Mh="baseType",Nh="sampleRate",qh="eventsSendRequest",zh="getSamplingScore",Hh="baseType",Vh="baseData",Uh="properties",Fh="true";function Bh(t,e,r){return Ds(t,e,r,We)}function Wh(t,e,r){Le(t)||Qe(t,(function(t,o){Ve(o)?r[t]=o:Me(o)?e[t]=o:ca()&&(e[t]=da()[Uf](o))}))}function Kh(t,e){Le(t)||Qe(t,(function(r,o){t[r]=o||e}))}function Xh(t,e,r,o){var n=new Df(t,o,e);Bh(n,"sampleRate",r[wc]),(r[Vh]||{}).startTime&&(n.time=js(r[Vh].startTime)),n.iKey=r.iKey;var i=r.iKey.replace(/-/g,"");return n[zf]=n[zf].replace("{0}",i),function(t,e,r){var o=r[Mf]=r[Mf]||{},n=e.ext=e.ext||{},i=e[Mf]=e[Mf]||[],s=n.user;s&&(Bh(o,Rf.userAuthUserId,s.authId),Bh(o,Rf.userId,s.id||s.localId));var a=n.app;a&&Bh(o,Rf.sessionId,a.sesId);var l=n.device;l&&(Bh(o,Rf.deviceId,l.id||l.localId),Bh(o,Rf[Nf],l.deviceClass),Bh(o,Rf.deviceIp,l.ip),Bh(o,Rf.deviceModel,l.model),Bh(o,Rf[Nf],l[Nf]));var c=e.ext.web;if(c){Bh(o,Rf.deviceLanguage,c.browserLang),Bh(o,Rf.deviceBrowserVersion,c.browserVer),Bh(o,Rf.deviceBrowser,c.browser);var d=r[qf]=r[qf]||{},u=d[Vh]=d[Vh]||{},p=u[Uh]=u[Uh]||{};Bh(p,"domain",c.domain),Bh(p,"isManual",c.isManual?Fh:null),Bh(p,"screenRes",c.screenRes),Bh(p,"userConsent",c.userConsent?Fh:null)}var b=n.os;b&&(Bh(o,Rf.deviceOS,b[zf]),Bh(o,Rf.deviceOSVersion,b.osVer));var f=n.trace;f&&(Bh(o,Rf.operationParentId,f.parentID),Bh(o,Rf.operationName,$c(t,f[zf])),Bh(o,Rf.operationId,f[Hf]));for(var h={},g=i[Vf]-1;g>=0;g--)Qe(i[g],(function(t,e){h[t]=e})),i.splice(g,1);Qe(i,(function(t,e){h[t]=e}));var v=zn(zn({},o),h);v[Rf.internalSdkVersion]||(v[Rf.internalSdkVersion]=$c(t,"javascript:".concat(Jh.Version),64)),r[Mf]=qs(v)}(t,r,n),r[Mf]=r[Mf]||[],qs(n)}function Gh(t,e){Le(e[Vh])&&hl(t,1,46,"telemetryItem.baseData cannot be null.")}var Jh={Version:"3.2.1"};function Qh(t,e,r){Gh(t,e);var o={},n={};e[Hh]!==Pc[Bf]&&(o.baseTypeSource=e[Hh]),e[Hh]===Pc[Bf]?(o=e[Vh][Uh]||{},n=e[Vh][Ff]||{}):e[Vh]&&Wh(e[Vh],o,n),Wh(e[qf],o,n),Le(r)||Kh(o,r);var i=e[Vh][zf],s=new Pc(t,i,o,n),a=new Lf(Pc[Bf],s);return Xh(t,Pc[Wf],e,a)}var Yh,Zh,tg=function(){function t(e,r){var o=[],n=!1,i=r.maxRetryCnt;this[Xf]=function(){return o},this._set=function(t){return o=t},jn(t,this,(function(t){t[Gf]=function(s){t[Jf]()>=r[Qf]?n||(hl(e,2,105,"Maximum in-memory buffer size reached: "+t[Jf](),!0),n=!0):(s.cnt=s.cnt||0,!Le(i)&&s.cnt>i||o[Yf](s))},t[Jf]=function(){return o[Vf]},t.size=function(){for(var t=o[Vf],e=0;e<o[Vf];e++)t+=o[e].item[Vf];return r[th]||(t+=2),t},t[eh]=function(){o=[],n=!1},t.getItems=function(){return o.slice(0)},t.batchPayloads=function(t){if(t&&t[Vf]>0){var e=[];return bo(t,(function(t){e[Yf](t[Zf])})),r[th]?e.join("\n"):"["+e.join(",")+"]"}return null},t[rh]=function(t,r,n){var i=o.slice(0);t=t||e,r=r||{};var s=n?new og(t,r):new eg(t,r);return bo(i,(function(t){s[Gf](t)})),s}}))}return t.__ieDyn=1,t}(),eg=function(t){function e(r,o){var n=t.call(this,r,o)||this;return jn(e,n,(function(t,e){t[oh]=function(t){e[eh]()},t[nh]=function(t){}})),n}return Vn(e,t),e.__ieDyn=1,e}(tg),rg=["AI_buffer","AI_sentBuffer"],og=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[ih]||{getItem:bc,setItem:fc},l=a.getItem,c=a.setItem,d=o.maxRetryCnt;return jn(e,n,(function(t,o){var n=h(e[sh]),a=h(e[ah]),u=function(){var t=[];try{return bo(rg,(function(e){var r=m(e);if(t=t[lh](r),s){var o=m(s+"_"+e);t=t[lh](o)}})),t}catch(t){hl(r,2,41,"Transfer events from previous buffers: "+Rs(t)+". previous Buffer items can not be removed",{exception:er(t)})}return[]}(),p=a[lh](u),b=t._set(n[lh](p));function f(t,e){var r=[],o=[];return bo(t,(function(t){o[Yf](t[Zf])})),bo(e,(function(t){Ne(t)||-1!==fo(o,t[Zf])||r[Yf](t)})),r}function h(t){return g(s?s+"_"+t:t)}function g(t){try{var e=l(r,t);if(e){var o=da().parse(e);if(Me(o)&&(o=da().parse(o)),o&&ze(o))return o}}catch(e){hl(r,1,42," storage key: "+t+", "+Rs(e),{exception:er(e)})}return[]}function v(t,e){var o=t;try{o=s?s+"_"+o:o;var n=JSON[Uf](e);c(r,o,n)}catch(t){c(r,o,JSON[Uf]([])),hl(r,2,41," storage key: "+o+", "+Rs(t)+". Buffer cleared",{exception:er(t)})}}function m(t){try{var e=g(t),o=[];return bo(e,(function(t){var e={item:t,cnt:0};o[Yf](e)})),hc(r,t),o}catch(t){}return[]}b[Vf]>e[ch]&&(b[Vf]=e[ch]),v(e[ah],[]),v(e[sh],b),t[Gf]=function(n){t[Jf]()>=e[ch]?i||(hl(r,2,67,"Maximum buffer size reached: "+t[Jf](),!0),i=!0):(n.cnt=n.cnt||0,!Le(d)&&n.cnt>d||(o[Gf](n),v(e.BUFFER_KEY,t[Xf]())))},t[eh]=function(){o[eh](),v(e.BUFFER_KEY,t[Xf]()),v(e[ah],[]),i=!1},t[oh]=function(o){v(e[sh],t._set(f(o,t[Xf]())));var n=h(e[ah]);n instanceof Array&&o instanceof Array&&((n=n[lh](o))[Vf]>e[ch]&&(hl(r,1,67,"Sent buffer reached its maximum size: "+n[Vf],!0),n[Vf]=e[ch]),v(e[ah],n))},t[nh]=function(t){var r=h(e[ah]);r=f(t,r),v(e[ah],r)},t[rh]=function(o,n,i){i=!!i;var s=t[Xf]().slice(0),a=h(e[ah]).slice(0);o=o||r,n=n||{},t[eh]();var l=i?new e(o,n):new eg(o,n);return bo(s,(function(t){l[Gf](t)})),i&&l[oh](a),l}})),n}var r;return Vn(e,t),r=e,e.VERSION="_1",e.BUFFER_KEY="AI_buffer"+r.VERSION,e.SENT_BUFFER_KEY="AI_sentBuffer"+r.VERSION,e.MAX_BUFFER_SIZE=2e3,e}(tg),ng=function(){function t(e){jn(t,this,(function(t){function r(t,i){var s="__aiCircularRefCheck",a={};if(!t)return hl(e,1,48,"cannot serialize object because it is null or undefined",{name:i},!0),a;if(t[s])return hl(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(ze(t))a=o(t,i);else{hl(e,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:i},!0);try{da()[Uf](t),a=t}catch(t){hl(e,1,48,t&&Ne(t[Kf])?t[Kf]():"Error serializing object",null,!0)}}return a}return t[s]=!0,Qe(t.aiDataContract,(function(n,s){var l=Ne(s)?1&s():1&s,c=Ne(s)?4&s():4&s,d=2&s,u=void 0!==t[n],p=qe(t[n])&&null!==t[n];if(!l||u||d){if(!c){var b;void 0!==(b=p?d?o(t[n],n):r(t[n],n):t[n])&&(a[n]=b)}}else hl(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(ze(t)){n=[];for(var i=0;i<t[Vf];i++){var s=r(t[i],o+"["+i+"]");n[Yf](s)}}else hl(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={},Qe(t,(function(t,i){if("string"===r)void 0===i?n[t]="undefined":null===i?n[t]="null":i[Kf]?n[t]=i[Kf]():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.",hl(e,1,n[t],null,!0)}))),n}t[Ah]=function(t){var o=r(t,"root");try{return da()[Uf](o)}catch(t){hl(e,1,48,t&&Ne(t[Kf])?t[Kf]():"Error serializing object",null,!0)}}}))}return t.__ieDyn=1,t}(),ig=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[Vf]<8;)t=t[lh](t);for(var e=5381,r=0;r<t[Vf];++r)e=(e<<5)+e+t.charCodeAt(r),e|=0;return Math.abs(e)},t.INT_MAX_VALUE=2147483647,t}(),sg=function(){var t=new ig,e=new Of;this[zh]=function(r){return r[Mf]&&r[Mf][e.userId]?t.getHashCodeScore(r[Mf][e.userId]):r.ext&&r.ext.user&&r.ext.user.id?t.getHashCodeScore(r.ext.user.id):r[Mf]&&r[Mf][e.operationId]?t.getHashCodeScore(r[Mf][e.operationId]):r.ext&&r.ext.telemetryTrace&&r.ext.telemetryTrace[Hf]?t.getHashCodeScore(r.ext.telemetryTrace[Hf]):100*Math.random()}},ag=function(){function t(t,e){this.INT_MAX_VALUE=2147483647;var r=e||pl(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[Nh]=t,this.samplingScoreGenerator=new sg}return t.prototype.isSampledIn=function(t){var e=this[Nh];return null==e||e>=100||t.baseType===qc[Bf]||this.samplingScoreGenerator[zh](t)<e},t}(),lg=void 0;function cg(t){try{return t.responseText}catch(t){}return null}var dg=cr(((Yh={endpointUrl:Md(We,Cc+kc)})[th]=Nd(),Yh[Oh]=15e3,Yh[hh]=102400,Yh.disableTelemetry=Nd(),Yh[wh]=Nd(!0),Yh.isRetryDisabled=Nd(),Yh[vh]=Nd(!0),Yh[Ch]=Nd(!0),Yh[yh]=Nd(),Yh[xh]=Nd(),Yh[gh]=Nd(),Yh[kh]=lg,Yh.namePrefix=lg,Yh.samplingPercentage=Md((function(t){return!isNaN(t)&&t>0&&t<=100}),100),Yh[fh]=lg,Yh[$h]=lg,Yh[Qf]=1e4,Yh[ih]=!1,Yh.httpXHROverride={isVal:function(t){return t&&t.sendPOST},v:lg},Yh[mh]=Nd(),Yh.transports=lg,Yh.retryCodes=lg,Yh.maxRetryCnt={isVal:Ve,v:10},Yh)),ug=((Zh={})[Pc.dataType]=Qh,Zh[Mc.dataType]=function(t,e,r){Gh(t,e);var o=e[Vh].message,n=e[Vh].severityLevel,i=e[Vh][Uh]||{},s=e[Vh][Ff]||{};Wh(e[qf],i,s),Le(r)||Kh(i,r);var a=new Mc(t,o,n,i,s),l=new Lf(Mc[Bf],a);return Xh(t,Mc[Wf],e,l)},Zh[Vc.dataType]=function(t,e,r){var o;Gh(t,e);var n=e[Vh];Le(n)||Le(n[Uh])||Le(n[Uh][Pf])?Le(e[qf])||Le(e[qf][Pf])||(o=e[qf][Pf],delete e[qf][Pf]):(o=n[Uh][Pf],delete n[Uh][Pf]);var i,s=e[Vh];((e.ext||{}).trace||{})[Hf]&&(i=e.ext.trace[Hf]);var a=s.id||i,l=s[zf],c=s.uri,d=s[Uh]||{},u=s[Ff]||{};Le(s.refUri)||(d.refUri=s.refUri),Le(s.pageType)||(d.pageType=s.pageType),Le(s.isLoggedIn)||(d.isLoggedIn=s.isLoggedIn[Kf]()),Le(s[Uh])||Qe(s[Uh],(function(t,e){d[t]=e})),Wh(e[qf],d,u),Le(r)||Kh(d,r);var p=new Vc(t,l,c,o,d,u,a),b=new Lf(Vc[Bf],p);return Xh(t,Vc[Wf],e,b)},Zh[Uc.dataType]=function(t,e,r){Gh(t,e);var o=e[Vh],n=o[zf],i=o.uri||o.url,s=o[Uh]||{},a=o[Ff]||{};Wh(e[qf],s,a),Le(r)||Kh(s,r);var l=new Uc(t,n,i,void 0,s,a,o),c=new Lf(Uc[Bf],l);return Xh(t,Uc[Wf],e,c)},Zh[od.dataType]=function(t,e,r){Gh(t,e);var o=e[Vh][Ff]||{},n=e[Vh][Uh]||{};Wh(e[qf],n,o),Le(r)||Kh(n,r);var i=e[Vh],s=od.CreateFromInterface(t,i,n,o),a=new Lf(od[Bf],s);return Xh(t,od[Wf],e,a)},Zh[qc.dataType]=function(t,e,r){Gh(t,e);var o=e[Vh],n=o[Uh]||{},i=o[Ff]||{};Wh(e[qf],n,i),Le(r)||Kh(n,r);var s=new qc(t,o[zf],o.average,o.sampleCount,o.min,o.max,o.stdDev,n,i),a=new Lf(qc[Bf],s);return Xh(t,qc[Wf],e,a)},Zh[jd.dataType]=function(t,e,r){Gh(t,e);var o=e[Vh][Ff]||{},n=e[Vh][Uh]||{};Wh(e[qf],n,o),Le(r)||Kh(n,r);var i=e[Vh];if(Le(i))return gl(t,"Invalid input for dependency data"),null;var s=i[Uh]&&i[Uh][xc]?i[Uh][xc]:"GET",a=new jd(t,i.id,i.target,i[zf],i[Pf],i.success,i.responseCode,s,i.type,i.correlationContext,n,o),l=new Lf(jd[Bf],a);return Xh(t,jd[Wf],e,l)},Zh),pg=function(t){function e(){var r,o,n,i,s,a,l,c=t.call(this)||this;c.priority=1001,c.identifier=vc;var d,u,p,b,f,h,g,v,m,y,w,_,x,C,k,S,E,T,$,O,A,I,j,R,D,L,P,M=0;return jn(e,c,(function(t,N){function q(e,o){var n=cg(e);if(!e||n+""!="200"&&""!==n){var i=mf(n);i&&i[Dh]&&i[Dh]>i[Lh]&&!C?t[jh](o,i):t[Ih](o,Us(e))}else r=0,t[Rh](o,0)}function z(t,e,r){4===t.readyState&&Q(t.status,e,t.responseURL,r,Fs(t),cg(t)||t.response)}function H(t){try{if(t){var e=t[Ph];return e&&e[Vf]?e:null}}catch(t){}return null}function V(e,r){return!(w||(e?e.baseData&&!e[Mh]?(r&&hl(r,1,70,"Cannot send telemetry without baseData and baseType"),1):(e[Mh]||(e[Mh]="EventData"),t[bh]?(o=e,t._sample.isSampledIn(o)?(e[wc]=t._sample[Nh],0):(r&&hl(r,2,33,"Telemetry item was sampled out and not sent",{SampleRate:t._sample[Nh]}),1)):(r&&hl(r,1,28,"Sender was not initialized"),1)):(r&&hl(r,1,7,"Cannot send empty telemetry"),1)));var o}function U(t,r){var o=t.iKey||_,n=e.constructEnvelope(t,o,r,x);if(n){var i=!1;if(t[Mf]&&t[Mf][_c]&&(bo(t[Mf][_c],(function(t){try{t&&!1===t(n)&&(i=!0,gl(r,"Telemetry processor check returns false"))}catch(t){hl(r,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Rs(t),{exception:er(t)},!0)}})),delete t[Mf][_c]),!i)return n}else hl(r,1,47,"Unable to create an AppInsights envelope")}function F(e){var r="",o=t[uh]();try{var n=V(e,o),i=null;n&&(i=U(e,o)),i&&(r=s[Ah](i))}catch(t){}return r}function B(t){var e="";return t&&t[Vf]&&(e="["+t.join(",")+"]"),e}function W(t){var e,r=G();return(e={urlString:b})[qf]=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[oh](r),s(i,(function(e,o,n){return function(e,r,o,n){200===r&&e?t._onSuccess(e,e[Vf]):n&&t[Ih](e,n)}(r,e,0,n)}),!o)):null}function X(e){var r;if(ze(e)&&e[Vf]>0){var o=t[_h].batchPayloads(e),n=G();return(r={})[qf]=o,r.urlString=b,r.headers=n,r.disableXhrSync=A,r.disableFetchKeepAlive=!I,r[Ph]=e,r}return null}function G(){try{var t=l||{};return kd(b)&&(t[gd[6]]=gd[7]),t}catch(t){}return null}function J(e){var r=e?e[Vf]:0;return t[_h].size()+r>h&&(u&&!u.isOnline()||t[dh](!0,null,10),!0)}function Q(e,o,n,i,s,a){var l=null;if(t._appId||(l=mf(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[Ih](o,s);!C&&it(e)?(rt(o),hl(t[uh](),2,40,". Response code "+e+". Will retry to send "+o[Vf]+" items.")):t[Ih](o,s)}else u&&!u.isOnline()?C||(rt(o,10),hl(t[uh](),2,40,". Offline - Response Code: ".concat(e,". Offline status: ").concat(!u.isOnline(),". Will retry to send ").concat(o.length," items."))):(Y(n),206===e?(l||(l=mf(a)),l&&!C?t[jh](o,l):t[Ih](o,s)):(r=0,t[Rh](o,i)))}function Y(t){return!(a>=10||Le(t)||""===t||t===b||(b=t,++a,0))}function Z(t,e){if(!d)return K(L&&L[Eh]([3],!0),t,e);d(t,!1)}function tt(t){try{if(t&&t[Vf])return Me(t[0])}catch(t){}return null}function et(e,r){var o=null;if(ze(e)){for(var n=e[Vf],i=0;i<e[Vf];i++)n+=e[i].item[Vf];return L.getSyncFetchPayload()+n<=65e3?o=2:ba()?o=3:(o=1,hl(t[uh](),2,40,". Failed to send telemetry with Beacon API, retried with xhrSender.")),K(L&&L[Eh]([o],!0),e,r)}return null}function rt(e,n){if(void 0===n&&(n=1),e&&0!==e[Vf]){var i=t[_h];i[nh](e),r++;for(var s=0,a=e;s<a.length;s++){var l=a[s];l.cnt=l.cnt||0,l.cnt++,i[Gf](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=So()+1e3*e;o=s}(n),ot()}}function ot(){if(!i&&!n){var e=o?Math.max(0,o-So()):0,r=Math.max(k,e);i=tn((function(){i=null,t[dh](!0,null,1)}),r)}}function nt(){i&&i.cancel(),i=null,o=null}function it(t){return Le(P)?401===t||408===t||429===t||500===t||502===t||503===t||504===t:P[Vf]&&P.indexOf(t)>-1}function st(){t[bh]=null,t[_h]=null,t._appId=null,t._sample=null,l={},u=null,r=0,o=null,n=!1,i=null,s=null,a=0,M=0,d=null,p=null,b=null,f=null,h=0,g=!1,y=null,w=!1,_=null,x=lg,C=!1,S=null,T=lg,A=!1,I=!1,D=!1,j=null,R=null,L=null,Pr(t,"_senderConfig",{g:function(){return zs({},dg)}})}st(),t.pause=function(){nt(),n=!0},t.resume=function(){n&&(n=!1,o=null,J(),ot())},t.flush=function(e,r,o){if(void 0===e&&(e=!0),!n){nt();try{return t[dh](e,null,o||1)}catch(e){hl(t[uh](),1,22,"flush failed, telemetry will not be collected: "+Rs(e),{exception:er(e)})}}},t.onunloadFlush=function(){if(!n)if(g||O)try{return t[dh](!0,Z,2)}catch(e){hl(t[uh](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Rs(e),{exception:er(e)})}else t.flush(!1)},t.addHeader=function(t,e){l[t]=e},t[ph]=function(e,n,i,M){t.isInitialized()&&hl(t[uh](),1,28,"Sender is already initialized"),N[ph](e,n,i,M);var V=t.identifier;s=new ng(n.logger),r=0,o=null,t[bh]=null,a=0;var U=t[uh]();p=ju(Aa("Sender"),n.evtNamespace&&n.evtNamespace()),u=function(t){var e=Br(),r=Qr(),o=!1,n=[],i=1;!r||Le(r.onLine)||r.onLine||(i=2);var s=0,a=u(),l=ju(Aa("OfflineListener"),t);try{if(d(Jr())&&(o=!0),e){var c=e.body||e;c.ononline&&d(c)&&(o=!0)}}catch(t){o=!1}function d(t){var e=!1;return t&&(e=Ru(t,"online",b,l))&&Ru(t,"offline",f,l),e}function u(){return 2!==s&&2!==i}function p(){var t=u();a!==t&&(a=t,bo(n,(function(t){var e={isOnline:a,rState:i,uState:s};try{t(e)}catch(t){}})))}function b(){i=1,p()}function f(){i=2,p()}return{isOnline:function(){return a},isListening:function(){return o},unload:function(){var t=Jr();if(t&&o){if(df(t,l),e){var r=e.body||e;De(r.ononline)||df(r,l)}o=!1}},addListener:function(t){return n[kl](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(Za(e,(function(e){var r=e.cfg;r.storagePrefix&&lc(r.storagePrefix);var o=tp(null,r,n).getExtCfg(V,dg);Pr(t,"_senderConfig",{g:function(){return o}}),f!==o.endpointUrl&&(b=f=o.endpointUrl),y&&y!==o[fh]&&bo(y,(function(t){delete l[t.header]})),h=o[hh],g=(!1===o[gh]||!1===o[vh])&&ba(),v=!1===o[gh]&&ba(),m=!1===o[vh]&&ba(),O=o[mh],A=!!o[yh],P=o.retryCodes;var i=o[ih],s=!!o[wh]&&(!!i||pc()),a=o.namePrefix,u=s!==S||s&&T!==a||s&&E!==i;if(t[_h]){if(u)try{t._buffer=t._buffer[rh](U,o,s)}catch(e){hl(t[uh](),1,12,"failed to transfer telemetry to different buffer storage, telemetry will be lost: "+Rs(e),{exception:er(e)})}J()}else t[_h]=s?new og(U,o):new eg(U,o);T=a,S=s,E=i,I=!o[xh]&&fa(!0),D=!!o[Ch],t._sample=new ag(o.samplingPercentage,U),function(t,e){var r=e.disableInstrumentationKeyValidation;return!(Le(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[kh],r)||hl(U,1,100,"Invalid Instrumentation key "+_),y=o[fh],!kd(b)&&y&&y[Vf]>0?bo(y,(function(t){c.addHeader(t.header,t.value)})):y=null,$=o[Sh];var p=function(){var e;try{var r={xdrOnComplete:function(t,e,r){var o=H(r);if(o)return q(t,o)},fetchOnComplete:function(t,e,r,o){var n=H(o);if(n)return Q(t.status,n,t.url,n[Vf],t.statusText,r||"")},xhrOnComplete:function(t,e,r){var o=H(r);if(o)return z(t,o,o[Vf])},beaconOnRetry:function(e,r,o){return function(e,r,o){var n=e&&e[Ph];if(D)R&&R(n,!0),hl(t[uh](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender.");else{for(var i=[],s=0;s<n[Vf];s++){var a=n[s],l=[a];o(X(l),r)?t._onSuccess(l,l[Vf]):i[Yf](a)}i[Vf]>0&&(R&&R(i,!0),hl(t[uh](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}(e,r,o)}};return(e={})[Sh]=$,e.isOneDs=!1,e.disableCredentials=!1,e[yh]=A,e.disableBeacon=!m,e.disableBeaconSync=!v,e.senderOnCompleteCallBack=r,e}catch(t){}return null}();L?L.SetConfig(p):(L=new hf)[ph](p,U);var M=o.httpXHROverride,N=null,F=null,B=Bs([3,1,2],o.transports);N=L&&L[Eh](B,!1);var W=L&&L.getFallbackInst();j=function(t,e){return K(W,t,e)},R=function(t,e){return K(W,t,e,!1)},N=O?M:N||M||W,t[bh]=function(t,e){return K(N,t,e)},I&&(d=et);var G=Bs([3,1],o[Th]);I||(G=G.filter((function(t){return 2!==t}))),F=L&&L[Eh](G,!0),F=O?M:F||M,(O||o[Th]||!d)&&F&&(d=function(t,e){return K(F,t,e)}),d||(d=j),w=o.disableTelemetry,x=o[$h]||lg,C=o.isRetryDisabled,k=o[Oh]})))},t.processTelemetry=function(e,r){var o,n=(r=t._getTelCtx(r))[uh]();try{if(!V(e,n))return;var i=U(e,n);if(!i)return;var a=s[Ah](i),l=t[_h];J(a);var c=((o={})[Zf]=a,o.cnt=0,o);l[Gf](c),ot()}catch(t){hl(n,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Rs(t),{exception:er(t)})}t.processNext(e,r)},t.isCompletelyIdle=function(){return!n&&0===M&&0===t._buffer[Jf]()},t._xhrReadyStateChange=function(t,e,r){if(!tt(e))return z(t,e,r)},t[dh]=function(e,r,o){var i;if(void 0===e&&(e=!0),!n)try{var s=t[_h];if(w)s[eh]();else{if(s[Jf]()>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[qh])try{n[qh](e,r)}catch(e){hl(t[uh](),1,74,"send request notification failed: "+Rs(e),{exception:er(e)})}}(o||0,e),i=r?r.call(t,a,e):t[bh](a,e)}new Date}nt()}catch(e){var l=pa();(!l||l>9)&&hl(t[uh](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+Rs(e),{exception:er(e)})}return i},t.getOfflineSupport=function(){var t;return(t={getUrl:function(){return b},createPayload:W})[Ah]=F,t.batch=B,t.shouldProcess=function(t){return!!V(t)},t},t._doTeardown=function(e,r){t.onunloadFlush(),gf(u,!1),st()},t[Ih]=function(e,r,o){if(!tt(e))return function(e,r,o){hl(t[uh](),2,26,"Failed to send telemetry.",{message:r}),t._buffer&&t._buffer[nh](e)}(e,r)},t[jh]=function(e,r){if(!tt(e))return 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];it(a.statusCode)?n[Yf](l):o[Yf](l)}e[Vf]>0&&t[Rh](e,r[Lh]),o[Vf]>0&&t[Ih](o,Fs(null,["partial success",r[Lh],"of",r.itemsReceived].join(" "))),n[Vf]>0&&(rt(n),hl(t[uh](),2,40,"Partial success. Delivered: "+e[Vf]+", Failed: "+o[Vf]+". Will retry to send "+n[Vf]+" our of "+r[Dh]+" items"))}(e,r)},t[Rh]=function(e,r){if(!tt(e))return function(e,r){t._buffer&&t._buffer[nh](e)}(e)},t._xdrOnLoad=function(t,e){if(!tt(e))return q(t,e)}})),c}return Vn(e,t),e.constructEnvelope=function(t,e,r,o){var n;return n=e===t.iKey||Le(e)?t:zn(zn({},t),{iKey:e}),(ug[n.baseType]||Qh)(r,n,o)},e}(vp);var bg=function(t,e){var r,o,n,i,s,a,l,c=this,d=!1,u=!1;function p(t,e,n,i){if(d){var a=function(t){try{var e=b(t);return(1e6>0?Math.floor(ka()/va*1000001)>>>0:0)<=e.limit.samplingRate}catch(t){}return!1}(t);if(!a)return;var l=b(t),c=_(t),u=h(l,r,c),p=!1,f=0,v=x(t);try{u&&!v?(f=Math.min(l.limit.maxSendNumber,c[$l]+1),c[$l]=0,p=!0,s[t]=!0,c[Ol]=new Date):(s[t]=u,c[$l]+=1);var y=g(t);m(o,y,c);for(var k=0;k<f;k++)w(t,o,e,n)}catch(t){}return{isThrottled:p,throttleNum:f}}return i&&C(t)[kl]({msgID:t,message:e,severity:n}),null}function b(t){return n[t]||n[109]}function f(t,e){var r,o,i,s,a;try{var l=e||{},c={};c[Al]=!!l[Al];var d=l[Il]||{};u=(null==d?void 0:d.daysOfMonth)&&(null==d?void 0:d.daysOfMonth[wl])>0,c[Il]=(s=null===(i=(i=d)||{})||void 0===i?void 0:i.monthInterval,a=null==i?void 0:i.dayInterval,Le(s)&&Le(a)&&(i.monthInterval=3,u||(i[jl]=[28],u=!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[Al]&&e&&Os(r)){var o=v(),n=r[Rl],i=t[Il],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(u)l=fo(i[jl],o[Dl]());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=Os(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 uc(t,e,Io(JSON[Ll](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){hl(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[Rl])||o[Rl],count:n[$l]||o[$l],preTriggerDate:n.preTriggerDate?v(n[Ol]):void 0}}return m(e,r,o),o}catch(t){}return null}(dc(o,r),o,r),i[t]=e}return i[t]}catch(t){}return null}function x(t){var e=s[t];if(Le(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[Dl]()===e[Dl]()}}catch(t){}return!1}(r[Ol])),s[t]=e}return s[t]}function C(t){return Le((l=l||{})[t])&&(l[t]=[]),l[t]}o=pl(t),s={},i={},l={},n={},f(109),a=Os(e)?e:"",t.addUnloadHook(Za(t.config,(function(t){var e=t.cfg;r=cc(),Qe(e.throttleMgrCfg||{},(function(t,e){f(parseInt(t),e)}))}))),c._getDbgPlgTargets=function(){return[l]},c.getConfig=function(){return n},c.canThrottle=function(t){var e=_(t);return h(b(t),r,e)},c.isTriggered=function(t){return x(t)},c.isReady=function(){return d},c.flush=function(t){try{var e=C(t);if(e&&e[wl]>0){var r=e.slice(0);return l[t]=[],bo(r,(function(t){p(t.msgID,t[Tl],t.severity,!1)})),!0}}catch(t){}return!1},c.flushAll=function(){try{if(l){var t=!0;return Qe(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),(d=!!Le(t)||t)&&e?c.flushAll():null},c.sendMessage=function(t,e,r){return p(t,e,r,!0)}},fg={perfEvtsSendAll:!1};function hg(t){t.h=null;var e=t.cb;t.cb=[],bo(e,(function(t){Ae(t.fn,[t.arg])}))}function gg(t,e,r,o){bo(t,(function(t){t&&t[e]&&(r?(r.cb[ei]({fn:o,arg:t}),r.h=r.h||tn(hg,0,r)):Ae(o,[t]))}))}var vg,mg=function(){function t(e){var r,o;this.listeners=[];var n=[],i={h:null,cb:[]},s=Ya(e,fg);o=s[Yn]((function(t){r=!!t.cfg.perfEvtsSendAll})),jn(t,this,(function(t){Pr(t,"listeners",{g:function(){return n}}),t[li]=function(t){n[ei](t)},t[ai]=function(t){for(var e=fo(n,t);e>-1;)n[ri](e,1),e=fo(n,t)},t[fs]=function(t){gg(n,fs,i,(function(e){e[fs](t)}))},t[hs]=function(t,e){gg(n,hs,i,(function(r){r[hs](t,e)}))},t[gs]=function(t,e){gg(n,gs,e?i:null,(function(r){r[gs](t,e)}))},t[vs]=function(t){t&&(!r&&t[Fi]()||gg(n,vs,null,(function(e){t[Ti]?tn((function(){return e[vs](t)}),0):e[vs](t)})))},t[ms]=function(t){t&&t[Wn]&&gg(n,ms,i,(function(e){e[ms](t)}))},t[ys]=function(t){t&&t[Bi]&&gg(n,ys,i,(function(e){e[ys](t)}))},t[ws]=function(t,e){if(t>0){var r=e||0;gg(n,ws,i,(function(e){e[ws](t,r)}))}},t[yi]=function(t){var e,r=function(){o&&o.rm(),o=null,n=[],i.h&&i.h[ni](),i.h=null,i.cb=[]};if(gg(n,"unload",null,(function(r){var o=r[yi](t);o&&(e||(e=[]),e[ei](o))})),e)return Xb((function(t){return $b(Gb(e),(function(){r(),t()}))}));r()}}))}return t.__ieDyn=1,t}(),yg=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(),jn(e,n,(function(t,e){t.addTelemetryInitializer=function(t){return function(t,e,r){var o={id:e,fn:r};return po(t,o),{remove:function(){bo(t,(function(e,r){if(e.id===o.id)return t[ri](r,1),-1}))}}}(o,r++,t)},t[ps]=function(e,r){(function(t,e,r){for(var o=!1,n=t[Wn],i=0;i<n;++i){var s=t[i];if(s)try{if(!1===s.fn[ti](null,[e])){o=!0;break}}catch(t){hl(r,2,64,"Telemetry initializer failed: "+Rs(t),{exception:er(t)},!0)}}return!o})(o,e,r?r[$i]():t[$i]())&&t[hi](e,r)},t[Oi]=function(){i()}})),n}return Vn(e,t),e.__ieDyn=1,e}(vp),wg="Plugins must provide initialize method",_g="SDK is still unloading...",xg=cr(((vg={cookieCfg:{}})[us]={rdOnly:!0,ref:!0,v:[]},vg[ss]={rdOnly:!0,ref:!0,v:[]},vg[ds]={ref:!0,v:{}},vg[ls]=ns,vg.loggingLevelConsole=0,vg.diagnosticLogInterval=ns,vg));function Cg(t,e){return new Vu(e)}function kg(t,e){var r=!1;return bo(e,(function(e){if(e===t)return r=!0,-1})),r}function Sg(t,e,r,o){r&&Qe(r,(function(r,n){o&&jo(n)&&jo(e[r])&&Sg(t,e[r],n,o),o&&jo(n)&&jo(e[r])?Sg(t,e[r],n,o):t.set(e,r,n)}))}function Eg(t,e){var r=null,o=-1;return bo(t,(function(t,n){if(t.w===e)return r=t,o=n,-1})),{i:o,l:r}}function Tg(t,e,r,o){return e.add(t[Yn]((function(t){var e=t.cfg.disableDbgExt;!0===e&&o&&(r[ai](o),o=null),r&&!o&&!0!==e&&(o=function(t){if(!tl){tl={};for(var e=0;e<rl[Wn];e++)tl[rl[e]]=nl(rl[e],t)}return tl}(t.cfg),r[li](o))}))),o}var $g=function(){function t(){var e,r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m,y,w,_,x,C,k,S,E,T,$;jn(t,this,(function(t){function O(t){return E&&E[vi]||$||(t||o&&o.queue[Wn]>0)&&(T||(T=!0,V(e[Yn]((function(t){var e=t.cfg.diagnosticLogInterval;e&&e>0||(e=1e4);var r=!1;E&&(r=E[vi],E[ni]()),E=function(t,e){return Zo(!1,ae,Oe[we](arguments))}(M,e),E.unref(),E[vi]=r})))),E[vi]=!0),E}function A(){var t={};k=[];var e=function(e){e&&bo(e,(function(e){if(e[si]&&e[_i]&&!t[e.identifier]){var r=e[si]+"="+e[_i];k[ei](r),t[e.identifier]=e}}))};e(p),u&&bo(u,(function(t){e(t)})),e(d)}function I(){r=!1,(e=Ya({},xg,t[Zn])).cfg[xi]=1,Pr(t,"config",{g:function(){return e.cfg},s:function(e){t.updateCfg(e,!1)}}),Pr(t,"pluginVersionStringArr",{g:function(){return k||A(),k}}),Pr(t,"pluginVersionString",{g:function(){return S||(k||A(),S=k.join(";")),S||is}}),Pr(t,"logger",{g:function(){return o||(o=new bl(e.cfg),e[Zn]=o),o},s:function(t){e[Zn]=t,o!==t&&(gf(o,!1),o=t)}}),t[Zn]=new bl(e.cfg),C=[];var y=t.config[us]||[];y.splice(0,y[Wn]),po(y,C),f=new yg,n=[],gf(i,!1),i=null,s=null,a=null,gf(l,!1),l=null,c=null,d=[],u=null,p=null,b=!1,h=null,g=Aa("AIBaseCore",!0),v=bp(),w=null,_=null,m=fp(),x=[],S=null,k=null,$=!1,E=null,T=!1}function j(){var r=tp(L(),e.cfg,t);return r[wi](O),r}function R(e){var r=function(t,e,r){var o,n=[],i=[],s={};return bo(r,(function(e){(Le(e)||Le(e[ii]))&&rr(wg);var r=e[bs],o=e[si];e&&r&&(Le(s[r])?s[r]=o:gl(t,"Two extensions have same priority #"+r+" - "+s[r]+", "+o)),!r||r<500?n[ei](e):i[ei](e)})),(o={})[as]=n,o[ss]=i,o}(t[Zn],0,d);c=null,S=null,k=null,p=Xu(po(p=(u||[])[0]||[],r[ss]));var o=po(Xu(r[as]),p);C=dr(o);var n=t.config[us]||[];n.splice(0,n[Wn]),po(n,C);var i=j();p&&p[Wn]>0&&Ku(i[Ci](p),o),Ku(i,o),e&&q(e)}function D(t){var e=null,r=null,o=[];return bo(C,(function(e){if(e[si]===t&&e!==f)return r=e,-1;e.getChannel&&o[ei](e)})),!r&&o[Wn]>0&&bo(o,(function(e){if(!(r=e.getChannel(t)))return-1})),r&&(e={plugin:r,setEnabled:function(t){Wu(r)[cs]=!t},isEnabled:function(){var t=Wu(r);return!t[ki]&&!t[cs]},remove:function(t,e){var o;void 0===t&&(t=!0);var n=[r],i=((o={reason:1})[Ti]=t,o);P(n,i,(function(t){t&&R({reason:32,removed:n}),e&&e(t)}))}}),e}function L(){if(!c){var r=(C||[]).slice();-1===fo(r,f)&&r[ei](f),c=op(Xu(r),e.cfg,t)}return c}function P(r,o,n){if(r&&r[Wn]>0){var i=ep(op(r,e.cfg,t),t);i[wi]((function(){var t=!1,e=[];bo(d,(function(o,n){kg(o,r)?t=!0:e[ei](o)})),d=e,S=null,k=null;var o=[];u&&(bo(u,(function(e,n){var i=[];bo(e,(function(e){kg(e,r)?t=!0:i[ei](e)})),o[ei](i)})),u=o),n&&n(t),O()})),i[hi](o)}else n(!1)}function M(){if(o&&o.queue){var e=o.queue.slice(0);o.queue[Wn]=0,bo(e,(function(e){var r,o=((r={})[bi]=h||"InternalMessageId: "+e[Si],r.iKey=_,r[fi]=js(new Date),r.baseType=ul.dataType,r.baseData={message:e[Ei]},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[ni](),s=null,e&&e(i),e=null)}return o=o||5e3,p&&p[Wn]>0&&j()[Ci](p).iterate((function(e){if(e.flush){n++;var i=!1;e.flush(t,(function(){i=!0,a()}),r)||i||(t&&null==s?s=tn((function(){s=null,a()}),o):a())}})),i=!0,a(),!0}function q(e){var r=rp(L(),t);r[wi](O),t._updateHook&&!0===t._updateHook(r,e)||r[hi](e)}function z(e){var r=t[Zn];r?(hl(r,2,73,e),O()):rr(e)}function H(e){var r=t[di]();r&&r[hs]([e],2)}function V(t){m.add(t)}I(),t._getDbgPlgTargets=function(){return[C]},t[ci]=function(){return r},t[ii]=function(n,l,c,f){var h;b&&rr(_g),t[ci]()&&rr("Core cannot be initialized more than once"),n=(e=Ya(n,xg,c||t[Zn],!1)).cfg,V(e[Yn]((function(t){_=t.cfg.instrumentationKey;var e=t.ref(t.cfg,ds);Qe(e,(function(r){t.ref(e,r)})),Le(_)&&rr("Please provide instrumentation key")}))),y=Tg(e,m,(i=f)&&t[di](),y),V(e[Yn]((function(e){if(e.cfg.enablePerfMgr){var r=e.cfg[ls];h!==r&&(r||(r=Cg),Ls(e.cfg,ls,r),h=r,a=null),s||a||!Ne(r)||(a=r(t,t[di]()))}else a=null,h=null}))),t[Zn]=c;var g=n[us];if((d=[])[ei].apply(d,Un(Un([],l),g)),u=n[ss],R(null),p&&0!==p[Wn]||rr("No "+ss+" available"),u&&u[Wn]>1){var v=t[ui]("TeeChannelController");v&&v.plugin||hl(o,1,28,"TeeChannel required")}!function(t,e,r){bo(e,(function(e){var o=Za(t,e.w,r);delete e.w,e.rm=function(){o.rm()}}))}(n,x,o),x=null,r=!0,t.releaseQueue(),t[pi]()},t.getChannels=function(){var t=[];return p&&bo(p,(function(e){t[ei](e)})),dr(t)},t.track=function(e){Fu(t[_s](),(function(){return"AppInsightsCore:track"}),(function(){null===e&&(H(e),rr("Invalid telemetry item")),!e[bi]&&Le(e[bi])&&(H(e),rr("telemetry name required")),e.iKey=e.iKey||_,e[fi]=e[fi]||js(new Date),e.ver=e.ver||"4.0",!b&&t[ci]()?j()[hi](e):n[ei](e)}),(function(){return{item:e}}),!e.sync)},t[gi]=j,t[di]=function(){return i||(i=new mg(e.cfg),t._notificationManager=i),i},t[li]=function(e){t.getNotifyMgr()[li](e)},t[ai]=function(t){i&&i[ai](t)},t.getCookieMgr=function(){return l||(l=nu(e.cfg,t[Zn])),l},t.setCookieMgr=function(t){l!==t&&(gf(l,!1),l=t)},t[_s]=function(){return s||a||null},t.setPerfMgr=function(t){s=t},t.eventCnt=function(){return n[Wn]},t.releaseQueue=function(){if(r&&n[Wn]>0){var t=n;n=[],bo(t,(function(t){j()[hi](t)}))}},t[pi]=function(t){return h=t||null,$=!1,E&&E[ni](),O(!0)},t[mi]=function(){$=!0,E&&E[ni](),M()},Ns(t,(function(){return f}),["addTelemetryInitializer"]),t[yi]=function(e,n,s){var a;void 0===e&&(e=!0),r||rr("SDK is not initialized"),b&&rr(_g);var c,d=((a={reason:50})[Ti]=e,a.flushComplete=!1,a);e&&!n&&(c=Xb((function(t){n=t})));var u=ep(L(),t);function p(e){d.flushComplete=e,b=!0,v.run(u,d),t[mi](),u[hi](d)}return u[wi]((function(){m.run(t[Zn]),vf([l,i,o],e,(function(){I(),n&&n(d)}))}),t),M(),N(e,p,6,s)||p(!1),c},t[ui]=D,t.addPlugin=function(t,e,r,o){if(!t)return o&&o(!1),void z(wg);var n=D(t[si]);if(n&&!e)return o&&o(!1),void z("Plugin ["+t[si]+"] is already loaded!");var i={reason:16};function s(e){d[ei](t),i.added=[t],R(i),o&&o(!0)}if(n){var a=[n.plugin];P(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[ci]()){n={reason:1,cfg:e.cfg,oldCfg:qo({},e.cfg),newConfig:qo({},r),merge:o},r=n.newConfig;var i=e.cfg;r[us]=i[us],r[ss]=i[ss]}e._block((function(t){var e=t.cfg;Sg(t,e,r,o),o||Qe(e,(function(o){Ge(r,o)||t.set(e,o,ns)})),t[Qn](e,xg)}),!0),e[Xn](),n&&q(n)},t.evtNamespace=function(){return g},t.flush=N,t.getTraceCtx=function(t){return w||(e={},w={getName:function(){return e[bi]},setName:function(t){e[bi]=t},getTraceId:function(){return e[es]},setTraceId:function(t){bd(t)&&(e[es]=t)},getSpanId:function(){return e[rs]},setSpanId:function(t){fd(t)&&(e[rs]=t)},getTraceFlags:function(){return e[os]},setTraceFlags:function(t){e[os]=t}}),w;var e},t.setTraceCtx=function(t){w=t||null},t.addUnloadHook=V,Ms(t,"addUnloadCb",(function(){return v}),"add"),t.onCfgChange=function(o){var n,i,s,a;return r?n=Za(e.cfg,o,t[Zn]):((a=Eg(i=x,s=o).l)||(a={w:s,rm:function(){var t=Eg(i,s);-1!==t.i&&i[ri](t.i,1)}},i[ei](a)),n=a),function(t){return Pr({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}(),Og="duration",Ag="properties",Ig="requestUrl",jg="inst",Rg="length",Dg="traceID",Lg="spanID",Pg="traceFlags",Mg="context",Ng="aborted",qg="traceId",zg="spanId",Hg="_addHook",Vg="core",Ug="includeCorrelationHeaders",Fg="getAbsoluteUrl",Bg="headers",Wg="requestHeaders",Kg="setRequestHeader",Xg="trackDependencyDataInternal",Gg="startTime",Jg="toLowerCase",Qg="enableRequestHeaderTracking",Yg="enableAjaxErrorStatusText",Zg="enableAjaxPerfTracking",tv="maxAjaxCallsPerView",ev="excludeRequestFromAutoTrackingPatterns",rv="addRequestContext",ov="disableAjaxTracking",nv="ajaxPerfLookupDelay",iv="disableFetchTracking",sv="enableResponseHeaderTracking",av="status",lv="statusText",cv="headerMap",dv="openDone",uv="sendDone",pv="requestSentTime",bv="abortDone",fv="getTraceId",hv="getTraceFlags",gv="method",vv="errorStatusText",mv="stateChangeAttached",yv="responseText",wv="responseFinishedTime",_v="CreateTrackItem",xv="response",Cv="getAllResponseHeaders",kv="getPartAProps",Sv="perfMark",Ev="name",Tv="perfTiming",$v="exception",Ov="ajaxDiagnosticsMessage",Av="correlationContext",Iv="ajaxTotalDuration",jv="eventTraceCtx";function Rv(t,e,r){var o=0,n=t[e],i=t[r];return n&&i&&(o=$d(n,i)),o}function Dv(t,e,r,o,n){var i=0,s=Rv(r,o,n);return s&&(i=Lv(t,e,Hc(s))),i}function Lv(t,e,r){var o="ajaxPerf",n=0;return t&&e&&r&&((t[o]=t[o]||{})[e]=r,n=1),n}var Pv,Mv=function(){var t=this;t[dv]=!1,t.setRequestHeaderDone=!1,t[uv]=!1,t[bv]=!1,t[mv]=!1},Nv=function(){function t(e,r,o,n){var i,s=this,a=o;s[Sv]=null,s.completed=!1,s.requestHeadersSize=null,s[Wg]=null,s.responseReceivingDuration=null,s.callbackDuration=null,s[Iv]=null,s[Ng]=0,s.pageUrl=null,s[Ig]=null,s.requestSize=0,s[gv]=null,s[av]=null,s[pv]=null,s.responseStartedTime=null,s[wv]=null,s.callbackFinishedTime=null,s.endTime=null,s.xhrMonitoringState=new Mv,s.clientFailure=0,s[Dg]=e,s[Lg]=r,s[Pg]=null==n?void 0:n.getTraceFlags(),s[jv]=n?((i={})[qg]=n[fv](),i[zg]=n.getSpanId(),i[Pg]=n[hv](),i):null,jn(t,s,(function(t){t.getAbsoluteUrl=function(){return t[Ig]?function(t){var e,r=wd(t);return r&&(e=r.href),e}(t[Ig]):null},t.getPathName=function(){return t[Ig]?Oc(a,(e=t[gv],r=t[Ig],e?e.toUpperCase()+" "+r:r)):null;var e,r},t[_v]=function(e,r,o){var n;if(t.ajaxTotalDuration=Math.round(1e3*$d(t.requestSentTime,t.responseFinishedTime))/1e3,t[Iv]<0)return null;var i=((n={id:"|"+t[Dg]+"."+t[Lg],target:t[Fg]()})[Ev]=t.getPathName(),n.type=e,n[Gg]=null,n.duration=t[Iv],n.success=+t[av]>=200&&+t[av]<400,n.responseCode=+t[av],n[Ag]={HttpMethod:t[gv]},n),s=i[Ag];if(t[Ng]&&(s[Ng]=!0),t[pv]&&(i[Gg]=new Date,i[Gg].setTime(t[pv])),function(t,e){var r=t[Tv],o=e[Ag]||{},n=0,i="name",s="Start",a="End",l="domainLookup",c="connect",d="redirect",u="request",p="response",b="startTime",f=l+s,h=l+a,g=c+s,v=c+a,m=u+s,y=u+a,w=p+s,_=p+a,x=d+s,C=d=a,k="transferSize",S="encodedBodySize",E="decodedBodySize",T="serverTiming";if(r){n|=Dv(o,d,r,x,C),n|=Dv(o,l,r,f,h),n|=Dv(o,c,r,g,v),n|=Dv(o,u,r,m,y),n|=Dv(o,p,r,w,_),n|=Dv(o,"networkConnect",r,b,v),n|=Dv(o,"sentRequest",r,m,_);var $=r[Og];$||($=Rv(r,b,_)||0),n|=Lv(o,Og,$),n|=Lv(o,"perfTotal",$);var O=r[T];if(O){var A={};bo(O,(function(t,e){var r=As(t[i]||""+e),o=A[r]||{};Qe(t,(function(t,e){(t!==i&&Me(e)||Ve(e))&&(o[t]&&(e=o[t]+";"+e),!e&&Me(e)||(o[t]=e))})),A[r]=o})),n|=Lv(o,T,A)}n|=Lv(o,k,r[k]),n|=Lv(o,S,r[S]),n|=Lv(o,E,r[E])}else t[Sv]&&(n|=Lv(o,"missing",t.perfAttempts));n&&(e[Ag]=o)}(t,i),r&&lr(t.requestHeaders)[Rg]>0&&(s[Wg]=t[Wg]),o){var a=o();if(a){var l=a[Av];if(l&&(i.correlationContext=l),a[cv]&&lr(a.headerMap)[Rg]>0&&(s.responseHeaders=a[cv]),t[vv])if(t[av]>=400){var c=a.type;""!==c&&"text"!==c||(s.responseText=a.responseText?a[lv]+" - "+a.responseText:a[lv]),"json"===c&&(s.responseText=a.response?a[lv]+" - "+JSON.stringify(a[xv]):a[lv])}else 0===t[av]&&(s.responseText=a[lv]||"")}}return i},t[kv]=function(){var e,r=null,o=t[jv];if(o&&(o[qg]||o[zg])){var n=(r={})[jf]=((e={})[Dg]=o[qg],e.parentID=o[zg],e);Le(o[Pg])||(n[Pg]=o[Pg])}return r}}))}return t.__ieDyn=1,t}(),qv="ai.ajxmn.",zv="diagLog",Hv="_ajaxData",Vv="fetch",Uv="Failed to monitor XMLHttpRequest",Fv=", monitoring data for this ajax call ",Bv=Fv+"may be incorrect.",Wv=Fv+"won't be sent.",Kv="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Xv="Failed to add custom defined request context as configured call back may missing a null check.",Gv="Failed to calculate the duration of the ",Jv=0,Qv=function(t,e){return t&&e&&t[Hv]?(t[Hv].i||{})[e]:null},Yv=function(t,e){var r=!1;if(t){var o=(t[Hv]||{}).xh;o&&bo(o,(function(t){if(t.n===e)return r=!0,-1}))}return r};function Zv(t,e){var r="";try{var o=Qv(t,e);o&&o[Ig]&&(r+="(url: '"+o[Ig]+"')")}catch(t){}return r}function tm(t,e,r,o,n){hl(t[zv](),1,e,r,o,n)}function em(t,e,r,o,n){hl(t[zv](),2,e,r,o,n)}function rm(t,e,r){return function(o){var n;tm(t,e,r,((n={ajaxDiagnosticsMessage:Zv(o[jg],t._ajaxDataId)})[$v]=er(o.err),n))}}function om(t,e){return t&&e?Xo(t,e):-1}function nm(t,e,r){var o={id:e,fn:r};return t.push(o),{remove:function(){bo(t,(function(e,r){if(e.id===o.id)return t.splice(r,1),-1}))}}}function im(t,e,r,o){var n=!0;return bo(e,(function(e,i){try{!1===e.fn.call(null,r)&&(n=!1)}catch(e){hl(t&&t.logger,1,64,"Dependency "+o+" [#"+i+"] failed: "+Rs(e),{exception:er(e)},!0)}})),n}var sm="*.blob.core.",am=dr([sm+"windows.net",sm+"chinacloudapi.cn",sm+"cloudapi.de",sm+"usgovcloudapi.net"]),lm=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i],cm=dr(((Pv={})[tv]=500,Pv[ov]=!1,Pv[iv]=!1,Pv[ev]=void 0,Pv.disableCorrelationHeaders=!1,Pv.distributedTracingMode=1,Pv.correlationHeaderExcludedDomains=am,Pv.correlationHeaderDomains=void 0,Pv.correlationHeaderExcludePatterns=void 0,Pv.appId=void 0,Pv.enableCorsCorrelation=!1,Pv[Qg]=!1,Pv[sv]=!1,Pv[Yg]=!1,Pv[Zg]=!1,Pv.maxAjaxPerfLookupAttempts=3,Pv[nv]=25,Pv.ignoreHeaders=["Authorization","X-API-Key","WWW-Authenticate"],Pv[rv]=void 0,Pv.addIntEndpoints=!0,Pv)),dm=function(t){function e(){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m,y,w,_,x,C,k,S,E,T,$,O,A,I,j=t.call(this)||this;return j.identifier=e.identifier,j.priority=120,jn(e,j,(function(t,j){var R=j[Hg];function D(){var e=la();r=!1,o=!1,I=!1,n=e&&e.host&&e.host[Jg](),i=null,s=!1,a=!1,l=0,c=null,d=!1,u=!1,p=null,b=!1,f=0,h=!1,g={},v=!1,m=!1,y=null,w=null,_=null,C=0,k=[],S=[],x=Aa("ajaxData"),t._ajaxDataId=x,E=null,T=1,$=1,O=1,A=null}function L(t){var e=!0;return(t||E)&&bo(E,(function(r){if(r[Jg]()===t[Jg]())return e=!1,-1})),e}function P(t,e,r){R(function(t,e,r){return t?up(t[Pn],e,r,!1):null}(t,e,r))}function M(t,e,r){var o=!1,n=((Me(e)?e:(e||{}).url||"")||"")[Jg]();if(bo(y,(function(t){var e=t;Me(t)&&(e=new RegExp(t)),o||(o=e.test(n))})),o)return o;var i=om(n,"?"),s=om(n,"#");return(-1===i||-1!==s&&s<i)&&(i=s),-1!==i&&(n=n.substring(0,i)),Le(t)?Le(e)||(o="object"==typeof e&&!0===e[yc]||!!r&&!0===r[yc]):o=!0===t[yc]||!0===n[yc],!o&&n&&kd(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 Le(t)||(n=!0===r||!Le(e)),i&&n}function q(){var e=null;return t[Vg]&&t[Vg].getTraceCtx&&(e=t[Vg].getTraceCtx(!1)),!e&&c&&c.telemetryTrace&&(e=Od(c.telemetryTrace)),e}function z(t,e){if(e[Ig]&&p&&b){var r=Vo();if(r&&Ne(r.mark)){Jv++;var o=p+t+"#"+Jv;r.mark(o);var n=r.getEntriesByName(o);n&&1===n[Rg]&&(e[Sv]=n[0])}}}function H(t,e,r,o){var n=e[Sv],i=Vo(),s=T,a=$,l=e[Ig],c=0;!function d(){try{if(i&&n){c++;for(var u=null,p=i.getEntries(),b=p[Rg]-1;b>=0;b--){var f=p[b];if(f){if("resource"===f.entryType)f.initiatorType!==t||-1===om(f[Ev],l)&&-1===om(l,f[Ev])||(u=f);else if("mark"===f.entryType&&f[Ev]===n[Ev]){e[Tv]=u;break}if(f[Gg]<n[Gg]-1e3)break}}}!n||e[Tv]||c>=s||!1===e.async?(n&&Ne(i.clearMarks)&&i.clearMarks(n[Ev]),e.perfAttempts=c,r()):tn(d,a)}catch(t){o(t)}}()}function V(e){var r="";try{Le(e)||(r+="(url: '".concat("string"==typeof e?e:e.url,"')"))}catch(e){tm(t,15,"Failed to grab failed fetch diagnostics message",{exception:er(e)})}return r}function U(e,r,o,n,i,a,l){function c(e,r,n){var i=n||{};i.fetchDiagnosticsMessage=V(o),r&&(i.exception=er(r)),em(t,e,Gv+"fetch call"+Wv,i)}i&&(i[wv]=Td(),i[av]=r,H(Vv,i,(function(){var e,l=i[_v]("Fetch",s,a);try{w&&(e=w({status:r,request:o,response:n}))}catch(e){em(t,104,Xv)}if(l){void 0!==e&&(l[Ag]=zn(zn({},l.properties),e));var d=i[kv]();F(S,t[Vg],i,l,null,d)}else c(14,null,{requestSentTime:i[pv],responseFinishedTime:i[wv]})}),(function(t){c(18,t,null)})))}function F(e,r,o,n,i,s){var a,l=!0;e[Rg]>0&&(l=im(r,e,((a={item:n})[Ag]=i,a.sysProperties=s,a.context=o?o[Mg]:null,a.aborted=!!o&&!!o[Ng],a),"initializer")),l&&t[Xg](n,i,s)}D(),t.initialize=function(n,l,g,C){var k;t.isInitialized()||(j.initialize(n,l,g,C),_=ju(Aa("ajax"),l&&l.evtNamespace&&l.evtNamespace()),function(r){t[Hg](Za(r,(function(r){var o=r.cfg,n=tp(null,o,t[Vg]);if(i=n.getExtCfg(e.identifier,cm),O=i.distributedTracingMode,s=i[Qg],a=i[Yg],b=i[Zg],f=i[tv],y=[].concat(i[ev]||[],!1!==i.addIntEndpoints?lm:[]),w=i[rv],u=0===O||1===O,d=1===O||2===O,b){var l=o.instrumentationKey||"unkwn";p=l[Rg]>5?qv+Cr(l,l[Rg]-5)+".":qv+l+"."}v=!!i[ov],T=i.maxAjaxPerfLookupAttempts,$=i[nv],E=i.ignoreHeaders,A=i.appId})))}(n),function(t,e){var r,o,n=!1;if(ha()){var i=XMLHttpRequest[Pn];n=!(Le(i)||Le(i.open)||Le(i.send)||Le(i.abort))}var s=pa();if(s&&s<9&&(n=!1),n)try{var a=new XMLHttpRequest,l={xh:[],i:(r={},r[e]={},r)};a[Hv]=l;var c=XMLHttpRequest[Pn].open;XMLHttpRequest[Pn].open=c}catch(e){n=!1,tm(t,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",((o={})[$v]=er(e),o))}return n}(t,x)&&t[Hg](Za(i,(function(){v=!!i[ov],s=i[Qg],v||o||(P(XMLHttpRequest,"open",{ns:_,req:function(e,r,o,n){if(!v){var i=e[jg],l=Qv(i,x);!M(i,o)&&N(i,l,!0)&&(l&&l.xhrMonitoringState[dv]||(l=function(e,r,o,n){var i,s=q(),l=s&&s[fv]()||sd(),c=kr(sd(),0,16),d=e[Hv]=e[Hv]||{xh:[],i:{}},u=d.i=d.i||{},p=u[x]=u[x]||new Nv(l,c,t[zv](),null===(i=t.core)||void 0===i?void 0:i.getTraceCtx());return p[Pg]=s&&s[hv](),p[gv]=r,p[Ig]=o,p.xhrMonitoringState[dv]=!0,p[Wg]={},p.async=n,p[vv]=a,p}(i,r,o,n)),function(e,r){r.xhrMonitoringState[mv]=Ru(e,"readystatechange",(function(){var o;try{e&&4===e.readyState&&N(e,r)&&function(e){var r=Qv(e,x);function o(r,o){var n=o||{};n.ajaxDiagnosticsMessage=Zv(e,x),r&&(n.exception=er(r)),em(t,14,Gv+"ajax call"+Wv,n)}r[wv]=Td(),r[av]=e[av],H("xmlhttprequest",r,(function(){try{var n=r[_v]("Ajax",s,(function(){var r,o=((r={statusText:e[lv]})[cv]=null,r[Av]=function(e){var r;try{var o=e[Cv]();if(null!==o&&-1!==om(o[Jg](),gd[8]))return Ed(e.getResponseHeader(gd[0]))}catch(o){em(t,18,Kv,((r={})[Ov]=Zv(e,x),r[$v]=er(o),r))}}(e),r.type=e.responseType,r[yv]=function(t){try{var e=t.responseType;if(""===e||"text"===e)return t[yv]}catch(t){}return null}(e),r.response=e[xv],r);if(h){var n=e[Cv]();if(n){var i=Io(n).split(/[\r\n]+/),s={};bo(i,(function(t){var e=t.split(": "),r=e.shift(),o=e.join(": ");L(r)&&(s[r]=o)})),o[cv]=s}}return o})),i=void 0;try{w&&(i=w({status:e[av],xhr:e}))}catch(e){em(t,104,Xv)}if(n){void 0!==i&&(n[Ag]=zn(zn({},n.properties),i));var a=r[kv]();F(S,t[Vg],r,n,null,a)}else o(null,{requestSentTime:r[pv],responseFinishedTime:r[wv]})}finally{try{var l=(e[Hv]||{i:{}}).i||{};l[x]&&(l[x]=null)}catch(t){}}}),(function(t){o(t,null)}))}(e)}catch(r){var n=er(r);n&&-1!==om(n[Jg](),"c00c023f")||tm(t,16,Uv+" 'readystatechange' event handler"+Bv,((o={})[Ov]=Zv(e,x),o[$v]=n,o))}}),_)}(i,l))}},hkErr:rm(t,15,Uv+".open"+Bv)}),P(XMLHttpRequest,"send",{ns:_,req:function(e,r){if(!v){var o=e[jg],n=Qv(o,x);N(o,n)&&!n.xhrMonitoringState[uv]&&(z("xhr",n),n[pv]=Td(),t[Ug](n,void 0,void 0,o),n.xhrMonitoringState[uv]=!0)}},hkErr:rm(t,17,Uv+Bv)}),P(XMLHttpRequest,"abort",{ns:_,req:function(t){if(!v){var e=t[jg],r=Qv(e,x);N(e,r)&&!r.xhrMonitoringState[bv]&&(r[Ng]=1,r.xhrMonitoringState[bv]=!0)}},hkErr:rm(t,13,Uv+".abort"+Bv)}),P(XMLHttpRequest,"setRequestHeader",{ns:_,req:function(t,e,r){if(!v){var o=t[jg],n=Qv(o,x);n&&N(o,n)&&(function(t,e,r){if(t){var o=(t[Hv]||{}).xh;o&&o.push({n:e,v:r})}}(o,e,r),s&&L(e)&&n&&(n[Wg][e]=r))}},hkErr:rm(t,71,Uv+".setRequestHeader"+Bv)}),o=!0)}))),function(){var e,n=!(e=Vr())||Le(e.Request)||Le(e.Request[Pn])||Le(e[Vv])?null:e[Vv];if(n){var l=Vr(),c=n.polyfill;t[Hg](Za(i,(function(){m=!!i[iv],h=i[sv],m||r?c&&!I&&(R(up(l,Vv,{ns:_,req:function(t,e,r){M(null,e,r)}})),I=!0):(R(up(l,Vv,{ns:_,req:function(e,n,i){var l;if(!m&&r&&!M(null,n,i)&&(!c||!o)){var d=e.ctx();l=function(e,r){var o,n,i=q(),l=i&&i[fv]()||sd(),c=kr(sd(),0,16),d=new Nv(l,c,t[zv](),null===(o=t.core)||void 0===o?void 0:o.getTraceCtx());if(d[Pg]=i&&i[hv](),d[pv]=Td(),d[vv]=a,""===(n=e instanceof Request?(e||{}).url||"":e)){var u=la();u&&u.href&&(n=Uo(u.href,"#")[0])}d[Ig]=n;var p="GET";r&&r[gv]?p=r[gv]:e&&e instanceof Request&&(p=e[gv]),d[gv]=p;var b={};return s&&new Headers((r?r[Bg]:0)||e instanceof Request&&e[Bg]||{}).forEach((function(t,e){L(e)&&(b[e]=t)})),d[Wg]=b,z(Vv,d),d}(n,i);var u=t[Ug](l,n,i);u!==i&&e.set(1,u),d.data=l}},rsp:function(e,r){if(!m){var o=e.ctx().data;o&&(e.rslt=e.rslt.then((function(e){return U(0,(e||{})[av],r,e,o,(function(){var r,o=((r={statusText:(e||{})[lv]})[cv]=null,r[Av]=function(e){var r;if(e&&e[Bg])try{return Ed(e[Bg].get(gd[0]))}catch(o){em(t,18,Kv,((r={fetchDiagnosticsMessage:V(e)})[$v]=er(o),r))}}(e),r);if(h&&e){var n={};e.headers.forEach((function(t,e){L(e)&&(n[e]=t)})),o[cv]=n}return o})),e})).catch((function(t){throw U(0,0,r,null,o,null,t.message||er(t)),t})))}},hkErr:rm(t,15,"Failed to monitor Window.fetch"+Bv)},!0,to())),r=!0)}))),c&&(l[Vv].polyfill=c)}}(),(k=t[Vg].getPlugin(gc))&&(c=k.plugin[Mg]))},t._doTeardown=function(){D()},t.trackDependencyData=function(e,r){F(S,t[Vg],null,e,r)},t[Ug]=function(e,r,o,a){var l=t._currentWindowHost||n;if(function(t,e,r,o,n,i){var s;if(t[Rg]>0){var a=((s={})[Vg]=e,s.xhr=o,s.input=n,s.init=i,s.traceId=r[Dg],s.spanId=r[Lg],s.traceFlags=r[Pg],s.context=r[Mg]||{},s.aborted=!!r[Ng],s);im(e,t,a,"listener"),r[Dg]=a[qg],r[Lg]=a[zg],r[Pg]=a[Pg],r[Mg]=a[Mg]}}(k,t[Vg],e,a,r,o),r||""===r){if(Sd(i,e[Fg](),l)){o||(o={});var p=new Headers(o[Bg]||r instanceof Request&&r[Bg]||{});if(u){var b="|"+e[Dg]+"."+e[Lg];p.set(gd[3],b),s&&(e[Wg][gd[3]]=b)}if((h=A||c&&c.appId())&&(p.set(gd[0],gd[2]+h),s&&(e[Wg][gd[0]]=gd[2]+h)),d){Le(g=e[Pg])&&(g=1);var f=hd(pd(e[Dg],e[Lg],g));p.set(gd[4],f),s&&(e[Wg][gd[4]]=f)}o[Bg]=p}return o}if(a){var h,g;if(Sd(i,e[Fg](),l))u&&(Yv(a,gd[3])?em(t,71,"Unable to set ["+gd[3]+"] as it has already been set by another instance"):(b="|"+e[Dg]+"."+e[Lg],a[Kg](gd[3],b),s&&(e[Wg][gd[3]]=b))),(h=A||c&&c.appId())&&(Yv(a,gd[0])?em(t,71,"Unable to set ["+gd[0]+"] as it has already been set by another instance"):(a[Kg](gd[0],gd[2]+h),s&&(e[Wg][gd[0]]=gd[2]+h))),d&&(Le(g=e[Pg])&&(g=1),Yv(a,gd[4])?em(t,71,"Unable to set ["+gd[4]+"] as it has already been set by another instance"):(f=hd(pd(e[Dg],e[Lg],g)),a[Kg](gd[4],f),s&&(e[Wg][gd[4]]=f)));return a}},t[Xg]=function(e,r,o){if(-1===f||l<f){2!==O&&1!==O||"string"!=typeof e.id||"."===e.id[e.id[Rg]-1]||(e.id+="."),Le(e[Gg])&&(e[Gg]=new Date);var n=Lc(e,jd.dataType,jd.envelopeType,t[zv](),r,o);t[Vg].track(n)}else l===f&&tm(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 nm(k,C++,t)},t.addDependencyInitializer=function(t){return nm(S,C++,t)}})),j}return Vn(e,t),e.prototype.processTelemetry=function(t,e){this.processNext(t,e)},e.prototype.addDependencyInitializer=function(t){return null},e.identifier="AjaxDependencyPlugin",e}(vp),um=function(){},pm=function(){this.id="browser",this.deviceClass="Browser"},bm=function(t,e){var r=this,o=Za(t,(function(){var e=t.sdkExtension;r.sdkVersion=(e?e+"_":"")+"javascript:3.2.1"}));e&&e.add(o)},fm=function(){},hm="sessionManager",gm="update",vm="isUserCookieSet",mm="isNewUser",ym="getTraceCtx",wm="telemetryTrace",_m="applySessionContext",xm="applyApplicationContext",Cm="applyDeviceContext",km="applyOperationContext",Sm="applyUserContext",Em="applyOperatingSystemContxt",Tm="applyLocationContext",$m="applyInternalContext",Om="accountId",Am="getSessionId",Im="namePrefix",jm="userCookiePostfix",Rm="idLength",Dm="getNewId",Lm="length",Pm="automaticSession",Mm="authenticatedId",Nm="acquisitionDate",qm="renewalDate",zm="join",Hm="cookieSeparator",Vm="authUserCookieName",Um=function(){},Fm=function(){function t(e,r,o){var n,i,s,a,l=pl(r),c=ou(r);jn(t,this,(function(t){e||(e={});var r=Za(e,(function(t){s=e.sessionExpirationMs||864e5,a=e.sessionRenewalMs||18e5;var r=e.sessionCookiePostfix||e[Im]||"";n="ai_session"+r}));function d(t,e){var r=!1,o=", session will be reset",n=e.split("|");if(n[Lm]>=2)try{var i=+n[1]||0,s=+n[2]||0;isNaN(i)||i<=0?hl(l,2,27,"AI session acquisition date is 0"+o):isNaN(s)||s<=0?hl(l,2,27,"AI session renewal date is 0"+o):n[0]&&(t.id=n[0],t[Nm]=i,t[qm]=s,r=!0)}catch(t){hl(l,1,9,"Error parsing ai_session value ["+(e||"")+"]"+o+" - "+Rs(t),{exception:er(t)})}return r}function u(t,r){var o=t[Nm];t[qm]=r;var l,d=a,u=o+s-r,p=[t.id,o,r];l=u<d?u/1e3:d/1e3;var b=e.cookieDomain||null;c.set(n,p[zm]("|"),s>0?l:null,b),i=r}o&&o.add(r),t[Pm]=new Um,t[gm]=function(){var r=So(),o=!1,p=t[Pm];if(p.id||(o=!function(t,e){var r=!1,o=c.get(n);if(o&&Ne(o.split))r=d(t,o);else{var i=dc(l,n);i&&(r=d(t,i))}return r||!!t.id}(p)),!o&&s>0){var b=r-p[Nm],f=r-p[qm];o=(o=(o=b<0||f<0)||b>s)||f>a}o?function(r){var o=e[Dm]||Sa;t.automaticSession.id=o(e[Rm]||22),t[Pm][Nm]=r,u(t[Pm],r),cc()||hl(l,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}(r):(!i||r-i>6e4)&&u(p,r)},t.backup=function(){var e,r,o,i=t[Pm];e=i.id,r=i[Nm],o=i[qm],uc(l,n,[e,r,o][zm]("|"))}}))}return t.__ieDyn=1,t}(),Bm=function(t,e,r,o){var n=this;n.traceID=t||sd(),n.parentID=e;var i=la();!r&&i&&i.pathname&&(r=i.pathname),n.name=$c(o,r)};function Wm(t){return!("string"!=typeof t||!t||t.match(/,|;|=| |\|/))}var Km=function(){function t(e,r,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n,i=pl(r),s=ou(r);jn(t,this,(function(r){Pr(r,"config",{g:function(){return e}});var a=Za(e,(function(){var o=e[jm]||"";n=t.userCookieName+o;var a=s.get(n);if(a){r[mm]=!1;var u=a.split(t[Hm]);u[Lm]>0&&(r.id=u[0],r[vm]=!!r.id)}if(!r.id){r.id=l(),d(c(r.id)[zm](t[Hm]));var p=(e[Im]||"")+"ai_session";!function(t,e){var r=ic();if(null!==r)try{return r[Sl](e),!0}catch(e){rc=!1,hl(t,2,5,"Browser failed removal of local storage item. "+Rs(e),{exception:er(e)})}}(i,p)}r[Om]=e[Om]||void 0;var b=s.get(t[Vm]);if(b){var f=(b=decodeURI(b)).split(t[Hm]);f[0]&&(r[Mm]=f[0]),f[Lm]>1&&f[1]&&(r[Om]=f[1])}}));function l(){var t=e||{};return(t[Dm]||Sa)(t[Rm]?e[Rm]:22)}function c(t){var e=js(new Date);return r.accountAcquisitionDate=e,r[mm]=!0,[t,e]}function d(t){r[vm]=s.set(n,t,31536e3)}o&&o.add(a),r.setAuthenticatedUserContext=function(e,o,n){if(void 0===n&&(n=!1),!Wm(e)||o&&!Wm(o))hl(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[Mm]=e;var a=r[Mm];o&&(r[Om]=o,a=[r[Mm],r.accountId][zm](t[Hm])),n&&s.set(t[Vm],encodeURI(a))}},r.clearAuthenticatedUserContext=function(){r[Mm]=null,r[Om]=null,s.del(t[Vm])},r[gm]=function(e){r.id===e&&r[vm]||d(c(e||l())[zm](t[Hm]))}}))}return t.cookieSeparator="|",t.userCookieName="ai_user",t.authUserCookieName="ai_authUser",t}(),Xm="ext",Gm="tags";function Jm(t,e){t&&t[e]&&0===lr(t[e])[Lm]&&delete t[e]}function Qm(){return null}var Ym,Zm,ty=function(){function t(e,r,o,n){var i=this,s=e.logger;jn(t,this,(function(t){if(t.appId=Qm,t[Am]=Qm,t.application=new um,t.internal=new bm(r,n),Wr()){t[hm]=new Fm(r,e,n),t.device=new pm,t.location=new fm,t.user=new Km(r,e,n);var a,l=void 0,c=void 0;o&&(l=o.getTraceId(),c=o.getSpanId(),a=o.getName()),t[wm]=new Bm(l,c,a,s),t.session=new Um}t[Am]=function(){var e=t.session,r=null;if(e&&Me(e.id))r=e.id;else{var o=(t[hm]||{})[Pm];r=o&&Me(o.id)?o.id:null}return r},t[_m]=function(e,r){Ds(Ls(e.ext,"app"),"sesId",t[Am](),Me)},t[Em]=function(e,r){Ds(e.ext,"os",t.os)},t[xm]=function(e,r){var o=t.application;if(o){var n=Ls(e,Gm);Ds(n,Rf.applicationVersion,o.ver,Me),Ds(n,Rf.applicationBuild,o.build,Me)}},t[Cm]=function(e,r){var o=t.device;if(o){var n=Ls(Ls(e,Xm),If);Ds(n,"localId",o.id,Me),Ds(n,"ip",o.ip,Me),Ds(n,"model",o.model,Me),Ds(n,"deviceClass",o.deviceClass,Me)}},t[$m]=function(e,r){var o=t.internal;if(o){var n=Ls(e,Gm);Ds(n,Rf.internalAgentVersion,o.agentVersion,Me),Ds(n,Rf.internalSdkVersion,$c(s,o.sdkVersion,64),Me),e.baseType!==ul.dataType&&e.baseType!==Vc.dataType||(Ds(n,Rf.internalSnippet,o.snippetVer,Me),Ds(n,Rf.internalSdkSrc,o.sdkSrc,Me))}},t[Tm]=function(t,e){var r=i.location;r&&Ds(Ls(t,Gm,[]),Rf.locationIp,r.ip,Me)},t[km]=function(e,r){var o=t[wm];if(o){var n=Ls(Ls(e,Xm),jf,{traceID:void 0,parentID:void 0});Ds(n,"traceID",o.traceID,Me,Le),Ds(n,"name",o.name,Me,Le),Ds(n,"parentID",o.parentID,Me,Le)}},t.applyWebContext=function(t,e){var r=i.web;r&&Ds(Ls(t,Xm),"web",r)},t[Sm]=function(e,r){var o=t.user;if(o){Ds(Ls(e,Gm,[]),Rf.userAccountId,o[Om],Me);var n=Ls(Ls(e,Xm),Af);Ds(n,"id",o.id,Me),Ds(n,"authId",o[Mm],Me)}},t.cleanUp=function(t,e){var r=t.ext;r&&(Jm(r,If),Jm(r,Af),Jm(r,"web"),Jm(r,"os"),Jm(r,"app"),Jm(r,jf))}}))}return t.__ieDyn=1,t}(),ey=null,ry=cr(((Ym={})[Om]=ey,Ym.sessionRenewalMs=18e5,Ym.samplingPercentage=100,Ym.sessionExpirationMs=864e5,Ym.cookieDomain=ey,Ym.sdkExtension=ey,Ym.isBrowserLinkTrackingEnabled=!1,Ym.appId=ey,Ym[Am]=ey,Ym[Im]=Zm,Ym.sessionCookiePostfix=Zm,Ym[jm]=Zm,Ym[Rm]=22,Ym[Dm]=ey,Ym));const oy=function(t){function e(){var r,o,n,i,s,a=t.call(this)||this;return a.priority=110,a.identifier=gc,jn(e,a,(function(t,e){function a(){r=null,o=null,n=null,i=null,s=!0}a(),Pr(t,"context",{g:function(){return i}}),t.initialize=function(a,l,c,d){e.initialize(a,l,c,d),function(e){var a=t.identifier,l=t.core;t._addHook(Za(e,(function(){var o=tp(null,e,l);e.storagePrefix&&lc(e.storagePrefix),s=!1!==e.disableUserInitMessage,r=o.getExtCfg(a,ry),t._extConfig=r}))),n=l[ym](!1),i=new ty(l,r,n,t._unloadHooks),o=Od(t.context[wm],n),l.setTraceCtx(o),t.context.appId=function(){var t=l.getPlugin(vc);return t?t.plugin._appId:null}}(a)},t.processTelemetry=function(e,r){if(!Le(e)){r=t._getTelCtx(r),e.name===Vc.envelopeType&&r.diagLog().resetInternalMessageCount();var o=i||{};o.session&&"string"!=typeof i.session.id&&o[hm]&&o[hm][gm]();var n=o.user;if(n&&!n[vm]&&n[gm](o.user.id),function(e,r){Ls(e,"tags",[]),Ls(e,"ext",{});var o=t.context;o[_m](e,r),o[xm](e,r),o[Cm](e,r),o[km](e,r),o[Sm](e,r),o[Em](e,r),o.applyWebContext(e,r),o[Tm](e,r),o[$m](e,r),o.cleanUp(e,r)}(e,r),n&&n[mm]&&(n[mm]=!1,!s)){var a=new ul(72,(Qr()||{}).userAgent||"");!function(t,e,r){fl(t)[Ni](1,r)}(r.diagLog(),0,a)}t.processNext(e,r)}},t._doTeardown=function(t,e){var r=(t||{}).core();r&&r[ym]&&r[ym](!1)===o&&r.setTraceCtx(n),a()}})),a}return Vn(e,t),e.__ieDyn=1,e}(vp);var ny,iy,sy,ay,ly,cy="AuthenticatedUserContext",dy="track",uy="snippet",py="flush",by="pollInternalLogs",fy="getPlugin",hy="evtNamespace",gy=dy+"Event",vy=dy+"Trace",my=dy+"Metric",yy=dy+"PageView",wy=dy+"Exception",_y=dy+"DependencyData",xy="set"+cy,Cy="clear"+cy,ky="version",Sy="queue",Ey="connectionString",Ty="endpointUrl",$y="userOverrideEndpointUrl",Oy="instrumentationKey",Ay="onunloadFlush",Iy="context",jy="addHousekeepingBeforeUnload",Ry="sendMessage",Dy=[uy,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"],Ly="iKeyUsage",Py="CdnUsage",My="SdkLoaderVer",Ny=void 0,qy={disabled:!0,limit:Ld({samplingRate:100,maxSendNumber:1}),interval:Ld({monthInterval:3,daysOfMonth:[28]})},zy=((ny={})[Ey]=Ny,ny[Ty]=Ny,ny[Oy]=Ny,ny[$y]=Ny,ny.diagnosticLogInterval=Md((function(t){return t&&t>0}),1e4),ny.featureOptIn=((iy={})[Ly]={mode:3},iy[Py]={mode:2},iy[My]={mode:2},iy),ny.throttleMgrCfg=Ld(((sy={})[109]=Ld(qy),sy[106]=Ld(qy),sy[111]=Ld(qy),sy[110]=Ld(qy),sy)),ny.extensionConfig=Ld(((ay={}).AppInsightsCfgSyncPlugin=Ld({cfgUrl:"https://js.monitor.azure.com/scripts/b/ai.config.1.cfg.json",syncMode:2}),ay)),ny),Hy=function(){function t(e){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g=this;jn(t,this,(function(t){m(),Pr(t,"config",{g:function(){return c}}),bo(["pluginVersionStringArr","pluginVersionString"],(function(e){Pr(t,e,{g:function(){return l?l[e]:null}})})),i=""+(e.sv||e[ky]||""),e[Sy]=e[Sy]||[],e[ky]=e[ky]||2;var v=Ya(e.config||{},zy);function m(){s=Aa("AISKU"),a=null,r=null,o=null,n=null,i=null,p=null,b=!1,f=!1,h=!1,u=new cf}function y(){var t;a&&(Pu([wu,yu,mu],null,a),t=ju(_u,a),Pu([mu],null,t),Pu([vu],null,t))}function w(t){l.addUnloadHook(t)}c=v.cfg,d=new Sb,Pr(t,"appInsights",{g:function(){return d}}),o=new oy,r=new dm,n=new pg,l=new $g,Pr(t,"core",{g:function(){return l}}),w(Za(v,(function(){if(c[Ey]){var t=function(t){if(!t)return{};var e=t[yl](";"),r=yo(e,(function(t,e){var r=e[yl]("=");if(2===r[wl]){var o=r[0][_l](),n=r[1];t[o]=n}return t}),{});if(lr(r)[wl]>0){if(r.endpointsuffix){var o=r.location?r.location+".":"";r[xl]=r[xl]||"https://"+o+"dc."+r.endpointsuffix}r[xl]=r[xl]||Cc,Bo(r[xl],"/")&&(r[xl]=r[xl].slice(0,-1))}return r}(c[Ey]),e=t.ingestionendpoint;c[Ty]=c[$y]?c[$y]:e+kc,c[Oy]=t.instrumentationkey||c[Oy]}c[Ty]=c[$y]?c[$y]:c[Ty]}))),t[uy]=e,t[py]=function(t,e){var r;return void 0===t&&(t=!0),Fu(l,(function(){return"AISKU.flush"}),(function(){t&&!e&&(r=Xb((function(t){e=t})));var o=1,n=function(){0==--o&&e()};bo(l.getChannels(),(function(e){e&&(o++,e[py](t,n))})),n()}),null,t),r},t[Ay]=function(t){void 0===t&&(t=!0),bo(l.getChannels(),(function(e){e[Ay]?e[Ay]():e[py](t)}))},t.loadAppInsights=function(e,s,a){return void 0===e&&(e=!1),e&&function(t){throw mo||(mo=ko("UnsupportedError")),new mo("Legacy Mode is no longer supported")}(),Fu(t.core,(function(){return"AISKU.loadAppInsights"}),(function(){l.initialize(c,[n,o,r,d,u],s,a),Pr(t,"context",{g:function(){return o[Iy]}}),p||(p=new bg(l));var e=function(){if(ly)return ly;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="";bo(["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"],(function(t,e){if(-1!==Xo(r,t))return o="cdn"+(e+1),-1===Xo(r,"/scripts/")&&(-1!==Xo(r,"/next/")?o+="-next":-1!==Xo(r,"/beta/")&&(o+="-beta")),ly=o+"",-1}))}}catch(t){}ly=t}return ly}();e&&t[Iy]&&(t[Iy].internal.sdkSrc=e),function(e){if(e){var r="";Le(i)||(r+=i),t[Iy]&&t[Iy].internal&&(t[Iy].internal.snippetVer=r||"-"),Qe(t,(function(t,r){Me(t)&&!Ne(r)&&t&&"_"!==t[0]&&-1===fo(Dy,t)&&e[t]!==r&&(e[t]=r)}))}}(t[uy]),t.emptyQueue(),t[by](),t[jy](t),w(Za(v,(function(){var e=!1;c.throttleMgrCfg[109]&&(e=!c.throttleMgrCfg[109].disabled),!p.isReady()&&c.extensionConfig&&c.extensionConfig[u.identifier]&&e&&p.onReadyState(!0),b||c[Ey]||!Hs(Ly,c)||(p[Ry](106,"See Instrumentation key support at aka.ms/IkeyMigrate"),b=!0),!f&&t[Iy].internal.sdkSrc&&-1!=t[Iy].internal.sdkSrc.indexOf("az416426")&&Hs(Py,c)&&(p[Ry](110,"See Cdn support notice at aka.ms/JsActiveCdn"),f=!0),!h&&parseInt(i)<6&&Hs(My,c)&&(p[Ry](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&&qe(t)&&qe(e)){var o=function(o){if(Me(o)){var n=e[o];Ne(n)?r&&!r(o)||(t[o]=Ps(e,o)):r&&!r(o)||(Ge(t,o)&&delete t[o],Pr(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===fo(Dy,t)}))},t.emptyQueue=function(){try{if(ze(t.snippet[Sy])){for(var e=t.snippet[Sy].length,r=0;r<e;r++)(0,t.snippet[Sy][r])();t.snippet[Sy]=void 0,delete t.snippet[Sy]}}catch(t){t&&Ne(t.toString)&&t.toString()}},t[jy]=function(e){if(Wr()||Fr()){var r=function(){if(e[Ay](!1),Ne(t.core[fy])){var r=g.core[fy](gc);if(r){var o=r.plugin;o&&o[Iy]&&o[Iy]._sessionManager&&o[Iy]._sessionManager.backup()}}},o=!1;a||(a=ju(s,l[hy]&&l[hy]())),w(Za(c,(function(t){var n=t.cfg,i=e.appInsights,s=tp(null,n,i.core).getExtCfg(i.identifier||mc);y();var c,d=n.disablePageUnloadEvents;s.disableFlushOnBeforeUnload||(function(t,e,r,o){var n=!1;return e&&t&&ze(t)&&!(n=Lu(t,e,r,o))&&r&&r[Wn]>0&&(n=Lu(t,e,null,o)),n}([wu,yu,mu],r,d,a)&&(o=!0),Mu(r,d,a)&&(o=!0),o||(c=Qr())&&c.product&&"ReactNative"===c.product||hl(l.logger,1,19,"Could not add handler for beforeunload and pagehide")),o||s.disableFlushOnUnload||Mu(r,d,a)})))}},t.getSender=function(){return n},t.unload=function(e,r,o){var n,i=!1;return e&&!r&&(n=Xb((function(t){r=t}))),t[Ay](e),y(),l.unload&&l.unload(e,(function(t){i||(i=!0,m(),r&&r(t))}),o),n},Ns(t,d,["getCookieMgr",gy,yy,"trackPageViewPerformance",wy,"_onerror",vy,my,"startTrackPage","stopTrackPage","startTrackEvent","stopTrackEvent"]),Ns(t,(function(){return r}),[_y,"addDependencyListener","addDependencyInitializer"]),Ns(t,l,["addTelemetryInitializer",by,"stopPollingInternalLogs",fy,"addPlugin",hy,"addUnloadCb","getTraceCtx","updateCfg","onCfgChange"]),Ns(t,(function(){var t=o[Iy];return t?t.user:null}),[xy,Cy])}))}return t.prototype.addDependencyInitializer=function(t){return null},t}();class Vy{constructor(){this.config={},this.trackPageView=!1}}const Uy="AppInsightsConfigurationToken";let Fy=class{constructor(t){this.config=t,t.config?.connectionString||t.config?.instrumentationKey?(this.instance=new Hy(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}};Fy=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}([O(),function(t,e){return function(r,o){e(r,o,t)}}(0,$(Uy)),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Vy])],Fy),I.container.registerSingleton(Fy),I.container.register(Yt,{useToken:Fy}),I.container.register(Uy,{useFactory:function(){return I.container.resolve(R).getSection("ApplicationInsights").bind(Vy)}});var By=function(t,e){return function(r,o){e(r,o,t)}};let Wy=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(rw.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(rw.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(rw.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(rw.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(rw.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(rw.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(rw.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()))}};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}([O(),By(0,A(Yt)),By(1,A(re)),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array,Array])],Wy),I.container.register(ee,{useClass:Wy},{lifecycle:n.Singleton});const Ky=B`
|
|
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)})([Qt({type:String}),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:type",Object)],Jt.prototype,"value",void 0),customElements.define("qbo-config-editor",Jt);var Yt=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},Zt=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};const te={},ee=new Map,re=((t=>{class e extends t{constructor(...t){super(...t),this.type="",this.templateEndpoint="/configuration/templates",this.prefix=null,this.map=void 0}async connectedCallback(){super.connectedCallback(),this.prefix??=this.constructor.name,ee.has(this.prefix)||ee.set(this.prefix,new Map),this.map=ee.get(this.prefix),void 0===this.map&&console.error(`The prefix ${this.prefix} is not defined in the templates map.`),this.map&&!this.map.has(this.type)&&await this.loadScript(this.prefix)}async loadScript(t){te[t]||(te[t]=this.fetchScript(t));try{const e=await te[t];this.appendScriptToHead(e),console.log(`Template script for ${this.prefix} loaded and executed.`)}catch(t){console.error(`Template script for ${this.prefix} failed to load:`,t)}}async fetchScript(t){const e=await fetch(`${this.templateEndpoint}/${t}`);if(!e.ok)throw new Error("Network response was not ok");return e.text()}appendScriptToHead(t){const e=document.createElement("script");e.type="text/javascript",e.text=t,document.head.appendChild(e)}}Yt([Qt(),Zt("design:type",Object)],e.prototype,"type",void 0),Yt([Qt(),Zt("design:type",Object)],e.prototype,"templateEndpoint",void 0),Yt([Qt(),Zt("design:type",Object)],e.prototype,"prefix",void 0),Yt([Qt({attribute:!1}),Zt("design:type",Object)],e.prototype,"map",void 0)})(Bt),"LoggerToken");var oe,ne;(ne=oe||(oe={}))[ne.Trace=0]="Trace",ne[ne.Debug=1]="Debug",ne[ne.Information=2]="Information",ne[ne.Warning=3]="Warning",ne[ne.Error=4]="Error",ne[ne.Critical=5]="Critical";const ie="LoggerServiceToken";j.container.register(re,{useClass:class{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 oe.Trace:this.logTrace(e,...o);break;case oe.Debug:this.logDebug(e,...o);break;case oe.Information:this.logInformation(e,...o);break;case oe.Warning:this.logWarning(e,...o);break;case oe.Error:this.logError(e,r,...o);break;case oe.Critical:this.logCritical(e,r,...o);break;default:console.log(e,...o)}}}},{lifecycle:n.Singleton});const se="LogReaderToken";class ae{constructor(){this.logs=[]}logTrace(t,...e){this.logs.push({logLevel:oe.Trace,message:t,args:e})}logDebug(t,...e){this.logs.push({logLevel:oe.Debug,message:t,args:e})}logInformation(t,...e){this.logs.push({logLevel:oe.Information,message:t,args:e})}logWarning(t,...e){this.logs.push({logLevel:oe.Warning,message:t,args:e})}logError(t,e,...r){this.logs.push({logLevel:oe.Error,message:t,error:e,args:r})}logCritical(t,e,...r){this.logs.push({logLevel:oe.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=[]}}function le(t,e){return t||e}function ce(t,e){return t[e]}j.container.registerSingleton(ae),j.container.register(re,{useToken:ae}),j.container.register(se,{useToken:ae});var de,ue=void 0,pe=null,be="",fe="function",he="object",ge="prototype",ve="__proto__",me="undefined",ye="constructor",we="Symbol",xe="_polyfill",_e="length",Ce="name",ke="call",Se="toString",Ee=le(Object),Te=ce(Ee,ge),$e=le(String),Oe=ce($e,ge),Ae=le(Math),je=le(Array),Ie=ce(je,ge),De=ce(Ie,"slice");function Re(t,e){try{return{v:t.apply(this,e)}}catch(t){return{e:t}}}function Le(t){return function(e){return typeof e===t}}function Me(t){var e="[object "+t+"]";return function(t){return!(!t||Pe(t)!==e)}}function Pe(t){return Te[Se].call(t)}function Ne(t){return typeof t===me||t===me}function qe(t){return t===pe||Ne(t)}function ze(t){return!!t||t!==ue}var He=Le("string"),Ve=Le(fe);function Ue(t){return!(!t&&qe(t)||!t||typeof t!==he)}var Fe=ce(je,"isArray"),Be=Me("Date"),We=Le("number"),Ke=Le("boolean"),Xe=Me("Error");function Ge(t){return!!(t&&t.then&&Ve(t.then))}function Qe(t){return!(!t||(e=function(){return!(t&&0+t)},r=!t,o=Re(e),o.e?r:o.v));var e,r,o}var Je=ce(Ee,"getOwnPropertyDescriptor");function Ye(t,e){return!!t&&Te.hasOwnProperty[ke](t,e)}var Ze=le(ce(Ee,"hasOwn"),tr);function tr(t,e){return Ye(t,e)||!!Je(t,e)}function er(t,e,r){if(t&&Ue(t))for(var o in t)if(Ze(t,o)&&-1===e[ke](r||t,o,t[o]))break}function rr(t,e,r,o){var n={};return er(t,(function(t,o){n[t]=e?o:t,n[o]=r?o:t})),o(n)}var or=le($e),nr="[object Error]";function ir(t,e){var r=be,o=Te[Se][ke](t);o===nr&&(t={stack:or(t.stack),message:or(t.message),name:or(t.name)});try{r=(r=JSON.stringify(t,pe,e?"number"==typeof e?e:4:ue))&&r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||or(t)}catch(t){r=" - "+ir(t,e)}return o+": "+r}function sr(t){throw new Error(t)}function ar(t){throw new TypeError(t)}var lr=ce(Ee,"freeze");function cr(t){return t}function dr(t){return t[ve]||pe}var ur=ce(Ee,"assign"),pr=ce(Ee,"keys");function br(t){return lr&&er(t,(function(t,e){(Fe(e)||Ue(e))&&lr(e)})),fr(t)}var fr=le(lr,cr),hr=le(ce(Ee,"getPrototypeOf"),dr);function gr(t){return rr(t,0,0,br)}var vr,mr=gr({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}),yr="__tsUtils$gblCfg";function wr(){var t;return typeof globalThis!==me&&(t=globalThis),t||typeof self===me||(t=self),t||typeof window===me||(t=window),t||typeof r.g===me||(t=r.g),t}function xr(){if(!vr){var t=Re(wr).v||{};vr=t[yr]=t[yr]||{}}return vr}var _r=Cr;function Cr(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?De[ke](i,1):i)}ar('"'+or(t)+'" not defined for '+ir(e))}}function kr(t){return function(e){return e[t]}}var Sr=ce(Ae,"max"),Er=_r("slice",Oe),Tr=_r("substring",Oe),$r=Cr("substr",Oe,Or);function Or(t,e,r){return qe(t)&&ar("Invalid "+ir(t)),r<0?be:((e=e||0)<0&&(e=Sr(e+t[_e],0)),Ne(r)?Er(t,e):Er(t,e,e+r))}function Ar(t,e){return Tr(t,0,e)}var jr,Ir,Dr="_urid";function Rr(t){var e={description:or(t),toString:function(){return we+"("+t+")"}};return e[xe]=!0,e}function Lr(t){var e=function(){if(!jr){var t=xr();jr=t.gblSym=t.gblSym||{k:{},s:{}}}return jr}();if(!Ze(e.k,t)){var r=Rr(t),o=pr(e.s).length;r[Dr]=function(){return o+"_"+r[Se]()},e.k[t]=r,e.s[r[Dr]()]=or(t)}return e.k[t]}var Mr={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};var Pr,Nr=ce(Ee,"defineProperty"),qr=ce(Ee,"defineProperties");function zr(t,e,r){return Nr(t,e,function(t){var e={};if(e[Mr.c]=!0,e[Mr.e]=!0,t.l){e.get=function(){return t.l.v};var r=Je(t.l,"v");r&&r.set&&(e.set=function(e){t.l.v=e})}return er(t,(function(t,r){e[Mr[t]]=Ne(r)?e[Mr[t]]:r})),e}(r))}function Hr(){Pr=xr()}function Vr(t){return Nr({toJSON:function(){return t}},"v",{value:t})}var Ur,Fr="window";function Br(t,e){var r;return function(){return!Pr&&Hr(),(!r||Pr.lzy)&&(r=Vr(Re(t,e).v)),r.v}}function Wr(t){return!Pr&&Hr(),(!Ur||!1===t||Pr.lzy)&&(Ur=Vr(Re(wr).v||pe)),Ur.v}function Kr(t,e){var r=Ur&&!1!==e?Ur.v:Wr(e);return r&&r[t]?r[t]:t===Fr?to():pe}function Xr(){return!!Gr()}var Gr=Br(Kr,["document"]);function Qr(){return!!to()}var Jr,Yr,Zr,to=Br(Kr,[Fr]),eo=Br(Kr,["navigator"]),ro=Br(Kr,["history"]),oo=Br((function(){return!!Re((function(){return process&&(process.versions||{}).node})).v})),no=Br((function(){return!!Re((function(){return self&&self instanceof WorkerGlobalScope})).v}));function io(){return Jr=Vr(Re(Kr,[we]).v)}function so(t){var e=(Pr.lzy?0:Jr)||io();return e.v?e.v[t]:ue}function ao(){return!!lo()}function lo(){return!Pr&&Hr(),((Pr.lzy?0:Jr)||io()).v}function co(t,e){var r=mr[t];!Pr&&Hr();var o=(Pr.lzy?0:Jr)||io();return o.v?o.v[r||t]:e?ue:function(t){var e;!Ir&&(Ir={});var r=mr[t];return r&&(e=Ir[r]=Ir[r]||Rr(we+"."+r)),e}(t)}function uo(t,e){!Pr&&Hr();var r=(Pr.lzy?0:Jr)||io();return r.v?r.v(t):e?pe:Rr(t)}function po(t){return!Pr&&Hr(),((Yr=(Pr.lzy?0:Yr)||Vr(Re(so,["for"]).v)).v||Lr)(t)}function bo(t){return!!t&&Ve(t.next)}function fo(t,e,r){if(t&&(bo(t)||(!Zr&&(Zr=Vr(co(3))),t=t[Zr.v]?t[Zr.v]():null),bo(t))){var o=ue,n=ue;try{for(var i=0;!(n=t.next()).done&&-1!==e[ke](r||t,n.value,i,t);)i++}catch(e){o={e},t.throw&&(n=pe,t.throw(o))}finally{try{n&&!n.done&&t.return&&t.return(n)}finally{if(o)throw o.e}}}}function ho(t,e,r){return t.apply(e,r)}function go(t,e){return!Ne(e)&&t&&(Fe(e)?ho(t.push,t,e):bo(e)||!function(t){return t===pe||!ze(t)}(r=e)&&Ve(r[co(3)])?fo(e,(function(e){t.push(e)})):t.push(e)),t;var r}function vo(t,e,r){if(t)for(var o=t[_e]>>>0,n=0;n<o&&(!(n in t)||-1!==e[ke](r||t,t[n],n,t));n++);}var mo=_r("indexOf",Ie),yo=_r("map",Ie);function wo(t,e,r){return(t&&t.slice||De).apply(t,De[ke](arguments,1))}var xo,_o,Co=_r("reduce",Ie),ko=le(ce(Ee,"create"),So);function So(t){if(!t)return{};var e=typeof t;function r(){}return e!==he&&e!==fe&&ar("Prototype must be an Object or function: "+ir(t)),r[ge]=t,new r}function Eo(t,e){var r=Ee.setPrototypeOf||function(t,e){var r;!xo&&(xo=Vr(((r={})[ve]=[],r instanceof Array))),xo.v?t[ve]=e:er(e,(function(e,r){return t[e]=r}))};return r(t,e)}function To(t,e){e&&(t[Ce]=e)}function $o(t,e,r){var o=r||Error,n=o[ge][Ce],i=Error.captureStackTrace;return function(t,e,r){function o(){this[ye]=e,Re(zr,[this,Ce,{v:t,c:!0,e:!1}])}return Re(zr,[e,Ce,{v:t,c:!0,e:!1}]),(e=Eo(e,r))[ge]=r===pe?ko(r):(o[ge]=r[ge],new o),e}(t,(function(){var r=this,s=arguments;try{Re(To,[o,t]);var a=ho(o,r,De[ke](s))||r;if(a!==r){var l=hr(r);l!==hr(a)&&Eo(a,l)}return i&&i(a,r[ye]),e&&e(a,s),a}finally{Re(To,[o,n])}}),o)}function Oo(){return(Date.now||Ao)()}function Ao(){return(new Date).getTime()}function jo(t){return function(e){return qe(e)&&ar("strTrim called ["+ir(e)+"]"),e&&e.replace&&(e=e.replace(t,be)),e}}var Io,Do,Ro,Lo=Cr("trim",Oe,jo(/^\s+|(?=\s)\s+$/g));function Mo(t){if(!t||typeof t!==he)return!1;Ro||(Ro=!Qr()||to());var e=!1;if(t!==Ro){Do||(Io=Function[ge][Se],Do=Io[ke](Ee));try{var r=hr(t);(e=!r)||(Ye(r,ye)&&(r=r[ye]),e=r&&typeof r===fe&&Io[ke](r)===Do)}catch(t){}}return e}function Po(t){return t.value&&Ho(t),!0}var No=[function(t){var e=t.value;if(Fe(e)){var r=t.result=[];return r.length=e.length,t.copyTo(r,e),!0}return!1},Ho,function(t){return t.type===fe},function(t){var e=t.value;return!!Be(e)&&(t.result=new Date(e.getTime()),!0)}];function qo(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===he?l=Mo(e):c=e===pe||function(t){return!de&&(de=["string","number","boolean",me,"symbol","bigint"]),t!==he&&-1!==de.indexOf(t)}(a);var d={type:a,isPrim:c,isPlain:l,value:e,result:e,path:i,origin:r.src,copy:function(e,o){return qo(t,e,o?s:r,o)},copyTo:function(e,r){return zo(t,e,r,s)}};return d.isPrim?n&&n[ke](r,d)?d.result:e:function(t,e,o,i){var s;return vo(t,(function(t){if(t.k===e)return s=t,-1})),s||(s={k:e,v:e},t.push(s),function(t){zr(d,"result",{g:function(){return t.v},s:function(e){t.v=e}});for(var e=0,o=n;!(o||(e<No.length?No[e++]:Po))[ke](r,d);)o=pe}(s)),s.v}(t,e)}function zo(t,e,r,o){if(!qe(r))for(var n in r)e[n]=qo(t,r[n],o,n);return e}function Ho(t){var e=t.value;if(e&&t.isPlain){var r=t.result={};return t.copyTo(r,e),!0}return!1}function Vo(t,e){return vo(e,(function(e){!function(t,e,r){zo([],t,e,{handler:void 0,src:e,path:[]})}(t,e)})),t}function Uo(t,e,r,o,n,i,s){return Vo(qo([],a=t,{handler:undefined,src:a})||{},De[ke](arguments));var a}var Fo,Bo=kr(_e);function Wo(){return!Pr&&Hr(),(!Fo||Pr.lzy)&&(Fo=Vr(Re(Kr,["performance"]).v)),Fo.v}var Ko=_r("split",Oe);function Xo(t,e,r){if(t&&e){var o=Ko(e,"."),n=o.pop();vo(o,(function(e){qe(t[e])&&(t[e]={}),t=t[e]})),t[n]=r}}ao();var Go=Cr("endsWith",Oe,Qo);function Qo(t,e,r){He(t)||ar("'"+ir(t)+"' is not a string");var o=He(e)?e:or(e),n=!Ne(r)&&r<t[_e]?r:t[_e];return Tr(t,n-o[_e],n)===o}var Jo,Yo=_r("indexOf",Oe),Zo="ref",tn="unref",en="hasRef",rn="enabled";function on(t,e,r){var o=Fe(e),n=o?e.length:0,i=(n>0?e[0]:o?ue:e)||setTimeout,s=(n>1?e[1]:ue)||clearTimeout,a=r[0];r[0]=function(){l.dn(),ho(a,ue,De[ke](arguments))};var l=function(t,e,r){var o,n=!0,i=t?e(pe):pe;function s(){return n=!1,i&&i[tn]&&i[tn](),o}function a(){i&&r(i),i=pe}function l(){return i=e(i),n||s(),o}return(o={cancel:a,refresh:l})[en]=function(){return i&&i[en]?i[en]():n},o[Zo]=function(){return n=!0,i&&i[Zo]&&i[Zo](),o},o[tn]=s,{h:o=Nr(o,rn,{get:function(){return!!i},set:function(t){!t&&i&&a(),t&&!i&&l()}}),dn:function(){i=pe}}}(t,(function(t){if(t){if(t.refresh)return t.refresh(),t;ho(s,ue,[t])}return ho(i,ue,r)}),(function(t){ho(s,ue,[t])}));return l.h}function nn(t,e){return on(!0,ue,De[ke](arguments))}var sn="constructor",an="prototype",ln="function",cn="_dynInstFuncs",dn="_isDynProxy",un="_dynClass",pn="_dynInstChk",bn=pn,fn="_dfOpts",hn="_unknown_",gn="__proto__",vn="_dyn"+gn,mn="__dynProto$Gbl",yn="_dynInstProto",wn="useBaseInst",xn="setInstFuncs",_n=Object,Cn=_n.getPrototypeOf,kn=_n.getOwnPropertyNames,Sn=Wr(),En=Sn[mn]||(Sn[mn]={o:(Jo={},Jo[xn]=!0,Jo[wn]=!0,Jo),n:1e3});function Tn(t){return t&&(t===_n[an]||t===Array[an])}function $n(t){return Tn(t)||t===Function[an]}function On(t){var e;if(t){if(Cn)return Cn(t);var r=t[gn]||t[an]||(t[sn]?t[sn][an]:null);e=t[vn]||r,Ye(t,vn)||(delete t[yn],e=t[vn]=t[yn]||t[vn],t[yn]=r)}return e}function An(t,e){var r=[];if(kn)r=kn(t);else for(var o in t)"string"==typeof o&&Ye(t,o)&&r.push(o);if(r&&r.length>0)for(var n=0;n<r.length;n++)e(r[n])}function jn(t,e,r){return e!==sn&&typeof t[e]===ln&&(r||Ye(t,e))&&e!==gn&&e!==an}function In(t){ar("DynamicProto: "+t)}function Dn(t,e){for(var r=t.length-1;r>=0;r--)if(t[r]===e)return!0;return!1}function Rn(t,e,r,o,n){if(!Tn(t)){var i=r[cn]=r[cn]||ko(null);if(!Tn(i)){var s=i[e]=i[e]||ko(null);!1!==i[bn]&&(i[bn]=!!n),Tn(s)||An(r,(function(e){jn(r,e,!1)&&r[e]!==o[e]&&(s[e]=r[e],delete r[e],(!Ye(t,e)||t[e]&&!t[e][dn])&&(t[e]=function(t,e){var r=function(){var o=function(t,e,r,o){var n=null;if(t&&Ye(r,un)){var i=t[cn]||ko(null);if((n=(i[r[un]]||ko(null))[e])||In("Missing ["+e+"] "+ln),!n[pn]&&!1!==i[bn]){for(var s=!Ye(t,e),a=On(t),l=[];s&&a&&!$n(a)&&!Dn(l,a);){var c=a[e];if(c){s=c===o;break}l.push(a),a=On(a)}try{s&&(t[e]=n),n[pn]=1}catch(t){i[bn]=!1}}}return n}(this,e,t,r)||function(t,e,r){var o=e[t];return o===r&&(o=On(e)[t]),typeof o!==ln&&In("["+t+"] is not a "+ln),o}(e,t,r);return o.apply(this,arguments)};return r[dn]=1,r}(t,e)))}))}}}function Ln(t,e){return Ye(t,an)?t.name||e||hn:((t||{})[sn]||{}).name||e||hn}function Mn(t,e,r,o){Ye(t,an)||In("theClass is an invalid class definition.");var n=t[an];(function(t,e){if(Cn){for(var r=[],o=On(e);o&&!$n(o)&&!Dn(r,o);){if(o===t)return!0;r.push(o),o=On(o)}return!1}return!0})(n,e)||In("["+Ln(t)+"] not in hierarchy of ["+Ln(e)+"]");var i=null;Ye(n,un)?i=n[un]:(i="_dynCls$"+Ln(t,"_")+"$"+En.n,En.n++,n[un]=i);var s=Mn[fn],a=!!s[wn];a&&o&&void 0!==o[wn]&&(a=!!o[wn]);var l=function(t){var e=ko(null);return An(t,(function(r){!e[r]&&jn(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[dn]&&o){var i=t[cn]||{};!1!==i[bn]&&(n=(i[e[un]]||{})[r]||n)}return function(){return n.apply(t,arguments)}}var i=ko(null);An(r,(function(t){i[t]=n(e,r,t)}));for(var s=On(t),a=[];s&&!$n(s)&&!Dn(a,s);)An(s,(function(t){!i[t]&&jn(s,t,!Cn)&&(i[t]=n(e,s,t))})),a.push(s),s=On(s);return i}(n,e,l,a);r(e,c);var d=!!Cn&&!!s[xn];d&&o&&(d=!!o[xn]),Rn(n,i,e,l,!1!==d)}Mn[fn]=En.o;var Pn="function",Nn="object",qn="undefined",zn="prototype",Hn=Object,Vn=Hn[zn],Un=((Wr()||{}).Symbol,(Wr()||{}).Reflect,"hasOwnProperty"),Fn=ur||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])Vn[Un].call(e,n)&&(t[n]=e[n]);return t},Bn=function(t,e){return Bn=Hn.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e[Un](r)&&(t[r]=e[r])},Bn(t,e)};function Wn(t,e){function r(){this.constructor=t}typeof e!==Pn&&null!==e&&ar("Class extends value "+String(e)+" is not a constructor or null"),Bn(t,e),t[zn]=null===e?ko(e):(r[zn]=e[zn],new r)}function Kn(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t}var Xn="toLowerCase",Gn="blkVal",Qn="length",Jn="rdOnly",Yn="notify",Zn="warnToConsole",ti="throwInternal",ei="setDf",ri="watch",oi="logger",ni="apply",ii="push",si="splice",ai="hdlr",li="cancel",ci="initialize",di="identifier",ui="removeNotificationListener",pi="addNotificationListener",bi="isInitialized",fi="getNotifyMgr",hi="getPlugin",gi="pollInternalLogs",vi="name",mi="time",yi="processNext",wi="getProcessTelContext",xi="enabled",_i="stopPollingInternalLogs",Ci="unload",ki="onComplete",Si="version",Ei="loggingLevelConsole",Ti="createNew",$i="teardown",Oi="messageId",Ai="message",ji="isAsync",Ii="diagLog",Di="_doTeardown",Ri="update",Li="getNext",Mi="setNextPlugin",Pi="protocol",Ni="userAgent",qi="split",zi="nodeType",Hi="replace",Vi="logInternalMessage",Ui="type",Fi="handler",Bi="status",Wi="getResponseHeader",Ki="getAllResponseHeaders",Xi="isChildEvt",Gi="data",Qi="getCtx",Ji="setCtx",Yi="complete",Zi="itemsReceived",ts="urlString",es="sendPOST",rs="headers",os="timeout",ns="setRequestHeader",is="traceId",ss="spanId",as="traceFlags",ls=void 0,cs="",ds="channels",us="core",ps="createPerfMgr",bs="disabled",fs="extensionConfig",hs="extensions",gs="processTelemetry",vs="priority",ms="eventsSent",ys="eventsDiscarded",ws="eventsSendRequest",xs="perfEvent",_s="offlineEventsStored",Cs="offlineBatchSent",ks="offlineBatchDrop",Ss="getPerfMgr",Es="domain",Ts="path",$s="Not dynamic - ",Os=/-([a-z])/g,As=/([^\w\d_$])/g,js=/^(\d+[\w\d_$])/,Is=Object.getPrototypeOf;function Ds(t){return!qe(t)}function Rs(t){var e=t;return e&&He(e)&&(e=(e=(e=e[Hi](Os,(function(t,e){return e.toUpperCase()})))[Hi](As,"_"))[Hi](js,(function(t,e){return"_"+e}))),e}function Ls(t,e){return!(!t||!e)&&-1!==Yo(t,e)}function Ms(t){return t&&t.toISOString()||""}function Ps(t){return Xe(t)?t[vi]:cs}function Ns(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 qs(t,e,r){var o;return t?!(o=t[e])&&qe(o)&&(o=Ne(r)?{}:r,t[e]=o):o=Ne(r)?{}:r,o}function zs(t,e){var r=null,o=null;return Ve(t)?r=t:o=t,function(){var t=arguments;if(r&&(o=r()),o)return o[e][ni](o,t)}}function Hs(t,e,r,o,n){t&&e&&r&&(!1!==n||Ne(t[e]))&&(t[e]=zs(r,o))}function Vs(t,e,r,o){return t&&e&&Ue(t)&&Fe(r)&&vo(r,(function(r){He(r)&&Hs(t,r,e,r,o)})),t}function Us(t){return t&&ur&&(t=Hn(ur({},t))),t}function Fs(t,e,r,o,n,i){var s=arguments,a=s[0]||{},l=s[Qn],c=!1,d=1;for(l>0&&Ke(a)&&(c=a,a=s[d]||{},d++),Ue(a)||(a={});d<l;d++){var u=s[d],p=Fe(u),b=Ue(u);for(var f in u)if(p&&f in u||b&&Ze(u,f)){var h=u[f],g=void 0;if(c&&h&&((g=Fe(h))||Mo(h))){var v=a[f];g?Fe(v)||(v=[]):Mo(v)||(v={}),h=Fs(c,v,h)}void 0!==h&&(a[f]=h)}}return a}function Bs(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 Ws(t){try{return t.responseText}catch(t){}return null}function Ks(t,e){return t?"XDomainRequest,Response:"+Ws(t)||0:e}function Xs(t,e){return t?"XMLHttpRequest,Status:"+t[Bi]+",Response:"+Ws(t)||0:e}function Gs(t,e){return e&&(We(e)?t=[e].concat(t):Fe(e)&&(t=e.concat(t))),t}var Qs="withCredentials";function Js(t,e,r){if(!t[r]&&e&&e[Wi]){var o=e[Wi](r);o&&(t[r]=Lo(o))}return t}function Ys(t,e){var r,o,n={};return t[Ki]?(r=t[Ki](),o={},He(r)&&vo(Lo(r)[qi](/[\r\n]+/),(function(t){if(t){var e=t.indexOf(": ");if(-1!==e){var r=Lo(t.substring(0,e))[Xn](),n=Lo(t.substring(e+1));o[r]=n}else o[Lo(t)]=1}})),n=o):e&&(n=Js(n,t,"time-delta-millis"),n=Js(n,t,"kill-duration"),n=Js(n,t,"kill-duration-seconds")),n}var Zs="location",ta="JSON",ea="crypto",ra="msCrypto",oa="msie",na="trident/",ia="XMLHttpRequest",sa=null,aa=null,la=!1,ca=null,da=null;function ua(t,e){var r=!1;if(t){try{if(!(r=e in t)){var o=t[zn];o&&(r=e in o)}}catch(t){}if(!r)try{r=!Ne((new t)[e])}catch(t){}}return r}function pa(t){if(t&&la){var e=Kr("__mockLocation");if(e)return e}return typeof location===Nn&&location?location:Kr(Zs)}function ba(){return Boolean(typeof JSON===Nn&&JSON||null!==Kr(ta))}function fa(){return ba()?JSON||Kr(ta):null}function ha(){var t=eo();if(t&&(t[Ni]!==aa||null===sa)){var e=((aa=t[Ni])||cs)[Xn]();sa=Ls(e,oa)||Ls(e,na)}return sa}function ga(t){if(void 0===t&&(t=null),!t){var e=eo()||{};t=e?(e.userAgent||cs)[Xn]():cs}var r=(t||cs)[Xn]();if(Ls(r,oa)){var o=Gr()||{};return Math.max(parseInt(r[qi](oa)[1]),o.documentMode||0)}if(Ls(r,na)){var n=parseInt(r[qi](na)[1]);if(n)return n+4}return null}function va(t){return null!==da&&!1!==t||(da=!!eo()&&Boolean(eo().sendBeacon)),da}function ma(t){var e=!1;try{e=!!Kr("fetch");var r=Kr("Request");e&&t&&r&&(e=ua(r,"keepalive"))}catch(t){}return e}function ya(){var t=!1;try{t=!!Kr(ia)}catch(t){}return t}var wa=4294967296,xa=4294967295,_a=123456789,Ca=987654321,ka=!1,Sa=_a,Ea=Ca;function Ta(){try{var t=2147483647&Oo();(e=(Math.random()*wa^t)+t)<0&&(e>>>=0),Sa=_a+e&xa,Ea=Ca-e&xa,ka=!0}catch(t){}var e}function $a(t){var e=0,r=Kr(ea)||Kr(ra);return r&&r.getRandomValues&&(e=r.getRandomValues(new Uint32Array(1))[0]&xa),0===e&&ha()&&(ka||Ta(),e=function(t){var e=((Ea=36969*(65535&Ea)+(Ea>>16)&xa)<<16)+(65535&(Sa=18e3*(65535&Sa)+(Sa>>16)&xa))>>>0&xa;return e>>>=0}()&xa),0===e&&(e=Math.floor(wa*Math.random()|0)),t||(e>>>=0),e}function Oa(t){void 0===t&&(t=22);for(var e=$a()>>>0,r=0,o=cs;o[Qn]<t;)r++,o+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&e),e>>>=6,5===r&&(e=($a()<<2&4294967295|3&e)>>>0,r=0);return o}var Aa="3.2.1",ja="."+Oa(6),Ia=0;function Da(t){return 1===t[zi]||9===t[zi]||!+t[zi]}function Ra(t,e){return void 0===e&&(e=!1),Rs(t+Ia+++(e?"."+Aa:cs)+ja)}function La(t){var e={id:Ra("_aiData-"+(t||cs)+"."+Aa),accept:function(t){return Da(t)},get:function(t,r,o,n){var i=t[e.id];return i?i[Rs(r)]:(n&&(i=function(t,e){var r=e[t.id];if(!r){r={};try{Da(e)&&zr(e,t.id,{e:!1,v:r})}catch(t){}}return r}(e,t),i[Rs(r)]=o),o)},kill:function(t,e){if(t&&t[e])try{delete t[e]}catch(t){}}};return e}function Ma(t){return t&&Ue(t)&&(t.isVal||t.fb||Ze(t,"v")||Ze(t,"mrg")||Ze(t,"ref")||t.set)}function Pa(t,e,r){var o,n=r.dfVal||ze;if(e&&r.fb){var i=r.fb;Fe(i)||(i=[i]);for(var s=0;s<i[Qn];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,or(a),l)),n(o))break}}return!n(o)&&n(r.v)&&(o=r.v),o}function Na(t,e,r){var o,n=r;return r&&Ma(r)&&(n=Pa(t,e,r)),n&&(Ma(n)&&(n=Na(t,e,n)),Fe(n)?(o=[])[Qn]=n[Qn]:Mo(n)&&(o={}),o&&(er(n,(function(r,n){n&&Ma(n)&&(n=Na(t,e,n)),o[r]=n})),n=o)),n}function qa(t,e,r,o){var n,i,s,a,l,c,d,u,p=o;Ma(p)?(n=p.isVal,i=p.set,c=p[Jn],d=p[Gn],a=p.mrg,!(l=p.ref)&&Ne(l)&&(l=!!a),s=Pa(t,e,p)):s=o,d&&t[Gn](e,r);var b=!0,f=e[r];!f&&qe(f)||(u=f,b=!1,n&&u!==s&&!n(u)&&(u=s,b=!0),i&&(b=(u=i(u,s,e))===s)),b?u=s?Na(t,e,s):s:(Mo(u)||Fe(s))&&a&&s&&(Mo(s)||Fe(s))&&er(s,(function(e,r){qa(t,u,e,r)})),t.set(e,r,u),l&&t.ref(e,r),c&&t[Jn](e,r)}var za=po("[[ai_dynCfg_1]]"),Ha=po("[[ai_blkDynCfg_1]]"),Va=po("[[ai_frcDynCfg_1]]");function Ua(t){var e;return t&&(Fe(t)?(e=[])[Qn]=t[Qn]:Mo(t)&&(e={}),e)?(er(t,(function(t,r){e[t]=Ua(r)})),e):t}function Fa(t,e,r){var o=!1;return r&&!t[e.blkVal]&&((o=r[Va])||r[Ha]||(o=Mo(r)||Fe(r))),o}function Ba(t){ar("InvalidAccess:"+t)}var Wa,Ka=["push","pop","shift","unshift","splice"],Xa=function(t,e,r,o){t&&t[ti](3,108,"".concat(r," [").concat(e,"] failed - ")+ir(o))};function Ga(t,e){var r=Je(t,e);return r&&r.get}function Qa(t,e,r,o){if(e){var n=Ga(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===mo(n.h,e)&&n.h[ii](e),t.trk(e,n))},clr:function(t){var e=mo(n.h,t);-1!==e&&n.h[si](e,1)}},i=!0,s=!1;function a(){i&&(s=s||Fa(a,t,o),o&&!o[za]&&s&&(o=Ya(t,o,r,"Converting")),i=!1);var e=t.act;return e&&n.trk(e),o}a[t.prop]={chng:function(){t.add(n)}},zr(e,n.n,{g:a,s:function(l){if(o!==l){a[t.ro]&&!t.upd&&Ba("["+r+"] is read-only:"+ir(e)),i&&(s=s||Fa(a,t,o),i=!1);var c=s&&a[t.rf];if(s)if(c){er(o,(function(t){o[t]=l?l[t]:ls}));try{er(l,(function(e,r){Qa(t,o,e,r)})),l=o}catch(e){Xa((t.hdlr||{})[oi],r,"Assigning",e),s=!1}}else o&&o[za]&&er(o,(function(e){var r=Ga(o,e);if(r){var n=r[t.prop];n&&n.chng()}}));if(l!==o){var d=l&&Fa(a,t,l);!c&&d&&(l=Ya(t,l,r,"Converting")),o=l,s=d}t.add(n)}}})}(t,e,r,o)}return e}function Ja(t,e,r,o){if(e){var n=Ga(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&&(Mo(t)||Fe(t)))try{t[Ha]=!0}catch(t){}}(e)}catch(e){Xa((t.hdlr||{})[oi],r,"Blocking",e)}try{Qa(t,e,r,e[r]),n=Ga(e,r)}catch(e){Xa((t.hdlr||{})[oi],r,"State",e)}}s&&(n[t.rf]=s),a&&(n[t.ro]=a),l&&(n[t.blkVal]=!0)}return e}function Ya(t,e,r,o){try{er(e,(function(r,o){Qa(t,e,r,o)})),e[za]||(Nr(e,za,{get:function(){return t[ai]}}),function(t,e,r){Fe(e)&&vo(Ka,(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[ni](this,o);return Ya(t,e,r,"Patching"),s}}))}(t,e,r))}catch(e){Xa((t.hdlr||{})[oi],r,o,e)}return e}var Za="[[ai_",tl="]]";function el(t,e,r){var o,n=function(t){if(t){var e=t[za]||t;if(e.cfg&&(e.cfg===t||e.cfg[za]===e))return e}return null}(e);if(n)return n;var i,s=Ra("dyncfg",!0),a=e&&!1!==r?e:Ua(e),l=((o={uid:null,cfg:a})[oi]=t,o[Yn]=function(){i[Yn]()},o.set=function(e,r,o){try{e=Qa(i,e,r,o)}catch(e){Xa(t,r,"Setting value",e)}return e[r]},o[ei]=function(t,e){return e&&er(e,(function(e,r){qa(l,t,e,r)})),t},o[ri]=function(t){return function(t,e){var r={fn:e,rm:function(){r.fn=null,t=null,e=null}};return zr(r,"toJSON",{v:function(){return"WatcherHandler"+(r.fn?"":"[X]")}}),t.use(r,e),r}(i,t)},o.ref=function(t,e){var r;return Ja(i,t,e,(r={},r[0]=!0,r))[e]},o[Jn]=function(t,e){var r;return Ja(i,t,e,(r={},r[1]=!0,r))[e]},o[Gn]=function(t,e){var r;return Ja(i,t,e,(r={},r[2]=!0,r))[e]},o._block=function(t,e){i.use(null,(function(r){var o=i.upd;try{Ne(e)||(i.upd=e),t(r)}finally{i.upd=o}}))},o);return zr(l,"uid",{c:!1,e:!1,w:!1,v:s}),Ya(i=function(t){var e,r,o=uo(Za+"get"+t.uid+tl),n=uo(Za+"ro"+t.uid+tl),i=uo(Za+"rf"+t.uid+tl),s=uo(Za+"blkVal"+t.uid+tl),a=uo(Za+"dtl"+t.uid+tl),l=null,c=null;function d(e,o){var n=r.act;try{r.act=e,e&&e[a]&&(vo(e[a],(function(t){t.clr(e)})),e[a]=[]),o({cfg:t.cfg,set:t.set.bind(t),setDf:t[ei].bind(t),ref:t.ref.bind(t),rdOnly:t[Jn].bind(t)})}catch(e){var i=t[oi];throw i&&i[ti](1,107,ir(e)),e}finally{r.act=n||null}}function u(){if(l){var t=l;l=null,c&&c[li](),c=null;var e=[];if(vo(t,(function(t){if(t&&(t[a]&&(vo(t[a],(function(e){e.clr(t)})),t[a]=null),t.fn))try{d(t,t.fn)}catch(t){e[ii](t)}})),l)try{u()}catch(t){e[ii](t)}e[Qn]>0&&function(t,e){Wa||(Wa=$o("AggregationError",(function(t,e){e[Qn]>1&&(t.errors=e[1])})));var r="Watcher error(s): ";throw vo(e,(function(t,e){r+="\n".concat(e," > ").concat(ir(t))})),new Wa(r,e||[])}(0,e)}}return(e={prop:o,ro:n,rf:i})[Gn]=s,e[ai]=t,e.add=function(t){if(t&&t.h[Qn]>0){l||(l=[]),c||(c=nn((function(){c=null,u()}),0));for(var e=0;e<t.h[Qn];e++){var r=t.h[e];r&&-1===mo(l,r)&&l[ii](r)}}},e[Yn]=u,e.use=d,e.trk=function(t,e){if(t){var r=t[a]=t[a]||[];-1===mo(r,e)&&r[ii](e)}},r=e}(l),a,"config","Creating"),l}function rl(t,e,r,o){var n=el(r,t||{},o);return e&&n[ei](n.cfg,e),n}function ol(t,e,r){var o=t[za]||t;return!o.cfg||o.cfg!==t&&o.cfg[za]!==o?(function(t,e){t?(t[Zn](e),t[ti](2,108,e)):Ba(e)}(r,$s+ir(t)),rl(t,null,r)[ri](e)):o[ri](e)}var nl,il,sl=[ms,ys,ws,xs],al=null;function ll(t,e){return function(){var r=arguments,o=cl(e);if(o){var n=o.listener;n&&n[t]&&n[t][ni](n,r)}}}function cl(t){var e,r=al;return r||!0===t.disableDbgExt||(r=al||((e=Kr("Microsoft"))&&(al=e.ApplicationInsights),al)),r?r.ChromeDbgExt:null}var dl="warnToConsole",ul={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},pl=((il={})[0]=null,il[1]="errorToConsole",il[2]=dl,il[3]="debugToConsole",il);function bl(t){return t?'"'+t[Hi](/\"/g,cs)+'"':cs}function fl(t,e){var r=typeof console!==qn?console:Kr("console");if(r){var o="log";r[t]&&(o=t),Ve(r[o])&&r[o](e)}}var hl=function(){function t(t,e,r,o){void 0===r&&(r=!1);var n=this;n[Oi]=t,n[Ai]=(r?"AI: ":"AI (Internal): ")+t;var i=cs;ba()&&(i=fa().stringify(o));var s=(e?" message:"+bl(e):cs)+(o?" props:"+bl(i):cs);n[Ai]+=s}return t.dataType="MessageData",t}();function gl(t,e){return(t||{})[oi]||new vl(e)}var vl=function(){function t(e){this.identifier="DiagnosticLogger",this.queue=[];var r,o,n,i,s,a=0,l={};Mn(t,this,(function(t){function c(e,r){if(!(a>=n)){var i=!0,s="AITR_"+r[Oi];if(l[s]?i=!1:l[s]=!0,i&&(e<=o&&(t.queue[ii](r),a++,d(1===e?"error":"warn",r)),a===n)){var c="Internal events throttle limit per PageView reached for this app.",u=new hl(23,c,!1);t.queue[ii](u),1===e?t.errorToConsole(c):t[Zn](c)}}}function d(t,r){var o=cl(e||{});o&&o[Ii]&&o[Ii](t,r)}s=function(e){return ol(rl(e,ul,t).cfg,(function(t){var e=t.cfg;r=e[Ei],o=e.loggingLevelTelemetry,n=e.maxMessageLimit,i=e.enableDebug}))}(e||{}),t.consoleLoggingLevel=function(){return r},t[ti]=function(e,o,n,s,a){void 0===a&&(a=!1);var u=new hl(o,n,a,s);if(i)throw ir(u);var p=pl[e]||dl;if(Ne(u[Ai]))d("throw"+(1===e?"Critical":"Warning"),u);else{if(a){var b=+u[Oi];!l[b]&&r>=e&&(t[p](u[Ai]),l[b]=!0)}else r>=e&&t[p](u[Ai]);c(e,u)}},t.debugToConsole=function(t){fl("debug",t),d("warning",t)},t[Zn]=function(t){fl("warn",t),d("warning",t)},t.errorToConsole=function(t){fl("error",t),d("error",t)},t.resetInternalMessageCount=function(){a=0,l={}},t[Vi]=c,t[Ci]=function(t){s&&s.rm(),s=null}}))}return t.__ieDyn=1,t}();function ml(t){return t||new vl}function yl(t,e,r,o,n,i){void 0===i&&(i=!1),ml(t)[ti](e,r,o,n,i)}function wl(t,e){ml(t)[Zn](e)}var xl=function(t){return rr(t,1,0,br)},_l=xl({LocalStorage:0,SessionStorage:1}),Cl=(xl({AI:0,AI_AND_W3C:1,W3C:2}),xl({Normal:1,Critical:2}),"split"),kl="length",Sl="toLowerCase",El="ingestionendpoint",Tl="toString",$l="push",Ol="removeItem",Al="name",jl="message",Il="count",Dl="preTriggerDate",Rl="disabled",Ll="interval",Ml="daysOfMonth",Pl="date",Nl="getUTCDate",ql="stringify",zl="pathname",Hl="correlationHeaderExcludePatterns",Vl="exceptions",Ul="parsedStack",Fl="properties",Bl="measurements",Wl="sizeInBytes",Kl="typeName",Xl="severityLevel",Gl="problemGroup",Ql="isManual",Jl="CreateFromInterface",Yl="assembly",Zl="fileName",tc="hasFullStack",ec="level",rc="method",oc="line",nc="duration",ic="receivedResponse",sc=void 0,ac=void 0,lc="";function cc(){return bc()?dc(_l.LocalStorage):null}function dc(t){try{if(qe(Wr()))return null;var e=(new Date)[Tl](),r=Kr(t===_l.LocalStorage?"localStorage":"sessionStorage"),o=lc+e;r.setItem(o,e);var n=r.getItem(o)!==e;if(r[Ol](o),!n)return r}catch(t){}return null}function uc(){return gc()?dc(_l.SessionStorage):null}function pc(t){lc=t||""}function bc(t){return(t||void 0===sc)&&(sc=!!dc(_l.LocalStorage)),sc}function fc(t,e){var r=cc();if(null!==r)try{return r.getItem(e)}catch(e){sc=!1,yl(t,2,1,"Browser failed read of local storage. "+Ps(e),{exception:ir(e)})}return null}function hc(t,e,r){var o=cc();if(null!==o)try{return o.setItem(e,r),!0}catch(e){sc=!1,yl(t,2,3,"Browser failed write to local storage. "+Ps(e),{exception:ir(e)})}return!1}function gc(t){return(t||void 0===ac)&&(ac=!!dc(_l.SessionStorage)),ac}function vc(t,e){var r=uc();if(null!==r)try{return r.getItem(e)}catch(e){ac=!1,yl(t,2,2,"Browser failed read of session storage. "+Ps(e),{exception:ir(e)})}return null}function mc(t,e,r){var o=uc();if(null!==o)try{return o.setItem(e,r),!0}catch(e){ac=!1,yl(t,2,4,"Browser failed write to session storage. "+Ps(e),{exception:ir(e)})}return!1}function yc(t,e){var r=uc();if(null!==r)try{return r[Ol](e),!0}catch(e){ac=!1,yl(t,2,6,"Browser failed removal of session storage item. "+Ps(e),{exception:ir(e)})}return!1}var wc="AppInsightsPropertiesPlugin",xc="AppInsightsChannelPlugin",_c="ApplicationInsightsAnalytics",Cc="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",kc="sampleRate",Sc="ProcessLegacy",Ec="http.method",Tc="https://dc.services.visualstudio.com",$c="/v2/track",Oc="not_specified",Ac="iKey";function jc(t,e,r){var o=e[kl],n=function(t,e){var r;return e&&(e=Lo(or(e)))[kl]>150&&(r=Tr(e,0,150),yl(t,2,57,"name is too long. It has been truncated to 150 characters.",{name:e},!0)),r||e}(t,e);if(n[kl]!==o){for(var i=0,s=n;void 0!==r[s];)i++,s=Tr(n,0,147)+Nc(i);n=s}return n}function Ic(t,e,r){var o;return void 0===r&&(r=1024),e&&(r=r||1024,(e=Lo(or(e)))[kl]>r&&(o=Tr(e,0,r),yl(t,2,61,"string value is too long. It has been truncated to "+r+" characters.",{value:e},!0))),o||e}function Dc(t,e){return Pc(t,e,2048,66)}function Rc(t,e){var r;return e&&e[kl]>32768&&(r=Tr(e,0,32768),yl(t,2,56,"message is too long, it has been truncated to 32768 characters.",{message:e},!0)),r||e}function Lc(t,e){if(e){var r={};er(e,(function(e,o){if(Ue(o)&&ba())try{o=fa()[ql](o)}catch(e){yl(t,2,49,"custom property is not valid",{exception:e},!0)}o=Ic(t,o,8192),e=jc(t,e,r),r[e]=o})),e=r}return e}function Mc(t,e){if(e){var r={};er(e,(function(e,o){e=jc(t,e,r),r[e]=o})),e=r}return e}function Pc(t,e,r,o){var n;return e&&(e=Lo(or(e)))[kl]>r&&(n=Tr(e,0,r),yl(t,2,o,"input is too long, it has been truncated to "+r+" characters.",{data:e},!0)),n||e}function Nc(t){var e="00"+t;return $r(e,e[kl]-3)}function qc(t,e,r,o,n,i){var s;r=Ic(o,r)||Oc,(qe(t)||qe(e)||qe(r))&&sr("Input doesn't contain all required fields");var a="";t[Ac]&&(a=t[Ac],delete t[Ac]);var l=((s={})[Al]=r,s.time=Ms(new Date),s.iKey=a,s.ext=i||{},s.tags=[],s.data={},s.baseType=e,s.baseData=t,s);return qe(n)||er(n,(function(t,e){l.data[t]=e})),l}var zc=function(){function t(t,e,r,o){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var n=this;n.ver=2,n[Al]=Ic(t,e)||Oc,n[Fl]=Lc(t,r),n[Bl]=Mc(t,o)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Event",t.dataType="EventData",t}(),Hc=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||Oc,i[jl]=Rc(t,e),i[Fl]=Lc(t,o),i[Bl]=Mc(t,n),r&&(i[Xl]=r)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Message",t.dataType="MessageData",t}(),Vc=function(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0},Uc=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 d=new Vc;d[Il]=o>0?o:void 0,d.max=isNaN(i)||null===i?void 0:i,d.min=isNaN(n)||null===n?void 0:n,d[Al]=Ic(t,e)||Oc,d.value=r,d.stdDev=isNaN(s)||null===s?void 0:s,c.metrics=[d],c[Fl]=Lc(t,a),c[Bl]=Mc(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[kl]?"00"+e:2===e[kl]?"0"+e:e,r=r[kl]<2?"0"+r:r,o=o[kl]<2?"0"+o:o,n=n[kl]<2?"0"+n:n,(i>0?i+".":Fc)+n+":"+o+":"+r+"."+e}var Wc=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?Pc(t,e,128,69)[Tl]():e}(t,s),a.url=Dc(t,r),a[Al]=Ic(t,e)||Oc,isNaN(o)||(a[nc]=Bc(o)),a[Fl]=Lc(t,n),a[Bl]=Mc(t,i)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",t.dataType="PageviewData",t}(),Kc=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=Dc(t,r),a[Al]=Ic(t,e)||Oc,a[Fl]=Lc(t,n),a[Bl]=Mc(t,i),s&&(a.domProcessing=s.domProcessing,a[nc]=s[nc],a.networkConnect=s.networkConnect,a.perfTotal=s.perfTotal,a[ic]=s[ic],a.sentRequest=s.sentRequest)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",t.dataType="PageviewPerformanceData",t}(),Xc="error",Gc="stack",Qc="stackDetails",Jc="errorSrc",Yc="message",Zc="description";function td(t,e){var r=t;return r&&!He(r)&&(JSON&&JSON[ql]?(r=JSON[ql](t),!e||r&&"{}"!==r||(r=Ve(t[Tl])?t[Tl]():""+t)):r=t+" - (Missing JSON.stringify)"),r||""}function ed(t,e){var r=t;return t&&(r&&!He(r)&&(r=t[Yc]||t[Zc]||r),r&&!He(r)&&(r=td(r,!0)),t.filename&&(r=r+" @"+(t.filename||"")+":"+(t.lineno||"?")+":"+(t.colno||"?"))),e&&"String"!==e&&"Object"!==e&&"Error"!==e&&-1===Yo(r||"",e)&&(r=e+": "+r),r||""}function rd(t){return t&&t.src&&He(t.src)&&t.obj&&Fe(t.obj)}function od(t){var e=t||"";He(e)||(e=He(e[Gc])?e[Gc]:""+e);var r=e[Cl]("\n");return{src:e,obj:r}}function nd(t){var e=null;if(t)try{if(t[Gc])e=od(t[Gc]);else if(t[Xc]&&t[Xc][Gc])e=od(t[Xc][Gc]);else if(t.exception&&t.exception[Gc])e=od(t.exception[Gc]);else if(rd(t))e=t;else if(rd(t[Qc]))e=t[Qc];else if(to()&&to().opera&&t[Yc])e=function(t){for(var e=[],r=t[Cl]("\n"),o=0;o<r[kl];o++){var n=r[o];r[o+1]&&(n+="@"+r[o+1],o++),e[$l](n)}return{src:t,obj:e}}(t[jl]);else if(t.reason&&t.reason[Gc])e=od(t.reason[Gc]);else if(He(t))e=od(t);else{var r=t[Yc]||t[Zc]||"";He(t[Jc])&&(r&&(r+="\n"),r+=" from "+t[Jc]),r&&(e=od(r))}}catch(t){e=od(t)}return e||{src:"",obj:null}}function id(t){var e="";if(t&&!(e=t.typeName||t[Al]||""))try{var r=/function (.{1,200})\(/.exec(t.constructor[Tl]());e=r&&r[kl]>1?r[1]:""}catch(t){}return e}function sd(t){if(t)try{if(!He(t)){var e=id(t),r=td(t,!1);return r&&"{}"!==r||(t[Xc]&&(e=id(t=t[Xc])),r=td(t,!0)),0!==Yo(r,e)&&"String"!==e?e+":"+r:r}}catch(t){}return""+(t||"")}var ad=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(Ue(t))return"ver"in t&&"exceptions"in t&&"properties"in t}catch(t){}return!1}(e)?(s[Vl]=e[Vl]||[],s[Fl]=e[Fl],s[Bl]=e[Bl],e[Xl]&&(s[Xl]=e[Xl]),e.id&&(s.id=e.id,e[Fl].id=e.id),e[Gl]&&(s[Gl]=e[Gl]),qe(e[Ql])||(s[Ql]=e[Ql])):(r||(r={}),i&&(r.id=i),s[Vl]=[new ld(t,e,r)],s[Fl]=Lc(t,r),s[Bl]=Mc(t,o),n&&(s[Xl]=n),i&&(s.id=i))}return t.CreateAutoException=function(t,e,r,o,n,i,s,a){var l,c=id(n||i||t);return(l={})[jl]=ed(t,c),l.url=e,l.lineNumber=r,l.columnNumber=o,l.error=sd(n||i||t),l.evt=sd(i||t),l[Kl]=c,l.stackDetails=nd(s||n||i),l.errorSrc=a,l},t.CreateFromInterface=function(e,r,o,n){var i=r[Vl]&&yo(r[Vl],(function(t){return ld[Jl](e,t)}));return new t(e,Fn(Fn({},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&&yo(r,(function(t){return t.toInterface()}))||void 0;return(t={ver:"4.0"})[Vl]=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[tc]=!0,s.message=t,s.stack=n,s.typeName=e,s)]}},t.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",t.dataType="ExceptionData",t.formatError=sd,t}(),ld=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(Ue(t))return"hasFullStack"in t&&"typeName"in t}catch(t){}return!1}(e))o[Kl]=e[Kl],o[jl]=e[jl],o[Gc]=e[Gc],o[Ul]=e[Ul]||[],o[tc]=e[tc];else{var n=e,i=n&&n.evt;Xe(n)||(n=n[Xc]||i||n),o[Kl]=Ic(t,id(n))||Oc,o[jl]=Rc(t,ed(e||n,o[Kl]))||Oc;var s=e[Qc]||nd(e);o[Ul]=function(t){var e,r=t.obj;if(r&&r[kl]>0){e=[];var o=0,n=0;if(vo(r,(function(t){var r=t[Tl]();if(cd.regex.test(r)){var i=new cd(r,o++);n+=i[Wl],e[$l](i)}})),n>32768)for(var i=0,s=e[kl]-1,a=0,l=i,c=s;i<s;){if((a+=e[i][Wl]+e[s][Wl])>32768){var d=c-l+1;e.splice(l,d);break}l=i,c=s,i++,s--}}return e}(s),Fe(o[Ul])&&yo(o[Ul],(function(e){e[Yl]=Ic(t,e[Yl]),e[Zl]=Ic(t,e[Zl])})),o[Gc]=function(t,e){var r;if(e){var o=""+e;o[kl]>32768&&(r=Tr(o,0,32768),yl(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?vo(t.obj,(function(t){e+=t+"\n"})):e=t.src||""),e}(s)),o.hasFullStack=Fe(o.parsedStack)&&o.parsedStack[kl]>0,r&&(r[Kl]=r[Kl]||o[Kl])}}return t.prototype.toInterface=function(){var t,e=this,r=e[Ul]instanceof Array&&yo(e[Ul],(function(t){return t.toInterface()}));return(t={id:e.id,outerId:e.outerId,typeName:e[Kl],message:e[jl],hasFullStack:e[tc],stack:e[Gc]})[Ul]=r||void 0,t},t.CreateFromInterface=function(e,r){var o=r[Ul]instanceof Array&&yo(r[Ul],(function(t){return cd[Jl](t)}))||r[Ul];return new t(e,Fn(Fn({},r),{parsedStack:o}))},t}(),cd=function(){function t(e,r){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var o=this;if(o[Wl]=0,"string"==typeof e){var n=e;o[ec]=r,o[rc]="<no_method>",o[Yl]=Lo(n),o[Zl]="",o[oc]=0;var i=n.match(t.regex);i&&i[kl]>=5&&(o[rc]=Lo(i[2])||o[rc],o[Zl]=Lo(i[4]),o[oc]=parseInt(i[5])||0)}else o[ec]=e[ec],o[rc]=e[rc],o[Yl]=e[Yl],o[Zl]=e[Zl],o[oc]=e[oc],o[Wl]=0;o.sizeInBytes+=o.method[kl],o.sizeInBytes+=o.fileName[kl],o.sizeInBytes+=o.assembly[kl],o[Wl]+=t.baseSize,o.sizeInBytes+=o.level.toString()[kl],o.sizeInBytes+=o.line.toString()[kl]}return t.CreateFromInterface=function(e){return new t(e,null)},t.prototype.toInterface=function(){var t=this;return{level:t[ec],method:t[rc],assembly:t[Yl],fileName:t[Zl],line:t[oc]}},t.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,t.baseSize=58,t}();function dd(){for(var t,e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],r=cs,o=0;o<4;o++)r+=e[15&(t=$a())]+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&$a())|0];return $r(r,0,8)+$r(r,9,4)+"4"+$r(r,13,3)+n+$r(r,16,3)+$r(r,19,12)}var ud="00",pd="00000000000000000000000000000000",bd="0000000000000000";function fd(t,e,r){return!(!t||t[Qn]!==e||t===r||!t.match(/^[\da-f]*$/i))}function hd(t,e,r){return fd(t,e)?t:r}function gd(t,e,r,o){var n;return(n={})[Si]=fd(o,2,"ff")?o:ud,n[is]=vd(t)?t:dd(),n[ss]=md(e)?e:Ar(dd(),16),n.traceFlags=r>=0&&r<=255?r:1,n}function vd(t){return fd(t,32,pd)}function md(t){return fd(t,16,bd)}function yd(t){if(t){var e=function(t){(isNaN(t)||t<0||t>255)&&(t=1);for(var e=t.toString(16);e[Qn]<2;)e="0"+e;return e}(t[as]);fd(e,2)||(e="01");var r=t[Si]||ud;return"00"!==r&&"ff"!==r&&(r=ud),"".concat(r.toLowerCase(),"-").concat(hd(t.traceId,32,pd).toLowerCase(),"-").concat(hd(t.spanId,16,bd).toLowerCase(),"-").concat(e.toLowerCase())}return""}var wd=function(t){var e={};return er(t,(function(t,r){e[t]=r[1],e[r[0]]=r[1]})),br(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"]}),xd=Gr()||{},_d=0,Cd=[null,null,null,null,null];function kd(t){var e=_d,r=Cd,o=r[e];return xd.createElement?r[e]||(o=r[e]=xd.createElement("a")):o={host:Sd(t,!0)},o.href=t,++e>=r[kl]&&(e=0),_d=e,o}function Sd(t,e){var r=Ed(t,e)||"";if(r){var o=r.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(null!=o&&o[kl]>3&&He(o[2])&&o[2][kl]>0)return o[2]+(o[3]||"")}return r}function Ed(t,e){var r=null;if(t){var o=t.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(null!=o&&o[kl]>2&&He(o[2])&&o[2][kl]>0&&(r=o[2]||"",e&&o[kl]>2)){var n=(o[1]||"")[Sl](),i=o[3]||"";("http"===n&&":80"===i||"https"===n&&":443"===i)&&(i=""),r+=i}}return r}var Td=[Tc+$c,"https://breeze.aimon.applicationinsights.io"+$c,"https://dc-int.services.visualstudio.com"+$c];function $d(t){return-1!==mo(Td,t[Sl]())}function Od(t,e,r){if(!e||t&&t.disableCorrelationHeaders)return!1;if(t&&t[Hl])for(var o=0;o<t.correlationHeaderExcludePatterns[kl];o++)if(t[Hl][o].test(e))return!1;var n=kd(e).host[Sl]();if(!n||-1===Yo(n,":443")&&-1===Yo(n,":80")||(n=(Ed(e,!0)||"")[Sl]()),(!t||!t.enableCorsCorrelation)&&n&&n!==r)return!1;var i,s=t&&t.correlationHeaderDomains;if(s&&(vo(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[kl])return!0;for(o=0;o<a[kl];o++)if(new RegExp(a[o].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(n))return!1;return n&&n[kl]>0}function Ad(t){if(t){var e=function(t,e){if(t)for(var r=t[Cl](","),o=0;o<r[kl];++o){var n=r[o][Cl]("=");if(2===n[kl]&&n[0]===e)return n[1]}}(t,wd[1]);if(e&&"cid-v1:"!==e)return e}}function jd(){var t=Wo();if(t&&t.now&&t.timing){var e=t.now()+t.timing.navigationStart;if(e>0)return e}return Oo()}function Id(t,e){var r=null;return 0===t||0===e||qe(t)||qe(e)||(r=e-t),r}function Dd(t,e){var r=t||{};return{getName:function(){return r[Al]},setName:function(t){e&&e.setName(t),r[Al]=t},getTraceId:function(){return r.traceID},setTraceId:function(t){e&&e.setTraceId(t),vd(t)&&(r.traceID=t)},getSpanId:function(){return r.parentID},setSpanId:function(t){e&&e.setSpanId(t),md(t)&&(r.parentID=t)},getTraceFlags:function(){return r.traceFlags},setTraceFlags:function(t){e&&e.setTraceFlags(t),r.traceFlags=t}}}var Rd,Ld,Md=function(){function t(t,e,r,o,n,i,s,a,l,c,d,u){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[nc]=Bc(n),p.success=i,p.resultCode=s+"",p.type=Ic(t,l);var b=function(t,e,r,o){var n,i=o,s=o;if(e&&e[kl]>0){var a=kd(e);if(n=a.host,!i)if(null!=a[zl]){var l=0===a.pathname[kl]?"/":a[zl];"/"!==l.charAt(0)&&(l="/"+l),s=a[zl],i=Ic(t,r?r+" "+l:l)}else i=Ic(t,e)}else n=o,i=o;return{target:n,name:i,data:s}}(t,r,a,o);p.data=Dc(t,o)||b.data,p.target=Ic(t,b.target),c&&(p.target="".concat(p.target," | ").concat(c)),p[Al]=Ic(t,b[Al]),p[Fl]=Lc(t,d),p[Bl]=Mc(t,u)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",t.dataType="RemoteDependencyData",t}();function Pd(t){var e=null;if(Ve(Event))e=new Event(t);else{var r=Gr();r&&r.createEvent&&(e=r.createEvent("Event")).initEvent(t,!0,!0)}return e}function Nd(t,e,r){return!t&&qe(t)?e:Ke(t)?t:"true"===or(t)[Xn]()}function qd(t){return{mrg:!0,v:t}}function zd(t,e){return{set:t,v:e}}function Hd(t,e,r){return{fb:r,isVal:t,v:e}}function Vd(t,e){return{fb:e,set:Nd,v:!!t}}var Ud,Fd="toGMTString",Bd="toUTCString",Wd="cookie",Kd="expires",Xd="isCookieUseDisabled",Gd="disableCookiesUsage",Qd="_ckMgr",Jd=null,Yd=null,Zd=null,tu={},eu={},ru=((Rd={cookieCfg:qd((Ld={},Ld[Es]={fb:"cookieDomain",dfVal:Ds},Ld.path={fb:"cookiePath",dfVal:Ds},Ld.enabled=ls,Ld.ignoreCookies=ls,Ld.blockedCookies=ls,Ld)),cookieDomain:ls,cookiePath:ls})[Gd]=ls,Rd);function ou(){var t,e;!Ud&&(t=function(){return Gr()},e={},!Pr&&Hr(),e.b=Pr.lzy,Nr(e,"v",{configurable:!0,get:function(){var r=t();return Pr.lzy||Nr(e,"v",{value:r}),e.b=Pr.lzy,r}}),Ud=e)}function nu(t){return!t||t.isEnabled()}function iu(t,e){return!!(e&&t&&Fe(t.ignoreCookies))&&-1!==mo(t.ignoreCookies,e)}function su(t,e){var r=e[xi];if(qe(r)){var o=void 0;Ne(t[Xd])||(o=!t[Xd]),Ne(t[Gd])||(o=!t[Gd]),r=o}return r}function au(t,e){var r;if(t)r=t.getCookieMgr();else if(e){var o=e.cookieCfg;r=o&&o[Qd]?o[Qd]:lu(e)}return r||(r=function(t,e){var r=lu[Qd]||eu[Qd];return r||(r=lu[Qd]=lu(t,e),eu[Qd]=r),r}(e,(t||{})[oi])),r}function lu(t,e){var r,o,n,i,s,a,l,c,d;t=rl(t||eu,null,e).cfg,s=ol(t,(function(e){e[ei](e.cfg,ru),o=e.ref(e.cfg,"cookieCfg"),n=o[Ts]||"/",i=o[Es],a=!1!==su(t,o),l=o.getCookie||bu,c=o.setCookie||fu,d=o.delCookie||fu}),e);var u=((r={isEnabled:function(){var r=!1!==su(t,o)&&a&&cu(e),n=eu[Qd];return r&&n&&u!==n&&(r=nu(n)),r},setEnabled:function(t){a=!1!==t,o[xi]=t},set:function(t,e,r,s,a){var l,d=!1;if(nu(u)&&!function(t,e){return!!(e&&t&&Fe(t.blockedCookies)&&-1!==mo(t.blockedCookies,e))||iu(t,e)}(o,t)){var p={},b=Lo(e||cs),f=Yo(b,";");if(-1!==f&&(b=Lo(Ar(e,f)),p=du(Tr(e,f+1))),Ns(p,Es,s||i,Qe,Ne),!qe(r)){var h=ha();if(Ne(p[Kd])){var g=Oo()+1e3*r;if(g>0){var v=new Date;v.setTime(g),Ns(p,Kd,uu(v,h?Fd:Bd)||uu(v,h?Fd:Bd)||cs,Qe)}}h||Ns(p,"max-age",cs+r,null,Ne)}var m=pa();m&&"https:"===m[Pi]&&(Ns(p,"secure",null,null,Ne),null===Yd&&(l=(eo()||{})[Ni],Yd=!(He(l)&&(Ls(l,"CPU iPhone OS 12")||Ls(l,"iPad; CPU OS 12")||Ls(l,"Macintosh; Intel Mac OS X 10_14")&&Ls(l,"Version/")&&Ls(l,"Safari")||Ls(l,"Macintosh; Intel Mac OS X 10_14")&&Go(l,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Ls(l,"Chrome/5")||Ls(l,"Chrome/6")||Ls(l,"UnrealEngine")&&!Ls(l,"Chrome")||Ls(l,"UCBrowser/12")||Ls(l,"UCBrowser/11")))),Yd&&Ns(p,"SameSite","None",null,Ne)),Ns(p,Ts,a||n,null,Ne),c(t,pu(b,p)),d=!0}return d},get:function(t){var e=cs;return nu(u)&&!iu(o,t)&&(e=l(t)),e},del:function(t,e){var r=!1;return nu(u)&&(r=u.purge(t,e)),r},purge:function(t,r){var o,n=!1;if(cu(e)){var i=((o={})[Ts]=r||"/",o[Kd]="Thu, 01 Jan 1970 00:00:01 GMT",o);ha()||(i["max-age"]="0"),d(t,pu(cs,i)),n=!0}return n}})[Ci]=function(t){s&&s.rm(),s=null},r);return u[Qd]=u,u}function cu(t){if(null===Jd){Jd=!1,!Ud&&ou();try{var e=Ud.v||{};Jd=void 0!==e[Wd]}catch(e){yl(t,2,68,"Cannot access document.cookie - "+Ps(e),{exception:ir(e)})}}return Jd}function du(t){var e={};return t&&t[Qn]&&vo(Lo(t)[qi](";"),(function(t){if(t=Lo(t||cs)){var r=Yo(t,"=");-1===r?e[t]=null:e[Lo(Ar(t,r))]=Lo(Tr(t,r+1))}})),e}function uu(t,e){return Ve(t[e])?t[e]():null}function pu(t,e){var r=t||cs;return er(e,(function(t,e){r+="; "+t+(qe(e)?cs:"="+e)})),r}function bu(t){var e=cs;if(!Ud&&ou(),Ud.v){var r=Ud.v[Wd]||cs;Zd!==r&&(tu=du(r),Zd=r),e=Lo(tu[t]||cs)}return e}function fu(t,e){!Ud&&ou(),Ud.v&&(Ud.v[Wd]=t+"="+e)}var hu="on",gu="attachEvent",vu="addEventListener",mu="detachEvent",yu="removeEventListener",wu="events",xu="visibilitychange",_u="pagehide",Cu="unload",ku="beforeunload",Su=Ra("aiEvtPageHide"),Eu=(Ra("aiEvtPageShow"),/\.[\.]+/g),Tu=/[\.]+$/,$u=1,Ou=La("events"),Au=/^([^.]*)(?:\.(.+)|)/;function ju(t){return t&&t[Hi]?t[Hi](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,cs):t}function Iu(t,e){var r;if(e){var o=cs;Fe(e)?(o=cs,vo(e,(function(t){(t=ju(t))&&("."!==t[0]&&(t="."+t),o+=t)}))):o=ju(e),o&&("."!==o[0]&&(o="."+o),t=(t||cs)+o)}var n=Au.exec(t||cs)||[];return(r={})[Ui]=n[1],r.ns=(n[2]||cs).replace(Eu,".").replace(Tu,cs)[qi](".").sort().join("."),r}function Du(t,e,r){void 0===r&&(r=!0);var o=Ou.get(t,wu,{},r),n=o[e];return n||(n=o[e]=[]),n}function Ru(t,e,r,o){t&&e&&e[Ui]&&(t[yu]?t[yu](e[Ui],r,o):t[mu]&&t[mu](hu+e[Ui],r))}function Lu(t,e,r,o){for(var n=e[Qn];n--;){var i=e[n];i&&(r.ns&&r.ns!==i.evtName.ns||o&&!o(i)||(Ru(t,i.evtName,i[Fi],i.capture),e[si](n,1)))}}function Mu(t,e){return e?Iu("xx",Fe(e)?[t].concat(e):[t,e]).ns[qi]("."):t}function Pu(t,e,r,o,n){var i;void 0===n&&(n=!1);var s=!1;if(t)try{var a=Iu(e,o);if(s=function(t,e,r,o){var n=!1;return t&&e&&e[Ui]&&r&&(t[vu]?(t[vu](e[Ui],r,o),n=!0):t[gu]&&(t[gu](hu+e[Ui],r),n=!0)),n}(t,a,r,n),s&&Ou.accept(t)){var l=((i={guid:$u++,evtName:a})[Fi]=r,i.capture=n,i);Du(t,a.type)[ii](l)}}catch(t){}return s}function Nu(t,e,r,o,n){if(void 0===n&&(n=!1),t)try{var i=Iu(e,o),s=!1;!function(t,e,r){if(e[Ui])Lu(t,Du(t,e[Ui]),e,r);else{var o=Ou.get(t,wu,{});er(o,(function(o,n){Lu(t,n,e,r)})),0===pr(o)[Qn]&&Ou.kill(t,wu)}}(t,i,(function(t){return!((!i.ns||r)&&t[Fi]!==r||(s=!0,0))})),s||Ru(t,i,r,n)}catch(t){}}function qu(t,e,r,o){var n=!1;return e&&t&&t[Qn]>0&&vo(t,(function(t){t&&(r&&-1!==mo(r,t)||(n=function(t,e,r){var o=!1,n=to();n&&(o=Pu(n,t,e,r),o=Pu(n.body,t,e,r)||o);var i=Gr();return i&&(o=Pu(i,t,e,r)||o),o}(t,e,o)||n))})),n}function zu(t,e,r){t&&Fe(t)&&vo(t,(function(t){t&&function(t,e,r){var o=to();o&&(Nu(o,t,e,r),Nu(o.body,t,e,r));var n=Gr();n&&Nu(n,t,e,r)}(t,e,r)}))}function Hu(t,e,r){var o=Mu(Su,r),n=qu([_u],t,e,o);return e&&-1!==mo(e,xu)||(n=qu([xu],(function(e){var r=Gr();t&&r&&"hidden"===r.visibilityState&&t(e)}),e,o)||n),!n&&e&&(n=Hu(t,null,r)),n}var Vu="ctx",Uu="ParentContextKey",Fu="ChildrenContextKey",Bu=function(){function t(e,r,o){var n,i=this;i.start=Oo(),i[vi]=e,i[ji]=o,i[Xi]=function(){return!1},Ve(r)&&zr(i,"payload",{g:function(){return!n&&Ve(r)&&(n=r(),r=null),n}}),i[Qi]=function(e){return e?e===t[Uu]||e===t[Fu]?i[e]:(i[Vu]||{})[e]:null},i[Ji]=function(e,r){e&&(e===t[Uu]?(i[e]||(i[Xi]=function(){return!0}),i[e]=r):e===t[Fu]?i[e]=r:(i[Vu]=i[Vu]||{})[e]=r)},i[Yi]=function(){var e=0,r=i[Qi](t[Fu]);if(Fe(r))for(var o=0;o<r[Qn];o++){var n=r[o];n&&(e+=n[mi])}i[mi]=Oo()-i.start,i.exTime=i[mi]-e,i[Yi]=function(){}}}return t.ParentContextKey="parent",t.ChildrenContextKey="childEvts",t}(),Wu=function(){function t(e){this.ctx={},Mn(t,this,(function(t){t.create=function(t,e,r){return new Bu(t,e,r)},t.fire=function(t){t&&(t[Yi](),e&&Ve(e[xs])&&e[xs](t))},t[Ji]=function(e,r){e&&((t[Vu]=t[Vu]||{})[e]=r)},t[Qi]=function(e){return(t[Vu]||{})[e]}}))}return t.__ieDyn=1,t}(),Ku="CoreUtils.doPerf";function Xu(t,e,r,o,n){if(t){var i=t;if(i[Ss]&&(i=i[Ss]()),i){var s=void 0,a=i[Qi](Ku);try{if(s=i.create(e(),o,n)){if(a&&s[Ji]&&(s[Ji](Bu[Uu],a),a[Qi]&&a[Ji])){var l=a[Qi](Bu[Fu]);l||(l=[],a[Ji](Bu[Fu],l)),l[ii](s)}return i[Ji](Ku,s),r(s)}}catch(t){s&&s[Ji]&&s[Ji]("exception",t)}finally{s&&i.fire(s),i[Ji](Ku,a)}}}return r()}var Gu=La("plugin");function Qu(t){return Gu.get(t,"state",{},!0)}function Ju(t,e){for(var r,o=[],n=null,i=t[Li]();i;){var s=i[hi]();if(s){n&&n[Mi]&&s[gs]&&n[Mi](s);var a=!!(r=Qu(s))[bi];s[bi]&&(a=s[bi]()),a||o[ii](s),n=s,i=i[Li]()}}vo(o,(function(o){var n=t[us]();o[ci](t.getCfg(),n,e,t[Li]()),r=Qu(o),o[us]||r[us]||(r[us]=n),r[bi]=!0,delete r[$i]}))}function Yu(t){return t.sort((function(t,e){var r=0;if(e){var o=e[gs];t[gs]?r=o?t[vs]-e[vs]:1:o&&(r=-1)}else r=t?1:-1;return r}))}var Zu="TelemetryPluginChain",tp="_hasRun",ep="_getTelCtx",rp=0;function op(t,e,r,o){var n=null,i=[];e||(e=rl({},null,r[oi])),null!==o&&(n=o?function(t,e,r){for(;t;){if(t[hi]()===r)return t;t=t[Li]()}return ap([r],e.config||{},e)}(t,r,o):t);var s={_next:function(){var t=n;if(n=t?t[Li]():null,!t){var e=i;e&&e[Qn]>0&&(vo(e,(function(t){try{t.func.call(t.self,t.args)}catch(t){yl(r[oi],2,73,"Unexpected Exception during onComplete - "+ir(t))}})),i=[])}return t},ctx:{core:function(){return r},diagLog:function(){return gl(r,e.cfg)},getCfg:function(){return e.cfg},getExtCfg:function(t,r){var o=a(t,!0);return r&&er(r,(function(t,r){if(qe(o[t])){var n=e.cfg[t];!n&&qe(n)||(o[t]=n)}qa(e,o,t,r)})),e[ei](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]&&qe(i[r])?!s[r]&&qe(s[r])||(n=s[r]):n=i[r],n||!qe(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[hi]();r&&t(r)}},onComplete:function(t,e){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];t&&i[ii]({func:t,self:Ne(e)?s.ctx:e,args:r})}}};function a(t,r){var o=null,n=e.cfg;if(n&&t){var i=n[fs];!i&&r&&(i={}),n[fs]=i,(i=e.ref(n,fs))&&(!(o=i[t])&&r&&(o={}),i[t]=o,o=e.ref(i,t))}return o}return s}function np(t,e,r,o){var n=rl(e),i=op(t,n,r,o),s=i.ctx;return s[yi]=function(t){var e=i._next();return e&&e[gs](t,s),!e},s[Ti]=function(t,e){return void 0===t&&(t=null),Fe(t)&&(t=ap(t,n.cfg,r,e)),np(t||s[Li](),n.cfg,r,e)},s}function ip(t,e,r){var o=rl(e.config),n=op(t,o,e,r),i=n.ctx;return i[yi]=function(t){var e=n._next();return e&&e[Ci](i,t),!e},i[Ti]=function(t,r){return void 0===t&&(t=null),Fe(t)&&(t=ap(t,o.cfg,e,r)),ip(t||i[Li](),e,r)},i}function sp(t,e,r){var o=rl(e.config),n=op(t,o,e,r).ctx;return n[yi]=function(t){return n.iterate((function(e){Ve(e[Ri])&&e[Ri](n,t)}))},n[Ti]=function(t,r){return void 0===t&&(t=null),Fe(t)&&(t=ap(t,o.cfg,e,r)),sp(t||n[Li](),e,r)},n}function ap(t,e,r,o){var n=null,i=!o;if(Fe(t)&&t[Qn]>0){var s=null;vo(t,(function(t){if(i||o!==t||(i=!0),i&&t&&Ve(t[gs])){var a=function(t,e,r){var o,n=null,i=Ve(t[gs]),s=Ve(t[Mi]),a={getPlugin:function(){return t},getNext:function(){return n},processTelemetry:function(o,c){l(c=c||function(){var o;return t&&Ve(t[ep])&&(o=t[ep]()),o||(o=np(a,e,r)),o}(),(function(e){if(!t||!i)return!1;var r=Qu(t);return!r[$i]&&!r[bs]&&(s&&t[Mi](n),t[gs](o,e),!0)}),"processTelemetry",(function(){return{item:o}}),!o.sync)||c[yi](o)},unload:function(e,r){l(e,(function(){var o=!1;if(t){var n=Qu(t),i=t[us]||n[us];!t||i&&i!==e.core()||n[$i]||(n[us]=null,n[$i]=!0,n[bi]=!1,t[$i]&&!0===t[$i](e,r)&&(o=!0))}return o}),"unload",(function(){}),r[ji])||e[yi](r)},update:function(e,r){l(e,(function(){var o=!1;if(t){var n=Qu(t),i=t[us]||n[us];!t||i&&i!==e.core()||n[$i]||t[Ri]&&!0===t[Ri](e,r)&&(o=!0)}return o}),"update",(function(){}),!1)||e[yi](r)},_id:o=t?t[di]+"-"+t[vs]+"-"+rp++:"Unknown-0-"+rp++,_setNext:function(t){n=t}};function l(e,r,i,s,a){var l=!1,c=t?t[di]:Zu,d=e[tp];return d||(d=e[tp]={}),e.setNext(n),t&&Xu(e[us](),(function(){return c+":"+i}),(function(){d[o]=!0;try{var t=n?n._id:cs;t&&(d[t]=!1),l=r(e)}catch(t){var s=!n||d[n._id];s&&(l=!0),n&&s||yl(e[Ii](),1,73,"Plugin ["+c+"] failed during "+i+" - "+ir(t)+", run flags: "+ir(d))}}),s,a),l}return fr(a)}(t,e,r);n||(n=a),s&&s._setNext(a),s=a}}))}return o&&!n?ap([o],e,r):n}var lp,cp="_aiHooks",dp=["req","rsp","hkErr","fnErr"];function up(t,e){if(t)for(var r=0;r<t[Qn]&&!e(t[r],r);r++);}function pp(t,e,r,o,n){n>=0&&n<=2&&up(t,(function(t,i){var s=t.cbks,a=s[dp[n]];if(a){e.ctx=function(){return o[i]=o[i]||{}};try{a[ni](e.inst,r)}catch(t){var l=e.err;try{var c=s[dp[2]];c&&(e.err=t,c[ni](e.inst,r))}catch(t){}finally{e.err=l}}}}))}function bp(t,e,r,o){var n=null;return t&&(Ye(t,e)?n=t:r&&(n=bp(Is(t),e,o,!1))),n}function fp(t,e,r,o){var n=r&&r[cp];if(!n){var i=function(t){return function(){var e,r=arguments,o=t.h,n=((e={})[vi]=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 up(e,(function(e){t[ii](e)})),t}n.evt=Kr("event"),pp(o,n,s,i,0);var l=t.f;if(l)try{n.rslt=l[ni](this,r)}catch(t){throw n.err=t,pp(o,n,s,i,3),t}return pp(o,n,s,i,1),n.rslt}}(n={i:0,n:e,f:r,h:[]});i[cp]=n,t[e]=i}var s={id:n.i,cbks:o,rm:function(){var t=this.id;up(n.h,(function(e,r){if(e.id===t)return n.h[si](r,1),1}))}};return n.i++,n.h[ii](s),s}function hp(t,e,r,o,n){if(void 0===o&&(o=!0),t&&e&&r){var i=bp(t,e,o,n);if(i){var s=i[e];if(typeof s===Pn)return fp(i,e,s,r)}}return null}function gp(t,e,r,o,n){if(t&&e&&r){var i=bp(t,e,o,n)||t;if(i)return fp(i,e,i[e],r)}return null}function vp(){var t=[];return{add:function(e){e&&t[ii](e)},run:function(e,r){vo(t,(function(t){try{t(e,r)}catch(t){yl(e[Ii](),2,73,"Unexpected error calling unload handler - "+ir(t))}})),t=[]}}}function mp(){var t=[];return{run:function(e){var r=t;t=[],vo(r,(function(t){try{(t.rm||t.remove).call(t)}catch(t){yl(e,2,73,"Unloading:"+ir(t))}}))},add:function(e){e&&go(t,e)}}}var yp="getPlugin",wp=((lp={})[fs]={isVal:Ds,v:{}},lp),xp=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||np(null,{},s[us]);e=o&&o[yp]?n[Ti](null,o[yp]):n[Ti](null,o)}return e}function l(t,e,n){rl(t,wp,gl(e)),!n&&e&&(n=e[wi]()[Li]());var i=o;o&&o[yp]&&(i=o[yp]()),s[us]=e,r=np(n,t,e,i)}function c(){e=!1,s[us]=null,r=null,o=null,i=mp(),n=vp()}c(),Mn(t,s,(function(t){t[ci]=function(t,r,o,n){l(t,r,n),e=!0},t[$i]=function(e,r){var s,a=t[us];if(a&&(!e||a===e[us]())){var l,d=!1,u=e||ip(null,a,o&&o[yp]?o[yp]():o),p=r||((s={reason:0})[ji]=!1,s);return t[Di]&&!0===t[Di](u,p,b)?l=!0:b(),l}function b(){d||(d=!0,n.run(u,r),i.run(u[Ii]()),!0===l&&u[yi](p),c())}},t[Ri]=function(e,r){var n=t[us];if(n&&(!e||n===e[us]())){var i,s=!1,a=e||sp(null,n,o&&o[yp]?o[yp]():o),c=r||{reason:0};return t._doUpdate&&!0===t._doUpdate(a,c,d)?i=!0:d(),i}function d(){s||(s=!0,l(a.getCfg(),a.core(),a[Li]()))}},Hs(t,"_addUnloadCb",(function(){return n}),"add"),Hs(t,"_addHook",(function(){return i}),"add"),zr(t,"_unloadHooks",{g:function(){return i}})})),s[Ii]=function(t){return a(t)[Ii]()},s[bi]=function(){return e},s.setInitialized=function(t){e=t},s[Mi]=function(t){o=t},s[yi]=function(t,e){e?e[yi](t):o&&Ve(o[gs])&&o[gs](t,null)},s._getTelCtx=a}return t.__ieDyn=1,t}(),_p="toString",Cp="isStorageUseDisabled",kp="_addHook",Sp="core",Ep="dataType",Tp="envelopeType",$p="diagLog",Op="track",Ap="trackPageView",jp="trackPreviousPageVisit",Ip="sendPageViewInternal",Dp="startTime",Rp="properties",Lp="duration",Mp="sendPageViewPerformanceInternal",Pp="populatePageViewPerformanceEvent",Np="href",qp="sendExceptionInternal",zp="exception",Hp="error",Vp="_onerror",Up="errorSrc",Fp="lineNumber",Bp="columnNumber",Wp="message",Kp="CreateAutoException",Xp="addTelemetryInitializer",Gp="autoTrackPageVisitTime",Qp="isBrowserLinkTrackingEnabled",Jp="length",Yp="enableAutoRouteTracking",Zp="enableUnhandledPromiseRejectionTracking",tb="autoUnhandledPromiseInstrumented",eb="getEntriesByType",rb="isPerformanceTimingSupported",ob="getPerformanceTiming",nb="navigationStart",ib="shouldCollectDuration",sb="isPerformanceTimingDataReady",ab="responseStart",lb="loadEventEnd",cb="responseEnd",db="connectEnd",ub="pageVisitStartTime",pb=function(){function t(e,r,o,n){Mn(t,this,(function(t){var i,s=null,a=[],l=!1,c=!1;function d(t){o&&o.flush(t,(function(){}))}function u(){s||(s=nn((function(){s=null;var t=a.slice(0),e=!1;a=[],vo(t,(function(t){t()?e=!0:a.push(t)})),a[Jp]>0&&u(),e&&d(!0)}),100))}function p(t){a.push(t),u()}o&&(i=o.logger),t[Ap]=function(t,o){var s=t.name;if(qe(s)||"string"!=typeof s){var a=Gr();s=t.name=a&&a.title||""}var u=t.uri;if(qe(u)||"string"!=typeof u){var b=pa();u=t.uri=b&&b[Np]||""}if(!c){var f=Wo(),h=f&&f[eb]&&f[eb]("navigation");if(h&&h[0]&&!Ne(f.timeOrigin)){var g=h[0].loadEventStart;t[Dp]=new Date(f.timeOrigin+g)}else{var v=(o||t[Rp]||{})[Lp]||0;t[Dp]=new Date((new Date).getTime()-v)}c=!0}if(!n[rb]())return e[Ip](t,o),d(!0),void(no()||yl(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,x=n[ob]()[nb];x>0&&(m=Id(x,+new Date),n[ib](m)||(m=void 0)),qe(o)||qe(o[Lp])||(y=o[Lp]),!r&&isNaN(y)||(isNaN(y)&&(o||(o={}),o[Lp]=m),e[Ip](t,o),d(!0),w=!0),o||(o={}),p((function(){var r=!1;try{if(n[sb]()){r=!0;var a={name:s,uri:u};n[Pp](a),a.isValid||w?(w||(o[Lp]=a.durationMs,e[Ip](t,o)),l||(e[Mp](a,o),l=!0)):(o[Lp]=m,e[Ip](t,o))}else x>0&&Id(x,+new Date)>6e4&&(r=!0,w||(o[Lp]=6e4,e[Ip](t,o)))}catch(t){yl(i,1,38,"trackPageView failed on page load calculation: "+Ps(t),{exception:ir(t)})}return r}))},t.teardown=function(t,e){if(s){s.cancel(),s=null;var r=a.slice(0);a=[],vo(r,(function(t){t()}))}}}))}return t.__ieDyn=1,t}(),bb=["googlebot","adsbot-google","apis-google","mediapartners-google"];function fb(){var t=Wo();return t&&!!t.timing}function hb(){var t=Wo(),e=t?t.timing:0;return e&&e.domainLookupStart>0&&e[nb]>0&&e[ab]>0&&e.requestStart>0&&e[lb]>0&&e[cb]>0&&e[db]>0&&e.domLoading>0}function gb(){return fb()?Wo().timing:null}function vb(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=(eo()||{}).userAgent,o=!1;if(r)for(var n=0;n<bb[Jp];n++)o=o||-1!==Yo(r.toLowerCase(),bb[n]);if(o)return!1;for(n=0;n<t[Jp];n++)if(t[n]<0||t[n]>=36e5)return!1;return!0}var mb,yb=function(){function t(e){var r=gl(e);Mn(t,this,(function(t){t[Pp]=function(e){e.isValid=!1;var o,n=(o=Wo())&&o.getEntriesByType&&o.getEntriesByType("navigation")[Jp]>0?Wo()[eb]("navigation")[0]:null,i=gb(),s=0,a=0,l=0,c=0,d=0;(n||i)&&(n?(s=n[Lp],a=0===n[Dp]?n[db]:Id(n[Dp],n[db]),l=Id(n.requestStart,n[ab]),c=Id(n[ab],n[cb]),d=Id(n.responseEnd,n[lb])):(s=Id(i[nb],i[lb]),a=Id(i[nb],i[db]),l=Id(i.requestStart,i[ab]),c=Id(i[ab],i[cb]),d=Id(i.responseEnd,i[lb])),0===s?yl(r,2,10,"error calculating page view performance.",{total:s,network:a,request:l,response:c,dom:d}):t[ib](s,a,l,c,d)?s<Math.floor(a)+Math.floor(l)+Math.floor(c)+Math.floor(d)?yl(r,2,8,"client performance math error.",{total:s,network:a,request:l,response:c,dom:d}):(e.durationMs=s,e.perfTotal=e[Lp]=Bc(s),e.networkConnect=Bc(a),e.sentRequest=Bc(l),e.receivedResponse=Bc(c),e.domProcessing=Bc(d),e.isValid=!0):yl(r,2,45,"Invalid page load duration value. Browser perf data won't be sent.",{total:s,network:a,request:l,response:c,dom:d}))},t[ob]=gb,t[rb]=fb,t[sb]=hb,t[ib]=vb}))}return t.__ieDyn=1,t}(),wb=function(){function t(e,r){var o="prevPageVisitData";Mn(t,this,(function(t){t[jp]=function(t,n){try{var i=function(t,r){var n=null;try{if(n=function(){var t=null;try{if(gc()){var r=Oo(),n=vc(e,o);n&&ba()&&((t=fa().parse(n)).pageVisitTime=r-t[ub],yc(e,o))}}catch(r){wl(e,"Stop page visit timer failed: "+ir(r)),t=null}return t}(),gc()){null!=vc(e,o)&&sr("Cannot call startPageVisit consecutively without first calling stopPageVisit");var i=fa().stringify(new xb(t,r));mc(e,o,i)}}catch(t){wl(e,"Call to restart failed: "+ir(t)),n=null}return n}(t,n);i&&r(i.pageName,i.pageUrl,i.pageVisitTime)}catch(t){wl(e,"Auto track page visit time failed, metric will not be collected: "+ir(t))}},zr(t,"_logger",{g:function(){return e}}),zr(t,"pageVisitTimeTrackingHandler",{g:function(){return r}})}))}return t.__ieDyn=1,t}(),xb=function(t,e){this[ub]=Oo(),this.pageName=t,this.pageUrl=e},_b=function(t,e){var r=this,o={};r.start=function(e){void 0!==o[e]&&yl(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))yl(t,2,63,"stop was called without a corresponding start.",{name:e,key:e},!0);else{var l=Id(a,+new Date);r.action(e,n,l,i,s)}delete o[e],o[e]=void 0}};function Cb(t,e){t&&t.dispatchEvent&&e&&t.dispatchEvent(e)}var kb=br(((mb={sessionRenewalMs:zd(Sb,18e5),sessionExpirationMs:zd(Sb,864e5),disableExceptionTracking:Vd()})[Gp]=Vd(),mb.overridePageViewDuration=Vd(),mb[Zp]=Vd(),mb[tb]=!1,mb.samplingPercentage=Hd((function(t){return!isNaN(t)&&t>0&&t<=100}),100),mb[Cp]=Vd(),mb[Qp]=Vd(),mb[Yp]=Vd(),mb.namePrefix={isVal:He,v:or(cs)},mb.enableDebug=Vd(),mb.disableFlushOnBeforeUnload=Vd(),mb.disableFlushOnUnload=Vd(!1,"disableFlushOnBeforeUnload"),mb));function Sb(t,e){return(t=t||e)<6e4&&(t=6e4),+t}var Eb,Tb,$b,Ob=function(t){function e(){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m,y,w,x=t.call(this)||this;return x.identifier=_c,x.priority=180,x.autoRoutePVDelay=500,Mn(e,x,(function(t,e){var x=e[kp];function _(e,r,o,n,i){t[$p]().throwInternal(e,r,o,n,i)}function C(){r=null,o=null,n=null,i=null,s=null,a=null,l=!1,c=!1,d=!1,u=!1,p=!1,b=!1,f=!1,h=!1,v=!1;var e=pa(!0);m=e&&e[Np]||"",y=null,w=null,g=null,zr(t,"config",{g:function(){return g}})}C(),t.getCookieMgr=function(){return au(t[Sp])},t.processTelemetry=function(e,r){t.processNext(e,r)},t.trackEvent=function(e,r){try{var o=qc(e,zc[Ep],zc[Tp],t[$p](),r);t[Sp][Op](o)}catch(t){_(2,39,"trackTrace failed, trace will not be collected: "+Ps(t),{exception:ir(t)})}},t.startTrackEvent=function(t){try{r.start(t)}catch(t){_(1,29,"startTrackEvent failed, event will not be collected: "+Ps(t),{exception:ir(t)})}},t.stopTrackEvent=function(t,e,o){try{r.stop(t,void 0,e,o)}catch(t){_(1,30,"stopTrackEvent failed, event will not be collected: "+Ps(t),{exception:ir(t)})}},t.trackTrace=function(e,r){try{var o=qc(e,Hc[Ep],Hc[Tp],t[$p](),r);t[Sp][Op](o)}catch(t){_(2,39,"trackTrace failed, trace will not be collected: "+Ps(t),{exception:ir(t)})}},t.trackMetric=function(e,r){try{var o=qc(e,Uc[Ep],Uc[Tp],t[$p](),r);t[Sp][Op](o)}catch(t){_(1,36,"trackMetric failed, metric will not be collected: "+Ps(t),{exception:ir(t)})}},t[Ap]=function(t,e){try{var r=t||{};n[Ap](r,Fn(Fn(Fn({},r.properties),r.measurements),e)),v&&s[jp](r.name,r.uri)}catch(t){_(1,37,"trackPageView failed, page view will not be collected: "+Ps(t),{exception:ir(t)})}},t[Ip]=function(e,r,o){var n=Gr();if(n&&(e.refUri=void 0===e.refUri?n.referrer:e.refUri),qe(e[Dp])){var i=(r||e[Rp]||{})[Lp]||0;e[Dp]=new Date((new Date).getTime()-i)}var s=qc(e,Wc[Ep],Wc[Tp],t[$p](),r,o);t[Sp][Op](s)},t[Mp]=function(e,r,o){var n=qc(e,Kc[Ep],Kc[Tp],t[$p](),r,o);t[Sp][Op](n)},t.trackPageViewPerformance=function(e,r){var o=e||{};try{i[Pp](o),t[Mp](o,r)}catch(t){_(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Ps(t),{exception:ir(t)})}},t.startTrackPage=function(t){try{if("string"!=typeof t){var e=Gr();t=e&&e.title||""}o.start(t)}catch(t){_(1,31,"startTrackPage failed, page view may not be collected: "+Ps(t),{exception:ir(t)})}},t.stopTrackPage=function(t,e,r,n){try{if("string"!=typeof t){var i=Gr();t=i&&i.title||""}if("string"!=typeof e){var a=pa();e=a&&a[Np]||""}o.stop(t,e,r,n),v&&s[jp](t,e)}catch(t){_(1,32,"stopTrackPage failed, page view will not be collected: "+Ps(t),{exception:ir(t)})}},t[qp]=function(e,r,o){var n=e&&(e[zp]||e[Hp])||Xe(e)&&e||{name:e&&typeof e,message:e||Oc};e=e||{};var i=qc(new ad(t[$p](),n,e[Rp]||r,e.measurements,e.severityLevel,e.id).toInterface(),ad[Ep],ad[Tp],t[$p](),r,o);t[Sp][Op](i)},t.trackException=function(e,r){e&&!e[zp]&&e[Hp]&&(e[zp]=e[Hp]);try{t[qp](e,r)}catch(t){_(1,35,"trackException failed, exception will not be collected: "+Ps(t),{exception:ir(t)})}},t[Vp]=function(e){var r=e&&e[Hp],o=e&&e.evt;try{if(!o){var n=to();n&&(o=n.event)}var i=e&&e.url||(Gr()||{}).URL,s=e[Up]||"window.onerror@"+i+":"+(e[Fp]||0)+":"+(e[Bp]||0),a={errorSrc:s,url:i,lineNumber:e[Fp]||0,columnNumber:e[Bp]||0,message:e[Wp]};!function(t,e,r,o,n){return!n&&He(t)&&("Script error."===t||"Script error"===t)}(e.message,e.url,e.lineNumber,e.columnNumber,e[Hp])?(e[Up]||(e[Up]=s),t.trackException({exception:e,severityLevel:3},a)):function(e,r){var o=qc(e,ad[Ep],ad[Tp],t[$p](),r);t[Sp][Op](o)}(ad[Kp]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",i,e[Fp]||0,e[Bp]||0,r,o,null,s),a)}catch(t){var l=r?r.name+", "+r[Wp]:"null";_(1,11,"_onError threw exception while logging error, error will not be collected: "+Ps(t),{exception:ir(t),errorString:l})}},t[Xp]=function(e){if(t[Sp])return t[Sp][Xp](e);a||(a=[]),a.push(e)},t.initialize=function(_,C,k,S){if(!t.isInitialized()){qe(C)&&sr("Error initializing"),e.initialize(_,C,k,S);try{w=Mu(Ra(t.identifier),C.evtNamespace&&C.evtNamespace()),a&&(vo(a,(function(t){C[Xp](t)})),a=null),function(e){var r=t.identifier,o=t[Sp];t[kp](ol(e,(function(){var n,i=np(null,e,o);g=i.getExtCfg(r,kb),v=g[Gp],e.storagePrefix&&pc(e.storagePrefix),Ne((n=g)[Cp])||(n[Cp]?(sc=!1,ac=!1):(sc=bc(!0),ac=gc(!0))),l=g[Qp],function(){if(!c&&l){var e=["/browserLinkSignalR/","/__browserLink/"];t[kp](t[Xp]((function(t){if(l&&t.baseType===Md[Ep]){var r=t.baseData;if(r)for(var o=0;o<e[Jp];o++)if(r.target&&Yo(r.target,e[o])>=0)return!1}return!0}))),c=!0}}()})))}(_),i=new yb(t[Sp]),n=new pb(t,g.overridePageViewDuration,t[Sp],i),s=new wb(t[$p](),(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 _b(t[$p](),"trackEvent")).action=function(e,r,o,n,i){n||(n={}),i||(i={}),n.duration=o[_p](),t.trackEvent({name:e,properties:n,measurements:i})},(o=new _b(t[$p](),"trackPageView")).action=function(e,r,o,n,i){qe(n)&&(n={}),n.duration=o[_p]();var s={name:e,uri:r,properties:n,measurements:i};t[Ip](s,n)},Qr()&&(E=to(),T=pa(!0),t[kp](ol(g,(function(){(p=g.disableExceptionTracking)||b||g.autoExceptionInstrumented||(x(gp(E,"onerror",{ns:w,rsp:function(e,r,o,n,i,s){p||!0===e.rslt||t[Vp](ad[Kp](r,o,n,i,s,e.evt))}},!1)),b=!0)}))),function(e,r){t[kp](ol(g,(function(){f=!0===g[Zp],b=b||g[tb],f&&!h&&(x(gp(e,"onunhandledrejection",{ns:w,rsp:function(e,o){f&&!0!==e.rslt&&t[Vp](ad[Kp](function(t){if(t&&t.reason){var e=t.reason;return!He(e)&&Ve(e[_p])?e[_p]():ir(e)}return t||""}(o),r?r[Np]:"",0,0,o,e.evt))}},!1)),g[tb]=h=!0)})))}(E,T),function(){var e=to(),r=pa(!0);t[kp](ol(g,(function(){if(d=!0===g[Yp],e&&d&&!u&&ro()){var o=ro();Ve(o.pushState)&&Ve(o.replaceState)&&typeof Event!==qn&&function(e,r,o){if(!u){var n=g.namePrefix||"";x(gp(r,"pushState",{ns:w,rsp:function(){d&&(Cb(e,Pd(n+"pushState")),Cb(e,Pd(n+"locationchange")))}},!0)),x(gp(r,"replaceState",{ns:w,rsp:function(){d&&(Cb(e,Pd(n+"replaceState")),Cb(e,Pd(n+"locationchange")))}},!0)),Pu(e,n+"popstate",(function(){d&&Cb(e,Pd(n+"locationchange"))}),w),Pu(e,n+"locationchange",(function(){if(y?(m=y,y=o&&o[Np]||""):y=o&&o[Np]||"",d){var e=function(){var e=null;if(t[Sp]&&t[Sp].getTraceCtx&&(e=t[Sp].getTraceCtx(!1)),!e){var r=t[Sp].getPlugin(wc);if(r){var o=r.plugin.context;o&&(e=Dd(o.telemetryTrace))}}return e}();if(e){e.setTraceId(dd());var r="_unknown_";o&&o.pathname&&(r=o.pathname+(o.hash||"")),e.setName(Ic(t[$p](),r))}nn(function(e){t[Ap]({refUri:e,properties:{duration:0}})}.bind(t,m),t.autoRoutePVDelay)}}),w),u=!0}}(e,o,r)}})))}())}catch(e){throw t.setInitialized(!1),e}var E,T}},t._doTeardown=function(t,e){n&&n.teardown(t,e),Nu(window,null,null,w),C()},zr(t,"_pageViewManager",{g:function(){return n}}),zr(t,"_pageViewPerformanceManager",{g:function(){return i}}),zr(t,"_pageVisitTimeManager",{g:function(){return s}}),zr(t,"_evtNamespace",{g:function(){return"."+w}})})),x}return Wn(e,t),e.Version="3.2.1",e}(xp),Ab="Promise",jb="rejected";function Ib(t,e){return Db(t,(function(t){return e?e({status:"fulfilled",rejected:!1,value:t}):t}),(function(t){return e?e({status:jb,rejected:!0,reason:t}):t}))}function Db(t,e,r,o){var n=t;try{if(Ge(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){var r=t;e&&(Ge(t)?r=t.finally?t.finally(e):t.then((function(t){return e(),t}),(function(t){throw e(),t})):e())}(n,o)}return n}var Rb,Lb=!1,Mb=["pending","resolving","resolved",jb],Pb="dispatchEvent";function Nb(t){var e;return t&&t.createEvent&&(e=t.createEvent("Event")),!!e&&e.initEvent}var qb,zb,Hb,Vb="unhandledRejection",Ub=Vb.toLowerCase(),Fb=[],Bb=0,Wb=10;function Kb(t){return Ve(t)?t.toString():ir(t)}function Xb(t,e,r){var o,n,i=wo(arguments,3),s=0,a=!1,l=[],c=Bb++,d=Fb.length>0?Fb[Fb.length-1]:void 0,u=!1,p=null;function b(e,r){try{Fb.push(c),u=!0,p&&p.cancel(),p=null;var n=t((function(t,n){l.push((function(){try{var i=2===s?e:r,a=Ne(i)?o:Ve(i)?i(o):i;Ge(a)?a.then(t,n):i?t(a):3===s?n(a):t(a)}catch(t){n(t)}})),a&&h()}),i);return n}finally{Fb.pop()}}function f(){return Mb[s]}function h(){if(l.length>0){var t=l.slice();l=[],u=!0,p&&p.cancel(),p=null,e(t)}}function g(t,e){return function(r){if(s===e){if(2===t&&Ge(r))return s=1,void r.then(g(2,1),g(3,1));s=t,a=!0,o=r,h(),u||3!==t||p||(p=nn(v,Wb))}}}function v(){if(!u)if(u=!0,oo())process.emit(Vb,o,n);else{var t=to()||Wr();!qb&&(qb=Vr(Re(Kr,[Ab+"RejectionEvent"]).v)),function(t,e,r,o){var n=Gr();!Rb&&(Rb=Vr(!!Re(Nb,[n]).v));var i=Rb.v?n.createEvent("Event"):o?new Event(e):{};if(r&&r(i),Rb.v&&i.initEvent(e,!1,!0),i&&t[Pb])t[Pb](i);else{var s=t["on"+e];if(s)s(i);else{var a=Kr("console");a&&(a.error||a.log)(e,ir(i))}}}(t,Ub,(function(t){return zr(t,"promise",{g:function(){return n}}),t.reason=o,t}),!!qb.v)}}return Nr(n={then:b,catch:function(t){return b(void 0,t)},finally:function(t){var e=t,r=t;return Ve(t)&&(e=function(e){return t&&t(),e},r=function(e){throw t&&t(),e}),b(e,r)}},"state",{get:f}),Lb&&function(t,e,r,n){Tb=Tb||{toString:function(){return"[[PromiseResult]]"}},$b=$b||{toString:function(){return"[[PromiseIsHandled]]"}};var i={};i[Eb=Eb||{toString:function(){return"[[PromiseState]]"}}]={get:e},i[Tb]={get:function(){return Pe(o)}},i[$b]={get:function(){return u}},qr(t,i)}(n,f),ao()&&(n[co(11)]="IPromise"),n.toString=function(){return"IPromise"+(Lb?"["+c+(Ne(d)?"":":"+d)+"]":"")+" "+f()+(a?" - "+Kb(o):"")},function(){Ve(r)||ar(Ab+": executor is not a function - "+Kb(r));var t=g(3,0);try{r.call(n,g(2,0),t)}catch(e){t(e)}}(),n}function Gb(t){return function(e){var r=wo(arguments,1);return t((function(t,r){try{var o=[],n=1;fo(e,(function(e,i){e&&(n++,Db(e,(function(e){o[i]=e,0==--n&&t(o)}),r))})),0==--n&&t(o)}catch(t){r(t)}}),r)}}function Qb(t,e){return Xb(Qb,function(t){var e=We(t)?t:0;return function(t){nn((function(){!function(t){vo(t,(function(t){try{t()}catch(t){}}))}(t)}),e)}}(e),t,e)}function Jb(t,e){!zb&&(zb=Vr(Re(Kr,[Ab]).v||null));var r=zb.v;if(!r)return Qb(t);Ve(t)||ar(Ab+": executor is not a function - "+ir(t));var o=0,n=new r((function(e,r){t((function(t){o=2,e(t)}),(function(t){o=3,r(t)}))}));return Nr(n,"state",{get:function(){return Mb[o]}}),n}function Yb(t,e){return!Hb&&(Hb=Vr(Jb)),Hb.v.call(this,t,e)}var Zb=Gb(Yb);co(11);var tf="featureOptIn",ef="onCfgChangeReceive",rf="nonOverrideConfigs",of="scheduleFetchTimeout";function nf(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 Vo(t||{},De[ke](arguments))}({},t):t;return i&&e&&!n&&er(i,(function(t){var n=e[t];n&&(Ue(i[t])&&Ue(n)?i[t]=nf(i[t],n,++r,o):delete i[t])})),i}catch(t){}return t}var sf,af="featureOptIn.",lf=".mode",cf=".onCfg",df=".offCfg";var uf=void 0,pf=br(((sf={syncMode:1,blkCdnCfg:uf,customEvtName:uf,cfgUrl:uf,overrideSyncFn:uf,overrideFetchFn:uf})[ef]=uf,sf[of]=18e5,sf[rf]={instrumentationKey:!0,connectionString:!0,endpointUrl:!0},sf)),bf=function(t){function e(){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m=t.call(this)||this;m.priority=198,m.identifier="AppInsightsCfgSyncPlugin";var y=!1;return Mn(e,m,(function(t,e){function m(){o=null,n=null,i=null,s=null,l=null,c=null,f=null,a=null,u=null,p=null,d=null,g=null,v=null,b=null}function w(e,r){if(e){if(o=e,r&&!y)return _();if(l&&!y)return t.core.updateCfg(e),!0}return!1}function x(){try{var t=Wr();t&&Nu(t,null,null,i)}catch(t){}}function _(t){try{return v&&Ve(v)?v(o,t):function(t,e,r){var o,n,i=Wr();if(i&&i.CustomEvent)try{return o=i,n=function(t,e){var r=null,o={detail:e||null};if(Ve(CustomEvent))r=new CustomEvent(t,o);else{var n=Gr();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 C(t){try{return x(),t&&(n=t,function(){if(l){var t=Wr();if(t)try{Pu(t,n,(function(t){var e=t&&t.detail;if(b&&e)b(e);else{var r=e&&e.cfg,o=r&&Mo(r)&&$(r);o&&w(o)}}),i,!0)}catch(t){}}}()),!0}catch(t){}return!1}function k(t,e,r){var o=Wr(),n=o&&o.fetch||null;if(t&&n&&Ve(n))try{var i=new Request(t,{method:"GET"});Ib(fetch(i),(function(t){var o=t.value;t.rejected?T(e,400):o.ok?Ib(o.text(),(function(t){T(e,o.status,t.value,r)})):T(e,o.status,null,r)}))}catch(t){}}function S(t,e,r){try{var o=new XMLHttpRequest;o.open("GET",t),o.onreadystatechange=function(){o.readyState===XMLHttpRequest.DONE&&T(e,o.status,o.responseText,r)},o.onerror=function(){T(e,400)},o.ontimeout=function(){T(e,400)},o.send()}catch(t){}}function E(e,r,o){try{if(e>=200&&e<400&&r){p=0;var n=fa();if(n){var i=function(t,e){try{if(!t||!t.enabled)return null;if(!t[tf])return t.config;var r=t[tf],o=t.config||{};return er(r,(function(r){var n,i,s,a,l,c,d,u=function(t,e,r){var o;if(!e||!e.enabled)return null;var n=(e[tf]||{})[t]||{mode:1},i=n.mode,s=n.onCfg,a=n.offCfg,l=(r||{})[t]||{mode:2},c=l.mode,d=l.onCfg,u=l.offCfg,p=!!l.blockCdnCfg,b=af+t+cf,f=af+t+df,h=c,g=d,v=u;return p||(4===i||5===i?(h=4==i?3:2,g=s||d,v=a||u):2===i||2===c?(h=2,g=d||s,v=u||a):3===i?(h=3,g=d||s,v=u||a):1===i&&1===c&&(h=1)),(o={})[af+t+lf]=h,o[b]=g,o[f]=v,o}(r,t,e.config[tf]);qe(u)||(er(u,(function(t,e){Xo(o,t,e)})),s=o,a=(i=u)[af+(n=r)+lf],l=i[af+n+cf],c=i[af+n+df],d=null,3===a&&(d=l),2===a&&(d=c),d&&er(d,(function(t,e){Xo(s,t,e)})))})),o}catch(t){}return null}(n.parse(r),t.core),s=i&&Mo(i)&&$(i);s&&w(s,o)}}else p++;p<3&&O()}catch(t){}}function T(t,e,r,o){try{t(e,r,o)}catch(t){}}function $(t,e){var r=null;try{t&&(r=nf(t,f,0,5))}catch(t){}return r}function O(){!a&&u&&(a=nn((function(){a=null,h(s,E,c)}),u)).unref()}function A(){a&&a.cancel(),a=null,p=0}m(),t.initialize=function(a,m,y,w){e.initialize(a,m,y,w),i=Mu(Ra(t.identifier),m.evtNamespace&&m.evtNamespace()),function(e){var i=t.identifier,a=t.core;t._addHook(ol(e,(function(){var t=np(null,e,a);r=t.getExtCfg(i,pf);var u=d;d=!!r.blkCdnCfg,qe(u)||u===d||(!d&&s?h&&h(s,E,c):A()),qe(l)&&(l=2===r.syncMode),qe(c)&&(c=1===r.syncMode);var p=r.customEvtName||"ai_cfgsync";n!==p&&(l?C(p):(x(),n=p)),qe(s)&&(s=r.cfgUrl),s||(o=e,c&&_())}))),v=r.overrideSyncFn,g=r.overrideFetchFn,b=r[ef],f=r[rf],u=r[of],h=function(){var t=g;return qe(t)&&(ma()?t=k:ya()&&(t=S)),t}(),p=0,s&&!d&&h&&h(s,E,c)}(a)},t.getCfg=function(){return o},t.pause=function(){y=!0,A()},t.resume=function(){y=!1,O()},t.setCfg=function(t){return w(t)},t.sync=function(t){return _(t)},t.updateEventListenerName=function(t){return C(t)},t._doTeardown=function(t,e){x(),A(),m()},t._getDbgPlgTargets=function(){return[c,l,n,d,f]},t.processTelemetry=function(e,r){t.processNext(e,r)}})),m}return Wn(e,t),e.__ieDyn=1,e}(xp);function ff(t,e){Nu(t,null,null,e)}var hf="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",gf="",vf="&NoResponseBody=true",mf="POST",yf=function(){function t(){var e,r,o,n,i,s,a,l,c,d,u,p,b,f=0;Mn(t,this,(function(t,h){var g=!0;function v(t,e){yl(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=eo(),o=t[ts];if(!o)return m(e),!0;o=t[ts]+(p?vf:gf);var i=t[Gi],s=n?i:new Blob([i],{type:"text/plain;charset=UTF-8"});return r.sendBeacon(o,s)}function x(t,e,r){var s=t[Gi];try{if(s)if(w(t,e))y(e,200,{},gf);else{var l=i&&i.beaconOnRetry;l&&Ve(l)?l(t,e,w):(a&&a[es](t,e,!0),yl(o,2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}catch(t){n&&wl(o,"Failed to send telemetry using sendBeacon API. Ex:"+ir(t)),y(e,n?0:400,{},gf)}}function _(t,r,o){var s,a,l,c=t[rs]||{};!o&&e&&(s=Yb((function(t,e){a=t,l=e}))),n&&o&&t.disableXhrSync&&(o=!1);var d=t[ts];if(!d)return m(r),void(a&&a(!1));var u=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,Qs,r),a.open(t,e,!n),r&&s(a,Qs,r),!n&&i&&s(a,"timeout",i),a}(mf,d,g,!0,o,t[os]);function p(e){var o=i&&i.xhrOnComplete;if(o&&Ve(o))o(e,r,t);else{var s=Ws(e);y(r,e[Bi],Ys(e,n),s)}}return n||u[ns]("Content-type","application/json"),vo(pr(c),(function(t){u[ns](t,c[t])})),u.onreadystatechange=function(){n||(p(u),4===u.readyState&&a&&a(!0))},u.onload=function(){n&&p(u)},u.onerror=function(t){y(r,n?u[Bi]:400,Ys(u,n),n?gf:Xs(u)),l&&l(t)},u.ontimeout=function(){y(r,n?u[Bi]:500,Ys(u,n),n?gf:Xs(u)),a&&a(!1)},u.send(t[Gi]),s}function C(t,r,o){var s,a,l,c,d=t[ts],u=t[Gi],h=n?u:new Blob([u],{type:"application/json"}),v=new Headers,w=u[Qn],x=!1,_=!1,C=t[rs]||{},k=((s={method:mf,body:h})[hf]=!0,s);t.headers&&pr(t.headers)[Qn]>0&&(vo(pr(C),(function(t){v.append(t,C[t])})),k[rs]=v),g&&n&&(k.credentials="include"),o&&(k.keepalive=!0,f+=w,n?2===t._sendReason&&(x=!0,p&&(d+=vf)):x=!0);var S=new Request(d,k);try{S[hf]=!0}catch(t){}if(!o&&e&&(a=Yb((function(t,e){l=t,c=e}))),!d)return m(r),void(l&&l(!1));function E(t){y(r,n?0:400,{},n?gf:t)}function T(t,e,o){var n=t[Bi],s=i.fetchOnComplete;s&&Ve(s)?s(t,r,o||gf,e):y(r,n,{},o||gf)}try{Ib(fetch(n?d:S,n?k:null),(function(e){if(o&&(f-=w,w=0),!_)if(_=!0,e.rejected)E(e.reason&&e.reason[Ai]),c&&c(e.reason);else{var r=e.value;try{n||r.ok?n&&!r.body?(T(r,null,gf),l&&l(!0)):Ib(r.text(),(function(e){T(r,t,e.value),l&&l(!0)})):(E(r.statusText),l&&l(!1))}catch(t){E(ir(t)),c&&c(t)}}}))}catch(t){_||(E(ir(t)),c&&c(t))}return x&&!_&&(_=!0,y(r,200,{}),l&&l(!0)),n&&!_&&t[os]>0&&b&&b.set((function(){_||(_=!0,y(r,500,{}),l&&l(!0))}),t[os]),a}function k(t,e,r){var s=to(),a=new XDomainRequest,l=t[Gi];a.onload=function(){var r=Ws(a),o=i&&i.xdrOnComplete;o&&Ve(o)?o(a,e,t):y(e,200,{},r)},a.onerror=function(){y(e,400,{},n?gf:Ks(a))},a.ontimeout=function(){y(e,500,{})},a.onprogress=function(){};var c=s&&s.location&&s.location[Pi]||"",d=t[ts];if(d){if(!n&&0!==d.lastIndexOf(c,0)){var u="Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol.";return yl(o,2,40,". "+u),void v(u,e)}var p=n?d:d[Hi](/^(https?:)/,"");a.open(mf,p),t[os]&&(a[os]=t[os]),a.send(l),n&&r?b&&b.set((function(){a.send(l)}),0):a.send(l)}else m(e)}function S(){f=0,r=!1,e=!1,o=null,n=null,i=null,s=null,a=null,l=!1,c=!1,d=!1,u=!1,p=!1,b=null}S(),t[ci]=function(e,n){o=n,r&&yl(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,d=!!t.disableBeaconSync,b=t.timeWrapper,p=!!t.addNoResponse,u=!!t.disableFetchKeepAlive,a={sendPOST:_},n||(g=!1),s){var r=pa();r&&r.protocol&&"file:"===r.protocol[Xn]()&&(g=!1)}return!0}catch(t){}return!1},t.getSyncFetchPayload=function(){return f},t.getSenderInst=function(t,e){return t&&t[Qn]?function(t,e){for(var r,o=0,n=null,i=0;null==n&&i<t[Qn];)o=t[i],l||1!==o?2!==o||!ma(e)||e&&u?3!==o||!va()||(e?d:c)||(n=x):n=C:(null===ca&&(ca=typeof XDomainRequest!==qn)&&ya()&&(ca=ca&&!ua(Kr(ia),"withCredentials")),ca?n=k:ya()&&(n=_)),i++;return n?((r={_transport:o,_isSync:e})[es]=n,r):null}(t,e):null},t.getFallbackInst=function(){return a},t[Di]=function(t,e){S()}}))}return t.__ieDyn=1,t}();function wf(t,e){if(t&&t[Ci])return t[Ci](e)}function xf(t,e,r){var o;return r||(o=Yb((function(t){r=t}))),t&&Bo(t)>0?Ib(wf(t[0],e),(function(){xf(wo(t,1),e,r)})):r(),o}function _f(t,e){try{if(t&&""!==t){var r=fa().parse(t);if(r&&r[Zi]&&r[Zi]>=r.itemsAccepted&&r.itemsReceived-r.itemsAccepted===r.errors[Qn])return r}}catch(r){yl(e,1,43,"Cannot parse the response. "+(r[vi]||ir(r)),{response:t})}return null}function Cf(t){var e="ai."+t+".";return function(t){return e+t}}var kf,Sf=Cf("application"),Ef=Cf("device"),Tf=Cf("location"),$f=Cf("operation"),Of=Cf("session"),Af=Cf("user"),jf=Cf("cloud"),If=Cf("internal"),Df=function(t){function e(){return t.call(this)||this}return Wn(e,t),e}((kf={applicationVersion:Sf("ver"),applicationBuild:Sf("build"),applicationTypeId:Sf("typeId"),applicationId:Sf("applicationId"),applicationLayer:Sf("layer"),deviceId:Ef("id"),deviceIp:Ef("ip"),deviceLanguage:Ef("language"),deviceLocale:Ef("locale"),deviceModel:Ef("model"),deviceFriendlyName:Ef("friendlyName"),deviceNetwork:Ef("network"),deviceNetworkName:Ef("networkName"),deviceOEMName:Ef("oemName"),deviceOS:Ef("os"),deviceOSVersion:Ef("osVersion"),deviceRoleInstance:Ef("roleInstance"),deviceRoleName:Ef("roleName"),deviceScreenResolution:Ef("screenResolution"),deviceType:Ef("type"),deviceMachineName:Ef("machineName"),deviceVMName:Ef("vmName"),deviceBrowser:Ef("browser"),deviceBrowserVersion:Ef("browserVersion"),locationIp:Tf("ip"),locationCountry:Tf("country"),locationProvince:Tf("province"),locationCity:Tf("city"),operationId:$f("id"),operationName:$f("name"),operationParentId:$f("parentId"),operationRootId:$f("rootId"),operationSyntheticSource:$f("syntheticSource"),operationCorrelationVector:$f("correlationVector"),sessionId:Of("id"),sessionIsFirst:Of("isFirst"),sessionIsNew:Of("isNew"),userAccountAcquisitionDate:Af("accountAcquisitionDate"),userAccountId:Af("accountId"),userAgent:Af("userAgent"),userId:Af("id"),userStoreRegion:Af("storeRegion"),userAuthUserId:Af("authUserId"),userAnonymousUserAcquisitionDate:Af("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Af("authUserAcquisitionDate"),cloudName:jf("name"),cloudRole:jf("role"),cloudRoleVer:jf("roleVer"),cloudRoleInstance:jf("roleInstance"),cloudEnvironment:jf("environment"),cloudLocation:jf("location"),cloudDeploymentUnit:jf("deploymentUnit"),internalNodeName:If("nodeName"),internalSdkVersion:If("sdkVersion"),internalAgentVersion:If("agentVersion"),internalSnippet:If("snippet"),internalSdkSrc:If("sdkSrc")},function(){var t=this;kf&&er(kf,(function(e,r){t[e]=r}))})),Rf="user",Lf="device",Mf="trace",Pf=new Df,Nf=function(t,e,r){var o=this,n=this;n.ver=1,n.sampleRate=100,n.tags={},n[Al]=Ic(t,r)||Oc,n.data=e,n.time=Ms(new Date),n.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===o.sampleRate?4:1},tags:1,data:1}},qf=function(t,e){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=e},zf="duration",Hf="tags",Vf="deviceType",Uf="data",Ff="name",Bf="traceID",Wf="length",Kf="stringify",Xf="measurements",Gf="dataType",Qf="envelopeType",Jf="toString",Yf="_get",Zf="enqueue",th="count",eh="eventsLimitInMem",rh="push",oh="item",nh="emitLineDelimitedJson",ih="clear",sh="createNew",ah="markAsSent",lh="clearSent",ch="bufferOverride",dh="BUFFER_KEY",uh="SENT_BUFFER_KEY",ph="concat",bh="MAX_BUFFER_SIZE",fh="triggerSend",hh="diagLog",gh="initialize",vh="_sender",mh="customHeaders",yh="maxBatchSizeInBytes",wh="onunloadDisableBeacon",xh="isBeaconApiDisabled",_h="alwaysUseXhrOverride",Ch="disableXhr",kh="enableSessionStorageBuffer",Sh="_buffer",Eh="onunloadDisableFetch",Th="disableSendBeaconSplit",$h="instrumentationKey",Oh="enableSendPromise",Ah="getSenderInst",jh="unloadTransports",Ih="convertUndefined",Dh="maxBatchInterval",Rh="serialize",Lh="_onError",Mh="_onPartialSuccess",Ph="_onSuccess",Nh="itemsReceived",qh="itemsAccepted",zh="oriPayload",Hh="baseType",Vh="sampleRate",Uh="eventsSendRequest",Fh="getSamplingScore",Bh="baseType",Wh="baseData",Kh="properties",Xh="true";function Gh(t,e,r){return Ns(t,e,r,Qe)}function Qh(t,e,r){qe(t)||er(t,(function(t,o){We(o)?r[t]=o:He(o)?e[t]=o:ba()&&(e[t]=fa()[Kf](o))}))}function Jh(t,e){qe(t)||er(t,(function(r,o){t[r]=o||e}))}function Yh(t,e,r,o){var n=new Nf(t,o,e);Gh(n,"sampleRate",r[kc]),(r[Wh]||{}).startTime&&(n.time=Ms(r[Wh].startTime)),n.iKey=r.iKey;var i=r.iKey.replace(/-/g,"");return n[Ff]=n[Ff].replace("{0}",i),function(t,e,r){var o=r[Hf]=r[Hf]||{},n=e.ext=e.ext||{},i=e[Hf]=e[Hf]||[],s=n.user;s&&(Gh(o,Pf.userAuthUserId,s.authId),Gh(o,Pf.userId,s.id||s.localId));var a=n.app;a&&Gh(o,Pf.sessionId,a.sesId);var l=n.device;l&&(Gh(o,Pf.deviceId,l.id||l.localId),Gh(o,Pf[Vf],l.deviceClass),Gh(o,Pf.deviceIp,l.ip),Gh(o,Pf.deviceModel,l.model),Gh(o,Pf[Vf],l[Vf]));var c=e.ext.web;if(c){Gh(o,Pf.deviceLanguage,c.browserLang),Gh(o,Pf.deviceBrowserVersion,c.browserVer),Gh(o,Pf.deviceBrowser,c.browser);var d=r[Uf]=r[Uf]||{},u=d[Wh]=d[Wh]||{},p=u[Kh]=u[Kh]||{};Gh(p,"domain",c.domain),Gh(p,"isManual",c.isManual?Xh:null),Gh(p,"screenRes",c.screenRes),Gh(p,"userConsent",c.userConsent?Xh:null)}var b=n.os;b&&(Gh(o,Pf.deviceOS,b[Ff]),Gh(o,Pf.deviceOSVersion,b.osVer));var f=n.trace;f&&(Gh(o,Pf.operationParentId,f.parentID),Gh(o,Pf.operationName,Ic(t,f[Ff])),Gh(o,Pf.operationId,f[Bf]));for(var h={},g=i[Wf]-1;g>=0;g--)er(i[g],(function(t,e){h[t]=e})),i.splice(g,1);er(i,(function(t,e){h[t]=e}));var v=Fn(Fn({},o),h);v[Pf.internalSdkVersion]||(v[Pf.internalSdkVersion]=Ic(t,"javascript:".concat(tg.Version),64)),r[Hf]=Us(v)}(t,r,n),r[Hf]=r[Hf]||[],Us(n)}function Zh(t,e){qe(e[Wh])&&yl(t,1,46,"telemetryItem.baseData cannot be null.")}var tg={Version:"3.2.1"};function eg(t,e,r){Zh(t,e);var o={},n={};e[Bh]!==zc[Gf]&&(o.baseTypeSource=e[Bh]),e[Bh]===zc[Gf]?(o=e[Wh][Kh]||{},n=e[Wh][Xf]||{}):e[Wh]&&Qh(e[Wh],o,n),Qh(e[Uf],o,n),qe(r)||Jh(o,r);var i=e[Wh][Ff],s=new zc(t,i,o,n),a=new qf(zc[Gf],s);return Yh(t,zc[Qf],e,a)}var rg,og,ng=function(){function t(e,r){var o=[],n=!1,i=r.maxRetryCnt;this[Yf]=function(){return o},this._set=function(t){return o=t},Mn(t,this,(function(t){t[Zf]=function(s){t[th]()>=r[eh]?n||(yl(e,2,105,"Maximum in-memory buffer size reached: "+t[th](),!0),n=!0):(s.cnt=s.cnt||0,!qe(i)&&s.cnt>i||o[rh](s))},t[th]=function(){return o[Wf]},t.size=function(){for(var t=o[Wf],e=0;e<o[Wf];e++)t+=o[e].item[Wf];return r[nh]||(t+=2),t},t[ih]=function(){o=[],n=!1},t.getItems=function(){return o.slice(0)},t.batchPayloads=function(t){if(t&&t[Wf]>0){var e=[];return vo(t,(function(t){e[rh](t[oh])})),r[nh]?e.join("\n"):"["+e.join(",")+"]"}return null},t[sh]=function(t,r,n){var i=o.slice(0);t=t||e,r=r||{};var s=n?new ag(t,r):new ig(t,r);return vo(i,(function(t){s[Zf](t)})),s}}))}return t.__ieDyn=1,t}(),ig=function(t){function e(r,o){var n=t.call(this,r,o)||this;return Mn(e,n,(function(t,e){t[ah]=function(t){e[ih]()},t[lh]=function(t){}})),n}return Wn(e,t),e.__ieDyn=1,e}(ng),sg=["AI_buffer","AI_sentBuffer"],ag=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[ch]||{getItem:vc,setItem:mc},l=a.getItem,c=a.setItem,d=o.maxRetryCnt;return Mn(e,n,(function(t,o){var n=h(e[dh]),a=h(e[uh]),u=function(){var t=[];try{return vo(sg,(function(e){var r=m(e);if(t=t[ph](r),s){var o=m(s+"_"+e);t=t[ph](o)}})),t}catch(t){yl(r,2,41,"Transfer events from previous buffers: "+Ps(t)+". previous Buffer items can not be removed",{exception:ir(t)})}return[]}(),p=a[ph](u),b=t._set(n[ph](p));function f(t,e){var r=[],o=[];return vo(t,(function(t){o[rh](t[oh])})),vo(e,(function(t){Ve(t)||-1!==mo(o,t[oh])||r[rh](t)})),r}function h(t){return g(s?s+"_"+t:t)}function g(t){try{var e=l(r,t);if(e){var o=fa().parse(e);if(He(o)&&(o=fa().parse(o)),o&&Fe(o))return o}}catch(e){yl(r,1,42," storage key: "+t+", "+Ps(e),{exception:ir(e)})}return[]}function v(t,e){var o=t;try{o=s?s+"_"+o:o;var n=JSON[Kf](e);c(r,o,n)}catch(t){c(r,o,JSON[Kf]([])),yl(r,2,41," storage key: "+o+", "+Ps(t)+". Buffer cleared",{exception:ir(t)})}}function m(t){try{var e=g(t),o=[];return vo(e,(function(t){var e={item:t,cnt:0};o[rh](e)})),yc(r,t),o}catch(t){}return[]}b[Wf]>e[bh]&&(b[Wf]=e[bh]),v(e[uh],[]),v(e[dh],b),t[Zf]=function(n){t[th]()>=e[bh]?i||(yl(r,2,67,"Maximum buffer size reached: "+t[th](),!0),i=!0):(n.cnt=n.cnt||0,!qe(d)&&n.cnt>d||(o[Zf](n),v(e.BUFFER_KEY,t[Yf]())))},t[ih]=function(){o[ih](),v(e.BUFFER_KEY,t[Yf]()),v(e[uh],[]),i=!1},t[ah]=function(o){v(e[dh],t._set(f(o,t[Yf]())));var n=h(e[uh]);n instanceof Array&&o instanceof Array&&((n=n[ph](o))[Wf]>e[bh]&&(yl(r,1,67,"Sent buffer reached its maximum size: "+n[Wf],!0),n[Wf]=e[bh]),v(e[uh],n))},t[lh]=function(t){var r=h(e[uh]);r=f(t,r),v(e[uh],r)},t[sh]=function(o,n,i){i=!!i;var s=t[Yf]().slice(0),a=h(e[uh]).slice(0);o=o||r,n=n||{},t[ih]();var l=i?new e(o,n):new ig(o,n);return vo(s,(function(t){l[Zf](t)})),i&&l[ah](a),l}})),n}var r;return Wn(e,t),r=e,e.VERSION="_1",e.BUFFER_KEY="AI_buffer"+r.VERSION,e.SENT_BUFFER_KEY="AI_sentBuffer"+r.VERSION,e.MAX_BUFFER_SIZE=2e3,e}(ng),lg=function(){function t(e){Mn(t,this,(function(t){function r(t,i){var s="__aiCircularRefCheck",a={};if(!t)return yl(e,1,48,"cannot serialize object because it is null or undefined",{name:i},!0),a;if(t[s])return yl(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(Fe(t))a=o(t,i);else{yl(e,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:i},!0);try{fa()[Kf](t),a=t}catch(t){yl(e,1,48,t&&Ve(t[Jf])?t[Jf]():"Error serializing object",null,!0)}}return a}return t[s]=!0,er(t.aiDataContract,(function(n,s){var l=Ve(s)?1&s():1&s,c=Ve(s)?4&s():4&s,d=2&s,u=void 0!==t[n],p=Ue(t[n])&&null!==t[n];if(!l||u||d){if(!c){var b;void 0!==(b=p?d?o(t[n],n):r(t[n],n):t[n])&&(a[n]=b)}}else yl(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(Fe(t)){n=[];for(var i=0;i<t[Wf];i++){var s=r(t[i],o+"["+i+"]");n[rh](s)}}else yl(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={},er(t,(function(t,i){if("string"===r)void 0===i?n[t]="undefined":null===i?n[t]="null":i[Jf]?n[t]=i[Jf]():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.",yl(e,1,n[t],null,!0)}))),n}t[Rh]=function(t){var o=r(t,"root");try{return fa()[Kf](o)}catch(t){yl(e,1,48,t&&Ve(t[Jf])?t[Jf]():"Error serializing object",null,!0)}}}))}return t.__ieDyn=1,t}(),cg=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[Wf]<8;)t=t[ph](t);for(var e=5381,r=0;r<t[Wf];++r)e=(e<<5)+e+t.charCodeAt(r),e|=0;return Math.abs(e)},t.INT_MAX_VALUE=2147483647,t}(),dg=function(){var t=new cg,e=new Df;this[Fh]=function(r){return r[Hf]&&r[Hf][e.userId]?t.getHashCodeScore(r[Hf][e.userId]):r.ext&&r.ext.user&&r.ext.user.id?t.getHashCodeScore(r.ext.user.id):r[Hf]&&r[Hf][e.operationId]?t.getHashCodeScore(r[Hf][e.operationId]):r.ext&&r.ext.telemetryTrace&&r.ext.telemetryTrace[Bf]?t.getHashCodeScore(r.ext.telemetryTrace[Bf]):100*Math.random()}},ug=function(){function t(t,e){this.INT_MAX_VALUE=2147483647;var r=e||gl(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[Vh]=t,this.samplingScoreGenerator=new dg}return t.prototype.isSampledIn=function(t){var e=this[Vh];return null==e||e>=100||t.baseType===Uc[Gf]||this.samplingScoreGenerator[Fh](t)<e},t}(),pg=void 0;function bg(t){try{return t.responseText}catch(t){}return null}var fg=br(((rg={endpointUrl:Hd(Qe,Tc+$c)})[nh]=Vd(),rg[Dh]=15e3,rg[yh]=102400,rg.disableTelemetry=Vd(),rg[kh]=Vd(!0),rg.isRetryDisabled=Vd(),rg[xh]=Vd(!0),rg[Th]=Vd(!0),rg[Ch]=Vd(),rg[Eh]=Vd(),rg[wh]=Vd(),rg[$h]=pg,rg.namePrefix=pg,rg.samplingPercentage=Hd((function(t){return!isNaN(t)&&t>0&&t<=100}),100),rg[mh]=pg,rg[Ih]=pg,rg[eh]=1e4,rg[ch]=!1,rg.httpXHROverride={isVal:function(t){return t&&t.sendPOST},v:pg},rg[_h]=Vd(),rg.transports=pg,rg.retryCodes=pg,rg.maxRetryCnt={isVal:We,v:10},rg)),hg=((og={})[zc.dataType]=eg,og[Hc.dataType]=function(t,e,r){Zh(t,e);var o=e[Wh].message,n=e[Wh].severityLevel,i=e[Wh][Kh]||{},s=e[Wh][Xf]||{};Qh(e[Uf],i,s),qe(r)||Jh(i,r);var a=new Hc(t,o,n,i,s),l=new qf(Hc[Gf],a);return Yh(t,Hc[Qf],e,l)},og[Wc.dataType]=function(t,e,r){var o;Zh(t,e);var n=e[Wh];qe(n)||qe(n[Kh])||qe(n[Kh][zf])?qe(e[Uf])||qe(e[Uf][zf])||(o=e[Uf][zf],delete e[Uf][zf]):(o=n[Kh][zf],delete n[Kh][zf]);var i,s=e[Wh];((e.ext||{}).trace||{})[Bf]&&(i=e.ext.trace[Bf]);var a=s.id||i,l=s[Ff],c=s.uri,d=s[Kh]||{},u=s[Xf]||{};qe(s.refUri)||(d.refUri=s.refUri),qe(s.pageType)||(d.pageType=s.pageType),qe(s.isLoggedIn)||(d.isLoggedIn=s.isLoggedIn[Jf]()),qe(s[Kh])||er(s[Kh],(function(t,e){d[t]=e})),Qh(e[Uf],d,u),qe(r)||Jh(d,r);var p=new Wc(t,l,c,o,d,u,a),b=new qf(Wc[Gf],p);return Yh(t,Wc[Qf],e,b)},og[Kc.dataType]=function(t,e,r){Zh(t,e);var o=e[Wh],n=o[Ff],i=o.uri||o.url,s=o[Kh]||{},a=o[Xf]||{};Qh(e[Uf],s,a),qe(r)||Jh(s,r);var l=new Kc(t,n,i,void 0,s,a,o),c=new qf(Kc[Gf],l);return Yh(t,Kc[Qf],e,c)},og[ad.dataType]=function(t,e,r){Zh(t,e);var o=e[Wh][Xf]||{},n=e[Wh][Kh]||{};Qh(e[Uf],n,o),qe(r)||Jh(n,r);var i=e[Wh],s=ad.CreateFromInterface(t,i,n,o),a=new qf(ad[Gf],s);return Yh(t,ad[Qf],e,a)},og[Uc.dataType]=function(t,e,r){Zh(t,e);var o=e[Wh],n=o[Kh]||{},i=o[Xf]||{};Qh(e[Uf],n,i),qe(r)||Jh(n,r);var s=new Uc(t,o[Ff],o.average,o.sampleCount,o.min,o.max,o.stdDev,n,i),a=new qf(Uc[Gf],s);return Yh(t,Uc[Qf],e,a)},og[Md.dataType]=function(t,e,r){Zh(t,e);var o=e[Wh][Xf]||{},n=e[Wh][Kh]||{};Qh(e[Uf],n,o),qe(r)||Jh(n,r);var i=e[Wh];if(qe(i))return wl(t,"Invalid input for dependency data"),null;var s=i[Kh]&&i[Kh][Ec]?i[Kh][Ec]:"GET",a=new Md(t,i.id,i.target,i[Ff],i[zf],i.success,i.responseCode,s,i.type,i.correlationContext,n,o),l=new qf(Md[Gf],a);return Yh(t,Md[Qf],e,l)},og),gg=function(t){function e(){var r,o,n,i,s,a,l,c=t.call(this)||this;c.priority=1001,c.identifier=xc;var d,u,p,b,f,h,g,v,m,y,w,x,_,C,k,S,E,T,$,O,A,j,I,D,R,L,M,P=0;return Mn(e,c,(function(t,N){function q(e,o){var n=bg(e);if(!e||n+""!="200"&&""!==n){var i=_f(n);i&&i[Nh]&&i[Nh]>i[qh]&&!C?t[Mh](o,i):t[Lh](o,Ks(e))}else r=0,t[Ph](o,0)}function z(t,e,r){4===t.readyState&&J(t.status,e,t.responseURL,r,Xs(t),bg(t)||t.response)}function H(t){try{if(t){var e=t[zh];return e&&e[Wf]?e:null}}catch(t){}return null}function V(e,r){return!(w||(e?e.baseData&&!e[Hh]?(r&&yl(r,1,70,"Cannot send telemetry without baseData and baseType"),1):(e[Hh]||(e[Hh]="EventData"),t[vh]?(o=e,t._sample.isSampledIn(o)?(e[kc]=t._sample[Vh],0):(r&&yl(r,2,33,"Telemetry item was sampled out and not sent",{SampleRate:t._sample[Vh]}),1)):(r&&yl(r,1,28,"Sender was not initialized"),1)):(r&&yl(r,1,7,"Cannot send empty telemetry"),1)));var o}function U(t,r){var o=t.iKey||x,n=e.constructEnvelope(t,o,r,_);if(n){var i=!1;if(t[Hf]&&t[Hf][Sc]&&(vo(t[Hf][Sc],(function(t){try{t&&!1===t(n)&&(i=!0,wl(r,"Telemetry processor check returns false"))}catch(t){yl(r,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Ps(t),{exception:ir(t)},!0)}})),delete t[Hf][Sc]),!i)return n}else yl(r,1,47,"Unable to create an AppInsights envelope")}function F(e){var r="",o=t[hh]();try{var n=V(e,o),i=null;n&&(i=U(e,o)),i&&(r=s[Rh](i))}catch(t){}return r}function B(t){var e="";return t&&t[Wf]&&(e="["+t.join(",")+"]"),e}function W(t){var e,r=G();return(e={urlString:b})[Uf]=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[ah](r),s(i,(function(e,o,n){return function(e,r,o,n){200===r&&e?t._onSuccess(e,e[Wf]):n&&t[Lh](e,n)}(r,e,0,n)}),!o)):null}function X(e){var r;if(Fe(e)&&e[Wf]>0){var o=t[Sh].batchPayloads(e),n=G();return(r={})[Uf]=o,r.urlString=b,r.headers=n,r.disableXhrSync=A,r.disableFetchKeepAlive=!j,r[zh]=e,r}return null}function G(){try{var t=l||{};return $d(b)&&(t[wd[6]]=wd[7]),t}catch(t){}return null}function Q(e){var r=e?e[Wf]:0;return t[Sh].size()+r>h&&(u&&!u.isOnline()||t[fh](!0,null,10),!0)}function J(e,o,n,i,s,a){var l=null;if(t._appId||(l=_f(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[Lh](o,s);!C&&it(e)?(rt(o),yl(t[hh](),2,40,". Response code "+e+". Will retry to send "+o[Wf]+" items.")):t[Lh](o,s)}else u&&!u.isOnline()?C||(rt(o,10),yl(t[hh](),2,40,". Offline - Response Code: ".concat(e,". Offline status: ").concat(!u.isOnline(),". Will retry to send ").concat(o.length," items."))):(Y(n),206===e?(l||(l=_f(a)),l&&!C?t[Mh](o,l):t[Lh](o,s)):(r=0,t[Ph](o,i)))}function Y(t){return!(a>=10||qe(t)||""===t||t===b||(b=t,++a,0))}function Z(t,e){if(!d)return K(L&&L[Ah]([3],!0),t,e);d(t,!1)}function tt(t){try{if(t&&t[Wf])return He(t[0])}catch(t){}return null}function et(e,r){var o=null;if(Fe(e)){for(var n=e[Wf],i=0;i<e[Wf];i++)n+=e[i].item[Wf];return L.getSyncFetchPayload()+n<=65e3?o=2:va()?o=3:(o=1,yl(t[hh](),2,40,". Failed to send telemetry with Beacon API, retried with xhrSender.")),K(L&&L[Ah]([o],!0),e,r)}return null}function rt(e,n){if(void 0===n&&(n=1),e&&0!==e[Wf]){var i=t[Sh];i[lh](e),r++;for(var s=0,a=e;s<a.length;s++){var l=a[s];l.cnt=l.cnt||0,l.cnt++,i[Zf](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=Oo()+1e3*e;o=s}(n),ot()}}function ot(){if(!i&&!n){var e=o?Math.max(0,o-Oo()):0,r=Math.max(k,e);i=nn((function(){i=null,t[fh](!0,null,1)}),r)}}function nt(){i&&i.cancel(),i=null,o=null}function it(t){return qe(M)?401===t||408===t||429===t||500===t||502===t||503===t||504===t:M[Wf]&&M.indexOf(t)>-1}function st(){t[vh]=null,t[Sh]=null,t._appId=null,t._sample=null,l={},u=null,r=0,o=null,n=!1,i=null,s=null,a=0,P=0,d=null,p=null,b=null,f=null,h=0,g=!1,y=null,w=!1,x=null,_=pg,C=!1,S=null,T=pg,A=!1,j=!1,R=!1,I=null,D=null,L=null,zr(t,"_senderConfig",{g:function(){return Fs({},fg)}})}st(),t.pause=function(){nt(),n=!0},t.resume=function(){n&&(n=!1,o=null,Q(),ot())},t.flush=function(e,r,o){if(void 0===e&&(e=!0),!n){nt();try{return t[fh](e,null,o||1)}catch(e){yl(t[hh](),1,22,"flush failed, telemetry will not be collected: "+Ps(e),{exception:ir(e)})}}},t.onunloadFlush=function(){if(!n)if(g||O)try{return t[fh](!0,Z,2)}catch(e){yl(t[hh](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Ps(e),{exception:ir(e)})}else t.flush(!1)},t.addHeader=function(t,e){l[t]=e},t[gh]=function(e,n,i,P){t.isInitialized()&&yl(t[hh](),1,28,"Sender is already initialized"),N[gh](e,n,i,P);var V=t.identifier;s=new lg(n.logger),r=0,o=null,t[vh]=null,a=0;var U=t[hh]();p=Mu(Ra("Sender"),n.evtNamespace&&n.evtNamespace()),u=function(t){var e=Gr(),r=eo(),o=!1,n=[],i=1;!r||qe(r.onLine)||r.onLine||(i=2);var s=0,a=u(),l=Mu(Ra("OfflineListener"),t);try{if(d(to())&&(o=!0),e){var c=e.body||e;c.ononline&&d(c)&&(o=!0)}}catch(t){o=!1}function d(t){var e=!1;return t&&(e=Pu(t,"online",b,l))&&Pu(t,"offline",f,l),e}function u(){return 2!==s&&2!==i}function p(){var t=u();a!==t&&(a=t,vo(n,(function(t){var e={isOnline:a,rState:i,uState:s};try{t(e)}catch(t){}})))}function b(){i=1,p()}function f(){i=2,p()}return{isOnline:function(){return a},isListening:function(){return o},unload:function(){var t=to();if(t&&o){if(ff(t,l),e){var r=e.body||e;Ne(r.ononline)||ff(r,l)}o=!1}},addListener:function(t){return n[$l](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(ol(e,(function(e){var r=e.cfg;r.storagePrefix&&pc(r.storagePrefix);var o=np(null,r,n).getExtCfg(V,fg);zr(t,"_senderConfig",{g:function(){return o}}),f!==o.endpointUrl&&(b=f=o.endpointUrl),y&&y!==o[mh]&&vo(y,(function(t){delete l[t.header]})),h=o[yh],g=(!1===o[wh]||!1===o[xh])&&va(),v=!1===o[wh]&&va(),m=!1===o[xh]&&va(),O=o[_h],A=!!o[Ch],M=o.retryCodes;var i=o[ch],s=!!o[kh]&&(!!i||gc()),a=o.namePrefix,u=s!==S||s&&T!==a||s&&E!==i;if(t[Sh]){if(u)try{t._buffer=t._buffer[sh](U,o,s)}catch(e){yl(t[hh](),1,12,"failed to transfer telemetry to different buffer storage, telemetry will be lost: "+Ps(e),{exception:ir(e)})}Q()}else t[Sh]=s?new ag(U,o):new ig(U,o);T=a,S=s,E=i,j=!o[Eh]&&ma(!0),R=!!o[Th],t._sample=new ug(o.samplingPercentage,U),function(t,e){var r=e.disableInstrumentationKeyValidation;return!(qe(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)}(x=o[$h],r)||yl(U,1,100,"Invalid Instrumentation key "+x),y=o[mh],!$d(b)&&y&&y[Wf]>0?vo(y,(function(t){c.addHeader(t.header,t.value)})):y=null,$=o[Oh];var p=function(){var e;try{var r={xdrOnComplete:function(t,e,r){var o=H(r);if(o)return q(t,o)},fetchOnComplete:function(t,e,r,o){var n=H(o);if(n)return J(t.status,n,t.url,n[Wf],t.statusText,r||"")},xhrOnComplete:function(t,e,r){var o=H(r);if(o)return z(t,o,o[Wf])},beaconOnRetry:function(e,r,o){return function(e,r,o){var n=e&&e[zh];if(R)D&&D(n,!0),yl(t[hh](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender.");else{for(var i=[],s=0;s<n[Wf];s++){var a=n[s],l=[a];o(X(l),r)?t._onSuccess(l,l[Wf]):i[rh](a)}i[Wf]>0&&(D&&D(i,!0),yl(t[hh](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}(e,r,o)}};return(e={})[Oh]=$,e.isOneDs=!1,e.disableCredentials=!1,e[Ch]=A,e.disableBeacon=!m,e.disableBeaconSync=!v,e.senderOnCompleteCallBack=r,e}catch(t){}return null}();L?L.SetConfig(p):(L=new yf)[gh](p,U);var P=o.httpXHROverride,N=null,F=null,B=Gs([3,1,2],o.transports);N=L&&L[Ah](B,!1);var W=L&&L.getFallbackInst();I=function(t,e){return K(W,t,e)},D=function(t,e){return K(W,t,e,!1)},N=O?P:N||P||W,t[vh]=function(t,e){return K(N,t,e)},j&&(d=et);var G=Gs([3,1],o[jh]);j||(G=G.filter((function(t){return 2!==t}))),F=L&&L[Ah](G,!0),F=O?P:F||P,(O||o[jh]||!d)&&F&&(d=function(t,e){return K(F,t,e)}),d||(d=I),w=o.disableTelemetry,_=o[Ih]||pg,C=o.isRetryDisabled,k=o[Dh]})))},t.processTelemetry=function(e,r){var o,n=(r=t._getTelCtx(r))[hh]();try{if(!V(e,n))return;var i=U(e,n);if(!i)return;var a=s[Rh](i),l=t[Sh];Q(a);var c=((o={})[oh]=a,o.cnt=0,o);l[Zf](c),ot()}catch(t){yl(n,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Ps(t),{exception:ir(t)})}t.processNext(e,r)},t.isCompletelyIdle=function(){return!n&&0===P&&0===t._buffer[th]()},t._xhrReadyStateChange=function(t,e,r){if(!tt(e))return z(t,e,r)},t[fh]=function(e,r,o){var i;if(void 0===e&&(e=!0),!n)try{var s=t[Sh];if(w)s[ih]();else{if(s[th]()>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[Uh])try{n[Uh](e,r)}catch(e){yl(t[hh](),1,74,"send request notification failed: "+Ps(e),{exception:ir(e)})}}(o||0,e),i=r?r.call(t,a,e):t[vh](a,e)}new Date}nt()}catch(e){var l=ga();(!l||l>9)&&yl(t[hh](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+Ps(e),{exception:ir(e)})}return i},t.getOfflineSupport=function(){var t;return(t={getUrl:function(){return b},createPayload:W})[Rh]=F,t.batch=B,t.shouldProcess=function(t){return!!V(t)},t},t._doTeardown=function(e,r){t.onunloadFlush(),wf(u,!1),st()},t[Lh]=function(e,r,o){if(!tt(e))return function(e,r,o){yl(t[hh](),2,26,"Failed to send telemetry.",{message:r}),t._buffer&&t._buffer[lh](e)}(e,r)},t[Mh]=function(e,r){if(!tt(e))return 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];it(a.statusCode)?n[rh](l):o[rh](l)}e[Wf]>0&&t[Ph](e,r[qh]),o[Wf]>0&&t[Lh](o,Xs(null,["partial success",r[qh],"of",r.itemsReceived].join(" "))),n[Wf]>0&&(rt(n),yl(t[hh](),2,40,"Partial success. Delivered: "+e[Wf]+", Failed: "+o[Wf]+". Will retry to send "+n[Wf]+" our of "+r[Nh]+" items"))}(e,r)},t[Ph]=function(e,r){if(!tt(e))return function(e,r){t._buffer&&t._buffer[lh](e)}(e)},t._xdrOnLoad=function(t,e){if(!tt(e))return q(t,e)}})),c}return Wn(e,t),e.constructEnvelope=function(t,e,r,o){var n;return n=e===t.iKey||qe(e)?t:Fn(Fn({},t),{iKey:e}),(hg[n.baseType]||eg)(r,n,o)},e}(xp);var vg=function(t,e){var r,o,n,i,s,a,l,c=this,d=!1,u=!1;function p(t,e,n,i){if(d){var a=function(t){try{var e=b(t);return(1e6>0?Math.floor($a()/xa*1000001)>>>0:0)<=e.limit.samplingRate}catch(t){}return!1}(t);if(!a)return;var l=b(t),c=x(t),u=h(l,r,c),p=!1,f=0,v=_(t);try{u&&!v?(f=Math.min(l.limit.maxSendNumber,c[Il]+1),c[Il]=0,p=!0,s[t]=!0,c[Dl]=new Date):(s[t]=u,c[Il]+=1);var y=g(t);m(o,y,c);for(var k=0;k<f;k++)w(t,o,e,n)}catch(t){}return{isThrottled:p,throttleNum:f}}return i&&C(t)[$l]({msgID:t,message:e,severity:n}),null}function b(t){return n[t]||n[109]}function f(t,e){var r,o,i,s,a;try{var l=e||{},c={};c[Rl]=!!l[Rl];var d=l[Ll]||{};u=(null==d?void 0:d.daysOfMonth)&&(null==d?void 0:d.daysOfMonth[kl])>0,c[Ll]=(s=null===(i=(i=d)||{})||void 0===i?void 0:i.monthInterval,a=null==i?void 0:i.dayInterval,qe(s)&&qe(a)&&(i.monthInterval=3,u||(i[Ml]=[28],u=!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[Rl]&&e&&Ds(r)){var o=v(),n=r[Pl],i=t[Ll],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(u)l=mo(i[Ml],o[Nl]());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=Ds(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 hc(t,e,Lo(JSON[ql](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){yl(e,o||1,t,r)}function x(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[Pl])||o[Pl],count:n[Il]||o[Il],preTriggerDate:n.preTriggerDate?v(n[Dl]):void 0}}return m(e,r,o),o}catch(t){}return null}(fc(o,r),o,r),i[t]=e}return i[t]}catch(t){}return null}function _(t){var e=s[t];if(qe(e)){e=!1;var r=x(t);r&&(e=function(t){try{if(t){var e=new Date;return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t[Nl]()===e[Nl]()}}catch(t){}return!1}(r[Dl])),s[t]=e}return s[t]}function C(t){return qe((l=l||{})[t])&&(l[t]=[]),l[t]}o=gl(t),s={},i={},l={},n={},f(109),a=Ds(e)?e:"",t.addUnloadHook(ol(t.config,(function(t){var e=t.cfg;r=bc(),er(e.throttleMgrCfg||{},(function(t,e){f(parseInt(t),e)}))}))),c._getDbgPlgTargets=function(){return[l]},c.getConfig=function(){return n},c.canThrottle=function(t){var e=x(t);return h(b(t),r,e)},c.isTriggered=function(t){return _(t)},c.isReady=function(){return d},c.flush=function(t){try{var e=C(t);if(e&&e[kl]>0){var r=e.slice(0);return l[t]=[],vo(r,(function(t){p(t.msgID,t[jl],t.severity,!1)})),!0}}catch(t){}return!1},c.flushAll=function(){try{if(l){var t=!0;return er(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),(d=!!qe(t)||t)&&e?c.flushAll():null},c.sendMessage=function(t,e,r){return p(t,e,r,!0)}},mg={perfEvtsSendAll:!1};function yg(t){t.h=null;var e=t.cb;t.cb=[],vo(e,(function(t){Re(t.fn,[t.arg])}))}function wg(t,e,r,o){vo(t,(function(t){t&&t[e]&&(r?(r.cb[ii]({fn:o,arg:t}),r.h=r.h||nn(yg,0,r)):Re(o,[t]))}))}var xg,_g=function(){function t(e){var r,o;this.listeners=[];var n=[],i={h:null,cb:[]},s=rl(e,mg);o=s[ri]((function(t){r=!!t.cfg.perfEvtsSendAll})),Mn(t,this,(function(t){zr(t,"listeners",{g:function(){return n}}),t[pi]=function(t){n[ii](t)},t[ui]=function(t){for(var e=mo(n,t);e>-1;)n[si](e,1),e=mo(n,t)},t[ms]=function(t){wg(n,ms,i,(function(e){e[ms](t)}))},t[ys]=function(t,e){wg(n,ys,i,(function(r){r[ys](t,e)}))},t[ws]=function(t,e){wg(n,ws,e?i:null,(function(r){r[ws](t,e)}))},t[xs]=function(t){t&&(!r&&t[Xi]()||wg(n,xs,null,(function(e){t[ji]?nn((function(){return e[xs](t)}),0):e[xs](t)})))},t[_s]=function(t){t&&t[Qn]&&wg(n,_s,i,(function(e){e[_s](t)}))},t[Cs]=function(t){t&&t[Gi]&&wg(n,Cs,i,(function(e){e[Cs](t)}))},t[ks]=function(t,e){if(t>0){var r=e||0;wg(n,ks,i,(function(e){e[ks](t,r)}))}},t[Ci]=function(t){var e,r=function(){o&&o.rm(),o=null,n=[],i.h&&i.h[li](),i.h=null,i.cb=[]};if(wg(n,"unload",null,(function(r){var o=r[Ci](t);o&&(e||(e=[]),e[ii](o))})),e)return Yb((function(t){return Ib(Zb(e),(function(){r(),t()}))}));r()}}))}return t.__ieDyn=1,t}(),Cg=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(),Mn(e,n,(function(t,e){t.addTelemetryInitializer=function(t){return function(t,e,r){var o={id:e,fn:r};return go(t,o),{remove:function(){vo(t,(function(e,r){if(e.id===o.id)return t[si](r,1),-1}))}}}(o,r++,t)},t[gs]=function(e,r){(function(t,e,r){for(var o=!1,n=t[Qn],i=0;i<n;++i){var s=t[i];if(s)try{if(!1===s.fn[ni](null,[e])){o=!0;break}}catch(t){yl(r,2,64,"Telemetry initializer failed: "+Ps(t),{exception:ir(t)},!0)}}return!o})(o,e,r?r[Ii]():t[Ii]())&&t[yi](e,r)},t[Di]=function(){i()}})),n}return Wn(e,t),e.__ieDyn=1,e}(xp),kg="Plugins must provide initialize method",Sg="SDK is still unloading...",Eg=br(((xg={cookieCfg:{}})[hs]={rdOnly:!0,ref:!0,v:[]},xg[ds]={rdOnly:!0,ref:!0,v:[]},xg[fs]={ref:!0,v:{}},xg[ps]=ls,xg.loggingLevelConsole=0,xg.diagnosticLogInterval=ls,xg));function Tg(t,e){return new Wu(e)}function $g(t,e){var r=!1;return vo(e,(function(e){if(e===t)return r=!0,-1})),r}function Og(t,e,r,o){r&&er(r,(function(r,n){o&&Mo(n)&&Mo(e[r])&&Og(t,e[r],n,o),o&&Mo(n)&&Mo(e[r])?Og(t,e[r],n,o):t.set(e,r,n)}))}function Ag(t,e){var r=null,o=-1;return vo(t,(function(t,n){if(t.w===e)return r=t,o=n,-1})),{i:o,l:r}}function jg(t,e,r,o){return e.add(t[ri]((function(t){var e=t.cfg.disableDbgExt;!0===e&&o&&(r[ui](o),o=null),r&&!o&&!0!==e&&(o=function(t){if(!nl){nl={};for(var e=0;e<sl[Qn];e++)nl[sl[e]]=ll(sl[e],t)}return nl}(t.cfg),r[pi](o))}))),o}var Ig=function(){function t(){var e,r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m,y,w,x,_,C,k,S,E,T,$;Mn(t,this,(function(t){function O(t){return E&&E[xi]||$||(t||o&&o.queue[Qn]>0)&&(T||(T=!0,V(e[ri]((function(t){var e=t.cfg.diagnosticLogInterval;e&&e>0||(e=1e4);var r=!1;E&&(r=E[xi],E[li]()),E=function(t,e){return on(!1,ue,De[ke](arguments))}(P,e),E.unref(),E[xi]=r})))),E[xi]=!0),E}function A(){var t={};k=[];var e=function(e){e&&vo(e,(function(e){if(e[di]&&e[Si]&&!t[e.identifier]){var r=e[di]+"="+e[Si];k[ii](r),t[e.identifier]=e}}))};e(p),u&&vo(u,(function(t){e(t)})),e(d)}function j(){r=!1,(e=rl({},Eg,t[oi])).cfg[Ei]=1,zr(t,"config",{g:function(){return e.cfg},s:function(e){t.updateCfg(e,!1)}}),zr(t,"pluginVersionStringArr",{g:function(){return k||A(),k}}),zr(t,"pluginVersionString",{g:function(){return S||(k||A(),S=k.join(";")),S||cs}}),zr(t,"logger",{g:function(){return o||(o=new vl(e.cfg),e[oi]=o),o},s:function(t){e[oi]=t,o!==t&&(wf(o,!1),o=t)}}),t[oi]=new vl(e.cfg),C=[];var y=t.config[hs]||[];y.splice(0,y[Qn]),go(y,C),f=new Cg,n=[],wf(i,!1),i=null,s=null,a=null,wf(l,!1),l=null,c=null,d=[],u=null,p=null,b=!1,h=null,g=Ra("AIBaseCore",!0),v=vp(),w=null,x=null,m=mp(),_=[],S=null,k=null,$=!1,E=null,T=!1}function I(){var r=np(L(),e.cfg,t);return r[ki](O),r}function D(e){var r=function(t,e,r){var o,n=[],i=[],s={};return vo(r,(function(e){(qe(e)||qe(e[ci]))&&sr(kg);var r=e[vs],o=e[di];e&&r&&(qe(s[r])?s[r]=o:wl(t,"Two extensions have same priority #"+r+" - "+s[r]+", "+o)),!r||r<500?n[ii](e):i[ii](e)})),(o={})[us]=n,o[ds]=i,o}(t[oi],0,d);c=null,S=null,k=null,p=Yu(go(p=(u||[])[0]||[],r[ds]));var o=go(Yu(r[us]),p);C=fr(o);var n=t.config[hs]||[];n.splice(0,n[Qn]),go(n,C);var i=I();p&&p[Qn]>0&&Ju(i[Ti](p),o),Ju(i,o),e&&q(e)}function R(t){var e=null,r=null,o=[];return vo(C,(function(e){if(e[di]===t&&e!==f)return r=e,-1;e.getChannel&&o[ii](e)})),!r&&o[Qn]>0&&vo(o,(function(e){if(!(r=e.getChannel(t)))return-1})),r&&(e={plugin:r,setEnabled:function(t){Qu(r)[bs]=!t},isEnabled:function(){var t=Qu(r);return!t[$i]&&!t[bs]},remove:function(t,e){var o;void 0===t&&(t=!0);var n=[r],i=((o={reason:1})[ji]=t,o);M(n,i,(function(t){t&&D({reason:32,removed:n}),e&&e(t)}))}}),e}function L(){if(!c){var r=(C||[]).slice();-1===mo(r,f)&&r[ii](f),c=ap(Yu(r),e.cfg,t)}return c}function M(r,o,n){if(r&&r[Qn]>0){var i=ip(ap(r,e.cfg,t),t);i[ki]((function(){var t=!1,e=[];vo(d,(function(o,n){$g(o,r)?t=!0:e[ii](o)})),d=e,S=null,k=null;var o=[];u&&(vo(u,(function(e,n){var i=[];vo(e,(function(e){$g(e,r)?t=!0:i[ii](e)})),o[ii](i)})),u=o),n&&n(t),O()})),i[yi](o)}else n(!1)}function P(){if(o&&o.queue){var e=o.queue.slice(0);o.queue[Qn]=0,vo(e,(function(e){var r,o=((r={})[vi]=h||"InternalMessageId: "+e[Oi],r.iKey=x,r[mi]=Ms(new Date),r.baseType=hl.dataType,r.baseData={message:e[Ai]},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[li](),s=null,e&&e(i),e=null)}return o=o||5e3,p&&p[Qn]>0&&I()[Ti](p).iterate((function(e){if(e.flush){n++;var i=!1;e.flush(t,(function(){i=!0,a()}),r)||i||(t&&null==s?s=nn((function(){s=null,a()}),o):a())}})),i=!0,a(),!0}function q(e){var r=sp(L(),t);r[ki](O),t._updateHook&&!0===t._updateHook(r,e)||r[yi](e)}function z(e){var r=t[oi];r?(yl(r,2,73,e),O()):sr(e)}function H(e){var r=t[fi]();r&&r[ys]([e],2)}function V(t){m.add(t)}j(),t._getDbgPlgTargets=function(){return[C]},t[bi]=function(){return r},t[ci]=function(n,l,c,f){var h;b&&sr(Sg),t[bi]()&&sr("Core cannot be initialized more than once"),n=(e=rl(n,Eg,c||t[oi],!1)).cfg,V(e[ri]((function(t){x=t.cfg.instrumentationKey;var e=t.ref(t.cfg,fs);er(e,(function(r){t.ref(e,r)})),qe(x)&&sr("Please provide instrumentation key")}))),y=jg(e,m,(i=f)&&t[fi](),y),V(e[ri]((function(e){if(e.cfg.enablePerfMgr){var r=e.cfg[ps];h!==r&&(r||(r=Tg),qs(e.cfg,ps,r),h=r,a=null),s||a||!Ve(r)||(a=r(t,t[fi]()))}else a=null,h=null}))),t[oi]=c;var g=n[hs];if((d=[])[ii].apply(d,Kn(Kn([],l),g)),u=n[ds],D(null),p&&0!==p[Qn]||sr("No "+ds+" available"),u&&u[Qn]>1){var v=t[hi]("TeeChannelController");v&&v.plugin||yl(o,1,28,"TeeChannel required")}!function(t,e,r){vo(e,(function(e){var o=ol(t,e.w,r);delete e.w,e.rm=function(){o.rm()}}))}(n,_,o),_=null,r=!0,t.releaseQueue(),t[gi]()},t.getChannels=function(){var t=[];return p&&vo(p,(function(e){t[ii](e)})),fr(t)},t.track=function(e){Xu(t[Ss](),(function(){return"AppInsightsCore:track"}),(function(){null===e&&(H(e),sr("Invalid telemetry item")),!e[vi]&&qe(e[vi])&&(H(e),sr("telemetry name required")),e.iKey=e.iKey||x,e[mi]=e[mi]||Ms(new Date),e.ver=e.ver||"4.0",!b&&t[bi]()?I()[yi](e):n[ii](e)}),(function(){return{item:e}}),!e.sync)},t[wi]=I,t[fi]=function(){return i||(i=new _g(e.cfg),t._notificationManager=i),i},t[pi]=function(e){t.getNotifyMgr()[pi](e)},t[ui]=function(t){i&&i[ui](t)},t.getCookieMgr=function(){return l||(l=lu(e.cfg,t[oi])),l},t.setCookieMgr=function(t){l!==t&&(wf(l,!1),l=t)},t[Ss]=function(){return s||a||null},t.setPerfMgr=function(t){s=t},t.eventCnt=function(){return n[Qn]},t.releaseQueue=function(){if(r&&n[Qn]>0){var t=n;n=[],vo(t,(function(t){I()[yi](t)}))}},t[gi]=function(t){return h=t||null,$=!1,E&&E[li](),O(!0)},t[_i]=function(){$=!0,E&&E[li](),P()},Vs(t,(function(){return f}),["addTelemetryInitializer"]),t[Ci]=function(e,n,s){var a;void 0===e&&(e=!0),r||sr("SDK is not initialized"),b&&sr(Sg);var c,d=((a={reason:50})[ji]=e,a.flushComplete=!1,a);e&&!n&&(c=Yb((function(t){n=t})));var u=ip(L(),t);function p(e){d.flushComplete=e,b=!0,v.run(u,d),t[_i](),u[yi](d)}return u[ki]((function(){m.run(t[oi]),xf([l,i,o],e,(function(){j(),n&&n(d)}))}),t),P(),N(e,p,6,s)||p(!1),c},t[hi]=R,t.addPlugin=function(t,e,r,o){if(!t)return o&&o(!1),void z(kg);var n=R(t[di]);if(n&&!e)return o&&o(!1),void z("Plugin ["+t[di]+"] is already loaded!");var i={reason:16};function s(e){d[ii](t),i.added=[t],D(i),o&&o(!0)}if(n){var a=[n.plugin];M(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[bi]()){n={reason:1,cfg:e.cfg,oldCfg:Uo({},e.cfg),newConfig:Uo({},r),merge:o},r=n.newConfig;var i=e.cfg;r[hs]=i[hs],r[ds]=i[ds]}e._block((function(t){var e=t.cfg;Og(t,e,r,o),o||er(e,(function(o){Ze(r,o)||t.set(e,o,ls)})),t[ei](e,Eg)}),!0),e[Yn](),n&&q(n)},t.evtNamespace=function(){return g},t.flush=N,t.getTraceCtx=function(t){return w||(e={},w={getName:function(){return e[vi]},setName:function(t){e[vi]=t},getTraceId:function(){return e[is]},setTraceId:function(t){vd(t)&&(e[is]=t)},getSpanId:function(){return e[ss]},setSpanId:function(t){md(t)&&(e[ss]=t)},getTraceFlags:function(){return e[as]},setTraceFlags:function(t){e[as]=t}}),w;var e},t.setTraceCtx=function(t){w=t||null},t.addUnloadHook=V,Hs(t,"addUnloadCb",(function(){return v}),"add"),t.onCfgChange=function(o){var n,i,s,a;return r?n=ol(e.cfg,o,t[oi]):((a=Ag(i=_,s=o).l)||(a={w:s,rm:function(){var t=Ag(i,s);-1!==t.i&&i[si](t.i,1)}},i[ii](a)),n=a),function(t){return zr({rm:function(){t.rm()}},"toJSON",{v:function(){return"aicore::onCfgChange<"+JSON.stringify(t)+">"}})}(n)},t.getWParam=function(){return Xr()||e.cfg.enableWParam?0:-1}}))}return t.__ieDyn=1,t}(),Dg="duration",Rg="properties",Lg="requestUrl",Mg="inst",Pg="length",Ng="traceID",qg="spanID",zg="traceFlags",Hg="context",Vg="aborted",Ug="traceId",Fg="spanId",Bg="_addHook",Wg="core",Kg="includeCorrelationHeaders",Xg="getAbsoluteUrl",Gg="headers",Qg="requestHeaders",Jg="setRequestHeader",Yg="trackDependencyDataInternal",Zg="startTime",tv="toLowerCase",ev="enableRequestHeaderTracking",rv="enableAjaxErrorStatusText",ov="enableAjaxPerfTracking",nv="maxAjaxCallsPerView",iv="excludeRequestFromAutoTrackingPatterns",sv="addRequestContext",av="disableAjaxTracking",lv="ajaxPerfLookupDelay",cv="disableFetchTracking",dv="enableResponseHeaderTracking",uv="status",pv="statusText",bv="headerMap",fv="openDone",hv="sendDone",gv="requestSentTime",vv="abortDone",mv="getTraceId",yv="getTraceFlags",wv="method",xv="errorStatusText",_v="stateChangeAttached",Cv="responseText",kv="responseFinishedTime",Sv="CreateTrackItem",Ev="response",Tv="getAllResponseHeaders",$v="getPartAProps",Ov="perfMark",Av="name",jv="perfTiming",Iv="exception",Dv="ajaxDiagnosticsMessage",Rv="correlationContext",Lv="ajaxTotalDuration",Mv="eventTraceCtx";function Pv(t,e,r){var o=0,n=t[e],i=t[r];return n&&i&&(o=Id(n,i)),o}function Nv(t,e,r,o,n){var i=0,s=Pv(r,o,n);return s&&(i=qv(t,e,Bc(s))),i}function qv(t,e,r){var o="ajaxPerf",n=0;return t&&e&&r&&((t[o]=t[o]||{})[e]=r,n=1),n}var zv,Hv=function(){var t=this;t[fv]=!1,t.setRequestHeaderDone=!1,t[hv]=!1,t[vv]=!1,t[_v]=!1},Vv=function(){function t(e,r,o,n){var i,s=this,a=o;s[Ov]=null,s.completed=!1,s.requestHeadersSize=null,s[Qg]=null,s.responseReceivingDuration=null,s.callbackDuration=null,s[Lv]=null,s[Vg]=0,s.pageUrl=null,s[Lg]=null,s.requestSize=0,s[wv]=null,s[uv]=null,s[gv]=null,s.responseStartedTime=null,s[kv]=null,s.callbackFinishedTime=null,s.endTime=null,s.xhrMonitoringState=new Hv,s.clientFailure=0,s[Ng]=e,s[qg]=r,s[zg]=null==n?void 0:n.getTraceFlags(),s[Mv]=n?((i={})[Ug]=n[mv](),i[Fg]=n.getSpanId(),i[zg]=n[yv](),i):null,Mn(t,s,(function(t){t.getAbsoluteUrl=function(){return t[Lg]?function(t){var e,r=kd(t);return r&&(e=r.href),e}(t[Lg]):null},t.getPathName=function(){return t[Lg]?Dc(a,(e=t[wv],r=t[Lg],e?e.toUpperCase()+" "+r:r)):null;var e,r},t[Sv]=function(e,r,o){var n;if(t.ajaxTotalDuration=Math.round(1e3*Id(t.requestSentTime,t.responseFinishedTime))/1e3,t[Lv]<0)return null;var i=((n={id:"|"+t[Ng]+"."+t[qg],target:t[Xg]()})[Av]=t.getPathName(),n.type=e,n[Zg]=null,n.duration=t[Lv],n.success=+t[uv]>=200&&+t[uv]<400,n.responseCode=+t[uv],n[Rg]={HttpMethod:t[wv]},n),s=i[Rg];if(t[Vg]&&(s[Vg]=!0),t[gv]&&(i[Zg]=new Date,i[Zg].setTime(t[gv])),function(t,e){var r=t[jv],o=e[Rg]||{},n=0,i="name",s="Start",a="End",l="domainLookup",c="connect",d="redirect",u="request",p="response",b="startTime",f=l+s,h=l+a,g=c+s,v=c+a,m=u+s,y=u+a,w=p+s,x=p+a,_=d+s,C=d=a,k="transferSize",S="encodedBodySize",E="decodedBodySize",T="serverTiming";if(r){n|=Nv(o,d,r,_,C),n|=Nv(o,l,r,f,h),n|=Nv(o,c,r,g,v),n|=Nv(o,u,r,m,y),n|=Nv(o,p,r,w,x),n|=Nv(o,"networkConnect",r,b,v),n|=Nv(o,"sentRequest",r,m,x);var $=r[Dg];$||($=Pv(r,b,x)||0),n|=qv(o,Dg,$),n|=qv(o,"perfTotal",$);var O=r[T];if(O){var A={};vo(O,(function(t,e){var r=Rs(t[i]||""+e),o=A[r]||{};er(t,(function(t,e){(t!==i&&He(e)||We(e))&&(o[t]&&(e=o[t]+";"+e),!e&&He(e)||(o[t]=e))})),A[r]=o})),n|=qv(o,T,A)}n|=qv(o,k,r[k]),n|=qv(o,S,r[S]),n|=qv(o,E,r[E])}else t[Ov]&&(n|=qv(o,"missing",t.perfAttempts));n&&(e[Rg]=o)}(t,i),r&&pr(t.requestHeaders)[Pg]>0&&(s[Qg]=t[Qg]),o){var a=o();if(a){var l=a[Rv];if(l&&(i.correlationContext=l),a[bv]&&pr(a.headerMap)[Pg]>0&&(s.responseHeaders=a[bv]),t[xv])if(t[uv]>=400){var c=a.type;""!==c&&"text"!==c||(s.responseText=a.responseText?a[pv]+" - "+a.responseText:a[pv]),"json"===c&&(s.responseText=a.response?a[pv]+" - "+JSON.stringify(a[Ev]):a[pv])}else 0===t[uv]&&(s.responseText=a[pv]||"")}}return i},t[$v]=function(){var e,r=null,o=t[Mv];if(o&&(o[Ug]||o[Fg])){var n=(r={})[Mf]=((e={})[Ng]=o[Ug],e.parentID=o[Fg],e);qe(o[zg])||(n[zg]=o[zg])}return r}}))}return t.__ieDyn=1,t}(),Uv="ai.ajxmn.",Fv="diagLog",Bv="_ajaxData",Wv="fetch",Kv="Failed to monitor XMLHttpRequest",Xv=", monitoring data for this ajax call ",Gv=Xv+"may be incorrect.",Qv=Xv+"won't be sent.",Jv="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Yv="Failed to add custom defined request context as configured call back may missing a null check.",Zv="Failed to calculate the duration of the ",tm=0,em=function(t,e){return t&&e&&t[Bv]?(t[Bv].i||{})[e]:null},rm=function(t,e){var r=!1;if(t){var o=(t[Bv]||{}).xh;o&&vo(o,(function(t){if(t.n===e)return r=!0,-1}))}return r};function om(t,e){var r="";try{var o=em(t,e);o&&o[Lg]&&(r+="(url: '"+o[Lg]+"')")}catch(t){}return r}function nm(t,e,r,o,n){yl(t[Fv](),1,e,r,o,n)}function im(t,e,r,o,n){yl(t[Fv](),2,e,r,o,n)}function sm(t,e,r){return function(o){var n;nm(t,e,r,((n={ajaxDiagnosticsMessage:om(o[Mg],t._ajaxDataId)})[Iv]=ir(o.err),n))}}function am(t,e){return t&&e?Yo(t,e):-1}function lm(t,e,r){var o={id:e,fn:r};return t.push(o),{remove:function(){vo(t,(function(e,r){if(e.id===o.id)return t.splice(r,1),-1}))}}}function cm(t,e,r,o){var n=!0;return vo(e,(function(e,i){try{!1===e.fn.call(null,r)&&(n=!1)}catch(e){yl(t&&t.logger,1,64,"Dependency "+o+" [#"+i+"] failed: "+Ps(e),{exception:ir(e)},!0)}})),n}var dm="*.blob.core.",um=fr([dm+"windows.net",dm+"chinacloudapi.cn",dm+"cloudapi.de",dm+"usgovcloudapi.net"]),pm=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i],bm=fr(((zv={})[nv]=500,zv[av]=!1,zv[cv]=!1,zv[iv]=void 0,zv.disableCorrelationHeaders=!1,zv.distributedTracingMode=1,zv.correlationHeaderExcludedDomains=um,zv.correlationHeaderDomains=void 0,zv.correlationHeaderExcludePatterns=void 0,zv.appId=void 0,zv.enableCorsCorrelation=!1,zv[ev]=!1,zv[dv]=!1,zv[rv]=!1,zv[ov]=!1,zv.maxAjaxPerfLookupAttempts=3,zv[lv]=25,zv.ignoreHeaders=["Authorization","X-API-Key","WWW-Authenticate"],zv[sv]=void 0,zv.addIntEndpoints=!0,zv)),fm=function(t){function e(){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g,v,m,y,w,x,_,C,k,S,E,T,$,O,A,j,I=t.call(this)||this;return I.identifier=e.identifier,I.priority=120,Mn(e,I,(function(t,I){var D=I[Bg];function R(){var e=pa();r=!1,o=!1,j=!1,n=e&&e.host&&e.host[tv](),i=null,s=!1,a=!1,l=0,c=null,d=!1,u=!1,p=null,b=!1,f=0,h=!1,g={},v=!1,m=!1,y=null,w=null,x=null,C=0,k=[],S=[],_=Ra("ajaxData"),t._ajaxDataId=_,E=null,T=1,$=1,O=1,A=null}function L(t){var e=!0;return(t||E)&&vo(E,(function(r){if(r[tv]()===t[tv]())return e=!1,-1})),e}function M(t,e,r){D(function(t,e,r){return t?hp(t[zn],e,r,!1):null}(t,e,r))}function P(t,e,r){var o=!1,n=((He(e)?e:(e||{}).url||"")||"")[tv]();if(vo(y,(function(t){var e=t;He(t)&&(e=new RegExp(t)),o||(o=e.test(n))})),o)return o;var i=am(n,"?"),s=am(n,"#");return(-1===i||-1!==s&&s<i)&&(i=s),-1!==i&&(n=n.substring(0,i)),qe(t)?qe(e)||(o="object"==typeof e&&!0===e[Cc]||!!r&&!0===r[Cc]):o=!0===t[Cc]||!0===n[Cc],!o&&n&&$d(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 qe(t)||(n=!0===r||!qe(e)),i&&n}function q(){var e=null;return t[Wg]&&t[Wg].getTraceCtx&&(e=t[Wg].getTraceCtx(!1)),!e&&c&&c.telemetryTrace&&(e=Dd(c.telemetryTrace)),e}function z(t,e){if(e[Lg]&&p&&b){var r=Wo();if(r&&Ve(r.mark)){tm++;var o=p+t+"#"+tm;r.mark(o);var n=r.getEntriesByName(o);n&&1===n[Pg]&&(e[Ov]=n[0])}}}function H(t,e,r,o){var n=e[Ov],i=Wo(),s=T,a=$,l=e[Lg],c=0;!function d(){try{if(i&&n){c++;for(var u=null,p=i.getEntries(),b=p[Pg]-1;b>=0;b--){var f=p[b];if(f){if("resource"===f.entryType)f.initiatorType!==t||-1===am(f[Av],l)&&-1===am(l,f[Av])||(u=f);else if("mark"===f.entryType&&f[Av]===n[Av]){e[jv]=u;break}if(f[Zg]<n[Zg]-1e3)break}}}!n||e[jv]||c>=s||!1===e.async?(n&&Ve(i.clearMarks)&&i.clearMarks(n[Av]),e.perfAttempts=c,r()):nn(d,a)}catch(t){o(t)}}()}function V(e){var r="";try{qe(e)||(r+="(url: '".concat("string"==typeof e?e:e.url,"')"))}catch(e){nm(t,15,"Failed to grab failed fetch diagnostics message",{exception:ir(e)})}return r}function U(e,r,o,n,i,a,l){function c(e,r,n){var i=n||{};i.fetchDiagnosticsMessage=V(o),r&&(i.exception=ir(r)),im(t,e,Zv+"fetch call"+Qv,i)}i&&(i[kv]=jd(),i[uv]=r,H(Wv,i,(function(){var e,l=i[Sv]("Fetch",s,a);try{w&&(e=w({status:r,request:o,response:n}))}catch(e){im(t,104,Yv)}if(l){void 0!==e&&(l[Rg]=Fn(Fn({},l.properties),e));var d=i[$v]();F(S,t[Wg],i,l,null,d)}else c(14,null,{requestSentTime:i[gv],responseFinishedTime:i[kv]})}),(function(t){c(18,t,null)})))}function F(e,r,o,n,i,s){var a,l=!0;e[Pg]>0&&(l=cm(r,e,((a={item:n})[Rg]=i,a.sysProperties=s,a.context=o?o[Hg]:null,a.aborted=!!o&&!!o[Vg],a),"initializer")),l&&t[Yg](n,i,s)}R(),t.initialize=function(n,l,g,C){var k;t.isInitialized()||(I.initialize(n,l,g,C),x=Mu(Ra("ajax"),l&&l.evtNamespace&&l.evtNamespace()),function(r){t[Bg](ol(r,(function(r){var o=r.cfg,n=np(null,o,t[Wg]);if(i=n.getExtCfg(e.identifier,bm),O=i.distributedTracingMode,s=i[ev],a=i[rv],b=i[ov],f=i[nv],y=[].concat(i[iv]||[],!1!==i.addIntEndpoints?pm:[]),w=i[sv],u=0===O||1===O,d=1===O||2===O,b){var l=o.instrumentationKey||"unkwn";p=l[Pg]>5?Uv+Tr(l,l[Pg]-5)+".":Uv+l+"."}v=!!i[av],T=i.maxAjaxPerfLookupAttempts,$=i[lv],E=i.ignoreHeaders,A=i.appId})))}(n),function(t,e){var r,o,n=!1;if(ya()){var i=XMLHttpRequest[zn];n=!(qe(i)||qe(i.open)||qe(i.send)||qe(i.abort))}var s=ga();if(s&&s<9&&(n=!1),n)try{var a=new XMLHttpRequest,l={xh:[],i:(r={},r[e]={},r)};a[Bv]=l;var c=XMLHttpRequest[zn].open;XMLHttpRequest[zn].open=c}catch(e){n=!1,nm(t,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",((o={})[Iv]=ir(e),o))}return n}(t,_)&&t[Bg](ol(i,(function(){v=!!i[av],s=i[ev],v||o||(M(XMLHttpRequest,"open",{ns:x,req:function(e,r,o,n){if(!v){var i=e[Mg],l=em(i,_);!P(i,o)&&N(i,l,!0)&&(l&&l.xhrMonitoringState[fv]||(l=function(e,r,o,n){var i,s=q(),l=s&&s[mv]()||dd(),c=$r(dd(),0,16),d=e[Bv]=e[Bv]||{xh:[],i:{}},u=d.i=d.i||{},p=u[_]=u[_]||new Vv(l,c,t[Fv](),null===(i=t.core)||void 0===i?void 0:i.getTraceCtx());return p[zg]=s&&s[yv](),p[wv]=r,p[Lg]=o,p.xhrMonitoringState[fv]=!0,p[Qg]={},p.async=n,p[xv]=a,p}(i,r,o,n)),function(e,r){r.xhrMonitoringState[_v]=Pu(e,"readystatechange",(function(){var o;try{e&&4===e.readyState&&N(e,r)&&function(e){var r=em(e,_);function o(r,o){var n=o||{};n.ajaxDiagnosticsMessage=om(e,_),r&&(n.exception=ir(r)),im(t,14,Zv+"ajax call"+Qv,n)}r[kv]=jd(),r[uv]=e[uv],H("xmlhttprequest",r,(function(){try{var n=r[Sv]("Ajax",s,(function(){var r,o=((r={statusText:e[pv]})[bv]=null,r[Rv]=function(e){var r;try{var o=e[Tv]();if(null!==o&&-1!==am(o[tv](),wd[8]))return Ad(e.getResponseHeader(wd[0]))}catch(o){im(t,18,Jv,((r={})[Dv]=om(e,_),r[Iv]=ir(o),r))}}(e),r.type=e.responseType,r[Cv]=function(t){try{var e=t.responseType;if(""===e||"text"===e)return t[Cv]}catch(t){}return null}(e),r.response=e[Ev],r);if(h){var n=e[Tv]();if(n){var i=Lo(n).split(/[\r\n]+/),s={};vo(i,(function(t){var e=t.split(": "),r=e.shift(),o=e.join(": ");L(r)&&(s[r]=o)})),o[bv]=s}}return o})),i=void 0;try{w&&(i=w({status:e[uv],xhr:e}))}catch(e){im(t,104,Yv)}if(n){void 0!==i&&(n[Rg]=Fn(Fn({},n.properties),i));var a=r[$v]();F(S,t[Wg],r,n,null,a)}else o(null,{requestSentTime:r[gv],responseFinishedTime:r[kv]})}finally{try{var l=(e[Bv]||{i:{}}).i||{};l[_]&&(l[_]=null)}catch(t){}}}),(function(t){o(t,null)}))}(e)}catch(r){var n=ir(r);n&&-1!==am(n[tv](),"c00c023f")||nm(t,16,Kv+" 'readystatechange' event handler"+Gv,((o={})[Dv]=om(e,_),o[Iv]=n,o))}}),x)}(i,l))}},hkErr:sm(t,15,Kv+".open"+Gv)}),M(XMLHttpRequest,"send",{ns:x,req:function(e,r){if(!v){var o=e[Mg],n=em(o,_);N(o,n)&&!n.xhrMonitoringState[hv]&&(z("xhr",n),n[gv]=jd(),t[Kg](n,void 0,void 0,o),n.xhrMonitoringState[hv]=!0)}},hkErr:sm(t,17,Kv+Gv)}),M(XMLHttpRequest,"abort",{ns:x,req:function(t){if(!v){var e=t[Mg],r=em(e,_);N(e,r)&&!r.xhrMonitoringState[vv]&&(r[Vg]=1,r.xhrMonitoringState[vv]=!0)}},hkErr:sm(t,13,Kv+".abort"+Gv)}),M(XMLHttpRequest,"setRequestHeader",{ns:x,req:function(t,e,r){if(!v){var o=t[Mg],n=em(o,_);n&&N(o,n)&&(function(t,e,r){if(t){var o=(t[Bv]||{}).xh;o&&o.push({n:e,v:r})}}(o,e,r),s&&L(e)&&n&&(n[Qg][e]=r))}},hkErr:sm(t,71,Kv+".setRequestHeader"+Gv)}),o=!0)}))),function(){var e,n=!(e=Wr())||qe(e.Request)||qe(e.Request[zn])||qe(e[Wv])?null:e[Wv];if(n){var l=Wr(),c=n.polyfill;t[Bg](ol(i,(function(){m=!!i[cv],h=i[dv],m||r?c&&!j&&(D(hp(l,Wv,{ns:x,req:function(t,e,r){P(null,e,r)}})),j=!0):(D(hp(l,Wv,{ns:x,req:function(e,n,i){var l;if(!m&&r&&!P(null,n,i)&&(!c||!o)){var d=e.ctx();l=function(e,r){var o,n,i=q(),l=i&&i[mv]()||dd(),c=$r(dd(),0,16),d=new Vv(l,c,t[Fv](),null===(o=t.core)||void 0===o?void 0:o.getTraceCtx());if(d[zg]=i&&i[yv](),d[gv]=jd(),d[xv]=a,""===(n=e instanceof Request?(e||{}).url||"":e)){var u=pa();u&&u.href&&(n=Ko(u.href,"#")[0])}d[Lg]=n;var p="GET";r&&r[wv]?p=r[wv]:e&&e instanceof Request&&(p=e[wv]),d[wv]=p;var b={};return s&&new Headers((r?r[Gg]:0)||e instanceof Request&&e[Gg]||{}).forEach((function(t,e){L(e)&&(b[e]=t)})),d[Qg]=b,z(Wv,d),d}(n,i);var u=t[Kg](l,n,i);u!==i&&e.set(1,u),d.data=l}},rsp:function(e,r){if(!m){var o=e.ctx().data;o&&(e.rslt=e.rslt.then((function(e){return U(0,(e||{})[uv],r,e,o,(function(){var r,o=((r={statusText:(e||{})[pv]})[bv]=null,r[Rv]=function(e){var r;if(e&&e[Gg])try{return Ad(e[Gg].get(wd[0]))}catch(o){im(t,18,Jv,((r={fetchDiagnosticsMessage:V(e)})[Iv]=ir(o),r))}}(e),r);if(h&&e){var n={};e.headers.forEach((function(t,e){L(e)&&(n[e]=t)})),o[bv]=n}return o})),e})).catch((function(t){throw U(0,0,r,null,o,null,t.message||ir(t)),t})))}},hkErr:sm(t,15,"Failed to monitor Window.fetch"+Gv)},!0,no())),r=!0)}))),c&&(l[Wv].polyfill=c)}}(),(k=t[Wg].getPlugin(wc))&&(c=k.plugin[Hg]))},t._doTeardown=function(){R()},t.trackDependencyData=function(e,r){F(S,t[Wg],null,e,r)},t[Kg]=function(e,r,o,a){var l=t._currentWindowHost||n;if(function(t,e,r,o,n,i){var s;if(t[Pg]>0){var a=((s={})[Wg]=e,s.xhr=o,s.input=n,s.init=i,s.traceId=r[Ng],s.spanId=r[qg],s.traceFlags=r[zg],s.context=r[Hg]||{},s.aborted=!!r[Vg],s);cm(e,t,a,"listener"),r[Ng]=a[Ug],r[qg]=a[Fg],r[zg]=a[zg],r[Hg]=a[Hg]}}(k,t[Wg],e,a,r,o),r||""===r){if(Od(i,e[Xg](),l)){o||(o={});var p=new Headers(o[Gg]||r instanceof Request&&r[Gg]||{});if(u){var b="|"+e[Ng]+"."+e[qg];p.set(wd[3],b),s&&(e[Qg][wd[3]]=b)}if((h=A||c&&c.appId())&&(p.set(wd[0],wd[2]+h),s&&(e[Qg][wd[0]]=wd[2]+h)),d){qe(g=e[zg])&&(g=1);var f=yd(gd(e[Ng],e[qg],g));p.set(wd[4],f),s&&(e[Qg][wd[4]]=f)}o[Gg]=p}return o}if(a){var h,g;if(Od(i,e[Xg](),l))u&&(rm(a,wd[3])?im(t,71,"Unable to set ["+wd[3]+"] as it has already been set by another instance"):(b="|"+e[Ng]+"."+e[qg],a[Jg](wd[3],b),s&&(e[Qg][wd[3]]=b))),(h=A||c&&c.appId())&&(rm(a,wd[0])?im(t,71,"Unable to set ["+wd[0]+"] as it has already been set by another instance"):(a[Jg](wd[0],wd[2]+h),s&&(e[Qg][wd[0]]=wd[2]+h))),d&&(qe(g=e[zg])&&(g=1),rm(a,wd[4])?im(t,71,"Unable to set ["+wd[4]+"] as it has already been set by another instance"):(f=yd(gd(e[Ng],e[qg],g)),a[Jg](wd[4],f),s&&(e[Qg][wd[4]]=f)));return a}},t[Yg]=function(e,r,o){if(-1===f||l<f){2!==O&&1!==O||"string"!=typeof e.id||"."===e.id[e.id[Pg]-1]||(e.id+="."),qe(e[Zg])&&(e[Zg]=new Date);var n=qc(e,Md.dataType,Md.envelopeType,t[Fv](),r,o);t[Wg].track(n)}else l===f&&nm(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 lm(k,C++,t)},t.addDependencyInitializer=function(t){return lm(S,C++,t)}})),I}return Wn(e,t),e.prototype.processTelemetry=function(t,e){this.processNext(t,e)},e.prototype.addDependencyInitializer=function(t){return null},e.identifier="AjaxDependencyPlugin",e}(xp),hm=function(){},gm=function(){this.id="browser",this.deviceClass="Browser"},vm=function(t,e){var r=this,o=ol(t,(function(){var e=t.sdkExtension;r.sdkVersion=(e?e+"_":"")+"javascript:3.2.1"}));e&&e.add(o)},mm=function(){},ym="sessionManager",wm="update",xm="isUserCookieSet",_m="isNewUser",Cm="getTraceCtx",km="telemetryTrace",Sm="applySessionContext",Em="applyApplicationContext",Tm="applyDeviceContext",$m="applyOperationContext",Om="applyUserContext",Am="applyOperatingSystemContxt",jm="applyLocationContext",Im="applyInternalContext",Dm="accountId",Rm="getSessionId",Lm="namePrefix",Mm="userCookiePostfix",Pm="idLength",Nm="getNewId",qm="length",zm="automaticSession",Hm="authenticatedId",Vm="acquisitionDate",Um="renewalDate",Fm="join",Bm="cookieSeparator",Wm="authUserCookieName",Km=function(){},Xm=function(){function t(e,r,o){var n,i,s,a,l=gl(r),c=au(r);Mn(t,this,(function(t){e||(e={});var r=ol(e,(function(t){s=e.sessionExpirationMs||864e5,a=e.sessionRenewalMs||18e5;var r=e.sessionCookiePostfix||e[Lm]||"";n="ai_session"+r}));function d(t,e){var r=!1,o=", session will be reset",n=e.split("|");if(n[qm]>=2)try{var i=+n[1]||0,s=+n[2]||0;isNaN(i)||i<=0?yl(l,2,27,"AI session acquisition date is 0"+o):isNaN(s)||s<=0?yl(l,2,27,"AI session renewal date is 0"+o):n[0]&&(t.id=n[0],t[Vm]=i,t[Um]=s,r=!0)}catch(t){yl(l,1,9,"Error parsing ai_session value ["+(e||"")+"]"+o+" - "+Ps(t),{exception:ir(t)})}return r}function u(t,r){var o=t[Vm];t[Um]=r;var l,d=a,u=o+s-r,p=[t.id,o,r];l=u<d?u/1e3:d/1e3;var b=e.cookieDomain||null;c.set(n,p[Fm]("|"),s>0?l:null,b),i=r}o&&o.add(r),t[zm]=new Km,t[wm]=function(){var r=Oo(),o=!1,p=t[zm];if(p.id||(o=!function(t,e){var r=!1,o=c.get(n);if(o&&Ve(o.split))r=d(t,o);else{var i=fc(l,n);i&&(r=d(t,i))}return r||!!t.id}(p)),!o&&s>0){var b=r-p[Vm],f=r-p[Um];o=(o=(o=b<0||f<0)||b>s)||f>a}o?function(r){var o=e[Nm]||Oa;t.automaticSession.id=o(e[Pm]||22),t[zm][Vm]=r,u(t[zm],r),bc()||yl(l,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}(r):(!i||r-i>6e4)&&u(p,r)},t.backup=function(){var e,r,o,i=t[zm];e=i.id,r=i[Vm],o=i[Um],hc(l,n,[e,r,o][Fm]("|"))}}))}return t.__ieDyn=1,t}(),Gm=function(t,e,r,o){var n=this;n.traceID=t||dd(),n.parentID=e;var i=pa();!r&&i&&i.pathname&&(r=i.pathname),n.name=Ic(o,r)};function Qm(t){return!("string"!=typeof t||!t||t.match(/,|;|=| |\|/))}var Jm=function(){function t(e,r,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n,i=gl(r),s=au(r);Mn(t,this,(function(r){zr(r,"config",{g:function(){return e}});var a=ol(e,(function(){var o=e[Mm]||"";n=t.userCookieName+o;var a=s.get(n);if(a){r[_m]=!1;var u=a.split(t[Bm]);u[qm]>0&&(r.id=u[0],r[xm]=!!r.id)}if(!r.id){r.id=l(),d(c(r.id)[Fm](t[Bm]));var p=(e[Lm]||"")+"ai_session";!function(t,e){var r=cc();if(null!==r)try{return r[Ol](e),!0}catch(e){sc=!1,yl(t,2,5,"Browser failed removal of local storage item. "+Ps(e),{exception:ir(e)})}}(i,p)}r[Dm]=e[Dm]||void 0;var b=s.get(t[Wm]);if(b){var f=(b=decodeURI(b)).split(t[Bm]);f[0]&&(r[Hm]=f[0]),f[qm]>1&&f[1]&&(r[Dm]=f[1])}}));function l(){var t=e||{};return(t[Nm]||Oa)(t[Pm]?e[Pm]:22)}function c(t){var e=Ms(new Date);return r.accountAcquisitionDate=e,r[_m]=!0,[t,e]}function d(t){r[xm]=s.set(n,t,31536e3)}o&&o.add(a),r.setAuthenticatedUserContext=function(e,o,n){if(void 0===n&&(n=!1),!Qm(e)||o&&!Qm(o))yl(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[Hm]=e;var a=r[Hm];o&&(r[Dm]=o,a=[r[Hm],r.accountId][Fm](t[Bm])),n&&s.set(t[Wm],encodeURI(a))}},r.clearAuthenticatedUserContext=function(){r[Hm]=null,r[Dm]=null,s.del(t[Wm])},r[wm]=function(e){r.id===e&&r[xm]||d(c(e||l())[Fm](t[Bm]))}}))}return t.cookieSeparator="|",t.userCookieName="ai_user",t.authUserCookieName="ai_authUser",t}(),Ym="ext",Zm="tags";function ty(t,e){t&&t[e]&&0===pr(t[e])[qm]&&delete t[e]}function ey(){return null}var ry,oy,ny=function(){function t(e,r,o,n){var i=this,s=e.logger;Mn(t,this,(function(t){if(t.appId=ey,t[Rm]=ey,t.application=new hm,t.internal=new vm(r,n),Qr()){t[ym]=new Xm(r,e,n),t.device=new gm,t.location=new mm,t.user=new Jm(r,e,n);var a,l=void 0,c=void 0;o&&(l=o.getTraceId(),c=o.getSpanId(),a=o.getName()),t[km]=new Gm(l,c,a,s),t.session=new Km}t[Rm]=function(){var e=t.session,r=null;if(e&&He(e.id))r=e.id;else{var o=(t[ym]||{})[zm];r=o&&He(o.id)?o.id:null}return r},t[Sm]=function(e,r){Ns(qs(e.ext,"app"),"sesId",t[Rm](),He)},t[Am]=function(e,r){Ns(e.ext,"os",t.os)},t[Em]=function(e,r){var o=t.application;if(o){var n=qs(e,Zm);Ns(n,Pf.applicationVersion,o.ver,He),Ns(n,Pf.applicationBuild,o.build,He)}},t[Tm]=function(e,r){var o=t.device;if(o){var n=qs(qs(e,Ym),Lf);Ns(n,"localId",o.id,He),Ns(n,"ip",o.ip,He),Ns(n,"model",o.model,He),Ns(n,"deviceClass",o.deviceClass,He)}},t[Im]=function(e,r){var o=t.internal;if(o){var n=qs(e,Zm);Ns(n,Pf.internalAgentVersion,o.agentVersion,He),Ns(n,Pf.internalSdkVersion,Ic(s,o.sdkVersion,64),He),e.baseType!==hl.dataType&&e.baseType!==Wc.dataType||(Ns(n,Pf.internalSnippet,o.snippetVer,He),Ns(n,Pf.internalSdkSrc,o.sdkSrc,He))}},t[jm]=function(t,e){var r=i.location;r&&Ns(qs(t,Zm,[]),Pf.locationIp,r.ip,He)},t[$m]=function(e,r){var o=t[km];if(o){var n=qs(qs(e,Ym),Mf,{traceID:void 0,parentID:void 0});Ns(n,"traceID",o.traceID,He,qe),Ns(n,"name",o.name,He,qe),Ns(n,"parentID",o.parentID,He,qe)}},t.applyWebContext=function(t,e){var r=i.web;r&&Ns(qs(t,Ym),"web",r)},t[Om]=function(e,r){var o=t.user;if(o){Ns(qs(e,Zm,[]),Pf.userAccountId,o[Dm],He);var n=qs(qs(e,Ym),Rf);Ns(n,"id",o.id,He),Ns(n,"authId",o[Hm],He)}},t.cleanUp=function(t,e){var r=t.ext;r&&(ty(r,Lf),ty(r,Rf),ty(r,"web"),ty(r,"os"),ty(r,"app"),ty(r,Mf))}}))}return t.__ieDyn=1,t}(),iy=null,sy=br(((ry={})[Dm]=iy,ry.sessionRenewalMs=18e5,ry.samplingPercentage=100,ry.sessionExpirationMs=864e5,ry.cookieDomain=iy,ry.sdkExtension=iy,ry.isBrowserLinkTrackingEnabled=!1,ry.appId=iy,ry[Rm]=iy,ry[Lm]=oy,ry.sessionCookiePostfix=oy,ry[Mm]=oy,ry[Pm]=22,ry[Nm]=iy,ry));const ay=function(t){function e(){var r,o,n,i,s,a=t.call(this)||this;return a.priority=110,a.identifier=wc,Mn(e,a,(function(t,e){function a(){r=null,o=null,n=null,i=null,s=!0}a(),zr(t,"context",{g:function(){return i}}),t.initialize=function(a,l,c,d){e.initialize(a,l,c,d),function(e){var a=t.identifier,l=t.core;t._addHook(ol(e,(function(){var o=np(null,e,l);e.storagePrefix&&pc(e.storagePrefix),s=!1!==e.disableUserInitMessage,r=o.getExtCfg(a,sy),t._extConfig=r}))),n=l[Cm](!1),i=new ny(l,r,n,t._unloadHooks),o=Dd(t.context[km],n),l.setTraceCtx(o),t.context.appId=function(){var t=l.getPlugin(xc);return t?t.plugin._appId:null}}(a)},t.processTelemetry=function(e,r){if(!qe(e)){r=t._getTelCtx(r),e.name===Wc.envelopeType&&r.diagLog().resetInternalMessageCount();var o=i||{};o.session&&"string"!=typeof i.session.id&&o[ym]&&o[ym][wm]();var n=o.user;if(n&&!n[xm]&&n[wm](o.user.id),function(e,r){qs(e,"tags",[]),qs(e,"ext",{});var o=t.context;o[Sm](e,r),o[Em](e,r),o[Tm](e,r),o[$m](e,r),o[Om](e,r),o[Am](e,r),o.applyWebContext(e,r),o[jm](e,r),o[Im](e,r),o.cleanUp(e,r)}(e,r),n&&n[_m]&&(n[_m]=!1,!s)){var a=new hl(72,(eo()||{}).userAgent||"");!function(t,e,r){ml(t)[Vi](1,r)}(r.diagLog(),0,a)}t.processNext(e,r)}},t._doTeardown=function(t,e){var r=(t||{}).core();r&&r[Cm]&&r[Cm](!1)===o&&r.setTraceCtx(n),a()}})),a}return Wn(e,t),e.__ieDyn=1,e}(xp);var ly,cy,dy,uy,py,by="AuthenticatedUserContext",fy="track",hy="snippet",gy="flush",vy="pollInternalLogs",my="getPlugin",yy="evtNamespace",wy=fy+"Event",xy=fy+"Trace",_y=fy+"Metric",Cy=fy+"PageView",ky=fy+"Exception",Sy=fy+"DependencyData",Ey="set"+by,Ty="clear"+by,$y="version",Oy="queue",Ay="connectionString",jy="endpointUrl",Iy="userOverrideEndpointUrl",Dy="instrumentationKey",Ry="onunloadFlush",Ly="context",My="addHousekeepingBeforeUnload",Py="sendMessage",Ny=[hy,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"],qy="iKeyUsage",zy="CdnUsage",Hy="SdkLoaderVer",Vy=void 0,Uy={disabled:!0,limit:qd({samplingRate:100,maxSendNumber:1}),interval:qd({monthInterval:3,daysOfMonth:[28]})},Fy=((ly={})[Ay]=Vy,ly[jy]=Vy,ly[Dy]=Vy,ly[Iy]=Vy,ly.diagnosticLogInterval=Hd((function(t){return t&&t>0}),1e4),ly.featureOptIn=((cy={})[qy]={mode:3},cy[zy]={mode:2},cy[Hy]={mode:2},cy),ly.throttleMgrCfg=qd(((dy={})[109]=qd(Uy),dy[106]=qd(Uy),dy[111]=qd(Uy),dy[110]=qd(Uy),dy)),ly.extensionConfig=qd(((uy={}).AppInsightsCfgSyncPlugin=qd({cfgUrl:"https://js.monitor.azure.com/scripts/b/ai.config.1.cfg.json",syncMode:2}),uy)),ly),By=function(){function t(e){var r,o,n,i,s,a,l,c,d,u,p,b,f,h,g=this;Mn(t,this,(function(t){m(),zr(t,"config",{g:function(){return c}}),vo(["pluginVersionStringArr","pluginVersionString"],(function(e){zr(t,e,{g:function(){return l?l[e]:null}})})),i=""+(e.sv||e[$y]||""),e[Oy]=e[Oy]||[],e[$y]=e[$y]||2;var v=rl(e.config||{},Fy);function m(){s=Ra("AISKU"),a=null,r=null,o=null,n=null,i=null,p=null,b=!1,f=!1,h=!1,u=new bf}function y(){var t;a&&(zu([ku,Cu,_u],null,a),t=Mu(Su,a),zu([_u],null,t),zu([xu],null,t))}function w(t){l.addUnloadHook(t)}c=v.cfg,d=new Ob,zr(t,"appInsights",{g:function(){return d}}),o=new ay,r=new fm,n=new gg,l=new Ig,zr(t,"core",{g:function(){return l}}),w(ol(v,(function(){if(c[Ay]){var t=function(t){if(!t)return{};var e=t[Cl](";"),r=Co(e,(function(t,e){var r=e[Cl]("=");if(2===r[kl]){var o=r[0][Sl](),n=r[1];t[o]=n}return t}),{});if(pr(r)[kl]>0){if(r.endpointsuffix){var o=r.location?r.location+".":"";r[El]=r[El]||"https://"+o+"dc."+r.endpointsuffix}r[El]=r[El]||Tc,Go(r[El],"/")&&(r[El]=r[El].slice(0,-1))}return r}(c[Ay]),e=t.ingestionendpoint;c[jy]=c[Iy]?c[Iy]:e+$c,c[Dy]=t.instrumentationkey||c[Dy]}c[jy]=c[Iy]?c[Iy]:c[jy]}))),t[hy]=e,t[gy]=function(t,e){var r;return void 0===t&&(t=!0),Xu(l,(function(){return"AISKU.flush"}),(function(){t&&!e&&(r=Yb((function(t){e=t})));var o=1,n=function(){0==--o&&e()};vo(l.getChannels(),(function(e){e&&(o++,e[gy](t,n))})),n()}),null,t),r},t[Ry]=function(t){void 0===t&&(t=!0),vo(l.getChannels(),(function(e){e[Ry]?e[Ry]():e[gy](t)}))},t.loadAppInsights=function(e,s,a){return void 0===e&&(e=!1),e&&function(t){throw _o||(_o=$o("UnsupportedError")),new _o("Legacy Mode is no longer supported")}(),Xu(t.core,(function(){return"AISKU.loadAppInsights"}),(function(){l.initialize(c,[n,o,r,d,u],s,a),zr(t,"context",{g:function(){return o[Ly]}}),p||(p=new vg(l));var e=function(){if(py)return py;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="";vo(["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"],(function(t,e){if(-1!==Yo(r,t))return o="cdn"+(e+1),-1===Yo(r,"/scripts/")&&(-1!==Yo(r,"/next/")?o+="-next":-1!==Yo(r,"/beta/")&&(o+="-beta")),py=o+"",-1}))}}catch(t){}py=t}return py}();e&&t[Ly]&&(t[Ly].internal.sdkSrc=e),function(e){if(e){var r="";qe(i)||(r+=i),t[Ly]&&t[Ly].internal&&(t[Ly].internal.snippetVer=r||"-"),er(t,(function(t,r){He(t)&&!Ve(r)&&t&&"_"!==t[0]&&-1===mo(Ny,t)&&e[t]!==r&&(e[t]=r)}))}}(t[hy]),t.emptyQueue(),t[vy](),t[My](t),w(ol(v,(function(){var e=!1;c.throttleMgrCfg[109]&&(e=!c.throttleMgrCfg[109].disabled),!p.isReady()&&c.extensionConfig&&c.extensionConfig[u.identifier]&&e&&p.onReadyState(!0),b||c[Ay]||!Bs(qy,c)||(p[Py](106,"See Instrumentation key support at aka.ms/IkeyMigrate"),b=!0),!f&&t[Ly].internal.sdkSrc&&-1!=t[Ly].internal.sdkSrc.indexOf("az416426")&&Bs(zy,c)&&(p[Py](110,"See Cdn support notice at aka.ms/JsActiveCdn"),f=!0),!h&&parseInt(i)<6&&Bs(Hy,c)&&(p[Py](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&&Ue(t)&&Ue(e)){var o=function(o){if(He(o)){var n=e[o];Ve(n)?r&&!r(o)||(t[o]=zs(e,o)):r&&!r(o)||(Ze(t,o)&&delete t[o],zr(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===mo(Ny,t)}))},t.emptyQueue=function(){try{if(Fe(t.snippet[Oy])){for(var e=t.snippet[Oy].length,r=0;r<e;r++)(0,t.snippet[Oy][r])();t.snippet[Oy]=void 0,delete t.snippet[Oy]}}catch(t){t&&Ve(t.toString)&&t.toString()}},t[My]=function(e){if(Qr()||Xr()){var r=function(){if(e[Ry](!1),Ve(t.core[my])){var r=g.core[my](wc);if(r){var o=r.plugin;o&&o[Ly]&&o[Ly]._sessionManager&&o[Ly]._sessionManager.backup()}}},o=!1;a||(a=Mu(s,l[yy]&&l[yy]())),w(ol(c,(function(t){var n=t.cfg,i=e.appInsights,s=np(null,n,i.core).getExtCfg(i.identifier||_c);y();var c,d=n.disablePageUnloadEvents;s.disableFlushOnBeforeUnload||(function(t,e,r,o){var n=!1;return e&&t&&Fe(t)&&!(n=qu(t,e,r,o))&&r&&r[Qn]>0&&(n=qu(t,e,null,o)),n}([ku,Cu,_u],r,d,a)&&(o=!0),Hu(r,d,a)&&(o=!0),o||(c=eo())&&c.product&&"ReactNative"===c.product||yl(l.logger,1,19,"Could not add handler for beforeunload and pagehide")),o||s.disableFlushOnUnload||Hu(r,d,a)})))}},t.getSender=function(){return n},t.unload=function(e,r,o){var n,i=!1;return e&&!r&&(n=Yb((function(t){r=t}))),t[Ry](e),y(),l.unload&&l.unload(e,(function(t){i||(i=!0,m(),r&&r(t))}),o),n},Vs(t,d,["getCookieMgr",wy,Cy,"trackPageViewPerformance",ky,"_onerror",xy,_y,"startTrackPage","stopTrackPage","startTrackEvent","stopTrackEvent"]),Vs(t,(function(){return r}),[Sy,"addDependencyListener","addDependencyInitializer"]),Vs(t,l,["addTelemetryInitializer",vy,"stopPollingInternalLogs",my,"addPlugin",yy,"addUnloadCb","getTraceCtx","updateCfg","onCfgChange"]),Vs(t,(function(){var t=o[Ly];return t?t.user:null}),[Ey,Ty])}))}return t.prototype.addDependencyInitializer=function(t){return null},t}();class Wy{constructor(){this.config={},this.trackPageView=!1}}const Ky="AppInsightsConfigurationToken";let Xy=class{constructor(t){this.config=t,t.config?.connectionString||t.config?.instrumentationKey?(this.instance=new By(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}};Xy=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}([O(),function(t,e){return function(r,o){e(r,o,t)}}(0,$(Ky)),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Wy])],Xy),j.container.registerSingleton(Xy),j.container.register(re,{useToken:Xy}),j.container.register(Ky,{useFactory:function(){return j.container.resolve(D).getSection("ApplicationInsights").bind(Wy)}});var Gy=function(t,e){return function(r,o){e(r,o,t)}};let Qy=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(sw.WRITING_LOG,{detail:{logLevel:oe.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(sw.WRITING_LOG,{detail:{logLevel:oe.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(sw.WRITING_LOG,{detail:{logLevel:oe.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(sw.WRITING_LOG,{detail:{logLevel:oe.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(sw.WRITING_LOG,{detail:{logLevel:oe.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(sw.WRITING_LOG,{detail:{logLevel:oe.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(sw.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()))}};Qy=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}([O(),Gy(0,A(re)),Gy(1,A(se)),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[Array,Array])],Qy),j.container.register(ie,{useClass:Qy},{lifecycle:n.Singleton});const Jy=B`
|
|
25
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
26
|
/*# sourceMappingURL=qbo4.logging.min.css.map*/
|
|
27
|
-
`,
|
|
27
|
+
`,Yy=B`
|
|
28
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
29
|
`;B`
|
|
30
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
|
|
31
|
+
`;var Zy,tw=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},ew=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let rw=class extends Bt{static{Zy=this}static{this.styles=[Jy,Yy]}static{this.logLevelNames=Object.keys(oe).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={[oe.Trace]:0,[oe.Debug]:0,[oe.Information]:0,[oe.Warning]:0,[oe.Error]:0,[oe.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??oe.Information,message:t.detail?.message??`${t.type} raised from ${t.target}`,error:t.detail?.error??null,args:e}}async connectedCallback(){super.connectedCallback(),this.loggerService=j.getService(ie),this.logs=this.loggerService.getLogs(),window.addEventListener(sw.WRITE_LOG,this.addLog),this.window&&(window.addEventListener("error",this.logWindowError),window.addEventListener("unhandledrejection",this.logRejection))}async disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(sw.WRITE_LOG,this.addLog),window.removeEventListener("error",this.logWindowError),window.removeEventListener("unhandledrejection",this.logRejection)}renderLogCounts(){this.querySelectorAll("[data-loglevel]").forEach((t=>{const e=function(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}(oe,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
32
|
${this.showModal?$t`
|
|
33
33
|
<div class="modal show" @click="${this.hideLogs}">
|
|
34
34
|
<div class="modal-dialog modal-xl" role="document" @click="${t=>t.stopPropagation()}">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</div>
|
|
41
41
|
<div class="modal-body">
|
|
42
42
|
<div class="log-list">
|
|
43
|
-
${this.logs.filter((t=>null!==t)).map((t=>$t`<div class="log-item ${
|
|
43
|
+
${this.logs.filter((t=>null!==t)).map((t=>$t`<div class="log-item ${Zy.logLevelNames[t.logLevel]}">${t.message}</div>`))}
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="modal-footer">
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
</div>`:""}
|
|
52
|
-
`}};
|
|
52
|
+
`}};tw([Qt({type:Boolean}),ew("design:type",Object)],rw.prototype,"debug",void 0),tw([Qt({type:Boolean}),ew("design:type",Object)],rw.prototype,"info",void 0),tw([Qt({type:Boolean}),ew("design:type",Object)],rw.prototype,"warning",void 0),tw([Qt({type:Boolean}),ew("design:type",Object)],rw.prototype,"error",void 0),tw([Qt({type:Boolean}),ew("design:type",Object)],rw.prototype,"critial",void 0),tw([Qt({type:Boolean}),ew("design:type",Object)],rw.prototype,"window",void 0),tw([Qt({type:Array}),ew("design:type",Array)],rw.prototype,"logs",void 0),tw([Qt({type:Object}),ew("design:type",Object)],rw.prototype,"logCounts",void 0),tw([Qt({type:Boolean}),ew("design:type",Object)],rw.prototype,"showModal",void 0),rw=Zy=tw([Kt("qbo-logging"),ew("design:paramtypes",[])],rw);var ow=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},nw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};class iw extends Bt{constructor(){super(...arguments),this.selector="",this.cssClass="",this.selectorRoot=""}static{this.styles=[Yy]}render(){return $t`<slot>
|
|
53
53
|
<input type="text" @input="${this.handleInput}" placeholder="Filter ...">
|
|
54
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")}))}}Zy([Jt({type:String}),tw("design:type",Object)],ew.prototype,"selector",void 0),Zy([Jt({type:String}),tw("design:type",Object)],ew.prototype,"cssClass",void 0),Zy([Jt({type:String}),tw("design:type",Object)],ew.prototype,"selectorRoot",void 0),customElements.define("qbo-find",ew);const rw={WRITE_LOG:"qbo-log",WRITING_LOG:"qbo-log-write"};function ow(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=ow(o,e);if(t)return t}}return null}function nw(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 iw(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=nw(n.firstElementChild?.innerHTML??"",r)),t.appendChild(n)}))}}class sw{constructor(t,e={"Content-Type":"application/json"},r=null){this.relativePath="",this.apiEndpoint=t,this.headers=e,this.method=r}async fetch(t,e=null){const r=nw(new URL(t??this.relativePath,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()}clone(t){const e=new sw(this.apiEndpoint,this.headers,this.method);return e.relativePath=t??"",e}}function aw(t,e,r={"Content-Type":"application/json"},o){I.container.registerInstance(t,new sw(e,r,o))}I.container.registerInstance("default",new sw(document.querySelector("base[href]")?.getAttribute("href")||window.location.origin));const lw="ApiServiceToken",cw="ValidateToken";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 uw=class{constructor(){this.message="Zip code is invalid",this.selector=".zipcode"}validate(t){return Promise.resolve(!0)}connect(t){}disconnect(){}};uw=dw([O()],uw),I.container.register(cw,{useClass:uw});let pw=class{constructor(){this.message="Email is invalid",this.selector=".email"}validate(t){return Promise.resolve(!0)}connect(t){}disconnect(){}};pw=dw([O()],pw),I.container.register(cw,{useClass:pw});let bw=class{constructor(){this.message="This value does not appear to exist.",this.selector="[data-exists]"}connect(t){}disconnect(){}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 sw(e);if(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement){const e=ow(await o.fetch(r,{value:t.value}));return null!=e&&e.length>0}return!1}};bw=dw([O()],bw),I.container.register(cw,{useClass:bw});class fw{constructor(){this.operator="=",this.value=null}}class hw{constructor(){this.evaluators=[],this.depends="",this.condition="or",this.emptyOnDisable=!1,this.resetOnDisable=!0,this.disabledClass="disabled",this.disableChildren=!0}}const gw="DependencyValidatorOptions",vw=new Map([["!=",(t,e)=>!GT(t.value,e)],[">=",(t,e)=>t.value>=e],["<=",(t,e)=>t.value<=e],["=",(t,e)=>GT(t.value,e)],[">",(t,e)=>t.value>e],["<",(t,e)=>t.value<e]]),mw=Array.from(vw.keys());let yw=class{constructor(t,e){this.message="Dependency condition not met",this.selector="[data-depend-options]",this.optionsCache=new Map,this.checkDependencies=async t=>{console.log("checking dependencies",this.optionsCache);for(const[t,e]of this.optionsCache)await this.validate(t)},this.form=t,this.options=e,this.currentOptions=e}connect(t){this.form.querySelectorAll(this.selector).forEach((t=>{t instanceof HTMLElement&&this.getOptions(t)})),this.optionsCache.forEach(((t,e)=>{this.validate(e)})),this.form.addEventListener("change",this.checkDependencies)}disconnect(){this.form.removeEventListener("change",this.checkDependencies)}async validate(t){const e=this.getOptions(t);if(null==e)return Promise.resolve(!0);let r;r="or"===e.condition?e.evaluators.some((t=>!0===t())):e.evaluators.every((t=>!0===t())),(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement)&&(t.disabled=!r),t.classList.toggle(e.disabledClass,!r);const o=WT(t,"input,select,textarea");return r?e.disableChildren&&o.forEach((t=>t.removeAttribute("disabled"))):(e.disableChildren&&o.forEach((t=>t.setAttribute("disabled","disabled"))),e.resetOnDisable?o.forEach((t=>KT(t))):e.emptyOnDisable&&o.forEach((t=>XT(t)))),Promise.resolve(r)}getOptions(t){let e=this.optionsCache.get(t);if(!e){try{e=Object.assign({},this.options,BT(t,"data-depend-"))}catch(t){console.error("Error parsing data-depend-options attribute:",t)}if(!e)return null;e.evaluators=e.depends.split(",").map((t=>{t=t.trim();let e=mw.find((e=>t.includes(e)))??"!=",r=null,o="";if(e){const n=t.split(e);r=n[0],o=n[1]??""}else t.startsWith("!")?(e="=",r=t.substring(1)):r=t;const n=this.form.querySelector(`#${CSS.escape(r)}`)??this.form.querySelector(`[name="${CSS.escape(r)}"]`);return n instanceof HTMLInputElement?"checkbox"===n.type||"radio"===n.type?"!="===e?()=>n.checked:()=>!n.checked:()=>vw.get(e)(n,o):n instanceof HTMLSelectElement?()=>vw.get(e)(n,o):n instanceof HTMLOptionElement?"!="===e?()=>n.selected:()=>!n.selected:void 0})).filter((t=>void 0!==t)),this.optionsCache.set(t,e)}return e}getElement(t){return this.form.querySelector(`#${CSS.escape(t)}`)??this.form.querySelector(`[name="${CSS.escape(t)}"]`)}};yw=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}([O(),function(t,e){return function(r,o){e(r,o,t)}}(1,$(gw)),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[HTMLFormElement,hw])],yw),I.container.register(gw,{useValue:new hw}),I.container.register(cw,{useClass:yw});var ww=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},_w=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let xw=class extends Bt{constructor(){super(...arguments),this.name=null,this.apiEndpoint=null,this.method="POST"}connectedCallback(){super.connectedCallback();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),this.apiEndpoint?.startsWith("http")||(this.apiEndpoint=new URL(this.apiEndpoint??"",document.location.origin).href),aw(this.name,this.apiEndpoint,t,this.method)}render(){return $t``}};ww([Jt({type:String}),_w("design:type",Object)],xw.prototype,"name",void 0),ww([Jt({type:String}),_w("design:type",Object)],xw.prototype,"apiEndpoint",void 0),ww([Jt({type:String}),_w("design:type",String)],xw.prototype,"method",void 0),xw=ww([Kt("qbo-api")],xw);var Cw=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},kw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};const Sw=(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 Cw([Jt({type:URL}),kw("design:type",Object)],e.prototype,"apiEndpoint",void 0),Cw([Jt({type:String}),kw("design:type",Object)],e.prototype,"method",void 0),Cw([Jt({type:Boolean}),kw("design:type",Object)],e.prototype,"error",void 0),Cw([Jt({type:Object}),kw("design:type",Object)],e.prototype,"jsonData",void 0),Cw([Jt({type:String}),kw("design:type",Object)],e.prototype,"accept",void 0),Cw([Jt({type:String}),kw("design:type",Object)],e.prototype,"headerTag",void 0),Cw([Jt({type:String}),kw("design:type",Object)],e.prototype,"html",void 0),Cw([Jt({type:Boolean}),kw("design:type",Object)],e.prototype,"fetchOnLoad",void 0),e})(Bt);var Ew=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},Tw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let $w=class extends Sw{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")??""}))}};Ew([Jt({type:Boolean}),Tw("design:type",Object)],$w.prototype,"loading",void 0),Ew([Jt(),Tw("design:type",Object)],$w.prototype,"target",void 0),Ew([Jt(),Tw("design:type",Array)],$w.prototype,"values",void 0),Ew([Jt(),Tw("design:type",Object)],$w.prototype,"selector",void 0),$w=Ew([Kt("qbo-badge")],$w);var Ow=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},Aw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let Iw=class extends Bt{constructor(){super(...arguments),this.apiEndpoint="qbo",this.colFourClass="qbo-col-4",this.colSixClass="qbo-col-6",this.colThreeClass="qbo-col-3",this.colTwelveClass="qbo-col-12",this.contactId=null,this.contactLabel="Contact",this.contactName="Contact",this.disabled=!0,this.divSectionHeaderClass="qbo-header",this.formControlSmallClass="qbo-sm",this.formLabelSmallClass="qbo-sm",this.formSelectSmallClass="qbo-sm",this.renderInHost=!0,this.jsonData={}}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}async connectedCallback(){super.connectedCallback();const t=I.container.isRegistered(this.apiEndpoint)?I.container.resolve(this.apiEndpoint):new sw(this.apiEndpoint);this.jsonData=await t.fetch("contact/summary",{ID:`${this.contactId}`})}render(){return null==this.jsonData||null==this.jsonData.Root||null==this.jsonData.Root.ContactItem&&null!=this.contactId?$t`<p>Loading...</p>`:$t`<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")}))}}ow([Qt({type:String}),nw("design:type",Object)],iw.prototype,"selector",void 0),ow([Qt({type:String}),nw("design:type",Object)],iw.prototype,"cssClass",void 0),ow([Qt({type:String}),nw("design:type",Object)],iw.prototype,"selectorRoot",void 0),customElements.define("qbo-find",iw);const sw={WRITE_LOG:"qbo-log",WRITING_LOG:"qbo-log-write"};function aw(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=aw(o,e);if(t)return t}}return null}function lw(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 cw(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=lw(n.firstElementChild?.innerHTML??"",r)),t.appendChild(n)}))}}class dw{constructor(t,e={"Content-Type":"application/json"},r=null){this.relativePath="",this.apiEndpoint=t,this.headers=e,this.method=r}async fetch(t,e=null){const r=lw(new URL(t??this.relativePath,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()}clone(t){const e=new dw(this.apiEndpoint,this.headers,this.method);return e.relativePath=t??"",e}}function uw(t,e,r={"Content-Type":"application/json"},o){j.container.registerInstance(t,new dw(e,r,o))}j.container.registerInstance("default",new dw(document.querySelector("base[href]")?.getAttribute("href")||window.location.origin));const pw="ApiServiceToken",bw="ValidateToken";var fw=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 hw=class{constructor(){this.message="Zip code is invalid",this.selector=".zipcode"}validate(t){return Promise.resolve(!0)}connect(t){}disconnect(){}};hw=fw([O()],hw),j.container.register(bw,{useClass:hw});let gw=class{constructor(){this.message="Email is invalid",this.selector=".email"}validate(t){return Promise.resolve(!0)}connect(t){}disconnect(){}};gw=fw([O()],gw),j.container.register(bw,{useClass:gw});let vw=class{constructor(){this.message="This value does not appear to exist.",this.selector="[data-exists]"}connect(t){}disconnect(){}async validate(t){var e=t.getAttribute("data-exists");if(!e)return!1;var r=t.getAttribute("data-exists-path");const o=j.container.isRegistered(e)?j.container.resolve(e):new dw(e);if(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement){const e=aw(await o.fetch(r,{value:t.value}));return null!=e&&e.length>0}return!1}};vw=fw([O()],vw),j.container.register(bw,{useClass:vw});class mw{constructor(){this.operator="=",this.value=null}}class yw{constructor(){this.evaluators=[],this.depends="",this.condition="or",this.emptyOnDisable=!1,this.resetOnDisable=!0,this.disabledClass="disabled",this.disableChildren=!0}}const ww="DependencyValidatorOptions",xw=new Map([["!=",(t,e)=>!o$(t.value,e)],[">=",(t,e)=>t.value>=e],["<=",(t,e)=>t.value<=e],["=",(t,e)=>o$(t.value,e)],[">",(t,e)=>t.value>e],["<",(t,e)=>t.value<e]]),_w=Array.from(xw.keys());let Cw=class{constructor(t,e){this.message="Dependency condition not met",this.selector="[data-depend-options]",this.optionsCache=new Map,this.checkDependencies=async t=>{console.log("checking dependencies",this.optionsCache);for(const[t,e]of this.optionsCache)await this.validate(t)},this.form=t,this.options=e,this.currentOptions=e}connect(t){this.form.querySelectorAll(this.selector).forEach((t=>{t instanceof HTMLElement&&this.getOptions(t)})),this.optionsCache.forEach(((t,e)=>{this.validate(e)})),this.form.addEventListener("change",this.checkDependencies)}disconnect(){this.form.removeEventListener("change",this.checkDependencies)}async validate(t){const e=this.getOptions(t);if(null==e)return Promise.resolve(!0);let r;r="or"===e.condition?e.evaluators.some((t=>!0===t())):e.evaluators.every((t=>!0===t())),(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement)&&(t.disabled=!r),t.classList.toggle(e.disabledClass,!r);const o=t$(t,"input,select,textarea");return r?e.disableChildren&&o.forEach((t=>t.removeAttribute("disabled"))):(e.disableChildren&&o.forEach((t=>t.setAttribute("disabled","disabled"))),e.resetOnDisable?o.forEach((t=>e$(t))):e.emptyOnDisable&&o.forEach((t=>r$(t)))),Promise.resolve(r)}getOptions(t){let e=this.optionsCache.get(t);if(!e){try{e=Object.assign({},this.options,ZT(t,"data-depend-"))}catch(t){console.error("Error parsing data-depend-options attribute:",t)}if(!e)return null;e.evaluators=e.depends.split(",").map((t=>{t=t.trim();let e=_w.find((e=>t.includes(e)))??"!=",r=null,o="";if(e){const n=t.split(e);r=n[0],o=n[1]??""}else t.startsWith("!")?(e="=",r=t.substring(1)):r=t;const n=this.form.querySelector(`#${CSS.escape(r)}`)??this.form.querySelector(`[name="${CSS.escape(r)}"]`);return n instanceof HTMLInputElement?"checkbox"===n.type||"radio"===n.type?"!="===e?()=>n.checked:()=>!n.checked:()=>xw.get(e)(n,o):n instanceof HTMLSelectElement?()=>xw.get(e)(n,o):n instanceof HTMLOptionElement?"!="===e?()=>n.selected:()=>!n.selected:void 0})).filter((t=>void 0!==t)),this.optionsCache.set(t,e)}return e}getElement(t){return this.form.querySelector(`#${CSS.escape(t)}`)??this.form.querySelector(`[name="${CSS.escape(t)}"]`)}};Cw=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}([O(),function(t,e){return function(r,o){e(r,o,t)}}(1,$(ww)),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:paramtypes",[HTMLFormElement,yw])],Cw),j.container.register(ww,{useValue:new yw}),j.container.register(bw,{useClass:Cw});var kw=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},Sw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let Ew=class extends Bt{constructor(){super(...arguments),this.name=null,this.apiEndpoint=null,this.method="POST"}connectedCallback(){super.connectedCallback();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),this.apiEndpoint?.startsWith("http")||(this.apiEndpoint=new URL(this.apiEndpoint??"",document.location.origin).href),uw(this.name,this.apiEndpoint,t,this.method)}render(){return $t``}};kw([Qt({type:String}),Sw("design:type",Object)],Ew.prototype,"name",void 0),kw([Qt({type:String}),Sw("design:type",Object)],Ew.prototype,"apiEndpoint",void 0),kw([Qt({type:String}),Sw("design:type",String)],Ew.prototype,"method",void 0),Ew=kw([Kt("qbo-api")],Ew);var Tw=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},$w=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};const Ow=(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 Tw([Qt({type:URL}),$w("design:type",Object)],e.prototype,"apiEndpoint",void 0),Tw([Qt({type:String}),$w("design:type",Object)],e.prototype,"method",void 0),Tw([Qt({type:Boolean}),$w("design:type",Object)],e.prototype,"error",void 0),Tw([Qt({type:Object}),$w("design:type",Object)],e.prototype,"jsonData",void 0),Tw([Qt({type:String}),$w("design:type",Object)],e.prototype,"accept",void 0),Tw([Qt({type:String}),$w("design:type",Object)],e.prototype,"headerTag",void 0),Tw([Qt({type:String}),$w("design:type",Object)],e.prototype,"html",void 0),Tw([Qt({type:Boolean}),$w("design:type",Object)],e.prototype,"fetchOnLoad",void 0),e})(Bt);var Aw=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},jw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let Iw=class extends Ow{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")??""}))}};Aw([Qt({type:Boolean}),jw("design:type",Object)],Iw.prototype,"loading",void 0),Aw([Qt(),jw("design:type",Object)],Iw.prototype,"target",void 0),Aw([Qt(),jw("design:type",Array)],Iw.prototype,"values",void 0),Aw([Qt(),jw("design:type",Object)],Iw.prototype,"selector",void 0),Iw=Aw([Kt("qbo-badge")],Iw);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},Rw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let Lw=class extends Bt{constructor(){super(...arguments),this.apiEndpoint="qbo",this.colFourClass="qbo-col-4",this.colSixClass="qbo-col-6",this.colThreeClass="qbo-col-3",this.colTwelveClass="qbo-col-12",this.contactId=null,this.contactLabel="Contact",this.contactName="Contact",this.disabled=!0,this.divSectionHeaderClass="qbo-header",this.formControlSmallClass="qbo-sm",this.formLabelSmallClass="qbo-sm",this.formSelectSmallClass="qbo-sm",this.renderInHost=!0,this.jsonData={}}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}async connectedCallback(){super.connectedCallback();const t=j.container.isRegistered(this.apiEndpoint)?j.container.resolve(this.apiEndpoint):new dw(this.apiEndpoint);this.jsonData=await t.fetch("contact/summary",{ID:`${this.contactId}`})}render(){return null==this.jsonData||null==this.jsonData.Root||null==this.jsonData.Root.ContactItem&&null!=this.contactId?$t`<p>Loading...</p>`:$t`<slot>
|
|
56
56
|
<div class="${this.colSixClass}">
|
|
57
57
|
<label for="${this.contactName}" class="${this.formLabelSmallClass}">${this.contactLabel}</label>
|
|
58
58
|
<qbo-contact-name class="${this.formControlSmallClass}" name="${this.contactName}" .data="${this.jsonData.Root.ContactItem}"></qbo-contact-name>
|
|
@@ -129,19 +129,19 @@
|
|
|
129
129
|
</div>
|
|
130
130
|
<div class="${this.colThreeClass}">
|
|
131
131
|
<label for="BirthDate" class="${this.formLabelSmallClass}">Birth Date</label>
|
|
132
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="BirthDate" value="${
|
|
132
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="BirthDate" value="${s$(this.jsonData.Root.ContactItem?.BirthDate)}"/>
|
|
133
133
|
</div>
|
|
134
134
|
<div class="${this.colThreeClass}">
|
|
135
135
|
<label for="DeathDate" class="${this.formLabelSmallClass}">Death Date</label>
|
|
136
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="DeathDate" value="${
|
|
136
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="DeathDate" value="${s$(this.jsonData.Root.ContactItem?.DeathDate)}"/>
|
|
137
137
|
</div>
|
|
138
138
|
<div class="${this.colThreeClass}">
|
|
139
139
|
<label for="ValidStart" class="${this.formLabelSmallClass}">Valid Start</label>
|
|
140
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="ValidStart" value="${
|
|
140
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="ValidStart" value="${s$(this.jsonData.Root.ContactItem?.ValidStart)}"/>
|
|
141
141
|
</div>
|
|
142
142
|
<div class="${this.colThreeClass}">
|
|
143
143
|
<label for="ValidEnd" class="${this.formLabelSmallClass}">Valid End</label>
|
|
144
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="ValidEnd" value="${
|
|
144
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="ValidEnd" value="${s$(this.jsonData.Root.ContactItem?.ValidEnd)}"/>
|
|
145
145
|
</div>
|
|
146
146
|
<div class="${this.colSixClass}">
|
|
147
147
|
<label for="VerifiedSource" class="${this.formLabelSmallClass}">Verified Source</label>
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
</div>
|
|
150
150
|
<div class="${this.colThreeClass}">
|
|
151
151
|
<label for="VerifiedDate" class="${this.formLabelSmallClass}">Verified Date</label>
|
|
152
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="VerifiedDate" value="${
|
|
152
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="VerifiedDate" value="${s$(this.jsonData.Root.ContactItem?.VerifiedDate)}"/>
|
|
153
153
|
</div>
|
|
154
154
|
<div class="${this.colThreeClass}">
|
|
155
155
|
<label for="VerifiedConfidence" class="${this.formLabelSmallClass}">Verified Confidence</label>
|
|
@@ -164,15 +164,15 @@
|
|
|
164
164
|
</div>
|
|
165
165
|
<div class="${this.colThreeClass}">
|
|
166
166
|
<label for="SCRAStatusAsOf" class="${this.formLabelSmallClass}">SCRA Status As Of</label>
|
|
167
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRAStatusAsOf" value="${
|
|
167
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRAStatusAsOf" value="${s$(this.jsonData.Root.ContactItem?.SCRAStatusAsOf)}"/>
|
|
168
168
|
</div>
|
|
169
169
|
<div class="${this.colThreeClass}">
|
|
170
170
|
<label for="SCRAStartDate" class="${this.formLabelSmallClass}">SCRA Start Date</label>
|
|
171
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRAStartDate" value="${
|
|
171
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRAStartDate" value="${s$(this.jsonData.Root.ContactItem?.SCRAStartDate)}"/>
|
|
172
172
|
</div>
|
|
173
173
|
<div class="${this.colThreeClass}">
|
|
174
174
|
<label for="SCRADischargeDate" class="${this.formLabelSmallClass}">SCRA Discharge Date</label>
|
|
175
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRADischargeDate" value="${
|
|
175
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRADischargeDate" value="${s$(this.jsonData.Root.ContactItem?.SCRADischargeDate)}"/>
|
|
176
176
|
</div>
|
|
177
177
|
<div class="${this.colThreeClass}">
|
|
178
178
|
<label for="SCRAVerified" class="${this.formLabelSmallClass}">SCRA Verified</label>
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
<div class="${this.colThreeClass}">
|
|
182
182
|
<label for="SCRAVerifiedDate" class="${this.formLabelSmallClass}">SCRA Verified Date</label>
|
|
183
|
-
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRAVerifiedDate" value="${
|
|
183
|
+
<input type="date" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRAVerifiedDate" value="${s$(this.jsonData.Root.ContactItem?.SCRAVerifiedDate)}"/>
|
|
184
184
|
</div>
|
|
185
185
|
<div class="${this.colThreeClass}">
|
|
186
186
|
<label for="SCRASource" class="${this.formLabelSmallClass}">SCRA Source</label>
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
<input type="number" ?disabled=${this.disabled} class="${this.formControlSmallClass}" name="SCRAID" value="${this.jsonData.Root.ContactItem?.SCRAID}"/>
|
|
192
192
|
</div>
|
|
193
193
|
<qbo-form-edit .data="${this.jsonData.Root.ContactItem}"></qbo-form-edit>
|
|
194
|
-
</slot>`}};
|
|
194
|
+
</slot>`}};Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"apiEndpoint",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"colFourClass",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"colSixClass",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"colThreeClass",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"colTwelveClass",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"contactId",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"contactLabel",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"contactName",void 0),Dw([Qt({type:Boolean}),Rw("design:type",Object)],Lw.prototype,"disabled",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"divSectionHeaderClass",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"formControlSmallClass",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"formLabelSmallClass",void 0),Dw([Qt({type:String}),Rw("design:type",Object)],Lw.prototype,"formSelectSmallClass",void 0),Dw([Qt({type:Boolean}),Rw("design:type",Object)],Lw.prototype,"renderInHost",void 0),Dw([Qt({type:Object}),Rw("design:type",Object)],Lw.prototype,"jsonData",void 0),Lw=Dw([Kt("qbo-contact")],Lw);var Mw,Pw=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},Nw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let qw=class extends Bt{static{Mw=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=j.container.resolve(ie)}connectedCallback(){super.connectedCallback(),this.templateNode=document.getElementById(this.template),this.templateNode&&(this.appendChild(this.templateNode.content.cloneNode(!0)),this.innerHTML=lw(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 $t`<slot></slot>`}establishFormData(){const t=this.shadowRoot?.querySelectorAll("input, select, textarea");if(!t||0===t?.length)return;const e=Array.from(t).filter((t=>!t.assignedSlot&&(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof Mw)&&t.name));e.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 Mw)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)}};Pw([Qt({type:FormData}),Nw("design:type",FormData)],qw.prototype,"value",void 0),Pw([Qt({type:String}),Nw("design:type",Object)],qw.prototype,"template",void 0),Pw([Qt({type:String}),Nw("design:type",Object)],qw.prototype,"name",void 0),Pw([Qt({type:Object}),Nw("design:type",Object)],qw.prototype,"data",void 0),qw=Mw=Pw([Kt("qbo-form-element"),Nw("design:paramtypes",[])],qw);var zw=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},Hw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};const Vw=new Map;Vw.set("defaultLayout",(t=>$t`<div slot="content" class="${t.slotClass}">
|
|
195
195
|
<input type="text" ?disabled=${t.disabled} class="${t.getAttribute("class")}" name="${t.getAttribute("name")}" value="${t.data?.Contact}"/>
|
|
196
196
|
<qbo-popup>
|
|
197
197
|
<div slot="button">
|
|
@@ -219,38 +219,38 @@
|
|
|
219
219
|
</div>
|
|
220
220
|
</div>
|
|
221
221
|
</qbo-popup>
|
|
222
|
-
</div>`));let
|
|
222
|
+
</div>`));let Uw=class extends qw{constructor(){super(...arguments),this.buttonClass="qbo-secondary",this.disabled=!0,this.elementClass="qbo-sm",this.elementStackedTopClass="qbo-sm-top",this.icon="qbo-icon-person-lines-fill",this.modalBodyDivClass="qbo-modal-body",this.modalContentDivClass="qbo-modal-content",this.modalDivClass="qbo-modal",this.modalDialogDivClass="qbo-modal-dialog",this.modalFooterDivClass="qbo-modal-footer",this.modalHeaderDivClass="qbo-modal-header",this.modalHeaderText="Contact Name",this.slotClass="qbo-input-group",this.spanClass="qbo-input-group-text qbo-pointer",this.type="defaultLayout",this.renderInHost=!0}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}render(){return $t`<slot>${Vw.has(this.type)?Vw.get(this.type)(this):null}</slot>`}};zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"buttonClass",void 0),zw([Qt({type:Boolean}),Hw("design:type",Object)],Uw.prototype,"disabled",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"elementClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"elementStackedTopClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"icon",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"modalBodyDivClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"modalContentDivClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"modalDivClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"modalDialogDivClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"modalFooterDivClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"modalHeaderDivClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"modalHeaderText",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"slotClass",void 0),zw([Qt({type:String}),Hw("design:type",Object)],Uw.prototype,"spanClass",void 0),zw([Qt(),Hw("design:type",Object)],Uw.prototype,"type",void 0),zw([Qt({type:Boolean}),Hw("design:type",Object)],Uw.prototype,"renderInHost",void 0),Uw=zw([Kt("qbo-contact-name")],Uw);var Fw=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},Bw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let Ww=class extends Ow{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=aw(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),$t`
|
|
223
223
|
<datalist id=${this.listId}>
|
|
224
224
|
${this.options.map((t=>$t`<option value="${t[this.text]}" data-value="${t[this.value]}"/>`))}
|
|
225
|
-
</datalist>`):$t``}};
|
|
225
|
+
</datalist>`):$t``}};Fw([Qt({type:String}),Bw("design:type",Object)],Ww.prototype,"listId",void 0),Fw([Qt({type:Number}),Bw("design:type",Object)],Ww.prototype,"min",void 0),Fw([Qt({type:Array}),Bw("design:type",Object)],Ww.prototype,"options",void 0),Fw([Qt({type:Boolean}),Bw("design:type",Object)],Ww.prototype,"renderInHost",void 0),Fw([Qt({type:String}),Bw("design:type",Object)],Ww.prototype,"text",void 0),Fw([Qt({type:String}),Bw("design:type",Object)],Ww.prototype,"value",void 0),Fw([Qt({type:Boolean}),Bw("design:type",Object)],Ww.prototype,"fetchOnLoad",void 0),Ww=Fw([Kt("qbo-datalist")],Ww);var Kw=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},Xw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let Gw=class extends Ow{constructor(){super(...arguments),this.open=!1,this.loading=!1,this.renderInHost=!1}static{this.styles=[B`
|
|
226
226
|
/* Add any custom styles here */
|
|
227
227
|
.foo { color: red; }
|
|
228
|
-
`]}async connectedCallback(){super.connectedCallback()}render(){return $t`<iframe src='sample.pdf' width='100%' height='800px' frameborder='0'></iframe>`}};
|
|
228
|
+
`]}async connectedCallback(){super.connectedCallback()}render(){return $t`<iframe src='sample.pdf' width='100%' height='800px' frameborder='0'></iframe>`}};Kw([Qt({type:Boolean}),Xw("design:type",Object)],Gw.prototype,"open",void 0),Kw([Qt({type:Boolean}),Xw("design:type",Object)],Gw.prototype,"loading",void 0),Kw([Qt({type:Boolean}),Xw("design:type",Object)],Gw.prototype,"renderInHost",void 0),Gw=Kw([Kt("qbo-docviewer")],Gw);var Qw=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},Jw=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};const Yw=new Map;Yw.set("defaultLayout",(t=>$t`<div slot="content">
|
|
229
229
|
<span>Created:</span>
|
|
230
230
|
<br/>
|
|
231
|
-
<span>${
|
|
231
|
+
<span>${a$(t.CreatedDate)}</span>
|
|
232
232
|
<br/>
|
|
233
233
|
<span>${t.CreatedPerson}</span>
|
|
234
234
|
<br/>
|
|
235
235
|
<br/>
|
|
236
236
|
<span>Updated:</span>
|
|
237
237
|
<br/>
|
|
238
|
-
<span>${
|
|
238
|
+
<span>${a$(t.UpdatedDate)}</span>
|
|
239
239
|
<br/>
|
|
240
240
|
<span>${t.UpdatedPerson}</span>
|
|
241
|
-
</div>`)),
|
|
241
|
+
</div>`)),Yw.set("createdLayout",(t=>$t`<div slot="content">
|
|
242
242
|
<span>Created:</span>
|
|
243
243
|
<br/>
|
|
244
|
-
<span>${
|
|
244
|
+
<span>${a$(t.CreatedDate)}</span>
|
|
245
245
|
<br/>
|
|
246
246
|
<span>${t.CreatedPerson}</span>
|
|
247
|
-
</div>`)),
|
|
247
|
+
</div>`)),Yw.set("updatedLayout",(t=>$t`<div slot="content">
|
|
248
248
|
<span>Updated:</span>
|
|
249
249
|
<br/>
|
|
250
|
-
<span>${
|
|
250
|
+
<span>${a$(t.UpdatedDate)}</span>
|
|
251
251
|
<br/>
|
|
252
252
|
<span>${t.UpdatedPerson}</span>
|
|
253
|
-
</div>`));let
|
|
253
|
+
</div>`));let Zw=class extends Bt{constructor(){super(...arguments),this.aDropdownClass="dropdown-item qbo-pointer",this.buttonPrimaryClass="qbo-primary",this.buttonPrimaryDropdownClass="qbo-primary-dropdown",this.buttonType="button",this.data={},this.divButtonGroupClass="qbo-btn-group",this.divFormActionClass="qbo-form-actions",this.divSectionHeaderClass="qbo-header",this.dropdownToggle="dropdown",this.editLabel="Edit",this.helpIcon="qbo-icon-question",this.helpText="Help",this.historyIcon="qbo-icon-clock-history",this.historyText="History",this.infoButtonClass="qbo-btn-light",this.infoIconClass="qbo-icon-info",this.infoTitle="Last Updated",this.popoverClass="qbo-float-end",this.spanEditClass="qbo-icon-edit",this.ulDropdownClass="dropdown-menu",this.type="defaultLayout",this.renderInHost=!0}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}render(){null==this.type&&(this.type="defaultLayout");const t=Yw.has(this.type)?Yw.get(this.type)(this.data):null;return $t`<slot>
|
|
254
254
|
<div class="${this.divSectionHeaderClass}">
|
|
255
255
|
<hr />
|
|
256
256
|
</div>
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
${t}
|
|
283
283
|
</qbo-popover>
|
|
284
284
|
</div>
|
|
285
|
-
</slot>`}};Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"aDropdownClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"buttonPrimaryClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"buttonPrimaryDropdownClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"buttonType",void 0),Ww([Jt({type:Object,attribute:!1}),Kw("design:type",Object)],Gw.prototype,"data",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"divButtonGroupClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"divFormActionClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"divSectionHeaderClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"dropdownToggle",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"editLabel",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"helpIcon",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"helpText",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"historyIcon",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"historyText",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"infoButtonClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"infoIconClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"infoTitle",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"popoverClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"spanEditClass",void 0),Ww([Jt({type:String}),Kw("design:type",Object)],Gw.prototype,"ulDropdownClass",void 0),Ww([Jt(),Kw("design:type",Object)],Gw.prototype,"type",void 0),Ww([Jt({type:Boolean}),Kw("design:type",Object)],Gw.prototype,"renderInHost",void 0),Gw=Ww([Kt("qbo-form-edit")],Gw);var Jw="top",Qw="bottom",Yw="right",Zw="left",t_="auto",e_=[Jw,Qw,Yw,Zw],r_="start",o_="end",n_="clippingParents",i_="viewport",s_="popper",a_="reference",l_=e_.reduce((function(t,e){return t.concat([e+"-"+r_,e+"-"+o_])}),[]),c_=[].concat(e_,[t_]).reduce((function(t,e){return t.concat([e,e+"-"+r_,e+"-"+o_])}),[]),d_="beforeRead",u_="read",p_="afterRead",b_="beforeMain",f_="main",h_="afterMain",g_="beforeWrite",v_="write",m_="afterWrite",y_=[d_,u_,p_,b_,f_,h_,g_,v_,m_];function w_(t){return t?(t.nodeName||"").toLowerCase():null}function __(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function x_(t){return t instanceof __(t).Element||t instanceof Element}function C_(t){return t instanceof __(t).HTMLElement||t instanceof HTMLElement}function k_(t){return"undefined"!=typeof ShadowRoot&&(t instanceof __(t).ShadowRoot||t instanceof ShadowRoot)}const S_={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];C_(n)&&w_(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}),{});C_(o)&&w_(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]};function E_(t){return t.split("-")[0]}var T_=Math.max,$_=Math.min,O_=Math.round;function A_(){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 I_(){return!/^((?!chrome|android).)*safari/i.test(A_())}function j_(t,e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var o=t.getBoundingClientRect(),n=1,i=1;e&&C_(t)&&(n=t.offsetWidth>0&&O_(o.width)/t.offsetWidth||1,i=t.offsetHeight>0&&O_(o.height)/t.offsetHeight||1);var s=(x_(t)?__(t):window).visualViewport,a=!I_()&&r,l=(o.left+(a&&s?s.offsetLeft:0))/n,c=(o.top+(a&&s?s.offsetTop:0))/i,d=o.width/n,u=o.height/i;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function R_(t){var e=j_(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 D_(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&k_(r)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function L_(t){return __(t).getComputedStyle(t)}function P_(t){return["table","td","th"].indexOf(w_(t))>=0}function M_(t){return((x_(t)?t.ownerDocument:t.document)||window.document).documentElement}function N_(t){return"html"===w_(t)?t:t.assignedSlot||t.parentNode||(k_(t)?t.host:null)||M_(t)}function q_(t){return C_(t)&&"fixed"!==L_(t).position?t.offsetParent:null}function z_(t){for(var e=__(t),r=q_(t);r&&P_(r)&&"static"===L_(r).position;)r=q_(r);return r&&("html"===w_(r)||"body"===w_(r)&&"static"===L_(r).position)?e:r||function(t){var e=/firefox/i.test(A_());if(/Trident/i.test(A_())&&C_(t)&&"fixed"===L_(t).position)return null;var r=N_(t);for(k_(r)&&(r=r.host);C_(r)&&["html","body"].indexOf(w_(r))<0;){var o=L_(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 H_(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function V_(t,e,r){return T_(t,$_(e,r))}function U_(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function F_(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}const B_={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=E_(r.placement),l=H_(a),c=[Zw,Yw].indexOf(a)>=0?"height":"width";if(i&&s){var d=function(t,e){return U_("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:F_(t,e_))}(n.padding,r),u=R_(i),p="y"===l?Jw:Zw,b="y"===l?Qw:Yw,f=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],h=s[l]-r.rects.reference[l],g=z_(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,m=f/2-h/2,y=d[p],w=v-u[c]-d[b],_=v/2-u[c]/2+m,x=V_(y,_,w),C=l;r.modifiersData[o]=((e={})[C]=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)))&&D_(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function W_(t){return t.split("-")[1]}var K_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X_(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,d=t.roundOffsets,u=t.isFixed,p=s.x,b=void 0===p?0:p,f=s.y,h=void 0===f?0:f,g="function"==typeof d?d({x:b,y:h}):{x:b,y:h};b=g.x,h=g.y;var v=s.hasOwnProperty("x"),m=s.hasOwnProperty("y"),y=Zw,w=Jw,_=window;if(c){var x=z_(r),C="clientHeight",k="clientWidth";x===__(r)&&"static"!==L_(x=M_(r)).position&&"absolute"===a&&(C="scrollHeight",k="scrollWidth"),(n===Jw||(n===Zw||n===Yw)&&i===o_)&&(w=Qw,h-=(u&&x===_&&_.visualViewport?_.visualViewport.height:x[C])-o.height,h*=l?1:-1),n!==Zw&&(n!==Jw&&n!==Qw||i!==o_)||(y=Yw,b-=(u&&x===_&&_.visualViewport?_.visualViewport.width:x[k])-o.width,b*=l?1:-1)}var S,E=Object.assign({position:a},c&&K_),T=!0===d?function(t,e){var r=t.x,o=t.y,n=e.devicePixelRatio||1;return{x:O_(r*n)/n||0,y:O_(o*n)/n||0}}({x:b,y:h},__(r)):{x:b,y:h};return b=T.x,h=T.y,l?Object.assign({},E,((S={})[w]=m?"0":"",S[y]=v?"0":"",S.transform=(_.devicePixelRatio||1)<=1?"translate("+b+"px, "+h+"px)":"translate3d("+b+"px, "+h+"px, 0)",S)):Object.assign({},E,((e={})[w]=m?h+"px":"",e[y]=v?b+"px":"",e.transform="",e))}const G_={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:E_(e.placement),variation:W_(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,X_(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,X_(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 J_={passive:!0};const Q_={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=__(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",r.update,J_)})),a&&l.addEventListener("resize",r.update,J_),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",r.update,J_)})),a&&l.removeEventListener("resize",r.update,J_)}},data:{}};var Y_={left:"right",right:"left",bottom:"top",top:"bottom"};function Z_(t){return t.replace(/left|right|bottom|top/g,(function(t){return Y_[t]}))}var tx={start:"end",end:"start"};function ex(t){return t.replace(/start|end/g,(function(t){return tx[t]}))}function rx(t){var e=__(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ox(t){return j_(M_(t)).left+rx(t).scrollLeft}function nx(t){var e=L_(t),r=e.overflow,o=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function ix(t){return["html","body","#document"].indexOf(w_(t))>=0?t.ownerDocument.body:C_(t)&&nx(t)?t:ix(N_(t))}function sx(t,e){var r;void 0===e&&(e=[]);var o=ix(t),n=o===(null==(r=t.ownerDocument)?void 0:r.body),i=__(o),s=n?[i].concat(i.visualViewport||[],nx(o)?o:[]):o,a=e.concat(s);return n?a:a.concat(sx(N_(s)))}function ax(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function lx(t,e,r){return e===i_?ax(function(t,e){var r=__(t),o=M_(t),n=r.visualViewport,i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(n){i=n.width,s=n.height;var c=I_();(c||!c&&"fixed"===e)&&(a=n.offsetLeft,l=n.offsetTop)}return{width:i,height:s,x:a+ox(t),y:l}}(t,r)):x_(e)?function(t,e){var r=j_(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):ax(function(t){var e,r=M_(t),o=rx(t),n=null==(e=t.ownerDocument)?void 0:e.body,i=T_(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=T_(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+ox(t),l=-o.scrollTop;return"rtl"===L_(n||r).direction&&(a+=T_(r.clientWidth,n?n.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(M_(t)))}function cx(t){var e,r=t.reference,o=t.element,n=t.placement,i=n?E_(n):null,s=n?W_(n):null,a=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2;switch(i){case Jw:e={x:a,y:r.y-o.height};break;case Qw:e={x:a,y:r.y+r.height};break;case Yw:e={x:r.x+r.width,y:l};break;case Zw:e={x:r.x-o.width,y:l};break;default:e={x:r.x,y:r.y}}var c=i?H_(i):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case r_:e[c]=e[c]-(r[d]/2-o[d]/2);break;case o_:e[c]=e[c]+(r[d]/2-o[d]/2)}}return e}function dx(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?n_:a,c=r.rootBoundary,d=void 0===c?i_:c,u=r.elementContext,p=void 0===u?s_:u,b=r.altBoundary,f=void 0!==b&&b,h=r.padding,g=void 0===h?0:h,v=U_("number"!=typeof g?g:F_(g,e_)),m=p===s_?a_:s_,y=t.rects.popper,w=t.elements[f?m:p],_=function(t,e,r,o){var n="clippingParents"===e?function(t){var e=sx(N_(t)),r=["absolute","fixed"].indexOf(L_(t).position)>=0&&C_(t)?z_(t):t;return x_(r)?e.filter((function(t){return x_(t)&&D_(t,r)&&"body"!==w_(t)})):[]}(t):[].concat(e),i=[].concat(n,[r]),s=i[0],a=i.reduce((function(e,r){var n=lx(t,r,o);return e.top=T_(n.top,e.top),e.right=$_(n.right,e.right),e.bottom=$_(n.bottom,e.bottom),e.left=T_(n.left,e.left),e}),lx(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}(x_(w)?w:w.contextElement||M_(t.elements.popper),l,d,s),x=j_(t.elements.reference),C=cx({reference:x,element:y,strategy:"absolute",placement:n}),k=ax(Object.assign({},y,C)),S=p===s_?k:x,E={top:_.top-S.top+v.top,bottom:S.bottom-_.bottom+v.bottom,left:_.left-S.left+v.left,right:S.right-_.right+v.right},T=t.modifiersData.offset;if(p===s_&&T){var $=T[n];Object.keys(E).forEach((function(t){var e=[Yw,Qw].indexOf(t)>=0?1:-1,r=[Jw,Qw].indexOf(t)>=0?"y":"x";E[t]+=$[r]*e}))}return E}const ux={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,d=r.boundary,u=r.rootBoundary,p=r.altBoundary,b=r.flipVariations,f=void 0===b||b,h=r.allowedAutoPlacements,g=e.options.placement,v=E_(g),m=l||(v!==g&&f?function(t){if(E_(t)===t_)return[];var e=Z_(t);return[ex(t),e,ex(e)]}(g):[Z_(g)]),y=[g].concat(m).reduce((function(t,r){return t.concat(E_(r)===t_?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?c_:l,d=W_(o),u=d?a?l_:l_.filter((function(t){return W_(t)===d})):e_,p=u.filter((function(t){return c.indexOf(t)>=0}));0===p.length&&(p=u);var b=p.reduce((function(e,r){return e[r]=dx(t,{placement:r,boundary:n,rootBoundary:i,padding:s})[E_(r)],e}),{});return Object.keys(b).sort((function(t,e){return b[t]-b[e]}))}(e,{placement:r,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:h}):r)}),[]),w=e.rects.reference,_=e.rects.popper,x=new Map,C=!0,k=y[0],S=0;S<y.length;S++){var E=y[S],T=E_(E),$=W_(E)===r_,O=[Jw,Qw].indexOf(T)>=0,A=O?"width":"height",I=dx(e,{placement:E,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),j=O?$?Yw:Zw:$?Qw:Jw;w[A]>_[A]&&(j=Z_(j));var R=Z_(j),D=[];if(i&&D.push(I[T]<=0),a&&D.push(I[j]<=0,I[R]<=0),D.every((function(t){return t}))){k=E,C=!1;break}x.set(E,D)}if(C)for(var L=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 k=e,"break"},P=f?3:1;P>0&&"break"!==L(P);P--);e.placement!==k&&(e.modifiersData[o]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function px(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 bx(t){return[Jw,Yw,Qw,Zw].some((function(e){return t[e]>=0}))}const fx={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=dx(e,{elementContext:"reference"}),a=dx(e,{altBoundary:!0}),l=px(s,o),c=px(a,n,i),d=bx(l),u=bx(c);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},hx={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=c_.reduce((function(t,r){return t[r]=function(t,e,r){var o=E_(t),n=[Zw,Jw].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,[Zw,Yw].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}},gx={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=cx({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},vx={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,d=r.altBoundary,u=r.padding,p=r.tether,b=void 0===p||p,f=r.tetherOffset,h=void 0===f?0:f,g=dx(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=E_(e.placement),m=W_(e.placement),y=!m,w=H_(v),_="x"===w?"y":"x",x=e.modifiersData.popperOffsets,C=e.rects.reference,k=e.rects.popper,S="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,E="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,$={x:0,y:0};if(x){if(i){var O,A="y"===w?Jw:Zw,I="y"===w?Qw:Yw,j="y"===w?"height":"width",R=x[w],D=R+g[A],L=R-g[I],P=b?-k[j]/2:0,M=m===r_?C[j]:k[j],N=m===r_?-k[j]:-C[j],q=e.elements.arrow,z=b&&q?R_(q):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[A],U=H[I],F=V_(0,C[j],z[j]),B=y?C[j]/2-P-F-V-E.mainAxis:M-F-V-E.mainAxis,W=y?-C[j]/2+P+F+U+E.mainAxis:N+F+U+E.mainAxis,K=e.elements.arrow&&z_(e.elements.arrow),X=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,G=null!=(O=null==T?void 0:T[w])?O:0,J=R+W-G,Q=V_(b?$_(D,R+B-G-X):D,R,b?T_(L,J):L);x[w]=Q,$[w]=Q-R}if(a){var Y,Z="x"===w?Jw:Zw,tt="x"===w?Qw:Yw,et=x[_],rt="y"===_?"height":"width",ot=et+g[Z],nt=et-g[tt],it=-1!==[Jw,Zw].indexOf(v),st=null!=(Y=null==T?void 0:T[_])?Y:0,at=it?ot:et-C[rt]-k[rt]-st+E.altAxis,lt=it?et+C[rt]+k[rt]-st-E.altAxis:nt,ct=b&&it?function(t,e,r){var o=V_(t,e,r);return o>r?r:o}(at,et,lt):V_(b?at:ot,et,b?lt:nt);x[_]=ct,$[_]=ct-et}e.modifiersData[o]=$}},requiresIfExists:["offset"]};function mx(t,e,r){void 0===r&&(r=!1);var o,n,i=C_(e),s=C_(e)&&function(t){var e=t.getBoundingClientRect(),r=O_(e.width)/t.offsetWidth||1,o=O_(e.height)/t.offsetHeight||1;return 1!==r||1!==o}(e),a=M_(e),l=j_(t,s,r),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!r)&&(("body"!==w_(e)||nx(a))&&(c=(o=e)!==__(o)&&C_(o)?{scrollLeft:(n=o).scrollLeft,scrollTop:n.scrollTop}:rx(o)),C_(e)?((d=j_(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=ox(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function yx(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 wx={placement:"bottom",modifiers:[],strategy:"absolute"};function _x(){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 xx(t){void 0===t&&(t={});var e=t,r=e.defaultModifiers,o=void 0===r?[]:r,n=e.defaultOptions,i=void 0===n?wx:n;return function(t,e,r){void 0===r&&(r=i);var n,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},wx,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(r){var n="function"==typeof r?r(a.options):r;u(),a.options=Object.assign({},i,a.options,n),a.scrollParents={reference:x_(t)?sx(t):t.contextElement?sx(t.contextElement):[],popper:sx(e)};var s,c,p=function(t){var e=yx(t);return y_.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:d,options:o});l.push(i||function(){})}})),d.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,r=t.popper;if(_x(e,r)){a.rects={reference:mx(e,z_(r),"fixed"===a.options.strategy),popper:R_(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,u=n.name;"function"==typeof i&&(a=i({state:a,options:l,name:u,instance:d})||a)}else a.reset=!1,o=-1}}},update:(n=function(){return new Promise((function(t){d.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(n())}))}))),s}),destroy:function(){u(),c=!0}};if(!_x(t,e))return d;function u(){l.forEach((function(t){return t()})),l=[]}return d.setOptions(r).then((function(t){!c&&r.onFirstUpdate&&r.onFirstUpdate(t)})),d}}var Cx=xx(),kx=xx({defaultModifiers:[Q_,gx,G_,S_,hx,ux,vx,B_,fx]}),Sx=xx({defaultModifiers:[Q_,gx,G_,S_]});const Ex=new Map,Tx={set(t,e,r){Ex.has(t)||Ex.set(t,new Map);const o=Ex.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)=>Ex.has(t)&&Ex.get(t).get(e)||null,remove(t,e){if(!Ex.has(t))return;const r=Ex.get(t);r.delete(e),0===r.size&&Ex.delete(t)}},$x="transitionend",Ox=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),Ax=t=>{t.dispatchEvent(new Event($x))},Ix=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),jx=t=>Ix(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(Ox(t)):null,Rx=t=>{if(!Ix(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},Dx=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),Lx=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?Lx(t.parentNode):null},Px=()=>{},Mx=t=>{t.offsetHeight},Nx=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,qx=[],zx=()=>"rtl"===document.documentElement.dir,Hx=t=>{var e;e=()=>{const e=Nx();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?(qx.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of qx)t()})),qx.push(e)):e()},Vx=(t,e=[],r=t)=>"function"==typeof t?t(...e):r,Ux=(t,e,r=!0)=>{if(!r)return void Vx(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($x,i),Vx(t))};e.addEventListener($x,i),setTimeout((()=>{n||Ax(e)}),o)},Fx=(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))])},Bx=/[^.]*(?=\..*)\.|.*/,Wx=/\..*/,Kx=/::\d+$/,Xx={};let Gx=1;const Jx={mouseenter:"mouseover",mouseleave:"mouseout"},Qx=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 Yx(t,e){return e&&`${e}::${Gx++}`||t.uidEvent||Gx++}function Zx(t){const e=Yx(t);return t.uidEvent=e,Xx[e]=Xx[e]||{},Xx[e]}function tC(t,e,r=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===r))}function eC(t,e,r){const o="string"==typeof e,n=o?r:e||r;let i=iC(t);return Qx.has(i)||(i=t),[o,n,i]}function rC(t,e,r,o,n){if("string"!=typeof e||!t)return;let[i,s,a]=eC(e,r,o);if(e in Jx){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=Zx(t),c=l[a]||(l[a]={}),d=tC(c,s,i?r:null);if(d)return void(d.oneOff=d.oneOff&&n);const u=Yx(s,e.replace(Bx,"")),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 aC(n,{delegateTarget:s}),o.oneOff&&sC.off(t,n.type,e,r),r.apply(s,[n])}}(t,r,s):function(t,e){return function r(o){return aC(o,{delegateTarget:t}),r.oneOff&&sC.off(t,o.type,e),e.apply(t,[o])}}(t,s);p.delegationSelector=i?r:null,p.callable=s,p.oneOff=n,p.uidEvent=u,c[u]=p,t.addEventListener(a,p,i)}function oC(t,e,r,o,n){const i=tC(e[r],o,n);i&&(t.removeEventListener(r,i,Boolean(n)),delete e[r][i.uidEvent])}function nC(t,e,r,o){const n=e[r]||{};for(const[i,s]of Object.entries(n))i.includes(o)&&oC(t,e,r,s.callable,s.delegationSelector)}function iC(t){return t=t.replace(Wx,""),Jx[t]||t}const sC={on(t,e,r,o){rC(t,e,r,o,!1)},one(t,e,r,o){rC(t,e,r,o,!0)},off(t,e,r,o){if("string"!=typeof e||!t)return;const[n,i,s]=eC(e,r,o),a=s!==e,l=Zx(t),c=l[s]||{},d=e.startsWith(".");if(void 0===i){if(d)for(const r of Object.keys(l))nC(t,l,r,e.slice(1));for(const[r,o]of Object.entries(c)){const n=r.replace(Kx,"");a&&!e.includes(n)||oC(t,l,s,o.callable,o.delegationSelector)}}else{if(!Object.keys(c).length)return;oC(t,l,s,i,n?r:null)}},trigger(t,e,r){if("string"!=typeof e||!t)return null;const o=Nx();let n=null,i=!0,s=!0,a=!1;e!==iC(e)&&o&&(n=o.Event(e,r),o(t).trigger(n),i=!n.isPropagationStopped(),s=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());const l=aC(new Event(e,{bubbles:i,cancelable:!0}),r);return a&&l.preventDefault(),s&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function aC(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 lC(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 cC(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const dC={setDataAttribute(t,e,r){t.setAttribute(`data-bs-${cC(e)}`,r)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${cC(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]=lC(t.dataset[o])}return e},getDataAttribute:(t,e)=>lC(t.getAttribute(`data-bs-${cC(e)}`))};class uC{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=Ix(e)?dC.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...Ix(e)?dC.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=Ix(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 pC extends uC{constructor(t,e){super(),(t=jx(t))&&(this._element=t,this._config=this._getConfig(e),Tx.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Tx.remove(this._element,this.constructor.DATA_KEY),sC.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,r=!0){Ux(t,e,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Tx.get(jx(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 bC=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=>Ox(t))).join(","):null},fC={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=>!Dx(t)&&Rx(t)))},getSelectorFromElement(t){const e=bC(t);return e&&fC.findOne(e)?e:null},getElementFromSelector(t){const e=bC(t);return e?fC.findOne(e):null},getMultipleElementsFromSelector(t){const e=bC(t);return e?fC.find(e):[]}},hC=(t,e="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;sC.on(document,r,`[data-bs-dismiss="${o}"]`,(function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Dx(this))return;const n=fC.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(n)[e]()}))},gC=".bs.alert",vC=`close${gC}`,mC=`closed${gC}`;class yC extends pC{static get NAME(){return"alert"}close(){if(sC.trigger(this._element,vC).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(),sC.trigger(this._element,mC),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=yC.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)}}))}}hC(yC,"close"),Hx(yC);const wC='[data-bs-toggle="button"]';class _C extends pC{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=_C.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}sC.on(document,"click.bs.button.data-api",wC,(t=>{t.preventDefault();const e=t.target.closest(wC);_C.getOrCreateInstance(e).toggle()})),Hx(_C);const xC=".bs.swipe",CC=`touchstart${xC}`,kC=`touchmove${xC}`,SC=`touchend${xC}`,EC=`pointerdown${xC}`,TC=`pointerup${xC}`,$C={endCallback:null,leftCallback:null,rightCallback:null},OC={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class AC extends uC{constructor(t,e){super(),this._element=t,t&&AC.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return $C}static get DefaultType(){return OC}static get NAME(){return"swipe"}dispose(){sC.off(this._element,xC)}_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(),Vx(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&&Vx(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(sC.on(this._element,EC,(t=>this._start(t))),sC.on(this._element,TC,(t=>this._end(t))),this._element.classList.add("pointer-event")):(sC.on(this._element,CC,(t=>this._start(t))),sC.on(this._element,kC,(t=>this._move(t))),sC.on(this._element,SC,(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 IC=".bs.carousel",jC=".data-api",RC="ArrowLeft",DC="ArrowRight",LC="next",PC="prev",MC="left",NC="right",qC=`slide${IC}`,zC=`slid${IC}`,HC=`keydown${IC}`,VC=`mouseenter${IC}`,UC=`mouseleave${IC}`,FC=`dragstart${IC}`,BC=`load${IC}${jC}`,WC=`click${IC}${jC}`,KC="carousel",XC="active",GC=".active",JC=".carousel-item",QC=GC+JC,YC={[RC]:NC,[DC]:MC},ZC={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},tk={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ek extends pC{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=fC.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===KC&&this.cycle()}static get Default(){return ZC}static get DefaultType(){return tk}static get NAME(){return"carousel"}next(){this._slide(LC)}nextWhenVisible(){!document.hidden&&Rx(this._element)&&this.next()}prev(){this._slide(PC)}pause(){this._isSliding&&Ax(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?sC.one(this._element,zC,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void sC.one(this._element,zC,(()=>this.to(t)));const r=this._getItemIndex(this._getActive());if(r===t)return;const o=t>r?LC:PC;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&&sC.on(this._element,HC,(t=>this._keydown(t))),"hover"===this._config.pause&&(sC.on(this._element,VC,(()=>this.pause())),sC.on(this._element,UC,(()=>this._maybeEnableCycle()))),this._config.touch&&AC.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of fC.find(".carousel-item img",this._element))sC.on(t,FC,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(MC)),rightCallback:()=>this._slide(this._directionToOrder(NC)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new AC(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=YC[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=fC.findOne(GC,this._indicatorsElement);e.classList.remove(XC),e.removeAttribute("aria-current");const r=fC.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(XC),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===LC,n=e||Fx(this._getItems(),r,o,this._config.wrap);if(n===r)return;const i=this._getItemIndex(n),s=e=>sC.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:i});if(s(qC).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),Mx(n),r.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add(XC),r.classList.remove(XC,c,l),this._isSliding=!1,s(zC)}),r,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return fC.findOne(QC,this._element)}_getItems(){return fC.find(JC,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return zx()?t===MC?PC:LC:t===MC?LC:PC}_orderToDirection(t){return zx()?t===PC?MC:NC:t===PC?NC:MC}static jQueryInterface(t){return this.each((function(){const e=ek.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)}))}}sC.on(document,WC,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=fC.getElementFromSelector(this);if(!e||!e.classList.contains(KC))return;t.preventDefault();const r=ek.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");return o?(r.to(o),void r._maybeEnableCycle()):"next"===dC.getDataAttribute(this,"slide")?(r.next(),void r._maybeEnableCycle()):(r.prev(),void r._maybeEnableCycle())})),sC.on(window,BC,(()=>{const t=fC.find('[data-bs-ride="carousel"]');for(const e of t)ek.getOrCreateInstance(e)})),Hx(ek);const rk=".bs.collapse",ok=`show${rk}`,nk=`shown${rk}`,ik=`hide${rk}`,sk=`hidden${rk}`,ak=`click${rk}.data-api`,lk="show",ck="collapse",dk="collapsing",uk=`:scope .${ck} .${ck}`,pk='[data-bs-toggle="collapse"]',bk={parent:null,toggle:!0},fk={parent:"(null|element)",toggle:"boolean"};class hk extends pC{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const r=fC.find(pk);for(const t of r){const e=fC.getSelectorFromElement(t),r=fC.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 bk}static get DefaultType(){return fk}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=>hk.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(sC.trigger(this._element,ok).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(ck),this._element.classList.add(dk),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(dk),this._element.classList.add(ck,lk),this._element.style[e]="",sC.trigger(this._element,nk)}),this._element,!0),this._element.style[e]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(sC.trigger(this._element,ik).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Mx(this._element),this._element.classList.add(dk),this._element.classList.remove(ck,lk);for(const t of this._triggerArray){const e=fC.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(dk),this._element.classList.add(ck),sC.trigger(this._element,sk)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(lk)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=jx(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(pk);for(const e of t){const t=fC.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=fC.find(uk,this._config.parent);return fC.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=hk.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t]()}}))}}sC.on(document,ak,pk,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of fC.getMultipleElementsFromSelector(this))hk.getOrCreateInstance(t,{toggle:!1}).toggle()})),Hx(hk);const gk="dropdown",vk=".bs.dropdown",mk=".data-api",yk="ArrowUp",wk="ArrowDown",_k=`hide${vk}`,xk=`hidden${vk}`,Ck=`show${vk}`,kk=`shown${vk}`,Sk=`click${vk}${mk}`,Ek=`keydown${vk}${mk}`,Tk=`keyup${vk}${mk}`,$k="show",Ok='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ak=`${Ok}.${$k}`,Ik=".dropdown-menu",jk=zx()?"top-end":"top-start",Rk=zx()?"top-start":"top-end",Dk=zx()?"bottom-end":"bottom-start",Lk=zx()?"bottom-start":"bottom-end",Pk=zx()?"left-start":"right-start",Mk=zx()?"right-start":"left-start",Nk={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},qk={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class zk extends pC{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=fC.next(this._element,Ik)[0]||fC.prev(this._element,Ik)[0]||fC.findOne(Ik,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Nk}static get DefaultType(){return qk}static get NAME(){return gk}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Dx(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!sC.trigger(this._element,Ck,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))sC.on(t,"mouseover",Px);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add($k),this._element.classList.add($k),sC.trigger(this._element,kk,t)}}hide(){if(Dx(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(!sC.trigger(this._element,_k,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))sC.off(t,"mouseover",Px);this._popper&&this._popper.destroy(),this._menu.classList.remove($k),this._element.classList.remove($k),this._element.setAttribute("aria-expanded","false"),dC.removeDataAttribute(this._menu,"popper"),sC.trigger(this._element,xk,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!Ix(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${gk.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:Ix(this._config.reference)?t=jx(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=kx(t,this._menu,r)}_isShown(){return this._menu.classList.contains($k)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Pk;if(t.classList.contains("dropstart"))return Mk;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?Rk:jk:e?Lk:Dk}_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)&&(dC.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Vx(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const r=fC.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>Rx(t)));r.length&&Fx(r,e,t===wk,!r.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=zk.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=fC.find(Ak);for(const r of e){const e=zk.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=[yk,wk].includes(t.key);if(!o&&!r)return;if(e&&!r)return;t.preventDefault();const n=this.matches(Ok)?this:fC.prev(this,Ok)[0]||fC.next(this,Ok)[0]||fC.findOne(Ok,t.delegateTarget.parentNode),i=zk.getOrCreateInstance(n);if(o)return t.stopPropagation(),i.show(),void i._selectMenuItem(t);i._isShown()&&(t.stopPropagation(),i.hide(),n.focus())}}sC.on(document,Ek,Ok,zk.dataApiKeydownHandler),sC.on(document,Ek,Ik,zk.dataApiKeydownHandler),sC.on(document,Sk,zk.clearMenus),sC.on(document,Tk,zk.clearMenus),sC.on(document,Sk,Ok,(function(t){t.preventDefault(),zk.getOrCreateInstance(this).toggle()})),Hx(zk);const Hk="backdrop",Vk="show",Uk=`mousedown.bs.${Hk}`,Fk={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Bk={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Wk extends uC{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Fk}static get DefaultType(){return Bk}static get NAME(){return Hk}show(t){if(!this._config.isVisible)return void Vx(t);this._append();const e=this._getElement();this._config.isAnimated&&Mx(e),e.classList.add(Vk),this._emulateAnimation((()=>{Vx(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Vk),this._emulateAnimation((()=>{this.dispose(),Vx(t)}))):Vx(t)}dispose(){this._isAppended&&(sC.off(this._element,Uk),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=jx(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),sC.on(t,Uk,(()=>{Vx(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){Ux(t,this._getElement(),this._config.isAnimated)}}const Kk=".bs.focustrap",Xk=`focusin${Kk}`,Gk=`keydown.tab${Kk}`,Jk="backward",Qk={autofocus:!0,trapElement:null},Yk={autofocus:"boolean",trapElement:"element"};class Zk extends uC{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Qk}static get DefaultType(){return Yk}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),sC.off(document,Kk),sC.on(document,Xk,(t=>this._handleFocusin(t))),sC.on(document,Gk,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,sC.off(document,Kk))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const r=fC.focusableChildren(e);0===r.length?e.focus():this._lastTabNavDirection===Jk?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Jk:"forward")}}const tS=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",eS=".sticky-top",rS="padding-right",oS="margin-right";class nS{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,rS,(e=>e+t)),this._setElementAttributes(tS,rS,(e=>e+t)),this._setElementAttributes(eS,oS,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,rS),this._resetElementAttributes(tS,rS),this._resetElementAttributes(eS,oS)}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&&dC.setDataAttribute(t,e,r)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const r=dC.getDataAttribute(t,e);null!==r?(dC.removeDataAttribute(t,e),t.style.setProperty(e,r)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(Ix(t))e(t);else for(const r of fC.find(t,this._element))e(r)}}const iS=".bs.modal",sS=`hide${iS}`,aS=`hidePrevented${iS}`,lS=`hidden${iS}`,cS=`show${iS}`,dS=`shown${iS}`,uS=`resize${iS}`,pS=`click.dismiss${iS}`,bS=`mousedown.dismiss${iS}`,fS=`keydown.dismiss${iS}`,hS=`click${iS}.data-api`,gS="modal-open",vS="show",mS="modal-static",yS={backdrop:!0,focus:!0,keyboard:!0},wS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class _S extends pC{constructor(t,e){super(t,e),this._dialog=fC.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new nS,this._addEventListeners()}static get Default(){return yS}static get DefaultType(){return wS}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||sC.trigger(this._element,cS,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gS),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(sC.trigger(this._element,sS).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(vS),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){sC.off(window,iS),sC.off(this._dialog,iS),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Wk({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Zk({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=fC.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),Mx(this._element),this._element.classList.add(vS),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,sC.trigger(this._element,dS,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){sC.on(this._element,fS,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),sC.on(window,uS,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),sC.on(this._element,bS,(t=>{sC.one(this._element,pS,(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(gS),this._resetAdjustments(),this._scrollBar.reset(),sC.trigger(this._element,lS)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(sC.trigger(this._element,aS).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(mS)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(mS),this._queueCallback((()=>{this._element.classList.remove(mS),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=zx()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!r&&t){const t=zx()?"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=_S.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t](e)}}))}}sC.on(document,hS,'[data-bs-toggle="modal"]',(function(t){const e=fC.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),sC.one(e,cS,(t=>{t.defaultPrevented||sC.one(e,lS,(()=>{Rx(this)&&this.focus()}))}));const r=fC.findOne(".modal.show");r&&_S.getInstance(r).hide(),_S.getOrCreateInstance(e).toggle(this)})),hC(_S),Hx(_S);const xS=".bs.offcanvas",CS=".data-api",kS=`load${xS}${CS}`,SS="show",ES="showing",TS="hiding",$S=".offcanvas.show",OS=`show${xS}`,AS=`shown${xS}`,IS=`hide${xS}`,jS=`hidePrevented${xS}`,RS=`hidden${xS}`,DS=`resize${xS}`,LS=`click${xS}${CS}`,PS=`keydown.dismiss${xS}`,MS={backdrop:!0,keyboard:!0,scroll:!1},NS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class qS extends pC{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return MS}static get DefaultType(){return NS}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||sC.trigger(this._element,OS,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new nS).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ES),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(SS),this._element.classList.remove(ES),sC.trigger(this._element,AS,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(sC.trigger(this._element,IS).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(TS),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(SS,TS),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new nS).reset(),sC.trigger(this._element,RS)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Wk({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():sC.trigger(this._element,jS)}:null})}_initializeFocusTrap(){return new Zk({trapElement:this._element})}_addEventListeners(){sC.on(this._element,PS,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():sC.trigger(this._element,jS))}))}static jQueryInterface(t){return this.each((function(){const e=qS.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)}}))}}sC.on(document,LS,'[data-bs-toggle="offcanvas"]',(function(t){const e=fC.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Dx(this))return;sC.one(e,RS,(()=>{Rx(this)&&this.focus()}));const r=fC.findOne($S);r&&r!==e&&qS.getInstance(r).hide(),qS.getOrCreateInstance(e).toggle(this)})),sC.on(window,kS,(()=>{for(const t of fC.find($S))qS.getOrCreateInstance(t).show()})),sC.on(window,DS,(()=>{for(const t of fC.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&qS.getOrCreateInstance(t).hide()})),hC(qS),Hx(qS);const zS={"*":["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:[]},HS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),VS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,US=(t,e)=>{const r=t.nodeName.toLowerCase();return e.includes(r)?!HS.has(r)||Boolean(VS.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(r)))},FS={allowList:zS,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},BS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},WS={entry:"(string|element|function|null)",selector:"(string|element)"};class KS extends uC{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return FS}static get DefaultType(){return BS}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},WS)}_setContent(t,e,r){const o=fC.findOne(r,t);o&&((e=this._resolvePossibleFunction(e))?Ix(e)?this._putElementInTemplate(jx(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)US(e,n)||t.removeAttribute(e.nodeName)}return o.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Vx(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const XS=new Set(["sanitize","allowList","sanitizeFn"]),GS="fade",JS="show",QS=".tooltip-inner",YS=".modal",ZS="hide.bs.modal",tE="hover",eE="focus",rE={AUTO:"auto",TOP:"top",RIGHT:zx()?"left":"right",BOTTOM:"bottom",LEFT:zx()?"right":"left"},oE={allowList:zS,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"},nE={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 iE extends pC{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 oE}static get DefaultType(){return nE}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),sC.off(this._element.closest(YS),ZS,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=sC.trigger(this._element,this.constructor.eventName("show")),e=(Lx(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),sC.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(JS),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))sC.on(t,"mouseover",Px);this._queueCallback((()=>{sC.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!sC.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(JS),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))sC.off(t,"mouseover",Px);this._activeTrigger.click=!1,this._activeTrigger[eE]=!1,this._activeTrigger[tE]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),sC.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(GS,JS),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(GS),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new KS({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[QS]: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(GS)}_isShown(){return this.tip&&this.tip.classList.contains(JS)}_createPopper(t){const e=Vx(this._config.placement,[this,t,this._element]),r=rE[e.toUpperCase()];return kx(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 Vx(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,...Vx(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)sC.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===tE?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=e===tE?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");sC.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?eE:tE]=!0,e._enter()})),sC.on(this._element,r,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?eE:tE]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},sC.on(this._element.closest(YS),ZS,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=dC.getDataAttributes(this._element);for(const t of Object.keys(e))XS.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:jx(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=iE.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Hx(iE);const sE=".popover-header",aE=".popover-body",lE={...iE.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"},cE={...iE.DefaultType,content:"(null|string|element|function)"};class dE extends iE{static get Default(){return lE}static get DefaultType(){return cE}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[sE]:this._getTitle(),[aE]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=dE.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Hx(dE);const uE=".bs.scrollspy",pE=`activate${uE}`,bE=`click${uE}`,fE=`load${uE}.data-api`,hE="active",gE="[href]",vE=".nav-link",mE=`${vE}, .nav-item > ${vE}, .list-group-item`,yE={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},wE={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class _E extends pC{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 yE}static get DefaultType(){return wE}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=jx(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&&(sC.off(this._config.target,bE),sC.on(this._config.target,bE,gE,(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=fC.find(gE,this._config.target);for(const e of t){if(!e.hash||Dx(e))continue;const t=fC.findOne(decodeURI(e.hash),this._element);Rx(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(hE),this._activateParents(t),sC.trigger(this._element,pE,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))fC.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(hE);else for(const e of fC.parents(t,".nav, .list-group"))for(const t of fC.prev(e,mE))t.classList.add(hE)}_clearActiveClass(t){t.classList.remove(hE);const e=fC.find(`${gE}.${hE}`,t);for(const t of e)t.classList.remove(hE)}static jQueryInterface(t){return this.each((function(){const e=_E.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]()}}))}}sC.on(window,fE,(()=>{for(const t of fC.find('[data-bs-spy="scroll"]'))_E.getOrCreateInstance(t)})),Hx(_E);const xE=".bs.tab",CE=`hide${xE}`,kE=`hidden${xE}`,SE=`show${xE}`,EE=`shown${xE}`,TE=`click${xE}`,$E=`keydown${xE}`,OE=`load${xE}`,AE="ArrowLeft",IE="ArrowRight",jE="ArrowUp",RE="ArrowDown",DE="Home",LE="End",PE="active",ME="fade",NE="show",qE=".dropdown-toggle",zE=`:not(${qE})`,HE='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',VE=`.nav-link${zE}, .list-group-item${zE}, [role="tab"]${zE}, ${HE}`,UE=`.${PE}[data-bs-toggle="tab"], .${PE}[data-bs-toggle="pill"], .${PE}[data-bs-toggle="list"]`;class FE extends pC{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),sC.on(this._element,$E,(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?sC.trigger(e,CE,{relatedTarget:t}):null;sC.trigger(t,SE,{relatedTarget:e}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(PE),this._activate(fC.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),sC.trigger(t,EE,{relatedTarget:e})):t.classList.add(NE)}),t,t.classList.contains(ME)))}_deactivate(t,e){t&&(t.classList.remove(PE),t.blur(),this._deactivate(fC.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),sC.trigger(t,kE,{relatedTarget:e})):t.classList.remove(NE)}),t,t.classList.contains(ME)))}_keydown(t){if(![AE,IE,jE,RE,DE,LE].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!Dx(t)));let r;if([DE,LE].includes(t.key))r=e[t.key===DE?0:e.length-1];else{const o=[IE,RE].includes(t.key);r=Fx(e,t.target,o,!0)}r&&(r.focus({preventScroll:!0}),FE.getOrCreateInstance(r).show())}_getChildren(){return fC.find(VE,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=fC.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=fC.findOne(t,r);n&&n.classList.toggle(o,e)};o(qE,PE),o(".dropdown-menu",NE),r.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,r){t.hasAttribute(e)||t.setAttribute(e,r)}_elemIsActive(t){return t.classList.contains(PE)}_getInnerElement(t){return t.matches(VE)?t:fC.findOne(VE,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=FE.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}sC.on(document,TE,HE,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),Dx(this)||FE.getOrCreateInstance(this).show()})),sC.on(window,OE,(()=>{for(const t of fC.find(UE))FE.getOrCreateInstance(t)})),Hx(FE);const BE=".bs.toast",WE=`mouseover${BE}`,KE=`mouseout${BE}`,XE=`focusin${BE}`,GE=`focusout${BE}`,JE=`hide${BE}`,QE=`hidden${BE}`,YE=`show${BE}`,ZE=`shown${BE}`,tT="hide",eT="show",rT="showing",oT={animation:"boolean",autohide:"boolean",delay:"number"},nT={animation:!0,autohide:!0,delay:5e3};class iT extends pC{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return nT}static get DefaultType(){return oT}static get NAME(){return"toast"}show(){sC.trigger(this._element,YE).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(tT),Mx(this._element),this._element.classList.add(eT,rT),this._queueCallback((()=>{this._element.classList.remove(rT),sC.trigger(this._element,ZE),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(sC.trigger(this._element,JE).defaultPrevented||(this._element.classList.add(rT),this._queueCallback((()=>{this._element.classList.add(tT),this._element.classList.remove(rT,eT),sC.trigger(this._element,QE)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(eT),super.dispose()}isShown(){return this._element.classList.contains(eT)}_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(){sC.on(this._element,WE,(t=>this._onInteraction(t,!0))),sC.on(this._element,KE,(t=>this._onInteraction(t,!1))),sC.on(this._element,XE,(t=>this._onInteraction(t,!0))),sC.on(this._element,GE,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=iT.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}hC(iT),Hx(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 Sw{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 dE(t)}))}}renderImage(t){return null!=t?$t`<img src="${t}"/><span/>`:$t``}renderMenu(t,e,r){let o=$t``;const n=null!=t&&null!=t.Menu?t.Menu:t;return null!=n&&(n.forEach?n.forEach((t=>{o=null!=t.Menu?$t`${o}${this.renderMenuDropdown(t,r)}`:"Divider"==t.Type?$t`${o}${this.renderMenuDivider()}`:e?$t`${o}${this.renderMenuDropdownLink(t.URL,t.Text,t.Icon)}`:$t`${o}${this.renderMenuLink(t)}`})):o=null!=n.Menu?$t`${o}${this.renderMenuDropdown(n,r)}`:"Divider"==n.Type?$t`${o}${this.renderMenuDivider()}`:e?$t`${o}${this.renderMenuDropdownLink(n.URL,n.Text,n.Icon)}`:$t`${o}${this.renderMenuLink(n)}`),$t`${o}`}renderMenuDivider(){return $t`<li><hr/></li>`}renderMenuDropdown(t,e){const r=null!=t.Icon&&""!=t.Icon?$t`<i class="${t.Icon} ${this.iconClass}" />`:"";return e?$t`<li>
|
|
285
|
+
</slot>`}};Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"aDropdownClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"buttonPrimaryClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"buttonPrimaryDropdownClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"buttonType",void 0),Qw([Qt({type:Object,attribute:!1}),Jw("design:type",Object)],Zw.prototype,"data",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"divButtonGroupClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"divFormActionClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"divSectionHeaderClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"dropdownToggle",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"editLabel",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"helpIcon",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"helpText",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"historyIcon",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"historyText",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"infoButtonClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"infoIconClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"infoTitle",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"popoverClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"spanEditClass",void 0),Qw([Qt({type:String}),Jw("design:type",Object)],Zw.prototype,"ulDropdownClass",void 0),Qw([Qt(),Jw("design:type",Object)],Zw.prototype,"type",void 0),Qw([Qt({type:Boolean}),Jw("design:type",Object)],Zw.prototype,"renderInHost",void 0),Zw=Qw([Kt("qbo-form-edit")],Zw);var tx="top",ex="bottom",rx="right",ox="left",nx="auto",ix=[tx,ex,rx,ox],sx="start",ax="end",lx="clippingParents",cx="viewport",dx="popper",ux="reference",px=ix.reduce((function(t,e){return t.concat([e+"-"+sx,e+"-"+ax])}),[]),bx=[].concat(ix,[nx]).reduce((function(t,e){return t.concat([e,e+"-"+sx,e+"-"+ax])}),[]),fx="beforeRead",hx="read",gx="afterRead",vx="beforeMain",mx="main",yx="afterMain",wx="beforeWrite",xx="write",_x="afterWrite",Cx=[fx,hx,gx,vx,mx,yx,wx,xx,_x];function kx(t){return t?(t.nodeName||"").toLowerCase():null}function Sx(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ex(t){return t instanceof Sx(t).Element||t instanceof Element}function Tx(t){return t instanceof Sx(t).HTMLElement||t instanceof HTMLElement}function $x(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Sx(t).ShadowRoot||t instanceof ShadowRoot)}const Ox={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];Tx(n)&&kx(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}),{});Tx(o)&&kx(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Ax(t){return t.split("-")[0]}var jx=Math.max,Ix=Math.min,Dx=Math.round;function Rx(){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 Lx(){return!/^((?!chrome|android).)*safari/i.test(Rx())}function Mx(t,e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var o=t.getBoundingClientRect(),n=1,i=1;e&&Tx(t)&&(n=t.offsetWidth>0&&Dx(o.width)/t.offsetWidth||1,i=t.offsetHeight>0&&Dx(o.height)/t.offsetHeight||1);var s=(Ex(t)?Sx(t):window).visualViewport,a=!Lx()&&r,l=(o.left+(a&&s?s.offsetLeft:0))/n,c=(o.top+(a&&s?s.offsetTop:0))/i,d=o.width/n,u=o.height/i;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function Px(t){var e=Mx(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 Nx(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&$x(r)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function qx(t){return Sx(t).getComputedStyle(t)}function zx(t){return["table","td","th"].indexOf(kx(t))>=0}function Hx(t){return((Ex(t)?t.ownerDocument:t.document)||window.document).documentElement}function Vx(t){return"html"===kx(t)?t:t.assignedSlot||t.parentNode||($x(t)?t.host:null)||Hx(t)}function Ux(t){return Tx(t)&&"fixed"!==qx(t).position?t.offsetParent:null}function Fx(t){for(var e=Sx(t),r=Ux(t);r&&zx(r)&&"static"===qx(r).position;)r=Ux(r);return r&&("html"===kx(r)||"body"===kx(r)&&"static"===qx(r).position)?e:r||function(t){var e=/firefox/i.test(Rx());if(/Trident/i.test(Rx())&&Tx(t)&&"fixed"===qx(t).position)return null;var r=Vx(t);for($x(r)&&(r=r.host);Tx(r)&&["html","body"].indexOf(kx(r))<0;){var o=qx(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 Bx(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Wx(t,e,r){return jx(t,Ix(e,r))}function Kx(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Xx(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}const Gx={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=Ax(r.placement),l=Bx(a),c=[ox,rx].indexOf(a)>=0?"height":"width";if(i&&s){var d=function(t,e){return Kx("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Xx(t,ix))}(n.padding,r),u=Px(i),p="y"===l?tx:ox,b="y"===l?ex:rx,f=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],h=s[l]-r.rects.reference[l],g=Fx(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,m=f/2-h/2,y=d[p],w=v-u[c]-d[b],x=v/2-u[c]/2+m,_=Wx(y,x,w),C=l;r.modifiersData[o]=((e={})[C]=_,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)))&&Nx(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qx(t){return t.split("-")[1]}var Jx={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yx(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,d=t.roundOffsets,u=t.isFixed,p=s.x,b=void 0===p?0:p,f=s.y,h=void 0===f?0:f,g="function"==typeof d?d({x:b,y:h}):{x:b,y:h};b=g.x,h=g.y;var v=s.hasOwnProperty("x"),m=s.hasOwnProperty("y"),y=ox,w=tx,x=window;if(c){var _=Fx(r),C="clientHeight",k="clientWidth";_===Sx(r)&&"static"!==qx(_=Hx(r)).position&&"absolute"===a&&(C="scrollHeight",k="scrollWidth"),(n===tx||(n===ox||n===rx)&&i===ax)&&(w=ex,h-=(u&&_===x&&x.visualViewport?x.visualViewport.height:_[C])-o.height,h*=l?1:-1),n!==ox&&(n!==tx&&n!==ex||i!==ax)||(y=rx,b-=(u&&_===x&&x.visualViewport?x.visualViewport.width:_[k])-o.width,b*=l?1:-1)}var S,E=Object.assign({position:a},c&&Jx),T=!0===d?function(t,e){var r=t.x,o=t.y,n=e.devicePixelRatio||1;return{x:Dx(r*n)/n||0,y:Dx(o*n)/n||0}}({x:b,y:h},Sx(r)):{x:b,y:h};return b=T.x,h=T.y,l?Object.assign({},E,((S={})[w]=m?"0":"",S[y]=v?"0":"",S.transform=(x.devicePixelRatio||1)<=1?"translate("+b+"px, "+h+"px)":"translate3d("+b+"px, "+h+"px, 0)",S)):Object.assign({},E,((e={})[w]=m?h+"px":"",e[y]=v?b+"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:Ax(e.placement),variation:Qx(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,Yx(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,Yx(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 t_={passive:!0};const e_={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=Sx(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",r.update,t_)})),a&&l.addEventListener("resize",r.update,t_),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",r.update,t_)})),a&&l.removeEventListener("resize",r.update,t_)}},data:{}};var r_={left:"right",right:"left",bottom:"top",top:"bottom"};function o_(t){return t.replace(/left|right|bottom|top/g,(function(t){return r_[t]}))}var n_={start:"end",end:"start"};function i_(t){return t.replace(/start|end/g,(function(t){return n_[t]}))}function s_(t){var e=Sx(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function a_(t){return Mx(Hx(t)).left+s_(t).scrollLeft}function l_(t){var e=qx(t),r=e.overflow,o=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function c_(t){return["html","body","#document"].indexOf(kx(t))>=0?t.ownerDocument.body:Tx(t)&&l_(t)?t:c_(Vx(t))}function d_(t,e){var r;void 0===e&&(e=[]);var o=c_(t),n=o===(null==(r=t.ownerDocument)?void 0:r.body),i=Sx(o),s=n?[i].concat(i.visualViewport||[],l_(o)?o:[]):o,a=e.concat(s);return n?a:a.concat(d_(Vx(s)))}function u_(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function p_(t,e,r){return e===cx?u_(function(t,e){var r=Sx(t),o=Hx(t),n=r.visualViewport,i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(n){i=n.width,s=n.height;var c=Lx();(c||!c&&"fixed"===e)&&(a=n.offsetLeft,l=n.offsetTop)}return{width:i,height:s,x:a+a_(t),y:l}}(t,r)):Ex(e)?function(t,e){var r=Mx(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):u_(function(t){var e,r=Hx(t),o=s_(t),n=null==(e=t.ownerDocument)?void 0:e.body,i=jx(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=jx(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+a_(t),l=-o.scrollTop;return"rtl"===qx(n||r).direction&&(a+=jx(r.clientWidth,n?n.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(Hx(t)))}function b_(t){var e,r=t.reference,o=t.element,n=t.placement,i=n?Ax(n):null,s=n?Qx(n):null,a=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2;switch(i){case tx:e={x:a,y:r.y-o.height};break;case ex:e={x:a,y:r.y+r.height};break;case rx:e={x:r.x+r.width,y:l};break;case ox:e={x:r.x-o.width,y:l};break;default:e={x:r.x,y:r.y}}var c=i?Bx(i):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case sx:e[c]=e[c]-(r[d]/2-o[d]/2);break;case ax:e[c]=e[c]+(r[d]/2-o[d]/2)}}return e}function f_(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?lx:a,c=r.rootBoundary,d=void 0===c?cx:c,u=r.elementContext,p=void 0===u?dx:u,b=r.altBoundary,f=void 0!==b&&b,h=r.padding,g=void 0===h?0:h,v=Kx("number"!=typeof g?g:Xx(g,ix)),m=p===dx?ux:dx,y=t.rects.popper,w=t.elements[f?m:p],x=function(t,e,r,o){var n="clippingParents"===e?function(t){var e=d_(Vx(t)),r=["absolute","fixed"].indexOf(qx(t).position)>=0&&Tx(t)?Fx(t):t;return Ex(r)?e.filter((function(t){return Ex(t)&&Nx(t,r)&&"body"!==kx(t)})):[]}(t):[].concat(e),i=[].concat(n,[r]),s=i[0],a=i.reduce((function(e,r){var n=p_(t,r,o);return e.top=jx(n.top,e.top),e.right=Ix(n.right,e.right),e.bottom=Ix(n.bottom,e.bottom),e.left=jx(n.left,e.left),e}),p_(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}(Ex(w)?w:w.contextElement||Hx(t.elements.popper),l,d,s),_=Mx(t.elements.reference),C=b_({reference:_,element:y,strategy:"absolute",placement:n}),k=u_(Object.assign({},y,C)),S=p===dx?k:_,E={top:x.top-S.top+v.top,bottom:S.bottom-x.bottom+v.bottom,left:x.left-S.left+v.left,right:S.right-x.right+v.right},T=t.modifiersData.offset;if(p===dx&&T){var $=T[n];Object.keys(E).forEach((function(t){var e=[rx,ex].indexOf(t)>=0?1:-1,r=[tx,ex].indexOf(t)>=0?"y":"x";E[t]+=$[r]*e}))}return E}const h_={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,d=r.boundary,u=r.rootBoundary,p=r.altBoundary,b=r.flipVariations,f=void 0===b||b,h=r.allowedAutoPlacements,g=e.options.placement,v=Ax(g),m=l||(v!==g&&f?function(t){if(Ax(t)===nx)return[];var e=o_(t);return[i_(t),e,i_(e)]}(g):[o_(g)]),y=[g].concat(m).reduce((function(t,r){return t.concat(Ax(r)===nx?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?bx:l,d=Qx(o),u=d?a?px:px.filter((function(t){return Qx(t)===d})):ix,p=u.filter((function(t){return c.indexOf(t)>=0}));0===p.length&&(p=u);var b=p.reduce((function(e,r){return e[r]=f_(t,{placement:r,boundary:n,rootBoundary:i,padding:s})[Ax(r)],e}),{});return Object.keys(b).sort((function(t,e){return b[t]-b[e]}))}(e,{placement:r,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:h}):r)}),[]),w=e.rects.reference,x=e.rects.popper,_=new Map,C=!0,k=y[0],S=0;S<y.length;S++){var E=y[S],T=Ax(E),$=Qx(E)===sx,O=[tx,ex].indexOf(T)>=0,A=O?"width":"height",j=f_(e,{placement:E,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),I=O?$?rx:ox:$?ex:tx;w[A]>x[A]&&(I=o_(I));var D=o_(I),R=[];if(i&&R.push(j[T]<=0),a&&R.push(j[I]<=0,j[D]<=0),R.every((function(t){return t}))){k=E,C=!1;break}_.set(E,R)}if(C)for(var L=function(t){var e=y.find((function(e){var r=_.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return k=e,"break"},M=f?3:1;M>0&&"break"!==L(M);M--);e.placement!==k&&(e.modifiersData[o]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function g_(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 v_(t){return[tx,rx,ex,ox].some((function(e){return t[e]>=0}))}const m_={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=f_(e,{elementContext:"reference"}),a=f_(e,{altBoundary:!0}),l=g_(s,o),c=g_(a,n,i),d=v_(l),u=v_(c);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},y_={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=bx.reduce((function(t,r){return t[r]=function(t,e,r){var o=Ax(t),n=[ox,tx].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,[ox,rx].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}},w_={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=b_({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},x_={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,d=r.altBoundary,u=r.padding,p=r.tether,b=void 0===p||p,f=r.tetherOffset,h=void 0===f?0:f,g=f_(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=Ax(e.placement),m=Qx(e.placement),y=!m,w=Bx(v),x="x"===w?"y":"x",_=e.modifiersData.popperOffsets,C=e.rects.reference,k=e.rects.popper,S="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,E="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,$={x:0,y:0};if(_){if(i){var O,A="y"===w?tx:ox,j="y"===w?ex:rx,I="y"===w?"height":"width",D=_[w],R=D+g[A],L=D-g[j],M=b?-k[I]/2:0,P=m===sx?C[I]:k[I],N=m===sx?-k[I]:-C[I],q=e.elements.arrow,z=b&&q?Px(q):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[A],U=H[j],F=Wx(0,C[I],z[I]),B=y?C[I]/2-M-F-V-E.mainAxis:P-F-V-E.mainAxis,W=y?-C[I]/2+M+F+U+E.mainAxis:N+F+U+E.mainAxis,K=e.elements.arrow&&Fx(e.elements.arrow),X=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,G=null!=(O=null==T?void 0:T[w])?O:0,Q=D+W-G,J=Wx(b?Ix(R,D+B-G-X):R,D,b?jx(L,Q):L);_[w]=J,$[w]=J-D}if(a){var Y,Z="x"===w?tx:ox,tt="x"===w?ex:rx,et=_[x],rt="y"===x?"height":"width",ot=et+g[Z],nt=et-g[tt],it=-1!==[tx,ox].indexOf(v),st=null!=(Y=null==T?void 0:T[x])?Y:0,at=it?ot:et-C[rt]-k[rt]-st+E.altAxis,lt=it?et+C[rt]+k[rt]-st-E.altAxis:nt,ct=b&&it?function(t,e,r){var o=Wx(t,e,r);return o>r?r:o}(at,et,lt):Wx(b?at:ot,et,b?lt:nt);_[x]=ct,$[x]=ct-et}e.modifiersData[o]=$}},requiresIfExists:["offset"]};function __(t,e,r){void 0===r&&(r=!1);var o,n,i=Tx(e),s=Tx(e)&&function(t){var e=t.getBoundingClientRect(),r=Dx(e.width)/t.offsetWidth||1,o=Dx(e.height)/t.offsetHeight||1;return 1!==r||1!==o}(e),a=Hx(e),l=Mx(t,s,r),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!r)&&(("body"!==kx(e)||l_(a))&&(c=(o=e)!==Sx(o)&&Tx(o)?{scrollLeft:(n=o).scrollLeft,scrollTop:n.scrollTop}:s_(o)),Tx(e)?((d=Mx(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=a_(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function C_(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 k_={placement:"bottom",modifiers:[],strategy:"absolute"};function S_(){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 E_(t){void 0===t&&(t={});var e=t,r=e.defaultModifiers,o=void 0===r?[]:r,n=e.defaultOptions,i=void 0===n?k_:n;return function(t,e,r){void 0===r&&(r=i);var n,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},k_,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(r){var n="function"==typeof r?r(a.options):r;u(),a.options=Object.assign({},i,a.options,n),a.scrollParents={reference:Ex(t)?d_(t):t.contextElement?d_(t.contextElement):[],popper:d_(e)};var s,c,p=function(t){var e=C_(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:d,options:o});l.push(i||function(){})}})),d.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,r=t.popper;if(S_(e,r)){a.rects={reference:__(e,Fx(r),"fixed"===a.options.strategy),popper:Px(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,u=n.name;"function"==typeof i&&(a=i({state:a,options:l,name:u,instance:d})||a)}else a.reset=!1,o=-1}}},update:(n=function(){return new Promise((function(t){d.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(n())}))}))),s}),destroy:function(){u(),c=!0}};if(!S_(t,e))return d;function u(){l.forEach((function(t){return t()})),l=[]}return d.setOptions(r).then((function(t){!c&&r.onFirstUpdate&&r.onFirstUpdate(t)})),d}}var T_=E_(),$_=E_({defaultModifiers:[e_,w_,Zx,Ox,y_,h_,x_,Gx,m_]}),O_=E_({defaultModifiers:[e_,w_,Zx,Ox]});const A_=new Map,j_={set(t,e,r){A_.has(t)||A_.set(t,new Map);const o=A_.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)=>A_.has(t)&&A_.get(t).get(e)||null,remove(t,e){if(!A_.has(t))return;const r=A_.get(t);r.delete(e),0===r.size&&A_.delete(t)}},I_="transitionend",D_=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),R_=t=>{t.dispatchEvent(new Event(I_))},L_=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),M_=t=>L_(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(D_(t)):null,P_=t=>{if(!L_(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},N_=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),q_=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?q_(t.parentNode):null},z_=()=>{},H_=t=>{t.offsetHeight},V_=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,U_=[],F_=()=>"rtl"===document.documentElement.dir,B_=t=>{var e;e=()=>{const e=V_();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?(U_.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of U_)t()})),U_.push(e)):e()},W_=(t,e=[],r=t)=>"function"==typeof t?t(...e):r,K_=(t,e,r=!0)=>{if(!r)return void W_(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(I_,i),W_(t))};e.addEventListener(I_,i),setTimeout((()=>{n||R_(e)}),o)},X_=(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))])},G_=/[^.]*(?=\..*)\.|.*/,Q_=/\..*/,J_=/::\d+$/,Y_={};let Z_=1;const tC={mouseenter:"mouseover",mouseleave:"mouseout"},eC=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 rC(t,e){return e&&`${e}::${Z_++}`||t.uidEvent||Z_++}function oC(t){const e=rC(t);return t.uidEvent=e,Y_[e]=Y_[e]||{},Y_[e]}function nC(t,e,r=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===r))}function iC(t,e,r){const o="string"==typeof e,n=o?r:e||r;let i=cC(t);return eC.has(i)||(i=t),[o,n,i]}function sC(t,e,r,o,n){if("string"!=typeof e||!t)return;let[i,s,a]=iC(e,r,o);if(e in tC){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=oC(t),c=l[a]||(l[a]={}),d=nC(c,s,i?r:null);if(d)return void(d.oneOff=d.oneOff&&n);const u=rC(s,e.replace(G_,"")),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 uC(n,{delegateTarget:s}),o.oneOff&&dC.off(t,n.type,e,r),r.apply(s,[n])}}(t,r,s):function(t,e){return function r(o){return uC(o,{delegateTarget:t}),r.oneOff&&dC.off(t,o.type,e),e.apply(t,[o])}}(t,s);p.delegationSelector=i?r:null,p.callable=s,p.oneOff=n,p.uidEvent=u,c[u]=p,t.addEventListener(a,p,i)}function aC(t,e,r,o,n){const i=nC(e[r],o,n);i&&(t.removeEventListener(r,i,Boolean(n)),delete e[r][i.uidEvent])}function lC(t,e,r,o){const n=e[r]||{};for(const[i,s]of Object.entries(n))i.includes(o)&&aC(t,e,r,s.callable,s.delegationSelector)}function cC(t){return t=t.replace(Q_,""),tC[t]||t}const dC={on(t,e,r,o){sC(t,e,r,o,!1)},one(t,e,r,o){sC(t,e,r,o,!0)},off(t,e,r,o){if("string"!=typeof e||!t)return;const[n,i,s]=iC(e,r,o),a=s!==e,l=oC(t),c=l[s]||{},d=e.startsWith(".");if(void 0===i){if(d)for(const r of Object.keys(l))lC(t,l,r,e.slice(1));for(const[r,o]of Object.entries(c)){const n=r.replace(J_,"");a&&!e.includes(n)||aC(t,l,s,o.callable,o.delegationSelector)}}else{if(!Object.keys(c).length)return;aC(t,l,s,i,n?r:null)}},trigger(t,e,r){if("string"!=typeof e||!t)return null;const o=V_();let n=null,i=!0,s=!0,a=!1;e!==cC(e)&&o&&(n=o.Event(e,r),o(t).trigger(n),i=!n.isPropagationStopped(),s=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());const l=uC(new Event(e,{bubbles:i,cancelable:!0}),r);return a&&l.preventDefault(),s&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function uC(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 pC(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 bC(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const fC={setDataAttribute(t,e,r){t.setAttribute(`data-bs-${bC(e)}`,r)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${bC(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]=pC(t.dataset[o])}return e},getDataAttribute:(t,e)=>pC(t.getAttribute(`data-bs-${bC(e)}`))};class hC{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=L_(e)?fC.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...L_(e)?fC.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=L_(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 gC extends hC{constructor(t,e){super(),(t=M_(t))&&(this._element=t,this._config=this._getConfig(e),j_.set(this._element,this.constructor.DATA_KEY,this))}dispose(){j_.remove(this._element,this.constructor.DATA_KEY),dC.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,r=!0){K_(t,e,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return j_.get(M_(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 vC=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=>D_(t))).join(","):null},mC={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=>!N_(t)&&P_(t)))},getSelectorFromElement(t){const e=vC(t);return e&&mC.findOne(e)?e:null},getElementFromSelector(t){const e=vC(t);return e?mC.findOne(e):null},getMultipleElementsFromSelector(t){const e=vC(t);return e?mC.find(e):[]}},yC=(t,e="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;dC.on(document,r,`[data-bs-dismiss="${o}"]`,(function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),N_(this))return;const n=mC.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(n)[e]()}))},wC=".bs.alert",xC=`close${wC}`,_C=`closed${wC}`;class CC extends gC{static get NAME(){return"alert"}close(){if(dC.trigger(this._element,xC).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(),dC.trigger(this._element,_C),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)}}))}}yC(CC,"close"),B_(CC);const kC='[data-bs-toggle="button"]';class SC extends gC{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=SC.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}dC.on(document,"click.bs.button.data-api",kC,(t=>{t.preventDefault();const e=t.target.closest(kC);SC.getOrCreateInstance(e).toggle()})),B_(SC);const EC=".bs.swipe",TC=`touchstart${EC}`,$C=`touchmove${EC}`,OC=`touchend${EC}`,AC=`pointerdown${EC}`,jC=`pointerup${EC}`,IC={endCallback:null,leftCallback:null,rightCallback:null},DC={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class RC extends hC{constructor(t,e){super(),this._element=t,t&&RC.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return IC}static get DefaultType(){return DC}static get NAME(){return"swipe"}dispose(){dC.off(this._element,EC)}_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(),W_(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&&W_(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(dC.on(this._element,AC,(t=>this._start(t))),dC.on(this._element,jC,(t=>this._end(t))),this._element.classList.add("pointer-event")):(dC.on(this._element,TC,(t=>this._start(t))),dC.on(this._element,$C,(t=>this._move(t))),dC.on(this._element,OC,(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 LC=".bs.carousel",MC=".data-api",PC="ArrowLeft",NC="ArrowRight",qC="next",zC="prev",HC="left",VC="right",UC=`slide${LC}`,FC=`slid${LC}`,BC=`keydown${LC}`,WC=`mouseenter${LC}`,KC=`mouseleave${LC}`,XC=`dragstart${LC}`,GC=`load${LC}${MC}`,QC=`click${LC}${MC}`,JC="carousel",YC="active",ZC=".active",tk=".carousel-item",ek=ZC+tk,rk={[PC]:VC,[NC]:HC},ok={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},nk={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ik extends gC{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=mC.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===JC&&this.cycle()}static get Default(){return ok}static get DefaultType(){return nk}static get NAME(){return"carousel"}next(){this._slide(qC)}nextWhenVisible(){!document.hidden&&P_(this._element)&&this.next()}prev(){this._slide(zC)}pause(){this._isSliding&&R_(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?dC.one(this._element,FC,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void dC.one(this._element,FC,(()=>this.to(t)));const r=this._getItemIndex(this._getActive());if(r===t)return;const o=t>r?qC:zC;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&&dC.on(this._element,BC,(t=>this._keydown(t))),"hover"===this._config.pause&&(dC.on(this._element,WC,(()=>this.pause())),dC.on(this._element,KC,(()=>this._maybeEnableCycle()))),this._config.touch&&RC.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of mC.find(".carousel-item img",this._element))dC.on(t,XC,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(HC)),rightCallback:()=>this._slide(this._directionToOrder(VC)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new RC(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=rk[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=mC.findOne(ZC,this._indicatorsElement);e.classList.remove(YC),e.removeAttribute("aria-current");const r=mC.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(YC),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===qC,n=e||X_(this._getItems(),r,o,this._config.wrap);if(n===r)return;const i=this._getItemIndex(n),s=e=>dC.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:i});if(s(UC).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),H_(n),r.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add(YC),r.classList.remove(YC,c,l),this._isSliding=!1,s(FC)}),r,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return mC.findOne(ek,this._element)}_getItems(){return mC.find(tk,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return F_()?t===HC?zC:qC:t===HC?qC:zC}_orderToDirection(t){return F_()?t===zC?HC:VC:t===zC?VC:HC}static jQueryInterface(t){return this.each((function(){const e=ik.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)}))}}dC.on(document,QC,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=mC.getElementFromSelector(this);if(!e||!e.classList.contains(JC))return;t.preventDefault();const r=ik.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");return o?(r.to(o),void r._maybeEnableCycle()):"next"===fC.getDataAttribute(this,"slide")?(r.next(),void r._maybeEnableCycle()):(r.prev(),void r._maybeEnableCycle())})),dC.on(window,GC,(()=>{const t=mC.find('[data-bs-ride="carousel"]');for(const e of t)ik.getOrCreateInstance(e)})),B_(ik);const sk=".bs.collapse",ak=`show${sk}`,lk=`shown${sk}`,ck=`hide${sk}`,dk=`hidden${sk}`,uk=`click${sk}.data-api`,pk="show",bk="collapse",fk="collapsing",hk=`:scope .${bk} .${bk}`,gk='[data-bs-toggle="collapse"]',vk={parent:null,toggle:!0},mk={parent:"(null|element)",toggle:"boolean"};class yk extends gC{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const r=mC.find(gk);for(const t of r){const e=mC.getSelectorFromElement(t),r=mC.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 vk}static get DefaultType(){return mk}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=>yk.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(dC.trigger(this._element,ak).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(bk),this._element.classList.add(fk),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(fk),this._element.classList.add(bk,pk),this._element.style[e]="",dC.trigger(this._element,lk)}),this._element,!0),this._element.style[e]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(dC.trigger(this._element,ck).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,H_(this._element),this._element.classList.add(fk),this._element.classList.remove(bk,pk);for(const t of this._triggerArray){const e=mC.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(fk),this._element.classList.add(bk),dC.trigger(this._element,dk)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(pk)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=M_(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(gk);for(const e of t){const t=mC.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=mC.find(hk,this._config.parent);return mC.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=yk.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t]()}}))}}dC.on(document,uk,gk,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of mC.getMultipleElementsFromSelector(this))yk.getOrCreateInstance(t,{toggle:!1}).toggle()})),B_(yk);const wk="dropdown",xk=".bs.dropdown",_k=".data-api",Ck="ArrowUp",kk="ArrowDown",Sk=`hide${xk}`,Ek=`hidden${xk}`,Tk=`show${xk}`,$k=`shown${xk}`,Ok=`click${xk}${_k}`,Ak=`keydown${xk}${_k}`,jk=`keyup${xk}${_k}`,Ik="show",Dk='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Rk=`${Dk}.${Ik}`,Lk=".dropdown-menu",Mk=F_()?"top-end":"top-start",Pk=F_()?"top-start":"top-end",Nk=F_()?"bottom-end":"bottom-start",qk=F_()?"bottom-start":"bottom-end",zk=F_()?"left-start":"right-start",Hk=F_()?"right-start":"left-start",Vk={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Uk={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Fk extends gC{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=mC.next(this._element,Lk)[0]||mC.prev(this._element,Lk)[0]||mC.findOne(Lk,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Vk}static get DefaultType(){return Uk}static get NAME(){return wk}toggle(){return this._isShown()?this.hide():this.show()}show(){if(N_(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!dC.trigger(this._element,Tk,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))dC.on(t,"mouseover",z_);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ik),this._element.classList.add(Ik),dC.trigger(this._element,$k,t)}}hide(){if(N_(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(!dC.trigger(this._element,Sk,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))dC.off(t,"mouseover",z_);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ik),this._element.classList.remove(Ik),this._element.setAttribute("aria-expanded","false"),fC.removeDataAttribute(this._menu,"popper"),dC.trigger(this._element,Ek,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!L_(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${wk.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:L_(this._config.reference)?t=M_(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=$_(t,this._menu,r)}_isShown(){return this._menu.classList.contains(Ik)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return zk;if(t.classList.contains("dropstart"))return Hk;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?Pk:Mk:e?qk:Nk}_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)&&(fC.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...W_(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const r=mC.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>P_(t)));r.length&&X_(r,e,t===kk,!r.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Fk.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=mC.find(Rk);for(const r of e){const e=Fk.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=[Ck,kk].includes(t.key);if(!o&&!r)return;if(e&&!r)return;t.preventDefault();const n=this.matches(Dk)?this:mC.prev(this,Dk)[0]||mC.next(this,Dk)[0]||mC.findOne(Dk,t.delegateTarget.parentNode),i=Fk.getOrCreateInstance(n);if(o)return t.stopPropagation(),i.show(),void i._selectMenuItem(t);i._isShown()&&(t.stopPropagation(),i.hide(),n.focus())}}dC.on(document,Ak,Dk,Fk.dataApiKeydownHandler),dC.on(document,Ak,Lk,Fk.dataApiKeydownHandler),dC.on(document,Ok,Fk.clearMenus),dC.on(document,jk,Fk.clearMenus),dC.on(document,Ok,Dk,(function(t){t.preventDefault(),Fk.getOrCreateInstance(this).toggle()})),B_(Fk);const Bk="backdrop",Wk="show",Kk=`mousedown.bs.${Bk}`,Xk={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Gk={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Qk extends hC{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Xk}static get DefaultType(){return Gk}static get NAME(){return Bk}show(t){if(!this._config.isVisible)return void W_(t);this._append();const e=this._getElement();this._config.isAnimated&&H_(e),e.classList.add(Wk),this._emulateAnimation((()=>{W_(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Wk),this._emulateAnimation((()=>{this.dispose(),W_(t)}))):W_(t)}dispose(){this._isAppended&&(dC.off(this._element,Kk),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=M_(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),dC.on(t,Kk,(()=>{W_(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){K_(t,this._getElement(),this._config.isAnimated)}}const Jk=".bs.focustrap",Yk=`focusin${Jk}`,Zk=`keydown.tab${Jk}`,tS="backward",eS={autofocus:!0,trapElement:null},rS={autofocus:"boolean",trapElement:"element"};class oS extends hC{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return eS}static get DefaultType(){return rS}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),dC.off(document,Jk),dC.on(document,Yk,(t=>this._handleFocusin(t))),dC.on(document,Zk,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,dC.off(document,Jk))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const r=mC.focusableChildren(e);0===r.length?e.focus():this._lastTabNavDirection===tS?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?tS:"forward")}}const nS=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",iS=".sticky-top",sS="padding-right",aS="margin-right";class lS{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,sS,(e=>e+t)),this._setElementAttributes(nS,sS,(e=>e+t)),this._setElementAttributes(iS,aS,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,sS),this._resetElementAttributes(nS,sS),this._resetElementAttributes(iS,aS)}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&&fC.setDataAttribute(t,e,r)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const r=fC.getDataAttribute(t,e);null!==r?(fC.removeDataAttribute(t,e),t.style.setProperty(e,r)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(L_(t))e(t);else for(const r of mC.find(t,this._element))e(r)}}const cS=".bs.modal",dS=`hide${cS}`,uS=`hidePrevented${cS}`,pS=`hidden${cS}`,bS=`show${cS}`,fS=`shown${cS}`,hS=`resize${cS}`,gS=`click.dismiss${cS}`,vS=`mousedown.dismiss${cS}`,mS=`keydown.dismiss${cS}`,yS=`click${cS}.data-api`,wS="modal-open",xS="show",_S="modal-static",CS={backdrop:!0,focus:!0,keyboard:!0},kS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class SS extends gC{constructor(t,e){super(t,e),this._dialog=mC.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new lS,this._addEventListeners()}static get Default(){return CS}static get DefaultType(){return kS}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||dC.trigger(this._element,bS,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(wS),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(dC.trigger(this._element,dS).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(xS),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){dC.off(window,cS),dC.off(this._dialog,cS),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Qk({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new oS({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=mC.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),H_(this._element),this._element.classList.add(xS),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,dC.trigger(this._element,fS,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){dC.on(this._element,mS,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),dC.on(window,hS,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),dC.on(this._element,vS,(t=>{dC.one(this._element,gS,(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(wS),this._resetAdjustments(),this._scrollBar.reset(),dC.trigger(this._element,pS)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(dC.trigger(this._element,uS).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(_S)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(_S),this._queueCallback((()=>{this._element.classList.remove(_S),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=F_()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!r&&t){const t=F_()?"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=SS.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t](e)}}))}}dC.on(document,yS,'[data-bs-toggle="modal"]',(function(t){const e=mC.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),dC.one(e,bS,(t=>{t.defaultPrevented||dC.one(e,pS,(()=>{P_(this)&&this.focus()}))}));const r=mC.findOne(".modal.show");r&&SS.getInstance(r).hide(),SS.getOrCreateInstance(e).toggle(this)})),yC(SS),B_(SS);const ES=".bs.offcanvas",TS=".data-api",$S=`load${ES}${TS}`,OS="show",AS="showing",jS="hiding",IS=".offcanvas.show",DS=`show${ES}`,RS=`shown${ES}`,LS=`hide${ES}`,MS=`hidePrevented${ES}`,PS=`hidden${ES}`,NS=`resize${ES}`,qS=`click${ES}${TS}`,zS=`keydown.dismiss${ES}`,HS={backdrop:!0,keyboard:!0,scroll:!1},VS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class US extends gC{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return HS}static get DefaultType(){return VS}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||dC.trigger(this._element,DS,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new lS).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(AS),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(OS),this._element.classList.remove(AS),dC.trigger(this._element,RS,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(dC.trigger(this._element,LS).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(jS),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(OS,jS),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new lS).reset(),dC.trigger(this._element,PS)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Qk({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():dC.trigger(this._element,MS)}:null})}_initializeFocusTrap(){return new oS({trapElement:this._element})}_addEventListeners(){dC.on(this._element,zS,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():dC.trigger(this._element,MS))}))}static jQueryInterface(t){return this.each((function(){const e=US.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)}}))}}dC.on(document,qS,'[data-bs-toggle="offcanvas"]',(function(t){const e=mC.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),N_(this))return;dC.one(e,PS,(()=>{P_(this)&&this.focus()}));const r=mC.findOne(IS);r&&r!==e&&US.getInstance(r).hide(),US.getOrCreateInstance(e).toggle(this)})),dC.on(window,$S,(()=>{for(const t of mC.find(IS))US.getOrCreateInstance(t).show()})),dC.on(window,NS,(()=>{for(const t of mC.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&US.getOrCreateInstance(t).hide()})),yC(US),B_(US);const FS={"*":["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:[]},BS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),WS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,KS=(t,e)=>{const r=t.nodeName.toLowerCase();return e.includes(r)?!BS.has(r)||Boolean(WS.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(r)))},XS={allowList:FS,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},GS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},QS={entry:"(string|element|function|null)",selector:"(string|element)"};class JS extends hC{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return XS}static get DefaultType(){return GS}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},QS)}_setContent(t,e,r){const o=mC.findOne(r,t);o&&((e=this._resolvePossibleFunction(e))?L_(e)?this._putElementInTemplate(M_(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)KS(e,n)||t.removeAttribute(e.nodeName)}return o.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return W_(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const YS=new Set(["sanitize","allowList","sanitizeFn"]),ZS="fade",tE="show",eE=".tooltip-inner",rE=".modal",oE="hide.bs.modal",nE="hover",iE="focus",sE={AUTO:"auto",TOP:"top",RIGHT:F_()?"left":"right",BOTTOM:"bottom",LEFT:F_()?"right":"left"},aE={allowList:FS,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"},lE={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 cE extends gC{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 aE}static get DefaultType(){return lE}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),dC.off(this._element.closest(rE),oE,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=dC.trigger(this._element,this.constructor.eventName("show")),e=(q_(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),dC.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(tE),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))dC.on(t,"mouseover",z_);this._queueCallback((()=>{dC.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!dC.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(tE),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))dC.off(t,"mouseover",z_);this._activeTrigger.click=!1,this._activeTrigger[iE]=!1,this._activeTrigger[nE]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),dC.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,tE),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 JS({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[eE]: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(tE)}_createPopper(t){const e=W_(this._config.placement,[this,t,this._element]),r=sE[e.toUpperCase()];return $_(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 W_(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,...W_(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)dC.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===nE?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=e===nE?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");dC.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?iE:nE]=!0,e._enter()})),dC.on(this._element,r,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?iE:nE]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},dC.on(this._element.closest(rE),oE,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=fC.getDataAttributes(this._element);for(const t of Object.keys(e))YS.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:M_(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=cE.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}B_(cE);const dE=".popover-header",uE=".popover-body",pE={...cE.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"},bE={...cE.DefaultType,content:"(null|string|element|function)"};class fE extends cE{static get Default(){return pE}static get DefaultType(){return bE}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dE]:this._getTitle(),[uE]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=fE.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}B_(fE);const hE=".bs.scrollspy",gE=`activate${hE}`,vE=`click${hE}`,mE=`load${hE}.data-api`,yE="active",wE="[href]",xE=".nav-link",_E=`${xE}, .nav-item > ${xE}, .list-group-item`,CE={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},kE={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class SE extends gC{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 CE}static get DefaultType(){return kE}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=M_(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&&(dC.off(this._config.target,vE),dC.on(this._config.target,vE,wE,(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=mC.find(wE,this._config.target);for(const e of t){if(!e.hash||N_(e))continue;const t=mC.findOne(decodeURI(e.hash),this._element);P_(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(yE),this._activateParents(t),dC.trigger(this._element,gE,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))mC.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(yE);else for(const e of mC.parents(t,".nav, .list-group"))for(const t of mC.prev(e,_E))t.classList.add(yE)}_clearActiveClass(t){t.classList.remove(yE);const e=mC.find(`${wE}.${yE}`,t);for(const t of e)t.classList.remove(yE)}static jQueryInterface(t){return this.each((function(){const e=SE.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]()}}))}}dC.on(window,mE,(()=>{for(const t of mC.find('[data-bs-spy="scroll"]'))SE.getOrCreateInstance(t)})),B_(SE);const EE=".bs.tab",TE=`hide${EE}`,$E=`hidden${EE}`,OE=`show${EE}`,AE=`shown${EE}`,jE=`click${EE}`,IE=`keydown${EE}`,DE=`load${EE}`,RE="ArrowLeft",LE="ArrowRight",ME="ArrowUp",PE="ArrowDown",NE="Home",qE="End",zE="active",HE="fade",VE="show",UE=".dropdown-toggle",FE=`:not(${UE})`,BE='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',WE=`.nav-link${FE}, .list-group-item${FE}, [role="tab"]${FE}, ${BE}`,KE=`.${zE}[data-bs-toggle="tab"], .${zE}[data-bs-toggle="pill"], .${zE}[data-bs-toggle="list"]`;class XE extends gC{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),dC.on(this._element,IE,(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?dC.trigger(e,TE,{relatedTarget:t}):null;dC.trigger(t,OE,{relatedTarget:e}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(zE),this._activate(mC.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),dC.trigger(t,AE,{relatedTarget:e})):t.classList.add(VE)}),t,t.classList.contains(HE)))}_deactivate(t,e){t&&(t.classList.remove(zE),t.blur(),this._deactivate(mC.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),dC.trigger(t,$E,{relatedTarget:e})):t.classList.remove(VE)}),t,t.classList.contains(HE)))}_keydown(t){if(![RE,LE,ME,PE,NE,qE].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!N_(t)));let r;if([NE,qE].includes(t.key))r=e[t.key===NE?0:e.length-1];else{const o=[LE,PE].includes(t.key);r=X_(e,t.target,o,!0)}r&&(r.focus({preventScroll:!0}),XE.getOrCreateInstance(r).show())}_getChildren(){return mC.find(WE,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=mC.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=mC.findOne(t,r);n&&n.classList.toggle(o,e)};o(UE,zE),o(".dropdown-menu",VE),r.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,r){t.hasAttribute(e)||t.setAttribute(e,r)}_elemIsActive(t){return t.classList.contains(zE)}_getInnerElement(t){return t.matches(WE)?t:mC.findOne(WE,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=XE.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}dC.on(document,jE,BE,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),N_(this)||XE.getOrCreateInstance(this).show()})),dC.on(window,DE,(()=>{for(const t of mC.find(KE))XE.getOrCreateInstance(t)})),B_(XE);const GE=".bs.toast",QE=`mouseover${GE}`,JE=`mouseout${GE}`,YE=`focusin${GE}`,ZE=`focusout${GE}`,tT=`hide${GE}`,eT=`hidden${GE}`,rT=`show${GE}`,oT=`shown${GE}`,nT="hide",iT="show",sT="showing",aT={animation:"boolean",autohide:"boolean",delay:"number"},lT={animation:!0,autohide:!0,delay:5e3};class cT extends gC{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return lT}static get DefaultType(){return aT}static get NAME(){return"toast"}show(){dC.trigger(this._element,rT).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(nT),H_(this._element),this._element.classList.add(iT,sT),this._queueCallback((()=>{this._element.classList.remove(sT),dC.trigger(this._element,oT),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(dC.trigger(this._element,tT).defaultPrevented||(this._element.classList.add(sT),this._queueCallback((()=>{this._element.classList.add(nT),this._element.classList.remove(sT,iT),dC.trigger(this._element,eT)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(iT),super.dispose()}isShown(){return this._element.classList.contains(iT)}_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(){dC.on(this._element,QE,(t=>this._onInteraction(t,!0))),dC.on(this._element,JE,(t=>this._onInteraction(t,!1))),dC.on(this._element,YE,(t=>this._onInteraction(t,!0))),dC.on(this._element,ZE,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=cT.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}yC(cT),B_(cT);var dT=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},uT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let pT=class extends Ow{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 fE(t)}))}}renderImage(t){return null!=t?$t`<img src="${t}"/><span/>`:$t``}renderMenu(t,e,r){let o=$t``;const n=null!=t&&null!=t.Menu?t.Menu:t;return null!=n&&(n.forEach?n.forEach((t=>{o=null!=t.Menu?$t`${o}${this.renderMenuDropdown(t,r)}`:"Divider"==t.Type?$t`${o}${this.renderMenuDivider()}`:e?$t`${o}${this.renderMenuDropdownLink(t.URL,t.Text,t.Icon)}`:$t`${o}${this.renderMenuLink(t)}`})):o=null!=n.Menu?$t`${o}${this.renderMenuDropdown(n,r)}`:"Divider"==n.Type?$t`${o}${this.renderMenuDivider()}`:e?$t`${o}${this.renderMenuDropdownLink(n.URL,n.Text,n.Icon)}`:$t`${o}${this.renderMenuLink(n)}`),$t`${o}`}renderMenuDivider(){return $t`<li><hr/></li>`}renderMenuDropdown(t,e){const r=null!=t.Icon&&""!=t.Icon?$t`<i class="${t.Icon} ${this.iconClass}" />`:"";return e?$t`<li>
|
|
286
286
|
<a class="${this.liAMenuClass}" href="${t.URL}">
|
|
287
287
|
${r}<span>${t.Text}</span>
|
|
288
288
|
<span class="${this.spanMenuClass}">${this.spanMenuValue}</span>
|
|
@@ -321,15 +321,15 @@
|
|
|
321
321
|
</ul>
|
|
322
322
|
</div>
|
|
323
323
|
</div>
|
|
324
|
-
</nav>`:$t``}};sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"ariaExpanded",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"ariaLabel",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"buttonType",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"collapseToggle",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"dblClickClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"dropdownId",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"dropdownToggle",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"iconClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"liLinkToggleClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"liLinkClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"liAMenuClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"navClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"popoverContainer",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"popoverHtml",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"popoverPlacement",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"popoverToggle",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"popoverTrigger",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"spanMenuClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"spanMenuValue",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"ulMainMenuToggleClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"ulSubMenuClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"ulSubMenuToggleClass",void 0),sT([Jt({type:String}),aT("design:type",Object)],lT.prototype,"apiEndpoint",void 0),sT([Jt({type:Boolean}),aT("design:type",Object)],lT.prototype,"renderInHost",void 0),lT=sT([Kt("qbo-mainmenu")],lT);class cT 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",cT);var dT=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 uT=class extends Bt{async connectedCallback(){super.connectedCallback()}render(){return $t`<zero-md src="${this.src}"><script type="text/markdown">${this.querySelector("script")?.innerHTML}<\/script></zero-md>`}};dT([Jt(),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:type",Object)],uT.prototype,"src",void 0),uT=dT([Kt("qbo-markdown")],uT);var pT,bT=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 hT=class extends Bt{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{pT=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,pT.activeInstance=this,this.activeClass&&this.classList.add(this.activeClass),console.log("listening"),this._recognition.start()}stop(t){this.listening=!1,pT.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 $t`<slot></slot>`}};bT([Jt({type:Boolean}),fT("design:type",Object)],hT.prototype,"renderInHost",void 0),bT([Jt({type:Boolean}),fT("design:type",Object)],hT.prototype,"continuous",void 0),bT([Jt({type:Boolean}),fT("design:type",Object)],hT.prototype,"interimResults",void 0),bT([Jt({type:Number}),fT("design:type",Object)],hT.prototype,"maxAlternatives",void 0),bT([Jt({type:String}),fT("design:type",Object)],hT.prototype,"for",void 0),bT([Jt({type:String}),fT("design:type",Object)],hT.prototype,"class",void 0),bT([Jt({type:String}),fT("design:type",Object)],hT.prototype,"activeClass",void 0),hT=pT=bT([Kt("qbo-microphone")],hT);var gT=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},vT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let mT=class extends Lw{constructor(){super(...arguments),this.contentAtt="data-bs-content",this.contentStyle="none",this.containerAtt="data-bs-container",this.containerValue="body",this.defaultContent="No content provided",this.htmlAtt="data-bs-html",this.htmlValue="true",this.placementAtt="data-bs-placement",this.placementValue="left",this.selector="*[slot=content]",this.toggleAtt="data-bs-toggle",this.toggleValue="popover",this.renderInHost=!0}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}connectedCallback(){super.connectedCallback(),this.setAttribute(this.toggleAtt,this.toggleValue),this.setAttribute(this.placementAtt,this.placementValue),this.setAttribute(this.containerAtt,this.containerValue),this.setAttribute(this.htmlAtt,this.htmlValue)}firstUpdated(t){super.firstUpdated(t);const e=this.querySelector(this.selector);e instanceof HTMLElement&&(e.style.display=this.contentStyle),this.setAttribute(this.contentAtt,e?.innerHTML??this.defaultContent),new dE(this)}render(){return $t`<slot></slot>`}};gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"contentAtt",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"contentStyle",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"containerAtt",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"containerValue",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"defaultContent",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"htmlAtt",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"htmlValue",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"placementAtt",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"placementValue",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"selector",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"toggleAtt",void 0),gT([Jt({type:String}),vT("design:type",Object)],mT.prototype,"toggleValue",void 0),gT([Jt({type:Boolean}),vT("design:type",Object)],mT.prototype,"renderInHost",void 0),mT=gT([Kt("qbo-popover")],mT);class yT{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 wT extends yT{constructor(t){if(super(t),this.it=At,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===At||null==t)return this._t=void 0,this.it=t;if(t===Ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}wT.directiveName="unsafeHTML",wT.resultType=1;const _T=(xT=wT,(...t)=>({_$litDirective$:xT,values:t}));var xT,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},kT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let ST=class extends Sw{constructor(){super(...arguments),this.open=!1,this.loading=!1,this.renderInHost=!1}static{this.styles=[B`
|
|
324
|
+
</nav>`:$t``}};dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"ariaExpanded",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"ariaLabel",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"buttonType",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"collapseToggle",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"dblClickClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"dropdownId",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"dropdownToggle",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"iconClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"liLinkToggleClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"liLinkClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"liAMenuClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"navClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"popoverContainer",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"popoverHtml",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"popoverPlacement",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"popoverToggle",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"popoverTrigger",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"spanMenuClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"spanMenuValue",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"ulMainMenuToggleClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"ulSubMenuClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"ulSubMenuToggleClass",void 0),dT([Qt({type:String}),uT("design:type",Object)],pT.prototype,"apiEndpoint",void 0),dT([Qt({type:Boolean}),uT("design:type",Object)],pT.prototype,"renderInHost",void 0),pT=dT([Kt("qbo-mainmenu")],pT);const bT=(t="")=>`https://cdn.jsdelivr.net/npm/${t}`,fT=[[bT("github-markdown-css@5/github-markdown.min.css")],[bT("@highlightjs/cdn-assets@11/styles/github.min.css")],[bT("@highlightjs/cdn-assets@11/styles/github-dark.min.css"),'media="(prefers-color-scheme:dark)"'],[bT("katex@0/dist/katex.min.css")]],hT={marked:bT("marked@12/lib/marked.esm.js"),markedBaseUrl:bT("marked-base-url@1/+esm"),markedHighlight:bT("marked-highlight@2/+esm"),markedExtensions:[[bT("marked-gfm-heading-id@3/+esm"),"gfmHeadingId"],[bT("marked-alert@2/+esm")]],hljs:bT("@highlightjs/cdn-assets@11/es/highlight.min.js"),katex:bT("katex@0/dist/katex.mjs"),mermaid:bT("mermaid@10/dist/mermaid.esm.min.mjs")};class gT extends HTMLElement{get src(){return this.getAttribute("src")}set src(t){t?this.setAttribute("src",t):this.removeAttribute("src")}get auto(){return!this.hasAttribute("no-auto")}get bodyClass(){const t=this.getAttribute("body-class");return"markdown-body"+(t?" "+t:"")}constructor(){super();try{this.version="3.0.0"}catch{}this.template="<style>:host{display:block;position:relative;contain:content;}:host([hidden]){display:none;}</style>",this._clicked=(t=>{var e;if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||t.defaultPrevented)return;const r=null==(e=t.target)?void 0:e.closest("a");r&&r.hash&&r.host===location.host&&r.pathname===location.pathname&&this.goto(r.hash)}).bind(this),this._observer=new MutationObserver((()=>{this._observe(),this.auto&&this.render()})),this._loaded=!1,this.root=this}static get observedAttributes(){return["src","body-class"]}attributeChangedCallback(t,e,r){var o;if(this.ready&&e!==r)switch(t){case"body-class":null==(o=this.root.querySelector(".markdown-body"))||o.setAttribute("class",this.bodyClass);break;case"src":this.auto&&this.render()}}async connectedCallback(){var t;this._loaded||(this.hasAttribute("no-shadow")||(this.root=this.attachShadow({mode:"open"})),this.root.prepend(this.frag(`<div class="markdown-styles"></div><div class="${this.bodyClass}"></div>`)),await this.load(),this._loaded=!0),null==(t=this.shadowRoot)||t.addEventListener("click",this._clicked),this._observer.observe(this,{childList:!0}),this._observe(),this.ready=!0,this.fire("zero-md-ready"),this.auto&&this.render()}disconnectedCallback(){var t;null==(t=this.shadowRoot)||t.removeEventListener("click",this._clicked),this._observer.disconnect(),this.ready=!1}_observe(){this.querySelectorAll('template,script[type="text/markdown"]').forEach((t=>this._observer.observe(t.content||t,{childList:!0,subtree:!0,attributes:!0,characterData:!0})))}async load(){}async parse(t){return""}goto(t){var e;const r=this.shadowRoot||document;t&&(null==(e=r.getElementById("#"===t[0]?t.slice(1):t))||e.scrollIntoView())}frag(t){const e=document.createElement("template");return e.innerHTML=t,e.content}hash(t){let e=5381;for(let r=0;r<t.length;r++)e=(e<<5)+e^t.charCodeAt(r);return(e>>>0).toString(36)}tick(){return new Promise((t=>requestAnimationFrame(t)))}fire(t,e={}){this.dispatchEvent(new CustomEvent(t,{detail:e,bubbles:!0}))}async read(t){const{target:e}=t,r=(r="",o="")=>{var n;const i=this.hash(r),s=(null==(n=this.root.querySelector(`.markdown-${e}`))?void 0:n.getAttribute("data-hash"))!==i;return{...t,text:r,hash:i,changed:s,baseUrl:o}};switch(e){case"styles":{const t=(t="")=>{var e;return null==(e=this.querySelector(t))?void 0:e.innerHTML};return r((t("template[data-prepend]")??"")+(t("template:not([data-prepend],[data-append])")??this.template)+(t("template[data-append]")??""))}case"body":{if(this.src){const t=await fetch(this.src);if(t.ok){const e=()=>{const t=document.createElement("a");return t.href=this.src||"",t.href.substring(0,t.href.lastIndexOf("/")+1)};return r(await t.text(),e())}console.warn("[zero-md] error reading src",this.src)}const t=this.querySelector('script[type="text/markdown"]');return r((null==t?void 0:t.text)||"")}default:return r()}}async stamp(t){const{target:e,text:r="",hash:o=""}=t,n=this.root.querySelector(`.markdown-${e}`);if(!n)return t;n.setAttribute("data-hash",o);const i=this.frag(r),s=Array.from(i.querySelectorAll('link[rel="stylesheet"]')||[]),a=Promise.all(s.map((t=>new Promise((e=>{t.onload=e,t.onerror=r=>{console.warn("[zero-md] error loading stylesheet",t.href),e(r)}})))));return n.innerHTML="",n.append(i),await a,{...t,stamped:!0}}async render({fire:t=!0,goto:e=location.hash}={}){const r=await this.read({target:"styles"}),o=r.changed&&this.stamp(r),n=await this.read({target:"body"});if(n.changed){const t=this.parse(n);await o,await this.tick(),await this.stamp({...n,text:await t})}else await o;await this.tick();const i={styles:r.changed,body:n.changed};return t&&this.fire("zero-md-rendered",i),this.auto&&e&&this.goto(e),i}}let vT=0;new URL("file:///D:/a/1/s/src/qbo4.UI.Web/node_modules/zero-md/dist/index.js").searchParams.has("register")&&customElements.define("zero-md",class extends gT{async load({stylesheets:t=fT,libraries:e=hT}={}){if(this.template+=t.map((([t,...e])=>`<link ${['rel="stylesheet"',...e].join(" ")} href="${t}">`)).join("")+"<style>.markdown-alert{padding:0.25rem 0 0 1rem!important;}</style>",!this.marked){const{marked:t,markedBaseUrl:o,markedHighlight:n,markedExtensions:i}=e,s=await Promise.all([t,o,n].concat(i.map((t=>t[0]))).map((t=>r(526)(t))));this.marked=new s[0].Marked({async:!0}),this.setBaseUrl=s[1].baseUrl,this.markedHighlight=s[2].markedHighlight;for(const[t,e]of s.slice(3).map(((t,e)=>[t,i[e][1]||"default"])))this.marked.use(t[e]())}const o=async()=>{this.katex=(await r(526)(e.katex)).default},n=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,i=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;this.marked.use({...this.markedHighlight({async:!0,highlight:async(t="",n="")=>{if("mermaid"===n){this.mermaid||(this.mermaid=(await r(526)(e.mermaid)).default,this.mermaid.initialize({startOnLoad:!1}));const{svg:o}=await this.mermaid.render("mermaid-svg-"+vT++,t);return o}return"math"===n?(this.katex||await o(),this.parseKatex(t,{displayMode:!0})):(this.hljs||(this.hljs=(await r(526)(e.hljs)).default),this.hljs.getLanguage(n)?this.hljs.highlight(t,{language:n}).value:this.hljs.highlightAuto(t).value)}}),renderer:{code:(t="",e="")=>"mermaid"===e?`<div class="mermaid">${t}</div>`:"math"===e?t:`<pre><code class="hljs${e?` language-${e}`:""}">${t}\n</code></pre>`}},{extensions:[{name:"inlineKatex",level:"inline",start(t){let e,r=t;for(;r;){if(e=r.indexOf("$"),-1===e)return;if((0===e||" "===r.charAt(e-1))&&r.substring(e).match(n))return e;r=r.substring(e+1).replace(/^\$+/,"")}},tokenizer(t){const e=t.match(n);if(e)return{type:"inlineKatex",raw:e[0],text:e[2].trim(),displayMode:2===e[1].length}},renderer:t=>t.text},{name:"blockKatex",level:"block",tokenizer(t){const e=t.match(i);if(e)return{type:"blockKatex",raw:e[0],text:e[2].trim(),displayMode:2===e[1].length}},renderer:t=>t.text}],walkTokens:async t=>{["inlineKatex","blockKatex"].includes(t.type)&&(this.katex||await o(),t.text=this.parseKatex(t.text,{displayMode:"blockKatex"===t.type}))}})}parseKatex(t="",e={}){return this.katex.renderToString(t,{...e,throwOnError:!1})}async parse({text:t="",baseUrl:e=""}){return this.marked.use(this.setBaseUrl(e||"")),this.marked.parse(t)}});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};let yT=class extends Bt{async connectedCallback(){super.connectedCallback()}render(){return $t`<zero-md src="${this.src}"><script type="text/markdown">${this.querySelector("script")?.innerHTML}<\/script></zero-md>`}};mT([Qt(),function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}("design:type",Object)],yT.prototype,"src",void 0),yT=mT([Kt("qbo-markdown")],yT);var wT,xT=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 CT=class extends Bt{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{wT=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,wT.activeInstance=this,this.activeClass&&this.classList.add(this.activeClass),console.log("listening"),this._recognition.start()}stop(t){this.listening=!1,wT.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 $t`<slot></slot>`}};xT([Qt({type:Boolean}),_T("design:type",Object)],CT.prototype,"renderInHost",void 0),xT([Qt({type:Boolean}),_T("design:type",Object)],CT.prototype,"continuous",void 0),xT([Qt({type:Boolean}),_T("design:type",Object)],CT.prototype,"interimResults",void 0),xT([Qt({type:Number}),_T("design:type",Object)],CT.prototype,"maxAlternatives",void 0),xT([Qt({type:String}),_T("design:type",Object)],CT.prototype,"for",void 0),xT([Qt({type:String}),_T("design:type",Object)],CT.prototype,"class",void 0),xT([Qt({type:String}),_T("design:type",Object)],CT.prototype,"activeClass",void 0),CT=wT=xT([Kt("qbo-microphone")],CT);var kT=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},ST=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let ET=class extends qw{constructor(){super(...arguments),this.contentAtt="data-bs-content",this.contentStyle="none",this.containerAtt="data-bs-container",this.containerValue="body",this.defaultContent="No content provided",this.htmlAtt="data-bs-html",this.htmlValue="true",this.placementAtt="data-bs-placement",this.placementValue="left",this.selector="*[slot=content]",this.toggleAtt="data-bs-toggle",this.toggleValue="popover",this.renderInHost=!0}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}connectedCallback(){super.connectedCallback(),this.setAttribute(this.toggleAtt,this.toggleValue),this.setAttribute(this.placementAtt,this.placementValue),this.setAttribute(this.containerAtt,this.containerValue),this.setAttribute(this.htmlAtt,this.htmlValue)}firstUpdated(t){super.firstUpdated(t);const e=this.querySelector(this.selector);e instanceof HTMLElement&&(e.style.display=this.contentStyle),this.setAttribute(this.contentAtt,e?.innerHTML??this.defaultContent),new fE(this)}render(){return $t`<slot></slot>`}};kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"contentAtt",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"contentStyle",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"containerAtt",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"containerValue",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"defaultContent",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"htmlAtt",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"htmlValue",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"placementAtt",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"placementValue",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"selector",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"toggleAtt",void 0),kT([Qt({type:String}),ST("design:type",Object)],ET.prototype,"toggleValue",void 0),kT([Qt({type:Boolean}),ST("design:type",Object)],ET.prototype,"renderInHost",void 0),ET=kT([Kt("qbo-popover")],ET);class TT{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 $T extends TT{constructor(t){if(super(t),this.it=At,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===At||null==t)return this._t=void 0,this.it=t;if(t===Ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}$T.directiveName="unsafeHTML",$T.resultType=1;const OT=(AT=$T,(...t)=>({_$litDirective$:AT,values:t}));var AT,jT=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 DT=class extends Ow{constructor(){super(...arguments),this.open=!1,this.loading=!1,this.renderInHost=!1}static{this.styles=[B`
|
|
325
325
|
/* Add any custom styles here */
|
|
326
326
|
.foo { color: red; }
|
|
327
327
|
`]}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 $t`
|
|
328
328
|
<slot name="button" @click="${this.toggle}">
|
|
329
329
|
<button class="btn">Popup</button>
|
|
330
330
|
</slot>
|
|
331
|
-
<slot name="content" @click="${this.hide}" style="display:${this.open?"flex":"none"}">${
|
|
332
|
-
`}};
|
|
331
|
+
<slot name="content" @click="${this.hide}" style="display:${this.open?"flex":"none"}">${OT(this.html)}</slot>
|
|
332
|
+
`}};jT([Qt({type:Boolean}),IT("design:type",Object)],DT.prototype,"open",void 0),jT([Qt({type:Boolean}),IT("design:type",Object)],DT.prototype,"loading",void 0),jT([Qt({type:Boolean}),IT("design:type",Object)],DT.prototype,"renderInHost",void 0),DT=jT([Kt("qbo-popup")],DT);var RT=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},LT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let MT=class extends Bt{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 $t`
|
|
333
333
|
<slot name="button" @click="${this.toggle}"></slot>
|
|
334
334
|
<slot name="content" @click="${this.hide}" style="display:${this.open?"flex":"none"}">
|
|
335
335
|
<link href="scripts/qbo4.css" rel="stylesheet">
|
|
@@ -346,16 +346,16 @@
|
|
|
346
346
|
</div>
|
|
347
347
|
</div>
|
|
348
348
|
</slot>
|
|
349
|
-
`}};
|
|
349
|
+
`}};RT([Qt({type:Boolean}),LT("design:type",Object)],MT.prototype,"open",void 0),RT([Qt({type:Boolean}),LT("design:type",Object)],MT.prototype,"loading",void 0),RT([Qt({type:Boolean}),LT("design:type",Object)],MT.prototype,"renderInHost",void 0),RT([Qt({type:String}),LT("design:type",Object)],MT.prototype,"src",void 0),RT([Qt({type:String}),LT("design:type",Object)],MT.prototype,"title",void 0),RT([Qt(),LT("design:type",Object)],MT.prototype,"clickSelector",void 0),RT([Qt(),LT("design:type",Object)],MT.prototype,"eventName",void 0),RT([Qt(),LT("design:type",Object)],MT.prototype,"target",void 0),RT([Qt({type:Boolean}),LT("design:type",Object)],MT.prototype,"listen",void 0),MT=RT([Kt("qbo-popup-listener")],MT);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},NT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let qT=class extends qw{constructor(){super(...arguments),this.apiEndpoint="default",this.loading=!1,this.optionText=null,this.optionValue=null,this.defaultValue=null,this.emptyOptionText="--",this.emptyOptionValue="",this.options=[],this.jsonData={},this.renderInHost=!0}static{this.styles=[B`
|
|
350
350
|
/* Add any custom styles here */
|
|
351
351
|
.foo { color: red; }
|
|
352
|
-
`]}async connectedCallback(){this.optionText??=this.optionValue,super.connectedCallback()
|
|
352
|
+
`]}async connectedCallback(){if(this.optionText??=this.optionValue,super.connectedCallback(),null!==this.jsonData){const t=i$(this.apiEndpoint);this.jsonData=await t.fetch(null,{})}}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}render(){return this.options=aw(this.jsonData),this.options?(this.optionValue??=Object.keys(this.options[0])[0],this.optionText??=Object.keys(this.options[0])[1]??this.optionValue,$t`<select ?disabled=${this.hasAttribute("disabled")} class=${this.getAttribute("class")}>
|
|
353
353
|
<option value="${this.emptyOptionValue}">${this.emptyOptionText}</option>
|
|
354
354
|
${this.options.map((t=>$t`<option value="${t[this.optionValue]}" ?selected="${t[this.optionValue]==this.defaultValue}">${t[this.optionText]}</option>`))}
|
|
355
|
-
</select>`):$t`<p>Loading...</p>`}};
|
|
355
|
+
</select>`):$t`<p>Loading...</p>`}};PT([Qt({type:String}),NT("design:type",Object)],qT.prototype,"apiEndpoint",void 0),PT([Qt({type:Boolean}),NT("design:type",Object)],qT.prototype,"loading",void 0),PT([Qt({type:String}),NT("design:type",Object)],qT.prototype,"optionText",void 0),PT([Qt({type:String}),NT("design:type",Object)],qT.prototype,"optionValue",void 0),PT([Qt({type:String}),NT("design:type",Object)],qT.prototype,"defaultValue",void 0),PT([Qt({type:String}),NT("design:type",Object)],qT.prototype,"emptyOptionText",void 0),PT([Qt({type:String}),NT("design:type",Object)],qT.prototype,"emptyOptionValue",void 0),PT([Qt({type:Array}),NT("design:type",Object)],qT.prototype,"options",void 0),PT([Qt({type:Object}),NT("design:type",Object)],qT.prototype,"jsonData",void 0),PT([Qt({type:Boolean}),NT("design:type",Object)],qT.prototype,"renderInHost",void 0),qT=PT([Kt("qbo-select")],qT);var zT=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},HT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let VT=class extends Bt{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 $t`<slot></slot>`}};zT([Qt({type:String}),HT("design:type",Object)],VT.prototype,"collapseAttribute",void 0),zT([Qt({type:String}),HT("design:type",Object)],VT.prototype,"collapseSelector",void 0),zT([Qt({type:String}),HT("design:type",Object)],VT.prototype,"menuCollapsed",void 0),zT([Qt({type:String}),HT("design:type",Object)],VT.prototype,"menuExpanded",void 0),zT([Qt({type:String}),HT("design:type",Object)],VT.prototype,"menuShow",void 0),VT=zT([Kt("qbo-sidebar")],VT);var UT=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)};const BT=new Map;BT.set("defaultLayout",(t=>$t`<div slot="content" class="${t.slotClass}">
|
|
356
356
|
<input type="text" ?disabled=${t.disabled} class="${t.inputClass}" name="${t.inputName}" value="${t.data?.USSSN}"/>
|
|
357
357
|
<span @click="${t.toggleSSN}" class="${t.spanClass}" title="${t.titleShowText}"><i class="${t.imageClassShow}"></i></span>
|
|
358
|
-
</div>`));let
|
|
358
|
+
</div>`));let WT=class extends qw{constructor(){super(...arguments),this.apiEndpoint="qbo",this.disabled=!0,this.editMode=!1,this.event="click",this.imageClassShow="qbo-icon-eye",this.imageClassHide="qbo-icon-eye-slash",this.inputClass="qbo-sm",this.inputName="USSSN",this.selectorImage="i",this.selectorInput="input",this.selectorSpan="span",this.show=!1,this.slotClass="qbo-input-group",this.spanClass="qbo-input-group-text qbo-pointer",this.titleMaskText="Mask",this.titleShowText="Show",this.type="defaultLayout",this.url="contact/UnmaskSSN",this.renderInHost=!0}createRenderRoot(){return this.renderInHost?this:super.createRenderRoot()}async toggleSSN(){if(this.show=!this.show,this.show){const t=j.container.isRegistered(this.apiEndpoint)?j.container.resolve(this.apiEndpoint):new dw(this.apiEndpoint),e=await t.fetch(`${this.url}`,{ID:`${this.data?.ContactID}`});this.renderRoot.querySelectorAll(`${this.selectorInput}`).forEach((t=>{if(t instanceof HTMLInputElement&&e?.ContactCollection?.length>0&&null!=e.ContactCollection[0].USSSN&&9==e.ContactCollection[0].USSSN.length){const r=e.ContactCollection[0].USSSN;t.value=`${r.substring(0,3)}-${r.substring(3,5)}-${r.substring(5,9)}`,this.editMode&&(t.disabled=!1),this.renderRoot.querySelectorAll(`${this.selectorSpan}`).forEach((t=>{t.setAttribute("title",`${this.titleMaskText}`)})),this.renderRoot.querySelectorAll(`${this.selectorImage}`).forEach((t=>{t.className=`${this.imageClassHide}`}))}else this.show=!this.show}))}else this.renderRoot.querySelectorAll(`${this.selectorInput}`).forEach((t=>{t instanceof HTMLInputElement&&(t.value=`${this.data?.USSSN}`,this.editMode&&(t.disabled=!0)),this.renderRoot.querySelectorAll(`${this.selectorSpan}`).forEach((t=>{t.setAttribute("title",`${this.titleShowText}`)})),this.renderRoot.querySelectorAll(`${this.selectorImage}`).forEach((t=>{t.className=`${this.imageClassShow}`}))}))}render(){return $t`<slot>${BT.has(this.type)?BT.get(this.type)(this):null}</slot>`}};UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"apiEndpoint",void 0),UT([Qt({type:Boolean}),FT("design:type",Object)],WT.prototype,"disabled",void 0),UT([Qt({type:Boolean}),FT("design:type",Object)],WT.prototype,"editMode",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"event",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"imageClassShow",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"imageClassHide",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"inputClass",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"inputName",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"selectorImage",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"selectorInput",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"selectorSpan",void 0),UT([Qt({type:Boolean}),FT("design:type",Object)],WT.prototype,"show",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"slotClass",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"spanClass",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"titleMaskText",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"titleShowText",void 0),UT([Qt(),FT("design:type",Object)],WT.prototype,"type",void 0),UT([Qt({type:String}),FT("design:type",Object)],WT.prototype,"url",void 0),UT([Qt({type:Boolean}),FT("design:type",Object)],WT.prototype,"renderInHost",void 0),WT=UT([Kt("qbo-ssn")],WT);var KT=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 GT=class extends Ow{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=aw(this.jsonData)??this.loadData()??[{Loading:"..."}],this.querySelector("tbody"),this.querySelector("template"),cw(this.querySelector("tbody"),this.querySelector("template"),this.options);const t=Object.keys(this.options[0]);return $t`<slot>
|
|
359
359
|
<table class=${this.qboClass}>
|
|
360
360
|
<thead>
|
|
361
361
|
${null!=this.querySelector("*[slot=header]")?$t`<tr><th colspan="${t.length}"><slot name="header"></slot></th></tr>`:null}
|
|
@@ -364,5 +364,5 @@
|
|
|
364
364
|
<tbody>${this.options.map(((e,r)=>$t`<tr data-index="${r}">${t.map((t=>$t`<td>${e[t]}</td>`))}</tr>`))}</tbody>
|
|
365
365
|
<tfoot><tr><td colspan="${t.length}"><slot name="footer">${t.length} rows rendered.</slot></td></tr></tfoot>
|
|
366
366
|
</table>
|
|
367
|
-
</slot>`}loadData(){if(null!=this.dataSelector){const t=document.querySelector(this.dataSelector);if(null!=t)return
|
|
367
|
+
</slot>`}loadData(){if(null!=this.dataSelector){const t=document.querySelector(this.dataSelector);if(null!=t)return aw(t.text)}return null}};KT([Qt({type:Boolean}),XT("design:type",Object)],GT.prototype,"loading",void 0),KT([Qt({type:Boolean}),XT("design:type",Object)],GT.prototype,"renderInHost",void 0),KT([Qt({attribute:"qbo-class"}),XT("design:type",Object)],GT.prototype,"qboClass",void 0),KT([Qt(),XT("design:type",Object)],GT.prototype,"dataSelector",void 0),KT([Qt(),XT("design:type",Object)],GT.prototype,"options",void 0),GT=KT([Kt("qbo-table")],GT);var QT=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},JT=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let YT=class extends Bt{constructor(){super(),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.trace("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.trace("validating element ",t),await this.validateElement(t)):console.trace("ignoring element ",t);this.form?.checkValidity()?console.trace("form is valid, js submit"):(console.trace("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.trace("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.trace("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.trace("input validity is ",e.checkValidity()," message is ",e.validationMessage)}else console.trace("element does not match selector ",t.selector," for ",e.matches(t.selector)?"true":"false")}console.trace("validateElement end ",e),e?.dispatchEvent(new Event("qbo-input-validated",{bubbles:!0}))},this.childContainer=j.container.createChildContainer()}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.childContainer.registerInstance(HTMLFormElement,this.form),this.validators=this.childContainer.resolveAll(bw),this.validators.forEach((t=>t.connect(this.form))))}async disconnectedCallback(){super.disconnectedCallback(),this.validators.forEach((t=>t.disconnect())),this.form?.removeEventListener("change",this.validateElement),this.form?.removeEventListener("submit",this.validate)}render(){return $t``}};function ZT(t,e,r="options"){const o={},n=`${e}${r}`,i=t.getAttributeNames();for(const s of i)if(s.startsWith(e)){const i=s.slice(e.length);if(null!=r&&s===n)try{const e=JSON.parse(t.getAttribute(s));Object.assign(o,e)}catch(e){console.error(`Error parsing JSON from element ${t.name} attribute ${n} (${t.getAttribute(s)}):`,t,e)}else o[i]=t.getAttribute(s)}return o}function t$(t,e){const r=Array.from(t.querySelectorAll(e));return t.matches(e)&&r.unshift(t),r}function e$(t){if(t instanceof HTMLInputElement)"checkbox"===t.type||"radio"===t.type?t.checked=t.defaultChecked:t.value=t.defaultValue;else if(t instanceof HTMLSelectElement){var e=t.querySelectorAll("option[selected]");0==e.length?t.selectedIndex=0:e.forEach((t=>{t instanceof HTMLOptionElement&&(t.selected=!0)}))}}function r$(t){t instanceof HTMLInputElement?"checkbox"===t.type||"radio"===t.type?t.checked=!1:t.value="":t instanceof HTMLSelectElement&&(t.options.selectedIndex=0)}function o$(t,e,r="*",o=!0){return e=(e=e.replace(/([.+^${}()|[\]\\])/g,"\\$1")).replace(new RegExp("\\"+r,"g"),".*"),new RegExp("^"+e+"$",o?"i":"").test(t)}function n$(t){const e=t.dataset,r={};for(const t in e)e.hasOwnProperty(t)&&void 0!==e[t]&&(r[t]=e[t]);return r}function i$(t){const e=t.match(/api:\/\/([^/]+)/),r=e?e[1]:t,o=e?t.substring(`api://${r}`.length+1):"",n=j.container.isRegistered(r)?j.container.resolve(r):new dw(t);return o?n.clone(o):n}function s$(t){return t&&""!=t.trim()?new Date(t).toISOString().slice(0,10):""}function a$(t){return t&&""!=t.trim()?new Date(t).toLocaleString().replace(",",""):""}QT([Qt({type:Boolean}),JT("design:type",Object)],YT.prototype,"renderInHost",void 0),QT([Qt({type:String}),JT("design:type",Object)],YT.prototype,"autoComplete",void 0),QT([Qt({type:String}),JT("design:type",Object)],YT.prototype,"validatedClass",void 0),QT([Qt({converter:{fromAttribute:(t,e)=>t?.split(" "),toAttribute:(t,e)=>t.join(" ")}}),JT("design:type",Object)],YT.prototype,"workingClass",void 0),YT=QT([Kt("qbo-validate"),JT("design:paramtypes",[])],YT)})(),o})()));
|
|
368
368
|
//# sourceMappingURL=qbo4.ui.min.js.map
|