?? GreyFile — Mystic File Browser

Current path: home/webdevt/prestashop17/modules/psxmarketingwithgoogle/views/js/



?? Go up: /home/webdevt/prestashop17/modules/psxmarketingwithgoogle/views

?? Viewing: vendor.js

var Ez=Object.defineProperty;var Pz=(t,e,r)=>e in t?Ez(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ie=(t,e,r)=>(Pz(t,typeof e!="symbol"?e+"":e,r),r);function Cz(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}/*!
 * Vue.js v2.7.14
 * (c) 2014-2022 Evan You
 * Released under the MIT License.
 */var Mn=Object.freeze({}),je=Array.isArray;function Me(t){return t==null}function X(t){return t!=null}function Dt(t){return t===!0}function Az(t){return t===!1}function oh(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Pt(t){return typeof t=="function"}function Ir(t){return t!==null&&typeof t=="object"}var zO=Object.prototype.toString;function jn(t){return zO.call(t)==="[object Object]"}function $z(t){return zO.call(t)==="[object RegExp]"}function f8(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function uw(t){return X(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Mz(t){return t==null?"":Array.isArray(t)||jn(t)&&t.toString===zO?JSON.stringify(t,null,2):String(t)}function Af(t){var e=parseFloat(t);return isNaN(e)?t:e}function Ti(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return e?function(a){return r[a.toLowerCase()]}:function(a){return r[a]}}Ti("slot,component",!0);var kz=Ti("key,ref,slot,slot-scope,is");function eo(t,e){var r=t.length;if(r){if(e===t[r-1]){t.length=r-1;return}var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var Dz=Object.prototype.hasOwnProperty;function Yr(t,e){return Dz.call(t,e)}function Su(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var Rz=/-(\w)/g,tu=Su(function(t){return t.replace(Rz,function(e,r){return r?r.toUpperCase():""})}),Iz=Su(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Nz=/\B([A-Z])/g,uh=Su(function(t){return t.replace(Nz,"-$1").toLowerCase()});function Lz(t,e){function r(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return r._length=t.length,r}function Bz(t,e){return t.bind(e)}var h8=Function.prototype.bind?Bz:Lz;function lw(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function bt(t,e){for(var r in e)t[r]=e[r];return t}function p8(t){for(var e={},r=0;r<t.length;r++)t[r]&&bt(e,t[r]);return e}function gr(t,e,r){}var ep=function(t,e,r){return!1},m8=function(t){return t};function ru(t,e){if(t===e)return!0;var r=Ir(t),n=Ir(e);if(r&&n)try{var i=Array.isArray(t),a=Array.isArray(e);if(i&&a)return t.length===e.length&&t.every(function(u,l){return ru(u,e[l])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!i&&!a){var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every(function(u){return ru(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function v8(t,e){for(var r=0;r<t.length;r++)if(ru(t[r],e))return r;return-1}function nv(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function Fz(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var QT="data-server-rendered",Bg=["component","directive","filter"],g8=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],ai={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:ep,isReservedAttr:ep,isUnknownElement:ep,getTagNamespace:gr,parsePlatformTagName:m8,mustUseProp:ep,async:!0,_lifecycleHooks:g8},jz=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function b8(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function As(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var zz=new RegExp("[^".concat(jz.source,".$_\\d]"));function Hz(t){if(!zz.test(t)){var e=t.split(".");return function(r){for(var n=0;n<e.length;n++){if(!r)return;r=r[e[n]]}return r}}}var Vz="__proto__"in{},Hn=typeof window<"u",si=Hn&&window.navigator.userAgent.toLowerCase(),Sc=si&&/msie|trident/.test(si),xc=si&&si.indexOf("msie 9.0")>0,_8=si&&si.indexOf("edge/")>0;si&&si.indexOf("android")>0;var Uz=si&&/iphone|ipad|ipod|ios/.test(si),eE=si&&si.match(/firefox\/(\d+)/),cw={}.watch,y8=!1;if(Hn)try{var tE={};Object.defineProperty(tE,"passive",{get:function(){y8=!0}}),window.addEventListener("test-passive",null,tE)}catch{}var tp,lh=function(){return tp===void 0&&(!Hn&&typeof global<"u"?tp=global.process&&global.process.env.VUE_ENV==="server":tp=!1),tp},iv=Hn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function jl(t){return typeof t=="function"&&/native code/.test(t.toString())}var ch=typeof Symbol<"u"&&jl(Symbol)&&typeof Reflect<"u"&&jl(Reflect.ownKeys),$f;typeof Set<"u"&&jl(Set)?$f=Set:$f=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var af=null;function js(t){t===void 0&&(t=null),t||af&&af._scope.off(),af=t,t&&t._scope.on()}var zn=function(){function t(e,r,n,i,a,s,o,u){this.tag=e,this.data=r,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),Vo=function(t){t===void 0&&(t="");var e=new zn;return e.text=t,e.isComment=!0,e};function El(t){return new zn(void 0,void 0,void 0,String(t))}function dw(t){var e=new zn(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Gz=0,um=[],Wz=function(){for(var t=0;t<um.length;t++){var e=um[t];e.subs=e.subs.filter(function(r){return r}),e._pending=!1}um.length=0},zs=function(){function t(){this._pending=!1,this.id=Gz++,this.subs=[]}return t.prototype.addSub=function(e){this.subs.push(e)},t.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,um.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(e){for(var r=this.subs.filter(function(s){return s}),n=0,i=r.length;n<i;n++){var a=r[n];a.update()}},t}();zs.target=null;var lm=[];function Tc(t){lm.push(t),zs.target=t}function Ec(){lm.pop(),zs.target=lm[lm.length-1]}var w8=Array.prototype,av=Object.create(w8),Yz=["push","pop","shift","unshift","splice","sort","reverse"];Yz.forEach(function(t){var e=w8[t];As(av,t,function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=e.apply(this,n),s=this.__ob__,o;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&s.observeArray(o),s.dep.notify(),a})});var rE=Object.getOwnPropertyNames(av),O8={},HO=!0;function Hs(t){HO=t}var Kz={notify:gr,depend:gr,addSub:gr,removeSub:gr},nE=function(){function t(e,r,n){if(r===void 0&&(r=!1),n===void 0&&(n=!1),this.value=e,this.shallow=r,this.mock=n,this.dep=n?Kz:new zs,this.vmCount=0,As(e,"__ob__",this),je(e)){if(!n)if(Vz)e.__proto__=av;else for(var i=0,a=rE.length;i<a;i++){var s=rE[i];As(e,s,av[s])}r||this.observeArray(e)}else for(var o=Object.keys(e),i=0;i<o.length;i++){var s=o[i];nu(e,s,O8,void 0,r,n)}}return t.prototype.observeArray=function(e){for(var r=0,n=e.length;r<n;r++)Va(e[r],!1,this.mock)},t}();function Va(t,e,r){if(t&&Yr(t,"__ob__")&&t.__ob__ instanceof nE)return t.__ob__;if(HO&&(r||!lh())&&(je(t)||jn(t))&&Object.isExtensible(t)&&!t.__v_skip&&!ta(t)&&!(t instanceof zn))return new nE(t,e,r)}function nu(t,e,r,n,i,a){var s=new zs,o=Object.getOwnPropertyDescriptor(t,e);if(!(o&&o.configurable===!1)){var u=o&&o.get,l=o&&o.set;(!u||l)&&(r===O8||arguments.length===2)&&(r=t[e]);var c=!i&&Va(r,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var h=u?u.call(t):r;return zs.target&&(s.depend(),c&&(c.dep.depend(),je(h)&&x8(h))),ta(h)&&!i?h.value:h},set:function(h){var p=u?u.call(t):r;if(Fz(p,h)){if(l)l.call(t,h);else{if(u)return;if(!i&&ta(p)&&!ta(h)){p.value=h;return}else r=h}c=!i&&Va(h,!1,a),s.notify()}}}),s}}function VO(t,e,r){if(!UO(t)){var n=t.__ob__;return je(t)&&f8(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&Va(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(nu(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function S8(t,e){if(je(t)&&f8(e)){t.splice(e,1);return}var r=t.__ob__;t._isVue||r&&r.vmCount||UO(t)||Yr(t,e)&&(delete t[e],r&&r.dep.notify())}function x8(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),je(e)&&x8(e)}function T8(t){return qz(t,!0),As(t,"__v_isShallow",!0),t}function qz(t,e){UO(t)||Va(t,e,lh())}function UO(t){return!!(t&&t.__v_isReadonly)}function ta(t){return!!(t&&t.__v_isRef===!0)}function fw(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var n=e[r];if(ta(n))return n.value;var i=n&&n.__ob__;return i&&i.dep.depend(),n},set:function(n){var i=e[r];ta(i)&&!ta(n)?i.value=n:e[r]=n}})}var En,Xz=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=En,!e&&En&&(this.index=(En.scopes||(En.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var r=En;try{return En=this,e()}finally{En=r}}},t.prototype.on=function(){En=this},t.prototype.off=function(){En=this.parent},t.prototype.stop=function(e){if(this.active){var r=void 0,n=void 0;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].teardown();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!e){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Zz(t,e){e===void 0&&(e=En),e&&e.active&&e.effects.push(t)}function Jz(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}var iE=Su(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var r=t.charAt(0)==="~";t=r?t.slice(1):t;var n=t.charAt(0)==="!";return t=n?t.slice(1):t,{name:t,once:r,capture:n,passive:e}});function hw(t,e){function r(){var n=r.fns;if(je(n))for(var i=n.slice(),a=0;a<i.length;a++)Vs(i[a],null,arguments,e,"v-on handler");else return Vs(n,null,arguments,e,"v-on handler")}return r.fns=t,r}function E8(t,e,r,n,i,a){var s,o,u,l;for(s in t)o=t[s],u=e[s],l=iE(s),Me(o)||(Me(u)?(Me(o.fns)&&(o=t[s]=hw(o,a)),Dt(l.once)&&(o=t[s]=i(l.name,o,l.capture)),r(l.name,o,l.capture,l.passive,l.params)):o!==u&&(u.fns=o,t[s]=u));for(s in e)Me(t[s])&&(l=iE(s),n(l.name,e[s],l.capture))}function ws(t,e,r){t instanceof zn&&(t=t.data.hook||(t.data.hook={}));var n,i=t[e];function a(){r.apply(this,arguments),eo(n.fns,a)}Me(i)?n=hw([a]):X(i.fns)&&Dt(i.merged)?(n=i,n.fns.push(a)):n=hw([i,a]),n.merged=!0,t[e]=n}function Qz(t,e,r){var n=e.options.props;if(!Me(n)){var i={},a=t.attrs,s=t.props;if(X(a)||X(s))for(var o in n){var u=uh(o);aE(i,s,o,u,!0)||aE(i,a,o,u,!1)}return i}}function aE(t,e,r,n,i){if(X(e)){if(Yr(e,r))return t[r]=e[r],i||delete e[r],!0;if(Yr(e,n))return t[r]=e[n],i||delete e[n],!0}return!1}function eH(t){for(var e=0;e<t.length;e++)if(je(t[e]))return Array.prototype.concat.apply([],t);return t}function GO(t){return oh(t)?[El(t)]:je(t)?P8(t):void 0}function ed(t){return X(t)&&X(t.text)&&Az(t.isComment)}function P8(t,e){var r=[],n,i,a,s;for(n=0;n<t.length;n++)i=t[n],!(Me(i)||typeof i=="boolean")&&(a=r.length-1,s=r[a],je(i)?i.length>0&&(i=P8(i,"".concat(e||"","_").concat(n)),ed(i[0])&&ed(s)&&(r[a]=El(s.text+i[0].text),i.shift()),r.push.apply(r,i)):oh(i)?ed(s)?r[a]=El(s.text+i):i!==""&&r.push(El(i)):ed(i)&&ed(s)?r[a]=El(s.text+i.text):(Dt(t._isVList)&&X(i.tag)&&Me(i.key)&&X(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),r.push(i)));return r}function tH(t,e){var r=null,n,i,a,s;if(je(t)||typeof t=="string")for(r=new Array(t.length),n=0,i=t.length;n<i;n++)r[n]=e(t[n],n);else if(typeof t=="number")for(r=new Array(t),n=0;n<t;n++)r[n]=e(n+1,n);else if(Ir(t))if(ch&&t[Symbol.iterator]){r=[];for(var o=t[Symbol.iterator](),u=o.next();!u.done;)r.push(e(u.value,r.length)),u=o.next()}else for(a=Object.keys(t),r=new Array(a.length),n=0,i=a.length;n<i;n++)s=a[n],r[n]=e(t[s],s,n);return X(r)||(r=[]),r._isVList=!0,r}function rH(t,e,r,n){var i=this.$scopedSlots[t],a;i?(r=r||{},n&&(r=bt(bt({},n),r)),a=i(r)||(Pt(e)?e():e)):a=this.$slots[t]||(Pt(e)?e():e);var s=r&&r.slot;return s?this.$createElement("template",{slot:s},a):a}function nH(t){return dv(this.$options,"filters",t)||m8}function sE(t,e){return je(t)?t.indexOf(e)===-1:t!==e}function iH(t,e,r,n,i){var a=ai.keyCodes[e]||r;return i&&n&&!ai.keyCodes[e]?sE(i,n):a?sE(a,t):n?uh(n)!==e:t===void 0}function aH(t,e,r,n,i){if(r&&Ir(r)){je(r)&&(r=p8(r));var a=void 0,s=function(u){if(u==="class"||u==="style"||kz(u))a=t;else{var l=t.attrs&&t.attrs.type;a=n||ai.mustUseProp(e,l,u)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=tu(u),d=uh(u);if(!(c in a)&&!(d in a)&&(a[u]=r[u],i)){var h=t.on||(t.on={});h["update:".concat(u)]=function(p){r[u]=p}}};for(var o in r)s(o)}return t}function sH(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),C8(n,"__static__".concat(t),!1)),n}function oH(t,e,r){return C8(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function C8(t,e,r){if(je(t))for(var n=0;n<t.length;n++)t[n]&&typeof t[n]!="string"&&oE(t[n],"".concat(e,"_").concat(n),r);else oE(t,e,r)}function oE(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function uH(t,e){if(e&&jn(e)){var r=t.on=t.on?bt({},t.on):{};for(var n in e){var i=r[n],a=e[n];r[n]=i?[].concat(i,a):a}}return t}function A8(t,e,r,n){e=e||{$stable:!r};for(var i=0;i<t.length;i++){var a=t[i];je(a)?A8(a,e,r):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function lH(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];typeof n=="string"&&n&&(t[e[r]]=e[r+1])}return t}function cH(t,e){return typeof t=="string"?e+t:t}function $8(t){t._o=oH,t._n=Af,t._s=Mz,t._l=tH,t._t=rH,t._q=ru,t._i=v8,t._m=sH,t._f=nH,t._k=iH,t._b=aH,t._v=El,t._e=Vo,t._u=A8,t._g=uH,t._d=lH,t._p=cH}function WO(t,e){if(!t||!t.length)return{};for(var r={},n=0,i=t.length;n<i;n++){var a=t[n],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,(a.context===e||a.fnContext===e)&&s&&s.slot!=null){var o=s.slot,u=r[o]||(r[o]=[]);a.tag==="template"?u.push.apply(u,a.children||[]):u.push(a)}else(r.default||(r.default=[])).push(a)}for(var l in r)r[l].every(dH)&&delete r[l];return r}function dH(t){return t.isComment&&!t.asyncFactory||t.text===" "}function Mf(t){return t.isComment&&t.asyncFactory}function sf(t,e,r,n){var i,a=Object.keys(r).length>0,s=e?!!e.$stable:!a,o=e&&e.$key;if(!e)i={};else{if(e._normalized)return e._normalized;if(s&&n&&n!==Mn&&o===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var u in e)e[u]&&u[0]!=="$"&&(i[u]=fH(t,r,u,e[u]))}for(var l in r)l in i||(i[l]=hH(r,l));return e&&Object.isExtensible(e)&&(e._normalized=i),As(i,"$stable",s),As(i,"$key",o),As(i,"$hasNormal",a),i}function fH(t,e,r,n){var i=function(){var a=af;js(t);var s=arguments.length?n.apply(null,arguments):n({});s=s&&typeof s=="object"&&!je(s)?[s]:GO(s);var o=s&&s[0];return js(a),s&&(!o||s.length===1&&o.isComment&&!Mf(o))?void 0:s};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function hH(t,e){return function(){return t[e]}}function pH(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=mH(t);js(t),Tc();var i=Vs(r,null,[t._props||T8({}),n],t,"setup");if(Ec(),js(),Pt(i))e.render=i;else if(Ir(i))if(t._setupState=i,i.__sfc){var s=t._setupProxy={};for(var a in i)a!=="__sfc"&&fw(s,i,a)}else for(var a in i)b8(a)||fw(t,i,a)}}function mH(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};As(e,"_v_attr_proxy",!0),sv(e,t.$attrs,Mn,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};sv(e,t.$listeners,Mn,t,"$listeners")}return t._listenersProxy},get slots(){return gH(t)},emit:h8(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return fw(t,e,r)})}}}function sv(t,e,r,n,i){var a=!1;for(var s in e)s in t?e[s]!==r[s]&&(a=!0):(a=!0,vH(t,s,n,i));for(var s in t)s in e||(a=!0,delete t[s]);return a}function vH(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function gH(t){return t._slotsProxy||M8(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function M8(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function bH(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=WO(e._renderChildren,n),t.$scopedSlots=r?sf(t.$parent,r.data.scopedSlots,t.$slots):Mn,t._c=function(a,s,o,u){return ov(t,a,s,o,u,!1)},t.$createElement=function(a,s,o,u){return ov(t,a,s,o,u,!0)};var i=r&&r.data;nu(t,"$attrs",i&&i.attrs||Mn,null,!0),nu(t,"$listeners",e._parentListeners||Mn,null,!0)}var pw=null;function _H(t){$8(t.prototype),t.prototype.$nextTick=function(e){return YO(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,i=r._parentVnode;i&&e._isMounted&&(e.$scopedSlots=sf(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&M8(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;var a;try{js(e),pw=e,a=n.call(e._renderProxy,e.$createElement)}catch(s){iu(s,e,"render"),a=e._vnode}finally{pw=null,js()}return je(a)&&a.length===1&&(a=a[0]),a instanceof zn||(a=Vo()),a.parent=i,a}}function o_(t,e){return(t.__esModule||ch&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Ir(t)?e.extend(t):t}function yH(t,e,r,n,i){var a=Vo();return a.asyncFactory=t,a.asyncMeta={data:e,context:r,children:n,tag:i},a}function wH(t,e){if(Dt(t.error)&&X(t.errorComp))return t.errorComp;if(X(t.resolved))return t.resolved;var r=pw;if(r&&X(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),Dt(t.loading)&&X(t.loadingComp))return t.loadingComp;if(r&&!X(t.owners)){var n=t.owners=[r],i=!0,a=null,s=null;r.$on("hook:destroyed",function(){return eo(n,r)});var o=function(d){for(var h=0,p=n.length;h<p;h++)n[h].$forceUpdate();d&&(n.length=0,a!==null&&(clearTimeout(a),a=null),s!==null&&(clearTimeout(s),s=null))},u=nv(function(d){t.resolved=o_(d,e),i?n.length=0:o(!0)}),l=nv(function(d){X(t.errorComp)&&(t.error=!0,o(!0))}),c=t(u,l);return Ir(c)&&(uw(c)?Me(t.resolved)&&c.then(u,l):uw(c.component)&&(c.component.then(u,l),X(c.error)&&(t.errorComp=o_(c.error,e)),X(c.loading)&&(t.loadingComp=o_(c.loading,e),c.delay===0?t.loading=!0:a=setTimeout(function(){a=null,Me(t.resolved)&&Me(t.error)&&(t.loading=!0,o(!1))},c.delay||200)),X(c.timeout)&&(s=setTimeout(function(){s=null,Me(t.resolved)&&l(null)},c.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}function k8(t){if(je(t))for(var e=0;e<t.length;e++){var r=t[e];if(X(r)&&(X(r.componentOptions)||Mf(r)))return r}}var OH=1,D8=2;function ov(t,e,r,n,i,a){return(je(r)||oh(r))&&(i=n,n=r,r=void 0),Dt(a)&&(i=D8),SH(t,e,r,n,i)}function SH(t,e,r,n,i){if(X(r)&&X(r.__ob__)||(X(r)&&X(r.is)&&(e=r.is),!e))return Vo();je(n)&&Pt(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),i===D8?n=GO(n):i===OH&&(n=eH(n));var a,s;if(typeof e=="string"){var o=void 0;s=t.$vnode&&t.$vnode.ns||ai.getTagNamespace(e),ai.isReservedTag(e)?a=new zn(ai.parsePlatformTagName(e),r,n,void 0,void 0,t):(!r||!r.pre)&&X(o=dv(t.$options,"components",e))?a=mE(o,r,t,n,e):a=new zn(e,r,n,void 0,void 0,t)}else a=mE(e,r,t,n);return je(a)?a:X(a)?(X(s)&&R8(a,s),X(r)&&xH(r),a):Vo()}function R8(t,e,r){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,r=!0),X(t.children))for(var n=0,i=t.children.length;n<i;n++){var a=t.children[n];X(a.tag)&&(Me(a.ns)||Dt(r)&&a.tag!=="svg")&&R8(a,e,r)}}function xH(t){Ir(t.style)&&uv(t.style),Ir(t.class)&&uv(t.class)}function iu(t,e,r){Tc();try{if(e)for(var n=e;n=n.$parent;){var i=n.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var s=i[a].call(n,t,e,r)===!1;if(s)return}catch(o){uE(o,n,"errorCaptured hook")}}uE(t,e,r)}finally{Ec()}}function Vs(t,e,r,n,i){var a;try{a=r?t.apply(e,r):t.call(e),a&&!a._isVue&&uw(a)&&!a._handled&&(a.catch(function(s){return iu(s,n,i+" (Promise/async)")}),a._handled=!0)}catch(s){iu(s,n,i)}return a}function uE(t,e,r){if(ai.errorHandler)try{return ai.errorHandler.call(null,t,e,r)}catch(n){n!==t&&lE(n)}lE(t)}function lE(t,e,r){if(Hn&&typeof console<"u")console.error(t);else throw t}var mw=!1,vw=[],gw=!1;function rp(){gw=!1;var t=vw.slice(0);vw.length=0;for(var e=0;e<t.length;e++)t[e]()}var Id;if(typeof Promise<"u"&&jl(Promise)){var TH=Promise.resolve();Id=function(){TH.then(rp),Uz&&setTimeout(gr)},mw=!0}else if(!Sc&&typeof MutationObserver<"u"&&(jl(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var np=1,EH=new MutationObserver(rp),cE=document.createTextNode(String(np));EH.observe(cE,{characterData:!0}),Id=function(){np=(np+1)%2,cE.data=String(np)},mw=!0}else typeof setImmediate<"u"&&jl(setImmediate)?Id=function(){setImmediate(rp)}:Id=function(){setTimeout(rp,0)};function YO(t,e){var r;if(vw.push(function(){if(t)try{t.call(e)}catch(n){iu(n,e,"nextTick")}else r&&r(e)}),gw||(gw=!0,Id()),!t&&typeof Promise<"u")return new Promise(function(n){r=n})}var PH="2.7.14";function eAe(t){return t}var dE=new $f;function uv(t){return cm(t,dE),dE.clear(),t}function cm(t,e){var r,n,i=je(t);if(!(!i&&!Ir(t)||t.__v_skip||Object.isFrozen(t)||t instanceof zn)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(r=t.length;r--;)cm(t[r],e);else if(ta(t))cm(t.value,e);else for(n=Object.keys(t),r=n.length;r--;)cm(t[n[r]],e)}}var CH=0,KO=function(){function t(e,r,n,i,a){Zz(this,En&&!En._vm?En:e?e._scope:void 0),(this.vm=e)&&a&&(e._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++CH,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new $f,this.newDepIds=new $f,this.expression="",Pt(r)?this.getter=r:(this.getter=Hz(r),this.getter||(this.getter=gr)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){Tc(this);var e,r=this.vm;try{e=this.getter.call(r,r)}catch(n){if(this.user)iu(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&uv(e),Ec(),this.cleanupDeps()}return e},t.prototype.addDep=function(e){var r=e.id;this.newDepIds.has(r)||(this.newDepIds.add(r),this.newDeps.push(e),this.depIds.has(r)||e.addSub(this))},t.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var r=this.deps[e];this.newDepIds.has(r.id)||r.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():UH(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||Ir(e)||this.deep){var r=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Vs(this.cb,this.vm,[e,r],this.vm,n)}else this.cb.call(this.vm,e,r)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&eo(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function AH(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&I8(t,e)}var kf;function $H(t,e){kf.$on(t,e)}function MH(t,e){kf.$off(t,e)}function kH(t,e){var r=kf;return function n(){var i=e.apply(null,arguments);i!==null&&r.$off(t,n)}}function I8(t,e,r){kf=t,E8(e,r||{},$H,MH,kH,t),kf=void 0}function DH(t){var e=/^hook:/;t.prototype.$on=function(r,n){var i=this;if(je(r))for(var a=0,s=r.length;a<s;a++)i.$on(r[a],n);else(i._events[r]||(i._events[r]=[])).push(n),e.test(r)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(r,n){var i=this;function a(){i.$off(r,a),n.apply(i,arguments)}return a.fn=n,i.$on(r,a),i},t.prototype.$off=function(r,n){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(je(r)){for(var a=0,s=r.length;a<s;a++)i.$off(r[a],n);return i}var o=i._events[r];if(!o)return i;if(!n)return i._events[r]=null,i;for(var u,l=o.length;l--;)if(u=o[l],u===n||u.fn===n){o.splice(l,1);break}return i},t.prototype.$emit=function(r){var n=this,i=n._events[r];if(i){i=i.length>1?lw(i):i;for(var a=lw(arguments,1),s='event handler for "'.concat(r,'"'),o=0,u=i.length;o<u;o++)Vs(i[o],n,a,n,s)}return n}}var Uo=null;function N8(t){var e=Uo;return Uo=t,function(){Uo=e}}function RH(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function IH(t){t.prototype._update=function(e,r){var n=this,i=n.$el,a=n._vnode,s=N8(n);n._vnode=e,a?n.$el=n.__patch__(a,e):n.$el=n.__patch__(n.$el,e,r,!1),s(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var o=n;o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode;)o.$parent.$el=o.$el,o=o.$parent},t.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},t.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){vi(e,"beforeDestroy"),e._isBeingDestroyed=!0;var r=e.$parent;r&&!r._isBeingDestroyed&&!e.$options.abstract&&eo(r.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),vi(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function NH(t,e,r){t.$el=e,t.$options.render||(t.$options.render=Vo),vi(t,"beforeMount");var n;n=function(){t._update(t._render(),r)};var i={before:function(){t._isMounted&&!t._isDestroyed&&vi(t,"beforeUpdate")}};new KO(t,n,gr,i,!0),r=!1;var a=t._preWatchers;if(a)for(var s=0;s<a.length;s++)a[s].run();return t.$vnode==null&&(t._isMounted=!0,vi(t,"mounted")),t}function LH(t,e,r,n,i){var a=n.data.scopedSlots,s=t.$scopedSlots,o=!!(a&&!a.$stable||s!==Mn&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(i||t.$options._renderChildren||o),l=t.$vnode;t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=i;var c=n.data.attrs||Mn;t._attrsProxy&&sv(t._attrsProxy,c,l.data&&l.data.attrs||Mn,t,"$attrs")&&(u=!0),t.$attrs=c,r=r||Mn;var d=t.$options._parentListeners;if(t._listenersProxy&&sv(t._listenersProxy,r,d||Mn,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,I8(t,r,d),e&&t.$options.props){Hs(!1);for(var h=t._props,p=t.$options._propKeys||[],g=0;g<p.length;g++){var _=p[g],w=t.$options.props;h[_]=eS(_,w,e,t)}Hs(!0),t.$options.propsData=e}u&&(t.$slots=WO(i,n.context),t.$forceUpdate())}function L8(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function qO(t,e){if(e){if(t._directInactive=!1,L8(t))return}else if(t._directInactive)return;if(t._inactive||t._inactive===null){t._inactive=!1;for(var r=0;r<t.$children.length;r++)qO(t.$children[r]);vi(t,"activated")}}function B8(t,e){if(!(e&&(t._directInactive=!0,L8(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)B8(t.$children[r]);vi(t,"deactivated")}}function vi(t,e,r,n){n===void 0&&(n=!0),Tc();var i=af;n&&js(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var o=0,u=a.length;o<u;o++)Vs(a[o],t,r||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),n&&js(i),Ec()}var Da=[],XO=[],lv={},bw=!1,ZO=!1,Pl=0;function BH(){Pl=Da.length=XO.length=0,lv={},bw=ZO=!1}var F8=0,_w=Date.now;if(Hn&&!Sc){var u_=window.performance;u_&&typeof u_.now=="function"&&_w()>document.createEvent("Event").timeStamp&&(_w=function(){return u_.now()})}var FH=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function jH(){F8=_w(),ZO=!0;var t,e;for(Da.sort(FH),Pl=0;Pl<Da.length;Pl++)t=Da[Pl],t.before&&t.before(),e=t.id,lv[e]=null,t.run();var r=XO.slice(),n=Da.slice();BH(),VH(r),zH(n),Wz(),iv&&ai.devtools&&iv.emit("flush")}function zH(t){for(var e=t.length;e--;){var r=t[e],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&vi(n,"updated")}}function HH(t){t._inactive=!1,XO.push(t)}function VH(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,qO(t[e],!0)}function UH(t){var e=t.id;if(lv[e]==null&&!(t===zs.target&&t.noRecurse)){if(lv[e]=!0,!ZO)Da.push(t);else{for(var r=Da.length-1;r>Pl&&Da[r].id>t.id;)r--;Da.splice(r+1,0,t)}bw||(bw=!0,YO(jH))}}function GH(t){var e=t.$options.provide;if(e){var r=Pt(e)?e.call(t):e;if(!Ir(r))return;for(var n=Jz(t),i=ch?Reflect.ownKeys(r):Object.keys(r),a=0;a<i.length;a++){var s=i[a];Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(r,s))}}}function WH(t){var e=j8(t.$options.inject,t);e&&(Hs(!1),Object.keys(e).forEach(function(r){nu(t,r,e[r])}),Hs(!0))}function j8(t,e){if(t){for(var r=Object.create(null),n=ch?Reflect.ownKeys(t):Object.keys(t),i=0;i<n.length;i++){var a=n[i];if(a!=="__ob__"){var s=t[a].from;if(s in e._provided)r[a]=e._provided[s];else if("default"in t[a]){var o=t[a].default;r[a]=Pt(o)?o.call(e):o}}}return r}}function JO(t,e,r,n,i){var a=this,s=i.options,o;Yr(n,"_uid")?(o=Object.create(n),o._original=n):(o=n,n=n._original);var u=Dt(s._compiled),l=!u;this.data=t,this.props=e,this.children=r,this.parent=n,this.listeners=t.on||Mn,this.injections=j8(s.inject,n),this.slots=function(){return a.$slots||sf(n,t.scopedSlots,a.$slots=WO(r,n)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return sf(n,t.scopedSlots,this.slots())}}),u&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=sf(n,t.scopedSlots,this.$slots)),s._scopeId?this._c=function(c,d,h,p){var g=ov(o,c,d,h,p,l);return g&&!je(g)&&(g.fnScopeId=s._scopeId,g.fnContext=n),g}:this._c=function(c,d,h,p){return ov(o,c,d,h,p,l)}}$8(JO.prototype);function YH(t,e,r,n,i){var a=t.options,s={},o=a.props;if(X(o))for(var u in o)s[u]=eS(u,o,e||Mn);else X(r.attrs)&&hE(s,r.attrs),X(r.props)&&hE(s,r.props);var l=new JO(r,s,i,n,t),c=a.render.call(null,l._c,l);if(c instanceof zn)return fE(c,r,l.parent,a);if(je(c)){for(var d=GO(c)||[],h=new Array(d.length),p=0;p<d.length;p++)h[p]=fE(d[p],r,l.parent,a);return h}}function fE(t,e,r,n,i){var a=dw(t);return a.fnContext=r,a.fnOptions=n,e.slot&&((a.data||(a.data={})).slot=e.slot),a}function hE(t,e){for(var r in e)t[tu(r)]=e[r]}function cv(t){return t.name||t.__name||t._componentTag}var QO={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;QO.prepatch(r,r)}else{var n=t.componentInstance=KH(t,Uo);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;LH(n,r.propsData,r.listeners,e,r.children)},insert:function(t){var e=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,vi(r,"mounted")),t.data.keepAlive&&(e._isMounted?HH(r):qO(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?B8(e,!0):e.$destroy())}},pE=Object.keys(QO);function mE(t,e,r,n,i){if(!Me(t)){var a=r.$options._base;if(Ir(t)&&(t=a.extend(t)),typeof t=="function"){var s;if(Me(t.cid)&&(s=t,t=wH(s,a),t===void 0))return yH(s,e,r,n,i);e=e||{},rS(t),X(e.model)&&ZH(t.options,e);var o=Qz(e,t);if(Dt(t.options.functional))return YH(t,o,e,r,n);var u=e.on;if(e.on=e.nativeOn,Dt(t.options.abstract)){var l=e.slot;e={},l&&(e.slot=l)}qH(e);var c=cv(t.options)||i,d=new zn("vue-component-".concat(t.cid).concat(c?"-".concat(c):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:o,listeners:u,tag:i,children:n},s);return d}}}function KH(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return X(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function qH(t){for(var e=t.hook||(t.hook={}),r=0;r<pE.length;r++){var n=pE[r],i=e[n],a=QO[n];i!==a&&!(i&&i._merged)&&(e[n]=i?XH(a,i):a)}}function XH(t,e){var r=function(n,i){t(n,i),e(n,i)};return r._merged=!0,r}function ZH(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var i=e.on||(e.on={}),a=i[n],s=e.model.callback;X(a)?(je(a)?a.indexOf(s)===-1:a!==s)&&(i[n]=[s].concat(a)):i[n]=s}var JH=gr,ea=ai.optionMergeStrategies;function Df(t,e,r){if(r===void 0&&(r=!0),!e)return t;for(var n,i,a,s=ch?Reflect.ownKeys(e):Object.keys(e),o=0;o<s.length;o++)n=s[o],n!=="__ob__"&&(i=t[n],a=e[n],!r||!Yr(t,n)?VO(t,n,a):i!==a&&jn(i)&&jn(a)&&Df(i,a));return t}function vE(t,e,r){return r?function(){var i=Pt(e)?e.call(r,r):e,a=Pt(t)?t.call(r,r):t;return i?Df(i,a):a}:e?t?function(){return Df(Pt(e)?e.call(this,this):e,Pt(t)?t.call(this,this):t)}:e:t}ea.data=function(t,e,r){return r?vE(t,e,r):e&&typeof e!="function"?t:vE(t,e)};function QH(t,e){var r=e?t?t.concat(e):je(e)?e:[e]:t;return r&&eV(r)}function eV(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}g8.forEach(function(t){ea[t]=QH});function tV(t,e,r,n){var i=Object.create(t||null);return e?bt(i,e):i}Bg.forEach(function(t){ea[t+"s"]=tV});ea.watch=function(t,e,r,n){if(t===cw&&(t=void 0),e===cw&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};bt(i,t);for(var a in e){var s=i[a],o=e[a];s&&!je(s)&&(s=[s]),i[a]=s?s.concat(o):je(o)?o:[o]}return i};ea.props=ea.methods=ea.inject=ea.computed=function(t,e,r,n){if(!t)return e;var i=Object.create(null);return bt(i,t),e&&bt(i,e),i};ea.provide=function(t,e){return t?function(){var r=Object.create(null);return Df(r,Pt(t)?t.call(this):t),e&&Df(r,Pt(e)?e.call(this):e,!1),r}:e};var rV=function(t,e){return e===void 0?t:e};function nV(t,e){var r=t.props;if(r){var n={},i,a,s;if(je(r))for(i=r.length;i--;)a=r[i],typeof a=="string"&&(s=tu(a),n[s]={type:null});else if(jn(r))for(var o in r)a=r[o],s=tu(o),n[s]=jn(a)?a:{type:a};t.props=n}}function iV(t,e){var r=t.inject;if(r){var n=t.inject={};if(je(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(jn(r))for(var a in r){var s=r[a];n[a]=jn(s)?bt({from:a},s):{from:s}}}}function aV(t){var e=t.directives;if(e)for(var r in e){var n=e[r];Pt(n)&&(e[r]={bind:n,update:n})}}function au(t,e,r){if(Pt(e)&&(e=e.options),nV(e),iV(e),aV(e),!e._base&&(e.extends&&(t=au(t,e.extends,r)),e.mixins))for(var n=0,i=e.mixins.length;n<i;n++)t=au(t,e.mixins[n],r);var a={},s;for(s in t)o(s);for(s in e)Yr(t,s)||o(s);function o(u){var l=ea[u]||rV;a[u]=l(t[u],e[u],r,u)}return a}function dv(t,e,r,n){if(typeof r=="string"){var i=t[e];if(Yr(i,r))return i[r];var a=tu(r);if(Yr(i,a))return i[a];var s=Iz(a);if(Yr(i,s))return i[s];var o=i[r]||i[a]||i[s];return o}}function eS(t,e,r,n){var i=e[t],a=!Yr(r,t),s=r[t],o=bE(Boolean,i.type);if(o>-1){if(a&&!Yr(i,"default"))s=!1;else if(s===""||s===uh(t)){var u=bE(String,i.type);(u<0||o<u)&&(s=!0)}}if(s===void 0){s=sV(n,i,t);var l=HO;Hs(!0),Va(s),Hs(l)}return s}function sV(t,e,r){if(Yr(e,"default")){var n=e.default;return t&&t.$options.propsData&&t.$options.propsData[r]===void 0&&t._props[r]!==void 0?t._props[r]:Pt(n)&&yw(e.type)!=="Function"?n.call(t):n}}var oV=/^\s*function (\w+)/;function yw(t){var e=t&&t.toString().match(oV);return e?e[1]:""}function gE(t,e){return yw(t)===yw(e)}function bE(t,e){if(!je(e))return gE(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(gE(e[r],t))return r;return-1}var bs={enumerable:!0,configurable:!0,get:gr,set:gr};function tS(t,e,r){bs.get=function(){return this[e][r]},bs.set=function(i){this[e][r]=i},Object.defineProperty(t,r,bs)}function uV(t){var e=t.$options;if(e.props&&lV(t,e.props),pH(t),e.methods&&pV(t,e.methods),e.data)cV(t);else{var r=Va(t._data={});r&&r.vmCount++}e.computed&&hV(t,e.computed),e.watch&&e.watch!==cw&&mV(t,e.watch)}function lV(t,e){var r=t.$options.propsData||{},n=t._props=T8({}),i=t.$options._propKeys=[],a=!t.$parent;a||Hs(!1);var s=function(u){i.push(u);var l=eS(u,e,r,t);nu(n,u,l),u in t||tS(t,"_props",u)};for(var o in e)s(o);Hs(!0)}function cV(t){var e=t.$options.data;e=t._data=Pt(e)?dV(e,t):e||{},jn(e)||(e={});var r=Object.keys(e),n=t.$options.props;t.$options.methods;for(var i=r.length;i--;){var a=r[i];n&&Yr(n,a)||b8(a)||tS(t,"_data",a)}var s=Va(e);s&&s.vmCount++}function dV(t,e){Tc();try{return t.call(e,e)}catch(r){return iu(r,e,"data()"),{}}finally{Ec()}}var fV={lazy:!0};function hV(t,e){var r=t._computedWatchers=Object.create(null),n=lh();for(var i in e){var a=e[i],s=Pt(a)?a:a.get;n||(r[i]=new KO(t,s||gr,gr,fV)),i in t||z8(t,i,a)}}function z8(t,e,r){var n=!lh();Pt(r)?(bs.get=n?_E(e):yE(r),bs.set=gr):(bs.get=r.get?n&&r.cache!==!1?_E(e):yE(r.get):gr,bs.set=r.set||gr),Object.defineProperty(t,e,bs)}function _E(t){return function(){var r=this._computedWatchers&&this._computedWatchers[t];if(r)return r.dirty&&r.evaluate(),zs.target&&r.depend(),r.value}}function yE(t){return function(){return t.call(this,this)}}function pV(t,e){t.$options.props;for(var r in e)t[r]=typeof e[r]!="function"?gr:h8(e[r],t)}function mV(t,e){for(var r in e){var n=e[r];if(je(n))for(var i=0;i<n.length;i++)ww(t,r,n[i]);else ww(t,r,n)}}function ww(t,e,r,n){return jn(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=t[r]),t.$watch(e,r,n)}function vV(t){var e={};e.get=function(){return this._data};var r={};r.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=VO,t.prototype.$delete=S8,t.prototype.$watch=function(n,i,a){var s=this;if(jn(i))return ww(s,n,i,a);a=a||{},a.user=!0;var o=new KO(s,n,i,a);if(a.immediate){var u='callback for immediate watcher "'.concat(o.expression,'"');Tc(),Vs(i,s,[o.value],s,u),Ec()}return function(){o.teardown()}}}var gV=0;function bV(t){t.prototype._init=function(e){var r=this;r._uid=gV++,r._isVue=!0,r.__v_skip=!0,r._scope=new Xz(!0),r._scope._vm=!0,e&&e._isComponent?_V(r,e):r.$options=au(rS(r.constructor),e||{},r),r._renderProxy=r,r._self=r,RH(r),AH(r),bH(r),vi(r,"beforeCreate",void 0,!1),WH(r),uV(r),GH(r),vi(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function _V(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function rS(t){var e=t.options;if(t.super){var r=rS(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var i=yV(t);i&&bt(t.extendOptions,i),e=t.options=au(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function yV(t){var e,r=t.options,n=t.sealedOptions;for(var i in r)r[i]!==n[i]&&(e||(e={}),e[i]=r[i]);return e}function V(t){this._init(t)}bV(V);vV(V);DH(V);IH(V);_H(V);function wV(t){t.use=function(e){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(e)>-1)return this;var n=lw(arguments,1);return n.unshift(this),Pt(e.install)?e.install.apply(e,n):Pt(e)&&e.apply(null,n),r.push(e),this}}function OV(t){t.mixin=function(e){return this.options=au(this.options,e),this}}function SV(t){t.cid=0;var e=1;t.extend=function(r){r=r||{};var n=this,i=n.cid,a=r._Ctor||(r._Ctor={});if(a[i])return a[i];var s=cv(r)||cv(n.options),o=function(l){this._init(l)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=au(n.options,r),o.super=n,o.options.props&&xV(o),o.options.computed&&TV(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,Bg.forEach(function(u){o[u]=n[u]}),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=r,o.sealedOptions=bt({},o.options),a[i]=o,o}}function xV(t){var e=t.options.props;for(var r in e)tS(t.prototype,"_props",r)}function TV(t){var e=t.options.computed;for(var r in e)z8(t.prototype,r,e[r])}function EV(t){Bg.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&jn(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&Pt(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function wE(t){return t&&(cv(t.Ctor.options)||t.tag)}function ip(t,e){return je(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:$z(t)?t.test(e):!1}function OE(t,e){var r=t.cache,n=t.keys,i=t._vnode;for(var a in r){var s=r[a];if(s){var o=s.name;o&&!e(o)&&Ow(r,a,n,i)}}}function Ow(t,e,r,n){var i=t[e];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),t[e]=null,eo(r,e)}var SE=[String,RegExp,Array],PV={name:"keep-alive",abstract:!0,props:{include:SE,exclude:SE,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,i=t.keyToCache;if(n){var a=n.tag,s=n.componentInstance,o=n.componentOptions;e[i]={name:wE(o),tag:a,componentInstance:s},r.push(i),this.max&&r.length>parseInt(this.max)&&Ow(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ow(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){OE(t,function(r){return ip(e,r)})}),this.$watch("exclude",function(e){OE(t,function(r){return!ip(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=k8(t),r=e&&e.componentOptions;if(r){var n=wE(r),i=this,a=i.include,s=i.exclude;if(a&&(!n||!ip(a,n))||s&&n&&ip(s,n))return e;var o=this,u=o.cache,l=o.keys,c=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[c]?(e.componentInstance=u[c].componentInstance,eo(l,c),l.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},CV={KeepAlive:PV};function AV(t){var e={};e.get=function(){return ai},Object.defineProperty(t,"config",e),t.util={warn:JH,extend:bt,mergeOptions:au,defineReactive:nu},t.set=VO,t.delete=S8,t.nextTick=YO,t.observable=function(r){return Va(r),r},t.options=Object.create(null),Bg.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,bt(t.options.components,CV),wV(t),OV(t),SV(t),EV(t)}AV(V);Object.defineProperty(V.prototype,"$isServer",{get:lh});Object.defineProperty(V.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(V,"FunctionalRenderContext",{value:JO});V.version=PH;var $V=Ti("style,class"),MV=Ti("input,textarea,option,select,progress"),kV=function(t,e,r){return r==="value"&&MV(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},H8=Ti("contenteditable,draggable,spellcheck"),DV=Ti("events,caret,typing,plaintext-only"),RV=function(t,e){return fv(e)||e==="false"?"false":t==="contenteditable"&&DV(e)?e:"true"},IV=Ti("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Sw="http://www.w3.org/1999/xlink",nS=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},V8=function(t){return nS(t)?t.slice(6,t.length):""},fv=function(t){return t==null||t===!1};function NV(t){for(var e=t.data,r=t,n=t;X(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=xE(n.data,e));for(;X(r=r.parent);)r&&r.data&&(e=xE(e,r.data));return LV(e.staticClass,e.class)}function xE(t,e){return{staticClass:iS(t.staticClass,e.staticClass),class:X(t.class)?[t.class,e.class]:e.class}}function LV(t,e){return X(t)||X(e)?iS(t,aS(e)):""}function iS(t,e){return t?e?t+" "+e:t:e||""}function aS(t){return Array.isArray(t)?BV(t):Ir(t)?FV(t):typeof t=="string"?t:""}function BV(t){for(var e="",r,n=0,i=t.length;n<i;n++)X(r=aS(t[n]))&&r!==""&&(e&&(e+=" "),e+=r);return e}function FV(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var jV={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},zV=Ti("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),sS=Ti("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),U8=function(t){return zV(t)||sS(t)};function HV(t){if(sS(t))return"svg";if(t==="math")return"math"}var ap=Object.create(null);function VV(t){if(!Hn)return!0;if(U8(t))return!1;if(t=t.toLowerCase(),ap[t]!=null)return ap[t];var e=document.createElement(t);return t.indexOf("-")>-1?ap[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ap[t]=/HTMLUnknownElement/.test(e.toString())}var xw=Ti("text,number,password,search,email,tel,url");function UV(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function GV(t,e){var r=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function WV(t,e){return document.createElementNS(jV[t],e)}function YV(t){return document.createTextNode(t)}function KV(t){return document.createComment(t)}function qV(t,e,r){t.insertBefore(e,r)}function XV(t,e){t.removeChild(e)}function ZV(t,e){t.appendChild(e)}function JV(t){return t.parentNode}function QV(t){return t.nextSibling}function eU(t){return t.tagName}function tU(t,e){t.textContent=e}function rU(t,e){t.setAttribute(e,"")}var nU=Object.freeze({__proto__:null,createElement:GV,createElementNS:WV,createTextNode:YV,createComment:KV,insertBefore:qV,removeChild:XV,appendChild:ZV,parentNode:JV,nextSibling:QV,tagName:eU,setTextContent:tU,setStyleScope:rU}),iU={create:function(t,e){Cl(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Cl(t,!0),Cl(e))},destroy:function(t){Cl(t,!0)}};function Cl(t,e){var r=t.data.ref;if(X(r)){var n=t.context,i=t.componentInstance||t.elm,a=e?null:i,s=e?void 0:i;if(Pt(r)){Vs(r,n,[a],n,"template ref function");return}var o=t.data.refInFor,u=typeof r=="string"||typeof r=="number",l=ta(r),c=n.$refs;if(u||l){if(o){var d=u?c[r]:r.value;e?je(d)&&eo(d,i):je(d)?d.includes(i)||d.push(i):u?(c[r]=[i],TE(n,r,c[r])):r.value=[i]}else if(u){if(e&&c[r]!==i)return;c[r]=s,TE(n,r,a)}else if(l){if(e&&r.value!==i)return;r.value=a}}}}function TE(t,e,r){var n=t._setupState;n&&Yr(n,e)&&(ta(n[e])?n[e].value=r:n[e]=r)}var Os=new zn("",{},[]),td=["create","activate","update","remove","destroy"];function ho(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&X(t.data)===X(e.data)&&aU(t,e)||Dt(t.isAsyncPlaceholder)&&Me(e.asyncFactory.error))}function aU(t,e){if(t.tag!=="input")return!0;var r,n=X(r=t.data)&&X(r=r.attrs)&&r.type,i=X(r=e.data)&&X(r=r.attrs)&&r.type;return n===i||xw(n)&&xw(i)}function sU(t,e,r){var n,i,a={};for(n=e;n<=r;++n)i=t[n].key,X(i)&&(a[i]=n);return a}function oU(t){var e,r,n={},i=t.modules,a=t.nodeOps;for(e=0;e<td.length;++e)for(n[td[e]]=[],r=0;r<i.length;++r)X(i[r][td[e]])&&n[td[e]].push(i[r][td[e]]);function s(C){return new zn(a.tagName(C).toLowerCase(),{},[],void 0,C)}function o(C,O){function A(){--A.listeners===0&&u(C)}return A.listeners=O,A}function u(C){var O=a.parentNode(C);X(O)&&a.removeChild(O,C)}function l(C,O,A,D,M,N,F){if(X(C.elm)&&X(N)&&(C=N[F]=dw(C)),C.isRootInsert=!M,!c(C,O,A,D)){var j=C.data,H=C.children,W=C.tag;X(W)?(C.elm=C.ns?a.createElementNS(C.ns,W):a.createElement(W,C),S(C),g(C,H,O),X(j)&&w(C,O),p(A,C.elm,D)):Dt(C.isComment)?(C.elm=a.createComment(C.text),p(A,C.elm,D)):(C.elm=a.createTextNode(C.text),p(A,C.elm,D))}}function c(C,O,A,D){var M=C.data;if(X(M)){var N=X(C.componentInstance)&&M.keepAlive;if(X(M=M.hook)&&X(M=M.init)&&M(C,!1),X(C.componentInstance))return d(C,O),p(A,C.elm,D),Dt(N)&&h(C,O,A,D),!0}}function d(C,O){X(C.data.pendingInsert)&&(O.push.apply(O,C.data.pendingInsert),C.data.pendingInsert=null),C.elm=C.componentInstance.$el,_(C)?(w(C,O),S(C)):(Cl(C),O.push(C))}function h(C,O,A,D){for(var M,N=C;N.componentInstance;)if(N=N.componentInstance._vnode,X(M=N.data)&&X(M=M.transition)){for(M=0;M<n.activate.length;++M)n.activate[M](Os,N);O.push(N);break}p(A,C.elm,D)}function p(C,O,A){X(C)&&(X(A)?a.parentNode(A)===C&&a.insertBefore(C,O,A):a.appendChild(C,O))}function g(C,O,A){if(je(O))for(var D=0;D<O.length;++D)l(O[D],A,C.elm,null,!0,O,D);else oh(C.text)&&a.appendChild(C.elm,a.createTextNode(String(C.text)))}function _(C){for(;C.componentInstance;)C=C.componentInstance._vnode;return X(C.tag)}function w(C,O){for(var A=0;A<n.create.length;++A)n.create[A](Os,C);e=C.data.hook,X(e)&&(X(e.create)&&e.create(Os,C),X(e.insert)&&O.push(C))}function S(C){var O;if(X(O=C.fnScopeId))a.setStyleScope(C.elm,O);else for(var A=C;A;)X(O=A.context)&&X(O=O.$options._scopeId)&&a.setStyleScope(C.elm,O),A=A.parent;X(O=Uo)&&O!==C.context&&O!==C.fnContext&&X(O=O.$options._scopeId)&&a.setStyleScope(C.elm,O)}function E(C,O,A,D,M,N){for(;D<=M;++D)l(A[D],N,C,O,!1,A,D)}function x(C){var O,A,D=C.data;if(X(D))for(X(O=D.hook)&&X(O=O.destroy)&&O(C),O=0;O<n.destroy.length;++O)n.destroy[O](C);if(X(O=C.children))for(A=0;A<C.children.length;++A)x(C.children[A])}function f(C,O,A){for(;O<=A;++O){var D=C[O];X(D)&&(X(D.tag)?(m(D),x(D)):u(D.elm))}}function m(C,O){if(X(O)||X(C.data)){var A,D=n.remove.length+1;for(X(O)?O.listeners+=D:O=o(C.elm,D),X(A=C.componentInstance)&&X(A=A._vnode)&&X(A.data)&&m(A,O),A=0;A<n.remove.length;++A)n.remove[A](C,O);X(A=C.data.hook)&&X(A=A.remove)?A(C,O):O()}else u(C.elm)}function v(C,O,A,D,M){for(var N=0,F=0,j=O.length-1,H=O[0],W=O[j],Z=A.length-1,te=A[0],Y=A[Z],G,U,K,ue,_e=!M;N<=j&&F<=Z;)Me(H)?H=O[++N]:Me(W)?W=O[--j]:ho(H,te)?(P(H,te,D,A,F),H=O[++N],te=A[++F]):ho(W,Y)?(P(W,Y,D,A,Z),W=O[--j],Y=A[--Z]):ho(H,Y)?(P(H,Y,D,A,Z),_e&&a.insertBefore(C,H.elm,a.nextSibling(W.elm)),H=O[++N],Y=A[--Z]):ho(W,te)?(P(W,te,D,A,F),_e&&a.insertBefore(C,W.elm,H.elm),W=O[--j],te=A[++F]):(Me(G)&&(G=sU(O,N,j)),U=X(te.key)?G[te.key]:T(te,O,N,j),Me(U)?l(te,D,C,H.elm,!1,A,F):(K=O[U],ho(K,te)?(P(K,te,D,A,F),O[U]=void 0,_e&&a.insertBefore(C,K.elm,H.elm)):l(te,D,C,H.elm,!1,A,F)),te=A[++F]);N>j?(ue=Me(A[Z+1])?null:A[Z+1].elm,E(C,ue,A,F,Z,D)):F>Z&&f(O,N,j)}function T(C,O,A,D){for(var M=A;M<D;M++){var N=O[M];if(X(N)&&ho(C,N))return M}}function P(C,O,A,D,M,N){if(C!==O){X(O.elm)&&X(D)&&(O=D[M]=dw(O));var F=O.elm=C.elm;if(Dt(C.isAsyncPlaceholder)){X(O.asyncFactory.resolved)?$(C.elm,O,A):O.isAsyncPlaceholder=!0;return}if(Dt(O.isStatic)&&Dt(C.isStatic)&&O.key===C.key&&(Dt(O.isCloned)||Dt(O.isOnce))){O.componentInstance=C.componentInstance;return}var j,H=O.data;X(H)&&X(j=H.hook)&&X(j=j.prepatch)&&j(C,O);var W=C.children,Z=O.children;if(X(H)&&_(O)){for(j=0;j<n.update.length;++j)n.update[j](C,O);X(j=H.hook)&&X(j=j.update)&&j(C,O)}Me(O.text)?X(W)&&X(Z)?W!==Z&&v(F,W,Z,A,N):X(Z)?(X(C.text)&&a.setTextContent(F,""),E(F,null,Z,0,Z.length-1,A)):X(W)?f(W,0,W.length-1):X(C.text)&&a.setTextContent(F,""):C.text!==O.text&&a.setTextContent(F,O.text),X(H)&&X(j=H.hook)&&X(j=j.postpatch)&&j(C,O)}}function k(C,O,A){if(Dt(A)&&X(C.parent))C.parent.data.pendingInsert=O;else for(var D=0;D<O.length;++D)O[D].data.hook.insert(O[D])}var y=Ti("attrs,class,staticClass,staticStyle,key");function $(C,O,A,D){var M,N=O.tag,F=O.data,j=O.children;if(D=D||F&&F.pre,O.elm=C,Dt(O.isComment)&&X(O.asyncFactory))return O.isAsyncPlaceholder=!0,!0;if(X(F)&&(X(M=F.hook)&&X(M=M.init)&&M(O,!0),X(M=O.componentInstance)))return d(O,A),!0;if(X(N)){if(X(j))if(!C.hasChildNodes())g(O,j,A);else if(X(M=F)&&X(M=M.domProps)&&X(M=M.innerHTML)){if(M!==C.innerHTML)return!1}else{for(var H=!0,W=C.firstChild,Z=0;Z<j.length;Z++){if(!W||!$(W,j[Z],A,D)){H=!1;break}W=W.nextSibling}if(!H||W)return!1}if(X(F)){var te=!1;for(var Y in F)if(!y(Y)){te=!0,w(O,A);break}!te&&F.class&&uv(F.class)}}else C.data!==O.text&&(C.data=O.text);return!0}return function(O,A,D,M){if(Me(A)){X(O)&&x(O);return}var N=!1,F=[];if(Me(O))N=!0,l(A,F);else{var j=X(O.nodeType);if(!j&&ho(O,A))P(O,A,F,null,null,M);else{if(j){if(O.nodeType===1&&O.hasAttribute(QT)&&(O.removeAttribute(QT),D=!0),Dt(D)&&$(O,A,F))return k(A,F,!0),O;O=s(O)}var H=O.elm,W=a.parentNode(H);if(l(A,F,H._leaveCb?null:W,a.nextSibling(H)),X(A.parent))for(var Z=A.parent,te=_(A);Z;){for(var Y=0;Y<n.destroy.length;++Y)n.destroy[Y](Z);if(Z.elm=A.elm,te){for(var G=0;G<n.create.length;++G)n.create[G](Os,Z);var U=Z.data.hook.insert;if(U.merged)for(var K=1;K<U.fns.length;K++)U.fns[K]()}else Cl(Z);Z=Z.parent}X(W)?f([O],0,0):X(O.tag)&&x(O)}}return k(A,F,N),A.elm}}var uU={create:l_,update:l_,destroy:function(e){l_(e,Os)}};function l_(t,e){(t.data.directives||e.data.directives)&&lU(t,e)}function lU(t,e){var r=t===Os,n=e===Os,i=EE(t.data.directives,t.context),a=EE(e.data.directives,e.context),s=[],o=[],u,l,c;for(u in a)l=i[u],c=a[u],l?(c.oldValue=l.value,c.oldArg=l.arg,rd(c,"update",e,t),c.def&&c.def.componentUpdated&&o.push(c)):(rd(c,"bind",e,t),c.def&&c.def.inserted&&s.push(c));if(s.length){var d=function(){for(var h=0;h<s.length;h++)rd(s[h],"inserted",e,t)};r?ws(e,"insert",d):d()}if(o.length&&ws(e,"postpatch",function(){for(var h=0;h<o.length;h++)rd(o[h],"componentUpdated",e,t)}),!r)for(u in i)a[u]||rd(i[u],"unbind",t,t,n)}var cU=Object.create(null);function EE(t,e){var r=Object.create(null);if(!t)return r;var n,i;for(n=0;n<t.length;n++){if(i=t[n],i.modifiers||(i.modifiers=cU),r[dU(i)]=i,e._setupState&&e._setupState.__sfc){var a=i.def||dv(e,"_setupState","v-"+i.name);typeof a=="function"?i.def={bind:a,update:a}:i.def=a}i.def=i.def||dv(e.$options,"directives",i.name)}return r}function dU(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function rd(t,e,r,n,i){var a=t.def&&t.def[e];if(a)try{a(r.elm,t,r,n,i)}catch(s){iu(s,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var fU=[iU,uU];function PE(t,e){var r=e.componentOptions;if(!(X(r)&&r.Ctor.options.inheritAttrs===!1)&&!(Me(t.data.attrs)&&Me(e.data.attrs))){var n,i,a,s=e.elm,o=t.data.attrs||{},u=e.data.attrs||{};(X(u.__ob__)||Dt(u._v_attr_proxy))&&(u=e.data.attrs=bt({},u));for(n in u)i=u[n],a=o[n],a!==i&&CE(s,n,i,e.data.pre);(Sc||_8)&&u.value!==o.value&&CE(s,"value",u.value);for(n in o)Me(u[n])&&(nS(n)?s.removeAttributeNS(Sw,V8(n)):H8(n)||s.removeAttribute(n))}}function CE(t,e,r,n){n||t.tagName.indexOf("-")>-1?AE(t,e,r):IV(e)?fv(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):H8(e)?t.setAttribute(e,RV(e,r)):nS(e)?fv(r)?t.removeAttributeNS(Sw,V8(e)):t.setAttributeNS(Sw,e,r):AE(t,e,r)}function AE(t,e,r){if(fv(r))t.removeAttribute(e);else{if(Sc&&!xc&&t.tagName==="TEXTAREA"&&e==="placeholder"&&r!==""&&!t.__ieph){var n=function(i){i.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var hU={create:PE,update:PE};function $E(t,e){var r=e.elm,n=e.data,i=t.data;if(!(Me(n.staticClass)&&Me(n.class)&&(Me(i)||Me(i.staticClass)&&Me(i.class)))){var a=NV(e),s=r._transitionClasses;X(s)&&(a=iS(a,aS(s))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var pU={create:$E,update:$E},c_="__r",d_="__c";function mU(t){if(X(t[c_])){var e=Sc?"change":"input";t[e]=[].concat(t[c_],t[e]||[]),delete t[c_]}X(t[d_])&&(t.change=[].concat(t[d_],t.change||[]),delete t[d_])}var Rf;function vU(t,e,r){var n=Rf;return function i(){var a=e.apply(null,arguments);a!==null&&G8(t,i,r,n)}}var gU=mw&&!(eE&&Number(eE[1])<=53);function bU(t,e,r,n){if(gU){var i=F8,a=e;e=a._wrapper=function(s){if(s.target===s.currentTarget||s.timeStamp>=i||s.timeStamp<=0||s.target.ownerDocument!==document)return a.apply(this,arguments)}}Rf.addEventListener(t,e,y8?{capture:r,passive:n}:r)}function G8(t,e,r,n){(n||Rf).removeEventListener(t,e._wrapper||e,r)}function f_(t,e){if(!(Me(t.data.on)&&Me(e.data.on))){var r=e.data.on||{},n=t.data.on||{};Rf=e.elm||t.elm,mU(r),E8(r,n,bU,G8,vU,e.context),Rf=void 0}}var _U={create:f_,update:f_,destroy:function(t){return f_(t,Os)}},sp;function ME(t,e){if(!(Me(t.data.domProps)&&Me(e.data.domProps))){var r,n,i=e.elm,a=t.data.domProps||{},s=e.data.domProps||{};(X(s.__ob__)||Dt(s._v_attr_proxy))&&(s=e.data.domProps=bt({},s));for(r in a)r in s||(i[r]="");for(r in s){if(n=s[r],r==="textContent"||r==="innerHTML"){if(e.children&&(e.children.length=0),n===a[r])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(r==="value"&&i.tagName!=="PROGRESS"){i._value=n;var o=Me(n)?"":String(n);yU(i,o)&&(i.value=o)}else if(r==="innerHTML"&&sS(i.tagName)&&Me(i.innerHTML)){sp=sp||document.createElement("div"),sp.innerHTML="<svg>".concat(n,"</svg>");for(var u=sp.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;u.firstChild;)i.appendChild(u.firstChild)}else if(n!==a[r])try{i[r]=n}catch{}}}}function yU(t,e){return!t.composing&&(t.tagName==="OPTION"||wU(t,e)||OU(t,e))}function wU(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function OU(t,e){var r=t.value,n=t._vModifiers;if(X(n)){if(n.number)return Af(r)!==Af(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var SU={create:ME,update:ME},xU=Su(function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach(function(i){if(i){var a=i.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e});function h_(t){var e=W8(t.style);return t.staticStyle?bt(t.staticStyle,e):e}function W8(t){return Array.isArray(t)?p8(t):typeof t=="string"?xU(t):t}function TU(t,e){var r={},n;if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=h_(i.data))&&bt(r,n);(n=h_(t.data))&&bt(r,n);for(var a=t;a=a.parent;)a.data&&(n=h_(a.data))&&bt(r,n);return r}var EU=/^--/,kE=/\s*!important$/,DE=function(t,e,r){if(EU.test(e))t.style.setProperty(e,r);else if(kE.test(r))t.style.setProperty(uh(e),r.replace(kE,""),"important");else{var n=PU(e);if(Array.isArray(r))for(var i=0,a=r.length;i<a;i++)t.style[n]=r[i];else t.style[n]=r}},RE=["Webkit","Moz","ms"],op,PU=Su(function(t){if(op=op||document.createElement("div").style,t=tu(t),t!=="filter"&&t in op)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<RE.length;r++){var n=RE[r]+e;if(n in op)return n}});function IE(t,e){var r=e.data,n=t.data;if(!(Me(r.staticStyle)&&Me(r.style)&&Me(n.staticStyle)&&Me(n.style))){var i,a,s=e.elm,o=n.staticStyle,u=n.normalizedStyle||n.style||{},l=o||u,c=W8(e.data.style)||{};e.data.normalizedStyle=X(c.__ob__)?bt({},c):c;var d=TU(e,!0);for(a in l)Me(d[a])&&DE(s,a,"");for(a in d)i=d[a],i!==l[a]&&DE(s,a,i??"")}}var CU={create:IE,update:IE},Y8=/\s+/;function K8(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(Y8).forEach(function(n){return t.classList.add(n)}):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function q8(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(Y8).forEach(function(i){return t.classList.remove(i)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function X8(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&bt(e,NE(t.name||"v")),bt(e,t),e}else if(typeof t=="string")return NE(t)}}var NE=Su(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),Z8=Hn&&!xc,yl="transition",p_="animation",dm="transition",hv="transitionend",Tw="animation",J8="animationend";Z8&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(dm="WebkitTransition",hv="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Tw="WebkitAnimation",J8="webkitAnimationEnd"));var LE=Hn?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Q8(t){LE(function(){LE(t)})}function Go(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),K8(t,e))}function Ra(t,e){t._transitionClasses&&eo(t._transitionClasses,e),q8(t,e)}function eI(t,e,r){var n=tI(t,e),i=n.type,a=n.timeout,s=n.propCount;if(!i)return r();var o=i===yl?hv:J8,u=0,l=function(){t.removeEventListener(o,c),r()},c=function(d){d.target===t&&++u>=s&&l()};setTimeout(function(){u<s&&l()},a+1),t.addEventListener(o,c)}var AU=/\b(transform|all)(,|$)/;function tI(t,e){var r=window.getComputedStyle(t),n=(r[dm+"Delay"]||"").split(", "),i=(r[dm+"Duration"]||"").split(", "),a=BE(n,i),s=(r[Tw+"Delay"]||"").split(", "),o=(r[Tw+"Duration"]||"").split(", "),u=BE(s,o),l,c=0,d=0;e===yl?a>0&&(l=yl,c=a,d=i.length):e===p_?u>0&&(l=p_,c=u,d=o.length):(c=Math.max(a,u),l=c>0?a>u?yl:p_:null,d=l?l===yl?i.length:o.length:0);var h=l===yl&&AU.test(r[dm+"Property"]);return{type:l,timeout:c,propCount:d,hasTransform:h}}function BE(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(r,n){return FE(r)+FE(t[n])}))}function FE(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Ew(t,e){var r=t.elm;X(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=X8(t.data.transition);if(!Me(n)&&!(X(r._enterCb)||r.nodeType!==1)){for(var i=n.css,a=n.type,s=n.enterClass,o=n.enterToClass,u=n.enterActiveClass,l=n.appearClass,c=n.appearToClass,d=n.appearActiveClass,h=n.beforeEnter,p=n.enter,g=n.afterEnter,_=n.enterCancelled,w=n.beforeAppear,S=n.appear,E=n.afterAppear,x=n.appearCancelled,f=n.duration,m=Uo,v=Uo.$vnode;v&&v.parent;)m=v.context,v=v.parent;var T=!m._isMounted||!t.isRootInsert;if(!(T&&!S&&S!=="")){var P=T&&l?l:s,k=T&&d?d:u,y=T&&c?c:o,$=T&&w||h,C=T&&Pt(S)?S:p,O=T&&E||g,A=T&&x||_,D=Af(Ir(f)?f.enter:f),M=i!==!1&&!xc,N=oS(C),F=r._enterCb=nv(function(){M&&(Ra(r,y),Ra(r,k)),F.cancelled?(M&&Ra(r,P),A&&A(r)):O&&O(r),r._enterCb=null});t.data.show||ws(t,"insert",function(){var j=r.parentNode,H=j&&j._pending&&j._pending[t.key];H&&H.tag===t.tag&&H.elm._leaveCb&&H.elm._leaveCb(),C&&C(r,F)}),$&&$(r),M&&(Go(r,P),Go(r,k),Q8(function(){Ra(r,P),F.cancelled||(Go(r,y),N||(nI(D)?setTimeout(F,D):eI(r,a,F)))})),t.data.show&&(e&&e(),C&&C(r,F)),!M&&!N&&F()}}}function rI(t,e){var r=t.elm;X(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=X8(t.data.transition);if(Me(n)||r.nodeType!==1)return e();if(X(r._leaveCb))return;var i=n.css,a=n.type,s=n.leaveClass,o=n.leaveToClass,u=n.leaveActiveClass,l=n.beforeLeave,c=n.leave,d=n.afterLeave,h=n.leaveCancelled,p=n.delayLeave,g=n.duration,_=i!==!1&&!xc,w=oS(c),S=Af(Ir(g)?g.leave:g),E=r._leaveCb=nv(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),_&&(Ra(r,o),Ra(r,u)),E.cancelled?(_&&Ra(r,s),h&&h(r)):(e(),d&&d(r)),r._leaveCb=null});p?p(x):x();function x(){E.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),_&&(Go(r,s),Go(r,u),Q8(function(){Ra(r,s),E.cancelled||(Go(r,o),w||(nI(S)?setTimeout(E,S):eI(r,a,E)))})),c&&c(r,E),!_&&!w&&E())}}function nI(t){return typeof t=="number"&&!isNaN(t)}function oS(t){if(Me(t))return!1;var e=t.fns;return X(e)?oS(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function jE(t,e){e.data.show!==!0&&Ew(e)}var $U=Hn?{create:jE,activate:jE,remove:function(t,e){t.data.show!==!0?rI(t,e):e()}}:{},MU=[hU,pU,_U,SU,CU,$U],kU=MU.concat(fU),DU=oU({nodeOps:nU,modules:kU});xc&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&uS(t,"input")});var iI={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?ws(r,"postpatch",function(){iI.componentUpdated(t,e,r)}):zE(t,e,r.context),t._vOptions=[].map.call(t.options,pv)):(r.tag==="textarea"||xw(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",RU),t.addEventListener("compositionend",UE),t.addEventListener("change",UE),xc&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){zE(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,pv);if(i.some(function(s,o){return!ru(s,n[o])})){var a=t.multiple?e.value.some(function(s){return VE(s,i)}):e.value!==e.oldValue&&VE(e.value,i);a&&uS(t,"change")}}}};function zE(t,e,r){HE(t,e),(Sc||_8)&&setTimeout(function(){HE(t,e)},0)}function HE(t,e,r){var n=e.value,i=t.multiple;if(!(i&&!Array.isArray(n))){for(var a,s,o=0,u=t.options.length;o<u;o++)if(s=t.options[o],i)a=v8(n,pv(s))>-1,s.selected!==a&&(s.selected=a);else if(ru(pv(s),n)){t.selectedIndex!==o&&(t.selectedIndex=o);return}i||(t.selectedIndex=-1)}}function VE(t,e){return e.every(function(r){return!ru(r,t)})}function pv(t){return"_value"in t?t._value:t.value}function RU(t){t.target.composing=!0}function UE(t){t.target.composing&&(t.target.composing=!1,uS(t.target,"input"))}function uS(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function Pw(t){return t.componentInstance&&(!t.data||!t.data.transition)?Pw(t.componentInstance._vnode):t}var IU={bind:function(t,e,r){var n=e.value;r=Pw(r);var i=r.data&&r.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&i?(r.data.show=!0,Ew(r,function(){t.style.display=a})):t.style.display=n?a:"none"},update:function(t,e,r){var n=e.value,i=e.oldValue;if(!n!=!i){r=Pw(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?Ew(r,function(){t.style.display=t.__vOriginalDisplay}):rI(r,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,i){i||(t.style.display=t.__vOriginalDisplay)}},NU={model:iI,show:IU},aI={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Cw(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Cw(k8(e.children)):t}function sI(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var i=r._parentListeners;for(var n in i)e[tu(n)]=i[n];return e}function GE(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function LU(t){for(;t=t.parent;)if(t.data.transition)return!0}function BU(t,e){return e.key===t.key&&e.tag===t.tag}var FU=function(t){return t.tag||Mf(t)},jU=function(t){return t.name==="show"},zU={name:"transition",props:aI,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(FU),!!r.length)){var n=this.mode,i=r[0];if(LU(this.$vnode))return i;var a=Cw(i);if(!a)return i;if(this._leaving)return GE(t,i);var s="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?s+"comment":s+a.tag:oh(a.key)?String(a.key).indexOf(s)===0?a.key:s+a.key:a.key;var o=(a.data||(a.data={})).transition=sI(this),u=this._vnode,l=Cw(u);if(a.data.directives&&a.data.directives.some(jU)&&(a.data.show=!0),l&&l.data&&!BU(a,l)&&!Mf(l)&&!(l.componentInstance&&l.componentInstance._vnode.isComment)){var c=l.data.transition=bt({},o);if(n==="out-in")return this._leaving=!0,ws(c,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),GE(t,i);if(n==="in-out"){if(Mf(a))return u;var d,h=function(){d()};ws(o,"afterEnter",h),ws(o,"enterCancelled",h),ws(c,"delayLeave",function(p){d=p})}}return i}}},oI=bt({tag:String,moveClass:String},aI);delete oI.mode;var HU={props:oI,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=N8(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],s=sI(this),o=0;o<i.length;o++){var u=i[o];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(a.push(u),r[u.key]=u,(u.data||(u.data={})).transition=s)}if(n){for(var l=[],c=[],o=0;o<n.length;o++){var u=n[o];u.data.transition=s,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?l.push(u):c.push(u)}this.kept=t(e,null,l),this.removed=c}return t(e,null,a)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,e)||(t.forEach(VU),t.forEach(UU),t.forEach(GU),this._reflow=document.body.offsetHeight,t.forEach(function(r){if(r.data.moved){var n=r.elm,i=n.style;Go(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(hv,n._moveCb=function a(s){s&&s.target!==n||(!s||/transform$/.test(s.propertyName))&&(n.removeEventListener(hv,a),n._moveCb=null,Ra(n,e))})}}))},methods:{hasMove:function(t,e){if(!Z8)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(i){q8(r,i)}),K8(r,e),r.style.display="none",this.$el.appendChild(r);var n=tI(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function VU(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function UU(t){t.data.newPos=t.elm.getBoundingClientRect()}function GU(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,i=e.top-r.top;if(n||i){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate(".concat(n,"px,").concat(i,"px)"),a.transitionDuration="0s"}}var WU={Transition:zU,TransitionGroup:HU};V.config.mustUseProp=kV;V.config.isReservedTag=U8;V.config.isReservedAttr=$V;V.config.getTagNamespace=HV;V.config.isUnknownElement=VV;bt(V.options.directives,NU);bt(V.options.components,WU);V.prototype.__patch__=Hn?DU:gr;V.prototype.$mount=function(t,e){return t=t&&Hn?UV(t):void 0,NH(this,t,e)};Hn&&setTimeout(function(){ai.devtools&&iv&&iv.emit("init",V)},0);var uI=function(){return(uI=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},m_={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function YU(t,e){return e?e.toUpperCase():""}function KU(t){for(var e,r={},n=0,i=t.split(m_.styleList);n<i.length;n++){var a=i[n].split(m_.styleProp),s=a[0],o=a[1];(s=s.trim())&&(typeof o=="string"&&(o=o.trim()),r[e=s,e.replace(m_.kebab,YU)]=o)}return r}function me(){for(var t,e,r={},n=arguments.length;n--;)for(var i=0,a=Object.keys(arguments[n]);i<a.length;i++)switch(t=a[i]){case"class":case"style":case"directives":if(Array.isArray(r[t])||(r[t]=[]),t==="style"){var s=void 0;s=Array.isArray(arguments[n].style)?arguments[n].style:[arguments[n].style];for(var o=0;o<s.length;o++){var u=s[o];typeof u=="string"&&(s[o]=KU(u))}arguments[n].style=s}r[t]=r[t].concat(arguments[n][t]);break;case"staticClass":if(!arguments[n][t])break;r[t]===void 0&&(r[t]=""),r[t]&&(r[t]+=" "),r[t]+=arguments[n][t].trim();break;case"on":case"nativeOn":r[t]||(r[t]={});for(var l=0,c=Object.keys(arguments[n][t]||{});l<c.length;l++)e=c[l],r[t][e]?r[t][e]=[].concat(r[t][e],arguments[n][t][e]):r[t][e]=arguments[n][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":r[t]||(r[t]={}),r[t]=uI({},arguments[n][t],r[t]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:r[t]||(r[t]=arguments[n][t])}return r}var ja="_uid",Pc=typeof window<"u",lI=typeof document<"u",cI=typeof navigator<"u",dI=typeof Promise<"u",qU=typeof MutationObserver<"u"||typeof WebKitMutationObserver<"u"||typeof MozMutationObserver<"u",nt=Pc&&lI&&cI,Rt=Pc?window:{},Cc=lI?document:{},fI=cI?navigator:{},XU=(fI.userAgent||"").toLowerCase(),ZU=XU.indexOf("jsdom")>0,JU=function(){var t=!1;if(nt)try{var e={get passive(){t=!0}};Rt.addEventListener("test",e,e),Rt.removeEventListener("test",e,e)}catch{t=!1}return t}(),mv=nt&&("ontouchstart"in Cc.documentElement||fI.maxTouchPoints>0),nd=nt&&!!(Rt.PointerEvent||Rt.MSPointerEvent),WE=nt&&"IntersectionObserver"in Rt&&"IntersectionObserverEntry"in Rt&&"intersectionRatio"in Rt.IntersectionObserverEntry.prototype,QU="BvConfig",wl="$bvConfig",eG=["xs","sm","md","lg","xl"],tG=/\[(\d+)]/g,rG=/^(BV?)/,hI=/^\d+$/,nG=/^\..+/,iG=/^#/,aG=/^#[A-Za-z]+[\w\-:.]*$/,sG=/(<([^>]+)>)/gi,oG=/\B([A-Z])/g,uG=/([a-z])([A-Z])/g,lG=/^[0-9]*\.?[0-9]+$/,cG=/\+/g,dG=/[-/\\^$*+?.()|[\]{}]/g,pI=/[\s\uFEFF\xA0]+/g,fm=/\s+/,fG=/\/\*$/,hG=/(\s|^)(\w)/g,pG=/^\s+/,mG=/_/g,vG=/-(\w)/g,gG=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,bG=/-|\s|T/,_G=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,YE=/^.*(#[^#]+)$/,yG=/%2C/g,wG=/[!'()*]/g,OG=/^(\?|#|&)/,SG=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,xG=/[/:]/,TG=/^col-/,EG=/^BIcon/,PG=/-u-.+/;function Aw(t){"@babel/helpers - typeof";return Aw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Aw(t)}function Fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(t,"prototype",{value:Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),writable:!1}),e&&If(t,e)}function zg(t){var e=mI();return function(){var n=Nf(t),i;if(e){var a=Nf(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return CG(this,i)}}function CG(t,e){if(e&&(Aw(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return AG(t)}function AG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vv(t){var e=typeof Map=="function"?new Map:void 0;return vv=function(n){if(n===null||!$G(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return hm(n,arguments,Nf(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),If(i,n)},vv(t)}function hm(t,e,r){return mI()?hm=Reflect.construct:hm=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),l=new u;return s&&If(l,s.prototype),l},hm.apply(null,arguments)}function mI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function $G(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function If(t,e){return If=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},If(t,e)}function Nf(t){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(t)}var lS=Pc?Rt.Element:function(t){jg(r,t);var e=zg(r);function r(){return Fg(this,r),e.apply(this,arguments)}return r}(vv(Object)),$s=Pc?Rt.HTMLElement:function(t){jg(r,t);var e=zg(r);function r(){return Fg(this,r),e.apply(this,arguments)}return r}(lS),vI=Pc?Rt.SVGElement:function(t){jg(r,t);var e=zg(r);function r(){return Fg(this,r),e.apply(this,arguments)}return r}(lS),gI=Pc?Rt.File:function(t){jg(r,t);var e=zg(r);function r(){return Fg(this,r),e.apply(this,arguments)}return r}(vv(Object));function gv(t){"@babel/helpers - typeof";return gv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gv(t)}var Hg=function(e){return gv(e)},MG=function(e){return Object.prototype.toString.call(e).slice(8,-1)},Bt=function(e){return e===void 0},dt=function(e){return e===null},qe=function(e){return Bt(e)||dt(e)},ge=function(e){return Hg(e)==="function"},ri=function(e){return Hg(e)==="boolean"},Fe=function(e){return Hg(e)==="string"},gi=function(e){return Hg(e)==="number"},of=function(e){return lG.test(String(e))},Ge=function(e){return Array.isArray(e)},Nt=function(e){return e!==null&&gv(e)==="object"},Nr=function(e){return Object.prototype.toString.call(e)==="[object Object]"},Jl=function(e){return e instanceof Date},su=function(e){return e instanceof Event},kG=function(e){return e instanceof gI},KE=function(e){return MG(e)==="RegExp"},DG=function(e){return!qe(e)&&ge(e.then)&&ge(e.catch)};function qE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ou(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qE(Object(r),!0).forEach(function(n){dh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qE(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fh=function(){return Object.assign.apply(Object,arguments)},Ss=function(e,r){return Object.create(e,r)},Vg=function(e,r){return Object.defineProperties(e,r)},cS=function(e,r,n){return Object.defineProperty(e,r,n)},XE=function(e){return Object.getOwnPropertyNames(e)},Pe=function(e){return Object.keys(e)},uu=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},RG=function(e){return Object.prototype.toString.call(e)},to=function(e){return ou({},e)},Ei=function(e,r){return Pe(e).filter(function(n){return r.indexOf(n)!==-1}).reduce(function(n,i){return ou(ou({},n),{},dh({},i,e[i]))},{})},Re=function(e,r){return Pe(e).filter(function(n){return r.indexOf(n)===-1}).reduce(function(n,i){return ou(ou({},n),{},dh({},i,e[i]))},{})},IG=function t(e,r){return Nt(e)&&Nt(r)&&Pe(r).forEach(function(n){Nt(r[n])?((!e[n]||!Nt(e[n]))&&(e[n]=r[n]),t(e[n],r[n])):fh(e,dh({},n,r[n]))}),e},de=function(e){return Pe(e).sort().reduce(function(r,n){return ou(ou({},r),{},dh({},n,e[n]))},{})},Qn=function(){return{enumerable:!0,configurable:!1,writable:!1}};function ZE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function JE(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZE(Object(r),!0).forEach(function(n){bI(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZE(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function bI(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function NG(t){return jG(t)||FG(t)||BG(t)||LG()}function LG(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BG(t,e){if(t){if(typeof t=="string")return $w(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $w(t,e)}}function FG(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jG(t){if(Array.isArray(t))return $w(t)}function $w(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ni=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Ge(e)?e.reduce(function(n,i){return[].concat(NG(n),[t(i,i)])},[]):Nr(e)?Pe(e).reduce(function(n,i){return JE(JE({},n),{},bI({},i,t(e[i],e[i])))},{}):r},Se=function(e){return e},_I=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=Ge(r)?r.join("."):r,!r||!Nt(e))return n;if(r in e)return e[r];r=String(r).replace(tG,".$1");var i=r.split(".").filter(Se);return i.length===0?n:i.every(function(a){return Nt(e)&&a in e&&!qe(e=e[a])})?e:dt(e)?null:n},Pr=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=_I(e,r);return qe(i)?n:i},QE=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=typeof process<"u"&&process?process.env||{}:{};return e?n[e]||r:n},zG=function(){return QE("BOOTSTRAP_VUE_NO_WARN")||QE("NODE_ENV")==="production"},ur=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;zG()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},bv=function(e){return nt?!1:(ur("".concat(e,": Can not be called during SSR.")),!0)},eP=function(e){return dI?!1:(ur("".concat(e,": Requires Promise support.")),!0)},HG=function(e){return qU?!1:(ur("".concat(e,": Requires MutationObserver support.")),!0)};function VG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tP(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function UG(t,e,r){return e&&tP(t.prototype,e),r&&tP(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var GG=function(){function t(){VG(this,t),this.$_config={}}return UG(t,[{key:"setConfig",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Nr(n)){var i=XE(n);i.forEach(function(a){var s=n[a];a==="breakpoints"?!Ge(s)||s.length<2||s.some(function(o){return!Fe(o)||o.length===0})?ur('"breakpoints" must be an array of at least 2 breakpoint names',QU):r.$_config[a]=ni(s):Nr(s)&&(r.$_config[a]=XE(s).reduce(function(o,u){return Bt(s[u])||(o[u]=ni(s[u])),o},r.$_config[a]||{}))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return ni(this.$_config)}},{key:"getConfigValue",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return ni(_I(this.$_config,r,n))}}]),t}(),WG=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V;r.prototype[wl]=V.prototype[wl]=r.prototype[wl]||V.prototype[wl]||new GG,r.prototype[wl].setConfig(e)};function rP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function nP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?rP(Object(r),!0).forEach(function(n){YG(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function YG(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var KG=function(){var t=!1,e=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.org/docs#using-module-bundlers"].join(`
`);return function(r){!t&&V!==r&&!ZU&&ur(e),t=!0}}(),yI=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.components,n=e.directives,i=e.plugins,a=function s(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s.installed||(s.installed=!0,KG(o),WG(u,o),ZG(o,r),QG(o,n),qG(o,i))};return a.installed=!1,a},he=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return nP(nP({},r),{},{install:yI(e)})},qG=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)n&&r[n]&&e.use(r[n])},XG=function(e,r,n){e&&r&&n&&e.component(r,n)},ZG=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)XG(e,n,r[n])},JG=function(e,r,n){e&&r&&n&&e.directive(r.replace(/^VB/,"B"),n)},QG=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)JG(e,n,r[n])},wI="BAlert",OI="BAspect",SI="BAvatar",xI="BAvatarGroup",TI="BBadge",EI="BBreadcrumb",PI="BBreadcrumbItem",CI="BBreadcrumbLink",AI="BButton",$I="BButtonClose",MI="BButtonGroup",kI="BButtonToolbar",DI="BCalendar",dS="BCard",RI="BCardBody",II="BCardFooter",NI="BCardGroup",LI="BCardHeader",BI="BCardImg",FI="BCardImgLazy",jI="BCardSubTitle",zI="BCardText",HI="BCardTitle",VI="BCarousel",UI="BCarouselSlide",GI="BCol",Cr="BCollapse",WI="BContainer",lu="BDropdown",YI="BDropdownDivider",KI="BDropdownForm",qI="BDropdownGroup",XI="BDropdownHeader",ZI="BDropdownItem",JI="BDropdownItemButton",QI="BDropdownText",e3="BEmbed",t3="BForm",r3="BFormCheckbox",n3="BFormCheckboxGroup",i3="BFormDatalist",a3="BFormDatepicker",fS="BFormFile",s3="BFormGroup",o3="BFormInput",u3="BFormInvalidFeedback",l3="BFormRadio",c3="BFormRadioGroup",d3="BFormRating",f3="BFormRow",h3="BFormSelect",p3="BFormSelectOption",m3="BFormSelectOptionGroup",v3="BFormSpinbutton",g3="BFormTag",b3="BFormTags",_3="BFormText",y3="BFormTextarea",w3="BFormTimepicker",O3="BFormValidFeedback",S3="BIcon",eW="BIconBase",x3="BImg",T3="BImgLazy",E3="BInputGroup",P3="BInputGroupAddon",C3="BInputGroupAppend",A3="BInputGroupPrepend",$3="BInputGroupText",M3="BJumbotron",hS="BLink",k3="BListGroup",D3="BListGroupItem",R3="BMedia",I3="BMediaAside",N3="BMediaBody",an="BModal",tW="BMsgBox",L3="BNav",B3="BNavbar",F3="BNavbarBrand",j3="BNavbarNav",z3="BNavbarToggle",H3="BNavForm",V3="BNavItem",U3="BNavItemDropdown",rW="BNavText",G3="BOverlay",Ug="BPagination",Mw="BPaginationNav",Mo="BPopover",W3="BProgress",Y3="BProgressBar",K3="BRow",q3="BSidebar",X3="BSkeleton",Z3="BSkeletonIcon",J3="BSkeletonImg",Q3="BSkeletonTable",eN="BSkeletonWrapper",tN="BSpinner",rN="BTab",cu="BTable",nN="BTableCell",iN="BTableLite",aN="BTableSimple",sN="BTabs",oN="BTbody",uN="BTfoot",lN="BTh",cN="BThead",dN="BTime",Ia="BToast",zl="BToaster",ko="BTooltip",fN="BTr",nW="BVCollapse",iW="BVFormBtnLabelControl",aW="BVFormRatingStar",sW="BVPopover",oW="BVPopoverTemplate",uW="BVPopper",lW="BVTabButton",cW="BVToastPop",dW="BVTooltip",fW="BVTooltipTemplate",hW="BVTransition",pW="BVTransporter",mW="BVTransporterTarget",vW="activate-tab",hN="blur",gW="cancel",vn="change",bW="changed",oi="click",kw="close",Ql="context",pN="context-changed",pS="destroyed",Dw="disable",pm="disabled",_W="dismissed",yW="dismiss-count-down",Rw="enable",mm="enabled",Iw="filtered",mN="first",wW="focus",_v="focusin",yv="focusout",uf="head-clicked",Lt="hidden",dn="hide",OW="img-error",vN="input",gN="last",bN="mouseenter",_N="mouseleave",yN="next",SW="ok",iP="open",wN="page-click",xW="paused",ON="prev",TW="refresh",Nd="refreshed",EW="remove",wv="row-clicked",PW="row-contextmenu",CW="row-dblclicked",AW="row-hovered",$W="row-middle-clicked",MW="row-selected",kW="row-unhovered",SN="selected",yr="show",Kr="shown",v_="sliding-end",DW="sliding-start",RW="sort-changed",IW="tag-state",xN="toggle",NW="unpaused",LW="update",TN="hook:beforeDestroy",Lf="hook:destroyed",ro="update:",EN="bv",PN="::",ln={passive:!0},Be={passive:!0,capture:!1},ec=void 0,qr=Array,L=Boolean,BW=Date,Zr=Function,Rr=Number,er=Object,FW=RegExp,R=String,CN=[qr,Zr],jW=[qr,er],we=[qr,er,R],Lr=[qr,R],zW=[L,Rr],Bf=[L,Rr,R],Br=[L,R],Wo=[BW,R],HW=[Zr,R],le=[Rr,R],VW=[Rr,er,R],UW=[er,Zr],AN=[er,R],GW="add-button-text",aP="append",WW="aside",sP="badge",oP="bottom-row",Ua="button-content",uP="custom-foot",YW="decrement",ir="default",KW="description",qW="dismiss",XW="drop-placeholder",ZW="ellipsis-text",$N="empty",JW="emptyfiltered",lP="file-name",mS="first",QW="first-text",Nw="footer",Us="header",e7="header-close",t7="icon-clear",r7="icon-empty",n7="icon-full",i7="icon-half",a7="img",s7="increment",o7="invalid-feedback",MN="label",u7="last-text",cP="lead",l7="loading",c7="modal-backdrop",dP="modal-cancel",d7="modal-footer",f7="modal-header",h7="modal-header-close",fP="modal-ok",g_="modal-title",p7="nav-next-decade",m7="nav-next-month",v7="nav-next-year",g7="nav-prev-decade",b7="nav-prev-month",_7="nav-prev-year",y7="nav-this-month",w7="next-text",O7="overlay",S7="page",x7="placeholder",hP="prepend",T7="prev-text",id="row-details",Ld="table-busy",pP="table-caption",mP="table-colgroup",E7="tabs-end",P7="tabs-start",C7="text",A7="thead-top",hh="title",$7="toast-title",vP="top-row",M7="valid-feedback",du=function(){return Array.from.apply(Array,arguments)},Te=function(e,r){return e.indexOf(r)!==-1},ze=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Array.prototype.concat.apply([],r)},lf=function(e,r){var n=ge(r)?r:function(){return r};return Array.apply(null,{length:e}).map(n)},k7=function(e){return e.reduce(function(r,n){return ze(r,n)},[])},ad=function t(e){return e.reduce(function(r,n){return ze(r,Array.isArray(n)?t(n):n)},[])},ae=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Ne=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},b_=function(e,r){return Ne(e).toFixed(ae(r,0))},vS=function(e){return e.replace(oG,"-$1").toLowerCase()},kN=function(e){return e=vS(e).replace(vG,function(r,n){return n?n.toUpperCase():""}),e.charAt(0).toUpperCase()+e.slice(1)},vm=function(e){return e.replace(mG," ").replace(uG,function(r,n,i){return n+" "+i}).replace(hG,function(r,n,i){return n+i.toUpperCase()})},D7=function(e){return e=Fe(e)?e.trim():String(e),e.charAt(0).toLowerCase()+e.slice(1)},DN=function(e){return e=Fe(e)?e.trim():String(e),e.charAt(0).toUpperCase()+e.slice(1)},gS=function(e){return e.replace(dG,"\\$&")},ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return qe(e)?"":Ge(e)||Nr(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},R7=function(e){return ye(e).replace(pG,"")},Ms=function(e){return ye(e).trim()},Ov=function(e){return ye(e).toLowerCase()},gm=lS.prototype,I7=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),N7=gm.matches||gm.msMatchesSelector||gm.webkitMatchesSelector,L7=gm.closest||function(t){var e=this;do{if(za(e,t))return e;e=e.parentElement||e.parentNode}while(!dt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Xe=(Rt.requestAnimationFrame||Rt.webkitRequestAnimationFrame||Rt.mozRequestAnimationFrame||Rt.msRequestAnimationFrame||Rt.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(Rt),B7=Rt.MutationObserver||Rt.WebKitMutationObserver||Rt.MozMutationObserver||null,F7=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},ut=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},Gs=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=Cc.activeElement;return r&&!e.some(function(n){return n===r})?r:null},la=function(e,r){return ye(e).toLowerCase()===ye(r).toLowerCase()},bS=function(e){return ut(e)&&e===Gs()},yi=function(e){if(!ut(e)||!e.parentNode||!Xt(Cc.body,e)||Al(e,"display")==="none")return!1;var r=fu(e);return!!(r&&r.height>0&&r.width>0)},Ro=function(e){return!ut(e)||e.disabled||na(e,"disabled")||Ff(e,"disabled")},_S=function(e){return ut(e)&&e.offsetHeight},Fn=function(e,r){return du((ut(r)?r:Cc).querySelectorAll(e))},In=function(e,r){return(ut(r)?r:Cc).querySelector(e)||null},za=function(e,r){return ut(e)?N7.call(e,r):!1},fn=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!ut(r))return null;var i=L7.call(r,e);return n?i:i===r?null:i},Xt=function(e,r){return e&&ge(e.contains)?e.contains(r):!1},Lw=function(e){return Cc.getElementById(/^#/.test(e)?e.slice(1):e)||null},Gr=function(e,r){r&&ut(e)&&e.classList&&e.classList.add(r)},$r=function(e,r){r&&ut(e)&&e.classList&&e.classList.remove(r)},Ff=function(e,r){return r&&ut(e)&&e.classList?e.classList.contains(r):!1},gt=function(e,r,n){r&&ut(e)&&e.setAttribute(r,n)},ra=function(e,r){r&&ut(e)&&e.removeAttribute(r)},Nn=function(e,r){return r&&ut(e)?e.getAttribute(r):null},na=function(e,r){return r&&ut(e)?e.hasAttribute(r):null},Er=function(e,r,n){r&&ut(e)&&(e.style[r]=n)},Gg=function(e,r){r&&ut(e)&&(e.style[r]="")},Al=function(e,r){return r&&ut(e)&&e.style[r]||null},fu=function(e){return ut(e)?e.getBoundingClientRect():null},kn=function(e){var r=Rt.getComputedStyle;return r&&ut(e)?r(e):{}},j7=function(){var e=Rt.getSelection;return e?Rt.getSelection():null},Bw=function(e){var r={top:0,left:0};if(!ut(e)||e.getClientRects().length===0)return r;var n=fu(e);if(n){var i=e.ownerDocument.defaultView;r.top=n.top+i.pageYOffset,r.left=n.left+i.pageXOffset}return r},z7=function(e){var r={top:0,left:0};if(!ut(e))return r;var n={top:0,left:0},i=kn(e);if(i.position==="fixed")r=fu(e)||r;else{r=Bw(e);for(var a=e.ownerDocument,s=e.offsetParent||a.documentElement;s&&(s===a.body||s===a.documentElement)&&kn(s).position==="static";)s=s.parentNode;if(s&&s!==e&&s.nodeType===Node.ELEMENT_NODE){n=Bw(s);var o=kn(s);n.top+=Ne(o.borderTopWidth,0),n.left+=Ne(o.borderLeftWidth,0)}}return{top:r.top-n.top-Ne(i.marginTop,0),left:r.left-n.left-Ne(i.marginLeft,0)}},Fw=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return Fn(I7,e).filter(yi).filter(function(r){return r.tabIndex>-1&&!r.disabled})},De=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch{}return bS(e)},_n=function(e){try{e.blur()}catch{}return!bS(e)},ph=function(e){var r=Ss(null);return function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var s=JSON.stringify(i);return r[s]=r[s]||e.apply(null,i)}},H7=V.prototype,jw=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=H7[wl];return n?n.getConfigValue(e,r):ni(r)},Dn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return r?jw("".concat(e,".").concat(r),n):jw(e,{})},RN=function(){return jw("breakpoints",eG)},V7=ph(function(){return RN()}),U7=function(){return ni(V7())},jf=ph(function(){var t=U7();return t[0]="",t});function gP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gP(Object(r),!0).forEach(function(n){IN(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function IN(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wg=function(e,r){return e+DN(r)},NN=function(e,r){return D7(r.replace(e,""))},ks=function(e,r){return r+(e?DN(e):"")},b=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ec,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0,a=n===!0;return i=a?i:n,Yo(Yo(Yo({},e?{type:e}:{}),a?{required:a}:Bt(r)?{}:{default:Nt(r)?function(){return r}:r}),Bt(i)?{}:{validator:i})},Yg=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se;if(Ge(e))return e.map(r);var n={};for(var i in e)uu(e,i)&&(n[r(i)]=Nt(e[i])?to(e[i]):e[i]);return n},ht=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se;return(Ge(e)?e.slice():Pe(e)).reduce(function(i,a){return i[n(a)]=r[a],i},{})},LN=function(e,r,n){return Yo(Yo({},ni(e)),{},{default:function(){var a=Dn(n,r,e.default);return ge(a)?a():a}})},Q=function(e,r){return Pe(e).reduce(function(n,i){return Yo(Yo({},n),{},IN({},i,LN(e[i],i,r)))},{})},G7=LN({},"","").default.name,oa=function(e){return ge(e)&&e.name&&e.name!==G7};function W7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.type,i=n===void 0?ec:n,a=r.defaultValue,s=a===void 0?void 0:a,o=r.validator,u=o===void 0?void 0:o,l=r.event,c=l===void 0?vN:l,d=W7({},e,b(i,s,u)),h=V.extend({model:{prop:e,event:c},props:d});return{mixin:h,props:d,prop:e,event:c}},Ga=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e=ze(e).filter(Se),e.some(function(i){return r[i]||n[i]})},wr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};e=ze(e).filter(Se);for(var a,s=0;s<e.length&&!a;s++){var o=e[s];a=n[o]||i[o]}return ge(a)?a(r):a},Ce=V.extend({methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ir,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.$scopedSlots,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$slots;return Ga(e,r,n)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ir,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$scopedSlots,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this.$slots,a=wr(e,r,n,i);return a&&ze(a)}}}),BN=function(e){return JU?Nt(e)?e:{capture:!!e||!1}:!!(Nt(e)?e.capture:e)},ft=function(e,r,n,i){e&&e.addEventListener&&e.addEventListener(r,n,BN(i))},yt=function(e,r,n,i){e&&e.removeEventListener&&e.removeEventListener(r,n,BN(i))},wi=function(e){for(var r=e?ft:yt,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r.apply(void 0,i)},ke=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventDefault,i=n===void 0?!0:n,a=r.propagation,s=a===void 0?!0:a,o=r.immediatePropagation,u=o===void 0?!1:o;i&&e.preventDefault(),s&&e.stopPropagation(),u&&e.stopImmediatePropagation()},FN=function(e){return vS(e.replace(rG,""))},Ct=function(e,r){return[EN,FN(e),r].join(PN)},Zt=function(e,r){return[EN,r,FN(e)].join(PN)};function Y7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var K7=Q({ariaLabel:b(R,"Close"),content:b(R,"&times;"),disabled:b(L,!1),textVariant:b(R)},$I),hu=V.extend({name:$I,functional:!0,props:K7,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},l={staticClass:"close",class:Y7({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(d){n.disabled&&su(d)&&ke(d)}}};return Ga(ir,u,o)||(l.domProps={innerHTML:n.content}),e("button",me(i,l),wr(ir,{},u,o))}});function bP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $l(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bP(Object(r),!0).forEach(function(n){q7(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function q7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jN={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},X7=$l($l({},jN),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),Z7={appear:b(L,!1),mode:b(R),noFade:b(L,!1),transProps:b(er)},xu=V.extend({name:hW,functional:!0,props:Z7,render:function(e,r){var n=r.children,i=r.data,a=r.props,s=a.transProps;return Nr(s)||(s=a.noFade?jN:X7,a.appear&&(s=$l($l({},s),{},{appear:!0,appearClass:s.enterClass,appearActiveClass:s.enterActiveClass,appearToClass:s.enterToClass}))),s=$l($l({mode:a.mode},s),{},{css:!0}),e("transition",me(i,{props:s}),n)}}),sd;function _P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function yP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_P(Object(r),!0).forEach(function(n){Bd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_P(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Bd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kg=tr("show",{type:Bf,defaultValue:!1}),J7=Kg.mixin,Q7=Kg.props,od=Kg.prop,wP=Kg.event,OP=function(e){return e===""||ri(e)?0:(e=ae(e,0),e>0?e:0)},__=function(e){return e===""||e===!0?!0:ae(e,0)<1?!1:!!e},eY=Q(de(yP(yP({},Q7),{},{dismissLabel:b(R,"Close"),dismissible:b(L,!1),fade:b(L,!1),variant:b(R,"info")})),wI),tY=V.extend({name:wI,mixins:[J7,Ce],props:eY,data:function(){return{countDown:0,localShow:__(this[od])}},watch:(sd={},Bd(sd,od,function(t){this.countDown=OP(t),this.localShow=__(t)}),Bd(sd,"countDown",function(e){var r=this;this.clearCountDownInterval();var n=this[od];of(n)&&(this.$emit(yW,e),n!==e&&this.$emit(wP,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){r.countDown--},1e3)):this.$nextTick(function(){Xe(function(){r.localShow=!1})}))}),Bd(sd,"localShow",function(e){var r=this[od];!e&&(this.dismissible||of(r))&&this.$emit(_W),!of(r)&&r!==e&&this.$emit(wP,e)}),sd),created:function(){this.$_filterTimer=null;var e=this[od];this.countDown=OP(e),this.localShow=__(e)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(e){var r=e();if(this.localShow){var n=this.dismissible,i=this.variant,a=e();n&&(a=e(hu,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(qW)])),r=e("div",{staticClass:"alert",class:Bd({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[ja]},[a,this.normalizeSlot()])}return e(xu,{props:{noFade:!this.fade}},[r])}}),rY=he({components:{BAlert:tY}}),Na=Math.min,Ue=Math.max,zN=Math.abs,HN=Math.ceil,zf=Math.floor,VN=Math.pow,zw=Math.round;function nY(t,e){return oY(t)||sY(t,e)||aY(t,e)||iY()}function iY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aY(t,e){if(t){if(typeof t=="string")return SP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return SP(t,e)}}function SP(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function sY(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,o;try{for(r=r.call(t);!(i=(s=r.next()).done)&&(n.push(s.value),!(e&&n.length===e));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw o}}return n}}function oY(t){if(Array.isArray(t))return t}var y_="b-aspect",uY=Q({aspect:b(le,"1:1"),tag:b(R,"div")},OI),UN=V.extend({name:OI,mixins:[Ce],props:uY,computed:{padding:function(){var e=this.aspect,r=1;if(SG.test(e)){var n=e.split(xG).map(function(o){return Ne(o)||1}),i=nY(n,2),a=i[0],s=i[1];r=a/s}else r=Ne(e)||1;return"".concat(100/zN(r),"%")}},render:function(e){var r=e("div",{staticClass:"".concat(y_,"-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),n=e("div",{staticClass:"".concat(y_,"-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},this.normalizeSlot());return e(this.tag,{staticClass:"".concat(y_," d-flex")},[r,n])}}),lY=he({components:{BAspect:UN}}),GN="a",cY=function(e){return"%"+e.charCodeAt(0).toString(16)},Zu=function(e){return encodeURIComponent(ye(e)).replace(wG,cY).replace(yG,",")},xP=decodeURIComponent,dY=function(e){if(!Nr(e))return"";var r=Pe(e).map(function(n){var i=e[n];return Bt(i)?"":dt(i)?Zu(n):Ge(i)?i.reduce(function(a,s){return dt(s)?a.push(Zu(n)):Bt(s)||a.push(Zu(n)+"="+Zu(s)),a},[]).join("&"):Zu(n)+"="+Zu(i)}).filter(function(n){return n.length>0}).join("&");return r?"?".concat(r):""},TP=function(e){var r={};return e=ye(e).trim().replace(OG,""),e&&e.split("&").forEach(function(n){var i=n.replace(cG," ").split("="),a=xP(i.shift()),s=i.length>0?xP(i.join("=")):null;Bt(r[a])?r[a]=s:Ge(r[a])?r[a].push(s):r[a]=[r[a],s]}),r},mh=function(e){return!!(e.href||e.to)},WN=function(e){return!!(e&&!la(e,"a"))},fY=function(e,r){var n=e.to,i=e.disabled,a=e.routerComponentName,s=!!r.$router;return!s||s&&(i||!n)?GN:a||(r.$nuxt?"nuxt-link":"router-link")},hY=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&dt(n)?"noopener":n||null},YN=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.href,n=e.to,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:GN,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/";if(r)return r;if(WN(i))return null;if(Fe(n))return n||s;if(Nr(n)&&(n.path||n.query||n.hash)){var o=ye(n.path),u=dY(n.query),l=ye(n.hash);return l=!l||l.charAt(0)==="#"?l:"#".concat(l),"".concat(o).concat(u).concat(l)||s}return a};function EP(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pY={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},mY={width:null,height:null,focusable:null,role:null,"aria-label":null},yS={animation:b(R),content:b(R),flipH:b(L,!1),flipV:b(L,!1),fontScale:b(le,1),rotate:b(le,0),scale:b(le,1),shiftH:b(le,0),shiftV:b(le,0),stacked:b(L,!1),title:b(R),variant:b(R)},vY=V.extend({name:eW,functional:!0,props:yS,render:function(e,r){var n,i=r.data,a=r.props,s=r.children,o=a.animation,u=a.content,l=a.flipH,c=a.flipV,d=a.stacked,h=a.title,p=a.variant,g=Ue(Ne(a.fontScale,1),0)||1,_=Ue(Ne(a.scale,1),0)||1,w=Ne(a.rotate,0),S=Ne(a.shiftH,0),E=Ne(a.shiftV,0),x=l||c||_!==1,f=x||w,m=S||E,v=!qe(u),T=[f?"translate(8 8)":null,x?"scale(".concat((l?-1:1)*_," ").concat((c?-1:1)*_,")"):null,w?"rotate(".concat(w,")"):null,f?"translate(-8 -8)":null].filter(Se),P=e("g",{attrs:{transform:T.join(" ")||null},domProps:v?{innerHTML:u||""}:{}},s);m&&(P=e("g",{attrs:{transform:"translate(".concat(16*S/16," ").concat(-16*E/16,")")}},[P])),d&&(P=e("g",[P]));var k=h?e("title",h):null,y=[k,P].filter(Se);return e("svg",me({staticClass:"b-icon bi",class:(n={},EP(n,"text-".concat(p),p),EP(n,"b-icon-animation-".concat(o),o),n),attrs:pY,style:d?{}:{fontSize:g===1?null:"".concat(g*100,"%")}},i,d?{attrs:mY}:{},{attrs:{xmlns:d?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),y)}});function PP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function CP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PP(Object(r),!0).forEach(function(n){gY(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gY(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bY=Re(yS,["content"]),rr=function(e,r){var n=vS(e),i="BIcon".concat(kN(e)),a="bi-".concat(n),s=n.replace(/-/g," "),o=Ms(r||"");return V.extend({name:i,functional:!0,props:bY,render:function(l,c){var d=c.data,h=c.props;return l(vY,me({props:{title:s},attrs:{"aria-label":s}},d,{staticClass:a,props:CP(CP({},h),{},{content:o})}))}})},AP=rr("Blank",""),_Y=rr("Calendar",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>'),yY=rr("CalendarFill",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z"/>'),tAe=rr("Check",'<path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/>'),$P=rr("ChevronBarLeft",'<path fill-rule="evenodd" d="M11.854 3.646a.5.5 0 0 1 0 .708L8.207 8l3.647 3.646a.5.5 0 0 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 0 1 .708 0zM4.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/>'),MP=rr("ChevronDoubleLeft",'<path fill-rule="evenodd" d="M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),wY=rr("ChevronDown",'<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>'),kP=rr("ChevronLeft",'<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),DP=rr("ChevronUp",'<path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>'),Hw=rr("CircleFill",'<circle cx="8" cy="8" r="8"/>'),OY=rr("Clock",'<path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/><path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z"/>'),SY=rr("ClockFill",'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/>'),xY=rr("Dash",'<path d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"/>'),TY=rr("PersonFill",'<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>'),EY=rr("Plus",'<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>'),rAe=rr("Slash",'<path d="M11.354 4.646a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708l6-6a.5.5 0 0 1 .708 0z"/>'),nAe=rr("SlashCircle",'<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M11.354 4.646a.5.5 0 0 0-.708 0l-6 6a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708z"/>'),PY=rr("Star",'<path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288L8 2.223l1.847 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.565.565 0 0 0-.163.506l.694 3.957-3.686-1.894a.503.503 0 0 0-.461 0z"/>'),CY=rr("StarFill",'<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>'),AY=rr("StarHalf",'<path d="M5.354 5.119 7.538.792A.516.516 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.537.537 0 0 1 16 6.32a.548.548 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.52.52 0 0 1-.146.05c-.342.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.172-.403.58.58 0 0 1 .085-.302.513.513 0 0 1 .37-.245l4.898-.696zM8 12.027a.5.5 0 0 1 .232.056l3.686 1.894-.694-3.957a.565.565 0 0 1 .162-.505l2.907-2.77-4.052-.576a.525.525 0 0 1-.393-.288L8.001 2.223 8 2.226v9.8z"/>'),KN=rr("X",'<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');function RP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function IP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RP(Object(r),!0).forEach(function(n){$Y(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function $Y(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var MY=function t(e,r){if(!e)return V.component(r);var n=(e.$options||{}).components,i=n&&n[r];return i||t(e.$parent,r)},qN=Re(yS,["content"]),kY=Q(de(IP(IP({},qN),{},{icon:b(R)})),S3),Sv=V.extend({name:S3,functional:!0,props:kY,render:function(e,r){var n=r.data,i=r.props,a=r.parent,s=kN(Ms(i.icon||"")).replace(EG,"");return e(s&&MY(a,"BIcon".concat(s))||AP,me(n,{props:ht(qN,i)}))}}),DY=8,XN=46,Xr=40,Ws=35,Ka=13,wS=27,Ys=36,Oi=37,xv=34,Tv=33,Wa=39,ca=32,hn=38,RY=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,i=0;n&&i<e.length;i++)n=Ve(e[i],r[i]);return n},Ve=function t(e,r){if(e===r)return!0;var n=Jl(e),i=Jl(r);if(n||i)return n&&i?e.getTime()===r.getTime():!1;if(n=Ge(e),i=Ge(r),n||i)return n&&i?RY(e,r):!1;if(n=Nt(e),i=Nt(r),n||i){if(!n||!i)return!1;var a=Pe(e).length,s=Pe(r).length;if(a!==s)return!1;for(var o in e){var u=uu(e,o),l=uu(r,o);if(u&&!l||!u&&l||!t(e[o],r[o]))return!1}}return String(e)===String(r)};function NP(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var LP=function(e){return!e||Pe(e).length===0},IY=function(e){return{handler:function(n,i){if(!Ve(n,i)){if(LP(n)||LP(i)){this[e]=ni(n);return}for(var a in i)uu(n,a)||this.$delete(this.$data[e],a);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},ZN=function(e,r){return V.extend({data:function(){return NP({},r,ni(this[e]))},watch:NP({},e,IY(r))})},lr=ZN("$attrs","bvAttrs"),wn="$_rootListeners",Pi=V.extend({created:function(){this[wn]={}},beforeDestroy:function(){var e=this;Pe(this[wn]||{}).forEach(function(r){e[wn][r].forEach(function(n){e.listenOffRoot(r,n)})}),this[wn]=null},methods:{registerRootListener:function(e,r){this[wn]&&(this[wn][e]=this[wn][e]||[],Te(this[wn][e],r)||this[wn][e].push(r))},unregisterRootListener:function(e,r){this[wn]&&this[wn][e]&&(this[wn][e]=this[wn][e].filter(function(n){return n!==r}))},listenOnRoot:function(e,r){this.$root&&(this.$root.$on(e,r),this.registerRootListener(e,r))},listenOnRootOnce:function(e,r){var n=this;if(this.$root){var i=function a(){n.unregisterRootListener(a),r.apply(void 0,arguments)};this.$root.$once(e,i),this.registerRootListener(e,i)}},listenOffRoot:function(e,r){this.unregisterRootListener(e,r),this.$root&&this.$root.$off(e,r)},emitOnRoot:function(e){if(this.$root){for(var r,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(r=this.$root).$emit.apply(r,[e].concat(i))}}}}),qa=ZN("$listeners","bvListeners");function NY(t){return jY(t)||FY(t)||BY(t)||LY()}function LY(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BY(t,e){if(t){if(typeof t=="string")return Vw(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vw(t,e)}}function FY(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jY(t){if(Array.isArray(t))return Vw(t)}function Vw(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function BP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Hr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?BP(Object(r),!0).forEach(function(n){JN(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):BP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function JN(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zY=Ct(hS,"clicked"),QN={activeClass:b(R),append:b(L,!1),event:b(Lr),exact:b(L,!1),exactActiveClass:b(R),exactPath:b(L,!1),exactPathActiveClass:b(R),replace:b(L,!1),routerTag:b(R),to:b(AN)},eL={noPrefetch:b(L,!1),prefetch:b(L,null)},Ci=Q(de(Hr(Hr(Hr({},eL),QN),{},{active:b(L,!1),disabled:b(L,!1),href:b(R),rel:b(R,null),routerComponentName:b(R),target:b(R,"_self")})),hS),gn=V.extend({name:hS,mixins:[lr,qa,Pi,Ce],inheritAttrs:!1,props:Ci,computed:{computedTag:function(){var e=this.to,r=this.disabled,n=this.routerComponentName;return fY({to:e,disabled:r,routerComponentName:n},this)},isRouterLink:function(){return WN(this.computedTag)},computedRel:function(){var e=this.target,r=this.rel;return hY({target:e,rel:r})},computedHref:function(){var e=this.to,r=this.href;return YN({to:e,href:r},this.computedTag)},computedProps:function(){var e=this.event,r=this.prefetch,n=this.routerTag;return this.isRouterLink?Hr(Hr(Hr(Hr({},ht(Re(Hr(Hr({},QN),eL),["event","prefetch","routerTag"]),this)),e?{event:e}:{}),ri(r)?{prefetch:r}:{}),n?{tag:n}:{}):{}},computedAttrs:function(){var e=this.bvAttrs,r=this.computedHref,n=this.computedRel,i=this.disabled,a=this.target,s=this.routerTag,o=this.isRouterLink;return Hr(Hr(Hr(Hr({},e),r?{href:r}:{}),o&&s&&!la(s,"a")?{}:{rel:n,target:a}),{},{tabindex:i?"-1":Bt(e.tabindex)?null:e.tabindex,"aria-disabled":i?"true":null})},computedListeners:function(){return Hr(Hr({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var r=arguments,n=su(e),i=this.isRouterLink,a=this.bvListeners.click;n&&this.disabled?ke(e,{immediatePropagation:!0}):(i&&e.currentTarget.__vue__&&e.currentTarget.__vue__.$emit(oi,e),ze(a).filter(function(s){return ge(s)}).forEach(function(s){s.apply(void 0,NY(r))}),this.emitOnRoot(zY,e),this.emitOnRoot("clicked::link",e)),n&&!i&&this.computedHref==="#"&&ke(e,{propagation:!1})},focus:function(){De(this.$el)},blur:function(){_n(this.$el)}},render:function(e){var r=this.active,n=this.disabled;return e(this.computedTag,JN({class:{active:r,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function FP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function jP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?FP(Object(r),!0).forEach(function(n){To(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function To(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qg=Re(Ci,["event","routerTag"]);delete qg.href.default;delete qg.to.default;var tL=Q(de(jP(jP({},qg),{},{block:b(L,!1),disabled:b(L,!1),pill:b(L,!1),pressed:b(L,null),size:b(R),squared:b(L,!1),tag:b(R,"button"),type:b(R,"button"),variant:b(R,"secondary")})),AI),zP=function(e){e.type==="focusin"?Gr(e.target,"focus"):e.type==="focusout"&&$r(e.target,"focus")},vh=function(e){return mh(e)||la(e.tag,"a")},rL=function(e){return ri(e.pressed)},nL=function(e){return!(vh(e)||e.tag&&!la(e.tag,"button"))},iL=function(e){return!vh(e)&&!nL(e)},HY=function(e){var r;return["btn-".concat(e.variant||"secondary"),(r={},To(r,"btn-".concat(e.size),e.size),To(r,"btn-block",e.block),To(r,"rounded-pill",e.pill),To(r,"rounded-0",e.squared&&!e.pill),To(r,"disabled",e.disabled),To(r,"active",e.pressed),r)]},VY=function(e){return vh(e)?ht(qg,e):{}},UY=function(e,r){var n=nL(e),i=vh(e),a=rL(e),s=iL(e),o=i&&e.href==="#",u=r.attrs&&r.attrs.role?r.attrs.role:null,l=r.attrs?r.attrs.tabindex:null;return(s||o)&&(l="0"),{type:n&&!i?e.type:null,disabled:n?e.disabled:null,role:s||o?"button":u,"aria-disabled":s?String(e.disabled):null,"aria-pressed":a?String(e.pressed):null,autocomplete:a?"off":null,tabindex:e.disabled&&!n?"-1":l}},pn=V.extend({name:AI,functional:!0,props:tL,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children,o=rL(n),u=vh(n),l=iL(n),c=u&&n.href==="#",d={keydown:function(g){if(!(n.disabled||!(l||c))){var _=g.keyCode;if(_===ca||_===Ka&&l){var w=g.currentTarget||g.target;ke(g,{propagation:!1}),w.click()}}},click:function(g){n.disabled&&su(g)?ke(g):o&&a&&a["update:pressed"]&&ze(a["update:pressed"]).forEach(function(_){ge(_)&&_(!n.pressed)})}};o&&(d.focusin=zP,d.focusout=zP);var h={staticClass:"btn",class:HY(n),props:VY(n),attrs:UY(n,i),on:d};return e(u?gn:n.tag,me(i,h),s)}});function HP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ev(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?HP(Object(r),!0).forEach(function(n){Eo(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):HP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Eo(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var VP="b-avatar",w_=["sm",null,"lg"],aL=.4,GY=aL*.7,sL=function(e){return e=Fe(e)&&of(e)?Ne(e,0):e,gi(e)?"".concat(e,"px"):e||null},oL=Re(Ci,["active","event","routerTag"]),WY=Q(de(Ev(Ev({},oL),{},{alt:b(R,"avatar"),ariaLabel:b(R),badge:b(Br,!1),badgeLeft:b(L,!1),badgeOffset:b(R),badgeTop:b(L,!1),badgeVariant:b(R,"primary"),button:b(L,!1),buttonType:b(R,"button"),icon:b(R),rounded:b(Br,!1),size:b(le),square:b(L,!1),src:b(R),text:b(R),variant:b(R,"secondary")})),SI),YY=V.extend({name:SI,mixins:[Ce],inject:{bvAvatarGroup:{default:null}},props:WY,data:function(){return{localSrc:this.src||null}},computed:{computedSize:function(){var e=this.bvAvatarGroup;return sL(e?e.size:this.size)},computedVariant:function(){var e=this.bvAvatarGroup;return e&&e.variant?e.variant:this.variant},computedRounded:function(){var e=this.bvAvatarGroup,r=e&&e.square?!0:this.square,n=e&&e.rounded?e.rounded:this.rounded;return r?"0":n===""?!0:n||"circle"},fontStyle:function(){var e=this.computedSize,r=w_.indexOf(e)===-1?"calc(".concat(e," * ").concat(aL,")"):null;return r?{fontSize:r}:{}},marginStyle:function(){var e=this.computedSize,r=this.bvAvatarGroup,n=r?r.overlapScale:0,i=e&&n?"calc(".concat(e," * -").concat(n,")"):null;return i?{marginLeft:i,marginRight:i}:{}},badgeStyle:function(){var e=this.computedSize,r=this.badgeTop,n=this.badgeLeft,i=this.badgeOffset,a=i||"0px";return{fontSize:w_.indexOf(e)===-1?"calc(".concat(e," * ").concat(GY," )"):null,top:r?a:null,bottom:r?null:a,left:n?a:null,right:n?null:a}}},watch:{src:function(e,r){e!==r&&(this.localSrc=e||null)}},methods:{onImgError:function(e){this.localSrc=null,this.$emit(OW,e)},onClick:function(e){this.$emit(oi,e)}},render:function(e){var r,n=this.computedVariant,i=this.disabled,a=this.computedRounded,s=this.icon,o=this.localSrc,u=this.text,l=this.fontStyle,c=this.marginStyle,d=this.computedSize,h=this.button,p=this.buttonType,g=this.badge,_=this.badgeVariant,w=this.badgeStyle,S=!h&&mh(this),E=h?pn:S?gn:"span",x=this.alt,f=this.ariaLabel||null,m=null;this.hasNormalizedSlot()?m=e("span",{staticClass:"b-avatar-custom"},[this.normalizeSlot()]):o?(m=e("img",{style:n?{}:{width:"100%",height:"100%"},attrs:{src:o,alt:x},on:{error:this.onImgError}}),m=e("span",{staticClass:"b-avatar-img"},[m])):s?m=e(Sv,{props:{icon:s},attrs:{"aria-hidden":"true",alt:x}}):u?m=e("span",{staticClass:"b-avatar-text",style:l},[e("span",u)]):m=e(TY,{attrs:{"aria-hidden":"true",alt:x}});var v=e(),T=this.hasNormalizedSlot(sP);if(g||g===""||T){var P=g===!0?"":g;v=e("span",{staticClass:"b-avatar-badge",class:Eo({},"badge-".concat(_),_),style:w},[T?this.normalizeSlot(sP):P])}var k={staticClass:VP,class:(r={},Eo(r,"".concat(VP,"-").concat(d),d&&w_.indexOf(d)!==-1),Eo(r,"badge-".concat(n),!h&&n),Eo(r,"rounded",a===!0),Eo(r,"rounded-".concat(a),a&&a!==!0),Eo(r,"disabled",i),r),style:Ev(Ev({},c),{},{width:d,height:d}),attrs:{"aria-label":f||null},props:h?{variant:n,disabled:i,type:p}:S?ht(oL,this):{},on:h||S?{click:this.onClick}:{}};return e(E,k,[m,v])}}),KY=Q({overlap:b(le,.3),rounded:b(Br,!1),size:b(R),square:b(L,!1),tag:b(R,"div"),variant:b(R)},xI),qY=V.extend({name:xI,mixins:[Ce],provide:function(){return{bvAvatarGroup:this}},props:KY,computed:{computedSize:function(){return sL(this.size)},overlapScale:function(){return Na(Ue(Ne(this.overlap,0),0),1)/2},paddingStyle:function(){var e=this.computedSize;return e=e?"calc(".concat(e," * ").concat(this.overlapScale,")"):null,e?{paddingLeft:e,paddingRight:e}:{}}},render:function(e){var r=e("div",{staticClass:"b-avatar-group-inner",style:this.paddingStyle},this.normalizeSlot());return e(this.tag,{staticClass:"b-avatar-group",attrs:{role:"group"}},[r])}}),XY=he({components:{BAvatar:YY,BAvatarGroup:qY}});function UP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function GP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?UP(Object(r),!0).forEach(function(n){ZY(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):UP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ZY(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xg=Re(Ci,["event","routerTag"]);delete Xg.href.default;delete Xg.to.default;var JY=Q(de(GP(GP({},Xg),{},{pill:b(L,!1),tag:b(R,"span"),variant:b(R,"secondary")})),TI),uL=V.extend({name:TI,functional:!0,props:JY,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=n.disabled,u=mh(n),l=u?gn:n.tag,c=n.variant||"secondary";return e(l,me(i,{staticClass:"badge",class:["badge-".concat(c),{"badge-pill":n.pill,active:s,disabled:o}],props:u?ht(Xg,n):{}}),a)}}),QY=he({components:{BBadge:uL}}),WP=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(sG,"")},St=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};function YP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function KP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?YP(Object(r),!0).forEach(function(n){e9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function e9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Uw=Q(de(KP(KP({},Re(Ci,["event","routerTag"])),{},{ariaCurrent:b(R,"location"),html:b(R),text:b(R)})),CI),lL=V.extend({name:CI,functional:!0,props:Uw,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=s?"span":gn,u={attrs:{"aria-current":s?n.ariaCurrent:null},props:ht(Uw,n)};return a||(u.domProps=St(n.html,n.text)),e(o,me(i,u),a)}}),t9=Q(Uw,PI),cL=V.extend({name:PI,functional:!0,props:t9,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("li",me(i,{staticClass:"breadcrumb-item",class:{active:n.active}}),[e(lL,{props:n},a)])}});function qP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function XP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qP(Object(r),!0).forEach(function(n){r9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function r9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var n9=Q({items:b(qr)},EI),i9=V.extend({name:EI,functional:!0,props:n9,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.items,o=a;if(Ge(s)){var u=!1;o=s.map(function(l,c){Nt(l)||(l={text:ye(l)});var d=l,h=d.active;return h&&(u=!0),!h&&!u&&(h=c+1===s.length),e(cL,{props:XP(XP({},l),{},{active:h})})})}return e("ol",me(i,{staticClass:"breadcrumb"}),o)}}),a9=he({components:{BBreadcrumb:i9,BBreadcrumbItem:cL,BBreadcrumbLink:lL}}),s9=he({components:{BButton:pn,BBtn:pn,BButtonClose:hu,BBtnClose:hu}});function ZP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function JP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZP(Object(r),!0).forEach(function(n){dL(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o9=Q(de(JP(JP({},Ei(tL,["size"])),{},{ariaRole:b(R,"group"),size:b(R),tag:b(R,"div"),vertical:b(L,!1)})),MI),QP=V.extend({name:MI,functional:!0,props:o9,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,me(i,{class:dL({"btn-group":!n.vertical,"btn-group-vertical":n.vertical},"btn-group-".concat(n.size),n.size),attrs:{role:n.ariaRole}}),a)}}),u9=he({components:{BButtonGroup:QP,BBtnGroup:QP}}),l9=[".btn:not(.disabled):not([disabled]):not(.dropdown-item)",".form-control:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])",'input[type="checkbox"]:not(.disabled)','input[type="radio"]:not(.disabled)'].join(","),c9=Q({justify:b(L,!1),keyNav:b(L,!1)},kI),eC=V.extend({name:kI,mixins:[Ce],props:c9,mounted:function(){this.keyNav&&this.getItems()},methods:{getItems:function(){var e=Fn(l9,this.$el);return e.forEach(function(r){r.tabIndex=-1}),e.filter(function(r){return yi(r)})},focusFirst:function(){var e=this.getItems();De(e[0])},focusPrev:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(0,n).reverse(),De(r[0]))},focusNext:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(n+1),De(r[0]))},focusLast:function(){var e=this.getItems().reverse();De(e[0])},onFocusin:function(e){var r=this.$el;e.target===r&&!Xt(r,e.relatedTarget)&&(ke(e),this.focusFirst(e))},onKeydown:function(e){var r=e.keyCode,n=e.shiftKey;r===hn||r===Oi?(ke(e),n?this.focusFirst(e):this.focusPrev(e)):(r===Xr||r===Wa)&&(ke(e),n?this.focusLast(e):this.focusNext(e))}},render:function(e){var r=this.keyNav;return e("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:r?"0":null},on:r?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),d9=he({components:{BButtonToolbar:eC,BBtnToolbar:eC}}),hs="gregory",cf="long",f9="narrow",Gw="short",tC="2-digit",Pv="numeric";function h9(t,e){return g9(t)||v9(t,e)||m9(t,e)||p9()}function p9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m9(t,e){if(t){if(typeof t=="string")return rC(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rC(t,e)}}function rC(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function v9(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,o;try{for(r=r.call(t);!(i=(s=r.next()).done)&&(n.push(s.value),!(e&&n.length===e));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw o}}return n}}function g9(t){if(Array.isArray(t))return t}function bm(t,e,r){return b9()?bm=Reflect.construct:bm=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),l=new u;return s&&Ww(l,s.prototype),l},bm.apply(null,arguments)}function b9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ww(t,e){return Ww=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ww(t,e)}var mr=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return bm(Date,r)},qt=function(e){if(Fe(e)&&gG.test(e.trim())){var r=e.split(bG).map(function(o){return ae(o,1)}),n=h9(r,3),i=n[0],a=n[1],s=n[2];return mr(i,a-1,s)}else if(Jl(e))return mr(e.getFullYear(),e.getMonth(),e.getDate());return null},ct=function(e){if(e=qt(e),!e)return null;var r=e.getFullYear(),n="0".concat(e.getMonth()+1).slice(-2),i="0".concat(e.getDate()).slice(-2);return"".concat(r,"-").concat(n,"-").concat(i)},_9=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hs;e=ze(e).filter(Se);var n=new Intl.DateTimeFormat(e,{calendar:r});return n.resolvedOptions().locale},Fd=function(e,r){var n=new Intl.DateTimeFormat(e,r);return n.format},up=function(e,r){return ct(e)===ct(r)},O_=function(e){return e=mr(e),e.setDate(1),e},S_=function(e){return e=mr(e),e.setMonth(e.getMonth()+1),e.setDate(0),e},Zg=function(e,r){e=mr(e);var n=e.getMonth();return e.setFullYear(e.getFullYear()+r),e.getMonth()!==n&&e.setDate(0),e},x_=function(e){e=mr(e);var r=e.getMonth();return e.setMonth(r-1),e.getMonth()===r&&e.setDate(0),e},T_=function(e){e=mr(e);var r=e.getMonth();return e.setMonth(r+1),e.getMonth()===(r+2)%12&&e.setDate(0),e},E_=function(e){return Zg(e,-1)},P_=function(e){return Zg(e,1)},C_=function(e){return Zg(e,-10)},A_=function(e){return Zg(e,10)},Cv=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return e=qt(e),r=qt(r)||e,n=qt(n)||e,e?e<r?r:e>n?n:e:null},nC=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map(function(t){return t.toLowerCase()}),Jg=function(e){var r=ye(e).toLowerCase().replace(PG,"").split("-"),n=r.slice(0,2).join("-"),i=r[0];return Te(nC,n)||Te(nC,i)},et={id:b(R)},it=V.extend({props:et,data:function(){return{localId_:null}},computed:{safeId:function(){var e=this.id||this.localId_,r=function(i){return e?(i=String(i||"").replace(/\s+/g,"_"),i?e+"_"+i:e):null};return r}},mounted:function(){var e=this;this.$nextTick(function(){e.localId_="__BVID__".concat(e[ja])})}}),Ju;function iC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ki(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iC(Object(r),!0).forEach(function(n){Xn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Xn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qg=tr("value",{type:Wo}),y9=Qg.mixin,w9=Qg.props,$_=Qg.prop,O9=Qg.event,fL=Q(de(Ki(Ki(Ki({},et),w9),{},{ariaControls:b(R),block:b(L,!1),dateDisabledFn:b(Zr),dateFormatOptions:b(er,{year:Pv,month:cf,day:Pv,weekday:cf}),dateInfoFn:b(Zr),direction:b(R),disabled:b(L,!1),headerTag:b(R,"header"),hidden:b(L,!1),hideHeader:b(L,!1),initialDate:b(Wo),labelCalendar:b(R,"Calendar"),labelCurrentMonth:b(R,"Current month"),labelHelp:b(R,"Use cursor keys to navigate calendar dates"),labelNav:b(R,"Calendar navigation"),labelNextDecade:b(R,"Next decade"),labelNextMonth:b(R,"Next month"),labelNextYear:b(R,"Next year"),labelNoDateSelected:b(R,"No date selected"),labelPrevDecade:b(R,"Previous decade"),labelPrevMonth:b(R,"Previous month"),labelPrevYear:b(R,"Previous year"),labelSelected:b(R,"Selected date"),labelToday:b(R,"Today"),locale:b(Lr),max:b(Wo),min:b(Wo),navButtonVariant:b(R,"secondary"),noHighlightToday:b(L,!1),noKeyNav:b(L,!1),readonly:b(L,!1),roleDescription:b(R),selectedVariant:b(R,"primary"),showDecadeNav:b(L,!1),startWeekday:b(le,0),todayVariant:b(R),valueAsDate:b(L,!1),weekdayHeaderFormat:b(R,Gw,function(t){return Te([cf,Gw,f9],t)}),width:b(R,"270px")})),DI),hL=V.extend({name:DI,mixins:[lr,it,y9,Ce],props:fL,data:function(){var e=ct(this[$_])||"";return{selectedYMD:e,activeYMD:e||ct(Cv(this.initialDate||this.getToday()),this.min,this.max),gridHasFocus:!1,isLive:!1}},computed:{valueId:function(){return this.safeId()},widgetId:function(){return this.safeId("_calendar-wrapper_")},navId:function(){return this.safeId("_calendar-nav_")},gridId:function(){return this.safeId("_calendar-grid_")},gridCaptionId:function(){return this.safeId("_calendar-grid-caption_")},gridHelpId:function(){return this.safeId("_calendar-grid-help_")},activeId:function(){return this.activeYMD?this.safeId("_cell-".concat(this.activeYMD,"_")):null},selectedDate:function(){return qt(this.selectedYMD)},activeDate:function(){return qt(this.activeYMD)},computedMin:function(){return qt(this.min)},computedMax:function(){return qt(this.max)},computedWeekStarts:function(){return Ue(ae(this.startWeekday,0),0)%7},computedLocale:function(){return _9(ze(this.locale).filter(Se),hs)},computedDateDisabledFn:function(){var e=this.dateDisabledFn;return oa(e)?e:function(){return!1}},computedDateInfoFn:function(){var e=this.dateInfoFn;return oa(e)?e:function(){return{}}},calendarLocale:function(){var e=new Intl.DateTimeFormat(this.computedLocale,{calendar:hs}),r=e.resolvedOptions().calendar,n=e.resolvedOptions().locale;return r!==hs&&(n=n.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),n},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return mr(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var e=mr(this.calendarFirstDay);return e.setMonth(e.getMonth()+1,0),e.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},computedNavButtonVariant:function(){return"btn-outline-".concat(this.navButtonVariant||"primary")},isRTL:function(){var e=ye(this.direction).toLowerCase();return e==="rtl"?!0:e==="ltr"?!1:Jg(this.computedLocale)},context:function(){var e=this.selectedYMD,r=this.activeYMD,n=qt(e),i=qt(r);return{selectedYMD:e,selectedDate:n,selectedFormatted:n?this.formatDateString(n):this.labelNoDateSelected,activeYMD:r,activeDate:i,activeFormatted:i?this.formatDateString(i):"",disabled:this.dateDisabled(i),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var e=this.computedMin,r=this.computedMax;return function(n){return n=qt(n),e&&n<e||r&&n>r}},dateDisabled:function(){var e=this,r=this.dateOutOfRange;return function(n){n=qt(n);var i=ct(n);return!!(r(n)||e.computedDateDisabledFn(i,n))}},formatDateString:function(){return Fd(this.calendarLocale,Ki(Ki({year:Pv,month:tC,day:tC},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:hs}))},formatYearMonth:function(){return Fd(this.calendarLocale,{year:Pv,month:cf,calendar:hs})},formatWeekdayName:function(){return Fd(this.calendarLocale,{weekday:cf,calendar:hs})},formatWeekdayNameShort:function(){return Fd(this.calendarLocale,{weekday:this.weekdayHeaderFormat||Gw,calendar:hs})},formatDay:function(){var e=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(r){return e.format(r.getDate())}},prevDecadeDisabled:function(){var e=this.computedMin;return this.disabled||e&&S_(C_(this.activeDate))<e},prevYearDisabled:function(){var e=this.computedMin;return this.disabled||e&&S_(E_(this.activeDate))<e},prevMonthDisabled:function(){var e=this.computedMin;return this.disabled||e&&S_(x_(this.activeDate))<e},thisMonthDisabled:function(){return this.disabled},nextMonthDisabled:function(){var e=this.computedMax;return this.disabled||e&&O_(T_(this.activeDate))>e},nextYearDisabled:function(){var e=this.computedMax;return this.disabled||e&&O_(P_(this.activeDate))>e},nextDecadeDisabled:function(){var e=this.computedMax;return this.disabled||e&&O_(A_(this.activeDate))>e},calendar:function(){for(var e=[],r=this.calendarFirstDay,n=r.getFullYear(),i=r.getMonth(),a=this.calendarDaysInMonth,s=r.getDay(),o=(this.computedWeekStarts>s?7:0)-this.computedWeekStarts,u=0-o-s,l=0;l<6&&u<a;l++){e[l]=[];for(var c=0;c<7;c++){u++;var d=mr(n,i,u),h=d.getMonth(),p=ct(d),g=this.dateDisabled(d),_=this.computedDateInfoFn(p,qt(p));_=Fe(_)||Ge(_)?{class:_}:Nr(_)?Ki({class:""},_):{class:""},e[l].push({ymd:p,day:this.formatDay(d),label:this.formatDateString(d),isThisMonth:h===i,isDisabled:g,info:_})}}return e},calendarHeadings:function(){var e=this;return this.calendar[0].map(function(r){return{text:e.formatWeekdayNameShort(qt(r.ymd)),label:e.formatWeekdayName(qt(r.ymd))}})}},watch:(Ju={},Xn(Ju,$_,function(t,e){var r=ct(t)||"",n=ct(e)||"";up(r,n)||(this.activeYMD=r||this.activeYMD,this.selectedYMD=r)}),Xn(Ju,"selectedYMD",function(e,r){e!==r&&this.$emit(O9,this.valueAsDate?qt(e)||null:e||"")}),Xn(Ju,"context",function(e,r){Ve(e,r)||this.$emit(Ql,e)}),Xn(Ju,"hidden",function(e){this.activeYMD=this.selectedYMD||ct(this[$_]||this.constrainDate(this.initialDate||this.getToday())),this.setLive(!e)}),Ju),created:function(){var e=this;this.$nextTick(function(){e.$emit(Ql,e.context)})},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||De(this.$refs.grid)},blur:function(){this.disabled||_n(this.$refs.grid)},setLive:function(e){var r=this;e?this.$nextTick(function(){Xe(function(){r.isLive=!0})}):this.isLive=!1},getToday:function(){return qt(mr())},constrainDate:function(e){return Cv(e,this.computedMin,this.computedMax)},emitSelected:function(e){var r=this;this.$nextTick(function(){r.$emit(SN,ct(e)||"",qt(e)||null)})},setGridFocusFlag:function(e){this.gridHasFocus=!this.disabled&&e.type==="focus"},onKeydownWrapper:function(e){if(!this.noKeyNav){var r=e.altKey,n=e.ctrlKey,i=e.keyCode;if(Te([Tv,xv,Ws,Ys,Oi,hn,Wa,Xr],i)){ke(e);var a=mr(this.activeDate),s=mr(this.activeDate),o=a.getDate(),u=this.constrainDate(this.getToday()),l=this.isRTL;i===Tv?(a=(r?n?C_:E_:x_)(a),s=mr(a),s.setDate(1)):i===xv?(a=(r?n?A_:P_:T_)(a),s=mr(a),s.setMonth(s.getMonth()+1),s.setDate(0)):i===Oi?(a.setDate(o+(l?1:-1)),a=this.constrainDate(a),s=a):i===Wa?(a.setDate(o+(l?-1:1)),a=this.constrainDate(a),s=a):i===hn?(a.setDate(o-7),a=this.constrainDate(a),s=a):i===Xr?(a.setDate(o+7),a=this.constrainDate(a),s=a):i===Ys?(a=u,s=a):i===Ws&&(a=qt(this.selectedDate)||u,s=a),!this.dateOutOfRange(s)&&!up(a,this.activeDate)&&(this.activeYMD=ct(a)),this.focus()}}},onKeydownGrid:function(e){var r=e.keyCode,n=this.activeDate;(r===Ka||r===ca)&&(ke(e),!this.disabled&&!this.readonly&&!this.dateDisabled(n)&&(this.selectedYMD=ct(n),this.emitSelected(n)),this.focus())},onClickDay:function(e){var r=this.selectedDate,n=this.activeDate,i=qt(e.ymd);!this.disabled&&!e.isDisabled&&!this.dateDisabled(i)&&(this.readonly||(this.selectedYMD=ct(up(i,r)?r:i),this.emitSelected(i)),this.activeYMD=ct(up(i,n)?n:mr(i)),this.focus())},gotoPrevDecade:function(){this.activeYMD=ct(this.constrainDate(C_(this.activeDate)))},gotoPrevYear:function(){this.activeYMD=ct(this.constrainDate(E_(this.activeDate)))},gotoPrevMonth:function(){this.activeYMD=ct(this.constrainDate(x_(this.activeDate)))},gotoCurrentMonth:function(){this.activeYMD=ct(this.constrainDate(this.getToday()))},gotoNextMonth:function(){this.activeYMD=ct(this.constrainDate(T_(this.activeDate)))},gotoNextYear:function(){this.activeYMD=ct(this.constrainDate(P_(this.activeDate)))},gotoNextDecade:function(){this.activeYMD=ct(this.constrainDate(A_(this.activeDate)))},onHeaderClick:function(){this.disabled||(this.activeYMD=this.selectedYMD||ct(this.getToday()),this.focus())}},render:function(e){var r=this;if(this.hidden)return e();var n=this.valueId,i=this.widgetId,a=this.navId,s=this.gridId,o=this.gridCaptionId,u=this.gridHelpId,l=this.activeId,c=this.disabled,d=this.noKeyNav,h=this.isLive,p=this.isRTL,g=this.activeYMD,_=this.selectedYMD,w=this.safeId,S=!this.showDecadeNav,E=ct(this.getToday()),x=!this.noHighlightToday,f=e("output",{staticClass:"form-control form-control-sm text-center",class:{"text-muted":c,readonly:this.readonly||c},attrs:{id:n,for:s,role:"status",tabindex:c?null:"-1","data-selected":ye(_),"aria-live":h?"polite":"off","aria-atomic":h?"true":null},on:{click:this.onHeaderClick,focus:this.onHeaderClick}},this.selectedDate?[e("bdi",{staticClass:"sr-only"}," (".concat(ye(this.labelSelected),") ")),e("bdi",this.formatDateString(this.selectedDate))]:this.labelNoDateSelected||" ");f=e(this.headerTag,{staticClass:"b-calendar-header",class:{"sr-only":this.hideHeader},attrs:{title:this.selectedDate&&this.labelSelectedDate||null}},[f]);var m={isRTL:p},v={shiftV:.5},T=Ki(Ki({},v),{},{flipH:p}),P=Ki(Ki({},v),{},{flipH:!p}),k=this.normalizeSlot(g7,m)||e($P,{props:T}),y=this.normalizeSlot(_7,m)||e(MP,{props:T}),$=this.normalizeSlot(b7,m)||e(kP,{props:T}),C=this.normalizeSlot(y7,m)||e(Hw,{props:v}),O=this.normalizeSlot(m7,m)||e(kP,{props:P}),A=this.normalizeSlot(v7,m)||e(MP,{props:P}),D=this.normalizeSlot(p7,m)||e($P,{props:P}),M=function(U,K,ue,_e,$e){return e("button",{staticClass:"btn btn-sm border-0 flex-fill",class:[r.computedNavButtonVariant,{disabled:_e}],attrs:{title:K||null,type:"button",tabindex:d?"-1":null,"aria-label":K||null,"aria-disabled":_e?"true":null,"aria-keyshortcuts":$e||null},on:_e?{}:{click:ue}},[e("div",{attrs:{"aria-hidden":"true"}},[U])])},N=e("div",{staticClass:"b-calendar-nav d-flex",attrs:{id:a,role:"group",tabindex:d?"-1":null,"aria-hidden":c?"true":null,"aria-label":this.labelNav||null,"aria-controls":s}},[S?e():M(k,this.labelPrevDecade,this.gotoPrevDecade,this.prevDecadeDisabled,"Ctrl+Alt+PageDown"),M(y,this.labelPrevYear,this.gotoPrevYear,this.prevYearDisabled,"Alt+PageDown"),M($,this.labelPrevMonth,this.gotoPrevMonth,this.prevMonthDisabled,"PageDown"),M(C,this.labelCurrentMonth,this.gotoCurrentMonth,this.thisMonthDisabled,"Home"),M(O,this.labelNextMonth,this.gotoNextMonth,this.nextMonthDisabled,"PageUp"),M(A,this.labelNextYear,this.gotoNextYear,this.nextYearDisabled,"Alt+PageUp"),S?e():M(D,this.labelNextDecade,this.gotoNextDecade,this.nextDecadeDisabled,"Ctrl+Alt+PageUp")]),F=e("div",{staticClass:"b-calendar-grid-caption text-center font-weight-bold",class:{"text-muted":c},attrs:{id:o,"aria-live":h?"polite":null,"aria-atomic":h?"true":null},key:"grid-caption"},this.formatYearMonth(this.calendarFirstDay)),j=e("div",{staticClass:"b-calendar-grid-weekdays row no-gutters border-bottom",attrs:{"aria-hidden":"true"}},this.calendarHeadings.map(function(G,U){return e("small",{staticClass:"col text-truncate",class:{"text-muted":c},attrs:{title:G.label===G.text?null:G.label,"aria-label":G.label},key:U},G.text)})),H=this.calendar.map(function(G){var U=G.map(function(K,ue){var _e,$e=K.ymd===_,xe=K.ymd===g,_t=K.ymd===E,Gt=w("_cell-".concat(K.ymd,"_")),Qa=e("span",{staticClass:"btn border-0 rounded-circle text-nowrap",class:(_e={focus:xe&&r.gridHasFocus,disabled:K.isDisabled||c,active:$e},Xn(_e,r.computedVariant,$e),Xn(_e,r.computedTodayVariant,_t&&x&&!$e&&K.isThisMonth),Xn(_e,"btn-outline-light",!(_t&&x)&&!$e&&!xe),Xn(_e,"btn-light",!(_t&&x)&&!$e&&xe),Xn(_e,"text-muted",!K.isThisMonth&&!$e),Xn(_e,"text-dark",!(_t&&x)&&!$e&&!xe&&K.isThisMonth),Xn(_e,"font-weight-bold",($e||K.isThisMonth)&&!K.isDisabled),_e),on:{click:function(){return r.onClickDay(K)}}},K.day);return e("div",{staticClass:"col p-0",class:K.isDisabled?"bg-light":K.info.class||"",attrs:{id:Gt,role:"button","data-date":K.ymd,"aria-hidden":K.isThisMonth?null:"true","aria-disabled":K.isDisabled||c?"true":null,"aria-label":[K.label,$e?"(".concat(r.labelSelected,")"):null,_t?"(".concat(r.labelToday,")"):null].filter(Se).join(" "),"aria-selected":$e?"true":null,"aria-current":$e?"date":null},key:ue},[Qa])});return e("div",{staticClass:"row no-gutters",key:G[0].ymd},U)});H=e("div",{staticClass:"b-calendar-grid-body",style:c?{pointerEvents:"none"}:{}},H);var W=e("div",{staticClass:"b-calendar-grid-help border-top small text-muted text-center bg-light",attrs:{id:u}},[e("div",{staticClass:"small"},this.labelHelp)]),Z=e("div",{staticClass:"b-calendar-grid form-control h-auto text-center",attrs:{id:s,role:"application",tabindex:d?"-1":c?null:"0","data-month":g.slice(0,-3),"aria-roledescription":this.labelCalendar||null,"aria-labelledby":o,"aria-describedby":u,"aria-disabled":c?"true":null,"aria-activedescendant":l},on:{keydown:this.onKeydownGrid,focus:this.setGridFocusFlag,blur:this.setGridFocusFlag},ref:"grid"},[F,j,H,W]),te=this.normalizeSlot();te=te?e("footer",{staticClass:"b-calendar-footer"},te):e();var Y=e("div",{staticClass:"b-calendar-inner",style:this.block?{}:{width:this.width},attrs:{id:i,dir:p?"rtl":"ltr",lang:this.computedLocale||null,role:"group","aria-disabled":c?"true":null,"aria-controls":this.ariaControls||null,"aria-roledescription":this.roleDescription||null,"aria-describedby":[this.bvAttrs["aria-describedby"],n,u].filter(Se).join(" ")},on:{keydown:this.onKeydownWrapper}},[f,N,Z,te]);return e("div",{staticClass:"b-calendar",class:{"d-block":this.block}},[Y])}}),S9=he({components:{BCalendar:hL}}),gh=Q({bgVariant:b(R),borderVariant:b(R),tag:b(R,"div"),textVariant:b(R)},dS);V.extend({props:gh});var OS=Q({title:b(R),titleTag:b(R,"h4")},HI),pL=V.extend({name:HI,functional:!0,props:OS,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.titleTag,me(i,{staticClass:"card-title"}),a||ye(n.title))}}),SS=Q({subTitle:b(R),subTitleTag:b(R,"h6"),subTitleTextVariant:b(R,"muted")},jI),mL=V.extend({name:jI,functional:!0,props:SS,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.subTitleTag,me(i,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),a||ye(n.subTitle))}});function aC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function lp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?aC(Object(r),!0).forEach(function(n){_m(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _m(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xS=Q(de(lp(lp(lp(lp({},OS),SS),Yg(gh,Wg.bind(null,"body"))),{},{bodyClass:b(we),overlay:b(L,!1)})),RI),vL=V.extend({name:RI,functional:!0,props:xS,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.bodyBgVariant,u=i.bodyBorderVariant,l=i.bodyTextVariant,c=e();i.title&&(c=e(pL,{props:ht(OS,i)}));var d=e();return i.subTitle&&(d=e(mL,{props:ht(SS,i),class:["mb-2"]})),e(i.bodyTag,me(a,{staticClass:"card-body",class:[(n={"card-img-overlay":i.overlay},_m(n,"bg-".concat(o),o),_m(n,"border-".concat(u),u),_m(n,"text-".concat(l),l),n),i.bodyClass]}),[c,d,s])}});function sC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function oC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sC(Object(r),!0).forEach(function(n){ym(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ym(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var TS=Q(de(oC(oC({},Yg(gh,Wg.bind(null,"header"))),{},{header:b(R),headerClass:b(we),headerHtml:b(R)})),LI),gL=V.extend({name:LI,functional:!0,props:TS,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.headerBgVariant,u=i.headerBorderVariant,l=i.headerTextVariant;return e(i.headerTag,me(a,{staticClass:"card-header",class:[i.headerClass,(n={},ym(n,"bg-".concat(o),o),ym(n,"border-".concat(u),u),ym(n,"text-".concat(l),l),n)],domProps:s?{}:St(i.headerHtml,i.header)}),s)}});function uC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function lC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?uC(Object(r),!0).forEach(function(n){wm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ES=Q(de(lC(lC({},Yg(gh,Wg.bind(null,"footer"))),{},{footer:b(R),footerClass:b(we),footerHtml:b(R)})),II),bL=V.extend({name:II,functional:!0,props:ES,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.footerBgVariant,u=i.footerBorderVariant,l=i.footerTextVariant;return e(i.footerTag,me(a,{staticClass:"card-footer",class:[i.footerClass,(n={},wm(n,"bg-".concat(o),o),wm(n,"border-".concat(u),u),wm(n,"text-".concat(l),l),n)],domProps:s?{}:St(i.footerHtml,i.footer)}),s)}});function M_(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var x9='<svg width="%{w}" height="%{h}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 %{w} %{h}" preserveAspectRatio="none"><rect width="100%" height="100%" style="fill:%{f};"></rect></svg>',T9=function(e,r,n){var i=encodeURIComponent(x9.replace("%{w}",ye(e)).replace("%{h}",ye(r)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(i)},e0=Q({alt:b(R),blank:b(L,!1),blankColor:b(R,"transparent"),block:b(L,!1),center:b(L,!1),fluid:b(L,!1),fluidGrow:b(L,!1),height:b(le),left:b(L,!1),right:b(L,!1),rounded:b(Br,!1),sizes:b(Lr),src:b(R),srcset:b(Lr),thumbnail:b(L,!1),width:b(le)},x3),PS=V.extend({name:x3,functional:!0,props:e0,render:function(e,r){var n,i=r.props,a=r.data,s=i.alt,o=i.src,u=i.block,l=i.fluidGrow,c=i.rounded,d=ae(i.width)||null,h=ae(i.height)||null,p=null,g=ze(i.srcset).filter(Se).join(","),_=ze(i.sizes).filter(Se).join(",");return i.blank&&(!h&&d?h=d:!d&&h&&(d=h),!d&&!h&&(d=1,h=1),o=T9(d,h,i.blankColor||"transparent"),g=null,_=null),i.left?p="float-left":i.right?p="float-right":i.center&&(p="mx-auto",u=!0),e("img",me(a,{attrs:{src:o,alt:s,width:d?ye(d):null,height:h?ye(h):null,srcset:g||null,sizes:_||null},class:(n={"img-thumbnail":i.thumbnail,"img-fluid":i.fluid||l,"w-100":l,rounded:c===""||c===!0},M_(n,"rounded-".concat(c),Fe(c)&&c!==""),M_(n,p,p),M_(n,"d-block",u),n)}))}});function cC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function dC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cC(Object(r),!0).forEach(function(n){E9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function E9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var CS=Q(de(dC(dC({},Ei(e0,["src","alt","width","height","left","right"])),{},{bottom:b(L,!1),end:b(L,!1),start:b(L,!1),top:b(L,!1)})),BI),_L=V.extend({name:BI,functional:!0,props:CS,render:function(e,r){var n=r.props,i=r.data,a=n.src,s=n.alt,o=n.width,u=n.height,l="card-img";return n.top?l+="-top":n.right||n.end?l+="-right":n.bottom?l+="-bottom":(n.left||n.start)&&(l+="-left"),e("img",me(i,{class:l,attrs:{src:a,alt:s,width:o,height:u}}))}});function fC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Qu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fC(Object(r),!0).forEach(function(n){jd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function jd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var AS=Yg(CS,Wg.bind(null,"img"));AS.imgSrc.required=!1;var P9=Q(de(Qu(Qu(Qu(Qu(Qu(Qu({},xS),TS),ES),AS),gh),{},{align:b(R),noBody:b(L,!1)})),dS),C9=V.extend({name:dS,functional:!0,props:P9,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.imgSrc,l=i.imgLeft,c=i.imgRight,d=i.imgStart,h=i.imgEnd,p=i.imgBottom,g=i.header,_=i.headerHtml,w=i.footer,S=i.footerHtml,E=i.align,x=i.textVariant,f=i.bgVariant,m=i.borderVariant,v=o||{},T=s(),P={},k=e(),y=e();if(u){var $=e(_L,{props:ht(AS,i,NN.bind(null,"img"))});p?y=$:k=$}var C=e(),O=Ga(Us,v,T);(O||g||_)&&(C=e(gL,{props:ht(TS,i),domProps:O?{}:St(_,g)},wr(Us,P,v,T)));var A=wr(ir,P,v,T);i.noBody||(A=e(vL,{props:ht(xS,i)},A),i.overlay&&u&&(A=e("div",{staticClass:"position-relative"},[k,A,y]),k=e(),y=e()));var D=e(),M=Ga(Nw,v,T);return(M||w||S)&&(D=e(bL,{props:ht(ES,i),domProps:O?{}:St(S,w)},wr(Nw,P,v,T))),e(i.tag,me(a,{staticClass:"card",class:(n={"flex-row":l||d,"flex-row-reverse":(c||h)&&!(l||d)},jd(n,"text-".concat(E),E),jd(n,"bg-".concat(f),f),jd(n,"border-".concat(m),m),jd(n,"text-".concat(x),x),n)}),[k,C,A,D,y])}});function A9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $9(t,e,r){return e&&hC(t.prototype,e),r&&hC(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var tc="__bv__visibility_observer",M9=function(){function t(e,r,n){A9(this,t),this.el=e,this.callback=r.callback,this.margin=r.margin||0,this.once=r.once||!1,this.observer=null,this.visible=void 0,this.doneOnce=!1,this.createObserver(n)}return $9(t,[{key:"createObserver",value:function(r){var n=this;if(this.observer&&this.stop(),!(this.doneOnce||!ge(this.callback))){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch{this.doneOnce=!0,this.observer=void 0,this.callback(null);return}r.context.$nextTick(function(){Xe(function(){n.observer&&n.observer.observe(n.el)})})}}},{key:"handler",value:function(r){var n=r?r[0]:{},i=!!(n.isIntersecting||n.intersectionRatio>0);i!==this.visible&&(this.visible=i,this.callback(i),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),t}(),yL=function(e){var r=e[tc];r&&r.stop&&r.stop(),delete e[tc]},wL=function(e,r,n){var i=r.value,a=r.modifiers,s={margin:"0px",once:!1,callback:i};Pe(a).forEach(function(o){hI.test(o)?s.margin="".concat(o,"px"):o.toLowerCase()==="once"&&(s.once=!0)}),yL(e),e[tc]=new M9(e,s,n),e[tc]._prevModifiers=to(a)},k9=function(e,r,n){var i=r.value,a=r.oldValue,s=r.modifiers;s=to(s),e&&(i!==a||!e[tc]||!Ve(s,e[tc]._prevModifiers))&&wL(e,{value:i,modifiers:s},n)},D9=function(e){yL(e)},$S={bind:wL,componentUpdated:k9,unbind:D9},cp;function pC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Av(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pC(Object(r),!0).forEach(function(n){Ml(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ml(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var df="show",R9=ro+df,OL=Re(e0,["blank"]),SL=Q(Av(Av({},OL),{},Ml({blankHeight:b(le),blankSrc:b(R,null),blankWidth:b(le),offset:b(le,360)},df,b(L,!1))),T3),xL=V.extend({name:T3,directives:{"b-visible":$S},props:SL,data:function(){return{isShown:this[df]}},computed:{computedSrc:function(){var e=this.blankSrc;return!e||this.isShown?this.src:e},computedBlank:function(){return!(this.isShown||this.blankSrc)},computedWidth:function(){var e=this.width;return this.isShown?e:this.blankWidth||e},computedHeight:function(){var e=this.height;return this.isShown?e:this.blankHeight||e},computedSrcset:function(){var e=ze(this.srcset).filter(Se).join(",");return e&&(!this.blankSrc||this.isShown)?e:null},computedSizes:function(){var e=ze(this.sizes).filter(Se).join(",");return e&&(!this.blankSrc||this.isShown)?e:null}},watch:(cp={},Ml(cp,df,function(t,e){if(t!==e){var r=WE?t:!0;this.isShown=r,t!==r&&this.$nextTick(this.updateShowProp)}}),Ml(cp,"isShown",function(e,r){e!==r&&this.updateShowProp()}),cp),mounted:function(){this.isShown=WE?this[df]:!0},methods:{updateShowProp:function(){this.$emit(R9,this.isShown)},doShow:function(e){var r=this;(e||e===null)&&!this.isShown&&Xe(function(){r.isShown=!0})}},render:function(e){var r=[];if(!this.isShown){var n;r.push({name:"b-visible",value:this.doShow,modifiers:(n={},Ml(n,"".concat(ae(this.offset,0)),!0),Ml(n,"once",!0),n)})}return e(PS,{directives:r,props:Av(Av({},ht(OL,this.$props)),{},{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset,sizes:this.computedSizes})})}});function mC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mC(Object(r),!0).forEach(function(n){I9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function I9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var N9=Q(de(vC(vC({},Re(SL,Pe(e0))),Re(CS,["src","alt","width","height"]))),FI),L9=V.extend({name:FI,functional:!0,props:N9,render:function(e,r){var n=r.props,i=r.data,a="card-img";return n.top?a+="-top":n.right||n.end?a+="-right":n.bottom?a+="-bottom":(n.left||n.start)&&(a+="-left"),e(xL,me(i,{class:[a],props:Re(n,["left","right"])}))}}),B9=Q({textTag:b(R,"p")},zI),F9=V.extend({name:zI,functional:!0,props:B9,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.textTag,me(i,{staticClass:"card-text"}),a)}}),j9=Q({columns:b(L,!1),deck:b(L,!1),tag:b(R,"div")},NI),z9=V.extend({name:NI,functional:!0,props:j9,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,me(i,{class:n.deck?"card-deck":n.columns?"card-columns":"card-group"}),a)}}),H9=he({components:{BCard:C9,BCardHeader:gL,BCardBody:vL,BCardTitle:pL,BCardSubTitle:mL,BCardFooter:bL,BCardImg:_L,BCardImgLazy:L9,BCardText:F9,BCardGroup:z9}}),Hf=function(){};function gC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function V9(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gC(Object(r),!0).forEach(function(n){U9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function U9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vf=function(e,r,n){if(e=e?e.$el||e:null,!ut(e)||HG("observeDom"))return null;var i=new B7(function(a){for(var s=!1,o=0;o<a.length&&!s;o++){var u=a[o],l=u.type,c=u.target;(l==="characterData"&&c.nodeType===Node.TEXT_NODE||l==="attributes"||l==="childList"&&(u.addedNodes.length>0||u.removedNodes.length>0))&&(s=!0)}s&&r()});return i.observe(e,V9({childList:!0,subtree:!0},n)),i},el;function bC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function k_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bC(Object(r),!0).forEach(function(n){zd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var t0=tr("value",{type:Rr,defaultValue:0}),G9=t0.mixin,W9=t0.props,D_=t0.prop,_C=t0.event,R_={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},Y9=600+50,K9=500,q9=40,yC={TOUCH:"touch",PEN:"pen"},wC={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},X9=function(e){for(var r in wC)if(!Bt(e.style[r]))return wC[r];return null},Z9=Q(de(k_(k_(k_({},et),W9),{},{background:b(R),controls:b(L,!1),fade:b(L,!1),imgHeight:b(le),imgWidth:b(le),indicators:b(L,!1),interval:b(Rr,5e3),labelGotoSlide:b(R,"Goto slide"),labelIndicators:b(R,"Select a slide to display"),labelNext:b(R,"Next slide"),labelPrev:b(R,"Previous slide"),noAnimation:b(L,!1),noHoverPause:b(L,!1),noTouch:b(L,!1),noWrap:b(L,!1)})),VI),J9=V.extend({name:VI,mixins:[it,G9,Ce],provide:function(){return{bvCarousel:this}},props:Z9,data:function(){return{index:this[D_]||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(ae(this.interval,0)>0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(el={},zd(el,D_,function(t,e){t!==e&&this.setSlide(ae(t,0))}),zd(el,"interval",function(e,r){e!==r&&(e?(this.pause(!0),this.start(!1)):this.pause(!1))}),zd(el,"isPaused",function(e,r){e!==r&&this.$emit(e?xW:NW)}),zd(el,"index",function(e,r){e===r||this.isSliding||this.doSlide(e,r)}),el),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(ae(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=X9(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){clearInterval(this.$_interval),this.$_interval=null}),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=Vf(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!(nt&&document.visibilityState&&document.hidden)){var i=this.noWrap,a=this.numSlides;if(e=zf(e),a!==0){if(this.isSliding){this.$once(v_,function(){Xe(function(){return r.setSlide(e,n)})});return}this.direction=n,this.index=e>=a?i?a-1:0:e<0?i?0:a-1:e,i&&this.index!==e&&this.index!==this[D_]&&this.$emit(_C,this.index)}}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(e){e||(this.isPaused=!0),this.clearInterval()},start:function(e){e||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,Ue(1e3,this.interval)))},restart:function(){this.$el.contains(Gs())||this.start()},doSlide:function(e,r){var n=this,i=!!this.interval,a=this.calcDirection(this.direction,r,e),s=a.overlayClass,o=a.dirClass,u=this.slides[r],l=this.slides[e];if(!(!u||!l)){if(this.isSliding=!0,i&&this.pause(!1),this.$emit(DW,e),this.$emit(_C,this.index),this.noAnimation)Gr(l,"active"),$r(u,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit(v_,e)});else{Gr(l,s),_S(l),Gr(u,o),Gr(l,o);var c=!1,d=function p(){if(!c){if(c=!0,n.transitionEndEvent){var g=n.transitionEndEvent.split(/\s+/);g.forEach(function(_){return yt(l,_,p,Be)})}n.clearAnimationTimeout(),$r(l,o),$r(l,s),Gr(l,"active"),$r(u,"active"),$r(u,o),$r(u,s),gt(u,"aria-current","false"),gt(l,"aria-current","true"),gt(u,"aria-hidden","true"),gt(l,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit(v_,e)})}};if(this.transitionEndEvent){var h=this.transitionEndEvent.split(/\s+/);h.forEach(function(p){return ft(l,p,d,Be)})}this.$_animationTimeout=setTimeout(d,Y9)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=Fn(".carousel-item",this.$refs.inner);var e=this.slides.length,r=Ue(0,Na(zf(this.index),e-1));this.slides.forEach(function(n,i){var a=i+1;i===r?(Gr(n,"active"),gt(n,"aria-current","true")):($r(n,"active"),gt(n,"aria-current","false")),gt(n,"aria-posinset",String(a)),gt(n,"aria-setsize",String(e))}),this.setSlide(r),this.start(this.isPaused)},calcDirection:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return e?R_[e]:n>r?R_.next:R_.prev},handleClick:function(e,r){var n=e.keyCode;(e.type==="click"||n===ca||n===Ka)&&(ke(e),r())},handleSwipe:function(){var e=zN(this.touchDeltaX);if(!(e<=q9)){var r=e/this.touchDeltaX;this.touchDeltaX=0,r>0?this.prev():r<0&&this.next()}},touchStart:function(e){nd&&yC[e.pointerType.toUpperCase()]?this.touchStartX=e.clientX:nd||(this.touchStartX=e.touches[0].clientX)},touchMove:function(e){e.touches&&e.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=e.touches[0].clientX-this.touchStartX},touchEnd:function(e){nd&&yC[e.pointerType.toUpperCase()]&&(this.touchDeltaX=e.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,K9+Ue(1e3,this.interval))}},render:function(e){var r=this,n=this.indicators,i=this.background,a=this.noAnimation,s=this.noHoverPause,o=this.noTouch,u=this.index,l=this.isSliding,c=this.pause,d=this.restart,h=this.touchStart,p=this.touchEnd,g=this.safeId("__BV_inner_"),_=e("div",{staticClass:"carousel-inner",attrs:{id:g,role:"list"},ref:"inner"},[this.normalizeSlot()]),w=e();if(this.controls){var S=function(m,v,T){var P=function(y){l?ke(y,{propagation:!1}):r.handleClick(y,T)};return e("a",{staticClass:"carousel-control-".concat(m),attrs:{href:"#",role:"button","aria-controls":g,"aria-disabled":l?"true":null},on:{click:P,keydown:P}},[e("span",{staticClass:"carousel-control-".concat(m,"-icon"),attrs:{"aria-hidden":"true"}}),e("span",{class:"sr-only"},[v])])};w=[S("prev",this.labelPrev,this.prev),S("next",this.labelNext,this.next)]}var E=e("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":g}},this.slides.map(function(f,m){var v=function(P){r.handleClick(P,function(){r.setSlide(m)})};return e("li",{class:{active:m===u},attrs:{role:"button",id:r.safeId("__BV_indicator_".concat(m+1,"_")),tabindex:n?"0":"-1","aria-current":m===u?"true":"false","aria-label":"".concat(r.labelGotoSlide," ").concat(m+1),"aria-describedby":f.id||null,"aria-controls":g},on:{click:v,keydown:v},key:"slide_".concat(m)})})),x={mouseenter:s?Hf:c,mouseleave:s?Hf:d,focusin:c,focusout:d,keydown:function(m){if(!/input|textarea/i.test(m.target.tagName)){var v=m.keyCode;(v===Oi||v===Wa)&&(ke(m),r[v===Oi?"prev":"next"]())}}};return mv&&!o&&(nd?(x["&pointerdown"]=h,x["&pointerup"]=p):(x["&touchstart"]=h,x["&touchmove"]=this.touchMove,x["&touchend"]=p)),e("div",{staticClass:"carousel",class:{slide:!a,"carousel-fade":!a&&this.fade,"pointer-event":mv&&nd&&!o},style:{background:i},attrs:{role:"region",id:this.safeId(),"aria-busy":l?"true":"false"},on:x},[_,w,E])}});function OC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ff(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?OC(Object(r),!0).forEach(function(n){Q9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):OC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Q9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var TL={imgAlt:b(R),imgBlank:b(L,!1),imgBlankColor:b(R,"transparent"),imgHeight:b(le),imgSrc:b(R),imgWidth:b(le)},eK=Q(de(ff(ff(ff({},et),TL),{},{background:b(R),caption:b(R),captionHtml:b(R),captionTag:b(R,"h3"),contentTag:b(R,"div"),contentVisibleUp:b(R),text:b(R),textHtml:b(R),textTag:b(R,"p")})),UI),tK=V.extend({name:UI,mixins:[it,Ce],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:eK,computed:{contentClasses:function(){return[this.contentVisibleUp?"d-none":"",this.contentVisibleUp?"d-".concat(this.contentVisibleUp,"-block"):""]},computedWidth:function(){return this.imgWidth||this.bvCarousel.imgWidth||null},computedHeight:function(){return this.imgHeight||this.bvCarousel.imgHeight||null}},render:function(e){var r=this.normalizeSlot(a7);if(!r&&(this.imgSrc||this.imgBlank)){var n={};!this.bvCarousel.noTouch&&mv&&(n.dragstart=function(s){return ke(s,{propagation:!1})}),r=e(PS,{props:ff(ff({},ht(TL,this.$props,NN.bind(null,"img"))),{},{width:this.computedWidth,height:this.computedHeight,fluidGrow:!0,block:!0}),on:n})}var i=[this.caption||this.captionHtml?e(this.captionTag,{domProps:St(this.captionHtml,this.caption)}):!1,this.text||this.textHtml?e(this.textTag,{domProps:St(this.textHtml,this.text)}):!1,this.normalizeSlot()||!1],a=e();return i.some(Se)&&(a=e(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},i.map(function(s){return s||e()}))),e("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[r,a])}}),rK=he({components:{BCarousel:J9,BCarouselSlide:tK}}),I_="show",nK=function(e){Er(e,"height",0),Xe(function(){_S(e),Er(e,"height","".concat(e.scrollHeight,"px"))})},iK=function(e){Gg(e,"height")},aK=function(e){Er(e,"height","auto"),Er(e,"display","block"),Er(e,"height","".concat(fu(e).height,"px")),_S(e),Er(e,"height",0)},sK=function(e){Gg(e,"height")},oK={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},uK={enter:nK,afterEnter:iK,leave:aK,afterLeave:sK},lK={appear:b(L,!1)},cK=V.extend({name:nW,functional:!0,props:lK,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("transition",me(i,{props:oK,on:uK},{props:n}),a)}}),dp;function SC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function N_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?SC(Object(r),!0).forEach(function(n){Yw(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Yw(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dK=Zt(Cr,"toggle"),fK=Zt(Cr,"request-state"),xC=Ct(Cr,"accordion"),hK=Ct(Cr,"state"),pK=Ct(Cr,"sync-state"),r0=tr("visible",{type:L,defaultValue:!1}),mK=r0.mixin,vK=r0.props,fp=r0.prop,gK=r0.event,bK=Q(de(N_(N_(N_({},et),vK),{},{accordion:b(R),appear:b(L,!1),isNav:b(L,!1),tag:b(R,"div")})),Cr),_K=V.extend({name:Cr,mixins:[it,mK,Ce,Pi],props:bK,data:function(){return{show:this[fp],transitioning:!1}},computed:{classObject:function(){var e=this.transitioning;return{"navbar-collapse":this.isNav,collapse:!e,show:this.show&&!e}},slotScope:function(){var e=this;return{visible:this.show,close:function(){e.show=!1}}}},watch:(dp={},Yw(dp,fp,function(t){t!==this.show&&(this.show=t)}),Yw(dp,"show",function(e,r){e!==r&&this.emitState()}),dp),created:function(){this.show=this[fp]},mounted:function(){var e=this;this.show=this[fp],this.listenOnRoot(dK,this.handleToggleEvent),this.listenOnRoot(xC,this.handleAccordionEvent),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(function(){e.emitState()}),this.listenOnRoot(fK,function(r){r===e.safeId()&&e.$nextTick(e.emitSync)})},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&nt&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(e){wi(e,window,"resize",this.handleResize,Be),wi(e,window,"orientationchange",this.handleResize,Be)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit(yr)},onAfterEnter:function(){this.transitioning=!1,this.$emit(Kr)},onLeave:function(){this.transitioning=!0,this.$emit(dn)},onAfterLeave:function(){this.transitioning=!1,this.$emit(Lt)},emitState:function(){var e=this.show,r=this.accordion,n=this.safeId();this.$emit(gK,e),this.emitOnRoot(hK,n,e),r&&e&&this.emitOnRoot(xC,n,r)},emitSync:function(){this.emitOnRoot(pK,this.safeId(),this.show)},checkDisplayBlock:function(){var e=this.$el,r=Ff(e,I_);$r(e,I_);var n=kn(e).display==="block";return r&&Gr(e,I_),n},clickHandler:function(e){var r=e.target;!this.isNav||!r||kn(this.$el).display!=="block"||(za(r,".nav-link,.dropdown-item")||fn(".nav-link,.dropdown-item",r))&&!this.checkDisplayBlock()&&(this.show=!1)},handleToggleEvent:function(e){e===this.safeId()&&this.toggle()},handleAccordionEvent:function(e,r){var n=this.accordion,i=this.show;if(!(!n||n!==r)){var a=e===this.safeId();(a&&!i||!a&&i)&&this.toggle()}},handleResize:function(){this.show=kn(this.$el).display==="block"}},render:function(e){var r=this.appear,n=e(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},this.normalizeSlot(ir,this.slotScope));return e(cK,{props:{appear:r},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[n])}}),Kw="collapsed",qw="not-collapsed",n0="__BV_toggle",hf="".concat(n0,"_HANDLER__"),$v="".concat(n0,"_CLICK__"),Mv="".concat(n0,"_STATE__"),rc="".concat(n0,"_TARGETS__"),yK="false",wK="true",Xw="aria-controls",Zw="aria-expanded",Jw="role",TC="tabindex",Qw="overflow-anchor",OK=Zt(Cr,"toggle"),EL=Ct(Cr,"state"),PL=Ct(Cr,"sync-state"),SK=Zt(Cr,"request-state"),xK=[Ka,ca],CL=function(e){return!Te(["button","a"],e.tagName.toLowerCase())},TK=function(e,r){var n=e.modifiers,i=e.arg,a=e.value,s=Pe(n||{});if(a=Fe(a)?a.split(fm):a,la(r.tagName,"a")){var o=Nn(r,"href")||"";aG.test(o)&&s.push(o.replace(iG,""))}return ze(i,a).forEach(function(u){return Fe(u)&&s.push(u)}),s.filter(function(u,l,c){return u&&c.indexOf(u)===l})},AL=function(e){var r=e[$v];r&&(yt(e,"click",r,ln),yt(e,"keydown",r,ln)),e[$v]=null},EK=function(e,r){if(AL(e),r.context){var n=function(a){if(!(a.type==="keydown"&&!Te(xK,a.keyCode))&&!Ro(e)){var s=e[rc]||[];s.forEach(function(o){r.context.$root.$emit(OK,o)})}};e[$v]=n,ft(e,"click",n,ln),CL(e)&&ft(e,"keydown",n,ln)}},$L=function(e,r){e[hf]&&r.context&&r.context.$root.$off([EL,PL],e[hf]),e[hf]=null},PK=function(e,r){if($L(e,r),r.context){var n=function(a,s){Te(e[rc]||[],a)&&(e[Mv]=s,ML(e,s))};e[hf]=n,r.context.$root.$on([EL,PL],n)}},ML=function(e,r){r?($r(e,Kw),Gr(e,qw),gt(e,Zw,wK)):($r(e,qw),Gr(e,Kw),gt(e,Zw,yK))},hp=function(e,r){e[r]=null,delete e[r]},L_=function(e,r,n){if(!(!nt||!n.context)){CL(e)&&(na(e,Jw)||gt(e,Jw,"button"),na(e,TC)||gt(e,TC,"0")),ML(e,e[Mv]);var i=TK(r,e);i.length>0?(gt(e,Xw,i.join(" ")),Er(e,Qw,"none")):(ra(e,Xw),Gg(e,Qw)),Xe(function(){EK(e,n)}),Ve(i,e[rc])||(e[rc]=i,i.forEach(function(a){n.context.$root.$emit(SK,a)}))}},kL={bind:function(e,r,n){e[Mv]=!1,e[rc]=[],PK(e,n),L_(e,r,n)},componentUpdated:L_,updated:L_,unbind:function(e,r,n){AL(e),$L(e,n),hp(e,hf),hp(e,$v),hp(e,Mv),hp(e,rc),$r(e,Kw),$r(e,qw),ra(e,Zw),ra(e,Xw),ra(e,Jw),Gg(e,Qw)}},MS=he({directives:{VBToggle:kL}}),DL=he({components:{BCollapse:_K},plugins:{VBTogglePlugin:MS}});/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.16.1
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */var bh=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",CK=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(bh&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();function AK(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function $K(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},CK))}}var MK=bh&&window.Promise,kK=MK?AK:$K;function RL(t){var e={};return t&&e.toString.call(t)==="[object Function]"}function Tu(t,e){if(t.nodeType!==1)return[];var r=t.ownerDocument.defaultView,n=r.getComputedStyle(t,null);return e?n[e]:n}function kS(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function _h(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Tu(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:_h(kS(t))}function IL(t){return t&&t.referenceNode?t.referenceNode:t}var EC=bh&&!!(window.MSInputMethodContext&&document.documentMode),PC=bh&&/MSIE 10/.test(navigator.userAgent);function Ac(t){return t===11?EC:t===10?PC:EC||PC}function nc(t){if(!t)return document.documentElement;for(var e=Ac(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return!n||n==="BODY"||n==="HTML"?t?t.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&Tu(r,"position")==="static"?nc(r):r}function DK(t){var e=t.nodeName;return e==="BODY"?!1:e==="HTML"||nc(t.firstElementChild)===t}function e1(t){return t.parentNode!==null?e1(t.parentNode):t}function kv(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,i=r?e:t,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var s=a.commonAncestorContainer;if(t!==s&&e!==s||n.contains(i))return DK(s)?s:nc(s);var o=e1(t);return o.host?kv(o.host,e):kv(t,e1(e).host)}function ic(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=e==="top"?"scrollTop":"scrollLeft",n=t.nodeName;if(n==="BODY"||n==="HTML"){var i=t.ownerDocument.documentElement,a=t.ownerDocument.scrollingElement||i;return a[r]}return t[r]}function RK(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=ic(e,"top"),i=ic(e,"left"),a=r?-1:1;return t.top+=n*a,t.bottom+=n*a,t.left+=i*a,t.right+=i*a,t}function CC(t,e){var r=e==="x"?"Left":"Top",n=r==="Left"?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function AC(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],Ac(10)?parseInt(r["offset"+t])+parseInt(n["margin"+(t==="Height"?"Top":"Left")])+parseInt(n["margin"+(t==="Height"?"Bottom":"Right")]):0)}function NL(t){var e=t.body,r=t.documentElement,n=Ac(10)&&getComputedStyle(r);return{height:AC("Height",e,r,n),width:AC("Width",e,r,n)}}var IK=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},NK=function(){function t(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),ac=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},ii=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function Ks(t){return ii({},t,{right:t.left+t.width,bottom:t.top+t.height})}function t1(t){var e={};try{if(Ac(10)){e=t.getBoundingClientRect();var r=ic(t,"top"),n=ic(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch{}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},a=t.nodeName==="HTML"?NL(t.ownerDocument):{},s=a.width||t.clientWidth||i.width,o=a.height||t.clientHeight||i.height,u=t.offsetWidth-s,l=t.offsetHeight-o;if(u||l){var c=Tu(t);u-=CC(c,"x"),l-=CC(c,"y"),i.width-=u,i.height-=l}return Ks(i)}function DS(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Ac(10),i=e.nodeName==="HTML",a=t1(t),s=t1(e),o=_h(t),u=Tu(e),l=parseFloat(u.borderTopWidth),c=parseFloat(u.borderLeftWidth);r&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=Ks({top:a.top-s.top-l,left:a.left-s.left-c,width:a.width,height:a.height});if(d.marginTop=0,d.marginLeft=0,!n&&i){var h=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);d.top-=l-h,d.bottom-=l-h,d.left-=c-p,d.right-=c-p,d.marginTop=h,d.marginLeft=p}return(n&&!r?e.contains(o):e===o&&o.nodeName!=="BODY")&&(d=RK(d,e)),d}function LK(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.ownerDocument.documentElement,n=DS(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:ic(r),o=e?0:ic(r,"left"),u={top:s-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:i,height:a};return Ks(u)}function LL(t){var e=t.nodeName;if(e==="BODY"||e==="HTML")return!1;if(Tu(t,"position")==="fixed")return!0;var r=kS(t);return r?LL(r):!1}function BL(t){if(!t||!t.parentElement||Ac())return document.documentElement;for(var e=t.parentElement;e&&Tu(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function RS(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},s=i?BL(t):kv(t,IL(e));if(n==="viewport")a=LK(s,i);else{var o=void 0;n==="scrollParent"?(o=_h(kS(e)),o.nodeName==="BODY"&&(o=t.ownerDocument.documentElement)):n==="window"?o=t.ownerDocument.documentElement:o=n;var u=DS(o,s,i);if(o.nodeName==="HTML"&&!LL(s)){var l=NL(t.ownerDocument),c=l.height,d=l.width;a.top+=u.top-u.marginTop,a.bottom=c+u.top,a.left+=u.left-u.marginLeft,a.right=d+u.left}else a=u}r=r||0;var h=typeof r=="number";return a.left+=h?r:r.left||0,a.top+=h?r:r.top||0,a.right-=h?r:r.right||0,a.bottom-=h?r:r.bottom||0,a}function BK(t){var e=t.width,r=t.height;return e*r}function FL(t,e,r,n,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var s=RS(r,n,a,i),o={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},u=Object.keys(o).map(function(h){return ii({key:h},o[h],{area:BK(o[h])})}).sort(function(h,p){return p.area-h.area}),l=u.filter(function(h){var p=h.width,g=h.height;return p>=r.clientWidth&&g>=r.clientHeight}),c=l.length>0?l[0].key:u[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function jL(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?BL(e):kv(e,IL(r));return DS(r,i,n)}function zL(t){var e=t.ownerDocument.defaultView,r=e.getComputedStyle(t),n=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),i=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),a={width:t.offsetWidth+i,height:t.offsetHeight+n};return a}function Dv(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(r){return e[r]})}function HL(t,e,r){r=r.split("-")[0];var n=zL(t),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,s=a?"top":"left",o=a?"left":"top",u=a?"height":"width",l=a?"width":"height";return i[s]=e[s]+e[u]/2-n[u]/2,r===o?i[o]=e[o]-n[l]:i[o]=e[Dv(o)],i}function yh(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function FK(t,e,r){if(Array.prototype.findIndex)return t.findIndex(function(i){return i[e]===r});var n=yh(t,function(i){return i[e]===r});return t.indexOf(n)}function VL(t,e,r){var n=r===void 0?t:t.slice(0,FK(t,"name",r));return n.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var a=i.function||i.fn;i.enabled&&RL(a)&&(e.offsets.popper=Ks(e.offsets.popper),e.offsets.reference=Ks(e.offsets.reference),e=a(e,i))}),e}function jK(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=jL(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=FL(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=HL(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=VL(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function UL(t,e){return t.some(function(r){var n=r.name,i=r.enabled;return i&&n===e})}function IS(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var i=e[n],a=i?""+i+r:t;if(typeof document.body.style[a]<"u")return a}return null}function zK(){return this.state.isDestroyed=!0,UL(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[IS("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function GL(t){var e=t.ownerDocument;return e?e.defaultView:window}function WL(t,e,r,n){var i=t.nodeName==="BODY",a=i?t.ownerDocument.defaultView:t;a.addEventListener(e,r,{passive:!0}),i||WL(_h(a.parentNode),e,r,n),n.push(a)}function HK(t,e,r,n){r.updateBound=n,GL(t).addEventListener("resize",r.updateBound,{passive:!0});var i=_h(t);return WL(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function VK(){this.state.eventsEnabled||(this.state=HK(this.reference,this.options,this.state,this.scheduleUpdate))}function UK(t,e){return GL(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(r){r.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function GK(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=UK(this.reference,this.state))}function NS(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(t)}function r1(t,e){Object.keys(e).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&NS(e[r])&&(n="px"),t.style[r]=e[r]+n})}function WK(t,e){Object.keys(e).forEach(function(r){var n=e[r];n!==!1?t.setAttribute(r,e[r]):t.removeAttribute(r)})}function YK(t){return r1(t.instance.popper,t.styles),WK(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&r1(t.arrowElement,t.arrowStyles),t}function KK(t,e,r,n,i){var a=jL(i,e,t,r.positionFixed),s=FL(r.placement,a,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),r1(e,{position:r.positionFixed?"fixed":"absolute"}),r}function qK(t,e){var r=t.offsets,n=r.popper,i=r.reference,a=Math.round,s=Math.floor,o=function(S){return S},u=a(i.width),l=a(n.width),c=["left","right"].indexOf(t.placement)!==-1,d=t.placement.indexOf("-")!==-1,h=u%2===l%2,p=u%2===1&&l%2===1,g=e?c||d||h?a:s:o,_=e?a:o;return{left:g(p&&!d&&e?n.left-1:n.left),top:_(n.top),bottom:_(n.bottom),right:g(n.right)}}var XK=bh&&/Firefox/i.test(navigator.userAgent);function ZK(t,e){var r=e.x,n=e.y,i=t.offsets.popper,a=yh(t.instance.modifiers,function(x){return x.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=a!==void 0?a:e.gpuAcceleration,o=nc(t.instance.popper),u=t1(o),l={position:i.position},c=qK(t,window.devicePixelRatio<2||!XK),d=r==="bottom"?"top":"bottom",h=n==="right"?"left":"right",p=IS("transform"),g=void 0,_=void 0;if(d==="bottom"?o.nodeName==="HTML"?_=-o.clientHeight+c.bottom:_=-u.height+c.bottom:_=c.top,h==="right"?o.nodeName==="HTML"?g=-o.clientWidth+c.right:g=-u.width+c.right:g=c.left,s&&p)l[p]="translate3d("+g+"px, "+_+"px, 0)",l[d]=0,l[h]=0,l.willChange="transform";else{var w=d==="bottom"?-1:1,S=h==="right"?-1:1;l[d]=_*w,l[h]=g*S,l.willChange=d+", "+h}var E={"x-placement":t.placement};return t.attributes=ii({},E,t.attributes),t.styles=ii({},l,t.styles),t.arrowStyles=ii({},t.offsets.arrow,t.arrowStyles),t}function YL(t,e,r){var n=yh(t,function(o){var u=o.name;return u===e}),i=!!n&&t.some(function(o){return o.name===r&&o.enabled&&o.order<n.order});if(!i){var a="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function JK(t,e){var r;if(!YL(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if(typeof n=="string"){if(n=t.instance.popper.querySelector(n),!n)return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],a=t.offsets,s=a.popper,o=a.reference,u=["left","right"].indexOf(i)!==-1,l=u?"height":"width",c=u?"Top":"Left",d=c.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",g=zL(n)[l];o[p]-g<s[d]&&(t.offsets.popper[d]-=s[d]-(o[p]-g)),o[d]+g>s[p]&&(t.offsets.popper[d]+=o[d]+g-s[p]),t.offsets.popper=Ks(t.offsets.popper);var _=o[d]+o[l]/2-g/2,w=Tu(t.instance.popper),S=parseFloat(w["margin"+c]),E=parseFloat(w["border"+c+"Width"]),x=_-t.offsets.popper[d]-S-E;return x=Math.max(Math.min(s[l]-g,x),0),t.arrowElement=n,t.offsets.arrow=(r={},ac(r,d,Math.round(x)),ac(r,h,""),r),t}function QK(t){return t==="end"?"start":t==="start"?"end":t}var KL=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],B_=KL.slice(3);function $C(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=B_.indexOf(t),n=B_.slice(r+1).concat(B_.slice(0,r));return e?n.reverse():n}var F_={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function eq(t,e){if(UL(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var r=RS(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=Dv(n),a=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case F_.FLIP:s=[n,i];break;case F_.CLOCKWISE:s=$C(n);break;case F_.COUNTERCLOCKWISE:s=$C(n,!0);break;default:s=e.behavior}return s.forEach(function(o,u){if(n!==o||s.length===u+1)return t;n=t.placement.split("-")[0],i=Dv(n);var l=t.offsets.popper,c=t.offsets.reference,d=Math.floor,h=n==="left"&&d(l.right)>d(c.left)||n==="right"&&d(l.left)<d(c.right)||n==="top"&&d(l.bottom)>d(c.top)||n==="bottom"&&d(l.top)<d(c.bottom),p=d(l.left)<d(r.left),g=d(l.right)>d(r.right),_=d(l.top)<d(r.top),w=d(l.bottom)>d(r.bottom),S=n==="left"&&p||n==="right"&&g||n==="top"&&_||n==="bottom"&&w,E=["top","bottom"].indexOf(n)!==-1,x=!!e.flipVariations&&(E&&a==="start"&&p||E&&a==="end"&&g||!E&&a==="start"&&_||!E&&a==="end"&&w),f=!!e.flipVariationsByContent&&(E&&a==="start"&&g||E&&a==="end"&&p||!E&&a==="start"&&w||!E&&a==="end"&&_),m=x||f;(h||S||m)&&(t.flipped=!0,(h||S)&&(n=s[u+1]),m&&(a=QK(a)),t.placement=n+(a?"-"+a:""),t.offsets.popper=ii({},t.offsets.popper,HL(t.instance.popper,t.offsets.reference,t.placement)),t=VL(t.instance.modifiers,t,"flip"))}),t}function tq(t){var e=t.offsets,r=e.popper,n=e.reference,i=t.placement.split("-")[0],a=Math.floor,s=["top","bottom"].indexOf(i)!==-1,o=s?"right":"bottom",u=s?"left":"top",l=s?"width":"height";return r[o]<a(n[u])&&(t.offsets.popper[u]=a(n[u])-r[l]),r[u]>a(n[o])&&(t.offsets.popper[u]=a(n[o])),t}function rq(t,e,r,n){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],s=i[2];if(!a)return t;if(s.indexOf("%")===0){var o=void 0;switch(s){case"%p":o=r;break;case"%":case"%r":default:o=n}var u=Ks(o);return u[e]/100*a}else if(s==="vh"||s==="vw"){var l=void 0;return s==="vh"?l=Math.max(document.documentElement.clientHeight,window.innerHeight||0):l=Math.max(document.documentElement.clientWidth,window.innerWidth||0),l/100*a}else return a}function nq(t,e,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,s=t.split(/(\+|\-)/).map(function(c){return c.trim()}),o=s.indexOf(yh(s,function(c){return c.search(/,|\s/)!==-1}));s[o]&&s[o].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=o!==-1?[s.slice(0,o).concat([s[o].split(u)[0]]),[s[o].split(u)[1]].concat(s.slice(o+1))]:[s];return l=l.map(function(c,d){var h=(d===1?!a:a)?"height":"width",p=!1;return c.reduce(function(g,_){return g[g.length-1]===""&&["+","-"].indexOf(_)!==-1?(g[g.length-1]=_,p=!0,g):p?(g[g.length-1]+=_,p=!1,g):g.concat(_)},[]).map(function(g){return rq(g,h,e,r)})}),l.forEach(function(c,d){c.forEach(function(h,p){NS(h)&&(i[d]+=h*(c[p-1]==="-"?-1:1))})}),i}function iq(t,e){var r=e.offset,n=t.placement,i=t.offsets,a=i.popper,s=i.reference,o=n.split("-")[0],u=void 0;return NS(+r)?u=[+r,0]:u=nq(r,a,s,o),o==="left"?(a.top+=u[0],a.left-=u[1]):o==="right"?(a.top+=u[0],a.left+=u[1]):o==="top"?(a.left+=u[0],a.top-=u[1]):o==="bottom"&&(a.left+=u[0],a.top+=u[1]),t.popper=a,t}function aq(t,e){var r=e.boundariesElement||nc(t.instance.popper);t.instance.reference===r&&(r=nc(r));var n=IS("transform"),i=t.instance.popper.style,a=i.top,s=i.left,o=i[n];i.top="",i.left="",i[n]="";var u=RS(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=a,i.left=s,i[n]=o,e.boundaries=u;var l=e.priority,c=t.offsets.popper,d={primary:function(p){var g=c[p];return c[p]<u[p]&&!e.escapeWithReference&&(g=Math.max(c[p],u[p])),ac({},p,g)},secondary:function(p){var g=p==="right"?"left":"top",_=c[g];return c[p]>u[p]&&!e.escapeWithReference&&(_=Math.min(c[g],u[p]-(p==="right"?c.width:c.height))),ac({},g,_)}};return l.forEach(function(h){var p=["left","top"].indexOf(h)!==-1?"primary":"secondary";c=ii({},c,d[p](h))}),t.offsets.popper=c,t}function sq(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var i=t.offsets,a=i.reference,s=i.popper,o=["bottom","top"].indexOf(r)!==-1,u=o?"left":"top",l=o?"width":"height",c={start:ac({},u,a[u]),end:ac({},u,a[u]+a[l]-s[l])};t.offsets.popper=ii({},s,c[n])}return t}function oq(t){if(!YL(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=yh(t.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(t.hide===!0)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(t.hide===!1)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function uq(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,i=n.popper,a=n.reference,s=["left","right"].indexOf(r)!==-1,o=["top","left"].indexOf(r)===-1;return i[s?"left":"top"]=a[r]-(o?i[s?"width":"height"]:0),t.placement=Dv(e),t.offsets.popper=Ks(i),t}var lq={shift:{order:100,enabled:!0,fn:sq},offset:{order:200,enabled:!0,fn:iq,offset:0},preventOverflow:{order:300,enabled:!0,fn:aq,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:tq},arrow:{order:500,enabled:!0,fn:JK,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:eq,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:uq},hide:{order:800,enabled:!0,fn:oq},computeStyle:{order:850,enabled:!0,fn:ZK,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:YK,onLoad:KK,gpuAcceleration:void 0}},cq={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:lq},i0=function(){function t(e,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};IK(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=kK(this.update.bind(this)),this.options=ii({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(ii({},t.Defaults.modifiers,i.modifiers)).forEach(function(s){n.options.modifiers[s]=ii({},t.Defaults.modifiers[s]||{},i.modifiers?i.modifiers[s]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(s){return ii({name:s},n.options.modifiers[s])}).sort(function(s,o){return s.order-o.order}),this.modifiers.forEach(function(s){s.enabled&&RL(s.onLoad)&&s.onLoad(n.reference,n.popper,n.options,s,n.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return NK(t,[{key:"update",value:function(){return jK.call(this)}},{key:"destroy",value:function(){return zK.call(this)}},{key:"enableEventListeners",value:function(){return VK.call(this)}},{key:"disableEventListeners",value:function(){return GK.call(this)}}]),t}();i0.Utils=(typeof window<"u"?window:global).PopperUtils;i0.placements=KL;i0.Defaults=cq;const n1=i0;var dq="top-start",fq="top-end",hq="bottom-start",pq="bottom-end",mq="right-start",vq="left-start";function gq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function bq(t,e,r){return e&&MC(t.prototype,e),r&&MC(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Eu=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(gq(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));fh(this,t.Defaults,this.constructor.Defaults,r,{type:e}),Vg(this,{type:Qn(),cancelable:Qn(),nativeEvent:Qn(),target:Qn(),relatedTarget:Qn(),vueTarget:Qn(),componentId:Qn()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},cS(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return bq(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),_q=V.extend({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(e,r){e!==r&&(yt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Be),e&&ft(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Be))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&ft(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Be)},beforeDestroy:function(){yt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Be)},methods:{isClickOut:function(e){return!Xt(this.$el,e.target)},_clickOutHandler:function(e){this.clickOutHandler&&this.isClickOut(e)&&this.clickOutHandler(e)}}}),yq=V.extend({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(e,r){e!==r&&(yt(this.focusInElement,"focusin",this._focusInHandler,Be),e&&ft(this.focusInElement,"focusin",this._focusInHandler,Be))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&ft(this.focusInElement,"focusin",this._focusInHandler,Be)},beforeDestroy:function(){yt(this.focusInElement,"focusin",this._focusInHandler,Be)},methods:{_focusInHandler:function(e){this.focusInHandler&&this.focusInHandler(e)}}});function kC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function DC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kC(Object(r),!0).forEach(function(n){wq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var RC=Ct(lu,Kr),Oq=Ct(lu,Lt),Sq=".dropdown form",xq=[".dropdown-item",".b-dropdown-form"].map(function(t){return"".concat(t,":not(.disabled):not([disabled])")}).join(", "),Tq=function(e){return(e||[]).filter(yi)},a0=Q(de(DC(DC({},et),{},{boundary:b([$s,R],"scrollParent"),disabled:b(L,!1),dropleft:b(L,!1),dropright:b(L,!1),dropup:b(L,!1),noFlip:b(L,!1),offset:b(le,0),popperOpts:b(er,{}),right:b(L,!1)})),lu),LS=V.extend({mixins:[it,Pi,_q,yq],provide:function(){return{bvDropdown:this}},inject:{bvNavbar:{default:null}},props:a0,data:function(){return{visible:!1,visibleChangePrevented:!1}},computed:{inNavbar:function(){return!dt(this.bvNavbar)},toggler:function(){var e=this.$refs.toggle;return e?e.$el||e:null},directionClass:function(){return this.dropup?"dropup":this.dropright?"dropright":this.dropleft?"dropleft":""},boundaryClass:function(){return this.boundary!=="scrollParent"&&!this.inNavbar?"position-static":""},hideDelay:function(){return this.inNavbar?mv?300:50:0}},watch:{visible:function(e,r){if(this.visibleChangePrevented){this.visibleChangePrevented=!1;return}if(e!==r){var n=e?yr:dn,i=new Eu(n,{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null,componentId:this.safeId?this.safeId():this.id||null});if(this.emitEvent(i),i.defaultPrevented){this.visibleChangePrevented=!0,this.visible=r,this.$off(Lt,this.focusToggler);return}e?this.showMenu():this.hideMenu()}},disabled:function(e,r){e!==r&&e&&this.visible&&(this.visible=!1)}},created:function(){this.$_popper=null,this.$_hideTimeout=null},deactivated:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper()},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper(),this.clearHideTimeout()},methods:{emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(lu,r),e),this.$emit(r,e)},showMenu:function(){var e=this;if(!this.disabled){if(!this.inNavbar)if(typeof n1>"u")ur("Popper.js not found. Falling back to CSS positioning",lu);else{var r=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;r=r.$el||r,this.createPopper(r)}this.emitOnRoot(RC,this),this.whileOpenListen(!0),this.$nextTick(function(){e.focusMenu(),e.$emit(Kr)})}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot(Oq,this),this.$emit(Lt),this.destroyPopper()},createPopper:function(e){this.destroyPopper(),this.$_popper=new n1(e,this.$refs.menu,this.getPopperConfig())},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){try{this.$_popper.scheduleUpdate()}catch{}},clearHideTimeout:function(){clearTimeout(this.$_hideTimeout),this.$_hideTimeout=null},getPopperConfig:function(){var e=hq;this.dropup?e=this.right?fq:dq:this.dropright?e=mq:this.dropleft?e=vq:this.right&&(e=pq);var r={placement:e,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},n=this.boundary;return n&&(r.modifiers.preventOverflow={boundariesElement:n}),IG(r,this.popperOpts||{})},whileOpenListen:function(e){this.listenForClickOut=e,this.listenForFocusIn=e;var r=e?"$on":"$off";this.$root[r](RC,this.rootCloseListener)},rootCloseListener:function(e){e!==this&&(this.visible=!1)},show:function(){var e=this;this.disabled||Xe(function(){e.visible=!0})},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.disabled||(this.visible=!1,e&&this.$once(Lt,this.focusToggler))},toggle:function(e){e=e||{};var r=e,n=r.type,i=r.keyCode;if(!(n!=="click"&&!(n==="keydown"&&[Ka,ca,Xr].indexOf(i)!==-1))){if(this.disabled){this.visible=!1;return}this.$emit(xN,e),ke(e),this.visible?this.hide(!0):this.show()}},onMousedown:function(e){ke(e,{propagation:!1})},onKeydown:function(e){var r=e.keyCode;r===wS?this.onEsc(e):r===Xr?this.focusNext(e,!1):r===hn&&this.focusNext(e,!0)},onEsc:function(e){this.visible&&(this.visible=!1,ke(e),this.$once(Lt,this.focusToggler))},onSplitClick:function(e){if(this.disabled){this.visible=!1;return}this.$emit(oi,e)},hideHandler:function(e){var r=this,n=e.target;this.visible&&!Xt(this.$refs.menu,n)&&!Xt(this.toggler,n)&&(this.clearHideTimeout(),this.$_hideTimeout=setTimeout(function(){return r.hide()},this.hideDelay))},clickOutHandler:function(e){this.hideHandler(e)},focusInHandler:function(e){this.hideHandler(e)},focusNext:function(e,r){var n=this,i=e.target;!this.visible||e&&fn(Sq,i)||(ke(e),this.$nextTick(function(){var a=n.getItems();if(!(a.length<1)){var s=a.indexOf(i);r&&s>0?s--:!r&&s<a.length-1&&s++,s<0&&(s=0),n.focusItem(s,a)}}))},focusItem:function(e,r){var n=r.find(function(i,a){return a===e});De(n)},getItems:function(){return Tq(Fn(xq,this.$refs.menu))},focusMenu:function(){De(this.$refs.menu)},focusToggler:function(){var e=this;this.$nextTick(function(){De(e.toggler)})}}});function IC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Pa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?IC(Object(r),!0).forEach(function(n){Eq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Eq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qL=Q(de(Pa(Pa(Pa({},et),a0),{},{block:b(L,!1),html:b(R),lazy:b(L,!1),menuClass:b(we),noCaret:b(L,!1),role:b(R,"menu"),size:b(R),split:b(L,!1),splitButtonType:b(R,"button",function(t){return Te(["button","submit","reset"],t)}),splitClass:b(we),splitHref:b(R),splitTo:b(AN),splitVariant:b(R),text:b(R),toggleAttrs:b(er,{}),toggleClass:b(we),toggleTag:b(R,"button"),toggleText:b(R,"Toggle dropdown"),variant:b(R,"secondary")})),lu),NC=V.extend({name:lu,mixins:[it,LS,Ce],props:qL,computed:{dropdownClasses:function(){var e=this.block,r=this.split;return[this.directionClass,this.boundaryClass,{show:this.visible,"btn-group":r||!e,"d-flex":e&&r}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){var e=this.split;return[this.toggleClass,{"dropdown-toggle-split":e,"dropdown-toggle-no-caret":this.noCaret&&!e}]}},render:function(e){var r=this.visible,n=this.variant,i=this.size,a=this.block,s=this.disabled,o=this.split,u=this.role,l=this.hide,c=this.toggle,d={variant:n,size:i,block:a,disabled:s},h=this.normalizeSlot(Ua),p=this.hasNormalizedSlot(Ua)?{}:St(this.html,this.text),g=e();if(o){var _=this.splitTo,w=this.splitHref,S=this.splitButtonType,E=Pa(Pa({},d),{},{variant:this.splitVariant||n});_?E.to=_:w?E.href=w:S&&(E.type=S),g=e(pn,{class:this.splitClass,attrs:{id:this.safeId("_BV_button_")},props:E,domProps:p,on:{click:this.onSplitClick},ref:"button"},h),h=[e("span",{class:["sr-only"]},[this.toggleText])],p={}}var x=["menu","listbox","tree","grid","dialog"],f=e(pn,{staticClass:"dropdown-toggle",class:this.toggleClasses,attrs:Pa(Pa({},this.toggleAttrs),{},{id:this.safeId("_BV_toggle_"),"aria-haspopup":x.includes(u)?u:"false","aria-expanded":ye(r)}),props:Pa(Pa({},d),{},{tag:this.toggleTag,block:a&&!o}),domProps:p,on:{mousedown:this.onMousedown,click:c,keydown:c},ref:"toggle"},h),m=e("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{role:u,tabindex:"-1","aria-labelledby":this.safeId(o?"_BV_button_":"_BV_toggle_")},on:{keydown:this.onKeydown},ref:"menu"},[!this.lazy||r?this.normalizeSlot(ir,{hide:l}):e()]);return e("div",{staticClass:"dropdown b-dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[g,f,m])}});function LC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Rv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?LC(Object(r),!0).forEach(function(n){XL(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function XL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ZL=Re(Ci,["event","routerTag"]),Pq=Q(de(Rv(Rv({},ZL),{},{linkClass:b(we),variant:b(R)})),ZI),BC=V.extend({name:ZI,mixins:[lr,Ce],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:Pq,computed:{computedAttrs:function(){return Rv(Rv({},this.bvAttrs),{},{role:"menuitem"})}},methods:{closeDropdown:function(){var e=this;Xe(function(){e.bvDropdown&&e.bvDropdown.hide(!0)})},onClick:function(e){this.$emit(oi,e),this.closeDropdown()}},render:function(e){var r=this.linkClass,n=this.variant,i=this.active,a=this.disabled,s=this.onClick,o=this.bvAttrs;return e("li",{class:o.class,style:o.style,attrs:{role:"presentation"}},[e(gn,{staticClass:"dropdown-item",class:[r,XL({},"text-".concat(n),n&&!(i||a))],props:ht(ZL,this.$props),attrs:this.computedAttrs,on:{click:s},ref:"item"},this.normalizeSlot())])}});function FC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function jC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?FC(Object(r),!0).forEach(function(n){i1(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function i1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cq=Q({active:b(L,!1),activeClass:b(R,"active"),buttonClass:b(we),disabled:b(L,!1),variant:b(R)},JI),pp=V.extend({name:JI,mixins:[lr,Ce],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:Cq,computed:{computedAttrs:function(){return jC(jC({},this.bvAttrs),{},{role:"menuitem",type:"button",disabled:this.disabled})}},methods:{closeDropdown:function(){this.bvDropdown&&this.bvDropdown.hide(!0)},onClick:function(e){this.$emit(oi,e),this.closeDropdown()}},render:function(e){var r,n=this.active,i=this.variant,a=this.bvAttrs;return e("li",{class:a.class,style:a.style,attrs:{role:"presentation"}},[e("button",{staticClass:"dropdown-item",class:[this.buttonClass,(r={},i1(r,this.activeClass,n),i1(r,"text-".concat(i),i&&!(n||this.disabled)),r)],attrs:this.computedAttrs,on:{click:this.onClick},ref:"button"},this.normalizeSlot())])}});function zC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function HC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zC(Object(r),!0).forEach(function(n){JL(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function JL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Aq=Q({id:b(R),tag:b(R,"header"),variant:b(R)},XI),VC=V.extend({name:XI,functional:!0,props:Aq,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tag,o=n.variant;return e("li",me(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"dropdown-header",class:JL({},"text-".concat(o),o),attrs:HC(HC({},i.attrs||{}),{},{id:n.id||null,role:la(s,"header")?null:"heading"}),ref:"header"},a)])}});function UC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function GC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?UC(Object(r),!0).forEach(function(n){$q(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):UC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function $q(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mq=Q({tag:b(R,"hr")},YI),WC=V.extend({name:YI,functional:!0,props:Mq,render:function(e,r){var n=r.props,i=r.data;return e("li",me(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(n.tag,{staticClass:"dropdown-divider",attrs:GC(GC({},i.attrs||{}),{},{role:"separator","aria-orientation":"horizontal"}),ref:"divider"})])}}),BS=Q({id:b(R),inline:b(L,!1),novalidate:b(L,!1),validated:b(L,!1)},t3),FS=V.extend({name:t3,functional:!0,props:BS,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("form",me(i,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),a)}});function YC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Iv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?YC(Object(r),!0).forEach(function(n){kq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function kq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Dq=Q(de(Iv(Iv({},BS),{},{disabled:b(L,!1),formClass:b(we)})),KI),KC=V.extend({name:KI,functional:!0,props:Dq,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",me(Re(i,["attrs","on"]),{attrs:{role:"presentation"}}),[e(FS,{staticClass:"b-dropdown-form",class:[n.formClass,{disabled:n.disabled}],props:n,attrs:Iv(Iv({},i.attrs||{}),{},{disabled:n.disabled,tabindex:n.disabled?null:"-1"}),on:a,ref:"form"},s)])}});function Rq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Iq=Q({tag:b(R,"p"),textClass:b(we),variant:b(R)},QI),qC=V.extend({name:QI,functional:!0,props:Iq,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tag,o=n.textClass,u=n.variant;return e("li",me(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"b-dropdown-text",class:[o,Rq({},"text-".concat(u),u)],props:n,attrs:i.attrs||{},ref:"text"},a)])}});function XC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ZC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?XC(Object(r),!0).forEach(function(n){QL(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):XC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function QL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nq=Q({ariaDescribedby:b(R),header:b(R),headerClasses:b(we),headerTag:b(R,"header"),headerVariant:b(R),id:b(R)},qI),JC=V.extend({name:qI,functional:!0,props:Nq,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.id,u=n.variant,l=n.header,c=n.headerTag,d=a(),h=s||{},p={},g=o?"_bv_".concat(o,"_group_dd_header"):null,_=e();return(Ga(Us,h,d)||l)&&(_=e(c,{staticClass:"dropdown-header",class:[n.headerClasses,QL({},"text-".concat(u),u)],attrs:{id:g,role:la(c,"header")?null:"heading"}},wr(Us,p,h,d)||l)),e("li",me(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[_,e("ul",{staticClass:"list-unstyled",attrs:ZC(ZC({},i.attrs||{}),{},{id:o,role:"group","aria-describedby":[g,n.ariaDescribedBy].filter(Se).join(" ").trim()||null})},wr(ir,p,h,d))])}}),jS=he({components:{BDropdown:NC,BDd:NC,BDropdownItem:BC,BDdItem:BC,BDropdownItemButton:pp,BDropdownItemBtn:pp,BDdItemButton:pp,BDdItemBtn:pp,BDropdownHeader:VC,BDdHeader:VC,BDropdownDivider:WC,BDdDivider:WC,BDropdownForm:KC,BDdForm:KC,BDropdownText:qC,BDdText:qC,BDropdownGroup:JC,BDdGroup:JC}});function Lq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bq=["iframe","embed","video","object","img","b-img","b-img-lazy"],Fq=Q({aspect:b(R,"16by9"),tag:b(R,"div"),type:b(R,"iframe",function(t){return Te(Bq,t)})},e3),jq=V.extend({name:e3,functional:!0,props:Fq,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.aspect;return e(n.tag,{staticClass:"embed-responsive",class:Lq({},"embed-responsive-".concat(s),s),ref:i.ref},[e(n.type,me(Re(i,["ref"]),{staticClass:"embed-responsive-item"}),a)])}}),zq=he({components:{BEmbed:jq}}),Hq='Setting prop "options" to an object is deprecated. Use the array format instead.',wh=Q({disabledField:b(R,"disabled"),htmlField:b(R,"html"),options:b(jW,[]),textField:b(R,"text"),valueField:b(R,"value")},"formOptionControls"),s0=V.extend({props:wh,computed:{formOptions:function(){return this.normalizeOptions(this.options)}},methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Nr(e)){var n=Pr(e,this.valueField),i=Pr(e,this.textField);return{value:Bt(n)?r||i:n,text:WP(String(Bt(i)?r:i)),html:Pr(e,this.htmlField),disabled:!!Pr(e,this.disabledField)}}return{value:r||e,text:WP(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return Ge(e)?e.map(function(n){return r.normalizeOption(n)}):Nr(e)?(ur(Hq,this.$options.name),Pe(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}});function QC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function eA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?QC(Object(r),!0).forEach(function(n){Vq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):QC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Vq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Uq=Q(de(eA(eA({},wh),{},{id:b(R,void 0,!0)})),i3),tA=V.extend({name:i3,mixins:[s0,Ce],props:Uq,render:function(e){var r=this.id,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,l=i.disabled;return e("option",{attrs:{value:s,disabled:l},domProps:St(u,o),key:"option_".concat(a)})});return e("datalist",{attrs:{id:r}},[n,this.normalizeSlot()])}});function Gq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wq=Q({id:b(R),inline:b(L,!1),tag:b(R,"small"),textVariant:b(R,"muted")},_3),Nv=V.extend({name:_3,functional:!0,props:Wq,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,me(i,{class:Gq({"form-text":!n.inline},"text-".concat(n.textVariant),n.textVariant),attrs:{id:n.id}}),a)}}),Yq=Q({ariaLive:b(R),forceShow:b(L,!1),id:b(R),role:b(R),state:b(L,null),tag:b(R,"div"),tooltip:b(L,!1)},u3),Lv=V.extend({name:u3,functional:!0,props:Yq,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tooltip,o=n.ariaLive,u=n.forceShow===!0||n.state===!1;return e(n.tag,me(i,{class:{"d-block":u,"invalid-feedback":!s,"invalid-tooltip":s},attrs:{id:n.id||null,role:n.role||null,"aria-live":o||null,"aria-atomic":o?"true":null}}),a)}}),Kq=Q({ariaLive:b(R),forceShow:b(L,!1),id:b(R),role:b(R),state:b(L,null),tag:b(R,"div"),tooltip:b(L,!1)},O3),eB=V.extend({name:O3,functional:!0,props:Kq,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tooltip,o=n.ariaLive,u=n.forceShow===!0||n.state===!0;return e(n.tag,me(i,{class:{"d-block":u,"valid-feedback":!s,"valid-tooltip":s},attrs:{id:n.id||null,role:n.role||null,"aria-live":o||null,"aria-atomic":o?"true":null}}),a)}}),qq=Q({tag:b(R,"div")},f3),Bv=V.extend({name:f3,functional:!0,props:qq,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,me(i,{staticClass:"form-row"}),a)}}),Xq=he({components:{BForm:FS,BFormDatalist:tA,BDatalist:tA,BFormText:Nv,BFormInvalidFeedback:Lv,BFormFeedback:Lv,BFormValidFeedback:eB,BFormRow:Bv}}),rA=function(e,r){for(var n=0;n<e.length;n++)if(Ve(e[n],r))return n;return-1},nA="input, textarea, select",Ai=Q({autofocus:b(L,!1),disabled:b(L,!1),form:b(R),id:b(R),name:b(R),required:b(L,!1)},"formControls"),Pu=V.extend({props:Ai,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick(function(){Xe(function(){var r=e.$el;e.autofocus&&yi(r)&&(za(r,nA)||(r=In(nA,r)),De(r))})})}}}),Oh=Q({plain:b(L,!1)},"formControls"),o0=V.extend({props:Oh,computed:{custom:function(){return!this.plain}}}),$i=Q({size:b(R)},"formControls"),Xa=V.extend({props:$i,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}}),Mi=Q({state:b(L,null)},"formState"),da=V.extend({props:Mi,computed:{computedState:function(){return ri(this.state)?this.state:null},stateClass:function(){var e=this.computedState;return e===!0?"is-valid":e===!1?"is-invalid":null},computedAriaInvalid:function(){var e=this.ariaInvalid;return e===!0||e==="true"||e===""||this.computedState===!1?"true":e}}}),mp,cs;function iA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function qi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iA(Object(r),!0).forEach(function(n){rn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u0=tr("checked",{defaultValue:null}),Zq=u0.mixin,Jq=u0.props,ud=u0.prop,zS=u0.event,HS=Q(de(qi(qi(qi(qi(qi(qi(qi({},et),Jq),Ai),$i),Mi),Oh),{},{ariaLabel:b(R),ariaLabelledby:b(R),button:b(L,!1),buttonVariant:b(R),inline:b(L,!1),value:b(ec)})),"formRadioCheckControls"),tB=V.extend({mixins:[lr,it,Zq,Ce,Pu,Xa,da,o0],inheritAttrs:!1,props:HS,data:function(){return{localChecked:this.isGroup?this.bvGroup[ud]:this[ud],hasFocus:!1}},computed:{computedLocalChecked:{get:function(){return this.isGroup?this.bvGroup.localChecked:this.localChecked},set:function(e){this.isGroup?this.bvGroup.localChecked=e:this.localChecked=e}},isChecked:function(){return Ve(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isGroup:function(){return!!this.bvGroup},isBtnMode:function(){return this.isGroup?this.bvGroup.buttons:this.button},isPlain:function(){return this.isBtnMode?!1:this.isGroup?this.bvGroup.plain:this.plain},isCustom:function(){return this.isBtnMode?!1:!this.isPlain},isSwitch:function(){return this.isBtnMode||this.isRadio||this.isPlain?!1:this.isGroup?this.bvGroup.switches:this.switch},isInline:function(){return this.isGroup?this.bvGroup.inline:this.inline},isDisabled:function(){return this.isGroup?this.bvGroup.disabled||this.disabled:this.disabled},isRequired:function(){return this.computedName&&(this.isGroup?this.bvGroup.required:this.required)},computedName:function(){return(this.isGroup?this.bvGroup.groupName:this.name)||null},computedForm:function(){return(this.isGroup?this.bvGroup.form:this.form)||null},computedSize:function(){return(this.isGroup?this.bvGroup.size:this.size)||""},computedState:function(){return this.isGroup?this.bvGroup.computedState:ri(this.state)?this.state:null},computedButtonVariant:function(){var e=this.buttonVariant;return e||(this.isGroup&&this.bvGroup.buttonVariant?this.bvGroup.buttonVariant:"secondary")},buttonClasses:function(){var e,r=this.computedSize;return["btn","btn-".concat(this.computedButtonVariant),(e={},rn(e,"btn-".concat(r),r),rn(e,"disabled",this.isDisabled),rn(e,"active",this.isChecked),rn(e,"focus",this.hasFocus),e)]},computedAttrs:function(){var e=this.isDisabled,r=this.isRequired;return qi(qi({},this.bvAttrs),{},{id:this.safeId(),type:this.isRadio?"radio":"checkbox",name:this.computedName,form:this.computedForm,disabled:e,required:r,"aria-required":r||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null})}},watch:(mp={},rn(mp,ud,function(){this["".concat(ud,"Watcher")].apply(this,arguments)}),rn(mp,"computedLocalChecked",function(){this.computedLocalCheckedWatcher.apply(this,arguments)}),mp),methods:(cs={},rn(cs,"".concat(ud,"Watcher"),function(e){Ve(e,this.computedLocalChecked)||(this.computedLocalChecked=e)}),rn(cs,"computedLocalCheckedWatcher",function(e,r){Ve(e,r)||this.$emit(zS,e)}),rn(cs,"handleChange",function(e){var r=this,n=e.target.checked,i=this.value,a=n?i:null;this.computedLocalChecked=i,this.$nextTick(function(){r.$emit(vn,a),r.isGroup&&r.bvGroup.$emit(vn,a)})}),rn(cs,"handleFocus",function(e){e.target&&(e.type==="focus"?this.hasFocus=!0:e.type==="blur"&&(this.hasFocus=!1))}),rn(cs,"focus",function(){this.isDisabled||De(this.$refs.input)}),rn(cs,"blur",function(){this.isDisabled||_n(this.$refs.input)}),cs),render:function(e){var r=this.isRadio,n=this.isBtnMode,i=this.isPlain,a=this.isCustom,s=this.isInline,o=this.isSwitch,u=this.computedSize,l=this.bvAttrs,c=this.normalizeSlot(),d=e("input",{class:[{"form-check-input":i,"custom-control-input":a,"position-static":i&&!c},n?"":this.stateClass],directives:[{name:"model",value:this.computedLocalChecked}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked},on:qi({change:this.handleChange},n?{focus:this.handleFocus,blur:this.handleFocus}:{}),key:"input",ref:"input"});if(n){var h=e("label",{class:this.buttonClasses},[d,c]);return this.isGroup||(h=e("div",{class:["btn-group-toggle","d-inline-block"]},[h])),h}var p=e();return i&&!c||(p=e("label",{class:{"form-check-label":i,"custom-control-label":a},attrs:{for:this.safeId()}},c)),e("div",{class:[rn({"form-check":i,"form-check-inline":i&&s,"custom-control":a,"custom-control-inline":a&&s,"custom-checkbox":a&&!r&&!o,"custom-switch":o,"custom-radio":a&&r},"b-custom-control-".concat(u),u&&!n),l.class],style:l.style},[d,p])}}),tl;function aA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function sA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?aA(Object(r),!0).forEach(function(n){kl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function kl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Fv="indeterminate",j_=ro+Fv,Qq=Q(de(sA(sA({},HS),{},(tl={},kl(tl,Fv,b(L,!1)),kl(tl,"switch",b(L,!1)),kl(tl,"uncheckedValue",b(ec,!1)),kl(tl,"value",b(ec,!0)),tl))),r3),Om=V.extend({name:r3,mixins:[tB],inject:{bvGroup:{from:"bvCheckGroup",default:null}},props:Qq,computed:{isChecked:function(){var e=this.value,r=this.computedLocalChecked;return Ge(r)?rA(r,e)>-1:Ve(r,e)},isRadio:function(){return!1}},watch:kl({},Fv,function(t,e){Ve(t,e)||this.setIndeterminate(t)}),mounted:function(){this.setIndeterminate(this[Fv])},methods:{computedLocalCheckedWatcher:function(e,r){if(!Ve(e,r)){this.$emit(zS,e);var n=this.$refs.input;n&&this.$emit(j_,n.indeterminate)}},handleChange:function(e){var r=this,n=e.target,i=n.checked,a=n.indeterminate,s=this.value,o=this.uncheckedValue,u=this.computedLocalChecked;if(Ge(u)){var l=rA(u,s);i&&l<0?u=u.concat(s):!i&&l>-1&&(u=u.slice(0,l).concat(u.slice(l+1)))}else u=i?s:o;this.computedLocalChecked=u,this.$nextTick(function(){r.$emit(vn,u),r.isGroup&&r.bvGroup.$emit(vn,u),r.$emit(j_,a)})},setIndeterminate:function(e){Ge(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit(j_,e))}}}),eX=Q(HS,l3),a1=V.extend({name:l3,mixins:[tB],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:eX,watch:{computedLocalChecked:function(e,r){Ve(e,r)||this.$emit(zS,e)}}}),vp;function oA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Wi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oA(Object(r),!0).forEach(function(n){Sm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Sm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uA=["aria-describedby","aria-labelledby"],l0=tr("checked"),tX=l0.mixin,rX=l0.props,s1=l0.prop,nX=l0.event,VS=Q(de(Wi(Wi(Wi(Wi(Wi(Wi(Wi(Wi({},et),rX),Ai),wh),$i),Mi),Oh),{},{ariaInvalid:b(Br,!1),buttonVariant:b(R),buttons:b(L,!1),stacked:b(L,!1),validated:b(L,!1)})),"formRadioCheckGroups"),rB=V.extend({mixins:[it,tX,Ce,Pu,s0,Xa,da,o0],inheritAttrs:!1,props:VS,data:function(){return{localChecked:this[s1]}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){var e=this.inline,r=this.size,n=this.validated,i={"was-validated":n};return this.buttons&&(i=[i,"btn-group-toggle",Sm({"btn-group":e,"btn-group-vertical":!e},"btn-group-".concat(r),r)]),i}},watch:(vp={},Sm(vp,s1,function(t){Ve(t,this.localChecked)||(this.localChecked=t)}),Sm(vp,"localChecked",function(e,r){Ve(e,r)||this.$emit(nX,e)}),vp),render:function(e){var r=this,n=this.isRadioGroup,i=Ei(this.$attrs,uA),a=n?a1:Om,s=this.formOptions.map(function(o,u){var l="BV_option_".concat(u);return e(a,{props:{disabled:o.disabled||!1,id:r.safeId(l),value:o.value},attrs:i,key:l},[e("span",{domProps:St(o.html,o.text)})])});return e("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:Wi(Wi({},Re(this.$attrs,uA)),{},{"aria-invalid":this.computedAriaInvalid,"aria-required":this.required?"true":null,id:this.safeId(),role:n?"radiogroup":"group",tabindex:"-1"})},[this.normalizeSlot(mS),s,this.normalizeSlot()])}}),gp;function lA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function cA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lA(Object(r),!0).forEach(function(n){o1(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function o1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var iX=Q(de(cA(cA({},VS),{},(gp={},o1(gp,s1,b(qr,[])),o1(gp,"switches",b(L,!1)),gp))),n3),z_=V.extend({name:n3,mixins:[rB],provide:function(){return{bvCheckGroup:this}},props:iX,computed:{isRadioGroup:function(){return!1}}}),aX=he({components:{BFormCheckbox:Om,BCheckbox:Om,BCheck:Om,BFormCheckboxGroup:z_,BCheckboxGroup:z_,BCheckGroup:z_}}),bp="__BV_hover_handler__",nB="mouseenter",sX="mouseleave",oX=function(e){var r=function(i){e(i.type===nB,i)};return r.fn=e,r},dA=function(e,r,n){wi(e,r,nB,n,Be),wi(e,r,sX,n,Be)},H_=function(e,r){var n=r.value,i=n===void 0?null:n;if(nt){var a=e[bp],s=ge(a),o=!(s&&a.fn===i);s&&o&&(dA(!1,e,a),delete e[bp]),ge(i)&&o&&(e[bp]=oX(i),dA(!0,e,e[bp]))}},iB={bind:H_,componentUpdated:H_,unbind:function(e){H_(e,{value:null})}};function fA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function rl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fA(Object(r),!0).forEach(function(n){Ol(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ol(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var US=de(rl(rl(rl(rl(rl(rl({},et),$i),Mi),Re(a0,["disabled"])),Re(Ai,["autofocus"])),{},{buttonOnly:b(L,!1),buttonVariant:b(R,"secondary"),formattedValue:b(R),labelSelected:b(R),lang:b(R),menuClass:b(we),placeholder:b(R),readonly:b(L,!1),rtl:b(L,null),value:b(R,"")})),aB=V.extend({name:iW,directives:{"b-hover":iB},mixins:[it,Xa,da,LS,Ce],props:US,data:function(){return{isHovered:!1,hasFocus:!1}},computed:{idButton:function(){return this.safeId()},idLabel:function(){return this.safeId("_value_")},idMenu:function(){return this.safeId("_dialog_")},idWrapper:function(){return this.safeId("_outer_")},computedDir:function(){return this.rtl===!0?"rtl":this.rtl===!1?"ltr":null}},methods:{focus:function(){this.disabled||De(this.$refs.toggle)},blur:function(){this.disabled||_n(this.$refs.toggle)},setFocus:function(e){this.hasFocus=e.type==="focus"},handleHover:function(e){this.isHovered=e}},render:function(e){var r,n=this.idButton,i=this.idLabel,a=this.idMenu,s=this.idWrapper,o=this.disabled,u=this.readonly,l=this.required,c=this.name,d=this.state,h=this.visible,p=this.size,g=this.isHovered,_=this.hasFocus,w=this.labelSelected,S=this.buttonVariant,E=this.buttonOnly,x=ye(this.value)||"",f=d===!1||l&&!x,m={isHovered:g,hasFocus:_,state:d,opened:h},v=e("button",{staticClass:"btn",class:(r={},Ol(r,"btn-".concat(S),E),Ol(r,"btn-".concat(p),p),Ol(r,"h-auto",!E),Ol(r,"dropdown-toggle",E),Ol(r,"dropdown-toggle-no-caret",E),r),attrs:{id:n,type:"button",disabled:o,"aria-haspopup":"dialog","aria-expanded":h?"true":"false","aria-invalid":f?"true":null,"aria-required":l?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle,"!focus":this.setFocus,"!blur":this.setFocus},ref:"toggle"},[this.hasNormalizedSlot(Ua)?this.normalizeSlot(Ua,m):e(wY,{props:{scale:1.25}})]),T=e();c&&!o&&(T=e("input",{attrs:{type:"hidden",name:c||null,form:this.form||null,value:x}}));var P=e("div",{staticClass:"dropdown-menu",class:[this.menuClass,{show:h,"dropdown-menu-right":this.right}],attrs:{id:a,role:"dialog",tabindex:"-1","aria-modal":"false","aria-labelledby":i},on:{keydown:this.onKeydown},ref:"menu"},[this.normalizeSlot(ir,{opened:h})]),k=e("label",{class:E?"sr-only":["form-control",{"text-muted":!x},this.stateClass,this.sizeFormClass],attrs:{id:i,for:n,"aria-invalid":f?"true":null,"aria-required":l?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{"!click":function($){ke($,{preventDefault:!1})}}},[x?this.formattedValue||x:this.placeholder||"",x&&w?e("bdi",{staticClass:"sr-only"},w):""]);return e("div",{staticClass:"b-form-btn-label-control dropdown",class:[this.directionClass,this.boundaryClass,[{"btn-group":E,"form-control":!E,focus:_&&!E,show:h,"is-valid":d===!0,"is-invalid":d===!1},E?null:this.sizeFormClass]],attrs:{id:s,role:E?null:"group",lang:this.lang||null,dir:this.computedDir,"aria-disabled":o,"aria-readonly":u&&!o,"aria-labelledby":i,"aria-invalid":d===!1||l&&!x?"true":null,"aria-required":l?"true":null}},[v,T,P,k])}}),ld;function hA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $a(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hA(Object(r),!0).forEach(function(n){Hd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Hd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c0=tr("value",{type:Wo}),uX=c0.mixin,lX=c0.props,pA=c0.prop,cX=c0.event,sB=Re(fL,["block","hidden","id","noKeyNav","roleDescription","value","width"]),oB=Re(US,["formattedValue","id","lang","rtl","value"]),dX=Q(de($a($a($a($a($a({},et),lX),sB),oB),{},{calendarWidth:b(R,"270px"),closeButton:b(L,!1),closeButtonVariant:b(R,"outline-secondary"),dark:b(L,!1),labelCloseButton:b(R,"Close"),labelResetButton:b(R,"Reset"),labelTodayButton:b(R,"Select today"),noCloseOnSelect:b(L,!1),resetButton:b(L,!1),resetButtonVariant:b(R,"outline-danger"),resetValue:b(Wo),todayButton:b(L,!1),todayButtonVariant:b(R,"outline-primary")})),a3),mA=V.extend({name:a3,mixins:[it,uX],props:dX,data:function(){return{localYMD:ct(this[pA])||"",isVisible:!1,localLocale:null,isRTL:!1,formattedValue:"",activeYMD:""}},computed:{calendarYM:function(){return this.activeYMD.slice(0,-3)},computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null},computedResetValue:function(){return ct(Cv(this.resetValue))||""}},watch:(ld={},Hd(ld,pA,function(t){this.localYMD=ct(t)||""}),Hd(ld,"localYMD",function(e){this.isVisible&&this.$emit(cX,this.valueAsDate?qt(e)||null:e||"")}),Hd(ld,"calendarYM",function(e,r){if(e!==r&&r)try{this.$refs.control.updatePopper()}catch{}}),ld),methods:{focus:function(){this.disabled||De(this.$refs.control)},blur:function(){this.disabled||_n(this.$refs.control)},setAndClose:function(e){var r=this;this.localYMD=e,this.noCloseOnSelect||this.$nextTick(function(){r.$refs.control.hide(!0)})},onSelected:function(e){var r=this;this.$nextTick(function(){r.setAndClose(e)})},onInput:function(e){this.localYMD!==e&&(this.localYMD=e)},onContext:function(e){var r=e.activeYMD,n=e.isRTL,i=e.locale,a=e.selectedYMD,s=e.selectedFormatted;this.isRTL=n,this.localLocale=i,this.formattedValue=s,this.localYMD=a,this.activeYMD=r,this.$emit(Ql,e)},onTodayButton:function(){this.setAndClose(ct(Cv(mr(),this.min,this.max)))},onResetButton:function(){this.setAndClose(this.computedResetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var e=this;this.$nextTick(function(){De(e.$refs.calendar),e.$emit(Kr)})},onHidden:function(){this.isVisible=!1,this.$emit(Lt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?yY:_Y,{attrs:{"aria-hidden":"true"}})}},render:function(e){var r=this.localYMD,n=this.disabled,i=this.readonly,a=this.dark,s=this.$props,o=this.$scopedSlots,u=qe(this.placeholder)?this.labelNoDateSelected:this.placeholder,l=[];if(this.todayButton){var c=this.labelTodayButton;l.push(e(pn,{props:{disabled:n||i,size:"sm",variant:this.todayButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onTodayButton}},c))}if(this.resetButton){var d=this.labelResetButton;l.push(e(pn,{props:{disabled:n||i,size:"sm",variant:this.resetButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onResetButton}},d))}if(this.closeButton){var h=this.labelCloseButton;l.push(e(pn,{props:{disabled:n,size:"sm",variant:this.closeButtonVariant},attrs:{"aria-label":h||null},on:{click:this.onCloseButton}},h))}l.length>0&&(l=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":l.length>1,"justify-content-end":l.length<2}},l)]);var p=e(hL,{staticClass:"b-form-date-calendar w-100",props:$a($a({},ht(sB,s)),{},{hidden:!this.isVisible,value:r,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:Ei(o,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},l);return e(aB,{staticClass:"b-form-datepicker",props:$a($a({},ht(oB,s)),{},{formattedValue:r?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":a,"text-light":a},this.menuClass],placeholder:u,rtl:this.isRTL,value:r}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Hd({},Ua,o[Ua]||this.defaultButtonFn),ref:"control"},[p])}}),fX=he({components:{BFormDatepicker:mA,BDatepicker:mA}}),_p;function vA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Sa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vA(Object(r),!0).forEach(function(n){xm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d0=tr("value",{type:[qr,gI],defaultValue:null,validator:function(e){return e===""?(ur(gX,fS),!0):qe(e)||bX(e)}}),hX=d0.mixin,pX=d0.props,mX=d0.prop,vX=d0.event,gX='Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',bX=function t(e){return kG(e)||Ge(e)&&e.every(function(r){return t(r)})},uB=function(e){return ge(e.getAsEntry)?e.getAsEntry():ge(e.webkitGetAsEntry)?e.webkitGetAsEntry():null},_X=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Promise.all(du(e).filter(function(n){return n.kind==="file"}).map(function(n){var i=uB(n);if(i){if(i.isDirectory&&r)return yX(i.createReader(),"".concat(i.name,"/"));if(i.isFile)return new Promise(function(a){i.file(function(s){s.$path="",a(s)})})}return null}).filter(Se))},yX=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(n){var i=[],a=function s(){e.readEntries(function(o){o.length===0?n(Promise.all(i).then(function(u){return k7(u)})):(i.push(Promise.all(o.map(function(u){if(u){if(u.isDirectory)return t(u.createReader(),"".concat(r).concat(u.name,"/"));if(u.isFile)return new Promise(function(l){u.file(function(c){c.$path="".concat(r).concat(c.name),l(c)})})}return null}).filter(Se))),s())})};a()})},wX=Q(de(Sa(Sa(Sa(Sa(Sa(Sa(Sa({},et),pX),Ai),Oh),Mi),$i),{},{accept:b(R,""),browseText:b(R,"Browse"),capture:b(L,!1),directory:b(L,!1),dropPlaceholder:b(R,"Drop files here"),fileNameFormatter:b(Zr),multiple:b(L,!1),noDrop:b(L,!1),noDropPlaceholder:b(R,"Not allowed"),noTraverse:b(L,!1),placeholder:b(R,"No file chosen")})),fS),gA=V.extend({name:fS,mixins:[lr,it,hX,Ce,Pu,da,o0,Ce],inheritAttrs:!1,props:wX,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var e=this.accept;return e=(e||"").trim().split(/[,\s]+/).filter(Se),e.length===0?null:e.map(function(r){var n="name",i="^",a="$";nG.test(r)?i="":(n="type",fG.test(r)&&(a=".+$",r=r.slice(0,-1))),r=gS(r);var s=new RegExp("".concat(i).concat(r).concat(a));return{rx:s,prop:n}})},computedCapture:function(){var e=this.capture;return e===!0||e===""?!0:e||null},computedAttrs:function(){var e=this.name,r=this.disabled,n=this.required,i=this.form,a=this.computedCapture,s=this.accept,o=this.multiple,u=this.directory;return Sa(Sa({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:e,disabled:r,required:n,form:i||null,capture:a,accept:s||null,multiple:o,directory:u,webkitdirectory:u,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var e=this.fileNameFormatter;return oa(e)?e:this.defaultFileNameFormatter},clonedFiles:function(){return ni(this.files)},flattenedFiles:function(){return ad(this.files)},fileNames:function(){return this.flattenedFiles.map(function(e){return e.name})},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(XW,{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(this.files.length===0)return this.normalizeSlot(x7)||this.placeholder;var e=this.flattenedFiles,r=this.clonedFiles,n=this.fileNames,i=this.computedFileNameFormatter;return this.hasNormalizedSlot(lP)?this.normalizeSlot(lP,{files:e,filesTraversed:r,names:n}):i(e,r,n)}},watch:(_p={},xm(_p,mX,function(t){(!t||Ge(t)&&t.length===0)&&this.reset()}),xm(_p,"files",function(e,r){if(!Ve(e,r)){var n=this.multiple,i=this.noTraverse,a=!n||i?ad(e):e;this.$emit(vX,n?a:a[0]||null)}}),_p),created:function(){this.$_form=null},mounted:function(){var e=fn("form",this.$el);e&&(ft(e,"reset",this.reset,ln),this.$_form=e)},beforeDestroy:function(){var e=this.$_form;e&&yt(e,"reset",this.reset,ln)},methods:{isFileValid:function(e){if(!e)return!1;var r=this.computedAccept;return r?r.some(function(n){return n.rx.test(e[n.prop])}):!0},isFilesArrayValid:function(e){var r=this;return Ge(e)?e.every(function(n){return r.isFileValid(n)}):this.isFileValid(e)},defaultFileNameFormatter:function(e,r,n){return n.join(", ")},setFiles:function(e){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?e:ad(e):ad(e).slice(0,1)},setInputFiles:function(e){try{var r=new ClipboardEvent("").clipboardData||new DataTransfer;ad(ni(e)).forEach(function(n){delete n.$path,r.items.add(n)}),this.$refs.input.files=r.files}catch{}},reset:function(){try{var e=this.$refs.input;e.value="",e.type="",e.type="file"}catch{}this.files=[]},handleFiles:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(r){var n=e.filter(this.isFilesArrayValid);n.length>0&&(this.setFiles(n),this.setInputFiles(n))}else this.setFiles(e)},focusHandler:function(e){this.plain||e.type==="focusout"?this.hasFocus=!1:this.hasFocus=!0},onChange:function(e){var r=this,n=e.type,i=e.target,a=e.dataTransfer,s=a===void 0?{}:a,o=n==="drop";this.$emit(vn,e);var u=du(s.items||[]);if(dI&&u.length>0&&!dt(uB(u[0])))_X(u,this.directory).then(function(c){return r.handleFiles(c,o)});else{var l=du(i.files||s.files||[]).map(function(c){return c.$path=c.webkitRelativePath||"",c});this.handleFiles(l,o)}},onDragenter:function(e){ke(e),this.dragging=!0;var r=e.dataTransfer,n=r===void 0?{}:r;if(this.noDrop||this.disabled||!this.dropAllowed){n.dropEffect="none",this.dropAllowed=!1;return}n.dropEffect="copy"},onDragover:function(e){ke(e),this.dragging=!0;var r=e.dataTransfer,n=r===void 0?{}:r;if(this.noDrop||this.disabled||!this.dropAllowed){n.dropEffect="none",this.dropAllowed=!1;return}n.dropEffect="copy"},onDragleave:function(e){var r=this;ke(e),this.$nextTick(function(){r.dragging=!1,r.dropAllowed=!r.noDrop})},onDrop:function(e){var r=this;if(ke(e),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed){this.$nextTick(function(){r.dropAllowed=!r.noDrop});return}this.onChange(e)}},render:function(e){var r=this.custom,n=this.plain,i=this.size,a=this.dragging,s=this.stateClass,o=this.bvAttrs,u=e("input",{class:[{"form-control-file":n,"custom-file-input":r,focus:r&&this.hasFocus},s],style:r?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return u;var l=e("label",{staticClass:"custom-file-label",class:{dragging:a},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[e("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return e("div",{staticClass:"custom-file b-form-file",class:[xm({},"b-custom-control-".concat(i),i),s,o.class],style:o.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[u,l])}}),OX=he({components:{BFormFile:gA,BFile:gA}}),V_=function(e){return"\\"+e},lB=function(e){e=ye(e);var r=e.length,n=e.charCodeAt(0);return e.split("").reduce(function(i,a,s){var o=e.charCodeAt(s);return o===0?i+"�":o===127||o>=1&&o<=31||s===0&&o>=48&&o<=57||s===1&&o>=48&&o<=57&&n===45?i+V_("".concat(o.toString(16)," ")):s===0&&o===45&&r===1?i+V_(a):o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?i+a:i+V_(a)},"")};function bA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function yp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bA(Object(r),!0).forEach(function(n){Vd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Vd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var SX=["auto","start","end","center","baseline","stretch"],xX=function(e,r,n){var i=e;if(!(qe(n)||n===!1))return r&&(i+="-".concat(r)),e==="col"&&(n===""||n===!0)||(i+="-".concat(n)),Ov(i)},TX=ph(xX),u1=Ss(null),EX=function(){var e=jf().filter(Se),r=e.reduce(function(a,s){return a[s]=b(Bf),a},Ss(null)),n=e.reduce(function(a,s){return a[ks(s,"offset")]=b(le),a},Ss(null)),i=e.reduce(function(a,s){return a[ks(s,"order")]=b(le),a},Ss(null));return u1=fh(Ss(null),{col:Pe(r),offset:Pe(n),order:Pe(i)}),Q(de(yp(yp(yp(yp({},r),n),i),{},{alignSelf:b(R,null,function(a){return Te(SX,a)}),col:b(L,!1),cols:b(le),offset:b(le),order:b(le),tag:b(R,"div")})),GI)},Tm={name:GI,functional:!0,get props(){return delete this.props,this.props=EX()},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.cols,u=i.offset,l=i.order,c=i.alignSelf,d=[];for(var h in u1)for(var p=u1[h],g=0;g<p.length;g++){var _=TX(h,p[g].replace(h,""),i[p[g]]);_&&d.push(_)}var w=d.some(function(S){return TG.test(S)});return d.push((n={col:i.col||!w&&!o},Vd(n,"col-".concat(o),o),Vd(n,"offset-".concat(u),u),Vd(n,"order-".concat(l),l),Vd(n,"align-self-".concat(c),c),n)),e(i.tag,me(a,{class:d}),s)}};function _A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Dl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_A(Object(r),!0).forEach(function(n){PX(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_A(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function PX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cB=["input","select","textarea"],CX=cB.map(function(t){return"".concat(t,":not([disabled])")}).join(),AX=[].concat(cB,["a","button","label"]),$X=function(){return Q(de(Dl(Dl(Dl(Dl({},et),Mi),jf().reduce(function(e,r){return e[ks(r,"contentCols")]=b(Bf),e[ks(r,"labelAlign")]=b(R),e[ks(r,"labelCols")]=b(Bf),e},Ss(null))),{},{description:b(R),disabled:b(L,!1),feedbackAriaLive:b(R,"assertive"),invalidFeedback:b(R),label:b(R),labelClass:b(we),labelFor:b(R),labelSize:b(R),labelSrOnly:b(L,!1),tooltip:b(L,!1),validFeedback:b(R),validated:b(L,!1)})),s3)},yA={name:s3,mixins:[it,da,Ce],get props(){return delete this.props,this.props=$X()},data:function(){return{ariaDescribedby:null}},computed:{contentColProps:function(){return this.getColProps(this.$props,"content")},labelAlignClasses:function(){return this.getAlignClasses(this.$props,"label")},labelColProps:function(){return this.getColProps(this.$props,"label")},isHorizontal:function(){return Pe(this.contentColProps).length>0||Pe(this.labelColProps).length>0}},watch:{ariaDescribedby:function(e,r){e!==r&&this.updateAriaDescribedby(e,r)}},mounted:function(){var e=this;this.$nextTick(function(){e.updateAriaDescribedby(e.ariaDescribedby)})},methods:{getAlignClasses:function(e,r){return jf().reduce(function(n,i){var a=e[ks(i,"".concat(r,"Align"))]||null;return a&&n.push(["text",i,a].filter(Se).join("-")),n},[])},getColProps:function(e,r){return jf().reduce(function(n,i){var a=e[ks(i,"".concat(r,"Cols"))];return a=a===""?!0:a||!1,!ri(a)&&a!=="auto"&&(a=ae(a,0),a=a>0?a:!1),a&&(n[i||(ri(a)?"col":"cols")]=a),n},{})},updateAriaDescribedby:function(e,r){var n=this.labelFor;if(nt&&n){var i=In("#".concat(lB(n)),this.$refs.content);if(i){var a="aria-describedby",s=(e||"").split(fm),o=(r||"").split(fm),u=(Nn(i,a)||"").split(fm).filter(function(l){return!Te(o,l)}).concat(s).filter(function(l,c,d){return d.indexOf(l)===c}).filter(Se).join(" ").trim();u?gt(i,a,u):ra(i,a)}}},onLegendClick:function(e){if(!this.labelFor){var r=e.target,n=r?r.tagName:"";if(AX.indexOf(n)===-1){var i=Fn(CX,this.$refs.content).filter(yi);i.length===1&&De(i[0])}}}},render:function(e){var r=this.computedState,n=this.feedbackAriaLive,i=this.isHorizontal,a=this.labelFor,s=this.normalizeSlot,o=this.safeId,u=this.tooltip,l=o(),c=!a,d=e(),h=s(MN)||this.label,p=h?o("_BV_label_"):null;if(h||i){var g=this.labelSize,_=this.labelColProps,w=c?"legend":"label";this.labelSrOnly?(h&&(d=e(w,{class:"sr-only",attrs:{id:p,for:a||null}},[h])),d=e(i?Tm:"div",{props:i?_:{}},[d])):d=e(i?Tm:w,{on:c?{click:this.onLegendClick}:{},props:i?Dl(Dl({},_),{},{tag:w}):{},attrs:{id:p,for:a||null,tabindex:c?"-1":null},class:[c?"bv-no-focus-ring":"",i||c?"col-form-label":"",!i&&c?"pt-0":"",!i&&!c?"d-block":"",g?"col-form-label-".concat(g):"",this.labelAlignClasses,this.labelClass]},[h])}var S=e(),E=s(o7)||this.invalidFeedback,x=E?o("_BV_feedback_invalid_"):null;E&&(S=e(Lv,{props:{ariaLive:n,id:x,state:r,tooltip:u},attrs:{tabindex:E?"-1":null}},[E]));var f=e(),m=s(M7)||this.validFeedback,v=m?o("_BV_feedback_valid_"):null;m&&(f=e(eB,{props:{ariaLive:n,id:v,state:r,tooltip:u},attrs:{tabindex:m?"-1":null}},[m]));var T=e(),P=s(KW)||this.description,k=P?o("_BV_description_"):null;P&&(T=e(Nv,{attrs:{id:k,tabindex:"-1"}},[P]));var y=this.ariaDescribedby=[k,r===!1?x:null,r===!0?v:null].filter(Se).join(" ")||null,$=e(i?Tm:"div",{props:i?this.contentColProps:{},ref:"content"},[s(ir,{ariaDescribedby:y,descriptionId:k,id:l,labelId:p})||e(),S,f,T]);return e(c?"fieldset":i?Bv:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:l,disabled:c?this.disabled:null,role:c?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":c&&i?p:null}},i&&c?[e(Bv,[d,$])]:[d,$])}},MX=he({components:{BFormGroup:yA,BFormFieldset:yA}}),dB=V.extend({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(e){this.$refs.input.selectionStart=e}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(e){this.$refs.input.selectionEnd=e}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(e){this.$refs.input.selectionDirection=e}}},methods:{select:function(){var e;(e=this.$refs.input).select.apply(e,arguments)},setSelectionRange:function(){var e;(e=this.$refs.input).setSelectionRange.apply(e,arguments)},setRangeText:function(){var e;(e=this.$refs.input).setRangeText.apply(e,arguments)}}});function wA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function OA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wA(Object(r),!0).forEach(function(n){fB(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fB(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f0=tr("value",{type:le,defaultValue:"",event:LW}),kX=f0.mixin,DX=f0.props,SA=f0.prop,RX=f0.event,GS=Q(de(OA(OA({},DX),{},{ariaInvalid:b(Br,!1),autocomplete:b(R),debounce:b(le,0),formatter:b(Zr),lazy:b(L,!1),lazyFormatter:b(L,!1),number:b(L,!1),placeholder:b(R),plaintext:b(L,!1),readonly:b(L,!1),trim:b(L,!1)})),"formTextControls"),hB=V.extend({mixins:[kX],props:GS,data:function(){var e=this[SA];return{localValue:ye(e),vModelValue:this.modifyValue(e)}},computed:{computedClass:function(){var e=this.plaintext,r=this.type,n=r==="range",i=r==="color";return[{"custom-range":n,"form-control-plaintext":e&&!n&&!i,"form-control":i||!e&&!n},this.sizeFormClass,this.stateClass]},computedDebounce:function(){return Ue(ae(this.debounce,0),0)},hasFormatter:function(){return oa(this.formatter)}},watch:fB({},SA,function(t){var e=ye(t),r=this.modifyValue(t);(e!==this.localValue||r!==this.vModelValue)&&(this.clearDebounce(),this.localValue=e,this.vModelValue=r)}),created:function(){this.$_inputDebounceTimer=null},beforeDestroy:function(){this.clearDebounce()},methods:{clearDebounce:function(){clearTimeout(this.$_inputDebounceTimer),this.$_inputDebounceTimer=null},formatValue:function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e=ye(e),this.hasFormatter&&(!this.lazyFormatter||n)&&(e=this.formatter(e,r)),e},modifyValue:function(e){return e=ye(e),this.trim&&(e=e.trim()),this.number&&(e=Ne(e,e)),e},updateValue:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=this.lazy;if(!(i&&!n)){this.clearDebounce();var a=function(){if(e=r.modifyValue(e),e!==r.vModelValue)r.vModelValue=e,r.$emit(RX,e);else if(r.hasFormatter){var u=r.$refs.input;u&&e!==u.value&&(u.value=e)}},s=this.computedDebounce;s>0&&!i&&!n?this.$_inputDebounceTimer=setTimeout(a,s):a()}},onInput:function(e){if(!e.target.composing){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){ke(e,{propagation:!1});return}this.localValue=n,this.updateValue(n),this.$emit(vN,n)}},onChange:function(e){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){ke(e,{propagation:!1});return}this.localValue=n,this.updateValue(n,!0),this.$emit(vn,n)},onBlur:function(e){var r=e.target.value,n=this.formatValue(r,e,!0);n!==!1&&(this.localValue=ye(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit(hN,e)},focus:function(){this.disabled||De(this.$el)},blur:function(){this.disabled||_n(this.$el)}}}),pB=V.extend({computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var e;return(e=this.$refs.input).setCustomValidity.apply(e,arguments)},checkValidity:function(){var e;return(e=this.$refs.input).checkValidity.apply(e,arguments)},reportValidity:function(){var e;return(e=this.$refs.input).reportValidity.apply(e,arguments)}}});function xA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ms(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?xA(Object(r),!0).forEach(function(n){IX(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function IX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mB=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],NX=Q(de(ms(ms(ms(ms(ms(ms({},et),Ai),$i),Mi),GS),{},{list:b(R),max:b(le),min:b(le),noWheel:b(L,!1),step:b(le),type:b(R,"text",function(t){return Te(mB,t)})})),o3),TA=V.extend({name:o3,mixins:[qa,it,Pu,Xa,da,hB,dB,pB],props:NX,computed:{localType:function(){var e=this.type;return Te(mB,e)?e:"text"},computedAttrs:function(){var e=this.localType,r=this.name,n=this.form,i=this.disabled,a=this.placeholder,s=this.required,o=this.min,u=this.max,l=this.step;return{id:this.safeId(),name:r,form:n,type:e,disabled:i,placeholder:a,required:s,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,min:o,max:u,step:l,list:e!=="password"?this.list:null,"aria-required":s?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return ms(ms({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{noWheel:function(e){this.setWheelStopper(e)}},mounted:function(){this.setWheelStopper(this.noWheel)},deactivated:function(){this.setWheelStopper(!1)},activated:function(){this.setWheelStopper(this.noWheel)},beforeDestroy:function(){this.setWheelStopper(!1)},methods:{setWheelStopper:function(e){var r=this.$el;wi(e,r,"focus",this.onWheelFocus),wi(e,r,"blur",this.onWheelBlur),e||yt(document,"wheel",this.stopWheel)},onWheelFocus:function(){ft(document,"wheel",this.stopWheel)},onWheelBlur:function(){yt(document,"wheel",this.stopWheel)},stopWheel:function(e){ke(e,{propagation:!1}),_n(this.$el)}},render:function(e){return e("input",{class:this.computedClass,attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),LX=he({components:{BFormInput:TA,BInput:TA}}),BX=Q(VS,c3),EA=V.extend({name:c3,mixins:[rB],provide:function(){return{bvRadioGroup:this}},props:BX,computed:{isRadioGroup:function(){return!0}}}),FX=he({components:{BFormRadio:a1,BRadio:a1,BFormRadioGroup:EA,BRadioGroup:EA}}),cd;function PA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function dd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PA(Object(r),!0).forEach(function(n){Em(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Em(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h0=tr("value",{type:le,event:vn}),jX=h0.mixin,zX=h0.props,CA=h0.prop,HX=h0.event,vB=3,gB=5,AA=function(e){return Ue(vB,ae(e,gB))},po=function(e,r,n){return Ue(Na(e,n),r)},VX=V.extend({name:aW,mixins:[Ce],props:{disabled:b(L,!1),focused:b(L,!1),hasClear:b(L,!1),rating:b(Rr,0),readonly:b(L,!1),star:b(Rr,0),variant:b(R)},methods:{onClick:function(e){!this.disabled&&!this.readonly&&(ke(e,{propagation:!1}),this.$emit(SN,this.star))}},render:function(e){var r=this.rating,n=this.star,i=this.focused,a=this.hasClear,s=this.variant,o=this.disabled,u=this.readonly,l=a?0:1,c=r>=n?"full":r>=n-.5?"half":"empty",d={variant:s,disabled:o,readonly:u};return e("span",{staticClass:"b-rating-star",class:{focused:i&&r===n||!ae(r)&&n===l,"b-rating-star-empty":c==="empty","b-rating-star-half":c==="half","b-rating-star-full":c==="full"},attrs:{tabindex:!o&&!u?"-1":null},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(c,d)])])}}),UX=Q(de(dd(dd(dd(dd(dd({},et),zX),Re(Ai,["required","autofocus"])),$i),{},{color:b(R),iconClear:b(R,"x"),iconEmpty:b(R,"star"),iconFull:b(R,"star-fill"),iconHalf:b(R,"star-half"),inline:b(L,!1),locale:b(Lr),noBorder:b(L,!1),precision:b(le),readonly:b(L,!1),showClear:b(L,!1),showValue:b(L,!1),showValueMax:b(L,!1),stars:b(le,gB,function(t){return ae(t)>=vB}),variant:b(R)})),d3),$A=V.extend({name:d3,components:{BIconStar:PY,BIconStarHalf:AY,BIconStarFill:CY,BIconX:KN},mixins:[it,jX,Xa],props:UX,data:function(){var e=Ne(this[CA],null),r=AA(this.stars);return{localValue:dt(e)?null:po(e,0,r),hasFocus:!1}},computed:{computedStars:function(){return AA(this.stars)},computedRating:function(){var e=Ne(this.localValue,0),r=ae(this.precision,3);return po(Ne(e.toFixed(r)),0,this.computedStars)},computedLocale:function(){var e=ze(this.locale).filter(Se),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Jg(this.computedLocale)},formattedRating:function(){var e=ae(this.precision),r=this.showValueMax,n=this.computedLocale,i={notation:"standard",minimumFractionDigits:isNaN(e)?0:e,maximumFractionDigits:isNaN(e)?3:e},a=this.computedStars.toLocaleString(n),s=this.localValue;return s=dt(s)?r?"-":"":s.toLocaleString(n,i),r?"".concat(s,"/").concat(a):s}},watch:(cd={},Em(cd,CA,function(t,e){if(t!==e){var r=Ne(t,null);this.localValue=dt(r)?null:po(r,0,this.computedStars)}}),Em(cd,"localValue",function(e,r){e!==r&&e!==(this.value||0)&&this.$emit(HX,e||null)}),Em(cd,"disabled",function(e){e&&(this.hasFocus=!1,this.blur())}),cd),methods:{focus:function(){this.disabled||De(this.$el)},blur:function(){this.disabled||_n(this.$el)},onKeydown:function(e){var r=e.keyCode;if(this.isInteractive&&Te([Oi,Xr,Wa,hn],r)){ke(e,{propagation:!1});var n=ae(this.localValue,0),i=this.showClear?0:1,a=this.computedStars,s=this.isRTL?-1:1;r===Oi?this.localValue=po(n-s,i,a)||null:r===Wa?this.localValue=po(n+s,i,a):r===Xr?this.localValue=po(n-1,i,a)||null:r===hn&&(this.localValue=po(n+1,i,a))}},onSelected:function(e){this.isInteractive&&(this.localValue=e)},onFocus:function(e){this.hasFocus=this.isInteractive?e.type==="focus":!1},renderIcon:function(e){return this.$createElement(Sv,{props:{icon:e,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(Sv,{props:{icon:this.iconClear}})}},render:function(e){var r=this,n=this.disabled,i=this.readonly,a=this.name,s=this.form,o=this.inline,u=this.variant,l=this.color,c=this.noBorder,d=this.hasFocus,h=this.computedRating,p=this.computedStars,g=this.formattedRating,_=this.showClear,w=this.isRTL,S=this.isInteractive,E=this.$scopedSlots,x=[];if(_&&!n&&!i){var f=e("span",{staticClass:"b-rating-icon"},[(E[t7]||this.iconClearFn)()]);x.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:d&&h===0},attrs:{tabindex:S?"-1":null},on:{click:function(){return r.onSelected(null)}},key:"clear"},[f]))}for(var m=0;m<p;m++){var v=m+1;x.push(e(VX,{staticClass:"flex-grow-1",style:l&&!n?{color:l}:{},props:{rating:h,star:v,variant:n?null:u||null,disabled:n,readonly:i,focused:d,hasClear:_},on:{selected:this.onSelected},scopedSlots:{empty:E[r7]||this.iconEmptyFn,half:E[i7]||this.iconHalfFn,full:E[n7]||this.iconFullFn},key:m}))}return a&&x.push(e("input",{attrs:{type:"hidden",value:dt(this.localValue)?"":h,name:a,form:s||null},key:"hidden"})),this.showValue&&x.push(e("b",{staticClass:"b-rating-value flex-grow-1",attrs:{"aria-hidden":"true"},key:"value"},ye(g))),e("output",{staticClass:"b-rating form-control align-items-center",class:[{"d-inline-flex":o,"d-flex":!o,"border-0":c,disabled:n,readonly:!n&&i},this.sizeFormClass],attrs:{id:this.safeId(),dir:w?"rtl":"ltr",tabindex:n?null:"0",disabled:n,role:"slider","aria-disabled":n?"true":null,"aria-readonly":!n&&i?"true":null,"aria-live":"off","aria-valuemin":_?"0":"1","aria-valuemax":ye(p),"aria-valuenow":h?ye(h):null},on:{keydown:this.onKeydown,focus:this.onFocus,blur:this.onFocus}},x)}}),GX=he({components:{BFormRating:$A,BRating:$A}}),p0=tr("value"),WX=p0.mixin,YX=p0.props,KX=p0.prop,qX=p0.event;function MA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function kA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MA(Object(r),!0).forEach(function(n){XX(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function XX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ZX=Q(de(kA(kA({},wh),{},{labelField:b(R,"label"),optionsField:b(R,"options")})),"formOptions"),JX=V.extend({mixins:[s0],props:ZX,methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Nr(e)){var n=Pr(e,this.valueField),i=Pr(e,this.textField),a=Pr(e,this.optionsField,null);return dt(a)?{value:Bt(n)?r||i:n,text:String(Bt(i)?r:i),html:Pr(e,this.htmlField),disabled:!!Pr(e,this.disabledField)}:{label:String(Pr(e,this.labelField)||i),options:this.normalizeOptions(a)}}return{value:r||e,text:String(e),disabled:!1}}}}),QX=Q({disabled:b(L,!1),value:b(ec,void 0,!0)},p3),jv=V.extend({name:p3,functional:!0,props:QX,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.value,o=n.disabled;return e("option",me(i,{attrs:{disabled:o},domProps:{value:s}}),a)}});function DA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function RA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?DA(Object(r),!0).forEach(function(n){eZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function eZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tZ=Q(de(RA(RA({},wh),{},{label:b(R,void 0,!0)})),m3),l1=V.extend({name:m3,mixins:[Ce,s0],props:tZ,render:function(e){var r=this.label,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,l=i.disabled;return e(jv,{attrs:{value:s,disabled:l},domProps:St(u,o),key:"option_".concat(a)})});return e("optgroup",{attrs:{label:r}},[this.normalizeSlot(mS),n,this.normalizeSlot()])}});function IA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function mo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?IA(Object(r),!0).forEach(function(n){rZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nZ=Q(de(mo(mo(mo(mo(mo(mo(mo({},et),YX),Ai),Oh),$i),Mi),{},{ariaInvalid:b(Br,!1),multiple:b(L,!1),selectSize:b(Rr,0)})),h3),NA=V.extend({name:h3,mixins:[it,WX,Pu,Xa,da,o0,JX,Ce],props:nZ,data:function(){return{localValue:this[KX]}},computed:{computedSelectSize:function(){return!this.plain&&this.selectSize===0?null:this.selectSize},inputClass:function(){return[this.plain?"form-control":"custom-select",this.size&&this.plain?"form-control-".concat(this.size):null,this.size&&!this.plain?"custom-select-".concat(this.size):null,this.stateClass]}},watch:{value:function(e){this.localValue=e},localValue:function(){this.$emit(qX,this.localValue)}},methods:{focus:function(){De(this.$refs.input)},blur:function(){_n(this.$refs.input)},onChange:function(e){var r=this,n=e.target,i=du(n.options).filter(function(a){return a.selected}).map(function(a){return"_value"in a?a._value:a.value});this.localValue=n.multiple?i:i[0],this.$nextTick(function(){r.$emit(vn,r.localValue)})}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.computedSelectSize,s=this.localValue,o=this.formOptions.map(function(u,l){var c=u.value,d=u.label,h=u.options,p=u.disabled,g="option_".concat(l);return Ge(h)?e(l1,{props:{label:d,options:h},key:g}):e(jv,{props:{value:c,disabled:p},domProps:St(u.html,u.text),key:g})});return e("select",{class:this.inputClass,attrs:{id:this.safeId(),name:r,form:this.form||null,multiple:this.multiple||null,size:a,disabled:n,required:i,"aria-required":i?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:this.onChange},directives:[{name:"model",value:s}],ref:"input"},[this.normalizeSlot(mS),o,this.normalizeSlot()])}}),iZ=he({components:{BFormSelect:NA,BFormSelectOption:jv,BFormSelectOptionGroup:l1,BSelect:NA,BSelectOption:jv,BSelectOptionGroup:l1}}),nl;function LA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Xi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?LA(Object(r),!0).forEach(function(n){Ud(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ud(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m0=tr("value",{type:zW}),aZ=m0.mixin,sZ=m0.props,BA=m0.prop,oZ=m0.event,bB=1,_B=100,yB=1,wB=500,OB=100,SB=10,xB=4,FA=[hn,Xr,Ys,Ws,Tv,xv],TB=Q(de(Xi(Xi(Xi(Xi(Xi(Xi({},et),sZ),Re(Ai,["required","autofocus"])),$i),Mi),{},{ariaControls:b(R),ariaLabel:b(R),formatterFn:b(Zr),inline:b(L,!1),labelDecrement:b(R,"Decrement"),labelIncrement:b(R,"Increment"),locale:b(Lr),max:b(le,_B),min:b(le,bB),placeholder:b(R),readonly:b(L,!1),repeatDelay:b(le,wB),repeatInterval:b(le,OB),repeatStepMultiplier:b(le,xB),repeatThreshold:b(le,SB),step:b(le,yB),vertical:b(L,!1),wrap:b(L,!1)})),v3),c1=V.extend({name:v3,mixins:[lr,it,aZ,Xa,da,Ce],inheritAttrs:!1,props:TB,data:function(){return{localValue:Ne(this[BA],null),hasFocus:!1}},computed:{spinId:function(){return this.safeId()},computedInline:function(){return this.inline&&!this.vertical},computedReadonly:function(){return this.readonly&&!this.disabled},computedRequired:function(){return this.required&&!this.computedReadonly&&!this.disabled},computedStep:function(){return Ne(this.step,yB)},computedMin:function(){return Ne(this.min,bB)},computedMax:function(){var e=Ne(this.max,_B),r=this.computedStep,n=this.computedMin;return zf((e-n)/r)*r+n},computedDelay:function(){var e=ae(this.repeatDelay,0);return e>0?e:wB},computedInterval:function(){var e=ae(this.repeatInterval,0);return e>0?e:OB},computedThreshold:function(){return Ue(ae(this.repeatThreshold,SB),1)},computedStepMultiplier:function(){return Ue(ae(this.repeatStepMultiplier,xB),1)},computedPrecision:function(){var e=this.computedStep;return zf(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return VN(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return dt(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=ze(this.locale).filter(Se),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},computedRTL:function(){return Jg(this.computedLocale)},defaultFormatter:function(){var e=this.computedPrecision,r=new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:e,maximumFractionDigits:e,notation:"standard"});return r.format},computedFormatter:function(){var e=this.formatterFn;return oa(e)?e:this.defaultFormatter},computedAttrs:function(){return Xi(Xi({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var e=this.spinId,r=this.localValue,n=this.computedRequired,i=this.disabled,a=this.state,s=this.computedFormatter,o=!dt(r);return Xi(Xi({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:e,role:"spinbutton",tabindex:i?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":a===!1||!o&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":ye(this.computedMin),"aria-valuemax":ye(this.computedMax),"aria-valuenow":o?r:null,"aria-valuetext":o?s(r):null})}},watch:(nl={},Ud(nl,BA,function(t){this.localValue=Ne(t,null)}),Ud(nl,"localValue",function(e){this.$emit(oZ,e)}),Ud(nl,"disabled",function(e){e&&this.clearRepeat()}),Ud(nl,"readonly",function(e){e&&this.clearRepeat()}),nl),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||De(this.$refs.spinner)},blur:function(){this.disabled||_n(this.$refs.spinner)},emitChange:function(){this.$emit(vn,this.localValue)},stepValue:function(e){var r=this.localValue;if(!this.disabled&&!dt(r)){var n=this.computedStep*e,i=this.computedMin,a=this.computedMax,s=this.computedMultiplier,o=this.wrap;r=zw((r-i)/n)*n+i+n,r=zw(r*s)/s,this.localValue=r>a?o?i:a:r<i?o?a:i:r}},onFocusBlur:function(e){this.hasFocus=this.disabled?!1:e.type==="focus"},stepUp:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,r=this.localValue;dt(r)?this.localValue=this.computedMin:this.stepValue(1*e)},stepDown:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,r=this.localValue;dt(r)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*e)},onKeydown:function(e){var r=e.keyCode,n=e.altKey,i=e.ctrlKey,a=e.metaKey;if(!(this.disabled||this.readonly||n||i||a)&&Te(FA,r)){if(ke(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),Te([hn,Xr],r)?(this.$_keyIsDown=!0,r===hn?this.handleStepRepeat(e,this.stepUp):r===Xr&&this.handleStepRepeat(e,this.stepDown)):r===Tv?this.stepUp(this.computedStepMultiplier):r===xv?this.stepDown(this.computedStepMultiplier):r===Ys?this.localValue=this.computedMin:r===Ws&&(this.localValue=this.computedMax)}},onKeyup:function(e){var r=e.keyCode,n=e.altKey,i=e.ctrlKey,a=e.metaKey;this.disabled||this.readonly||n||i||a||Te(FA,r)&&(ke(e,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(e,r){var n=this,i=e||{},a=i.type,s=i.button;if(!this.disabled&&!this.readonly){if(a==="mousedown"&&s)return;this.resetTimers(),r(1);var o=this.computedThreshold,u=this.computedStepMultiplier,l=this.computedDelay,c=this.computedInterval;this.$_autoDelayTimer=setTimeout(function(){var d=0;n.$_autoRepeatTimer=setInterval(function(){r(d<o?1:u),d++},c)},l)}},onMouseup:function(e){var r=e||{},n=r.type,i=r.button;n==="mouseup"&&i||(ke(e,{propagation:!1}),this.resetTimers(),this.setMouseup(!1),this.emitChange())},setMouseup:function(e){try{wi(e,document.body,"mouseup",this.onMouseup,!1),wi(e,document.body,"touchend",this.onMouseup,!1)}catch{}},resetTimers:function(){clearTimeout(this.$_autoDelayTimer),clearInterval(this.$_autoRepeatTimer),this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null},clearRepeat:function(){this.resetTimers(),this.setMouseup(!1),this.$_keyIsDown=!1}},render:function(e){var r=this,n=this.spinId,i=this.localValue,a=this.computedInline,s=this.computedReadonly,o=this.vertical,u=this.disabled,l=this.computedFormatter,c=!dt(i),d=function(S,E,x,f,m,v,T){var P=e(x,{props:{scale:r.hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}}),k={hasFocus:r.hasFocus},y=function(C){!u&&!s&&(ke(C,{propagation:!1}),r.setMouseup(!0),De(C.currentTarget),r.handleStepRepeat(C,S))};return e("button",{staticClass:"btn btn-sm border-0 rounded-0",class:{"py-0":!o},attrs:{tabindex:"-1",type:"button",disabled:u||s||v,"aria-disabled":u||s||v?"true":null,"aria-controls":n,"aria-label":E||null,"aria-keyshortcuts":m||null},on:{mousedown:y,touchstart:y},key:f||null,ref:f},[r.normalizeSlot(T,k)||P])},h=d(this.stepUp,this.labelIncrement,EY,"inc","ArrowUp",!1,s7),p=d(this.stepDown,this.labelDecrement,xY,"dec","ArrowDown",!1,YW),g=e();this.name&&!u&&(g=e("input",{attrs:{type:"hidden",name:this.name,form:this.form||null,value:this.valueAsFixed},key:"hidden"}));var _=e("output",{staticClass:"flex-grow-1",class:{"d-flex":o,"align-self-center":!o,"align-items-center":o,"border-top":o,"border-bottom":o,"border-left":!o,"border-right":!o},attrs:this.computedSpinAttrs,key:"output",ref:"spinner"},[e("bdi",c?l(i):this.placeholder||"")]);return e("div",{staticClass:"b-form-spinbutton form-control",class:[{disabled:u,readonly:s,focus:this.hasFocus,"d-inline-flex":a||o,"d-flex":!a&&!o,"align-items-stretch":!o,"flex-column":o},this.sizeFormClass,this.stateClass],attrs:this.computedAttrs,on:{keydown:this.onKeydown,keyup:this.onKeyup,"!focus":this.onFocusBlur,"!blur":this.onFocusBlur}},o?[h,g,_,p]:[p,g,_,h])}}),uZ=he({components:{BFormSpinbutton:c1,BSpinbutton:c1}});function jA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function zA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jA(Object(r),!0).forEach(function(n){lZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function lZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cZ=Q(de(zA(zA({},et),{},{disabled:b(L,!1),noRemove:b(L,!1),pill:b(L,!1),removeLabel:b(R,"Remove tag"),tag:b(R,"span"),title:b(R),variant:b(R,"secondary")})),g3),d1=V.extend({name:g3,mixins:[it,Ce],props:cZ,methods:{onRemove:function(e){var r=e.type,n=e.keyCode;!this.disabled&&(r==="click"||r==="keydown"&&n===XN)&&this.$emit(EW)}},render:function(e){var r=this.title,n=this.tag,i=this.variant,a=this.pill,s=this.disabled,o=this.safeId(),u=this.safeId("_taglabel_"),l=e();!this.noRemove&&!s&&(l=e(hu,{staticClass:"b-form-tag-remove",props:{ariaLabel:this.removeLabel},attrs:{"aria-controls":o,"aria-describedby":u,"aria-keyshortcuts":"Delete"},on:{click:this.onRemove,keydown:this.onRemove}}));var c=e("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate",attrs:{id:u}},this.normalizeSlot()||r);return e(uL,{staticClass:"b-form-tag d-inline-flex align-items-baseline mw-100",class:{disabled:s},props:{tag:n,variant:i,pill:a},attrs:{id:o,title:r||null,"aria-labelledby":u}},[c,l])}}),fd;function HA(t){return pZ(t)||hZ(t)||fZ(t)||dZ()}function dZ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fZ(t,e){if(t){if(typeof t=="string")return f1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f1(t,e)}}function hZ(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pZ(t){if(Array.isArray(t))return f1(t)}function f1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function VA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Cn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?VA(Object(r),!0).forEach(function(n){Pm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):VA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Pm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var v0=tr("value",{type:qr,defaultValue:[]}),mZ=v0.mixin,vZ=v0.props,U_=v0.prop,gZ=v0.event,EB=["text","email","tel","url","number"],bZ=[".b-form-tag","button","input","select"].join(" "),_Z=function(e){return gS(e).replace(pI,"\\s")},UA=function(e){return ze(e).map(function(r){return Ms(ye(r))}).filter(function(r,n,i){return r.length>0&&i.indexOf(r)===n})},GA=function(e){return Fe(e)?e:su(e)&&e.target.value||""},G_=function(){return{all:[],valid:[],invalid:[],duplicate:[]}},yZ=Q(de(Cn(Cn(Cn(Cn(Cn(Cn({},et),vZ),Ai),$i),Mi),{},{addButtonText:b(R,"Add"),addButtonVariant:b(R,"outline-secondary"),addOnChange:b(L,!1),duplicateTagText:b(R,"Duplicate tag(s)"),feedbackAriaLive:b(R,"assertive"),ignoreInputFocusSelector:b(Lr,bZ),inputAttrs:b(er,{}),inputClass:b(we),inputId:b(R),inputType:b(R,"text",function(t){return Te(EB,t)}),invalidTagText:b(R,"Invalid tag(s)"),limit:b(Rr),limitTagsText:b(R,"Tag limit reached"),noAddOnEnter:b(L,!1),noOuterFocus:b(L,!1),noTagRemove:b(L,!1),placeholder:b(R,"Add tag..."),removeOnDelete:b(L,!1),separator:b(Lr),tagClass:b(we),tagPills:b(L,!1),tagRemoveLabel:b(R,"Remove tag"),tagRemovedLabel:b(R,"Tag removed"),tagValidator:b(Zr),tagVariant:b(R,"secondary")})),b3),WA=V.extend({name:b3,mixins:[qa,it,mZ,Pu,Xa,da,Ce],props:yZ,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:G_(),focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return Te(EB,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,r=this.form;return Cn(Cn({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:r})},computedInputHandlers:function(){return Cn(Cn({},Re(this.bvListeners,[_v,yv])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return ze(this.separator).filter(Fe).filter(Se).join("")},computedSeparatorRegExp:function(){var e=this.computedSeparator;return e?new RegExp("[".concat(_Z(e),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return e!==" "?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return ze(this.ignoreInputFocusSelector).filter(Se).join(",").trim()},disableAddButton:function(){var e=this,r=Ms(this.newTag);return r===""||!this.splitTags(r).some(function(n){return!Te(e.tags,n)&&e.validateTag(n)})},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var e=this.limit;return gi(e)&&e>=0&&this.tags.length>=e}},watch:(fd={},Pm(fd,U_,function(t){this.tags=UA(t)}),Pm(fd,"tags",function(e,r){Ve(e,this[U_])||this.$emit(gZ,e),Ve(e,r)||(e=ze(e).filter(Se),r=ze(r).filter(Se),this.removedTags=r.filter(function(n){return!Te(e,n)}))}),Pm(fd,"tagsState",function(e,r){Ve(e,r)||this.$emit(IW,e.valid,e.invalid,e.duplicate)}),fd),created:function(){this.tags=UA(this[U_])},mounted:function(){var e=fn("form",this.$el);e&&ft(e,"reset",this.reset,ln)},beforeDestroy:function(){var e=fn("form",this.$el);e&&yt(e,"reset",this.reset,ln)},methods:{addTag:function(e){if(e=Fe(e)?e:this.newTag,!(this.disabled||Ms(e)===""||this.isLimitReached)){var r=this.parseTags(e);if(r.valid.length>0||r.all.length===0)if(za(this.getInput(),"select"))this.newTag="";else{var n=[].concat(HA(r.invalid),HA(r.duplicate));this.newTag=r.all.filter(function(i){return Te(n,i)}).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}r.valid.length>0&&(this.tags=ze(this.tags,r.valid)),this.tagsState=r,this.focus()}},removeTag:function(e){this.disabled||(this.tags=this.tags.filter(function(r){return r!==e}))},reset:function(){var e=this;this.newTag="",this.tags=[],this.$nextTick(function(){e.removedTags=[],e.tagsState=G_()})},onInputInput:function(e){if(!(this.disabled||su(e)&&e.target.composing)){var r=GA(e),n=this.computedSeparatorRegExp;this.newTag!==r&&(this.newTag=r),r=R7(r),n&&n.test(r.slice(-1))?this.addTag():this.tagsState=r===""?G_():this.parseTags(r)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var r=GA(e);this.newTag!==r&&(this.newTag=r),this.addTag()}},onInputKeydown:function(e){if(!(this.disabled||!su(e))){var r=e.keyCode,n=e.target.value||"";!this.noAddOnEnter&&r===Ka?(ke(e,{propagation:!1}),this.addTag()):this.removeOnDelete&&(r===DY||r===XN)&&n===""&&(ke(e,{propagation:!1}),this.tags=this.tags.slice(0,-1))}},onClick:function(e){var r=this,n=this.computeIgnoreInputFocusSelector;(!n||!fn(n,e.target,!0))&&this.$nextTick(function(){r.focus()})},onInputFocus:function(e){var r=this;this.focusState!=="out"&&(this.focusState="in",this.$nextTick(function(){Xe(function(){r.hasFocus&&(r.$emit(wW,e),r.focusState=null)})}))},onInputBlur:function(e){var r=this;this.focusState!=="in"&&(this.focusState="out",this.$nextTick(function(){Xe(function(){r.hasFocus||(r.$emit(hN,e),r.focusState=null)})}))},onFocusin:function(e){this.hasFocus=!0,this.$emit(_v,e)},onFocusout:function(e){this.hasFocus=!1,this.$emit(yv,e)},handleAutofocus:function(){var e=this;this.$nextTick(function(){Xe(function(){e.autofocus&&e.focus()})})},focus:function(){this.disabled||De(this.getInput())},blur:function(){this.disabled||_n(this.getInput())},splitTags:function(e){e=ye(e);var r=this.computedSeparatorRegExp;return(r?e.split(r):[e]).map(Ms).filter(Se)},parseTags:function(e){var r=this,n=this.splitTags(e),i={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach(function(a){Te(r.tags,a)||Te(i.valid,a)?Te(i.duplicate,a)||i.duplicate.push(a):r.validateTag(a)?i.valid.push(a):Te(i.invalid,a)||i.invalid.push(a)}),i},validateTag:function(e){var r=this.tagValidator;return oa(r)?r(e):!0},getInput:function(){return In("#".concat(lB(this.computedInputId)),this.$el)},defaultRender:function(e){var r=e.addButtonText,n=e.addButtonVariant,i=e.addTag,a=e.disableAddButton,s=e.disabled,o=e.duplicateTagText,u=e.inputAttrs,l=e.inputClass,c=e.inputHandlers,d=e.inputType,h=e.invalidTagText,p=e.isDuplicate,g=e.isInvalid,_=e.isLimitReached,w=e.limitTagsText,S=e.noTagRemove,E=e.placeholder,x=e.removeTag,f=e.tagClass,m=e.tagPills,v=e.tagRemoveLabel,T=e.tagVariant,P=e.tags,k=this.$createElement,y=P.map(function(U){return U=ye(U),k(d1,{class:f,props:{disabled:s,noRemove:S,pill:m,removeLabel:v,tag:"li",title:U,variant:T},on:{remove:function(){return x(U)}},key:"tags_".concat(U)},U)}),$=h&&g?this.safeId("__invalid_feedback__"):null,C=o&&p?this.safeId("__duplicate_feedback__"):null,O=w&&_?this.safeId("__limit_feedback__"):null,A=[u["aria-describedby"],$,C,O].filter(Se).join(" "),D=k("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:l,style:{outline:0,minWidth:"5rem"},attrs:Cn(Cn({},u),{},{"aria-describedby":A||null,type:d,placeholder:E||null}),domProps:{value:u.value},on:c,directives:[{name:"model",value:u.value}],ref:"input"}),M=k(pn,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||_,variant:n},on:{click:function(){return i()}},ref:"button"},[this.normalizeSlot(GW)||r]),N=this.safeId("__tag_list__"),F=k("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":N},key:"tags_field"},[k("div",{staticClass:"d-flex",attrs:{role:"group"}},[D,M])]),j=k("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:N},key:"tags_list"},[y,F]),H=k();if(h||o||w){var W=this.feedbackAriaLive,Z=this.computedJoiner,te=k();$&&(te=k(Lv,{props:{id:$,ariaLive:W,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(Z)]));var Y=k();C&&(Y=k(Nv,{props:{id:C,ariaLive:W},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(Z)]));var G=k();O&&(G=k(Nv,{props:{id:O,ariaLive:W},key:"tags_limit_feedback"},[w])),H=k("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[te,Y,G])}return[j,H]}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.form,s=this.tags,o=this.computedInputId,u=this.hasFocus,l=this.noOuterFocus,c=Cn({tags:s.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:o,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Ei(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),d=this.normalizeSlot(ir,c)||this.defaultRender(c),h=e("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:o,"aria-live":u?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),p=e("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":u?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),g=e();if(r&&!n){var _=s.length>0;g=(_?s:[""]).map(function(w){return e("input",{class:{"sr-only":!_},attrs:{type:_?"hidden":"text",value:w,required:i,name:r,form:a},key:"tag_input_".concat(w)})})}return e("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:u&&!l&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||l?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[h,p,d,g])}}),wZ=he({components:{BFormTags:WA,BTags:WA,BFormTag:d1,BTag:d1}});function YA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?YA(Object(r),!0).forEach(function(n){OZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function OZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var SZ=Q(de(vs(vs(vs(vs(vs(vs({},et),Ai),$i),Mi),GS),{},{maxRows:b(le),noAutoShrink:b(L,!1),noResize:b(L,!1),rows:b(le,2),wrap:b(R,"soft")})),y3),KA=V.extend({name:y3,directives:{"b-visible":$S},mixins:[qa,it,Pi,Pu,Xa,da,hB,dB,pB],props:SZ,data:function(){return{heightInPx:null}},computed:{computedStyle:function(){var e={resize:!this.computedRows||this.noResize?"none":null};return this.computedRows||(e.height=this.heightInPx,e.overflowY="scroll"),e},computedMinRows:function(){return Ue(ae(this.rows,2),2)},computedMaxRows:function(){return Ue(this.computedMinRows,ae(this.maxRows,0))},computedRows:function(){return this.computedMinRows===this.computedMaxRows?this.computedMinRows:null},computedAttrs:function(){var e=this.disabled,r=this.required;return{id:this.safeId(),name:this.name||null,form:this.form||null,disabled:e,placeholder:this.placeholder||null,required:r,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,rows:this.computedRows,wrap:this.wrap||null,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return vs(vs({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{localValue:function(){this.setHeight()}},mounted:function(){this.setHeight()},methods:{visibleCallback:function(e){e&&this.$nextTick(this.setHeight)},setHeight:function(){var e=this;this.$nextTick(function(){Xe(function(){e.heightInPx=e.computeHeight()})})},computeHeight:function(){if(this.$isServer||!dt(this.computedRows))return null;var e=this.$el;if(!yi(e))return null;var r=kn(e),n=Ne(r.lineHeight,1),i=Ne(r.borderTopWidth,0)+Ne(r.borderBottomWidth,0),a=Ne(r.paddingTop,0)+Ne(r.paddingBottom,0),s=i+a,o=n*this.computedMinRows+s,u=Al(e,"height")||r.height;Er(e,"height","auto");var l=e.scrollHeight;Er(e,"height",u);var c=Ue((l-a)/n,2),d=Na(Ue(c,this.computedMinRows),this.computedMaxRows),h=Ue(HN(d*n+s),o);return this.noAutoShrink&&Ne(u,0)>h?u:"".concat(h,"px")}},render:function(e){return e("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),xZ=he({components:{BFormTextarea:KA,BTextarea:KA}}),vo;function qA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Gd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qA(Object(r),!0).forEach(function(n){Sl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Sl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function TZ(t,e){return AZ(t)||CZ(t,e)||PZ(t,e)||EZ()}function EZ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PZ(t,e){if(t){if(typeof t=="string")return XA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return XA(t,e)}}function XA(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function CZ(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,o;try{for(r=r.call(t);!(i=(s=r.next()).done)&&(n.push(s.value),!(e&&n.length===e));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw o}}return n}}function AZ(t){if(Array.isArray(t))return t}var g0=tr("value",{type:R,defaultValue:""}),$Z=g0.mixin,MZ=g0.props,ZA=g0.prop,kZ=g0.event,il="numeric",DZ=function(e){return"00".concat(e||"").slice(-2)},wp=function(e){e=ye(e);var r=null,n=null,i=null;if(_G.test(e)){var a=e.split(":").map(function(o){return ae(o,null)}),s=TZ(a,3);r=s[0],n=s[1],i=s[2]}return{hours:qe(r)?null:r,minutes:qe(n)?null:n,seconds:qe(i)?null:i,ampm:qe(r)||r<12?0:1}},RZ=function(e){var r=e.hours,n=e.minutes,i=e.seconds,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dt(r)||dt(n)||a&&dt(i))return"";var s=[r,n,a?i:0];return s.map(DZ).join(":")},PB=Q(de(Gd(Gd(Gd(Gd({},et),MZ),Ei(TB,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:b(R),disabled:b(L,!1),footerTag:b(R,"footer"),headerTag:b(R,"header"),hidden:b(L,!1),hideHeader:b(L,!1),hour12:b(L,null),labelAm:b(R,"AM"),labelAmpm:b(R,"AM/PM"),labelHours:b(R,"Hours"),labelMinutes:b(R,"Minutes"),labelNoTimeSelected:b(R,"No time selected"),labelPm:b(R,"PM"),labelSeconds:b(R,"Seconds"),labelSelected:b(R,"Selected time"),locale:b(Lr),minutesStep:b(le,1),readonly:b(L,!1),secondsStep:b(le,1),showSeconds:b(L,!1)})),dN),CB=V.extend({name:dN,mixins:[it,$Z,Ce],props:PB,data:function(){var e=wp(this[ZA]||"");return{modelHours:e.hours,modelMinutes:e.minutes,modelSeconds:e.seconds,modelAmpm:e.ampm,isLive:!1}},computed:{computedHMS:function(){var e=this.modelHours,r=this.modelMinutes,n=this.modelSeconds;return RZ({hours:e,minutes:r,seconds:n},this.showSeconds)},resolvedOptions:function(){var e=ze(this.locale).filter(Se),r={hour:il,minute:il,second:il};qe(this.hour12)||(r.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(e,r),i=n.resolvedOptions(),a=i.hour12||!1,s=i.hourCycle||(a?"h12":"h23");return{locale:i.locale,hour12:a,hourCycle:s}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Jg(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(Se).join(" ")||null},timeFormatter:function(){var e={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:il,minute:il,timeZone:"UTC"};return this.showSeconds&&(e.second=il),Fd(this.computedLocale,e)},numberFormatter:function(){var e=new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return e.format},formattedTimeString:function(){var e=this.modelHours,r=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(mr(Date.UTC(0,0,1,e,r,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var e=this.$createElement;return{increment:function(n){var i=n.hasFocus;return e(DP,{props:{scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(n){var i=n.hasFocus;return e(DP,{props:{flipV:!0,scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(vo={},Sl(vo,ZA,function(t,e){if(t!==e&&!Ve(wp(t),wp(this.computedHMS))){var r=wp(t),n=r.hours,i=r.minutes,a=r.seconds,s=r.ampm;this.modelHours=n,this.modelMinutes=i,this.modelSeconds=a,this.modelAmpm=s}}),Sl(vo,"computedHMS",function(e,r){e!==r&&this.$emit(kZ,e)}),Sl(vo,"context",function(e,r){Ve(e,r)||this.$emit(Ql,e)}),Sl(vo,"modelAmpm",function(e,r){var n=this;if(e!==r){var i=dt(this.modelHours)?0:this.modelHours;this.$nextTick(function(){e===0&&i>11?n.modelHours=i-12:e===1&&i<12&&(n.modelHours=i+12)})}}),Sl(vo,"modelHours",function(e,r){e!==r&&(this.modelAmpm=e>11?1:0)}),vo),created:function(){var e=this;this.$nextTick(function(){e.$emit(Ql,e.context)})},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||De(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=Gs();Xt(this.$el,e)&&_n(e)}},formatHours:function(e){var r=this.computedHourCycle;return e=this.is12Hour&&e>12?e-12:e,e=e===0&&r==="h12"?12:e===0&&r==="h24"?24:e===12&&r==="h11"?0:e,this.numberFormatter(e)},formatMinutes:function(e){return this.numberFormatter(e)},formatSeconds:function(e){return this.numberFormatter(e)},formatAmpm:function(e){return e===0?this.labelAm:e===1?this.labelPm:""},setHours:function(e){this.modelHours=e},setMinutes:function(e){this.modelMinutes=e},setSeconds:function(e){this.modelSeconds=e},setAmpm:function(e){this.modelAmpm=e},onSpinLeftRight:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.type,n=e.keyCode;if(!this.disabled&&r==="keydown"&&(n===Oi||n===Wa)){ke(e);var i=this.$refs.spinners||[],a=i.map(function(s){return!!s.hasFocus}).indexOf(!0);a=a+(n===Oi?-1:1),a=a>=i.length?0:a<0?i.length-1:a,De(i[a])}},setLive:function(e){var r=this;e?this.$nextTick(function(){Xe(function(){r.isLive=!0})}):this.isLive=!1}},render:function(e){var r=this;if(this.hidden)return e();var n=this.disabled,i=this.readonly,a=this.computedLocale,s=this.computedAriaLabelledby,o=this.labelIncrement,u=this.labelDecrement,l=this.valueId,c=this.focus,d=[],h=function(f,m,v){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},P=r.safeId("_spinbutton_".concat(m,"_"))||null;return d.push(P),e(c1,{class:v,props:Gd({id:P,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:i,locale:a,labelIncrement:o,labelDecrement:u,wrap:!0,ariaControls:l,min:0},T),scopedSlots:r.spinScopedSlots,on:{change:f},key:m,ref:"spinners",refInFor:!0})},p=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||i},attrs:{"aria-hidden":"true"}},[e(Hw,{props:{shiftV:4,scale:.5}}),e(Hw,{props:{shiftV:-4,scale:.5}})])},g=[];g.push(h(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),g.push(p()),g.push(h(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(g.push(p()),g.push(h(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&g.push(h(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),g=e("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||i?null:"-1","aria-labelledby":s},on:{keydown:this.onSpinLeftRight,click:function(f){f.target===f.currentTarget&&c()}}},g);var _=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||i},attrs:{id:l,role:"status",for:d.filter(Se).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:c,focus:c}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),w=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[_]),S=this.normalizeSlot(),E=S?e(this.footerTag,{staticClass:"b-time-footer"},S):e();return e("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":s||null,"aria-disabled":n?"true":null,"aria-readonly":i&&!n?"true":null}},[w,g,E])}}),Op;function JA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ma(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?JA(Object(r),!0).forEach(function(n){Cm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):JA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Cm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b0=tr("value",{type:R,defaultValue:""}),IZ=b0.mixin,NZ=b0.props,QA=b0.prop,LZ=b0.event,AB=Re(PB,["hidden","id","value"]),$B=Re(US,["formattedValue","id","lang","rtl","value"]),BZ=Q(de(Ma(Ma(Ma(Ma(Ma({},et),NZ),AB),$B),{},{closeButtonVariant:b(R,"outline-secondary"),labelCloseButton:b(R,"Close"),labelNowButton:b(R,"Select now"),labelResetButton:b(R,"Reset"),noCloseButton:b(L,!1),nowButton:b(L,!1),nowButtonVariant:b(R,"outline-primary"),resetButton:b(L,!1),resetButtonVariant:b(R,"outline-danger"),resetValue:b(Wo)})),w3),e$=V.extend({name:w3,mixins:[it,IZ],props:BZ,data:function(){return{localHMS:this[QA]||"",localLocale:null,isRTL:!1,formattedValue:"",isVisible:!1}},computed:{computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null}},watch:(Op={},Cm(Op,QA,function(t){this.localHMS=t||""}),Cm(Op,"localHMS",function(e){this.isVisible&&this.$emit(LZ,e||"")}),Op),methods:{focus:function(){this.disabled||De(this.$refs.control)},blur:function(){this.disabled||_n(this.$refs.control)},setAndClose:function(e){var r=this;this.localHMS=e,this.$nextTick(function(){r.$refs.control.hide(!0)})},onInput:function(e){this.localHMS!==e&&(this.localHMS=e)},onContext:function(e){var r=e.isRTL,n=e.locale,i=e.value,a=e.formatted;this.isRTL=r,this.localLocale=n,this.formattedValue=a,this.localHMS=i||"",this.$emit(Ql,e)},onNowButton:function(){var e=new Date,r=e.getHours(),n=e.getMinutes(),i=this.showSeconds?e.getSeconds():0,a=[r,n,i].map(function(s){return"00".concat(s||"").slice(-2)}).join(":");this.setAndClose(a)},onResetButton:function(){this.setAndClose(this.resetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var e=this;this.$nextTick(function(){De(e.$refs.time),e.$emit(Kr)})},onHidden:function(){this.isVisible=!1,this.$emit(Lt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?SY:OY,{attrs:{"aria-hidden":"true"}})}},render:function(e){var r=this.localHMS,n=this.disabled,i=this.readonly,a=this.$props,s=qe(this.placeholder)?this.labelNoTimeSelected:this.placeholder,o=[];if(this.nowButton){var u=this.labelNowButton;o.push(e(pn,{props:{size:"sm",disabled:n||i,variant:this.nowButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onNowButton},key:"now-btn"},u))}if(this.resetButton){o.length>0&&o.push(e("span"," "));var l=this.labelResetButton;o.push(e(pn,{props:{size:"sm",disabled:n||i,variant:this.resetButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onResetButton},key:"reset-btn"},l))}if(!this.noCloseButton){o.length>0&&o.push(e("span"," "));var c=this.labelCloseButton;o.push(e(pn,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onCloseButton},key:"close-btn"},c))}o.length>0&&(o=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":o.length>1,"justify-content-end":o.length<2}},o)]);var d=e(CB,{staticClass:"b-form-time-control",props:Ma(Ma({},ht(AB,a)),{},{value:r,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},o);return e(aB,{staticClass:"b-form-timepicker",props:Ma(Ma({},ht($B,a)),{},{id:this.safeId(),value:r,formattedValue:r?this.formattedValue:"",placeholder:s,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Cm({},Ua,this.$scopedSlots[Ua]||this.defaultButtonFn),ref:"control"},[d])}}),FZ=he({components:{BFormTimepicker:e$,BTimepicker:e$}}),jZ=he({components:{BImg:PS,BImgLazy:xL}}),zZ=Q({tag:b(R,"div")},$3),zv=V.extend({name:$3,functional:!0,props:zZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,me(i,{staticClass:"input-group-text"}),a)}}),WS=Q({append:b(L,!1),id:b(R),isText:b(L,!1),tag:b(R,"div")},P3),YS=V.extend({name:P3,functional:!0,props:WS,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.append;return e(n.tag,me(i,{class:{"input-group-append":s,"input-group-prepend":!s},attrs:{id:n.id}}),n.isText?[e(zv,a)]:a)}});function t$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function r$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?t$(Object(r),!0).forEach(function(n){HZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function HZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var VZ=Q(Re(WS,["append"]),C3),MB=V.extend({name:C3,functional:!0,props:VZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(YS,me(i,{props:r$(r$({},n),{},{append:!0})}),a)}});function n$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function i$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?n$(Object(r),!0).forEach(function(n){UZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function UZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var GZ=Q(Re(WS,["append"]),A3),kB=V.extend({name:A3,functional:!0,props:GZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(YS,me(i,{props:i$(i$({},n),{},{append:!1})}),a)}});function WZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var YZ=Q({append:b(R),appendHtml:b(R),id:b(R),prepend:b(R),prependHtml:b(R),size:b(R),tag:b(R,"div")},E3),KZ=V.extend({name:E3,functional:!0,props:YZ,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.prepend,u=n.prependHtml,l=n.append,c=n.appendHtml,d=n.size,h=s||{},p=a(),g={},_=e(),w=Ga(hP,h,p);(w||o||u)&&(_=e(kB,[w?wr(hP,g,h,p):e(zv,{domProps:St(u,o)})]));var S=e(),E=Ga(aP,h,p);return(E||l||c)&&(S=e(MB,[E?wr(aP,g,h,p):e(zv,{domProps:St(c,l)})])),e(n.tag,me(i,{staticClass:"input-group",class:WZ({},"input-group-".concat(d),d),attrs:{id:n.id||null,role:"group"}}),[_,wr(ir,g,h,p),S])}}),qZ=he({components:{BInputGroup:KZ,BInputGroupAddon:YS,BInputGroupPrepend:kB,BInputGroupAppend:MB,BInputGroupText:zv}});function XZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ZZ=Q({fluid:b(Br,!1),tag:b(R,"div")},WI),DB=V.extend({name:WI,functional:!0,props:ZZ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.fluid;return e(n.tag,me(i,{class:XZ({container:!(s||s===""),"container-fluid":s===!0||s===""},"container-".concat(s),s&&s!==!0)}),a)}});function hd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var JZ=Q({bgVariant:b(R),borderVariant:b(R),containerFluid:b(Br,!1),fluid:b(L,!1),header:b(R),headerHtml:b(R),headerLevel:b(le,3),headerTag:b(R,"h1"),lead:b(R),leadHtml:b(R),leadTag:b(R,"p"),tag:b(R,"div"),textVariant:b(R)},M3),QZ=V.extend({name:M3,functional:!0,props:JZ,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.header,l=i.headerHtml,c=i.lead,d=i.leadHtml,h=i.textVariant,p=i.bgVariant,g=i.borderVariant,_=o||{},w=s(),S={},E=e(),x=Ga(Us,_,w);if(x||u||l){var f=i.headerLevel;E=e(i.headerTag,{class:hd({},"display-".concat(f),f),domProps:x?{}:St(l,u)},wr(Us,S,_,w))}var m=e(),v=Ga(cP,_,w);(v||c||d)&&(m=e(i.leadTag,{staticClass:"lead",domProps:v?{}:St(d,c)},wr(cP,S,_,w)));var T=[E,m,wr(ir,S,_,w)];return i.fluid&&(T=[e(DB,{props:{fluid:i.containerFluid}},T)]),e(i.tag,me(a,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":i.fluid},hd(n,"text-".concat(h),h),hd(n,"bg-".concat(p),p),hd(n,"border-".concat(g),g),hd(n,"border",g),n)}),T)}}),eJ=he({components:{BJumbotron:QZ}});function a$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function s$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?a$(Object(r),!0).forEach(function(n){Am(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Am(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var W_=["start","end","center"],tJ=ph(function(t,e){return e=Ms(ye(e)),e?Ov(["row-cols",t,e].filter(Se).join("-")):null}),rJ=ph(function(t){return Ov(t.replace("cols",""))}),RB=[],nJ=function(){var e=jf().reduce(function(r,n){return r[ks(n,"cols")]=b(le),r},Ss(null));return RB=Pe(e),Q(de(s$(s$({},e),{},{alignContent:b(R,null,function(r){return Te(ze(W_,"between","around","stretch"),r)}),alignH:b(R,null,function(r){return Te(ze(W_,"between","around"),r)}),alignV:b(R,null,function(r){return Te(ze(W_,"baseline","stretch"),r)}),noGutters:b(L,!1),tag:b(R,"div")})),K3)},iJ={name:K3,functional:!0,get props(){return delete this.props,this.props=nJ(),this.props},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.alignV,u=i.alignH,l=i.alignContent,c=[];return RB.forEach(function(d){var h=tJ(rJ(d),i[d]);h&&c.push(h)}),c.push((n={"no-gutters":i.noGutters},Am(n,"align-items-".concat(o),o),Am(n,"justify-content-".concat(u),u),Am(n,"align-content-".concat(l),l),n)),e(i.tag,me(a,{staticClass:"row",class:c}),s)}},aJ=he({components:{BContainer:DB,BRow:iJ,BCol:Tm,BFormRow:Bv}}),sJ=he({components:{BLink:gn}});function oJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uJ=Q({flush:b(L,!1),horizontal:b(Br,!1),tag:b(R,"div")},k3),lJ=V.extend({name:k3,functional:!0,props:uJ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.horizontal===""?!0:n.horizontal;s=n.flush?!1:s;var o={staticClass:"list-group",class:oJ({"list-group-flush":n.flush,"list-group-horizontal":s===!0},"list-group-horizontal-".concat(s),Fe(s))};return e(n.tag,me(i,o),a)}});function o$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function u$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?o$(Object(r),!0).forEach(function(n){Wd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cJ=["a","router-link","button","b-link"],_0=Re(Ci,["event","routerTag"]);delete _0.href.default;delete _0.to.default;var dJ=Q(de(u$(u$({},_0),{},{action:b(L,!1),button:b(L,!1),tag:b(R,"div"),variant:b(R)})),D3),fJ=V.extend({name:D3,functional:!0,props:dJ,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.button,u=i.variant,l=i.active,c=i.disabled,d=mh(i),h=o?"button":d?gn:i.tag,p=!!(i.action||d||o||Te(cJ,i.tag)),g={},_={};return la(h,"button")?((!a.attrs||!a.attrs.type)&&(g.type="button"),i.disabled&&(g.disabled=!0)):_=ht(_0,i),e(h,me(a,{attrs:g,props:_,staticClass:"list-group-item",class:(n={},Wd(n,"list-group-item-".concat(u),u),Wd(n,"list-group-item-action",p),Wd(n,"active",l),Wd(n,"disabled",c),n)}),s)}}),hJ=he({components:{BListGroup:lJ,BListGroupItem:fJ}});function pJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mJ=Q({right:b(L,!1),tag:b(R,"div"),verticalAlign:b(R,"top")},I3),IB=V.extend({name:I3,functional:!0,props:mJ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.verticalAlign,o=s==="top"?"start":s==="bottom"?"end":s;return e(n.tag,me(i,{staticClass:"media-aside",class:pJ({"media-aside-right":n.right},"align-self-".concat(o),o)}),a)}}),vJ=Q({tag:b(R,"div")},N3),NB=V.extend({name:N3,functional:!0,props:vJ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,me(i,{staticClass:"media-body"}),a)}}),gJ=Q({noBody:b(L,!1),rightAlign:b(L,!1),tag:b(R,"div"),verticalAlign:b(R,"top")},R3),bJ=V.extend({name:R3,functional:!0,props:gJ,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=r.children,u=n.noBody,l=n.rightAlign,c=n.verticalAlign,d=u?o:[];if(!u){var h={},p=a(),g=s||{};d.push(e(NB,wr(ir,h,g,p)));var _=wr(WW,h,g,p);_&&d[l?"push":"unshift"](e(IB,{props:{right:l,verticalAlign:c}},_))}return e(n.tag,me(i,{staticClass:"media"}),d)}}),_J=he({components:{BMedia:bJ,BMediaAside:IB,BMediaBody:NB}}),On="$_documentListeners",yJ=V.extend({created:function(){this[On]={}},beforeDestroy:function(){var e=this;Pe(this[On]||{}).forEach(function(r){e[On][r].forEach(function(n){e.listenOffDocument(r,n)})}),this[On]=null},methods:{registerDocumentListener:function(e,r){this[On]&&(this[On][e]=this[On][e]||[],Te(this[On][e],r)||this[On][e].push(r))},unregisterDocumentListener:function(e,r){this[On]&&this[On][e]&&(this[On][e]=this[On][e].filter(function(n){return n!==r}))},listenDocument:function(e,r,n){e?this.listenOnDocument(r,n):this.listenOffDocument(r,n)},listenOnDocument:function(e,r){nt&&(ft(document,e,r,Be),this.registerDocumentListener(e,r))},listenOffDocument:function(e,r){nt&&yt(document,e,r,Be),this.unregisterDocumentListener(e,r)}}}),Sn="$_windowListeners",wJ=V.extend({created:function(){this[Sn]={}},beforeDestroy:function(){var e=this;Pe(this[Sn]||{}).forEach(function(r){e[Sn][r].forEach(function(n){e.listenOffWindow(r,n)})}),this[Sn]=null},methods:{registerWindowListener:function(e,r){this[Sn]&&(this[Sn][e]=this[Sn][e]||[],Te(this[Sn][e],r)||this[Sn][e].push(r))},unregisterWindowListener:function(e,r){this[Sn]&&this[Sn][e]&&(this[Sn][e]=this[Sn][e].filter(function(n){return n!==r}))},listenWindow:function(e,r,n){e?this.listenOnWindow(r,n):this.listenOffWindow(r,n)},listenOnWindow:function(e,r){nt&&(ft(window,e,r,Be),this.registerWindowListener(e,r))},listenOffWindow:function(e,r){nt&&yt(window,e,r,Be),this.unregisterWindowListener(e,r)}}}),sc=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function OJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var KS=V.extend({computed:{scopedStyleAttrs:function(){var e=sc(this.$parent);return e?OJ({},e,""):{}}}}),SJ=V.extend({abstract:!0,name:mW,props:{nodes:b(CN)},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){F7(this.$el)},render:function(e){var r=this.updatedNodes,n=ge(r)?r({}):r;return n=ze(n).filter(Se),n&&n.length>0&&!n[0].text?n[0]:e()}}),xJ={container:b([$s,R],"body"),disabled:b(L,!1),tag:b(R,"div")},TJ=V.extend({name:pW,mixins:[Ce],props:xJ,watch:{disabled:{immediate:!0,handler:function(e){e?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(nt){var e=this.container;return Fe(e)?In(e):e}else return null},mountTarget:function(){if(!this.$_target){var e=this.getContainer();if(e){var r=document.createElement("div");e.appendChild(r),this.$_target=new SJ({el:r,parent:this,propsData:{nodes:ze(this.normalizeSlot())}})}}},updateTarget:function(){if(nt&&this.$_target){var e=this.$scopedSlots.default;this.disabled||(e&&this.$_defaultFn!==e?this.$_target.updatedNodes=e:e||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=e}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(e){if(this.disabled){var r=ze(this.normalizeSlot()).filter(Se);if(r.length>0&&!r[0].text)return r[0]}return e()}});function h1(t){"@babel/helpers - typeof";return h1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h1(t)}function l$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function c$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?l$(Object(r),!0).forEach(function(n){EJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function EJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function PJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d$(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function CJ(t,e,r){return e&&d$(t.prototype,e),r&&d$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function $m(){return typeof Reflect<"u"&&Reflect.get?$m=Reflect.get:$m=function(e,r,n){var i=AJ(e,r);if(i){var a=Object.getOwnPropertyDescriptor(i,r);return a.get?a.get.call(arguments.length<3?e:n):a.value}},$m.apply(this,arguments)}function AJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=oc(t),t!==null););return t}function $J(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(t,"prototype",{value:Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),writable:!1}),e&&p1(t,e)}function p1(t,e){return p1=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},p1(t,e)}function MJ(t){var e=DJ();return function(){var n=oc(t),i;if(e){var a=oc(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return kJ(this,i)}}function kJ(t,e){if(e&&(h1(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return LB(t)}function LB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DJ(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(t)}var RJ=function(t){$J(r,t);var e=MJ(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return PJ(this,r),i=e.call(this,n,a),Vg(LB(i),{trigger:Qn()}),i}return CJ(r,null,[{key:"Defaults",get:function(){return c$(c$({},$m(oc(r),"Defaults",this)),{},{trigger:null})}}]),r}(Eu),f$=1040,IJ=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",NJ=".sticky-top",LJ=".navbar-toggler",BJ=V.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,r){nt&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),Gr(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),$r(document.body,"modal-open")),gt(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),Xe(function(){r.updateModals(e||[])})}},methods:{registerModal:function(e){e&&this.modals.indexOf(e)===-1&&this.modals.push(e)},unregisterModal:function(e){var r=this.modals.indexOf(e);r>-1&&(this.modals.splice(r,1),!e._isBeingDestroyed&&!e._isDestroyed&&this.resetModal(e))},getBaseZIndex:function(){if(nt&&dt(this.baseZIndex)){var e=document.createElement("div");Gr(e,"modal-backdrop"),Gr(e,"d-none"),Er(e,"display","none"),document.body.appendChild(e),this.baseZIndex=ae(kn(e).zIndex,f$),document.body.removeChild(e)}return this.baseZIndex||f$},getScrollbarWidth:function(){if(nt&&dt(this.scrollbarWidth)){var e=document.createElement("div");Gr(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=fu(e).width-e.clientWidth,document.body.removeChild(e)}return this.scrollbarWidth||0},updateModals:function(e){var r=this,n=this.getBaseZIndex(),i=this.getScrollbarWidth();e.forEach(function(a,s){a.zIndex=n+s,a.scrollbarWidth=i,a.isTop=s===r.modals.length-1,a.isBodyOverflowing=r.isBodyOverflowing})},resetModal:function(e){e&&(e.zIndex=this.getBaseZIndex(),e.isTop=!0,e.isBodyOverflowing=!1)},checkScrollbar:function(){var e=fu(document.body),r=e.left,n=e.right;this.isBodyOverflowing=r+n<window.innerWidth},setScrollbar:function(){var e=document.body;if(e._paddingChangedForModal=e._paddingChangedForModal||[],e._marginChangedForModal=e._marginChangedForModal||[],this.isBodyOverflowing){var r=this.scrollbarWidth;Fn(IJ).forEach(function(i){var a=Al(i,"paddingRight")||"";gt(i,"data-padding-right",a),Er(i,"paddingRight","".concat(Ne(kn(i).paddingRight,0)+r,"px")),e._paddingChangedForModal.push(i)}),Fn(NJ).forEach(function(i){var a=Al(i,"marginRight")||"";gt(i,"data-margin-right",a),Er(i,"marginRight","".concat(Ne(kn(i).marginRight,0)-r,"px")),e._marginChangedForModal.push(i)}),Fn(LJ).forEach(function(i){var a=Al(i,"marginRight")||"";gt(i,"data-margin-right",a),Er(i,"marginRight","".concat(Ne(kn(i).marginRight,0)+r,"px")),e._marginChangedForModal.push(i)});var n=Al(e,"paddingRight")||"";gt(e,"data-padding-right",n),Er(e,"paddingRight","".concat(Ne(kn(e).paddingRight,0)+r,"px"))}},resetScrollbar:function(){var e=document.body;e._paddingChangedForModal&&e._paddingChangedForModal.forEach(function(r){na(r,"data-padding-right")&&(Er(r,"paddingRight",Nn(r,"data-padding-right")||""),ra(r,"data-padding-right"))}),e._marginChangedForModal&&e._marginChangedForModal.forEach(function(r){na(r,"data-margin-right")&&(Er(r,"marginRight",Nn(r,"data-margin-right")||""),ra(r,"data-margin-right"))}),e._paddingChangedForModal=null,e._marginChangedForModal=null,na(e,"data-padding-right")&&(Er(e,"paddingRight",Nn(e,"data-padding-right")||""),ra(e,"data-padding-right"))}}}),al=new BJ;function h$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _s(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?h$(Object(r),!0).forEach(function(n){xn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var y0=tr("visible",{type:L,defaultValue:!1,event:vn}),FJ=y0.mixin,jJ=y0.props,Y_=y0.prop,zJ=y0.event,HJ="backdrop",VJ="esc",UJ="FORCE",GJ="toggle",Mm="cancel",km="headerclose",Dm="ok",WJ=[Mm,km,Dm],YJ={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},BB=Q(de(_s(_s(_s({},et),jJ),{},{ariaLabel:b(R),autoFocusButton:b(R,null,function(t){return qe(t)||Te(WJ,t)}),bodyBgVariant:b(R),bodyClass:b(we),bodyTextVariant:b(R),busy:b(L,!1),buttonSize:b(R),cancelDisabled:b(L,!1),cancelTitle:b(R,"Cancel"),cancelTitleHtml:b(R),cancelVariant:b(R,"secondary"),centered:b(L,!1),contentClass:b(we),dialogClass:b(we),footerBgVariant:b(R),footerBorderVariant:b(R),footerClass:b(we),footerTag:b(R,"footer"),footerTextVariant:b(R),headerBgVariant:b(R),headerBorderVariant:b(R),headerClass:b(we),headerCloseContent:b(R,"&times;"),headerCloseLabel:b(R,"Close"),headerCloseVariant:b(R),headerTag:b(R,"header"),headerTextVariant:b(R),hideBackdrop:b(L,!1),hideFooter:b(L,!1),hideHeader:b(L,!1),hideHeaderClose:b(L,!1),ignoreEnforceFocusSelector:b(Lr),lazy:b(L,!1),modalClass:b(we),noCloseOnBackdrop:b(L,!1),noCloseOnEsc:b(L,!1),noEnforceFocus:b(L,!1),noFade:b(L,!1),noStacking:b(L,!1),okDisabled:b(L,!1),okOnly:b(L,!1),okTitle:b(R,"OK"),okTitleHtml:b(R),okVariant:b(R,"primary"),returnFocus:b([$s,er,R]),scrollable:b(L,!1),size:b(R,"md"),static:b(L,!1),title:b(R),titleClass:b(we),titleHtml:b(R),titleSrOnly:b(L,!1),titleTag:b(R,"h5")})),an),FB=V.extend({name:an,mixins:[lr,it,FJ,yJ,Pi,wJ,Ce,KS],inheritAttrs:!1,props:BB,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,scrollbarWidth:0,zIndex:al.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalId:function(){return this.safeId()},modalOuterId:function(){return this.safeId("__BV_modal_outer_")},modalHeaderId:function(){return this.safeId("__BV_modal_header_")},modalBodyId:function(){return this.safeId("__BV_modal_body_")},modalTitleId:function(){return this.safeId("__BV_modal_title_")},modalContentId:function(){return this.safeId("__BV_modal_content_")},modalFooterId:function(){return this.safeId("__BV_modal_footer_")},modalBackdropId:function(){return this.safeId("__BV_modal_backdrop_")},modalClasses:function(){return[{fade:!this.noFade,show:this.isShow},this.modalClass]},modalStyles:function(){var e="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?e:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?e:"",display:this.isBlock?"block":"none"}},dialogClasses:function(){var e;return[(e={},xn(e,"modal-".concat(this.size),this.size),xn(e,"modal-dialog-centered",this.centered),xn(e,"modal-dialog-scrollable",this.scrollable),e),this.dialogClass]},headerClasses:function(){var e;return[(e={},xn(e,"bg-".concat(this.headerBgVariant),this.headerBgVariant),xn(e,"text-".concat(this.headerTextVariant),this.headerTextVariant),xn(e,"border-".concat(this.headerBorderVariant),this.headerBorderVariant),e),this.headerClass]},titleClasses:function(){return[{"sr-only":this.titleSrOnly},this.titleClass]},bodyClasses:function(){var e;return[(e={},xn(e,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),xn(e,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),e),this.bodyClass]},footerClasses:function(){var e;return[(e={},xn(e,"bg-".concat(this.footerBgVariant),this.footerBgVariant),xn(e,"text-".concat(this.footerTextVariant),this.footerTextVariant),xn(e,"border-".concat(this.footerBorderVariant),this.footerBorderVariant),e),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{cancel:this.onCancel,close:this.onClose,hide:this.hide,ok:this.onOk,visible:this.isVisible}},computeIgnoreEnforceFocusSelector:function(){return ze(this.ignoreEnforceFocusSelector).filter(Se).join(",").trim()},computedAttrs:function(){var e=this.static?{}:this.scopedStyleAttrs;return _s(_s(_s({},e),this.bvAttrs),{},{id:this.modalOuterId})},computedModalAttrs:function(){var e=this.isVisible,r=this.ariaLabel;return{id:this.modalId,role:"dialog","aria-hidden":e?null:"true","aria-modal":e?"true":null,"aria-label":r,"aria-labelledby":this.hideHeader||r||!(this.hasNormalizedSlot(g_)||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:xn({},Y_,function(t,e){t!==e&&this[t?"show":"hide"]()}),created:function(){this.$_observer=null,this.$_returnFocus=this.returnFocus||null},mounted:function(){this.zIndex=al.getBaseZIndex(),this.listenOnRoot(Zt(an,yr),this.showHandler),this.listenOnRoot(Zt(an,dn),this.hideHandler),this.listenOnRoot(Zt(an,xN),this.toggleHandler),this.listenOnRoot(Ct(an,yr),this.modalListener),this[Y_]===!0&&this.$nextTick(this.show)},beforeDestroy:function(){al.unregisterModal(this),this.setObserver(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{setObserver:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=Vf(this.$refs.content,this.checkModalOverflow.bind(this),YJ))},updateModel:function(e){e!==this[Y_]&&this.$emit(zJ,e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new RJ(e,_s(_s({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},r),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!(this.isVisible||this.isOpening)){if(this.isClosing){this.$once(Lt,this.show);return}this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent(yr,{cancelable:!0});if(this.emitEvent(e),e.defaultPrevented||this.isVisible){this.isOpening=!1,this.updateModel(!1);return}this.doShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(!(!this.isVisible||this.isClosing)){this.isClosing=!0;var r=this.buildEvent(dn,{cancelable:e!==UJ,trigger:e||null});if(e===Dm?this.$emit(SW,r):e===Mm?this.$emit(gW,r):e===km&&this.$emit(kw,r),this.emitEvent(r),r.defaultPrevented||!this.isVisible){this.isClosing=!1,this.updateModel(!0);return}this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(e){e&&(this.$_returnFocus=e),this.isVisible?this.hide(GJ):this.show()},getActiveElement:function(){var e=Gs(nt?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(al.modalsAreOpen&&this.noStacking){this.listenOnRootOnce(Ct(an,Lt),this.doShow);return}al.registerModal(this),this.isHidden=!1,this.$nextTick(function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick(function(){e.setObserver(!0)})})},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,Xe(function(){Xe(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,Xe(function(){e.emitEvent(e.buildEvent(Kr)),e.setEnforceFocus(!0),e.$nextTick(function(){e.focusFirst()})})},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var e=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick(function(){e.isClosing=!1,al.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent(Lt))})},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(an,r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function i(a){yt(r,"mouseup",i,Be),a.target===r&&(e.ignoreBackdropClick=!0)};ft(r,"mouseup",n,Be)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!Xt(document.body,e.target)||Xt(this.$refs.content,e.target)||this.hide(HJ)},onOk:function(){this.hide(Dm)},onCancel:function(){this.hide(Mm)},onClose:function(){this.hide(km)},onEsc:function(e){e.keyCode===wS&&this.isVisible&&!this.noCloseOnEsc&&this.hide(VJ)},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||Xt(r,n)||this.computeIgnoreEnforceFocusSelector&&fn(this.computeIgnoreEnforceFocusSelector,n,!0))){var i=Fw(this.$refs.content),a=this.$refs["bottom-trap"],s=this.$refs["top-trap"];if(a&&n===a){if(De(i[0]))return}else if(s&&n===s&&De(i[i.length-1]))return;De(r,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,r){e===this.modalId&&(this.$_returnFocus=r||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,r){e===this.modalId&&this.toggle(r)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;nt&&Xe(function(){var r=e.$refs.modal,n=e.$refs.content,i=e.getActiveElement();if(r&&n&&!(i&&Xt(n,i))){var a=e.$refs["ok-button"],s=e.$refs["cancel-button"],o=e.$refs["close-button"],u=e.autoFocusButton,l=u===Dm&&a?a.$el||a:u===Mm&&s?s.$el||s:u===km&&o?o.$el||o:n;De(l),l===n&&e.$nextTick(function(){r.scrollTop=0})}})},returnFocusTo:function(){var e=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick(function(){e=Fe(e)?In(e):e,e&&(e=e.$el||e,De(e))})},checkModalOverflow:function(){if(this.isVisible){var e=this.$refs.modal;this.isModalOverflowing=e.scrollHeight>document.documentElement.clientHeight}},makeModal:function(e){var r=e();if(!this.hideHeader){var n=this.normalizeSlot(f7,this.slotScope);if(!n){var i=e();this.hideHeaderClose||(i=e(hu,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot(h7)])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(g_)?{}:St(this.titleHtml,this.title)},this.normalizeSlot(g_,this.slotScope)),i]}r=e(this.headerTag,{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var a=e("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot(ir,this.slotScope)),s=e();if(!this.hideFooter){var o=this.normalizeSlot(d7,this.slotScope);if(!o){var u=e();this.okOnly||(u=e(pn,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(dP)?{}:St(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(dP)));var l=e(pn,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(fP)?{}:St(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(fP));o=[u,l]}s=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[o])}var c=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,a,s]),d=e(),h=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),h=e("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var p=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[d,c,h]),g=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[p]);g=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[g]);var _=e();return!this.hideBackdrop&&this.isVisible&&(_=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(c7))),_=e(xu,{props:{noFade:this.noFade}},[_]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[ja])},[g,_])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(TJ,[this.makeModal(e)])}}),KJ=Zt(an,yr),Hv="__bv_modal_directive__",jB=function(e){var r=e.modifiers,n=r===void 0?{}:r,i=e.arg,a=e.value;return Fe(a)?a:Fe(i)?i:Pe(n).reverse()[0]},zB=function(e){return e&&za(e,".dropdown-menu > li, li.nav-item")&&In("a, button",e)||e},HB=function(e){e&&e.tagName!=="BUTTON"&&(na(e,"role")||gt(e,"role","button"),e.tagName!=="A"&&!na(e,"tabindex")&&gt(e,"tabindex","0"))},qJ=function(e,r,n){var i=jB(r),a=zB(e);if(i&&a){var s=function(u){var l=u.currentTarget;if(!Ro(l)){var c=u.type,d=u.keyCode;(c==="click"||c==="keydown"&&(d===Ka||d===ca))&&n.context.$root.$emit(KJ,i,l)}};e[Hv]={handler:s,target:i,trigger:a},HB(a),ft(a,"click",s,ln),a.tagName!=="BUTTON"&&Nn(a,"role")==="button"&&ft(a,"keydown",s,ln)}},VB=function(e){var r=e[Hv]||{},n=r.trigger,i=r.handler;n&&i&&(yt(n,"click",i,ln),yt(n,"keydown",i,ln),yt(e,"click",i,ln),yt(e,"keydown",i,ln)),delete e[Hv]},p$=function(e,r,n){var i=e[Hv]||{},a=jB(r),s=zB(e);(a!==i.target||s!==i.trigger)&&(VB(e),qJ(e,r,n)),HB(s)},XJ=function(){},UB={inserted:p$,updated:XJ,componentUpdated:p$,unbind:VB};function ZJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m$(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function JJ(t,e,r){return e&&m$(t.prototype,e),r&&m$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function v$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ba(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?v$(Object(r),!0).forEach(function(n){QJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function QJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eQ(t){return iQ(t)||nQ(t)||rQ(t)||tQ()}function tQ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rQ(t,e){if(t){if(typeof t=="string")return m1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m1(t,e)}}function nQ(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iQ(t){if(Array.isArray(t))return m1(t)}function m1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var go="$bvModal",K_="_bv__modal",aQ=["id"].concat(eQ(Pe(Re(BB,["busy","lazy","noStacking","static","visible"])))),sQ=function(){},q_={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},g$=function(e){return aQ.reduce(function(r,n){return Bt(e[n])||(r[n]=e[n]),r},{})},oQ=function(e){var r=e.extend({name:tW,extends:FB,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var o=this,u=function(){o.$nextTick(function(){Xe(function(){o.$destroy()})})};this.$parent.$once(Lf,u),this.$once(Lt,u),this.$router&&this.$route&&this.$once(TN,this.$watch("$router",u)),this.show()}}),n=function(o,u){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sQ;if(!(bv(go)||eP(go))){var c=new r({parent:o,propsData:ba(ba(ba({},g$(Dn(an))),{},{hideHeaderClose:!0,hideHeader:!(u.title||u.titleHtml)},Re(u,Pe(q_))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Pe(q_).forEach(function(d){Bt(u[d])||(c.$slots[q_[d]]=ze(u[d]))}),new Promise(function(d,h){var p=!1;c.$once(Lf,function(){p||h(new Error("BootstrapVue MsgBox destroyed before resolve"))}),c.$on(dn,function(_){if(!_.defaultPrevented){var w=l(_);_.defaultPrevented||(p=!0,d(w))}});var g=document.createElement("div");document.body.appendChild(g),c.$mount(g)})}},i=function(o,u){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(!(!u||eP(go)||bv(go)||!ge(c)))return n(o,ba(ba({},g$(l)),{},{msgBoxContent:u}),c)},a=function(){function s(o){ZJ(this,s),fh(this,{_vm:o,_root:o.$root}),Vg(this,{_vm:Qn(),_root:Qn()})}return JJ(s,[{key:"show",value:function(u){if(u&&this._root){for(var l,c=arguments.length,d=new Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];(l=this._root).$emit.apply(l,[Zt(an,"show"),u].concat(d))}}},{key:"hide",value:function(u){if(u&&this._root){for(var l,c=arguments.length,d=new Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];(l=this._root).$emit.apply(l,[Zt(an,"hide"),u].concat(d))}}},{key:"msgBoxOk",value:function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=ba(ba({},l),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:u});return i(this._vm,u,c,function(){return!0})}},{key:"msgBoxConfirm",value:function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=ba(ba({},l),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return i(this._vm,u,c,function(d){var h=d.trigger;return h==="ok"?!0:h==="cancel"?!1:null})}}]),s}();e.mixin({beforeCreate:function(){this[K_]=new a(this)}}),uu(e.prototype,go)||cS(e.prototype,go,{get:function(){return(!this||!this[K_])&&ur('"'.concat(go,'" must be accessed from a Vue instance "this" context.'),an),this[K_]}})},uQ=he({plugins:{plugin:oQ}}),lQ=he({components:{BModal:FB},directives:{VBModal:UB},plugins:{BVModalPlugin:uQ}});function b$(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cQ=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},qS=Q({align:b(R),cardHeader:b(L,!1),fill:b(L,!1),justified:b(L,!1),pills:b(L,!1),small:b(L,!1),tabs:b(L,!1),tag:b(R,"ul"),vertical:b(L,!1)},L3),GB=V.extend({name:L3,functional:!0,props:qS,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.tabs,u=i.pills,l=i.vertical,c=i.align,d=i.cardHeader;return e(i.tag,me(a,{staticClass:"nav",class:(n={"nav-tabs":o,"nav-pills":u&&!o,"card-header-tabs":!l&&d&&o,"card-header-pills":!l&&d&&u&&!o,"flex-column":l,"nav-fill":!l&&i.fill,"nav-justified":!l&&i.justified},b$(n,cQ(c),!l&&c),b$(n,"small",i.small),n)}),s)}});function _$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function y$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_$(Object(r),!0).forEach(function(n){dQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var WB=Re(Ci,["event","routerTag"]),fQ=Q(de(y$(y$({},WB),{},{linkAttrs:b(er,{}),linkClasses:b(we)})),V3),hQ=V.extend({name:V3,functional:!0,props:fQ,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",me(Re(i,["on"]),{staticClass:"nav-item"}),[e(gn,{staticClass:"nav-link",class:n.linkClasses,attrs:n.linkAttrs,props:ht(WB,n),on:a},s)])}}),pQ={},mQ=V.extend({name:rW,functional:!0,props:pQ,render:function(e,r){var n=r.data,i=r.children;return e("li",me(n,{staticClass:"navbar-text"}),i)}});function w$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Vv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?w$(Object(r),!0).forEach(function(n){vQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var YB=Re(BS,["inline"]),gQ=Q(de(Vv(Vv({},YB),{},{formClass:b(we)})),H3),bQ=V.extend({name:H3,functional:!0,props:gQ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=r.listeners,o=e(FS,{class:n.formClass,props:Vv(Vv({},ht(YB,n)),{},{inline:!0}),attrs:i.attrs,on:s},a);return e("li",me(Re(i,["attrs","on"]),{staticClass:"form-inline"}),[o])}});function _Q(t){return SQ(t)||OQ(t)||wQ(t)||yQ()}function yQ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wQ(t,e){if(t){if(typeof t=="string")return v1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v1(t,e)}}function OQ(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function SQ(t){if(Array.isArray(t))return v1(t)}function v1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function S$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?O$(Object(r),!0).forEach(function(n){xQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var TQ=Q(de(S$(S$({},et),Ei(qL,[].concat(_Q(Pe(a0)),["html","lazy","menuClass","noCaret","role","text","toggleClass"])))),U3),Sp=V.extend({name:U3,mixins:[it,LS,Ce],props:TQ,computed:{toggleId:function(){return this.safeId("_BV_toggle_")},menuId:function(){return this.safeId("_BV_toggle_menu_")},dropdownClasses:function(){return[this.directionClass,this.boundaryClass,{show:this.visible}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){return[this.toggleClass,{"dropdown-toggle-no-caret":this.noCaret}]}},render:function(e){var r=this.toggleId,n=this.menuId,i=this.visible,a=this.hide,s=e(gn,{staticClass:"nav-link dropdown-toggle",class:this.toggleClasses,props:{href:"#".concat(this.id||""),disabled:this.disabled},attrs:{id:r,role:"button","aria-haspopup":"true","aria-expanded":i?"true":"false","aria-controls":n},on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle},ref:"toggle"},[this.normalizeSlot([Ua,C7])||e("span",{domProps:St(this.html,this.text)})]),o=e("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{tabindex:"-1","aria-labelledby":r,id:n},on:{keydown:this.onKeydown},ref:"menu"},!this.lazy||i?this.normalizeSlot(ir,{hide:a}):[e()]);return e("li",{staticClass:"nav-item b-nav-dropdown dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[s,o])}}),KB=he({components:{BNav:GB,BNavItem:hQ,BNavText:mQ,BNavForm:bQ,BNavItemDropdown:Sp,BNavItemDd:Sp,BNavDropdown:Sp,BNavDd:Sp},plugins:{DropdownPlugin:jS}});function X_(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var EQ=Q({fixed:b(R),print:b(L,!1),sticky:b(L,!1),tag:b(R,"nav"),toggleable:b(Br,!1),type:b(R,"light"),variant:b(R)},B3),PQ=V.extend({name:B3,mixins:[Ce],provide:function(){return{bvNavbar:this}},props:EQ,computed:{breakpointClass:function(){var e=this.toggleable,r=RN()[0],n=null;return e&&Fe(e)&&e!==r?n="navbar-expand-".concat(e):e===!1&&(n="navbar-expand"),n}},render:function(e){var r,n=this.tag,i=this.type,a=this.variant,s=this.fixed;return e(n,{staticClass:"navbar",class:[(r={"d-print":this.print,"sticky-top":this.sticky},X_(r,"navbar-".concat(i),i),X_(r,"bg-".concat(a),a),X_(r,"fixed-".concat(s),s),r),this.breakpointClass],attrs:{role:la(n,"nav")?null:"navigation"}},[this.normalizeSlot()])}});function x$(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var CQ=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},AQ=Q(Ei(qS,["tag","fill","justified","align","small"]),j3),$Q=V.extend({name:j3,functional:!0,props:AQ,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.align;return e(i.tag,me(a,{staticClass:"navbar-nav",class:(n={"nav-fill":i.fill,"nav-justified":i.justified},x$(n,CQ(o),o),x$(n,"small",i.small),n)}),s)}});function T$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function E$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?T$(Object(r),!0).forEach(function(n){MQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function MQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var w0=Re(Ci,["event","routerTag"]);w0.href.default=void 0;w0.to.default=void 0;var kQ=Q(de(E$(E$({},w0),{},{tag:b(R,"div")})),F3),DQ=V.extend({name:F3,functional:!0,props:kQ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.to||n.href,o=s?gn:n.tag;return e(o,me(i,{staticClass:"navbar-brand",props:s?ht(w0,n):{}}),a)}}),P$="navbar-toggler",RQ=Ct(Cr,"state"),IQ=Ct(Cr,"sync-state"),NQ=Q({disabled:b(L,!1),label:b(R,"Toggle navigation"),target:b(Lr,void 0,!0)},z3),C$=V.extend({name:z3,directives:{VBToggle:kL},mixins:[Pi,Ce],props:NQ,data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(RQ,this.handleStateEvent),this.listenOnRoot(IQ,this.handleStateEvent)},methods:{onClick:function(e){this.disabled||this.$emit(oi,e)},handleStateEvent:function(e,r){e===this.target&&(this.toggleState=r)}},render:function(e){var r=this.disabled;return e("button",{staticClass:P$,class:{disabled:r},directives:[{name:"VBToggle",value:this.target}],attrs:{type:"button",disabled:r,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot(ir,{expanded:this.toggleState})||e("span",{staticClass:"".concat(P$,"-icon")})])}}),LQ=he({components:{BNavbar:PQ,BNavbarNav:$Q,BNavbarBrand:DQ,BNavbarToggle:C$,BNavToggle:C$},plugins:{NavPlugin:KB,CollapsePlugin:DL,DropdownPlugin:jS}});function Z_(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var BQ=Q({label:b(R),role:b(R,"status"),small:b(L,!1),tag:b(R,"span"),type:b(R,"border"),variant:b(R)},tN),qB=V.extend({name:tN,functional:!0,props:BQ,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=s(),l=o||{},c=wr(MN,{},l,u)||i.label;return c&&(c=e("span",{staticClass:"sr-only"},c)),e(i.tag,me(a,{attrs:{role:c?i.role||"status":null,"aria-hidden":c?null:"true"},class:(n={},Z_(n,"spinner-".concat(i.type),i.type),Z_(n,"spinner-".concat(i.type,"-sm"),i.small),Z_(n,"text-".concat(i.variant),i.variant),n)}),[c||e()])}});function A$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function pd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?A$(Object(r),!0).forEach(function(n){FQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function FQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var J_={top:0,left:0,bottom:0,right:0},jQ=Q({bgColor:b(R),blur:b(R,"2px"),fixed:b(L,!1),noCenter:b(L,!1),noFade:b(L,!1),noWrap:b(L,!1),opacity:b(le,.85,function(t){var e=Ne(t,0);return e>=0&&e<=1}),overlayTag:b(R,"div"),rounded:b(Br,!1),show:b(L,!1),spinnerSmall:b(L,!1),spinnerType:b(R,"border"),spinnerVariant:b(R),variant:b(R,"light"),wrapTag:b(R,"div"),zIndex:b(le,10)},G3),zQ=V.extend({name:G3,mixins:[Ce],props:jQ,computed:{computedRounded:function(){var e=this.rounded;return e===!0||e===""?"rounded":e?"rounded-".concat(e):""},computedVariant:function(){var e=this.variant;return e&&!this.bgColor?"bg-".concat(e):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(e){var r=e.spinnerType,n=e.spinnerVariant,i=e.spinnerSmall;return this.$createElement(qB,{props:{type:r,variant:n,small:i}})}},render:function(e){var r=this,n=this.show,i=this.fixed,a=this.noFade,s=this.noWrap,o=this.slotScope,u=e();if(n){var l=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:pd(pd({},J_),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),c=e("div",{staticClass:"position-absolute",style:this.noCenter?pd({},J_):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(O7,o)||this.defaultOverlayFn(o)]);u=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!s||s&&!i,"position-fixed":s&&i},style:pd(pd({},J_),{},{zIndex:this.zIndex||10}),on:{click:function(h){return r.$emit(oi,h)}},key:"overlay"},[l,c])}return u=e(xu,{props:{noFade:a,appear:!0},on:{"after-enter":function(){return r.$emit(Kr)},"after-leave":function(){return r.$emit(Lt)}}},[u]),s?u:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},s?[u]:[this.normalizeSlot(),u])}}),HQ=he({components:{BOverlay:zQ}}),md;function $$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function M$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$$(Object(r),!0).forEach(function(n){Rm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Rm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var O0=tr("value",{type:Bf,defaultValue:null,validator:function(e){return!dt(e)&&ae(e,0)<1?(ur('"v-model" value must be a number greater than "0"',Ug),!1):!0}}),VQ=O0.mixin,UQ=O0.props,g1=O0.prop,GQ=O0.event,xp=3,XS=5,WQ=function(e,r){return lf(r,function(n,i){return{number:e+i,classes:null}})},k$=function(e){var r=ae(e)||1;return r<1?XS:r},D$=function(e,r){var n=ae(e)||1;return n>r?r:n<1?1:n},R$=function(e){if(e.keyCode===ca)return ke(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},ZS=Q(de(M$(M$({},UQ),{},{align:b(R,"left"),ariaLabel:b(R,"Pagination"),disabled:b(L,!1),ellipsisClass:b(we),ellipsisText:b(R,"…"),firstClass:b(we),firstNumber:b(L,!1),firstText:b(R,"«"),hideEllipsis:b(L,!1),hideGotoEndButtons:b(L,!1),labelFirstPage:b(R,"Go to first page"),labelLastPage:b(R,"Go to last page"),labelNextPage:b(R,"Go to next page"),labelPage:b(HW,"Go to page"),labelPrevPage:b(R,"Go to previous page"),lastClass:b(we),lastNumber:b(L,!1),lastText:b(R,"»"),limit:b(le,XS,function(t){return ae(t,0)<1?(ur('Prop "limit" must be a number greater than "0"',Ug),!1):!0}),nextClass:b(we),nextText:b(R,"›"),pageClass:b(we),pills:b(L,!1),prevClass:b(we),prevText:b(R,"‹"),size:b(R)})),"pagination"),XB=V.extend({mixins:[VQ,Ce],props:ZS,data:function(){var e=ae(this[g1],0);return e=e>0?e:-1,{currentPage:e,localNumberOfPages:1,localLimit:XS}},computed:{btnSize:function(){var e=this.size;return e?"pagination-".concat(e):""},alignment:function(){var e=this.align;return e==="center"?"justify-content-center":e==="end"||e==="right"?"justify-content-end":e==="fill"?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return D$(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var e=this.localLimit,r=this.localNumberOfPages,n=this.computedCurrentPage,i=this.hideEllipsis,a=this.firstNumber,s=this.lastNumber,o=!1,u=!1,l=e,c=1;r<=e?l=r:n<e-1&&e>xp?((!i||s)&&(u=!0,l=e-(a?0:1)),l=Na(l,e)):r-n+2<e&&e>xp?((!i||a)&&(o=!0,l=e-(s?0:1)),c=r-l+1):(e>xp&&(l=e-(i?0:2),o=!!(!i||a),u=!!(!i||s)),c=n-zf(l/2)),c<1?(c=1,o=!1):c>r-l&&(c=r-l+1,u=!1),o&&a&&c<4&&(l=l+2,c=1,o=!1);var d=c+l-1;return u&&s&&d>r-3&&(l=l+(d===r-2?2:3),u=!1),e<=xp&&(a&&c===1?l=Na(l+1,r,e+1):s&&r===c+l-1&&(c=Ue(c-1,1),l=Na(r-c+1,r,e+1))),l=Na(l,r-c+1),{showFirstDots:o,showLastDots:u,numberOfLinks:l,startNumber:c}},pageList:function(){var e=this.paginationParams,r=e.numberOfLinks,n=e.startNumber,i=this.computedCurrentPage,a=WQ(n,r);if(a.length>3){var s=i-n,o="bv-d-xs-down-none";if(s===0)for(var u=3;u<a.length;u++)a[u].classes=o;else if(s===a.length-1)for(var l=0;l<a.length-3;l++)a[l].classes=o;else{for(var c=0;c<s-1;c++)a[c].classes=o;for(var d=a.length-1;d>s+1;d--)a[d].classes=o}}return a}},watch:(md={},Rm(md,g1,function(t,e){t!==e&&(this.currentPage=D$(t,this.localNumberOfPages))}),Rm(md,"currentPage",function(e,r){e!==r&&this.$emit(GQ,e>0?e:null)}),Rm(md,"limit",function(e,r){e!==r&&(this.localLimit=k$(e))}),md),created:function(){var e=this;this.localLimit=k$(this.limit),this.$nextTick(function(){e.currentPage=e.currentPage>e.localNumberOfPages?e.localNumberOfPages:e.currentPage})},methods:{handleKeyNav:function(e){var r=e.keyCode,n=e.shiftKey;this.isNav||(r===Oi||r===hn?(ke(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):(r===Wa||r===Xr)&&(ke(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return Fn("button.page-link, a.page-link",this.$el).filter(function(e){return yi(e)})},focusCurrent:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return ae(Nn(n,"aria-posinset"),0)===e.computedCurrentPage});De(r)||e.focusFirst()})},focusFirst:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return!Ro(n)});De(r)})},focusLast:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().reverse().find(function(n){return!Ro(n)});De(r)})},focusPrev:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Gs());n>0&&!Ro(r[n-1])&&De(r[n-1])})},focusNext:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Gs());n<r.length-1&&!Ro(r[n+1])&&De(r[n+1])})}},render:function(e){var r=this,n=this.disabled,i=this.labelPage,a=this.ariaLabel,s=this.isNav,o=this.localNumberOfPages,u=this.computedCurrentPage,l=this.pageList.map(function(T){return T.number}),c=this.paginationParams,d=c.showFirstDots,h=c.showLastDots,p=this.align==="fill",g=[],_=function(P){return P===u},w=this.currentPage<1,S=function(P,k,y,$,C,O,A){var D=n||_(O)||w||P<1||P>o,M=P<1?1:P>o?o:P,N={disabled:D,page:M,index:M-1},F=r.normalizeSlot(y,N)||ye($)||e(),j=e(D?"span":s?gn:"button",{staticClass:"page-link",class:{"flex-grow-1":!s&&!D&&p},props:D||!s?{}:r.linkProps(P),attrs:{role:s?null:"menuitem",type:s||D?null:"button",tabindex:D||s?null:"-1","aria-label":k,"aria-controls":r.ariaControls||null,"aria-disabled":D?"true":null},on:D?{}:{"!click":function(W){r.onClick(W,P)},keydown:R$}},[F]);return e("li",{key:A,staticClass:"page-item",class:[{disabled:D,"flex-fill":p,"d-flex":p&&!s&&!D},C],attrs:{role:s?null:"presentation","aria-hidden":D?"true":null}},[j])},E=function(P){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",p?"flex-fill":"",r.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(P?"last":"first")},[e("span",{staticClass:"page-link"},[r.normalizeSlot(ZW)||ye(r.ellipsisText)||e()])])},x=function(P,k){var y=P.number,$=_(y)&&!w,C=n?null:$||w&&k===0?"0":"-1",O={role:s?null:"menuitemradio",type:s||n?null:"button","aria-disabled":n?"true":null,"aria-controls":r.ariaControls||null,"aria-label":oa(i)?i(y):"".concat(ge(i)?i():i," ").concat(y),"aria-checked":s?null:$?"true":"false","aria-current":s&&$?"page":null,"aria-posinset":s?null:y,"aria-setsize":s?null:o,tabindex:s?null:C},A=ye(r.makePage(y)),D={page:y,index:y-1,content:A,active:$,disabled:n},M=e(n?"span":s?gn:"button",{props:n||!s?{}:r.linkProps(y),staticClass:"page-link",class:{"flex-grow-1":!s&&!n&&p},attrs:O,on:n?{}:{"!click":function(F){r.onClick(F,y)},keydown:R$}},[r.normalizeSlot(S7,D)||A]);return e("li",{staticClass:"page-item",class:[{disabled:n,active:$,"flex-fill":p,"d-flex":p&&!s&&!n},P.classes,r.pageClass],attrs:{role:s?null:"presentation"},key:"page-".concat(y)},[M])},f=e();!this.firstNumber&&!this.hideGotoEndButtons&&(f=S(1,this.labelFirstPage,QW,this.firstText,this.firstClass,1,"pagination-goto-first")),g.push(f),g.push(S(u-1,this.labelPrevPage,T7,this.prevText,this.prevClass,1,"pagination-goto-prev")),g.push(this.firstNumber&&l[0]!==1?x({number:1},0):e()),g.push(d?E(!1):e()),this.pageList.forEach(function(T,P){var k=d&&r.firstNumber&&l[0]!==1?1:0;g.push(x(T,P+k))}),g.push(h?E(!0):e()),g.push(this.lastNumber&&l[l.length-1]!==o?x({number:o},-1):e()),g.push(S(u+1,this.labelNextPage,w7,this.nextText,this.nextClass,o,"pagination-goto-next"));var m=e();!this.lastNumber&&!this.hideGotoEndButtons&&(m=S(o,this.labelLastPage,u7,this.lastText,this.lastClass,o,"pagination-goto-last")),g.push(m);var v=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:s?null:"menubar","aria-disabled":n?"true":"false","aria-label":s?null:a||null},on:s?{}:{keydown:this.handleKeyNav},ref:"ul"},g);return s?e("nav",{attrs:{"aria-disabled":n?"true":null,"aria-hidden":n?"true":"false","aria-label":s&&a||null}},[v]):v}});function I$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function N$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?I$(Object(r),!0).forEach(function(n){YQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function YQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ZB=20,JB=0,L$=function(e){return Ue(ae(e)||ZB,1)},B$=function(e){return Ue(ae(e)||JB,0)},KQ=Q(de(N$(N$({},ZS),{},{ariaControls:b(R),perPage:b(le,ZB),totalRows:b(le,JB)})),Ug),qQ=V.extend({name:Ug,mixins:[XB],props:KQ,computed:{numberOfPages:function(){var e=HN(B$(this.totalRows)/L$(this.perPage));return e<1?1:e},pageSizeNumberOfPages:function(){return{perPage:L$(this.perPage),totalRows:B$(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(e,r){qe(r)||(e.perPage!==r.perPage&&e.totalRows===r.totalRows?this.currentPage=1:e.numberOfPages!==r.numberOfPages&&this.currentPage>e.numberOfPages&&(this.currentPage=1)),this.localNumberOfPages=e.numberOfPages}},created:function(){var e=this;this.localNumberOfPages=this.numberOfPages;var r=ae(this[g1],0);r>0?this.currentPage=r:this.$nextTick(function(){e.currentPage=0})},methods:{onClick:function(e,r){var n=this;if(r!==this.currentPage){var i=e.target,a=new Eu(wN,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(this.currentPage=r,this.$emit(vn,this.currentPage),this.$nextTick(function(){yi(i)&&n.$el.contains(i)?De(i):n.focusCurrent()}))}},makePage:function(e){return e},linkProps:function(){return{}}}}),XQ=he({components:{BPagination:qQ}});function F$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Q_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?F$(Object(r),!0).forEach(function(n){ZQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):F$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ZQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var JQ=function(e){return Ue(ae(e,0),1)},QB=Re(Ci,["event","routerTag"]),QQ=Q(de(Q_(Q_(Q_({},ZS),QB),{},{baseUrl:b(R,"/"),linkGen:b(Zr),noPageDetect:b(L,!1),numberOfPages:b(le,1,function(t){var e=ae(t,0);return e<1?(ur('Prop "number-of-pages" must be a number greater than "0"',Mw),!1):!0}),pageGen:b(Zr),pages:b(qr),useRouter:b(L,!1)})),Mw),eee=V.extend({name:Mw,mixins:[XB],props:QQ,computed:{isNav:function(){return!0},computedValue:function(){var e=ae(this.value,0);return e<1?null:e}},watch:{numberOfPages:function(){var e=this;this.$nextTick(function(){e.setNumberOfPages()})},pages:function(){var e=this;this.$nextTick(function(){e.setNumberOfPages()})}},created:function(){this.setNumberOfPages()},mounted:function(){var e=this;this.$router&&this.$watch("$route",function(){e.$nextTick(function(){Xe(function(){e.guessCurrentPage()})})})},methods:{setNumberOfPages:function(){var e=this;Ge(this.pages)&&this.pages.length>0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=JQ(this.numberOfPages),this.$nextTick(function(){e.guessCurrentPage()})},onClick:function(e,r){var n=this;if(r!==this.currentPage){var i=e.currentTarget||e.target,a=new Eu(wN,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(Xe(function(){n.currentPage=r,n.$emit(vn,r)}),this.$nextTick(function(){_n(i)}))}},getPageInfo:function(e){if(!Ge(this.pages)||this.pages.length===0||Bt(this.pages[e-1])){var r="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:r}:r,text:ye(e)}}var n=this.pages[e-1];if(Nt(n)){var i=n.link;return{link:Nt(i)?i:this.useRouter?{path:i}:i,text:ye(n.text||e)}}else return{link:ye(n),text:ye(e)}},makePage:function(e){var r=this.pageGen,n=this.getPageInfo(e);return oa(r)?r(e,n):n.text},makeLink:function(e){var r=this.linkGen,n=this.getPageInfo(e);return oa(r)?r(e,n):n.link},linkProps:function(e){var r=ht(QB,this),n=this.makeLink(e);return this.useRouter||Nt(n)?r.to=n:r.href=n,r},resolveLink:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r;try{r=document.createElement("a"),r.href=YN({to:e},"a","/","/"),document.body.appendChild(r);var n=r,i=n.pathname,a=n.hash,s=n.search;return document.body.removeChild(r),{path:i,hash:a,query:TP(s)}}catch{try{r&&r.parentNode&&r.parentNode.removeChild(r)}catch{}return{}}},resolveRoute:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";try{var r=this.$router.resolve(e,this.$route).route;return{path:r.path,hash:r.hash,query:r.query}}catch{return{}}},guessCurrentPage:function(){var e=this.$router,r=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(nt||!nt&&e))for(var i=e&&r?{path:r.path,hash:r.hash,query:r.query}:{},a=nt?window.location||document.location:null,s=a?{path:a.pathname,hash:a.hash,query:TP(a.search)}:{},o=1;!n&&o<=this.localNumberOfPages;o++){var u=this.makeLink(o);e&&(Nt(u)||this.useRouter)?n=Ve(this.resolveRoute(u),i)?o:null:nt?n=Ve(this.resolveLink(u),s)?o:null:n=-1}this.currentPage=n>0?n:0}}}),tee=he({components:{BPaginationNav:eee}}),ree={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},nee={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},iee={arrowPadding:b(le,6),boundary:b([$s,R],"scrollParent"),boundaryPadding:b(le,5),fallbackPlacement:b(Lr,"flip"),offset:b(le,0),placement:b(R,"top"),target:b([$s,vI])},aee=V.extend({name:uW,props:iee,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var e=this,r=this.placement;return{placement:this.getAttachment(r),modifiers:{offset:{offset:this.getOffset(r)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(i){i.originalPlacement!==i.placement&&e.popperPlacementChange(i)},onUpdate:function(i){e.popperPlacementChange(i)}}}},created:function(){var e=this;this.$_popper=null,this.localShow=!0,this.$on(yr,function(n){e.popperCreate(n)});var r=function(){e.$nextTick(function(){Xe(function(){e.$destroy()})})};this.$parent.$once(Lf,r),this.$once(Lt,r)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},methods:{hide:function(){this.localShow=!1},getAttachment:function(e){return ree[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var r=this.$refs.arrow||In(".arrow",this.$el),n=Ne(kn(r).width,0)+Ne(this.arrowPadding,0);switch(nee[String(e).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(e){this.destroyPopper(),this.$_popper=new n1(this.target,e,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(e){this.attachment=this.getAttachment(e.placement)},renderTemplate:function(e){return e("div")}},render:function(e){var r=this,n=this.noFade;return e(xu,{props:{appear:!0,noFade:n},on:{beforeEnter:function(a){return r.$emit(yr,a)},afterEnter:function(a){return r.$emit(Kr,a)},beforeLeave:function(a){return r.$emit(dn,a)},afterLeave:function(a){return r.$emit(Lt,a)}}},[this.localShow?this.renderTemplate(e):e()])}});function j$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function z$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?j$(Object(r),!0).forEach(function(n){b1(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function b1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var see={html:b(L,!1),id:b(R)},eF=V.extend({name:fW,extends:aee,mixins:[KS],props:see,data:function(){return{title:"",content:"",variant:null,customClass:null,interactive:!0}},computed:{templateType:function(){return"tooltip"},templateClasses:function(){var e,r=this.variant,n=this.attachment,i=this.templateType;return[(e={noninteractive:!this.interactive},b1(e,"b-".concat(i,"-").concat(r),r),b1(e,"bs-".concat(i,"-").concat(n),n),e),this.customClass]},templateAttributes:function(){var e=this.id;return z$(z$({},this.$parent.$parent.$attrs),{},{id:e,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var e=this;return{mouseenter:function(n){e.$emit(bN,n)},mouseleave:function(n){e.$emit(_N,n)},focusin:function(n){e.$emit(_v,n)},focusout:function(n){e.$emit(yv,n)}}}},methods:{renderTemplate:function(e){var r=this.title,n=ge(r)?r({}):r,i=this.html&&!ge(r)?{innerHTML:r}:{};return e("div",{staticClass:"tooltip b-tooltip",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[e("div",{staticClass:"arrow",ref:"arrow"}),e("div",{staticClass:"tooltip-inner",domProps:i},[n])])}}});function H$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ey(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?H$(Object(r),!0).forEach(function(n){oee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):H$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function oee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tF=".modal-content",uee=Ct(an,Lt),lee=".b-sidebar",cee=[tF,lee].join(", "),dee="dropdown",fee=".dropdown-menu.show",Tp="data-original-title",V$={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},JS=V.extend({name:dW,mixins:[Pi],data:function(){return ey(ey({},V$),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1})},computed:{templateType:function(){return"tooltip"},computedId:function(){return this.id||"__bv_".concat(this.templateType,"_").concat(this[ja],"__")},computedDelay:function(){var e={show:0,hide:0};return Nr(this.delay)?(e.show=Ue(ae(this.delay.show,0),0),e.hide=Ue(ae(this.delay.hide,0),0)):(gi(this.delay)||Fe(this.delay))&&(e.show=e.hide=Ue(ae(this.delay,0),0)),e},computedTriggers:function(){return ze(this.triggers).filter(Se).join(" ").trim().toLowerCase().split(/\s+/).sort()},isWithActiveTrigger:function(){for(var e in this.activeTrigger)if(this.activeTrigger[e])return!0;return!1},computedTemplateData:function(){var e=this.title,r=this.content,n=this.variant,i=this.customClass,a=this.noFade,s=this.interactive;return{title:e,content:r,variant:n,customClass:i,noFade:a,interactive:s}}},watch:{computedTriggers:function(e,r){var n=this;Ve(e,r)||this.$nextTick(function(){n.unListen(),r.forEach(function(i){Te(e,i)||n.activeTrigger[i]&&(n.activeTrigger[i]=!1)}),n.listen()})},computedTemplateData:function(){this.handleTemplateUpdate()},title:function(e,r){e!==r&&!e&&this.hide()},disabled:function(e){e?this.disable():this.enable()}},created:function(){var e=this;this.$_tip=null,this.$_hoverTimeout=null,this.$_hoverState="",this.$_visibleInterval=null,this.$_enabled=!this.disabled,this.$_noop=Hf.bind(this),this.$parent&&this.$parent.$once(TN,function(){e.$nextTick(function(){Xe(function(){e.$destroy()})})}),this.$nextTick(function(){var r=e.getTarget();r&&Xt(document.body,r)?(e.scopeId=sc(e.$parent),e.listen()):ur(Fe(e.target)?'Unable to find target element by ID "#'.concat(e.target,'" in document.'):"The provided target is no valid HTML element.",e.templateType)})},updated:function(){this.$nextTick(this.handleTemplateUpdate)},deactivated:function(){this.forceHide()},beforeDestroy:function(){this.unListen(),this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.clearVisibilityInterval(),this.destroyTemplate(),this.$_noop=null},methods:{getTemplate:function(){return eF},updateData:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=!1;Pe(V$).forEach(function(i){!Bt(r[i])&&e[i]!==r[i]&&(e[i]=r[i],i==="title"&&(n=!0))}),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var e=this.getContainer(),r=this.getTemplate(),n=this.$_tip=new r({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:ae(this.offset,0),arrowPadding:ae(this.arrowPadding,0),boundaryPadding:ae(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once(yr,this.onTemplateShow),n.$once(Kr,this.onTemplateShown),n.$once(dn,this.onTemplateHide),n.$once(Lt,this.onTemplateHidden),n.$once(Lf,this.destroyTemplate),n.$on(_v,this.handleEvent),n.$on(yv,this.handleEvent),n.$on(bN,this.handleEvent),n.$on(_N,this.handleEvent),n.$mount(e.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch{}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var e=this,r=this.$_tip;if(r){var n=["title","content","variant","customClass","noFade","interactive"];n.forEach(function(i){r[i]!==e[i]&&(r[i]=e[i])})}},show:function(){var e=this.getTarget();if(!(!e||!Xt(document.body,e)||!yi(e)||this.dropdownOpen()||(qe(this.title)||this.title==="")&&(qe(this.content)||this.content===""))&&!(this.$_tip||this.localShow)){this.localShow=!0;var r=this.buildEvent(yr,{cancelable:!0});if(this.emitEvent(r),r.defaultPrevented){this.destroyTemplate();return}this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.getTemplateElement();if(!r||!this.localShow){this.restoreTitle();return}var n=this.buildEvent(dn,{cancelable:!e});this.emitEvent(n),!n.defaultPrevented&&this.hideTemplate()},forceHide:function(){var e=this.getTemplateElement();!e||!this.localShow||(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent(mm))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(pm))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="",e==="out"&&this.leave(null),this.emitEvent(this.buildEvent(Kr))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(Lt))},getTarget:function(){var e=this.target;return Fe(e)?e=Lw(e.replace(/^#/,"")):ge(e)?e=e():e&&(e=e.$el||e),ut(e)?e:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var e=this.getTarget();return e&&e.id?e.id:null},getContainer:function(){var e=this.container?this.container.$el||this.container:!1,r=document.body,n=this.getTarget();return e===!1?fn(cee,n)||r:Fe(e)&&Lw(e.replace(/^#/,""))||r},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&fn(tF,e)},isDropdown:function(){var e=this.getTarget();return e&&Ff(e,dee)},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&In(fee,e)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var e in this.activeTrigger)this.activeTrigger[e]=!1},addAriaDescribedby:function(){var e=this.getTarget(),r=Nn(e,"aria-describedby")||"";r=r.split(/\s+/).concat(this.computedId).join(" ").trim(),gt(e,"aria-describedby",r)},removeAriaDescribedby:function(){var e=this,r=this.getTarget(),n=Nn(r,"aria-describedby")||"";n=n.split(/\s+/).filter(function(i){return i!==e.computedId}).join(" ").trim(),n?gt(r,"aria-describedby",n):ra(r,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(na(e,"title")){var r=Nn(e,"title");gt(e,"title",""),r&&gt(e,Tp,r)}},restoreTitle:function(){var e=this.getTarget();if(na(e,Tp)){var r=Nn(e,Tp);ra(e,Tp),r&&gt(e,"title",r)}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Eu(e,ey({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},r))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(this.templateType,r),e),this.$emit(r,e)},listen:function(){var e=this,r=this.getTarget();r&&(this.setRootListener(!0),this.computedTriggers.forEach(function(n){n==="click"?ft(r,"click",e.handleEvent,Be):n==="focus"?(ft(r,"focusin",e.handleEvent,Be),ft(r,"focusout",e.handleEvent,Be)):n==="blur"?ft(r,"focusout",e.handleEvent,Be):n==="hover"&&(ft(r,"mouseenter",e.handleEvent,Be),ft(r,"mouseleave",e.handleEvent,Be))},this))},unListen:function(){var e=this,r=["click","focusin","focusout","mouseenter","mouseleave"],n=this.getTarget();this.setRootListener(!1),r.forEach(function(i){n&&yt(n,i,e.handleEvent,Be)},this)},setRootListener:function(e){var r=this.$root;if(r){var n=e?"$on":"$off",i=this.templateType;r[n](Zt(i,dn),this.doHide),r[n](Zt(i,yr),this.doShow),r[n](Zt(i,Dw),this.doDisable),r[n](Zt(i,Rw),this.doEnable)}},setWhileOpenListeners:function(e){this.setModalListener(e),this.setDropdownListener(e),this.visibleCheck(e),this.setOnTouchStartListener(e)},visibleCheck:function(e){var r=this;this.clearVisibilityInterval();var n=this.getTarget();e&&(this.$_visibleInterval=setInterval(function(){var i=r.getTemplateElement();i&&r.localShow&&(!n.parentNode||!yi(n))&&r.forceHide()},100))},setModalListener:function(e){this.isInModal()&&this.$root[e?"$on":"$off"](uee,this.forceHide)},setOnTouchStartListener:function(e){var r=this;"ontouchstart"in document.documentElement&&du(document.body.children).forEach(function(n){wi(e,n,"mouseover",r.$_noop)})},setDropdownListener:function(e){var r=this.getTarget();!r||!this.$root||!this.isDropdown||r.__vue__&&r.__vue__[e?"$on":"$off"](Kr,this.forceHide)},handleEvent:function(e){var r=this.getTarget();if(!(!r||Ro(r)||!this.$_enabled||this.dropdownOpen())){var n=e.type,i=this.computedTriggers;if(n==="click"&&Te(i,"click"))this.click(e);else if(n==="mouseenter"&&Te(i,"hover"))this.enter(e);else if(n==="focusin"&&Te(i,"focus"))this.enter(e);else if(n==="focusout"&&(Te(i,"focus")||Te(i,"blur"))||n==="mouseleave"&&Te(i,"hover")){var a=this.getTemplateElement(),s=e.target,o=e.relatedTarget;if(a&&Xt(a,s)&&Xt(r,o)||a&&Xt(r,s)&&Xt(a,o)||a&&Xt(a,s)&&Xt(a,o)||Xt(r,s)&&Xt(r,o))return;this.leave(e)}}},doHide:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.forceHide()},doShow:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.show()},doDisable:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.disable()},doEnable:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.enable()},click:function(e){!this.$_enabled||this.dropdownOpen()||(De(e.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){!this.$_enabled||this.dropdownOpen()||(this.localShow?this.leave(null):this.enter(null))},enter:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(r&&(this.activeTrigger[r.type==="focusin"?"focus":"hover"]=!0),this.localShow||this.$_hoverState==="in"){this.$_hoverState="in";return}this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout(function(){e.$_hoverState==="in"?e.show():e.localShow||e.restoreTitle()},this.computedDelay.show)):this.show()},leave:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;r&&(this.activeTrigger[r.type==="focusout"?"focus":"hover"]=!1,r.type==="focusout"&&Te(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),!this.isWithActiveTrigger&&(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout(function(){e.$_hoverState==="out"&&e.hide()},this.computedDelay.hide):this.hide())}}}),en,bo;function U$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function hee(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?U$(Object(r),!0).forEach(function(n){pr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function pr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pf="disabled",G$=ro+pf,Uv="show",pee=ro+Uv,rF=Q((en={boundary:b([$s,er,R],"scrollParent"),boundaryPadding:b(le,50),container:b([$s,er,R]),customClass:b(R),delay:b(VW,50)},pr(en,pf,b(L,!1)),pr(en,"fallbackPlacement",b(Lr,"flip")),pr(en,"id",b(R)),pr(en,"noFade",b(L,!1)),pr(en,"noninteractive",b(L,!1)),pr(en,"offset",b(le,0)),pr(en,"placement",b(R,"top")),pr(en,Uv,b(L,!1)),pr(en,"target",b([$s,vI,Zr,er,R],void 0,!0)),pr(en,"title",b(R)),pr(en,"triggers",b(Lr,"hover focus")),pr(en,"variant",b(R)),en),ko),nF=V.extend({name:ko,mixins:[Ce],inheritAttrs:!1,props:rF,data:function(){return{localShow:this[Uv],localTitle:"",localContent:""}},computed:{templateData:function(){return hee({title:this.localTitle,content:this.localContent,interactive:!this.noninteractive},Ei(this.$props,["boundary","boundaryPadding","container","customClass","delay","fallbackPlacement","id","noFade","offset","placement","target","target","triggers","variant",pf]))},templateTitleContent:function(){var e=this.title,r=this.content;return{title:e,content:r}}},watch:(bo={},pr(bo,Uv,function(t,e){t!==e&&t!==this.localShow&&this.$_toolpop&&(t?this.$_toolpop.show():this.$_toolpop.forceHide())}),pr(bo,pf,function(t){t?this.doDisable():this.doEnable()}),pr(bo,"localShow",function(e){this.$emit(pee,e)}),pr(bo,"templateData",function(){var e=this;this.$nextTick(function(){e.$_toolpop&&e.$_toolpop.updateData(e.templateData)})}),pr(bo,"templateTitleContent",function(){this.$nextTick(this.updateContent)}),bo),created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off(iP,this.doOpen),this.$off(kw,this.doClose),this.$off(Dw,this.doDisable),this.$off(Rw,this.doEnable),this.$_toolpop&&(this.$_toolpop.$destroy(),this.$_toolpop=null)},mounted:function(){var e=this;this.$nextTick(function(){var r=e.getComponent();e.updateContent();var n=sc(e)||sc(e.$parent),i=e.$_toolpop=new r({parent:e,_scopeId:n||void 0});i.updateData(e.templateData),i.$on(yr,e.onShow),i.$on(Kr,e.onShown),i.$on(dn,e.onHide),i.$on(Lt,e.onHidden),i.$on(pm,e.onDisabled),i.$on(mm,e.onEnabled),e[pf]&&e.doDisable(),e.$on(iP,e.doOpen),e.$on(kw,e.doClose),e.$on(Dw,e.doDisable),e.$on(Rw,e.doEnable),e.localShow&&i.show()})},methods:{getComponent:function(){return JS},updateContent:function(){this.setTitle(this.normalizeSlot()||this.title)},setTitle:function(e){e=qe(e)?"":e,this.localTitle!==e&&(this.localTitle=e)},setContent:function(e){e=qe(e)?"":e,this.localContent!==e&&(this.localContent=e)},onShow:function(e){this.$emit(yr,e),e&&(this.localShow=!e.defaultPrevented)},onShown:function(e){this.localShow=!0,this.$emit(Kr,e)},onHide:function(e){this.$emit(dn,e)},onHidden:function(e){this.$emit(Lt,e),this.localShow=!1},onDisabled:function(e){e&&e.type===pm&&(this.$emit(G$,!0),this.$emit(pm,e))},onEnabled:function(e){e&&e.type===mm&&(this.$emit(G$,!1),this.$emit(mm,e))},doOpen:function(){!this.localShow&&this.$_toolpop&&this.$_toolpop.show()},doClose:function(){this.localShow&&this.$_toolpop&&this.$_toolpop.hide()},doDisable:function(){this.$_toolpop&&this.$_toolpop.disable()},doEnable:function(){this.$_toolpop&&this.$_toolpop.enable()}},render:function(e){return e()}}),mee=V.extend({name:oW,extends:eF,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(e){var r=this.title,n=this.content,i=ge(r)?r({}):r,a=ge(n)?n({}):n,s=this.html&&!ge(r)?{innerHTML:r}:{},o=this.html&&!ge(n)?{innerHTML:n}:{};return e("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[e("div",{staticClass:"arrow",ref:"arrow"}),qe(i)||i===""?e():e("h3",{staticClass:"popover-header",domProps:s},[i]),qe(a)||a===""?e():e("div",{staticClass:"popover-body",domProps:o},[a])])}}}),iF=V.extend({name:sW,extends:JS,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return mee}}});function W$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Y$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?W$(Object(r),!0).forEach(function(n){vee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):W$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gee=Q(de(Y$(Y$({},rF),{},{content:b(R),placement:b(R,"right"),triggers:b(Lr,oi)})),Mo),bee=V.extend({name:Mo,extends:nF,inheritAttrs:!1,props:gee,methods:{getComponent:function(){return iF},updateContent:function(){this.setContent(this.normalizeSlot()||this.content),this.setTitle(this.normalizeSlot(hh)||this.title)}}});function K$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function q$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?K$(Object(r),!0).forEach(function(n){_ee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):K$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _ee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zn="__BV_Popover__",yee="click",X$={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},wee=/^html$/i,Oee=/^nofade$/i,See=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,xee=/^(window|viewport|scrollParent)$/i,Tee=/^d\d+$/i,Eee=/^ds\d+$/i,Pee=/^dh\d+$/i,Cee=/^o-?\d+$/i,Aee=/^v-.+$/i,$ee=/\s+/,Mee=function(e,r){var n={title:void 0,content:void 0,trigger:"",placement:"right",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,disabled:!1,id:null,html:!1,delay:Dn(Mo,"delay",50),boundary:String(Dn(Mo,"boundary","scrollParent")),boundaryPadding:ae(Dn(Mo,"boundaryPadding",5),0),variant:Dn(Mo,"variant"),customClass:Dn(Mo,"customClass")};if(Fe(e.value)||gi(e.value)||ge(e.value)?n.content=e.value:Nr(e.value)&&(n=q$(q$({},n),e.value)),e.arg&&(n.container="#".concat(e.arg)),Bt(n.title)){var i=r.data||{};n.title=i.attrs&&!qe(i.attrs.title)?i.attrs.title:void 0}Nr(n.delay)||(n.delay={show:ae(n.delay,0),hide:ae(n.delay,0)}),Pe(e.modifiers).forEach(function(s){if(wee.test(s))n.html=!0;else if(Oee.test(s))n.animation=!1;else if(See.test(s))n.placement=s;else if(xee.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(Tee.test(s)){var o=ae(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else Eee.test(s)?n.delay.show=ae(s.slice(2),0):Pee.test(s)?n.delay.hide=ae(s.slice(2),0):Cee.test(s)?n.offset=ae(s.slice(1),0):Aee.test(s)&&(n.variant=s.slice(2)||null)});var a={};return ze(n.trigger||"").filter(Se).join(" ").trim().toLowerCase().split($ee).forEach(function(s){X$[s]&&(a[s]=!0)}),Pe(e.modifiers).forEach(function(s){s=s.toLowerCase(),X$[s]&&(a[s]=!0)}),n.trigger=Pe(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=yee),n},Z$=function(e,r,n){if(nt){var i=Mee(r,n);if(!e[Zn]){var a=n.context;e[Zn]=new iF({parent:a,_scopeId:sc(a,void 0)}),e[Zn].__bv_prev_data__={},e[Zn].$on(yr,function(){var l={};ge(i.title)&&(l.title=i.title(e)),ge(i.content)&&(l.content=i.content(e)),Pe(l).length>0&&e[Zn].updateData(l)})}var s={title:i.title,content:i.content,triggers:i.trigger,placement:i.placement,fallbackPlacement:i.fallbackPlacement,variant:i.variant,customClass:i.customClass,container:i.container,boundary:i.boundary,delay:i.delay,offset:i.offset,noFade:!i.animation,id:i.id,disabled:i.disabled,html:i.html},o=e[Zn].__bv_prev_data__;if(e[Zn].__bv_prev_data__=s,!Ve(s,o)){var u={target:e};Pe(s).forEach(function(l){s[l]!==o[l]&&(u[l]=(l==="title"||l==="content")&&ge(s[l])?s[l](e):s[l])}),e[Zn].updateData(u)}}},kee=function(e){e[Zn]&&(e[Zn].$destroy(),e[Zn]=null),delete e[Zn]},Dee={bind:function(e,r,n){Z$(e,r,n)},componentUpdated:function(e,r,n){n.context.$nextTick(function(){Z$(e,r,n)})},unbind:function(e){kee(e)}},aF=he({directives:{VBPopover:Dee}}),Ree=he({components:{BPopover:bee},plugins:{VBPopoverPlugin:aF}}),sF=Q({animated:b(L,null),label:b(R),labelHtml:b(R),max:b(le,null),precision:b(le,null),showProgress:b(L,null),showValue:b(L,null),striped:b(L,null),value:b(le,0),variant:b(R)},Y3),oF=V.extend({name:Y3,mixins:[Ce],inject:{bvProgress:{default:function(){return{}}}},props:sF,computed:{progressBarClasses:function(){var e=this.computedAnimated,r=this.computedVariant;return[r?"bg-".concat(r):"",this.computedStriped||e?"progress-bar-striped":"",e?"progress-bar-animated":""]},progressBarStyles:function(){return{width:100*(this.computedValue/this.computedMax)+"%"}},computedValue:function(){return Ne(this.value,0)},computedMax:function(){var e=Ne(this.max)||Ne(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return Ue(ae(this.precision,ae(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,r=VN(10,e);return b_(100*r*this.computedValue/this.computedMax/r,e)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return ri(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return ri(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return ri(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return ri(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(e){var r=this.label,n=this.labelHtml,i=this.computedValue,a=this.computedPrecision,s,o={};return this.hasNormalizedSlot()?s=this.normalizeSlot():r||n?o=St(n,r):this.computedShowProgress?s=this.computedProgress:this.computedShowValue&&(s=b_(i,a)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":ye(this.computedMax),"aria-valuenow":b_(i,a)},domProps:o},s)}});function J$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Q$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?J$(Object(r),!0).forEach(function(n){Iee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):J$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Iee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uF=Re(sF,["label","labelHtml"]),Nee=Q(de(Q$(Q$({},uF),{},{animated:b(L,!1),height:b(R),max:b(le,100),precision:b(le,0),showProgress:b(L,!1),showValue:b(L,!1),striped:b(L,!1)})),W3),Lee=V.extend({name:W3,mixins:[Ce],provide:function(){return{bvProgress:this}},props:Nee,computed:{progressHeight:function(){return{height:this.height||null}}},render:function(e){var r=this.normalizeSlot();return r||(r=e(oF,{props:ht(uF,this.$props)})),e("div",{staticClass:"progress",style:this.progressHeight},[r])}}),Bee=he({components:{BProgress:Lee,BProgressBar:oF}}),vd;function eM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function mf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?eM(Object(r),!0).forEach(function(n){xa(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xa(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Uf="b-sidebar",Fee=Zt(Cr,"request-state"),jee=Zt(Cr,"toggle"),zee=Ct(Cr,"state"),Hee=Ct(Cr,"sync-state"),S0=tr("visible",{type:L,defaultValue:!1,event:vn}),Vee=S0.mixin,Uee=S0.props,tM=S0.prop,Gee=S0.event,Wee=Q(de(mf(mf(mf({},et),Uee),{},{ariaLabel:b(R),ariaLabelledby:b(R),backdrop:b(L,!1),backdropVariant:b(R,"dark"),bgVariant:b(R,"light"),bodyClass:b(we),closeLabel:b(R),footerClass:b(we),footerTag:b(R,"footer"),headerClass:b(we),headerTag:b(R,"header"),lazy:b(L,!1),noCloseOnBackdrop:b(L,!1),noCloseOnEsc:b(L,!1),noCloseOnRouteChange:b(L,!1),noEnforceFocus:b(L,!1),noHeader:b(L,!1),noHeaderClose:b(L,!1),noSlide:b(L,!1),right:b(L,!1),shadow:b(Br,!1),sidebarClass:b(we),tag:b(R,"div"),textVariant:b(R,"dark"),title:b(R),width:b(R),zIndex:b(le)})),q3),Yee=function(e,r){var n=r.normalizeSlot(hh,r.slotScope)||r.title;return n?e("strong",{attrs:{id:r.safeId("__title__")}},[n]):e("span")},Kee=function(e,r){if(r.noHeaderClose)return e();var n=r.closeLabel,i=r.textVariant,a=r.hide;return e(hu,{props:{ariaLabel:n,textVariant:i},on:{click:a},ref:"close-button"},[r.normalizeSlot(e7)||e(KN)])},qee=function(e,r){if(r.noHeader)return e();var n=r.normalizeSlot(Us,r.slotScope);if(!n){var i=Yee(e,r),a=Kee(e,r);n=r.right?[a,i]:[i,a]}return e(r.headerTag,{staticClass:"".concat(Uf,"-header"),class:r.headerClass,key:"header"},n)},Xee=function(e,r){return e("div",{staticClass:"".concat(Uf,"-body"),class:r.bodyClass,key:"body"},[r.normalizeSlot(ir,r.slotScope)])},Zee=function(e,r){var n=r.normalizeSlot(Nw,r.slotScope);return n?e(r.footerTag,{staticClass:"".concat(Uf,"-footer"),class:r.footerClass,key:"footer"},[n]):e()},Jee=function(e,r){var n=qee(e,r);return r.lazy&&!r.isOpen?n:[n,Xee(e,r),Zee(e,r)]},Qee=function(e,r){if(!r.backdrop)return e();var n=r.backdropVariant;return e("div",{directives:[{name:"show",value:r.localShow}],staticClass:"b-sidebar-backdrop",class:xa({},"bg-".concat(n),n),on:{click:r.onBackdropClick}})},ete=V.extend({name:q3,mixins:[lr,it,Vee,Pi,Ce],inheritAttrs:!1,props:Wee,data:function(){var e=!!this[tM];return{localShow:e,isOpen:e}},computed:{transitionProps:function(){return this.noSlide?{css:!0}:{css:!0,enterClass:"",enterActiveClass:"slide",enterToClass:"show",leaveClass:"show",leaveActiveClass:"slide",leaveToClass:""}},slotScope:function(){var e=this.hide,r=this.right,n=this.localShow;return{hide:e,right:r,visible:n}},hasTitle:function(){var e=this.$scopedSlots,r=this.$slots;return!this.noHeader&&!this.hasNormalizedSlot(Us)&&!!(this.normalizeSlot(hh,this.slotScope,e,r)||this.title)},titleId:function(){return this.hasTitle?this.safeId("__title__"):null},computedAttrs:function(){return mf(mf({},this.bvAttrs),{},{id:this.safeId(),tabindex:"-1",role:"dialog","aria-modal":this.backdrop?"true":"false","aria-hidden":this.localShow?null:"true","aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||this.titleId||null})}},watch:(vd={},xa(vd,tM,function(t,e){t!==e&&(this.localShow=t)}),xa(vd,"localShow",function(e,r){e!==r&&(this.emitState(e),this.$emit(Gee,e))}),xa(vd,"$route",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!this.noCloseOnRouteChange&&e.fullPath!==r.fullPath&&this.hide()}),vd),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(jee,this.handleToggle),this.listenOnRoot(Fee,this.handleSync),this.$nextTick(function(){e.emitState(e.localShow)})},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(zee,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(Hee,this.safeId(),e)},handleToggle:function(e){e&&e===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(e){var r=this;e&&e===this.safeId()&&this.$nextTick(function(){r.emitSync(r.localShow)})},onKeydown:function(e){var r=e.keyCode;!this.noCloseOnEsc&&r===wS&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=Fw(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=Fw(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=Gs(nt?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){Xt(e,Gs())||this.enforceFocus(e),this.$emit(Kr)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(Lt)},enforceFocus:function(e){this.noEnforceFocus||De(e)}},render:function(e){var r,n=this.bgVariant,i=this.width,a=this.textVariant,s=this.localShow,o=this.shadow===""?!0:this.shadow,u=e(this.tag,{staticClass:Uf,class:[(r={shadow:o===!0},xa(r,"shadow-".concat(o),o&&o!==!0),xa(r,"".concat(Uf,"-right"),this.right),xa(r,"bg-".concat(n),n),xa(r,"text-".concat(a),a),r),this.sidebarClass],style:{width:i},attrs:this.computedAttrs,directives:[{name:"show",value:s}],ref:"content"},[Jee(e,this)]);u=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[u]);var l=e(xu,{props:{noFade:this.noSlide}},[Qee(e,this)]),c=e(),d=e();return this.backdrop&&s&&(c=e("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),d=e("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),e("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[c,u,d,l])}}),tte=he({components:{BSidebar:ete},plugins:{VBTogglePlugin:MS}});function ty(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rte=Q({animation:b(R,"wave"),height:b(R),size:b(R),type:b(R,"text"),variant:b(R),width:b(R)},X3),Gv=V.extend({name:X3,functional:!0,props:rte,render:function(e,r){var n,i=r.data,a=r.props,s=a.size,o=a.animation,u=a.variant;return e("div",me(i,{staticClass:"b-skeleton",style:{width:s||a.width,height:s||a.height},class:(n={},ty(n,"b-skeleton-".concat(a.type),!0),ty(n,"b-skeleton-animate-".concat(o),o),ty(n,"bg-".concat(u),u),n)}))}});function rM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function nM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?rM(Object(r),!0).forEach(function(n){lF(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function lF(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nte=Q({animation:b(R,"wave"),icon:b(R),iconProps:b(er,{})},Z3),ite=V.extend({name:Z3,functional:!0,props:nte,render:function(e,r){var n=r.data,i=r.props,a=i.icon,s=i.animation,o=e(Sv,{staticClass:"b-skeleton-icon",props:nM(nM({},i.iconProps),{},{icon:a})});return e("div",me(n,{staticClass:"b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden",class:lF({},"b-skeleton-animate-".concat(s),s)}),[o])}});function ate(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ste=Q({animation:b(R),aspect:b(R,"16:9"),cardImg:b(R),height:b(R),noAspect:b(L,!1),variant:b(R),width:b(R)},J3),ote=V.extend({name:J3,functional:!0,props:ste,render:function(e,r){var n=r.data,i=r.props,a=i.aspect,s=i.width,o=i.height,u=i.animation,l=i.variant,c=i.cardImg,d=e(Gv,me(n,{props:{type:"img",width:s,height:o,animation:u,variant:l},class:ate({},"card-img-".concat(c),c)}));return i.noAspect?d:e(UN,{props:{aspect:a}},[d])}}),QS=V.extend({methods:{hasListener:function(e){var r=this.$listeners||{},n=this._events||{};return!Bt(r[e])||Ge(n[e])&&n[e].length>0}}});function iM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ute(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iM(Object(r),!0).forEach(function(n){lte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function lte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var aM="light",sM="dark",cte=Q({variant:b(R)},fN),Ya=V.extend({name:fN,mixins:[lr,qa,Ce],provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},inheritAttrs:!1,props:cte,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return this.headVariant===aM||this.footVariant===aM?!1:this.headVariant===sM||this.footVariant===sM?!0:this.isDark},trClasses:function(){var e=this.variant;return[e?"".concat(this.isRowDark?"bg":"table","-").concat(e):null]},trAttrs:function(){return ute({role:"row"},this.bvAttrs)}},render:function(e){return e("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}}),cF={},dte=V.extend({props:cF,methods:{renderBottomRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(oP)||r===!0||r===""?a():a(Ya,{staticClass:"b-table-bottom-row",class:[ge(n)?n(null,"row-bottom"):n],attrs:ge(i)?i(null,"row-bottom"):i,key:"b-bottom-row"},this.normalizeSlot(oP,{columns:e.length,fields:e}))}}});function oM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function uM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oM(Object(r),!0).forEach(function(n){fte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _1=function(e){return e=ae(e,0),e>0?e:null},lM=function(e){return qe(e)||_1(e)>0},dF=Q({colspan:b(le,null,lM),rowspan:b(le,null,lM),stackedHeading:b(R),stickyColumn:b(L,!1),variant:b(R)},nN),uc=V.extend({name:nN,mixins:[lr,qa,Ce],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:dF,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return _1(this.colspan)},computedRowspan:function(){return _1(this.rowspan)},cellClasses:function(){var e=this.variant,r=this.headVariant,n=this.isStickyColumn;return(!e&&this.isStickyHeader&&!r||!e&&n&&this.inTfoot&&!this.footVariant||!e&&n&&this.inThead&&!r||!e&&n&&this.inTbody)&&(e=this.rowVariant||this.tableVariant||"b-table-default"),[e?"".concat(this.isDark?"bg":"table","-").concat(e):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var e=this.stackedHeading,r=this.inThead||this.inTfoot,n=this.computedColspan,i=this.computedRowspan,a="cell",s=null;return r?(a="columnheader",s=n>0?"colspan":"col"):la(this.tag,"th")&&(a="rowheader",s=i>0?"rowgroup":"row"),uM(uM({colspan:n,rowspan:i,role:a,scope:s},this.bvAttrs),{},{"data-label":this.isStackedCell&&!qe(e)?ye(e):null})}},render:function(e){var r=[this.normalizeSlot()];return e(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?e("div",[r]):r])}});function hte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ex="busy",pte=ro+ex,fF=hte({},ex,b(L,!1)),mte=V.extend({props:fF,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[ex]||this.localBusy}},watch:{localBusy:function(e,r){e!==r&&this.$emit(pte,e)}},methods:{stopIfBusy:function(e){return this.computedBusy?(ke(e),!0):!1},renderBusy:function(){var e=this.tbodyTrClass,r=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(Ld)?n(Ya,{staticClass:"b-table-busy-slot",class:[ge(e)?e(null,Ld):e],attrs:ge(r)?r(null,Ld):r,key:"table-busy-slot"},[n(uc,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(Ld)])]):null}}}),tx={caption:b(R),captionHtml:b(R)},hF=V.extend({props:tx,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var e=this.caption,r=this.captionHtml,n=this.$createElement,i=n(),a=this.hasNormalizedSlot(pP);return(a||e||r)&&(i=n("caption",{attrs:{id:this.captionId},domProps:a?{}:St(r,e),key:"caption",ref:"caption"},this.normalizeSlot(pP))),i}}}),pF={},mF=V.extend({methods:{renderColgroup:function(){var e=this.computedFields,r=this.$createElement,n=r();return this.hasNormalizedSlot(mP)&&(n=r("colgroup",{key:"colgroup"},[this.normalizeSlot(mP,{columns:e.length,fields:e})])),n}}}),vF={emptyFilteredHtml:b(R),emptyFilteredText:b(R,"There are no records matching your request"),emptyHtml:b(R),emptyText:b(R,"There are no records to show"),showEmpty:b(L,!1)},vte=V.extend({props:vF,methods:{renderEmpty:function(){var e=this.computedItems,r=this.$createElement,n=r();if(this.showEmpty&&(!e||e.length===0)&&!(this.computedBusy&&this.hasNormalizedSlot(Ld))){var i=this.computedFields,a=this.isFiltered,s=this.emptyText,o=this.emptyHtml,u=this.emptyFilteredText,l=this.emptyFilteredHtml,c=this.tbodyTrClass,d=this.tbodyTrAttr;n=this.normalizeSlot(a?JW:$N,{emptyFilteredHtml:l,emptyFilteredText:u,emptyHtml:o,emptyText:s,fields:i,items:e}),n||(n=r("div",{class:["text-center","my-2"],domProps:a?St(l,u):St(o,s)})),n=r(uc,{props:{colspan:i.length||null}},[r("div",{attrs:{role:"alert","aria-live":"polite"}},[n])]),n=r(Ya,{staticClass:"b-table-empty-row",class:[ge(c)?c(null,"row-empty"):c],attrs:ge(d)?d(null,"row-empty"):d,key:a?"b-empty-filtered-row":"b-empty-row"},[n])}return n}}}),y1=function t(e){return qe(e)?"":Nt(e)&&!Jl(e)?Pe(e).sort().map(function(r){return t(e[r])}).filter(function(r){return!!r}).join(" "):ye(e)};function cM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function dM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cM(Object(r),!0).forEach(function(n){gF(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gF(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Im="_cellVariants",w1="_rowVariant",Yd="_showDetails",bF=[Im,w1,Yd].reduce(function(t,e){return dM(dM({},t),{},gF({},e,!0))},{}),gte=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),O1=function(e,r,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=Pe(i).reduce(function(o,u){var l=i[u],c=l.filterByFormatted,d=ge(c)?c:c?l.formatter:null;return ge(d)&&(o[u]=d(e[u],u,e)),o},to(e)),s=Pe(a).filter(function(o){return!bF[o]&&!(Ge(r)&&r.length>0&&Te(r,o))&&!(Ge(n)&&n.length>0&&!Te(n,o))});return Ei(a,s)},bte=function(e,r,n,i){return Nt(e)?y1(O1(e,r,n,i)):""};function _te(t){return Ste(t)||Ote(t)||wte(t)||yte()}function yte(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wte(t,e){if(t){if(typeof t=="string")return S1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S1(t,e)}}function Ote(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ste(t){if(Array.isArray(t))return S1(t)}function S1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var xte='Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.',_F={filter:b([].concat(_te(we),[FW])),filterDebounce:b(le,0,function(t){return hI.test(String(t))}),filterFunction:b(Zr),filterIgnoredFields:b(qr,[]),filterIncludedFields:b(qr,[])},Tte=V.extend({props:_F,data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return ze(this.filterIgnoredFields||[]).filter(Se)},computedFilterIncluded:function(){return ze(this.filterIncludedFields||[]).filter(Se)},computedFilterDebounce:function(){var e=ae(this.filterDebounce,0);return e>0&&ur(xte,cu),e},localFiltering:function(){return this.hasProvider?!!this.noProviderFiltering:!0},filteredCheck:function(){var e=this.filteredItems,r=this.localItems,n=this.localFilter;return{filteredItems:e,localItems:r,localFilter:n}},localFilterFn:function(){var e=this.filterFunction;return oa(e)?e:null},filteredItems:function(){var e=this.localItems,r=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,r)||this.defaultFilterFnFactory(r):null;return n&&e.length>0?e.filter(n):e}},watch:{computedFilterDebounce:function(e){!e&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(e){var r=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout(function(){r.localFilter=r.filterSanitize(e)},n):this.localFilter=this.filterSanitize(e)}},filteredCheck:function(e){var r=e.filteredItems,n=e.localFilter,i=!1;n?Ve(n,[])||Ve(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit(Iw,r,r.length),this.isFiltered=i},isFiltered:function(e,r){if(e===!1&&r===!0){var n=this.localItems;this.$emit(Iw,n,n.length)}}},created:function(){var e=this;this.$_filterTimer=null,this.$nextTick(function(){e.isFiltered=!!e.localFilter})},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(e){return this.localFiltering&&!this.localFilterFn&&!(Fe(e)||KE(e))?"":ni(e)},filterFnFactory:function(e,r){if(!e||!ge(e)||!r||Ve(r,[])||Ve(r,{}))return null;var n=function(a){return e(a,r)};return n},defaultFilterFnFactory:function(e){var r=this;if(!e||!(Fe(e)||KE(e)))return null;var n=e;if(Fe(n)){var i=gS(e).replace(pI,"\\s+");n=new RegExp(".*".concat(i,".*"),"i")}var a=function(o){return n.lastIndex=0,n.test(bte(o,r.computedFilterIgnored,r.computedFilterIncluded,r.computedFieldsObj))};return a}}}),Ete=function(e,r){var n=null;return Fe(r)?n={key:e,label:r}:ge(r)?n={key:e,formatter:r}:Nt(r)?(n=to(r),n.key=n.key||e):r!==!1&&(n={key:e}),n},Pte=function(e,r){var n=[];if(Ge(e)&&e.filter(Se).forEach(function(s){if(Fe(s))n.push({key:s,label:vm(s)});else if(Nt(s)&&s.key&&Fe(s.key))n.push(to(s));else if(Nt(s)&&Pe(s).length===1){var o=Pe(s)[0],u=Ete(o,s[o]);u&&n.push(u)}}),n.length===0&&Ge(r)&&r.length>0){var i=r[0];Pe(i).forEach(function(s){bF[s]||n.push({key:s,label:vm(s)})})}var a={};return n.filter(function(s){return a[s.key]?!1:(a[s.key]=!0,s.label=Fe(s.label)?s.label:vm(s.key),!0)})};function fM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function hM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fM(Object(r),!0).forEach(function(n){yF(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function yF(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var x0=tr("value",{type:qr,defaultValue:[]}),Cte=x0.mixin,Ate=x0.props,$te=x0.prop,pM=x0.event,rx=de(hM(hM({},Ate),{},yF({fields:b(qr,null),items:b(qr,[]),primaryKey:b(R)},$te,b(qr,[])))),wF=V.extend({mixins:[Cte],props:rx,data:function(){var e=this.items;return{localItems:Ge(e)?e.slice():[]}},computed:{computedFields:function(){return Pte(this.fields,this.localItems)},computedFieldsObj:function(){var e=this.$parent;return this.computedFields.reduce(function(r,n){if(r[n.key]=to(n),n.formatter){var i=n.formatter;Fe(i)&&ge(e[i])?i=e[i]:ge(i)||(i=void 0),r[n.key].formatter=i}return r},{})},computedItems:function(){return(this.paginatedItems||this.sortedItems||this.filteredItems||this.localItems||[]).slice()},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:Ue(ae(this.perPage,0),0),currentPage:Ue(ae(this.currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(e){this.localItems=Ge(e)?e.slice():[]},computedItems:function(e,r){Ve(e,r)||this.$emit(pM,e)},context:function(e,r){Ve(e,r)||this.$emit(pN,e)}},mounted:function(){this.$emit(pM,this.computedItems)},methods:{getFieldFormatter:function(e){var r=this.computedFieldsObj[e];return r?r.formatter:void 0}}}),OF={currentPage:b(le,1),perPage:b(le,0)},Mte=V.extend({props:OF,computed:{localPaging:function(){return this.hasProvider?!!this.noProviderPaging:!0},paginatedItems:function(){var e=this.sortedItems||this.filteredItems||this.localItems||[],r=Ue(ae(this.currentPage,1),1),n=Ue(ae(this.perPage,0),0);return this.localPaging&&n&&(e=e.slice((r-1)*n,r*n)),e}}}),kte=Ct(cu,Nd),Dte=Zt(cu,TW),SF={apiUrl:b(R),items:b(CN,[]),noProviderFiltering:b(L,!1),noProviderPaging:b(L,!1),noProviderSorting:b(L,!1)},Rte=V.extend({mixins:[Pi],props:SF,computed:{hasProvider:function(){return ge(this.items)},providerTriggerContext:function(){var e={apiUrl:this.apiUrl,filter:null,sortBy:null,sortDesc:null,perPage:null,currentPage:null};return this.noProviderFiltering||(e.filter=this.localFilter),this.noProviderSorting||(e.sortBy=this.localSortBy,e.sortDesc=this.localSortDesc),this.noProviderPaging||(e.perPage=this.perPage,e.currentPage=this.currentPage),to(e)}},watch:{items:function(e){(this.hasProvider||ge(e))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(e,r){Ve(e,r)||this.$nextTick(this._providerUpdate)}},mounted:function(){var e=this;this.hasProvider&&(!this.localItems||this.localItems.length===0)&&this._providerUpdate(),this.listenOnRoot(Dte,function(r){(r===e.id||r===e)&&e.refresh()})},methods:{refresh:function(){var e=this.items,r=this.refresh;this.$off(Nd,r),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on(Nd,r):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=Ge(e)?e.slice():[])},_providerSetLocal:function(e){this.localItems=Ge(e)?e.slice():[],this.localBusy=!1,this.$emit(Nd),this.id&&this.emitOnRoot(kte,this.id)},_providerUpdate:function(){var e=this;if(this.hasProvider){if(this.computedBusy){this.$nextTick(this.refresh);return}this.localBusy=!0,this.$nextTick(function(){try{var r=e.items(e.context,e._providerSetLocal);DG(r)?r.then(function(n){e._providerSetLocal(n)}):Ge(r)?e._providerSetLocal(r):e.items.length!==2&&(ur("Provider function didn't request callback and did not return a promise or data.",cu),e.localBusy=!1)}catch(n){ur("Provider function error [".concat(n.name,"] ").concat(n.message,"."),cu),e.localBusy=!1,e.$off(Nd,e.refresh)}})}}}});function Ep(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ite=["range","multi","single"],mM="grid",xF={noSelectOnClick:b(L,!1),selectMode:b(R,"multi",function(t){return Te(Ite,t)}),selectable:b(L,!1),selectedVariant:b(R,"active")},Nte=V.extend({props:xF,data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{isSelectable:function(){return this.selectable&&this.selectMode},hasSelectableRowClick:function(){return this.isSelectable&&!this.noSelectOnClick},supportsSelectableRows:function(){return!0},selectableHasSelection:function(){var e=this.selectedRows;return this.isSelectable&&e&&e.length>0&&e.some(Se)},selectableIsMultiSelect:function(){return this.isSelectable&&Te(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,r=this.isSelectable;return e={"b-table-selectable":r},Ep(e,"b-table-select-".concat(this.selectMode),r),Ep(e,"b-table-selecting",this.selectableHasSelection),Ep(e,"b-table-selectable-no-click",r&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||mM;return{role:e,"aria-multiselectable":e===mM?ye(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,r){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Ge(e)&&Ge(r)&&e.length===r.length;for(var i=0;n&&i<e.length;i++)n=Ve(O1(e[i]),O1(r[i]))}n||this.clearSelected()},selectable:function(e){this.clearSelected(),this.setSelectionHandlers(e)},selectMode:function(){this.clearSelected()},hasSelectableRowClick:function(e){this.clearSelected(),this.setSelectionHandlers(!e)},selectedRows:function(e,r){var n=this;if(this.isSelectable&&!Ve(e,r)){var i=[];e.forEach(function(a,s){a&&i.push(n.computedItems[s])}),this.$emit(MW,i)}}},beforeMount:function(){this.isSelectable&&this.setSelectionHandlers(!0)},methods:{selectRow:function(e){if(this.isSelectable&&gi(e)&&e>=0&&e<this.computedItems.length&&!this.isRowSelected(e)){var r=this.selectableIsMultiSelect?this.selectedRows.slice():[];r[e]=!0,this.selectedLastClicked=-1,this.selectedRows=r}},unselectRow:function(e){if(this.isSelectable&&gi(e)&&this.isRowSelected(e)){var r=this.selectedRows.slice();r[e]=!1,this.selectedLastClicked=-1,this.selectedRows=r}},selectAllRows:function(){var e=this.computedItems.length;this.isSelectable&&e>0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?lf(e,!0):[!0])},isRowSelected:function(e){return!!(gi(e)&&this.selectedRows[e])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(e){if(this.isSelectable&&this.isRowSelected(e)){var r=this.selectedVariant;return Ep({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(r),r)}return{}},selectableRowAttrs:function(e){return{"aria-selected":this.isSelectable?this.isRowSelected(e)?"true":"false":null}},setSelectionHandlers:function(e){var r=e&&!this.noSelectOnClick?"$on":"$off";this[r](wv,this.selectionHandler),this[r](Iw,this.clearSelected),this[r](pN,this.clearSelected)},selectionHandler:function(e,r,n){if(!this.isSelectable||this.noSelectOnClick){this.clearSelected();return}var i=this.selectMode,a=this.selectedLastRow,s=this.selectedRows.slice(),o=!s[r];if(i==="single")s=[];else if(i==="range")if(a>-1&&n.shiftKey){for(var u=Na(a,r);u<=Ue(a,r);u++)s[u]=!0;o=!0}else n.ctrlKey||n.metaKey||(s=[],o=!0),o&&(this.selectedLastRow=r);s[r]=o,this.selectedRows=s}}}),TF=function(e,r){return e.map(function(n,i){return[i,n]}).sort(function(n,i){return this(n[1],i[1])||n[0]-i[0]}.bind(r)).map(function(n){return n[1]})},vM=function(e){return qe(e)?"":of(e)?Ne(e,e):e},Lte=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.sortBy,a=i===void 0?null:i,s=n.formatter,o=s===void 0?null:s,u=n.locale,l=u===void 0?void 0:u,c=n.localeOptions,d=c===void 0?{}:c,h=n.nullLast,p=h===void 0?!1:h,g=Pr(e,a,null),_=Pr(r,a,null);return ge(o)&&(g=o(g,a,e),_=o(_,a,r)),g=vM(g),_=vM(_),Jl(g)&&Jl(_)||gi(g)&&gi(_)?g<_?-1:g>_?1:0:p&&g===""&&_!==""?1:p&&g!==""&&_===""?-1:y1(g).localeCompare(y1(_),l,d)},zi,sl;function gM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function bM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gM(Object(r),!0).forEach(function(n){Pn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Pn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wv="sortBy",Bte=ro+Wv,Yv="sortDesc",Fte=ro+Yv,Kv="asc",x1="desc",jte="last",zte=[Kv,x1,jte],EF=(zi={labelSortAsc:b(R,"Click to sort ascending"),labelSortClear:b(R,"Click to clear sorting"),labelSortDesc:b(R,"Click to sort descending"),noFooterSorting:b(L,!1),noLocalSorting:b(L,!1),noSortReset:b(L,!1)},Pn(zi,Wv,b(R)),Pn(zi,"sortCompare",b(Zr)),Pn(zi,"sortCompareLocale",b(Lr)),Pn(zi,"sortCompareOptions",b(er,{numeric:!0})),Pn(zi,Yv,b(L,!1)),Pn(zi,"sortDirection",b(R,Kv,function(t){return Te(zte,t)})),Pn(zi,"sortIconLeft",b(L,!1)),Pn(zi,"sortNullLast",b(L,!1)),zi),Hte=V.extend({props:EF,data:function(){return{localSortBy:this[Wv]||"",localSortDesc:this[Yv]||!1}},computed:{localSorting:function(){return this.hasProvider?!!this.noProviderSorting:!this.noLocalSorting},isSortable:function(){return this.computedFields.some(function(e){return e.sortable})},sortedItems:function(){var e=this.localSortBy,r=this.localSortDesc,n=this.sortCompareLocale,i=this.sortNullLast,a=this.sortCompare,s=this.localSorting,o=(this.filteredItems||this.localItems||[]).slice(),u=bM(bM({},this.sortCompareOptions),{},{usage:"sort"});if(e&&s){var l=this.computedFieldsObj[e]||{},c=l.sortByFormatted,d=ge(c)?c:c?this.getFieldFormatter(e):void 0;return TF(o,function(h,p){var g=null;return ge(a)&&(g=a(h,p,e,r,d,u,n)),(qe(g)||g===!1)&&(g=Lte(h,p,{sortBy:e,formatter:d,locale:n,localeOptions:u,nullLast:i})),(g||0)*(r?-1:1)})}return o}},watch:(sl={isSortable:function(e){e?this.isSortable&&this.$on(uf,this.handleSort):this.$off(uf,this.handleSort)}},Pn(sl,Yv,function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)}),Pn(sl,Wv,function(t){t!==this.localSortBy&&(this.localSortBy=t||"")}),Pn(sl,"localSortDesc",function(e,r){e!==r&&this.$emit(Fte,e)}),Pn(sl,"localSortBy",function(e,r){e!==r&&this.$emit(Bte,e)}),sl),created:function(){this.isSortable&&this.$on(uf,this.handleSort)},methods:{handleSort:function(e,r,n,i){var a=this;if(this.isSortable&&!(i&&this.noFooterSorting)){var s=!1,o=function(){var c=r.sortDirection||a.sortDirection;c===Kv?a.localSortDesc=!1:c===x1&&(a.localSortDesc=!0)};if(r.sortable){var u=!this.localSorting&&r.sortKey?r.sortKey:e;this.localSortBy===u?this.localSortDesc=!this.localSortDesc:(this.localSortBy=u,o()),s=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",o(),s=!0);s&&this.$emit(RW,this.context)}},sortTheadThClasses:function(e,r,n){return{"b-table-sort-icon-left":r.sortable&&this.sortIconLeft&&!(n&&this.noFooterSorting)}},sortTheadThAttrs:function(e,r,n){var i,a=this.isSortable,s=this.noFooterSorting,o=this.localSortDesc,u=this.localSortBy,l=this.localSorting;if(!a||n&&s)return{};var c=r.sortable,d=l?e:(i=r.sortKey)!==null&&i!==void 0?i:e,h=c&&u===d?o?"descending":"ascending":c?"none":null;return{"aria-sort":h}},sortTheadThLabel:function(e,r,n){if(!this.isSortable||n&&this.noFooterSorting)return null;var i=this.localSortBy,a=this.localSortDesc,s=this.labelSortAsc,o=this.labelSortDesc,u=r.sortable,l="";if(u)if(i===e)l=a?s:o;else{l=a?o:s;var c=this.sortDirection||r.sortDirection;c===Kv?l=s:c===x1&&(l=o)}else this.noSortReset||(l=i?this.labelSortClear:"");return Ms(l)||null}}});function Vte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var T0={stacked:b(Br,!1)},qv=V.extend({props:T0,computed:{isStacked:function(){var e=this.stacked;return e===""?!0:e},isStackedAlways:function(){return this.isStacked===!0},stackedTableClasses:function(){var e=this.isStackedAlways;return Vte({"b-table-stacked":e},"b-table-stacked-".concat(this.stacked),!e&&this.isStacked)}}});function _M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ry(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_M(Object(r),!0).forEach(function(n){Ute(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_M(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ute(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var E0={bordered:b(L,!1),borderless:b(L,!1),captionTop:b(L,!1),dark:b(L,!1),fixed:b(L,!1),hover:b(L,!1),noBorderCollapse:b(L,!1),outlined:b(L,!1),responsive:b(Br,!1),small:b(L,!1),stickyHeader:b(Br,!1),striped:b(L,!1),tableClass:b(we),tableVariant:b(R)},nx=V.extend({mixins:[lr],provide:function(){return{bvTable:this}},inheritAttrs:!1,props:E0,computed:{isResponsive:function(){var e=this.responsive;return e===""?!0:e},isStickyHeader:function(){var e=this.stickyHeader;return e=e===""?!0:e,this.isStacked?!1:e},wrapperClasses:function(){var e=this.isResponsive;return[this.isStickyHeader?"b-table-sticky-header":"",e===!0?"table-responsive":e?"table-responsive-".concat(this.responsive):""].filter(Se)},wrapperStyles:function(){var e=this.isStickyHeader;return e&&!ri(e)?{maxHeight:e}:{}},tableClasses:function(){var e=this.hover,r=this.tableVariant;return e=this.isTableSimple?e:e&&this.computedItems.length>0&&!this.computedBusy,[this.tableClass,{"table-striped":this.striped,"table-hover":e,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},r?"".concat(this.dark?"bg":"table","-").concat(r):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var e=this.computedItems,r=this.filteredItems,n=this.computedFields,i=this.selectableTableAttrs,a=this.isTableSimple?{}:{"aria-busy":ye(this.computedBusy),"aria-colcount":ye(n.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null},s=e&&r&&r.length>e.length?ye(r.length):null;return ry(ry(ry({"aria-rowcount":s},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},a),i)}},render:function(e){var r=this.wrapperClasses,n=this.renderCaption,i=this.renderColgroup,a=this.renderThead,s=this.renderTbody,o=this.renderTfoot,u=[];this.isTableSimple?u.push(this.normalizeSlot()):(u.push(n?n():null),u.push(i?i():null),u.push(a?a():null),u.push(s?s():null),u.push(o?o():null));var l=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},u.filter(Se));return r.length>0?e("div",{class:r,style:this.wrapperStyles,key:"wrap"},[l]):l}});function yM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ny(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?yM(Object(r),!0).forEach(function(n){Gte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Gte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ix=Q({tbodyTransitionHandlers:b(er),tbodyTransitionProps:b(er)},oN),PF=V.extend({name:oN,mixins:[lr,qa,Ce],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:ix,computed:{isTbody:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},isTransitionGroup:function(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs:function(){return ny({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){var e=this.tbodyTransitionProps;return e?ny(ny({},e),{},{tag:"tbody"}):{}}},render:function(e){var r={props:this.tbodyProps,attrs:this.tbodyAttrs};return this.isTransitionGroup?(r.on=this.tbodyTransitionHandlers||{},r.nativeOn=this.bvListeners):r.on=this.bvListeners,e(this.isTransitionGroup?"transition-group":"tbody",r,this.normalizeSlot())}}),Wte=["TD","TH","TR"],T1=function(e){if(!e||!e.target)return!1;var r=e.target;if(r.disabled||Wte.indexOf(r.tagName)!==-1)return!1;if(fn(".dropdown-menu",r))return!0;var n=r.tagName==="LABEL"?r:fn("label",r);if(n){var i=Nn(n,"for"),a=i?Lw(i):In("input, select, textarea",n);if(a&&!a.disabled)return!0}return za(r,gte)},CF=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=j7();return r&&r.toString().trim()!==""&&r.containsNode&&ut(e)?r.containsNode(e,!0):!1},Yte=Q(dF,lN),ax=V.extend({name:lN,extends:uc,props:Yte,computed:{tag:function(){return"th"}}});function wM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function gd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wM(Object(r),!0).forEach(function(n){Kte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Kte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qte(t){return Qte(t)||Jte(t)||Zte(t)||Xte()}function Xte(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zte(t,e){if(t){if(typeof t=="string")return E1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E1(t,e)}}function Jte(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Qte(t){if(Array.isArray(t))return E1(t)}function E1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var AF={detailsTdClass:b(we),tbodyTrAttr:b(UW),tbodyTrClass:b([].concat(qte(we),[Zr]))},ere=V.extend({props:AF,methods:{getTdValues:function(e,r,n,i){var a=this.$parent;if(n){var s=Pr(e,r,"");return ge(n)?n(s,r,e):Fe(n)&&ge(a[n])?a[n](s,r,e):n}return i},getThValues:function(e,r,n,i,a){var s=this.$parent;if(n){var o=Pr(e,r,"");return ge(n)?n(o,r,e,i):Fe(n)&&ge(s[n])?s[n](o,r,e,i):n}return a},getFormattedValue:function(e,r){var n=r.key,i=this.getFieldFormatter(n),a=Pr(e,n,null);return ge(i)&&(a=i(a,n,e)),qe(a)?"":a},toggleDetailsFactory:function(e,r){var n=this;return function(){e&&n.$set(r,Yd,!r[Yd])}},rowHovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(AW,e)},rowUnhovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(kW,e)},renderTbodyRowCell:function(e,r,n,i){var a=this,s=this.isStacked,o=e.key,u=e.label,l=e.isRowHeader,c=this.$createElement,d=this.hasNormalizedSlot(id),h=this.getFormattedValue(n,e),p=!s&&(this.isResponsive||this.stickyHeader)&&e.stickyColumn,g=p?l?ax:uc:l?"th":"td",_=n[Im]&&n[Im][o]?n[Im][o]:e.variant||null,w={class:[e.class?e.class:"",this.getTdValues(n,o,e.tdClass,"")],props:{},attrs:gd({"aria-colindex":String(r+1)},l?this.getThValues(n,o,e.thAttr,"row",{}):this.getTdValues(n,o,e.tdAttr,{})),key:"row-".concat(i,"-cell-").concat(r,"-").concat(o)};p?w.props={stackedHeading:s?u:null,stickyColumn:!0,variant:_}:(w.attrs["data-label"]=s&&!qe(u)?ye(u):null,w.attrs.role=l?"rowheader":"cell",w.attrs.scope=l?"row":null,_&&w.class.push("".concat(this.dark?"bg":"table","-").concat(_)));var S={item:n,index:i,field:e,unformatted:Pr(n,o,""),value:h,toggleDetails:this.toggleDetailsFactory(d,n),detailsShowing:!!n[Yd]};this.supportsSelectableRows&&(S.rowSelected=this.isRowSelected(i),S.selectRow=function(){return a.selectRow(i)},S.unselectRow=function(){return a.unselectRow(i)});var E=this.$_bodyFieldSlotNameCache[o],x=E?this.normalizeSlot(E,S):ye(h);return this.isStacked&&(x=[c("div",[x])]),c(g,w,[x])},renderTbodyRow:function(e,r){var n=this,i=this.computedFields,a=this.striped,s=this.primaryKey,o=this.currentPage,u=this.perPage,l=this.tbodyTrClass,c=this.tbodyTrAttr,d=this.$createElement,h=this.hasNormalizedSlot(id),p=e[Yd]&&h,g=this.$listeners[wv]||this.hasSelectableRowClick,_=[],w=p?this.safeId("_details_".concat(r,"_")):null,S=i.map(function(A,D){return n.renderTbodyRowCell(A,D,e,r)}),E=null;o&&u&&u>0&&(E=String((o-1)*u+r+1));var x=ye(Pr(e,s))||null,f=x||ye(r),m=x?this.safeId("_row_".concat(x)):null,v=this.selectableRowClasses?this.selectableRowClasses(r):{},T=this.selectableRowAttrs?this.selectableRowAttrs(r):{},P=ge(l)?l(e,"row"):l,k=ge(c)?c(e,"row"):c;if(_.push(d(Ya,{class:[P,v,p?"b-table-has-details":""],props:{variant:e[w1]||null},attrs:gd(gd({id:m},k),{},{tabindex:g?"0":null,"data-pk":x||null,"aria-details":w,"aria-owns":w,"aria-rowindex":E},T),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(f,"__"),ref:"item-rows",refInFor:!0},S)),p){var y={item:e,index:r,fields:i,toggleDetails:this.toggleDetailsFactory(h,e)};this.supportsSelectableRows&&(y.rowSelected=this.isRowSelected(r),y.selectRow=function(){return n.selectRow(r)},y.unselectRow=function(){return n.unselectRow(r)});var $=d(uc,{props:{colspan:i.length},class:this.detailsTdClass},[this.normalizeSlot(id,y)]);a&&_.push(d("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(f)}));var C=ge(this.tbodyTrClass)?this.tbodyTrClass(e,id):this.tbodyTrClass,O=ge(this.tbodyTrAttr)?this.tbodyTrAttr(e,id):this.tbodyTrAttr;_.push(d(Ya,{staticClass:"b-table-details",class:[C],props:{variant:e[w1]||null},attrs:gd(gd({},O),{},{id:w,tabindex:"-1"}),key:"__b-table-details__".concat(f)},[$]))}else h&&(_.push(d()),a&&_.push(d()));return _}}});function OM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function iy(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?OM(Object(r),!0).forEach(function(n){tre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):OM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function tre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ay=function(e){return"cell(".concat(e||"",")")},sx=de(iy(iy(iy({},ix),AF),{},{tbodyClass:b(we)})),$F=V.extend({mixins:[ere],props:sx,beforeDestroy:function(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs:function(){var e=this.$refs,r=e.tbody?e.tbody.$el||e.tbody:null,n=(e["item-rows"]||[]).map(function(i){return i.$el||i});return r&&r.children&&r.children.length>0&&n&&n.length>0?du(r.children).filter(function(i){return Te(n,i)}):[]},getTbodyTrIndex:function(e){if(!ut(e))return-1;var r=e.tagName==="TR"?e:fn("tr",e,!0);return r?this.getTbodyTrs().indexOf(r):-1},emitTbodyRowEvent:function(e,r){if(e&&this.hasListener(e)&&r&&r.target){var n=this.getTbodyTrIndex(r.target);if(n>-1){var i=this.computedItems[n];this.$emit(e,i,n,r)}}},tbodyRowEventStopped:function(e){return this.stopIfBusy&&this.stopIfBusy(e)},onTbodyRowKeydown:function(e){var r=e.target,n=e.keyCode;if(!(this.tbodyRowEventStopped(e)||r.tagName!=="TR"||!bS(r)||r.tabIndex!==0)){if(Te([Ka,ca],n))ke(e),this.onTBodyRowClicked(e);else if(Te([hn,Xr,Ys,Ws],n)){var i=this.getTbodyTrIndex(r);if(i>-1){ke(e);var a=this.getTbodyTrs(),s=e.shiftKey;n===Ys||s&&n===hn?De(a[0]):n===Ws||s&&n===Xr?De(a[a.length-1]):n===hn&&i>0?De(a[i-1]):n===Xr&&i<a.length-1&&De(a[i+1])}}}},onTBodyRowClicked:function(e){var r=this.$refs,n=r.tbody?r.tbody.$el||r.tbody:null;this.tbodyRowEventStopped(e)||T1(e)||CF(n||this.$el)||this.emitTbodyRowEvent(wv,e)},onTbodyRowMiddleMouseRowClicked:function(e){!this.tbodyRowEventStopped(e)&&e.which===2&&this.emitTbodyRowEvent($W,e)},onTbodyRowContextmenu:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(PW,e)},onTbodyRowDblClicked:function(e){!this.tbodyRowEventStopped(e)&&!T1(e)&&this.emitTbodyRowEvent(CW,e)},renderTbody:function(){var e=this,r=this.computedItems,n=this.renderBusy,i=this.renderTopRow,a=this.renderEmpty,s=this.renderBottomRow,o=this.$createElement,u=this.hasListener(wv)||this.hasSelectableRowClick,l=[],c=n?n():null;if(c)l.push(c);else{var d={},h=ay();h=this.hasNormalizedSlot(h)?h:null,this.computedFields.forEach(function(_){var w=_.key,S=ay(w),E=ay(w.toLowerCase());d[w]=e.hasNormalizedSlot(S)?S:e.hasNormalizedSlot(E)?E:h}),this.$_bodyFieldSlotNameCache=d,l.push(i?i():o()),r.forEach(function(_,w){l.push(e.renderTbodyRow(_,w))}),l.push(a?a():o()),l.push(s?s():o())}var p={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};u&&(p.click=this.onTBodyRowClicked,p.keydown=this.onTbodyRowKeydown);var g=o(PF,{class:this.tbodyClass||null,props:ht(ix,this.$props),on:p,ref:"tbody"},l);return g}}});function SM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function xM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?SM(Object(r),!0).forEach(function(n){rre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nre=Q({footVariant:b(R)},uN),ox=V.extend({name:uN,mixins:[lr,qa,Ce],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:nre,computed:{isTfoot:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},tfootClasses:function(){return[this.footVariant?"thead-".concat(this.footVariant):null]},tfootAttrs:function(){return xM(xM({},this.bvAttrs),{},{role:"rowgroup"})}},render:function(e){return e("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}}),ux={footClone:b(L,!1),footRowVariant:b(R),footVariant:b(R),tfootClass:b(we),tfootTrClass:b(we)},MF=V.extend({props:ux,methods:{renderTFootCustom:function(){var e=this.$createElement;return this.hasNormalizedSlot(uP)?e(ox,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot(uP,{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):e()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}});function TM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ire(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?TM(Object(r),!0).forEach(function(n){are(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function are(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var sre=Q({headVariant:b(R)},cN),kF=V.extend({name:cN,mixins:[lr,qa,Ce],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:sre,computed:{isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return ire({role:"rowgroup"},this.bvAttrs)}},render:function(e){return e("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}});function ore(t){return dre(t)||cre(t)||lre(t)||ure()}function ure(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lre(t,e){if(t){if(typeof t=="string")return P1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P1(t,e)}}function cre(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dre(t){if(Array.isArray(t))return P1(t)}function P1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function EM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function PM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?EM(Object(r),!0).forEach(function(n){fre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):EM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var sy=function(e){return"head(".concat(e||"",")")},oy=function(e){return"foot(".concat(e||"",")")},lx={headRowVariant:b(R),headVariant:b(R),theadClass:b(we),theadTrClass:b(we)},DF=V.extend({props:lx,methods:{fieldClasses:function(e){return[e.class?e.class:"",e.thClass?e.thClass:""]},headClicked:function(e,r,n){if(!(this.stopIfBusy&&this.stopIfBusy(e))){{if(T1(e))return;if(CF(this.$el))return}ke(e),this.$emit(uf,r.key,r,e,n)}},renderThead:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.computedFields,i=this.isSortable,a=this.isSelectable,s=this.headVariant,o=this.footVariant,u=this.headRowVariant,l=this.footRowVariant,c=this.$createElement;if(this.isStackedAlways||n.length===0)return c();var d=i||this.hasListener(uf),h=a?this.selectAllRows:Hf,p=a?this.clearSelected:Hf,g=function(x,f){var m=x.label,v=x.labelHtml,T=x.variant,P=x.stickyColumn,k=x.key,y=null;!x.label.trim()&&!x.headerTitle&&(y=vm(x.key));var $={};d&&($.click=function(H){e.headClicked(H,x,r)},$.keydown=function(H){var W=H.keyCode;(W===Ka||W===ca)&&e.headClicked(H,x,r)});var C=i?e.sortTheadThAttrs(k,x,r):{},O=i?e.sortTheadThClasses(k,x,r):null,A=i?e.sortTheadThLabel(k,x,r):null,D={class:[{"position-relative":A},e.fieldClasses(x),O],props:{variant:T,stickyColumn:P},style:x.thStyle||{},attrs:PM(PM({tabindex:d&&x.sortable?"0":null,abbr:x.headerAbbr||null,title:x.headerTitle||null,"aria-colindex":f+1,"aria-label":y},e.getThValues(null,k,x.thAttr,r?"foot":"head",{})),C),on:$,key:k},M=[sy(k),sy(k.toLowerCase()),sy()];r&&(M=[oy(k),oy(k.toLowerCase()),oy()].concat(ore(M)));var N={label:m,column:k,field:x,isFoot:r,selectAllRows:h,clearSelected:p},F=e.normalizeSlot(M,N)||c("div",{domProps:St(v,m)}),j=A?c("span",{staticClass:"sr-only"}," (".concat(A,")")):null;return c(ax,D,[F,j].filter(Se))},_=n.map(g).filter(Se),w=[];if(r)w.push(c(Ya,{class:this.tfootTrClass,props:{variant:qe(l)?u:l}},_));else{var S={columns:n.length,fields:n,selectAllRows:h,clearSelected:p};w.push(this.normalizeSlot(A7,S)||c()),w.push(c(Ya,{class:this.theadTrClass,props:{variant:u}},_))}return c(r?ox:kF,{class:(r?this.tfootClass:this.theadClass)||null,props:r?{footVariant:o||s||null}:{headVariant:s||null},key:r?"bv-tfoot":"bv-thead"},w)}}}),hre={},pre=V.extend({methods:{renderTopRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(vP)||r===!0||r===""?a():a(Ya,{staticClass:"b-table-top-row",class:[ge(n)?n(null,"row-top"):n],attrs:ge(i)?i(null,"row-top"):i,key:"b-top-row"},[this.normalizeSlot(vP,{columns:e.length,fields:e})])}}});function CM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function dr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?CM(Object(r),!0).forEach(function(n){mre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):CM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vre=Q(de(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr(dr({},et),cF),fF),tx),pF),vF),_F),rx),OF),SF),xF),EF),T0),E0),sx),ux),lx),hre)),cu),gre=V.extend({name:cu,mixins:[lr,QS,it,Ce,wF,nx,qv,DF,MF,$F,qv,Tte,Hte,Mte,hF,mF,Nte,vte,pre,dte,mte,Rte],props:vre});function AM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _a(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?AM(Object(r),!0).forEach(function(n){bre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):AM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function bre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _re=Q(de(_a(_a(_a(_a(_a(_a(_a(_a(_a({},et),tx),pF),rx),T0),E0),sx),ux),lx)),iN),yre=V.extend({name:iN,mixins:[lr,QS,it,Ce,wF,nx,qv,DF,MF,$F,hF,mF],props:_re});function $M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function uy(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$M(Object(r),!0).forEach(function(n){wre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$M(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ore=Q(de(uy(uy(uy({},et),T0),E0)),aN),RF=V.extend({name:aN,mixins:[lr,QS,it,Ce,nx,qv],props:Ore,computed:{isTableSimple:function(){return!0}}}),Sre=he({components:{BTableLite:yre}}),xre=he({components:{BTableSimple:RF,BTbody:PF,BThead:kF,BTfoot:ox,BTr:Ya,BTd:uc,BTh:ax}}),Tre=he({components:{BTable:gre},plugins:{TableLitePlugin:Sre,TableSimplePlugin:xre}});function MM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ere(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MM(Object(r),!0).forEach(function(n){Pre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Pre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kM=function(e){return e>0},Cre=Q({animation:b(R),columns:b(Rr,5,kM),hideHeader:b(L,!1),rows:b(Rr,3,kM),showFooter:b(L,!1),tableProps:b(er,{})},Q3),Are=V.extend({name:Q3,functional:!0,props:Cre,render:function(e,r){var n=r.data,i=r.props,a=i.animation,s=i.columns,o=e("th",[e(Gv,{props:{animation:a}})]),u=e("tr",lf(s,o)),l=e("td",[e(Gv,{props:{width:"75%",animation:a}})]),c=e("tr",lf(s,l)),d=e("tbody",lf(i.rows,c)),h=i.hideHeader?e():e("thead",[u]),p=i.showFooter?e("tfoot",[u]):e();return e(RF,me(n,{props:Ere({},i.tableProps)}),[h,d,p])}}),$re=Q({loading:b(L,!1)},eN),Mre=V.extend({name:eN,functional:!0,props:$re,render:function(e,r){var n=r.data,i=r.props,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},l={};return i.loading?e("div",me(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),wr(l7,l,u,o)):wr(ir,l,u,o)}}),kre=he({components:{BSkeleton:Gv,BSkeletonIcon:ite,BSkeletonImg:ote,BSkeletonTable:Are,BSkeletonWrapper:Mre}}),Dre=he({components:{BSpinner:qB}}),ol;function DM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Rl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?DM(Object(r),!0).forEach(function(n){Vi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Vi(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var P0=tr("value",{type:Rr}),Rre=P0.mixin,Ire=P0.props,ly=P0.prop,RM=P0.event,_o=function(e){return!e.disabled},Nre=V.extend({name:lW,inject:{bvTabs:{default:function(){return{}}}},props:{controls:b(R),id:b(R),noKeyNav:b(L,!1),posInSet:b(Rr),setSize:b(Rr),tab:b(),tabIndex:b(Rr)},methods:{focus:function(){De(this.$refs.link)},handleEvent:function(e){if(!this.tab.disabled){var r=e.type,n=e.keyCode,i=e.shiftKey;r==="click"?(ke(e),this.$emit(oi,e)):r==="keydown"&&n===ca?(ke(e),this.$emit(oi,e)):r==="keydown"&&!this.noKeyNav&&([hn,Oi,Ys].indexOf(n)!==-1?(ke(e),i||n===Ys?this.$emit(mN,e):this.$emit(ON,e)):[Xr,Wa,Ws].indexOf(n)!==-1&&(ke(e),i||n===Ws?this.$emit(gN,e):this.$emit(yN,e)))}}},render:function(e){var r=this.id,n=this.tabIndex,i=this.setSize,a=this.posInSet,s=this.controls,o=this.handleEvent,u=this.tab,l=u.title,c=u.localActive,d=u.disabled,h=u.titleItemClass,p=u.titleLinkClass,g=u.titleLinkAttributes,_=e(gn,{staticClass:"nav-link",class:[{active:c&&!d,disabled:d},p,c?this.bvTabs.activeNavItemClass:null],props:{disabled:d},attrs:Rl(Rl({},g),{},{id:r,role:"tab",tabindex:n,"aria-selected":c&&!d?"true":"false","aria-setsize":i,"aria-posinset":a,"aria-controls":s}),on:{click:o,keydown:o},ref:"link"},[this.tab.normalizeSlot(hh)||l]);return e("li",{staticClass:"nav-item",class:[h],attrs:{role:"presentation"}},[_])}}),Lre=Re(qS,["tabs","isNavBar","cardHeader"]),Bre=Q(de(Rl(Rl(Rl(Rl({},et),Ire),Lre),{},{activeNavItemClass:b(we),activeTabClass:b(we),card:b(L,!1),contentClass:b(we),end:b(L,!1),lazy:b(L,!1),navClass:b(we),navWrapperClass:b(we),noFade:b(L,!1),noKeyNav:b(L,!1),noNavStyle:b(L,!1),tag:b(R,"div")})),sN),Fre=V.extend({name:sN,mixins:[it,Rre,Ce],provide:function(){return{bvTabs:this}},props:Bre,data:function(){return{currentTab:ae(this[ly],-1),tabs:[],registeredTabs:[]}},computed:{fade:function(){return!this.noFade},localNavClass:function(){var e=[];return this.card&&this.vertical&&e.push("card-header","h-100","border-bottom-0","rounded-0"),[].concat(e,[this.navClass])}},watch:(ol={},Vi(ol,ly,function(t,e){if(t!==e){t=ae(t,-1),e=ae(e,0);var r=this.tabs[t];r&&!r.disabled?this.activateTab(r):t<e?this.previousTab():this.nextTab()}}),Vi(ol,"currentTab",function(e){var r=-1;this.tabs.forEach(function(n,i){i===e&&!n.disabled?(n.localActive=!0,r=i):n.localActive=!1}),this.$emit(RM,r)}),Vi(ol,"tabs",function(e,r){var n=this;Ve(e.map(function(i){return i[ja]}),r.map(function(i){return i[ja]}))||this.$nextTick(function(){n.$emit(bW,e.slice(),r.slice())})}),Vi(ol,"registeredTabs",function(){this.updateTabs()}),ol),created:function(){this.$_observer=null},mounted:function(){this.setObserver(!0)},beforeDestroy:function(){this.setObserver(!1),this.tabs=[]},methods:{registerTab:function(e){Te(this.registeredTabs,e)||this.registeredTabs.push(e)},unregisterTab:function(e){this.registeredTabs=this.registeredTabs.slice().filter(function(r){return r!==e})},setObserver:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,r){var n=function(){e.$nextTick(function(){Xe(function(){e.updateTabs()})})};this.$_observer=Vf(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs.filter(function(i){return i.$children.filter(function(a){return a._isTab}).length===0}),r=[];if(nt&&e.length>0){var n=e.map(function(i){return"#".concat(i.safeId())}).join(", ");r=Fn(n,this.$el).map(function(i){return i.id}).filter(Se)}return TF(e,function(i,a){return r.indexOf(i.safeId())-r.indexOf(a.safeId())})},updateTabs:function(){var e=this.getTabs(),r=e.indexOf(e.slice().reverse().find(function(i){return i.localActive&&!i.disabled}));if(r<0){var n=this.currentTab;n>=e.length?r=e.indexOf(e.slice().reverse().find(_o)):e[n]&&!e[n].disabled&&(r=n)}r<0&&(r=e.indexOf(e.find(_o))),e.forEach(function(i,a){i.localActive=a===r}),this.tabs=e,this.currentTab=r},getButtonForTab:function(e){return(this.$refs.buttons||[]).find(function(r){return r.tab===e})},updateButton:function(e){var r=this.getButtonForTab(e);r&&r.$forceUpdate&&r.$forceUpdate()},activateTab:function(e){var r=this.currentTab,n=this.tabs,i=!1;if(e){var a=n.indexOf(e);if(a!==r&&a>-1&&!e.disabled){var s=new Eu(vW,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(s.type,a,r,s),s.defaultPrevented||(this.currentTab=a,i=!0)}}return!i&&this[ly]!==r&&this.$emit(RM,r),i},deactivateTab:function(e){return e?this.activateTab(this.tabs.filter(function(r){return r!==e}).find(_o)):!1},focusButton:function(e){var r=this;this.$nextTick(function(){De(r.getButtonForTab(e))})},emitTabClick:function(e,r){su(r)&&e&&e.$emit&&!e.disabled&&e.$emit(oi,r)},clickTab:function(e,r){this.activateTab(e),this.emitTabClick(e,r)},firstTab:function(e){var r=this.tabs.find(_o);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))},previousTab:function(e){var r=Ue(this.currentTab,0),n=this.tabs.slice(0,r).reverse().find(_o);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var r=Ue(this.currentTab,-1),n=this.tabs.slice(r+1).find(_o);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var r=this.tabs.slice().reverse().find(_o);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))}},render:function(e){var r=this,n=this.align,i=this.card,a=this.end,s=this.fill,o=this.firstTab,u=this.justified,l=this.lastTab,c=this.nextTab,d=this.noKeyNav,h=this.noNavStyle,p=this.pills,g=this.previousTab,_=this.small,w=this.tabs,S=this.vertical,E=w.find(function(k){return k.localActive&&!k.disabled}),x=w.find(function(k){return!k.disabled}),f=w.map(function(k,y){var $,C=k.safeId,O=null;return d||(O=-1,(k===E||!E&&k===x)&&(O=null)),e(Nre,{props:{controls:C?C():null,id:k.controlledBy||(C?C("_BV_tab_button_"):null),noKeyNav:d,posInSet:y+1,setSize:w.length,tab:k,tabIndex:O},on:($={},Vi($,oi,function(A){r.clickTab(k,A)}),Vi($,mN,o),Vi($,ON,g),Vi($,yN,c),Vi($,gN,l),$),key:k[ja]||y,ref:"buttons",refInFor:!0})}),m=e(GB,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:s,justified:u,align:n,tabs:!h&&!p,pills:!h&&p,vertical:S,small:_,cardHeader:i&&!S},ref:"nav"},[this.normalizeSlot(P7)||e(),f,this.normalizeSlot(E7)||e()]);m=e("div",{class:[{"card-header":i&&!S&&!a,"card-footer":i&&!S&&a,"col-auto":S},this.navWrapperClass],key:"bv-tabs-nav"},[m]);var v=this.normalizeSlot()||[],T=e();v.length===0&&(T=e("div",{class:["tab-pane","active",{"card-body":i}],key:"bv-empty-tab"},this.normalizeSlot($N)));var P=e("div",{staticClass:"tab-content",class:[{col:S},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[v,T]);return e(this.tag,{staticClass:"tabs",class:{row:S,"no-gutters":S&&i},attrs:{id:this.safeId()}},[a?P:e(),m,a?e():P])}}),Kn,bd;function IM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function NM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?IM(Object(r),!0).forEach(function(n){nn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function nn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xv="active",LM=ro+Xv,jre=Q(de(NM(NM({},et),{},(Kn={},nn(Kn,Xv,b(L,!1)),nn(Kn,"buttonId",b(R)),nn(Kn,"disabled",b(L,!1)),nn(Kn,"lazy",b(L,!1)),nn(Kn,"noBody",b(L,!1)),nn(Kn,"tag",b(R,"div")),nn(Kn,"title",b(R)),nn(Kn,"titleItemClass",b(we)),nn(Kn,"titleLinkAttributes",b(er)),nn(Kn,"titleLinkClass",b(we)),Kn))),rN),zre=V.extend({name:rN,mixins:[it,Ce],inject:{bvTabs:{default:function(){return{}}}},props:jre,data:function(){return{localActive:this[Xv]&&!this.disabled}},computed:{_isTab:function(){return!0},tabClasses:function(){var e=this.localActive,r=this.disabled;return[{active:e,disabled:r,"card-body":this.bvTabs.card&&!this.noBody},e?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade:function(){return!this.bvTabs.fade},computedLazy:function(){return this.bvTabs.lazy||this.lazy}},watch:(bd={},nn(bd,Xv,function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit(LM,this.localActive))}),nn(bd,"disabled",function(e,r){if(e!==r){var n=this.bvTabs.firstTab;e&&this.localActive&&n&&(this.localActive=!1,n())}}),nn(bd,"localActive",function(e){this.$emit(LM,e)}),bd),mounted:function(){this.registerTab()},updated:function(){var e=this.bvTabs.updateButton;e&&this.hasNormalizedSlot(hh)&&e(this)},beforeDestroy:function(){this.unregisterTab()},methods:{registerTab:function(){var e=this.bvTabs.registerTab;e&&e(this)},unregisterTab:function(){var e=this.bvTabs.unregisterTab;e&&e(this)},activate:function(){var e=this.bvTabs.activateTab;return e&&!this.disabled?e(this):!1},deactivate:function(){var e=this.bvTabs.deactivateTab;return e&&this.localActive?e(this):!1}},render:function(e){var r=this.localActive,n=e(this.tag,{staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",value:r}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":r?"false":"true","aria-labelledby":this.controlledBy||null},ref:"panel"},[r||!this.computedLazy?this.normalizeSlot():e()]);return e(xu,{props:{mode:"out-in",noFade:this.computedNoFade}},[n])}}),Hre=he({components:{BTabs:Fre,BTab:zre}}),Vre=he({components:{BTime:CB}});function Nm(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Nm=function(e){return typeof e}:Nm=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nm(t)}function Ure(t){return Gre(t)||Wre(t)||Yre()}function Gre(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}function Wre(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function Yre(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var Pp=typeof window<"u";function Kre(t){return Array.isArray(t)||Nm(t)==="object"?Object.freeze(t):t}function qre(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.reduce(function(r,n){var i=n.passengers[0],a=typeof i=="function"?i(e):n.passengers;return r.concat(a)},[])}function Xre(t,e){return t.map(function(r,n){return[n,r]}).sort(function(r,n){return e(r[1],n[1])||r[0]-n[0]}).map(function(r){return r[1]})}function BM(t,e){return e.reduce(function(r,n){return t.hasOwnProperty(n)&&(r[n]=t[n]),r},{})}var IF={},Zre={},Jre={},Qre=V.extend({data:function(){return{transports:IF,targets:Zre,sources:Jre,trackInstances:Pp}},methods:{open:function(e){if(Pp){var r=e.to,n=e.from,i=e.passengers,a=e.order,s=a===void 0?1/0:a;if(!(!r||!n||!i)){var o={to:r,from:n,passengers:Kre(i),order:s},u=Object.keys(this.transports);u.indexOf(r)===-1&&V.set(this.transports,r,[]);var l=this.$_getTransportIndex(o),c=this.transports[r].slice(0);l===-1?c.push(o):c[l]=o,this.transports[r]=Xre(c,function(d,h){return d.order-h.order})}}},close:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.to,i=e.from;if(!(!n||!i&&r===!1)&&this.transports[n])if(r)this.transports[n]=[];else{var a=this.$_getTransportIndex(e);if(a>=0){var s=this.transports[n].slice(0);s.splice(a,1),this.transports[n]=s}}},registerTarget:function(e,r,n){Pp&&(this.trackInstances&&!n&&this.targets[e]&&console.warn("[portal-vue]: Target ".concat(e," already exists")),this.$set(this.targets,e,Object.freeze([r])))},unregisterTarget:function(e){this.$delete(this.targets,e)},registerSource:function(e,r,n){Pp&&(this.trackInstances&&!n&&this.sources[e]&&console.warn("[portal-vue]: source ".concat(e," already exists")),this.$set(this.sources,e,Object.freeze([r])))},unregisterSource:function(e){this.$delete(this.sources,e)},hasTarget:function(e){return!!(this.targets[e]&&this.targets[e][0])},hasSource:function(e){return!!(this.sources[e]&&this.sources[e][0])},hasContentFor:function(e){return!!this.transports[e]&&!!this.transports[e].length},$_getTransportIndex:function(e){var r=e.to,n=e.from;for(var i in this.transports[r])if(this.transports[r][i].from===n)return+i;return-1}}}),Rn=new Qre(IF),ene=1,NF=V.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(ene++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(Math.random()*1e7))}}},created:function(){var e=this;this.$nextTick(function(){Rn.registerSource(e.name,e)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){Rn.unregisterSource(this.name),this.clear()},watch:{to:function(e,r){r&&r!==e&&this.clear(r),this.sendUpdate()}},methods:{clear:function(e){var r={from:this.name,to:e||this.to};Rn.close(r)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(e){return typeof e=="function"?e(this.slotProps):e},sendUpdate:function(){var e=this.normalizeSlots();if(e){var r={from:this.name,to:this.to,passengers:Ure(e),order:this.order};Rn.open(r)}else this.clear()}},render:function(e){var r=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return r&&this.disabled?r.length<=1&&this.slim?this.normalizeOwnChildren(r)[0]:e(n,[this.normalizeOwnChildren(r)]):this.slim?e():e(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),LF=V.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:Rn.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick(function(){Rn.registerTarget(e.name,e)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,r){Rn.unregisterTarget(r),Rn.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick(function(){e.firstRender=!1})},beforeDestroy:function(){Rn.unregisterTarget(this.name)},computed:{ownTransports:function(){var e=this.transports[this.name]||[];return this.multiple?e:e.length===0?[]:[e[e.length-1]]},passengers:function(){return qre(this.ownTransports,this.slotProps)}},methods:{children:function(){return this.passengers.length!==0?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var e=this.slim&&!this.transition;return e&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),e}},render:function(e){var r=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return r?n[0]:this.slim&&!i?e():e(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),tne=0,rne=["disabled","name","order","slim","slotProps","tag","to"],nne=["multiple","transition"];V.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(tne++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(Math.random()*1e7))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if(!(typeof document>"u")){var e=document.querySelector(this.mountTo);if(!e){console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"));return}var r=this.$props;if(Rn.targets[r.name]){r.bail?console.warn("[portal-vue]: Target ".concat(r.name,` is already mounted.
        Aborting because 'bail: true' is set`)):this.portalTarget=Rn.targets[r.name];return}var n=r.append;if(n){var i=typeof n=="string"?n:"DIV",a=document.createElement(i);e.appendChild(a),e=a}var s=BM(this.$props,nne);s.slim=this.targetSlim,s.tag=this.targetTag,s.slotProps=this.targetSlotProps,s.name=this.to,this.portalTarget=new LF({el:e,parent:this.$parent||this,propsData:s})}},beforeDestroy:function(){var e=this.portalTarget;if(this.append){var r=e.$el;r.parentNode.removeChild(r)}e.$destroy()},render:function(e){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),e();if(!this.$scopedSlots.manual){var r=BM(this.$props,rne);return e(NF,{props:r,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||e()}});var ine=V.extend({mixins:[Ce],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(e){var r=this;Xe(function(){$r(e,"".concat(r.name,"-enter-to"))})}},render:function(e){return e("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.normalizeSlot())}}),ane=Q({ariaAtomic:b(R),ariaLive:b(R),name:b(R,void 0,!0),role:b(R)},zl),BF=V.extend({name:zl,mixins:[Pi],props:ane,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var e=this.name;this.staticName=e,Rn.hasTarget(e)?(ur('A "<portal-target>" with name "'.concat(e,'" already exists in the document.'),zl),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(Ct(zl,pS),this.name)},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},render:function(e){var r=e("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=e(LF,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:ine}});r=e("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return r}}),ul;function FM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Zi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?FM(Object(r),!0).forEach(function(n){xl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var C0=tr("visible",{type:L,defaultValue:!1,event:vn}),sne=C0.mixin,one=C0.props,cy=C0.prop,une=C0.event,jM=1e3,FF=Ei(Ci,["href","to"]),jF=Q(de(Zi(Zi(Zi(Zi({},et),one),FF),{},{appendToast:b(L,!1),autoHideDelay:b(le,5e3),bodyClass:b(we),headerClass:b(we),headerTag:b(R,"header"),isStatus:b(L,!1),noAutoHide:b(L,!1),noCloseButton:b(L,!1),noFade:b(L,!1),noHoverPause:b(L,!1),solid:b(L,!1),static:b(L,!1),title:b(R),toastClass:b(we),toaster:b(R,"b-toaster-top-right"),variant:b(R)})),Ia),zF=V.extend({name:Ia,mixins:[lr,it,sne,Pi,Ce,KS],inheritAttrs:!1,props:jF,data:function(){return{isMounted:!1,doRender:!1,localShow:!1,isTransitioning:!1,isHiding:!1,order:0,dismissStarted:0,resumeDismiss:0}},computed:{toastClasses:function(){var e=this.appendToast,r=this.variant;return xl({"b-toast-solid":this.solid,"b-toast-append":e,"b-toast-prepend":!e},"b-toast-".concat(r),r)},slotScope:function(){var e=this.hide;return{hide:e}},computedDuration:function(){return Ue(ae(this.autoHideDelay,0),jM)},computedToaster:function(){return String(this.toaster)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs:function(){return Zi(Zi({},this.bvAttrs),{},{id:this.safeId(),tabindex:"0"})}},watch:(ul={},xl(ul,cy,function(t){this[t?"show":"hide"]()}),xl(ul,"localShow",function(e){e!==this[cy]&&this.$emit(une,e)}),xl(ul,"toaster",function(){this.$nextTick(this.ensureToaster)}),xl(ul,"static",function(e){e&&this.localShow&&this.ensureToaster()}),ul),created:function(){this.$_dismissTimer=null},mounted:function(){var e=this;this.isMounted=!0,this.$nextTick(function(){e[cy]&&Xe(function(){e.show()})}),this.listenOnRoot(Zt(Ia,yr),function(r){r===e.safeId()&&e.show()}),this.listenOnRoot(Zt(Ia,dn),function(r){(!r||r===e.safeId())&&e.hide()}),this.listenOnRoot(Ct(zl,pS),function(r){r===e.computedToaster&&e.hide()})},beforeDestroy:function(){this.clearDismissTimer()},methods:{show:function(){var e=this;if(!this.localShow){this.ensureToaster();var r=this.buildEvent(yr);this.emitEvent(r),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick(function(){Xe(function(){e.localShow=!0})})}},hide:function(){var e=this;if(this.localShow){var r=this.buildEvent(dn);this.emitEvent(r),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,Xe(function(){e.localShow=!1})}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Eu(e,Zi(Zi({cancelable:!1,target:this.$el||null,relatedTarget:null},r),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(Ia,r),e),this.$emit(r,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!Rn.hasTarget(e)){var r=document.createElement("div");document.body.appendChild(r);var n=new BF({parent:this.$root,propsData:{name:e}});n.$mount(r)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(e){var r=this.$refs["b-toast"];wi(e,r,"mouseenter",this.onPause,Be),wi(e,r,"mouseleave",this.onUnPause,Be)},onPause:function(){if(!(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Ue(this.computedDuration-e,jM))}},onUnPause:function(){if(this.noAutoHide||this.noHoverPause||!this.resumeDismiss){this.resumeDismiss=this.dismissStarted=0;return}this.startDismissTimer()},onLinkClick:function(){var e=this;this.$nextTick(function(){Xe(function(){e.hide()})})},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent(Kr);this.emitEvent(e),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var e=this.buildEvent(Lt);this.emitEvent(e),this.doRender=!1},makeToast:function(e){var r=this,n=this.title,i=this.slotScope,a=mh(this),s=[],o=this.normalizeSlot($7,i);o?s.push(o):n&&s.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||s.push(e(hu,{staticClass:"ml-auto mb-1",on:{click:function(){r.hide()}}}));var u=e();s.length>0&&(u=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},s));var l=e(a?gn:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?ht(FF,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot(ir,i));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[ja]),ref:"toast"},[u,l])}},render:function(e){if(!this.doRender||!this.isMounted)return e();var r=this.order,n=this.static,i=this.isHiding,a=this.isStatus,s="b-toast-".concat(this[ja]),o=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:Zi(Zi({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:i?null:a?"status":"alert","aria-live":i?null:a?"polite":"assertive","aria-atomic":i?null:"true"}),key:s,ref:"b-toast"},[e(xu,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(NF,{props:{name:s,to:this.computedToaster,order:r,slim:!0,disabled:n}},[o])}});function lne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zM(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function cne(t,e,r){return e&&zM(t.prototype,e),r&&zM(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function HM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _d(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?HM(Object(r),!0).forEach(function(n){dne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):HM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fne(t){return vne(t)||mne(t)||pne(t)||hne()}function hne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pne(t,e){if(t){if(typeof t=="string")return C1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C1(t,e)}}function mne(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vne(t){if(Array.isArray(t))return C1(t)}function C1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var yd="$bvToast",dy="_bv__toast",gne=["id"].concat(fne(Pe(Re(jF,["static","visible"])))),fy={toastContent:"default",title:"toast-title"},VM=function(e){return gne.reduce(function(r,n){return Bt(e[n])||(r[n]=e[n]),r},{})},bne=function(e){var r=e.extend({name:cW,extends:zF,destroyed:function(){var s=this.$el;s&&s.parentNode&&s.parentNode.removeChild(s)},mounted:function(){var s=this,o=function(){s.localShow=!1,s.doRender=!1,s.$nextTick(function(){s.$nextTick(function(){Xe(function(){s.$destroy()})})})};this.$parent.$once(Lf,o),this.$once(Lt,o),this.listenOnRoot(Ct(zl,pS),function(u){u===s.toaster&&o()})}}),n=function(s,o){if(!bv(yd)){var u=new r({parent:o,propsData:_d(_d(_d({},VM(Dn(Ia))),Re(s,Pe(fy))),{},{static:!1,visible:!0})});Pe(fy).forEach(function(c){var d=s[c];Bt(d)||(c==="title"&&Fe(d)&&(d=[o.$createElement("strong",{class:"mr-2"},d)]),u.$slots[fy[c]]=ze(d))});var l=document.createElement("div");document.body.appendChild(l),u.$mount(l)}},i=function(){function a(s){lne(this,a),fh(this,{_vm:s,_root:s.$root}),Vg(this,{_vm:Qn(),_root:Qn()})}return cne(a,[{key:"toast",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!o||bv(yd)||n(_d(_d({},VM(u)),{},{toastContent:o}),this._vm)}},{key:"show",value:function(o){o&&this._root.$emit(Zt(Ia,yr),o)}},{key:"hide",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._root.$emit(Zt(Ia,dn),o)}}]),a}();e.mixin({beforeCreate:function(){this[dy]=new i(this)}}),uu(e.prototype,yd)||cS(e.prototype,yd,{get:function(){return(!this||!this[dy])&&ur('"'.concat(yd,'" must be accessed from a Vue instance "this" context.'),Ia),this[dy]}})},_ne=he({plugins:{plugin:bne}}),yne=he({components:{BToast:zF,BToaster:BF},plugins:{BVToastPlugin:_ne}});function UM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function GM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?UM(Object(r),!0).forEach(function(n){wne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):UM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jn="__BV_Tooltip__",One="hover focus",WM={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},Sne=/^html$/i,xne=/^noninteractive$/i,Tne=/^nofade$/i,Ene=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,Pne=/^(window|viewport|scrollParent)$/i,Cne=/^d\d+$/i,Ane=/^ds\d+$/i,$ne=/^dh\d+$/i,Mne=/^o-?\d+$/i,kne=/^v-.+$/i,Dne=/\s+/,Rne=function(e,r){var n={title:void 0,trigger:"",placement:"top",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,id:null,html:!1,interactive:!0,disabled:!1,delay:Dn(ko,"delay",50),boundary:String(Dn(ko,"boundary","scrollParent")),boundaryPadding:ae(Dn(ko,"boundaryPadding",5),0),variant:Dn(ko,"variant"),customClass:Dn(ko,"customClass")};if(Fe(e.value)||gi(e.value)||ge(e.value)?n.title=e.value:Nr(e.value)&&(n=GM(GM({},n),e.value)),Bt(n.title)){var i=r.data||{};n.title=i.attrs&&!qe(i.attrs.title)?i.attrs.title:void 0}Nr(n.delay)||(n.delay={show:ae(n.delay,0),hide:ae(n.delay,0)}),e.arg&&(n.container="#".concat(e.arg)),Pe(e.modifiers).forEach(function(s){if(Sne.test(s))n.html=!0;else if(xne.test(s))n.interactive=!1;else if(Tne.test(s))n.animation=!1;else if(Ene.test(s))n.placement=s;else if(Pne.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(Cne.test(s)){var o=ae(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else Ane.test(s)?n.delay.show=ae(s.slice(2),0):$ne.test(s)?n.delay.hide=ae(s.slice(2),0):Mne.test(s)?n.offset=ae(s.slice(1),0):kne.test(s)&&(n.variant=s.slice(2)||null)});var a={};return ze(n.trigger||"").filter(Se).join(" ").trim().toLowerCase().split(Dne).forEach(function(s){WM[s]&&(a[s]=!0)}),Pe(e.modifiers).forEach(function(s){s=s.toLowerCase(),WM[s]&&(a[s]=!0)}),n.trigger=Pe(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=One),n},YM=function(e,r,n){if(nt){var i=Rne(r,n);if(!e[Jn]){var a=n.context;e[Jn]=new JS({parent:a,_scopeId:sc(a,void 0)}),e[Jn].__bv_prev_data__={},e[Jn].$on(yr,function(){ge(i.title)&&e[Jn].updateData({title:i.title(e)})})}var s={title:i.title,triggers:i.trigger,placement:i.placement,fallbackPlacement:i.fallbackPlacement,variant:i.variant,customClass:i.customClass,container:i.container,boundary:i.boundary,delay:i.delay,offset:i.offset,noFade:!i.animation,id:i.id,interactive:i.interactive,disabled:i.disabled,html:i.html},o=e[Jn].__bv_prev_data__;if(e[Jn].__bv_prev_data__=s,!Ve(s,o)){var u={target:e};Pe(s).forEach(function(l){s[l]!==o[l]&&(u[l]=l==="title"&&ge(s[l])?s[l](e):s[l])}),e[Jn].updateData(u)}}},Ine=function(e){e[Jn]&&(e[Jn].$destroy(),e[Jn]=null),delete e[Jn]},Nne={bind:function(e,r,n){YM(e,r,n)},componentUpdated:function(e,r,n){n.context.$nextTick(function(){YM(e,r,n)})},unbind:function(e){Ine(e)}},HF=he({directives:{VBTooltip:Nne}}),Lne=he({components:{BTooltip:nF},plugins:{VBTooltipPlugin:HF}}),Bne=he({plugins:{AlertPlugin:rY,AspectPlugin:lY,AvatarPlugin:XY,BadgePlugin:QY,BreadcrumbPlugin:a9,ButtonPlugin:s9,ButtonGroupPlugin:u9,ButtonToolbarPlugin:d9,CalendarPlugin:S9,CardPlugin:H9,CarouselPlugin:rK,CollapsePlugin:DL,DropdownPlugin:jS,EmbedPlugin:zq,FormPlugin:Xq,FormCheckboxPlugin:aX,FormDatepickerPlugin:fX,FormFilePlugin:OX,FormGroupPlugin:MX,FormInputPlugin:LX,FormRadioPlugin:FX,FormRatingPlugin:GX,FormSelectPlugin:iZ,FormSpinbuttonPlugin:uZ,FormTagsPlugin:wZ,FormTextareaPlugin:xZ,FormTimepickerPlugin:FZ,ImagePlugin:jZ,InputGroupPlugin:qZ,JumbotronPlugin:eJ,LayoutPlugin:aJ,LinkPlugin:sJ,ListGroupPlugin:hJ,MediaPlugin:_J,ModalPlugin:lQ,NavPlugin:KB,NavbarPlugin:LQ,OverlayPlugin:HQ,PaginationPlugin:XQ,PaginationNavPlugin:tee,PopoverPlugin:Ree,ProgressPlugin:Bee,SidebarPlugin:tte,SkeletonPlugin:kre,SpinnerPlugin:Dre,TablePlugin:Tre,TabsPlugin:Hre,TimePlugin:Vre,ToastPlugin:yne,TooltipPlugin:Lne}}),Fne=he({directives:{VBHover:iB}}),jne=he({directives:{VBModal:UB}});function KM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function qM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?KM(Object(r),!0).forEach(function(n){zne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):KM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Hne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XM(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Vne(t,e,r){return e&&XM(t.prototype,e),r&&XM(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Une="v-b-scrollspy",Gne="dropdown-item",hy="active",Wne=".nav, .list-group",py=".nav-link",my=".nav-item",ZM=".list-group-item",Yne=".dropdown, .dropup",Kne=".dropdown-item",qne=".dropdown-toggle",Xne=Ct("BVScrollspy","activate"),Zne="offset",vy="position",Jne={element:"body",offset:10,method:"auto",throttle:75},Qne={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},JM=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],eie=function(e){return RG(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},tie=function(e,r,n){for(var i in n)if(uu(n,i)){var a=n[i],s=r[i],o=s&&ut(s)?"element":eie(s);o=s&&s._isVue?"component":o,new RegExp(a).test(o)||ur("".concat(e,': Option "').concat(i,'" provided type "').concat(o,'" but expected type "').concat(a,'"'))}},VF=function(){function t(e,r,n){Hne(this,t),this.$el=e,this.$scroller=null,this.$selector=[py,ZM,Kne].join(","),this.$offsets=[],this.$targets=[],this.$activeTarget=null,this.$scrollHeight=0,this.$resizeTimeout=null,this.$scrollerObserver=null,this.$targetsObserver=null,this.$root=n||null,this.$config=null,this.updateConfig(r)}return Vne(t,[{key:"updateConfig",value:function(r,n){this.$scroller&&(this.unlisten(),this.$scroller=null);var i=qM(qM({},this.constructor.Default),r);if(n&&(this.$root=n),tie(this.constructor.Name,i,this.constructor.DefaultType),this.$config=i,this.$root){var a=this;this.$root.$nextTick(function(){a.listen()})}else this.listen()}},{key:"dispose",value:function(){this.unlisten(),clearTimeout(this.$resizeTimeout),this.$resizeTimeout=null,this.$el=null,this.$config=null,this.$scroller=null,this.$selector=null,this.$offsets=null,this.$targets=null,this.$activeTarget=null,this.$scrollHeight=null}},{key:"listen",value:function(){var r=this,n=this.getScroller();n&&n.tagName!=="BODY"&&ft(n,"scroll",this,Be),ft(window,"scroll",this,Be),ft(window,"resize",this,Be),ft(window,"orientationchange",this,Be),JM.forEach(function(i){ft(window,i,r,Be)}),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var r=this,n=this.getScroller();this.setObservers(!1),n&&n.tagName!=="BODY"&&yt(n,"scroll",this,Be),yt(window,"scroll",this,Be),yt(window,"resize",this,Be),yt(window,"orientationchange",this,Be),JM.forEach(function(i){yt(window,i,r,Be)})}},{key:"setObservers",value:function(r){var n=this;this.$scrollerObserver&&this.$scrollerObserver.disconnect(),this.$targetsObserver&&this.$targetsObserver.disconnect(),this.$scrollerObserver=null,this.$targetsObserver=null,r&&(this.$targetsObserver=Vf(this.$el,function(){n.handleEvent("mutation")},{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$scrollerObserver=Vf(this.getScroller(),function(){n.handleEvent("mutation")},{subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["id","style","class"]}))}},{key:"handleEvent",value:function(r){var n=Fe(r)?r:r.type,i=this,a=function(){i.$resizeTimeout||(i.$resizeTimeout=setTimeout(function(){i.refresh(),i.process(),i.$resizeTimeout=null},i.$config.throttle))};n==="scroll"?(this.$scrollerObserver||this.listen(),this.process()):/(resize|orientationchange|mutation|refresh)/.test(n)&&a()}},{key:"refresh",value:function(){var r=this,n=this.getScroller();if(n){var i=n!==n.window?vy:Zne,a=this.$config.method==="auto"?i:this.$config.method,s=a===vy?z7:Bw,o=a===vy?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),Fn(this.$selector,this.$el).map(function(u){return Nn(u,"href")}).filter(function(u){return u&&YE.test(u||"")}).map(function(u){var l=u.replace(YE,"$1").trim();if(!l)return null;var c=In(l,n);return c&&yi(c)?{offset:ae(s(c).top,0)+o,target:l}:null}).filter(Se).sort(function(u,l){return u.offset-l.offset}).reduce(function(u,l){return u[l.target]||(r.$offsets.push(l.offset),r.$targets.push(l.target),u[l.target]=!0),u},{}),this}}},{key:"process",value:function(){var r=this.getScrollTop()+this.$config.offset,n=this.getScrollHeight(),i=this.$config.offset+n-this.getOffsetHeight();if(this.$scrollHeight!==n&&this.refresh(),r>=i){var a=this.$targets[this.$targets.length-1];this.$activeTarget!==a&&this.activate(a);return}if(this.$activeTarget&&r<this.$offsets[0]&&this.$offsets[0]>0){this.$activeTarget=null,this.clear();return}for(var s=this.$offsets.length;s--;){var o=this.$activeTarget!==this.$targets[s]&&r>=this.$offsets[s]&&(Bt(this.$offsets[s+1])||r<this.$offsets[s+1]);o&&this.activate(this.$targets[s])}}},{key:"getScroller",value:function(){if(this.$scroller)return this.$scroller;var r=this.$config.element;if(r)ut(r.$el)?r=r.$el:Fe(r)&&(r=In(r));else return null;return r?(this.$scroller=r.tagName==="BODY"?window:r,this.$scroller):null}},{key:"getScrollTop",value:function(){var r=this.getScroller();return r===window?r.pageYOffset:r.scrollTop}},{key:"getScrollHeight",value:function(){return this.getScroller().scrollHeight||Ue(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"getOffsetHeight",value:function(){var r=this.getScroller();return r===window?window.innerHeight:fu(r).height}},{key:"activate",value:function(r){var n=this;this.$activeTarget=r,this.clear();var i=Fn(this.$selector.split(",").map(function(a){return"".concat(a,'[href$="').concat(r,'"]')}).join(","),this.$el);i.forEach(function(a){if(Ff(a,Gne)){var s=fn(Yne,a);s&&n.setActiveState(In(qne,s),!0),n.setActiveState(a,!0)}else{n.setActiveState(a,!0),za(a.parentElement,my)&&n.setActiveState(a.parentElement,!0);for(var o=a;o;){o=fn(Wne,o);var u=o?o.previousElementSibling:null;u&&za(u,"".concat(py,", ").concat(ZM))&&n.setActiveState(u,!0),u&&za(u,my)&&(n.setActiveState(In(py,u),!0),n.setActiveState(u,!0))}}}),i&&i.length>0&&this.$root&&this.$root.$emit(Xne,r,i)}},{key:"clear",value:function(){var r=this;Fn("".concat(this.$selector,", ").concat(my),this.$el).filter(function(n){return Ff(n,hy)}).forEach(function(n){return r.setActiveState(n,!1)})}},{key:"setActiveState",value:function(r,n){r&&(n?Gr(r,hy):$r(r,hy))}}],[{key:"Name",get:function(){return Une}},{key:"Default",get:function(){return Jne}},{key:"DefaultType",get:function(){return Qne}}]),t}(),Io="__BV_Scrollspy__",rie=/^\d+$/,nie=/^(auto|position|offset)$/,iie=function(e){var r={};return e.arg&&(r.element="#".concat(e.arg)),Pe(e.modifiers).forEach(function(n){rie.test(n)?r.offset=ae(n,0):nie.test(n)&&(r.method=n)}),Fe(e.value)?r.element=e.value:gi(e.value)?r.offset=zw(e.value):Nt(e.value)&&Pe(e.value).filter(function(n){return!!VF.DefaultType[n]}).forEach(function(n){r[n]=e.value[n]}),r},Cp=function(e,r,n){if(nt){var i=iie(r);e[Io]?e[Io].updateConfig(i,n.context.$root):e[Io]=new VF(e,i,n.context.$root)}},aie=function(e){e[Io]&&(e[Io].dispose(),e[Io]=null,delete e[Io])},sie={bind:function(e,r,n){Cp(e,r,n)},inserted:function(e,r,n){Cp(e,r,n)},update:function(e,r,n){r.value!==r.oldValue&&Cp(e,r,n)},componentUpdated:function(e,r,n){r.value!==r.oldValue&&Cp(e,r,n)},unbind:function(e){aie(e)}},oie=he({directives:{VBScrollspy:sie}}),uie=he({directives:{VBVisible:$S}}),lie=he({plugins:{VBHoverPlugin:Fne,VBModalPlugin:jne,VBPopoverPlugin:aF,VBScrollspyPlugin:oie,VBTogglePlugin:MS,VBTooltipPlugin:HF,VBVisiblePlugin:uie}});/*!
 * BootstrapVue 2.22.0
 *
 * @link https://bootstrap-vue.org
 * @source https://github.com/bootstrap-vue/bootstrap-vue
 * @copyright (c) 2016-2022 BootstrapVue
 * @license MIT
 * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE
 */var cie="BootstrapVue",die=yI({plugins:{componentsPlugin:Bne,directivesPlugin:lie}}),iAe={install:die,NAME:cie},Oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function fie(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){if(this instanceof n){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(e,i);return new a}return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var UF={exports:{}};(function(t){(function(){function e(f){var m={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:`Remove only spaces, ' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids`,type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(f===!1)return JSON.parse(JSON.stringify(m));var v={};for(var T in m)m.hasOwnProperty(T)&&(v[T]=m[T].defaultValue);return v}function r(){var f=e(!0),m={};for(var v in f)f.hasOwnProperty(v)&&(m[v]=!0);return m}var n={},i={},a={},s=e(!0),o="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:r()};n.helper={},n.extensions={},n.setOption=function(f,m){return s[f]=m,this},n.getOption=function(f){return s[f]},n.getOptions=function(){return s},n.resetOptions=function(){s=e(!0)},n.setFlavor=function(f){if(!u.hasOwnProperty(f))throw Error(f+" flavor was not found");n.resetOptions();var m=u[f];o=f;for(var v in m)m.hasOwnProperty(v)&&(s[v]=m[v])},n.getFlavor=function(){return o},n.getFlavorOptions=function(f){if(u.hasOwnProperty(f))return u[f]},n.getDefaultOptions=function(f){return e(f)},n.subParser=function(f,m){if(n.helper.isString(f))if(typeof m<"u")i[f]=m;else{if(i.hasOwnProperty(f))return i[f];throw Error("SubParser named "+f+" not registered!")}},n.extension=function(f,m){if(!n.helper.isString(f))throw Error("Extension 'name' must be a string");if(f=n.helper.stdExtName(f),n.helper.isUndefined(m)){if(!a.hasOwnProperty(f))throw Error("Extension named "+f+" is not registered!");return a[f]}else{typeof m=="function"&&(m=m()),n.helper.isArray(m)||(m=[m]);var v=l(m,f);if(v.valid)a[f]=m;else throw Error(v.error)}},n.getAllExtensions=function(){return a},n.removeExtension=function(f){delete a[f]},n.resetExtensions=function(){a={}};function l(f,m){var v=m?"Error in "+m+" extension->":"Error in unnamed extension",T={valid:!0,error:""};n.helper.isArray(f)||(f=[f]);for(var P=0;P<f.length;++P){var k=v+" sub-extension "+P+": ",y=f[P];if(typeof y!="object")return T.valid=!1,T.error=k+"must be an object, but "+typeof y+" given",T;if(!n.helper.isString(y.type))return T.valid=!1,T.error=k+'property "type" must be a string, but '+typeof y.type+" given",T;var $=y.type=y.type.toLowerCase();if($==="language"&&($=y.type="lang"),$==="html"&&($=y.type="output"),$!=="lang"&&$!=="output"&&$!=="listener")return T.valid=!1,T.error=k+"type "+$+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',T;if($==="listener"){if(n.helper.isUndefined(y.listeners))return T.valid=!1,T.error=k+'. Extensions of type "listener" must have a property called "listeners"',T}else if(n.helper.isUndefined(y.filter)&&n.helper.isUndefined(y.regex))return T.valid=!1,T.error=k+$+' extensions must define either a "regex" property or a "filter" method',T;if(y.listeners){if(typeof y.listeners!="object")return T.valid=!1,T.error=k+'"listeners" property must be an object but '+typeof y.listeners+" given",T;for(var C in y.listeners)if(y.listeners.hasOwnProperty(C)&&typeof y.listeners[C]!="function")return T.valid=!1,T.error=k+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+C+" must be a function but "+typeof y.listeners[C]+" given",T}if(y.filter){if(typeof y.filter!="function")return T.valid=!1,T.error=k+'"filter" must be a function, but '+typeof y.filter+" given",T}else if(y.regex){if(n.helper.isString(y.regex)&&(y.regex=new RegExp(y.regex,"g")),!(y.regex instanceof RegExp))return T.valid=!1,T.error=k+'"regex" property must either be a string or a RegExp object, but '+typeof y.regex+" given",T;if(n.helper.isUndefined(y.replace))return T.valid=!1,T.error=k+'"regex" extensions must implement a replace string or function',T}}return T}n.validateExtension=function(f){var m=l(f,null);return m.valid?!0:(console.warn(m.error),!1)},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(f){return typeof f=="string"||f instanceof String},n.helper.isFunction=function(f){var m={};return f&&m.toString.call(f)==="[object Function]"},n.helper.isArray=function(f){return Array.isArray(f)},n.helper.isUndefined=function(f){return typeof f>"u"},n.helper.forEach=function(f,m){if(n.helper.isUndefined(f))throw new Error("obj param is required");if(n.helper.isUndefined(m))throw new Error("callback param is required");if(!n.helper.isFunction(m))throw new Error("callback param must be a function/closure");if(typeof f.forEach=="function")f.forEach(m);else if(n.helper.isArray(f))for(var v=0;v<f.length;v++)m(f[v],v,f);else if(typeof f=="object")for(var T in f)f.hasOwnProperty(T)&&m(f[T],T,f);else throw new Error("obj does not seem to be an array or an iterable object")},n.helper.stdExtName=function(f){return f.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()};function c(f,m){var v=m.charCodeAt(0);return"¨E"+v+"E"}n.helper.escapeCharactersCallback=c,n.helper.escapeCharacters=function(f,m,v){var T="(["+m.replace(/([\[\]\\])/g,"\\$1")+"])";v&&(T="\\\\"+T);var P=new RegExp(T,"g");return f=f.replace(P,c),f},n.helper.unescapeHTMLEntities=function(f){return f.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var d=function(f,m,v,T){var P=T||"",k=P.indexOf("g")>-1,y=new RegExp(m+"|"+v,"g"+P.replace(/g/g,"")),$=new RegExp(m,P.replace(/g/g,"")),C=[],O,A,D,M,N;do for(O=0;D=y.exec(f);)if($.test(D[0]))O++||(A=y.lastIndex,M=A-D[0].length);else if(O&&!--O){N=D.index+D[0].length;var F={left:{start:M,end:A},match:{start:A,end:D.index},right:{start:D.index,end:N},wholeMatch:{start:M,end:N}};if(C.push(F),!k)return C}while(O&&(y.lastIndex=A));return C};n.helper.matchRecursiveRegExp=function(f,m,v,T){for(var P=d(f,m,v,T),k=[],y=0;y<P.length;++y)k.push([f.slice(P[y].wholeMatch.start,P[y].wholeMatch.end),f.slice(P[y].match.start,P[y].match.end),f.slice(P[y].left.start,P[y].left.end),f.slice(P[y].right.start,P[y].right.end)]);return k},n.helper.replaceRecursiveRegExp=function(f,m,v,T,P){if(!n.helper.isFunction(m)){var k=m;m=function(){return k}}var y=d(f,v,T,P),$=f,C=y.length;if(C>0){var O=[];y[0].wholeMatch.start!==0&&O.push(f.slice(0,y[0].wholeMatch.start));for(var A=0;A<C;++A)O.push(m(f.slice(y[A].wholeMatch.start,y[A].wholeMatch.end),f.slice(y[A].match.start,y[A].match.end),f.slice(y[A].left.start,y[A].left.end),f.slice(y[A].right.start,y[A].right.end))),A<C-1&&O.push(f.slice(y[A].wholeMatch.end,y[A+1].wholeMatch.start));y[C-1].wholeMatch.end<f.length&&O.push(f.slice(y[C-1].wholeMatch.end)),$=O.join("")}return $},n.helper.regexIndexOf=function(f,m,v){if(!n.helper.isString(f))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(!(m instanceof RegExp))throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var T=f.substring(v||0).search(m);return T>=0?T+(v||0):T},n.helper.splitAtIndex=function(f,m){if(!n.helper.isString(f))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[f.substring(0,m),f.substring(m)]},n.helper.encodeEmailAddress=function(f){var m=[function(v){return"&#"+v.charCodeAt(0)+";"},function(v){return"&#x"+v.charCodeAt(0).toString(16)+";"},function(v){return v}];return f=f.replace(/./g,function(v){if(v==="@")v=m[Math.floor(Math.random()*2)](v);else{var T=Math.random();v=T>.9?m[2](v):T>.45?m[1](v):m[0](v)}return v}),f},n.helper.padEnd=function(m,v,T){return v=v>>0,T=String(T||" "),m.length>v?String(m):(v=v-m.length,v>T.length&&(T+=T.repeat(v/T.length)),String(m)+T.slice(0,v))},typeof console>"u"&&(console={warn:function(f){alert(f)},log:function(f){alert(f)},error:function(f){throw f}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:`<span style="font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span>`},n.Converter=function(f){var m={},v=[],T=[],P={},k=o,y={parsed:{},raw:"",format:""};$();function $(){f=f||{};for(var M in s)s.hasOwnProperty(M)&&(m[M]=s[M]);if(typeof f=="object")for(var N in f)f.hasOwnProperty(N)&&(m[N]=f[N]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof f+" was passed instead.");m.extensions&&n.helper.forEach(m.extensions,C)}function C(M,N){if(N=N||null,n.helper.isString(M))if(M=n.helper.stdExtName(M),N=M,n.extensions[M]){console.warn("DEPRECATION WARNING: "+M+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),O(n.extensions[M],M);return}else if(!n.helper.isUndefined(a[M]))M=a[M];else throw Error('Extension "'+M+'" could not be loaded. It was either not found or is not a valid extension.');typeof M=="function"&&(M=M()),n.helper.isArray(M)||(M=[M]);var F=l(M,N);if(!F.valid)throw Error(F.error);for(var j=0;j<M.length;++j){switch(M[j].type){case"lang":v.push(M[j]);break;case"output":T.push(M[j]);break}if(M[j].hasOwnProperty("listeners"))for(var H in M[j].listeners)M[j].listeners.hasOwnProperty(H)&&A(H,M[j].listeners[H])}}function O(M,N){typeof M=="function"&&(M=M(new n.Converter)),n.helper.isArray(M)||(M=[M]);var F=l(M,N);if(!F.valid)throw Error(F.error);for(var j=0;j<M.length;++j)switch(M[j].type){case"lang":v.push(M[j]);break;case"output":T.push(M[j]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function A(M,N){if(!n.helper.isString(M))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof M+" given");if(typeof N!="function")throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof N+" given");P.hasOwnProperty(M)||(P[M]=[]),P[M].push(N)}function D(M){var N=M.match(/^\s*/)[0].length,F=new RegExp("^\\s{0,"+N+"}","gm");return M.replace(F,"")}this._dispatch=function(N,F,j,H){if(P.hasOwnProperty(N))for(var W=0;W<P[N].length;++W){var Z=P[N][W](N,F,this,j,H);Z&&typeof Z<"u"&&(F=Z)}return F},this.listen=function(M,N){return A(M,N),this},this.makeHtml=function(M){if(!M)return M;var N={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:v,outputModifiers:T,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return M=M.replace(/¨/g,"¨T"),M=M.replace(/\$/g,"¨D"),M=M.replace(/\r\n/g,`
`),M=M.replace(/\r/g,`
`),M=M.replace(/\u00A0/g,"&nbsp;"),m.smartIndentationFix&&(M=D(M)),M=`

`+M+`

`,M=n.subParser("detab")(M,m,N),M=M.replace(/^[ \t]+$/mg,""),n.helper.forEach(v,function(F){M=n.subParser("runExtension")(F,M,m,N)}),M=n.subParser("metadata")(M,m,N),M=n.subParser("hashPreCodeTags")(M,m,N),M=n.subParser("githubCodeBlocks")(M,m,N),M=n.subParser("hashHTMLBlocks")(M,m,N),M=n.subParser("hashCodeTags")(M,m,N),M=n.subParser("stripLinkDefinitions")(M,m,N),M=n.subParser("blockGamut")(M,m,N),M=n.subParser("unhashHTMLSpans")(M,m,N),M=n.subParser("unescapeSpecialChars")(M,m,N),M=M.replace(/¨D/g,"$$"),M=M.replace(/¨T/g,"¨"),M=n.subParser("completeHTMLDocument")(M,m,N),n.helper.forEach(T,function(F){M=n.subParser("runExtension")(F,M,m,N)}),y=N.metadata,M},this.makeMarkdown=this.makeMd=function(M,N){if(M=M.replace(/\r\n/g,`
`),M=M.replace(/\r/g,`
`),M=M.replace(/>[ \t]+</,">¨NBSP;<"),!N)if(window&&window.document)N=window.document;else throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");var F=N.createElement("div");F.innerHTML=M;var j={preList:Y(F)};te(F);for(var H=F.childNodes,W="",Z=0;Z<H.length;Z++)W+=n.subParser("makeMarkdown.node")(H[Z],j);function te(G){for(var U=0;U<G.childNodes.length;++U){var K=G.childNodes[U];K.nodeType===3?/\S/.test(K.nodeValue)?(K.nodeValue=K.nodeValue.split(`
`).join(" "),K.nodeValue=K.nodeValue.replace(/(\s)+/g,"$1")):(G.removeChild(K),--U):K.nodeType===1&&te(K)}}function Y(G){for(var U=G.querySelectorAll("pre"),K=[],ue=0;ue<U.length;++ue)if(U[ue].childElementCount===1&&U[ue].firstChild.tagName.toLowerCase()==="code"){var _e=U[ue].firstChild.innerHTML.trim(),$e=U[ue].firstChild.getAttribute("data-language")||"";if($e==="")for(var xe=U[ue].firstChild.className.split(" "),_t=0;_t<xe.length;++_t){var Gt=xe[_t].match(/^language-(.+)$/);if(Gt!==null){$e=Gt[1];break}}_e=n.helper.unescapeHTMLEntities(_e),K.push(_e),U[ue].outerHTML='<precode language="'+$e+'" precodenum="'+ue.toString()+'"></precode>'}else K.push(U[ue].innerHTML),U[ue].innerHTML="",U[ue].setAttribute("prenum",ue.toString());return K}return W},this.setOption=function(M,N){m[M]=N},this.getOption=function(M){return m[M]},this.getOptions=function(){return m},this.addExtension=function(M,N){N=N||null,C(M,N)},this.useExtension=function(M){C(M)},this.setFlavor=function(M){if(!u.hasOwnProperty(M))throw Error(M+" flavor was not found");var N=u[M];k=M;for(var F in N)N.hasOwnProperty(F)&&(m[F]=N[F])},this.getFlavor=function(){return k},this.removeExtension=function(M){n.helper.isArray(M)||(M=[M]);for(var N=0;N<M.length;++N){for(var F=M[N],j=0;j<v.length;++j)v[j]===F&&v[j].splice(j,1);for(var H=0;H<T.length;++j)T[H]===F&&T[H].splice(j,1)}},this.getAllExtensions=function(){return{language:v,output:T}},this.getMetadata=function(M){return M?y.raw:y.parsed},this.getMetadataFormat=function(){return y.format},this._setMetadataPair=function(M,N){y.parsed[M]=N},this._setMetadataFormat=function(M){y.format=M},this._setMetadataRaw=function(M){y.raw=M}},n.subParser("anchors",function(f,m,v){f=v.converter._dispatch("anchors.before",f,m,v);var T=function(P,k,y,$,C,O,A){if(n.helper.isUndefined(A)&&(A=""),y=y.toLowerCase(),P.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)$="";else if(!$)if(y||(y=k.toLowerCase().replace(/ ?\n/g," ")),$="#"+y,!n.helper.isUndefined(v.gUrls[y]))$=v.gUrls[y],n.helper.isUndefined(v.gTitles[y])||(A=v.gTitles[y]);else return P;$=$.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var D='<a href="'+$+'"';return A!==""&&A!==null&&(A=A.replace(/"/g,"&quot;"),A=A.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),D+=' title="'+A+'"'),m.openLinksInNewWindow&&!/^#/.test($)&&(D+=' rel="noopener noreferrer" target="¨E95Eblank"'),D+=">"+k+"</a>",D};return f=f.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,T),f=f.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,T),f=f.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,T),f=f.replace(/\[([^\[\]]+)]()()()()()/g,T),m.ghMentions&&(f=f.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi,function(P,k,y,$,C){if(y==="\\")return k+$;if(!n.helper.isString(m.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var O=m.ghMentionsLink.replace(/\{u}/g,C),A="";return m.openLinksInNewWindow&&(A=' rel="noopener noreferrer" target="¨E95Eblank"'),k+'<a href="'+O+'"'+A+">"+$+"</a>"})),f=v.converter._dispatch("anchors.after",f,m,v),f});var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,g=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,_=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,w=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,S=function(f){return function(m,v,T,P,k,y,$){T=T.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var C=T,O="",A="",D=v||"",M=$||"";return/^www\./i.test(T)&&(T=T.replace(/^www\./i,"http://www.")),f.excludeTrailingPunctuationFromURLs&&y&&(O=y),f.openLinksInNewWindow&&(A=' rel="noopener noreferrer" target="¨E95Eblank"'),D+'<a href="'+T+'"'+A+">"+C+"</a>"+O+M}},E=function(f,m){return function(v,T,P){var k="mailto:";return T=T||"",P=n.subParser("unescapeSpecialChars")(P,f,m),f.encodeEmails?(k=n.helper.encodeEmailAddress(k+P),P=n.helper.encodeEmailAddress(P)):k=k+P,T+'<a href="'+k+'">'+P+"</a>"}};n.subParser("autoLinks",function(f,m,v){return f=v.converter._dispatch("autoLinks.before",f,m,v),f=f.replace(g,S(m)),f=f.replace(w,E(m,v)),f=v.converter._dispatch("autoLinks.after",f,m,v),f}),n.subParser("simplifiedAutoLinks",function(f,m,v){return m.simplifiedAutoLink&&(f=v.converter._dispatch("simplifiedAutoLinks.before",f,m,v),m.excludeTrailingPunctuationFromURLs?f=f.replace(p,S(m)):f=f.replace(h,S(m)),f=f.replace(_,E(m,v)),f=v.converter._dispatch("simplifiedAutoLinks.after",f,m,v)),f}),n.subParser("blockGamut",function(f,m,v){return f=v.converter._dispatch("blockGamut.before",f,m,v),f=n.subParser("blockQuotes")(f,m,v),f=n.subParser("headers")(f,m,v),f=n.subParser("horizontalRule")(f,m,v),f=n.subParser("lists")(f,m,v),f=n.subParser("codeBlocks")(f,m,v),f=n.subParser("tables")(f,m,v),f=n.subParser("hashHTMLBlocks")(f,m,v),f=n.subParser("paragraphs")(f,m,v),f=v.converter._dispatch("blockGamut.after",f,m,v),f}),n.subParser("blockQuotes",function(f,m,v){f=v.converter._dispatch("blockQuotes.before",f,m,v),f=f+`

`;var T=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return m.splitAdjacentBlockquotes&&(T=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),f=f.replace(T,function(P){return P=P.replace(/^[ \t]*>[ \t]?/gm,""),P=P.replace(/¨0/g,""),P=P.replace(/^[ \t]+$/gm,""),P=n.subParser("githubCodeBlocks")(P,m,v),P=n.subParser("blockGamut")(P,m,v),P=P.replace(/(^|\n)/g,"$1  "),P=P.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(k,y){var $=y;return $=$.replace(/^  /mg,"¨0"),$=$.replace(/¨0/g,""),$}),n.subParser("hashBlock")(`<blockquote>
`+P+`
</blockquote>`,m,v)}),f=v.converter._dispatch("blockQuotes.after",f,m,v),f}),n.subParser("codeBlocks",function(f,m,v){f=v.converter._dispatch("codeBlocks.before",f,m,v),f+="¨0";var T=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return f=f.replace(T,function(P,k,y){var $=k,C=y,O=`
`;return $=n.subParser("outdent")($,m,v),$=n.subParser("encodeCode")($,m,v),$=n.subParser("detab")($,m,v),$=$.replace(/^\n+/g,""),$=$.replace(/\n+$/g,""),m.omitExtraWLInCodeBlocks&&(O=""),$="<pre><code>"+$+O+"</code></pre>",n.subParser("hashBlock")($,m,v)+C}),f=f.replace(/¨0/,""),f=v.converter._dispatch("codeBlocks.after",f,m,v),f}),n.subParser("codeSpans",function(f,m,v){return f=v.converter._dispatch("codeSpans.before",f,m,v),typeof f>"u"&&(f=""),f=f.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(T,P,k,y){var $=y;return $=$.replace(/^([ \t]*)/g,""),$=$.replace(/[ \t]*$/g,""),$=n.subParser("encodeCode")($,m,v),$=P+"<code>"+$+"</code>",$=n.subParser("hashHTMLSpans")($,m,v),$}),f=v.converter._dispatch("codeSpans.after",f,m,v),f}),n.subParser("completeHTMLDocument",function(f,m,v){if(!m.completeHTMLDocument)return f;f=v.converter._dispatch("completeHTMLDocument.before",f,m,v);var T="html",P=`<!DOCTYPE HTML>
`,k="",y=`<meta charset="utf-8">
`,$="",C="";typeof v.metadata.parsed.doctype<"u"&&(P="<!DOCTYPE "+v.metadata.parsed.doctype+`>
`,T=v.metadata.parsed.doctype.toString().toLowerCase(),(T==="html"||T==="html5")&&(y='<meta charset="utf-8">'));for(var O in v.metadata.parsed)if(v.metadata.parsed.hasOwnProperty(O))switch(O.toLowerCase()){case"doctype":break;case"title":k="<title>"+v.metadata.parsed.title+`</title>
`;break;case"charset":T==="html"||T==="html5"?y='<meta charset="'+v.metadata.parsed.charset+`">
`:y='<meta name="charset" content="'+v.metadata.parsed.charset+`">
`;break;case"language":case"lang":$=' lang="'+v.metadata.parsed[O]+'"',C+='<meta name="'+O+'" content="'+v.metadata.parsed[O]+`">
`;break;default:C+='<meta name="'+O+'" content="'+v.metadata.parsed[O]+`">
`}return f=P+"<html"+$+`>
<head>
`+k+y+C+`</head>
<body>
`+f.trim()+`
</body>
</html>`,f=v.converter._dispatch("completeHTMLDocument.after",f,m,v),f}),n.subParser("detab",function(f,m,v){return f=v.converter._dispatch("detab.before",f,m,v),f=f.replace(/\t(?=\t)/g,"    "),f=f.replace(/\t/g,"¨A¨B"),f=f.replace(/¨B(.+?)¨A/g,function(T,P){for(var k=P,y=4-k.length%4,$=0;$<y;$++)k+=" ";return k}),f=f.replace(/¨A/g,"    "),f=f.replace(/¨B/g,""),f=v.converter._dispatch("detab.after",f,m,v),f}),n.subParser("ellipsis",function(f,m,v){return f=v.converter._dispatch("ellipsis.before",f,m,v),f=f.replace(/\.\.\./g,"…"),f=v.converter._dispatch("ellipsis.after",f,m,v),f}),n.subParser("emoji",function(f,m,v){if(!m.emoji)return f;f=v.converter._dispatch("emoji.before",f,m,v);var T=/:([\S]+?):/g;return f=f.replace(T,function(P,k){return n.helper.emojis.hasOwnProperty(k)?n.helper.emojis[k]:P}),f=v.converter._dispatch("emoji.after",f,m,v),f}),n.subParser("encodeAmpsAndAngles",function(f,m,v){return f=v.converter._dispatch("encodeAmpsAndAngles.before",f,m,v),f=f.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;"),f=f.replace(/<(?![a-z\/?$!])/gi,"&lt;"),f=f.replace(/</g,"&lt;"),f=f.replace(/>/g,"&gt;"),f=v.converter._dispatch("encodeAmpsAndAngles.after",f,m,v),f}),n.subParser("encodeBackslashEscapes",function(f,m,v){return f=v.converter._dispatch("encodeBackslashEscapes.before",f,m,v),f=f.replace(/\\(\\)/g,n.helper.escapeCharactersCallback),f=f.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,n.helper.escapeCharactersCallback),f=v.converter._dispatch("encodeBackslashEscapes.after",f,m,v),f}),n.subParser("encodeCode",function(f,m,v){return f=v.converter._dispatch("encodeCode.before",f,m,v),f=f.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),f=v.converter._dispatch("encodeCode.after",f,m,v),f}),n.subParser("escapeSpecialCharsWithinTagAttributes",function(f,m,v){f=v.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",f,m,v);var T=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,P=/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return f=f.replace(T,function(k){return k.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),f=f.replace(P,function(k){return k.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),f=v.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",f,m,v),f}),n.subParser("githubCodeBlocks",function(f,m,v){return m.ghCodeBlocks?(f=v.converter._dispatch("githubCodeBlocks.before",f,m,v),f+="¨0",f=f.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(T,P,k,y){var $=m.omitExtraWLInCodeBlocks?"":`
`;return y=n.subParser("encodeCode")(y,m,v),y=n.subParser("detab")(y,m,v),y=y.replace(/^\n+/g,""),y=y.replace(/\n+$/g,""),y="<pre><code"+(k?' class="'+k+" language-"+k+'"':"")+">"+y+$+"</code></pre>",y=n.subParser("hashBlock")(y,m,v),`

¨G`+(v.ghCodeBlocks.push({text:T,codeblock:y})-1)+`G

`}),f=f.replace(/¨0/,""),v.converter._dispatch("githubCodeBlocks.after",f,m,v)):f}),n.subParser("hashBlock",function(f,m,v){return f=v.converter._dispatch("hashBlock.before",f,m,v),f=f.replace(/(^\n+|\n+$)/g,""),f=`

¨K`+(v.gHtmlBlocks.push(f)-1)+`K

`,f=v.converter._dispatch("hashBlock.after",f,m,v),f}),n.subParser("hashCodeTags",function(f,m,v){f=v.converter._dispatch("hashCodeTags.before",f,m,v);var T=function(P,k,y,$){var C=y+n.subParser("encodeCode")(k,m,v)+$;return"¨C"+(v.gHtmlSpans.push(C)-1)+"C"};return f=n.helper.replaceRecursiveRegExp(f,T,"<code\\b[^>]*>","</code>","gim"),f=v.converter._dispatch("hashCodeTags.after",f,m,v),f}),n.subParser("hashElement",function(f,m,v){return function(T,P){var k=P;return k=k.replace(/\n\n/g,`
`),k=k.replace(/^\n/,""),k=k.replace(/\n+$/g,""),k=`

¨K`+(v.gHtmlBlocks.push(k)-1)+`K

`,k}}),n.subParser("hashHTMLBlocks",function(f,m,v){f=v.converter._dispatch("hashHTMLBlocks.before",f,m,v);var T=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],P=function(M,N,F,j){var H=M;return F.search(/\bmarkdown\b/)!==-1&&(H=F+v.converter.makeHtml(N)+j),`

¨K`+(v.gHtmlBlocks.push(H)-1)+`K

`};m.backslashEscapesHTMLTags&&(f=f.replace(/\\<(\/?[^>]+?)>/g,function(M,N){return"&lt;"+N+"&gt;"}));for(var k=0;k<T.length;++k)for(var y,$=new RegExp("^ {0,3}(<"+T[k]+"\\b[^>]*>)","im"),C="<"+T[k]+"\\b[^>]*>",O="</"+T[k]+">";(y=n.helper.regexIndexOf(f,$))!==-1;){var A=n.helper.splitAtIndex(f,y),D=n.helper.replaceRecursiveRegExp(A[1],P,C,O,"im");if(D===A[1])break;f=A[0].concat(D)}return f=f.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(f,m,v)),f=n.helper.replaceRecursiveRegExp(f,function(M){return`

¨K`+(v.gHtmlBlocks.push(M)-1)+`K

`},"^ {0,3}<!--","-->","gm"),f=f.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(f,m,v)),f=v.converter._dispatch("hashHTMLBlocks.after",f,m,v),f}),n.subParser("hashHTMLSpans",function(f,m,v){f=v.converter._dispatch("hashHTMLSpans.before",f,m,v);function T(P){return"¨C"+(v.gHtmlSpans.push(P)-1)+"C"}return f=f.replace(/<[^>]+?\/>/gi,function(P){return T(P)}),f=f.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(P){return T(P)}),f=f.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(P){return T(P)}),f=f.replace(/<[^>]+?>/gi,function(P){return T(P)}),f=v.converter._dispatch("hashHTMLSpans.after",f,m,v),f}),n.subParser("unhashHTMLSpans",function(f,m,v){f=v.converter._dispatch("unhashHTMLSpans.before",f,m,v);for(var T=0;T<v.gHtmlSpans.length;++T){for(var P=v.gHtmlSpans[T],k=0;/¨C(\d+)C/.test(P);){var y=RegExp.$1;if(P=P.replace("¨C"+y+"C",v.gHtmlSpans[y]),k===10){console.error("maximum nesting of 10 spans reached!!!");break}++k}f=f.replace("¨C"+T+"C",P)}return f=v.converter._dispatch("unhashHTMLSpans.after",f,m,v),f}),n.subParser("hashPreCodeTags",function(f,m,v){f=v.converter._dispatch("hashPreCodeTags.before",f,m,v);var T=function(P,k,y,$){var C=y+n.subParser("encodeCode")(k,m,v)+$;return`

¨G`+(v.ghCodeBlocks.push({text:P,codeblock:C})-1)+`G

`};return f=n.helper.replaceRecursiveRegExp(f,T,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),f=v.converter._dispatch("hashPreCodeTags.after",f,m,v),f}),n.subParser("headers",function(f,m,v){f=v.converter._dispatch("headers.before",f,m,v);var T=isNaN(parseInt(m.headerLevelStart))?1:parseInt(m.headerLevelStart),P=m.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,k=m.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;f=f.replace(P,function(C,O){var A=n.subParser("spanGamut")(O,m,v),D=m.noHeaderId?"":' id="'+$(O)+'"',M=T,N="<h"+M+D+">"+A+"</h"+M+">";return n.subParser("hashBlock")(N,m,v)}),f=f.replace(k,function(C,O){var A=n.subParser("spanGamut")(O,m,v),D=m.noHeaderId?"":' id="'+$(O)+'"',M=T+1,N="<h"+M+D+">"+A+"</h"+M+">";return n.subParser("hashBlock")(N,m,v)});var y=m.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;f=f.replace(y,function(C,O,A){var D=A;m.customizedHeaderId&&(D=A.replace(/\s?\{([^{]+?)}\s*$/,""));var M=n.subParser("spanGamut")(D,m,v),N=m.noHeaderId?"":' id="'+$(A)+'"',F=T-1+O.length,j="<h"+F+N+">"+M+"</h"+F+">";return n.subParser("hashBlock")(j,m,v)});function $(C){var O,A;if(m.customizedHeaderId){var D=C.match(/\{([^{]+?)}\s*$/);D&&D[1]&&(C=D[1])}return O=C,n.helper.isString(m.prefixHeaderId)?A=m.prefixHeaderId:m.prefixHeaderId===!0?A="section-":A="",m.rawPrefixHeaderId||(O=A+O),m.ghCompatibleHeaderId?O=O.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():m.rawHeaderId?O=O.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():O=O.replace(/[^\w]/g,"").toLowerCase(),m.rawPrefixHeaderId&&(O=A+O),v.hashLinkCounts[O]?O=O+"-"+v.hashLinkCounts[O]++:v.hashLinkCounts[O]=1,O}return f=v.converter._dispatch("headers.after",f,m,v),f}),n.subParser("horizontalRule",function(f,m,v){f=v.converter._dispatch("horizontalRule.before",f,m,v);var T=n.subParser("hashBlock")("<hr />",m,v);return f=f.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,T),f=f.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,T),f=f.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,T),f=v.converter._dispatch("horizontalRule.after",f,m,v),f}),n.subParser("images",function(f,m,v){f=v.converter._dispatch("images.before",f,m,v);var T=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,P=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,k=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,y=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,$=/!\[([^\[\]]+)]()()()()()/g;function C(A,D,M,N,F,j,H,W){return N=N.replace(/\s/g,""),O(A,D,M,N,F,j,H,W)}function O(A,D,M,N,F,j,H,W){var Z=v.gUrls,te=v.gTitles,Y=v.gDimensions;if(M=M.toLowerCase(),W||(W=""),A.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)N="";else if(N===""||N===null)if((M===""||M===null)&&(M=D.toLowerCase().replace(/ ?\n/g," ")),N="#"+M,!n.helper.isUndefined(Z[M]))N=Z[M],n.helper.isUndefined(te[M])||(W=te[M]),n.helper.isUndefined(Y[M])||(F=Y[M].width,j=Y[M].height);else return A;D=D.replace(/"/g,"&quot;").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),N=N.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var G='<img src="'+N+'" alt="'+D+'"';return W&&n.helper.isString(W)&&(W=W.replace(/"/g,"&quot;").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),G+=' title="'+W+'"'),F&&j&&(F=F==="*"?"auto":F,j=j==="*"?"auto":j,G+=' width="'+F+'"',G+=' height="'+j+'"'),G+=" />",G}return f=f.replace(y,O),f=f.replace(k,C),f=f.replace(P,O),f=f.replace(T,O),f=f.replace($,O),f=v.converter._dispatch("images.after",f,m,v),f}),n.subParser("italicsAndBold",function(f,m,v){f=v.converter._dispatch("italicsAndBold.before",f,m,v);function T(P,k,y){return k+P+y}return m.literalMidWordUnderscores?(f=f.replace(/\b___(\S[\s\S]*?)___\b/g,function(P,k){return T(k,"<strong><em>","</em></strong>")}),f=f.replace(/\b__(\S[\s\S]*?)__\b/g,function(P,k){return T(k,"<strong>","</strong>")}),f=f.replace(/\b_(\S[\s\S]*?)_\b/g,function(P,k){return T(k,"<em>","</em>")})):(f=f.replace(/___(\S[\s\S]*?)___/g,function(P,k){return/\S$/.test(k)?T(k,"<strong><em>","</em></strong>"):P}),f=f.replace(/__(\S[\s\S]*?)__/g,function(P,k){return/\S$/.test(k)?T(k,"<strong>","</strong>"):P}),f=f.replace(/_([^\s_][\s\S]*?)_/g,function(P,k){return/\S$/.test(k)?T(k,"<em>","</em>"):P})),m.literalMidWordAsterisks?(f=f.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(P,k,y){return T(y,k+"<strong><em>","</em></strong>")}),f=f.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(P,k,y){return T(y,k+"<strong>","</strong>")}),f=f.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(P,k,y){return T(y,k+"<em>","</em>")})):(f=f.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(P,k){return/\S$/.test(k)?T(k,"<strong><em>","</em></strong>"):P}),f=f.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(P,k){return/\S$/.test(k)?T(k,"<strong>","</strong>"):P}),f=f.replace(/\*([^\s*][\s\S]*?)\*/g,function(P,k){return/\S$/.test(k)?T(k,"<em>","</em>"):P})),f=v.converter._dispatch("italicsAndBold.after",f,m,v),f}),n.subParser("lists",function(f,m,v){function T(y,$){v.gListLevel++,y=y.replace(/\n{2,}$/,`
`),y+="¨0";var C=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,O=/\n[ \t]*\n(?!¨0)/.test(y);return m.disableForced4SpacesIndentedSublists&&(C=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),y=y.replace(C,function(A,D,M,N,F,j,H){H=H&&H.trim()!=="";var W=n.subParser("outdent")(F,m,v),Z="";return j&&m.tasklists&&(Z=' class="task-list-item" style="list-style-type: none;"',W=W.replace(/^[ \t]*\[(x|X| )?]/m,function(){var te='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return H&&(te+=" checked"),te+=">",te})),W=W.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(te){return"¨A"+te}),D||W.search(/\n{2,}/)>-1?(W=n.subParser("githubCodeBlocks")(W,m,v),W=n.subParser("blockGamut")(W,m,v)):(W=n.subParser("lists")(W,m,v),W=W.replace(/\n$/,""),W=n.subParser("hashHTMLBlocks")(W,m,v),W=W.replace(/\n\n+/g,`

`),O?W=n.subParser("paragraphs")(W,m,v):W=n.subParser("spanGamut")(W,m,v)),W=W.replace("¨A",""),W="<li"+Z+">"+W+`</li>
`,W}),y=y.replace(/¨0/g,""),v.gListLevel--,$&&(y=y.replace(/\s+$/,"")),y}function P(y,$){if($==="ol"){var C=y.match(/^ *(\d+)\./);if(C&&C[1]!=="1")return' start="'+C[1]+'"'}return""}function k(y,$,C){var O=m.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,A=m.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,D=$==="ul"?O:A,M="";if(y.search(D)!==-1)(function F(j){var H=j.search(D),W=P(y,$);H!==-1?(M+=`

<`+$+W+`>
`+T(j.slice(0,H),!!C)+"</"+$+`>
`,$=$==="ul"?"ol":"ul",D=$==="ul"?O:A,F(j.slice(H))):M+=`

<`+$+W+`>
`+T(j,!!C)+"</"+$+`>
`})(y);else{var N=P(y,$);M=`

<`+$+N+`>
`+T(y,!!C)+"</"+$+`>
`}return M}return f=v.converter._dispatch("lists.before",f,m,v),f+="¨0",v.gListLevel?f=f.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(y,$,C){var O=C.search(/[*+-]/g)>-1?"ul":"ol";return k($,O,!0)}):f=f.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(y,$,C,O){var A=O.search(/[*+-]/g)>-1?"ul":"ol";return k(C,A,!1)}),f=f.replace(/¨0/,""),f=v.converter._dispatch("lists.after",f,m,v),f}),n.subParser("metadata",function(f,m,v){if(!m.metadata)return f;f=v.converter._dispatch("metadata.before",f,m,v);function T(P){v.metadata.raw=P,P=P.replace(/&/g,"&amp;").replace(/"/g,"&quot;"),P=P.replace(/\n {4}/g," "),P.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(k,y,$){return v.metadata.parsed[y]=$,""})}return f=f.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(P,k,y){return T(y),"¨M"}),f=f.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(P,k,y){return k&&(v.metadata.format=k),T(y),"¨M"}),f=f.replace(/¨M/g,""),f=v.converter._dispatch("metadata.after",f,m,v),f}),n.subParser("outdent",function(f,m,v){return f=v.converter._dispatch("outdent.before",f,m,v),f=f.replace(/^(\t|[ ]{1,4})/gm,"¨0"),f=f.replace(/¨0/g,""),f=v.converter._dispatch("outdent.after",f,m,v),f}),n.subParser("paragraphs",function(f,m,v){f=v.converter._dispatch("paragraphs.before",f,m,v),f=f.replace(/^\n+/g,""),f=f.replace(/\n+$/g,"");for(var T=f.split(/\n{2,}/g),P=[],k=T.length,y=0;y<k;y++){var $=T[y];$.search(/¨(K|G)(\d+)\1/g)>=0?P.push($):$.search(/\S/)>=0&&($=n.subParser("spanGamut")($,m,v),$=$.replace(/^([ \t]*)/g,"<p>"),$+="</p>",P.push($))}for(k=P.length,y=0;y<k;y++){for(var C="",O=P[y],A=!1;/¨(K|G)(\d+)\1/.test(O);){var D=RegExp.$1,M=RegExp.$2;D==="K"?C=v.gHtmlBlocks[M]:A?C=n.subParser("encodeCode")(v.ghCodeBlocks[M].text,m,v):C=v.ghCodeBlocks[M].codeblock,C=C.replace(/\$/g,"$$$$"),O=O.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,C),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(O)&&(A=!0)}P[y]=O}return f=P.join(`
`),f=f.replace(/^\n+/g,""),f=f.replace(/\n+$/g,""),v.converter._dispatch("paragraphs.after",f,m,v)}),n.subParser("runExtension",function(f,m,v,T){if(f.filter)m=f.filter(m,T.converter,v);else if(f.regex){var P=f.regex;P instanceof RegExp||(P=new RegExp(P,"g")),m=m.replace(P,f.replace)}return m}),n.subParser("spanGamut",function(f,m,v){return f=v.converter._dispatch("spanGamut.before",f,m,v),f=n.subParser("codeSpans")(f,m,v),f=n.subParser("escapeSpecialCharsWithinTagAttributes")(f,m,v),f=n.subParser("encodeBackslashEscapes")(f,m,v),f=n.subParser("images")(f,m,v),f=n.subParser("anchors")(f,m,v),f=n.subParser("autoLinks")(f,m,v),f=n.subParser("simplifiedAutoLinks")(f,m,v),f=n.subParser("emoji")(f,m,v),f=n.subParser("underline")(f,m,v),f=n.subParser("italicsAndBold")(f,m,v),f=n.subParser("strikethrough")(f,m,v),f=n.subParser("ellipsis")(f,m,v),f=n.subParser("hashHTMLSpans")(f,m,v),f=n.subParser("encodeAmpsAndAngles")(f,m,v),m.simpleLineBreaks?/\n\n¨K/.test(f)||(f=f.replace(/\n+/g,`<br />
`)):f=f.replace(/  +\n/g,`<br />
`),f=v.converter._dispatch("spanGamut.after",f,m,v),f}),n.subParser("strikethrough",function(f,m,v){function T(P){return m.simplifiedAutoLink&&(P=n.subParser("simplifiedAutoLinks")(P,m,v)),"<del>"+P+"</del>"}return m.strikethrough&&(f=v.converter._dispatch("strikethrough.before",f,m,v),f=f.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(P,k){return T(k)}),f=v.converter._dispatch("strikethrough.after",f,m,v)),f}),n.subParser("stripLinkDefinitions",function(f,m,v){var T=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,P=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;f+="¨0";var k=function(y,$,C,O,A,D,M){return $=$.toLowerCase(),C.match(/^data:.+?\/.+?;base64,/)?v.gUrls[$]=C.replace(/\s/g,""):v.gUrls[$]=n.subParser("encodeAmpsAndAngles")(C,m,v),D?D+M:(M&&(v.gTitles[$]=M.replace(/"|'/g,"&quot;")),m.parseImgDimensions&&O&&A&&(v.gDimensions[$]={width:O,height:A}),"")};return f=f.replace(P,k),f=f.replace(T,k),f=f.replace(/¨0/,""),f}),n.subParser("tables",function(f,m,v){if(!m.tables)return f;var T=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,P=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function k(A){return/^:[ \t]*--*$/.test(A)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(A)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(A)?' style="text-align:center;"':""}function y(A,D){var M="";return A=A.trim(),(m.tablesHeaderId||m.tableHeaderId)&&(M=' id="'+A.replace(/ /g,"_").toLowerCase()+'"'),A=n.subParser("spanGamut")(A,m,v),"<th"+M+D+">"+A+`</th>
`}function $(A,D){var M=n.subParser("spanGamut")(A,m,v);return"<td"+D+">"+M+`</td>
`}function C(A,D){for(var M=`<table>
<thead>
<tr>
`,N=A.length,F=0;F<N;++F)M+=A[F];for(M+=`</tr>
</thead>
<tbody>
`,F=0;F<D.length;++F){M+=`<tr>
`;for(var j=0;j<N;++j)M+=D[F][j];M+=`</tr>
`}return M+=`</tbody>
</table>
`,M}function O(A){var D,M=A.split(`
`);for(D=0;D<M.length;++D)/^ {0,3}\|/.test(M[D])&&(M[D]=M[D].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(M[D])&&(M[D]=M[D].replace(/\|[ \t]*$/,"")),M[D]=n.subParser("codeSpans")(M[D],m,v);var N=M[0].split("|").map(function(G){return G.trim()}),F=M[1].split("|").map(function(G){return G.trim()}),j=[],H=[],W=[],Z=[];for(M.shift(),M.shift(),D=0;D<M.length;++D)M[D].trim()!==""&&j.push(M[D].split("|").map(function(G){return G.trim()}));if(N.length<F.length)return A;for(D=0;D<F.length;++D)W.push(k(F[D]));for(D=0;D<N.length;++D)n.helper.isUndefined(W[D])&&(W[D]=""),H.push(y(N[D],W[D]));for(D=0;D<j.length;++D){for(var te=[],Y=0;Y<H.length;++Y)n.helper.isUndefined(j[D][Y]),te.push($(j[D][Y],W[Y]));Z.push(te)}return C(H,Z)}return f=v.converter._dispatch("tables.before",f,m,v),f=f.replace(/\\(\|)/g,n.helper.escapeCharactersCallback),f=f.replace(T,O),f=f.replace(P,O),f=v.converter._dispatch("tables.after",f,m,v),f}),n.subParser("underline",function(f,m,v){return m.underline&&(f=v.converter._dispatch("underline.before",f,m,v),m.literalMidWordUnderscores?(f=f.replace(/\b___(\S[\s\S]*?)___\b/g,function(T,P){return"<u>"+P+"</u>"}),f=f.replace(/\b__(\S[\s\S]*?)__\b/g,function(T,P){return"<u>"+P+"</u>"})):(f=f.replace(/___(\S[\s\S]*?)___/g,function(T,P){return/\S$/.test(P)?"<u>"+P+"</u>":T}),f=f.replace(/__(\S[\s\S]*?)__/g,function(T,P){return/\S$/.test(P)?"<u>"+P+"</u>":T})),f=f.replace(/(_)/g,n.helper.escapeCharactersCallback),f=v.converter._dispatch("underline.after",f,m,v)),f}),n.subParser("unescapeSpecialChars",function(f,m,v){return f=v.converter._dispatch("unescapeSpecialChars.before",f,m,v),f=f.replace(/¨E(\d+)E/g,function(T,P){var k=parseInt(P);return String.fromCharCode(k)}),f=v.converter._dispatch("unescapeSpecialChars.after",f,m,v),f}),n.subParser("makeMarkdown.blockquote",function(f,m){var v="";if(f.hasChildNodes())for(var T=f.childNodes,P=T.length,k=0;k<P;++k){var y=n.subParser("makeMarkdown.node")(T[k],m);y!==""&&(v+=y)}return v=v.trim(),v="> "+v.split(`
`).join(`
> `),v}),n.subParser("makeMarkdown.codeBlock",function(f,m){var v=f.getAttribute("language"),T=f.getAttribute("precodenum");return"```"+v+`
`+m.preList[T]+"\n```"}),n.subParser("makeMarkdown.codeSpan",function(f){return"`"+f.innerHTML+"`"}),n.subParser("makeMarkdown.emphasis",function(f,m){var v="";if(f.hasChildNodes()){v+="*";for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);v+="*"}return v}),n.subParser("makeMarkdown.header",function(f,m,v){var T=new Array(v+1).join("#"),P="";if(f.hasChildNodes()){P=T+" ";for(var k=f.childNodes,y=k.length,$=0;$<y;++$)P+=n.subParser("makeMarkdown.node")(k[$],m)}return P}),n.subParser("makeMarkdown.hr",function(){return"---"}),n.subParser("makeMarkdown.image",function(f){var m="";return f.hasAttribute("src")&&(m+="!["+f.getAttribute("alt")+"](",m+="<"+f.getAttribute("src")+">",f.hasAttribute("width")&&f.hasAttribute("height")&&(m+=" ="+f.getAttribute("width")+"x"+f.getAttribute("height")),f.hasAttribute("title")&&(m+=' "'+f.getAttribute("title")+'"'),m+=")"),m}),n.subParser("makeMarkdown.links",function(f,m){var v="";if(f.hasChildNodes()&&f.hasAttribute("href")){var T=f.childNodes,P=T.length;v="[";for(var k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);v+="](",v+="<"+f.getAttribute("href")+">",f.hasAttribute("title")&&(v+=' "'+f.getAttribute("title")+'"'),v+=")"}return v}),n.subParser("makeMarkdown.list",function(f,m,v){var T="";if(!f.hasChildNodes())return"";for(var P=f.childNodes,k=P.length,y=f.getAttribute("start")||1,$=0;$<k;++$)if(!(typeof P[$].tagName>"u"||P[$].tagName.toLowerCase()!=="li")){var C="";v==="ol"?C=y.toString()+". ":C="- ",T+=C+n.subParser("makeMarkdown.listItem")(P[$],m),++y}return T+=`
<!-- -->
`,T.trim()}),n.subParser("makeMarkdown.listItem",function(f,m){for(var v="",T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);return/\n$/.test(v)?v=v.split(`
`).join(`
    `).replace(/^ {4}$/gm,"").replace(/\n\n+/g,`

`):v+=`
`,v}),n.subParser("makeMarkdown.node",function(f,m,v){v=v||!1;var T="";if(f.nodeType===3)return n.subParser("makeMarkdown.txt")(f,m);if(f.nodeType===8)return"<!--"+f.data+`-->

`;if(f.nodeType!==1)return"";var P=f.tagName.toLowerCase();switch(P){case"h1":v||(T=n.subParser("makeMarkdown.header")(f,m,1)+`

`);break;case"h2":v||(T=n.subParser("makeMarkdown.header")(f,m,2)+`

`);break;case"h3":v||(T=n.subParser("makeMarkdown.header")(f,m,3)+`

`);break;case"h4":v||(T=n.subParser("makeMarkdown.header")(f,m,4)+`

`);break;case"h5":v||(T=n.subParser("makeMarkdown.header")(f,m,5)+`

`);break;case"h6":v||(T=n.subParser("makeMarkdown.header")(f,m,6)+`

`);break;case"p":v||(T=n.subParser("makeMarkdown.paragraph")(f,m)+`

`);break;case"blockquote":v||(T=n.subParser("makeMarkdown.blockquote")(f,m)+`

`);break;case"hr":v||(T=n.subParser("makeMarkdown.hr")(f,m)+`

`);break;case"ol":v||(T=n.subParser("makeMarkdown.list")(f,m,"ol")+`

`);break;case"ul":v||(T=n.subParser("makeMarkdown.list")(f,m,"ul")+`

`);break;case"precode":v||(T=n.subParser("makeMarkdown.codeBlock")(f,m)+`

`);break;case"pre":v||(T=n.subParser("makeMarkdown.pre")(f,m)+`

`);break;case"table":v||(T=n.subParser("makeMarkdown.table")(f,m)+`

`);break;case"code":T=n.subParser("makeMarkdown.codeSpan")(f,m);break;case"em":case"i":T=n.subParser("makeMarkdown.emphasis")(f,m);break;case"strong":case"b":T=n.subParser("makeMarkdown.strong")(f,m);break;case"del":T=n.subParser("makeMarkdown.strikethrough")(f,m);break;case"a":T=n.subParser("makeMarkdown.links")(f,m);break;case"img":T=n.subParser("makeMarkdown.image")(f,m);break;default:T=f.outerHTML+`

`}return T}),n.subParser("makeMarkdown.paragraph",function(f,m){var v="";if(f.hasChildNodes())for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);return v=v.trim(),v}),n.subParser("makeMarkdown.pre",function(f,m){var v=f.getAttribute("prenum");return"<pre>"+m.preList[v]+"</pre>"}),n.subParser("makeMarkdown.strikethrough",function(f,m){var v="";if(f.hasChildNodes()){v+="~~";for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);v+="~~"}return v}),n.subParser("makeMarkdown.strong",function(f,m){var v="";if(f.hasChildNodes()){v+="**";for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);v+="**"}return v}),n.subParser("makeMarkdown.table",function(f,m){var v="",T=[[],[]],P=f.querySelectorAll("thead>tr>th"),k=f.querySelectorAll("tbody>tr"),y,$;for(y=0;y<P.length;++y){var C=n.subParser("makeMarkdown.tableCell")(P[y],m),O="---";if(P[y].hasAttribute("style")){var A=P[y].getAttribute("style").toLowerCase().replace(/\s/g,"");switch(A){case"text-align:left;":O=":---";break;case"text-align:right;":O="---:";break;case"text-align:center;":O=":---:";break}}T[0][y]=C.trim(),T[1][y]=O}for(y=0;y<k.length;++y){var D=T.push([])-1,M=k[y].getElementsByTagName("td");for($=0;$<P.length;++$){var N=" ";typeof M[$]<"u"&&(N=n.subParser("makeMarkdown.tableCell")(M[$],m)),T[D].push(N)}}var F=3;for(y=0;y<T.length;++y)for($=0;$<T[y].length;++$){var j=T[y][$].length;j>F&&(F=j)}for(y=0;y<T.length;++y){for($=0;$<T[y].length;++$)y===1?T[y][$].slice(-1)===":"?T[y][$]=n.helper.padEnd(T[y][$].slice(-1),F-1,"-")+":":T[y][$]=n.helper.padEnd(T[y][$],F,"-"):T[y][$]=n.helper.padEnd(T[y][$],F);v+="| "+T[y].join(" | ")+` |
`}return v.trim()}),n.subParser("makeMarkdown.tableCell",function(f,m){var v="";if(!f.hasChildNodes())return"";for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m,!0);return v.trim()}),n.subParser("makeMarkdown.txt",function(f){var m=f.nodeValue;return m=m.replace(/ +/g," "),m=m.replace(/¨NBSP;/g," "),m=n.helper.unescapeHTMLEntities(m),m=m.replace(/([*_~|`])/g,"\\$1"),m=m.replace(/^(\s*)>/g,"\\$1>"),m=m.replace(/^#/gm,"\\#"),m=m.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),m=m.replace(/^( {0,3}\d+)\./gm,"$1\\."),m=m.replace(/^( {0,3})([+-])/gm,"$1\\$2"),m=m.replace(/]([\s]*)\(/g,"\\]$1\\("),m=m.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),m});var x=this;t.exports?t.exports=n:x.showdown=n}).call(Oe)})(UF);var hie=UF.exports;const Lm=Vn(hie);/*!
 * vue-showdown - Use showdown as a vue component
 *
 * @version v2.4.1
 * @link https://vue-showdown.js.org
 * @license MIT
 * @copyright 2018-2019 meteorlxy
 */var QM={name:"VueShowdown",props:{markdown:{type:String,required:!1,default:null},tag:{type:String,required:!1,default:"div"},flavor:{type:String,required:!1,default:null,validator:function(e){return[null,"original","vanilla","github"].includes(e)}},options:{type:Object,required:!1,default:function(){return{}}},extensions:{type:[Object,Array],required:!1,default:null},vueTemplate:{type:Boolean,required:!1,default:!1}},computed:{converter:function(){var e=new Lm.Converter({extensions:this.extensions||void 0});this.flavor!==null&&e.setFlavor(this.flavor);for(var r in this.options)e.setOption(r,this.options[r]);return e},inputMarkdown:function(){return this.markdown===null?this.$slots.default[0].text:this.markdown},outputHtml:function(){return this.converter?this.converter.makeHtml(this.inputMarkdown):""}},render:function(e){return this.vueTemplate?e({template:"<".concat(this.tag,">").concat(this.outputHtml,"</").concat(this.tag,">")}):e(this.tag,{domProps:{innerHTML:this.outputHtml}})}},aAe={install:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.flavor,i=n===void 0?null:n,a=r.options,s=a===void 0?{}:a;i!==null&&Lm.setFlavor(i);for(var o in s)Lm.setOption(o,s[o]);e.component("VueShowdown",QM)},VueShowdown:QM,showdown:Lm};/*!
  * vue-router v3.6.5
  * (c) 2022 Evan You
  * @license MIT
  */function pi(t,e){for(var r in e)t[r]=e[r];return t}var pie=/[!'()*]/g,mie=function(t){return"%"+t.charCodeAt(0).toString(16)},vie=/%2C/g,ll=function(t){return encodeURIComponent(t).replace(pie,mie).replace(vie,",")};function A1(t){try{return decodeURIComponent(t)}catch{}return t}function gie(t,e,r){e===void 0&&(e={});var n=r||bie,i;try{i=n(t||"")}catch{i={}}for(var a in e){var s=e[a];i[a]=Array.isArray(s)?s.map(ek):ek(s)}return i}var ek=function(t){return t==null||typeof t=="object"?t:String(t)};function bie(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=A1(n.shift()),a=n.length>0?A1(n.join("=")):null;e[i]===void 0?e[i]=a:Array.isArray(e[i])?e[i].push(a):e[i]=[e[i],a]}),e}function _ie(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return ll(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(ll(r)):i.push(ll(r)+"="+ll(a)))}),i.join("&")}return ll(r)+"="+ll(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var Zv=/\/?$/;function Jv(t,e,r,n){var i=n&&n.options.stringifyQuery,a=e.query||{};try{a=$1(a)}catch{}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:a,params:e.params||{},fullPath:tk(e,i),matched:t?yie(t):[]};return r&&(s.redirectedFrom=tk(r,i)),Object.freeze(s)}function $1(t){if(Array.isArray(t))return t.map($1);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=$1(t[r]);return e}else return t}var no=Jv(null,{path:"/"});function yie(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function tk(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var i=t.hash;i===void 0&&(i="");var a=e||_ie;return(r||"/")+a(n)+i}function GF(t,e,r){return e===no?t===e:e?t.path&&e.path?t.path.replace(Zv,"")===e.path.replace(Zv,"")&&(r||t.hash===e.hash&&Bm(t.query,e.query)):t.name&&e.name?t.name===e.name&&(r||t.hash===e.hash&&Bm(t.query,e.query)&&Bm(t.params,e.params)):!1:!1}function Bm(t,e){if(t===void 0&&(t={}),e===void 0&&(e={}),!t||!e)return t===e;var r=Object.keys(t).sort(),n=Object.keys(e).sort();return r.length!==n.length?!1:r.every(function(i,a){var s=t[i],o=n[a];if(o!==i)return!1;var u=e[i];return s==null||u==null?s===u:typeof s=="object"&&typeof u=="object"?Bm(s,u):String(s)===String(u)})}function wie(t,e){return t.path.replace(Zv,"/").indexOf(e.path.replace(Zv,"/"))===0&&(!e.hash||t.hash===e.hash)&&Oie(t.query,e.query)}function Oie(t,e){for(var r in e)if(!(r in t))return!1;return!0}function WF(t){for(var e=0;e<t.matched.length;e++){var r=t.matched[e];for(var n in r.instances){var i=r.instances[n],a=r.enteredCbs[n];if(!(!i||!a)){delete r.enteredCbs[n];for(var s=0;s<a.length;s++)i._isBeingDestroyed||a[s](i)}}}}var Sie={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,r){var n=r.props,i=r.children,a=r.parent,s=r.data;s.routerView=!0;for(var o=a.$createElement,u=n.name,l=a.$route,c=a._routerViewCache||(a._routerViewCache={}),d=0,h=!1;a&&a._routerRoot!==a;){var p=a.$vnode?a.$vnode.data:{};p.routerView&&d++,p.keepAlive&&a._directInactive&&a._inactive&&(h=!0),a=a.$parent}if(s.routerViewDepth=d,h){var g=c[u],_=g&&g.component;return _?(g.configProps&&rk(_,s,g.route,g.configProps),o(_,s,i)):o()}var w=l.matched[d],S=w&&w.components[u];if(!w||!S)return c[u]=null,o();c[u]={component:S},s.registerRouteInstance=function(x,f){var m=w.instances[u];(f&&m!==x||!f&&m===x)&&(w.instances[u]=f)},(s.hook||(s.hook={})).prepatch=function(x,f){w.instances[u]=f.componentInstance},s.hook.init=function(x){x.data.keepAlive&&x.componentInstance&&x.componentInstance!==w.instances[u]&&(w.instances[u]=x.componentInstance),WF(l)};var E=w.props&&w.props[u];return E&&(pi(c[u],{route:l,configProps:E}),rk(S,s,l,E)),o(S,s,i)}};function rk(t,e,r,n){var i=e.props=xie(r,n);if(i){i=e.props=pi({},i);var a=e.attrs=e.attrs||{};for(var s in i)(!t.props||!(s in t.props))&&(a[s]=i[s],delete i[s])}}function xie(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function YF(t,e,r){var n=t.charAt(0);if(n==="/")return t;if(n==="?"||n==="#")return e+t;var i=e.split("/");(!r||!i[i.length-1])&&i.pop();for(var a=t.replace(/^\//,"").split("/"),s=0;s<a.length;s++){var o=a[s];o===".."?i.pop():o!=="."&&i.push(o)}return i[0]!==""&&i.unshift(""),i.join("/")}function Tie(t){var e="",r="",n=t.indexOf("#");n>=0&&(e=t.slice(n),t=t.slice(0,n));var i=t.indexOf("?");return i>=0&&(r=t.slice(i+1),t=t.slice(0,i)),{path:t,query:r,hash:e}}function Ds(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var Qv=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},$c=XF,Eie=cx,Pie=Mie,Cie=KF,Aie=qF,$ie=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function cx(t,e){for(var r=[],n=0,i=0,a="",s=e&&e.delimiter||"/",o;(o=$ie.exec(t))!=null;){var u=o[0],l=o[1],c=o.index;if(a+=t.slice(i,c),i=c+u.length,l){a+=l[1];continue}var d=t[i],h=o[2],p=o[3],g=o[4],_=o[5],w=o[6],S=o[7];a&&(r.push(a),a="");var E=h!=null&&d!=null&&d!==h,x=w==="+"||w==="*",f=w==="?"||w==="*",m=o[2]||s,v=g||_;r.push({name:p||n++,prefix:h||"",delimiter:m,optional:f,repeat:x,partial:E,asterisk:!!S,pattern:v?Rie(v):S?".*":"[^"+Fm(m)+"]+?"})}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function Mie(t,e){return KF(cx(t,e),e)}function kie(t){return encodeURI(t).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Die(t){return encodeURI(t).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function KF(t,e){for(var r=new Array(t.length),n=0;n<t.length;n++)typeof t[n]=="object"&&(r[n]=new RegExp("^(?:"+t[n].pattern+")$",fx(e)));return function(i,a){for(var s="",o=i||{},u=a||{},l=u.pretty?kie:encodeURIComponent,c=0;c<t.length;c++){var d=t[c];if(typeof d=="string"){s+=d;continue}var h=o[d.name],p;if(h==null)if(d.optional){d.partial&&(s+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(Qv(h)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(h.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var g=0;g<h.length;g++){if(p=l(h[g]),!r[c].test(p))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(p)+"`");s+=(g===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?Die(h):l(h),!r[c].test(p))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+p+'"');s+=d.prefix+p}return s}}function Fm(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Rie(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function dx(t,e){return t.keys=e,t}function fx(t){return t&&t.sensitive?"":"i"}function Iie(t,e){var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return dx(t,e)}function Nie(t,e,r){for(var n=[],i=0;i<t.length;i++)n.push(XF(t[i],e,r).source);var a=new RegExp("(?:"+n.join("|")+")",fx(r));return dx(a,e)}function Lie(t,e,r){return qF(cx(t,r),e,r)}function qF(t,e,r){Qv(e)||(r=e||r,e=[]),r=r||{};for(var n=r.strict,i=r.end!==!1,a="",s=0;s<t.length;s++){var o=t[s];if(typeof o=="string")a+=Fm(o);else{var u=Fm(o.prefix),l="(?:"+o.pattern+")";e.push(o),o.repeat&&(l+="(?:"+u+l+")*"),o.optional?o.partial?l=u+"("+l+")?":l="(?:"+u+"("+l+"))?":l=u+"("+l+")",a+=l}}var c=Fm(r.delimiter||"/"),d=a.slice(-c.length)===c;return n||(a=(d?a.slice(0,-c.length):a)+"(?:"+c+"(?=$))?"),i?a+="$":a+=n&&d?"":"(?="+c+"|$)",dx(new RegExp("^"+a,fx(r)),e)}function XF(t,e,r){return Qv(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?Iie(t,e):Qv(t)?Nie(t,e,r):Lie(t,e,r)}$c.parse=Eie;$c.compile=Pie;$c.tokensToFunction=Cie;$c.tokensToRegExp=Aie;var nk=Object.create(null);function jm(t,e,r){e=e||{};try{var n=nk[t]||(nk[t]=$c.compile(t));return typeof e.pathMatch=="string"&&(e[0]=e.pathMatch),n(e,{pretty:!0})}catch{return""}finally{delete e[0]}}function hx(t,e,r,n){var i=typeof t=="string"?{path:t}:t;if(i._normalized)return i;if(i.name){i=pi({},t);var a=i.params;return a&&typeof a=="object"&&(i.params=pi({},a)),i}if(!i.path&&i.params&&e){i=pi({},i),i._normalized=!0;var s=pi(pi({},e.params),i.params);if(e.name)i.name=e.name,i.params=s;else if(e.matched.length){var o=e.matched[e.matched.length-1].path;i.path=jm(o,s,"path "+e.path)}return i}var u=Tie(i.path||""),l=e&&e.path||"/",c=u.path?YF(u.path,l,r||i.append):l,d=gie(u.query,i.query,n&&n.options.parseQuery),h=i.hash||u.hash;return h&&h.charAt(0)!=="#"&&(h="#"+h),{_normalized:!0,path:c,query:d,hash:h}}var Bie=[String,Object],Fie=[String,Array],ik=function(){},jie={name:"RouterLink",props:{to:{type:Bie,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:Fie,default:"click"}},render:function(e){var r=this,n=this.$router,i=this.$route,a=n.resolve(this.to,i,this.append),s=a.location,o=a.route,u=a.href,l={},c=n.options.linkActiveClass,d=n.options.linkExactActiveClass,h=c??"router-link-active",p=d??"router-link-exact-active",g=this.activeClass==null?h:this.activeClass,_=this.exactActiveClass==null?p:this.exactActiveClass,w=o.redirectedFrom?Jv(null,hx(o.redirectedFrom),null,n):o;l[_]=GF(i,w,this.exactPath),l[g]=this.exact||this.exactPath?l[_]:wie(i,w);var S=l[_]?this.ariaCurrentValue:null,E=function(C){ak(C)&&(r.replace?n.replace(s,ik):n.push(s,ik))},x={click:ak};Array.isArray(this.event)?this.event.forEach(function(C){x[C]=E}):x[this.event]=E;var f={class:l},m=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:o,navigate:E,isActive:l[g],isExactActive:l[_]});if(m){if(m.length===1)return m[0];if(m.length>1||!m.length)return m.length===0?e():e("span",{},m)}if(this.tag==="a")f.on=x,f.attrs={href:u,"aria-current":S};else{var v=ZF(this.$slots.default);if(v){v.isStatic=!1;var T=v.data=pi({},v.data);T.on=T.on||{};for(var P in T.on){var k=T.on[P];P in x&&(T.on[P]=Array.isArray(k)?k:[k])}for(var y in x)y in T.on?T.on[y].push(x[y]):T.on[y]=E;var $=v.data.attrs=pi({},v.data.attrs);$.href=u,$["aria-current"]=S}else f.on=x}return e(this.tag,f,this.$slots.default)}};function ak(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function ZF(t){if(t){for(var e,r=0;r<t.length;r++)if(e=t[r],e.tag==="a"||e.children&&(e=ZF(e.children)))return e}}var eg;function M1(t){if(!(M1.installed&&eg===t)){M1.installed=!0,eg=t;var e=function(i){return i!==void 0},r=function(i,a){var s=i.$options._parentVnode;e(s)&&e(s=s.data)&&e(s=s.registerRouteInstance)&&s(i,a)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",Sie),t.component("RouterLink",jie);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var Sh=typeof window<"u";function Ap(t,e,r,n,i){var a=e||[],s=r||Object.create(null),o=n||Object.create(null);t.forEach(function(c){k1(a,s,o,c,i)});for(var u=0,l=a.length;u<l;u++)a[u]==="*"&&(a.push(a.splice(u,1)[0]),l--,u--);return{pathList:a,pathMap:s,nameMap:o}}function k1(t,e,r,n,i,a){var s=n.path,o=n.name,u=n.pathToRegexpOptions||{},l=Hie(s,i,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var c={path:l,regex:zie(l,u),components:n.components||{default:n.component},alias:n.alias?typeof n.alias=="string"?[n.alias]:n.alias:[],instances:{},enteredCbs:{},name:o,parent:i,matchAs:a,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:n.props==null?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(_){var w=a?Ds(a+"/"+_.path):void 0;k1(t,e,r,_,c,w)}),e[c.path]||(t.push(c.path),e[c.path]=c),n.alias!==void 0)for(var d=Array.isArray(n.alias)?n.alias:[n.alias],h=0;h<d.length;++h){var p=d[h],g={path:p,children:n.children};k1(t,e,r,g,i,c.path||"/")}o&&(r[o]||(r[o]=c))}function zie(t,e){var r=$c(t,[],e);return r}function Hie(t,e,r){return r||(t=t.replace(/\/$/,"")),t[0]==="/"||e==null?t:Ds(e.path+"/"+t)}function Vie(t,e){var r=Ap(t),n=r.pathList,i=r.pathMap,a=r.nameMap;function s(p){Ap(p,n,i,a)}function o(p,g){var _=typeof p!="object"?a[p]:void 0;Ap([g||p],n,i,a,_),_&&_.alias.length&&Ap(_.alias.map(function(w){return{path:w,children:[g]}}),n,i,a,_)}function u(){return n.map(function(p){return i[p]})}function l(p,g,_){var w=hx(p,g,!1,e),S=w.name;if(S){var E=a[S];if(!E)return h(null,w);var x=E.regex.keys.filter(function(P){return!P.optional}).map(function(P){return P.name});if(typeof w.params!="object"&&(w.params={}),g&&typeof g.params=="object")for(var f in g.params)!(f in w.params)&&x.indexOf(f)>-1&&(w.params[f]=g.params[f]);return w.path=jm(E.path,w.params),h(E,w,_)}else if(w.path){w.params={};for(var m=0;m<n.length;m++){var v=n[m],T=i[v];if(Uie(T.regex,w.path,w.params))return h(T,w,_)}}return h(null,w)}function c(p,g){var _=p.redirect,w=typeof _=="function"?_(Jv(p,g,null,e)):_;if(typeof w=="string"&&(w={path:w}),!w||typeof w!="object")return h(null,g);var S=w,E=S.name,x=S.path,f=g.query,m=g.hash,v=g.params;if(f=S.hasOwnProperty("query")?S.query:f,m=S.hasOwnProperty("hash")?S.hash:m,v=S.hasOwnProperty("params")?S.params:v,E)return a[E],l({_normalized:!0,name:E,query:f,hash:m,params:v},void 0,g);if(x){var T=Gie(x,p),P=jm(T,v);return l({_normalized:!0,path:P,query:f,hash:m},void 0,g)}else return h(null,g)}function d(p,g,_){var w=jm(_,g.params),S=l({_normalized:!0,path:w});if(S){var E=S.matched,x=E[E.length-1];return g.params=S.params,h(x,g)}return h(null,g)}function h(p,g,_){return p&&p.redirect?c(p,_||g):p&&p.matchAs?d(p,g,p.matchAs):Jv(p,g,_,e)}return{match:l,addRoute:o,getRoutes:u,addRoutes:s}}function Uie(t,e,r){var n=e.match(t);if(n){if(!r)return!0}else return!1;for(var i=1,a=n.length;i<a;++i){var s=t.keys[i-1];s&&(r[s.name||"pathMatch"]=typeof n[i]=="string"?A1(n[i]):n[i])}return!0}function Gie(t,e){return YF(t,e.parent?e.parent.path:"/",!0)}var Wie=Sh&&window.performance&&window.performance.now?window.performance:Date;function JF(){return Wie.now().toFixed(3)}var QF=JF();function A0(){return QF}function ej(t){return QF=t}var tj=Object.create(null);function rj(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),r=pi({},window.history.state);return r.key=A0(),window.history.replaceState(r,"",e),window.addEventListener("popstate",sk),function(){window.removeEventListener("popstate",sk)}}function Rs(t,e,r,n){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var a=Yie(),s=i.call(t,e,r,n?a:null);s&&(typeof s.then=="function"?s.then(function(o){lk(o,a)}).catch(function(o){}):lk(s,a))})}}function nj(){var t=A0();t&&(tj[t]={x:window.pageXOffset,y:window.pageYOffset})}function sk(t){nj(),t.state&&t.state.key&&ej(t.state.key)}function Yie(){var t=A0();if(t)return tj[t]}function Kie(t,e){var r=document.documentElement,n=r.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-n.left-e.x,y:i.top-n.top-e.y}}function ok(t){return lc(t.x)||lc(t.y)}function uk(t){return{x:lc(t.x)?t.x:window.pageXOffset,y:lc(t.y)?t.y:window.pageYOffset}}function qie(t){return{x:lc(t.x)?t.x:0,y:lc(t.y)?t.y:0}}function lc(t){return typeof t=="number"}var Xie=/^#\d/;function lk(t,e){var r=typeof t=="object";if(r&&typeof t.selector=="string"){var n=Xie.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(n){var i=t.offset&&typeof t.offset=="object"?t.offset:{};i=qie(i),e=Kie(n,i)}else ok(t)&&(e=uk(t))}else r&&ok(t)&&(e=uk(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Is=Sh&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")!==-1||t.indexOf("Android 4.0")!==-1)&&t.indexOf("Mobile Safari")!==-1&&t.indexOf("Chrome")===-1&&t.indexOf("Windows Phone")===-1?!1:window.history&&typeof window.history.pushState=="function"}();function tg(t,e){nj();var r=window.history;try{if(e){var n=pi({},r.state);n.key=A0(),r.replaceState(n,"",t)}else r.pushState({key:ej(JF())},"",t)}catch{window.location[e?"replace":"assign"](t)}}function D1(t){tg(t,!0)}var Cu={redirected:2,aborted:4,cancelled:8,duplicated:16};function Zie(t,e){return $0(t,e,Cu.redirected,'Redirected when going from "'+t.fullPath+'" to "'+tae(e)+'" via a navigation guard.')}function Jie(t,e){var r=$0(t,e,Cu.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return r.name="NavigationDuplicated",r}function ck(t,e){return $0(t,e,Cu.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Qie(t,e){return $0(t,e,Cu.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function $0(t,e,r,n){var i=new Error(n);return i._isRouter=!0,i.from=t,i.to=e,i.type=r,i}var eae=["params","query","hash"];function tae(t){if(typeof t=="string")return t;if("path"in t)return t.path;var e={};return eae.forEach(function(r){r in t&&(e[r]=t[r])}),JSON.stringify(e,null,2)}function rg(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function M0(t,e){return rg(t)&&t._isRouter&&(e==null||t.type===e)}function dk(t,e,r){var n=function(i){i>=t.length?r():t[i]?e(t[i],function(){n(i+1)}):n(i+1)};n(0)}function rae(t){return function(e,r,n){var i=!1,a=0,s=null;ij(t,function(o,u,l,c){if(typeof o=="function"&&o.cid===void 0){i=!0,a++;var d=fk(function(_){iae(_)&&(_=_.default),o.resolved=typeof _=="function"?_:eg.extend(_),l.components[c]=_,a--,a<=0&&n()}),h=fk(function(_){var w="Failed to resolve async component "+c+": "+_;s||(s=rg(_)?_:new Error(w),n(s))}),p;try{p=o(d,h)}catch(_){h(_)}if(p)if(typeof p.then=="function")p.then(d,h);else{var g=p.component;g&&typeof g.then=="function"&&g.then(d,h)}}}),i||n()}}function ij(t,e){return aj(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function aj(t){return Array.prototype.concat.apply([],t)}var nae=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function iae(t){return t.__esModule||nae&&t[Symbol.toStringTag]==="Module"}function fk(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var ki=function(e,r){this.router=e,this.base=aae(r),this.current=no,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};ki.prototype.listen=function(e){this.cb=e};ki.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))};ki.prototype.onError=function(e){this.errorCbs.push(e)};ki.prototype.transitionTo=function(e,r,n){var i=this,a;try{a=this.router.match(e,this.current)}catch(o){throw this.errorCbs.forEach(function(u){u(o)}),o}var s=this.current;this.confirmTransition(a,function(){i.updateRoute(a),r&&r(a),i.ensureURL(),i.router.afterHooks.forEach(function(o){o&&o(a,s)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(o){o(a)}))},function(o){n&&n(o),o&&!i.ready&&(!M0(o,Cu.redirected)||s!==no)&&(i.ready=!0,i.readyErrorCbs.forEach(function(u){u(o)}))})};ki.prototype.confirmTransition=function(e,r,n){var i=this,a=this.current;this.pending=e;var s=function(_){!M0(_)&&rg(_)&&(i.errorCbs.length?i.errorCbs.forEach(function(w){w(_)}):console.error(_)),n&&n(_)},o=e.matched.length-1,u=a.matched.length-1;if(GF(e,a)&&o===u&&e.matched[o]===a.matched[u])return this.ensureURL(),e.hash&&Rs(this.router,a,e,!1),s(Jie(a,e));var l=sae(this.current.matched,e.matched),c=l.updated,d=l.deactivated,h=l.activated,p=[].concat(uae(d),this.router.beforeHooks,lae(c),h.map(function(_){return _.beforeEnter}),rae(h)),g=function(_,w){if(i.pending!==e)return s(ck(a,e));try{_(e,a,function(S){S===!1?(i.ensureURL(!0),s(Qie(a,e))):rg(S)?(i.ensureURL(!0),s(S)):typeof S=="string"||typeof S=="object"&&(typeof S.path=="string"||typeof S.name=="string")?(s(Zie(a,e)),typeof S=="object"&&S.replace?i.replace(S):i.push(S)):w(S)})}catch(S){s(S)}};dk(p,g,function(){var _=cae(h),w=_.concat(i.router.resolveHooks);dk(w,g,function(){if(i.pending!==e)return s(ck(a,e));i.pending=null,r(e),i.router.app&&i.router.app.$nextTick(function(){WF(e)})})})};ki.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)};ki.prototype.setupListeners=function(){};ki.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=no,this.pending=null};function aae(t){if(!t)if(Sh){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return t.charAt(0)!=="/"&&(t="/"+t),t.replace(/\/$/,"")}function sae(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r<n&&t[r]===e[r];r++);return{updated:e.slice(0,r),activated:e.slice(r),deactivated:t.slice(r)}}function px(t,e,r,n){var i=ij(t,function(a,s,o,u){var l=oae(a,e);if(l)return Array.isArray(l)?l.map(function(c){return r(c,s,o,u)}):r(l,s,o,u)});return aj(n?i.reverse():i)}function oae(t,e){return typeof t!="function"&&(t=eg.extend(t)),t.options[e]}function uae(t){return px(t,"beforeRouteLeave",sj,!0)}function lae(t){return px(t,"beforeRouteUpdate",sj)}function sj(t,e){if(e)return function(){return t.apply(e,arguments)}}function cae(t){return px(t,"beforeRouteEnter",function(e,r,n,i){return dae(e,n,i)})}function dae(t,e,r){return function(i,a,s){return t(i,a,function(o){typeof o=="function"&&(e.enteredCbs[r]||(e.enteredCbs[r]=[]),e.enteredCbs[r].push(o)),s(o)})}}var oj=function(t){function e(r,n){t.call(this,r,n),this._startLocation=Kd(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,s=Is&&a;s&&this.listeners.push(rj());var o=function(){var u=n.current,l=Kd(n.base);n.current===no&&l===n._startLocation||n.transitionTo(l,function(c){s&&Rs(i,c,u,!0)})};window.addEventListener("popstate",o),this.listeners.push(function(){window.removeEventListener("popstate",o)})}},e.prototype.go=function(n){window.history.go(n)},e.prototype.push=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){tg(Ds(s.base+l.fullPath)),Rs(s.router,l,u,!1),i&&i(l)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){D1(Ds(s.base+l.fullPath)),Rs(s.router,l,u,!1),i&&i(l)},a)},e.prototype.ensureURL=function(n){if(Kd(this.base)!==this.current.fullPath){var i=Ds(this.base+this.current.fullPath);n?tg(i):D1(i)}},e.prototype.getCurrentLocation=function(){return Kd(this.base)},e}(ki);function Kd(t){var e=window.location.pathname,r=e.toLowerCase(),n=t.toLowerCase();return t&&(r===n||r.indexOf(Ds(n+"/"))===0)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var uj=function(t){function e(r,n,i){t.call(this,r,n),!(i&&fae(this.base))&&hk()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,s=Is&&a;s&&this.listeners.push(rj());var o=function(){var l=n.current;hk()&&n.transitionTo(zm(),function(c){s&&Rs(n.router,c,l,!0),Is||Hm(c.fullPath)})},u=Is?"popstate":"hashchange";window.addEventListener(u,o),this.listeners.push(function(){window.removeEventListener(u,o)})}},e.prototype.push=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){pk(l.fullPath),Rs(s.router,l,u,!1),i&&i(l)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){Hm(l.fullPath),Rs(s.router,l,u,!1),i&&i(l)},a)},e.prototype.go=function(n){window.history.go(n)},e.prototype.ensureURL=function(n){var i=this.current.fullPath;zm()!==i&&(n?pk(i):Hm(i))},e.prototype.getCurrentLocation=function(){return zm()},e}(ki);function fae(t){var e=Kd(t);if(!/^\/#/.test(e))return window.location.replace(Ds(t+"/#"+e)),!0}function hk(){var t=zm();return t.charAt(0)==="/"?!0:(Hm("/"+t),!1)}function zm(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function R1(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function pk(t){Is?tg(R1(t)):window.location.hash=t}function Hm(t){Is?D1(R1(t)):window.location.replace(R1(t))}var hae=function(t){function e(r,n){t.call(this,r,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(n,i,a){var s=this;this.transitionTo(n,function(o){s.stack=s.stack.slice(0,s.index+1).concat(o),s.index++,i&&i(o)},a)},e.prototype.replace=function(n,i,a){var s=this;this.transitionTo(n,function(o){s.stack=s.stack.slice(0,s.index).concat(o),i&&i(o)},a)},e.prototype.go=function(n){var i=this,a=this.index+n;if(!(a<0||a>=this.stack.length)){var s=this.stack[a];this.confirmTransition(s,function(){var o=i.current;i.index=a,i.updateRoute(s),i.router.afterHooks.forEach(function(u){u&&u(s,o)})},function(o){M0(o,Cu.duplicated)&&(i.index=a)})}},e.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ki),Tt=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Vie(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!Is&&e.fallback!==!1,this.fallback&&(r="hash"),Sh||(r="abstract"),this.mode=r,r){case"history":this.history=new oj(this,e.base);break;case"hash":this.history=new uj(this,e.base,this.fallback);break;case"abstract":this.history=new hae(this,e.base);break}},lj={currentRoute:{configurable:!0}};Tt.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)};lj.currentRoute.get=function(){return this.history&&this.history.current};Tt.prototype.init=function(e){var r=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var s=r.apps.indexOf(e);s>-1&&r.apps.splice(s,1),r.app===e&&(r.app=r.apps[0]||null),r.app||r.history.teardown()}),!this.app){this.app=e;var n=this.history;if(n instanceof oj||n instanceof uj){var i=function(s){var o=n.current,u=r.options.scrollBehavior,l=Is&&u;l&&"fullPath"in s&&Rs(r,s,o,!1)},a=function(s){n.setupListeners(),i(s)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(s){r.apps.forEach(function(o){o._route=s})})}};Tt.prototype.beforeEach=function(e){return mx(this.beforeHooks,e)};Tt.prototype.beforeResolve=function(e){return mx(this.resolveHooks,e)};Tt.prototype.afterEach=function(e){return mx(this.afterHooks,e)};Tt.prototype.onReady=function(e,r){this.history.onReady(e,r)};Tt.prototype.onError=function(e){this.history.onError(e)};Tt.prototype.push=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,s){i.history.push(e,a,s)});this.history.push(e,r,n)};Tt.prototype.replace=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,s){i.history.replace(e,a,s)});this.history.replace(e,r,n)};Tt.prototype.go=function(e){this.history.go(e)};Tt.prototype.back=function(){this.go(-1)};Tt.prototype.forward=function(){this.go(1)};Tt.prototype.getMatchedComponents=function(e){var r=e?e.matched?e:this.resolve(e).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(i){return n.components[i]})})):[]};Tt.prototype.resolve=function(e,r,n){r=r||this.history.current;var i=hx(e,r,n,this),a=this.match(i,r),s=a.redirectedFrom||a.fullPath,o=this.history.base,u=pae(o,s,this.mode);return{location:i,route:a,href:u,normalizedTo:i,resolved:a}};Tt.prototype.getRoutes=function(){return this.matcher.getRoutes()};Tt.prototype.addRoute=function(e,r){this.matcher.addRoute(e,r),this.history.current!==no&&this.history.transitionTo(this.history.getCurrentLocation())};Tt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==no&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Tt.prototype,lj);var sAe=Tt;function mx(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function pae(t,e,r){var n=r==="hash"?"#"+e:e;return t?Ds(t+"/"+n):n}Tt.install=M1;Tt.version="3.6.5";Tt.isNavigationFailure=M0;Tt.NavigationFailureType=Cu;Tt.START_LOCATION=no;Sh&&window.Vue&&window.Vue.use(Tt);var cj={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(Oe,function(){return function(r){var n={};function i(a){if(n[a])return n[a].exports;var s=n[a]={exports:{},id:a,loaded:!1};return r[a].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}return i.m=r,i.c=n,i.p="",i(0)}([function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function $(C,O){for(var A=0;A<O.length;A++){var D=O[A];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,D.key,D)}}return function(C,O,A){return O&&$(C.prototype,O),A&&$(C,A),C}}(),s=i(1),o=P(s),u=i(2),l=P(u),c=i(8),d=P(c),h=i(9),p=P(h),g=i(10),_=P(g),w=i(11),S=P(w),E=i(16),x=P(E),f=i(17),m=P(f),v=i(18),T=P(v);function P($){return $&&$.__esModule?$:{default:$}}function k($,C){if(!($ instanceof C))throw new TypeError("Cannot call a class as a function")}var y=function(){function $(C){k(this,$),C=C||{},this._name="secure-ls",this.utils=o.default,this.constants=l.default,this.Base64=p.default,this.LZString=_.default,this.AES=S.default,this.DES=x.default,this.RABBIT=m.default,this.RC4=T.default,this.enc=d.default,this.config={isCompression:!0,encodingType:l.default.EncrytionTypes.BASE64,encryptionSecret:C.encryptionSecret,encryptionNamespace:C.encryptionNamespace},this.config.isCompression=typeof C.isCompression<"u"?C.isCompression:!0,this.config.encodingType=typeof C.encodingType<"u"||C.encodingType===""?C.encodingType.toLowerCase():l.default.EncrytionTypes.BASE64,this.ls=localStorage,this.init()}return a($,[{key:"init",value:function(){var O=this.getMetaData();this.WarningEnum=this.constants.WarningEnum,this.WarningTypes=this.constants.WarningTypes,this.EncrytionTypes=this.constants.EncrytionTypes,this._isBase64=this._isBase64EncryptionType(),this._isAES=this._isAESEncryptionType(),this._isDES=this._isDESEncryptionType(),this._isRabbit=this._isRabbitEncryptionType(),this._isRC4=this._isRC4EncryptionType(),this._isCompression=this._isDataCompressionEnabled(),this.utils.allKeys=O.keys||this.resetAllKeys()}},{key:"_isBase64EncryptionType",value:function(){return p.default&&(typeof this.config.encodingType>"u"||this.config.encodingType===this.constants.EncrytionTypes.BASE64)}},{key:"_isAESEncryptionType",value:function(){return S.default&&this.config.encodingType===this.constants.EncrytionTypes.AES}},{key:"_isDESEncryptionType",value:function(){return x.default&&this.config.encodingType===this.constants.EncrytionTypes.DES}},{key:"_isRabbitEncryptionType",value:function(){return m.default&&this.config.encodingType===this.constants.EncrytionTypes.RABBIT}},{key:"_isRC4EncryptionType",value:function(){return T.default&&this.config.encodingType===this.constants.EncrytionTypes.RC4}},{key:"_isDataCompressionEnabled",value:function(){return this.config.isCompression}},{key:"getEncryptionSecret",value:function(O){var A=this.getMetaData(),D=this.utils.getObjectFromKey(A.keys,O);D&&(this._isAES||this._isDES||this._isRabbit||this._isRC4)&&(typeof this.config.encryptionSecret>"u"?(this.utils.encryptionSecret=D.s,this.utils.encryptionSecret||(this.utils.encryptionSecret=this.utils.generateSecretKey(),this.setMetaData())):this.utils.encryptionSecret=this.config.encryptionSecret||D.s||"")}},{key:"get",value:function(O,A){var D="",M="",N=void 0,F=void 0,j=void 0;if(!this.utils.is(O))return this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED),M;if(j=this.getDataFromLocalStorage(O),!j)return M;N=j,(this._isCompression||A)&&(N=_.default.decompressFromUTF16(j)),D=N,this._isBase64||A?D=p.default.decode(N):(this.getEncryptionSecret(O),this._isAES?F=S.default.decrypt(N.toString(),this.utils.encryptionSecret):this._isDES?F=x.default.decrypt(N.toString(),this.utils.encryptionSecret):this._isRabbit?F=m.default.decrypt(N.toString(),this.utils.encryptionSecret):this._isRC4&&(F=T.default.decrypt(N.toString(),this.utils.encryptionSecret)),F&&(D=F.toString(d.default._Utf8)));try{M=JSON.parse(D)}catch{throw new Error("Could not parse JSON")}return M}},{key:"getDataFromLocalStorage",value:function(O){return this.ls.getItem(O,!0)}},{key:"getAllKeys",value:function(){var O=this.getMetaData();return this.utils.extractKeyNames(O)||[]}},{key:"set",value:function(O,A){var D="";if(!this.utils.is(O)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}this.getEncryptionSecret(O),String(O)!==String(this.utils.metaKey)&&(this.utils.isKeyPresent(O)||(this.utils.addToKeysList(O),this.setMetaData())),D=this.processData(A),this.setDataToLocalStorage(O,D)}},{key:"setDataToLocalStorage",value:function(O,A){this.ls.setItem(O,A)}},{key:"remove",value:function(O){if(!this.utils.is(O)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}if(O===this.utils.metaKey&&this.getAllKeys().length){this.utils.warn(this.WarningEnum.META_KEY_REMOVE);return}this.utils.isKeyPresent(O)&&(this.utils.removeFromKeysList(O),this.setMetaData()),this.ls.removeItem(O)}},{key:"removeAll",value:function(){var O=void 0,A=void 0;for(O=this.getAllKeys(),A=0;A<O.length;A++)this.ls.removeItem(O[A]);this.ls.removeItem(this.utils.metaKey),this.resetAllKeys()}},{key:"clear",value:function(){this.ls.clear(),this.resetAllKeys()}},{key:"resetAllKeys",value:function(){return this.utils.allKeys=[],[]}},{key:"processData",value:function(O,A){if(O==null||O==="")return"";var D=void 0,M=void 0,N=void 0;try{D=JSON.stringify(O)}catch{throw new Error("Could not stringify data.")}return M=D,this._isBase64||A?M=p.default.encode(D):(this._isAES?M=S.default.encrypt(D,this.utils.encryptionSecret):this._isDES?M=x.default.encrypt(D,this.utils.encryptionSecret):this._isRabbit?M=m.default.encrypt(D,this.utils.encryptionSecret):this._isRC4&&(M=T.default.encrypt(D,this.utils.encryptionSecret)),M=M&&M.toString()),N=M,(this._isCompression||A)&&(N=_.default.compressToUTF16(M)),N}},{key:"setMetaData",value:function(){var O=this.processData({keys:this.utils.allKeys},!0);this.setDataToLocalStorage(this.getMetaKey(),O)}},{key:"getMetaData",value:function(){return this.get(this.getMetaKey(),!0)||{}}},{key:"getMetaKey",value:function(){return this.utils.metaKey+(this.config.encryptionNamespace?"__"+this.config.encryptionNamespace:"")}}]),$}();n.default=y,r.exports=n.default},function(r,n,i){var a=i(2),s=d(a),o=i(3),u=d(o),l=i(4),c=d(l);function d(p){return p&&p.__esModule?p:{default:p}}var h={metaKey:"_secure__ls__metadata",encryptionSecret:"",secretPhrase:"s3cr3t$#@135^&*246",allKeys:[],is:function(g){return!!g},warn:function(g){g=g||s.default.WarningEnum.DEFAULT_TEXT,console.warn(s.default.WarningTypes[g])},generateSecretKey:function(){var g=u.default.random(16),_=(0,c.default)(this.secretPhrase,g,{keySize:128/32});return _&&_.toString()},getObjectFromKey:function(g,_){if(!g||!g.length)return{};var w=void 0,S={};for(w=0;w<g.length;w++)if(g[w].k===_){S=g[w];break}return S},extractKeyNames:function(g){return!g||!g.keys||!g.keys.length?[]:g.keys.map(function(_){return _.k})},getAllKeys:function(){return this.allKeys},isKeyPresent:function(g){for(var _=!1,w=0;w<this.allKeys.length;w++)if(String(this.allKeys[w].k)===String(g)){_=!0;break}return _},addToKeysList:function(g){this.allKeys.push({k:g,s:this.encryptionSecret})},removeFromKeysList:function(g){var _=void 0,w=-1;for(_=0;_<this.allKeys.length;_++)if(this.allKeys[_].k===g){w=_;break}return w!==-1&&this.allKeys.splice(w,1),w}};r.exports=h},function(r,n){var i={KEY_NOT_PROVIDED:"keyNotProvided",META_KEY_REMOVE:"metaKeyRemove",DEFAULT_TEXT:"defaultText"},a={};a[i.KEY_NOT_PROVIDED]="Secure LS: Key not provided. Aborting operation!",a[i.META_KEY_REMOVE]=`Secure LS: Meta key can not be removed
unless all keys created by Secure LS are removed!`,a[i.DEFAULT_TEXT]="Unexpected output";var s={WarningEnum:i,WarningTypes:a,EncrytionTypes:{BASE64:"base64",AES:"aes",DES:"des",RABBIT:"rabbit",RC4:"rc4"}};r.exports=s},function(r,n){var i={};i.random=function(a){for(var s=[],o=function(h){var p=987654321,g=4294967295;return function(){p=36969*(p&65535)+(p>>16)&g,h=18e3*(h&65535)+(h>>16)&g;var _=(p<<16)+h&g;return _/=4294967296,_+=.5,_*(Math.random()>.5?1:-1)}},u=0,l;u<a;u+=4){var c=o((l||Math.random())*4294967296);l=c()*987654071,s.push(c()*4294967296|0)}return new this.Set(s,a)},i.Set=function(a,s){a=this.words=a||[],s!==void 0?this.sigBytes=s:this.sigBytes=a.length*8},r.exports=i},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(6),i(7))})(this,function(a){return function(){var s=a,o=s.lib,u=o.Base,l=o.WordArray,c=s.algo,d=c.SHA1,h=c.HMAC,p=c.PBKDF2=u.extend({cfg:u.extend({keySize:128/32,hasher:d,iterations:1}),init:function(g){this.cfg=this.cfg.extend(g)},compute:function(g,_){for(var w=this.cfg,S=h.create(w.hasher,g),E=l.create(),x=l.create([1]),f=E.words,m=x.words,v=w.keySize,T=w.iterations;f.length<v;){var P=S.update(_).finalize(x);S.reset();for(var k=P.words,y=k.length,$=P,C=1;C<T;C++){$=S.finalize($),S.reset();for(var O=$.words,A=0;A<y;A++)k[A]^=O[A]}E.concat(P),m[0]++}return E.sigBytes=v*4,E}});s.PBKDF2=function(g,_,w){return p.create(w).compute(g,_)}}(),a.PBKDF2})},function(r,n,i){(function(a,s){r.exports=s()})(this,function(){var a=a||function(s,o){var u=Object.create||function(){function x(){}return function(f){var m;return x.prototype=f,m=new x,x.prototype=null,m}}(),l={},c=l.lib={},d=c.Base=function(){return{extend:function(x){var f=u(this);return x&&f.mixIn(x),(!f.hasOwnProperty("init")||this.init===f.init)&&(f.init=function(){f.$super.init.apply(this,arguments)}),f.init.prototype=f,f.$super=this,f},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var f in x)x.hasOwnProperty(f)&&(this[f]=x[f]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=c.WordArray=d.extend({init:function(x,f){x=this.words=x||[],f!=o?this.sigBytes=f:this.sigBytes=x.length*4},toString:function(x){return(x||g).stringify(this)},concat:function(x){var f=this.words,m=x.words,v=this.sigBytes,T=x.sigBytes;if(this.clamp(),v%4)for(var P=0;P<T;P++){var k=m[P>>>2]>>>24-P%4*8&255;f[v+P>>>2]|=k<<24-(v+P)%4*8}else for(var P=0;P<T;P+=4)f[v+P>>>2]=m[P>>>2];return this.sigBytes+=T,this},clamp:function(){var x=this.words,f=this.sigBytes;x[f>>>2]&=4294967295<<32-f%4*8,x.length=s.ceil(f/4)},clone:function(){var x=d.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var f=[],m=function(y){var y=y,$=987654321,C=4294967295;return function(){$=36969*($&65535)+($>>16)&C,y=18e3*(y&65535)+(y>>16)&C;var O=($<<16)+y&C;return O/=4294967296,O+=.5,O*(s.random()>.5?1:-1)}},v=0,T;v<x;v+=4){var P=m((T||s.random())*4294967296);T=P()*987654071,f.push(P()*4294967296|0)}return new h.init(f,x)}}),p=l.enc={},g=p.Hex={stringify:function(x){for(var f=x.words,m=x.sigBytes,v=[],T=0;T<m;T++){var P=f[T>>>2]>>>24-T%4*8&255;v.push((P>>>4).toString(16)),v.push((P&15).toString(16))}return v.join("")},parse:function(x){for(var f=x.length,m=[],v=0;v<f;v+=2)m[v>>>3]|=parseInt(x.substr(v,2),16)<<24-v%8*4;return new h.init(m,f/2)}},_=p.Latin1={stringify:function(x){for(var f=x.words,m=x.sigBytes,v=[],T=0;T<m;T++){var P=f[T>>>2]>>>24-T%4*8&255;v.push(String.fromCharCode(P))}return v.join("")},parse:function(x){for(var f=x.length,m=[],v=0;v<f;v++)m[v>>>2]|=(x.charCodeAt(v)&255)<<24-v%4*8;return new h.init(m,f)}},w=p.Utf8={stringify:function(x){try{return decodeURIComponent(escape(_.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return _.parse(unescape(encodeURIComponent(x)))}},S=c.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=w.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var f=this._data,m=f.words,v=f.sigBytes,T=this.blockSize,P=T*4,k=v/P;x?k=s.ceil(k):k=s.max((k|0)-this._minBufferSize,0);var y=k*T,$=s.min(y*4,v);if(y){for(var C=0;C<y;C+=T)this._doProcessBlock(m,C);var O=m.splice(0,y);f.sigBytes-=$}return new h.init(O,$)},clone:function(){var x=d.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0});c.Hasher=S.extend({cfg:d.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){x&&this._append(x);var f=this._doFinalize();return f},blockSize:16,_createHelper:function(x){return function(f,m){return new x.init(m).finalize(f)}},_createHmacHelper:function(x){return function(f,m){return new E.HMAC.init(x,m).finalize(f)}}});var E=l.algo={};return l}(Math);return a})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,l=o.Hasher,c=s.algo,d=[],h=c.SHA1=l.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(p,g){for(var _=this._hash.words,w=_[0],S=_[1],E=_[2],x=_[3],f=_[4],m=0;m<80;m++){if(m<16)d[m]=p[g+m]|0;else{var v=d[m-3]^d[m-8]^d[m-14]^d[m-16];d[m]=v<<1|v>>>31}var T=(w<<5|w>>>27)+f+d[m];m<20?T+=(S&E|~S&x)+1518500249:m<40?T+=(S^E^x)+1859775393:m<60?T+=(S&E|S&x|E&x)-1894007588:T+=(S^E^x)-899497514,f=x,x=E,E=S<<30|S>>>2,S=w,w=T}_[0]=_[0]+w|0,_[1]=_[1]+S|0,_[2]=_[2]+E|0,_[3]=_[3]+x|0,_[4]=_[4]+f|0},_doFinalize:function(){var p=this._data,g=p.words,_=this._nDataBytes*8,w=p.sigBytes*8;return g[w>>>5]|=128<<24-w%32,g[(w+64>>>9<<4)+14]=Math.floor(_/4294967296),g[(w+64>>>9<<4)+15]=_,p.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});s.SHA1=l._createHelper(h),s.HmacSHA1=l._createHmacHelper(h)}(),a.SHA1})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){(function(){var s=a,o=s.lib,u=o.Base,l=s.enc,c=l.Utf8,d=s.algo;d.HMAC=u.extend({init:function(h,p){h=this._hasher=new h.init,typeof p=="string"&&(p=c.parse(p));var g=h.blockSize,_=g*4;p.sigBytes>_&&(p=h.finalize(p)),p.clamp();for(var w=this._oKey=p.clone(),S=this._iKey=p.clone(),E=w.words,x=S.words,f=0;f<g;f++)E[f]^=1549556828,x[f]^=909522486;w.sigBytes=S.sigBytes=_,this.reset()},reset:function(){var h=this._hasher;h.reset(),h.update(this._iKey)},update:function(h){return this._hasher.update(h),this},finalize:function(h){var p=this._hasher,g=p.finalize(h);p.reset();var _=p.finalize(this._oKey.clone().concat(g));return _}})})()})},function(r,n){var i={};i.Latin1={stringify:function(s){var o=s.words,u=s.sigBytes,l=[],c=void 0,d=void 0;for(c=0;c<u;c++)d=o[c>>>2]>>>24-c%4*8&255,l.push(String.fromCharCode(d));return l.join("")}},i._Utf8={stringify:function(s){try{return decodeURIComponent(escape(i.Latin1.stringify(s)))}catch{throw new Error("Malformed UTF-8 data")}}},r.exports=i},function(r,n){var i={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(s){var o="",u=void 0,l=void 0,c=void 0,d=void 0,h=void 0,p=void 0,g=void 0,_=0;for(s=i._utf8Encode(s);_<s.length;)u=s.charCodeAt(_++),l=s.charCodeAt(_++),c=s.charCodeAt(_++),d=u>>2,h=(u&3)<<4|l>>4,p=(l&15)<<2|c>>6,g=c&63,isNaN(l)?p=g=64:isNaN(c)&&(g=64),o=o+this._keyStr.charAt(d)+this._keyStr.charAt(h)+this._keyStr.charAt(p)+this._keyStr.charAt(g);return o},decode:function(s){var o="",u=void 0,l=void 0,c=void 0,d=void 0,h=void 0,p=void 0,g=void 0,_=0;for(s=s.replace(/[^A-Za-z0-9\+\/\=]/g,"");_<s.length;)d=this._keyStr.indexOf(s.charAt(_++)),h=this._keyStr.indexOf(s.charAt(_++)),p=this._keyStr.indexOf(s.charAt(_++)),g=this._keyStr.indexOf(s.charAt(_++)),u=d<<2|h>>4,l=(h&15)<<4|p>>2,c=(p&3)<<6|g,o=o+String.fromCharCode(u),p!==64&&(o=o+String.fromCharCode(l)),g!==64&&(o=o+String.fromCharCode(c));return o=i._utf8Decode(o),o},_utf8Encode:function(s){s=s.replace(/\r\n/g,`
`);for(var o="",u=0;u<s.length;u++){var l=s.charCodeAt(u);l<128?o+=String.fromCharCode(l):l>127&&l<2048?(o+=String.fromCharCode(l>>6|192),o+=String.fromCharCode(l&63|128)):(o+=String.fromCharCode(l>>12|224),o+=String.fromCharCode(l>>6&63|128),o+=String.fromCharCode(l&63|128))}return o},_utf8Decode:function(s){var o="",u=0,l=void 0,c=void 0,d=void 0;for(l=c=0;u<s.length;)l=s.charCodeAt(u),l<128?(o+=String.fromCharCode(l),u++):l>191&&l<224?(c=s.charCodeAt(u+1),o+=String.fromCharCode((l&31)<<6|c&63),u+=2):(c=s.charCodeAt(u+1),d=s.charCodeAt(u+2),o+=String.fromCharCode((l&15)<<12|(c&63)<<6|d&63),u+=3);return o}};r.exports=i},function(r,n,i){var a,s=function(){var o=String.fromCharCode,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",c={};function d(p,g){if(!c[p]){c[p]={};for(var _=0;_<p.length;_++)c[p][p.charAt(_)]=_}return c[p][g]}var h={compressToBase64:function(p){if(p==null)return"";var g=h._compress(p,6,function(_){return u.charAt(_)});switch(g.length%4){default:case 0:return g;case 1:return g+"===";case 2:return g+"==";case 3:return g+"="}},decompressFromBase64:function(p){return p==null?"":p==""?null:h._decompress(p.length,32,function(g){return d(u,p.charAt(g))})},compressToUTF16:function(p){return p==null?"":h._compress(p,15,function(g){return o(g+32)})+" "},decompressFromUTF16:function(p){return p==null?"":p==""?null:h._decompress(p.length,16384,function(g){return p.charCodeAt(g)-32})},compressToUint8Array:function(p){for(var g=h.compress(p),_=new Uint8Array(g.length*2),w=0,S=g.length;w<S;w++){var E=g.charCodeAt(w);_[w*2]=E>>>8,_[w*2+1]=E%256}return _},decompressFromUint8Array:function(p){if(p==null)return h.decompress(p);for(var g=new Array(p.length/2),_=0,w=g.length;_<w;_++)g[_]=p[_*2]*256+p[_*2+1];var S=[];return g.forEach(function(E){S.push(o(E))}),h.decompress(S.join(""))},compressToEncodedURIComponent:function(p){return p==null?"":h._compress(p,6,function(g){return l.charAt(g)})},decompressFromEncodedURIComponent:function(p){return p==null?"":p==""?null:(p=p.replace(/ /g,"+"),h._decompress(p.length,32,function(g){return d(l,p.charAt(g))}))},compress:function(p){return h._compress(p,16,function(g){return o(g)})},_compress:function(p,g,_){if(p==null)return"";var w,S,E={},x={},f="",m="",v="",T=2,P=3,k=2,y=[],$=0,C=0,O;for(O=0;O<p.length;O+=1)if(f=p.charAt(O),Object.prototype.hasOwnProperty.call(E,f)||(E[f]=P++,x[f]=!0),m=v+f,Object.prototype.hasOwnProperty.call(E,m))v=m;else{if(Object.prototype.hasOwnProperty.call(x,v)){if(v.charCodeAt(0)<256){for(w=0;w<k;w++)$=$<<1,C==g-1?(C=0,y.push(_($)),$=0):C++;for(S=v.charCodeAt(0),w=0;w<8;w++)$=$<<1|S&1,C==g-1?(C=0,y.push(_($)),$=0):C++,S=S>>1}else{for(S=1,w=0;w<k;w++)$=$<<1|S,C==g-1?(C=0,y.push(_($)),$=0):C++,S=0;for(S=v.charCodeAt(0),w=0;w<16;w++)$=$<<1|S&1,C==g-1?(C=0,y.push(_($)),$=0):C++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete x[v]}else for(S=E[v],w=0;w<k;w++)$=$<<1|S&1,C==g-1?(C=0,y.push(_($)),$=0):C++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++),E[m]=P++,v=String(f)}if(v!==""){if(Object.prototype.hasOwnProperty.call(x,v)){if(v.charCodeAt(0)<256){for(w=0;w<k;w++)$=$<<1,C==g-1?(C=0,y.push(_($)),$=0):C++;for(S=v.charCodeAt(0),w=0;w<8;w++)$=$<<1|S&1,C==g-1?(C=0,y.push(_($)),$=0):C++,S=S>>1}else{for(S=1,w=0;w<k;w++)$=$<<1|S,C==g-1?(C=0,y.push(_($)),$=0):C++,S=0;for(S=v.charCodeAt(0),w=0;w<16;w++)$=$<<1|S&1,C==g-1?(C=0,y.push(_($)),$=0):C++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete x[v]}else for(S=E[v],w=0;w<k;w++)$=$<<1|S&1,C==g-1?(C=0,y.push(_($)),$=0):C++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++)}for(S=2,w=0;w<k;w++)$=$<<1|S&1,C==g-1?(C=0,y.push(_($)),$=0):C++,S=S>>1;for(;;)if($=$<<1,C==g-1){y.push(_($));break}else C++;return y.join("")},decompress:function(p){return p==null?"":p==""?null:h._decompress(p.length,32768,function(g){return p.charCodeAt(g)})},_decompress:function(p,g,_){var w=[],S=4,E=4,x=3,f="",m=[],v,T,P,k,y,$,C,O={val:_(0),position:g,index:1};for(v=0;v<3;v+=1)w[v]=v;for(P=0,y=Math.pow(2,2),$=1;$!=y;)k=O.val&O.position,O.position>>=1,O.position==0&&(O.position=g,O.val=_(O.index++)),P|=(k>0?1:0)*$,$<<=1;switch(P){case 0:for(P=0,y=Math.pow(2,8),$=1;$!=y;)k=O.val&O.position,O.position>>=1,O.position==0&&(O.position=g,O.val=_(O.index++)),P|=(k>0?1:0)*$,$<<=1;C=o(P);break;case 1:for(P=0,y=Math.pow(2,16),$=1;$!=y;)k=O.val&O.position,O.position>>=1,O.position==0&&(O.position=g,O.val=_(O.index++)),P|=(k>0?1:0)*$,$<<=1;C=o(P);break;case 2:return""}for(w[3]=C,T=C,m.push(C);;){if(O.index>p)return"";for(P=0,y=Math.pow(2,x),$=1;$!=y;)k=O.val&O.position,O.position>>=1,O.position==0&&(O.position=g,O.val=_(O.index++)),P|=(k>0?1:0)*$,$<<=1;switch(C=P){case 0:for(P=0,y=Math.pow(2,8),$=1;$!=y;)k=O.val&O.position,O.position>>=1,O.position==0&&(O.position=g,O.val=_(O.index++)),P|=(k>0?1:0)*$,$<<=1;w[E++]=o(P),C=E-1,S--;break;case 1:for(P=0,y=Math.pow(2,16),$=1;$!=y;)k=O.val&O.position,O.position>>=1,O.position==0&&(O.position=g,O.val=_(O.index++)),P|=(k>0?1:0)*$,$<<=1;w[E++]=o(P),C=E-1,S--;break;case 2:return m.join("")}if(S==0&&(S=Math.pow(2,x),x++),w[C])f=w[C];else if(C===E)f=T+T.charAt(0);else return null;m.push(f),w[E++]=T+f.charAt(0),S--,T=f,S==0&&(S=Math.pow(2,x),x++)}}};return h}();a=function(){return s}.call(n,i,n,r),a!==void 0&&(r.exports=a)},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.BlockCipher,l=s.algo,c=[],d=[],h=[],p=[],g=[],_=[],w=[],S=[],E=[],x=[];(function(){for(var v=[],T=0;T<256;T++)T<128?v[T]=T<<1:v[T]=T<<1^283;for(var P=0,k=0,T=0;T<256;T++){var y=k^k<<1^k<<2^k<<3^k<<4;y=y>>>8^y&255^99,c[P]=y,d[y]=P;var $=v[P],C=v[$],O=v[C],A=v[y]*257^y*16843008;h[P]=A<<24|A>>>8,p[P]=A<<16|A>>>16,g[P]=A<<8|A>>>24,_[P]=A;var A=O*16843009^C*65537^$*257^P*16843008;w[y]=A<<24|A>>>8,S[y]=A<<16|A>>>16,E[y]=A<<8|A>>>24,x[y]=A,P?(P=$^v[v[v[O^$]]],k^=v[v[k]]):P=k=1}})();var f=[0,1,2,4,8,16,32,64,128,27,54],m=l.AES=u.extend({_doReset:function(){if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var v=this._keyPriorReset=this._key,T=v.words,P=v.sigBytes/4,k=this._nRounds=P+6,y=(k+1)*4,$=this._keySchedule=[],C=0;C<y;C++)if(C<P)$[C]=T[C];else{var O=$[C-1];C%P?P>6&&C%P==4&&(O=c[O>>>24]<<24|c[O>>>16&255]<<16|c[O>>>8&255]<<8|c[O&255]):(O=O<<8|O>>>24,O=c[O>>>24]<<24|c[O>>>16&255]<<16|c[O>>>8&255]<<8|c[O&255],O^=f[C/P|0]<<24),$[C]=$[C-P]^O}for(var A=this._invKeySchedule=[],D=0;D<y;D++){var C=y-D;if(D%4)var O=$[C];else var O=$[C-4];D<4||C<=4?A[D]=O:A[D]=w[c[O>>>24]]^S[c[O>>>16&255]]^E[c[O>>>8&255]]^x[c[O&255]]}}},encryptBlock:function(v,T){this._doCryptBlock(v,T,this._keySchedule,h,p,g,_,c)},decryptBlock:function(v,T){var P=v[T+1];v[T+1]=v[T+3],v[T+3]=P,this._doCryptBlock(v,T,this._invKeySchedule,w,S,E,x,d);var P=v[T+1];v[T+1]=v[T+3],v[T+3]=P},_doCryptBlock:function(v,T,P,k,y,$,C,O){for(var A=this._nRounds,D=v[T]^P[0],M=v[T+1]^P[1],N=v[T+2]^P[2],F=v[T+3]^P[3],j=4,H=1;H<A;H++){var W=k[D>>>24]^y[M>>>16&255]^$[N>>>8&255]^C[F&255]^P[j++],Z=k[M>>>24]^y[N>>>16&255]^$[F>>>8&255]^C[D&255]^P[j++],te=k[N>>>24]^y[F>>>16&255]^$[D>>>8&255]^C[M&255]^P[j++],Y=k[F>>>24]^y[D>>>16&255]^$[M>>>8&255]^C[N&255]^P[j++];D=W,M=Z,N=te,F=Y}var W=(O[D>>>24]<<24|O[M>>>16&255]<<16|O[N>>>8&255]<<8|O[F&255])^P[j++],Z=(O[M>>>24]<<24|O[N>>>16&255]<<16|O[F>>>8&255]<<8|O[D&255])^P[j++],te=(O[N>>>24]<<24|O[F>>>16&255]<<16|O[D>>>8&255]<<8|O[M&255])^P[j++],Y=(O[F>>>24]<<24|O[D>>>16&255]<<16|O[M>>>8&255]<<8|O[N&255])^P[j++];v[T]=W,v[T+1]=Z,v[T+2]=te,v[T+3]=Y},keySize:256/32});s.AES=u._createHelper(m)}(),a.AES})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,l=s.enc;l.Base64={stringify:function(d){var h=d.words,p=d.sigBytes,g=this._map;d.clamp();for(var _=[],w=0;w<p;w+=3)for(var S=h[w>>>2]>>>24-w%4*8&255,E=h[w+1>>>2]>>>24-(w+1)%4*8&255,x=h[w+2>>>2]>>>24-(w+2)%4*8&255,f=S<<16|E<<8|x,m=0;m<4&&w+m*.75<p;m++)_.push(g.charAt(f>>>6*(3-m)&63));var v=g.charAt(64);if(v)for(;_.length%4;)_.push(v);return _.join("")},parse:function(d){var h=d.length,p=this._map,g=this._reverseMap;if(!g){g=this._reverseMap=[];for(var _=0;_<p.length;_++)g[p.charCodeAt(_)]=_}var w=p.charAt(64);if(w){var S=d.indexOf(w);S!==-1&&(h=S)}return c(d,h,g)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(d,h,p){for(var g=[],_=0,w=0;w<h;w++)if(w%4){var S=p[d.charCodeAt(w-1)]<<w%4*2,E=p[d.charCodeAt(w)]>>>6-w%4*2;g[_>>>2]|=(S|E)<<24-_%4*8,_++}return u.create(g,_)}}(),a.enc.Base64})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(s){var o=a,u=o.lib,l=u.WordArray,c=u.Hasher,d=o.algo,h=[];(function(){for(var E=0;E<64;E++)h[E]=s.abs(s.sin(E+1))*4294967296|0})();var p=d.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(E,x){for(var f=0;f<16;f++){var m=x+f,v=E[m];E[m]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var T=this._hash.words,P=E[x+0],k=E[x+1],y=E[x+2],$=E[x+3],C=E[x+4],O=E[x+5],A=E[x+6],D=E[x+7],M=E[x+8],N=E[x+9],F=E[x+10],j=E[x+11],H=E[x+12],W=E[x+13],Z=E[x+14],te=E[x+15],Y=T[0],G=T[1],U=T[2],K=T[3];Y=g(Y,G,U,K,P,7,h[0]),K=g(K,Y,G,U,k,12,h[1]),U=g(U,K,Y,G,y,17,h[2]),G=g(G,U,K,Y,$,22,h[3]),Y=g(Y,G,U,K,C,7,h[4]),K=g(K,Y,G,U,O,12,h[5]),U=g(U,K,Y,G,A,17,h[6]),G=g(G,U,K,Y,D,22,h[7]),Y=g(Y,G,U,K,M,7,h[8]),K=g(K,Y,G,U,N,12,h[9]),U=g(U,K,Y,G,F,17,h[10]),G=g(G,U,K,Y,j,22,h[11]),Y=g(Y,G,U,K,H,7,h[12]),K=g(K,Y,G,U,W,12,h[13]),U=g(U,K,Y,G,Z,17,h[14]),G=g(G,U,K,Y,te,22,h[15]),Y=_(Y,G,U,K,k,5,h[16]),K=_(K,Y,G,U,A,9,h[17]),U=_(U,K,Y,G,j,14,h[18]),G=_(G,U,K,Y,P,20,h[19]),Y=_(Y,G,U,K,O,5,h[20]),K=_(K,Y,G,U,F,9,h[21]),U=_(U,K,Y,G,te,14,h[22]),G=_(G,U,K,Y,C,20,h[23]),Y=_(Y,G,U,K,N,5,h[24]),K=_(K,Y,G,U,Z,9,h[25]),U=_(U,K,Y,G,$,14,h[26]),G=_(G,U,K,Y,M,20,h[27]),Y=_(Y,G,U,K,W,5,h[28]),K=_(K,Y,G,U,y,9,h[29]),U=_(U,K,Y,G,D,14,h[30]),G=_(G,U,K,Y,H,20,h[31]),Y=w(Y,G,U,K,O,4,h[32]),K=w(K,Y,G,U,M,11,h[33]),U=w(U,K,Y,G,j,16,h[34]),G=w(G,U,K,Y,Z,23,h[35]),Y=w(Y,G,U,K,k,4,h[36]),K=w(K,Y,G,U,C,11,h[37]),U=w(U,K,Y,G,D,16,h[38]),G=w(G,U,K,Y,F,23,h[39]),Y=w(Y,G,U,K,W,4,h[40]),K=w(K,Y,G,U,P,11,h[41]),U=w(U,K,Y,G,$,16,h[42]),G=w(G,U,K,Y,A,23,h[43]),Y=w(Y,G,U,K,N,4,h[44]),K=w(K,Y,G,U,H,11,h[45]),U=w(U,K,Y,G,te,16,h[46]),G=w(G,U,K,Y,y,23,h[47]),Y=S(Y,G,U,K,P,6,h[48]),K=S(K,Y,G,U,D,10,h[49]),U=S(U,K,Y,G,Z,15,h[50]),G=S(G,U,K,Y,O,21,h[51]),Y=S(Y,G,U,K,H,6,h[52]),K=S(K,Y,G,U,$,10,h[53]),U=S(U,K,Y,G,F,15,h[54]),G=S(G,U,K,Y,k,21,h[55]),Y=S(Y,G,U,K,M,6,h[56]),K=S(K,Y,G,U,te,10,h[57]),U=S(U,K,Y,G,A,15,h[58]),G=S(G,U,K,Y,W,21,h[59]),Y=S(Y,G,U,K,C,6,h[60]),K=S(K,Y,G,U,j,10,h[61]),U=S(U,K,Y,G,y,15,h[62]),G=S(G,U,K,Y,N,21,h[63]),T[0]=T[0]+Y|0,T[1]=T[1]+G|0,T[2]=T[2]+U|0,T[3]=T[3]+K|0},_doFinalize:function(){var E=this._data,x=E.words,f=this._nDataBytes*8,m=E.sigBytes*8;x[m>>>5]|=128<<24-m%32;var v=s.floor(f/4294967296),T=f;x[(m+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,x[(m+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,E.sigBytes=(x.length+1)*4,this._process();for(var P=this._hash,k=P.words,y=0;y<4;y++){var $=k[y];k[y]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360}return P},clone:function(){var E=c.clone.call(this);return E._hash=this._hash.clone(),E}});function g(E,x,f,m,v,T,P){var k=E+(x&f|~x&m)+v+P;return(k<<T|k>>>32-T)+x}function _(E,x,f,m,v,T,P){var k=E+(x&m|f&~m)+v+P;return(k<<T|k>>>32-T)+x}function w(E,x,f,m,v,T,P){var k=E+(x^f^m)+v+P;return(k<<T|k>>>32-T)+x}function S(E,x,f,m,v,T,P){var k=E+(f^(x|~m))+v+P;return(k<<T|k>>>32-T)+x}o.MD5=c._createHelper(p),o.HmacMD5=c._createHmacHelper(p)}(Math),a.MD5})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(6),i(7))})(this,function(a){return function(){var s=a,o=s.lib,u=o.Base,l=o.WordArray,c=s.algo,d=c.MD5,h=c.EvpKDF=u.extend({cfg:u.extend({keySize:128/32,hasher:d,iterations:1}),init:function(p){this.cfg=this.cfg.extend(p)},compute:function(p,g){for(var _=this.cfg,w=_.hasher.create(),S=l.create(),E=S.words,x=_.keySize,f=_.iterations;E.length<x;){m&&w.update(m);var m=w.update(p).finalize(g);w.reset();for(var v=1;v<f;v++)m=w.finalize(m),w.reset();S.concat(m)}return S.sigBytes=x*4,S}});s.EvpKDF=function(p,g,_){return h.create(_).compute(p,g)}}(),a.EvpKDF})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){a.lib.Cipher||function(s){var o=a,u=o.lib,l=u.Base,c=u.WordArray,d=u.BufferedBlockAlgorithm,h=o.enc;h.Utf8;var p=h.Base64,g=o.algo,_=g.EvpKDF,w=u.Cipher=d.extend({cfg:l.extend(),createEncryptor:function(O,A){return this.create(this._ENC_XFORM_MODE,O,A)},createDecryptor:function(O,A){return this.create(this._DEC_XFORM_MODE,O,A)},init:function(O,A,D){this.cfg=this.cfg.extend(D),this._xformMode=O,this._key=A,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(O){return this._append(O),this._process()},finalize:function(O){O&&this._append(O);var A=this._doFinalize();return A},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function O(A){return typeof A=="string"?C:k}return function(A){return{encrypt:function(D,M,N){return O(M).encrypt(A,D,M,N)},decrypt:function(D,M,N){return O(M).decrypt(A,D,M,N)}}}}()});u.StreamCipher=w.extend({_doFinalize:function(){var O=this._process(!0);return O},blockSize:1});var S=o.mode={},E=u.BlockCipherMode=l.extend({createEncryptor:function(O,A){return this.Encryptor.create(O,A)},createDecryptor:function(O,A){return this.Decryptor.create(O,A)},init:function(O,A){this._cipher=O,this._iv=A}}),x=S.CBC=function(){var O=E.extend();O.Encryptor=O.extend({processBlock:function(D,M){var N=this._cipher,F=N.blockSize;A.call(this,D,M,F),N.encryptBlock(D,M),this._prevBlock=D.slice(M,M+F)}}),O.Decryptor=O.extend({processBlock:function(D,M){var N=this._cipher,F=N.blockSize,j=D.slice(M,M+F);N.decryptBlock(D,M),A.call(this,D,M,F),this._prevBlock=j}});function A(D,M,N){var F=this._iv;if(F){var j=F;this._iv=s}else var j=this._prevBlock;for(var H=0;H<N;H++)D[M+H]^=j[H]}return O}(),f=o.pad={},m=f.Pkcs7={pad:function(O,A){for(var D=A*4,M=D-O.sigBytes%D,N=M<<24|M<<16|M<<8|M,F=[],j=0;j<M;j+=4)F.push(N);var H=c.create(F,M);O.concat(H)},unpad:function(O){var A=O.words[O.sigBytes-1>>>2]&255;O.sigBytes-=A}};u.BlockCipher=w.extend({cfg:w.cfg.extend({mode:x,padding:m}),reset:function(){w.reset.call(this);var O=this.cfg,A=O.iv,D=O.mode;if(this._xformMode==this._ENC_XFORM_MODE)var M=D.createEncryptor;else{var M=D.createDecryptor;this._minBufferSize=1}this._mode=M.call(D,this,A&&A.words)},_doProcessBlock:function(O,A){this._mode.processBlock(O,A)},_doFinalize:function(){var O=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){O.pad(this._data,this.blockSize);var A=this._process(!0)}else{var A=this._process(!0);O.unpad(A)}return A},blockSize:128/32});var v=u.CipherParams=l.extend({init:function(O){this.mixIn(O)},toString:function(O){return(O||this.formatter).stringify(this)}}),T=o.format={},P=T.OpenSSL={stringify:function(O){var A=O.ciphertext,D=O.salt;if(D)var M=c.create([1398893684,1701076831]).concat(D).concat(A);else var M=A;return M.toString(p)},parse:function(O){var A=p.parse(O),D=A.words;if(D[0]==1398893684&&D[1]==1701076831){var M=c.create(D.slice(2,4));D.splice(0,4),A.sigBytes-=16}return v.create({ciphertext:A,salt:M})}},k=u.SerializableCipher=l.extend({cfg:l.extend({format:P}),encrypt:function(O,A,D,M){M=this.cfg.extend(M);var N=O.createEncryptor(D,M),F=N.finalize(A),j=N.cfg;return v.create({ciphertext:F,key:D,iv:j.iv,algorithm:O,mode:j.mode,padding:j.padding,blockSize:O.blockSize,formatter:M.format})},decrypt:function(O,A,D,M){M=this.cfg.extend(M),A=this._parse(A,M.format);var N=O.createDecryptor(D,M).finalize(A.ciphertext);return N},_parse:function(O,A){return typeof O=="string"?A.parse(O,this):O}}),y=o.kdf={},$=y.OpenSSL={execute:function(O,A,D,M){M||(M=c.random(64/8));var N=_.create({keySize:A+D}).compute(O,M),F=c.create(N.words.slice(A),D*4);return N.sigBytes=A*4,v.create({key:N,iv:F,salt:M})}},C=u.PasswordBasedCipher=k.extend({cfg:k.cfg.extend({kdf:$}),encrypt:function(O,A,D,M){M=this.cfg.extend(M);var N=M.kdf.execute(D,O.keySize,O.ivSize);M.iv=N.iv;var F=k.encrypt.call(this,O,A,N.key,M);return F.mixIn(N),F},decrypt:function(O,A,D,M){M=this.cfg.extend(M),A=this._parse(A,M.format);var N=M.kdf.execute(D,O.keySize,O.ivSize,A.salt);M.iv=N.iv;var F=k.decrypt.call(this,O,A,N.key,M);return F}})}()})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,l=o.BlockCipher,c=s.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],h=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],p=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],_=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],w=c.DES=l.extend({_doReset:function(){for(var f=this._key,m=f.words,v=[],T=0;T<56;T++){var P=d[T]-1;v[T]=m[P>>>5]>>>31-P%32&1}for(var k=this._subKeys=[],y=0;y<16;y++){for(var $=k[y]=[],C=p[y],T=0;T<24;T++)$[T/6|0]|=v[(h[T]-1+C)%28]<<31-T%6,$[4+(T/6|0)]|=v[28+(h[T+24]-1+C)%28]<<31-T%6;$[0]=$[0]<<1|$[0]>>>31;for(var T=1;T<7;T++)$[T]=$[T]>>>(T-1)*4+3;$[7]=$[7]<<5|$[7]>>>27}for(var O=this._invSubKeys=[],T=0;T<16;T++)O[T]=k[15-T]},encryptBlock:function(f,m){this._doCryptBlock(f,m,this._subKeys)},decryptBlock:function(f,m){this._doCryptBlock(f,m,this._invSubKeys)},_doCryptBlock:function(f,m,v){this._lBlock=f[m],this._rBlock=f[m+1],S.call(this,4,252645135),S.call(this,16,65535),E.call(this,2,858993459),E.call(this,8,16711935),S.call(this,1,1431655765);for(var T=0;T<16;T++){for(var P=v[T],k=this._lBlock,y=this._rBlock,$=0,C=0;C<8;C++)$|=g[C][((y^P[C])&_[C])>>>0];this._lBlock=y,this._rBlock=k^$}var O=this._lBlock;this._lBlock=this._rBlock,this._rBlock=O,S.call(this,1,1431655765),E.call(this,8,16711935),E.call(this,2,858993459),S.call(this,16,65535),S.call(this,4,252645135),f[m]=this._lBlock,f[m+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function S(f,m){var v=(this._lBlock>>>f^this._rBlock)&m;this._rBlock^=v,this._lBlock^=v<<f}function E(f,m){var v=(this._rBlock>>>f^this._lBlock)&m;this._lBlock^=v,this._rBlock^=v<<f}s.DES=l._createHelper(w);var x=c.TripleDES=l.extend({_doReset:function(){var f=this._key,m=f.words;this._des1=w.createEncryptor(u.create(m.slice(0,2))),this._des2=w.createEncryptor(u.create(m.slice(2,4))),this._des3=w.createEncryptor(u.create(m.slice(4,6)))},encryptBlock:function(f,m){this._des1.encryptBlock(f,m),this._des2.decryptBlock(f,m),this._des3.encryptBlock(f,m)},decryptBlock:function(f,m){this._des3.decryptBlock(f,m),this._des2.encryptBlock(f,m),this._des1.decryptBlock(f,m)},keySize:192/32,ivSize:64/32,blockSize:64/32});s.TripleDES=l._createHelper(x)}(),a.TripleDES})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.StreamCipher,l=s.algo,c=[],d=[],h=[],p=l.Rabbit=u.extend({_doReset:function(){for(var _=this._key.words,w=this.cfg.iv,S=0;S<4;S++)_[S]=(_[S]<<8|_[S]>>>24)&16711935|(_[S]<<24|_[S]>>>8)&4278255360;var E=this._X=[_[0],_[3]<<16|_[2]>>>16,_[1],_[0]<<16|_[3]>>>16,_[2],_[1]<<16|_[0]>>>16,_[3],_[2]<<16|_[1]>>>16],x=this._C=[_[2]<<16|_[2]>>>16,_[0]&4294901760|_[1]&65535,_[3]<<16|_[3]>>>16,_[1]&4294901760|_[2]&65535,_[0]<<16|_[0]>>>16,_[2]&4294901760|_[3]&65535,_[1]<<16|_[1]>>>16,_[3]&4294901760|_[0]&65535];this._b=0;for(var S=0;S<4;S++)g.call(this);for(var S=0;S<8;S++)x[S]^=E[S+4&7];if(w){var f=w.words,m=f[0],v=f[1],T=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,P=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,k=T>>>16|P&4294901760,y=P<<16|T&65535;x[0]^=T,x[1]^=k,x[2]^=P,x[3]^=y,x[4]^=T,x[5]^=k,x[6]^=P,x[7]^=y;for(var S=0;S<4;S++)g.call(this)}},_doProcessBlock:function(_,w){var S=this._X;g.call(this),c[0]=S[0]^S[5]>>>16^S[3]<<16,c[1]=S[2]^S[7]>>>16^S[5]<<16,c[2]=S[4]^S[1]>>>16^S[7]<<16,c[3]=S[6]^S[3]>>>16^S[1]<<16;for(var E=0;E<4;E++)c[E]=(c[E]<<8|c[E]>>>24)&16711935|(c[E]<<24|c[E]>>>8)&4278255360,_[w+E]^=c[E]},blockSize:128/32,ivSize:64/32});function g(){for(var _=this._X,w=this._C,S=0;S<8;S++)d[S]=w[S];w[0]=w[0]+1295307597+this._b|0,w[1]=w[1]+3545052371+(w[0]>>>0<d[0]>>>0?1:0)|0,w[2]=w[2]+886263092+(w[1]>>>0<d[1]>>>0?1:0)|0,w[3]=w[3]+1295307597+(w[2]>>>0<d[2]>>>0?1:0)|0,w[4]=w[4]+3545052371+(w[3]>>>0<d[3]>>>0?1:0)|0,w[5]=w[5]+886263092+(w[4]>>>0<d[4]>>>0?1:0)|0,w[6]=w[6]+1295307597+(w[5]>>>0<d[5]>>>0?1:0)|0,w[7]=w[7]+3545052371+(w[6]>>>0<d[6]>>>0?1:0)|0,this._b=w[7]>>>0<d[7]>>>0?1:0;for(var S=0;S<8;S++){var E=_[S]+w[S],x=E&65535,f=E>>>16,m=((x*x>>>17)+x*f>>>15)+f*f,v=((E&4294901760)*E|0)+((E&65535)*E|0);h[S]=m^v}_[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,_[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,_[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,_[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,_[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,_[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,_[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,_[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}s.Rabbit=u._createHelper(p)}(),a.Rabbit})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.StreamCipher,l=s.algo,c=l.RC4=u.extend({_doReset:function(){for(var p=this._key,g=p.words,_=p.sigBytes,w=this._S=[],S=0;S<256;S++)w[S]=S;for(var S=0,E=0;S<256;S++){var x=S%_,f=g[x>>>2]>>>24-x%4*8&255;E=(E+w[S]+f)%256;var m=w[S];w[S]=w[E],w[E]=m}this._i=this._j=0},_doProcessBlock:function(p,g){p[g]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var p=this._S,g=this._i,_=this._j,w=0,S=0;S<4;S++){g=(g+1)%256,_=(_+p[g])%256;var E=p[g];p[g]=p[_],p[_]=E,w|=p[(p[g]+p[_])%256]<<24-S*8}return this._i=g,this._j=_,w}s.RC4=u._createHelper(c);var h=l.RC4Drop=c.extend({cfg:c.cfg.extend({drop:192}),_doReset:function(){c._doReset.call(this);for(var p=this.cfg.drop;p>0;p--)d.call(this)}});s.RC4Drop=u._createHelper(h)}(),a.RC4})}])})})(cj);var mae=cj.exports;const oAe=Vn(mae);/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */function vae(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var r=t.prototype._init;t.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[n].concat(i.init):n,r.call(this,i)}}function n(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var gae=typeof window<"u"?window:typeof global<"u"?global:{},cl=gae.__VUE_DEVTOOLS_GLOBAL_HOOK__;function bae(t){cl&&(t._devtoolHook=cl,cl.emit("vuex:init",t),cl.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){cl.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){cl.emit("vuex:action",e,r)},{prepend:!0}))}function _ae(t,e){return t.filter(e)[0]}function I1(t,e){if(e===void 0&&(e=[]),t===null||typeof t!="object")return t;var r=_ae(e,function(i){return i.original===t});if(r)return r.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach(function(i){n[i]=I1(t[i],e)}),n}function Mc(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function dj(t){return t!==null&&typeof t=="object"}function yae(t){return t&&typeof t.then=="function"}function wae(t,e){return function(){return t(e)}}var Di=function(e,r){this.runtime=r,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n=="function"?n():n)||{}},fj={namespaced:{configurable:!0}};fj.namespaced.get=function(){return!!this._rawModule.namespaced};Di.prototype.addChild=function(e,r){this._children[e]=r};Di.prototype.removeChild=function(e){delete this._children[e]};Di.prototype.getChild=function(e){return this._children[e]};Di.prototype.hasChild=function(e){return e in this._children};Di.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Di.prototype.forEachChild=function(e){Mc(this._children,e)};Di.prototype.forEachGetter=function(e){this._rawModule.getters&&Mc(this._rawModule.getters,e)};Di.prototype.forEachAction=function(e){this._rawModule.actions&&Mc(this._rawModule.actions,e)};Di.prototype.forEachMutation=function(e){this._rawModule.mutations&&Mc(this._rawModule.mutations,e)};Object.defineProperties(Di.prototype,fj);var Au=function(e){this.register([],e,!1)};Au.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)};Au.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};Au.prototype.update=function(e){hj([],this.root,e)};Au.prototype.register=function(e,r,n){var i=this;n===void 0&&(n=!0);var a=new Di(r,n);if(e.length===0)this.root=a;else{var s=this.get(e.slice(0,-1));s.addChild(e[e.length-1],a)}r.modules&&Mc(r.modules,function(o,u){i.register(e.concat(u),o,n)})};Au.prototype.unregister=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1],i=r.getChild(n);i&&i.runtime&&r.removeChild(n)};Au.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function hj(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;hj(t.concat(n),e.getChild(n),r.modules[n])}}var on,Un=function(e){var r=this;e===void 0&&(e={}),!on&&typeof window<"u"&&window.Vue&&vj(window.Vue);var n=e.plugins;n===void 0&&(n=[]);var i=e.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Au(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new on,this._makeLocalGettersCache=Object.create(null);var a=this,s=this,o=s.dispatch,u=s.commit;this.dispatch=function(h,p){return o.call(a,h,p)},this.commit=function(h,p,g){return u.call(a,h,p,g)},this.strict=i;var l=this._modules.root.state;k0(this,l,[],this._modules.root),gx(this,l),n.forEach(function(d){return d(r)});var c=e.devtools!==void 0?e.devtools:on.config.devtools;c&&bae(this)},vx={state:{configurable:!0}};vx.state.get=function(){return this._vm._data.$$state};vx.state.set=function(t){};Un.prototype.commit=function(e,r,n){var i=this,a=ng(e,r,n),s=a.type,o=a.payload,u={type:s,payload:o},l=this._mutations[s];l&&(this._withCommit(function(){l.forEach(function(d){d(o)})}),this._subscribers.slice().forEach(function(c){return c(u,i.state)}))};Un.prototype.dispatch=function(e,r){var n=this,i=ng(e,r),a=i.type,s=i.payload,o={type:a,payload:s},u=this._actions[a];if(u){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(o,n.state)})}catch{}var l=u.length>1?Promise.all(u.map(function(c){return c(s)})):u[0](s);return new Promise(function(c,d){l.then(function(h){try{n._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(o,n.state)})}catch{}c(h)},function(h){try{n._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(o,n.state,h)})}catch{}d(h)})})}};Un.prototype.subscribe=function(e,r){return pj(e,this._subscribers,r)};Un.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return pj(n,this._actionSubscribers,r)};Un.prototype.watch=function(e,r,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},r,n)};Un.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})};Un.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),k0(this,this.state,e,this._modules.get(e),n.preserveState),gx(this,this.state)};Un.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=bx(r.state,e.slice(0,-1));on.delete(n,e[e.length-1])}),mj(this)};Un.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};Un.prototype.hotUpdate=function(e){this._modules.update(e),mj(this,!0)};Un.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r};Object.defineProperties(Un.prototype,vx);function pj(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function mj(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;k0(t,r,[],t._modules.root,!0),gx(t,r,e)}function gx(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};Mc(i,function(o,u){a[u]=wae(o,t),Object.defineProperty(t.getters,u,{get:function(){return t._vm[u]},enumerable:!0})});var s=on.config.silent;on.config.silent=!0,t._vm=new on({data:{$$state:e},computed:a}),on.config.silent=s,t.strict&&Pae(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),on.nextTick(function(){return n.$destroy()}))}function k0(t,e,r,n,i){var a=!r.length,s=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=n),!a&&!i){var o=bx(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit(function(){on.set(o,u,n.state)})}var l=n.context=Oae(t,s,r);n.forEachMutation(function(c,d){var h=s+d;xae(t,h,c,l)}),n.forEachAction(function(c,d){var h=c.root?d:s+d,p=c.handler||c;Tae(t,h,p,l)}),n.forEachGetter(function(c,d){var h=s+d;Eae(t,h,c,l)}),n.forEachChild(function(c,d){k0(t,e,r.concat(d),c,i)})}function Oae(t,e,r){var n=e==="",i={dispatch:n?t.dispatch:function(a,s,o){var u=ng(a,s,o),l=u.payload,c=u.options,d=u.type;return(!c||!c.root)&&(d=e+d),t.dispatch(d,l)},commit:n?t.commit:function(a,s,o){var u=ng(a,s,o),l=u.payload,c=u.options,d=u.type;(!c||!c.root)&&(d=e+d),t.commit(d,l,c)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return Sae(t,e)}},state:{get:function(){return bx(t.state,r)}}}),i}function Sae(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach(function(i){if(i.slice(0,n)===e){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return t.getters[i]},enumerable:!0})}}),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function xae(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(s){r.call(t,n.state,s)})}function Tae(t,e,r,n){var i=t._actions[e]||(t._actions[e]=[]);i.push(function(s){var o=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},s);return yae(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(u){throw t._devtoolHook.emit("vuex:error",u),u}):o})}function Eae(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function Pae(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function bx(t,e){return e.reduce(function(r,n){return r[n]},t)}function ng(t,e,r){return dj(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function vj(t){on&&t===on||(on=t,vae(on))}var gj=R0(function(t,e){var r={};return D0(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){var o=this.$store.state,u=this.$store.getters;if(t){var l=I0(this.$store,"mapState",t);if(!l)return;o=l.context.state,u=l.context.getters}return typeof a=="function"?a.call(this,o,u):o[a]},r[i].vuex=!0}),r}),bj=R0(function(t,e){var r={};return D0(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var o=[],u=arguments.length;u--;)o[u]=arguments[u];var l=this.$store.commit;if(t){var c=I0(this.$store,"mapMutations",t);if(!c)return;l=c.context.commit}return typeof a=="function"?a.apply(this,[l].concat(o)):l.apply(this.$store,[a].concat(o))}}),r}),_j=R0(function(t,e){var r={};return D0(e).forEach(function(n){var i=n.key,a=n.val;a=t+a,r[i]=function(){if(!(t&&!I0(this.$store,"mapGetters",t)))return this.$store.getters[a]},r[i].vuex=!0}),r}),yj=R0(function(t,e){var r={};return D0(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var o=[],u=arguments.length;u--;)o[u]=arguments[u];var l=this.$store.dispatch;if(t){var c=I0(this.$store,"mapActions",t);if(!c)return;l=c.context.dispatch}return typeof a=="function"?a.apply(this,[l].concat(o)):l.apply(this.$store,[a].concat(o))}}),r}),Cae=function(t){return{mapState:gj.bind(null,t),mapGetters:_j.bind(null,t),mapMutations:bj.bind(null,t),mapActions:yj.bind(null,t)}};function D0(t){return Aae(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function Aae(t){return Array.isArray(t)||dj(t)}function R0(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function I0(t,e,r){var n=t._modulesNamespaceMap[r];return n}function $ae(t){t===void 0&&(t={});var e=t.collapsed;e===void 0&&(e=!0);var r=t.filter;r===void 0&&(r=function(c,d,h){return!0});var n=t.transformer;n===void 0&&(n=function(c){return c});var i=t.mutationTransformer;i===void 0&&(i=function(c){return c});var a=t.actionFilter;a===void 0&&(a=function(c,d){return!0});var s=t.actionTransformer;s===void 0&&(s=function(c){return c});var o=t.logMutations;o===void 0&&(o=!0);var u=t.logActions;u===void 0&&(u=!0);var l=t.logger;return l===void 0&&(l=console),function(c){var d=I1(c.state);typeof l>"u"||(o&&c.subscribe(function(h,p){var g=I1(p);if(r(h,d,g)){var _=gk(),w=i(h),S="mutation "+h.type+_;mk(l,S,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",w),l.log("%c next state","color: #4CAF50; font-weight: bold",n(g)),vk(l)}d=g}),u&&c.subscribeAction(function(h,p){if(a(h,p)){var g=gk(),_=s(h),w="action "+h.type+g;mk(l,w,e),l.log("%c action","color: #03A9F4; font-weight: bold",_),vk(l)}}))}}function mk(t,e,r){var n=r?t.groupCollapsed:t.group;try{n.call(t,e)}catch{t.log(e)}}function vk(t){try{t.groupEnd()}catch{t.log("—— log end ——")}}function gk(){var t=new Date;return" @ "+$p(t.getHours(),2)+":"+$p(t.getMinutes(),2)+":"+$p(t.getSeconds(),2)+"."+$p(t.getMilliseconds(),3)}function Mae(t,e){return new Array(e+1).join(t)}function $p(t,e){return Mae("0",e-t.toString().length)+t}var kae={Store:Un,install:vj,version:"3.6.2",mapState:gj,mapMutations:bj,mapGetters:_j,mapActions:yj,createNamespacedHelpers:Cae,createLogger:$ae};const uAe=kae;var Dae=function(t){return function(e){return!!e&&typeof e=="object"}(t)&&!function(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||function(n){return n.$$typeof===Rae}(e)}(t)},Rae=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function qd(t,e){return e.clone!==!1&&e.isMergeableObject(t)?cc(Array.isArray(t)?[]:{},t,e):t}function Iae(t,e,r){return t.concat(e).map(function(n){return qd(n,r)})}function bk(t){return Object.keys(t).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return e.propertyIsEnumerable(r)}):[]}(t))}function _k(t,e){try{return e in t}catch{return!1}}function cc(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||Iae,r.isMergeableObject=r.isMergeableObject||Dae,r.cloneUnlessOtherwiseSpecified=qd;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):function(i,a,s){var o={};return s.isMergeableObject(i)&&bk(i).forEach(function(u){o[u]=qd(i[u],s)}),bk(a).forEach(function(u){(function(l,c){return _k(l,c)&&!(Object.hasOwnProperty.call(l,c)&&Object.propertyIsEnumerable.call(l,c))})(i,u)||(o[u]=_k(i,u)&&s.isMergeableObject(a[u])?function(l,c){if(!c.customMerge)return cc;var d=c.customMerge(l);return typeof d=="function"?d:cc}(u,s)(i[u],a[u],s):qd(a[u],s))}),o}(t,e,r):qd(e,r)}cc.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return cc(r,n,e)},{})};var Nae=cc;function lAe(t){var e=(t=t||{}).storage||window&&window.localStorage,r=t.key||"vuex";function n(c,d){var h=d.getItem(c);try{return typeof h=="string"?JSON.parse(h):typeof h=="object"?h:void 0}catch{}}function i(){return!0}function a(c,d,h){return h.setItem(c,JSON.stringify(d))}function s(c,d){return Array.isArray(d)?d.reduce(function(h,p){return function(w,S,E,x){return!/^(__proto__|constructor|prototype)$/.test(S)&&((S=S.split?S.split("."):S.slice(0)).slice(0,-1).reduce(function(f,m){return f[m]=f[m]||{}},w)[S.pop()]=E),w}(h,p,(g=c,(g=((_=p).split?_.split("."):_).reduce(function(w,S){return w&&w[S]},g))===void 0?void 0:g));var g,_},{}):c}function o(c){return function(d){return c.subscribe(d)}}(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var u,l=function(){return(t.getState||n)(r,e)};return t.fetchBeforeUse&&(u=l()),function(c){t.fetchBeforeUse||(u=l()),typeof u=="object"&&u!==null&&(c.replaceState(t.overwrite?u:Nae(c.state,u,{arrayMerge:t.arrayMerger||function(d,h){return h},clone:!1})),(t.rehydrated||function(){})(c)),(t.subscriber||o)(c)(function(d,h){(t.filter||i)(d)&&(t.setState||a)(r,(t.reducer||s)(h,t.paths),e)})}}const wj=Object.prototype.toString;function Oj(t){switch(wj.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return io(t,Error)}}function kc(t,e){return wj.call(t)===`[object ${e}]`}function Sj(t){return kc(t,"ErrorEvent")}function yk(t){return kc(t,"DOMError")}function Lae(t){return kc(t,"DOMException")}function pu(t){return kc(t,"String")}function xj(t){return t===null||typeof t!="object"&&typeof t!="function"}function dc(t){return kc(t,"Object")}function _x(t){return typeof Event<"u"&&io(t,Event)}function Bae(t){return typeof Element<"u"&&io(t,Element)}function Fae(t){return kc(t,"RegExp")}function yx(t){return!!(t&&t.then&&typeof t.then=="function")}function jae(t){return dc(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function zae(t){return typeof t=="number"&&t!==t}function io(t,e){try{return t instanceof e}catch{return!1}}function Mp(t){return t&&t.Math==Math?t:void 0}const mn=typeof globalThis=="object"&&Mp(globalThis)||typeof window=="object"&&Mp(window)||typeof self=="object"&&Mp(self)||typeof global=="object"&&Mp(global)||function(){return this}()||{};function N0(){return mn}function wx(t,e,r){const n=r||mn,i=n.__SENTRY__=n.__SENTRY__||{};return i[t]||(i[t]=e())}const Hae=N0(),Vae=80;function ig(t,e={}){try{let r=t;const n=5,i=[];let a=0,s=0;const o=" > ",u=o.length;let l;const c=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||Vae;for(;r&&a++<n&&(l=Uae(r,c),!(l==="html"||a>1&&s+i.length*u+l.length>=d));)i.push(l),s+=l.length,r=r.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function Uae(t,e){const r=t,n=[];let i,a,s,o,u;if(!r||!r.tagName)return"";n.push(r.tagName.toLowerCase());const l=e&&e.length?e.filter(d=>r.getAttribute(d)).map(d=>[d,r.getAttribute(d)]):null;if(l&&l.length)l.forEach(d=>{n.push(`[${d[0]}="${d[1]}"]`)});else if(r.id&&n.push(`#${r.id}`),i=r.className,i&&pu(i))for(a=i.split(/\s+/),u=0;u<a.length;u++)n.push(`.${a[u]}`);const c=["aria-label","type","name","title","alt"];for(u=0;u<c.length;u++)s=c[u],o=r.getAttribute(s),o&&n.push(`[${s}="${o}"]`);return n.join("")}function Gae(){try{return Hae.document.location.href}catch{return""}}class Mr extends Error{constructor(e,r="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=r}}const Wae=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Yae(t){return t==="http"||t==="https"}function Ox(t,e=!1){const{host:r,path:n,pass:i,port:a,projectId:s,protocol:o,publicKey:u}=t;return`${o}://${u}${e&&i?`:${i}`:""}@${r}${a?`:${a}`:""}/${n&&`${n}/`}${s}`}function Kae(t){const e=Wae.exec(t);if(!e)throw new Mr(`Invalid Sentry Dsn: ${t}`);const[r,n,i="",a,s="",o]=e.slice(1);let u="",l=o;const c=l.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),l=c.pop()),l){const d=l.match(/^\d+/);d&&(l=d[0])}return Tj({host:a,pass:i,path:u,projectId:l,port:s,protocol:r,publicKey:n})}function Tj(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function qae(t){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:e,projectId:r,protocol:n}=t;if(["protocol","publicKey","host","projectId"].forEach(a=>{if(!t[a])throw new Mr(`Invalid Sentry Dsn: ${a} missing`)}),!r.match(/^\d+$/))throw new Mr(`Invalid Sentry Dsn: Invalid projectId ${r}`);if(!Yae(n))throw new Mr(`Invalid Sentry Dsn: Invalid protocol ${n}`);if(e&&isNaN(parseInt(e,10)))throw new Mr(`Invalid Sentry Dsn: Invalid port ${e}`);return!0}function Xae(t){const e=typeof t=="string"?Kae(t):Tj(t);return qae(e),e}const Zae="Sentry Logger ",ag=["debug","info","warn","error","log","assert","trace"];function Ej(t){if(!("console"in mn))return t();const e=mn.console,r={};ag.forEach(n=>{const i=e[n]&&e[n].__sentry_original__;n in e&&i&&(r[n]=e[n],e[n]=i)});try{return t()}finally{Object.keys(r).forEach(n=>{e[n]=r[n]})}}function wk(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?ag.forEach(r=>{e[r]=(...n)=>{t&&Ej(()=>{mn.console[r](`${Zae}[${r}]:`,...n)})}}):ag.forEach(r=>{e[r]=()=>{}}),e}let ve;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?ve=wx("logger",wk):ve=wk();function vf(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function Ok(t,e){if(!Array.isArray(t))return"";const r=[];for(let n=0;n<t.length;n++){const i=t[n];try{r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(e)}function Jae(t,e,r=!1){return pu(t)?Fae(e)?e.test(t):pu(e)?r?t===e:t.includes(e):!1:!1}function Sx(t,e=[],r=!1){return e.some(n=>Jae(t,n,r))}function kr(t,e,r){if(!(e in t))return;const n=t[e],i=r(n);if(typeof i=="function")try{Pj(i,n)}catch{}t[e]=i}function xx(t,e,r){Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}function Pj(t,e){const r=e.prototype||{};t.prototype=e.prototype=r,xx(t,"__sentry_original__",e)}function Tx(t){return t.__sentry_original__}function Qae(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function Cj(t){if(Oj(t))return{message:t.message,name:t.name,stack:t.stack,...xk(t)};if(_x(t)){const e={type:t.type,target:Sk(t.target),currentTarget:Sk(t.currentTarget),...xk(t)};return typeof CustomEvent<"u"&&io(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function Sk(t){try{return Bae(t)?ig(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function xk(t){if(typeof t=="object"&&t!==null){const e={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}else return{}}function ese(t,e=40){const r=Object.keys(Cj(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return vf(r[0],e);for(let n=r.length;n>0;n--){const i=r.slice(0,n).join(", ");if(!(i.length>e))return n===r.length?i:vf(i,e)}return""}function L0(t){return N1(t,new Map)}function N1(t,e){if(dc(t)){const r=e.get(t);if(r!==void 0)return r;const n={};e.set(t,n);for(const i of Object.keys(t))typeof t[i]<"u"&&(n[i]=N1(t[i],e));return n}if(Array.isArray(t)){const r=e.get(t);if(r!==void 0)return r;const n=[];return e.set(t,n),t.forEach(i=>{n.push(N1(i,e))}),n}return t}const tse=50;function Aj(...t){const e=t.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0)=>{const i=[];for(const a of r.split(`
`).slice(n)){if(a.length>1024)continue;const s=a.replace(/\(error: (.*)\)/,"$1");for(const o of e){const u=o(s);if(u){i.push(u);break}}}return nse(i)}}function rse(t){return Array.isArray(t)?Aj(...t):t}function nse(t){if(!t.length)return[];let e=t;const r=e[0].function||"",n=e[e.length-1].function||"";return(r.indexOf("captureMessage")!==-1||r.indexOf("captureException")!==-1)&&(e=e.slice(1)),n.indexOf("sentryWrapped")!==-1&&(e=e.slice(0,-1)),e.slice(0,tse).map(i=>({...i,filename:i.filename||e[0].filename,function:i.function||"?"})).reverse()}const gy="<anonymous>";function qs(t){try{return!t||typeof t!="function"?gy:t.name||gy}catch{return gy}}const No=N0();function $j(){if(!("fetch"in No))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function L1(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function ise(){if(!$j())return!1;if(L1(No.fetch))return!0;let t=!1;const e=No.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=L1(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function ase(){const t=No.chrome,e=t&&t.app&&t.app.runtime,r="history"in No&&!!No.history.pushState&&!!No.history.replaceState;return!e&&r}const Et=N0(),gf={},Tk={};function sse(t){if(!Tk[t])switch(Tk[t]=!0,t){case"console":ose();break;case"dom":vse();break;case"xhr":dse();break;case"fetch":use();break;case"history":fse();break;case"error":gse();break;case"unhandledrejection":bse();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("unknown instrumentation type:",t);return}}function ti(t,e){gf[t]=gf[t]||[],gf[t].push(e),sse(t)}function bi(t,e){if(!(!t||!gf[t]))for(const r of gf[t]||[])try{r(e)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error(`Error while triggering instrumentation handler.
Type: ${t}
Name: ${qs(r)}
Error:`,n)}}function ose(){"console"in Et&&ag.forEach(function(t){t in Et.console&&kr(Et.console,t,function(e){return function(...r){bi("console",{args:r,level:t}),e&&e.apply(Et.console,r)}})})}function use(){ise()&&kr(Et,"fetch",function(t){return function(...e){const r={args:e,fetchData:{method:lse(e),url:cse(e)},startTimestamp:Date.now()};return bi("fetch",{...r}),t.apply(Et,e).then(n=>(bi("fetch",{...r,endTimestamp:Date.now(),response:n}),n),n=>{throw bi("fetch",{...r,endTimestamp:Date.now(),error:n}),n})}})}function lse(t=[]){return"Request"in Et&&io(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function cse(t=[]){return typeof t[0]=="string"?t[0]:"Request"in Et&&io(t[0],Request)?t[0].url:String(t[0])}function dse(){if(!("XMLHttpRequest"in Et))return;const t=XMLHttpRequest.prototype;kr(t,"open",function(e){return function(...r){const n=this,i=r[1],a=n.__sentry_xhr__={method:pu(r[0])?r[0].toUpperCase():r[0],url:r[1]};pu(i)&&a.method==="POST"&&i.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const s=function(){if(n.readyState===4){try{a.status_code=n.status}catch{}bi("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?kr(n,"onreadystatechange",function(o){return function(...u){return s(),o.apply(n,u)}}):n.addEventListener("readystatechange",s),e.apply(n,r)}}),kr(t,"send",function(e){return function(...r){return this.__sentry_xhr__&&r[0]!==void 0&&(this.__sentry_xhr__.body=r[0]),bi("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),e.apply(this,r)}})}let kp;function fse(){if(!ase())return;const t=Et.onpopstate;Et.onpopstate=function(...r){const n=Et.location.href,i=kp;if(kp=n,bi("history",{from:i,to:n}),t)try{return t.apply(this,r)}catch{}};function e(r){return function(...n){const i=n.length>2?n[2]:void 0;if(i){const a=kp,s=String(i);kp=s,bi("history",{from:a,to:s})}return r.apply(this,n)}}kr(Et.history,"pushState",e),kr(Et.history,"replaceState",e)}const hse=1e3;let Dp,Rp;function pse(t,e){if(!t||t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch{}return!1}function mse(t){if(t.type!=="keypress")return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)return!1}catch{}return!0}function Ek(t,e=!1){return r=>{if(!r||Rp===r||mse(r))return;const n=r.type==="keypress"?"input":r.type;Dp===void 0?(t({event:r,name:n,global:e}),Rp=r):pse(Rp,r)&&(t({event:r,name:n,global:e}),Rp=r),clearTimeout(Dp),Dp=Et.setTimeout(()=>{Dp=void 0},hse)}}function vse(){if(!("document"in Et))return;const t=bi.bind(null,"dom"),e=Ek(t,!0);Et.document.addEventListener("click",e,!1),Et.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(r=>{const n=Et[r]&&Et[r].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(kr(n,"addEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=l[a]=l[a]||{refCount:0};if(!c.handler){const d=Ek(t);c.handler=d,i.call(this,a,d,o)}c.refCount++}catch{}return i.call(this,a,s,o)}}),kr(n,"removeEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__||{},c=l[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,o),c.handler=void 0,delete l[a]),Object.keys(l).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,s,o)}}))})}let by=null;function gse(){by=Et.onerror,Et.onerror=function(t,e,r,n,i){return bi("error",{column:n,error:i,line:r,msg:t,url:e}),by?by.apply(this,arguments):!1}}let _y=null;function bse(){_y=Et.onunhandledrejection,Et.onunhandledrejection=function(t){return bi("unhandledrejection",t),_y?_y.apply(this,arguments):!0}}function _se(){const t=typeof WeakSet=="function",e=t?new WeakSet:[];function r(i){if(t)return e.has(i)?!0:(e.add(i),!1);for(let a=0;a<e.length;a++)if(e[a]===i)return!0;return e.push(i),!1}function n(i){if(t)e.delete(i);else for(let a=0;a<e.length;a++)if(e[a]===i){e.splice(a,1);break}}return[r,n]}function Ko(){const t=mn,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");const r=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function Mj(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function Lo(t){const{message:e,event_id:r}=t;if(e)return e;const n=Mj(t);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function B1(t,e,r){const n=t.exception=t.exception||{},i=n.values=n.values||[],a=i[0]=i[0]||{};a.value||(a.value=e||""),a.type||(a.type=r||"Error")}function Gf(t,e){const r=Mj(t);if(!r)return;const n={type:"generic",handled:!0},i=r.mechanism;if(r.mechanism={...n,...i,...e},e&&"data"in e){const a={...i&&i.data,...e.data};r.mechanism.data=a}}function Pk(t){if(t&&t.__sentry_captured__)return!0;try{xx(t,"__sentry_captured__",!0)}catch{}return!1}function Ex(t){return Array.isArray(t)?t:[t]}function yse(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function wse(){return"npm"}function Px(){return!yse()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Ose(t,e){return t.require(e)}function gs(t,e=1/0,r=1/0){try{return F1("",t,e,r)}catch(n){return{ERROR:`**non-serializable** (${n})`}}}function kj(t,e=3,r=100*1024){const n=gs(t,e);return Ese(n)>r?kj(t,e-1,r):n}function F1(t,e,r=1/0,n=1/0,i=_se()){const[a,s]=i;if(e===null||["number","boolean","string"].includes(typeof e)&&!zae(e))return e;const o=Sse(t,e);if(!o.startsWith("[object "))return o;if(e.__sentry_skip_normalization__)return e;if(r===0)return o.replace("object ","");if(a(e))return"[Circular ~]";const u=e;if(u&&typeof u.toJSON=="function")try{const h=u.toJSON();return F1("",h,r-1,n,i)}catch{}const l=Array.isArray(e)?[]:{};let c=0;const d=Cj(e);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(c>=n){l[h]="[MaxProperties ~]";break}const p=d[h];l[h]=F1(h,p,r-1,n,i),c++}return s(e),l}function Sse(t,e){try{return t==="domain"&&e&&typeof e=="object"&&e._events?"[Domain]":t==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&e===global?"[Global]":typeof window<"u"&&e===window?"[Window]":typeof document<"u"&&e===document?"[Document]":jae(e)?"[SyntheticEvent]":typeof e=="number"&&e!==e?"[NaN]":e===void 0?"[undefined]":typeof e=="function"?`[Function: ${qs(e)}]`:typeof e=="symbol"?`[${String(e)}]`:typeof e=="bigint"?`[BigInt: ${String(e)}]`:`[object ${xse(e)}]`}catch(r){return`**non-serializable** (${r})`}}function xse(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}function Tse(t){return~-encodeURI(t).split(/%..|./).length}function Ese(t){return Tse(JSON.stringify(t))}var Ta;(function(t){t[t.PENDING=0]="PENDING";const r=1;t[t.RESOLVED=r]="RESOLVED";const n=2;t[t.REJECTED=n]="REJECTED"})(Ta||(Ta={}));function mu(t){return new Ur(e=>{e(t)})}function sg(t){return new Ur((e,r)=>{r(t)})}class Ur{__init(){this._state=Ta.PENDING}__init2(){this._handlers=[]}constructor(e){Ur.prototype.__init.call(this),Ur.prototype.__init2.call(this),Ur.prototype.__init3.call(this),Ur.prototype.__init4.call(this),Ur.prototype.__init5.call(this),Ur.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(r){this._reject(r)}}then(e,r){return new Ur((n,i)=>{this._handlers.push([!1,a=>{if(!e)n(a);else try{n(e(a))}catch(s){i(s)}},a=>{if(!r)i(a);else try{n(r(a))}catch(s){i(s)}}]),this._executeHandlers()})}catch(e){return this.then(r=>r,e)}finally(e){return new Ur((r,n)=>{let i,a;return this.then(s=>{a=!1,i=s,e&&e()},s=>{a=!0,i=s,e&&e()}).then(()=>{if(a){n(i);return}r(i)})})}__init3(){this._resolve=e=>{this._setResult(Ta.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(Ta.REJECTED,e)}}__init5(){this._setResult=(e,r)=>{if(this._state===Ta.PENDING){if(yx(r)){r.then(this._resolve,this._reject);return}this._state=e,this._value=r,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Ta.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(r=>{r[0]||(this._state===Ta.RESOLVED&&r[1](this._value),this._state===Ta.REJECTED&&r[2](this._value),r[0]=!0)})}}}function Pse(t){const e=[];function r(){return t===void 0||e.length<t}function n(s){return e.splice(e.indexOf(s),1)[0]}function i(s){if(!r())return sg(new Mr("Not adding Promise because buffer limit was reached."));const o=s();return e.indexOf(o)===-1&&e.push(o),o.then(()=>n(o)).then(null,()=>n(o).then(null,()=>{})),o}function a(s){return new Ur((o,u)=>{let l=e.length;if(!l)return o(!0);const c=setTimeout(()=>{s&&s>0&&o(!1)},s);e.forEach(d=>{mu(d).then(()=>{--l||(clearTimeout(c),o(!0))},u)})})}return{$:e,add:i,drain:a}}function yy(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+r+n}}const Cse=["fatal","error","warning","log","info","debug"];function Ase(t){return t==="warn"?"warning":Cse.includes(t)?t:"log"}const Dj=N0(),j1={nowSeconds:()=>Date.now()/1e3};function $se(){const{performance:t}=Dj;if(!t||!t.now)return;const e=Date.now()-t.now();return{now:()=>t.now(),timeOrigin:e}}function Mse(){try{return Ose(module,"perf_hooks").performance}catch{return}}const wy=Px()?Mse():$se(),Ck=wy===void 0?j1:{nowSeconds:()=>(wy.timeOrigin+wy.now())/1e3},B0=j1.nowSeconds.bind(j1),Cx=Ck.nowSeconds.bind(Ck),kse=(()=>{const{performance:t}=Dj;if(!t||!t.now)return;const e=3600*1e3,r=t.now(),n=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+r-n):e,a=i<e,s=t.timing&&t.timing.navigationStart,u=typeof s=="number"?Math.abs(s+r-n):e,l=u<e;return a||l?i<=u?t.timeOrigin:s:n})();function xh(t,e=[]){return[t,e]}function Dse(t,e){const[r,n]=t;return[r,[...n,e]]}function Ak(t,e){const r=t[1];for(const n of r){const i=n[0].type;if(e(n,i))return!0}return!1}function z1(t,e){return(e||new TextEncoder).encode(t)}function Rj(t,e){const[r,n]=t;let i=JSON.stringify(r);function a(s){typeof i=="string"?i=typeof s=="string"?i+s:[z1(i,e),s]:i.push(typeof s=="string"?z1(s,e):s)}for(const s of n){const[o,u]=s;if(a(`
${JSON.stringify(o)}
`),typeof u=="string"||u instanceof Uint8Array)a(u);else{let l;try{l=JSON.stringify(u)}catch{l=JSON.stringify(gs(u))}a(l)}}return typeof i=="string"?i:Rse(i)}function Rse(t){const e=t.reduce((i,a)=>i+a.length,0),r=new Uint8Array(e);let n=0;for(const i of t)r.set(i,n),n+=i.length;return r}function Ise(t,e){const r=typeof t.data=="string"?z1(t.data,e):t.data;return[L0({type:"attachment",length:r.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),r]}const Nse={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function $k(t){return Nse[t]}function Ax(t){if(!t||!t.sdk)return;const{name:e,version:r}=t.sdk;return{name:e,version:r}}function Ij(t,e,r,n){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!r&&{dsn:Ox(n)},...t.type==="transaction"&&i&&{trace:L0({...i})}}}function Lse(t,e,r){const n=[{type:"client_report"},{timestamp:r||B0(),discarded_events:t}];return xh(e?{dsn:e}:{},[n])}const Bse=60*1e3;function Fse(t,e=Date.now()){const r=parseInt(`${t}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${t}`);return isNaN(n)?Bse:n-e}function jse(t,e){return t[e]||t.all||0}function zse(t,e,r=Date.now()){return jse(t,e)>r}function Hse(t,{statusCode:e,headers:r},n=Date.now()){const i={...t},a=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(a)for(const o of a.trim().split(",")){const[u,l]=o.split(":",2),c=parseInt(u,10),d=(isNaN(c)?60:c)*1e3;if(!l)i.all=n+d;else for(const h of l.split(";"))i[h]=n+d}else s?i.all=n+Fse(s,n):e===429&&(i.all=n+60*1e3);return i}function Vse(t){const e=Cx(),r={sid:Ko(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Gse(r)};return t&&fc(r,t),r}function fc(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Cx(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:Ko()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const r=t.timestamp-t.started;t.duration=r>=0?r:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function Use(t,e){let r={};e?r={status:e}:t.status==="ok"&&(r={status:"exited"}),fc(t,r)}function Gse(t){return L0({sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}const Wse=100;class Ns{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){const r=new Ns;return e&&(r._breadcrumbs=[...e._breadcrumbs],r._tags={...e._tags},r._extra={...e._extra},r._contexts={...e._contexts},r._user=e._user,r._level=e._level,r._span=e._span,r._session=e._session,r._transactionName=e._transactionName,r._fingerprint=e._fingerprint,r._eventProcessors=[...e._eventProcessors],r._requestSession=e._requestSession,r._attachments=[...e._attachments],r._sdkProcessingMetadata={...e._sdkProcessingMetadata}),r}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&fc(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,r){return this._tags={...this._tags,[e]:r},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,r){return this._extra={...this._extra,[e]:r},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,r){return r===null?delete this._contexts[e]:this._contexts[e]=r,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if(typeof e=="function"){const r=e(this);return r instanceof Ns?r:this}return e instanceof Ns?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):dc(e)&&(e=e,this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,r){const n=typeof r=="number"?r:Wse;if(n<=0)return this;const i={timestamp:B0(),...e};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,r={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};const n=this._span.transaction&&this._span.transaction.name;n&&(e.tags={transaction:n,...e.tags})}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...Nj(),...this._eventProcessors],e,r)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,r,n,i=0){return new Ur((a,s)=>{const o=e[i];if(r===null||typeof o!="function")a(r);else{const u=o({...r},n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&o.id&&u===null&&ve.log(`Event processor "${o.id}" dropped event`),yx(u)?u.then(l=>this._notifyEventProcessors(e,l,n,i+1).then(a)).then(null,s):this._notifyEventProcessors(e,u,n,i+1).then(a).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?Ex(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function Nj(){return wx("globalEventProcessors",()=>[])}function F0(t){Nj().push(t)}const $x=4,Yse=100;class Th{__init(){this._stack=[{}]}constructor(e,r=new Ns,n=$x){this._version=n,Th.prototype.__init.call(this),this.getStackTop().scope=r,e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){const r=this.getStackTop();r.client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=Ns.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(e){const r=this.pushScope();try{e(r)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,r){const n=this._lastEventId=r&&r.event_id?r.event_id:Ko(),i=new Error("Sentry syntheticException");return this._withClient((a,s)=>{a.captureException(e,{originalException:e,syntheticException:i,...r,event_id:n},s)}),n}captureMessage(e,r,n){const i=this._lastEventId=n&&n.event_id?n.event_id:Ko(),a=new Error(e);return this._withClient((s,o)=>{s.captureMessage(e,r,{originalException:e,syntheticException:a,...n,event_id:i},o)}),i}captureEvent(e,r){const n=r&&r.event_id?r.event_id:Ko();return e.type||(this._lastEventId=n),this._withClient((i,a)=>{i.captureEvent(e,{...r,event_id:n},a)}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,r){const{scope:n,client:i}=this.getStackTop();if(!n||!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:s=Yse}=i.getOptions&&i.getOptions()||{};if(s<=0)return;const u={timestamp:B0(),...e},l=a?Ej(()=>a(u,r)):u;l!==null&&n.addBreadcrumb(l,s)}setUser(e){const r=this.getScope();r&&r.setUser(e)}setTags(e){const r=this.getScope();r&&r.setTags(e)}setExtras(e){const r=this.getScope();r&&r.setExtras(e)}setTag(e,r){const n=this.getScope();n&&n.setTag(e,r)}setExtra(e,r){const n=this.getScope();n&&n.setExtra(e,r)}setContext(e,r){const n=this.getScope();n&&n.setContext(e,r)}configureScope(e){const{scope:r,client:n}=this.getStackTop();r&&n&&e(r)}run(e){const r=Mk(this);try{e(this)}finally{Mk(r)}}getIntegration(e){const r=this.getClient();if(!r)return null;try{return r.getIntegration(e)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,r){return this._callExtensionMethod("startTransaction",e,r)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop(),r=e&&e.scope,n=r&&r.getSession();n&&Use(n),this._sendSessionUpdate(),r&&r.setSession()}startSession(e){const{scope:r,client:n}=this.getStackTop(),{release:i,environment:a}=n&&n.getOptions()||{},{userAgent:s}=mn.navigator||{},o=Vse({release:i,environment:a,...r&&{user:r.getUser()},...s&&{userAgent:s},...e});if(r){const u=r.getSession&&r.getSession();u&&u.status==="ok"&&fc(u,{status:"exited"}),this.endSession(),r.setSession(o)}return o}shouldSendDefaultPii(){const e=this.getClient(),r=e&&e.getOptions();return!!(r&&r.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:r}=this.getStackTop();if(!e)return;const n=e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}_withClient(e){const{scope:r,client:n}=this.getStackTop();n&&e(n,r)}_callExtensionMethod(e,...r){const i=j0().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[e]=="function")return i.extensions[e].apply(this,r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function j0(){return mn.__SENTRY__=mn.__SENTRY__||{extensions:{},hub:void 0},mn}function Mk(t){const e=j0(),r=ys(e);return Mx(e,t),r}function Ze(){const t=j0();return(!Lj(t)||ys(t).isOlderThan($x))&&Mx(t,new Th),Px()?Kse(t):ys(t)}function Kse(t){try{const e=j0().__SENTRY__,r=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!r)return ys(t);if(!Lj(r)||ys(r).isOlderThan($x)){const n=ys(t).getStackTop();Mx(r,new Th(n.client,Ns.clone(n.scope)))}return ys(r)}catch{return ys(t)}}function Lj(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function ys(t){return wx("hub",()=>new Th,t)}function Mx(t,e){if(!t)return!1;const r=t.__SENTRY__=t.__SENTRY__||{};return r.hub=e,!0}function kx(t,e){return Ze().captureException(t,{captureContext:e})}function qse(t){Ze().addBreadcrumb(t)}function Xse(t,e){Ze().setContext(t,e)}function Zse(t){Ze().withScope(t)}const Jse="7";function Qse(t){const e=t.protocol?`${t.protocol}:`:"",r=t.port?`:${t.port}`:"";return`${e}//${t.host}${r}${t.path?`/${t.path}`:""}/api/`}function eoe(t){return`${Qse(t)}${t.projectId}/envelope/`}function toe(t,e){return Qae({sentry_key:t.publicKey,sentry_version:Jse,...e&&{sentry_client:`${e.name}/${e.version}`}})}function Bj(t,e={}){const r=typeof e=="string"?e:e.tunnel,n=typeof e=="string"||!e._metadata?void 0:e._metadata.sdk;return r||`${eoe(t)}?${toe(t,n)}`}function roe(t,e){return e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]]),t}function noe(t,e,r,n){const i=Ax(r),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&{dsn:Ox(e)}},s="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t];return xh(a,[s])}function ioe(t,e,r,n){const i=Ax(r),a=t.type&&t.type!=="replay_event"?t.type:"event";roe(t,r&&r.sdk);const s=Ij(t,i,n,e);return delete t.sdkProcessingMetadata,xh(s,[[{type:a},t]])}const kk=[];function aoe(t){const e={};return t.forEach(r=>{const{name:n}=r,i=e[n];i&&!i.isDefaultInstance&&r.isDefaultInstance||(e[n]=r)}),Object.values(e)}function soe(t){const e=t.defaultIntegrations||[],r=t.integrations;e.forEach(s=>{s.isDefaultInstance=!0});let n;Array.isArray(r)?n=[...e,...r]:typeof r=="function"?n=Ex(r(e)):n=e;const i=aoe(n),a=i.findIndex(s=>s.name==="Debug");if(a!==-1){const[s]=i.splice(a,1);i.push(s)}return i}function ooe(t){const e={};return t.forEach(r=>{r&&Fj(r,e)}),e}function Fj(t,e){e[t.name]=t,kk.indexOf(t.name)===-1&&(t.setupOnce(F0,Ze),kk.push(t.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log(`Integration installed: ${t.name}`))}function jj(t,e,r,n){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,s={...e,event_id:e.event_id||r.event_id||Ko(),timestamp:e.timestamp||B0()},o=r.integrations||t.integrations.map(c=>c.name);uoe(s,t),coe(s,o),loe(s,t.stackParser);let u=n;r.captureContext&&(u=Ns.clone(u).update(r.captureContext));let l=mu(s);if(u){if(u.getAttachments){const c=[...r.attachments||[],...u.getAttachments()];c.length&&(r.attachments=c)}l=u.applyToEvent(s,r)}return l.then(c=>typeof i=="number"&&i>0?doe(c,i,a):c)}function uoe(t,e){const{environment:r,release:n,dist:i,maxValueLength:a=250}=e;"environment"in t||(t.environment="environment"in e?r:"production"),t.release===void 0&&n!==void 0&&(t.release=n),t.dist===void 0&&i!==void 0&&(t.dist=i),t.message&&(t.message=vf(t.message,a));const s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=vf(s.value,a));const o=t.request;o&&o.url&&(o.url=vf(o.url,a))}function loe(t,e){const r=mn._sentryDebugIds;if(!r)return;const n=Object.keys(r).reduce((s,o)=>{const u=e(o);for(const l of u)if(l.abs_path){s[l.abs_path]=r[o];break}return s},{}),i=new Set;try{t.exception.values.forEach(s=>{s.stacktrace.frames.forEach(o=>{o.abs_path&&i.add(o.abs_path)})})}catch{}t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const a=t.debug_meta.images;i.forEach(s=>{n[s]&&a.push({type:"sourcemap",code_file:s,debug_id:n[s]})})}function coe(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function doe(t,e,r){if(!t)return null;const n={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:gs(i.data,e,r)}}))},...t.user&&{user:gs(t.user,e,r)},...t.contexts&&{contexts:gs(t.contexts,e,r)},...t.extra&&{extra:gs(t.extra,e,r)}};return t.contexts&&t.contexts.trace&&n.contexts&&(n.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(n.contexts.trace.data=gs(t.contexts.trace.data,e,r))),t.spans&&(n.spans=t.spans.map(i=>(i.data&&(i.data=gs(i.data,e,r)),i))),n}const Dk="Not capturing exception because it's already been captured.";class Il{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(e){if(Il.prototype.__init.call(this),Il.prototype.__init2.call(this),Il.prototype.__init3.call(this),Il.prototype.__init4.call(this),this._options=e,e.dsn){this._dsn=Xae(e.dsn);const r=Bj(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:r})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("No DSN provided, client will not do anything.")}captureException(e,r,n){if(Pk(e)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log(Dk);return}let i=r&&r.event_id;return this._process(this.eventFromException(e,r).then(a=>this._captureEvent(a,r,n)).then(a=>{i=a})),i}captureMessage(e,r,n,i){let a=n&&n.event_id;const s=xj(e)?this.eventFromMessage(String(e),r,n):this.eventFromException(e,n);return this._process(s.then(o=>this._captureEvent(o,n,i)).then(o=>{a=o})),a}captureEvent(e,r,n){if(r&&r.originalException&&Pk(r.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log(Dk);return}let i=r&&r.event_id;return this._process(this._captureEvent(e,r,n).then(a=>{i=a})),i}captureSession(e){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("SDK not enabled, will not capture session.");return}typeof e.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),fc(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const r=this._transport;return r?this._isClientDoneProcessing(e).then(n=>r.flush(e).then(i=>n&&i)):mu(!0)}close(e){return this.flush(e).then(r=>(this.getOptions().enabled=!1,r))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=ooe(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){Fj(e,this._integrations)}sendEvent(e,r={}){if(this._dsn){let n=ioe(e,this._dsn,this._options._metadata,this._options.tunnel);for(const i of r.attachments||[])n=Dse(n,Ise(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(n)}}sendSession(e){if(this._dsn){const r=noe(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}}recordDroppedEvent(e,r,n){if(this._options.sendClientReports){const i=`${e}:${r}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}_updateSessionFromEvent(e,r){let n=!1,i=!1;const a=r.exception&&r.exception.values;if(a){i=!0;for(const u of a){const l=u.mechanism;if(l&&l.handled===!1){n=!0;break}}}const s=e.status==="ok";(s&&e.errors===0||s&&n)&&(fc(e,{...n&&{status:"crashed"},errors:e.errors||Number(i||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Ur(r=>{let n=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),r(!0)):(n+=i,e&&n>=e&&(clearInterval(a),r(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(e,r,n){const i=this.getOptions(),a=Object.keys(this._integrations);return!r.integrations&&a.length>0&&(r.integrations=a),jj(i,e,r,n)}_captureEvent(e,r={},n){return this._processEvent(e,r,n).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const a=i;a.logLevel==="log"?ve.log(a.message):ve.warn(a)}})}_processEvent(e,r,n){const i=this.getOptions(),{sampleRate:a}=i;if(!this._isEnabled())return sg(new Mr("SDK not enabled, will not capture event.","log"));const s=Hj(e),o=zj(e),u=e.type||"error",l=`before send for type \`${u}\``;if(o&&typeof a=="number"&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",e),sg(new Mr(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const c=u==="replay_event"?"replay":u;return this._prepareEvent(e,r,n).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",c,e),new Mr("An event processor returned `null`, will not send event.","log");if(r.data&&r.data.__sentry__===!0)return d;const p=hoe(i,d,r);return foe(p,l)}).then(d=>{if(d===null)throw this.recordDroppedEvent("before_send",c,e),new Mr(`${l} returned \`null\`, will not send event.`,"log");const h=n&&n.getSession();!s&&h&&this._updateSessionFromEvent(h,d);const p=d.transaction_info;if(s&&p&&d.transaction!==e.transaction){const g="custom";d.transaction_info={...p,source:g}}return this.sendEvent(d,r),d}).then(null,d=>{throw d instanceof Mr?d:(this.captureException(d,{data:{__sentry__:!0},originalException:d}),new Mr(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${d}`))})}_process(e){this._numProcessing++,e.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_sendEnvelope(e){this._transport&&this._dsn?this._transport.send(e).then(null,r=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("Error while sending event:",r)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map(r=>{const[n,i]=r.split(":");return{reason:n,category:i,quantity:e[r]}})}}function foe(t,e){const r=`${e} must return \`null\` or a valid event.`;if(yx(t))return t.then(n=>{if(!dc(n)&&n!==null)throw new Mr(r);return n},n=>{throw new Mr(`${e} rejected with ${n}`)});if(!dc(t)&&t!==null)throw new Mr(r);return t}function hoe(t,e,r){const{beforeSend:n,beforeSendTransaction:i}=t;return zj(e)&&n?n(e,r):Hj(e)&&i?i(e,r):e}function zj(t){return t.type===void 0}function Hj(t){return t.type==="transaction"}function poe(t,e){e.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?ve.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const r=Ze(),n=r.getScope();n&&n.update(e.initialScope);const i=new t(e);r.bindClient(i)}const moe=30;function Vj(t,e,r=Pse(t.bufferSize||moe)){let n={};const i=s=>r.drain(s);function a(s){const o=[];if(Ak(s,(d,h)=>{const p=$k(h);if(zse(n,p)){const g=Rk(d,h);t.recordDroppedEvent("ratelimit_backoff",p,g)}else o.push(d)}),o.length===0)return mu();const u=xh(s[0],o),l=d=>{Ak(u,(h,p)=>{const g=Rk(h,p);t.recordDroppedEvent(d,$k(p),g)})},c=()=>e({body:Rj(u,t.textEncoder)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=Hse(n,d),d),d=>{throw l("network_error"),d});return r.add(c).then(d=>d,d=>{if(d instanceof Mr)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("Skipped sending event because buffer is full."),l("queue_overflow"),mu();throw d})}return{send:a,flush:i}}function Rk(t,e){if(!(e!=="event"&&e!=="transaction"))return Array.isArray(t)?t[1]:void 0}const og="7.39.0";let Ik;class Wf{constructor(){Wf.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=Wf.id}setupOnce(){Ik=Function.prototype.toString,Function.prototype.toString=function(...e){const r=Tx(this)||this;return Ik.apply(r,e)}}}Wf.__initStatic();const voe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Hl{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Hl.id}constructor(e={}){this._options=e,Hl.prototype.__init.call(this)}setupOnce(e,r){const n=i=>{const a=r();if(a){const s=a.getIntegration(Hl);if(s){const o=a.getClient(),u=o?o.getOptions():{},l=goe(s._options,u);return boe(i,l)?null:i}}return i};n.id=this.name,e(n)}}Hl.__initStatic();function goe(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...voe],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function boe(t,e){return e.ignoreInternal&&Soe(t)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Event dropped due to being internal Sentry Error.
Event: ${Lo(t)}`),!0):_oe(t,e.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${Lo(t)}`),!0):yoe(t,e.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${Lo(t)}.
Url: ${ug(t)}`),!0):woe(t,e.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${Lo(t)}.
Url: ${ug(t)}`),!0)}function _oe(t,e){return!e||!e.length?!1:Ooe(t).some(r=>Sx(r,e))}function yoe(t,e){if(!e||!e.length)return!1;const r=ug(t);return r?Sx(r,e):!1}function woe(t,e){if(!e||!e.length)return!0;const r=ug(t);return r?Sx(r,e):!0}function Ooe(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:r=""}=t.exception.values&&t.exception.values[0]||{};return[`${r}`,`${e}: ${r}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error(`Cannot extract message for event ${Lo(t)}`),[]}return[]}function Soe(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function xoe(t=[]){for(let e=t.length-1;e>=0;e--){const r=t[e];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function ug(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?xoe(e):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error(`Cannot extract url for event ${Lo(t)}`),null}}function Toe(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=Ze().getClient(),r=t||e&&e.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}const Ye=mn;let H1=0;function Uj(){return H1>0}function Eoe(){H1++,setTimeout(()=>{H1--})}function hc(t,e={},r){if(typeof t!="function")return t;try{const i=t.__sentry_wrapped__;if(i)return i;if(Tx(t))return t}catch{return t}const n=function(){const i=Array.prototype.slice.call(arguments);try{r&&typeof r=="function"&&r.apply(this,arguments);const a=i.map(s=>hc(s,e));return t.apply(this,a)}catch(a){throw Eoe(),Zse(s=>{s.addEventProcessor(o=>(e.mechanism&&(B1(o,void 0,void 0),Gf(o,e.mechanism)),o.extra={...o.extra,arguments:i},o)),kx(a)}),a}};try{for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}catch{}Pj(n,t),xx(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return t.name}})}catch{}return n}function Gj(t,e){const r=Dx(t,e),n={type:e&&e.name,value:$oe(e)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function Poe(t,e,r,n){const a=Ze().getClient(),s=a&&a.getOptions().normalizeDepth,o={exception:{values:[{type:_x(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:`Non-Error ${n?"promise rejection":"exception"} captured with keys: ${ese(e)}`}]},extra:{__serialized__:kj(e,s)}};if(r){const u=Dx(t,r);u.length&&(o.exception.values[0].stacktrace={frames:u})}return o}function Oy(t,e){return{exception:{values:[Gj(t,e)]}}}function Dx(t,e){const r=e.stacktrace||e.stack||"",n=Aoe(e);try{return t(r,n)}catch{}return[]}const Coe=/Minified React error #\d+;/i;function Aoe(t){if(t){if(typeof t.framesToPop=="number")return t.framesToPop;if(Coe.test(t.message))return 1}return 0}function $oe(t){const e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function Moe(t,e,r,n){const i=r&&r.syntheticException||void 0,a=Rx(t,e,i,n);return Gf(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),mu(a)}function koe(t,e,r="info",n,i){const a=n&&n.syntheticException||void 0,s=V1(t,e,a,i);return s.level=r,n&&n.event_id&&(s.event_id=n.event_id),mu(s)}function Rx(t,e,r,n,i){let a;if(Sj(e)&&e.error)return Oy(t,e.error);if(yk(e)||Lae(e)){const s=e;if("stack"in e)a=Oy(t,e);else{const o=s.name||(yk(s)?"DOMError":"DOMException"),u=s.message?`${o}: ${s.message}`:o;a=V1(t,u,r,n),B1(a,u)}return"code"in s&&(a.tags={...a.tags,"DOMException.code":`${s.code}`}),a}return Oj(e)?Oy(t,e):dc(e)||_x(e)?(a=Poe(t,e,r,i),Gf(a,{synthetic:!0}),a):(a=V1(t,e,r,n),B1(a,`${e}`,void 0),Gf(a,{synthetic:!0}),a)}function V1(t,e,r,n){const i={message:e};if(n&&r){const a=Dx(t,r);a.length&&(i.exception={values:[{value:e,stacktrace:{frames:a}}]})}return i}const Ip=1024,Wj="Breadcrumbs";class Yf{static __initStatic(){this.id=Wj}__init(){this.name=Yf.id}constructor(e){Yf.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){this.options.console&&ti("console",Roe),this.options.dom&&ti("dom",Doe(this.options.dom)),this.options.xhr&&ti("xhr",Ioe),this.options.fetch&&ti("fetch",Noe),this.options.history&&ti("history",Loe)}addSentryBreadcrumb(e){this.options.sentry&&Ze().addBreadcrumb({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:Lo(e)},{event:e})}}Yf.__initStatic();function Doe(t){function e(r){let n,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Ip&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`\`dom.maxStringLength\` cannot exceed ${Ip}, but a value of ${a} was configured. Sentry will use ${Ip} instead.`),a=Ip),typeof i=="string"&&(i=[i]);try{n=r.event.target?ig(r.event.target,{keyAttrs:i,maxStringLength:a}):ig(r.event,{keyAttrs:i,maxStringLength:a})}catch{n="<unknown>"}n.length!==0&&Ze().addBreadcrumb({category:`ui.${r.name}`,message:n},{event:r.event,name:r.name,global:r.global})}return e}function Roe(t){for(let r=0;r<t.args.length;r++)if(t.args[r]==="ref=Ref<"){t.args[r+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:Ase(t.level),message:Ok(t.args," ")};if(t.level==="assert")if(t.args[0]===!1)e.message=`Assertion failed: ${Ok(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1);else return;Ze().addBreadcrumb(e,{input:t.args,level:t.level})}function Ioe(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;const{method:e,url:r,status_code:n,body:i}=t.xhr.__sentry_xhr__||{};Ze().addBreadcrumb({category:"xhr",data:{method:e,url:r,status_code:n},type:"http"},{xhr:t.xhr,input:i});return}}function Noe(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method==="POST"||(t.error?Ze().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):Ze().addBreadcrumb({category:"fetch",data:{...t.fetchData,status_code:t.response.status},type:"http"},{input:t.args,response:t.response})))}function Loe(t){let e=t.from,r=t.to;const n=yy(Ye.location.href);let i=yy(e);const a=yy(r);i.path||(i=n),n.protocol===a.protocol&&n.host===a.host&&(r=a.relative),n.protocol===i.protocol&&n.host===i.host&&(e=i.relative),Ze().addBreadcrumb({category:"navigation",data:{from:e,to:r}})}class Boe extends Il{constructor(e){const r=Ye.SENTRY_SDK_SOURCE||wse();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${r}:@sentry/browser`,version:og}],version:og},super(e),e.sendClientReports&&Ye.document&&Ye.document.addEventListener("visibilitychange",()=>{Ye.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,r){return Moe(this._options.stackParser,e,r,this._options.attachStacktrace)}eventFromMessage(e,r="info",n){return koe(this._options.stackParser,e,r,n,this._options.attachStacktrace)}sendEvent(e,r){const n=this.getIntegrationById(Wj);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(e),super.sendEvent(e,r)}_prepareEvent(e,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,r,n)}_flushOutcomes(){const e=this._clearOutcomes();if(e.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("Sending outcomes:",e);const r=Bj(this._dsn,this._options),n=Lse(e,this._options.tunnel&&Ox(this._dsn));try{Object.prototype.toString.call(Ye&&Ye.navigator)==="[object Navigator]"&&typeof Ye.navigator.sendBeacon=="function"&&!this._options.transportOptions?Ye.navigator.sendBeacon.bind(Ye.navigator)(r,Rj(n)):this._sendEnvelope(n)}catch(i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error(i)}}}let Xd;function Foe(){if(Xd)return Xd;if(L1(Ye.fetch))return Xd=Ye.fetch.bind(Ye);const t=Ye.document;let e=Ye.fetch;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);const n=r.contentWindow;n&&n.fetch&&(e=n.fetch),t.head.removeChild(r)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return Xd=e.bind(Ye)}function joe(){Xd=void 0}function zoe(t,e=Foe()){function r(n){const i={body:n.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n.body.length<=65536,...t.fetchOptions};try{return e(t.url,i).then(a=>({statusCode:a.status,headers:{"x-sentry-rate-limits":a.headers.get("X-Sentry-Rate-Limits"),"retry-after":a.headers.get("Retry-After")}}))}catch(a){return joe(),sg(a)}}return Vj(t,r)}const Hoe=4;function Voe(t){function e(r){return new Ur((n,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===Hoe&&n({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",t.url);for(const s in t.headers)Object.prototype.hasOwnProperty.call(t.headers,s)&&a.setRequestHeader(s,t.headers[s]);a.send(r.body)})}return Vj(t,e)}const z0="?",Uoe=30,Goe=40,Woe=50;function Ix(t,e,r,n){const i={filename:t,abs_path:t,function:e,in_app:!0};return r!==void 0&&(i.lineno=r),n!==void 0&&(i.colno=n),i}const Yoe=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?(?:async )?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Koe=/\((\S*)(?::(\d+))(?::(\d+))\)/,qoe=t=>{const e=Yoe.exec(t);if(e){if(e[2]&&e[2].indexOf("eval")===0){const a=Koe.exec(e[2]);a&&(e[2]=a[1],e[3]=a[2],e[4]=a[3])}const[n,i]=Yj(e[1]||z0,e[2]);return Ix(i,n,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}},Xoe=[Uoe,qoe],Zoe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Joe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Qoe=t=>{const e=Zoe.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const a=Joe.exec(e[3]);a&&(e[1]=e[1]||"eval",e[3]=a[1],e[4]=a[2],e[5]="")}let n=e[3],i=e[1]||z0;return[i,n]=Yj(i,n),Ix(n,i,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},eue=[Woe,Qoe],tue=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,rue=t=>{const e=tue.exec(t);return e?Ix(e[2],e[1]||z0,+e[3],e[4]?+e[4]:void 0):void 0},nue=[Goe,rue],iue=[Xoe,eue,nue],aue=Aj(...iue),Yj=(t,e)=>{const r=t.indexOf("safari-extension")!==-1,n=t.indexOf("safari-web-extension")!==-1;return r||n?[t.indexOf("@")!==-1?t.split("@")[0]:z0,r?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};class Ls{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Ls.id}__init2(){this._installFunc={onerror:sue,onunhandledrejection:oue}}constructor(e){Ls.prototype.__init.call(this),Ls.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const r in e){const n=this._installFunc[r];n&&e[r]&&(cue(r),n(),this._installFunc[r]=void 0)}}}Ls.__initStatic();function sue(){ti("error",t=>{const[e,r,n]=Xj();if(!e.getIntegration(Ls))return;const{msg:i,url:a,line:s,column:o,error:u}=t;if(Uj()||u&&u.__sentry_own_request__)return;const l=u===void 0&&pu(i)?lue(i,a,s,o):Kj(Rx(r,u||i,void 0,n,!1),a,s,o);l.level="error",qj(e,u,l,"onerror")})}function oue(){ti("unhandledrejection",t=>{const[e,r,n]=Xj();if(!e.getIntegration(Ls))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch{}if(Uj()||i&&i.__sentry_own_request__)return!0;const a=xj(i)?uue(i):Rx(r,i,void 0,n,!0);a.level="error",qj(e,i,a,"onunhandledrejection")})}function uue(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function lue(t,e,r,n){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=Sj(t)?t.message:t,s="Error";const o=a.match(i);return o&&(s=o[1],a=o[2]),Kj({exception:{values:[{type:s,value:a}]}},e,r,n)}function Kj(t,e,r,n){const i=t.exception=t.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},u=o.frames=o.frames||[],l=isNaN(parseInt(n,10))?void 0:n,c=isNaN(parseInt(r,10))?void 0:r,d=pu(e)&&e.length>0?e:Gae();return u.length===0&&u.push({colno:l,filename:d,function:"?",in_app:!0,lineno:c}),t}function cue(t){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log(`Global Handler attached: ${t}`)}function qj(t,e,r,n){Gf(r,{handled:!1,type:n}),t.captureEvent(r,{originalException:e})}function Xj(){const t=Ze(),e=t.getClient(),r=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,r.stackParser,r.attachStacktrace]}const due=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Kf{static __initStatic(){this.id="TryCatch"}__init(){this.name=Kf.id}constructor(e){Kf.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&kr(Ye,"setTimeout",Nk),this._options.setInterval&&kr(Ye,"setInterval",Nk),this._options.requestAnimationFrame&&kr(Ye,"requestAnimationFrame",fue),this._options.XMLHttpRequest&&"XMLHttpRequest"in Ye&&kr(XMLHttpRequest.prototype,"send",hue);const e=this._options.eventTarget;e&&(Array.isArray(e)?e:due).forEach(pue)}}Kf.__initStatic();function Nk(t){return function(...e){const r=e[0];return e[0]=hc(r,{mechanism:{data:{function:qs(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function fue(t){return function(e){return t.apply(this,[hc(e,{mechanism:{data:{function:"requestAnimationFrame",handler:qs(t)},handled:!0,type:"instrument"}})])}}function hue(t){return function(...e){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in r&&typeof r[i]=="function"&&kr(r,i,function(a){const s={mechanism:{data:{function:i,handler:qs(a)},handled:!0,type:"instrument"}},o=Tx(a);return o&&(s.mechanism.data.handler=qs(o)),hc(a,s)})}),t.apply(this,e)}}function pue(t){const e=Ye,r=e[t]&&e[t].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(kr(r,"addEventListener",function(n){return function(i,a,s){try{typeof a.handleEvent=="function"&&(a.handleEvent=hc(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:qs(a),target:t},handled:!0,type:"instrument"}}))}catch{}return n.apply(this,[i,hc(a,{mechanism:{data:{function:"addEventListener",handler:qs(a),target:t},handled:!0,type:"instrument"}}),s])}}),kr(r,"removeEventListener",function(n){return function(i,a,s){const o=a;try{const u=o&&o.__sentry_wrapped__;u&&n.call(this,i,u,s)}catch{}return n.call(this,i,o,s)}}))}const mue="cause",vue=5;class Vl{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Vl.id}constructor(e={}){Vl.prototype.__init.call(this),this._key=e.key||mue,this._limit=e.limit||vue}setupOnce(){const e=Ze().getClient();e&&F0((r,n)=>{const i=Ze().getIntegration(Vl);return i?gue(e.getOptions().stackParser,i._key,i._limit,r,n):r})}}Vl.__initStatic();function gue(t,e,r,n,i){if(!n.exception||!n.exception.values||!i||!io(i.originalException,Error))return n;const a=Zj(t,r,i.originalException,e);return n.exception.values=[...a,...n.exception.values],n}function Zj(t,e,r,n,i=[]){if(!io(r[n],Error)||i.length+1>=e)return i;const a=Gj(t,r[n]);return Zj(t,e,r[n],n,[a,...i])}class Ul{constructor(){Ul.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Ul.id}setupOnce(){F0(e=>{if(Ze().getIntegration(Ul)){if(!Ye.navigator&&!Ye.location&&!Ye.document)return e;const r=e.request&&e.request.url||Ye.location&&Ye.location.href,{referrer:n}=Ye.document||{},{userAgent:i}=Ye.navigator||{},a={...e.request&&e.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},s={...e.request,...r&&{url:r},headers:a};return{...e,request:s}}return e})}}Ul.__initStatic();class Gl{constructor(){Gl.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Gl.id}setupOnce(e,r){const n=i=>{if(i.type)return i;const a=r().getIntegration(Gl);if(a){try{if(bue(i,a._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return a._previousEvent=i}return a._previousEvent=i}return i};n.id=this.name,e(n)}}Gl.__initStatic();function bue(t,e){return e?!!(_ue(t,e)||yue(t,e)):!1}function _ue(t,e){const r=t.message,n=e.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!Qj(t,e)||!Jj(t,e))}function yue(t,e){const r=Lk(e),n=Lk(t);return!(!r||!n||r.type!==n.type||r.value!==n.value||!Qj(t,e)||!Jj(t,e))}function Jj(t,e){let r=Bk(t),n=Bk(e);if(!r&&!n)return!0;if(r&&!n||!r&&n||(r=r,n=n,n.length!==r.length))return!1;for(let i=0;i<n.length;i++){const a=n[i],s=r[i];if(a.filename!==s.filename||a.lineno!==s.lineno||a.colno!==s.colno||a.function!==s.function)return!1}return!0}function Qj(t,e){let r=t.fingerprint,n=e.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;r=r,n=n;try{return r.join("")===n.join("")}catch{return!1}}function Lk(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Bk(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch{return}}const wue=[new Hl,new Wf,new Kf,new Yf,new Ls,new Vl,new Gl,new Ul];function Oue(t={}){t.defaultIntegrations===void 0&&(t.defaultIntegrations=wue),t.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(t.release=__SENTRY_RELEASE__),Ye.SENTRY_RELEASE&&Ye.SENTRY_RELEASE.id&&(t.release=Ye.SENTRY_RELEASE.id)),t.autoSessionTracking===void 0&&(t.autoSessionTracking=!0),t.sendClientReports===void 0&&(t.sendClientReports=!0);const e={...t,stackParser:rse(t.stackParser||aue),integrations:soe(t),transport:t.transport||($j()?zoe:Voe)};poe(Boe,e),t.autoSessionTracking&&Sue()}function Fk(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function Sue(){if(typeof Ye.document>"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const t=Ze();t.captureSession&&(Fk(t),ti("history",({from:e,to:r})=>{e===void 0||e===r||Fk(Ze())}))}const nr=mn,e4="sentryReplaySession",t4="replay_event",Nx="Unable to send Replay",Lx=3e5,jk=Lx,r4=36e5,xue=5e3,Tue=5500,Eue=6e4,Pue=5e3,Cue=3;var vr;(function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"})(vr||(vr={}));function Aue(t){return t.nodeType===t.ELEMENT_NODE}function bf(t){const e=t==null?void 0:t.host;return!!(e&&e.shadowRoot&&e.shadowRoot===t)}function n4({maskInputOptions:t,tagName:e,type:r}){return t[e.toLowerCase()]||t[r]||e==="input"&&!r&&t.text}function $ue({tagName:t,type:e,maskInputOptions:r,maskInputSelector:n}){return n||n4({maskInputOptions:r,tagName:t,type:e})}function Bx({input:t,maskInputSelector:e,unmaskInputSelector:r,maskInputOptions:n,tagName:i,type:a,value:s,maskInputFn:o}){let u=s||"";return r&&t.matches(r)||(n4({maskInputOptions:n,tagName:i,type:a})||e&&t.matches(e))&&(o?u=o(u):u="*".repeat(u.length)),u}const zk="__rrweb_original__";function Mue(t){const e=t.getContext("2d");if(!e)return!0;const r=50;for(let n=0;n<t.width;n+=r)for(let i=0;i<t.height;i+=r){const a=e.getImageData,s=zk in a?a[zk]:a;if(new Uint32Array(s.call(e,n,i,Math.min(r,t.width-n),Math.min(r,t.height-i)).data.buffer).some(u=>u!==0))return!1}return!0}let kue=1;const Due=new RegExp("[^a-z0-9-_:]"),qf=-2;function i4(t){return t?t.replace(/[\S]/g,"*"):""}function Rue(){return kue++}function Iue(t){if(t instanceof HTMLFormElement)return"form";const e=t.tagName.toLowerCase().trim();return Due.test(e)?"div":e}function U1(t){try{const e=t.rules||t.cssRules;return e?Array.from(e).map(Nue).join(""):null}catch{return null}}function Nue(t){let e=t.cssText;if(Lue(t))try{e=U1(t.styleSheet)||e}catch{}return e}function Lue(t){return"styleSheet"in t}function Bue(t){return t.cssRules?Array.from(t.cssRules).map(e=>e.cssText||"").join(""):""}function Fue(t){let e="";return t.indexOf("//")>-1?e=t.split("/").slice(0,3).join("/"):e=t.split("/")[0],e=e.split("?")[0],e}let dl,Hk;const jue=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,zue=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,Hue=/^(data:)([^,]*),(.*)/i;function Vm(t,e){return(t||"").replace(jue,(r,n,i,a,s,o)=>{const u=i||s||o,l=n||a||"";if(!u)return r;if(!zue.test(u))return`url(${l}${u}${l})`;if(Hue.test(u))return`url(${l}${u}${l})`;if(u[0]==="/")return`url(${l}${Fue(e)+u}${l})`;const c=e.split("/"),d=u.split("/");c.pop();for(const h of d)h!=="."&&(h===".."?c.pop():c.push(h));return`url(${l}${c.join("/")}${l})`})}const Vue=/^[^ \t\n\r\u000c]+/,Uue=/^[, \t\n\r\u000c]+/;function Gue(t,e){if(e.trim()==="")return e;let r=0;function n(a){let s,o=a.exec(e.substring(r));return o?(s=o[0],r+=s.length,s):""}let i=[];for(;n(Uue),!(r>=e.length);){let a=n(Vue);if(a.slice(-1)===",")a=Nl(t,a.substring(0,a.length-1)),i.push(a);else{let s="";a=Nl(t,a);let o=!1;for(;;){let u=e.charAt(r);if(u===""){i.push((a+s).trim());break}else if(o)u===")"&&(o=!1);else if(u===","){r+=1,i.push((a+s).trim());break}else u==="("&&(o=!0);s+=u,r+=1}}}return i.join(", ")}function Nl(t,e){if(!e||e.trim()==="")return e;const r=t.createElement("a");return r.href=e,r.href}function Wue(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function G1(){const t=document.createElement("a");return t.href="",t.href}function a4(t,e,r,n,i,a){return n&&(r==="src"||r==="href"||r==="xlink:href"&&n[0]!=="#"||r==="background"&&(e==="table"||e==="td"||e==="th")?Nl(t,n):r==="srcset"?Gue(t,n):r==="style"?Vm(n,G1()):e==="object"&&r==="data"?Nl(t,n):i&&["placeholder","title","aria-label"].indexOf(r)>-1?a?a(n):i4(n):n)}function Yue(t,e,r,n){if(n&&t.matches(n))return!1;if(typeof e=="string"){if(t.classList.contains(e))return!0}else for(let i=0;i<t.classList.length;i++){const a=t.classList[i];if(e.test(a))return!0}return r?t.matches(r):!1}function lg(t,e,r,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return lg(t.parentNode,e,r,n,i);if(n&&(t.matches(n)||t.closest(n)))return!1;if(i)return!0;if(typeof e=="string"){if(t.classList.contains(e))return!0}else for(let a=0;a<t.classList.length;a++){const s=t.classList[a];if(e.test(s))return!0}return r&&t.matches(r)?!0:lg(t.parentNode,e,r,n,i)}function Kue(t,e,r){const n=t.contentWindow;if(!n)return;let i=!1,a;try{a=n.document.readyState}catch{return}if(a!=="complete"){const o=setTimeout(()=>{i||(e(),i=!0)},r);t.addEventListener("load",()=>{clearTimeout(o),i=!0,e()});return}const s="about:blank";if(n.location.href!==s||t.src===s||t.src===""){setTimeout(e,0);return}t.addEventListener("load",e)}function que(t,e){var r;const{doc:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,inlineStylesheet:c,maskInputSelector:d,unmaskInputSelector:h,maskAllText:p,maskInputOptions:g={},maskTextFn:_,maskInputFn:w,dataURLOptions:S={},inlineImages:E,recordCanvas:x,keepIframeSrcFn:f}=e;let m;if(n.__sn){const v=n.__sn.id;m=v===1?void 0:v}switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:vr.Document,childNodes:[],compatMode:t.compatMode,rootId:m}:{type:vr.Document,childNodes:[],rootId:m};case t.DOCUMENT_TYPE_NODE:return{type:vr.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:m};case t.ELEMENT_NODE:const v=Yue(t,i,a,s),T=Iue(t);let P={};for(const{name:O,value:A}of Array.from(t.attributes))Jue(T,O)||(P[O]=a4(n,T,O,A,p,_));if(T==="link"&&c){const O=Array.from(n.styleSheets).find(D=>D.href===t.href);let A=null;O&&(A=U1(O)),A&&(delete P.rel,delete P.href,P._cssText=Vm(A,O.href))}if(T==="style"&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){const O=U1(t.sheet);O&&(P._cssText=Vm(O,G1()))}if(T==="input"||T==="textarea"||T==="select"){const O=t.value;P.type!=="radio"&&P.type!=="checkbox"&&P.type!=="submit"&&P.type!=="button"&&O?P.value=Bx({input:t,type:P.type,tagName:T,value:O,maskInputSelector:d,unmaskInputSelector:h,maskInputOptions:g,maskInputFn:w}):t.checked&&(P.checked=t.checked)}if(T==="option"&&(t.selected&&!g.select?P.selected=!0:delete P.selected),T==="canvas"&&x){if(t.__context==="2d")Mue(t)||(P.rr_dataURL=t.toDataURL(S.type,S.quality));else if(!("__context"in t)){const O=t.toDataURL(S.type,S.quality),A=document.createElement("canvas");A.width=t.width,A.height=t.height;const D=A.toDataURL(S.type,S.quality);O!==D&&(P.rr_dataURL=O)}}if(T==="img"&&E){dl||(dl=n.createElement("canvas"),Hk=dl.getContext("2d"));const O=t,A=O.crossOrigin;O.crossOrigin="anonymous";const D=()=>{try{dl.width=O.naturalWidth,dl.height=O.naturalHeight,Hk.drawImage(O,0,0),P.rr_dataURL=dl.toDataURL(S.type,S.quality)}catch(M){console.warn(`Cannot inline img src=${O.currentSrc}! Error: ${M}`)}A?P.crossOrigin=A:delete P.crossOrigin};O.complete&&O.naturalWidth!==0?D():O.onload=D}if((T==="audio"||T==="video")&&(P.rr_mediaState=t.paused?"paused":"played",P.rr_mediaCurrentTime=t.currentTime),t.scrollLeft&&(P.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(P.rr_scrollTop=t.scrollTop),v){const{width:O,height:A}=t.getBoundingClientRect();P={class:P.class,rr_width:`${O}px`,rr_height:`${A}px`}}return T==="iframe"&&!f(P.src)&&(t.contentDocument||(P.rr_src=P.src),delete P.src),{type:vr.Element,tagName:T,attributes:P,childNodes:[],isSVG:Wue(t)||void 0,needBlock:v,rootId:m};case t.TEXT_NODE:const k=t.parentNode&&t.parentNode.tagName;let y=t.textContent;const $=k==="STYLE"?!0:void 0,C=k==="SCRIPT"?!0:void 0;if($&&y){try{t.nextSibling||t.previousSibling||!((r=t.parentNode.sheet)===null||r===void 0)&&r.cssRules&&(y=Bue(t.parentNode.sheet))}catch(O){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${O}`,t)}y=Vm(y,G1())}return C&&(y="SCRIPT_PLACEHOLDER"),k==="TEXTAREA"&&y?y="":!$&&!C&&lg(t,o,u,l,p)&&y&&(y=_?_(y):i4(y)),{type:vr.Text,textContent:y||"",isStyle:$,rootId:m};case t.CDATA_SECTION_NODE:return{type:vr.CDATA,textContent:"",rootId:m};case t.COMMENT_NODE:return{type:vr.Comment,textContent:t.textContent||"",rootId:m};default:return!1}}function pt(t){return t==null?"":t.toLowerCase()}function Xue(t,e){if(e.comment&&t.type===vr.Comment)return!0;if(t.type===vr.Element){if(e.script&&(t.tagName==="script"||t.tagName==="link"&&(t.attributes.rel==="preload"||t.attributes.rel==="modulepreload")&&t.attributes.as==="script"||t.tagName==="link"&&t.attributes.rel==="prefetch"&&typeof t.attributes.href=="string"&&t.attributes.href.endsWith(".js")))return!0;if(e.headFavicon&&(t.tagName==="link"&&t.attributes.rel==="shortcut icon"||t.tagName==="meta"&&(pt(t.attributes.name).match(/^msapplication-tile(image|color)$/)||pt(t.attributes.name)==="application-name"||pt(t.attributes.rel)==="icon"||pt(t.attributes.rel)==="apple-touch-icon"||pt(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(e.headMetaDescKeywords&&pt(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(pt(t.attributes.property).match(/^(og|twitter|fb):/)||pt(t.attributes.name).match(/^(og|twitter):/)||pt(t.attributes.name)==="pinterest"))return!0;if(e.headMetaRobots&&(pt(t.attributes.name)==="robots"||pt(t.attributes.name)==="googlebot"||pt(t.attributes.name)==="bingbot"))return!0;if(e.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(e.headMetaAuthorship&&(pt(t.attributes.name)==="author"||pt(t.attributes.name)==="generator"||pt(t.attributes.name)==="framework"||pt(t.attributes.name)==="publisher"||pt(t.attributes.name)==="progid"||pt(t.attributes.property).match(/^article:/)||pt(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&(pt(t.attributes.name)==="google-site-verification"||pt(t.attributes.name)==="yandex-verification"||pt(t.attributes.name)==="csrf-token"||pt(t.attributes.name)==="p:domain_verify"||pt(t.attributes.name)==="verify-v1"||pt(t.attributes.name)==="verification"||pt(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function _f(t,e){const{doc:r,map:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,skipChild:c=!1,inlineStylesheet:d=!0,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_={},maskTextFn:w,maskInputFn:S,slimDOMOptions:E,dataURLOptions:x={},inlineImages:f=!1,recordCanvas:m=!1,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:P=5e3,keepIframeSrcFn:k=()=>!1}=e;let{preserveWhiteSpace:y=!0}=e;const $=que(t,{doc:r,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_,maskTextFn:w,maskInputFn:S,dataURLOptions:x,inlineImages:f,recordCanvas:m,keepIframeSrcFn:k});if(!$)return console.warn(t,"not serialized"),null;let C;"__sn"in t?C=t.__sn.id:Xue($,E)||!y&&$.type===vr.Text&&!$.isStyle&&!$.textContent.replace(/^\s+|\s+$/gm,"").length?C=qf:C=Rue();const O=Object.assign($,{id:C});if(t.__sn=O,C===qf)return null;n[C]=t,v&&v(t);let A=!c;if(O.type===vr.Element&&(A=A&&!O.needBlock,delete O.needBlock,t.shadowRoot&&(O.isShadowHost=!0)),(O.type===vr.Document||O.type===vr.Element)&&A){E.headWhitespace&&$.type===vr.Element&&$.tagName==="head"&&(y=!1);const D={doc:r,map:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,skipChild:c,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_,maskTextFn:w,maskInputFn:S,slimDOMOptions:E,dataURLOptions:x,inlineImages:f,recordCanvas:m,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:P,keepIframeSrcFn:k};for(const M of Array.from(t.childNodes)){const N=_f(M,D);N&&O.childNodes.push(N)}if(Aue(t)&&t.shadowRoot)for(const M of Array.from(t.shadowRoot.childNodes)){const N=_f(M,D);N&&(N.isShadow=!0,O.childNodes.push(N))}}return t.parentNode&&bf(t.parentNode)&&(O.isShadow=!0),O.type===vr.Element&&O.tagName==="iframe"&&Kue(t,()=>{const D=t.contentDocument;if(D&&T){const M=_f(D,{doc:D,map:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_,maskTextFn:w,maskInputFn:S,slimDOMOptions:E,dataURLOptions:x,inlineImages:f,recordCanvas:m,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:P,keepIframeSrcFn:k});M&&T(t,M)}},P),O}function Zue(t,e){const{blockClass:r="rr-block",blockSelector:n=null,unblockSelector:i=null,maskTextClass:a="rr-mask",maskTextSelector:s=null,unmaskTextSelector:o=null,inlineStylesheet:u=!0,inlineImages:l=!1,recordCanvas:c=!1,maskInputSelector:d=null,unmaskInputSelector:h=null,maskAllText:p=!1,maskAllInputs:g=!1,maskTextFn:_,maskInputFn:w,slimDOM:S=!1,dataURLOptions:E,preserveWhiteSpace:x,onSerialize:f,onIframeLoad:m,iframeLoadTimeout:v,keepIframeSrcFn:T=()=>!1}=e||{},P={};return[_f(t,{doc:t,map:P,blockClass:r,blockSelector:n,unblockSelector:i,maskTextClass:a,maskTextSelector:s,unmaskTextSelector:o,skipChild:!1,inlineStylesheet:u,maskInputSelector:d,unmaskInputSelector:h,maskAllText:p,maskInputOptions:g===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:g===!1?{password:!0}:g,maskTextFn:_,maskInputFn:w,slimDOMOptions:S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:S==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:S===!1?{}:S,dataURLOptions:E,inlineImages:l,recordCanvas:c,preserveWhiteSpace:x,onSerialize:f,onIframeLoad:m,iframeLoadTimeout:v,keepIframeSrcFn:T}),P]}function Jue(t,e,r){return(t==="video"||t==="audio")&&e==="autoplay"}var mt;(function(t){t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin"})(mt||(mt={}));var Tr;(function(t){t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration"})(Tr||(Tr={}));var cg;(function(t){t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel"})(cg||(cg={}));var pc;(function(t){t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2"})(pc||(pc={}));var Vk;(function(t){t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange"})(Vk||(Vk={}));var Uk;(function(t){t.Start="start",t.Pause="pause",t.Resume="resume",t.Resize="resize",t.Finish="finish",t.FullsnapshotRebuilded="fullsnapshot-rebuilded",t.LoadStylesheetStart="load-stylesheet-start",t.LoadStylesheetEnd="load-stylesheet-end",t.SkipStart="skip-start",t.SkipEnd="skip-end",t.MouseInteraction="mouse-interaction",t.EventCast="event-cast",t.CustomEvent="custom-event",t.Flush="flush",t.StateChange="state-change",t.PlayBack="play-back"})(Uk||(Uk={}));function Ln(t,e,r=document){const n={capture:!0,passive:!0};return r.addEventListener(t,e,n),()=>r.removeEventListener(t,e,n)}function Que(){return{map:{},getId(t){return!t||!t.__sn?-1:t.__sn.id},getNode(t){return this.map[t]||null},removeNodeFromMap(t){const e=t.__sn&&t.__sn.id;delete this.map[e],t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))},has(t){return this.map.hasOwnProperty(t)},reset(){this.map={}}}}const Tl=`Please stop import mirror directly. Instead of that,\r
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
or you can use record.mirror to access the mirror instance during recording.`;let Gk={map:{},getId(){return console.error(Tl),-1},getNode(){return console.error(Tl),null},removeNodeFromMap(){console.error(Tl)},has(){return console.error(Tl),!1},reset(){console.error(Tl)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Gk=new Proxy(Gk,{get(t,e,r){return e==="map"&&console.error(Tl),Reflect.get(t,e,r)}}));function Xf(t,e,r={}){let n=null,i=0;return function(a){let s=Date.now();!i&&r.leading===!1&&(i=s);let o=e-(s-i),u=this,l=arguments;o<=0||o>e?(n&&(clearTimeout(n),n=null),i=s,t.apply(u,l)):!n&&r.trailing!==!1&&(n=setTimeout(()=>{i=r.leading===!1?0:Date.now(),n=null,t.apply(u,l)},o))}}function H0(t,e,r,n,i=window){const a=i.Object.getOwnPropertyDescriptor(t,e);return i.Object.defineProperty(t,e,n?r:{set(s){setTimeout(()=>{r.set.call(this,s)},0),a&&a.set&&a.set.call(this,s)}}),()=>H0(t,e,a||{},!0)}function mc(t,e,r){try{if(!(e in t))return()=>{};const n=t[e],i=r(n);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),t[e]=i,()=>{t[e]=n}}catch{return()=>{}}}function s4(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function o4(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Wr(t,e,r,n){if(!t)return!1;if(t.nodeType===t.ELEMENT_NODE){let i=!1;const a=n&&t.matches(n);return typeof e=="string"?t.closest!==void 0?i=!a&&t.closest("."+e)!==null:i=!a&&t.classList.contains(e):!a&&t.classList.forEach(s=>{e.test(s)&&(i=!0)}),!i&&r&&(i=t.matches(r)),!a&&i||Wr(t.parentNode,e,r,n)}return t.nodeType===t.TEXT_NODE,Wr(t.parentNode,e,r,n)}function Sy(t){return"__sn"in t?t.__sn.id===qf:!1}function u4(t,e){if(bf(t))return!1;const r=e.getId(t);return e.has(r)?t.parentNode&&t.parentNode.nodeType===t.DOCUMENT_NODE?!1:t.parentNode?u4(t.parentNode,e):!0:!0}function l4(t){return!!t.changedTouches}function ele(t=window){"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(r){if(!(0 in arguments))throw new TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}function c4(t){return"__sn"in t?t.__sn.type===vr.Element&&t.__sn.tagName==="iframe":!1}function d4(t){return!!(t!=null&&t.shadowRoot)}function Wk(t){return"__ln"in t}class tle{constructor(){this.length=0,this.head=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let r=this.head;for(let n=0;n<e;n++)r=(r==null?void 0:r.next)||null;return r}addNode(e){const r={value:e,previous:null,next:null};if(e.__ln=r,e.previousSibling&&Wk(e.previousSibling)){const n=e.previousSibling.__ln.next;r.next=n,r.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=r,n&&(n.previous=r)}else if(e.nextSibling&&Wk(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;r.previous=n,r.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=r,n&&(n.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;this.length++}removeNode(e){const r=e.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next&&(r.next.previous=r.previous)):(this.head=r.next,this.head&&(this.head.previous=null)),e.__ln&&delete e.__ln,this.length--)}}const Yk=(t,e)=>`${t}@${e}`;function Kk(t){return"__sn"in t}class rle{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],r=new tle,n=o=>{let u=o,l=qf;for(;l===qf;)u=u&&u.nextSibling,l=u&&this.mirror.getId(u);return l},i=o=>{var u,l,c,d,h;const p=o.getRootNode?(u=o.getRootNode())===null||u===void 0?void 0:u.host:null;let g=p;for(;!((c=(l=g==null?void 0:g.getRootNode)===null||l===void 0?void 0:l.call(g))===null||c===void 0)&&c.host;)g=((h=(d=g==null?void 0:g.getRootNode)===null||d===void 0?void 0:d.call(g))===null||h===void 0?void 0:h.host)||null;const _=!this.doc.contains(o)&&(!g||!this.doc.contains(g));if(!o.parentNode||_)return;const w=bf(o.parentNode)?this.mirror.getId(p):this.mirror.getId(o.parentNode),S=n(o);if(w===-1||S===-1)return r.addNode(o);let E=_f(o,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:x=>{c4(x)&&this.iframeManager.addIframe(x),d4(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,document)},onIframeLoad:(x,f)=>{this.iframeManager.attachIframe(x,f),this.shadowDomManager.observeAttachShadow(x)}});E&&e.push({parentId:w,nextId:S,node:E})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const o of this.movedSet)Y1(this.removes,o,this.mirror)&&!this.movedSet.has(o.parentNode)||i(o);for(const o of this.addedSet)!K1(this.droppedSet,o)&&!Y1(this.removes,o,this.mirror)||K1(this.movedSet,o)?i(o):this.droppedSet.add(o);let a=null;for(;r.length;){let o=null;if(a){const u=this.mirror.getId(a.value.parentNode),l=n(a.value);u!==-1&&l!==-1&&(o=a)}if(!o)for(let u=r.length-1;u>=0;u--){const l=r.get(u);if(l){const c=this.mirror.getId(l.value.parentNode),d=n(l.value);if(c!==-1&&d!==-1){o=l;break}}}if(!o){for(;r.head;)r.removeNode(r.head.value);break}a=o.previous,r.removeNode(o.value),i(o.value)}const s={texts:this.texts.map(o=>({id:this.mirror.getId(o.node),value:o.value})).filter(o=>this.mirror.has(o.id)),attributes:this.attributes.map(o=>({id:this.mirror.getId(o.node),attributes:o.attributes})).filter(o=>this.mirror.has(o.id)),removes:this.removes,adds:e};!s.texts.length&&!s.attributes.length&&!s.removes.length&&!s.adds.length||(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=e=>{if(!Sy(e.target))switch(e.type){case"characterData":{const r=e.target.textContent;!Wr(e.target,this.blockClass,this.blockSelector,this.unblockSelector)&&r!==e.oldValue&&this.texts.push({value:lg(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&r?this.maskTextFn?this.maskTextFn(r):r.replace(/[\S]/g,"*"):r,node:e.target});break}case"attributes":{const r=e.target;let n=e.target.getAttribute(e.attributeName);if(e.attributeName==="value"&&(n=Bx({input:r,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:e.target.tagName,type:e.target.getAttribute("type"),value:n,maskInputFn:this.maskInputFn})),Wr(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||n===e.oldValue)return;let i=this.attributes.find(a=>a.node===e.target);if(i||(i={node:e.target,attributes:{}},this.attributes.push(i)),e.attributeName==="style"){const a=this.doc.createElement("span");e.oldValue&&a.setAttribute("style",e.oldValue),(i.attributes.style===void 0||i.attributes.style===null)&&(i.attributes.style={});try{const s=i.attributes.style;for(const o of Array.from(r.style)){const u=r.style.getPropertyValue(o),l=r.style.getPropertyPriority(o);(u!==a.style.getPropertyValue(o)||l!==a.style.getPropertyPriority(o))&&(l===""?s[o]=u:s[o]=[u,l])}for(const o of Array.from(a.style))r.style.getPropertyValue(o)===""&&(s[o]=!1)}catch(s){console.warn("[rrweb] Error when parsing update to style attribute:",s)}}else i.attributes[e.attributeName]=a4(this.doc,e.target.tagName,e.attributeName,n,this.maskAllText,this.maskTextFn);break}case"childList":{e.addedNodes.forEach(r=>this.genAdds(r,e.target)),e.removedNodes.forEach(r=>{const n=this.mirror.getId(r),i=bf(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Wr(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||Sy(r)||(this.addedSet.has(r)?(W1(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(e.target)&&n===-1||u4(e.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[Yk(n,i)]?W1(this.movedSet,r):this.removes.push({parentId:i,id:n,isShadow:bf(e.target)?!0:void 0})),this.mapRemoves.push(r))});break}}},this.genAdds=(e,r)=>{if(!(r&&Wr(r,this.blockClass,this.blockSelector,this.unblockSelector))){if(Kk(e)){if(Sy(e))return;this.movedSet.add(e);let n=null;r&&Kk(r)&&(n=r.__sn.id),n&&(this.movedMap[Yk(e.__sn.id,n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Wr(e,this.blockClass,this.blockSelector,this.unblockSelector)||e.childNodes.forEach(n=>this.genAdds(n))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach(r=>{this[r]=e[r]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function W1(t,e){t.delete(e),e.childNodes.forEach(r=>W1(t,r))}function Y1(t,e,r){const{parentNode:n}=e;if(!n)return!1;const i=r.getId(n);return t.some(a=>a.id===i)?!0:Y1(t,n,r)}function K1(t,e){const{parentNode:r}=e;return r?t.has(r)?!0:K1(t,r):!1}const Ke=t=>(...r)=>{try{return t(...r)}catch(n){try{n.__rrweb__=!0}catch{}throw n}},Bo=[];function Eh(t){try{if("composedPath"in t){const e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0]}catch{}return t&&t.target}function f4(t,e){var r,n;const i=new rle;Bo.push(i),i.init(t);let a=window.MutationObserver||window.__rrMutationObserver;const s=(n=(r=window==null?void 0:window.Zone)===null||r===void 0?void 0:r.__symbol__)===null||n===void 0?void 0:n.call(r,"MutationObserver");s&&window[s]&&(a=window[s]);const o=new a(Ke(i.processMutations.bind(i)));return o.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function nle({mousemoveCb:t,sampling:e,doc:r,mirror:n}){if(e.mousemove===!1)return()=>{};const i=typeof e.mousemove=="number"?e.mousemove:50,a=typeof e.mousemoveCallback=="number"?e.mousemoveCallback:500;let s=[],o;const u=Xf(d=>{const h=Date.now()-o;Ke(t)(s.map(p=>(p.timeOffset-=h,p)),d),s=[],o=null},a),l=Xf(d=>{const h=Eh(d),{clientX:p,clientY:g}=l4(d)?d.changedTouches[0]:d;o||(o=Date.now()),s.push({x:p,y:g,id:n.getId(h),timeOffset:Date.now()-o}),u(typeof DragEvent<"u"&&d instanceof DragEvent?Tr.Drag:d instanceof MouseEvent?Tr.MouseMove:Tr.TouchMove)},i,{trailing:!1}),c=[Ln("mousemove",Ke(l),r),Ln("touchmove",Ke(l),r),Ln("drag",Ke(l),r)];return Ke(()=>{c.forEach(d=>d())})}function ile({mouseInteractionCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const o=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,u=[],l=c=>d=>{const h=Eh(d);if(Wr(h,n,i,a))return;const p=l4(d)?d.changedTouches[0]:d;if(!p)return;const g=r.getId(h),{clientX:_,clientY:w}=p;Ke(t)({type:cg[c],id:g,x:_,y:w})};return Object.keys(cg).filter(c=>Number.isNaN(Number(c))&&!c.endsWith("_Departed")&&o[c]!==!1).forEach(c=>{const d=c.toLowerCase(),h=Ke(l(c));u.push(Ln(d,h,e))}),Ke(()=>{u.forEach(c=>c())})}function h4({scrollCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:s}){const o=Xf(u=>{const l=Eh(u);if(!l||Wr(l,n,i,a))return;const c=r.getId(l);if(l===e){const d=e.scrollingElement||e.documentElement;Ke(t)({id:c,x:d.scrollLeft,y:d.scrollTop})}else Ke(t)({id:c,x:l.scrollLeft,y:l.scrollTop})},s.scroll||100);return Ln("scroll",Ke(o),e)}function ale({viewportResizeCb:t}){let e=-1,r=-1;const n=Xf(()=>{const i=s4(),a=o4();(e!==i||r!==a)&&(Ke(t)({width:Number(a),height:Number(i)}),e=i,r=a)},200);return Ln("resize",Ke(n),window)}function qk(t,e){const r=Object.assign({},t);return e||delete r.userTriggered,r}const sle=["INPUT","TEXTAREA","SELECT"],Xk=new WeakMap;function ole({inputCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,ignoreClass:s,ignoreSelector:o,maskInputSelector:u,unmaskInputSelector:l,maskInputOptions:c,maskInputFn:d,sampling:h,userTriggeredOnInput:p}){function g(f){let m=Eh(f);const v=f.isTrusted;if(m&&m.tagName==="OPTION"&&(m=m.parentElement),!m||!m.tagName||sle.indexOf(m.tagName)<0||Wr(m,n,i,a))return;const T=m.type;if(m.classList.contains(s)||o&&m.matches(o))return;let P=m.value,k=!1;T==="radio"||T==="checkbox"?k=m.checked:$ue({maskInputOptions:c,maskInputSelector:u,tagName:m.tagName,type:T})&&(P=Bx({input:m,maskInputOptions:c,maskInputSelector:u,unmaskInputSelector:l,tagName:m.tagName,type:T,value:P,maskInputFn:d})),_(m,Ke(qk)({text:P,isChecked:k,userTriggered:v},p));const y=m.name;T==="radio"&&y&&k&&e.querySelectorAll(`input[type="radio"][name="${y}"]`).forEach($=>{$!==m&&_($,Ke(qk)({text:$.value,isChecked:!k,userTriggered:!1},p))})}function _(f,m){const v=Xk.get(f);if(!v||v.text!==m.text||v.isChecked!==m.isChecked){Xk.set(f,m);const T=r.getId(f);t(Object.assign(Object.assign({},m),{id:T}))}}const S=(h.input==="last"?["change"]:["input","change"]).map(f=>Ln(f,Ke(g),e)),E=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),x=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return E&&E.set&&S.push(...x.map(f=>H0(f[0],f[1],{set(){Ke(g)({target:this})}}))),Ke(()=>{S.forEach(f=>f())})}function dg(t){const e=[];function r(n,i){if(Np("CSSGroupingRule")&&n.parentRule instanceof CSSGroupingRule||Np("CSSMediaRule")&&n.parentRule instanceof CSSMediaRule||Np("CSSSupportsRule")&&n.parentRule instanceof CSSSupportsRule||Np("CSSConditionRule")&&n.parentRule instanceof CSSConditionRule){const s=Array.from(n.parentRule.cssRules).indexOf(n);i.unshift(s)}else{const s=Array.from(n.parentStyleSheet.cssRules).indexOf(n);i.unshift(s)}return i}return r(t,e)}function ule({styleSheetRuleCb:t,mirror:e},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const n=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(n,{apply:Ke((o,u,l)=>{const[c,d]=l,h=e.getId(u.ownerNode);return h!==-1&&t({id:h,adds:[{rule:c,index:d}]}),o.apply(u,l)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Ke((o,u,l)=>{const[c]=l,d=e.getId(u.ownerNode);return d!==-1&&t({id:d,removes:[{index:c}]}),o.apply(u,l)})});const a={};Lp("CSSGroupingRule")?a.CSSGroupingRule=r.CSSGroupingRule:(Lp("CSSMediaRule")&&(a.CSSMediaRule=r.CSSMediaRule),Lp("CSSConditionRule")&&(a.CSSConditionRule=r.CSSConditionRule),Lp("CSSSupportsRule")&&(a.CSSSupportsRule=r.CSSSupportsRule));const s={};return Object.entries(a).forEach(([o,u])=>{s[o]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(s[o].insertRule,{apply:Ke((l,c,d)=>{const[h,p]=d,g=e.getId(c.parentStyleSheet.ownerNode);return g!==-1&&t({id:g,adds:[{rule:h,index:[...dg(c),p||0]}]}),l.apply(c,d)})}),u.prototype.deleteRule=new Proxy(s[o].deleteRule,{apply:Ke((l,c,d)=>{const[h]=d,p=e.getId(c.parentStyleSheet.ownerNode);return p!==-1&&t({id:p,removes:[{index:[...dg(c),h]}]}),l.apply(c,d)})})}),Ke(()=>{r.CSSStyleSheet.prototype.insertRule=n,r.CSSStyleSheet.prototype.deleteRule=i,Object.entries(a).forEach(([o,u])=>{u.prototype.insertRule=s[o].insertRule,u.prototype.deleteRule=s[o].deleteRule})})}function lle({styleDeclarationCb:t,mirror:e},{win:r}){const n=r.CSSStyleDeclaration.prototype.setProperty;r.CSSStyleDeclaration.prototype.setProperty=new Proxy(n,{apply:Ke((a,s,o)=>{var u,l;const[c,d,h]=o,p=e.getId((l=(u=s.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||l===void 0?void 0:l.ownerNode);return p!==-1&&t({id:p,set:{property:c,value:d,priority:h},index:dg(s.parentRule)}),a.apply(s,o)})});const i=r.CSSStyleDeclaration.prototype.removeProperty;return r.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:Ke((a,s,o)=>{var u,l;const[c]=o,d=e.getId((l=(u=s.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||l===void 0?void 0:l.ownerNode);return d!==-1&&t({id:d,remove:{property:c},index:dg(s.parentRule)}),a.apply(s,o)})}),Ke(()=>{r.CSSStyleDeclaration.prototype.setProperty=n,r.CSSStyleDeclaration.prototype.removeProperty=i})}function cle({mediaInteractionCb:t,blockClass:e,blockSelector:r,unblockSelector:n,mirror:i,sampling:a}){const s=u=>Xf(Ke(l=>{const c=Eh(l);if(!c||Wr(c,e,r,n))return;const{currentTime:d,volume:h,muted:p}=c;t({type:u,id:i.getId(c),currentTime:d,volume:h,muted:p})}),a.media||500),o=[Ln("play",s(0)),Ln("pause",s(1)),Ln("seeked",s(2)),Ln("volumechange",s(3))];return Ke(()=>{o.forEach(u=>u())})}function dle({fontCb:t,doc:e}){const r=e.defaultView;if(!r)return()=>{};const n=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(u,l,c){const d=new a(u,l,c);return i.set(d,{family:u,buffer:typeof l!="string",descriptors:c,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),d};const s=mc(e.fonts,"add",function(o){return function(u){return setTimeout(()=>{const l=i.get(u);l&&(t(l),i.delete(u))},0),o.apply(this,[u])}});return n.push(()=>{r.FontFace=a}),n.push(s),Ke(()=>{n.forEach(o=>o())})}function fle(t,e){const{mutationCb:r,mousemoveCb:n,mouseInteractionCb:i,scrollCb:a,viewportResizeCb:s,inputCb:o,mediaInteractionCb:u,styleSheetRuleCb:l,styleDeclarationCb:c,canvasMutationCb:d,fontCb:h}=t;t.mutationCb=(...p)=>{e.mutation&&e.mutation(...p),r(...p)},t.mousemoveCb=(...p)=>{e.mousemove&&e.mousemove(...p),n(...p)},t.mouseInteractionCb=(...p)=>{e.mouseInteraction&&e.mouseInteraction(...p),i(...p)},t.scrollCb=(...p)=>{e.scroll&&e.scroll(...p),a(...p)},t.viewportResizeCb=(...p)=>{e.viewportResize&&e.viewportResize(...p),s(...p)},t.inputCb=(...p)=>{e.input&&e.input(...p),o(...p)},t.mediaInteractionCb=(...p)=>{e.mediaInteaction&&e.mediaInteaction(...p),u(...p)},t.styleSheetRuleCb=(...p)=>{e.styleSheetRule&&e.styleSheetRule(...p),l(...p)},t.styleDeclarationCb=(...p)=>{e.styleDeclaration&&e.styleDeclaration(...p),c(...p)},t.canvasMutationCb=(...p)=>{e.canvasMutation&&e.canvasMutation(...p),d(...p)},t.fontCb=(...p)=>{e.font&&e.font(...p),h(...p)}}function hle(t,e={}){const r=t.doc.defaultView;if(!r)return()=>{};fle(t,e);const n=f4(t,t.doc),i=nle(t),a=ile(t),s=h4(t),o=ale(t),u=ole(t),l=cle(t),c=ule(t,{win:r}),d=lle(t,{win:r}),h=t.collectFonts?dle(t):()=>{},p=[];for(const g of t.plugins)p.push(g.observer(g.callback,r,g.options));return Ke(()=>{Bo.forEach(g=>g.reset()),n.disconnect(),i(),a(),s(),o(),u(),l();try{c(),d()}catch{}h(),p.forEach(g=>g())})}function Np(t){return typeof window[t]<"u"}function Lp(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}class ple{constructor(e){this.iframes=new WeakMap,this.mutationCb=e.mutationCb}addIframe(e){this.iframes.set(e,!0)}addLoadListener(e){this.loadListener=e}attachIframe(e,r){var n;this.mutationCb({adds:[{parentId:e.__sn.id,nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),(n=this.loadListener)===null||n===void 0||n.call(this,e)}}class mle{constructor(e){this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;const r=this;this.restorePatches.push(mc(HTMLElement.prototype,"attachShadow",function(n){return function(){const i=n.apply(this,arguments);return this.shadowRoot&&r.addShadowRoot(this.shadowRoot,this.ownerDocument),i}}))}addShadowRoot(e,r){f4(Object.assign(Object.assign({},this.bypassOptions),{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),h4(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))}observeAttachShadow(e){if(e.contentWindow){const r=this;this.restorePatches.push(mc(e.contentWindow.HTMLElement.prototype,"attachShadow",function(n){return function(){const i=n.apply(this,arguments);return this.shadowRoot&&r.addShadowRoot(this.shadowRoot,e.contentDocument),i}}))}}reset(){this.restorePatches.forEach(e=>e())}}function vle(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function gle(t,e,r,n,i,a){const s=[],o=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype);for(const u of o)try{if(typeof e.CanvasRenderingContext2D.prototype[u]!="function")continue;const l=mc(e.CanvasRenderingContext2D.prototype,u,function(c){return function(...d){return Wr(this.canvas,r,i,n)||setTimeout(()=>{const h=[...d];if(u==="drawImage"&&h[0]&&h[0]instanceof HTMLCanvasElement){const p=h[0],g=p.getContext("2d");let _=g==null?void 0:g.getImageData(0,0,p.width,p.height),w=_==null?void 0:_.data;h[0]=JSON.stringify(w)}t(this.canvas,{type:pc["2D"],property:u,args:h})},0),c.apply(this,d)}});s.push(l)}catch{const c=H0(e.CanvasRenderingContext2D.prototype,u,{set(d){t(this.canvas,{type:pc["2D"],property:u,args:[d],setter:!0})}});s.push(c)}return()=>{s.forEach(u=>u())}}function ble(t,e,r,n){const i=[];try{const a=mc(t.HTMLCanvasElement.prototype,"getContext",function(s){return function(o,...u){return Wr(this,e,r,n)||"__context"in this||(this.__context=o),s.apply(this,[o,...u])}});i.push(a)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(a=>a())}}var Ll="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_le=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Bp=0;Bp<Ll.length;Bp++)_le[Ll.charCodeAt(Bp)]=Bp;var yle=function(t){var e=new Uint8Array(t),r,n=e.length,i="";for(r=0;r<n;r+=3)i+=Ll[e[r]>>2],i+=Ll[(e[r]&3)<<4|e[r+1]>>4],i+=Ll[(e[r+1]&15)<<2|e[r+2]>>6],i+=Ll[e[r+2]&63];return n%3===2?i=i.substring(0,i.length-1)+"=":n%3===1&&(i=i.substring(0,i.length-2)+"=="),i};const Zk=new Map;function wle(t,e){let r=Zk.get(t);return r||(r=new Map,Zk.set(t,r)),r.has(e)||r.set(e,[]),r.get(e)}const p4=(t,e,r)=>{if(!t||!(m4(t,e)||typeof t=="object"))return;const n=t.constructor.name,i=wle(r,n);let a=i.indexOf(t);return a===-1&&(a=i.length,i.push(t)),a};function Um(t,e,r){if(t instanceof Array)return t.map(n=>Um(n,e,r));if(t===null)return t;if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};if(t instanceof ArrayBuffer){const n=t.constructor.name,i=yle(t);return{rr_type:n,base64:i}}else{if(t instanceof DataView)return{rr_type:t.constructor.name,args:[Um(t.buffer,e,r),t.byteOffset,t.byteLength]};if(t instanceof HTMLImageElement){const n=t.constructor.name,{src:i}=t;return{rr_type:n,src:i}}else{if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[Um(t.data,e,r),t.width,t.height]};if(m4(t,e)||typeof t=="object"){const n=t.constructor.name,i=p4(t,e,r);return{rr_type:n,index:i}}}}return t}const Ole=(t,e,r)=>[...t].map(n=>Um(n,e,r)),m4=(t,e)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(i=>typeof e[i]=="function").find(i=>t instanceof e[i]);function Jk(t,e,r,n,i,a,s,o){const u=[],l=Object.getOwnPropertyNames(t);for(const c of l)try{if(typeof t[c]!="function")continue;const d=mc(t,c,function(h){return function(...p){const g=h.apply(this,p);if(p4(g,o,t),!Wr(this.canvas,n,a,i)){const _=s.getId(this.canvas),w=Ole([...p],o,t),S={type:e,property:c,args:w};r(this.canvas,S)}return g}});u.push(d)}catch{const h=H0(t,c,{set(p){r(this.canvas,{type:e,property:c,args:[p],setter:!0})}});u.push(h)}return u}function Sle(t,e,r,n,i,a){const s=[];return s.push(...Jk(e.WebGLRenderingContext.prototype,pc.WebGL,t,r,n,i,a,e)),typeof e.WebGL2RenderingContext<"u"&&s.push(...Jk(e.WebGL2RenderingContext.prototype,pc.WebGL2,t,r,n,i,a,e)),()=>{s.forEach(o=>o())}}class xle{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(r,n){(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(r)||this.pendingCanvasMutations.set(r,[]),this.pendingCanvasMutations.get(r).push(n)},this.mutationCb=e.mutationCb,this.mirror=e.mirror,e.recordCanvas===!0&&this.initCanvasMutationObserver(e.win,e.blockClass,e.blockSelector,e.unblockSelector)}initCanvasMutationObserver(e,r,n,i){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=ble(e,r,i,n),s=gle(this.processMutation.bind(this),e,r,i,n,this.mirror),o=Sle(this.processMutation.bind(this),e,r,i,n,this.mirror);this.resetObservers=()=>{a(),s(),o()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const e=r=>{this.rafStamps.latestId=r,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,r)=>{const n=this.mirror.getId(r);this.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,r){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||r===-1)return;const i=n.map(s=>vle(s,["type"])),{type:a}=n[0];this.mutationCb({id:r,type:a,commands:i}),this.pendingCanvasMutations.delete(e)}}function xr(t){return Object.assign(Object.assign({},t),{timestamp:Date.now()})}let ar,yf;const Zd=Que();function Xs(t={}){const{emit:e,checkoutEveryNms:r,checkoutEveryNth:n,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:o="rr-ignore",ignoreSelector:u=null,maskTextClass:l="rr-mask",maskTextSelector:c=null,maskInputSelector:d=null,unmaskTextSelector:h=null,unmaskInputSelector:p=null,inlineStylesheet:g=!0,maskAllText:_=!1,maskAllInputs:w,maskInputOptions:S,slimDOMOptions:E,maskInputFn:x,maskTextFn:f,hooks:m,packFn:v,sampling:T={},mousemoveWait:P,recordCanvas:k=!1,userTriggeredOnInput:y=!1,collectFonts:$=!1,inlineImages:C=!1,plugins:O,keepIframeSrcFn:A=()=>!1}=t;if(!e)throw new Error("emit function is required");P!==void 0&&T.mousemove===void 0&&(T.mousemove=P);const D=w===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:S!==void 0?S:{password:!0},M=E===!0||E==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:E==="all",headMetaDescKeywords:E==="all"}:E||{};ele();let N,F=0;const j=U=>{for(const K of O||[])K.eventProcessor&&(U=K.eventProcessor(U));return v&&(U=v(U)),U};ar=(U,K)=>{var ue;if(!((ue=Bo[0])===null||ue===void 0)&&ue.isFrozen()&&U.type!==mt.FullSnapshot&&!(U.type===mt.IncrementalSnapshot&&U.data.source===Tr.Mutation)&&Bo.forEach(_e=>_e.unfreeze()),e(j(U),K),U.type===mt.FullSnapshot)N=U,F=0;else if(U.type===mt.IncrementalSnapshot){if(U.data.source===Tr.Mutation&&U.data.isAttachIframe)return;F++;const _e=n&&F>=n,$e=r&&U.timestamp-N.timestamp>r;(_e||$e)&&yf(!0)}};const H=U=>{ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.Mutation},U)}))},W=U=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.Scroll},U)})),Z=U=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.CanvasMutation},U)})),te=new ple({mutationCb:H}),Y=new xle({recordCanvas:k,mutationCb:Z,win:window,blockClass:i,blockSelector:a,unblockSelector:s,mirror:Zd}),G=new mle({mutationCb:H,scrollCb:W,bypassOptions:{blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,inlineStylesheet:g,maskAllText:_,maskInputOptions:D,maskTextFn:f,maskInputFn:x,recordCanvas:k,inlineImages:C,sampling:T,slimDOMOptions:M,iframeManager:te,canvasManager:Y},mirror:Zd});yf=(U=!1)=>{var K,ue,_e,$e;ar(xr({type:mt.Meta,data:{href:window.location.href,width:o4(),height:s4()}}),U),Bo.forEach(Gt=>Gt.lock());const[xe,_t]=Zue(document,{blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,inlineStylesheet:g,maskAllText:_,maskAllInputs:D,maskTextFn:f,slimDOM:M,recordCanvas:k,inlineImages:C,onSerialize:Gt=>{c4(Gt)&&te.addIframe(Gt),d4(Gt)&&G.addShadowRoot(Gt.shadowRoot,document)},onIframeLoad:(Gt,Qa)=>{te.attachIframe(Gt,Qa),G.observeAttachShadow(Gt)},keepIframeSrcFn:A});if(!xe)return console.warn("Failed to snapshot the document");Zd.map=_t,ar(xr({type:mt.FullSnapshot,data:{node:xe,initialOffset:{left:window.pageXOffset!==void 0?window.pageXOffset:(document==null?void 0:document.documentElement.scrollLeft)||((ue=(K=document==null?void 0:document.body)===null||K===void 0?void 0:K.parentElement)===null||ue===void 0?void 0:ue.scrollLeft)||(document==null?void 0:document.body.scrollLeft)||0,top:window.pageYOffset!==void 0?window.pageYOffset:(document==null?void 0:document.documentElement.scrollTop)||(($e=(_e=document==null?void 0:document.body)===null||_e===void 0?void 0:_e.parentElement)===null||$e===void 0?void 0:$e.scrollTop)||(document==null?void 0:document.body.scrollTop)||0}}})),Bo.forEach(Gt=>Gt.unlock())};try{const U=[];U.push(Ln("DOMContentLoaded",()=>{ar(xr({type:mt.DomContentLoaded,data:{}}))}));const K=_e=>{var $e;return Ke(hle)({mutationCb:H,mousemoveCb:(xe,_t)=>ar(xr({type:mt.IncrementalSnapshot,data:{source:_t,positions:xe}})),mouseInteractionCb:xe=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.MouseInteraction},xe)})),scrollCb:W,viewportResizeCb:xe=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.ViewportResize},xe)})),inputCb:xe=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.Input},xe)})),mediaInteractionCb:xe=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.MediaInteraction},xe)})),styleSheetRuleCb:xe=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.StyleSheetRule},xe)})),styleDeclarationCb:xe=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.StyleDeclaration},xe)})),canvasMutationCb:Z,fontCb:xe=>ar(xr({type:mt.IncrementalSnapshot,data:Object.assign({source:Tr.Font},xe)})),blockClass:i,ignoreClass:o,ignoreSelector:u,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:D,inlineStylesheet:g,sampling:T,recordCanvas:k,inlineImages:C,userTriggeredOnInput:y,collectFonts:$,doc:_e,maskAllText:_,maskInputFn:x,maskTextFn:f,blockSelector:a,unblockSelector:s,slimDOMOptions:M,mirror:Zd,iframeManager:te,shadowDomManager:G,canvasManager:Y,plugins:(($e=O==null?void 0:O.filter(xe=>xe.observer))===null||$e===void 0?void 0:$e.map(xe=>({observer:xe.observer,options:xe.options,callback:_t=>ar(xr({type:mt.Plugin,data:{plugin:xe.name,payload:_t}}))})))||[]},m)};te.addLoadListener(_e=>{try{U.push(K(_e.contentDocument))}catch($e){console.warn($e)}});const ue=()=>{yf(),U.push(K(document))};return document.readyState==="interactive"||document.readyState==="complete"?ue():U.push(Ln("load",()=>{ar(xr({type:mt.Load,data:{}})),ue()},window)),()=>{U.forEach(_e=>_e())}}catch(U){console.warn(U)}}Xs.addCustomEvent=(t,e)=>{if(!ar)throw new Error("please add custom event after start recording");ar(xr({type:mt.Custom,data:{tag:t,payload:e}}))};Xs.freezePage=()=>{Bo.forEach(t=>t.freeze())};Xs.takeFullSnapshot=t=>{if(!yf)throw new Error("please take full snapshot after start recording");yf(t)};Xs.mirror=Zd;const Tle=["name","type","startTime","transferSize","duration"];function Qk(t){return function(e){return Tle.every(r=>t[r]===e[r])}}function Ele(t,e){const[r,n,i]=t.reduce((u,l)=>(l.entryType==="navigation"?u[0].push(l):l.entryType==="largest-contentful-paint"?u[1].push(l):u[2].push(l),u),[[],[],[]]),a=[],s=[];let o=n.length?n[n.length-1]:void 0;return e.forEach(u=>{if(u.entryType==="largest-contentful-paint"){(!o||o.startTime<u.startTime)&&(o=u);return}if(u.entryType==="navigation"){const l=u;u.duration>0&&!r.find(Qk(l))&&!s.find(Qk(l))&&s.push(l);return}a.push(u)}),[...o?[o]:[],...r,...i,...a,...s].sort((u,l)=>u.startTime-l.startTime)}function Ple(t){const e=n=>{const i=Ele(t.performanceEvents,n.getEntries());t.performanceEvents=i},r=new PerformanceObserver(e);return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach(n=>{try{r.observe({type:n,buffered:!0})}catch{}}),r}const Cle=`/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
function t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;function Ale(){const t=new Blob([Cle]);return URL.createObjectURL(t)}class v4{constructor(){this.events=[]}get hasEvents(){return this.events.length>0}destroy(){this.events=[]}async addEvent(e,r){if(r){this.events=[e];return}this.events.push(e)}finish(){return new Promise(e=>{const r=this.events;this.events=[],e(JSON.stringify(r))})}}class $le{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((e,r)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():r()},{once:!0}),this._worker.addEventListener("error",n=>{r(n)},{once:!0})}),this._ensureReadyPromise)}destroy(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,r){const n=this._getAndIncrementId();return new Promise((i,a)=>{const s=({data:o})=>{const u=o;if(u.method===e&&u.id===n){if(this._worker.removeEventListener("message",s),!u.success){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("[Replay]",u.response),a(new Error("Error in compression worker"));return}i(u.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:n,method:e,arg:r})})}_getAndIncrementId(){return this._id++}}class Mle{constructor(e){this._worker=new $le(e),this.hasEvents=!1}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}async addEvent(e,r){return this.hasEvents=!0,r&&await this._clear(),this._sendEventToWorker(e)}finish(){return this._finishRequest()}_sendEventToWorker(e){return this._worker.postMessage("addEvent",JSON.stringify(e))}async _finishRequest(){const e=await this._worker.postMessage("finish");return this.hasEvents=!1,e}_clear(){return this._worker.postMessage("clear")}}class kle{constructor(e){this._fallback=new v4,this._compression=new Mle(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}addEvent(e,r){return this._used.addEvent(e,r)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e}=this._fallback,r=[];for(const n of e)r.push(this._compression.addEvent(n));this._used=this._compression;try{await Promise.all(r)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn("[Replay] Failed to add events when switching buffers.",n)}}}function Dle({useCompression:t}){if(t&&window.Worker)try{const e=Ale();(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Using compression worker");const r=new Worker(e);return new kle(r)}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Failed to create compression worker")}return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Using simple buffer"),new v4}function q1(t,e,r=+new Date){return t===null||e===void 0||e<0?!0:e===0?!1:t+e<=r}function g4(t,e,r=+new Date){return q1(t.started,r4,r)||q1(t.lastActivity,e,r)}function b4(t){if("sessionStorage"in nr)try{nr.sessionStorage.setItem(e4,JSON.stringify(t))}catch{}}function eD(t){return t===void 0?!1:Math.random()<t}function Fx(t){const e=new Date().getTime(),r=t.id||Ko(),n=t.started||e,i=t.lastActivity||e,a=t.segmentId||0,s=t.sampled;return{id:r,started:n,lastActivity:i,segmentId:a,sampled:s}}function Rle(t,e){return eD(t)?"session":eD(e)?"error":!1}function Ile({sessionSampleRate:t,errorSampleRate:e,stickySession:r=!1}){const n=Rle(t,e),i=Fx({sampled:n});return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log(`[Replay] Creating new session: ${i.id}`),r&&b4(i),i}function Nle(){if(!("sessionStorage"in nr))return null;try{const e=nr.sessionStorage.getItem(e4);if(!e)return null;const r=JSON.parse(e);return Fx(r)}catch{return null}}function Lle({expiry:t,currentSession:e,stickySession:r,sessionSampleRate:n,errorSampleRate:i}){const a=e||r&&Nle();if(a)if(g4(a,t)){if(a.sampled==="error")return{type:"new",session:Fx({sampled:!1})};(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Session has expired")}else return{type:"saved",session:a};return{type:"new",session:Ile({stickySession:r,sessionSampleRate:n,errorSampleRate:i})}}async function fg(t,e,r){if(!t.eventBuffer||t.isPaused())return null;const i=e.timestamp>9999999999?e.timestamp:e.timestamp*1e3;if(i+Lx<new Date().getTime())return null;const a=t.getContext().earliestEvent;t.session&&t.session.segmentId===0&&(!a||i<a)&&(t.getContext().earliestEvent=i);try{return await t.eventBuffer.addEvent(e,r)}catch(s){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error(s),t.stop("addEvent");const o=Ze().getClient();o&&o.recordDroppedEvent("internal_sdk_error","replay")}}function hg(t){return{timestamp:new Date().getTime()/1e3,type:"default",...t}}function _4(t,e){e.category!=="sentry.transaction"&&(e.category==="ui.click"?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate(()=>(fg(t,{type:mt.Custom,timestamp:(e.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:e}}),e.category==="console")))}const Ble=t=>e=>{if(!t.isEnabled())return;const r=Fle(e);r&&_4(t,r)};function Fle(t){let e,r;try{r=jle(t),e=ig(r)}catch{e="<unknown>"}return e.length===0?null:hg({category:`ui.${t.name}`,message:e,data:{...r?{nodeId:Xs.mirror.getId(r)}:{}}})}function jle(t){return zle(t.event)?t.event.target:t.event}function zle(t){return!!t.target}function Ph(t,e){return e.map(({type:r,start:n,end:i,name:a,data:s})=>fg(t,{type:mt.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:r,description:a,startTimestamp:n,endTimestamp:i,data:s}}}))}function y4(t,e){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&t.getOptions()._experiments.traceInternals?!1:Hle(e)}function Hle(t){const e=Ze().getClient(),r=e&&e.getDsn();return r?t.includes(r.host):!1}function Vle(t){if(!t.endTimestamp)return null;const{startTimestamp:e,endTimestamp:r,fetchData:n,response:i}=t;return{type:"resource.fetch",start:e/1e3,end:r/1e3,name:n.url,data:{method:n.method,statusCode:i.status}}}function Ule(t){return e=>{if(!t.isEnabled())return;const r=Vle(e);r!==null&&(y4(t,r.name)||t.addUpdate(()=>(Ph(t,[r]),!0)))}}function Gle(t,e){return t.type||!t.exception||!t.exception.values||!t.exception.values.length?!1:e.originalException&&e.originalException.__rrweb__?!0:t.exception.values.some(r=>!r.stacktrace||!r.stacktrace.frames||!r.stacktrace.frames.length?!1:r.stacktrace.frames.some(n=>n.filename&&n.filename.includes("/rrweb/src/")))}function Wle(t){return(e,r)=>{if(e.type===t4)return delete e.breadcrumbs,e;if(Gle(e,r)&&!t.getOptions()._experiments.captureExceptions)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Ignoring error from rrweb internals",e),null;if((!e.type||t.recordingMode==="session")&&(e.tags={...e.tags,replayId:t.getSessionId()}),e.type==="transaction"&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id)return t.getContext().traceIds.add(e.contexts.trace.trace_id),e;if(e.type||t.getContext().errorIds.add(e.event_id),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&t.getOptions()._experiments.traceInternals){const n=Kle(e);Yle({message:`Tagging event (${e.event_id}) - ${e.message} - ${n.type}: ${n.value}`})}return t.recordingMode==="error"&&e.exception&&e.message!==Nx&&setTimeout(async()=>{await t.flushImmediate(),t.stopRecording()&&(t.recordingMode="session",t.startRecording())}),e}}function Yle(t){const{category:e,level:r,message:n,...i}=t;qse({category:e||"console",level:r||"debug",message:`[debug]: ${n}`,...i})}function Kle(t){return{type:"Unknown",value:"n/a",...t.exception&&t.exception.values&&t.exception.values[0]}}function qle(t){const{from:e,to:r}=t,n=new Date().getTime()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:e}}}function Xle(t){return e=>{if(!t.isEnabled())return;const r=qle(e);r!==null&&(t.getContext().urls.push(r.name),t.triggerUserActivity(),t.addUpdate(()=>(Ph(t,[r]),!1)))}}let tD=null;const Zle=t=>e=>{if(!t.isEnabled())return;const r=Jle(e);r&&_4(t,r)};function Jle(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();return tD===e||!e||(tD=e,e.category&&(["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")))?null:hg(e)}function Qle(t){if(t.xhr.__sentry_own_request__||(t.startTimestamp&&(t.xhr.__sentry_xhr__=t.xhr.__sentry_xhr__||{},t.xhr.__sentry_xhr__.startTimestamp=t.startTimestamp),!t.endTimestamp))return null;const{method:e,url:r,status_code:n}=t.xhr.__sentry_xhr__||{};if(r===void 0)return null;const i=t.xhr.__sentry_xhr__?t.xhr.__sentry_xhr__.startTimestamp||0:t.endTimestamp;return{type:"resource.xhr",name:r,start:i/1e3,end:t.endTimestamp/1e3,data:{method:e,statusCode:n}}}function ece(t){return e=>{if(!t.isEnabled())return;const r=Qle(e);r!==null&&(y4(t,r.name)||t.addUpdate(()=>(Ph(t,[r]),!0)))}}function tce(t){const e=Ze().getScope();e&&e.addScopeListener(Zle(t)),ti("dom",Ble(t)),ti("fetch",Ule(t)),ti("xhr",ece(t)),ti("history",Xle(t)),F0(Wle(t))}async function rce(t){try{return Promise.all(Ph(t,[nce(nr.performance.memory)]))}catch{return[]}}function nce(t){const{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}=t,i=new Date().getTime()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}}}}const rD={resource:uce,paint:sce,navigation:oce,["largest-contentful-paint"]:lce};function ice(t){return t.map(ace).filter(Boolean)}function ace(t){return rD[t.entryType]===void 0?null:rD[t.entryType](t)}function vc(t){return((kse||nr.performance.timeOrigin)+t)/1e3}function sce(t){const{duration:e,entryType:r,name:n,startTime:i}=t,a=vc(i);return{type:r,name:n,start:a,end:a+e}}function oce(t){const{entryType:e,name:r,duration:n,domComplete:i,startTime:a,transferSize:s,type:o}=t;return n===0?null:{type:`${e}.${o}`,start:vc(a),end:vc(i),name:r,data:{size:s,duration:n}}}function uce(t){const{entryType:e,initiatorType:r,name:n,responseEnd:i,startTime:a,encodedBodySize:s,transferSize:o}=t;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${e}.${r}`,start:vc(a),end:vc(i),name:n,data:{size:o,encodedBodySize:s}}}function lce(t){const{entryType:e,startTime:r,size:n}=t;let i=0;if(nr.performance){const o=nr.performance.getEntriesByType("navigation")[0];i=o&&o.activationStart||0}const a=Math.max(r-i,0),s=vc(i)+a/1e3;return{type:e,name:e,start:s,end:s,data:{value:a,size:n,nodeId:Xs.mirror.getId(t.element)}}}function cce(t,e,r){let n,i,a;const s=r&&r.maxWait?Math.max(r.maxWait,e):0;function o(){return u(),n=t(),n}function u(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function l(){return i!==void 0||a!==void 0?o():n}function c(){return i&&clearTimeout(i),i=setTimeout(o,e),s&&a===void 0&&(a=setTimeout(o,s)),n}return c.cancel=u,c.flush=l,c}let X1;function dce(t){const e=Ze().getClient();if(!e)return;const r=e.recordDroppedEvent.bind(e),n=(i,a,s)=>(s&&!s.type&&s.event_id&&t.delete(s.event_id),r(i,a,s));e.recordDroppedEvent=n,X1=r}function fce(){const t=Ze().getClient();!t||!X1||(t.recordDroppedEvent=X1)}function hce(t,e,r,n){return xh(Ij(t,Ax(t),n,r),[[{type:"replay_event"},t],[{type:"replay_recording",length:typeof e=="string"?new TextEncoder().encode(e).length:e.length},e]])}function pce({recordingData:t,headers:e}){let r;const n=`${JSON.stringify(e)}
`;if(typeof t=="string")r=`${n}${t}`;else{const a=new TextEncoder().encode(n);r=new Uint8Array(a.length+t.length),r.set(a),r.set(t,a.length)}return r}async function mce({client:t,scope:e,replayId:r,event:n}){const i=typeof t._integrations=="object"&&t._integrations!==null&&!Array.isArray(t._integrations)?Object.keys(t._integrations):void 0,a=await jj(t.getOptions(),n,{event_id:r,integrations:i},e);if(!a)return null;a.platform=a.platform||"javascript";const s=t.getSdkMetadata&&t.getSdkMetadata(),{name:o,version:u}=s&&s.sdk||{};return a.sdk={...a.sdk,name:o||"sentry.javascript.unknown",version:u||"0.0.0"},a}async function vce({recordingData:t,replayId:e,segmentId:r,includeReplayStartTimestamp:n,eventContext:i,timestamp:a,session:s,options:o}){const u=pce({recordingData:t,headers:{segment_id:r}}),{urls:l,errorIds:c,traceIds:d,initialTimestamp:h}=i,p=Ze(),g=p.getClient(),_=p.getScope(),w=g&&g.getTransport(),S=g&&g.getDsn();if(!g||!_||!w||!S||!s.sampled)return;const E={type:t4,...n?{replay_start_timestamp:h/1e3}:{},timestamp:a/1e3,error_ids:c,trace_ids:d,urls:l,replay_id:e,segment_id:r,replay_type:s.sampled},x=await mce({scope:_,client:g,replayId:e,event:E});if(!x){g.recordDroppedEvent("event_processor","replay",E),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("An event processor returned `null`, will not send event.");return}x.contexts={...x.contexts,replay:{...x.contexts&&x.contexts.replay,session_sample_rate:o.sessionSampleRate,error_sample_rate:o.errorSampleRate}};const f=hce(x,u,S,g.getOptions().tunnel);let m;try{m=await w.send(f)}catch{throw new Error(Nx)}if(!m)return m;if(typeof m.statusCode=="number"&&(m.statusCode<200||m.statusCode>=300))throw new w4(m.statusCode);return m}class w4 extends Error{constructor(e){super(`Transport returned status code ${e}`)}}async function O4(t,e={count:0,interval:Pue}){const{recordingData:r,options:n}=t;if(r.length)try{return await vce(t),!0}catch(i){if(i instanceof w4)throw i;if(Xse("Replays",{_retryCount:e.count}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n._experiments&&n._experiments.captureExceptions&&kx(i),e.count>=Cue)throw new Error(`${Nx} - max retries exceeded`);return e.interval*=++e.count,await new Promise((a,s)=>{setTimeout(async()=>{try{await O4(t,e),a(!0)}catch(o){s(o)}},e.interval)})}}class fr{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this._performanceObserver=null}__init5(){this._flushLock=null}__init6(){this._lastActivity=new Date().getTime()}__init7(){this._isEnabled=!1}__init8(){this._isPaused=!1}__init9(){this._hasInitializedCoreListeners=!1}__init10(){this._stopRecording=null}__init11(){this._context={errorIds:new Set,traceIds:new Set,urls:[],earliestEvent:null,initialTimestamp:new Date().getTime(),initialUrl:""}}constructor({options:e,recordingOptions:r}){fr.prototype.__init.call(this),fr.prototype.__init2.call(this),fr.prototype.__init3.call(this),fr.prototype.__init4.call(this),fr.prototype.__init5.call(this),fr.prototype.__init6.call(this),fr.prototype.__init7.call(this),fr.prototype.__init8.call(this),fr.prototype.__init9.call(this),fr.prototype.__init10.call(this),fr.prototype.__init11.call(this),fr.prototype.__init12.call(this),fr.prototype.__init13.call(this),fr.prototype.__init14.call(this),fr.prototype.__init15.call(this),fr.prototype.__init16.call(this),this._recordingOptions=r,this._options=e,this._debouncedFlush=cce(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay})}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}start(){if(this._setInitialState(),!!this._loadAndCheckSession()){if(!this.session){this._handleException(new Error("No session found"));return}this.session.sampled&&(this.session.sampled==="error"&&(this.recordingMode="error"),this._updateSessionActivity(),this.eventBuffer=Dle({useCompression:this._options.useCompression}),this._addListeners(),this._isEnabled=!0,this.startRecording())}}startRecording(){try{this._stopRecording=Xs({...this._recordingOptions,...this.recordingMode==="error"&&{checkoutEveryNms:Eue},emit:this._handleRecordingEmit})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording?(this._stopRecording(),this._stopRecording=void 0,!0):!1}catch(e){return this._handleException(e),!1}}stop(e){if(this._isEnabled)try{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const r=`[Replay] Stopping Replay${e?` triggered by ${e}`:""}`;(this.getOptions()._experiments.traceInternals?console.warn:ve.log)(r)}this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,this._debouncedFlush.cancel()}catch(r){this._handleException(r)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording())}addUpdate(e){const r=e();this.recordingMode!=="error"&&r!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._loadAndCheckSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(e){const r=this.getSessionId();if(this._lastActivity&&q1(this._lastActivity,r4)){this.pause();return}return this._loadAndCheckSession(e)?r!==this.getSessionId()?(this._triggerFullSnapshot(),!1):!0:void 0}_handleException(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("[Replay]",e),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&kx(e)}_loadAndCheckSession(e=Lx){const{type:r,session:n}=Lle({expiry:e,stickySession:!!this._options.stickySession,currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,errorSampleRate:this._options.errorSampleRate});r==="new"&&this._setInitialState();const i=this.getSessionId();return n.id!==i&&(n.previousSessionId=i),this.session=n,this.session.sampled?!0:(this.stop("session unsampled"),!1)}_setInitialState(){const e=`${nr.location.pathname}${nr.location.hash}${nr.location.search}`,r=`${nr.location.origin}${e}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=r,this._context.initialTimestamp=new Date().getTime(),this._context.urls.push(r)}_addListeners(){try{nr.document.addEventListener("visibilitychange",this._handleVisibilityChange),nr.addEventListener("blur",this._handleWindowBlur),nr.addEventListener("focus",this._handleWindowFocus),dce(this._context.errorIds),this._hasInitializedCoreListeners||(tce(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}"PerformanceObserver"in nr&&(this._performanceObserver=Ple(this))}_removeListeners(){try{nr.document.removeEventListener("visibilitychange",this._handleVisibilityChange),nr.removeEventListener("blur",this._handleWindowBlur),nr.removeEventListener("focus",this._handleWindowFocus),fce(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(e){this._handleException(e)}}__init12(){this._handleRecordingEmit=(e,r)=>{if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("[Replay] Received replay event after session expired.");return}this.addUpdate(()=>(this.recordingMode==="error"&&e.type===2&&this._setInitialState(),fg(this,e,r),e.type!==2?!1:(this.session&&this.session.previousSessionId||(this.recordingMode==="error"&&this.session&&this._context.earliestEvent&&(this.session.started=this._context.earliestEvent,this._maybeSaveSession()),this.recordingMode==="session"&&this.flushImmediate()),!0)))}}__init13(){this._handleVisibilityChange=()=>{nr.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init14(){this._handleWindowBlur=()=>{const e=hg({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init15(){this._handleWindowFocus=()=>{const e=hg({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;const r=g4(this.session,jk);e&&!r&&this._createCustomBreadcrumb(e),this._conditionalFlush()}_doChangeToForegroundTasks(e){if(!this.session)return;if(!this.checkAndHandleExpiredSession(jk)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}_triggerFullSnapshot(){try{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.log("[Replay] Taking full rrweb snapshot"),Xs.takeFullSnapshot(!0)}catch(e){this._handleException(e)}}_updateUserActivity(e=new Date().getTime()){this._lastActivity=e}_updateSessionActivity(e=new Date().getTime()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{fg(this,{type:mt.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){const e=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(Ph(this,ice(e)))}_conditionalFlush(){this.recordingMode!=="error"&&this.flushImmediate()}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[],this._context.earliestEvent=null}_popEventContext(){this._context.earliestEvent&&this._context.earliestEvent<this._context.initialTimestamp&&(this._context.initialTimestamp=this._context.earliestEvent);const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds).filter(Boolean),traceIds:Array.from(this._context.traceIds).filter(Boolean),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){if(!this.session||!this.eventBuffer){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await rce(this),!!this.eventBuffer))try{const e=await this.eventBuffer.finish(),r=this.session.id,n=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession(),await O4({replayId:r,recordingData:e,segmentId:i,includeReplayStartTimestamp:i===0,eventContext:n,session:this.session,options:this.getOptions(),timestamp:new Date().getTime()})}catch(e){this._handleException(e),this.stop("sendReplay");const r=Ze().getClient();r&&r.recordDroppedEvent("send_error","replay")}}__init16(){this._flush=async()=>{if(this._isEnabled){if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error("[Replay] No session found to flush.");return}if(this._debouncedFlush.cancel(),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=null;return}try{await this._flushLock}catch(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.error(e)}finally{this._debouncedFlush()}}}}_maybeSaveSession(){this.session&&this._options.stickySession&&b4(this.session)}}function wd(t,e,r,n){const i=typeof n=="string"?n.split(","):[],a=[...t,...i,...e];return typeof r<"u"&&(typeof r=="string"&&a.push(`.${r}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),a.join(",")}function gce({mask:t,unmask:e,block:r,unblock:n,ignore:i,blockClass:a,blockSelector:s,maskTextClass:o,maskTextSelector:u,ignoreClass:l}){const c=['base[href="/"]'],d=wd(t,[".sentry-mask","[data-sentry-mask]"],o,u),h=wd(e,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:d,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:h,blockSelector:wd(r,[".sentry-block","[data-sentry-block]",...c],a,s),unblockSelector:wd(n,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:wd(i,[".sentry-ignore","[data-sentry-ignore]"],l)};return a instanceof RegExp&&(p.blockClass=a),o instanceof RegExp&&(p.maskTextClass=o),p}function nD(){return typeof window<"u"&&(!Px()||bce())}function bce(){return typeof process<"u"&&process.type==="renderer"}const iD='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]';let aD=!1;class pg{static __initStatic(){this.id="Replay"}__init(){this.name=pg.id}constructor({flushMinDelay:e=xue,flushMaxDelay:r=Tue,stickySession:n=!0,useCompression:i=!0,_experiments:a={},sessionSampleRate:s,errorSampleRate:o,maskAllText:u=!0,maskAllInputs:l=!0,blockAllMedia:c=!0,mask:d=[],unmask:h=[],block:p=[],unblock:g=[],ignore:_=[],maskFn:w,blockClass:S,blockSelector:E,maskInputOptions:x,maskTextClass:f,maskTextSelector:m,ignoreClass:v}={}){if(pg.prototype.__init.call(this),this._recordingOptions={maskAllInputs:l,maskAllText:u,maskInputOptions:{...x||{},password:!0},maskTextFn:w,maskInputFn:w,...gce({mask:d,unmask:h,block:p,unblock:g,ignore:_,blockClass:S,blockSelector:E,maskTextClass:f,maskTextSelector:m,ignoreClass:v}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:e,flushMaxDelay:r,stickySession:n,sessionSampleRate:s,errorSampleRate:o,useCompression:i,blockAllMedia:c,_experiments:a},typeof s=="number"&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.
This option is deprecated and will be removed soon.
Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:
Sentry.init({ replaysSessionSampleRate: ${s} })`),this._initialOptions.sessionSampleRate=s),typeof o=="number"&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.
This option is deprecated and will be removed soon.
Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:
Sentry.init({ replaysOnErrorSampleRate: ${o} })`),this._initialOptions.errorSampleRate=o),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${iD}`:iD),this._isInitialized&&nD())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return aD}set _isInitialized(e){aD=e}setupOnce(){nD()&&(this._setup(),setTimeout(()=>this.start()))}start(){this._replay&&this._replay.start()}stop(){this._replay&&this._replay.stop()}flush(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.flushImmediate()}_setup(){const e=_ce(this._initialOptions);this._replay=new fr({options:e,recordingOptions:this._recordingOptions})}}pg.__initStatic();function _ce(t){const e=Ze().getClient(),r=e&&e.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...L0(t)};return r?(t.sessionSampleRate==null&&t.errorSampleRate==null&&r.replaysSessionSampleRate==null&&r.replaysOnErrorSampleRate==null&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),typeof r.replaysSessionSampleRate=="number"&&(n.sessionSampleRate=r.replaysSessionSampleRate),typeof r.replaysOnErrorSampleRate=="number"&&(n.errorSampleRate=r.replaysOnErrorSampleRate),n):(console.warn("SDK client is not available."),n)}const S4=["activate","mount","update"],yce=/(?:^|[-_])(\w)/g,wce=t=>t.replace(yce,e=>e.toUpperCase()).replace(/[-_]/g,""),Oce="<Root>",xy="<Anonymous>",Sce=(t,e)=>t.repeat?t.repeat(e):t,wf=(t,e)=>{if(!t)return xy;if(t.$root===t)return Oce;if(!t.$options)return xy;const r=t.$options;let n=r.name||r._componentTag;const i=r.__file;if(!n&&i){const a=i.match(/([^/\\]+)\.vue$/);a&&(n=a[1])}return(n?`<${wce(n)}>`:xy)+(i&&e!==!1?` at ${i}`:"")},xce=t=>{if(t&&(t._isVue||t.__isVue)&&t.$parent){const e=[];let r=0;for(;t;){if(e.length>0){const i=e[e.length-1];if(i.constructor===t.constructor){r++,t=t.$parent;continue}else r>0&&(e[e.length-1]=[i,r],r=0)}e.push(t),t=t.$parent}return`

found in

${e.map((i,a)=>`${(a===0?"---> ":Sce(" ",5+a*2))+(Array.isArray(i)?`${wf(i[0])}... (${i[1]} recursive calls)`:wf(i))}`).join(`
`)}`}return`

(found in ${wf(t)})`},Tce=(t,e)=>{const{errorHandler:r,warnHandler:n,silent:i}=t.config;t.config.errorHandler=(a,s,o)=>{const u=wf(s,!1),l=s?xce(s):"",c={componentName:u,lifecycleHook:o,trace:l};if(e.attachProps&&s&&(s.$options&&s.$options.propsData?c.propsData=s.$options.propsData:s.$props&&(c.propsData=s.$props)),setTimeout(()=>{Ze().withScope(d=>{d.setContext("vue",c),Ze().captureException(a)})}),typeof r=="function"&&r.call(t,a,s,o),e.logErrors){const d=typeof console<"u",h=`Error in ${o}: "${a&&a.toString()}"`;n?n.call(null,h,s,l):d&&!i&&console.error(`[Vue warn]: ${h}${l}`)}}},sD="ui.vue",Ece={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function oD(){const t=Ze().getScope();return t&&t.getTransaction()}function Pce(t,e,r){t.$_sentryRootSpanTimer&&clearTimeout(t.$_sentryRootSpanTimer),t.$_sentryRootSpanTimer=setTimeout(()=>{t.$root&&t.$root.$_sentryRootSpan&&(t.$root.$_sentryRootSpan.finish(e),t.$root.$_sentryRootSpan=void 0)},r)}const Cce=t=>{const e=(t.hooks||[]).concat(S4).filter((n,i,a)=>a.indexOf(n)===i),r={};for(const n of e){const i=Ece[n];if(!i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&ve.warn(`Unknown hook: ${n}`);continue}for(const a of i)r[a]=function(){const s=this.$root===this;if(s){const l=oD();l&&(this.$_sentryRootSpan=this.$_sentryRootSpan||l.startChild({description:"Application Render",op:`${sD}.render`}))}const o=wf(this,!1),u=Array.isArray(t.trackComponents)?t.trackComponents.indexOf(o)>-1:t.trackComponents;if(!(!s&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},a==i[0]){const l=this.$root&&this.$root.$_sentryRootSpan||oD();if(l){const c=this.$_sentrySpans[n];c&&!c.endTimestamp&&c.finish(),this.$_sentrySpans[n]=l.startChild({description:`Vue <${o}>`,op:`${sD}.${n}`})}}else{const l=this.$_sentrySpans[n];if(!l)return;l.finish(),Pce(this,Cx(),t.timeout)}}}return r},Ace=mn,$ce={Vue:Ace.Vue,attachProps:!0,logErrors:!1,hooks:S4,timeout:2e3,trackComponents:!1,_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:og}],version:og}}};function cAe(t={}){const e={...$ce,...t};if(Oue(e),!e.Vue&&!e.app){console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).");return}e.app?Ex(e.app).forEach(n=>uD(n,e)):e.Vue&&uD(e.Vue,e)}const uD=(t,e)=>{const r=t;(r._instance&&r._instance.isMounted)===!0&&console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`."),Tce(t,e),Toe(e)&&t.mixin(Cce({...e,...e.tracingOptions}))};var x4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",o="minute",u="hour",l="day",c="week",d="month",h="quarter",p="year",g="date",_="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},x=function(O,A,D){var M=String(O);return!M||M.length>=A?O:""+Array(A+1-M.length).join(D)+O},f={s:x,z:function(O){var A=-O.utcOffset(),D=Math.abs(A),M=Math.floor(D/60),N=D%60;return(A<=0?"+":"-")+x(M,2,"0")+":"+x(N,2,"0")},m:function O(A,D){if(A.date()<D.date())return-O(D,A);var M=12*(D.year()-A.year())+(D.month()-A.month()),N=A.clone().add(M,d),F=D-N<0,j=A.clone().add(M+(F?-1:1),d);return+(-(M+(D-N)/(F?N-j:j-N))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:d,y:p,w:c,d:l,D:g,h:u,m:o,s,ms:a,Q:h}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},m="en",v={};v[m]=E;var T=function(O){return O instanceof $},P=function O(A,D,M){var N;if(!A)return m;if(typeof A=="string"){var F=A.toLowerCase();v[F]&&(N=F),D&&(v[F]=D,N=F);var j=A.split("-");if(!N&&j.length>1)return O(j[0])}else{var H=A.name;v[H]=A,N=H}return!M&&N&&(m=N),N||!M&&m},k=function(O,A){if(T(O))return O.clone();var D=typeof A=="object"?A:{};return D.date=O,D.args=arguments,new $(D)},y=f;y.l=P,y.i=T,y.w=function(O,A){return k(O,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var $=function(){function O(D){this.$L=P(D.locale,null,!0),this.parse(D)}var A=O.prototype;return A.parse=function(D){this.$d=function(M){var N=M.date,F=M.utc;if(N===null)return new Date(NaN);if(y.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var j=N.match(w);if(j){var H=j[2]-1||0,W=(j[7]||"0").substring(0,3);return F?new Date(Date.UTC(j[1],H,j[3]||1,j[4]||0,j[5]||0,j[6]||0,W)):new Date(j[1],H,j[3]||1,j[4]||0,j[5]||0,j[6]||0,W)}}return new Date(N)}(D),this.$x=D.x||{},this.init()},A.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},A.$utils=function(){return y},A.isValid=function(){return this.$d.toString()!==_},A.isSame=function(D,M){var N=k(D);return this.startOf(M)<=N&&N<=this.endOf(M)},A.isAfter=function(D,M){return k(D)<this.startOf(M)},A.isBefore=function(D,M){return this.endOf(M)<k(D)},A.$g=function(D,M,N){return y.u(D)?this[M]:this.set(N,D)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(D,M){var N=this,F=!!y.u(M)||M,j=y.p(D),H=function(ue,_e){var $e=y.w(N.$u?Date.UTC(N.$y,_e,ue):new Date(N.$y,_e,ue),N);return F?$e:$e.endOf(l)},W=function(ue,_e){return y.w(N.toDate()[ue].apply(N.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(_e)),N)},Z=this.$W,te=this.$M,Y=this.$D,G="set"+(this.$u?"UTC":"");switch(j){case p:return F?H(1,0):H(31,11);case d:return F?H(1,te):H(0,te+1);case c:var U=this.$locale().weekStart||0,K=(Z<U?Z+7:Z)-U;return H(F?Y-K:Y+(6-K),te);case l:case g:return W(G+"Hours",0);case u:return W(G+"Minutes",1);case o:return W(G+"Seconds",2);case s:return W(G+"Milliseconds",3);default:return this.clone()}},A.endOf=function(D){return this.startOf(D,!1)},A.$set=function(D,M){var N,F=y.p(D),j="set"+(this.$u?"UTC":""),H=(N={},N[l]=j+"Date",N[g]=j+"Date",N[d]=j+"Month",N[p]=j+"FullYear",N[u]=j+"Hours",N[o]=j+"Minutes",N[s]=j+"Seconds",N[a]=j+"Milliseconds",N)[F],W=F===l?this.$D+(M-this.$W):M;if(F===d||F===p){var Z=this.clone().set(g,1);Z.$d[H](W),Z.init(),this.$d=Z.set(g,Math.min(this.$D,Z.daysInMonth())).$d}else H&&this.$d[H](W);return this.init(),this},A.set=function(D,M){return this.clone().$set(D,M)},A.get=function(D){return this[y.p(D)]()},A.add=function(D,M){var N,F=this;D=Number(D);var j=y.p(M),H=function(te){var Y=k(F);return y.w(Y.date(Y.date()+Math.round(te*D)),F)};if(j===d)return this.set(d,this.$M+D);if(j===p)return this.set(p,this.$y+D);if(j===l)return H(1);if(j===c)return H(7);var W=(N={},N[o]=n,N[u]=i,N[s]=r,N)[j]||1,Z=this.$d.getTime()+D*W;return y.w(Z,this)},A.subtract=function(D,M){return this.add(-1*D,M)},A.format=function(D){var M=this,N=this.$locale();if(!this.isValid())return N.invalidDate||_;var F=D||"YYYY-MM-DDTHH:mm:ssZ",j=y.z(this),H=this.$H,W=this.$m,Z=this.$M,te=N.weekdays,Y=N.months,G=function(_e,$e,xe,_t){return _e&&(_e[$e]||_e(M,F))||xe[$e].slice(0,_t)},U=function(_e){return y.s(H%12||12,_e,"0")},K=N.meridiem||function(_e,$e,xe){var _t=_e<12?"AM":"PM";return xe?_t.toLowerCase():_t},ue={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Z+1,MM:y.s(Z+1,2,"0"),MMM:G(N.monthsShort,Z,Y,3),MMMM:G(Y,Z),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:G(N.weekdaysMin,this.$W,te,2),ddd:G(N.weekdaysShort,this.$W,te,3),dddd:te[this.$W],H:String(H),HH:y.s(H,2,"0"),h:U(1),hh:U(2),a:K(H,W,!0),A:K(H,W,!1),m:String(W),mm:y.s(W,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:j};return F.replace(S,function(_e,$e){return $e||ue[_e]||j.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(D,M,N){var F,j=y.p(M),H=k(D),W=(H.utcOffset()-this.utcOffset())*n,Z=this-H,te=y.m(this,H);return te=(F={},F[p]=te/12,F[d]=te,F[h]=te/3,F[c]=(Z-W)/6048e5,F[l]=(Z-W)/864e5,F[u]=Z/i,F[o]=Z/n,F[s]=Z/r,F)[j]||Z,N?te:y.a(te)},A.daysInMonth=function(){return this.endOf(d).$D},A.$locale=function(){return v[this.$L]},A.locale=function(D,M){if(!D)return this.$L;var N=this.clone(),F=P(D,M,!0);return F&&(N.$L=F),N},A.clone=function(){return y.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},O}(),C=$.prototype;return k.prototype=C,[["$ms",a],["$s",s],["$m",o],["$H",u],["$W",l],["$M",d],["$y",p],["$D",g]].forEach(function(O){C[O[1]]=function(A){return this.$g(A,O[0],O[1])}}),k.extend=function(O,A){return O.$i||(O(A,$,k),O.$i=!0),k},k.locale=P,k.isDayjs=T,k.unix=function(O){return k(1e3*O)},k.en=v[m],k.Ls=v,k.p={},k})})(x4);var Za=x4.exports;const dAe=Vn(Za);var T4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,i,a){var s=i.prototype,o=s.format;a.en.formats=r,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var l=this.$locale().formats,c=function(d,h){return d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,g,_){var w=_&&_.toUpperCase();return g||h[_]||r[_]||h[w].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,E,x){return E||x.slice(1)})})}(u,l===void 0?{}:l);return o.call(this,c)}}})})(T4);var Mce=T4.exports;const fAe=Vn(Mce);var kce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var i=n(r),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function s(u,l,c){var d=a[c];return Array.isArray(d)&&(d=d[l?0:1]),d.replace("%d",u)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s}};return i.default.locale(o,null,!0),o})})(kce);var Dce={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")}})})(Dce);var Rce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(s){return s+"º"}};return i.default.locale(a,null,!0),a})})(Rce);var Ice={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(s){return""+s+(s===1?"er":"")}};return i.default.locale(a,null,!0),a})})(Ice);var Nce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(s){return s+"º"}};return i.default.locale(a,null,!0),a})})(Nce);var Lce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(a,null,!0),a})})(Lce);var Bce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(s){return s+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(a,null,!0),a})})(Bce);var Fce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(h){return h&&typeof h=="object"&&"default"in h?h:{default:h}}var i=n(r);function a(h){return h%10<5&&h%10>1&&~~(h/10)%10!=1}function s(h,p,g){var _=h+" ";switch(g){case"m":return p?"minuta":"minutę";case"mm":return _+(a(h)?"minuty":"minut");case"h":return p?"godzina":"godzinę";case"hh":return _+(a(h)?"godziny":"godzin");case"MM":return _+(a(h)?"miesiące":"miesięcy");case"yy":return _+(a(h)?"lata":"lat")}}var o="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),u="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),l=/D MMMM/,c=function(h,p){return l.test(p)?o[h.month()]:u[h.month()]};c.s=u,c.f=o;var d={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:c,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(h){return h+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:s,mm:s,h:s,hh:s,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:s,y:"rok",yy:s},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(d,null,!0),d})})(Fce);var jce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Za)})(Oe,function(r){function n(g){return g&&typeof g=="object"&&"default"in g?g:{default:g}}var i=n(r),a="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),s="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),o="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),u="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),l=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function c(g,_,w){var S,E;return w==="m"?_?"минута":"минуту":g+" "+(S=+g,E={mm:_?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[w].split("_"),S%10==1&&S%100!=11?E[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?E[1]:E[2])}var d=function(g,_){return l.test(_)?a[g.month()]:s[g.month()]};d.s=s,d.f=a;var h=function(g,_){return l.test(_)?o[g.month()]:u[g.month()]};h.s=u,h.f=o;var p={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:d,monthsShort:h,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:c,mm:c,h:"час",hh:c,d:"день",dd:c,M:"месяц",MM:c,y:"год",yy:c},ordinal:function(g){return g},meridiem:function(g){return g<4?"ночи":g<12?"утра":g<17?"дня":"вечера"}};return i.default.locale(p,null,!0),p})})(jce);var mg={exports:{}};mg.exports;(function(t,e){var r=200,n="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",s="[object Array]",o="[object Boolean]",u="[object Date]",l="[object Error]",c="[object Function]",d="[object GeneratorFunction]",h="[object Map]",p="[object Number]",g="[object Object]",_="[object Promise]",w="[object RegExp]",S="[object Set]",E="[object String]",x="[object Symbol]",f="[object WeakMap]",m="[object ArrayBuffer]",v="[object DataView]",T="[object Float32Array]",P="[object Float64Array]",k="[object Int8Array]",y="[object Int16Array]",$="[object Int32Array]",C="[object Uint8Array]",O="[object Uint8ClampedArray]",A="[object Uint16Array]",D="[object Uint32Array]",M=/[\\^$.*+?()[\]{}|]/g,N=/\w*$/,F=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,H={};H[a]=H[s]=H[m]=H[v]=H[o]=H[u]=H[T]=H[P]=H[k]=H[y]=H[$]=H[h]=H[p]=H[g]=H[w]=H[S]=H[E]=H[x]=H[C]=H[O]=H[A]=H[D]=!0,H[l]=H[c]=H[f]=!1;var W=typeof Oe=="object"&&Oe&&Oe.Object===Object&&Oe,Z=typeof self=="object"&&self&&self.Object===Object&&self,te=W||Z||Function("return this")(),Y=e&&!e.nodeType&&e,G=Y&&!0&&t&&!t.nodeType&&t,U=G&&G.exports===Y;function K(B,q){return B.set(q[0],q[1]),B}function ue(B,q){return B.add(q),B}function _e(B,q){for(var ee=-1,fe=B?B.length:0;++ee<fe&&q(B[ee],ee,B)!==!1;);return B}function $e(B,q){for(var ee=-1,fe=q.length,Ft=B.length;++ee<fe;)B[Ft+ee]=q[ee];return B}function xe(B,q,ee,fe){var Ft=-1,cr=B?B.length:0;for(fe&&cr&&(ee=B[++Ft]);++Ft<cr;)ee=q(ee,B[Ft],Ft,B);return ee}function _t(B,q){for(var ee=-1,fe=Array(B);++ee<B;)fe[ee]=q(ee);return fe}function Gt(B,q){return B==null?void 0:B[q]}function Qa(B){var q=!1;if(B!=null&&typeof B.toString!="function")try{q=!!(B+"")}catch{}return q}function Ru(B){var q=-1,ee=Array(B.size);return B.forEach(function(fe,Ft){ee[++q]=[Ft,fe]}),ee}function Iu(B,q){return function(ee){return B(q(ee))}}function Fc(B){var q=-1,ee=Array(B.size);return B.forEach(function(fe){ee[++q]=fe}),ee}var bb=Array.prototype,_b=Function.prototype,Nu=Object.prototype,jc=te["__core-js_shared__"],Lh=function(){var B=/[^.]+$/.exec(jc&&jc.keys&&jc.keys.IE_PROTO||"");return B?"Symbol(src)_1."+B:""}(),Bh=_b.toString,Li=Nu.hasOwnProperty,Lu=Nu.toString,yb=RegExp("^"+Bh.call(Li).replace(M,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fh=U?te.Buffer:void 0,jh=te.Symbol,Bu=te.Uint8Array,wb=Iu(Object.getPrototypeOf,Object),Ob=Object.create,zc=Nu.propertyIsEnumerable,Sb=bb.splice,zh=Object.getOwnPropertySymbols,Fu=Fh?Fh.isBuffer:void 0,Hc=Iu(Object.keys,Object),ju=as(te,"DataView"),es=as(te,"Map"),yn=as(te,"Promise"),Bi=as(te,"Set"),Vc=as(te,"WeakMap"),ts=as(Object,"create"),Hh=Fi(ju),xb=Fi(es),Tb=Fi(yn),Eb=Fi(Bi),Uc=Fi(Vc),rs=jh?jh.prototype:void 0,zu=rs?rs.valueOf:void 0;function Qr(B){var q=-1,ee=B?B.length:0;for(this.clear();++q<ee;){var fe=B[q];this.set(fe[0],fe[1])}}function Gc(){this.__data__=ts?ts(null):{}}function uo(B){return this.has(B)&&delete this.__data__[B]}function Pb(B){var q=this.__data__;if(ts){var ee=q[B];return ee===n?void 0:ee}return Li.call(q,B)?q[B]:void 0}function Cb(B){var q=this.__data__;return ts?q[B]!==void 0:Li.call(q,B)}function Ab(B,q){var ee=this.__data__;return ee[B]=ts&&q===void 0?n:q,this}Qr.prototype.clear=Gc,Qr.prototype.delete=uo,Qr.prototype.get=Pb,Qr.prototype.has=Cb,Qr.prototype.set=Ab;function li(B){var q=-1,ee=B?B.length:0;for(this.clear();++q<ee;){var fe=B[q];this.set(fe[0],fe[1])}}function $b(){this.__data__=[]}function Hu(B){var q=this.__data__,ee=Vu(q,B);if(ee<0)return!1;var fe=q.length-1;return ee==fe?q.pop():Sb.call(q,ee,1),!0}function Wc(B){var q=this.__data__,ee=Vu(q,B);return ee<0?void 0:q[ee][1]}function Vh(B){return Vu(this.__data__,B)>-1}function pa(B,q){var ee=this.__data__,fe=Vu(ee,B);return fe<0?ee.push([B,q]):ee[fe][1]=q,this}li.prototype.clear=$b,li.prototype.delete=Hu,li.prototype.get=Wc,li.prototype.has=Vh,li.prototype.set=pa;function ns(B){var q=-1,ee=B?B.length:0;for(this.clear();++q<ee;){var fe=B[q];this.set(fe[0],fe[1])}}function Mb(){this.__data__={hash:new Qr,map:new(es||li),string:new Qr}}function kb(B){return Wu(this,B).delete(B)}function Db(B){return Wu(this,B).get(B)}function Rb(B){return Wu(this,B).has(B)}function ci(B,q){return Wu(this,B).set(B,q),this}ns.prototype.clear=Mb,ns.prototype.delete=kb,ns.prototype.get=Db,ns.prototype.has=Rb,ns.prototype.set=ci;function is(B){this.__data__=new li(B)}function Ib(){this.__data__=new li}function Nb(B){return this.__data__.delete(B)}function Lb(B){return this.__data__.get(B)}function Bb(B){return this.__data__.has(B)}function di(B,q){var ee=this.__data__;if(ee instanceof li){var fe=ee.__data__;if(!es||fe.length<r-1)return fe.push([B,q]),this;ee=this.__data__=new ns(fe)}return ee.set(B,q),this}is.prototype.clear=Ib,is.prototype.delete=Nb,is.prototype.get=Lb,is.prototype.has=Bb,is.prototype.set=di;function Fb(B,q){var ee=qc(B)||Yu(B)?_t(B.length,String):[],fe=ee.length,Ft=!!fe;for(var cr in B)(q||Li.call(B,cr))&&!(Ft&&(cr=="length"||t_(cr,fe)))&&ee.push(cr);return ee}function Uh(B,q,ee){var fe=B[q];(!(Li.call(B,q)&&qh(fe,ee))||ee===void 0&&!(q in B))&&(B[q]=ee)}function Vu(B,q){for(var ee=B.length;ee--;)if(qh(B[ee][0],q))return ee;return-1}function jb(B,q){return B&&Gu(q,Zc(q),B)}function Yc(B,q,ee,fe,Ft,cr,jr){var jt;if(fe&&(jt=cr?fe(B,Ft,cr,jr):fe(B)),jt!==void 0)return jt;if(!qu(B))return B;var Jc=qc(B);if(Jc){if(jt=Jb(B),!q)return qb(B,jt)}else{var ss=ma(B),Qc=ss==c||ss==d;if(i_(B))return Ub(B,q);if(ss==g||ss==a||Qc&&!cr){if(Qa(B))return cr?B:{};if(jt=Qb(Qc?{}:B),!q)return Xb(B,jb(jt,B))}else{if(!H[ss])return cr?B:{};jt=e_(B,ss,Yc,q)}}jr||(jr=new is);var Xu=jr.get(B);if(Xu)return Xu;if(jr.set(B,jt),!Jc)var co=ee?Zb(B):Zc(B);return _e(co||B,function(os,us){co&&(us=os,os=B[us]),Uh(jt,us,Yc(os,q,ee,fe,us,B,jr))}),jt}function lo(B){return qu(B)?Ob(B):{}}function zb(B,q,ee){var fe=q(B);return qc(B)?fe:$e(fe,ee(B))}function Hb(B){return Lu.call(B)}function fi(B){if(!qu(B)||Yh(B))return!1;var q=Xc(B)||Qa(B)?yb:F;return q.test(Fi(B))}function Vb(B){if(!Kh(B))return Hc(B);var q=[];for(var ee in Object(B))Li.call(B,ee)&&ee!="constructor"&&q.push(ee);return q}function Ub(B,q){if(q)return B.slice();var ee=new B.constructor(B.length);return B.copy(ee),ee}function Kc(B){var q=new B.constructor(B.byteLength);return new Bu(q).set(new Bu(B)),q}function Gb(B,q){var ee=q?Kc(B.buffer):B.buffer;return new B.constructor(ee,B.byteOffset,B.byteLength)}function Wb(B,q,ee){var fe=q?ee(Ru(B),!0):Ru(B);return xe(fe,K,new B.constructor)}function Yb(B){var q=new B.constructor(B.source,N.exec(B));return q.lastIndex=B.lastIndex,q}function Uu(B,q,ee){var fe=q?ee(Fc(B),!0):Fc(B);return xe(fe,ue,new B.constructor)}function Gh(B){return zu?Object(zu.call(B)):{}}function Kb(B,q){var ee=q?Kc(B.buffer):B.buffer;return new B.constructor(ee,B.byteOffset,B.length)}function qb(B,q){var ee=-1,fe=B.length;for(q||(q=Array(fe));++ee<fe;)q[ee]=B[ee];return q}function Gu(B,q,ee,fe){ee||(ee={});for(var Ft=-1,cr=q.length;++Ft<cr;){var jr=q[Ft],jt=fe?fe(ee[jr],B[jr],jr,ee,B):void 0;Uh(ee,jr,jt===void 0?B[jr]:jt)}return ee}function Xb(B,q){return Gu(B,Wh(B),q)}function Zb(B){return zb(B,Zc,Wh)}function Wu(B,q){var ee=B.__data__;return r_(q)?ee[typeof q=="string"?"string":"hash"]:ee.map}function as(B,q){var ee=Gt(B,q);return fi(ee)?ee:void 0}var Wh=zh?Iu(zh,Object):Xh,ma=Hb;(ju&&ma(new ju(new ArrayBuffer(1)))!=v||es&&ma(new es)!=h||yn&&ma(yn.resolve())!=_||Bi&&ma(new Bi)!=S||Vc&&ma(new Vc)!=f)&&(ma=function(B){var q=Lu.call(B),ee=q==g?B.constructor:void 0,fe=ee?Fi(ee):void 0;if(fe)switch(fe){case Hh:return v;case xb:return h;case Tb:return _;case Eb:return S;case Uc:return f}return q});function Jb(B){var q=B.length,ee=B.constructor(q);return q&&typeof B[0]=="string"&&Li.call(B,"index")&&(ee.index=B.index,ee.input=B.input),ee}function Qb(B){return typeof B.constructor=="function"&&!Kh(B)?lo(wb(B)):{}}function e_(B,q,ee,fe){var Ft=B.constructor;switch(q){case m:return Kc(B);case o:case u:return new Ft(+B);case v:return Gb(B,fe);case T:case P:case k:case y:case $:case C:case O:case A:case D:return Kb(B,fe);case h:return Wb(B,fe,ee);case p:case E:return new Ft(B);case w:return Yb(B);case S:return Uu(B,fe,ee);case x:return Gh(B)}}function t_(B,q){return q=q??i,!!q&&(typeof B=="number"||j.test(B))&&B>-1&&B%1==0&&B<q}function r_(B){var q=typeof B;return q=="string"||q=="number"||q=="symbol"||q=="boolean"?B!=="__proto__":B===null}function Yh(B){return!!Lh&&Lh in B}function Kh(B){var q=B&&B.constructor,ee=typeof q=="function"&&q.prototype||Nu;return B===ee}function Fi(B){if(B!=null){try{return Bh.call(B)}catch{}try{return B+""}catch{}}return""}function n_(B){return Yc(B,!0,!0)}function qh(B,q){return B===q||B!==B&&q!==q}function Yu(B){return ji(B)&&Li.call(B,"callee")&&(!zc.call(B,"callee")||Lu.call(B)==a)}var qc=Array.isArray;function va(B){return B!=null&&Ku(B.length)&&!Xc(B)}function ji(B){return a_(B)&&va(B)}var i_=Fu||Zh;function Xc(B){var q=qu(B)?Lu.call(B):"";return q==c||q==d}function Ku(B){return typeof B=="number"&&B>-1&&B%1==0&&B<=i}function qu(B){var q=typeof B;return!!B&&(q=="object"||q=="function")}function a_(B){return!!B&&typeof B=="object"}function Zc(B){return va(B)?Fb(B):Vb(B)}function Xh(){return[]}function Zh(){return!1}t.exports=n_})(mg,mg.exports);mg.exports;var E4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,s){var o,u=function(h,p,g){g===void 0&&(g={});var _=new Date(h),w=function(S,E){E===void 0&&(E={});var x=E.timeZoneName||"short",f=S+"|"+x,m=n[f];return m||(m=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),n[f]=m),m}(p,g);return w.formatToParts(_)},l=function(h,p){for(var g=u(h,p),_=[],w=0;w<g.length;w+=1){var S=g[w],E=S.type,x=S.value,f=r[E];f>=0&&(_[f]=parseInt(x,10))}var m=_[3],v=m===24?0:m,T=_[0]+"-"+_[1]+"-"+_[2]+" "+v+":"+_[4]+":"+_[5]+":000",P=+h;return(s.utc(T).valueOf()-(P-=P%1e3))/6e4},c=a.prototype;c.tz=function(h,p){h===void 0&&(h=o);var g=this.utcOffset(),_=this.toDate(),w=_.toLocaleString("en-US",{timeZone:h}),S=Math.round((_-new Date(w))/1e3/60),E=s(w).$set("millisecond",this.$ms).utcOffset(15*-Math.round(_.getTimezoneOffset()/15)-S,!0);if(p){var x=E.utcOffset();E=E.add(g-x,"minute")}return E.$x.$timezone=h,E},c.offsetName=function(h){var p=this.$x.$timezone||s.tz.guess(),g=u(this.valueOf(),p,{timeZoneName:h}).find(function(_){return _.type.toLowerCase()==="timezonename"});return g&&g.value};var d=c.startOf;c.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return d.call(this,h,p);var g=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return d.call(g,h,p).tz(this.$x.$timezone,!0)},s.tz=function(h,p,g){var _=g&&p,w=g||p||o,S=l(+s(),w);if(typeof h!="string")return s(h).tz(w);var E=function(v,T,P){var k=v-60*T*1e3,y=l(k,P);if(T===y)return[k,T];var $=l(k-=60*(y-T)*1e3,P);return y===$?[k,y]:[v-60*Math.min(y,$)*1e3,Math.max(y,$)]}(s.utc(h,_).valueOf(),S,w),x=E[0],f=E[1],m=s(x).utcOffset(f);return m.$x.$timezone=w,m},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(h){o=h}}})})(E4);var zce=E4.exports;const hAe=Vn(zce);var P4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,o){var u=s.prototype;o.utc=function(_){var w={date:_,utc:!0,args:arguments};return new s(w)},u.utc=function(_){var w=o(this.toDate(),{locale:this.$L,utc:!0});return _?w.add(this.utcOffset(),r):w},u.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(_){_.utc&&(this.$u=!0),this.$utils().u(_.$offset)||(this.$offset=_.$offset),l.call(this,_)};var c=u.init;u.init=function(){if(this.$u){var _=this.$d;this.$y=_.getUTCFullYear(),this.$M=_.getUTCMonth(),this.$D=_.getUTCDate(),this.$W=_.getUTCDay(),this.$H=_.getUTCHours(),this.$m=_.getUTCMinutes(),this.$s=_.getUTCSeconds(),this.$ms=_.getUTCMilliseconds()}else c.call(this)};var d=u.utcOffset;u.utcOffset=function(_,w){var S=this.$utils().u;if(S(_))return this.$u?0:S(this.$offset)?d.call(this):this.$offset;if(typeof _=="string"&&(_=function(m){m===void 0&&(m="");var v=m.match(n);if(!v)return null;var T=(""+v[0]).match(i)||["-",0,0],P=T[0],k=60*+T[1]+ +T[2];return k===0?0:P==="+"?k:-k}(_),_===null))return this;var E=Math.abs(_)<=16?60*_:_,x=this;if(w)return x.$offset=E,x.$u=_===0,x;if(_!==0){var f=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(E+f,r)).$offset=E,x.$x.$localOffset=f}else x=this.utc();return x};var h=u.format;u.format=function(_){var w=_||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,w)},u.valueOf=function(){var _=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*_},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(_){return _==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=u.diff;u.diff=function(_,w,S){if(_&&this.$u===_.$u)return g.call(this,_,w,S);var E=this.local(),x=o(_).local();return g.call(E,x,w,S)}}})})(P4);var Hce=P4.exports;const pAe=Vn(Hce);/*!
 * @kurkle/color v0.3.2
 * https://github.com/kurkle/color#readme
 * (c) 2023 Jukka Kurkela
 * Released under the MIT License
 */function Ch(t){return t+.5|0}const xs=(t,e,r)=>Math.max(Math.min(t,r),e);function Jd(t){return xs(Ch(t*2.55),0,255)}function Bs(t){return xs(Ch(t*255),0,255)}function Ca(t){return xs(Ch(t/2.55)/100,0,1)}function lD(t){return xs(Ch(t*100),0,100)}const qn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Z1=[..."0123456789ABCDEF"],Vce=t=>Z1[t&15],Uce=t=>Z1[(t&240)>>4]+Z1[t&15],Fp=t=>(t&240)>>4===(t&15),Gce=t=>Fp(t.r)&&Fp(t.g)&&Fp(t.b)&&Fp(t.a);function Wce(t){var e=t.length,r;return t[0]==="#"&&(e===4||e===5?r={r:255&qn[t[1]]*17,g:255&qn[t[2]]*17,b:255&qn[t[3]]*17,a:e===5?qn[t[4]]*17:255}:(e===7||e===9)&&(r={r:qn[t[1]]<<4|qn[t[2]],g:qn[t[3]]<<4|qn[t[4]],b:qn[t[5]]<<4|qn[t[6]],a:e===9?qn[t[7]]<<4|qn[t[8]]:255})),r}const Yce=(t,e)=>t<255?e(t):"";function Kce(t){var e=Gce(t)?Vce:Uce;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Yce(t.a,e):void 0}const qce=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function C4(t,e,r){const n=e*Math.min(r,1-r),i=(a,s=(a+t/30)%12)=>r-n*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function Xce(t,e,r){const n=(i,a=(i+t/60)%6)=>r-r*e*Math.max(Math.min(a,4-a,1),0);return[n(5),n(3),n(1)]}function Zce(t,e,r){const n=C4(t,1,.5);let i;for(e+r>1&&(i=1/(e+r),e*=i,r*=i),i=0;i<3;i++)n[i]*=1-e-r,n[i]+=e;return n}function Jce(t,e,r,n,i){return t===i?(e-r)/n+(e<r?6:0):e===i?(r-t)/n+2:(t-e)/n+4}function jx(t){const r=t.r/255,n=t.g/255,i=t.b/255,a=Math.max(r,n,i),s=Math.min(r,n,i),o=(a+s)/2;let u,l,c;return a!==s&&(c=a-s,l=o>.5?c/(2-a-s):c/(a+s),u=Jce(r,n,i,c,a),u=u*60+.5),[u|0,l||0,o]}function zx(t,e,r,n){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,r,n)).map(Bs)}function Hx(t,e,r){return zx(C4,t,e,r)}function Qce(t,e,r){return zx(Zce,t,e,r)}function ede(t,e,r){return zx(Xce,t,e,r)}function A4(t){return(t%360+360)%360}function tde(t){const e=qce.exec(t);let r=255,n;if(!e)return;e[5]!==n&&(r=e[6]?Jd(+e[5]):Bs(+e[5]));const i=A4(+e[2]),a=+e[3]/100,s=+e[4]/100;return e[1]==="hwb"?n=Qce(i,a,s):e[1]==="hsv"?n=ede(i,a,s):n=Hx(i,a,s),{r:n[0],g:n[1],b:n[2],a:r}}function rde(t,e){var r=jx(t);r[0]=A4(r[0]+e),r=Hx(r),t.r=r[0],t.g=r[1],t.b=r[2]}function nde(t){if(!t)return;const e=jx(t),r=e[0],n=lD(e[1]),i=lD(e[2]);return t.a<255?`hsla(${r}, ${n}%, ${i}%, ${Ca(t.a)})`:`hsl(${r}, ${n}%, ${i}%)`}const cD={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},dD={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function ide(){const t={},e=Object.keys(dD),r=Object.keys(cD);let n,i,a,s,o;for(n=0;n<e.length;n++){for(s=o=e[n],i=0;i<r.length;i++)a=r[i],o=o.replace(a,cD[a]);a=parseInt(dD[s],16),t[o]=[a>>16&255,a>>8&255,a&255]}return t}let jp;function ade(t){jp||(jp=ide(),jp.transparent=[0,0,0,0]);const e=jp[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const sde=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function ode(t){const e=sde.exec(t);let r=255,n,i,a;if(e){if(e[7]!==n){const s=+e[7];r=e[8]?Jd(s):xs(s*255,0,255)}return n=+e[1],i=+e[3],a=+e[5],n=255&(e[2]?Jd(n):xs(n,0,255)),i=255&(e[4]?Jd(i):xs(i,0,255)),a=255&(e[6]?Jd(a):xs(a,0,255)),{r:n,g:i,b:a,a:r}}}function ude(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Ca(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const Ty=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,fl=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function lde(t,e,r){const n=fl(Ca(t.r)),i=fl(Ca(t.g)),a=fl(Ca(t.b));return{r:Bs(Ty(n+r*(fl(Ca(e.r))-n))),g:Bs(Ty(i+r*(fl(Ca(e.g))-i))),b:Bs(Ty(a+r*(fl(Ca(e.b))-a))),a:t.a+r*(e.a-t.a)}}function zp(t,e,r){if(t){let n=jx(t);n[e]=Math.max(0,Math.min(n[e]+n[e]*r,e===0?360:1)),n=Hx(n),t.r=n[0],t.g=n[1],t.b=n[2]}}function $4(t,e){return t&&Object.assign(e||{},t)}function fD(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Bs(t[3]))):(e=$4(t,{r:0,g:0,b:0,a:1}),e.a=Bs(e.a)),e}function cde(t){return t.charAt(0)==="r"?ode(t):tde(t)}class Zf{constructor(e){if(e instanceof Zf)return e;const r=typeof e;let n;r==="object"?n=fD(e):r==="string"&&(n=Wce(e)||ade(e)||cde(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=$4(this._rgb);return e&&(e.a=Ca(e.a)),e}set rgb(e){this._rgb=fD(e)}rgbString(){return this._valid?ude(this._rgb):void 0}hexString(){return this._valid?Kce(this._rgb):void 0}hslString(){return this._valid?nde(this._rgb):void 0}mix(e,r){if(e){const n=this.rgb,i=e.rgb;let a;const s=r===a?.5:r,o=2*s-1,u=n.a-i.a,l=((o*u===-1?o:(o+u)/(1+o*u))+1)/2;a=1-l,n.r=255&l*n.r+a*i.r+.5,n.g=255&l*n.g+a*i.g+.5,n.b=255&l*n.b+a*i.b+.5,n.a=s*n.a+(1-s)*i.a,this.rgb=n}return this}interpolate(e,r){return e&&(this._rgb=lde(this._rgb,e._rgb,r)),this}clone(){return new Zf(this.rgb)}alpha(e){return this._rgb.a=Bs(e),this}clearer(e){const r=this._rgb;return r.a*=1-e,this}greyscale(){const e=this._rgb,r=Ch(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=r,this}opaquer(e){const r=this._rgb;return r.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return zp(this._rgb,2,e),this}darken(e){return zp(this._rgb,2,-e),this}saturate(e){return zp(this._rgb,1,e),this}desaturate(e){return zp(this._rgb,1,-e),this}rotate(e){return rde(this._rgb,e),this}}/*!
 * Chart.js v4.3.3
 * https://www.chartjs.org
 * (c) 2023 Chart.js Contributors
 * Released under the MIT License
 */function ya(){}const dde=(()=>{let t=0;return()=>t++})();function We(t){return t===null||typeof t>"u"}function wt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function He(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function zt(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Tn(t,e){return zt(t)?t:e}function Ie(t,e){return typeof t>"u"?e:t}const fde=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,M4=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function vt(t,e,r){if(t&&typeof t.call=="function")return t.apply(r,e)}function ot(t,e,r,n){let i,a,s;if(wt(t))if(a=t.length,n)for(i=a-1;i>=0;i--)e.call(r,t[i],i);else for(i=0;i<a;i++)e.call(r,t[i],i);else if(He(t))for(s=Object.keys(t),a=s.length,i=0;i<a;i++)e.call(r,t[s[i]],s[i])}function vg(t,e){let r,n,i,a;if(!t||!e||t.length!==e.length)return!1;for(r=0,n=t.length;r<n;++r)if(i=t[r],a=e[r],i.datasetIndex!==a.datasetIndex||i.index!==a.index)return!1;return!0}function gg(t){if(wt(t))return t.map(gg);if(He(t)){const e=Object.create(null),r=Object.keys(t),n=r.length;let i=0;for(;i<n;++i)e[r[i]]=gg(t[r[i]]);return e}return t}function k4(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function hde(t,e,r,n){if(!k4(t))return;const i=e[t],a=r[t];He(i)&&He(a)?Jf(i,a,n):e[t]=gg(a)}function Jf(t,e,r){const n=wt(e)?e:[e],i=n.length;if(!He(t))return t;r=r||{};const a=r.merger||hde;let s;for(let o=0;o<i;++o){if(s=n[o],!He(s))continue;const u=Object.keys(s);for(let l=0,c=u.length;l<c;++l)a(u[l],t,s,r)}return t}function Of(t,e){return Jf(t,e,{merger:pde})}function pde(t,e,r){if(!k4(t))return;const n=e[t],i=r[t];He(n)&&He(i)?Of(n,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=gg(i))}const hD={"":t=>t,x:t=>t.x,y:t=>t.y};function mde(t){const e=t.split("."),r=[];let n="";for(const i of e)n+=i,n.endsWith("\\")?n=n.slice(0,-1)+".":(r.push(n),n="");return r}function vde(t){const e=mde(t);return r=>{for(const n of e){if(n==="")break;r=r&&r[n]}return r}}function Zs(t,e){return(hD[e]||(hD[e]=vde(e)))(t)}function Vx(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Qf=t=>typeof t<"u",Js=t=>typeof t=="function",pD=(t,e)=>{if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0};function gde(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const At=Math.PI,Ot=2*At,bde=Ot+At,bg=Number.POSITIVE_INFINITY,_de=At/180,Ht=At/2,yo=At/4,mD=At*2/3,Ts=Math.log10,ia=Math.sign;function Sf(t,e,r){return Math.abs(t-e)<r}function vD(t){const e=Math.round(t);t=Sf(t,e,t/1e3)?e:t;const r=Math.pow(10,Math.floor(Ts(t))),n=t/r;return(n<=1?1:n<=2?2:n<=5?5:10)*r}function yde(t){const e=[],r=Math.sqrt(t);let n;for(n=1;n<r;n++)t%n===0&&(e.push(n),e.push(t/n));return r===(r|0)&&e.push(r),e.sort((i,a)=>i-a).pop(),e}function gc(t){return!isNaN(parseFloat(t))&&isFinite(t)}function wde(t,e){const r=Math.round(t);return r-e<=t&&r+e>=t}function D4(t,e,r){let n,i,a;for(n=0,i=t.length;n<i;n++)a=t[n][r],isNaN(a)||(e.min=Math.min(e.min,a),e.max=Math.max(e.max,a))}function mi(t){return t*(At/180)}function Ux(t){return t*(180/At)}function gD(t){if(!zt(t))return;let e=1,r=0;for(;Math.round(t*e)/e!==t;)e*=10,r++;return r}function R4(t,e){const r=e.x-t.x,n=e.y-t.y,i=Math.sqrt(r*r+n*n);let a=Math.atan2(n,r);return a<-.5*At&&(a+=Ot),{angle:a,distance:i}}function J1(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ode(t,e){return(t-e+bde)%Ot-At}function An(t){return(t%Ot+Ot)%Ot}function eh(t,e,r,n){const i=An(t),a=An(e),s=An(r),o=An(a-i),u=An(s-i),l=An(i-a),c=An(i-s);return i===a||i===s||n&&a===s||o>u&&l<c}function br(t,e,r){return Math.max(e,Math.min(r,t))}function Sde(t){return br(t,-32768,32767)}function La(t,e,r,n=1e-6){return t>=Math.min(e,r)-n&&t<=Math.max(e,r)+n}function Gx(t,e,r){r=r||(s=>t[s]<e);let n=t.length-1,i=0,a;for(;n-i>1;)a=i+n>>1,r(a)?i=a:n=a;return{lo:i,hi:n}}const Ba=(t,e,r,n)=>Gx(t,r,n?i=>{const a=t[i][e];return a<r||a===r&&t[i+1][e]===r}:i=>t[i][e]<r),xde=(t,e,r)=>Gx(t,r,n=>t[n][e]>=r);function Tde(t,e,r){let n=0,i=t.length;for(;n<i&&t[n]<e;)n++;for(;i>n&&t[i-1]>r;)i--;return n>0||i<t.length?t.slice(n,i):t}const I4=["push","pop","shift","splice","unshift"];function Ede(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),I4.forEach(r=>{const n="_onData"+Vx(r),i=t[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value(...a){const s=i.apply(this,a);return t._chartjs.listeners.forEach(o=>{typeof o[n]=="function"&&o[n](...a)}),s}})})}function bD(t,e){const r=t._chartjs;if(!r)return;const n=r.listeners,i=n.indexOf(e);i!==-1&&n.splice(i,1),!(n.length>0)&&(I4.forEach(a=>{delete t[a]}),delete t._chartjs)}function N4(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const L4=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function B4(t,e){let r=[],n=!1;return function(...i){r=i,n||(n=!0,L4.call(window,()=>{n=!1,t.apply(e,r)}))}}function Pde(t,e){let r;return function(...n){return e?(clearTimeout(r),r=setTimeout(t,e,n)):t.apply(this,n),e}}const Wx=t=>t==="start"?"left":t==="end"?"right":"center",Ar=(t,e,r)=>t==="start"?e:t==="end"?r:(e+r)/2,Cde=(t,e,r,n)=>t===(n?"left":"right")?r:t==="center"?(e+r)/2:e;function F4(t,e,r){const n=e.length;let i=0,a=n;if(t._sorted){const{iScale:s,_parsed:o}=t,u=s.axis,{min:l,max:c,minDefined:d,maxDefined:h}=s.getUserBounds();d&&(i=br(Math.min(Ba(o,u,l).lo,r?n:Ba(e,u,s.getPixelForValue(l)).lo),0,n-1)),h?a=br(Math.max(Ba(o,s.axis,c,!0).hi+1,r?0:Ba(e,u,s.getPixelForValue(c),!0).hi+1),i,n)-i:a=n-i}return{start:i,count:a}}function j4(t){const{xScale:e,yScale:r,_scaleRanges:n}=t,i={xmin:e.min,xmax:e.max,ymin:r.min,ymax:r.max};if(!n)return t._scaleRanges=i,!0;const a=n.xmin!==e.min||n.xmax!==e.max||n.ymin!==r.min||n.ymax!==r.max;return Object.assign(n,i),a}const Hp=t=>t===0||t===1,_D=(t,e,r)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*Ot/r)),yD=(t,e,r)=>Math.pow(2,-10*t)*Math.sin((t-e)*Ot/r)+1,xf={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Ht)+1,easeOutSine:t=>Math.sin(t*Ht),easeInOutSine:t=>-.5*(Math.cos(At*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Hp(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Hp(t)?t:_D(t,.075,.3),easeOutElastic:t=>Hp(t)?t:yD(t,.075,.3),easeInOutElastic(t){return Hp(t)?t:t<.5?.5*_D(t*2,.1125,.45):.5+.5*yD(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-xf.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?xf.easeInBounce(t*2)*.5:xf.easeOutBounce(t*2-1)*.5+.5};function Yx(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function wD(t){return Yx(t)?t:new Zf(t)}function Ey(t){return Yx(t)?t:new Zf(t).saturate(.5).darken(.1).hexString()}const Ade=["x","y","borderWidth","radius","tension"],$de=["color","borderColor","backgroundColor"];function Mde(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:$de},numbers:{type:"number",properties:Ade}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function kde(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const OD=new Map;function Dde(t,e){e=e||{};const r=t+JSON.stringify(e);let n=OD.get(r);return n||(n=new Intl.NumberFormat(t,e),OD.set(r,n)),n}function Ah(t,e,r){return Dde(e,r).format(t)}const z4={values(t){return wt(t)?t:""+t},numeric(t,e,r){if(t===0)return"0";const n=this.chart.options.locale;let i,a=t;if(r.length>1){const l=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(l<1e-4||l>1e15)&&(i="scientific"),a=Rde(t,r)}const s=Ts(Math.abs(a)),o=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),u={notation:i,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(u,this.options.ticks.format),Ah(t,n,u)},logarithmic(t,e,r){if(t===0)return"0";const n=r[e].significand||t/Math.pow(10,Math.floor(Ts(t)));return[1,2,3,5,10,15].includes(n)||e>.8*r.length?z4.numeric.call(this,t,e,r):""}};function Rde(t,e){let r=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(r)>=1&&t!==Math.floor(t)&&(r=t-Math.floor(t)),r}var V0={formatters:z4};function Ide(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,r)=>r.lineWidth,tickColor:(e,r)=>r.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:V0.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const vu=Object.create(null),Q1=Object.create(null);function Tf(t,e){if(!e)return t;const r=e.split(".");for(let n=0,i=r.length;n<i;++n){const a=r[n];t=t[a]||(t[a]=Object.create(null))}return t}function Py(t,e,r){return typeof e=="string"?Jf(Tf(t,e),r):Jf(Tf(t,""),e)}class Nde{constructor(e,r){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=n=>n.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,i)=>Ey(i.backgroundColor),this.hoverBorderColor=(n,i)=>Ey(i.borderColor),this.hoverColor=(n,i)=>Ey(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(r)}set(e,r){return Py(this,e,r)}get(e){return Tf(this,e)}describe(e,r){return Py(Q1,e,r)}override(e,r){return Py(vu,e,r)}route(e,r,n,i){const a=Tf(this,e),s=Tf(this,n),o="_"+r;Object.defineProperties(a,{[o]:{value:a[r],writable:!0},[r]:{enumerable:!0,get(){const u=this[o],l=s[i];return He(u)?Object.assign({},l,u):Ie(u,l)},set(u){this[o]=u}}})}apply(e){e.forEach(r=>r(this))}}var Vt=new Nde({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Mde,kde,Ide]);function Lde(t){return!t||We(t.size)||We(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function _g(t,e,r,n,i){let a=e[i];return a||(a=e[i]=t.measureText(i).width,r.push(i)),a>n&&(n=a),n}function Bde(t,e,r,n){n=n||{};let i=n.data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(i=n.data={},a=n.garbageCollect=[],n.font=e),t.save(),t.font=e;let s=0;const o=r.length;let u,l,c,d,h;for(u=0;u<o;u++)if(d=r[u],d!=null&&!wt(d))s=_g(t,i,a,s,d);else if(wt(d))for(l=0,c=d.length;l<c;l++)h=d[l],h!=null&&!wt(h)&&(s=_g(t,i,a,s,h));t.restore();const p=a.length/2;if(p>r.length){for(u=0;u<p;u++)delete i[a[u]];a.splice(0,p)}return s}function wo(t,e,r){const n=t.currentDevicePixelRatio,i=r!==0?Math.max(r/2,.5):0;return Math.round((e-i)*n)/n+i}function SD(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function eO(t,e,r,n){H4(t,e,r,n,null)}function H4(t,e,r,n,i){let a,s,o,u,l,c,d,h;const p=e.pointStyle,g=e.rotation,_=e.radius;let w=(g||0)*_de;if(p&&typeof p=="object"&&(a=p.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){t.save(),t.translate(r,n),t.rotate(w),t.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),t.restore();return}if(!(isNaN(_)||_<=0)){switch(t.beginPath(),p){default:i?t.ellipse(r,n,i/2,_,0,0,Ot):t.arc(r,n,_,0,Ot),t.closePath();break;case"triangle":c=i?i/2:_,t.moveTo(r+Math.sin(w)*c,n-Math.cos(w)*_),w+=mD,t.lineTo(r+Math.sin(w)*c,n-Math.cos(w)*_),w+=mD,t.lineTo(r+Math.sin(w)*c,n-Math.cos(w)*_),t.closePath();break;case"rectRounded":l=_*.516,u=_-l,s=Math.cos(w+yo)*u,d=Math.cos(w+yo)*(i?i/2-l:u),o=Math.sin(w+yo)*u,h=Math.sin(w+yo)*(i?i/2-l:u),t.arc(r-d,n-o,l,w-At,w-Ht),t.arc(r+h,n-s,l,w-Ht,w),t.arc(r+d,n+o,l,w,w+Ht),t.arc(r-h,n+s,l,w+Ht,w+At),t.closePath();break;case"rect":if(!g){u=Math.SQRT1_2*_,c=i?i/2:u,t.rect(r-c,n-u,2*c,2*u);break}w+=yo;case"rectRot":d=Math.cos(w)*(i?i/2:_),s=Math.cos(w)*_,o=Math.sin(w)*_,h=Math.sin(w)*(i?i/2:_),t.moveTo(r-d,n-o),t.lineTo(r+h,n-s),t.lineTo(r+d,n+o),t.lineTo(r-h,n+s),t.closePath();break;case"crossRot":w+=yo;case"cross":d=Math.cos(w)*(i?i/2:_),s=Math.cos(w)*_,o=Math.sin(w)*_,h=Math.sin(w)*(i?i/2:_),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+h,n-s),t.lineTo(r-h,n+s);break;case"star":d=Math.cos(w)*(i?i/2:_),s=Math.cos(w)*_,o=Math.sin(w)*_,h=Math.sin(w)*(i?i/2:_),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+h,n-s),t.lineTo(r-h,n+s),w+=yo,d=Math.cos(w)*(i?i/2:_),s=Math.cos(w)*_,o=Math.sin(w)*_,h=Math.sin(w)*(i?i/2:_),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+h,n-s),t.lineTo(r-h,n+s);break;case"line":s=i?i/2:Math.cos(w)*_,o=Math.sin(w)*_,t.moveTo(r-s,n-o),t.lineTo(r+s,n+o);break;case"dash":t.moveTo(r,n),t.lineTo(r+Math.cos(w)*(i?i/2:_),n+Math.sin(w)*_);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function Fa(t,e,r){return r=r||.5,!e||t&&t.x>e.left-r&&t.x<e.right+r&&t.y>e.top-r&&t.y<e.bottom+r}function U0(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function G0(t){t.restore()}function Fde(t,e,r,n,i){if(!e)return t.lineTo(r.x,r.y);if(i==="middle"){const a=(e.x+r.x)/2;t.lineTo(a,e.y),t.lineTo(a,r.y)}else i==="after"!=!!n?t.lineTo(e.x,r.y):t.lineTo(r.x,e.y);t.lineTo(r.x,r.y)}function jde(t,e,r,n){if(!e)return t.lineTo(r.x,r.y);t.bezierCurveTo(n?e.cp1x:e.cp2x,n?e.cp1y:e.cp2y,n?r.cp2x:r.cp1x,n?r.cp2y:r.cp1y,r.x,r.y)}function zde(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),We(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function Hde(t,e,r,n,i){if(i.strikethrough||i.underline){const a=t.measureText(n),s=e-a.actualBoundingBoxLeft,o=e+a.actualBoundingBoxRight,u=r-a.actualBoundingBoxAscent,l=r+a.actualBoundingBoxDescent,c=i.strikethrough?(u+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(s,c),t.lineTo(o,c),t.stroke()}}function Vde(t,e){const r=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=r}function gu(t,e,r,n,i,a={}){const s=wt(e)?e:[e],o=a.strokeWidth>0&&a.strokeColor!=="";let u,l;for(t.save(),t.font=i.string,zde(t,a),u=0;u<s.length;++u)l=s[u],a.backdrop&&Vde(t,a.backdrop),o&&(a.strokeColor&&(t.strokeStyle=a.strokeColor),We(a.strokeWidth)||(t.lineWidth=a.strokeWidth),t.strokeText(l,r,n,a.maxWidth)),t.fillText(l,r,n,a.maxWidth),Hde(t,r,n,l,a),n+=Number(i.lineHeight);t.restore()}function th(t,e){const{x:r,y:n,w:i,h:a,radius:s}=e;t.arc(r+s.topLeft,n+s.topLeft,s.topLeft,-Ht,At,!0),t.lineTo(r,n+a-s.bottomLeft),t.arc(r+s.bottomLeft,n+a-s.bottomLeft,s.bottomLeft,At,Ht,!0),t.lineTo(r+i-s.bottomRight,n+a),t.arc(r+i-s.bottomRight,n+a-s.bottomRight,s.bottomRight,Ht,0,!0),t.lineTo(r+i,n+s.topRight),t.arc(r+i-s.topRight,n+s.topRight,s.topRight,0,-Ht,!0),t.lineTo(r+s.topLeft,n)}const Ude=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Gde=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Wde(t,e){const r=(""+t).match(Ude);if(!r||r[1]==="normal")return e*1.2;switch(t=+r[2],r[3]){case"px":return t;case"%":t/=100;break}return e*t}const Yde=t=>+t||0;function Kx(t,e){const r={},n=He(e),i=n?Object.keys(e):e,a=He(t)?n?s=>Ie(t[s],t[e[s]]):s=>t[s]:()=>t;for(const s of i)r[s]=Yde(a(s));return r}function V4(t){return Kx(t,{top:"y",right:"x",bottom:"y",left:"x"})}function qo(t){return Kx(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Fr(t){const e=V4(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function sr(t,e){t=t||{},e=e||Vt.font;let r=Ie(t.size,e.size);typeof r=="string"&&(r=parseInt(r,10));let n=Ie(t.style,e.style);n&&!(""+n).match(Gde)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const i={family:Ie(t.family,e.family),lineHeight:Wde(Ie(t.lineHeight,e.lineHeight),r),size:r,style:n,weight:Ie(t.weight,e.weight),string:""};return i.string=Lde(i),i}function Qd(t,e,r,n){let i=!0,a,s,o;for(a=0,s=t.length;a<s;++a)if(o=t[a],o!==void 0&&(e!==void 0&&typeof o=="function"&&(o=o(e),i=!1),r!==void 0&&wt(o)&&(o=o[r%o.length],i=!1),o!==void 0))return n&&!i&&(n.cacheable=!1),o}function Kde(t,e,r){const{min:n,max:i}=t,a=M4(e,(i-n)/2),s=(o,u)=>r&&o===0?0:o+u;return{min:s(n,-Math.abs(a)),max:s(i,a)}}function ao(t,e){return Object.assign(Object.create(t),e)}function qx(t,e=[""],r,n,i=()=>t[0]){const a=r||t;typeof n>"u"&&(n=Y4("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:a,_fallback:n,_getTarget:i,override:o=>qx([o,...t],e,a,n)};return new Proxy(s,{deleteProperty(o,u){return delete o[u],delete o._keys,delete t[0][u],!0},get(o,u){return G4(o,u,()=>rfe(u,e,t,o))},getOwnPropertyDescriptor(o,u){return Reflect.getOwnPropertyDescriptor(o._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(o,u){return TD(o).includes(u)},ownKeys(o){return TD(o)},set(o,u,l){const c=o._storage||(o._storage=i());return o[u]=c[u]=l,delete o._keys,!0}})}function bc(t,e,r,n){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:r,_stack:new Set,_descriptors:U4(t,n),setContext:a=>bc(t,a,r,n),override:a=>bc(t.override(a),e,r,n)};return new Proxy(i,{deleteProperty(a,s){return delete a[s],delete t[s],!0},get(a,s,o){return G4(a,s,()=>Xde(a,s,o))},getOwnPropertyDescriptor(a,s){return a._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(a,s){return Reflect.has(t,s)},ownKeys(){return Reflect.ownKeys(t)},set(a,s,o){return t[s]=o,delete a[s],!0}})}function U4(t,e={scriptable:!0,indexable:!0}){const{_scriptable:r=e.scriptable,_indexable:n=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:r,indexable:n,isScriptable:Js(r)?r:()=>r,isIndexable:Js(n)?n:()=>n}}const qde=(t,e)=>t?t+Vx(e):e,Xx=(t,e)=>He(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function G4(t,e,r){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const n=r();return t[e]=n,n}function Xde(t,e,r){const{_proxy:n,_context:i,_subProxy:a,_descriptors:s}=t;let o=n[e];return Js(o)&&s.isScriptable(e)&&(o=Zde(e,o,t,r)),wt(o)&&o.length&&(o=Jde(e,o,t,s.isIndexable)),Xx(e,o)&&(o=bc(o,i,a&&a[e],s)),o}function Zde(t,e,r,n){const{_proxy:i,_context:a,_subProxy:s,_stack:o}=r;if(o.has(t))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+t);o.add(t);let u=e(a,s||n);return o.delete(t),Xx(t,u)&&(u=Zx(i._scopes,i,t,u)),u}function Jde(t,e,r,n){const{_proxy:i,_context:a,_subProxy:s,_descriptors:o}=r;if(typeof a.index<"u"&&n(t))return e[a.index%e.length];if(He(e[0])){const u=e,l=i._scopes.filter(c=>c!==u);e=[];for(const c of u){const d=Zx(l,i,t,c);e.push(bc(d,a,s&&s[t],o))}}return e}function W4(t,e,r){return Js(t)?t(e,r):t}const Qde=(t,e)=>t===!0?e:typeof t=="string"?Zs(e,t):void 0;function efe(t,e,r,n,i){for(const a of e){const s=Qde(r,a);if(s){t.add(s);const o=W4(s._fallback,r,i);if(typeof o<"u"&&o!==r&&o!==n)return o}else if(s===!1&&typeof n<"u"&&r!==n)return null}return!1}function Zx(t,e,r,n){const i=e._rootScopes,a=W4(e._fallback,r,n),s=[...t,...i],o=new Set;o.add(n);let u=xD(o,s,r,a||r,n);return u===null||typeof a<"u"&&a!==r&&(u=xD(o,s,a,u,n),u===null)?!1:qx(Array.from(o),[""],i,a,()=>tfe(e,r,n))}function xD(t,e,r,n,i){for(;r;)r=efe(t,e,r,n,i);return r}function tfe(t,e,r){const n=t._getTarget();e in n||(n[e]={});const i=n[e];return wt(i)&&He(r)?r:i||{}}function rfe(t,e,r,n){let i;for(const a of e)if(i=Y4(qde(a,t),r),typeof i<"u")return Xx(t,i)?Zx(r,n,t,i):i}function Y4(t,e){for(const r of e){if(!r)continue;const n=r[t];if(typeof n<"u")return n}}function TD(t){let e=t._keys;return e||(e=t._keys=nfe(t._scopes)),e}function nfe(t){const e=new Set;for(const r of t)for(const n of Object.keys(r).filter(i=>!i.startsWith("_")))e.add(n);return Array.from(e)}function K4(t,e,r,n){const{iScale:i}=t,{key:a="r"}=this._parsing,s=new Array(n);let o,u,l,c;for(o=0,u=n;o<u;++o)l=o+r,c=e[l],s[o]={r:i.parse(Zs(c,a),l)};return s}const ife=Number.EPSILON||1e-14,_c=(t,e)=>e<t.length&&!t[e].skip&&t[e],q4=t=>t==="x"?"y":"x";function afe(t,e,r,n){const i=t.skip?e:t,a=e,s=r.skip?e:r,o=J1(a,i),u=J1(s,a);let l=o/(o+u),c=u/(o+u);l=isNaN(l)?0:l,c=isNaN(c)?0:c;const d=n*l,h=n*c;return{previous:{x:a.x-d*(s.x-i.x),y:a.y-d*(s.y-i.y)},next:{x:a.x+h*(s.x-i.x),y:a.y+h*(s.y-i.y)}}}function sfe(t,e,r){const n=t.length;let i,a,s,o,u,l=_c(t,0);for(let c=0;c<n-1;++c)if(u=l,l=_c(t,c+1),!(!u||!l)){if(Sf(e[c],0,ife)){r[c]=r[c+1]=0;continue}i=r[c]/e[c],a=r[c+1]/e[c],o=Math.pow(i,2)+Math.pow(a,2),!(o<=9)&&(s=3/Math.sqrt(o),r[c]=i*s*e[c],r[c+1]=a*s*e[c])}}function ofe(t,e,r="x"){const n=q4(r),i=t.length;let a,s,o,u=_c(t,0);for(let l=0;l<i;++l){if(s=o,o=u,u=_c(t,l+1),!o)continue;const c=o[r],d=o[n];s&&(a=(c-s[r])/3,o[`cp1${r}`]=c-a,o[`cp1${n}`]=d-a*e[l]),u&&(a=(u[r]-c)/3,o[`cp2${r}`]=c+a,o[`cp2${n}`]=d+a*e[l])}}function ufe(t,e="x"){const r=q4(e),n=t.length,i=Array(n).fill(0),a=Array(n);let s,o,u,l=_c(t,0);for(s=0;s<n;++s)if(o=u,u=l,l=_c(t,s+1),!!u){if(l){const c=l[e]-u[e];i[s]=c!==0?(l[r]-u[r])/c:0}a[s]=o?l?ia(i[s-1])!==ia(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}sfe(t,i,a),ofe(t,a,e)}function Vp(t,e,r){return Math.max(Math.min(t,r),e)}function lfe(t,e){let r,n,i,a,s,o=Fa(t[0],e);for(r=0,n=t.length;r<n;++r)s=a,a=o,o=r<n-1&&Fa(t[r+1],e),a&&(i=t[r],s&&(i.cp1x=Vp(i.cp1x,e.left,e.right),i.cp1y=Vp(i.cp1y,e.top,e.bottom)),o&&(i.cp2x=Vp(i.cp2x,e.left,e.right),i.cp2y=Vp(i.cp2y,e.top,e.bottom)))}function cfe(t,e,r,n,i){let a,s,o,u;if(e.spanGaps&&(t=t.filter(l=>!l.skip)),e.cubicInterpolationMode==="monotone")ufe(t,i);else{let l=n?t[t.length-1]:t[0];for(a=0,s=t.length;a<s;++a)o=t[a],u=afe(l,o,t[Math.min(a+1,s-(n?0:1))%s],e.tension),o.cp1x=u.previous.x,o.cp1y=u.previous.y,o.cp2x=u.next.x,o.cp2y=u.next.y,l=o}e.capBezierPoints&&lfe(t,r)}function X4(){return typeof window<"u"&&typeof document<"u"}function Jx(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function yg(t,e,r){let n;return typeof t=="string"?(n=parseInt(t,10),t.indexOf("%")!==-1&&(n=n/100*e.parentNode[r])):n=t,n}const W0=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function dfe(t,e){return W0(t).getPropertyValue(e)}const ffe=["top","right","bottom","left"];function Xo(t,e,r){const n={};r=r?"-"+r:"";for(let i=0;i<4;i++){const a=ffe[i];n[a]=parseFloat(t[e+"-"+a+r])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const hfe=(t,e,r)=>(t>0||e>0)&&(!r||!r.shadowRoot);function pfe(t,e){const r=t.touches,n=r&&r.length?r[0]:t,{offsetX:i,offsetY:a}=n;let s=!1,o,u;if(hfe(i,a,t.target))o=i,u=a;else{const l=e.getBoundingClientRect();o=n.clientX-l.left,u=n.clientY-l.top,s=!0}return{x:o,y:u,box:s}}function Po(t,e){if("native"in t)return t;const{canvas:r,currentDevicePixelRatio:n}=e,i=W0(r),a=i.boxSizing==="border-box",s=Xo(i,"padding"),o=Xo(i,"border","width"),{x:u,y:l,box:c}=pfe(t,r),d=s.left+(c&&o.left),h=s.top+(c&&o.top);let{width:p,height:g}=e;return a&&(p-=s.width+o.width,g-=s.height+o.height),{x:Math.round((u-d)/p*r.width/n),y:Math.round((l-h)/g*r.height/n)}}function mfe(t,e,r){let n,i;if(e===void 0||r===void 0){const a=Jx(t);if(!a)e=t.clientWidth,r=t.clientHeight;else{const s=a.getBoundingClientRect(),o=W0(a),u=Xo(o,"border","width"),l=Xo(o,"padding");e=s.width-l.width-u.width,r=s.height-l.height-u.height,n=yg(o.maxWidth,a,"clientWidth"),i=yg(o.maxHeight,a,"clientHeight")}}return{width:e,height:r,maxWidth:n||bg,maxHeight:i||bg}}const Up=t=>Math.round(t*10)/10;function vfe(t,e,r,n){const i=W0(t),a=Xo(i,"margin"),s=yg(i.maxWidth,t,"clientWidth")||bg,o=yg(i.maxHeight,t,"clientHeight")||bg,u=mfe(t,e,r);let{width:l,height:c}=u;if(i.boxSizing==="content-box"){const h=Xo(i,"border","width"),p=Xo(i,"padding");l-=p.width+h.width,c-=p.height+h.height}return l=Math.max(0,l-a.width),c=Math.max(0,n?l/n:c-a.height),l=Up(Math.min(l,s,u.maxWidth)),c=Up(Math.min(c,o,u.maxHeight)),l&&!c&&(c=Up(l/2)),(e!==void 0||r!==void 0)&&n&&u.height&&c>u.height&&(c=u.height,l=Up(Math.floor(c*n))),{width:l,height:c}}function ED(t,e,r){const n=e||1,i=Math.floor(t.height*n),a=Math.floor(t.width*n);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const s=t.canvas;return s.style&&(r||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),t.currentDevicePixelRatio!==n||s.height!==i||s.width!==a?(t.currentDevicePixelRatio=n,s.height=i,s.width=a,t.ctx.setTransform(n,0,0,n,0,0),!0):!1}const gfe=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}return t}();function PD(t,e){const r=dfe(t,e),n=r&&r.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function Co(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:t.y+r*(e.y-t.y)}}function bfe(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:n==="middle"?r<.5?t.y:e.y:n==="after"?r<1?t.y:e.y:r>0?e.y:t.y}}function _fe(t,e,r,n){const i={x:t.cp2x,y:t.cp2y},a={x:e.cp1x,y:e.cp1y},s=Co(t,i,r),o=Co(i,a,r),u=Co(a,e,r),l=Co(s,o,r),c=Co(o,u,r);return Co(l,c,r)}const yfe=function(t,e){return{x(r){return t+t+e-r},setWidth(r){e=r},textAlign(r){return r==="center"?r:r==="right"?"left":"right"},xPlus(r,n){return r-n},leftForLtr(r,n){return r-n}}},wfe=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Wl(t,e,r){return t?yfe(e,r):wfe()}function Z4(t,e){let r,n;(e==="ltr"||e==="rtl")&&(r=t.canvas.style,n=[r.getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",e,"important"),t.prevTextDirection=n)}function J4(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Q4(t){return t==="angle"?{between:eh,compare:Ode,normalize:An}:{between:La,compare:(e,r)=>e-r,normalize:e=>e}}function CD({start:t,end:e,count:r,loop:n,style:i}){return{start:t%r,end:e%r,loop:n&&(e-t+1)%r===0,style:i}}function Ofe(t,e,r){const{property:n,start:i,end:a}=r,{between:s,normalize:o}=Q4(n),u=e.length;let{start:l,end:c,loop:d}=t,h,p;if(d){for(l+=u,c+=u,h=0,p=u;h<p&&s(o(e[l%u][n]),i,a);++h)l--,c--;l%=u,c%=u}return c<l&&(c+=u),{start:l,end:c,loop:d,style:t.style}}function e6(t,e,r){if(!r)return[t];const{property:n,start:i,end:a}=r,s=e.length,{compare:o,between:u,normalize:l}=Q4(n),{start:c,end:d,loop:h,style:p}=Ofe(t,e,r),g=[];let _=!1,w=null,S,E,x;const f=()=>u(i,x,S)&&o(i,x)!==0,m=()=>o(a,S)===0||u(a,x,S),v=()=>_||f(),T=()=>!_||m();for(let P=c,k=c;P<=d;++P)E=e[P%s],!E.skip&&(S=l(E[n]),S!==x&&(_=u(S,i,a),w===null&&v()&&(w=o(S,i)===0?P:k),w!==null&&T()&&(g.push(CD({start:w,end:P,loop:h,count:s,style:p})),w=null),k=P,x=S));return w!==null&&g.push(CD({start:w,end:d,loop:h,count:s,style:p})),g}function t6(t,e){const r=[],n=t.segments;for(let i=0;i<n.length;i++){const a=e6(n[i],t.points,e);a.length&&r.push(...a)}return r}function Sfe(t,e,r,n){let i=0,a=e-1;if(r&&!n)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,r&&(a+=i);a>i&&t[a%e].skip;)a--;return a%=e,{start:i,end:a}}function xfe(t,e,r,n){const i=t.length,a=[];let s=e,o=t[e],u;for(u=e+1;u<=r;++u){const l=t[u%i];l.skip||l.stop?o.skip||(n=!1,a.push({start:e%i,end:(u-1)%i,loop:n}),e=s=l.stop?u:null):(s=u,o.skip&&(e=u)),o=l}return s!==null&&a.push({start:e%i,end:s%i,loop:n}),a}function Tfe(t,e){const r=t.points,n=t.options.spanGaps,i=r.length;if(!i)return[];const a=!!t._loop,{start:s,end:o}=Sfe(r,i,a,n);if(n===!0)return AD(t,[{start:s,end:o,loop:a}],r,e);const u=o<s?o+i:o,l=!!t._fullLoop&&s===0&&o===i-1;return AD(t,xfe(r,s,u,l),r,e)}function AD(t,e,r,n){return!n||!n.setContext||!r?e:Efe(t,e,r,n)}function Efe(t,e,r,n){const i=t._chart.getContext(),a=$D(t.options),{_datasetIndex:s,options:{spanGaps:o}}=t,u=r.length,l=[];let c=a,d=e[0].start,h=d;function p(g,_,w,S){const E=o?-1:1;if(g!==_){for(g+=u;r[g%u].skip;)g-=E;for(;r[_%u].skip;)_+=E;g%u!==_%u&&(l.push({start:g%u,end:_%u,loop:w,style:S}),c=S,d=_%u)}}for(const g of e){d=o?d:g.start;let _=r[d%u],w;for(h=d+1;h<=g.end;h++){const S=r[h%u];w=$D(n.setContext(ao(i,{type:"segment",p0:_,p1:S,p0DataIndex:(h-1)%u,p1DataIndex:h%u,datasetIndex:s}))),Pfe(w,c)&&p(d,h-1,g.loop,c),_=S,c=w}d<h-1&&p(d,h-1,g.loop,c)}return l}function $D(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Pfe(t,e){if(!e)return!1;const r=[],n=function(i,a){return Yx(a)?(r.includes(a)||r.push(a),r.indexOf(a)):a};return JSON.stringify(t,n)!==JSON.stringify(e,n)}/*!
 * Chart.js v4.3.3
 * https://www.chartjs.org
 * (c) 2023 Chart.js Contributors
 * Released under the MIT License
 */class Cfe{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,r,n,i){const a=r.listeners[i],s=r.duration;a.forEach(o=>o({chart:e,initial:r.initial,numSteps:s,currentStep:Math.min(n-r.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=L4.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let r=0;this._charts.forEach((n,i)=>{if(!n.running||!n.items.length)return;const a=n.items;let s=a.length-1,o=!1,u;for(;s>=0;--s)u=a[s],u._active?(u._total>n.duration&&(n.duration=u._total),u.tick(e),o=!0):(a[s]=a[a.length-1],a.pop());o&&(i.draw(),this._notify(i,n,e,"progress")),a.length||(n.running=!1,this._notify(i,n,e,"complete"),n.initial=!1),r+=a.length}),this._lastDate=e,r===0&&(this._running=!1)}_getAnims(e){const r=this._charts;let n=r.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},r.set(e,n)),n}listen(e,r,n){this._getAnims(e).listeners[r].push(n)}add(e,r){!r||!r.length||this._getAnims(e).items.push(...r)}has(e){return this._getAnims(e).items.length>0}start(e){const r=this._charts.get(e);r&&(r.running=!0,r.start=Date.now(),r.duration=r.items.reduce((n,i)=>Math.max(n,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const r=this._charts.get(e);return!(!r||!r.running||!r.items.length)}stop(e){const r=this._charts.get(e);if(!r||!r.items.length)return;const n=r.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();r.items=[],this._notify(e,r,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var wa=new Cfe;const MD="transparent",Afe={boolean(t,e,r){return r>.5?e:t},color(t,e,r){const n=wD(t||MD),i=n.valid&&wD(e||MD);return i&&i.valid?i.mix(n,r).hexString():e},number(t,e,r){return t+(e-t)*r}};class $fe{constructor(e,r,n,i){const a=r[n];i=Qd([e.to,i,a,e.from]);const s=Qd([e.from,a,i]);this._active=!0,this._fn=e.fn||Afe[e.type||typeof s],this._easing=xf[e.easing]||xf.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=r,this._prop=n,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(e,r,n){if(this._active){this._notify(!1);const i=this._target[this._prop],a=n-this._start,s=this._duration-a;this._start=n,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=a,this._loop=!!e.loop,this._to=Qd([e.to,r,i,e.from]),this._from=Qd([e.from,i,r])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const r=e-this._start,n=this._duration,i=this._prop,a=this._from,s=this._loop,o=this._to;let u;if(this._active=a!==o&&(s||r<n),!this._active){this._target[i]=o,this._notify(!0);return}if(r<0){this._target[i]=a;return}u=r/n%2,u=s&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[i]=this._fn(a,o,u)}wait(){const e=this._promises||(this._promises=[]);return new Promise((r,n)=>{e.push({res:r,rej:n})})}_notify(e){const r=e?"res":"rej",n=this._promises||[];for(let i=0;i<n.length;i++)n[i][r]()}}class r6{constructor(e,r){this._chart=e,this._properties=new Map,this.configure(r)}configure(e){if(!He(e))return;const r=Object.keys(Vt.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const a=e[i];if(!He(a))return;const s={};for(const o of r)s[o]=a[o];(wt(a.properties)&&a.properties||[i]).forEach(o=>{(o===i||!n.has(o))&&n.set(o,s)})})}_animateOptions(e,r){const n=r.options,i=kfe(e,n);if(!i)return[];const a=this._createAnimations(i,n);return n.$shared&&Mfe(e.options.$animations,n).then(()=>{e.options=n},()=>{}),a}_createAnimations(e,r){const n=this._properties,i=[],a=e.$animations||(e.$animations={}),s=Object.keys(r),o=Date.now();let u;for(u=s.length-1;u>=0;--u){const l=s[u];if(l.charAt(0)==="$")continue;if(l==="options"){i.push(...this._animateOptions(e,r));continue}const c=r[l];let d=a[l];const h=n.get(l);if(d)if(h&&d.active()){d.update(h,c,o);continue}else d.cancel();if(!h||!h.duration){e[l]=c;continue}a[l]=d=new $fe(h,e,l,c),i.push(d)}return i}update(e,r){if(this._properties.size===0){Object.assign(e,r);return}const n=this._createAnimations(e,r);if(n.length)return wa.add(this._chart,n),!0}}function Mfe(t,e){const r=[],n=Object.keys(e);for(let i=0;i<n.length;i++){const a=t[n[i]];a&&a.active()&&r.push(a.wait())}return Promise.all(r)}function kfe(t,e){if(!e)return;let r=t.options;if(!r){t.options=e;return}return r.$shared&&(t.options=r=Object.assign({},r,{$shared:!1,$animations:{}})),r}function kD(t,e){const r=t&&t.options||{},n=r.reverse,i=r.min===void 0?e:0,a=r.max===void 0?e:0;return{start:n?a:i,end:n?i:a}}function Dfe(t,e,r){if(r===!1)return!1;const n=kD(t,r),i=kD(e,r);return{top:i.end,right:n.end,bottom:i.start,left:n.start}}function Rfe(t){let e,r,n,i;return He(t)?(e=t.top,r=t.right,n=t.bottom,i=t.left):e=r=n=i=t,{top:e,right:r,bottom:n,left:i,disabled:t===!1}}function n6(t,e){const r=[],n=t._getSortedDatasetMetas(e);let i,a;for(i=0,a=n.length;i<a;++i)r.push(n[i].index);return r}function DD(t,e,r,n={}){const i=t.keys,a=n.mode==="single";let s,o,u,l;if(e!==null){for(s=0,o=i.length;s<o;++s){if(u=+i[s],u===r){if(n.all)continue;break}l=t.values[u],zt(l)&&(a||e===0||ia(e)===ia(l))&&(e+=l)}return e}}function Ife(t){const e=Object.keys(t),r=new Array(e.length);let n,i,a;for(n=0,i=e.length;n<i;++n)a=e[n],r[n]={x:a,y:t[a]};return r}function RD(t,e){const r=t&&t.options.stacked;return r||r===void 0&&e.stack!==void 0}function Nfe(t,e,r){return`${t.id}.${e.id}.${r.stack||r.type}`}function Lfe(t){const{min:e,max:r,minDefined:n,maxDefined:i}=t.getUserBounds();return{min:n?e:Number.NEGATIVE_INFINITY,max:i?r:Number.POSITIVE_INFINITY}}function Bfe(t,e,r){const n=t[e]||(t[e]={});return n[r]||(n[r]={})}function ID(t,e,r,n){for(const i of e.getMatchingVisibleMetas(n).reverse()){const a=t[i.index];if(r&&a>0||!r&&a<0)return i.index}return null}function ND(t,e){const{chart:r,_cachedMeta:n}=t,i=r._stacks||(r._stacks={}),{iScale:a,vScale:s,index:o}=n,u=a.axis,l=s.axis,c=Nfe(a,s,n),d=e.length;let h;for(let p=0;p<d;++p){const g=e[p],{[u]:_,[l]:w}=g,S=g._stacks||(g._stacks={});h=S[l]=Bfe(i,c,_),h[o]=w,h._top=ID(h,s,!0,n.type),h._bottom=ID(h,s,!1,n.type);const E=h._visualValues||(h._visualValues={});E[o]=w}}function Cy(t,e){const r=t.scales;return Object.keys(r).filter(n=>r[n].axis===e).shift()}function Ffe(t,e){return ao(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function jfe(t,e,r){return ao(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:r,index:e,mode:"default",type:"data"})}function Od(t,e){const r=t.controller.index,n=t.vScale&&t.vScale.axis;if(n){e=e||t._parsed;for(const i of e){const a=i._stacks;if(!a||a[n]===void 0||a[n][r]===void 0)return;delete a[n][r],a[n]._visualValues!==void 0&&a[n]._visualValues[r]!==void 0&&delete a[n]._visualValues[r]}}}const Ay=t=>t==="reset"||t==="none",LD=(t,e)=>e?t:Object.assign({},t),zfe=(t,e,r)=>t&&!e.hidden&&e._stacked&&{keys:n6(r,!0),values:null};class _i{constructor(e,r){this.chart=e,this._ctx=e.ctx,this.index=r,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=RD(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Od(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,r=this._cachedMeta,n=this.getDataset(),i=(d,h,p,g)=>d==="x"?h:d==="r"?g:p,a=r.xAxisID=Ie(n.xAxisID,Cy(e,"x")),s=r.yAxisID=Ie(n.yAxisID,Cy(e,"y")),o=r.rAxisID=Ie(n.rAxisID,Cy(e,"r")),u=r.indexAxis,l=r.iAxisID=i(u,a,s,o),c=r.vAxisID=i(u,s,a,o);r.xScale=this.getScaleForId(a),r.yScale=this.getScaleForId(s),r.rScale=this.getScaleForId(o),r.iScale=this.getScaleForId(l),r.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const r=this._cachedMeta;return e===r.iScale?r.vScale:r.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&bD(this._data,this),e._stacked&&Od(e)}_dataCheck(){const e=this.getDataset(),r=e.data||(e.data=[]),n=this._data;if(He(r))this._data=Ife(r);else if(n!==r){if(n){bD(n,this);const i=this._cachedMeta;Od(i),i._parsed=[]}r&&Object.isExtensible(r)&&Ede(r,this),this._syncList=[],this._data=r}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const r=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const a=r._stacked;r._stacked=RD(r.vScale,r),r.stack!==n.stack&&(i=!0,Od(r),r.stack=n.stack),this._resyncElements(e),(i||a!==r._stacked)&&ND(this,r._parsed)}configure(){const e=this.chart.config,r=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),r,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,r){const{_cachedMeta:n,_data:i}=this,{iScale:a,_stacked:s}=n,o=a.axis;let u=e===0&&r===i.length?!0:n._sorted,l=e>0&&n._parsed[e-1],c,d,h;if(this._parsing===!1)n._parsed=i,n._sorted=!0,h=i;else{wt(i[e])?h=this.parseArrayData(n,i,e,r):He(i[e])?h=this.parseObjectData(n,i,e,r):h=this.parsePrimitiveData(n,i,e,r);const p=()=>d[o]===null||l&&d[o]<l[o];for(c=0;c<r;++c)n._parsed[c+e]=d=h[c],u&&(p()&&(u=!1),l=d);n._sorted=u}s&&ND(this,h)}parsePrimitiveData(e,r,n,i){const{iScale:a,vScale:s}=e,o=a.axis,u=s.axis,l=a.getLabels(),c=a===s,d=new Array(i);let h,p,g;for(h=0,p=i;h<p;++h)g=h+n,d[h]={[o]:c||a.parse(l[g],g),[u]:s.parse(r[g],g)};return d}parseArrayData(e,r,n,i){const{xScale:a,yScale:s}=e,o=new Array(i);let u,l,c,d;for(u=0,l=i;u<l;++u)c=u+n,d=r[c],o[u]={x:a.parse(d[0],c),y:s.parse(d[1],c)};return o}parseObjectData(e,r,n,i){const{xScale:a,yScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,l=new Array(i);let c,d,h,p;for(c=0,d=i;c<d;++c)h=c+n,p=r[h],l[c]={x:a.parse(Zs(p,o),h),y:s.parse(Zs(p,u),h)};return l}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,r,n){const i=this.chart,a=this._cachedMeta,s=r[e.axis],o={keys:n6(i,!0),values:r._stacks[e.axis]._visualValues};return DD(o,s,a.index,{mode:n})}updateRangeFromParsed(e,r,n,i){const a=n[r.axis];let s=a===null?NaN:a;const o=i&&n._stacks[r.axis];i&&o&&(i.values=o,s=DD(i,a,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,r){const n=this._cachedMeta,i=n._parsed,a=n._sorted&&e===n.iScale,s=i.length,o=this._getOtherScale(e),u=zfe(r,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=Lfe(o);let h,p;function g(){p=i[h];const _=p[o.axis];return!zt(p[e.axis])||c>_||d<_}for(h=0;h<s&&!(!g()&&(this.updateRangeFromParsed(l,e,p,u),a));++h);if(a){for(h=s-1;h>=0;--h)if(!g()){this.updateRangeFromParsed(l,e,p,u);break}}return l}getAllParsedValues(e){const r=this._cachedMeta._parsed,n=[];let i,a,s;for(i=0,a=r.length;i<a;++i)s=r[i][e.axis],zt(s)&&n.push(s);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const r=this._cachedMeta,n=r.iScale,i=r.vScale,a=this.getParsed(e);return{label:n?""+n.getLabelForValue(a[n.axis]):"",value:i?""+i.getLabelForValue(a[i.axis]):""}}_update(e){const r=this._cachedMeta;this.update(e||"default"),r._clip=Rfe(Ie(this.options.clip,Dfe(r.xScale,r.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,r=this.chart,n=this._cachedMeta,i=n.data||[],a=r.chartArea,s=[],o=this._drawStart||0,u=this._drawCount||i.length-o,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,a,o,u),c=o;c<o+u;++c){const d=i[c];d.hidden||(d.active&&l?s.push(d):d.draw(e,a))}for(c=0;c<s.length;++c)s[c].draw(e,a)}getStyle(e,r){const n=r?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,r,n){const i=this.getDataset();let a;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];a=s.$context||(s.$context=jfe(this.getContext(),e,s)),a.parsed=this.getParsed(e),a.raw=i.data[e],a.index=a.dataIndex=e}else a=this.$context||(this.$context=Ffe(this.chart.getContext(),this.index)),a.dataset=i,a.index=a.datasetIndex=this.index;return a.active=!!r,a.mode=n,a}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,r){return this._resolveElementOptions(this.dataElementType.id,r,e)}_resolveElementOptions(e,r="default",n){const i=r==="active",a=this._cachedDataOpts,s=e+"-"+r,o=a[s],u=this.enableOptionSharing&&Qf(n);if(o)return LD(o,u);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,e),d=i?[`${e}Hover`,"hover",e,""]:[e,""],h=l.getOptionScopes(this.getDataset(),c),p=Object.keys(Vt.elements[e]),g=()=>this.getContext(n,i,r),_=l.resolveNamedOptions(h,p,g,d);return _.$shared&&(_.$shared=u,a[s]=Object.freeze(LD(_,u))),_}_resolveAnimations(e,r,n){const i=this.chart,a=this._cachedDataOpts,s=`animation-${r}`,o=a[s];if(o)return o;let u;if(i.options.animation!==!1){const c=this.chart.config,d=c.datasetAnimationScopeKeys(this._type,r),h=c.getOptionScopes(this.getDataset(),d);u=c.createResolver(h,this.getContext(e,n,r))}const l=new r6(i,u&&u.animations);return u&&u._cacheable&&(a[s]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,r){return!r||Ay(e)||this.chart._animationsDisabled}_getSharedOptions(e,r){const n=this.resolveDataElementOptions(e,r),i=this._sharedOptions,a=this.getSharedOptions(n),s=this.includeOptions(r,a)||a!==i;return this.updateSharedOptions(a,r,n),{sharedOptions:a,includeOptions:s}}updateElement(e,r,n,i){Ay(i)?Object.assign(e,n):this._resolveAnimations(r,i).update(e,n)}updateSharedOptions(e,r,n){e&&!Ay(r)&&this._resolveAnimations(void 0,r).update(e,n)}_setStyle(e,r,n,i){e.active=i;const a=this.getStyle(r,i);this._resolveAnimations(r,n,i).update(e,{options:!i&&this.getSharedOptions(a)||a})}removeHoverStyle(e,r,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,r,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const r=this._data,n=this._cachedMeta.data;for(const[o,u,l]of this._syncList)this[o](u,l);this._syncList=[];const i=n.length,a=r.length,s=Math.min(a,i);s&&this.parse(0,s),a>i?this._insertElements(i,a-i,e):a<i&&this._removeElements(a,i-a)}_insertElements(e,r,n=!0){const i=this._cachedMeta,a=i.data,s=e+r;let o;const u=l=>{for(l.length+=r,o=l.length-1;o>=s;o--)l[o]=l[o-r]};for(u(a),o=e;o<s;++o)a[o]=new this.dataElementType;this._parsing&&u(i._parsed),this.parse(e,r),n&&this.updateElements(a,e,r,"reset")}updateElements(e,r,n,i){}_removeElements(e,r){const n=this._cachedMeta;if(this._parsing){const i=n._parsed.splice(e,r);n._stacked&&Od(n,i)}n.data.splice(e,r)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[r,n,i]=e;this[r](n,i)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,r){r&&this._sync(["_removeElements",e,r]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}ie(_i,"defaults",{}),ie(_i,"datasetElementType",null),ie(_i,"dataElementType",null);function Hfe(t,e){if(!t._cache.$bar){const r=t.getMatchingVisibleMetas(e);let n=[];for(let i=0,a=r.length;i<a;i++)n=n.concat(r[i].controller.getAllParsedValues(t));t._cache.$bar=N4(n.sort((i,a)=>i-a))}return t._cache.$bar}function Vfe(t){const e=t.iScale,r=Hfe(e,t.type);let n=e._length,i,a,s,o;const u=()=>{s===32767||s===-32768||(Qf(o)&&(n=Math.min(n,Math.abs(s-o)||n)),o=s)};for(i=0,a=r.length;i<a;++i)s=e.getPixelForValue(r[i]),u();for(o=void 0,i=0,a=e.ticks.length;i<a;++i)s=e.getPixelForTick(i),u();return n}function Ufe(t,e,r,n){const i=r.barThickness;let a,s;return We(i)?(a=e.min*r.categoryPercentage,s=r.barPercentage):(a=i*n,s=1),{chunk:a/n,ratio:s,start:e.pixels[t]-a/2}}function Gfe(t,e,r,n){const i=e.pixels,a=i[t];let s=t>0?i[t-1]:null,o=t<i.length-1?i[t+1]:null;const u=r.categoryPercentage;s===null&&(s=a-(o===null?e.end-e.start:o-a)),o===null&&(o=a+a-s);const l=a-(a-Math.min(s,o))/2*u;return{chunk:Math.abs(o-s)/2*u/n,ratio:r.barPercentage,start:l}}function Wfe(t,e,r,n){const i=r.parse(t[0],n),a=r.parse(t[1],n),s=Math.min(i,a),o=Math.max(i,a);let u=s,l=o;Math.abs(s)>Math.abs(o)&&(u=o,l=s),e[r.axis]=l,e._custom={barStart:u,barEnd:l,start:i,end:a,min:s,max:o}}function i6(t,e,r,n){return wt(t)?Wfe(t,e,r,n):e[r.axis]=r.parse(t,n),e}function BD(t,e,r,n){const i=t.iScale,a=t.vScale,s=i.getLabels(),o=i===a,u=[];let l,c,d,h;for(l=r,c=r+n;l<c;++l)h=e[l],d={},d[i.axis]=o||i.parse(s[l],l),u.push(i6(h,d,a,l));return u}function $y(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function Yfe(t,e,r){return t!==0?ia(t):(e.isHorizontal()?1:-1)*(e.min>=r?1:-1)}function Kfe(t){let e,r,n,i,a;return t.horizontal?(e=t.base>t.x,r="left",n="right"):(e=t.base<t.y,r="bottom",n="top"),e?(i="end",a="start"):(i="start",a="end"),{start:r,end:n,reverse:e,top:i,bottom:a}}function qfe(t,e,r,n){let i=e.borderSkipped;const a={};if(!i){t.borderSkipped=a;return}if(i===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:o,reverse:u,top:l,bottom:c}=Kfe(t);i==="middle"&&r&&(t.enableBorderRadius=!0,(r._top||0)===n?i=l:(r._bottom||0)===n?i=c:(a[FD(c,s,o,u)]=!0,i=l)),a[FD(i,s,o,u)]=!0,t.borderSkipped=a}function FD(t,e,r,n){return n?(t=Xfe(t,e,r),t=jD(t,r,e)):t=jD(t,e,r),t}function Xfe(t,e,r){return t===e?r:t===r?e:t}function jD(t,e,r){return t==="start"?e:t==="end"?r:t}function Zfe(t,{inflateAmount:e},r){t.inflateAmount=e==="auto"?r===1?.33:0:e}class Gm extends _i{parsePrimitiveData(e,r,n,i){return BD(e,r,n,i)}parseArrayData(e,r,n,i){return BD(e,r,n,i)}parseObjectData(e,r,n,i){const{iScale:a,vScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,l=a.axis==="x"?o:u,c=s.axis==="x"?o:u,d=[];let h,p,g,_;for(h=n,p=n+i;h<p;++h)_=r[h],g={},g[a.axis]=a.parse(Zs(_,l),h),d.push(i6(Zs(_,c),g,s,h));return d}updateRangeFromParsed(e,r,n,i){super.updateRangeFromParsed(e,r,n,i);const a=n._custom;a&&r===this._cachedMeta.vScale&&(e.min=Math.min(e.min,a.min),e.max=Math.max(e.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const r=this._cachedMeta,{iScale:n,vScale:i}=r,a=this.getParsed(e),s=a._custom,o=$y(s)?"["+s.start+", "+s.end+"]":""+i.getLabelForValue(a[i.axis]);return{label:""+n.getLabelForValue(a[n.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const r=this._cachedMeta;this.updateElements(r.data,0,r.data.length,e)}updateElements(e,r,n,i){const a=i==="reset",{index:s,_cachedMeta:{vScale:o}}=this,u=o.getBasePixel(),l=o.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(r,i);for(let p=r;p<r+n;p++){const g=this.getParsed(p),_=a||We(g[o.axis])?{base:u,head:u}:this._calculateBarValuePixels(p),w=this._calculateBarIndexPixels(p,c),S=(g._stacks||{})[o.axis],E={horizontal:l,base:_.base,enableBorderRadius:!S||$y(g._custom)||s===S._top||s===S._bottom,x:l?_.head:w.center,y:l?w.center:_.head,height:l?w.size:Math.abs(_.size),width:l?Math.abs(_.size):w.size};h&&(E.options=d||this.resolveDataElementOptions(p,e[p].active?"active":i));const x=E.options||e[p].options;qfe(E,x,S,s),Zfe(E,x,c.ratio),this.updateElement(e[p],p,E,i)}}_getStacks(e,r){const{iScale:n}=this._cachedMeta,i=n.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),a=n.options.stacked,s=[],o=u=>{const l=u.controller.getParsed(r),c=l&&l[u.vScale.axis];if(We(c)||isNaN(c))return!0};for(const u of i)if(!(r!==void 0&&o(u))&&((a===!1||s.indexOf(u.stack)===-1||a===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,r,n){const i=this._getStacks(e,n),a=r!==void 0?i.indexOf(r):-1;return a===-1?i.length-1:a}_getRuler(){const e=this.options,r=this._cachedMeta,n=r.iScale,i=[];let a,s;for(a=0,s=r.data.length;a<s;++a)i.push(n.getPixelForValue(this.getParsed(a)[n.axis],a));const o=e.barThickness;return{min:o||Vfe(r),pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:o?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:r,_stacked:n,index:i},options:{base:a,minBarLength:s}}=this,o=a||0,u=this.getParsed(e),l=u._custom,c=$y(l);let d=u[r.axis],h=0,p=n?this.applyStack(r,u,n):d,g,_;p!==d&&(h=p-d,p=d),c&&(d=l.barStart,p=l.barEnd-l.barStart,d!==0&&ia(d)!==ia(l.barEnd)&&(h=0),h+=d);const w=!We(a)&&!c?a:h;let S=r.getPixelForValue(w);if(this.chart.getDataVisibility(e)?g=r.getPixelForValue(h+p):g=S,_=g-S,Math.abs(_)<s){_=Yfe(_,r,o)*s,d===o&&(S-=_/2);const E=r.getPixelForDecimal(0),x=r.getPixelForDecimal(1),f=Math.min(E,x),m=Math.max(E,x);S=Math.max(Math.min(S,m),f),g=S+_,n&&!c&&(u._stacks[r.axis]._visualValues[i]=r.getValueForPixel(g)-r.getValueForPixel(S))}if(S===r.getPixelForValue(o)){const E=ia(_)*r.getLineWidthForValue(o)/2;S+=E,_-=E}return{size:_,base:S,head:g,center:g+_/2}}_calculateBarIndexPixels(e,r){const n=r.scale,i=this.options,a=i.skipNull,s=Ie(i.maxBarThickness,1/0);let o,u;if(r.grouped){const l=a?this._getStackCount(e):r.stackCount,c=i.barThickness==="flex"?Gfe(e,r,i,l):Ufe(e,r,i,l),d=this._getStackIndex(this.index,this._cachedMeta.stack,a?e:void 0);o=c.start+c.chunk*d+c.chunk/2,u=Math.min(s,c.chunk*c.ratio)}else o=n.getPixelForValue(this.getParsed(e)[n.axis],e),u=Math.min(s,r.min*r.ratio);return{base:o-u/2,head:o+u/2,center:o,size:u}}draw(){const e=this._cachedMeta,r=e.vScale,n=e.data,i=n.length;let a=0;for(;a<i;++a)this.getParsed(a)[r.axis]!==null&&n[a].draw(this._ctx)}}ie(Gm,"id","bar"),ie(Gm,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),ie(Gm,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class Wm extends _i{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,r,n,i){const a=super.parsePrimitiveData(e,r,n,i);for(let s=0;s<a.length;s++)a[s]._custom=this.resolveDataElementOptions(s+n).radius;return a}parseArrayData(e,r,n,i){const a=super.parseArrayData(e,r,n,i);for(let s=0;s<a.length;s++){const o=r[n+s];a[s]._custom=Ie(o[2],this.resolveDataElementOptions(s+n).radius)}return a}parseObjectData(e,r,n,i){const a=super.parseObjectData(e,r,n,i);for(let s=0;s<a.length;s++){const o=r[n+s];a[s]._custom=Ie(o&&o.r&&+o.r,this.resolveDataElementOptions(s+n).radius)}return a}getMaxOverflow(){const e=this._cachedMeta.data;let r=0;for(let n=e.length-1;n>=0;--n)r=Math.max(r,e[n].size(this.resolveDataElementOptions(n))/2);return r>0&&r}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart.data.labels||[],{xScale:i,yScale:a}=r,s=this.getParsed(e),o=i.getLabelForValue(s.x),u=a.getLabelForValue(s.y),l=s._custom;return{label:n[e]||"",value:"("+o+", "+u+(l?", "+l:"")+")"}}update(e){const r=this._cachedMeta.data;this.updateElements(r,0,r.length,e)}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o}=this._cachedMeta,{sharedOptions:u,includeOptions:l}=this._getSharedOptions(r,i),c=s.axis,d=o.axis;for(let h=r;h<r+n;h++){const p=e[h],g=!a&&this.getParsed(h),_={},w=_[c]=a?s.getPixelForDecimal(.5):s.getPixelForValue(g[c]),S=_[d]=a?o.getBasePixel():o.getPixelForValue(g[d]);_.skip=isNaN(w)||isNaN(S),l&&(_.options=u||this.resolveDataElementOptions(h,p.active?"active":i),a&&(_.options.radius=0)),this.updateElement(p,h,_,i)}}resolveDataElementOptions(e,r){const n=this.getParsed(e);let i=super.resolveDataElementOptions(e,r);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const a=i.radius;return r!=="active"&&(i.radius=0),i.radius+=Ie(n&&n._custom,a),i}}ie(Wm,"id","bubble"),ie(Wm,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),ie(Wm,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function Jfe(t,e,r){let n=1,i=1,a=0,s=0;if(e<Ot){const o=t,u=o+e,l=Math.cos(o),c=Math.sin(o),d=Math.cos(u),h=Math.sin(u),p=(x,f,m)=>eh(x,o,u,!0)?1:Math.max(f,f*r,m,m*r),g=(x,f,m)=>eh(x,o,u,!0)?-1:Math.min(f,f*r,m,m*r),_=p(0,l,d),w=p(Ht,c,h),S=g(At,l,d),E=g(At+Ht,c,h);n=(_-S)/2,i=(w-E)/2,a=-(_+S)/2,s=-(w+E)/2}return{ratioX:n,ratioY:i,offsetX:a,offsetY:s}}class Fo extends _i{constructor(e,r){super(e,r),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,r){const n=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=n;else{let a=u=>+n[u];if(He(n[e])){const{key:u="value"}=this._parsing;a=l=>+Zs(n[l],u)}let s,o;for(s=e,o=e+r;s<o;++s)i._parsed[s]=a(s)}}_getRotation(){return mi(this.options.rotation-90)}_getCircumference(){return mi(this.options.circumference)}_getRotationExtents(){let e=Ot,r=-Ot;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const i=this.chart.getDatasetMeta(n).controller,a=i._getRotation(),s=i._getCircumference();e=Math.min(e,a),r=Math.max(r,a+s)}return{rotation:e,circumference:r-e}}update(e){const r=this.chart,{chartArea:n}=r,i=this._cachedMeta,a=i.data,s=this.getMaxBorderWidth()+this.getMaxOffset(a)+this.options.spacing,o=Math.max((Math.min(n.width,n.height)-s)/2,0),u=Math.min(fde(this.options.cutout,o),1),l=this._getRingWeight(this.index),{circumference:c,rotation:d}=this._getRotationExtents(),{ratioX:h,ratioY:p,offsetX:g,offsetY:_}=Jfe(d,c,u),w=(n.width-s)/h,S=(n.height-s)/p,E=Math.max(Math.min(w,S)/2,0),x=M4(this.options.radius,E),f=Math.max(x*u,0),m=(x-f)/this._getVisibleDatasetWeightTotal();this.offsetX=g*x,this.offsetY=_*x,i.total=this.calculateTotal(),this.outerRadius=x-m*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-m*l,0),this.updateElements(a,0,a.length,e)}_circumference(e,r){const n=this.options,i=this._cachedMeta,a=this._getCircumference();return r&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||i._parsed[e]===null||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*a/Ot)}updateElements(e,r,n,i){const a=i==="reset",s=this.chart,o=s.chartArea,l=s.options.animation,c=(o.left+o.right)/2,d=(o.top+o.bottom)/2,h=a&&l.animateScale,p=h?0:this.innerRadius,g=h?0:this.outerRadius,{sharedOptions:_,includeOptions:w}=this._getSharedOptions(r,i);let S=this._getRotation(),E;for(E=0;E<r;++E)S+=this._circumference(E,a);for(E=r;E<r+n;++E){const x=this._circumference(E,a),f=e[E],m={x:c+this.offsetX,y:d+this.offsetY,startAngle:S,endAngle:S+x,circumference:x,outerRadius:g,innerRadius:p};w&&(m.options=_||this.resolveDataElementOptions(E,f.active?"active":i)),S+=x,this.updateElement(f,E,m,i)}}calculateTotal(){const e=this._cachedMeta,r=e.data;let n=0,i;for(i=0;i<r.length;i++){const a=e._parsed[i];a!==null&&!isNaN(a)&&this.chart.getDataVisibility(i)&&!r[i].hidden&&(n+=Math.abs(a))}return n}calculateCircumference(e){const r=this._cachedMeta.total;return r>0&&!isNaN(e)?Ot*(Math.abs(e)/r):0}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart,i=n.data.labels||[],a=Ah(r._parsed[e],n.options.locale);return{label:i[e]||"",value:a}}getMaxBorderWidth(e){let r=0;const n=this.chart;let i,a,s,o,u;if(!e){for(i=0,a=n.data.datasets.length;i<a;++i)if(n.isDatasetVisible(i)){s=n.getDatasetMeta(i),e=s.data,o=s.controller;break}}if(!e)return 0;for(i=0,a=e.length;i<a;++i)u=o.resolveDataElementOptions(i),u.borderAlign!=="inner"&&(r=Math.max(r,u.borderWidth||0,u.hoverBorderWidth||0));return r}getMaxOffset(e){let r=0;for(let n=0,i=e.length;n<i;++n){const a=this.resolveDataElementOptions(n);r=Math.max(r,a.offset||0,a.hoverOffset||0)}return r}_getRingWeightOffset(e){let r=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(r+=this._getRingWeight(n));return r}_getRingWeight(e){return Math.max(Ie(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}ie(Fo,"id","doughnut"),ie(Fo,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),ie(Fo,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),ie(Fo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const r=e.data;if(r.labels.length&&r.datasets.length){const{labels:{pointStyle:n,color:i}}=e.legend.options;return r.labels.map((a,s)=>{const u=e.getDatasetMeta(0).controller.getStyle(s);return{text:a,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:i,lineWidth:u.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}return[]}},onClick(e,r,n){n.chart.toggleDataVisibility(r.index),n.chart.update()}}}});class Ym extends _i{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const r=this._cachedMeta,{dataset:n,data:i=[],_dataset:a}=r,s=this.chart._animationsDisabled;let{start:o,count:u}=F4(r,i,s);this._drawStart=o,this._drawCount=u,j4(r)&&(o=0,u=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!a._decimated,n.points=i;const l=this.resolveDatasetElementOptions(e);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!s,options:l},e),this.updateElements(i,o,u,e)}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:u,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(r,i),h=s.axis,p=o.axis,{spanGaps:g,segment:_}=this.options,w=gc(g)?g:Number.POSITIVE_INFINITY,S=this.chart._animationsDisabled||a||i==="none",E=r+n,x=e.length;let f=r>0&&this.getParsed(r-1);for(let m=0;m<x;++m){const v=e[m],T=S?v:{};if(m<r||m>=E){T.skip=!0;continue}const P=this.getParsed(m),k=We(P[p]),y=T[h]=s.getPixelForValue(P[h],m),$=T[p]=a||k?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,P,u):P[p],m);T.skip=isNaN(y)||isNaN($)||k,T.stop=m>0&&Math.abs(P[h]-f[h])>w,_&&(T.parsed=P,T.raw=l.data[m]),d&&(T.options=c||this.resolveDataElementOptions(m,v.active?"active":i)),S||this.updateElement(v,m,T,i),f=P}}getMaxOverflow(){const e=this._cachedMeta,r=e.dataset,n=r.options&&r.options.borderWidth||0,i=e.data||[];if(!i.length)return n;const a=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(n,a,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}ie(Ym,"id","line"),ie(Ym,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),ie(Ym,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class Ef extends _i{constructor(e,r){super(e,r),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart,i=n.data.labels||[],a=Ah(r._parsed[e].r,n.options.locale);return{label:i[e]||"",value:a}}parseObjectData(e,r,n,i){return K4.bind(this)(e,r,n,i)}update(e){const r=this._cachedMeta.data;this._updateRadius(),this.updateElements(r,0,r.length,e)}getMinMax(){const e=this._cachedMeta,r={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((n,i)=>{const a=this.getParsed(i).r;!isNaN(a)&&this.chart.getDataVisibility(i)&&(a<r.min&&(r.min=a),a>r.max&&(r.max=a))}),r}_updateRadius(){const e=this.chart,r=e.chartArea,n=e.options,i=Math.min(r.right-r.left,r.bottom-r.top),a=Math.max(i/2,0),s=Math.max(n.cutoutPercentage?a/100*n.cutoutPercentage:1,0),o=(a-s)/e.getVisibleDatasetCount();this.outerRadius=a-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(e,r,n,i){const a=i==="reset",s=this.chart,u=s.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,d=l.yCenter,h=l.getIndexAngle(0)-.5*At;let p=h,g;const _=360/this.countVisibleElements();for(g=0;g<r;++g)p+=this._computeAngle(g,i,_);for(g=r;g<r+n;g++){const w=e[g];let S=p,E=p+this._computeAngle(g,i,_),x=s.getDataVisibility(g)?l.getDistanceFromCenterForValue(this.getParsed(g).r):0;p=E,a&&(u.animateScale&&(x=0),u.animateRotate&&(S=E=h));const f={x:c,y:d,innerRadius:0,outerRadius:x,startAngle:S,endAngle:E,options:this.resolveDataElementOptions(g,w.active?"active":i)};this.updateElement(w,g,f,i)}}countVisibleElements(){const e=this._cachedMeta;let r=0;return e.data.forEach((n,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&r++}),r}_computeAngle(e,r,n){return this.chart.getDataVisibility(e)?mi(this.resolveDataElementOptions(e,r).angle||n):0}}ie(Ef,"id","polarArea"),ie(Ef,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),ie(Ef,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const r=e.data;if(r.labels.length&&r.datasets.length){const{labels:{pointStyle:n,color:i}}=e.legend.options;return r.labels.map((a,s)=>{const u=e.getDatasetMeta(0).controller.getStyle(s);return{text:a,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:i,lineWidth:u.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}return[]}},onClick(e,r,n){n.chart.toggleDataVisibility(r.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class tO extends Fo{}ie(tO,"id","pie"),ie(tO,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class Km extends _i{getLabelAndValue(e){const r=this._cachedMeta.vScale,n=this.getParsed(e);return{label:r.getLabels()[e],value:""+r.getLabelForValue(n[r.axis])}}parseObjectData(e,r,n,i){return K4.bind(this)(e,r,n,i)}update(e){const r=this._cachedMeta,n=r.dataset,i=r.data||[],a=r.iScale.getLabels();if(n.points=i,e!=="resize"){const s=this.resolveDatasetElementOptions(e);this.options.showLine||(s.borderWidth=0);const o={_loop:!0,_fullLoop:a.length===i.length,options:s};this.updateElement(n,void 0,o,e)}this.updateElements(i,0,i.length,e)}updateElements(e,r,n,i){const a=this._cachedMeta.rScale,s=i==="reset";for(let o=r;o<r+n;o++){const u=e[o],l=this.resolveDataElementOptions(o,u.active?"active":i),c=a.getPointPositionForValue(o,this.getParsed(o).r),d=s?a.xCenter:c.x,h=s?a.yCenter:c.y,p={x:d,y:h,angle:c.angle,skip:isNaN(d)||isNaN(h),options:l};this.updateElement(u,o,p,i)}}}ie(Km,"id","radar"),ie(Km,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),ie(Km,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class qm extends _i{getLabelAndValue(e){const r=this._cachedMeta,n=this.chart.data.labels||[],{xScale:i,yScale:a}=r,s=this.getParsed(e),o=i.getLabelForValue(s.x),u=a.getLabelForValue(s.y);return{label:n[e]||"",value:"("+o+", "+u+")"}}update(e){const r=this._cachedMeta,{data:n=[]}=r,i=this.chart._animationsDisabled;let{start:a,count:s}=F4(r,n,i);if(this._drawStart=a,this._drawCount=s,j4(r)&&(a=0,s=n.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:o,_dataset:u}=r;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!u._decimated,o.points=n;const l=this.resolveDatasetElementOptions(e);l.segment=this.options.segment,this.updateElement(o,void 0,{animated:!i,options:l},e)}else this.datasetElementType&&(delete r.dataset,this.datasetElementType=!1);this.updateElements(n,a,s,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:u,_dataset:l}=this._cachedMeta,c=this.resolveDataElementOptions(r,i),d=this.getSharedOptions(c),h=this.includeOptions(i,d),p=s.axis,g=o.axis,{spanGaps:_,segment:w}=this.options,S=gc(_)?_:Number.POSITIVE_INFINITY,E=this.chart._animationsDisabled||a||i==="none";let x=r>0&&this.getParsed(r-1);for(let f=r;f<r+n;++f){const m=e[f],v=this.getParsed(f),T=E?m:{},P=We(v[g]),k=T[p]=s.getPixelForValue(v[p],f),y=T[g]=a||P?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,v,u):v[g],f);T.skip=isNaN(k)||isNaN(y)||P,T.stop=f>0&&Math.abs(v[p]-x[p])>S,w&&(T.parsed=v,T.raw=l.data[f]),h&&(T.options=d||this.resolveDataElementOptions(f,m.active?"active":i)),E||this.updateElement(m,f,T,i),x=v}this.updateSharedOptions(d,i,c)}getMaxOverflow(){const e=this._cachedMeta,r=e.data||[];if(!this.options.showLine){let o=0;for(let u=r.length-1;u>=0;--u)o=Math.max(o,r[u].size(this.resolveDataElementOptions(u))/2);return o>0&&o}const n=e.dataset,i=n.options&&n.options.borderWidth||0;if(!r.length)return i;const a=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,a,s)/2}}ie(qm,"id","scatter"),ie(qm,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),ie(qm,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var Qfe=Object.freeze({__proto__:null,BarController:Gm,BubbleController:Wm,DoughnutController:Fo,LineController:Ym,PieController:tO,PolarAreaController:Ef,RadarController:Km,ScatterController:qm});function Oo(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Qx{constructor(e){ie(this,"options");this.options=e||{}}static override(e){Object.assign(Qx.prototype,e)}init(){}formats(){return Oo()}parse(){return Oo()}format(){return Oo()}add(){return Oo()}diff(){return Oo()}startOf(){return Oo()}endOf(){return Oo()}}var a6={_date:Qx};function ehe(t,e,r,n){const{controller:i,data:a,_sorted:s}=t,o=i._cachedMeta.iScale;if(o&&e===o.axis&&e!=="r"&&s&&a.length){const u=o._reversePixels?xde:Ba;if(n){if(i._sharedOptions){const l=a[0],c=typeof l.getRange=="function"&&l.getRange(e);if(c){const d=u(a,e,r-c),h=u(a,e,r+c);return{lo:d.lo,hi:h.hi}}}}else return u(a,e,r)}return{lo:0,hi:a.length-1}}function $h(t,e,r,n,i){const a=t.getSortedVisibleDatasetMetas(),s=r[e];for(let o=0,u=a.length;o<u;++o){const{index:l,data:c}=a[o],{lo:d,hi:h}=ehe(a[o],e,s,i);for(let p=d;p<=h;++p){const g=c[p];g.skip||n(g,l,p)}}}function the(t){const e=t.indexOf("x")!==-1,r=t.indexOf("y")!==-1;return function(n,i){const a=e?Math.abs(n.x-i.x):0,s=r?Math.abs(n.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(s,2))}}function My(t,e,r,n,i){const a=[];return!i&&!t.isPointInArea(e)||$h(t,r,e,function(o,u,l){!i&&!Fa(o,t.chartArea,0)||o.inRange(e.x,e.y,n)&&a.push({element:o,datasetIndex:u,index:l})},!0),a}function rhe(t,e,r,n){let i=[];function a(s,o,u){const{startAngle:l,endAngle:c}=s.getProps(["startAngle","endAngle"],n),{angle:d}=R4(s,{x:e.x,y:e.y});eh(d,l,c)&&i.push({element:s,datasetIndex:o,index:u})}return $h(t,r,e,a),i}function nhe(t,e,r,n,i,a){let s=[];const o=the(r);let u=Number.POSITIVE_INFINITY;function l(c,d,h){const p=c.inRange(e.x,e.y,i);if(n&&!p)return;const g=c.getCenterPoint(i);if(!(!!a||t.isPointInArea(g))&&!p)return;const w=o(e,g);w<u?(s=[{element:c,datasetIndex:d,index:h}],u=w):w===u&&s.push({element:c,datasetIndex:d,index:h})}return $h(t,r,e,l),s}function ky(t,e,r,n,i,a){return!a&&!t.isPointInArea(e)?[]:r==="r"&&!n?rhe(t,e,r,i):nhe(t,e,r,n,i,a)}function zD(t,e,r,n,i){const a=[],s=r==="x"?"inXRange":"inYRange";let o=!1;return $h(t,r,e,(u,l,c)=>{u[s](e[r],i)&&(a.push({element:u,datasetIndex:l,index:c}),o=o||u.inRange(e.x,e.y,i))}),n&&!o?[]:a}var ihe={evaluateInteractionItems:$h,modes:{index(t,e,r,n){const i=Po(e,t),a=r.axis||"x",s=r.includeInvisible||!1,o=r.intersect?My(t,i,a,n,s):ky(t,i,a,!1,n,s),u=[];return o.length?(t.getSortedVisibleDatasetMetas().forEach(l=>{const c=o[0].index,d=l.data[c];d&&!d.skip&&u.push({element:d,datasetIndex:l.index,index:c})}),u):[]},dataset(t,e,r,n){const i=Po(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;let o=r.intersect?My(t,i,a,n,s):ky(t,i,a,!1,n,s);if(o.length>0){const u=o[0].datasetIndex,l=t.getDatasetMeta(u).data;o=[];for(let c=0;c<l.length;++c)o.push({element:l[c],datasetIndex:u,index:c})}return o},point(t,e,r,n){const i=Po(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return My(t,i,a,n,s)},nearest(t,e,r,n){const i=Po(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return ky(t,i,a,r.intersect,n,s)},x(t,e,r,n){const i=Po(e,t);return zD(t,i,"x",r.intersect,n)},y(t,e,r,n){const i=Po(e,t);return zD(t,i,"y",r.intersect,n)}}};const s6=["left","top","right","bottom"];function Sd(t,e){return t.filter(r=>r.pos===e)}function HD(t,e){return t.filter(r=>s6.indexOf(r.pos)===-1&&r.box.axis===e)}function xd(t,e){return t.sort((r,n)=>{const i=e?n:r,a=e?r:n;return i.weight===a.weight?i.index-a.index:i.weight-a.weight})}function ahe(t){const e=[];let r,n,i,a,s,o;for(r=0,n=(t||[]).length;r<n;++r)i=t[r],{position:a,options:{stack:s,stackWeight:o=1}}=i,e.push({index:r,box:i,pos:a,horizontal:i.isHorizontal(),weight:i.weight,stack:s&&a+s,stackWeight:o});return e}function she(t){const e={};for(const r of t){const{stack:n,pos:i,stackWeight:a}=r;if(!n||!s6.includes(i))continue;const s=e[n]||(e[n]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=a}return e}function ohe(t,e){const r=she(t),{vBoxMaxWidth:n,hBoxMaxHeight:i}=e;let a,s,o;for(a=0,s=t.length;a<s;++a){o=t[a];const{fullSize:u}=o.box,l=r[o.stack],c=l&&o.stackWeight/l.weight;o.horizontal?(o.width=c?c*n:u&&e.availableWidth,o.height=i):(o.width=n,o.height=c?c*i:u&&e.availableHeight)}return r}function uhe(t){const e=ahe(t),r=xd(e.filter(l=>l.box.fullSize),!0),n=xd(Sd(e,"left"),!0),i=xd(Sd(e,"right")),a=xd(Sd(e,"top"),!0),s=xd(Sd(e,"bottom")),o=HD(e,"x"),u=HD(e,"y");return{fullSize:r,leftAndTop:n.concat(a),rightAndBottom:i.concat(u).concat(s).concat(o),chartArea:Sd(e,"chartArea"),vertical:n.concat(i).concat(u),horizontal:a.concat(s).concat(o)}}function VD(t,e,r,n){return Math.max(t[r],e[r])+Math.max(t[n],e[n])}function o6(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function lhe(t,e,r,n){const{pos:i,box:a}=r,s=t.maxPadding;if(!He(i)){r.size&&(t[i]-=r.size);const d=n[r.stack]||{size:0,count:1};d.size=Math.max(d.size,r.horizontal?a.height:a.width),r.size=d.size/d.count,t[i]+=r.size}a.getPadding&&o6(s,a.getPadding());const o=Math.max(0,e.outerWidth-VD(s,t,"left","right")),u=Math.max(0,e.outerHeight-VD(s,t,"top","bottom")),l=o!==t.w,c=u!==t.h;return t.w=o,t.h=u,r.horizontal?{same:l,other:c}:{same:c,other:l}}function che(t){const e=t.maxPadding;function r(n){const i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=r("top"),t.x+=r("left"),r("right"),r("bottom")}function dhe(t,e){const r=e.maxPadding;function n(i){const a={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{a[s]=Math.max(e[s],r[s])}),a}return n(t?["left","right"]:["top","bottom"])}function ef(t,e,r,n){const i=[];let a,s,o,u,l,c;for(a=0,s=t.length,l=0;a<s;++a){o=t[a],u=o.box,u.update(o.width||e.w,o.height||e.h,dhe(o.horizontal,e));const{same:d,other:h}=lhe(e,r,o,n);l|=d&&i.length,c=c||h,u.fullSize||i.push(o)}return l&&ef(i,e,r,n)||c}function Gp(t,e,r,n,i){t.top=r,t.left=e,t.right=e+n,t.bottom=r+i,t.width=n,t.height=i}function UD(t,e,r,n){const i=r.padding;let{x:a,y:s}=e;for(const o of t){const u=o.box,l=n[o.stack]||{count:1,placed:0,weight:1},c=o.stackWeight/l.weight||1;if(o.horizontal){const d=e.w*c,h=l.size||u.height;Qf(l.start)&&(s=l.start),u.fullSize?Gp(u,i.left,s,r.outerWidth-i.right-i.left,h):Gp(u,e.left+l.placed,s,d,h),l.start=s,l.placed+=d,s=u.bottom}else{const d=e.h*c,h=l.size||u.width;Qf(l.start)&&(a=l.start),u.fullSize?Gp(u,a,i.top,h,r.outerHeight-i.bottom-i.top):Gp(u,a,e.top+l.placed,h,d),l.start=a,l.placed+=d,a=u.right}}e.x=a,e.y=s}var Dr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(r){e.draw(r)}}]},t.boxes.push(e)},removeBox(t,e){const r=t.boxes?t.boxes.indexOf(e):-1;r!==-1&&t.boxes.splice(r,1)},configure(t,e,r){e.fullSize=r.fullSize,e.position=r.position,e.weight=r.weight},update(t,e,r,n){if(!t)return;const i=Fr(t.options.layout.padding),a=Math.max(e-i.width,0),s=Math.max(r-i.height,0),o=uhe(t.boxes),u=o.vertical,l=o.horizontal;ot(t.boxes,_=>{typeof _.beforeLayout=="function"&&_.beforeLayout()});const c=u.reduce((_,w)=>w.box.options&&w.box.options.display===!1?_:_+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:r,padding:i,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/c,hBoxMaxHeight:s/2}),h=Object.assign({},i);o6(h,Fr(n));const p=Object.assign({maxPadding:h,w:a,h:s,x:i.left,y:i.top},i),g=ohe(u.concat(l),d);ef(o.fullSize,p,d,g),ef(u,p,d,g),ef(l,p,d,g)&&ef(u,p,d,g),che(p),UD(o.leftAndTop,p,d,g),p.x+=p.w,p.y+=p.h,UD(o.rightAndBottom,p,d,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},ot(o.chartArea,_=>{const w=_.box;Object.assign(w,t.chartArea),w.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class u6{acquireContext(e,r){}releaseContext(e){return!1}addEventListener(e,r,n){}removeEventListener(e,r,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,r,n,i){return r=Math.max(0,r||e.width),n=n||e.height,{width:r,height:Math.max(0,i?Math.floor(r/i):n)}}isAttached(e){return!0}updateConfig(e){}}class fhe extends u6{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Xm="$chartjs",hhe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},GD=t=>t===null||t==="";function phe(t,e){const r=t.style,n=t.getAttribute("height"),i=t.getAttribute("width");if(t[Xm]={initial:{height:n,width:i,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",r.boxSizing=r.boxSizing||"border-box",GD(i)){const a=PD(t,"width");a!==void 0&&(t.width=a)}if(GD(n))if(t.style.height==="")t.height=t.width/(e||2);else{const a=PD(t,"height");a!==void 0&&(t.height=a)}return t}const l6=gfe?{passive:!0}:!1;function mhe(t,e,r){t.addEventListener(e,r,l6)}function vhe(t,e,r){t.canvas.removeEventListener(e,r,l6)}function ghe(t,e){const r=hhe[t.type]||t.type,{x:n,y:i}=Po(t,e);return{type:r,chart:e,native:t,x:n!==void 0?n:null,y:i!==void 0?i:null}}function wg(t,e){for(const r of t)if(r===e||r.contains(e))return!0}function bhe(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||wg(o.addedNodes,n),s=s&&!wg(o.removedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}function _he(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||wg(o.removedNodes,n),s=s&&!wg(o.addedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}const rh=new Map;let WD=0;function c6(){const t=window.devicePixelRatio;t!==WD&&(WD=t,rh.forEach((e,r)=>{r.currentDevicePixelRatio!==t&&e()}))}function yhe(t,e){rh.size||window.addEventListener("resize",c6),rh.set(t,e)}function whe(t){rh.delete(t),rh.size||window.removeEventListener("resize",c6)}function Ohe(t,e,r){const n=t.canvas,i=n&&Jx(n);if(!i)return;const a=B4((o,u)=>{const l=i.clientWidth;r(o,u),l<i.clientWidth&&r()},window),s=new ResizeObserver(o=>{const u=o[0],l=u.contentRect.width,c=u.contentRect.height;l===0&&c===0||a(l,c)});return s.observe(i),yhe(t,a),s}function Dy(t,e,r){r&&r.disconnect(),e==="resize"&&whe(t)}function She(t,e,r){const n=t.canvas,i=B4(a=>{t.ctx!==null&&r(ghe(a,t))},t);return mhe(n,e,i),i}class xhe extends u6{acquireContext(e,r){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(phe(e,r),n):null}releaseContext(e){const r=e.canvas;if(!r[Xm])return!1;const n=r[Xm].initial;["height","width"].forEach(a=>{const s=n[a];We(s)?r.removeAttribute(a):r.setAttribute(a,s)});const i=n.style||{};return Object.keys(i).forEach(a=>{r.style[a]=i[a]}),r.width=r.width,delete r[Xm],!0}addEventListener(e,r,n){this.removeEventListener(e,r);const i=e.$proxies||(e.$proxies={}),s={attach:bhe,detach:_he,resize:Ohe}[r]||She;i[r]=s(e,r,n)}removeEventListener(e,r){const n=e.$proxies||(e.$proxies={}),i=n[r];if(!i)return;({attach:Dy,detach:Dy,resize:Dy}[r]||vhe)(e,r,i),n[r]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,r,n,i){return vfe(e,r,n,i)}isAttached(e){const r=Jx(e);return!!(r&&r.isConnected)}}function The(t){return!X4()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?fhe:xhe}var om;let Ja=(om=class{constructor(){ie(this,"x");ie(this,"y");ie(this,"active",!1);ie(this,"options");ie(this,"$animations")}tooltipPosition(e){const{x:r,y:n}=this.getProps(["x","y"],e);return{x:r,y:n}}hasValue(){return gc(this.x)&&gc(this.y)}getProps(e,r){const n=this.$animations;if(!r||!n)return this;const i={};return e.forEach(a=>{i[a]=n[a]&&n[a].active()?n[a]._to:this[a]}),i}},ie(om,"defaults",{}),ie(om,"defaultRoutes"),om);function Ehe(t,e){const r=t.options.ticks,n=Phe(t),i=Math.min(r.maxTicksLimit||n,n),a=r.major.enabled?Ahe(e):[],s=a.length,o=a[0],u=a[s-1],l=[];if(s>i)return $he(e,l,a,s/i),l;const c=Che(a,e,i);if(s>0){let d,h;const p=s>1?Math.round((u-o)/(s-1)):null;for(Wp(e,l,c,We(p)?0:o-p,o),d=0,h=s-1;d<h;d++)Wp(e,l,c,a[d],a[d+1]);return Wp(e,l,c,u,We(p)?e.length:u+p),l}return Wp(e,l,c),l}function Phe(t){const e=t.options.offset,r=t._tickSize(),n=t._length/r+(e?0:1),i=t._maxLength/r;return Math.floor(Math.min(n,i))}function Che(t,e,r){const n=Mhe(t),i=e.length/r;if(!n)return Math.max(i,1);const a=yde(n);for(let s=0,o=a.length-1;s<o;s++){const u=a[s];if(u>i)return u}return Math.max(i,1)}function Ahe(t){const e=[];let r,n;for(r=0,n=t.length;r<n;r++)t[r].major&&e.push(r);return e}function $he(t,e,r,n){let i=0,a=r[0],s;for(n=Math.ceil(n),s=0;s<t.length;s++)s===a&&(e.push(t[s]),i++,a=r[i*n])}function Wp(t,e,r,n,i){const a=Ie(n,0),s=Math.min(Ie(i,t.length),t.length);let o=0,u,l,c;for(r=Math.ceil(r),i&&(u=i-n,r=u/Math.floor(u/r)),c=a;c<0;)o++,c=Math.round(a+o*r);for(l=Math.max(a,0);l<s;l++)l===c&&(e.push(t[l]),o++,c=Math.round(a+o*r))}function Mhe(t){const e=t.length;let r,n;if(e<2)return!1;for(n=t[0],r=1;r<e;++r)if(t[r]-t[r-1]!==n)return!1;return n}const khe=t=>t==="left"?"right":t==="right"?"left":t,YD=(t,e,r)=>e==="top"||e==="left"?t[e]+r:t[e]-r,KD=(t,e)=>Math.min(e||t,t);function qD(t,e){const r=[],n=t.length/e,i=t.length;let a=0;for(;a<i;a+=n)r.push(t[Math.floor(a)]);return r}function Dhe(t,e,r){const n=t.ticks.length,i=Math.min(e,n-1),a=t._startPixel,s=t._endPixel,o=1e-6;let u=t.getPixelForTick(i),l;if(!(r&&(n===1?l=Math.max(u-a,s-u):e===0?l=(t.getPixelForTick(1)-u)/2:l=(u-t.getPixelForTick(i-1))/2,u+=i<e?l:-l,u<a-o||u>s+o)))return u}function Rhe(t,e){ot(t,r=>{const n=r.gc,i=n.length/2;let a;if(i>e){for(a=0;a<i;++a)delete r.data[n[a]];n.splice(0,i)}})}function Td(t){return t.drawTicks?t.tickLength:0}function XD(t,e){if(!t.display)return 0;const r=sr(t.font,e),n=Fr(t.padding);return(wt(t.text)?t.text.length:1)*r.lineHeight+n.height}function Ihe(t,e){return ao(t,{scale:e,type:"scale"})}function Nhe(t,e,r){return ao(t,{tick:r,index:e,type:"tick"})}function Lhe(t,e,r){let n=Wx(t);return(r&&e!=="right"||!r&&e==="right")&&(n=khe(n)),n}function Bhe(t,e,r,n){const{top:i,left:a,bottom:s,right:o,chart:u}=t,{chartArea:l,scales:c}=u;let d=0,h,p,g;const _=s-i,w=o-a;if(t.isHorizontal()){if(p=Ar(n,a,o),He(r)){const S=Object.keys(r)[0],E=r[S];g=c[S].getPixelForValue(E)+_-e}else r==="center"?g=(l.bottom+l.top)/2+_-e:g=YD(t,r,e);h=o-a}else{if(He(r)){const S=Object.keys(r)[0],E=r[S];p=c[S].getPixelForValue(E)-w+e}else r==="center"?p=(l.left+l.right)/2-w+e:p=YD(t,r,e);g=Ar(n,s,i),d=r==="left"?-Ht:Ht}return{titleX:p,titleY:g,maxWidth:h,rotation:d}}class $u extends Ja{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,r){return e}getUserBounds(){let{_userMin:e,_userMax:r,_suggestedMin:n,_suggestedMax:i}=this;return e=Tn(e,Number.POSITIVE_INFINITY),r=Tn(r,Number.NEGATIVE_INFINITY),n=Tn(n,Number.POSITIVE_INFINITY),i=Tn(i,Number.NEGATIVE_INFINITY),{min:Tn(e,n),max:Tn(r,i),minDefined:zt(e),maxDefined:zt(r)}}getMinMax(e){let{min:r,max:n,minDefined:i,maxDefined:a}=this.getUserBounds(),s;if(i&&a)return{min:r,max:n};const o=this.getMatchingVisibleMetas();for(let u=0,l=o.length;u<l;++u)s=o[u].controller.getMinMax(this,e),i||(r=Math.min(r,s.min)),a||(n=Math.max(n,s.max));return r=a&&r>n?n:r,n=i&&r>n?r:n,{min:Tn(r,Tn(n,r)),max:Tn(n,Tn(r,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){vt(this.options.beforeUpdate,[this])}update(e,r,n){const{beginAtZero:i,grace:a,ticks:s}=this.options,o=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=r,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Kde(this,a,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=o<this.ticks.length;this._convertTicksToLabels(u?qD(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=Ehe(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,r,n;this.isHorizontal()?(r=this.left,n=this.right):(r=this.top,n=this.bottom,e=!e),this._startPixel=r,this._endPixel=n,this._reversePixels=e,this._length=n-r,this._alignToPixels=this.options.alignToPixels}afterUpdate(){vt(this.options.afterUpdate,[this])}beforeSetDimensions(){vt(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){vt(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),vt(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){vt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const r=this.options.ticks;let n,i,a;for(n=0,i=e.length;n<i;n++)a=e[n],a.label=vt(r.callback,[a.value,n,e],this)}afterTickToLabelConversion(){vt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){vt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,r=e.ticks,n=KD(this.ticks.length,e.ticks.maxTicksLimit),i=r.minRotation||0,a=r.maxRotation;let s=i,o,u,l;if(!this._isVisible()||!r.display||i>=a||n<=1||!this.isHorizontal()){this.labelRotation=i;return}const c=this._getLabelSizes(),d=c.widest.width,h=c.highest.height,p=br(this.chart.width-d,0,this.maxWidth);o=e.offset?this.maxWidth/n:p/(n-1),d+6>o&&(o=p/(n-(e.offset?.5:1)),u=this.maxHeight-Td(e.grid)-r.padding-XD(e.title,this.chart.options.font),l=Math.sqrt(d*d+h*h),s=Ux(Math.min(Math.asin(br((c.highest.height+6)/o,-1,1)),Math.asin(br(u/l,-1,1))-Math.asin(br(h/l,-1,1)))),s=Math.max(i,Math.min(a,s))),this.labelRotation=s}afterCalculateLabelRotation(){vt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){vt(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:r,options:{ticks:n,title:i,grid:a}}=this,s=this._isVisible(),o=this.isHorizontal();if(s){const u=XD(i,r.options.font);if(o?(e.width=this.maxWidth,e.height=Td(a)+u):(e.height=this.maxHeight,e.width=Td(a)+u),n.display&&this.ticks.length){const{first:l,last:c,widest:d,highest:h}=this._getLabelSizes(),p=n.padding*2,g=mi(this.labelRotation),_=Math.cos(g),w=Math.sin(g);if(o){const S=n.mirror?0:w*d.width+_*h.height;e.height=Math.min(this.maxHeight,e.height+S+p)}else{const S=n.mirror?0:_*d.width+w*h.height;e.width=Math.min(this.maxWidth,e.width+S+p)}this._calculatePadding(l,c,w,_)}}this._handleMargins(),o?(this.width=this._length=r.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=r.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,r,n,i){const{ticks:{align:a,padding:s},position:o}=this.options,u=this.labelRotation!==0,l=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const c=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,p=0;u?l?(h=i*e.width,p=n*r.height):(h=n*e.height,p=i*r.width):a==="start"?p=r.width:a==="end"?h=e.width:a!=="inner"&&(h=e.width/2,p=r.width/2),this.paddingLeft=Math.max((h-c+s)*this.width/(this.width-c),0),this.paddingRight=Math.max((p-d+s)*this.width/(this.width-d),0)}else{let c=r.height/2,d=e.height/2;a==="start"?(c=0,d=e.height):a==="end"&&(c=r.height,d=0),this.paddingTop=c+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){vt(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:r}=this.options;return r==="top"||r==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let r,n;for(r=0,n=e.length;r<n;r++)We(e[r].label)&&(e.splice(r,1),n--,r--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const r=this.options.ticks.sampleSize;let n=this.ticks;r<n.length&&(n=qD(n,r)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,r,n){const{ctx:i,_longestTextCache:a}=this,s=[],o=[],u=Math.floor(r/KD(r,n));let l=0,c=0,d,h,p,g,_,w,S,E,x,f,m;for(d=0;d<r;d+=u){if(g=e[d].label,_=this._resolveTickFontOptions(d),i.font=w=_.string,S=a[w]=a[w]||{data:{},gc:[]},E=_.lineHeight,x=f=0,!We(g)&&!wt(g))x=_g(i,S.data,S.gc,x,g),f=E;else if(wt(g))for(h=0,p=g.length;h<p;++h)m=g[h],!We(m)&&!wt(m)&&(x=_g(i,S.data,S.gc,x,m),f+=E);s.push(x),o.push(f),l=Math.max(x,l),c=Math.max(f,c)}Rhe(a,r);const v=s.indexOf(l),T=o.indexOf(c),P=k=>({width:s[k]||0,height:o[k]||0});return{first:P(0),last:P(r-1),widest:P(v),highest:P(T),widths:s,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,r){return NaN}getValueForPixel(e){}getPixelForTick(e){const r=this.ticks;return e<0||e>r.length-1?null:this.getPixelForValue(r[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const r=this._startPixel+e*this._length;return Sde(this._alignToPixels?wo(this.chart,r,0):r)}getDecimalForPixel(e){const r=(e-this._startPixel)/this._length;return this._reversePixels?1-r:r}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:r}=this;return e<0&&r<0?r:e>0&&r>0?e:0}getContext(e){const r=this.ticks||[];if(e>=0&&e<r.length){const n=r[e];return n.$context||(n.$context=Nhe(this.getContext(),e,n))}return this.$context||(this.$context=Ihe(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,r=mi(this.labelRotation),n=Math.abs(Math.cos(r)),i=Math.abs(Math.sin(r)),a=this._getLabelSizes(),s=e.autoSkipPadding||0,o=a?a.widest.width+s:0,u=a?a.highest.height+s:0;return this.isHorizontal()?u*n>o*i?o/n:u/i:u*i<o*n?u/n:o/i}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const r=this.axis,n=this.chart,i=this.options,{grid:a,position:s,border:o}=i,u=a.offset,l=this.isHorizontal(),d=this.ticks.length+(u?1:0),h=Td(a),p=[],g=o.setContext(this.getContext()),_=g.display?g.width:0,w=_/2,S=function(M){return wo(n,M,_)};let E,x,f,m,v,T,P,k,y,$,C,O;if(s==="top")E=S(this.bottom),T=this.bottom-h,k=E-w,$=S(e.top)+w,O=e.bottom;else if(s==="bottom")E=S(this.top),$=e.top,O=S(e.bottom)-w,T=E+w,k=this.top+h;else if(s==="left")E=S(this.right),v=this.right-h,P=E-w,y=S(e.left)+w,C=e.right;else if(s==="right")E=S(this.left),y=e.left,C=S(e.right)-w,v=E+w,P=this.left+h;else if(r==="x"){if(s==="center")E=S((e.top+e.bottom)/2+.5);else if(He(s)){const M=Object.keys(s)[0],N=s[M];E=S(this.chart.scales[M].getPixelForValue(N))}$=e.top,O=e.bottom,T=E+w,k=T+h}else if(r==="y"){if(s==="center")E=S((e.left+e.right)/2);else if(He(s)){const M=Object.keys(s)[0],N=s[M];E=S(this.chart.scales[M].getPixelForValue(N))}v=E-w,P=v-h,y=e.left,C=e.right}const A=Ie(i.ticks.maxTicksLimit,d),D=Math.max(1,Math.ceil(d/A));for(x=0;x<d;x+=D){const M=this.getContext(x),N=a.setContext(M),F=o.setContext(M),j=N.lineWidth,H=N.color,W=F.dash||[],Z=F.dashOffset,te=N.tickWidth,Y=N.tickColor,G=N.tickBorderDash||[],U=N.tickBorderDashOffset;f=Dhe(this,x,u),f!==void 0&&(m=wo(n,f,j),l?v=P=y=C=m:T=k=$=O=m,p.push({tx1:v,ty1:T,tx2:P,ty2:k,x1:y,y1:$,x2:C,y2:O,width:j,color:H,borderDash:W,borderDashOffset:Z,tickWidth:te,tickColor:Y,tickBorderDash:G,tickBorderDashOffset:U}))}return this._ticksLength=d,this._borderValue=E,p}_computeLabelItems(e){const r=this.axis,n=this.options,{position:i,ticks:a}=n,s=this.isHorizontal(),o=this.ticks,{align:u,crossAlign:l,padding:c,mirror:d}=a,h=Td(n.grid),p=h+c,g=d?-c:p,_=-mi(this.labelRotation),w=[];let S,E,x,f,m,v,T,P,k,y,$,C,O="middle";if(i==="top")v=this.bottom-g,T=this._getXAxisLabelAlignment();else if(i==="bottom")v=this.top+g,T=this._getXAxisLabelAlignment();else if(i==="left"){const D=this._getYAxisLabelAlignment(h);T=D.textAlign,m=D.x}else if(i==="right"){const D=this._getYAxisLabelAlignment(h);T=D.textAlign,m=D.x}else if(r==="x"){if(i==="center")v=(e.top+e.bottom)/2+p;else if(He(i)){const D=Object.keys(i)[0],M=i[D];v=this.chart.scales[D].getPixelForValue(M)+p}T=this._getXAxisLabelAlignment()}else if(r==="y"){if(i==="center")m=(e.left+e.right)/2-p;else if(He(i)){const D=Object.keys(i)[0],M=i[D];m=this.chart.scales[D].getPixelForValue(M)}T=this._getYAxisLabelAlignment(h).textAlign}r==="y"&&(u==="start"?O="top":u==="end"&&(O="bottom"));const A=this._getLabelSizes();for(S=0,E=o.length;S<E;++S){x=o[S],f=x.label;const D=a.setContext(this.getContext(S));P=this.getPixelForTick(S)+a.labelOffset,k=this._resolveTickFontOptions(S),y=k.lineHeight,$=wt(f)?f.length:1;const M=$/2,N=D.color,F=D.textStrokeColor,j=D.textStrokeWidth;let H=T;s?(m=P,T==="inner"&&(S===E-1?H=this.options.reverse?"left":"right":S===0?H=this.options.reverse?"right":"left":H="center"),i==="top"?l==="near"||_!==0?C=-$*y+y/2:l==="center"?C=-A.highest.height/2-M*y+y:C=-A.highest.height+y/2:l==="near"||_!==0?C=y/2:l==="center"?C=A.highest.height/2-M*y:C=A.highest.height-$*y,d&&(C*=-1),_!==0&&!D.showLabelBackdrop&&(m+=y/2*Math.sin(_))):(v=P,C=(1-$)*y/2);let W;if(D.showLabelBackdrop){const Z=Fr(D.backdropPadding),te=A.heights[S],Y=A.widths[S];let G=C-Z.top,U=0-Z.left;switch(O){case"middle":G-=te/2;break;case"bottom":G-=te;break}switch(T){case"center":U-=Y/2;break;case"right":U-=Y;break}W={left:U,top:G,width:Y+Z.width,height:te+Z.height,color:D.backdropColor}}w.push({label:f,font:k,textOffset:C,options:{rotation:_,color:N,strokeColor:F,strokeWidth:j,textAlign:H,textBaseline:O,translation:[m,v],backdrop:W}})}return w}_getXAxisLabelAlignment(){const{position:e,ticks:r}=this.options;if(-mi(this.labelRotation))return e==="top"?"left":"right";let i="center";return r.align==="start"?i="left":r.align==="end"?i="right":r.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:r,ticks:{crossAlign:n,mirror:i,padding:a}}=this.options,s=this._getLabelSizes(),o=e+a,u=s.widest.width;let l,c;return r==="left"?i?(c=this.right+a,n==="near"?l="left":n==="center"?(l="center",c+=u/2):(l="right",c+=u)):(c=this.right-o,n==="near"?l="right":n==="center"?(l="center",c-=u/2):(l="left",c=this.left)):r==="right"?i?(c=this.left+a,n==="near"?l="right":n==="center"?(l="center",c-=u/2):(l="left",c-=u)):(c=this.left+o,n==="near"?l="left":n==="center"?(l="center",c+=u/2):(l="right",c=this.right)):l="right",{textAlign:l,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,r=this.options.position;if(r==="left"||r==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(r==="top"||r==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:r},left:n,top:i,width:a,height:s}=this;r&&(e.save(),e.fillStyle=r,e.fillRect(n,i,a,s),e.restore())}getLineWidthForValue(e){const r=this.options.grid;if(!this._isVisible()||!r.display)return 0;const i=this.ticks.findIndex(a=>a.value===e);return i>=0?r.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const r=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let a,s;const o=(u,l,c)=>{!c.width||!c.color||(n.save(),n.lineWidth=c.width,n.strokeStyle=c.color,n.setLineDash(c.borderDash||[]),n.lineDashOffset=c.borderDashOffset,n.beginPath(),n.moveTo(u.x,u.y),n.lineTo(l.x,l.y),n.stroke(),n.restore())};if(r.display)for(a=0,s=i.length;a<s;++a){const u=i[a];r.drawOnChartArea&&o({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),r.drawTicks&&o({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:r,options:{border:n,grid:i}}=this,a=n.setContext(this.getContext()),s=n.display?a.width:0;if(!s)return;const o=i.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let l,c,d,h;this.isHorizontal()?(l=wo(e,this.left,s)-s/2,c=wo(e,this.right,o)+o/2,d=h=u):(d=wo(e,this.top,s)-s/2,h=wo(e,this.bottom,o)+o/2,l=c=u),r.save(),r.lineWidth=a.width,r.strokeStyle=a.color,r.beginPath(),r.moveTo(l,d),r.lineTo(c,h),r.stroke(),r.restore()}drawLabels(e){if(!this.options.ticks.display)return;const n=this.ctx,i=this._computeLabelArea();i&&U0(n,i);const a=this.getLabelItems(e);for(const s of a){const o=s.options,u=s.font,l=s.label,c=s.textOffset;gu(n,l,0,c,u,o)}i&&G0(n)}drawTitle(){const{ctx:e,options:{position:r,title:n,reverse:i}}=this;if(!n.display)return;const a=sr(n.font),s=Fr(n.padding),o=n.align;let u=a.lineHeight/2;r==="bottom"||r==="center"||He(r)?(u+=s.bottom,wt(n.text)&&(u+=a.lineHeight*(n.text.length-1))):u+=s.top;const{titleX:l,titleY:c,maxWidth:d,rotation:h}=Bhe(this,u,r,o);gu(e,n.text,0,0,a,{color:n.color,maxWidth:d,rotation:h,textAlign:Lhe(o,r,i),textBaseline:"middle",translation:[l,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,r=e.ticks&&e.ticks.z||0,n=Ie(e.grid&&e.grid.z,-1),i=Ie(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==$u.prototype.draw?[{z:r,draw:a=>{this.draw(a)}}]:[{z:n,draw:a=>{this.drawBackground(),this.drawGrid(a),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:r,draw:a=>{this.drawLabels(a)}}]}getMatchingVisibleMetas(e){const r=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",i=[];let a,s;for(a=0,s=r.length;a<s;++a){const o=r[a];o[n]===this.id&&(!e||o.type===e)&&i.push(o)}return i}_resolveTickFontOptions(e){const r=this.options.ticks.setContext(this.getContext(e));return sr(r.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Yp{constructor(e,r,n){this.type=e,this.scope=r,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const r=Object.getPrototypeOf(e);let n;zhe(r)&&(n=this.register(r));const i=this.items,a=e.id,s=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+e);return a in i||(i[a]=e,Fhe(e,s,n),this.override&&Vt.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const r=this.items,n=e.id,i=this.scope;n in r&&delete r[n],i&&n in Vt[i]&&(delete Vt[i][n],this.override&&delete vu[n])}}function Fhe(t,e,r){const n=Jf(Object.create(null),[r?Vt.get(r):{},Vt.get(e),t.defaults]);Vt.set(e,n),t.defaultRoutes&&jhe(e,t.defaultRoutes),t.descriptors&&Vt.describe(e,t.descriptors)}function jhe(t,e){Object.keys(e).forEach(r=>{const n=r.split("."),i=n.pop(),a=[t].concat(n).join("."),s=e[r].split("."),o=s.pop(),u=s.join(".");Vt.route(a,i,u,o)})}function zhe(t){return"id"in t&&"defaults"in t}class Hhe{constructor(){this.controllers=new Yp(_i,"datasets",!0),this.elements=new Yp(Ja,"elements"),this.plugins=new Yp(Object,"plugins"),this.scales=new Yp($u,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,r,n){[...r].forEach(i=>{const a=n||this._getRegistryForType(i);n||a.isForType(i)||a===this.plugins&&i.id?this._exec(e,a,i):ot(i,s=>{const o=n||this._getRegistryForType(s);this._exec(e,o,s)})})}_exec(e,r,n){const i=Vx(e);vt(n["before"+i],[],n),r[e](n),vt(n["after"+i],[],n)}_getRegistryForType(e){for(let r=0;r<this._typedRegistries.length;r++){const n=this._typedRegistries[r];if(n.isForType(e))return n}return this.plugins}_get(e,r,n){const i=r.get(e);if(i===void 0)throw new Error('"'+e+'" is not a registered '+n+".");return i}}var Yi=new Hhe;class Vhe{constructor(){this._init=[]}notify(e,r,n,i){r==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const a=i?this._descriptors(e).filter(i):this._descriptors(e),s=this._notify(a,e,r,n);return r==="afterDestroy"&&(this._notify(a,e,"stop"),this._notify(this._init,e,"uninstall")),s}_notify(e,r,n,i){i=i||{};for(const a of e){const s=a.plugin,o=s[n],u=[r,i,a.options];if(vt(o,u,s)===!1&&i.cancelable)return!1}return!0}invalidate(){We(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const r=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),r}_createDescriptors(e,r){const n=e&&e.config,i=Ie(n.options&&n.options.plugins,{}),a=Uhe(n);return i===!1&&!r?[]:Whe(e,a,i,r)}_notifyStateChanges(e){const r=this._oldCache||[],n=this._cache,i=(a,s)=>a.filter(o=>!s.some(u=>o.plugin.id===u.plugin.id));this._notify(i(r,n),e,"stop"),this._notify(i(n,r),e,"start")}}function Uhe(t){const e={},r=[],n=Object.keys(Yi.plugins.items);for(let a=0;a<n.length;a++)r.push(Yi.getPlugin(n[a]));const i=t.plugins||[];for(let a=0;a<i.length;a++){const s=i[a];r.indexOf(s)===-1&&(r.push(s),e[s.id]=!0)}return{plugins:r,localIds:e}}function Ghe(t,e){return!e&&t===!1?null:t===!0?{}:t}function Whe(t,{plugins:e,localIds:r},n,i){const a=[],s=t.getContext();for(const o of e){const u=o.id,l=Ghe(n[u],i);l!==null&&a.push({plugin:o,options:Yhe(t.config,{plugin:o,local:r[u]},l,s)})}return a}function Yhe(t,{plugin:e,local:r},n,i){const a=t.pluginScopeKeys(e),s=t.getOptionScopes(n,a);return r&&e.defaults&&s.push(e.defaults),t.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function rO(t,e){const r=Vt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||r.indexAxis||"x"}function Khe(t,e){let r=t;return t==="_index_"?r=e:t==="_value_"&&(r=e==="x"?"y":"x"),r}function qhe(t,e){return t===e?"_index_":"_value_"}function ZD(t){if(t==="x"||t==="y"||t==="r")return t}function Xhe(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function nO(t,...e){if(ZD(t))return t;for(const r of e){const n=r.axis||Xhe(r.position)||t.length>1&&ZD(t[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function JD(t,e,r){if(r[e+"AxisID"]===t)return{axis:e}}function Zhe(t,e){if(e.data&&e.data.datasets){const r=e.data.datasets.filter(n=>n.xAxisID===t||n.yAxisID===t);if(r.length)return JD(t,"x",r[0])||JD(t,"y",r[0])}return{}}function Jhe(t,e){const r=vu[t.type]||{scales:{}},n=e.scales||{},i=rO(t.type,e),a=Object.create(null);return Object.keys(n).forEach(s=>{const o=n[s];if(!He(o))return console.error(`Invalid scale configuration for scale: ${s}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const u=nO(s,o,Zhe(s,t),Vt.scales[o.type]),l=qhe(u,i),c=r.scales||{};a[s]=Of(Object.create(null),[{axis:u},o,c[u],c[l]])}),t.data.datasets.forEach(s=>{const o=s.type||t.type,u=s.indexAxis||rO(o,e),c=(vu[o]||{}).scales||{};Object.keys(c).forEach(d=>{const h=Khe(d,u),p=s[h+"AxisID"]||h;a[p]=a[p]||Object.create(null),Of(a[p],[{axis:h},n[p],c[d]])})}),Object.keys(a).forEach(s=>{const o=a[s];Of(o,[Vt.scales[o.type],Vt.scale])}),a}function d6(t){const e=t.options||(t.options={});e.plugins=Ie(e.plugins,{}),e.scales=Jhe(t,e)}function f6(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Qhe(t){return t=t||{},t.data=f6(t.data),d6(t),t}const QD=new Map,h6=new Set;function Kp(t,e){let r=QD.get(t);return r||(r=e(),QD.set(t,r),h6.add(r)),r}const Ed=(t,e,r)=>{const n=Zs(e,r);n!==void 0&&t.add(n)};class epe{constructor(e){this._config=Qhe(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=f6(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),d6(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Kp(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,r){return Kp(`${e}.transition.${r}`,()=>[[`datasets.${e}.transitions.${r}`,`transitions.${r}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,r){return Kp(`${e}-${r}`,()=>[[`datasets.${e}.elements.${r}`,`datasets.${e}`,`elements.${r}`,""]])}pluginScopeKeys(e){const r=e.id,n=this.type;return Kp(`${n}-plugin-${r}`,()=>[[`plugins.${r}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,r){const n=this._scopeCache;let i=n.get(e);return(!i||r)&&(i=new Map,n.set(e,i)),i}getOptionScopes(e,r,n){const{options:i,type:a}=this,s=this._cachedScopes(e,n),o=s.get(r);if(o)return o;const u=new Set;r.forEach(c=>{e&&(u.add(e),c.forEach(d=>Ed(u,e,d))),c.forEach(d=>Ed(u,i,d)),c.forEach(d=>Ed(u,vu[a]||{},d)),c.forEach(d=>Ed(u,Vt,d)),c.forEach(d=>Ed(u,Q1,d))});const l=Array.from(u);return l.length===0&&l.push(Object.create(null)),h6.has(r)&&s.set(r,l),l}chartOptionScopes(){const{options:e,type:r}=this;return[e,vu[r]||{},Vt.datasets[r]||{},{type:r},Vt,Q1]}resolveNamedOptions(e,r,n,i=[""]){const a={$shared:!0},{resolver:s,subPrefixes:o}=e2(this._resolverCache,e,i);let u=s;if(rpe(s,r)){a.$shared=!1,n=Js(n)?n():n;const l=this.createResolver(e,n,o);u=bc(s,n,l)}for(const l of r)a[l]=u[l];return a}createResolver(e,r,n=[""],i){const{resolver:a}=e2(this._resolverCache,e,n);return He(r)?bc(a,r,void 0,i):a}}function e2(t,e,r){let n=t.get(e);n||(n=new Map,t.set(e,n));const i=r.join();let a=n.get(i);return a||(a={resolver:qx(e,r),subPrefixes:r.filter(o=>!o.toLowerCase().includes("hover"))},n.set(i,a)),a}const tpe=t=>He(t)&&Object.getOwnPropertyNames(t).reduce((e,r)=>e||Js(t[r]),!1);function rpe(t,e){const{isScriptable:r,isIndexable:n}=U4(t);for(const i of e){const a=r(i),s=n(i),o=(s||a)&&t[i];if(a&&(Js(o)||tpe(o))||s&&wt(o))return!0}return!1}var npe="4.3.3";const ipe=["top","bottom","left","right","chartArea"];function t2(t,e){return t==="top"||t==="bottom"||ipe.indexOf(t)===-1&&e==="x"}function r2(t,e){return function(r,n){return r[t]===n[t]?r[e]-n[e]:r[t]-n[t]}}function n2(t){const e=t.chart,r=e.options.animation;e.notifyPlugins("afterRender"),vt(r&&r.onComplete,[t],e)}function ape(t){const e=t.chart,r=e.options.animation;vt(r&&r.onProgress,[t],e)}function p6(t){return X4()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Zm={},i2=t=>{const e=p6(t);return Object.values(Zm).filter(r=>r.canvas===e).pop()};function spe(t,e,r){const n=Object.keys(t);for(const i of n){const a=+i;if(a>=e){const s=t[i];delete t[i],(r>0||a>e)&&(t[a+r]=s)}}}function ope(t,e,r,n){return!r||t.type==="mouseout"?null:n?e:t}function upe(t){const{xScale:e,yScale:r}=t;if(e&&r)return{left:e.left,right:e.right,top:r.top,bottom:r.bottom}}class Ao{static register(...e){Yi.add(...e),a2()}static unregister(...e){Yi.remove(...e),a2()}constructor(e,r){const n=this.config=new epe(r),i=p6(e),a=i2(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const s=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||The(i)),this.platform.updateConfig(n);const o=this.platform.acquireContext(i,s.aspectRatio),u=o&&o.canvas,l=u&&u.height,c=u&&u.width;if(this.id=dde(),this.ctx=o,this.canvas=u,this.width=c,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Vhe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Pde(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],Zm[this.id]=this,!o||!u){console.error("Failed to create chart: can't acquire context from the given item");return}wa.listen(this,"complete",n2),wa.listen(this,"progress",ape),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:r},width:n,height:i,_aspectRatio:a}=this;return We(e)?r&&a?a:i?n/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Yi}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ED(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return SD(this.canvas,this.ctx),this}stop(){return wa.stop(this),this}resize(e,r){wa.running(this)?this._resizeBeforeDraw={width:e,height:r}:this._resize(e,r)}_resize(e,r){const n=this.options,i=this.canvas,a=n.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,e,r,a),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,ED(this,o,!0)&&(this.notifyPlugins("resize",{size:s}),vt(n.onResize,[this,s],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const r=this.options.scales||{};ot(r,(n,i)=>{n.id=i})}buildOrUpdateScales(){const e=this.options,r=e.scales,n=this.scales,i=Object.keys(n).reduce((s,o)=>(s[o]=!1,s),{});let a=[];r&&(a=a.concat(Object.keys(r).map(s=>{const o=r[s],u=nO(s,o),l=u==="r",c=u==="x";return{options:o,dposition:l?"chartArea":c?"bottom":"left",dtype:l?"radialLinear":c?"category":"linear"}}))),ot(a,s=>{const o=s.options,u=o.id,l=nO(u,o),c=Ie(o.type,s.dtype);(o.position===void 0||t2(o.position,l)!==t2(s.dposition))&&(o.position=s.dposition),i[u]=!0;let d=null;if(u in n&&n[u].type===c)d=n[u];else{const h=Yi.getScale(c);d=new h({id:u,type:c,ctx:this.ctx,chart:this}),n[d.id]=d}d.init(o,e)}),ot(i,(s,o)=>{s||delete n[o]}),ot(n,s=>{Dr.configure(this,s,s.options),Dr.addBox(this,s)})}_updateMetasets(){const e=this._metasets,r=this.data.datasets.length,n=e.length;if(e.sort((i,a)=>i.index-a.index),n>r){for(let i=r;i<n;++i)this._destroyDatasetMeta(i);e.splice(r,n-r)}this._sortedMetasets=e.slice(0).sort(r2("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:r}}=this;e.length>r.length&&delete this._stacks,e.forEach((n,i)=>{r.filter(a=>a===n._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],r=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=r.length;n<i;n++){const a=r[n];let s=this.getDatasetMeta(n);const o=a.type||this.config.type;if(s.type&&s.type!==o&&(this._destroyDatasetMeta(n),s=this.getDatasetMeta(n)),s.type=o,s.indexAxis=a.indexAxis||rO(o,this.options),s.order=a.order||0,s.index=n,s.label=""+a.label,s.visible=this.isDatasetVisible(n),s.controller)s.controller.updateIndex(n),s.controller.linkScales();else{const u=Yi.getController(o),{datasetElementType:l,dataElementType:c}=Vt.datasets[o];Object.assign(u,{dataElementType:Yi.getElement(c),datasetElementType:l&&Yi.getElement(l)}),s.controller=new u(this,n),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){ot(this.data.datasets,(e,r)=>{this.getDatasetMeta(r).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const r=this.config;r.update();const n=this._options=r.createResolver(r.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let l=0,c=this.data.datasets.length;l<c;l++){const{controller:d}=this.getDatasetMeta(l),h=!i&&a.indexOf(d)===-1;d.buildOrUpdateElements(h),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=n.layout.autoPadding?s:0,this._updateLayout(s),i||ot(a,l=>{l.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(r2("z","_idx"));const{_active:o,_lastEvent:u}=this;u?this._eventHandler(u,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){ot(this.scales,e=>{Dr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,r=new Set(Object.keys(this._listeners)),n=new Set(e.events);(!pD(r,n)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,r=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:a}of r){const s=n==="_removeElements"?-a:a;spe(e,i,s)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const r=this.data.datasets.length,n=a=>new Set(e.filter(s=>s[0]===a).map((s,o)=>o+","+s.splice(1).join(","))),i=n(0);for(let a=1;a<r;a++)if(!pD(i,n(a)))return;return Array.from(i).map(a=>a.split(",")).map(a=>({method:a[1],start:+a[2],count:+a[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Dr.update(this,this.width,this.height,e);const r=this.chartArea,n=r.width<=0||r.height<=0;this._layers=[],ot(this.boxes,i=>{n&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,a)=>{i._idx=a}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let r=0,n=this.data.datasets.length;r<n;++r)this.getDatasetMeta(r).controller.configure();for(let r=0,n=this.data.datasets.length;r<n;++r)this._updateDataset(r,Js(e)?e({datasetIndex:r}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,r){const n=this.getDatasetMeta(e),i={meta:n,index:e,mode:r,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(n.controller._update(r),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(wa.has(this)?this.attached&&!wa.running(this)&&wa.start(this):(this.draw(),n2({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:n,height:i}=this._resizeBeforeDraw;this._resize(n,i),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const r=this._layers;for(e=0;e<r.length&&r[e].z<=0;++e)r[e].draw(this.chartArea);for(this._drawDatasets();e<r.length;++e)r[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const r=this._sortedMetasets,n=[];let i,a;for(i=0,a=r.length;i<a;++i){const s=r[i];(!e||s.visible)&&n.push(s)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let r=e.length-1;r>=0;--r)this._drawDataset(e[r]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const r=this.ctx,n=e._clip,i=!n.disabled,a=upe(e)||this.chartArea,s={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&U0(r,{left:n.left===!1?0:a.left-n.left,right:n.right===!1?this.width:a.right+n.right,top:n.top===!1?0:a.top-n.top,bottom:n.bottom===!1?this.height:a.bottom+n.bottom}),e.controller.draw(),i&&G0(r),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(e){return Fa(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,r,n,i){const a=ihe.modes[r];return typeof a=="function"?a(this,e,n,i):[]}getDatasetMeta(e){const r=this.data.datasets[e],n=this._metasets;let i=n.filter(a=>a&&a._dataset===r).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:r&&r.order||0,index:e,_dataset:r,_parsed:[],_sorted:!1},n.push(i)),i}getContext(){return this.$context||(this.$context=ao(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const r=this.data.datasets[e];if(!r)return!1;const n=this.getDatasetMeta(e);return typeof n.hidden=="boolean"?!n.hidden:!r.hidden}setDatasetVisibility(e,r){const n=this.getDatasetMeta(e);n.hidden=!r}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,r,n){const i=n?"show":"hide",a=this.getDatasetMeta(e),s=a.controller._resolveAnimations(void 0,i);Qf(r)?(a.data[r].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),s.update(a,{visible:n}),this.update(o=>o.datasetIndex===e?i:void 0))}hide(e,r){this._updateVisibility(e,r,!1)}show(e,r){this._updateVisibility(e,r,!0)}_destroyDatasetMeta(e){const r=this._metasets[e];r&&r.controller&&r.controller._destroy(),delete this._metasets[e]}_stop(){let e,r;for(this.stop(),wa.remove(this),e=0,r=this.data.datasets.length;e<r;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:r}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),SD(e,r),this.platform.releaseContext(r),this.canvas=null,this.ctx=null),delete Zm[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,r=this.platform,n=(a,s)=>{r.addEventListener(this,a,s),e[a]=s},i=(a,s,o)=>{a.offsetX=s,a.offsetY=o,this._eventHandler(a)};ot(this.options.events,a=>n(a,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,r=this.platform,n=(u,l)=>{r.addEventListener(this,u,l),e[u]=l},i=(u,l)=>{e[u]&&(r.removeEventListener(this,u,l),delete e[u])},a=(u,l)=>{this.canvas&&this.resize(u,l)};let s;const o=()=>{i("attach",o),this.attached=!0,this.resize(),n("resize",a),n("detach",s)};s=()=>{this.attached=!1,i("resize",a),this._stop(),this._resize(0,0),n("attach",o)},r.isAttached(this.canvas)?o():s()}unbindEvents(){ot(this._listeners,(e,r)=>{this.platform.removeEventListener(this,r,e)}),this._listeners={},ot(this._responsiveListeners,(e,r)=>{this.platform.removeEventListener(this,r,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,r,n){const i=n?"set":"remove";let a,s,o,u;for(r==="dataset"&&(a=this.getDatasetMeta(e[0].datasetIndex),a.controller["_"+i+"DatasetHoverStyle"]()),o=0,u=e.length;o<u;++o){s=e[o];const l=s&&this.getDatasetMeta(s.datasetIndex).controller;l&&l[i+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const r=this._active||[],n=e.map(({datasetIndex:a,index:s})=>{const o=this.getDatasetMeta(a);if(!o)throw new Error("No dataset found at index "+a);return{datasetIndex:a,element:o.data[s],index:s}});!vg(n,r)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,r))}notifyPlugins(e,r,n){return this._plugins.notify(this,e,r,n)}isPluginEnabled(e){return this._plugins._cache.filter(r=>r.plugin.id===e).length===1}_updateHoverStyles(e,r,n){const i=this.options.hover,a=(u,l)=>u.filter(c=>!l.some(d=>c.datasetIndex===d.datasetIndex&&c.index===d.index)),s=a(r,e),o=n?e:a(e,r);s.length&&this.updateHoverStyle(s,i.mode,!1),o.length&&i.mode&&this.updateHoverStyle(o,i.mode,!0)}_eventHandler(e,r){const n={event:e,replay:r,cancelable:!0,inChartArea:this.isPointInArea(e)},i=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",n,i)===!1)return;const a=this._handleEvent(e,r,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(a||n.changed)&&this.render(),this}_handleEvent(e,r,n){const{_active:i=[],options:a}=this,s=r,o=this._getActiveElements(e,i,n,s),u=gde(e),l=ope(e,this._lastEvent,n,u);n&&(this._lastEvent=null,vt(a.onHover,[e,o,this],this),u&&vt(a.onClick,[e,o,this],this));const c=!vg(o,i);return(c||r)&&(this._active=o,this._updateHoverStyles(o,i,r)),this._lastEvent=l,c}_getActiveElements(e,r,n,i){if(e.type==="mouseout")return[];if(!n)return r;const a=this.options.hover;return this.getElementsAtEventForMode(e,a.mode,a,i)}}ie(Ao,"defaults",Vt),ie(Ao,"instances",Zm),ie(Ao,"overrides",vu),ie(Ao,"registry",Yi),ie(Ao,"version",npe),ie(Ao,"getChart",i2);function a2(){return ot(Ao.instances,t=>t._plugins.invalidate())}function lpe(t,e,r){const{startAngle:n,pixelMargin:i,x:a,y:s,outerRadius:o,innerRadius:u}=e;let l=i/o;t.beginPath(),t.arc(a,s,o,n-l,r+l),u>i?(l=i/u,t.arc(a,s,u,r+l,n-l,!0)):t.arc(a,s,i,r+Ht,n-Ht),t.closePath(),t.clip()}function cpe(t){return Kx(t,["outerStart","outerEnd","innerStart","innerEnd"])}function dpe(t,e,r,n){const i=cpe(t.options.borderRadius),a=(r-e)/2,s=Math.min(a,n*e/2),o=u=>{const l=(r-Math.min(a,u))*n/2;return br(u,0,Math.min(a,l))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:br(i.innerStart,0,s),innerEnd:br(i.innerEnd,0,s)}}function hl(t,e,r,n){return{x:r+t*Math.cos(e),y:n+t*Math.sin(e)}}function Og(t,e,r,n,i,a){const{x:s,y:o,startAngle:u,pixelMargin:l,innerRadius:c}=e,d=Math.max(e.outerRadius+n+r-l,0),h=c>0?c+n+r+l:0;let p=0;const g=i-u;if(n){const D=c>0?c-n:0,M=d>0?d-n:0,N=(D+M)/2,F=N!==0?g*N/(N+n):g;p=(g-F)/2}const _=Math.max(.001,g*d-r/At)/d,w=(g-_)/2,S=u+w+p,E=i-w-p,{outerStart:x,outerEnd:f,innerStart:m,innerEnd:v}=dpe(e,h,d,E-S),T=d-x,P=d-f,k=S+x/T,y=E-f/P,$=h+m,C=h+v,O=S+m/$,A=E-v/C;if(t.beginPath(),a){const D=(k+y)/2;if(t.arc(s,o,d,k,D),t.arc(s,o,d,D,y),f>0){const j=hl(P,y,s,o);t.arc(j.x,j.y,f,y,E+Ht)}const M=hl(C,E,s,o);if(t.lineTo(M.x,M.y),v>0){const j=hl(C,A,s,o);t.arc(j.x,j.y,v,E+Ht,A+Math.PI)}const N=(E-v/h+(S+m/h))/2;if(t.arc(s,o,h,E-v/h,N,!0),t.arc(s,o,h,N,S+m/h,!0),m>0){const j=hl($,O,s,o);t.arc(j.x,j.y,m,O+Math.PI,S-Ht)}const F=hl(T,S,s,o);if(t.lineTo(F.x,F.y),x>0){const j=hl(T,k,s,o);t.arc(j.x,j.y,x,S-Ht,k)}}else{t.moveTo(s,o);const D=Math.cos(k)*d+s,M=Math.sin(k)*d+o;t.lineTo(D,M);const N=Math.cos(y)*d+s,F=Math.sin(y)*d+o;t.lineTo(N,F)}t.closePath()}function fpe(t,e,r,n,i){const{fullCircles:a,startAngle:s,circumference:o}=e;let u=e.endAngle;if(a){Og(t,e,r,n,u,i);for(let l=0;l<a;++l)t.fill();isNaN(o)||(u=s+(o%Ot||Ot))}return Og(t,e,r,n,u,i),t.fill(),u}function hpe(t,e,r,n,i){const{fullCircles:a,startAngle:s,circumference:o,options:u}=e,{borderWidth:l,borderJoinStyle:c,borderDash:d,borderDashOffset:h}=u,p=u.borderAlign==="inner";if(!l)return;t.setLineDash(d||[]),t.lineDashOffset=h,p?(t.lineWidth=l*2,t.lineJoin=c||"round"):(t.lineWidth=l,t.lineJoin=c||"bevel");let g=e.endAngle;if(a){Og(t,e,r,n,g,i);for(let _=0;_<a;++_)t.stroke();isNaN(o)||(g=s+(o%Ot||Ot))}p&&lpe(t,e,g),a||(Og(t,e,r,n,g,i),t.stroke())}class tf extends Ja{constructor(r){super();ie(this,"circumference");ie(this,"endAngle");ie(this,"fullCircles");ie(this,"innerRadius");ie(this,"outerRadius");ie(this,"pixelMargin");ie(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,r&&Object.assign(this,r)}inRange(r,n,i){const a=this.getProps(["x","y"],i),{angle:s,distance:o}=R4(a,{x:r,y:n}),{startAngle:u,endAngle:l,innerRadius:c,outerRadius:d,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),p=(this.options.spacing+this.options.borderWidth)/2,_=Ie(h,l-u)>=Ot||eh(s,u,l),w=La(o,c+p,d+p);return _&&w}getCenterPoint(r){const{x:n,y:i,startAngle:a,endAngle:s,innerRadius:o,outerRadius:u}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],r),{offset:l,spacing:c}=this.options,d=(a+s)/2,h=(o+u+c+l)/2;return{x:n+Math.cos(d)*h,y:i+Math.sin(d)*h}}tooltipPosition(r){return this.getCenterPoint(r)}draw(r){const{options:n,circumference:i}=this,a=(n.offset||0)/4,s=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>Ot?Math.floor(i/Ot):0,i===0||this.innerRadius<0||this.outerRadius<0)return;r.save();const u=(this.startAngle+this.endAngle)/2;r.translate(Math.cos(u)*a,Math.sin(u)*a);const l=1-Math.sin(Math.min(At,i||0)),c=a*l;r.fillStyle=n.backgroundColor,r.strokeStyle=n.borderColor,fpe(r,this,c,s,o),hpe(r,this,c,s,o),r.restore()}}ie(tf,"id","arc"),ie(tf,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),ie(tf,"defaultRoutes",{backgroundColor:"backgroundColor"}),ie(tf,"descriptors",{_scriptable:!0,_indexable:r=>r!=="borderDash"});function m6(t,e,r=e){t.lineCap=Ie(r.borderCapStyle,e.borderCapStyle),t.setLineDash(Ie(r.borderDash,e.borderDash)),t.lineDashOffset=Ie(r.borderDashOffset,e.borderDashOffset),t.lineJoin=Ie(r.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Ie(r.borderWidth,e.borderWidth),t.strokeStyle=Ie(r.borderColor,e.borderColor)}function ppe(t,e,r){t.lineTo(r.x,r.y)}function mpe(t){return t.stepped?Fde:t.tension||t.cubicInterpolationMode==="monotone"?jde:ppe}function v6(t,e,r={}){const n=t.length,{start:i=0,end:a=n-1}=r,{start:s,end:o}=e,u=Math.max(i,s),l=Math.min(a,o),c=i<s&&a<s||i>o&&a>o;return{count:n,start:u,loop:e.loop,ilen:l<u&&!c?n+l-u:l-u}}function vpe(t,e,r,n){const{points:i,options:a}=e,{count:s,start:o,loop:u,ilen:l}=v6(i,r,n),c=mpe(a);let{move:d=!0,reverse:h}=n||{},p,g,_;for(p=0;p<=l;++p)g=i[(o+(h?l-p:p))%s],!g.skip&&(d?(t.moveTo(g.x,g.y),d=!1):c(t,_,g,h,a.stepped),_=g);return u&&(g=i[(o+(h?l:0))%s],c(t,_,g,h,a.stepped)),!!u}function gpe(t,e,r,n){const i=e.points,{count:a,start:s,ilen:o}=v6(i,r,n),{move:u=!0,reverse:l}=n||{};let c=0,d=0,h,p,g,_,w,S;const E=f=>(s+(l?o-f:f))%a,x=()=>{_!==w&&(t.lineTo(c,w),t.lineTo(c,_),t.lineTo(c,S))};for(u&&(p=i[E(0)],t.moveTo(p.x,p.y)),h=0;h<=o;++h){if(p=i[E(h)],p.skip)continue;const f=p.x,m=p.y,v=f|0;v===g?(m<_?_=m:m>w&&(w=m),c=(d*c+f)/++d):(x(),t.lineTo(f,m),g=v,d=0,_=w=m),S=m}x()}function iO(t){const e=t.options,r=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!r?gpe:vpe}function bpe(t){return t.stepped?bfe:t.tension||t.cubicInterpolationMode==="monotone"?_fe:Co}function _pe(t,e,r,n){let i=e._path;i||(i=e._path=new Path2D,e.path(i,r,n)&&i.closePath()),m6(t,e.options),t.stroke(i)}function ype(t,e,r,n){const{segments:i,options:a}=e,s=iO(e);for(const o of i)m6(t,a,o.style),t.beginPath(),s(t,e,o,{start:r,end:r+n-1})&&t.closePath(),t.stroke()}const wpe=typeof Path2D=="function";function Ope(t,e,r,n){wpe&&!e.options.segment?_pe(t,e,r,n):ype(t,e,r,n)}class Es extends Ja{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,r){const n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;cfe(this._points,n,e,i,r),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Tfe(this,this.options.segment))}first(){const e=this.segments,r=this.points;return e.length&&r[e[0].start]}last(){const e=this.segments,r=this.points,n=e.length;return n&&r[e[n-1].end]}interpolate(e,r){const n=this.options,i=e[r],a=this.points,s=t6(this,{property:r,start:i,end:i});if(!s.length)return;const o=[],u=bpe(n);let l,c;for(l=0,c=s.length;l<c;++l){const{start:d,end:h}=s[l],p=a[d],g=a[h];if(p===g){o.push(p);continue}const _=Math.abs((i-p[r])/(g[r]-p[r])),w=u(p,g,_,n.stepped);w[r]=e[r],o.push(w)}return o.length===1?o[0]:o}pathSegment(e,r,n){return iO(this)(e,this,r,n)}path(e,r,n){const i=this.segments,a=iO(this);let s=this._loop;r=r||0,n=n||this.points.length-r;for(const o of i)s&=a(e,this,o,{start:r,end:r+n-1});return!!s}draw(e,r,n,i){const a=this.options||{};(this.points||[]).length&&a.borderWidth&&(e.save(),Ope(e,this,n,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}ie(Es,"id","line"),ie(Es,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),ie(Es,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),ie(Es,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function s2(t,e,r,n){const i=t.options,{[r]:a}=t.getProps([r],n);return Math.abs(e-a)<i.radius+i.hitRadius}class Jm extends Ja{constructor(r){super();ie(this,"parsed");ie(this,"skip");ie(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,r&&Object.assign(this,r)}inRange(r,n,i){const a=this.options,{x:s,y:o}=this.getProps(["x","y"],i);return Math.pow(r-s,2)+Math.pow(n-o,2)<Math.pow(a.hitRadius+a.radius,2)}inXRange(r,n){return s2(this,r,"x",n)}inYRange(r,n){return s2(this,r,"y",n)}getCenterPoint(r){const{x:n,y:i}=this.getProps(["x","y"],r);return{x:n,y:i}}size(r){r=r||this.options||{};let n=r.radius||0;n=Math.max(n,n&&r.hoverRadius||0);const i=n&&r.borderWidth||0;return(n+i)*2}draw(r,n){const i=this.options;this.skip||i.radius<.1||!Fa(this,n,this.size(i)/2)||(r.strokeStyle=i.borderColor,r.lineWidth=i.borderWidth,r.fillStyle=i.backgroundColor,eO(r,i,this.x,this.y))}getRange(){const r=this.options||{};return r.radius+r.hitRadius}}ie(Jm,"id","point"),ie(Jm,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),ie(Jm,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function g6(t,e){const{x:r,y:n,base:i,width:a,height:s}=t.getProps(["x","y","base","width","height"],e);let o,u,l,c,d;return t.horizontal?(d=s/2,o=Math.min(r,i),u=Math.max(r,i),l=n-d,c=n+d):(d=a/2,o=r-d,u=r+d,l=Math.min(n,i),c=Math.max(n,i)),{left:o,top:l,right:u,bottom:c}}function Ps(t,e,r,n){return t?0:br(e,r,n)}function Spe(t,e,r){const n=t.options.borderWidth,i=t.borderSkipped,a=V4(n);return{t:Ps(i.top,a.top,0,r),r:Ps(i.right,a.right,0,e),b:Ps(i.bottom,a.bottom,0,r),l:Ps(i.left,a.left,0,e)}}function xpe(t,e,r){const{enableBorderRadius:n}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,a=qo(i),s=Math.min(e,r),o=t.borderSkipped,u=n||He(i);return{topLeft:Ps(!u||o.top||o.left,a.topLeft,0,s),topRight:Ps(!u||o.top||o.right,a.topRight,0,s),bottomLeft:Ps(!u||o.bottom||o.left,a.bottomLeft,0,s),bottomRight:Ps(!u||o.bottom||o.right,a.bottomRight,0,s)}}function Tpe(t){const e=g6(t),r=e.right-e.left,n=e.bottom-e.top,i=Spe(t,r/2,n/2),a=xpe(t,r/2,n/2);return{outer:{x:e.left,y:e.top,w:r,h:n,radius:a},inner:{x:e.left+i.l,y:e.top+i.t,w:r-i.l-i.r,h:n-i.t-i.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,a.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(i.b,i.r))}}}}function Ry(t,e,r,n){const i=e===null,a=r===null,o=t&&!(i&&a)&&g6(t,n);return o&&(i||La(e,o.left,o.right))&&(a||La(r,o.top,o.bottom))}function Epe(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function Ppe(t,e){t.rect(e.x,e.y,e.w,e.h)}function Iy(t,e,r={}){const n=t.x!==r.x?-e:0,i=t.y!==r.y?-e:0,a=(t.x+t.w!==r.x+r.w?e:0)-n,s=(t.y+t.h!==r.y+r.h?e:0)-i;return{x:t.x+n,y:t.y+i,w:t.w+a,h:t.h+s,radius:t.radius}}class Qm extends Ja{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:r,options:{borderColor:n,backgroundColor:i}}=this,{inner:a,outer:s}=Tpe(this),o=Epe(s.radius)?th:Ppe;e.save(),(s.w!==a.w||s.h!==a.h)&&(e.beginPath(),o(e,Iy(s,r,a)),e.clip(),o(e,Iy(a,-r,s)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),o(e,Iy(a,r)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,r,n){return Ry(this,e,r,n)}inXRange(e,r){return Ry(this,e,null,r)}inYRange(e,r){return Ry(this,null,e,r)}getCenterPoint(e){const{x:r,y:n,base:i,horizontal:a}=this.getProps(["x","y","base","horizontal"],e);return{x:a?(r+i)/2:r,y:a?n:(n+i)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}ie(Qm,"id","bar"),ie(Qm,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),ie(Qm,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var Cpe=Object.freeze({__proto__:null,ArcElement:tf,BarElement:Qm,LineElement:Es,PointElement:Jm});const aO=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],o2=aO.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function b6(t){return aO[t%aO.length]}function _6(t){return o2[t%o2.length]}function Ape(t,e){return t.borderColor=b6(e),t.backgroundColor=_6(e),++e}function $pe(t,e){return t.backgroundColor=t.data.map(()=>b6(e++)),e}function Mpe(t,e){return t.backgroundColor=t.data.map(()=>_6(e++)),e}function kpe(t){let e=0;return(r,n)=>{const i=t.getDatasetMeta(n).controller;i instanceof Fo?e=$pe(r,e):i instanceof Ef?e=Mpe(r,e):i&&(e=Ape(r,e))}}function u2(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function Dpe(t){return t&&(t.borderColor||t.backgroundColor)}var Rpe={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,r){if(!r.enabled)return;const{data:{datasets:n},options:i}=t.config,{elements:a}=i;if(!r.forceOverride&&(u2(n)||Dpe(i)||a&&u2(a)))return;const s=kpe(t);n.forEach(s)}};function Ipe(t,e,r,n,i){const a=i.samples||n;if(a>=r)return t.slice(e,e+r);const s=[],o=(r-2)/(a-2);let u=0;const l=e+r-1;let c=e,d,h,p,g,_;for(s[u++]=t[c],d=0;d<a-2;d++){let w=0,S=0,E;const x=Math.floor((d+1)*o)+1+e,f=Math.min(Math.floor((d+2)*o)+1,r)+e,m=f-x;for(E=x;E<f;E++)w+=t[E].x,S+=t[E].y;w/=m,S/=m;const v=Math.floor(d*o)+1+e,T=Math.min(Math.floor((d+1)*o)+1,r)+e,{x:P,y:k}=t[c];for(p=g=-1,E=v;E<T;E++)g=.5*Math.abs((P-w)*(t[E].y-k)-(P-t[E].x)*(S-k)),g>p&&(p=g,h=t[E],_=E);s[u++]=h,c=_}return s[u++]=t[l],s}function Npe(t,e,r,n){let i=0,a=0,s,o,u,l,c,d,h,p,g,_;const w=[],S=e+r-1,E=t[e].x,f=t[S].x-E;for(s=e;s<e+r;++s){o=t[s],u=(o.x-E)/f*n,l=o.y;const m=u|0;if(m===c)l<g?(g=l,d=s):l>_&&(_=l,h=s),i=(a*i+o.x)/++a;else{const v=s-1;if(!We(d)&&!We(h)){const T=Math.min(d,h),P=Math.max(d,h);T!==p&&T!==v&&w.push({...t[T],x:i}),P!==p&&P!==v&&w.push({...t[P],x:i})}s>0&&v!==p&&w.push(t[v]),w.push(o),c=m,a=0,g=_=l,d=h=p=s}}return w}function y6(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function l2(t){t.data.datasets.forEach(e=>{y6(e)})}function Lpe(t,e){const r=e.length;let n=0,i;const{iScale:a}=t,{min:s,max:o,minDefined:u,maxDefined:l}=a.getUserBounds();return u&&(n=br(Ba(e,a.axis,s).lo,0,r-1)),l?i=br(Ba(e,a.axis,o).hi+1,n,r)-n:i=r-n,{start:n,count:i}}var Bpe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,r)=>{if(!r.enabled){l2(t);return}const n=t.width;t.data.datasets.forEach((i,a)=>{const{_data:s,indexAxis:o}=i,u=t.getDatasetMeta(a),l=s||i.data;if(Qd([o,t.options.indexAxis])==="y"||!u.controller.supportsDecimation)return;const c=t.scales[u.xAxisID];if(c.type!=="linear"&&c.type!=="time"||t.options.parsing)return;let{start:d,count:h}=Lpe(u,l);const p=r.threshold||4*n;if(h<=p){y6(i);return}We(s)&&(i._data=l,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(_){this._data=_}}));let g;switch(r.algorithm){case"lttb":g=Ipe(l,d,h,n,r);break;case"min-max":g=Npe(l,d,h,n);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}i._decimated=g})},destroy(t){l2(t)}};function Fpe(t,e,r){const n=t.segments,i=t.points,a=e.points,s=[];for(const o of n){let{start:u,end:l}=o;l=eT(u,l,i);const c=sO(r,i[u],i[l],o.loop);if(!e.segments){s.push({source:o,target:c,start:i[u],end:i[l]});continue}const d=t6(e,c);for(const h of d){const p=sO(r,a[h.start],a[h.end],h.loop),g=e6(o,i,p);for(const _ of g)s.push({source:_,target:h,start:{[r]:c2(c,p,"start",Math.max)},end:{[r]:c2(c,p,"end",Math.min)}})}}return s}function sO(t,e,r,n){if(n)return;let i=e[t],a=r[t];return t==="angle"&&(i=An(i),a=An(a)),{property:t,start:i,end:a}}function jpe(t,e){const{x:r=null,y:n=null}=t||{},i=e.points,a=[];return e.segments.forEach(({start:s,end:o})=>{o=eT(s,o,i);const u=i[s],l=i[o];n!==null?(a.push({x:u.x,y:n}),a.push({x:l.x,y:n})):r!==null&&(a.push({x:r,y:u.y}),a.push({x:r,y:l.y}))}),a}function eT(t,e,r){for(;e>t;e--){const n=r[e];if(!isNaN(n.x)&&!isNaN(n.y))break}return e}function c2(t,e,r,n){return t&&e?n(t[r],e[r]):t?t[r]:e?e[r]:0}function w6(t,e){let r=[],n=!1;return wt(t)?(n=!0,r=t):r=jpe(t,e),r.length?new Es({points:r,options:{tension:0},_loop:n,_fullLoop:n}):null}function d2(t){return t&&t.fill!==!1}function zpe(t,e,r){let i=t[e].fill;const a=[e];let s;if(!r)return i;for(;i!==!1&&a.indexOf(i)===-1;){if(!zt(i))return i;if(s=t[i],!s)return!1;if(s.visible)return i;a.push(i),i=s.fill}return!1}function Hpe(t,e,r){const n=Wpe(t);if(He(n))return isNaN(n.value)?!1:n;let i=parseFloat(n);return zt(i)&&Math.floor(i)===i?Vpe(n[0],e,i,r):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function Vpe(t,e,r,n){return(t==="-"||t==="+")&&(r=e+r),r===e||r<0||r>=n?!1:r}function Upe(t,e){let r=null;return t==="start"?r=e.bottom:t==="end"?r=e.top:He(t)?r=e.getPixelForValue(t.value):e.getBasePixel&&(r=e.getBasePixel()),r}function Gpe(t,e,r){let n;return t==="start"?n=r:t==="end"?n=e.options.reverse?e.min:e.max:He(t)?n=t.value:n=e.getBaseValue(),n}function Wpe(t){const e=t.options,r=e.fill;let n=Ie(r&&r.target,r);return n===void 0&&(n=!!e.backgroundColor),n===!1||n===null?!1:n===!0?"origin":n}function Ype(t){const{scale:e,index:r,line:n}=t,i=[],a=n.segments,s=n.points,o=Kpe(e,r);o.push(w6({x:null,y:e.bottom},n));for(let u=0;u<a.length;u++){const l=a[u];for(let c=l.start;c<=l.end;c++)qpe(i,s[c],o)}return new Es({points:i,options:{}})}function Kpe(t,e){const r=[],n=t.getMatchingVisibleMetas("line");for(let i=0;i<n.length;i++){const a=n[i];if(a.index===e)break;a.hidden||r.unshift(a.dataset)}return r}function qpe(t,e,r){const n=[];for(let i=0;i<r.length;i++){const a=r[i],{first:s,last:o,point:u}=Xpe(a,e,"x");if(!(!u||s&&o)){if(s)n.unshift(u);else if(t.push(u),!o)break}}t.push(...n)}function Xpe(t,e,r){const n=t.interpolate(e,r);if(!n)return{};const i=n[r],a=t.segments,s=t.points;let o=!1,u=!1;for(let l=0;l<a.length;l++){const c=a[l],d=s[c.start][r],h=s[c.end][r];if(La(i,d,h)){o=i===d,u=i===h;break}}return{first:o,last:u,point:n}}class O6{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,r,n){const{x:i,y:a,radius:s}=this;return r=r||{start:0,end:Ot},e.arc(i,a,s,r.end,r.start,!0),!n.bounds}interpolate(e){const{x:r,y:n,radius:i}=this,a=e.angle;return{x:r+Math.cos(a)*i,y:n+Math.sin(a)*i,angle:a}}}function Zpe(t){const{chart:e,fill:r,line:n}=t;if(zt(r))return Jpe(e,r);if(r==="stack")return Ype(t);if(r==="shape")return!0;const i=Qpe(t);return i instanceof O6?i:w6(i,n)}function Jpe(t,e){const r=t.getDatasetMeta(e);return r&&t.isDatasetVisible(e)?r.dataset:null}function Qpe(t){return(t.scale||{}).getPointPositionForValue?tme(t):eme(t)}function eme(t){const{scale:e={},fill:r}=t,n=Upe(r,e);if(zt(n)){const i=e.isHorizontal();return{x:i?n:null,y:i?null:n}}return null}function tme(t){const{scale:e,fill:r}=t,n=e.options,i=e.getLabels().length,a=n.reverse?e.max:e.min,s=Gpe(r,e,a),o=[];if(n.grid.circular){const u=e.getPointPositionForValue(0,a);return new O6({x:u.x,y:u.y,radius:e.getDistanceFromCenterForValue(s)})}for(let u=0;u<i;++u)o.push(e.getPointPositionForValue(u,s));return o}function Ny(t,e,r){const n=Zpe(e),{line:i,scale:a,axis:s}=e,o=i.options,u=o.fill,l=o.backgroundColor,{above:c=l,below:d=l}=u||{};n&&i.points.length&&(U0(t,r),rme(t,{line:i,target:n,above:c,below:d,area:r,scale:a,axis:s}),G0(t))}function rme(t,e){const{line:r,target:n,above:i,below:a,area:s,scale:o}=e,u=r._loop?"angle":e.axis;t.save(),u==="x"&&a!==i&&(f2(t,n,s.top),h2(t,{line:r,target:n,color:i,scale:o,property:u}),t.restore(),t.save(),f2(t,n,s.bottom)),h2(t,{line:r,target:n,color:a,scale:o,property:u}),t.restore()}function f2(t,e,r){const{segments:n,points:i}=e;let a=!0,s=!1;t.beginPath();for(const o of n){const{start:u,end:l}=o,c=i[u],d=i[eT(u,l,i)];a?(t.moveTo(c.x,c.y),a=!1):(t.lineTo(c.x,r),t.lineTo(c.x,c.y)),s=!!e.pathSegment(t,o,{move:s}),s?t.closePath():t.lineTo(d.x,r)}t.lineTo(e.first().x,r),t.closePath(),t.clip()}function h2(t,e){const{line:r,target:n,property:i,color:a,scale:s}=e,o=Fpe(r,n,i);for(const{source:u,target:l,start:c,end:d}of o){const{style:{backgroundColor:h=a}={}}=u,p=n!==!0;t.save(),t.fillStyle=h,nme(t,s,p&&sO(i,c,d)),t.beginPath();const g=!!r.pathSegment(t,u);let _;if(p){g?t.closePath():p2(t,n,d,i);const w=!!n.pathSegment(t,l,{move:g,reverse:!0});_=g&&w,_||p2(t,n,c,i)}t.closePath(),t.fill(_?"evenodd":"nonzero"),t.restore()}}function nme(t,e,r){const{top:n,bottom:i}=e.chart.chartArea,{property:a,start:s,end:o}=r||{};a==="x"&&(t.beginPath(),t.rect(s,n,o-s,i-n),t.clip())}function p2(t,e,r,n){const i=e.interpolate(r,n);i&&t.lineTo(i.x,i.y)}var ime={id:"filler",afterDatasetsUpdate(t,e,r){const n=(t.data.datasets||[]).length,i=[];let a,s,o,u;for(s=0;s<n;++s)a=t.getDatasetMeta(s),o=a.dataset,u=null,o&&o.options&&o instanceof Es&&(u={visible:t.isDatasetVisible(s),index:s,fill:Hpe(o,s,n),chart:t,axis:a.controller.options.indexAxis,scale:a.vScale,line:o}),a.$filler=u,i.push(u);for(s=0;s<n;++s)u=i[s],!(!u||u.fill===!1)&&(u.fill=zpe(i,s,r.propagate))},beforeDraw(t,e,r){const n=r.drawTime==="beforeDraw",i=t.getSortedVisibleDatasetMetas(),a=t.chartArea;for(let s=i.length-1;s>=0;--s){const o=i[s].$filler;o&&(o.line.updateControlPoints(a,o.axis),n&&o.fill&&Ny(t.ctx,o,a))}},beforeDatasetsDraw(t,e,r){if(r.drawTime!=="beforeDatasetsDraw")return;const n=t.getSortedVisibleDatasetMetas();for(let i=n.length-1;i>=0;--i){const a=n[i].$filler;d2(a)&&Ny(t.ctx,a,t.chartArea)}},beforeDatasetDraw(t,e,r){const n=e.meta.$filler;!d2(n)||r.drawTime!=="beforeDatasetDraw"||Ny(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const m2=(t,e)=>{let{boxHeight:r=e,boxWidth:n=e}=t;return t.usePointStyle&&(r=Math.min(r,e),n=t.pointStyleWidth||Math.min(n,e)),{boxWidth:n,boxHeight:r,itemHeight:Math.max(e,r)}},ame=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class v2 extends Ja{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,r,n){this.maxWidth=e,this.maxHeight=r,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let r=vt(e.generateLabels,[this.chart],this)||[];e.filter&&(r=r.filter(n=>e.filter(n,this.chart.data))),e.sort&&(r=r.sort((n,i)=>e.sort(n,i,this.chart.data))),this.options.reverse&&r.reverse(),this.legendItems=r}fit(){const{options:e,ctx:r}=this;if(!e.display){this.width=this.height=0;return}const n=e.labels,i=sr(n.font),a=i.size,s=this._computeTitleHeight(),{boxWidth:o,itemHeight:u}=m2(n,a);let l,c;r.font=i.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(s,a,o,u)+10):(c=this.maxHeight,l=this._fitCols(s,i,o,u)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,r,n,i){const{ctx:a,maxWidth:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],l=this.lineWidths=[0],c=i+o;let d=e;a.textAlign="left",a.textBaseline="middle";let h=-1,p=-c;return this.legendItems.forEach((g,_)=>{const w=n+r/2+a.measureText(g.text).width;(_===0||l[l.length-1]+w+2*o>s)&&(d+=c,l[l.length-(_>0?0:1)]=0,p+=c,h++),u[_]={left:0,top:p,row:h,width:w,height:i},l[l.length-1]+=w+o}),d}_fitCols(e,r,n,i){const{ctx:a,maxHeight:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],l=this.columnSizes=[],c=s-e;let d=o,h=0,p=0,g=0,_=0;return this.legendItems.forEach((w,S)=>{const{itemWidth:E,itemHeight:x}=sme(n,r,a,w,i);S>0&&p+x+2*o>c&&(d+=h+o,l.push({width:h,height:p}),g+=h+o,_++,h=p=0),u[S]={left:g,top:p,col:_,width:E,height:x},h=Math.max(h,E),p+=x+o}),d+=h,l.push({width:h,height:p}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:r,options:{align:n,labels:{padding:i},rtl:a}}=this,s=Wl(a,this.left,this.width);if(this.isHorizontal()){let o=0,u=Ar(n,this.left+i,this.right-this.lineWidths[o]);for(const l of r)o!==l.row&&(o=l.row,u=Ar(n,this.left+i,this.right-this.lineWidths[o])),l.top+=this.top+e+i,l.left=s.leftForLtr(s.x(u),l.width),u+=l.width+i}else{let o=0,u=Ar(n,this.top+e+i,this.bottom-this.columnSizes[o].height);for(const l of r)l.col!==o&&(o=l.col,u=Ar(n,this.top+e+i,this.bottom-this.columnSizes[o].height)),l.top=u,l.left+=this.left+i,l.left=s.leftForLtr(s.x(l.left),l.width),u+=l.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;U0(e,this),this._draw(),G0(e)}}_draw(){const{options:e,columnSizes:r,lineWidths:n,ctx:i}=this,{align:a,labels:s}=e,o=Vt.color,u=Wl(e.rtl,this.left,this.width),l=sr(s.font),{padding:c}=s,d=l.size,h=d/2;let p;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=l.string;const{boxWidth:g,boxHeight:_,itemHeight:w}=m2(s,d),S=function(v,T,P){if(isNaN(g)||g<=0||isNaN(_)||_<0)return;i.save();const k=Ie(P.lineWidth,1);if(i.fillStyle=Ie(P.fillStyle,o),i.lineCap=Ie(P.lineCap,"butt"),i.lineDashOffset=Ie(P.lineDashOffset,0),i.lineJoin=Ie(P.lineJoin,"miter"),i.lineWidth=k,i.strokeStyle=Ie(P.strokeStyle,o),i.setLineDash(Ie(P.lineDash,[])),s.usePointStyle){const y={radius:_*Math.SQRT2/2,pointStyle:P.pointStyle,rotation:P.rotation,borderWidth:k},$=u.xPlus(v,g/2),C=T+h;H4(i,y,$,C,s.pointStyleWidth&&g)}else{const y=T+Math.max((d-_)/2,0),$=u.leftForLtr(v,g),C=qo(P.borderRadius);i.beginPath(),Object.values(C).some(O=>O!==0)?th(i,{x:$,y,w:g,h:_,radius:C}):i.rect($,y,g,_),i.fill(),k!==0&&i.stroke()}i.restore()},E=function(v,T,P){gu(i,P.text,v,T+w/2,l,{strikethrough:P.hidden,textAlign:u.textAlign(P.textAlign)})},x=this.isHorizontal(),f=this._computeTitleHeight();x?p={x:Ar(a,this.left+c,this.right-n[0]),y:this.top+c+f,line:0}:p={x:this.left+c,y:Ar(a,this.top+f+c,this.bottom-r[0].height),line:0},Z4(this.ctx,e.textDirection);const m=w+c;this.legendItems.forEach((v,T)=>{i.strokeStyle=v.fontColor,i.fillStyle=v.fontColor;const P=i.measureText(v.text).width,k=u.textAlign(v.textAlign||(v.textAlign=s.textAlign)),y=g+h+P;let $=p.x,C=p.y;u.setWidth(this.width),x?T>0&&$+y+c>this.right&&(C=p.y+=m,p.line++,$=p.x=Ar(a,this.left+c,this.right-n[p.line])):T>0&&C+m>this.bottom&&($=p.x=$+r[p.line].width+c,p.line++,C=p.y=Ar(a,this.top+f+c,this.bottom-r[p.line].height));const O=u.x($);if(S(O,C,v),$=Cde(k,$+g+h,x?$+y:this.right,e.rtl),E(u.x($),C,v),x)p.x+=y+c;else if(typeof v.text!="string"){const A=l.lineHeight;p.y+=S6(v,A)+c}else p.y+=m}),J4(this.ctx,e.textDirection)}drawTitle(){const e=this.options,r=e.title,n=sr(r.font),i=Fr(r.padding);if(!r.display)return;const a=Wl(e.rtl,this.left,this.width),s=this.ctx,o=r.position,u=n.size/2,l=i.top+u;let c,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),c=this.top+l,d=Ar(e.align,d,this.right-h);else{const g=this.columnSizes.reduce((_,w)=>Math.max(_,w.height),0);c=l+Ar(e.align,this.top,this.bottom-g-e.labels.padding-this._computeTitleHeight())}const p=Ar(o,d,d+h);s.textAlign=a.textAlign(Wx(o)),s.textBaseline="middle",s.strokeStyle=r.color,s.fillStyle=r.color,s.font=n.string,gu(s,r.text,p,c,n)}_computeTitleHeight(){const e=this.options.title,r=sr(e.font),n=Fr(e.padding);return e.display?r.lineHeight+n.height:0}_getLegendItemAt(e,r){let n,i,a;if(La(e,this.left,this.right)&&La(r,this.top,this.bottom)){for(a=this.legendHitBoxes,n=0;n<a.length;++n)if(i=a[n],La(e,i.left,i.left+i.width)&&La(r,i.top,i.top+i.height))return this.legendItems[n]}return null}handleEvent(e){const r=this.options;if(!lme(e.type,r))return;const n=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const i=this._hoveredItem,a=ame(i,n);i&&!a&&vt(r.onLeave,[e,i,this],this),this._hoveredItem=n,n&&!a&&vt(r.onHover,[e,n,this],this)}else n&&vt(r.onClick,[e,n,this],this)}}function sme(t,e,r,n,i){const a=ome(n,t,e,r),s=ume(i,n,e.lineHeight);return{itemWidth:a,itemHeight:s}}function ome(t,e,r,n){let i=t.text;return i&&typeof i!="string"&&(i=i.reduce((a,s)=>a.length>s.length?a:s)),e+r.size/2+n.measureText(i).width}function ume(t,e,r){let n=t;return typeof e.text!="string"&&(n=S6(e,r)),n}function S6(t,e){const r=t.text?t.text.length:0;return e*r}function lme(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var cme={id:"legend",_element:v2,start(t,e,r){const n=t.legend=new v2({ctx:t.ctx,options:r,chart:t});Dr.configure(t,n,r),Dr.addBox(t,n)},stop(t){Dr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,r){const n=t.legend;Dr.configure(t,n,r),n.options=r},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,r){const n=e.datasetIndex,i=r.chart;i.isDatasetVisible(n)?(i.hide(n),e.hidden=!0):(i.show(n),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:r,pointStyle:n,textAlign:i,color:a,useBorderRadius:s,borderRadius:o}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const l=u.controller.getStyle(r?0:void 0),c=Fr(l.borderWidth);return{text:e[u.index].label,fillStyle:l.backgroundColor,fontColor:a,hidden:!u.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:l.borderColor,pointStyle:n||l.pointStyle,rotation:l.rotation,textAlign:i||l.textAlign,borderRadius:s&&(o||l.borderRadius),datasetIndex:u.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class tT extends Ja{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,r){const n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=r;const i=wt(n.text)?n.text.length:1;this._padding=Fr(n.padding);const a=i*sr(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=a:this.width=a}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:r,left:n,bottom:i,right:a,options:s}=this,o=s.align;let u=0,l,c,d;return this.isHorizontal()?(c=Ar(o,n,a),d=r+e,l=a-n):(s.position==="left"?(c=n+e,d=Ar(o,i,r),u=At*-.5):(c=a-e,d=Ar(o,r,i),u=At*.5),l=i-r),{titleX:c,titleY:d,maxWidth:l,rotation:u}}draw(){const e=this.ctx,r=this.options;if(!r.display)return;const n=sr(r.font),a=n.lineHeight/2+this._padding.top,{titleX:s,titleY:o,maxWidth:u,rotation:l}=this._drawArgs(a);gu(e,r.text,0,0,n,{color:r.color,maxWidth:u,rotation:l,textAlign:Wx(r.align),textBaseline:"middle",translation:[s,o]})}}function dme(t,e){const r=new tT({ctx:t.ctx,options:e,chart:t});Dr.configure(t,r,e),Dr.addBox(t,r),t.titleBlock=r}var fme={id:"title",_element:tT,start(t,e,r){dme(t,r)},stop(t){const e=t.titleBlock;Dr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,r){const n=t.titleBlock;Dr.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const qp=new WeakMap;var hme={id:"subtitle",start(t,e,r){const n=new tT({ctx:t.ctx,options:r,chart:t});Dr.configure(t,n,r),Dr.addBox(t,n),qp.set(t,n)},stop(t){Dr.removeBox(t,qp.get(t)),qp.delete(t)},beforeUpdate(t,e,r){const n=qp.get(t);Dr.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const rf={average(t){if(!t.length)return!1;let e,r,n=0,i=0,a=0;for(e=0,r=t.length;e<r;++e){const s=t[e].element;if(s&&s.hasValue()){const o=s.tooltipPosition();n+=o.x,i+=o.y,++a}}return{x:n/a,y:i/a}},nearest(t,e){if(!t.length)return!1;let r=e.x,n=e.y,i=Number.POSITIVE_INFINITY,a,s,o;for(a=0,s=t.length;a<s;++a){const u=t[a].element;if(u&&u.hasValue()){const l=u.getCenterPoint(),c=J1(e,l);c<i&&(i=c,o=u)}}if(o){const u=o.tooltipPosition();r=u.x,n=u.y}return{x:r,y:n}}};function Ui(t,e){return e&&(wt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Oa(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
`)>-1?t.split(`
`):t}function pme(t,e){const{element:r,datasetIndex:n,index:i}=e,a=t.getDatasetMeta(n).controller,{label:s,value:o}=a.getLabelAndValue(i);return{chart:t,label:s,parsed:a.getParsed(i),raw:t.data.datasets[n].data[i],formattedValue:o,dataset:a.getDataset(),dataIndex:i,datasetIndex:n,element:r}}function g2(t,e){const r=t.chart.ctx,{body:n,footer:i,title:a}=t,{boxWidth:s,boxHeight:o}=e,u=sr(e.bodyFont),l=sr(e.titleFont),c=sr(e.footerFont),d=a.length,h=i.length,p=n.length,g=Fr(e.padding);let _=g.height,w=0,S=n.reduce((f,m)=>f+m.before.length+m.lines.length+m.after.length,0);if(S+=t.beforeBody.length+t.afterBody.length,d&&(_+=d*l.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),S){const f=e.displayColors?Math.max(o,u.lineHeight):u.lineHeight;_+=p*f+(S-p)*u.lineHeight+(S-1)*e.bodySpacing}h&&(_+=e.footerMarginTop+h*c.lineHeight+(h-1)*e.footerSpacing);let E=0;const x=function(f){w=Math.max(w,r.measureText(f).width+E)};return r.save(),r.font=l.string,ot(t.title,x),r.font=u.string,ot(t.beforeBody.concat(t.afterBody),x),E=e.displayColors?s+2+e.boxPadding:0,ot(n,f=>{ot(f.before,x),ot(f.lines,x),ot(f.after,x)}),E=0,r.font=c.string,ot(t.footer,x),r.restore(),w+=g.width,{width:w,height:_}}function mme(t,e){const{y:r,height:n}=e;return r<n/2?"top":r>t.height-n/2?"bottom":"center"}function vme(t,e,r,n){const{x:i,width:a}=n,s=r.caretSize+r.caretPadding;if(t==="left"&&i+a+s>e.width||t==="right"&&i-a-s<0)return!0}function gme(t,e,r,n){const{x:i,width:a}=r,{width:s,chartArea:{left:o,right:u}}=t;let l="center";return n==="center"?l=i<=(o+u)/2?"left":"right":i<=a/2?l="left":i>=s-a/2&&(l="right"),vme(l,t,e,r)&&(l="center"),l}function b2(t,e,r){const n=r.yAlign||e.yAlign||mme(t,r);return{xAlign:r.xAlign||e.xAlign||gme(t,e,r,n),yAlign:n}}function bme(t,e){let{x:r,width:n}=t;return e==="right"?r-=n:e==="center"&&(r-=n/2),r}function _me(t,e,r){let{y:n,height:i}=t;return e==="top"?n+=r:e==="bottom"?n-=i+r:n-=i/2,n}function _2(t,e,r,n){const{caretSize:i,caretPadding:a,cornerRadius:s}=t,{xAlign:o,yAlign:u}=r,l=i+a,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:p}=qo(s);let g=bme(e,o);const _=_me(e,u,l);return u==="center"?o==="left"?g+=l:o==="right"&&(g-=l):o==="left"?g-=Math.max(c,h)+i:o==="right"&&(g+=Math.max(d,p)+i),{x:br(g,0,n.width-e.width),y:br(_,0,n.height-e.height)}}function Xp(t,e,r){const n=Fr(r.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-n.right:t.x+n.left}function y2(t){return Ui([],Oa(t))}function yme(t,e,r){return ao(t,{tooltip:e,tooltipItems:r,type:"tooltip"})}function w2(t,e){const r=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return r?t.override(r):t}const x6={beforeTitle:ya,title(t){if(t.length>0){const e=t[0],r=e.chart.data.labels,n=r?r.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(n>0&&e.dataIndex<n)return r[e.dataIndex]}return""},afterTitle:ya,beforeBody:ya,beforeLabel:ya,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const r=t.formattedValue;return We(r)||(e+=r),e},labelColor(t){const r=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:r.borderColor,backgroundColor:r.backgroundColor,borderWidth:r.borderWidth,borderDash:r.borderDash,borderDashOffset:r.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const r=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:r.pointStyle,rotation:r.rotation}},afterLabel:ya,afterBody:ya,beforeFooter:ya,footer:ya,afterFooter:ya};function tn(t,e,r,n){const i=t[e].call(r,n);return typeof i>"u"?x6[e].call(r,n):i}class oO extends Ja{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const r=this.chart,n=this.options.setContext(this.getContext()),i=n.enabled&&r.options.animation&&n.animations,a=new r6(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=yme(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,r){const{callbacks:n}=r,i=tn(n,"beforeTitle",this,e),a=tn(n,"title",this,e),s=tn(n,"afterTitle",this,e);let o=[];return o=Ui(o,Oa(i)),o=Ui(o,Oa(a)),o=Ui(o,Oa(s)),o}getBeforeBody(e,r){return y2(tn(r.callbacks,"beforeBody",this,e))}getBody(e,r){const{callbacks:n}=r,i=[];return ot(e,a=>{const s={before:[],lines:[],after:[]},o=w2(n,a);Ui(s.before,Oa(tn(o,"beforeLabel",this,a))),Ui(s.lines,tn(o,"label",this,a)),Ui(s.after,Oa(tn(o,"afterLabel",this,a))),i.push(s)}),i}getAfterBody(e,r){return y2(tn(r.callbacks,"afterBody",this,e))}getFooter(e,r){const{callbacks:n}=r,i=tn(n,"beforeFooter",this,e),a=tn(n,"footer",this,e),s=tn(n,"afterFooter",this,e);let o=[];return o=Ui(o,Oa(i)),o=Ui(o,Oa(a)),o=Ui(o,Oa(s)),o}_createItems(e){const r=this._active,n=this.chart.data,i=[],a=[],s=[];let o=[],u,l;for(u=0,l=r.length;u<l;++u)o.push(pme(this.chart,r[u]));return e.filter&&(o=o.filter((c,d,h)=>e.filter(c,d,h,n))),e.itemSort&&(o=o.sort((c,d)=>e.itemSort(c,d,n))),ot(o,c=>{const d=w2(e.callbacks,c);i.push(tn(d,"labelColor",this,c)),a.push(tn(d,"labelPointStyle",this,c)),s.push(tn(d,"labelTextColor",this,c))}),this.labelColors=i,this.labelPointStyles=a,this.labelTextColors=s,this.dataPoints=o,o}update(e,r){const n=this.options.setContext(this.getContext()),i=this._active;let a,s=[];if(!i.length)this.opacity!==0&&(a={opacity:0});else{const o=rf[n.position].call(this,i,this._eventPosition);s=this._createItems(n),this.title=this.getTitle(s,n),this.beforeBody=this.getBeforeBody(s,n),this.body=this.getBody(s,n),this.afterBody=this.getAfterBody(s,n),this.footer=this.getFooter(s,n);const u=this._size=g2(this,n),l=Object.assign({},o,u),c=b2(this.chart,n,l),d=_2(n,l,c,this.chart);this.xAlign=c.xAlign,this.yAlign=c.yAlign,a={opacity:1,x:d.x,y:d.y,width:u.width,height:u.height,caretX:o.x,caretY:o.y}}this._tooltipItems=s,this.$context=void 0,a&&this._resolveAnimations().update(this,a),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:r})}drawCaret(e,r,n,i){const a=this.getCaretPosition(e,n,i);r.lineTo(a.x1,a.y1),r.lineTo(a.x2,a.y2),r.lineTo(a.x3,a.y3)}getCaretPosition(e,r,n){const{xAlign:i,yAlign:a}=this,{caretSize:s,cornerRadius:o}=n,{topLeft:u,topRight:l,bottomLeft:c,bottomRight:d}=qo(o),{x:h,y:p}=e,{width:g,height:_}=r;let w,S,E,x,f,m;return a==="center"?(f=p+_/2,i==="left"?(w=h,S=w-s,x=f+s,m=f-s):(w=h+g,S=w+s,x=f-s,m=f+s),E=w):(i==="left"?S=h+Math.max(u,c)+s:i==="right"?S=h+g-Math.max(l,d)-s:S=this.caretX,a==="top"?(x=p,f=x-s,w=S-s,E=S+s):(x=p+_,f=x+s,w=S+s,E=S-s),m=x),{x1:w,x2:S,x3:E,y1:x,y2:f,y3:m}}drawTitle(e,r,n){const i=this.title,a=i.length;let s,o,u;if(a){const l=Wl(n.rtl,this.x,this.width);for(e.x=Xp(this,n.titleAlign,n),r.textAlign=l.textAlign(n.titleAlign),r.textBaseline="middle",s=sr(n.titleFont),o=n.titleSpacing,r.fillStyle=n.titleColor,r.font=s.string,u=0;u<a;++u)r.fillText(i[u],l.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+o,u+1===a&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,r,n,i,a){const s=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:u,boxWidth:l}=a,c=sr(a.bodyFont),d=Xp(this,"left",a),h=i.x(d),p=u<c.lineHeight?(c.lineHeight-u)/2:0,g=r.y+p;if(a.usePointStyle){const _={radius:Math.min(l,u)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},w=i.leftForLtr(h,l)+l/2,S=g+u/2;e.strokeStyle=a.multiKeyBackground,e.fillStyle=a.multiKeyBackground,eO(e,_,w,S),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,eO(e,_,w,S)}else{e.lineWidth=He(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;const _=i.leftForLtr(h,l),w=i.leftForLtr(i.xPlus(h,1),l-2),S=qo(s.borderRadius);Object.values(S).some(E=>E!==0)?(e.beginPath(),e.fillStyle=a.multiKeyBackground,th(e,{x:_,y:g,w:l,h:u,radius:S}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),th(e,{x:w,y:g+1,w:l-2,h:u-2,radius:S}),e.fill()):(e.fillStyle=a.multiKeyBackground,e.fillRect(_,g,l,u),e.strokeRect(_,g,l,u),e.fillStyle=s.backgroundColor,e.fillRect(w,g+1,l-2,u-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,r,n){const{body:i}=this,{bodySpacing:a,bodyAlign:s,displayColors:o,boxHeight:u,boxWidth:l,boxPadding:c}=n,d=sr(n.bodyFont);let h=d.lineHeight,p=0;const g=Wl(n.rtl,this.x,this.width),_=function(P){r.fillText(P,g.x(e.x+p),e.y+h/2),e.y+=h+a},w=g.textAlign(s);let S,E,x,f,m,v,T;for(r.textAlign=s,r.textBaseline="middle",r.font=d.string,e.x=Xp(this,w,n),r.fillStyle=n.bodyColor,ot(this.beforeBody,_),p=o&&w!=="right"?s==="center"?l/2+c:l+2+c:0,f=0,v=i.length;f<v;++f){for(S=i[f],E=this.labelTextColors[f],r.fillStyle=E,ot(S.before,_),x=S.lines,o&&x.length&&(this._drawColorBox(r,e,f,g,n),h=Math.max(d.lineHeight,u)),m=0,T=x.length;m<T;++m)_(x[m]),h=d.lineHeight;ot(S.after,_)}p=0,h=d.lineHeight,ot(this.afterBody,_),e.y-=a}drawFooter(e,r,n){const i=this.footer,a=i.length;let s,o;if(a){const u=Wl(n.rtl,this.x,this.width);for(e.x=Xp(this,n.footerAlign,n),e.y+=n.footerMarginTop,r.textAlign=u.textAlign(n.footerAlign),r.textBaseline="middle",s=sr(n.footerFont),r.fillStyle=n.footerColor,r.font=s.string,o=0;o<a;++o)r.fillText(i[o],u.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+n.footerSpacing}}drawBackground(e,r,n,i){const{xAlign:a,yAlign:s}=this,{x:o,y:u}=e,{width:l,height:c}=n,{topLeft:d,topRight:h,bottomLeft:p,bottomRight:g}=qo(i.cornerRadius);r.fillStyle=i.backgroundColor,r.strokeStyle=i.borderColor,r.lineWidth=i.borderWidth,r.beginPath(),r.moveTo(o+d,u),s==="top"&&this.drawCaret(e,r,n,i),r.lineTo(o+l-h,u),r.quadraticCurveTo(o+l,u,o+l,u+h),s==="center"&&a==="right"&&this.drawCaret(e,r,n,i),r.lineTo(o+l,u+c-g),r.quadraticCurveTo(o+l,u+c,o+l-g,u+c),s==="bottom"&&this.drawCaret(e,r,n,i),r.lineTo(o+p,u+c),r.quadraticCurveTo(o,u+c,o,u+c-p),s==="center"&&a==="left"&&this.drawCaret(e,r,n,i),r.lineTo(o,u+d),r.quadraticCurveTo(o,u,o+d,u),r.closePath(),r.fill(),i.borderWidth>0&&r.stroke()}_updateAnimationTarget(e){const r=this.chart,n=this.$animations,i=n&&n.x,a=n&&n.y;if(i||a){const s=rf[e.position].call(this,this._active,this._eventPosition);if(!s)return;const o=this._size=g2(this,e),u=Object.assign({},s,this._size),l=b2(r,e,u),c=_2(e,u,l,r);(i._to!==c.x||a._to!==c.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=o.width,this.height=o.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){const r=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(r);const i={width:this.width,height:this.height},a={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const s=Fr(r.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;r.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(a,e,i,r),Z4(e,r.textDirection),a.y+=s.top,this.drawTitle(a,e,r),this.drawBody(a,e,r),this.drawFooter(a,e,r),J4(e,r.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,r){const n=this._active,i=e.map(({datasetIndex:o,index:u})=>{const l=this.chart.getDatasetMeta(o);if(!l)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:l.data[u],index:u}}),a=!vg(n,i),s=this._positionChanged(i,r);(a||s)&&(this._active=i,this._eventPosition=r,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,r,n=!0){if(r&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,a=this._active||[],s=this._getActiveElements(e,a,r,n),o=this._positionChanged(s,e),u=r||!vg(s,a)||o;return u&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,r))),u}_getActiveElements(e,r,n,i){const a=this.options;if(e.type==="mouseout")return[];if(!i)return r;const s=this.chart.getElementsAtEventForMode(e,a.mode,a,n);return a.reverse&&s.reverse(),s}_positionChanged(e,r){const{caretX:n,caretY:i,options:a}=this,s=rf[a.position].call(this,e,r);return s!==!1&&(n!==s.x||i!==s.y)}}ie(oO,"positioners",rf);var wme={id:"tooltip",_element:oO,positioners:rf,afterInit(t,e,r){r&&(t.tooltip=new oO({chart:t,options:r}))},beforeUpdate(t,e,r){t.tooltip&&t.tooltip.initialize(r)},reset(t,e,r){t.tooltip&&t.tooltip.initialize(r)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const r={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...r,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",r)}},afterEvent(t,e){if(t.tooltip){const r=e.replay;t.tooltip.handleEvent(e.event,r,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:x6},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Ome=Object.freeze({__proto__:null,Colors:Rpe,Decimation:Bpe,Filler:ime,Legend:cme,SubTitle:hme,Title:fme,Tooltip:wme});const Sme=(t,e,r,n)=>(typeof e=="string"?(r=t.push(e)-1,n.unshift({index:r,label:e})):isNaN(e)&&(r=null),r);function xme(t,e,r,n){const i=t.indexOf(e);if(i===-1)return Sme(t,e,r,n);const a=t.lastIndexOf(e);return i!==a?r:i}const Tme=(t,e)=>t===null?null:br(Math.round(t),0,e);function O2(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class uO extends $u{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const r=this._addedLabels;if(r.length){const n=this.getLabels();for(const{index:i,label:a}of r)n[i]===a&&n.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,r){if(We(e))return null;const n=this.getLabels();return r=isFinite(r)&&n[r]===e?r:xme(n,e,Ie(r,e),this._addedLabels),Tme(r,n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:r}=this.getUserBounds();let{min:n,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(n=0),r||(i=this.getLabels().length-1)),this.min=n,this.max=i}buildTicks(){const e=this.min,r=this.max,n=this.options.offset,i=[];let a=this.getLabels();a=e===0&&r===a.length-1?a:a.slice(e,r+1),this._valueRange=Math.max(a.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let s=e;s<=r;s++)i.push({value:s});return i}getLabelForValue(e){return O2.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const r=this.ticks;return e<0||e>r.length-1?null:this.getPixelForValue(r[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}ie(uO,"id","category"),ie(uO,"defaults",{ticks:{callback:O2}});function Eme(t,e){const r=[],{bounds:i,step:a,min:s,max:o,precision:u,count:l,maxTicks:c,maxDigits:d,includeBounds:h}=t,p=a||1,g=c-1,{min:_,max:w}=e,S=!We(s),E=!We(o),x=!We(l),f=(w-_)/(d+1);let m=vD((w-_)/g/p)*p,v,T,P,k;if(m<1e-14&&!S&&!E)return[{value:_},{value:w}];k=Math.ceil(w/m)-Math.floor(_/m),k>g&&(m=vD(k*m/g/p)*p),We(u)||(v=Math.pow(10,u),m=Math.ceil(m*v)/v),i==="ticks"?(T=Math.floor(_/m)*m,P=Math.ceil(w/m)*m):(T=_,P=w),S&&E&&a&&wde((o-s)/a,m/1e3)?(k=Math.round(Math.min((o-s)/m,c)),m=(o-s)/k,T=s,P=o):x?(T=S?s:T,P=E?o:P,k=l-1,m=(P-T)/k):(k=(P-T)/m,Sf(k,Math.round(k),m/1e3)?k=Math.round(k):k=Math.ceil(k));const y=Math.max(gD(m),gD(T));v=Math.pow(10,We(u)?y:u),T=Math.round(T*v)/v,P=Math.round(P*v)/v;let $=0;for(S&&(h&&T!==s?(r.push({value:s}),T<s&&$++,Sf(Math.round((T+$*m)*v)/v,s,S2(s,f,t))&&$++):T<s&&$++);$<k;++$){const C=Math.round((T+$*m)*v)/v;if(E&&C>o)break;r.push({value:C})}return E&&h&&P!==o?r.length&&Sf(r[r.length-1].value,o,S2(o,f,t))?r[r.length-1].value=o:r.push({value:o}):(!E||P===o)&&r.push({value:P}),r}function S2(t,e,{horizontal:r,minRotation:n}){const i=mi(n),a=(r?Math.sin(i):Math.cos(i))||.001,s=.75*e*(""+t).length;return Math.min(e/a,s)}class Sg extends $u{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,r){return We(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:r,maxDefined:n}=this.getUserBounds();let{min:i,max:a}=this;const s=u=>i=r?i:u,o=u=>a=n?a:u;if(e){const u=ia(i),l=ia(a);u<0&&l<0?o(0):u>0&&l>0&&s(0)}if(i===a){let u=a===0?1:Math.abs(a*.05);o(a+u),e||s(i-u)}this.min=i,this.max=a}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:r,stepSize:n}=e,i;return n?(i=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),r=r||11),r&&(i=Math.min(r,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,r=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i={maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:r.precision,step:r.stepSize,count:r.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:r.minRotation||0,includeBounds:r.includeBounds!==!1},a=this._range||this,s=Eme(i,a);return e.bounds==="ticks"&&D4(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let r=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const i=(n-r)/Math.max(e.length-1,1)/2;r-=i,n+=i}this._startValue=r,this._endValue=n,this._valueRange=n-r}getLabelForValue(e){return Ah(e,this.chart.options.locale,this.options.ticks.format)}}class lO extends Sg{determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=zt(e)?e:0,this.max=zt(r)?r:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),r=e?this.width:this.height,n=mi(this.options.ticks.minRotation),i=(e?Math.sin(n):Math.cos(n))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(r/Math.min(40,a.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}ie(lO,"id","linear"),ie(lO,"defaults",{ticks:{callback:V0.formatters.numeric}});const nh=t=>Math.floor(Ts(t)),So=(t,e)=>Math.pow(10,nh(t)+e);function x2(t){return t/Math.pow(10,nh(t))===1}function T2(t,e,r){const n=Math.pow(10,r),i=Math.floor(t/n);return Math.ceil(e/n)-i}function Pme(t,e){const r=e-t;let n=nh(r);for(;T2(t,e,n)>10;)n++;for(;T2(t,e,n)<10;)n--;return Math.min(n,nh(t))}function Cme(t,{min:e,max:r}){e=Tn(t.min,e);const n=[],i=nh(e);let a=Pme(e,r),s=a<0?Math.pow(10,Math.abs(a)):1;const o=Math.pow(10,a),u=i>a?Math.pow(10,i):0,l=Math.round((e-u)*s)/s,c=Math.floor((e-u)/o/10)*o*10;let d=Math.floor((l-c)/Math.pow(10,a)),h=Tn(t.min,Math.round((u+c+d*Math.pow(10,a))*s)/s);for(;h<r;)n.push({value:h,major:x2(h),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,s=a>=0?1:s),h=Math.round((u+c+d*Math.pow(10,a))*s)/s;const p=Tn(t.max,h);return n.push({value:p,major:x2(p),significand:d}),n}class cO extends $u{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,r){const n=Sg.prototype.parse.apply(this,[e,r]);if(n===0){this._zero=!0;return}return zt(n)&&n>0?n:null}determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=zt(e)?Math.max(0,e):null,this.max=zt(r)?Math.max(0,r):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!zt(this._userMin)&&(this.min=e===So(this.min,0)?So(this.min,-1):So(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:r}=this.getUserBounds();let n=this.min,i=this.max;const a=o=>n=e?n:o,s=o=>i=r?i:o;n===i&&(n<=0?(a(1),s(10)):(a(So(n,-1)),s(So(i,1)))),n<=0&&a(So(i,-1)),i<=0&&s(So(n,1)),this.min=n,this.max=i}buildTicks(){const e=this.options,r={min:this._userMin,max:this._userMax},n=Cme(r,this);return e.bounds==="ticks"&&D4(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(e){return e===void 0?"0":Ah(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Ts(e),this._valueRange=Ts(this.max)-Ts(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Ts(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const r=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+r*this._valueRange)}}ie(cO,"id","logarithmic"),ie(cO,"defaults",{ticks:{callback:V0.formatters.logarithmic,major:{enabled:!0}}});function dO(t){const e=t.ticks;if(e.display&&t.display){const r=Fr(e.backdropPadding);return Ie(e.font&&e.font.size,Vt.font.size)+r.height}return 0}function Ame(t,e,r){return r=wt(r)?r:[r],{w:Bde(t,e.string,r),h:r.length*e.lineHeight}}function E2(t,e,r,n,i){return t===n||t===i?{start:e-r/2,end:e+r/2}:t<n||t>i?{start:e-r,end:e}:{start:e,end:e+r}}function $me(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},r=Object.assign({},e),n=[],i=[],a=t._pointLabels.length,s=t.options.pointLabels,o=s.centerPointLabels?At/a:0;for(let u=0;u<a;u++){const l=s.setContext(t.getPointLabelContext(u));i[u]=l.padding;const c=t.getPointPosition(u,t.drawingArea+i[u],o),d=sr(l.font),h=Ame(t.ctx,d,t._pointLabels[u]);n[u]=h;const p=An(t.getIndexAngle(u)+o),g=Math.round(Ux(p)),_=E2(g,c.x,h.w,0,180),w=E2(g,c.y,h.h,90,270);Mme(r,e,p,_,w)}t.setCenterPoint(e.l-r.l,r.r-e.r,e.t-r.t,r.b-e.b),t._pointLabelItems=Rme(t,n,i)}function Mme(t,e,r,n,i){const a=Math.abs(Math.sin(r)),s=Math.abs(Math.cos(r));let o=0,u=0;n.start<e.l?(o=(e.l-n.start)/a,t.l=Math.min(t.l,e.l-o)):n.end>e.r&&(o=(n.end-e.r)/a,t.r=Math.max(t.r,e.r+o)),i.start<e.t?(u=(e.t-i.start)/s,t.t=Math.min(t.t,e.t-u)):i.end>e.b&&(u=(i.end-e.b)/s,t.b=Math.max(t.b,e.b+u))}function kme(t,e,r){const n=t.drawingArea,{extra:i,additionalAngle:a,padding:s,size:o}=r,u=t.getPointPosition(e,n+i+s,a),l=Math.round(Ux(An(u.angle+Ht))),c=Lme(u.y,o.h,l),d=Ime(l),h=Nme(u.x,o.w,d);return{visible:!0,x:u.x,y:c,textAlign:d,left:h,top:c,right:h+o.w,bottom:c+o.h}}function Dme(t,e){if(!e)return!0;const{left:r,top:n,right:i,bottom:a}=t;return!(Fa({x:r,y:n},e)||Fa({x:r,y:a},e)||Fa({x:i,y:n},e)||Fa({x:i,y:a},e))}function Rme(t,e,r){const n=[],i=t._pointLabels.length,a=t.options,{centerPointLabels:s,display:o}=a.pointLabels,u={extra:dO(a)/2,additionalAngle:s?At/i:0};let l;for(let c=0;c<i;c++){u.padding=r[c],u.size=e[c];const d=kme(t,c,u);n.push(d),o==="auto"&&(d.visible=Dme(d,l),d.visible&&(l=d))}return n}function Ime(t){return t===0||t===180?"center":t<180?"left":"right"}function Nme(t,e,r){return r==="right"?t-=e:r==="center"&&(t-=e/2),t}function Lme(t,e,r){return r===90||r===270?t-=e/2:(r>270||r<90)&&(t-=e),t}function Bme(t,e,r){const{left:n,top:i,right:a,bottom:s}=r,{backdropColor:o}=e;if(!We(o)){const u=qo(e.borderRadius),l=Fr(e.backdropPadding);t.fillStyle=o;const c=n-l.left,d=i-l.top,h=a-n+l.width,p=s-i+l.height;Object.values(u).some(g=>g!==0)?(t.beginPath(),th(t,{x:c,y:d,w:h,h:p,radius:u}),t.fill()):t.fillRect(c,d,h,p)}}function Fme(t,e){const{ctx:r,options:{pointLabels:n}}=t;for(let i=e-1;i>=0;i--){const a=t._pointLabelItems[i];if(!a.visible)continue;const s=n.setContext(t.getPointLabelContext(i));Bme(r,s,a);const o=sr(s.font),{x:u,y:l,textAlign:c}=a;gu(r,t._pointLabels[i],u,l+o.lineHeight/2,o,{color:s.color,textAlign:c,textBaseline:"middle"})}}function T6(t,e,r,n){const{ctx:i}=t;if(r)i.arc(t.xCenter,t.yCenter,e,0,Ot);else{let a=t.getPointPosition(0,e);i.moveTo(a.x,a.y);for(let s=1;s<n;s++)a=t.getPointPosition(s,e),i.lineTo(a.x,a.y)}}function jme(t,e,r,n,i){const a=t.ctx,s=e.circular,{color:o,lineWidth:u}=e;!s&&!n||!o||!u||r<0||(a.save(),a.strokeStyle=o,a.lineWidth=u,a.setLineDash(i.dash),a.lineDashOffset=i.dashOffset,a.beginPath(),T6(t,r,s,n),a.closePath(),a.stroke(),a.restore())}function zme(t,e,r){return ao(t,{label:r,index:e,type:"pointLabel"})}class nf extends Sg{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Fr(dO(this.options)/2),r=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+r/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(r,n)/2)}determineDataLimits(){const{min:e,max:r}=this.getMinMax(!1);this.min=zt(e)&&!isNaN(e)?e:0,this.max=zt(r)&&!isNaN(r)?r:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/dO(this.options))}generateTickLabels(e){Sg.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((r,n)=>{const i=vt(this.options.pointLabels.callback,[r,n],this);return i||i===0?i:""}).filter((r,n)=>this.chart.getDataVisibility(n))}fit(){const e=this.options;e.display&&e.pointLabels.display?$me(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,r,n,i){this.xCenter+=Math.floor((e-r)/2),this.yCenter+=Math.floor((n-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,r,n,i))}getIndexAngle(e){const r=Ot/(this._pointLabels.length||1),n=this.options.startAngle||0;return An(e*r+mi(n))}getDistanceFromCenterForValue(e){if(We(e))return NaN;const r=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*r:(e-this.min)*r}getValueForDistanceFromCenter(e){if(We(e))return NaN;const r=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-r:this.min+r}getPointLabelContext(e){const r=this._pointLabels||[];if(e>=0&&e<r.length){const n=r[e];return zme(this.getContext(),e,n)}}getPointPosition(e,r,n=0){const i=this.getIndexAngle(e)-Ht+n;return{x:Math.cos(i)*r+this.xCenter,y:Math.sin(i)*r+this.yCenter,angle:i}}getPointPositionForValue(e,r){return this.getPointPosition(e,this.getDistanceFromCenterForValue(r))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:r,top:n,right:i,bottom:a}=this._pointLabelItems[e];return{left:r,top:n,right:i,bottom:a}}drawBackground(){const{backgroundColor:e,grid:{circular:r}}=this.options;if(e){const n=this.ctx;n.save(),n.beginPath(),T6(this,this.getDistanceFromCenterForValue(this._endValue),r,this._pointLabels.length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){const e=this.ctx,r=this.options,{angleLines:n,grid:i,border:a}=r,s=this._pointLabels.length;let o,u,l;if(r.pointLabels.display&&Fme(this,s),i.display&&this.ticks.forEach((c,d)=>{if(d!==0){u=this.getDistanceFromCenterForValue(c.value);const h=this.getContext(d),p=i.setContext(h),g=a.setContext(h);jme(this,p,u,s,g)}}),n.display){for(e.save(),o=s-1;o>=0;o--){const c=n.setContext(this.getPointLabelContext(o)),{color:d,lineWidth:h}=c;!h||!d||(e.lineWidth=h,e.strokeStyle=d,e.setLineDash(c.borderDash),e.lineDashOffset=c.borderDashOffset,u=this.getDistanceFromCenterForValue(r.ticks.reverse?this.min:this.max),l=this.getPointPosition(o,u),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,r=this.options,n=r.ticks;if(!n.display)return;const i=this.getIndexAngle(0);let a,s;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((o,u)=>{if(u===0&&!r.reverse)return;const l=n.setContext(this.getContext(u)),c=sr(l.font);if(a=this.getDistanceFromCenterForValue(this.ticks[u].value),l.showLabelBackdrop){e.font=c.string,s=e.measureText(o.label).width,e.fillStyle=l.backdropColor;const d=Fr(l.backdropPadding);e.fillRect(-s/2-d.left,-a-c.size/2-d.top,s+d.width,c.size+d.height)}gu(e,o.label,0,-a,c,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})}),e.restore()}drawTitle(){}}ie(nf,"id","radialLinear"),ie(nf,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:V0.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),ie(nf,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),ie(nf,"descriptors",{angleLines:{_fallback:"grid"}});const Y0={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},un=Object.keys(Y0);function P2(t,e){return t-e}function C2(t,e){if(We(e))return null;const r=t._adapter,{parser:n,round:i,isoWeekday:a}=t._parseOpts;let s=e;return typeof n=="function"&&(s=n(s)),zt(s)||(s=typeof n=="string"?r.parse(s,n):r.parse(s)),s===null?null:(i&&(s=i==="week"&&(gc(a)||a===!0)?r.startOf(s,"isoWeek",a):r.startOf(s,i)),+s)}function A2(t,e,r,n){const i=un.length;for(let a=un.indexOf(t);a<i-1;++a){const s=Y0[un[a]],o=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((r-e)/(o*s.size))<=n)return un[a]}return un[i-1]}function Hme(t,e,r,n,i){for(let a=un.length-1;a>=un.indexOf(r);a--){const s=un[a];if(Y0[s].common&&t._adapter.diff(i,n,s)>=e-1)return s}return un[r?un.indexOf(r):0]}function Vme(t){for(let e=un.indexOf(t)+1,r=un.length;e<r;++e)if(Y0[un[e]].common)return un[e]}function $2(t,e,r){if(!r)t[e]=!0;else if(r.length){const{lo:n,hi:i}=Gx(r,e),a=r[n]>=e?r[n]:r[i];t[a]=!0}}function Ume(t,e,r,n){const i=t._adapter,a=+i.startOf(e[0].value,n),s=e[e.length-1].value;let o,u;for(o=a;o<=s;o=+i.add(o,1,n))u=r[o],u>=0&&(e[u].major=!0);return e}function M2(t,e,r){const n=[],i={},a=e.length;let s,o;for(s=0;s<a;++s)o=e[s],i[o]=s,n.push({value:o,major:!1});return a===0||!r?n:Ume(t,n,i,r)}class ih extends $u{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,r={}){const n=e.time||(e.time={}),i=this._adapter=new a6._date(e.adapters.date);i.init(r),Of(n.displayFormats,i.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=r.normalized}parse(e,r){return e===void 0?null:C2(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,r=this._adapter,n=e.time.unit||"day";let{min:i,max:a,minDefined:s,maxDefined:o}=this.getUserBounds();function u(l){!s&&!isNaN(l.min)&&(i=Math.min(i,l.min)),!o&&!isNaN(l.max)&&(a=Math.max(a,l.max))}(!s||!o)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),i=zt(i)&&!isNaN(i)?i:+r.startOf(Date.now(),n),a=zt(a)&&!isNaN(a)?a:+r.endOf(Date.now(),n)+1,this.min=Math.min(i,a-1),this.max=Math.max(i+1,a)}_getLabelBounds(){const e=this.getLabelTimestamps();let r=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(r=e[0],n=e[e.length-1]),{min:r,max:n}}buildTicks(){const e=this.options,r=e.time,n=e.ticks,i=n.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const a=this.min,s=this.max,o=Tde(i,a,s);return this._unit=r.unit||(n.autoSkip?A2(r.minUnit,this.min,this.max,this._getLabelCapacity(a)):Hme(this,o.length,r.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:Vme(this._unit),this.initOffsets(i),e.reverse&&o.reverse(),M2(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let r=0,n=0,i,a;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?r=1-i:r=(this.getDecimalForValue(e[1])-i)/2,a=this.getDecimalForValue(e[e.length-1]),e.length===1?n=a:n=(a-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;r=br(r,0,s),n=br(n,0,s),this._offsets={start:r,end:n,factor:1/(r+1+n)}}_generate(){const e=this._adapter,r=this.min,n=this.max,i=this.options,a=i.time,s=a.unit||A2(a.minUnit,r,n,this._getLabelCapacity(r)),o=Ie(i.ticks.stepSize,1),u=s==="week"?a.isoWeekday:!1,l=gc(u)||u===!0,c={};let d=r,h,p;if(l&&(d=+e.startOf(d,"isoWeek",u)),d=+e.startOf(d,l?"day":s),e.diff(n,r,s)>1e5*o)throw new Error(r+" and "+n+" are too far apart with stepSize of "+o+" "+s);const g=i.ticks.source==="data"&&this.getDataTimestamps();for(h=d,p=0;h<n;h=+e.add(h,o,s),p++)$2(c,h,g);return(h===n||i.bounds==="ticks"||p===1)&&$2(c,h,g),Object.keys(c).sort(P2).map(_=>+_)}getLabelForValue(e){const r=this._adapter,n=this.options.time;return n.tooltipFormat?r.format(e,n.tooltipFormat):r.format(e,n.displayFormats.datetime)}format(e,r){const i=this.options.time.displayFormats,a=this._unit,s=r||i[a];return this._adapter.format(e,s)}_tickFormatFunction(e,r,n,i){const a=this.options,s=a.ticks.callback;if(s)return vt(s,[e,r,n],this);const o=a.time.displayFormats,u=this._unit,l=this._majorUnit,c=u&&o[u],d=l&&o[l],h=n[r],p=l&&d&&h&&h.major;return this._adapter.format(e,i||(p?d:c))}generateTickLabels(e){let r,n,i;for(r=0,n=e.length;r<n;++r)i=e[r],i.label=this._tickFormatFunction(i.value,r,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const r=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((r.start+n)*r.factor)}getValueForPixel(e){const r=this._offsets,n=this.getDecimalForPixel(e)/r.factor-r.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){const r=this.options.ticks,n=this.ctx.measureText(e).width,i=mi(this.isHorizontal()?r.maxRotation:r.minRotation),a=Math.cos(i),s=Math.sin(i),o=this._resolveTickFontOptions(0).size;return{w:n*a+o*s,h:n*s+o*a}}_getLabelCapacity(e){const r=this.options.time,n=r.displayFormats,i=n[r.unit]||n.millisecond,a=this._tickFormatFunction(e,0,M2(this,[e],this._majorUnit),i),s=this._getLabelSize(a),o=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return o>0?o:1}getDataTimestamps(){let e=this._cache.data||[],r,n;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(r=0,n=i.length;r<n;++r)e=e.concat(i[r].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let r,n;if(e.length)return e;const i=this.getLabels();for(r=0,n=i.length;r<n;++r)e.push(C2(this,i[r]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return N4(e.sort(P2))}}ie(ih,"id","time"),ie(ih,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Zp(t,e,r){let n=0,i=t.length-1,a,s,o,u;r?(e>=t[n].pos&&e<=t[i].pos&&({lo:n,hi:i}=Ba(t,"pos",e)),{pos:a,time:o}=t[n],{pos:s,time:u}=t[i]):(e>=t[n].time&&e<=t[i].time&&({lo:n,hi:i}=Ba(t,"time",e)),{time:a,pos:o}=t[n],{time:s,pos:u}=t[i]);const l=s-a;return l?o+(u-o)*(e-a)/l:o}class fO extends ih{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),r=this._table=this.buildLookupTable(e);this._minPos=Zp(r,this.min),this._tableRange=Zp(r,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:r,max:n}=this,i=[],a=[];let s,o,u,l,c;for(s=0,o=e.length;s<o;++s)l=e[s],l>=r&&l<=n&&i.push(l);if(i.length<2)return[{time:r,pos:0},{time:n,pos:1}];for(s=0,o=i.length;s<o;++s)c=i[s+1],u=i[s-1],l=i[s],Math.round((c+u)/2)!==l&&a.push({time:l,pos:s/(o-1)});return a}_generate(){const e=this.min,r=this.max;let n=super.getDataTimestamps();return(!n.includes(e)||!n.length)&&n.splice(0,0,e),(!n.includes(r)||n.length===1)&&n.push(r),n.sort((i,a)=>i-a)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const r=this.getDataTimestamps(),n=this.getLabelTimestamps();return r.length&&n.length?e=this.normalize(r.concat(n)):e=r.length?r:n,e=this._cache.all=e,e}getDecimalForValue(e){return(Zp(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const r=this._offsets,n=this.getDecimalForPixel(e)/r.factor-r.end;return Zp(this._table,n*this._tableRange+this._minPos,!0)}}ie(fO,"id","timeseries"),ie(fO,"defaults",ih.defaults);var Gme=Object.freeze({__proto__:null,CategoryScale:uO,LinearScale:lO,LogarithmicScale:cO,RadialLinearScale:nf,TimeScale:ih,TimeSeriesScale:fO});const vAe=[Qfe,Cpe,Ome,Gme];function xt(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function be(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function Ee(t){be(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function E6(t,e){be(2,arguments);var r=Ee(t),n=xt(e);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function rT(t,e){be(2,arguments);var r=Ee(t),n=xt(e);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var s=a.getDate();return i>=s?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function Mh(t,e){be(2,arguments);var r=Ee(t).getTime(),n=xt(e);return new Date(r+n)}var Wme=36e5;function Yme(t,e){be(2,arguments);var r=xt(e);return Mh(t,r*Wme)}var Kme={};function so(){return Kme}function k2(t,e){var r,n,i,a,s,o,u,l;be(1,arguments);var c=so(),d=xt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Ee(t),p=h.getDay(),g=(p<d?7:0)+p-d;return h.setDate(h.getDate()-g),h.setHours(0,0,0,0),h}function xg(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function hO(t){be(1,arguments);var e=Ee(t);return e.setHours(0,0,0,0),e}var qme=864e5;function Xme(t,e){be(2,arguments);var r=hO(t),n=hO(e),i=r.getTime()-xg(r),a=n.getTime()-xg(n);return Math.round((i-a)/qme)}var Zme=6e4;function Jme(t,e){be(2,arguments);var r=xt(e);return Mh(t,r*Zme)}function Qme(t,e){be(2,arguments);var r=xt(e),n=r*3;return rT(t,n)}function eve(t,e){be(2,arguments);var r=xt(e);return Mh(t,r*1e3)}function tve(t,e){be(2,arguments);var r=xt(e),n=r*7;return E6(t,n)}function rve(t,e){be(2,arguments);var r=xt(e);return rT(t,r*12)}function Pf(t,e){be(2,arguments);var r=Ee(t),n=Ee(e),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}var K0=6e4,q0=36e5,nve=1e3;function ive(t){return be(1,arguments),t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function P6(t){if(be(1,arguments),!ive(t)&&typeof t!="number")return!1;var e=Ee(t);return!isNaN(Number(e))}function ave(t,e){be(2,arguments);var r=Ee(t),n=Ee(e),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}function sve(t,e){be(2,arguments);var r=Ee(t),n=Ee(e);return r.getFullYear()-n.getFullYear()}function D2(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function C6(t,e){be(2,arguments);var r=Ee(t),n=Ee(e),i=D2(r,n),a=Math.abs(Xme(r,n));r.setDate(r.getDate()-i*a);var s=+(D2(r,n)===-i),o=i*(a-s);return o===0?0:o}function X0(t,e){return be(2,arguments),Ee(t).getTime()-Ee(e).getTime()}var R2={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},ove="trunc";function kh(t){return t?R2[t]:R2[ove]}function uve(t,e,r){be(2,arguments);var n=X0(t,e)/q0;return kh(r==null?void 0:r.roundingMethod)(n)}function lve(t,e,r){be(2,arguments);var n=X0(t,e)/K0;return kh(r==null?void 0:r.roundingMethod)(n)}function A6(t){be(1,arguments);var e=Ee(t);return e.setHours(23,59,59,999),e}function $6(t){be(1,arguments);var e=Ee(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function cve(t){be(1,arguments);var e=Ee(t);return A6(e).getTime()===$6(e).getTime()}function M6(t,e){be(2,arguments);var r=Ee(t),n=Ee(e),i=Pf(r,n),a=Math.abs(ave(r,n)),s;if(a<1)s=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);var o=Pf(r,n)===-i;cve(Ee(t))&&a===1&&Pf(t,n)===1&&(o=!1),s=i*(a-Number(o))}return s===0?0:s}function dve(t,e,r){be(2,arguments);var n=M6(t,e)/3;return kh(r==null?void 0:r.roundingMethod)(n)}function fve(t,e,r){be(2,arguments);var n=X0(t,e)/1e3;return kh(r==null?void 0:r.roundingMethod)(n)}function hve(t,e,r){be(2,arguments);var n=C6(t,e)/7;return kh(r==null?void 0:r.roundingMethod)(n)}function pve(t,e){be(2,arguments);var r=Ee(t),n=Ee(e),i=Pf(r,n),a=Math.abs(sve(r,n));r.setFullYear(1584),n.setFullYear(1584);var s=Pf(r,n)===-i,o=i*(a-Number(s));return o===0?0:o}function mve(t){be(1,arguments);var e=Ee(t);return e.setSeconds(0,0),e}function vve(t){be(1,arguments);var e=Ee(t),r=e.getMonth(),n=r-r%3;return e.setMonth(n,1),e.setHours(0,0,0,0),e}function gve(t){be(1,arguments);var e=Ee(t);return e.setDate(1),e.setHours(0,0,0,0),e}function bve(t){be(1,arguments);var e=Ee(t),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}function _ve(t){be(1,arguments);var e=Ee(t),r=new Date(0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}function yve(t){be(1,arguments);var e=Ee(t);return e.setMinutes(59,59,999),e}function wve(t,e){var r,n,i,a,s,o,u,l;be(1,arguments);var c=so(),d=xt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Ee(t),p=h.getDay(),g=(p<d?-7:0)+6-(p-d);return h.setDate(h.getDate()+g),h.setHours(23,59,59,999),h}function Ove(t){be(1,arguments);var e=Ee(t);return e.setSeconds(59,999),e}function Sve(t){be(1,arguments);var e=Ee(t),r=e.getMonth(),n=r-r%3+3;return e.setMonth(n,0),e.setHours(23,59,59,999),e}function xve(t){be(1,arguments);var e=Ee(t);return e.setMilliseconds(999),e}function k6(t,e){be(2,arguments);var r=xt(e);return Mh(t,-r)}var Tve=864e5;function Eve(t){be(1,arguments);var e=Ee(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),i=r-n;return Math.floor(i/Tve)+1}function yc(t){be(1,arguments);var e=1,r=Ee(t),n=r.getUTCDay(),i=(n<e?7:0)+n-e;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function D6(t){be(1,arguments);var e=Ee(t),r=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=yc(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var s=yc(a);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function Pve(t){be(1,arguments);var e=D6(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=yc(r);return n}var Cve=6048e5;function R6(t){be(1,arguments);var e=Ee(t),r=yc(e).getTime()-Pve(e).getTime();return Math.round(r/Cve)+1}function bu(t,e){var r,n,i,a,s,o,u,l;be(1,arguments);var c=so(),d=xt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Ee(t),p=h.getUTCDay(),g=(p<d?7:0)+p-d;return h.setUTCDate(h.getUTCDate()-g),h.setUTCHours(0,0,0,0),h}function nT(t,e){var r,n,i,a,s,o,u,l;be(1,arguments);var c=Ee(t),d=c.getUTCFullYear(),h=so(),p=xt((r=(n=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&i!==void 0?i:h.firstWeekContainsDate)!==null&&n!==void 0?n:(u=h.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(d+1,0,p),g.setUTCHours(0,0,0,0);var _=bu(g,e),w=new Date(0);w.setUTCFullYear(d,0,p),w.setUTCHours(0,0,0,0);var S=bu(w,e);return c.getTime()>=_.getTime()?d+1:c.getTime()>=S.getTime()?d:d-1}function Ave(t,e){var r,n,i,a,s,o,u,l;be(1,arguments);var c=so(),d=xt((r=(n=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),h=nT(t,e),p=new Date(0);p.setUTCFullYear(h,0,d),p.setUTCHours(0,0,0,0);var g=bu(p,e);return g}var $ve=6048e5;function I6(t,e){be(1,arguments);var r=Ee(t),n=bu(r,e).getTime()-Ave(r,e).getTime();return Math.round(n/$ve)+1}function st(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var Mve={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return st(e==="yy"?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return e==="M"?String(r+1):st(r+1,2)},d:function(t,e){return st(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,e){return st(t.getUTCHours()%12||12,e.length)},H:function(t,e){return st(t.getUTCHours(),e.length)},m:function(t,e){return st(t.getUTCMinutes(),e.length)},s:function(t,e){return st(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return st(i,e.length)}};const ds=Mve;var pl={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},kve={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if(e==="yo"){var n=t.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return ds.y(t,e)},Y:function(t,e,r,n){var i=nT(t,n),a=i>0?i:1-i;if(e==="YY"){var s=a%100;return st(s,2)}return e==="Yo"?r.ordinalNumber(a,{unit:"year"}):st(a,e.length)},R:function(t,e){var r=D6(t);return st(r,e.length)},u:function(t,e){var r=t.getUTCFullYear();return st(r,e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return st(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return st(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return ds.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return st(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var i=I6(t,n);return e==="wo"?r.ordinalNumber(i,{unit:"week"}):st(i,e.length)},I:function(t,e,r){var n=R6(t);return e==="Io"?r.ordinalNumber(n,{unit:"week"}):st(n,e.length)},d:function(t,e,r){return e==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):ds.d(t,e)},D:function(t,e,r){var n=Eve(t);return e==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):st(n,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var i=t.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return st(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var i=t.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return st(a,e.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return st(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours(),i=n/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n=t.getUTCHours(),i;switch(n===12?i=pl.noon:n===0?i=pl.midnight:i=n/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n=t.getUTCHours(),i;switch(n>=17?i=pl.evening:n>=12?i=pl.afternoon:n>=4?i=pl.morning:i=pl.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,r){if(e==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return ds.h(t,e)},H:function(t,e,r){return e==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ds.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return e==="Ko"?r.ordinalNumber(n,{unit:"hour"}):st(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return n===0&&(n=24),e==="ko"?r.ordinalNumber(n,{unit:"hour"}):st(n,e.length)},m:function(t,e,r){return e==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ds.m(t,e)},s:function(t,e,r){return e==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ds.s(t,e)},S:function(t,e){return ds.S(t,e)},X:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();if(a===0)return"Z";switch(e){case"X":return N2(a);case"XXXX":case"XX":return $o(a);case"XXXXX":case"XXX":default:return $o(a,":")}},x:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"x":return N2(a);case"xxxx":case"xx":return $o(a);case"xxxxx":case"xxx":default:return $o(a,":")}},O:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+I2(a,":");case"OOOO":default:return"GMT"+$o(a,":")}},z:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+I2(a,":");case"zzzz":default:return"GMT"+$o(a,":")}},t:function(t,e,r,n){var i=n._originalDate||t,a=Math.floor(i.getTime()/1e3);return st(a,e.length)},T:function(t,e,r,n){var i=n._originalDate||t,a=i.getTime();return st(a,e.length)}};function I2(t,e){var r=t>0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var s=e||"";return r+String(i)+s+st(a,2)}function N2(t,e){if(t%60===0){var r=t>0?"-":"+";return r+st(Math.abs(t)/60,2)}return $o(t,e)}function $o(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t),a=st(Math.floor(i/60),2),s=st(i%60,2);return n+a+r+s}const Dve=kve;var L2=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},N6=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Rve=function(t,e){var r=t.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return L2(t,e);var a;switch(n){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",L2(n,e)).replace("{{time}}",N6(i,e))},Ive={p:N6,P:Rve};const pO=Ive;var Nve=["D","DD"],Lve=["YY","YYYY"];function L6(t){return Nve.indexOf(t)!==-1}function B6(t){return Lve.indexOf(t)!==-1}function Tg(t,e,r){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Bve={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Fve=function(t,e,r){var n,i=Bve[t];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const jve=Fve;function Ly(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var zve={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Hve={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Vve={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Uve={date:Ly({formats:zve,defaultWidth:"full"}),time:Ly({formats:Hve,defaultWidth:"full"}),dateTime:Ly({formats:Vve,defaultWidth:"full"})};const Gve=Uve;var Wve={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yve=function(t,e,r,n){return Wve[t]};const Kve=Yve;function Pd(t){return function(e,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,s=r!=null&&r.width?String(r.width):a;i=t.formattingValues[s]||t.formattingValues[a]}else{var o=t.defaultWidth,u=r!=null&&r.width?String(r.width):t.defaultWidth;i=t.values[u]||t.values[o]}var l=t.argumentCallback?t.argumentCallback(e):e;return i[l]}}var qve={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Xve={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Zve={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Jve={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Qve={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ege={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},tge=function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},rge={ordinalNumber:tge,era:Pd({values:qve,defaultWidth:"wide"}),quarter:Pd({values:Xve,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Pd({values:Zve,defaultWidth:"wide"}),day:Pd({values:Jve,defaultWidth:"wide"}),dayPeriod:Pd({values:Qve,defaultWidth:"wide",formattingValues:ege,defaultFormattingWidth:"wide"})};const nge=rge;function Cd(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;var s=a[0],o=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(o)?age(o,function(d){return d.test(s)}):ige(o,function(d){return d.test(s)}),l;l=t.valueCallback?t.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var c=e.slice(s.length);return{value:l,rest:c}}}function ige(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function age(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}function sge(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var i=n[0],a=e.match(t.parsePattern);if(!a)return null;var s=t.valueCallback?t.valueCallback(a[0]):a[0];s=r.valueCallback?r.valueCallback(s):s;var o=e.slice(i.length);return{value:s,rest:o}}}var oge=/^(\d+)(th|st|nd|rd)?/i,uge=/\d+/i,lge={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},cge={any:[/^b/i,/^(a|c)/i]},dge={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},fge={any:[/1/i,/2/i,/3/i,/4/i]},hge={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},pge={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},mge={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},vge={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},gge={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},bge={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},_ge={ordinalNumber:sge({matchPattern:oge,parsePattern:uge,valueCallback:function(t){return parseInt(t,10)}}),era:Cd({matchPatterns:lge,defaultMatchWidth:"wide",parsePatterns:cge,defaultParseWidth:"any"}),quarter:Cd({matchPatterns:dge,defaultMatchWidth:"wide",parsePatterns:fge,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Cd({matchPatterns:hge,defaultMatchWidth:"wide",parsePatterns:pge,defaultParseWidth:"any"}),day:Cd({matchPatterns:mge,defaultMatchWidth:"wide",parsePatterns:vge,defaultParseWidth:"any"}),dayPeriod:Cd({matchPatterns:gge,defaultMatchWidth:"any",parsePatterns:bge,defaultParseWidth:"any"})};const yge=_ge;var wge={code:"en-US",formatDistance:jve,formatLong:Gve,formatRelative:Kve,localize:nge,match:yge,options:{weekStartsOn:0,firstWeekContainsDate:1}};const F6=wge;var Oge=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sge=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xge=/^'([^]*?)'?$/,Tge=/''/g,Ege=/[a-zA-Z]/;function Pge(t,e,r){var n,i,a,s,o,u,l,c,d,h,p,g,_,w,S,E,x,f;be(2,arguments);var m=String(e),v=so(),T=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:v.locale)!==null&&n!==void 0?n:F6,P=xt((a=(s=(o=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(l=r.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&o!==void 0?o:v.firstWeekContainsDate)!==null&&s!==void 0?s:(d=v.locale)===null||d===void 0||(h=d.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=xt((p=(g=(_=(w=r==null?void 0:r.weekStartsOn)!==null&&w!==void 0?w:r==null||(S=r.locale)===null||S===void 0||(E=S.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&_!==void 0?_:v.weekStartsOn)!==null&&g!==void 0?g:(x=v.locale)===null||x===void 0||(f=x.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&p!==void 0?p:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!T.localize)throw new RangeError("locale must contain localize property");if(!T.formatLong)throw new RangeError("locale must contain formatLong property");var y=Ee(t);if(!P6(y))throw new RangeError("Invalid time value");var $=xg(y),C=k6(y,$),O={firstWeekContainsDate:P,weekStartsOn:k,locale:T,_originalDate:y},A=m.match(Sge).map(function(D){var M=D[0];if(M==="p"||M==="P"){var N=pO[M];return N(D,T.formatLong)}return D}).join("").match(Oge).map(function(D){if(D==="''")return"'";var M=D[0];if(M==="'")return Cge(D);var N=Dve[M];if(N)return!(r!=null&&r.useAdditionalWeekYearTokens)&&B6(D)&&Tg(D,e,String(t)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&L6(D)&&Tg(D,e,String(t)),N(C,D,T.localize,O);if(M.match(Ege))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return D}).join("");return A}function Cge(t){var e=t.match(xge);return e?e[1].replace(Tge,"'"):t}function Age(t,e){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function Eg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $ge=10;class j6{constructor(){Eg(this,"priority",void 0),Eg(this,"subPriority",0)}validate(e,r){return!0}}class Mge extends j6{constructor(e,r,n,i,a){super(),this.value=e,this.validateValue=r,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,r){return this.validateValue(e,this.value,r)}set(e,r,n){return this.setValue(e,r,this.value,n)}}class kge extends j6{constructor(){super(...arguments),Eg(this,"priority",$ge),Eg(this,"subPriority",-1)}set(e,r){if(r.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}function By(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class tt{constructor(){By(this,"incompatibleTokens",void 0),By(this,"priority",void 0),By(this,"subPriority",void 0)}run(e,r,n,i){var a=this.parse(e,r,n,i);return a?{setter:new Mge(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,r,n){return!0}}function B2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Dge extends tt{constructor(){super(...arguments),B2(this,"priority",140),B2(this,"incompatibleTokens",["R","u","t","T"])}parse(e,r,n){switch(r){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,r,n){return r.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}var Jt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ji={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Qt(t,e){return t&&{value:e(t.value),rest:t.rest}}function It(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function Qi(t,e){var r=e.match(t);if(!r)return null;if(r[0]==="Z")return{value:0,rest:e.slice(1)};var n=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,a=r[3]?parseInt(r[3],10):0,s=r[5]?parseInt(r[5],10):0;return{value:n*(i*q0+a*K0+s*nve),rest:e.slice(r[0].length)}}function z6(t){return It(Jt.anyDigitsSigned,t)}function Ut(t,e){switch(t){case 1:return It(Jt.singleDigit,e);case 2:return It(Jt.twoDigits,e);case 3:return It(Jt.threeDigits,e);case 4:return It(Jt.fourDigits,e);default:return It(new RegExp("^\\d{1,"+t+"}"),e)}}function Pg(t,e){switch(t){case 1:return It(Jt.singleDigitSigned,e);case 2:return It(Jt.twoDigitsSigned,e);case 3:return It(Jt.threeDigitsSigned,e);case 4:return It(Jt.fourDigitsSigned,e);default:return It(new RegExp("^-?\\d{1,"+t+"}"),e)}}function iT(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function H6(t,e){var r=e>0,n=r?e:1-e,i;if(n<=50)i=t||100;else{var a=n+50,s=Math.floor(a/100)*100,o=t>=a%100;i=t+s-(o?100:0)}return r?i:1-i}function V6(t){return t%400===0||t%4===0&&t%100!==0}function F2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Rge extends tt{constructor(){super(...arguments),F2(this,"priority",130),F2(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,r,n){var i=function(a){return{year:a,isTwoDigitYear:r==="yy"}};switch(r){case"y":return Qt(Ut(4,e),i);case"yo":return Qt(n.ordinalNumber(e,{unit:"year"}),i);default:return Qt(Ut(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,n){var i=e.getUTCFullYear();if(n.isTwoDigitYear){var a=H6(n.year,i);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var s=!("era"in r)||r.era===1?n.year:1-n.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e}}function j2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Ige extends tt{constructor(){super(...arguments),j2(this,"priority",130),j2(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,r,n){var i=function(a){return{year:a,isTwoDigitYear:r==="YY"}};switch(r){case"Y":return Qt(Ut(4,e),i);case"Yo":return Qt(n.ordinalNumber(e,{unit:"year"}),i);default:return Qt(Ut(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,n,i){var a=nT(e,i);if(n.isTwoDigitYear){var s=H6(n.year,a);return e.setUTCFullYear(s,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),bu(e,i)}var o=!("era"in r)||r.era===1?n.year:1-n.year;return e.setUTCFullYear(o,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),bu(e,i)}}function z2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Nge extends tt{constructor(){super(...arguments),z2(this,"priority",130),z2(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,r){return Pg(r==="R"?4:r.length,e)}set(e,r,n){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),yc(i)}}function H2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Lge extends tt{constructor(){super(...arguments),H2(this,"priority",130),H2(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,r){return Pg(r==="u"?4:r.length,e)}set(e,r,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}function V2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Bge extends tt{constructor(){super(...arguments),V2(this,"priority",120),V2(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"Q":case"QQ":return Ut(r.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=1&&r<=4}set(e,r,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}function U2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Fge extends tt{constructor(){super(...arguments),U2(this,"priority",120),U2(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"q":case"qq":return Ut(r.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=1&&r<=4}set(e,r,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}function G2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class jge extends tt{constructor(){super(...arguments),G2(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),G2(this,"priority",110)}parse(e,r,n){var i=function(a){return a-1};switch(r){case"M":return Qt(It(Jt.month,e),i);case"MM":return Qt(Ut(2,e),i);case"Mo":return Qt(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=11}set(e,r,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}function W2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class zge extends tt{constructor(){super(...arguments),W2(this,"priority",110),W2(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,r,n){var i=function(a){return a-1};switch(r){case"L":return Qt(It(Jt.month,e),i);case"LL":return Qt(Ut(2,e),i);case"Lo":return Qt(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=11}set(e,r,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}function Hge(t,e,r){be(2,arguments);var n=Ee(t),i=xt(e),a=I6(n,r)-i;return n.setUTCDate(n.getUTCDate()-a*7),n}function Y2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Vge extends tt{constructor(){super(...arguments),Y2(this,"priority",100),Y2(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,r,n){switch(r){case"w":return It(Jt.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return Ut(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n,i){return bu(Hge(e,n,i),i)}}function Uge(t,e){be(2,arguments);var r=Ee(t),n=xt(e),i=R6(r)-n;return r.setUTCDate(r.getUTCDate()-i*7),r}function K2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Gge extends tt{constructor(){super(...arguments),K2(this,"priority",100),K2(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,r,n){switch(r){case"I":return It(Jt.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return Ut(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n){return yc(Uge(e,n))}}function Fy(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wge=[31,28,31,30,31,30,31,31,30,31,30,31],Yge=[31,29,31,30,31,30,31,31,30,31,30,31];class Kge extends tt{constructor(){super(...arguments),Fy(this,"priority",90),Fy(this,"subPriority",1),Fy(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"d":return It(Jt.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return Ut(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=V6(n),a=e.getUTCMonth();return i?r>=1&&r<=Yge[a]:r>=1&&r<=Wge[a]}set(e,r,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}function jy(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class qge extends tt{constructor(){super(...arguments),jy(this,"priority",90),jy(this,"subpriority",1),jy(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,r,n){switch(r){case"D":case"DD":return It(Jt.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return Ut(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=V6(n);return i?r>=1&&r<=366:r>=1&&r<=365}set(e,r,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}function aT(t,e,r){var n,i,a,s,o,u,l,c;be(2,arguments);var d=so(),h=xt((n=(i=(a=(s=r==null?void 0:r.weekStartsOn)!==null&&s!==void 0?s:r==null||(o=r.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&a!==void 0?a:d.weekStartsOn)!==null&&i!==void 0?i:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Ee(t),g=xt(e),_=p.getUTCDay(),w=g%7,S=(w+7)%7,E=(S<h?7:0)+g-_;return p.setUTCDate(p.getUTCDate()+E),p}function q2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Xge extends tt{constructor(){super(...arguments),q2(this,"priority",90),q2(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,n,i){return e=aT(e,n,i),e.setUTCHours(0,0,0,0),e}}function X2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Zge extends tt{constructor(){super(...arguments),X2(this,"priority",90),X2(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,r,n,i){var a=function(s){var o=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+o};switch(r){case"e":case"ee":return Qt(Ut(r.length,e),a);case"eo":return Qt(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,n,i){return e=aT(e,n,i),e.setUTCHours(0,0,0,0),e}}function Z2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Jge extends tt{constructor(){super(...arguments),Z2(this,"priority",90),Z2(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,r,n,i){var a=function(s){var o=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+o};switch(r){case"c":case"cc":return Qt(Ut(r.length,e),a);case"co":return Qt(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=6}set(e,r,n,i){return e=aT(e,n,i),e.setUTCHours(0,0,0,0),e}}function Qge(t,e){be(2,arguments);var r=xt(e);r%7===0&&(r=r-7);var n=1,i=Ee(t),a=i.getUTCDay(),s=r%7,o=(s+7)%7,u=(o<n?7:0)+r-a;return i.setUTCDate(i.getUTCDate()+u),i}function J2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class e0e extends tt{constructor(){super(...arguments),J2(this,"priority",90),J2(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,r,n){var i=function(a){return a===0?7:a};switch(r){case"i":case"ii":return Ut(r.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return Qt(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return Qt(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Qt(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Qt(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,r){return r>=1&&r<=7}set(e,r,n){return e=Qge(e,n),e.setUTCHours(0,0,0,0),e}}function Q2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class t0e extends tt{constructor(){super(...arguments),Q2(this,"priority",80),Q2(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,r,n){switch(r){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,n){return e.setUTCHours(iT(n),0,0,0),e}}function eR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class r0e extends tt{constructor(){super(...arguments),eR(this,"priority",80),eR(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,r,n){switch(r){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,n){return e.setUTCHours(iT(n),0,0,0),e}}function tR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class n0e extends tt{constructor(){super(...arguments),tR(this,"priority",80),tR(this,"incompatibleTokens",["a","b","t","T"])}parse(e,r,n){switch(r){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,n){return e.setUTCHours(iT(n),0,0,0),e}}function rR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class i0e extends tt{constructor(){super(...arguments),rR(this,"priority",70),rR(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,r,n){switch(r){case"h":return It(Jt.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return Ut(r.length,e)}}validate(e,r){return r>=1&&r<=12}set(e,r,n){var i=e.getUTCHours()>=12;return i&&n<12?e.setUTCHours(n+12,0,0,0):!i&&n===12?e.setUTCHours(0,0,0,0):e.setUTCHours(n,0,0,0),e}}function nR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class a0e extends tt{constructor(){super(...arguments),nR(this,"priority",70),nR(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,r,n){switch(r){case"H":return It(Jt.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return Ut(r.length,e)}}validate(e,r){return r>=0&&r<=23}set(e,r,n){return e.setUTCHours(n,0,0,0),e}}function iR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class s0e extends tt{constructor(){super(...arguments),iR(this,"priority",70),iR(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,r,n){switch(r){case"K":return It(Jt.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return Ut(r.length,e)}}validate(e,r){return r>=0&&r<=11}set(e,r,n){var i=e.getUTCHours()>=12;return i&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}function aR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class o0e extends tt{constructor(){super(...arguments),aR(this,"priority",70),aR(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,r,n){switch(r){case"k":return It(Jt.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return Ut(r.length,e)}}validate(e,r){return r>=1&&r<=24}set(e,r,n){var i=n<=24?n%24:n;return e.setUTCHours(i,0,0,0),e}}function sR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class u0e extends tt{constructor(){super(...arguments),sR(this,"priority",60),sR(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"m":return It(Jt.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return Ut(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCMinutes(n,0,0),e}}function oR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class l0e extends tt{constructor(){super(...arguments),oR(this,"priority",50),oR(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"s":return It(Jt.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return Ut(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCSeconds(n,0),e}}function uR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class c0e extends tt{constructor(){super(...arguments),uR(this,"priority",30),uR(this,"incompatibleTokens",["t","T"])}parse(e,r){var n=function(i){return Math.floor(i*Math.pow(10,-r.length+3))};return Qt(Ut(r.length,e),n)}set(e,r,n){return e.setUTCMilliseconds(n),e}}function lR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class d0e extends tt{constructor(){super(...arguments),lR(this,"priority",10),lR(this,"incompatibleTokens",["t","T","x"])}parse(e,r){switch(r){case"X":return Qi(Ji.basicOptionalMinutes,e);case"XX":return Qi(Ji.basic,e);case"XXXX":return Qi(Ji.basicOptionalSeconds,e);case"XXXXX":return Qi(Ji.extendedOptionalSeconds,e);case"XXX":default:return Qi(Ji.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}function cR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class f0e extends tt{constructor(){super(...arguments),cR(this,"priority",10),cR(this,"incompatibleTokens",["t","T","X"])}parse(e,r){switch(r){case"x":return Qi(Ji.basicOptionalMinutes,e);case"xx":return Qi(Ji.basic,e);case"xxxx":return Qi(Ji.basicOptionalSeconds,e);case"xxxxx":return Qi(Ji.extendedOptionalSeconds,e);case"xxx":default:return Qi(Ji.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}function dR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class h0e extends tt{constructor(){super(...arguments),dR(this,"priority",40),dR(this,"incompatibleTokens","*")}parse(e){return z6(e)}set(e,r,n){return[new Date(n*1e3),{timestampIsSet:!0}]}}function fR(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class p0e extends tt{constructor(){super(...arguments),fR(this,"priority",20),fR(this,"incompatibleTokens","*")}parse(e){return z6(e)}set(e,r,n){return[new Date(n),{timestampIsSet:!0}]}}var m0e={G:new Dge,y:new Rge,Y:new Ige,R:new Nge,u:new Lge,Q:new Bge,q:new Fge,M:new jge,L:new zge,w:new Vge,I:new Gge,d:new Kge,D:new qge,E:new Xge,e:new Zge,c:new Jge,i:new e0e,a:new t0e,b:new r0e,B:new n0e,h:new i0e,H:new a0e,K:new s0e,k:new o0e,m:new u0e,s:new l0e,S:new c0e,X:new d0e,x:new f0e,t:new h0e,T:new p0e},v0e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,g0e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,b0e=/^'([^]*?)'?$/,_0e=/''/g,y0e=/\S/,w0e=/[a-zA-Z]/;function O0e(t,e,r,n){var i,a,s,o,u,l,c,d,h,p,g,_,w,S,E,x,f,m;be(3,arguments);var v=String(t),T=String(e),P=so(),k=(i=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:P.locale)!==null&&i!==void 0?i:F6;if(!k.match)throw new RangeError("locale must contain match property");var y=xt((s=(o=(u=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(c=n.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&u!==void 0?u:P.firstWeekContainsDate)!==null&&o!==void 0?o:(h=P.locale)===null||h===void 0||(p=h.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=xt((g=(_=(w=(S=n==null?void 0:n.weekStartsOn)!==null&&S!==void 0?S:n==null||(E=n.locale)===null||E===void 0||(x=E.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&w!==void 0?w:P.weekStartsOn)!==null&&_!==void 0?_:(f=P.locale)===null||f===void 0||(m=f.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&g!==void 0?g:0);if(!($>=0&&$<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(T==="")return v===""?Ee(r):new Date(NaN);var C={firstWeekContainsDate:y,weekStartsOn:$,locale:k},O=[new kge],A=T.match(g0e).map(function(G){var U=G[0];if(U in pO){var K=pO[U];return K(G,k.formatLong)}return G}).join("").match(v0e),D=[],M=function(G){!(n!=null&&n.useAdditionalWeekYearTokens)&&B6(G)&&Tg(G,T,t),!(n!=null&&n.useAdditionalDayOfYearTokens)&&L6(G)&&Tg(G,T,t);var U=G[0],K=m0e[U];if(K){var ue=K.incompatibleTokens;if(Array.isArray(ue)){var _e=D.find(function(xe){return ue.includes(xe.token)||xe.token===U});if(_e)throw new RangeError("The format string mustn't contain `".concat(_e.fullToken,"` and `").concat(G,"` at the same time"))}else if(K.incompatibleTokens==="*"&&D.length>0)throw new RangeError("The format string mustn't contain `".concat(G,"` and any other token at the same time"));D.push({token:U,fullToken:G});var $e=K.run(v,G,k.match,C);if(!$e)return N=G,{v:new Date(NaN)};O.push($e.setter),v=$e.rest}else{if(U.match(w0e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+U+"`");if(G==="''"?G="'":U==="'"&&(G=S0e(G)),v.indexOf(G)===0)v=v.slice(G.length);else return N=G,{v:new Date(NaN)}}N=G};for(var N of A){var F=M(N);if(typeof F=="object")return F.v}if(v.length>0&&y0e.test(v))return new Date(NaN);var j=O.map(function(G){return G.priority}).sort(function(G,U){return U-G}).filter(function(G,U,K){return K.indexOf(G)===U}).map(function(G){return O.filter(function(U){return U.priority===G}).sort(function(U,K){return K.subPriority-U.subPriority})}).map(function(G){return G[0]}),H=Ee(r);if(isNaN(H.getTime()))return new Date(NaN);var W=k6(H,xg(H)),Z={};for(var te of j){if(!te.validate(W,C))return new Date(NaN);var Y=te.set(W,Z,C);Array.isArray(Y)?(W=Y[0],Age(Z,Y[1])):W=Y}return W}function S0e(t){return t.match(b0e)[1].replace(_0e,"'")}function x0e(t){be(1,arguments);var e=Ee(t);return e.setMinutes(0,0,0),e}function T0e(t){be(1,arguments);var e=Ee(t);return e.setMilliseconds(0),e}function E0e(t,e){var r;be(1,arguments);var n=xt((r=e==null?void 0:e.additionalDigits)!==null&&r!==void 0?r:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=$0e(t),a;if(i.date){var s=M0e(i.date,n);a=k0e(s.restDateString,s.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var o=a.getTime(),u=0,l;if(i.time&&(u=D0e(i.time),isNaN(u)))return new Date(NaN);if(i.timezone){if(l=R0e(i.timezone),isNaN(l))return new Date(NaN)}else{var c=new Date(o+u),d=new Date(0);return d.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),d.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),d}return new Date(o+u+l)}var Jp={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},P0e=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,C0e=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,A0e=/^([+-])(\d{2})(?::?(\d{2}))?$/;function $0e(t){var e={},r=t.split(Jp.dateTimeDelimiter),n;if(r.length>2)return e;if(/:/.test(r[0])?n=r[0]:(e.date=r[0],n=r[1],Jp.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Jp.timeZoneDelimiter)[0],n=t.substr(e.date.length,t.length))),n){var i=Jp.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function M0e(t,e){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=t.match(r);if(!n)return{year:NaN,restDateString:""};var i=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?i:a*100,restDateString:t.slice((n[1]||n[2]).length)}}function k0e(t,e){if(e===null)return new Date(NaN);var r=t.match(P0e);if(!r)return new Date(NaN);var n=!!r[4],i=Ad(r[1]),a=Ad(r[2])-1,s=Ad(r[3]),o=Ad(r[4]),u=Ad(r[5])-1;if(n)return F0e(e,o,u)?I0e(e,o,u):new Date(NaN);var l=new Date(0);return!L0e(e,a,s)||!B0e(e,i)?new Date(NaN):(l.setUTCFullYear(e,a,Math.max(i,s)),l)}function Ad(t){return t?parseInt(t):1}function D0e(t){var e=t.match(C0e);if(!e)return NaN;var r=zy(e[1]),n=zy(e[2]),i=zy(e[3]);return j0e(r,n,i)?r*q0+n*K0+i*1e3:NaN}function zy(t){return t&&parseFloat(t.replace(",","."))||0}function R0e(t){if(t==="Z")return 0;var e=t.match(A0e);if(!e)return 0;var r=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return z0e(n,i)?r*(n*q0+i*K0):NaN}function I0e(t,e,r){var n=new Date(0);n.setUTCFullYear(t,0,4);var i=n.getUTCDay()||7,a=(e-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+a),n}var N0e=[31,null,31,30,31,30,31,31,30,31,30,31];function U6(t){return t%400===0||t%4===0&&t%100!==0}function L0e(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(N0e[e]||(U6(t)?29:28))}function B0e(t,e){return e>=1&&e<=(U6(t)?366:365)}function F0e(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function j0e(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function z0e(t,e){return e>=0&&e<=59}/*!
 * chartjs-adapter-date-fns v2.0.0
 * https://www.chartjs.org
 * (c) 2021 chartjs-adapter-date-fns Contributors
 * Released under the MIT license
 */const H0e={datetime:"MMM d, yyyy, h:mm:ss aaaa",millisecond:"h:mm:ss.SSS aaaa",second:"h:mm:ss aaaa",minute:"h:mm aaaa",hour:"ha",day:"MMM d",week:"PP",month:"MMM yyyy",quarter:"qqq - yyyy",year:"yyyy"};a6._date.override({_id:"date-fns",formats:function(){return H0e},parse:function(t,e){if(t===null||typeof t>"u")return null;const r=typeof t;return r==="number"||t instanceof Date?t=Ee(t):r==="string"&&(typeof e=="string"?t=O0e(t,e,new Date,this.options):t=E0e(t,this.options)),P6(t)?t.getTime():null},format:function(t,e){return Pge(t,e,this.options)},add:function(t,e,r){switch(r){case"millisecond":return Mh(t,e);case"second":return eve(t,e);case"minute":return Jme(t,e);case"hour":return Yme(t,e);case"day":return E6(t,e);case"week":return tve(t,e);case"month":return rT(t,e);case"quarter":return Qme(t,e);case"year":return rve(t,e);default:return t}},diff:function(t,e,r){switch(r){case"millisecond":return X0(t,e);case"second":return fve(t,e);case"minute":return lve(t,e);case"hour":return uve(t,e);case"day":return C6(t,e);case"week":return hve(t,e);case"month":return M6(t,e);case"quarter":return dve(t,e);case"year":return pve(t,e);default:return 0}},startOf:function(t,e,r){switch(e){case"second":return T0e(t);case"minute":return mve(t);case"hour":return x0e(t);case"day":return hO(t);case"week":return k2(t);case"isoWeek":return k2(t,{weekStartsOn:+r});case"month":return gve(t);case"quarter":return vve(t);case"year":return _ve(t);default:return t}},endOf:function(t,e){switch(e){case"second":return xve(t);case"minute":return Ove(t);case"hour":return yve(t);case"day":return A6(t);case"week":return wve(t);case"month":return $6(t);case"quarter":return Sve(t);case"year":return bve(t);default:return t}}});var G6={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self<"u"?self:Oe,function(){return(()=>{var r={646:s=>{s.exports=function(o){if(Array.isArray(o)){for(var u=0,l=new Array(o.length);u<o.length;u++)l[u]=o[u];return l}}},713:s=>{s.exports=function(o,u,l){return u in o?Object.defineProperty(o,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):o[u]=l,o}},860:s=>{s.exports=function(o){if(Symbol.iterator in Object(o)||Object.prototype.toString.call(o)==="[object Arguments]")return Array.from(o)}},206:s=>{s.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(s,o,u)=>{var l=u(646),c=u(860),d=u(206);s.exports=function(h){return l(h)||c(h)||d()}},8:s=>{function o(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s.exports=o=function(l){return typeof l}:s.exports=o=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},o(u)}s.exports=o}},n={};function i(s){var o=n[s];if(o!==void 0)return o.exports;var u=n[s]={exports:{}};return r[s](u,u.exports,i),u.exports}i.n=s=>{var o=s&&s.__esModule?()=>s.default:()=>s;return i.d(o,{a:o}),o},i.d=(s,o)=>{for(var u in o)i.o(o,u)&&!i.o(s,u)&&Object.defineProperty(s,u,{enumerable:!0,get:o[u]})},i.o=(s,o)=>Object.prototype.hasOwnProperty.call(s,o),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{VueSelect:()=>T,default:()=>k,mixins:()=>P});var s=i(319),o=i.n(s),u=i(8),l=i.n(u),c=i(713),d=i.n(c);const h={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(y){var $=this;this.autoscroll&&y&&this.$nextTick(function(){return $.maybeAdjustScroll()})}},methods:{maybeAdjustScroll:function(){var y,$=((y=this.$refs.dropdownMenu)===null||y===void 0?void 0:y.children[this.typeAheadPointer])||!1;if($){var C=this.getDropdownViewport(),O=$.getBoundingClientRect(),A=O.top,D=O.bottom,M=O.height;if(A<C.top)return this.$refs.dropdownMenu.scrollTop=$.offsetTop;if(D>C.bottom)return this.$refs.dropdownMenu.scrollTop=$.offsetTop-(C.height-M)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},p={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var y=0;y<this.filteredOptions.length;y++)if(this.selectable(this.filteredOptions[y])){this.typeAheadPointer=y;break}},open:function(y){y&&this.typeAheadToLastSelected()},selectedValue:function(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp:function(){for(var y=this.typeAheadPointer-1;y>=0;y--)if(this.selectable(this.filteredOptions[y])){this.typeAheadPointer=y;break}},typeAheadDown:function(){for(var y=this.typeAheadPointer+1;y<this.filteredOptions.length;y++)if(this.selectable(this.filteredOptions[y])){this.typeAheadPointer=y;break}},typeAheadSelect:function(){var y=this.filteredOptions[this.typeAheadPointer];y&&this.selectable(y)&&this.select(y)},typeAheadToLastSelected:function(){this.typeAheadPointer=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},g={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(y){this.mutableLoading=y}},methods:{toggleLoading:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.mutableLoading=y??!this.mutableLoading}}};function _(y,$,C,O,A,D,M,N){var F,j=typeof y=="function"?y.options:y;if($&&(j.render=$,j.staticRenderFns=C,j._compiled=!0),O&&(j.functional=!0),D&&(j._scopeId="data-v-"+D),M?(F=function(Z){(Z=Z||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__>"u"||(Z=__VUE_SSR_CONTEXT__),A&&A.call(this,Z),Z&&Z._registeredComponents&&Z._registeredComponents.add(M)},j._ssrRegister=F):A&&(F=N?function(){A.call(this,(j.functional?this.parent:this).$root.$options.shadowRoot)}:A),F)if(j.functional){j._injectStyles=F;var H=j.render;j.render=function(Z,te){return F.call(te),H(Z,te)}}else{var W=j.beforeCreate;j.beforeCreate=W?[].concat(W,F):[F]}return{exports:y,options:j}}const w={Deselect:_({},function(){var y=this.$createElement,$=this._self._c||y;return $("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[$("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])},[],!1,null,null,null).exports,OpenIndicator:_({},function(){var y=this.$createElement,$=this._self._c||y;return $("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[$("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])},[],!1,null,null,null).exports},S={inserted:function(y,$,C){var O=C.context;if(O.appendToBody){var A=O.$refs.toggle.getBoundingClientRect(),D=A.height,M=A.top,N=A.left,F=A.width,j=window.scrollX||window.pageXOffset,H=window.scrollY||window.pageYOffset;y.unbindPosition=O.calculatePosition(y,O,{width:F+"px",left:j+N+"px",top:H+M+D+"px"}),document.body.appendChild(y)}},unbind:function(y,$,C){C.context.appendToBody&&(y.unbindPosition&&typeof y.unbindPosition=="function"&&y.unbindPosition(),y.parentNode&&y.parentNode.removeChild(y))}},E=function(y){var $={};return Object.keys(y).sort().forEach(function(C){$[C]=y[C]}),JSON.stringify($)};var x=0;const f=function(){return++x};function m(y,$){var C=Object.keys(y);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(y);$&&(O=O.filter(function(A){return Object.getOwnPropertyDescriptor(y,A).enumerable})),C.push.apply(C,O)}return C}function v(y){for(var $=1;$<arguments.length;$++){var C=arguments[$]!=null?arguments[$]:{};$%2?m(Object(C),!0).forEach(function(O){d()(y,O,C[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(C)):m(Object(C)).forEach(function(O){Object.defineProperty(y,O,Object.getOwnPropertyDescriptor(C,O))})}return y}const T=_({components:v({},w),directives:{appendToBody:S},mixins:[h,p,g],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(y){return y}},selectable:{type:Function,default:function(y){return!0}},getOptionLabel:{type:Function,default:function(y){return l()(y)==="object"?y.hasOwnProperty(this.label)?y[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(y),`.
`)+"https://vue-select.org/api/props.html#getoptionlabel"):y}},getOptionKey:{type:Function,default:function(y){if(l()(y)!=="object")return y;try{return y.hasOwnProperty("id")?y.id:E(y)}catch($){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
https://vue-select.org/api/props.html#getoptionkey`,y,$)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(y,$,C){return($||"").toLocaleLowerCase().indexOf(C.toLocaleLowerCase())>-1}},filter:{type:Function,default:function(y,$){var C=this;return y.filter(function(O){var A=C.getOptionLabel(O);return typeof A=="number"&&(A=A.toString()),C.filterBy(O,A,$)})}},createOption:{type:Function,default:function(y){return l()(this.optionList[0])==="object"?d()({},this.label,y):y}},resetOnOptionsChange:{default:!1,validator:function(y){return["function","boolean"].includes(l()(y))}},clearSearchOnBlur:{type:Function,default:function(y){var $=y.clearSearchOnSelect,C=y.multiple;return $&&!C}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(y,$){return y}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(y,$,C){var O=C.width,A=C.top,D=C.left;y.style.top=A,y.style.left=D,y.style.width=O}},dropdownShouldOpen:{type:Function,default:function(y){var $=y.noDrop,C=y.open,O=y.mutableLoading;return!$&&C&&!O}},uid:{type:[String,Number],default:function(){return f()}}},data:function(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return this.value===void 0||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var y=this.value;return this.isTrackingValues&&(y=this.$data._value),y!=null&&y!==""?[].concat(y):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var y=this,$={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:v({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return y.isComposing=!0},compositionend:function(){return y.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(C){return y.search=C.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:$,listFooter:$,header:v({},$,{deselect:this.deselect}),footer:v({},$,{deselect:this.deselect})}},childComponents:function(){return v({},w,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var y=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return y;var $=this.search.length?this.filter(y,this.search,this):y;if(this.taggable&&this.search.length){var C=this.createOption(this.search);this.optionExists(C)||$.unshift(C)}return $},isValueEmpty:function(){return this.selectedValue.length===0},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(y,$){var C=this;!this.taggable&&(typeof C.resetOnOptionsChange=="function"?C.resetOnOptionsChange(y,$,C.selectedValue):C.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(y){this.isTrackingValues&&this.setInternalValueFromOptions(y)}},multiple:function(){this.clearSelection()},open:function(y){this.$emit(y?"open":"close")}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(y){var $=this;Array.isArray(y)?this.$data._value=y.map(function(C){return $.findOptionFromReducedValue(C)}):this.$data._value=this.findOptionFromReducedValue(y)},select:function(y){this.$emit("option:selecting",y),this.isOptionSelected(y)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(y):(this.taggable&&!this.optionExists(y)&&this.$emit("option:created",y),this.multiple&&(y=this.selectedValue.concat(y)),this.updateValue(y),this.$emit("option:selected",y)),this.onAfterSelect(y)},deselect:function(y){var $=this;this.$emit("option:deselecting",y),this.updateValue(this.selectedValue.filter(function(C){return!$.optionComparator(C,y)})),this.$emit("option:deselected",y)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(y){var $=this;this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick(function(){return $.$refs.search.focus()})},updateValue:function(y){var $=this;this.value===void 0&&(this.$data._value=y),y!==null&&(y=Array.isArray(y)?y.map(function(C){return $.reduce(C)}):this.reduce(y)),this.$emit("input",y)},toggleDropdown:function(y){var $=y.target!==this.searchEl;$&&y.preventDefault();var C=[].concat(o()(this.$refs.deselectButtons||[]),o()([this.$refs.clearButton]));this.searchEl===void 0||C.filter(Boolean).some(function(O){return O.contains(y.target)||O===y.target})?y.preventDefault():this.open&&$?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(y){var $=this;return this.selectedValue.some(function(C){return $.optionComparator(C,y)})},isOptionDeselectable:function(y){return this.isOptionSelected(y)&&this.deselectFromDropdown},optionComparator:function(y,$){return this.getOptionKey(y)===this.getOptionKey($)},findOptionFromReducedValue:function(y){var $=this,C=[].concat(o()(this.options),o()(this.pushedTags)).filter(function(O){return JSON.stringify($.reduce(O))===JSON.stringify(y)});return C.length===1?C[0]:C.find(function(O){return $.optionComparator(O,$.$data._value)})||y},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var y=null;this.multiple&&(y=o()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(y)}},optionExists:function(y){var $=this;return this.optionList.some(function(C){return $.optionComparator(C,y)})},normalizeOptionForSlot:function(y){return l()(y)==="object"?y:d()({},this.label,y)},pushTag:function(y){this.pushedTags.push(y)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching){var y=this.clearSearchOnSelect,$=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:y,multiple:$})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,this.search.length!==0||this.options.length!==0||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(y){var $=this,C=function(D){return D.preventDefault(),!$.isComposing&&$.typeAheadSelect()},O={8:function(D){return $.maybeDeleteValue()},9:function(D){return $.onTab()},27:function(D){return $.onEscape()},38:function(D){return D.preventDefault(),$.typeAheadUp()},40:function(D){return D.preventDefault(),$.typeAheadDown()}};this.selectOnKeyCodes.forEach(function(D){return O[D]=C});var A=this.mapKeydown(O,this);if(typeof A[y.keyCode]=="function")return A[y.keyCode](y)}}},function(){var y=this,$=y.$createElement,C=y._self._c||$;return C("div",{staticClass:"v-select",class:y.stateClasses,attrs:{dir:y.dir}},[y._t("header",null,null,y.scope.header),y._v(" "),C("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+y.uid+"__combobox",role:"combobox","aria-expanded":y.dropdownOpen.toString(),"aria-owns":"vs"+y.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(O){return y.toggleDropdown(O)}}},[C("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[y._l(y.selectedValue,function(O){return y._t("selected-option-container",[C("span",{key:y.getOptionKey(O),staticClass:"vs__selected"},[y._t("selected-option",[y._v(`
            `+y._s(y.getOptionLabel(O))+`
          `)],null,y.normalizeOptionForSlot(O)),y._v(" "),y.multiple?C("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:y.disabled,type:"button",title:"Deselect "+y.getOptionLabel(O),"aria-label":"Deselect "+y.getOptionLabel(O)},on:{click:function(A){return y.deselect(O)}}},[C(y.childComponents.Deselect,{tag:"component"})],1):y._e()],2)],{option:y.normalizeOptionForSlot(O),deselect:y.deselect,multiple:y.multiple,disabled:y.disabled})}),y._v(" "),y._t("search",[C("input",y._g(y._b({staticClass:"vs__search"},"input",y.scope.search.attributes,!1),y.scope.search.events))],null,y.scope.search)],2),y._v(" "),C("div",{ref:"actions",staticClass:"vs__actions"},[C("button",{directives:[{name:"show",rawName:"v-show",value:y.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:y.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:y.clearSelection}},[C(y.childComponents.Deselect,{tag:"component"})],1),y._v(" "),y._t("open-indicator",[y.noDrop?y._e():C(y.childComponents.OpenIndicator,y._b({tag:"component"},"component",y.scope.openIndicator.attributes,!1))],null,y.scope.openIndicator),y._v(" "),y._t("spinner",[C("div",{directives:[{name:"show",rawName:"v-show",value:y.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[y._v("Loading...")])],null,y.scope.spinner)],2)]),y._v(" "),C("transition",{attrs:{name:y.transition}},[y.dropdownOpen?C("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+y.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+y.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(O){return O.preventDefault(),y.onMousedown(O)},mouseup:y.onMouseUp}},[y._t("list-header",null,null,y.scope.listHeader),y._v(" "),y._l(y.filteredOptions,function(O,A){return C("li",{key:y.getOptionKey(O),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":y.isOptionDeselectable(O)&&A===y.typeAheadPointer,"vs__dropdown-option--selected":y.isOptionSelected(O),"vs__dropdown-option--highlight":A===y.typeAheadPointer,"vs__dropdown-option--disabled":!y.selectable(O)},attrs:{id:"vs"+y.uid+"__option-"+A,role:"option","aria-selected":A===y.typeAheadPointer||null},on:{mouseover:function(D){y.selectable(O)&&(y.typeAheadPointer=A)},click:function(D){D.preventDefault(),D.stopPropagation(),y.selectable(O)&&y.select(O)}}},[y._t("option",[y._v(`
          `+y._s(y.getOptionLabel(O))+`
        `)],null,y.normalizeOptionForSlot(O))],2)}),y._v(" "),y.filteredOptions.length===0?C("li",{staticClass:"vs__no-options"},[y._t("no-options",[y._v(`
          Sorry, no matching options.
        `)],null,y.scope.noOptions)],2):y._e(),y._v(" "),y._t("list-footer",null,null,y.scope.listFooter)],2):C("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+y.uid+"__listbox",role:"listbox"}})]),y._v(" "),y._t("footer",null,null,y.scope.footer)],2)},[],!1,null,null,null).exports,P={ajax:g,pointer:p,pointerScroll:h},k=T})(),a})()})})(G6);var V0e=G6.exports;const gAe=Vn(V0e);var Cg={exports:{}};Cg.exports;(function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",a=1,s=2,o=1/0,u=9007199254740991,l="[object Arguments]",c="[object Array]",d="[object Boolean]",h="[object Date]",p="[object Error]",g="[object Function]",_="[object GeneratorFunction]",w="[object Map]",S="[object Number]",E="[object Object]",x="[object Promise]",f="[object RegExp]",m="[object Set]",v="[object String]",T="[object Symbol]",P="[object WeakMap]",k="[object ArrayBuffer]",y="[object DataView]",$="[object Float32Array]",C="[object Float64Array]",O="[object Int8Array]",A="[object Int16Array]",D="[object Int32Array]",M="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",j="[object Uint32Array]",H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/,Z=/^\./,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,G=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,ue={};ue[$]=ue[C]=ue[O]=ue[A]=ue[D]=ue[M]=ue[N]=ue[F]=ue[j]=!0,ue[l]=ue[c]=ue[k]=ue[d]=ue[y]=ue[h]=ue[p]=ue[g]=ue[w]=ue[S]=ue[E]=ue[f]=ue[m]=ue[v]=ue[P]=!1;var _e=typeof Oe=="object"&&Oe&&Oe.Object===Object&&Oe,$e=typeof self=="object"&&self&&self.Object===Object&&self,xe=_e||$e||Function("return this")(),_t=e&&!e.nodeType&&e,Gt=_t&&!0&&t&&!t.nodeType&&t,Qa=Gt&&Gt.exports===_t,Ru=Qa&&_e.process,Iu=function(){try{return Ru&&Ru.binding("util")}catch{}}(),Fc=Iu&&Iu.isTypedArray;function bb(I,z){var J=I?I.length:0;return!!J&&Lh(I,z,0)>-1}function _b(I,z,J){for(var ne=-1,Ae=I?I.length:0;++ne<Ae;)if(J(z,I[ne]))return!0;return!1}function Nu(I,z){for(var J=-1,ne=I?I.length:0;++J<ne;)if(z(I[J],J,I))return!0;return!1}function jc(I,z,J,ne){for(var Ae=I.length,pe=J+(ne?1:-1);ne?pe--:++pe<Ae;)if(z(I[pe],pe,I))return pe;return-1}function Lh(I,z,J){if(z!==z)return jc(I,Bh,J);for(var ne=J-1,Ae=I.length;++ne<Ae;)if(I[ne]===z)return ne;return-1}function Bh(I){return I!==I}function Li(I){return function(z){return z==null?void 0:z[I]}}function Lu(I,z){for(var J=-1,ne=Array(I);++J<I;)ne[J]=z(J);return ne}function yb(I){return function(z){return I(z)}}function Fh(I,z){return I.has(z)}function jh(I,z){return I==null?void 0:I[z]}function Bu(I){var z=!1;if(I!=null&&typeof I.toString!="function")try{z=!!(I+"")}catch{}return z}function wb(I){var z=-1,J=Array(I.size);return I.forEach(function(ne,Ae){J[++z]=[Ae,ne]}),J}function Ob(I,z){return function(J){return I(z(J))}}function zc(I){var z=-1,J=Array(I.size);return I.forEach(function(ne){J[++z]=ne}),J}var Sb=Array.prototype,zh=Function.prototype,Fu=Object.prototype,Hc=xe["__core-js_shared__"],ju=function(){var I=/[^.]+$/.exec(Hc&&Hc.keys&&Hc.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),es=zh.toString,yn=Fu.hasOwnProperty,Bi=Fu.toString,Vc=RegExp("^"+es.call(yn).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ts=xe.Symbol,Hh=xe.Uint8Array,xb=Fu.propertyIsEnumerable,Tb=Sb.splice,Eb=Ob(Object.keys,Object),Uc=va(xe,"DataView"),rs=va(xe,"Map"),zu=va(xe,"Promise"),Qr=va(xe,"Set"),Gc=va(xe,"WeakMap"),uo=va(Object,"create"),Pb=ee(Uc),Cb=ee(rs),Ab=ee(zu),li=ee(Qr),$b=ee(Gc),Hu=ts?ts.prototype:void 0,Wc=Hu?Hu.valueOf:void 0,Vh=Hu?Hu.toString:void 0;function pa(I){var z=-1,J=I?I.length:0;for(this.clear();++z<J;){var ne=I[z];this.set(ne[0],ne[1])}}function ns(){this.__data__=uo?uo(null):{}}function Mb(I){return this.has(I)&&delete this.__data__[I]}function kb(I){var z=this.__data__;if(uo){var J=z[I];return J===i?void 0:J}return yn.call(z,I)?z[I]:void 0}function Db(I){var z=this.__data__;return uo?z[I]!==void 0:yn.call(z,I)}function Rb(I,z){var J=this.__data__;return J[I]=uo&&z===void 0?i:z,this}pa.prototype.clear=ns,pa.prototype.delete=Mb,pa.prototype.get=kb,pa.prototype.has=Db,pa.prototype.set=Rb;function ci(I){var z=-1,J=I?I.length:0;for(this.clear();++z<J;){var ne=I[z];this.set(ne[0],ne[1])}}function is(){this.__data__=[]}function Ib(I){var z=this.__data__,J=Uu(z,I);if(J<0)return!1;var ne=z.length-1;return J==ne?z.pop():Tb.call(z,J,1),!0}function Nb(I){var z=this.__data__,J=Uu(z,I);return J<0?void 0:z[J][1]}function Lb(I){return Uu(this.__data__,I)>-1}function Bb(I,z){var J=this.__data__,ne=Uu(J,I);return ne<0?J.push([I,z]):J[ne][1]=z,this}ci.prototype.clear=is,ci.prototype.delete=Ib,ci.prototype.get=Nb,ci.prototype.has=Lb,ci.prototype.set=Bb;function di(I){var z=-1,J=I?I.length:0;for(this.clear();++z<J;){var ne=I[z];this.set(ne[0],ne[1])}}function Fb(){this.__data__={hash:new pa,map:new(rs||ci),string:new pa}}function Uh(I){return Yu(this,I).delete(I)}function Vu(I){return Yu(this,I).get(I)}function jb(I){return Yu(this,I).has(I)}function Yc(I,z){return Yu(this,I).set(I,z),this}di.prototype.clear=Fb,di.prototype.delete=Uh,di.prototype.get=Vu,di.prototype.has=jb,di.prototype.set=Yc;function lo(I){var z=-1,J=I?I.length:0;for(this.__data__=new di;++z<J;)this.add(I[z])}function zb(I){return this.__data__.set(I,i),this}function Hb(I){return this.__data__.has(I)}lo.prototype.add=lo.prototype.push=zb,lo.prototype.has=Hb;function fi(I){this.__data__=new ci(I)}function Vb(){this.__data__=new ci}function Ub(I){return this.__data__.delete(I)}function Kc(I){return this.__data__.get(I)}function Gb(I){return this.__data__.has(I)}function Wb(I,z){var J=this.__data__;if(J instanceof ci){var ne=J.__data__;if(!rs||ne.length<r-1)return ne.push([I,z]),this;J=this.__data__=new di(ne)}return J.set(I,z),this}fi.prototype.clear=Vb,fi.prototype.delete=Ub,fi.prototype.get=Kc,fi.prototype.has=Gb,fi.prototype.set=Wb;function Yb(I,z){var J=jt(I)||jr(I)?Lu(I.length,String):[],ne=J.length,Ae=!!ne;for(var pe in I)(z||yn.call(I,pe))&&!(Ae&&(pe=="length"||Xc(pe,ne)))&&J.push(pe);return J}function Uu(I,z){for(var J=I.length;J--;)if(cr(I[J][0],z))return J;return-1}function Gh(I,z){z=Ku(z,I)?[z]:Yh(z);for(var J=0,ne=z.length;I!=null&&J<ne;)I=I[q(z[J++])];return J&&J==ne?I:void 0}function Kb(I){return Bi.call(I)}function qb(I,z){return I!=null&&z in Object(I)}function Gu(I,z,J,ne,Ae){return I===z?!0:I==null||z==null||!co(I)&&!os(z)?I!==I&&z!==z:Xb(I,z,Gu,J,ne,Ae)}function Xb(I,z,J,ne,Ae,pe){var Qe=jt(I),rt=jt(z),at=c,Wt=c;Qe||(at=ji(I),at=at==l?E:at),rt||(Wt=ji(z),Wt=Wt==l?E:Wt);var kt=at==E&&!Bu(I),Yt=Wt==E&&!Bu(z),Kt=at==Wt;if(Kt&&!kt)return pe||(pe=new fi),Qe||_z(I)?Fi(I,z,J,ne,Ae,pe):n_(I,z,at,J,ne,Ae,pe);if(!(Ae&s)){var Wn=kt&&yn.call(I,"__wrapped__"),Yn=Yt&&yn.call(z,"__wrapped__");if(Wn||Yn){var ls=Wn?I.value():I,ga=Yn?z.value():z;return pe||(pe=new fi),J(ls,ga,ne,Ae,pe)}}return Kt?(pe||(pe=new fi),qh(I,z,J,ne,Ae,pe)):!1}function Zb(I,z,J,ne){var Ae=J.length,pe=Ae,Qe=!ne;if(I==null)return!pe;for(I=Object(I);Ae--;){var rt=J[Ae];if(Qe&&rt[2]?rt[1]!==I[rt[0]]:!(rt[0]in I))return!1}for(;++Ae<pe;){rt=J[Ae];var at=rt[0],Wt=I[at],kt=rt[1];if(Qe&&rt[2]){if(Wt===void 0&&!(at in I))return!1}else{var Yt=new fi;if(ne)var Kt=ne(Wt,kt,at,I,z,Yt);if(!(Kt===void 0?Gu(kt,Wt,ne,a|s,Yt):Kt))return!1}}return!0}function Wu(I){if(!co(I)||a_(I))return!1;var z=Qc(I)||Bu(I)?Vc:U;return z.test(ee(I))}function as(I){return os(I)&&Xu(I.length)&&!!ue[Bi.call(I)]}function Wh(I){return typeof I=="function"?I:I==null?Sz:typeof I=="object"?jt(I)?Qb(I[0],I[1]):Jb(I):Tz(I)}function ma(I){if(!Zc(I))return Eb(I);var z=[];for(var J in Object(I))yn.call(I,J)&&J!="constructor"&&z.push(J);return z}function Jb(I){var z=qc(I);return z.length==1&&z[0][2]?Zh(z[0][0],z[0][1]):function(J){return J===I||Zb(J,I,z)}}function Qb(I,z){return Ku(I)&&Xh(z)?Zh(q(I),z):function(J){var ne=wz(J,I);return ne===void 0&&ne===z?Oz(J,I):Gu(z,ne,void 0,a|s)}}function e_(I){return function(z){return Gh(z,I)}}function t_(I){if(typeof I=="string")return I;if(us(I))return Vh?Vh.call(I):"";var z=I+"";return z=="0"&&1/I==-o?"-0":z}function r_(I,z,J){var ne=-1,Ae=bb,pe=I.length,Qe=!0,rt=[],at=rt;if(J)Qe=!1,Ae=_b;else if(pe>=r){var Wt=z?null:Kh(I);if(Wt)return zc(Wt);Qe=!1,Ae=Fh,at=new lo}else at=z?[]:rt;e:for(;++ne<pe;){var kt=I[ne],Yt=z?z(kt):kt;if(kt=J||kt!==0?kt:0,Qe&&Yt===Yt){for(var Kt=at.length;Kt--;)if(at[Kt]===Yt)continue e;z&&at.push(Yt),rt.push(kt)}else Ae(at,Yt,J)||(at!==rt&&at.push(Yt),rt.push(kt))}return rt}function Yh(I){return jt(I)?I:B(I)}var Kh=Qr&&1/zc(new Qr([,-0]))[1]==o?function(I){return new Qr(I)}:xz;function Fi(I,z,J,ne,Ae,pe){var Qe=Ae&s,rt=I.length,at=z.length;if(rt!=at&&!(Qe&&at>rt))return!1;var Wt=pe.get(I);if(Wt&&pe.get(z))return Wt==z;var kt=-1,Yt=!0,Kt=Ae&a?new lo:void 0;for(pe.set(I,z),pe.set(z,I);++kt<rt;){var Wn=I[kt],Yn=z[kt];if(ne)var ls=Qe?ne(Yn,Wn,kt,z,I,pe):ne(Wn,Yn,kt,I,z,pe);if(ls!==void 0){if(ls)continue;Yt=!1;break}if(Kt){if(!Nu(z,function(ga,fo){if(!Kt.has(fo)&&(Wn===ga||J(Wn,ga,ne,Ae,pe)))return Kt.add(fo)})){Yt=!1;break}}else if(!(Wn===Yn||J(Wn,Yn,ne,Ae,pe))){Yt=!1;break}}return pe.delete(I),pe.delete(z),Yt}function n_(I,z,J,ne,Ae,pe,Qe){switch(J){case y:if(I.byteLength!=z.byteLength||I.byteOffset!=z.byteOffset)return!1;I=I.buffer,z=z.buffer;case k:return!(I.byteLength!=z.byteLength||!ne(new Hh(I),new Hh(z)));case d:case h:case S:return cr(+I,+z);case p:return I.name==z.name&&I.message==z.message;case f:case v:return I==z+"";case w:var rt=wb;case m:var at=pe&s;if(rt||(rt=zc),I.size!=z.size&&!at)return!1;var Wt=Qe.get(I);if(Wt)return Wt==z;pe|=a,Qe.set(I,z);var kt=Fi(rt(I),rt(z),ne,Ae,pe,Qe);return Qe.delete(I),kt;case T:if(Wc)return Wc.call(I)==Wc.call(z)}return!1}function qh(I,z,J,ne,Ae,pe){var Qe=Ae&s,rt=s_(I),at=rt.length,Wt=s_(z),kt=Wt.length;if(at!=kt&&!Qe)return!1;for(var Yt=at;Yt--;){var Kt=rt[Yt];if(!(Qe?Kt in z:yn.call(z,Kt)))return!1}var Wn=pe.get(I);if(Wn&&pe.get(z))return Wn==z;var Yn=!0;pe.set(I,z),pe.set(z,I);for(var ls=Qe;++Yt<at;){Kt=rt[Yt];var ga=I[Kt],fo=z[Kt];if(ne)var JT=Qe?ne(fo,ga,Kt,z,I,pe):ne(ga,fo,Kt,I,z,pe);if(!(JT===void 0?ga===fo||J(ga,fo,ne,Ae,pe):JT)){Yn=!1;break}ls||(ls=Kt=="constructor")}if(Yn&&!ls){var Jh=I.constructor,Qh=z.constructor;Jh!=Qh&&"constructor"in I&&"constructor"in z&&!(typeof Jh=="function"&&Jh instanceof Jh&&typeof Qh=="function"&&Qh instanceof Qh)&&(Yn=!1)}return pe.delete(I),pe.delete(z),Yn}function Yu(I,z){var J=I.__data__;return qu(z)?J[typeof z=="string"?"string":"hash"]:J.map}function qc(I){for(var z=s_(I),J=z.length;J--;){var ne=z[J],Ae=I[ne];z[J]=[ne,Ae,Xh(Ae)]}return z}function va(I,z){var J=jh(I,z);return Wu(J)?J:void 0}var ji=Kb;(Uc&&ji(new Uc(new ArrayBuffer(1)))!=y||rs&&ji(new rs)!=w||zu&&ji(zu.resolve())!=x||Qr&&ji(new Qr)!=m||Gc&&ji(new Gc)!=P)&&(ji=function(I){var z=Bi.call(I),J=z==E?I.constructor:void 0,ne=J?ee(J):void 0;if(ne)switch(ne){case Pb:return y;case Cb:return w;case Ab:return x;case li:return m;case $b:return P}return z});function i_(I,z,J){z=Ku(z,I)?[z]:Yh(z);for(var ne,Ae=-1,Qe=z.length;++Ae<Qe;){var pe=q(z[Ae]);if(!(ne=I!=null&&J(I,pe)))break;I=I[pe]}if(ne)return ne;var Qe=I?I.length:0;return!!Qe&&Xu(Qe)&&Xc(pe,Qe)&&(jt(I)||jr(I))}function Xc(I,z){return z=z??u,!!z&&(typeof I=="number"||K.test(I))&&I>-1&&I%1==0&&I<z}function Ku(I,z){if(jt(I))return!1;var J=typeof I;return J=="number"||J=="symbol"||J=="boolean"||I==null||us(I)?!0:W.test(I)||!H.test(I)||z!=null&&I in Object(z)}function qu(I){var z=typeof I;return z=="string"||z=="number"||z=="symbol"||z=="boolean"?I!=="__proto__":I===null}function a_(I){return!!ju&&ju in I}function Zc(I){var z=I&&I.constructor,J=typeof z=="function"&&z.prototype||Fu;return I===J}function Xh(I){return I===I&&!co(I)}function Zh(I,z){return function(J){return J==null?!1:J[I]===z&&(z!==void 0||I in Object(J))}}var B=Ft(function(I){I=yz(I);var z=[];return Z.test(I)&&z.push(""),I.replace(te,function(J,ne,Ae,pe){z.push(Ae?pe.replace(G,"$1"):ne||J)}),z});function q(I){if(typeof I=="string"||us(I))return I;var z=I+"";return z=="0"&&1/I==-o?"-0":z}function ee(I){if(I!=null){try{return es.call(I)}catch{}try{return I+""}catch{}}return""}function fe(I,z){return I&&I.length?r_(I,Wh(z)):[]}function Ft(I,z){if(typeof I!="function"||z&&typeof z!="function")throw new TypeError(n);var J=function(){var ne=arguments,Ae=z?z.apply(this,ne):ne[0],pe=J.cache;if(pe.has(Ae))return pe.get(Ae);var Qe=I.apply(this,ne);return J.cache=pe.set(Ae,Qe),Qe};return J.cache=new(Ft.Cache||di),J}Ft.Cache=di;function cr(I,z){return I===z||I!==I&&z!==z}function jr(I){return ss(I)&&yn.call(I,"callee")&&(!xb.call(I,"callee")||Bi.call(I)==l)}var jt=Array.isArray;function Jc(I){return I!=null&&Xu(I.length)&&!Qc(I)}function ss(I){return os(I)&&Jc(I)}function Qc(I){var z=co(I)?Bi.call(I):"";return z==g||z==_}function Xu(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=u}function co(I){var z=typeof I;return!!I&&(z=="object"||z=="function")}function os(I){return!!I&&typeof I=="object"}function us(I){return typeof I=="symbol"||os(I)&&Bi.call(I)==T}var _z=Fc?yb(Fc):as;function yz(I){return I==null?"":t_(I)}function wz(I,z,J){var ne=I==null?void 0:Gh(I,z);return ne===void 0?J:ne}function Oz(I,z){return I!=null&&i_(I,z,qb)}function s_(I){return Jc(I)?Yb(I):ma(I)}function Sz(I){return I}function xz(){}function Tz(I){return Ku(I)?Li(q(I)):e_(I)}t.exports=fe})(Cg,Cg.exports);var U0e=Cg.exports;const bAe=Vn(U0e),G0e={"Pacific/Niue":"(GMT-11:00) Niue","Pacific/Pago_Pago":"(GMT-11:00) Pago Pago","Pacific/Honolulu":"(GMT-10:00) Hawaii Time","Pacific/Rarotonga":"(GMT-10:00) Rarotonga","Pacific/Tahiti":"(GMT-10:00) Tahiti","Pacific/Marquesas":"(GMT-09:30) Marquesas","America/Anchorage":"(GMT-09:00) Alaska Time","Pacific/Gambier":"(GMT-09:00) Gambier","America/Los_Angeles":"(GMT-08:00) Pacific Time","America/Tijuana":"(GMT-08:00) Pacific Time - Tijuana","America/Vancouver":"(GMT-08:00) Pacific Time - Vancouver","America/Whitehorse":"(GMT-08:00) Pacific Time - Whitehorse","Pacific/Pitcairn":"(GMT-08:00) Pitcairn","America/Dawson_Creek":"(GMT-07:00) Mountain Time - Dawson Creek","America/Denver":"(GMT-07:00) Mountain Time","America/Edmonton":"(GMT-07:00) Mountain Time - Edmonton","America/Hermosillo":"(GMT-07:00) Mountain Time - Hermosillo","America/Mazatlan":"(GMT-07:00) Mountain Time - Chihuahua, Mazatlan","America/Phoenix":"(GMT-07:00) Mountain Time - Arizona","America/Yellowknife":"(GMT-07:00) Mountain Time - Yellowknife","America/Belize":"(GMT-06:00) Belize","America/Chicago":"(GMT-06:00) Central Time","America/Costa_Rica":"(GMT-06:00) Costa Rica","America/El_Salvador":"(GMT-06:00) El Salvador","America/Guatemala":"(GMT-06:00) Guatemala","America/Managua":"(GMT-06:00) Managua","America/Mexico_City":"(GMT-06:00) Central Time - Mexico City","America/Regina":"(GMT-06:00) Central Time - Regina","America/Tegucigalpa":"(GMT-06:00) Central Time - Tegucigalpa","America/Winnipeg":"(GMT-06:00) Central Time - Winnipeg","Pacific/Galapagos":"(GMT-06:00) Galapagos","America/Bogota":"(GMT-05:00) Bogota","America/Cancun":"(GMT-05:00) America Cancun","America/Cayman":"(GMT-05:00) Cayman","America/Guayaquil":"(GMT-05:00) Guayaquil","America/Havana":"(GMT-05:00) Havana","America/Iqaluit":"(GMT-05:00) Eastern Time - Iqaluit","America/Jamaica":"(GMT-05:00) Jamaica","America/Lima":"(GMT-05:00) Lima","America/Nassau":"(GMT-05:00) Nassau","America/New_York":"(GMT-05:00) Eastern Time","America/Panama":"(GMT-05:00) Panama","America/Port-au-Prince":"(GMT-05:00) Port-au-Prince","America/Rio_Branco":"(GMT-05:00) Rio Branco","America/Toronto":"(GMT-05:00) Eastern Time - Toronto","Pacific/Easter":"(GMT-05:00) Easter Island","America/Caracas":"(GMT-04:30) Caracas","America/Asuncion":"(GMT-03:00) Asuncion","America/Barbados":"(GMT-04:00) Barbados","America/Boa_Vista":"(GMT-04:00) Boa Vista","America/Campo_Grande":"(GMT-03:00) Campo Grande","America/Cuiaba":"(GMT-03:00) Cuiaba","America/Curacao":"(GMT-04:00) Curacao","America/Grand_Turk":"(GMT-04:00) Grand Turk","America/Guyana":"(GMT-04:00) Guyana","America/Halifax":"(GMT-04:00) Atlantic Time - Halifax","America/La_Paz":"(GMT-04:00) La Paz","America/Manaus":"(GMT-04:00) Manaus","America/Martinique":"(GMT-04:00) Martinique","America/Port_of_Spain":"(GMT-04:00) Port of Spain","America/Porto_Velho":"(GMT-04:00) Porto Velho","America/Puerto_Rico":"(GMT-04:00) Puerto Rico","America/Santo_Domingo":"(GMT-04:00) Santo Domingo","America/Thule":"(GMT-04:00) Thule","Atlantic/Bermuda":"(GMT-04:00) Bermuda","America/St_Johns":"(GMT-03:30) Newfoundland Time - St. Johns","America/Araguaina":"(GMT-03:00) Araguaina","America/Argentina/Buenos_Aires":"(GMT-03:00) Buenos Aires","America/Bahia":"(GMT-03:00) Salvador","America/Belem":"(GMT-03:00) Belem","America/Cayenne":"(GMT-03:00) Cayenne","America/Fortaleza":"(GMT-03:00) Fortaleza","America/Godthab":"(GMT-03:00) Godthab","America/Maceio":"(GMT-03:00) Maceio","America/Miquelon":"(GMT-03:00) Miquelon","America/Montevideo":"(GMT-03:00) Montevideo","America/Paramaribo":"(GMT-03:00) Paramaribo","America/Recife":"(GMT-03:00) Recife","America/Santiago":"(GMT-03:00) Santiago","America/Sao_Paulo":"(GMT-02:00) Sao Paulo","Antarctica/Palmer":"(GMT-03:00) Palmer","Antarctica/Rothera":"(GMT-03:00) Rothera","Atlantic/Stanley":"(GMT-03:00) Stanley","America/Noronha":"(GMT-02:00) Noronha","Atlantic/South_Georgia":"(GMT-02:00) South Georgia","America/Scoresbysund":"(GMT-01:00) Scoresbysund","Atlantic/Azores":"(GMT-01:00) Azores","Atlantic/Cape_Verde":"(GMT-01:00) Cape Verde","Africa/Abidjan":"(GMT+00:00) Abidjan","Africa/Accra":"(GMT+00:00) Accra","Africa/Bissau":"(GMT+00:00) Bissau","Africa/Casablanca":"(GMT+00:00) Casablanca","Africa/El_Aaiun":"(GMT+00:00) El Aaiun","Africa/Monrovia":"(GMT+00:00) Monrovia","America/Danmarkshavn":"(GMT+00:00) Danmarkshavn","Atlantic/Canary":"(GMT+00:00) Canary Islands","Atlantic/Faroe":"(GMT+00:00) Faeroe","Atlantic/Reykjavik":"(GMT+00:00) Reykjavik","Etc/GMT":"(GMT+00:00) GMT (no daylight saving)","Europe/Dublin":"(GMT+00:00) Dublin","Europe/Lisbon":"(GMT+00:00) Lisbon","Europe/London":"(GMT+00:00) London","Africa/Algiers":"(GMT+01:00) Algiers","Africa/Ceuta":"(GMT+01:00) Ceuta","Africa/Lagos":"(GMT+01:00) Lagos","Africa/Ndjamena":"(GMT+01:00) Ndjamena","Africa/Tunis":"(GMT+01:00) Tunis","Africa/Windhoek":"(GMT+02:00) Windhoek","Europe/Amsterdam":"(GMT+01:00) Amsterdam","Europe/Andorra":"(GMT+01:00) Andorra","Europe/Belgrade":"(GMT+01:00) Central European Time - Belgrade","Europe/Berlin":"(GMT+01:00) Berlin","Europe/Brussels":"(GMT+01:00) Brussels","Europe/Budapest":"(GMT+01:00) Budapest","Europe/Copenhagen":"(GMT+01:00) Copenhagen","Europe/Gibraltar":"(GMT+01:00) Gibraltar","Europe/Luxembourg":"(GMT+01:00) Luxembourg","Europe/Madrid":"(GMT+01:00) Madrid","Europe/Malta":"(GMT+01:00) Malta","Europe/Monaco":"(GMT+01:00) Monaco","Europe/Oslo":"(GMT+01:00) Oslo","Europe/Paris":"(GMT+01:00) Paris","Europe/Prague":"(GMT+01:00) Central European Time - Prague","Europe/Rome":"(GMT+01:00) Rome","Europe/Stockholm":"(GMT+01:00) Stockholm","Europe/Tirane":"(GMT+01:00) Tirane","Europe/Vienna":"(GMT+01:00) Vienna","Europe/Warsaw":"(GMT+01:00) Warsaw","Europe/Zurich":"(GMT+01:00) Zurich","Africa/Cairo":"(GMT+02:00) Cairo","Africa/Johannesburg":"(GMT+02:00) Johannesburg","Africa/Maputo":"(GMT+02:00) Maputo","Africa/Tripoli":"(GMT+02:00) Tripoli","Asia/Amman":"(GMT+02:00) Amman","Asia/Beirut":"(GMT+02:00) Beirut","Asia/Damascus":"(GMT+02:00) Damascus","Asia/Gaza":"(GMT+02:00) Gaza","Asia/Jerusalem":"(GMT+02:00) Jerusalem","Asia/Nicosia":"(GMT+02:00) Nicosia","Europe/Athens":"(GMT+02:00) Athens","Europe/Bucharest":"(GMT+02:00) Bucharest","Europe/Chisinau":"(GMT+02:00) Chisinau","Europe/Helsinki":"(GMT+02:00) Helsinki","Europe/Istanbul":"(GMT+02:00) Istanbul","Europe/Kaliningrad":"(GMT+02:00) Moscow-01 - Kaliningrad","Europe/Kiev":"(GMT+02:00) Kiev","Europe/Riga":"(GMT+02:00) Riga","Europe/Sofia":"(GMT+02:00) Sofia","Europe/Tallinn":"(GMT+02:00) Tallinn","Europe/Vilnius":"(GMT+02:00) Vilnius","Africa/Khartoum":"(GMT+03:00) Khartoum","Africa/Nairobi":"(GMT+03:00) Nairobi","Antarctica/Syowa":"(GMT+03:00) Syowa","Asia/Baghdad":"(GMT+03:00) Baghdad","Asia/Qatar":"(GMT+03:00) Qatar","Asia/Riyadh":"(GMT+03:00) Riyadh","Europe/Minsk":"(GMT+03:00) Minsk","Europe/Moscow":"(GMT+03:00) Moscow+00 - Moscow","Asia/Tehran":"(GMT+03:30) Tehran","Asia/Baku":"(GMT+04:00) Baku","Asia/Dubai":"(GMT+04:00) Dubai","Asia/Tbilisi":"(GMT+04:00) Tbilisi","Asia/Yerevan":"(GMT+04:00) Yerevan","Europe/Samara":"(GMT+04:00) Moscow+01 - Samara","Indian/Mahe":"(GMT+04:00) Mahe","Indian/Mauritius":"(GMT+04:00) Mauritius","Indian/Reunion":"(GMT+04:00) Reunion","Asia/Kabul":"(GMT+04:30) Kabul","Antarctica/Mawson":"(GMT+05:00) Mawson","Asia/Aqtau":"(GMT+05:00) Aqtau","Asia/Aqtobe":"(GMT+05:00) Aqtobe","Asia/Ashgabat":"(GMT+05:00) Ashgabat","Asia/Dushanbe":"(GMT+05:00) Dushanbe","Asia/Karachi":"(GMT+05:00) Karachi","Asia/Tashkent":"(GMT+05:00) Tashkent","Asia/Yekaterinburg":"(GMT+05:00) Moscow+02 - Yekaterinburg","Indian/Kerguelen":"(GMT+05:00) Kerguelen","Indian/Maldives":"(GMT+05:00) Maldives","Asia/Calcutta":"(GMT+05:30) India Standard Time","Asia/Colombo":"(GMT+05:30) Colombo","Asia/Katmandu":"(GMT+05:45) Katmandu","Antarctica/Vostok":"(GMT+06:00) Vostok","Asia/Almaty":"(GMT+06:00) Almaty","Asia/Bishkek":"(GMT+06:00) Bishkek","Asia/Dhaka":"(GMT+06:00) Dhaka","Asia/Omsk":"(GMT+06:00) Moscow+03 - Omsk, Novosibirsk","Asia/Thimphu":"(GMT+06:00) Thimphu","Indian/Chagos":"(GMT+06:00) Chagos","Asia/Rangoon":"(GMT+06:30) Rangoon","Indian/Cocos":"(GMT+06:30) Cocos","Antarctica/Davis":"(GMT+07:00) Davis","Asia/Bangkok":"(GMT+07:00) Bangkok","Asia/Hovd":"(GMT+07:00) Hovd","Asia/Jakarta":"(GMT+07:00) Jakarta","Asia/Krasnoyarsk":"(GMT+07:00) Moscow+04 - Krasnoyarsk","Asia/Saigon":"(GMT+07:00) Hanoi","Asia/Ho_Chi_Minh":"(GMT+07:00) Ho Chi Minh","Indian/Christmas":"(GMT+07:00) Christmas","Antarctica/Casey":"(GMT+08:00) Casey","Asia/Brunei":"(GMT+08:00) Brunei","Asia/Choibalsan":"(GMT+08:00) Choibalsan","Asia/Hong_Kong":"(GMT+08:00) Hong Kong","Asia/Irkutsk":"(GMT+08:00) Moscow+05 - Irkutsk","Asia/Kuala_Lumpur":"(GMT+08:00) Kuala Lumpur","Asia/Macau":"(GMT+08:00) Macau","Asia/Makassar":"(GMT+08:00) Makassar","Asia/Manila":"(GMT+08:00) Manila","Asia/Shanghai":"(GMT+08:00) China Time - Beijing","Asia/Singapore":"(GMT+08:00) Singapore","Asia/Taipei":"(GMT+08:00) Taipei","Asia/Ulaanbaatar":"(GMT+08:00) Ulaanbaatar","Australia/Perth":"(GMT+08:00) Western Time - Perth","Asia/Pyongyang":"(GMT+08:30) Pyongyang","Asia/Dili":"(GMT+09:00) Dili","Asia/Jayapura":"(GMT+09:00) Jayapura","Asia/Seoul":"(GMT+09:00) Seoul","Asia/Tokyo":"(GMT+09:00) Tokyo","Asia/Yakutsk":"(GMT+09:00) Moscow+06 - Yakutsk","Pacific/Palau":"(GMT+09:00) Palau","Australia/Adelaide":"(GMT+10:30) Central Time - Adelaide","Australia/Darwin":"(GMT+09:30) Central Time - Darwin","Antarctica/DumontDUrville":"(GMT+10:00) Dumont D'Urville","Asia/Magadan":"(GMT+10:00) Moscow+07 - Magadan","Asia/Vladivostok":"(GMT+10:00) Moscow+07 - Yuzhno-Sakhalinsk","Australia/Brisbane":"(GMT+10:00) Eastern Time - Brisbane","Australia/Hobart":"(GMT+11:00) Eastern Time - Hobart","Australia/Sydney":"(GMT+11:00) Eastern Time - Melbourne, Sydney","Pacific/Chuuk":"(GMT+10:00) Truk","Pacific/Guam":"(GMT+10:00) Guam","Pacific/Port_Moresby":"(GMT+10:00) Port Moresby","Pacific/Efate":"(GMT+11:00) Efate","Pacific/Guadalcanal":"(GMT+11:00) Guadalcanal","Pacific/Kosrae":"(GMT+11:00) Kosrae","Pacific/Norfolk":"(GMT+11:00) Norfolk","Pacific/Noumea":"(GMT+11:00) Noumea","Pacific/Pohnpei":"(GMT+11:00) Ponape","Asia/Kamchatka":"(GMT+12:00) Moscow+09 - Petropavlovsk-Kamchatskiy","Pacific/Auckland":"(GMT+13:00) Auckland","Pacific/Fiji":"(GMT+13:00) Fiji","Pacific/Funafuti":"(GMT+12:00) Funafuti","Pacific/Kwajalein":"(GMT+12:00) Kwajalein","Pacific/Majuro":"(GMT+12:00) Majuro","Pacific/Nauru":"(GMT+12:00) Nauru","Pacific/Tarawa":"(GMT+12:00) Tarawa","Pacific/Wake":"(GMT+12:00) Wake","Pacific/Wallis":"(GMT+12:00) Wallis","Pacific/Apia":"(GMT+14:00) Apia","Pacific/Enderbury":"(GMT+13:00) Enderbury","Pacific/Fakaofo":"(GMT+13:00) Fakaofo","Pacific/Tongatapu":"(GMT+13:00) Tongatapu","Pacific/Kiritimati":"(GMT+14:00) Kiritimati"};var W0e=G0e;const _Ae=Vn(W0e);var W6={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r,n,i=1e3,a=6e4,s=36e5,o=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l=31536e6,c=2592e6,d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:l,months:c,days:o,hours:s,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},p=function(m){return m instanceof f},g=function(m,v,T){return new f(m,T,v.$l)},_=function(m){return n.p(m)+"s"},w=function(m){return m<0},S=function(m){return w(m)?Math.ceil(m):Math.floor(m)},E=function(m){return Math.abs(m)},x=function(m,v){return m?w(m)?{negative:!0,format:""+E(m)+v}:{negative:!1,format:""+m+v}:{negative:!1,format:""}},f=function(){function m(T,P,k){var y=this;if(this.$d={},this.$l=k,T===void 0&&(this.$ms=0,this.parseFromMilliseconds()),P)return g(T*h[_(P)],this);if(typeof T=="number")return this.$ms=T,this.parseFromMilliseconds(),this;if(typeof T=="object")return Object.keys(T).forEach(function(O){y.$d[_(O)]=T[O]}),this.calMilliseconds(),this;if(typeof T=="string"){var $=T.match(d);if($){var C=$.slice(2).map(function(O){return O!=null?Number(O):0});return this.$d.years=C[0],this.$d.months=C[1],this.$d.weeks=C[2],this.$d.days=C[3],this.$d.hours=C[4],this.$d.minutes=C[5],this.$d.seconds=C[6],this.calMilliseconds(),this}}return this}var v=m.prototype;return v.calMilliseconds=function(){var T=this;this.$ms=Object.keys(this.$d).reduce(function(P,k){return P+(T.$d[k]||0)*h[k]},0)},v.parseFromMilliseconds=function(){var T=this.$ms;this.$d.years=S(T/l),T%=l,this.$d.months=S(T/c),T%=c,this.$d.days=S(T/o),T%=o,this.$d.hours=S(T/s),T%=s,this.$d.minutes=S(T/a),T%=a,this.$d.seconds=S(T/i),T%=i,this.$d.milliseconds=T},v.toISOString=function(){var T=x(this.$d.years,"Y"),P=x(this.$d.months,"M"),k=+this.$d.days||0;this.$d.weeks&&(k+=7*this.$d.weeks);var y=x(k,"D"),$=x(this.$d.hours,"H"),C=x(this.$d.minutes,"M"),O=this.$d.seconds||0;this.$d.milliseconds&&(O+=this.$d.milliseconds/1e3);var A=x(O,"S"),D=T.negative||P.negative||y.negative||$.negative||C.negative||A.negative,M=$.format||C.format||A.format?"T":"",N=(D?"-":"")+"P"+T.format+P.format+y.format+M+$.format+C.format+A.format;return N==="P"||N==="-P"?"P0D":N},v.toJSON=function(){return this.toISOString()},v.format=function(T){var P=T||"YYYY-MM-DDTHH:mm:ss",k={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return P.replace(u,function(y,$){return $||String(k[y])})},v.as=function(T){return this.$ms/h[_(T)]},v.get=function(T){var P=this.$ms,k=_(T);return k==="milliseconds"?P%=1e3:P=k==="weeks"?S(P/h[k]):this.$d[k],P===0?0:P},v.add=function(T,P,k){var y;return y=P?T*h[_(P)]:p(T)?T.$ms:g(T,this).$ms,g(this.$ms+y*(k?-1:1),this)},v.subtract=function(T,P){return this.add(T,P,!0)},v.locale=function(T){var P=this.clone();return P.$l=T,P},v.clone=function(){return g(this.$ms,this)},v.humanize=function(T){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!T)},v.milliseconds=function(){return this.get("milliseconds")},v.asMilliseconds=function(){return this.as("milliseconds")},v.seconds=function(){return this.get("seconds")},v.asSeconds=function(){return this.as("seconds")},v.minutes=function(){return this.get("minutes")},v.asMinutes=function(){return this.as("minutes")},v.hours=function(){return this.get("hours")},v.asHours=function(){return this.as("hours")},v.days=function(){return this.get("days")},v.asDays=function(){return this.as("days")},v.weeks=function(){return this.get("weeks")},v.asWeeks=function(){return this.as("weeks")},v.months=function(){return this.get("months")},v.asMonths=function(){return this.as("months")},v.years=function(){return this.get("years")},v.asYears=function(){return this.as("years")},m}();return function(m,v,T){r=T,n=T().$utils(),T.duration=function(y,$){var C=T.locale();return g(y,{$l:C},$)},T.isDuration=p;var P=v.prototype.add,k=v.prototype.subtract;v.prototype.add=function(y,$){return p(y)&&(y=y.asMilliseconds()),P.bind(this)(y,$)},v.prototype.subtract=function(y,$){return p(y)&&(y=y.asMilliseconds()),k.bind(this)(y,$)}}})})(W6);var Y0e=W6.exports;const yAe=Vn(Y0e);var mO={exports:{}};const K0e="2.0.0",Y6=256,q0e=Number.MAX_SAFE_INTEGER||9007199254740991,X0e=16,Z0e=Y6-6,J0e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Z0={MAX_LENGTH:Y6,MAX_SAFE_COMPONENT_LENGTH:X0e,MAX_SAFE_BUILD_LENGTH:Z0e,MAX_SAFE_INTEGER:q0e,RELEASE_TYPES:J0e,SEMVER_SPEC_VERSION:K0e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const Q0e=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var J0=Q0e;(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n}=Z0,i=J0;e=t.exports={};const a=e.re=[],s=e.safeRe=[],o=e.src=[],u=e.t={};let l=0;const c="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",r],[c,n]],h=g=>{for(const[_,w]of d)g=g.split(`${_}*`).join(`${_}{0,${w}}`).split(`${_}+`).join(`${_}{1,${w}}`);return g},p=(g,_,w)=>{const S=h(_),E=l++;i(g,E,_),u[g]=E,o[E]=_,a[E]=new RegExp(_,w?"g":void 0),s[E]=new RegExp(S,w?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${c}*`),p("MAINVERSION",`(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${o[u.NUMERICIDENTIFIER]}|${o[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${o[u.NUMERICIDENTIFIERLOOSE]}|${o[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${o[u.PRERELEASEIDENTIFIER]}(?:\\.${o[u.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${o[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[u.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${c}+`),p("BUILD",`(?:\\+(${o[u.BUILDIDENTIFIER]}(?:\\.${o[u.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${o[u.MAINVERSION]}${o[u.PRERELEASE]}?${o[u.BUILD]}?`),p("FULL",`^${o[u.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${o[u.MAINVERSIONLOOSE]}${o[u.PRERELEASELOOSE]}?${o[u.BUILD]}?`),p("LOOSE",`^${o[u.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${o[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${o[u.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:${o[u.PRERELEASE]})?${o[u.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:${o[u.PRERELEASELOOSE]})?${o[u.BUILD]}?)?)?`),p("XRANGE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAINLOOSE]}$`),p("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),p("COERCERTL",o[u.COERCE],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${o[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${o[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${o[u.LONECARET]}${o[u.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${o[u.LONECARET]}${o[u.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${o[u.GTLT]}\\s*(${o[u.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]}|${o[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${o[u.XRANGEPLAIN]})\\s+-\\s+(${o[u.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${o[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[u.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(mO,mO.exports);var Dh=mO.exports;const ebe=Object.freeze({loose:!0}),tbe=Object.freeze({}),rbe=t=>t?typeof t!="object"?ebe:t:tbe;var sT=rbe;const hR=/^[0-9]+$/,K6=(t,e)=>{const r=hR.test(t),n=hR.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},nbe=(t,e)=>K6(e,t);var q6={compareIdentifiers:K6,rcompareIdentifiers:nbe};const Qp=J0,{MAX_LENGTH:pR,MAX_SAFE_INTEGER:em}=Z0,{safeRe:mR,t:vR}=Dh,ibe=sT,{compareIdentifiers:ml}=q6;let abe=class Gi{constructor(e,r){if(r=ibe(r),e instanceof Gi){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>pR)throw new TypeError(`version is longer than ${pR} characters`);Qp("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?mR[vR.LOOSE]:mR[vR.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>em||this.major<0)throw new TypeError("Invalid major version");if(this.minor>em||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>em||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const a=+i;if(a>=0&&a<em)return a}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Qp("SemVer.compare",this.version,this.options,e),!(e instanceof Gi)){if(typeof e=="string"&&e===this.version)return 0;e=new Gi(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof Gi||(e=new Gi(e,this.options)),ml(this.major,e.major)||ml(this.minor,e.minor)||ml(this.patch,e.patch)}comparePre(e){if(e instanceof Gi||(e=new Gi(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{const n=this.prerelease[r],i=e.prerelease[r];if(Qp("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return ml(n,i)}while(++r)}compareBuild(e){e instanceof Gi||(e=new Gi(e,this.options));let r=0;do{const n=this.build[r],i=e.build[r];if(Qp("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return ml(n,i)}while(++r)}inc(e,r,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const i=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let a=this.prerelease.length;for(;--a>=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let a=[r,i];n===!1&&(a=[r]),ml(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var Jr=abe;const gR=Jr,sbe=(t,e,r=!1)=>{if(t instanceof gR)return t;try{return new gR(t,e)}catch(n){if(!r)return null;throw n}};var Dc=sbe;const obe=Dc,ube=(t,e)=>{const r=obe(t,e);return r?r.version:null};var lbe=ube;const cbe=Dc,dbe=(t,e)=>{const r=cbe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};var fbe=dbe;const bR=Jr,hbe=(t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new bR(t instanceof bR?t.version:t,r).inc(e,n,i).version}catch{return null}};var pbe=hbe;const _R=Dc,mbe=(t,e)=>{const r=_R(t,null,!0),n=_R(e,null,!0),i=r.compare(n);if(i===0)return null;const a=i>0,s=a?r:n,o=a?n:r,u=!!s.prerelease.length;if(!!o.prerelease.length&&!u)return!o.patch&&!o.minor?"major":s.patch?"patch":s.minor?"minor":"major";const c=u?"pre":"";return r.major!==n.major?c+"major":r.minor!==n.minor?c+"minor":r.patch!==n.patch?c+"patch":"prerelease"};var vbe=mbe;const gbe=Jr,bbe=(t,e)=>new gbe(t,e).major;var _be=bbe;const ybe=Jr,wbe=(t,e)=>new ybe(t,e).minor;var Obe=wbe;const Sbe=Jr,xbe=(t,e)=>new Sbe(t,e).patch;var Tbe=xbe;const Ebe=Dc,Pbe=(t,e)=>{const r=Ebe(t,e);return r&&r.prerelease.length?r.prerelease:null};var Cbe=Pbe;const yR=Jr,Abe=(t,e,r)=>new yR(t,r).compare(new yR(e,r));var Ri=Abe;const $be=Ri,Mbe=(t,e,r)=>$be(e,t,r);var kbe=Mbe;const Dbe=Ri,Rbe=(t,e)=>Dbe(t,e,!0);var Ibe=Rbe;const wR=Jr,Nbe=(t,e,r)=>{const n=new wR(t,r),i=new wR(e,r);return n.compare(i)||n.compareBuild(i)};var oT=Nbe;const Lbe=oT,Bbe=(t,e)=>t.sort((r,n)=>Lbe(r,n,e));var Fbe=Bbe;const jbe=oT,zbe=(t,e)=>t.sort((r,n)=>jbe(n,r,e));var Hbe=zbe;const Vbe=Ri,Ube=(t,e,r)=>Vbe(t,e,r)>0;var Q0=Ube;const Gbe=Ri,Wbe=(t,e,r)=>Gbe(t,e,r)<0;var uT=Wbe;const Ybe=Ri,Kbe=(t,e,r)=>Ybe(t,e,r)===0;var X6=Kbe;const qbe=Ri,Xbe=(t,e,r)=>qbe(t,e,r)!==0;var Z6=Xbe;const Zbe=Ri,Jbe=(t,e,r)=>Zbe(t,e,r)>=0;var lT=Jbe;const Qbe=Ri,e_e=(t,e,r)=>Qbe(t,e,r)<=0;var cT=e_e;const t_e=X6,r_e=Z6,n_e=Q0,i_e=lT,a_e=uT,s_e=cT,o_e=(t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return t_e(t,r,n);case"!=":return r_e(t,r,n);case">":return n_e(t,r,n);case">=":return i_e(t,r,n);case"<":return a_e(t,r,n);case"<=":return s_e(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}};var J6=o_e;const u_e=Jr,l_e=Dc,{safeRe:tm,t:rm}=Dh,c_e=(t,e)=>{if(t instanceof u_e)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(tm[rm.COERCE]);else{let n;for(;(n=tm[rm.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),tm[rm.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;tm[rm.COERCERTL].lastIndex=-1}return r===null?null:l_e(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,e)};var d_e=c_e,Hy,OR;function f_e(){return OR||(OR=1,Hy=function(t){t.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}),Hy}var h_e=Je;Je.Node=_u;Je.create=Je;function Je(t){var e=this;if(e instanceof Je||(e=new Je),e.tail=null,e.head=null,e.length=0,t&&typeof t.forEach=="function")t.forEach(function(i){e.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)e.push(arguments[r]);return e}Je.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;return e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null,e};Je.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}};Je.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}};Je.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)m_e(this,arguments[t]);return this.length};Je.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)v_e(this,arguments[t]);return this.length};Je.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}};Je.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}};Je.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,n=0;r!==null;n++)t.call(e,r.value,n,this),r=r.next};Je.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,n=this.length-1;r!==null;n--)t.call(e,r.value,n,this),r=r.prev};Je.prototype.get=function(t){for(var e=0,r=this.head;r!==null&&e<t;e++)r=r.next;if(e===t&&r!==null)return r.value};Je.prototype.getReverse=function(t){for(var e=0,r=this.tail;r!==null&&e<t;e++)r=r.prev;if(e===t&&r!==null)return r.value};Je.prototype.map=function(t,e){e=e||this;for(var r=new Je,n=this.head;n!==null;)r.push(t.call(e,n.value,this)),n=n.next;return r};Je.prototype.mapReverse=function(t,e){e=e||this;for(var r=new Je,n=this.tail;n!==null;)r.push(t.call(e,n.value,this)),n=n.prev;return r};Je.prototype.reduce=function(t,e){var r,n=this.head;if(arguments.length>1)r=e;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=t(r,n.value,i),n=n.next;return r};Je.prototype.reduceReverse=function(t,e){var r,n=this.tail;if(arguments.length>1)r=e;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=t(r,n.value,i),n=n.prev;return r};Je.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;r!==null;e++)t[e]=r.value,r=r.next;return t};Je.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;r!==null;e++)t[e]=r.value,r=r.prev;return t};Je.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new Je;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=0,i=this.head;i!==null&&n<t;n++)i=i.next;for(;i!==null&&n<e;n++,i=i.next)r.push(i.value);return r};Je.prototype.sliceReverse=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new Je;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=this.length,i=this.tail;i!==null&&n>e;n--)i=i.prev;for(;i!==null&&n>t;n--,i=i.prev)r.push(i.value);return r};Je.prototype.splice=function(t,e,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,i=this.head;i!==null&&n<t;n++)i=i.next;for(var a=[],n=0;i&&n<e;n++)a.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var n=0;n<r.length;n++)i=p_e(this,i,r[n]);return a};Je.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=e,this.tail=t,this};function p_e(t,e,r){var n=e===t.head?new _u(r,null,e,t):new _u(r,e,e.next,t);return n.next===null&&(t.tail=n),n.prev===null&&(t.head=n),t.length++,n}function m_e(t,e){t.tail=new _u(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function v_e(t,e){t.head=new _u(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function _u(t,e,r,n){if(!(this instanceof _u))return new _u(t,e,r,n);this.list=n,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{f_e()(Je)}catch{}const g_e=h_e,Do=Symbol("max"),Aa=Symbol("length"),vl=Symbol("lengthCalculator"),Cf=Symbol("allowStale"),jo=Symbol("maxAge"),Ea=Symbol("dispose"),SR=Symbol("noDisposeOnSet"),hr=Symbol("lruList"),hi=Symbol("cache"),Q6=Symbol("updateAgeOnGet"),Vy=()=>1;class b_e{constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(typeof e.max!="number"||e.max<0))throw new TypeError("max must be a non-negative number");this[Do]=e.max||1/0;const r=e.length||Vy;if(this[vl]=typeof r!="function"?Vy:r,this[Cf]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[jo]=e.maxAge||0,this[Ea]=e.dispose,this[SR]=e.noDisposeOnSet||!1,this[Q6]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a non-negative number");this[Do]=e||1/0,$d(this)}get max(){return this[Do]}set allowStale(e){this[Cf]=!!e}get allowStale(){return this[Cf]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[jo]=e,$d(this)}get maxAge(){return this[jo]}set lengthCalculator(e){typeof e!="function"&&(e=Vy),e!==this[vl]&&(this[vl]=e,this[Aa]=0,this[hr].forEach(r=>{r.length=this[vl](r.value,r.key),this[Aa]+=r.length})),$d(this)}get lengthCalculator(){return this[vl]}get length(){return this[Aa]}get itemCount(){return this[hr].length}rforEach(e,r){r=r||this;for(let n=this[hr].tail;n!==null;){const i=n.prev;xR(this,e,n,r),n=i}}forEach(e,r){r=r||this;for(let n=this[hr].head;n!==null;){const i=n.next;xR(this,e,n,r),n=i}}keys(){return this[hr].toArray().map(e=>e.key)}values(){return this[hr].toArray().map(e=>e.value)}reset(){this[Ea]&&this[hr]&&this[hr].length&&this[hr].forEach(e=>this[Ea](e.key,e.value)),this[hi]=new Map,this[hr]=new g_e,this[Aa]=0}dump(){return this[hr].map(e=>Ag(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[hr]}set(e,r,n){if(n=n||this[jo],n&&typeof n!="number")throw new TypeError("maxAge must be a number");const i=n?Date.now():0,a=this[vl](r,e);if(this[hi].has(e)){if(a>this[Do])return Yl(this,this[hi].get(e)),!1;const u=this[hi].get(e).value;return this[Ea]&&(this[SR]||this[Ea](e,u.value)),u.now=i,u.maxAge=n,u.value=r,this[Aa]+=a-u.length,u.length=a,this.get(e),$d(this),!0}const s=new __e(e,r,a,i,n);return s.length>this[Do]?(this[Ea]&&this[Ea](e,r),!1):(this[Aa]+=s.length,this[hr].unshift(s),this[hi].set(e,this[hr].head),$d(this),!0)}has(e){if(!this[hi].has(e))return!1;const r=this[hi].get(e).value;return!Ag(this,r)}get(e){return Uy(this,e,!0)}peek(e){return Uy(this,e,!1)}pop(){const e=this[hr].tail;return e?(Yl(this,e),e.value):null}del(e){Yl(this,this[hi].get(e))}load(e){this.reset();const r=Date.now();for(let n=e.length-1;n>=0;n--){const i=e[n],a=i.e||0;if(a===0)this.set(i.k,i.v);else{const s=a-r;s>0&&this.set(i.k,i.v,s)}}}prune(){this[hi].forEach((e,r)=>Uy(this,r,!1))}}const Uy=(t,e,r)=>{const n=t[hi].get(e);if(n){const i=n.value;if(Ag(t,i)){if(Yl(t,n),!t[Cf])return}else r&&(t[Q6]&&(n.value.now=Date.now()),t[hr].unshiftNode(n));return i.value}},Ag=(t,e)=>{if(!e||!e.maxAge&&!t[jo])return!1;const r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t[jo]&&r>t[jo]},$d=t=>{if(t[Aa]>t[Do])for(let e=t[hr].tail;t[Aa]>t[Do]&&e!==null;){const r=e.prev;Yl(t,e),e=r}},Yl=(t,e)=>{if(e){const r=e.value;t[Ea]&&t[Ea](r.key,r.value),t[Aa]-=r.length,t[hi].delete(r.key),t[hr].removeNode(e)}};class __e{constructor(e,r,n,i,a){this.key=e,this.value=r,this.length=n,this.now=i,this.maxAge=a||0}}const xR=(t,e,r,n)=>{let i=r.value;Ag(t,i)&&(Yl(t,r),t[Cf]||(i=void 0)),i&&e.call(n,i.value,i.key,t)};var y_e=b_e,Gy,TR;function Ii(){if(TR)return Gy;TR=1;class t{constructor(A,D){if(D=n(D),A instanceof t)return A.loose===!!D.loose&&A.includePrerelease===!!D.includePrerelease?A:new t(A.raw,D);if(A instanceof i)return this.raw=A.value,this.set=[[A]],this.format(),this;if(this.options=D,this.loose=!!D.loose,this.includePrerelease=!!D.includePrerelease,this.raw=A.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(M=>this.parseRange(M)).filter(M=>M.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const M=this.set[0];if(this.set=this.set.filter(N=>!g(N[0])),this.set.length===0)this.set=[M];else if(this.set.length>1){for(const N of this.set)if(N.length===1&&_(N[0])){this.set=[N];break}}}this.format()}format(){return this.range=this.set.map(A=>A.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(A){const M=((this.options.includePrerelease&&h)|(this.options.loose&&p))+":"+A,N=r.get(M);if(N)return N;const F=this.options.loose,j=F?o[u.HYPHENRANGELOOSE]:o[u.HYPHENRANGE];A=A.replace(j,$(this.options.includePrerelease)),a("hyphen replace",A),A=A.replace(o[u.COMPARATORTRIM],l),a("comparator trim",A),A=A.replace(o[u.TILDETRIM],c),a("tilde trim",A),A=A.replace(o[u.CARETTRIM],d),a("caret trim",A);let H=A.split(" ").map(Y=>S(Y,this.options)).join(" ").split(/\s+/).map(Y=>y(Y,this.options));F&&(H=H.filter(Y=>(a("loose invalid filter",Y,this.options),!!Y.match(o[u.COMPARATORLOOSE])))),a("range list",H);const W=new Map,Z=H.map(Y=>new i(Y,this.options));for(const Y of Z){if(g(Y))return[Y];W.set(Y.value,Y)}W.size>1&&W.has("")&&W.delete("");const te=[...W.values()];return r.set(M,te),te}intersects(A,D){if(!(A instanceof t))throw new TypeError("a Range is required");return this.set.some(M=>w(M,D)&&A.set.some(N=>w(N,D)&&M.every(F=>N.every(j=>F.intersects(j,D)))))}test(A){if(!A)return!1;if(typeof A=="string")try{A=new s(A,this.options)}catch{return!1}for(let D=0;D<this.set.length;D++)if(C(this.set[D],A,this.options))return!0;return!1}}Gy=t;const e=y_e,r=new e({max:1e3}),n=sT,i=eb(),a=J0,s=Jr,{safeRe:o,t:u,comparatorTrimReplace:l,tildeTrimReplace:c,caretTrimReplace:d}=Dh,{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:p}=Z0,g=O=>O.value==="<0.0.0-0",_=O=>O.value==="",w=(O,A)=>{let D=!0;const M=O.slice();let N=M.pop();for(;D&&M.length;)D=M.every(F=>N.intersects(F,A)),N=M.pop();return D},S=(O,A)=>(a("comp",O,A),O=m(O,A),a("caret",O),O=x(O,A),a("tildes",O),O=T(O,A),a("xrange",O),O=k(O,A),a("stars",O),O),E=O=>!O||O.toLowerCase()==="x"||O==="*",x=(O,A)=>O.trim().split(/\s+/).map(D=>f(D,A)).join(" "),f=(O,A)=>{const D=A.loose?o[u.TILDELOOSE]:o[u.TILDE];return O.replace(D,(M,N,F,j,H)=>{a("tilde",O,M,N,F,j,H);let W;return E(N)?W="":E(F)?W=`>=${N}.0.0 <${+N+1}.0.0-0`:E(j)?W=`>=${N}.${F}.0 <${N}.${+F+1}.0-0`:H?(a("replaceTilde pr",H),W=`>=${N}.${F}.${j}-${H} <${N}.${+F+1}.0-0`):W=`>=${N}.${F}.${j} <${N}.${+F+1}.0-0`,a("tilde return",W),W})},m=(O,A)=>O.trim().split(/\s+/).map(D=>v(D,A)).join(" "),v=(O,A)=>{a("caret",O,A);const D=A.loose?o[u.CARETLOOSE]:o[u.CARET],M=A.includePrerelease?"-0":"";return O.replace(D,(N,F,j,H,W)=>{a("caret",O,N,F,j,H,W);let Z;return E(F)?Z="":E(j)?Z=`>=${F}.0.0${M} <${+F+1}.0.0-0`:E(H)?F==="0"?Z=`>=${F}.${j}.0${M} <${F}.${+j+1}.0-0`:Z=`>=${F}.${j}.0${M} <${+F+1}.0.0-0`:W?(a("replaceCaret pr",W),F==="0"?j==="0"?Z=`>=${F}.${j}.${H}-${W} <${F}.${j}.${+H+1}-0`:Z=`>=${F}.${j}.${H}-${W} <${F}.${+j+1}.0-0`:Z=`>=${F}.${j}.${H}-${W} <${+F+1}.0.0-0`):(a("no pr"),F==="0"?j==="0"?Z=`>=${F}.${j}.${H}${M} <${F}.${j}.${+H+1}-0`:Z=`>=${F}.${j}.${H}${M} <${F}.${+j+1}.0-0`:Z=`>=${F}.${j}.${H} <${+F+1}.0.0-0`),a("caret return",Z),Z})},T=(O,A)=>(a("replaceXRanges",O,A),O.split(/\s+/).map(D=>P(D,A)).join(" ")),P=(O,A)=>{O=O.trim();const D=A.loose?o[u.XRANGELOOSE]:o[u.XRANGE];return O.replace(D,(M,N,F,j,H,W)=>{a("xRange",O,M,N,F,j,H,W);const Z=E(F),te=Z||E(j),Y=te||E(H),G=Y;return N==="="&&G&&(N=""),W=A.includePrerelease?"-0":"",Z?N===">"||N==="<"?M="<0.0.0-0":M="*":N&&G?(te&&(j=0),H=0,N===">"?(N=">=",te?(F=+F+1,j=0,H=0):(j=+j+1,H=0)):N==="<="&&(N="<",te?F=+F+1:j=+j+1),N==="<"&&(W="-0"),M=`${N+F}.${j}.${H}${W}`):te?M=`>=${F}.0.0${W} <${+F+1}.0.0-0`:Y&&(M=`>=${F}.${j}.0${W} <${F}.${+j+1}.0-0`),a("xRange return",M),M})},k=(O,A)=>(a("replaceStars",O,A),O.trim().replace(o[u.STAR],"")),y=(O,A)=>(a("replaceGTE0",O,A),O.trim().replace(o[A.includePrerelease?u.GTE0PRE:u.GTE0],"")),$=O=>(A,D,M,N,F,j,H,W,Z,te,Y,G,U)=>(E(M)?D="":E(N)?D=`>=${M}.0.0${O?"-0":""}`:E(F)?D=`>=${M}.${N}.0${O?"-0":""}`:j?D=`>=${D}`:D=`>=${D}${O?"-0":""}`,E(Z)?W="":E(te)?W=`<${+Z+1}.0.0-0`:E(Y)?W=`<${Z}.${+te+1}.0-0`:G?W=`<=${Z}.${te}.${Y}-${G}`:O?W=`<${Z}.${te}.${+Y+1}-0`:W=`<=${W}`,`${D} ${W}`.trim()),C=(O,A,D)=>{for(let M=0;M<O.length;M++)if(!O[M].test(A))return!1;if(A.prerelease.length&&!D.includePrerelease){for(let M=0;M<O.length;M++)if(a(O[M].semver),O[M].semver!==i.ANY&&O[M].semver.prerelease.length>0){const N=O[M].semver;if(N.major===A.major&&N.minor===A.minor&&N.patch===A.patch)return!0}return!1}return!0};return Gy}var Wy,ER;function eb(){if(ER)return Wy;ER=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(c,d){if(d=r(d),c instanceof e){if(c.loose===!!d.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),s("comparator",c,d),this.options=d,this.loose=!!d.loose,this.parse(c),this.semver===t?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(c){const d=this.options.loose?n[i.COMPARATORLOOSE]:n[i.COMPARATOR],h=c.match(d);if(!h)throw new TypeError(`Invalid comparator: ${c}`);this.operator=h[1]!==void 0?h[1]:"",this.operator==="="&&(this.operator=""),h[2]?this.semver=new o(h[2],this.options.loose):this.semver=t}toString(){return this.value}test(c){if(s("Comparator.test",c,this.options.loose),this.semver===t||c===t)return!0;if(typeof c=="string")try{c=new o(c,this.options)}catch{return!1}return a(c,this.operator,this.semver,this.options)}intersects(c,d){if(!(c instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new u(c.value,d).test(this.value):c.operator===""?c.value===""?!0:new u(this.value,d).test(c.semver):(d=r(d),d.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||a(this.semver,"<",c.semver,d)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||a(this.semver,">",c.semver,d)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}}Wy=e;const r=sT,{safeRe:n,t:i}=Dh,a=J6,s=J0,o=Jr,u=Ii();return Wy}const w_e=Ii(),O_e=(t,e,r)=>{try{e=new w_e(e,r)}catch{return!1}return e.test(t)};var tb=O_e;const S_e=Ii(),x_e=(t,e)=>new S_e(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var T_e=x_e;const E_e=Jr,P_e=Ii(),C_e=(t,e,r)=>{let n=null,i=null,a=null;try{a=new P_e(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===-1)&&(n=s,i=new E_e(n,r))}),n};var A_e=C_e;const $_e=Jr,M_e=Ii(),k_e=(t,e,r)=>{let n=null,i=null,a=null;try{a=new M_e(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===1)&&(n=s,i=new $_e(n,r))}),n};var D_e=k_e;const Yy=Jr,R_e=Ii(),PR=Q0,I_e=(t,e)=>{t=new R_e(t,e);let r=new Yy("0.0.0");if(t.test(r)||(r=new Yy("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){const i=t.set[n];let a=null;i.forEach(s=>{const o=new Yy(s.semver.version);switch(s.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!a||PR(o,a))&&(a=o);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),a&&(!r||PR(r,a))&&(r=a)}return r&&t.test(r)?r:null};var N_e=I_e;const L_e=Ii(),B_e=(t,e)=>{try{return new L_e(t,e).range||"*"}catch{return null}};var F_e=B_e;const j_e=Jr,e5=eb(),{ANY:z_e}=e5,H_e=Ii(),V_e=tb,CR=Q0,AR=uT,U_e=cT,G_e=lT,W_e=(t,e,r,n)=>{t=new j_e(t,n),e=new H_e(e,n);let i,a,s,o,u;switch(r){case">":i=CR,a=U_e,s=AR,o=">",u=">=";break;case"<":i=AR,a=G_e,s=CR,o="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(V_e(t,e,n))return!1;for(let l=0;l<e.set.length;++l){const c=e.set[l];let d=null,h=null;if(c.forEach(p=>{p.semver===z_e&&(p=new e5(">=0.0.0")),d=d||p,h=h||p,i(p.semver,d.semver,n)?d=p:s(p.semver,h.semver,n)&&(h=p)}),d.operator===o||d.operator===u||(!h.operator||h.operator===o)&&a(t,h.semver))return!1;if(h.operator===u&&s(t,h.semver))return!1}return!0};var dT=W_e;const Y_e=dT,K_e=(t,e,r)=>Y_e(t,e,">",r);var q_e=K_e;const X_e=dT,Z_e=(t,e,r)=>X_e(t,e,"<",r);var J_e=Z_e;const $R=Ii(),Q_e=(t,e,r)=>(t=new $R(t,r),e=new $R(e,r),t.intersects(e,r));var eye=Q_e;const tye=tb,rye=Ri;var nye=(t,e,r)=>{const n=[];let i=null,a=null;const s=t.sort((c,d)=>rye(c,d,r));for(const c of s)tye(c,e,r)?(a=c,i||(i=c)):(a&&n.push([i,a]),a=null,i=null);i&&n.push([i,null]);const o=[];for(const[c,d]of n)c===d?o.push(c):!d&&c===s[0]?o.push("*"):d?c===s[0]?o.push(`<=${d}`):o.push(`${c} - ${d}`):o.push(`>=${c}`);const u=o.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return u.length<l.length?u:e};const MR=Ii(),fT=eb(),{ANY:Ky}=fT,Md=tb,hT=Ri,iye=(t,e,r={})=>{if(t===e)return!0;t=new MR(t,r),e=new MR(e,r);let n=!1;e:for(const i of t.set){for(const a of e.set){const s=sye(i,a,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},aye=[new fT(">=0.0.0-0")],kR=[new fT(">=0.0.0")],sye=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Ky){if(e.length===1&&e[0].semver===Ky)return!0;r.includePrerelease?t=aye:t=kR}if(e.length===1&&e[0].semver===Ky){if(r.includePrerelease)return!0;e=kR}const n=new Set;let i,a;for(const p of t)p.operator===">"||p.operator===">="?i=DR(i,p,r):p.operator==="<"||p.operator==="<="?a=RR(a,p,r):n.add(p.semver);if(n.size>1)return null;let s;if(i&&a){if(s=hT(i.semver,a.semver,r),s>0)return null;if(s===0&&(i.operator!==">="||a.operator!=="<="))return null}for(const p of n){if(i&&!Md(p,String(i),r)||a&&!Md(p,String(a),r))return null;for(const g of e)if(!Md(p,String(g),r))return!1;return!0}let o,u,l,c,d=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&a.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const p of e){if(c=c||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(o=DR(i,p,r),o===p&&o!==i)return!1}else if(i.operator===">="&&!Md(i.semver,String(p),r))return!1}if(a){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(u=RR(a,p,r),u===p&&u!==a)return!1}else if(a.operator==="<="&&!Md(a.semver,String(p),r))return!1}if(!p.operator&&(a||i)&&s!==0)return!1}return!(i&&l&&!a&&s!==0||a&&c&&!i&&s!==0||h||d)},DR=(t,e,r)=>{if(!t)return e;const n=hT(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},RR=(t,e,r)=>{if(!t)return e;const n=hT(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t};var oye=iye;const qy=Dh,IR=Z0,uye=Jr,NR=q6,lye=Dc,cye=lbe,dye=fbe,fye=pbe,hye=vbe,pye=_be,mye=Obe,vye=Tbe,gye=Cbe,bye=Ri,_ye=kbe,yye=Ibe,wye=oT,Oye=Fbe,Sye=Hbe,xye=Q0,Tye=uT,Eye=X6,Pye=Z6,Cye=lT,Aye=cT,$ye=J6,Mye=d_e,kye=eb(),Dye=Ii(),Rye=tb,Iye=T_e,Nye=A_e,Lye=D_e,Bye=N_e,Fye=F_e,jye=dT,zye=q_e,Hye=J_e,Vye=eye,Uye=nye,Gye=oye;var Wye={parse:lye,valid:cye,clean:dye,inc:fye,diff:hye,major:pye,minor:mye,patch:vye,prerelease:gye,compare:bye,rcompare:_ye,compareLoose:yye,compareBuild:wye,sort:Oye,rsort:Sye,gt:xye,lt:Tye,eq:Eye,neq:Pye,gte:Cye,lte:Aye,cmp:$ye,coerce:Mye,Comparator:kye,Range:Dye,satisfies:Rye,toComparators:Iye,maxSatisfying:Nye,minSatisfying:Lye,minVersion:Bye,validRange:Fye,outside:jye,gtr:zye,ltr:Hye,intersects:Vye,simplifyRange:Uye,subset:Gye,SemVer:uye,re:qy.re,src:qy.src,tokens:qy.t,SEMVER_SPEC_VERSION:IR.SEMVER_SPEC_VERSION,RELEASE_TYPES:IR.RELEASE_TYPES,compareIdentifiers:NR.compareIdentifiers,rcompareIdentifiers:NR.rcompareIdentifiers};const wAe=Vn(Wye),Yye="modulepreload",Kye=function(t,e){return new URL(t,e).href},LR={},ei=function(e,r,n){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Kye(a,n),a in LR)return;LR[a]=!0;const s=a.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(!!n)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":Yye,s||(l.as="script",l.crossOrigin=""),l.href=a,document.head.appendChild(l),s)return new Promise((c,d)=>{l.addEventListener("load",c),l.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e())};/*!
 * vue-i18n v8.27.2 
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */var t5=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function wc(t,e){typeof console<"u"&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function qye(t,e){typeof console<"u"&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var ua=Array.isArray;function ui(t){return t!==null&&typeof t=="object"}function Xye(t){return typeof t=="boolean"}function Or(t){return typeof t=="string"}var Zye=Object.prototype.toString,Jye="[object Object]";function aa(t){return Zye.call(t)===Jye}function cn(t){return t==null}function vO(t){return typeof t=="function"}function rb(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return t.length===1?ui(t[0])||ua(t[0])?n=t[0]:typeof t[0]=="string"&&(r=t[0]):t.length===2&&(typeof t[0]=="string"&&(r=t[0]),(ui(t[1])||ua(t[1]))&&(n=t[1])),{locale:r,params:n}}function Rc(t){return JSON.parse(JSON.stringify(t))}function Qye(t,e){if(t.delete(e))return t}function ewe(t){var e=[];return t.forEach(function(r){return e.push(r)}),e}function nb(t,e){return!!~t.indexOf(e)}var twe=Object.prototype.hasOwnProperty;function rwe(t,e){return twe.call(t,e)}function Zo(t){for(var e=arguments,r=Object(t),n=1;n<arguments.length;n++){var i=e[n];if(i!=null){var a=void 0;for(a in i)rwe(i,a)&&(ui(i[a])?r[a]=Zo(r[a],i[a]):r[a]=i[a])}}return r}function $g(t,e){if(t===e)return!0;var r=ui(t),n=ui(e);if(r&&n)try{var i=ua(t),a=ua(e);if(i&&a)return t.length===e.length&&t.every(function(u,l){return $g(u,e[l])});if(!i&&!a){var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every(function(u){return $g(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function nwe(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function iwe(t){return t!=null&&Object.keys(t).forEach(function(e){typeof t[e]=="string"&&(t[e]=nwe(t[e]))}),t}function awe(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(r))},t.prototype.$tc=function(e,r){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var a=this.$i18n;return a._tc.apply(a,[e,a.locale,a._getMessages(),this,r].concat(n))},t.prototype.$te=function(e,r){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),r)},t.prototype.$d=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this.$i18n).d.apply(r,[e].concat(n))},t.prototype.$n=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this.$i18n).n.apply(r,[e].concat(n))}}function swe(t){t===void 0&&(t=!1);function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return t?{mounted:e}:{beforeCreate:function(){var n=this.$options;if(n.i18n=n.i18n||(n.__i18nBridge||n.__i18n?{}:null),n.i18n){if(n.i18n instanceof ce){if(n.__i18nBridge||n.__i18n)try{var i=n.i18n&&n.i18n.messages?n.i18n.messages:{},a=n.__i18nBridge||n.__i18n;a.forEach(function(d){i=Zo(i,JSON.parse(d))}),Object.keys(i).forEach(function(d){n.i18n.mergeLocaleMessage(d,i[d])})}catch{}this._i18n=n.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(aa(n.i18n)){var s=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ce?this.$root.$i18n:null;if(s&&(n.i18n.root=this.$root,n.i18n.formatter=s.formatter,n.i18n.fallbackLocale=s.fallbackLocale,n.i18n.formatFallbackMessages=s.formatFallbackMessages,n.i18n.silentTranslationWarn=s.silentTranslationWarn,n.i18n.silentFallbackWarn=s.silentFallbackWarn,n.i18n.pluralizationRules=s.pluralizationRules,n.i18n.preserveDirectiveContent=s.preserveDirectiveContent),n.__i18nBridge||n.__i18n)try{var o=n.i18n&&n.i18n.messages?n.i18n.messages:{},u=n.__i18nBridge||n.__i18n;u.forEach(function(d){o=Zo(o,JSON.parse(d))}),n.i18n.messages=o}catch{}var l=n.i18n,c=l.sharedMessages;c&&aa(c)&&(n.i18n.messages=Zo(n.i18n.messages,c)),this._i18n=new ce(n.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(n.i18n.sync===void 0||n.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),s&&s.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ce?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof ce&&(this._i18n=n.parent.$i18n)},beforeMount:function(){var n=this.$options;n.i18n=n.i18n||(n.__i18nBridge||n.__i18n?{}:null),n.i18n?n.i18n instanceof ce?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):aa(n.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ce?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof ce&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var n=this;this.$nextTick(function(){n._subscribing&&(n._i18n.unsubscribeDataChanging(n),delete n._subscribing),n._i18nWatcher&&(n._i18nWatcher(),n._i18n.destroyVM(),delete n._i18nWatcher),n._localeWatcher&&(n._localeWatcher(),delete n._localeWatcher)})}}}}var BR={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,r){var n=r.data,i=r.parent,a=r.props,s=r.slots,o=i.$i18n;if(o){var u=a.path,l=a.locale,c=a.places,d=s(),h=o.i(u,l,owe(d)||c?uwe(d.default,c):d),p=a.tag&&a.tag!==!0||a.tag===!1?a.tag:"span";return p?e(p,n,h):h}}};function owe(t){var e;for(e in t)if(e!=="default")return!1;return!!e}function uwe(t,e){var r=e?lwe(e):{};if(!t)return r;t=t.filter(function(i){return i.tag||i.text.trim()!==""});var n=t.every(dwe);return t.reduce(n?cwe:r5,r)}function lwe(t){return Array.isArray(t)?t.reduce(r5,{}):Object.assign({},t)}function cwe(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function r5(t,e,r){return t[r]=e,t}function dwe(t){return!!(t.data&&t.data.attrs&&t.data.attrs.place)}var FR={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,r){var n=r.props,i=r.parent,a=r.data,s=i.$i18n;if(!s)return null;var o=null,u=null;Or(n.format)?o=n.format:ui(n.format)&&(n.format.key&&(o=n.format.key),u=Object.keys(n.format).reduce(function(p,g){var _;return nb(t5,g)?Object.assign({},p,(_={},_[g]=n.format[g],_)):p},null));var l=n.locale||s.locale,c=s._ntp(n.value,l,o,u),d=c.map(function(p,g){var _,w=a.scopedSlots&&a.scopedSlots[p.type];return w?w((_={},_[p.type]=p.value,_.index=g,_.parts=c,_)):p.value}),h=n.tag&&n.tag!==!0||n.tag===!1?n.tag:"span";return h?e(h,{attrs:a.attrs,class:a.class,staticClass:a.staticClass},d):d}};function fwe(t,e,r){n5(t,r)&&i5(t,e,r)}function hwe(t,e,r,n){if(n5(t,r)){var i=r.context.$i18n;mwe(t,r)&&$g(e.value,e.oldValue)&&$g(t._localeMessage,i.getLocaleMessage(i.locale))||i5(t,e,r)}}function pwe(t,e,r,n){var i=r.context;if(!i){wc("Vue instance does not exists in VNode context");return}var a=r.context.$i18n||{};!e.modifiers.preserve&&!a.preserveDirectiveContent&&(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}function n5(t,e){var r=e.context;return r?r.$i18n?!0:(wc("VueI18n instance does not exists in Vue instance"),!1):(wc("Vue instance does not exists in VNode context"),!1)}function mwe(t,e){var r=e.context;return t._locale===r.$i18n.locale}function i5(t,e,r){var n,i,a=e.value,s=vwe(a),o=s.path,u=s.locale,l=s.args,c=s.choice;if(!o&&!u&&!l){wc("value type not supported");return}if(!o){wc("`path` is required in v-t directive");return}var d=r.context;c!=null?t._vt=t.textContent=(n=d.$i18n).tc.apply(n,[o,c].concat(jR(u,l))):t._vt=t.textContent=(i=d.$i18n).t.apply(i,[o].concat(jR(u,l))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}function vwe(t){var e,r,n,i;return Or(t)?e=t:aa(t)&&(e=t.path,r=t.locale,n=t.args,i=t.choice),{path:e,locale:r,args:n,choice:i}}function jR(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||aa(e))&&r.push(e),r}var Vr;function pT(t,e){e===void 0&&(e={bridge:!1}),pT.installed=!0,Vr=t,Vr.version&&Number(Vr.version.split(".")[0]),awe(Vr),Vr.mixin(swe(e.bridge)),Vr.directive("t",{bind:fwe,update:hwe,unbind:pwe}),Vr.component(BR.name,BR),Vr.component(FR.name,FR);var r=Vr.config.optionMergeStrategies;r.i18n=function(n,i){return i===void 0?n:i}}var a5=function(){this._caches=Object.create(null)};a5.prototype.interpolate=function(e,r){if(!r)return[e];var n=this._caches[e];return n||(n=_we(e),this._caches[e]=n),ywe(n,r)};var gwe=/^(?:\d)+/,bwe=/^(?:\w)+/;function _we(t){for(var e=[],r=0,n="";r<t.length;){var i=t[r++];if(i==="{"){n&&e.push({type:"text",value:n}),n="";var a="";for(i=t[r++];i!==void 0&&i!=="}";)a+=i,i=t[r++];var s=i==="}",o=gwe.test(a)?"list":s&&bwe.test(a)?"named":"unknown";e.push({value:a,type:o})}else i==="%"?t[r]!=="{"&&(n+=i):n+=i}return n&&e.push({type:"text",value:n}),e}function ywe(t,e){var r=[],n=0,i=Array.isArray(e)?"list":ui(e)?"named":"unknown";if(i==="unknown")return r;for(;n<t.length;){var a=t[n];switch(a.type){case"text":r.push(a.value);break;case"list":r.push(e[parseInt(a.value,10)]);break;case"named":i==="named"&&r.push(e[a.value]);break}n++}return r}var _r=0,Bl=1,s5=2,o5=3,gO=0,Mg=1,kg=2,Cs=3,Ha=4,Dg=5,Rg=6,ib=7,ah=8,oo=[];oo[gO]={ws:[gO],ident:[Cs,_r],"[":[Ha],eof:[ib]};oo[Mg]={ws:[Mg],".":[kg],"[":[Ha],eof:[ib]};oo[kg]={ws:[kg],ident:[Cs,_r],0:[Cs,_r],number:[Cs,_r]};oo[Cs]={ident:[Cs,_r],0:[Cs,_r],number:[Cs,_r],ws:[Mg,Bl],".":[kg,Bl],"[":[Ha,Bl],eof:[ib,Bl]};oo[Ha]={"'":[Dg,_r],'"':[Rg,_r],"[":[Ha,s5],"]":[Mg,o5],eof:ah,else:[Ha,_r]};oo[Dg]={"'":[Ha,_r],eof:ah,else:[Dg,_r]};oo[Rg]={'"':[Ha,_r],eof:ah,else:[Rg,_r]};var wwe=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Owe(t){return wwe.test(t)}function Swe(t){var e=t.charCodeAt(0),r=t.charCodeAt(t.length-1);return e===r&&(e===34||e===39)?t.slice(1,-1):t}function xwe(t){if(t==null)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Twe(t){var e=t.trim();return t.charAt(0)==="0"&&isNaN(t)?!1:Owe(e)?Swe(e):"*"+e}function Ewe(t){var e=[],r=-1,n=gO,i=0,a,s,o,u,l,c,d,h=[];h[Bl]=function(){s!==void 0&&(e.push(s),s=void 0)},h[_r]=function(){s===void 0?s=o:s+=o},h[s5]=function(){h[_r](),i++},h[o5]=function(){if(i>0)i--,n=Ha,h[_r]();else{if(i=0,s===void 0||(s=Twe(s),s===!1))return!1;h[Bl]()}};function p(){var g=t[r+1];if(n===Dg&&g==="'"||n===Rg&&g==='"')return r++,o="\\"+g,h[_r](),!0}for(;n!==null;)if(r++,a=t[r],!(a==="\\"&&p())){if(u=xwe(a),d=oo[n],l=d[u]||d.else||ah,l===ah||(n=l[0],c=h[l[1]],c&&(o=l[2],o=o===void 0?a:o,c()===!1)))return;if(n===ib)return e}}var mT=function(){this._cache=Object.create(null)};mT.prototype.parsePath=function(e){var r=this._cache[e];return r||(r=Ewe(e),r&&(this._cache[e]=r)),r||[]};mT.prototype.getPathValue=function(e,r){if(!ui(e))return null;var n=this.parsePath(r);if(n.length===0)return null;for(var i=n.length,a=e,s=0;s<i;){var o=a[n[s]];if(o==null)return null;a=o,s++}return a};var Pwe=/<\/?[\w\s="/.':;#-\/]+>/,Cwe=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Awe=/^@(?:\.([a-zA-Z]+))?:/,$we=/[()]/g,zR={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},bO=new a5,ce=function(e){var r=this;e===void 0&&(e={}),!Vr&&typeof window<"u"&&window.Vue&&pT(window.Vue);var n=e.locale||"en-US",i=e.fallbackLocale===!1?!1:e.fallbackLocale||"en-US",a=e.messages||{},s=e.dateTimeFormats||e.datetimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||bO,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=e.sync===void 0?!0:!!e.sync,this._fallbackRoot=e.fallbackRoot===void 0?!0:!!e.fallbackRoot,this._fallbackRootWithEmptyString=e.fallbackRootWithEmptyString===void 0?!0:!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=e.formatFallbackMessages===void 0?!1:!!e.formatFallbackMessages,this._silentTranslationWarn=e.silentTranslationWarn===void 0?!1:e.silentTranslationWarn,this._silentFallbackWarn=e.silentFallbackWarn===void 0?!1:!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new mT,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=e.preserveDirectiveContent===void 0?!1:!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(u,l){var c=Object.getPrototypeOf(r);if(c&&c.getChoiceIndex){var d=c.getChoiceIndex;return d.call(r,u,l)}var h=function(p,g){return p=Math.abs(p),g===2?p?p>1?1:0:1:p?Math.min(p,2):0};return r.locale in r.pluralizationRules?r.pluralizationRules[r.locale].apply(r,[u,l]):h(u,l)},this._exist=function(u,l){return!u||!l?!1:!!(!cn(r._path.getPathValue(u,l))||u[l])},(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&Object.keys(a).forEach(function(u){r._checkLocaleMessage(u,r._warnHtmlInMessage,a[u])}),this._initVM({locale:n,fallbackLocale:i,messages:a,dateTimeFormats:s,numberFormats:o})},lt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};ce.prototype._checkLocaleMessage=function(e,r,n){var i=[],a=function(s,o,u,l){if(aa(u))Object.keys(u).forEach(function(h){var p=u[h];aa(p)?(l.push(h),l.push("."),a(s,o,p,l),l.pop(),l.pop()):(l.push(h),a(s,o,p,l),l.pop())});else if(ua(u))u.forEach(function(h,p){aa(h)?(l.push("["+p+"]"),l.push("."),a(s,o,h,l),l.pop(),l.pop()):(l.push("["+p+"]"),a(s,o,h,l),l.pop())});else if(Or(u)){var c=Pwe.test(u);if(c){var d="Detected HTML in message '"+u+"' of keypath '"+l.join("")+"' at '"+o+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";s==="warn"?wc(d):s==="error"&&qye(d)}}};a(r,e,n,i)};ce.prototype._initVM=function(e){var r=Vr.config.silent;Vr.config.silent=!0,this._vm=new Vr({data:e,__VUE18N__INSTANCE__:!0}),Vr.config.silent=r};ce.prototype.destroyVM=function(){this._vm.$destroy()};ce.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)};ce.prototype.unsubscribeDataChanging=function(e){Qye(this._dataListeners,e)};ce.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var r=ewe(e._dataListeners),n=r.length;n--;)Vr.nextTick(function(){r[n]&&r[n].$forceUpdate()})},{deep:!0})};ce.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var n=this,i=this._vm;return this.vm.$watch("locale",function(a){i.$set(i,"locale",a),n.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=a),i.$forceUpdate()},{immediate:!0})}else{if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",function(a){r.$set(r,"locale",a),r.$forceUpdate()},{immediate:!0})}};ce.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)};lt.vm.get=function(){return this._vm};lt.messages.get=function(){return Rc(this._getMessages())};lt.dateTimeFormats.get=function(){return Rc(this._getDateTimeFormats())};lt.numberFormats.get=function(){return Rc(this._getNumberFormats())};lt.availableLocales.get=function(){return Object.keys(this.messages).sort()};lt.locale.get=function(){return this._vm.locale};lt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)};lt.fallbackLocale.get=function(){return this._vm.fallbackLocale};lt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)};lt.formatFallbackMessages.get=function(){return this._formatFallbackMessages};lt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t};lt.missing.get=function(){return this._missing};lt.missing.set=function(t){this._missing=t};lt.formatter.get=function(){return this._formatter};lt.formatter.set=function(t){this._formatter=t};lt.silentTranslationWarn.get=function(){return this._silentTranslationWarn};lt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t};lt.silentFallbackWarn.get=function(){return this._silentFallbackWarn};lt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t};lt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent};lt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t};lt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage};lt.warnHtmlInMessage.set=function(t){var e=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,r!==t&&(t==="warn"||t==="error")){var n=this._getMessages();Object.keys(n).forEach(function(i){e._checkLocaleMessage(i,e._warnHtmlInMessage,n[i])})}};lt.postTranslation.get=function(){return this._postTranslation};lt.postTranslation.set=function(t){this._postTranslation=t};lt.sync.get=function(){return this._sync};lt.sync.set=function(t){this._sync=t};ce.prototype._getMessages=function(){return this._vm.messages};ce.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats};ce.prototype._getNumberFormats=function(){return this._vm.numberFormats};ce.prototype._warnDefault=function(e,r,n,i,a,s){if(!cn(n))return n;if(this._missing){var o=this._missing.apply(null,[e,r,i,a]);if(Or(o))return o}if(this._formatFallbackMessages){var u=rb.apply(void 0,a);return this._render(r,s,u.params,r)}else return r};ce.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:cn(e))&&!cn(this._root)&&this._fallbackRoot};ce.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn};ce.prototype._isSilentFallback=function(e,r){return this._isSilentFallbackWarn(r)&&(this._isFallbackRoot()||e!==this.fallbackLocale)};ce.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn};ce.prototype._interpolate=function(e,r,n,i,a,s,o){if(!r)return null;var u=this._path.getPathValue(r,n);if(ua(u)||aa(u))return u;var l;if(cn(u))if(aa(r)){if(l=r[n],!(Or(l)||vO(l)))return null}else return null;else if(Or(u)||vO(u))l=u;else return null;return Or(l)&&(l.indexOf("@:")>=0||l.indexOf("@.")>=0)&&(l=this._link(e,r,l,i,"raw",s,o)),this._render(l,a,s,n)};ce.prototype._link=function(e,r,n,i,a,s,o){var u=n,l=u.match(Cwe);for(var c in l)if(l.hasOwnProperty(c)){var d=l[c],h=d.match(Awe),p=h[0],g=h[1],_=d.replace(p,"").replace($we,"");if(nb(o,_))return u;o.push(_);var w=this._interpolate(e,r,_,i,a==="raw"?"string":a,a==="raw"?void 0:s,o);if(this._isFallbackRoot(w)){if(!this._root)throw Error("unexpected error");var S=this._root.$i18n;w=S._translate(S._getMessages(),S.locale,S.fallbackLocale,_,i,a,s)}w=this._warnDefault(e,_,w,i,ua(s)?s:[s],a),this._modifiers.hasOwnProperty(g)?w=this._modifiers[g](w):zR.hasOwnProperty(g)&&(w=zR[g](w)),o.pop(),u=w?u.replace(d,w):u}return u};ce.prototype._createMessageContext=function(e,r,n,i){var a=this,s=ua(e)?e:[],o=ui(e)?e:{},u=function(h){return s[h]},l=function(h){return o[h]},c=this._getMessages(),d=this.locale;return{list:u,named:l,values:e,formatter:r,path:n,messages:c,locale:d,linked:function(h){return a._interpolate(d,c[d]||{},h,null,i,void 0,[h])}}};ce.prototype._render=function(e,r,n,i){if(vO(e))return e(this._createMessageContext(n,this._formatter||bO,i,r));var a=this._formatter.interpolate(e,n,i);return a||(a=bO.interpolate(e,n,i)),r==="string"&&!Or(a)?a.join(""):a};ce.prototype._appendItemToChain=function(e,r,n){var i=!1;return nb(e,r)||(i=!0,r&&(i=r[r.length-1]!=="!",r=r.replace(/!/g,""),e.push(r),n&&n[r]&&(i=n[r]))),i};ce.prototype._appendLocaleToChain=function(e,r,n){var i,a=r.split("-");do{var s=a.join("-");i=this._appendItemToChain(e,s,n),a.splice(-1,1)}while(a.length&&i===!0);return i};ce.prototype._appendBlockToChain=function(e,r,n){for(var i=!0,a=0;a<r.length&&Xye(i);a++){var s=r[a];Or(s)&&(i=this._appendLocaleToChain(e,s,n))}return i};ce.prototype._getLocaleChain=function(e,r){if(e==="")return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){r||(r=this.fallbackLocale),n=[];for(var i=[e];ua(i);)i=this._appendBlockToChain(n,i,r);var a;ua(r)?a=r:ui(r)?r.default?a=r.default:a=null:a=r,Or(a)?i=[a]:i=a,i&&this._appendBlockToChain(n,i,null),this._localeChainCache[e]=n}return n};ce.prototype._translate=function(e,r,n,i,a,s,o){for(var u=this._getLocaleChain(r,n),l,c=0;c<u.length;c++){var d=u[c];if(l=this._interpolate(d,e[d],i,a,s,o,[i]),!cn(l))return l}return null};ce.prototype._t=function(e,r,n,i){for(var a,s=[],o=arguments.length-4;o-- >0;)s[o]=arguments[o+4];if(!e)return"";var u=rb.apply(void 0,s);this._escapeParameterHtml&&(u.params=iwe(u.params));var l=u.locale||r,c=this._translate(n,l,this.fallbackLocale,e,i,"string",u.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(s))}else return c=this._warnDefault(l,e,c,i,s,"string"),this._postTranslation&&c!==null&&c!==void 0&&(c=this._postTranslation(c,e)),c};ce.prototype.t=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this)._t.apply(r,[e,this.locale,this._getMessages(),null].concat(n))};ce.prototype._i=function(e,r,n,i,a){var s=this._translate(n,r,this.fallbackLocale,e,i,"raw",a);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,r,a)}else return this._warnDefault(r,e,s,i,[a],"raw")};ce.prototype.i=function(e,r,n){return e?(Or(r)||(r=this.locale),this._i(e,r,this._getMessages(),null,n)):""};ce.prototype._tc=function(e,r,n,i,a){for(var s,o=[],u=arguments.length-5;u-- >0;)o[u]=arguments[u+5];if(!e)return"";a===void 0&&(a=1);var l={count:a,n:a},c=rb.apply(void 0,o);return c.params=Object.assign(l,c.params),o=c.locale===null?[c.params]:[c.locale,c.params],this.fetchChoice((s=this)._t.apply(s,[e,r,n,i].concat(o)),a)};ce.prototype.fetchChoice=function(e,r){if(!e||!Or(e))return null;var n=e.split("|");return r=this.getChoiceIndex(r,n.length),n[r]?n[r].trim():e};ce.prototype.tc=function(e,r){for(var n,i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,r].concat(i))};ce.prototype._te=function(e,r,n){for(var i=[],a=arguments.length-3;a-- >0;)i[a]=arguments[a+3];var s=rb.apply(void 0,i).locale||r;return this._exist(n[s],e)};ce.prototype.te=function(e,r){return this._te(e,this.locale,this._getMessages(),r)};ce.prototype.getLocaleMessage=function(e){return Rc(this._vm.messages[e]||{})};ce.prototype.setLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,r)};ce.prototype.mergeLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,Zo(typeof this._vm.messages[e]<"u"&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},r))};ce.prototype.getDateTimeFormat=function(e){return Rc(this._vm.dateTimeFormats[e]||{})};ce.prototype.setDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,r),this._clearDateTimeFormat(e,r)};ce.prototype.mergeDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,Zo(this._vm.dateTimeFormats[e]||{},r)),this._clearDateTimeFormat(e,r)};ce.prototype._clearDateTimeFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}};ce.prototype._localizeDateTime=function(e,r,n,i,a){for(var s=r,o=i[s],u=this._getLocaleChain(r,n),l=0;l<u.length;l++){var c=s,d=u[l];if(o=i[d],s=d,!(cn(o)||cn(o[a])))break}if(cn(o)||cn(o[a]))return null;var h=o[a],p=s+"__"+a,g=this._dateTimeFormatters[p];return g||(g=this._dateTimeFormatters[p]=new Intl.DateTimeFormat(s,h)),g.format(e)};ce.prototype._d=function(e,r,n){if(!n)return new Intl.DateTimeFormat(r).format(e);var i=this._localizeDateTime(e,r,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,r)}else return i||""};ce.prototype.d=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];var i=this.locale,a=null;return r.length===1?Or(r[0])?a=r[0]:ui(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key)):r.length===2&&(Or(r[0])&&(a=r[0]),Or(r[1])&&(i=r[1])),this._d(e,i,a)};ce.prototype.getNumberFormat=function(e){return Rc(this._vm.numberFormats[e]||{})};ce.prototype.setNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,r),this._clearNumberFormat(e,r)};ce.prototype.mergeNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,Zo(this._vm.numberFormats[e]||{},r)),this._clearNumberFormat(e,r)};ce.prototype._clearNumberFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}};ce.prototype._getNumberFormatter=function(e,r,n,i,a,s){for(var o=r,u=i[o],l=this._getLocaleChain(r,n),c=0;c<l.length;c++){var d=o,h=l[c];if(u=i[h],o=h,!(cn(u)||cn(u[a])))break}if(cn(u)||cn(u[a]))return null;var p=u[a],g;if(s)g=new Intl.NumberFormat(o,Object.assign({},p,s));else{var _=o+"__"+a;g=this._numberFormatters[_],g||(g=this._numberFormatters[_]=new Intl.NumberFormat(o,p))}return g};ce.prototype._n=function(e,r,n,i){if(!ce.availabilities.numberFormat)return"";if(!n){var a=i?new Intl.NumberFormat(r,i):new Intl.NumberFormat(r);return a.format(e)}var s=this._getNumberFormatter(e,r,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.format(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:r},i))}else return o||""};ce.prototype.n=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];var i=this.locale,a=null,s=null;return r.length===1?Or(r[0])?a=r[0]:ui(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key),s=Object.keys(r[0]).reduce(function(o,u){var l;return nb(t5,u)?Object.assign({},o,(l={},l[u]=r[0][u],l)):o},null)):r.length===2&&(Or(r[0])&&(a=r[0]),Or(r[1])&&(i=r[1])),this._n(e,i,a,s)};ce.prototype._ntp=function(e,r,n,i){if(!ce.availabilities.numberFormat)return[];if(!n){var a=i?new Intl.NumberFormat(r,i):new Intl.NumberFormat(r);return a.formatToParts(e)}var s=this._getNumberFormatter(e,r,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.formatToParts(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,r,n,i)}else return o||[]};Object.defineProperties(ce.prototype,lt);var Xy;Object.defineProperty(ce,"availabilities",{get:function(){if(!Xy){var e=typeof Intl<"u";Xy={dateTimeFormat:e&&typeof Intl.DateTimeFormat<"u",numberFormat:e&&typeof Intl.NumberFormat<"u"}}return Xy}});ce.install=pT;ce.version="8.27.2";const OAe=ce;var _O=function(t,e){return _O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},_O(t,e)};function Ni(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");_O(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var re=function(){return re=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},re.apply(this,arguments)};function u5(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function se(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(c){try{l(n.next(c))}catch(d){s(d)}}function u(c){try{l(n.throw(c))}catch(d){s(d)}}function l(c){c.done?a(c.value):i(c.value).then(o,u)}l((n=n.apply(t,e||[])).next())})}function oe(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(l){return function(c){return u([l,c])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(c){l=[6,c],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function or(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}var vT=function(){function t(){this.callbacks={}}return t.prototype.on=function(e,r){return this.callbacks[e]?this.callbacks[e].push(r):this.callbacks[e]=[r],this},t.prototype.once=function(e,r){var n=this,i=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];n.off(e,i),r.apply(n,a)};return this.on(e,i),this},t.prototype.off=function(e,r){var n,i=(n=this.callbacks[e])!==null&&n!==void 0?n:[],a=i.filter(function(s){return s!==r});return this.callbacks[e]=a,this},t.prototype.emit=function(e){for(var r=this,n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var s=(n=this.callbacks[e])!==null&&n!==void 0?n:[];return s.forEach(function(o){o.apply(r,i)}),this},t}();function yO(t,e,r){e.split&&(e=e.split("."));for(var n=0,i=e.length,a=t,s,o;n<i&&(o=e[n++],!(o==="__proto__"||o==="constructor"||o==="prototype"));)a=a[o]=n===i?r:typeof(s=a[o])==typeof e?s:e[n]*0!==0||~(""+e[n]).indexOf(".")?{}:[]}var yu=function(t){Ni(e,t);function e(r,n){var i=t.call(this,"".concat(r," ").concat(n))||this;return i.field=r,i}return e}(Error);function Mu(t){return typeof t=="string"}function wO(t){return typeof t=="number"}function Kl(t){return typeof t=="function"}function l5(t){return t!=null}function Bn(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()==="object"}var gT="is not a string",Mwe="is not an object",c5="is nil";function kwe(t){var e=".userId/anonymousId/previousId/groupId",r=function(i){var a,s,o;return(o=(s=(a=i.userId)!==null&&a!==void 0?a:i.anonymousId)!==null&&s!==void 0?s:i.groupId)!==null&&o!==void 0?o:i.previousId},n=r(t);if(l5(n)){if(!Mu(n))throw new yu(e,gT)}else throw new yu(e,c5)}function Dwe(t){if(!l5(t))throw new yu("Event",c5);if(typeof t!="object")throw new yu("Event",Mwe)}function Rwe(t){if(!Mu(t.type))throw new yu(".type",gT)}function Iwe(t){if(!Mu(t.event))throw new yu(".event",gT)}function bT(t,e){return new Promise(function(r,n){var i=setTimeout(function(){n(Error("Promise timed out"))},e);t.then(function(a){return clearTimeout(i),r(a)}).catch(n)})}function Nwe(t){return new Promise(function(e){return setTimeout(e,t)})}function Lwe(t,e,r){var n=function(){try{return Promise.resolve(e(t))}catch(i){return Promise.reject(i)}};return Nwe(r).then(function(){return bT(n(),1e3)}).catch(function(i){t==null||t.log("warn","Callback Error",{error:i}),t==null||t.stats.increment("callback_error")}).then(function(){return t})}function Bwe(t){var e=Math.random()+1,r=t.minTimeout,n=r===void 0?500:r,i=t.factor,a=i===void 0?2:i,s=t.attempt,o=t.maxTimeout,u=o===void 0?1/0:o;return Math.min(e*n*Math.pow(a,s),u)}var d5="onRemoveFromFuture",ab=function(t){Ni(e,t);function e(r,n,i){var a=t.call(this)||this;return a.future=[],a.maxAttempts=r,a.queue=n,a.seen=i??{},a}return e.prototype.push=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=n.map(function(s){var o=r.updateAttempts(s);return o>r.maxAttempts||r.includes(s)?!1:(r.queue.push(s),!0)});return this.queue=this.queue.sort(function(s,o){return r.getAttempts(s)-r.getAttempts(o)}),a},e.prototype.pushWithBackoff=function(r){var n=this;if(this.getAttempts(r)===0)return this.push(r)[0];var i=this.updateAttempts(r);if(i>this.maxAttempts||this.includes(r))return!1;var a=Bwe({attempt:i-1});return setTimeout(function(){n.queue.push(r),n.future=n.future.filter(function(s){return s.id!==r.id}),n.emit(d5)},a),this.future.push(r),!0},e.prototype.getAttempts=function(r){var n;return(n=this.seen[r.id])!==null&&n!==void 0?n:0},e.prototype.updateAttempts=function(r){return this.seen[r.id]=this.getAttempts(r)+1,this.getAttempts(r)},e.prototype.includes=function(r){return this.queue.includes(r)||this.future.includes(r)||!!this.queue.find(function(n){return n.id===r.id})||!!this.future.find(function(n){return n.id===r.id})},e.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(e.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),e}(vT),zo=256,ev=[],nm;for(;zo--;)ev[zo]=(zo+256).toString(16).substring(1);function _T(){var t=0,e,r="";if(!nm||zo+16>256){for(nm=Array(t=256);t--;)nm[t]=256*Math.random()|0;t=zo=0}for(;t<16;t++)e=nm[zo+t],t==6?r+=ev[e&15|64]:t==8?r+=ev[e&63|128]:r+=ev[e],t&1&&t>1&&t<11&&(r+="-");return zo++,r}var Fwe=function(){function t(){this._logs=[]}return t.prototype.log=function(e,r,n){var i=new Date;this._logs.push({level:e,message:r,time:i,extras:n})},Object.defineProperty(t.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),t.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce(function(r,n){var i,a,s,o=re(re({},n),{json:JSON.stringify(n.extras,null," "),extras:n.extras});delete o.time;var u=(s=(a=n.time)===null||a===void 0?void 0:a.toISOString())!==null&&s!==void 0?s:"";return r[u]&&(u="".concat(u,"-").concat(Math.random())),re(re({},r),(i={},i[u]=o,i))},{});console.table?console.table(e):console.log(e)}else this.logs.forEach(function(r){var n=r.level,i=r.message,a=r.extras;n==="info"||n==="debug"?console.log(i,a??""):console[n](i,a??"")});this._logs=[]},t}(),jwe=function(t){var e={gauge:"g",counter:"c"};return e[t]},f5=function(){function t(){this.metrics=[]}return t.prototype.increment=function(e,r,n){r===void 0&&(r=1),this.metrics.push({metric:e,value:r,tags:n??[],type:"counter",timestamp:Date.now()})},t.prototype.gauge=function(e,r,n){this.metrics.push({metric:e,value:r,tags:n??[],type:"gauge",timestamp:Date.now()})},t.prototype.flush=function(){var e=this.metrics.map(function(r){return re(re({},r),{tags:r.tags.join(",")})});console.table?console.table(e):console.log(e),this.metrics=[]},t.prototype.serialize=function(){return this.metrics.map(function(e){return{m:e.metric,v:e.value,t:e.tags,k:jwe(e.type),e:e.timestamp}})},t}(),zwe=function(t){Ni(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.gauge=function(){},e.prototype.increment=function(){},e.prototype.flush=function(){},e.prototype.serialize=function(){return[]},e}(f5),Qs=function(){function t(e){var r,n,i;this.retry=(r=e.retry)!==null&&r!==void 0?r:!0,this.type=(n=e.type)!==null&&n!==void 0?n:"plugin Error",this.reason=(i=e.reason)!==null&&i!==void 0?i:""}return t}(),Ig=function(){function t(e,r,n,i){r===void 0&&(r=_T()),n===void 0&&(n=new zwe),i===void 0&&(i=new Fwe),this.attempts=0,this.event=e,this._id=r,this.logger=i,this.stats=n}return t.system=function(){},t.prototype.isSame=function(e){return e.id===this.id},t.prototype.cancel=function(e){throw e||new Qs({reason:"Context Cancel"})},t.prototype.log=function(e,r,n){this.logger.log(e,r,n)},Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),t.prototype.updateEvent=function(e,r){var n;if(e.split(".")[0]==="integrations"){var i=e.split(".")[1];if(((n=this.event.integrations)===null||n===void 0?void 0:n[i])===!1)return this.event}return yO(this.event,e,r),this.event},t.prototype.failedDelivery=function(){return this._failedDelivery},t.prototype.setFailedDelivery=function(e){this._failedDelivery=e},t.prototype.logs=function(){return this.logger.logs},t.prototype.flush=function(){this.logger.flush(),this.stats.flush()},t.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},t}();function Hwe(t,e){var r={};return t.forEach(function(n){var i,a=void 0;if(typeof e=="string"){var s=n[e];a=typeof s!="string"?JSON.stringify(s):s}else e instanceof Function&&(a=e(n));a!==void 0&&(r[a]=or(or([],(i=r[a])!==null&&i!==void 0?i:[],!0),[n],!1))}),r}var Vwe=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},Uwe=function(){var t,e,r=0;return{done:function(){return t},run:function(n){var i=n();return Vwe(i)&&(++r===1&&(t=new Promise(function(a){return e=a})),i.finally(function(){return--r===0&&e()})),i}}};function Gwe(t){return se(this,void 0,void 0,function(){var e;return oe(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,t()];case 1:return[2,r.sent()];case 2:return e=r.sent(),[2,Promise.reject(e)];case 3:return[2]}})})}function ql(t,e){t.log("debug","plugin",{plugin:e.name});var r=new Date().getTime(),n=e[t.event.type];if(n===void 0)return Promise.resolve(t);var i=Gwe(function(){return n.apply(e,[t])}).then(function(a){var s=new Date().getTime()-r;return a.stats.gauge("plugin_time",s,["plugin:".concat(e.name)]),a}).catch(function(a){if(a instanceof Qs&&a.type==="middleware_cancellation")throw a;return a instanceof Qs?(t.log("warn",a.type,{plugin:e.name,error:a}),a):(t.log("error","plugin Error",{plugin:e.name,error:a}),t.stats.increment("plugin_error",1,["plugin:".concat(e.name)]),a)});return i}function Wwe(t,e){return ql(t,e).then(function(r){if(r instanceof Ig)return r;t.log("debug","Context canceled"),t.stats.increment("context_canceled"),t.cancel(r)})}var Ywe=function(t){Ni(e,t);function e(r){var n=t.call(this)||this;return n.criticalTasks=Uwe(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=r,n.queue.on(d5,function(){n.scheduleFlush(0)}),n}return e.prototype.register=function(r,n,i){return se(this,void 0,void 0,function(){var a=this;return oe(this,function(s){switch(s.label){case 0:return[4,Promise.resolve(n.load(r,i)).then(function(){a.plugins.push(n)}).catch(function(o){if(n.type==="destination"){a.failedInitializations.push(n.name),console.warn(n.name,o),r.log("warn","Failed to load destination",{plugin:n.name,error:o});return}throw o})];case 1:return s.sent(),[2]}})})},e.prototype.deregister=function(r,n,i){return se(this,void 0,void 0,function(){var a;return oe(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),n.unload?[4,Promise.resolve(n.unload(r,i))]:[3,2];case 1:s.sent(),s.label=2;case 2:return this.plugins=this.plugins.filter(function(o){return o.name!==n.name}),[3,4];case 3:return a=s.sent(),r.log("warn","Failed to unload destination",{plugin:n.name,error:a}),[3,4];case 4:return[2]}})})},e.prototype.dispatch=function(r){return se(this,void 0,void 0,function(){var n;return oe(this,function(i){return r.log("debug","Dispatching"),r.stats.increment("message_dispatched"),this.queue.push(r),n=this.subscribeToDelivery(r),this.scheduleFlush(0),[2,n]})})},e.prototype.subscribeToDelivery=function(r){return se(this,void 0,void 0,function(){var n=this;return oe(this,function(i){return[2,new Promise(function(a){var s=function(o,u){o.isSame(r)&&(n.off("flush",s),a(o))};n.on("flush",s)})]})})},e.prototype.dispatchSingle=function(r){return se(this,void 0,void 0,function(){var n=this;return oe(this,function(i){return r.log("debug","Dispatching"),r.stats.increment("message_dispatched"),this.queue.updateAttempts(r),r.attempts=1,[2,this.deliver(r).catch(function(a){var s=n.enqueuRetry(a,r);return s?n.subscribeToDelivery(r):(r.setFailedDelivery({reason:a}),r)})]})})},e.prototype.isEmpty=function(){return this.queue.length===0},e.prototype.scheduleFlush=function(r){var n=this;r===void 0&&(r=500),!this.flushing&&(this.flushing=!0,setTimeout(function(){n.flush().then(function(){setTimeout(function(){n.flushing=!1,n.queue.length&&n.scheduleFlush(0)},0)})},r))},e.prototype.deliver=function(r){return se(this,void 0,void 0,function(){var n,i,a,s;return oe(this,function(o){switch(o.label){case 0:return[4,this.criticalTasks.done()];case 1:o.sent(),n=Date.now(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.flushOne(r)];case 3:return r=o.sent(),i=Date.now()-n,this.emit("delivery_success",r),r.stats.gauge("delivered",i),r.log("debug","Delivered",r.event),[2,r];case 4:throw a=o.sent(),s=a,r.log("error","Failed to deliver",s),this.emit("delivery_failure",r,s),r.stats.increment("delivery_failed"),a;case 5:return[2]}})})},e.prototype.enqueuRetry=function(r,n){var i=!(r instanceof Qs)||r.retry;return i?this.queue.pushWithBackoff(n):!1},e.prototype.flush=function(){return se(this,void 0,void 0,function(){var r,n,i;return oe(this,function(a){switch(a.label){case 0:if(this.queue.length===0)return[2,[]];if(r=this.queue.pop(),!r)return[2,[]];r.attempts=this.queue.getAttempts(r),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.deliver(r)];case 2:return r=a.sent(),this.emit("flush",r,!0),[3,4];case 3:return n=a.sent(),i=this.enqueuRetry(n,r),i||(r.setFailedDelivery({reason:n}),this.emit("flush",r,!1)),[2,[]];case 4:return[2,[r]]}})})},e.prototype.isReady=function(){return!0},e.prototype.availableExtensions=function(r){var n=this.plugins.filter(function(p){var g,_,w;if(p.type!=="destination"&&p.name!=="Segment.io")return!0;var S=void 0;return(g=p.alternativeNames)===null||g===void 0||g.forEach(function(E){r[E]!==void 0&&(S=r[E])}),(w=(_=r[p.name])!==null&&_!==void 0?_:S)!==null&&w!==void 0?w:(p.name==="Segment.io"?!0:r.All)!==!1}),i=Hwe(n,"type"),a=i.before,s=a===void 0?[]:a,o=i.enrichment,u=o===void 0?[]:o,l=i.destination,c=l===void 0?[]:l,d=i.after,h=d===void 0?[]:d;return{before:s,enrichment:u,destinations:c,after:h}},e.prototype.flushOne=function(r){var n,i;return se(this,void 0,void 0,function(){var a,s,o,u,l,c,g,d,h,p,g,_,w,S,E;return oe(this,function(x){switch(x.label){case 0:if(!this.isReady())throw new Error("Not ready");r.attempts>1&&this.emit("delivery_retry",r),a=this.availableExtensions((n=r.event.integrations)!==null&&n!==void 0?n:{}),s=a.before,o=a.enrichment,u=0,l=s,x.label=1;case 1:return u<l.length?(c=l[u],[4,Wwe(r,c)]):[3,4];case 2:g=x.sent(),g instanceof Ig&&(r=g),this.emit("message_enriched",r,c),x.label=3;case 3:return u++,[3,1];case 4:d=0,h=o,x.label=5;case 5:return d<h.length?(p=h[d],[4,ql(r,p)]):[3,8];case 6:g=x.sent(),g instanceof Ig&&(r=g),this.emit("message_enriched",r,p),x.label=7;case 7:return d++,[3,5];case 8:return _=this.availableExtensions((i=r.event.integrations)!==null&&i!==void 0?i:{}),w=_.destinations,S=_.after,[4,new Promise(function(f,m){setTimeout(function(){var v=w.map(function(T){return ql(r,T)});Promise.all(v).then(f).catch(m)},0)})];case 9:return x.sent(),r.stats.increment("message_delivered"),this.emit("message_delivered",r),E=S.map(function(f){return ql(r,f)}),[4,Promise.all(E)];case 10:return x.sent(),[2,r]}})})},e}(vT),Kwe=function(t,e){var r=Date.now()-t;return Math.max((e??300)-r,0)};function qwe(t,e,r,n){return se(this,void 0,void 0,function(){var i,a;return oe(this,function(s){switch(s.label){case 0:return r.emit("dispatch_start",t),i=Date.now(),e.isEmpty()?[4,e.dispatchSingle(t)]:[3,2];case 1:return a=s.sent(),[3,4];case 2:return[4,e.dispatch(t)];case 3:a=s.sent(),s.label=4;case 4:return n!=null&&n.callback?[4,Lwe(a,n.callback,Kwe(i,n.timeout))]:[3,6];case 5:a=s.sent(),s.label=6;case 6:return n!=null&&n.debug&&a.flush(),[2,a]}})})}function Xwe(t,e,r,n){var i,a=[t,e,r,n],s=Bn(t)?t.event:t;if(!s||!Mu(s))throw new Error("Event missing");var o=Bn(t)?(i=t.properties)!==null&&i!==void 0?i:{}:Bn(e)?e:{},u={};Kl(r)||(u=r??{}),Bn(t)&&!Kl(e)&&(u=e??{});var l=a.find(Kl);return[s,o,u,l]}function HR(t,e,r,n,i){var a,s,o=null,u=null,l=[t,e,r,n,i],c=l.filter(Mu);c[0]!==void 0&&c[1]!==void 0&&(o=c[0],u=c[1]),c.length===1&&(o=null,u=c[0]);var d=l.find(Kl),h=l.filter(function(_){return u===null?Bn(_):Bn(_)||_===null}),p=(a=h[0])!==null&&a!==void 0?a:{},g=(s=h[1])!==null&&s!==void 0?s:{};return[o,u,p,g,d]}var VR=function(t){return function(){for(var e,r,n,i,a,s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var u=null;u=(n=(e=s.find(Mu))!==null&&e!==void 0?e:(r=s.find(wO))===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:t.id();var l=s.filter(function(p){return u===null?Bn(p):Bn(p)||p===null}),c=(i=l[0])!==null&&i!==void 0?i:{},d=(a=l[1])!==null&&a!==void 0?a:{},h=s.find(Kl);return[u,c,d,h]}};function Zwe(t,e,r,n){wO(t)&&(t=t.toString()),wO(e)&&(e=e.toString());var i=[t,e,r,n],a=i.filter(Mu),s=a[0],o=s===void 0?t:s,u=a[1],l=u===void 0?null:u,c=i.filter(Bn)[0],d=c===void 0?{}:c,h=i.find(Kl);return[o,l,d,h]}function yT(){return typeof window<"u"}function h5(){return!yT()}function p5(){return yT()?window.navigator.onLine:!0}function wu(){return!p5()}function Jwe(t,e){return e=e||{},new Promise(function(r,n){var i=new XMLHttpRequest,a=[],s=[],o={},u=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:u,headers:{keys:function(){return a},entries:function(){return s},get:function(c){return o[c.toLowerCase()]},has:function(c){return c.toLowerCase()in o}}}};for(var l in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(c,d,h){a.push(d=d.toLowerCase()),s.push([d,h]),o[d]=o[d]?o[d]+","+h:h}),r(u())},i.onerror=n,i.withCredentials=e.credentials=="include",e.headers)i.setRequestHeader(l,e.headers[l]);i.send(e.body||null)})}var wT=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:null},sb=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=wT();return(r&&r.fetch||Jwe).apply(void 0,t)},sh="1.56.0",Qwe="npm";function m5(){return Qwe}var v5="api.segment.io/v1",e1e=function(t,e,r){var n=e.reduce(function(i,a){var s=a.split(":"),o=s[0],u=s[1];return i[o]=u,i},{});return{type:"Counter",metric:t,value:1,tags:re(re({},n),{library:"analytics.js",library_version:r==="web"?"next-".concat(sh):"npm:next-".concat(sh)})}};function Zy(t){console.error("Error sending segment performance metrics",t)}var t1e=function(){function t(e){var r=this,n,i,a,s;if(this.host=(n=e==null?void 0:e.host)!==null&&n!==void 0?n:v5,this.sampleRate=(i=e==null?void 0:e.sampleRate)!==null&&i!==void 0?i:1,this.flushTimer=(a=e==null?void 0:e.flushTimer)!==null&&a!==void 0?a:30*1e3,this.maxQueueSize=(s=e==null?void 0:e.maxQueueSize)!==null&&s!==void 0?s:20,this.queue=[],this.sampleRate>0){var o=!1,u=function(){o||(o=!0,r.flush().catch(Zy),o=!1,setTimeout(u,r.flushTimer))};u()}}return t.prototype.increment=function(e,r){if(e.includes("analytics_js.")&&r.length!==0&&!(Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=e1e(e,r,m5());this.queue.push(n),e.includes("error")&&this.flush().catch(Zy)}},t.prototype.flush=function(){return se(this,void 0,void 0,function(){var e=this;return oe(this,function(r){switch(r.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(n){Zy(n),e.sampleRate=0})];case 1:return r.sent(),[2]}})})},t.prototype.send=function(){return se(this,void 0,void 0,function(){var e,r,n;return oe(this,function(i){return e={series:this.queue},this.queue=[],r={"Content-Type":"text/plain"},n="https://".concat(this.host,"/m"),[2,sb(n,{headers:r,body:JSON.stringify(e),method:"POST"})]})})},t}(),im,g5=function(t){Ni(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.initRemoteMetrics=function(r){im=new t1e(r)},e.prototype.increment=function(r,n,i){t.prototype.increment.call(this,r,n,i),im==null||im.increment(r,i??[])},e}(f5),Jo=function(t){Ni(e,t);function e(r,n){return t.call(this,r,n,new g5)||this}return e.system=function(){return new this({type:"track",event:"system"})},e}(Ig),b5={exports:{}};(function(t,e){(function(r){t.exports=r()})(function(r){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function i(S,E){var x=S[0],f=S[1],m=S[2],v=S[3];x+=(f&m|~f&v)+E[0]-680876936|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[1]-389564586|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[2]+606105819|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[3]-1044525330|0,f=(f<<22|f>>>10)+m|0,x+=(f&m|~f&v)+E[4]-176418897|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[5]+1200080426|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[6]-1473231341|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[7]-45705983|0,f=(f<<22|f>>>10)+m|0,x+=(f&m|~f&v)+E[8]+1770035416|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[9]-1958414417|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[10]-42063|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[11]-1990404162|0,f=(f<<22|f>>>10)+m|0,x+=(f&m|~f&v)+E[12]+1804603682|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[13]-40341101|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[14]-1502002290|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[15]+1236535329|0,f=(f<<22|f>>>10)+m|0,x+=(f&v|m&~v)+E[1]-165796510|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[6]-1069501632|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[11]+643717713|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[0]-373897302|0,f=(f<<20|f>>>12)+m|0,x+=(f&v|m&~v)+E[5]-701558691|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[10]+38016083|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[15]-660478335|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[4]-405537848|0,f=(f<<20|f>>>12)+m|0,x+=(f&v|m&~v)+E[9]+568446438|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[14]-1019803690|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[3]-187363961|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[8]+1163531501|0,f=(f<<20|f>>>12)+m|0,x+=(f&v|m&~v)+E[13]-1444681467|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[2]-51403784|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[7]+1735328473|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[12]-1926607734|0,f=(f<<20|f>>>12)+m|0,x+=(f^m^v)+E[5]-378558|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[8]-2022574463|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[11]+1839030562|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[14]-35309556|0,f=(f<<23|f>>>9)+m|0,x+=(f^m^v)+E[1]-1530992060|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[4]+1272893353|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[7]-155497632|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[10]-1094730640|0,f=(f<<23|f>>>9)+m|0,x+=(f^m^v)+E[13]+681279174|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[0]-358537222|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[3]-722521979|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[6]+76029189|0,f=(f<<23|f>>>9)+m|0,x+=(f^m^v)+E[9]-640364487|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[12]-421815835|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[15]+530742520|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[2]-995338651|0,f=(f<<23|f>>>9)+m|0,x+=(m^(f|~v))+E[0]-198630844|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[7]+1126891415|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[14]-1416354905|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[5]-57434055|0,f=(f<<21|f>>>11)+m|0,x+=(m^(f|~v))+E[12]+1700485571|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[3]-1894986606|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[10]-1051523|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[1]-2054922799|0,f=(f<<21|f>>>11)+m|0,x+=(m^(f|~v))+E[8]+1873313359|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[15]-30611744|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[6]-1560198380|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[13]+1309151649|0,f=(f<<21|f>>>11)+m|0,x+=(m^(f|~v))+E[4]-145523070|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[11]-1120210379|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[2]+718787259|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[9]-343485551|0,f=(f<<21|f>>>11)+m|0,S[0]=x+S[0]|0,S[1]=f+S[1]|0,S[2]=m+S[2]|0,S[3]=v+S[3]|0}function a(S){var E=[],x;for(x=0;x<64;x+=4)E[x>>2]=S.charCodeAt(x)+(S.charCodeAt(x+1)<<8)+(S.charCodeAt(x+2)<<16)+(S.charCodeAt(x+3)<<24);return E}function s(S){var E=[],x;for(x=0;x<64;x+=4)E[x>>2]=S[x]+(S[x+1]<<8)+(S[x+2]<<16)+(S[x+3]<<24);return E}function o(S){var E=S.length,x=[1732584193,-271733879,-1732584194,271733878],f,m,v,T,P,k;for(f=64;f<=E;f+=64)i(x,a(S.substring(f-64,f)));for(S=S.substring(f-64),m=S.length,v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0;f<m;f+=1)v[f>>2]|=S.charCodeAt(f)<<(f%4<<3);if(v[f>>2]|=128<<(f%4<<3),f>55)for(i(x,v),f=0;f<16;f+=1)v[f]=0;return T=E*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(T[2],16),k=parseInt(T[1],16)||0,v[14]=P,v[15]=k,i(x,v),x}function u(S){var E=S.length,x=[1732584193,-271733879,-1732584194,271733878],f,m,v,T,P,k;for(f=64;f<=E;f+=64)i(x,s(S.subarray(f-64,f)));for(S=f-64<E?S.subarray(f-64):new Uint8Array(0),m=S.length,v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0;f<m;f+=1)v[f>>2]|=S[f]<<(f%4<<3);if(v[f>>2]|=128<<(f%4<<3),f>55)for(i(x,v),f=0;f<16;f+=1)v[f]=0;return T=E*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(T[2],16),k=parseInt(T[1],16)||0,v[14]=P,v[15]=k,i(x,v),x}function l(S){var E="",x;for(x=0;x<4;x+=1)E+=n[S>>x*8+4&15]+n[S>>x*8&15];return E}function c(S){var E;for(E=0;E<S.length;E+=1)S[E]=l(S[E]);return S.join("")}c(o("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function S(E,x){return E=E|0||0,E<0?Math.max(E+x,0):Math.min(E,x)}ArrayBuffer.prototype.slice=function(E,x){var f=this.byteLength,m=S(E,f),v=f,T,P,k,y;return x!==r&&(v=S(x,f)),m>v?new ArrayBuffer(0):(T=v-m,P=new ArrayBuffer(T),k=new Uint8Array(P),y=new Uint8Array(this,m,T),k.set(y),P)}}();function d(S){return/[\u0080-\uFFFF]/.test(S)&&(S=unescape(encodeURIComponent(S))),S}function h(S,E){var x=S.length,f=new ArrayBuffer(x),m=new Uint8Array(f),v;for(v=0;v<x;v+=1)m[v]=S.charCodeAt(v);return E?m:f}function p(S){return String.fromCharCode.apply(null,new Uint8Array(S))}function g(S,E,x){var f=new Uint8Array(S.byteLength+E.byteLength);return f.set(new Uint8Array(S)),f.set(new Uint8Array(E),S.byteLength),x?f:f.buffer}function _(S){var E=[],x=S.length,f;for(f=0;f<x-1;f+=2)E.push(parseInt(S.substr(f,2),16));return String.fromCharCode.apply(String,E)}function w(){this.reset()}return w.prototype.append=function(S){return this.appendBinary(d(S)),this},w.prototype.appendBinary=function(S){this._buff+=S,this._length+=S.length;var E=this._buff.length,x;for(x=64;x<=E;x+=64)i(this._hash,a(this._buff.substring(x-64,x)));return this._buff=this._buff.substring(x-64),this},w.prototype.end=function(S){var E=this._buff,x=E.length,f,m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],v;for(f=0;f<x;f+=1)m[f>>2]|=E.charCodeAt(f)<<(f%4<<3);return this._finish(m,x),v=c(this._hash),S&&(v=_(v)),this.reset(),v},w.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},w.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},w.prototype.setState=function(S){return this._buff=S.buff,this._length=S.length,this._hash=S.hash,this},w.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},w.prototype._finish=function(S,E){var x=E,f,m,v;if(S[x>>2]|=128<<(x%4<<3),x>55)for(i(this._hash,S),x=0;x<16;x+=1)S[x]=0;f=this._length*8,f=f.toString(16).match(/(.*?)(.{0,8})$/),m=parseInt(f[2],16),v=parseInt(f[1],16)||0,S[14]=m,S[15]=v,i(this._hash,S)},w.hash=function(S,E){return w.hashBinary(d(S),E)},w.hashBinary=function(S,E){var x=o(S),f=c(x);return E?_(f):f},w.ArrayBuffer=function(){this.reset()},w.ArrayBuffer.prototype.append=function(S){var E=g(this._buff.buffer,S,!0),x=E.length,f;for(this._length+=S.byteLength,f=64;f<=x;f+=64)i(this._hash,s(E.subarray(f-64,f)));return this._buff=f-64<x?new Uint8Array(E.buffer.slice(f-64)):new Uint8Array(0),this},w.ArrayBuffer.prototype.end=function(S){var E=this._buff,x=E.length,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m,v;for(m=0;m<x;m+=1)f[m>>2]|=E[m]<<(m%4<<3);return this._finish(f,x),v=c(this._hash),S&&(v=_(v)),this.reset(),v},w.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},w.ArrayBuffer.prototype.getState=function(){var S=w.prototype.getState.call(this);return S.buff=p(S.buff),S},w.ArrayBuffer.prototype.setState=function(S){return S.buff=h(S.buff,!0),w.prototype.setState.call(this,S)},w.ArrayBuffer.prototype.destroy=w.prototype.destroy,w.ArrayBuffer.prototype._finish=w.prototype._finish,w.ArrayBuffer.hash=function(S,E){var x=u(new Uint8Array(S)),f=c(x);return E?_(f):f},w})})(b5);var r1e=b5.exports;const n1e=Vn(r1e);var i1e=function(){function t(e){this.user=e}return t.prototype.track=function(e,r,n,i){return this.normalize(re(re({},this.baseEvent()),{event:e,type:"track",properties:r,options:re({},n),integrations:re({},i)}))},t.prototype.page=function(e,r,n,i,a){var s,o={type:"page",properties:re({},n),options:re({},i),integrations:re({},a)};return e!==null&&(o.category=e,o.properties=(s=o.properties)!==null&&s!==void 0?s:{},o.properties.category=e),r!==null&&(o.name=r),this.normalize(re(re({},this.baseEvent()),o))},t.prototype.screen=function(e,r,n,i,a){var s={type:"screen",properties:re({},n),options:re({},i),integrations:re({},a)};return e!==null&&(s.category=e),r!==null&&(s.name=r),this.normalize(re(re({},this.baseEvent()),s))},t.prototype.identify=function(e,r,n,i){return this.normalize(re(re({},this.baseEvent()),{type:"identify",userId:e,traits:r,options:re({},n),integrations:re({},i)}))},t.prototype.group=function(e,r,n,i){return this.normalize(re(re({},this.baseEvent()),{type:"group",traits:r,options:re({},n),integrations:re({},i),groupId:e}))},t.prototype.alias=function(e,r,n,i){var a={userId:e,type:"alias",options:re({},n),integrations:re({},i)};return r!==null&&(a.previousId=r),e===void 0?this.normalize(re(re({},a),this.baseEvent())):this.normalize(re(re({},this.baseEvent()),a))},t.prototype.baseEvent=function(){var e={integrations:{},options:{}},r=this.user;return r.id()&&(e.userId=r.id()),r.anonymousId()&&(e.anonymousId=r.anonymousId()),e},t.prototype.context=function(e){var r,n,i,a=["integrations","anonymousId","timestamp","userId"],s=(r=e.options)!==null&&r!==void 0?r:{};delete s.integrations;var o=Object.keys(s),u=(i=(n=e.options)===null||n===void 0?void 0:n.context)!==null&&i!==void 0?i:{},l={};return o.forEach(function(c){c!=="context"&&(a.includes(c)?yO(l,c,s[c]):yO(u,c,s[c]))}),[u,l]},t.prototype.normalize=function(e){var r,n,i;!((r=e.options)===null||r===void 0)&&r.anonymousId&&this.user.anonymousId(e.options.anonymousId);var a=Object.keys((n=e.integrations)!==null&&n!==void 0?n:{}).reduce(function(g,_){var w,S;return re(re({},g),(w={},w[_]=!!(!((S=e.integrations)===null||S===void 0)&&S[_]),w))},{}),s=re(re({},a),(i=e.options)===null||i===void 0?void 0:i.integrations),o=this.context(e),u=o[0],l=o[1];e.options;var c=u5(e,["options"]),d=re(re(re({timestamp:new Date},c),{context:u,integrations:s}),l),h="ajs-next-"+n1e.hash(JSON.stringify(d)+_T()),p=re(re({},d),{messageId:h});return p},t}(),sa={getItem:function(){},setItem:function(){},removeItem:function(){}};try{sa=yT()&&window.localStorage?window.localStorage:sa}catch(t){console.warn("Unable to access localStorage",t)}function _5(t){var e=sa.getItem(t);return(e?JSON.parse(e):[]).map(function(r){return new Jo(r.event,r.id)})}function a1e(t,e){var r=_5(t),n=or(or([],e,!0),r,!0),i=n.reduce(function(a,s){var o;return re(re({},a),(o={},o[s.id]=s,o))},{});sa.setItem(t,JSON.stringify(Object.values(i)))}function y5(t){var e=sa.getItem(t);return e?JSON.parse(e):{}}function s1e(t,e){var r=y5(t);sa.setItem(t,JSON.stringify(re(re({},r),e)))}function UR(t){sa.removeItem(t)}var o1e=function(){return new Date().getTime()};function OO(t,e,r){r===void 0&&(r=0);var n=50,i="persisted-queue:v1:".concat(t,":lock"),a=function(l){return new Date().getTime()>l},s=sa.getItem(i),o=s?JSON.parse(s):null,u=o===null||a(o);if(u){sa.setItem(i,JSON.stringify(o1e()+n)),e(),sa.removeItem(i);return}!u&&r<3?setTimeout(function(){OO(t,e,r+1)},n):console.error("Unable to retrieve lock")}var ob=function(t){Ni(e,t);function e(r,n){var i=t.call(this,r,[])||this,a="persisted-queue:v1:".concat(n,":items"),s="persisted-queue:v1:".concat(n,":seen"),o=[],u={};return OO(n,function(){try{o=_5(a),u=y5(s),UR(a),UR(s),i.queue=or(or([],o,!0),i.queue,!0),i.seen=re(re({},u),i.seen)}catch(l){console.error(l)}}),window.addEventListener("pagehide",function(){if(i.todo>0){var l=or(or([],i.queue,!0),i.future,!0);try{OO(n,function(){a1e(a,l),s1e(s,i.seen)})}catch(c){console.error(c)}}}),i}return e}(ab),u1e=function(t){Ni(e,t);function e(r){return t.call(this,typeof r=="string"?new ob(4,r):r)||this}return e.prototype.flush=function(){return se(this,void 0,void 0,function(){return oe(this,function(r){return wu()?[2,[]]:[2,t.prototype.flush.call(this)]})})},e}(Ywe);function OT(t){for(var e=t.constructor.prototype,r=0,n=Object.getOwnPropertyNames(e);r<n.length;r++){var i=n[r];if(i!=="constructor"){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,i);a&&typeof a.value=="function"&&(t[i]=t[i].bind(t))}}return t}/*! js-cookie v3.0.1 | MIT */function am(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}var l1e={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function SO(t,e){function r(i,a,s){if(!(typeof document>"u")){s=am({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var u in s)s[u]&&(o+="; "+u,s[u]!==!0&&(o+="="+s[u].split(";")[0]));return document.cookie=i+"="+t.write(a,i)+o}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],s={},o=0;o<a.length;o++){var u=a[o].split("="),l=u.slice(1).join("=");try{var c=decodeURIComponent(u[0]);if(s[c]=t.read(l,c),i===c)break}catch{}}return i?s[i]:s}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",am({},a,{expires:-1}))},withAttributes:function(i){return SO(this.converter,am({},this.attributes,i))},withConverter:function(i){return SO(am({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var ka=SO(l1e,{path:"/"});function c1e(t){var e=t.hostname,r=e.split("."),n=r[r.length-1],i=[];if(r.length===4&&parseInt(n,10)>0||r.length<=1)return i;for(var a=r.length-2;a>=0;--a)i.push(r.slice(a).join("."));return i}function d1e(t){try{return new URL(t)}catch{return}}function w5(t){var e=d1e(t);if(e)for(var r=c1e(e),n=0;n<r.length;++n){var i="__tld__",a=r[n],s={domain:"."+a};try{if(ka.set(i,"1",s),ka.get(i))return ka.remove(i,s),a}catch{return}}}var f1e=365,O5=function(){function t(e){e===void 0&&(e=t.defaults),this.options=re(re({},t.defaults),e)}return Object.defineProperty(t,"defaults",{get:function(){return{maxage:f1e,domain:w5(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),t.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},t.prototype.get=function(e){var r;try{var n=ka.get(e);if(n==null)return null;try{return(r=JSON.parse(n))!==null&&r!==void 0?r:null}catch{return n??null}}catch{return null}},t.prototype.set=function(e,r){typeof r=="string"?ka.set(e,r,this.opts()):r===null?ka.remove(e,this.opts()):ka.set(e,JSON.stringify(r),this.opts())},t.prototype.remove=function(e){return ka.remove(e,this.opts())},t}(),h1e=function(){function t(){}return t.prototype.localStorageWarning=function(e,r){console.warn("Unable to access ".concat(e,", localStorage may be ").concat(r))},t.prototype.get=function(e){var r;try{var n=localStorage.getItem(e);if(n===null)return null;try{return(r=JSON.parse(n))!==null&&r!==void 0?r:null}catch{return n??null}}catch{return this.localStorageWarning(e,"unavailable"),null}},t.prototype.set=function(e,r){try{localStorage.setItem(e,JSON.stringify(r))}catch{this.localStorageWarning(e,"full")}},t.prototype.remove=function(e){try{return localStorage.removeItem(e)}catch{this.localStorageWarning(e,"unavailable")}},t}(),ST=function(){function t(){this.cache={}}return t.prototype.get=function(e){var r;return(r=this.cache[e])!==null&&r!==void 0?r:null},t.prototype.set=function(e,r){this.cache[e]=r},t.prototype.remove=function(e){delete this.cache[e]},t}(),sn={Cookie:"cookie",LocalStorage:"localStorage",Memory:"memory"};function S5(t){return t&&t.stores&&Array.isArray(t.stores)&&t.stores.every(function(e){return Object.values(sn).includes(e)})}function p1e(t){return typeof t=="object"&&t.name!==void 0}var Qo=function(){function t(e){this.stores=e}return t.prototype.get=function(e){for(var r=null,n=0,i=this.stores;n<i.length;n++){var a=i[n];try{if(r=a.get(e),r!=null)return r}catch(s){console.warn("Can't access ".concat(e,": ").concat(s))}}return null},t.prototype.set=function(e,r){this.stores.forEach(function(n){try{n.set(e,r)}catch(i){console.warn("Can't set ".concat(e,": ").concat(i))}})},t.prototype.clear=function(e){this.stores.forEach(function(r){try{r.remove(e)}catch(n){console.warn("Can't remove ".concat(e,": ").concat(n))}})},t.prototype.getAndSync=function(e){var r=this.get(e),n=typeof r=="number"?r.toString():r;return this.set(e,n),n},t}();function xO(t){var e=t.map(function(r){var n,i;switch(p1e(r)?(n=r.name,i=r.settings):n=r,n){case sn.Cookie:return new O5(i);case sn.LocalStorage:return new h1e;case sn.Memory:return new ST;default:throw new Error("Unknown Store Type: ".concat(r))}});return e}function x5(t,e){return t.map(function(r){return e&&r===sn.Cookie?{name:r,settings:e}:r})}var xo={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},T5=function(){function t(e,r){e===void 0&&(e=xo);var n=this,i,a,s,o;this.options={},this.id=function(l){if(n.options.disable)return null;var c=n.identityStore.getAndSync(n.idKey);if(l!==void 0){n.identityStore.set(n.idKey,l);var d=l!==c&&c!==null&&l!==null;d&&n.anonymousId(null)}var h=n.identityStore.getAndSync(n.idKey);if(h)return h;var p=n.legacyUserStore.get(xo.cookie.oldKey);return p?typeof p=="object"?p.id:p:null},this.anonymousId=function(l){var c,d;if(n.options.disable)return null;if(l===void 0){var h=(c=n.identityStore.getAndSync(n.anonKey))!==null&&c!==void 0?c:(d=n.legacySIO())===null||d===void 0?void 0:d[0];if(h)return h}return l===null?(n.identityStore.set(n.anonKey,null),n.identityStore.getAndSync(n.anonKey)):(n.identityStore.set(n.anonKey,l??_T()),n.identityStore.getAndSync(n.anonKey))},this.traits=function(l){var c;if(!n.options.disable)return l===null&&(l={}),l&&n.traitsStore.set(n.traitsKey,l??{}),(c=n.traitsStore.get(n.traitsKey))!==null&&c!==void 0?c:{}},this.options=re(re({},xo),e),this.cookieOptions=r,this.idKey=(a=(i=e.cookie)===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:xo.cookie.key,this.traitsKey=(o=(s=e.localStorage)===null||s===void 0?void 0:s.key)!==null&&o!==void 0?o:xo.localStorage.key,this.anonKey="ajs_anonymous_id",this.identityStore=this.createStorage(this.options,r),this.legacyUserStore=this.createStorage(this.options,r,function(l){return l===sn.Cookie}),this.traitsStore=this.createStorage(this.options,r,function(l){return l!==sn.Cookie});var u=this.legacyUserStore.get(xo.cookie.oldKey);u&&typeof u=="object"&&(u.id&&this.id(u.id),u.traits&&this.traits(u.traits)),OT(this)}return t.prototype.legacySIO=function(){var e=this.legacyUserStore.get("_sio");if(!e)return null;var r=e.split("----"),n=r[0],i=r[1];return[n,i]},t.prototype.identify=function(e,r){if(!this.options.disable){r=r??{};var n=this.id();(n===null||n===e)&&(r=re(re({},this.traits()),r)),e&&this.id(e),this.traits(r)}},t.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},t.prototype.reset=function(){this.logout(),this.identityStore.clear(this.idKey),this.identityStore.clear(this.anonKey),this.traitsStore.clear(this.traitsKey)},t.prototype.load=function(){return new t(this.options,this.cookieOptions)},t.prototype.save=function(){return!0},t.prototype.createStorage=function(e,r,n){var i=[sn.LocalStorage,sn.Cookie,sn.Memory];return e.disable?new Qo([]):e.persist?(e.storage!==void 0&&e.storage!==null&&S5(e.storage)&&(i=e.storage.stores),e.localStorageFallbackDisabled&&(i=i.filter(function(a){return a!==sn.LocalStorage})),n&&(i=i.filter(n)),new Qo(xO(x5(i,r)))):new Qo([new ST])},t.defaults=xo,t}(),GR={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},m1e=function(t){Ni(e,t);function e(r,n){r===void 0&&(r=GR);var i=t.call(this,re(re({},GR),r),n)||this;return i.anonymousId=function(a){},OT(i),i}return e}(T5),xT="analytics";function TT(){return window[xT]}function v1e(t){xT=t}function g1e(t){window[xT]=t}var ps="This is being deprecated and will be not be available in future releases of Analytics JS",Jy=wT(),Qy=Jy==null?void 0:Jy.analytics;function b1e(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=e?4:1,i=r?new ab(n,[]):new ob(n,t);return new u1e(i)}function Hi(){console.warn(ps)}var _1e=function(t){Ni(e,t);function e(r,n,i,a,s){var o=this,u,l,c;o=t.call(this)||this,o._debug=!1,o.initialized=!1,o.user=function(){return o._user},o.init=o.initialize.bind(o),o.log=Hi,o.addIntegrationMiddleware=Hi,o.listeners=Hi,o.addEventListener=Hi,o.removeAllListeners=Hi,o.removeListener=Hi,o.removeEventListener=Hi,o.hasListeners=Hi,o.add=Hi,o.addIntegration=Hi;var d=n==null?void 0:n.cookie,h=(u=n==null?void 0:n.disableClientPersistence)!==null&&u!==void 0?u:!1;o.settings=r,o.settings.timeout=(l=o.settings.timeout)!==null&&l!==void 0?l:300,o.queue=i??b1e("".concat(r.writeKey,":event-queue"),n==null?void 0:n.retryQueue,h);var p=n==null?void 0:n.storage;return o._universalStorage=o.createStore(h,p,d),o._user=a??new T5(re({persist:!h,storage:n==null?void 0:n.storage},n==null?void 0:n.user),d).load(),o._group=s??new m1e(re({persist:!h,storage:n==null?void 0:n.storage},n==null?void 0:n.group),d).load(),o.eventFactory=new i1e(o._user),o.integrations=(c=n==null?void 0:n.integrations)!==null&&c!==void 0?c:{},o.options=n??{},OT(o),o}return e.prototype.createStore=function(r,n,i){return r?new Qo([new ST]):n&&S5(n)?new Qo(xO(x5(n.stores,i))):new Qo(xO([sn.LocalStorage,{name:sn.Cookie,settings:i},sn.Memory]))},Object.defineProperty(e.prototype,"storage",{get:function(){return this._universalStorage},enumerable:!1,configurable:!0}),e.prototype.track=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a,s,o,u,l,c=this;return oe(this,function(d){return i=Xwe.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=this.eventFactory.track(a,s,o,this.integrations),[2,this._dispatch(l,u).then(function(h){return c.emit("track",a,h.event.properties,h.event.options),h})]})})},e.prototype.page=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a,s,o,u,l,c,d=this;return oe(this,function(h){return i=HR.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=i[4],c=this.eventFactory.page(a,s,o,u,this.integrations),[2,this._dispatch(c,l).then(function(p){return d.emit("page",a,s,p.event.properties,p.event.options),p})]})})},e.prototype.identify=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a,s,o,u,l,c=this;return oe(this,function(d){return i=VR(this._user).apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],this._user.identify(a,s),l=this.eventFactory.identify(this._user.id(),this._user.traits(),o,this.integrations),[2,this._dispatch(l,u).then(function(h){return c.emit("identify",h.event.userId,h.event.traits,h.event.options),h})]})})},e.prototype.group=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(n.length===0)return this._group;var a=VR(this._group).apply(void 0,n),s=a[0],o=a[1],u=a[2],l=a[3];this._group.identify(s,o);var c=this._group.id(),d=this._group.traits(),h=this.eventFactory.group(c,d,u,this.integrations);return this._dispatch(h,l).then(function(p){return r.emit("group",p.event.groupId,p.event.traits,p.event.options),p})},e.prototype.alias=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a,s,o,u,l,c=this;return oe(this,function(d){return i=Zwe.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=this.eventFactory.alias(a,s,o,this.integrations),[2,this._dispatch(l,u).then(function(h){return c.emit("alias",a,s,h.event.options),h})]})})},e.prototype.screen=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a,s,o,u,l,c,d=this;return oe(this,function(h){return i=HR.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=i[4],c=this.eventFactory.screen(a,s,o,u,this.integrations),[2,this._dispatch(c,l).then(function(p){return d.emit("screen",a,s,p.event.properties,p.event.options),p})]})})},e.prototype.trackClick=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a;return oe(this,function(s){switch(s.label){case 0:return[4,ei(()=>Promise.resolve().then(()=>sm),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,or([this],r,!1))]}})})},e.prototype.trackLink=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a;return oe(this,function(s){switch(s.label){case 0:return[4,ei(()=>Promise.resolve().then(()=>sm),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,or([this],r,!1))]}})})},e.prototype.trackSubmit=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a;return oe(this,function(s){switch(s.label){case 0:return[4,ei(()=>Promise.resolve().then(()=>sm),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,or([this],r,!1))]}})})},e.prototype.trackForm=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a;return oe(this,function(s){switch(s.label){case 0:return[4,ei(()=>Promise.resolve().then(()=>sm),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,or([this],r,!1))]}})})},e.prototype.register=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a,s=this;return oe(this,function(o){switch(o.label){case 0:return i=Jo.system(),a=r.map(function(u){return s.queue.register(i,u,s)}),[4,Promise.all(a)];case 1:return o.sent(),[2,i]}})})},e.prototype.deregister=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return se(this,void 0,void 0,function(){var i,a,s=this;return oe(this,function(o){switch(o.label){case 0:return i=Jo.system(),a=r.map(function(u){var l=s.queue.plugins.find(function(c){return c.name===u});if(l)return s.queue.deregister(i,l,s);i.log("warn","plugin ".concat(u," not found"))}),[4,Promise.all(a)];case 1:return o.sent(),[2,i]}})})},e.prototype.debug=function(r){return r===!1&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=r,this},e.prototype.reset=function(){this._user.reset(),this._group.reset(),this.emit("reset")},e.prototype.timeout=function(r){this.settings.timeout=r},e.prototype._dispatch=function(r,n){return se(this,void 0,void 0,function(){var i;return oe(this,function(a){return i=new Jo(r),wu()&&!this.options.retryQueue?[2,i]:[2,qwe(i,this.queue,this,{callback:n,debug:this._debug,timeout:this.settings.timeout})]})})},e.prototype.addSourceMiddleware=function(r){return se(this,void 0,void 0,function(){var n=this;return oe(this,function(i){switch(i.label){case 0:return[4,this.queue.criticalTasks.run(function(){return se(n,void 0,void 0,function(){var a,s,o;return oe(this,function(u){switch(u.label){case 0:return[4,ei(()=>Promise.resolve().then(()=>OOe),void 0,import.meta.url)];case 1:return a=u.sent().sourceMiddlewarePlugin,s={},this.queue.plugins.forEach(function(l){if(l.type==="destination")return s[l.name]=!0}),o=a(r,s),[4,this.register(o)];case 2:return u.sent(),[2]}})})})];case 1:return i.sent(),[2,this]}})})},e.prototype.addDestinationMiddleware=function(r){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var a=this.queue.plugins.filter(function(s){return s.name.toLowerCase()===r.toLowerCase()});return a.forEach(function(s){s.addMiddleware.apply(s,n)}),Promise.resolve(this)},e.prototype.setAnonymousId=function(r){return this._user.anonymousId(r)},e.prototype.queryString=function(r){return se(this,void 0,void 0,function(){var n;return oe(this,function(i){switch(i.label){case 0:return this.options.useQueryString===!1?[2,[]]:[4,ei(()=>Promise.resolve().then(()=>lSe),void 0,import.meta.url)];case 1:return n=i.sent().queryString,[2,n(this,r)]}})})},e.prototype.use=function(r){return r(this),this},e.prototype.ready=function(r){return r===void 0&&(r=function(n){return n}),se(this,void 0,void 0,function(){return oe(this,function(n){return[2,Promise.all(this.queue.plugins.map(function(i){return i.ready?i.ready():Promise.resolve()})).then(function(i){return r(i),i})]})})},e.prototype.noConflict=function(){return console.warn(ps),g1e(Qy??this),this},e.prototype.normalize=function(r){return console.warn(ps),this.eventFactory.normalize(r)},Object.defineProperty(e.prototype,"failedInitializations",{get:function(){return console.warn(ps),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"VERSION",{get:function(){return sh},enumerable:!1,configurable:!0}),e.prototype.initialize=function(r,n){return se(this,void 0,void 0,function(){return oe(this,function(i){return console.warn(ps),[2,Promise.resolve(this)]})})},e.prototype.pageview=function(r){return se(this,void 0,void 0,function(){return oe(this,function(n){switch(n.label){case 0:return console.warn(ps),[4,this.page({path:r})];case 1:return n.sent(),[2,this]}})})},Object.defineProperty(e.prototype,"plugins",{get:function(){var r;return console.warn(ps),(r=this._plugins)!==null&&r!==void 0?r:{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Integrations",{get:function(){console.warn(ps);var r=this.queue.plugins.filter(function(n){return n.type==="destination"}).reduce(function(n,i){var a="".concat(i.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),s=window[a];if(!s)return n;var o=s.Integration;return o?(n[i.name]=o,n):(n[i.name]=s,n)},{});return r},enumerable:!1,configurable:!0}),e.prototype.push=function(r){var n=this,i=r.shift();i&&!n[i]||n[i].apply(this,r)},e}(vT);function E5(){return typeof process>"u"||!process.env?{}:process.env}var y1e=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,w1e=function(){var t,e=Array.prototype.slice.call(document.querySelectorAll("script"));return e.forEach(function(r){var n,i=(n=r.getAttribute("src"))!==null&&n!==void 0?n:"",a=y1e.exec(i);a&&a[1]&&(t=a[1])}),t},tv,O1e=function(){var t,e=tv??((t=TT())===null||t===void 0?void 0:t._cdn);return e},S1e=function(t){var e=TT();e&&(e._cdn=t),tv=t},ET=function(){var t=O1e();if(t)return t;var e=w1e();return e||"https://cdn.segment.com"},PT=function(){var t=ET();return"".concat(t,"/next-integrations")};function P5(t,e){var r,n=Object.entries((r=e.integrations)!==null&&r!==void 0?r:{}).reduce(function(i,a){var s,o,u=a[0],l=a[1];return typeof l=="object"?re(re({},i),(s={},s[u]=l,s)):re(re({},i),(o={},o[u]={},o))},{});return Object.entries(t.integrations).reduce(function(i,a){var s,o=a[0],u=a[1];return re(re({},i),(s={},s[o]=re(re({},u),n[o]),s))},{})}var x1e=function(){var t,e,r=new Promise(function(n,i){t=n,e=i});return{resolve:t,reject:e,promise:r}},T1e=function(t,e){return Object.assign.apply(Object,or([{}],e.map(function(r){var n;if(t&&Object.prototype.hasOwnProperty.call(t,r))return n={},n[r]=t[r],n}),!1))};function C5(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return t}}var kd;function E1e(){if(kd)return kd;var t=w5(window.location.href);return kd={expires:31536e6,secure:!1,path:"/"},t&&(kd.domain=t),kd}function P1e(t){var e={btid:"dataxu",urid:"millennial-media"};t.startsWith("?")&&(t=t.substring(1)),t=t.replace(/\?/g,"&");for(var r=t.split("&"),n=0,i=r;n<i.length;n++){var a=i[n],s=a.split("="),o=s[0],u=s[1];if(e[o])return{id:u,type:e[o]}}}function A5(){var t=document.querySelector("link[rel='canonical']");if(t)return t.getAttribute("href")||void 0}function C1e(){var t=A5();if(!t)return window.location.pathname;var e=document.createElement("a");e.href=t;var r=e.pathname.startsWith("/")?e.pathname:"/"+e.pathname;return r}function A1e(t){t===void 0&&(t="");var e=A5();if(e)return e.includes("?")?e:"".concat(e).concat(t);var r=window.location.href,n=r.indexOf("#");return n===-1?r:r.slice(0,n)}function $1e(){return{path:C1e(),referrer:document.referrer,search:location.search,title:document.title,url:A1e(location.search)}}function M1e(t){return t.startsWith("?")&&(t=t.substring(1)),t=t.replace(/\?/g,"&"),t.split("&").reduce(function(e,r){var n=r.split("="),i=n[0],a=n[1],s=a===void 0?"":a;if(i.includes("utm_")&&i.length>4){var o=i.substr(4);o==="campaign"&&(o="name"),e[o]=C5(s)}return e},{})}function k1e(){var t=ka.get("_ga");if(t&&t.startsWith("amp"))return t}function D1e(t,e,r){var n,i=new Qo(r?[]:[new O5(E1e())]),a=i.get("s:context.referrer"),s=(n=P1e(t))!==null&&n!==void 0?n:a;s&&(e&&(e.referrer=re(re({},e.referrer),s)),i.set("s:context.referrer",s))}var R1e=function(){function t(){var e=this;this.name="Page Enrichment",this.type="before",this.version="0.1.0",this.isLoaded=function(){return!0},this.load=function(r,n){return e.instance=n,Promise.resolve()},this.enrich=function(r){var n,i,a,s=r.event,o=(n=s.context)!==null&&n!==void 0?n:s.context={},u=$1e(),l;s.type==="page"&&(l=s.properties&&T1e(s.properties,Object.keys(u)),s.properties=re(re(re({},u),s.properties),s.name?{name:s.name}:{})),o.page=re(re(re({},u),l),o.page);var c=o.page.search||"";o.userAgent=navigator.userAgent;var d=navigator.userLanguage||navigator.language;typeof o.locale>"u"&&typeof d<"u"&&(o.locale=d),(i=o.library)!==null&&i!==void 0||(o.library={name:"analytics.js",version:"".concat(m5()==="web"?"next":"npm:next","-").concat(sh)}),c&&!o.campaign&&(o.campaign=M1e(c));var h=k1e();return h&&(o.amp={id:h}),D1e(c,o,(a=e.instance.options.disableClientPersistence)!==null&&a!==void 0?a:!1),r},this.track=this.enrich,this.identify=this.enrich,this.page=this.enrich,this.group=this.enrich,this.alias=this.enrich,this.screen=this.enrich}return t}(),I1e=new R1e;function $5(t){var e=Array.prototype.slice.call(window.document.querySelectorAll("script"));return e.find(function(r){return r.src===t})}function Xl(t,e){var r=$5(t);if(r!==void 0){var n=r==null?void 0:r.getAttribute("status");if(n==="loaded")return Promise.resolve(r);if(n==="loading")return new Promise(function(i,a){r.addEventListener("load",function(){return i(r)}),r.addEventListener("error",function(s){return a(s)})})}return new Promise(function(i,a){var s,o=window.document.createElement("script");o.type="text/javascript",o.src=t,o.async=!0,o.setAttribute("status","loading");for(var u=0,l=Object.entries(e??{});u<l.length;u++){var c=l[u],d=c[0],h=c[1];o.setAttribute(d,h)}o.onload=function(){o.onerror=o.onload=null,o.setAttribute("status","loaded"),i(o)},o.onerror=function(){o.onerror=o.onload=null,o.setAttribute("status","error"),a(new Error("Failed to load ".concat(t)))};var p=window.document.getElementsByTagName("script")[0];(s=p.parentElement)===null||s===void 0||s.insertBefore(o,p)})}function N1e(t){var e=$5(t);return e!==void 0&&e.remove(),Promise.resolve()}var $n={},fa={},CT={},M5={exports:{}};(function(t){t.exports=e(r),t.exports.find=t.exports,t.exports.replace=function(o,u,l,c){return e(i).call(this,o,u,l,c),o},t.exports.del=function(o,u,l){return e(n).call(this,o,u,null,l),o};function e(o){return function(u,l,c,d){var h=d&&s(d.normalizer)?d.normalizer:a;l=h(l);for(var p,g=!1;!g;)_();function _(){for(p in u){var w=h(p);if(l.indexOf(w)===0){var S=l.substr(w.length);if(S.charAt(0)==="."||S.length===0){l=S.substr(1);var E=u[p];if(E==null){g=!0;return}if(!l.length){g=!0;return}u=E;return}}}p=void 0,g=!0}if(p)return u==null?u:o(u,p,c)}}function r(o,u){if(o.hasOwnProperty(u))return o[u]}function n(o,u){return o.hasOwnProperty(u)&&delete o[u],o}function i(o,u,l){return o.hasOwnProperty(u)&&(o[u]=l),o}function a(o){return o.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function s(o){return typeof o=="function"}})(M5);var ub=M5.exports,L1e=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(CT,"__esModule",{value:!0});var fs=L1e(ub);function gl(t,e){return function(){var r=this.traits(),n=this.properties?this.properties():{};return fs.default(r,"address."+t)||fs.default(r,t)||(e?fs.default(r,"address."+e):null)||(e?fs.default(r,e):null)||fs.default(n,"address."+t)||fs.default(n,t)||(e?fs.default(n,"address."+e):null)||(e?fs.default(n,e):null)}}function B1e(t){t.zip=gl("postalCode","zip"),t.country=gl("country"),t.street=gl("street"),t.state=gl("state"),t.city=gl("city"),t.region=gl("region")}CT.default=B1e;var lb={};Object.defineProperty(lb,"__esModule",{value:!0});lb.clone=void 0;function TO(t){if(Object.prototype.toString.call(t)==="[object Object]"){var e={};for(var r in t)e[r]=TO(t[r]);return e}else return Array.isArray(t)?t.map(TO):t}lb.clone=TO;var AT={};Object.defineProperty(AT,"__esModule",{value:!0});var F1e={Salesforce:!0};function j1e(t){return!F1e[t]}AT.default=j1e;var cb={},k5=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;cb.parse=function(t){var e=[1,5,6,7,11,12],r=k5.exec(t),n=0;if(!r)return new Date(t);for(var i=0,a;a=e[i];i++)r[a]=parseInt(r[a],10)||0;r[2]=parseInt(r[2],10)||1,r[3]=parseInt(r[3],10)||1,r[2]--,r[8]=r[8]?(r[8]+"00").substring(0,3):0,r[4]===" "?n=new Date().getTimezoneOffset():r[9]!=="Z"&&r[10]&&(n=r[11]*60+r[12],r[10]==="+"&&(n=0-n));var s=Date.UTC(r[1],r[2],r[3],r[5],r[6]+n,r[7],r[8]);return new Date(s)};cb.is=function(t,e){return typeof t!="string"||e&&/^\d{4}-\d{2}-\d{2}/.test(t)===!1?!1:k5.test(t)};var $T={},z1e=/\d{13}/;$T.is=function(t){return z1e.test(t)};$T.parse=function(t){return t=parseInt(t,10),new Date(t)};var MT={},H1e=/\d{10}/;MT.is=function(t){return H1e.test(t)};MT.parse=function(t){var e=parseInt(t,10)*1e3;return new Date(e)};var WR=cb,YR=$T,KR=MT,V1e=Object.prototype,D5=V1e.toString;function U1e(t){return D5.call(t)==="[object Date]"}function G1e(t){return D5.call(t)==="[object Number]"}var kT=function(e){return U1e(e)?e:G1e(e)?new Date(W1e(e)):WR.is(e)?WR.parse(e):YR.is(e)?YR.parse(e):KR.is(e)?KR.parse(e):new Date(e)};function W1e(t){return t<315576e5?t*1e3:t}var qR=cb,Y1e=DT;function DT(t,e){return e===void 0&&(e=!0),t&&typeof t=="object"?K1e(t,e):Array.isArray(t)?q1e(t,e):qR.is(t,e)?qR.parse(t):t}function K1e(t,e){return Object.keys(t).forEach(function(r){t[r]=DT(t[r],e)}),t}function q1e(t,e){return t.forEach(function(r,n){t[n]=DT(r,e)}),t}var Rh=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fa,"__esModule",{value:!0});fa.Facade=void 0;var X1e=Rh(CT),Oc=lb,Z1e=Rh(AT),J1e=Rh(kT),EO=Rh(ub),Q1e=Rh(Y1e);function Gn(t,e){e=e||{},this.raw=Oc.clone(t),"clone"in e||(e.clone=!0),e.clone&&(t=Oc.clone(t)),"traverse"in e||(e.traverse=!0),"timestamp"in t?t.timestamp=J1e.default(t.timestamp):t.timestamp=new Date,e.traverse&&Q1e.default(t),this.opts=e,this.obj=t}fa.Facade=Gn;var $t=Gn.prototype;$t.proxy=function(t){var e=t.split(".");t=e.shift();var r=this[t]||this.field(t);return r&&(typeof r=="function"&&(r=r.call(this)||{}),e.length===0?this.opts.clone?PO(r):r:(r=EO.default(r,e.join(".")),this.opts.clone?PO(r):r))};$t.field=function(t){var e=this.obj[t];return this.opts.clone?PO(e):e};Gn.proxy=function(t){return function(){return this.proxy(t)}};Gn.field=function(t){return function(){return this.field(t)}};Gn.multi=function(t){return function(){var e=this.proxy(t+"s");if(Array.isArray(e))return e;var r=this.proxy(t);return r&&(r=[this.opts.clone?Oc.clone(r):r]),r||[]}};Gn.one=function(t){return function(){var e=this.proxy(t);if(e)return e;var r=this.proxy(t+"s");if(Array.isArray(r))return r[0]}};$t.json=function(){var t=this.opts.clone?Oc.clone(this.obj):this.obj;return this.type&&(t.type=this.type()),t};$t.rawEvent=function(){return this.raw};$t.options=function(t){var e=this.obj.options||this.obj.context||{},r=this.opts.clone?Oc.clone(e):e;if(!t)return r;if(this.enabled(t)){var n=this.integrations(),i=n[t]||EO.default(n,t);return typeof i!="object"&&(i=EO.default(this.options(),t)),typeof i=="object"?i:{}}};$t.context=$t.options;$t.enabled=function(t){var e=this.proxy("options.providers.all");typeof e!="boolean"&&(e=this.proxy("options.all")),typeof e!="boolean"&&(e=this.proxy("integrations.all")),typeof e!="boolean"&&(e=!0);var r=e&&Z1e.default(t),n=this.integrations();if(n.providers&&n.providers.hasOwnProperty(t)&&(r=n.providers[t]),n.hasOwnProperty(t)){var i=n[t];typeof i=="boolean"?r=i:r=!0}return!!r};$t.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()};$t.active=function(){var t=this.proxy("options.active");return t==null&&(t=!0),t};$t.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")};$t.sessionId=$t.anonymousId;$t.groupId=Gn.proxy("options.groupId");$t.traits=function(t){var e=this.proxy("options.traits")||{},r=this.userId();t=t||{},r&&(e.id=r);for(var n in t){var i=this[n]==null?this.proxy("options.traits."+n):this[n]();i!=null&&(e[t[n]]=i,delete e[n])}return e};$t.library=function(){var t=this.proxy("options.library");return t?typeof t=="string"?{name:t,version:null}:t:{name:"unknown",version:null}};$t.device=function(){var t=this.proxy("context.device");(typeof t!="object"||t===null)&&(t={});var e=this.library().name;return t.type||(e.indexOf("ios")>-1&&(t.type="ios"),e.indexOf("android")>-1&&(t.type="android")),t};$t.userAgent=Gn.proxy("context.userAgent");$t.timezone=Gn.proxy("context.timezone");$t.timestamp=Gn.field("timestamp");$t.channel=Gn.field("channel");$t.ip=Gn.proxy("context.ip");$t.userId=Gn.field("userId");X1e.default($t);function PO(t){return Oc.clone(t)}var db={},CO={exports:{}};typeof Object.create=="function"?CO.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:CO.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}};var ku=CO.exports,eOe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(db,"__esModule",{value:!0});db.Alias=void 0;var tOe=eOe(ku),R5=fa;function Si(t,e){R5.Facade.call(this,t,e)}db.Alias=Si;tOe.default(Si,R5.Facade);Si.prototype.action=function(){return"alias"};Si.prototype.type=Si.prototype.action;Si.prototype.previousId=function(){return this.field("previousId")||this.field("from")};Si.prototype.from=Si.prototype.previousId;Si.prototype.userId=function(){return this.field("userId")||this.field("to")};Si.prototype.to=Si.prototype.userId;var fb={},Ic={};Object.defineProperty(Ic,"__esModule",{value:!0});var rOe=/.+\@.+\..+/;function nOe(t){return rOe.test(t)}Ic.default=nOe;var RT=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fb,"__esModule",{value:!0});fb.Group=void 0;var iOe=RT(ku),aOe=RT(Ic),sOe=RT(kT),Nc=fa;function IT(t,e){Nc.Facade.call(this,t,e)}fb.Group=IT;iOe.default(IT,Nc.Facade);var xi=IT.prototype;xi.action=function(){return"group"};xi.type=xi.action;xi.groupId=Nc.Facade.field("groupId");xi.created=function(){var t=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(t)return sOe.default(t)};xi.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.groupId();if(aOe.default(e))return e};xi.traits=function(t){var e=this.properties(),r=this.groupId();t=t||{},r&&(e.id=r);for(var n in t){var i=this[n]==null?this.proxy("traits."+n):this[n]();i!=null&&(e[t[n]]=i,delete e[n])}return e};xi.name=Nc.Facade.proxy("traits.name");xi.industry=Nc.Facade.proxy("traits.industry");xi.employees=Nc.Facade.proxy("traits.employees");xi.properties=function(){return this.field("traits")||this.field("properties")||{}};var Ih={},hb=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ih,"__esModule",{value:!0});Ih.Identify=void 0;var ha=fa,Zl=hb(ub),oOe=hb(ku),uOe=hb(Ic),I5=hb(kT),eu=function(t){return t.trim()};function NT(t,e){ha.Facade.call(this,t,e)}Ih.Identify=NT;oOe.default(NT,ha.Facade);var Mt=NT.prototype;Mt.action=function(){return"identify"};Mt.type=Mt.action;Mt.traits=function(t){var e=this.field("traits")||{},r=this.userId();t=t||{},r&&(e.id=r);for(var n in t){var i=this[n]==null?this.proxy("traits."+n):this[n]();i!=null&&(e[t[n]]=i,n!==t[n]&&delete e[n])}return e};Mt.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.userId();if(uOe.default(e))return e};Mt.created=function(){var t=this.proxy("traits.created")||this.proxy("traits.createdAt");if(t)return I5.default(t)};Mt.companyCreated=function(){var t=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(t)return I5.default(t)};Mt.companyName=function(){return this.proxy("traits.company.name")};Mt.name=function(){var t=this.proxy("traits.name");if(typeof t=="string")return eu(t);var e=this.firstName(),r=this.lastName();if(e&&r)return eu(e+" "+r)};Mt.firstName=function(){var t=this.proxy("traits.firstName");if(typeof t=="string")return eu(t);var e=this.proxy("traits.name");if(typeof e=="string")return eu(e).split(" ")[0]};Mt.lastName=function(){var t=this.proxy("traits.lastName");if(typeof t=="string")return eu(t);var e=this.proxy("traits.name");if(typeof e=="string"){var r=eu(e).indexOf(" ");if(r!==-1)return eu(e.substr(r+1))}};Mt.uid=function(){return this.userId()||this.username()||this.email()};Mt.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")};Mt.age=function(){var t=this.birthday(),e=Zl.default(this.traits(),"age");if(e!=null)return e;if(t instanceof Date){var r=new Date;return r.getFullYear()-t.getFullYear()}};Mt.avatar=function(){var t=this.traits();return Zl.default(t,"avatar")||Zl.default(t,"photoUrl")||Zl.default(t,"avatarUrl")};Mt.position=function(){var t=this.traits();return Zl.default(t,"position")||Zl.default(t,"jobTitle")};Mt.username=ha.Facade.proxy("traits.username");Mt.website=ha.Facade.one("traits.website");Mt.websites=ha.Facade.multi("traits.website");Mt.phone=ha.Facade.one("traits.phone");Mt.phones=ha.Facade.multi("traits.phone");Mt.address=ha.Facade.proxy("traits.address");Mt.gender=ha.Facade.proxy("traits.gender");Mt.birthday=ha.Facade.proxy("traits.birthday");var Lc={},LT=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Lc,"__esModule",{value:!0});Lc.Track=void 0;var lOe=LT(ku),Sr=fa,cOe=Ih,dOe=LT(Ic),N5=LT(ub);function BT(t,e){Sr.Facade.call(this,t,e)}Lc.Track=BT;lOe.default(BT,Sr.Facade);var Le=BT.prototype;Le.action=function(){return"track"};Le.type=Le.action;Le.event=Sr.Facade.field("event");Le.value=Sr.Facade.proxy("properties.value");Le.category=Sr.Facade.proxy("properties.category");Le.id=Sr.Facade.proxy("properties.id");Le.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")};Le.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")};Le.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")};Le.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")};Le.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")};Le.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")};Le.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")};Le.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")};Le.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")};Le.sku=Sr.Facade.proxy("properties.sku");Le.tax=Sr.Facade.proxy("properties.tax");Le.name=Sr.Facade.proxy("properties.name");Le.price=Sr.Facade.proxy("properties.price");Le.total=Sr.Facade.proxy("properties.total");Le.repeat=Sr.Facade.proxy("properties.repeat");Le.coupon=Sr.Facade.proxy("properties.coupon");Le.shipping=Sr.Facade.proxy("properties.shipping");Le.discount=Sr.Facade.proxy("properties.discount");Le.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")};Le.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")};Le.description=Sr.Facade.proxy("properties.description");Le.plan=Sr.Facade.proxy("properties.plan");Le.subtotal=function(){var t=N5.default(this.properties(),"subtotal"),e=this.total()||this.revenue();if(t)return t;if(!e)return 0;if(this.total()){var r=this.tax();r&&(e-=r),r=this.shipping(),r&&(e-=r),r=this.discount(),r&&(e+=r)}return e};Le.products=function(){var t=this.properties(),e=N5.default(t,"products");return Array.isArray(e)?e.filter(function(r){return r!==null}):[]};Le.quantity=function(){var t=this.obj.properties||{};return t.quantity||1};Le.currency=function(){var t=this.obj.properties||{};return t.currency||"USD"};Le.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};Le.query=Sr.Facade.proxy("options.query");Le.properties=function(t){var e=this.field("properties")||{};t=t||{};for(var r in t){var n=this[r]==null?this.proxy("properties."+r):this[r]();n!=null&&(e[t[r]]=n,delete e[r])}return e};Le.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()};Le.email=function(){var t=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(t)return t;var e=this.userId();if(dOe.default(e))return e};Le.revenue=function(){var t=this.proxy("properties.revenue"),e=this.event(),r=/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;return!t&&e&&e.match(r)&&(t=this.proxy("properties.total")),fOe(t)};Le.cents=function(){var t=this.revenue();return typeof t!="number"?this.value()||0:t*100};Le.identify=function(){var t=this.json();return t.traits=this.traits(),new cOe.Identify(t,this.opts)};function fOe(t){if(t){if(typeof t=="number")return t;if(typeof t=="string"&&(t=t.replace(/\$/g,""),t=parseFloat(t),!isNaN(t)))return t}}var Nh={},L5=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Nh,"__esModule",{value:!0});Nh.Page=void 0;var hOe=L5(ku),Du=fa,pOe=Lc,mOe=L5(Ic);function FT(t,e){Du.Facade.call(this,t,e)}Nh.Page=FT;hOe.default(FT,Du.Facade);var bn=FT.prototype;bn.action=function(){return"page"};bn.type=bn.action;bn.category=Du.Facade.field("category");bn.name=Du.Facade.field("name");bn.title=Du.Facade.proxy("properties.title");bn.path=Du.Facade.proxy("properties.path");bn.url=Du.Facade.proxy("properties.url");bn.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};bn.properties=function(t){var e=this.field("properties")||{},r=this.category(),n=this.name();t=t||{},r&&(e.category=r),n&&(e.name=n);for(var i in t){var a=this[i]==null?this.proxy("properties."+i):this[i]();a!=null&&(e[t[i]]=a,i!==t[i]&&delete e[i])}return e};bn.email=function(){var t=this.proxy("context.traits.email")||this.proxy("properties.email");if(t)return t;var e=this.userId();if(mOe.default(e))return e};bn.fullName=function(){var t=this.category(),e=this.name();return e&&t?t+" "+e:e};bn.event=function(t){return t?"Viewed "+t+" Page":"Loaded a Page"};bn.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new pOe.Track(e,this.opts)};var pb={},vOe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pb,"__esModule",{value:!0});pb.Screen=void 0;var gOe=vOe(ku),B5=Nh,bOe=Lc;function Ou(t,e){B5.Page.call(this,t,e)}pb.Screen=Ou;gOe.default(Ou,B5.Page);Ou.prototype.action=function(){return"screen"};Ou.prototype.type=Ou.prototype.action;Ou.prototype.event=function(t){return t?"Viewed "+t+" Screen":"Loaded a Screen"};Ou.prototype.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new bOe.Track(e,this.opts)};var mb={},_Oe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mb,"__esModule",{value:!0});mb.Delete=void 0;var yOe=_Oe(ku),F5=fa;function jT(t,e){F5.Facade.call(this,t,e)}mb.Delete=jT;yOe.default(jT,F5.Facade);jT.prototype.type=function(){return"delete"};(function(t){var e=Oe&&Oe.__assign||function(){return e=Object.assign||function(c){for(var d,h=1,p=arguments.length;h<p;h++){d=arguments[h];for(var g in d)Object.prototype.hasOwnProperty.call(d,g)&&(c[g]=d[g])}return c},e.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=t.Screen=t.Page=t.Track=t.Identify=t.Group=t.Alias=t.Facade=void 0;var r=fa;Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return r.Facade}});var n=db;Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return n.Alias}});var i=fb;Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return i.Group}});var a=Ih;Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return a.Identify}});var s=Lc;Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return s.Track}});var o=Nh;Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return o.Page}});var u=pb;Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return u.Screen}});var l=mb;Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return l.Delete}}),t.default=e(e({},r.Facade),{Alias:n.Alias,Group:i.Group,Identify:a.Identify,Track:s.Track,Page:o.Page,Screen:u.Screen,Delete:l.Delete})})($n);function Ng(t,e){var r=new $n.Facade(t,e);return t.type==="track"&&(r=new $n.Track(t,e)),t.type==="identify"&&(r=new $n.Identify(t,e)),t.type==="page"&&(r=new $n.Page(t,e)),t.type==="alias"&&(r=new $n.Alias(t,e)),t.type==="group"&&(r=new $n.Group(t,e)),t.type==="screen"&&(r=new $n.Screen(t,e)),Object.defineProperty(r,"obj",{value:t,writable:!0}),r}function zT(t,e,r){return se(this,void 0,void 0,function(){function n(l,c){return se(this,void 0,void 0,function(){var d,h,p;return oe(this,function(g){switch(g.label){case 0:return d=!1,h=null,[4,c({payload:Ng(l,{clone:!0,traverse:!1}),integration:t,next:function(_){d=!0,_===null&&(h=null),_&&(h=_.obj)}})];case 1:return g.sent(),!d&&h!==null&&(h=h,h.integrations=re(re({},l.integrations),(p={},p[t]=!1,p))),[2,h]}})})}var i,a,s,o,u;return oe(this,function(l){switch(l.label){case 0:i=Ng(e,{clone:!0,traverse:!1}).rawEvent(),a=0,s=r,l.label=1;case 1:return a<s.length?(o=s[a],[4,n(i,o)]):[3,4];case 2:if(u=l.sent(),u===null)return[2,null];i=u,l.label=3;case 3:return a++,[3,1];case 4:return[2,i]}})})}function wOe(t,e){function r(n){return se(this,void 0,void 0,function(){var i;return oe(this,function(a){switch(a.label){case 0:return i=!1,[4,t({payload:Ng(n.event,{clone:!0,traverse:!1}),integrations:e??{},next:function(s){i=!0,s&&(n.event=s.obj)}})];case 1:if(a.sent(),!i)throw new Qs({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,n]}})})}return{name:"Source Middleware ".concat(t.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(n){return Promise.resolve(n)},track:r,page:r,identify:r,alias:r,group:r}}const OOe=Object.freeze(Object.defineProperty({__proto__:null,applyDestinationMiddleware:zT,sourceMiddlewarePlugin:wOe},Symbol.toStringTag,{value:"Module"}));var SOe=function(){function t(e,r){this.version="1.0.0",this.alternativeNames=[],this.middleware=[],this.alias=this._createMethod("alias"),this.group=this._createMethod("group"),this.identify=this._createMethod("identify"),this.page=this._createMethod("page"),this.screen=this._createMethod("screen"),this.track=this._createMethod("track"),this.action=r,this.name=e,this.type=r.type,this.alternativeNames.push(r.name)}return t.prototype.addMiddleware=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.type==="destination"&&(e=this.middleware).push.apply(e,r)},t.prototype.transform=function(e){return se(this,void 0,void 0,function(){var r;return oe(this,function(n){switch(n.label){case 0:return[4,zT(this.name,e.event,this.middleware)];case 1:return r=n.sent(),r===null&&e.cancel(new Qs({retry:!1,reason:"dropped by destination middleware"})),[2,new Jo(r)]}})})},t.prototype._createMethod=function(e){var r=this;return function(n){return se(r,void 0,void 0,function(){var i;return oe(this,function(a){switch(a.label){case 0:return this.action[e]?(i=n,this.type!=="destination"?[3,2]:[4,this.transform(n)]):[2,n];case 1:i=a.sent(),a.label=2;case 2:return[4,this.action[e](i)];case 3:return a.sent(),[2,n]}})})}},t.prototype.isLoaded=function(){return this.action.isLoaded()},t.prototype.ready=function(){return this.action.ready?this.action.ready():Promise.resolve()},t.prototype.load=function(e,r){return this.action.load(e,r)},t.prototype.unload=function(e,r){var n,i;return(i=(n=this.action).unload)===null||i===void 0?void 0:i.call(n,e,r)},t}();function xOe(t){if(!Array.isArray(t))throw new Error("Not a valid list of plugins");var e=["load","isLoaded","name","version","type"];return t.forEach(function(r){e.forEach(function(n){var i;if(r[n]===void 0)throw new Error("Plugin: ".concat((i=r.name)!==null&&i!==void 0?i:"unknown"," missing required function ").concat(n))})}),!0}function TOe(t,e){var r=t[e.creationName],n=t[e.name];return t.All===!1&&!r&&!n||r===!1||n===!1}function EOe(t,e){return se(this,void 0,void 0,function(){var r,n,i,a,s;return oe(this,function(o){switch(o.label){case 0:if(r=new RegExp("https://cdn.segment.(com|build)"),n=ET(),!e)return[3,6];i=t.url.split("/"),a=i[i.length-2],s=t.url.replace(a,btoa(a).replace(/=/g,"")),o.label=1;case 1:return o.trys.push([1,3,,5]),[4,Xl(s.replace(r,n))];case 2:return o.sent(),[3,5];case 3:return o.sent(),[4,Xl(t.url.replace(r,n))];case 4:return o.sent(),[3,5];case 5:return[3,8];case 6:return[4,Xl(t.url.replace(r,n))];case 7:o.sent(),o.label=8;case 8:return typeof window[t.libraryName]=="function"?[2,window[t.libraryName]]:[2]}})})}function POe(t,e,r,n,i,a){var s,o,u;return se(this,void 0,void 0,function(){var l,c,d,h=this;return oe(this,function(p){switch(p.label){case 0:return l=[],c=(o=(s=t.middlewareSettings)===null||s===void 0?void 0:s.routingRules)!==null&&o!==void 0?o:[],d=((u=t.remotePlugins)!==null&&u!==void 0?u:[]).map(function(g){return se(h,void 0,void 0,function(){var _,w,S,E,x,f;return oe(this,function(m){switch(m.label){case 0:if(TOe(e,g))return[2];m.label=1;case 1:return m.trys.push([1,6,,7]),w=a==null?void 0:a.find(function(v){var T=v.pluginName;return T===g.name}),w?[3,3]:[4,EOe(g,n)];case 2:w=m.sent(),m.label=3;case 3:return _=w,_?[4,_(re(re({},g.settings),r[g.name]))]:[3,5];case 4:S=m.sent(),E=Array.isArray(S)?S:[S],xOe(E),x=c.filter(function(v){return v.destinationName===g.creationName}),E.forEach(function(v){var T=new SOe(g.creationName,v);x.length&&i&&v.type==="destination"&&T.addMiddleware(i),l.push(T)}),m.label=5;case 5:return[3,7];case 6:return f=m.sent(),console.warn("Failed to load Remote Plugin",f),[3,7];case 7:return[2]}})})}),[4,Promise.all(d)];case 1:return p.sent(),[2,l.filter(Boolean)]}})})}var COe=function(t){var e=!1;window.addEventListener("pagehide",function(){e||(e=!0,t(e))}),document.addEventListener("visibilitychange",function(){if(document.visibilityState=="hidden"){if(e)return;e=!0}else e=!1;t(e)})},AOe=500;function j5(t){var e=encodeURI(JSON.stringify(t)).split(/%..|./).length-1;return e/1024}function $Oe(t){return j5(t)>=AOe-50}function MOe(t){var e=[],r=0;return t.forEach(function(n){var i=j5(e[r]);i>=64&&r++,e[r]?e[r].push(n):e[r]=[n]}),e}function kOe(t,e){var r,n,i=[],a=!1,s=(r=e==null?void 0:e.size)!==null&&r!==void 0?r:10,o=(n=e==null?void 0:e.timeout)!==null&&n!==void 0?n:5e3;function u(p){var g;if(p.length!==0){var _=(g=p[0])===null||g===void 0?void 0:g.writeKey,w=p.map(function(S){var E=S;E.sentAt;var x=u5(E,["sentAt"]);return x});return sb("https://".concat(t,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({writeKey:_,batch:w,sentAt:new Date().toISOString()})})}}function l(){return se(this,void 0,void 0,function(){var p;return oe(this,function(g){return i.length?(p=i,i=[],[2,u(p)]):[2]})})}var c;function d(){c||(c=setTimeout(function(){c=void 0,l().catch(console.error)},o))}COe(function(p){if(a=p,a&&i.length){var g=MOe(i).map(u);Promise.all(g).catch(console.error)}});function h(p,g){return se(this,void 0,void 0,function(){var _;return oe(this,function(w){return i.push(g),_=i.length>=s||$Oe(i),[2,_||a?l():d()]})})}return{dispatch:h}}function DOe(t){function e(r,n){return sb(r,{keepalive:t==null?void 0:t.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(n)})}return{dispatch:e}}function ROe(t,e,r,n){var i,a=t.user();delete e.options,e.writeKey=r==null?void 0:r.apiKey,e.userId=e.userId||a.id(),e.anonymousId=e.anonymousId||a.anonymousId(),e.sentAt=new Date;var s=t.queue.failedInitializations||[];s.length>0&&(e._metadata={failedInitializations:s});var o=[],u=[];for(var l in n){var c=n[l];l==="Segment.io"&&o.push(l),c.bundlingStatus==="bundled"&&o.push(l),c.bundlingStatus==="unbundled"&&u.push(l)}for(var d=0,h=(r==null?void 0:r.unbundledIntegrations)||[];d<h.length;d++){var p=h[d];u.includes(p)||u.push(p)}var g=(i=r==null?void 0:r.maybeBundledConfigIds)!==null&&i!==void 0?i:{},_=[];return o.sort().forEach(function(w){var S;((S=g[w])!==null&&S!==void 0?S:[]).forEach(function(E){_.push(E)})}),(r==null?void 0:r.addBundledMetadata)!==!1&&(e._metadata=re(re({},e._metadata),{bundled:o.sort(),unbundled:u.sort(),bundledIds:_})),e}var z5=function(t,e){return se(void 0,void 0,void 0,function(){var r;return oe(this,function(n){return r=function(i){return se(void 0,void 0,void 0,function(){var a;return oe(this,function(s){switch(s.label){case 0:return t(i)?(a=r,[4,e()]):[3,2];case 1:return[2,a.apply(void 0,[s.sent()])];case 2:return[2]}})})},[2,r(void 0)]})})};function IOe(t,e){return se(this,void 0,void 0,function(){var r,n=this;return oe(this,function(i){switch(i.label){case 0:return r=[],wu()?[2,e]:[4,z5(function(){return e.length>0&&!wu()},function(){return se(n,void 0,void 0,function(){var a,s,o;return oe(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,ql(a,t)]:[2];case 1:return s=u.sent(),o=s instanceof Jo,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}function bl(t,e,r,n){var i=this;t||setTimeout(function(){return se(i,void 0,void 0,function(){var a,s;return oe(this,function(o){switch(o.label){case 0:return a=!0,[4,IOe(r,e)];case 1:return s=o.sent(),a=!1,e.todo>0&&n(a,s,r,n),[2]}})})},Math.random()*5e3)}function NOe(t){return se(this,void 0,void 0,function(){var e;return oe(this,function(r){return e=navigator.userAgentData,e?t?[2,e.getHighEntropyValues(t).catch(function(){return e.toJSON()})]:[2,e.toJSON()]:[2,void 0]})})}function LOe(t,e){var r,n,i,a,s=t.user();return e.previousId=(i=(n=(r=e.previousId)!==null&&r!==void 0?r:e.from)!==null&&n!==void 0?n:s.id())!==null&&i!==void 0?i:s.anonymousId(),e.userId=(a=e.userId)!==null&&a!==void 0?a:e.to,delete e.from,delete e.to,e}function BOe(t,e,r){var n,i,a;return se(this,void 0,void 0,function(){function s(E){return se(this,void 0,void 0,function(){var x,f;return oe(this,function(m){return wu()?(u.push(E),bl(c,u,S,bl),[2,E]):(l.add(E),x=E.event.type.charAt(0),w&&E.event.context&&(E.event.context.userAgentData=w),f=Ng(E.event).json(),E.event.type==="track"&&delete f.traits,E.event.type==="alias"&&(f=LOe(t,f)),[2,_.dispatch("".concat(p,"/").concat(x),ROe(t,f,e,r)).then(function(){return E}).catch(function(){return u.pushWithBackoff(E),bl(c,u,S,bl),E}).finally(function(){l.delete(E)})])})})}var o,u,l,c,d,h,p,g,_,w,S;return oe(this,function(E){switch(E.label){case 0:window.addEventListener("pagehide",function(){u.push.apply(u,Array.from(l)),l.clear()}),o=(n=e==null?void 0:e.apiKey)!==null&&n!==void 0?n:"",u=t.options.disableClientPersistence?new ab(t.queue.queue.maxAttempts,[]):new ob(t.queue.queue.maxAttempts,"".concat(o,":dest-Segment.io")),l=new Set,c=!1,d=(i=e==null?void 0:e.apiHost)!==null&&i!==void 0?i:v5,h=(a=e==null?void 0:e.protocol)!==null&&a!==void 0?a:"https",p="".concat(h,"://").concat(d),g=e==null?void 0:e.deliveryStrategy,_=(g==null?void 0:g.strategy)==="batching"?kOe(d,g.config):DOe(g==null?void 0:g.config),E.label=1;case 1:return E.trys.push([1,3,,4]),[4,NOe(t.options.highEntropyValuesClientHints)];case 2:return w=E.sent(),[3,4];case 3:return E.sent(),w=void 0,[3,4];case 4:return S={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:s,identify:s,page:s,alias:s,group:s,screen:s},u.todo&&bl(c,u,S,bl),[2,S]}})})}function _l(t){var e,r=t.event;Dwe(r),Rwe(r),r.type==="track"&&Iwe(r);var n=(e=r.properties)!==null&&e!==void 0?e:r.traits;if(r.type!=="alias"&&!Bn(n))throw new yu(".properties","is not an object");return kwe(r),t}var FOe={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:_l,identify:_l,page:_l,alias:_l,group:_l,screen:_l},jOe=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},H5=function(t,e,r){r.getCalls(t).forEach(function(n){HT(e,n).catch(console.error)})},zOe=function(t,e){return se(void 0,void 0,void 0,function(){var r,n,i;return oe(this,function(a){switch(a.label){case 0:r=0,n=e.getCalls("addSourceMiddleware"),a.label=1;case 1:return r<n.length?(i=n[r],[4,HT(t,i).catch(console.error)]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},HOe=H5.bind(globalThis,"on"),VOe=H5.bind(globalThis,"setAnonymousId"),UOe=function(t,e){e.toArray().forEach(function(r){setTimeout(function(){HT(t,r).catch(console.error)},0)})},GOe=function(){function t(){this._value={}}return t.prototype.toArray=function(){var e;return(e=[]).concat.apply(e,Object.values(this._value))},t.prototype.getCalls=function(e){var r;return(r=this._value[e])!==null&&r!==void 0?r:[]},t.prototype.push=function(){for(var e=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.forEach(function(i){e._value[i.method]?e._value[i.method].push(i):e._value[i.method]=[i]}),this},t.prototype.clear=function(){return this._value={},this},t}();function HT(t,e){return se(this,void 0,void 0,function(){var r,n;return oe(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),e.called?[2,void 0]:(e.called=!0,r=t[e.method].apply(t,e.args),jOe(r)?[4,r]:[3,2]);case 1:i.sent(),i.label=2;case 2:return e.resolve(r),[3,4];case 3:return n=i.sent(),e.reject(n),[3,4];case 4:return[2]}})})}var WOe=function(){function t(e){var r=this;this._preInitBuffer=new GOe,this.trackSubmit=this._createMethod("trackSubmit"),this.trackClick=this._createMethod("trackClick"),this.trackLink=this._createMethod("trackLink"),this.pageView=this._createMethod("pageview"),this.identify=this._createMethod("identify"),this.reset=this._createMethod("reset"),this.group=this._createMethod("group"),this.track=this._createMethod("track"),this.ready=this._createMethod("ready"),this.alias=this._createMethod("alias"),this.debug=this._createChainableMethod("debug"),this.page=this._createMethod("page"),this.once=this._createChainableMethod("once"),this.off=this._createChainableMethod("off"),this.on=this._createChainableMethod("on"),this.addSourceMiddleware=this._createMethod("addSourceMiddleware"),this.setAnonymousId=this._createMethod("setAnonymousId"),this.addDestinationMiddleware=this._createMethod("addDestinationMiddleware"),this.screen=this._createMethod("screen"),this.register=this._createMethod("register"),this.deregister=this._createMethod("deregister"),this.user=this._createMethod("user"),this.VERSION=sh,this._promise=e(this._preInitBuffer),this._promise.then(function(n){var i=n[0],a=n[1];r.instance=i,r.ctx=a}).catch(function(){})}return t.prototype.then=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(e=this._promise).then.apply(e,r)},t.prototype.catch=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(e=this._promise).catch.apply(e,r)},t.prototype.finally=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(e=this._promise).finally.apply(e,r)},t.prototype._createMethod=function(e){var r=this;return function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r.instance){var s=(n=r.instance)[e].apply(n,i);return Promise.resolve(s)}return new Promise(function(o,u){r._preInitBuffer.push({method:e,args:i,resolve:o,reject:u,called:!1})})}},t.prototype._createChainableMethod=function(e){var r=this;return function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return r.instance?((n=r.instance)[e].apply(n,i),r):(r._preInitBuffer.push({method:e,args:i,resolve:function(){},reject:console.error,called:!1}),r)}},t}();function YOe(t){var e=t[0],r=t.slice(1);return{method:e,resolve:function(){},reject:console.error,args:r,called:!1}}var KOe=function(t){return t.map(YOe)},AO=function(t){t===void 0&&(t=TT());var e=t;if(!Array.isArray(e))return[];var r=e.splice(0,e.length);return KOe(r)},ew,XR,qOe=wT(),ZR=(ew=(XR=qOe).__SEGMENT_INSPECTOR__)!==null&&ew!==void 0?ew:XR.__SEGMENT_INSPECTOR__={},XOe=function(t){var e;return(e=ZR.attach)===null||e===void 0?void 0:e.call(ZR,t)};function ZOe(t,e){var r=e??ET();return sb("".concat(r,"/v1/projects/").concat(t,"/settings")).then(function(n){return n.ok?n.json():n.text().then(function(i){throw new Error(i)})}).catch(function(n){throw console.error(n.message),n})}function JOe(t){return E5().NODE_ENV!=="test"&&Object.keys(t.integrations).length>1}function QOe(t){var e,r,n;return E5().NODE_ENV!=="test"&&((n=(r=(e=t.middlewareSettings)===null||e===void 0?void 0:e.routingRules)===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0)>0}function eSe(t,e){e.push.apply(e,AO()),VOe(t,e),HOe(t,e)}function tSe(t,e){return se(this,void 0,void 0,function(){return oe(this,function(r){switch(r.label){case 0:return e.push.apply(e,AO()),[4,zOe(t,e)];case 1:return r.sent(),e.push.apply(e,AO()),UOe(t,e),e.clear(),[2]}})})}function rSe(t,e,r,n,i,a,s){var o,u,l;return a===void 0&&(a=[]),se(this,void 0,void 0,function(){var c,d,h,p,g,_,w,S,E,x,f,m,v,T,P,k=this;return oe(this,function(y){switch(y.label){case 0:return c=a==null?void 0:a.filter(function($){return typeof $=="object"}),d=a==null?void 0:a.filter(function($){return typeof $=="function"&&typeof $.pluginName=="string"}),QOe(e)?[4,ei(()=>Promise.resolve().then(()=>kCe),void 0,import.meta.url).then(function($){return $.tsubMiddleware(e.middlewareSettings.routingRules)})]:[3,2];case 1:return p=y.sent(),[3,3];case 2:p=void 0,y.label=3;case 3:return h=p,JOe(e)||s.length>0?[4,ei(()=>Promise.resolve().then(()=>VCe),void 0,import.meta.url).then(function($){return $.ajsDestinations(t,e,r.integrations,n,h,s)})]:[3,5];case 4:return _=y.sent(),[3,6];case 5:_=[],y.label=6;case 6:return g=_,e.legacyVideoPluginsEnabled?[4,ei(()=>Promise.resolve().then(()=>GCe),void 0,import.meta.url).then(function($){return $.loadLegacyVideoPlugins(r)})]:[3,8];case 7:y.sent(),y.label=8;case 8:return!((o=n.plan)===null||o===void 0)&&o.track?[4,ei(()=>Promise.resolve().then(()=>KCe),void 0,import.meta.url).then(function($){var C;return $.schemaFilter((C=n.plan)===null||C===void 0?void 0:C.track,e)})]:[3,10];case 9:return S=y.sent(),[3,11];case 10:S=void 0,y.label=11;case 11:return w=S,E=P5(e,i),[4,POe(e,r.integrations,E,i.obfuscate,h,d).catch(function(){return[]})];case 12:return x=y.sent(),f=or(or(or([FOe,I1e],c,!0),g,!0),x,!0),w&&f.push(w),m=((u=n.integrations)===null||u===void 0?void 0:u.All)===!1&&!n.integrations["Segment.io"]||n.integrations&&n.integrations["Segment.io"]===!1,m?[3,14]:(T=(v=f).push,[4,BOe(r,E["Segment.io"],e.integrations)]);case 13:T.apply(v,[y.sent()]),y.label=14;case 14:return[4,r.register.apply(r,f)];case 15:return P=y.sent(),Object.entries((l=e.enabledMiddleware)!==null&&l!==void 0?l:{}).some(function($){var C=$[1];return C})?[4,ei(()=>Promise.resolve().then(()=>XCe),void 0,import.meta.url).then(function($){var C=$.remoteMiddlewares;return se(k,void 0,void 0,function(){var O,A;return oe(this,function(D){switch(D.label){case 0:return[4,C(P,e,i.obfuscate)];case 1:return O=D.sent(),A=O.map(function(M){return r.addSourceMiddleware(M)}),[2,Promise.all(A)]}})})})]:[3,17];case 16:y.sent(),y.label=17;case 17:return[2,P]}})})}function nSe(t,e,r){var n,i,a,s,o,u,l;return e===void 0&&(e={}),se(this,void 0,void 0,function(){var c,d,h,p,g,_,w,S,E,x,f;return oe(this,function(m){switch(m.label){case 0:return e.globalAnalyticsKey&&v1e(e.globalAnalyticsKey),t.cdnURL&&S1e(t.cdnURL),(n=t.cdnSettings)!==null&&n!==void 0?(d=n,[3,3]):[3,1];case 1:return[4,ZOe(t.writeKey,t.cdnURL)];case 2:d=m.sent(),m.label=3;case 3:return c=d,e.updateCDNSettings&&(c=e.updateCDNSettings(c)),h=(a=(i=c.integrations["Segment.io"])===null||i===void 0?void 0:i.retryQueue)!==null&&a!==void 0?a:!0,p=re({retryQueue:h},e),g=new _1e(t,p),XOe(g),_=(s=t.plugins)!==null&&s!==void 0?s:[],w=(o=t.classicIntegrations)!==null&&o!==void 0?o:[],g5.initRemoteMetrics(c.metrics),eSe(g,r),[4,rSe(t.writeKey,c,g,p,e,_,w)];case 4:return S=m.sent(),E=(u=window.location.search)!==null&&u!==void 0?u:"",x=(l=window.location.hash)!==null&&l!==void 0?l:"",f=E.length?E:x.replace(/(?=#).*(?=\?)/,""),f.includes("ajs_")?[4,g.queryString(f).catch(console.error)]:[3,6];case 5:m.sent(),m.label=6;case 6:return g.initialized=!0,g.emit("initialize",t,e),e.initialPageview&&g.page().catch(console.error),[4,tSe(g,r)];case 7:return m.sent(),[2,[g,S]]}})})}var SAe=function(t){Ni(e,t);function e(){var r=this,n=x1e(),i=n.promise,a=n.resolve;return r=t.call(this,function(s){return i.then(function(o){var u=o[0],l=o[1];return nSe(u,l,s)})})||this,r._resolveLoadStart=function(s,o){return a([s,o])},r}return e.prototype.load=function(r,n){return n===void 0&&(n={}),this._resolveLoadStart(r,n),this},e.load=function(r,n){return n===void 0&&(n={}),new e().load(r,n)},e.standalone=function(r,n){return e.load({writeKey:r},n).then(function(i){return i[0]})},e}(WOe);function iSe(t){var e=t;return!!(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&e.button==1)}function aSe(t,e){return!!(t.target==="_blank"&&e)}function sSe(t,e,r,n){var i=this,a=[];return t?(t instanceof Element?a=[t]:"toArray"in t?a=t.toArray():a=t,a.forEach(function(s){s.addEventListener("click",function(o){var u,l,c=e instanceof Function?e(s):e,d=r instanceof Function?r(s):r,h=s.getAttribute("href")||s.getAttributeNS("http://www.w3.org/1999/xlink","href")||s.getAttribute("xlink:href")||((u=s.getElementsByTagName("a")[0])===null||u===void 0?void 0:u.getAttribute("href")),p=bT(i.track(c,d,n??{}),(l=i.settings.timeout)!==null&&l!==void 0?l:500);!aSe(s,h)&&!iSe(o)&&h&&(o.preventDefault?o.preventDefault():o.returnValue=!1,p.catch(console.error).then(function(){window.location.href=h}).catch(console.error))},!1)}),this):this}function oSe(t,e,r,n){var i=this;if(!t)return this;t instanceof HTMLFormElement&&(t=[t]);var a=t;return a.forEach(function(s){if(!(s instanceof Element))throw new TypeError("Must pass HTMLElement to trackForm/trackSubmit.");var o=function(l){var c;l.preventDefault?l.preventDefault():l.returnValue=!1;var d=e instanceof Function?e(s):e,h=r instanceof Function?r(s):r,p=bT(i.track(d,h,n??{}),(c=i.settings.timeout)!==null&&c!==void 0?c:500);p.catch(console.error).then(function(){s.submit()}).catch(console.error)},u=window.jQuery||window.Zepto;u?u(s).submit(o):s.addEventListener("submit",o,!1)}),this}const sm=Object.freeze(Object.defineProperty({__proto__:null,form:oSe,link:sSe},Symbol.toStringTag,{value:"Module"}));function JR(t,e){return Object.keys(e).reduce(function(r,n){if(n.startsWith(t)){var i=n.substr(t.length);r[i]=e[n]}return r},{})}function uSe(t,e){var r=document.createElement("a");r.href=e;var n=r.search.slice(1),i=n.split("&").reduce(function(x,f){var m=f.split("="),v=m[0],T=m[1];return x[v]=C5(T),x},{}),a=[],s=i.ajs_uid,o=i.ajs_event,u=i.ajs_aid,l=Bn(t.options.useQueryString)?t.options.useQueryString:{},c=l.aid,d=c===void 0?/.+/:c,h=l.uid,p=h===void 0?/.+/:h;if(u){var g=Array.isArray(i.ajs_aid)?i.ajs_aid[0]:i.ajs_aid;d.test(g)&&t.setAnonymousId(g)}if(s){var _=Array.isArray(i.ajs_uid)?i.ajs_uid[0]:i.ajs_uid;if(p.test(_)){var w=JR("ajs_trait_",i);a.push(t.identify(_,w))}}if(o){var S=Array.isArray(i.ajs_event)?i.ajs_event[0]:i.ajs_event,E=JR("ajs_prop_",i);a.push(t.track(S,E))}return Promise.all(a)}const lSe=Object.freeze(Object.defineProperty({__proto__:null,queryString:uSe},Symbol.toStringTag,{value:"Module"}));var rv={},VT={};for(var V5=[],Ho=0;Ho<64;)V5[Ho]=0|4294967296*Math.sin(++Ho%Math.PI);function cSe(t){var e,r,n,i=[e=1732584193,r=4023233417,~e,~r],a=[],s=unescape(encodeURI(t))+"€",o=s.length;for(t=--o/4+2|15,a[--t]=8*o;~o;)a[o>>2]|=s.charCodeAt(o)<<8*o--;for(Ho=s=0;Ho<t;Ho+=16){for(o=i;s<64;o=[n=o[3],e+((n=o[0]+[e&r|~e&n,n&e|~n&r,e^r^n,r^(e|~n)][o=s>>4]+V5[s]+~~a[Ho|15&[s,5*s+1,3*s+5,7*s][o]])<<(o=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*o+s++%4])|n>>>-o),e,r])e=0|o[1],r=o[2];for(s=4;s;)i[--s]+=o[s]}for(t="";s<32;)t+=(i[s>>3]>>4*(1^s++)&15).toString(16);return t}const dSe=Object.freeze(Object.defineProperty({__proto__:null,default:cSe},Symbol.toStringTag,{value:"Module"})),fSe=fie(dSe);var U5={exports:{}};(function(t,e){(function(r,n){t.exports=function(i,a,s,o,u){for(a=a.split?a.split("."):a,o=0;o<a.length;o++)i=i?i[a[o]]:u;return i===u?s:i}})()})(U5);var UT=U5.exports;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var hSe=Number.POSITIVE_INFINITY,pSe=hSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var mSe=Number;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var vSe=mSe,G5=vSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var gSe=G5,bSe=gSe.NEGATIVE_INFINITY,_Se=bSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ySe=1023,wSe=ySe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var OSe=1023,SSe=OSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var xSe=-1023,TSe=xSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ESe=-1074,PSe=ESe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function CSe(t){return t!==t}var ASe=CSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var $Se=ASe,W5=$Se;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var MSe=Number.POSITIVE_INFINITY,kSe=MSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var DSe=G5,RSe=DSe.NEGATIVE_INFINITY,ISe=RSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var NSe=kSe,LSe=ISe;function BSe(t){return t===NSe||t===LSe}var FSe=BSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var jSe=FSe,Y5=jSe;/**
* @license Apache-2.0
*
* Copyright (c) 2022 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var zSe=2147483648,HSe=zSe;/**
* @license Apache-2.0
*
* Copyright (c) 2022 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var VSe=2147483647,USe=VSe;/**
* @license Apache-2.0
*
* Copyright (c) 2021 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var GSe=typeof Object.defineProperty=="function"?Object.defineProperty:null,WSe=GSe;/**
* @license Apache-2.0
*
* Copyright (c) 2021 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var YSe=WSe;function KSe(){try{return YSe({},"x",{}),!0}catch{return!1}}var qSe=KSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var XSe=Object.defineProperty,ZSe=XSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Bc=Object.prototype,QR=Bc.toString,e8=Bc.__defineGetter__,t8=Bc.__defineSetter__,JSe=Bc.__lookupGetter__,QSe=Bc.__lookupSetter__;function exe(t,e,r){var n,i,a,s;if(typeof t!="object"||t===null||QR.call(t)==="[object Array]")throw new TypeError("invalid argument. First argument must be an object. Value: `"+t+"`.");if(typeof r!="object"||r===null||QR.call(r)==="[object Array]")throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+r+"`.");if(i="value"in r,i&&(JSe.call(t,e)||QSe.call(t,e)?(n=t.__proto__,t.__proto__=Bc,delete t[e],t[e]=r.value,t.__proto__=n):t[e]=r.value),a="get"in r,s="set"in r,i&&(a||s))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return a&&e8&&e8.call(t,e,r.get),s&&t8&&t8.call(t,e,r.set),t}var txe=exe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var rxe=qSe,nxe=ZSe,ixe=txe,$O;rxe()?$O=nxe:$O=ixe;var axe=$O;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var sxe=axe;function oxe(t,e,r){sxe(t,e,{configurable:!1,enumerable:!1,writable:!1,value:r})}var uxe=oxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var lxe=uxe,K5=lxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function cxe(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}var dxe=cxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var fxe=dxe,hxe=fxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var pxe=hxe,mxe=pxe();function vxe(){return mxe&&typeof Symbol.toStringTag=="symbol"}var gxe=vxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var bxe=gxe,_xe=bxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var yxe=Object.prototype.toString,q5=yxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var wxe=q5;function Oxe(t){return wxe.call(t)}var Sxe=Oxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var xxe=Object.prototype.hasOwnProperty;function Txe(t,e){return t==null?!1:xxe.call(t,e)}var Exe=Txe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Pxe=Exe,Cxe=Pxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Axe=typeof Symbol=="function"?Symbol.toStringTag:"",$xe=Axe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Mxe=Cxe,Dd=$xe,tw=q5;function kxe(t){var e,r,n;if(t==null)return tw.call(t);r=t[Dd],e=Mxe(t,Dd);try{t[Dd]=void 0}catch{return tw.call(t)}return n=tw.call(t),e?t[Dd]=r:delete t[Dd],n}var Dxe=kxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Rxe=_xe,Ixe=Sxe,Nxe=Dxe,MO;Rxe()?MO=Nxe:MO=Ixe;var vb=MO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Lxe=vb,Bxe=typeof Uint32Array=="function";function Fxe(t){return Bxe&&t instanceof Uint32Array||Lxe(t)==="[object Uint32Array]"}var jxe=Fxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var zxe=jxe,Hxe=zxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Vxe=4294967295,Uxe=Vxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Gxe=typeof Uint32Array=="function"?Uint32Array:null,Wxe=Gxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Yxe=Hxe,rw=Uxe,r8=Wxe;function Kxe(){var t,e;if(typeof r8!="function")return!1;try{e=[1,3.14,-3.14,rw+1,rw+2],e=new r8(e),t=Yxe(e)&&e[0]===1&&e[1]===3&&e[2]===rw-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var qxe=Kxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Xxe=qxe,Zxe=Xxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Jxe=typeof Uint32Array=="function"?Uint32Array:void 0,Qxe=Jxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function eTe(){throw new Error("not implemented")}var tTe=eTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var rTe=Zxe,nTe=Qxe,iTe=tTe,kO;rTe()?kO=nTe:kO=iTe;var GT=kO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var aTe=vb,sTe=typeof Float64Array=="function";function oTe(t){return sTe&&t instanceof Float64Array||aTe(t)==="[object Float64Array]"}var uTe=oTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var lTe=uTe,cTe=lTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var dTe=typeof Float64Array=="function"?Float64Array:null,fTe=dTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var hTe=cTe,n8=fTe;function pTe(){var t,e;if(typeof n8!="function")return!1;try{e=new n8([1,3.14,-3.14,NaN]),t=hTe(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{t=!1}return t}var mTe=pTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var vTe=mTe,gTe=vTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var bTe=typeof Float64Array=="function"?Float64Array:void 0,_Te=bTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function yTe(){throw new Error("not implemented")}var wTe=yTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var OTe=gTe,STe=_Te,xTe=wTe,DO;OTe()?DO=STe:DO=xTe;var WT=DO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var TTe=vb,ETe=typeof Uint8Array=="function";function PTe(t){return ETe&&t instanceof Uint8Array||TTe(t)==="[object Uint8Array]"}var CTe=PTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ATe=CTe,$Te=ATe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var MTe=255,kTe=MTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var DTe=typeof Uint8Array=="function"?Uint8Array:null,RTe=DTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ITe=$Te,nw=kTe,i8=RTe;function NTe(){var t,e;if(typeof i8!="function")return!1;try{e=[1,3.14,-3.14,nw+1,nw+2],e=new i8(e),t=ITe(e)&&e[0]===1&&e[1]===3&&e[2]===nw-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var LTe=NTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var BTe=LTe,FTe=BTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var jTe=typeof Uint8Array=="function"?Uint8Array:void 0,zTe=jTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function HTe(){throw new Error("not implemented")}var VTe=HTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var UTe=FTe,GTe=zTe,WTe=VTe,RO;UTe()?RO=GTe:RO=WTe;var YTe=RO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var KTe=vb,qTe=typeof Uint16Array=="function";function XTe(t){return qTe&&t instanceof Uint16Array||KTe(t)==="[object Uint16Array]"}var ZTe=XTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var JTe=ZTe,QTe=JTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var eEe=65535,tEe=eEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var rEe=typeof Uint16Array=="function"?Uint16Array:null,nEe=rEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var iEe=QTe,iw=tEe,a8=nEe;function aEe(){var t,e;if(typeof a8!="function")return!1;try{e=[1,3.14,-3.14,iw+1,iw+2],e=new a8(e),t=iEe(e)&&e[0]===1&&e[1]===3&&e[2]===iw-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var sEe=aEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var oEe=sEe,uEe=oEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var lEe=typeof Uint16Array=="function"?Uint16Array:void 0,cEe=lEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function dEe(){throw new Error("not implemented")}var fEe=dEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var hEe=uEe,pEe=cEe,mEe=fEe,IO;hEe()?IO=pEe:IO=mEe;var vEe=IO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var gEe=YTe,bEe=vEe,_Ee={uint16:bEe,uint8:gEe},yEe=_Ee;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var s8=yEe,X5;function wEe(){var t,e;return t=new s8.uint16(1),t[0]=4660,e=new s8.uint8(t.buffer),e[0]===52}X5=wEe();var OEe=X5;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var SEe=OEe,KT=SEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var xEe=KT,Z5,NO,LO;xEe===!0?(NO=1,LO=0):(NO=0,LO=1);Z5={HIGH:NO,LOW:LO};var TEe=Z5;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var EEe=GT,PEe=WT,J5=TEe,Q5=new PEe(1),o8=new EEe(Q5.buffer),CEe=J5.HIGH,AEe=J5.LOW;function $Ee(t,e,r,n){return Q5[0]=t,e[n]=o8[CEe],e[n+r]=o8[AEe],e}var ez=$Ee;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var MEe=ez;function kEe(t){return MEe(t,[0,0],1,0)}var DEe=kEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var REe=K5,tz=DEe,IEe=ez;REe(tz,"assign",IEe);var rz=tz;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var NEe=KT,BO;NEe===!0?BO=1:BO=0;var LEe=BO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var BEe=GT,FEe=WT,jEe=LEe,nz=new FEe(1),zEe=new BEe(nz.buffer);function HEe(t){return nz[0]=t,zEe[jEe]}var VEe=HEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var UEe=VEe,iz=UEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var GEe=KT,az,FO,jO;GEe===!0?(FO=1,jO=0):(FO=0,jO=1);az={HIGH:FO,LOW:jO};var WEe=az;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var YEe=GT,KEe=WT,sz=WEe,oz=new KEe(1),u8=new YEe(oz.buffer),qEe=sz.HIGH,XEe=sz.LOW;function ZEe(t,e){return u8[qEe]=t,u8[XEe]=e,oz[0]}var JEe=ZEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var QEe=JEe,uz=QEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ePe=HSe,tPe=USe,rPe=rz,nPe=iz,iPe=uz,aw=[0,0];function aPe(t,e){var r,n;return rPe.assign(t,aw,1,0),r=aw[0],r&=tPe,n=nPe(e),n&=ePe,r|=n,iPe(r,aw[1])}var sPe=aPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var oPe=sPe,uPe=oPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var lPe=22250738585072014e-324,cPe=lPe;/**
* @license Apache-2.0
*
* Copyright (c) 2021 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function dPe(t){return Math.abs(t)}var fPe=dPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var hPe=fPe,pPe=hPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var mPe=cPe,vPe=Y5,gPe=W5,bPe=pPe,_Pe=4503599627370496;function yPe(t,e,r,n){return gPe(t)||vPe(t)?(e[n]=t,e[n+r]=0,e):t!==0&&bPe(t)<mPe?(e[n]=t*_Pe,e[n+r]=-52,e):(e[n]=t,e[n+r]=0,e)}var lz=yPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var wPe=lz;function OPe(t){return wPe(t,[0,0],1,0)}var SPe=OPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var xPe=K5,cz=SPe,TPe=lz;xPe(cz,"assign",TPe);var EPe=cz;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var PPe=2146435072,CPe=PPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var APe=1023,$Pe=APe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var MPe=iz,kPe=CPe,DPe=$Pe;function RPe(t){var e=MPe(t);return e=(e&kPe)>>>20,e-DPe|0}var IPe=RPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var NPe=IPe,LPe=NPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var BPe=pSe,FPe=_Se,jPe=wSe,zPe=SSe,HPe=TSe,VPe=PSe,UPe=W5,GPe=Y5,WPe=uPe,YPe=EPe,KPe=LPe,qPe=rz,XPe=uz,ZPe=2220446049250313e-31,JPe=2148532223,sw=[0,0],ow=[0,0];function QPe(t,e){var r,n;return t===0||UPe(t)||GPe(t)?t:(YPe(sw),t=sw[0],e+=sw[1],e+=KPe(t),e<VPe?WPe(0,t):e>zPe?t<0?FPe:BPe:(e<=HPe?(e+=52,n=ZPe):n=1,qPe(ow),r=ow[0],r&=JPe,r|=e+jPe<<20,n*XPe(r,ow[1])))}var eCe=QPe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var tCe=eCe,rCe=tCe,dz={};function nCe(t,e,r){e.split&&(e=e.split("."));for(var n=0,i=e.length,a=t,s,o;n<i&&(o=e[n++],!(o==="__proto__"||o==="constructor"||o==="prototype"));)a=a[o]=n===i?r:typeof(s=a[o])==typeof e?s:e[n]*0!==0||~(""+e[n]).indexOf(".")?{}:[]}dz.dset=nCe;var gb={},iCe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gb,"__esModule",{value:!0});gb.unset=void 0;var aCe=iCe(UT);function sCe(t,e){if((0,aCe.default)(t,e)){for(var r=e.split("."),n=r.pop();r.length&&r[r.length-1].slice(-1)==="\\";)n=r.pop().slice(0,-1)+"."+n;for(;r.length;)t=t[e=r.shift()];return delete t[n]}return!0}gb.unset=sCe;var qT=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(VT,"__esModule",{value:!0});var oCe=qT(fSe),Fl=qT(UT),uCe=qT(rCe),Rd=dz,lCe=gb;function cCe(t,e){for(var r=t,n=0,i=e;n<i.length;n++){var a=i[n];switch(a.type){case"drop":return null;case"drop_properties":dCe(r,a.config);break;case"allow_properties":fCe(r,a.config);break;case"sample_event":if(pCe(r,a.config))break;return null;case"map_properties":hCe(r,a.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(a.type,'" is unsupported.'))}}return r}VT.default=cCe;function dCe(t,e){fz(t,e.drop,function(r,n){n.forEach(function(i){return delete r[i]})})}function fCe(t,e){fz(t,e.allow,function(r,n){Object.keys(r).forEach(function(i){n.includes(i)||delete r[i]})})}function fz(t,e,r){Object.entries(e).forEach(function(n){var i=n[0],a=n[1],s=function(u){typeof u!="object"||u===null||r(u,a)},o=i===""?t:(0,Fl.default)(t,i);Array.isArray(o)?o.forEach(s):s(o)})}function hCe(t,e){var r=JSON.parse(JSON.stringify(t));for(var n in e.map)if(e.map.hasOwnProperty(n)){var i=e.map[n],a=n.split("."),s=void 0;if(a.length>1?(a.pop(),s=(0,Fl.default)(r,a.join("."))):s=t,typeof s=="object"){if(i.copy){var o=(0,Fl.default)(r,i.copy);o!==void 0&&(0,Rd.dset)(t,n,o)}else if(i.move){var u=(0,Fl.default)(r,i.move);u!==void 0&&(0,Rd.dset)(t,n,u),(0,lCe.unset)(t,i.move)}else i.hasOwnProperty("set")&&(0,Rd.dset)(t,n,i.set);if(i.to_string){var l=(0,Fl.default)(t,n);if(typeof l=="string"||typeof l=="object"&&l!==null)continue;l!==void 0?(0,Rd.dset)(t,n,JSON.stringify(l)):(0,Rd.dset)(t,n,"undefined")}}}}function pCe(t,e){return e.sample.percent<=0?!1:e.sample.percent>=1?!0:e.sample.path?vCe(t,e):mCe(e.sample.percent)}function mCe(t){return Math.random()<=t}function vCe(t,e){var r=(0,Fl.default)(t,e.sample.path),n=(0,oCe.default)(JSON.stringify(r)),i=-64,a=[];l8(n.slice(0,8),a);for(var s=0,o=0;o<64&&a[o]!==1;o++)s++;if(s!==0){var u=[];l8(n.slice(9,16),u),i-=s,a.splice(0,s),u.splice(64-s),a=a.concat(u)}return a[63]=a[63]===0?1:0,(0,uCe.default)(parseInt(a.join(""),2),i)<e.sample.percent}function l8(t,e){for(var r=0;r<8;r++)for(var n=t[r],i=128;i>=1;i/=2)n-i>=0?(n-=i,e.push(1)):e.push(0)}var XT={},gCe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(XT,"__esModule",{value:!0});var bCe=gCe(UT);function _Ce(t,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return yCe();case"fql":return wCe(e.ir,t);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}}XT.default=_Ce;function yCe(){return!0}function wCe(t,e){if(!t)return!1;try{t=JSON.parse(t)}catch(n){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(t,'": ').concat(n))}var r=Fs(t,e);return typeof r!="boolean"?!1:r}function Fs(t,e){if(!Array.isArray(t))return zr(t,e)===!0;var r=t[0];switch(r){case"!":return!Fs(t[1],e);case"or":for(var n=1;n<t.length;n++)if(Fs(t[n],e))return!0;return!1;case"and":for(var n=1;n<t.length;n++)if(!Fs(t[n],e))return!1;return!0;case"=":case"!=":return xCe(zr(t[1],e),zr(t[2],e),r,e);case"<=":case"<":case">":case">=":return SCe(zr(t[1],e),zr(t[2],e),r,e);case"in":return OCe(zr(t[1],e),zr(t[2],e),e);case"contains":return TCe(zr(t[1],e),zr(t[2],e));case"match":return ECe(zr(t[1],e),zr(t[2],e));case"lowercase":var i=zr(t[1],e);return typeof i!="string"?null:i.toLowerCase();case"typeof":return typeof zr(t[1],e);case"length":return PCe(zr(t[1],e));default:throw new Error("FQL IR could not evaluate for token: ".concat(r))}}function zr(t,e){return Array.isArray(t)?t:typeof t=="object"?t.value:(0,bCe.default)(e,t)}function OCe(t,e,r){return e.find(function(n){return zr(n,r)===t})!==void 0}function SCe(t,e,r,n){if(Lg(t)&&(t=Fs(t,n)),Lg(e)&&(e=Fs(e,n)),typeof t!="number"||typeof e!="number")return!1;switch(r){case"<=":return t<=e;case">=":return t>=e;case"<":return t<e;case">":return t>e;default:throw new Error("Invalid operator in compareNumbers: ".concat(r))}}function xCe(t,e,r,n){switch(Lg(t)&&(t=Fs(t,n)),Lg(e)&&(e=Fs(e,n)),typeof t=="object"&&typeof e=="object"&&(t=JSON.stringify(t),e=JSON.stringify(e)),r){case"=":return t===e;case"!=":return t!==e;default:throw new Error("Invalid operator in compareItems: ".concat(r))}}function TCe(t,e){return typeof t!="string"||typeof e!="string"?!1:t.indexOf(e)!==-1}function ECe(t,e){return typeof t!="string"||typeof e!="string"?!1:CCe(e,t)}function PCe(t){return t===null?0:!Array.isArray(t)&&typeof t!="string"?NaN:t.length}function Lg(t){return Array.isArray(t)?(t[0]==="lowercase"||t[0]==="length"||t[0]==="typeof")&&t.length===2||(t[0]==="contains"||t[0]==="match")&&t.length===3:!1}function CCe(t,e){var r,n;e:for(;t.length>0;){var i=void 0,a=void 0;if(r=ACe(t),i=r.star,a=r.chunk,t=r.pattern,i&&a==="")return!0;var s=c8(a,e),o=s.t,u=s.ok,l=s.err;if(l)return!1;if(u&&(o.length===0||t.length>0)){e=o;continue}if(i)for(var c=0;c<e.length;c++){if(n=c8(a,e.slice(c+1)),o=n.t,u=n.ok,l=n.err,u){if(t.length===0&&o.length>0)continue;e=o;continue e}if(l)return!1}return!1}return e.length===0}function ACe(t){for(var e={star:!1,chunk:"",pattern:""};t.length>0&&t[0]==="*";)t=t.slice(1),e.star=!0;var r=!1,n;e:for(n=0;n<t.length;n++)switch(t[n]){case"\\":n+1<t.length&&n++;break;case"[":r=!0;break;case"]":r=!1;break;case"*":if(!r)break e}return e.chunk=t.slice(0,n),e.pattern=t.slice(n),e}function c8(t,e){for(var r,n,i={t:"",ok:!1,err:!1};t.length>0;){if(e.length===0)return i;switch(t[0]){case"[":var a=e[0];e=e.slice(1),t=t.slice(1);var s=!0;t.length>0&&t[0]==="^"&&(s=!1,t=t.slice(1));for(var o=!1,u=0;;){if(t.length>0&&t[0]==="]"&&u>0){t=t.slice(1);break}var l="",c="",d=void 0;if(r=d8(t),l=r.char,t=r.newChunk,d=r.err,d||(c=l,t[0]==="-"&&(n=d8(t.slice(1)),c=n.char,t=n.newChunk,d=n.err,d)))return i;l<=a&&a<=c&&(o=!0),u++}if(o!==s)return i;break;case"?":e=e.slice(1),t=t.slice(1);break;case"\\":if(t=t.slice(1),t.length===0)return i.err=!0,i;default:if(t[0]!==e[0])return i;e=e.slice(1),t=t.slice(1)}}return i.t=e,i.ok=!0,i.err=!1,i}function d8(t){var e={char:"",newChunk:"",err:!1};return t.length===0||t[0]==="-"||t[0]==="]"||t[0]==="\\"&&(t=t.slice(1),t.length===0)?(e.err=!0,e):(e.char=t[0],e.newChunk=t.slice(1),e.newChunk.length===0&&(e.err=!0),e)}var ZT={};Object.defineProperty(ZT,"__esModule",{value:!0});var $Ce=function(){function t(e){this.rules=[],this.rules=e||[]}return t.prototype.getRulesByDestinationName=function(e){for(var r=[],n=0,i=this.rules;n<i.length;n++){var a=i[n];(a.destinationName===e||a.destinationName===void 0)&&r.push(a)}return r},t}();ZT.default=$Ce;(function(t){var e=Oe&&Oe.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0}),t.Store=t.matches=t.transform=void 0;var r=VT;Object.defineProperty(t,"transform",{enumerable:!0,get:function(){return e(r).default}});var n=XT;Object.defineProperty(t,"matches",{enumerable:!0,get:function(){return e(n).default}});var i=ZT;Object.defineProperty(t,"Store",{enumerable:!0,get:function(){return e(i).default}})})(rv);var MCe=function(t){return function(e){var r=e.payload,n=e.integration,i=e.next,a=new rv.Store(t),s=a.getRulesByDestinationName(n);s.forEach(function(o){for(var u=o.matchers,l=o.transformers,c=0;c<u.length;c++)if(rv.matches(r.obj,u[c])&&(r.obj=rv.transform(r.obj,l[c]),r.obj===null))return i(null)}),i(r)}};const kCe=Object.freeze(Object.defineProperty({__proto__:null,tsubMiddleware:MCe},Symbol.toStringTag,{value:"Module"}));function hz(t,e){var r,n;return typeof(e==null?void 0:e.enabled)=="boolean"?e.enabled:(n=(r=t==null?void 0:t.__default)===null||r===void 0?void 0:r.enabled)!==null&&n!==void 0?n:!0}function pz(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function mz(t,e){return e===void 0&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}function DCe(t){return("Integration"in t?t.Integration:t).prototype.name}function RCe(t,e,r){var n,i;try{var a=((i=(n=window==null?void 0:window.performance)===null||n===void 0?void 0:n.getEntriesByName(t,"resource"))!==null&&i!==void 0?i:[])[0];a&&e.stats.gauge("legacy_destination_time",Math.round(a.duration),or([r],a.duration<100?["cached"]:[],!0))}catch{}}function ICe(t,e,r){var n;if("Integration"in t){var i={user:function(){return r.user()},addIntegration:function(){}};t(i),n=t.Integration}else n=t;var a=new n(e);return a.analytics=r,a}function NCe(t,e,r,n){return se(this,void 0,void 0,function(){var i,a,s,o,u,l;return oe(this,function(c){switch(c.label){case 0:i=pz(e),a=mz(i,n),s=PT(),o="".concat(s,"/integrations/").concat(a??i,"/").concat(r,"/").concat(a??i,".dynamic.js.gz"),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,Xl(o)];case 2:return c.sent(),RCe(o,t,e),[3,4];case 3:throw u=c.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(e),"failed"]),u;case 4:return l=window["".concat(i,"Deps")],[4,Promise.all(l.map(function(d){return Xl(s+d+".gz")}))];case 5:return c.sent(),window["".concat(i,"Loader")](),[2,window["".concat(i,"Integration")]]}})})}function LCe(t,e,r){return se(this,void 0,void 0,function(){var n,i,a,s;return oe(this,function(o){return n=PT(),i=pz(t),a=mz(t,r),s="".concat(n,"/integrations/").concat(a??i,"/").concat(e,"/").concat(a??i,".dynamic.js.gz"),[2,N1e(s)]})})}function BCe(t){var e,r,n,i;return(i=(r=(e=t==null?void 0:t.versionSettings)===null||e===void 0?void 0:e.override)!==null&&r!==void 0?r:(n=t==null?void 0:t.versionSettings)===null||n===void 0?void 0:n.version)!==null&&i!==void 0?i:"latest"}var FCe=function(t,e){var r,n=e.type,i=e.bundlingStatus,a=e.versionSettings,s=i!=="unbundled"&&(n==="browser"||((r=a==null?void 0:a.componentTypes)===null||r===void 0?void 0:r.includes("browser")));return!t.startsWith("Segment")&&t!=="Iterable"&&s},jCe=function(t,e){var r=e.All===!1&&e[t]===void 0;return e[t]===!1||r};function zCe(t,e){return se(this,void 0,void 0,function(){var r,n=this;return oe(this,function(i){switch(i.label){case 0:return r=[],wu()?[2,e]:[4,z5(function(){return e.length>0&&p5()},function(){return se(n,void 0,void 0,function(){var a,s,o;return oe(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,ql(a,t)]:[2];case 1:return s=u.sent(),o=s instanceof Jo,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}var vz=function(){function t(e,r,n,i,a,s){i===void 0&&(i={}),this.options={},this.type="destination",this.middleware=[],this._ready=!1,this._initialized=!1,this.flushing=!1,this.name=e,this.version=r,this.settings=re({},i),this.disableAutoISOConversion=a.disableAutoISOConversion||!1,this.integrationSource=s,this.settings.type&&this.settings.type==="browser"&&delete this.settings.type,this.options=a,this.buffer=a.disableClientPersistence?new ab(4,[]):new ob(4,"".concat(n,":dest-").concat(e)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return this._ready},t.prototype.ready=function(){var e;return(e=this.onReady)!==null&&e!==void 0?e:Promise.resolve()},t.prototype.load=function(e,r){var n;return se(this,void 0,void 0,function(){var i,a,s=this;return oe(this,function(o){switch(o.label){case 0:return this._ready||this.onReady!==void 0?[2]:(n=this.integrationSource)!==null&&n!==void 0?(a=n,[3,3]):[3,1];case 1:return[4,NCe(e,this.name,this.version,this.options.obfuscate)];case 2:a=o.sent(),o.label=3;case 3:i=a,this.integration=ICe(i,this.settings,r),this.onReady=new Promise(function(u){var l=function(){s._ready=!0,u(!0)};s.integration.once("ready",l)}),this.onInitialize=new Promise(function(u){var l=function(){s._initialized=!0,u(!0)};s.integration.on("initialize",l)});try{e.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(u){throw e.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),u}return[2]}})})},t.prototype.unload=function(e,r){return LCe(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.middleware=(e=this.middleware).concat.apply(e,r)},t.prototype.shouldBuffer=function(e){return e.event.type!=="page"&&(wu()||this._ready===!1||this._initialized===!1)},t.prototype.send=function(e,r,n){var i,a;return se(this,void 0,void 0,function(){var s,o,u,l,c,d;return oe(this,function(h){switch(h.label){case 0:if(this.shouldBuffer(e))return this.buffer.push(e),this.scheduleFlush(),[2,e];if(s=(a=(i=this.options)===null||i===void 0?void 0:i.plan)===null||a===void 0?void 0:a.track,o=e.event.event,s&&o&&this.name!=="Segment.io"){if(u=s[o],hz(s,u))e.updateEvent("integrations",re(re({},e.event.integrations),u==null?void 0:u.integrations));else return e.updateEvent("integrations",re(re({},e.event.integrations),{All:!1,"Segment.io":!0})),e.cancel(new Qs({retry:!1,reason:"Event ".concat(o," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,e];if(u!=null&&u.enabled&&(u==null?void 0:u.integrations[this.name])===!1)return e.cancel(new Qs({retry:!1,reason:"Event ".concat(o," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,e]}return[4,zT(this.name,e.event,this.middleware)];case 1:if(l=h.sent(),l===null)return[2,e];c=new r(l,{traverse:!this.disableAutoISOConversion}),e.stats.increment("analytics_js.integration.invoke",1,["method:".concat(n),"integration_name:".concat(this.name)]),h.label=2;case 2:return h.trys.push([2,5,,6]),this.integration?[4,this.integration.invoke.call(this.integration,n,c)]:[3,4];case 3:h.sent(),h.label=4;case 4:return[3,6];case 5:throw d=h.sent(),e.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(n),"integration_name:".concat(this.name)]),d;case 6:return[2,e]}})})},t.prototype.track=function(e){return se(this,void 0,void 0,function(){return oe(this,function(r){return[2,this.send(e,$n.Track,"track")]})})},t.prototype.page=function(e){var r;return se(this,void 0,void 0,function(){var n=this;return oe(this,function(i){return!((r=this.integration)===null||r===void 0)&&r._assumesPageview&&!this._initialized&&this.integration.initialize(),[2,this.onInitialize.then(function(){return n.send(e,$n.Page,"page")})]})})},t.prototype.identify=function(e){return se(this,void 0,void 0,function(){return oe(this,function(r){return[2,this.send(e,$n.Identify,"identify")]})})},t.prototype.alias=function(e){return se(this,void 0,void 0,function(){return oe(this,function(r){return[2,this.send(e,$n.Alias,"alias")]})})},t.prototype.group=function(e){return se(this,void 0,void 0,function(){return oe(this,function(r){return[2,this.send(e,$n.Group,"group")]})})},t.prototype.scheduleFlush=function(){var e=this;this.flushing||setTimeout(function(){return se(e,void 0,void 0,function(){var r;return oe(this,function(n){switch(n.label){case 0:return this.flushing=!0,r=this,[4,zCe(this,this.buffer)];case 1:return r.buffer=n.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}})})},Math.random()*5e3)},t}();function HCe(t,e,r,n,i,a){var s,o;if(r===void 0&&(r={}),n===void 0&&(n={}),h5())return[];e.plan&&(n=n??{},n.plan=e.plan);var u=(o=(s=e.middlewareSettings)===null||s===void 0?void 0:s.routingRules)!==null&&o!==void 0?o:[],l=e.integrations,c=n.integrations,d=P5(e,n??{}),h=a==null?void 0:a.reduce(function(g,_){var w;return re(re({},g),(w={},w[DCe(_)]=_,w))},{}),p=new Set(or(or([],Object.keys(l).filter(function(g){return FCe(g,l[g])}),!0),Object.keys(h||{}).filter(function(g){return Bn(l[g])||Bn(c==null?void 0:c[g])}),!0));return Array.from(p).filter(function(g){return!jCe(g,r)}).map(function(g){var _=l[g],w=BCe(_),S=new vz(g,w,t,d[g],n,h==null?void 0:h[g]),E=u.filter(function(x){return x.destinationName===g});return E.length>0&&i&&S.addMiddleware(i),S})}const VCe=Object.freeze(Object.defineProperty({__proto__:null,LegacyDestination:vz,ajsDestinations:HCe},Symbol.toStringTag,{value:"Module"}));function UCe(t){return se(this,void 0,void 0,function(){var e;return oe(this,function(r){switch(r.label){case 0:return[4,ei(()=>Promise.resolve().then(()=>JCe),void 0,import.meta.url)];case 1:return e=r.sent(),t._plugins=e,[2]}})})}const GCe=Object.freeze(Object.defineProperty({__proto__:null,loadLegacyVideoPlugins:UCe},Symbol.toStringTag,{value:"Module"}));function WCe(t,e){var r,n;if(!t||!Object.keys(t))return{};var i=t.integrations?Object.keys(t.integrations).filter(function(s){return t.integrations[s]===!1}):[],a=[];return((r=e.remotePlugins)!==null&&r!==void 0?r:[]).forEach(function(s){i.forEach(function(o){(s.name.includes(o)||o.includes(s.name))&&a.push(s.name)})}),((n=e.remotePlugins)!==null&&n!==void 0?n:[]).reduce(function(s,o){return o.settings.subscriptions&&a.includes(o.name)&&o.settings.subscriptions.forEach(function(u){return s["".concat(o.name," ").concat(u.partnerAction)]=!1}),s},{})}function YCe(t,e){function r(n){var i=t,a=n.event.event;if(i&&a){var s=i[a];if(hz(i,s)){var o=WCe(s,e);n.updateEvent("integrations",re(re(re({},n.event.integrations),s==null?void 0:s.integrations),o))}else return n.updateEvent("integrations",re(re({},n.event.integrations),{All:!1,"Segment.io":!0})),n}return n}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:r,alias:r,track:r,identify:r,group:r}}const KCe=Object.freeze(Object.defineProperty({__proto__:null,schemaFilter:YCe},Symbol.toStringTag,{value:"Module"}));function qCe(t,e,r){var n;return se(this,void 0,void 0,function(){var i,a,s,o,u,l=this;return oe(this,function(c){switch(c.label){case 0:return h5()?[2,[]]:(i=PT(),a=(n=e.enabledMiddleware)!==null&&n!==void 0?n:{},s=Object.entries(a).filter(function(d){d[0];var h=d[1];return h}).map(function(d){var h=d[0];return h}),o=s.map(function(d){return se(l,void 0,void 0,function(){var h,p,g,_;return oe(this,function(w){switch(w.label){case 0:h=d.replace("@segment/",""),p=h,r&&(p=btoa(h).replace(/=/g,"")),g="".concat(i,"/middleware/").concat(p,"/latest/").concat(p,".js.gz"),w.label=1;case 1:return w.trys.push([1,3,,4]),[4,Xl(g)];case 2:return w.sent(),[2,window["".concat(h,"Middleware")]];case 3:return _=w.sent(),t.log("error",_),t.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(o)]);case 1:return u=c.sent(),u=u.filter(Boolean),[2,u]}})})}const XCe=Object.freeze(Object.defineProperty({__proto__:null,remoteMiddlewares:qCe},Symbol.toStringTag,{value:"Module"}));var gz={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(window,function(){return function(r){var n={};function i(a){if(n[a])return n[a].exports;var s=n[a]={i:a,l:!1,exports:{}};return r[a].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=r,i.c=n,i.d=function(a,s,o){i.o(a,s)||Object.defineProperty(a,s,{enumerable:!0,get:o})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,s){if(1&s&&(a=i(a)),8&s||4&s&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),2&s&&typeof a!="string")for(var u in a)i.d(o,u,function(l){return a[l]}.bind(null,u));return o},i.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(s,"a",s),s},i.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},i.p="",i(i.s=2)}([function(r,n,i){i.r(n);var a=typeof fetch=="function"?fetch.bind():function(s,o){return o=o||{},new Promise(function(u,l){var c=new XMLHttpRequest;for(var d in c.open(o.method||"get",s,!0),o.headers)c.setRequestHeader(d,o.headers[d]);function h(){var p,g=[],_=[],w={};return c.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(S,E,x){g.push(E=E.toLowerCase()),_.push([E,x]),p=w[E],w[E]=p?p+","+x:x}),{ok:(c.status/100|0)==2,status:c.status,statusText:c.statusText,url:c.responseURL,clone:h,text:function(){return Promise.resolve(c.responseText)},json:function(){return Promise.resolve(c.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([c.response]))},headers:{keys:function(){return g},entries:function(){return _},get:function(S){return w[S.toLowerCase()]},has:function(S){return S.toLowerCase()in w}}}}c.withCredentials=o.credentials=="include",c.onload=function(){u(h())},c.onerror=l,c.send(o.body)})};n.default=a},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function o(u,l){for(var c=0;c<l.length;c++){var d=l[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,l,c){return l&&o(u.prototype,l),c&&o(u,c),u}}(),s=function(){function o(u,l){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,o),this.pluginName=u}return a(o,[{key:"track",value:function(u,l){window.analytics.track(u,l,{integration:{name:this.pluginName}})}}]),o}();n.default=s},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.YouTubeAnalytics=n.VimeoAnalytics=void 0;var a=o(i(3)),s=o(i(4));function o(u){return u&&u.__esModule?u:{default:u}}n.VimeoAnalytics=a.default,n.YouTubeAnalytics=s.default},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function l(c,d){for(var h=0;h<d.length;h++){var p=d[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(c,p.key,p)}}return function(c,d,h){return d&&l(c.prototype,d),h&&l(c,h),c}}(),s=o(i(0));function o(l){return l&&l.__esModule?l:{default:l}}var u=function(l){function c(d,h){(function(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")})(this,c);var p=function(g,_){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!_||typeof _!="object"&&typeof _!="function"?g:_}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,"VimeoAnalytics"));return p.authToken=h,p.player=d,p.metadata={content:{},playback:{videoPlayer:"Vimeo"}},p.mostRecentHeartbeat=0,p.isPaused=!1,p}return function(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}(c,l),a(c,[{key:"initialize",value:function(){var d=this,h={loaded:this.retrieveMetadata,play:this.trackPlay,pause:this.trackPause,ended:this.trackEnded,timeupdate:this.trackHeartbeat};for(var p in h)this.registerHandler(p,h[p]);this.player.getVideoId().then(function(g){d.retrieveMetadata({id:g})}).catch(console.error)}},{key:"registerHandler",value:function(d,h){var p=this;this.player.on(d,function(g){p.updateMetadata(g),h.call(p,g)})}},{key:"trackPlay",value:function(){this.isPaused?(this.track("Video Playback Resumed",this.metadata.playback),this.isPaused=!1):(this.track("Video Playback Started",this.metadata.playback),this.track("Video Content Started",this.metadata.content))}},{key:"trackEnded",value:function(){this.track("Video Playback Completed",this.metadata.playback),this.track("Video Content Completed",this.metadata.content)}},{key:"trackHeartbeat",value:function(){var d=this.mostRecentHeartbeat,h=this.metadata.playback.position;h!==d&&h-d>=10&&(this.track("Video Content Playing",this.metadata.content),this.mostRecentHeartbeat=Math.floor(h))}},{key:"trackPause",value:function(){this.isPaused=!0,this.track("Video Playback Paused",this.metadata.playback)}},{key:"retrieveMetadata",value:function(d){var h=this;return new Promise(function(p,g){var _=d.id;(0,s.default)("https://api.vimeo.com/videos/"+_,{headers:{Authorization:"Bearer "+h.authToken}}).then(function(w){return w.ok?w.json():g(w)}).then(function(w){h.metadata.content.title=w.name,h.metadata.content.description=w.description,h.metadata.content.publisher=w.user.name,h.metadata.playback.position=0,h.metadata.playback.totalLength=w.duration}).catch(function(w){return console.error("Request to Vimeo API Failed with: ",w),g(w)})})}},{key:"updateMetadata",value:function(d){var h=this;return new Promise(function(p,g){h.player.getVolume().then(function(_){_&&(h.metadata.playback.sound=100*_),h.metadata.playback.position=d.seconds,p()}).catch(g)})}}]),c}(o(i(1)).default);n.default=u},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function d(h,p){for(var g=0;g<p.length;g++){var _=p[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(h,_.key,_)}}return function(h,p,g){return p&&d(h.prototype,p),g&&d(h,g),h}}(),s=u(i(0)),o=u(i(1));function u(d){return d&&d.__esModule?d:{default:d}}var l=function(d){function h(p,g){(function(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")})(this,h);var _=function(w,S){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!S||typeof S!="object"&&typeof S!="function"?w:S}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,"YoutubeAnalytics"));return _.player=p,_.apiKey=g,_.playerLoaded=!1,_.playbackStarted=!1,_.contentStarted=!1,_.isPaused=!1,_.isBuffering=!1,_.isSeeking=!1,_.lastRecordedTime={timeReported:Date.now(),timeElapsed:0},_.metadata=[{playback:{video_player:"youtube"},content:{}}],_.playlistIndex=0,_}return function(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(p,g):p.__proto__=g)}(h,d),a(h,[{key:"initialize",value:function(){window.segmentYoutubeOnStateChange=this.onPlayerStateChange.bind(this),window.segmentYoutubeOnReady=this.onPlayerReady.bind(this),this.player.addEventListener("onReady","segmentYoutubeOnReady"),this.player.addEventListener("onStateChange","segmentYoutubeOnStateChange")}},{key:"onPlayerReady",value:function(p){this.retrieveMetadata()}},{key:"onPlayerStateChange",value:function(p){var g=this.player.getCurrentTime();switch(this.metadata[this.playlistIndex]&&(this.metadata[this.playlistIndex].playback.position=this.metadata[this.playlistIndex].content.position=g,this.metadata[this.playlistIndex].playback.quality=this.player.getPlaybackQuality(),this.metadata[this.playlistIndex].playback.sound=this.player.isMuted()?0:this.player.getVolume()),p.data){case-1:if(this.playerLoaded)break;this.retrieveMetadata(),this.playerLoaded=!0;break;case YT.PlayerState.BUFFERING:this.handleBuffer();break;case YT.PlayerState.PLAYING:this.handlePlay();break;case YT.PlayerState.PAUSED:this.handlePause();break;case YT.PlayerState.ENDED:this.handleEnd()}this.lastRecordedTime={timeReported:Date.now(),timeElapsed:1e3*this.player.getCurrentTime()}}},{key:"retrieveMetadata",value:function(){var p=this;return new Promise(function(g,_){var w=p.player.getVideoData(),S=p.player.getPlaylist()||[w.video_id],E=S.join();(0,s.default)("https://www.googleapis.com/youtube/v3/videos?id="+E+"&part=snippet,contentDetails&key="+p.apiKey).then(function(x){if(!x.ok){var f=new Error("Segment request to Youtube API failed (likely due to a bad API Key. Events will still be sent but will not contain video metadata)");throw f.response=x,f}return x.json()}).then(function(x){p.metadata=[];for(var f=0,m=0;m<S.length;m++){var v=x.items[m];p.metadata.push({content:{title:v.snippet.title,description:v.snippet.description,keywords:v.snippet.tags,channel:v.snippet.channelTitle,airdate:v.snippet.publishedAt}}),f+=c(v.contentDetails.duration)}for(m=0;m<S.length;m++)p.metadata[m].playback={total_length:f,video_player:"youtube"};g()}).catch(function(x){p.metadata=S.map(function(f){return{playback:{video_player:"youtube"},content:{}}}),_(x)})})}},{key:"handleBuffer",value:function(){var p=this.determineSeek();this.playbackStarted||(this.playbackStarted=!0,this.track("Video Playback Started",this.metadata[this.playlistIndex].playback)),p&&!this.isSeeking&&(this.isSeeking=!0,this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback)),this.isSeeking&&(this.track("Video Playback Seek Completed",this.metadata[this.playlistIndex].playback),this.isSeeking=!1);var g=this.player.getPlaylist();g&&this.player.getCurrentTime()===0&&this.player.getPlaylistIndex()!==this.playlistIndex&&(this.contentStarted=!1,this.playlistIndex===g.length-1&&this.player.getPlaylistIndex()===0&&(this.track("Video Playback Completed",this.metadata[this.player.getPlaylistIndex()].playback),this.track("Video Playback Started",this.metadata[this.player.getPlaylistIndex()].playback))),this.track("Video Playback Buffer Started",this.metadata[this.playlistIndex].playback),this.isBuffering=!0}},{key:"handlePlay",value:function(){this.contentStarted||(this.playlistIndex=this.player.getPlaylistIndex(),this.playlistIndex===-1&&(this.playlistIndex=0),this.track("Video Content Started",this.metadata[this.playlistIndex].content),this.contentStarted=!0),this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused&&(this.track("Video Playback Resumed",this.metadata[this.playlistIndex].playback),this.isPaused=!1)}},{key:"handlePause",value:function(){var p=this.determineSeek();this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused||(p?(this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback),this.isSeeking=!0):(this.track("Video Playback Paused",this.metadata[this.playlistIndex].playback),this.isPaused=!0))}},{key:"handleEnd",value:function(){this.track("Video Content Completed",this.metadata[this.playlistIndex].content),this.contentStarted=!1;var p=this.player.getPlaylistIndex(),g=this.player.getPlaylist();(g&&p===g.length-1||p===-1)&&(this.track("Video Playback Completed",this.metadata[this.playlistIndex].playback),this.playbackStarted=!1)}},{key:"determineSeek",value:function(){var p=this.isPaused||this.isBuffering?0:Date.now()-this.lastRecordedTime.timeReported,g=1e3*this.player.getCurrentTime()-this.lastRecordedTime.timeElapsed;return Math.abs(p-g)>2e3}}]),h}(o.default);function c(d){var h=d.match(/PT(\d+H)?(\d+M)?(\d+S)?/);return h=h.slice(1).map(function(p){if(p!=null)return p.replace(/\D/,"")}),3600*(parseInt(h[0])||0)+60*(parseInt(h[1])||0)+(parseInt(h[2])||0)}n.default=l}])})})(gz);var bz=gz.exports;const ZCe=Vn(bz),JCe=Cz({__proto__:null,default:ZCe},[bz]);export{yAe as A,FB as B,Ao as C,RF as D,sAe as E,wAe as F,OAe as G,Lm as H,cAe as I,SAe as J,iAe as K,aAe as L,pg as R,oAe as S,V,ei as _,uAe as a,lAe as b,kx as c,dAe as d,eAe as e,nAe as f,_K as g,kL as h,zF as i,QM as j,gj as k,fAe as l,_j as m,tY as n,lJ as o,fJ as p,tAe as q,vAe as r,rAe as s,hAe as t,pAe as u,gAe as v,bAe as w,_Ae as x,a1 as y,yA as z};


??

??