Current File : //var/www/vinorea/modules/psxmarketingwithgoogle/views/js/vendor.js |
var NW=Object.defineProperty;var BW=(t,e,r)=>e in t?NW(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ae=(t,e,r)=>(BW(t,typeof e!="symbol"?e+"":e,r),r);function FW(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 ri=Object.freeze({}),Ke=Array.isArray;function $e(t){return t==null}function Q(t){return t!=null}function Yt(t){return t===!0}function jW(t){return t===!1}function Ep(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Ht(t){return typeof t=="function"}function Zr(t){return t!==null&&typeof t=="object"}var nE=Object.prototype.toString;function li(t){return nE.call(t)==="[object Object]"}function HW(t){return nE.call(t)==="[object RegExp]"}function nN(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function oS(t){return Q(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function zW(t){return t==null?"":Array.isArray(t)||li(t)&&t.toString===nE?JSON.stringify(t,null,2):String(t)}function Vh(t){var e=parseFloat(t);return isNaN(e)?t:e}function Qi(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]}}Qi("slot,component",!0);var VW=Qi("key,ref,slot,slot-scope,is");function Wo(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 UW=Object.prototype.hasOwnProperty;function hn(t,e){return UW.call(t,e)}function _c(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var GW=/-(\w)/g,Ju=_c(function(t){return t.replace(GW,function(e,r){return r?r.toUpperCase():""})}),WW=_c(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),YW=/\B([A-Z])/g,xp=_c(function(t){return t.replace(YW,"-$1").toLowerCase()});function KW(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 qW(t,e){return t.bind(e)}var iN=Function.prototype.bind?qW:KW;function uS(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function kt(t,e){for(var r in e)t[r]=e[r];return t}function aN(t){for(var e={},r=0;r<t.length;r++)t[r]&&kt(e,t[r]);return e}function Rr(t,e,r){}var Sm=function(t,e,r){return!1},sN=function(t){return t};function Qu(t,e){if(t===e)return!0;var r=Zr(t),n=Zr(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,c){return Qu(u,e[c])});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 Qu(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function oN(t,e){for(var r=0;r<t.length;r++)if(Qu(t[r],e))return r;return-1}function Rv(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function XW(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var ZC="data-server-rendered",Tb=["component","directive","filter"],uN=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Ci={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Sm,isReservedAttr:Sm,isUnknownElement:Sm,getTagNamespace:Rr,parsePlatformTagName:sN,mustUseProp:Sm,async:!0,_lifecycleHooks:uN},JW=/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 cN(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function Oo(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var QW=new RegExp("[^".concat(JW.source,".$_\\d]"));function ZW(t){if(!QW.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 e9="__proto__"in{},fi=typeof window<"u",Ai=fi&&window.navigator.userAgent.toLowerCase(),Ad=Ai&&/msie|trident/.test(Ai),Md=Ai&&Ai.indexOf("msie 9.0")>0,lN=Ai&&Ai.indexOf("edge/")>0;Ai&&Ai.indexOf("android")>0;var t9=Ai&&/iphone|ipad|ipod|ios/.test(Ai),eA=Ai&&Ai.match(/firefox\/(\d+)/),cS={}.watch,dN=!1;if(fi)try{var tA={};Object.defineProperty(tA,"passive",{get:function(){dN=!0}}),window.addEventListener("test-passive",null,tA)}catch{}var Om,Pp=function(){return Om===void 0&&(!fi&&typeof global<"u"?Om=global.process&&global.process.env.VUE_ENV==="server":Om=!1),Om},Lv=fi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ul(t){return typeof t=="function"&&/native code/.test(t.toString())}var Cp=typeof Symbol<"u"&&Ul(Symbol)&&typeof Reflect<"u"&&Ul(Reflect.ownKeys),Uh;typeof Set<"u"&&Ul(Set)?Uh=Set:Uh=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 bh=null;function Io(t){t===void 0&&(t=null),t||bh&&bh._scope.off(),bh=t,t&&t._scope.on()}var di=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}(),ju=function(t){t===void 0&&(t="");var e=new di;return e.text=t,e.isComment=!0,e};function Pl(t){return new di(void 0,void 0,void 0,String(t))}function lS(t){var e=new di(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 r9=0,Lg=[],n9=function(){for(var t=0;t<Lg.length;t++){var e=Lg[t];e.subs=e.subs.filter(function(r){return r}),e._pending=!1}Lg.length=0},Ro=function(){function t(){this._pending=!1,this.id=r9++,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,Lg.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}();Ro.target=null;var Ng=[];function $d(t){Ng.push(t),Ro.target=t}function kd(){Ng.pop(),Ro.target=Ng[Ng.length-1]}var fN=Array.prototype,Nv=Object.create(fN),i9=["push","pop","shift","unshift","splice","sort","reverse"];i9.forEach(function(t){var e=fN[t];Oo(Nv,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 rA=Object.getOwnPropertyNames(Nv),hN={},iE=!0;function Lo(t){iE=t}var a9={notify:Rr,depend:Rr,addSub:Rr,removeSub:Rr},nA=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?a9:new Ro,this.vmCount=0,Oo(e,"__ob__",this),Ke(e)){if(!n)if(e9)e.__proto__=Nv;else for(var i=0,a=rA.length;i<a;i++){var s=rA[i];Oo(e,s,Nv[s])}r||this.observeArray(e)}else for(var o=Object.keys(e),i=0;i<o.length;i++){var s=o[i];Zu(e,s,hN,void 0,r,n)}}return t.prototype.observeArray=function(e){for(var r=0,n=e.length;r<n;r++)As(e[r],!1,this.mock)},t}();function As(t,e,r){if(t&&hn(t,"__ob__")&&t.__ob__ instanceof nA)return t.__ob__;if(iE&&(r||!Pp())&&(Ke(t)||li(t))&&Object.isExtensible(t)&&!t.__v_skip&&!Ra(t)&&!(t instanceof di))return new nA(t,e,r)}function Zu(t,e,r,n,i,a){var s=new Ro,o=Object.getOwnPropertyDescriptor(t,e);if(!(o&&o.configurable===!1)){var u=o&&o.get,c=o&&o.set;(!u||c)&&(r===hN||arguments.length===2)&&(r=t[e]);var l=!i&&As(r,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var f=u?u.call(t):r;return Ro.target&&(s.depend(),l&&(l.dep.depend(),Ke(f)&&mN(f))),Ra(f)&&!i?f.value:f},set:function(f){var p=u?u.call(t):r;if(XW(p,f)){if(c)c.call(t,f);else{if(u)return;if(!i&&Ra(p)&&!Ra(f)){p.value=f;return}else r=f}l=!i&&As(f,!1,a),s.notify()}}}),s}}function aE(t,e,r){if(!sE(t)){var n=t.__ob__;return Ke(t)&&nN(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&As(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(Zu(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function pN(t,e){if(Ke(t)&&nN(e)){t.splice(e,1);return}var r=t.__ob__;t._isVue||r&&r.vmCount||sE(t)||hn(t,e)&&(delete t[e],r&&r.dep.notify())}function mN(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),Ke(e)&&mN(e)}function gN(t){return s9(t,!0),Oo(t,"__v_isShallow",!0),t}function s9(t,e){sE(t)||As(t,e,Pp())}function sE(t){return!!(t&&t.__v_isReadonly)}function Ra(t){return!!(t&&t.__v_isRef===!0)}function dS(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var n=e[r];if(Ra(n))return n.value;var i=n&&n.__ob__;return i&&i.dep.depend(),n},set:function(n){var i=e[r];Ra(i)&&!Ra(n)?i.value=n:e[r]=n}})}var qn,o9=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=qn,!e&&qn&&(this.index=(qn.scopes||(qn.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var r=qn;try{return qn=this,e()}finally{qn=r}}},t.prototype.on=function(){qn=this},t.prototype.off=function(){qn=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 u9(t,e){e===void 0&&(e=qn),e&&e.active&&e.effects.push(t)}function c9(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}var iA=_c(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 fS(t,e){function r(){var n=r.fns;if(Ke(n))for(var i=n.slice(),a=0;a<i.length;a++)No(i[a],null,arguments,e,"v-on handler");else return No(n,null,arguments,e,"v-on handler")}return r.fns=t,r}function vN(t,e,r,n,i,a){var s,o,u,c;for(s in t)o=t[s],u=e[s],c=iA(s),$e(o)||($e(u)?($e(o.fns)&&(o=t[s]=fS(o,a)),Yt(c.once)&&(o=t[s]=i(c.name,o,c.capture)),r(c.name,o,c.capture,c.passive,c.params)):o!==u&&(u.fns=o,t[s]=u));for(s in e)$e(t[s])&&(c=iA(s),n(c.name,e[s],c.capture))}function po(t,e,r){t instanceof di&&(t=t.data.hook||(t.data.hook={}));var n,i=t[e];function a(){r.apply(this,arguments),Wo(n.fns,a)}$e(i)?n=fS([a]):Q(i.fns)&&Yt(i.merged)?(n=i,n.fns.push(a)):n=fS([i,a]),n.merged=!0,t[e]=n}function l9(t,e,r){var n=e.options.props;if(!$e(n)){var i={},a=t.attrs,s=t.props;if(Q(a)||Q(s))for(var o in n){var u=xp(o);aA(i,s,o,u,!0)||aA(i,a,o,u,!1)}return i}}function aA(t,e,r,n,i){if(Q(e)){if(hn(e,r))return t[r]=e[r],i||delete e[r],!0;if(hn(e,n))return t[r]=e[n],i||delete e[n],!0}return!1}function d9(t){for(var e=0;e<t.length;e++)if(Ke(t[e]))return Array.prototype.concat.apply([],t);return t}function oE(t){return Ep(t)?[Pl(t)]:Ke(t)?bN(t):void 0}function ff(t){return Q(t)&&Q(t.text)&&jW(t.isComment)}function bN(t,e){var r=[],n,i,a,s;for(n=0;n<t.length;n++)i=t[n],!($e(i)||typeof i=="boolean")&&(a=r.length-1,s=r[a],Ke(i)?i.length>0&&(i=bN(i,"".concat(e||"","_").concat(n)),ff(i[0])&&ff(s)&&(r[a]=Pl(s.text+i[0].text),i.shift()),r.push.apply(r,i)):Ep(i)?ff(s)?r[a]=Pl(s.text+i):i!==""&&r.push(Pl(i)):ff(i)&&ff(s)?r[a]=Pl(s.text+i.text):(Yt(t._isVList)&&Q(i.tag)&&$e(i.key)&&Q(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),r.push(i)));return r}function f9(t,e){var r=null,n,i,a,s;if(Ke(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(Zr(t))if(Cp&&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 Q(r)||(r=[]),r._isVList=!0,r}function h9(t,e,r,n){var i=this.$scopedSlots[t],a;i?(r=r||{},n&&(r=kt(kt({},n),r)),a=i(r)||(Ht(e)?e():e)):a=this.$slots[t]||(Ht(e)?e():e);var s=r&&r.slot;return s?this.$createElement("template",{slot:s},a):a}function p9(t){return Vv(this.$options,"filters",t)||sN}function sA(t,e){return Ke(t)?t.indexOf(e)===-1:t!==e}function m9(t,e,r,n,i){var a=Ci.keyCodes[e]||r;return i&&n&&!Ci.keyCodes[e]?sA(i,n):a?sA(a,t):n?xp(n)!==e:t===void 0}function g9(t,e,r,n,i){if(r&&Zr(r)){Ke(r)&&(r=aN(r));var a=void 0,s=function(u){if(u==="class"||u==="style"||VW(u))a=t;else{var c=t.attrs&&t.attrs.type;a=n||Ci.mustUseProp(e,c,u)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=Ju(u),d=xp(u);if(!(l in a)&&!(d in a)&&(a[u]=r[u],i)){var f=t.on||(t.on={});f["update:".concat(u)]=function(p){r[u]=p}}};for(var o in r)s(o)}return t}function v9(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),yN(n,"__static__".concat(t),!1)),n}function b9(t,e,r){return yN(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function yN(t,e,r){if(Ke(t))for(var n=0;n<t.length;n++)t[n]&&typeof t[n]!="string"&&oA(t[n],"".concat(e,"_").concat(n),r);else oA(t,e,r)}function oA(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function y9(t,e){if(e&&li(e)){var r=t.on=t.on?kt({},t.on):{};for(var n in e){var i=r[n],a=e[n];r[n]=i?[].concat(i,a):a}}return t}function _N(t,e,r,n){e=e||{$stable:!r};for(var i=0;i<t.length;i++){var a=t[i];Ke(a)?_N(a,e,r):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function _9(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 w9(t,e){return typeof t=="string"?e+t:t}function wN(t){t._o=b9,t._n=Vh,t._s=zW,t._l=f9,t._t=h9,t._q=Qu,t._i=oN,t._m=v9,t._f=p9,t._k=m9,t._b=g9,t._v=Pl,t._e=ju,t._u=_N,t._g=y9,t._d=_9,t._p=w9}function uE(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 c in r)r[c].every(S9)&&delete r[c];return r}function S9(t){return t.isComment&&!t.asyncFactory||t.text===" "}function Gh(t){return t.isComment&&t.asyncFactory}function yh(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!==ri&&o===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var u in e)e[u]&&u[0]!=="$"&&(i[u]=O9(t,r,u,e[u]))}for(var c in r)c in i||(i[c]=T9(r,c));return e&&Object.isExtensible(e)&&(e._normalized=i),Oo(i,"$stable",s),Oo(i,"$key",o),Oo(i,"$hasNormal",a),i}function O9(t,e,r,n){var i=function(){var a=bh;Io(t);var s=arguments.length?n.apply(null,arguments):n({});s=s&&typeof s=="object"&&!Ke(s)?[s]:oE(s);var o=s&&s[0];return Io(a),s&&(!o||s.length===1&&o.isComment&&!Gh(o))?void 0:s};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function T9(t,e){return function(){return t[e]}}function E9(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=x9(t);Io(t),$d();var i=No(r,null,[t._props||gN({}),n],t,"setup");if(kd(),Io(),Ht(i))e.render=i;else if(Zr(i))if(t._setupState=i,i.__sfc){var s=t._setupProxy={};for(var a in i)a!=="__sfc"&&dS(s,i,a)}else for(var a in i)cN(a)||dS(t,i,a)}}function x9(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Oo(e,"_v_attr_proxy",!0),Bv(e,t.$attrs,ri,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Bv(e,t.$listeners,ri,t,"$listeners")}return t._listenersProxy},get slots(){return C9(t)},emit:iN(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return dS(t,e,r)})}}}function Bv(t,e,r,n,i){var a=!1;for(var s in e)s in t?e[s]!==r[s]&&(a=!0):(a=!0,P9(t,s,n,i));for(var s in t)s in e||(a=!0,delete t[s]);return a}function P9(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function C9(t){return t._slotsProxy||SN(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function SN(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function A9(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=uE(e._renderChildren,n),t.$scopedSlots=r?yh(t.$parent,r.data.scopedSlots,t.$slots):ri,t._c=function(a,s,o,u){return Fv(t,a,s,o,u,!1)},t.$createElement=function(a,s,o,u){return Fv(t,a,s,o,u,!0)};var i=r&&r.data;Zu(t,"$attrs",i&&i.attrs||ri,null,!0),Zu(t,"$listeners",e._parentListeners||ri,null,!0)}var hS=null;function M9(t){wN(t.prototype),t.prototype.$nextTick=function(e){return cE(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,i=r._parentVnode;i&&e._isMounted&&(e.$scopedSlots=yh(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&SN(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;var a;try{Io(e),hS=e,a=n.call(e._renderProxy,e.$createElement)}catch(s){ec(s,e,"render"),a=e._vnode}finally{hS=null,Io()}return Ke(a)&&a.length===1&&(a=a[0]),a instanceof di||(a=ju()),a.parent=i,a}}function Z_(t,e){return(t.__esModule||Cp&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Zr(t)?e.extend(t):t}function $9(t,e,r,n,i){var a=ju();return a.asyncFactory=t,a.asyncMeta={data:e,context:r,children:n,tag:i},a}function k9(t,e){if(Yt(t.error)&&Q(t.errorComp))return t.errorComp;if(Q(t.resolved))return t.resolved;var r=hS;if(r&&Q(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),Yt(t.loading)&&Q(t.loadingComp))return t.loadingComp;if(r&&!Q(t.owners)){var n=t.owners=[r],i=!0,a=null,s=null;r.$on("hook:destroyed",function(){return Wo(n,r)});var o=function(d){for(var f=0,p=n.length;f<p;f++)n[f].$forceUpdate();d&&(n.length=0,a!==null&&(clearTimeout(a),a=null),s!==null&&(clearTimeout(s),s=null))},u=Rv(function(d){t.resolved=Z_(d,e),i?n.length=0:o(!0)}),c=Rv(function(d){Q(t.errorComp)&&(t.error=!0,o(!0))}),l=t(u,c);return Zr(l)&&(oS(l)?$e(t.resolved)&&l.then(u,c):oS(l.component)&&(l.component.then(u,c),Q(l.error)&&(t.errorComp=Z_(l.error,e)),Q(l.loading)&&(t.loadingComp=Z_(l.loading,e),l.delay===0?t.loading=!0:a=setTimeout(function(){a=null,$e(t.resolved)&&$e(t.error)&&(t.loading=!0,o(!1))},l.delay||200)),Q(l.timeout)&&(s=setTimeout(function(){s=null,$e(t.resolved)&&c(null)},l.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}function ON(t){if(Ke(t))for(var e=0;e<t.length;e++){var r=t[e];if(Q(r)&&(Q(r.componentOptions)||Gh(r)))return r}}var D9=1,TN=2;function Fv(t,e,r,n,i,a){return(Ke(r)||Ep(r))&&(i=n,n=r,r=void 0),Yt(a)&&(i=TN),I9(t,e,r,n,i)}function I9(t,e,r,n,i){if(Q(r)&&Q(r.__ob__)||(Q(r)&&Q(r.is)&&(e=r.is),!e))return ju();Ke(n)&&Ht(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),i===TN?n=oE(n):i===D9&&(n=d9(n));var a,s;if(typeof e=="string"){var o=void 0;s=t.$vnode&&t.$vnode.ns||Ci.getTagNamespace(e),Ci.isReservedTag(e)?a=new di(Ci.parsePlatformTagName(e),r,n,void 0,void 0,t):(!r||!r.pre)&&Q(o=Vv(t.$options,"components",e))?a=mA(o,r,t,n,e):a=new di(e,r,n,void 0,void 0,t)}else a=mA(e,r,t,n);return Ke(a)?a:Q(a)?(Q(s)&&EN(a,s),Q(r)&&R9(r),a):ju()}function EN(t,e,r){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,r=!0),Q(t.children))for(var n=0,i=t.children.length;n<i;n++){var a=t.children[n];Q(a.tag)&&($e(a.ns)||Yt(r)&&a.tag!=="svg")&&EN(a,e,r)}}function R9(t){Zr(t.style)&&jv(t.style),Zr(t.class)&&jv(t.class)}function ec(t,e,r){$d();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){uA(o,n,"errorCaptured hook")}}uA(t,e,r)}finally{kd()}}function No(t,e,r,n,i){var a;try{a=r?t.apply(e,r):t.call(e),a&&!a._isVue&&oS(a)&&!a._handled&&(a.catch(function(s){return ec(s,n,i+" (Promise/async)")}),a._handled=!0)}catch(s){ec(s,n,i)}return a}function uA(t,e,r){if(Ci.errorHandler)try{return Ci.errorHandler.call(null,t,e,r)}catch(n){n!==t&&cA(n)}cA(t)}function cA(t,e,r){if(fi&&typeof console<"u")console.error(t);else throw t}var pS=!1,mS=[],gS=!1;function Tm(){gS=!1;var t=mS.slice(0);mS.length=0;for(var e=0;e<t.length;e++)t[e]()}var Xf;if(typeof Promise<"u"&&Ul(Promise)){var L9=Promise.resolve();Xf=function(){L9.then(Tm),t9&&setTimeout(Rr)},pS=!0}else if(!Ad&&typeof MutationObserver<"u"&&(Ul(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Em=1,N9=new MutationObserver(Tm),lA=document.createTextNode(String(Em));N9.observe(lA,{characterData:!0}),Xf=function(){Em=(Em+1)%2,lA.data=String(Em)},pS=!0}else typeof setImmediate<"u"&&Ul(setImmediate)?Xf=function(){setImmediate(Tm)}:Xf=function(){setTimeout(Tm,0)};function cE(t,e){var r;if(mS.push(function(){if(t)try{t.call(e)}catch(n){ec(n,e,"nextTick")}else r&&r(e)}),gS||(gS=!0,Xf()),!t&&typeof Promise<"u")return new Promise(function(n){r=n})}var B9="2.7.14";function dBe(t){return t}var dA=new Uh;function jv(t){return Bg(t,dA),dA.clear(),t}function Bg(t,e){var r,n,i=Ke(t);if(!(!i&&!Zr(t)||t.__v_skip||Object.isFrozen(t)||t instanceof di)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(r=t.length;r--;)Bg(t[r],e);else if(Ra(t))Bg(t.value,e);else for(n=Object.keys(t),r=n.length;r--;)Bg(t[n[r]],e)}}var F9=0,lE=function(){function t(e,r,n,i,a){u9(this,qn&&!qn._vm?qn: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=++F9,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Uh,this.newDepIds=new Uh,this.expression="",Ht(r)?this.getter=r:(this.getter=ZW(r),this.getter||(this.getter=Rr)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){$d(this);var e,r=this.vm;try{e=this.getter.call(r,r)}catch(n){if(this.user)ec(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&jv(e),kd(),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():tY(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||Zr(e)||this.deep){var r=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');No(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&&Wo(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 j9(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&xN(t,e)}var Wh;function H9(t,e){Wh.$on(t,e)}function z9(t,e){Wh.$off(t,e)}function V9(t,e){var r=Wh;return function n(){var i=e.apply(null,arguments);i!==null&&r.$off(t,n)}}function xN(t,e,r){Wh=t,vN(e,r||{},H9,z9,V9,t),Wh=void 0}function U9(t){var e=/^hook:/;t.prototype.$on=function(r,n){var i=this;if(Ke(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(Ke(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,c=o.length;c--;)if(u=o[c],u===n||u.fn===n){o.splice(c,1);break}return i},t.prototype.$emit=function(r){var n=this,i=n._events[r];if(i){i=i.length>1?uS(i):i;for(var a=uS(arguments,1),s='event handler for "'.concat(r,'"'),o=0,u=i.length;o<u;o++)No(i[o],n,a,n,s)}return n}}var Hu=null;function PN(t){var e=Hu;return Hu=t,function(){Hu=e}}function G9(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 W9(t){t.prototype._update=function(e,r){var n=this,i=n.$el,a=n._vnode,s=PN(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&&Wo(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 Y9(t,e,r){t.$el=e,t.$options.render||(t.$options.render=ju),Vi(t,"beforeMount");var n;n=function(){t._update(t._render(),r)};var i={before:function(){t._isMounted&&!t._isDestroyed&&Vi(t,"beforeUpdate")}};new lE(t,n,Rr,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 K9(t,e,r,n,i){var a=n.data.scopedSlots,s=t.$scopedSlots,o=!!(a&&!a.$stable||s!==ri&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(i||t.$options._renderChildren||o),c=t.$vnode;t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=i;var l=n.data.attrs||ri;t._attrsProxy&&Bv(t._attrsProxy,l,c.data&&c.data.attrs||ri,t,"$attrs")&&(u=!0),t.$attrs=l,r=r||ri;var d=t.$options._parentListeners;if(t._listenersProxy&&Bv(t._listenersProxy,r,d||ri,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,xN(t,r,d),e&&t.$options.props){Lo(!1);for(var f=t._props,p=t.$options._propKeys||[],m=0;m<p.length;m++){var b=p[m],_=t.$options.props;f[b]=gE(b,_,e,t)}Lo(!0),t.$options.propsData=e}u&&(t.$slots=uE(i,n.context),t.$forceUpdate())}function CN(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function dE(t,e){if(e){if(t._directInactive=!1,CN(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++)dE(t.$children[r]);Vi(t,"activated")}}function AN(t,e){if(!(e&&(t._directInactive=!0,CN(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)AN(t.$children[r]);Vi(t,"deactivated")}}function Vi(t,e,r,n){n===void 0&&(n=!0),$d();var i=bh;n&&Io(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var o=0,u=a.length;o<u;o++)No(a[o],t,r||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),n&&Io(i),kd()}var ys=[],fE=[],Hv={},vS=!1,hE=!1,Cl=0;function q9(){Cl=ys.length=fE.length=0,Hv={},vS=hE=!1}var MN=0,bS=Date.now;if(fi&&!Ad){var ew=window.performance;ew&&typeof ew.now=="function"&&bS()>document.createEvent("Event").timeStamp&&(bS=function(){return ew.now()})}var X9=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function J9(){MN=bS(),hE=!0;var t,e;for(ys.sort(X9),Cl=0;Cl<ys.length;Cl++)t=ys[Cl],t.before&&t.before(),e=t.id,Hv[e]=null,t.run();var r=fE.slice(),n=ys.slice();q9(),eY(r),Q9(n),n9(),Lv&&Ci.devtools&&Lv.emit("flush")}function Q9(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 Z9(t){t._inactive=!1,fE.push(t)}function eY(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,dE(t[e],!0)}function tY(t){var e=t.id;if(Hv[e]==null&&!(t===Ro.target&&t.noRecurse)){if(Hv[e]=!0,!hE)ys.push(t);else{for(var r=ys.length-1;r>Cl&&ys[r].id>t.id;)r--;ys.splice(r+1,0,t)}vS||(vS=!0,cE(J9))}}function rY(t){var e=t.$options.provide;if(e){var r=Ht(e)?e.call(t):e;if(!Zr(r))return;for(var n=c9(t),i=Cp?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 nY(t){var e=$N(t.$options.inject,t);e&&(Lo(!1),Object.keys(e).forEach(function(r){Zu(t,r,e[r])}),Lo(!0))}function $N(t,e){if(t){for(var r=Object.create(null),n=Cp?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]=Ht(o)?o.call(e):o}}}return r}}function pE(t,e,r,n,i){var a=this,s=i.options,o;hn(n,"_uid")?(o=Object.create(n),o._original=n):(o=n,n=n._original);var u=Yt(s._compiled),c=!u;this.data=t,this.props=e,this.children=r,this.parent=n,this.listeners=t.on||ri,this.injections=$N(s.inject,n),this.slots=function(){return a.$slots||yh(n,t.scopedSlots,a.$slots=uE(r,n)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return yh(n,t.scopedSlots,this.slots())}}),u&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=yh(n,t.scopedSlots,this.$slots)),s._scopeId?this._c=function(l,d,f,p){var m=Fv(o,l,d,f,p,c);return m&&!Ke(m)&&(m.fnScopeId=s._scopeId,m.fnContext=n),m}:this._c=function(l,d,f,p){return Fv(o,l,d,f,p,c)}}wN(pE.prototype);function iY(t,e,r,n,i){var a=t.options,s={},o=a.props;if(Q(o))for(var u in o)s[u]=gE(u,o,e||ri);else Q(r.attrs)&&hA(s,r.attrs),Q(r.props)&&hA(s,r.props);var c=new pE(r,s,i,n,t),l=a.render.call(null,c._c,c);if(l instanceof di)return fA(l,r,c.parent,a);if(Ke(l)){for(var d=oE(l)||[],f=new Array(d.length),p=0;p<d.length;p++)f[p]=fA(d[p],r,c.parent,a);return f}}function fA(t,e,r,n,i){var a=lS(t);return a.fnContext=r,a.fnOptions=n,e.slot&&((a.data||(a.data={})).slot=e.slot),a}function hA(t,e){for(var r in e)t[Ju(r)]=e[r]}function zv(t){return t.name||t.__name||t._componentTag}var mE={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;mE.prepatch(r,r)}else{var n=t.componentInstance=aY(t,Hu);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;K9(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?Z9(r):dE(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?AN(e,!0):e.$destroy())}},pA=Object.keys(mE);function mA(t,e,r,n,i){if(!$e(t)){var a=r.$options._base;if(Zr(t)&&(t=a.extend(t)),typeof t=="function"){var s;if($e(t.cid)&&(s=t,t=k9(s,a),t===void 0))return $9(s,e,r,n,i);e=e||{},bE(t),Q(e.model)&&uY(t.options,e);var o=l9(e,t);if(Yt(t.options.functional))return iY(t,o,e,r,n);var u=e.on;if(e.on=e.nativeOn,Yt(t.options.abstract)){var c=e.slot;e={},c&&(e.slot=c)}sY(e);var l=zv(t.options)||i,d=new di("vue-component-".concat(t.cid).concat(l?"-".concat(l):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:o,listeners:u,tag:i,children:n},s);return d}}}function aY(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return Q(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function sY(t){for(var e=t.hook||(t.hook={}),r=0;r<pA.length;r++){var n=pA[r],i=e[n],a=mE[n];i!==a&&!(i&&i._merged)&&(e[n]=i?oY(a,i):a)}}function oY(t,e){var r=function(n,i){t(n,i),e(n,i)};return r._merged=!0,r}function uY(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;Q(a)?(Ke(a)?a.indexOf(s)===-1:a!==s)&&(i[n]=[s].concat(a)):i[n]=s}var cY=Rr,Da=Ci.optionMergeStrategies;function Yh(t,e,r){if(r===void 0&&(r=!0),!e)return t;for(var n,i,a,s=Cp?Reflect.ownKeys(e):Object.keys(e),o=0;o<s.length;o++)n=s[o],n!=="__ob__"&&(i=t[n],a=e[n],!r||!hn(t,n)?aE(t,n,a):i!==a&&li(i)&&li(a)&&Yh(i,a));return t}function gA(t,e,r){return r?function(){var i=Ht(e)?e.call(r,r):e,a=Ht(t)?t.call(r,r):t;return i?Yh(i,a):a}:e?t?function(){return Yh(Ht(e)?e.call(this,this):e,Ht(t)?t.call(this,this):t)}:e:t}Da.data=function(t,e,r){return r?gA(t,e,r):e&&typeof e!="function"?t:gA(t,e)};function lY(t,e){var r=e?t?t.concat(e):Ke(e)?e:[e]:t;return r&&dY(r)}function dY(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}uN.forEach(function(t){Da[t]=lY});function fY(t,e,r,n){var i=Object.create(t||null);return e?kt(i,e):i}Tb.forEach(function(t){Da[t+"s"]=fY});Da.watch=function(t,e,r,n){if(t===cS&&(t=void 0),e===cS&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};kt(i,t);for(var a in e){var s=i[a],o=e[a];s&&!Ke(s)&&(s=[s]),i[a]=s?s.concat(o):Ke(o)?o:[o]}return i};Da.props=Da.methods=Da.inject=Da.computed=function(t,e,r,n){if(!t)return e;var i=Object.create(null);return kt(i,t),e&&kt(i,e),i};Da.provide=function(t,e){return t?function(){var r=Object.create(null);return Yh(r,Ht(t)?t.call(this):t),e&&Yh(r,Ht(e)?e.call(this):e,!1),r}:e};var hY=function(t,e){return e===void 0?t:e};function pY(t,e){var r=t.props;if(r){var n={},i,a,s;if(Ke(r))for(i=r.length;i--;)a=r[i],typeof a=="string"&&(s=Ju(a),n[s]={type:null});else if(li(r))for(var o in r)a=r[o],s=Ju(o),n[s]=li(a)?a:{type:a};t.props=n}}function mY(t,e){var r=t.inject;if(r){var n=t.inject={};if(Ke(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(li(r))for(var a in r){var s=r[a];n[a]=li(s)?kt({from:a},s):{from:s}}}}function gY(t){var e=t.directives;if(e)for(var r in e){var n=e[r];Ht(n)&&(e[r]={bind:n,update:n})}}function tc(t,e,r){if(Ht(e)&&(e=e.options),pY(e),mY(e),gY(e),!e._base&&(e.extends&&(t=tc(t,e.extends,r)),e.mixins))for(var n=0,i=e.mixins.length;n<i;n++)t=tc(t,e.mixins[n],r);var a={},s;for(s in t)o(s);for(s in e)hn(t,s)||o(s);function o(u){var c=Da[u]||hY;a[u]=c(t[u],e[u],r,u)}return a}function Vv(t,e,r,n){if(typeof r=="string"){var i=t[e];if(hn(i,r))return i[r];var a=Ju(r);if(hn(i,a))return i[a];var s=WW(a);if(hn(i,s))return i[s];var o=i[r]||i[a]||i[s];return o}}function gE(t,e,r,n){var i=e[t],a=!hn(r,t),s=r[t],o=bA(Boolean,i.type);if(o>-1){if(a&&!hn(i,"default"))s=!1;else if(s===""||s===xp(t)){var u=bA(String,i.type);(u<0||o<u)&&(s=!0)}}if(s===void 0){s=vY(n,i,t);var c=iE;Lo(!0),As(s),Lo(c)}return s}function vY(t,e,r){if(hn(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]:Ht(n)&&yS(e.type)!=="Function"?n.call(t):n}}var bY=/^\s*function (\w+)/;function yS(t){var e=t&&t.toString().match(bY);return e?e[1]:""}function vA(t,e){return yS(t)===yS(e)}function bA(t,e){if(!Ke(e))return vA(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(vA(e[r],t))return r;return-1}var lo={enumerable:!0,configurable:!0,get:Rr,set:Rr};function vE(t,e,r){lo.get=function(){return this[e][r]},lo.set=function(i){this[e][r]=i},Object.defineProperty(t,r,lo)}function yY(t){var e=t.$options;if(e.props&&_Y(t,e.props),E9(t),e.methods&&EY(t,e.methods),e.data)wY(t);else{var r=As(t._data={});r&&r.vmCount++}e.computed&&TY(t,e.computed),e.watch&&e.watch!==cS&&xY(t,e.watch)}function _Y(t,e){var r=t.$options.propsData||{},n=t._props=gN({}),i=t.$options._propKeys=[],a=!t.$parent;a||Lo(!1);var s=function(u){i.push(u);var c=gE(u,e,r,t);Zu(n,u,c),u in t||vE(t,"_props",u)};for(var o in e)s(o);Lo(!0)}function wY(t){var e=t.$options.data;e=t._data=Ht(e)?SY(e,t):e||{},li(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&&hn(n,a)||cN(a)||vE(t,"_data",a)}var s=As(e);s&&s.vmCount++}function SY(t,e){$d();try{return t.call(e,e)}catch(r){return ec(r,e,"data()"),{}}finally{kd()}}var OY={lazy:!0};function TY(t,e){var r=t._computedWatchers=Object.create(null),n=Pp();for(var i in e){var a=e[i],s=Ht(a)?a:a.get;n||(r[i]=new lE(t,s||Rr,Rr,OY)),i in t||kN(t,i,a)}}function kN(t,e,r){var n=!Pp();Ht(r)?(lo.get=n?yA(e):_A(r),lo.set=Rr):(lo.get=r.get?n&&r.cache!==!1?yA(e):_A(r.get):Rr,lo.set=r.set||Rr),Object.defineProperty(t,e,lo)}function yA(t){return function(){var r=this._computedWatchers&&this._computedWatchers[t];if(r)return r.dirty&&r.evaluate(),Ro.target&&r.depend(),r.value}}function _A(t){return function(){return t.call(this,this)}}function EY(t,e){t.$options.props;for(var r in e)t[r]=typeof e[r]!="function"?Rr:iN(e[r],t)}function xY(t,e){for(var r in e){var n=e[r];if(Ke(n))for(var i=0;i<n.length;i++)_S(t,r,n[i]);else _S(t,r,n)}}function _S(t,e,r,n){return li(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=t[r]),t.$watch(e,r,n)}function PY(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=aE,t.prototype.$delete=pN,t.prototype.$watch=function(n,i,a){var s=this;if(li(i))return _S(s,n,i,a);a=a||{},a.user=!0;var o=new lE(s,n,i,a);if(a.immediate){var u='callback for immediate watcher "'.concat(o.expression,'"');$d(),No(i,s,[o.value],s,u),kd()}return function(){o.teardown()}}}var CY=0;function AY(t){t.prototype._init=function(e){var r=this;r._uid=CY++,r._isVue=!0,r.__v_skip=!0,r._scope=new o9(!0),r._scope._vm=!0,e&&e._isComponent?MY(r,e):r.$options=tc(bE(r.constructor),e||{},r),r._renderProxy=r,r._self=r,G9(r),j9(r),A9(r),Vi(r,"beforeCreate",void 0,!1),nY(r),yY(r),rY(r),Vi(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function MY(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 bE(t){var e=t.options;if(t.super){var r=bE(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var i=$Y(t);i&&kt(t.extendOptions,i),e=t.options=tc(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function $Y(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 Ne(t){this._init(t)}AY(Ne);PY(Ne);U9(Ne);W9(Ne);M9(Ne);function kY(t){t.use=function(e){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(e)>-1)return this;var n=uS(arguments,1);return n.unshift(this),Ht(e.install)?e.install.apply(e,n):Ht(e)&&e.apply(null,n),r.push(e),this}}function DY(t){t.mixin=function(e){return this.options=tc(this.options,e),this}}function IY(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=zv(r)||zv(n.options),o=function(c){this._init(c)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=tc(n.options,r),o.super=n,o.options.props&&RY(o),o.options.computed&&LY(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,Tb.forEach(function(u){o[u]=n[u]}),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=r,o.sealedOptions=kt({},o.options),a[i]=o,o}}function RY(t){var e=t.options.props;for(var r in e)vE(t.prototype,"_props",r)}function LY(t){var e=t.options.computed;for(var r in e)kN(t.prototype,r,e[r])}function NY(t){Tb.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&li(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&Ht(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function wA(t){return t&&(zv(t.Ctor.options)||t.tag)}function xm(t,e){return Ke(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:HW(t)?t.test(e):!1}function SA(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)&&wS(r,a,n,i)}}}function wS(t,e,r,n){var i=t[e];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),t[e]=null,Wo(r,e)}var OA=[String,RegExp,Array],BY={name:"keep-alive",abstract:!0,props:{include:OA,exclude:OA,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:wA(o),tag:a,componentInstance:s},r.push(i),this.max&&r.length>parseInt(this.max)&&wS(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)wS(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){SA(t,function(r){return xm(e,r)})}),this.$watch("exclude",function(e){SA(t,function(r){return!xm(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=ON(t),r=e&&e.componentOptions;if(r){var n=wA(r),i=this,a=i.include,s=i.exclude;if(a&&(!n||!xm(a,n))||s&&n&&xm(s,n))return e;var o=this,u=o.cache,c=o.keys,l=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[l]?(e.componentInstance=u[l].componentInstance,Wo(c,l),c.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},FY={KeepAlive:BY};function jY(t){var e={};e.get=function(){return Ci},Object.defineProperty(t,"config",e),t.util={warn:cY,extend:kt,mergeOptions:tc,defineReactive:Zu},t.set=aE,t.delete=pN,t.nextTick=cE,t.observable=function(r){return As(r),r},t.options=Object.create(null),Tb.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,kt(t.options.components,FY),kY(t),DY(t),IY(t),NY(t)}jY(Ne);Object.defineProperty(Ne.prototype,"$isServer",{get:Pp});Object.defineProperty(Ne.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(Ne,"FunctionalRenderContext",{value:pE});Ne.version=B9;var HY=Qi("style,class"),zY=Qi("input,textarea,option,select,progress"),VY=function(t,e,r){return r==="value"&&zY(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},DN=Qi("contenteditable,draggable,spellcheck"),UY=Qi("events,caret,typing,plaintext-only"),GY=function(t,e){return Uv(e)||e==="false"?"false":t==="contenteditable"&&UY(e)?e:"true"},WY=Qi("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"),SS="http://www.w3.org/1999/xlink",yE=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},IN=function(t){return yE(t)?t.slice(6,t.length):""},Uv=function(t){return t==null||t===!1};function YY(t){for(var e=t.data,r=t,n=t;Q(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=TA(n.data,e));for(;Q(r=r.parent);)r&&r.data&&(e=TA(e,r.data));return KY(e.staticClass,e.class)}function TA(t,e){return{staticClass:_E(t.staticClass,e.staticClass),class:Q(t.class)?[t.class,e.class]:e.class}}function KY(t,e){return Q(t)||Q(e)?_E(t,wE(e)):""}function _E(t,e){return t?e?t+" "+e:t:e||""}function wE(t){return Array.isArray(t)?qY(t):Zr(t)?XY(t):typeof t=="string"?t:""}function qY(t){for(var e="",r,n=0,i=t.length;n<i;n++)Q(r=wE(t[n]))&&r!==""&&(e&&(e+=" "),e+=r);return e}function XY(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var JY={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},QY=Qi("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"),SE=Qi("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),RN=function(t){return QY(t)||SE(t)};function ZY(t){if(SE(t))return"svg";if(t==="math")return"math"}var Pm=Object.create(null);function eK(t){if(!fi)return!0;if(RN(t))return!1;if(t=t.toLowerCase(),Pm[t]!=null)return Pm[t];var e=document.createElement(t);return t.indexOf("-")>-1?Pm[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Pm[t]=/HTMLUnknownElement/.test(e.toString())}var OS=Qi("text,number,password,search,email,tel,url");function tK(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function rK(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 nK(t,e){return document.createElementNS(JY[t],e)}function iK(t){return document.createTextNode(t)}function aK(t){return document.createComment(t)}function sK(t,e,r){t.insertBefore(e,r)}function oK(t,e){t.removeChild(e)}function uK(t,e){t.appendChild(e)}function cK(t){return t.parentNode}function lK(t){return t.nextSibling}function dK(t){return t.tagName}function fK(t,e){t.textContent=e}function hK(t,e){t.setAttribute(e,"")}var pK=Object.freeze({__proto__:null,createElement:rK,createElementNS:nK,createTextNode:iK,createComment:aK,insertBefore:sK,removeChild:oK,appendChild:uK,parentNode:cK,nextSibling:lK,tagName:dK,setTextContent:fK,setStyleScope:hK}),mK={create:function(t,e){Al(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Al(t,!0),Al(e))},destroy:function(t){Al(t,!0)}};function Al(t,e){var r=t.data.ref;if(Q(r)){var n=t.context,i=t.componentInstance||t.elm,a=e?null:i,s=e?void 0:i;if(Ht(r)){No(r,n,[a],n,"template ref function");return}var o=t.data.refInFor,u=typeof r=="string"||typeof r=="number",c=Ra(r),l=n.$refs;if(u||c){if(o){var d=u?l[r]:r.value;e?Ke(d)&&Wo(d,i):Ke(d)?d.includes(i)||d.push(i):u?(l[r]=[i],EA(n,r,l[r])):r.value=[i]}else if(u){if(e&&l[r]!==i)return;l[r]=s,EA(n,r,a)}else if(c){if(e&&r.value!==i)return;r.value=a}}}}function EA(t,e,r){var n=t._setupState;n&&hn(n,e)&&(Ra(n[e])?n[e].value=r:n[e]=r)}var mo=new di("",{},[]),hf=["create","activate","update","remove","destroy"];function uu(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&Q(t.data)===Q(e.data)&&gK(t,e)||Yt(t.isAsyncPlaceholder)&&$e(e.asyncFactory.error))}function gK(t,e){if(t.tag!=="input")return!0;var r,n=Q(r=t.data)&&Q(r=r.attrs)&&r.type,i=Q(r=e.data)&&Q(r=r.attrs)&&r.type;return n===i||OS(n)&&OS(i)}function vK(t,e,r){var n,i,a={};for(n=e;n<=r;++n)i=t[n].key,Q(i)&&(a[i]=n);return a}function bK(t){var e,r,n={},i=t.modules,a=t.nodeOps;for(e=0;e<hf.length;++e)for(n[hf[e]]=[],r=0;r<i.length;++r)Q(i[r][hf[e]])&&n[hf[e]].push(i[r][hf[e]]);function s(P){return new di(a.tagName(P).toLowerCase(),{},[],void 0,P)}function o(P,x){function $(){--$.listeners===0&&u(P)}return $.listeners=x,$}function u(P){var x=a.parentNode(P);Q(x)&&a.removeChild(x,P)}function c(P,x,$,D,M,R,N){if(Q(P.elm)&&Q(R)&&(P=R[N]=lS(P)),P.isRootInsert=!M,!l(P,x,$,D)){var j=P.data,z=P.children,V=P.tag;Q(V)?(P.elm=P.ns?a.createElementNS(P.ns,V):a.createElement(V,P),S(P),m(P,z,x),Q(j)&&_(P,x),p($,P.elm,D)):Yt(P.isComment)?(P.elm=a.createComment(P.text),p($,P.elm,D)):(P.elm=a.createTextNode(P.text),p($,P.elm,D))}}function l(P,x,$,D){var M=P.data;if(Q(M)){var R=Q(P.componentInstance)&&M.keepAlive;if(Q(M=M.hook)&&Q(M=M.init)&&M(P,!1),Q(P.componentInstance))return d(P,x),p($,P.elm,D),Yt(R)&&f(P,x,$,D),!0}}function d(P,x){Q(P.data.pendingInsert)&&(x.push.apply(x,P.data.pendingInsert),P.data.pendingInsert=null),P.elm=P.componentInstance.$el,b(P)?(_(P,x),S(P)):(Al(P),x.push(P))}function f(P,x,$,D){for(var M,R=P;R.componentInstance;)if(R=R.componentInstance._vnode,Q(M=R.data)&&Q(M=M.transition)){for(M=0;M<n.activate.length;++M)n.activate[M](mo,R);x.push(R);break}p($,P.elm,D)}function p(P,x,$){Q(P)&&(Q($)?a.parentNode($)===P&&a.insertBefore(P,x,$):a.appendChild(P,x))}function m(P,x,$){if(Ke(x))for(var D=0;D<x.length;++D)c(x[D],$,P.elm,null,!0,x,D);else Ep(P.text)&&a.appendChild(P.elm,a.createTextNode(String(P.text)))}function b(P){for(;P.componentInstance;)P=P.componentInstance._vnode;return Q(P.tag)}function _(P,x){for(var $=0;$<n.create.length;++$)n.create[$](mo,P);e=P.data.hook,Q(e)&&(Q(e.create)&&e.create(mo,P),Q(e.insert)&&x.push(P))}function S(P){var x;if(Q(x=P.fnScopeId))a.setStyleScope(P.elm,x);else for(var $=P;$;)Q(x=$.context)&&Q(x=x.$options._scopeId)&&a.setStyleScope(P.elm,x),$=$.parent;Q(x=Hu)&&x!==P.context&&x!==P.fnContext&&Q(x=x.$options._scopeId)&&a.setStyleScope(P.elm,x)}function E(P,x,$,D,M,R){for(;D<=M;++D)c($[D],R,P,x,!1,$,D)}function O(P){var x,$,D=P.data;if(Q(D))for(Q(x=D.hook)&&Q(x=x.destroy)&&x(P),x=0;x<n.destroy.length;++x)n.destroy[x](P);if(Q(x=P.children))for($=0;$<P.children.length;++$)O(P.children[$])}function h(P,x,$){for(;x<=$;++x){var D=P[x];Q(D)&&(Q(D.tag)?(v(D),O(D)):u(D.elm))}}function v(P,x){if(Q(x)||Q(P.data)){var $,D=n.remove.length+1;for(Q(x)?x.listeners+=D:x=o(P.elm,D),Q($=P.componentInstance)&&Q($=$._vnode)&&Q($.data)&&v($,x),$=0;$<n.remove.length;++$)n.remove[$](P,x);Q($=P.data.hook)&&Q($=$.remove)?$(P,x):x()}else u(P.elm)}function g(P,x,$,D,M){for(var R=0,N=0,j=x.length-1,z=x[0],V=x[j],J=$.length-1,re=$[0],Y=$[J],U,K,X,se,Ae=!M;R<=j&&N<=J;)$e(z)?z=x[++R]:$e(V)?V=x[--j]:uu(z,re)?(C(z,re,D,$,N),z=x[++R],re=$[++N]):uu(V,Y)?(C(V,Y,D,$,J),V=x[--j],Y=$[--J]):uu(z,Y)?(C(z,Y,D,$,J),Ae&&a.insertBefore(P,z.elm,a.nextSibling(V.elm)),z=x[++R],Y=$[--J]):uu(V,re)?(C(V,re,D,$,N),Ae&&a.insertBefore(P,V.elm,z.elm),V=x[--j],re=$[++N]):($e(U)&&(U=vK(x,R,j)),K=Q(re.key)?U[re.key]:T(re,x,R,j),$e(K)?c(re,D,P,z.elm,!1,$,N):(X=x[K],uu(X,re)?(C(X,re,D,$,N),x[K]=void 0,Ae&&a.insertBefore(P,X.elm,z.elm)):c(re,D,P,z.elm,!1,$,N)),re=$[++N]);R>j?(se=$e($[J+1])?null:$[J+1].elm,E(P,se,$,N,J,D)):N>J&&h(x,R,j)}function T(P,x,$,D){for(var M=$;M<D;M++){var R=x[M];if(Q(R)&&uu(P,R))return M}}function C(P,x,$,D,M,R){if(P!==x){Q(x.elm)&&Q(D)&&(x=D[M]=lS(x));var N=x.elm=P.elm;if(Yt(P.isAsyncPlaceholder)){Q(x.asyncFactory.resolved)?A(P.elm,x,$):x.isAsyncPlaceholder=!0;return}if(Yt(x.isStatic)&&Yt(P.isStatic)&&x.key===P.key&&(Yt(x.isCloned)||Yt(x.isOnce))){x.componentInstance=P.componentInstance;return}var j,z=x.data;Q(z)&&Q(j=z.hook)&&Q(j=j.prepatch)&&j(P,x);var V=P.children,J=x.children;if(Q(z)&&b(x)){for(j=0;j<n.update.length;++j)n.update[j](P,x);Q(j=z.hook)&&Q(j=j.update)&&j(P,x)}$e(x.text)?Q(V)&&Q(J)?V!==J&&g(N,V,J,$,R):Q(J)?(Q(P.text)&&a.setTextContent(N,""),E(N,null,J,0,J.length-1,$)):Q(V)?h(V,0,V.length-1):Q(P.text)&&a.setTextContent(N,""):P.text!==x.text&&a.setTextContent(N,x.text),Q(z)&&Q(j=z.hook)&&Q(j=j.postpatch)&&j(P,x)}}function k(P,x,$){if(Yt($)&&Q(P.parent))P.parent.data.pendingInsert=x;else for(var D=0;D<x.length;++D)x[D].data.hook.insert(x[D])}var w=Qi("attrs,class,staticClass,staticStyle,key");function A(P,x,$,D){var M,R=x.tag,N=x.data,j=x.children;if(D=D||N&&N.pre,x.elm=P,Yt(x.isComment)&&Q(x.asyncFactory))return x.isAsyncPlaceholder=!0,!0;if(Q(N)&&(Q(M=N.hook)&&Q(M=M.init)&&M(x,!0),Q(M=x.componentInstance)))return d(x,$),!0;if(Q(R)){if(Q(j))if(!P.hasChildNodes())m(x,j,$);else if(Q(M=N)&&Q(M=M.domProps)&&Q(M=M.innerHTML)){if(M!==P.innerHTML)return!1}else{for(var z=!0,V=P.firstChild,J=0;J<j.length;J++){if(!V||!A(V,j[J],$,D)){z=!1;break}V=V.nextSibling}if(!z||V)return!1}if(Q(N)){var re=!1;for(var Y in N)if(!w(Y)){re=!0,_(x,$);break}!re&&N.class&&jv(N.class)}}else P.data!==x.text&&(P.data=x.text);return!0}return function(x,$,D,M){if($e($)){Q(x)&&O(x);return}var R=!1,N=[];if($e(x))R=!0,c($,N);else{var j=Q(x.nodeType);if(!j&&uu(x,$))C(x,$,N,null,null,M);else{if(j){if(x.nodeType===1&&x.hasAttribute(ZC)&&(x.removeAttribute(ZC),D=!0),Yt(D)&&A(x,$,N))return k($,N,!0),x;x=s(x)}var z=x.elm,V=a.parentNode(z);if(c($,N,z._leaveCb?null:V,a.nextSibling(z)),Q($.parent))for(var J=$.parent,re=b($);J;){for(var Y=0;Y<n.destroy.length;++Y)n.destroy[Y](J);if(J.elm=$.elm,re){for(var U=0;U<n.create.length;++U)n.create[U](mo,J);var K=J.data.hook.insert;if(K.merged)for(var X=1;X<K.fns.length;X++)K.fns[X]()}else Al(J);J=J.parent}Q(V)?h([x],0,0):Q(x.tag)&&O(x)}}return k($,N,R),$.elm}}var yK={create:tw,update:tw,destroy:function(e){tw(e,mo)}};function tw(t,e){(t.data.directives||e.data.directives)&&_K(t,e)}function _K(t,e){var r=t===mo,n=e===mo,i=xA(t.data.directives,t.context),a=xA(e.data.directives,e.context),s=[],o=[],u,c,l;for(u in a)c=i[u],l=a[u],c?(l.oldValue=c.value,l.oldArg=c.arg,pf(l,"update",e,t),l.def&&l.def.componentUpdated&&o.push(l)):(pf(l,"bind",e,t),l.def&&l.def.inserted&&s.push(l));if(s.length){var d=function(){for(var f=0;f<s.length;f++)pf(s[f],"inserted",e,t)};r?po(e,"insert",d):d()}if(o.length&&po(e,"postpatch",function(){for(var f=0;f<o.length;f++)pf(o[f],"componentUpdated",e,t)}),!r)for(u in i)a[u]||pf(i[u],"unbind",t,t,n)}var wK=Object.create(null);function xA(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=wK),r[SK(i)]=i,e._setupState&&e._setupState.__sfc){var a=i.def||Vv(e,"_setupState","v-"+i.name);typeof a=="function"?i.def={bind:a,update:a}:i.def=a}i.def=i.def||Vv(e.$options,"directives",i.name)}return r}function SK(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function pf(t,e,r,n,i){var a=t.def&&t.def[e];if(a)try{a(r.elm,t,r,n,i)}catch(s){ec(s,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var OK=[mK,yK];function PA(t,e){var r=e.componentOptions;if(!(Q(r)&&r.Ctor.options.inheritAttrs===!1)&&!($e(t.data.attrs)&&$e(e.data.attrs))){var n,i,a,s=e.elm,o=t.data.attrs||{},u=e.data.attrs||{};(Q(u.__ob__)||Yt(u._v_attr_proxy))&&(u=e.data.attrs=kt({},u));for(n in u)i=u[n],a=o[n],a!==i&&CA(s,n,i,e.data.pre);(Ad||lN)&&u.value!==o.value&&CA(s,"value",u.value);for(n in o)$e(u[n])&&(yE(n)?s.removeAttributeNS(SS,IN(n)):DN(n)||s.removeAttribute(n))}}function CA(t,e,r,n){n||t.tagName.indexOf("-")>-1?AA(t,e,r):WY(e)?Uv(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):DN(e)?t.setAttribute(e,GY(e,r)):yE(e)?Uv(r)?t.removeAttributeNS(SS,IN(e)):t.setAttributeNS(SS,e,r):AA(t,e,r)}function AA(t,e,r){if(Uv(r))t.removeAttribute(e);else{if(Ad&&!Md&&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 TK={create:PA,update:PA};function MA(t,e){var r=e.elm,n=e.data,i=t.data;if(!($e(n.staticClass)&&$e(n.class)&&($e(i)||$e(i.staticClass)&&$e(i.class)))){var a=YY(e),s=r._transitionClasses;Q(s)&&(a=_E(a,wE(s))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var EK={create:MA,update:MA},rw="__r",nw="__c";function xK(t){if(Q(t[rw])){var e=Ad?"change":"input";t[e]=[].concat(t[rw],t[e]||[]),delete t[rw]}Q(t[nw])&&(t.change=[].concat(t[nw],t.change||[]),delete t[nw])}var Kh;function PK(t,e,r){var n=Kh;return function i(){var a=e.apply(null,arguments);a!==null&&LN(t,i,r,n)}}var CK=pS&&!(eA&&Number(eA[1])<=53);function AK(t,e,r,n){if(CK){var i=MN,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)}}Kh.addEventListener(t,e,dN?{capture:r,passive:n}:r)}function LN(t,e,r,n){(n||Kh).removeEventListener(t,e._wrapper||e,r)}function iw(t,e){if(!($e(t.data.on)&&$e(e.data.on))){var r=e.data.on||{},n=t.data.on||{};Kh=e.elm||t.elm,xK(r),vN(r,n,AK,LN,PK,e.context),Kh=void 0}}var MK={create:iw,update:iw,destroy:function(t){return iw(t,mo)}},Cm;function $A(t,e){if(!($e(t.data.domProps)&&$e(e.data.domProps))){var r,n,i=e.elm,a=t.data.domProps||{},s=e.data.domProps||{};(Q(s.__ob__)||Yt(s._v_attr_proxy))&&(s=e.data.domProps=kt({},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=$e(n)?"":String(n);$K(i,o)&&(i.value=o)}else if(r==="innerHTML"&&SE(i.tagName)&&$e(i.innerHTML)){Cm=Cm||document.createElement("div"),Cm.innerHTML="<svg>".concat(n,"</svg>");for(var u=Cm.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 $K(t,e){return!t.composing&&(t.tagName==="OPTION"||kK(t,e)||DK(t,e))}function kK(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function DK(t,e){var r=t.value,n=t._vModifiers;if(Q(n)){if(n.number)return Vh(r)!==Vh(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var IK={create:$A,update:$A},RK=_c(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 aw(t){var e=NN(t.style);return t.staticStyle?kt(t.staticStyle,e):e}function NN(t){return Array.isArray(t)?aN(t):typeof t=="string"?RK(t):t}function LK(t,e){var r={},n;if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=aw(i.data))&&kt(r,n);(n=aw(t.data))&&kt(r,n);for(var a=t;a=a.parent;)a.data&&(n=aw(a.data))&&kt(r,n);return r}var NK=/^--/,kA=/\s*!important$/,DA=function(t,e,r){if(NK.test(e))t.style.setProperty(e,r);else if(kA.test(r))t.style.setProperty(xp(e),r.replace(kA,""),"important");else{var n=BK(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}},IA=["Webkit","Moz","ms"],Am,BK=_c(function(t){if(Am=Am||document.createElement("div").style,t=Ju(t),t!=="filter"&&t in Am)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<IA.length;r++){var n=IA[r]+e;if(n in Am)return n}});function RA(t,e){var r=e.data,n=t.data;if(!($e(r.staticStyle)&&$e(r.style)&&$e(n.staticStyle)&&$e(n.style))){var i,a,s=e.elm,o=n.staticStyle,u=n.normalizedStyle||n.style||{},c=o||u,l=NN(e.data.style)||{};e.data.normalizedStyle=Q(l.__ob__)?kt({},l):l;var d=LK(e,!0);for(a in c)$e(d[a])&&DA(s,a,"");for(a in d)i=d[a],i!==c[a]&&DA(s,a,i??"")}}var FK={create:RA,update:RA},BN=/\s+/;function FN(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(BN).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 jN(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(BN).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 HN(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&kt(e,LA(t.name||"v")),kt(e,t),e}else if(typeof t=="string")return LA(t)}}var LA=_c(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")}}),zN=fi&&!Md,yl="transition",sw="animation",Fg="transition",Gv="transitionend",TS="animation",VN="animationend";zN&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Fg="WebkitTransition",Gv="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(TS="WebkitAnimation",VN="webkitAnimationEnd"));var NA=fi?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function UN(t){NA(function(){NA(t)})}function zu(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),FN(t,e))}function _s(t,e){t._transitionClasses&&Wo(t._transitionClasses,e),jN(t,e)}function GN(t,e,r){var n=WN(t,e),i=n.type,a=n.timeout,s=n.propCount;if(!i)return r();var o=i===yl?Gv:VN,u=0,c=function(){t.removeEventListener(o,l),r()},l=function(d){d.target===t&&++u>=s&&c()};setTimeout(function(){u<s&&c()},a+1),t.addEventListener(o,l)}var jK=/\b(transform|all)(,|$)/;function WN(t,e){var r=window.getComputedStyle(t),n=(r[Fg+"Delay"]||"").split(", "),i=(r[Fg+"Duration"]||"").split(", "),a=BA(n,i),s=(r[TS+"Delay"]||"").split(", "),o=(r[TS+"Duration"]||"").split(", "),u=BA(s,o),c,l=0,d=0;e===yl?a>0&&(c=yl,l=a,d=i.length):e===sw?u>0&&(c=sw,l=u,d=o.length):(l=Math.max(a,u),c=l>0?a>u?yl:sw:null,d=c?c===yl?i.length:o.length:0);var f=c===yl&&jK.test(r[Fg+"Property"]);return{type:c,timeout:l,propCount:d,hasTransform:f}}function BA(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(r,n){return FA(r)+FA(t[n])}))}function FA(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function ES(t,e){var r=t.elm;Q(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=HN(t.data.transition);if(!$e(n)&&!(Q(r._enterCb)||r.nodeType!==1)){for(var i=n.css,a=n.type,s=n.enterClass,o=n.enterToClass,u=n.enterActiveClass,c=n.appearClass,l=n.appearToClass,d=n.appearActiveClass,f=n.beforeEnter,p=n.enter,m=n.afterEnter,b=n.enterCancelled,_=n.beforeAppear,S=n.appear,E=n.afterAppear,O=n.appearCancelled,h=n.duration,v=Hu,g=Hu.$vnode;g&&g.parent;)v=g.context,g=g.parent;var T=!v._isMounted||!t.isRootInsert;if(!(T&&!S&&S!=="")){var C=T&&c?c:s,k=T&&d?d:u,w=T&&l?l:o,A=T&&_||f,P=T&&Ht(S)?S:p,x=T&&E||m,$=T&&O||b,D=Vh(Zr(h)?h.enter:h),M=i!==!1&&!Md,R=OE(P),N=r._enterCb=Rv(function(){M&&(_s(r,w),_s(r,k)),N.cancelled?(M&&_s(r,C),$&&$(r)):x&&x(r),r._enterCb=null});t.data.show||po(t,"insert",function(){var j=r.parentNode,z=j&&j._pending&&j._pending[t.key];z&&z.tag===t.tag&&z.elm._leaveCb&&z.elm._leaveCb(),P&&P(r,N)}),A&&A(r),M&&(zu(r,C),zu(r,k),UN(function(){_s(r,C),N.cancelled||(zu(r,w),R||(KN(D)?setTimeout(N,D):GN(r,a,N)))})),t.data.show&&(e&&e(),P&&P(r,N)),!M&&!R&&N()}}}function YN(t,e){var r=t.elm;Q(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=HN(t.data.transition);if($e(n)||r.nodeType!==1)return e();if(Q(r._leaveCb))return;var i=n.css,a=n.type,s=n.leaveClass,o=n.leaveToClass,u=n.leaveActiveClass,c=n.beforeLeave,l=n.leave,d=n.afterLeave,f=n.leaveCancelled,p=n.delayLeave,m=n.duration,b=i!==!1&&!Md,_=OE(l),S=Vh(Zr(m)?m.leave:m),E=r._leaveCb=Rv(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),b&&(_s(r,o),_s(r,u)),E.cancelled?(b&&_s(r,s),f&&f(r)):(e(),d&&d(r)),r._leaveCb=null});p?p(O):O();function O(){E.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),c&&c(r),b&&(zu(r,s),zu(r,u),UN(function(){_s(r,s),E.cancelled||(zu(r,o),_||(KN(S)?setTimeout(E,S):GN(r,a,E)))})),l&&l(r,E),!b&&!_&&E())}}function KN(t){return typeof t=="number"&&!isNaN(t)}function OE(t){if($e(t))return!1;var e=t.fns;return Q(e)?OE(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function jA(t,e){e.data.show!==!0&&ES(e)}var HK=fi?{create:jA,activate:jA,remove:function(t,e){t.data.show!==!0?YN(t,e):e()}}:{},zK=[TK,EK,MK,IK,FK,HK],VK=zK.concat(OK),UK=bK({nodeOps:pK,modules:VK});Md&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&TE(t,"input")});var qN={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?po(r,"postpatch",function(){qN.componentUpdated(t,e,r)}):HA(t,e,r.context),t._vOptions=[].map.call(t.options,Wv)):(r.tag==="textarea"||OS(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",GK),t.addEventListener("compositionend",UA),t.addEventListener("change",UA),Md&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){HA(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,Wv);if(i.some(function(s,o){return!Qu(s,n[o])})){var a=t.multiple?e.value.some(function(s){return VA(s,i)}):e.value!==e.oldValue&&VA(e.value,i);a&&TE(t,"change")}}}};function HA(t,e,r){zA(t,e),(Ad||lN)&&setTimeout(function(){zA(t,e)},0)}function zA(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=oN(n,Wv(s))>-1,s.selected!==a&&(s.selected=a);else if(Qu(Wv(s),n)){t.selectedIndex!==o&&(t.selectedIndex=o);return}i||(t.selectedIndex=-1)}}function VA(t,e){return e.every(function(r){return!Qu(r,t)})}function Wv(t){return"_value"in t?t._value:t.value}function GK(t){t.target.composing=!0}function UA(t){t.target.composing&&(t.target.composing=!1,TE(t.target,"input"))}function TE(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function xS(t){return t.componentInstance&&(!t.data||!t.data.transition)?xS(t.componentInstance._vnode):t}var WK={bind:function(t,e,r){var n=e.value;r=xS(r);var i=r.data&&r.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&i?(r.data.show=!0,ES(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=xS(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?ES(r,function(){t.style.display=t.__vOriginalDisplay}):YN(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)}},YK={model:qN,show:WK},XN={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 PS(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?PS(ON(e.children)):t}function JN(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[Ju(n)]=i[n];return e}function GA(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function KK(t){for(;t=t.parent;)if(t.data.transition)return!0}function qK(t,e){return e.key===t.key&&e.tag===t.tag}var XK=function(t){return t.tag||Gh(t)},JK=function(t){return t.name==="show"},QK={name:"transition",props:XN,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(XK),!!r.length)){var n=this.mode,i=r[0];if(KK(this.$vnode))return i;var a=PS(i);if(!a)return i;if(this._leaving)return GA(t,i);var s="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?s+"comment":s+a.tag:Ep(a.key)?String(a.key).indexOf(s)===0?a.key:s+a.key:a.key;var o=(a.data||(a.data={})).transition=JN(this),u=this._vnode,c=PS(u);if(a.data.directives&&a.data.directives.some(JK)&&(a.data.show=!0),c&&c.data&&!qK(a,c)&&!Gh(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var l=c.data.transition=kt({},o);if(n==="out-in")return this._leaving=!0,po(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),GA(t,i);if(n==="in-out"){if(Gh(a))return u;var d,f=function(){d()};po(o,"afterEnter",f),po(o,"enterCancelled",f),po(l,"delayLeave",function(p){d=p})}}return i}}},QN=kt({tag:String,moveClass:String},XN);delete QN.mode;var ZK={props:QN,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=PN(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=JN(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 c=[],l=[],o=0;o<n.length;o++){var u=n[o];u.data.transition=s,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?c.push(u):l.push(u)}this.kept=t(e,null,c),this.removed=l}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(eq),t.forEach(tq),t.forEach(rq),this._reflow=document.body.offsetHeight,t.forEach(function(r){if(r.data.moved){var n=r.elm,i=n.style;zu(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Gv,n._moveCb=function a(s){s&&s.target!==n||(!s||/transform$/.test(s.propertyName))&&(n.removeEventListener(Gv,a),n._moveCb=null,_s(n,e))})}}))},methods:{hasMove:function(t,e){if(!zN)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(i){jN(r,i)}),FN(r,e),r.style.display="none",this.$el.appendChild(r);var n=WN(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function eq(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function tq(t){t.data.newPos=t.elm.getBoundingClientRect()}function rq(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 nq={Transition:QK,TransitionGroup:ZK};Ne.config.mustUseProp=VY;Ne.config.isReservedTag=RN;Ne.config.isReservedAttr=HY;Ne.config.getTagNamespace=ZY;Ne.config.isUnknownElement=eK;kt(Ne.options.directives,YK);kt(Ne.options.components,nq);Ne.prototype.__patch__=fi?UK:Rr;Ne.prototype.$mount=function(t,e){return t=t&&fi?tK(t):void 0,Y9(this,t,e)};fi&&setTimeout(function(){Ci.devtools&&Lv&&Lv.emit("init",Ne)},0);var ZN=function(){return(ZN=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)},ow={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function iq(t,e){return e?e.toUpperCase():""}function aq(t){for(var e,r={},n=0,i=t.split(ow.styleList);n<i.length;n++){var a=i[n].split(ow.styleProp),s=a[0],o=a[1];(s=s.trim())&&(typeof o=="string"&&(o=o.trim()),r[e=s,e.replace(ow.kebab,iq)]=o)}return r}function ve(){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]=aq(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 c=0,l=Object.keys(arguments[n][t]||{});c<l.length;c++)e=l[c],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]=ZN({},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}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 mf(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){sq(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 sq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function oq(t,e){if(t==null)return{};var r=uq(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function uq(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function Yv(t){"@babel/helpers - typeof";return Yv=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},Yv(t)}var xs="_uid",yn=Ne.version.startsWith("3"),EE=yn?"ref_for":"refInFor",cq=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],G=Ne.extend.bind(Ne);if(yn){var lq=Ne.extend,dq=["router-link","transition","transition-group"],fq=Ne.vModelDynamic.created,hq=Ne.vModelDynamic.beforeUpdate;Ne.vModelDynamic.created=function(t,e,r){fq.call(this,t,e,r),t._assign||(t._assign=function(){})},Ne.vModelDynamic.beforeUpdate=function(t,e,r){hq.call(this,t,e,r),t._assign||(t._assign=function(){})},G=(function(e){if(Yv(e)==="object"&&e.render&&!e.__alreadyPatched){var r=e.render;e.__alreadyPatched=!0,e.render=function(n){var i=function(f,p,m){var b=m===void 0?[]:[Array.isArray(m)?m.filter(Boolean):m],_=typeof f=="string"&&!dq.includes(f),S=p&&Yv(p)==="object"&&!Array.isArray(p);if(!S)return n.apply(void 0,[f,p].concat(b));var E=p.attrs,O=p.props,h=oq(p,["attrs","props"]),v=mf(mf({},h),{},{attrs:E,props:_?{}:O});return f==="router-link"&&!v.slots&&!v.scopedSlots&&(v.scopedSlots={$hasNormal:function(){}}),n.apply(void 0,[f,v].concat(b))};if(e.functional){var a,s,o=arguments[1],u=mf({},o);u.data={attrs:mf({},o.data.attrs||{}),props:mf({},o.data.props||{})},Object.keys(o.data||{}).forEach(function(d){cq.includes(d)?u.data[d]=o.data[d]:d in o.props?u.data.props[d]=o.data[d]:d.startsWith("on")||(u.data.attrs[d]=o.data[d])});var c=["_ctx"],l=((a=o.children)===null||a===void 0||(s=a.default)===null||s===void 0?void 0:s.call(a))||o.children;return l&&Object.keys(u.children).filter(function(d){return!c.includes(d)}).length===0?delete u.children:u.children=l,u.data.on=o.listeners,r.call(this,i,u)}return r.call(this,i)}}return lq.call(this,e)}).bind(Ne)}var xE=Ne.nextTick,Dd=typeof window<"u",eB=typeof document<"u",tB=typeof navigator<"u",rB=typeof Promise<"u",pq=typeof MutationObserver<"u"||typeof WebKitMutationObserver<"u"||typeof MozMutationObserver<"u",ht=Dd&&eB&&tB,Kt=Dd?window:{},Id=eB?document:{},nB=tB?navigator:{},mq=(nB.userAgent||"").toLowerCase(),gq=mq.indexOf("jsdom")>0,vq=function(){var t=!1;if(ht)try{var e={get passive(){t=!0}};Kt.addEventListener("test",e,e),Kt.removeEventListener("test",e,e)}catch{t=!1}return t}(),Kv=ht&&("ontouchstart"in Id.documentElement||nB.maxTouchPoints>0),gf=ht&&!!(Kt.PointerEvent||Kt.MSPointerEvent),YA=ht&&"IntersectionObserver"in Kt&&"IntersectionObserverEntry"in Kt&&"intersectionRatio"in Kt.IntersectionObserverEntry.prototype,bq="BvConfig",_l="$bvConfig",yq=["xs","sm","md","lg","xl"],_q=/\[(\d+)]/g,wq=/^(BV?)/,iB=/^\d+$/,Sq=/^\..+/,Oq=/^#/,Tq=/^#[A-Za-z]+[\w\-:.]*$/,Eq=/(<([^>]+)>)/gi,xq=/\B([A-Z])/g,Pq=/([a-z])([A-Z])/g,Cq=/^[0-9]*\.?[0-9]+$/,Aq=/\+/g,Mq=/[-/\\^$*+?.()|[\]{}]/g,aB=/[\s\uFEFF\xA0]+/g,jg=/\s+/,$q=/\/\*$/,kq=/(\s|^)(\w)/g,Dq=/^\s+/,Iq=/_/g,Rq=/-(\w)/g,Lq=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,Nq=/-|\s|T/,Bq=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,KA=/^.*(#[^#]+)$/,Fq=/%2C/g,jq=/[!'()*]/g,Hq=/^(\?|#|&)/,zq=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,Vq=/[/:]/,Uq=/^col-/,Gq=/^BIcon/,Wq=/-u-.+/;function CS(t){"@babel/helpers - typeof";return CS=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},CS(t)}function Eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xb(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&&qh(t,e)}function Pb(t){var e=sB();return function(){var n=Xh(t),i;if(e){var a=Xh(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Yq(this,i)}}function Yq(t,e){if(e&&(CS(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Kq(t)}function Kq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qv(t){var e=typeof Map=="function"?new Map:void 0;return qv=function(n){if(n===null||!qq(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 Hg(n,arguments,Xh(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),qh(i,n)},qv(t)}function Hg(t,e,r){return sB()?Hg=Reflect.construct:Hg=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),c=new u;return s&&qh(c,s.prototype),c},Hg.apply(null,arguments)}function sB(){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 qq(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function qh(t,e){return qh=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qh(t,e)}function Xh(t){return Xh=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xh(t)}var PE=Dd?Kt.Element:function(t){xb(r,t);var e=Pb(r);function r(){return Eb(this,r),e.apply(this,arguments)}return r}(qv(Object)),To=Dd?Kt.HTMLElement:function(t){xb(r,t);var e=Pb(r);function r(){return Eb(this,r),e.apply(this,arguments)}return r}(PE),oB=Dd?Kt.SVGElement:function(t){xb(r,t);var e=Pb(r);function r(){return Eb(this,r),e.apply(this,arguments)}return r}(PE),uB=Dd?Kt.File:function(t){xb(r,t);var e=Pb(r);function r(){return Eb(this,r),e.apply(this,arguments)}return r}(qv(Object));function Xv(t){"@babel/helpers - typeof";return Xv=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},Xv(t)}var Cb=function(e){return Xv(e)},Xq=function(e){return Object.prototype.toString.call(e).slice(8,-1)},Zt=function(e){return e===void 0},Ot=function(e){return e===null},at=function(e){return Zt(e)||Ot(e)},be=function(e){return Cb(e)==="function"},Ei=function(e){return Cb(e)==="boolean"},We=function(e){return Cb(e)==="string"},Ui=function(e){return Cb(e)==="number"},_h=function(e){return Cq.test(String(e))},nt=function(e){return Array.isArray(e)},Jt=function(e){return e!==null&&Xv(e)==="object"},en=function(e){return Object.prototype.toString.call(e)==="[object Object]"},td=function(e){return e instanceof Date},rc=function(e){return e instanceof Event},Jq=function(e){return e instanceof uB},qA=function(e){return Xq(e)==="RegExp"},Qq=function(e){return!at(e)&&be(e.then)&&be(e.catch)};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 nc(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){Ap(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 Ap(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mp=function(){return Object.assign.apply(Object,arguments)},go=function(e,r){return Object.create(e,r)},Ab=function(e,r){return Object.defineProperties(e,r)},CE=function(e,r,n){return Object.defineProperty(e,r,n)},JA=function(e){return Object.getOwnPropertyNames(e)},Ce=function(e){return Object.keys(e)},ic=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},Zq=function(e){return Object.prototype.toString.call(e)},Yo=function(e){return nc({},e)},Zi=function(e,r){return Ce(e).filter(function(n){return r.indexOf(n)!==-1}).reduce(function(n,i){return nc(nc({},n),{},Ap({},i,e[i]))},{})},Re=function(e,r){return Ce(e).filter(function(n){return r.indexOf(n)===-1}).reduce(function(n,i){return nc(nc({},n),{},Ap({},i,e[i]))},{})},eX=function t(e,r){return Jt(e)&&Jt(r)&&Ce(r).forEach(function(n){Jt(r[n])?((!e[n]||!Jt(e[n]))&&(e[n]=r[n]),t(e[n],r[n])):Mp(e,Ap({},n,r[n]))}),e},fe=function(e){return Ce(e).sort().reduce(function(r,n){return nc(nc({},r),{},Ap({},n,e[n]))},{})},Oi=function(){return{enumerable:!0,configurable:!1,writable:!1}};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 ZA(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){cB(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 cB(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tX(t){return aX(t)||iX(t)||nX(t)||rX()}function rX(){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 nX(t,e){if(t){if(typeof t=="string")return AS(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 AS(t,e)}}function iX(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function aX(t){if(Array.isArray(t))return AS(t)}function AS(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 xi=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return nt(e)?e.reduce(function(n,i){return[].concat(tX(n),[t(i,i)])},[]):en(e)?Ce(e).reduce(function(n,i){return ZA(ZA({},n),{},cB({},i,t(e[i],e[i])))},{}):r},Oe=function(e){return e},lB=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=nt(r)?r.join("."):r,!r||!Jt(e))return n;if(r in e)return e[r];r=String(r).replace(_q,".$1");var i=r.split(".").filter(Oe);return i.length===0?n:i.every(function(a){return Jt(e)&&a in e&&!at(e=e[a])})?e:Ot(e)?null:n},Gr=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=lB(e,r);return at(i)?n:i},eM=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},sX=function(){return eM("BOOTSTRAP_VUE_NO_WARN")||eM("NODE_ENV")==="production"},xr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;sX()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},Jv=function(e){return ht?!1:(xr("".concat(e,": Can not be called during SSR.")),!0)},tM=function(e){return rB?!1:(xr("".concat(e,": Requires Promise support.")),!0)},oX=function(e){return pq?!1:(xr("".concat(e,": Requires MutationObserver support.")),!0)};function uX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rM(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 cX(t,e,r){return e&&rM(t.prototype,e),r&&rM(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var lX=function(){function t(){uX(this,t),this.$_config={}}return cX(t,[{key:"setConfig",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(en(n)){var i=JA(n);i.forEach(function(a){var s=n[a];a==="breakpoints"?!nt(s)||s.length<2||s.some(function(o){return!We(o)||o.length===0})?xr('"breakpoints" must be an array of at least 2 breakpoint names',bq):r.$_config[a]=xi(s):en(s)&&(r.$_config[a]=JA(s).reduce(function(o,u){return Zt(s[u])||(o[u]=xi(s[u])),o},r.$_config[a]||{}))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return xi(this.$_config)}},{key:"getConfigValue",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return xi(lB(this.$_config,r,n))}}]),t}(),dX=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne;r.prototype[_l]=Ne.prototype[_l]=r.prototype[_l]||Ne.prototype[_l]||new lX,r.prototype[_l].setConfig(e)};function nM(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 iM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?nM(Object(r),!0).forEach(function(n){fX(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hX=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&&Ne!==r&&!gq&&xr(e),t=!0}}(),dB=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,hX(o),dX(u,o),gX(o,r),bX(o,n),pX(o,i))};return a.installed=!1,a},pe=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return iM(iM({},r),{},{install:dB(e)})},pX=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])},mX=function(e,r,n){e&&r&&n&&e.component(r,n)},gX=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)mX(e,n,r[n])},vX=function(e,r,n){e&&r&&n&&e.directive(r.replace(/^VB/,"B"),n)},bX=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)vX(e,n,r[n])},fB="BAlert",hB="BAspect",pB="BAvatar",mB="BAvatarGroup",gB="BBadge",vB="BBreadcrumb",bB="BBreadcrumbItem",yB="BBreadcrumbLink",_B="BButton",wB="BButtonClose",SB="BButtonGroup",OB="BButtonToolbar",TB="BCalendar",AE="BCard",EB="BCardBody",xB="BCardFooter",PB="BCardGroup",CB="BCardHeader",AB="BCardImg",MB="BCardImgLazy",$B="BCardSubTitle",kB="BCardText",DB="BCardTitle",IB="BCarousel",RB="BCarouselSlide",LB="BCol",Wr="BCollapse",NB="BContainer",ac="BDropdown",BB="BDropdownDivider",FB="BDropdownForm",jB="BDropdownGroup",HB="BDropdownHeader",zB="BDropdownItem",VB="BDropdownItemButton",UB="BDropdownText",GB="BEmbed",WB="BForm",YB="BFormCheckbox",KB="BFormCheckboxGroup",qB="BFormDatalist",XB="BFormDatepicker",ME="BFormFile",JB="BFormGroup",QB="BFormInput",ZB="BFormInvalidFeedback",eF="BFormRadio",tF="BFormRadioGroup",rF="BFormRating",nF="BFormRow",iF="BFormSelect",aF="BFormSelectOption",sF="BFormSelectOptionGroup",oF="BFormSpinbutton",uF="BFormTag",cF="BFormTags",lF="BFormText",dF="BFormTextarea",fF="BFormTimepicker",hF="BFormValidFeedback",pF="BIcon",yX="BIconBase",mF="BImg",gF="BImgLazy",vF="BInputGroup",bF="BInputGroupAddon",yF="BInputGroupAppend",_F="BInputGroupPrepend",wF="BInputGroupText",SF="BJumbotron",$E="BLink",OF="BListGroup",TF="BListGroupItem",EF="BMedia",xF="BMediaAside",PF="BMediaBody",Pn="BModal",_X="BMsgBox",CF="BNav",AF="BNavbar",MF="BNavbarBrand",$F="BNavbarNav",kF="BNavbarToggle",DF="BNavForm",IF="BNavItem",RF="BNavItemDropdown",wX="BNavText",LF="BOverlay",Mb="BPagination",MS="BPaginationNav",Cu="BPopover",NF="BProgress",BF="BProgressBar",FF="BRow",jF="BSidebar",HF="BSkeleton",zF="BSkeletonIcon",VF="BSkeletonImg",UF="BSkeletonTable",GF="BSkeletonWrapper",WF="BSpinner",YF="BTab",sc="BTable",KF="BTableCell",qF="BTableLite",XF="BTableSimple",JF="BTabs",QF="BTbody",ZF="BTfoot",e4="BTh",t4="BThead",r4="BTime",ws="BToast",Gl="BToaster",Au="BTooltip",n4="BTr",SX="BVCollapse",OX="BVFormBtnLabelControl",TX="BVFormRatingStar",EX="BVPopover",xX="BVPopoverTemplate",PX="BVPopper",CX="BVTabButton",AX="BVToastPop",MX="BVTooltip",$X="BVTooltipTemplate",kX="BVTransition",i4="BVTransporter",DX="BVTransporterTarget",IX="activate-tab",a4="blur",RX="cancel",Bn="change",LX="changed",Mi="click",$S="close",rd="context",s4="context-changed",kE="destroyed",kS="disable",zg="disabled",NX="dismissed",BX="dismiss-count-down",DS="enable",Vg="enabled",IS="filtered",o4="first",FX="focus",Qv="focusin",Zv="focusout",wh="head-clicked",Qt="hidden",In="hide",jX="img-error",u4="input",c4="last",l4="mouseenter",d4="mouseleave",f4="next",HX="ok",aM="open",h4="page-click",zX="paused",p4="prev",VX="refresh",Jf="refreshed",UX="remove",e0="row-clicked",GX="row-contextmenu",WX="row-dblclicked",YX="row-hovered",KX="row-middle-clicked",qX="row-selected",XX="row-unhovered",m4="selected",Fr="show",pn="shown",uw="sliding-end",JX="sliding-start",QX="sort-changed",ZX="tag-state",g4="toggle",eJ="unpaused",tJ="update",v4=yn?"vnodeBeforeUnmount":"hook:beforeDestroy",Jh=yn?"vNodeUnmounted":"hook:destroyed",Ko="update:",b4="bv",y4="::",$n={passive:!0},Ue={passive:!0,capture:!1},nd=void 0,mn=Array,B=Boolean,rJ=Date,vn=Function,Qr=Number,gr=Object,nJ=RegExp,I=String,_4=[mn,vn],iJ=[mn,gr],we=[mn,gr,I],tn=[mn,I],aJ=[B,Qr],Qh=[B,Qr,I],rn=[B,I],Vu=[rJ,I],sJ=[vn,I],le=[Qr,I],oJ=[Qr,gr,I],uJ=[gr,vn],w4=[gr,I],cJ="add-button-text",sM="append",lJ="aside",oM="badge",uM="bottom-row",Ms="button-content",cM="custom-foot",dJ="decrement",_r="default",fJ="description",hJ="dismiss",pJ="drop-placeholder",mJ="ellipsis-text",S4="empty",gJ="emptyfiltered",lM="file-name",DE="first",vJ="first-text",RS="footer",Bo="header",bJ="header-close",yJ="icon-clear",_J="icon-empty",wJ="icon-full",SJ="icon-half",OJ="img",TJ="increment",EJ="invalid-feedback",O4="label",xJ="last-text",dM="lead",PJ="loading",CJ="modal-backdrop",fM="modal-cancel",AJ="modal-footer",MJ="modal-header",$J="modal-header-close",hM="modal-ok",cw="modal-title",kJ="nav-next-decade",DJ="nav-next-month",IJ="nav-next-year",RJ="nav-prev-decade",LJ="nav-prev-month",NJ="nav-prev-year",BJ="nav-this-month",FJ="next-text",jJ="overlay",HJ="page",zJ="placeholder",pM="prepend",VJ="prev-text",vf="row-details",Qf="table-busy",mM="table-caption",gM="table-colgroup",UJ="tabs-end",GJ="tabs-start",WJ="text",YJ="thead-top",$p="title",KJ="toast-title",vM="top-row",qJ="valid-feedback",oc=function(){return Array.from.apply(Array,arguments)},Ee=function(e,r){return e.indexOf(r)!==-1},Ye=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)},Sh=function(e,r){var n=be(r)?r:function(){return r};return Array.apply(null,{length:e}).map(n)},XJ=function(e){return e.reduce(function(r,n){return Ye(r,n)},[])},bf=function t(e){return e.reduce(function(r,n){return Ye(r,Array.isArray(n)?t(n):n)},[])},$s=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=Ye(e).filter(Oe),e.some(function(i){return r[i]||n[i]})},jr=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=Ye(e).filter(Oe);for(var a,s=0;s<e.length&&!a;s++){var o=e[s];a=n[o]||i[o]}return be(a)?a(r):a},Pe=G({methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_r,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 $s(e,r,n)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_r,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=jr(e,r,n,i);return a&&Ye(a)}}}),oe=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Be=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},lw=function(e,r){return Be(e).toFixed(oe(r,0))},IE=function(e){return e.replace(xq,"-$1").toLowerCase()},T4=function(e){return e=IE(e).replace(Rq,function(r,n){return n?n.toUpperCase():""}),e.charAt(0).toUpperCase()+e.slice(1)},Ug=function(e){return e.replace(Iq," ").replace(Pq,function(r,n,i){return n+" "+i}).replace(kq,function(r,n,i){return n+i.toUpperCase()})},JJ=function(e){return e=We(e)?e.trim():String(e),e.charAt(0).toLowerCase()+e.slice(1)},E4=function(e){return e=We(e)?e.trim():String(e),e.charAt(0).toUpperCase()+e.slice(1)},RE=function(e){return e.replace(Mq,"\\$&")},_e=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return at(e)?"":nt(e)||en(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},QJ=function(e){return _e(e).replace(Dq,"")},Eo=function(e){return _e(e).trim()},t0=function(e){return _e(e).toLowerCase()},Gg=PE.prototype,ZJ=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),eQ=Gg.matches||Gg.msMatchesSelector||Gg.webkitMatchesSelector,tQ=Gg.closest||function(t){var e=this;do{if(Ps(e,t))return e;e=e.parentElement||e.parentNode}while(!Ot(e)&&e.nodeType===Node.ELEMENT_NODE);return null},st=(Kt.requestAnimationFrame||Kt.webkitRequestAnimationFrame||Kt.mozRequestAnimationFrame||Kt.msRequestAnimationFrame||Kt.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(Kt),rQ=Kt.MutationObserver||Kt.WebKitMutationObserver||Kt.MozMutationObserver||null,nQ=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},_t=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},Fo=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=Id.activeElement;return r&&!e.some(function(n){return n===r})?r:null},Ya=function(e,r){return _e(e).toLowerCase()===_e(r).toLowerCase()},LE=function(e){return _t(e)&&e===Fo()},Yi=function(e){if(!_t(e)||!e.parentNode||!fr(Id.body,e)||Ml(e,"display")==="none")return!1;var r=uc(e);return!!(r&&r.height>0&&r.width>0)},ku=function(e){return!_t(e)||e.disabled||Na(e,"disabled")||Zh(e,"disabled")},NE=function(e){return _t(e)&&e.offsetHeight},ci=function(e,r){return oc((_t(r)?r:Id).querySelectorAll(e))},si=function(e,r){return(_t(r)?r:Id).querySelector(e)||null},Ps=function(e,r){return _t(e)?eQ.call(e,r):!1},Rn=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!_t(r))return null;var i=tQ.call(r,e);return n?i:i===r?null:i},fr=function(e,r){return e&&be(e.contains)?e.contains(r):!1},LS=function(e){return Id.getElementById(/^#/.test(e)?e.slice(1):e)||null},dn=function(e,r){r&&_t(e)&&e.classList&&e.classList.add(r)},qr=function(e,r){r&&_t(e)&&e.classList&&e.classList.remove(r)},Zh=function(e,r){return r&&_t(e)&&e.classList?e.classList.contains(r):!1},$t=function(e,r,n){r&&_t(e)&&e.setAttribute(r,n)},La=function(e,r){r&&_t(e)&&e.removeAttribute(r)},oi=function(e,r){return r&&_t(e)?e.getAttribute(r):null},Na=function(e,r){return r&&_t(e)?e.hasAttribute(r):null},Ur=function(e,r,n){r&&_t(e)&&(e.style[r]=n)},$b=function(e,r){r&&_t(e)&&(e.style[r]="")},Ml=function(e,r){return r&&_t(e)&&e.style[r]||null},uc=function(e){return _t(e)?e.getBoundingClientRect():null},ni=function(e){var r=Kt.getComputedStyle;return r&&_t(e)?r(e):{}},iQ=function(){var e=Kt.getSelection;return e?Kt.getSelection():null},NS=function(e){var r={top:0,left:0};if(!_t(e)||e.getClientRects().length===0)return r;var n=uc(e);if(n){var i=e.ownerDocument.defaultView;r.top=n.top+i.pageYOffset,r.left=n.left+i.pageXOffset}return r},aQ=function(e){var r={top:0,left:0};if(!_t(e))return r;var n={top:0,left:0},i=ni(e);if(i.position==="fixed")r=uc(e)||r;else{r=NS(e);for(var a=e.ownerDocument,s=e.offsetParent||a.documentElement;s&&(s===a.body||s===a.documentElement)&&ni(s).position==="static";)s=s.parentNode;if(s&&s!==e&&s.nodeType===Node.ELEMENT_NODE){n=NS(s);var o=ni(s);n.top+=Be(o.borderTopWidth,0),n.left+=Be(o.borderLeftWidth,0)}}return{top:r.top-n.top-Be(i.marginTop,0),left:r.left-n.left-Be(i.marginLeft,0)}},BS=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return ci(ZJ,e).filter(Yi).filter(function(r){return r.tabIndex>-1&&!r.disabled})},Ie=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch{}return LE(e)},Hn=function(e){try{e.blur()}catch{}return!LE(e)},kp=function(e){var r=go(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)}},sQ=Ne.prototype,FS=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=sQ[_l];return n?n.getConfigValue(e,r):xi(r)},ii=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?FS("".concat(e,".").concat(r),n):FS(e,{})},x4=function(){return FS("breakpoints",yq)},oQ=kp(function(){return x4()}),uQ=function(){return xi(oQ())},ep=kp(function(){var t=uQ();return t[0]="",t});function bM(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 Uu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bM(Object(r),!0).forEach(function(n){P4(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function P4(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kb=function(e,r){return e+E4(r)},C4=function(e,r){return JJ(r.replace(e,""))},xo=function(e,r){return r+(e?E4(e):"")},y=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nd,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,Uu(Uu(Uu({},e?{type:e}:{}),a?{required:a}:Zt(r)?{}:{default:Jt(r)?function(){return r}:r}),Zt(i)?{}:{validator:i})},Db=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(nt(e))return e.map(r);var n={};for(var i in e)ic(e,i)&&(n[r(i)]=Jt(e[i])?Yo(e[i]):e[i]);return n},xt=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Oe;return(nt(e)?e.slice():Ce(e)).reduce(function(i,a){return i[n(a)]=r[a],i},{})},A4=function(e,r,n){return Uu(Uu({},xi(e)),{},{default:function(){var a=ii(n,r,e.default);return be(a)?a():a}})},ee=function(e,r){return Ce(e).reduce(function(n,i){return Uu(Uu({},n),{},P4({},i,A4(e[i],i,r)))},{})},cQ=A4({},"","").default.name,Va=function(e){return be(e)&&e.name&&e.name!==cQ};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 vr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.type,i=n===void 0?nd:n,a=r.defaultValue,s=a===void 0?void 0:a,o=r.validator,u=o===void 0?void 0:o,c=r.event,l=c===void 0?u4:c,d=lQ({},e,y(i,s,u)),f=G({model:{prop:e,event:l},props:d});return{mixin:f,props:d,prop:e,event:l}},M4=function(e){return vq?Jt(e)?e:{capture:!!e||!1}:!!(Jt(e)?e.capture:e)},Tt=function(e,r,n,i){e&&e.addEventListener&&e.addEventListener(r,n,M4(i))},Dt=function(e,r,n,i){e&&e.removeEventListener&&e.removeEventListener(r,n,M4(i))},Ki=function(e){for(var r=e?Tt:Dt,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()},$4=function(e){return IE(e.replace(wq,""))},zt=function(e,r){return[b4,$4(e),r].join(y4)},hr=function(e,r){return[b4,r,$4(e)].join(y4)};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 fQ=ee({ariaLabel:y(I,"Close"),content:y(I,"×"),disabled:y(B,!1),textVariant:y(I)},wB),cc=G({name:wB,functional:!0,props:fQ,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},c={staticClass:"close",class:dQ({},"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&&rc(d)&&ke(d)}}};return $s(_r,u,o)||(c.domProps={innerHTML:n.content}),e("button",ve(i,c),jr(_r,{},u,o))}});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 Mu(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){hQ(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 hQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var k4={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},pQ=Mu(Mu({},k4),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),mQ={appear:y(B,!1),mode:y(I),noFade:y(B,!1),transProps:y(gr)},wc=G({name:kX,functional:!0,props:mQ,render:function(e,r){var n=r.children,i=r.data,a=r.props,s=a.transProps;en(s)||(s=a.noFade?k4:pQ,a.appear&&(s=Mu(Mu({},s),{},{appear:!0,appearClass:s.enterClass,appearActiveClass:s.enterActiveClass,appearToClass:s.enterToClass}))),s=Mu(Mu({mode:a.mode},s),{},{css:!0});var o=Mu({},i);return delete o.props,e("transition",ve(o,{props:s}),n)}}),yf;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 wM(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){Zf(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 Zf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ib=vr("show",{type:Qh,defaultValue:!1}),gQ=Ib.mixin,vQ=Ib.props,_f=Ib.prop,SM=Ib.event,OM=function(e){return e===""||Ei(e)?0:(e=oe(e,0),e>0?e:0)},dw=function(e){return e===""||e===!0?!0:oe(e,0)<1?!1:!!e},bQ=ee(fe(wM(wM({},vQ),{},{dismissLabel:y(I,"Close"),dismissible:y(B,!1),fade:y(B,!1),variant:y(I,"info")})),fB),yQ=G({name:fB,mixins:[gQ,Pe],props:bQ,data:function(){return{countDown:0,localShow:dw(this[_f])}},watch:(yf={},Zf(yf,_f,function(t){this.countDown=OM(t),this.localShow=dw(t)}),Zf(yf,"countDown",function(e){var r=this;this.clearCountDownInterval();var n=this[_f];_h(n)&&(this.$emit(BX,e),n!==e&&this.$emit(SM,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){r.countDown--},1e3)):this.$nextTick(function(){st(function(){r.localShow=!1})}))}),Zf(yf,"localShow",function(e){var r=this[_f];!e&&(this.dismissible||_h(r))&&this.$emit(NX),!_h(r)&&r!==e&&this.$emit(SM,e)}),yf),created:function(){this.$_filterTimer=null;var e=this[_f];this.countDown=OM(e),this.localShow=dw(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(cc,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(hJ)])),r=e("div",{staticClass:"alert",class:Zf({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[xs]},[a,this.normalizeSlot()])}return e(wc,{props:{noFade:!this.fade}},[r])}}),_Q=pe({components:{BAlert:yQ}}),Ss=Math.min,Qe=Math.max,D4=Math.abs,I4=Math.ceil,tp=Math.floor,R4=Math.pow,jS=Math.round;function wQ(t,e){return EQ(t)||TQ(t,e)||OQ(t,e)||SQ()}function SQ(){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 OQ(t,e){if(t){if(typeof t=="string")return TM(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 TM(t,e)}}function TM(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 TQ(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 EQ(t){if(Array.isArray(t))return t}var fw="b-aspect",xQ=ee({aspect:y(le,"1:1"),tag:y(I,"div")},hB),L4=G({name:hB,mixins:[Pe],props:xQ,computed:{padding:function(){var e=this.aspect,r=1;if(zq.test(e)){var n=e.split(Vq).map(function(o){return Be(o)||1}),i=wQ(n,2),a=i[0],s=i[1];r=a/s}else r=Be(e)||1;return"".concat(100/D4(r),"%")}},render:function(e){var r=e("div",{staticClass:"".concat(fw,"-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),n=e("div",{staticClass:"".concat(fw,"-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},this.normalizeSlot());return e(this.tag,{staticClass:"".concat(fw," d-flex")},[r,n])}}),PQ=pe({components:{BAspect:L4}});function qt(t){return yn?new Proxy(t,{get:function(r,n){return n in r?r[n]:void 0}}):t}var N4="a",CQ=function(e){return"%"+e.charCodeAt(0).toString(16)},Kc=function(e){return encodeURIComponent(_e(e)).replace(jq,CQ).replace(Fq,",")},EM=decodeURIComponent,AQ=function(e){if(!en(e))return"";var r=Ce(e).map(function(n){var i=e[n];return Zt(i)?"":Ot(i)?Kc(n):nt(i)?i.reduce(function(a,s){return Ot(s)?a.push(Kc(n)):Zt(s)||a.push(Kc(n)+"="+Kc(s)),a},[]).join("&"):Kc(n)+"="+Kc(i)}).filter(function(n){return n.length>0}).join("&");return r?"?".concat(r):""},xM=function(e){var r={};return e=_e(e).trim().replace(Hq,""),e&&e.split("&").forEach(function(n){var i=n.replace(Aq," ").split("="),a=EM(i.shift()),s=i.length>0?EM(i.join("=")):null;Zt(r[a])?r[a]=s:nt(r[a])?r[a].push(s):r[a]=[r[a],s]}),r},Dp=function(e){return!!(e.href||e.to)},B4=function(e){return!!(e&&!Ya(e,"a"))},MQ=function(e,r){var n=e.to,i=e.disabled,a=e.routerComponentName,s=!!qt(r).$router,o=!!qt(r).$nuxt;return!s||s&&(i||!n)?N4:a||(o?"nuxt-link":"router-link")},$Q=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&Ot(n)?"noopener":n||null},F4=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]:N4,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(B4(i))return null;if(We(n))return n||s;if(en(n)&&(n.path||n.query||n.hash)){var o=_e(n.path),u=AQ(n.query),c=_e(n.hash);return c=!c||c.charAt(0)==="#"?c:"#".concat(c),"".concat(o).concat(u).concat(c)||s}return a};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 kQ={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},DQ={width:null,height:null,focusable:null,role:null,"aria-label":null},BE={animation:y(I),content:y(I),flipH:y(B,!1),flipV:y(B,!1),fontScale:y(le,1),rotate:y(le,0),scale:y(le,1),shiftH:y(le,0),shiftV:y(le,0),stacked:y(B,!1),title:y(I),variant:y(I)},IQ=G({name:yX,functional:!0,props:BE,render:function(e,r){var n,i=r.data,a=r.props,s=r.children,o=a.animation,u=a.content,c=a.flipH,l=a.flipV,d=a.stacked,f=a.title,p=a.variant,m=Qe(Be(a.fontScale,1),0)||1,b=Qe(Be(a.scale,1),0)||1,_=Be(a.rotate,0),S=Be(a.shiftH,0),E=Be(a.shiftV,0),O=c||l||b!==1,h=O||_,v=S||E,g=!at(u),T=[h?"translate(8 8)":null,O?"scale(".concat((c?-1:1)*b," ").concat((l?-1:1)*b,")"):null,_?"rotate(".concat(_,")"):null,h?"translate(-8 -8)":null].filter(Oe),C=e("g",{attrs:{transform:T.join(" ")||null},domProps:g?{innerHTML:u||""}:{}},s);v&&(C=e("g",{attrs:{transform:"translate(".concat(16*S/16," ").concat(-16*E/16,")")}},[C])),d&&(C=e("g",[C]));var k=f?e("title",f):null,w=[k,C].filter(Oe);return e("svg",ve({staticClass:"b-icon bi",class:(n={},PM(n,"text-".concat(p),p),PM(n,"b-icon-animation-".concat(o),o),n),attrs:kQ,style:d?{}:{fontSize:m===1?null:"".concat(m*100,"%")}},i,d?{attrs:DQ}:{},{attrs:{xmlns:d?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),w)}});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 AM(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){RQ(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 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 LQ=Re(BE,["content"]),br=function(e,r){var n=IE(e),i="BIcon".concat(T4(e)),a="bi-".concat(n),s=n.replace(/-/g," "),o=Eo(r||"");return G({name:i,functional:!0,props:LQ,render:function(c,l){var d=l.data,f=l.props;return c(IQ,ve({props:{title:s},attrs:{"aria-label":s}},d,{staticClass:a,props:AM(AM({},f),{},{content:o})}))}})},MM=br("Blank",""),NQ=br("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"/>'),BQ=br("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"/>'),fBe=br("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"/>'),$M=br("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"/>'),kM=br("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"/>'),FQ=br("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"/>'),DM=br("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"/>'),IM=br("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"/>'),HS=br("CircleFill",'<circle cx="8" cy="8" r="8"/>'),jQ=br("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"/>'),HQ=br("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"/>'),zQ=br("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"/>'),VQ=br("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"/>'),UQ=br("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"/>'),hBe=br("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"/>'),pBe=br("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"/>'),GQ=br("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"/>'),WQ=br("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"/>'),YQ=br("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"/>'),j4=br("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 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 LM(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){KQ(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 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 qQ=function t(e,r){if(!e)return Ne.component(r);var n=(e.$options||{}).components,i=n&&n[r];return i||t(e.$parent,r)},H4=Re(BE,["content"]),XQ=ee(fe(LM(LM({},H4),{},{icon:y(I)})),pF),r0=G({name:pF,functional:!0,props:XQ,render:function(e,r){var n=r.data,i=r.props,a=r.parent,s=T4(Eo(i.icon||"")).replace(Gq,"");return e(s&&qQ(a,"BIcon".concat(s))||MM,ve(n,{props:xt(H4,i)}))}}),JQ=8,z4=46,gn=40,jo=35,Ns=13,FE=27,Ho=36,qi=37,n0=34,i0=33,ks=39,Ka=32,Ln=38,QQ=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,i=0;n&&i<e.length;i++)n=Ze(e[i],r[i]);return n},Ze=function t(e,r){if(e===r)return!0;var n=td(e),i=td(r);if(n||i)return n&&i?e.getTime()===r.getTime():!1;if(n=nt(e),i=nt(r),n||i)return n&&i?QQ(e,r):!1;if(n=Jt(e),i=Jt(r),n||i){if(!n||!i)return!1;var a=Ce(e).length,s=Ce(r).length;if(a!==s)return!1;for(var o in e){var u=ic(e,o),c=ic(r,o);if(u&&!c||!u&&c||!t(e[o],r[o]))return!1}}return String(e)===String(r)};function NM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var BM=function(e){return!e||Ce(e).length===0},ZQ=function(e){return{handler:function(n,i){if(!Ze(n,i)){if(BM(n)||BM(i)){this[e]=xi(n);return}for(var a in i)ic(n,a)||this.$delete(this.$data[e],a);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},V4=function(e,r){return G({data:function(){return NM({},r,xi(this[e]))},watch:NM({},e,ZQ(r))})};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 eZ(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){tZ(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 tZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rZ=V4("$attrs","bvAttrs"),nZ=G({computed:{bvAttrs:function(){var e=eZ({},this.$attrs);return Object.keys(e).forEach(function(r){e[r]===void 0&&delete e[r]}),e}}}),Pr=yn?nZ:rZ,Ua=function(e){return e.$root.$options.bvEventRoot||e.$root},Un="$_rootListeners",ea=G({computed:{bvEventRoot:function(){return Ua(this)}},created:function(){this[Un]={}},beforeDestroy:function(){var e=this;Ce(this[Un]||{}).forEach(function(r){e[Un][r].forEach(function(n){e.listenOffRoot(r,n)})}),this[Un]=null},methods:{registerRootListener:function(e,r){this[Un]&&(this[Un][e]=this[Un][e]||[],Ee(this[Un][e],r)||this[Un][e].push(r))},unregisterRootListener:function(e,r){this[Un]&&this[Un][e]&&(this[Un][e]=this[Un][e].filter(function(n){return n!==r}))},listenOnRoot:function(e,r){this.bvEventRoot&&(this.bvEventRoot.$on(e,r),this.registerRootListener(e,r))},listenOnRootOnce:function(e,r){var n=this;if(this.bvEventRoot){var i=function a(){n.unregisterRootListener(a),r.apply(void 0,arguments)};this.bvEventRoot.$once(e,i),this.registerRootListener(e,i)}},listenOffRoot:function(e,r){this.unregisterRootListener(e,r),this.bvEventRoot&&this.bvEventRoot.$off(e,r)},emitOnRoot:function(e){if(this.bvEventRoot){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.bvEventRoot).$emit.apply(r,[e].concat(i))}}}});function jM(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?jM(Object(r),!0).forEach(function(n){iZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function iZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var aZ=V4("$listeners","bvListeners"),sZ=G({data:function(){return{bvListeners:{}}},created:function(){this.bvListeners=HM({},this.$listeners)},beforeUpdate:function(){this.bvListeners=HM({},this.$listeners)}}),Bs=yn?sZ:aZ;function oZ(t){return dZ(t)||lZ(t)||cZ(t)||uZ()}function uZ(){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 cZ(t,e){if(t){if(typeof t=="string")return zS(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 zS(t,e)}}function lZ(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dZ(t){if(Array.isArray(t))return zS(t)}function zS(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 zM(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 un(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zM(Object(r),!0).forEach(function(n){U4(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function U4(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fZ=zt($E,"clicked"),G4={activeClass:y(I),append:y(B,!1),event:y(tn),exact:y(B,!1),exactActiveClass:y(I),exactPath:y(B,!1),exactPathActiveClass:y(I),replace:y(B,!1),routerTag:y(I),to:y(w4)},W4={noPrefetch:y(B,!1),prefetch:y(B,null)},ta=ee(fe(un(un(un({},W4),G4),{},{active:y(B,!1),disabled:y(B,!1),href:y(I),rel:y(I,null),routerComponentName:y(I),target:y(I,"_self")})),$E),Fn=G({name:$E,mixins:[Pr,Bs,ea,Pe],inheritAttrs:!1,props:ta,computed:{computedTag:function(){var e=this.to,r=this.disabled,n=this.routerComponentName;return MQ({to:e,disabled:r,routerComponentName:n},this)},isRouterLink:function(){return B4(this.computedTag)},computedRel:function(){var e=this.target,r=this.rel;return $Q({target:e,rel:r})},computedHref:function(){var e=this.to,r=this.href;return F4({to:e,href:r},this.computedTag)},computedProps:function(){var e=this.event,r=this.prefetch,n=this.routerTag;return this.isRouterLink?un(un(un(un({},xt(Re(un(un({},G4),this.computedTag==="nuxt-link"?W4:{}),["event","prefetch","routerTag"]),this)),e?{event:e}:{}),Ei(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 un(un(un(un({},e),r?{href:r}:{}),o&&s&&!Ya(s,"a")?{}:{rel:n,target:a}),{},{tabindex:i?"-1":Zt(e.tabindex)?null:e.tabindex,"aria-disabled":i?"true":null})},computedListeners:function(){return un(un({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var r=arguments,n=rc(e),i=this.isRouterLink,a=this.bvListeners.click;if(n&&this.disabled)ke(e,{immediatePropagation:!0});else{if(i){var s;(s=e.currentTarget.__vue__)===null||s===void 0||s.$emit(Mi,e)}Ye(a).filter(function(o){return be(o)}).forEach(function(o){o.apply(void 0,oZ(r))}),this.emitOnRoot(fZ,e),this.emitOnRoot("clicked::link",e)}n&&!i&&this.computedHref==="#"&&ke(e,{propagation:!1})},focus:function(){Ie(this.$el)},blur:function(){Hn(this.$el)}},render:function(e){var r=this.active,n=this.disabled;return e(this.computedTag,U4({class:{active:r,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function VM(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 a0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?VM(Object(r),!0).forEach(function(n){wu(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):VM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wu(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Rb=Re(ta,["event","routerTag"]);delete Rb.href.default;delete Rb.to.default;var Y4=ee(fe(a0(a0({},Rb),{},{block:y(B,!1),disabled:y(B,!1),pill:y(B,!1),pressed:y(B,null),size:y(I),squared:y(B,!1),tag:y(I,"button"),type:y(I,"button"),variant:y(I,"secondary")})),_B),UM=function(e){e.type==="focusin"?dn(e.target,"focus"):e.type==="focusout"&&qr(e.target,"focus")},Ip=function(e){return Dp(e)||Ya(e.tag,"a")},K4=function(e){return Ei(e.pressed)},q4=function(e){return!(Ip(e)||e.tag&&!Ya(e.tag,"button"))},X4=function(e){return!Ip(e)&&!q4(e)},hZ=function(e){var r;return["btn-".concat(e.variant||"secondary"),(r={},wu(r,"btn-".concat(e.size),e.size),wu(r,"btn-block",e.block),wu(r,"rounded-pill",e.pill),wu(r,"rounded-0",e.squared&&!e.pill),wu(r,"disabled",e.disabled),wu(r,"active",e.pressed),r)]},pZ=function(e){return Ip(e)?xt(Rb,e):{}},mZ=function(e,r){var n=q4(e),i=Ip(e),a=K4(e),s=X4(e),o=i&&e.href==="#",u=r.attrs&&r.attrs.role?r.attrs.role:null,c=r.attrs?r.attrs.tabindex:null;return(s||o)&&(c="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":c}},Nn=G({name:_B,functional:!0,props:Y4,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children,o=K4(n),u=Ip(n),c=X4(n),l=u&&n.href==="#",d={keydown:function(m){if(!(n.disabled||!(c||l))){var b=m.keyCode;if(b===Ka||b===Ns&&c){var _=m.currentTarget||m.target;ke(m,{propagation:!1}),_.click()}}},click:function(m){n.disabled&&rc(m)?ke(m):o&&a&&a["update:pressed"]&&Ye(a["update:pressed"]).forEach(function(b){be(b)&&b(!n.pressed)})}};o&&(d.focusin=UM,d.focusout=UM);var f={staticClass:"btn",class:hZ(n),props:pZ(n),attrs:mZ(n,i),on:d};return e(u?Fn:n.tag,ve(a0(a0({},i),{},{props:void 0}),f),s)}});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 s0(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){Su(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 Su(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var WM="b-avatar",hw=["sm",null,"lg"],J4=.4,gZ=J4*.7,Q4=function(e){return e=We(e)&&_h(e)?Be(e,0):e,Ui(e)?"".concat(e,"px"):e||null},Z4=Re(ta,["active","event","routerTag"]),vZ=ee(fe(s0(s0({},Z4),{},{alt:y(I,"avatar"),ariaLabel:y(I),badge:y(rn,!1),badgeLeft:y(B,!1),badgeOffset:y(I),badgeTop:y(B,!1),badgeVariant:y(I,"primary"),button:y(B,!1),buttonType:y(I,"button"),icon:y(I),rounded:y(rn,!1),size:y(le),square:y(B,!1),src:y(I),text:y(I),variant:y(I,"secondary")})),pB),bZ=G({name:pB,mixins:[Pe],inject:{getBvAvatarGroup:{default:function(){return function(){return null}}}},props:vZ,data:function(){return{localSrc:this.src||null}},computed:{bvAvatarGroup:function(){return this.getBvAvatarGroup()},computedSize:function(){var e=this.bvAvatarGroup;return Q4(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=hw.indexOf(e)===-1?"calc(".concat(e," * ").concat(J4,")"):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:hw.indexOf(e)===-1?"calc(".concat(e," * ").concat(gZ," )"):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(jX,e)},onClick:function(e){this.$emit(Mi,e)}},render:function(e){var r,n=this.computedVariant,i=this.disabled,a=this.computedRounded,s=this.icon,o=this.localSrc,u=this.text,c=this.fontStyle,l=this.marginStyle,d=this.computedSize,f=this.button,p=this.buttonType,m=this.badge,b=this.badgeVariant,_=this.badgeStyle,S=!f&&Dp(this),E=f?Nn:S?Fn:"span",O=this.alt,h=this.ariaLabel||null,v=null;this.hasNormalizedSlot()?v=e("span",{staticClass:"b-avatar-custom"},[this.normalizeSlot()]):o?(v=e("img",{style:n?{}:{width:"100%",height:"100%"},attrs:{src:o,alt:O},on:{error:this.onImgError}}),v=e("span",{staticClass:"b-avatar-img"},[v])):s?v=e(r0,{props:{icon:s},attrs:{"aria-hidden":"true",alt:O}}):u?v=e("span",{staticClass:"b-avatar-text",style:c},[e("span",u)]):v=e(VQ,{attrs:{"aria-hidden":"true",alt:O}});var g=e(),T=this.hasNormalizedSlot(oM);if(m||m===""||T){var C=m===!0?"":m;g=e("span",{staticClass:"b-avatar-badge",class:Su({},"badge-".concat(b),b),style:_},[T?this.normalizeSlot(oM):C])}var k={staticClass:WM,class:(r={},Su(r,"".concat(WM,"-").concat(d),d&&hw.indexOf(d)!==-1),Su(r,"badge-".concat(n),!f&&n),Su(r,"rounded",a===!0),Su(r,"rounded-".concat(a),a&&a!==!0),Su(r,"disabled",i),r),style:s0(s0({},l),{},{width:d,height:d}),attrs:{"aria-label":h||null},props:f?{variant:n,disabled:i,type:p}:S?xt(Z4,this):{},on:f||S?{click:this.onClick}:{}};return e(E,k,[v,g])}}),yZ=ee({overlap:y(le,.3),rounded:y(rn,!1),size:y(I),square:y(B,!1),tag:y(I,"div"),variant:y(I)},mB),_Z=G({name:mB,mixins:[Pe],provide:function(){var e=this;return{getBvAvatarGroup:function(){return e}}},props:yZ,computed:{computedSize:function(){return Q4(this.size)},overlapScale:function(){return Ss(Qe(Be(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])}}),wZ=pe({components:{BAvatar:bZ,BAvatarGroup:_Z}});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 KM(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){SZ(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 SZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lb=Re(ta,["event","routerTag"]);delete Lb.href.default;delete Lb.to.default;var OZ=ee(fe(KM(KM({},Lb),{},{pill:y(B,!1),tag:y(I,"span"),variant:y(I,"secondary")})),gB),ej=G({name:gB,functional:!0,props:OZ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=n.disabled,u=Dp(n),c=u?Fn:n.tag,l=n.variant||"secondary";return e(c,ve(i,{staticClass:"badge",class:["badge-".concat(l),{"badge-pill":n.pill,active:s,disabled:o}],props:u?xt(Lb,n):{}}),a)}}),TZ=pe({components:{BBadge:ej}}),qM=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(Eq,"")},Lt=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};function XM(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 JM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?XM(Object(r),!0).forEach(function(n){EZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):XM(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 VS=ee(fe(JM(JM({},Re(ta,["event","routerTag"])),{},{ariaCurrent:y(I,"location"),html:y(I),text:y(I)})),yB),tj=G({name:yB,functional:!0,props:VS,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=s?"span":Fn,u={attrs:{"aria-current":s?n.ariaCurrent:null},props:xt(VS,n)};return a||(u.domProps=Lt(n.html,n.text)),e(o,ve(i,u),a)}}),xZ=ee(VS,bB),rj=G({name:bB,functional:!0,props:xZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("li",ve(i,{staticClass:"breadcrumb-item",class:{active:n.active}}),[e(tj,{props:n},a)])}});function QM(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 ZM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?QM(Object(r),!0).forEach(function(n){PZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):QM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function PZ(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=ee({items:y(mn)},vB),AZ=G({name:vB,functional:!0,props:CZ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.items,o=a;if(nt(s)){var u=!1;o=s.map(function(c,l){Jt(c)||(c={text:_e(c)});var d=c,f=d.active;return f&&(u=!0),!f&&!u&&(f=l+1===s.length),e(rj,{props:ZM(ZM({},c),{},{active:f})})})}return e("ol",ve(i,{staticClass:"breadcrumb"}),o)}}),MZ=pe({components:{BBreadcrumb:AZ,BBreadcrumbItem:rj,BBreadcrumbLink:tj}}),$Z=pe({components:{BButton:Nn,BBtn:Nn,BButtonClose:cc,BBtnClose:cc}});function e$(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 t$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?e$(Object(r),!0).forEach(function(n){nj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function nj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kZ=ee(fe(t$(t$({},Zi(Y4,["size"])),{},{ariaRole:y(I,"group"),size:y(I),tag:y(I,"div"),vertical:y(B,!1)})),SB),r$=G({name:SB,functional:!0,props:kZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{class:nj({"btn-group":!n.vertical,"btn-group-vertical":n.vertical},"btn-group-".concat(n.size),n.size),attrs:{role:n.ariaRole}}),a)}}),DZ=pe({components:{BButtonGroup:r$,BBtnGroup:r$}}),IZ=[".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(","),RZ=ee({justify:y(B,!1),keyNav:y(B,!1)},OB),n$=G({name:OB,mixins:[Pe],props:RZ,mounted:function(){this.keyNav&&this.getItems()},methods:{getItems:function(){var e=ci(IZ,this.$el);return e.forEach(function(r){r.tabIndex=-1}),e.filter(function(r){return Yi(r)})},focusFirst:function(){var e=this.getItems();Ie(e[0])},focusPrev:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(0,n).reverse(),Ie(r[0]))},focusNext:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(n+1),Ie(r[0]))},focusLast:function(){var e=this.getItems().reverse();Ie(e[0])},onFocusin:function(e){var r=this.$el;e.target===r&&!fr(r,e.relatedTarget)&&(ke(e),this.focusFirst(e))},onKeydown:function(e){var r=e.keyCode,n=e.shiftKey;r===Ln||r===qi?(ke(e),n?this.focusFirst(e):this.focusPrev(e)):(r===gn||r===ks)&&(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()])}}),LZ=pe({components:{BButtonToolbar:n$,BBtnToolbar:n$}}),ro="gregory",Oh="long",NZ="narrow",US="short",i$="2-digit",o0="numeric";function BZ(t,e){return zZ(t)||HZ(t,e)||jZ(t,e)||FZ()}function FZ(){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 jZ(t,e){if(t){if(typeof t=="string")return a$(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 a$(t,e)}}function a$(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 HZ(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 zZ(t){if(Array.isArray(t))return t}function Wg(t,e,r){return VZ()?Wg=Reflect.construct:Wg=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),c=new u;return s&&GS(c,s.prototype),c},Wg.apply(null,arguments)}function VZ(){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 GS(t,e){return GS=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},GS(t,e)}var Ir=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Wg(Date,r)},lr=function(e){if(We(e)&&Lq.test(e.trim())){var r=e.split(Nq).map(function(o){return oe(o,1)}),n=BZ(r,3),i=n[0],a=n[1],s=n[2];return Ir(i,a-1,s)}else if(td(e))return Ir(e.getFullYear(),e.getMonth(),e.getDate());return null},St=function(e){if(e=lr(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)},UZ=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ro;e=Ye(e).filter(Oe);var n=new Intl.DateTimeFormat(e,{calendar:r});return n.resolvedOptions().locale},eh=function(e,r){var n=new Intl.DateTimeFormat(e,r);return n.format},Mm=function(e,r){return St(e)===St(r)},pw=function(e){return e=Ir(e),e.setDate(1),e},mw=function(e){return e=Ir(e),e.setMonth(e.getMonth()+1),e.setDate(0),e},Nb=function(e,r){e=Ir(e);var n=e.getMonth();return e.setFullYear(e.getFullYear()+r),e.getMonth()!==n&&e.setDate(0),e},gw=function(e){e=Ir(e);var r=e.getMonth();return e.setMonth(r-1),e.getMonth()===r&&e.setDate(0),e},vw=function(e){e=Ir(e);var r=e.getMonth();return e.setMonth(r+1),e.getMonth()===(r+2)%12&&e.setDate(0),e},bw=function(e){return Nb(e,-1)},yw=function(e){return Nb(e,1)},_w=function(e){return Nb(e,-10)},ww=function(e){return Nb(e,10)},u0=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=lr(e),r=lr(r)||e,n=lr(n)||e,e?e<r?r:e>n?n:e:null},s$=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map(function(t){return t.toLowerCase()}),Bb=function(e){var r=_e(e).toLowerCase().replace(Wq,"").split("-"),n=r.slice(0,2).join("-"),i=r[0];return Ee(s$,n)||Ee(s$,i)},lt={id:y(I)},pt=G({props:lt,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[xs])})}}),qc;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 Ta(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){_i(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 _i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Fb=vr("value",{type:Vu}),GZ=Fb.mixin,WZ=Fb.props,Sw=Fb.prop,YZ=Fb.event,ij=ee(fe(Ta(Ta(Ta({},lt),WZ),{},{ariaControls:y(I),block:y(B,!1),dateDisabledFn:y(vn),dateFormatOptions:y(gr,{year:o0,month:Oh,day:o0,weekday:Oh}),dateInfoFn:y(vn),direction:y(I),disabled:y(B,!1),headerTag:y(I,"header"),hidden:y(B,!1),hideHeader:y(B,!1),initialDate:y(Vu),labelCalendar:y(I,"Calendar"),labelCurrentMonth:y(I,"Current month"),labelHelp:y(I,"Use cursor keys to navigate calendar dates"),labelNav:y(I,"Calendar navigation"),labelNextDecade:y(I,"Next decade"),labelNextMonth:y(I,"Next month"),labelNextYear:y(I,"Next year"),labelNoDateSelected:y(I,"No date selected"),labelPrevDecade:y(I,"Previous decade"),labelPrevMonth:y(I,"Previous month"),labelPrevYear:y(I,"Previous year"),labelSelected:y(I,"Selected date"),labelToday:y(I,"Today"),locale:y(tn),max:y(Vu),min:y(Vu),navButtonVariant:y(I,"secondary"),noHighlightToday:y(B,!1),noKeyNav:y(B,!1),readonly:y(B,!1),roleDescription:y(I),selectedVariant:y(I,"primary"),showDecadeNav:y(B,!1),startWeekday:y(le,0),todayVariant:y(I),valueAsDate:y(B,!1),weekdayHeaderFormat:y(I,US,function(t){return Ee([Oh,US,NZ],t)}),width:y(I,"270px")})),TB),aj=G({name:TB,mixins:[Pr,pt,GZ,Pe],props:ij,data:function(){var e=St(this[Sw])||"";return{selectedYMD:e,activeYMD:e||St(u0(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 lr(this.selectedYMD)},activeDate:function(){return lr(this.activeYMD)},computedMin:function(){return lr(this.min)},computedMax:function(){return lr(this.max)},computedWeekStarts:function(){return Qe(oe(this.startWeekday,0),0)%7},computedLocale:function(){return UZ(Ye(this.locale).filter(Oe),ro)},computedDateDisabledFn:function(){var e=this.dateDisabledFn;return Va(e)?e:function(){return!1}},computedDateInfoFn:function(){var e=this.dateInfoFn;return Va(e)?e:function(){return{}}},calendarLocale:function(){var e=new Intl.DateTimeFormat(this.computedLocale,{calendar:ro}),r=e.resolvedOptions().calendar,n=e.resolvedOptions().locale;return r!==ro&&(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 Ir(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var e=Ir(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=_e(this.direction).toLowerCase();return e==="rtl"?!0:e==="ltr"?!1:Bb(this.computedLocale)},context:function(){var e=this.selectedYMD,r=this.activeYMD,n=lr(e),i=lr(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=lr(n),e&&n<e||r&&n>r}},dateDisabled:function(){var e=this,r=this.dateOutOfRange;return function(n){n=lr(n);var i=St(n);return!!(r(n)||e.computedDateDisabledFn(i,n))}},formatDateString:function(){return eh(this.calendarLocale,Ta(Ta({year:o0,month:i$,day:i$},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:ro}))},formatYearMonth:function(){return eh(this.calendarLocale,{year:o0,month:Oh,calendar:ro})},formatWeekdayName:function(){return eh(this.calendarLocale,{weekday:Oh,calendar:ro})},formatWeekdayNameShort:function(){return eh(this.calendarLocale,{weekday:this.weekdayHeaderFormat||US,calendar:ro})},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&&mw(_w(this.activeDate))<e},prevYearDisabled:function(){var e=this.computedMin;return this.disabled||e&&mw(bw(this.activeDate))<e},prevMonthDisabled:function(){var e=this.computedMin;return this.disabled||e&&mw(gw(this.activeDate))<e},thisMonthDisabled:function(){return this.disabled},nextMonthDisabled:function(){var e=this.computedMax;return this.disabled||e&&pw(vw(this.activeDate))>e},nextYearDisabled:function(){var e=this.computedMax;return this.disabled||e&&pw(yw(this.activeDate))>e},nextDecadeDisabled:function(){var e=this.computedMax;return this.disabled||e&&pw(ww(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,c=0;c<6&&u<a;c++){e[c]=[];for(var l=0;l<7;l++){u++;var d=Ir(n,i,u),f=d.getMonth(),p=St(d),m=this.dateDisabled(d),b=this.computedDateInfoFn(p,lr(p));b=We(b)||nt(b)?{class:b}:en(b)?Ta({class:""},b):{class:""},e[c].push({ymd:p,day:this.formatDay(d),label:this.formatDateString(d),isThisMonth:f===i,isDisabled:m,info:b})}}return e},calendarHeadings:function(){var e=this;return this.calendar[0].map(function(r){return{text:e.formatWeekdayNameShort(lr(r.ymd)),label:e.formatWeekdayName(lr(r.ymd))}})}},watch:(qc={},_i(qc,Sw,function(t,e){var r=St(t)||"",n=St(e)||"";Mm(r,n)||(this.activeYMD=r||this.activeYMD,this.selectedYMD=r)}),_i(qc,"selectedYMD",function(e,r){e!==r&&this.$emit(YZ,this.valueAsDate?lr(e)||null:e||"")}),_i(qc,"context",function(e,r){Ze(e,r)||this.$emit(rd,e)}),_i(qc,"hidden",function(e){this.activeYMD=this.selectedYMD||St(this[Sw]||this.constrainDate(this.initialDate||this.getToday())),this.setLive(!e)}),qc),created:function(){var e=this;this.$nextTick(function(){e.$emit(rd,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||Ie(this.$refs.grid)},blur:function(){this.disabled||Hn(this.$refs.grid)},setLive:function(e){var r=this;e?this.$nextTick(function(){st(function(){r.isLive=!0})}):this.isLive=!1},getToday:function(){return lr(Ir())},constrainDate:function(e){return u0(e,this.computedMin,this.computedMax)},emitSelected:function(e){var r=this;this.$nextTick(function(){r.$emit(m4,St(e)||"",lr(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(Ee([i0,n0,jo,Ho,qi,Ln,ks,gn],i)){ke(e);var a=Ir(this.activeDate),s=Ir(this.activeDate),o=a.getDate(),u=this.constrainDate(this.getToday()),c=this.isRTL;i===i0?(a=(r?n?_w:bw:gw)(a),s=Ir(a),s.setDate(1)):i===n0?(a=(r?n?ww:yw:vw)(a),s=Ir(a),s.setMonth(s.getMonth()+1),s.setDate(0)):i===qi?(a.setDate(o+(c?1:-1)),a=this.constrainDate(a),s=a):i===ks?(a.setDate(o+(c?-1:1)),a=this.constrainDate(a),s=a):i===Ln?(a.setDate(o-7),a=this.constrainDate(a),s=a):i===gn?(a.setDate(o+7),a=this.constrainDate(a),s=a):i===Ho?(a=u,s=a):i===jo&&(a=lr(this.selectedDate)||u,s=a),!this.dateOutOfRange(s)&&!Mm(a,this.activeDate)&&(this.activeYMD=St(a)),this.focus()}}},onKeydownGrid:function(e){var r=e.keyCode,n=this.activeDate;(r===Ns||r===Ka)&&(ke(e),!this.disabled&&!this.readonly&&!this.dateDisabled(n)&&(this.selectedYMD=St(n),this.emitSelected(n)),this.focus())},onClickDay:function(e){var r=this.selectedDate,n=this.activeDate,i=lr(e.ymd);!this.disabled&&!e.isDisabled&&!this.dateDisabled(i)&&(this.readonly||(this.selectedYMD=St(Mm(i,r)?r:i),this.emitSelected(i)),this.activeYMD=St(Mm(i,n)?n:Ir(i)),this.focus())},gotoPrevDecade:function(){this.activeYMD=St(this.constrainDate(_w(this.activeDate)))},gotoPrevYear:function(){this.activeYMD=St(this.constrainDate(bw(this.activeDate)))},gotoPrevMonth:function(){this.activeYMD=St(this.constrainDate(gw(this.activeDate)))},gotoCurrentMonth:function(){this.activeYMD=St(this.constrainDate(this.getToday()))},gotoNextMonth:function(){this.activeYMD=St(this.constrainDate(vw(this.activeDate)))},gotoNextYear:function(){this.activeYMD=St(this.constrainDate(yw(this.activeDate)))},gotoNextDecade:function(){this.activeYMD=St(this.constrainDate(ww(this.activeDate)))},onHeaderClick:function(){this.disabled||(this.activeYMD=this.selectedYMD||St(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,c=this.activeId,l=this.disabled,d=this.noKeyNav,f=this.isLive,p=this.isRTL,m=this.activeYMD,b=this.selectedYMD,_=this.safeId,S=!this.showDecadeNav,E=St(this.getToday()),O=!this.noHighlightToday,h=e("output",{staticClass:"form-control form-control-sm text-center",class:{"text-muted":l,readonly:this.readonly||l},attrs:{id:n,for:s,role:"status",tabindex:l?null:"-1","data-selected":_e(b),"aria-live":f?"polite":"off","aria-atomic":f?"true":null},on:{click:this.onHeaderClick,focus:this.onHeaderClick}},this.selectedDate?[e("bdi",{staticClass:"sr-only"}," (".concat(_e(this.labelSelected),") ")),e("bdi",this.formatDateString(this.selectedDate))]:this.labelNoDateSelected||" ");h=e(this.headerTag,{staticClass:"b-calendar-header",class:{"sr-only":this.hideHeader},attrs:{title:this.selectedDate&&this.labelSelected||null}},[h]);var v={isRTL:p},g={shiftV:.5},T=Ta(Ta({},g),{},{flipH:p}),C=Ta(Ta({},g),{},{flipH:!p}),k=this.normalizeSlot(RJ,v)||e($M,{props:T}),w=this.normalizeSlot(NJ,v)||e(kM,{props:T}),A=this.normalizeSlot(LJ,v)||e(DM,{props:T}),P=this.normalizeSlot(BJ,v)||e(HS,{props:g}),x=this.normalizeSlot(DJ,v)||e(DM,{props:C}),$=this.normalizeSlot(IJ,v)||e(kM,{props:C}),D=this.normalizeSlot(kJ,v)||e($M,{props:C}),M=function(K,X,se,Ae,qe){return e("button",{staticClass:"btn btn-sm border-0 flex-fill",class:[r.computedNavButtonVariant,{disabled:Ae}],attrs:{title:X||null,type:"button",tabindex:d?"-1":null,"aria-label":X||null,"aria-disabled":Ae?"true":null,"aria-keyshortcuts":qe||null},on:Ae?{}:{click:se}},[e("div",{attrs:{"aria-hidden":"true"}},[K])])},R=e("div",{staticClass:"b-calendar-nav d-flex",attrs:{id:a,role:"group",tabindex:d?"-1":null,"aria-hidden":l?"true":null,"aria-label":this.labelNav||null,"aria-controls":s}},[S?e():M(k,this.labelPrevDecade,this.gotoPrevDecade,this.prevDecadeDisabled,"Ctrl+Alt+PageDown"),M(w,this.labelPrevYear,this.gotoPrevYear,this.prevYearDisabled,"Alt+PageDown"),M(A,this.labelPrevMonth,this.gotoPrevMonth,this.prevMonthDisabled,"PageDown"),M(P,this.labelCurrentMonth,this.gotoCurrentMonth,this.thisMonthDisabled,"Home"),M(x,this.labelNextMonth,this.gotoNextMonth,this.nextMonthDisabled,"PageUp"),M($,this.labelNextYear,this.gotoNextYear,this.nextYearDisabled,"Alt+PageUp"),S?e():M(D,this.labelNextDecade,this.gotoNextDecade,this.nextDecadeDisabled,"Ctrl+Alt+PageUp")]),N=e("div",{staticClass:"b-calendar-grid-caption text-center font-weight-bold",class:{"text-muted":l},attrs:{id:o,"aria-live":f?"polite":null,"aria-atomic":f?"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(U,K){return e("small",{staticClass:"col text-truncate",class:{"text-muted":l},attrs:{title:U.label===U.text?null:U.label,"aria-label":U.label},key:K},U.text)})),z=this.calendar.map(function(U){var K=U.map(function(X,se){var Ae,qe=X.ymd===b,yt=X.ymd===m,sr=X.ymd===E,Vr=_("_cell-".concat(X.ymd,"_")),wn=e("span",{staticClass:"btn border-0 rounded-circle text-nowrap",class:(Ae={focus:yt&&r.gridHasFocus,disabled:X.isDisabled||l,active:qe},_i(Ae,r.computedVariant,qe),_i(Ae,r.computedTodayVariant,sr&&O&&!qe&&X.isThisMonth),_i(Ae,"btn-outline-light",!(sr&&O)&&!qe&&!yt),_i(Ae,"btn-light",!(sr&&O)&&!qe&&yt),_i(Ae,"text-muted",!X.isThisMonth&&!qe),_i(Ae,"text-dark",!(sr&&O)&&!qe&&!yt&&X.isThisMonth),_i(Ae,"font-weight-bold",(qe||X.isThisMonth)&&!X.isDisabled),Ae),on:{click:function(){return r.onClickDay(X)}}},X.day);return e("div",{staticClass:"col p-0",class:X.isDisabled?"bg-light":X.info.class||"",attrs:{id:Vr,role:"button","data-date":X.ymd,"aria-hidden":X.isThisMonth?null:"true","aria-disabled":X.isDisabled||l?"true":null,"aria-label":[X.label,qe?"(".concat(r.labelSelected,")"):null,sr?"(".concat(r.labelToday,")"):null].filter(Oe).join(" "),"aria-selected":qe?"true":null,"aria-current":qe?"date":null},key:se},[wn])});return e("div",{staticClass:"row no-gutters",key:U[0].ymd},K)});z=e("div",{staticClass:"b-calendar-grid-body",style:l?{pointerEvents:"none"}:{}},z);var V=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)]),J=e("div",{staticClass:"b-calendar-grid form-control h-auto text-center",attrs:{id:s,role:"application",tabindex:d?"-1":l?null:"0","data-month":m.slice(0,-3),"aria-roledescription":this.labelCalendar||null,"aria-labelledby":o,"aria-describedby":u,"aria-disabled":l?"true":null,"aria-activedescendant":c},on:{keydown:this.onKeydownGrid,focus:this.setGridFocusFlag,blur:this.setGridFocusFlag},ref:"grid"},[N,j,z,V]),re=this.normalizeSlot();re=re?e("footer",{staticClass:"b-calendar-footer"},re):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":l?"true":null,"aria-controls":this.ariaControls||null,"aria-roledescription":this.roleDescription||null,"aria-describedby":[this.bvAttrs["aria-describedby"],n,u].filter(Oe).join(" ")},on:{keydown:this.onKeydownWrapper}},[h,R,J,re]);return e("div",{staticClass:"b-calendar",class:{"d-block":this.block}},[Y])}}),KZ=pe({components:{BCalendar:aj}}),Rp=ee({bgVariant:y(I),borderVariant:y(I),tag:y(I,"div"),textVariant:y(I)},AE);G({props:Rp});var jE=ee({title:y(I),titleTag:y(I,"h4")},DB),sj=G({name:DB,functional:!0,props:jE,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.titleTag,ve(i,{staticClass:"card-title"}),a||_e(n.title))}}),HE=ee({subTitle:y(I),subTitleTag:y(I,"h6"),subTitleTextVariant:y(I,"muted")},$B),oj=G({name:$B,functional:!0,props:HE,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.subTitleTag,ve(i,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),a||_e(n.subTitle))}});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 $m(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){Yg(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 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 zE=ee(fe($m($m($m($m({},jE),HE),Db(Rp,kb.bind(null,"body"))),{},{bodyClass:y(we),overlay:y(B,!1)})),EB),uj=G({name:EB,functional:!0,props:zE,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.bodyBgVariant,u=i.bodyBorderVariant,c=i.bodyTextVariant,l=e();i.title&&(l=e(sj,{props:xt(jE,i)}));var d=e();return i.subTitle&&(d=e(oj,{props:xt(HE,i),class:["mb-2"]})),e(i.bodyTag,ve(a,{staticClass:"card-body",class:[(n={"card-img-overlay":i.overlay},Yg(n,"bg-".concat(o),o),Yg(n,"border-".concat(u),u),Yg(n,"text-".concat(c),c),n),i.bodyClass]}),[l,d,s])}});function c$(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?c$(Object(r),!0).forEach(function(n){Kg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Kg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var VE=ee(fe(l$(l$({},Db(Rp,kb.bind(null,"header"))),{},{header:y(I),headerClass:y(we),headerHtml:y(I)})),CB),cj=G({name:CB,functional:!0,props:VE,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.headerBgVariant,u=i.headerBorderVariant,c=i.headerTextVariant;return e(i.headerTag,ve(a,{staticClass:"card-header",class:[i.headerClass,(n={},Kg(n,"bg-".concat(o),o),Kg(n,"border-".concat(u),u),Kg(n,"text-".concat(c),c),n)],domProps:s?{}:Lt(i.headerHtml,i.header)}),s)}});function d$(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 f$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?d$(Object(r),!0).forEach(function(n){qg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var UE=ee(fe(f$(f$({},Db(Rp,kb.bind(null,"footer"))),{},{footer:y(I),footerClass:y(we),footerHtml:y(I)})),xB),lj=G({name:xB,functional:!0,props:UE,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.footerBgVariant,u=i.footerBorderVariant,c=i.footerTextVariant;return e(i.footerTag,ve(a,{staticClass:"card-footer",class:[i.footerClass,(n={},qg(n,"bg-".concat(o),o),qg(n,"border-".concat(u),u),qg(n,"text-".concat(c),c),n)],domProps:s?{}:Lt(i.footerHtml,i.footer)}),s)}});function Ow(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qZ='<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>',XZ=function(e,r,n){var i=encodeURIComponent(qZ.replace("%{w}",_e(e)).replace("%{h}",_e(r)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(i)},jb=ee({alt:y(I),blank:y(B,!1),blankColor:y(I,"transparent"),block:y(B,!1),center:y(B,!1),fluid:y(B,!1),fluidGrow:y(B,!1),height:y(le),left:y(B,!1),right:y(B,!1),rounded:y(rn,!1),sizes:y(tn),src:y(I),srcset:y(tn),thumbnail:y(B,!1),width:y(le)},mF),GE=G({name:mF,functional:!0,props:jb,render:function(e,r){var n,i=r.props,a=r.data,s=i.alt,o=i.src,u=i.block,c=i.fluidGrow,l=i.rounded,d=oe(i.width)||null,f=oe(i.height)||null,p=null,m=Ye(i.srcset).filter(Oe).join(","),b=Ye(i.sizes).filter(Oe).join(",");return i.blank&&(!f&&d?f=d:!d&&f&&(d=f),!d&&!f&&(d=1,f=1),o=XZ(d,f,i.blankColor||"transparent"),m=null,b=null),i.left?p="float-left":i.right?p="float-right":i.center&&(p="mx-auto",u=!0),e("img",ve(a,{attrs:{src:o,alt:s,width:d?_e(d):null,height:f?_e(f):null,srcset:m||null,sizes:b||null},class:(n={"img-thumbnail":i.thumbnail,"img-fluid":i.fluid||c,"w-100":c,rounded:l===""||l===!0},Ow(n,"rounded-".concat(l),We(l)&&l!==""),Ow(n,p,p),Ow(n,"d-block",u),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 p$(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){JZ(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 JZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var WE=ee(fe(p$(p$({},Zi(jb,["src","alt","width","height","left","right"])),{},{bottom:y(B,!1),end:y(B,!1),start:y(B,!1),top:y(B,!1)})),AB),dj=G({name:AB,functional:!0,props:WE,render:function(e,r){var n=r.props,i=r.data,a=n.src,s=n.alt,o=n.width,u=n.height,c="card-img";return n.top?c+="-top":n.right||n.end?c+="-right":n.bottom?c+="-bottom":(n.left||n.start)&&(c+="-left"),e("img",ve(i,{class:c,attrs:{src:a,alt:s,width:o,height:u}}))}});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 Xc(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){th(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 th(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var YE=Db(WE,kb.bind(null,"img"));YE.imgSrc.required=!1;var QZ=ee(fe(Xc(Xc(Xc(Xc(Xc(Xc({},zE),VE),UE),YE),Rp),{},{align:y(I),noBody:y(B,!1)})),AE),ZZ=G({name:AE,functional:!0,props:QZ,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.imgSrc,c=i.imgLeft,l=i.imgRight,d=i.imgStart,f=i.imgEnd,p=i.imgBottom,m=i.header,b=i.headerHtml,_=i.footer,S=i.footerHtml,E=i.align,O=i.textVariant,h=i.bgVariant,v=i.borderVariant,g=o||{},T=s(),C={},k=e(),w=e();if(u){var A=e(dj,{props:xt(YE,i,C4.bind(null,"img"))});p?w=A:k=A}var P=e(),x=$s(Bo,g,T);(x||m||b)&&(P=e(cj,{props:xt(VE,i),domProps:x?{}:Lt(b,m)},jr(Bo,C,g,T)));var $=jr(_r,C,g,T);i.noBody||($=e(uj,{props:xt(zE,i)},$),i.overlay&&u&&($=e("div",{staticClass:"position-relative"},[k,$,w]),k=e(),w=e()));var D=e(),M=$s(RS,g,T);return(M||_||S)&&(D=e(lj,{props:xt(UE,i),domProps:x?{}:Lt(S,_)},jr(RS,C,g,T))),e(i.tag,ve(a,{staticClass:"card",class:(n={"flex-row":c||d,"flex-row-reverse":(l||f)&&!(c||d)},th(n,"text-".concat(E),E),th(n,"bg-".concat(h),h),th(n,"border-".concat(v),v),th(n,"text-".concat(O),O),n)}),[k,P,$,D,w])}});function eee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g$(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 tee(t,e,r){return e&&g$(t.prototype,e),r&&g$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var id="__bv__visibility_observer",ree=function(){function t(e,r){eee(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()}return tee(t,[{key:"createObserver",value:function(){var r=this;if(this.observer&&this.stop(),!(this.doneOnce||!be(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}xE(function(){st(function(){r.observer&&r.observer.observe(r.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}(),fj=function(e){var r=e[id];r&&r.stop&&r.stop(),delete e[id]},hj=function(e,r){var n=r.value,i=r.modifiers,a={margin:"0px",once:!1,callback:n};Ce(i).forEach(function(s){iB.test(s)?a.margin="".concat(s,"px"):s.toLowerCase()==="once"&&(a.once=!0)}),fj(e),e[id]=new ree(e,a),e[id]._prevModifiers=Yo(i)},nee=function(e,r,n){var i=r.value,a=r.oldValue,s=r.modifiers;s=Yo(s),e&&(i!==a||!e[id]||!Ze(s,e[id]._prevModifiers))&&hj(e,{value:i,modifiers:s})},iee=function(e){fj(e)},KE={bind:hj,componentUpdated:nee,unbind:iee},km;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 c0(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){$l(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 $l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Th="show",aee=Ko+Th,pj=Re(jb,["blank"]),mj=ee(c0(c0({},pj),{},$l({blankHeight:y(le),blankSrc:y(I,null),blankWidth:y(le),offset:y(le,360)},Th,y(B,!1))),gF),gj=G({name:gF,directives:{"b-visible":KE},props:mj,data:function(){return{isShown:this[Th]}},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=Ye(this.srcset).filter(Oe).join(",");return e&&(!this.blankSrc||this.isShown)?e:null},computedSizes:function(){var e=Ye(this.sizes).filter(Oe).join(",");return e&&(!this.blankSrc||this.isShown)?e:null}},watch:(km={},$l(km,Th,function(t,e){if(t!==e){var r=YA?t:!0;this.isShown=r,t!==r&&this.$nextTick(this.updateShowProp)}}),$l(km,"isShown",function(e,r){e!==r&&this.updateShowProp()}),km),mounted:function(){var e=this;this.$nextTick(function(){e.isShown=YA?e[Th]:!0})},methods:{updateShowProp:function(){this.$emit(aee,this.isShown)},doShow:function(e){var r=this;(e||e===null)&&!this.isShown&&st(function(){r.isShown=!0})}},render:function(e){var r=[];if(!this.isShown){var n;r.push({name:"b-visible",value:this.doShow,modifiers:(n={},$l(n,"".concat(oe(this.offset,0)),!0),$l(n,"once",!0),n)})}return e(GE,{directives:r,props:c0(c0({},xt(pj,this.$props)),{},{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset,sizes:this.computedSizes})})}});function b$(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?b$(Object(r),!0).forEach(function(n){see(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function see(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var oee=ee(fe(y$(y$({},Re(mj,Ce(jb))),Re(WE,["src","alt","width","height"]))),MB),uee=G({name:MB,functional:!0,props:oee,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(gj,ve(i,{class:[a],props:Re(n,["left","right"])}))}}),cee=ee({textTag:y(I,"p")},kB),lee=G({name:kB,functional:!0,props:cee,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.textTag,ve(i,{staticClass:"card-text"}),a)}}),dee=ee({columns:y(B,!1),deck:y(B,!1),tag:y(I,"div")},PB),fee=G({name:PB,functional:!0,props:dee,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{class:n.deck?"card-deck":n.columns?"card-columns":"card-group"}),a)}}),hee=pe({components:{BCard:ZZ,BCardHeader:cj,BCardBody:uj,BCardTitle:sj,BCardSubTitle:oj,BCardFooter:lj,BCardImg:dj,BCardImgLazy:uee,BCardText:lee,BCardGroup:fee}}),rp=function(){};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 pee(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_$(Object(r),!0).forEach(function(n){mee(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 mee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var np=function(e,r,n){if(e=e?e.$el||e:null,!_t(e)||oX("observeDom"))return null;var i=new rQ(function(a){for(var s=!1,o=0;o<a.length&&!s;o++){var u=a[o],c=u.type,l=u.target;(c==="characterData"&&l.nodeType===Node.TEXT_NODE||c==="attributes"||c==="childList"&&(u.addedNodes.length>0||u.removedNodes.length>0))&&(s=!0)}s&&r()});return i.observe(e,pee({childList:!0,subtree:!0},n)),i},Jc;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 Tw(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){rh(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 rh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hb=vr("value",{type:Qr,defaultValue:0}),gee=Hb.mixin,vee=Hb.props,Ew=Hb.prop,S$=Hb.event,xw={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},bee=600+50,yee=500,_ee=40,O$={TOUCH:"touch",PEN:"pen"},T$={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},wee=function(e){for(var r in T$)if(!Zt(e.style[r]))return T$[r];return null},See=ee(fe(Tw(Tw(Tw({},lt),vee),{},{background:y(I),controls:y(B,!1),fade:y(B,!1),imgHeight:y(le),imgWidth:y(le),indicators:y(B,!1),interval:y(Qr,5e3),labelGotoSlide:y(I,"Goto slide"),labelIndicators:y(I,"Select a slide to display"),labelNext:y(I,"Next slide"),labelPrev:y(I,"Previous slide"),noAnimation:y(B,!1),noHoverPause:y(B,!1),noTouch:y(B,!1),noWrap:y(B,!1)})),IB),Oee=G({name:IB,mixins:[pt,gee,Pe],provide:function(){var e=this;return{getBvCarousel:function(){return e}}},props:See,data:function(){return{index:this[Ew]||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(oe(this.interval,0)>0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(Jc={},rh(Jc,Ew,function(t,e){t!==e&&this.setSlide(oe(t,0))}),rh(Jc,"interval",function(e,r){e!==r&&(e?(this.pause(!0),this.start(!1)):this.pause(!1))}),rh(Jc,"isPaused",function(e,r){e!==r&&this.$emit(e?zX:eJ)}),rh(Jc,"index",function(e,r){e===r||this.isSliding||this.doSlide(e,r)}),Jc),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(oe(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=wee(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=np(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(!(ht&&document.visibilityState&&document.hidden)){var i=this.noWrap,a=this.numSlides;if(e=tp(e),a!==0){if(this.isSliding){this.$once(uw,function(){st(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[Ew]&&this.$emit(S$,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,Qe(1e3,this.interval)))},restart:function(){this.$el.contains(Fo())||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],c=this.slides[e];if(!(!u||!c)){if(this.isSliding=!0,i&&this.pause(!1),this.$emit(JX,e),this.$emit(S$,this.index),this.noAnimation)dn(c,"active"),qr(u,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit(uw,e)});else{dn(c,s),NE(c),dn(u,o),dn(c,o);var l=!1,d=function p(){if(!l){if(l=!0,n.transitionEndEvent){var m=n.transitionEndEvent.split(/\s+/);m.forEach(function(b){return Dt(c,b,p,Ue)})}n.clearAnimationTimeout(),qr(c,o),qr(c,s),dn(c,"active"),qr(u,"active"),qr(u,o),qr(u,s),$t(u,"aria-current","false"),$t(c,"aria-current","true"),$t(u,"aria-hidden","true"),$t(c,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit(uw,e)})}};if(this.transitionEndEvent){var f=this.transitionEndEvent.split(/\s+/);f.forEach(function(p){return Tt(c,p,d,Ue)})}this.$_animationTimeout=setTimeout(d,bee)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=ci(".carousel-item",this.$refs.inner);var e=this.slides.length,r=Qe(0,Ss(tp(this.index),e-1));this.slides.forEach(function(n,i){var a=i+1;i===r?(dn(n,"active"),$t(n,"aria-current","true")):(qr(n,"active"),$t(n,"aria-current","false")),$t(n,"aria-posinset",String(a)),$t(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?xw[e]:n>r?xw.next:xw.prev},handleClick:function(e,r){var n=e.keyCode;(e.type==="click"||n===Ka||n===Ns)&&(ke(e),r())},handleSwipe:function(){var e=D4(this.touchDeltaX);if(!(e<=_ee)){var r=e/this.touchDeltaX;this.touchDeltaX=0,r>0?this.prev():r<0&&this.next()}},touchStart:function(e){gf&&O$[e.pointerType.toUpperCase()]?this.touchStartX=e.clientX:gf||(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){gf&&O$[e.pointerType.toUpperCase()]&&(this.touchDeltaX=e.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,yee+Qe(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,c=this.isSliding,l=this.pause,d=this.restart,f=this.touchStart,p=this.touchEnd,m=this.safeId("__BV_inner_"),b=e("div",{staticClass:"carousel-inner",attrs:{id:m,role:"list"},ref:"inner"},[this.normalizeSlot()]),_=e();if(this.controls){var S=function(v,g,T){var C=function(w){c?ke(w,{propagation:!1}):r.handleClick(w,T)};return e("a",{staticClass:"carousel-control-".concat(v),attrs:{href:"#",role:"button","aria-controls":m,"aria-disabled":c?"true":null},on:{click:C,keydown:C}},[e("span",{staticClass:"carousel-control-".concat(v,"-icon"),attrs:{"aria-hidden":"true"}}),e("span",{class:"sr-only"},[g])])};_=[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":m}},this.slides.map(function(h,v){var g=function(C){r.handleClick(C,function(){r.setSlide(v)})};return e("li",{class:{active:v===u},attrs:{role:"button",id:r.safeId("__BV_indicator_".concat(v+1,"_")),tabindex:n?"0":"-1","aria-current":v===u?"true":"false","aria-label":"".concat(r.labelGotoSlide," ").concat(v+1),"aria-describedby":h.id||null,"aria-controls":m},on:{click:g,keydown:g},key:"slide_".concat(v)})})),O={mouseenter:s?rp:l,mouseleave:s?rp:d,focusin:l,focusout:d,keydown:function(v){if(!/input|textarea/i.test(v.target.tagName)){var g=v.keyCode;(g===qi||g===ks)&&(ke(v),r[g===qi?"prev":"next"]())}}};return Kv&&!o&&(gf?(O["&pointerdown"]=f,O["&pointerup"]=p):(O["&touchstart"]=f,O["&touchmove"]=this.touchMove,O["&touchend"]=p)),e("div",{staticClass:"carousel",class:{slide:!a,"carousel-fade":!a&&this.fade,"pointer-event":Kv&&gf&&!o},style:{background:i},attrs:{role:"region",id:this.safeId(),"aria-busy":c?"true":"false"},on:O},[b,_,E])}});function E$(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 Eh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?E$(Object(r),!0).forEach(function(n){Tee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vj={imgAlt:y(I),imgBlank:y(B,!1),imgBlankColor:y(I,"transparent"),imgHeight:y(le),imgSrc:y(I),imgWidth:y(le)},Eee=ee(fe(Eh(Eh(Eh({},lt),vj),{},{background:y(I),caption:y(I),captionHtml:y(I),captionTag:y(I,"h3"),contentTag:y(I,"div"),contentVisibleUp:y(I),text:y(I),textHtml:y(I),textTag:y(I,"p")})),RB),xee=G({name:RB,mixins:[pt,Pe],inject:{getBvCarousel:{default:function(){return function(){return{noTouch:!0}}}}},props:Eee,computed:{bvCarousel:function(){return this.getBvCarousel()},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(OJ);if(!r&&(this.imgSrc||this.imgBlank)){var n={};!this.bvCarousel.noTouch&&Kv&&(n.dragstart=function(s){return ke(s,{propagation:!1})}),r=e(GE,{props:Eh(Eh({},xt(vj,this.$props,C4.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:Lt(this.captionHtml,this.caption)}):!1,this.text||this.textHtml?e(this.textTag,{domProps:Lt(this.textHtml,this.text)}):!1,this.normalizeSlot()||!1],a=e();return i.some(Oe)&&(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])}}),Pee=pe({components:{BCarousel:Oee,BCarouselSlide:xee}}),Pw="show",Cee=function(e){Ur(e,"height",0),st(function(){NE(e),Ur(e,"height","".concat(e.scrollHeight,"px"))})},Aee=function(e){$b(e,"height")},Mee=function(e){Ur(e,"height","auto"),Ur(e,"display","block"),Ur(e,"height","".concat(uc(e).height,"px")),NE(e),Ur(e,"height",0)},$ee=function(e){$b(e,"height")},kee={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},Dee={enter:Cee,afterEnter:Aee,leave:Mee,afterLeave:$ee},Iee={appear:y(B,!1)},Ree=G({name:SX,functional:!0,props:Iee,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("transition",ve(i,{props:kee,on:Dee},{props:n}),a)}}),Dm;function x$(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 Cw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?x$(Object(r),!0).forEach(function(n){WS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function WS(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lee=hr(Wr,"toggle"),Nee=hr(Wr,"request-state"),P$=zt(Wr,"accordion"),Bee=zt(Wr,"state"),Fee=zt(Wr,"sync-state"),zb=vr("visible",{type:B,defaultValue:!1}),jee=zb.mixin,Hee=zb.props,Im=zb.prop,zee=zb.event,Vee=ee(fe(Cw(Cw(Cw({},lt),Hee),{},{accordion:y(I),appear:y(B,!1),isNav:y(B,!1),tag:y(I,"div")})),Wr),Uee=G({name:Wr,mixins:[pt,jee,Pe,ea],props:Vee,data:function(){return{show:this[Im],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:(Dm={},WS(Dm,Im,function(t){t!==this.show&&(this.show=t)}),WS(Dm,"show",function(e,r){e!==r&&this.emitState()}),Dm),created:function(){this.show=this[Im]},mounted:function(){var e=this;this.show=this[Im],this.listenOnRoot(Lee,this.handleToggleEvent),this.listenOnRoot(P$,this.handleAccordionEvent),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(function(){e.emitState()}),this.listenOnRoot(Nee,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&&ht&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(e){Ki(e,window,"resize",this.handleResize,Ue),Ki(e,window,"orientationchange",this.handleResize,Ue)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit(Fr)},onAfterEnter:function(){this.transitioning=!1,this.$emit(pn)},onLeave:function(){this.transitioning=!0,this.$emit(In)},onAfterLeave:function(){this.transitioning=!1,this.$emit(Qt)},emitState:function(){var e=this.show,r=this.accordion,n=this.safeId();this.$emit(zee,e),this.emitOnRoot(Bee,n,e),r&&e&&this.emitOnRoot(P$,n,r)},emitSync:function(){this.emitOnRoot(Fee,this.safeId(),this.show)},checkDisplayBlock:function(){var e=this.$el,r=Zh(e,Pw);qr(e,Pw);var n=ni(e).display==="block";return r&&dn(e,Pw),n},clickHandler:function(e){var r=e.target;!this.isNav||!r||ni(this.$el).display!=="block"||(Ps(r,".nav-link,.dropdown-item")||Rn(".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=ni(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(_r,this.slotScope));return e(Ree,{props:{appear:r},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[n])}}),Ba=function(e,r){return yn?r.instance:e.context},YS="collapsed",KS="not-collapsed",Vb="__BV_toggle",xh="".concat(Vb,"_HANDLER__"),l0="".concat(Vb,"_CLICK__"),d0="".concat(Vb,"_STATE__"),ad="".concat(Vb,"_TARGETS__"),Gee="false",Wee="true",qS="aria-controls",XS="aria-expanded",JS="role",C$="tabindex",QS="overflow-anchor",Yee=hr(Wr,"toggle"),bj=zt(Wr,"state"),yj=zt(Wr,"sync-state"),Kee=hr(Wr,"request-state"),qee=[Ns,Ka],_j=function(e){return!Ee(["button","a"],e.tagName.toLowerCase())},Xee=function(e,r){var n=e.modifiers,i=e.arg,a=e.value,s=Ce(n||{});if(a=We(a)?a.split(jg):a,Ya(r.tagName,"a")){var o=oi(r,"href")||"";Tq.test(o)&&s.push(o.replace(Oq,""))}return Ye(i,a).forEach(function(u){return We(u)&&s.push(u)}),s.filter(function(u,c,l){return u&&l.indexOf(u)===c})},wj=function(e){var r=e[l0];r&&(Dt(e,"click",r,$n),Dt(e,"keydown",r,$n)),e[l0]=null},Jee=function(e,r){if(wj(e),r){var n=function(a){if(!(a.type==="keydown"&&!Ee(qee,a.keyCode))&&!ku(e)){var s=e[ad]||[];s.forEach(function(o){Ua(r).$emit(Yee,o)})}};e[l0]=n,Tt(e,"click",n,$n),_j(e)&&Tt(e,"keydown",n,$n)}},Sj=function(e,r){e[xh]&&r&&Ua(r).$off([bj,yj],e[xh]),e[xh]=null},Qee=function(e,r){if(Sj(e,r),r){var n=function(a,s){Ee(e[ad]||[],a)&&(e[d0]=s,Oj(e,s))};e[xh]=n,Ua(r).$on([bj,yj],n)}},Oj=function(e,r){r?(qr(e,YS),dn(e,KS),$t(e,XS,Wee)):(qr(e,KS),dn(e,YS),$t(e,XS,Gee))},Rm=function(e,r){e[r]=null,delete e[r]},Aw=function(e,r,n){if(!(!ht||!Ba(n,r))){_j(e)&&(Na(e,JS)||$t(e,JS,"button"),Na(e,C$)||$t(e,C$,"0")),Oj(e,e[d0]);var i=Xee(r,e);i.length>0?($t(e,qS,i.join(" ")),Ur(e,QS,"none")):(La(e,qS),$b(e,QS)),st(function(){Jee(e,Ba(n,r))}),Ze(i,e[ad])||(e[ad]=i,i.forEach(function(a){Ua(Ba(n,r)).$emit(Kee,a)}))}},Tj={bind:function(e,r,n){e[d0]=!1,e[ad]=[],Qee(e,Ba(n,r)),Aw(e,r,n)},componentUpdated:Aw,updated:Aw,unbind:function(e,r,n){wj(e),Sj(e,Ba(n,r)),Rm(e,xh),Rm(e,l0),Rm(e,d0),Rm(e,ad),qr(e,YS),qr(e,KS),La(e,XS),La(e,qS),La(e,JS),$b(e,QS)}},qE=pe({directives:{VBToggle:Tj}}),Ej=pe({components:{BCollapse:Uee},plugins:{VBTogglePlugin:qE}});/**!
* @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 Lp=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",Zee=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(Lp&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();function ete(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function tte(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Zee))}}var rte=Lp&&window.Promise,nte=rte?ete:tte;function xj(t){var e={};return t&&e.toString.call(t)==="[object Function]"}function Sc(t,e){if(t.nodeType!==1)return[];var r=t.ownerDocument.defaultView,n=r.getComputedStyle(t,null);return e?n[e]:n}function XE(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function Np(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Sc(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:Np(XE(t))}function Pj(t){return t&&t.referenceNode?t.referenceNode:t}var A$=Lp&&!!(window.MSInputMethodContext&&document.documentMode),M$=Lp&&/MSIE 10/.test(navigator.userAgent);function Rd(t){return t===11?A$:t===10?M$:A$||M$}function sd(t){if(!t)return document.documentElement;for(var e=Rd(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&&Sc(r,"position")==="static"?sd(r):r}function ite(t){var e=t.nodeName;return e==="BODY"?!1:e==="HTML"||sd(t.firstElementChild)===t}function ZS(t){return t.parentNode!==null?ZS(t.parentNode):t}function f0(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 ite(s)?s:sd(s);var o=ZS(t);return o.host?f0(o.host,e):f0(t,ZS(e).host)}function od(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 ate(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=od(e,"top"),i=od(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 $$(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 k$(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],Rd(10)?parseInt(r["offset"+t])+parseInt(n["margin"+(t==="Height"?"Top":"Left")])+parseInt(n["margin"+(t==="Height"?"Bottom":"Right")]):0)}function Cj(t){var e=t.body,r=t.documentElement,n=Rd(10)&&getComputedStyle(r);return{height:k$("Height",e,r,n),width:k$("Width",e,r,n)}}var ste=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ote=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}}(),ud=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},Pi=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 zo(t){return Pi({},t,{right:t.left+t.width,bottom:t.top+t.height})}function eO(t){var e={};try{if(Rd(10)){e=t.getBoundingClientRect();var r=od(t,"top"),n=od(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"?Cj(t.ownerDocument):{},s=a.width||t.clientWidth||i.width,o=a.height||t.clientHeight||i.height,u=t.offsetWidth-s,c=t.offsetHeight-o;if(u||c){var l=Sc(t);u-=$$(l,"x"),c-=$$(l,"y"),i.width-=u,i.height-=c}return zo(i)}function JE(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Rd(10),i=e.nodeName==="HTML",a=eO(t),s=eO(e),o=Np(t),u=Sc(e),c=parseFloat(u.borderTopWidth),l=parseFloat(u.borderLeftWidth);r&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=zo({top:a.top-s.top-c,left:a.left-s.left-l,width:a.width,height:a.height});if(d.marginTop=0,d.marginLeft=0,!n&&i){var f=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);d.top-=c-f,d.bottom-=c-f,d.left-=l-p,d.right-=l-p,d.marginTop=f,d.marginLeft=p}return(n&&!r?e.contains(o):e===o&&o.nodeName!=="BODY")&&(d=ate(d,e)),d}function ute(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.ownerDocument.documentElement,n=JE(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:od(r),o=e?0:od(r,"left"),u={top:s-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:i,height:a};return zo(u)}function Aj(t){var e=t.nodeName;if(e==="BODY"||e==="HTML")return!1;if(Sc(t,"position")==="fixed")return!0;var r=XE(t);return r?Aj(r):!1}function Mj(t){if(!t||!t.parentElement||Rd())return document.documentElement;for(var e=t.parentElement;e&&Sc(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function QE(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},s=i?Mj(t):f0(t,Pj(e));if(n==="viewport")a=ute(s,i);else{var o=void 0;n==="scrollParent"?(o=Np(XE(e)),o.nodeName==="BODY"&&(o=t.ownerDocument.documentElement)):n==="window"?o=t.ownerDocument.documentElement:o=n;var u=JE(o,s,i);if(o.nodeName==="HTML"&&!Aj(s)){var c=Cj(t.ownerDocument),l=c.height,d=c.width;a.top+=u.top-u.marginTop,a.bottom=l+u.top,a.left+=u.left-u.marginLeft,a.right=d+u.left}else a=u}r=r||0;var f=typeof r=="number";return a.left+=f?r:r.left||0,a.top+=f?r:r.top||0,a.right-=f?r:r.right||0,a.bottom-=f?r:r.bottom||0,a}function cte(t){var e=t.width,r=t.height;return e*r}function $j(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=QE(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(f){return Pi({key:f},o[f],{area:cte(o[f])})}).sort(function(f,p){return p.area-f.area}),c=u.filter(function(f){var p=f.width,m=f.height;return p>=r.clientWidth&&m>=r.clientHeight}),l=c.length>0?c[0].key:u[0].key,d=t.split("-")[1];return l+(d?"-"+d:"")}function kj(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?Mj(e):f0(e,Pj(r));return JE(r,i,n)}function Dj(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 h0(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 Ij(t,e,r){r=r.split("-")[0];var n=Dj(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",c=a?"width":"height";return i[s]=e[s]+e[u]/2-n[u]/2,r===o?i[o]=e[o]-n[c]:i[o]=e[h0(o)],i}function Bp(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function lte(t,e,r){if(Array.prototype.findIndex)return t.findIndex(function(i){return i[e]===r});var n=Bp(t,function(i){return i[e]===r});return t.indexOf(n)}function Rj(t,e,r){var n=r===void 0?t:t.slice(0,lte(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&&xj(a)&&(e.offsets.popper=zo(e.offsets.popper),e.offsets.reference=zo(e.offsets.reference),e=a(e,i))}),e}function dte(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=kj(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=$j(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=Ij(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Rj(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Lj(t,e){return t.some(function(r){var n=r.name,i=r.enabled;return i&&n===e})}function ZE(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 fte(){return this.state.isDestroyed=!0,Lj(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[ZE("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Nj(t){var e=t.ownerDocument;return e?e.defaultView:window}function Bj(t,e,r,n){var i=t.nodeName==="BODY",a=i?t.ownerDocument.defaultView:t;a.addEventListener(e,r,{passive:!0}),i||Bj(Np(a.parentNode),e,r,n),n.push(a)}function hte(t,e,r,n){r.updateBound=n,Nj(t).addEventListener("resize",r.updateBound,{passive:!0});var i=Np(t);return Bj(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function pte(){this.state.eventsEnabled||(this.state=hte(this.reference,this.options,this.state,this.scheduleUpdate))}function mte(t,e){return Nj(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 gte(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=mte(this.reference,this.state))}function ex(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(t)}function tO(t,e){Object.keys(e).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&ex(e[r])&&(n="px"),t.style[r]=e[r]+n})}function vte(t,e){Object.keys(e).forEach(function(r){var n=e[r];n!==!1?t.setAttribute(r,e[r]):t.removeAttribute(r)})}function bte(t){return tO(t.instance.popper,t.styles),vte(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&tO(t.arrowElement,t.arrowStyles),t}function yte(t,e,r,n,i){var a=kj(i,e,t,r.positionFixed),s=$j(r.placement,a,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),tO(e,{position:r.positionFixed?"fixed":"absolute"}),r}function _te(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),c=a(n.width),l=["left","right"].indexOf(t.placement)!==-1,d=t.placement.indexOf("-")!==-1,f=u%2===c%2,p=u%2===1&&c%2===1,m=e?l||d||f?a:s:o,b=e?a:o;return{left:m(p&&!d&&e?n.left-1:n.left),top:b(n.top),bottom:b(n.bottom),right:m(n.right)}}var wte=Lp&&/Firefox/i.test(navigator.userAgent);function Ste(t,e){var r=e.x,n=e.y,i=t.offsets.popper,a=Bp(t.instance.modifiers,function(O){return O.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=sd(t.instance.popper),u=eO(o),c={position:i.position},l=_te(t,window.devicePixelRatio<2||!wte),d=r==="bottom"?"top":"bottom",f=n==="right"?"left":"right",p=ZE("transform"),m=void 0,b=void 0;if(d==="bottom"?o.nodeName==="HTML"?b=-o.clientHeight+l.bottom:b=-u.height+l.bottom:b=l.top,f==="right"?o.nodeName==="HTML"?m=-o.clientWidth+l.right:m=-u.width+l.right:m=l.left,s&&p)c[p]="translate3d("+m+"px, "+b+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var _=d==="bottom"?-1:1,S=f==="right"?-1:1;c[d]=b*_,c[f]=m*S,c.willChange=d+", "+f}var E={"x-placement":t.placement};return t.attributes=Pi({},E,t.attributes),t.styles=Pi({},c,t.styles),t.arrowStyles=Pi({},t.offsets.arrow,t.arrowStyles),t}function Fj(t,e,r){var n=Bp(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 Ote(t,e){var r;if(!Fj(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,c=u?"height":"width",l=u?"Top":"Left",d=l.toLowerCase(),f=u?"left":"top",p=u?"bottom":"right",m=Dj(n)[c];o[p]-m<s[d]&&(t.offsets.popper[d]-=s[d]-(o[p]-m)),o[d]+m>s[p]&&(t.offsets.popper[d]+=o[d]+m-s[p]),t.offsets.popper=zo(t.offsets.popper);var b=o[d]+o[c]/2-m/2,_=Sc(t.instance.popper),S=parseFloat(_["margin"+l]),E=parseFloat(_["border"+l+"Width"]),O=b-t.offsets.popper[d]-S-E;return O=Math.max(Math.min(s[c]-m,O),0),t.arrowElement=n,t.offsets.arrow=(r={},ud(r,d,Math.round(O)),ud(r,f,""),r),t}function Tte(t){return t==="end"?"start":t==="start"?"end":t}var jj=["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"],Mw=jj.slice(3);function D$(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=Mw.indexOf(t),n=Mw.slice(r+1).concat(Mw.slice(0,r));return e?n.reverse():n}var $w={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Ete(t,e){if(Lj(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var r=QE(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=h0(n),a=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case $w.FLIP:s=[n,i];break;case $w.CLOCKWISE:s=D$(n);break;case $w.COUNTERCLOCKWISE:s=D$(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=h0(n);var c=t.offsets.popper,l=t.offsets.reference,d=Math.floor,f=n==="left"&&d(c.right)>d(l.left)||n==="right"&&d(c.left)<d(l.right)||n==="top"&&d(c.bottom)>d(l.top)||n==="bottom"&&d(c.top)<d(l.bottom),p=d(c.left)<d(r.left),m=d(c.right)>d(r.right),b=d(c.top)<d(r.top),_=d(c.bottom)>d(r.bottom),S=n==="left"&&p||n==="right"&&m||n==="top"&&b||n==="bottom"&&_,E=["top","bottom"].indexOf(n)!==-1,O=!!e.flipVariations&&(E&&a==="start"&&p||E&&a==="end"&&m||!E&&a==="start"&&b||!E&&a==="end"&&_),h=!!e.flipVariationsByContent&&(E&&a==="start"&&m||E&&a==="end"&&p||!E&&a==="start"&&_||!E&&a==="end"&&b),v=O||h;(f||S||v)&&(t.flipped=!0,(f||S)&&(n=s[u+1]),v&&(a=Tte(a)),t.placement=n+(a?"-"+a:""),t.offsets.popper=Pi({},t.offsets.popper,Ij(t.instance.popper,t.offsets.reference,t.placement)),t=Rj(t.instance.modifiers,t,"flip"))}),t}function xte(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",c=s?"width":"height";return r[o]<a(n[u])&&(t.offsets.popper[u]=a(n[u])-r[c]),r[u]>a(n[o])&&(t.offsets.popper[u]=a(n[o])),t}function Pte(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=zo(o);return u[e]/100*a}else if(s==="vh"||s==="vw"){var c=void 0;return s==="vh"?c=Math.max(document.documentElement.clientHeight,window.innerHeight||0):c=Math.max(document.documentElement.clientWidth,window.innerWidth||0),c/100*a}else return a}function Cte(t,e,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,s=t.split(/(\+|\-)/).map(function(l){return l.trim()}),o=s.indexOf(Bp(s,function(l){return l.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+/,c=o!==-1?[s.slice(0,o).concat([s[o].split(u)[0]]),[s[o].split(u)[1]].concat(s.slice(o+1))]:[s];return c=c.map(function(l,d){var f=(d===1?!a:a)?"height":"width",p=!1;return l.reduce(function(m,b){return m[m.length-1]===""&&["+","-"].indexOf(b)!==-1?(m[m.length-1]=b,p=!0,m):p?(m[m.length-1]+=b,p=!1,m):m.concat(b)},[]).map(function(m){return Pte(m,f,e,r)})}),c.forEach(function(l,d){l.forEach(function(f,p){ex(f)&&(i[d]+=f*(l[p-1]==="-"?-1:1))})}),i}function Ate(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 ex(+r)?u=[+r,0]:u=Cte(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 Mte(t,e){var r=e.boundariesElement||sd(t.instance.popper);t.instance.reference===r&&(r=sd(r));var n=ZE("transform"),i=t.instance.popper.style,a=i.top,s=i.left,o=i[n];i.top="",i.left="",i[n]="";var u=QE(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=a,i.left=s,i[n]=o,e.boundaries=u;var c=e.priority,l=t.offsets.popper,d={primary:function(p){var m=l[p];return l[p]<u[p]&&!e.escapeWithReference&&(m=Math.max(l[p],u[p])),ud({},p,m)},secondary:function(p){var m=p==="right"?"left":"top",b=l[m];return l[p]>u[p]&&!e.escapeWithReference&&(b=Math.min(l[m],u[p]-(p==="right"?l.width:l.height))),ud({},m,b)}};return c.forEach(function(f){var p=["left","top"].indexOf(f)!==-1?"primary":"secondary";l=Pi({},l,d[p](f))}),t.offsets.popper=l,t}function $te(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",c=o?"width":"height",l={start:ud({},u,a[u]),end:ud({},u,a[u]+a[c]-s[c])};t.offsets.popper=Pi({},s,l[n])}return t}function kte(t){if(!Fj(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=Bp(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 Dte(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=h0(e),t.offsets.popper=zo(i),t}var Ite={shift:{order:100,enabled:!0,fn:$te},offset:{order:200,enabled:!0,fn:Ate,offset:0},preventOverflow:{order:300,enabled:!0,fn:Mte,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:xte},arrow:{order:500,enabled:!0,fn:Ote,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:Ete,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:Dte},hide:{order:800,enabled:!0,fn:kte},computeStyle:{order:850,enabled:!0,fn:Ste,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:bte,onLoad:yte,gpuAcceleration:void 0}},Rte={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Ite},Ub=function(){function t(e,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ste(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=nte(this.update.bind(this)),this.options=Pi({},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(Pi({},t.Defaults.modifiers,i.modifiers)).forEach(function(s){n.options.modifiers[s]=Pi({},t.Defaults.modifiers[s]||{},i.modifiers?i.modifiers[s]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(s){return Pi({name:s},n.options.modifiers[s])}).sort(function(s,o){return s.order-o.order}),this.modifiers.forEach(function(s){s.enabled&&xj(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 ote(t,[{key:"update",value:function(){return dte.call(this)}},{key:"destroy",value:function(){return fte.call(this)}},{key:"enableEventListeners",value:function(){return pte.call(this)}},{key:"disableEventListeners",value:function(){return gte.call(this)}}]),t}();Ub.Utils=(typeof window<"u"?window:global).PopperUtils;Ub.placements=jj;Ub.Defaults=Rte;const rO=Ub;var Lte="top-start",Nte="top-end",Bte="bottom-start",Fte="bottom-end",jte="right-start",Hte="left-start";function zte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I$(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 Vte(t,e,r){return e&&I$(t.prototype,e),r&&I$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Oc=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(zte(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));Mp(this,t.Defaults,this.constructor.Defaults,r,{type:e}),Ab(this,{type:Oi(),cancelable:Oi(),nativeEvent:Oi(),target:Oi(),relatedTarget:Oi(),vueTarget:Oi(),componentId:Oi()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},CE(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return Vte(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),Ute=G({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(e,r){e!==r&&(Dt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ue),e&&Tt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ue))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&Tt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ue)},beforeDestroy:function(){Dt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ue)},methods:{isClickOut:function(e){return!fr(this.$el,e.target)},_clickOutHandler:function(e){this.clickOutHandler&&this.isClickOut(e)&&this.clickOutHandler(e)}}}),Gte=G({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(e,r){e!==r&&(Dt(this.focusInElement,"focusin",this._focusInHandler,Ue),e&&Tt(this.focusInElement,"focusin",this._focusInHandler,Ue))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&Tt(this.focusInElement,"focusin",this._focusInHandler,Ue)},beforeDestroy:function(){Dt(this.focusInElement,"focusin",this._focusInHandler,Ue)},methods:{_focusInHandler:function(e){this.focusInHandler&&this.focusInHandler(e)}}}),ip=null;yn&&(ip=new WeakMap);var Wte=function(e,r){yn&&ip.set(e,r)},Yte=function(e){yn&&ip.delete(e)},Kte=function(e){if(!yn)return e.__vue__;for(var r=e;r;){if(ip.has(r))return ip.get(r);r=r.parentNode}return null};function R$(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?R$(Object(r),!0).forEach(function(n){qte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var N$=zt(ac,pn),Xte=zt(ac,Qt),Jte=".dropdown form",Qte=[".dropdown-item",".b-dropdown-form"].map(function(t){return"".concat(t,":not(.disabled):not([disabled])")}).join(", "),Zte=function(e){return(e||[]).filter(Yi)},Gb=ee(fe(L$(L$({},lt),{},{boundary:y([To,I],"scrollParent"),disabled:y(B,!1),dropleft:y(B,!1),dropright:y(B,!1),dropup:y(B,!1),noFlip:y(B,!1),offset:y(le,0),popperOpts:y(gr,{}),right:y(B,!1)})),ac),tx=G({mixins:[pt,ea,Ute,Gte],provide:function(){var e=this;return{getBvDropdown:function(){return e}}},inject:{getBvNavbar:{default:function(){return function(){return null}}}},props:Gb,data:function(){return{visible:!1,visibleChangePrevented:!1}},computed:{bvNavbar:function(){return this.getBvNavbar()},inNavbar:function(){return!Ot(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?Kv?300:50:0}},watch:{visible:function(e,r){if(this.visibleChangePrevented){this.visibleChangePrevented=!1;return}if(e!==r){var n=e?Fr:In,i=new Oc(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(Qt,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()},mounted:function(){Wte(this.$el,this)},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper(),this.clearHideTimeout(),Yte(this.$el)},methods:{emitEvent:function(e){var r=e.type;this.emitOnRoot(zt(ac,r),e),this.$emit(r,e)},showMenu:function(){var e=this;if(!this.disabled){if(!this.inNavbar)if(typeof rO>"u")xr("Popper.js not found. Falling back to CSS positioning",ac);else{var r=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;r=r.$el||r,this.createPopper(r)}this.emitOnRoot(N$,this),this.whileOpenListen(!0),this.$nextTick(function(){e.focusMenu(),e.$emit(pn)})}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot(Xte,this),this.$emit(Qt),this.destroyPopper()},createPopper:function(e){this.destroyPopper(),this.$_popper=new rO(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=Bte;this.dropup?e=this.right?Nte:Lte:this.dropright?e=jte:this.dropleft?e=Hte:this.right&&(e=Fte);var r={placement:e,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},n=this.boundary;return n&&(r.modifiers.preventOverflow={boundariesElement:n}),eX(r,this.popperOpts||{})},whileOpenListen:function(e){this.listenForClickOut=e,this.listenForFocusIn=e;var r=e?"listenOnRoot":"listenOffRoot";this[r](N$,this.rootCloseListener)},rootCloseListener:function(e){e!==this&&(this.visible=!1)},show:function(){var e=this;this.disabled||st(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(Qt,this.focusToggler))},toggle:function(e){e=e||{};var r=e,n=r.type,i=r.keyCode;if(!(n!=="click"&&!(n==="keydown"&&[Ns,Ka,gn].indexOf(i)!==-1))){if(this.disabled){this.visible=!1;return}this.$emit(g4,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===FE?this.onEsc(e):r===gn?this.focusNext(e,!1):r===Ln&&this.focusNext(e,!0)},onEsc:function(e){this.visible&&(this.visible=!1,ke(e),this.$once(Qt,this.focusToggler))},onSplitClick:function(e){if(this.disabled){this.visible=!1;return}this.$emit(Mi,e)},hideHandler:function(e){var r=this,n=e.target;this.visible&&!fr(this.$refs.menu,n)&&!fr(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&&Rn(Jte,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});Ie(n)},getItems:function(){return Zte(ci(Qte,this.$refs.menu))},focusMenu:function(){Ie(this.$refs.menu)},focusToggler:function(){var e=this;this.$nextTick(function(){Ie(e.toggler)})}}});function B$(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 hs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?B$(Object(r),!0).forEach(function(n){ere(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):B$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ere(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hj=ee(fe(hs(hs(hs({},lt),Gb),{},{block:y(B,!1),html:y(I),lazy:y(B,!1),menuClass:y(we),noCaret:y(B,!1),role:y(I,"menu"),size:y(I),split:y(B,!1),splitButtonType:y(I,"button",function(t){return Ee(["button","submit","reset"],t)}),splitClass:y(we),splitHref:y(I),splitTo:y(w4),splitVariant:y(I),text:y(I),toggleAttrs:y(gr,{}),toggleClass:y(we),toggleTag:y(I,"button"),toggleText:y(I,"Toggle dropdown"),variant:y(I,"secondary")})),ac),F$=G({name:ac,mixins:[pt,tx,Pe],props:Hj,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,c=this.hide,l=this.toggle,d={variant:n,size:i,block:a,disabled:s},f=this.normalizeSlot(Ms),p=this.hasNormalizedSlot(Ms)?{}:Lt(this.html,this.text),m=e();if(o){var b=this.splitTo,_=this.splitHref,S=this.splitButtonType,E=hs(hs({},d),{},{variant:this.splitVariant||n});b?E.to=b:_?E.href=_:S&&(E.type=S),m=e(Nn,{class:this.splitClass,attrs:{id:this.safeId("_BV_button_")},props:E,domProps:p,on:{click:this.onSplitClick},ref:"button"},f),f=[e("span",{class:["sr-only"]},[this.toggleText])],p={}}var O=["menu","listbox","tree","grid","dialog"],h=e(Nn,{staticClass:"dropdown-toggle",class:this.toggleClasses,attrs:hs(hs({},this.toggleAttrs),{},{id:this.safeId("_BV_toggle_"),"aria-haspopup":O.includes(u)?u:"false","aria-expanded":_e(r)}),props:hs(hs({},d),{},{tag:this.toggleTag,block:a&&!o}),domProps:p,on:{mousedown:this.onMousedown,click:l,keydown:l},ref:"toggle"},f),v=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(_r,{hide:c}):e()]);return e("div",{staticClass:"dropdown b-dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[m,h,v])}});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 p0(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){zj(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 zj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vj=Re(ta,["event","routerTag"]),tre=ee(fe(p0(p0({},Vj),{},{linkClass:y(we),variant:y(I)})),zB),H$=G({name:zB,mixins:[Pr,Pe],inject:{getBvDropdown:{default:function(){return function(){return null}}}},inheritAttrs:!1,props:tre,computed:{bvDropdown:function(){return this.getBvDropdown()},computedAttrs:function(){return p0(p0({},this.bvAttrs),{},{role:"menuitem"})}},methods:{closeDropdown:function(){var e=this;st(function(){e.bvDropdown&&e.bvDropdown.hide(!0)})},onClick:function(e){this.$emit(Mi,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(Fn,{staticClass:"dropdown-item",class:[r,zj({},"text-".concat(n),n&&!(i||a))],props:xt(Vj,this.$props),attrs:this.computedAttrs,on:{click:s},ref:"item"},this.normalizeSlot())])}});function z$(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 V$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?z$(Object(r),!0).forEach(function(n){nO(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function nO(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rre=ee({active:y(B,!1),activeClass:y(I,"active"),buttonClass:y(we),disabled:y(B,!1),variant:y(I)},VB),Lm=G({name:VB,mixins:[Pr,Pe],inject:{getBvDropdown:{default:function(){return function(){return null}}}},inheritAttrs:!1,props:rre,computed:{bvDropdown:function(){return this.getBvDropdown()},computedAttrs:function(){return V$(V$({},this.bvAttrs),{},{role:"menuitem",type:"button",disabled:this.disabled})}},methods:{closeDropdown:function(){this.bvDropdown&&this.bvDropdown.hide(!0)},onClick:function(e){this.$emit(Mi,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={},nO(r,this.activeClass,n),nO(r,"text-".concat(i),i&&!(n||this.disabled)),r)],attrs:this.computedAttrs,on:{click:this.onClick},ref:"button"},this.normalizeSlot())])}});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 G$(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){Uj(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 Uj(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=ee({id:y(I),tag:y(I,"header"),variant:y(I)},HB),W$=G({name:HB,functional:!0,props:nre,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tag,o=n.variant;return e("li",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"dropdown-header",class:Uj({},"text-".concat(o),o),attrs:G$(G$({},i.attrs||{}),{},{id:n.id||null,role:Ya(s,"header")?null:"heading"}),ref:"header"},a)])}});function Y$(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?Y$(Object(r),!0).forEach(function(n){ire(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Y$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ire(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var are=ee({tag:y(I,"hr")},BB),q$=G({name:BB,functional:!0,props:are,render:function(e,r){var n=r.props,i=r.data;return e("li",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(n.tag,{staticClass:"dropdown-divider",attrs:K$(K$({},i.attrs||{}),{},{role:"separator","aria-orientation":"horizontal"}),ref:"divider"})])}}),rx=ee({id:y(I),inline:y(B,!1),novalidate:y(B,!1),validated:y(B,!1)},WB),nx=G({name:WB,functional:!0,props:rx,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("form",ve(i,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),a)}});function X$(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 m0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?X$(Object(r),!0).forEach(function(n){sre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):X$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function sre(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=ee(fe(m0(m0({},rx),{},{disabled:y(B,!1),formClass:y(we)})),FB),J$=G({name:FB,functional:!0,props:ore,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",ve(Re(i,["attrs","on"]),{attrs:{role:"presentation"}}),[e(nx,{staticClass:"b-dropdown-form",class:[n.formClass,{disabled:n.disabled}],props:n,attrs:m0(m0({},i.attrs||{}),{},{disabled:n.disabled,tabindex:n.disabled?null:"-1"}),on:a,ref:"form"},s)])}});function ure(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cre=ee({tag:y(I,"p"),textClass:y(we),variant:y(I)},UB),Q$=G({name:UB,functional:!0,props:cre,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",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"b-dropdown-text",class:[o,ure({},"text-".concat(u),u)],props:n,attrs:i.attrs||{},ref:"text"},a)])}});function Z$(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 ek(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Z$(Object(r),!0).forEach(function(n){Gj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Gj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lre=ee({ariaDescribedby:y(I),header:y(I),headerClasses:y(we),headerTag:y(I,"header"),headerVariant:y(I),id:y(I)},jB),tk=G({name:jB,functional:!0,props:lre,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.id,u=n.variant,c=n.header,l=n.headerTag,d=a(),f=s||{},p={},m=o?"_bv_".concat(o,"_group_dd_header"):null,b=e();return($s(Bo,f,d)||c)&&(b=e(l,{staticClass:"dropdown-header",class:[n.headerClasses,Gj({},"text-".concat(u),u)],attrs:{id:m,role:Ya(l,"header")?null:"heading"}},jr(Bo,p,f,d)||c)),e("li",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[b,e("ul",{staticClass:"list-unstyled",attrs:ek(ek({},i.attrs||{}),{},{id:o,role:"group","aria-describedby":[m,n.ariaDescribedBy].filter(Oe).join(" ").trim()||null})},jr(_r,p,f,d))])}}),ix=pe({components:{BDropdown:F$,BDd:F$,BDropdownItem:H$,BDdItem:H$,BDropdownItemButton:Lm,BDropdownItemBtn:Lm,BDdItemButton:Lm,BDdItemBtn:Lm,BDropdownHeader:W$,BDdHeader:W$,BDropdownDivider:q$,BDdDivider:q$,BDropdownForm:J$,BDdForm:J$,BDropdownText:Q$,BDdText:Q$,BDropdownGroup:tk,BDdGroup:tk}});function dre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fre=["iframe","embed","video","object","img","b-img","b-img-lazy"],hre=ee({aspect:y(I,"16by9"),tag:y(I,"div"),type:y(I,"iframe",function(t){return Ee(fre,t)})},GB),pre=G({name:GB,functional:!0,props:hre,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:dre({},"embed-responsive-".concat(s),s),ref:i.ref},[e(n.type,ve(Re(i,["ref"]),{staticClass:"embed-responsive-item"}),a)])}}),mre=pe({components:{BEmbed:pre}}),gre='Setting prop "options" to an object is deprecated. Use the array format instead.',Fp=ee({disabledField:y(I,"disabled"),htmlField:y(I,"html"),options:y(iJ,[]),textField:y(I,"text"),valueField:y(I,"value")},"formOptionControls"),Wb=G({props:Fp,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(en(e)){var n=Gr(e,this.valueField),i=Gr(e,this.textField);return{value:Zt(n)?r||i:n,text:qM(String(Zt(i)?r:i)),html:Gr(e,this.htmlField),disabled:!!Gr(e,this.disabledField)}}return{value:r||e,text:qM(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return nt(e)?e.map(function(n){return r.normalizeOption(n)}):en(e)?(xr(gre,this.$options.name),Ce(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}});function rk(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 nk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?rk(Object(r),!0).forEach(function(n){vre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bre=ee(fe(nk(nk({},Fp),{},{id:y(I,void 0,!0)})),qB),ik=G({name:qB,mixins:[Wb,Pe],props:bre,render:function(e){var r=this.id,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,c=i.disabled;return e("option",{attrs:{value:s,disabled:c},domProps:Lt(u,o),key:"option_".concat(a)})});return e("datalist",{attrs:{id:r}},[n,this.normalizeSlot()])}});function yre(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=ee({id:y(I),inline:y(B,!1),tag:y(I,"small"),textVariant:y(I,"muted")},lF),g0=G({name:lF,functional:!0,props:_re,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{class:yre({"form-text":!n.inline},"text-".concat(n.textVariant),n.textVariant),attrs:{id:n.id}}),a)}}),wre=ee({ariaLive:y(I),forceShow:y(B,!1),id:y(I),role:y(I),state:y(B,null),tag:y(I,"div"),tooltip:y(B,!1)},ZB),v0=G({name:ZB,functional:!0,props:wre,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,ve(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)}}),Sre=ee({ariaLive:y(I),forceShow:y(B,!1),id:y(I),role:y(I),state:y(B,null),tag:y(I,"div"),tooltip:y(B,!1)},hF),Wj=G({name:hF,functional:!0,props:Sre,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,ve(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)}}),Ore=ee({tag:y(I,"div")},nF),b0=G({name:nF,functional:!0,props:Ore,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{staticClass:"form-row"}),a)}}),Tre=pe({components:{BForm:nx,BFormDatalist:ik,BDatalist:ik,BFormText:g0,BFormInvalidFeedback:v0,BFormFeedback:v0,BFormValidFeedback:Wj,BFormRow:b0}}),ak=function(e,r){for(var n=0;n<e.length;n++)if(Ze(e[n],r))return n;return-1},sk="input, textarea, select",ra=ee({autofocus:y(B,!1),disabled:y(B,!1),form:y(I),id:y(I),name:y(I),required:y(B,!1)},"formControls"),Tc=G({props:ra,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick(function(){st(function(){var r=e.$el;e.autofocus&&Yi(r)&&(Ps(r,sk)||(r=si(sk,r)),Ie(r))})})}}}),jp=ee({plain:y(B,!1)},"formControls"),Yb=G({props:jp,computed:{custom:function(){return!this.plain}}}),na=ee({size:y(I)},"formControls"),Fs=G({props:na,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}}),ia=ee({state:y(B,null)},"formState"),qa=G({props:ia,computed:{computedState:function(){return Ei(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=qt(this).ariaInvalid;return e===!0||e==="true"||e===""||this.computedState===!1?"true":e}}}),Nm,Zs;function ok(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?ok(Object(r),!0).forEach(function(n){En(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ok(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function En(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kb=vr("checked",{defaultValue:null}),Ere=Kb.mixin,xre=Kb.props,wf=Kb.prop,Yj=Kb.event,ax=ee(fe(Ea(Ea(Ea(Ea(Ea(Ea(Ea({},lt),xre),ra),na),ia),jp),{},{ariaLabel:y(I),ariaLabelledby:y(I),button:y(B,!1),buttonVariant:y(I),inline:y(B,!1),value:y(nd)})),"formRadioCheckControls"),Kj=G({mixins:[Pr,pt,Ere,Pe,Tc,Fs,qa,Yb],inheritAttrs:!1,props:ax,data:function(){return{localChecked:this.isGroup?this.bvGroup[wf]:this[wf],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 Ze(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:Ei(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={},En(e,"btn-".concat(r),r),En(e,"disabled",this.isDisabled),En(e,"active",this.isChecked),En(e,"focus",this.hasFocus),e)]},computedAttrs:function(){var e=this.isDisabled,r=this.isRequired;return Ea(Ea({},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:(Nm={},En(Nm,wf,function(){this["".concat(wf,"Watcher")].apply(this,arguments)}),En(Nm,"computedLocalChecked",function(){this.computedLocalCheckedWatcher.apply(this,arguments)}),Nm),methods:(Zs={},En(Zs,"".concat(wf,"Watcher"),function(e){Ze(e,this.computedLocalChecked)||(this.computedLocalChecked=e)}),En(Zs,"computedLocalCheckedWatcher",function(e,r){Ze(e,r)||this.$emit(Yj,e)}),En(Zs,"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(Bn,a),r.isGroup&&r.bvGroup.$emit(Bn,a)})}),En(Zs,"handleFocus",function(e){e.target&&(e.type==="focus"?this.hasFocus=!0:e.type==="blur"&&(this.hasFocus=!1))}),En(Zs,"focus",function(){this.isDisabled||Ie(this.$refs.input)}),En(Zs,"blur",function(){this.isDisabled||Hn(this.$refs.input)}),Zs),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,c=this.bvAttrs,l=this.normalizeSlot(),d=e("input",{class:[{"form-check-input":i,"custom-control-input":a,"position-static":i&&!l},n?"":this.stateClass],directives:[{name:"model",value:this.computedLocalChecked}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked},on:Ea({change:this.handleChange},n?{focus:this.handleFocus,blur:this.handleFocus}:{}),key:"input",ref:"input"});if(n){var f=e("label",{class:this.buttonClasses},[d,l]);return this.isGroup||(f=e("div",{class:["btn-group-toggle","d-inline-block"]},[f])),f}var p=e();return i&&!l||(p=e("label",{class:{"form-check-label":i,"custom-control-label":a},attrs:{for:this.safeId()}},l)),e("div",{class:[En({"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),c.class],style:c.style},[d,p])}}),Qc;function uk(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 ck(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?uk(Object(r),!0).forEach(function(n){kl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uk(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 y0="indeterminate",kw=Ko+y0,Pre=ee(fe(ck(ck({},ax),{},(Qc={},kl(Qc,y0,y(B,!1)),kl(Qc,"switch",y(B,!1)),kl(Qc,"uncheckedValue",y(nd,!1)),kl(Qc,"value",y(nd,!0)),Qc))),YB),Xg=G({name:YB,mixins:[Kj],inject:{getBvGroup:{from:"getBvCheckGroup",default:function(){return function(){return null}}}},props:Pre,computed:{bvGroup:function(){return this.getBvGroup()},isChecked:function(){var e=this.value,r=this.computedLocalChecked;return nt(r)?ak(r,e)>-1:Ze(r,e)},isRadio:function(){return!1}},watch:kl({},y0,function(t,e){Ze(t,e)||this.setIndeterminate(t)}),mounted:function(){this.setIndeterminate(this[y0])},methods:{computedLocalCheckedWatcher:function(e,r){if(!Ze(e,r)){this.$emit(Yj,e);var n=this.$refs.input;n&&this.$emit(kw,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(nt(u)){var c=ak(u,s);i&&c<0?u=u.concat(s):!i&&c>-1&&(u=u.slice(0,c).concat(u.slice(c+1)))}else u=i?s:o;this.computedLocalChecked=u,this.$nextTick(function(){r.$emit(Bn,u),r.isGroup&&r.bvGroup.$emit(Bn,u),r.$emit(kw,a)})},setIndeterminate:function(e){nt(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit(kw,e))}}}),Cre=ee(ax,eF),iO=G({name:eF,mixins:[Kj],inject:{getBvGroup:{from:"getBvRadioGroup",default:function(){return function(){return null}}}},props:Cre,computed:{bvGroup:function(){return this.getBvGroup()}}}),Bm;function lk(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 wa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lk(Object(r),!0).forEach(function(n){Jg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Jg(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=["aria-describedby","aria-labelledby"],qb=vr("checked"),Are=qb.mixin,Mre=qb.props,aO=qb.prop,$re=qb.event,sx=ee(fe(wa(wa(wa(wa(wa(wa(wa(wa({},lt),Mre),ra),Fp),na),ia),jp),{},{ariaInvalid:y(rn,!1),buttonVariant:y(I),buttons:y(B,!1),stacked:y(B,!1),validated:y(B,!1)})),"formRadioCheckGroups"),qj=G({mixins:[pt,Are,Pe,Tc,Wb,Fs,qa,Yb],inheritAttrs:!1,props:sx,data:function(){return{localChecked:this[aO]}},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",Jg({"btn-group":e,"btn-group-vertical":!e},"btn-group-".concat(r),r)]),i}},watch:(Bm={},Jg(Bm,aO,function(t){Ze(t,this.localChecked)||(this.localChecked=t)}),Jg(Bm,"localChecked",function(e,r){Ze(e,r)||this.$emit($re,e)}),Bm),render:function(e){var r=this,n=this.isRadioGroup,i=Zi(this.$attrs,dk),a=n?iO:Xg,s=this.formOptions.map(function(o,u){var c="BV_option_".concat(u);return e(a,{props:{disabled:o.disabled||!1,id:r.safeId(c),value:o.value},attrs:i,key:c},[e("span",{domProps:Lt(o.html,o.text)})])});return e("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:wa(wa({},Re(this.$attrs,dk)),{},{"aria-invalid":this.computedAriaInvalid,"aria-required":this.required?"true":null,id:this.safeId(),role:n?"radiogroup":"group",tabindex:"-1"})},[this.normalizeSlot(DE),s,this.normalizeSlot()])}}),Fm;function fk(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 hk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fk(Object(r),!0).forEach(function(n){sO(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function sO(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kre=ee(fe(hk(hk({},sx),{},(Fm={},sO(Fm,aO,y(mn,[])),sO(Fm,"switches",y(B,!1)),Fm))),KB),Dw=G({name:KB,mixins:[qj],provide:function(){var e=this;return{getBvCheckGroup:function(){return e}}},props:kre,computed:{isRadioGroup:function(){return!1}}}),Dre=pe({components:{BFormCheckbox:Xg,BCheckbox:Xg,BCheck:Xg,BFormCheckboxGroup:Dw,BCheckboxGroup:Dw,BCheckGroup:Dw}}),jm="__BV_hover_handler__",Xj="mouseenter",Ire="mouseleave",Rre=function(e){var r=function(i){e(i.type===Xj,i)};return r.fn=e,r},pk=function(e,r,n){Ki(e,r,Xj,n,Ue),Ki(e,r,Ire,n,Ue)},Iw=function(e,r){var n=r.value,i=n===void 0?null:n;if(ht){var a=e[jm],s=be(a),o=!(s&&a.fn===i);s&&o&&(pk(!1,e,a),delete e[jm]),be(i)&&o&&(e[jm]=Rre(i),pk(!0,e,e[jm]))}},Jj={bind:Iw,componentUpdated:Iw,unbind:function(e){Iw(e,{value:null})}};function mk(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?mk(Object(r),!0).forEach(function(n){wl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ox=fe(Zc(Zc(Zc(Zc(Zc(Zc({},lt),na),ia),Re(Gb,["disabled"])),Re(ra,["autofocus"])),{},{buttonOnly:y(B,!1),buttonVariant:y(I,"secondary"),formattedValue:y(I),labelSelected:y(I),lang:y(I),menuClass:y(we),placeholder:y(I),readonly:y(B,!1),rtl:y(B,null),value:y(I,"")})),Qj=G({name:OX,directives:{"b-hover":Jj},mixins:[pt,Fs,qa,tx,Pe],props:ox,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||Ie(this.$refs.toggle)},blur:function(){this.disabled||Hn(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,c=this.required,l=this.name,d=this.state,f=this.visible,p=this.size,m=this.isHovered,b=this.hasFocus,_=this.labelSelected,S=this.buttonVariant,E=this.buttonOnly,O=_e(this.value)||"",h=d===!1||c&&!O,v={isHovered:m,hasFocus:b,state:d,opened:f},g=e("button",{staticClass:"btn",class:(r={},wl(r,"btn-".concat(S),E),wl(r,"btn-".concat(p),p),wl(r,"h-auto",!E),wl(r,"dropdown-toggle",E),wl(r,"dropdown-toggle-no-caret",E),r),attrs:{id:n,type:"button",disabled:o,"aria-haspopup":"dialog","aria-expanded":f?"true":"false","aria-invalid":h?"true":null,"aria-required":c?"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(Ms)?this.normalizeSlot(Ms,v):e(FQ,{props:{scale:1.25}})]),T=e();l&&!o&&(T=e("input",{attrs:{type:"hidden",name:l||null,form:this.form||null,value:O}}));var C=e("div",{staticClass:"dropdown-menu",class:[this.menuClass,{show:f,"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(_r,{opened:f})]),k=e("label",{class:E?"sr-only":["form-control",{"text-muted":!O},this.stateClass,this.sizeFormClass],attrs:{id:i,for:n,"aria-invalid":h?"true":null,"aria-required":c?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{"!click":function(A){ke(A,{preventDefault:!1})}}},[O?this.formattedValue||O:this.placeholder||"",O&&_?e("bdi",{staticClass:"sr-only"},_):""]);return e("div",{staticClass:"b-form-btn-label-control dropdown",class:[this.directionClass,this.boundaryClass,[{"btn-group":E,"form-control":!E,focus:b&&!E,show:f,"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||c&&!O?"true":null,"aria-required":c?"true":null}},[g,T,C,k])}}),Sf;function gk(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 gs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gk(Object(r),!0).forEach(function(n){nh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function nh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xb=vr("value",{type:Vu}),Lre=Xb.mixin,Nre=Xb.props,vk=Xb.prop,Bre=Xb.event,Zj=Re(ij,["block","hidden","id","noKeyNav","roleDescription","value","width"]),e6=Re(ox,["formattedValue","id","lang","rtl","value"]),Fre=ee(fe(gs(gs(gs(gs(gs({},lt),Nre),Zj),e6),{},{calendarWidth:y(I,"270px"),closeButton:y(B,!1),closeButtonVariant:y(I,"outline-secondary"),dark:y(B,!1),labelCloseButton:y(I,"Close"),labelResetButton:y(I,"Reset"),labelTodayButton:y(I,"Select today"),noCloseOnSelect:y(B,!1),resetButton:y(B,!1),resetButtonVariant:y(I,"outline-danger"),resetValue:y(Vu),todayButton:y(B,!1),todayButtonVariant:y(I,"outline-primary")})),XB),bk=G({name:XB,mixins:[pt,Lre],props:Fre,data:function(){return{localYMD:St(this[vk])||"",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 St(u0(this.resetValue))||""}},watch:(Sf={},nh(Sf,vk,function(t){this.localYMD=St(t)||""}),nh(Sf,"localYMD",function(e){this.isVisible&&this.$emit(Bre,this.valueAsDate?lr(e)||null:e||"")}),nh(Sf,"calendarYM",function(e,r){if(e!==r&&r)try{this.$refs.control.updatePopper()}catch{}}),Sf),methods:{focus:function(){this.disabled||Ie(this.$refs.control)},blur:function(){this.disabled||Hn(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(rd,e)},onTodayButton:function(){this.setAndClose(St(u0(Ir(),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(){Ie(e.$refs.calendar),e.$emit(pn)})},onHidden:function(){this.isVisible=!1,this.$emit(Qt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?BQ:NQ,{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=at(this.placeholder)?this.labelNoDateSelected:this.placeholder,c=[];if(this.todayButton){var l=this.labelTodayButton;c.push(e(Nn,{props:{disabled:n||i,size:"sm",variant:this.todayButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onTodayButton}},l))}if(this.resetButton){var d=this.labelResetButton;c.push(e(Nn,{props:{disabled:n||i,size:"sm",variant:this.resetButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onResetButton}},d))}if(this.closeButton){var f=this.labelCloseButton;c.push(e(Nn,{props:{disabled:n,size:"sm",variant:this.closeButtonVariant},attrs:{"aria-label":f||null},on:{click:this.onCloseButton}},f))}c.length>0&&(c=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":c.length>1,"justify-content-end":c.length<2}},c)]);var p=e(aj,{staticClass:"b-form-date-calendar w-100",props:gs(gs({},xt(Zj,s)),{},{hidden:!this.isVisible,value:r,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:Zi(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"},c);return e(Qj,{staticClass:"b-form-datepicker",props:gs(gs({},xt(e6,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:nh({},Ms,o[Ms]||this.defaultButtonFn),ref:"control"},[p])}}),jre=pe({components:{BFormDatepicker:bk,BDatepicker:bk}}),Hm;function yk(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 cs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?yk(Object(r),!0).forEach(function(n){Qg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Qg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jb=vr("value",{type:[mn,uB],defaultValue:null,validator:function(e){return e===""?(xr(Gre,ME),!0):at(e)||Wre(e)}}),Hre=Jb.mixin,zre=Jb.props,Vre=Jb.prop,Ure=Jb.event,Gre='Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',Wre=function t(e){return Jq(e)||nt(e)&&e.every(function(r){return t(r)})},t6=function(e){return be(e.getAsEntry)?e.getAsEntry():be(e.webkitGetAsEntry)?e.webkitGetAsEntry():null},Yre=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Promise.all(oc(e).filter(function(n){return n.kind==="file"}).map(function(n){var i=t6(n);if(i){if(i.isDirectory&&r)return Kre(i.createReader(),"".concat(i.name,"/"));if(i.isFile)return new Promise(function(a){i.file(function(s){s.$path="",a(s)})})}return null}).filter(Oe))},Kre=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 XJ(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(c){u.file(function(l){l.$path="".concat(r).concat(l.name),c(l)})})}return null}).filter(Oe))),s())})};a()})},qre=ee(fe(cs(cs(cs(cs(cs(cs(cs({},lt),zre),ra),jp),ia),na),{},{accept:y(I,""),browseText:y(I,"Browse"),capture:y(B,!1),directory:y(B,!1),dropPlaceholder:y(I,"Drop files here"),fileNameFormatter:y(vn),multiple:y(B,!1),noDrop:y(B,!1),noDropPlaceholder:y(I,"Not allowed"),noTraverse:y(B,!1),placeholder:y(I,"No file chosen")})),ME),_k=G({name:ME,mixins:[Pr,pt,Hre,Pe,Tc,qa,Yb,Pe],inheritAttrs:!1,props:qre,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(Oe),e.length===0?null:e.map(function(r){var n="name",i="^",a="$";Sq.test(r)?i="":(n="type",$q.test(r)&&(a=".+$",r=r.slice(0,-1))),r=RE(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 cs(cs({},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 Va(e)?e:this.defaultFileNameFormatter},clonedFiles:function(){return xi(this.files)},flattenedFiles:function(){return bf(this.files)},fileNames:function(){return this.flattenedFiles.map(function(e){return e.name})},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(pJ,{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(this.files.length===0)return this.normalizeSlot(zJ)||this.placeholder;var e=this.flattenedFiles,r=this.clonedFiles,n=this.fileNames,i=this.computedFileNameFormatter;return this.hasNormalizedSlot(lM)?this.normalizeSlot(lM,{files:e,filesTraversed:r,names:n}):i(e,r,n)}},watch:(Hm={},Qg(Hm,Vre,function(t){(!t||nt(t)&&t.length===0)&&this.reset()}),Qg(Hm,"files",function(e,r){if(!Ze(e,r)){var n=this.multiple,i=this.noTraverse,a=!n||i?bf(e):e;this.$emit(Ure,n?a:a[0]||null)}}),Hm),created:function(){this.$_form=null},mounted:function(){var e=Rn("form",this.$el);e&&(Tt(e,"reset",this.reset,$n),this.$_form=e)},beforeDestroy:function(){var e=this.$_form;e&&Dt(e,"reset",this.reset,$n)},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 nt(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:bf(e):bf(e).slice(0,1)},setInputFiles:function(e){try{var r=new ClipboardEvent("").clipboardData||new DataTransfer;bf(xi(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(Bn,e);var u=oc(s.items||[]);if(rB&&u.length>0&&!Ot(t6(u[0])))Yre(u,this.directory).then(function(l){return r.handleFiles(l,o)});else{var c=oc(i.files||s.files||[]).map(function(l){return l.$path=l.webkitRelativePath||"",l});this.handleFiles(c,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 c=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:[Qg({},"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,c])}}),Xre=pe({components:{BFormFile:_k,BFile:_k}}),Rw=function(e){return"\\"+e},r6=function(e){e=_e(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+Rw("".concat(o.toString(16)," ")):s===0&&o===45&&r===1?i+Rw(a):o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?i+a:i+Rw(a)},"")};function wk(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 zm(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wk(Object(r),!0).forEach(function(n){ih(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ih(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jre=["auto","start","end","center","baseline","stretch"],Qre=function(e,r,n){var i=e;if(!(at(n)||n===!1))return r&&(i+="-".concat(r)),e==="col"&&(n===""||n===!0)||(i+="-".concat(n)),t0(i)},Zre=kp(Qre),oO=go(null),ene=function(){var e=ep().filter(Oe),r=e.reduce(function(a,s){return a[s]=y(Qh),a},go(null)),n=e.reduce(function(a,s){return a[xo(s,"offset")]=y(le),a},go(null)),i=e.reduce(function(a,s){return a[xo(s,"order")]=y(le),a},go(null));return oO=Mp(go(null),{col:Ce(r),offset:Ce(n),order:Ce(i)}),ee(fe(zm(zm(zm(zm({},r),n),i),{},{alignSelf:y(I,null,function(a){return Ee(Jre,a)}),col:y(B,!1),cols:y(le),offset:y(le),order:y(le),tag:y(I,"div")})),LB)},Zg={name:LB,functional:!0,get props(){return delete this.props,this.props=ene()},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.cols,u=i.offset,c=i.order,l=i.alignSelf,d=[];for(var f in oO)for(var p=oO[f],m=0;m<p.length;m++){var b=Zre(f,p[m].replace(f,""),i[p[m]]);b&&d.push(b)}var _=d.some(function(S){return Uq.test(S)});return d.push((n={col:i.col||!_&&!o},ih(n,"col-".concat(o),o),ih(n,"offset-".concat(u),u),ih(n,"order-".concat(c),c),ih(n,"align-self-".concat(l),l),n)),e(i.tag,ve(a,{class:d}),s)}};function Sk(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?Sk(Object(r),!0).forEach(function(n){tne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function tne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var n6=["input","select","textarea"],rne=n6.map(function(t){return"".concat(t,":not([disabled])")}).join(),nne=[].concat(n6,["a","button","label"]),ine=function(){return ee(fe(Dl(Dl(Dl(Dl({},lt),ia),ep().reduce(function(e,r){return e[xo(r,"contentCols")]=y(Qh),e[xo(r,"labelAlign")]=y(I),e[xo(r,"labelCols")]=y(Qh),e},go(null))),{},{description:y(I),disabled:y(B,!1),feedbackAriaLive:y(I,"assertive"),invalidFeedback:y(I),label:y(I),labelClass:y(we),labelFor:y(I),labelSize:y(I),labelSrOnly:y(B,!1),tooltip:y(B,!1),validFeedback:y(I),validated:y(B,!1)})),JB)},Ok={name:JB,mixins:[pt,qa,Pe],get props(){return delete this.props,this.props=ine()},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 Ce(this.contentColProps).length>0||Ce(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 ep().reduce(function(n,i){var a=e[xo(i,"".concat(r,"Align"))]||null;return a&&n.push(["text",i,a].filter(Oe).join("-")),n},[])},getColProps:function(e,r){return ep().reduce(function(n,i){var a=e[xo(i,"".concat(r,"Cols"))];return a=a===""?!0:a||!1,!Ei(a)&&a!=="auto"&&(a=oe(a,0),a=a>0?a:!1),a&&(n[i||(Ei(a)?"col":"cols")]=a),n},{})},updateAriaDescribedby:function(e,r){var n=this.labelFor;if(ht&&n){var i=si("#".concat(r6(n)),this.$refs.content);if(i){var a="aria-describedby",s=(e||"").split(jg),o=(r||"").split(jg),u=(oi(i,a)||"").split(jg).filter(function(c){return!Ee(o,c)}).concat(s).filter(function(c,l,d){return d.indexOf(c)===l}).filter(Oe).join(" ").trim();u?$t(i,a,u):La(i,a)}}},onLegendClick:function(e){if(!this.labelFor){var r=e.target,n=r?r.tagName:"";if(nne.indexOf(n)===-1){var i=ci(rne,this.$refs.content).filter(Yi);i.length===1&&Ie(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,c=o(),l=!a,d=e(),f=s(O4)||this.label,p=f?o("_BV_label_"):null;if(f||i){var m=this.labelSize,b=this.labelColProps,_=l?"legend":"label";this.labelSrOnly?(f&&(d=e(_,{class:"sr-only",attrs:{id:p,for:a||null}},[f])),d=e(i?Zg:"div",{props:i?b:{}},[d])):d=e(i?Zg:_,{on:l?{click:this.onLegendClick}:{},props:i?Dl(Dl({},b),{},{tag:_}):{},attrs:{id:p,for:a||null,tabindex:l?"-1":null},class:[l?"bv-no-focus-ring":"",i||l?"col-form-label":"",!i&&l?"pt-0":"",!i&&!l?"d-block":"",m?"col-form-label-".concat(m):"",this.labelAlignClasses,this.labelClass]},[f])}var S=e(),E=s(EJ)||this.invalidFeedback,O=E?o("_BV_feedback_invalid_"):null;E&&(S=e(v0,{props:{ariaLive:n,id:O,state:r,tooltip:u},attrs:{tabindex:E?"-1":null}},[E]));var h=e(),v=s(qJ)||this.validFeedback,g=v?o("_BV_feedback_valid_"):null;v&&(h=e(Wj,{props:{ariaLive:n,id:g,state:r,tooltip:u},attrs:{tabindex:v?"-1":null}},[v]));var T=e(),C=s(fJ)||this.description,k=C?o("_BV_description_"):null;C&&(T=e(g0,{attrs:{id:k,tabindex:"-1"}},[C]));var w=this.ariaDescribedby=[k,r===!1?O:null,r===!0?g:null].filter(Oe).join(" ")||null,A=e(i?Zg:"div",{props:i?this.contentColProps:{},ref:"content"},[s(_r,{ariaDescribedby:w,descriptionId:k,id:c,labelId:p})||e(),S,h,T]);return e(l?"fieldset":i?b0:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:c,disabled:l?this.disabled:null,role:l?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":l&&i?p:null}},i&&l?[e(b0,[d,A])]:[d,A])}},ane=pe({components:{BFormGroup:Ok,BFormFieldset:Ok}}),i6=G({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 Tk(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 Ek(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Tk(Object(r),!0).forEach(function(n){a6(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Tk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function a6(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qb=vr("value",{type:le,defaultValue:"",event:tJ}),sne=Qb.mixin,one=Qb.props,xk=Qb.prop,une=Qb.event,ux=ee(fe(Ek(Ek({},one),{},{ariaInvalid:y(rn,!1),autocomplete:y(I),debounce:y(le,0),formatter:y(vn),lazy:y(B,!1),lazyFormatter:y(B,!1),number:y(B,!1),placeholder:y(I),plaintext:y(B,!1),readonly:y(B,!1),trim:y(B,!1)})),"formTextControls"),s6=G({mixins:[sne],props:ux,data:function(){var e=this[xk];return{localValue:_e(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 Qe(oe(this.debounce,0),0)},hasFormatter:function(){return Va(this.formatter)}},watch:a6({},xk,function(t){var e=_e(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=_e(e),this.hasFormatter&&(!this.lazyFormatter||n)&&(e=this.formatter(e,r)),e},modifyValue:function(e){return e=_e(e),this.trim&&(e=e.trim()),this.number&&(e=Be(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(une,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(u4,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(Bn,n)},onBlur:function(e){var r=e.target.value,n=this.formatValue(r,e,!0);n!==!1&&(this.localValue=_e(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit(a4,e)},focus:function(){this.disabled||Ie(this.$el)},blur:function(){this.disabled||Hn(this.$el)}}}),o6=G({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 Pk(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 io(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Pk(Object(r),!0).forEach(function(n){cne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function cne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u6=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],lne=ee(fe(io(io(io(io(io(io({},lt),ra),na),ia),ux),{},{list:y(I),max:y(le),min:y(le),noWheel:y(B,!1),step:y(le),type:y(I,"text",function(t){return Ee(u6,t)})})),QB),Ck=G({name:QB,mixins:[Bs,pt,Tc,Fs,qa,s6,i6,o6],props:lne,computed:{localType:function(){var e=this.type;return Ee(u6,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,c=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:c,list:e!=="password"?this.list:null,"aria-required":s?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return io(io({},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;Ki(e,r,"focus",this.onWheelFocus),Ki(e,r,"blur",this.onWheelBlur),e||Dt(document,"wheel",this.stopWheel)},onWheelFocus:function(){Tt(document,"wheel",this.stopWheel)},onWheelBlur:function(){Dt(document,"wheel",this.stopWheel)},stopWheel:function(e){ke(e,{propagation:!1}),Hn(this.$el)}},render:function(e){return e("input",{class:this.computedClass,attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),dne=pe({components:{BFormInput:Ck,BInput:Ck}}),fne=ee(sx,tF),Ak=G({name:tF,mixins:[qj],provide:function(){var e=this;return{getBvRadioGroup:function(){return e}}},props:fne,computed:{isRadioGroup:function(){return!0}}}),hne=pe({components:{BFormRadio:iO,BRadio:iO,BFormRadioGroup:Ak,BRadioGroup:Ak}}),Of;function Mk(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 Tf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Mk(Object(r),!0).forEach(function(n){ev(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ev(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=vr("value",{type:le,event:Bn}),pne=Zb.mixin,mne=Zb.props,$k=Zb.prop,gne=Zb.event,c6=3,l6=5,kk=function(e){return Qe(c6,oe(e,l6))},cu=function(e,r,n){return Qe(Ss(e,n),r)},vne=G({name:TX,mixins:[Pe],props:{disabled:y(B,!1),focused:y(B,!1),hasClear:y(B,!1),rating:y(Qr,0),readonly:y(B,!1),star:y(Qr,0),variant:y(I)},methods:{onClick:function(e){!this.disabled&&!this.readonly&&(ke(e,{propagation:!1}),this.$emit(m4,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,c=a?0:1,l=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||!oe(r)&&n===c,"b-rating-star-empty":l==="empty","b-rating-star-half":l==="half","b-rating-star-full":l==="full"},attrs:{tabindex:!o&&!u?"-1":null},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(l,d)])])}}),bne=ee(fe(Tf(Tf(Tf(Tf(Tf({},lt),mne),Re(ra,["required","autofocus"])),na),{},{color:y(I),iconClear:y(I,"x"),iconEmpty:y(I,"star"),iconFull:y(I,"star-fill"),iconHalf:y(I,"star-half"),inline:y(B,!1),locale:y(tn),noBorder:y(B,!1),precision:y(le),readonly:y(B,!1),showClear:y(B,!1),showValue:y(B,!1),showValueMax:y(B,!1),stars:y(le,l6,function(t){return oe(t)>=c6}),variant:y(I)})),rF),Dk=G({name:rF,components:{BIconStar:GQ,BIconStarHalf:YQ,BIconStarFill:WQ,BIconX:j4},mixins:[pt,pne,Fs],props:bne,data:function(){var e=Be(this[$k],null),r=kk(this.stars);return{localValue:Ot(e)?null:cu(e,0,r),hasFocus:!1}},computed:{computedStars:function(){return kk(this.stars)},computedRating:function(){var e=Be(this.localValue,0),r=oe(this.precision,3);return cu(Be(e.toFixed(r)),0,this.computedStars)},computedLocale:function(){var e=Ye(this.locale).filter(Oe),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Bb(this.computedLocale)},formattedRating:function(){var e=oe(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=Ot(s)?r?"-":"":s.toLocaleString(n,i),r?"".concat(s,"/").concat(a):s}},watch:(Of={},ev(Of,$k,function(t,e){if(t!==e){var r=Be(t,null);this.localValue=Ot(r)?null:cu(r,0,this.computedStars)}}),ev(Of,"localValue",function(e,r){e!==r&&e!==(this.value||0)&&this.$emit(gne,e||null)}),ev(Of,"disabled",function(e){e&&(this.hasFocus=!1,this.blur())}),Of),methods:{focus:function(){this.disabled||Ie(this.$el)},blur:function(){this.disabled||Hn(this.$el)},onKeydown:function(e){var r=e.keyCode;if(this.isInteractive&&Ee([qi,gn,ks,Ln],r)){ke(e,{propagation:!1});var n=oe(this.localValue,0),i=this.showClear?0:1,a=this.computedStars,s=this.isRTL?-1:1;r===qi?this.localValue=cu(n-s,i,a)||null:r===ks?this.localValue=cu(n+s,i,a):r===gn?this.localValue=cu(n-1,i,a)||null:r===Ln&&(this.localValue=cu(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(r0,{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(r0,{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,c=this.color,l=this.noBorder,d=this.hasFocus,f=this.computedRating,p=this.computedStars,m=this.formattedRating,b=this.showClear,_=this.isRTL,S=this.isInteractive,E=this.$scopedSlots,O=[];if(b&&!n&&!i){var h=e("span",{staticClass:"b-rating-icon"},[(E[yJ]||this.iconClearFn)()]);O.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:d&&f===0},attrs:{tabindex:S?"-1":null},on:{click:function(){return r.onSelected(null)}},key:"clear"},[h]))}for(var v=0;v<p;v++){var g=v+1;O.push(e(vne,{staticClass:"flex-grow-1",style:c&&!n?{color:c}:{},props:{rating:f,star:g,variant:n?null:u||null,disabled:n,readonly:i,focused:d,hasClear:b},on:{selected:this.onSelected},scopedSlots:{empty:E[_J]||this.iconEmptyFn,half:E[SJ]||this.iconHalfFn,full:E[wJ]||this.iconFullFn},key:v}))}return a&&O.push(e("input",{attrs:{type:"hidden",value:Ot(this.localValue)?"":f,name:a,form:s||null},key:"hidden"})),this.showValue&&O.push(e("b",{staticClass:"b-rating-value flex-grow-1",attrs:{"aria-hidden":"true"},key:"value"},_e(m))),e("output",{staticClass:"b-rating form-control align-items-center",class:[{"d-inline-flex":o,"d-flex":!o,"border-0":l,disabled:n,readonly:!n&&i},this.sizeFormClass],attrs:{id:this.safeId(),dir:_?"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":b?"0":"1","aria-valuemax":_e(p),"aria-valuenow":f?_e(f):null},on:{keydown:this.onKeydown,focus:this.onFocus,blur:this.onFocus}},O)}}),yne=pe({components:{BFormRating:Dk,BRating:Dk}}),ey=vr("value"),_ne=ey.mixin,wne=ey.props,Sne=ey.prop,One=ey.event;function Ik(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 Rk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ik(Object(r),!0).forEach(function(n){Tne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ik(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ene=ee(fe(Rk(Rk({},Fp),{},{labelField:y(I,"label"),optionsField:y(I,"options")})),"formOptions"),xne=G({mixins:[Wb],props:Ene,methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(en(e)){var n=Gr(e,this.valueField),i=Gr(e,this.textField),a=Gr(e,this.optionsField,null);return Ot(a)?{value:Zt(n)?r||i:n,text:String(Zt(i)?r:i),html:Gr(e,this.htmlField),disabled:!!Gr(e,this.disabledField)}:{label:String(Gr(e,this.labelField)||i),options:this.normalizeOptions(a)}}return{value:r||e,text:String(e),disabled:!1}}}}),Pne=ee({disabled:y(B,!1),value:y(nd,void 0,!0)},aF),_0=G({name:aF,functional:!0,props:Pne,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.value,o=n.disabled;return e("option",ve(i,{attrs:{disabled:o},domProps:{value:s}}),a)}});function Lk(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 Nk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Lk(Object(r),!0).forEach(function(n){Cne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Cne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ane=ee(fe(Nk(Nk({},Fp),{},{label:y(I,void 0,!0)})),sF),uO=G({name:sF,mixins:[Pe,Wb],props:Ane,render:function(e){var r=this.label,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,c=i.disabled;return e(_0,{attrs:{value:s,disabled:c},domProps:Lt(u,o),key:"option_".concat(a)})});return e("optgroup",{attrs:{label:r}},[this.normalizeSlot(DE),n,this.normalizeSlot()])}});function Bk(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 lu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Bk(Object(r),!0).forEach(function(n){Mne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Mne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $ne=ee(fe(lu(lu(lu(lu(lu(lu(lu({},lt),wne),ra),jp),na),ia),{},{ariaInvalid:y(rn,!1),multiple:y(B,!1),selectSize:y(Qr,0)})),iF),Fk=G({name:iF,mixins:[pt,_ne,Tc,Fs,qa,Yb,xne,Pe],props:$ne,data:function(){return{localValue:this[Sne]}},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(One,this.localValue)}},methods:{focus:function(){Ie(this.$refs.input)},blur:function(){Hn(this.$refs.input)},onChange:function(e){var r=this,n=e.target,i=oc(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(Bn,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,c){var l=u.value,d=u.label,f=u.options,p=u.disabled,m="option_".concat(c);return nt(f)?e(uO,{props:{label:d,options:f},key:m}):e(_0,{props:{value:l,disabled:p},domProps:Lt(u.html,u.text),key:m})});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(DE),o,this.normalizeSlot()])}}),kne=pe({components:{BFormSelect:Fk,BFormSelectOption:_0,BFormSelectOptionGroup:uO,BSelect:Fk,BSelectOption:_0,BSelectOptionGroup:uO}}),el;function jk(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 xa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jk(Object(r),!0).forEach(function(n){ah(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ah(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ty=vr("value",{type:aJ}),Dne=ty.mixin,Ine=ty.props,Hk=ty.prop,Rne=ty.event,d6=1,f6=100,h6=1,p6=500,m6=100,g6=10,v6=4,zk=[Ln,gn,Ho,jo,i0,n0],b6=ee(fe(xa(xa(xa(xa(xa(xa({},lt),Ine),Re(ra,["required","autofocus"])),na),ia),{},{ariaControls:y(I),ariaLabel:y(I),formatterFn:y(vn),inline:y(B,!1),labelDecrement:y(I,"Decrement"),labelIncrement:y(I,"Increment"),locale:y(tn),max:y(le,f6),min:y(le,d6),placeholder:y(I),readonly:y(B,!1),repeatDelay:y(le,p6),repeatInterval:y(le,m6),repeatStepMultiplier:y(le,v6),repeatThreshold:y(le,g6),step:y(le,h6),vertical:y(B,!1),wrap:y(B,!1)})),oF),cO=G({name:oF,mixins:[Pr,pt,Dne,Fs,qa,Pe],inheritAttrs:!1,props:b6,data:function(){return{localValue:Be(this[Hk],null),hasFocus:!1}},computed:{required:function(){return!1},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 Be(this.step,h6)},computedMin:function(){return Be(this.min,d6)},computedMax:function(){var e=Be(this.max,f6),r=this.computedStep,n=this.computedMin;return tp((e-n)/r)*r+n},computedDelay:function(){var e=oe(this.repeatDelay,0);return e>0?e:p6},computedInterval:function(){var e=oe(this.repeatInterval,0);return e>0?e:m6},computedThreshold:function(){return Qe(oe(this.repeatThreshold,g6),1)},computedStepMultiplier:function(){return Qe(oe(this.repeatStepMultiplier,v6),1)},computedPrecision:function(){var e=this.computedStep;return tp(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return R4(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return Ot(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=Ye(this.locale).filter(Oe),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},computedRTL:function(){return Bb(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 Va(e)?e:this.defaultFormatter},computedAttrs:function(){return xa(xa({},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=!Ot(r);return xa(xa({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":_e(this.computedMin),"aria-valuemax":_e(this.computedMax),"aria-valuenow":o?r:null,"aria-valuetext":o?s(r):null})}},watch:(el={},ah(el,Hk,function(t){this.localValue=Be(t,null)}),ah(el,"localValue",function(e){this.$emit(Rne,e)}),ah(el,"disabled",function(e){e&&this.clearRepeat()}),ah(el,"readonly",function(e){e&&this.clearRepeat()}),el),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||Ie(this.$refs.spinner)},blur:function(){this.disabled||Hn(this.$refs.spinner)},emitChange:function(){this.$emit(Bn,this.localValue)},stepValue:function(e){var r=this.localValue;if(!this.disabled&&!Ot(r)){var n=this.computedStep*e,i=this.computedMin,a=this.computedMax,s=this.computedMultiplier,o=this.wrap;r=jS((r-i)/n)*n+i+n,r=jS(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;Ot(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;Ot(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)&&Ee(zk,r)){if(ke(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),Ee([Ln,gn],r)?(this.$_keyIsDown=!0,r===Ln?this.handleStepRepeat(e,this.stepUp):r===gn&&this.handleStepRepeat(e,this.stepDown)):r===i0?this.stepUp(this.computedStepMultiplier):r===n0?this.stepDown(this.computedStepMultiplier):r===Ho?this.localValue=this.computedMin:r===jo&&(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||Ee(zk,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,c=this.computedDelay,l=this.computedInterval;this.$_autoDelayTimer=setTimeout(function(){var d=0;n.$_autoRepeatTimer=setInterval(function(){r(d<o?1:u),d++},l)},c)}},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{Ki(e,document.body,"mouseup",this.onMouseup,!1),Ki(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,c=this.computedFormatter,l=!Ot(i),d=function(S,E,O,h,v,g,T){var C=e(O,{props:{scale:r.hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}}),k={hasFocus:r.hasFocus},w=function(P){!u&&!s&&(ke(P,{propagation:!1}),r.setMouseup(!0),Ie(P.currentTarget),r.handleStepRepeat(P,S))};return e("button",{staticClass:"btn btn-sm border-0 rounded-0",class:{"py-0":!o},attrs:{tabindex:"-1",type:"button",disabled:u||s||g,"aria-disabled":u||s||g?"true":null,"aria-controls":n,"aria-label":E||null,"aria-keyshortcuts":v||null},on:{mousedown:w,touchstart:w},key:h||null,ref:h},[r.normalizeSlot(T,k)||C])},f=d(this.stepUp,this.labelIncrement,UQ,"inc","ArrowUp",!1,TJ),p=d(this.stepDown,this.labelDecrement,zQ,"dec","ArrowDown",!1,dJ),m=e();this.name&&!u&&(m=e("input",{attrs:{type:"hidden",name:this.name,form:this.form||null,value:this.valueAsFixed},key:"hidden"}));var b=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",l?c(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?[f,m,b,p]:[p,m,b,f])}}),Lne=pe({components:{BFormSpinbutton:cO,BSpinbutton:cO}});function Vk(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 Uk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Vk(Object(r),!0).forEach(function(n){Nne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Nne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bne=ee(fe(Uk(Uk({},lt),{},{disabled:y(B,!1),noRemove:y(B,!1),pill:y(B,!1),removeLabel:y(I,"Remove tag"),tag:y(I,"span"),title:y(I),variant:y(I,"secondary")})),uF),lO=G({name:uF,mixins:[pt,Pe],props:Bne,methods:{onRemove:function(e){var r=e.type,n=e.keyCode;!this.disabled&&(r==="click"||r==="keydown"&&n===z4)&&this.$emit(UX)}},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_"),c=e();!this.noRemove&&!s&&(c=e(cc,{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 l=e("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate",attrs:{id:u}},this.normalizeSlot()||r);return e(ej,{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}},[l,c])}}),Ef;function Gk(t){return zne(t)||Hne(t)||jne(t)||Fne()}function Fne(){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 jne(t,e){if(t){if(typeof t=="string")return dO(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 dO(t,e)}}function Hne(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zne(t){if(Array.isArray(t))return dO(t)}function dO(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 Wk(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 Jn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Wk(Object(r),!0).forEach(function(n){tv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function tv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ry=vr("value",{type:mn,defaultValue:[]}),Vne=ry.mixin,Une=ry.props,Lw=ry.prop,Gne=ry.event,y6=["text","email","tel","url","number"],Wne=[".b-form-tag","button","input","select"].join(" "),Yne=function(e){return RE(e).replace(aB,"\\s")},Yk=function(e){return Ye(e).map(function(r){return Eo(_e(r))}).filter(function(r,n,i){return r.length>0&&i.indexOf(r)===n})},Kk=function(e){return We(e)?e:rc(e)&&e.target.value||""},Nw=function(){return{all:[],valid:[],invalid:[],duplicate:[]}},Kne=ee(fe(Jn(Jn(Jn(Jn(Jn(Jn({},lt),Une),ra),na),ia),{},{addButtonText:y(I,"Add"),addButtonVariant:y(I,"outline-secondary"),addOnChange:y(B,!1),duplicateTagText:y(I,"Duplicate tag(s)"),feedbackAriaLive:y(I,"assertive"),ignoreInputFocusSelector:y(tn,Wne),inputAttrs:y(gr,{}),inputClass:y(we),inputId:y(I),inputType:y(I,"text",function(t){return Ee(y6,t)}),invalidTagText:y(I,"Invalid tag(s)"),limit:y(Qr),limitTagsText:y(I,"Tag limit reached"),noAddOnEnter:y(B,!1),noOuterFocus:y(B,!1),noTagRemove:y(B,!1),placeholder:y(I,"Add tag..."),removeOnDelete:y(B,!1),separator:y(tn),tagClass:y(we),tagPills:y(B,!1),tagRemoveLabel:y(I,"Remove tag"),tagRemovedLabel:y(I,"Tag removed"),tagValidator:y(vn),tagVariant:y(I,"secondary")})),cF),qk=G({name:cF,mixins:[Bs,pt,Vne,Tc,Fs,qa,Pe],props:Kne,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:Nw(),focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return Ee(y6,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,r=this.form;return Jn(Jn({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:r})},computedInputHandlers:function(){return Jn(Jn({},Re(this.bvListeners,[Qv,Zv])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return Ye(this.separator).filter(We).filter(Oe).join("")},computedSeparatorRegExp:function(){var e=this.computedSeparator;return e?new RegExp("[".concat(Yne(e),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return e!==" "?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return Ye(this.ignoreInputFocusSelector).filter(Oe).join(",").trim()},disableAddButton:function(){var e=this,r=Eo(this.newTag);return r===""||!this.splitTags(r).some(function(n){return!Ee(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 Ui(e)&&e>=0&&this.tags.length>=e}},watch:(Ef={},tv(Ef,Lw,function(t){this.tags=Yk(t)}),tv(Ef,"tags",function(e,r){Ze(e,this[Lw])||this.$emit(Gne,e),Ze(e,r)||(e=Ye(e).filter(Oe),r=Ye(r).filter(Oe),this.removedTags=r.filter(function(n){return!Ee(e,n)}))}),tv(Ef,"tagsState",function(e,r){Ze(e,r)||this.$emit(ZX,e.valid,e.invalid,e.duplicate)}),Ef),created:function(){this.tags=Yk(this[Lw])},mounted:function(){var e=Rn("form",this.$el);e&&Tt(e,"reset",this.reset,$n)},beforeDestroy:function(){var e=Rn("form",this.$el);e&&Dt(e,"reset",this.reset,$n)},methods:{addTag:function(e){if(e=We(e)?e:this.newTag,!(this.disabled||Eo(e)===""||this.isLimitReached)){var r=this.parseTags(e);if(r.valid.length>0||r.all.length===0)if(Ps(this.getInput(),"select"))this.newTag="";else{var n=[].concat(Gk(r.invalid),Gk(r.duplicate));this.newTag=r.all.filter(function(i){return Ee(n,i)}).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}r.valid.length>0&&(this.tags=Ye(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=Nw()})},onInputInput:function(e){if(!(this.disabled||rc(e)&&e.target.composing)){var r=Kk(e),n=this.computedSeparatorRegExp;this.newTag!==r&&(this.newTag=r),r=QJ(r),n&&n.test(r.slice(-1))?this.addTag():this.tagsState=r===""?Nw():this.parseTags(r)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var r=Kk(e);this.newTag!==r&&(this.newTag=r),this.addTag()}},onInputKeydown:function(e){if(!(this.disabled||!rc(e))){var r=e.keyCode,n=e.target.value||"";!this.noAddOnEnter&&r===Ns?(ke(e,{propagation:!1}),this.addTag()):this.removeOnDelete&&(r===JQ||r===z4)&&n===""&&(ke(e,{propagation:!1}),this.tags=this.tags.slice(0,-1))}},onClick:function(e){var r=this,n=this.computeIgnoreInputFocusSelector;(!n||!Rn(n,e.target,!0))&&this.$nextTick(function(){r.focus()})},onInputFocus:function(e){var r=this;this.focusState!=="out"&&(this.focusState="in",this.$nextTick(function(){st(function(){r.hasFocus&&(r.$emit(FX,e),r.focusState=null)})}))},onInputBlur:function(e){var r=this;this.focusState!=="in"&&(this.focusState="out",this.$nextTick(function(){st(function(){r.hasFocus||(r.$emit(a4,e),r.focusState=null)})}))},onFocusin:function(e){this.hasFocus=!0,this.$emit(Qv,e)},onFocusout:function(e){this.hasFocus=!1,this.$emit(Zv,e)},handleAutofocus:function(){var e=this;this.$nextTick(function(){st(function(){e.autofocus&&e.focus()})})},focus:function(){this.disabled||Ie(this.getInput())},blur:function(){this.disabled||Hn(this.getInput())},splitTags:function(e){e=_e(e);var r=this.computedSeparatorRegExp;return(r?e.split(r):[e]).map(Eo).filter(Oe)},parseTags:function(e){var r=this,n=this.splitTags(e),i={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach(function(a){Ee(r.tags,a)||Ee(i.valid,a)?Ee(i.duplicate,a)||i.duplicate.push(a):r.validateTag(a)?i.valid.push(a):Ee(i.invalid,a)||i.invalid.push(a)}),i},validateTag:function(e){var r=this.tagValidator;return Va(r)?r(e):!0},getInput:function(){return si("#".concat(r6(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,c=e.inputClass,l=e.inputHandlers,d=e.inputType,f=e.invalidTagText,p=e.isDuplicate,m=e.isInvalid,b=e.isLimitReached,_=e.limitTagsText,S=e.noTagRemove,E=e.placeholder,O=e.removeTag,h=e.tagClass,v=e.tagPills,g=e.tagRemoveLabel,T=e.tagVariant,C=e.tags,k=this.$createElement,w=C.map(function(K){return K=_e(K),k(lO,{class:h,props:{disabled:s,noRemove:S,pill:v,removeLabel:g,tag:"li",title:K,variant:T},on:{remove:function(){return O(K)}},key:"tags_".concat(K)},K)}),A=f&&m?this.safeId("__invalid_feedback__"):null,P=o&&p?this.safeId("__duplicate_feedback__"):null,x=_&&b?this.safeId("__limit_feedback__"):null,$=[u["aria-describedby"],A,P,x].filter(Oe).join(" "),D=k("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:c,style:{outline:0,minWidth:"5rem"},attrs:Jn(Jn({},u),{},{"aria-describedby":$||null,type:d,placeholder:E||null}),domProps:{value:u.value},on:l,directives:[{name:"model",value:u.value}],ref:"input"}),M=k(Nn,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||b,variant:n},on:{click:function(){return i()}},ref:"button"},[this.normalizeSlot(cJ)||r]),R=this.safeId("__tag_list__"),N=k("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":R},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:R},key:"tags_list"},[w,N]),z=k();if(f||o||_){var V=this.feedbackAriaLive,J=this.computedJoiner,re=k();A&&(re=k(v0,{props:{id:A,ariaLive:V,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(J)]));var Y=k();P&&(Y=k(g0,{props:{id:P,ariaLive:V},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(J)]));var U=k();x&&(U=k(g0,{props:{id:x,ariaLive:V},key:"tags_limit_feedback"},[_])),z=k("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[re,Y,U])}return[j,z]}},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,c=this.noOuterFocus,l=Jn({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},Zi(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),d=this.normalizeSlot(_r,l)||this.defaultRender(l),f=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(", ")):""),m=e();if(r&&!n){var b=s.length>0;m=(b?s:[""]).map(function(_){return e("input",{class:{"sr-only":!b},attrs:{type:b?"hidden":"text",value:_,required:i,name:r,form:a},key:"tag_input_".concat(_)})})}return e("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:u&&!c&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||c?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[f,p,d,m])}}),qne=pe({components:{BFormTags:qk,BTags:qk,BFormTag:lO,BTag:lO}});function Xk(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 ao(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xk(Object(r),!0).forEach(function(n){Xne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Xne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jne=ee(fe(ao(ao(ao(ao(ao(ao({},lt),ra),na),ia),ux),{},{maxRows:y(le),noAutoShrink:y(B,!1),noResize:y(B,!1),rows:y(le,2),wrap:y(I,"soft")})),dF),Jk=G({name:dF,directives:{"b-visible":KE},mixins:[Bs,pt,ea,Tc,Fs,qa,s6,i6,o6],props:Jne,data:function(){return{heightInPx:null}},computed:{type:function(){return null},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 Qe(oe(this.rows,2),2)},computedMaxRows:function(){return Qe(this.computedMinRows,oe(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 ao(ao({},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(){st(function(){e.heightInPx=e.computeHeight()})})},computeHeight:function(){if(this.$isServer||!Ot(this.computedRows))return null;var e=this.$el;if(!Yi(e))return null;var r=ni(e),n=Be(r.lineHeight,1),i=Be(r.borderTopWidth,0)+Be(r.borderBottomWidth,0),a=Be(r.paddingTop,0)+Be(r.paddingBottom,0),s=i+a,o=n*this.computedMinRows+s,u=Ml(e,"height")||r.height;Ur(e,"height","auto");var c=e.scrollHeight;Ur(e,"height",u);var l=Qe((c-a)/n,2),d=Ss(Qe(l,this.computedMinRows),this.computedMaxRows),f=Qe(I4(d*n+s),o);return this.noAutoShrink&&Be(u,0)>f?u:"".concat(f,"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"})}}),Qne=pe({components:{BFormTextarea:Jk,BTextarea:Jk}}),du;function Qk(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 sh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Qk(Object(r),!0).forEach(function(n){Ou(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ou(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zne(t,e){return nie(t)||rie(t,e)||tie(t,e)||eie()}function eie(){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 tie(t,e){if(t){if(typeof t=="string")return Zk(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 Zk(t,e)}}function Zk(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 rie(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 nie(t){if(Array.isArray(t))return t}var ny=vr("value",{type:I,defaultValue:""}),iie=ny.mixin,aie=ny.props,eD=ny.prop,sie=ny.event,tl="numeric",oie=function(e){return"00".concat(e||"").slice(-2)},Vm=function(e){e=_e(e);var r=null,n=null,i=null;if(Bq.test(e)){var a=e.split(":").map(function(o){return oe(o,null)}),s=Zne(a,3);r=s[0],n=s[1],i=s[2]}return{hours:at(r)?null:r,minutes:at(n)?null:n,seconds:at(i)?null:i,ampm:at(r)||r<12?0:1}},uie=function(e){var r=e.hours,n=e.minutes,i=e.seconds,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ot(r)||Ot(n)||a&&Ot(i))return"";var s=[r,n,a?i:0];return s.map(oie).join(":")},_6=ee(fe(sh(sh(sh(sh({},lt),aie),Zi(b6,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:y(I),disabled:y(B,!1),footerTag:y(I,"footer"),headerTag:y(I,"header"),hidden:y(B,!1),hideHeader:y(B,!1),hour12:y(B,null),labelAm:y(I,"AM"),labelAmpm:y(I,"AM/PM"),labelHours:y(I,"Hours"),labelMinutes:y(I,"Minutes"),labelNoTimeSelected:y(I,"No time selected"),labelPm:y(I,"PM"),labelSeconds:y(I,"Seconds"),labelSelected:y(I,"Selected time"),locale:y(tn),minutesStep:y(le,1),readonly:y(B,!1),secondsStep:y(le,1),showSeconds:y(B,!1)})),r4),w6=G({name:r4,mixins:[pt,iie,Pe],props:_6,data:function(){var e=Vm(this[eD]||"");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 uie({hours:e,minutes:r,seconds:n},this.showSeconds)},resolvedOptions:function(){var e=Ye(this.locale).filter(Oe),r={hour:tl,minute:tl,second:tl};at(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 Bb(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(Oe).join(" ")||null},timeFormatter:function(){var e={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:tl,minute:tl,timeZone:"UTC"};return this.showSeconds&&(e.second=tl),eh(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(Ir(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(IM,{props:{scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(n){var i=n.hasFocus;return e(IM,{props:{flipV:!0,scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(du={},Ou(du,eD,function(t,e){if(t!==e&&!Ze(Vm(t),Vm(this.computedHMS))){var r=Vm(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}}),Ou(du,"computedHMS",function(e,r){e!==r&&this.$emit(sie,e)}),Ou(du,"context",function(e,r){Ze(e,r)||this.$emit(rd,e)}),Ou(du,"modelAmpm",function(e,r){var n=this;if(e!==r){var i=Ot(this.modelHours)?0:this.modelHours;this.$nextTick(function(){e===0&&i>11?n.modelHours=i-12:e===1&&i<12&&(n.modelHours=i+12)})}}),Ou(du,"modelHours",function(e,r){e!==r&&(this.modelAmpm=e>11?1:0)}),du),created:function(){var e=this;this.$nextTick(function(){e.$emit(rd,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||Ie(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=Fo();fr(this.$el,e)&&Hn(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===qi||n===ks)){ke(e);var i=this.$refs.spinners||[],a=i.map(function(s){return!!s.hasFocus}).indexOf(!0);a=a+(n===qi?-1:1),a=a>=i.length?0:a<0?i.length-1:a,Ie(i[a])}},setLive:function(e){var r=this;e?this.$nextTick(function(){st(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,c=this.valueId,l=this.focus,d=[],f=function(h,v,g){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},C=r.safeId("_spinbutton_".concat(v,"_"))||null;return d.push(C),e(cO,Ou({class:g,props:sh({id:C,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:i,locale:a,labelIncrement:o,labelDecrement:u,wrap:!0,ariaControls:c,min:0},T),scopedSlots:r.spinScopedSlots,on:{change:h},key:v,ref:"spinners"},EE,!0))},p=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||i},attrs:{"aria-hidden":"true"}},[e(HS,{props:{shiftV:4,scale:.5}}),e(HS,{props:{shiftV:-4,scale:.5}})])},m=[];m.push(f(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),m.push(p()),m.push(f(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(m.push(p()),m.push(f(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.isLive&&this.is12Hour&&m.push(f(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),m=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(h){h.target===h.currentTarget&&l()}}},m);var b=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||i},attrs:{id:c,role:"status",for:d.filter(Oe).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:l,focus:l}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),_=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[b]),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}},[_,m,E])}}),Um;function tD(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?tD(Object(r),!0).forEach(function(n){rv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var iy=vr("value",{type:I,defaultValue:""}),cie=iy.mixin,lie=iy.props,rD=iy.prop,die=iy.event,S6=Re(_6,["hidden","id","value"]),O6=Re(ox,["formattedValue","id","lang","rtl","value"]),fie=ee(fe(vs(vs(vs(vs(vs({},lt),lie),S6),O6),{},{closeButtonVariant:y(I,"outline-secondary"),labelCloseButton:y(I,"Close"),labelNowButton:y(I,"Select now"),labelResetButton:y(I,"Reset"),noCloseButton:y(B,!1),nowButton:y(B,!1),nowButtonVariant:y(I,"outline-primary"),resetButton:y(B,!1),resetButtonVariant:y(I,"outline-danger"),resetValue:y(Vu)})),fF),nD=G({name:fF,mixins:[pt,cie],props:fie,data:function(){return{localHMS:this[rD]||"",localLocale:null,isRTL:!1,formattedValue:"",isVisible:!1}},computed:{computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null}},watch:(Um={},rv(Um,rD,function(t){this.localHMS=t||""}),rv(Um,"localHMS",function(e){this.isVisible&&this.$emit(die,e||"")}),Um),methods:{focus:function(){this.disabled||Ie(this.$refs.control)},blur:function(){this.disabled||Hn(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(rd,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(){Ie(e.$refs.time),e.$emit(pn)})},onHidden:function(){this.isVisible=!1,this.$emit(Qt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?HQ:jQ,{attrs:{"aria-hidden":"true"}})}},render:function(e){var r=this.localHMS,n=this.disabled,i=this.readonly,a=this.$props,s=at(this.placeholder)?this.labelNoTimeSelected:this.placeholder,o=[];if(this.nowButton){var u=this.labelNowButton;o.push(e(Nn,{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 c=this.labelResetButton;o.push(e(Nn,{props:{size:"sm",disabled:n||i,variant:this.resetButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onResetButton},key:"reset-btn"},c))}if(!this.noCloseButton){o.length>0&&o.push(e("span"," "));var l=this.labelCloseButton;o.push(e(Nn,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onCloseButton},key:"close-btn"},l))}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(w6,{staticClass:"b-form-time-control",props:vs(vs({},xt(S6,a)),{},{value:r,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},o);return e(Qj,{staticClass:"b-form-timepicker",props:vs(vs({},xt(O6,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:rv({},Ms,this.$scopedSlots[Ms]||this.defaultButtonFn),ref:"control"},[d])}}),hie=pe({components:{BFormTimepicker:nD,BTimepicker:nD}}),pie=pe({components:{BImg:GE,BImgLazy:gj}}),mie=ee({tag:y(I,"div")},wF),w0=G({name:wF,functional:!0,props:mie,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{staticClass:"input-group-text"}),a)}}),cx=ee({append:y(B,!1),id:y(I),isText:y(B,!1),tag:y(I,"div")},bF),lx=G({name:bF,functional:!0,props:cx,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.append;return e(n.tag,ve(i,{class:{"input-group-append":s,"input-group-prepend":!s},attrs:{id:n.id}}),n.isText?[e(w0,a)]:a)}});function iD(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 aD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iD(Object(r),!0).forEach(function(n){gie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vie=ee(Re(cx,["append"]),yF),T6=G({name:yF,functional:!0,props:vie,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(lx,ve(i,{props:aD(aD({},n),{},{append:!0})}),a)}});function sD(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 oD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sD(Object(r),!0).forEach(function(n){bie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function bie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yie=ee(Re(cx,["append"]),_F),E6=G({name:_F,functional:!0,props:yie,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(lx,ve(i,{props:oD(oD({},n),{},{append:!1})}),a)}});function _ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wie=ee({append:y(I),appendHtml:y(I),id:y(I),prepend:y(I),prependHtml:y(I),size:y(I),tag:y(I,"div")},vF),Sie=G({name:vF,functional:!0,props:wie,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.prepend,u=n.prependHtml,c=n.append,l=n.appendHtml,d=n.size,f=s||{},p=a(),m={},b=e(),_=$s(pM,f,p);(_||o||u)&&(b=e(E6,[_?jr(pM,m,f,p):e(w0,{domProps:Lt(u,o)})]));var S=e(),E=$s(sM,f,p);return(E||c||l)&&(S=e(T6,[E?jr(sM,m,f,p):e(w0,{domProps:Lt(l,c)})])),e(n.tag,ve(i,{staticClass:"input-group",class:_ie({},"input-group-".concat(d),d),attrs:{id:n.id||null,role:"group"}}),[b,jr(_r,m,f,p),S])}}),Oie=pe({components:{BInputGroup:Sie,BInputGroupAddon:lx,BInputGroupPrepend:E6,BInputGroupAppend:T6,BInputGroupText:w0}});function Tie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Eie=ee({fluid:y(rn,!1),tag:y(I,"div")},NB),x6=G({name:NB,functional:!0,props:Eie,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.fluid;return e(n.tag,ve(i,{class:Tie({container:!(s||s===""),"container-fluid":s===!0||s===""},"container-".concat(s),s&&s!==!0)}),a)}});function xf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xie=ee({bgVariant:y(I),borderVariant:y(I),containerFluid:y(rn,!1),fluid:y(B,!1),header:y(I),headerHtml:y(I),headerLevel:y(le,3),headerTag:y(I,"h1"),lead:y(I),leadHtml:y(I),leadTag:y(I,"p"),tag:y(I,"div"),textVariant:y(I)},SF),Pie=G({name:SF,functional:!0,props:xie,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.header,c=i.headerHtml,l=i.lead,d=i.leadHtml,f=i.textVariant,p=i.bgVariant,m=i.borderVariant,b=o||{},_=s(),S={},E=e(),O=$s(Bo,b,_);if(O||u||c){var h=i.headerLevel;E=e(i.headerTag,{class:xf({},"display-".concat(h),h),domProps:O?{}:Lt(c,u)},jr(Bo,S,b,_))}var v=e(),g=$s(dM,b,_);(g||l||d)&&(v=e(i.leadTag,{staticClass:"lead",domProps:g?{}:Lt(d,l)},jr(dM,S,b,_)));var T=[E,v,jr(_r,S,b,_)];return i.fluid&&(T=[e(x6,{props:{fluid:i.containerFluid}},T)]),e(i.tag,ve(a,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":i.fluid},xf(n,"text-".concat(f),f),xf(n,"bg-".concat(p),p),xf(n,"border-".concat(m),m),xf(n,"border",m),n)}),T)}}),Cie=pe({components:{BJumbotron:Pie}});function uD(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 cD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?uD(Object(r),!0).forEach(function(n){nv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function nv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bw=["start","end","center"],Aie=kp(function(t,e){return e=Eo(_e(e)),e?t0(["row-cols",t,e].filter(Oe).join("-")):null}),Mie=kp(function(t){return t0(t.replace("cols",""))}),P6=[],$ie=function(){var e=ep().reduce(function(r,n){return r[xo(n,"cols")]=y(le),r},go(null));return P6=Ce(e),ee(fe(cD(cD({},e),{},{alignContent:y(I,null,function(r){return Ee(Ye(Bw,"between","around","stretch"),r)}),alignH:y(I,null,function(r){return Ee(Ye(Bw,"between","around"),r)}),alignV:y(I,null,function(r){return Ee(Ye(Bw,"baseline","stretch"),r)}),noGutters:y(B,!1),tag:y(I,"div")})),FF)},kie={name:FF,functional:!0,get props(){return delete this.props,this.props=$ie(),this.props},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.alignV,u=i.alignH,c=i.alignContent,l=[];return P6.forEach(function(d){var f=Aie(Mie(d),i[d]);f&&l.push(f)}),l.push((n={"no-gutters":i.noGutters},nv(n,"align-items-".concat(o),o),nv(n,"justify-content-".concat(u),u),nv(n,"align-content-".concat(c),c),n)),e(i.tag,ve(a,{staticClass:"row",class:l}),s)}},Die=pe({components:{BContainer:x6,BRow:kie,BCol:Zg,BFormRow:b0}}),Iie=pe({components:{BLink:Fn}});function Rie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lie=ee({flush:y(B,!1),horizontal:y(rn,!1),tag:y(I,"div")},OF),Nie=G({name:OF,functional:!0,props:Lie,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:Rie({"list-group-flush":n.flush,"list-group-horizontal":s===!0},"list-group-horizontal-".concat(s),We(s))};return e(n.tag,ve(i,o),a)}});function lD(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?lD(Object(r),!0).forEach(function(n){oh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function oh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bie=["a","router-link","button","b-link"],ay=Re(ta,["event","routerTag"]);delete ay.href.default;delete ay.to.default;var Fie=ee(fe(dD(dD({},ay),{},{action:y(B,!1),button:y(B,!1),tag:y(I,"div"),variant:y(I)})),TF),jie=G({name:TF,functional:!0,props:Fie,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.button,u=i.variant,c=i.active,l=i.disabled,d=Dp(i),f=o?"button":d?Fn:i.tag,p=!!(i.action||d||o||Ee(Bie,i.tag)),m={},b={};return Ya(f,"button")?((!a.attrs||!a.attrs.type)&&(m.type="button"),i.disabled&&(m.disabled=!0)):b=xt(ay,i),e(f,ve(a,{attrs:m,props:b,staticClass:"list-group-item",class:(n={},oh(n,"list-group-item-".concat(u),u),oh(n,"list-group-item-action",p),oh(n,"active",c),oh(n,"disabled",l),n)}),s)}}),Hie=pe({components:{BListGroup:Nie,BListGroupItem:jie}});function zie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vie=ee({right:y(B,!1),tag:y(I,"div"),verticalAlign:y(I,"top")},xF),C6=G({name:xF,functional:!0,props:Vie,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,ve(i,{staticClass:"media-aside",class:zie({"media-aside-right":n.right},"align-self-".concat(o),o)}),a)}}),Uie=ee({tag:y(I,"div")},PF),A6=G({name:PF,functional:!0,props:Uie,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{staticClass:"media-body"}),a)}}),Gie=ee({noBody:y(B,!1),rightAlign:y(B,!1),tag:y(I,"div"),verticalAlign:y(I,"top")},EF),Wie=G({name:EF,functional:!0,props:Gie,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=r.children,u=n.noBody,c=n.rightAlign,l=n.verticalAlign,d=u?o:[];if(!u){var f={},p=a(),m=s||{};d.push(e(A6,jr(_r,f,m,p)));var b=jr(lJ,f,m,p);b&&d[c?"push":"unshift"](e(C6,{props:{right:c,verticalAlign:l}},b))}return e(n.tag,ve(i,{staticClass:"media"}),d)}}),Yie=pe({components:{BMedia:Wie,BMediaAside:C6,BMediaBody:A6}}),Gn="$_documentListeners",Kie=G({created:function(){this[Gn]={}},beforeDestroy:function(){var e=this;Ce(this[Gn]||{}).forEach(function(r){e[Gn][r].forEach(function(n){e.listenOffDocument(r,n)})}),this[Gn]=null},methods:{registerDocumentListener:function(e,r){this[Gn]&&(this[Gn][e]=this[Gn][e]||[],Ee(this[Gn][e],r)||this[Gn][e].push(r))},unregisterDocumentListener:function(e,r){this[Gn]&&this[Gn][e]&&(this[Gn][e]=this[Gn][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){ht&&(Tt(document,e,r,Ue),this.registerDocumentListener(e,r))},listenOffDocument:function(e,r){ht&&Dt(document,e,r,Ue),this.unregisterDocumentListener(e,r)}}}),Wn="$_windowListeners",qie=G({created:function(){this[Wn]={}},beforeDestroy:function(){var e=this;Ce(this[Wn]||{}).forEach(function(r){e[Wn][r].forEach(function(n){e.listenOffWindow(r,n)})}),this[Wn]=null},methods:{registerWindowListener:function(e,r){this[Wn]&&(this[Wn][e]=this[Wn][e]||[],Ee(this[Wn][e],r)||this[Wn][e].push(r))},unregisterWindowListener:function(e,r){this[Wn]&&this[Wn][e]&&(this[Wn][e]=this[Wn][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){ht&&(Tt(window,e,r,Ue),this.registerWindowListener(e,r))},listenOffWindow:function(e,r){ht&&Dt(window,e,r,Ue),this.unregisterWindowListener(e,r)}}}),qo=G({computed:{bvParent:function(){return this.$parent||this.$root===this&&this.$options.bvParent}}}),cd=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function Xie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dx=G({mixins:[qo],computed:{scopedStyleAttrs:function(){var e=cd(this.bvParent);return e?Xie({},e,""):{}}}});function fD(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 hD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fD(Object(r),!0).forEach(function(n){Jie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Jie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xo=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=e.$root?e.$root.$options.bvEventRoot||e.$root:null;return new r(hD(hD({},n),{},{parent:e,bvParent:e,bvEventRoot:i}))},Qie=G({abstract:!0,name:DX,props:{nodes:y(_4)},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){nQ(this.$el)},render:function(e){var r=this.updatedNodes,n=be(r)?r({}):r;return n=Ye(n).filter(Oe),n&&n.length>0&&!n[0].text?n[0]:e()}}),M6={container:y([To,I],"body"),disabled:y(B,!1),tag:y(I,"div")},Zie=G({name:i4,mixins:[Pe],props:M6,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(ht){var e=this.container;return We(e)?si(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=Xo(this,Qie,{el:r,propsData:{nodes:Ye(this.normalizeSlot())}})}}},updateTarget:function(){if(ht&&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=Ye(this.normalizeSlot()).filter(Oe);if(r.length>0&&!r[0].text)return r[0]}return e()}}),eae=G({name:i4,mixins:[Pe],props:M6,render:function(e){if(this.disabled){var r=Ye(this.normalizeSlot()).filter(Oe);if(r.length>0)return r[0]}return e(Ne.Teleport,{to:this.container},this.normalizeSlot())}}),tae=yn?eae:Zie;function fO(t){"@babel/helpers - typeof";return fO=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},fO(t)}function pD(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 mD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pD(Object(r),!0).forEach(function(n){rae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gD(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 iae(t,e,r){return e&&gD(t.prototype,e),r&&gD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function iv(){return typeof Reflect<"u"&&Reflect.get?iv=Reflect.get:iv=function(e,r,n){var i=aae(e,r);if(i){var a=Object.getOwnPropertyDescriptor(i,r);return a.get?a.get.call(arguments.length<3?e:n):a.value}},iv.apply(this,arguments)}function aae(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ld(t),t!==null););return t}function sae(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&&hO(t,e)}function hO(t,e){return hO=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},hO(t,e)}function oae(t){var e=cae();return function(){var n=ld(t),i;if(e){var a=ld(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return uae(this,i)}}function uae(t,e){if(e&&(fO(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $6(t)}function $6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cae(){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 ld(t){return ld=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ld(t)}var lae=function(t){sae(r,t);var e=oae(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return nae(this,r),i=e.call(this,n,a),Ab($6(i),{trigger:Oi()}),i}return iae(r,null,[{key:"Defaults",get:function(){return mD(mD({},iv(ld(r),"Defaults",this)),{},{trigger:null})}}]),r}(Oc),vD=1040,dae=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fae=".sticky-top",hae=".navbar-toggler",pae=G({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){ht&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),dn(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),qr(document.body,"modal-open")),$t(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),st(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(ht&&Ot(this.baseZIndex)){var e=document.createElement("div");dn(e,"modal-backdrop"),dn(e,"d-none"),Ur(e,"display","none"),document.body.appendChild(e),this.baseZIndex=oe(ni(e).zIndex,vD),document.body.removeChild(e)}return this.baseZIndex||vD},getScrollbarWidth:function(){if(ht&&Ot(this.scrollbarWidth)){var e=document.createElement("div");dn(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=uc(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=uc(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;ci(dae).forEach(function(i){var a=Ml(i,"paddingRight")||"";$t(i,"data-padding-right",a),Ur(i,"paddingRight","".concat(Be(ni(i).paddingRight,0)+r,"px")),e._paddingChangedForModal.push(i)}),ci(fae).forEach(function(i){var a=Ml(i,"marginRight")||"";$t(i,"data-margin-right",a),Ur(i,"marginRight","".concat(Be(ni(i).marginRight,0)-r,"px")),e._marginChangedForModal.push(i)}),ci(hae).forEach(function(i){var a=Ml(i,"marginRight")||"";$t(i,"data-margin-right",a),Ur(i,"marginRight","".concat(Be(ni(i).marginRight,0)+r,"px")),e._marginChangedForModal.push(i)});var n=Ml(e,"paddingRight")||"";$t(e,"data-padding-right",n),Ur(e,"paddingRight","".concat(Be(ni(e).paddingRight,0)+r,"px"))}},resetScrollbar:function(){var e=document.body;e._paddingChangedForModal&&e._paddingChangedForModal.forEach(function(r){Na(r,"data-padding-right")&&(Ur(r,"paddingRight",oi(r,"data-padding-right")||""),La(r,"data-padding-right"))}),e._marginChangedForModal&&e._marginChangedForModal.forEach(function(r){Na(r,"data-margin-right")&&(Ur(r,"marginRight",oi(r,"data-margin-right")||""),La(r,"data-margin-right"))}),e._paddingChangedForModal=null,e._marginChangedForModal=null,Na(e,"data-padding-right")&&(Ur(e,"paddingRight",oi(e,"data-padding-right")||""),La(e,"data-padding-right"))}}}),rl=new pae;function bD(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 fo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bD(Object(r),!0).forEach(function(n){Yn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Yn(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=vr("visible",{type:B,defaultValue:!1,event:Bn}),mae=sy.mixin,gae=sy.props,Fw=sy.prop,vae=sy.event,bae="backdrop",yae="esc",_ae="FORCE",wae="toggle",av="cancel",sv="headerclose",ov="ok",Sae=[av,sv,ov],Oae={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},k6=ee(fe(fo(fo(fo({},lt),gae),{},{ariaLabel:y(I),autoFocusButton:y(I,null,function(t){return at(t)||Ee(Sae,t)}),bodyBgVariant:y(I),bodyClass:y(we),bodyTextVariant:y(I),busy:y(B,!1),buttonSize:y(I),cancelDisabled:y(B,!1),cancelTitle:y(I,"Cancel"),cancelTitleHtml:y(I),cancelVariant:y(I,"secondary"),centered:y(B,!1),contentClass:y(we),dialogClass:y(we),footerBgVariant:y(I),footerBorderVariant:y(I),footerClass:y(we),footerTag:y(I,"footer"),footerTextVariant:y(I),headerBgVariant:y(I),headerBorderVariant:y(I),headerClass:y(we),headerCloseContent:y(I,"×"),headerCloseLabel:y(I,"Close"),headerCloseVariant:y(I),headerTag:y(I,"header"),headerTextVariant:y(I),hideBackdrop:y(B,!1),hideFooter:y(B,!1),hideHeader:y(B,!1),hideHeaderClose:y(B,!1),ignoreEnforceFocusSelector:y(tn),lazy:y(B,!1),modalClass:y(we),noCloseOnBackdrop:y(B,!1),noCloseOnEsc:y(B,!1),noEnforceFocus:y(B,!1),noFade:y(B,!1),noStacking:y(B,!1),okDisabled:y(B,!1),okOnly:y(B,!1),okTitle:y(I,"OK"),okTitleHtml:y(I),okVariant:y(I,"primary"),returnFocus:y([To,gr,I]),scrollable:y(B,!1),size:y(I,"md"),static:y(B,!1),title:y(I),titleClass:y(we),titleHtml:y(I),titleSrOnly:y(B,!1),titleTag:y(I,"h5")})),Pn),D6=G({name:Pn,mixins:[Pr,pt,mae,Kie,ea,qie,Pe,dx],inheritAttrs:!1,props:k6,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,scrollbarWidth:0,zIndex:rl.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={},Yn(e,"modal-".concat(this.size),this.size),Yn(e,"modal-dialog-centered",this.centered),Yn(e,"modal-dialog-scrollable",this.scrollable),e),this.dialogClass]},headerClasses:function(){var e;return[(e={},Yn(e,"bg-".concat(this.headerBgVariant),this.headerBgVariant),Yn(e,"text-".concat(this.headerTextVariant),this.headerTextVariant),Yn(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={},Yn(e,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),Yn(e,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),e),this.bodyClass]},footerClasses:function(){var e;return[(e={},Yn(e,"bg-".concat(this.footerBgVariant),this.footerBgVariant),Yn(e,"text-".concat(this.footerTextVariant),this.footerTextVariant),Yn(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 Ye(this.ignoreEnforceFocusSelector).filter(Oe).join(",").trim()},computedAttrs:function(){var e=this.static?{}:this.scopedStyleAttrs;return fo(fo(fo({},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(cw)||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:Yn({},Fw,function(t,e){t!==e&&this[t?"show":"hide"]()}),created:function(){this.$_observer=null,this.$_returnFocus=this.returnFocus||null},mounted:function(){this.zIndex=rl.getBaseZIndex(),this.listenOnRoot(hr(Pn,Fr),this.showHandler),this.listenOnRoot(hr(Pn,In),this.hideHandler),this.listenOnRoot(hr(Pn,g4),this.toggleHandler),this.listenOnRoot(zt(Pn,Fr),this.modalListener),this[Fw]===!0&&this.$nextTick(this.show)},beforeDestroy:function(){rl.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=np(this.$refs.content,this.checkModalOverflow.bind(this),Oae))},updateModel:function(e){e!==this[Fw]&&this.$emit(vae,e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new lae(e,fo(fo({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(Qt,this.show);return}this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent(Fr,{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(In,{cancelable:e!==_ae,trigger:e||null});if(e===ov?this.$emit(HX,r):e===av?this.$emit(RX,r):e===sv&&this.$emit($S,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(wae):this.show()},getActiveElement:function(){var e=Fo(ht?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(rl.modalsAreOpen&&this.noStacking){this.listenOnRootOnce(zt(Pn,Qt),this.doShow);return}rl.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,st(function(){st(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,st(function(){e.emitEvent(e.buildEvent(pn)),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,rl.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent(Qt))})},emitEvent:function(e){var r=e.type;this.emitOnRoot(zt(Pn,r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function i(a){Dt(r,"mouseup",i,Ue),a.target===r&&(e.ignoreBackdropClick=!0)};Tt(r,"mouseup",n,Ue)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!fr(document.body,e.target)||fr(this.$refs.content,e.target)||this.hide(bae)},onOk:function(){this.hide(ov)},onCancel:function(){this.hide(av)},onClose:function(){this.hide(sv)},onEsc:function(e){e.keyCode===FE&&this.isVisible&&!this.noCloseOnEsc&&this.hide(yae)},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||fr(r,n)||this.computeIgnoreEnforceFocusSelector&&Rn(this.computeIgnoreEnforceFocusSelector,n,!0))){var i=BS(this.$refs.content),a=this.$refs["bottom-trap"],s=this.$refs["top-trap"];if(a&&n===a){if(Ie(i[0]))return}else if(s&&n===s&&Ie(i[i.length-1]))return;Ie(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;ht&&st(function(){var r=e.$refs.modal,n=e.$refs.content,i=e.getActiveElement();if(r&&n&&!(i&&fr(n,i))){var a=e.$refs["ok-button"],s=e.$refs["cancel-button"],o=e.$refs["close-button"],u=e.autoFocusButton,c=u===ov&&a?a.$el||a:u===av&&s?s.$el||s:u===sv&&o?o.$el||o:n;Ie(c),c===n&&e.$nextTick(function(){r.scrollTop=0})}})},returnFocusTo:function(){var e=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick(function(){e=We(e)?si(e):e,e&&(e=e.$el||e,Ie(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(MJ,this.slotScope);if(!n){var i=e();this.hideHeaderClose||(i=e(cc,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot($J)])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(cw)?{}:Lt(this.titleHtml,this.title)},this.normalizeSlot(cw,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(_r,this.slotScope)),s=e();if(!this.hideFooter){var o=this.normalizeSlot(AJ,this.slotScope);if(!o){var u=e();this.okOnly||(u=e(Nn,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(fM)?{}:Lt(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(fM)));var c=e(Nn,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(hM)?{}:Lt(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(hM));o=[u,c]}s=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[o])}var l=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,a,s]),d=e(),f=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),f=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,l,f]),m=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]);m=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}},[m]);var b=e();return!this.hideBackdrop&&this.isVisible&&(b=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(CJ))),b=e(wc,{props:{noFade:this.noFade}},[b]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[xs])},[m,b])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(tae,[this.makeModal(e)])}}),Tae=hr(Pn,Fr),S0="__bv_modal_directive__",I6=function(e){var r=e.modifiers,n=r===void 0?{}:r,i=e.arg,a=e.value;return We(a)?a:We(i)?i:Ce(n).reverse()[0]},R6=function(e){return e&&Ps(e,".dropdown-menu > li, li.nav-item")&&si("a, button",e)||e},L6=function(e){e&&e.tagName!=="BUTTON"&&(Na(e,"role")||$t(e,"role","button"),e.tagName!=="A"&&!Na(e,"tabindex")&&$t(e,"tabindex","0"))},Eae=function(e,r,n){var i=I6(r),a=R6(e);if(i&&a){var s=function(u){var c=u.currentTarget;if(!ku(c)){var l=u.type,d=u.keyCode;(l==="click"||l==="keydown"&&(d===Ns||d===Ka))&&Ua(Ba(n,r)).$emit(Tae,i,c)}};e[S0]={handler:s,target:i,trigger:a},L6(a),Tt(a,"click",s,$n),a.tagName!=="BUTTON"&&oi(a,"role")==="button"&&Tt(a,"keydown",s,$n)}},N6=function(e){var r=e[S0]||{},n=r.trigger,i=r.handler;n&&i&&(Dt(n,"click",i,$n),Dt(n,"keydown",i,$n),Dt(e,"click",i,$n),Dt(e,"keydown",i,$n)),delete e[S0]},yD=function(e,r,n){var i=e[S0]||{},a=I6(r),s=R6(e);(a!==i.target||s!==i.trigger)&&(N6(e),Eae(e,r,n)),L6(s)},xae=function(){},B6={inserted:yD,updated:xae,componentUpdated:yD,unbind:N6};function Pae(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 Cae(t,e,r){return e&&_D(t.prototype,e),r&&_D(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function wD(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 ns(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wD(Object(r),!0).forEach(function(n){Aae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Aae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mae(t){return Iae(t)||Dae(t)||kae(t)||$ae()}function $ae(){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 kae(t,e){if(t){if(typeof t=="string")return pO(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 pO(t,e)}}function Dae(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Iae(t){if(Array.isArray(t))return pO(t)}function pO(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 fu="$bvModal",jw="_bv__modal",Rae=["id"].concat(Mae(Ce(Re(k6,["busy","lazy","noStacking","static","visible"])))),Lae=function(){},Hw={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},SD=function(e){return Rae.reduce(function(r,n){return Zt(e[n])||(r[n]=e[n]),r},{})},Nae=function(e){var r=e.extend({name:_X,extends:D6,mixins:[qo],destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var o=this,u=function(){o.$nextTick(function(){st(function(){o.$destroy()})})};this.bvParent.$once(Jh,u),this.$once(Qt,u),this.$router&&this.$route&&this.$once(v4,this.$watch("$router",u)),this.show()}}),n=function(o,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Lae;if(!(Jv(fu)||tM(fu))){var l=Xo(o,r,{propsData:ns(ns(ns({},SD(ii(Pn))),{},{hideHeaderClose:!0,hideHeader:!(u.title||u.titleHtml)},Re(u,Ce(Hw))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Ce(Hw).forEach(function(d){Zt(u[d])||(l.$slots[Hw[d]]=Ye(u[d]))}),new Promise(function(d,f){var p=!1;l.$once(Jh,function(){p||f(new Error("BootstrapVue MsgBox destroyed before resolve"))}),l.$on(In,function(b){if(!b.defaultPrevented){var _=c(b);b.defaultPrevented||(p=!0,d(_))}});var m=document.createElement("div");document.body.appendChild(m),l.$mount(m)})}},i=function(o,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(!(!u||tM(fu)||Jv(fu)||!be(l)))return n(o,ns(ns({},SD(c)),{},{msgBoxContent:u}),l)},a=function(){function s(o){Pae(this,s),Mp(this,{_vm:o,_root:Ua(o)}),Ab(this,{_vm:Oi(),_root:Oi()})}return Cae(s,[{key:"show",value:function(u){if(u&&this._root){for(var c,l=arguments.length,d=new Array(l>1?l-1:0),f=1;f<l;f++)d[f-1]=arguments[f];(c=this._root).$emit.apply(c,[hr(Pn,"show"),u].concat(d))}}},{key:"hide",value:function(u){if(u&&this._root){for(var c,l=arguments.length,d=new Array(l>1?l-1:0),f=1;f<l;f++)d[f-1]=arguments[f];(c=this._root).$emit.apply(c,[hr(Pn,"hide"),u].concat(d))}}},{key:"msgBoxOk",value:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=ns(ns({},c),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:u});return i(this._vm,u,l,function(){return!0})}},{key:"msgBoxConfirm",value:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=ns(ns({},c),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return i(this._vm,u,l,function(d){var f=d.trigger;return f==="ok"?!0:f==="cancel"?!1:null})}}]),s}();e.mixin({beforeCreate:function(){this[jw]=new a(this)}}),ic(e.prototype,fu)||CE(e.prototype,fu,{get:function(){return(!this||!this[jw])&&xr('"'.concat(fu,'" must be accessed from a Vue instance "this" context.'),Pn),this[jw]}})},Bae=pe({plugins:{plugin:Nae}}),Fae=pe({components:{BModal:D6},directives:{VBModal:B6},plugins:{BVModalPlugin:Bae}});function OD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jae=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},fx=ee({align:y(I),cardHeader:y(B,!1),fill:y(B,!1),justified:y(B,!1),pills:y(B,!1),small:y(B,!1),tabs:y(B,!1),tag:y(I,"ul"),vertical:y(B,!1)},CF),F6=G({name:CF,functional:!0,props:fx,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.tabs,u=i.pills,c=i.vertical,l=i.align,d=i.cardHeader;return e(i.tag,ve(a,{staticClass:"nav",class:(n={"nav-tabs":o,"nav-pills":u&&!o,"card-header-tabs":!c&&d&&o,"card-header-pills":!c&&d&&u&&!o,"flex-column":c,"nav-fill":!c&&i.fill,"nav-justified":!c&&i.justified},OD(n,jae(l),!c&&l),OD(n,"small",i.small),n)}),s)}});function TD(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 ED(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?TD(Object(r),!0).forEach(function(n){Hae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Hae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var j6=Re(ta,["event","routerTag"]),zae=ee(fe(ED(ED({},j6),{},{linkAttrs:y(gr,{}),linkClasses:y(we)})),IF),Vae=G({name:IF,functional:!0,props:zae,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",ve(Re(i,["on"]),{staticClass:"nav-item"}),[e(Fn,{staticClass:"nav-link",class:n.linkClasses,attrs:n.linkAttrs,props:xt(j6,n),on:a},s)])}}),Uae={},Gae=G({name:wX,functional:!0,props:Uae,render:function(e,r){var n=r.data,i=r.children;return e("li",ve(n,{staticClass:"navbar-text"}),i)}});function xD(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 O0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?xD(Object(r),!0).forEach(function(n){Wae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var H6=Re(rx,["inline"]),Yae=ee(fe(O0(O0({},H6),{},{formClass:y(we)})),DF),Kae=G({name:DF,functional:!0,props:Yae,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=r.listeners,o=e(nx,{class:n.formClass,props:O0(O0({},xt(H6,n)),{},{inline:!0}),attrs:i.attrs,on:s},a);return e("li",ve(Re(i,["attrs","on"]),{staticClass:"form-inline"}),[o])}});function qae(t){return Zae(t)||Qae(t)||Jae(t)||Xae()}function Xae(){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 Jae(t,e){if(t){if(typeof t=="string")return mO(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 mO(t,e)}}function Qae(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zae(t){if(Array.isArray(t))return mO(t)}function mO(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 PD(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 CD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PD(Object(r),!0).forEach(function(n){ese(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ese(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tse=ee(fe(CD(CD({},lt),Zi(Hj,[].concat(qae(Ce(Gb)),["html","lazy","menuClass","noCaret","role","text","toggleClass"])))),RF),Gm=G({name:RF,mixins:[pt,tx,Pe],props:tse,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(Fn,{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([Ms,WJ])||e("span",{domProps:Lt(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(_r,{hide:a}):[e()]);return e("li",{staticClass:"nav-item b-nav-dropdown dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[s,o])}}),z6=pe({components:{BNav:F6,BNavItem:Vae,BNavText:Gae,BNavForm:Kae,BNavItemDropdown:Gm,BNavItemDd:Gm,BNavDropdown:Gm,BNavDd:Gm},plugins:{DropdownPlugin:ix}});function zw(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rse=ee({fixed:y(I),print:y(B,!1),sticky:y(B,!1),tag:y(I,"nav"),toggleable:y(rn,!1),type:y(I,"light"),variant:y(I)},AF),nse=G({name:AF,mixins:[Pe],provide:function(){var e=this;return{getBvNavbar:function(){return e}}},props:rse,computed:{breakpointClass:function(){var e=this.toggleable,r=x4()[0],n=null;return e&&We(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},zw(r,"navbar-".concat(i),i),zw(r,"bg-".concat(a),a),zw(r,"fixed-".concat(s),s),r),this.breakpointClass],attrs:{role:Ya(n,"nav")?null:"navigation"}},[this.normalizeSlot()])}});function AD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ise=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},ase=ee(Zi(fx,["tag","fill","justified","align","small"]),$F),sse=G({name:$F,functional:!0,props:ase,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.align;return e(i.tag,ve(a,{staticClass:"navbar-nav",class:(n={"nav-fill":i.fill,"nav-justified":i.justified},AD(n,ise(o),o),AD(n,"small",i.small),n)}),s)}});function MD(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?MD(Object(r),!0).forEach(function(n){ose(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ose(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var oy=Re(ta,["event","routerTag"]);oy.href.default=void 0;oy.to.default=void 0;var use=ee(fe($D($D({},oy),{},{tag:y(I,"div")})),MF),cse=G({name:MF,functional:!0,props:use,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.to||n.href,o=s?Fn:n.tag;return e(o,ve(i,{staticClass:"navbar-brand",props:s?xt(oy,n):{}}),a)}}),kD="navbar-toggler",lse=zt(Wr,"state"),dse=zt(Wr,"sync-state"),fse=ee({disabled:y(B,!1),label:y(I,"Toggle navigation"),target:y(tn,void 0,!0)},kF),DD=G({name:kF,directives:{VBToggle:Tj},mixins:[ea,Pe],props:fse,data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(lse,this.handleStateEvent),this.listenOnRoot(dse,this.handleStateEvent)},methods:{onClick:function(e){this.disabled||this.$emit(Mi,e)},handleStateEvent:function(e,r){e===this.target&&(this.toggleState=r)}},render:function(e){var r=this.disabled;return e("button",{staticClass:kD,class:{disabled:r},directives:[{name:"VBToggle",value:this.target}],attrs:{type:"button",disabled:r,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot(_r,{expanded:this.toggleState})||e("span",{staticClass:"".concat(kD,"-icon")})])}}),hse=pe({components:{BNavbar:nse,BNavbarNav:sse,BNavbarBrand:cse,BNavbarToggle:DD,BNavToggle:DD},plugins:{NavPlugin:z6,CollapsePlugin:Ej,DropdownPlugin:ix}});function Vw(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pse=ee({label:y(I),role:y(I,"status"),small:y(B,!1),tag:y(I,"span"),type:y(I,"border"),variant:y(I)},WF),V6=G({name:WF,functional:!0,props:pse,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=s(),c=o||{},l=jr(O4,{},c,u)||i.label;return l&&(l=e("span",{staticClass:"sr-only"},l)),e(i.tag,ve(a,{attrs:{role:l?i.role||"status":null,"aria-hidden":l?null:"true"},class:(n={},Vw(n,"spinner-".concat(i.type),i.type),Vw(n,"spinner-".concat(i.type,"-sm"),i.small),Vw(n,"text-".concat(i.variant),i.variant),n)}),[l||e()])}});function ID(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 Pf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ID(Object(r),!0).forEach(function(n){mse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ID(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mse(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={top:0,left:0,bottom:0,right:0},gse=ee({bgColor:y(I),blur:y(I,"2px"),fixed:y(B,!1),noCenter:y(B,!1),noFade:y(B,!1),noWrap:y(B,!1),opacity:y(le,.85,function(t){var e=Be(t,0);return e>=0&&e<=1}),overlayTag:y(I,"div"),rounded:y(rn,!1),show:y(B,!1),spinnerSmall:y(B,!1),spinnerType:y(I,"border"),spinnerVariant:y(I),variant:y(I,"light"),wrapTag:y(I,"div"),zIndex:y(le,10)},LF),vse=G({name:LF,mixins:[Pe],props:gse,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(V6,{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 c=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:Pf(Pf({},Uw),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),l=e("div",{staticClass:"position-absolute",style:this.noCenter?Pf({},Uw):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(jJ,o)||this.defaultOverlayFn(o)]);u=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!s||s&&!i,"position-fixed":s&&i},style:Pf(Pf({},Uw),{},{zIndex:this.zIndex||10}),on:{click:function(f){return r.$emit(Mi,f)}},key:"overlay"},[c,l])}return u=e(wc,{props:{noFade:a,appear:!0},on:{"after-enter":function(){return r.$emit(pn)},"after-leave":function(){return r.$emit(Qt)}}},[u]),s?u:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},s?[u]:[this.normalizeSlot(),u])}}),bse=pe({components:{BOverlay:vse}}),Cf;function RD(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 LD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RD(Object(r),!0).forEach(function(n){uv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function uv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uy=vr("value",{type:Qh,defaultValue:null,validator:function(e){return!Ot(e)&&oe(e,0)<1?(xr('"v-model" value must be a number greater than "0"',Mb),!1):!0}}),yse=uy.mixin,_se=uy.props,gO=uy.prop,wse=uy.event,Wm=3,hx=5,Sse=function(e,r){return Sh(r,function(n,i){return{number:e+i,classes:null}})},ND=function(e){var r=oe(e)||1;return r<1?hx:r},BD=function(e,r){var n=oe(e)||1;return n>r?r:n<1?1:n},FD=function(e){if(e.keyCode===Ka)return ke(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},px=ee(fe(LD(LD({},_se),{},{align:y(I,"left"),ariaLabel:y(I,"Pagination"),disabled:y(B,!1),ellipsisClass:y(we),ellipsisText:y(I,"…"),firstClass:y(we),firstNumber:y(B,!1),firstText:y(I,"«"),hideEllipsis:y(B,!1),hideGotoEndButtons:y(B,!1),labelFirstPage:y(I,"Go to first page"),labelLastPage:y(I,"Go to last page"),labelNextPage:y(I,"Go to next page"),labelPage:y(sJ,"Go to page"),labelPrevPage:y(I,"Go to previous page"),lastClass:y(we),lastNumber:y(B,!1),lastText:y(I,"»"),limit:y(le,hx,function(t){return oe(t,0)<1?(xr('Prop "limit" must be a number greater than "0"',Mb),!1):!0}),nextClass:y(we),nextText:y(I,"›"),pageClass:y(we),pills:y(B,!1),prevClass:y(we),prevText:y(I,"‹"),size:y(I)})),"pagination"),U6=G({mixins:[yse,Pe],props:px,data:function(){var e=oe(this[gO],0);return e=e>0?e:-1,{currentPage:e,localNumberOfPages:1,localLimit:hx}},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 BD(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,c=e,l=1;r<=e?c=r:n<e-1&&e>Wm?((!i||s)&&(u=!0,c=e-(a?0:1)),c=Ss(c,e)):r-n+2<e&&e>Wm?((!i||a)&&(o=!0,c=e-(s?0:1)),l=r-c+1):(e>Wm&&(c=e-(i?0:2),o=!!(!i||a),u=!!(!i||s)),l=n-tp(c/2)),l<1?(l=1,o=!1):l>r-c&&(l=r-c+1,u=!1),o&&a&&l<4&&(c=c+2,l=1,o=!1);var d=l+c-1;return u&&s&&d>r-3&&(c=c+(d===r-2?2:3),u=!1),e<=Wm&&(a&&l===1?c=Ss(c+1,r,e+1):s&&r===l+c-1&&(l=Qe(l-1,1),c=Ss(r-l+1,r,e+1))),c=Ss(c,r-l+1),{showFirstDots:o,showLastDots:u,numberOfLinks:c,startNumber:l}},pageList:function(){var e=this.paginationParams,r=e.numberOfLinks,n=e.startNumber,i=this.computedCurrentPage,a=Sse(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 c=0;c<a.length-3;c++)a[c].classes=o;else{for(var l=0;l<s-1;l++)a[l].classes=o;for(var d=a.length-1;d>s+1;d--)a[d].classes=o}}return a}},watch:(Cf={},uv(Cf,gO,function(t,e){t!==e&&(this.currentPage=BD(t,this.localNumberOfPages))}),uv(Cf,"currentPage",function(e,r){e!==r&&this.$emit(wse,e>0?e:null)}),uv(Cf,"limit",function(e,r){e!==r&&(this.localLimit=ND(e))}),Cf),created:function(){var e=this;this.localLimit=ND(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===qi||r===Ln?(ke(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):(r===ks||r===gn)&&(ke(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return ci("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 oe(oi(n,"aria-posinset"),0)===e.computedCurrentPage});Ie(r)||e.focusFirst()})},focusFirst:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return!ku(n)});Ie(r)})},focusLast:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().reverse().find(function(n){return!ku(n)});Ie(r)})},focusPrev:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Fo());n>0&&!ku(r[n-1])&&Ie(r[n-1])})},focusNext:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Fo());n<r.length-1&&!ku(r[n+1])&&Ie(r[n+1])})}},render:function(e){var r=this,n=qt(this),i=n.disabled,a=n.labelPage,s=n.ariaLabel,o=n.isNav,u=n.localNumberOfPages,c=n.computedCurrentPage,l=this.pageList.map(function(C){return C.number}),d=this.paginationParams,f=d.showFirstDots,p=d.showLastDots,m=this.align==="fill",b=[],_=function(k){return k===c},S=this.currentPage<1,E=function(k,w,A,P,x,$,D){var M=i||_($)||S||k<1||k>u,R=k<1?1:k>u?u:k,N={disabled:M,page:R,index:R-1},j=r.normalizeSlot(A,N)||_e(P)||e(),z=e(M?"span":o?Fn:"button",{staticClass:"page-link",class:{"flex-grow-1":!o&&!M&&m},props:M||!o?{}:r.linkProps(k),attrs:{role:o?null:"menuitem",type:o||M?null:"button",tabindex:M||o?null:"-1","aria-label":w,"aria-controls":qt(r).ariaControls||null,"aria-disabled":M?"true":null},on:M?{}:{"!click":function(J){r.onClick(J,k)},keydown:FD}},[j]);return e("li",{key:D,staticClass:"page-item",class:[{disabled:M,"flex-fill":m,"d-flex":m&&!o&&!M},x],attrs:{role:o?null:"presentation","aria-hidden":M?"true":null}},[z])},O=function(k){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",m?"flex-fill":"",r.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(k?"last":"first")},[e("span",{staticClass:"page-link"},[r.normalizeSlot(mJ)||_e(r.ellipsisText)||e()])])},h=function(k,w){var A=k.number,P=_(A)&&!S,x=i?null:P||S&&w===0?"0":"-1",$={role:o?null:"menuitemradio",type:o||i?null:"button","aria-disabled":i?"true":null,"aria-controls":qt(r).ariaControls||null,"aria-label":Va(a)?a(A):"".concat(be(a)?a():a," ").concat(A),"aria-checked":o?null:P?"true":"false","aria-current":o&&P?"page":null,"aria-posinset":o?null:A,"aria-setsize":o?null:u,tabindex:o?null:x},D=_e(r.makePage(A)),M={page:A,index:A-1,content:D,active:P,disabled:i},R=e(i?"span":o?Fn:"button",{props:i||!o?{}:r.linkProps(A),staticClass:"page-link",class:{"flex-grow-1":!o&&!i&&m},attrs:$,on:i?{}:{"!click":function(j){r.onClick(j,A)},keydown:FD}},[r.normalizeSlot(HJ,M)||D]);return e("li",{staticClass:"page-item",class:[{disabled:i,active:P,"flex-fill":m,"d-flex":m&&!o&&!i},k.classes,r.pageClass],attrs:{role:o?null:"presentation"},key:"page-".concat(A)},[R])},v=e();!this.firstNumber&&!this.hideGotoEndButtons&&(v=E(1,this.labelFirstPage,vJ,this.firstText,this.firstClass,1,"pagination-goto-first")),b.push(v),b.push(E(c-1,this.labelPrevPage,VJ,this.prevText,this.prevClass,1,"pagination-goto-prev")),b.push(this.firstNumber&&l[0]!==1?h({number:1},0):e()),b.push(f?O(!1):e()),this.pageList.forEach(function(C,k){var w=f&&r.firstNumber&&l[0]!==1?1:0;b.push(h(C,k+w))}),b.push(p?O(!0):e()),b.push(this.lastNumber&&l[l.length-1]!==u?h({number:u},-1):e()),b.push(E(c+1,this.labelNextPage,FJ,this.nextText,this.nextClass,u,"pagination-goto-next"));var g=e();!this.lastNumber&&!this.hideGotoEndButtons&&(g=E(u,this.labelLastPage,xJ,this.lastText,this.lastClass,u,"pagination-goto-last")),b.push(g);var T=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:o?null:"menubar","aria-disabled":i?"true":"false","aria-label":o?null:s||null},on:o?{}:{keydown:this.handleKeyNav},ref:"ul"},b);return o?e("nav",{attrs:{"aria-disabled":i?"true":null,"aria-hidden":i?"true":"false","aria-label":o&&s||null}},[T]):T}});function jD(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 HD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jD(Object(r),!0).forEach(function(n){Ose(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ose(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var G6=20,W6=0,zD=function(e){return Qe(oe(e)||G6,1)},VD=function(e){return Qe(oe(e)||W6,0)},Tse=ee(fe(HD(HD({},px),{},{ariaControls:y(I),perPage:y(le,G6),totalRows:y(le,W6)})),Mb),Ese=G({name:Mb,mixins:[U6],props:Tse,computed:{numberOfPages:function(){var e=I4(VD(this.totalRows)/zD(this.perPage));return e<1?1:e},pageSizeNumberOfPages:function(){return{perPage:zD(this.perPage),totalRows:VD(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(e,r){at(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=oe(this[gO],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 Oc(h4,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(this.currentPage=r,this.$emit(Bn,this.currentPage),this.$nextTick(function(){Yi(i)&&n.$el.contains(i)?Ie(i):n.focusCurrent()}))}},makePage:function(e){return e},linkProps:function(){return{}}}}),xse=pe({components:{BPagination:Ese}});function UD(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 Gw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?UD(Object(r),!0).forEach(function(n){Pse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):UD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Pse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cse=function(e){return Qe(oe(e,0),1)},Y6=Re(ta,["event","routerTag"]),Ase=ee(fe(Gw(Gw(Gw({},px),Y6),{},{baseUrl:y(I,"/"),linkGen:y(vn),noPageDetect:y(B,!1),numberOfPages:y(le,1,function(t){var e=oe(t,0);return e<1?(xr('Prop "number-of-pages" must be a number greater than "0"',MS),!1):!0}),pageGen:y(vn),pages:y(mn),useRouter:y(B,!1)})),MS),Mse=G({name:MS,mixins:[U6],props:Ase,computed:{isNav:function(){return!0},computedValue:function(){var e=oe(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(){st(function(){e.guessCurrentPage()})})})},methods:{setNumberOfPages:function(){var e=this;nt(this.pages)&&this.pages.length>0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=Cse(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 Oc(h4,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(st(function(){n.currentPage=r,n.$emit(Bn,r)}),this.$nextTick(function(){Hn(i)}))}},getPageInfo:function(e){if(!nt(this.pages)||this.pages.length===0||Zt(this.pages[e-1])){var r="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:r}:r,text:_e(e)}}var n=this.pages[e-1];if(Jt(n)){var i=n.link;return{link:Jt(i)?i:this.useRouter?{path:i}:i,text:_e(n.text||e)}}else return{link:_e(n),text:_e(e)}},makePage:function(e){var r=this.pageGen,n=this.getPageInfo(e);return Va(r)?r(e,n):n.text},makeLink:function(e){var r=this.linkGen,n=this.getPageInfo(e);return Va(r)?r(e,n):n.link},linkProps:function(e){var r=xt(Y6,this),n=this.makeLink(e);return this.useRouter||Jt(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=F4({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:xM(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&&(ht||!ht&&e))for(var i=e&&r?{path:r.path,hash:r.hash,query:r.query}:{},a=ht?window.location||document.location:null,s=a?{path:a.pathname,hash:a.hash,query:xM(a.search)}:{},o=1;!n&&o<=this.localNumberOfPages;o++){var u=this.makeLink(o);e&&(Jt(u)||this.useRouter)?n=Ze(this.resolveRoute(u),i)?o:null:ht?n=Ze(this.resolveLink(u),s)?o:null:n=-1}this.currentPage=n>0?n:0}}}),$se=pe({components:{BPaginationNav:Mse}}),kse={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"},Dse={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},Ise={arrowPadding:y(le,6),boundary:y([To,I],"scrollParent"),boundaryPadding:y(le,5),fallbackPlacement:y(tn,"flip"),offset:y(le,0),placement:y(I,"top"),target:y([To,oB])},Rse=G({name:PX,mixins:[qo],props:Ise,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(Fr,function(n){e.popperCreate(n)});var r=function(){e.$nextTick(function(){st(function(){e.$destroy()})})};this.bvParent.$once(Jh,r),this.$once(Qt,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 kse[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var r=this.$refs.arrow||si(".arrow",this.$el),n=Be(ni(r).width,0)+Be(this.arrowPadding,0);switch(Dse[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 rO(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(wc,{props:{appear:!0,noFade:n},on:{beforeEnter:function(a){return r.$emit(Fr,a)},afterEnter:function(a){return r.$emit(pn,a)},beforeLeave:function(a){return r.$emit(In,a)},afterLeave:function(a){return r.$emit(Qt,a)}}},[this.localShow?this.renderTemplate(e):e()])}});function GD(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 WD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?GD(Object(r),!0).forEach(function(n){vO(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vO(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lse={html:y(B,!1),id:y(I)},K6=G({name:$X,extends:Rse,mixins:[dx],props:Lse,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},vO(e,"b-".concat(i,"-").concat(r),r),vO(e,"bs-".concat(i,"-").concat(n),n),e),this.customClass]},templateAttributes:function(){var e=this.id;return WD(WD({},this.bvParent.bvParent.$attrs),{},{id:e,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var e=this;return{mouseenter:function(n){e.$emit(l4,n)},mouseleave:function(n){e.$emit(d4,n)},focusin:function(n){e.$emit(Qv,n)},focusout:function(n){e.$emit(Zv,n)}}}},methods:{renderTemplate:function(e){var r=this.title,n=be(r)?r({}):r,i=this.html&&!be(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 YD(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 Ww(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?YD(Object(r),!0).forEach(function(n){Nse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Nse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var q6=".modal-content",Bse=zt(Pn,Qt),Fse=".b-sidebar",jse=[q6,Fse].join(", "),Hse="dropdown",zse=".dropdown-menu.show",Ym="data-original-title",KD={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},mx=G({name:MX,mixins:[ea,qo],data:function(){return Ww(Ww({},KD),{},{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[xs],"__")},computedDelay:function(){var e={show:0,hide:0};return en(this.delay)?(e.show=Qe(oe(this.delay.show,0),0),e.hide=Qe(oe(this.delay.hide,0),0)):(Ui(this.delay)||We(this.delay))&&(e.show=e.hide=Qe(oe(this.delay,0),0)),e},computedTriggers:function(){return Ye(this.triggers).filter(Oe).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;Ze(e,r)||this.$nextTick(function(){n.unListen(),r.forEach(function(i){Ee(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=rp.bind(this),this.bvParent&&this.bvParent.$once(v4,function(){e.$nextTick(function(){st(function(){e.$destroy()})})}),this.$nextTick(function(){var r=e.getTarget();r&&fr(document.body,r)?(e.scopeId=cd(e.bvParent),e.listen()):xr(We(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 K6},updateData:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=!1;Ce(KD).forEach(function(i){!Zt(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=Xo(this,r,{propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:oe(this.offset,0),arrowPadding:oe(this.arrowPadding,0),boundaryPadding:oe(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once(Fr,this.onTemplateShow),n.$once(pn,this.onTemplateShown),n.$once(In,this.onTemplateHide),n.$once(Qt,this.onTemplateHidden),n.$once(Jh,this.destroyTemplate),n.$on(Qv,this.handleEvent),n.$on(Zv,this.handleEvent),n.$on(l4,this.handleEvent),n.$on(d4,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||!fr(document.body,e)||!Yi(e)||this.dropdownOpen()||(at(this.title)||this.title==="")&&(at(this.content)||this.content===""))&&!(this.$_tip||this.localShow)){this.localShow=!0;var r=this.buildEvent(Fr,{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(In,{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(Vg))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(zg))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="",e==="out"&&this.leave(null),this.emitEvent(this.buildEvent(pn))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(Qt))},getTarget:function(){var e=this.target;return We(e)?e=LS(e.replace(/^#/,"")):be(e)?e=e():e&&(e=e.$el||e),_t(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?Rn(jse,n)||r:We(e)&&LS(e.replace(/^#/,""))||r},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&Rn(q6,e)},isDropdown:function(){var e=this.getTarget();return e&&Zh(e,Hse)},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&si(zse,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=oi(e,"aria-describedby")||"";r=r.split(/\s+/).concat(this.computedId).join(" ").trim(),$t(e,"aria-describedby",r)},removeAriaDescribedby:function(){var e=this,r=this.getTarget(),n=oi(r,"aria-describedby")||"";n=n.split(/\s+/).filter(function(i){return i!==e.computedId}).join(" ").trim(),n?$t(r,"aria-describedby",n):La(r,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(Na(e,"title")){var r=oi(e,"title");$t(e,"title",""),r&&$t(e,Ym,r)}},restoreTitle:function(){var e=this.getTarget();if(Na(e,Ym)){var r=oi(e,Ym);La(e,Ym),r&&$t(e,"title",r)}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Oc(e,Ww({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},r))},emitEvent:function(e){var r=e.type;this.emitOnRoot(zt(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"?Tt(r,"click",e.handleEvent,Ue):n==="focus"?(Tt(r,"focusin",e.handleEvent,Ue),Tt(r,"focusout",e.handleEvent,Ue)):n==="blur"?Tt(r,"focusout",e.handleEvent,Ue):n==="hover"&&(Tt(r,"mouseenter",e.handleEvent,Ue),Tt(r,"mouseleave",e.handleEvent,Ue))},this))},unListen:function(){var e=this,r=["click","focusin","focusout","mouseenter","mouseleave"],n=this.getTarget();this.setRootListener(!1),r.forEach(function(i){n&&Dt(n,i,e.handleEvent,Ue)},this)},setRootListener:function(e){var r=e?"listenOnRoot":"listenOffRoot",n=this.templateType;this[r](hr(n,In),this.doHide),this[r](hr(n,Fr),this.doShow),this[r](hr(n,kS),this.doDisable),this[r](hr(n,DS),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[e?"listenOnRoot":"listenOffRoot"](Bse,this.forceHide)},setOnTouchStartListener:function(e){var r=this;"ontouchstart"in document.documentElement&&oc(document.body.children).forEach(function(n){Ki(e,n,"mouseover",r.$_noop)})},setDropdownListener:function(e){var r=this.getTarget();if(!(!r||!this.bvEventRoot||!this.isDropdown)){var n=Kte(r);n&&n[e?"$on":"$off"](pn,this.forceHide)}},handleEvent:function(e){var r=this.getTarget();if(!(!r||ku(r)||!this.$_enabled||this.dropdownOpen())){var n=e.type,i=this.computedTriggers;if(n==="click"&&Ee(i,"click"))this.click(e);else if(n==="mouseenter"&&Ee(i,"hover"))this.enter(e);else if(n==="focusin"&&Ee(i,"focus"))this.enter(e);else if(n==="focusout"&&(Ee(i,"focus")||Ee(i,"blur"))||n==="mouseleave"&&Ee(i,"hover")){var a=this.getTemplateElement(),s=e.target,o=e.relatedTarget;if(a&&fr(a,s)&&fr(r,o)||a&&fr(r,s)&&fr(a,o)||a&&fr(a,s)&&fr(a,o)||fr(r,s)&&fr(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()||(Ie(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"&&Ee(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())}}}),On,hu;function qD(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 Vse(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qD(Object(r),!0).forEach(function(n){Dr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}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}var Ph="disabled",XD=Ko+Ph,T0="show",Use=Ko+T0,X6=ee((On={boundary:y([To,gr,I],"scrollParent"),boundaryPadding:y(le,50),container:y([To,gr,I]),customClass:y(I),delay:y(oJ,50)},Dr(On,Ph,y(B,!1)),Dr(On,"fallbackPlacement",y(tn,"flip")),Dr(On,"id",y(I)),Dr(On,"noFade",y(B,!1)),Dr(On,"noninteractive",y(B,!1)),Dr(On,"offset",y(le,0)),Dr(On,"placement",y(I,"top")),Dr(On,T0,y(B,!1)),Dr(On,"target",y([To,oB,vn,gr,I],void 0,!0)),Dr(On,"title",y(I)),Dr(On,"triggers",y(tn,"hover focus")),Dr(On,"variant",y(I)),On),Au),J6=G({name:Au,mixins:[Pe,qo],inheritAttrs:!1,props:X6,data:function(){return{localShow:this[T0],localTitle:"",localContent:""}},computed:{templateData:function(){return Vse({title:this.localTitle,content:this.localContent,interactive:!this.noninteractive},Zi(this.$props,["boundary","boundaryPadding","container","customClass","delay","fallbackPlacement","id","noFade","offset","placement","target","target","triggers","variant",Ph]))},templateTitleContent:function(){var e=this.title,r=this.content;return{title:e,content:r}}},watch:(hu={},Dr(hu,T0,function(t,e){t!==e&&t!==this.localShow&&this.$_toolpop&&(t?this.$_toolpop.show():this.$_toolpop.forceHide())}),Dr(hu,Ph,function(t){t?this.doDisable():this.doEnable()}),Dr(hu,"localShow",function(e){this.$emit(Use,e)}),Dr(hu,"templateData",function(){var e=this;this.$nextTick(function(){e.$_toolpop&&e.$_toolpop.updateData(e.templateData)})}),Dr(hu,"templateTitleContent",function(){this.$nextTick(this.updateContent)}),hu),created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off(aM,this.doOpen),this.$off($S,this.doClose),this.$off(kS,this.doDisable),this.$off(DS,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=cd(e)||cd(e.bvParent),i=e.$_toolpop=Xo(e,r,{_scopeId:n||void 0});i.updateData(e.templateData),i.$on(Fr,e.onShow),i.$on(pn,e.onShown),i.$on(In,e.onHide),i.$on(Qt,e.onHidden),i.$on(zg,e.onDisabled),i.$on(Vg,e.onEnabled),e[Ph]&&e.doDisable(),e.$on(aM,e.doOpen),e.$on($S,e.doClose),e.$on(kS,e.doDisable),e.$on(DS,e.doEnable),e.localShow&&i.show()})},methods:{getComponent:function(){return mx},updateContent:function(){this.setTitle(this.normalizeSlot()||this.title)},setTitle:function(e){e=at(e)?"":e,this.localTitle!==e&&(this.localTitle=e)},setContent:function(e){e=at(e)?"":e,this.localContent!==e&&(this.localContent=e)},onShow:function(e){this.$emit(Fr,e),e&&(this.localShow=!e.defaultPrevented)},onShown:function(e){this.localShow=!0,this.$emit(pn,e)},onHide:function(e){this.$emit(In,e)},onHidden:function(e){this.$emit(Qt,e),this.localShow=!1},onDisabled:function(e){e&&e.type===zg&&(this.$emit(XD,!0),this.$emit(zg,e))},onEnabled:function(e){e&&e.type===Vg&&(this.$emit(XD,!1),this.$emit(Vg,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()}}),Gse=G({name:xX,extends:K6,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(e){var r=this.title,n=this.content,i=be(r)?r({}):r,a=be(n)?n({}):n,s=this.html&&!be(r)?{innerHTML:r}:{},o=this.html&&!be(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"}),at(i)||i===""?e():e("h3",{staticClass:"popover-header",domProps:s},[i]),at(a)||a===""?e():e("div",{staticClass:"popover-body",domProps:o},[a])])}}}),Q6=G({name:EX,extends:mx,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return Gse}}});function JD(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 QD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?JD(Object(r),!0).forEach(function(n){Wse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):JD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yse=ee(fe(QD(QD({},X6),{},{content:y(I),placement:y(I,"right"),triggers:y(tn,Mi)})),Cu),Kse=G({name:Cu,extends:J6,inheritAttrs:!1,props:Yse,methods:{getComponent:function(){return Q6},updateContent:function(){this.setContent(this.normalizeSlot()||this.content),this.setTitle(this.normalizeSlot($p)||this.title)}}});function ZD(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 eI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZD(Object(r),!0).forEach(function(n){qse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wi="__BV_Popover__",Xse="click",tI={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},Jse=/^html$/i,Qse=/^nofade$/i,Zse=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,eoe=/^(window|viewport|scrollParent)$/i,toe=/^d\d+$/i,roe=/^ds\d+$/i,noe=/^dh\d+$/i,ioe=/^o-?\d+$/i,aoe=/^v-.+$/i,soe=/\s+/,ooe=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:ii(Cu,"delay",50),boundary:String(ii(Cu,"boundary","scrollParent")),boundaryPadding:oe(ii(Cu,"boundaryPadding",5),0),variant:ii(Cu,"variant"),customClass:ii(Cu,"customClass")};if(We(e.value)||Ui(e.value)||be(e.value)?n.content=e.value:en(e.value)&&(n=eI(eI({},n),e.value)),e.arg&&(n.container="#".concat(e.arg)),Zt(n.title)){var i=r.data||{};n.title=i.attrs&&!at(i.attrs.title)?i.attrs.title:void 0}en(n.delay)||(n.delay={show:oe(n.delay,0),hide:oe(n.delay,0)}),Ce(e.modifiers).forEach(function(s){if(Jse.test(s))n.html=!0;else if(Qse.test(s))n.animation=!1;else if(Zse.test(s))n.placement=s;else if(eoe.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(toe.test(s)){var o=oe(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else roe.test(s)?n.delay.show=oe(s.slice(2),0):noe.test(s)?n.delay.hide=oe(s.slice(2),0):ioe.test(s)?n.offset=oe(s.slice(1),0):aoe.test(s)&&(n.variant=s.slice(2)||null)});var a={};return Ye(n.trigger||"").filter(Oe).join(" ").trim().toLowerCase().split(soe).forEach(function(s){tI[s]&&(a[s]=!0)}),Ce(e.modifiers).forEach(function(s){s=s.toLowerCase(),tI[s]&&(a[s]=!0)}),n.trigger=Ce(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=Xse),n},rI=function(e,r,n){if(ht){var i=ooe(r,n);if(!e[wi]){var a=Ba(n,r);e[wi]=Xo(a,Q6,{_scopeId:cd(a,void 0)}),e[wi].__bv_prev_data__={},e[wi].$on(Fr,function(){var c={};be(i.title)&&(c.title=i.title(e)),be(i.content)&&(c.content=i.content(e)),Ce(c).length>0&&e[wi].updateData(c)})}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[wi].__bv_prev_data__;if(e[wi].__bv_prev_data__=s,!Ze(s,o)){var u={target:e};Ce(s).forEach(function(c){s[c]!==o[c]&&(u[c]=(c==="title"||c==="content")&&be(s[c])?s[c](e):s[c])}),e[wi].updateData(u)}}},uoe=function(e){e[wi]&&(e[wi].$destroy(),e[wi]=null),delete e[wi]},coe={bind:function(e,r,n){rI(e,r,n)},componentUpdated:function(e,r,n){xE(function(){rI(e,r,n)})},unbind:function(e){uoe(e)}},Z6=pe({directives:{VBPopover:coe}}),loe=pe({components:{BPopover:Kse},plugins:{VBPopoverPlugin:Z6}}),e5=ee({animated:y(B,null),label:y(I),labelHtml:y(I),max:y(le,null),precision:y(le,null),showProgress:y(B,null),showValue:y(B,null),striped:y(B,null),value:y(le,0),variant:y(I)},BF),t5=G({name:BF,mixins:[Pe],inject:{getBvProgress:{default:function(){return function(){return{}}}}},props:e5,computed:{bvProgress:function(){return this.getBvProgress()},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 Be(this.value,0)},computedMax:function(){var e=Be(this.max)||Be(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return Qe(oe(this.precision,oe(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,r=R4(10,e);return lw(100*r*this.computedValue/this.computedMax/r,e)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return Ei(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return Ei(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return Ei(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return Ei(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=Lt(n,r):this.computedShowProgress?s=this.computedProgress:this.computedShowValue&&(s=lw(i,a)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":_e(this.computedMax),"aria-valuenow":lw(i,a)},domProps:o},s)}});function nI(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 iI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?nI(Object(r),!0).forEach(function(n){doe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function doe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var r5=Re(e5,["label","labelHtml"]),foe=ee(fe(iI(iI({},r5),{},{animated:y(B,!1),height:y(I),max:y(le,100),precision:y(le,0),showProgress:y(B,!1),showValue:y(B,!1),striped:y(B,!1)})),NF),hoe=G({name:NF,mixins:[Pe],provide:function(){var e=this;return{getBvProgress:function(){return e}}},props:foe,computed:{progressHeight:function(){return{height:this.height||null}}},render:function(e){var r=this.normalizeSlot();return r||(r=e(t5,{props:xt(r5,this.$props)})),e("div",{staticClass:"progress",style:this.progressHeight},[r])}}),poe=pe({components:{BProgress:hoe,BProgressBar:t5}}),Af;function aI(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 Ch(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?aI(Object(r),!0).forEach(function(n){ls(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ls(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ap="b-sidebar",moe=hr(Wr,"request-state"),goe=hr(Wr,"toggle"),voe=zt(Wr,"state"),boe=zt(Wr,"sync-state"),cy=vr("visible",{type:B,defaultValue:!1,event:Bn}),yoe=cy.mixin,_oe=cy.props,sI=cy.prop,woe=cy.event,Soe=ee(fe(Ch(Ch(Ch({},lt),_oe),{},{ariaLabel:y(I),ariaLabelledby:y(I),backdrop:y(B,!1),backdropVariant:y(I,"dark"),bgVariant:y(I,"light"),bodyClass:y(we),closeLabel:y(I),footerClass:y(we),footerTag:y(I,"footer"),headerClass:y(we),headerTag:y(I,"header"),lazy:y(B,!1),noCloseOnBackdrop:y(B,!1),noCloseOnEsc:y(B,!1),noCloseOnRouteChange:y(B,!1),noEnforceFocus:y(B,!1),noHeader:y(B,!1),noHeaderClose:y(B,!1),noSlide:y(B,!1),right:y(B,!1),shadow:y(rn,!1),sidebarClass:y(we),tag:y(I,"div"),textVariant:y(I,"dark"),title:y(I),width:y(I),zIndex:y(le)})),jF),Ooe=function(e,r){var n=r.normalizeSlot($p,r.slotScope)||r.title;return n?e("strong",{attrs:{id:r.safeId("__title__")}},[n]):e("span")},Toe=function(e,r){if(r.noHeaderClose)return e();var n=r.closeLabel,i=r.textVariant,a=r.hide;return e(cc,{props:{ariaLabel:n,textVariant:i},on:{click:a},ref:"close-button"},[r.normalizeSlot(bJ)||e(j4)])},Eoe=function(e,r){if(r.noHeader)return e();var n=r.normalizeSlot(Bo,r.slotScope);if(!n){var i=Ooe(e,r),a=Toe(e,r);n=r.right?[a,i]:[i,a]}return e(r.headerTag,{staticClass:"".concat(ap,"-header"),class:r.headerClass,key:"header"},n)},xoe=function(e,r){return e("div",{staticClass:"".concat(ap,"-body"),class:r.bodyClass,key:"body"},[r.normalizeSlot(_r,r.slotScope)])},Poe=function(e,r){var n=r.normalizeSlot(RS,r.slotScope);return n?e(r.footerTag,{staticClass:"".concat(ap,"-footer"),class:r.footerClass,key:"footer"},[n]):e()},Coe=function(e,r){var n=Eoe(e,r);return r.lazy&&!r.isOpen?n:[n,xoe(e,r),Poe(e,r)]},Aoe=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:ls({},"bg-".concat(n),n),on:{click:r.onBackdropClick}})},Moe=G({name:jF,mixins:[Pr,pt,yoe,ea,Pe],inheritAttrs:!1,props:Soe,data:function(){var e=!!this[sI];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(Bo)&&!!(this.normalizeSlot($p,this.slotScope,e,r)||this.title)},titleId:function(){return this.hasTitle?this.safeId("__title__"):null},computedAttrs:function(){return Ch(Ch({},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:(Af={},ls(Af,sI,function(t,e){t!==e&&(this.localShow=t)}),ls(Af,"localShow",function(e,r){e!==r&&(this.emitState(e),this.$emit(woe,e))}),ls(Af,"$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()}),Af),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(goe,this.handleToggle),this.listenOnRoot(moe,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(voe,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(boe,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===FE&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=BS(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=BS(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=Fo(ht?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){fr(e,Fo())||this.enforceFocus(e),this.$emit(pn)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(Qt)},enforceFocus:function(e){this.noEnforceFocus||Ie(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:ap,class:[(r={shadow:o===!0},ls(r,"shadow-".concat(o),o&&o!==!0),ls(r,"".concat(ap,"-right"),this.right),ls(r,"bg-".concat(n),n),ls(r,"text-".concat(a),a),r),this.sidebarClass],style:{width:i},attrs:this.computedAttrs,directives:[{name:"show",value:s}],ref:"content"},[Coe(e,this)]);u=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[u]);var c=e(wc,{props:{noFade:this.noSlide}},[Aoe(e,this)]),l=e(),d=e();return this.backdrop&&s&&(l=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}},[l,u,d,c])}}),$oe=pe({components:{BSidebar:Moe},plugins:{VBTogglePlugin:qE}});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 koe=ee({animation:y(I,"wave"),height:y(I),size:y(I),type:y(I,"text"),variant:y(I),width:y(I)},HF),E0=G({name:HF,functional:!0,props:koe,render:function(e,r){var n,i=r.data,a=r.props,s=a.size,o=a.animation,u=a.variant;return e("div",ve(i,{staticClass:"b-skeleton",style:{width:s||a.width,height:s||a.height},class:(n={},Yw(n,"b-skeleton-".concat(a.type),!0),Yw(n,"b-skeleton-animate-".concat(o),o),Yw(n,"bg-".concat(u),u),n)}))}});function oI(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 uI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oI(Object(r),!0).forEach(function(n){n5(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function n5(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Doe=ee({animation:y(I,"wave"),icon:y(I),iconProps:y(gr,{})},zF),Ioe=G({name:zF,functional:!0,props:Doe,render:function(e,r){var n=r.data,i=r.props,a=i.icon,s=i.animation,o=e(r0,{staticClass:"b-skeleton-icon",props:uI(uI({},i.iconProps),{},{icon:a})});return e("div",ve(n,{staticClass:"b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden",class:n5({},"b-skeleton-animate-".concat(s),s)}),[o])}});function Roe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Loe=ee({animation:y(I),aspect:y(I,"16:9"),cardImg:y(I),height:y(I),noAspect:y(B,!1),variant:y(I),width:y(I)},VF),Noe=G({name:VF,functional:!0,props:Loe,render:function(e,r){var n=r.data,i=r.props,a=i.aspect,s=i.width,o=i.height,u=i.animation,c=i.variant,l=i.cardImg,d=e(E0,ve(n,{props:{type:"img",width:s,height:o,animation:u,variant:c},class:Roe({},"card-img-".concat(l),l)}));return i.noAspect?d:e(L4,{props:{aspect:a}},[d])}}),gx=G({methods:{hasListener:function(e){if(yn)return!0;var r=this.$listeners||{},n=this._events||{};return!Zt(r[e])||nt(n[e])&&n[e].length>0}}});function cI(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 Boe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cI(Object(r),!0).forEach(function(n){Foe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Foe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lI="light",dI="dark",joe=ee({variant:y(I)},n4),Ds=G({name:n4,mixins:[Pr,Bs,Pe],provide:function(){var e=this;return{getBvTableTr:function(){return e}}},inject:{getBvTableRowGroup:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:joe,computed:{bvTableRowGroup:function(){return this.getBvTableRowGroup()},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===lI||this.footVariant===lI?!1:this.headVariant===dI||this.footVariant===dI?!0:this.isDark},trClasses:function(){var e=this.variant;return[e?"".concat(this.isRowDark?"bg":"table","-").concat(e):null]},trAttrs:function(){return Boe({role:"row"},this.bvAttrs)}},render:function(e){return e("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}}),i5={},Hoe=G({props:i5,methods:{renderBottomRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(uM)||r===!0||r===""?a():a(Ds,{staticClass:"b-table-bottom-row",class:[be(n)?n(null,"row-bottom"):n],attrs:be(i)?i(null,"row-bottom"):i,key:"b-bottom-row"},this.normalizeSlot(uM,{columns:e.length,fields:e}))}}});function fI(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 hI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fI(Object(r),!0).forEach(function(n){zoe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zoe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bO=function(e){return e=oe(e,0),e>0?e:null},pI=function(e){return at(e)||bO(e)>0},a5=ee({colspan:y(le,null,pI),rowspan:y(le,null,pI),stackedHeading:y(I),stickyColumn:y(B,!1),variant:y(I)},KF),dd=G({name:KF,mixins:[Pr,Bs,Pe],inject:{getBvTableTr:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:a5,computed:{bvTableTr:function(){return this.getBvTableTr()},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 bO(this.colspan)},computedRowspan:function(){return bO(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"):Ya(this.tag,"th")&&(a="rowheader",s=i>0?"rowgroup":"row"),hI(hI({colspan:n,rowspan:i,role:a,scope:s},this.bvAttrs),{},{"data-label":this.isStackedCell&&!at(e)?_e(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 Voe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vx="busy",Uoe=Ko+vx,s5=Voe({},vx,y(B,!1)),Goe=G({props:s5,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[vx]||this.localBusy}},watch:{localBusy:function(e,r){e!==r&&this.$emit(Uoe,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(Qf)?n(Ds,{staticClass:"b-table-busy-slot",class:[be(e)?e(null,Qf):e],attrs:be(r)?r(null,Qf):r,key:"table-busy-slot"},[n(dd,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(Qf)])]):null}}}),bx={caption:y(I),captionHtml:y(I)},o5=G({props:bx,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(mM);return(a||e||r)&&(i=n("caption",{attrs:{id:this.captionId},domProps:a?{}:Lt(r,e),key:"caption",ref:"caption"},this.normalizeSlot(mM))),i}}}),u5={},c5=G({methods:{renderColgroup:function(){var e=this.computedFields,r=this.$createElement,n=r();return this.hasNormalizedSlot(gM)&&(n=r("colgroup",{key:"colgroup"},[this.normalizeSlot(gM,{columns:e.length,fields:e})])),n}}}),l5={emptyFilteredHtml:y(I),emptyFilteredText:y(I,"There are no records matching your request"),emptyHtml:y(I),emptyText:y(I,"There are no records to show"),showEmpty:y(B,!1)},Woe=G({props:l5,methods:{renderEmpty:function(){var e=qt(this),r=e.computedItems,n=e.computedBusy,i=this.$createElement,a=i();if(this.showEmpty&&(!r||r.length===0)&&!(n&&this.hasNormalizedSlot(Qf))){var s=this.computedFields,o=this.isFiltered,u=this.emptyText,c=this.emptyHtml,l=this.emptyFilteredText,d=this.emptyFilteredHtml,f=this.tbodyTrClass,p=this.tbodyTrAttr;a=this.normalizeSlot(o?gJ:S4,{emptyFilteredHtml:d,emptyFilteredText:l,emptyHtml:c,emptyText:u,fields:s,items:r}),a||(a=i("div",{class:["text-center","my-2"],domProps:o?Lt(d,l):Lt(c,u)})),a=i(dd,{props:{colspan:s.length||null}},[i("div",{attrs:{role:"alert","aria-live":"polite"}},[a])]),a=i(Ds,{staticClass:"b-table-empty-row",class:[be(f)?f(null,"row-empty"):f],attrs:be(p)?p(null,"row-empty"):p,key:o?"b-empty-filtered-row":"b-empty-row"},[a])}return a}}}),yO=function t(e){return at(e)?"":Jt(e)&&!td(e)?Ce(e).sort().map(function(r){return t(e[r])}).filter(function(r){return!!r}).join(" "):_e(e)};function mI(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 gI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mI(Object(r),!0).forEach(function(n){d5(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function d5(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cv="_cellVariants",_O="_rowVariant",uh="_showDetails",f5=[cv,_O,uh].reduce(function(t,e){return gI(gI({},t),{},d5({},e,!0))},{}),Yoe=["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(","),wO=function(e,r,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=Ce(i).reduce(function(o,u){var c=i[u],l=c.filterByFormatted,d=be(l)?l:l?c.formatter:null;return be(d)&&(o[u]=d(e[u],u,e)),o},Yo(e)),s=Ce(a).filter(function(o){return!f5[o]&&!(nt(r)&&r.length>0&&Ee(r,o))&&!(nt(n)&&n.length>0&&!Ee(n,o))});return Zi(a,s)},Koe=function(e,r,n,i){return Jt(e)?yO(wO(e,r,n,i)):""};function qoe(t){return Zoe(t)||Qoe(t)||Joe(t)||Xoe()}function Xoe(){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 Joe(t,e){if(t){if(typeof t=="string")return SO(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 SO(t,e)}}function Qoe(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zoe(t){if(Array.isArray(t))return SO(t)}function SO(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 eue='Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.',h5={filter:y([].concat(qoe(we),[nJ])),filterDebounce:y(le,0,function(t){return iB.test(String(t))}),filterFunction:y(vn),filterIgnoredFields:y(mn,[]),filterIncludedFields:y(mn,[])},tue=G({props:h5,data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return Ye(this.filterIgnoredFields||[]).filter(Oe)},computedFilterIncluded:function(){return Ye(this.filterIncludedFields||[]).filter(Oe)},computedFilterDebounce:function(){var e=oe(this.filterDebounce,0);return e>0&&xr(eue,sc),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 Va(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?Ze(n,[])||Ze(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit(IS,r,r.length),this.isFiltered=i},isFiltered:function(e,r){if(e===!1&&r===!0){var n=this.localItems;this.$emit(IS,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&&!(We(e)||qA(e))?"":xi(e)},filterFnFactory:function(e,r){if(!e||!be(e)||!r||Ze(r,[])||Ze(r,{}))return null;var n=function(a){return e(a,r)};return n},defaultFilterFnFactory:function(e){var r=this;if(!e||!(We(e)||qA(e)))return null;var n=e;if(We(n)){var i=RE(e).replace(aB,"\\s+");n=new RegExp(".*".concat(i,".*"),"i")}var a=function(o){return n.lastIndex=0,n.test(Koe(o,r.computedFilterIgnored,r.computedFilterIncluded,r.computedFieldsObj))};return a}}}),rue=function(e,r){var n=null;return We(r)?n={key:e,label:r}:be(r)?n={key:e,formatter:r}:Jt(r)?(n=Yo(r),n.key=n.key||e):r!==!1&&(n={key:e}),n},nue=function(e,r){var n=[];if(nt(e)&&e.filter(Oe).forEach(function(s){if(We(s))n.push({key:s,label:Ug(s)});else if(Jt(s)&&s.key&&We(s.key))n.push(Yo(s));else if(Jt(s)&&Ce(s).length===1){var o=Ce(s)[0],u=rue(o,s[o]);u&&n.push(u)}}),n.length===0&&nt(r)&&r.length>0){var i=r[0];Ce(i).forEach(function(s){f5[s]||n.push({key:s,label:Ug(s)})})}var a={};return n.filter(function(s){return a[s.key]?!1:(a[s.key]=!0,s.label=We(s.label)?s.label:Ug(s.key),!0)})};function vI(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 bI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vI(Object(r),!0).forEach(function(n){p5(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function p5(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ly=vr("value",{type:mn,defaultValue:[]}),iue=ly.mixin,aue=ly.props,sue=ly.prop,yI=ly.event,yx=fe(bI(bI({},aue),{},p5({fields:y(mn,null),items:y(mn,[]),primaryKey:y(I)},sue,y(mn,[])))),m5=G({mixins:[iue,qo],props:yx,data:function(){var e=this.items;return{localItems:nt(e)?e.slice():[]}},computed:{computedFields:function(){return nue(this.fields,this.localItems)},computedFieldsObj:function(){var e=this.bvParent;return this.computedFields.reduce(function(r,n){if(r[n.key]=Yo(n),n.formatter){var i=n.formatter;We(i)&&be(e[i])?i=e[i]:be(i)||(i=void 0),r[n.key].formatter=i}return r},{})},computedItems:function(){var e=qt(this),r=e.paginatedItems,n=e.sortedItems,i=e.filteredItems,a=e.localItems;return(r||n||i||a||[]).slice()},context:function(){var e=qt(this),r=e.perPage,n=e.currentPage;return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:Qe(oe(r,0),0),currentPage:Qe(oe(n,0),1),apiUrl:this.apiUrl}}},watch:{items:function(e){this.localItems=nt(e)?e.slice():[]},computedItems:function(e,r){Ze(e,r)||this.$emit(yI,e)},context:function(e,r){Ze(e,r)||this.$emit(s4,e)}},mounted:function(){this.$emit(yI,this.computedItems)},methods:{getFieldFormatter:function(e){var r=this.computedFieldsObj[e];return r?r.formatter:void 0}}}),g5={currentPage:y(le,1),perPage:y(le,0)},oue=G({props:g5,computed:{localPaging:function(){return this.hasProvider?!!this.noProviderPaging:!0},paginatedItems:function(){var e=qt(this),r=e.sortedItems,n=e.filteredItems,i=e.localItems,a=r||n||i||[],s=Qe(oe(this.currentPage,1),1),o=Qe(oe(this.perPage,0),0);return this.localPaging&&o&&(a=a.slice((s-1)*o,s*o)),a}}}),uue=zt(sc,Jf),cue=hr(sc,VX),v5={apiUrl:y(I),items:y(_4,[]),noProviderFiltering:y(B,!1),noProviderPaging:y(B,!1),noProviderSorting:y(B,!1)},lue=G({mixins:[ea],props:v5,computed:{hasProvider:function(){return be(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),Yo(e)}},watch:{items:function(e){(this.hasProvider||be(e))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(e,r){Ze(e,r)||this.$nextTick(this._providerUpdate)}},mounted:function(){var e=this;this.hasProvider&&(!this.localItems||this.localItems.length===0)&&this._providerUpdate(),this.listenOnRoot(cue,function(r){(r===e.id||r===e)&&e.refresh()})},methods:{refresh:function(){var e=qt(this),r=e.items,n=e.refresh,i=e.computedBusy;this.$off(Jf,n),i?this.localBusy&&this.hasProvider&&this.$on(Jf,n):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=nt(r)?r.slice():[])},_providerSetLocal:function(e){this.localItems=nt(e)?e.slice():[],this.localBusy=!1,this.$emit(Jf),this.id&&this.emitOnRoot(uue,this.id)},_providerUpdate:function(){var e=this;if(this.hasProvider){if(qt(this).computedBusy){this.$nextTick(this.refresh);return}this.localBusy=!0,this.$nextTick(function(){try{var r=e.items(e.context,e._providerSetLocal);Qq(r)?r.then(function(n){e._providerSetLocal(n)}):nt(r)?e._providerSetLocal(r):e.items.length!==2&&(xr("Provider function didn't request callback and did not return a promise or data.",sc),e.localBusy=!1)}catch(n){xr("Provider function error [".concat(n.name,"] ").concat(n.message,"."),sc),e.localBusy=!1,e.$off(Jf,e.refresh)}})}}}});function Km(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var due=["range","multi","single"],_I="grid",b5={noSelectOnClick:y(B,!1),selectMode:y(I,"multi",function(t){return Ee(due,t)}),selectable:y(B,!1),selectedVariant:y(I,"active")},fue=G({props:b5,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(Oe)},selectableIsMultiSelect:function(){return this.isSelectable&&Ee(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,r=this.isSelectable;return e={"b-table-selectable":r},Km(e,"b-table-select-".concat(this.selectMode),r),Km(e,"b-table-selecting",this.selectableHasSelection),Km(e,"b-table-selectable-no-click",r&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||_I;return{role:e,"aria-multiselectable":e===_I?_e(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,r){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=nt(e)&&nt(r)&&e.length===r.length;for(var i=0;n&&i<e.length;i++)n=Ze(wO(e[i]),wO(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&&!Ze(e,r)){var i=[];e.forEach(function(a,s){a&&i.push(n.computedItems[s])}),this.$emit(qX,i)}}},beforeMount:function(){this.isSelectable&&this.setSelectionHandlers(!0)},methods:{selectRow:function(e){if(this.isSelectable&&Ui(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&&Ui(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?Sh(e,!0):[!0])},isRowSelected:function(e){return!!(Ui(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 Km({"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](e0,this.selectionHandler),this[r](IS,this.clearSelected),this[r](s4,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=Ss(a,r);u<=Qe(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}}}),y5=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]})},wI=function(e){return at(e)?"":_h(e)?Be(e,e):e},hue=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,c=u===void 0?void 0:u,l=n.localeOptions,d=l===void 0?{}:l,f=n.nullLast,p=f===void 0?!1:f,m=Gr(e,a,null),b=Gr(r,a,null);return be(o)&&(m=o(m,a,e),b=o(b,a,r)),m=wI(m),b=wI(b),td(m)&&td(b)||Ui(m)&&Ui(b)?m<b?-1:m>b?1:0:p&&m===""&&b!==""?1:p&&m!==""&&b===""?-1:yO(m).localeCompare(yO(b),c,d)},ga,nl;function SI(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 OI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?SI(Object(r),!0).forEach(function(n){Xn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SI(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 x0="sortBy",pue=Ko+x0,P0="sortDesc",mue=Ko+P0,C0="asc",OO="desc",gue="last",vue=[C0,OO,gue],_5=(ga={labelSortAsc:y(I,"Click to sort ascending"),labelSortClear:y(I,"Click to clear sorting"),labelSortDesc:y(I,"Click to sort descending"),noFooterSorting:y(B,!1),noLocalSorting:y(B,!1),noSortReset:y(B,!1)},Xn(ga,x0,y(I)),Xn(ga,"sortCompare",y(vn)),Xn(ga,"sortCompareLocale",y(tn)),Xn(ga,"sortCompareOptions",y(gr,{numeric:!0})),Xn(ga,P0,y(B,!1)),Xn(ga,"sortDirection",y(I,C0,function(t){return Ee(vue,t)})),Xn(ga,"sortIconLeft",y(B,!1)),Xn(ga,"sortNullLast",y(B,!1)),ga),bue=G({props:_5,data:function(){return{localSortBy:this[x0]||"",localSortDesc:this[P0]||!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=qt(this),r=e.localSortBy,n=e.localSortDesc,i=e.sortCompareLocale,a=e.sortNullLast,s=e.sortCompare,o=e.localSorting,u=e.filteredItems,c=e.localItems,l=(u||c||[]).slice(),d=OI(OI({},this.sortCompareOptions),{},{usage:"sort"});if(r&&o){var f=this.computedFieldsObj[r]||{},p=f.sortByFormatted,m=be(p)?p:p?this.getFieldFormatter(r):void 0;return y5(l,function(b,_){var S=null;return be(s)&&(S=s(b,_,r,n,m,d,i)),(at(S)||S===!1)&&(S=hue(b,_,{sortBy:r,formatter:m,locale:i,localeOptions:d,nullLast:a})),(S||0)*(n?-1:1)})}return l}},watch:(nl={isSortable:function(e){e?this.isSortable&&this.$on(wh,this.handleSort):this.$off(wh,this.handleSort)}},Xn(nl,P0,function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)}),Xn(nl,x0,function(t){t!==this.localSortBy&&(this.localSortBy=t||"")}),Xn(nl,"localSortDesc",function(e,r){e!==r&&this.$emit(mue,e)}),Xn(nl,"localSortBy",function(e,r){e!==r&&this.$emit(pue,e)}),nl),created:function(){this.isSortable&&this.$on(wh,this.handleSort)},methods:{handleSort:function(e,r,n,i){var a=this;if(this.isSortable&&!(i&&this.noFooterSorting)){var s=!1,o=function(){var l=r.sortDirection||a.sortDirection;l===C0?a.localSortDesc=!1:l===OO&&(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(QX,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,c=this.localSorting;if(!a||n&&s)return{};var l=r.sortable,d=c?e:(i=r.sortKey)!==null&&i!==void 0?i:e,f=l&&u===d?o?"descending":"ascending":l?"none":null;return{"aria-sort":f}},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,c="";if(u)if(i===e)c=a?s:o;else{c=a?o:s;var l=this.sortDirection||r.sortDirection;l===C0?c=s:l===OO&&(c=o)}else this.noSortReset||(c=i?this.labelSortClear:"");return Eo(c)||null}}});function yue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dy={stacked:y(rn,!1)},A0=G({props:dy,computed:{isStacked:function(){var e=this.stacked;return e===""?!0:e},isStackedAlways:function(){return this.isStacked===!0},stackedTableClasses:function(){var e=this.isStackedAlways;return yue({"b-table-stacked":e},"b-table-stacked-".concat(this.stacked),!e&&this.isStacked)}}});function TI(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 Kw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?TI(Object(r),!0).forEach(function(n){_ue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _ue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fy={bordered:y(B,!1),borderless:y(B,!1),captionTop:y(B,!1),dark:y(B,!1),fixed:y(B,!1),hover:y(B,!1),noBorderCollapse:y(B,!1),outlined:y(B,!1),responsive:y(rn,!1),small:y(B,!1),stickyHeader:y(rn,!1),striped:y(B,!1),tableClass:y(we),tableVariant:y(I)},_x=G({mixins:[Pr],provide:function(){var e=this;return{getBvTable:function(){return e}}},inheritAttrs:!1,props:fy,computed:{isTableSimple:function(){return!1},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(Oe)},wrapperStyles:function(){var e=this.isStickyHeader;return e&&!Ei(e)?{maxHeight:e}:{}},tableClasses:function(){var e=qt(this),r=e.hover,n=e.tableVariant,i=e.selectableTableClasses,a=e.stackedTableClasses,s=e.tableClass,o=e.computedBusy;return r=this.isTableSimple?r:r&&this.computedItems.length>0&&!o,[s,{"table-striped":this.striped,"table-hover":r,"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},n?"".concat(this.dark?"bg":"table","-").concat(n):"",a,i]},tableAttrs:function(){var e=qt(this),r=e.computedItems,n=e.filteredItems,i=e.computedFields,a=e.selectableTableAttrs,s=e.computedBusy,o=this.isTableSimple?{}:{"aria-busy":_e(s),"aria-colcount":_e(i.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null},u=r&&n&&n.length>r.length?_e(n.length):null;return Kw(Kw(Kw({"aria-rowcount":u},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},o),a)}},render:function(e){var r=qt(this),n=r.wrapperClasses,i=r.renderCaption,a=r.renderColgroup,s=r.renderThead,o=r.renderTbody,u=r.renderTfoot,c=[];this.isTableSimple?c.push(this.normalizeSlot()):(c.push(i?i():null),c.push(a?a():null),c.push(s?s():null),c.push(o?o():null),c.push(u?u():null));var l=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},c.filter(Oe));return n.length>0?e("div",{class:n,style:this.wrapperStyles,key:"wrap"},[l]):l}});function EI(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 qw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?EI(Object(r),!0).forEach(function(n){wue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):EI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wx=ee({tbodyTransitionHandlers:y(gr),tbodyTransitionProps:y(gr)},QF),w5=G({name:QF,mixins:[Pr,Bs,Pe],provide:function(){var e=this;return{getBvTableRowGroup:function(){return e}}},inject:{getBvTable:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:wx,computed:{bvTable:function(){return this.getBvTable()},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 qw({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){var e=this.tbodyTransitionProps;return e?qw(qw({},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())}}),Sue=["TD","TH","TR"],TO=function(e){if(!e||!e.target)return!1;var r=e.target;if(r.disabled||Sue.indexOf(r.tagName)!==-1)return!1;if(Rn(".dropdown-menu",r))return!0;var n=r.tagName==="LABEL"?r:Rn("label",r);if(n){var i=oi(n,"for"),a=i?LS(i):si("input, select, textarea",n);if(a&&!a.disabled)return!0}return Ps(r,Yoe)},S5=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=iQ();return r&&r.toString().trim()!==""&&r.containsNode&&_t(e)?r.containsNode(e,!0):!1},Oue=ee(a5,e4),Sx=G({name:e4,extends:dd,props:Oue,computed:{tag:function(){return"th"}}});function xI(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?xI(Object(r),!0).forEach(function(n){O5(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function O5(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Tue(t){return Cue(t)||Pue(t)||xue(t)||Eue()}function Eue(){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 xue(t,e){if(t){if(typeof t=="string")return EO(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 EO(t,e)}}function Pue(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cue(t){if(Array.isArray(t))return EO(t)}function EO(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 T5={detailsTdClass:y(we),tbodyTrAttr:y(uJ),tbodyTrClass:y([].concat(Tue(we),[vn]))},Aue=G({mixins:[qo],props:T5,methods:{getTdValues:function(e,r,n,i){var a=this.bvParent;if(n){var s=Gr(e,r,"");return be(n)?n(s,r,e):We(n)&&be(a[n])?a[n](s,r,e):n}return i},getThValues:function(e,r,n,i,a){var s=this.bvParent;if(n){var o=Gr(e,r,"");return be(n)?n(o,r,e,i):We(n)&&be(s[n])?s[n](o,r,e,i):n}return a},getFormattedValue:function(e,r){var n=r.key,i=this.getFieldFormatter(n),a=Gr(e,n,null);return be(i)&&(a=i(a,n,e)),at(a)?"":a},toggleDetailsFactory:function(e,r){var n=this;return function(){e&&n.$set(r,uh,!r[uh])}},rowHovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(YX,e)},rowUnhovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(XX,e)},renderTbodyRowCell:function(e,r,n,i){var a=this,s=this.isStacked,o=e.key,u=e.label,c=e.isRowHeader,l=this.$createElement,d=this.hasNormalizedSlot(vf),f=this.getFormattedValue(n,e),p=!s&&(this.isResponsive||this.stickyHeader)&&e.stickyColumn,m=p?c?Sx:dd:c?"th":"td",b=n[cv]&&n[cv][o]?n[cv][o]:e.variant||null,_={class:[e.class?e.class:"",this.getTdValues(n,o,e.tdClass,"")],props:{},attrs:Mf({"aria-colindex":String(r+1)},c?this.getThValues(n,o,e.thAttr,"row",{}):this.getTdValues(n,o,e.tdAttr,{})),key:"row-".concat(i,"-cell-").concat(r,"-").concat(o)};p?_.props={stackedHeading:s?u:null,stickyColumn:!0,variant:b}:(_.attrs["data-label"]=s&&!at(u)?_e(u):null,_.attrs.role=c?"rowheader":"cell",_.attrs.scope=c?"row":null,b&&_.class.push("".concat(this.dark?"bg":"table","-").concat(b)));var S={item:n,index:i,field:e,unformatted:Gr(n,o,""),value:f,toggleDetails:this.toggleDetailsFactory(d,n),detailsShowing:!!n[uh]};qt(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],O=E?this.normalizeSlot(E,S):_e(f);return this.isStacked&&(O=[l("div",[O])]),l(m,_,[O])},renderTbodyRow:function(e,r){var n=this,i=qt(this),a=i.computedFields,s=i.striped,o=i.primaryKey,u=i.currentPage,c=i.perPage,l=i.tbodyTrClass,d=i.tbodyTrAttr,f=i.hasSelectableRowClick,p=this.$createElement,m=this.hasNormalizedSlot(vf),b=e[uh]&&m,_=this.$listeners[e0]||f,S=[],E=b?this.safeId("_details_".concat(r,"_")):null,O=a.map(function(M,R){return n.renderTbodyRowCell(M,R,e,r)}),h=null;u&&c&&c>0&&(h=String((u-1)*c+r+1));var v=_e(Gr(e,o))||null,g=v||_e(r),T=v?this.safeId("_row_".concat(v)):null,C=qt(this).selectableRowClasses?this.selectableRowClasses(r):{},k=qt(this).selectableRowAttrs?this.selectableRowAttrs(r):{},w=be(l)?l(e,"row"):l,A=be(d)?d(e,"row"):d;if(S.push(p(Ds,O5({class:[w,C,b?"b-table-has-details":""],props:{variant:e[_O]||null},attrs:Mf(Mf({id:T},A),{},{tabindex:_?"0":null,"data-pk":v||null,"aria-details":E,"aria-owns":E,"aria-rowindex":h},k),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(g,"__"),ref:"item-rows"},EE,!0),O)),b){var P={item:e,index:r,fields:a,toggleDetails:this.toggleDetailsFactory(m,e)};qt(this).supportsSelectableRows&&(P.rowSelected=this.isRowSelected(r),P.selectRow=function(){return n.selectRow(r)},P.unselectRow=function(){return n.unselectRow(r)});var x=p(dd,{props:{colspan:a.length},class:this.detailsTdClass},[this.normalizeSlot(vf,P)]);s&&S.push(p("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(g)}));var $=be(this.tbodyTrClass)?this.tbodyTrClass(e,vf):this.tbodyTrClass,D=be(this.tbodyTrAttr)?this.tbodyTrAttr(e,vf):this.tbodyTrAttr;S.push(p(Ds,{staticClass:"b-table-details",class:[$],props:{variant:e[_O]||null},attrs:Mf(Mf({},D),{},{id:E,tabindex:"-1"}),key:"__b-table-details__".concat(g)},[x]))}else m&&(S.push(p()),s&&S.push(p()));return S}}});function PI(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 Xw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PI(Object(r),!0).forEach(function(n){Mue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Mue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jw=function(e){return"cell(".concat(e||"",")")},Ox=fe(Xw(Xw(Xw({},wx),T5),{},{tbodyClass:y(we)})),E5=G({mixins:[Aue],props:Ox,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?oc(r.children).filter(function(i){return Ee(n,i)}):[]},getTbodyTrIndex:function(e){if(!_t(e))return-1;var r=e.tagName==="TR"?e:Rn("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"||!LE(r)||r.tabIndex!==0)){if(Ee([Ns,Ka],n))ke(e),this.onTBodyRowClicked(e);else if(Ee([Ln,gn,Ho,jo],n)){var i=this.getTbodyTrIndex(r);if(i>-1){ke(e);var a=this.getTbodyTrs(),s=e.shiftKey;n===Ho||s&&n===Ln?Ie(a[0]):n===jo||s&&n===gn?Ie(a[a.length-1]):n===Ln&&i>0?Ie(a[i-1]):n===gn&&i<a.length-1&&Ie(a[i+1])}}}},onTBodyRowClicked:function(e){var r=this.$refs,n=r.tbody?r.tbody.$el||r.tbody:null;this.tbodyRowEventStopped(e)||TO(e)||S5(n||this.$el)||this.emitTbodyRowEvent(e0,e)},onTbodyRowMiddleMouseRowClicked:function(e){!this.tbodyRowEventStopped(e)&&e.which===2&&this.emitTbodyRowEvent(KX,e)},onTbodyRowContextmenu:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(GX,e)},onTbodyRowDblClicked:function(e){!this.tbodyRowEventStopped(e)&&!TO(e)&&this.emitTbodyRowEvent(WX,e)},renderTbody:function(){var e=this,r=qt(this),n=r.computedItems,i=r.renderBusy,a=r.renderTopRow,s=r.renderEmpty,o=r.renderBottomRow,u=r.hasSelectableRowClick,c=this.$createElement,l=this.hasListener(e0)||u,d=[],f=i?i():null;if(f)d.push(f);else{var p={},m=Jw();m=this.hasNormalizedSlot(m)?m:null,this.computedFields.forEach(function(S){var E=S.key,O=Jw(E),h=Jw(E.toLowerCase());p[E]=e.hasNormalizedSlot(O)?O:e.hasNormalizedSlot(h)?h:m}),this.$_bodyFieldSlotNameCache=p,d.push(a?a():c()),n.forEach(function(S,E){d.push(e.renderTbodyRow(S,E))}),d.push(s?s():c()),d.push(o?o():c())}var b={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};l&&(b.click=this.onTBodyRowClicked,b.keydown=this.onTbodyRowKeydown);var _=c(w5,{class:this.tbodyClass||null,props:xt(wx,this.$props),on:b,ref:"tbody"},d);return _}}});function CI(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 AI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?CI(Object(r),!0).forEach(function(n){$ue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):CI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function $ue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kue=ee({footVariant:y(I)},ZF),Tx=G({name:ZF,mixins:[Pr,Bs,Pe],provide:function(){var e=this;return{getBvTableRowGroup:function(){return e}}},inject:{getBvTable:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:kue,computed:{bvTable:function(){return this.getBvTable()},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 AI(AI({},this.bvAttrs),{},{role:"rowgroup"})}},render:function(e){return e("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}}),Ex={footClone:y(B,!1),footRowVariant:y(I),footVariant:y(I),tfootClass:y(we),tfootTrClass:y(we)},x5=G({props:Ex,methods:{renderTFootCustom:function(){var e=this.$createElement;return this.hasNormalizedSlot(cM)?e(Tx,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot(cM,{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):e()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}});function MI(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 Due(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MI(Object(r),!0).forEach(function(n){Iue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Iue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Rue=ee({headVariant:y(I)},t4),P5=G({name:t4,mixins:[Pr,Bs,Pe],provide:function(){var e=this;return{getBvTableRowGroup:function(){return e}}},inject:{getBvTable:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:Rue,computed:{bvTable:function(){return this.getBvTable()},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 Due({role:"rowgroup"},this.bvAttrs)}},render:function(e){return e("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}});function Lue(t){return jue(t)||Fue(t)||Bue(t)||Nue()}function Nue(){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 Bue(t,e){if(t){if(typeof t=="string")return xO(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 xO(t,e)}}function Fue(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jue(t){if(Array.isArray(t))return xO(t)}function xO(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 $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 kI(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){Hue(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 Hue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qw=function(e){return"head(".concat(e||"",")")},Zw=function(e){return"foot(".concat(e||"",")")},xx={headRowVariant:y(I),headVariant:y(I),theadClass:y(we),theadTrClass:y(we)},C5=G({props:xx,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(TO(e))return;if(S5(this.$el))return}ke(e),this.$emit(wh,r.key,r,e,n)}},renderThead:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=qt(this),i=n.computedFields,a=n.isSortable,s=n.isSelectable,o=n.headVariant,u=n.footVariant,c=n.headRowVariant,l=n.footRowVariant,d=this.$createElement;if(this.isStackedAlways||i.length===0)return d();var f=a||this.hasListener(wh),p=s?this.selectAllRows:rp,m=s?this.clearSelected:rp,b=function(h,v){var g=h.label,T=h.labelHtml,C=h.variant,k=h.stickyColumn,w=h.key,A=null;!h.label.trim()&&!h.headerTitle&&(A=Ug(h.key));var P={};f&&(P.click=function(V){e.headClicked(V,h,r)},P.keydown=function(V){var J=V.keyCode;(J===Ns||J===Ka)&&e.headClicked(V,h,r)});var x=a?e.sortTheadThAttrs(w,h,r):{},$=a?e.sortTheadThClasses(w,h,r):null,D=a?e.sortTheadThLabel(w,h,r):null,M={class:[{"position-relative":D},e.fieldClasses(h),$],props:{variant:C,stickyColumn:k},style:h.thStyle||{},attrs:kI(kI({tabindex:f&&h.sortable?"0":null,abbr:h.headerAbbr||null,title:h.headerTitle||null,"aria-colindex":v+1,"aria-label":A},e.getThValues(null,w,h.thAttr,r?"foot":"head",{})),x),on:P,key:w},R=[Qw(w),Qw(w.toLowerCase()),Qw()];r&&(R=[Zw(w),Zw(w.toLowerCase()),Zw()].concat(Lue(R)));var N={label:g,column:w,field:h,isFoot:r,selectAllRows:p,clearSelected:m},j=e.normalizeSlot(R,N)||d("div",{domProps:Lt(T,g)}),z=D?d("span",{staticClass:"sr-only"}," (".concat(D,")")):null;return d(Sx,M,[j,z].filter(Oe))},_=i.map(b).filter(Oe),S=[];if(r)S.push(d(Ds,{class:this.tfootTrClass,props:{variant:at(l)?c:l}},_));else{var E={columns:i.length,fields:i,selectAllRows:p,clearSelected:m};S.push(this.normalizeSlot(YJ,E)||d()),S.push(d(Ds,{class:this.theadTrClass,props:{variant:c}},_))}return d(r?Tx:P5,{class:(r?this.tfootClass:this.theadClass)||null,props:r?{footVariant:u||o||null}:{headVariant:o||null},key:r?"bv-tfoot":"bv-thead"},S)}}}),zue={},Vue=G({methods:{renderTopRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(vM)||r===!0||r===""?a():a(Ds,{staticClass:"b-table-top-row",class:[be(n)?n(null,"row-top"):n],attrs:be(i)?i(null,"row-top"):i,key:"b-top-row"},[this.normalizeSlot(vM,{columns:e.length,fields:e})])}}});function DI(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?DI(Object(r),!0).forEach(function(n){Uue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Uue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gue=ee(fe($r($r($r($r($r($r($r($r($r($r($r($r($r($r($r($r($r($r({},lt),i5),s5),bx),u5),l5),h5),yx),g5),v5),b5),_5),dy),fy),Ox),Ex),xx),zue)),sc),Wue=G({name:sc,mixins:[Pr,gx,pt,Pe,m5,_x,A0,C5,x5,E5,A0,tue,bue,oue,o5,c5,fue,Woe,Vue,Hoe,Goe,lue],props:Gue});function II(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 is(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?II(Object(r),!0).forEach(function(n){Yue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):II(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Yue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kue=ee(fe(is(is(is(is(is(is(is(is(is({},lt),bx),u5),yx),dy),fy),Ox),Ex),xx)),qF),que=G({name:qF,mixins:[Pr,gx,pt,Pe,m5,_x,A0,C5,x5,E5,o5,c5],props:Kue});function RI(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 e1(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RI(Object(r),!0).forEach(function(n){Xue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Xue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jue=ee(fe(e1(e1(e1({},lt),dy),fy)),XF),A5=G({name:XF,mixins:[Pr,gx,pt,Pe,_x,A0],props:Jue,computed:{isTableSimple:function(){return!0}}}),Que=pe({components:{BTableLite:que}}),Zue=pe({components:{BTableSimple:A5,BTbody:w5,BThead:P5,BTfoot:Tx,BTr:Ds,BTd:dd,BTh:Sx}}),ece=pe({components:{BTable:Wue},plugins:{TableLitePlugin:Que,TableSimplePlugin:Zue}});function LI(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 tce(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?LI(Object(r),!0).forEach(function(n){rce(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rce(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var NI=function(e){return e>0},nce=ee({animation:y(I),columns:y(Qr,5,NI),hideHeader:y(B,!1),rows:y(Qr,3,NI),showFooter:y(B,!1),tableProps:y(gr,{})},UF),ice=G({name:UF,functional:!0,props:nce,render:function(e,r){var n=r.data,i=r.props,a=i.animation,s=i.columns,o=e("th",[e(E0,{props:{animation:a}})]),u=e("tr",Sh(s,o)),c=e("td",[e(E0,{props:{width:"75%",animation:a}})]),l=e("tr",Sh(s,c)),d=e("tbody",Sh(i.rows,l)),f=i.hideHeader?e():e("thead",[u]),p=i.showFooter?e("tfoot",[u]):e();return e(A5,ve(n,{props:tce({},i.tableProps)}),[f,d,p])}}),ace=ee({loading:y(B,!1)},GF),sce=G({name:GF,functional:!0,props:ace,render:function(e,r){var n=r.data,i=r.props,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},c={};return i.loading?e("div",ve(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),jr(PJ,c,u,o)):jr(_r,c,u,o)}}),oce=pe({components:{BSkeleton:E0,BSkeletonIcon:Ioe,BSkeletonImg:Noe,BSkeletonTable:ice,BSkeletonWrapper:sce}}),uce=pe({components:{BSpinner:V6}}),il;function BI(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 Il(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?BI(Object(r),!0).forEach(function(n){Li(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):BI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Li(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hy=vr("value",{type:Qr}),cce=hy.mixin,lce=hy.props,t1=hy.prop,FI=hy.event,pu=function(e){return!e.disabled},dce=G({name:CX,inject:{getBvTabs:{default:function(){return function(){return{}}}}},props:{controls:y(I),id:y(I),noKeyNav:y(B,!1),posInSet:y(Qr),setSize:y(Qr),tab:y(),tabIndex:y(Qr)},computed:{bvTabs:function(){return this.getBvTabs()}},methods:{focus:function(){Ie(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(Mi,e)):r==="keydown"&&n===Ka?(ke(e),this.$emit(Mi,e)):r==="keydown"&&!this.noKeyNav&&([Ln,qi,Ho].indexOf(n)!==-1?(ke(e),i||n===Ho?this.$emit(o4,e):this.$emit(p4,e)):[gn,ks,jo].indexOf(n)!==-1&&(ke(e),i||n===jo?this.$emit(c4,e):this.$emit(f4,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,c=u.title,l=u.localActive,d=u.disabled,f=u.titleItemClass,p=u.titleLinkClass,m=u.titleLinkAttributes,b=e(Fn,{staticClass:"nav-link",class:[{active:l&&!d,disabled:d},p,l?this.bvTabs.activeNavItemClass:null],props:{disabled:d},attrs:Il(Il({},m),{},{id:r,role:"tab",tabindex:n,"aria-selected":l&&!d?"true":"false","aria-setsize":i,"aria-posinset":a,"aria-controls":s}),on:{click:o,keydown:o},ref:"link"},[this.tab.normalizeSlot($p)||c]);return e("li",{staticClass:"nav-item",class:[f],attrs:{role:"presentation"}},[b])}}),fce=Re(fx,["tabs","isNavBar","cardHeader"]),hce=ee(fe(Il(Il(Il(Il({},lt),lce),fce),{},{activeNavItemClass:y(we),activeTabClass:y(we),card:y(B,!1),contentClass:y(we),end:y(B,!1),lazy:y(B,!1),navClass:y(we),navWrapperClass:y(we),noFade:y(B,!1),noKeyNav:y(B,!1),noNavStyle:y(B,!1),tag:y(I,"div")})),JF),pce=G({name:JF,mixins:[pt,cce,Pe],provide:function(){var e=this;return{getBvTabs:function(){return e}}},props:hce,data:function(){return{currentTab:oe(this[t1],-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:(il={},Li(il,t1,function(t,e){if(t!==e){t=oe(t,-1),e=oe(e,0);var r=this.tabs[t];r&&!r.disabled?this.activateTab(r):t<e?this.previousTab():this.nextTab()}}),Li(il,"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(FI,r)}),Li(il,"tabs",function(e,r){var n=this;Ze(e.map(function(i){return i[xs]}),r.map(function(i){return i[xs]}))||this.$nextTick(function(){n.$emit(LX,e.slice(),r.slice())})}),Li(il,"registeredTabs",function(){this.updateTabs()}),il),created:function(){this.$_observer=null},mounted:function(){this.setObserver(!0)},beforeDestroy:function(){this.setObserver(!1),this.tabs=[]},methods:{registerTab:function(e){Ee(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(){st(function(){e.updateTabs()})})};this.$_observer=np(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs,r=[];if(ht&&e.length>0){var n=e.map(function(i){return"#".concat(i.safeId())}).join(", ");r=ci(n,this.$el).map(function(i){return i.id}).filter(Oe)}return y5(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(pu)):e[n]&&!e[n].disabled&&(r=n)}r<0&&(r=e.indexOf(e.find(pu))),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 Oc(IX,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(s.type,a,r,s),s.defaultPrevented||(this.currentTab=a,i=!0)}}return!i&&this[t1]!==r&&this.$emit(FI,r),i},deactivateTab:function(e){return e?this.activateTab(this.tabs.filter(function(r){return r!==e}).find(pu)):!1},focusButton:function(e){var r=this;this.$nextTick(function(){Ie(r.getButtonForTab(e))})},emitTabClick:function(e,r){rc(r)&&e&&e.$emit&&!e.disabled&&e.$emit(Mi,r)},clickTab:function(e,r){this.activateTab(e),this.emitTabClick(e,r)},firstTab:function(e){var r=this.tabs.find(pu);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))},previousTab:function(e){var r=Qe(this.currentTab,0),n=this.tabs.slice(0,r).reverse().find(pu);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var r=Qe(this.currentTab,-1),n=this.tabs.slice(r+1).find(pu);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var r=this.tabs.slice().reverse().find(pu);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,c=this.lastTab,l=this.nextTab,d=this.noKeyNav,f=this.noNavStyle,p=this.pills,m=this.previousTab,b=this.small,_=this.tabs,S=this.vertical,E=_.find(function(k){return k.localActive&&!k.disabled}),O=_.find(function(k){return!k.disabled}),h=_.map(function(k,w){var A,P=k.safeId,x=null;return d||(x=-1,(k===E||!E&&k===O)&&(x=null)),e(dce,Li({props:{controls:P?P():null,id:k.controlledBy||(P?P("_BV_tab_button_"):null),noKeyNav:d,posInSet:w+1,setSize:_.length,tab:k,tabIndex:x},on:(A={},Li(A,Mi,function($){r.clickTab(k,$)}),Li(A,o4,o),Li(A,p4,m),Li(A,f4,l),Li(A,c4,c),A),key:k[xs]||w,ref:"buttons"},EE,!0))}),v=e(F6,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:s,justified:u,align:n,tabs:!f&&!p,pills:!f&&p,vertical:S,small:b,cardHeader:i&&!S},ref:"nav"},[this.normalizeSlot(GJ)||e(),h,this.normalizeSlot(UJ)||e()]);v=e("div",{class:[{"card-header":i&&!S&&!a,"card-footer":i&&!S&&a,"col-auto":S},this.navWrapperClass],key:"bv-tabs-nav"},[v]);var g=this.normalizeSlot()||[],T=e();g.length===0&&(T=e("div",{class:["tab-pane","active",{"card-body":i}],key:"bv-empty-tab"},this.normalizeSlot(S4)));var C=e("div",{staticClass:"tab-content",class:[{col:S},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[g,T]);return e(this.tag,{staticClass:"tabs",class:{row:S,"no-gutters":S&&i},attrs:{id:this.safeId()}},[a?C:e(),v,a?e():C])}}),bi,$f;function jI(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 HI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jI(Object(r),!0).forEach(function(n){xn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jI(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 M0="active",zI=Ko+M0,mce=ee(fe(HI(HI({},lt),{},(bi={},xn(bi,M0,y(B,!1)),xn(bi,"buttonId",y(I)),xn(bi,"disabled",y(B,!1)),xn(bi,"lazy",y(B,!1)),xn(bi,"noBody",y(B,!1)),xn(bi,"tag",y(I,"div")),xn(bi,"title",y(I)),xn(bi,"titleItemClass",y(we)),xn(bi,"titleLinkAttributes",y(gr)),xn(bi,"titleLinkClass",y(we)),bi))),YF),gce=G({name:YF,mixins:[pt,Pe],inject:{getBvTabs:{default:function(){return function(){return{}}}}},props:mce,data:function(){return{localActive:this[M0]&&!this.disabled}},computed:{bvTabs:function(){return this.getBvTabs()},_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:($f={},xn($f,M0,function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit(zI,this.localActive))}),xn($f,"disabled",function(e,r){if(e!==r){var n=this.bvTabs.firstTab;e&&this.localActive&&n&&(this.localActive=!1,n())}}),xn($f,"localActive",function(e){this.$emit(zI,e)}),$f),mounted:function(){this.registerTab()},updated:function(){var e=this.bvTabs.updateButton;e&&this.hasNormalizedSlot($p)&&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(wc,{props:{mode:"out-in",noFade:this.computedNoFade}},[n])}}),vce=pe({components:{BTabs:pce,BTab:gce}}),bce=pe({components:{BTime:w6}});function lv(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lv=function(e){return typeof e}:lv=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lv(t)}function yce(t){return _ce(t)||wce(t)||Sce()}function _ce(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 wce(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function Sce(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var qm=typeof window<"u";function Oce(t){return Array.isArray(t)||lv(t)==="object"?Object.freeze(t):t}function Tce(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 Ece(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 VI(t,e){return e.reduce(function(r,n){return t.hasOwnProperty(n)&&(r[n]=t[n]),r},{})}var M5={},xce={},Pce={},Cce=Ne.extend({data:function(){return{transports:M5,targets:xce,sources:Pce,trackInstances:qm}},methods:{open:function(e){if(qm){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:Oce(i),order:s},u=Object.keys(this.transports);u.indexOf(r)===-1&&Ne.set(this.transports,r,[]);var c=this.$_getTransportIndex(o),l=this.transports[r].slice(0);c===-1?l.push(o):l[c]=o,this.transports[r]=Ece(l,function(d,f){return d.order-f.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){qm&&(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){qm&&(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}}}),ai=new Cce(M5),Ace=1,$5=Ne.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(Ace++)}},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(){ai.registerSource(e.name,e)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){ai.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};ai.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:yce(e),order:this.order};ai.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"})}}),k5=Ne.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:ai.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick(function(){ai.registerTarget(e.name,e)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,r){ai.unregisterTarget(r),ai.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick(function(){e.firstRender=!1})},beforeDestroy:function(){ai.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 Tce(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)}}),Mce=0,$ce=["disabled","name","order","slim","slotProps","tag","to"],kce=["multiple","transition"];Ne.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(Mce++)}},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(ai.targets[r.name]){r.bail?console.warn("[portal-vue]: Target ".concat(r.name,` is already mounted.
Aborting because 'bail: true' is set`)):this.portalTarget=ai.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=VI(this.$props,kce);s.slim=this.targetSlim,s.tag=this.targetTag,s.slotProps=this.targetSlotProps,s.name=this.to,this.portalTarget=new k5({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=VI(this.$props,$ce);return e($5,{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 Dce=G({mixins:[Pe],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(e){var r=this;st(function(){qr(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())}}),Ice=ee({ariaAtomic:y(I),ariaLive:y(I),name:y(I,void 0,!0),role:y(I)},Gl),D5=G({name:Gl,mixins:[ea],props:Ice,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var e=this.name;this.staticName=e,ai.hasTarget(e)?(xr('A "<portal-target>" with name "'.concat(e,'" already exists in the document.'),Gl),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(zt(Gl,kE),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(k5,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Dce}});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}}),al;function UI(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?UI(Object(r),!0).forEach(function(n){Sl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):UI(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}var py=vr("visible",{type:B,defaultValue:!1,event:Bn}),Rce=py.mixin,Lce=py.props,r1=py.prop,Nce=py.event,GI=1e3,I5=Zi(ta,["href","to"]),R5=ee(fe(Pa(Pa(Pa(Pa({},lt),Lce),I5),{},{appendToast:y(B,!1),autoHideDelay:y(le,5e3),bodyClass:y(we),headerClass:y(we),headerTag:y(I,"header"),isStatus:y(B,!1),noAutoHide:y(B,!1),noCloseButton:y(B,!1),noFade:y(B,!1),noHoverPause:y(B,!1),solid:y(B,!1),static:y(B,!1),title:y(I),toastClass:y(we),toaster:y(I,"b-toaster-top-right"),variant:y(I)})),ws),L5=G({name:ws,mixins:[Pr,pt,Rce,ea,Pe,dx],inheritAttrs:!1,props:R5,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 Sl({"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 Qe(oe(this.autoHideDelay,0),GI)},computedToaster:function(){return String(this.toaster)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs:function(){return Pa(Pa({},this.bvAttrs),{},{id:this.safeId(),tabindex:"0"})}},watch:(al={},Sl(al,r1,function(t){this[t?"show":"hide"]()}),Sl(al,"localShow",function(e){e!==this[r1]&&this.$emit(Nce,e)}),Sl(al,"toaster",function(){this.$nextTick(this.ensureToaster)}),Sl(al,"static",function(e){e&&this.localShow&&this.ensureToaster()}),al),created:function(){this.$_dismissTimer=null},mounted:function(){var e=this;this.isMounted=!0,this.$nextTick(function(){e[r1]&&st(function(){e.show()})}),this.listenOnRoot(hr(ws,Fr),function(r){r===e.safeId()&&e.show()}),this.listenOnRoot(hr(ws,In),function(r){(!r||r===e.safeId())&&e.hide()}),this.listenOnRoot(zt(Gl,kE),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(Fr);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(){st(function(){e.localShow=!0})})}},hide:function(){var e=this;if(this.localShow){var r=this.buildEvent(In);this.emitEvent(r),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,st(function(){e.localShow=!1})}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Oc(e,Pa(Pa({cancelable:!1,target:this.$el||null,relatedTarget:null},r),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var r=e.type;this.emitOnRoot(zt(ws,r),e),this.$emit(r,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!ai.hasTarget(e)){var r=document.createElement("div");document.body.appendChild(r);var n=Xo(this.bvEventRoot,D5,{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"];Ki(e,r,"mouseenter",this.onPause,Ue),Ki(e,r,"mouseleave",this.onUnPause,Ue)},onPause:function(){if(!(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Qe(this.computedDuration-e,GI))}},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(){st(function(){e.hide()})})},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent(pn);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(Qt);this.emitEvent(e),this.doRender=!1},makeToast:function(e){var r=this,n=this.title,i=this.slotScope,a=Dp(this),s=[],o=this.normalizeSlot(KJ,i);o?s.push(o):n&&s.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||s.push(e(cc,{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 c=e(a?Fn:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?xt(I5,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot(_r,i));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[xs]),ref:"toast"},[u,c])}},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[xs]),o=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:Pa(Pa({},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(wc,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e($5,{props:{name:s,to:this.computedToaster,order:r,slim:!0,disabled:n}},[o])}});function Bce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function WI(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 Fce(t,e,r){return e&&WI(t.prototype,e),r&&WI(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function YI(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 kf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?YI(Object(r),!0).forEach(function(n){jce(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function jce(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Hce(t){return Gce(t)||Uce(t)||Vce(t)||zce()}function zce(){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 Vce(t,e){if(t){if(typeof t=="string")return PO(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 PO(t,e)}}function Uce(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gce(t){if(Array.isArray(t))return PO(t)}function PO(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 Df="$bvToast",n1="_bv__toast",Wce=["id"].concat(Hce(Ce(Re(R5,["static","visible"])))),i1={toastContent:"default",title:"toast-title"},KI=function(e){return Wce.reduce(function(r,n){return Zt(e[n])||(r[n]=e[n]),r},{})},Yce=function(e){var r=e.extend({name:AX,extends:L5,mixins:[qo],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(){st(function(){s.$destroy()})})})};this.bvParent.$once(Jh,o),this.$once(Qt,o),this.listenOnRoot(zt(Gl,kE),function(u){u===s.toaster&&o()})}}),n=function(s,o){if(!Jv(Df)){var u=Xo(o,r,{propsData:kf(kf(kf({},KI(ii(ws))),Re(s,Ce(i1))),{},{static:!1,visible:!0})});Ce(i1).forEach(function(l){var d=s[l];Zt(d)||(l==="title"&&We(d)&&(d=[o.$createElement("strong",{class:"mr-2"},d)]),u.$slots[i1[l]]=Ye(d))});var c=document.createElement("div");document.body.appendChild(c),u.$mount(c)}},i=function(){function a(s){Bce(this,a),Mp(this,{_vm:s,_root:Ua(s)}),Ab(this,{_vm:Oi(),_root:Oi()})}return Fce(a,[{key:"toast",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!o||Jv(Df)||n(kf(kf({},KI(u)),{},{toastContent:o}),this._vm)}},{key:"show",value:function(o){o&&this._root.$emit(hr(ws,Fr),o)}},{key:"hide",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._root.$emit(hr(ws,In),o)}}]),a}();e.mixin({beforeCreate:function(){this[n1]=new i(this)}}),ic(e.prototype,Df)||CE(e.prototype,Df,{get:function(){return(!this||!this[n1])&&xr('"'.concat(Df,'" must be accessed from a Vue instance "this" context.'),ws),this[n1]}})},Kce=pe({plugins:{plugin:Yce}}),qce=pe({components:{BToast:L5,BToaster:D5},plugins:{BVToastPlugin:Kce}});function qI(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?qI(Object(r),!0).forEach(function(n){Xce(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Xce(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Si="__BV_Tooltip__",Jce="hover focus",JI={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},Qce=/^html$/i,Zce=/^noninteractive$/i,ele=/^nofade$/i,tle=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,rle=/^(window|viewport|scrollParent)$/i,nle=/^d\d+$/i,ile=/^ds\d+$/i,ale=/^dh\d+$/i,sle=/^o-?\d+$/i,ole=/^v-.+$/i,ule=/\s+/,cle=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:ii(Au,"delay",50),boundary:String(ii(Au,"boundary","scrollParent")),boundaryPadding:oe(ii(Au,"boundaryPadding",5),0),variant:ii(Au,"variant"),customClass:ii(Au,"customClass")};if(We(e.value)||Ui(e.value)||be(e.value)?n.title=e.value:en(e.value)&&(n=XI(XI({},n),e.value)),Zt(n.title)){var i=yn?r.props:(r.data||{}).attrs;n.title=i&&!at(i.title)?i.title:void 0}en(n.delay)||(n.delay={show:oe(n.delay,0),hide:oe(n.delay,0)}),e.arg&&(n.container="#".concat(e.arg)),Ce(e.modifiers).forEach(function(s){if(Qce.test(s))n.html=!0;else if(Zce.test(s))n.interactive=!1;else if(ele.test(s))n.animation=!1;else if(tle.test(s))n.placement=s;else if(rle.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(nle.test(s)){var o=oe(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else ile.test(s)?n.delay.show=oe(s.slice(2),0):ale.test(s)?n.delay.hide=oe(s.slice(2),0):sle.test(s)?n.offset=oe(s.slice(1),0):ole.test(s)&&(n.variant=s.slice(2)||null)});var a={};return Ye(n.trigger||"").filter(Oe).join(" ").trim().toLowerCase().split(ule).forEach(function(s){JI[s]&&(a[s]=!0)}),Ce(e.modifiers).forEach(function(s){s=s.toLowerCase(),JI[s]&&(a[s]=!0)}),n.trigger=Ce(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=Jce),n},QI=function(e,r,n){if(ht){var i=cle(r,n);if(!e[Si]){var a=Ba(n,r);e[Si]=Xo(a,mx,{_scopeId:cd(a,void 0)}),e[Si].__bv_prev_data__={},e[Si].$on(Fr,function(){be(i.title)&&e[Si].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[Si].__bv_prev_data__;if(e[Si].__bv_prev_data__=s,!Ze(s,o)){var u={target:e};Ce(s).forEach(function(c){s[c]!==o[c]&&(u[c]=c==="title"&&be(s[c])?s[c](e):s[c])}),e[Si].updateData(u)}}},lle=function(e){e[Si]&&(e[Si].$destroy(),e[Si]=null),delete e[Si]},dle={bind:function(e,r,n){QI(e,r,n)},componentUpdated:function(e,r,n){xE(function(){QI(e,r,n)})},unbind:function(e){lle(e)}},N5=pe({directives:{VBTooltip:dle}}),fle=pe({components:{BTooltip:J6},plugins:{VBTooltipPlugin:N5}}),hle=pe({plugins:{AlertPlugin:_Q,AspectPlugin:PQ,AvatarPlugin:wZ,BadgePlugin:TZ,BreadcrumbPlugin:MZ,ButtonPlugin:$Z,ButtonGroupPlugin:DZ,ButtonToolbarPlugin:LZ,CalendarPlugin:KZ,CardPlugin:hee,CarouselPlugin:Pee,CollapsePlugin:Ej,DropdownPlugin:ix,EmbedPlugin:mre,FormPlugin:Tre,FormCheckboxPlugin:Dre,FormDatepickerPlugin:jre,FormFilePlugin:Xre,FormGroupPlugin:ane,FormInputPlugin:dne,FormRadioPlugin:hne,FormRatingPlugin:yne,FormSelectPlugin:kne,FormSpinbuttonPlugin:Lne,FormTagsPlugin:qne,FormTextareaPlugin:Qne,FormTimepickerPlugin:hie,ImagePlugin:pie,InputGroupPlugin:Oie,JumbotronPlugin:Cie,LayoutPlugin:Die,LinkPlugin:Iie,ListGroupPlugin:Hie,MediaPlugin:Yie,ModalPlugin:Fae,NavPlugin:z6,NavbarPlugin:hse,OverlayPlugin:bse,PaginationPlugin:xse,PaginationNavPlugin:$se,PopoverPlugin:loe,ProgressPlugin:poe,SidebarPlugin:$oe,SkeletonPlugin:oce,SpinnerPlugin:uce,TablePlugin:ece,TabsPlugin:vce,TimePlugin:bce,ToastPlugin:qce,TooltipPlugin:fle}}),ple=pe({directives:{VBHover:Jj}}),mle=pe({directives:{VBModal:B6}});function ZI(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 e2(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZI(Object(r),!0).forEach(function(n){gle(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gle(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t2(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 ble(t,e,r){return e&&t2(t.prototype,e),r&&t2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var yle="v-b-scrollspy",_le="dropdown-item",a1="active",wle=".nav, .list-group",s1=".nav-link",o1=".nav-item",r2=".list-group-item",Sle=".dropdown, .dropup",Ole=".dropdown-item",Tle=".dropdown-toggle",Ele=zt("BVScrollspy","activate"),xle="offset",u1="position",Ple={element:"body",offset:10,method:"auto",throttle:75},Cle={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},n2=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],Ale=function(e){return Zq(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},Mle=function(e,r,n){for(var i in n)if(ic(n,i)){var a=n[i],s=r[i],o=s&&_t(s)?"element":Ale(s);o=s&&s._isVue?"component":o,new RegExp(a).test(o)||xr("".concat(e,': Option "').concat(i,'" provided type "').concat(o,'" but expected type "').concat(a,'"'))}},B5=function(){function t(e,r,n){vle(this,t),this.$el=e,this.$scroller=null,this.$selector=[s1,r2,Ole].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 ble(t,[{key:"updateConfig",value:function(r,n){this.$scroller&&(this.unlisten(),this.$scroller=null);var i=e2(e2({},this.constructor.Default),r);if(n&&(this.$root=n),Mle(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"&&Tt(n,"scroll",this,Ue),Tt(window,"scroll",this,Ue),Tt(window,"resize",this,Ue),Tt(window,"orientationchange",this,Ue),n2.forEach(function(i){Tt(window,i,r,Ue)}),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var r=this,n=this.getScroller();this.setObservers(!1),n&&n.tagName!=="BODY"&&Dt(n,"scroll",this,Ue),Dt(window,"scroll",this,Ue),Dt(window,"resize",this,Ue),Dt(window,"orientationchange",this,Ue),n2.forEach(function(i){Dt(window,i,r,Ue)})}},{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=np(this.$el,function(){n.handleEvent("mutation")},{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$scrollerObserver=np(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=We(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?u1:xle,a=this.$config.method==="auto"?i:this.$config.method,s=a===u1?aQ:NS,o=a===u1?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),ci(this.$selector,this.$el).map(function(u){return oi(u,"href")}).filter(function(u){return u&&KA.test(u||"")}).map(function(u){var c=u.replace(KA,"$1").trim();if(!c)return null;var l=si(c,n);return l&&Yi(l)?{offset:oe(s(l).top,0)+o,target:c}:null}).filter(Oe).sort(function(u,c){return u.offset-c.offset}).reduce(function(u,c){return u[c.target]||(r.$offsets.push(c.offset),r.$targets.push(c.target),u[c.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]&&(Zt(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)_t(r.$el)?r=r.$el:We(r)&&(r=si(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||Qe(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"getOffsetHeight",value:function(){var r=this.getScroller();return r===window?window.innerHeight:uc(r).height}},{key:"activate",value:function(r){var n=this;this.$activeTarget=r,this.clear();var i=ci(this.$selector.split(",").map(function(a){return"".concat(a,'[href$="').concat(r,'"]')}).join(","),this.$el);i.forEach(function(a){if(Zh(a,_le)){var s=Rn(Sle,a);s&&n.setActiveState(si(Tle,s),!0),n.setActiveState(a,!0)}else{n.setActiveState(a,!0),Ps(a.parentElement,o1)&&n.setActiveState(a.parentElement,!0);for(var o=a;o;){o=Rn(wle,o);var u=o?o.previousElementSibling:null;u&&Ps(u,"".concat(s1,", ").concat(r2))&&n.setActiveState(u,!0),u&&Ps(u,o1)&&(n.setActiveState(si(s1,u),!0),n.setActiveState(u,!0))}}}),i&&i.length>0&&this.$root&&this.$root.$emit(Ele,r,i)}},{key:"clear",value:function(){var r=this;ci("".concat(this.$selector,", ").concat(o1),this.$el).filter(function(n){return Zh(n,a1)}).forEach(function(n){return r.setActiveState(n,!1)})}},{key:"setActiveState",value:function(r,n){r&&(n?dn(r,a1):qr(r,a1))}}],[{key:"Name",get:function(){return yle}},{key:"Default",get:function(){return Ple}},{key:"DefaultType",get:function(){return Cle}}]),t}(),Du="__BV_Scrollspy__",$le=/^\d+$/,kle=/^(auto|position|offset)$/,Dle=function(e){var r={};return e.arg&&(r.element="#".concat(e.arg)),Ce(e.modifiers).forEach(function(n){$le.test(n)?r.offset=oe(n,0):kle.test(n)&&(r.method=n)}),We(e.value)?r.element=e.value:Ui(e.value)?r.offset=jS(e.value):Jt(e.value)&&Ce(e.value).filter(function(n){return!!B5.DefaultType[n]}).forEach(function(n){r[n]=e.value[n]}),r},Xm=function(e,r,n){if(ht){var i=Dle(r);e[Du]?e[Du].updateConfig(i,Ua(Ba(n,r))):e[Du]=new B5(e,i,Ua(Ba(n,r)))}},Ile=function(e){e[Du]&&(e[Du].dispose(),e[Du]=null,delete e[Du])},Rle={bind:function(e,r,n){Xm(e,r,n)},inserted:function(e,r,n){Xm(e,r,n)},update:function(e,r,n){r.value!==r.oldValue&&Xm(e,r,n)},componentUpdated:function(e,r,n){r.value!==r.oldValue&&Xm(e,r,n)},unbind:function(e){Ile(e)}},Lle=pe({directives:{VBScrollspy:Rle}}),Nle=pe({directives:{VBVisible:KE}}),Ble=pe({plugins:{VBHoverPlugin:ple,VBModalPlugin:mle,VBPopoverPlugin:Z6,VBScrollspyPlugin:Lle,VBTogglePlugin:qE,VBTooltipPlugin:N5,VBVisiblePlugin:Nle}});/*!
* BootstrapVue 2.23.1
*
* @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 Fle="BootstrapVue",jle=dB({plugins:{componentsPlugin:hle,directivesPlugin:Ble}}),mBe={install:jle,NAME:Fle},Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Hle(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):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 F5={exports:{}};(function(t){(function(){function e(h){var v={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(h===!1)return JSON.parse(JSON.stringify(v));var g={};for(var T in v)v.hasOwnProperty(T)&&(g[T]=v[T].defaultValue);return g}function r(){var h=e(!0),v={};for(var g in h)h.hasOwnProperty(g)&&(v[g]=!0);return v}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(h,v){return s[h]=v,this},n.getOption=function(h){return s[h]},n.getOptions=function(){return s},n.resetOptions=function(){s=e(!0)},n.setFlavor=function(h){if(!u.hasOwnProperty(h))throw Error(h+" flavor was not found");n.resetOptions();var v=u[h];o=h;for(var g in v)v.hasOwnProperty(g)&&(s[g]=v[g])},n.getFlavor=function(){return o},n.getFlavorOptions=function(h){if(u.hasOwnProperty(h))return u[h]},n.getDefaultOptions=function(h){return e(h)},n.subParser=function(h,v){if(n.helper.isString(h))if(typeof v<"u")i[h]=v;else{if(i.hasOwnProperty(h))return i[h];throw Error("SubParser named "+h+" not registered!")}},n.extension=function(h,v){if(!n.helper.isString(h))throw Error("Extension 'name' must be a string");if(h=n.helper.stdExtName(h),n.helper.isUndefined(v)){if(!a.hasOwnProperty(h))throw Error("Extension named "+h+" is not registered!");return a[h]}else{typeof v=="function"&&(v=v()),n.helper.isArray(v)||(v=[v]);var g=c(v,h);if(g.valid)a[h]=v;else throw Error(g.error)}},n.getAllExtensions=function(){return a},n.removeExtension=function(h){delete a[h]},n.resetExtensions=function(){a={}};function c(h,v){var g=v?"Error in "+v+" extension->":"Error in unnamed extension",T={valid:!0,error:""};n.helper.isArray(h)||(h=[h]);for(var C=0;C<h.length;++C){var k=g+" sub-extension "+C+": ",w=h[C];if(typeof w!="object")return T.valid=!1,T.error=k+"must be an object, but "+typeof w+" given",T;if(!n.helper.isString(w.type))return T.valid=!1,T.error=k+'property "type" must be a string, but '+typeof w.type+" given",T;var A=w.type=w.type.toLowerCase();if(A==="language"&&(A=w.type="lang"),A==="html"&&(A=w.type="output"),A!=="lang"&&A!=="output"&&A!=="listener")return T.valid=!1,T.error=k+"type "+A+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',T;if(A==="listener"){if(n.helper.isUndefined(w.listeners))return T.valid=!1,T.error=k+'. Extensions of type "listener" must have a property called "listeners"',T}else if(n.helper.isUndefined(w.filter)&&n.helper.isUndefined(w.regex))return T.valid=!1,T.error=k+A+' extensions must define either a "regex" property or a "filter" method',T;if(w.listeners){if(typeof w.listeners!="object")return T.valid=!1,T.error=k+'"listeners" property must be an object but '+typeof w.listeners+" given",T;for(var P in w.listeners)if(w.listeners.hasOwnProperty(P)&&typeof w.listeners[P]!="function")return T.valid=!1,T.error=k+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+P+" must be a function but "+typeof w.listeners[P]+" given",T}if(w.filter){if(typeof w.filter!="function")return T.valid=!1,T.error=k+'"filter" must be a function, but '+typeof w.filter+" given",T}else if(w.regex){if(n.helper.isString(w.regex)&&(w.regex=new RegExp(w.regex,"g")),!(w.regex instanceof RegExp))return T.valid=!1,T.error=k+'"regex" property must either be a string or a RegExp object, but '+typeof w.regex+" given",T;if(n.helper.isUndefined(w.replace))return T.valid=!1,T.error=k+'"regex" extensions must implement a replace string or function',T}}return T}n.validateExtension=function(h){var v=c(h,null);return v.valid?!0:(console.warn(v.error),!1)},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(h){return typeof h=="string"||h instanceof String},n.helper.isFunction=function(h){var v={};return h&&v.toString.call(h)==="[object Function]"},n.helper.isArray=function(h){return Array.isArray(h)},n.helper.isUndefined=function(h){return typeof h>"u"},n.helper.forEach=function(h,v){if(n.helper.isUndefined(h))throw new Error("obj param is required");if(n.helper.isUndefined(v))throw new Error("callback param is required");if(!n.helper.isFunction(v))throw new Error("callback param must be a function/closure");if(typeof h.forEach=="function")h.forEach(v);else if(n.helper.isArray(h))for(var g=0;g<h.length;g++)v(h[g],g,h);else if(typeof h=="object")for(var T in h)h.hasOwnProperty(T)&&v(h[T],T,h);else throw new Error("obj does not seem to be an array or an iterable object")},n.helper.stdExtName=function(h){return h.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()};function l(h,v){var g=v.charCodeAt(0);return"¨E"+g+"E"}n.helper.escapeCharactersCallback=l,n.helper.escapeCharacters=function(h,v,g){var T="(["+v.replace(/([\[\]\\])/g,"\\$1")+"])";g&&(T="\\\\"+T);var C=new RegExp(T,"g");return h=h.replace(C,l),h},n.helper.unescapeHTMLEntities=function(h){return h.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var d=function(h,v,g,T){var C=T||"",k=C.indexOf("g")>-1,w=new RegExp(v+"|"+g,"g"+C.replace(/g/g,"")),A=new RegExp(v,C.replace(/g/g,"")),P=[],x,$,D,M,R;do for(x=0;D=w.exec(h);)if(A.test(D[0]))x++||($=w.lastIndex,M=$-D[0].length);else if(x&&!--x){R=D.index+D[0].length;var N={left:{start:M,end:$},match:{start:$,end:D.index},right:{start:D.index,end:R},wholeMatch:{start:M,end:R}};if(P.push(N),!k)return P}while(x&&(w.lastIndex=$));return P};n.helper.matchRecursiveRegExp=function(h,v,g,T){for(var C=d(h,v,g,T),k=[],w=0;w<C.length;++w)k.push([h.slice(C[w].wholeMatch.start,C[w].wholeMatch.end),h.slice(C[w].match.start,C[w].match.end),h.slice(C[w].left.start,C[w].left.end),h.slice(C[w].right.start,C[w].right.end)]);return k},n.helper.replaceRecursiveRegExp=function(h,v,g,T,C){if(!n.helper.isFunction(v)){var k=v;v=function(){return k}}var w=d(h,g,T,C),A=h,P=w.length;if(P>0){var x=[];w[0].wholeMatch.start!==0&&x.push(h.slice(0,w[0].wholeMatch.start));for(var $=0;$<P;++$)x.push(v(h.slice(w[$].wholeMatch.start,w[$].wholeMatch.end),h.slice(w[$].match.start,w[$].match.end),h.slice(w[$].left.start,w[$].left.end),h.slice(w[$].right.start,w[$].right.end))),$<P-1&&x.push(h.slice(w[$].wholeMatch.end,w[$+1].wholeMatch.start));w[P-1].wholeMatch.end<h.length&&x.push(h.slice(w[P-1].wholeMatch.end)),A=x.join("")}return A},n.helper.regexIndexOf=function(h,v,g){if(!n.helper.isString(h))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(!(v instanceof RegExp))throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var T=h.substring(g||0).search(v);return T>=0?T+(g||0):T},n.helper.splitAtIndex=function(h,v){if(!n.helper.isString(h))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[h.substring(0,v),h.substring(v)]},n.helper.encodeEmailAddress=function(h){var v=[function(g){return"&#"+g.charCodeAt(0)+";"},function(g){return"&#x"+g.charCodeAt(0).toString(16)+";"},function(g){return g}];return h=h.replace(/./g,function(g){if(g==="@")g=v[Math.floor(Math.random()*2)](g);else{var T=Math.random();g=T>.9?v[2](g):T>.45?v[1](g):v[0](g)}return g}),h},n.helper.padEnd=function(v,g,T){return g=g>>0,T=String(T||" "),v.length>g?String(v):(g=g-v.length,g>T.length&&(T+=T.repeat(g/T.length)),String(v)+T.slice(0,g))},typeof console>"u"&&(console={warn:function(h){alert(h)},log:function(h){alert(h)},error:function(h){throw h}}),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:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",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:"👱‍♀️",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:"🙇‍♀️",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:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",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:"👯‍♂️",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:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",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:"🙍‍♂️",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:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",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:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",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:"🚵‍♀️",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:"🙅‍♂️",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:"🙆‍♂️",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:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",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:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",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:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",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:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",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:"💁‍♂️",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:"🚶‍♀️",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:"🏋️‍♀️",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:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",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(h){var v={},g=[],T=[],C={},k=o,w={parsed:{},raw:"",format:""};A();function A(){h=h||{};for(var M in s)s.hasOwnProperty(M)&&(v[M]=s[M]);if(typeof h=="object")for(var R in h)h.hasOwnProperty(R)&&(v[R]=h[R]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof h+" was passed instead.");v.extensions&&n.helper.forEach(v.extensions,P)}function P(M,R){if(R=R||null,n.helper.isString(M))if(M=n.helper.stdExtName(M),R=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!"),x(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 N=c(M,R);if(!N.valid)throw Error(N.error);for(var j=0;j<M.length;++j){switch(M[j].type){case"lang":g.push(M[j]);break;case"output":T.push(M[j]);break}if(M[j].hasOwnProperty("listeners"))for(var z in M[j].listeners)M[j].listeners.hasOwnProperty(z)&&$(z,M[j].listeners[z])}}function x(M,R){typeof M=="function"&&(M=M(new n.Converter)),n.helper.isArray(M)||(M=[M]);var N=c(M,R);if(!N.valid)throw Error(N.error);for(var j=0;j<M.length;++j)switch(M[j].type){case"lang":g.push(M[j]);break;case"output":T.push(M[j]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function $(M,R){if(!n.helper.isString(M))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof M+" given");if(typeof R!="function")throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof R+" given");C.hasOwnProperty(M)||(C[M]=[]),C[M].push(R)}function D(M){var R=M.match(/^\s*/)[0].length,N=new RegExp("^\\s{0,"+R+"}","gm");return M.replace(N,"")}this._dispatch=function(R,N,j,z){if(C.hasOwnProperty(R))for(var V=0;V<C[R].length;++V){var J=C[R][V](R,N,this,j,z);J&&typeof J<"u"&&(N=J)}return N},this.listen=function(M,R){return $(M,R),this},this.makeHtml=function(M){if(!M)return M;var R={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:g,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," "),v.smartIndentationFix&&(M=D(M)),M=`
`+M+`
`,M=n.subParser("detab")(M,v,R),M=M.replace(/^[ \t]+$/mg,""),n.helper.forEach(g,function(N){M=n.subParser("runExtension")(N,M,v,R)}),M=n.subParser("metadata")(M,v,R),M=n.subParser("hashPreCodeTags")(M,v,R),M=n.subParser("githubCodeBlocks")(M,v,R),M=n.subParser("hashHTMLBlocks")(M,v,R),M=n.subParser("hashCodeTags")(M,v,R),M=n.subParser("stripLinkDefinitions")(M,v,R),M=n.subParser("blockGamut")(M,v,R),M=n.subParser("unhashHTMLSpans")(M,v,R),M=n.subParser("unescapeSpecialChars")(M,v,R),M=M.replace(/¨D/g,"$$"),M=M.replace(/¨T/g,"¨"),M=n.subParser("completeHTMLDocument")(M,v,R),n.helper.forEach(T,function(N){M=n.subParser("runExtension")(N,M,v,R)}),w=R.metadata,M},this.makeMarkdown=this.makeMd=function(M,R){if(M=M.replace(/\r\n/g,`
`),M=M.replace(/\r/g,`
`),M=M.replace(/>[ \t]+</,">¨NBSP;<"),!R)if(window&&window.document)R=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 N=R.createElement("div");N.innerHTML=M;var j={preList:Y(N)};re(N);for(var z=N.childNodes,V="",J=0;J<z.length;J++)V+=n.subParser("makeMarkdown.node")(z[J],j);function re(U){for(var K=0;K<U.childNodes.length;++K){var X=U.childNodes[K];X.nodeType===3?/\S/.test(X.nodeValue)?(X.nodeValue=X.nodeValue.split(`
`).join(" "),X.nodeValue=X.nodeValue.replace(/(\s)+/g,"$1")):(U.removeChild(X),--K):X.nodeType===1&&re(X)}}function Y(U){for(var K=U.querySelectorAll("pre"),X=[],se=0;se<K.length;++se)if(K[se].childElementCount===1&&K[se].firstChild.tagName.toLowerCase()==="code"){var Ae=K[se].firstChild.innerHTML.trim(),qe=K[se].firstChild.getAttribute("data-language")||"";if(qe==="")for(var yt=K[se].firstChild.className.split(" "),sr=0;sr<yt.length;++sr){var Vr=yt[sr].match(/^language-(.+)$/);if(Vr!==null){qe=Vr[1];break}}Ae=n.helper.unescapeHTMLEntities(Ae),X.push(Ae),K[se].outerHTML='<precode language="'+qe+'" precodenum="'+se.toString()+'"></precode>'}else X.push(K[se].innerHTML),K[se].innerHTML="",K[se].setAttribute("prenum",se.toString());return X}return V},this.setOption=function(M,R){v[M]=R},this.getOption=function(M){return v[M]},this.getOptions=function(){return v},this.addExtension=function(M,R){R=R||null,P(M,R)},this.useExtension=function(M){P(M)},this.setFlavor=function(M){if(!u.hasOwnProperty(M))throw Error(M+" flavor was not found");var R=u[M];k=M;for(var N in R)R.hasOwnProperty(N)&&(v[N]=R[N])},this.getFlavor=function(){return k},this.removeExtension=function(M){n.helper.isArray(M)||(M=[M]);for(var R=0;R<M.length;++R){for(var N=M[R],j=0;j<g.length;++j)g[j]===N&&g[j].splice(j,1);for(var z=0;z<T.length;++j)T[z]===N&&T[z].splice(j,1)}},this.getAllExtensions=function(){return{language:g,output:T}},this.getMetadata=function(M){return M?w.raw:w.parsed},this.getMetadataFormat=function(){return w.format},this._setMetadataPair=function(M,R){w.parsed[M]=R},this._setMetadataFormat=function(M){w.format=M},this._setMetadataRaw=function(M){w.raw=M}},n.subParser("anchors",function(h,v,g){h=g.converter._dispatch("anchors.before",h,v,g);var T=function(C,k,w,A,P,x,$){if(n.helper.isUndefined($)&&($=""),w=w.toLowerCase(),C.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)A="";else if(!A)if(w||(w=k.toLowerCase().replace(/ ?\n/g," ")),A="#"+w,!n.helper.isUndefined(g.gUrls[w]))A=g.gUrls[w],n.helper.isUndefined(g.gTitles[w])||($=g.gTitles[w]);else return C;A=A.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var D='<a href="'+A+'"';return $!==""&&$!==null&&($=$.replace(/"/g,"""),$=$.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),D+=' title="'+$+'"'),v.openLinksInNewWindow&&!/^#/.test(A)&&(D+=' rel="noopener noreferrer" target="¨E95Eblank"'),D+=">"+k+"</a>",D};return h=h.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,T),h=h.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,T),h=h.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,T),h=h.replace(/\[([^\[\]]+)]()()()()()/g,T),v.ghMentions&&(h=h.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi,function(C,k,w,A,P){if(w==="\\")return k+A;if(!n.helper.isString(v.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var x=v.ghMentionsLink.replace(/\{u}/g,P),$="";return v.openLinksInNewWindow&&($=' rel="noopener noreferrer" target="¨E95Eblank"'),k+'<a href="'+x+'"'+$+">"+A+"</a>"})),h=g.converter._dispatch("anchors.after",h,v,g),h});var f=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,S=function(h){return function(v,g,T,C,k,w,A){T=T.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var P=T,x="",$="",D=g||"",M=A||"";return/^www\./i.test(T)&&(T=T.replace(/^www\./i,"http://www.")),h.excludeTrailingPunctuationFromURLs&&w&&(x=w),h.openLinksInNewWindow&&($=' rel="noopener noreferrer" target="¨E95Eblank"'),D+'<a href="'+T+'"'+$+">"+P+"</a>"+x+M}},E=function(h,v){return function(g,T,C){var k="mailto:";return T=T||"",C=n.subParser("unescapeSpecialChars")(C,h,v),h.encodeEmails?(k=n.helper.encodeEmailAddress(k+C),C=n.helper.encodeEmailAddress(C)):k=k+C,T+'<a href="'+k+'">'+C+"</a>"}};n.subParser("autoLinks",function(h,v,g){return h=g.converter._dispatch("autoLinks.before",h,v,g),h=h.replace(m,S(v)),h=h.replace(_,E(v,g)),h=g.converter._dispatch("autoLinks.after",h,v,g),h}),n.subParser("simplifiedAutoLinks",function(h,v,g){return v.simplifiedAutoLink&&(h=g.converter._dispatch("simplifiedAutoLinks.before",h,v,g),v.excludeTrailingPunctuationFromURLs?h=h.replace(p,S(v)):h=h.replace(f,S(v)),h=h.replace(b,E(v,g)),h=g.converter._dispatch("simplifiedAutoLinks.after",h,v,g)),h}),n.subParser("blockGamut",function(h,v,g){return h=g.converter._dispatch("blockGamut.before",h,v,g),h=n.subParser("blockQuotes")(h,v,g),h=n.subParser("headers")(h,v,g),h=n.subParser("horizontalRule")(h,v,g),h=n.subParser("lists")(h,v,g),h=n.subParser("codeBlocks")(h,v,g),h=n.subParser("tables")(h,v,g),h=n.subParser("hashHTMLBlocks")(h,v,g),h=n.subParser("paragraphs")(h,v,g),h=g.converter._dispatch("blockGamut.after",h,v,g),h}),n.subParser("blockQuotes",function(h,v,g){h=g.converter._dispatch("blockQuotes.before",h,v,g),h=h+`
`;var T=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return v.splitAdjacentBlockquotes&&(T=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),h=h.replace(T,function(C){return C=C.replace(/^[ \t]*>[ \t]?/gm,""),C=C.replace(/¨0/g,""),C=C.replace(/^[ \t]+$/gm,""),C=n.subParser("githubCodeBlocks")(C,v,g),C=n.subParser("blockGamut")(C,v,g),C=C.replace(/(^|\n)/g,"$1 "),C=C.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(k,w){var A=w;return A=A.replace(/^ /mg,"¨0"),A=A.replace(/¨0/g,""),A}),n.subParser("hashBlock")(`<blockquote>
`+C+`
</blockquote>`,v,g)}),h=g.converter._dispatch("blockQuotes.after",h,v,g),h}),n.subParser("codeBlocks",function(h,v,g){h=g.converter._dispatch("codeBlocks.before",h,v,g),h+="¨0";var T=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return h=h.replace(T,function(C,k,w){var A=k,P=w,x=`
`;return A=n.subParser("outdent")(A,v,g),A=n.subParser("encodeCode")(A,v,g),A=n.subParser("detab")(A,v,g),A=A.replace(/^\n+/g,""),A=A.replace(/\n+$/g,""),v.omitExtraWLInCodeBlocks&&(x=""),A="<pre><code>"+A+x+"</code></pre>",n.subParser("hashBlock")(A,v,g)+P}),h=h.replace(/¨0/,""),h=g.converter._dispatch("codeBlocks.after",h,v,g),h}),n.subParser("codeSpans",function(h,v,g){return h=g.converter._dispatch("codeSpans.before",h,v,g),typeof h>"u"&&(h=""),h=h.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(T,C,k,w){var A=w;return A=A.replace(/^([ \t]*)/g,""),A=A.replace(/[ \t]*$/g,""),A=n.subParser("encodeCode")(A,v,g),A=C+"<code>"+A+"</code>",A=n.subParser("hashHTMLSpans")(A,v,g),A}),h=g.converter._dispatch("codeSpans.after",h,v,g),h}),n.subParser("completeHTMLDocument",function(h,v,g){if(!v.completeHTMLDocument)return h;h=g.converter._dispatch("completeHTMLDocument.before",h,v,g);var T="html",C=`<!DOCTYPE HTML>
`,k="",w=`<meta charset="utf-8">
`,A="",P="";typeof g.metadata.parsed.doctype<"u"&&(C="<!DOCTYPE "+g.metadata.parsed.doctype+`>
`,T=g.metadata.parsed.doctype.toString().toLowerCase(),(T==="html"||T==="html5")&&(w='<meta charset="utf-8">'));for(var x in g.metadata.parsed)if(g.metadata.parsed.hasOwnProperty(x))switch(x.toLowerCase()){case"doctype":break;case"title":k="<title>"+g.metadata.parsed.title+`</title>
`;break;case"charset":T==="html"||T==="html5"?w='<meta charset="'+g.metadata.parsed.charset+`">
`:w='<meta name="charset" content="'+g.metadata.parsed.charset+`">
`;break;case"language":case"lang":A=' lang="'+g.metadata.parsed[x]+'"',P+='<meta name="'+x+'" content="'+g.metadata.parsed[x]+`">
`;break;default:P+='<meta name="'+x+'" content="'+g.metadata.parsed[x]+`">
`}return h=C+"<html"+A+`>
<head>
`+k+w+P+`</head>
<body>
`+h.trim()+`
</body>
</html>`,h=g.converter._dispatch("completeHTMLDocument.after",h,v,g),h}),n.subParser("detab",function(h,v,g){return h=g.converter._dispatch("detab.before",h,v,g),h=h.replace(/\t(?=\t)/g," "),h=h.replace(/\t/g,"¨A¨B"),h=h.replace(/¨B(.+?)¨A/g,function(T,C){for(var k=C,w=4-k.length%4,A=0;A<w;A++)k+=" ";return k}),h=h.replace(/¨A/g," "),h=h.replace(/¨B/g,""),h=g.converter._dispatch("detab.after",h,v,g),h}),n.subParser("ellipsis",function(h,v,g){return h=g.converter._dispatch("ellipsis.before",h,v,g),h=h.replace(/\.\.\./g,"…"),h=g.converter._dispatch("ellipsis.after",h,v,g),h}),n.subParser("emoji",function(h,v,g){if(!v.emoji)return h;h=g.converter._dispatch("emoji.before",h,v,g);var T=/:([\S]+?):/g;return h=h.replace(T,function(C,k){return n.helper.emojis.hasOwnProperty(k)?n.helper.emojis[k]:C}),h=g.converter._dispatch("emoji.after",h,v,g),h}),n.subParser("encodeAmpsAndAngles",function(h,v,g){return h=g.converter._dispatch("encodeAmpsAndAngles.before",h,v,g),h=h.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),h=h.replace(/<(?![a-z\/?$!])/gi,"<"),h=h.replace(/</g,"<"),h=h.replace(/>/g,">"),h=g.converter._dispatch("encodeAmpsAndAngles.after",h,v,g),h}),n.subParser("encodeBackslashEscapes",function(h,v,g){return h=g.converter._dispatch("encodeBackslashEscapes.before",h,v,g),h=h.replace(/\\(\\)/g,n.helper.escapeCharactersCallback),h=h.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,n.helper.escapeCharactersCallback),h=g.converter._dispatch("encodeBackslashEscapes.after",h,v,g),h}),n.subParser("encodeCode",function(h,v,g){return h=g.converter._dispatch("encodeCode.before",h,v,g),h=h.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),h=g.converter._dispatch("encodeCode.after",h,v,g),h}),n.subParser("escapeSpecialCharsWithinTagAttributes",function(h,v,g){h=g.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",h,v,g);var T=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,C=/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return h=h.replace(T,function(k){return k.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),h=h.replace(C,function(k){return k.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),h=g.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",h,v,g),h}),n.subParser("githubCodeBlocks",function(h,v,g){return v.ghCodeBlocks?(h=g.converter._dispatch("githubCodeBlocks.before",h,v,g),h+="¨0",h=h.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(T,C,k,w){var A=v.omitExtraWLInCodeBlocks?"":`
`;return w=n.subParser("encodeCode")(w,v,g),w=n.subParser("detab")(w,v,g),w=w.replace(/^\n+/g,""),w=w.replace(/\n+$/g,""),w="<pre><code"+(k?' class="'+k+" language-"+k+'"':"")+">"+w+A+"</code></pre>",w=n.subParser("hashBlock")(w,v,g),`
¨G`+(g.ghCodeBlocks.push({text:T,codeblock:w})-1)+`G
`}),h=h.replace(/¨0/,""),g.converter._dispatch("githubCodeBlocks.after",h,v,g)):h}),n.subParser("hashBlock",function(h,v,g){return h=g.converter._dispatch("hashBlock.before",h,v,g),h=h.replace(/(^\n+|\n+$)/g,""),h=`
¨K`+(g.gHtmlBlocks.push(h)-1)+`K
`,h=g.converter._dispatch("hashBlock.after",h,v,g),h}),n.subParser("hashCodeTags",function(h,v,g){h=g.converter._dispatch("hashCodeTags.before",h,v,g);var T=function(C,k,w,A){var P=w+n.subParser("encodeCode")(k,v,g)+A;return"¨C"+(g.gHtmlSpans.push(P)-1)+"C"};return h=n.helper.replaceRecursiveRegExp(h,T,"<code\\b[^>]*>","</code>","gim"),h=g.converter._dispatch("hashCodeTags.after",h,v,g),h}),n.subParser("hashElement",function(h,v,g){return function(T,C){var k=C;return k=k.replace(/\n\n/g,`
`),k=k.replace(/^\n/,""),k=k.replace(/\n+$/g,""),k=`
¨K`+(g.gHtmlBlocks.push(k)-1)+`K
`,k}}),n.subParser("hashHTMLBlocks",function(h,v,g){h=g.converter._dispatch("hashHTMLBlocks.before",h,v,g);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"],C=function(M,R,N,j){var z=M;return N.search(/\bmarkdown\b/)!==-1&&(z=N+g.converter.makeHtml(R)+j),`
¨K`+(g.gHtmlBlocks.push(z)-1)+`K
`};v.backslashEscapesHTMLTags&&(h=h.replace(/\\<(\/?[^>]+?)>/g,function(M,R){return"<"+R+">"}));for(var k=0;k<T.length;++k)for(var w,A=new RegExp("^ {0,3}(<"+T[k]+"\\b[^>]*>)","im"),P="<"+T[k]+"\\b[^>]*>",x="</"+T[k]+">";(w=n.helper.regexIndexOf(h,A))!==-1;){var $=n.helper.splitAtIndex(h,w),D=n.helper.replaceRecursiveRegExp($[1],C,P,x,"im");if(D===$[1])break;h=$[0].concat(D)}return h=h.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(h,v,g)),h=n.helper.replaceRecursiveRegExp(h,function(M){return`
¨K`+(g.gHtmlBlocks.push(M)-1)+`K
`},"^ {0,3}<!--","-->","gm"),h=h.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(h,v,g)),h=g.converter._dispatch("hashHTMLBlocks.after",h,v,g),h}),n.subParser("hashHTMLSpans",function(h,v,g){h=g.converter._dispatch("hashHTMLSpans.before",h,v,g);function T(C){return"¨C"+(g.gHtmlSpans.push(C)-1)+"C"}return h=h.replace(/<[^>]+?\/>/gi,function(C){return T(C)}),h=h.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(C){return T(C)}),h=h.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(C){return T(C)}),h=h.replace(/<[^>]+?>/gi,function(C){return T(C)}),h=g.converter._dispatch("hashHTMLSpans.after",h,v,g),h}),n.subParser("unhashHTMLSpans",function(h,v,g){h=g.converter._dispatch("unhashHTMLSpans.before",h,v,g);for(var T=0;T<g.gHtmlSpans.length;++T){for(var C=g.gHtmlSpans[T],k=0;/¨C(\d+)C/.test(C);){var w=RegExp.$1;if(C=C.replace("¨C"+w+"C",g.gHtmlSpans[w]),k===10){console.error("maximum nesting of 10 spans reached!!!");break}++k}h=h.replace("¨C"+T+"C",C)}return h=g.converter._dispatch("unhashHTMLSpans.after",h,v,g),h}),n.subParser("hashPreCodeTags",function(h,v,g){h=g.converter._dispatch("hashPreCodeTags.before",h,v,g);var T=function(C,k,w,A){var P=w+n.subParser("encodeCode")(k,v,g)+A;return`
¨G`+(g.ghCodeBlocks.push({text:C,codeblock:P})-1)+`G
`};return h=n.helper.replaceRecursiveRegExp(h,T,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),h=g.converter._dispatch("hashPreCodeTags.after",h,v,g),h}),n.subParser("headers",function(h,v,g){h=g.converter._dispatch("headers.before",h,v,g);var T=isNaN(parseInt(v.headerLevelStart))?1:parseInt(v.headerLevelStart),C=v.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,k=v.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;h=h.replace(C,function(P,x){var $=n.subParser("spanGamut")(x,v,g),D=v.noHeaderId?"":' id="'+A(x)+'"',M=T,R="<h"+M+D+">"+$+"</h"+M+">";return n.subParser("hashBlock")(R,v,g)}),h=h.replace(k,function(P,x){var $=n.subParser("spanGamut")(x,v,g),D=v.noHeaderId?"":' id="'+A(x)+'"',M=T+1,R="<h"+M+D+">"+$+"</h"+M+">";return n.subParser("hashBlock")(R,v,g)});var w=v.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;h=h.replace(w,function(P,x,$){var D=$;v.customizedHeaderId&&(D=$.replace(/\s?\{([^{]+?)}\s*$/,""));var M=n.subParser("spanGamut")(D,v,g),R=v.noHeaderId?"":' id="'+A($)+'"',N=T-1+x.length,j="<h"+N+R+">"+M+"</h"+N+">";return n.subParser("hashBlock")(j,v,g)});function A(P){var x,$;if(v.customizedHeaderId){var D=P.match(/\{([^{]+?)}\s*$/);D&&D[1]&&(P=D[1])}return x=P,n.helper.isString(v.prefixHeaderId)?$=v.prefixHeaderId:v.prefixHeaderId===!0?$="section-":$="",v.rawPrefixHeaderId||(x=$+x),v.ghCompatibleHeaderId?x=x.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():v.rawHeaderId?x=x.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():x=x.replace(/[^\w]/g,"").toLowerCase(),v.rawPrefixHeaderId&&(x=$+x),g.hashLinkCounts[x]?x=x+"-"+g.hashLinkCounts[x]++:g.hashLinkCounts[x]=1,x}return h=g.converter._dispatch("headers.after",h,v,g),h}),n.subParser("horizontalRule",function(h,v,g){h=g.converter._dispatch("horizontalRule.before",h,v,g);var T=n.subParser("hashBlock")("<hr />",v,g);return h=h.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,T),h=h.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,T),h=h.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,T),h=g.converter._dispatch("horizontalRule.after",h,v,g),h}),n.subParser("images",function(h,v,g){h=g.converter._dispatch("images.before",h,v,g);var T=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,C=/!\[([^\]]*?)][ \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,w=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,A=/!\[([^\[\]]+)]()()()()()/g;function P($,D,M,R,N,j,z,V){return R=R.replace(/\s/g,""),x($,D,M,R,N,j,z,V)}function x($,D,M,R,N,j,z,V){var J=g.gUrls,re=g.gTitles,Y=g.gDimensions;if(M=M.toLowerCase(),V||(V=""),$.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)R="";else if(R===""||R===null)if((M===""||M===null)&&(M=D.toLowerCase().replace(/ ?\n/g," ")),R="#"+M,!n.helper.isUndefined(J[M]))R=J[M],n.helper.isUndefined(re[M])||(V=re[M]),n.helper.isUndefined(Y[M])||(N=Y[M].width,j=Y[M].height);else return $;D=D.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),R=R.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var U='<img src="'+R+'" alt="'+D+'"';return V&&n.helper.isString(V)&&(V=V.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),U+=' title="'+V+'"'),N&&j&&(N=N==="*"?"auto":N,j=j==="*"?"auto":j,U+=' width="'+N+'"',U+=' height="'+j+'"'),U+=" />",U}return h=h.replace(w,x),h=h.replace(k,P),h=h.replace(C,x),h=h.replace(T,x),h=h.replace(A,x),h=g.converter._dispatch("images.after",h,v,g),h}),n.subParser("italicsAndBold",function(h,v,g){h=g.converter._dispatch("italicsAndBold.before",h,v,g);function T(C,k,w){return k+C+w}return v.literalMidWordUnderscores?(h=h.replace(/\b___(\S[\s\S]*?)___\b/g,function(C,k){return T(k,"<strong><em>","</em></strong>")}),h=h.replace(/\b__(\S[\s\S]*?)__\b/g,function(C,k){return T(k,"<strong>","</strong>")}),h=h.replace(/\b_(\S[\s\S]*?)_\b/g,function(C,k){return T(k,"<em>","</em>")})):(h=h.replace(/___(\S[\s\S]*?)___/g,function(C,k){return/\S$/.test(k)?T(k,"<strong><em>","</em></strong>"):C}),h=h.replace(/__(\S[\s\S]*?)__/g,function(C,k){return/\S$/.test(k)?T(k,"<strong>","</strong>"):C}),h=h.replace(/_([^\s_][\s\S]*?)_/g,function(C,k){return/\S$/.test(k)?T(k,"<em>","</em>"):C})),v.literalMidWordAsterisks?(h=h.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(C,k,w){return T(w,k+"<strong><em>","</em></strong>")}),h=h.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(C,k,w){return T(w,k+"<strong>","</strong>")}),h=h.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(C,k,w){return T(w,k+"<em>","</em>")})):(h=h.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(C,k){return/\S$/.test(k)?T(k,"<strong><em>","</em></strong>"):C}),h=h.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(C,k){return/\S$/.test(k)?T(k,"<strong>","</strong>"):C}),h=h.replace(/\*([^\s*][\s\S]*?)\*/g,function(C,k){return/\S$/.test(k)?T(k,"<em>","</em>"):C})),h=g.converter._dispatch("italicsAndBold.after",h,v,g),h}),n.subParser("lists",function(h,v,g){function T(w,A){g.gListLevel++,w=w.replace(/\n{2,}$/,`
`),w+="¨0";var P=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,x=/\n[ \t]*\n(?!¨0)/.test(w);return v.disableForced4SpacesIndentedSublists&&(P=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),w=w.replace(P,function($,D,M,R,N,j,z){z=z&&z.trim()!=="";var V=n.subParser("outdent")(N,v,g),J="";return j&&v.tasklists&&(J=' class="task-list-item" style="list-style-type: none;"',V=V.replace(/^[ \t]*\[(x|X| )?]/m,function(){var re='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return z&&(re+=" checked"),re+=">",re})),V=V.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(re){return"¨A"+re}),D||V.search(/\n{2,}/)>-1?(V=n.subParser("githubCodeBlocks")(V,v,g),V=n.subParser("blockGamut")(V,v,g)):(V=n.subParser("lists")(V,v,g),V=V.replace(/\n$/,""),V=n.subParser("hashHTMLBlocks")(V,v,g),V=V.replace(/\n\n+/g,`
`),x?V=n.subParser("paragraphs")(V,v,g):V=n.subParser("spanGamut")(V,v,g)),V=V.replace("¨A",""),V="<li"+J+">"+V+`</li>
`,V}),w=w.replace(/¨0/g,""),g.gListLevel--,A&&(w=w.replace(/\s+$/,"")),w}function C(w,A){if(A==="ol"){var P=w.match(/^ *(\d+)\./);if(P&&P[1]!=="1")return' start="'+P[1]+'"'}return""}function k(w,A,P){var x=v.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,$=v.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,D=A==="ul"?x:$,M="";if(w.search(D)!==-1)(function N(j){var z=j.search(D),V=C(w,A);z!==-1?(M+=`
<`+A+V+`>
`+T(j.slice(0,z),!!P)+"</"+A+`>
`,A=A==="ul"?"ol":"ul",D=A==="ul"?x:$,N(j.slice(z))):M+=`
<`+A+V+`>
`+T(j,!!P)+"</"+A+`>
`})(w);else{var R=C(w,A);M=`
<`+A+R+`>
`+T(w,!!P)+"</"+A+`>
`}return M}return h=g.converter._dispatch("lists.before",h,v,g),h+="¨0",g.gListLevel?h=h.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,A,P){var x=P.search(/[*+-]/g)>-1?"ul":"ol";return k(A,x,!0)}):h=h.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,A,P,x){var $=x.search(/[*+-]/g)>-1?"ul":"ol";return k(P,$,!1)}),h=h.replace(/¨0/,""),h=g.converter._dispatch("lists.after",h,v,g),h}),n.subParser("metadata",function(h,v,g){if(!v.metadata)return h;h=g.converter._dispatch("metadata.before",h,v,g);function T(C){g.metadata.raw=C,C=C.replace(/&/g,"&").replace(/"/g,"""),C=C.replace(/\n {4}/g," "),C.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(k,w,A){return g.metadata.parsed[w]=A,""})}return h=h.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(C,k,w){return T(w),"¨M"}),h=h.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(C,k,w){return k&&(g.metadata.format=k),T(w),"¨M"}),h=h.replace(/¨M/g,""),h=g.converter._dispatch("metadata.after",h,v,g),h}),n.subParser("outdent",function(h,v,g){return h=g.converter._dispatch("outdent.before",h,v,g),h=h.replace(/^(\t|[ ]{1,4})/gm,"¨0"),h=h.replace(/¨0/g,""),h=g.converter._dispatch("outdent.after",h,v,g),h}),n.subParser("paragraphs",function(h,v,g){h=g.converter._dispatch("paragraphs.before",h,v,g),h=h.replace(/^\n+/g,""),h=h.replace(/\n+$/g,"");for(var T=h.split(/\n{2,}/g),C=[],k=T.length,w=0;w<k;w++){var A=T[w];A.search(/¨(K|G)(\d+)\1/g)>=0?C.push(A):A.search(/\S/)>=0&&(A=n.subParser("spanGamut")(A,v,g),A=A.replace(/^([ \t]*)/g,"<p>"),A+="</p>",C.push(A))}for(k=C.length,w=0;w<k;w++){for(var P="",x=C[w],$=!1;/¨(K|G)(\d+)\1/.test(x);){var D=RegExp.$1,M=RegExp.$2;D==="K"?P=g.gHtmlBlocks[M]:$?P=n.subParser("encodeCode")(g.ghCodeBlocks[M].text,v,g):P=g.ghCodeBlocks[M].codeblock,P=P.replace(/\$/g,"$$$$"),x=x.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,P),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(x)&&($=!0)}C[w]=x}return h=C.join(`
`),h=h.replace(/^\n+/g,""),h=h.replace(/\n+$/g,""),g.converter._dispatch("paragraphs.after",h,v,g)}),n.subParser("runExtension",function(h,v,g,T){if(h.filter)v=h.filter(v,T.converter,g);else if(h.regex){var C=h.regex;C instanceof RegExp||(C=new RegExp(C,"g")),v=v.replace(C,h.replace)}return v}),n.subParser("spanGamut",function(h,v,g){return h=g.converter._dispatch("spanGamut.before",h,v,g),h=n.subParser("codeSpans")(h,v,g),h=n.subParser("escapeSpecialCharsWithinTagAttributes")(h,v,g),h=n.subParser("encodeBackslashEscapes")(h,v,g),h=n.subParser("images")(h,v,g),h=n.subParser("anchors")(h,v,g),h=n.subParser("autoLinks")(h,v,g),h=n.subParser("simplifiedAutoLinks")(h,v,g),h=n.subParser("emoji")(h,v,g),h=n.subParser("underline")(h,v,g),h=n.subParser("italicsAndBold")(h,v,g),h=n.subParser("strikethrough")(h,v,g),h=n.subParser("ellipsis")(h,v,g),h=n.subParser("hashHTMLSpans")(h,v,g),h=n.subParser("encodeAmpsAndAngles")(h,v,g),v.simpleLineBreaks?/\n\n¨K/.test(h)||(h=h.replace(/\n+/g,`<br />
`)):h=h.replace(/ +\n/g,`<br />
`),h=g.converter._dispatch("spanGamut.after",h,v,g),h}),n.subParser("strikethrough",function(h,v,g){function T(C){return v.simplifiedAutoLink&&(C=n.subParser("simplifiedAutoLinks")(C,v,g)),"<del>"+C+"</del>"}return v.strikethrough&&(h=g.converter._dispatch("strikethrough.before",h,v,g),h=h.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(C,k){return T(k)}),h=g.converter._dispatch("strikethrough.after",h,v,g)),h}),n.subParser("stripLinkDefinitions",function(h,v,g){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,C=/^ {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;h+="¨0";var k=function(w,A,P,x,$,D,M){return A=A.toLowerCase(),P.match(/^data:.+?\/.+?;base64,/)?g.gUrls[A]=P.replace(/\s/g,""):g.gUrls[A]=n.subParser("encodeAmpsAndAngles")(P,v,g),D?D+M:(M&&(g.gTitles[A]=M.replace(/"|'/g,""")),v.parseImgDimensions&&x&&$&&(g.gDimensions[A]={width:x,height:$}),"")};return h=h.replace(C,k),h=h.replace(T,k),h=h.replace(/¨0/,""),h}),n.subParser("tables",function(h,v,g){if(!v.tables)return h;var T=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,C=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function k($){return/^:[ \t]*--*$/.test($)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test($)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test($)?' style="text-align:center;"':""}function w($,D){var M="";return $=$.trim(),(v.tablesHeaderId||v.tableHeaderId)&&(M=' id="'+$.replace(/ /g,"_").toLowerCase()+'"'),$=n.subParser("spanGamut")($,v,g),"<th"+M+D+">"+$+`</th>
`}function A($,D){var M=n.subParser("spanGamut")($,v,g);return"<td"+D+">"+M+`</td>
`}function P($,D){for(var M=`<table>
<thead>
<tr>
`,R=$.length,N=0;N<R;++N)M+=$[N];for(M+=`</tr>
</thead>
<tbody>
`,N=0;N<D.length;++N){M+=`<tr>
`;for(var j=0;j<R;++j)M+=D[N][j];M+=`</tr>
`}return M+=`</tbody>
</table>
`,M}function x($){var D,M=$.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],v,g);var R=M[0].split("|").map(function(U){return U.trim()}),N=M[1].split("|").map(function(U){return U.trim()}),j=[],z=[],V=[],J=[];for(M.shift(),M.shift(),D=0;D<M.length;++D)M[D].trim()!==""&&j.push(M[D].split("|").map(function(U){return U.trim()}));if(R.length<N.length)return $;for(D=0;D<N.length;++D)V.push(k(N[D]));for(D=0;D<R.length;++D)n.helper.isUndefined(V[D])&&(V[D]=""),z.push(w(R[D],V[D]));for(D=0;D<j.length;++D){for(var re=[],Y=0;Y<z.length;++Y)n.helper.isUndefined(j[D][Y]),re.push(A(j[D][Y],V[Y]));J.push(re)}return P(z,J)}return h=g.converter._dispatch("tables.before",h,v,g),h=h.replace(/\\(\|)/g,n.helper.escapeCharactersCallback),h=h.replace(T,x),h=h.replace(C,x),h=g.converter._dispatch("tables.after",h,v,g),h}),n.subParser("underline",function(h,v,g){return v.underline&&(h=g.converter._dispatch("underline.before",h,v,g),v.literalMidWordUnderscores?(h=h.replace(/\b___(\S[\s\S]*?)___\b/g,function(T,C){return"<u>"+C+"</u>"}),h=h.replace(/\b__(\S[\s\S]*?)__\b/g,function(T,C){return"<u>"+C+"</u>"})):(h=h.replace(/___(\S[\s\S]*?)___/g,function(T,C){return/\S$/.test(C)?"<u>"+C+"</u>":T}),h=h.replace(/__(\S[\s\S]*?)__/g,function(T,C){return/\S$/.test(C)?"<u>"+C+"</u>":T})),h=h.replace(/(_)/g,n.helper.escapeCharactersCallback),h=g.converter._dispatch("underline.after",h,v,g)),h}),n.subParser("unescapeSpecialChars",function(h,v,g){return h=g.converter._dispatch("unescapeSpecialChars.before",h,v,g),h=h.replace(/¨E(\d+)E/g,function(T,C){var k=parseInt(C);return String.fromCharCode(k)}),h=g.converter._dispatch("unescapeSpecialChars.after",h,v,g),h}),n.subParser("makeMarkdown.blockquote",function(h,v){var g="";if(h.hasChildNodes())for(var T=h.childNodes,C=T.length,k=0;k<C;++k){var w=n.subParser("makeMarkdown.node")(T[k],v);w!==""&&(g+=w)}return g=g.trim(),g="> "+g.split(`
`).join(`
> `),g}),n.subParser("makeMarkdown.codeBlock",function(h,v){var g=h.getAttribute("language"),T=h.getAttribute("precodenum");return"```"+g+`
`+v.preList[T]+"\n```"}),n.subParser("makeMarkdown.codeSpan",function(h){return"`"+h.innerHTML+"`"}),n.subParser("makeMarkdown.emphasis",function(h,v){var g="";if(h.hasChildNodes()){g+="*";for(var T=h.childNodes,C=T.length,k=0;k<C;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="*"}return g}),n.subParser("makeMarkdown.header",function(h,v,g){var T=new Array(g+1).join("#"),C="";if(h.hasChildNodes()){C=T+" ";for(var k=h.childNodes,w=k.length,A=0;A<w;++A)C+=n.subParser("makeMarkdown.node")(k[A],v)}return C}),n.subParser("makeMarkdown.hr",function(){return"---"}),n.subParser("makeMarkdown.image",function(h){var v="";return h.hasAttribute("src")&&(v+="+">",h.hasAttribute("width")&&h.hasAttribute("height")&&(v+=" ="+h.getAttribute("width")+"x"+h.getAttribute("height")),h.hasAttribute("title")&&(v+=' "'+h.getAttribute("title")+'"'),v+=")"),v}),n.subParser("makeMarkdown.links",function(h,v){var g="";if(h.hasChildNodes()&&h.hasAttribute("href")){var T=h.childNodes,C=T.length;g="[";for(var k=0;k<C;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="](",g+="<"+h.getAttribute("href")+">",h.hasAttribute("title")&&(g+=' "'+h.getAttribute("title")+'"'),g+=")"}return g}),n.subParser("makeMarkdown.list",function(h,v,g){var T="";if(!h.hasChildNodes())return"";for(var C=h.childNodes,k=C.length,w=h.getAttribute("start")||1,A=0;A<k;++A)if(!(typeof C[A].tagName>"u"||C[A].tagName.toLowerCase()!=="li")){var P="";g==="ol"?P=w.toString()+". ":P="- ",T+=P+n.subParser("makeMarkdown.listItem")(C[A],v),++w}return T+=`
<!-- -->
`,T.trim()}),n.subParser("makeMarkdown.listItem",function(h,v){for(var g="",T=h.childNodes,C=T.length,k=0;k<C;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);return/\n$/.test(g)?g=g.split(`
`).join(`
`).replace(/^ {4}$/gm,"").replace(/\n\n+/g,`
`):g+=`
`,g}),n.subParser("makeMarkdown.node",function(h,v,g){g=g||!1;var T="";if(h.nodeType===3)return n.subParser("makeMarkdown.txt")(h,v);if(h.nodeType===8)return"<!--"+h.data+`-->
`;if(h.nodeType!==1)return"";var C=h.tagName.toLowerCase();switch(C){case"h1":g||(T=n.subParser("makeMarkdown.header")(h,v,1)+`
`);break;case"h2":g||(T=n.subParser("makeMarkdown.header")(h,v,2)+`
`);break;case"h3":g||(T=n.subParser("makeMarkdown.header")(h,v,3)+`
`);break;case"h4":g||(T=n.subParser("makeMarkdown.header")(h,v,4)+`
`);break;case"h5":g||(T=n.subParser("makeMarkdown.header")(h,v,5)+`
`);break;case"h6":g||(T=n.subParser("makeMarkdown.header")(h,v,6)+`
`);break;case"p":g||(T=n.subParser("makeMarkdown.paragraph")(h,v)+`
`);break;case"blockquote":g||(T=n.subParser("makeMarkdown.blockquote")(h,v)+`
`);break;case"hr":g||(T=n.subParser("makeMarkdown.hr")(h,v)+`
`);break;case"ol":g||(T=n.subParser("makeMarkdown.list")(h,v,"ol")+`
`);break;case"ul":g||(T=n.subParser("makeMarkdown.list")(h,v,"ul")+`
`);break;case"precode":g||(T=n.subParser("makeMarkdown.codeBlock")(h,v)+`
`);break;case"pre":g||(T=n.subParser("makeMarkdown.pre")(h,v)+`
`);break;case"table":g||(T=n.subParser("makeMarkdown.table")(h,v)+`
`);break;case"code":T=n.subParser("makeMarkdown.codeSpan")(h,v);break;case"em":case"i":T=n.subParser("makeMarkdown.emphasis")(h,v);break;case"strong":case"b":T=n.subParser("makeMarkdown.strong")(h,v);break;case"del":T=n.subParser("makeMarkdown.strikethrough")(h,v);break;case"a":T=n.subParser("makeMarkdown.links")(h,v);break;case"img":T=n.subParser("makeMarkdown.image")(h,v);break;default:T=h.outerHTML+`
`}return T}),n.subParser("makeMarkdown.paragraph",function(h,v){var g="";if(h.hasChildNodes())for(var T=h.childNodes,C=T.length,k=0;k<C;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);return g=g.trim(),g}),n.subParser("makeMarkdown.pre",function(h,v){var g=h.getAttribute("prenum");return"<pre>"+v.preList[g]+"</pre>"}),n.subParser("makeMarkdown.strikethrough",function(h,v){var g="";if(h.hasChildNodes()){g+="~~";for(var T=h.childNodes,C=T.length,k=0;k<C;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="~~"}return g}),n.subParser("makeMarkdown.strong",function(h,v){var g="";if(h.hasChildNodes()){g+="**";for(var T=h.childNodes,C=T.length,k=0;k<C;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="**"}return g}),n.subParser("makeMarkdown.table",function(h,v){var g="",T=[[],[]],C=h.querySelectorAll("thead>tr>th"),k=h.querySelectorAll("tbody>tr"),w,A;for(w=0;w<C.length;++w){var P=n.subParser("makeMarkdown.tableCell")(C[w],v),x="---";if(C[w].hasAttribute("style")){var $=C[w].getAttribute("style").toLowerCase().replace(/\s/g,"");switch($){case"text-align:left;":x=":---";break;case"text-align:right;":x="---:";break;case"text-align:center;":x=":---:";break}}T[0][w]=P.trim(),T[1][w]=x}for(w=0;w<k.length;++w){var D=T.push([])-1,M=k[w].getElementsByTagName("td");for(A=0;A<C.length;++A){var R=" ";typeof M[A]<"u"&&(R=n.subParser("makeMarkdown.tableCell")(M[A],v)),T[D].push(R)}}var N=3;for(w=0;w<T.length;++w)for(A=0;A<T[w].length;++A){var j=T[w][A].length;j>N&&(N=j)}for(w=0;w<T.length;++w){for(A=0;A<T[w].length;++A)w===1?T[w][A].slice(-1)===":"?T[w][A]=n.helper.padEnd(T[w][A].slice(-1),N-1,"-")+":":T[w][A]=n.helper.padEnd(T[w][A],N,"-"):T[w][A]=n.helper.padEnd(T[w][A],N);g+="| "+T[w].join(" | ")+` |
`}return g.trim()}),n.subParser("makeMarkdown.tableCell",function(h,v){var g="";if(!h.hasChildNodes())return"";for(var T=h.childNodes,C=T.length,k=0;k<C;++k)g+=n.subParser("makeMarkdown.node")(T[k],v,!0);return g.trim()}),n.subParser("makeMarkdown.txt",function(h){var v=h.nodeValue;return v=v.replace(/ +/g," "),v=v.replace(/¨NBSP;/g," "),v=n.helper.unescapeHTMLEntities(v),v=v.replace(/([*_~|`])/g,"\\$1"),v=v.replace(/^(\s*)>/g,"\\$1>"),v=v.replace(/^#/gm,"\\#"),v=v.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),v=v.replace(/^( {0,3}\d+)\./gm,"$1\\."),v=v.replace(/^( {0,3})([+-])/gm,"$1\\$2"),v=v.replace(/]([\s]*)\(/g,"\\]$1\\("),v=v.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),v});var O=this;t.exports?t.exports=n:O.showdown=n}).call(Te)})(F5);var zle=F5.exports;const dv=hi(zle);/*!
* 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 i2={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 dv.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}})}},gBe={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&&dv.setFlavor(i);for(var o in s)dv.setOption(o,s[o]);e.component("VueShowdown",i2)},VueShowdown:i2,showdown:dv};/*!
* vue-router v3.6.5
* (c) 2022 Evan You
* @license MIT
*/function Fi(t,e){for(var r in e)t[r]=e[r];return t}var Vle=/[!'()*]/g,Ule=function(t){return"%"+t.charCodeAt(0).toString(16)},Gle=/%2C/g,sl=function(t){return encodeURIComponent(t).replace(Vle,Ule).replace(Gle,",")};function CO(t){try{return decodeURIComponent(t)}catch{}return t}function Wle(t,e,r){e===void 0&&(e={});var n=r||Yle,i;try{i=n(t||"")}catch{i={}}for(var a in e){var s=e[a];i[a]=Array.isArray(s)?s.map(a2):a2(s)}return i}var a2=function(t){return t==null||typeof t=="object"?t:String(t)};function Yle(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=CO(n.shift()),a=n.length>0?CO(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 Kle(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return sl(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(sl(r)):i.push(sl(r)+"="+sl(a)))}),i.join("&")}return sl(r)+"="+sl(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var $0=/\/?$/;function k0(t,e,r,n){var i=n&&n.options.stringifyQuery,a=e.query||{};try{a=AO(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:s2(e,i),matched:t?qle(t):[]};return r&&(s.redirectedFrom=s2(r,i)),Object.freeze(s)}function AO(t){if(Array.isArray(t))return t.map(AO);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=AO(t[r]);return e}else return t}var Jo=k0(null,{path:"/"});function qle(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function s2(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var i=t.hash;i===void 0&&(i="");var a=e||Kle;return(r||"/")+a(n)+i}function j5(t,e,r){return e===Jo?t===e:e?t.path&&e.path?t.path.replace($0,"")===e.path.replace($0,"")&&(r||t.hash===e.hash&&fv(t.query,e.query)):t.name&&e.name?t.name===e.name&&(r||t.hash===e.hash&&fv(t.query,e.query)&&fv(t.params,e.params)):!1:!1}function fv(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"?fv(s,u):String(s)===String(u)})}function Xle(t,e){return t.path.replace($0,"/").indexOf(e.path.replace($0,"/"))===0&&(!e.hash||t.hash===e.hash)&&Jle(t.query,e.query)}function Jle(t,e){for(var r in e)if(!(r in t))return!1;return!0}function H5(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 Qle={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,c=a.$route,l=a._routerViewCache||(a._routerViewCache={}),d=0,f=!1;a&&a._routerRoot!==a;){var p=a.$vnode?a.$vnode.data:{};p.routerView&&d++,p.keepAlive&&a._directInactive&&a._inactive&&(f=!0),a=a.$parent}if(s.routerViewDepth=d,f){var m=l[u],b=m&&m.component;return b?(m.configProps&&o2(b,s,m.route,m.configProps),o(b,s,i)):o()}var _=c.matched[d],S=_&&_.components[u];if(!_||!S)return l[u]=null,o();l[u]={component:S},s.registerRouteInstance=function(O,h){var v=_.instances[u];(h&&v!==O||!h&&v===O)&&(_.instances[u]=h)},(s.hook||(s.hook={})).prepatch=function(O,h){_.instances[u]=h.componentInstance},s.hook.init=function(O){O.data.keepAlive&&O.componentInstance&&O.componentInstance!==_.instances[u]&&(_.instances[u]=O.componentInstance),H5(c)};var E=_.props&&_.props[u];return E&&(Fi(l[u],{route:c,configProps:E}),o2(S,s,c,E)),o(S,s,i)}};function o2(t,e,r,n){var i=e.props=Zle(r,n);if(i){i=e.props=Fi({},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 Zle(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 z5(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 ede(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 Po(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var D0=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},Ld=G5,tde=Px,rde=sde,nde=V5,ide=U5,ade=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Px(t,e){for(var r=[],n=0,i=0,a="",s=e&&e.delimiter||"/",o;(o=ade.exec(t))!=null;){var u=o[0],c=o[1],l=o.index;if(a+=t.slice(i,l),i=l+u.length,c){a+=c[1];continue}var d=t[i],f=o[2],p=o[3],m=o[4],b=o[5],_=o[6],S=o[7];a&&(r.push(a),a="");var E=f!=null&&d!=null&&d!==f,O=_==="+"||_==="*",h=_==="?"||_==="*",v=o[2]||s,g=m||b;r.push({name:p||n++,prefix:f||"",delimiter:v,optional:h,repeat:O,partial:E,asterisk:!!S,pattern:g?cde(g):S?".*":"[^"+hv(v)+"]+?"})}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function sde(t,e){return V5(Px(t,e),e)}function ode(t){return encodeURI(t).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function ude(t){return encodeURI(t).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function V5(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+")$",Ax(e)));return function(i,a){for(var s="",o=i||{},u=a||{},c=u.pretty?ode:encodeURIComponent,l=0;l<t.length;l++){var d=t[l];if(typeof d=="string"){s+=d;continue}var f=o[d.name],p;if(f==null)if(d.optional){d.partial&&(s+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(D0(f)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(f.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var m=0;m<f.length;m++){if(p=c(f[m]),!r[l].test(p))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(p)+"`");s+=(m===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?ude(f):c(f),!r[l].test(p))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+p+'"');s+=d.prefix+p}return s}}function hv(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function cde(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function Cx(t,e){return t.keys=e,t}function Ax(t){return t&&t.sensitive?"":"i"}function lde(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 Cx(t,e)}function dde(t,e,r){for(var n=[],i=0;i<t.length;i++)n.push(G5(t[i],e,r).source);var a=new RegExp("(?:"+n.join("|")+")",Ax(r));return Cx(a,e)}function fde(t,e,r){return U5(Px(t,r),e,r)}function U5(t,e,r){D0(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+=hv(o);else{var u=hv(o.prefix),c="(?:"+o.pattern+")";e.push(o),o.repeat&&(c+="(?:"+u+c+")*"),o.optional?o.partial?c=u+"("+c+")?":c="(?:"+u+"("+c+"))?":c=u+"("+c+")",a+=c}}var l=hv(r.delimiter||"/"),d=a.slice(-l.length)===l;return n||(a=(d?a.slice(0,-l.length):a)+"(?:"+l+"(?=$))?"),i?a+="$":a+=n&&d?"":"(?="+l+"|$)",Cx(new RegExp("^"+a,Ax(r)),e)}function G5(t,e,r){return D0(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?lde(t,e):D0(t)?dde(t,e,r):fde(t,e,r)}Ld.parse=tde;Ld.compile=rde;Ld.tokensToFunction=nde;Ld.tokensToRegExp=ide;var u2=Object.create(null);function pv(t,e,r){e=e||{};try{var n=u2[t]||(u2[t]=Ld.compile(t));return typeof e.pathMatch=="string"&&(e[0]=e.pathMatch),n(e,{pretty:!0})}catch{return""}finally{delete e[0]}}function Mx(t,e,r,n){var i=typeof t=="string"?{path:t}:t;if(i._normalized)return i;if(i.name){i=Fi({},t);var a=i.params;return a&&typeof a=="object"&&(i.params=Fi({},a)),i}if(!i.path&&i.params&&e){i=Fi({},i),i._normalized=!0;var s=Fi(Fi({},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=pv(o,s,"path "+e.path)}return i}var u=ede(i.path||""),c=e&&e.path||"/",l=u.path?z5(u.path,c,r||i.append):c,d=Wle(u.query,i.query,n&&n.options.parseQuery),f=i.hash||u.hash;return f&&f.charAt(0)!=="#"&&(f="#"+f),{_normalized:!0,path:l,query:d,hash:f}}var hde=[String,Object],pde=[String,Array],c2=function(){},mde={name:"RouterLink",props:{to:{type:hde,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:pde,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,c={},l=n.options.linkActiveClass,d=n.options.linkExactActiveClass,f=l??"router-link-active",p=d??"router-link-exact-active",m=this.activeClass==null?f:this.activeClass,b=this.exactActiveClass==null?p:this.exactActiveClass,_=o.redirectedFrom?k0(null,Mx(o.redirectedFrom),null,n):o;c[b]=j5(i,_,this.exactPath),c[m]=this.exact||this.exactPath?c[b]:Xle(i,_);var S=c[b]?this.ariaCurrentValue:null,E=function(P){l2(P)&&(r.replace?n.replace(s,c2):n.push(s,c2))},O={click:l2};Array.isArray(this.event)?this.event.forEach(function(P){O[P]=E}):O[this.event]=E;var h={class:c},v=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:o,navigate:E,isActive:c[m],isExactActive:c[b]});if(v){if(v.length===1)return v[0];if(v.length>1||!v.length)return v.length===0?e():e("span",{},v)}if(this.tag==="a")h.on=O,h.attrs={href:u,"aria-current":S};else{var g=W5(this.$slots.default);if(g){g.isStatic=!1;var T=g.data=Fi({},g.data);T.on=T.on||{};for(var C in T.on){var k=T.on[C];C in O&&(T.on[C]=Array.isArray(k)?k:[k])}for(var w in O)w in T.on?T.on[w].push(O[w]):T.on[w]=E;var A=g.data.attrs=Fi({},g.data.attrs);A.href=u,A["aria-current"]=S}else h.on=O}return e(this.tag,h,this.$slots.default)}};function l2(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 W5(t){if(t){for(var e,r=0;r<t.length;r++)if(e=t[r],e.tag==="a"||e.children&&(e=W5(e.children)))return e}}var I0;function MO(t){if(!(MO.installed&&I0===t)){MO.installed=!0,I0=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",Qle),t.component("RouterLink",mde);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var Hp=typeof window<"u";function Jm(t,e,r,n,i){var a=e||[],s=r||Object.create(null),o=n||Object.create(null);t.forEach(function(l){$O(a,s,o,l,i)});for(var u=0,c=a.length;u<c;u++)a[u]==="*"&&(a.push(a.splice(u,1)[0]),c--,u--);return{pathList:a,pathMap:s,nameMap:o}}function $O(t,e,r,n,i,a){var s=n.path,o=n.name,u=n.pathToRegexpOptions||{},c=vde(s,i,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var l={path:c,regex:gde(c,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(b){var _=a?Po(a+"/"+b.path):void 0;$O(t,e,r,b,l,_)}),e[l.path]||(t.push(l.path),e[l.path]=l),n.alias!==void 0)for(var d=Array.isArray(n.alias)?n.alias:[n.alias],f=0;f<d.length;++f){var p=d[f],m={path:p,children:n.children};$O(t,e,r,m,i,l.path||"/")}o&&(r[o]||(r[o]=l))}function gde(t,e){var r=Ld(t,[],e);return r}function vde(t,e,r){return r||(t=t.replace(/\/$/,"")),t[0]==="/"||e==null?t:Po(e.path+"/"+t)}function bde(t,e){var r=Jm(t),n=r.pathList,i=r.pathMap,a=r.nameMap;function s(p){Jm(p,n,i,a)}function o(p,m){var b=typeof p!="object"?a[p]:void 0;Jm([m||p],n,i,a,b),b&&b.alias.length&&Jm(b.alias.map(function(_){return{path:_,children:[m]}}),n,i,a,b)}function u(){return n.map(function(p){return i[p]})}function c(p,m,b){var _=Mx(p,m,!1,e),S=_.name;if(S){var E=a[S];if(!E)return f(null,_);var O=E.regex.keys.filter(function(C){return!C.optional}).map(function(C){return C.name});if(typeof _.params!="object"&&(_.params={}),m&&typeof m.params=="object")for(var h in m.params)!(h in _.params)&&O.indexOf(h)>-1&&(_.params[h]=m.params[h]);return _.path=pv(E.path,_.params),f(E,_,b)}else if(_.path){_.params={};for(var v=0;v<n.length;v++){var g=n[v],T=i[g];if(yde(T.regex,_.path,_.params))return f(T,_,b)}}return f(null,_)}function l(p,m){var b=p.redirect,_=typeof b=="function"?b(k0(p,m,null,e)):b;if(typeof _=="string"&&(_={path:_}),!_||typeof _!="object")return f(null,m);var S=_,E=S.name,O=S.path,h=m.query,v=m.hash,g=m.params;if(h=S.hasOwnProperty("query")?S.query:h,v=S.hasOwnProperty("hash")?S.hash:v,g=S.hasOwnProperty("params")?S.params:g,E)return a[E],c({_normalized:!0,name:E,query:h,hash:v,params:g},void 0,m);if(O){var T=_de(O,p),C=pv(T,g);return c({_normalized:!0,path:C,query:h,hash:v},void 0,m)}else return f(null,m)}function d(p,m,b){var _=pv(b,m.params),S=c({_normalized:!0,path:_});if(S){var E=S.matched,O=E[E.length-1];return m.params=S.params,f(O,m)}return f(null,m)}function f(p,m,b){return p&&p.redirect?l(p,b||m):p&&p.matchAs?d(p,m,p.matchAs):k0(p,m,b,e)}return{match:c,addRoute:o,getRoutes:u,addRoutes:s}}function yde(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"?CO(n[i]):n[i])}return!0}function _de(t,e){return z5(t,e.parent?e.parent.path:"/",!0)}var wde=Hp&&window.performance&&window.performance.now?window.performance:Date;function Y5(){return wde.now().toFixed(3)}var K5=Y5();function my(){return K5}function q5(t){return K5=t}var X5=Object.create(null);function J5(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),r=Fi({},window.history.state);return r.key=my(),window.history.replaceState(r,"",e),window.addEventListener("popstate",d2),function(){window.removeEventListener("popstate",d2)}}function Co(t,e,r,n){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var a=Sde(),s=i.call(t,e,r,n?a:null);s&&(typeof s.then=="function"?s.then(function(o){p2(o,a)}).catch(function(o){}):p2(s,a))})}}function Q5(){var t=my();t&&(X5[t]={x:window.pageXOffset,y:window.pageYOffset})}function d2(t){Q5(),t.state&&t.state.key&&q5(t.state.key)}function Sde(){var t=my();if(t)return X5[t]}function Ode(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 f2(t){return fd(t.x)||fd(t.y)}function h2(t){return{x:fd(t.x)?t.x:window.pageXOffset,y:fd(t.y)?t.y:window.pageYOffset}}function Tde(t){return{x:fd(t.x)?t.x:0,y:fd(t.y)?t.y:0}}function fd(t){return typeof t=="number"}var Ede=/^#\d/;function p2(t,e){var r=typeof t=="object";if(r&&typeof t.selector=="string"){var n=Ede.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=Tde(i),e=Ode(n,i)}else f2(t)&&(e=h2(t))}else r&&f2(t)&&(e=h2(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 Ao=Hp&&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 R0(t,e){Q5();var r=window.history;try{if(e){var n=Fi({},r.state);n.key=my(),r.replaceState(n,"",t)}else r.pushState({key:q5(Y5())},"",t)}catch{window.location[e?"replace":"assign"](t)}}function kO(t){R0(t,!0)}var Ec={redirected:2,aborted:4,cancelled:8,duplicated:16};function xde(t,e){return gy(t,e,Ec.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Mde(e)+'" via a navigation guard.')}function Pde(t,e){var r=gy(t,e,Ec.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return r.name="NavigationDuplicated",r}function m2(t,e){return gy(t,e,Ec.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Cde(t,e){return gy(t,e,Ec.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function gy(t,e,r,n){var i=new Error(n);return i._isRouter=!0,i.from=t,i.to=e,i.type=r,i}var Ade=["params","query","hash"];function Mde(t){if(typeof t=="string")return t;if("path"in t)return t.path;var e={};return Ade.forEach(function(r){r in t&&(e[r]=t[r])}),JSON.stringify(e,null,2)}function L0(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function vy(t,e){return L0(t)&&t._isRouter&&(e==null||t.type===e)}function g2(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 $de(t){return function(e,r,n){var i=!1,a=0,s=null;Z5(t,function(o,u,c,l){if(typeof o=="function"&&o.cid===void 0){i=!0,a++;var d=v2(function(b){Dde(b)&&(b=b.default),o.resolved=typeof b=="function"?b:I0.extend(b),c.components[l]=b,a--,a<=0&&n()}),f=v2(function(b){var _="Failed to resolve async component "+l+": "+b;s||(s=L0(b)?b:new Error(_),n(s))}),p;try{p=o(d,f)}catch(b){f(b)}if(p)if(typeof p.then=="function")p.then(d,f);else{var m=p.component;m&&typeof m.then=="function"&&m.then(d,f)}}}),i||n()}}function Z5(t,e){return eH(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function eH(t){return Array.prototype.concat.apply([],t)}var kde=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Dde(t){return t.__esModule||kde&&t[Symbol.toStringTag]==="Module"}function v2(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 aa=function(e,r){this.router=e,this.base=Ide(r),this.current=Jo,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};aa.prototype.listen=function(e){this.cb=e};aa.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))};aa.prototype.onError=function(e){this.errorCbs.push(e)};aa.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&&(!vy(o,Ec.redirected)||s!==Jo)&&(i.ready=!0,i.readyErrorCbs.forEach(function(u){u(o)}))})};aa.prototype.confirmTransition=function(e,r,n){var i=this,a=this.current;this.pending=e;var s=function(b){!vy(b)&&L0(b)&&(i.errorCbs.length?i.errorCbs.forEach(function(_){_(b)}):console.error(b)),n&&n(b)},o=e.matched.length-1,u=a.matched.length-1;if(j5(e,a)&&o===u&&e.matched[o]===a.matched[u])return this.ensureURL(),e.hash&&Co(this.router,a,e,!1),s(Pde(a,e));var c=Rde(this.current.matched,e.matched),l=c.updated,d=c.deactivated,f=c.activated,p=[].concat(Nde(d),this.router.beforeHooks,Bde(l),f.map(function(b){return b.beforeEnter}),$de(f)),m=function(b,_){if(i.pending!==e)return s(m2(a,e));try{b(e,a,function(S){S===!1?(i.ensureURL(!0),s(Cde(a,e))):L0(S)?(i.ensureURL(!0),s(S)):typeof S=="string"||typeof S=="object"&&(typeof S.path=="string"||typeof S.name=="string")?(s(xde(a,e)),typeof S=="object"&&S.replace?i.replace(S):i.push(S)):_(S)})}catch(S){s(S)}};g2(p,m,function(){var b=Fde(f),_=b.concat(i.router.resolveHooks);g2(_,m,function(){if(i.pending!==e)return s(m2(a,e));i.pending=null,r(e),i.router.app&&i.router.app.$nextTick(function(){H5(e)})})})};aa.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)};aa.prototype.setupListeners=function(){};aa.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=Jo,this.pending=null};function Ide(t){if(!t)if(Hp){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 Rde(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 $x(t,e,r,n){var i=Z5(t,function(a,s,o,u){var c=Lde(a,e);if(c)return Array.isArray(c)?c.map(function(l){return r(l,s,o,u)}):r(c,s,o,u)});return eH(n?i.reverse():i)}function Lde(t,e){return typeof t!="function"&&(t=I0.extend(t)),t.options[e]}function Nde(t){return $x(t,"beforeRouteLeave",tH,!0)}function Bde(t){return $x(t,"beforeRouteUpdate",tH)}function tH(t,e){if(e)return function(){return t.apply(e,arguments)}}function Fde(t){return $x(t,"beforeRouteEnter",function(e,r,n,i){return jde(e,n,i)})}function jde(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 rH=function(t){function e(r,n){t.call(this,r,n),this._startLocation=ch(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=Ao&&a;s&&this.listeners.push(J5());var o=function(){var u=n.current,c=ch(n.base);n.current===Jo&&c===n._startLocation||n.transitionTo(c,function(l){s&&Co(i,l,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(c){R0(Po(s.base+c.fullPath)),Co(s.router,c,u,!1),i&&i(c)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(c){kO(Po(s.base+c.fullPath)),Co(s.router,c,u,!1),i&&i(c)},a)},e.prototype.ensureURL=function(n){if(ch(this.base)!==this.current.fullPath){var i=Po(this.base+this.current.fullPath);n?R0(i):kO(i)}},e.prototype.getCurrentLocation=function(){return ch(this.base)},e}(aa);function ch(t){var e=window.location.pathname,r=e.toLowerCase(),n=t.toLowerCase();return t&&(r===n||r.indexOf(Po(n+"/"))===0)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var nH=function(t){function e(r,n,i){t.call(this,r,n),!(i&&Hde(this.base))&&b2()}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=Ao&&a;s&&this.listeners.push(J5());var o=function(){var c=n.current;b2()&&n.transitionTo(mv(),function(l){s&&Co(n.router,l,c,!0),Ao||gv(l.fullPath)})},u=Ao?"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(c){y2(c.fullPath),Co(s.router,c,u,!1),i&&i(c)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(c){gv(c.fullPath),Co(s.router,c,u,!1),i&&i(c)},a)},e.prototype.go=function(n){window.history.go(n)},e.prototype.ensureURL=function(n){var i=this.current.fullPath;mv()!==i&&(n?y2(i):gv(i))},e.prototype.getCurrentLocation=function(){return mv()},e}(aa);function Hde(t){var e=ch(t);if(!/^\/#/.test(e))return window.location.replace(Po(t+"/#"+e)),!0}function b2(){var t=mv();return t.charAt(0)==="/"?!0:(gv("/"+t),!1)}function mv(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function DO(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function y2(t){Ao?R0(DO(t)):window.location.hash=t}function gv(t){Ao?kO(DO(t)):window.location.replace(DO(t))}var zde=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){vy(o,Ec.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}(aa),Bt=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=bde(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!Ao&&e.fallback!==!1,this.fallback&&(r="hash"),Hp||(r="abstract"),this.mode=r,r){case"history":this.history=new rH(this,e.base);break;case"hash":this.history=new nH(this,e.base,this.fallback);break;case"abstract":this.history=new zde(this,e.base);break}},iH={currentRoute:{configurable:!0}};Bt.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)};iH.currentRoute.get=function(){return this.history&&this.history.current};Bt.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 rH||n instanceof nH){var i=function(s){var o=n.current,u=r.options.scrollBehavior,c=Ao&&u;c&&"fullPath"in s&&Co(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})})}};Bt.prototype.beforeEach=function(e){return kx(this.beforeHooks,e)};Bt.prototype.beforeResolve=function(e){return kx(this.resolveHooks,e)};Bt.prototype.afterEach=function(e){return kx(this.afterHooks,e)};Bt.prototype.onReady=function(e,r){this.history.onReady(e,r)};Bt.prototype.onError=function(e){this.history.onError(e)};Bt.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)};Bt.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)};Bt.prototype.go=function(e){this.history.go(e)};Bt.prototype.back=function(){this.go(-1)};Bt.prototype.forward=function(){this.go(1)};Bt.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]})})):[]};Bt.prototype.resolve=function(e,r,n){r=r||this.history.current;var i=Mx(e,r,n,this),a=this.match(i,r),s=a.redirectedFrom||a.fullPath,o=this.history.base,u=Vde(o,s,this.mode);return{location:i,route:a,href:u,normalizedTo:i,resolved:a}};Bt.prototype.getRoutes=function(){return this.matcher.getRoutes()};Bt.prototype.addRoute=function(e,r){this.matcher.addRoute(e,r),this.history.current!==Jo&&this.history.transitionTo(this.history.getCurrentLocation())};Bt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Jo&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Bt.prototype,iH);var vBe=Bt;function kx(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Vde(t,e,r){var n=r==="hash"?"#"+e:e;return t?Po(t+"/"+n):n}Bt.install=MO;Bt.version="3.6.5";Bt.isNavigationFailure=vy;Bt.NavigationFailureType=Ec;Bt.START_LOCATION=Jo;Hp&&window.Vue&&window.Vue.use(Bt);var aH={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(Te,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 A(P,x){for(var $=0;$<x.length;$++){var D=x[$];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(P,D.key,D)}}return function(P,x,$){return x&&A(P.prototype,x),$&&A(P,$),P}}(),s=i(1),o=C(s),u=i(2),c=C(u),l=i(8),d=C(l),f=i(9),p=C(f),m=i(10),b=C(m),_=i(11),S=C(_),E=i(16),O=C(E),h=i(17),v=C(h),g=i(18),T=C(g);function C(A){return A&&A.__esModule?A:{default:A}}function k(A,P){if(!(A instanceof P))throw new TypeError("Cannot call a class as a function")}var w=function(){function A(P){k(this,A),P=P||{},this._name="secure-ls",this.utils=o.default,this.constants=c.default,this.Base64=p.default,this.LZString=b.default,this.AES=S.default,this.DES=O.default,this.RABBIT=v.default,this.RC4=T.default,this.enc=d.default,this.config={isCompression:!0,encodingType:c.default.EncrytionTypes.BASE64,encryptionSecret:P.encryptionSecret,encryptionNamespace:P.encryptionNamespace},this.config.isCompression=typeof P.isCompression<"u"?P.isCompression:!0,this.config.encodingType=typeof P.encodingType<"u"||P.encodingType===""?P.encodingType.toLowerCase():c.default.EncrytionTypes.BASE64,this.ls=localStorage,this.init()}return a(A,[{key:"init",value:function(){var x=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=x.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 O.default&&this.config.encodingType===this.constants.EncrytionTypes.DES}},{key:"_isRabbitEncryptionType",value:function(){return v.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(x){var $=this.getMetaData(),D=this.utils.getObjectFromKey($.keys,x);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(x,$){var D="",M="",R=void 0,N=void 0,j=void 0;if(!this.utils.is(x))return this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED),M;if(j=this.getDataFromLocalStorage(x),!j)return M;R=j,(this._isCompression||$)&&(R=b.default.decompressFromUTF16(j)),D=R,this._isBase64||$?D=p.default.decode(R):(this.getEncryptionSecret(x),this._isAES?N=S.default.decrypt(R.toString(),this.utils.encryptionSecret):this._isDES?N=O.default.decrypt(R.toString(),this.utils.encryptionSecret):this._isRabbit?N=v.default.decrypt(R.toString(),this.utils.encryptionSecret):this._isRC4&&(N=T.default.decrypt(R.toString(),this.utils.encryptionSecret)),N&&(D=N.toString(d.default._Utf8)));try{M=JSON.parse(D)}catch{throw new Error("Could not parse JSON")}return M}},{key:"getDataFromLocalStorage",value:function(x){return this.ls.getItem(x,!0)}},{key:"getAllKeys",value:function(){var x=this.getMetaData();return this.utils.extractKeyNames(x)||[]}},{key:"set",value:function(x,$){var D="";if(!this.utils.is(x)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}this.getEncryptionSecret(x),String(x)!==String(this.utils.metaKey)&&(this.utils.isKeyPresent(x)||(this.utils.addToKeysList(x),this.setMetaData())),D=this.processData($),this.setDataToLocalStorage(x,D)}},{key:"setDataToLocalStorage",value:function(x,$){this.ls.setItem(x,$)}},{key:"remove",value:function(x){if(!this.utils.is(x)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}if(x===this.utils.metaKey&&this.getAllKeys().length){this.utils.warn(this.WarningEnum.META_KEY_REMOVE);return}this.utils.isKeyPresent(x)&&(this.utils.removeFromKeysList(x),this.setMetaData()),this.ls.removeItem(x)}},{key:"removeAll",value:function(){var x=void 0,$=void 0;for(x=this.getAllKeys(),$=0;$<x.length;$++)this.ls.removeItem(x[$]);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(x,$){if(x==null||x==="")return"";var D=void 0,M=void 0,R=void 0;try{D=JSON.stringify(x)}catch{throw new Error("Could not stringify data.")}return M=D,this._isBase64||$?M=p.default.encode(D):(this._isAES?M=S.default.encrypt(D,this.utils.encryptionSecret):this._isDES?M=O.default.encrypt(D,this.utils.encryptionSecret):this._isRabbit?M=v.default.encrypt(D,this.utils.encryptionSecret):this._isRC4&&(M=T.default.encrypt(D,this.utils.encryptionSecret)),M=M&&M.toString()),R=M,(this._isCompression||$)&&(R=b.default.compressToUTF16(M)),R}},{key:"setMetaData",value:function(){var x=this.processData({keys:this.utils.allKeys},!0);this.setDataToLocalStorage(this.getMetaKey(),x)}},{key:"getMetaData",value:function(){return this.get(this.getMetaKey(),!0)||{}}},{key:"getMetaKey",value:function(){return this.utils.metaKey+(this.config.encryptionNamespace?"__"+this.config.encryptionNamespace:"")}}]),A}();n.default=w,r.exports=n.default},function(r,n,i){var a=i(2),s=d(a),o=i(3),u=d(o),c=i(4),l=d(c);function d(p){return p&&p.__esModule?p:{default:p}}var f={metaKey:"_secure__ls__metadata",encryptionSecret:"",secretPhrase:"s3cr3t$#@135^&*246",allKeys:[],is:function(m){return!!m},warn:function(m){m=m||s.default.WarningEnum.DEFAULT_TEXT,console.warn(s.default.WarningTypes[m])},generateSecretKey:function(){var m=u.default.random(16),b=(0,l.default)(this.secretPhrase,m,{keySize:128/32});return b&&b.toString()},getObjectFromKey:function(m,b){if(!m||!m.length)return{};var _=void 0,S={};for(_=0;_<m.length;_++)if(m[_].k===b){S=m[_];break}return S},extractKeyNames:function(m){return!m||!m.keys||!m.keys.length?[]:m.keys.map(function(b){return b.k})},getAllKeys:function(){return this.allKeys},isKeyPresent:function(m){for(var b=!1,_=0;_<this.allKeys.length;_++)if(String(this.allKeys[_].k)===String(m)){b=!0;break}return b},addToKeysList:function(m){this.allKeys.push({k:m,s:this.encryptionSecret})},removeFromKeysList:function(m){var b=void 0,_=-1;for(b=0;b<this.allKeys.length;b++)if(this.allKeys[b].k===m){_=b;break}return _!==-1&&this.allKeys.splice(_,1),_}};r.exports=f},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(f){var p=987654321,m=4294967295;return function(){p=36969*(p&65535)+(p>>16)&m,f=18e3*(f&65535)+(f>>16)&m;var b=(p<<16)+f&m;return b/=4294967296,b+=.5,b*(Math.random()>.5?1:-1)}},u=0,c;u<a;u+=4){var l=o((c||Math.random())*4294967296);c=l()*987654071,s.push(l()*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,c=o.WordArray,l=s.algo,d=l.SHA1,f=l.HMAC,p=l.PBKDF2=u.extend({cfg:u.extend({keySize:128/32,hasher:d,iterations:1}),init:function(m){this.cfg=this.cfg.extend(m)},compute:function(m,b){for(var _=this.cfg,S=f.create(_.hasher,m),E=c.create(),O=c.create([1]),h=E.words,v=O.words,g=_.keySize,T=_.iterations;h.length<g;){var C=S.update(b).finalize(O);S.reset();for(var k=C.words,w=k.length,A=C,P=1;P<T;P++){A=S.finalize(A),S.reset();for(var x=A.words,$=0;$<w;$++)k[$]^=x[$]}E.concat(C),v[0]++}return E.sigBytes=g*4,E}});s.PBKDF2=function(m,b,_){return p.create(_).compute(m,b)}}(),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 O(){}return function(h){var v;return O.prototype=h,v=new O,O.prototype=null,v}}(),c={},l=c.lib={},d=l.Base=function(){return{extend:function(O){var h=u(this);return O&&h.mixIn(O),(!h.hasOwnProperty("init")||this.init===h.init)&&(h.init=function(){h.$super.init.apply(this,arguments)}),h.init.prototype=h,h.$super=this,h},create:function(){var O=this.extend();return O.init.apply(O,arguments),O},init:function(){},mixIn:function(O){for(var h in O)O.hasOwnProperty(h)&&(this[h]=O[h]);O.hasOwnProperty("toString")&&(this.toString=O.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=l.WordArray=d.extend({init:function(O,h){O=this.words=O||[],h!=o?this.sigBytes=h:this.sigBytes=O.length*4},toString:function(O){return(O||m).stringify(this)},concat:function(O){var h=this.words,v=O.words,g=this.sigBytes,T=O.sigBytes;if(this.clamp(),g%4)for(var C=0;C<T;C++){var k=v[C>>>2]>>>24-C%4*8&255;h[g+C>>>2]|=k<<24-(g+C)%4*8}else for(var C=0;C<T;C+=4)h[g+C>>>2]=v[C>>>2];return this.sigBytes+=T,this},clamp:function(){var O=this.words,h=this.sigBytes;O[h>>>2]&=4294967295<<32-h%4*8,O.length=s.ceil(h/4)},clone:function(){var O=d.clone.call(this);return O.words=this.words.slice(0),O},random:function(O){for(var h=[],v=function(w){var w=w,A=987654321,P=4294967295;return function(){A=36969*(A&65535)+(A>>16)&P,w=18e3*(w&65535)+(w>>16)&P;var x=(A<<16)+w&P;return x/=4294967296,x+=.5,x*(s.random()>.5?1:-1)}},g=0,T;g<O;g+=4){var C=v((T||s.random())*4294967296);T=C()*987654071,h.push(C()*4294967296|0)}return new f.init(h,O)}}),p=c.enc={},m=p.Hex={stringify:function(O){for(var h=O.words,v=O.sigBytes,g=[],T=0;T<v;T++){var C=h[T>>>2]>>>24-T%4*8&255;g.push((C>>>4).toString(16)),g.push((C&15).toString(16))}return g.join("")},parse:function(O){for(var h=O.length,v=[],g=0;g<h;g+=2)v[g>>>3]|=parseInt(O.substr(g,2),16)<<24-g%8*4;return new f.init(v,h/2)}},b=p.Latin1={stringify:function(O){for(var h=O.words,v=O.sigBytes,g=[],T=0;T<v;T++){var C=h[T>>>2]>>>24-T%4*8&255;g.push(String.fromCharCode(C))}return g.join("")},parse:function(O){for(var h=O.length,v=[],g=0;g<h;g++)v[g>>>2]|=(O.charCodeAt(g)&255)<<24-g%4*8;return new f.init(v,h)}},_=p.Utf8={stringify:function(O){try{return decodeURIComponent(escape(b.stringify(O)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(O){return b.parse(unescape(encodeURIComponent(O)))}},S=l.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(O){typeof O=="string"&&(O=_.parse(O)),this._data.concat(O),this._nDataBytes+=O.sigBytes},_process:function(O){var h=this._data,v=h.words,g=h.sigBytes,T=this.blockSize,C=T*4,k=g/C;O?k=s.ceil(k):k=s.max((k|0)-this._minBufferSize,0);var w=k*T,A=s.min(w*4,g);if(w){for(var P=0;P<w;P+=T)this._doProcessBlock(v,P);var x=v.splice(0,w);h.sigBytes-=A}return new f.init(x,A)},clone:function(){var O=d.clone.call(this);return O._data=this._data.clone(),O},_minBufferSize:0});l.Hasher=S.extend({cfg:d.extend(),init:function(O){this.cfg=this.cfg.extend(O),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(O){return this._append(O),this._process(),this},finalize:function(O){O&&this._append(O);var h=this._doFinalize();return h},blockSize:16,_createHelper:function(O){return function(h,v){return new O.init(v).finalize(h)}},_createHmacHelper:function(O){return function(h,v){return new E.HMAC.init(O,v).finalize(h)}}});var E=c.algo={};return c}(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,c=o.Hasher,l=s.algo,d=[],f=l.SHA1=c.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(p,m){for(var b=this._hash.words,_=b[0],S=b[1],E=b[2],O=b[3],h=b[4],v=0;v<80;v++){if(v<16)d[v]=p[m+v]|0;else{var g=d[v-3]^d[v-8]^d[v-14]^d[v-16];d[v]=g<<1|g>>>31}var T=(_<<5|_>>>27)+h+d[v];v<20?T+=(S&E|~S&O)+1518500249:v<40?T+=(S^E^O)+1859775393:v<60?T+=(S&E|S&O|E&O)-1894007588:T+=(S^E^O)-899497514,h=O,O=E,E=S<<30|S>>>2,S=_,_=T}b[0]=b[0]+_|0,b[1]=b[1]+S|0,b[2]=b[2]+E|0,b[3]=b[3]+O|0,b[4]=b[4]+h|0},_doFinalize:function(){var p=this._data,m=p.words,b=this._nDataBytes*8,_=p.sigBytes*8;return m[_>>>5]|=128<<24-_%32,m[(_+64>>>9<<4)+14]=Math.floor(b/4294967296),m[(_+64>>>9<<4)+15]=b,p.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var p=c.clone.call(this);return p._hash=this._hash.clone(),p}});s.SHA1=c._createHelper(f),s.HmacSHA1=c._createHmacHelper(f)}(),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,c=s.enc,l=c.Utf8,d=s.algo;d.HMAC=u.extend({init:function(f,p){f=this._hasher=new f.init,typeof p=="string"&&(p=l.parse(p));var m=f.blockSize,b=m*4;p.sigBytes>b&&(p=f.finalize(p)),p.clamp();for(var _=this._oKey=p.clone(),S=this._iKey=p.clone(),E=_.words,O=S.words,h=0;h<m;h++)E[h]^=1549556828,O[h]^=909522486;_.sigBytes=S.sigBytes=b,this.reset()},reset:function(){var f=this._hasher;f.reset(),f.update(this._iKey)},update:function(f){return this._hasher.update(f),this},finalize:function(f){var p=this._hasher,m=p.finalize(f);p.reset();var b=p.finalize(this._oKey.clone().concat(m));return b}})})()})},function(r,n){var i={};i.Latin1={stringify:function(s){var o=s.words,u=s.sigBytes,c=[],l=void 0,d=void 0;for(l=0;l<u;l++)d=o[l>>>2]>>>24-l%4*8&255,c.push(String.fromCharCode(d));return c.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,c=void 0,l=void 0,d=void 0,f=void 0,p=void 0,m=void 0,b=0;for(s=i._utf8Encode(s);b<s.length;)u=s.charCodeAt(b++),c=s.charCodeAt(b++),l=s.charCodeAt(b++),d=u>>2,f=(u&3)<<4|c>>4,p=(c&15)<<2|l>>6,m=l&63,isNaN(c)?p=m=64:isNaN(l)&&(m=64),o=o+this._keyStr.charAt(d)+this._keyStr.charAt(f)+this._keyStr.charAt(p)+this._keyStr.charAt(m);return o},decode:function(s){var o="",u=void 0,c=void 0,l=void 0,d=void 0,f=void 0,p=void 0,m=void 0,b=0;for(s=s.replace(/[^A-Za-z0-9\+\/\=]/g,"");b<s.length;)d=this._keyStr.indexOf(s.charAt(b++)),f=this._keyStr.indexOf(s.charAt(b++)),p=this._keyStr.indexOf(s.charAt(b++)),m=this._keyStr.indexOf(s.charAt(b++)),u=d<<2|f>>4,c=(f&15)<<4|p>>2,l=(p&3)<<6|m,o=o+String.fromCharCode(u),p!==64&&(o=o+String.fromCharCode(c)),m!==64&&(o=o+String.fromCharCode(l));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 c=s.charCodeAt(u);c<128?o+=String.fromCharCode(c):c>127&&c<2048?(o+=String.fromCharCode(c>>6|192),o+=String.fromCharCode(c&63|128)):(o+=String.fromCharCode(c>>12|224),o+=String.fromCharCode(c>>6&63|128),o+=String.fromCharCode(c&63|128))}return o},_utf8Decode:function(s){var o="",u=0,c=void 0,l=void 0,d=void 0;for(c=l=0;u<s.length;)c=s.charCodeAt(u),c<128?(o+=String.fromCharCode(c),u++):c>191&&c<224?(l=s.charCodeAt(u+1),o+=String.fromCharCode((c&31)<<6|l&63),u+=2):(l=s.charCodeAt(u+1),d=s.charCodeAt(u+2),o+=String.fromCharCode((c&15)<<12|(l&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+/=",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",l={};function d(p,m){if(!l[p]){l[p]={};for(var b=0;b<p.length;b++)l[p][p.charAt(b)]=b}return l[p][m]}var f={compressToBase64:function(p){if(p==null)return"";var m=f._compress(p,6,function(b){return u.charAt(b)});switch(m.length%4){default:case 0:return m;case 1:return m+"===";case 2:return m+"==";case 3:return m+"="}},decompressFromBase64:function(p){return p==null?"":p==""?null:f._decompress(p.length,32,function(m){return d(u,p.charAt(m))})},compressToUTF16:function(p){return p==null?"":f._compress(p,15,function(m){return o(m+32)})+" "},decompressFromUTF16:function(p){return p==null?"":p==""?null:f._decompress(p.length,16384,function(m){return p.charCodeAt(m)-32})},compressToUint8Array:function(p){for(var m=f.compress(p),b=new Uint8Array(m.length*2),_=0,S=m.length;_<S;_++){var E=m.charCodeAt(_);b[_*2]=E>>>8,b[_*2+1]=E%256}return b},decompressFromUint8Array:function(p){if(p==null)return f.decompress(p);for(var m=new Array(p.length/2),b=0,_=m.length;b<_;b++)m[b]=p[b*2]*256+p[b*2+1];var S=[];return m.forEach(function(E){S.push(o(E))}),f.decompress(S.join(""))},compressToEncodedURIComponent:function(p){return p==null?"":f._compress(p,6,function(m){return c.charAt(m)})},decompressFromEncodedURIComponent:function(p){return p==null?"":p==""?null:(p=p.replace(/ /g,"+"),f._decompress(p.length,32,function(m){return d(c,p.charAt(m))}))},compress:function(p){return f._compress(p,16,function(m){return o(m)})},_compress:function(p,m,b){if(p==null)return"";var _,S,E={},O={},h="",v="",g="",T=2,C=3,k=2,w=[],A=0,P=0,x;for(x=0;x<p.length;x+=1)if(h=p.charAt(x),Object.prototype.hasOwnProperty.call(E,h)||(E[h]=C++,O[h]=!0),v=g+h,Object.prototype.hasOwnProperty.call(E,v))g=v;else{if(Object.prototype.hasOwnProperty.call(O,g)){if(g.charCodeAt(0)<256){for(_=0;_<k;_++)A=A<<1,P==m-1?(P=0,w.push(b(A)),A=0):P++;for(S=g.charCodeAt(0),_=0;_<8;_++)A=A<<1|S&1,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=S>>1}else{for(S=1,_=0;_<k;_++)A=A<<1|S,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=0;for(S=g.charCodeAt(0),_=0;_<16;_++)A=A<<1|S&1,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete O[g]}else for(S=E[g],_=0;_<k;_++)A=A<<1|S&1,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++),E[v]=C++,g=String(h)}if(g!==""){if(Object.prototype.hasOwnProperty.call(O,g)){if(g.charCodeAt(0)<256){for(_=0;_<k;_++)A=A<<1,P==m-1?(P=0,w.push(b(A)),A=0):P++;for(S=g.charCodeAt(0),_=0;_<8;_++)A=A<<1|S&1,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=S>>1}else{for(S=1,_=0;_<k;_++)A=A<<1|S,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=0;for(S=g.charCodeAt(0),_=0;_<16;_++)A=A<<1|S&1,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete O[g]}else for(S=E[g],_=0;_<k;_++)A=A<<1|S&1,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++)}for(S=2,_=0;_<k;_++)A=A<<1|S&1,P==m-1?(P=0,w.push(b(A)),A=0):P++,S=S>>1;for(;;)if(A=A<<1,P==m-1){w.push(b(A));break}else P++;return w.join("")},decompress:function(p){return p==null?"":p==""?null:f._decompress(p.length,32768,function(m){return p.charCodeAt(m)})},_decompress:function(p,m,b){var _=[],S=4,E=4,O=3,h="",v=[],g,T,C,k,w,A,P,x={val:b(0),position:m,index:1};for(g=0;g<3;g+=1)_[g]=g;for(C=0,w=Math.pow(2,2),A=1;A!=w;)k=x.val&x.position,x.position>>=1,x.position==0&&(x.position=m,x.val=b(x.index++)),C|=(k>0?1:0)*A,A<<=1;switch(C){case 0:for(C=0,w=Math.pow(2,8),A=1;A!=w;)k=x.val&x.position,x.position>>=1,x.position==0&&(x.position=m,x.val=b(x.index++)),C|=(k>0?1:0)*A,A<<=1;P=o(C);break;case 1:for(C=0,w=Math.pow(2,16),A=1;A!=w;)k=x.val&x.position,x.position>>=1,x.position==0&&(x.position=m,x.val=b(x.index++)),C|=(k>0?1:0)*A,A<<=1;P=o(C);break;case 2:return""}for(_[3]=P,T=P,v.push(P);;){if(x.index>p)return"";for(C=0,w=Math.pow(2,O),A=1;A!=w;)k=x.val&x.position,x.position>>=1,x.position==0&&(x.position=m,x.val=b(x.index++)),C|=(k>0?1:0)*A,A<<=1;switch(P=C){case 0:for(C=0,w=Math.pow(2,8),A=1;A!=w;)k=x.val&x.position,x.position>>=1,x.position==0&&(x.position=m,x.val=b(x.index++)),C|=(k>0?1:0)*A,A<<=1;_[E++]=o(C),P=E-1,S--;break;case 1:for(C=0,w=Math.pow(2,16),A=1;A!=w;)k=x.val&x.position,x.position>>=1,x.position==0&&(x.position=m,x.val=b(x.index++)),C|=(k>0?1:0)*A,A<<=1;_[E++]=o(C),P=E-1,S--;break;case 2:return v.join("")}if(S==0&&(S=Math.pow(2,O),O++),_[P])h=_[P];else if(P===E)h=T+T.charAt(0);else return null;v.push(h),_[E++]=T+h.charAt(0),S--,T=h,S==0&&(S=Math.pow(2,O),O++)}}};return f}();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,c=s.algo,l=[],d=[],f=[],p=[],m=[],b=[],_=[],S=[],E=[],O=[];(function(){for(var g=[],T=0;T<256;T++)T<128?g[T]=T<<1:g[T]=T<<1^283;for(var C=0,k=0,T=0;T<256;T++){var w=k^k<<1^k<<2^k<<3^k<<4;w=w>>>8^w&255^99,l[C]=w,d[w]=C;var A=g[C],P=g[A],x=g[P],$=g[w]*257^w*16843008;f[C]=$<<24|$>>>8,p[C]=$<<16|$>>>16,m[C]=$<<8|$>>>24,b[C]=$;var $=x*16843009^P*65537^A*257^C*16843008;_[w]=$<<24|$>>>8,S[w]=$<<16|$>>>16,E[w]=$<<8|$>>>24,O[w]=$,C?(C=A^g[g[g[x^A]]],k^=g[g[k]]):C=k=1}})();var h=[0,1,2,4,8,16,32,64,128,27,54],v=c.AES=u.extend({_doReset:function(){if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,T=g.words,C=g.sigBytes/4,k=this._nRounds=C+6,w=(k+1)*4,A=this._keySchedule=[],P=0;P<w;P++)if(P<C)A[P]=T[P];else{var x=A[P-1];P%C?C>6&&P%C==4&&(x=l[x>>>24]<<24|l[x>>>16&255]<<16|l[x>>>8&255]<<8|l[x&255]):(x=x<<8|x>>>24,x=l[x>>>24]<<24|l[x>>>16&255]<<16|l[x>>>8&255]<<8|l[x&255],x^=h[P/C|0]<<24),A[P]=A[P-C]^x}for(var $=this._invKeySchedule=[],D=0;D<w;D++){var P=w-D;if(D%4)var x=A[P];else var x=A[P-4];D<4||P<=4?$[D]=x:$[D]=_[l[x>>>24]]^S[l[x>>>16&255]]^E[l[x>>>8&255]]^O[l[x&255]]}}},encryptBlock:function(g,T){this._doCryptBlock(g,T,this._keySchedule,f,p,m,b,l)},decryptBlock:function(g,T){var C=g[T+1];g[T+1]=g[T+3],g[T+3]=C,this._doCryptBlock(g,T,this._invKeySchedule,_,S,E,O,d);var C=g[T+1];g[T+1]=g[T+3],g[T+3]=C},_doCryptBlock:function(g,T,C,k,w,A,P,x){for(var $=this._nRounds,D=g[T]^C[0],M=g[T+1]^C[1],R=g[T+2]^C[2],N=g[T+3]^C[3],j=4,z=1;z<$;z++){var V=k[D>>>24]^w[M>>>16&255]^A[R>>>8&255]^P[N&255]^C[j++],J=k[M>>>24]^w[R>>>16&255]^A[N>>>8&255]^P[D&255]^C[j++],re=k[R>>>24]^w[N>>>16&255]^A[D>>>8&255]^P[M&255]^C[j++],Y=k[N>>>24]^w[D>>>16&255]^A[M>>>8&255]^P[R&255]^C[j++];D=V,M=J,R=re,N=Y}var V=(x[D>>>24]<<24|x[M>>>16&255]<<16|x[R>>>8&255]<<8|x[N&255])^C[j++],J=(x[M>>>24]<<24|x[R>>>16&255]<<16|x[N>>>8&255]<<8|x[D&255])^C[j++],re=(x[R>>>24]<<24|x[N>>>16&255]<<16|x[D>>>8&255]<<8|x[M&255])^C[j++],Y=(x[N>>>24]<<24|x[D>>>16&255]<<16|x[M>>>8&255]<<8|x[R&255])^C[j++];g[T]=V,g[T+1]=J,g[T+2]=re,g[T+3]=Y},keySize:256/32});s.AES=u._createHelper(v)}(),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,c=s.enc;c.Base64={stringify:function(d){var f=d.words,p=d.sigBytes,m=this._map;d.clamp();for(var b=[],_=0;_<p;_+=3)for(var S=f[_>>>2]>>>24-_%4*8&255,E=f[_+1>>>2]>>>24-(_+1)%4*8&255,O=f[_+2>>>2]>>>24-(_+2)%4*8&255,h=S<<16|E<<8|O,v=0;v<4&&_+v*.75<p;v++)b.push(m.charAt(h>>>6*(3-v)&63));var g=m.charAt(64);if(g)for(;b.length%4;)b.push(g);return b.join("")},parse:function(d){var f=d.length,p=this._map,m=this._reverseMap;if(!m){m=this._reverseMap=[];for(var b=0;b<p.length;b++)m[p.charCodeAt(b)]=b}var _=p.charAt(64);if(_){var S=d.indexOf(_);S!==-1&&(f=S)}return l(d,f,m)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(d,f,p){for(var m=[],b=0,_=0;_<f;_++)if(_%4){var S=p[d.charCodeAt(_-1)]<<_%4*2,E=p[d.charCodeAt(_)]>>>6-_%4*2;m[b>>>2]|=(S|E)<<24-b%4*8,b++}return u.create(m,b)}}(),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,c=u.WordArray,l=u.Hasher,d=o.algo,f=[];(function(){for(var E=0;E<64;E++)f[E]=s.abs(s.sin(E+1))*4294967296|0})();var p=d.MD5=l.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(E,O){for(var h=0;h<16;h++){var v=O+h,g=E[v];E[v]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var T=this._hash.words,C=E[O+0],k=E[O+1],w=E[O+2],A=E[O+3],P=E[O+4],x=E[O+5],$=E[O+6],D=E[O+7],M=E[O+8],R=E[O+9],N=E[O+10],j=E[O+11],z=E[O+12],V=E[O+13],J=E[O+14],re=E[O+15],Y=T[0],U=T[1],K=T[2],X=T[3];Y=m(Y,U,K,X,C,7,f[0]),X=m(X,Y,U,K,k,12,f[1]),K=m(K,X,Y,U,w,17,f[2]),U=m(U,K,X,Y,A,22,f[3]),Y=m(Y,U,K,X,P,7,f[4]),X=m(X,Y,U,K,x,12,f[5]),K=m(K,X,Y,U,$,17,f[6]),U=m(U,K,X,Y,D,22,f[7]),Y=m(Y,U,K,X,M,7,f[8]),X=m(X,Y,U,K,R,12,f[9]),K=m(K,X,Y,U,N,17,f[10]),U=m(U,K,X,Y,j,22,f[11]),Y=m(Y,U,K,X,z,7,f[12]),X=m(X,Y,U,K,V,12,f[13]),K=m(K,X,Y,U,J,17,f[14]),U=m(U,K,X,Y,re,22,f[15]),Y=b(Y,U,K,X,k,5,f[16]),X=b(X,Y,U,K,$,9,f[17]),K=b(K,X,Y,U,j,14,f[18]),U=b(U,K,X,Y,C,20,f[19]),Y=b(Y,U,K,X,x,5,f[20]),X=b(X,Y,U,K,N,9,f[21]),K=b(K,X,Y,U,re,14,f[22]),U=b(U,K,X,Y,P,20,f[23]),Y=b(Y,U,K,X,R,5,f[24]),X=b(X,Y,U,K,J,9,f[25]),K=b(K,X,Y,U,A,14,f[26]),U=b(U,K,X,Y,M,20,f[27]),Y=b(Y,U,K,X,V,5,f[28]),X=b(X,Y,U,K,w,9,f[29]),K=b(K,X,Y,U,D,14,f[30]),U=b(U,K,X,Y,z,20,f[31]),Y=_(Y,U,K,X,x,4,f[32]),X=_(X,Y,U,K,M,11,f[33]),K=_(K,X,Y,U,j,16,f[34]),U=_(U,K,X,Y,J,23,f[35]),Y=_(Y,U,K,X,k,4,f[36]),X=_(X,Y,U,K,P,11,f[37]),K=_(K,X,Y,U,D,16,f[38]),U=_(U,K,X,Y,N,23,f[39]),Y=_(Y,U,K,X,V,4,f[40]),X=_(X,Y,U,K,C,11,f[41]),K=_(K,X,Y,U,A,16,f[42]),U=_(U,K,X,Y,$,23,f[43]),Y=_(Y,U,K,X,R,4,f[44]),X=_(X,Y,U,K,z,11,f[45]),K=_(K,X,Y,U,re,16,f[46]),U=_(U,K,X,Y,w,23,f[47]),Y=S(Y,U,K,X,C,6,f[48]),X=S(X,Y,U,K,D,10,f[49]),K=S(K,X,Y,U,J,15,f[50]),U=S(U,K,X,Y,x,21,f[51]),Y=S(Y,U,K,X,z,6,f[52]),X=S(X,Y,U,K,A,10,f[53]),K=S(K,X,Y,U,N,15,f[54]),U=S(U,K,X,Y,k,21,f[55]),Y=S(Y,U,K,X,M,6,f[56]),X=S(X,Y,U,K,re,10,f[57]),K=S(K,X,Y,U,$,15,f[58]),U=S(U,K,X,Y,V,21,f[59]),Y=S(Y,U,K,X,P,6,f[60]),X=S(X,Y,U,K,j,10,f[61]),K=S(K,X,Y,U,w,15,f[62]),U=S(U,K,X,Y,R,21,f[63]),T[0]=T[0]+Y|0,T[1]=T[1]+U|0,T[2]=T[2]+K|0,T[3]=T[3]+X|0},_doFinalize:function(){var E=this._data,O=E.words,h=this._nDataBytes*8,v=E.sigBytes*8;O[v>>>5]|=128<<24-v%32;var g=s.floor(h/4294967296),T=h;O[(v+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,O[(v+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,E.sigBytes=(O.length+1)*4,this._process();for(var C=this._hash,k=C.words,w=0;w<4;w++){var A=k[w];k[w]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}return C},clone:function(){var E=l.clone.call(this);return E._hash=this._hash.clone(),E}});function m(E,O,h,v,g,T,C){var k=E+(O&h|~O&v)+g+C;return(k<<T|k>>>32-T)+O}function b(E,O,h,v,g,T,C){var k=E+(O&v|h&~v)+g+C;return(k<<T|k>>>32-T)+O}function _(E,O,h,v,g,T,C){var k=E+(O^h^v)+g+C;return(k<<T|k>>>32-T)+O}function S(E,O,h,v,g,T,C){var k=E+(h^(O|~v))+g+C;return(k<<T|k>>>32-T)+O}o.MD5=l._createHelper(p),o.HmacMD5=l._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,c=o.WordArray,l=s.algo,d=l.MD5,f=l.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,m){for(var b=this.cfg,_=b.hasher.create(),S=c.create(),E=S.words,O=b.keySize,h=b.iterations;E.length<O;){v&&_.update(v);var v=_.update(p).finalize(m);_.reset();for(var g=1;g<h;g++)v=_.finalize(v),_.reset();S.concat(v)}return S.sigBytes=O*4,S}});s.EvpKDF=function(p,m,b){return f.create(b).compute(p,m)}}(),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,c=u.Base,l=u.WordArray,d=u.BufferedBlockAlgorithm,f=o.enc;f.Utf8;var p=f.Base64,m=o.algo,b=m.EvpKDF,_=u.Cipher=d.extend({cfg:c.extend(),createEncryptor:function(x,$){return this.create(this._ENC_XFORM_MODE,x,$)},createDecryptor:function(x,$){return this.create(this._DEC_XFORM_MODE,x,$)},init:function(x,$,D){this.cfg=this.cfg.extend(D),this._xformMode=x,this._key=$,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(x){return this._append(x),this._process()},finalize:function(x){x&&this._append(x);var $=this._doFinalize();return $},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function x($){return typeof $=="string"?P:k}return function($){return{encrypt:function(D,M,R){return x(M).encrypt($,D,M,R)},decrypt:function(D,M,R){return x(M).decrypt($,D,M,R)}}}}()});u.StreamCipher=_.extend({_doFinalize:function(){var x=this._process(!0);return x},blockSize:1});var S=o.mode={},E=u.BlockCipherMode=c.extend({createEncryptor:function(x,$){return this.Encryptor.create(x,$)},createDecryptor:function(x,$){return this.Decryptor.create(x,$)},init:function(x,$){this._cipher=x,this._iv=$}}),O=S.CBC=function(){var x=E.extend();x.Encryptor=x.extend({processBlock:function(D,M){var R=this._cipher,N=R.blockSize;$.call(this,D,M,N),R.encryptBlock(D,M),this._prevBlock=D.slice(M,M+N)}}),x.Decryptor=x.extend({processBlock:function(D,M){var R=this._cipher,N=R.blockSize,j=D.slice(M,M+N);R.decryptBlock(D,M),$.call(this,D,M,N),this._prevBlock=j}});function $(D,M,R){var N=this._iv;if(N){var j=N;this._iv=s}else var j=this._prevBlock;for(var z=0;z<R;z++)D[M+z]^=j[z]}return x}(),h=o.pad={},v=h.Pkcs7={pad:function(x,$){for(var D=$*4,M=D-x.sigBytes%D,R=M<<24|M<<16|M<<8|M,N=[],j=0;j<M;j+=4)N.push(R);var z=l.create(N,M);x.concat(z)},unpad:function(x){var $=x.words[x.sigBytes-1>>>2]&255;x.sigBytes-=$}};u.BlockCipher=_.extend({cfg:_.cfg.extend({mode:O,padding:v}),reset:function(){_.reset.call(this);var x=this.cfg,$=x.iv,D=x.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,$&&$.words)},_doProcessBlock:function(x,$){this._mode.processBlock(x,$)},_doFinalize:function(){var x=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){x.pad(this._data,this.blockSize);var $=this._process(!0)}else{var $=this._process(!0);x.unpad($)}return $},blockSize:128/32});var g=u.CipherParams=c.extend({init:function(x){this.mixIn(x)},toString:function(x){return(x||this.formatter).stringify(this)}}),T=o.format={},C=T.OpenSSL={stringify:function(x){var $=x.ciphertext,D=x.salt;if(D)var M=l.create([1398893684,1701076831]).concat(D).concat($);else var M=$;return M.toString(p)},parse:function(x){var $=p.parse(x),D=$.words;if(D[0]==1398893684&&D[1]==1701076831){var M=l.create(D.slice(2,4));D.splice(0,4),$.sigBytes-=16}return g.create({ciphertext:$,salt:M})}},k=u.SerializableCipher=c.extend({cfg:c.extend({format:C}),encrypt:function(x,$,D,M){M=this.cfg.extend(M);var R=x.createEncryptor(D,M),N=R.finalize($),j=R.cfg;return g.create({ciphertext:N,key:D,iv:j.iv,algorithm:x,mode:j.mode,padding:j.padding,blockSize:x.blockSize,formatter:M.format})},decrypt:function(x,$,D,M){M=this.cfg.extend(M),$=this._parse($,M.format);var R=x.createDecryptor(D,M).finalize($.ciphertext);return R},_parse:function(x,$){return typeof x=="string"?$.parse(x,this):x}}),w=o.kdf={},A=w.OpenSSL={execute:function(x,$,D,M){M||(M=l.random(64/8));var R=b.create({keySize:$+D}).compute(x,M),N=l.create(R.words.slice($),D*4);return R.sigBytes=$*4,g.create({key:R,iv:N,salt:M})}},P=u.PasswordBasedCipher=k.extend({cfg:k.cfg.extend({kdf:A}),encrypt:function(x,$,D,M){M=this.cfg.extend(M);var R=M.kdf.execute(D,x.keySize,x.ivSize);M.iv=R.iv;var N=k.encrypt.call(this,x,$,R.key,M);return N.mixIn(R),N},decrypt:function(x,$,D,M){M=this.cfg.extend(M),$=this._parse($,M.format);var R=M.kdf.execute(D,x.keySize,x.ivSize,$.salt);M.iv=R.iv;var N=k.decrypt.call(this,x,$,R.key,M);return N}})}()})},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,c=o.BlockCipher,l=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],f=[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],m=[{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}],b=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],_=l.DES=c.extend({_doReset:function(){for(var h=this._key,v=h.words,g=[],T=0;T<56;T++){var C=d[T]-1;g[T]=v[C>>>5]>>>31-C%32&1}for(var k=this._subKeys=[],w=0;w<16;w++){for(var A=k[w]=[],P=p[w],T=0;T<24;T++)A[T/6|0]|=g[(f[T]-1+P)%28]<<31-T%6,A[4+(T/6|0)]|=g[28+(f[T+24]-1+P)%28]<<31-T%6;A[0]=A[0]<<1|A[0]>>>31;for(var T=1;T<7;T++)A[T]=A[T]>>>(T-1)*4+3;A[7]=A[7]<<5|A[7]>>>27}for(var x=this._invSubKeys=[],T=0;T<16;T++)x[T]=k[15-T]},encryptBlock:function(h,v){this._doCryptBlock(h,v,this._subKeys)},decryptBlock:function(h,v){this._doCryptBlock(h,v,this._invSubKeys)},_doCryptBlock:function(h,v,g){this._lBlock=h[v],this._rBlock=h[v+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 C=g[T],k=this._lBlock,w=this._rBlock,A=0,P=0;P<8;P++)A|=m[P][((w^C[P])&b[P])>>>0];this._lBlock=w,this._rBlock=k^A}var x=this._lBlock;this._lBlock=this._rBlock,this._rBlock=x,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),h[v]=this._lBlock,h[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function S(h,v){var g=(this._lBlock>>>h^this._rBlock)&v;this._rBlock^=g,this._lBlock^=g<<h}function E(h,v){var g=(this._rBlock>>>h^this._lBlock)&v;this._lBlock^=g,this._rBlock^=g<<h}s.DES=c._createHelper(_);var O=l.TripleDES=c.extend({_doReset:function(){var h=this._key,v=h.words;this._des1=_.createEncryptor(u.create(v.slice(0,2))),this._des2=_.createEncryptor(u.create(v.slice(2,4))),this._des3=_.createEncryptor(u.create(v.slice(4,6)))},encryptBlock:function(h,v){this._des1.encryptBlock(h,v),this._des2.decryptBlock(h,v),this._des3.encryptBlock(h,v)},decryptBlock:function(h,v){this._des3.decryptBlock(h,v),this._des2.encryptBlock(h,v),this._des1.decryptBlock(h,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});s.TripleDES=c._createHelper(O)}(),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,c=s.algo,l=[],d=[],f=[],p=c.Rabbit=u.extend({_doReset:function(){for(var b=this._key.words,_=this.cfg.iv,S=0;S<4;S++)b[S]=(b[S]<<8|b[S]>>>24)&16711935|(b[S]<<24|b[S]>>>8)&4278255360;var E=this._X=[b[0],b[3]<<16|b[2]>>>16,b[1],b[0]<<16|b[3]>>>16,b[2],b[1]<<16|b[0]>>>16,b[3],b[2]<<16|b[1]>>>16],O=this._C=[b[2]<<16|b[2]>>>16,b[0]&4294901760|b[1]&65535,b[3]<<16|b[3]>>>16,b[1]&4294901760|b[2]&65535,b[0]<<16|b[0]>>>16,b[2]&4294901760|b[3]&65535,b[1]<<16|b[1]>>>16,b[3]&4294901760|b[0]&65535];this._b=0;for(var S=0;S<4;S++)m.call(this);for(var S=0;S<8;S++)O[S]^=E[S+4&7];if(_){var h=_.words,v=h[0],g=h[1],T=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,C=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,k=T>>>16|C&4294901760,w=C<<16|T&65535;O[0]^=T,O[1]^=k,O[2]^=C,O[3]^=w,O[4]^=T,O[5]^=k,O[6]^=C,O[7]^=w;for(var S=0;S<4;S++)m.call(this)}},_doProcessBlock:function(b,_){var S=this._X;m.call(this),l[0]=S[0]^S[5]>>>16^S[3]<<16,l[1]=S[2]^S[7]>>>16^S[5]<<16,l[2]=S[4]^S[1]>>>16^S[7]<<16,l[3]=S[6]^S[3]>>>16^S[1]<<16;for(var E=0;E<4;E++)l[E]=(l[E]<<8|l[E]>>>24)&16711935|(l[E]<<24|l[E]>>>8)&4278255360,b[_+E]^=l[E]},blockSize:128/32,ivSize:64/32});function m(){for(var b=this._X,_=this._C,S=0;S<8;S++)d[S]=_[S];_[0]=_[0]+1295307597+this._b|0,_[1]=_[1]+3545052371+(_[0]>>>0<d[0]>>>0?1:0)|0,_[2]=_[2]+886263092+(_[1]>>>0<d[1]>>>0?1:0)|0,_[3]=_[3]+1295307597+(_[2]>>>0<d[2]>>>0?1:0)|0,_[4]=_[4]+3545052371+(_[3]>>>0<d[3]>>>0?1:0)|0,_[5]=_[5]+886263092+(_[4]>>>0<d[4]>>>0?1:0)|0,_[6]=_[6]+1295307597+(_[5]>>>0<d[5]>>>0?1:0)|0,_[7]=_[7]+3545052371+(_[6]>>>0<d[6]>>>0?1:0)|0,this._b=_[7]>>>0<d[7]>>>0?1:0;for(var S=0;S<8;S++){var E=b[S]+_[S],O=E&65535,h=E>>>16,v=((O*O>>>17)+O*h>>>15)+h*h,g=((E&4294901760)*E|0)+((E&65535)*E|0);f[S]=v^g}b[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,b[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,b[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,b[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,b[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,b[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,b[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,b[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[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,c=s.algo,l=c.RC4=u.extend({_doReset:function(){for(var p=this._key,m=p.words,b=p.sigBytes,_=this._S=[],S=0;S<256;S++)_[S]=S;for(var S=0,E=0;S<256;S++){var O=S%b,h=m[O>>>2]>>>24-O%4*8&255;E=(E+_[S]+h)%256;var v=_[S];_[S]=_[E],_[E]=v}this._i=this._j=0},_doProcessBlock:function(p,m){p[m]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var p=this._S,m=this._i,b=this._j,_=0,S=0;S<4;S++){m=(m+1)%256,b=(b+p[m])%256;var E=p[m];p[m]=p[b],p[b]=E,_|=p[(p[m]+p[b])%256]<<24-S*8}return this._i=m,this._j=b,_}s.RC4=u._createHelper(l);var f=c.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var p=this.cfg.drop;p>0;p--)d.call(this)}});s.RC4Drop=u._createHelper(f)}(),a.RC4})}])})})(aH);var Ude=aH.exports;const bBe=hi(Ude);/*!
* vuex v3.6.2
* (c) 2021 Evan You
* @license MIT
*/function Gde(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 Wde=typeof window<"u"?window:typeof global<"u"?global:{},ol=Wde.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Yde(t){ol&&(t._devtoolHook=ol,ol.emit("vuex:init",t),ol.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){ol.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){ol.emit("vuex:action",e,r)},{prepend:!0}))}function Kde(t,e){return t.filter(e)[0]}function IO(t,e){if(e===void 0&&(e=[]),t===null||typeof t!="object")return t;var r=Kde(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]=IO(t[i],e)}),n}function Nd(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function sH(t){return t!==null&&typeof t=="object"}function qde(t){return t&&typeof t.then=="function"}function Xde(t,e){return function(){return t(e)}}var sa=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)||{}},oH={namespaced:{configurable:!0}};oH.namespaced.get=function(){return!!this._rawModule.namespaced};sa.prototype.addChild=function(e,r){this._children[e]=r};sa.prototype.removeChild=function(e){delete this._children[e]};sa.prototype.getChild=function(e){return this._children[e]};sa.prototype.hasChild=function(e){return e in this._children};sa.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)};sa.prototype.forEachChild=function(e){Nd(this._children,e)};sa.prototype.forEachGetter=function(e){this._rawModule.getters&&Nd(this._rawModule.getters,e)};sa.prototype.forEachAction=function(e){this._rawModule.actions&&Nd(this._rawModule.actions,e)};sa.prototype.forEachMutation=function(e){this._rawModule.mutations&&Nd(this._rawModule.mutations,e)};Object.defineProperties(sa.prototype,oH);var xc=function(e){this.register([],e,!1)};xc.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)};xc.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};xc.prototype.update=function(e){uH([],this.root,e)};xc.prototype.register=function(e,r,n){var i=this;n===void 0&&(n=!0);var a=new sa(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&&Nd(r.modules,function(o,u){i.register(e.concat(u),o,n)})};xc.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)};xc.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function uH(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;uH(t.concat(n),e.getChild(n),r.modules[n])}}var An,pi=function(e){var r=this;e===void 0&&(e={}),!An&&typeof window<"u"&&window.Vue&&dH(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 xc(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new An,this._makeLocalGettersCache=Object.create(null);var a=this,s=this,o=s.dispatch,u=s.commit;this.dispatch=function(f,p){return o.call(a,f,p)},this.commit=function(f,p,m){return u.call(a,f,p,m)},this.strict=i;var c=this._modules.root.state;by(this,c,[],this._modules.root),Ix(this,c),n.forEach(function(d){return d(r)});var l=e.devtools!==void 0?e.devtools:An.config.devtools;l&&Yde(this)},Dx={state:{configurable:!0}};Dx.state.get=function(){return this._vm._data.$$state};Dx.state.set=function(t){};pi.prototype.commit=function(e,r,n){var i=this,a=N0(e,r,n),s=a.type,o=a.payload,u={type:s,payload:o},c=this._mutations[s];c&&(this._withCommit(function(){c.forEach(function(d){d(o)})}),this._subscribers.slice().forEach(function(l){return l(u,i.state)}))};pi.prototype.dispatch=function(e,r){var n=this,i=N0(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(l){return l.before}).forEach(function(l){return l.before(o,n.state)})}catch{}var c=u.length>1?Promise.all(u.map(function(l){return l(s)})):u[0](s);return new Promise(function(l,d){c.then(function(f){try{n._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(o,n.state)})}catch{}l(f)},function(f){try{n._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(o,n.state,f)})}catch{}d(f)})})}};pi.prototype.subscribe=function(e,r){return cH(e,this._subscribers,r)};pi.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return cH(n,this._actionSubscribers,r)};pi.prototype.watch=function(e,r,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},r,n)};pi.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})};pi.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),by(this,this.state,e,this._modules.get(e),n.preserveState),Ix(this,this.state)};pi.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=Rx(r.state,e.slice(0,-1));An.delete(n,e[e.length-1])}),lH(this)};pi.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};pi.prototype.hotUpdate=function(e){this._modules.update(e),lH(this,!0)};pi.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r};Object.defineProperties(pi.prototype,Dx);function cH(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 lH(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;by(t,r,[],t._modules.root,!0),Ix(t,r,e)}function Ix(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};Nd(i,function(o,u){a[u]=Xde(o,t),Object.defineProperty(t.getters,u,{get:function(){return t._vm[u]},enumerable:!0})});var s=An.config.silent;An.config.silent=!0,t._vm=new An({data:{$$state:e},computed:a}),An.config.silent=s,t.strict&&rfe(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),An.nextTick(function(){return n.$destroy()}))}function by(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=Rx(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit(function(){An.set(o,u,n.state)})}var c=n.context=Jde(t,s,r);n.forEachMutation(function(l,d){var f=s+d;Zde(t,f,l,c)}),n.forEachAction(function(l,d){var f=l.root?d:s+d,p=l.handler||l;efe(t,f,p,c)}),n.forEachGetter(function(l,d){var f=s+d;tfe(t,f,l,c)}),n.forEachChild(function(l,d){by(t,e,r.concat(d),l,i)})}function Jde(t,e,r){var n=e==="",i={dispatch:n?t.dispatch:function(a,s,o){var u=N0(a,s,o),c=u.payload,l=u.options,d=u.type;return(!l||!l.root)&&(d=e+d),t.dispatch(d,c)},commit:n?t.commit:function(a,s,o){var u=N0(a,s,o),c=u.payload,l=u.options,d=u.type;(!l||!l.root)&&(d=e+d),t.commit(d,c,l)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return Qde(t,e)}},state:{get:function(){return Rx(t.state,r)}}}),i}function Qde(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 Zde(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(s){r.call(t,n.state,s)})}function efe(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 qde(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(u){throw t._devtoolHook.emit("vuex:error",u),u}):o})}function tfe(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function rfe(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function Rx(t,e){return e.reduce(function(r,n){return r[n]},t)}function N0(t,e,r){return sH(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function dH(t){An&&t===An||(An=t,Gde(An))}var fH=_y(function(t,e){var r={};return yy(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 c=wy(this.$store,"mapState",t);if(!c)return;o=c.context.state,u=c.context.getters}return typeof a=="function"?a.call(this,o,u):o[a]},r[i].vuex=!0}),r}),hH=_y(function(t,e){var r={};return yy(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 c=this.$store.commit;if(t){var l=wy(this.$store,"mapMutations",t);if(!l)return;c=l.context.commit}return typeof a=="function"?a.apply(this,[c].concat(o)):c.apply(this.$store,[a].concat(o))}}),r}),pH=_y(function(t,e){var r={};return yy(e).forEach(function(n){var i=n.key,a=n.val;a=t+a,r[i]=function(){if(!(t&&!wy(this.$store,"mapGetters",t)))return this.$store.getters[a]},r[i].vuex=!0}),r}),mH=_y(function(t,e){var r={};return yy(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 c=this.$store.dispatch;if(t){var l=wy(this.$store,"mapActions",t);if(!l)return;c=l.context.dispatch}return typeof a=="function"?a.apply(this,[c].concat(o)):c.apply(this.$store,[a].concat(o))}}),r}),nfe=function(t){return{mapState:fH.bind(null,t),mapGetters:pH.bind(null,t),mapMutations:hH.bind(null,t),mapActions:mH.bind(null,t)}};function yy(t){return ife(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 ife(t){return Array.isArray(t)||sH(t)}function _y(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function wy(t,e,r){var n=t._modulesNamespaceMap[r];return n}function afe(t){t===void 0&&(t={});var e=t.collapsed;e===void 0&&(e=!0);var r=t.filter;r===void 0&&(r=function(l,d,f){return!0});var n=t.transformer;n===void 0&&(n=function(l){return l});var i=t.mutationTransformer;i===void 0&&(i=function(l){return l});var a=t.actionFilter;a===void 0&&(a=function(l,d){return!0});var s=t.actionTransformer;s===void 0&&(s=function(l){return l});var o=t.logMutations;o===void 0&&(o=!0);var u=t.logActions;u===void 0&&(u=!0);var c=t.logger;return c===void 0&&(c=console),function(l){var d=IO(l.state);typeof c>"u"||(o&&l.subscribe(function(f,p){var m=IO(p);if(r(f,d,m)){var b=S2(),_=i(f),S="mutation "+f.type+b;_2(c,S,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",_),c.log("%c next state","color: #4CAF50; font-weight: bold",n(m)),w2(c)}d=m}),u&&l.subscribeAction(function(f,p){if(a(f,p)){var m=S2(),b=s(f),_="action "+f.type+m;_2(c,_,e),c.log("%c action","color: #03A9F4; font-weight: bold",b),w2(c)}}))}}function _2(t,e,r){var n=r?t.groupCollapsed:t.group;try{n.call(t,e)}catch{t.log(e)}}function w2(t){try{t.groupEnd()}catch{t.log("—— log end ——")}}function S2(){var t=new Date;return" @ "+Qm(t.getHours(),2)+":"+Qm(t.getMinutes(),2)+":"+Qm(t.getSeconds(),2)+"."+Qm(t.getMilliseconds(),3)}function sfe(t,e){return new Array(e+1).join(t)}function Qm(t,e){return sfe("0",e-t.toString().length)+t}var ofe={Store:pi,install:dH,version:"3.6.2",mapState:fH,mapMutations:hH,mapGetters:pH,mapActions:mH,createNamespacedHelpers:nfe,createLogger:afe};const yBe=ofe;var ufe=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===cfe}(e)}(t)},cfe=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function lh(t,e){return e.clone!==!1&&e.isMergeableObject(t)?hd(Array.isArray(t)?[]:{},t,e):t}function lfe(t,e,r){return t.concat(e).map(function(n){return lh(n,r)})}function O2(t){return Object.keys(t).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return e.propertyIsEnumerable(r)}):[]}(t))}function T2(t,e){try{return e in t}catch{return!1}}function hd(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||lfe,r.isMergeableObject=r.isMergeableObject||ufe,r.cloneUnlessOtherwiseSpecified=lh;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)&&O2(i).forEach(function(u){o[u]=lh(i[u],s)}),O2(a).forEach(function(u){(function(c,l){return T2(c,l)&&!(Object.hasOwnProperty.call(c,l)&&Object.propertyIsEnumerable.call(c,l))})(i,u)||(o[u]=T2(i,u)&&s.isMergeableObject(a[u])?function(c,l){if(!l.customMerge)return hd;var d=l.customMerge(c);return typeof d=="function"?d:hd}(u,s)(i[u],a[u],s):lh(a[u],s))}),o}(t,e,r):lh(e,r)}hd.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return hd(r,n,e)},{})};var dfe=hd;function _Be(t){var e=(t=t||{}).storage||window&&window.localStorage,r=t.key||"vuex";function n(l,d){var f=d.getItem(l);try{return typeof f=="string"?JSON.parse(f):typeof f=="object"?f:void 0}catch{}}function i(){return!0}function a(l,d,f){return f.setItem(l,JSON.stringify(d))}function s(l,d){return Array.isArray(d)?d.reduce(function(f,p){return function(_,S,E,O){return!/^(__proto__|constructor|prototype)$/.test(S)&&((S=S.split?S.split("."):S.slice(0)).slice(0,-1).reduce(function(h,v){return h[v]=h[v]||{}},_)[S.pop()]=E),_}(f,p,(m=l,(m=((b=p).split?b.split("."):b).reduce(function(_,S){return _&&_[S]},m))===void 0?void 0:m));var m,b},{}):l}function o(l){return function(d){return l.subscribe(d)}}(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var u,c=function(){return(t.getState||n)(r,e)};return t.fetchBeforeUse&&(u=c()),function(l){t.fetchBeforeUse||(u=c()),typeof u=="object"&&u!==null&&(l.replaceState(t.overwrite?u:dfe(l.state,u,{arrayMerge:t.arrayMerger||function(d,f){return f},clone:!1})),(t.rehydrated||function(){})(l)),(t.subscriber||o)(l)(function(d,f){(t.filter||i)(d)&&(t.setState||a)(r,(t.reducer||s)(f,t.paths),e)})}}var RO={exports:{}};const ffe="2.0.0",gH=256,hfe=Number.MAX_SAFE_INTEGER||9007199254740991,pfe=16,mfe=gH-6,gfe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Sy={MAX_LENGTH:gH,MAX_SAFE_COMPONENT_LENGTH:pfe,MAX_SAFE_BUILD_LENGTH:mfe,MAX_SAFE_INTEGER:hfe,RELEASE_TYPES:gfe,SEMVER_SPEC_VERSION:ffe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const vfe=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var Oy=vfe;(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n}=Sy,i=Oy;e=t.exports={};const a=e.re=[],s=e.safeRe=[],o=e.src=[],u=e.t={};let c=0;const l="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",r],[l,n]],f=m=>{for(const[b,_]of d)m=m.split(`${b}*`).join(`${b}{0,${_}}`).split(`${b}+`).join(`${b}{1,${_}}`);return m},p=(m,b,_)=>{const S=f(b),E=c++;i(m,E,b),u[m]=E,o[E]=b,a[E]=new RegExp(b,_?"g":void 0),s[E]=new RegExp(S,_?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${l}*`),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",`${l}+`),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*$")})(RO,RO.exports);var zp=RO.exports;const bfe=Object.freeze({loose:!0}),yfe=Object.freeze({}),_fe=t=>t?typeof t!="object"?bfe:t:yfe;var Lx=_fe;const E2=/^[0-9]+$/,vH=(t,e)=>{const r=E2.test(t),n=E2.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},wfe=(t,e)=>vH(e,t);var bH={compareIdentifiers:vH,rcompareIdentifiers:wfe};const Zm=Oy,{MAX_LENGTH:x2,MAX_SAFE_INTEGER:eg}=Sy,{safeRe:P2,t:C2}=zp,Sfe=Lx,{compareIdentifiers:ul}=bH;let Ofe=class ya{constructor(e,r){if(r=Sfe(r),e instanceof ya){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>x2)throw new TypeError(`version is longer than ${x2} characters`);Zm("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?P2[C2.LOOSE]:P2[C2.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>eg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>eg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>eg||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<eg)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(Zm("SemVer.compare",this.version,this.options,e),!(e instanceof ya)){if(typeof e=="string"&&e===this.version)return 0;e=new ya(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof ya||(e=new ya(e,this.options)),ul(this.major,e.major)||ul(this.minor,e.minor)||ul(this.patch,e.patch)}comparePre(e){if(e instanceof ya||(e=new ya(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(Zm("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 ul(n,i)}while(++r)}compareBuild(e){e instanceof ya||(e=new ya(e,this.options));let r=0;do{const n=this.build[r],i=e.build[r];if(Zm("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 ul(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]),ul(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 _n=Ofe;const A2=_n,Tfe=(t,e,r=!1)=>{if(t instanceof A2)return t;try{return new A2(t,e)}catch(n){if(!r)return null;throw n}};var Bd=Tfe;const Efe=Bd,xfe=(t,e)=>{const r=Efe(t,e);return r?r.version:null};var Pfe=xfe;const Cfe=Bd,Afe=(t,e)=>{const r=Cfe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};var Mfe=Afe;const M2=_n,$fe=(t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new M2(t instanceof M2?t.version:t,r).inc(e,n,i).version}catch{return null}};var kfe=$fe;const $2=Bd,Dfe=(t,e)=>{const r=$2(t,null,!0),n=$2(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 l=u?"pre":"";return r.major!==n.major?l+"major":r.minor!==n.minor?l+"minor":r.patch!==n.patch?l+"patch":"prerelease"};var Ife=Dfe;const Rfe=_n,Lfe=(t,e)=>new Rfe(t,e).major;var Nfe=Lfe;const Bfe=_n,Ffe=(t,e)=>new Bfe(t,e).minor;var jfe=Ffe;const Hfe=_n,zfe=(t,e)=>new Hfe(t,e).patch;var Vfe=zfe;const Ufe=Bd,Gfe=(t,e)=>{const r=Ufe(t,e);return r&&r.prerelease.length?r.prerelease:null};var Wfe=Gfe;const k2=_n,Yfe=(t,e,r)=>new k2(t,r).compare(new k2(e,r));var oa=Yfe;const Kfe=oa,qfe=(t,e,r)=>Kfe(e,t,r);var Xfe=qfe;const Jfe=oa,Qfe=(t,e)=>Jfe(t,e,!0);var Zfe=Qfe;const D2=_n,ehe=(t,e,r)=>{const n=new D2(t,r),i=new D2(e,r);return n.compare(i)||n.compareBuild(i)};var Nx=ehe;const the=Nx,rhe=(t,e)=>t.sort((r,n)=>the(r,n,e));var nhe=rhe;const ihe=Nx,ahe=(t,e)=>t.sort((r,n)=>ihe(n,r,e));var she=ahe;const ohe=oa,uhe=(t,e,r)=>ohe(t,e,r)>0;var Ty=uhe;const che=oa,lhe=(t,e,r)=>che(t,e,r)<0;var Bx=lhe;const dhe=oa,fhe=(t,e,r)=>dhe(t,e,r)===0;var yH=fhe;const hhe=oa,phe=(t,e,r)=>hhe(t,e,r)!==0;var _H=phe;const mhe=oa,ghe=(t,e,r)=>mhe(t,e,r)>=0;var Fx=ghe;const vhe=oa,bhe=(t,e,r)=>vhe(t,e,r)<=0;var jx=bhe;const yhe=yH,_he=_H,whe=Ty,She=Fx,Ohe=Bx,The=jx,Ehe=(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 yhe(t,r,n);case"!=":return _he(t,r,n);case">":return whe(t,r,n);case">=":return She(t,r,n);case"<":return Ohe(t,r,n);case"<=":return The(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}};var wH=Ehe;const xhe=_n,Phe=Bd,{safeRe:tg,t:rg}=zp,Che=(t,e)=>{if(t instanceof xhe)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(tg[rg.COERCE]);else{let n;for(;(n=tg[rg.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),tg[rg.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;tg[rg.COERCERTL].lastIndex=-1}return r===null?null:Phe(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,e)};var Ahe=Che,c1,I2;function Mhe(){return I2||(I2=1,c1=function(t){t.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}),c1}var $he=ot;ot.Node=lc;ot.create=ot;function ot(t){var e=this;if(e instanceof ot||(e=new ot),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}ot.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};ot.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++}};ot.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++}};ot.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)Dhe(this,arguments[t]);return this.length};ot.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)Ihe(this,arguments[t]);return this.length};ot.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}};ot.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}};ot.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};ot.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};ot.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};ot.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};ot.prototype.map=function(t,e){e=e||this;for(var r=new ot,n=this.head;n!==null;)r.push(t.call(e,n.value,this)),n=n.next;return r};ot.prototype.mapReverse=function(t,e){e=e||this;for(var r=new ot,n=this.tail;n!==null;)r.push(t.call(e,n.value,this)),n=n.prev;return r};ot.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};ot.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};ot.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};ot.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};ot.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 ot;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};ot.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 ot;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};ot.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=khe(this,i,r[n]);return a};ot.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 khe(t,e,r){var n=e===t.head?new lc(r,null,e,t):new lc(r,e,e.next,t);return n.next===null&&(t.tail=n),n.prev===null&&(t.head=n),t.length++,n}function Dhe(t,e){t.tail=new lc(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function Ihe(t,e){t.head=new lc(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function lc(t,e,r,n){if(!(this instanceof lc))return new lc(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{Mhe()(ot)}catch{}const Rhe=$he,$u=Symbol("max"),ps=Symbol("length"),cl=Symbol("lengthCalculator"),Ah=Symbol("allowStale"),Iu=Symbol("maxAge"),ds=Symbol("dispose"),R2=Symbol("noDisposeOnSet"),kr=Symbol("lruList"),Bi=Symbol("cache"),SH=Symbol("updateAgeOnGet"),l1=()=>1;class Lhe{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[$u]=e.max||1/0;const r=e.length||l1;if(this[cl]=typeof r!="function"?l1:r,this[Ah]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[Iu]=e.maxAge||0,this[ds]=e.dispose,this[R2]=e.noDisposeOnSet||!1,this[SH]=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[$u]=e||1/0,If(this)}get max(){return this[$u]}set allowStale(e){this[Ah]=!!e}get allowStale(){return this[Ah]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[Iu]=e,If(this)}get maxAge(){return this[Iu]}set lengthCalculator(e){typeof e!="function"&&(e=l1),e!==this[cl]&&(this[cl]=e,this[ps]=0,this[kr].forEach(r=>{r.length=this[cl](r.value,r.key),this[ps]+=r.length})),If(this)}get lengthCalculator(){return this[cl]}get length(){return this[ps]}get itemCount(){return this[kr].length}rforEach(e,r){r=r||this;for(let n=this[kr].tail;n!==null;){const i=n.prev;L2(this,e,n,r),n=i}}forEach(e,r){r=r||this;for(let n=this[kr].head;n!==null;){const i=n.next;L2(this,e,n,r),n=i}}keys(){return this[kr].toArray().map(e=>e.key)}values(){return this[kr].toArray().map(e=>e.value)}reset(){this[ds]&&this[kr]&&this[kr].length&&this[kr].forEach(e=>this[ds](e.key,e.value)),this[Bi]=new Map,this[kr]=new Rhe,this[ps]=0}dump(){return this[kr].map(e=>B0(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[kr]}set(e,r,n){if(n=n||this[Iu],n&&typeof n!="number")throw new TypeError("maxAge must be a number");const i=n?Date.now():0,a=this[cl](r,e);if(this[Bi].has(e)){if(a>this[$u])return Wl(this,this[Bi].get(e)),!1;const u=this[Bi].get(e).value;return this[ds]&&(this[R2]||this[ds](e,u.value)),u.now=i,u.maxAge=n,u.value=r,this[ps]+=a-u.length,u.length=a,this.get(e),If(this),!0}const s=new Nhe(e,r,a,i,n);return s.length>this[$u]?(this[ds]&&this[ds](e,r),!1):(this[ps]+=s.length,this[kr].unshift(s),this[Bi].set(e,this[kr].head),If(this),!0)}has(e){if(!this[Bi].has(e))return!1;const r=this[Bi].get(e).value;return!B0(this,r)}get(e){return d1(this,e,!0)}peek(e){return d1(this,e,!1)}pop(){const e=this[kr].tail;return e?(Wl(this,e),e.value):null}del(e){Wl(this,this[Bi].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[Bi].forEach((e,r)=>d1(this,r,!1))}}const d1=(t,e,r)=>{const n=t[Bi].get(e);if(n){const i=n.value;if(B0(t,i)){if(Wl(t,n),!t[Ah])return}else r&&(t[SH]&&(n.value.now=Date.now()),t[kr].unshiftNode(n));return i.value}},B0=(t,e)=>{if(!e||!e.maxAge&&!t[Iu])return!1;const r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t[Iu]&&r>t[Iu]},If=t=>{if(t[ps]>t[$u])for(let e=t[kr].tail;t[ps]>t[$u]&&e!==null;){const r=e.prev;Wl(t,e),e=r}},Wl=(t,e)=>{if(e){const r=e.value;t[ds]&&t[ds](r.key,r.value),t[ps]-=r.length,t[Bi].delete(r.key),t[kr].removeNode(e)}};class Nhe{constructor(e,r,n,i,a){this.key=e,this.value=r,this.length=n,this.now=i,this.maxAge=a||0}}const L2=(t,e,r,n)=>{let i=r.value;B0(t,i)&&(Wl(t,r),t[Ah]||(i=void 0)),i&&e.call(n,i.value,i.key,t)};var Bhe=Lhe,f1,N2;function ua(){if(N2)return f1;N2=1;class t{constructor($,D){if(D=n(D),$ instanceof t)return $.loose===!!D.loose&&$.includePrerelease===!!D.includePrerelease?$:new t($.raw,D);if($ instanceof i)return this.raw=$.value,this.set=[[$]],this.format(),this;if(this.options=D,this.loose=!!D.loose,this.includePrerelease=!!D.includePrerelease,this.raw=$.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(R=>!m(R[0])),this.set.length===0)this.set=[M];else if(this.set.length>1){for(const R of this.set)if(R.length===1&&b(R[0])){this.set=[R];break}}}this.format()}format(){return this.range=this.set.map($=>$.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange($){const M=((this.options.includePrerelease&&f)|(this.options.loose&&p))+":"+$,R=r.get(M);if(R)return R;const N=this.options.loose,j=N?o[u.HYPHENRANGELOOSE]:o[u.HYPHENRANGE];$=$.replace(j,A(this.options.includePrerelease)),a("hyphen replace",$),$=$.replace(o[u.COMPARATORTRIM],c),a("comparator trim",$),$=$.replace(o[u.TILDETRIM],l),a("tilde trim",$),$=$.replace(o[u.CARETTRIM],d),a("caret trim",$);let z=$.split(" ").map(Y=>S(Y,this.options)).join(" ").split(/\s+/).map(Y=>w(Y,this.options));N&&(z=z.filter(Y=>(a("loose invalid filter",Y,this.options),!!Y.match(o[u.COMPARATORLOOSE])))),a("range list",z);const V=new Map,J=z.map(Y=>new i(Y,this.options));for(const Y of J){if(m(Y))return[Y];V.set(Y.value,Y)}V.size>1&&V.has("")&&V.delete("");const re=[...V.values()];return r.set(M,re),re}intersects($,D){if(!($ instanceof t))throw new TypeError("a Range is required");return this.set.some(M=>_(M,D)&&$.set.some(R=>_(R,D)&&M.every(N=>R.every(j=>N.intersects(j,D)))))}test($){if(!$)return!1;if(typeof $=="string")try{$=new s($,this.options)}catch{return!1}for(let D=0;D<this.set.length;D++)if(P(this.set[D],$,this.options))return!0;return!1}}f1=t;const e=Bhe,r=new e({max:1e3}),n=Lx,i=Ey(),a=Oy,s=_n,{safeRe:o,t:u,comparatorTrimReplace:c,tildeTrimReplace:l,caretTrimReplace:d}=zp,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:p}=Sy,m=x=>x.value==="<0.0.0-0",b=x=>x.value==="",_=(x,$)=>{let D=!0;const M=x.slice();let R=M.pop();for(;D&&M.length;)D=M.every(N=>R.intersects(N,$)),R=M.pop();return D},S=(x,$)=>(a("comp",x,$),x=v(x,$),a("caret",x),x=O(x,$),a("tildes",x),x=T(x,$),a("xrange",x),x=k(x,$),a("stars",x),x),E=x=>!x||x.toLowerCase()==="x"||x==="*",O=(x,$)=>x.trim().split(/\s+/).map(D=>h(D,$)).join(" "),h=(x,$)=>{const D=$.loose?o[u.TILDELOOSE]:o[u.TILDE];return x.replace(D,(M,R,N,j,z)=>{a("tilde",x,M,R,N,j,z);let V;return E(R)?V="":E(N)?V=`>=${R}.0.0 <${+R+1}.0.0-0`:E(j)?V=`>=${R}.${N}.0 <${R}.${+N+1}.0-0`:z?(a("replaceTilde pr",z),V=`>=${R}.${N}.${j}-${z} <${R}.${+N+1}.0-0`):V=`>=${R}.${N}.${j} <${R}.${+N+1}.0-0`,a("tilde return",V),V})},v=(x,$)=>x.trim().split(/\s+/).map(D=>g(D,$)).join(" "),g=(x,$)=>{a("caret",x,$);const D=$.loose?o[u.CARETLOOSE]:o[u.CARET],M=$.includePrerelease?"-0":"";return x.replace(D,(R,N,j,z,V)=>{a("caret",x,R,N,j,z,V);let J;return E(N)?J="":E(j)?J=`>=${N}.0.0${M} <${+N+1}.0.0-0`:E(z)?N==="0"?J=`>=${N}.${j}.0${M} <${N}.${+j+1}.0-0`:J=`>=${N}.${j}.0${M} <${+N+1}.0.0-0`:V?(a("replaceCaret pr",V),N==="0"?j==="0"?J=`>=${N}.${j}.${z}-${V} <${N}.${j}.${+z+1}-0`:J=`>=${N}.${j}.${z}-${V} <${N}.${+j+1}.0-0`:J=`>=${N}.${j}.${z}-${V} <${+N+1}.0.0-0`):(a("no pr"),N==="0"?j==="0"?J=`>=${N}.${j}.${z}${M} <${N}.${j}.${+z+1}-0`:J=`>=${N}.${j}.${z}${M} <${N}.${+j+1}.0-0`:J=`>=${N}.${j}.${z} <${+N+1}.0.0-0`),a("caret return",J),J})},T=(x,$)=>(a("replaceXRanges",x,$),x.split(/\s+/).map(D=>C(D,$)).join(" ")),C=(x,$)=>{x=x.trim();const D=$.loose?o[u.XRANGELOOSE]:o[u.XRANGE];return x.replace(D,(M,R,N,j,z,V)=>{a("xRange",x,M,R,N,j,z,V);const J=E(N),re=J||E(j),Y=re||E(z),U=Y;return R==="="&&U&&(R=""),V=$.includePrerelease?"-0":"",J?R===">"||R==="<"?M="<0.0.0-0":M="*":R&&U?(re&&(j=0),z=0,R===">"?(R=">=",re?(N=+N+1,j=0,z=0):(j=+j+1,z=0)):R==="<="&&(R="<",re?N=+N+1:j=+j+1),R==="<"&&(V="-0"),M=`${R+N}.${j}.${z}${V}`):re?M=`>=${N}.0.0${V} <${+N+1}.0.0-0`:Y&&(M=`>=${N}.${j}.0${V} <${N}.${+j+1}.0-0`),a("xRange return",M),M})},k=(x,$)=>(a("replaceStars",x,$),x.trim().replace(o[u.STAR],"")),w=(x,$)=>(a("replaceGTE0",x,$),x.trim().replace(o[$.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=x=>($,D,M,R,N,j,z,V,J,re,Y,U,K)=>(E(M)?D="":E(R)?D=`>=${M}.0.0${x?"-0":""}`:E(N)?D=`>=${M}.${R}.0${x?"-0":""}`:j?D=`>=${D}`:D=`>=${D}${x?"-0":""}`,E(J)?V="":E(re)?V=`<${+J+1}.0.0-0`:E(Y)?V=`<${J}.${+re+1}.0-0`:U?V=`<=${J}.${re}.${Y}-${U}`:x?V=`<${J}.${re}.${+Y+1}-0`:V=`<=${V}`,`${D} ${V}`.trim()),P=(x,$,D)=>{for(let M=0;M<x.length;M++)if(!x[M].test($))return!1;if($.prerelease.length&&!D.includePrerelease){for(let M=0;M<x.length;M++)if(a(x[M].semver),x[M].semver!==i.ANY&&x[M].semver.prerelease.length>0){const R=x[M].semver;if(R.major===$.major&&R.minor===$.minor&&R.patch===$.patch)return!0}return!1}return!0};return f1}var h1,B2;function Ey(){if(B2)return h1;B2=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(l,d){if(d=r(d),l instanceof e){if(l.loose===!!d.loose)return l;l=l.value}l=l.trim().split(/\s+/).join(" "),s("comparator",l,d),this.options=d,this.loose=!!d.loose,this.parse(l),this.semver===t?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(l){const d=this.options.loose?n[i.COMPARATORLOOSE]:n[i.COMPARATOR],f=l.match(d);if(!f)throw new TypeError(`Invalid comparator: ${l}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new o(f[2],this.options.loose):this.semver=t}toString(){return this.value}test(l){if(s("Comparator.test",l,this.options.loose),this.semver===t||l===t)return!0;if(typeof l=="string")try{l=new o(l,this.options)}catch{return!1}return a(l,this.operator,this.semver,this.options)}intersects(l,d){if(!(l instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new u(l.value,d).test(this.value):l.operator===""?l.value===""?!0:new u(this.value,d).test(l.semver):(d=r(d),d.includePrerelease&&(this.value==="<0.0.0-0"||l.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||l.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&l.operator.startsWith(">")||this.operator.startsWith("<")&&l.operator.startsWith("<")||this.semver.version===l.semver.version&&this.operator.includes("=")&&l.operator.includes("=")||a(this.semver,"<",l.semver,d)&&this.operator.startsWith(">")&&l.operator.startsWith("<")||a(this.semver,">",l.semver,d)&&this.operator.startsWith("<")&&l.operator.startsWith(">")))}}h1=e;const r=Lx,{safeRe:n,t:i}=zp,a=wH,s=Oy,o=_n,u=ua();return h1}const Fhe=ua(),jhe=(t,e,r)=>{try{e=new Fhe(e,r)}catch{return!1}return e.test(t)};var xy=jhe;const Hhe=ua(),zhe=(t,e)=>new Hhe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var Vhe=zhe;const Uhe=_n,Ghe=ua(),Whe=(t,e,r)=>{let n=null,i=null,a=null;try{a=new Ghe(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===-1)&&(n=s,i=new Uhe(n,r))}),n};var Yhe=Whe;const Khe=_n,qhe=ua(),Xhe=(t,e,r)=>{let n=null,i=null,a=null;try{a=new qhe(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===1)&&(n=s,i=new Khe(n,r))}),n};var Jhe=Xhe;const p1=_n,Qhe=ua(),F2=Ty,Zhe=(t,e)=>{t=new Qhe(t,e);let r=new p1("0.0.0");if(t.test(r)||(r=new p1("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 p1(s.semver.version);switch(s.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!a||F2(o,a))&&(a=o);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),a&&(!r||F2(r,a))&&(r=a)}return r&&t.test(r)?r:null};var epe=Zhe;const tpe=ua(),rpe=(t,e)=>{try{return new tpe(t,e).range||"*"}catch{return null}};var npe=rpe;const ipe=_n,OH=Ey(),{ANY:ape}=OH,spe=ua(),ope=xy,j2=Ty,H2=Bx,upe=jx,cpe=Fx,lpe=(t,e,r,n)=>{t=new ipe(t,n),e=new spe(e,n);let i,a,s,o,u;switch(r){case">":i=j2,a=upe,s=H2,o=">",u=">=";break;case"<":i=H2,a=cpe,s=j2,o="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ope(t,e,n))return!1;for(let c=0;c<e.set.length;++c){const l=e.set[c];let d=null,f=null;if(l.forEach(p=>{p.semver===ape&&(p=new OH(">=0.0.0")),d=d||p,f=f||p,i(p.semver,d.semver,n)?d=p:s(p.semver,f.semver,n)&&(f=p)}),d.operator===o||d.operator===u||(!f.operator||f.operator===o)&&a(t,f.semver))return!1;if(f.operator===u&&s(t,f.semver))return!1}return!0};var Hx=lpe;const dpe=Hx,fpe=(t,e,r)=>dpe(t,e,">",r);var hpe=fpe;const ppe=Hx,mpe=(t,e,r)=>ppe(t,e,"<",r);var gpe=mpe;const z2=ua(),vpe=(t,e,r)=>(t=new z2(t,r),e=new z2(e,r),t.intersects(e,r));var bpe=vpe;const ype=xy,_pe=oa;var wpe=(t,e,r)=>{const n=[];let i=null,a=null;const s=t.sort((l,d)=>_pe(l,d,r));for(const l of s)ype(l,e,r)?(a=l,i||(i=l)):(a&&n.push([i,a]),a=null,i=null);i&&n.push([i,null]);const o=[];for(const[l,d]of n)l===d?o.push(l):!d&&l===s[0]?o.push("*"):d?l===s[0]?o.push(`<=${d}`):o.push(`${l} - ${d}`):o.push(`>=${l}`);const u=o.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return u.length<c.length?u:e};const V2=ua(),zx=Ey(),{ANY:m1}=zx,Rf=xy,Vx=oa,Spe=(t,e,r={})=>{if(t===e)return!0;t=new V2(t,r),e=new V2(e,r);let n=!1;e:for(const i of t.set){for(const a of e.set){const s=Tpe(i,a,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},Ope=[new zx(">=0.0.0-0")],U2=[new zx(">=0.0.0")],Tpe=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===m1){if(e.length===1&&e[0].semver===m1)return!0;r.includePrerelease?t=Ope:t=U2}if(e.length===1&&e[0].semver===m1){if(r.includePrerelease)return!0;e=U2}const n=new Set;let i,a;for(const p of t)p.operator===">"||p.operator===">="?i=G2(i,p,r):p.operator==="<"||p.operator==="<="?a=W2(a,p,r):n.add(p.semver);if(n.size>1)return null;let s;if(i&&a){if(s=Vx(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&&!Rf(p,String(i),r)||a&&!Rf(p,String(a),r))return null;for(const m of e)if(!Rf(p,String(m),r))return!1;return!0}let o,u,c,l,d=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,f=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(l=l||p.operator===">"||p.operator===">=",c=c||p.operator==="<"||p.operator==="<=",i){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator===">"||p.operator===">="){if(o=G2(i,p,r),o===p&&o!==i)return!1}else if(i.operator===">="&&!Rf(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=W2(a,p,r),u===p&&u!==a)return!1}else if(a.operator==="<="&&!Rf(a.semver,String(p),r))return!1}if(!p.operator&&(a||i)&&s!==0)return!1}return!(i&&c&&!a&&s!==0||a&&l&&!i&&s!==0||f||d)},G2=(t,e,r)=>{if(!t)return e;const n=Vx(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},W2=(t,e,r)=>{if(!t)return e;const n=Vx(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t};var Epe=Spe;const g1=zp,Y2=Sy,xpe=_n,K2=bH,Ppe=Bd,Cpe=Pfe,Ape=Mfe,Mpe=kfe,$pe=Ife,kpe=Nfe,Dpe=jfe,Ipe=Vfe,Rpe=Wfe,Lpe=oa,Npe=Xfe,Bpe=Zfe,Fpe=Nx,jpe=nhe,Hpe=she,zpe=Ty,Vpe=Bx,Upe=yH,Gpe=_H,Wpe=Fx,Ype=jx,Kpe=wH,qpe=Ahe,Xpe=Ey(),Jpe=ua(),Qpe=xy,Zpe=Vhe,eme=Yhe,tme=Jhe,rme=epe,nme=npe,ime=Hx,ame=hpe,sme=gpe,ome=bpe,ume=wpe,cme=Epe;var lme={parse:Ppe,valid:Cpe,clean:Ape,inc:Mpe,diff:$pe,major:kpe,minor:Dpe,patch:Ipe,prerelease:Rpe,compare:Lpe,rcompare:Npe,compareLoose:Bpe,compareBuild:Fpe,sort:jpe,rsort:Hpe,gt:zpe,lt:Vpe,eq:Upe,neq:Gpe,gte:Wpe,lte:Ype,cmp:Kpe,coerce:qpe,Comparator:Xpe,Range:Jpe,satisfies:Qpe,toComparators:Zpe,maxSatisfying:eme,minSatisfying:tme,minVersion:rme,validRange:nme,outside:ime,gtr:ame,ltr:sme,intersects:ome,simplifyRange:ume,subset:cme,SemVer:xpe,re:g1.re,src:g1.src,tokens:g1.t,SEMVER_SPEC_VERSION:Y2.SEMVER_SPEC_VERSION,RELEASE_TYPES:Y2.RELEASE_TYPES,compareIdentifiers:K2.compareIdentifiers,rcompareIdentifiers:K2.rcompareIdentifiers};const wBe=hi(lme),TH=Object.prototype.toString;function EH(t){switch(TH.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Is(t,Error)}}function Fd(t,e){return TH.call(t)===`[object ${e}]`}function Ux(t){return Fd(t,"ErrorEvent")}function q2(t){return Fd(t,"DOMError")}function dme(t){return Fd(t,"DOMException")}function Fa(t){return Fd(t,"String")}function Gx(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function Wx(t){return t===null||Gx(t)||typeof t!="object"&&typeof t!="function"}function pd(t){return Fd(t,"Object")}function Py(t){return typeof Event<"u"&&Is(t,Event)}function fme(t){return typeof Element<"u"&&Is(t,Element)}function hme(t){return Fd(t,"RegExp")}function Vp(t){return!!(t&&t.then&&typeof t.then=="function")}function pme(t){return pd(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function xH(t){return typeof t=="number"&&t!==t}function Is(t,e){try{return t instanceof e}catch{return!1}}function PH(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function Yl(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function X2(t,e){if(!Array.isArray(t))return"";const r=[];for(let n=0;n<t.length;n++){const i=t[n];try{PH(i)?r.push("[VueViewModel]"):r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(e)}function mme(t,e,r=!1){return Fa(t)?hme(e)?e.test(t):Fa(e)?r?t===e:t.includes(e):!1:!1}function jd(t,e=[],r=!1){return e.some(n=>mme(t,n,r))}function CH(t,e,r=250,n,i,a,s){if(!a.exception||!a.exception.values||!s||!Is(s.originalException,Error))return;const o=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;o&&(a.exception.values=gme(LO(t,e,i,s.originalException,n,a.exception.values,o,0),r))}function LO(t,e,r,n,i,a,s,o){if(a.length>=r+1)return a;let u=[...a];if(Is(n[i],Error)){J2(s,o);const c=t(e,n[i]),l=u.length;Q2(c,i,l,o),u=LO(t,e,r,n[i],i,[c,...u],c,l)}return Array.isArray(n.errors)&&n.errors.forEach((c,l)=>{if(Is(c,Error)){J2(s,o);const d=t(e,c),f=u.length;Q2(d,`errors[${l}]`,f,o),u=LO(t,e,r,c,i,[d,...u],d,f)}}),u}function J2(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function Q2(t,e,r,n){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:r,parent_id:n}}function gme(t,e){return t.map(r=>(r.value&&(r.value=Yl(r.value,e)),r))}function ng(t){return t&&t.Math==Math?t:void 0}const je=typeof globalThis=="object"&&ng(globalThis)||typeof window=="object"&&ng(window)||typeof self=="object"&&ng(self)||typeof global=="object"&&ng(global)||function(){return this}()||{};function Yx(){return je}function AH(t,e,r){const n=r||je,i=n.__SENTRY__=n.__SENTRY__||{};return i[t]||(i[t]=e())}const Kl=Yx(),vme=80;function dc(t,e={}){if(!t)return"<unknown>";try{let r=t;const n=5,i=[];let a=0,s=0;const o=" > ",u=o.length;let c;const l=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||vme;for(;r&&a++<n&&(c=bme(r,l),!(c==="html"||a>1&&s+i.length*u+c.length>=d));)i.push(c),s+=c.length,r=r.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function bme(t,e){const r=t,n=[];let i,a,s,o,u;if(!r||!r.tagName)return"";if(Kl.HTMLElement&&r instanceof HTMLElement&&r.dataset&&r.dataset.sentryComponent)return r.dataset.sentryComponent;n.push(r.tagName.toLowerCase());const c=e&&e.length?e.filter(d=>r.getAttribute(d)).map(d=>[d,r.getAttribute(d)]):null;if(c&&c.length)c.forEach(d=>{n.push(`[${d[0]}="${d[1]}"]`)});else if(r.id&&n.push(`#${r.id}`),i=r.className,i&&Fa(i))for(a=i.split(/\s+/),u=0;u<a.length;u++)n.push(`.${a[u]}`);const l=["aria-label","type","name","title","alt"];for(u=0;u<l.length;u++)s=l[u],o=r.getAttribute(s),o&&n.push(`[${s}="${o}"]`);return n.join("")}function MH(){try{return Kl.document.location.href}catch{return""}}function $H(t){return Kl.document&&Kl.document.querySelector?Kl.document.querySelector(t):null}function kH(t){if(!Kl.HTMLElement)return null;let e=t;const r=5;for(let n=0;n<r;n++){if(!e)return null;if(e instanceof HTMLElement&&e.dataset.sentryComponent)return e.dataset.sentryComponent;e=e.parentNode}return null}const Hd=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,yme="Sentry Logger ",NO=["debug","info","warn","error","log","assert","trace"],F0={};function Ga(t){if(!("console"in je))return t();const e=je.console,r={},n=Object.keys(F0);n.forEach(i=>{const a=F0[i];r[i]=e[i],e[i]=a});try{return t()}finally{n.forEach(i=>{e[i]=r[i]})}}function _me(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return Hd?NO.forEach(r=>{e[r]=(...n)=>{t&&Ga(()=>{je.console[r](`${yme}[${r}]:`,...n)})}}):NO.forEach(r=>{e[r]=()=>{}}),e}const W=_me(),wme=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Sme(t){return t==="http"||t==="https"}function zd(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 DH(t){const e=wme.exec(t);if(!e){Ga(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[r,n,i="",a,s="",o]=e.slice(1);let u="",c=o;const l=c.split("/");if(l.length>1&&(u=l.slice(0,-1).join("/"),c=l.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return IH({host:a,pass:i,path:u,projectId:c,port:s,protocol:r,publicKey:n})}function IH(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Ome(t){if(!Hd)return!0;const{port:e,projectId:r,protocol:n}=t;return["protocol","publicKey","host","projectId"].find(s=>t[s]?!1:(W.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:r.match(/^\d+$/)?Sme(n)?e&&isNaN(parseInt(e,10))?(W.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(W.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):(W.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function RH(t){const e=typeof t=="string"?DH(t):IH(t);if(!(!e||!Ome(e)))return e}class Ma 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}}function Lr(t,e,r){if(!(e in t))return;const n=t[e],i=r(n);typeof i=="function"&&LH(i,n),t[e]=i}function sp(t,e,r){try{Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}catch{Hd&&W.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function LH(t,e){try{const r=e.prototype||{};t.prototype=e.prototype=r,sp(t,"__sentry_original__",e)}catch{}}function Kx(t){return t.__sentry_original__}function Tme(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function NH(t){if(EH(t))return{message:t.message,name:t.name,stack:t.stack,...eR(t)};if(Py(t)){const e={type:t.type,target:Z2(t.target),currentTarget:Z2(t.currentTarget),...eR(t)};return typeof CustomEvent<"u"&&Is(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function Z2(t){try{return fme(t)?dc(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function eR(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 Eme(t,e=40){const r=Object.keys(NH(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return Yl(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:Yl(i,e)}return""}function Xr(t){return BO(t,new Map)}function BO(t,e){if(xme(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]=BO(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(BO(i,e))}),n}return t}function xme(t){if(!pd(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}const BH=50,tR=/\(error: (.*)\)/,rR=/captureMessage|captureException/;function FH(...t){const e=t.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0)=>{const i=[],a=r.split(`
`);for(let s=n;s<a.length;s++){const o=a[s];if(o.length>1024)continue;const u=tR.test(o)?o.replace(tR,"$1"):o;if(!u.match(/\S*Error: /)){for(const c of e){const l=c(u);if(l){i.push(l);break}}if(i.length>=BH)break}}return Cme(i)}}function Pme(t){return Array.isArray(t)?FH(...t):t}function Cme(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop(),e.reverse(),rR.test(e[e.length-1].function||"")&&(e.pop(),rR.test(e[e.length-1].function||"")&&e.pop()),e.slice(0,BH).map(r=>({...r,filename:r.filename||e[e.length-1].filename,function:r.function||"?"}))}const v1="<anonymous>";function Rs(t){try{return!t||typeof t!="function"?v1:t.name||v1}catch{return v1}}const vv={},nR={};function Pc(t,e){vv[t]=vv[t]||[],vv[t].push(e)}function Cc(t,e){nR[t]||(e(),nR[t]=!0)}function Gi(t,e){const r=t&&vv[t];if(r)for(const n of r)try{n(e)}catch(i){Hd&&W.error(`Error while triggering instrumentation handler.
Type: ${t}
Name: ${Rs(n)}
Error:`,i)}}function Ame(t){const e="console";Pc(e,t),Cc(e,Mme)}function Mme(){"console"in je&&NO.forEach(function(t){t in je.console&&Lr(je.console,t,function(e){return F0[t]=e,function(...r){Gi("console",{args:r,level:t});const i=F0[t];i&&i.apply(je.console,r)}})})}function jt(){const t=je,e=t.crypto||t.msCrypto;let r=()=>Math.random()*16;try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(r=()=>{const n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function jH(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function ho(t){const{message:e,event_id:r}=t;if(e)return e;const n=jH(t);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function FO(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 op(t,e){const r=jH(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 iR(t){if(t&&t.__sentry_captured__)return!0;try{sp(t,"__sentry_captured__",!0)}catch{}return!1}function qx(t){return Array.isArray(t)?t:[t]}const Ol=je,$me=1e3;let aR,jO,HO;function HH(t){const e="dom";Pc(e,t),Cc(e,kme)}function kme(){if(!Ol.document)return;const t=Gi.bind(null,"dom"),e=sR(t,!0);Ol.document.addEventListener("click",e,!1),Ol.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(r=>{const n=Ol[r]&&Ol[r].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Lr(n,"addEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,c=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},l=c[a]=c[a]||{refCount:0};if(!l.handler){const d=sR(t);l.handler=d,i.call(this,a,d,o)}l.refCount++}catch{}return i.call(this,a,s,o)}}),Lr(n,"removeEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,c=u.__sentry_instrumentation_handlers__||{},l=c[a];l&&(l.refCount--,l.refCount<=0&&(i.call(this,a,l.handler,o),l.handler=void 0,delete c[a]),Object.keys(c).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,s,o)}}))})}function Dme(t){if(t.type!==jO)return!1;try{if(!t.target||t.target._sentryId!==HO)return!1}catch{}return!0}function Ime(t,e){return t!=="keypress"?!1:!e||!e.tagName?!0:!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)}function sR(t,e=!1){return r=>{if(!r||r._sentryCaptured)return;const n=Rme(r);if(Ime(r.type,n))return;sp(r,"_sentryCaptured",!0),n&&!n._sentryId&&sp(n,"_sentryId",jt());const i=r.type==="keypress"?"input":r.type;Dme(r)||(t({event:r,name:i,global:e}),jO=r.type,HO=n?n._sentryId:void 0),clearTimeout(aR),aR=Ol.setTimeout(()=>{HO=void 0,jO=void 0},$me)}}function Rme(t){try{return t.target}catch{return null}}const zO=Yx();function zH(){if(!("fetch"in zO))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function VO(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function Lme(){if(typeof EdgeRuntime=="string")return!0;if(!zH())return!1;if(VO(zO.fetch))return!0;let t=!1;const e=zO.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=VO(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){Hd&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function Xx(t){const e="fetch";Pc(e,t),Cc(e,Nme)}function Nme(){Lme()&&Lr(je,"fetch",function(t){return function(...e){const{method:r,url:n}=Bme(e),i={args:e,fetchData:{method:r,url:n},startTimestamp:Date.now()};return Gi("fetch",{...i}),t.apply(je,e).then(a=>{const s={...i,endTimestamp:Date.now(),response:a};return Gi("fetch",s),a},a=>{const s={...i,endTimestamp:Date.now(),error:a};throw Gi("fetch",s),a})}})}function UO(t,e){return!!t&&typeof t=="object"&&!!t[e]}function oR(t){return typeof t=="string"?t:t?UO(t,"url")?t.url:t.toString?t.toString():"":""}function Bme(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[r,n]=t;return{url:oR(r),method:UO(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:oR(e),method:UO(e,"method")?String(e.method).toUpperCase():"GET"}}let ig=null;function VH(t){const e="error";Pc(e,t),Cc(e,Fme)}function Fme(){ig=je.onerror,je.onerror=function(t,e,r,n,i){return Gi("error",{column:n,error:i,line:r,msg:t,url:e}),ig&&!ig.__SENTRY_LOADER__?ig.apply(this,arguments):!1},je.onerror.__SENTRY_INSTRUMENTED__=!0}let ag=null;function UH(t){const e="unhandledrejection";Pc(e,t),Cc(e,jme)}function jme(){ag=je.onunhandledrejection,je.onunhandledrejection=function(t){return Gi("unhandledrejection",t),ag&&!ag.__SENTRY_LOADER__?ag.apply(this,arguments):!0},je.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const sg=Yx();function Hme(){const t=sg.chrome,e=t&&t.app&&t.app.runtime,r="history"in sg&&!!sg.history.pushState&&!!sg.history.replaceState;return!e&&r}const Lf=je;let og;function Up(t){const e="history";Pc(e,t),Cc(e,zme)}function zme(){if(!Hme())return;const t=Lf.onpopstate;Lf.onpopstate=function(...r){const n=Lf.location.href,i=og;if(og=n,Gi("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=og,s=String(i);og=s,Gi("history",{from:a,to:s})}return r.apply(this,n)}}Lr(Lf.history,"pushState",e),Lr(Lf.history,"replaceState",e)}const Vme=je,vo="__sentry_xhr_v3__";function Jx(t){const e="xhr";Pc(e,t),Cc(e,Ume)}function Ume(){if(!Vme.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;Lr(t,"open",function(e){return function(...r){const n=Date.now(),i=Fa(r[0])?r[0].toUpperCase():void 0,a=Gme(r[1]);if(!i||!a)return e.apply(this,r);this[vo]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const o=this[vo];if(o&&this.readyState===4){try{o.status_code=this.status}catch{}const u={args:[i,a],endTimestamp:Date.now(),startTimestamp:n,xhr:this};Gi("xhr",u)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?Lr(this,"onreadystatechange",function(o){return function(...u){return s(),o.apply(this,u)}}):this.addEventListener("readystatechange",s),Lr(this,"setRequestHeader",function(o){return function(...u){const[c,l]=u,d=this[vo];return d&&Fa(c)&&Fa(l)&&(d.request_headers[c.toLowerCase()]=l),o.apply(this,u)}}),e.apply(this,r)}}),Lr(t,"send",function(e){return function(...r){const n=this[vo];if(!n)return e.apply(this,r);r[0]!==void 0&&(n.body=r[0]);const i={args:[n.method,n.url],startTimestamp:Date.now(),xhr:this};return Gi("xhr",i),e.apply(this,r)}})}function Gme(t){if(Fa(t))return t;try{return t.toString()}catch{}}function Wme(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Yme(){return"npm"}function Kme(){return!Wme()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function GO(){return typeof window<"u"&&(!Kme()||qme())}function qme(){return je.process!==void 0&&je.process.type==="renderer"}function Xme(){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 Ca(t,e=100,r=1/0){try{return WO("",t,e,r)}catch(n){return{ERROR:`**non-serializable** (${n})`}}}function GH(t,e=3,r=100*1024){const n=Ca(t,e);return ege(n)>r?GH(t,e-1,r):n}function WO(t,e,r=1/0,n=1/0,i=Xme()){const[a,s]=i;if(e==null||["number","boolean","string"].includes(typeof e)&&!xH(e))return e;const o=Jme(t,e);if(!o.startsWith("[object "))return o;if(e.__sentry_skip_normalization__)return e;const u=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:r;if(u===0)return o.replace("object ","");if(a(e))return"[Circular ~]";const c=e;if(c&&typeof c.toJSON=="function")try{const p=c.toJSON();return WO("",p,u-1,n,i)}catch{}const l=Array.isArray(e)?[]:{};let d=0;const f=NH(e);for(const p in f){if(!Object.prototype.hasOwnProperty.call(f,p))continue;if(d>=n){l[p]="[MaxProperties ~]";break}const m=f[p];l[p]=WO(p,m,u-1,n,i),d++}return s(e),l}function Jme(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&e===global)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(PH(e))return"[VueViewModel]";if(pme(e))return"[SyntheticEvent]";if(typeof e=="number"&&e!==e)return"[NaN]";if(typeof e=="function")return`[Function: ${Rs(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const r=Qme(e);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function Qme(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}function Zme(t){return~-encodeURI(t).split(/%..|./).length}function ege(t){return Zme(JSON.stringify(t))}var fs;(function(t){t[t.PENDING=0]="PENDING";const r=1;t[t.RESOLVED=r]="RESOLVED";const n=2;t[t.REJECTED=n]="REJECTED"})(fs||(fs={}));function md(t){return new ei(e=>{e(t)})}function Qx(t){return new ei((e,r)=>{r(t)})}class ei{constructor(e){ei.prototype.__init.call(this),ei.prototype.__init2.call(this),ei.prototype.__init3.call(this),ei.prototype.__init4.call(this),this._state=fs.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(r){this._reject(r)}}then(e,r){return new ei((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 ei((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)})})}__init(){this._resolve=e=>{this._setResult(fs.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(fs.REJECTED,e)}}__init3(){this._setResult=(e,r)=>{if(this._state===fs.PENDING){if(Vp(r)){r.then(this._resolve,this._reject);return}this._state=e,this._value=r,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===fs.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(r=>{r[0]||(this._state===fs.RESOLVED&&r[1](this._value),this._state===fs.REJECTED&&r[2](this._value),r[0]=!0)})}}}function tge(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 Qx(new Ma("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 ei((o,u)=>{let c=e.length;if(!c)return o(!0);const l=setTimeout(()=>{s&&s>0&&o(!1)},s);e.forEach(d=>{md(d).then(()=>{--c||(clearTimeout(l),o(!0))},u)})})}return{$:e,add:i,drain:a}}function bv(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],search:r,hash:n,relative:e[5]+r+n}}const rge=["fatal","error","warning","log","info","debug"];function nge(t){return t==="warn"?"warning":rge.includes(t)?t:"log"}const WH=1e3;function Gp(){return Date.now()/WH}function ige(){const{performance:t}=je;if(!t||!t.now)return Gp;const e=Date.now()-t.now(),r=t.timeOrigin==null?e:t.timeOrigin;return()=>(r+t.now())/WH}const Qo=ige(),bn=(()=>{const{performance:t}=je;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,c=u<e;return a||c?i<=u?t.timeOrigin:s:n})(),YO="baggage",YH="sentry-",age=/^sentry-/,sge=8192;function oge(t){if(!Fa(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce((n,i)=>{const a=uR(i);for(const s of Object.keys(a))n[s]=a[s];return n},{});else{if(!t)return;e=uR(t)}const r=Object.entries(e).reduce((n,[i,a])=>{if(i.match(age)){const s=i.slice(YH.length);n[s]=a}return n},{});if(Object.keys(r).length>0)return r}function KH(t){if(!t)return;const e=Object.entries(t).reduce((r,[n,i])=>(i&&(r[`${YH}${n}`]=i),r),{});return uge(e)}function uR(t){return t.split(",").map(e=>e.split("=").map(r=>decodeURIComponent(r.trim()))).reduce((e,[r,n])=>(e[r]=n,e),{})}function uge(t){if(Object.keys(t).length!==0)return Object.entries(t).reduce((e,[r,n],i)=>{const a=`${encodeURIComponent(r)}=${encodeURIComponent(n)}`,s=i===0?a:`${e},${a}`;return s.length>sge?(Hd&&W.warn(`Not adding key: ${r} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}const cge=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function qH(t){if(!t)return;const e=t.match(cge);if(!e)return;let r;return e[3]==="1"?r=!0:e[3]==="0"&&(r=!1),{traceId:e[1],parentSampled:r,parentSpanId:e[2]}}function Zx(t,e){const r=qH(t),n=oge(e),{traceId:i,parentSpanId:a,parentSampled:s}=r||{};return r?{traceparentData:r,dynamicSamplingContext:n||{},propagationContext:{traceId:i||jt(),parentSpanId:a||jt().substring(16),spanId:jt().substring(16),sampled:s,dsc:n||{}}}:{traceparentData:r,dynamicSamplingContext:void 0,propagationContext:{traceId:i||jt(),spanId:jt().substring(16)}}}function eP(t=jt(),e=jt().substring(16),r){let n="";return r!==void 0&&(n=r?"-1":"-0"),`${t}-${e}${n}`}function Ac(t,e=[]){return[t,e]}function lge(t,e){const[r,n]=t;return[r,[...n,e]]}function gd(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 dge(t,e){return gd(t,(r,n)=>e.includes(n))}function KO(t,e){return(e||new TextEncoder).encode(t)}function XH(t,e){const[r,n]=t;let i=JSON.stringify(r);function a(s){typeof i=="string"?i=typeof s=="string"?i+s:[KO(i,e),s]:i.push(typeof s=="string"?KO(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 c;try{c=JSON.stringify(u)}catch{c=JSON.stringify(Ca(u))}a(c)}}return typeof i=="string"?i:fge(i)}function fge(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 hge(t,e,r){let n=typeof t=="string"?e.encode(t):t;function i(u){const c=n.subarray(0,u);return n=n.subarray(u+1),c}function a(){let u=n.indexOf(10);return u<0&&(u=n.length),JSON.parse(r.decode(i(u)))}const s=a(),o=[];for(;n.length;){const u=a(),c=typeof u.length=="number"?u.length:void 0;o.push([u,c?i(c):a()])}return[s,o]}function pge(t,e){const r=typeof t.data=="string"?KO(t.data,e):t.data;return[Xr({type:"attachment",length:r.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),r]}const mge={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function cR(t){return mge[t]}function tP(t){if(!t||!t.sdk)return;const{name:e,version:r}=t.sdk;return{name:e,version:r}}function JH(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&&n&&{dsn:zd(n)},...i&&{trace:Xr({...i})}}}function gge(t,e,r){const n=[{type:"client_report"},{timestamp:r||Gp(),discarded_events:t}];return Ac(e?{dsn:e}:{},[n])}const vge=60*1e3;function QH(t,e=Date.now()){const r=parseInt(`${t}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${t}`);return isNaN(n)?vge:n-e}function bge(t,e){return t[e]||t.all||0}function ZH(t,e,r=Date.now()){return bge(t,e)>r}function ez(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,c]=o.split(":",2),l=parseInt(u,10),d=(isNaN(l)?60:l)*1e3;if(!c)i.all=n+d;else for(const f of c.split(";"))i[f]=n+d}else s?i.all=n+QH(s,n):e===429&&(i.all=n+60*1e3);return i}function yge(t,e){return t(e.stack||"",1)}function _ge(t,e){const r={type:e.name||e.constructor.name,value:e.message},n=yge(t,e);return n.length&&(r.stacktrace={frames:n}),r}function wge(t,e){return t??e()}function yv(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}const ge=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Wp="production";function rP(){return AH("globalEventProcessors",()=>[])}function tz(t){rP().push(t)}function j0(t,e,r,n=0){return new ei((i,a)=>{const s=t[n];if(e===null||typeof s!="function")i(e);else{const o=s({...e},r);ge&&s.id&&o===null&&W.log(`Event processor "${s.id}" dropped event`),Vp(o)?o.then(u=>j0(t,u,r,n+1).then(i)).then(null,a):j0(t,o,r,n+1).then(i).then(null,a)}})}function rz(t){const e=Qo(),r={sid:jt(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Sge(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||Qo(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:jt()),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 nz(t,e){let r={};e?r={status:e}:t.status==="ok"&&(r={status:"exited"}),fc(t,r)}function Sge(t){return Xr({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,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}const Oge=0,iz=1;function nP(t){const{spanId:e,traceId:r}=t.spanContext(),{data:n,op:i,parent_span_id:a,status:s,tags:o,origin:u}=Pt(t);return Xr({data:n,op:i,parent_span_id:a,span_id:e,status:s,tags:o,trace_id:r,origin:u})}function Cy(t){const{traceId:e,spanId:r}=t.spanContext(),n=az(t);return eP(e,r,n)}function Ay(t){return typeof t=="number"?lR(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?lR(t.getTime()):Qo()}function lR(t){return t>9999999999?t/1e3:t}function Pt(t){return Tge(t)?t.getSpanJSON():typeof t.toJSON=="function"?t.toJSON():{}}function Tge(t){return typeof t.getSpanJSON=="function"}function az(t){const{traceFlags:e}=t.spanContext();return!!(e&iz)}function iP(t,e,r,n,i,a){const{normalizeDepth:s=3,normalizeMaxBreadth:o=1e3}=t,u={...e,event_id:e.event_id||r.event_id||jt(),timestamp:e.timestamp||Gp()},c=r.integrations||t.integrations.map(_=>_.name);Ege(u,t),Cge(u,c),e.type===void 0&&xge(u,t.stackParser);const l=Mge(n,r.captureContext);r.mechanism&&op(u,r.mechanism);const d=i&&i.getEventProcessors?i.getEventProcessors():[],f=eve().getScopeData();if(a){const _=a.getScopeData();pR(f,_)}if(l){const _=l.getScopeData();pR(f,_)}const p=[...r.attachments||[],...f.attachments];p.length&&(r.attachments=p),cz(u,f);const m=[...d,...rP(),...f.eventProcessors];return j0(m,u,r).then(_=>(_&&Pge(_),typeof s=="number"&&s>0?Age(_,s,o):_))}function Ege(t,e){const{environment:r,release:n,dist:i,maxValueLength:a=250}=e;"environment"in t||(t.environment="environment"in e?r:Wp),t.release===void 0&&n!==void 0&&(t.release=n),t.dist===void 0&&i!==void 0&&(t.dist=i),t.message&&(t.message=Yl(t.message,a));const s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Yl(s.value,a));const o=t.request;o&&o.url&&(o.url=Yl(o.url,a))}const dR=new WeakMap;function xge(t,e){const r=je._sentryDebugIds;if(!r)return;let n;const i=dR.get(e);i?n=i:(n=new Map,dR.set(e,n));const a=Object.keys(r).reduce((s,o)=>{let u;const c=n.get(o);c?u=c:(u=e(o),n.set(o,u));for(let l=u.length-1;l>=0;l--){const d=u[l];if(d.filename){s[d.filename]=r[o];break}}return s},{});try{t.exception.values.forEach(s=>{s.stacktrace.frames.forEach(o=>{o.filename&&(o.debug_id=a[o.filename])})})}catch{}}function Pge(t){const e={};try{t.exception.values.forEach(n=>{n.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?e[i.abs_path]=i.debug_id:i.filename&&(e[i.filename]=i.debug_id),delete i.debug_id)})})}catch{}if(Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const r=t.debug_meta.images;Object.keys(e).forEach(n=>{r.push({type:"sourcemap",code_file:n,debug_id:e[n]})})}function Cge(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function Age(t,e,r){if(!t)return null;const n={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:Ca(i.data,e,r)}}))},...t.user&&{user:Ca(t.user,e,r)},...t.contexts&&{contexts:Ca(t.contexts,e,r)},...t.extra&&{extra:Ca(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=Ca(t.contexts.trace.data,e,r))),t.spans&&(n.spans=t.spans.map(i=>{const a=Pt(i).data;return a&&(i.data=Ca(a,e,r)),i})),n}function Mge(t,e){if(!e)return t;const r=t?t.clone():new Hi;return r.update(e),r}function $ge(t){if(t)return kge(t)?{captureContext:t}:Ige(t)?{captureContext:t}:t}function kge(t){return t instanceof Hi||typeof t=="function"}const Dge=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Ige(t){return Object.keys(t).some(e=>Dge.includes(e))}function Vd(t,e){return bt().captureException(t,$ge(e))}function Rge(t,e){const r=typeof e=="string"?e:void 0,n=typeof e!="string"?{captureContext:e}:void 0;return bt().captureMessage(t,r,n)}function aP(t,e){return bt().captureEvent(t,e)}function Lge(t){bt().configureScope(t)}function Ls(t,e){bt().addBreadcrumb(t,e)}function sz(t,e){bt().setContext(t,e)}function Nge(t){bt().setExtras(t)}function Bge(t,e){bt().setExtra(t,e)}function Fge(t){bt().setTags(t)}function jge(t,e){bt().setTag(t,e)}function Hge(t){bt().setUser(t)}function Yp(...t){const e=bt();if(t.length===2){const[r,n]=t;return r?e.withScope(()=>(e.getStackTop().scope=r,n(r))):e.withScope(n)}return e.withScope(t[0])}function zge(t){return oP(()=>t(ca()))}function Vge(t,e){return bt().startTransaction({...t},e)}async function Uge(t){const e=Xe();return e?e.flush(t):(ge&&W.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function Gge(t){const e=Xe();return e?e.close(t):(ge&&W.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function Wge(){return bt().lastEventId()}function Xe(){return bt().getClient()}function Yge(){return!!Xe()}function wr(){return bt().getScope()}function fR(t){const e=Xe(),r=ca(),n=wr(),{release:i,environment:a=Wp}=e&&e.getOptions()||{},{userAgent:s}=je.navigator||{},o=rz({release:i,environment:a,user:n.getUser()||r.getUser(),...s&&{userAgent:s},...t}),u=r.getSession();return u&&u.status==="ok"&&fc(u,{status:"exited"}),oz(),r.setSession(o),n.setSession(o),o}function oz(){const t=ca(),e=wr(),r=e.getSession()||t.getSession();r&&nz(r),uz(),t.setSession(),e.setSession()}function uz(){const t=ca(),e=wr(),r=Xe(),n=e.getSession()||t.getSession();n&&r&&r.captureSession&&r.captureSession(n)}function hR(t=!1){if(t){oz();return}uz()}function H0(t){return t.transaction}function My(t,e,r){const n=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:a}=r&&r.getUser()||{},s=Xr({environment:n.environment||Wp,release:n.release,user_segment:a,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",s),s}function up(t){const e=Xe();if(!e)return{};const r=My(Pt(t).trace_id||"",e,wr()),n=H0(t);if(!n)return r;const i=n&&n._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:a,source:s}=n.metadata;a!=null&&(r.sample_rate=`${a}`);const o=Pt(n);return s&&s!=="url"&&(r.transaction=o.description),r.sampled=String(az(n)),e.emit&&e.emit("createDsc",r),r}function cz(t,e){const{fingerprint:r,span:n,breadcrumbs:i,sdkProcessingMetadata:a}=e;Kge(t,e),n&&Jge(t,n),Qge(t,r),qge(t,i),Xge(t,a)}function pR(t,e){const{extra:r,tags:n,user:i,contexts:a,level:s,sdkProcessingMetadata:o,breadcrumbs:u,fingerprint:c,eventProcessors:l,attachments:d,propagationContext:f,transactionName:p,span:m}=e;Nf(t,"extra",r),Nf(t,"tags",n),Nf(t,"user",i),Nf(t,"contexts",a),Nf(t,"sdkProcessingMetadata",o),s&&(t.level=s),p&&(t.transactionName=p),m&&(t.span=m),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),c.length&&(t.fingerprint=[...t.fingerprint,...c]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...f}}function Nf(t,e,r){if(r&&Object.keys(r).length){t[e]={...t[e]};for(const n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[e][n]=r[n])}}function Kge(t,e){const{extra:r,tags:n,user:i,contexts:a,level:s,transactionName:o}=e,u=Xr(r);u&&Object.keys(u).length&&(t.extra={...u,...t.extra});const c=Xr(n);c&&Object.keys(c).length&&(t.tags={...c,...t.tags});const l=Xr(i);l&&Object.keys(l).length&&(t.user={...l,...t.user});const d=Xr(a);d&&Object.keys(d).length&&(t.contexts={...d,...t.contexts}),s&&(t.level=s),o&&(t.transaction=o)}function qge(t,e){const r=[...t.breadcrumbs||[],...e];t.breadcrumbs=r.length?r:void 0}function Xge(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function Jge(t,e){t.contexts={trace:nP(e),...t.contexts};const r=H0(e);if(r){t.sdkProcessingMetadata={dynamicSamplingContext:up(e),...t.sdkProcessingMetadata};const n=Pt(r).description;n&&(t.tags={transaction:n,...t.tags})}}function Qge(t,e){t.fingerprint=t.fingerprint?qx(t.fingerprint):[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}const Zge=100;let b1;class Hi{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=mR()}static clone(e){return e?e.clone():new Hi}clone(){const e=new Hi;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},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._span;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 Hi?r:this}return e instanceof Hi?(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),e._propagationContext&&(this._propagationContext=e._propagationContext)):pd(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),e.propagationContext&&(this._propagationContext=e.propagationContext)),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._propagationContext=mR(),this}addBreadcrumb(e,r){const n=typeof r=="number"?r:Zge;if(n<=0)return this;const i={timestamp:Gp(),...e},a=this._breadcrumbs;return a.push(i),this._breadcrumbs=a.length>n?a.slice(-n):a,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.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:r,_contexts:n,_tags:i,_extra:a,_user:s,_level:o,_fingerprint:u,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:d,_transactionName:f,_span:p}=this;return{breadcrumbs:e,attachments:r,contexts:n,tags:i,extra:a,user:s,level:o,fingerprint:u||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:d,transactionName:f,span:p}}applyToEvent(e,r={},n=[]){cz(e,this.getScopeData());const i=[...n,...rP(),...this._eventProcessors];return j0(i,e,r)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,r){const n=r&&r.event_id?r.event_id:jt();if(!this._client)return W.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...r,event_id:n},this),n}captureMessage(e,r,n){const i=n&&n.event_id?n.event_id:jt();if(!this._client)return W.warn("No client configured on scope - will not capture message!"),i;const a=new Error(e);return this._client.captureMessage(e,r,{originalException:e,syntheticException:a,...n,event_id:i},this),i}captureEvent(e,r){const n=r&&r.event_id?r.event_id:jt();return this._client?(this._client.captureEvent(e,{...r,event_id:n},this),n):(W.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function eve(){return b1||(b1=new Hi),b1}function mR(){return{traceId:jt(),spanId:jt().substring(16)}}const vd="7.99.0",lz=parseFloat(vd),tve=100;class sP{constructor(e,r,n,i=lz){this._version=i;let a;r?a=r:(a=new Hi,a.setClient(e));let s;n?s=n:(s=new Hi,s.setClient(e)),this._stack=[{scope:a}],e&&this.bindClient(e),this._isolationScope=s}isOlderThan(e){return this._version<e}bindClient(e){const r=this.getStackTop();r.client=e,r.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();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();let n;try{n=e(r)}catch(i){throw this.popScope(),i}return Vp(n)?n.then(i=>(this.popScope(),i),i=>{throw this.popScope(),i}):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}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:jt(),i=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:i,...r,event_id:n}),n}captureMessage(e,r,n){const i=this._lastEventId=n&&n.event_id?n.event_id:jt(),a=new Error(e);return this.getScope().captureMessage(e,r,{originalException:e,syntheticException:a,...n,event_id:i}),i}captureEvent(e,r){const n=r&&r.event_id?r.event_id:jt();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...r,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,r){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:s=tve}=i.getOptions&&i.getOptions()||{};if(s<=0)return;const u={timestamp:Gp(),...e},c=a?Ga(()=>a(u,r)):u;c!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",c,r),n.addBreadcrumb(c,s))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,r){this.getScope().setTag(e,r),this.getIsolationScope().setTag(e,r)}setExtra(e,r){this.getScope().setExtra(e,r),this.getIsolationScope().setExtra(e,r)}setContext(e,r){this.getScope().setContext(e,r),this.getIsolationScope().setContext(e,r)}configureScope(e){const{scope:r,client:n}=this.getStackTop();n&&e(r)}run(e){const r=qO(this);try{e(this)}finally{qO(r)}}getIntegration(e){const r=this.getClient();if(!r)return null;try{return r.getIntegration(e)}catch{return ge&&W.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,r){const n=this._callExtensionMethod("startTransaction",e,r);return ge&&!n&&(this.getClient()?W.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
Sentry.addTracingExtensions();
Sentry.init({...});
`):W.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const r=this.getStackTop().scope,n=r.getSession();n&&nz(n),this._sendSessionUpdate(),r.setSession()}startSession(e){const{scope:r,client:n}=this.getStackTop(),{release:i,environment:a=Wp}=n&&n.getOptions()||{},{userAgent:s}=je.navigator||{},o=rz({release:i,environment:a,user:r.getUser(),...s&&{userAgent:s},...e}),u=r.getSession&&r.getSession();return u&&u.status==="ok"&&fc(u,{status:"exited"}),this.endSession(),r.setSession(o),o}shouldSendDefaultPii(){const e=this.getClient(),r=e&&e.getOptions();return!!(r&&r.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:r}=this.getStackTop(),n=e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}_callExtensionMethod(e,...r){const i=Ud().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[e]=="function")return i.extensions[e].apply(this,r);ge&&W.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function Ud(){return je.__SENTRY__=je.__SENTRY__||{extensions:{},hub:void 0},je}function qO(t){const e=Ud(),r=z0(e);return dz(e,t),r}function bt(){const t=Ud();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return rve(t)}function ca(){return bt().getIsolationScope()}function rve(t=Ud()){return(!nve(t)||z0(t).isOlderThan(lz))&&dz(t,new sP),z0(t)}function oP(t,e={}){const r=Ud();return r.__SENTRY__&&r.__SENTRY__.acs?r.__SENTRY__.acs.runWithAsyncContext(t,e):t()}function nve(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function z0(t){return AH("hub",()=>new sP,t)}function dz(t,e){if(!t)return!1;const r=t.__SENTRY__=t.__SENTRY__||{};return r.hub=e,!0}function Zo(t){return(t||bt()).getScope().getTransaction()}const ive=qH;let gR=!1;function ave(){gR||(gR=!0,VH(XO),UH(XO))}function XO(){const t=Zo();if(t){const e="internal_error";ge&&W.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}XO.tag="sentry_tracingErrorCallback";const kn="sentry.source",Rl="sentry.sample_rate",ug="sentry.op",Ll="sentry.origin";var vR;(function(t){const e="ok";t.Ok=e;const r="deadline_exceeded";t.DeadlineExceeded=r;const n="unauthenticated";t.Unauthenticated=n;const i="permission_denied";t.PermissionDenied=i;const a="not_found";t.NotFound=a;const s="resource_exhausted";t.ResourceExhausted=s;const o="invalid_argument";t.InvalidArgument=o;const u="unimplemented";t.Unimplemented=u;const c="unavailable";t.Unavailable=c;const l="internal_error";t.InternalError=l;const d="unknown_error";t.UnknownError=d;const f="cancelled";t.Cancelled=f;const p="already_exists";t.AlreadyExists=p;const m="failed_precondition";t.FailedPrecondition=m;const b="aborted";t.Aborted=b;const _="out_of_range";t.OutOfRange=_;const S="data_loss";t.DataLoss=S})(vR||(vR={}));function uP(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}const sve=uP;function cP(t,e){t.setTag("http.status_code",String(e)),t.setData("http.response.status_code",e);const r=uP(e);r!=="unknown_error"&&t.setStatus(r)}class fz{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class lP{constructor(e={}){this._traceId=e.traceId||jt(),this._spanId=e.spanId||jt().substring(16),this._startTime=e.startTimestamp||Qo(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[Ll]:e.origin||"manual",[ug]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp)}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[ug]}set op(e){this.setAttribute(ug,e)}get origin(){return this._attributes[Ll]}set origin(e){this.setAttribute(Ll,e)}spanContext(){const{_spanId:e,_traceId:r,_sampled:n}=this;return{spanId:e,traceId:r,traceFlags:n?iz:Oge}}startChild(e){const r=new lP({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});r.spanRecorder=this.spanRecorder,r.spanRecorder&&r.spanRecorder.add(r);const n=H0(this);if(r.transaction=n,ge&&n){const i=e&&e.op||"< unknown op >",a=Pt(r).description||"< unknown name >",s=n.spanContext().spanId,o=`[Tracing] Starting '${i}' span on transaction '${a}' (${s}).`;W.log(o),this._logMessage=o}return r}setTag(e,r){return this.tags={...this.tags,[e]:r},this}setData(e,r){return this.data={...this.data,[e]:r},this}setAttribute(e,r){r===void 0?delete this._attributes[e]:this._attributes[e]=r}setAttributes(e){Object.keys(e).forEach(r=>this.setAttribute(r,e[r]))}setStatus(e){return this._status=e,this}setHttpStatus(e){return cP(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return this._status==="ok"}finish(e){return this.end(e)}end(e){if(this._endTime)return;const r=H0(this);if(ge&&r&&r.spanContext().spanId!==this._spanId){const n=this._logMessage;n&&W.log(n.replace("Starting","Finishing"))}this._endTime=Ay(e)}toTraceparent(){return Cy(this)}toContext(){return Xr({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return nP(this)}getSpanJSON(){return Xr({data:this._getData(),description:this._name,op:this._attributes[ug],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ll]})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:r}=this,n=Object.keys(e).length>0,i=Object.keys(r).length>0;if(!(!n&&!i))return n&&i?{...e,...r}:n?e:r}}class hz extends lP{constructor(e,r){super(e),this._measurements={},this._contexts={},this._hub=r||bt(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[kn]&&{source:this._attributes[kn]},...this._attributes[Rl]&&{sampleRate:this._attributes[Rl]}}}set metadata(e){this._metadata=e}setName(e,r="custom"){this._name=e,this.setAttribute(kn,r)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new fz(e)),this.spanRecorder.add(this)}setContext(e,r){r===null?delete this._contexts[e]:this._contexts[e]=r}setMeasurement(e,r,n=""){this._measurements[e]={value:r,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){const r=Ay(e),n=this._finishTransaction(r);if(n)return this._hub.captureEvent(n)}toContext(){const e=super.toContext();return Xr({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return up(this)}setHub(e){this._hub=e}_finishTransaction(e){if(this._endTime!==void 0)return;this._name||(ge&&W.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);const r=this._hub.getClient();if(r&&r.emit&&r.emit("finishTransaction",this),this._sampled!==!0){ge&&W.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),r&&r.recordDroppedEvent("sample_rate","transaction");return}const n=this.spanRecorder?this.spanRecorder.spans.filter(u=>u!==this&&Pt(u).timestamp):[];if(this._trimEnd&&n.length>0){const u=n.map(c=>Pt(c).timestamp).filter(Boolean);this._endTime=u.reduce((c,l)=>c>l?c:l)}const{metadata:i}=this,{source:a}=i,s={contexts:{...this._contexts,trace:nP(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...i,dynamicSamplingContext:up(this)},...a&&{transaction_info:{source:a}}};return Object.keys(this._measurements).length>0&&(ge&&W.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),s.measurements=this._measurements),ge&&W.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),s}}const Mh={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},ove="finishReason",ll=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class uve extends fz{constructor(e,r,n,i){super(i),this._pushActivity=e,this._popActivity=r,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){const r=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),r.apply(e,n)),Pt(e).timestamp===void 0&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class cve extends hz{constructor(e,r,n=Mh.idleTimeout,i=Mh.finalTimeout,a=Mh.heartbeatInterval,s=!1,o=!1){super(e,r),this._idleHub=r,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=s,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=ll[4],this._autoFinishAllowed=!o,s&&(ge&&W.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),r.getScope().setSpan(this)),o||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=ll[3],this.end())},this._finalTimeout)}end(e){const r=Ay(e);if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setAttribute(ove,this._finishReason),this.spanRecorder){ge&&W.log("[Tracing] finishing IdleTransaction",new Date(r*1e3).toISOString(),this.op);for(const n of this._beforeFinishCallbacks)n(this,r);this.spanRecorder.spans=this.spanRecorder.spans.filter(n=>{if(n.spanContext().spanId===this.spanContext().spanId)return!0;Pt(n).timestamp||(n.setStatus("cancelled"),n.end(r),ge&&W.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));const{start_timestamp:i,timestamp:a}=Pt(n),s=i&&i<r,o=(this._finalTimeout+this._idleTimeout)/1e3,u=a&&i&&a-i<o;if(ge){const c=JSON.stringify(n,void 0,2);s?u||W.log("[Tracing] discarding Span since it finished after Transaction final timeout",c):W.log("[Tracing] discarding Span since it happened after Transaction was finished",c)}return s&&u}),ge&&W.log("[Tracing] flushing IdleTransaction")}else ge&&W.log("[Tracing] No active IdleTransaction");if(this._onScope){const n=this._idleHub.getScope();n.getTransaction()===this&&n.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const r=i=>{this._finished||this._pushActivity(i)},n=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new uve(r,n,this.spanContext().spanId,e),ge&&W.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:r}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=r===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=ll[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(ge&&W.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=ll[1],this.end(e))},this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),ge&&W.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,ge&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(ge&&W.log(`[Tracing] popActivity ${e}`),delete this.activities[e],ge&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const r=Qo();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=ll[5],this.end(r)):this._restartIdleTimeout(r+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(ge&&W.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=ll[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){ge&&W.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function Gd(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=Xe(),r=t||e&&e.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}function pz(t,e,r){if(!Gd(e))return t.sampled=!1,t;if(t.sampled!==void 0)return t.setAttribute(Rl,Number(t.sampled)),t;let n;return typeof e.tracesSampler=="function"?(n=e.tracesSampler(r),t.setAttribute(Rl,Number(n))):r.parentSampled!==void 0?n=r.parentSampled:typeof e.tracesSampleRate<"u"?(n=e.tracesSampleRate,t.setAttribute(Rl,Number(n))):(n=1,t.setAttribute(Rl,n)),lve(n)?n?(t.sampled=Math.random()<n,t.sampled?(ge&&W.log(`[Tracing] starting ${t.op} transaction - ${Pt(t).description}`),t):(ge&&W.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),t)):(ge&&W.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),t.sampled=!1,t):(ge&&W.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)}function lve(t){return xH(t)||!(typeof t=="number"||typeof t=="boolean")?(ge&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1):t<0||t>1?(ge&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${t}.`),!1):!0}function dve(){const e=this.getScope().getSpan();return e?{"sentry-trace":Cy(e)}:{}}function fve(t,e){const r=this.getClient(),n=r&&r.getOptions()||{},i=n.instrumenter||"sentry",a=t.instrumenter||"sentry";i!==a&&(ge&&W.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter.
The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),t.sampled=!1);let s=new hz(t,this);return s=pz(s,n,{parentSampled:t.parentSampled,transactionContext:t,...e}),s.isRecording()&&s.initSpanRecorder(n._experiments&&n._experiments.maxSpans),r&&r.emit&&r.emit("startTransaction",s),s}function V0(t,e,r,n,i,a,s,o=!1){const u=t.getClient(),c=u&&u.getOptions()||{};let l=new cve(e,t,r,n,s,i,o);return l=pz(l,c,{parentSampled:e.parentSampled,transactionContext:e,...a}),l.isRecording()&&l.initSpanRecorder(c._experiments&&c._experiments.maxSpans),u&&u.emit&&u.emit("startTransaction",l),l}function dP(){const t=Ud();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=fve),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=dve),ave())}function fP(t,e,r=()=>{}){let n;try{n=t()}catch(i){throw e(i),r(),i}return hve(n,e,r)}function hve(t,e,r){return Vp(t)?t.then(n=>(r(),n),n=>{throw e(n),r(),n}):(r(),t)}function pve(t,e,r=()=>{},n=()=>{}){const i=bt(),a=wr(),s=a.getSpan(),o=$y(t),u=pP(i,s,o);return a.setSpan(u),fP(()=>e(u),c=>{u&&u.setStatus("internal_error"),r(c,u)},()=>{u&&u.end(),a.setSpan(s),n()})}function mve(t,e){const r=$y(t);return oP(()=>Yp(t.scope,n=>{const i=bt(),a=n.getSpan(),o=t.onlyIfParent&&!a?void 0:pP(i,a,r);return n.setSpan(o),fP(()=>e(o),()=>{if(o){const{status:u}=Pt(o);(!u||u==="ok")&&o.setStatus("internal_error")}},()=>o&&o.end())}))}function gve(t,e){const r=$y(t);return oP(()=>Yp(t.scope,n=>{const i=bt(),a=n.getSpan(),o=t.onlyIfParent&&!a?void 0:pP(i,a,r);n.setSpan(o);function u(){o&&o.end()}return fP(()=>e(o,u),()=>{if(o&&o.isRecording()){const{status:c}=Pt(o);(!c||c==="ok")&&o.setStatus("internal_error")}})}))}function hP(t){if(!Gd())return;const e=$y(t),r=bt(),n=t.scope?t.scope.getSpan():mz();if(!(t.onlyIfParent&&!n)){if(n)return n.startChild(e);{const a=ca(),s=wr(),{traceId:o,dsc:u,parentSpanId:c,sampled:l}={...a.getPropagationContext(),...s.getPropagationContext()};return r.startTransaction({traceId:o,parentSpanId:c,parentSampled:l,...e,metadata:{dynamicSamplingContext:u,...e.metadata}})}}}function mz(){return wr().getSpan()}function vve({sentryTrace:t,baggage:e},r){const n=wr(),{traceparentData:i,dynamicSamplingContext:a,propagationContext:s}=Zx(t,e);n.setPropagationContext(s),ge&&i&&W.log(`[Tracing] Continuing trace ${i.traceId}.`);const o={...i,metadata:Xr({dynamicSamplingContext:a})};return r?r(o):o}function pP(t,e,r){if(Gd()){if(e)return e.startChild(r);{const n=ca(),i=wr(),{traceId:a,dsc:s,parentSpanId:o,sampled:u}={...n.getPropagationContext(),...i.getPropagationContext()};return t.startTransaction({traceId:a,parentSpanId:o,parentSampled:u,...r,metadata:{dynamicSamplingContext:s,...r.metadata}})}}}function $y(t){if(t.startTime){const e={...t};return e.startTimestamp=Ay(t.startTime),delete e.startTime,e}return t}function gz(t,e,r){const n=Zo();n&&n.setMeasurement(t,e,r)}function bve(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 yve(t,e,r,n){const i=tP(r),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&e&&{dsn:zd(e)}},s="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return Ac(a,[s])}function vz(t,e,r,n){const i=tP(r),a=t.type&&t.type!=="replay_event"?t.type:"event";bve(t,r&&r.sdk);const s=JH(t,i,n,e);return delete t.sdkProcessingMetadata,Ac(s,[[{type:a},t]])}const _ve="7";function bz(t){const e=t.protocol?`${t.protocol}:`:"",r=t.port?`:${t.port}`:"";return`${e}//${t.host}${r}${t.path?`/${t.path}`:""}/api/`}function wve(t){return`${bz(t)}${t.projectId}/envelope/`}function Sve(t,e){return Tme({sentry_key:t.publicKey,sentry_version:_ve,...e&&{sentry_client:`${e.name}/${e.version}`}})}function yz(t,e={}){const r=typeof e=="string"?e:e.tunnel,n=typeof e=="string"||!e._metadata?void 0:e._metadata.sdk;return r||`${wve(t)}?${Sve(t,n)}`}function Ove(t,e){const r=RH(t);if(!r)return"";const n=`${bz(r)}embed/error-page/`;let i=`dsn=${zd(r)}`;for(const a in e)if(a!=="dsn"&&a!=="onClose")if(a==="user"){const s=e.user;if(!s)continue;s.name&&(i+=`&name=${encodeURIComponent(s.name)}`),s.email&&(i+=`&email=${encodeURIComponent(s.email)}`)}else i+=`&${encodeURIComponent(a)}=${encodeURIComponent(e[a])}`;return`${n}?${i}`}const bR=[];function Tve(t){const e={};return t.forEach(r=>{const{name:n}=r,i=e[n];i&&!i.isDefaultInstance&&r.isDefaultInstance||(e[n]=r)}),Object.keys(e).map(r=>e[r])}function Eve(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=qx(r(e)):n=e;const i=Tve(n),a=Cve(i,s=>s.name==="Debug");if(a!==-1){const[s]=i.splice(a,1);i.push(s)}return i}function xve(t,e){const r={};return e.forEach(n=>{n&&_z(t,n,r)}),r}function yR(t,e){for(const r of e)r&&r.afterAllSetup&&r.afterAllSetup(t)}function _z(t,e,r){if(r[e.name]){ge&&W.log(`Integration skipped because it was already installed: ${e.name}`);return}if(r[e.name]=e,bR.indexOf(e.name)===-1&&(e.setupOnce(tz,bt),bR.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),t.on&&typeof e.preprocessEvent=="function"){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(i,a)=>n(i,a,t))}if(t.addEventProcessor&&typeof e.processEvent=="function"){const n=e.processEvent.bind(e),i=Object.assign((a,s)=>n(a,s,t),{id:e.name});t.addEventProcessor(i)}ge&&W.log(`Integration installed: ${e.name}`)}function Pve(t){const e=Xe();if(!e||!e.addIntegration){ge&&W.warn(`Cannot add integration "${t.name}" because no SDK Client is available.`);return}e.addIntegration(t)}function Cve(t,e){for(let r=0;r<t.length;r++)if(e(t[r])===!0)return r;return-1}function zn(t,e){return Object.assign(function(...n){return e(...n)},{id:t})}const wz="c",Sz="g",Oz="s",Tz="d",Ez=/[^a-zA-Z0-9_/.-]+/g,Ave=/[^\w\d_:/@.{}[\]$-]+/g,Mve=5e3;function $ve(t,e,r,n){const i=Object.entries(Xr(n)).sort((a,s)=>a[0].localeCompare(s[0]));return`${t}${e}${r}${i}`}function kve(t){let e=0;for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);e=(e<<5)-e+n,e&=e}return e>>>0}function Dve(t){let e="";for(const r of t){const n=Object.entries(r.tags),i=n.length>0?`|#${n.map(([a,s])=>`${a}:${s}`).join(",")}`:"";e+=`${r.name}@${r.unit}:${r.metric}|${r.metricType}${i}|T${r.timestamp}
`}return e}function Ive(t){const e={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const n=r.replace(Ez,"_");e[n]=String(t[r]).replace(Ave,"_")}return e}function Rve(t,e,r,n){const i={sent_at:new Date().toISOString()};r&&r.sdk&&(i.sdk={name:r.sdk.name,version:r.sdk.version}),n&&e&&(i.dsn=zd(e));const a=Lve(t);return Ac(i,[a])}function Lve(t){const e=Dve(t);return[{type:"statsd",length:e.length},e]}const _R="Not capturing exception because it's already been captured.";class Nve{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=RH(e.dsn):ge&&W.warn("No DSN provided, client will not send events."),this._dsn){const r=yz(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:r})}}captureException(e,r,n){if(iR(e)){ge&&W.log(_R);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=Gx(e)?e:String(e),o=Wx(e)?this.eventFromMessage(s,r,n):this.eventFromException(e,n);return this._process(o.then(u=>this._captureEvent(u,n,i)).then(u=>{a=u})),a}captureEvent(e,r,n){if(r&&r.originalException&&iR(r.originalException)){ge&&W.log(_R);return}let i=r&&r.event_id;return this._process(this._captureEvent(e,r,n).then(a=>{i=a})),i}captureSession(e){typeof e.release!="string"?ge&&W.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.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then(n=>r.flush(e).then(i=>n&&i))):md(!0)}close(e){return this.flush(e).then(r=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),r))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch{return ge&&W.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const r=this._integrations[e.name];_z(this,e,this._integrations),r||yR(this,[e])}sendEvent(e,r={}){this.emit("beforeSendEvent",e,r);let n=vz(e,this._dsn,this._options._metadata,this._options.tunnel);for(const a of r.attachments||[])n=lge(n,pge(a,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(n);i&&i.then(a=>this.emit("afterSendEvent",e,a),null)}sendSession(e){const r=yve(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}recordDroppedEvent(e,r,n){if(this._options.sendClientReports){const i=`${e}:${r}`;ge&&W.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}captureAggregateMetrics(e){ge&&W.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const r=Rve(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}on(e,r){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(r)}emit(e,...r){this._hooks[e]&&this._hooks[e].forEach(n=>n(...r))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=xve(this,e),yR(this,e),this._integrationsInitialized=!0}_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 c=u.mechanism;if(c&&c.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 ei(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._transport!==void 0}_prepareEvent(e,r,n,i=ca()){const a=this.getOptions(),s=Object.keys(this._integrations);return!r.integrations&&s.length>0&&(r.integrations=s),this.emit("preprocessEvent",e,r),iP(a,e,r,n,this,i).then(o=>{if(o===null)return o;const u={...i.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(o.contexts&&o.contexts.trace)&&u){const{traceId:l,spanId:d,parentSpanId:f,dsc:p}=u;o.contexts={trace:{trace_id:l,span_id:d,parent_span_id:f},...o.contexts};const m=p||My(l,this,n);o.sdkProcessingMetadata={dynamicSamplingContext:m,...o.sdkProcessingMetadata}}return o})}_captureEvent(e,r={},n){return this._processEvent(e,r,n).then(i=>i.event_id,i=>{if(ge){const a=i;a.logLevel==="log"?W.log(a.message):W.warn(a)}})}_processEvent(e,r,n){const i=this.getOptions(),{sampleRate:a}=i,s=Pz(e),o=xz(e),u=e.type||"error",c=`before send for type \`${u}\``;if(o&&typeof a=="number"&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",e),Qx(new Ma(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const l=u==="replay_event"?"replay":u;return this._prepareEvent(e,r,n).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",l,e),new Ma("An event processor returned `null`, will not send event.","log");if(r.data&&r.data.__sentry__===!0)return d;const p=Fve(i,d,r);return Bve(p,c)}).then(d=>{if(d===null)throw this.recordDroppedEvent("before_send",l,e),new Ma(`${c} returned \`null\`, will not send event.`,"log");const f=n&&n.getSession();!s&&f&&this._updateSessionFromEvent(f,d);const p=d.transaction_info;if(s&&p&&d.transaction!==e.transaction){const m="custom";d.transaction_info={...p,source:m}}return this.sendEvent(d,r),d}).then(null,d=>{throw d instanceof Ma?d:(this.captureException(d,{data:{__sentry__:!0},originalException:d}),new Ma(`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){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,r=>{ge&&W.error("Error while sending event:",r)});ge&&W.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 Bve(t,e){const r=`${e} must return \`null\` or a valid event.`;if(Vp(t))return t.then(n=>{if(!pd(n)&&n!==null)throw new Ma(r);return n},n=>{throw new Ma(`${e} rejected with ${n}`)});if(!pd(t)&&t!==null)throw new Ma(r);return t}function Fve(t,e,r){const{beforeSend:n,beforeSendTransaction:i}=t;return xz(e)&&n?n(e,r):Pz(e)&&i?i(e,r):e}function xz(t){return t.type===void 0}function Pz(t){return t.type==="transaction"}function Cz(t){const e=Xe();!e||!e.addEventProcessor||e.addEventProcessor(t)}class jve{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class Hve{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class zve{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class Vve{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>typeof e=="string"?kve(e):e).join(":")}}const Uve={[wz]:jve,[Sz]:Hve,[Tz]:zve,[Oz]:Vve};function Gve(t,e){e.debug===!0&&(ge?W.enable():Ga(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),wr().update(e.initialScope);const n=new t(e);Az(n),Wve(n)}function Az(t){const r=bt().getStackTop();r.client=t,r.scope.setClient(t)}function Wve(t){t.init?t.init():t.setupIntegrations&&t.setupIntegrations()}const Yve=30;function mP(t,e,r=tge(t.bufferSize||Yve)){let n={};const i=s=>r.drain(s);function a(s){const o=[];if(gd(s,(d,f)=>{const p=cR(f);if(ZH(n,p)){const m=wR(d,f);t.recordDroppedEvent("ratelimit_backoff",p,m)}else o.push(d)}),o.length===0)return md();const u=Ac(s[0],o),c=d=>{gd(u,(f,p)=>{const m=wR(f,p);t.recordDroppedEvent(d,cR(p),m)})},l=()=>e({body:XH(u,t.textEncoder)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&ge&&W.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=ez(n,d),d),d=>{throw c("network_error"),d});return r.add(l).then(d=>d,d=>{if(d instanceof Ma)return ge&&W.error("Skipped sending event because buffer is full."),c("queue_overflow"),md();throw d})}return a.__sentry__baseTransport__=!0,{send:a,flush:i}}function wR(t,e){if(!(e!=="event"&&e!=="transaction"))return Array.isArray(t)?t[1]:void 0}const Kve=100,SR=5e3,qve=36e5;function y1(t,e){ge&&W.info(`[Offline]: ${t}`,e)}function Xve(t){return e=>{const r=t(e),n=e.createStore?e.createStore(e):void 0;let i=SR,a;function s(l,d,f){return dge(l,["replay_event","replay_recording","client_report"])?!1:e.shouldStore?e.shouldStore(l,d,f):!0}function o(l){n&&(a&&clearTimeout(a),a=setTimeout(async()=>{a=void 0;const d=await n.pop();d&&(y1("Attempting to send previously queued event"),c(d).catch(f=>{y1("Failed to retry sending",f)}))},l),typeof a!="number"&&a.unref&&a.unref())}function u(){a||(o(i),i=Math.min(i*2,qve))}async function c(l){try{const d=await r.send(l);let f=Kve;if(d){if(d.headers&&d.headers["retry-after"])f=QH(d.headers["retry-after"]);else if((d.statusCode||0)>=400)return d}return o(f),i=SR,d}catch(d){if(n&&await s(l,d,i))return await n.insert(l),u(),y1("Error sending. Event queued",d),{};throw d}}return e.flushAtStartup&&u(),{send:c,flush:l=>r.flush(l)}}}function Mz(t,e){let r;return gd(t,(n,i)=>(e.includes(i)&&(r=Array.isArray(n)?n[1]:void 0),!!r)),r}function Jve(t,e){return r=>{const n=t(r);return{send:async i=>{const a=Mz(i,["event","transaction","profile","replay_event"]);return a&&(a.release=e),n.send(i)},flush:i=>n.flush(i)}}}function Qve(t,e){return r=>{const n=t(r),i={};function a(u,c){const l=c?`${u}:${c}`:u;if(!i[l]){const d=DH(u);if(!d)return;const f=yz(d);i[l]=c?Jve(t,c)({...r,url:f}):t({...r,url:f})}return i[l]}async function s(u){function c(f){const p=f&&f.length?f:["event"];return Mz(u,p)}const l=e({envelope:u,getEvent:c}).map(f=>typeof f=="string"?a(f,void 0):a(f.dsn,f.release)).filter(f=>!!f);return l.length===0&&l.push(n),(await Promise.all(l.map(f=>f.send(u))))[0]}async function o(u){const c=[...Object.keys(i).map(d=>i[d]),n];return(await Promise.all(c.map(d=>d.flush(u)))).every(d=>d)}return{send:s,flush:o}}}function Zve(t,e){const r=e&&r0e(e)?e.getClient():e,n=r&&r.getDsn(),i=r&&r.getOptions().tunnel;return t0e(t,n)||e0e(t,i)}function e0e(t,e){return e?OR(t)===OR(e):!1}function t0e(t,e){return e?t.includes(e.host):!1}function OR(t){return t[t.length-1]==="/"?t.slice(0,-1):t}function r0e(t){return t.getClient!==void 0}function n0e(t,...e){const r=new String(String.raw(t,...e));return r.__sentry_template_string__=t.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=e,r}function i0e(t,e,r=[e],n="npm"){const i=t._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${e}`,packages:r.map(a=>({name:`${n}:@sentry/${a}`,version:vd})),version:vd}),t._metadata=i}const $z=new Map,TR=new Set;function a0e(t){if(je._sentryModuleMetadata)for(const e of Object.keys(je._sentryModuleMetadata)){const r=je._sentryModuleMetadata[e];if(TR.has(e))continue;TR.add(e);const n=t(e);for(const i of n.reverse())if(i.filename){$z.set(i.filename,r);break}}}function s0e(t,e){return a0e(t),$z.get(e)}function o0e(t,e){try{e.exception.values.forEach(r=>{if(r.stacktrace)for(const n of r.stacktrace.frames||[]){if(!n.filename)continue;const i=s0e(t,n.filename);i&&(n.module_metadata=i)}})}catch{}}function u0e(t){try{t.exception.values.forEach(e=>{if(e.stacktrace)for(const r of e.stacktrace.frames||[])delete r.module_metadata})}catch{}}const kz="ModuleMetadata",c0e=()=>({name:kz,setupOnce(){},setup(t){typeof t.on=="function"&&t.on("beforeEnvelope",e=>{gd(e,(r,n)=>{if(n==="event"){const i=Array.isArray(r)?r[1]:void 0;i&&(u0e(i),r[1]=i)}})})},processEvent(t,e,r){const n=r.getOptions().stackParser;return o0e(n,t),t}}),Dz=c0e,l0e=zn(kz,Dz),d0e=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],f0e=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],Iz="InboundFilters",h0e=(t={})=>({name:Iz,setupOnce(){},processEvent(e,r,n){const i=n.getOptions(),a=p0e(t,i);return m0e(e,a)?null:e}}),gP=h0e,Rz=zn(Iz,gP);function p0e(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:d0e],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:f0e],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function m0e(t,e){return e.ignoreInternal&&w0e(t)?(ge&&W.warn(`Event dropped due to being internal Sentry Error.
Event: ${ho(t)}`),!0):g0e(t,e.ignoreErrors)?(ge&&W.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${ho(t)}`),!0):v0e(t,e.ignoreTransactions)?(ge&&W.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${ho(t)}`),!0):b0e(t,e.denyUrls)?(ge&&W.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${ho(t)}.
Url: ${U0(t)}`),!0):y0e(t,e.allowUrls)?!1:(ge&&W.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${ho(t)}.
Url: ${U0(t)}`),!0)}function g0e(t,e){return t.type||!e||!e.length?!1:_0e(t).some(r=>jd(r,e))}function v0e(t,e){if(t.type!=="transaction"||!e||!e.length)return!1;const r=t.transaction;return r?jd(r,e):!1}function b0e(t,e){if(!e||!e.length)return!1;const r=U0(t);return r?jd(r,e):!1}function y0e(t,e){if(!e||!e.length)return!0;const r=U0(t);return r?jd(r,e):!0}function _0e(t){const e=[];t.message&&e.push(t.message);let r;try{r=t.exception.values[t.exception.values.length-1]}catch{}return r&&r.value&&(e.push(r.value),r.type&&e.push(`${r.type}: ${r.value}`)),ge&&e.length===0&&W.error(`Could not extract message for event ${ho(t)}`),e}function w0e(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function S0e(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 U0(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?S0e(e):null}catch{return ge&&W.error(`Cannot extract url for event ${ho(t)}`),null}}let ER;const Lz="FunctionToString",xR=new WeakMap,O0e=()=>({name:Lz,setupOnce(){ER=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Kx(this),r=xR.has(Xe())&&e!==void 0?e:this;return ER.apply(r,t)}}catch{}},setup(t){xR.set(t,!0)}}),vP=O0e,Nz=zn(Lz,vP),T0e="cause",E0e=5,Bz="LinkedErrors",x0e=(t={})=>{const e=t.limit||E0e,r=t.key||T0e;return{name:Bz,setupOnce(){},preprocessEvent(n,i,a){const s=a.getOptions();CH(_ge,s.stackParser,s.maxValueLength,r,e,n,i)}}},P0e=x0e,C0e=zn(Bz,P0e),A0e=Object.freeze(Object.defineProperty({__proto__:null,FunctionToString:Nz,InboundFilters:Rz,LinkedErrors:C0e},Symbol.toStringTag,{value:"Module"}));class M0e{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),Mve)}add(e,r,n,i="none",a={},s=Qo()){const o=Math.floor(s),u=r.replace(Ez,"_"),c=Ive(a),l=$ve(e,u,i,c),d=this._buckets.get(l);d?(d.metric.add(n),d.timestamp<o&&(d.timestamp=o)):this._buckets.set(l,{metric:new Uve[e](n),timestamp:o,metricType:e,name:u,unit:i,tags:c})}flush(){if(this._buckets.size!==0){if(this._client.captureAggregateMetrics){const e=Array.from(this._buckets).map(([,r])=>r);this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}const Fz="MetricsAggregator",$0e=()=>({name:Fz,setupOnce(){},setup(t){t.metricsAggregator=new M0e(t)}}),jz=$0e,k0e=zn(Fz,jz);function ky(t,e,r,n={}){const i=Xe(),a=wr();if(i){if(!i.metricsAggregator){ge&&W.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}const{unit:s,tags:o,timestamp:u}=n,{release:c,environment:l}=i.getOptions(),d=a.getTransaction(),f={};c&&(f.release=c),l&&(f.environment=l),d&&(f.transaction=Pt(d).description||""),ge&&W.log(`Adding value of ${r} to ${t} metric ${e}`),i.metricsAggregator.add(t,e,r,s,{...f,...o},u)}}function D0e(t,e=1,r){ky(wz,t,e,r)}function I0e(t,e,r){ky(Tz,t,e,r)}function R0e(t,e,r){ky(Oz,t,e,r)}function L0e(t,e,r){ky(Sz,t,e,r)}const N0e={increment:D0e,distribution:I0e,set:R0e,gauge:L0e,MetricsAggregator:k0e,metricsAggregatorIntegration:jz},B0e=A0e,ct=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ge=je;function Hz(){Ge&&Ge.document?Ge.document.addEventListener("visibilitychange",()=>{const t=Zo();if(Ge.document.hidden&&t){const e="cancelled",{op:r,status:n}=Pt(t);ct&&W.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.end()}}):ct&&W.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const bP=(t,e,r)=>{let n,i;return a=>{e.value>=0&&(a||r)&&(i=e.value-(n||0),(i||n===void 0)&&(n=e.value,e.delta=i,t(e)))}},F0e=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,j0e=()=>{const t=Ge.performance.timing,e=Ge.performance.navigation.type,r={entryType:"navigation",startTime:0,type:e==2?"back_forward":e===1?"reload":"navigate"};for(const n in t)n!=="navigationStart"&&n!=="toJSON"&&(r[n]=Math.max(t[n]-t.navigationStart,0));return r},zz=()=>Ge.__WEB_VITALS_POLYFILL__?Ge.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||j0e()):Ge.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],Vz=()=>{const t=zz();return t&&t.activationStart||0},yP=(t,e)=>{const r=zz();let n="navigate";return r&&(Ge.document.prerendering||Vz()>0?n="prerender":n=r.type.replace(/_/g,"-")),{name:t,value:typeof e>"u"?-1:e,rating:"good",delta:0,entries:[],id:F0e(),navigationType:n}},Dy=(t,e,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const n=new PerformanceObserver(i=>{e(i.getEntries())});return n.observe(Object.assign({type:t,buffered:!0},r||{})),n}}catch{}},Iy=(t,e)=>{const r=n=>{(n.type==="pagehide"||Ge.document.visibilityState==="hidden")&&(t(n),e&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},H0e=t=>{const e=yP("CLS",0);let r,n=0,i=[];const a=o=>{o.forEach(u=>{if(!u.hadRecentInput){const c=i[0],l=i[i.length-1];n&&i.length!==0&&u.startTime-l.startTime<1e3&&u.startTime-c.startTime<5e3?(n+=u.value,i.push(u)):(n=u.value,i=[u]),n>e.value&&(e.value=n,e.entries=i,r&&r())}})},s=Dy("layout-shift",a);if(s){r=bP(t,e);const o=()=>{a(s.takeRecords()),r(!0)};return Iy(o),o}};let _v=-1;const z0e=()=>Ge.document.visibilityState==="hidden"&&!Ge.document.prerendering?0:1/0,V0e=()=>{Iy(({timeStamp:t})=>{_v=t},!0)},_P=()=>(_v<0&&(_v=z0e(),V0e()),{get firstHiddenTime(){return _v}}),U0e=t=>{const e=_P(),r=yP("FID");let n;const i=o=>{o.startTime<e.firstHiddenTime&&(r.value=o.processingStart-o.startTime,r.entries.push(o),n(!0))},a=o=>{o.forEach(i)},s=Dy("first-input",a);n=bP(t,r),s&&Iy(()=>{a(s.takeRecords()),s.disconnect()},!0)},PR={},G0e=t=>{const e=_P(),r=yP("LCP");let n;const i=s=>{const o=s[s.length-1];if(o){const u=Math.max(o.startTime-Vz(),0);u<e.firstHiddenTime&&(r.value=u,r.entries=[o],n())}},a=Dy("largest-contentful-paint",i);if(a){n=bP(t,r);const s=()=>{PR[r.id]||(i(a.takeRecords()),a.disconnect(),PR[r.id]=!0,n(!0))};return["keydown","click"].forEach(o=>{addEventListener(o,s,{once:!0,capture:!0})}),Iy(s,!0),s}},$h={},G0={};let Uz,Gz,Wz;function W0e(t,e=!1){return wP("cls",t,K0e,Uz,e)}function Yz(t,e=!1){return wP("lcp",t,X0e,Wz,e)}function Y0e(t){return wP("fid",t,q0e,Gz)}function Ry(t,e){return Kz(t,e),G0[t]||(J0e(t),G0[t]=!0),qz(t,e)}function Ly(t,e){const r=$h[t];if(!(!r||!r.length))for(const n of r)try{n(e)}catch(i){ct&&W.error(`Error while triggering instrumentation handler.
Type: ${t}
Name: ${Rs(n)}
Error:`,i)}}function K0e(){return H0e(t=>{Ly("cls",{metric:t}),Uz=t})}function q0e(){return U0e(t=>{Ly("fid",{metric:t}),Gz=t})}function X0e(){return G0e(t=>{Ly("lcp",{metric:t}),Wz=t})}function wP(t,e,r,n,i=!1){Kz(t,e);let a;return G0[t]||(a=r(),G0[t]=!0),n&&e({metric:n}),qz(t,e,i?a:void 0)}function J0e(t){const e={};t==="event"&&(e.durationThreshold=0),Dy(t,r=>{Ly(t,{entries:r})},e)}function Kz(t,e){$h[t]=$h[t]||[],$h[t].push(e)}function qz(t,e,r){return()=>{r&&r();const n=$h[t];if(!n)return;const i=n.indexOf(e);i!==-1&&n.splice(i,1)}}function _1(t){return typeof t=="number"&&isFinite(t)}function bd(t,{startTimestamp:e,...r}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...r})}const Q0e=2147483647;function Sr(t){return t/1e3}function Xz(){return Ge&&Ge.addEventListener&&Ge.performance}let CR=0,dr={},Sa,kh;function Jz(){const t=Xz();if(t&&bn){t.mark&&Ge.performance.mark("sentry-tracing-init");const e=tbe(),r=Z0e(),n=ebe();return()=>{e(),r(),n()}}return()=>{}}function Qz(){Ry("longtask",({entries:t})=>{for(const e of t){const r=Zo();if(!r)return;const n=Sr(bn+e.startTime),i=Sr(e.duration);r.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+i})}})}function Zz(){Ry("event",({entries:t})=>{for(const e of t){const r=Zo();if(!r)return;if(e.name==="click"){const n=Sr(bn+e.startTime),i=Sr(e.duration),a={description:dc(e.target),op:`ui.interaction.${e.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+i},s=kH(e.target);s&&(a.attributes={"ui.component_name":s}),r.startChild(a)}}})}function Z0e(){return W0e(({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(ct&&W.log("[Measurements] Adding CLS"),dr.cls={value:t.value,unit:""},kh=e)},!0)}function ebe(){return Yz(({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(ct&&W.log("[Measurements] Adding LCP"),dr.lcp={value:t.value,unit:"millisecond"},Sa=e)},!0)}function tbe(){return Y0e(({metric:t})=>{const e=t.entries[t.entries.length-1];if(!e)return;const r=Sr(bn),n=Sr(e.startTime);ct&&W.log("[Measurements] Adding FID"),dr.fid={value:t.value,unit:"millisecond"},dr["mark.fid"]={value:r+n,unit:"second"}})}function eV(t){const e=Xz();if(!e||!Ge.performance.getEntries||!bn)return;ct&&W.log("[Tracing] Adding & adjusting spans using Performance API");const r=Sr(bn),n=e.getEntries();let i,a;const{op:s,start_timestamp:o}=Pt(t);if(n.slice(CR).forEach(u=>{const c=Sr(u.startTime),l=Sr(u.duration);if(!(t.op==="navigation"&&o&&r+c<o))switch(u.entryType){case"navigation":{nbe(t,u,r),i=r+Sr(u.responseStart),a=r+Sr(u.requestStart);break}case"mark":case"paint":case"measure":{rbe(t,u,c,l,r);const d=_P(),f=u.startTime<d.firstHiddenTime;u.name==="first-paint"&&f&&(ct&&W.log("[Measurements] Adding FP"),dr.fp={value:u.startTime,unit:"millisecond"}),u.name==="first-contentful-paint"&&f&&(ct&&W.log("[Measurements] Adding FCP"),dr.fcp={value:u.startTime,unit:"millisecond"});break}case"resource":{abe(t,u,u.name,c,l,r);break}}}),CR=Math.max(n.length-1,0),sbe(t),s==="pageload"){ube(dr,i,a,o),["fcp","fp","lcp"].forEach(c=>{if(!dr[c]||!o||r>=o)return;const l=dr[c].value,d=r+Sr(l),f=Math.abs((d-o)*1e3),p=f-l;ct&&W.log(`[Measurements] Normalized ${c} from ${l} to ${f} (${p})`),dr[c].value=f});const u=dr["mark.fid"];u&&dr.fid&&(bd(t,{description:"first input delay",endTimestamp:u.value+Sr(dr.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:u.value}),delete dr["mark.fid"]),"fcp"in dr||delete dr.cls,Object.keys(dr).forEach(c=>{gz(c,dr[c].value,dr[c].unit)}),obe(t)}Sa=void 0,kh=void 0,dr={}}function rbe(t,e,r,n,i){const a=i+r,s=a+n;return bd(t,{description:e.name,endTimestamp:s,op:e.entryType,origin:"auto.resource.browser.metrics",startTimestamp:a}),a}function nbe(t,e,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{cg(t,e,n,r)}),cg(t,e,"secureConnection",r,"TLS/SSL","connectEnd"),cg(t,e,"fetch",r,"cache","domainLookupStart"),cg(t,e,"domainLookup",r,"DNS"),ibe(t,e,r)}function cg(t,e,r,n,i,a){const s=a?e[a]:e[`${r}End`],o=e[`${r}Start`];!o||!s||bd(t,{op:"browser",origin:"auto.browser.browser.metrics",description:i||r,startTimestamp:n+Sr(o),endTimestamp:n+Sr(s)})}function ibe(t,e,r){e.responseEnd&&(bd(t,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:r+Sr(e.requestStart),endTimestamp:r+Sr(e.responseEnd)}),bd(t,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:r+Sr(e.responseStart),endTimestamp:r+Sr(e.responseEnd)}))}function abe(t,e,r,n,i,a){if(e.initiatorType==="xmlhttprequest"||e.initiatorType==="fetch")return;const s=bv(r),o={};w1(o,e,"transferSize","http.response_transfer_size"),w1(o,e,"encodedBodySize","http.response_content_length"),w1(o,e,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in e&&(o["resource.render_blocking_status"]=e.renderBlockingStatus),s.protocol&&(o["url.scheme"]=s.protocol.split(":").pop()),s.host&&(o["server.address"]=s.host),o["url.same_origin"]=r.includes(Ge.location.origin);const u=a+n,c=u+i;bd(t,{description:r.replace(Ge.location.origin,""),endTimestamp:c,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:u,data:o})}function sbe(t){const e=Ge.navigator;if(!e)return;const r=e.connection;r&&(r.effectiveType&&t.setTag("effectiveConnectionType",r.effectiveType),r.type&&t.setTag("connectionType",r.type),_1(r.rtt)&&(dr["connection.rtt"]={value:r.rtt,unit:"millisecond"})),_1(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),_1(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}function obe(t){Sa&&(ct&&W.log("[Measurements] Adding LCP Data"),Sa.element&&t.setTag("lcp.element",dc(Sa.element)),Sa.id&&t.setTag("lcp.id",Sa.id),Sa.url&&t.setTag("lcp.url",Sa.url.trim().slice(0,200)),t.setTag("lcp.size",Sa.size)),kh&&kh.sources&&(ct&&W.log("[Measurements] Adding CLS Data"),kh.sources.forEach((e,r)=>t.setTag(`cls.source.${r+1}`,dc(e.node))))}function w1(t,e,r,n){const i=e[r];i!=null&&i<Q0e&&(t[n]=i)}function ube(t,e,r,n){typeof e=="number"&&n&&(ct&&W.log("[Measurements] Adding TTFB"),t.ttfb={value:Math.max(e-n,0)*1e3,unit:"millisecond"},typeof r=="number"&&r<=e&&(t["ttfb.requestTime"]={value:(e-r)*1e3,unit:"millisecond"}))}function cbe(t,e,r,n,i="auto.http.browser"){if(!Gd()||!t.fetchData)return;const a=e(t.fetchData.url);if(t.endTimestamp&&a){const d=t.fetchData.__span;if(!d)return;const f=n[d];if(f){if(t.response){cP(f,t.response.status);const p=t.response&&t.response.headers&&t.response.headers.get("content-length");if(p){const m=parseInt(p);m>0&&f.setAttribute("http.response_content_length",m)}}else t.error&&f.setStatus("internal_error");f.end(),delete n[d]}return}const s=wr(),o=Xe(),{method:u,url:c}=t.fetchData,l=a?hP({name:`${u} ${c}`,onlyIfParent:!0,attributes:{url:c,type:"fetch","http.method":u,[Ll]:i},op:"http.client"}):void 0;if(l&&(t.fetchData.__span=l.spanContext().spanId,n[l.spanContext().spanId]=l),r(t.fetchData.url)&&o){const d=t.args[0];t.args[1]=t.args[1]||{};const f=t.args[1];f.headers=lbe(d,o,s,f,l)}return l}function lbe(t,e,r,n,i){const a=i||r.getSpan(),s=ca(),{traceId:o,spanId:u,sampled:c,dsc:l}={...s.getPropagationContext(),...r.getPropagationContext()},d=a?Cy(a):eP(o,u,c),f=KH(l||(a?up(a):My(o,e,r))),p=n.headers||(typeof Request<"u"&&Is(t,Request)?t.headers:void 0);if(p)if(typeof Headers<"u"&&Is(p,Headers)){const m=new Headers(p);return m.append("sentry-trace",d),f&&m.append(YO,f),m}else if(Array.isArray(p)){const m=[...p,["sentry-trace",d]];return f&&m.push([YO,f]),m}else{const m="baggage"in p?p.baggage:void 0,b=[];return Array.isArray(m)?b.push(...m):m&&b.push(m),f&&b.push(f),{...p,"sentry-trace":d,baggage:b.length>0?b.join(","):void 0}}else return{"sentry-trace":d,baggage:f}}const JO=["localhost",/^\/(?!\/)/],cp={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:JO,tracePropagationTargets:JO};function SP(t){const{traceFetch:e,traceXHR:r,tracePropagationTargets:n,tracingOrigins:i,shouldCreateSpanForRequest:a,enableHTTPTimings:s}={traceFetch:cp.traceFetch,traceXHR:cp.traceXHR,...t},o=typeof a=="function"?a:l=>!0,u=l=>pbe(l,n||i),c={};e&&Xx(l=>{const d=cbe(l,o,u,c);s&&d&&AR(d)}),r&&Jx(l=>{const d=mbe(l,o,u,c);s&&d&&AR(d)})}function dbe(t){return t.entryType==="resource"&&"initiatorType"in t&&typeof t.nextHopProtocol=="string"&&(t.initiatorType==="fetch"||t.initiatorType==="xmlhttprequest")}function AR(t){const{url:e}=Pt(t).data||{};if(!e||typeof e!="string")return;const r=Ry("resource",({entries:n})=>{n.forEach(i=>{dbe(i)&&i.name.endsWith(e)&&(hbe(i).forEach(s=>t.setAttribute(...s)),setTimeout(r))})})}function fbe(t){let e="unknown",r="unknown",n="";for(const i of t){if(i==="/"){[e,r]=t.split("/");break}if(!isNaN(Number(i))){e=n==="h"?"http":n,r=t.split(n)[1];break}n+=i}return n===t&&(e=n),{name:e,version:r}}function va(t=0){return((bn||performance.timeOrigin)+t)/1e3}function hbe(t){const{name:e,version:r}=fbe(t.nextHopProtocol),n=[];return n.push(["network.protocol.version",r],["network.protocol.name",e]),bn?[...n,["http.request.redirect_start",va(t.redirectStart)],["http.request.fetch_start",va(t.fetchStart)],["http.request.domain_lookup_start",va(t.domainLookupStart)],["http.request.domain_lookup_end",va(t.domainLookupEnd)],["http.request.connect_start",va(t.connectStart)],["http.request.secure_connection_start",va(t.secureConnectionStart)],["http.request.connection_end",va(t.connectEnd)],["http.request.request_start",va(t.requestStart)],["http.request.response_start",va(t.responseStart)],["http.request.response_end",va(t.responseEnd)]]:n}function pbe(t,e){return jd(t,e||JO)}function mbe(t,e,r,n){const i=t.xhr,a=i&&i[vo];if(!Gd()||!i||i.__sentry_own_request__||!a)return;const s=e(a.url);if(t.endTimestamp&&s){const d=i.__sentry_xhr_span_id__;if(!d)return;const f=n[d];f&&a.status_code!==void 0&&(cP(f,a.status_code),f.end(),delete n[d]);return}const o=wr(),u=ca(),c=s?hP({name:`${a.method} ${a.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":a.method,url:a.url,[Ll]:"auto.http.browser"},op:"http.client"}):void 0;c&&(i.__sentry_xhr_span_id__=c.spanContext().spanId,n[i.__sentry_xhr_span_id__]=c);const l=Xe();if(i.setRequestHeader&&r(a.url)&&l){const{traceId:d,spanId:f,sampled:p,dsc:m}={...u.getPropagationContext(),...o.getPropagationContext()},b=c?Cy(c):eP(d,f,p),_=KH(m||(c?up(c):My(d,l,o)));gbe(i,b,_)}return c}function gbe(t,e,r){try{t.setRequestHeader("sentry-trace",e),r&&t.setRequestHeader(YO,r)}catch{}}function vbe(t,e=!0,r=!0){if(!Ge||!Ge.location){ct&&W.warn("Could not initialize routing instrumentation due to invalid location");return}let n=Ge.location.href,i;e&&(i=t({name:Ge.location.pathname,startTimestamp:bn?bn/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),r&&Up(({to:a,from:s})=>{if(s===void 0&&n&&n.indexOf(a)!==-1){n=void 0;return}s!==a&&(n=void 0,i&&(ct&&W.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.end()),i=t({name:Ge.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}const bbe="BrowserTracing",ybe={...Mh,markBackgroundTransactions:!0,routingInstrumentation:vbe,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...cp};class _be{constructor(e){this.name=bbe,this._hasSetTracePropagationTargets=!1,dP(),ct&&(this._hasSetTracePropagationTargets=!!(e&&(e.tracePropagationTargets||e.tracingOrigins))),this.options={...ybe,...e},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=Jz(),this.options.enableLongTask&&Qz(),this.options._experiments.enableInteractions&&Zz()}setupOnce(e,r){this._getCurrentHub=r;const i=r().getClient(),a=i&&i.getOptions(),{routingInstrumentation:s,startTransactionOnLocationChange:o,startTransactionOnPageLoad:u,markBackgroundTransactions:c,traceFetch:l,traceXHR:d,shouldCreateSpanForRequest:f,enableHTTPTimings:p,_experiments:m}=this.options,b=a&&a.tracePropagationTargets,_=b||this.options.tracePropagationTargets;ct&&this._hasSetTracePropagationTargets&&b&&W.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),s(S=>{const E=this._createRouteTransaction(S);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(E,S,r),E},u,o),c&&Hz(),m.enableInteractions&&this._registerInteractionListener(),SP({traceFetch:l,traceXHR:d,tracePropagationTargets:_,shouldCreateSpanForRequest:f,enableHTTPTimings:p})}_createRouteTransaction(e){if(!this._getCurrentHub){ct&&W.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`);return}const r=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:i,finalTimeout:a,heartbeatInterval:s}=this.options,o=e.op==="pageload";let u;if(o){const p=o?MR("sentry-trace"):"",m=o?MR("baggage"):void 0,{traceparentData:b,dynamicSamplingContext:_}=Zx(p,m);u={...e,...b,metadata:{...e.metadata,dynamicSamplingContext:b&&!_?{}:_},trimEnd:!0}}else u={...e,trimEnd:!0};const c=typeof n=="function"?n(u):u,l=c===void 0?{...u,sampled:!1}:c;l.metadata=l.name!==u.name?{...l.metadata,source:"custom"}:l.metadata,this._latestRouteName=l.name,this._latestRouteSource=wbe(l),l.sampled===!1&&ct&&W.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),ct&&W.log(`[Tracing] Starting ${l.op} transaction on scope`);const{location:d}=Ge,f=V0(r,l,i,a,!0,{location:d},s,o);return o&&(Ge.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(Ge.document.readyState)&&f.sendAutoFinishSignal()}),["interactive","complete"].includes(Ge.document.readyState)&&f.sendAutoFinishSignal()),f.registerBeforeFinishCallback(p=>{this._collectWebVitals(),eV(p)}),f}_registerInteractionListener(){let e;const r=()=>{const{idleTimeout:n,finalTimeout:i,heartbeatInterval:a}=this.options,s="ui.action.click",o=Zo();if(o&&o.op&&["navigation","pageload"].includes(o.op)){ct&&W.warn(`[Tracing] Did not create ${s} transaction because a pageload or navigation transaction is in progress.`);return}if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub){ct&&W.warn(`[Tracing] Did not create ${s} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){ct&&W.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`);return}const u=this._getCurrentHub(),{location:c}=Ge,l={name:this._latestRouteName,op:s,trimEnd:!0,data:{[kn]:this._latestRouteSource||"url"}};e=V0(u,l,n,i,!0,{location:c},a)};["click"].forEach(n=>{addEventListener(n,r,{once:!1,capture:!0})})}}function MR(t){const e=$H(`meta[name=${t}]`);return e?e.getAttribute("content"):void 0}function wbe(t){const e=t.attributes&&t.attributes[kn],r=t.data&&t.data[kn],n=t.metadata&&t.metadata.source;return e||r||n}const Sbe="BrowserTracing",Obe={...Mh,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,_experiments:{},...cp},Tbe=(t={})=>{const e=ct?!!(t.tracePropagationTargets||t.tracingOrigins):!1;dP(),!t.tracePropagationTargets&&t.tracingOrigins&&(t.tracePropagationTargets=t.tracingOrigins);const r={...Obe,...t},n=Jz();r.enableLongTask&&Qz(),r._experiments.enableInteractions&&Zz();let i,a;function s(o){const u=bt(),{beforeStartSpan:c,idleTimeout:l,finalTimeout:d,heartbeatInterval:f}=r,p=o.op==="pageload";let m;if(p){const E=p?$R("sentry-trace"):"",O=p?$R("baggage"):void 0,{traceparentData:h,dynamicSamplingContext:v}=Zx(E,O);m={...o,...h,metadata:{...o.metadata,dynamicSamplingContext:h&&!v?{}:v},trimEnd:!0}}else m={...o,trimEnd:!0};const b=c?c(m):m;b.metadata=b.name!==m.name?{...b.metadata,source:"custom"}:b.metadata,i=b.name,a=xbe(b),b.sampled===!1&&ct&&W.log(`[Tracing] Will not send ${b.op} transaction because of beforeNavigate.`),ct&&W.log(`[Tracing] Starting ${b.op} transaction on scope`);const{location:_}=Ge,S=V0(u,b,l,d,!0,{location:_},f,p);return p&&(Ge.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(Ge.document.readyState)&&S.sendAutoFinishSignal()}),["interactive","complete"].includes(Ge.document.readyState)&&S.sendAutoFinishSignal()),S.registerBeforeFinishCallback(E=>{n(),eV(E)}),S}return{name:Sbe,setupOnce:()=>{},afterAllSetup(o){const u=o.getOptions(),{markBackgroundSpan:c,traceFetch:l,traceXHR:d,shouldCreateSpanForRequest:f,enableHTTPTimings:p,_experiments:m}=r,b=u&&u.tracePropagationTargets,_=b||r.tracePropagationTargets;ct&&e&&b&&W.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let S,E=Ge.location.href;if(o.on&&(o.on("startNavigationSpan",O=>{S&&(ct&&W.log(`[Tracing] Finishing current transaction with op: ${Pt(S).op}`),S.end()),S=s(O)}),o.on("startPageLoadSpan",O=>{S&&(ct&&W.log(`[Tracing] Finishing current transaction with op: ${Pt(S).op}`),S.end()),S=s(O)})),r.instrumentPageLoad&&o.emit){const O={name:Ge.location.pathname,startTimestamp:bn?bn/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}};tV(o,O)}r.instrumentNavigation&&o.emit&&Up(({to:O,from:h})=>{if(h===void 0&&E&&E.indexOf(O)!==-1){E=void 0;return}if(h!==O){E=void 0;const v={name:Ge.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}};rV(o,v)}}),c&&Hz(),m.enableInteractions&&Ebe(r,i,a),SP({traceFetch:l,traceXHR:d,tracePropagationTargets:_,shouldCreateSpanForRequest:f,enableHTTPTimings:p})},options:r}};function tV(t,e){t.emit&&t.emit("startPageLoadSpan",e)}function rV(t,e){t.emit&&t.emit("startNavigationSpan",e)}function $R(t){const e=$H(`meta[name=${t}]`);return e?e.getAttribute("content"):void 0}function Ebe(t,e,r){let n;const i=()=>{const{idleTimeout:a,finalTimeout:s,heartbeatInterval:o}=t,u="ui.action.click",c=Zo();if(c&&c.op&&["navigation","pageload"].includes(c.op)){ct&&W.warn(`[Tracing] Did not create ${u} transaction because a pageload or navigation transaction is in progress.`);return}if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!e){ct&&W.warn(`[Tracing] Did not create ${u} transaction because _latestRouteName is missing.`);return}const{location:l}=Ge,d={name:e,op:u,trimEnd:!0,data:{[kn]:r||"url"}};n=V0(bt(),d,a,s,!0,{location:l},o)};["click"].forEach(a=>{addEventListener(a,i,{once:!1,capture:!0})})}function xbe(t){const e=t.attributes&&t.attributes[kn],r=t.data&&t.data[kn],n=t.metadata&&t.metadata.source;return e||r||n}const Se=je;let QO=0;function nV(){return QO>0}function Pbe(){QO++,setTimeout(()=>{QO--})}function hc(t,e={},r){if(typeof t!="function")return t;try{const i=t.__sentry_wrapped__;if(i)return i;if(Kx(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 Pbe(),Yp(s=>{s.addEventProcessor(o=>(e.mechanism&&(FO(o,void 0,void 0),op(o,e.mechanism)),o.extra={...o.extra,arguments:i},o)),Vd(a)}),a}};try{for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}catch{}LH(n,t),sp(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return t.name}})}catch{}return n}const rt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function OP(t,e){const r=TP(t,e),n={type:e&&e.name,value:$be(e)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function Cbe(t,e,r,n){const i=Xe(),a=i&&i.getOptions().normalizeDepth,s={exception:{values:[{type:Py(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:kbe(e,{isUnhandledRejection:n})}]},extra:{__serialized__:GH(e,a)}};if(r){const o=TP(t,r);o.length&&(s.exception.values[0].stacktrace={frames:o})}return s}function S1(t,e){return{exception:{values:[OP(t,e)]}}}function TP(t,e){const r=e.stacktrace||e.stack||"",n=Mbe(e);try{return t(r,n)}catch{}return[]}const Abe=/Minified React error #\d+;/i;function Mbe(t){if(t){if(typeof t.framesToPop=="number")return t.framesToPop;if(Abe.test(t.message))return 1}return 0}function $be(t){const e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function iV(t,e,r,n){const i=r&&r.syntheticException||void 0,a=EP(t,e,i,n);return op(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),md(a)}function aV(t,e,r="info",n,i){const a=n&&n.syntheticException||void 0,s=ZO(t,e,a,i);return s.level=r,n&&n.event_id&&(s.event_id=n.event_id),md(s)}function EP(t,e,r,n,i){let a;if(Ux(e)&&e.error)return S1(t,e.error);if(q2(e)||dme(e)){const s=e;if("stack"in e)a=S1(t,e);else{const o=s.name||(q2(s)?"DOMError":"DOMException"),u=s.message?`${o}: ${s.message}`:o;a=ZO(t,u,r,n),FO(a,u)}return"code"in s&&(a.tags={...a.tags,"DOMException.code":`${s.code}`}),a}return EH(e)?S1(t,e):pd(e)||Py(e)?(a=Cbe(t,e,r,i),op(a,{synthetic:!0}),a):(a=ZO(t,e,r,n),FO(a,`${e}`,void 0),op(a,{synthetic:!0}),a)}function ZO(t,e,r,n){const i={};if(n&&r){const a=TP(t,r);a.length&&(i.exception={values:[{value:e,stacktrace:{frames:a}}]})}if(Gx(e)){const{__sentry_template_string__:a,__sentry_template_values__:s}=e;return i.logentry={message:a,params:s},i}return i.message=e,i}function kbe(t,{isUnhandledRejection:e}){const r=Eme(t),n=e?"promise rejection":"exception";return Ux(t)?`Event \`ErrorEvent\` captured as ${n} with message \`${t.message}\``:Py(t)?`Event \`${Dbe(t)}\` (type=${t.type}) captured as ${n}`:`Object captured as ${n} with keys: ${r}`}function Dbe(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function sV(t,{metadata:e,tunnel:r,dsn:n}){const i={event_id:t.event_id,sent_at:new Date().toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!r&&!!n&&{dsn:zd(n)}},a=Ibe(t);return Ac(i,[a])}function Ibe(t){return[{type:"user_report"},t]}class oV extends Nve{constructor(e){const r=Se.SENTRY_SDK_SOURCE||Yme();i0e(e,"browser",["browser"],r),super(e),e.sendClientReports&&Se.document&&Se.document.addEventListener("visibilitychange",()=>{Se.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,r){return iV(this._options.stackParser,e,r,this._options.attachStacktrace)}eventFromMessage(e,r="info",n){return aV(this._options.stackParser,e,r,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){rt&&W.warn("SDK not enabled, will not capture user feedback.");return}const r=sV(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(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){rt&&W.log("No outcomes to send");return}if(!this._dsn){rt&&W.log("No dsn provided, will not send outcomes");return}rt&&W.log("Sending outcomes:",e);const r=gge(e,this._options.tunnel&&zd(this._dsn));this._sendEnvelope(r)}}let dh;function Rbe(){if(dh)return dh;if(VO(Se.fetch))return dh=Se.fetch.bind(Se);const t=Se.document;let e=Se.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){rt&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return dh=e.bind(Se)}function Lbe(){dh=void 0}function uV(t,e=Rbe()){let r=0,n=0;function i(a){const s=a.body.length;r+=s,n++;const o={body:a.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:r<=6e4&&n<15,...t.fetchOptions};try{return e(t.url,o).then(u=>(r-=s,n--,{statusCode:u.status,headers:{"x-sentry-rate-limits":u.headers.get("X-Sentry-Rate-Limits"),"retry-after":u.headers.get("Retry-After")}}))}catch(u){return Lbe(),r-=s,n--,Qx(u)}}return mP(t,i)}const Nbe=4;function cV(t){function e(r){return new ei((n,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===Nbe&&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 mP(t,e)}const Wd="?",Bbe=10,Fbe=20,jbe=30,Hbe=40,zbe=50;function Kp(t,e,r,n){const i={filename:t,function:e,in_app:!0};return r!==void 0&&(i.lineno=r),n!==void 0&&(i.colno=n),i}const Vbe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ube=/\((\S*)(?::(\d+))(?::(\d+))\)/,Gbe=t=>{const e=Vbe.exec(t);if(e){if(e[2]&&e[2].indexOf("eval")===0){const a=Ube.exec(e[2]);a&&(e[2]=a[1],e[3]=a[2],e[4]=a[3])}const[n,i]=mV(e[1]||Wd,e[2]);return Kp(i,n,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}},lV=[jbe,Gbe],Wbe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ybe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Kbe=t=>{const e=Wbe.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const a=Ybe.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]||Wd;return[i,n]=mV(i,n),Kp(n,i,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},dV=[zbe,Kbe],qbe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Xbe=t=>{const e=qbe.exec(t);return e?Kp(e[2],e[1]||Wd,+e[3],e[4]?+e[4]:void 0):void 0},fV=[Hbe,Xbe],Jbe=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,Qbe=t=>{const e=Jbe.exec(t);return e?Kp(e[2],e[3]||Wd,+e[1]):void 0},Zbe=[Bbe,Qbe],eye=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,tye=t=>{const e=eye.exec(t);return e?Kp(e[5],e[3]||e[4]||Wd,+e[1],+e[2]):void 0},rye=[Fbe,tye],hV=[lV,dV,fV],pV=FH(...hV),mV=(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]:Wd,r?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},lg=1024,gV="Breadcrumbs",nye=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:gV,setupOnce(){},setup(r){e.console&&Ame(sye(r)),e.dom&&HH(aye(r,e.dom)),e.xhr&&Jx(oye(r)),e.fetch&&Xx(uye(r)),e.history&&Up(cye(r)),e.sentry&&r.on&&r.on("beforeSendEvent",iye(r))}}},xP=nye,vV=zn(gV,xP);function iye(t){return function(r){Xe()===t&&Ls({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:ho(r)},{event:r})}}function aye(t,e){return function(n){if(Xe()!==t)return;let i,a,s=typeof e=="object"?e.serializeAttribute:void 0,o=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;o&&o>lg&&(rt&&W.warn(`\`dom.maxStringLength\` cannot exceed ${lg}, but a value of ${o} was configured. Sentry will use ${lg} instead.`),o=lg),typeof s=="string"&&(s=[s]);try{const c=n.event,l=lye(c)?c.target:c;i=dc(l,{keyAttrs:s,maxStringLength:o}),a=kH(l)}catch{i="<unknown>"}if(i.length===0)return;const u={category:`ui.${n.name}`,message:i};a&&(u.data={"ui.component_name":a}),Ls(u,{event:n.event,name:n.name,global:n.global})}}function sye(t){return function(r){if(Xe()!==t)return;const n={category:"console",data:{arguments:r.args,logger:"console"},level:nge(r.level),message:X2(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)n.message=`Assertion failed: ${X2(r.args.slice(1)," ")||"console.assert"}`,n.data.arguments=r.args.slice(1);else return;Ls(n,{input:r.args,level:r.level})}}function oye(t){return function(r){if(Xe()!==t)return;const{startTimestamp:n,endTimestamp:i}=r,a=r.xhr[vo];if(!n||!i||!a)return;const{method:s,url:o,status_code:u,body:c}=a,l={method:s,url:o,status_code:u},d={xhr:r.xhr,input:c,startTimestamp:n,endTimestamp:i};Ls({category:"xhr",data:l,type:"http"},d)}}function uye(t){return function(r){if(Xe()!==t)return;const{startTimestamp:n,endTimestamp:i}=r;if(i&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.error){const a=r.fetchData,s={data:r.error,input:r.args,startTimestamp:n,endTimestamp:i};Ls({category:"fetch",data:a,level:"error",type:"http"},s)}else{const a=r.response,s={...r.fetchData,status_code:a&&a.status},o={input:r.args,response:a,startTimestamp:n,endTimestamp:i};Ls({category:"fetch",data:s,type:"http"},o)}}}function cye(t){return function(r){if(Xe()!==t)return;let n=r.from,i=r.to;const a=bv(Se.location.href);let s=n?bv(n):void 0;const o=bv(i);(!s||!s.path)&&(s=a),a.protocol===o.protocol&&a.host===o.host&&(i=o.relative),a.protocol===s.protocol&&a.host===s.host&&(n=s.relative),Ls({category:"navigation",data:{from:n,to:i}})}}function lye(t){return!!t&&!!t.target}const bV="Dedupe",dye=()=>{let t;return{name:bV,setupOnce(){},processEvent(e){if(e.type)return e;try{if(fye(e,t))return rt&&W.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},PP=dye,yV=zn(bV,PP);function fye(t,e){return e?!!(hye(t,e)||pye(t,e)):!1}function hye(t,e){const r=t.message,n=e.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!wV(t,e)||!_V(t,e))}function pye(t,e){const r=kR(e),n=kR(t);return!(!r||!n||r.type!==n.type||r.value!==n.value||!wV(t,e)||!_V(t,e))}function _V(t,e){let r=DR(t),n=DR(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 wV(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 kR(t){return t.exception&&t.exception.values&&t.exception.values[0]}function DR(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch{return}}const SV="GlobalHandlers",mye=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:SV,setupOnce(){Error.stackTraceLimit=50},setup(r){e.onerror&&(gye(r),IR("onerror")),e.onunhandledrejection&&(vye(r),IR("onunhandledrejection"))}}},CP=mye,OV=zn(SV,CP);function gye(t){VH(e=>{const{stackParser:r,attachStacktrace:n}=EV();if(Xe()!==t||nV())return;const{msg:i,url:a,line:s,column:o,error:u}=e,c=u===void 0&&Fa(i)?_ye(i,a,s,o):TV(EP(r,u||i,void 0,n,!1),a,s,o);c.level="error",aP(c,{originalException:u,mechanism:{handled:!1,type:"onerror"}})})}function vye(t){UH(e=>{const{stackParser:r,attachStacktrace:n}=EV();if(Xe()!==t||nV())return;const i=bye(e),a=Wx(i)?yye(i):EP(r,i,void 0,n,!0);a.level="error",aP(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function bye(t){if(Wx(t))return t;const e=t;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return t}function yye(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function _ye(t,e,r,n){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=Ux(t)?t.message:t,s="Error";const o=a.match(i);return o&&(s=o[1],a=o[2]),TV({exception:{values:[{type:s,value:a}]}},e,r,n)}function TV(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||[],c=isNaN(parseInt(n,10))?void 0:n,l=isNaN(parseInt(r,10))?void 0:r,d=Fa(e)&&e.length>0?e:MH();return u.length===0&&u.push({colno:c,filename:d,function:"?",in_app:!0,lineno:l}),t}function IR(t){rt&&W.log(`Global Handler attached: ${t}`)}function EV(){const t=Xe();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const xV="HttpContext",wye=()=>({name:xV,setupOnce(){},preprocessEvent(t){if(!Se.navigator&&!Se.location&&!Se.document)return;const e=t.request&&t.request.url||Se.location&&Se.location.href,{referrer:r}=Se.document||{},{userAgent:n}=Se.navigator||{},i={...t.request&&t.request.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},a={...t.request,...e&&{url:e},headers:i};t.request=a}}),AP=wye,PV=zn(xV,AP),Sye="cause",Oye=5,CV="LinkedErrors",Tye=(t={})=>{const e=t.limit||Oye,r=t.key||Sye;return{name:CV,setupOnce(){},preprocessEvent(n,i,a){const s=a.getOptions();CH(OP,s.stackParser,s.maxValueLength,r,e,n,i)}}},MP=Tye,AV=zn(CV,MP),Eye=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],MV="TryCatch",xye=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:MV,setupOnce(){e.setTimeout&&Lr(Se,"setTimeout",RR),e.setInterval&&Lr(Se,"setInterval",RR),e.requestAnimationFrame&&Lr(Se,"requestAnimationFrame",Pye),e.XMLHttpRequest&&"XMLHttpRequest"in Se&&Lr(XMLHttpRequest.prototype,"send",Cye);const r=e.eventTarget;r&&(Array.isArray(r)?r:Eye).forEach(Aye)}}},$P=xye,$V=zn(MV,$P);function RR(t){return function(...e){const r=e[0];return e[0]=hc(r,{mechanism:{data:{function:Rs(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function Pye(t){return function(e){return t.apply(this,[hc(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Rs(t)},handled:!1,type:"instrument"}})])}}function Cye(t){return function(...e){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in r&&typeof r[i]=="function"&&Lr(r,i,function(a){const s={mechanism:{data:{function:i,handler:Rs(a)},handled:!1,type:"instrument"}},o=Kx(a);return o&&(s.mechanism.data.handler=Rs(o)),hc(a,s)})}),t.apply(this,e)}}function Aye(t){const e=Se,r=e[t]&&e[t].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Lr(r,"addEventListener",function(n){return function(i,a,s){try{typeof a.handleEvent=="function"&&(a.handleEvent=hc(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Rs(a),target:t},handled:!1,type:"instrument"}}))}catch{}return n.apply(this,[i,hc(a,{mechanism:{data:{function:"addEventListener",handler:Rs(a),target:t},handled:!1,type:"instrument"}}),s])}}),Lr(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 kV=[gP(),vP(),$P(),xP(),CP(),MP(),PP(),AP()];function kP(t){return[...kV]}function Mye(t={}){t.defaultIntegrations===void 0&&(t.defaultIntegrations=kP()),t.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(t.release=__SENTRY_RELEASE__),Se.SENTRY_RELEASE&&Se.SENTRY_RELEASE.id&&(t.release=Se.SENTRY_RELEASE.id)),t.autoSessionTracking===void 0&&(t.autoSessionTracking=!0),t.sendClientReports===void 0&&(t.sendClientReports=!0);const e={...t,stackParser:Pme(t.stackParser||pV),integrations:Eve(t),transport:t.transport||(zH()?uV:cV)};Gve(oV,e),t.autoSessionTracking&&Rye()}const $ye=(t={},e=bt())=>{if(!Se.document){rt&&W.error("Global document not defined in showReportDialog call");return}const{client:r,scope:n}=e.getStackTop(),i=t.dsn||r&&r.getDsn();if(!i){rt&&W.error("DSN not configured for showReportDialog call");return}n&&(t.user={...n.getUser(),...t.user}),t.eventId||(t.eventId=e.lastEventId());const a=Se.document.createElement("script");a.async=!0,a.crossOrigin="anonymous",a.src=Ove(i,t),t.onLoad&&(a.onload=t.onLoad);const{onClose:s}=t;if(s){const u=c=>{if(c.data==="__sentry_reportdialog_closed__")try{s()}finally{Se.removeEventListener("message",u)}};Se.addEventListener("message",u)}const o=Se.document.head||Se.document.body;o?o.appendChild(a):rt&&W.error("Not injecting report dialog. No injection point found in HTML")};function kye(){}function Dye(t){t()}function Iye(t){return hc(t)()}function Rye(){if(typeof Se.document>"u"){rt&&W.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}fR({ignoreDuration:!0}),hR(),Up(({from:t,to:e})=>{t!==void 0&&t!==e&&(fR({ignoreDuration:!0}),hR())})}function Lye(t){const e=Xe();e&&e.captureUserFeedback(t)}const Nye=Object.freeze(Object.defineProperty({__proto__:null,Breadcrumbs:vV,Dedupe:yV,GlobalHandlers:OV,HttpContext:PV,LinkedErrors:AV,TryCatch:$V},Symbol.toStringTag,{value:"Module"})),At=je,DP="sentryReplaySession",Bye="replay_event",IP="Unable to send Replay",Fye=3e5,jye=9e5,Hye=5e3,zye=5500,Vye=6e4,Uye=5e3,Gye=3,LR=15e4,dg=5e3,Wye=3e3,Yye=300,RP=2e7,Kye=4999,qye=15e3,NR=36e5;function Xye(t,e){return t??e()}function W0(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}var Or;(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"})(Or||(Or={}));function Jye(t){return t.nodeType===t.ELEMENT_NODE}function Dh(t){const e=W0([t,"optionalAccess",r=>r.host]);return W0([e,"optionalAccess",r=>r.shadowRoot])===t}function Ih(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function Qye(t){return t.includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t}function Zye(t){const{cssText:e}=t;if(e.split('"').length<3)return e;const r=["@import",`url(${JSON.stringify(t.href)})`];return t.layerName===""?r.push("layer"):t.layerName&&r.push(`layer(${t.layerName})`),t.supportsText&&r.push(`supports(${t.supportsText})`),t.media.length&&r.push(t.media.mediaText),r.join(" ")+";"}function Y0(t){try{const e=t.rules||t.cssRules;return e?Qye(Array.from(e,DV).join("")):null}catch{return null}}function DV(t){let e;if(t_e(t))try{e=Y0(t.styleSheet)||Zye(t)}catch{}else if(r_e(t)&&t.selectorText.includes(":"))return e_e(t.cssText);return e||t.cssText}function e_e(t){const e=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(e,"$1\\$2")}function t_e(t){return"styleSheet"in t}function r_e(t){return"selectorText"in t}class IV{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){if(!e)return-1;const r=W0([this,"access",n=>n.getMeta,"call",n=>n(e),"optionalAccess",n=>n.id]);return Xye(r,()=>-1)}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const r=this.getId(e);this.idNodeMap.delete(r),e.childNodes&&e.childNodes.forEach(n=>this.removeNodeFromMap(n))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,r){const n=r.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,r)}replace(e,r){const n=this.getNode(e);if(n){const i=this.nodeMetaMap.get(n);i&&this.nodeMetaMap.set(r,i)}this.idNodeMap.set(e,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function n_e(){return new IV}function Ny({maskInputOptions:t,tagName:e,type:r}){return e==="OPTION"&&(e="SELECT"),!!(t[e.toLowerCase()]||r&&t[r]||r==="password"||e==="INPUT"&&!r&&t.text)}function lp({isMasked:t,element:e,value:r,maskInputFn:n}){let i=r||"";return t?(n&&(i=n(i,e)),"*".repeat(i.length)):i}function yd(t){return t.toLowerCase()}function eT(t){return t.toUpperCase()}const BR="__rrweb_original__";function i_e(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=BR in a?a[BR]: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}function LP(t){const e=t.type;return t.hasAttribute("data-rr-is-password")?"password":e?yd(e):null}function K0(t,e,r){return e==="INPUT"&&(r==="radio"||r==="checkbox")?t.getAttribute("value")||"":t.value}let a_e=1;const s_e=new RegExp("[^a-z0-9-_:]"),dp=-2;function NP(){return a_e++}function o_e(t){if(t instanceof HTMLFormElement)return"form";const e=yd(t.tagName);return s_e.test(e)?"div":e}function u_e(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,FR;const c_e=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,l_e=/^(?:[a-z+]+:)?\/\//i,d_e=/^www\..*/i,f_e=/^(data:)([^,]*),(.*)/i;function q0(t,e){return(t||"").replace(c_e,(r,n,i,a,s,o)=>{const u=i||s||o,c=n||a||"";if(!u)return r;if(l_e.test(u)||d_e.test(u))return`url(${c}${u}${c})`;if(f_e.test(u))return`url(${c}${u}${c})`;if(u[0]==="/")return`url(${c}${u_e(e)+u}${c})`;const l=e.split("/"),d=u.split("/");l.pop();for(const f of d)f!=="."&&(f===".."?l.pop():l.push(f));return`url(${c}${l.join("/")}${c})`})}const h_e=/^[^ \t\n\r\u000c]+/,p_e=/^[, \t\n\r\u000c]+/;function m_e(t,e){if(e.trim()==="")return e;let r=0;function n(a){let s;const o=a.exec(e.substring(r));return o?(s=o[0],r+=s.length,s):""}const i=[];for(;n(p_e),!(r>=e.length);){let a=n(h_e);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(;;){const 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 g_e(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function BP(){const t=document.createElement("a");return t.href="",t.href}function RV(t,e,r,n,i,a){return n&&(r==="src"||r==="href"&&!(e==="use"&&n[0]==="#")||r==="xlink:href"&&n[0]!=="#"||r==="background"&&(e==="table"||e==="td"||e==="th")?Nl(t,n):r==="srcset"?m_e(t,n):r==="style"?q0(n,BP()):e==="object"&&r==="data"?Nl(t,n):typeof a=="function"?a(r,n,i):n)}function LV(t,e,r){return(t==="video"||t==="audio")&&e==="autoplay"}function v_e(t,e,r,n){try{if(n&&t.matches(n))return!1;if(typeof e=="string"){if(t.classList.contains(e))return!0}else for(let i=t.classList.length;i--;){const a=t.classList[i];if(e.test(a))return!0}if(r)return t.matches(r)}catch{}return!1}function b_e(t,e){for(let r=t.classList.length;r--;){const n=t.classList[r];if(e.test(n))return!0}return!1}function Ru(t,e,r=1/0,n=0){return!t||t.nodeType!==t.ELEMENT_NODE||n>r?-1:e(t)?n:Ru(t.parentNode,e,r,n+1)}function Bl(t,e){return r=>{const n=r;if(n===null)return!1;try{if(t){if(typeof t=="string"){if(n.matches(`.${t}`))return!0}else if(b_e(n,t))return!0}return!!(e&&n.matches(e))}catch{return!1}}}function _d(t,e,r,n,i,a){try{const s=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(s===null)return!1;let o=-1,u=-1;if(a){if(u=Ru(s,Bl(n,i)),u<0)return!0;o=Ru(s,Bl(e,r),u>=0?u:1/0)}else{if(o=Ru(s,Bl(e,r)),o<0)return!1;u=Ru(s,Bl(n,i),o>=0?o:1/0)}return o>=0?u>=0?o<=u:!0:u>=0?!1:!!a}catch{}return!!a}function y_e(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==="")return setTimeout(e,0),t.addEventListener("load",e);t.addEventListener("load",e)}function __e(t,e,r){let n=!1,i;try{i=t.sheet}catch{return}if(i)return;const a=setTimeout(()=>{n||(e(),n=!0)},r);t.addEventListener("load",()=>{clearTimeout(a),n=!0,e()})}function w_e(t,e){const{doc:r,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskAttributeFn:u,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:m={},maskTextFn:b,maskInputFn:_,dataURLOptions:S={},inlineImages:E,recordCanvas:O,keepIframeSrcFn:h,newlyAddedElement:v=!1}=e,g=S_e(r,n);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:Or.Document,childNodes:[],compatMode:t.compatMode}:{type:Or.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:Or.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:g};case t.ELEMENT_NODE:return T_e(t,{doc:r,blockClass:i,blockSelector:a,unblockSelector:s,inlineStylesheet:p,maskAttributeFn:u,maskInputOptions:m,maskInputFn:_,dataURLOptions:S,inlineImages:E,recordCanvas:O,keepIframeSrcFn:h,newlyAddedElement:v,rootId:g,maskAllText:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f});case t.TEXT_NODE:return O_e(t,{maskAllText:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:b,maskInputOptions:m,maskInputFn:_,rootId:g});case t.CDATA_SECTION_NODE:return{type:Or.CDATA,textContent:"",rootId:g};case t.COMMENT_NODE:return{type:Or.Comment,textContent:t.textContent||"",rootId:g};default:return!1}}function S_e(t,e){if(!e.hasNode(t))return;const r=e.getId(t);return r===1?void 0:r}function O_e(t,e){const{maskAllText:r,maskTextClass:n,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:s,maskTextFn:o,maskInputOptions:u,maskInputFn:c,rootId:l}=e,d=t.parentNode&&t.parentNode.tagName;let f=t.textContent;const p=d==="STYLE"?!0:void 0,m=d==="SCRIPT"?!0:void 0,b=d==="TEXTAREA"?!0:void 0;if(p&&f){try{t.nextSibling||t.previousSibling||W0([t,"access",S=>S.parentNode,"access",S=>S.sheet,"optionalAccess",S=>S.cssRules])&&(f=Y0(t.parentNode.sheet))}catch(S){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${S}`,t)}f=q0(f,BP())}m&&(f="SCRIPT_PLACEHOLDER");const _=_d(t,n,a,i,s,r);if(!p&&!m&&!b&&f&&_&&(f=o?o(f):f.replace(/[\S]/g,"*")),b&&f&&(u.textarea||_)&&(f=c?c(f,t.parentNode):f.replace(/[\S]/g,"*")),d==="OPTION"&&f){const S=Ny({type:null,tagName:d,maskInputOptions:u});f=lp({isMasked:_d(t,n,a,i,s,S),element:t,value:f,maskInputFn:c})}return{type:Or.Text,textContent:f||"",isStyle:p,rootId:l}}function T_e(t,e){const{doc:r,blockClass:n,blockSelector:i,unblockSelector:a,inlineStylesheet:s,maskInputOptions:o={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:l={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:b,maskAllText:_,maskTextClass:S,unmaskTextClass:E,maskTextSelector:O,unmaskTextSelector:h}=e,v=v_e(t,n,i,a),g=o_e(t);let T={};const C=t.attributes.length;for(let w=0;w<C;w++){const A=t.attributes[w];LV(g,A.name,A.value)||(T[A.name]=RV(r,g,yd(A.name),A.value,t,u))}if(g==="link"&&s){const w=Array.from(r.styleSheets).find(P=>P.href===t.href);let A=null;w&&(A=Y0(w)),A&&(delete T.rel,delete T.href,T._cssText=q0(A,w.href))}if(g==="style"&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){const w=Y0(t.sheet);w&&(T._cssText=q0(w,BP()))}if(g==="input"||g==="textarea"||g==="select"||g==="option"){const w=t,A=LP(w),P=K0(w,eT(g),A),x=w.checked;if(A!=="submit"&&A!=="button"&&P){const $=_d(w,S,O,E,h,Ny({type:A,tagName:eT(g),maskInputOptions:o}));T.value=lp({isMasked:$,element:w,value:P,maskInputFn:c})}x&&(T.checked=x)}if(g==="option"&&(t.selected&&!o.select?T.selected=!0:delete T.selected),g==="canvas"&&f){if(t.__context==="2d")i_e(t)||(T.rr_dataURL=t.toDataURL(l.type,l.quality));else if(!("__context"in t)){const w=t.toDataURL(l.type,l.quality),A=document.createElement("canvas");A.width=t.width,A.height=t.height;const P=A.toDataURL(l.type,l.quality);w!==P&&(T.rr_dataURL=w)}}if(g==="img"&&d){dl||(dl=r.createElement("canvas"),FR=dl.getContext("2d"));const w=t,A=w.crossOrigin;w.crossOrigin="anonymous";const P=()=>{w.removeEventListener("load",P);try{dl.width=w.naturalWidth,dl.height=w.naturalHeight,FR.drawImage(w,0,0),T.rr_dataURL=dl.toDataURL(l.type,l.quality)}catch(x){console.warn(`Cannot inline img src=${w.currentSrc}! Error: ${x}`)}A?T.crossOrigin=A:w.removeAttribute("crossorigin")};w.complete&&w.naturalWidth!==0?P():w.addEventListener("load",P)}if((g==="audio"||g==="video")&&(T.rr_mediaState=t.paused?"paused":"played",T.rr_mediaCurrentTime=t.currentTime),m||(t.scrollLeft&&(T.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(T.rr_scrollTop=t.scrollTop)),v){const{width:w,height:A}=t.getBoundingClientRect();T={class:T.class,rr_width:`${w}px`,rr_height:`${A}px`}}g==="iframe"&&!p(T.src)&&(t.contentDocument||(T.rr_src=T.src),delete T.src);let k;try{customElements.get(g)&&(k=!0)}catch{}return{type:Or.Element,tagName:g,attributes:T,childNodes:[],isSVG:g_e(t)||void 0,needBlock:v,rootId:b,isCustom:k}}function Ct(t){return t==null?"":t.toLowerCase()}function E_e(t,e){if(e.comment&&t.type===Or.Comment)return!0;if(t.type===Or.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"&&(Ct(t.attributes.name).match(/^msapplication-tile(image|color)$/)||Ct(t.attributes.name)==="application-name"||Ct(t.attributes.rel)==="icon"||Ct(t.attributes.rel)==="apple-touch-icon"||Ct(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(e.headMetaDescKeywords&&Ct(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(Ct(t.attributes.property).match(/^(og|twitter|fb):/)||Ct(t.attributes.name).match(/^(og|twitter):/)||Ct(t.attributes.name)==="pinterest"))return!0;if(e.headMetaRobots&&(Ct(t.attributes.name)==="robots"||Ct(t.attributes.name)==="googlebot"||Ct(t.attributes.name)==="bingbot"))return!0;if(e.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(e.headMetaAuthorship&&(Ct(t.attributes.name)==="author"||Ct(t.attributes.name)==="generator"||Ct(t.attributes.name)==="framework"||Ct(t.attributes.name)==="publisher"||Ct(t.attributes.name)==="progid"||Ct(t.attributes.property).match(/^article:/)||Ct(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&(Ct(t.attributes.name)==="google-site-verification"||Ct(t.attributes.name)==="yandex-verification"||Ct(t.attributes.name)==="csrf-token"||Ct(t.attributes.name)==="p:domain_verify"||Ct(t.attributes.name)==="verify-v1"||Ct(t.attributes.name)==="verification"||Ct(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Fl(t,e){const{doc:r,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:f=!1,inlineStylesheet:p=!0,maskInputOptions:m={},maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:E,dataURLOptions:O={},inlineImages:h=!1,recordCanvas:v=!1,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:C=5e3,onStylesheetLoad:k,stylesheetLoadTimeout:w=5e3,keepIframeSrcFn:A=()=>!1,newlyAddedElement:P=!1}=e;let{preserveWhiteSpace:x=!0}=e;const $=w_e(t,{doc:r,mirror:n,blockClass:i,blockSelector:a,maskAllText:o,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,dataURLOptions:O,inlineImages:h,recordCanvas:v,keepIframeSrcFn:A,newlyAddedElement:P});if(!$)return console.warn(t,"not serialized"),null;let D;n.hasNode(t)?D=n.getId(t):E_e($,E)||!x&&$.type===Or.Text&&!$.isStyle&&!$.textContent.replace(/^\s+|\s+$/gm,"").length?D=dp:D=NP();const M=Object.assign($,{id:D});if(n.add(t,M),D===dp)return null;g&&g(t);let R=!f;if(M.type===Or.Element){R=R&&!M.needBlock,delete M.needBlock;const N=t.shadowRoot;N&&Ih(N)&&(M.isShadowHost=!0)}if((M.type===Or.Document||M.type===Or.Element)&&R){E.headWhitespace&&M.type===Or.Element&&M.tagName==="head"&&(x=!1);const N={doc:r,mirror:n,blockClass:i,blockSelector:a,maskAllText:o,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:f,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:E,dataURLOptions:O,inlineImages:h,recordCanvas:v,preserveWhiteSpace:x,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:k,stylesheetLoadTimeout:w,keepIframeSrcFn:A};for(const j of Array.from(t.childNodes)){const z=Fl(j,N);z&&M.childNodes.push(z)}if(Jye(t)&&t.shadowRoot)for(const j of Array.from(t.shadowRoot.childNodes)){const z=Fl(j,N);z&&(Ih(t.shadowRoot)&&(z.isShadow=!0),M.childNodes.push(z))}}return t.parentNode&&Dh(t.parentNode)&&Ih(t.parentNode)&&(M.isShadow=!0),M.type===Or.Element&&M.tagName==="iframe"&&y_e(t,()=>{const N=t.contentDocument;if(N&&T){const j=Fl(N,{doc:N,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:E,dataURLOptions:O,inlineImages:h,recordCanvas:v,preserveWhiteSpace:x,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:k,stylesheetLoadTimeout:w,keepIframeSrcFn:A});j&&T(t,j)}},C),M.type===Or.Element&&M.tagName==="link"&&M.attributes.rel==="stylesheet"&&__e(t,()=>{if(k){const N=Fl(t,{doc:r,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:E,dataURLOptions:O,inlineImages:h,recordCanvas:v,preserveWhiteSpace:x,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:k,stylesheetLoadTimeout:w,keepIframeSrcFn:A});N&&k(t,N)}},w),M}function x_e(t,e){const{mirror:r=new IV,blockClass:n="rr-block",blockSelector:i=null,unblockSelector:a=null,maskAllText:s=!1,maskTextClass:o="rr-mask",unmaskTextClass:u=null,maskTextSelector:c=null,unmaskTextSelector:l=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:m=!1,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOM:E=!1,dataURLOptions:O,preserveWhiteSpace:h,onSerialize:v,onIframeLoad:g,iframeLoadTimeout:T,onStylesheetLoad:C,stylesheetLoadTimeout:k,keepIframeSrcFn:w=()=>!1}=e||{};return Fl(t,{doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,maskAllText:s,maskTextClass:o,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:d,maskInputOptions:m===!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}:m===!1?{}:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:E===!0||E==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:E==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:E===!1?{}:E,dataURLOptions:O,inlineImages:f,recordCanvas:p,preserveWhiteSpace:h,onSerialize:v,onIframeLoad:g,iframeLoadTimeout:T,onStylesheetLoad:C,stylesheetLoadTimeout:k,keepIframeSrcFn:w,newlyAddedElement:!1})}function so(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}function fn(t,e,r=document){const n={capture:!0,passive:!0};return r.addEventListener(t,e,n),()=>r.removeEventListener(t,e,n)}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 jR={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&&(jR=new Proxy(jR,{get(t,e,r){return e==="map"&&console.error(Tl),Reflect.get(t,e,r)}}));function fp(t,e,r={}){let n=null,i=0;return function(...a){const s=Date.now();!i&&r.leading===!1&&(i=s);const o=e-(s-i),u=this;o<=0||o>e?(n&&(clearTimeout(n),n=null),i=s,t.apply(u,a)):!n&&r.trailing!==!1&&(n=setTimeout(()=>{i=r.leading===!1?0:Date.now(),n=null,t.apply(u,a)},o))}}function NV(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)}}),()=>NV(t,e,a||{},!0)}function FP(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()=>{}}}let X0=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(X0=()=>new Date().getTime());function BV(t){const e=t.document;return{left:e.scrollingElement?e.scrollingElement.scrollLeft:t.pageXOffset!==void 0?t.pageXOffset:so([e,"optionalAccess",r=>r.documentElement,"access",r=>r.scrollLeft])||so([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.parentElement,"optionalAccess",r=>r.scrollLeft])||so([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.scrollLeft])||0,top:e.scrollingElement?e.scrollingElement.scrollTop:t.pageYOffset!==void 0?t.pageYOffset:so([e,"optionalAccess",r=>r.documentElement,"access",r=>r.scrollTop])||so([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.parentElement,"optionalAccess",r=>r.scrollTop])||so([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.scrollTop])||0}}function FV(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function jV(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ji(t,e,r,n,i){if(!t)return!1;const a=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(!a)return!1;const s=Bl(e,r);if(!i){const c=n&&a.matches(n);return s(a)&&!c}const o=Ru(a,s);let u=-1;return o<0?!1:(n&&(u=Ru(a,Bl(null,n))),o>-1&&u<0?!0:o<u)}function P_e(t,e){return e.getId(t)!==-1}function O1(t,e){return e.getId(t)===dp}function HV(t,e){if(Dh(t))return!1;const r=e.getId(t);return e.has(r)?t.parentNode&&t.parentNode.nodeType===t.DOCUMENT_NODE?!1:t.parentNode?HV(t.parentNode,e):!0:!0}function tT(t){return!!t.changedTouches}function C_e(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=(...e)=>{let r=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}function zV(t,e){return!!(t.nodeName==="IFRAME"&&e.getMeta(t))}function VV(t,e){return!!(t.nodeName==="LINK"&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&t.getAttribute("rel")==="stylesheet"&&e.getMeta(t))}function rT(t){return!!so([t,"optionalAccess",e=>e.shadowRoot])}class A_e{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return wge(this.styleIDMap.get(e),()=>-1)}has(e){return this.styleIDMap.has(e)}add(e,r){if(this.has(e))return this.getId(e);let n;return r===void 0?n=this.id++:n=r,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function UV(t){let e=null;return so([t,"access",r=>r.getRootNode,"optionalCall",r=>r(),"optionalAccess",r=>r.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&t.getRootNode().host&&(e=t.getRootNode().host),e}function M_e(t){let e=t,r;for(;r=UV(e);)e=r;return e}function $_e(t){const e=t.ownerDocument;if(!e)return!1;const r=M_e(t);return e.contains(r)}function GV(t){const e=t.ownerDocument;return e?e.contains(t)||$_e(t):!1}let T1;function k_e(){if(T1)return T1;const t=window.document;let e=window.requestAnimationFrame;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.requestAnimationFrame&&(e=n.requestAnimationFrame),t.head.removeChild(r)}catch{}return T1=e.bind(window)}function D_e(...t){return k_e()(...t)}var ze=(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",t))(ze||{}),Ve=(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",t[t.Selection=14]="Selection",t[t.AdoptedStyleSheet=15]="AdoptedStyleSheet",t[t.CustomElement=16]="CustomElement",t))(Ve||{}),on=(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",t))(on||{}),ss=(t=>(t[t.Mouse=0]="Mouse",t[t.Pen=1]="Pen",t[t.Touch=2]="Touch",t))(ss||{});function I_e(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}function HR(t){return"__ln"in t}class R_e{constructor(){this.length=0,this.head=null,this.tail=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=I_e([r,"optionalAccess",i=>i.next])||null;return r}addNode(e){const r={value:e,previous:null,next:null};if(e.__ln=r,e.previousSibling&&HR(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&&HR(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;r.next===null&&(this.tail=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.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const zR=(t,e)=>`${t}@${e}`;class L_e{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 Set,n=new R_e,i=u=>{let c=u,l=dp;for(;l===dp;)c=c&&c.nextSibling,l=c&&this.mirror.getId(c);return l},a=u=>{if(!u.parentNode||!GV(u))return;const c=Dh(u.parentNode)?this.mirror.getId(UV(u)):this.mirror.getId(u.parentNode),l=i(u);if(c===-1||l===-1)return n.addNode(u);const d=Fl(u,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:f=>{zV(f,this.mirror)&&this.iframeManager.addIframe(f),VV(f,this.mirror)&&this.stylesheetManager.trackLinkElement(f),rT(u)&&this.shadowDomManager.addShadowRoot(u.shadowRoot,this.doc)},onIframeLoad:(f,p)=>{this.iframeManager.attachIframe(f,p),this.shadowDomManager.observeAttachShadow(f)},onStylesheetLoad:(f,p)=>{this.stylesheetManager.attachLinkElement(f,p)}});d&&(e.push({parentId:c,nextId:l,node:d}),r.add(d.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const u of this.movedSet)VR(this.removes,u,this.mirror)&&!this.movedSet.has(u.parentNode)||a(u);for(const u of this.addedSet)!UR(this.droppedSet,u)&&!VR(this.removes,u,this.mirror)||UR(this.movedSet,u)?a(u):this.droppedSet.add(u);let s=null;for(;n.length;){let u=null;if(s){const c=this.mirror.getId(s.value.parentNode),l=i(s.value);c!==-1&&l!==-1&&(u=s)}if(!u){let c=n.tail;for(;c;){const l=c;if(c=c.previous,l){const d=this.mirror.getId(l.value.parentNode);if(i(l.value)===-1)continue;if(d!==-1){u=l;break}else{const p=l.value;if(p.parentNode&&p.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const m=p.parentNode.host;if(this.mirror.getId(m)!==-1){u=l;break}}}}}}if(!u){for(;n.head;)n.removeNode(n.head.value);break}s=u.previous,n.removeNode(u.value),a(u.value)}const o={texts:this.texts.map(u=>({id:this.mirror.getId(u.node),value:u.value})).filter(u=>!r.has(u.id)).filter(u=>this.mirror.has(u.id)),attributes:this.attributes.map(u=>{const{attributes:c}=u;if(typeof c.style=="string"){const l=JSON.stringify(u.styleDiff),d=JSON.stringify(u._unchangedStyles);l.length<c.style.length&&(l+d).split("var(").length===c.style.split("var(").length&&(c.style=u.styleDiff)}return{id:this.mirror.getId(u.node),attributes:c}}).filter(u=>!r.has(u.id)).filter(u=>this.mirror.has(u.id)),removes:this.removes,adds:e};!o.texts.length&&!o.attributes.length&&!o.removes.length&&!o.adds.length||(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(O1(e.target,this.mirror))return;let r;try{r=document.implementation.createHTMLDocument()}catch{r=this.doc}switch(e.type){case"characterData":{const n=e.target.textContent;!ji(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==e.oldValue&&this.texts.push({value:_d(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n):n.replace(/[\S]/g,"*"):n,node:e.target});break}case"attributes":{const n=e.target;let i=e.attributeName,a=e.target.getAttribute(i);if(i==="value"){const o=LP(n),u=n.tagName;a=K0(n,u,o);const c=Ny({maskInputOptions:this.maskInputOptions,tagName:u,type:o}),l=_d(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);a=lp({isMasked:l,element:n,value:a,maskInputFn:this.maskInputFn})}if(ji(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||a===e.oldValue)return;let s=this.attributes.find(o=>o.node===e.target);if(n.tagName==="IFRAME"&&i==="src"&&!this.keepIframeSrcFn(a))if(!n.contentDocument)i="rr_src";else return;if(s||(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s)),i==="type"&&n.tagName==="INPUT"&&(e.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!LV(n.tagName,i)&&(s.attributes[i]=RV(this.doc,yd(n.tagName),yd(i),a,n,this.maskAttributeFn),i==="style")){const o=r.createElement("span");e.oldValue&&o.setAttribute("style",e.oldValue);for(const u of Array.from(n.style)){const c=n.style.getPropertyValue(u),l=n.style.getPropertyPriority(u);c!==o.style.getPropertyValue(u)||l!==o.style.getPropertyPriority(u)?l===""?s.styleDiff[u]=c:s.styleDiff[u]=[c,l]:s._unchangedStyles[u]=[c,l]}for(const u of Array.from(o.style))n.style.getPropertyValue(u)===""&&(s.styleDiff[u]=!1)}break}case"childList":{if(ji(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(n=>this.genAdds(n,e.target)),e.removedNodes.forEach(n=>{const i=this.mirror.getId(n),a=Dh(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);ji(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||O1(n,this.mirror)||!P_e(n,this.mirror)||(this.addedSet.has(n)?(nT(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(e.target)&&i===-1||HV(e.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[zR(i,a)]?nT(this.movedSet,n):this.removes.push({parentId:a,id:i,isShadow:Dh(e.target)&&Ih(e.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(e,r)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(O1(e,this.mirror))return;this.movedSet.add(e);let n=null;r&&this.mirror.hasNode(r)&&(n=this.mirror.getId(r)),n&&n!==-1&&(this.movedMap[zR(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);ji(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach(n=>this.genAdds(n)),rT(e)&&e.shadowRoot.childNodes.forEach(n=>{this.processedNodeManager.add(n,this),this.genAdds(n,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].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 nT(t,e){t.delete(e),e.childNodes.forEach(r=>nT(t,r))}function VR(t,e,r){return t.length===0?!1:WV(t,e,r)}function WV(t,e,r){const{parentNode:n}=e;if(!n)return!1;const i=r.getId(n);return t.some(a=>a.id===i)?!0:WV(t,n,r)}function UR(t,e){return t.size===0?!1:YV(t,e)}function YV(t,e){const{parentNode:r}=e;return r?t.has(r)?!0:YV(t,r):!1}let Rh;function N_e(t){Rh=t}function B_e(){Rh=void 0}const tt=t=>Rh?(...r)=>{try{return t(...r)}catch(n){if(Rh&&Rh(n)===!0)return()=>{};throw n}}:t;function Aa(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}const jl=[];function qp(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 KV(t,e){const r=new L_e;jl.push(r),r.init(t);let n=window.MutationObserver||window.__rrMutationObserver;const i=Aa([window,"optionalAccess",s=>s.Zone,"optionalAccess",s=>s.__symbol__,"optionalCall",s=>s("MutationObserver")]);i&&window[i]&&(n=window[i]);const a=new n(tt(s=>{t.onMutation&&t.onMutation(s)===!1||r.processMutations.bind(r)(s)}));return a.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function F_e({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=fp(tt(d=>{const f=Date.now()-o;t(s.map(p=>(p.timeOffset-=f,p)),d),s=[],o=null}),a),c=tt(fp(tt(d=>{const f=qp(d),{clientX:p,clientY:m}=tT(d)?d.changedTouches[0]:d;o||(o=X0()),s.push({x:p,y:m,id:n.getId(f),timeOffset:X0()-o}),u(typeof DragEvent<"u"&&d instanceof DragEvent?Ve.Drag:d instanceof MouseEvent?Ve.MouseMove:Ve.TouchMove)}),i,{trailing:!1})),l=[fn("mousemove",c,r),fn("touchmove",c,r),fn("drag",c,r)];return tt(()=>{l.forEach(d=>d())})}function j_e({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=[];let c=null;const l=d=>f=>{const p=qp(f);if(ji(p,n,i,a,!0))return;let m=null,b=d;if("pointerType"in f){switch(f.pointerType){case"mouse":m=ss.Mouse;break;case"touch":m=ss.Touch;break;case"pen":m=ss.Pen;break}m===ss.Touch?on[d]===on.MouseDown?b="TouchStart":on[d]===on.MouseUp&&(b="TouchEnd"):ss.Pen}else tT(f)&&(m=ss.Touch);m!==null?(c=m,(b.startsWith("Touch")&&m===ss.Touch||b.startsWith("Mouse")&&m===ss.Mouse)&&(m=null)):on[d]===on.Click&&(m=c,c=null);const _=tT(f)?f.changedTouches[0]:f;if(!_)return;const S=r.getId(p),{clientX:E,clientY:O}=_;tt(t)({type:on[b],id:S,x:E,y:O,...m!==null&&{pointerType:m}})};return Object.keys(on).filter(d=>Number.isNaN(Number(d))&&!d.endsWith("_Departed")&&o[d]!==!1).forEach(d=>{let f=yd(d);const p=l(d);if(window.PointerEvent)switch(on[d]){case on.MouseDown:case on.MouseUp:f=f.replace("mouse","pointer");break;case on.TouchStart:case on.TouchEnd:return}u.push(fn(f,p,e))}),tt(()=>{u.forEach(d=>d())})}function qV({scrollCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:s}){const o=tt(fp(tt(u=>{const c=qp(u);if(!c||ji(c,n,i,a,!0))return;const l=r.getId(c);if(c===e&&e.defaultView){const d=BV(e.defaultView);t({id:l,x:d.left,y:d.top})}else t({id:l,x:c.scrollLeft,y:c.scrollTop})}),s.scroll||100));return fn("scroll",o,e)}function H_e({viewportResizeCb:t},{win:e}){let r=-1,n=-1;const i=tt(fp(tt(()=>{const a=FV(),s=jV();(r!==a||n!==s)&&(t({width:Number(s),height:Number(a)}),r=a,n=s)}),200));return fn("resize",i,e)}const z_e=["INPUT","TEXTAREA","SELECT"],GR=new WeakMap;function V_e({inputCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,ignoreClass:s,ignoreSelector:o,maskInputOptions:u,maskInputFn:c,sampling:l,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:b}){function _(T){let C=qp(T);const k=T.isTrusted,w=C&&eT(C.tagName);if(w==="OPTION"&&(C=C.parentElement),!C||!w||z_e.indexOf(w)<0||ji(C,n,i,a,!0))return;const A=C;if(A.classList.contains(s)||o&&A.matches(o))return;const P=LP(C);let x=K0(A,w,P),$=!1;const D=Ny({maskInputOptions:u,tagName:w,type:P}),M=_d(C,f,m,p,b,D);(P==="radio"||P==="checkbox")&&($=C.checked),x=lp({isMasked:M,element:C,value:x,maskInputFn:c}),S(C,d?{text:x,isChecked:$,userTriggered:k}:{text:x,isChecked:$});const R=C.name;P==="radio"&&R&&$&&e.querySelectorAll(`input[type="radio"][name="${R}"]`).forEach(N=>{if(N!==C){const j=lp({isMasked:M,element:N,value:K0(N,w,P),maskInputFn:c});S(N,d?{text:j,isChecked:!$,userTriggered:!1}:{text:j,isChecked:!$})}})}function S(T,C){const k=GR.get(T);if(!k||k.text!==C.text||k.isChecked!==C.isChecked){GR.set(T,C);const w=r.getId(T);tt(t)({...C,id:w})}}const O=(l.input==="last"?["change"]:["input","change"]).map(T=>fn(T,tt(_),e)),h=e.defaultView;if(!h)return()=>{O.forEach(T=>T())};const v=h.Object.getOwnPropertyDescriptor(h.HTMLInputElement.prototype,"value"),g=[[h.HTMLInputElement.prototype,"value"],[h.HTMLInputElement.prototype,"checked"],[h.HTMLSelectElement.prototype,"value"],[h.HTMLTextAreaElement.prototype,"value"],[h.HTMLSelectElement.prototype,"selectedIndex"],[h.HTMLOptionElement.prototype,"selected"]];return v&&v.set&&O.push(...g.map(T=>NV(T[0],T[1],{set(){tt(_)({target:this,isTrusted:!1})}},!1,h))),tt(()=>{O.forEach(T=>T())})}function J0(t){const e=[];function r(n,i){if(fg("CSSGroupingRule")&&n.parentRule instanceof CSSGroupingRule||fg("CSSMediaRule")&&n.parentRule instanceof CSSMediaRule||fg("CSSSupportsRule")&&n.parentRule instanceof CSSSupportsRule||fg("CSSConditionRule")&&n.parentRule instanceof CSSConditionRule){const s=Array.from(n.parentRule.cssRules).indexOf(n);i.unshift(s)}else if(n.parentStyleSheet){const s=Array.from(n.parentStyleSheet.cssRules).indexOf(n);i.unshift(s)}return i}return r(t,e)}function oo(t,e,r){let n,i;return t?(t.ownerNode?n=e.getId(t.ownerNode):i=r.getId(t),{styleId:i,id:n}):{}}function U_e({styleSheetRuleCb:t,mirror:e,stylesheetManager:r},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const i=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:tt((l,d,f)=>{const[p,m]=f,{id:b,styleId:_}=oo(d,e,r.styleMirror);return(b&&b!==-1||_&&_!==-1)&&t({id:b,styleId:_,adds:[{rule:p,index:m}]}),l.apply(d,f)})});const a=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:tt((l,d,f)=>{const[p]=f,{id:m,styleId:b}=oo(d,e,r.styleMirror);return(m&&m!==-1||b&&b!==-1)&&t({id:m,styleId:b,removes:[{index:p}]}),l.apply(d,f)})});let s;n.CSSStyleSheet.prototype.replace&&(s=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:tt((l,d,f)=>{const[p]=f,{id:m,styleId:b}=oo(d,e,r.styleMirror);return(m&&m!==-1||b&&b!==-1)&&t({id:m,styleId:b,replace:p}),l.apply(d,f)})}));let o;n.CSSStyleSheet.prototype.replaceSync&&(o=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:tt((l,d,f)=>{const[p]=f,{id:m,styleId:b}=oo(d,e,r.styleMirror);return(m&&m!==-1||b&&b!==-1)&&t({id:m,styleId:b,replaceSync:p}),l.apply(d,f)})}));const u={};hg("CSSGroupingRule")?u.CSSGroupingRule=n.CSSGroupingRule:(hg("CSSMediaRule")&&(u.CSSMediaRule=n.CSSMediaRule),hg("CSSConditionRule")&&(u.CSSConditionRule=n.CSSConditionRule),hg("CSSSupportsRule")&&(u.CSSSupportsRule=n.CSSSupportsRule));const c={};return Object.entries(u).forEach(([l,d])=>{c[l]={insertRule:d.prototype.insertRule,deleteRule:d.prototype.deleteRule},d.prototype.insertRule=new Proxy(c[l].insertRule,{apply:tt((f,p,m)=>{const[b,_]=m,{id:S,styleId:E}=oo(p.parentStyleSheet,e,r.styleMirror);return(S&&S!==-1||E&&E!==-1)&&t({id:S,styleId:E,adds:[{rule:b,index:[...J0(p),_||0]}]}),f.apply(p,m)})}),d.prototype.deleteRule=new Proxy(c[l].deleteRule,{apply:tt((f,p,m)=>{const[b]=m,{id:_,styleId:S}=oo(p.parentStyleSheet,e,r.styleMirror);return(_&&_!==-1||S&&S!==-1)&&t({id:_,styleId:S,removes:[{index:[...J0(p),b]}]}),f.apply(p,m)})})}),tt(()=>{n.CSSStyleSheet.prototype.insertRule=i,n.CSSStyleSheet.prototype.deleteRule=a,s&&(n.CSSStyleSheet.prototype.replace=s),o&&(n.CSSStyleSheet.prototype.replaceSync=o),Object.entries(u).forEach(([l,d])=>{d.prototype.insertRule=c[l].insertRule,d.prototype.deleteRule=c[l].deleteRule})})}function XV({mirror:t,stylesheetManager:e},r){let n=null;r.nodeName==="#document"?n=t.getId(r):n=t.getId(r.host);const i=r.nodeName==="#document"?Aa([r,"access",s=>s.defaultView,"optionalAccess",s=>s.Document]):Aa([r,"access",s=>s.ownerDocument,"optionalAccess",s=>s.defaultView,"optionalAccess",s=>s.ShadowRoot]),a=Aa([i,"optionalAccess",s=>s.prototype])?Object.getOwnPropertyDescriptor(Aa([i,"optionalAccess",s=>s.prototype]),"adoptedStyleSheets"):void 0;return n===null||n===-1||!i||!a?()=>{}:(Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return Aa([a,"access",s=>s.get,"optionalAccess",s=>s.call,"call",s=>s(this)])},set(s){const o=Aa([a,"access",u=>u.set,"optionalAccess",u=>u.call,"call",u=>u(this,s)]);if(n!==null&&n!==-1)try{e.adoptStyleSheets(s,n)}catch{}return o}}),tt(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})}))}function G_e({styleDeclarationCb:t,mirror:e,ignoreCSSAttributes:r,stylesheetManager:n},{win:i}){const a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:tt((o,u,c)=>{const[l,d,f]=c;if(r.has(l))return a.apply(u,[l,d,f]);const{id:p,styleId:m}=oo(Aa([u,"access",b=>b.parentRule,"optionalAccess",b=>b.parentStyleSheet]),e,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&t({id:p,styleId:m,set:{property:l,value:d,priority:f},index:J0(u.parentRule)}),o.apply(u,c)})});const s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:tt((o,u,c)=>{const[l]=c;if(r.has(l))return s.apply(u,[l]);const{id:d,styleId:f}=oo(Aa([u,"access",p=>p.parentRule,"optionalAccess",p=>p.parentStyleSheet]),e,n.styleMirror);return(d&&d!==-1||f&&f!==-1)&&t({id:d,styleId:f,remove:{property:l},index:J0(u.parentRule)}),o.apply(u,c)})}),tt(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=s})}function W_e({mediaInteractionCb:t,blockClass:e,blockSelector:r,unblockSelector:n,mirror:i,sampling:a,doc:s}){const o=tt(c=>fp(tt(l=>{const d=qp(l);if(!d||ji(d,e,r,n,!0))return;const{currentTime:f,volume:p,muted:m,playbackRate:b}=d;t({type:c,id:i.getId(d),currentTime:f,volume:p,muted:m,playbackRate:b})}),a.media||500)),u=[fn("play",o(0),s),fn("pause",o(1),s),fn("seeked",o(2),s),fn("volumechange",o(3),s),fn("ratechange",o(4),s)];return tt(()=>{u.forEach(c=>c())})}function Y_e({fontCb:t,doc:e}){const r=e.defaultView;if(!r)return()=>{};const n=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(u,c,l){const d=new a(u,c,l);return i.set(d,{family:u,buffer:typeof c!="string",descriptors:l,fontSource:typeof c=="string"?c:JSON.stringify(Array.from(new Uint8Array(c)))}),d};const s=FP(e.fonts,"add",function(o){return function(u){return setTimeout(tt(()=>{const c=i.get(u);c&&(t(c),i.delete(u))}),0),o.apply(this,[u])}});return n.push(()=>{r.FontFace=a}),n.push(s),tt(()=>{n.forEach(o=>o())})}function K_e(t){const{doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,selectionCb:s}=t;let o=!0;const u=tt(()=>{const c=e.getSelection();if(!c||o&&Aa([c,"optionalAccess",f=>f.isCollapsed]))return;o=c.isCollapsed||!1;const l=[],d=c.rangeCount||0;for(let f=0;f<d;f++){const p=c.getRangeAt(f),{startContainer:m,startOffset:b,endContainer:_,endOffset:S}=p;ji(m,n,i,a,!0)||ji(_,n,i,a,!0)||l.push({start:r.getId(m),startOffset:b,end:r.getId(_),endOffset:S})}s({ranges:l})});return u(),fn("selectionchange",u)}function q_e({doc:t,customElementCb:e}){const r=t.defaultView;return!r||!r.customElements?()=>{}:FP(r.customElements,"define",function(i){return function(a,s,o){try{e({define:{name:a}})}catch{}return i.apply(this,[a,s,o])}})}function X_e(t,e={}){const r=t.doc.defaultView;if(!r)return()=>{};const n=KV(t,t.doc),i=F_e(t),a=j_e(t),s=qV(t),o=H_e(t,{win:r}),u=V_e(t),c=W_e(t),l=U_e(t,{win:r}),d=XV(t,t.doc),f=G_e(t,{win:r}),p=t.collectFonts?Y_e(t):()=>{},m=K_e(t),b=q_e(t),_=[];for(const S of t.plugins)_.push(S.observer(S.callback,r,S.options));return tt(()=>{jl.forEach(S=>S.reset()),n.disconnect(),i(),a(),s(),o(),u(),c(),l(),d(),f(),p(),m(),b(),_.forEach(S=>S())})}function fg(t){return typeof window[t]<"u"}function hg(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}class iT{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,r,n,i){const a=n||this.getIdToRemoteIdMap(e),s=i||this.getRemoteIdToIdMap(e);let o=a.get(r);return o||(o=this.generateIdFn(),a.set(r,o),s.set(o,r)),o}getIds(e,r){const n=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return r.map(a=>this.getId(e,a,n,i))}getRemoteId(e,r,n){const i=n||this.getRemoteIdToIdMap(e);if(typeof r!="number")return r;const a=i.get(r);return a||-1}getRemoteIds(e,r){const n=this.getRemoteIdToIdMap(e);return r.map(i=>this.getRemoteId(e,i,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let r=this.iframeIdToRemoteIdMap.get(e);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(e,r)),r}getRemoteIdToIdMap(e){let r=this.iframeRemoteIdToIdMap.get(e);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(e,r)),r}}function WR(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}class J_e{constructor(){this.crossOriginIframeMirror=new iT(NP),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class Q_e{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new iT(NP),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new iT(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,r){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),WR([this,"access",n=>n.loadListener,"optionalCall",n=>n(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const r=e;if(r.data.type!=="rrweb"||r.origin!==r.data.origin||!e.source)return;const i=this.crossOriginIframeMap.get(e.source);if(!i)return;const a=this.transformCrossOriginEvent(i,r.data.event);a&&this.wrappedEmit(a,r.data.isCheckout)}transformCrossOriginEvent(e,r){switch(r.type){case ze.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(r.data.node,e);const n=r.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(r.data.node,n),{timestamp:r.timestamp,type:ze.IncrementalSnapshot,data:{source:Ve.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case ze.Meta:case ze.Load:case ze.DomContentLoaded:return!1;case ze.Plugin:return r;case ze.Custom:return this.replaceIds(r.data.payload,e,["id","parentId","previousId","nextId"]),r;case ze.IncrementalSnapshot:switch(r.data.source){case Ve.Mutation:return r.data.adds.forEach(n=>{this.replaceIds(n,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(n.node,e);const i=this.crossOriginIframeRootIdMap.get(e);i&&this.patchRootIdOnNode(n.node,i)}),r.data.removes.forEach(n=>{this.replaceIds(n,e,["parentId","id"])}),r.data.attributes.forEach(n=>{this.replaceIds(n,e,["id"])}),r.data.texts.forEach(n=>{this.replaceIds(n,e,["id"])}),r;case Ve.Drag:case Ve.TouchMove:case Ve.MouseMove:return r.data.positions.forEach(n=>{this.replaceIds(n,e,["id"])}),r;case Ve.ViewportResize:return!1;case Ve.MediaInteraction:case Ve.MouseInteraction:case Ve.Scroll:case Ve.CanvasMutation:case Ve.Input:return this.replaceIds(r.data,e,["id"]),r;case Ve.StyleSheetRule:case Ve.StyleDeclaration:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleId"]),r;case Ve.Font:return r;case Ve.Selection:return r.data.ranges.forEach(n=>{this.replaceIds(n,e,["start","end"])}),r;case Ve.AdoptedStyleSheet:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleIds"]),WR([r,"access",n=>n.data,"access",n=>n.styles,"optionalAccess",n=>n.forEach,"call",n=>n(i=>{this.replaceStyleIds(i,e,["styleId"])})]),r}}return!1}replace(e,r,n,i){for(const a of i)!Array.isArray(r[a])&&typeof r[a]!="number"||(Array.isArray(r[a])?r[a]=e.getIds(n,r[a]):r[a]=e.getId(n,r[a]));return r}replaceIds(e,r,n){return this.replace(this.crossOriginIframeMirror,e,r,n)}replaceStyleIds(e,r,n){return this.replace(this.crossOriginIframeStyleMirror,e,r,n)}replaceIdOnNode(e,r){this.replaceIds(e,r,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(n=>{this.replaceIdOnNode(n,r)})}patchRootIdOnNode(e,r){e.type!==Or.Document&&!e.rootId&&(e.rootId=r),"childNodes"in e&&e.childNodes.forEach(n=>{this.patchRootIdOnNode(n,r)})}}class Z_e{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class ewe{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,r){if(!Ih(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=KV({...this.bypassOptions,doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(qV({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(XV({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){!e.contentWindow||!e.contentDocument||this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,r){const n=this;this.restoreHandlers.push(FP(e.prototype,"attachShadow",function(i){return function(a){const s=i.call(this,a);return this.shadowRoot&&GV(this)&&n.addShadowRoot(this.shadowRoot,r),s}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class YR{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class twe{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new A_e,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,r){if(e.length===0)return;const n={id:r,styleIds:[]},i=[];for(const a of e){let s;this.styleMirror.has(a)?s=this.styleMirror.getId(a):(s=this.styleMirror.add(a),i.push({styleId:s,rules:Array.from(a.rules||CSSRule,(o,u)=>({rule:DV(o),index:u}))})),n.styleIds.push(s)}i.length>0&&(n.styles=i),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class rwe{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){D_e(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,r){const n=this.nodeMap.get(e);return n&&Array.from(n).some(i=>i!==r)}add(e,r){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(r))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function yr(t){const e=t;return e.timestamp=X0(),e}let Q0;const Ni=n_e();function Mo(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,maskAllText:c=!1,maskTextClass:l="rr-mask",unmaskTextClass:d=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:b,maskInputOptions:_,slimDOMOptions:S,maskAttributeFn:E,maskInputFn:O,maskTextFn:h,packFn:v,sampling:g={},dataURLOptions:T={},mousemoveWait:C,recordCanvas:k=!1,recordCrossOriginIframes:w=!1,recordAfter:A=t.recordAfter==="DOMContentLoaded"?t.recordAfter:"load",userTriggeredOnInput:P=!1,collectFonts:x=!1,inlineImages:$=!1,plugins:D,keepIframeSrcFn:M=()=>!1,ignoreCSSAttributes:R=new Set([]),errorHandler:N,onMutation:j,getCanvasManager:z}=t;N_e(N);const V=w?window.parent===window:!0;let J=!1;if(!V)try{window.parent.document&&(J=!1)}catch{J=!0}if(V&&!e)throw new Error("emit function is required");C!==void 0&&g.mousemove===void 0&&(g.mousemove=C),Ni.reset();const re=b===!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,radio:!0,checkbox:!0}:_!==void 0?_:{},Y=S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:S==="all",headMetaDescKeywords:S==="all"}:S||{};C_e();let U,K=0;const X=De=>{for(const Cr of D||[])Cr.eventProcessor&&(De=Cr.eventProcessor(De));return v&&!J&&(De=v(De)),De},se=(De,Cr)=>{if(yv([jl,"access",He=>He[0],"optionalAccess",He=>He.isFrozen,"call",He=>He()])&&De.type!==ze.FullSnapshot&&!(De.type===ze.IncrementalSnapshot&&De.data.source===Ve.Mutation)&&jl.forEach(He=>He.unfreeze()),V)yv([e,"optionalCall",He=>He(X(De),Cr)]);else if(J){const He={type:"rrweb",event:X(De),origin:window.location.origin,isCheckout:Cr};window.parent.postMessage(He,"*")}if(De.type===ze.FullSnapshot)U=De,K=0;else if(De.type===ze.IncrementalSnapshot){if(De.data.source===Ve.Mutation&&De.data.isAttachIframe)return;K++;const He=n&&K>=n,Yr=r&&De.timestamp-U.timestamp>r;(He||Yr)&&nu(!0)}},Ae=De=>{se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.Mutation,...De}}))},qe=De=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.Scroll,...De}})),yt=De=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.CanvasMutation,...De}})),sr=De=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.AdoptedStyleSheet,...De}})),Vr=new twe({mutationCb:Ae,adoptedStyleSheetCb:sr}),wn=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new J_e:new Q_e({mirror:Ni,mutationCb:Ae,stylesheetManager:Vr,recordCrossOriginIframes:w,wrappedEmit:se});for(const De of D||[])De.getMirror&&De.getMirror({nodeMirror:Ni,crossOriginIframeMirror:wn.crossOriginIframeMirror,crossOriginIframeStyleMirror:wn.crossOriginIframeStyleMirror});const da=new rwe,Qa=iwe(z,{mirror:Ni,win:window,mutationCb:De=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.CanvasMutation,...De}})),recordCanvas:k,blockClass:i,blockSelector:a,unblockSelector:s,sampling:g.canvas,dataURLOptions:T}),fa=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new Z_e:new ewe({mutationCb:Ae,scrollCb:qe,bypassOptions:{onMutation:j,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:re,dataURLOptions:T,maskAttributeFn:E,maskTextFn:h,maskInputFn:O,recordCanvas:k,inlineImages:$,sampling:g,slimDOMOptions:Y,iframeManager:wn,stylesheetManager:Vr,canvasManager:Qa,keepIframeSrcFn:M,processedNodeManager:da},mirror:Ni}),nu=(De=!1)=>{se(yr({type:ze.Meta,data:{href:window.location.href,width:jV(),height:FV()}}),De),Vr.reset(),fa.init(),jl.forEach(He=>He.lock());const Cr=x_e(document,{mirror:Ni,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:re,maskAttributeFn:E,maskInputFn:O,maskTextFn:h,slimDOM:Y,dataURLOptions:T,recordCanvas:k,inlineImages:$,onSerialize:He=>{zV(He,Ni)&&wn.addIframe(He),VV(He,Ni)&&Vr.trackLinkElement(He),rT(He)&&fa.addShadowRoot(He.shadowRoot,document)},onIframeLoad:(He,Yr)=>{wn.attachIframe(He,Yr),fa.observeAttachShadow(He)},onStylesheetLoad:(He,Yr)=>{Vr.attachLinkElement(He,Yr)},keepIframeSrcFn:M});if(!Cr)return console.warn("Failed to snapshot the document");se(yr({type:ze.FullSnapshot,data:{node:Cr,initialOffset:BV(window)}})),jl.forEach(He=>He.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Vr.adoptStyleSheets(document.adoptedStyleSheets,Ni.getId(document))};Q0=nu;try{const De=[],Cr=Yr=>tt(X_e)({onMutation:j,mutationCb:Ae,mousemoveCb:(et,Ar)=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ar,positions:et}})),mouseInteractionCb:et=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.MouseInteraction,...et}})),scrollCb:qe,viewportResizeCb:et=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.ViewportResize,...et}})),inputCb:et=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.Input,...et}})),mediaInteractionCb:et=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.MediaInteraction,...et}})),styleSheetRuleCb:et=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.StyleSheetRule,...et}})),styleDeclarationCb:et=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.StyleDeclaration,...et}})),canvasMutationCb:yt,fontCb:et=>se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.Font,...et}})),selectionCb:et=>{se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.Selection,...et}}))},customElementCb:et=>{se(yr({type:ze.IncrementalSnapshot,data:{source:Ve.CustomElement,...et}}))},blockClass:i,ignoreClass:o,ignoreSelector:u,maskAllText:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:re,inlineStylesheet:m,sampling:g,recordCanvas:k,inlineImages:$,userTriggeredOnInput:P,collectFonts:x,doc:Yr,maskAttributeFn:E,maskInputFn:O,maskTextFn:h,keepIframeSrcFn:M,blockSelector:a,unblockSelector:s,slimDOMOptions:Y,dataURLOptions:T,mirror:Ni,iframeManager:wn,stylesheetManager:Vr,shadowDomManager:fa,processedNodeManager:da,canvasManager:Qa,ignoreCSSAttributes:R,plugins:yv([D,"optionalAccess",et=>et.filter,"call",et=>et(Ar=>Ar.observer),"optionalAccess",et=>et.map,"call",et=>et(Ar=>({observer:Ar.observer,options:Ar.options,callback:zs=>se(yr({type:ze.Plugin,data:{plugin:Ar.name,payload:zs}}))}))])||[]},{});wn.addLoadListener(Yr=>{try{De.push(Cr(Yr.contentDocument))}catch(et){console.warn(et)}});const He=()=>{nu(),De.push(Cr(document))};return document.readyState==="interactive"||document.readyState==="complete"?He():(De.push(fn("DOMContentLoaded",()=>{se(yr({type:ze.DomContentLoaded,data:{}})),A==="DOMContentLoaded"&&He()})),De.push(fn("load",()=>{se(yr({type:ze.Load,data:{}})),A==="load"&&He()},window))),()=>{De.forEach(Yr=>Yr()),da.destroy(),Q0=void 0,B_e()}}catch(De){console.warn(De)}}function nwe(t){if(!Q0)throw new Error("please take full snapshot after start recording");Q0(t)}Mo.mirror=Ni;Mo.takeFullSnapshot=nwe;function iwe(t,e){try{return t?t(e):new YR}catch{return console.warn("Unable to initialize CanvasManager"),new YR}}const awe=3,swe=5;function jP(t){return t>9999999999?t:t*1e3}function E1(t){return t>9999999999?t/1e3:t}function Xp(t,e){e.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(e.category)?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate(()=>(t.throttledAddEvent({type:ze.Custom,timestamp:(e.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Ca(e,10,1e3)}}),e.category==="console")))}const owe="button,a";function JV(t){return t.closest(owe)||t}function QV(t){const e=ZV(t);return!e||!(e instanceof Element)?e:JV(e)}function ZV(t){return uwe(t)?t.target:t}function uwe(t){return typeof t=="object"&&!!t&&"target"in t}let uo;function cwe(t){return uo||(uo=[],lwe()),uo.push(t),()=>{const e=uo?uo.indexOf(t):-1;e>-1&&uo.splice(e,1)}}function lwe(){Lr(At,"open",function(t){return function(...e){if(uo)try{uo.forEach(r=>r())}catch{}return t.apply(At,e)}})}function dwe(t,e,r){t.handleClick(e,r)}class fwe{constructor(e,r,n=Xp){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=r.timeout/1e3,this._threshold=r.threshold/1e3,this._scollTimeout=r.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=r.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=cwe(()=>{this._lastMutation=KR()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,r){if(pwe(r,this._ignoreSelector)||!mwe(e))return;const n={timestamp:E1(e.timestamp),clickBreadcrumb:e,clickCount:0,node:r};this._clicks.some(i=>i.node===n.node&&Math.abs(i.timestamp-n.timestamp)<1)||(this._clicks.push(n),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=E1(e)}registerScroll(e=Date.now()){this._lastScroll=E1(e)}registerClick(e){const r=JV(e);this._handleMultiClick(r)}_handleMultiClick(e){this._getClicks(e).forEach(r=>{r.clickCount++})}_getClicks(e){return this._clicks.filter(r=>r.node===e)}_checkClicks(){const e=[],r=KR();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=r&&e.push(n)});for(const n of e){const i=this._clicks.indexOf(n);i>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(i,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const r=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,i=e.mutationAfter&&e.mutationAfter<=this._threshold,a=!n&&!i,{clickCount:s,clickBreadcrumb:o}=e;if(a){const u=Math.min(e.mutationAfter||this._timeout,this._timeout)*1e3,c=u<this._timeout*1e3?"mutation":"timeout",l={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:At.location.href,route:r.getCurrentRoute(),timeAfterClickMs:u,endReason:c,clickCount:s||1}};this._addBreadcrumbEvent(r,l);return}if(s>1){const u={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:At.location.href,route:r.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(r,u)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}const hwe=["A","BUTTON","INPUT"];function pwe(t,e){return!!(!hwe.includes(t.tagName)||t.tagName==="INPUT"&&!["submit","button"].includes(t.getAttribute("type")||"")||t.tagName==="A"&&(t.hasAttribute("download")||t.hasAttribute("target")&&t.getAttribute("target")!=="_self")||e&&t.matches(e))}function mwe(t){return!!(t.data&&typeof t.data.nodeId=="number"&&t.timestamp)}function KR(){return Date.now()/1e3}function gwe(t,e){try{if(!vwe(e))return;const{source:r}=e.data;if(r===Ve.Mutation&&t.registerMutation(e.timestamp),r===Ve.Scroll&&t.registerScroll(e.timestamp),bwe(e)){const{type:n,id:i}=e.data,a=Mo.mirror.getNode(i);a instanceof HTMLElement&&n===on.Click&&t.registerClick(a)}}catch{}}function vwe(t){return t.type===awe}function bwe(t){return t.data.source===Ve.MouseInteraction}function Ia(t){return{timestamp:Date.now()/1e3,type:"default",...t}}var Z0;(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"})(Z0||(Z0={}));const ywe=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function _we(t){const e={};for(const r in t)if(ywe.has(r)){let n=r;(r==="data-testid"||r==="data-test-id")&&(n="testId"),e[n]=t[r]}return e}const wwe=t=>e=>{if(!t.isEnabled())return;const r=Swe(e);if(!r)return;const n=e.name==="click",i=n?e.event:void 0;n&&t.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&dwe(t.clickDetector,r,QV(e.event)),Xp(t,r)};function eU(t,e){const r=Mo.mirror.getId(t),n=r&&Mo.mirror.getNode(r),i=n&&Mo.mirror.getMeta(n),a=i&&Twe(i)?i:null;return{message:e,data:a?{nodeId:r,node:{id:r,tagName:a.tagName,textContent:Array.from(a.childNodes).map(s=>s.type===Z0.Text&&s.textContent).filter(Boolean).map(s=>s.trim()).join(""),attributes:_we(a.attributes)}}:{}}}function Swe(t){const{target:e,message:r}=Owe(t);return Ia({category:`ui.${t.name}`,...eU(e,r)})}function Owe(t){const e=t.name==="click";let r,n=null;try{n=e?QV(t.event):ZV(t.event),r=dc(n,{maxStringLength:200})||"<unknown>"}catch{r="<unknown>"}return{target:n,message:r}}function Twe(t){return t.type===Z0.Element}function Ewe(t,e){if(!t.isEnabled())return;t.updateUserActivity();const r=xwe(e);r&&Xp(t,r)}function xwe(t){const{metaKey:e,shiftKey:r,ctrlKey:n,altKey:i,key:a,target:s}=t;if(!s||Pwe(s)||!a)return null;const o=e||n||i,u=a.length===1;if(!o&&u)return null;const c=dc(s,{maxStringLength:200})||"<unknown>",l=eU(s,c);return Ia({category:"ui.keyDown",message:c,data:{...l.data,metaKey:e,shiftKey:r,ctrlKey:n,altKey:i,key:a}})}function Pwe(t){return t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable}const qR={resource:kwe,paint:Mwe,navigation:$we};function Cwe(t){return t.map(Awe).filter(Boolean)}function Awe(t){return qR[t.entryType]?qR[t.entryType](t):null}function wd(t){return((bn||At.performance.timeOrigin)+t)/1e3}function Mwe(t){const{duration:e,entryType:r,name:n,startTime:i}=t,a=wd(i);return{type:r,name:n,start:a,end:a+e,data:void 0}}function $we(t){const{entryType:e,name:r,decodedBodySize:n,duration:i,domComplete:a,encodedBodySize:s,domContentLoadedEventStart:o,domContentLoadedEventEnd:u,domInteractive:c,loadEventStart:l,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:m,type:b}=t;return i===0?null:{type:`${e}.${b}`,start:wd(p),end:wd(a),name:r,data:{size:m,decodedBodySize:n,encodedBodySize:s,duration:i,domInteractive:c,domContentLoadedEventStart:o,domContentLoadedEventEnd:u,loadEventStart:l,loadEventEnd:d,domComplete:a,redirectCount:f}}}function kwe(t){const{entryType:e,initiatorType:r,name:n,responseEnd:i,startTime:a,decodedBodySize:s,encodedBodySize:o,responseStatus:u,transferSize:c}=t;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${e}.${r}`,start:wd(a),end:wd(i),name:n,data:{size:c,statusCode:u,decodedBodySize:s,encodedBodySize:o}}}function Dwe(t){const e=t.entries,r=e[e.length-1],n=r?r.element:void 0,i=t.value,a=wd(i);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:a,end:a,data:{value:i,size:i,nodeId:n?Mo.mirror.getId(n):void 0}}}function Iwe(t){function e(i){t.performanceEntries.includes(i)||t.performanceEntries.push(i)}function r({entries:i}){i.forEach(e)}const n=[];return["navigation","paint","resource"].forEach(i=>{n.push(Ry(i,r))}),n.push(Yz(({metric:i})=>{t.replayPerformanceEntries.push(Dwe(i))})),()=>{n.forEach(i=>i())}}const Et=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Rwe='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([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,0,0,0]),i=new t([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,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function Lwe(){const t=new Blob([Rwe]);return URL.createObjectURL(t)}function ln(t,e){Et&&(W.info(t),e&&tU(t))}function ql(t,e){Et&&(W.info(t),e&&setTimeout(()=>{tU(t)},0))}function tU(t){Ls({category:"console",data:{logger:"replay"},level:"info",message:t},{level:"info"})}class HP extends Error{constructor(){super(`Event buffer exceeded maximum size of ${RP}.`)}}class rU{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const r=JSON.stringify(e).length;if(this._totalSize+=r,this._totalSize>RP)throw new HP;this.events.push(e)}finish(){return new Promise(e=>{const r=this.events;this.clear(),e(JSON.stringify(r))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map(r=>r.timestamp).sort()[0];return e?jP(e):null}}class Nwe{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(){ln("[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){Et&&W.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 Bwe{constructor(e){this._worker=new Nwe(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const r=jP(e.timestamp);(!this._earliestTimestamp||r<this._earliestTimestamp)&&(this._earliestTimestamp=r);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>RP?Promise.reject(new HP):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{Et&&W.warn('[Replay] Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class Fwe{constructor(e){this._fallback=new rU,this._compression=new Bwe(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{ln("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:r}=this._fallback,n=[];for(const i of e)n.push(this._compression.addEvent(i));this._compression.hasCheckout=r,this._used=this._compression;try{await Promise.all(n)}catch(i){Et&&W.warn("[Replay] Failed to add events when switching buffers.",i)}}}function jwe({useCompression:t,workerUrl:e}){if(t&&window.Worker){const r=Hwe(e);if(r)return r}return ln("[Replay] Using simple buffer"),new rU}function Hwe(t){try{const e=t||zwe();if(!e)return;ln(`[Replay] Using compression worker${t?` from ${t}`:""}`);const r=new Worker(e);return new Fwe(r)}catch{ln("[Replay] Failed to create compression worker")}}function zwe(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?Lwe():""}function zP(){try{return"sessionStorage"in At&&!!At.sessionStorage}catch{return!1}}function Vwe(t){Uwe(),t.session=void 0}function Uwe(){if(zP())try{At.sessionStorage.removeItem(DP)}catch{}}function nU(t){return t===void 0?!1:Math.random()<t}function iU(t){const e=Date.now(),r=t.id||jt(),n=t.started||e,i=t.lastActivity||e,a=t.segmentId||0,s=t.sampled,o=t.previousSessionId;return{id:r,started:n,lastActivity:i,segmentId:a,sampled:s,previousSessionId:o}}function VP(t){if(zP())try{At.sessionStorage.setItem(DP,JSON.stringify(t))}catch{}}function Gwe(t,e){return nU(t)?"session":e?"buffer":!1}function XR({sessionSampleRate:t,allowBuffering:e,stickySession:r=!1},{previousSessionId:n}={}){const i=Gwe(t,e),a=iU({sampled:i,previousSessionId:n});return r&&VP(a),a}function Wwe(t){if(!zP())return null;try{const e=At.sessionStorage.getItem(DP);if(!e)return null;const r=JSON.parse(e);return ql("[Replay] Loading existing session",t),iU(r)}catch{return null}}function aT(t,e,r=+new Date){return t===null||e===void 0||e<0?!0:e===0?!1:t+e<=r}function aU(t,{maxReplayDuration:e,sessionIdleExpire:r,targetTime:n=Date.now()}){return aT(t.started,e,n)||aT(t.lastActivity,r,n)}function sU(t,{sessionIdleExpire:e,maxReplayDuration:r}){return!(!aU(t,{sessionIdleExpire:e,maxReplayDuration:r})||t.sampled==="buffer"&&t.segmentId===0)}function x1({traceInternals:t,sessionIdleExpire:e,maxReplayDuration:r,previousSessionId:n},i){const a=i.stickySession&&Wwe(t);return a?sU(a,{sessionIdleExpire:e,maxReplayDuration:r})?(ql("[Replay] Session in sessionStorage is expired, creating new one..."),XR(i,{previousSessionId:a.id})):a:(ql("[Replay] Creating new session",t),XR(i,{previousSessionId:n}))}function Ywe(t){return t.type===ze.Custom}function UP(t,e,r){return uU(t,e)?(oU(t,e,r),!0):!1}function Kwe(t,e,r){return uU(t,e)?oU(t,e,r):Promise.resolve(null)}async function oU(t,e,r){if(!t.eventBuffer)return null;try{r&&t.recordingMode==="buffer"&&t.eventBuffer.clear(),r&&(t.eventBuffer.hasCheckout=!0);const n=t.getOptions(),i=qwe(e,n.beforeAddRecordingEvent);return i?await t.eventBuffer.addEvent(i):void 0}catch(n){const i=n&&n instanceof HP?"addEventSizeExceeded":"addEvent";Et&&W.error(n),await t.stop({reason:i});const a=Xe();a&&a.recordDroppedEvent("internal_sdk_error","replay")}}function uU(t,e){if(!t.eventBuffer||t.isPaused()||!t.isEnabled())return!1;const r=jP(e.timestamp);return r+t.timeouts.sessionIdlePause<Date.now()?!1:r>t.getContext().initialTimestamp+t.getOptions().maxReplayDuration?(ln(`[Replay] Skipping event with timestamp ${r} because it is after maxReplayDuration`,t.getOptions()._experiments.traceInternals),!1):!0}function qwe(t,e){try{if(typeof e=="function"&&Ywe(t))return e(t)}catch(r){return Et&&W.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",r),null}return t}function GP(t){return!t.type}function sT(t){return t.type==="transaction"}function Xwe(t){return t.type==="replay_event"}function JR(t){return t.type==="feedback"}function cU(t){const e=Zwe();return(r,n)=>{if(!t.isEnabled()||!GP(r)&&!sT(r))return;const i=n&&n.statusCode;if(!(e&&(!i||i<200||i>=300))){if(sT(r)){Jwe(t,r);return}Qwe(t,r)}}}function Jwe(t,e){const r=t.getContext();e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id&&r.traceIds.size<100&&r.traceIds.add(e.contexts.trace.trace_id)}function Qwe(t,e){const r=t.getContext();if(e.event_id&&r.errorIds.size<100&&r.errorIds.add(e.event_id),t.recordingMode!=="buffer"||!e.tags||!e.tags.replayId)return;const{beforeErrorSampling:n}=t.getOptions();typeof n=="function"&&!n(e)||setTimeout(()=>{t.sendBufferedReplayOrFlush()})}function Zwe(){const t=Xe();if(!t)return!1;const e=t.getTransport();return e&&e.send.__sentry__baseTransport__||!1}function e1e(t){return e=>{!t.isEnabled()||!GP(e)||t1e(t,e)}}function t1e(t,e){const r=e.exception&&e.exception.values&&e.exception.values[0].value;if(typeof r=="string"&&(r.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const n=Ia({category:"replay.hydrate-error"});Xp(t,n)}}function r1e(t,e){return t.type||!t.exception||!t.exception.values||!t.exception.values.length?!1:!!(e.originalException&&e.originalException.__rrweb__)}function n1e(t,e){t.triggerUserActivity(),t.addUpdate(()=>e.timestamp?(t.throttledAddEvent({type:ze.Custom,timestamp:e.timestamp*1e3,data:{timestamp:e.timestamp,tag:"breadcrumb",payload:{category:"sentry.feedback",data:{feedbackId:e.event_id}}}}),!1):!0)}function i1e(t,e){return t.recordingMode!=="buffer"||e.message===IP||!e.exception||e.type?!1:nU(t.getOptions().errorSampleRate)}function a1e(t,e=!1){const r=e?cU(t):void 0;return Object.assign((n,i)=>t.isEnabled()?Xwe(n)?(delete n.breadcrumbs,n):!GP(n)&&!sT(n)&&!JR(n)||!t.checkAndHandleExpiredSession()?n:JR(n)?(t.flush(),n.contexts.feedback.replay_id=t.getSessionId(),n1e(t,n),n):r1e(n,i)&&!t.getOptions()._experiments.captureExceptions?(Et&&W.log("[Replay] Ignoring error from rrweb internals",n),null):((i1e(t,n)||t.recordingMode==="session")&&(n.tags={...n.tags,replayId:t.getSessionId()}),r&&r(n,{statusCode:200}),n):n,{id:"Replay"})}function By(t,e){return e.map(({type:r,start:n,end:i,name:a,data:s})=>{const o=t.throttledAddEvent({type:ze.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:r,description:a,startTimestamp:n,endTimestamp:i,data:s}}});return typeof o=="string"?Promise.resolve(null):o})}function s1e(t){const{from:e,to:r}=t,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:e}}}function o1e(t){return e=>{if(!t.isEnabled())return;const r=s1e(e);r!==null&&(t.getContext().urls.push(r.name),t.triggerUserActivity(),t.addUpdate(()=>(By(t,[r]),!1)))}}function u1e(t,e){return Et&&t.getOptions()._experiments.traceInternals?!1:Zve(e,Xe())}function Fy(t,e){t.isEnabled()&&e!==null&&(u1e(t,e.name)||t.addUpdate(()=>(By(t,[e]),!0)))}function c1e(t){const{startTimestamp:e,endTimestamp:r,fetchData:n,response:i}=t;if(!r)return null;const{method:a,url:s}=n;return{type:"resource.fetch",start:e/1e3,end:r/1e3,name:s,data:{method:a,statusCode:i?i.status:void 0}}}function l1e(t){return e=>{if(!t.isEnabled())return;const r=c1e(e);Fy(t,r)}}function d1e(t){const{startTimestamp:e,endTimestamp:r,xhr:n}=t,i=n[vo];if(!e||!r||!i)return null;const{method:a,url:s,status_code:o}=i;return s===void 0?null:{type:"resource.xhr",name:s,start:e/1e3,end:r/1e3,data:{method:a,statusCode:o}}}function f1e(t){return e=>{if(!t.isEnabled())return;const r=d1e(e);Fy(t,r)}}function jy(t,e){if(t)try{if(typeof t=="string")return e.encode(t).length;if(t instanceof URLSearchParams)return e.encode(t.toString()).length;if(t instanceof FormData){const r=hU(t);return e.encode(r).length}if(t instanceof Blob)return t.size;if(t instanceof ArrayBuffer)return t.byteLength}catch{}}function lU(t){if(!t)return;const e=parseInt(t,10);return isNaN(e)?void 0:e}function dU(t){try{if(typeof t=="string")return[t];if(t instanceof URLSearchParams)return[t.toString()];if(t instanceof FormData)return[hU(t)];if(!t)return[void 0]}catch{return Et&&W.warn("[Replay] Failed to serialize body",t),[void 0,"BODY_PARSE_ERROR"]}return Et&&W.info("[Replay] Skipping network body because of body type",t),[void 0,"UNPARSEABLE_BODY_TYPE"]}function eb(t,e){if(!t)return{headers:{},size:void 0,_meta:{warnings:[e]}};const r={...t._meta},n=r.warnings||[];return r.warnings=[...n,e],t._meta=r,t}function fU(t,e){if(!e)return null;const{startTimestamp:r,endTimestamp:n,url:i,method:a,statusCode:s,request:o,response:u}=e;return{type:t,start:r/1e3,end:n/1e3,name:i,data:Xr({method:a,statusCode:s,request:o,response:u})}}function hp(t){return{headers:{},size:t,_meta:{warnings:["URL_SKIPPED"]}}}function $o(t,e,r){if(!e&&Object.keys(t).length===0)return;if(!e)return{headers:t};if(!r)return{headers:t,size:e};const n={headers:t,size:e},{body:i,warnings:a}=h1e(r);return n.body=i,a&&a.length>0&&(n._meta={warnings:a}),n}function oT(t,e){return Object.keys(t).reduce((r,n)=>{const i=n.toLowerCase();return e.includes(i)&&t[n]&&(r[i]=t[n]),r},{})}function hU(t){return new URLSearchParams(t).toString()}function h1e(t){if(!t||typeof t!="string")return{body:t};const e=t.length>LR,r=p1e(t);if(e){const n=t.slice(0,LR);return r?{body:n,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${n}…`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(t)}}catch{}return{body:t}}function p1e(t){const e=t[0],r=t[t.length-1];return e==="["&&r==="]"||e==="{"&&r==="}"}function tb(t,e){const r=m1e(t);return jd(r,e)}function m1e(t,e=At.document.baseURI){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith(At.location.origin))return t;const r=new URL(t,e);if(r.origin!==new URL(e).origin)return t;const n=r.href;return!t.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}async function g1e(t,e,r){try{const n=await b1e(t,e,r),i=fU("resource.fetch",n);Fy(r.replay,i)}catch(n){Et&&W.error("[Replay] Failed to capture fetch breadcrumb",n)}}function v1e(t,e,r){const{input:n,response:i}=e,a=n?pU(n):void 0,s=jy(a,r.textEncoder),o=i?lU(i.headers.get("content-length")):void 0;s!==void 0&&(t.data.request_body_size=s),o!==void 0&&(t.data.response_body_size=o)}async function b1e(t,e,r){const n=Date.now(),{startTimestamp:i=n,endTimestamp:a=n}=e,{url:s,method:o,status_code:u=0,request_body_size:c,response_body_size:l}=t.data,d=tb(s,r.networkDetailAllowUrls)&&!tb(s,r.networkDetailDenyUrls),f=d?y1e(r,e.input,c):hp(c),p=await _1e(d,r,e.response,l);return{startTimestamp:i,endTimestamp:a,url:s,method:o,statusCode:u,request:f,response:p}}function y1e({networkCaptureBodies:t,networkRequestHeaders:e},r,n){const i=r?O1e(r,e):{};if(!t)return $o(i,n,void 0);const a=pU(r),[s,o]=dU(a),u=$o(i,n,s);return o?eb(u,o):u}async function _1e(t,{networkCaptureBodies:e,textEncoder:r,networkResponseHeaders:n},i,a){if(!t&&a!==void 0)return hp(a);const s=i?mU(i.headers,n):{};if(!i||!e&&a!==void 0)return $o(s,a,void 0);const[o,u]=await S1e(i),c=w1e(o,{networkCaptureBodies:e,textEncoder:r,responseBodySize:a,captureDetails:t,headers:s});return u?eb(c,u):c}function w1e(t,{networkCaptureBodies:e,textEncoder:r,responseBodySize:n,captureDetails:i,headers:a}){try{const s=t&&t.length&&n===void 0?jy(t,r):n;return i?e?$o(a,s,t):$o(a,s,void 0):hp(s)}catch(s){return Et&&W.warn("[Replay] Failed to serialize response body",s),$o(a,n,void 0)}}async function S1e(t){const e=T1e(t);if(!e)return[void 0,"BODY_PARSE_ERROR"];try{return[await E1e(e)]}catch(r){return Et&&W.warn("[Replay] Failed to get text body from response",r),[void 0,"BODY_PARSE_ERROR"]}}function pU(t=[]){if(!(t.length!==2||typeof t[1]!="object"))return t[1].body}function mU(t,e){const r={};return e.forEach(n=>{t.get(n)&&(r[n]=t.get(n))}),r}function O1e(t,e){return t.length===1&&typeof t[0]!="string"?QR(t[0],e):t.length===2?QR(t[1],e):{}}function QR(t,e){if(!t)return{};const r=t.headers;return r?r instanceof Headers?mU(r,e):Array.isArray(r)?{}:oT(r,e):{}}function T1e(t){try{return t.clone()}catch(e){Et&&W.warn("[Replay] Failed to clone response body",e)}}function E1e(t){return new Promise((e,r)=>{const n=setTimeout(()=>r(new Error("Timeout while trying to read response body")),500);x1e(t).then(i=>e(i),i=>r(i)).finally(()=>clearTimeout(n))})}async function x1e(t){return await t.text()}async function P1e(t,e,r){try{const n=A1e(t,e,r),i=fU("resource.xhr",n);Fy(r.replay,i)}catch(n){Et&&W.error("[Replay] Failed to capture xhr breadcrumb",n)}}function C1e(t,e,r){const{xhr:n,input:i}=e;if(!n)return;const a=jy(i,r.textEncoder),s=n.getResponseHeader("content-length")?lU(n.getResponseHeader("content-length")):D1e(n.response,n.responseType,r.textEncoder);a!==void 0&&(t.data.request_body_size=a),s!==void 0&&(t.data.response_body_size=s)}function A1e(t,e,r){const n=Date.now(),{startTimestamp:i=n,endTimestamp:a=n,input:s,xhr:o}=e,{url:u,method:c,status_code:l=0,request_body_size:d,response_body_size:f}=t.data;if(!u)return null;if(!o||!tb(u,r.networkDetailAllowUrls)||tb(u,r.networkDetailDenyUrls)){const g=hp(d),T=hp(f);return{startTimestamp:i,endTimestamp:a,url:u,method:c,statusCode:l,request:g,response:T}}const p=o[vo],m=p?oT(p.request_headers,r.networkRequestHeaders):{},b=oT(M1e(o),r.networkResponseHeaders),[_,S]=r.networkCaptureBodies?dU(s):[void 0],[E,O]=r.networkCaptureBodies?$1e(o):[void 0],h=$o(m,d,_),v=$o(b,f,E);return{startTimestamp:i,endTimestamp:a,url:u,method:c,statusCode:l,request:S?eb(h,S):h,response:O?eb(v,O):v}}function M1e(t){const e=t.getAllResponseHeaders();return e?e.split(`\r
`).reduce((r,n)=>{const[i,a]=n.split(": ");return r[i.toLowerCase()]=a,r},{}):{}}function $1e(t){const e=[];try{return[t.responseText]}catch(r){e.push(r)}try{return k1e(t.response,t.responseType)}catch(r){e.push(r)}return Et&&W.warn("[Replay] Failed to get xhr response body",...e),[void 0]}function k1e(t,e){try{if(typeof t=="string")return[t];if(t instanceof Document)return[t.body.outerHTML];if(e==="json"&&t&&typeof t=="object")return[JSON.stringify(t)];if(!t)return[void 0]}catch{return Et&&W.warn("[Replay] Failed to serialize body",t),[void 0,"BODY_PARSE_ERROR"]}return Et&&W.info("[Replay] Skipping network body because of body type",t),[void 0,"UNPARSEABLE_BODY_TYPE"]}function D1e(t,e,r){try{const n=e==="json"&&t&&typeof t=="object"?JSON.stringify(t):t;return jy(n,r)}catch{return}}function I1e(t){const e=Xe();try{const r=new TextEncoder,{networkDetailAllowUrls:n,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:s,networkResponseHeaders:o}=t.getOptions(),u={replay:t,textEncoder:r,networkDetailAllowUrls:n,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:s,networkResponseHeaders:o};e&&e.on?e.on("beforeAddBreadcrumb",(c,l)=>R1e(u,c,l)):(Xx(l1e(t)),Jx(f1e(t)))}catch{}}function R1e(t,e,r){if(e.data)try{L1e(e)&&B1e(r)&&(C1e(e,r,t),P1e(e,r,t)),N1e(e)&&F1e(r)&&(v1e(e,r,t),g1e(e,r,t))}catch{Et&&W.warn("Error when enriching network breadcrumb")}}function L1e(t){return t.category==="xhr"}function N1e(t){return t.category==="fetch"}function B1e(t){return t&&t.xhr}function F1e(t){return t&&t.response}let ZR=null;function j1e(t){return!!t.category}const H1e=t=>e=>{if(!t.isEnabled())return;const r=z1e(e);r&&Xp(t,r)};function z1e(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();return ZR===e||!e||(ZR=e,!j1e(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))?null:e.category==="console"?V1e(e):Ia(e)}function V1e(t){const e=t.data&&t.data.arguments;if(!Array.isArray(e)||e.length===0)return Ia(t);let r=!1;const n=e.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>dg?(r=!0,`${i.slice(0,dg)}…`):i;if(typeof i=="object")try{const a=Ca(i,7);return JSON.stringify(a).length>dg?(r=!0,`${JSON.stringify(a,null,2).slice(0,dg)}…`):a}catch{}return i});return Ia({...t,data:{...t.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function U1e(t){const e=wr(),r=Xe();e.addScopeListener(H1e(t)),HH(wwe(t)),Up(o1e(t)),I1e(t);const n=a1e(t,!e8(r));r&&r.addEventProcessor?r.addEventProcessor(n):Cz(n),e8(r)&&(r.on("beforeSendEvent",e1e(t)),r.on("afterSendEvent",cU(t)),r.on("createDsc",i=>{const a=t.getSessionId();a&&t.isEnabled()&&t.recordingMode==="session"&&t.checkAndHandleExpiredSession()&&(i.replay_id=a)}),r.on("startTransaction",i=>{t.lastTransaction=i}),r.on("finishTransaction",i=>{t.lastTransaction=i}),r.on("beforeSendFeedback",(i,a)=>{const s=t.getSessionId();a&&a.includeReplay&&t.isEnabled()&&s&&(t.flush(),i.contexts&&i.contexts.feedback&&(i.contexts.feedback.replay_id=s))}))}function e8(t){return!!(t&&t.on)}async function G1e(t){try{return Promise.all(By(t,[W1e(At.performance.memory)]))}catch{return[]}}function W1e(t){const{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}=t,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}}}}function Y1e(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 c(){return i!==void 0||a!==void 0?o():n}function l(){return i&&clearTimeout(i),i=setTimeout(o,e),s&&a===void 0&&(a=setTimeout(o,s)),n}return l.cancel=u,l.flush=c,l}function K1e(t){let e=!1;return(r,n)=>{if(!t.checkAndHandleExpiredSession()){Et&&W.warn("[Replay] Received replay event after session expired.");return}const i=n||!e;e=!0,t.clickDetector&&gwe(t.clickDetector,r),t.addUpdate(()=>{if(t.recordingMode==="buffer"&&i&&t.setInitialState(),!UP(t,r,i))return!0;if(!i)return!1;if(X1e(t,i),t.session&&t.session.previousSessionId)return!0;if(t.recordingMode==="buffer"&&t.session&&t.eventBuffer){const a=t.eventBuffer.getEarliestTimestamp();a&&(ln(`[Replay] Updating session start time to earliest event in buffer to ${new Date(a)}`,t.getOptions()._experiments.traceInternals),t.session.started=a,t.getOptions().stickySession&&VP(t.session))}return t.recordingMode==="session"&&t.flush(),!0})}}function q1e(t){const e=t.getOptions();return{type:ze.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:t.isRecordingCanvas(),sessionSampleRate:e.sessionSampleRate,errorSampleRate:e.errorSampleRate,useCompressionOption:e.useCompression,blockAllMedia:e.blockAllMedia,maskAllText:e.maskAllText,maskAllInputs:e.maskAllInputs,useCompression:t.eventBuffer?t.eventBuffer.type==="worker":!1,networkDetailHasUrls:e.networkDetailAllowUrls.length>0,networkCaptureBodies:e.networkCaptureBodies,networkRequestHasHeaders:e.networkRequestHeaders.length>0,networkResponseHasHeaders:e.networkResponseHeaders.length>0}}}}function X1e(t,e){!e||!t.session||t.session.segmentId!==0||UP(t,q1e(t),!1)}function J1e(t,e,r,n){return Ac(JH(t,tP(t),n,r),[[{type:"replay_event"},t],[{type:"replay_recording",length:typeof e=="string"?new TextEncoder().encode(e).length:e.length},e]])}function Q1e({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 Z1e({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={event_id:r,integrations:i};t.emit&&t.emit("preprocessEvent",n,a);const s=await iP(t.getOptions(),n,a,e,t,ca());if(!s)return null;s.platform=s.platform||"javascript";const o=t.getSdkMetadata&&t.getSdkMetadata(),{name:u,version:c}=o&&o.sdk||{};return s.sdk={...s.sdk,name:u||"sentry.javascript.unknown",version:c||"0.0.0"},s}async function eSe({recordingData:t,replayId:e,segmentId:r,eventContext:n,timestamp:i,session:a}){const s=Q1e({recordingData:t,headers:{segment_id:r}}),{urls:o,errorIds:u,traceIds:c,initialTimestamp:l}=n,d=Xe(),f=wr(),p=d&&d.getTransport(),m=d&&d.getDsn();if(!d||!p||!m||!a.sampled)return;const b={type:Bye,replay_start_timestamp:l/1e3,timestamp:i/1e3,error_ids:u,trace_ids:c,urls:o,replay_id:e,segment_id:r,replay_type:a.sampled},_=await Z1e({scope:f,client:d,replayId:e,event:b});if(!_){d.recordDroppedEvent("event_processor","replay",b),ln("An event processor returned `null`, will not send event.");return}delete _.sdkProcessingMetadata;const S=J1e(_,s,m,d.getOptions().tunnel);let E;try{E=await p.send(S)}catch(h){const v=new Error(IP);try{v.cause=h}catch{}throw v}if(!E)return E;if(typeof E.statusCode=="number"&&(E.statusCode<200||E.statusCode>=300))throw new gU(E.statusCode);const O=ez({},E);if(ZH(O,"replay"))throw new vU(O);return E}class gU extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class vU extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function bU(t,e={count:0,interval:Uye}){const{recordingData:r,options:n}=t;if(r.length)try{return await eSe(t),!0}catch(i){if(i instanceof gU||i instanceof vU)throw i;if(sz("Replays",{_retryCount:e.count}),Et&&n._experiments&&n._experiments.captureExceptions&&Vd(i),e.count>=Gye){const a=new Error(`${IP} - max retries exceeded`);try{a.cause=i}catch{}throw a}return e.interval*=++e.count,new Promise((a,s)=>{setTimeout(async()=>{try{await bU(t,e),a(!0)}catch(o){s(o)}},e.interval)})}}const yU="__THROTTLED",tSe="__SKIPPED";function rSe(t,e,r){const n=new Map,i=o=>{const u=o-r;n.forEach((c,l)=>{l<u&&n.delete(l)})},a=()=>[...n.values()].reduce((o,u)=>o+u,0);let s=!1;return(...o)=>{const u=Math.floor(Date.now()/1e3);if(i(u),a()>=e){const l=s;return s=!0,l?tSe:yU}s=!1;const c=n.get(u)||0;return n.set(u,c+1),t(...o)}}class co{constructor({options:e,recordingOptions:r}){co.prototype.__init.call(this),co.prototype.__init2.call(this),co.prototype.__init3.call(this),co.prototype.__init4.call(this),co.prototype.__init5.call(this),co.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:Fye,sessionIdleExpire:jye},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=r,this._options=e,this._debouncedFlush=Y1e(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=rSe((s,o)=>Kwe(this,s,o),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:i}=this.getOptions(),a=n?{threshold:Math.min(Wye,n),timeout:n,scrollTimeout:Yye,ignoreSelector:i?i.join(","):""}:void 0;a&&(this.clickDetector=new fwe(this,a))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:r,sessionSampleRate:n}=this._options;if(!(r<=0&&n<=0)){if(this._initializeSessionForSampling(e),!this.session){this._handleException(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",ql(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session")throw new Error("Replay recording is already in progress");if(this._isEnabled&&this.recordingMode==="buffer")throw new Error("Replay buffering is in progress, call `flush()` to save the replay");ql("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const e=x1({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");ql("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=x1({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Mo({...this._recordingOptions,...this.recordingMode==="buffer"&&{checkoutEveryNms:Vye},emit:K1e(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:r}={}){if(this._isEnabled){this._isEnabled=!1;try{ln(`[Replay] Stopping Replay${r?` triggered by ${r}`:""}`,this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,Vwe(this)}catch(n){this._handleException(n)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),ln("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),ln("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const r=Date.now();ln("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();!e||!n||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this._updateUserActivity(r),this._updateSessionActivity(r),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const r=e();this.recordingMode!=="buffer"&&r!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&aT(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const e=`${At.location.pathname}${At.location.hash}${At.location.search}`,r=`${At.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=r,this._context.initialTimestamp=Date.now(),this._context.urls.push(r)}throttledAddEvent(e,r){const n=this._throttledAddEvent(e,r);if(n===yU){const i=Ia({category:"replay.throttled"});this.addUpdate(()=>!UP(this,{type:swe,timestamp:i.timestamp||0,data:{tag:"breadcrumb",payload:i,metric:!0}}))}return n}getCurrentRoute(){const e=this.lastTransaction||wr().getTransaction(),n=(e&&Pt(e).data||{})[kn];if(!(!e||!n||!["route","custom"].includes(n)))return Pt(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=jwe({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){Et&&W.error("[Replay]",e),Et&&this._options._experiments&&this._options._experiments.captureExceptions&&Vd(e)}_initializeSessionForSampling(e){const r=this._options.errorSampleRate>0,n=x1({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:r});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return sU(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(e),!1):!0}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{At.document.addEventListener("visibilitychange",this._handleVisibilityChange),At.addEventListener("blur",this._handleWindowBlur),At.addEventListener("focus",this._handleWindowFocus),At.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(U1e(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=Iwe(this)}_removeListeners(){try{At.document.removeEventListener("visibilitychange",this._handleVisibilityChange),At.removeEventListener("blur",this._handleWindowBlur),At.removeEventListener("focus",this._handleWindowFocus),At.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{At.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=Ia({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=Ia({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{Ewe(this,e)}}_doChangeToBackgroundTasks(e){!this.session||aU(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){ln("[Replay] Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:ze.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){const e=Cwe(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(By(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:r}=this;if(!e||!r||e.segmentId)return;const n=r.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){Et&&W.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await G1e(this),!!this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const r=Date.now();if(r-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const a=await this.eventBuffer.finish();await bU({replayId:e,recordingData:a,segmentId:i,eventContext:n,session:this.session,options:this.getOptions(),timestamp:r})}catch(r){this._handleException(r),this.stop({reason:"sendReplay"});const n=Xe();n&&n.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){Et&&W.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session)return;const r=this.session.started,i=Date.now()-r;this._debouncedFlush.cancel();const a=i<this._options.minReplayDuration,s=i>this._options.maxReplayDuration+5e3;if(a||s){ln(`[Replay] Session duration (${Math.floor(i/1e3)}s) is too ${a?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),a&&this._debouncedFlush();return}const o=this.eventBuffer;if(o&&this.session.segmentId===0&&!o.hasCheckout&&ln("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(u){Et&&W.error(u)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&VP(this.session)}__init6(){this._onMutationHandler=e=>{const r=e.length,n=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=n&&r>n;if(r>i||a){const s=Ia({category:"replay.mutations",data:{count:r,limit:a}});this._createCustomBreadcrumb(s)}return a?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function Bf(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}`),Ga(()=>{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 nSe({mask:t,unmask:e,block:r,unblock:n,ignore:i,blockClass:a,blockSelector:s,maskTextClass:o,maskTextSelector:u,ignoreClass:c}){const l=['base[href="/"]'],d=Bf(t,[".sentry-mask","[data-sentry-mask]"],o,u),f=Bf(e,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:d,unmaskTextSelector:f,blockSelector:Bf(r,[".sentry-block","[data-sentry-block]",...l],a,s),unblockSelector:Bf(n,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Bf(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],c)};return a instanceof RegExp&&(p.blockClass=a),o instanceof RegExp&&(p.maskTextClass=o),p}function iSe({el:t,key:e,maskAttributes:r,maskAllText:n,privacyOptions:i,value:a}){return!n||i.unmaskTextSelector&&t.matches(i.unmaskTextSelector)?a:r.includes(e)||e==="value"&&t.tagName==="INPUT"&&["submit","button"].includes(t.getAttribute("type")||"")?a.replace(/[\S]/g,"*"):a}const t8='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',aSe=["content-length","content-type","accept"];let r8=!1;const sSe=t=>new Jp(t);class Jp{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=Hye,flushMaxDelay:r=zye,minReplayDuration:n=Kye,maxReplayDuration:i=NR,stickySession:a=!0,useCompression:s=!0,workerUrl:o,_experiments:u={},sessionSampleRate:c,errorSampleRate:l,maskAllText:d=!0,maskAllInputs:f=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:m=750,mutationLimit:b=1e4,slowClickTimeout:_=7e3,slowClickIgnoreSelectors:S=[],networkDetailAllowUrls:E=[],networkDetailDenyUrls:O=[],networkCaptureBodies:h=!0,networkRequestHeaders:v=[],networkResponseHeaders:g=[],mask:T=[],maskAttributes:C=["title","placeholder"],unmask:k=[],block:w=[],unblock:A=[],ignore:P=[],maskFn:x,beforeAddRecordingEvent:$,beforeErrorSampling:D,blockClass:M,blockSelector:R,maskInputOptions:N,maskTextClass:j,maskTextSelector:z,ignoreClass:V}={}){this.name=Jp.id;const J=nSe({mask:T,unmask:k,block:w,unblock:A,ignore:P,blockClass:M,blockSelector:R,maskTextClass:j,maskTextSelector:z,ignoreClass:V});if(this._recordingOptions={maskAllInputs:f,maskAllText:d,maskInputOptions:{...N||{},password:!0},maskTextFn:x,maskInputFn:x,maskAttributeFn:(re,Y,U)=>iSe({maskAttributes:C,maskAllText:d,privacyOptions:J,key:re,value:Y,el:U}),...J,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:re=>{try{re.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:r,minReplayDuration:Math.min(n,qye),maxReplayDuration:Math.min(i,NR),stickySession:a,sessionSampleRate:c,errorSampleRate:l,useCompression:s,workerUrl:o,blockAllMedia:p,maskAllInputs:f,maskAllText:d,mutationBreadcrumbLimit:m,mutationLimit:b,slowClickTimeout:_,slowClickIgnoreSelectors:S,networkDetailAllowUrls:E,networkDetailDenyUrls:O,networkCaptureBodies:h,networkRequestHeaders:n8(v),networkResponseHeaders:n8(g),beforeAddRecordingEvent:$,beforeErrorSampling:D,_experiments:u},typeof c=="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: ${c} })`),this._initialOptions.sessionSampleRate=c),typeof l=="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: ${l} })`),this._initialOptions.errorSampleRate=l),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${t8}`:t8),this._isInitialized&&GO())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return r8}set _isInitialized(e){r8=e}setupOnce(){GO()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(e){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(e)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const e=oSe(this._initialOptions);this._replay=new co({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const r=Xe().getIntegrationByName("ReplayCanvas");if(!r)return;this._replay._canvas=r.getOptions()}catch{}}}Jp.__initStatic();function oSe(t){const e=Xe(),r=e&&e.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...Xr(t)};return r?(t.sessionSampleRate==null&&t.errorSampleRate==null&&r.replaysSessionSampleRate==null&&r.replaysOnErrorSampleRate==null&&Ga(()=>{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):(Ga(()=>{console.warn("SDK client is not available.")}),n)}function n8(t){return[...aSe,...t.map(e=>e.toLowerCase())]}var i8;(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"})(i8||(i8={}));function uSe(t,e){for(let r=t.classList.length;r--;){const n=t.classList[r];if(e.test(n))return!0}return!1}function uT(t,e,r=1/0,n=0){return!t||t.nodeType!==t.ELEMENT_NODE||n>r?-1:e(t)?n:uT(t.parentNode,e,r,n+1)}function a8(t,e){return r=>{const n=r;if(n===null)return!1;try{if(t){if(typeof t=="string"){if(n.matches(`.${t}`))return!0}else if(uSe(n,t))return!0}return!!(e&&n.matches(e))}catch{return!1}}}const El=`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 s8={map:{},getId(){return console.error(El),-1},getNode(){return console.error(El),null},removeNodeFromMap(){console.error(El)},has(){return console.error(El),!1},reset(){console.error(El)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(s8=new Proxy(s8,{get(t,e,r){return e==="map"&&console.error(El),Reflect.get(t,e,r)}}));function WP(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)}}),()=>WP(t,e,a||{},!0)}function YP(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()=>{}}}/[1-9][0-9]{12}/.test(Date.now().toString());function Hy(t,e,r,n,i){if(!t)return!1;const a=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(!a)return!1;const s=a8(e,r);if(!i){const c=n&&a.matches(n);return s(a)&&!c}const o=uT(a,s);let u=-1;return o<0?!1:(n&&(u=uT(a,a8(null,n))),o>-1&&u<0?!0:o<u)}let P1;function cSe(){if(P1)return P1;const t=window.document;let e=window.requestAnimationFrame;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.requestAnimationFrame&&(e=n.requestAnimationFrame),t.head.removeChild(r)}catch{}return P1=e.bind(window)}function mu(...t){return cSe()(...t)}var Sd=(t=>(t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t))(Sd||{});const o8=t=>t;var Hl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lSe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var pg=0;pg<Hl.length;pg++)lSe[Hl.charCodeAt(pg)]=pg;var dSe=function(t){var e=new Uint8Array(t),r,n=e.length,i="";for(r=0;r<n;r+=3)i+=Hl[e[r]>>2],i+=Hl[(e[r]&3)<<4|e[r+1]>>4],i+=Hl[(e[r+1]&15)<<2|e[r+2]>>6],i+=Hl[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 u8=new Map;function fSe(t,e){let r=u8.get(t);return r||(r=new Map,u8.set(t,r)),r.has(e)||r.set(e,[]),r.get(e)}const _U=(t,e,r)=>{if(!t||!(SU(t,e)||typeof t=="object"))return;const n=t.constructor.name,i=fSe(r,n);let a=i.indexOf(t);return a===-1&&(a=i.length,i.push(t)),a};function wv(t,e,r){if(t instanceof Array)return t.map(n=>wv(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=dSe(t);return{rr_type:n,base64:i}}else{if(t instanceof DataView)return{rr_type:t.constructor.name,args:[wv(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 HTMLCanvasElement){const n="HTMLImageElement",i=t.toDataURL();return{rr_type:n,src:i}}else{if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[wv(t.data,e,r),t.width,t.height]};if(SU(t,e)||typeof t=="object"){const n=t.constructor.name,i=_U(t,e,r);return{rr_type:n,index:i}}}}return t}const wU=(t,e,r)=>t.map(n=>wv(n,e,r)),SU=(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 hSe(t,e,r,n,i){const a=[],s=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype);for(const o of s)try{if(typeof e.CanvasRenderingContext2D.prototype[o]!="function")continue;const u=YP(e.CanvasRenderingContext2D.prototype,o,function(c){return function(...l){return Hy(this.canvas,r,n,i,!0)||setTimeout(()=>{const d=wU(l,e,this);t(this.canvas,{type:Sd["2D"],property:o,args:d})},0),c.apply(this,l)}});a.push(u)}catch{const c=WP(e.CanvasRenderingContext2D.prototype,o,{set(l){t(this.canvas,{type:Sd["2D"],property:o,args:[l],setter:!0})}});a.push(c)}return()=>{a.forEach(o=>o())}}function pSe(t){return t==="experimental-webgl"?"webgl":t}function c8(t,e,r,n,i){const a=[];try{const s=YP(t.HTMLCanvasElement.prototype,"getContext",function(o){return function(u,...c){if(!Hy(this,e,r,n,!0)){const l=pSe(u);if("__context"in this||(this.__context=l),i&&["webgl","webgl2"].includes(l))if(c[0]&&typeof c[0]=="object"){const d=c[0];d.preserveDrawingBuffer||(d.preserveDrawingBuffer=!0)}else c.splice(0,1,{preserveDrawingBuffer:!0})}return o.apply(this,[u,...c])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function l8(t,e,r,n,i,a,s,o){const u=[],c=Object.getOwnPropertyNames(t);for(const l of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))try{if(typeof t[l]!="function")continue;const d=YP(t,l,function(f){return function(...p){const m=f.apply(this,p);if(_U(m,o,this),"tagName"in this.canvas&&!Hy(this.canvas,n,i,a,!0)){const b=wU(p,o,this),_={type:e,property:l,args:b};r(this.canvas,_)}return m}});u.push(d)}catch{const f=WP(t,l,{set(p){r(this.canvas,{type:e,property:l,args:[p],setter:!0})}});u.push(f)}return u}function mSe(t,e,r,n,i,a){const s=[];return s.push(...l8(e.WebGLRenderingContext.prototype,Sd.WebGL,t,r,n,i,a,e)),typeof e.WebGL2RenderingContext<"u"&&s.push(...l8(e.WebGL2RenderingContext.prototype,Sd.WebGL2,t,r,n,i,a,e)),()=>{s.forEach(o=>o())}}var gSe='for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e="undefined"==typeof Uint8Array?[]:new Uint8Array(256),n=0;n<64;n++)e[t.charCodeAt(n)]=n;var a=function(e){var n,a=new Uint8Array(e),s=a.length,r="";for(n=0;n<s;n+=3)r+=t[a[n]>>2],r+=t[(3&a[n])<<4|a[n+1]>>4],r+=t[(15&a[n+1])<<2|a[n+2]>>6],r+=t[63&a[n+2]];return s%3==2?r=r.substring(0,r.length-1)+"=":s%3==1&&(r=r.substring(0,r.length-2)+"=="),r};const s=new Map,r=new Map;const i=self;i.onmessage=async function(t){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:t.data.id});{const{id:e,bitmap:n,width:o,height:f,dataURLOptions:c}=t.data,g=async function(t,e,n){const s=t+"-"+e;if("OffscreenCanvas"in globalThis){if(r.has(s))return r.get(s);const i=new OffscreenCanvas(t,e);i.getContext("2d");const o=await i.convertToBlob(n),f=await o.arrayBuffer(),c=a(f);return r.set(s,c),c}return""}(o,f,c),d=new OffscreenCanvas(o,f);d.getContext("2d").drawImage(n,0,0),n.close();const u=await d.convertToBlob(c),h=u.type,w=await u.arrayBuffer(),l=a(w);if(!s.has(e)&&await g===l)return s.set(e,l),i.postMessage({id:e});if(s.get(e)===l)return i.postMessage({id:e});i.postMessage({id:e,type:h,base64:l,width:o,height:f}),s.set(e,l)}};';function vSe(){const t=new Blob([gSe]);return URL.createObjectURL(t)}class bSe{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=(c,l)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(c)||this.pendingCanvasMutations.set(c,[]),this.pendingCanvasMutations.get(c).push(l)};const{sampling:r="all",win:n,blockClass:i,blockSelector:a,unblockSelector:s,recordCanvas:o,dataURLOptions:u}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,!e.enableManualSnapshot&&o8(()=>{o&&r==="all"&&this.initCanvasMutationObserver(n,i,a,s),o&&typeof r=="number"&&this.initCanvasFPSObserver(r,n,i,a,s,{dataURLOptions:u})})()}initCanvasFPSObserver(e,r,n,i,a,s){const o=c8(r,n,i,a,!0),u=this.takeSnapshot(!1,e,r,n,i,a,s.dataURLOptions);this.resetObservers=()=>{o(),cancelAnimationFrame(u)}}initCanvasMutationObserver(e,r,n,i){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=c8(e,r,n,i,!1),s=hSe(this.processMutation.bind(this),e,r,n,i),o=mSe(this.processMutation.bind(this),e,r,n,i,this.mirror);this.resetObservers=()=>{a(),s(),o()}}snapshot(e){const{options:r}=this,n=this.takeSnapshot(!0,r.sampling==="all"?2:r.sampling||2,r.win,r.blockClass,r.blockSelector,r.unblockSelector,r.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(n)}}takeSnapshot(e,r,n,i,a,s,o,u){const c=new Map,l=new Worker(vSe());l.onmessage=_=>{const S=_.data,{id:E}=S;if(c.set(E,!1),!("base64"in S))return;const{base64:O,type:h,width:v,height:g}=S;this.mutationCb({id:E,type:Sd["2D"],commands:[{property:"clearRect",args:[0,0,v,g]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:O}],type:h}]},0,0]}]})};const d=1e3/r;let f=0,p;const m=_=>{if(_)return[_];const S=[];return n.document.querySelectorAll("canvas").forEach(E=>{Hy(E,i,a,s,!0)||S.push(E)}),S},b=_=>{if(f&&_-f<d){p=mu(b);return}f=_,m(u).forEach(S=>{const E=this.mirror.getId(S);if(!c.get(E)){if(c.set(E,!0),!e&&["webgl","webgl2"].includes(S.__context)){const O=S.getContext(S.__context);yv([O,"optionalAccess",h=>h.getContextAttributes,"call",h=>h(),"optionalAccess",h=>h.preserveDrawingBuffer])===!1&&O.clear(O.COLOR_BUFFER_BIT)}createImageBitmap(S).then(O=>{l.postMessage({id:E,bitmap:O,width:S.width,height:S.height,dataURLOptions:o},[O])}).catch(O=>{o8(()=>{throw O})()})}}),p=mu(b)};return p=mu(b),p}startPendingCanvasMutationFlusher(){mu(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const e=r=>{this.rafStamps.latestId=r,mu(e)};mu(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,r)=>{const n=this.mirror.getId(r);this.flushPendingCanvasMutationFor(r,n)}),mu(()=>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=>{const{type:o,...u}=s;return u}),{type:a}=n[0];this.mutationCb({id:r,type:a,commands:i}),this.pendingCanvasMutations.delete(e)}}const d8={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},OU="ReplayCanvas",ySe=(t={})=>{const e={quality:t.quality||"medium",enableManualSnapshot:t.enableManualSnapshot};let r;const n=new Promise(i=>r=i);return{name:OU,setupOnce(){},getOptions(){const{quality:i,enableManualSnapshot:a}=e;return{enableManualSnapshot:a,recordCanvas:!0,getCanvasManager:s=>{const o=new bSe({...s,enableManualSnapshot:a});return r(o),o},...d8[i||"medium"]||d8.medium}},async snapshot(i){(await n).snapshot(i)}}},TU=ySe,_Se=zn(OU,TU),Mc=je,C1="#ffffff",f8="inherit",A1="rgba(108, 95, 199, 1)",h8={fontFamily:"'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:C1,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"12px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:A1,submitBorder:A1,submitOutlineFocus:"#29232f",submitForeground:C1,submitForegroundHover:C1,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:f8,inputForeground:f8,inputBorder:"var(--border)",inputOutlineFocus:A1,formBorderRadius:"20px",formContentBorderRadius:"6px"},p8={light:h8,dark:{...h8,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"}},wSe="Report a Bug",SSe="Cancel",OSe="Send Bug Report",TSe="Report a Bug",ESe="your.email@example.org",xSe="Email",PSe="What's the bug? What did you expect?",CSe="Description",ASe="Your Name",MSe="Name",$Se="Thank you for your report!",EU="widget",xU="api";async function kSe({client:t,scope:e,event:r}){const n={};t.emit&&t.emit("preprocessEvent",r,n);const i=await iP(t.getOptions(),r,n,e,t,ca());return i===null?(t.recordDroppedEvent("event_processor","feedback",r),null):(i.platform=i.platform||"javascript",i)}async function DSe({feedback:{message:t,email:e,name:r,source:n,url:i}},{includeReplay:a=!0}={}){const s=Xe(),o=s&&s.getTransport(),u=s&&s.getDsn();if(!s||!o||!u)return;const c={contexts:{feedback:{contact_email:e,name:r,message:t,url:i,source:n}},type:"feedback"};return Yp(async l=>{l.clearBreadcrumbs(),[xU,EU].includes(String(n))&&l.setLevel("info");const d=await kSe({scope:l,client:s,event:c});if(!d)return;s.emit&&s.emit("beforeSendFeedback",d,{includeReplay:!!a});const f=vz(d,u,s.getOptions()._metadata,s.getOptions().tunnel);let p;try{p=await o.send(f)}catch(m){const b=new Error("Unable to send Feedback");try{b.cause=m}catch{}throw b}if(p){if(typeof p.statusCode=="number"&&(p.statusCode<200||p.statusCode>=300))throw new Error("Unable to send Feedback");return p}})}function PU({name:t,email:e,message:r,source:n=xU,url:i=MH()},a={}){if(!r)throw new Error("Unable to submit feedback with empty message");return DSe({feedback:{name:t,email:e,message:r,url:i,source:n}},a)}const xl=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function m8(t,e){return{...t,...e,themeDark:{...t.themeDark,...e.themeDark},themeLight:{...t.themeLight,...e.themeLight}}}function ISe(t){const e=t.createElement("style");return e.textContent=`
.widget__actor {
line-height: 25px;
display: flex;
align-items: center;
gap: 8px;
border-radius: var(--border-radius);
cursor: pointer;
font-size: 14px;
font-weight: 600;
padding: 12px 16px;
text-decoration: none;
z-index: 9000;
color: var(--foreground);
background-color: var(--background);
border: var(--border);
box-shadow: var(--box-shadow);
opacity: 1;
transition: opacity 0.1s ease-in-out;
}
.widget__actor:hover {
background-color: var(--background-hover);
}
.widget__actor svg {
width: 16px;
height: 16px;
}
.widget__actor--hidden {
opacity: 0;
pointer-events: none;
visibility: hidden;
}
.widget__actor__text {
}
.feedback-icon path {
fill: var(--foreground);
}
`,e}function RSe(t){const e=t.createElement("style");return e.textContent=`
.dialog {
line-height: 25px;
background-color: rgba(0, 0, 0, 0.05);
border: none;
position: fixed;
inset: 0;
z-index: 10000;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
opacity: 1;
transition: opacity 0.2s ease-in-out;
}
.dialog:not([open]) {
opacity: 0;
pointer-events: none;
visibility: hidden;
}
.dialog:not([open]) .dialog__content {
transform: translate(0, -16px) scale(0.98);
}
.dialog__content {
position: fixed;
left: var(--left);
right: var(--right);
bottom: var(--bottom);
top: var(--top);
border: var(--border);
border-radius: var(--form-border-radius);
background-color: var(--background);
color: var(--foreground);
width: 320px;
max-width: 100%;
max-height: calc(100% - 2rem);
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
transition: transform 0.2s ease-in-out;
transform: translate(0, 0) scale(1);
}
.dialog__header {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 20px;
font-weight: 600;
padding: 24px 24px 0 24px;
margin: 0;
margin-bottom: 16px;
}
.brand-link {
display: inline-flex;
}
.error {
color: var(--error);
margin-bottom: 16px;
}
.form {
display: grid;
overflow: auto;
flex-direction: column;
gap: 16px;
padding: 0 24px 24px;
}
.form__error-container {
color: var(--error);
}
.form__error-container--hidden {
display: none;
}
.form__label {
display: flex;
flex-direction: column;
gap: 4px;
margin: 0px;
}
.form__label__text {
display: grid;
gap: 4px;
align-items: center;
grid-auto-flow: column;
grid-auto-columns: max-content;
}
.form__label__text--required {
font-size: 0.85em;
}
.form__input {
font-family: inherit;
line-height: inherit;
background-color: var(--input-background);
box-sizing: border-box;
border: var(--input-border);
border-radius: var(--form-content-border-radius);
color: var(--input-foreground);
font-size: 14px;
font-weight: 500;
padding: 6px 12px;
}
.form__input:focus-visible {
outline: 1px auto var(--input-outline-focus);
}
.form__input--textarea {
font-family: inherit;
resize: vertical;
}
.btn-group {
display: grid;
gap: 8px;
margin-top: 8px;
}
.btn {
line-height: inherit;
border: var(--cancel-border);
border-radius: var(--form-content-border-radius);
cursor: pointer;
font-size: 14px;
font-weight: 600;
padding: 6px 16px;
}
.btn[disabled] {
opacity: 0.6;
pointer-events: none;
}
.btn--primary {
background-color: var(--submit-background);
border-color: var(--submit-border);
color: var(--submit-foreground);
}
.btn--primary:hover {
background-color: var(--submit-background-hover);
color: var(--submit-foreground-hover);
}
.btn--primary:focus-visible {
outline: 1px auto var(--submit-outline-focus);
}
.btn--default {
background-color: var(--cancel-background);
color: var(--cancel-foreground);
font-weight: 500;
}
.btn--default:hover {
background-color: var(--cancel-background-hover);
color: var(--cancel-foreground-hover);
}
.btn--default:focus-visible {
outline: 1px auto var(--cancel-outline-focus);
}
.success-message {
background-color: var(--background);
border: var(--border);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
font-weight: 600;
color: var(--success);
padding: 12px 24px;
line-height: 25px;
display: grid;
align-items: center;
grid-auto-flow: column;
gap: 6px;
cursor: default;
}
.success-icon path {
fill: var(--success);
}
`,e}function g8(t){return`
--background: ${t.background};
--background-hover: ${t.backgroundHover};
--foreground: ${t.foreground};
--error: ${t.error};
--success: ${t.success};
--border: ${t.border};
--border-radius: ${t.borderRadius};
--box-shadow: ${t.boxShadow};
--submit-background: ${t.submitBackground};
--submit-background-hover: ${t.submitBackgroundHover};
--submit-border: ${t.submitBorder};
--submit-outline-focus: ${t.submitOutlineFocus};
--submit-foreground: ${t.submitForeground};
--submit-foreground-hover: ${t.submitForegroundHover};
--cancel-background: ${t.cancelBackground};
--cancel-background-hover: ${t.cancelBackgroundHover};
--cancel-border: ${t.cancelBorder};
--cancel-outline-focus: ${t.cancelOutlineFocus};
--cancel-foreground: ${t.cancelForeground};
--cancel-foreground-hover: ${t.cancelForegroundHover};
--input-background: ${t.inputBackground};
--input-foreground: ${t.inputForeground};
--input-border: ${t.inputBorder};
--input-outline-focus: ${t.inputOutlineFocus};
--form-border-radius: ${t.formBorderRadius};
--form-content-border-radius: ${t.formContentBorderRadius};
`}function LSe(t,e,r){const n=t.createElement("style");return n.textContent=`
:host {
--bottom: 1rem;
--right: 1rem;
--top: auto;
--left: auto;
--z-index: 100000;
--font-family: ${r.light.fontFamily};
--font-size: ${r.light.fontSize};
position: fixed;
left: var(--left);
right: var(--right);
bottom: var(--bottom);
top: var(--top);
z-index: var(--z-index);
font-family: var(--font-family);
font-size: var(--font-size);
${g8(e==="dark"?r.dark:r.light)}
}
${e==="system"?`
@media (prefers-color-scheme: dark) {
:host {
${g8(r.dark)}
}
}`:""}
}`,n}function NSe({id:t,colorScheme:e,themeDark:r,themeLight:n}){try{const i=Mc.document,a=i.createElement("div");a.id=t;const s=a.attachShadow({mode:"open"});return s.appendChild(LSe(i,e,{dark:r,light:n})),s.appendChild(RSe(i)),{shadow:s,host:a}}catch{throw W.warn("[Feedback] Browser does not support shadow DOM API"),new Error("Browser does not support shadow DOM API.")}}async function BSe(t,e,r){if(!t)return;const n=()=>{t&&t.showError("There was a problem submitting feedback, please wait and try again.")};t.hideError();try{return await PU({...e,source:EU},r)}catch(i){xl&&W.error(i),n()}}function ti(t,e){return Object.entries(e).forEach(([r,n])=>{t.setAttributeNS(null,r,n)}),t}const fl=20,FSe="http://www.w3.org/2000/svg";function jSe(){const t=o=>Mc.document.createElementNS(FSe,o),e=ti(t("svg"),{class:"feedback-icon",width:`${fl}`,height:`${fl}`,viewBox:`0 0 ${fl} ${fl}`,fill:"none"}),r=ti(t("g"),{clipPath:"url(#clip0_57_80)"}),n=ti(t("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});e.appendChild(r).appendChild(n);const i=t("defs"),a=ti(t("clipPath"),{id:"clip0_57_80"}),s=ti(t("rect"),{width:`${fl}`,height:`${fl}`,fill:"white"});return a.appendChild(s),i.appendChild(a),e.appendChild(i).appendChild(a).appendChild(s),{get el(){return e}}}function Ft(t,e,...r){const i=Mc.document.createElement(t);e&&Object.entries(e).forEach(([a,s])=>{a==="className"&&typeof s=="string"?i.setAttribute("class",s):typeof s=="boolean"&&s?i.setAttribute(a,""):typeof s=="string"?i.setAttribute(a,s):a.startsWith("on")&&typeof s=="function"&&i.addEventListener(a.substring(2).toLowerCase(),s)});for(const a of r)CU(i,a);return i}function CU(t,e){const r=Mc.document;if(!(typeof e>"u"||e===null))if(Array.isArray(e))for(const n of e)CU(t,n);else e===!1||(typeof e=="string"?t.appendChild(r.createTextNode(e)):e instanceof Node?t.appendChild(e):t.appendChild(r.createTextNode(String(e))))}function HSe({buttonLabel:t,onClick:e}){function r(i){e&&e(i)}const n=Ft("button",{type:"button",className:"widget__actor","aria-label":t,"aria-hidden":"false"},jSe().el,t?Ft("span",{className:"widget__actor__text"},t):null);return n.addEventListener("click",r),{get el(){return n},show:()=>{n.classList.remove("widget__actor--hidden"),n.setAttribute("aria-hidden","false")},hide:()=>{n.classList.add("widget__actor--hidden"),n.setAttribute("aria-hidden","true")}}}function zSe({label:t}){return{el:Ft("button",{type:"submit",className:"btn btn--primary","aria-label":t},t)}}function M1(t,e){const r=t.get(e);return typeof r=="string"?r.trim():""}function VSe({nameLabel:t,namePlaceholder:e,emailLabel:r,emailPlaceholder:n,messageLabel:i,messagePlaceholder:a,cancelButtonLabel:s,submitButtonLabel:o,showName:u,showEmail:c,isNameRequired:l,isEmailRequired:d,defaultName:f,defaultEmail:p,onCancel:m,onSubmit:b}){const{el:_}=zSe({label:o});function S(w){if(w.preventDefault(),w.target instanceof HTMLFormElement)try{if(b){const A=new FormData(w.target),P={name:M1(A,"name"),email:M1(A,"email"),message:M1(A,"message")};b(P)}}catch{}}const E=Ft("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"});function O(w){E.textContent=w,E.classList.remove("form__error-container--hidden"),E.setAttribute("aria-hidden","false")}function h(){E.textContent="",E.classList.add("form__error-container--hidden"),E.setAttribute("aria-hidden","true")}const v=Ft("input",{id:"name",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"name",required:l,className:"form__input",placeholder:e,value:f}),g=Ft("input",{id:"email",type:c?"text":"hidden","aria-hidden":c?"false":"true",name:"email",required:d,className:"form__input",placeholder:n,value:p}),T=Ft("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:a}),C=Ft("button",{type:"button",className:"btn btn--default","aria-label":s,onClick:w=>{m&&m(w)}},s),k=Ft("form",{className:"form",onSubmit:S},[E,u&&Ft("label",{htmlFor:"name",className:"form__label"},[Ft("span",{className:"form__label__text"},t,l&&Ft("span",{className:"form__label__text--required"}," (required)")),v]),!u&&v,c&&Ft("label",{htmlFor:"email",className:"form__label"},[Ft("span",{className:"form__label__text"},r,d&&Ft("span",{className:"form__label__text--required"}," (required)")),g]),!c&&g,Ft("label",{htmlFor:"message",className:"form__label"},[Ft("span",{className:"form__label__text"},i,Ft("span",{className:"form__label__text--required"}," (required)")),T]),Ft("div",{className:"btn-group"},[_,C])]);return{get el(){return k},showError:O,hideError:h}}const USe="http://www.w3.org/2000/svg";function GSe({colorScheme:t}){const e=s=>Mc.document.createElementNS(USe,s),r=ti(e("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),n=ti(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});r.append(n);const i=e("defs"),a=e("style");return t==="system"&&(a.textContent=`
@media (prefers-color-scheme: dark) {
path: {
fill: '#fff';
}
}
`),a.textContent=`
path {
fill: ${t==="dark"?"#fff":"#362d59"};
}`,i.append(a),r.append(i),{get el(){return r}}}function WSe({formTitle:t,showBranding:e,showName:r,showEmail:n,isNameRequired:i,isEmailRequired:a,colorScheme:s,defaultName:o,defaultEmail:u,onClosed:c,onCancel:l,onSubmit:d,...f}){let p=null;function m(){b(),c&&c()}function b(){p&&(p.open=!1)}function _(){p&&(p.open=!0)}function S(){return p&&p.open===!0||!1}const{el:E,showError:O,hideError:h}=VSe({showEmail:n,showName:r,isEmailRequired:a,isNameRequired:i,defaultName:o,defaultEmail:u,onSubmit:d,onCancel:l,...f});return p=Ft("dialog",{className:"dialog",open:!0,onClick:m},Ft("div",{className:"dialog__content",onClick:v=>{v.stopPropagation()}},Ft("h2",{className:"dialog__header"},t,e&&Ft("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},GSe({colorScheme:s}).el)),E)),{get el(){return p},showError:O,hideError:h,open:_,close:b,checkIsOpen:S}}const mg=16,v8=17,YSe="http://www.w3.org/2000/svg";function KSe(){const t=u=>Mc.document.createElementNS(YSe,u),e=ti(t("svg"),{class:"success-icon",width:`${mg}`,height:`${v8}`,viewBox:`0 0 ${mg} ${v8}`,fill:"none"}),r=ti(t("g"),{clipPath:"url(#clip0_57_156)"}),n=ti(t("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),i=ti(t("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});e.appendChild(r).append(i,n);const a=t("defs"),s=ti(t("clipPath"),{id:"clip0_57_156"}),o=ti(t("rect"),{width:`${mg}`,height:`${mg}`,fill:"white",transform:"translate(0 0.5)"});return s.appendChild(o),a.appendChild(s),e.appendChild(a).appendChild(s).appendChild(o),{get el(){return e}}}function qSe({message:t,onRemove:e}){function r(){n&&(n.remove(),e&&e())}const n=Ft("div",{className:"success-message",onClick:r},KSe().el,t);return{el:n,remove:r}}function b8({shadow:t,options:{shouldCreateActor:e=!0,...r},attachTo:n}){let i,a,s=!1;function o(){if(t)try{const _=qSe({message:r.successMessageText,onRemove:()=>{S&&clearTimeout(S),c()}});if(!_.el)throw new Error("Unable to show success message");t.appendChild(_.el);const S=setTimeout(()=>{_&&_.remove()},5e3)}catch(_){W.error(_)}}async function u(_){if(!a)return;const S=[];if(r.isNameRequired&&!_.name&&S.push(r.nameLabel),r.isEmailRequired&&!_.email&&S.push(r.emailLabel),_.message||S.push(r.messageLabel),S.length>0){a.showError(`Please enter in the following required fields: ${S.join(", ")}`);return}if(!await BSe(a,_)){r.onSubmitError&&r.onSubmitError();return}m(),o(),r.onSubmitSuccess&&r.onSubmitSuccess()}function c(){i&&i.show()}function l(){i&&i.hide()}function d(){i&&i.el&&i.el.remove()}function f(){try{if(a){a.open(),s=!0,r.onFormOpen&&r.onFormOpen();return}const _=r.useSentryUser,S=wr(),E=S&&S.getUser();if(a=WSe({colorScheme:r.colorScheme,showBranding:r.showBranding,showName:r.showName||r.isNameRequired,showEmail:r.showEmail||r.isEmailRequired,isNameRequired:r.isNameRequired,isEmailRequired:r.isEmailRequired,formTitle:r.formTitle,cancelButtonLabel:r.cancelButtonLabel,submitButtonLabel:r.submitButtonLabel,emailLabel:r.emailLabel,emailPlaceholder:r.emailPlaceholder,messageLabel:r.messageLabel,messagePlaceholder:r.messagePlaceholder,nameLabel:r.nameLabel,namePlaceholder:r.namePlaceholder,defaultName:_&&E&&E[_.name]||"",defaultEmail:_&&E&&E[_.email]||"",onClosed:()=>{c(),s=!1,r.onFormClose&&r.onFormClose()},onCancel:()=>{p(),c()},onSubmit:u}),!a.el)throw new Error("Unable to open Feedback dialog");t.appendChild(a.el),l(),r.onFormOpen&&r.onFormOpen()}catch(_){W.error(_)}}function p(){a&&(a.close(),s=!1,r.onFormClose&&r.onFormClose())}function m(){if(a){p();const _=a.el;_&&_.remove(),a=void 0}}function b(){s||f(),l()}return n?n.addEventListener("click",b):e&&(i=HSe({buttonLabel:r.buttonLabel,onClick:b}),i.el&&t.appendChild(i.el)),{get actor(){return i},get dialog(){return a},showActor:c,hideActor:l,removeActor:d,openDialog:f,closeDialog:p,removeDialog:m}}const gg=Mc.document,XSe=t=>new Qp(t);class Qp{static __initStatic(){this.id="Feedback"}constructor({id:e="sentry-feedback",showBranding:r=!0,autoInject:n=!0,showEmail:i=!0,showName:a=!0,useSentryUser:s={email:"email",name:"username"},isEmailRequired:o=!1,isNameRequired:u=!1,themeDark:c,themeLight:l,colorScheme:d="system",buttonLabel:f=wSe,cancelButtonLabel:p=SSe,submitButtonLabel:m=OSe,formTitle:b=TSe,emailPlaceholder:_=ESe,emailLabel:S=xSe,messagePlaceholder:E=PSe,messageLabel:O=CSe,namePlaceholder:h=ASe,nameLabel:v=MSe,successMessageText:g=$Se,onFormClose:T,onFormOpen:C,onSubmitError:k,onSubmitSuccess:w}={}){this.name=Qp.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={id:e,showBranding:r,autoInject:n,isEmailRequired:o,isNameRequired:u,showEmail:i,showName:a,useSentryUser:s,colorScheme:d,themeDark:{...p8.dark,...c},themeLight:{...p8.light,...l},buttonLabel:f,cancelButtonLabel:p,submitButtonLabel:m,formTitle:b,emailLabel:S,emailPlaceholder:_,messageLabel:O,messagePlaceholder:E,nameLabel:v,namePlaceholder:h,successMessageText:g,onFormClose:T,onFormOpen:C,onSubmitError:k,onSubmitSuccess:w}}setupOnce(){if(GO())try{this._cleanupWidgetIfExists();const{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){xl&&W.error(e)}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,r){try{const n=m8(this.options,r||{});return this._ensureShadowHost(n,({shadow:i})=>{const a=typeof e=="string"?gg.querySelector(e):typeof e.addEventListener=="function"?e:null;if(!a)return xl&&W.error("[Feedback] Unable to attach to target element"),null;const s=b8({shadow:i,options:n,attachTo:a});return this._widgets.add(s),this._widget||(this._widget=s),s})}catch(n){return xl&&W.error(n),null}}createWidget(e){try{return this._createWidget(m8(this.options,e||{}))}catch(r){return xl&&W.error(r),null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(r){xl&&W.error(r)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();const e=gg.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,({shadow:r})=>{const n=b8({shadow:r,options:e});return!this._hasInsertedActorStyles&&n.actor&&(r.appendChild(ISe(gg)),this._hasInsertedActorStyles=!0),this._widgets.add(n),this._widget||(this._widget=n),n})}_ensureShadowHost(e,r){let n=!1;if(!this._shadow||!this._host){const{id:a,colorScheme:s,themeLight:o,themeDark:u}=e,{shadow:c,host:l}=NSe({id:a,colorScheme:s,themeLight:o,themeDark:u});this._shadow=c,this._host=l,n=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;const i=r({shadow:this._shadow,host:this._host});return n&&gg.body.appendChild(this._host),i}}Qp.__initStatic();function pp(t){return new Promise((e,r)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>r(t.error)})}function JSe(t,e){const r=indexedDB.open(t);r.onupgradeneeded=()=>r.result.createObjectStore(e);const n=pp(r);return i=>n.then(a=>i(a.transaction(e,"readwrite").objectStore(e)))}function AU(t){return pp(t.getAllKeys())}function QSe(t,e,r){return t(n=>AU(n).then(i=>{if(!(i.length>=r))return n.put(e,Math.max(...i,0)+1),pp(n.transaction)}))}function ZSe(t){return t(e=>AU(e).then(r=>{if(r.length!==0)return pp(e.get(r[0])).then(n=>(e.delete(r[0]),pp(e.transaction).then(()=>n)))}))}function eOe(t){let e;function r(){return e==null&&(e=JSe(t.dbName||"sentry-offline",t.storeName||"queue")),e}return{insert:async n=>{try{const i=await XH(n,t.textEncoder);await QSe(r(),i,t.maxQueueSize||30)}catch{}},pop:async()=>{try{const n=await ZSe(r());if(n)return hge(n,t.textEncoder||new TextEncoder,t.textDecoder||new TextDecoder)}catch{}}}}function tOe(t){return e=>t({...e,createStore:eOe})}function rOe(t){return tOe(Xve(t))}const y8=1e6,Sv=String(0),nOe="main";let MU="",$U="",kU="",cT=Se.navigator&&Se.navigator.userAgent||"",DU="";const iOe=Se.navigator&&Se.navigator.language||Se.navigator&&Se.navigator.languages&&Se.navigator.languages[0]||"";function aOe(t){return typeof t=="object"&&t!==null&&"getHighEntropyValues"in t}const _8=Se.navigator&&Se.navigator.userAgentData;aOe(_8)&&_8.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(t=>{if(MU=t.platform||"",kU=t.architecture||"",DU=t.model||"",$U=t.platformVersion||"",t.fullVersionList&&t.fullVersionList.length>0){const e=t.fullVersionList[t.fullVersionList.length-1];cT=`${e.brand} ${e.version}`}}).catch(t=>{});function sOe(t){return!("thread_metadata"in t)}function oOe(t){return sOe(t)?lOe(t):t}function uOe(t){const e=t&&t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id;return typeof e=="string"&&e.length!==32&&rt&&W.log(`[Profiling] Invalid traceId: ${e} on profiled event`),typeof e!="string"?"":e}function cOe(t,e,r,n){if(n.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(r==null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${r} instead.`);const i=uOe(n),a=oOe(r),s=e||(typeof n.start_timestamp=="number"?n.start_timestamp*1e3:Date.now()),o=typeof n.timestamp=="number"?n.timestamp*1e3:Date.now();return{event_id:t,timestamp:new Date(s).toISOString(),platform:"javascript",version:"1",release:n.release||"",environment:n.environment||Wp,runtime:{name:"javascript",version:Se.navigator.userAgent},os:{name:MU,version:$U,build_number:cT},device:{locale:iOe,model:DU,manufacturer:cT,architecture:kU,is_emulator:!1},debug_meta:{images:hOe(r.resources)},profile:a,transactions:[{name:n.transaction||"",id:n.event_id||jt(),trace_id:i,active_thread_id:Sv,relative_start_ns:"0",relative_end_ns:((o-s)*1e6).toFixed(0)}]}}function IU(t){return t.op==="pageload"}function lOe(t){let e,r=0;const n={samples:[],stacks:[],frames:[],thread_metadata:{[Sv]:{name:nOe}}};if(!t.samples.length)return n;const i=t.samples[0].timestamp,a=typeof performance.timeOrigin=="number"?performance.timeOrigin:bn||0,s=a-(bn||a);for(let o=0;o<t.samples.length;o++){const u=t.samples[o];if(u.stackId===void 0){e===void 0&&(e=r,n.stacks[e]=[],r++),n.samples[o]={elapsed_since_start_ns:((u.timestamp+s-i)*y8).toFixed(0),stack_id:e,thread_id:Sv};continue}let c=t.stacks[u.stackId];const l=[];for(;c;){l.push(c.frameId);const f=t.frames[c.frameId];n.frames[c.frameId]===void 0&&(n.frames[c.frameId]={function:f.name,abs_path:typeof f.resourceId=="number"?t.resources[f.resourceId]:void 0,lineno:f.line,colno:f.column}),c=c.parentId===void 0?void 0:t.stacks[c.parentId]}const d={elapsed_since_start_ns:((u.timestamp+s-i)*y8).toFixed(0),stack_id:r,thread_id:Sv};n.stacks[r]=l,n.samples[o]=d,r++}return n}function dOe(t,e){if(!e.length)return t;for(const r of e)t[1].push([{type:"profile"},r]);return t}function fOe(t){const e=[];return gd(t,(r,n)=>{if(n==="transaction")for(let i=1;i<r.length;i++){const a=r[i];a&&a.contexts&&a.contexts.profile&&a.contexts.profile.profile_id&&e.push(r[i])}}),e}const w8=new WeakMap;function hOe(t){const e=je._sentryDebugIds;if(!e)return[];const r=Xe(),n=r&&r.getOptions(),i=n&&n.stackParser;if(!i)return[];let a;const s=w8.get(i);s?a=s:(a=new Map,w8.set(i,a));const o=Object.keys(e).reduce((c,l)=>{let d;const f=a.get(l);f?d=f:(d=i(l),a.set(l,d));for(let p=d.length-1;p>=0;p--){const m=d[p],b=m&&m.filename;if(m&&b){c[b]=e[l];break}}return c},{}),u=[];for(const c of t)c&&o[c]&&u.push({type:"sourcemap",code_file:c,debug_id:o[c]});return u}function pOe(t){return typeof t!="number"&&typeof t!="boolean"||typeof t=="number"&&isNaN(t)?(rt&&W.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1):t===!0||t===!1?!0:t<0||t>1?(rt&&W.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${t}.`),!1):!0}function mOe(t){return t.samples.length<2?(rt&&W.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):t.frames.length?!0:(rt&&W.log("[Profiling] Discarding profile because it contains no frames"),!1)}let RU=!1;const LU=3e4;function gOe(t){return typeof t=="function"}function vOe(){const t=Se.Profiler;if(!gOe(t)){rt&&W.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const e=10,r=Math.floor(LU/e);try{return new t({sampleInterval:e,maxBufferSize:r})}catch{rt&&(W.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),W.log("[Profiling] Disabling profiling for current user session.")),RU=!0}}function lT(t){if(RU)return rt&&W.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!t.isRecording())return rt&&W.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const e=Xe(),r=e&&e.getOptions();if(!r)return rt&&W.log("[Profiling] Profiling disabled, no options found."),!1;const n=r.profilesSampleRate;return pOe(n)?n?(n===!0?!0:Math.random()<n)?!0:(rt&&W.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(n)})`),!1):(rt&&W.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(rt&&W.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function bOe(t,e,r,n){return mOe(r)?cOe(t,e,r,n):null}const Lu=new Map;function yOe(){return Lu.size}function _Oe(t){const e=Lu.get(t);return e&&Lu.delete(t),e}function wOe(t,e){if(Lu.set(t,e),Lu.size>30){const r=Lu.keys().next().value;Lu.delete(r)}}function SOe(t){return t?lT(t)?dT(t):t:(rt&&W.log("[Profiling] Transaction is undefined, skipping profiling"),t)}function dT(t){let e;IU(t)&&(e=Qo()*1e3);const r=vOe();if(!r)return t;rt&&W.log(`[Profiling] started profiling transaction: ${Pt(t).description}`);const n=jt();async function i(){return!t||!r?null:r.stop().then(u=>(a&&(Se.clearTimeout(a),a=void 0),rt&&W.log(`[Profiling] stopped profiling of transaction: ${Pt(t).description}`),u?(wOe(n,u),null):(rt&&W.log(`[Profiling] profiler returned null profile for: ${Pt(t).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null))).catch(u=>(rt&&W.log("[Profiling] error while stopping profiler:",u),null))}let a=Se.setTimeout(()=>{rt&&W.log("[Profiling] max profile duration elapsed, stopping profiling for:",Pt(t).description),i()},LU);const s=t.end.bind(t);function o(){return t?(i().then(()=>{t.setContext("profile",{profile_id:n,start_timestamp:e}),s()},()=>{s()}),t):s()}return t.end=o,t}const NU="BrowserProfiling",OOe=()=>({name:NU,setupOnce(){},setup(t){const r=wr().getTransaction();if(r&&IU(r)&&lT(r)&&dT(r),typeof t.on!="function"){W.warn("[Profiling] Client does not support hooks, profiling will be disabled");return}t.on("startTransaction",n=>{lT(n)&&dT(n)}),t.on("beforeEnvelope",n=>{if(!yOe())return;const i=fOe(n);if(!i.length)return;const a=[];for(const s of i){const o=s&&s.contexts,u=o&&o.profile&&o.profile.profile_id,c=o&&o.profile&&o.profile.start_timestamp;if(typeof u!="string"){rt&&W.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!u){rt&&W.log("[Profiling] cannot find profile for a transaction without a profile context");continue}o&&o.profile&&delete o.profile;const l=_Oe(u);if(!l){rt&&W.log(`[Profiling] Could not retrieve profile for transaction: ${u}`);continue}const d=bOe(u,c,l,s);d&&a.push(d)}dOe(n,a)})}}),TOe=zn(NU,OOe);let BU={};Se.Sentry&&Se.Sentry.Integrations&&(BU=Se.Sentry.Integrations);const EOe={...BU,...B0e,...Nye},FU=["activate","mount","update"],xOe=/(?:^|[-_])(\w)/g,POe=t=>t.replace(xOe,e=>e.toUpperCase()).replace(/[-_]/g,""),COe="<Root>",$1="<Anonymous>",AOe=(t,e)=>t.repeat?t.repeat(e):t,Lh=(t,e)=>{if(!t)return $1;if(t.$root===t)return COe;if(!t.$options)return $1;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?`<${POe(n)}>`:$1)+(i&&e!==!1?` at ${i}`:"")},MOe=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?"---> ":AOe(" ",5+a*2))+(Array.isArray(i)?`${Lh(i[0])}... (${i[1]} recursive calls)`:Lh(i))}`).join(`
`)}`}return`
(found in ${Lh(t)})`},jU=(t,e)=>{const{errorHandler:r,warnHandler:n,silent:i}=t.config;t.config.errorHandler=(a,s,o)=>{const u=Lh(s,!1),c=s?MOe(s):"",l={componentName:u,lifecycleHook:o,trace:c};if(e.attachProps&&s&&(s.$options&&s.$options.propsData?l.propsData=s.$options.propsData:s.$props&&(l.propsData=s.$props)),setTimeout(()=>{Vd(a,{captureContext:{contexts:{vue:l}},mechanism:{handled:!1}})}),typeof r=="function"&&r.call(t,a,s,o),e.logErrors){const d=typeof console<"u",f=`Error in ${o}: "${a&&a.toString()}"`;n?n.call(null,f,s,c):d&&!i&&Ga(()=>{console.error(`[Vue warn]: ${f}${c}`)})}}},$Oe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,S8="ui.vue",kOe={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function fT(){return wr().getTransaction()}function DOe(t,e,r){t.$_sentryRootSpanTimer&&clearTimeout(t.$_sentryRootSpanTimer),t.$_sentryRootSpanTimer=setTimeout(()=>{t.$root&&t.$root.$_sentryRootSpan&&(t.$root.$_sentryRootSpan.end(e),t.$root.$_sentryRootSpan=void 0)},r)}const HU=t=>{const e=(t.hooks||[]).concat(FU).filter((n,i,a)=>a.indexOf(n)===i),r={};for(const n of e){const i=kOe[n];if(!i){$Oe&&W.warn(`Unknown hook: ${n}`);continue}for(const a of i)r[a]=function(){const s=this.$root===this;if(s){const c=fT();c&&(this.$_sentryRootSpan=this.$_sentryRootSpan||c.startChild({description:"Application Render",op:`${S8}.render`,origin:"auto.ui.vue"}))}const o=Lh(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 c=this.$root&&this.$root.$_sentryRootSpan||fT();if(c){const l=this.$_sentrySpans[n];l&&l.end(),this.$_sentrySpans[n]=c.startChild({description:`Vue <${o}>`,op:`${S8}.${n}`,origin:"auto.ui.vue"})}}else{const c=this.$_sentrySpans[n];if(!c)return;c.end(),DOe(this,Qo(),t.timeout)}}}return r},IOe=je,ROe={Vue:IOe.Vue,attachProps:!0,logErrors:!0,hooks:FU,timeout:2e3,trackComponents:!1},zU="Vue",LOe=(t={})=>({name:zU,setupOnce(){},setup(e){BOe(e,t)}}),KP=LOe,NOe=zn(zU,KP);function BOe(t,e){const r={...ROe,...t.getOptions(),...e};if(!r.Vue&&!r.app){Ga(()=>{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}r.app?qx(r.app).forEach(i=>O8(i,r)):r.Vue&&O8(r.Vue,r)}const O8=(t,e)=>{const r=t;(r._instance&&r._instance.isMounted)===!0&&Ga(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),jU(t,e),Gd(e)&&t.mixin(HU({...e,...e.tracingOptions}))};function FOe(t={}){const e={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:vd}],version:vd}},defaultIntegrations:[...kP(),KP()],...t};Mye(e)}function jOe(t,e={}){return(r,n=!0,i=!0)=>{const a={"routing.instrumentation":"vue-router"};n&&Se&&Se.location&&r({name:Se.location.pathname,op:"pageload",origin:"auto.pageload.vue",tags:a,data:{[kn]:"url"}}),t.onError(s=>Vd(s,{mechanism:{handled:!1}})),t.beforeEach((s,o,u)=>{const c=o.name==null&&o.matched.length===0,l={params:s.params,query:s.query};let d=s.path,f="url";if(s.name&&e.routeLabel!=="path"?(d=s.name.toString(),f="custom"):s.matched[0]&&s.matched[0].path&&(d=s.matched[0].path,f="route"),n&&c){const p=fT();p&&((Pt(p).data||{})[kn]!=="custom"&&(p.updateName(d),p.setAttribute(kn,f)),p.setData("params",l.params),p.setData("query",l.query))}i&&!c&&(l[kn]=f,r({name:d,op:"navigation",origin:"auto.navigation.vue",tags:a,data:l})),u&&u()})}}const SBe=Object.freeze(Object.defineProperty({__proto__:null,Breadcrumbs:vV,BrowserClient:oV,BrowserProfilingIntegration:TOe,BrowserTracing:_be,Dedupe:yV,Feedback:Qp,FunctionToString:Nz,GlobalHandlers:OV,HttpContext:PV,Hub:sP,InboundFilters:Rz,Integrations:EOe,LinkedErrors:AV,ModuleMetadata:l0e,Replay:Jp,ReplayCanvas:_Se,SDK_VERSION:vd,Scope:Hi,TryCatch:$V,VueIntegration:NOe,WINDOW:Se,addBreadcrumb:Ls,addEventProcessor:Cz,addGlobalEventProcessor:tz,addIntegration:Pve,addTracingExtensions:dP,attachErrorHandler:jU,breadcrumbsIntegration:xP,browserApiErrorsIntegration:$P,browserTracingIntegration:Tbe,captureEvent:aP,captureException:Vd,captureMessage:Rge,captureUserFeedback:Lye,chromeStackLineParser:lV,close:Gge,configureScope:Lge,continueTrace:vve,createTracingMixins:HU,createTransport:mP,createUserFeedbackEnvelope:sV,dedupeIntegration:PP,defaultIntegrations:kV,defaultRequestInstrumentationOptions:cp,defaultStackLineParsers:hV,defaultStackParser:pV,eventFromException:iV,eventFromMessage:aV,exceptionFromError:OP,extractTraceparentData:ive,feedbackIntegration:XSe,flush:Uge,forceLoad:kye,functionToStringIntegration:vP,geckoStackLineParser:dV,getActiveSpan:mz,getActiveTransaction:Zo,getClient:Xe,getCurrentHub:bt,getCurrentScope:wr,getDefaultIntegrations:kP,getHubFromCarrier:z0,getSpanStatusFromHttpCode:uP,globalHandlersIntegration:CP,httpContextIntegration:AP,inboundFiltersIntegration:gP,init:FOe,instrumentOutgoingRequests:SP,isInitialized:Yge,lastEventId:Wge,linkedErrorsIntegration:MP,makeBrowserOfflineTransport:rOe,makeFetchTransport:uV,makeMain:qO,makeMultiplexedTransport:Qve,makeXHRTransport:cV,metrics:N0e,moduleMetadataIntegration:Dz,onLoad:Dye,onProfilingStartRouteTransaction:SOe,opera10StackLineParser:Zbe,opera11StackLineParser:rye,parameterize:n0e,replayCanvasIntegration:TU,replayIntegration:sSe,sendFeedback:PU,setContext:sz,setCurrentClient:Az,setExtra:Bge,setExtras:Nge,setMeasurement:gz,setTag:jge,setTags:Fge,setUser:Hge,showReportDialog:$ye,spanStatusfromHttpCode:sve,startBrowserTracingNavigationSpan:rV,startBrowserTracingPageLoadSpan:tV,startInactiveSpan:hP,startSpan:mve,startSpanManual:gve,startTransaction:Vge,trace:pve,vueIntegration:KP,vueRouterInstrumentation:jOe,winjsStackLineParser:fV,withIsolationScope:zge,withScope:Yp,wrap:Iye},Symbol.toStringTag,{value:"Module"}));var VU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Te,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",o="minute",u="hour",c="day",l="week",d="month",f="quarter",p="year",m="date",b="Invalid Date",_=/^(\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("_")},O=function(x,$,D){var M=String(x);return!M||M.length>=$?x:""+Array($+1-M.length).join(D)+x},h={s:O,z:function(x){var $=-x.utcOffset(),D=Math.abs($),M=Math.floor(D/60),R=D%60;return($<=0?"+":"-")+O(M,2,"0")+":"+O(R,2,"0")},m:function x($,D){if($.date()<D.date())return-x(D,$);var M=12*(D.year()-$.year())+(D.month()-$.month()),R=$.clone().add(M,d),N=D-R<0,j=$.clone().add(M+(N?-1:1),d);return+(-(M+(D-R)/(N?R-j:j-R))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:d,y:p,w:l,d:c,D:m,h:u,m:o,s,ms:a,Q:f}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},v="en",g={};g[v]=E;var T=function(x){return x instanceof A},C=function x($,D,M){var R;if(!$)return v;if(typeof $=="string"){var N=$.toLowerCase();g[N]&&(R=N),D&&(g[N]=D,R=N);var j=$.split("-");if(!R&&j.length>1)return x(j[0])}else{var z=$.name;g[z]=$,R=z}return!M&&R&&(v=R),R||!M&&v},k=function(x,$){if(T(x))return x.clone();var D=typeof $=="object"?$:{};return D.date=x,D.args=arguments,new A(D)},w=h;w.l=C,w.i=T,w.w=function(x,$){return k(x,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var A=function(){function x(D){this.$L=C(D.locale,null,!0),this.parse(D)}var $=x.prototype;return $.parse=function(D){this.$d=function(M){var R=M.date,N=M.utc;if(R===null)return new Date(NaN);if(w.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var j=R.match(_);if(j){var z=j[2]-1||0,V=(j[7]||"0").substring(0,3);return N?new Date(Date.UTC(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,V)):new Date(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,V)}}return new Date(R)}(D),this.$x=D.x||{},this.init()},$.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()},$.$utils=function(){return w},$.isValid=function(){return this.$d.toString()!==b},$.isSame=function(D,M){var R=k(D);return this.startOf(M)<=R&&R<=this.endOf(M)},$.isAfter=function(D,M){return k(D)<this.startOf(M)},$.isBefore=function(D,M){return this.endOf(M)<k(D)},$.$g=function(D,M,R){return w.u(D)?this[M]:this.set(R,D)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(D,M){var R=this,N=!!w.u(M)||M,j=w.p(D),z=function(se,Ae){var qe=w.w(R.$u?Date.UTC(R.$y,Ae,se):new Date(R.$y,Ae,se),R);return N?qe:qe.endOf(c)},V=function(se,Ae){return w.w(R.toDate()[se].apply(R.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(Ae)),R)},J=this.$W,re=this.$M,Y=this.$D,U="set"+(this.$u?"UTC":"");switch(j){case p:return N?z(1,0):z(31,11);case d:return N?z(1,re):z(0,re+1);case l:var K=this.$locale().weekStart||0,X=(J<K?J+7:J)-K;return z(N?Y-X:Y+(6-X),re);case c:case m:return V(U+"Hours",0);case u:return V(U+"Minutes",1);case o:return V(U+"Seconds",2);case s:return V(U+"Milliseconds",3);default:return this.clone()}},$.endOf=function(D){return this.startOf(D,!1)},$.$set=function(D,M){var R,N=w.p(D),j="set"+(this.$u?"UTC":""),z=(R={},R[c]=j+"Date",R[m]=j+"Date",R[d]=j+"Month",R[p]=j+"FullYear",R[u]=j+"Hours",R[o]=j+"Minutes",R[s]=j+"Seconds",R[a]=j+"Milliseconds",R)[N],V=N===c?this.$D+(M-this.$W):M;if(N===d||N===p){var J=this.clone().set(m,1);J.$d[z](V),J.init(),this.$d=J.set(m,Math.min(this.$D,J.daysInMonth())).$d}else z&&this.$d[z](V);return this.init(),this},$.set=function(D,M){return this.clone().$set(D,M)},$.get=function(D){return this[w.p(D)]()},$.add=function(D,M){var R,N=this;D=Number(D);var j=w.p(M),z=function(re){var Y=k(N);return w.w(Y.date(Y.date()+Math.round(re*D)),N)};if(j===d)return this.set(d,this.$M+D);if(j===p)return this.set(p,this.$y+D);if(j===c)return z(1);if(j===l)return z(7);var V=(R={},R[o]=n,R[u]=i,R[s]=r,R)[j]||1,J=this.$d.getTime()+D*V;return w.w(J,this)},$.subtract=function(D,M){return this.add(-1*D,M)},$.format=function(D){var M=this,R=this.$locale();if(!this.isValid())return R.invalidDate||b;var N=D||"YYYY-MM-DDTHH:mm:ssZ",j=w.z(this),z=this.$H,V=this.$m,J=this.$M,re=R.weekdays,Y=R.months,U=function(Ae,qe,yt,sr){return Ae&&(Ae[qe]||Ae(M,N))||yt[qe].slice(0,sr)},K=function(Ae){return w.s(z%12||12,Ae,"0")},X=R.meridiem||function(Ae,qe,yt){var sr=Ae<12?"AM":"PM";return yt?sr.toLowerCase():sr},se={YY:String(this.$y).slice(-2),YYYY:this.$y,M:J+1,MM:w.s(J+1,2,"0"),MMM:U(R.monthsShort,J,Y,3),MMMM:U(Y,J),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:U(R.weekdaysMin,this.$W,re,2),ddd:U(R.weekdaysShort,this.$W,re,3),dddd:re[this.$W],H:String(z),HH:w.s(z,2,"0"),h:K(1),hh:K(2),a:X(z,V,!0),A:X(z,V,!1),m:String(V),mm:w.s(V,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:j};return N.replace(S,function(Ae,qe){return qe||se[Ae]||j.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(D,M,R){var N,j=w.p(M),z=k(D),V=(z.utcOffset()-this.utcOffset())*n,J=this-z,re=w.m(this,z);return re=(N={},N[p]=re/12,N[d]=re,N[f]=re/3,N[l]=(J-V)/6048e5,N[c]=(J-V)/864e5,N[u]=J/i,N[o]=J/n,N[s]=J/r,N)[j]||J,R?re:w.a(re)},$.daysInMonth=function(){return this.endOf(d).$D},$.$locale=function(){return g[this.$L]},$.locale=function(D,M){if(!D)return this.$L;var R=this.clone(),N=C(D,M,!0);return N&&(R.$L=N),R},$.clone=function(){return w.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},x}(),P=A.prototype;return k.prototype=P,[["$ms",a],["$s",s],["$m",o],["$H",u],["$W",c],["$M",d],["$y",p],["$D",m]].forEach(function(x){P[x[1]]=function($){return this.$g($,x[0],x[1])}}),k.extend=function(x,$){return x.$i||(x($,A,k),x.$i=!0),k},k.locale=C,k.isDayjs=T,k.unix=function(x){return k(1e3*x)},k.en=g[v],k.Ls=g,k.p={},k})})(VU);var js=VU.exports;const OBe=hi(js);var UU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Te,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 c=this.$locale().formats,l=function(d,f){return d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,m,b){var _=b&&b.toUpperCase();return m||f[b]||r[b]||f[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,E,O){return E||O.slice(1)})})}(u,c===void 0?{}:c);return o.call(this,l)}}})})(UU);var HOe=UU.exports;const TBe=hi(HOe);var zOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,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,c,l){var d=a[l];return Array.isArray(d)&&(d=d[c?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})})(zOe);var VOe={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Te,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("_")}})})(VOe);var UOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,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})})(UOe);var GOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,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})})(GOe);var WOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,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})})(WOe);var YOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,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})})(YOe);var KOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,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})})(KOe);var qOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,function(r){function n(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var i=n(r);function a(f){return f%10<5&&f%10>1&&~~(f/10)%10!=1}function s(f,p,m){var b=f+" ";switch(m){case"m":return p?"minuta":"minutę";case"mm":return b+(a(f)?"minuty":"minut");case"h":return p?"godzina":"godzinę";case"hh":return b+(a(f)?"godziny":"godzin");case"MM":return b+(a(f)?"miesiące":"miesięcy");case"yy":return b+(a(f)?"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("_"),c=/D MMMM/,l=function(f,p){return c.test(p)?o[f.month()]:u[f.month()]};l.s=u,l.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:l,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(f){return f+"."},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})})(qOe);var XOe={exports:{}};(function(t,e){(function(r,n){t.exports=n(js)})(Te,function(r){function n(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var i=n(r),a="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),s="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),o="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),u="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),c=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function l(m,b,_){var S,E;return _==="m"?b?"минута":"минуту":m+" "+(S=+m,E={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[_].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(m,b){return c.test(b)?a[m.month()]:s[m.month()]};d.s=s,d.f=a;var f=function(m,b){return c.test(b)?o[m.month()]:u[m.month()]};f.s=u,f.f=o;var p={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:d,monthsShort:f,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:l,mm:l,h:"час",hh:l,d:"день",dd:l,M:"месяц",MM:l,y:"год",yy:l},ordinal:function(m){return m},meridiem:function(m){return m<4?"ночи":m<12?"утра":m<17?"дня":"вечера"}};return i.default.locale(p,null,!0),p})})(XOe);var rb={exports:{}};rb.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]",c="[object Error]",l="[object Function]",d="[object GeneratorFunction]",f="[object Map]",p="[object Number]",m="[object Object]",b="[object Promise]",_="[object RegExp]",S="[object Set]",E="[object String]",O="[object Symbol]",h="[object WeakMap]",v="[object ArrayBuffer]",g="[object DataView]",T="[object Float32Array]",C="[object Float64Array]",k="[object Int8Array]",w="[object Int16Array]",A="[object Int32Array]",P="[object Uint8Array]",x="[object Uint8ClampedArray]",$="[object Uint16Array]",D="[object Uint32Array]",M=/[\\^$.*+?()[\]{}|]/g,R=/\w*$/,N=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,z={};z[a]=z[s]=z[v]=z[g]=z[o]=z[u]=z[T]=z[C]=z[k]=z[w]=z[A]=z[f]=z[p]=z[m]=z[_]=z[S]=z[E]=z[O]=z[P]=z[x]=z[$]=z[D]=!0,z[c]=z[l]=z[h]=!1;var V=typeof Te=="object"&&Te&&Te.Object===Object&&Te,J=typeof self=="object"&&self&&self.Object===Object&&self,re=V||J||Function("return this")(),Y=e&&!e.nodeType&&e,U=Y&&!0&&t&&!t.nodeType&&t,K=U&&U.exports===Y;function X(F,q){return F.set(q[0],q[1]),F}function se(F,q){return F.add(q),F}function Ae(F,q){for(var te=-1,he=F?F.length:0;++te<he&&q(F[te],te,F)!==!1;);return F}function qe(F,q){for(var te=-1,he=q.length,er=F.length;++te<he;)F[er+te]=q[te];return F}function yt(F,q,te,he){var er=-1,Mr=F?F.length:0;for(he&&Mr&&(te=F[++er]);++er<Mr;)te=q(te,F[er],er,F);return te}function sr(F,q){for(var te=-1,he=Array(F);++te<F;)he[te]=q(te);return he}function Vr(F,q){return F==null?void 0:F[q]}function wn(F){var q=!1;if(F!=null&&typeof F.toString!="function")try{q=!!(F+"")}catch{}return q}function da(F){var q=-1,te=Array(F.size);return F.forEach(function(he,er){te[++q]=[er,he]}),te}function Qa(F,q){return function(te){return F(q(te))}}function fa(F){var q=-1,te=Array(F.size);return F.forEach(function(he){te[++q]=he}),te}var nu=Array.prototype,De=Function.prototype,Cr=Object.prototype,He=re["__core-js_shared__"],Yr=function(){var F=/[^.]+$/.exec(He&&He.keys&&He.keys.IE_PROTO||"");return F?"Symbol(src)_1."+F:""}(),et=De.toString,Ar=Cr.hasOwnProperty,zs=Cr.toString,f_=RegExp("^"+et.call(Ar).replace(M,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),om=K?re.Buffer:void 0,um=re.Symbol,Rc=re.Uint8Array,h_=Qa(Object.getPrototypeOf,Object),p_=Object.create,Qd=Cr.propertyIsEnumerable,m_=nu.splice,cm=Object.getOwnPropertySymbols,Lc=om?om.isBuffer:void 0,Zd=Qa(Object.keys,Object),Nc=Ks(re,"DataView"),Vs=Ks(re,"Map"),Vn=Ks(re,"Promise"),ha=Ks(re,"Set"),ef=Ks(re,"WeakMap"),Us=Ks(Object,"create"),lm=pa(Nc),g_=pa(Vs),v_=pa(Vn),b_=pa(ha),tf=pa(ef),Gs=um?um.prototype:void 0,Bc=Gs?Gs.valueOf:void 0;function Sn(F){var q=-1,te=F?F.length:0;for(this.clear();++q<te;){var he=F[q];this.set(he[0],he[1])}}function rf(){this.__data__=Us?Us(null):{}}function iu(F){return this.has(F)&&delete this.__data__[F]}function y_(F){var q=this.__data__;if(Us){var te=q[F];return te===n?void 0:te}return Ar.call(q,F)?q[F]:void 0}function __(F){var q=this.__data__;return Us?q[F]!==void 0:Ar.call(q,F)}function w_(F,q){var te=this.__data__;return te[F]=Us&&q===void 0?n:q,this}Sn.prototype.clear=rf,Sn.prototype.delete=iu,Sn.prototype.get=y_,Sn.prototype.has=__,Sn.prototype.set=w_;function ki(F){var q=-1,te=F?F.length:0;for(this.clear();++q<te;){var he=F[q];this.set(he[0],he[1])}}function S_(){this.__data__=[]}function Fc(F){var q=this.__data__,te=jc(q,F);if(te<0)return!1;var he=q.length-1;return te==he?q.pop():m_.call(q,te,1),!0}function nf(F){var q=this.__data__,te=jc(q,F);return te<0?void 0:q[te][1]}function dm(F){return jc(this.__data__,F)>-1}function Za(F,q){var te=this.__data__,he=jc(te,F);return he<0?te.push([F,q]):te[he][1]=q,this}ki.prototype.clear=S_,ki.prototype.delete=Fc,ki.prototype.get=nf,ki.prototype.has=dm,ki.prototype.set=Za;function Ws(F){var q=-1,te=F?F.length:0;for(this.clear();++q<te;){var he=F[q];this.set(he[0],he[1])}}function O_(){this.__data__={hash:new Sn,map:new(Vs||ki),string:new Sn}}function T_(F){return Vc(this,F).delete(F)}function E_(F){return Vc(this,F).get(F)}function x_(F){return Vc(this,F).has(F)}function Di(F,q){return Vc(this,F).set(F,q),this}Ws.prototype.clear=O_,Ws.prototype.delete=T_,Ws.prototype.get=E_,Ws.prototype.has=x_,Ws.prototype.set=Di;function Ys(F){this.__data__=new ki(F)}function P_(){this.__data__=new ki}function C_(F){return this.__data__.delete(F)}function A_(F){return this.__data__.get(F)}function M_(F){return this.__data__.has(F)}function Ii(F,q){var te=this.__data__;if(te instanceof ki){var he=te.__data__;if(!Vs||he.length<r-1)return he.push([F,q]),this;te=this.__data__=new Ws(he)}return te.set(F,q),this}Ys.prototype.clear=P_,Ys.prototype.delete=C_,Ys.prototype.get=A_,Ys.prototype.has=M_,Ys.prototype.set=Ii;function $_(F,q){var te=of(F)||Uc(F)?sr(F.length,String):[],he=te.length,er=!!he;for(var Mr in F)(q||Ar.call(F,Mr))&&!(er&&(Mr=="length"||Y_(Mr,he)))&&te.push(Mr);return te}function fm(F,q,te){var he=F[q];(!(Ar.call(F,q)&&vm(he,te))||te===void 0&&!(q in F))&&(F[q]=te)}function jc(F,q){for(var te=F.length;te--;)if(vm(F[te][0],q))return te;return-1}function k_(F,q){return F&&zc(q,cf(q),F)}function af(F,q,te,he,er,Mr,an){var tr;if(he&&(tr=Mr?he(F,er,Mr,an):he(F)),tr!==void 0)return tr;if(!Wc(F))return F;var lf=of(F);if(lf){if(tr=U_(F),!q)return H_(F,tr)}else{var qs=es(F),df=qs==l||qs==d;if(X_(F))return L_(F,q);if(qs==m||qs==a||df&&!Mr){if(wn(F))return Mr?F:{};if(tr=G_(df?{}:F),!q)return z_(F,k_(tr,F))}else{if(!z[qs])return Mr?F:{};tr=W_(F,qs,af,q)}}an||(an=new Ys);var Yc=an.get(F);if(Yc)return Yc;if(an.set(F,tr),!lf)var su=te?V_(F):cf(F);return Ae(su||F,function(Xs,Js){su&&(Js=Xs,Xs=F[Js]),fm(tr,Js,af(Xs,q,te,he,Js,F,an))}),tr}function au(F){return Wc(F)?p_(F):{}}function D_(F,q,te){var he=q(F);return of(F)?he:qe(he,te(F))}function I_(F){return zs.call(F)}function Ri(F){if(!Wc(F)||mm(F))return!1;var q=uf(F)||wn(F)?f_:N;return q.test(pa(F))}function R_(F){if(!gm(F))return Zd(F);var q=[];for(var te in Object(F))Ar.call(F,te)&&te!="constructor"&&q.push(te);return q}function L_(F,q){if(q)return F.slice();var te=new F.constructor(F.length);return F.copy(te),te}function sf(F){var q=new F.constructor(F.byteLength);return new Rc(q).set(new Rc(F)),q}function N_(F,q){var te=q?sf(F.buffer):F.buffer;return new F.constructor(te,F.byteOffset,F.byteLength)}function B_(F,q,te){var he=q?te(da(F),!0):da(F);return yt(he,X,new F.constructor)}function F_(F){var q=new F.constructor(F.source,R.exec(F));return q.lastIndex=F.lastIndex,q}function Hc(F,q,te){var he=q?te(fa(F),!0):fa(F);return yt(he,se,new F.constructor)}function hm(F){return Bc?Object(Bc.call(F)):{}}function j_(F,q){var te=q?sf(F.buffer):F.buffer;return new F.constructor(te,F.byteOffset,F.length)}function H_(F,q){var te=-1,he=F.length;for(q||(q=Array(he));++te<he;)q[te]=F[te];return q}function zc(F,q,te,he){te||(te={});for(var er=-1,Mr=q.length;++er<Mr;){var an=q[er],tr=he?he(te[an],F[an],an,te,F):void 0;fm(te,an,tr===void 0?F[an]:tr)}return te}function z_(F,q){return zc(F,pm(F),q)}function V_(F){return D_(F,cf,pm)}function Vc(F,q){var te=F.__data__;return K_(q)?te[typeof q=="string"?"string":"hash"]:te.map}function Ks(F,q){var te=Vr(F,q);return Ri(te)?te:void 0}var pm=cm?Qa(cm,Object):bm,es=I_;(Nc&&es(new Nc(new ArrayBuffer(1)))!=g||Vs&&es(new Vs)!=f||Vn&&es(Vn.resolve())!=b||ha&&es(new ha)!=S||ef&&es(new ef)!=h)&&(es=function(F){var q=zs.call(F),te=q==m?F.constructor:void 0,he=te?pa(te):void 0;if(he)switch(he){case lm:return g;case g_:return f;case v_:return b;case b_:return S;case tf:return h}return q});function U_(F){var q=F.length,te=F.constructor(q);return q&&typeof F[0]=="string"&&Ar.call(F,"index")&&(te.index=F.index,te.input=F.input),te}function G_(F){return typeof F.constructor=="function"&&!gm(F)?au(h_(F)):{}}function W_(F,q,te,he){var er=F.constructor;switch(q){case v:return sf(F);case o:case u:return new er(+F);case g:return N_(F,he);case T:case C:case k:case w:case A:case P:case x:case $:case D:return j_(F,he);case f:return B_(F,he,te);case p:case E:return new er(F);case _:return F_(F);case S:return Hc(F,he,te);case O:return hm(F)}}function Y_(F,q){return q=q??i,!!q&&(typeof F=="number"||j.test(F))&&F>-1&&F%1==0&&F<q}function K_(F){var q=typeof F;return q=="string"||q=="number"||q=="symbol"||q=="boolean"?F!=="__proto__":F===null}function mm(F){return!!Yr&&Yr in F}function gm(F){var q=F&&F.constructor,te=typeof q=="function"&&q.prototype||Cr;return F===te}function pa(F){if(F!=null){try{return et.call(F)}catch{}try{return F+""}catch{}}return""}function q_(F){return af(F,!0,!0)}function vm(F,q){return F===q||F!==F&&q!==q}function Uc(F){return ma(F)&&Ar.call(F,"callee")&&(!Qd.call(F,"callee")||zs.call(F)==a)}var of=Array.isArray;function ts(F){return F!=null&&Gc(F.length)&&!uf(F)}function ma(F){return J_(F)&&ts(F)}var X_=Lc||ym;function uf(F){var q=Wc(F)?zs.call(F):"";return q==l||q==d}function Gc(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=i}function Wc(F){var q=typeof F;return!!F&&(q=="object"||q=="function")}function J_(F){return!!F&&typeof F=="object"}function cf(F){return ts(F)?$_(F):R_(F)}function bm(){return[]}function ym(){return!1}t.exports=q_})(rb,rb.exports);rb.exports;var GU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Te,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(f,p,m){m===void 0&&(m={});var b=new Date(f),_=function(S,E){E===void 0&&(E={});var O=E.timeZoneName||"short",h=S+"|"+O,v=n[h];return v||(v=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:O}),n[h]=v),v}(p,m);return _.formatToParts(b)},c=function(f,p){for(var m=u(f,p),b=[],_=0;_<m.length;_+=1){var S=m[_],E=S.type,O=S.value,h=r[E];h>=0&&(b[h]=parseInt(O,10))}var v=b[3],g=v===24?0:v,T=b[0]+"-"+b[1]+"-"+b[2]+" "+g+":"+b[4]+":"+b[5]+":000",C=+f;return(s.utc(T).valueOf()-(C-=C%1e3))/6e4},l=a.prototype;l.tz=function(f,p){f===void 0&&(f=o);var m=this.utcOffset(),b=this.toDate(),_=b.toLocaleString("en-US",{timeZone:f}),S=Math.round((b-new Date(_))/1e3/60),E=s(_).$set("millisecond",this.$ms).utcOffset(15*-Math.round(b.getTimezoneOffset()/15)-S,!0);if(p){var O=E.utcOffset();E=E.add(m-O,"minute")}return E.$x.$timezone=f,E},l.offsetName=function(f){var p=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),p,{timeZoneName:f}).find(function(b){return b.type.toLowerCase()==="timezonename"});return m&&m.value};var d=l.startOf;l.startOf=function(f,p){if(!this.$x||!this.$x.$timezone)return d.call(this,f,p);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return d.call(m,f,p).tz(this.$x.$timezone,!0)},s.tz=function(f,p,m){var b=m&&p,_=m||p||o,S=c(+s(),_);if(typeof f!="string")return s(f).tz(_);var E=function(g,T,C){var k=g-60*T*1e3,w=c(k,C);if(T===w)return[k,T];var A=c(k-=60*(w-T)*1e3,C);return w===A?[k,w]:[g-60*Math.min(w,A)*1e3,Math.max(w,A)]}(s.utc(f,b).valueOf(),S,_),O=E[0],h=E[1],v=s(O).utcOffset(h);return v.$x.$timezone=_,v},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(f){o=f}}})})(GU);var JOe=GU.exports;const EBe=hi(JOe);var WU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Te,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(b){var _={date:b,utc:!0,args:arguments};return new s(_)},u.utc=function(b){var _=o(this.toDate(),{locale:this.$L,utc:!0});return b?_.add(this.utcOffset(),r):_},u.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),c.call(this,b)};var l=u.init;u.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else l.call(this)};var d=u.utcOffset;u.utcOffset=function(b,_){var S=this.$utils().u;if(S(b))return this.$u?0:S(this.$offset)?d.call(this):this.$offset;if(typeof b=="string"&&(b=function(v){v===void 0&&(v="");var g=v.match(n);if(!g)return null;var T=(""+g[0]).match(i)||["-",0,0],C=T[0],k=60*+T[1]+ +T[2];return k===0?0:C==="+"?k:-k}(b),b===null))return this;var E=Math.abs(b)<=16?60*b:b,O=this;if(_)return O.$offset=E,O.$u=b===0,O;if(b!==0){var h=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(O=this.local().add(E+h,r)).$offset=E,O.$x.$localOffset=h}else O=this.utc();return O};var f=u.format;u.format=function(b){var _=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,_)},u.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},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(b){return b==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=u.diff;u.diff=function(b,_,S){if(b&&this.$u===b.$u)return m.call(this,b,_,S);var E=this.local(),O=o(b).local();return m.call(E,O,_,S)}}})})(WU);var QOe=WU.exports;const xBe=hi(QOe);/*!
* @kurkle/color v0.3.2
* https://github.com/kurkle/color#readme
* (c) 2023 Jukka Kurkela
* Released under the MIT License
*/function Zp(t){return t+.5|0}const bo=(t,e,r)=>Math.max(Math.min(t,r),e);function fh(t){return bo(Zp(t*2.55),0,255)}function ko(t){return bo(Zp(t*255),0,255)}function ms(t){return bo(Zp(t/2.55)/100,0,1)}function T8(t){return bo(Zp(t*100),0,100)}const yi={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},hT=[..."0123456789ABCDEF"],ZOe=t=>hT[t&15],eTe=t=>hT[(t&240)>>4]+hT[t&15],vg=t=>(t&240)>>4===(t&15),tTe=t=>vg(t.r)&&vg(t.g)&&vg(t.b)&&vg(t.a);function rTe(t){var e=t.length,r;return t[0]==="#"&&(e===4||e===5?r={r:255&yi[t[1]]*17,g:255&yi[t[2]]*17,b:255&yi[t[3]]*17,a:e===5?yi[t[4]]*17:255}:(e===7||e===9)&&(r={r:yi[t[1]]<<4|yi[t[2]],g:yi[t[3]]<<4|yi[t[4]],b:yi[t[5]]<<4|yi[t[6]],a:e===9?yi[t[7]]<<4|yi[t[8]]:255})),r}const nTe=(t,e)=>t<255?e(t):"";function iTe(t){var e=tTe(t)?ZOe:eTe;return t?"#"+e(t.r)+e(t.g)+e(t.b)+nTe(t.a,e):void 0}const aTe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function YU(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 sTe(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 oTe(t,e,r){const n=YU(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 uTe(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 qP(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,c,l;return a!==s&&(l=a-s,c=o>.5?l/(2-a-s):l/(a+s),u=uTe(r,n,i,l,a),u=u*60+.5),[u|0,c||0,o]}function XP(t,e,r,n){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,r,n)).map(ko)}function JP(t,e,r){return XP(YU,t,e,r)}function cTe(t,e,r){return XP(oTe,t,e,r)}function lTe(t,e,r){return XP(sTe,t,e,r)}function KU(t){return(t%360+360)%360}function dTe(t){const e=aTe.exec(t);let r=255,n;if(!e)return;e[5]!==n&&(r=e[6]?fh(+e[5]):ko(+e[5]));const i=KU(+e[2]),a=+e[3]/100,s=+e[4]/100;return e[1]==="hwb"?n=cTe(i,a,s):e[1]==="hsv"?n=lTe(i,a,s):n=JP(i,a,s),{r:n[0],g:n[1],b:n[2],a:r}}function fTe(t,e){var r=qP(t);r[0]=KU(r[0]+e),r=JP(r),t.r=r[0],t.g=r[1],t.b=r[2]}function hTe(t){if(!t)return;const e=qP(t),r=e[0],n=T8(e[1]),i=T8(e[2]);return t.a<255?`hsla(${r}, ${n}%, ${i}%, ${ms(t.a)})`:`hsl(${r}, ${n}%, ${i}%)`}const E8={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"},x8={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 pTe(){const t={},e=Object.keys(x8),r=Object.keys(E8);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,E8[a]);a=parseInt(x8[s],16),t[o]=[a>>16&255,a>>8&255,a&255]}return t}let bg;function mTe(t){bg||(bg=pTe(),bg.transparent=[0,0,0,0]);const e=bg[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const gTe=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function vTe(t){const e=gTe.exec(t);let r=255,n,i,a;if(e){if(e[7]!==n){const s=+e[7];r=e[8]?fh(s):bo(s*255,0,255)}return n=+e[1],i=+e[3],a=+e[5],n=255&(e[2]?fh(n):bo(n,0,255)),i=255&(e[4]?fh(i):bo(i,0,255)),a=255&(e[6]?fh(a):bo(a,0,255)),{r:n,g:i,b:a,a:r}}}function bTe(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${ms(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const k1=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,hl=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function yTe(t,e,r){const n=hl(ms(t.r)),i=hl(ms(t.g)),a=hl(ms(t.b));return{r:ko(k1(n+r*(hl(ms(e.r))-n))),g:ko(k1(i+r*(hl(ms(e.g))-i))),b:ko(k1(a+r*(hl(ms(e.b))-a))),a:t.a+r*(e.a-t.a)}}function yg(t,e,r){if(t){let n=qP(t);n[e]=Math.max(0,Math.min(n[e]+n[e]*r,e===0?360:1)),n=JP(n),t.r=n[0],t.g=n[1],t.b=n[2]}}function qU(t,e){return t&&Object.assign(e||{},t)}function P8(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=ko(t[3]))):(e=qU(t,{r:0,g:0,b:0,a:1}),e.a=ko(e.a)),e}function _Te(t){return t.charAt(0)==="r"?vTe(t):dTe(t)}class mp{constructor(e){if(e instanceof mp)return e;const r=typeof e;let n;r==="object"?n=P8(e):r==="string"&&(n=rTe(e)||mTe(e)||_Te(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=qU(this._rgb);return e&&(e.a=ms(e.a)),e}set rgb(e){this._rgb=P8(e)}rgbString(){return this._valid?bTe(this._rgb):void 0}hexString(){return this._valid?iTe(this._rgb):void 0}hslString(){return this._valid?hTe(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,c=((o*u===-1?o:(o+u)/(1+o*u))+1)/2;a=1-c,n.r=255&c*n.r+a*i.r+.5,n.g=255&c*n.g+a*i.g+.5,n.b=255&c*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=yTe(this._rgb,e._rgb,r)),this}clone(){return new mp(this.rgb)}alpha(e){return this._rgb.a=ko(e),this}clearer(e){const r=this._rgb;return r.a*=1-e,this}greyscale(){const e=this._rgb,r=Zp(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 yg(this._rgb,2,e),this}darken(e){return yg(this._rgb,2,-e),this}saturate(e){return yg(this._rgb,1,e),this}desaturate(e){return yg(this._rgb,1,-e),this}rotate(e){return fTe(this._rgb,e),this}}/*!
* Chart.js v4.3.3
* https://www.chartjs.org
* (c) 2023 Chart.js Contributors
* Released under the MIT License
*/function as(){}const wTe=(()=>{let t=0;return()=>t++})();function it(t){return t===null||typeof t>"u"}function It(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 Je(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function rr(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Kn(t,e){return rr(t)?t:e}function Le(t,e){return typeof t>"u"?e:t}const STe=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,XU=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Mt(t,e,r){if(t&&typeof t.call=="function")return t.apply(r,e)}function vt(t,e,r,n){let i,a,s;if(It(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(Je(t))for(s=Object.keys(t),a=s.length,i=0;i<a;i++)e.call(r,t[s[i]],s[i])}function nb(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 ib(t){if(It(t))return t.map(ib);if(Je(t)){const e=Object.create(null),r=Object.keys(t),n=r.length;let i=0;for(;i<n;++i)e[r[i]]=ib(t[r[i]]);return e}return t}function JU(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function OTe(t,e,r,n){if(!JU(t))return;const i=e[t],a=r[t];Je(i)&&Je(a)?gp(i,a,n):e[t]=ib(a)}function gp(t,e,r){const n=It(e)?e:[e],i=n.length;if(!Je(t))return t;r=r||{};const a=r.merger||OTe;let s;for(let o=0;o<i;++o){if(s=n[o],!Je(s))continue;const u=Object.keys(s);for(let c=0,l=u.length;c<l;++c)a(u[c],t,s,r)}return t}function Nh(t,e){return gp(t,e,{merger:TTe})}function TTe(t,e,r){if(!JU(t))return;const n=e[t],i=r[t];Je(n)&&Je(i)?Nh(n,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=ib(i))}const C8={"":t=>t,x:t=>t.x,y:t=>t.y};function ETe(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 xTe(t){const e=ETe(t);return r=>{for(const n of e){if(n==="")break;r=r&&r[n]}return r}}function Vo(t,e){return(C8[e]||(C8[e]=xTe(e)))(t)}function QP(t){return t.charAt(0).toUpperCase()+t.slice(1)}const vp=t=>typeof t<"u",Uo=t=>typeof t=="function",A8=(t,e)=>{if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0};function PTe(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Vt=Math.PI,Rt=2*Vt,CTe=Rt+Vt,ab=Number.POSITIVE_INFINITY,ATe=Vt/180,nr=Vt/2,gu=Vt/4,M8=Vt*2/3,yo=Math.log10,ja=Math.sign;function Bh(t,e,r){return Math.abs(t-e)<r}function $8(t){const e=Math.round(t);t=Bh(t,e,t/1e3)?e:t;const r=Math.pow(10,Math.floor(yo(t))),n=t/r;return(n<=1?1:n<=2?2:n<=5?5:10)*r}function MTe(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 Od(t){return!isNaN(parseFloat(t))&&isFinite(t)}function $Te(t,e){const r=Math.round(t);return r-e<=t&&r+e>=t}function QU(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 zi(t){return t*(Vt/180)}function ZP(t){return t*(180/Vt)}function k8(t){if(!rr(t))return;let e=1,r=0;for(;Math.round(t*e)/e!==t;)e*=10,r++;return r}function ZU(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*Vt&&(a+=Rt),{angle:a,distance:i}}function pT(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function kTe(t,e){return(t-e+CTe)%Rt-Vt}function Qn(t){return(t%Rt+Rt)%Rt}function bp(t,e,r,n){const i=Qn(t),a=Qn(e),s=Qn(r),o=Qn(a-i),u=Qn(s-i),c=Qn(i-a),l=Qn(i-s);return i===a||i===s||n&&a===s||o>u&&c<l}function Nr(t,e,r){return Math.max(e,Math.min(r,t))}function DTe(t){return Nr(t,-32768,32767)}function Os(t,e,r,n=1e-6){return t>=Math.min(e,r)-n&&t<=Math.max(e,r)+n}function eC(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 Ts=(t,e,r,n)=>eC(t,r,n?i=>{const a=t[i][e];return a<r||a===r&&t[i+1][e]===r}:i=>t[i][e]<r),ITe=(t,e,r)=>eC(t,r,n=>t[n][e]>=r);function RTe(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 e7=["push","pop","shift","splice","unshift"];function LTe(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),e7.forEach(r=>{const n="_onData"+QP(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 D8(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)&&(e7.forEach(a=>{delete t[a]}),delete t._chartjs)}function t7(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const r7=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function n7(t,e){let r=[],n=!1;return function(...i){r=i,n||(n=!0,r7.call(window,()=>{n=!1,t.apply(e,r)}))}}function NTe(t,e){let r;return function(...n){return e?(clearTimeout(r),r=setTimeout(t,e,n)):t.apply(this,n),e}}const tC=t=>t==="start"?"left":t==="end"?"right":"center",Kr=(t,e,r)=>t==="start"?e:t==="end"?r:(e+r)/2,BTe=(t,e,r,n)=>t===(n?"left":"right")?r:t==="center"?(e+r)/2:e;function i7(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:c,max:l,minDefined:d,maxDefined:f}=s.getUserBounds();d&&(i=Nr(Math.min(Ts(o,u,c).lo,r?n:Ts(e,u,s.getPixelForValue(c)).lo),0,n-1)),f?a=Nr(Math.max(Ts(o,s.axis,l,!0).hi+1,r?0:Ts(e,u,s.getPixelForValue(l),!0).hi+1),i,n)-i:a=n-i}return{start:i,count:a}}function a7(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 _g=t=>t===0||t===1,I8=(t,e,r)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*Rt/r)),R8=(t,e,r)=>Math.pow(2,-10*t)*Math.sin((t-e)*Rt/r)+1,Fh={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*nr)+1,easeOutSine:t=>Math.sin(t*nr),easeInOutSine:t=>-.5*(Math.cos(Vt*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=>_g(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=>_g(t)?t:I8(t,.075,.3),easeOutElastic:t=>_g(t)?t:R8(t,.075,.3),easeInOutElastic(t){return _g(t)?t:t<.5?.5*I8(t*2,.1125,.45):.5+.5*R8(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-Fh.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?Fh.easeInBounce(t*2)*.5:Fh.easeOutBounce(t*2-1)*.5+.5};function rC(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function L8(t){return rC(t)?t:new mp(t)}function D1(t){return rC(t)?t:new mp(t).saturate(.5).darken(.1).hexString()}const FTe=["x","y","borderWidth","radius","tension"],jTe=["color","borderColor","backgroundColor"];function HTe(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:jTe},numbers:{type:"number",properties:FTe}}),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 zTe(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const N8=new Map;function VTe(t,e){e=e||{};const r=t+JSON.stringify(e);let n=N8.get(r);return n||(n=new Intl.NumberFormat(t,e),N8.set(r,n)),n}function em(t,e,r){return VTe(e,r).format(t)}const s7={values(t){return It(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 c=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),a=UTe(t,r)}const s=yo(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),em(t,n,u)},logarithmic(t,e,r){if(t===0)return"0";const n=r[e].significand||t/Math.pow(10,Math.floor(yo(t)));return[1,2,3,5,10,15].includes(n)||e>.8*r.length?s7.numeric.call(this,t,e,r):""}};function UTe(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 zy={formatters:s7};function GTe(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:zy.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 pc=Object.create(null),mT=Object.create(null);function jh(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 I1(t,e,r){return typeof e=="string"?gp(jh(t,e),r):gp(jh(t,""),e)}class WTe{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)=>D1(i.backgroundColor),this.hoverBorderColor=(n,i)=>D1(i.borderColor),this.hoverColor=(n,i)=>D1(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 I1(this,e,r)}get(e){return jh(this,e)}describe(e,r){return I1(mT,e,r)}override(e,r){return I1(pc,e,r)}route(e,r,n,i){const a=jh(this,e),s=jh(this,n),o="_"+r;Object.defineProperties(a,{[o]:{value:a[r],writable:!0},[r]:{enumerable:!0,get(){const u=this[o],c=s[i];return Je(u)?Object.assign({},c,u):Le(u,c)},set(u){this[o]=u}}})}apply(e){e.forEach(r=>r(this))}}var ir=new WTe({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[HTe,zTe,GTe]);function YTe(t){return!t||it(t.size)||it(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function sb(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 KTe(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,c,l,d,f;for(u=0;u<o;u++)if(d=r[u],d!=null&&!It(d))s=sb(t,i,a,s,d);else if(It(d))for(c=0,l=d.length;c<l;c++)f=d[c],f!=null&&!It(f)&&(s=sb(t,i,a,s,f));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 vu(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 B8(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function gT(t,e,r,n){o7(t,e,r,n,null)}function o7(t,e,r,n,i){let a,s,o,u,c,l,d,f;const p=e.pointStyle,m=e.rotation,b=e.radius;let _=(m||0)*ATe;if(p&&typeof p=="object"&&(a=p.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){t.save(),t.translate(r,n),t.rotate(_),t.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),t.restore();return}if(!(isNaN(b)||b<=0)){switch(t.beginPath(),p){default:i?t.ellipse(r,n,i/2,b,0,0,Rt):t.arc(r,n,b,0,Rt),t.closePath();break;case"triangle":l=i?i/2:b,t.moveTo(r+Math.sin(_)*l,n-Math.cos(_)*b),_+=M8,t.lineTo(r+Math.sin(_)*l,n-Math.cos(_)*b),_+=M8,t.lineTo(r+Math.sin(_)*l,n-Math.cos(_)*b),t.closePath();break;case"rectRounded":c=b*.516,u=b-c,s=Math.cos(_+gu)*u,d=Math.cos(_+gu)*(i?i/2-c:u),o=Math.sin(_+gu)*u,f=Math.sin(_+gu)*(i?i/2-c:u),t.arc(r-d,n-o,c,_-Vt,_-nr),t.arc(r+f,n-s,c,_-nr,_),t.arc(r+d,n+o,c,_,_+nr),t.arc(r-f,n+s,c,_+nr,_+Vt),t.closePath();break;case"rect":if(!m){u=Math.SQRT1_2*b,l=i?i/2:u,t.rect(r-l,n-u,2*l,2*u);break}_+=gu;case"rectRot":d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+f,n-s),t.lineTo(r+d,n+o),t.lineTo(r-f,n+s),t.closePath();break;case"crossRot":_+=gu;case"cross":d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+f,n-s),t.lineTo(r-f,n+s);break;case"star":d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+f,n-s),t.lineTo(r-f,n+s),_+=gu,d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+f,n-s),t.lineTo(r-f,n+s);break;case"line":s=i?i/2:Math.cos(_)*b,o=Math.sin(_)*b,t.moveTo(r-s,n-o),t.lineTo(r+s,n+o);break;case"dash":t.moveTo(r,n),t.lineTo(r+Math.cos(_)*(i?i/2:b),n+Math.sin(_)*b);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function Es(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 Vy(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Uy(t){t.restore()}function qTe(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 XTe(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 JTe(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),it(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 QTe(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,c=r+a.actualBoundingBoxDescent,l=i.strikethrough?(u+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(s,l),t.lineTo(o,l),t.stroke()}}function ZTe(t,e){const r=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=r}function mc(t,e,r,n,i,a={}){const s=It(e)?e:[e],o=a.strokeWidth>0&&a.strokeColor!=="";let u,c;for(t.save(),t.font=i.string,JTe(t,a),u=0;u<s.length;++u)c=s[u],a.backdrop&&ZTe(t,a.backdrop),o&&(a.strokeColor&&(t.strokeStyle=a.strokeColor),it(a.strokeWidth)||(t.lineWidth=a.strokeWidth),t.strokeText(c,r,n,a.maxWidth)),t.fillText(c,r,n,a.maxWidth),QTe(t,r,n,c,a),n+=Number(i.lineHeight);t.restore()}function yp(t,e){const{x:r,y:n,w:i,h:a,radius:s}=e;t.arc(r+s.topLeft,n+s.topLeft,s.topLeft,-nr,Vt,!0),t.lineTo(r,n+a-s.bottomLeft),t.arc(r+s.bottomLeft,n+a-s.bottomLeft,s.bottomLeft,Vt,nr,!0),t.lineTo(r+i-s.bottomRight,n+a),t.arc(r+i-s.bottomRight,n+a-s.bottomRight,s.bottomRight,nr,0,!0),t.lineTo(r+i,n+s.topRight),t.arc(r+i-s.topRight,n+s.topRight,s.topRight,0,-nr,!0),t.lineTo(r+s.topLeft,n)}const eEe=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,tEe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function rEe(t,e){const r=(""+t).match(eEe);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 nEe=t=>+t||0;function nC(t,e){const r={},n=Je(e),i=n?Object.keys(e):e,a=Je(t)?n?s=>Le(t[s],t[e[s]]):s=>t[s]:()=>t;for(const s of i)r[s]=nEe(a(s));return r}function u7(t){return nC(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Gu(t){return nC(t,["topLeft","topRight","bottomLeft","bottomRight"])}function nn(t){const e=u7(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Tr(t,e){t=t||{},e=e||ir.font;let r=Le(t.size,e.size);typeof r=="string"&&(r=parseInt(r,10));let n=Le(t.style,e.style);n&&!(""+n).match(tEe)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const i={family:Le(t.family,e.family),lineHeight:rEe(Le(t.lineHeight,e.lineHeight),r),size:r,style:n,weight:Le(t.weight,e.weight),string:""};return i.string=YTe(i),i}function hh(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&&It(o)&&(o=o[r%o.length],i=!1),o!==void 0))return n&&!i&&(n.cacheable=!1),o}function iEe(t,e,r){const{min:n,max:i}=t,a=XU(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 eu(t,e){return Object.assign(Object.create(t),e)}function iC(t,e=[""],r,n,i=()=>t[0]){const a=r||t;typeof n>"u"&&(n=f7("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:a,_fallback:n,_getTarget:i,override:o=>iC([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 l7(o,u,()=>fEe(u,e,t,o))},getOwnPropertyDescriptor(o,u){return Reflect.getOwnPropertyDescriptor(o._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(o,u){return j8(o).includes(u)},ownKeys(o){return j8(o)},set(o,u,c){const l=o._storage||(o._storage=i());return o[u]=l[u]=c,delete o._keys,!0}})}function Td(t,e,r,n){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:r,_stack:new Set,_descriptors:c7(t,n),setContext:a=>Td(t,a,r,n),override:a=>Td(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 l7(a,s,()=>sEe(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 c7(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:Uo(r)?r:()=>r,isIndexable:Uo(n)?n:()=>n}}const aEe=(t,e)=>t?t+QP(e):e,aC=(t,e)=>Je(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function l7(t,e,r){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const n=r();return t[e]=n,n}function sEe(t,e,r){const{_proxy:n,_context:i,_subProxy:a,_descriptors:s}=t;let o=n[e];return Uo(o)&&s.isScriptable(e)&&(o=oEe(e,o,t,r)),It(o)&&o.length&&(o=uEe(e,o,t,s.isIndexable)),aC(e,o)&&(o=Td(o,i,a&&a[e],s)),o}function oEe(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),aC(t,u)&&(u=sC(i._scopes,i,t,u)),u}function uEe(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(Je(e[0])){const u=e,c=i._scopes.filter(l=>l!==u);e=[];for(const l of u){const d=sC(c,i,t,l);e.push(Td(d,a,s&&s[t],o))}}return e}function d7(t,e,r){return Uo(t)?t(e,r):t}const cEe=(t,e)=>t===!0?e:typeof t=="string"?Vo(e,t):void 0;function lEe(t,e,r,n,i){for(const a of e){const s=cEe(r,a);if(s){t.add(s);const o=d7(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 sC(t,e,r,n){const i=e._rootScopes,a=d7(e._fallback,r,n),s=[...t,...i],o=new Set;o.add(n);let u=F8(o,s,r,a||r,n);return u===null||typeof a<"u"&&a!==r&&(u=F8(o,s,a,u,n),u===null)?!1:iC(Array.from(o),[""],i,a,()=>dEe(e,r,n))}function F8(t,e,r,n,i){for(;r;)r=lEe(t,e,r,n,i);return r}function dEe(t,e,r){const n=t._getTarget();e in n||(n[e]={});const i=n[e];return It(i)&&Je(r)?r:i||{}}function fEe(t,e,r,n){let i;for(const a of e)if(i=f7(aEe(a,t),r),typeof i<"u")return aC(t,i)?sC(r,n,t,i):i}function f7(t,e){for(const r of e){if(!r)continue;const n=r[t];if(typeof n<"u")return n}}function j8(t){let e=t._keys;return e||(e=t._keys=hEe(t._scopes)),e}function hEe(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 h7(t,e,r,n){const{iScale:i}=t,{key:a="r"}=this._parsing,s=new Array(n);let o,u,c,l;for(o=0,u=n;o<u;++o)c=o+r,l=e[c],s[o]={r:i.parse(Vo(l,a),c)};return s}const pEe=Number.EPSILON||1e-14,Ed=(t,e)=>e<t.length&&!t[e].skip&&t[e],p7=t=>t==="x"?"y":"x";function mEe(t,e,r,n){const i=t.skip?e:t,a=e,s=r.skip?e:r,o=pT(a,i),u=pT(s,a);let c=o/(o+u),l=u/(o+u);c=isNaN(c)?0:c,l=isNaN(l)?0:l;const d=n*c,f=n*l;return{previous:{x:a.x-d*(s.x-i.x),y:a.y-d*(s.y-i.y)},next:{x:a.x+f*(s.x-i.x),y:a.y+f*(s.y-i.y)}}}function gEe(t,e,r){const n=t.length;let i,a,s,o,u,c=Ed(t,0);for(let l=0;l<n-1;++l)if(u=c,c=Ed(t,l+1),!(!u||!c)){if(Bh(e[l],0,pEe)){r[l]=r[l+1]=0;continue}i=r[l]/e[l],a=r[l+1]/e[l],o=Math.pow(i,2)+Math.pow(a,2),!(o<=9)&&(s=3/Math.sqrt(o),r[l]=i*s*e[l],r[l+1]=a*s*e[l])}}function vEe(t,e,r="x"){const n=p7(r),i=t.length;let a,s,o,u=Ed(t,0);for(let c=0;c<i;++c){if(s=o,o=u,u=Ed(t,c+1),!o)continue;const l=o[r],d=o[n];s&&(a=(l-s[r])/3,o[`cp1${r}`]=l-a,o[`cp1${n}`]=d-a*e[c]),u&&(a=(u[r]-l)/3,o[`cp2${r}`]=l+a,o[`cp2${n}`]=d+a*e[c])}}function bEe(t,e="x"){const r=p7(e),n=t.length,i=Array(n).fill(0),a=Array(n);let s,o,u,c=Ed(t,0);for(s=0;s<n;++s)if(o=u,u=c,c=Ed(t,s+1),!!u){if(c){const l=c[e]-u[e];i[s]=l!==0?(c[r]-u[r])/l:0}a[s]=o?c?ja(i[s-1])!==ja(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}gEe(t,i,a),vEe(t,a,e)}function wg(t,e,r){return Math.max(Math.min(t,r),e)}function yEe(t,e){let r,n,i,a,s,o=Es(t[0],e);for(r=0,n=t.length;r<n;++r)s=a,a=o,o=r<n-1&&Es(t[r+1],e),a&&(i=t[r],s&&(i.cp1x=wg(i.cp1x,e.left,e.right),i.cp1y=wg(i.cp1y,e.top,e.bottom)),o&&(i.cp2x=wg(i.cp2x,e.left,e.right),i.cp2y=wg(i.cp2y,e.top,e.bottom)))}function _Ee(t,e,r,n,i){let a,s,o,u;if(e.spanGaps&&(t=t.filter(c=>!c.skip)),e.cubicInterpolationMode==="monotone")bEe(t,i);else{let c=n?t[t.length-1]:t[0];for(a=0,s=t.length;a<s;++a)o=t[a],u=mEe(c,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,c=o}e.capBezierPoints&&yEe(t,r)}function m7(){return typeof window<"u"&&typeof document<"u"}function oC(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function ob(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 Gy=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function wEe(t,e){return Gy(t).getPropertyValue(e)}const SEe=["top","right","bottom","left"];function Wu(t,e,r){const n={};r=r?"-"+r:"";for(let i=0;i<4;i++){const a=SEe[i];n[a]=parseFloat(t[e+"-"+a+r])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const OEe=(t,e,r)=>(t>0||e>0)&&(!r||!r.shadowRoot);function TEe(t,e){const r=t.touches,n=r&&r.length?r[0]:t,{offsetX:i,offsetY:a}=n;let s=!1,o,u;if(OEe(i,a,t.target))o=i,u=a;else{const c=e.getBoundingClientRect();o=n.clientX-c.left,u=n.clientY-c.top,s=!0}return{x:o,y:u,box:s}}function Tu(t,e){if("native"in t)return t;const{canvas:r,currentDevicePixelRatio:n}=e,i=Gy(r),a=i.boxSizing==="border-box",s=Wu(i,"padding"),o=Wu(i,"border","width"),{x:u,y:c,box:l}=TEe(t,r),d=s.left+(l&&o.left),f=s.top+(l&&o.top);let{width:p,height:m}=e;return a&&(p-=s.width+o.width,m-=s.height+o.height),{x:Math.round((u-d)/p*r.width/n),y:Math.round((c-f)/m*r.height/n)}}function EEe(t,e,r){let n,i;if(e===void 0||r===void 0){const a=oC(t);if(!a)e=t.clientWidth,r=t.clientHeight;else{const s=a.getBoundingClientRect(),o=Gy(a),u=Wu(o,"border","width"),c=Wu(o,"padding");e=s.width-c.width-u.width,r=s.height-c.height-u.height,n=ob(o.maxWidth,a,"clientWidth"),i=ob(o.maxHeight,a,"clientHeight")}}return{width:e,height:r,maxWidth:n||ab,maxHeight:i||ab}}const Sg=t=>Math.round(t*10)/10;function xEe(t,e,r,n){const i=Gy(t),a=Wu(i,"margin"),s=ob(i.maxWidth,t,"clientWidth")||ab,o=ob(i.maxHeight,t,"clientHeight")||ab,u=EEe(t,e,r);let{width:c,height:l}=u;if(i.boxSizing==="content-box"){const f=Wu(i,"border","width"),p=Wu(i,"padding");c-=p.width+f.width,l-=p.height+f.height}return c=Math.max(0,c-a.width),l=Math.max(0,n?c/n:l-a.height),c=Sg(Math.min(c,s,u.maxWidth)),l=Sg(Math.min(l,o,u.maxHeight)),c&&!l&&(l=Sg(c/2)),(e!==void 0||r!==void 0)&&n&&u.height&&l>u.height&&(l=u.height,c=Sg(Math.floor(l*n))),{width:c,height:l}}function H8(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 PEe=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 z8(t,e){const r=wEe(t,e),n=r&&r.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function Eu(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:t.y+r*(e.y-t.y)}}function CEe(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 AEe(t,e,r,n){const i={x:t.cp2x,y:t.cp2y},a={x:e.cp1x,y:e.cp1y},s=Eu(t,i,r),o=Eu(i,a,r),u=Eu(a,e,r),c=Eu(s,o,r),l=Eu(o,u,r);return Eu(c,l,r)}const MEe=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}}},$Ee=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Xl(t,e,r){return t?MEe(e,r):$Ee()}function g7(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 v7(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function b7(t){return t==="angle"?{between:bp,compare:kTe,normalize:Qn}:{between:Os,compare:(e,r)=>e-r,normalize:e=>e}}function V8({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 kEe(t,e,r){const{property:n,start:i,end:a}=r,{between:s,normalize:o}=b7(n),u=e.length;let{start:c,end:l,loop:d}=t,f,p;if(d){for(c+=u,l+=u,f=0,p=u;f<p&&s(o(e[c%u][n]),i,a);++f)c--,l--;c%=u,l%=u}return l<c&&(l+=u),{start:c,end:l,loop:d,style:t.style}}function y7(t,e,r){if(!r)return[t];const{property:n,start:i,end:a}=r,s=e.length,{compare:o,between:u,normalize:c}=b7(n),{start:l,end:d,loop:f,style:p}=kEe(t,e,r),m=[];let b=!1,_=null,S,E,O;const h=()=>u(i,O,S)&&o(i,O)!==0,v=()=>o(a,S)===0||u(a,O,S),g=()=>b||h(),T=()=>!b||v();for(let C=l,k=l;C<=d;++C)E=e[C%s],!E.skip&&(S=c(E[n]),S!==O&&(b=u(S,i,a),_===null&&g()&&(_=o(S,i)===0?C:k),_!==null&&T()&&(m.push(V8({start:_,end:C,loop:f,count:s,style:p})),_=null),k=C,O=S));return _!==null&&m.push(V8({start:_,end:d,loop:f,count:s,style:p})),m}function _7(t,e){const r=[],n=t.segments;for(let i=0;i<n.length;i++){const a=y7(n[i],t.points,e);a.length&&r.push(...a)}return r}function DEe(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 IEe(t,e,r,n){const i=t.length,a=[];let s=e,o=t[e],u;for(u=e+1;u<=r;++u){const c=t[u%i];c.skip||c.stop?o.skip||(n=!1,a.push({start:e%i,end:(u-1)%i,loop:n}),e=s=c.stop?u:null):(s=u,o.skip&&(e=u)),o=c}return s!==null&&a.push({start:e%i,end:s%i,loop:n}),a}function REe(t,e){const r=t.points,n=t.options.spanGaps,i=r.length;if(!i)return[];const a=!!t._loop,{start:s,end:o}=DEe(r,i,a,n);if(n===!0)return U8(t,[{start:s,end:o,loop:a}],r,e);const u=o<s?o+i:o,c=!!t._fullLoop&&s===0&&o===i-1;return U8(t,IEe(r,s,u,c),r,e)}function U8(t,e,r,n){return!n||!n.setContext||!r?e:LEe(t,e,r,n)}function LEe(t,e,r,n){const i=t._chart.getContext(),a=G8(t.options),{_datasetIndex:s,options:{spanGaps:o}}=t,u=r.length,c=[];let l=a,d=e[0].start,f=d;function p(m,b,_,S){const E=o?-1:1;if(m!==b){for(m+=u;r[m%u].skip;)m-=E;for(;r[b%u].skip;)b+=E;m%u!==b%u&&(c.push({start:m%u,end:b%u,loop:_,style:S}),l=S,d=b%u)}}for(const m of e){d=o?d:m.start;let b=r[d%u],_;for(f=d+1;f<=m.end;f++){const S=r[f%u];_=G8(n.setContext(eu(i,{type:"segment",p0:b,p1:S,p0DataIndex:(f-1)%u,p1DataIndex:f%u,datasetIndex:s}))),NEe(_,l)&&p(d,f-1,m.loop,l),b=S,l=_}d<f-1&&p(d,f-1,m.loop,l)}return c}function G8(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function NEe(t,e){if(!e)return!1;const r=[],n=function(i,a){return rC(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 BEe{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=r7.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 os=new BEe;const W8="transparent",FEe={boolean(t,e,r){return r>.5?e:t},color(t,e,r){const n=L8(t||W8),i=n.valid&&L8(e||W8);return i&&i.valid?i.mix(n,r).hexString():e},number(t,e,r){return t+(e-t)*r}};class jEe{constructor(e,r,n,i){const a=r[n];i=hh([e.to,i,a,e.from]);const s=hh([e.from,a,i]);this._active=!0,this._fn=e.fn||FEe[e.type||typeof s],this._easing=Fh[e.easing]||Fh.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=hh([e.to,r,i,e.from]),this._from=hh([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 w7{constructor(e,r){this._chart=e,this._properties=new Map,this.configure(r)}configure(e){if(!Je(e))return;const r=Object.keys(ir.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const a=e[i];if(!Je(a))return;const s={};for(const o of r)s[o]=a[o];(It(a.properties)&&a.properties||[i]).forEach(o=>{(o===i||!n.has(o))&&n.set(o,s)})})}_animateOptions(e,r){const n=r.options,i=zEe(e,n);if(!i)return[];const a=this._createAnimations(i,n);return n.$shared&&HEe(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 c=s[u];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(e,r));continue}const l=r[c];let d=a[c];const f=n.get(c);if(d)if(f&&d.active()){d.update(f,l,o);continue}else d.cancel();if(!f||!f.duration){e[c]=l;continue}a[c]=d=new jEe(f,e,c,l),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 os.add(this._chart,n),!0}}function HEe(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 zEe(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 Y8(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 VEe(t,e,r){if(r===!1)return!1;const n=Y8(t,r),i=Y8(e,r);return{top:i.end,right:n.end,bottom:i.start,left:n.start}}function UEe(t){let e,r,n,i;return Je(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 S7(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 K8(t,e,r,n={}){const i=t.keys,a=n.mode==="single";let s,o,u,c;if(e!==null){for(s=0,o=i.length;s<o;++s){if(u=+i[s],u===r){if(n.all)continue;break}c=t.values[u],rr(c)&&(a||e===0||ja(e)===ja(c))&&(e+=c)}return e}}function GEe(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 q8(t,e){const r=t&&t.options.stacked;return r||r===void 0&&e.stack!==void 0}function WEe(t,e,r){return`${t.id}.${e.id}.${r.stack||r.type}`}function YEe(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 KEe(t,e,r){const n=t[e]||(t[e]={});return n[r]||(n[r]={})}function X8(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 J8(t,e){const{chart:r,_cachedMeta:n}=t,i=r._stacks||(r._stacks={}),{iScale:a,vScale:s,index:o}=n,u=a.axis,c=s.axis,l=WEe(a,s,n),d=e.length;let f;for(let p=0;p<d;++p){const m=e[p],{[u]:b,[c]:_}=m,S=m._stacks||(m._stacks={});f=S[c]=KEe(i,l,b),f[o]=_,f._top=X8(f,s,!0,n.type),f._bottom=X8(f,s,!1,n.type);const E=f._visualValues||(f._visualValues={});E[o]=_}}function R1(t,e){const r=t.scales;return Object.keys(r).filter(n=>r[n].axis===e).shift()}function qEe(t,e){return eu(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function XEe(t,e,r){return eu(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:r,index:e,mode:"default",type:"data"})}function Ff(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 L1=t=>t==="reset"||t==="none",Q8=(t,e)=>e?t:Object.assign({},t),JEe=(t,e,r)=>t&&!e.hidden&&e._stacked&&{keys:S7(r,!0),values:null};class Wi{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=q8(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&&Ff(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,r=this._cachedMeta,n=this.getDataset(),i=(d,f,p,m)=>d==="x"?f:d==="r"?m:p,a=r.xAxisID=Le(n.xAxisID,R1(e,"x")),s=r.yAxisID=Le(n.yAxisID,R1(e,"y")),o=r.rAxisID=Le(n.rAxisID,R1(e,"r")),u=r.indexAxis,c=r.iAxisID=i(u,a,s,o),l=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(c),r.vScale=this.getScaleForId(l)}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&&D8(this._data,this),e._stacked&&Ff(e)}_dataCheck(){const e=this.getDataset(),r=e.data||(e.data=[]),n=this._data;if(Je(r))this._data=GEe(r);else if(n!==r){if(n){D8(n,this);const i=this._cachedMeta;Ff(i),i._parsed=[]}r&&Object.isExtensible(r)&<e(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=q8(r.vScale,r),r.stack!==n.stack&&(i=!0,Ff(r),r.stack=n.stack),this._resyncElements(e),(i||a!==r._stacked)&&J8(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,c=e>0&&n._parsed[e-1],l,d,f;if(this._parsing===!1)n._parsed=i,n._sorted=!0,f=i;else{It(i[e])?f=this.parseArrayData(n,i,e,r):Je(i[e])?f=this.parseObjectData(n,i,e,r):f=this.parsePrimitiveData(n,i,e,r);const p=()=>d[o]===null||c&&d[o]<c[o];for(l=0;l<r;++l)n._parsed[l+e]=d=f[l],u&&(p()&&(u=!1),c=d);n._sorted=u}s&&J8(this,f)}parsePrimitiveData(e,r,n,i){const{iScale:a,vScale:s}=e,o=a.axis,u=s.axis,c=a.getLabels(),l=a===s,d=new Array(i);let f,p,m;for(f=0,p=i;f<p;++f)m=f+n,d[f]={[o]:l||a.parse(c[m],m),[u]:s.parse(r[m],m)};return d}parseArrayData(e,r,n,i){const{xScale:a,yScale:s}=e,o=new Array(i);let u,c,l,d;for(u=0,c=i;u<c;++u)l=u+n,d=r[l],o[u]={x:a.parse(d[0],l),y:s.parse(d[1],l)};return o}parseObjectData(e,r,n,i){const{xScale:a,yScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,c=new Array(i);let l,d,f,p;for(l=0,d=i;l<d;++l)f=l+n,p=r[f],c[l]={x:a.parse(Vo(p,o),f),y:s.parse(Vo(p,u),f)};return c}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:S7(i,!0),values:r._stacks[e.axis]._visualValues};return K8(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=K8(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=JEe(r,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:d}=YEe(o);let f,p;function m(){p=i[f];const b=p[o.axis];return!rr(p[e.axis])||l>b||d<b}for(f=0;f<s&&!(!m()&&(this.updateRangeFromParsed(c,e,p,u),a));++f);if(a){for(f=s-1;f>=0;--f)if(!m()){this.updateRangeFromParsed(c,e,p,u);break}}return c}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],rr(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=UEe(Le(this.options.clip,VEe(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,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(e,a,o,u),l=o;l<o+u;++l){const d=i[l];d.hidden||(d.active&&c?s.push(d):d.draw(e,a))}for(l=0;l<s.length;++l)s[l].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=XEe(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=qEe(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&&vp(n);if(o)return Q8(o,u);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),d=i?[`${e}Hover`,"hover",e,""]:[e,""],f=c.getOptionScopes(this.getDataset(),l),p=Object.keys(ir.elements[e]),m=()=>this.getContext(n,i,r),b=c.resolveNamedOptions(f,p,m,d);return b.$shared&&(b.$shared=u,a[s]=Object.freeze(Q8(b,u))),b}_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 l=this.chart.config,d=l.datasetAnimationScopeKeys(this._type,r),f=l.getOptionScopes(this.getDataset(),d);u=l.createResolver(f,this.getContext(e,n,r))}const c=new w7(i,u&&u.animations);return u&&u._cacheable&&(a[s]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,r){return!r||L1(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){L1(i)?Object.assign(e,n):this._resolveAnimations(r,i).update(e,n)}updateSharedOptions(e,r,n){e&&!L1(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,c]of this._syncList)this[o](u,c);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=c=>{for(c.length+=r,o=c.length-1;o>=s;o--)c[o]=c[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&&Ff(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])}}ae(Wi,"defaults",{}),ae(Wi,"datasetElementType",null),ae(Wi,"dataElementType",null);function QEe(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=t7(n.sort((i,a)=>i-a))}return t._cache.$bar}function ZEe(t){const e=t.iScale,r=QEe(e,t.type);let n=e._length,i,a,s,o;const u=()=>{s===32767||s===-32768||(vp(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 exe(t,e,r,n){const i=r.barThickness;let a,s;return it(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 txe(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 c=a-(a-Math.min(s,o))/2*u;return{chunk:Math.abs(o-s)/2*u/n,ratio:r.barPercentage,start:c}}function rxe(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,c=o;Math.abs(s)>Math.abs(o)&&(u=o,c=s),e[r.axis]=c,e._custom={barStart:u,barEnd:c,start:i,end:a,min:s,max:o}}function O7(t,e,r,n){return It(t)?rxe(t,e,r,n):e[r.axis]=r.parse(t,n),e}function Z8(t,e,r,n){const i=t.iScale,a=t.vScale,s=i.getLabels(),o=i===a,u=[];let c,l,d,f;for(c=r,l=r+n;c<l;++c)f=e[c],d={},d[i.axis]=o||i.parse(s[c],c),u.push(O7(f,d,a,c));return u}function N1(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function nxe(t,e,r){return t!==0?ja(t):(e.isHorizontal()?1:-1)*(e.min>=r?1:-1)}function ixe(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 axe(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:c,bottom:l}=ixe(t);i==="middle"&&r&&(t.enableBorderRadius=!0,(r._top||0)===n?i=c:(r._bottom||0)===n?i=l:(a[e3(l,s,o,u)]=!0,i=c)),a[e3(i,s,o,u)]=!0,t.borderSkipped=a}function e3(t,e,r,n){return n?(t=sxe(t,e,r),t=t3(t,r,e)):t=t3(t,e,r),t}function sxe(t,e,r){return t===e?r:t===r?e:t}function t3(t,e,r){return t==="start"?e:t==="end"?r:t}function oxe(t,{inflateAmount:e},r){t.inflateAmount=e==="auto"?r===1?.33:0:e}class Ov extends Wi{parsePrimitiveData(e,r,n,i){return Z8(e,r,n,i)}parseArrayData(e,r,n,i){return Z8(e,r,n,i)}parseObjectData(e,r,n,i){const{iScale:a,vScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,c=a.axis==="x"?o:u,l=s.axis==="x"?o:u,d=[];let f,p,m,b;for(f=n,p=n+i;f<p;++f)b=r[f],m={},m[a.axis]=a.parse(Vo(b,c),f),d.push(O7(Vo(b,l),m,s,f));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=N1(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(),c=o.isHorizontal(),l=this._getRuler(),{sharedOptions:d,includeOptions:f}=this._getSharedOptions(r,i);for(let p=r;p<r+n;p++){const m=this.getParsed(p),b=a||it(m[o.axis])?{base:u,head:u}:this._calculateBarValuePixels(p),_=this._calculateBarIndexPixels(p,l),S=(m._stacks||{})[o.axis],E={horizontal:c,base:b.base,enableBorderRadius:!S||N1(m._custom)||s===S._top||s===S._bottom,x:c?b.head:_.center,y:c?_.center:b.head,height:c?_.size:Math.abs(b.size),width:c?Math.abs(b.size):_.size};f&&(E.options=d||this.resolveDataElementOptions(p,e[p].active?"active":i));const O=E.options||e[p].options;axe(E,O,S,s),oxe(E,O,l.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 c=u.controller.getParsed(r),l=c&&c[u.vScale.axis];if(it(l)||isNaN(l))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||ZEe(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),c=u._custom,l=N1(c);let d=u[r.axis],f=0,p=n?this.applyStack(r,u,n):d,m,b;p!==d&&(f=p-d,p=d),l&&(d=c.barStart,p=c.barEnd-c.barStart,d!==0&&ja(d)!==ja(c.barEnd)&&(f=0),f+=d);const _=!it(a)&&!l?a:f;let S=r.getPixelForValue(_);if(this.chart.getDataVisibility(e)?m=r.getPixelForValue(f+p):m=S,b=m-S,Math.abs(b)<s){b=nxe(b,r,o)*s,d===o&&(S-=b/2);const E=r.getPixelForDecimal(0),O=r.getPixelForDecimal(1),h=Math.min(E,O),v=Math.max(E,O);S=Math.max(Math.min(S,v),h),m=S+b,n&&!l&&(u._stacks[r.axis]._visualValues[i]=r.getValueForPixel(m)-r.getValueForPixel(S))}if(S===r.getPixelForValue(o)){const E=ja(b)*r.getLineWidthForValue(o)/2;S+=E,b-=E}return{size:b,base:S,head:m,center:m+b/2}}_calculateBarIndexPixels(e,r){const n=r.scale,i=this.options,a=i.skipNull,s=Le(i.maxBarThickness,1/0);let o,u;if(r.grouped){const c=a?this._getStackCount(e):r.stackCount,l=i.barThickness==="flex"?txe(e,r,i,c):exe(e,r,i,c),d=this._getStackIndex(this.index,this._cachedMeta.stack,a?e:void 0);o=l.start+l.chunk*d+l.chunk/2,u=Math.min(s,l.chunk*l.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)}}ae(Ov,"id","bar"),ae(Ov,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),ae(Ov,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class Tv extends Wi{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=Le(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=Le(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),c=s._custom;return{label:n[e]||"",value:"("+o+", "+u+(c?", "+c:"")+")"}}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:c}=this._getSharedOptions(r,i),l=s.axis,d=o.axis;for(let f=r;f<r+n;f++){const p=e[f],m=!a&&this.getParsed(f),b={},_=b[l]=a?s.getPixelForDecimal(.5):s.getPixelForValue(m[l]),S=b[d]=a?o.getBasePixel():o.getPixelForValue(m[d]);b.skip=isNaN(_)||isNaN(S),c&&(b.options=u||this.resolveDataElementOptions(f,p.active?"active":i),a&&(b.options.radius=0)),this.updateElement(p,f,b,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+=Le(n&&n._custom,a),i}}ae(Tv,"id","bubble"),ae(Tv,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),ae(Tv,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function uxe(t,e,r){let n=1,i=1,a=0,s=0;if(e<Rt){const o=t,u=o+e,c=Math.cos(o),l=Math.sin(o),d=Math.cos(u),f=Math.sin(u),p=(O,h,v)=>bp(O,o,u,!0)?1:Math.max(h,h*r,v,v*r),m=(O,h,v)=>bp(O,o,u,!0)?-1:Math.min(h,h*r,v,v*r),b=p(0,c,d),_=p(nr,l,f),S=m(Vt,c,d),E=m(Vt+nr,l,f);n=(b-S)/2,i=(_-E)/2,a=-(b+S)/2,s=-(_+E)/2}return{ratioX:n,ratioY:i,offsetX:a,offsetY:s}}class Nu extends Wi{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(Je(n[e])){const{key:u="value"}=this._parsing;a=c=>+Vo(n[c],u)}let s,o;for(s=e,o=e+r;s<o;++s)i._parsed[s]=a(s)}}_getRotation(){return zi(this.options.rotation-90)}_getCircumference(){return zi(this.options.circumference)}_getRotationExtents(){let e=Rt,r=-Rt;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(STe(this.options.cutout,o),1),c=this._getRingWeight(this.index),{circumference:l,rotation:d}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:m,offsetY:b}=uxe(d,l,u),_=(n.width-s)/f,S=(n.height-s)/p,E=Math.max(Math.min(_,S)/2,0),O=XU(this.options.radius,E),h=Math.max(O*u,0),v=(O-h)/this._getVisibleDatasetWeightTotal();this.offsetX=m*O,this.offsetY=b*O,i.total=this.calculateTotal(),this.outerRadius=O-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*c,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/Rt)}updateElements(e,r,n,i){const a=i==="reset",s=this.chart,o=s.chartArea,c=s.options.animation,l=(o.left+o.right)/2,d=(o.top+o.bottom)/2,f=a&&c.animateScale,p=f?0:this.innerRadius,m=f?0:this.outerRadius,{sharedOptions:b,includeOptions:_}=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 O=this._circumference(E,a),h=e[E],v={x:l+this.offsetX,y:d+this.offsetY,startAngle:S,endAngle:S+O,circumference:O,outerRadius:m,innerRadius:p};_&&(v.options=b||this.resolveDataElementOptions(E,h.active?"active":i)),S+=O,this.updateElement(h,E,v,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)?Rt*(Math.abs(e)/r):0}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart,i=n.data.labels||[],a=em(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(Le(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}ae(Nu,"id","doughnut"),ae(Nu,"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"}),ae(Nu,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),ae(Nu,"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 Ev extends Wi{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}=i7(r,i,s);this._drawStart=o,this._drawCount=u,a7(r)&&(o=0,u=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!a._decimated,n.points=i;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!s,options:c},e),this.updateElements(i,o,u,e)}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:u,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:d}=this._getSharedOptions(r,i),f=s.axis,p=o.axis,{spanGaps:m,segment:b}=this.options,_=Od(m)?m:Number.POSITIVE_INFINITY,S=this.chart._animationsDisabled||a||i==="none",E=r+n,O=e.length;let h=r>0&&this.getParsed(r-1);for(let v=0;v<O;++v){const g=e[v],T=S?g:{};if(v<r||v>=E){T.skip=!0;continue}const C=this.getParsed(v),k=it(C[p]),w=T[f]=s.getPixelForValue(C[f],v),A=T[p]=a||k?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,C,u):C[p],v);T.skip=isNaN(w)||isNaN(A)||k,T.stop=v>0&&Math.abs(C[f]-h[f])>_,b&&(T.parsed=C,T.raw=c.data[v]),d&&(T.options=l||this.resolveDataElementOptions(v,g.active?"active":i)),S||this.updateElement(g,v,T,i),h=C}}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()}}ae(Ev,"id","line"),ae(Ev,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),ae(Ev,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class Hh extends Wi{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=em(r._parsed[e].r,n.options.locale);return{label:i[e]||"",value:a}}parseObjectData(e,r,n,i){return h7.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,c=this._cachedMeta.rScale,l=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*Vt;let p=f,m;const b=360/this.countVisibleElements();for(m=0;m<r;++m)p+=this._computeAngle(m,i,b);for(m=r;m<r+n;m++){const _=e[m];let S=p,E=p+this._computeAngle(m,i,b),O=s.getDataVisibility(m)?c.getDistanceFromCenterForValue(this.getParsed(m).r):0;p=E,a&&(u.animateScale&&(O=0),u.animateRotate&&(S=E=f));const h={x:l,y:d,innerRadius:0,outerRadius:O,startAngle:S,endAngle:E,options:this.resolveDataElementOptions(m,_.active?"active":i)};this.updateElement(_,m,h,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)?zi(this.resolveDataElementOptions(e,r).angle||n):0}}ae(Hh,"id","polarArea"),ae(Hh,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),ae(Hh,"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 vT extends Nu{}ae(vT,"id","pie"),ae(vT,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class xv extends Wi{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 h7.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],c=this.resolveDataElementOptions(o,u.active?"active":i),l=a.getPointPositionForValue(o,this.getParsed(o).r),d=s?a.xCenter:l.x,f=s?a.yCenter:l.y,p={x:d,y:f,angle:l.angle,skip:isNaN(d)||isNaN(f),options:c};this.updateElement(u,o,p,i)}}}ae(xv,"id","radar"),ae(xv,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),ae(xv,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class Pv extends Wi{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}=i7(r,n,i);if(this._drawStart=a,this._drawCount=s,a7(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 c=this.resolveDatasetElementOptions(e);c.segment=this.options.segment,this.updateElement(o,void 0,{animated:!i,options:c},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:c}=this._cachedMeta,l=this.resolveDataElementOptions(r,i),d=this.getSharedOptions(l),f=this.includeOptions(i,d),p=s.axis,m=o.axis,{spanGaps:b,segment:_}=this.options,S=Od(b)?b:Number.POSITIVE_INFINITY,E=this.chart._animationsDisabled||a||i==="none";let O=r>0&&this.getParsed(r-1);for(let h=r;h<r+n;++h){const v=e[h],g=this.getParsed(h),T=E?v:{},C=it(g[m]),k=T[p]=s.getPixelForValue(g[p],h),w=T[m]=a||C?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,g,u):g[m],h);T.skip=isNaN(k)||isNaN(w)||C,T.stop=h>0&&Math.abs(g[p]-O[p])>S,_&&(T.parsed=g,T.raw=c.data[h]),f&&(T.options=d||this.resolveDataElementOptions(h,v.active?"active":i)),E||this.updateElement(v,h,T,i),O=g}this.updateSharedOptions(d,i,l)}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}}ae(Pv,"id","scatter"),ae(Pv,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),ae(Pv,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var cxe=Object.freeze({__proto__:null,BarController:Ov,BubbleController:Tv,DoughnutController:Nu,LineController:Ev,PieController:vT,PolarAreaController:Hh,RadarController:xv,ScatterController:Pv});function bu(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class uC{constructor(e){ae(this,"options");this.options=e||{}}static override(e){Object.assign(uC.prototype,e)}init(){}formats(){return bu()}parse(){return bu()}format(){return bu()}add(){return bu()}diff(){return bu()}startOf(){return bu()}endOf(){return bu()}}var T7={_date:uC};function lxe(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?ITe:Ts;if(n){if(i._sharedOptions){const c=a[0],l=typeof c.getRange=="function"&&c.getRange(e);if(l){const d=u(a,e,r-l),f=u(a,e,r+l);return{lo:d.lo,hi:f.hi}}}}else return u(a,e,r)}return{lo:0,hi:a.length-1}}function tm(t,e,r,n,i){const a=t.getSortedVisibleDatasetMetas(),s=r[e];for(let o=0,u=a.length;o<u;++o){const{index:c,data:l}=a[o],{lo:d,hi:f}=lxe(a[o],e,s,i);for(let p=d;p<=f;++p){const m=l[p];m.skip||n(m,c,p)}}}function dxe(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 B1(t,e,r,n,i){const a=[];return!i&&!t.isPointInArea(e)||tm(t,r,e,function(o,u,c){!i&&!Es(o,t.chartArea,0)||o.inRange(e.x,e.y,n)&&a.push({element:o,datasetIndex:u,index:c})},!0),a}function fxe(t,e,r,n){let i=[];function a(s,o,u){const{startAngle:c,endAngle:l}=s.getProps(["startAngle","endAngle"],n),{angle:d}=ZU(s,{x:e.x,y:e.y});bp(d,c,l)&&i.push({element:s,datasetIndex:o,index:u})}return tm(t,r,e,a),i}function hxe(t,e,r,n,i,a){let s=[];const o=dxe(r);let u=Number.POSITIVE_INFINITY;function c(l,d,f){const p=l.inRange(e.x,e.y,i);if(n&&!p)return;const m=l.getCenterPoint(i);if(!(!!a||t.isPointInArea(m))&&!p)return;const _=o(e,m);_<u?(s=[{element:l,datasetIndex:d,index:f}],u=_):_===u&&s.push({element:l,datasetIndex:d,index:f})}return tm(t,r,e,c),s}function F1(t,e,r,n,i,a){return!a&&!t.isPointInArea(e)?[]:r==="r"&&!n?fxe(t,e,r,i):hxe(t,e,r,n,i,a)}function r3(t,e,r,n,i){const a=[],s=r==="x"?"inXRange":"inYRange";let o=!1;return tm(t,r,e,(u,c,l)=>{u[s](e[r],i)&&(a.push({element:u,datasetIndex:c,index:l}),o=o||u.inRange(e.x,e.y,i))}),n&&!o?[]:a}var pxe={evaluateInteractionItems:tm,modes:{index(t,e,r,n){const i=Tu(e,t),a=r.axis||"x",s=r.includeInvisible||!1,o=r.intersect?B1(t,i,a,n,s):F1(t,i,a,!1,n,s),u=[];return o.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const l=o[0].index,d=c.data[l];d&&!d.skip&&u.push({element:d,datasetIndex:c.index,index:l})}),u):[]},dataset(t,e,r,n){const i=Tu(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;let o=r.intersect?B1(t,i,a,n,s):F1(t,i,a,!1,n,s);if(o.length>0){const u=o[0].datasetIndex,c=t.getDatasetMeta(u).data;o=[];for(let l=0;l<c.length;++l)o.push({element:c[l],datasetIndex:u,index:l})}return o},point(t,e,r,n){const i=Tu(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return B1(t,i,a,n,s)},nearest(t,e,r,n){const i=Tu(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return F1(t,i,a,r.intersect,n,s)},x(t,e,r,n){const i=Tu(e,t);return r3(t,i,"x",r.intersect,n)},y(t,e,r,n){const i=Tu(e,t);return r3(t,i,"y",r.intersect,n)}}};const E7=["left","top","right","bottom"];function jf(t,e){return t.filter(r=>r.pos===e)}function n3(t,e){return t.filter(r=>E7.indexOf(r.pos)===-1&&r.box.axis===e)}function Hf(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 mxe(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 gxe(t){const e={};for(const r of t){const{stack:n,pos:i,stackWeight:a}=r;if(!n||!E7.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 vxe(t,e){const r=gxe(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,c=r[o.stack],l=c&&o.stackWeight/c.weight;o.horizontal?(o.width=l?l*n:u&&e.availableWidth,o.height=i):(o.width=n,o.height=l?l*i:u&&e.availableHeight)}return r}function bxe(t){const e=mxe(t),r=Hf(e.filter(c=>c.box.fullSize),!0),n=Hf(jf(e,"left"),!0),i=Hf(jf(e,"right")),a=Hf(jf(e,"top"),!0),s=Hf(jf(e,"bottom")),o=n3(e,"x"),u=n3(e,"y");return{fullSize:r,leftAndTop:n.concat(a),rightAndBottom:i.concat(u).concat(s).concat(o),chartArea:jf(e,"chartArea"),vertical:n.concat(i).concat(u),horizontal:a.concat(s).concat(o)}}function i3(t,e,r,n){return Math.max(t[r],e[r])+Math.max(t[n],e[n])}function x7(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 yxe(t,e,r,n){const{pos:i,box:a}=r,s=t.maxPadding;if(!Je(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&&x7(s,a.getPadding());const o=Math.max(0,e.outerWidth-i3(s,t,"left","right")),u=Math.max(0,e.outerHeight-i3(s,t,"top","bottom")),c=o!==t.w,l=u!==t.h;return t.w=o,t.h=u,r.horizontal?{same:c,other:l}:{same:l,other:c}}function _xe(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 wxe(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 ph(t,e,r,n){const i=[];let a,s,o,u,c,l;for(a=0,s=t.length,c=0;a<s;++a){o=t[a],u=o.box,u.update(o.width||e.w,o.height||e.h,wxe(o.horizontal,e));const{same:d,other:f}=yxe(e,r,o,n);c|=d&&i.length,l=l||f,u.fullSize||i.push(o)}return c&&ph(i,e,r,n)||l}function Og(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 a3(t,e,r,n){const i=r.padding;let{x:a,y:s}=e;for(const o of t){const u=o.box,c=n[o.stack]||{count:1,placed:0,weight:1},l=o.stackWeight/c.weight||1;if(o.horizontal){const d=e.w*l,f=c.size||u.height;vp(c.start)&&(s=c.start),u.fullSize?Og(u,i.left,s,r.outerWidth-i.right-i.left,f):Og(u,e.left+c.placed,s,d,f),c.start=s,c.placed+=d,s=u.bottom}else{const d=e.h*l,f=c.size||u.width;vp(c.start)&&(a=c.start),u.fullSize?Og(u,a,i.top,f,r.outerHeight-i.bottom-i.top):Og(u,a,e.top+c.placed,f,d),c.start=a,c.placed+=d,a=u.right}}e.x=a,e.y=s}var Jr={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=nn(t.options.layout.padding),a=Math.max(e-i.width,0),s=Math.max(r-i.height,0),o=bxe(t.boxes),u=o.vertical,c=o.horizontal;vt(t.boxes,b=>{typeof b.beforeLayout=="function"&&b.beforeLayout()});const l=u.reduce((b,_)=>_.box.options&&_.box.options.display===!1?b:b+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:r,padding:i,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/l,hBoxMaxHeight:s/2}),f=Object.assign({},i);x7(f,nn(n));const p=Object.assign({maxPadding:f,w:a,h:s,x:i.left,y:i.top},i),m=vxe(u.concat(c),d);ph(o.fullSize,p,d,m),ph(u,p,d,m),ph(c,p,d,m)&&ph(u,p,d,m),_xe(p),a3(o.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,a3(o.rightAndBottom,p,d,m),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},vt(o.chartArea,b=>{const _=b.box;Object.assign(_,t.chartArea),_.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class P7{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 Sxe extends P7{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Cv="$chartjs",Oxe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},s3=t=>t===null||t==="";function Txe(t,e){const r=t.style,n=t.getAttribute("height"),i=t.getAttribute("width");if(t[Cv]={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",s3(i)){const a=z8(t,"width");a!==void 0&&(t.width=a)}if(s3(n))if(t.style.height==="")t.height=t.width/(e||2);else{const a=z8(t,"height");a!==void 0&&(t.height=a)}return t}const C7=PEe?{passive:!0}:!1;function Exe(t,e,r){t.addEventListener(e,r,C7)}function xxe(t,e,r){t.canvas.removeEventListener(e,r,C7)}function Pxe(t,e){const r=Oxe[t.type]||t.type,{x:n,y:i}=Tu(t,e);return{type:r,chart:e,native:t,x:n!==void 0?n:null,y:i!==void 0?i:null}}function ub(t,e){for(const r of t)if(r===e||r.contains(e))return!0}function Cxe(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||ub(o.addedNodes,n),s=s&&!ub(o.removedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}function Axe(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||ub(o.removedNodes,n),s=s&&!ub(o.addedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}const _p=new Map;let o3=0;function A7(){const t=window.devicePixelRatio;t!==o3&&(o3=t,_p.forEach((e,r)=>{r.currentDevicePixelRatio!==t&&e()}))}function Mxe(t,e){_p.size||window.addEventListener("resize",A7),_p.set(t,e)}function $xe(t){_p.delete(t),_p.size||window.removeEventListener("resize",A7)}function kxe(t,e,r){const n=t.canvas,i=n&&oC(n);if(!i)return;const a=n7((o,u)=>{const c=i.clientWidth;r(o,u),c<i.clientWidth&&r()},window),s=new ResizeObserver(o=>{const u=o[0],c=u.contentRect.width,l=u.contentRect.height;c===0&&l===0||a(c,l)});return s.observe(i),Mxe(t,a),s}function j1(t,e,r){r&&r.disconnect(),e==="resize"&&$xe(t)}function Dxe(t,e,r){const n=t.canvas,i=n7(a=>{t.ctx!==null&&r(Pxe(a,t))},t);return Exe(n,e,i),i}class Ixe extends P7{acquireContext(e,r){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(Txe(e,r),n):null}releaseContext(e){const r=e.canvas;if(!r[Cv])return!1;const n=r[Cv].initial;["height","width"].forEach(a=>{const s=n[a];it(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[Cv],!0}addEventListener(e,r,n){this.removeEventListener(e,r);const i=e.$proxies||(e.$proxies={}),s={attach:Cxe,detach:Axe,resize:kxe}[r]||Dxe;i[r]=s(e,r,n)}removeEventListener(e,r){const n=e.$proxies||(e.$proxies={}),i=n[r];if(!i)return;({attach:j1,detach:j1,resize:j1}[r]||xxe)(e,r,i),n[r]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,r,n,i){return xEe(e,r,n,i)}isAttached(e){const r=oC(e);return!!(r&&r.isConnected)}}function Rxe(t){return!m7()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?Sxe:Ixe}var Rg;let Hs=(Rg=class{constructor(){ae(this,"x");ae(this,"y");ae(this,"active",!1);ae(this,"options");ae(this,"$animations")}tooltipPosition(e){const{x:r,y:n}=this.getProps(["x","y"],e);return{x:r,y:n}}hasValue(){return Od(this.x)&&Od(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}},ae(Rg,"defaults",{}),ae(Rg,"defaultRoutes"),Rg);function Lxe(t,e){const r=t.options.ticks,n=Nxe(t),i=Math.min(r.maxTicksLimit||n,n),a=r.major.enabled?Fxe(e):[],s=a.length,o=a[0],u=a[s-1],c=[];if(s>i)return jxe(e,c,a,s/i),c;const l=Bxe(a,e,i);if(s>0){let d,f;const p=s>1?Math.round((u-o)/(s-1)):null;for(Tg(e,c,l,it(p)?0:o-p,o),d=0,f=s-1;d<f;d++)Tg(e,c,l,a[d],a[d+1]);return Tg(e,c,l,u,it(p)?e.length:u+p),c}return Tg(e,c,l),c}function Nxe(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 Bxe(t,e,r){const n=Hxe(t),i=e.length/r;if(!n)return Math.max(i,1);const a=MTe(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 Fxe(t){const e=[];let r,n;for(r=0,n=t.length;r<n;r++)t[r].major&&e.push(r);return e}function jxe(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 Tg(t,e,r,n,i){const a=Le(n,0),s=Math.min(Le(i,t.length),t.length);let o=0,u,c,l;for(r=Math.ceil(r),i&&(u=i-n,r=u/Math.floor(u/r)),l=a;l<0;)o++,l=Math.round(a+o*r);for(c=Math.max(a,0);c<s;c++)c===l&&(e.push(t[c]),o++,l=Math.round(a+o*r))}function Hxe(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 zxe=t=>t==="left"?"right":t==="right"?"left":t,u3=(t,e,r)=>e==="top"||e==="left"?t[e]+r:t[e]-r,c3=(t,e)=>Math.min(e||t,t);function l3(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 Vxe(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),c;if(!(r&&(n===1?c=Math.max(u-a,s-u):e===0?c=(t.getPixelForTick(1)-u)/2:c=(u-t.getPixelForTick(i-1))/2,u+=i<e?c:-c,u<a-o||u>s+o)))return u}function Uxe(t,e){vt(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 zf(t){return t.drawTicks?t.tickLength:0}function d3(t,e){if(!t.display)return 0;const r=Tr(t.font,e),n=nn(t.padding);return(It(t.text)?t.text.length:1)*r.lineHeight+n.height}function Gxe(t,e){return eu(t,{scale:e,type:"scale"})}function Wxe(t,e,r){return eu(t,{tick:r,index:e,type:"tick"})}function Yxe(t,e,r){let n=tC(t);return(r&&e!=="right"||!r&&e==="right")&&(n=zxe(n)),n}function Kxe(t,e,r,n){const{top:i,left:a,bottom:s,right:o,chart:u}=t,{chartArea:c,scales:l}=u;let d=0,f,p,m;const b=s-i,_=o-a;if(t.isHorizontal()){if(p=Kr(n,a,o),Je(r)){const S=Object.keys(r)[0],E=r[S];m=l[S].getPixelForValue(E)+b-e}else r==="center"?m=(c.bottom+c.top)/2+b-e:m=u3(t,r,e);f=o-a}else{if(Je(r)){const S=Object.keys(r)[0],E=r[S];p=l[S].getPixelForValue(E)-_+e}else r==="center"?p=(c.left+c.right)/2-_+e:p=u3(t,r,e);m=Kr(n,s,i),d=r==="left"?-nr:nr}return{titleX:p,titleY:m,maxWidth:f,rotation:d}}class $c extends Hs{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=Kn(e,Number.POSITIVE_INFINITY),r=Kn(r,Number.NEGATIVE_INFINITY),n=Kn(n,Number.POSITIVE_INFINITY),i=Kn(i,Number.NEGATIVE_INFINITY),{min:Kn(e,n),max:Kn(r,i),minDefined:rr(e),maxDefined:rr(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,c=o.length;u<c;++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:Kn(r,Kn(n,r)),max:Kn(n,Kn(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(){Mt(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=iEe(this,a,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=o<this.ticks.length;this._convertTicksToLabels(u?l3(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=Lxe(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(){Mt(this.options.afterUpdate,[this])}beforeSetDimensions(){Mt(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(){Mt(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Mt(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Mt(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=Mt(r.callback,[a.value,n,e],this)}afterTickToLabelConversion(){Mt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Mt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,r=e.ticks,n=c3(this.ticks.length,e.ticks.maxTicksLimit),i=r.minRotation||0,a=r.maxRotation;let s=i,o,u,c;if(!this._isVisible()||!r.display||i>=a||n<=1||!this.isHorizontal()){this.labelRotation=i;return}const l=this._getLabelSizes(),d=l.widest.width,f=l.highest.height,p=Nr(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-zf(e.grid)-r.padding-d3(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),s=ZP(Math.min(Math.asin(Nr((l.highest.height+6)/o,-1,1)),Math.asin(Nr(u/c,-1,1))-Math.asin(Nr(f/c,-1,1)))),s=Math.max(i,Math.min(a,s))),this.labelRotation=s}afterCalculateLabelRotation(){Mt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Mt(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=d3(i,r.options.font);if(o?(e.width=this.maxWidth,e.height=zf(a)+u):(e.height=this.maxHeight,e.width=zf(a)+u),n.display&&this.ticks.length){const{first:c,last:l,widest:d,highest:f}=this._getLabelSizes(),p=n.padding*2,m=zi(this.labelRotation),b=Math.cos(m),_=Math.sin(m);if(o){const S=n.mirror?0:_*d.width+b*f.height;e.height=Math.min(this.maxHeight,e.height+S+p)}else{const S=n.mirror?0:b*d.width+_*f.height;e.width=Math.min(this.maxWidth,e.width+S+p)}this._calculatePadding(c,l,_,b)}}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,c=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const l=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,p=0;u?c?(f=i*e.width,p=n*r.height):(f=n*e.height,p=i*r.width):a==="start"?p=r.width:a==="end"?f=e.width:a!=="inner"&&(f=e.width/2,p=r.width/2),this.paddingLeft=Math.max((f-l+s)*this.width/(this.width-l),0),this.paddingRight=Math.max((p-d+s)*this.width/(this.width-d),0)}else{let l=r.height/2,d=e.height/2;a==="start"?(l=0,d=e.height):a==="end"&&(l=r.height,d=0),this.paddingTop=l+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(){Mt(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++)it(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=l3(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/c3(r,n));let c=0,l=0,d,f,p,m,b,_,S,E,O,h,v;for(d=0;d<r;d+=u){if(m=e[d].label,b=this._resolveTickFontOptions(d),i.font=_=b.string,S=a[_]=a[_]||{data:{},gc:[]},E=b.lineHeight,O=h=0,!it(m)&&!It(m))O=sb(i,S.data,S.gc,O,m),h=E;else if(It(m))for(f=0,p=m.length;f<p;++f)v=m[f],!it(v)&&!It(v)&&(O=sb(i,S.data,S.gc,O,v),h+=E);s.push(O),o.push(h),c=Math.max(O,c),l=Math.max(h,l)}Uxe(a,r);const g=s.indexOf(c),T=o.indexOf(l),C=k=>({width:s[k]||0,height:o[k]||0});return{first:C(0),last:C(r-1),widest:C(g),highest:C(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 DTe(this._alignToPixels?vu(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=Wxe(this.getContext(),e,n))}return this.$context||(this.$context=Gxe(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,r=zi(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,c=this.isHorizontal(),d=this.ticks.length+(u?1:0),f=zf(a),p=[],m=o.setContext(this.getContext()),b=m.display?m.width:0,_=b/2,S=function(M){return vu(n,M,b)};let E,O,h,v,g,T,C,k,w,A,P,x;if(s==="top")E=S(this.bottom),T=this.bottom-f,k=E-_,A=S(e.top)+_,x=e.bottom;else if(s==="bottom")E=S(this.top),A=e.top,x=S(e.bottom)-_,T=E+_,k=this.top+f;else if(s==="left")E=S(this.right),g=this.right-f,C=E-_,w=S(e.left)+_,P=e.right;else if(s==="right")E=S(this.left),w=e.left,P=S(e.right)-_,g=E+_,C=this.left+f;else if(r==="x"){if(s==="center")E=S((e.top+e.bottom)/2+.5);else if(Je(s)){const M=Object.keys(s)[0],R=s[M];E=S(this.chart.scales[M].getPixelForValue(R))}A=e.top,x=e.bottom,T=E+_,k=T+f}else if(r==="y"){if(s==="center")E=S((e.left+e.right)/2);else if(Je(s)){const M=Object.keys(s)[0],R=s[M];E=S(this.chart.scales[M].getPixelForValue(R))}g=E-_,C=g-f,w=e.left,P=e.right}const $=Le(i.ticks.maxTicksLimit,d),D=Math.max(1,Math.ceil(d/$));for(O=0;O<d;O+=D){const M=this.getContext(O),R=a.setContext(M),N=o.setContext(M),j=R.lineWidth,z=R.color,V=N.dash||[],J=N.dashOffset,re=R.tickWidth,Y=R.tickColor,U=R.tickBorderDash||[],K=R.tickBorderDashOffset;h=Vxe(this,O,u),h!==void 0&&(v=vu(n,h,j),c?g=C=w=P=v:T=k=A=x=v,p.push({tx1:g,ty1:T,tx2:C,ty2:k,x1:w,y1:A,x2:P,y2:x,width:j,color:z,borderDash:V,borderDashOffset:J,tickWidth:re,tickColor:Y,tickBorderDash:U,tickBorderDashOffset:K}))}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:c,padding:l,mirror:d}=a,f=zf(n.grid),p=f+l,m=d?-l:p,b=-zi(this.labelRotation),_=[];let S,E,O,h,v,g,T,C,k,w,A,P,x="middle";if(i==="top")g=this.bottom-m,T=this._getXAxisLabelAlignment();else if(i==="bottom")g=this.top+m,T=this._getXAxisLabelAlignment();else if(i==="left"){const D=this._getYAxisLabelAlignment(f);T=D.textAlign,v=D.x}else if(i==="right"){const D=this._getYAxisLabelAlignment(f);T=D.textAlign,v=D.x}else if(r==="x"){if(i==="center")g=(e.top+e.bottom)/2+p;else if(Je(i)){const D=Object.keys(i)[0],M=i[D];g=this.chart.scales[D].getPixelForValue(M)+p}T=this._getXAxisLabelAlignment()}else if(r==="y"){if(i==="center")v=(e.left+e.right)/2-p;else if(Je(i)){const D=Object.keys(i)[0],M=i[D];v=this.chart.scales[D].getPixelForValue(M)}T=this._getYAxisLabelAlignment(f).textAlign}r==="y"&&(u==="start"?x="top":u==="end"&&(x="bottom"));const $=this._getLabelSizes();for(S=0,E=o.length;S<E;++S){O=o[S],h=O.label;const D=a.setContext(this.getContext(S));C=this.getPixelForTick(S)+a.labelOffset,k=this._resolveTickFontOptions(S),w=k.lineHeight,A=It(h)?h.length:1;const M=A/2,R=D.color,N=D.textStrokeColor,j=D.textStrokeWidth;let z=T;s?(v=C,T==="inner"&&(S===E-1?z=this.options.reverse?"left":"right":S===0?z=this.options.reverse?"right":"left":z="center"),i==="top"?c==="near"||b!==0?P=-A*w+w/2:c==="center"?P=-$.highest.height/2-M*w+w:P=-$.highest.height+w/2:c==="near"||b!==0?P=w/2:c==="center"?P=$.highest.height/2-M*w:P=$.highest.height-A*w,d&&(P*=-1),b!==0&&!D.showLabelBackdrop&&(v+=w/2*Math.sin(b))):(g=C,P=(1-A)*w/2);let V;if(D.showLabelBackdrop){const J=nn(D.backdropPadding),re=$.heights[S],Y=$.widths[S];let U=P-J.top,K=0-J.left;switch(x){case"middle":U-=re/2;break;case"bottom":U-=re;break}switch(T){case"center":K-=Y/2;break;case"right":K-=Y;break}V={left:K,top:U,width:Y+J.width,height:re+J.height,color:D.backdropColor}}_.push({label:h,font:k,textOffset:P,options:{rotation:b,color:R,strokeColor:N,strokeWidth:j,textAlign:z,textBaseline:x,translation:[v,g],backdrop:V}})}return _}_getXAxisLabelAlignment(){const{position:e,ticks:r}=this.options;if(-zi(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 c,l;return r==="left"?i?(l=this.right+a,n==="near"?c="left":n==="center"?(c="center",l+=u/2):(c="right",l+=u)):(l=this.right-o,n==="near"?c="right":n==="center"?(c="center",l-=u/2):(c="left",l=this.left)):r==="right"?i?(l=this.left+a,n==="near"?c="right":n==="center"?(c="center",l-=u/2):(c="left",l-=u)):(l=this.left+o,n==="near"?c="left":n==="center"?(c="center",l+=u/2):(c="right",l=this.right)):c="right",{textAlign:c,x:l}}_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,c,l)=>{!l.width||!l.color||(n.save(),n.lineWidth=l.width,n.strokeStyle=l.color,n.setLineDash(l.borderDash||[]),n.lineDashOffset=l.borderDashOffset,n.beginPath(),n.moveTo(u.x,u.y),n.lineTo(c.x,c.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 c,l,d,f;this.isHorizontal()?(c=vu(e,this.left,s)-s/2,l=vu(e,this.right,o)+o/2,d=f=u):(d=vu(e,this.top,s)-s/2,f=vu(e,this.bottom,o)+o/2,c=l=u),r.save(),r.lineWidth=a.width,r.strokeStyle=a.color,r.beginPath(),r.moveTo(c,d),r.lineTo(l,f),r.stroke(),r.restore()}drawLabels(e){if(!this.options.ticks.display)return;const n=this.ctx,i=this._computeLabelArea();i&&Vy(n,i);const a=this.getLabelItems(e);for(const s of a){const o=s.options,u=s.font,c=s.label,l=s.textOffset;mc(n,c,0,l,u,o)}i&&Uy(n)}drawTitle(){const{ctx:e,options:{position:r,title:n,reverse:i}}=this;if(!n.display)return;const a=Tr(n.font),s=nn(n.padding),o=n.align;let u=a.lineHeight/2;r==="bottom"||r==="center"||Je(r)?(u+=s.bottom,It(n.text)&&(u+=a.lineHeight*(n.text.length-1))):u+=s.top;const{titleX:c,titleY:l,maxWidth:d,rotation:f}=Kxe(this,u,r,o);mc(e,n.text,0,0,a,{color:n.color,maxWidth:d,rotation:f,textAlign:Yxe(o,r,i),textBaseline:"middle",translation:[c,l]})}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=Le(e.grid&&e.grid.z,-1),i=Le(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==$c.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 Tr(r.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Eg{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;Jxe(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,qxe(e,s,n),this.override&&ir.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 ir[i]&&(delete ir[i][n],this.override&&delete pc[n])}}function qxe(t,e,r){const n=gp(Object.create(null),[r?ir.get(r):{},ir.get(e),t.defaults]);ir.set(e,n),t.defaultRoutes&&Xxe(e,t.defaultRoutes),t.descriptors&&ir.describe(e,t.descriptors)}function Xxe(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(".");ir.route(a,i,u,o)})}function Jxe(t){return"id"in t&&"defaults"in t}class Qxe{constructor(){this.controllers=new Eg(Wi,"datasets",!0),this.elements=new Eg(Hs,"elements"),this.plugins=new Eg(Object,"plugins"),this.scales=new Eg($c,"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):vt(i,s=>{const o=n||this._getRegistryForType(s);this._exec(e,o,s)})})}_exec(e,r,n){const i=QP(e);Mt(n["before"+i],[],n),r[e](n),Mt(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 Oa=new Qxe;class Zxe{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(Mt(o,u,s)===!1&&i.cancelable)return!1}return!0}invalidate(){it(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=Le(n.options&&n.options.plugins,{}),a=ePe(n);return i===!1&&!r?[]:rPe(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 ePe(t){const e={},r=[],n=Object.keys(Oa.plugins.items);for(let a=0;a<n.length;a++)r.push(Oa.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 tPe(t,e){return!e&&t===!1?null:t===!0?{}:t}function rPe(t,{plugins:e,localIds:r},n,i){const a=[],s=t.getContext();for(const o of e){const u=o.id,c=tPe(n[u],i);c!==null&&a.push({plugin:o,options:nPe(t.config,{plugin:o,local:r[u]},c,s)})}return a}function nPe(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 bT(t,e){const r=ir.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||r.indexAxis||"x"}function iPe(t,e){let r=t;return t==="_index_"?r=e:t==="_value_"&&(r=e==="x"?"y":"x"),r}function aPe(t,e){return t===e?"_index_":"_value_"}function f3(t){if(t==="x"||t==="y"||t==="r")return t}function sPe(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function yT(t,...e){if(f3(t))return t;for(const r of e){const n=r.axis||sPe(r.position)||t.length>1&&f3(t[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function h3(t,e,r){if(r[e+"AxisID"]===t)return{axis:e}}function oPe(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 h3(t,"x",r[0])||h3(t,"y",r[0])}return{}}function uPe(t,e){const r=pc[t.type]||{scales:{}},n=e.scales||{},i=bT(t.type,e),a=Object.create(null);return Object.keys(n).forEach(s=>{const o=n[s];if(!Je(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=yT(s,o,oPe(s,t),ir.scales[o.type]),c=aPe(u,i),l=r.scales||{};a[s]=Nh(Object.create(null),[{axis:u},o,l[u],l[c]])}),t.data.datasets.forEach(s=>{const o=s.type||t.type,u=s.indexAxis||bT(o,e),l=(pc[o]||{}).scales||{};Object.keys(l).forEach(d=>{const f=iPe(d,u),p=s[f+"AxisID"]||f;a[p]=a[p]||Object.create(null),Nh(a[p],[{axis:f},n[p],l[d]])})}),Object.keys(a).forEach(s=>{const o=a[s];Nh(o,[ir.scales[o.type],ir.scale])}),a}function M7(t){const e=t.options||(t.options={});e.plugins=Le(e.plugins,{}),e.scales=uPe(t,e)}function $7(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function cPe(t){return t=t||{},t.data=$7(t.data),M7(t),t}const p3=new Map,k7=new Set;function xg(t,e){let r=p3.get(t);return r||(r=e(),p3.set(t,r),k7.add(r)),r}const Vf=(t,e,r)=>{const n=Vo(e,r);n!==void 0&&t.add(n)};class lPe{constructor(e){this._config=cPe(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=$7(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(),M7(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return xg(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,r){return xg(`${e}.transition.${r}`,()=>[[`datasets.${e}.transitions.${r}`,`transitions.${r}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,r){return xg(`${e}-${r}`,()=>[[`datasets.${e}.elements.${r}`,`datasets.${e}`,`elements.${r}`,""]])}pluginScopeKeys(e){const r=e.id,n=this.type;return xg(`${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(l=>{e&&(u.add(e),l.forEach(d=>Vf(u,e,d))),l.forEach(d=>Vf(u,i,d)),l.forEach(d=>Vf(u,pc[a]||{},d)),l.forEach(d=>Vf(u,ir,d)),l.forEach(d=>Vf(u,mT,d))});const c=Array.from(u);return c.length===0&&c.push(Object.create(null)),k7.has(r)&&s.set(r,c),c}chartOptionScopes(){const{options:e,type:r}=this;return[e,pc[r]||{},ir.datasets[r]||{},{type:r},ir,mT]}resolveNamedOptions(e,r,n,i=[""]){const a={$shared:!0},{resolver:s,subPrefixes:o}=m3(this._resolverCache,e,i);let u=s;if(fPe(s,r)){a.$shared=!1,n=Uo(n)?n():n;const c=this.createResolver(e,n,o);u=Td(s,n,c)}for(const c of r)a[c]=u[c];return a}createResolver(e,r,n=[""],i){const{resolver:a}=m3(this._resolverCache,e,n);return Je(r)?Td(a,r,void 0,i):a}}function m3(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:iC(e,r),subPrefixes:r.filter(o=>!o.toLowerCase().includes("hover"))},n.set(i,a)),a}const dPe=t=>Je(t)&&Object.getOwnPropertyNames(t).reduce((e,r)=>e||Uo(t[r]),!1);function fPe(t,e){const{isScriptable:r,isIndexable:n}=c7(t);for(const i of e){const a=r(i),s=n(i),o=(s||a)&&t[i];if(a&&(Uo(o)||dPe(o))||s&&It(o))return!0}return!1}var hPe="4.3.3";const pPe=["top","bottom","left","right","chartArea"];function g3(t,e){return t==="top"||t==="bottom"||pPe.indexOf(t)===-1&&e==="x"}function v3(t,e){return function(r,n){return r[t]===n[t]?r[e]-n[e]:r[t]-n[t]}}function b3(t){const e=t.chart,r=e.options.animation;e.notifyPlugins("afterRender"),Mt(r&&r.onComplete,[t],e)}function mPe(t){const e=t.chart,r=e.options.animation;Mt(r&&r.onProgress,[t],e)}function D7(t){return m7()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Av={},y3=t=>{const e=D7(t);return Object.values(Av).filter(r=>r.canvas===e).pop()};function gPe(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 vPe(t,e,r,n){return!r||t.type==="mouseout"?null:n?e:t}function bPe(t){const{xScale:e,yScale:r}=t;if(e&&r)return{left:e.left,right:e.right,top:r.top,bottom:r.bottom}}class xu{static register(...e){Oa.add(...e),_3()}static unregister(...e){Oa.remove(...e),_3()}constructor(e,r){const n=this.config=new lPe(r),i=D7(e),a=y3(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||Rxe(i)),this.platform.updateConfig(n);const o=this.platform.acquireContext(i,s.aspectRatio),u=o&&o.canvas,c=u&&u.height,l=u&&u.width;if(this.id=wTe(),this.ctx=o,this.canvas=u,this.width=l,this.height=c,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 Zxe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=NTe(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],Av[this.id]=this,!o||!u){console.error("Failed to create chart: can't acquire context from the given item");return}os.listen(this,"complete",b3),os.listen(this,"progress",mPe),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:r},width:n,height:i,_aspectRatio:a}=this;return it(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 Oa}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():H8(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return B8(this.canvas,this.ctx),this}stop(){return os.stop(this),this}resize(e,r){os.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,H8(this,o,!0)&&(this.notifyPlugins("resize",{size:s}),Mt(n.onResize,[this,s],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const r=this.options.scales||{};vt(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=yT(s,o),c=u==="r",l=u==="x";return{options:o,dposition:c?"chartArea":l?"bottom":"left",dtype:c?"radialLinear":l?"category":"linear"}}))),vt(a,s=>{const o=s.options,u=o.id,c=yT(u,o),l=Le(o.type,s.dtype);(o.position===void 0||g3(o.position,c)!==g3(s.dposition))&&(o.position=s.dposition),i[u]=!0;let d=null;if(u in n&&n[u].type===l)d=n[u];else{const f=Oa.getScale(l);d=new f({id:u,type:l,ctx:this.ctx,chart:this}),n[d.id]=d}d.init(o,e)}),vt(i,(s,o)=>{s||delete n[o]}),vt(n,s=>{Jr.configure(this,s,s.options),Jr.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(v3("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||bT(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=Oa.getController(o),{datasetElementType:c,dataElementType:l}=ir.datasets[o];Object.assign(u,{dataElementType:Oa.getElement(l),datasetElementType:c&&Oa.getElement(c)}),s.controller=new u(this,n),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){vt(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 c=0,l=this.data.datasets.length;c<l;c++){const{controller:d}=this.getDatasetMeta(c),f=!i&&a.indexOf(d)===-1;d.buildOrUpdateElements(f),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=n.layout.autoPadding?s:0,this._updateLayout(s),i||vt(a,c=>{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(v3("z","_idx"));const{_active:o,_lastEvent:u}=this;u?this._eventHandler(u,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){vt(this.scales,e=>{Jr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,r=new Set(Object.keys(this._listeners)),n=new Set(e.events);(!A8(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;gPe(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(!A8(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;Jr.update(this,this.width,this.height,e);const r=this.chartArea,n=r.width<=0||r.height<=0;this._layers=[],vt(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,Uo(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&&(os.has(this)?this.attached&&!os.running(this)&&os.start(this):(this.draw(),b3({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=bPe(e)||this.chartArea,s={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Vy(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&&Uy(r),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(e){return Es(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,r,n,i){const a=pxe.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=eu(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);vp(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(),os.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(),B8(e,r),this.platform.releaseContext(r),this.canvas=null,this.ctx=null),delete Av[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)};vt(this.options.events,a=>n(a,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,r=this.platform,n=(u,c)=>{r.addEventListener(this,u,c),e[u]=c},i=(u,c)=>{e[u]&&(r.removeEventListener(this,u,c),delete e[u])},a=(u,c)=>{this.canvas&&this.resize(u,c)};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(){vt(this._listeners,(e,r)=>{this.platform.removeEventListener(this,r,e)}),this._listeners={},vt(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 c=s&&this.getDatasetMeta(s.datasetIndex).controller;c&&c[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}});!nb(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,c)=>u.filter(l=>!c.some(d=>l.datasetIndex===d.datasetIndex&&l.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=PTe(e),c=vPe(e,this._lastEvent,n,u);n&&(this._lastEvent=null,Mt(a.onHover,[e,o,this],this),u&&Mt(a.onClick,[e,o,this],this));const l=!nb(o,i);return(l||r)&&(this._active=o,this._updateHoverStyles(o,i,r)),this._lastEvent=c,l}_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)}}ae(xu,"defaults",ir),ae(xu,"instances",Av),ae(xu,"overrides",pc),ae(xu,"registry",Oa),ae(xu,"version",hPe),ae(xu,"getChart",y3);function _3(){return vt(xu.instances,t=>t._plugins.invalidate())}function yPe(t,e,r){const{startAngle:n,pixelMargin:i,x:a,y:s,outerRadius:o,innerRadius:u}=e;let c=i/o;t.beginPath(),t.arc(a,s,o,n-c,r+c),u>i?(c=i/u,t.arc(a,s,u,r+c,n-c,!0)):t.arc(a,s,i,r+nr,n-nr),t.closePath(),t.clip()}function _Pe(t){return nC(t,["outerStart","outerEnd","innerStart","innerEnd"])}function wPe(t,e,r,n){const i=_Pe(t.options.borderRadius),a=(r-e)/2,s=Math.min(a,n*e/2),o=u=>{const c=(r-Math.min(a,u))*n/2;return Nr(u,0,Math.min(a,c))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:Nr(i.innerStart,0,s),innerEnd:Nr(i.innerEnd,0,s)}}function pl(t,e,r,n){return{x:r+t*Math.cos(e),y:n+t*Math.sin(e)}}function cb(t,e,r,n,i,a){const{x:s,y:o,startAngle:u,pixelMargin:c,innerRadius:l}=e,d=Math.max(e.outerRadius+n+r-c,0),f=l>0?l+n+r+c:0;let p=0;const m=i-u;if(n){const D=l>0?l-n:0,M=d>0?d-n:0,R=(D+M)/2,N=R!==0?m*R/(R+n):m;p=(m-N)/2}const b=Math.max(.001,m*d-r/Vt)/d,_=(m-b)/2,S=u+_+p,E=i-_-p,{outerStart:O,outerEnd:h,innerStart:v,innerEnd:g}=wPe(e,f,d,E-S),T=d-O,C=d-h,k=S+O/T,w=E-h/C,A=f+v,P=f+g,x=S+v/A,$=E-g/P;if(t.beginPath(),a){const D=(k+w)/2;if(t.arc(s,o,d,k,D),t.arc(s,o,d,D,w),h>0){const j=pl(C,w,s,o);t.arc(j.x,j.y,h,w,E+nr)}const M=pl(P,E,s,o);if(t.lineTo(M.x,M.y),g>0){const j=pl(P,$,s,o);t.arc(j.x,j.y,g,E+nr,$+Math.PI)}const R=(E-g/f+(S+v/f))/2;if(t.arc(s,o,f,E-g/f,R,!0),t.arc(s,o,f,R,S+v/f,!0),v>0){const j=pl(A,x,s,o);t.arc(j.x,j.y,v,x+Math.PI,S-nr)}const N=pl(T,S,s,o);if(t.lineTo(N.x,N.y),O>0){const j=pl(T,k,s,o);t.arc(j.x,j.y,O,S-nr,k)}}else{t.moveTo(s,o);const D=Math.cos(k)*d+s,M=Math.sin(k)*d+o;t.lineTo(D,M);const R=Math.cos(w)*d+s,N=Math.sin(w)*d+o;t.lineTo(R,N)}t.closePath()}function SPe(t,e,r,n,i){const{fullCircles:a,startAngle:s,circumference:o}=e;let u=e.endAngle;if(a){cb(t,e,r,n,u,i);for(let c=0;c<a;++c)t.fill();isNaN(o)||(u=s+(o%Rt||Rt))}return cb(t,e,r,n,u,i),t.fill(),u}function OPe(t,e,r,n,i){const{fullCircles:a,startAngle:s,circumference:o,options:u}=e,{borderWidth:c,borderJoinStyle:l,borderDash:d,borderDashOffset:f}=u,p=u.borderAlign==="inner";if(!c)return;t.setLineDash(d||[]),t.lineDashOffset=f,p?(t.lineWidth=c*2,t.lineJoin=l||"round"):(t.lineWidth=c,t.lineJoin=l||"bevel");let m=e.endAngle;if(a){cb(t,e,r,n,m,i);for(let b=0;b<a;++b)t.stroke();isNaN(o)||(m=s+(o%Rt||Rt))}p&&yPe(t,e,m),a||(cb(t,e,r,n,m,i),t.stroke())}class mh extends Hs{constructor(r){super();ae(this,"circumference");ae(this,"endAngle");ae(this,"fullCircles");ae(this,"innerRadius");ae(this,"outerRadius");ae(this,"pixelMargin");ae(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}=ZU(a,{x:r,y:n}),{startAngle:u,endAngle:c,innerRadius:l,outerRadius:d,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),p=(this.options.spacing+this.options.borderWidth)/2,b=Le(f,c-u)>=Rt||bp(s,u,c),_=Os(o,l+p,d+p);return b&&_}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:c,spacing:l}=this.options,d=(a+s)/2,f=(o+u+l+c)/2;return{x:n+Math.cos(d)*f,y:i+Math.sin(d)*f}}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>Rt?Math.floor(i/Rt):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 c=1-Math.sin(Math.min(Vt,i||0)),l=a*c;r.fillStyle=n.backgroundColor,r.strokeStyle=n.borderColor,SPe(r,this,l,s,o),OPe(r,this,l,s,o),r.restore()}}ae(mh,"id","arc"),ae(mh,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),ae(mh,"defaultRoutes",{backgroundColor:"backgroundColor"}),ae(mh,"descriptors",{_scriptable:!0,_indexable:r=>r!=="borderDash"});function I7(t,e,r=e){t.lineCap=Le(r.borderCapStyle,e.borderCapStyle),t.setLineDash(Le(r.borderDash,e.borderDash)),t.lineDashOffset=Le(r.borderDashOffset,e.borderDashOffset),t.lineJoin=Le(r.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Le(r.borderWidth,e.borderWidth),t.strokeStyle=Le(r.borderColor,e.borderColor)}function TPe(t,e,r){t.lineTo(r.x,r.y)}function EPe(t){return t.stepped?qTe:t.tension||t.cubicInterpolationMode==="monotone"?XTe:TPe}function R7(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),c=Math.min(a,o),l=i<s&&a<s||i>o&&a>o;return{count:n,start:u,loop:e.loop,ilen:c<u&&!l?n+c-u:c-u}}function xPe(t,e,r,n){const{points:i,options:a}=e,{count:s,start:o,loop:u,ilen:c}=R7(i,r,n),l=EPe(a);let{move:d=!0,reverse:f}=n||{},p,m,b;for(p=0;p<=c;++p)m=i[(o+(f?c-p:p))%s],!m.skip&&(d?(t.moveTo(m.x,m.y),d=!1):l(t,b,m,f,a.stepped),b=m);return u&&(m=i[(o+(f?c:0))%s],l(t,b,m,f,a.stepped)),!!u}function PPe(t,e,r,n){const i=e.points,{count:a,start:s,ilen:o}=R7(i,r,n),{move:u=!0,reverse:c}=n||{};let l=0,d=0,f,p,m,b,_,S;const E=h=>(s+(c?o-h:h))%a,O=()=>{b!==_&&(t.lineTo(l,_),t.lineTo(l,b),t.lineTo(l,S))};for(u&&(p=i[E(0)],t.moveTo(p.x,p.y)),f=0;f<=o;++f){if(p=i[E(f)],p.skip)continue;const h=p.x,v=p.y,g=h|0;g===m?(v<b?b=v:v>_&&(_=v),l=(d*l+h)/++d):(O(),t.lineTo(h,v),m=g,d=0,b=_=v),S=v}O()}function _T(t){const e=t.options,r=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!r?PPe:xPe}function CPe(t){return t.stepped?CEe:t.tension||t.cubicInterpolationMode==="monotone"?AEe:Eu}function APe(t,e,r,n){let i=e._path;i||(i=e._path=new Path2D,e.path(i,r,n)&&i.closePath()),I7(t,e.options),t.stroke(i)}function MPe(t,e,r,n){const{segments:i,options:a}=e,s=_T(e);for(const o of i)I7(t,a,o.style),t.beginPath(),s(t,e,o,{start:r,end:r+n-1})&&t.closePath(),t.stroke()}const $Pe=typeof Path2D=="function";function kPe(t,e,r,n){$Pe&&!e.options.segment?APe(t,e,r,n):MPe(t,e,r,n)}class _o extends Hs{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;_Ee(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=REe(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=_7(this,{property:r,start:i,end:i});if(!s.length)return;const o=[],u=CPe(n);let c,l;for(c=0,l=s.length;c<l;++c){const{start:d,end:f}=s[c],p=a[d],m=a[f];if(p===m){o.push(p);continue}const b=Math.abs((i-p[r])/(m[r]-p[r])),_=u(p,m,b,n.stepped);_[r]=e[r],o.push(_)}return o.length===1?o[0]:o}pathSegment(e,r,n){return _T(this)(e,this,r,n)}path(e,r,n){const i=this.segments,a=_T(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(),kPe(e,this,n,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}ae(_o,"id","line"),ae(_o,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),ae(_o,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),ae(_o,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function w3(t,e,r,n){const i=t.options,{[r]:a}=t.getProps([r],n);return Math.abs(e-a)<i.radius+i.hitRadius}class Mv extends Hs{constructor(r){super();ae(this,"parsed");ae(this,"skip");ae(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 w3(this,r,"x",n)}inYRange(r,n){return w3(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||!Es(this,n,this.size(i)/2)||(r.strokeStyle=i.borderColor,r.lineWidth=i.borderWidth,r.fillStyle=i.backgroundColor,gT(r,i,this.x,this.y))}getRange(){const r=this.options||{};return r.radius+r.hitRadius}}ae(Mv,"id","point"),ae(Mv,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),ae(Mv,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function L7(t,e){const{x:r,y:n,base:i,width:a,height:s}=t.getProps(["x","y","base","width","height"],e);let o,u,c,l,d;return t.horizontal?(d=s/2,o=Math.min(r,i),u=Math.max(r,i),c=n-d,l=n+d):(d=a/2,o=r-d,u=r+d,c=Math.min(n,i),l=Math.max(n,i)),{left:o,top:c,right:u,bottom:l}}function wo(t,e,r,n){return t?0:Nr(e,r,n)}function DPe(t,e,r){const n=t.options.borderWidth,i=t.borderSkipped,a=u7(n);return{t:wo(i.top,a.top,0,r),r:wo(i.right,a.right,0,e),b:wo(i.bottom,a.bottom,0,r),l:wo(i.left,a.left,0,e)}}function IPe(t,e,r){const{enableBorderRadius:n}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,a=Gu(i),s=Math.min(e,r),o=t.borderSkipped,u=n||Je(i);return{topLeft:wo(!u||o.top||o.left,a.topLeft,0,s),topRight:wo(!u||o.top||o.right,a.topRight,0,s),bottomLeft:wo(!u||o.bottom||o.left,a.bottomLeft,0,s),bottomRight:wo(!u||o.bottom||o.right,a.bottomRight,0,s)}}function RPe(t){const e=L7(t),r=e.right-e.left,n=e.bottom-e.top,i=DPe(t,r/2,n/2),a=IPe(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 H1(t,e,r,n){const i=e===null,a=r===null,o=t&&!(i&&a)&&L7(t,n);return o&&(i||Os(e,o.left,o.right))&&(a||Os(r,o.top,o.bottom))}function LPe(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function NPe(t,e){t.rect(e.x,e.y,e.w,e.h)}function z1(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 $v extends Hs{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}=RPe(this),o=LPe(s.radius)?yp:NPe;e.save(),(s.w!==a.w||s.h!==a.h)&&(e.beginPath(),o(e,z1(s,r,a)),e.clip(),o(e,z1(a,-r,s)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),o(e,z1(a,r)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,r,n){return H1(this,e,r,n)}inXRange(e,r){return H1(this,e,null,r)}inYRange(e,r){return H1(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}}ae($v,"id","bar"),ae($v,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),ae($v,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var BPe=Object.freeze({__proto__:null,ArcElement:mh,BarElement:$v,LineElement:_o,PointElement:Mv});const wT=["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)"],S3=wT.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function N7(t){return wT[t%wT.length]}function B7(t){return S3[t%S3.length]}function FPe(t,e){return t.borderColor=N7(e),t.backgroundColor=B7(e),++e}function jPe(t,e){return t.backgroundColor=t.data.map(()=>N7(e++)),e}function HPe(t,e){return t.backgroundColor=t.data.map(()=>B7(e++)),e}function zPe(t){let e=0;return(r,n)=>{const i=t.getDatasetMeta(n).controller;i instanceof Nu?e=jPe(r,e):i instanceof Hh?e=HPe(r,e):i&&(e=FPe(r,e))}}function O3(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function VPe(t){return t&&(t.borderColor||t.backgroundColor)}var UPe={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&&(O3(n)||VPe(i)||a&&O3(a)))return;const s=zPe(t);n.forEach(s)}};function GPe(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 c=e+r-1;let l=e,d,f,p,m,b;for(s[u++]=t[l],d=0;d<a-2;d++){let _=0,S=0,E;const O=Math.floor((d+1)*o)+1+e,h=Math.min(Math.floor((d+2)*o)+1,r)+e,v=h-O;for(E=O;E<h;E++)_+=t[E].x,S+=t[E].y;_/=v,S/=v;const g=Math.floor(d*o)+1+e,T=Math.min(Math.floor((d+1)*o)+1,r)+e,{x:C,y:k}=t[l];for(p=m=-1,E=g;E<T;E++)m=.5*Math.abs((C-_)*(t[E].y-k)-(C-t[E].x)*(S-k)),m>p&&(p=m,f=t[E],b=E);s[u++]=f,l=b}return s[u++]=t[c],s}function WPe(t,e,r,n){let i=0,a=0,s,o,u,c,l,d,f,p,m,b;const _=[],S=e+r-1,E=t[e].x,h=t[S].x-E;for(s=e;s<e+r;++s){o=t[s],u=(o.x-E)/h*n,c=o.y;const v=u|0;if(v===l)c<m?(m=c,d=s):c>b&&(b=c,f=s),i=(a*i+o.x)/++a;else{const g=s-1;if(!it(d)&&!it(f)){const T=Math.min(d,f),C=Math.max(d,f);T!==p&&T!==g&&_.push({...t[T],x:i}),C!==p&&C!==g&&_.push({...t[C],x:i})}s>0&&g!==p&&_.push(t[g]),_.push(o),l=v,a=0,m=b=c,d=f=p=s}}return _}function F7(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 T3(t){t.data.datasets.forEach(e=>{F7(e)})}function YPe(t,e){const r=e.length;let n=0,i;const{iScale:a}=t,{min:s,max:o,minDefined:u,maxDefined:c}=a.getUserBounds();return u&&(n=Nr(Ts(e,a.axis,s).lo,0,r-1)),c?i=Nr(Ts(e,a.axis,o).hi+1,n,r)-n:i=r-n,{start:n,count:i}}var KPe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,r)=>{if(!r.enabled){T3(t);return}const n=t.width;t.data.datasets.forEach((i,a)=>{const{_data:s,indexAxis:o}=i,u=t.getDatasetMeta(a),c=s||i.data;if(hh([o,t.options.indexAxis])==="y"||!u.controller.supportsDecimation)return;const l=t.scales[u.xAxisID];if(l.type!=="linear"&&l.type!=="time"||t.options.parsing)return;let{start:d,count:f}=YPe(u,c);const p=r.threshold||4*n;if(f<=p){F7(i);return}it(s)&&(i._data=c,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(b){this._data=b}}));let m;switch(r.algorithm){case"lttb":m=GPe(c,d,f,n,r);break;case"min-max":m=WPe(c,d,f,n);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}i._decimated=m})},destroy(t){T3(t)}};function qPe(t,e,r){const n=t.segments,i=t.points,a=e.points,s=[];for(const o of n){let{start:u,end:c}=o;c=cC(u,c,i);const l=ST(r,i[u],i[c],o.loop);if(!e.segments){s.push({source:o,target:l,start:i[u],end:i[c]});continue}const d=_7(e,l);for(const f of d){const p=ST(r,a[f.start],a[f.end],f.loop),m=y7(o,i,p);for(const b of m)s.push({source:b,target:f,start:{[r]:E3(l,p,"start",Math.max)},end:{[r]:E3(l,p,"end",Math.min)}})}}return s}function ST(t,e,r,n){if(n)return;let i=e[t],a=r[t];return t==="angle"&&(i=Qn(i),a=Qn(a)),{property:t,start:i,end:a}}function XPe(t,e){const{x:r=null,y:n=null}=t||{},i=e.points,a=[];return e.segments.forEach(({start:s,end:o})=>{o=cC(s,o,i);const u=i[s],c=i[o];n!==null?(a.push({x:u.x,y:n}),a.push({x:c.x,y:n})):r!==null&&(a.push({x:r,y:u.y}),a.push({x:r,y:c.y}))}),a}function cC(t,e,r){for(;e>t;e--){const n=r[e];if(!isNaN(n.x)&&!isNaN(n.y))break}return e}function E3(t,e,r,n){return t&&e?n(t[r],e[r]):t?t[r]:e?e[r]:0}function j7(t,e){let r=[],n=!1;return It(t)?(n=!0,r=t):r=XPe(t,e),r.length?new _o({points:r,options:{tension:0},_loop:n,_fullLoop:n}):null}function x3(t){return t&&t.fill!==!1}function JPe(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(!rr(i))return i;if(s=t[i],!s)return!1;if(s.visible)return i;a.push(i),i=s.fill}return!1}function QPe(t,e,r){const n=rCe(t);if(Je(n))return isNaN(n.value)?!1:n;let i=parseFloat(n);return rr(i)&&Math.floor(i)===i?ZPe(n[0],e,i,r):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function ZPe(t,e,r,n){return(t==="-"||t==="+")&&(r=e+r),r===e||r<0||r>=n?!1:r}function eCe(t,e){let r=null;return t==="start"?r=e.bottom:t==="end"?r=e.top:Je(t)?r=e.getPixelForValue(t.value):e.getBasePixel&&(r=e.getBasePixel()),r}function tCe(t,e,r){let n;return t==="start"?n=r:t==="end"?n=e.options.reverse?e.min:e.max:Je(t)?n=t.value:n=e.getBaseValue(),n}function rCe(t){const e=t.options,r=e.fill;let n=Le(r&&r.target,r);return n===void 0&&(n=!!e.backgroundColor),n===!1||n===null?!1:n===!0?"origin":n}function nCe(t){const{scale:e,index:r,line:n}=t,i=[],a=n.segments,s=n.points,o=iCe(e,r);o.push(j7({x:null,y:e.bottom},n));for(let u=0;u<a.length;u++){const c=a[u];for(let l=c.start;l<=c.end;l++)aCe(i,s[l],o)}return new _o({points:i,options:{}})}function iCe(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 aCe(t,e,r){const n=[];for(let i=0;i<r.length;i++){const a=r[i],{first:s,last:o,point:u}=sCe(a,e,"x");if(!(!u||s&&o)){if(s)n.unshift(u);else if(t.push(u),!o)break}}t.push(...n)}function sCe(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 c=0;c<a.length;c++){const l=a[c],d=s[l.start][r],f=s[l.end][r];if(Os(i,d,f)){o=i===d,u=i===f;break}}return{first:o,last:u,point:n}}class H7{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:Rt},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 oCe(t){const{chart:e,fill:r,line:n}=t;if(rr(r))return uCe(e,r);if(r==="stack")return nCe(t);if(r==="shape")return!0;const i=cCe(t);return i instanceof H7?i:j7(i,n)}function uCe(t,e){const r=t.getDatasetMeta(e);return r&&t.isDatasetVisible(e)?r.dataset:null}function cCe(t){return(t.scale||{}).getPointPositionForValue?dCe(t):lCe(t)}function lCe(t){const{scale:e={},fill:r}=t,n=eCe(r,e);if(rr(n)){const i=e.isHorizontal();return{x:i?n:null,y:i?null:n}}return null}function dCe(t){const{scale:e,fill:r}=t,n=e.options,i=e.getLabels().length,a=n.reverse?e.max:e.min,s=tCe(r,e,a),o=[];if(n.grid.circular){const u=e.getPointPositionForValue(0,a);return new H7({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 V1(t,e,r){const n=oCe(e),{line:i,scale:a,axis:s}=e,o=i.options,u=o.fill,c=o.backgroundColor,{above:l=c,below:d=c}=u||{};n&&i.points.length&&(Vy(t,r),fCe(t,{line:i,target:n,above:l,below:d,area:r,scale:a,axis:s}),Uy(t))}function fCe(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&&(P3(t,n,s.top),C3(t,{line:r,target:n,color:i,scale:o,property:u}),t.restore(),t.save(),P3(t,n,s.bottom)),C3(t,{line:r,target:n,color:a,scale:o,property:u}),t.restore()}function P3(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:c}=o,l=i[u],d=i[cC(u,c,i)];a?(t.moveTo(l.x,l.y),a=!1):(t.lineTo(l.x,r),t.lineTo(l.x,l.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 C3(t,e){const{line:r,target:n,property:i,color:a,scale:s}=e,o=qPe(r,n,i);for(const{source:u,target:c,start:l,end:d}of o){const{style:{backgroundColor:f=a}={}}=u,p=n!==!0;t.save(),t.fillStyle=f,hCe(t,s,p&&ST(i,l,d)),t.beginPath();const m=!!r.pathSegment(t,u);let b;if(p){m?t.closePath():A3(t,n,d,i);const _=!!n.pathSegment(t,c,{move:m,reverse:!0});b=m&&_,b||A3(t,n,l,i)}t.closePath(),t.fill(b?"evenodd":"nonzero"),t.restore()}}function hCe(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 A3(t,e,r,n){const i=e.interpolate(r,n);i&&t.lineTo(i.x,i.y)}var pCe={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 _o&&(u={visible:t.isDatasetVisible(s),index:s,fill:QPe(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=JPe(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&&V1(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;x3(a)&&V1(t.ctx,a,t.chartArea)}},beforeDatasetDraw(t,e,r){const n=e.meta.$filler;!x3(n)||r.drawTime!=="beforeDatasetDraw"||V1(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const M3=(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)}},mCe=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class $3 extends Hs{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=Mt(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=Tr(n.font),a=i.size,s=this._computeTitleHeight(),{boxWidth:o,itemHeight:u}=M3(n,a);let c,l;r.font=i.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(s,a,o,u)+10):(l=this.maxHeight,c=this._fitCols(s,i,o,u)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,r,n,i){const{ctx:a,maxWidth:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],c=this.lineWidths=[0],l=i+o;let d=e;a.textAlign="left",a.textBaseline="middle";let f=-1,p=-l;return this.legendItems.forEach((m,b)=>{const _=n+r/2+a.measureText(m.text).width;(b===0||c[c.length-1]+_+2*o>s)&&(d+=l,c[c.length-(b>0?0:1)]=0,p+=l,f++),u[b]={left:0,top:p,row:f,width:_,height:i},c[c.length-1]+=_+o}),d}_fitCols(e,r,n,i){const{ctx:a,maxHeight:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],c=this.columnSizes=[],l=s-e;let d=o,f=0,p=0,m=0,b=0;return this.legendItems.forEach((_,S)=>{const{itemWidth:E,itemHeight:O}=gCe(n,r,a,_,i);S>0&&p+O+2*o>l&&(d+=f+o,c.push({width:f,height:p}),m+=f+o,b++,f=p=0),u[S]={left:m,top:p,col:b,width:E,height:O},f=Math.max(f,E),p+=O+o}),d+=f,c.push({width:f,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=Xl(a,this.left,this.width);if(this.isHorizontal()){let o=0,u=Kr(n,this.left+i,this.right-this.lineWidths[o]);for(const c of r)o!==c.row&&(o=c.row,u=Kr(n,this.left+i,this.right-this.lineWidths[o])),c.top+=this.top+e+i,c.left=s.leftForLtr(s.x(u),c.width),u+=c.width+i}else{let o=0,u=Kr(n,this.top+e+i,this.bottom-this.columnSizes[o].height);for(const c of r)c.col!==o&&(o=c.col,u=Kr(n,this.top+e+i,this.bottom-this.columnSizes[o].height)),c.top=u,c.left+=this.left+i,c.left=s.leftForLtr(s.x(c.left),c.width),u+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;Vy(e,this),this._draw(),Uy(e)}}_draw(){const{options:e,columnSizes:r,lineWidths:n,ctx:i}=this,{align:a,labels:s}=e,o=ir.color,u=Xl(e.rtl,this.left,this.width),c=Tr(s.font),{padding:l}=s,d=c.size,f=d/2;let p;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:m,boxHeight:b,itemHeight:_}=M3(s,d),S=function(g,T,C){if(isNaN(m)||m<=0||isNaN(b)||b<0)return;i.save();const k=Le(C.lineWidth,1);if(i.fillStyle=Le(C.fillStyle,o),i.lineCap=Le(C.lineCap,"butt"),i.lineDashOffset=Le(C.lineDashOffset,0),i.lineJoin=Le(C.lineJoin,"miter"),i.lineWidth=k,i.strokeStyle=Le(C.strokeStyle,o),i.setLineDash(Le(C.lineDash,[])),s.usePointStyle){const w={radius:b*Math.SQRT2/2,pointStyle:C.pointStyle,rotation:C.rotation,borderWidth:k},A=u.xPlus(g,m/2),P=T+f;o7(i,w,A,P,s.pointStyleWidth&&m)}else{const w=T+Math.max((d-b)/2,0),A=u.leftForLtr(g,m),P=Gu(C.borderRadius);i.beginPath(),Object.values(P).some(x=>x!==0)?yp(i,{x:A,y:w,w:m,h:b,radius:P}):i.rect(A,w,m,b),i.fill(),k!==0&&i.stroke()}i.restore()},E=function(g,T,C){mc(i,C.text,g,T+_/2,c,{strikethrough:C.hidden,textAlign:u.textAlign(C.textAlign)})},O=this.isHorizontal(),h=this._computeTitleHeight();O?p={x:Kr(a,this.left+l,this.right-n[0]),y:this.top+l+h,line:0}:p={x:this.left+l,y:Kr(a,this.top+h+l,this.bottom-r[0].height),line:0},g7(this.ctx,e.textDirection);const v=_+l;this.legendItems.forEach((g,T)=>{i.strokeStyle=g.fontColor,i.fillStyle=g.fontColor;const C=i.measureText(g.text).width,k=u.textAlign(g.textAlign||(g.textAlign=s.textAlign)),w=m+f+C;let A=p.x,P=p.y;u.setWidth(this.width),O?T>0&&A+w+l>this.right&&(P=p.y+=v,p.line++,A=p.x=Kr(a,this.left+l,this.right-n[p.line])):T>0&&P+v>this.bottom&&(A=p.x=A+r[p.line].width+l,p.line++,P=p.y=Kr(a,this.top+h+l,this.bottom-r[p.line].height));const x=u.x(A);if(S(x,P,g),A=BTe(k,A+m+f,O?A+w:this.right,e.rtl),E(u.x(A),P,g),O)p.x+=w+l;else if(typeof g.text!="string"){const $=c.lineHeight;p.y+=z7(g,$)+l}else p.y+=v}),v7(this.ctx,e.textDirection)}drawTitle(){const e=this.options,r=e.title,n=Tr(r.font),i=nn(r.padding);if(!r.display)return;const a=Xl(e.rtl,this.left,this.width),s=this.ctx,o=r.position,u=n.size/2,c=i.top+u;let l,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),l=this.top+c,d=Kr(e.align,d,this.right-f);else{const m=this.columnSizes.reduce((b,_)=>Math.max(b,_.height),0);l=c+Kr(e.align,this.top,this.bottom-m-e.labels.padding-this._computeTitleHeight())}const p=Kr(o,d,d+f);s.textAlign=a.textAlign(tC(o)),s.textBaseline="middle",s.strokeStyle=r.color,s.fillStyle=r.color,s.font=n.string,mc(s,r.text,p,l,n)}_computeTitleHeight(){const e=this.options.title,r=Tr(e.font),n=nn(e.padding);return e.display?r.lineHeight+n.height:0}_getLegendItemAt(e,r){let n,i,a;if(Os(e,this.left,this.right)&&Os(r,this.top,this.bottom)){for(a=this.legendHitBoxes,n=0;n<a.length;++n)if(i=a[n],Os(e,i.left,i.left+i.width)&&Os(r,i.top,i.top+i.height))return this.legendItems[n]}return null}handleEvent(e){const r=this.options;if(!yCe(e.type,r))return;const n=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const i=this._hoveredItem,a=mCe(i,n);i&&!a&&Mt(r.onLeave,[e,i,this],this),this._hoveredItem=n,n&&!a&&Mt(r.onHover,[e,n,this],this)}else n&&Mt(r.onClick,[e,n,this],this)}}function gCe(t,e,r,n,i){const a=vCe(n,t,e,r),s=bCe(i,n,e.lineHeight);return{itemWidth:a,itemHeight:s}}function vCe(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 bCe(t,e,r){let n=t;return typeof e.text!="string"&&(n=z7(e,r)),n}function z7(t,e){const r=t.text?t.text.length:0;return e*r}function yCe(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var _Ce={id:"legend",_element:$3,start(t,e,r){const n=t.legend=new $3({ctx:t.ctx,options:r,chart:t});Jr.configure(t,n,r),Jr.addBox(t,n)},stop(t){Jr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,r){const n=t.legend;Jr.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 c=u.controller.getStyle(r?0:void 0),l=nn(c.borderWidth);return{text:e[u.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!u.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:n||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:s&&(o||c.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 lC extends Hs{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=It(n.text)?n.text.length:1;this._padding=nn(n.padding);const a=i*Tr(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,c,l,d;return this.isHorizontal()?(l=Kr(o,n,a),d=r+e,c=a-n):(s.position==="left"?(l=n+e,d=Kr(o,i,r),u=Vt*-.5):(l=a-e,d=Kr(o,r,i),u=Vt*.5),c=i-r),{titleX:l,titleY:d,maxWidth:c,rotation:u}}draw(){const e=this.ctx,r=this.options;if(!r.display)return;const n=Tr(r.font),a=n.lineHeight/2+this._padding.top,{titleX:s,titleY:o,maxWidth:u,rotation:c}=this._drawArgs(a);mc(e,r.text,0,0,n,{color:r.color,maxWidth:u,rotation:c,textAlign:tC(r.align),textBaseline:"middle",translation:[s,o]})}}function wCe(t,e){const r=new lC({ctx:t.ctx,options:e,chart:t});Jr.configure(t,r,e),Jr.addBox(t,r),t.titleBlock=r}var SCe={id:"title",_element:lC,start(t,e,r){wCe(t,r)},stop(t){const e=t.titleBlock;Jr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,r){const n=t.titleBlock;Jr.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 Pg=new WeakMap;var OCe={id:"subtitle",start(t,e,r){const n=new lC({ctx:t.ctx,options:r,chart:t});Jr.configure(t,n,r),Jr.addBox(t,n),Pg.set(t,n)},stop(t){Jr.removeBox(t,Pg.get(t)),Pg.delete(t)},beforeUpdate(t,e,r){const n=Pg.get(t);Jr.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 gh={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 c=u.getCenterPoint(),l=pT(e,c);l<i&&(i=l,o=u)}}if(o){const u=o.tooltipPosition();r=u.x,n=u.y}return{x:r,y:n}}};function _a(t,e){return e&&(It(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function us(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
`)>-1?t.split(`
`):t}function TCe(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 k3(t,e){const r=t.chart.ctx,{body:n,footer:i,title:a}=t,{boxWidth:s,boxHeight:o}=e,u=Tr(e.bodyFont),c=Tr(e.titleFont),l=Tr(e.footerFont),d=a.length,f=i.length,p=n.length,m=nn(e.padding);let b=m.height,_=0,S=n.reduce((h,v)=>h+v.before.length+v.lines.length+v.after.length,0);if(S+=t.beforeBody.length+t.afterBody.length,d&&(b+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),S){const h=e.displayColors?Math.max(o,u.lineHeight):u.lineHeight;b+=p*h+(S-p)*u.lineHeight+(S-1)*e.bodySpacing}f&&(b+=e.footerMarginTop+f*l.lineHeight+(f-1)*e.footerSpacing);let E=0;const O=function(h){_=Math.max(_,r.measureText(h).width+E)};return r.save(),r.font=c.string,vt(t.title,O),r.font=u.string,vt(t.beforeBody.concat(t.afterBody),O),E=e.displayColors?s+2+e.boxPadding:0,vt(n,h=>{vt(h.before,O),vt(h.lines,O),vt(h.after,O)}),E=0,r.font=l.string,vt(t.footer,O),r.restore(),_+=m.width,{width:_,height:b}}function ECe(t,e){const{y:r,height:n}=e;return r<n/2?"top":r>t.height-n/2?"bottom":"center"}function xCe(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 PCe(t,e,r,n){const{x:i,width:a}=r,{width:s,chartArea:{left:o,right:u}}=t;let c="center";return n==="center"?c=i<=(o+u)/2?"left":"right":i<=a/2?c="left":i>=s-a/2&&(c="right"),xCe(c,t,e,r)&&(c="center"),c}function D3(t,e,r){const n=r.yAlign||e.yAlign||ECe(t,r);return{xAlign:r.xAlign||e.xAlign||PCe(t,e,r,n),yAlign:n}}function CCe(t,e){let{x:r,width:n}=t;return e==="right"?r-=n:e==="center"&&(r-=n/2),r}function ACe(t,e,r){let{y:n,height:i}=t;return e==="top"?n+=r:e==="bottom"?n-=i+r:n-=i/2,n}function I3(t,e,r,n){const{caretSize:i,caretPadding:a,cornerRadius:s}=t,{xAlign:o,yAlign:u}=r,c=i+a,{topLeft:l,topRight:d,bottomLeft:f,bottomRight:p}=Gu(s);let m=CCe(e,o);const b=ACe(e,u,c);return u==="center"?o==="left"?m+=c:o==="right"&&(m-=c):o==="left"?m-=Math.max(l,f)+i:o==="right"&&(m+=Math.max(d,p)+i),{x:Nr(m,0,n.width-e.width),y:Nr(b,0,n.height-e.height)}}function Cg(t,e,r){const n=nn(r.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-n.right:t.x+n.left}function R3(t){return _a([],us(t))}function MCe(t,e,r){return eu(t,{tooltip:e,tooltipItems:r,type:"tooltip"})}function L3(t,e){const r=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return r?t.override(r):t}const V7={beforeTitle:as,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:as,beforeBody:as,beforeLabel:as,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 it(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:as,afterBody:as,beforeFooter:as,footer:as,afterFooter:as};function Tn(t,e,r,n){const i=t[e].call(r,n);return typeof i>"u"?V7[e].call(r,n):i}class OT extends Hs{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 w7(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=MCe(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=_a(o,us(i)),o=_a(o,us(a)),o=_a(o,us(s)),o}getBeforeBody(e,r){return R3(Tn(r.callbacks,"beforeBody",this,e))}getBody(e,r){const{callbacks:n}=r,i=[];return vt(e,a=>{const s={before:[],lines:[],after:[]},o=L3(n,a);_a(s.before,us(Tn(o,"beforeLabel",this,a))),_a(s.lines,Tn(o,"label",this,a)),_a(s.after,us(Tn(o,"afterLabel",this,a))),i.push(s)}),i}getAfterBody(e,r){return R3(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=_a(o,us(i)),o=_a(o,us(a)),o=_a(o,us(s)),o}_createItems(e){const r=this._active,n=this.chart.data,i=[],a=[],s=[];let o=[],u,c;for(u=0,c=r.length;u<c;++u)o.push(TCe(this.chart,r[u]));return e.filter&&(o=o.filter((l,d,f)=>e.filter(l,d,f,n))),e.itemSort&&(o=o.sort((l,d)=>e.itemSort(l,d,n))),vt(o,l=>{const d=L3(e.callbacks,l);i.push(Tn(d,"labelColor",this,l)),a.push(Tn(d,"labelPointStyle",this,l)),s.push(Tn(d,"labelTextColor",this,l))}),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=gh[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=k3(this,n),c=Object.assign({},o,u),l=D3(this.chart,n,c),d=I3(n,c,l,this.chart);this.xAlign=l.xAlign,this.yAlign=l.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:c,bottomLeft:l,bottomRight:d}=Gu(o),{x:f,y:p}=e,{width:m,height:b}=r;let _,S,E,O,h,v;return a==="center"?(h=p+b/2,i==="left"?(_=f,S=_-s,O=h+s,v=h-s):(_=f+m,S=_+s,O=h-s,v=h+s),E=_):(i==="left"?S=f+Math.max(u,l)+s:i==="right"?S=f+m-Math.max(c,d)-s:S=this.caretX,a==="top"?(O=p,h=O-s,_=S-s,E=S+s):(O=p+b,h=O+s,_=S+s,E=S-s),v=O),{x1:_,x2:S,x3:E,y1:O,y2:h,y3:v}}drawTitle(e,r,n){const i=this.title,a=i.length;let s,o,u;if(a){const c=Xl(n.rtl,this.x,this.width);for(e.x=Cg(this,n.titleAlign,n),r.textAlign=c.textAlign(n.titleAlign),r.textBaseline="middle",s=Tr(n.titleFont),o=n.titleSpacing,r.fillStyle=n.titleColor,r.font=s.string,u=0;u<a;++u)r.fillText(i[u],c.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:c}=a,l=Tr(a.bodyFont),d=Cg(this,"left",a),f=i.x(d),p=u<l.lineHeight?(l.lineHeight-u)/2:0,m=r.y+p;if(a.usePointStyle){const b={radius:Math.min(c,u)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},_=i.leftForLtr(f,c)+c/2,S=m+u/2;e.strokeStyle=a.multiKeyBackground,e.fillStyle=a.multiKeyBackground,gT(e,b,_,S),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,gT(e,b,_,S)}else{e.lineWidth=Je(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 b=i.leftForLtr(f,c),_=i.leftForLtr(i.xPlus(f,1),c-2),S=Gu(s.borderRadius);Object.values(S).some(E=>E!==0)?(e.beginPath(),e.fillStyle=a.multiKeyBackground,yp(e,{x:b,y:m,w:c,h:u,radius:S}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),yp(e,{x:_,y:m+1,w:c-2,h:u-2,radius:S}),e.fill()):(e.fillStyle=a.multiKeyBackground,e.fillRect(b,m,c,u),e.strokeRect(b,m,c,u),e.fillStyle=s.backgroundColor,e.fillRect(_,m+1,c-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:c,boxPadding:l}=n,d=Tr(n.bodyFont);let f=d.lineHeight,p=0;const m=Xl(n.rtl,this.x,this.width),b=function(C){r.fillText(C,m.x(e.x+p),e.y+f/2),e.y+=f+a},_=m.textAlign(s);let S,E,O,h,v,g,T;for(r.textAlign=s,r.textBaseline="middle",r.font=d.string,e.x=Cg(this,_,n),r.fillStyle=n.bodyColor,vt(this.beforeBody,b),p=o&&_!=="right"?s==="center"?c/2+l:c+2+l:0,h=0,g=i.length;h<g;++h){for(S=i[h],E=this.labelTextColors[h],r.fillStyle=E,vt(S.before,b),O=S.lines,o&&O.length&&(this._drawColorBox(r,e,h,m,n),f=Math.max(d.lineHeight,u)),v=0,T=O.length;v<T;++v)b(O[v]),f=d.lineHeight;vt(S.after,b)}p=0,f=d.lineHeight,vt(this.afterBody,b),e.y-=a}drawFooter(e,r,n){const i=this.footer,a=i.length;let s,o;if(a){const u=Xl(n.rtl,this.x,this.width);for(e.x=Cg(this,n.footerAlign,n),e.y+=n.footerMarginTop,r.textAlign=u.textAlign(n.footerAlign),r.textBaseline="middle",s=Tr(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:c,height:l}=n,{topLeft:d,topRight:f,bottomLeft:p,bottomRight:m}=Gu(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+c-f,u),r.quadraticCurveTo(o+c,u,o+c,u+f),s==="center"&&a==="right"&&this.drawCaret(e,r,n,i),r.lineTo(o+c,u+l-m),r.quadraticCurveTo(o+c,u+l,o+c-m,u+l),s==="bottom"&&this.drawCaret(e,r,n,i),r.lineTo(o+p,u+l),r.quadraticCurveTo(o,u+l,o,u+l-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=gh[e.position].call(this,this._active,this._eventPosition);if(!s)return;const o=this._size=k3(this,e),u=Object.assign({},s,this._size),c=D3(r,e,u),l=I3(e,u,c,r);(i._to!==l.x||a._to!==l.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=o.width,this.height=o.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,l))}}_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=nn(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),g7(e,r.textDirection),a.y+=s.top,this.drawTitle(a,e,r),this.drawBody(a,e,r),this.drawFooter(a,e,r),v7(e,r.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,r){const n=this._active,i=e.map(({datasetIndex:o,index:u})=>{const c=this.chart.getDatasetMeta(o);if(!c)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:c.data[u],index:u}}),a=!nb(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||!nb(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=gh[a.position].call(this,e,r);return s!==!1&&(n!==s.x||i!==s.y)}}ae(OT,"positioners",gh);var $Ce={id:"tooltip",_element:OT,positioners:gh,afterInit(t,e,r){r&&(t.tooltip=new OT({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:V7},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"]},kCe=Object.freeze({__proto__:null,Colors:UPe,Decimation:KPe,Filler:pCe,Legend:_Ce,SubTitle:OCe,Title:SCe,Tooltip:$Ce});const DCe=(t,e,r,n)=>(typeof e=="string"?(r=t.push(e)-1,n.unshift({index:r,label:e})):isNaN(e)&&(r=null),r);function ICe(t,e,r,n){const i=t.indexOf(e);if(i===-1)return DCe(t,e,r,n);const a=t.lastIndexOf(e);return i!==a?r:i}const RCe=(t,e)=>t===null?null:Nr(Math.round(t),0,e);function N3(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class TT extends $c{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(it(e))return null;const n=this.getLabels();return r=isFinite(r)&&n[r]===e?r:ICe(n,e,Le(r,e),this._addedLabels),RCe(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 N3.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}}ae(TT,"id","category"),ae(TT,"defaults",{ticks:{callback:N3}});function LCe(t,e){const r=[],{bounds:i,step:a,min:s,max:o,precision:u,count:c,maxTicks:l,maxDigits:d,includeBounds:f}=t,p=a||1,m=l-1,{min:b,max:_}=e,S=!it(s),E=!it(o),O=!it(c),h=(_-b)/(d+1);let v=$8((_-b)/m/p)*p,g,T,C,k;if(v<1e-14&&!S&&!E)return[{value:b},{value:_}];k=Math.ceil(_/v)-Math.floor(b/v),k>m&&(v=$8(k*v/m/p)*p),it(u)||(g=Math.pow(10,u),v=Math.ceil(v*g)/g),i==="ticks"?(T=Math.floor(b/v)*v,C=Math.ceil(_/v)*v):(T=b,C=_),S&&E&&a&&$Te((o-s)/a,v/1e3)?(k=Math.round(Math.min((o-s)/v,l)),v=(o-s)/k,T=s,C=o):O?(T=S?s:T,C=E?o:C,k=c-1,v=(C-T)/k):(k=(C-T)/v,Bh(k,Math.round(k),v/1e3)?k=Math.round(k):k=Math.ceil(k));const w=Math.max(k8(v),k8(T));g=Math.pow(10,it(u)?w:u),T=Math.round(T*g)/g,C=Math.round(C*g)/g;let A=0;for(S&&(f&&T!==s?(r.push({value:s}),T<s&&A++,Bh(Math.round((T+A*v)*g)/g,s,B3(s,h,t))&&A++):T<s&&A++);A<k;++A){const P=Math.round((T+A*v)*g)/g;if(E&&P>o)break;r.push({value:P})}return E&&f&&C!==o?r.length&&Bh(r[r.length-1].value,o,B3(o,h,t))?r[r.length-1].value=o:r.push({value:o}):(!E||C===o)&&r.push({value:C}),r}function B3(t,e,{horizontal:r,minRotation:n}){const i=zi(n),a=(r?Math.sin(i):Math.cos(i))||.001,s=.75*e*(""+t).length;return Math.min(e/a,s)}class lb extends $c{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 it(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=ja(i),c=ja(a);u<0&&c<0?o(0):u>0&&c>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=LCe(i,a);return e.bounds==="ticks"&&QU(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 em(e,this.chart.options.locale,this.options.ticks.format)}}class ET extends lb{determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=rr(e)?e:0,this.max=rr(r)?r:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),r=e?this.width:this.height,n=zi(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}}ae(ET,"id","linear"),ae(ET,"defaults",{ticks:{callback:zy.formatters.numeric}});const wp=t=>Math.floor(yo(t)),yu=(t,e)=>Math.pow(10,wp(t)+e);function F3(t){return t/Math.pow(10,wp(t))===1}function j3(t,e,r){const n=Math.pow(10,r),i=Math.floor(t/n);return Math.ceil(e/n)-i}function NCe(t,e){const r=e-t;let n=wp(r);for(;j3(t,e,n)>10;)n++;for(;j3(t,e,n)<10;)n--;return Math.min(n,wp(t))}function BCe(t,{min:e,max:r}){e=Kn(t.min,e);const n=[],i=wp(e);let a=NCe(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,c=Math.round((e-u)*s)/s,l=Math.floor((e-u)/o/10)*o*10;let d=Math.floor((c-l)/Math.pow(10,a)),f=Kn(t.min,Math.round((u+l+d*Math.pow(10,a))*s)/s);for(;f<r;)n.push({value:f,major:F3(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,s=a>=0?1:s),f=Math.round((u+l+d*Math.pow(10,a))*s)/s;const p=Kn(t.max,f);return n.push({value:p,major:F3(p),significand:d}),n}class xT extends $c{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,r){const n=lb.prototype.parse.apply(this,[e,r]);if(n===0){this._zero=!0;return}return rr(n)&&n>0?n:null}determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=rr(e)?Math.max(0,e):null,this.max=rr(r)?Math.max(0,r):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!rr(this._userMin)&&(this.min=e===yu(this.min,0)?yu(this.min,-1):yu(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(yu(n,-1)),s(yu(i,1)))),n<=0&&a(yu(i,-1)),i<=0&&s(yu(n,1)),this.min=n,this.max=i}buildTicks(){const e=this.options,r={min:this._userMin,max:this._userMax},n=BCe(r,this);return e.bounds==="ticks"&&QU(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":em(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=yo(e),this._valueRange=yo(this.max)-yo(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(yo(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const r=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+r*this._valueRange)}}ae(xT,"id","logarithmic"),ae(xT,"defaults",{ticks:{callback:zy.formatters.logarithmic,major:{enabled:!0}}});function PT(t){const e=t.ticks;if(e.display&&t.display){const r=nn(e.backdropPadding);return Le(e.font&&e.font.size,ir.font.size)+r.height}return 0}function FCe(t,e,r){return r=It(r)?r:[r],{w:KTe(t,e.string,r),h:r.length*e.lineHeight}}function H3(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 jCe(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?Vt/a:0;for(let u=0;u<a;u++){const c=s.setContext(t.getPointLabelContext(u));i[u]=c.padding;const l=t.getPointPosition(u,t.drawingArea+i[u],o),d=Tr(c.font),f=FCe(t.ctx,d,t._pointLabels[u]);n[u]=f;const p=Qn(t.getIndexAngle(u)+o),m=Math.round(ZP(p)),b=H3(m,l.x,f.w,0,180),_=H3(m,l.y,f.h,90,270);HCe(r,e,p,b,_)}t.setCenterPoint(e.l-r.l,r.r-e.r,e.t-r.t,r.b-e.b),t._pointLabelItems=UCe(t,n,i)}function HCe(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 zCe(t,e,r){const n=t.drawingArea,{extra:i,additionalAngle:a,padding:s,size:o}=r,u=t.getPointPosition(e,n+i+s,a),c=Math.round(ZP(Qn(u.angle+nr))),l=YCe(u.y,o.h,c),d=GCe(c),f=WCe(u.x,o.w,d);return{visible:!0,x:u.x,y:l,textAlign:d,left:f,top:l,right:f+o.w,bottom:l+o.h}}function VCe(t,e){if(!e)return!0;const{left:r,top:n,right:i,bottom:a}=t;return!(Es({x:r,y:n},e)||Es({x:r,y:a},e)||Es({x:i,y:n},e)||Es({x:i,y:a},e))}function UCe(t,e,r){const n=[],i=t._pointLabels.length,a=t.options,{centerPointLabels:s,display:o}=a.pointLabels,u={extra:PT(a)/2,additionalAngle:s?Vt/i:0};let c;for(let l=0;l<i;l++){u.padding=r[l],u.size=e[l];const d=zCe(t,l,u);n.push(d),o==="auto"&&(d.visible=VCe(d,c),d.visible&&(c=d))}return n}function GCe(t){return t===0||t===180?"center":t<180?"left":"right"}function WCe(t,e,r){return r==="right"?t-=e:r==="center"&&(t-=e/2),t}function YCe(t,e,r){return r===90||r===270?t-=e/2:(r>270||r<90)&&(t-=e),t}function KCe(t,e,r){const{left:n,top:i,right:a,bottom:s}=r,{backdropColor:o}=e;if(!it(o)){const u=Gu(e.borderRadius),c=nn(e.backdropPadding);t.fillStyle=o;const l=n-c.left,d=i-c.top,f=a-n+c.width,p=s-i+c.height;Object.values(u).some(m=>m!==0)?(t.beginPath(),yp(t,{x:l,y:d,w:f,h:p,radius:u}),t.fill()):t.fillRect(l,d,f,p)}}function qCe(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));KCe(r,s,a);const o=Tr(s.font),{x:u,y:c,textAlign:l}=a;mc(r,t._pointLabels[i],u,c+o.lineHeight/2,o,{color:s.color,textAlign:l,textBaseline:"middle"})}}function U7(t,e,r,n){const{ctx:i}=t;if(r)i.arc(t.xCenter,t.yCenter,e,0,Rt);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 XCe(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(),U7(t,r,s,n),a.closePath(),a.stroke(),a.restore())}function JCe(t,e,r){return eu(t,{label:r,index:e,type:"pointLabel"})}class vh extends lb{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=nn(PT(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=rr(e)&&!isNaN(e)?e:0,this.max=rr(r)&&!isNaN(r)?r:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/PT(this.options))}generateTickLabels(e){lb.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((r,n)=>{const i=Mt(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?jCe(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=Rt/(this._pointLabels.length||1),n=this.options.startAngle||0;return Qn(e*r+zi(n))}getDistanceFromCenterForValue(e){if(it(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(it(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 JCe(this.getContext(),e,n)}}getPointPosition(e,r,n=0){const i=this.getIndexAngle(e)-nr+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(),U7(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,c;if(r.pointLabels.display&&qCe(this,s),i.display&&this.ticks.forEach((l,d)=>{if(d!==0){u=this.getDistanceFromCenterForValue(l.value);const f=this.getContext(d),p=i.setContext(f),m=a.setContext(f);XCe(this,p,u,s,m)}}),n.display){for(e.save(),o=s-1;o>=0;o--){const l=n.setContext(this.getPointLabelContext(o)),{color:d,lineWidth:f}=l;!f||!d||(e.lineWidth=f,e.strokeStyle=d,e.setLineDash(l.borderDash),e.lineDashOffset=l.borderDashOffset,u=this.getDistanceFromCenterForValue(r.ticks.reverse?this.min:this.max),c=this.getPointPosition(o,u),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.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 c=n.setContext(this.getContext(u)),l=Tr(c.font);if(a=this.getDistanceFromCenterForValue(this.ticks[u].value),c.showLabelBackdrop){e.font=l.string,s=e.measureText(o.label).width,e.fillStyle=c.backdropColor;const d=nn(c.backdropPadding);e.fillRect(-s/2-d.left,-a-l.size/2-d.top,s+d.width,l.size+d.height)}mc(e,o.label,0,-a,l,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}ae(vh,"id","radialLinear"),ae(vh,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:zy.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),ae(vh,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),ae(vh,"descriptors",{angleLines:{_fallback:"grid"}});const Wy={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}},Mn=Object.keys(Wy);function z3(t,e){return t-e}function V3(t,e){if(it(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)),rr(s)||(s=typeof n=="string"?r.parse(s,n):r.parse(s)),s===null?null:(i&&(s=i==="week"&&(Od(a)||a===!0)?r.startOf(s,"isoWeek",a):r.startOf(s,i)),+s)}function U3(t,e,r,n){const i=Mn.length;for(let a=Mn.indexOf(t);a<i-1;++a){const s=Wy[Mn[a]],o=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((r-e)/(o*s.size))<=n)return Mn[a]}return Mn[i-1]}function QCe(t,e,r,n,i){for(let a=Mn.length-1;a>=Mn.indexOf(r);a--){const s=Mn[a];if(Wy[s].common&&t._adapter.diff(i,n,s)>=e-1)return s}return Mn[r?Mn.indexOf(r):0]}function ZCe(t){for(let e=Mn.indexOf(t)+1,r=Mn.length;e<r;++e)if(Wy[Mn[e]].common)return Mn[e]}function G3(t,e,r){if(!r)t[e]=!0;else if(r.length){const{lo:n,hi:i}=eC(r,e),a=r[n]>=e?r[n]:r[i];t[a]=!0}}function eAe(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 W3(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:eAe(t,n,i,r)}class Sp extends $c{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 T7._date(e.adapters.date);i.init(r),Nh(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:V3(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(c){!s&&!isNaN(c.min)&&(i=Math.min(i,c.min)),!o&&!isNaN(c.max)&&(a=Math.max(a,c.max))}(!s||!o)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),i=rr(i)&&!isNaN(i)?i:+r.startOf(Date.now(),n),a=rr(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=RTe(i,a,s);return this._unit=r.unit||(n.autoSkip?U3(r.minUnit,this.min,this.max,this._getLabelCapacity(a)):QCe(this,o.length,r.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:ZCe(this._unit),this.initOffsets(i),e.reverse&&o.reverse(),W3(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=Nr(r,0,s),n=Nr(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||U3(a.minUnit,r,n,this._getLabelCapacity(r)),o=Le(i.ticks.stepSize,1),u=s==="week"?a.isoWeekday:!1,c=Od(u)||u===!0,l={};let d=r,f,p;if(c&&(d=+e.startOf(d,"isoWeek",u)),d=+e.startOf(d,c?"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 m=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,p=0;f<n;f=+e.add(f,o,s),p++)G3(l,f,m);return(f===n||i.bounds==="ticks"||p===1)&&G3(l,f,m),Object.keys(l).sort(z3).map(b=>+b)}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 Mt(s,[e,r,n],this);const o=a.time.displayFormats,u=this._unit,c=this._majorUnit,l=u&&o[u],d=c&&o[c],f=n[r],p=c&&d&&f&&f.major;return this._adapter.format(e,i||(p?d:l))}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=zi(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,W3(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(V3(this,i[r]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return t7(e.sort(z3))}}ae(Sp,"id","time"),ae(Sp,"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 Ag(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}=Ts(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}=Ts(t,"time",e)),{time:a,pos:o}=t[n],{time:s,pos:u}=t[i]);const c=s-a;return c?o+(u-o)*(e-a)/c:o}class CT extends Sp{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=Ag(r,this.min),this._tableRange=Ag(r,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:r,max:n}=this,i=[],a=[];let s,o,u,c,l;for(s=0,o=e.length;s<o;++s)c=e[s],c>=r&&c<=n&&i.push(c);if(i.length<2)return[{time:r,pos:0},{time:n,pos:1}];for(s=0,o=i.length;s<o;++s)l=i[s+1],u=i[s-1],c=i[s],Math.round((l+u)/2)!==c&&a.push({time:c,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(Ag(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const r=this._offsets,n=this.getDecimalForPixel(e)/r.factor-r.end;return Ag(this._table,n*this._tableRange+this._minPos,!0)}}ae(CT,"id","timeseries"),ae(CT,"defaults",Sp.defaults);var tAe=Object.freeze({__proto__:null,CategoryScale:TT,LinearScale:ET,LogarithmicScale:xT,RadialLinearScale:vh,TimeScale:Sp,TimeSeriesScale:CT});const CBe=[cxe,BPe,kCe,tAe];function Nt(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 ye(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function xe(t){ye(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 G7(t,e){ye(2,arguments);var r=xe(t),n=Nt(e);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function dC(t,e){ye(2,arguments);var r=xe(t),n=Nt(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 rm(t,e){ye(2,arguments);var r=xe(t).getTime(),n=Nt(e);return new Date(r+n)}var rAe=36e5;function nAe(t,e){ye(2,arguments);var r=Nt(e);return rm(t,r*rAe)}var iAe={};function tu(){return iAe}function Y3(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=tu(),d=Nt((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:l.weekStartsOn)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=xe(t),p=f.getDay(),m=(p<d?7:0)+p-d;return f.setDate(f.getDate()-m),f.setHours(0,0,0,0),f}function db(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 AT(t){ye(1,arguments);var e=xe(t);return e.setHours(0,0,0,0),e}var aAe=864e5;function sAe(t,e){ye(2,arguments);var r=AT(t),n=AT(e),i=r.getTime()-db(r),a=n.getTime()-db(n);return Math.round((i-a)/aAe)}var oAe=6e4;function uAe(t,e){ye(2,arguments);var r=Nt(e);return rm(t,r*oAe)}function cAe(t,e){ye(2,arguments);var r=Nt(e),n=r*3;return dC(t,n)}function lAe(t,e){ye(2,arguments);var r=Nt(e);return rm(t,r*1e3)}function dAe(t,e){ye(2,arguments);var r=Nt(e),n=r*7;return G7(t,n)}function fAe(t,e){ye(2,arguments);var r=Nt(e);return dC(t,r*12)}function zh(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}var Yy=6e4,Ky=36e5,hAe=1e3;function pAe(t){return ye(1,arguments),t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function W7(t){if(ye(1,arguments),!pAe(t)&&typeof t!="number")return!1;var e=xe(t);return!isNaN(Number(e))}function mAe(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}function gAe(t,e){ye(2,arguments);var r=xe(t),n=xe(e);return r.getFullYear()-n.getFullYear()}function K3(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 Y7(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=K3(r,n),a=Math.abs(sAe(r,n));r.setDate(r.getDate()-i*a);var s=+(K3(r,n)===-i),o=i*(a-s);return o===0?0:o}function qy(t,e){return ye(2,arguments),xe(t).getTime()-xe(e).getTime()}var q3={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},vAe="trunc";function nm(t){return t?q3[t]:q3[vAe]}function bAe(t,e,r){ye(2,arguments);var n=qy(t,e)/Ky;return nm(r==null?void 0:r.roundingMethod)(n)}function yAe(t,e,r){ye(2,arguments);var n=qy(t,e)/Yy;return nm(r==null?void 0:r.roundingMethod)(n)}function K7(t){ye(1,arguments);var e=xe(t);return e.setHours(23,59,59,999),e}function q7(t){ye(1,arguments);var e=xe(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function _Ae(t){ye(1,arguments);var e=xe(t);return K7(e).getTime()===q7(e).getTime()}function X7(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=zh(r,n),a=Math.abs(mAe(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=zh(r,n)===-i;_Ae(xe(t))&&a===1&&zh(t,n)===1&&(o=!1),s=i*(a-Number(o))}return s===0?0:s}function wAe(t,e,r){ye(2,arguments);var n=X7(t,e)/3;return nm(r==null?void 0:r.roundingMethod)(n)}function SAe(t,e,r){ye(2,arguments);var n=qy(t,e)/1e3;return nm(r==null?void 0:r.roundingMethod)(n)}function OAe(t,e,r){ye(2,arguments);var n=Y7(t,e)/7;return nm(r==null?void 0:r.roundingMethod)(n)}function TAe(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=zh(r,n),a=Math.abs(gAe(r,n));r.setFullYear(1584),n.setFullYear(1584);var s=zh(r,n)===-i,o=i*(a-Number(s));return o===0?0:o}function EAe(t){ye(1,arguments);var e=xe(t);return e.setSeconds(0,0),e}function xAe(t){ye(1,arguments);var e=xe(t),r=e.getMonth(),n=r-r%3;return e.setMonth(n,1),e.setHours(0,0,0,0),e}function PAe(t){ye(1,arguments);var e=xe(t);return e.setDate(1),e.setHours(0,0,0,0),e}function CAe(t){ye(1,arguments);var e=xe(t),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}function AAe(t){ye(1,arguments);var e=xe(t),r=new Date(0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}function MAe(t){ye(1,arguments);var e=xe(t);return e.setMinutes(59,59,999),e}function $Ae(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=tu(),d=Nt((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:l.weekStartsOn)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=xe(t),p=f.getDay(),m=(p<d?-7:0)+6-(p-d);return f.setDate(f.getDate()+m),f.setHours(23,59,59,999),f}function kAe(t){ye(1,arguments);var e=xe(t);return e.setSeconds(59,999),e}function DAe(t){ye(1,arguments);var e=xe(t),r=e.getMonth(),n=r-r%3+3;return e.setMonth(n,0),e.setHours(23,59,59,999),e}function IAe(t){ye(1,arguments);var e=xe(t);return e.setMilliseconds(999),e}function J7(t,e){ye(2,arguments);var r=Nt(e);return rm(t,-r)}var RAe=864e5;function LAe(t){ye(1,arguments);var e=xe(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/RAe)+1}function xd(t){ye(1,arguments);var e=1,r=xe(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 Q7(t){ye(1,arguments);var e=xe(t),r=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=xd(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var s=xd(a);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function NAe(t){ye(1,arguments);var e=Q7(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=xd(r);return n}var BAe=6048e5;function Z7(t){ye(1,arguments);var e=xe(t),r=xd(e).getTime()-NAe(e).getTime();return Math.round(r/BAe)+1}function gc(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=tu(),d=Nt((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:l.weekStartsOn)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=xe(t),p=f.getUTCDay(),m=(p<d?7:0)+p-d;return f.setUTCDate(f.getUTCDate()-m),f.setUTCHours(0,0,0,0),f}function fC(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=xe(t),d=l.getUTCFullYear(),f=tu(),p=Nt((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:f.firstWeekContainsDate)!==null&&n!==void 0?n:(u=f.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(d+1,0,p),m.setUTCHours(0,0,0,0);var b=gc(m,e),_=new Date(0);_.setUTCFullYear(d,0,p),_.setUTCHours(0,0,0,0);var S=gc(_,e);return l.getTime()>=b.getTime()?d+1:l.getTime()>=S.getTime()?d:d-1}function FAe(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=tu(),d=Nt((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:l.firstWeekContainsDate)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),f=fC(t,e),p=new Date(0);p.setUTCFullYear(f,0,d),p.setUTCHours(0,0,0,0);var m=gc(p,e);return m}var jAe=6048e5;function eG(t,e){ye(1,arguments);var r=xe(t),n=gc(r,e).getTime()-FAe(r,e).getTime();return Math.round(n/jAe)+1}function gt(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var HAe={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return gt(e==="yy"?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return e==="M"?String(r+1):gt(r+1,2)},d:function(t,e){return gt(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 gt(t.getUTCHours()%12||12,e.length)},H:function(t,e){return gt(t.getUTCHours(),e.length)},m:function(t,e){return gt(t.getUTCMinutes(),e.length)},s:function(t,e){return gt(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 gt(i,e.length)}};const eo=HAe;var ml={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},zAe={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 eo.y(t,e)},Y:function(t,e,r,n){var i=fC(t,n),a=i>0?i:1-i;if(e==="YY"){var s=a%100;return gt(s,2)}return e==="Yo"?r.ordinalNumber(a,{unit:"year"}):gt(a,e.length)},R:function(t,e){var r=Q7(t);return gt(r,e.length)},u:function(t,e){var r=t.getUTCFullYear();return gt(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 gt(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 gt(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 eo.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 gt(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=eG(t,n);return e==="wo"?r.ordinalNumber(i,{unit:"week"}):gt(i,e.length)},I:function(t,e,r){var n=Z7(t);return e==="Io"?r.ordinalNumber(n,{unit:"week"}):gt(n,e.length)},d:function(t,e,r){return e==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):eo.d(t,e)},D:function(t,e,r){var n=LAe(t);return e==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):gt(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 gt(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 gt(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 gt(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=ml.noon:n===0?i=ml.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=ml.evening:n>=12?i=ml.afternoon:n>=4?i=ml.morning:i=ml.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 eo.h(t,e)},H:function(t,e,r){return e==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):eo.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return e==="Ko"?r.ordinalNumber(n,{unit:"hour"}):gt(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return n===0&&(n=24),e==="ko"?r.ordinalNumber(n,{unit:"hour"}):gt(n,e.length)},m:function(t,e,r){return e==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):eo.m(t,e)},s:function(t,e,r){return e==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):eo.s(t,e)},S:function(t,e){return eo.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 J3(a);case"XXXX":case"XX":return Pu(a);case"XXXXX":case"XXX":default:return Pu(a,":")}},x:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"x":return J3(a);case"xxxx":case"xx":return Pu(a);case"xxxxx":case"xxx":default:return Pu(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"+X3(a,":");case"OOOO":default:return"GMT"+Pu(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"+X3(a,":");case"zzzz":default:return"GMT"+Pu(a,":")}},t:function(t,e,r,n){var i=n._originalDate||t,a=Math.floor(i.getTime()/1e3);return gt(a,e.length)},T:function(t,e,r,n){var i=n._originalDate||t,a=i.getTime();return gt(a,e.length)}};function X3(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+gt(a,2)}function J3(t,e){if(t%60===0){var r=t>0?"-":"+";return r+gt(Math.abs(t)/60,2)}return Pu(t,e)}function Pu(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t),a=gt(Math.floor(i/60),2),s=gt(i%60,2);return n+a+r+s}const VAe=zAe;var Q3=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"})}},tG=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"})}},UAe=function(t,e){var r=t.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return Q3(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}}",Q3(n,e)).replace("{{time}}",tG(i,e))},GAe={p:tG,P:UAe};const MT=GAe;var WAe=["D","DD"],YAe=["YY","YYYY"];function rG(t){return WAe.indexOf(t)!==-1}function nG(t){return YAe.indexOf(t)!==-1}function fb(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 KAe={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"}},qAe=function(t,e,r){var n,i=KAe[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 XAe=qAe;function U1(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 JAe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},QAe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ZAe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},eMe={date:U1({formats:JAe,defaultWidth:"full"}),time:U1({formats:QAe,defaultWidth:"full"}),dateTime:U1({formats:ZAe,defaultWidth:"full"})};const tMe=eMe;var rMe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},nMe=function(t,e,r,n){return rMe[t]};const iMe=nMe;function Uf(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 c=t.argumentCallback?t.argumentCallback(e):e;return i[c]}}var aMe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},sMe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oMe={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"]},uMe={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"]},cMe={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"}},lMe={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"}},dMe=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"},fMe={ordinalNumber:dMe,era:Uf({values:aMe,defaultWidth:"wide"}),quarter:Uf({values:sMe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Uf({values:oMe,defaultWidth:"wide"}),day:Uf({values:uMe,defaultWidth:"wide"}),dayPeriod:Uf({values:cMe,defaultWidth:"wide",formattingValues:lMe,defaultFormattingWidth:"wide"})};const hMe=fMe;function Gf(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)?mMe(o,function(d){return d.test(s)}):pMe(o,function(d){return d.test(s)}),c;c=t.valueCallback?t.valueCallback(u):u,c=r.valueCallback?r.valueCallback(c):c;var l=e.slice(s.length);return{value:c,rest:l}}}function pMe(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function mMe(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}function gMe(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 vMe=/^(\d+)(th|st|nd|rd)?/i,bMe=/\d+/i,yMe={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},_Me={any:[/^b/i,/^(a|c)/i]},wMe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},SMe={any:[/1/i,/2/i,/3/i,/4/i]},OMe={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},TMe={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]},EMe={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},xMe={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]},PMe={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},CMe={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}},AMe={ordinalNumber:gMe({matchPattern:vMe,parsePattern:bMe,valueCallback:function(t){return parseInt(t,10)}}),era:Gf({matchPatterns:yMe,defaultMatchWidth:"wide",parsePatterns:_Me,defaultParseWidth:"any"}),quarter:Gf({matchPatterns:wMe,defaultMatchWidth:"wide",parsePatterns:SMe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Gf({matchPatterns:OMe,defaultMatchWidth:"wide",parsePatterns:TMe,defaultParseWidth:"any"}),day:Gf({matchPatterns:EMe,defaultMatchWidth:"wide",parsePatterns:xMe,defaultParseWidth:"any"}),dayPeriod:Gf({matchPatterns:PMe,defaultMatchWidth:"any",parsePatterns:CMe,defaultParseWidth:"any"})};const MMe=AMe;var $Me={code:"en-US",formatDistance:XAe,formatLong:tMe,formatRelative:iMe,localize:hMe,match:MMe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const iG=$Me;var kMe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,DMe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,IMe=/^'([^]*?)'?$/,RMe=/''/g,LMe=/[a-zA-Z]/;function NMe(t,e,r){var n,i,a,s,o,u,c,l,d,f,p,m,b,_,S,E,O,h;ye(2,arguments);var v=String(e),g=tu(),T=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:g.locale)!==null&&n!==void 0?n:iG,C=Nt((a=(s=(o=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(c=r.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&o!==void 0?o:g.firstWeekContainsDate)!==null&&s!==void 0?s:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=Nt((p=(m=(b=(_=r==null?void 0:r.weekStartsOn)!==null&&_!==void 0?_:r==null||(S=r.locale)===null||S===void 0||(E=S.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&b!==void 0?b:g.weekStartsOn)!==null&&m!==void 0?m:(O=g.locale)===null||O===void 0||(h=O.options)===null||h===void 0?void 0:h.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 w=xe(t);if(!W7(w))throw new RangeError("Invalid time value");var A=db(w),P=J7(w,A),x={firstWeekContainsDate:C,weekStartsOn:k,locale:T,_originalDate:w},$=v.match(DMe).map(function(D){var M=D[0];if(M==="p"||M==="P"){var R=MT[M];return R(D,T.formatLong)}return D}).join("").match(kMe).map(function(D){if(D==="''")return"'";var M=D[0];if(M==="'")return BMe(D);var R=VAe[M];if(R)return!(r!=null&&r.useAdditionalWeekYearTokens)&&nG(D)&&fb(D,e,String(t)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&rG(D)&&fb(D,e,String(t)),R(P,D,T.localize,x);if(M.match(LMe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return D}).join("");return $}function BMe(t){var e=t.match(IMe);return e?e[1].replace(RMe,"'"):t}function FMe(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 hb(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jMe=10;class aG{constructor(){hb(this,"priority",void 0),hb(this,"subPriority",0)}validate(e,r){return!0}}class HMe extends aG{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 zMe extends aG{constructor(){super(...arguments),hb(this,"priority",jMe),hb(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 G1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class dt{constructor(){G1(this,"incompatibleTokens",void 0),G1(this,"priority",void 0),G1(this,"subPriority",void 0)}run(e,r,n,i){var a=this.parse(e,r,n,i);return a?{setter:new HMe(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,r,n){return!0}}function Z3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class VMe extends dt{constructor(){super(...arguments),Z3(this,"priority",140),Z3(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 pr={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}/},$a={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 mr(t,e){return t&&{value:e(t.value),rest:t.rest}}function Xt(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function ka(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*Ky+a*Yy+s*hAe),rest:e.slice(r[0].length)}}function sG(t){return Xt(pr.anyDigitsSigned,t)}function ar(t,e){switch(t){case 1:return Xt(pr.singleDigit,e);case 2:return Xt(pr.twoDigits,e);case 3:return Xt(pr.threeDigits,e);case 4:return Xt(pr.fourDigits,e);default:return Xt(new RegExp("^\\d{1,"+t+"}"),e)}}function pb(t,e){switch(t){case 1:return Xt(pr.singleDigitSigned,e);case 2:return Xt(pr.twoDigitsSigned,e);case 3:return Xt(pr.threeDigitsSigned,e);case 4:return Xt(pr.fourDigitsSigned,e);default:return Xt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function hC(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 oG(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 uG(t){return t%400===0||t%4===0&&t%100!==0}function eL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class UMe extends dt{constructor(){super(...arguments),eL(this,"priority",130),eL(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 mr(ar(4,e),i);case"yo":return mr(n.ordinalNumber(e,{unit:"year"}),i);default:return mr(ar(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=oG(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 tL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class GMe extends dt{constructor(){super(...arguments),tL(this,"priority",130),tL(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 mr(ar(4,e),i);case"Yo":return mr(n.ordinalNumber(e,{unit:"year"}),i);default:return mr(ar(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,n,i){var a=fC(e,i);if(n.isTwoDigitYear){var s=oG(n.year,a);return e.setUTCFullYear(s,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),gc(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),gc(e,i)}}function rL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class WMe extends dt{constructor(){super(...arguments),rL(this,"priority",130),rL(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,r){return pb(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),xd(i)}}function nL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class YMe extends dt{constructor(){super(...arguments),nL(this,"priority",130),nL(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,r){return pb(r==="u"?4:r.length,e)}set(e,r,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}function iL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class KMe extends dt{constructor(){super(...arguments),iL(this,"priority",120),iL(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 ar(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 aL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class qMe extends dt{constructor(){super(...arguments),aL(this,"priority",120),aL(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 ar(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 sL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class XMe extends dt{constructor(){super(...arguments),sL(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),sL(this,"priority",110)}parse(e,r,n){var i=function(a){return a-1};switch(r){case"M":return mr(Xt(pr.month,e),i);case"MM":return mr(ar(2,e),i);case"Mo":return mr(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 oL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class JMe extends dt{constructor(){super(...arguments),oL(this,"priority",110),oL(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 mr(Xt(pr.month,e),i);case"LL":return mr(ar(2,e),i);case"Lo":return mr(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 QMe(t,e,r){ye(2,arguments);var n=xe(t),i=Nt(e),a=eG(n,r)-i;return n.setUTCDate(n.getUTCDate()-a*7),n}function uL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class ZMe extends dt{constructor(){super(...arguments),uL(this,"priority",100),uL(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,r,n){switch(r){case"w":return Xt(pr.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ar(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n,i){return gc(QMe(e,n,i),i)}}function e$e(t,e){ye(2,arguments);var r=xe(t),n=Nt(e),i=Z7(r)-n;return r.setUTCDate(r.getUTCDate()-i*7),r}function cL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class t$e extends dt{constructor(){super(...arguments),cL(this,"priority",100),cL(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 Xt(pr.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ar(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n){return xd(e$e(e,n))}}function W1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var r$e=[31,28,31,30,31,30,31,31,30,31,30,31],n$e=[31,29,31,30,31,30,31,31,30,31,30,31];class i$e extends dt{constructor(){super(...arguments),W1(this,"priority",90),W1(this,"subPriority",1),W1(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"d":return Xt(pr.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ar(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=uG(n),a=e.getUTCMonth();return i?r>=1&&r<=n$e[a]:r>=1&&r<=r$e[a]}set(e,r,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}function Y1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class a$e extends dt{constructor(){super(...arguments),Y1(this,"priority",90),Y1(this,"subpriority",1),Y1(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 Xt(pr.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ar(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=uG(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 pC(t,e,r){var n,i,a,s,o,u,c,l;ye(2,arguments);var d=tu(),f=Nt((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:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=xe(t),m=Nt(e),b=p.getUTCDay(),_=m%7,S=(_+7)%7,E=(S<f?7:0)+m-b;return p.setUTCDate(p.getUTCDate()+E),p}function lL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class s$e extends dt{constructor(){super(...arguments),lL(this,"priority",90),lL(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=pC(e,n,i),e.setUTCHours(0,0,0,0),e}}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}class o$e extends dt{constructor(){super(...arguments),dL(this,"priority",90),dL(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 mr(ar(r.length,e),a);case"eo":return mr(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=pC(e,n,i),e.setUTCHours(0,0,0,0),e}}function fL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class u$e extends dt{constructor(){super(...arguments),fL(this,"priority",90),fL(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 mr(ar(r.length,e),a);case"co":return mr(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=pC(e,n,i),e.setUTCHours(0,0,0,0),e}}function c$e(t,e){ye(2,arguments);var r=Nt(e);r%7===0&&(r=r-7);var n=1,i=xe(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 hL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class l$e extends dt{constructor(){super(...arguments),hL(this,"priority",90),hL(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 ar(r.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return mr(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 mr(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return mr(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return mr(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=c$e(e,n),e.setUTCHours(0,0,0,0),e}}function pL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class d$e extends dt{constructor(){super(...arguments),pL(this,"priority",80),pL(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(hC(n),0,0,0),e}}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}class f$e extends dt{constructor(){super(...arguments),mL(this,"priority",80),mL(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(hC(n),0,0,0),e}}function gL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class h$e extends dt{constructor(){super(...arguments),gL(this,"priority",80),gL(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(hC(n),0,0,0),e}}function vL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class p$e extends dt{constructor(){super(...arguments),vL(this,"priority",70),vL(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,r,n){switch(r){case"h":return Xt(pr.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ar(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 bL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class m$e extends dt{constructor(){super(...arguments),bL(this,"priority",70),bL(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,r,n){switch(r){case"H":return Xt(pr.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ar(r.length,e)}}validate(e,r){return r>=0&&r<=23}set(e,r,n){return e.setUTCHours(n,0,0,0),e}}function yL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class g$e extends dt{constructor(){super(...arguments),yL(this,"priority",70),yL(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,r,n){switch(r){case"K":return Xt(pr.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ar(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 _L(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class v$e extends dt{constructor(){super(...arguments),_L(this,"priority",70),_L(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,r,n){switch(r){case"k":return Xt(pr.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ar(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 wL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class b$e extends dt{constructor(){super(...arguments),wL(this,"priority",60),wL(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"m":return Xt(pr.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ar(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCMinutes(n,0,0),e}}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}class y$e extends dt{constructor(){super(...arguments),SL(this,"priority",50),SL(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"s":return Xt(pr.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ar(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCSeconds(n,0),e}}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}class _$e extends dt{constructor(){super(...arguments),OL(this,"priority",30),OL(this,"incompatibleTokens",["t","T"])}parse(e,r){var n=function(i){return Math.floor(i*Math.pow(10,-r.length+3))};return mr(ar(r.length,e),n)}set(e,r,n){return e.setUTCMilliseconds(n),e}}function TL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class w$e extends dt{constructor(){super(...arguments),TL(this,"priority",10),TL(this,"incompatibleTokens",["t","T","x"])}parse(e,r){switch(r){case"X":return ka($a.basicOptionalMinutes,e);case"XX":return ka($a.basic,e);case"XXXX":return ka($a.basicOptionalSeconds,e);case"XXXXX":return ka($a.extendedOptionalSeconds,e);case"XXX":default:return ka($a.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}function EL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class S$e extends dt{constructor(){super(...arguments),EL(this,"priority",10),EL(this,"incompatibleTokens",["t","T","X"])}parse(e,r){switch(r){case"x":return ka($a.basicOptionalMinutes,e);case"xx":return ka($a.basic,e);case"xxxx":return ka($a.basicOptionalSeconds,e);case"xxxxx":return ka($a.extendedOptionalSeconds,e);case"xxx":default:return ka($a.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}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}class O$e extends dt{constructor(){super(...arguments),xL(this,"priority",40),xL(this,"incompatibleTokens","*")}parse(e){return sG(e)}set(e,r,n){return[new Date(n*1e3),{timestampIsSet:!0}]}}function PL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class T$e extends dt{constructor(){super(...arguments),PL(this,"priority",20),PL(this,"incompatibleTokens","*")}parse(e){return sG(e)}set(e,r,n){return[new Date(n),{timestampIsSet:!0}]}}var E$e={G:new VMe,y:new UMe,Y:new GMe,R:new WMe,u:new YMe,Q:new KMe,q:new qMe,M:new XMe,L:new JMe,w:new ZMe,I:new t$e,d:new i$e,D:new a$e,E:new s$e,e:new o$e,c:new u$e,i:new l$e,a:new d$e,b:new f$e,B:new h$e,h:new p$e,H:new m$e,K:new g$e,k:new v$e,m:new b$e,s:new y$e,S:new _$e,X:new w$e,x:new S$e,t:new O$e,T:new T$e},x$e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,P$e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,C$e=/^'([^]*?)'?$/,A$e=/''/g,M$e=/\S/,$$e=/[a-zA-Z]/;function k$e(t,e,r,n){var i,a,s,o,u,c,l,d,f,p,m,b,_,S,E,O,h,v;ye(3,arguments);var g=String(t),T=String(e),C=tu(),k=(i=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:C.locale)!==null&&i!==void 0?i:iG;if(!k.match)throw new RangeError("locale must contain match property");var w=Nt((s=(o=(u=(c=n==null?void 0:n.firstWeekContainsDate)!==null&&c!==void 0?c:n==null||(l=n.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&u!==void 0?u:C.firstWeekContainsDate)!==null&&o!==void 0?o:(f=C.locale)===null||f===void 0||(p=f.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(w>=1&&w<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=Nt((m=(b=(_=(S=n==null?void 0:n.weekStartsOn)!==null&&S!==void 0?S:n==null||(E=n.locale)===null||E===void 0||(O=E.options)===null||O===void 0?void 0:O.weekStartsOn)!==null&&_!==void 0?_:C.weekStartsOn)!==null&&b!==void 0?b:(h=C.locale)===null||h===void 0||(v=h.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&m!==void 0?m:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(T==="")return g===""?xe(r):new Date(NaN);var P={firstWeekContainsDate:w,weekStartsOn:A,locale:k},x=[new zMe],$=T.match(P$e).map(function(U){var K=U[0];if(K in MT){var X=MT[K];return X(U,k.formatLong)}return U}).join("").match(x$e),D=[],M=function(U){!(n!=null&&n.useAdditionalWeekYearTokens)&&nG(U)&&fb(U,T,t),!(n!=null&&n.useAdditionalDayOfYearTokens)&&rG(U)&&fb(U,T,t);var K=U[0],X=E$e[K];if(X){var se=X.incompatibleTokens;if(Array.isArray(se)){var Ae=D.find(function(yt){return se.includes(yt.token)||yt.token===K});if(Ae)throw new RangeError("The format string mustn't contain `".concat(Ae.fullToken,"` and `").concat(U,"` at the same time"))}else if(X.incompatibleTokens==="*"&&D.length>0)throw new RangeError("The format string mustn't contain `".concat(U,"` and any other token at the same time"));D.push({token:K,fullToken:U});var qe=X.run(g,U,k.match,P);if(!qe)return R=U,{v:new Date(NaN)};x.push(qe.setter),g=qe.rest}else{if(K.match($$e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+K+"`");if(U==="''"?U="'":K==="'"&&(U=D$e(U)),g.indexOf(U)===0)g=g.slice(U.length);else return R=U,{v:new Date(NaN)}}R=U};for(var R of $){var N=M(R);if(typeof N=="object")return N.v}if(g.length>0&&M$e.test(g))return new Date(NaN);var j=x.map(function(U){return U.priority}).sort(function(U,K){return K-U}).filter(function(U,K,X){return X.indexOf(U)===K}).map(function(U){return x.filter(function(K){return K.priority===U}).sort(function(K,X){return X.subPriority-K.subPriority})}).map(function(U){return U[0]}),z=xe(r);if(isNaN(z.getTime()))return new Date(NaN);var V=J7(z,db(z)),J={};for(var re of j){if(!re.validate(V,P))return new Date(NaN);var Y=re.set(V,J,P);Array.isArray(Y)?(V=Y[0],FMe(J,Y[1])):V=Y}return V}function D$e(t){return t.match(C$e)[1].replace(A$e,"'")}function I$e(t){ye(1,arguments);var e=xe(t);return e.setMinutes(0,0,0),e}function R$e(t){ye(1,arguments);var e=xe(t);return e.setMilliseconds(0),e}function L$e(t,e){var r;ye(1,arguments);var n=Nt((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=j$e(t),a;if(i.date){var s=H$e(i.date,n);a=z$e(s.restDateString,s.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var o=a.getTime(),u=0,c;if(i.time&&(u=V$e(i.time),isNaN(u)))return new Date(NaN);if(i.timezone){if(c=U$e(i.timezone),isNaN(c))return new Date(NaN)}else{var l=new Date(o+u),d=new Date(0);return d.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),d.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),d}return new Date(o+u+c)}var Mg={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},N$e=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,B$e=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,F$e=/^([+-])(\d{2})(?::?(\d{2}))?$/;function j$e(t){var e={},r=t.split(Mg.dateTimeDelimiter),n;if(r.length>2)return e;if(/:/.test(r[0])?n=r[0]:(e.date=r[0],n=r[1],Mg.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Mg.timeZoneDelimiter)[0],n=t.substr(e.date.length,t.length))),n){var i=Mg.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function H$e(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 z$e(t,e){if(e===null)return new Date(NaN);var r=t.match(N$e);if(!r)return new Date(NaN);var n=!!r[4],i=Wf(r[1]),a=Wf(r[2])-1,s=Wf(r[3]),o=Wf(r[4]),u=Wf(r[5])-1;if(n)return q$e(e,o,u)?G$e(e,o,u):new Date(NaN);var c=new Date(0);return!Y$e(e,a,s)||!K$e(e,i)?new Date(NaN):(c.setUTCFullYear(e,a,Math.max(i,s)),c)}function Wf(t){return t?parseInt(t):1}function V$e(t){var e=t.match(B$e);if(!e)return NaN;var r=K1(e[1]),n=K1(e[2]),i=K1(e[3]);return X$e(r,n,i)?r*Ky+n*Yy+i*1e3:NaN}function K1(t){return t&&parseFloat(t.replace(",","."))||0}function U$e(t){if(t==="Z")return 0;var e=t.match(F$e);if(!e)return 0;var r=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return J$e(n,i)?r*(n*Ky+i*Yy):NaN}function G$e(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 W$e=[31,null,31,30,31,30,31,31,30,31,30,31];function cG(t){return t%400===0||t%4===0&&t%100!==0}function Y$e(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(W$e[e]||(cG(t)?29:28))}function K$e(t,e){return e>=1&&e<=(cG(t)?366:365)}function q$e(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function X$e(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function J$e(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 Q$e={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"};T7._date.override({_id:"date-fns",formats:function(){return Q$e},parse:function(t,e){if(t===null||typeof t>"u")return null;const r=typeof t;return r==="number"||t instanceof Date?t=xe(t):r==="string"&&(typeof e=="string"?t=k$e(t,e,new Date,this.options):t=L$e(t,this.options)),W7(t)?t.getTime():null},format:function(t,e){return NMe(t,e,this.options)},add:function(t,e,r){switch(r){case"millisecond":return rm(t,e);case"second":return lAe(t,e);case"minute":return uAe(t,e);case"hour":return nAe(t,e);case"day":return G7(t,e);case"week":return dAe(t,e);case"month":return dC(t,e);case"quarter":return cAe(t,e);case"year":return fAe(t,e);default:return t}},diff:function(t,e,r){switch(r){case"millisecond":return qy(t,e);case"second":return SAe(t,e);case"minute":return yAe(t,e);case"hour":return bAe(t,e);case"day":return Y7(t,e);case"week":return OAe(t,e);case"month":return X7(t,e);case"quarter":return wAe(t,e);case"year":return TAe(t,e);default:return 0}},startOf:function(t,e,r){switch(e){case"second":return R$e(t);case"minute":return EAe(t);case"hour":return I$e(t);case"day":return AT(t);case"week":return Y3(t);case"isoWeek":return Y3(t,{weekStartsOn:+r});case"month":return PAe(t);case"quarter":return xAe(t);case"year":return AAe(t);default:return t}},endOf:function(t,e){switch(e){case"second":return IAe(t);case"minute":return kAe(t);case"hour":return MAe(t);case"day":return K7(t);case"week":return $Ae(t);case"month":return q7(t);case"quarter":return DAe(t);case"year":return CAe(t);default:return t}}});var lG={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self<"u"?self:Te,function(){return(()=>{var r={646:s=>{s.exports=function(o){if(Array.isArray(o)){for(var u=0,c=new Array(o.length);u<o.length;u++)c[u]=o[u];return c}}},713:s=>{s.exports=function(o,u,c){return u in o?Object.defineProperty(o,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[u]=c,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 c=u(646),l=u(860),d=u(206);s.exports=function(f){return c(f)||l(f)||d()}},8:s=>{function o(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s.exports=o=function(c){return typeof c}:s.exports=o=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},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:()=>C});var s=i(319),o=i.n(s),u=i(8),c=i.n(u),l=i(713),d=i.n(l);const f={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(w){var A=this;this.autoscroll&&w&&this.$nextTick(function(){return A.maybeAdjustScroll()})}},methods:{maybeAdjustScroll:function(){var w,A=((w=this.$refs.dropdownMenu)===null||w===void 0?void 0:w.children[this.typeAheadPointer])||!1;if(A){var P=this.getDropdownViewport(),x=A.getBoundingClientRect(),$=x.top,D=x.bottom,M=x.height;if($<P.top)return this.$refs.dropdownMenu.scrollTop=A.offsetTop;if(D>P.bottom)return this.$refs.dropdownMenu.scrollTop=A.offsetTop-(P.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 w=0;w<this.filteredOptions.length;w++)if(this.selectable(this.filteredOptions[w])){this.typeAheadPointer=w;break}},open:function(w){w&&this.typeAheadToLastSelected()},selectedValue:function(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp:function(){for(var w=this.typeAheadPointer-1;w>=0;w--)if(this.selectable(this.filteredOptions[w])){this.typeAheadPointer=w;break}},typeAheadDown:function(){for(var w=this.typeAheadPointer+1;w<this.filteredOptions.length;w++)if(this.selectable(this.filteredOptions[w])){this.typeAheadPointer=w;break}},typeAheadSelect:function(){var w=this.filteredOptions[this.typeAheadPointer];w&&this.selectable(w)&&this.select(w)},typeAheadToLastSelected:function(){this.typeAheadPointer=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},m={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(w){this.mutableLoading=w}},methods:{toggleLoading:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.mutableLoading=w??!this.mutableLoading}}};function b(w,A,P,x,$,D,M,R){var N,j=typeof w=="function"?w.options:w;if(A&&(j.render=A,j.staticRenderFns=P,j._compiled=!0),x&&(j.functional=!0),D&&(j._scopeId="data-v-"+D),M?(N=function(J){(J=J||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__>"u"||(J=__VUE_SSR_CONTEXT__),$&&$.call(this,J),J&&J._registeredComponents&&J._registeredComponents.add(M)},j._ssrRegister=N):$&&(N=R?function(){$.call(this,(j.functional?this.parent:this).$root.$options.shadowRoot)}:$),N)if(j.functional){j._injectStyles=N;var z=j.render;j.render=function(J,re){return N.call(re),z(J,re)}}else{var V=j.beforeCreate;j.beforeCreate=V?[].concat(V,N):[N]}return{exports:w,options:j}}const _={Deselect:b({},function(){var w=this.$createElement,A=this._self._c||w;return A("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[A("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:b({},function(){var w=this.$createElement,A=this._self._c||w;return A("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[A("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(w,A,P){var x=P.context;if(x.appendToBody){var $=x.$refs.toggle.getBoundingClientRect(),D=$.height,M=$.top,R=$.left,N=$.width,j=window.scrollX||window.pageXOffset,z=window.scrollY||window.pageYOffset;w.unbindPosition=x.calculatePosition(w,x,{width:N+"px",left:j+R+"px",top:z+M+D+"px"}),document.body.appendChild(w)}},unbind:function(w,A,P){P.context.appendToBody&&(w.unbindPosition&&typeof w.unbindPosition=="function"&&w.unbindPosition(),w.parentNode&&w.parentNode.removeChild(w))}},E=function(w){var A={};return Object.keys(w).sort().forEach(function(P){A[P]=w[P]}),JSON.stringify(A)};var O=0;const h=function(){return++O};function v(w,A){var P=Object.keys(w);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(w);A&&(x=x.filter(function($){return Object.getOwnPropertyDescriptor(w,$).enumerable})),P.push.apply(P,x)}return P}function g(w){for(var A=1;A<arguments.length;A++){var P=arguments[A]!=null?arguments[A]:{};A%2?v(Object(P),!0).forEach(function(x){d()(w,x,P[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(P)):v(Object(P)).forEach(function(x){Object.defineProperty(w,x,Object.getOwnPropertyDescriptor(P,x))})}return w}const T=b({components:g({},_),directives:{appendToBody:S},mixins:[f,p,m],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(w){return w}},selectable:{type:Function,default:function(w){return!0}},getOptionLabel:{type:Function,default:function(w){return c()(w)==="object"?w.hasOwnProperty(this.label)?w[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(w),`.
`)+"https://vue-select.org/api/props.html#getoptionlabel"):w}},getOptionKey:{type:Function,default:function(w){if(c()(w)!=="object")return w;try{return w.hasOwnProperty("id")?w.id:E(w)}catch(A){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`,w,A)}}},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(w,A,P){return(A||"").toLocaleLowerCase().indexOf(P.toLocaleLowerCase())>-1}},filter:{type:Function,default:function(w,A){var P=this;return w.filter(function(x){var $=P.getOptionLabel(x);return typeof $=="number"&&($=$.toString()),P.filterBy(x,$,A)})}},createOption:{type:Function,default:function(w){return c()(this.optionList[0])==="object"?d()({},this.label,w):w}},resetOnOptionsChange:{default:!1,validator:function(w){return["function","boolean"].includes(c()(w))}},clearSearchOnBlur:{type:Function,default:function(w){var A=w.clearSearchOnSelect,P=w.multiple;return A&&!P}},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(w,A){return w}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(w,A,P){var x=P.width,$=P.top,D=P.left;w.style.top=$,w.style.left=D,w.style.width=x}},dropdownShouldOpen:{type:Function,default:function(w){var A=w.noDrop,P=w.open,x=w.mutableLoading;return!A&&P&&!x}},uid:{type:[String,Number],default:function(){return h()}}},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 w=this.value;return this.isTrackingValues&&(w=this.$data._value),w!=null&&w!==""?[].concat(w):[]},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 w=this,A={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:g({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 w.isComposing=!0},compositionend:function(){return w.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(P){return w.search=P.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:A,listFooter:A,header:g({},A,{deselect:this.deselect}),footer:g({},A,{deselect:this.deselect})}},childComponents:function(){return g({},_,{},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 w=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return w;var A=this.search.length?this.filter(w,this.search,this):w;if(this.taggable&&this.search.length){var P=this.createOption(this.search);this.optionExists(P)||A.unshift(P)}return A},isValueEmpty:function(){return this.selectedValue.length===0},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(w,A){var P=this;!this.taggable&&(typeof P.resetOnOptionsChange=="function"?P.resetOnOptionsChange(w,A,P.selectedValue):P.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(w){this.isTrackingValues&&this.setInternalValueFromOptions(w)}},multiple:function(){this.clearSelection()},open:function(w){this.$emit(w?"open":"close")}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(w){var A=this;Array.isArray(w)?this.$data._value=w.map(function(P){return A.findOptionFromReducedValue(P)}):this.$data._value=this.findOptionFromReducedValue(w)},select:function(w){this.$emit("option:selecting",w),this.isOptionSelected(w)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(w):(this.taggable&&!this.optionExists(w)&&this.$emit("option:created",w),this.multiple&&(w=this.selectedValue.concat(w)),this.updateValue(w),this.$emit("option:selected",w)),this.onAfterSelect(w)},deselect:function(w){var A=this;this.$emit("option:deselecting",w),this.updateValue(this.selectedValue.filter(function(P){return!A.optionComparator(P,w)})),this.$emit("option:deselected",w)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(w){var A=this;this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick(function(){return A.$refs.search.focus()})},updateValue:function(w){var A=this;this.value===void 0&&(this.$data._value=w),w!==null&&(w=Array.isArray(w)?w.map(function(P){return A.reduce(P)}):this.reduce(w)),this.$emit("input",w)},toggleDropdown:function(w){var A=w.target!==this.searchEl;A&&w.preventDefault();var P=[].concat(o()(this.$refs.deselectButtons||[]),o()([this.$refs.clearButton]));this.searchEl===void 0||P.filter(Boolean).some(function(x){return x.contains(w.target)||x===w.target})?w.preventDefault():this.open&&A?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(w){var A=this;return this.selectedValue.some(function(P){return A.optionComparator(P,w)})},isOptionDeselectable:function(w){return this.isOptionSelected(w)&&this.deselectFromDropdown},optionComparator:function(w,A){return this.getOptionKey(w)===this.getOptionKey(A)},findOptionFromReducedValue:function(w){var A=this,P=[].concat(o()(this.options),o()(this.pushedTags)).filter(function(x){return JSON.stringify(A.reduce(x))===JSON.stringify(w)});return P.length===1?P[0]:P.find(function(x){return A.optionComparator(x,A.$data._value)})||w},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var w=null;this.multiple&&(w=o()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(w)}},optionExists:function(w){var A=this;return this.optionList.some(function(P){return A.optionComparator(P,w)})},normalizeOptionForSlot:function(w){return c()(w)==="object"?w:d()({},this.label,w)},pushTag:function(w){this.pushedTags.push(w)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching){var w=this.clearSearchOnSelect,A=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:w,multiple:A})&&(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(w){var A=this,P=function(D){return D.preventDefault(),!A.isComposing&&A.typeAheadSelect()},x={8:function(D){return A.maybeDeleteValue()},9:function(D){return A.onTab()},27:function(D){return A.onEscape()},38:function(D){return D.preventDefault(),A.typeAheadUp()},40:function(D){return D.preventDefault(),A.typeAheadDown()}};this.selectOnKeyCodes.forEach(function(D){return x[D]=P});var $=this.mapKeydown(x,this);if(typeof $[w.keyCode]=="function")return $[w.keyCode](w)}}},function(){var w=this,A=w.$createElement,P=w._self._c||A;return P("div",{staticClass:"v-select",class:w.stateClasses,attrs:{dir:w.dir}},[w._t("header",null,null,w.scope.header),w._v(" "),P("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+w.uid+"__combobox",role:"combobox","aria-expanded":w.dropdownOpen.toString(),"aria-owns":"vs"+w.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(x){return w.toggleDropdown(x)}}},[P("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[w._l(w.selectedValue,function(x){return w._t("selected-option-container",[P("span",{key:w.getOptionKey(x),staticClass:"vs__selected"},[w._t("selected-option",[w._v(`
`+w._s(w.getOptionLabel(x))+`
`)],null,w.normalizeOptionForSlot(x)),w._v(" "),w.multiple?P("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:w.disabled,type:"button",title:"Deselect "+w.getOptionLabel(x),"aria-label":"Deselect "+w.getOptionLabel(x)},on:{click:function($){return w.deselect(x)}}},[P(w.childComponents.Deselect,{tag:"component"})],1):w._e()],2)],{option:w.normalizeOptionForSlot(x),deselect:w.deselect,multiple:w.multiple,disabled:w.disabled})}),w._v(" "),w._t("search",[P("input",w._g(w._b({staticClass:"vs__search"},"input",w.scope.search.attributes,!1),w.scope.search.events))],null,w.scope.search)],2),w._v(" "),P("div",{ref:"actions",staticClass:"vs__actions"},[P("button",{directives:[{name:"show",rawName:"v-show",value:w.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:w.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:w.clearSelection}},[P(w.childComponents.Deselect,{tag:"component"})],1),w._v(" "),w._t("open-indicator",[w.noDrop?w._e():P(w.childComponents.OpenIndicator,w._b({tag:"component"},"component",w.scope.openIndicator.attributes,!1))],null,w.scope.openIndicator),w._v(" "),w._t("spinner",[P("div",{directives:[{name:"show",rawName:"v-show",value:w.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[w._v("Loading...")])],null,w.scope.spinner)],2)]),w._v(" "),P("transition",{attrs:{name:w.transition}},[w.dropdownOpen?P("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+w.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+w.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(x){return x.preventDefault(),w.onMousedown(x)},mouseup:w.onMouseUp}},[w._t("list-header",null,null,w.scope.listHeader),w._v(" "),w._l(w.filteredOptions,function(x,$){return P("li",{key:w.getOptionKey(x),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":w.isOptionDeselectable(x)&&$===w.typeAheadPointer,"vs__dropdown-option--selected":w.isOptionSelected(x),"vs__dropdown-option--highlight":$===w.typeAheadPointer,"vs__dropdown-option--disabled":!w.selectable(x)},attrs:{id:"vs"+w.uid+"__option-"+$,role:"option","aria-selected":$===w.typeAheadPointer||null},on:{mouseover:function(D){w.selectable(x)&&(w.typeAheadPointer=$)},click:function(D){D.preventDefault(),D.stopPropagation(),w.selectable(x)&&w.select(x)}}},[w._t("option",[w._v(`
`+w._s(w.getOptionLabel(x))+`
`)],null,w.normalizeOptionForSlot(x))],2)}),w._v(" "),w.filteredOptions.length===0?P("li",{staticClass:"vs__no-options"},[w._t("no-options",[w._v(`
Sorry, no matching options.
`)],null,w.scope.noOptions)],2):w._e(),w._v(" "),w._t("list-footer",null,null,w.scope.listFooter)],2):P("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+w.uid+"__listbox",role:"listbox"}})]),w._v(" "),w._t("footer",null,null,w.scope.footer)],2)},[],!1,null,null,null).exports,C={ajax:m,pointer:p,pointerScroll:f},k=T})(),a})()})})(lG);var Z$e=lG.exports;const ABe=hi(Z$e);var mb={exports:{}};mb.exports;(function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",a=1,s=2,o=1/0,u=9007199254740991,c="[object Arguments]",l="[object Array]",d="[object Boolean]",f="[object Date]",p="[object Error]",m="[object Function]",b="[object GeneratorFunction]",_="[object Map]",S="[object Number]",E="[object Object]",O="[object Promise]",h="[object RegExp]",v="[object Set]",g="[object String]",T="[object Symbol]",C="[object WeakMap]",k="[object ArrayBuffer]",w="[object DataView]",A="[object Float32Array]",P="[object Float64Array]",x="[object Int8Array]",$="[object Int16Array]",D="[object Int32Array]",M="[object Uint8Array]",R="[object Uint8ClampedArray]",N="[object Uint16Array]",j="[object Uint32Array]",z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,J=/^\./,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,U=/\\(\\)?/g,K=/^\[object .+?Constructor\]$/,X=/^(?:0|[1-9]\d*)$/,se={};se[A]=se[P]=se[x]=se[$]=se[D]=se[M]=se[R]=se[N]=se[j]=!0,se[c]=se[l]=se[k]=se[d]=se[w]=se[f]=se[p]=se[m]=se[_]=se[S]=se[E]=se[h]=se[v]=se[g]=se[C]=!1;var Ae=typeof Te=="object"&&Te&&Te.Object===Object&&Te,qe=typeof self=="object"&&self&&self.Object===Object&&self,yt=Ae||qe||Function("return this")(),sr=e&&!e.nodeType&&e,Vr=sr&&!0&&t&&!t.nodeType&&t,wn=Vr&&Vr.exports===sr,da=wn&&Ae.process,Qa=function(){try{return da&&da.binding("util")}catch{}}(),fa=Qa&&Qa.isTypedArray;function nu(L,H){var Z=L?L.length:0;return!!Z&&Yr(L,H,0)>-1}function De(L,H,Z){for(var ie=-1,Me=L?L.length:0;++ie<Me;)if(Z(H,L[ie]))return!0;return!1}function Cr(L,H){for(var Z=-1,ie=L?L.length:0;++Z<ie;)if(H(L[Z],Z,L))return!0;return!1}function He(L,H,Z,ie){for(var Me=L.length,me=Z+(ie?1:-1);ie?me--:++me<Me;)if(H(L[me],me,L))return me;return-1}function Yr(L,H,Z){if(H!==H)return He(L,et,Z);for(var ie=Z-1,Me=L.length;++ie<Me;)if(L[ie]===H)return ie;return-1}function et(L){return L!==L}function Ar(L){return function(H){return H==null?void 0:H[L]}}function zs(L,H){for(var Z=-1,ie=Array(L);++Z<L;)ie[Z]=H(Z);return ie}function f_(L){return function(H){return L(H)}}function om(L,H){return L.has(H)}function um(L,H){return L==null?void 0:L[H]}function Rc(L){var H=!1;if(L!=null&&typeof L.toString!="function")try{H=!!(L+"")}catch{}return H}function h_(L){var H=-1,Z=Array(L.size);return L.forEach(function(ie,Me){Z[++H]=[Me,ie]}),Z}function p_(L,H){return function(Z){return L(H(Z))}}function Qd(L){var H=-1,Z=Array(L.size);return L.forEach(function(ie){Z[++H]=ie}),Z}var m_=Array.prototype,cm=Function.prototype,Lc=Object.prototype,Zd=yt["__core-js_shared__"],Nc=function(){var L=/[^.]+$/.exec(Zd&&Zd.keys&&Zd.keys.IE_PROTO||"");return L?"Symbol(src)_1."+L:""}(),Vs=cm.toString,Vn=Lc.hasOwnProperty,ha=Lc.toString,ef=RegExp("^"+Vs.call(Vn).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Us=yt.Symbol,lm=yt.Uint8Array,g_=Lc.propertyIsEnumerable,v_=m_.splice,b_=p_(Object.keys,Object),tf=ts(yt,"DataView"),Gs=ts(yt,"Map"),Bc=ts(yt,"Promise"),Sn=ts(yt,"Set"),rf=ts(yt,"WeakMap"),iu=ts(Object,"create"),y_=te(tf),__=te(Gs),w_=te(Bc),ki=te(Sn),S_=te(rf),Fc=Us?Us.prototype:void 0,nf=Fc?Fc.valueOf:void 0,dm=Fc?Fc.toString:void 0;function Za(L){var H=-1,Z=L?L.length:0;for(this.clear();++H<Z;){var ie=L[H];this.set(ie[0],ie[1])}}function Ws(){this.__data__=iu?iu(null):{}}function O_(L){return this.has(L)&&delete this.__data__[L]}function T_(L){var H=this.__data__;if(iu){var Z=H[L];return Z===i?void 0:Z}return Vn.call(H,L)?H[L]:void 0}function E_(L){var H=this.__data__;return iu?H[L]!==void 0:Vn.call(H,L)}function x_(L,H){var Z=this.__data__;return Z[L]=iu&&H===void 0?i:H,this}Za.prototype.clear=Ws,Za.prototype.delete=O_,Za.prototype.get=T_,Za.prototype.has=E_,Za.prototype.set=x_;function Di(L){var H=-1,Z=L?L.length:0;for(this.clear();++H<Z;){var ie=L[H];this.set(ie[0],ie[1])}}function Ys(){this.__data__=[]}function P_(L){var H=this.__data__,Z=Hc(H,L);if(Z<0)return!1;var ie=H.length-1;return Z==ie?H.pop():v_.call(H,Z,1),!0}function C_(L){var H=this.__data__,Z=Hc(H,L);return Z<0?void 0:H[Z][1]}function A_(L){return Hc(this.__data__,L)>-1}function M_(L,H){var Z=this.__data__,ie=Hc(Z,L);return ie<0?Z.push([L,H]):Z[ie][1]=H,this}Di.prototype.clear=Ys,Di.prototype.delete=P_,Di.prototype.get=C_,Di.prototype.has=A_,Di.prototype.set=M_;function Ii(L){var H=-1,Z=L?L.length:0;for(this.clear();++H<Z;){var ie=L[H];this.set(ie[0],ie[1])}}function $_(){this.__data__={hash:new Za,map:new(Gs||Di),string:new Za}}function fm(L){return Uc(this,L).delete(L)}function jc(L){return Uc(this,L).get(L)}function k_(L){return Uc(this,L).has(L)}function af(L,H){return Uc(this,L).set(L,H),this}Ii.prototype.clear=$_,Ii.prototype.delete=fm,Ii.prototype.get=jc,Ii.prototype.has=k_,Ii.prototype.set=af;function au(L){var H=-1,Z=L?L.length:0;for(this.__data__=new Ii;++H<Z;)this.add(L[H])}function D_(L){return this.__data__.set(L,i),this}function I_(L){return this.__data__.has(L)}au.prototype.add=au.prototype.push=D_,au.prototype.has=I_;function Ri(L){this.__data__=new Di(L)}function R_(){this.__data__=new Di}function L_(L){return this.__data__.delete(L)}function sf(L){return this.__data__.get(L)}function N_(L){return this.__data__.has(L)}function B_(L,H){var Z=this.__data__;if(Z instanceof Di){var ie=Z.__data__;if(!Gs||ie.length<r-1)return ie.push([L,H]),this;Z=this.__data__=new Ii(ie)}return Z.set(L,H),this}Ri.prototype.clear=R_,Ri.prototype.delete=L_,Ri.prototype.get=sf,Ri.prototype.has=N_,Ri.prototype.set=B_;function F_(L,H){var Z=tr(L)||an(L)?zs(L.length,String):[],ie=Z.length,Me=!!ie;for(var me in L)(H||Vn.call(L,me))&&!(Me&&(me=="length"||uf(me,ie)))&&Z.push(me);return Z}function Hc(L,H){for(var Z=L.length;Z--;)if(Mr(L[Z][0],H))return Z;return-1}function hm(L,H){H=Gc(H,L)?[H]:mm(H);for(var Z=0,ie=H.length;L!=null&&Z<ie;)L=L[q(H[Z++])];return Z&&Z==ie?L:void 0}function j_(L){return ha.call(L)}function H_(L,H){return L!=null&&H in Object(L)}function zc(L,H,Z,ie,Me){return L===H?!0:L==null||H==null||!su(L)&&!Xs(H)?L!==L&&H!==H:z_(L,H,zc,Z,ie,Me)}function z_(L,H,Z,ie,Me,me){var ut=tr(L),ft=tr(H),mt=l,or=l;ut||(mt=ma(L),mt=mt==c?E:mt),ft||(or=ma(H),or=or==c?E:or);var Wt=mt==E&&!Rc(L),ur=or==E&&!Rc(H),cr=mt==or;if(cr&&!Wt)return me||(me=new Ri),ut||MW(L)?pa(L,H,Z,ie,Me,me):q_(L,H,mt,Z,ie,Me,me);if(!(Me&s)){var gi=Wt&&Vn.call(L,"__wrapped__"),vi=ur&&Vn.call(H,"__wrapped__");if(gi||vi){var Qs=gi?L.value():L,rs=vi?H.value():H;return me||(me=new Ri),Z(Qs,rs,ie,Me,me)}}return cr?(me||(me=new Ri),vm(L,H,Z,ie,Me,me)):!1}function V_(L,H,Z,ie){var Me=Z.length,me=Me,ut=!ie;if(L==null)return!me;for(L=Object(L);Me--;){var ft=Z[Me];if(ut&&ft[2]?ft[1]!==L[ft[0]]:!(ft[0]in L))return!1}for(;++Me<me;){ft=Z[Me];var mt=ft[0],or=L[mt],Wt=ft[1];if(ut&&ft[2]){if(or===void 0&&!(mt in L))return!1}else{var ur=new Ri;if(ie)var cr=ie(or,Wt,mt,L,H,ur);if(!(cr===void 0?zc(Wt,or,ie,a|s,ur):cr))return!1}}return!0}function Vc(L){if(!su(L)||J_(L))return!1;var H=df(L)||Rc(L)?ef:K;return H.test(te(L))}function Ks(L){return Xs(L)&&Yc(L.length)&&!!se[ha.call(L)]}function pm(L){return typeof L=="function"?L:L==null?IW:typeof L=="object"?tr(L)?G_(L[0],L[1]):U_(L):LW(L)}function es(L){if(!cf(L))return b_(L);var H=[];for(var Z in Object(L))Vn.call(L,Z)&&Z!="constructor"&&H.push(Z);return H}function U_(L){var H=of(L);return H.length==1&&H[0][2]?ym(H[0][0],H[0][1]):function(Z){return Z===L||V_(Z,L,H)}}function G_(L,H){return Gc(L)&&bm(H)?ym(q(L),H):function(Z){var ie=kW(Z,L);return ie===void 0&&ie===H?DW(Z,L):zc(H,ie,void 0,a|s)}}function W_(L){return function(H){return hm(H,L)}}function Y_(L){if(typeof L=="string")return L;if(Js(L))return dm?dm.call(L):"";var H=L+"";return H=="0"&&1/L==-o?"-0":H}function K_(L,H,Z){var ie=-1,Me=nu,me=L.length,ut=!0,ft=[],mt=ft;if(Z)ut=!1,Me=De;else if(me>=r){var or=H?null:gm(L);if(or)return Qd(or);ut=!1,Me=om,mt=new au}else mt=H?[]:ft;e:for(;++ie<me;){var Wt=L[ie],ur=H?H(Wt):Wt;if(Wt=Z||Wt!==0?Wt:0,ut&&ur===ur){for(var cr=mt.length;cr--;)if(mt[cr]===ur)continue e;H&&mt.push(ur),ft.push(Wt)}else Me(mt,ur,Z)||(mt!==ft&&mt.push(ur),ft.push(Wt))}return ft}function mm(L){return tr(L)?L:F(L)}var gm=Sn&&1/Qd(new Sn([,-0]))[1]==o?function(L){return new Sn(L)}:RW;function pa(L,H,Z,ie,Me,me){var ut=Me&s,ft=L.length,mt=H.length;if(ft!=mt&&!(ut&&mt>ft))return!1;var or=me.get(L);if(or&&me.get(H))return or==H;var Wt=-1,ur=!0,cr=Me&a?new au:void 0;for(me.set(L,H),me.set(H,L);++Wt<ft;){var gi=L[Wt],vi=H[Wt];if(ie)var Qs=ut?ie(vi,gi,Wt,H,L,me):ie(gi,vi,Wt,L,H,me);if(Qs!==void 0){if(Qs)continue;ur=!1;break}if(cr){if(!Cr(H,function(rs,ou){if(!cr.has(ou)&&(gi===rs||Z(gi,rs,ie,Me,me)))return cr.add(ou)})){ur=!1;break}}else if(!(gi===vi||Z(gi,vi,ie,Me,me))){ur=!1;break}}return me.delete(L),me.delete(H),ur}function q_(L,H,Z,ie,Me,me,ut){switch(Z){case w:if(L.byteLength!=H.byteLength||L.byteOffset!=H.byteOffset)return!1;L=L.buffer,H=H.buffer;case k:return!(L.byteLength!=H.byteLength||!ie(new lm(L),new lm(H)));case d:case f:case S:return Mr(+L,+H);case p:return L.name==H.name&&L.message==H.message;case h:case g:return L==H+"";case _:var ft=h_;case v:var mt=me&s;if(ft||(ft=Qd),L.size!=H.size&&!mt)return!1;var or=ut.get(L);if(or)return or==H;me|=a,ut.set(L,H);var Wt=pa(ft(L),ft(H),ie,Me,me,ut);return ut.delete(L),Wt;case T:if(nf)return nf.call(L)==nf.call(H)}return!1}function vm(L,H,Z,ie,Me,me){var ut=Me&s,ft=Q_(L),mt=ft.length,or=Q_(H),Wt=or.length;if(mt!=Wt&&!ut)return!1;for(var ur=mt;ur--;){var cr=ft[ur];if(!(ut?cr in H:Vn.call(H,cr)))return!1}var gi=me.get(L);if(gi&&me.get(H))return gi==H;var vi=!0;me.set(L,H),me.set(H,L);for(var Qs=ut;++ur<mt;){cr=ft[ur];var rs=L[cr],ou=H[cr];if(ie)var QC=ut?ie(ou,rs,cr,H,L,me):ie(rs,ou,cr,L,H,me);if(!(QC===void 0?rs===ou||Z(rs,ou,ie,Me,me):QC)){vi=!1;break}Qs||(Qs=cr=="constructor")}if(vi&&!Qs){var _m=L.constructor,wm=H.constructor;_m!=wm&&"constructor"in L&&"constructor"in H&&!(typeof _m=="function"&&_m instanceof _m&&typeof wm=="function"&&wm instanceof wm)&&(vi=!1)}return me.delete(L),me.delete(H),vi}function Uc(L,H){var Z=L.__data__;return Wc(H)?Z[typeof H=="string"?"string":"hash"]:Z.map}function of(L){for(var H=Q_(L),Z=H.length;Z--;){var ie=H[Z],Me=L[ie];H[Z]=[ie,Me,bm(Me)]}return H}function ts(L,H){var Z=um(L,H);return Vc(Z)?Z:void 0}var ma=j_;(tf&&ma(new tf(new ArrayBuffer(1)))!=w||Gs&&ma(new Gs)!=_||Bc&&ma(Bc.resolve())!=O||Sn&&ma(new Sn)!=v||rf&&ma(new rf)!=C)&&(ma=function(L){var H=ha.call(L),Z=H==E?L.constructor:void 0,ie=Z?te(Z):void 0;if(ie)switch(ie){case y_:return w;case __:return _;case w_:return O;case ki:return v;case S_:return C}return H});function X_(L,H,Z){H=Gc(H,L)?[H]:mm(H);for(var ie,Me=-1,ut=H.length;++Me<ut;){var me=q(H[Me]);if(!(ie=L!=null&&Z(L,me)))break;L=L[me]}if(ie)return ie;var ut=L?L.length:0;return!!ut&&Yc(ut)&&uf(me,ut)&&(tr(L)||an(L))}function uf(L,H){return H=H??u,!!H&&(typeof L=="number"||X.test(L))&&L>-1&&L%1==0&&L<H}function Gc(L,H){if(tr(L))return!1;var Z=typeof L;return Z=="number"||Z=="symbol"||Z=="boolean"||L==null||Js(L)?!0:V.test(L)||!z.test(L)||H!=null&&L in Object(H)}function Wc(L){var H=typeof L;return H=="string"||H=="number"||H=="symbol"||H=="boolean"?L!=="__proto__":L===null}function J_(L){return!!Nc&&Nc in L}function cf(L){var H=L&&L.constructor,Z=typeof H=="function"&&H.prototype||Lc;return L===Z}function bm(L){return L===L&&!su(L)}function ym(L,H){return function(Z){return Z==null?!1:Z[L]===H&&(H!==void 0||L in Object(Z))}}var F=er(function(L){L=$W(L);var H=[];return J.test(L)&&H.push(""),L.replace(re,function(Z,ie,Me,me){H.push(Me?me.replace(U,"$1"):ie||Z)}),H});function q(L){if(typeof L=="string"||Js(L))return L;var H=L+"";return H=="0"&&1/L==-o?"-0":H}function te(L){if(L!=null){try{return Vs.call(L)}catch{}try{return L+""}catch{}}return""}function he(L,H){return L&&L.length?K_(L,pm(H)):[]}function er(L,H){if(typeof L!="function"||H&&typeof H!="function")throw new TypeError(n);var Z=function(){var ie=arguments,Me=H?H.apply(this,ie):ie[0],me=Z.cache;if(me.has(Me))return me.get(Me);var ut=L.apply(this,ie);return Z.cache=me.set(Me,ut),ut};return Z.cache=new(er.Cache||Ii),Z}er.Cache=Ii;function Mr(L,H){return L===H||L!==L&&H!==H}function an(L){return qs(L)&&Vn.call(L,"callee")&&(!g_.call(L,"callee")||ha.call(L)==c)}var tr=Array.isArray;function lf(L){return L!=null&&Yc(L.length)&&!df(L)}function qs(L){return Xs(L)&&lf(L)}function df(L){var H=su(L)?ha.call(L):"";return H==m||H==b}function Yc(L){return typeof L=="number"&&L>-1&&L%1==0&&L<=u}function su(L){var H=typeof L;return!!L&&(H=="object"||H=="function")}function Xs(L){return!!L&&typeof L=="object"}function Js(L){return typeof L=="symbol"||Xs(L)&&ha.call(L)==T}var MW=fa?f_(fa):Ks;function $W(L){return L==null?"":Y_(L)}function kW(L,H,Z){var ie=L==null?void 0:hm(L,H);return ie===void 0?Z:ie}function DW(L,H){return L!=null&&X_(L,H,H_)}function Q_(L){return lf(L)?F_(L):es(L)}function IW(L){return L}function RW(){}function LW(L){return Gc(L)?Ar(q(L)):W_(L)}t.exports=he})(mb,mb.exports);var eke=mb.exports;const MBe=hi(eke),tke={"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 rke=tke;const $Be=hi(rke),nke="modulepreload",ike=function(t,e){return new URL(t,e).href},CL={},Ti=function(e,r,n){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=ike(a,n),a in CL)return;CL[a]=!0;const s=a.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(!!n)for(let l=i.length-1;l>=0;l--){const d=i[l];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":nke,s||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),s)return new Promise((l,d)=>{c.addEventListener("load",l),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e()).catch(a=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a})};/*!
* vue-i18n v8.27.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/var dG=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function Pd(t,e){typeof console<"u"&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function ake(t,e){typeof console<"u"&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var Wa=Array.isArray;function $i(t){return t!==null&&typeof t=="object"}function ske(t){return typeof t=="boolean"}function Hr(t){return typeof t=="string"}var oke=Object.prototype.toString,uke="[object Object]";function Ha(t){return oke.call(t)===uke}function Dn(t){return t==null}function $T(t){return typeof t=="function"}function Xy(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return t.length===1?$i(t[0])||Wa(t[0])?n=t[0]:typeof t[0]=="string"&&(r=t[0]):t.length===2&&(typeof t[0]=="string"&&(r=t[0]),($i(t[1])||Wa(t[1]))&&(n=t[1])),{locale:r,params:n}}function Yd(t){return JSON.parse(JSON.stringify(t))}function cke(t,e){if(t.delete(e))return t}function lke(t){var e=[];return t.forEach(function(r){return e.push(r)}),e}function Jy(t,e){return!!~t.indexOf(e)}var dke=Object.prototype.hasOwnProperty;function fke(t,e){return dke.call(t,e)}function Yu(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)fke(i,a)&&($i(i[a])?r[a]=Yu(r[a],i[a]):r[a]=i[a])}}return r}function gb(t,e){if(t===e)return!0;var r=$i(t),n=$i(e);if(r&&n)try{var i=Wa(t),a=Wa(e);if(i&&a)return t.length===e.length&&t.every(function(u,c){return gb(u,e[c])});if(!i&&!a){var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every(function(u){return gb(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function hke(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function pke(t){return t!=null&&Object.keys(t).forEach(function(e){typeof t[e]=="string"&&(t[e]=hke(t[e]))}),t}function mke(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 gke(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 de){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=Yu(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(Ha(n.i18n)){var s=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de?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=Yu(o,JSON.parse(d))}),n.i18n.messages=o}catch{}var c=n.i18n,l=c.sharedMessages;l&&Ha(l)&&(n.i18n.messages=Yu(n.i18n.messages,l)),this._i18n=new de(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 de?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof de&&(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 de?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):Ha(n.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof de&&(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 AL={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,c=a.locale,l=a.places,d=s(),f=o.i(u,c,vke(d)||l?bke(d.default,l):d),p=a.tag&&a.tag!==!0||a.tag===!1?a.tag:"span";return p?e(p,n,f):f}}};function vke(t){var e;for(e in t)if(e!=="default")return!1;return!!e}function bke(t,e){var r=e?yke(e):{};if(!t)return r;t=t.filter(function(i){return i.tag||i.text.trim()!==""});var n=t.every(wke);return t.reduce(n?_ke:fG,r)}function yke(t){return Array.isArray(t)?t.reduce(fG,{}):Object.assign({},t)}function _ke(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function fG(t,e,r){return t[r]=e,t}function wke(t){return!!(t.data&&t.data.attrs&&t.data.attrs.place)}var ML={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;Hr(n.format)?o=n.format:$i(n.format)&&(n.format.key&&(o=n.format.key),u=Object.keys(n.format).reduce(function(p,m){var b;return Jy(dG,m)?Object.assign({},p,(b={},b[m]=n.format[m],b)):p},null));var c=n.locale||s.locale,l=s._ntp(n.value,c,o,u),d=l.map(function(p,m){var b,_=a.scopedSlots&&a.scopedSlots[p.type];return _?_((b={},b[p.type]=p.value,b.index=m,b.parts=l,b)):p.value}),f=n.tag&&n.tag!==!0||n.tag===!1?n.tag:"span";return f?e(f,{attrs:a.attrs,class:a.class,staticClass:a.staticClass},d):d}};function Ske(t,e,r){hG(t,r)&&pG(t,e,r)}function Oke(t,e,r,n){if(hG(t,r)){var i=r.context.$i18n;Eke(t,r)&&gb(e.value,e.oldValue)&&gb(t._localeMessage,i.getLocaleMessage(i.locale))||pG(t,e,r)}}function Tke(t,e,r,n){var i=r.context;if(!i){Pd("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 hG(t,e){var r=e.context;return r?r.$i18n?!0:(Pd("VueI18n instance does not exists in Vue instance"),!1):(Pd("Vue instance does not exists in VNode context"),!1)}function Eke(t,e){var r=e.context;return t._locale===r.$i18n.locale}function pG(t,e,r){var n,i,a=e.value,s=xke(a),o=s.path,u=s.locale,c=s.args,l=s.choice;if(!o&&!u&&!c){Pd("value type not supported");return}if(!o){Pd("`path` is required in v-t directive");return}var d=r.context;l!=null?t._vt=t.textContent=(n=d.$i18n).tc.apply(n,[o,l].concat($L(u,c))):t._vt=t.textContent=(i=d.$i18n).t.apply(i,[o].concat($L(u,c))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}function xke(t){var e,r,n,i;return Hr(t)?e=t:Ha(t)&&(e=t.path,r=t.locale,n=t.args,i=t.choice),{path:e,locale:r,args:n,choice:i}}function $L(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||Ha(e))&&r.push(e),r}var cn;function mC(t,e){e===void 0&&(e={bridge:!1}),mC.installed=!0,cn=t,cn.version&&Number(cn.version.split(".")[0]),mke(cn),cn.mixin(gke(e.bridge)),cn.directive("t",{bind:Ske,update:Oke,unbind:Tke}),cn.component(AL.name,AL),cn.component(ML.name,ML);var r=cn.config.optionMergeStrategies;r.i18n=function(n,i){return i===void 0?n:i}}var mG=function(){this._caches=Object.create(null)};mG.prototype.interpolate=function(e,r){if(!r)return[e];var n=this._caches[e];return n||(n=Ake(e),this._caches[e]=n),Mke(n,r)};var Pke=/^(?:\d)+/,Cke=/^(?:\w)+/;function Ake(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=Pke.test(a)?"list":s&&Cke.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 Mke(t,e){var r=[],n=0,i=Array.isArray(e)?"list":$i(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 Br=0,zl=1,gG=2,vG=3,kT=0,vb=1,bb=2,So=3,Cs=4,yb=5,_b=6,Qy=7,Op=8,ru=[];ru[kT]={ws:[kT],ident:[So,Br],"[":[Cs],eof:[Qy]};ru[vb]={ws:[vb],".":[bb],"[":[Cs],eof:[Qy]};ru[bb]={ws:[bb],ident:[So,Br],0:[So,Br],number:[So,Br]};ru[So]={ident:[So,Br],0:[So,Br],number:[So,Br],ws:[vb,zl],".":[bb,zl],"[":[Cs,zl],eof:[Qy,zl]};ru[Cs]={"'":[yb,Br],'"':[_b,Br],"[":[Cs,gG],"]":[vb,vG],eof:Op,else:[Cs,Br]};ru[yb]={"'":[Cs,Br],eof:Op,else:[yb,Br]};ru[_b]={'"':[Cs,Br],eof:Op,else:[_b,Br]};var $ke=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function kke(t){return $ke.test(t)}function Dke(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 Ike(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 Rke(t){var e=t.trim();return t.charAt(0)==="0"&&isNaN(t)?!1:kke(e)?Dke(e):"*"+e}function Lke(t){var e=[],r=-1,n=kT,i=0,a,s,o,u,c,l,d,f=[];f[zl]=function(){s!==void 0&&(e.push(s),s=void 0)},f[Br]=function(){s===void 0?s=o:s+=o},f[gG]=function(){f[Br](),i++},f[vG]=function(){if(i>0)i--,n=Cs,f[Br]();else{if(i=0,s===void 0||(s=Rke(s),s===!1))return!1;f[zl]()}};function p(){var m=t[r+1];if(n===yb&&m==="'"||n===_b&&m==='"')return r++,o="\\"+m,f[Br](),!0}for(;n!==null;)if(r++,a=t[r],!(a==="\\"&&p())){if(u=Ike(a),d=ru[n],c=d[u]||d.else||Op,c===Op||(n=c[0],l=f[c[1]],l&&(o=c[2],o=o===void 0?a:o,l()===!1)))return;if(n===Qy)return e}}var gC=function(){this._cache=Object.create(null)};gC.prototype.parsePath=function(e){var r=this._cache[e];return r||(r=Lke(e),r&&(this._cache[e]=r)),r||[]};gC.prototype.getPathValue=function(e,r){if(!$i(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 Nke=/<\/?[\w\s="/.':;#-\/]+>/,Bke=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Fke=/^@(?:\.([a-zA-Z]+))?:/,jke=/[()]/g,kL={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},DT=new mG,de=function(e){var r=this;e===void 0&&(e={}),!cn&&typeof window<"u"&&window.Vue&&mC(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||DT,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 gC,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,c){var l=Object.getPrototypeOf(r);if(l&&l.getChoiceIndex){var d=l.getChoiceIndex;return d.call(r,u,c)}var f=function(p,m){return p=Math.abs(p),m===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,c]):f(u,c)},this._exist=function(u,c){return!u||!c?!1:!!(!Dn(r._path.getPathValue(u,c))||u[c])},(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})},wt={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}};de.prototype._checkLocaleMessage=function(e,r,n){var i=[],a=function(s,o,u,c){if(Ha(u))Object.keys(u).forEach(function(f){var p=u[f];Ha(p)?(c.push(f),c.push("."),a(s,o,p,c),c.pop(),c.pop()):(c.push(f),a(s,o,p,c),c.pop())});else if(Wa(u))u.forEach(function(f,p){Ha(f)?(c.push("["+p+"]"),c.push("."),a(s,o,f,c),c.pop(),c.pop()):(c.push("["+p+"]"),a(s,o,f,c),c.pop())});else if(Hr(u)){var l=Nke.test(u);if(l){var d="Detected HTML in message '"+u+"' of keypath '"+c.join("")+"' at '"+o+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";s==="warn"?Pd(d):s==="error"&&ake(d)}}};a(r,e,n,i)};de.prototype._initVM=function(e){var r=cn.config.silent;cn.config.silent=!0,this._vm=new cn({data:e,__VUE18N__INSTANCE__:!0}),cn.config.silent=r};de.prototype.destroyVM=function(){this._vm.$destroy()};de.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)};de.prototype.unsubscribeDataChanging=function(e){cke(this._dataListeners,e)};de.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var r=lke(e._dataListeners),n=r.length;n--;)cn.nextTick(function(){r[n]&&r[n].$forceUpdate()})},{deep:!0})};de.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})}};de.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)};wt.vm.get=function(){return this._vm};wt.messages.get=function(){return Yd(this._getMessages())};wt.dateTimeFormats.get=function(){return Yd(this._getDateTimeFormats())};wt.numberFormats.get=function(){return Yd(this._getNumberFormats())};wt.availableLocales.get=function(){return Object.keys(this.messages).sort()};wt.locale.get=function(){return this._vm.locale};wt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)};wt.fallbackLocale.get=function(){return this._vm.fallbackLocale};wt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)};wt.formatFallbackMessages.get=function(){return this._formatFallbackMessages};wt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t};wt.missing.get=function(){return this._missing};wt.missing.set=function(t){this._missing=t};wt.formatter.get=function(){return this._formatter};wt.formatter.set=function(t){this._formatter=t};wt.silentTranslationWarn.get=function(){return this._silentTranslationWarn};wt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t};wt.silentFallbackWarn.get=function(){return this._silentFallbackWarn};wt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t};wt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent};wt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t};wt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage};wt.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])})}};wt.postTranslation.get=function(){return this._postTranslation};wt.postTranslation.set=function(t){this._postTranslation=t};wt.sync.get=function(){return this._sync};wt.sync.set=function(t){this._sync=t};de.prototype._getMessages=function(){return this._vm.messages};de.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats};de.prototype._getNumberFormats=function(){return this._vm.numberFormats};de.prototype._warnDefault=function(e,r,n,i,a,s){if(!Dn(n))return n;if(this._missing){var o=this._missing.apply(null,[e,r,i,a]);if(Hr(o))return o}if(this._formatFallbackMessages){var u=Xy.apply(void 0,a);return this._render(r,s,u.params,r)}else return r};de.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:Dn(e))&&!Dn(this._root)&&this._fallbackRoot};de.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn};de.prototype._isSilentFallback=function(e,r){return this._isSilentFallbackWarn(r)&&(this._isFallbackRoot()||e!==this.fallbackLocale)};de.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn};de.prototype._interpolate=function(e,r,n,i,a,s,o){if(!r)return null;var u=this._path.getPathValue(r,n);if(Wa(u)||Ha(u))return u;var c;if(Dn(u))if(Ha(r)){if(c=r[n],!(Hr(c)||$T(c)))return null}else return null;else if(Hr(u)||$T(u))c=u;else return null;return Hr(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(e,r,c,i,"raw",s,o)),this._render(c,a,s,n)};de.prototype._link=function(e,r,n,i,a,s,o){var u=n,c=u.match(Bke);for(var l in c)if(c.hasOwnProperty(l)){var d=c[l],f=d.match(Fke),p=f[0],m=f[1],b=d.replace(p,"").replace(jke,"");if(Jy(o,b))return u;o.push(b);var _=this._interpolate(e,r,b,i,a==="raw"?"string":a,a==="raw"?void 0:s,o);if(this._isFallbackRoot(_)){if(!this._root)throw Error("unexpected error");var S=this._root.$i18n;_=S._translate(S._getMessages(),S.locale,S.fallbackLocale,b,i,a,s)}_=this._warnDefault(e,b,_,i,Wa(s)?s:[s],a),this._modifiers.hasOwnProperty(m)?_=this._modifiers[m](_):kL.hasOwnProperty(m)&&(_=kL[m](_)),o.pop(),u=_?u.replace(d,_):u}return u};de.prototype._createMessageContext=function(e,r,n,i){var a=this,s=Wa(e)?e:[],o=$i(e)?e:{},u=function(f){return s[f]},c=function(f){return o[f]},l=this._getMessages(),d=this.locale;return{list:u,named:c,values:e,formatter:r,path:n,messages:l,locale:d,linked:function(f){return a._interpolate(d,l[d]||{},f,null,i,void 0,[f])}}};de.prototype._render=function(e,r,n,i){if($T(e))return e(this._createMessageContext(n,this._formatter||DT,i,r));var a=this._formatter.interpolate(e,n,i);return a||(a=DT.interpolate(e,n,i)),r==="string"&&!Hr(a)?a.join(""):a};de.prototype._appendItemToChain=function(e,r,n){var i=!1;return Jy(e,r)||(i=!0,r&&(i=r[r.length-1]!=="!",r=r.replace(/!/g,""),e.push(r),n&&n[r]&&(i=n[r]))),i};de.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};de.prototype._appendBlockToChain=function(e,r,n){for(var i=!0,a=0;a<r.length&&ske(i);a++){var s=r[a];Hr(s)&&(i=this._appendLocaleToChain(e,s,n))}return i};de.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];Wa(i);)i=this._appendBlockToChain(n,i,r);var a;Wa(r)?a=r:$i(r)?r.default?a=r.default:a=null:a=r,Hr(a)?i=[a]:i=a,i&&this._appendBlockToChain(n,i,null),this._localeChainCache[e]=n}return n};de.prototype._translate=function(e,r,n,i,a,s,o){for(var u=this._getLocaleChain(r,n),c,l=0;l<u.length;l++){var d=u[l];if(c=this._interpolate(d,e[d],i,a,s,o,[i]),!Dn(c))return c}return null};de.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=Xy.apply(void 0,s);this._escapeParameterHtml&&(u.params=pke(u.params));var c=u.locale||r,l=this._translate(n,c,this.fallbackLocale,e,i,"string",u.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(s))}else return l=this._warnDefault(c,e,l,i,s,"string"),this._postTranslation&&l!==null&&l!==void 0&&(l=this._postTranslation(l,e)),l};de.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))};de.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")};de.prototype.i=function(e,r,n){return e?(Hr(r)||(r=this.locale),this._i(e,r,this._getMessages(),null,n)):""};de.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 c={count:a,n:a},l=Xy.apply(void 0,o);return l.params=Object.assign(c,l.params),o=l.locale===null?[l.params]:[l.locale,l.params],this.fetchChoice((s=this)._t.apply(s,[e,r,n,i].concat(o)),a)};de.prototype.fetchChoice=function(e,r){if(!e||!Hr(e))return null;var n=e.split("|");return r=this.getChoiceIndex(r,n.length),n[r]?n[r].trim():e};de.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))};de.prototype._te=function(e,r,n){for(var i=[],a=arguments.length-3;a-- >0;)i[a]=arguments[a+3];var s=Xy.apply(void 0,i).locale||r;return this._exist(n[s],e)};de.prototype.te=function(e,r){return this._te(e,this.locale,this._getMessages(),r)};de.prototype.getLocaleMessage=function(e){return Yd(this._vm.messages[e]||{})};de.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)};de.prototype.mergeLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,Yu(typeof this._vm.messages[e]<"u"&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},r))};de.prototype.getDateTimeFormat=function(e){return Yd(this._vm.dateTimeFormats[e]||{})};de.prototype.setDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,r),this._clearDateTimeFormat(e,r)};de.prototype.mergeDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,Yu(this._vm.dateTimeFormats[e]||{},r)),this._clearDateTimeFormat(e,r)};de.prototype._clearDateTimeFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}};de.prototype._localizeDateTime=function(e,r,n,i,a){for(var s=r,o=i[s],u=this._getLocaleChain(r,n),c=0;c<u.length;c++){var l=s,d=u[c];if(o=i[d],s=d,!(Dn(o)||Dn(o[a])))break}if(Dn(o)||Dn(o[a]))return null;var f=o[a],p=s+"__"+a,m=this._dateTimeFormatters[p];return m||(m=this._dateTimeFormatters[p]=new Intl.DateTimeFormat(s,f)),m.format(e)};de.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||""};de.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?Hr(r[0])?a=r[0]:$i(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key)):r.length===2&&(Hr(r[0])&&(a=r[0]),Hr(r[1])&&(i=r[1])),this._d(e,i,a)};de.prototype.getNumberFormat=function(e){return Yd(this._vm.numberFormats[e]||{})};de.prototype.setNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,r),this._clearNumberFormat(e,r)};de.prototype.mergeNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,Yu(this._vm.numberFormats[e]||{},r)),this._clearNumberFormat(e,r)};de.prototype._clearNumberFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}};de.prototype._getNumberFormatter=function(e,r,n,i,a,s){for(var o=r,u=i[o],c=this._getLocaleChain(r,n),l=0;l<c.length;l++){var d=o,f=c[l];if(u=i[f],o=f,!(Dn(u)||Dn(u[a])))break}if(Dn(u)||Dn(u[a]))return null;var p=u[a],m;if(s)m=new Intl.NumberFormat(o,Object.assign({},p,s));else{var b=o+"__"+a;m=this._numberFormatters[b],m||(m=this._numberFormatters[b]=new Intl.NumberFormat(o,p))}return m};de.prototype._n=function(e,r,n,i){if(!de.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||""};de.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?Hr(r[0])?a=r[0]:$i(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 c;return Jy(dG,u)?Object.assign({},o,(c={},c[u]=r[0][u],c)):o},null)):r.length===2&&(Hr(r[0])&&(a=r[0]),Hr(r[1])&&(i=r[1])),this._n(e,i,a,s)};de.prototype._ntp=function(e,r,n,i){if(!de.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(de.prototype,wt);var q1;Object.defineProperty(de,"availabilities",{get:function(){if(!q1){var e=typeof Intl<"u";q1={dateTimeFormat:e&&typeof Intl.DateTimeFormat<"u",numberFormat:e&&typeof Intl.NumberFormat<"u"}}return q1}});de.install=mC;de.version="8.27.2";const kBe=de;var bG={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Te,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,c=31536e6,l=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)?)?$/,f={years:c,months:l,days:o,hours:s,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},p=function(v){return v instanceof h},m=function(v,g,T){return new h(v,T,g.$l)},b=function(v){return n.p(v)+"s"},_=function(v){return v<0},S=function(v){return _(v)?Math.ceil(v):Math.floor(v)},E=function(v){return Math.abs(v)},O=function(v,g){return v?_(v)?{negative:!0,format:""+E(v)+g}:{negative:!1,format:""+v+g}:{negative:!1,format:""}},h=function(){function v(T,C,k){var w=this;if(this.$d={},this.$l=k,T===void 0&&(this.$ms=0,this.parseFromMilliseconds()),C)return m(T*f[b(C)],this);if(typeof T=="number")return this.$ms=T,this.parseFromMilliseconds(),this;if(typeof T=="object")return Object.keys(T).forEach(function(x){w.$d[b(x)]=T[x]}),this.calMilliseconds(),this;if(typeof T=="string"){var A=T.match(d);if(A){var P=A.slice(2).map(function(x){return x!=null?Number(x):0});return this.$d.years=P[0],this.$d.months=P[1],this.$d.weeks=P[2],this.$d.days=P[3],this.$d.hours=P[4],this.$d.minutes=P[5],this.$d.seconds=P[6],this.calMilliseconds(),this}}return this}var g=v.prototype;return g.calMilliseconds=function(){var T=this;this.$ms=Object.keys(this.$d).reduce(function(C,k){return C+(T.$d[k]||0)*f[k]},0)},g.parseFromMilliseconds=function(){var T=this.$ms;this.$d.years=S(T/c),T%=c,this.$d.months=S(T/l),T%=l,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},g.toISOString=function(){var T=O(this.$d.years,"Y"),C=O(this.$d.months,"M"),k=+this.$d.days||0;this.$d.weeks&&(k+=7*this.$d.weeks);var w=O(k,"D"),A=O(this.$d.hours,"H"),P=O(this.$d.minutes,"M"),x=this.$d.seconds||0;this.$d.milliseconds&&(x+=this.$d.milliseconds/1e3);var $=O(x,"S"),D=T.negative||C.negative||w.negative||A.negative||P.negative||$.negative,M=A.format||P.format||$.format?"T":"",R=(D?"-":"")+"P"+T.format+C.format+w.format+M+A.format+P.format+$.format;return R==="P"||R==="-P"?"P0D":R},g.toJSON=function(){return this.toISOString()},g.format=function(T){var C=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 C.replace(u,function(w,A){return A||String(k[w])})},g.as=function(T){return this.$ms/f[b(T)]},g.get=function(T){var C=this.$ms,k=b(T);return k==="milliseconds"?C%=1e3:C=k==="weeks"?S(C/f[k]):this.$d[k],C===0?0:C},g.add=function(T,C,k){var w;return w=C?T*f[b(C)]:p(T)?T.$ms:m(T,this).$ms,m(this.$ms+w*(k?-1:1),this)},g.subtract=function(T,C){return this.add(T,C,!0)},g.locale=function(T){var C=this.clone();return C.$l=T,C},g.clone=function(){return m(this.$ms,this)},g.humanize=function(T){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!T)},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},v}();return function(v,g,T){r=T,n=T().$utils(),T.duration=function(w,A){var P=T.locale();return m(w,{$l:P},A)},T.isDuration=p;var C=g.prototype.add,k=g.prototype.subtract;g.prototype.add=function(w,A){return p(w)&&(w=w.asMilliseconds()),C.bind(this)(w,A)},g.prototype.subtract=function(w,A){return p(w)&&(w=w.asMilliseconds()),k.bind(this)(w,A)}}})})(bG);var Hke=bG.exports;const DBe=hi(Hke);var IT=function(t,e){return IT=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])},IT(t,e)};function la(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");IT(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var ne=function(){return ne=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},ne.apply(this,arguments)};function yG(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 ue(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(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?a(l.value):i(l.value).then(o,u)}c((n=n.apply(t,e||[])).next())})}function ce(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(c){return function(l){return u([c,l])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(l){c=[6,l],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Er(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 vC=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 RT(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 vc=function(t){la(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 kc(t){return typeof t=="string"}function LT(t){return typeof t=="number"}function Jl(t){return typeof t=="function"}function _G(t){return t!=null}function ui(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()==="object"}var bC="is not a string",zke="is not an object",wG="is nil";function Vke(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(_G(n)){if(!kc(n))throw new vc(e,bC)}else throw new vc(e,wG)}function Uke(t){if(!_G(t))throw new vc("Event",wG);if(typeof t!="object")throw new vc("Event",zke)}function Gke(t){if(!kc(t.type))throw new vc(".type",bC)}function Wke(t){if(!kc(t.event))throw new vc(".event",bC)}function yC(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 Yke(t){return new Promise(function(e){return setTimeout(e,t)})}function Kke(t,e,r){var n=function(){try{return Promise.resolve(e(t))}catch(i){return Promise.reject(i)}};return Yke(r).then(function(){return yC(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 qke(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 SG="onRemoveFromFuture",Zy=function(t){la(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=qke({attempt:i-1});return setTimeout(function(){n.queue.push(r),n.future=n.future.filter(function(s){return s.id!==r.id}),n.emit(SG)},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}(vC),Bu=256,kv=[],$g;for(;Bu--;)kv[Bu]=(Bu+256).toString(16).substring(1);function _C(){var t=0,e,r="";if(!$g||Bu+16>256){for($g=Array(t=256);t--;)$g[t]=256*Math.random()|0;t=Bu=0}for(;t<16;t++)e=$g[Bu+t],t==6?r+=kv[e&15|64]:t==8?r+=kv[e&63|128]:r+=kv[e],t&1&&t>1&&t<11&&(r+="-");return Bu++,r}var Xke=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=ne(ne({},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())),ne(ne({},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}(),Jke=function(t){var e={gauge:"g",counter:"c"};return e[t]},OG=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 ne(ne({},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:Jke(e.type),e:e.timestamp}})},t}(),Qke=function(t){la(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}(OG),Go=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}(),wb=function(){function t(e,r,n,i){r===void 0&&(r=_C()),n===void 0&&(n=new Qke),i===void 0&&(i=new Xke),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 Go({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 RT(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 Zke(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]=Er(Er([],(i=r[a])!==null&&i!==void 0?i:[],!0),[n],!1))}),r}var eDe=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},tDe=function(){var t,e,r=0;return{done:function(){return t},run:function(n){var i=n();return eDe(i)&&(++r===1&&(t=new Promise(function(a){return e=a})),i.finally(function(){return--r===0&&e()})),i}}};function rDe(t){return ue(this,void 0,void 0,function(){var e;return ce(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=rDe(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 Go&&a.type==="middleware_cancellation")throw a;return a instanceof Go?(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 nDe(t,e){return Ql(t,e).then(function(r){if(r instanceof wb)return r;t.log("debug","Context canceled"),t.stats.increment("context_canceled"),t.cancel(r)})}var iDe=function(t){la(e,t);function e(r){var n=t.call(this)||this;return n.criticalTasks=tDe(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=r,n.queue.on(SG,function(){n.scheduleFlush(0)}),n}return e.prototype.register=function(r,n,i){return ue(this,void 0,void 0,function(){var a=this;return ce(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 ue(this,void 0,void 0,function(){var a;return ce(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 ue(this,void 0,void 0,function(){var n;return ce(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 ue(this,void 0,void 0,function(){var n=this;return ce(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 ue(this,void 0,void 0,function(){var n=this;return ce(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 ue(this,void 0,void 0,function(){var n,i,a,s;return ce(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 Go)||r.retry;return i?this.queue.pushWithBackoff(n):!1},e.prototype.flush=function(){return ue(this,void 0,void 0,function(){var r,n,i;return ce(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 m,b,_;if(p.type!=="destination"&&p.name!=="Segment.io")return!0;var S=void 0;return(m=p.alternativeNames)===null||m===void 0||m.forEach(function(E){r[E]!==void 0&&(S=r[E])}),(_=(b=r[p.name])!==null&&b!==void 0?b:S)!==null&&_!==void 0?_:(p.name==="Segment.io"?!0:r.All)!==!1}),i=Zke(n,"type"),a=i.before,s=a===void 0?[]:a,o=i.enrichment,u=o===void 0?[]:o,c=i.destination,l=c===void 0?[]:c,d=i.after,f=d===void 0?[]:d;return{before:s,enrichment:u,destinations:l,after:f}},e.prototype.flushOne=function(r){var n,i;return ue(this,void 0,void 0,function(){var a,s,o,u,c,l,m,d,f,p,m,b,_,S,E;return ce(this,function(O){switch(O.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,c=s,O.label=1;case 1:return u<c.length?(l=c[u],[4,nDe(r,l)]):[3,4];case 2:m=O.sent(),m instanceof wb&&(r=m),this.emit("message_enriched",r,l),O.label=3;case 3:return u++,[3,1];case 4:d=0,f=o,O.label=5;case 5:return d<f.length?(p=f[d],[4,Ql(r,p)]):[3,8];case 6:m=O.sent(),m instanceof wb&&(r=m),this.emit("message_enriched",r,p),O.label=7;case 7:return d++,[3,5];case 8:return b=this.availableExtensions((i=r.event.integrations)!==null&&i!==void 0?i:{}),_=b.destinations,S=b.after,[4,new Promise(function(h,v){setTimeout(function(){var g=_.map(function(T){return Ql(r,T)});Promise.all(g).then(h).catch(v)},0)})];case 9:return O.sent(),r.stats.increment("message_delivered"),this.emit("message_delivered",r),E=S.map(function(h){return Ql(r,h)}),[4,Promise.all(E)];case 10:return O.sent(),[2,r]}})})},e}(vC),aDe=function(t,e){var r=Date.now()-t;return Math.max((e??300)-r,0)};function sDe(t,e,r,n){return ue(this,void 0,void 0,function(){var i,a;return ce(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,Kke(a,n.callback,aDe(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 oDe(t,e,r,n){var i,a=[t,e,r,n],s=ui(t)?t.event:t;if(!s||!kc(s))throw new Error("Event missing");var o=ui(t)?(i=t.properties)!==null&&i!==void 0?i:{}:ui(e)?e:{},u={};Jl(r)||(u=r??{}),ui(t)&&!Jl(e)&&(u=e??{});var c=a.find(Jl);return[s,o,u,c]}function DL(t,e,r,n,i){var a,s,o=null,u=null,c=[t,e,r,n,i],l=c.filter(kc);l[0]!==void 0&&l[1]!==void 0&&(o=l[0],u=l[1]),l.length===1&&(o=null,u=l[0]);var d=c.find(Jl),f=c.filter(function(b){return u===null?ui(b):ui(b)||b===null}),p=(a=f[0])!==null&&a!==void 0?a:{},m=(s=f[1])!==null&&s!==void 0?s:{};return[o,u,p,m,d]}var IL=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(kc))!==null&&e!==void 0?e:(r=s.find(LT))===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:t.id();var c=s.filter(function(p){return u===null?ui(p):ui(p)||p===null}),l=(i=c[0])!==null&&i!==void 0?i:{},d=(a=c[1])!==null&&a!==void 0?a:{},f=s.find(Jl);return[u,l,d,f]}};function uDe(t,e,r,n){LT(t)&&(t=t.toString()),LT(e)&&(e=e.toString());var i=[t,e,r,n],a=i.filter(kc),s=a[0],o=s===void 0?t:s,u=a[1],c=u===void 0?null:u,l=i.filter(ui)[0],d=l===void 0?{}:l,f=i.find(Jl);return[o,c,d,f]}function wC(){return typeof window<"u"}function TG(){return!wC()}function EG(){return wC()?window.navigator.onLine:!0}function bc(){return!EG()}function cDe(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(l){return o[l.toLowerCase()]},has:function(l){return l.toLowerCase()in o}}}};for(var c in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(l,d,f){a.push(d=d.toLowerCase()),s.push([d,f]),o[d]=o[d]?o[d]+","+f:f}),r(u())},i.onerror=n,i.withCredentials=e.credentials=="include",e.headers)i.setRequestHeader(c,e.headers[c]);i.send(e.body||null)})}var SC=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:null},e_=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=SC();return(r&&r.fetch||cDe).apply(void 0,t)},Tp="1.56.0",lDe="npm";function xG(){return lDe}var PG="api.segment.io/v1",dDe=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:ne(ne({},n),{library:"analytics.js",library_version:r==="web"?"next-".concat(Tp):"npm:next-".concat(Tp)})}};function X1(t){console.error("Error sending segment performance metrics",t)}var fDe=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:PG,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(X1),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=dDe(e,r,xG());this.queue.push(n),e.includes("error")&&this.flush().catch(X1)}},t.prototype.flush=function(){return ue(this,void 0,void 0,function(){var e=this;return ce(this,function(r){switch(r.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(n){X1(n),e.sampleRate=0})];case 1:return r.sent(),[2]}})})},t.prototype.send=function(){return ue(this,void 0,void 0,function(){var e,r,n;return ce(this,function(i){return e={series:this.queue},this.queue=[],r={"Content-Type":"text/plain"},n="https://".concat(this.host,"/m"),[2,e_(n,{headers:r,body:JSON.stringify(e),method:"POST"})]})})},t}(),kg,CG=function(t){la(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.initRemoteMetrics=function(r){kg=new fDe(r)},e.prototype.increment=function(r,n,i){t.prototype.increment.call(this,r,n,i),kg==null||kg.increment(r,i??[])},e}(OG),Ku=function(t){la(e,t);function e(r,n){return t.call(this,r,n,new CG)||this}return e.system=function(){return new this({type:"track",event:"system"})},e}(wb),AG={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 O=S[0],h=S[1],v=S[2],g=S[3];O+=(h&v|~h&g)+E[0]-680876936|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+E[1]-389564586|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+E[2]+606105819|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+E[3]-1044525330|0,h=(h<<22|h>>>10)+v|0,O+=(h&v|~h&g)+E[4]-176418897|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+E[5]+1200080426|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+E[6]-1473231341|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+E[7]-45705983|0,h=(h<<22|h>>>10)+v|0,O+=(h&v|~h&g)+E[8]+1770035416|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+E[9]-1958414417|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+E[10]-42063|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+E[11]-1990404162|0,h=(h<<22|h>>>10)+v|0,O+=(h&v|~h&g)+E[12]+1804603682|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+E[13]-40341101|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+E[14]-1502002290|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+E[15]+1236535329|0,h=(h<<22|h>>>10)+v|0,O+=(h&g|v&~g)+E[1]-165796510|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+E[6]-1069501632|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+E[11]+643717713|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+E[0]-373897302|0,h=(h<<20|h>>>12)+v|0,O+=(h&g|v&~g)+E[5]-701558691|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+E[10]+38016083|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+E[15]-660478335|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+E[4]-405537848|0,h=(h<<20|h>>>12)+v|0,O+=(h&g|v&~g)+E[9]+568446438|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+E[14]-1019803690|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+E[3]-187363961|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+E[8]+1163531501|0,h=(h<<20|h>>>12)+v|0,O+=(h&g|v&~g)+E[13]-1444681467|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+E[2]-51403784|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+E[7]+1735328473|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+E[12]-1926607734|0,h=(h<<20|h>>>12)+v|0,O+=(h^v^g)+E[5]-378558|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+E[8]-2022574463|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+E[11]+1839030562|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+E[14]-35309556|0,h=(h<<23|h>>>9)+v|0,O+=(h^v^g)+E[1]-1530992060|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+E[4]+1272893353|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+E[7]-155497632|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+E[10]-1094730640|0,h=(h<<23|h>>>9)+v|0,O+=(h^v^g)+E[13]+681279174|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+E[0]-358537222|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+E[3]-722521979|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+E[6]+76029189|0,h=(h<<23|h>>>9)+v|0,O+=(h^v^g)+E[9]-640364487|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+E[12]-421815835|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+E[15]+530742520|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+E[2]-995338651|0,h=(h<<23|h>>>9)+v|0,O+=(v^(h|~g))+E[0]-198630844|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+E[7]+1126891415|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+E[14]-1416354905|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+E[5]-57434055|0,h=(h<<21|h>>>11)+v|0,O+=(v^(h|~g))+E[12]+1700485571|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+E[3]-1894986606|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+E[10]-1051523|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+E[1]-2054922799|0,h=(h<<21|h>>>11)+v|0,O+=(v^(h|~g))+E[8]+1873313359|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+E[15]-30611744|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+E[6]-1560198380|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+E[13]+1309151649|0,h=(h<<21|h>>>11)+v|0,O+=(v^(h|~g))+E[4]-145523070|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+E[11]-1120210379|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+E[2]+718787259|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+E[9]-343485551|0,h=(h<<21|h>>>11)+v|0,S[0]=O+S[0]|0,S[1]=h+S[1]|0,S[2]=v+S[2]|0,S[3]=g+S[3]|0}function a(S){var E=[],O;for(O=0;O<64;O+=4)E[O>>2]=S.charCodeAt(O)+(S.charCodeAt(O+1)<<8)+(S.charCodeAt(O+2)<<16)+(S.charCodeAt(O+3)<<24);return E}function s(S){var E=[],O;for(O=0;O<64;O+=4)E[O>>2]=S[O]+(S[O+1]<<8)+(S[O+2]<<16)+(S[O+3]<<24);return E}function o(S){var E=S.length,O=[1732584193,-271733879,-1732584194,271733878],h,v,g,T,C,k;for(h=64;h<=E;h+=64)i(O,a(S.substring(h-64,h)));for(S=S.substring(h-64),v=S.length,g=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=0;h<v;h+=1)g[h>>2]|=S.charCodeAt(h)<<(h%4<<3);if(g[h>>2]|=128<<(h%4<<3),h>55)for(i(O,g),h=0;h<16;h+=1)g[h]=0;return T=E*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),C=parseInt(T[2],16),k=parseInt(T[1],16)||0,g[14]=C,g[15]=k,i(O,g),O}function u(S){var E=S.length,O=[1732584193,-271733879,-1732584194,271733878],h,v,g,T,C,k;for(h=64;h<=E;h+=64)i(O,s(S.subarray(h-64,h)));for(S=h-64<E?S.subarray(h-64):new Uint8Array(0),v=S.length,g=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=0;h<v;h+=1)g[h>>2]|=S[h]<<(h%4<<3);if(g[h>>2]|=128<<(h%4<<3),h>55)for(i(O,g),h=0;h<16;h+=1)g[h]=0;return T=E*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),C=parseInt(T[2],16),k=parseInt(T[1],16)||0,g[14]=C,g[15]=k,i(O,g),O}function c(S){var E="",O;for(O=0;O<4;O+=1)E+=n[S>>O*8+4&15]+n[S>>O*8&15];return E}function l(S){var E;for(E=0;E<S.length;E+=1)S[E]=c(S[E]);return S.join("")}l(o("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function S(E,O){return E=E|0||0,E<0?Math.max(E+O,0):Math.min(E,O)}ArrayBuffer.prototype.slice=function(E,O){var h=this.byteLength,v=S(E,h),g=h,T,C,k,w;return O!==r&&(g=S(O,h)),v>g?new ArrayBuffer(0):(T=g-v,C=new ArrayBuffer(T),k=new Uint8Array(C),w=new Uint8Array(this,v,T),k.set(w),C)}}();function d(S){return/[\u0080-\uFFFF]/.test(S)&&(S=unescape(encodeURIComponent(S))),S}function f(S,E){var O=S.length,h=new ArrayBuffer(O),v=new Uint8Array(h),g;for(g=0;g<O;g+=1)v[g]=S.charCodeAt(g);return E?v:h}function p(S){return String.fromCharCode.apply(null,new Uint8Array(S))}function m(S,E,O){var h=new Uint8Array(S.byteLength+E.byteLength);return h.set(new Uint8Array(S)),h.set(new Uint8Array(E),S.byteLength),O?h:h.buffer}function b(S){var E=[],O=S.length,h;for(h=0;h<O-1;h+=2)E.push(parseInt(S.substr(h,2),16));return String.fromCharCode.apply(String,E)}function _(){this.reset()}return _.prototype.append=function(S){return this.appendBinary(d(S)),this},_.prototype.appendBinary=function(S){this._buff+=S,this._length+=S.length;var E=this._buff.length,O;for(O=64;O<=E;O+=64)i(this._hash,a(this._buff.substring(O-64,O)));return this._buff=this._buff.substring(O-64),this},_.prototype.end=function(S){var E=this._buff,O=E.length,h,v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],g;for(h=0;h<O;h+=1)v[h>>2]|=E.charCodeAt(h)<<(h%4<<3);return this._finish(v,O),g=l(this._hash),S&&(g=b(g)),this.reset(),g},_.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},_.prototype.setState=function(S){return this._buff=S.buff,this._length=S.length,this._hash=S.hash,this},_.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},_.prototype._finish=function(S,E){var O=E,h,v,g;if(S[O>>2]|=128<<(O%4<<3),O>55)for(i(this._hash,S),O=0;O<16;O+=1)S[O]=0;h=this._length*8,h=h.toString(16).match(/(.*?)(.{0,8})$/),v=parseInt(h[2],16),g=parseInt(h[1],16)||0,S[14]=v,S[15]=g,i(this._hash,S)},_.hash=function(S,E){return _.hashBinary(d(S),E)},_.hashBinary=function(S,E){var O=o(S),h=l(O);return E?b(h):h},_.ArrayBuffer=function(){this.reset()},_.ArrayBuffer.prototype.append=function(S){var E=m(this._buff.buffer,S,!0),O=E.length,h;for(this._length+=S.byteLength,h=64;h<=O;h+=64)i(this._hash,s(E.subarray(h-64,h)));return this._buff=h-64<O?new Uint8Array(E.buffer.slice(h-64)):new Uint8Array(0),this},_.ArrayBuffer.prototype.end=function(S){var E=this._buff,O=E.length,h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],v,g;for(v=0;v<O;v+=1)h[v>>2]|=E[v]<<(v%4<<3);return this._finish(h,O),g=l(this._hash),S&&(g=b(g)),this.reset(),g},_.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.ArrayBuffer.prototype.getState=function(){var S=_.prototype.getState.call(this);return S.buff=p(S.buff),S},_.ArrayBuffer.prototype.setState=function(S){return S.buff=f(S.buff,!0),_.prototype.setState.call(this,S)},_.ArrayBuffer.prototype.destroy=_.prototype.destroy,_.ArrayBuffer.prototype._finish=_.prototype._finish,_.ArrayBuffer.hash=function(S,E){var O=u(new Uint8Array(S)),h=l(O);return E?b(h):h},_})})(AG);var hDe=AG.exports;const pDe=hi(hDe);var mDe=function(){function t(e){this.user=e}return t.prototype.track=function(e,r,n,i){return this.normalize(ne(ne({},this.baseEvent()),{event:e,type:"track",properties:r,options:ne({},n),integrations:ne({},i)}))},t.prototype.page=function(e,r,n,i,a){var s,o={type:"page",properties:ne({},n),options:ne({},i),integrations:ne({},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(ne(ne({},this.baseEvent()),o))},t.prototype.screen=function(e,r,n,i,a){var s={type:"screen",properties:ne({},n),options:ne({},i),integrations:ne({},a)};return e!==null&&(s.category=e),r!==null&&(s.name=r),this.normalize(ne(ne({},this.baseEvent()),s))},t.prototype.identify=function(e,r,n,i){return this.normalize(ne(ne({},this.baseEvent()),{type:"identify",userId:e,traits:r,options:ne({},n),integrations:ne({},i)}))},t.prototype.group=function(e,r,n,i){return this.normalize(ne(ne({},this.baseEvent()),{type:"group",traits:r,options:ne({},n),integrations:ne({},i),groupId:e}))},t.prototype.alias=function(e,r,n,i){var a={userId:e,type:"alias",options:ne({},n),integrations:ne({},i)};return r!==null&&(a.previousId=r),e===void 0?this.normalize(ne(ne({},a),this.baseEvent())):this.normalize(ne(ne({},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:{},c={};return o.forEach(function(l){l!=="context"&&(a.includes(l)?RT(c,l,s[l]):RT(u,l,s[l]))}),[u,c]},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(m,b){var _,S;return ne(ne({},m),(_={},_[b]=!!(!((S=e.integrations)===null||S===void 0)&&S[b]),_))},{}),s=ne(ne({},a),(i=e.options)===null||i===void 0?void 0:i.integrations),o=this.context(e),u=o[0],c=o[1];e.options;var l=yG(e,["options"]),d=ne(ne(ne({timestamp:new Date},l),{context:u,integrations:s}),c),f="ajs-next-"+pDe.hash(JSON.stringify(d)+_C()),p=ne(ne({},d),{messageId:f});return p},t}(),za={getItem:function(){},setItem:function(){},removeItem:function(){}};try{za=wC()&&window.localStorage?window.localStorage:za}catch(t){console.warn("Unable to access localStorage",t)}function MG(t){var e=za.getItem(t);return(e?JSON.parse(e):[]).map(function(r){return new Ku(r.event,r.id)})}function gDe(t,e){var r=MG(t),n=Er(Er([],e,!0),r,!0),i=n.reduce(function(a,s){var o;return ne(ne({},a),(o={},o[s.id]=s,o))},{});za.setItem(t,JSON.stringify(Object.values(i)))}function $G(t){var e=za.getItem(t);return e?JSON.parse(e):{}}function vDe(t,e){var r=$G(t);za.setItem(t,JSON.stringify(ne(ne({},r),e)))}function RL(t){za.removeItem(t)}var bDe=function(){return new Date().getTime()};function NT(t,e,r){r===void 0&&(r=0);var n=50,i="persisted-queue:v1:".concat(t,":lock"),a=function(c){return new Date().getTime()>c},s=za.getItem(i),o=s?JSON.parse(s):null,u=o===null||a(o);if(u){za.setItem(i,JSON.stringify(bDe()+n)),e(),za.removeItem(i);return}!u&&r<3?setTimeout(function(){NT(t,e,r+1)},n):console.error("Unable to retrieve lock")}var t_=function(t){la(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 NT(n,function(){try{o=MG(a),u=$G(s),RL(a),RL(s),i.queue=Er(Er([],o,!0),i.queue,!0),i.seen=ne(ne({},u),i.seen)}catch(c){console.error(c)}}),window.addEventListener("pagehide",function(){if(i.todo>0){var c=Er(Er([],i.queue,!0),i.future,!0);try{NT(n,function(){gDe(a,c),vDe(s,i.seen)})}catch(l){console.error(l)}}}),i}return e}(Zy),yDe=function(t){la(e,t);function e(r){return t.call(this,typeof r=="string"?new t_(4,r):r)||this}return e.prototype.flush=function(){return ue(this,void 0,void 0,function(){return ce(this,function(r){return bc()?[2,[]]:[2,t.prototype.flush.call(this)]})})},e}(iDe);function OC(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 Dg(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 _De={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 BT(t,e){function r(i,a,s){if(!(typeof document>"u")){s=Dg({},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("="),c=u.slice(1).join("=");try{var l=decodeURIComponent(u[0]);if(s[l]=t.read(c,l),i===l)break}catch{}}return i?s[i]:s}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Dg({},a,{expires:-1}))},withAttributes:function(i){return BT(this.converter,Dg({},this.attributes,i))},withConverter:function(i){return BT(Dg({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var bs=BT(_De,{path:"/"});function wDe(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 SDe(t){try{return new URL(t)}catch{return}}function kG(t){var e=SDe(t);if(e)for(var r=wDe(e),n=0;n<r.length;++n){var i="__tld__",a=r[n],s={domain:"."+a};try{if(bs.set(i,"1",s),bs.get(i))return bs.remove(i,s),a}catch{return}}}var ODe=365,DG=function(){function t(e){e===void 0&&(e=t.defaults),this.options=ne(ne({},t.defaults),e)}return Object.defineProperty(t,"defaults",{get:function(){return{maxage:ODe,domain:kG(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=bs.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"?bs.set(e,r,this.opts()):r===null?bs.remove(e,this.opts()):bs.set(e,JSON.stringify(r),this.opts())},t.prototype.remove=function(e){return bs.remove(e,this.opts())},t}(),TDe=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}(),TC=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}(),Cn={Cookie:"cookie",LocalStorage:"localStorage",Memory:"memory"};function IG(t){return t&&t.stores&&Array.isArray(t.stores)&&t.stores.every(function(e){return Object.values(Cn).includes(e)})}function EDe(t){return typeof t=="object"&&t.name!==void 0}var qu=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 FT(t){var e=t.map(function(r){var n,i;switch(EDe(r)?(n=r.name,i=r.settings):n=r,n){case Cn.Cookie:return new DG(i);case Cn.LocalStorage:return new TDe;case Cn.Memory:return new TC;default:throw new Error("Unknown Store Type: ".concat(r))}});return e}function RG(t,e){return t.map(function(r){return e&&r===Cn.Cookie?{name:r,settings:e}:r})}var _u={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},LG=function(){function t(e,r){e===void 0&&(e=_u);var n=this,i,a,s,o;this.options={},this.id=function(c){if(n.options.disable)return null;var l=n.identityStore.getAndSync(n.idKey);if(c!==void 0){n.identityStore.set(n.idKey,c);var d=c!==l&&l!==null&&c!==null;d&&n.anonymousId(null)}var f=n.identityStore.getAndSync(n.idKey);if(f)return f;var p=n.legacyUserStore.get(_u.cookie.oldKey);return p?typeof p=="object"?p.id:p:null},this.anonymousId=function(c){var l,d;if(n.options.disable)return null;if(c===void 0){var f=(l=n.identityStore.getAndSync(n.anonKey))!==null&&l!==void 0?l:(d=n.legacySIO())===null||d===void 0?void 0:d[0];if(f)return f}return c===null?(n.identityStore.set(n.anonKey,null),n.identityStore.getAndSync(n.anonKey)):(n.identityStore.set(n.anonKey,c??_C()),n.identityStore.getAndSync(n.anonKey))},this.traits=function(c){var l;if(!n.options.disable)return c===null&&(c={}),c&&n.traitsStore.set(n.traitsKey,c??{}),(l=n.traitsStore.get(n.traitsKey))!==null&&l!==void 0?l:{}},this.options=ne(ne({},_u),e),this.cookieOptions=r,this.idKey=(a=(i=e.cookie)===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:_u.cookie.key,this.traitsKey=(o=(s=e.localStorage)===null||s===void 0?void 0:s.key)!==null&&o!==void 0?o:_u.localStorage.key,this.anonKey="ajs_anonymous_id",this.identityStore=this.createStorage(this.options,r),this.legacyUserStore=this.createStorage(this.options,r,function(c){return c===Cn.Cookie}),this.traitsStore=this.createStorage(this.options,r,function(c){return c!==Cn.Cookie});var u=this.legacyUserStore.get(_u.cookie.oldKey);u&&typeof u=="object"&&(u.id&&this.id(u.id),u.traits&&this.traits(u.traits)),OC(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=ne(ne({},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=[Cn.LocalStorage,Cn.Cookie,Cn.Memory];return e.disable?new qu([]):e.persist?(e.storage!==void 0&&e.storage!==null&&IG(e.storage)&&(i=e.storage.stores),e.localStorageFallbackDisabled&&(i=i.filter(function(a){return a!==Cn.LocalStorage})),n&&(i=i.filter(n)),new qu(FT(RG(i,r)))):new qu([new TC])},t.defaults=_u,t}(),LL={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},xDe=function(t){la(e,t);function e(r,n){r===void 0&&(r=LL);var i=t.call(this,ne(ne({},LL),r),n)||this;return i.anonymousId=function(a){},OC(i),i}return e}(LG),EC="analytics";function xC(){return window[EC]}function PDe(t){EC=t}function CDe(t){window[EC]=t}var no="This is being deprecated and will be not be available in future releases of Analytics JS",J1=SC(),Q1=J1==null?void 0:J1.analytics;function ADe(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=e?4:1,i=r?new Zy(n,[]):new t_(n,t);return new yDe(i)}function ba(){console.warn(no)}var MDe=function(t){la(e,t);function e(r,n,i,a,s){var o=this,u,c,l;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=ba,o.addIntegrationMiddleware=ba,o.listeners=ba,o.addEventListener=ba,o.removeAllListeners=ba,o.removeListener=ba,o.removeEventListener=ba,o.hasListeners=ba,o.add=ba,o.addIntegration=ba;var d=n==null?void 0:n.cookie,f=(u=n==null?void 0:n.disableClientPersistence)!==null&&u!==void 0?u:!1;o.settings=r,o.settings.timeout=(c=o.settings.timeout)!==null&&c!==void 0?c:300,o.queue=i??ADe("".concat(r.writeKey,":event-queue"),n==null?void 0:n.retryQueue,f);var p=n==null?void 0:n.storage;return o._universalStorage=o.createStore(f,p,d),o._user=a??new LG(ne({persist:!f,storage:n==null?void 0:n.storage},n==null?void 0:n.user),d).load(),o._group=s??new xDe(ne({persist:!f,storage:n==null?void 0:n.storage},n==null?void 0:n.group),d).load(),o.eventFactory=new mDe(o._user),o.integrations=(l=n==null?void 0:n.integrations)!==null&&l!==void 0?l:{},o.options=n??{},OC(o),o}return e.prototype.createStore=function(r,n,i){return r?new qu([new TC]):n&&IG(n)?new qu(FT(RG(n.stores,i))):new qu(FT([Cn.LocalStorage,{name:Cn.Cookie,settings:i},Cn.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 ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l=this;return ce(this,function(d){return i=oDe.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=this.eventFactory.track(a,s,o,this.integrations),[2,this._dispatch(c,u).then(function(f){return l.emit("track",a,f.event.properties,f.event.options),f})]})})},e.prototype.page=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l,d=this;return ce(this,function(f){return i=DL.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=i[4],l=this.eventFactory.page(a,s,o,u,this.integrations),[2,this._dispatch(l,c).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 ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l=this;return ce(this,function(d){return i=IL(this._user).apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],this._user.identify(a,s),c=this.eventFactory.identify(this._user.id(),this._user.traits(),o,this.integrations),[2,this._dispatch(c,u).then(function(f){return l.emit("identify",f.event.userId,f.event.traits,f.event.options),f})]})})},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=IL(this._group).apply(void 0,n),s=a[0],o=a[1],u=a[2],c=a[3];this._group.identify(s,o);var l=this._group.id(),d=this._group.traits(),f=this.eventFactory.group(l,d,u,this.integrations);return this._dispatch(f,c).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 ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l=this;return ce(this,function(d){return i=uDe.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=this.eventFactory.alias(a,s,o,this.integrations),[2,this._dispatch(c,u).then(function(f){return l.emit("alias",a,s,f.event.options),f})]})})},e.prototype.screen=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l,d=this;return ce(this,function(f){return i=DL.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=i[4],l=this.eventFactory.screen(a,s,o,u,this.integrations),[2,this._dispatch(l,c).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 ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,Ti(()=>Promise.resolve().then(()=>Ig),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,Er([this],r,!1))]}})})},e.prototype.trackLink=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,Ti(()=>Promise.resolve().then(()=>Ig),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,Er([this],r,!1))]}})})},e.prototype.trackSubmit=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,Ti(()=>Promise.resolve().then(()=>Ig),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,Er([this],r,!1))]}})})},e.prototype.trackForm=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,Ti(()=>Promise.resolve().then(()=>Ig),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,Er([this],r,!1))]}})})},e.prototype.register=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s=this;return ce(this,function(o){switch(o.label){case 0:return i=Ku.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 ue(this,void 0,void 0,function(){var i,a,s=this;return ce(this,function(o){switch(o.label){case 0:return i=Ku.system(),a=r.map(function(u){var c=s.queue.plugins.find(function(l){return l.name===u});if(c)return s.queue.deregister(i,c,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 ue(this,void 0,void 0,function(){var i;return ce(this,function(a){return i=new Ku(r),bc()&&!this.options.retryQueue?[2,i]:[2,sDe(i,this.queue,this,{callback:n,debug:this._debug,timeout:this.settings.timeout})]})})},e.prototype.addSourceMiddleware=function(r){return ue(this,void 0,void 0,function(){var n=this;return ce(this,function(i){switch(i.label){case 0:return[4,this.queue.criticalTasks.run(function(){return ue(n,void 0,void 0,function(){var a,s,o;return ce(this,function(u){switch(u.label){case 0:return[4,Ti(()=>Promise.resolve().then(()=>DIe),void 0,import.meta.url)];case 1:return a=u.sent().sourceMiddlewarePlugin,s={},this.queue.plugins.forEach(function(c){if(c.type==="destination")return s[c.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 ue(this,void 0,void 0,function(){var n;return ce(this,function(i){switch(i.label){case 0:return this.options.useQueryString===!1?[2,[]]:[4,Ti(()=>Promise.resolve().then(()=>_2e),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}),ue(this,void 0,void 0,function(){return ce(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(no),CDe(Q1??this),this},e.prototype.normalize=function(r){return console.warn(no),this.eventFactory.normalize(r)},Object.defineProperty(e.prototype,"failedInitializations",{get:function(){return console.warn(no),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"VERSION",{get:function(){return Tp},enumerable:!1,configurable:!0}),e.prototype.initialize=function(r,n){return ue(this,void 0,void 0,function(){return ce(this,function(i){return console.warn(no),[2,Promise.resolve(this)]})})},e.prototype.pageview=function(r){return ue(this,void 0,void 0,function(){return ce(this,function(n){switch(n.label){case 0:return console.warn(no),[4,this.page({path:r})];case 1:return n.sent(),[2,this]}})})},Object.defineProperty(e.prototype,"plugins",{get:function(){var r;return console.warn(no),(r=this._plugins)!==null&&r!==void 0?r:{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Integrations",{get:function(){console.warn(no);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}(vC);function NG(){return typeof process>"u"||!process.env?{}:process.env}var $De=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,kDe=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=$De.exec(i);a&&a[1]&&(t=a[1])}),t},Dv,DDe=function(){var t,e=Dv??((t=xC())===null||t===void 0?void 0:t._cdn);return e},IDe=function(t){var e=xC();e&&(e._cdn=t),Dv=t},PC=function(){var t=DDe();if(t)return t;var e=kDe();return e||"https://cdn.segment.com"},CC=function(){var t=PC();return"".concat(t,"/next-integrations")};function BG(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],c=a[1];return typeof c=="object"?ne(ne({},i),(s={},s[u]=c,s)):ne(ne({},i),(o={},o[u]={},o))},{});return Object.entries(t.integrations).reduce(function(i,a){var s,o=a[0],u=a[1];return ne(ne({},i),(s={},s[o]=ne(ne({},u),n[o]),s))},{})}var RDe=function(){var t,e,r=new Promise(function(n,i){t=n,e=i});return{resolve:t,reject:e,promise:r}},LDe=function(t,e){return Object.assign.apply(Object,Er([{}],e.map(function(r){var n;if(t&&Object.prototype.hasOwnProperty.call(t,r))return n={},n[r]=t[r],n}),!1))};function FG(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return t}}var Yf;function NDe(){if(Yf)return Yf;var t=kG(window.location.href);return Yf={expires:31536e6,secure:!1,path:"/"},t&&(Yf.domain=t),Yf}function BDe(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 jG(){var t=document.querySelector("link[rel='canonical']");if(t)return t.getAttribute("href")||void 0}function FDe(){var t=jG();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 jDe(t){t===void 0&&(t="");var e=jG();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 HDe(){return{path:FDe(),referrer:document.referrer,search:location.search,title:document.title,url:jDe(location.search)}}function zDe(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]=FG(s)}return e},{})}function VDe(){var t=bs.get("_ga");if(t&&t.startsWith("amp"))return t}function UDe(t,e,r){var n,i=new qu(r?[]:[new DG(NDe())]),a=i.get("s:context.referrer"),s=(n=BDe(t))!==null&&n!==void 0?n:a;s&&(e&&(e.referrer=ne(ne({},e.referrer),s)),i.set("s:context.referrer",s))}var GDe=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=HDe(),c;s.type==="page"&&(c=s.properties&&LDe(s.properties,Object.keys(u)),s.properties=ne(ne(ne({},u),s.properties),s.name?{name:s.name}:{})),o.page=ne(ne(ne({},u),c),o.page);var l=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(xG()==="web"?"next":"npm:next","-").concat(Tp)}),l&&!o.campaign&&(o.campaign=zDe(l));var f=VDe();return f&&(o.amp={id:f}),UDe(l,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}(),WDe=new GDe;function HG(t){var e=Array.prototype.slice.call(window.document.querySelectorAll("script"));return e.find(function(r){return r.src===t})}function Zl(t,e){var r=HG(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,c=Object.entries(e??{});u<c.length;u++){var l=c[u],d=l[0],f=l[1];o.setAttribute(d,f)}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 YDe(t){var e=HG(t);return e!==void 0&&e.remove(),Promise.resolve()}var Zn={},Xa={},AC={},zG={exports:{}};(function(t){t.exports=e(r),t.exports.find=t.exports,t.exports.replace=function(o,u,c,l){return e(i).call(this,o,u,c,l),o},t.exports.del=function(o,u,c){return e(n).call(this,o,u,null,c),o};function e(o){return function(u,c,l,d){var f=d&&s(d.normalizer)?d.normalizer:a;c=f(c);for(var p,m=!1;!m;)b();function b(){for(p in u){var _=f(p);if(c.indexOf(_)===0){var S=c.substr(_.length);if(S.charAt(0)==="."||S.length===0){c=S.substr(1);var E=u[p];if(E==null){m=!0;return}if(!c.length){m=!0;return}u=E;return}}}p=void 0,m=!0}if(p)return u==null?u:o(u,p,l)}}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,c){return o.hasOwnProperty(u)&&(o[u]=c),o}function a(o){return o.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function s(o){return typeof o=="function"}})(zG);var r_=zG.exports,KDe=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(AC,"__esModule",{value:!0});var to=KDe(r_);function gl(t,e){return function(){var r=this.traits(),n=this.properties?this.properties():{};return to.default(r,"address."+t)||to.default(r,t)||(e?to.default(r,"address."+e):null)||(e?to.default(r,e):null)||to.default(n,"address."+t)||to.default(n,t)||(e?to.default(n,"address."+e):null)||(e?to.default(n,e):null)}}function qDe(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")}AC.default=qDe;var n_={};Object.defineProperty(n_,"__esModule",{value:!0});n_.clone=void 0;function jT(t){if(Object.prototype.toString.call(t)==="[object Object]"){var e={};for(var r in t)e[r]=jT(t[r]);return e}else return Array.isArray(t)?t.map(jT):t}n_.clone=jT;var MC={};Object.defineProperty(MC,"__esModule",{value:!0});var XDe={Salesforce:!0};function JDe(t){return!XDe[t]}MC.default=JDe;var i_={},VG=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;i_.parse=function(t){var e=[1,5,6,7,11,12],r=VG.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)};i_.is=function(t,e){return typeof t!="string"||e&&/^\d{4}-\d{2}-\d{2}/.test(t)===!1?!1:VG.test(t)};var $C={},QDe=/\d{13}/;$C.is=function(t){return QDe.test(t)};$C.parse=function(t){return t=parseInt(t,10),new Date(t)};var kC={},ZDe=/\d{10}/;kC.is=function(t){return ZDe.test(t)};kC.parse=function(t){var e=parseInt(t,10)*1e3;return new Date(e)};var NL=i_,BL=$C,FL=kC,eIe=Object.prototype,UG=eIe.toString;function tIe(t){return UG.call(t)==="[object Date]"}function rIe(t){return UG.call(t)==="[object Number]"}var DC=function(e){return tIe(e)?e:rIe(e)?new Date(nIe(e)):NL.is(e)?NL.parse(e):BL.is(e)?BL.parse(e):FL.is(e)?FL.parse(e):new Date(e)};function nIe(t){return t<315576e5?t*1e3:t}var jL=i_,iIe=IC;function IC(t,e){return e===void 0&&(e=!0),t&&typeof t=="object"?aIe(t,e):Array.isArray(t)?sIe(t,e):jL.is(t,e)?jL.parse(t):t}function aIe(t,e){return Object.keys(t).forEach(function(r){t[r]=IC(t[r],e)}),t}function sIe(t,e){return t.forEach(function(r,n){t[n]=IC(r,e)}),t}var im=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xa,"__esModule",{value:!0});Xa.Facade=void 0;var oIe=im(AC),Cd=n_,uIe=im(MC),cIe=im(DC),HT=im(r_),lIe=im(iIe);function mi(t,e){e=e||{},this.raw=Cd.clone(t),"clone"in e||(e.clone=!0),e.clone&&(t=Cd.clone(t)),"traverse"in e||(e.traverse=!0),"timestamp"in t?t.timestamp=cIe.default(t.timestamp):t.timestamp=new Date,e.traverse&&lIe.default(t),this.opts=e,this.obj=t}Xa.Facade=mi;var Ut=mi.prototype;Ut.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?zT(r):r:(r=HT.default(r,e.join(".")),this.opts.clone?zT(r):r))};Ut.field=function(t){var e=this.obj[t];return this.opts.clone?zT(e):e};mi.proxy=function(t){return function(){return this.proxy(t)}};mi.field=function(t){return function(){return this.field(t)}};mi.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?Cd.clone(r):r]),r||[]}};mi.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]}};Ut.json=function(){var t=this.opts.clone?Cd.clone(this.obj):this.obj;return this.type&&(t.type=this.type()),t};Ut.rawEvent=function(){return this.raw};Ut.options=function(t){var e=this.obj.options||this.obj.context||{},r=this.opts.clone?Cd.clone(e):e;if(!t)return r;if(this.enabled(t)){var n=this.integrations(),i=n[t]||HT.default(n,t);return typeof i!="object"&&(i=HT.default(this.options(),t)),typeof i=="object"?i:{}}};Ut.context=Ut.options;Ut.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&&uIe.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};Ut.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()};Ut.active=function(){var t=this.proxy("options.active");return t==null&&(t=!0),t};Ut.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")};Ut.sessionId=Ut.anonymousId;Ut.groupId=mi.proxy("options.groupId");Ut.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};Ut.library=function(){var t=this.proxy("options.library");return t?typeof t=="string"?{name:t,version:null}:t:{name:"unknown",version:null}};Ut.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};Ut.userAgent=mi.proxy("context.userAgent");Ut.timezone=mi.proxy("context.timezone");Ut.timestamp=mi.field("timestamp");Ut.channel=mi.field("channel");Ut.ip=mi.proxy("context.ip");Ut.userId=mi.field("userId");oIe.default(Ut);function zT(t){return Cd.clone(t)}var a_={},VT={exports:{}};typeof Object.create=="function"?VT.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:VT.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 Dc=VT.exports,dIe=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(a_,"__esModule",{value:!0});a_.Alias=void 0;var fIe=dIe(Dc),GG=Xa;function Xi(t,e){GG.Facade.call(this,t,e)}a_.Alias=Xi;fIe.default(Xi,GG.Facade);Xi.prototype.action=function(){return"alias"};Xi.prototype.type=Xi.prototype.action;Xi.prototype.previousId=function(){return this.field("previousId")||this.field("from")};Xi.prototype.from=Xi.prototype.previousId;Xi.prototype.userId=function(){return this.field("userId")||this.field("to")};Xi.prototype.to=Xi.prototype.userId;var s_={},Kd={};Object.defineProperty(Kd,"__esModule",{value:!0});var hIe=/.+\@.+\..+/;function pIe(t){return hIe.test(t)}Kd.default=pIe;var RC=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(s_,"__esModule",{value:!0});s_.Group=void 0;var mIe=RC(Dc),gIe=RC(Kd),vIe=RC(DC),qd=Xa;function LC(t,e){qd.Facade.call(this,t,e)}s_.Group=LC;mIe.default(LC,qd.Facade);var Ji=LC.prototype;Ji.action=function(){return"group"};Ji.type=Ji.action;Ji.groupId=qd.Facade.field("groupId");Ji.created=function(){var t=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(t)return vIe.default(t)};Ji.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.groupId();if(gIe.default(e))return e};Ji.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};Ji.name=qd.Facade.proxy("traits.name");Ji.industry=qd.Facade.proxy("traits.industry");Ji.employees=qd.Facade.proxy("traits.employees");Ji.properties=function(){return this.field("traits")||this.field("properties")||{}};var am={},o_=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(am,"__esModule",{value:!0});am.Identify=void 0;var Ja=Xa,ed=o_(r_),bIe=o_(Dc),yIe=o_(Kd),WG=o_(DC),Xu=function(t){return t.trim()};function NC(t,e){Ja.Facade.call(this,t,e)}am.Identify=NC;bIe.default(NC,Ja.Facade);var Gt=NC.prototype;Gt.action=function(){return"identify"};Gt.type=Gt.action;Gt.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};Gt.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.userId();if(yIe.default(e))return e};Gt.created=function(){var t=this.proxy("traits.created")||this.proxy("traits.createdAt");if(t)return WG.default(t)};Gt.companyCreated=function(){var t=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(t)return WG.default(t)};Gt.companyName=function(){return this.proxy("traits.company.name")};Gt.name=function(){var t=this.proxy("traits.name");if(typeof t=="string")return Xu(t);var e=this.firstName(),r=this.lastName();if(e&&r)return Xu(e+" "+r)};Gt.firstName=function(){var t=this.proxy("traits.firstName");if(typeof t=="string")return Xu(t);var e=this.proxy("traits.name");if(typeof e=="string")return Xu(e).split(" ")[0]};Gt.lastName=function(){var t=this.proxy("traits.lastName");if(typeof t=="string")return Xu(t);var e=this.proxy("traits.name");if(typeof e=="string"){var r=Xu(e).indexOf(" ");if(r!==-1)return Xu(e.substr(r+1))}};Gt.uid=function(){return this.userId()||this.username()||this.email()};Gt.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")};Gt.age=function(){var t=this.birthday(),e=ed.default(this.traits(),"age");if(e!=null)return e;if(t instanceof Date){var r=new Date;return r.getFullYear()-t.getFullYear()}};Gt.avatar=function(){var t=this.traits();return ed.default(t,"avatar")||ed.default(t,"photoUrl")||ed.default(t,"avatarUrl")};Gt.position=function(){var t=this.traits();return ed.default(t,"position")||ed.default(t,"jobTitle")};Gt.username=Ja.Facade.proxy("traits.username");Gt.website=Ja.Facade.one("traits.website");Gt.websites=Ja.Facade.multi("traits.website");Gt.phone=Ja.Facade.one("traits.phone");Gt.phones=Ja.Facade.multi("traits.phone");Gt.address=Ja.Facade.proxy("traits.address");Gt.gender=Ja.Facade.proxy("traits.gender");Gt.birthday=Ja.Facade.proxy("traits.birthday");var Xd={},BC=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xd,"__esModule",{value:!0});Xd.Track=void 0;var _Ie=BC(Dc),zr=Xa,wIe=am,SIe=BC(Kd),YG=BC(r_);function FC(t,e){zr.Facade.call(this,t,e)}Xd.Track=FC;_Ie.default(FC,zr.Facade);var Fe=FC.prototype;Fe.action=function(){return"track"};Fe.type=Fe.action;Fe.event=zr.Facade.field("event");Fe.value=zr.Facade.proxy("properties.value");Fe.category=zr.Facade.proxy("properties.category");Fe.id=zr.Facade.proxy("properties.id");Fe.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")};Fe.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")};Fe.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")};Fe.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")};Fe.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")};Fe.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")};Fe.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")};Fe.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")};Fe.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")};Fe.sku=zr.Facade.proxy("properties.sku");Fe.tax=zr.Facade.proxy("properties.tax");Fe.name=zr.Facade.proxy("properties.name");Fe.price=zr.Facade.proxy("properties.price");Fe.total=zr.Facade.proxy("properties.total");Fe.repeat=zr.Facade.proxy("properties.repeat");Fe.coupon=zr.Facade.proxy("properties.coupon");Fe.shipping=zr.Facade.proxy("properties.shipping");Fe.discount=zr.Facade.proxy("properties.discount");Fe.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")};Fe.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")};Fe.description=zr.Facade.proxy("properties.description");Fe.plan=zr.Facade.proxy("properties.plan");Fe.subtotal=function(){var t=YG.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};Fe.products=function(){var t=this.properties(),e=YG.default(t,"products");return Array.isArray(e)?e.filter(function(r){return r!==null}):[]};Fe.quantity=function(){var t=this.obj.properties||{};return t.quantity||1};Fe.currency=function(){var t=this.obj.properties||{};return t.currency||"USD"};Fe.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};Fe.query=zr.Facade.proxy("options.query");Fe.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};Fe.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()};Fe.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(SIe.default(e))return e};Fe.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")),OIe(t)};Fe.cents=function(){var t=this.revenue();return typeof t!="number"?this.value()||0:t*100};Fe.identify=function(){var t=this.json();return t.traits=this.traits(),new wIe.Identify(t,this.opts)};function OIe(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 sm={},KG=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sm,"__esModule",{value:!0});sm.Page=void 0;var TIe=KG(Dc),Ic=Xa,EIe=Xd,xIe=KG(Kd);function jC(t,e){Ic.Facade.call(this,t,e)}sm.Page=jC;TIe.default(jC,Ic.Facade);var jn=jC.prototype;jn.action=function(){return"page"};jn.type=jn.action;jn.category=Ic.Facade.field("category");jn.name=Ic.Facade.field("name");jn.title=Ic.Facade.proxy("properties.title");jn.path=Ic.Facade.proxy("properties.path");jn.url=Ic.Facade.proxy("properties.url");jn.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};jn.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};jn.email=function(){var t=this.proxy("context.traits.email")||this.proxy("properties.email");if(t)return t;var e=this.userId();if(xIe.default(e))return e};jn.fullName=function(){var t=this.category(),e=this.name();return e&&t?t+" "+e:e};jn.event=function(t){return t?"Viewed "+t+" Page":"Loaded a Page"};jn.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new EIe.Track(e,this.opts)};var u_={},PIe=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(u_,"__esModule",{value:!0});u_.Screen=void 0;var CIe=PIe(Dc),qG=sm,AIe=Xd;function yc(t,e){qG.Page.call(this,t,e)}u_.Screen=yc;CIe.default(yc,qG.Page);yc.prototype.action=function(){return"screen"};yc.prototype.type=yc.prototype.action;yc.prototype.event=function(t){return t?"Viewed "+t+" Screen":"Loaded a Screen"};yc.prototype.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new AIe.Track(e,this.opts)};var c_={},MIe=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(c_,"__esModule",{value:!0});c_.Delete=void 0;var $Ie=MIe(Dc),XG=Xa;function HC(t,e){XG.Facade.call(this,t,e)}c_.Delete=HC;$Ie.default(HC,XG.Facade);HC.prototype.type=function(){return"delete"};(function(t){var e=Te&&Te.__assign||function(){return e=Object.assign||function(l){for(var d,f=1,p=arguments.length;f<p;f++){d=arguments[f];for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&(l[m]=d[m])}return l},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=Xa;Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return r.Facade}});var n=a_;Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return n.Alias}});var i=s_;Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return i.Group}});var a=am;Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return a.Identify}});var s=Xd;Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return s.Track}});var o=sm;Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return o.Page}});var u=u_;Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return u.Screen}});var c=c_;Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return c.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:c.Delete})})(Zn);function Sb(t,e){var r=new Zn.Facade(t,e);return t.type==="track"&&(r=new Zn.Track(t,e)),t.type==="identify"&&(r=new Zn.Identify(t,e)),t.type==="page"&&(r=new Zn.Page(t,e)),t.type==="alias"&&(r=new Zn.Alias(t,e)),t.type==="group"&&(r=new Zn.Group(t,e)),t.type==="screen"&&(r=new Zn.Screen(t,e)),Object.defineProperty(r,"obj",{value:t,writable:!0}),r}function zC(t,e,r){return ue(this,void 0,void 0,function(){function n(c,l){return ue(this,void 0,void 0,function(){var d,f,p;return ce(this,function(m){switch(m.label){case 0:return d=!1,f=null,[4,l({payload:Sb(c,{clone:!0,traverse:!1}),integration:t,next:function(b){d=!0,b===null&&(f=null),b&&(f=b.obj)}})];case 1:return m.sent(),!d&&f!==null&&(f=f,f.integrations=ne(ne({},c.integrations),(p={},p[t]=!1,p))),[2,f]}})})}var i,a,s,o,u;return ce(this,function(c){switch(c.label){case 0:i=Sb(e,{clone:!0,traverse:!1}).rawEvent(),a=0,s=r,c.label=1;case 1:return a<s.length?(o=s[a],[4,n(i,o)]):[3,4];case 2:if(u=c.sent(),u===null)return[2,null];i=u,c.label=3;case 3:return a++,[3,1];case 4:return[2,i]}})})}function kIe(t,e){function r(n){return ue(this,void 0,void 0,function(){var i;return ce(this,function(a){switch(a.label){case 0:return i=!1,[4,t({payload:Sb(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 Go({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 DIe=Object.freeze(Object.defineProperty({__proto__:null,applyDestinationMiddleware:zC,sourceMiddlewarePlugin:kIe},Symbol.toStringTag,{value:"Module"}));var IIe=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 ue(this,void 0,void 0,function(){var r;return ce(this,function(n){switch(n.label){case 0:return[4,zC(this.name,e.event,this.middleware)];case 1:return r=n.sent(),r===null&&e.cancel(new Go({retry:!1,reason:"dropped by destination middleware"})),[2,new Ku(r)]}})})},t.prototype._createMethod=function(e){var r=this;return function(n){return ue(r,void 0,void 0,function(){var i;return ce(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 RIe(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 LIe(t,e){var r=t[e.creationName],n=t[e.name];return t.All===!1&&!r&&!n||r===!1||n===!1}function NIe(t,e){return ue(this,void 0,void 0,function(){var r,n,i,a,s;return ce(this,function(o){switch(o.label){case 0:if(r=new RegExp("https://cdn.segment.(com|build)"),n=PC(),!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,Zl(s.replace(r,n))];case 2:return o.sent(),[3,5];case 3:return o.sent(),[4,Zl(t.url.replace(r,n))];case 4:return o.sent(),[3,5];case 5:return[3,8];case 6:return[4,Zl(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 BIe(t,e,r,n,i,a){var s,o,u;return ue(this,void 0,void 0,function(){var c,l,d,f=this;return ce(this,function(p){switch(p.label){case 0:return c=[],l=(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(m){return ue(f,void 0,void 0,function(){var b,_,S,E,O,h;return ce(this,function(v){switch(v.label){case 0:if(LIe(e,m))return[2];v.label=1;case 1:return v.trys.push([1,6,,7]),_=a==null?void 0:a.find(function(g){var T=g.pluginName;return T===m.name}),_?[3,3]:[4,NIe(m,n)];case 2:_=v.sent(),v.label=3;case 3:return b=_,b?[4,b(ne(ne({},m.settings),r[m.name]))]:[3,5];case 4:S=v.sent(),E=Array.isArray(S)?S:[S],RIe(E),O=l.filter(function(g){return g.destinationName===m.creationName}),E.forEach(function(g){var T=new IIe(m.creationName,g);O.length&&i&&g.type==="destination"&&T.addMiddleware(i),c.push(T)}),v.label=5;case 5:return[3,7];case 6:return h=v.sent(),console.warn("Failed to load Remote Plugin",h),[3,7];case 7:return[2]}})})}),[4,Promise.all(d)];case 1:return p.sent(),[2,c.filter(Boolean)]}})})}var FIe=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)})},jIe=500;function JG(t){var e=encodeURI(JSON.stringify(t)).split(/%..|./).length-1;return e/1024}function HIe(t){return JG(t)>=jIe-50}function zIe(t){var e=[],r=0;return t.forEach(function(n){var i=JG(e[r]);i>=64&&r++,e[r]?e[r].push(n):e[r]=[n]}),e}function VIe(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 m;if(p.length!==0){var b=(m=p[0])===null||m===void 0?void 0:m.writeKey,_=p.map(function(S){var E=S;E.sentAt;var O=yG(E,["sentAt"]);return O});return e_("https://".concat(t,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({writeKey:b,batch:_,sentAt:new Date().toISOString()})})}}function c(){return ue(this,void 0,void 0,function(){var p;return ce(this,function(m){return i.length?(p=i,i=[],[2,u(p)]):[2]})})}var l;function d(){l||(l=setTimeout(function(){l=void 0,c().catch(console.error)},o))}FIe(function(p){if(a=p,a&&i.length){var m=zIe(i).map(u);Promise.all(m).catch(console.error)}});function f(p,m){return ue(this,void 0,void 0,function(){var b;return ce(this,function(_){return i.push(m),b=i.length>=s||HIe(i),[2,b||a?c():d()]})})}return{dispatch:f}}function UIe(t){function e(r,n){return e_(r,{keepalive:t==null?void 0:t.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(n)})}return{dispatch:e}}function GIe(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 c in n){var l=n[c];c==="Segment.io"&&o.push(c),l.bundlingStatus==="bundled"&&o.push(c),l.bundlingStatus==="unbundled"&&u.push(c)}for(var d=0,f=(r==null?void 0:r.unbundledIntegrations)||[];d<f.length;d++){var p=f[d];u.includes(p)||u.push(p)}var m=(i=r==null?void 0:r.maybeBundledConfigIds)!==null&&i!==void 0?i:{},b=[];return o.sort().forEach(function(_){var S;((S=m[_])!==null&&S!==void 0?S:[]).forEach(function(E){b.push(E)})}),(r==null?void 0:r.addBundledMetadata)!==!1&&(e._metadata=ne(ne({},e._metadata),{bundled:o.sort(),unbundled:u.sort(),bundledIds:b})),e}var QG=function(t,e){return ue(void 0,void 0,void 0,function(){var r;return ce(this,function(n){return r=function(i){return ue(void 0,void 0,void 0,function(){var a;return ce(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 WIe(t,e){return ue(this,void 0,void 0,function(){var r,n=this;return ce(this,function(i){switch(i.label){case 0:return r=[],bc()?[2,e]:[4,QG(function(){return e.length>0&&!bc()},function(){return ue(n,void 0,void 0,function(){var a,s,o;return ce(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 Ku,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}function vl(t,e,r,n){var i=this;t||setTimeout(function(){return ue(i,void 0,void 0,function(){var a,s;return ce(this,function(o){switch(o.label){case 0:return a=!0,[4,WIe(r,e)];case 1:return s=o.sent(),a=!1,e.todo>0&&n(a,s,r,n),[2]}})})},Math.random()*5e3)}function YIe(t){return ue(this,void 0,void 0,function(){var e;return ce(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 KIe(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 qIe(t,e,r){var n,i,a;return ue(this,void 0,void 0,function(){function s(E){return ue(this,void 0,void 0,function(){var O,h;return ce(this,function(v){return bc()?(u.push(E),vl(l,u,S,vl),[2,E]):(c.add(E),O=E.event.type.charAt(0),_&&E.event.context&&(E.event.context.userAgentData=_),h=Sb(E.event).json(),E.event.type==="track"&&delete h.traits,E.event.type==="alias"&&(h=KIe(t,h)),[2,b.dispatch("".concat(p,"/").concat(O),GIe(t,h,e,r)).then(function(){return E}).catch(function(){return u.pushWithBackoff(E),vl(l,u,S,vl),E}).finally(function(){c.delete(E)})])})})}var o,u,c,l,d,f,p,m,b,_,S;return ce(this,function(E){switch(E.label){case 0:window.addEventListener("pagehide",function(){u.push.apply(u,Array.from(c)),c.clear()}),o=(n=e==null?void 0:e.apiKey)!==null&&n!==void 0?n:"",u=t.options.disableClientPersistence?new Zy(t.queue.queue.maxAttempts,[]):new t_(t.queue.queue.maxAttempts,"".concat(o,":dest-Segment.io")),c=new Set,l=!1,d=(i=e==null?void 0:e.apiHost)!==null&&i!==void 0?i:PG,f=(a=e==null?void 0:e.protocol)!==null&&a!==void 0?a:"https",p="".concat(f,"://").concat(d),m=e==null?void 0:e.deliveryStrategy,b=(m==null?void 0:m.strategy)==="batching"?VIe(d,m.config):UIe(m==null?void 0:m.config),E.label=1;case 1:return E.trys.push([1,3,,4]),[4,YIe(t.options.highEntropyValuesClientHints)];case 2:return _=E.sent(),[3,4];case 3:return E.sent(),_=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&&vl(l,u,S,vl),[2,S]}})})}function bl(t){var e,r=t.event;Uke(r),Gke(r),r.type==="track"&&Wke(r);var n=(e=r.properties)!==null&&e!==void 0?e:r.traits;if(r.type!=="alias"&&!ui(n))throw new vc(".properties","is not an object");return Vke(r),t}var XIe={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:bl,identify:bl,page:bl,alias:bl,group:bl,screen:bl},JIe=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},ZG=function(t,e,r){r.getCalls(t).forEach(function(n){VC(e,n).catch(console.error)})},QIe=function(t,e){return ue(void 0,void 0,void 0,function(){var r,n,i;return ce(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,VC(t,i).catch(console.error)]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},ZIe=ZG.bind(globalThis,"on"),e2e=ZG.bind(globalThis,"setAnonymousId"),t2e=function(t,e){e.toArray().forEach(function(r){setTimeout(function(){VC(t,r).catch(console.error)},0)})},r2e=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 VC(t,e){return ue(this,void 0,void 0,function(){var r,n;return ce(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),JIe(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 n2e=function(){function t(e){var r=this;this._preInitBuffer=new r2e,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=Tp,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 i2e(t){var e=t[0],r=t.slice(1);return{method:e,resolve:function(){},reject:console.error,args:r,called:!1}}var a2e=function(t){return t.map(i2e)},UT=function(t){t===void 0&&(t=xC());var e=t;if(!Array.isArray(e))return[];var r=e.splice(0,e.length);return a2e(r)},Z1,HL,s2e=SC(),zL=(Z1=(HL=s2e).__SEGMENT_INSPECTOR__)!==null&&Z1!==void 0?Z1:HL.__SEGMENT_INSPECTOR__={},o2e=function(t){var e;return(e=zL.attach)===null||e===void 0?void 0:e.call(zL,t)};function u2e(t,e){var r=e??PC();return e_("".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 c2e(t){return NG().NODE_ENV!=="test"&&Object.keys(t.integrations).length>1}function l2e(t){var e,r,n;return NG().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 d2e(t,e){e.push.apply(e,UT()),e2e(t,e),ZIe(t,e)}function f2e(t,e){return ue(this,void 0,void 0,function(){return ce(this,function(r){switch(r.label){case 0:return e.push.apply(e,UT()),[4,QIe(t,e)];case 1:return r.sent(),e.push.apply(e,UT()),t2e(t,e),e.clear(),[2]}})})}function h2e(t,e,r,n,i,a,s){var o,u,c;return a===void 0&&(a=[]),ue(this,void 0,void 0,function(){var l,d,f,p,m,b,_,S,E,O,h,v,g,T,C,k=this;return ce(this,function(w){switch(w.label){case 0:return l=a==null?void 0:a.filter(function(A){return typeof A=="object"}),d=a==null?void 0:a.filter(function(A){return typeof A=="function"&&typeof A.pluginName=="string"}),l2e(e)?[4,Ti(()=>Promise.resolve().then(()=>VNe),void 0,import.meta.url).then(function(A){return A.tsubMiddleware(e.middlewareSettings.routingRules)})]:[3,2];case 1:return p=w.sent(),[3,3];case 2:p=void 0,w.label=3;case 3:return f=p,c2e(e)||s.length>0?[4,Ti(()=>Promise.resolve().then(()=>eBe),void 0,import.meta.url).then(function(A){return A.ajsDestinations(t,e,r.integrations,n,f,s)})]:[3,5];case 4:return b=w.sent(),[3,6];case 5:b=[],w.label=6;case 6:return m=b,e.legacyVideoPluginsEnabled?[4,Ti(()=>Promise.resolve().then(()=>rBe),void 0,import.meta.url).then(function(A){return A.loadLegacyVideoPlugins(r)})]:[3,8];case 7:w.sent(),w.label=8;case 8:return!((o=n.plan)===null||o===void 0)&&o.track?[4,Ti(()=>Promise.resolve().then(()=>aBe),void 0,import.meta.url).then(function(A){var P;return A.schemaFilter((P=n.plan)===null||P===void 0?void 0:P.track,e)})]:[3,10];case 9:return S=w.sent(),[3,11];case 10:S=void 0,w.label=11;case 11:return _=S,E=BG(e,i),[4,BIe(e,r.integrations,E,i.obfuscate,f,d).catch(function(){return[]})];case 12:return O=w.sent(),h=Er(Er(Er([XIe,WDe],l,!0),m,!0),O,!0),_&&h.push(_),v=((u=n.integrations)===null||u===void 0?void 0:u.All)===!1&&!n.integrations["Segment.io"]||n.integrations&&n.integrations["Segment.io"]===!1,v?[3,14]:(T=(g=h).push,[4,qIe(r,E["Segment.io"],e.integrations)]);case 13:T.apply(g,[w.sent()]),w.label=14;case 14:return[4,r.register.apply(r,h)];case 15:return C=w.sent(),Object.entries((c=e.enabledMiddleware)!==null&&c!==void 0?c:{}).some(function(A){var P=A[1];return P})?[4,Ti(()=>Promise.resolve().then(()=>oBe),void 0,import.meta.url).then(function(A){var P=A.remoteMiddlewares;return ue(k,void 0,void 0,function(){var x,$;return ce(this,function(D){switch(D.label){case 0:return[4,P(C,e,i.obfuscate)];case 1:return x=D.sent(),$=x.map(function(M){return r.addSourceMiddleware(M)}),[2,Promise.all($)]}})})})]:[3,17];case 16:w.sent(),w.label=17;case 17:return[2,C]}})})}function p2e(t,e,r){var n,i,a,s,o,u,c;return e===void 0&&(e={}),ue(this,void 0,void 0,function(){var l,d,f,p,m,b,_,S,E,O,h;return ce(this,function(v){switch(v.label){case 0:return e.globalAnalyticsKey&&PDe(e.globalAnalyticsKey),t.cdnURL&&IDe(t.cdnURL),(n=t.cdnSettings)!==null&&n!==void 0?(d=n,[3,3]):[3,1];case 1:return[4,u2e(t.writeKey,t.cdnURL)];case 2:d=v.sent(),v.label=3;case 3:return l=d,e.updateCDNSettings&&(l=e.updateCDNSettings(l)),f=(a=(i=l.integrations["Segment.io"])===null||i===void 0?void 0:i.retryQueue)!==null&&a!==void 0?a:!0,p=ne({retryQueue:f},e),m=new MDe(t,p),o2e(m),b=(s=t.plugins)!==null&&s!==void 0?s:[],_=(o=t.classicIntegrations)!==null&&o!==void 0?o:[],CG.initRemoteMetrics(l.metrics),d2e(m,r),[4,h2e(t.writeKey,l,m,p,e,b,_)];case 4:return S=v.sent(),E=(u=window.location.search)!==null&&u!==void 0?u:"",O=(c=window.location.hash)!==null&&c!==void 0?c:"",h=E.length?E:O.replace(/(?=#).*(?=\?)/,""),h.includes("ajs_")?[4,m.queryString(h).catch(console.error)]:[3,6];case 5:v.sent(),v.label=6;case 6:return m.initialized=!0,m.emit("initialize",t,e),e.initialPageview&&m.page().catch(console.error),[4,f2e(m,r)];case 7:return v.sent(),[2,[m,S]]}})})}var IBe=function(t){la(e,t);function e(){var r=this,n=RDe(),i=n.promise,a=n.resolve;return r=t.call(this,function(s){return i.then(function(o){var u=o[0],c=o[1];return p2e(u,c,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}(n2e);function m2e(t){var e=t;return!!(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&e.button==1)}function g2e(t,e){return!!(t.target==="_blank"&&e)}function v2e(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,c,l=e instanceof Function?e(s):e,d=r instanceof Function?r(s):r,f=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=yC(i.track(l,d,n??{}),(c=i.settings.timeout)!==null&&c!==void 0?c:500);!g2e(s,f)&&!m2e(o)&&f&&(o.preventDefault?o.preventDefault():o.returnValue=!1,p.catch(console.error).then(function(){window.location.href=f}).catch(console.error))},!1)}),this):this}function b2e(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(c){var l;c.preventDefault?c.preventDefault():c.returnValue=!1;var d=e instanceof Function?e(s):e,f=r instanceof Function?r(s):r,p=yC(i.track(d,f,n??{}),(l=i.settings.timeout)!==null&&l!==void 0?l: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 Ig=Object.freeze(Object.defineProperty({__proto__:null,form:b2e,link:v2e},Symbol.toStringTag,{value:"Module"}));function VL(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 y2e(t,e){var r=document.createElement("a");r.href=e;var n=r.search.slice(1),i=n.split("&").reduce(function(O,h){var v=h.split("="),g=v[0],T=v[1];return O[g]=FG(T),O},{}),a=[],s=i.ajs_uid,o=i.ajs_event,u=i.ajs_aid,c=ui(t.options.useQueryString)?t.options.useQueryString:{},l=c.aid,d=l===void 0?/.+/:l,f=c.uid,p=f===void 0?/.+/:f;if(u){var m=Array.isArray(i.ajs_aid)?i.ajs_aid[0]:i.ajs_aid;d.test(m)&&t.setAnonymousId(m)}if(s){var b=Array.isArray(i.ajs_uid)?i.ajs_uid[0]:i.ajs_uid;if(p.test(b)){var _=VL("ajs_trait_",i);a.push(t.identify(b,_))}}if(o){var S=Array.isArray(i.ajs_event)?i.ajs_event[0]:i.ajs_event,E=VL("ajs_prop_",i);a.push(t.track(S,E))}return Promise.all(a)}const _2e=Object.freeze(Object.defineProperty({__proto__:null,queryString:y2e},Symbol.toStringTag,{value:"Module"}));var Iv={},UC={};for(var eW=[],Fu=0;Fu<64;)eW[Fu]=0|4294967296*Math.sin(++Fu%Math.PI);function w2e(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(Fu=s=0;Fu<t;Fu+=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]+eW[s]+~~a[Fu|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 S2e=Object.freeze(Object.defineProperty({__proto__:null,default:w2e},Symbol.toStringTag,{value:"Module"})),O2e=Hle(S2e);var tW={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}})()})(tW);var GC=tW.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 T2e=Number.POSITIVE_INFINITY,E2e=T2e;/**
* @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 x2e=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 P2e=x2e,rW=P2e;/**
* @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 C2e=rW,A2e=C2e.NEGATIVE_INFINITY,M2e=A2e;/**
* @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 $2e=1023,k2e=$2e;/**
* @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 D2e=1023,I2e=D2e;/**
* @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 R2e=-1023,L2e=R2e;/**
* @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 N2e=-1074,B2e=N2e;/**
* @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 F2e(t){return t!==t}var j2e=F2e;/**
* @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 H2e=j2e,nW=H2e;/**
* @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 z2e=Number.POSITIVE_INFINITY,V2e=z2e;/**
* @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 U2e=rW,G2e=U2e.NEGATIVE_INFINITY,W2e=G2e;/**
* @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 Y2e=V2e,K2e=W2e;function q2e(t){return t===Y2e||t===K2e}var X2e=q2e;/**
* @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 J2e=X2e,iW=J2e;/**
* @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 Q2e=2147483648,Z2e=Q2e;/**
* @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 eRe=2147483647,tRe=eRe;/**
* @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 rRe=typeof Object.defineProperty=="function"?Object.defineProperty:null,nRe=rRe;/**
* @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 iRe=nRe;function aRe(){try{return iRe({},"x",{}),!0}catch{return!1}}var sRe=aRe;/**
* @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 oRe=Object.defineProperty,uRe=oRe;/**
* @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 Jd=Object.prototype,UL=Jd.toString,GL=Jd.__defineGetter__,WL=Jd.__defineSetter__,cRe=Jd.__lookupGetter__,lRe=Jd.__lookupSetter__;function dRe(t,e,r){var n,i,a,s;if(typeof t!="object"||t===null||UL.call(t)==="[object Array]")throw new TypeError("invalid argument. First argument must be an object. Value: `"+t+"`.");if(typeof r!="object"||r===null||UL.call(r)==="[object Array]")throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+r+"`.");if(i="value"in r,i&&(cRe.call(t,e)||lRe.call(t,e)?(n=t.__proto__,t.__proto__=Jd,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&&GL&&GL.call(t,e,r.get),s&&WL&&WL.call(t,e,r.set),t}var fRe=dRe;/**
* @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 hRe=sRe,pRe=uRe,mRe=fRe,GT;hRe()?GT=pRe:GT=mRe;var gRe=GT;/**
* @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 vRe=gRe;function bRe(t,e,r){vRe(t,e,{configurable:!1,enumerable:!1,writable:!1,value:r})}var yRe=bRe;/**
* @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 _Re=yRe,aW=_Re;/**
* @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 wRe(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}var SRe=wRe;/**
* @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 ORe=SRe,TRe=ORe;/**
* @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 ERe=TRe,xRe=ERe();function PRe(){return xRe&&typeof Symbol.toStringTag=="symbol"}var CRe=PRe;/**
* @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 ARe=CRe,MRe=ARe;/**
* @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 $Re=Object.prototype.toString,sW=$Re;/**
* @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 kRe=sW;function DRe(t){return kRe.call(t)}var IRe=DRe;/**
* @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 RRe=Object.prototype.hasOwnProperty;function LRe(t,e){return t==null?!1:RRe.call(t,e)}var NRe=LRe;/**
* @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 BRe=NRe,FRe=BRe;/**
* @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 jRe=typeof Symbol=="function"?Symbol.toStringTag:"",HRe=jRe;/**
* @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 zRe=FRe,Kf=HRe,eS=sW;function VRe(t){var e,r,n;if(t==null)return eS.call(t);r=t[Kf],e=zRe(t,Kf);try{t[Kf]=void 0}catch{return eS.call(t)}return n=eS.call(t),e?t[Kf]=r:delete t[Kf],n}var URe=VRe;/**
* @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 GRe=MRe,WRe=IRe,YRe=URe,WT;GRe()?WT=YRe:WT=WRe;var l_=WT;/**
* @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 KRe=l_,qRe=typeof Uint32Array=="function";function XRe(t){return qRe&&t instanceof Uint32Array||KRe(t)==="[object Uint32Array]"}var JRe=XRe;/**
* @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 QRe=JRe,ZRe=QRe;/**
* @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 e8e=4294967295,t8e=e8e;/**
* @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 r8e=typeof Uint32Array=="function"?Uint32Array:null,n8e=r8e;/**
* @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 i8e=ZRe,tS=t8e,YL=n8e;function a8e(){var t,e;if(typeof YL!="function")return!1;try{e=[1,3.14,-3.14,tS+1,tS+2],e=new YL(e),t=i8e(e)&&e[0]===1&&e[1]===3&&e[2]===tS-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var s8e=a8e;/**
* @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 o8e=s8e,u8e=o8e;/**
* @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 c8e=typeof Uint32Array=="function"?Uint32Array:void 0,l8e=c8e;/**
* @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 d8e(){throw new Error("not implemented")}var f8e=d8e;/**
* @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 h8e=u8e,p8e=l8e,m8e=f8e,KT;h8e()?KT=p8e:KT=m8e;var WC=KT;/**
* @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 g8e=l_,v8e=typeof Float64Array=="function";function b8e(t){return v8e&&t instanceof Float64Array||g8e(t)==="[object Float64Array]"}var y8e=b8e;/**
* @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 _8e=y8e,w8e=_8e;/**
* @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 S8e=typeof Float64Array=="function"?Float64Array:null,O8e=S8e;/**
* @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 T8e=w8e,KL=O8e;function E8e(){var t,e;if(typeof KL!="function")return!1;try{e=new KL([1,3.14,-3.14,NaN]),t=T8e(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{t=!1}return t}var x8e=E8e;/**
* @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 P8e=x8e,C8e=P8e;/**
* @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 A8e=typeof Float64Array=="function"?Float64Array:void 0,M8e=A8e;/**
* @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 $8e(){throw new Error("not implemented")}var k8e=$8e;/**
* @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 D8e=C8e,I8e=M8e,R8e=k8e,qT;D8e()?qT=I8e:qT=R8e;var YC=qT;/**
* @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 L8e=l_,N8e=typeof Uint8Array=="function";function B8e(t){return N8e&&t instanceof Uint8Array||L8e(t)==="[object Uint8Array]"}var F8e=B8e;/**
* @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 j8e=F8e,H8e=j8e;/**
* @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 z8e=255,V8e=z8e;/**
* @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 U8e=typeof Uint8Array=="function"?Uint8Array:null,G8e=U8e;/**
* @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 W8e=H8e,rS=V8e,qL=G8e;function Y8e(){var t,e;if(typeof qL!="function")return!1;try{e=[1,3.14,-3.14,rS+1,rS+2],e=new qL(e),t=W8e(e)&&e[0]===1&&e[1]===3&&e[2]===rS-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var K8e=Y8e;/**
* @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 q8e=K8e,X8e=q8e;/**
* @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 J8e=typeof Uint8Array=="function"?Uint8Array:void 0,Q8e=J8e;/**
* @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 Z8e(){throw new Error("not implemented")}var e3e=Z8e;/**
* @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 t3e=X8e,r3e=Q8e,n3e=e3e,XT;t3e()?XT=r3e:XT=n3e;var i3e=XT;/**
* @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 a3e=l_,s3e=typeof Uint16Array=="function";function o3e(t){return s3e&&t instanceof Uint16Array||a3e(t)==="[object Uint16Array]"}var u3e=o3e;/**
* @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 c3e=u3e,l3e=c3e;/**
* @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 d3e=65535,f3e=d3e;/**
* @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 h3e=typeof Uint16Array=="function"?Uint16Array:null,p3e=h3e;/**
* @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 m3e=l3e,nS=f3e,XL=p3e;function g3e(){var t,e;if(typeof XL!="function")return!1;try{e=[1,3.14,-3.14,nS+1,nS+2],e=new XL(e),t=m3e(e)&&e[0]===1&&e[1]===3&&e[2]===nS-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var v3e=g3e;/**
* @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 b3e=v3e,y3e=b3e;/**
* @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 _3e=typeof Uint16Array=="function"?Uint16Array:void 0,w3e=_3e;/**
* @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 S3e(){throw new Error("not implemented")}var O3e=S3e;/**
* @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 T3e=y3e,E3e=w3e,x3e=O3e,JT;T3e()?JT=E3e:JT=x3e;var P3e=JT;/**
* @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 C3e=i3e,A3e=P3e,M3e={uint16:A3e,uint8:C3e},$3e=M3e;/**
* @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 JL=$3e,oW;function k3e(){var t,e;return t=new JL.uint16(1),t[0]=4660,e=new JL.uint8(t.buffer),e[0]===52}oW=k3e();var D3e=oW;/**
* @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 I3e=D3e,KC=I3e;/**
* @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 R3e=KC,uW,QT,ZT;R3e===!0?(QT=1,ZT=0):(QT=0,ZT=1);uW={HIGH:QT,LOW:ZT};var L3e=uW;/**
* @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 N3e=WC,B3e=YC,cW=L3e,lW=new B3e(1),QL=new N3e(lW.buffer),F3e=cW.HIGH,j3e=cW.LOW;function H3e(t,e,r,n){return lW[0]=t,e[n]=QL[F3e],e[n+r]=QL[j3e],e}var dW=H3e;/**
* @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 z3e=dW;function V3e(t){return z3e(t,[0,0],1,0)}var U3e=V3e;/**
* @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 G3e=aW,fW=U3e,W3e=dW;G3e(fW,"assign",W3e);var hW=fW;/**
* @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 Y3e=KC,eE;Y3e===!0?eE=1:eE=0;var K3e=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 q3e=WC,X3e=YC,J3e=K3e,pW=new X3e(1),Q3e=new q3e(pW.buffer);function Z3e(t){return pW[0]=t,Q3e[J3e]}var eLe=Z3e;/**
* @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 tLe=eLe,mW=tLe;/**
* @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 rLe=KC,gW,tE,rE;rLe===!0?(tE=1,rE=0):(tE=0,rE=1);gW={HIGH:tE,LOW:rE};var nLe=gW;/**
* @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 iLe=WC,aLe=YC,vW=nLe,bW=new aLe(1),ZL=new iLe(bW.buffer),sLe=vW.HIGH,oLe=vW.LOW;function uLe(t,e){return ZL[sLe]=t,ZL[oLe]=e,bW[0]}var cLe=uLe;/**
* @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 lLe=cLe,yW=lLe;/**
* @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 dLe=Z2e,fLe=tRe,hLe=hW,pLe=mW,mLe=yW,iS=[0,0];function gLe(t,e){var r,n;return hLe.assign(t,iS,1,0),r=iS[0],r&=fLe,n=pLe(e),n&=dLe,r|=n,mLe(r,iS[1])}var vLe=gLe;/**
* @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 bLe=vLe,yLe=bLe;/**
* @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 _Le=22250738585072014e-324,wLe=_Le;/**
* @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 SLe(t){return Math.abs(t)}var OLe=SLe;/**
* @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 TLe=OLe,ELe=TLe;/**
* @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 xLe=wLe,PLe=iW,CLe=nW,ALe=ELe,MLe=4503599627370496;function $Le(t,e,r,n){return CLe(t)||PLe(t)?(e[n]=t,e[n+r]=0,e):t!==0&&ALe(t)<xLe?(e[n]=t*MLe,e[n+r]=-52,e):(e[n]=t,e[n+r]=0,e)}var _W=$Le;/**
* @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 kLe=_W;function DLe(t){return kLe(t,[0,0],1,0)}var ILe=DLe;/**
* @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 RLe=aW,wW=ILe,LLe=_W;RLe(wW,"assign",LLe);var NLe=wW;/**
* @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 BLe=2146435072,FLe=BLe;/**
* @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 jLe=1023,HLe=jLe;/**
* @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 zLe=mW,VLe=FLe,ULe=HLe;function GLe(t){var e=zLe(t);return e=(e&VLe)>>>20,e-ULe|0}var WLe=GLe;/**
* @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 YLe=WLe,KLe=YLe;/**
* @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 qLe=E2e,XLe=M2e,JLe=k2e,QLe=I2e,ZLe=L2e,eNe=B2e,tNe=nW,rNe=iW,nNe=yLe,iNe=NLe,aNe=KLe,sNe=hW,oNe=yW,uNe=2220446049250313e-31,cNe=2148532223,aS=[0,0],sS=[0,0];function lNe(t,e){var r,n;return t===0||tNe(t)||rNe(t)?t:(iNe(aS),t=aS[0],e+=aS[1],e+=aNe(t),e<eNe?nNe(0,t):e>QLe?t<0?XLe:qLe:(e<=ZLe?(e+=52,n=uNe):n=1,sNe(sS),r=sS[0],r&=cNe,r|=e+JLe<<20,n*oNe(r,sS[1])))}var dNe=lNe;/**
* @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 fNe=dNe,hNe=fNe,SW={};function pNe(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(".")?{}:[]}SW.dset=pNe;var d_={},mNe=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(d_,"__esModule",{value:!0});d_.unset=void 0;var gNe=mNe(GC);function vNe(t,e){if((0,gNe.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}d_.unset=vNe;var qC=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(UC,"__esModule",{value:!0});var bNe=qC(O2e),Vl=qC(GC),yNe=qC(hNe),qf=SW,_Ne=d_;function wNe(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":SNe(r,a.config);break;case"allow_properties":ONe(r,a.config);break;case"sample_event":if(ENe(r,a.config))break;return null;case"map_properties":TNe(r,a.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(a.type,'" is unsupported.'))}}return r}UC.default=wNe;function SNe(t,e){OW(t,e.drop,function(r,n){n.forEach(function(i){return delete r[i]})})}function ONe(t,e){OW(t,e.allow,function(r,n){Object.keys(r).forEach(function(i){n.includes(i)||delete r[i]})})}function OW(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,Vl.default)(t,i);Array.isArray(o)?o.forEach(s):s(o)})}function TNe(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,Vl.default)(r,a.join("."))):s=t,typeof s=="object"){if(i.copy){var o=(0,Vl.default)(r,i.copy);o!==void 0&&(0,qf.dset)(t,n,o)}else if(i.move){var u=(0,Vl.default)(r,i.move);u!==void 0&&(0,qf.dset)(t,n,u),(0,_Ne.unset)(t,i.move)}else i.hasOwnProperty("set")&&(0,qf.dset)(t,n,i.set);if(i.to_string){var c=(0,Vl.default)(t,n);if(typeof c=="string"||typeof c=="object"&&c!==null)continue;c!==void 0?(0,qf.dset)(t,n,JSON.stringify(c)):(0,qf.dset)(t,n,"undefined")}}}}function ENe(t,e){return e.sample.percent<=0?!1:e.sample.percent>=1?!0:e.sample.path?PNe(t,e):xNe(e.sample.percent)}function xNe(t){return Math.random()<=t}function PNe(t,e){var r=(0,Vl.default)(t,e.sample.path),n=(0,bNe.default)(JSON.stringify(r)),i=-64,a=[];eN(n.slice(0,8),a);for(var s=0,o=0;o<64&&a[o]!==1;o++)s++;if(s!==0){var u=[];eN(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,yNe.default)(parseInt(a.join(""),2),i)<e.sample.percent}function eN(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 XC={},CNe=Te&&Te.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(XC,"__esModule",{value:!0});var ANe=CNe(GC);function MNe(t,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return $Ne();case"fql":return kNe(e.ir,t);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}}XC.default=MNe;function $Ne(){return!0}function kNe(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=Do(t,e);return typeof r!="boolean"?!1:r}function Do(t,e){if(!Array.isArray(t))return sn(t,e)===!0;var r=t[0];switch(r){case"!":return!Do(t[1],e);case"or":for(var n=1;n<t.length;n++)if(Do(t[n],e))return!0;return!1;case"and":for(var n=1;n<t.length;n++)if(!Do(t[n],e))return!1;return!0;case"=":case"!=":return RNe(sn(t[1],e),sn(t[2],e),r,e);case"<=":case"<":case">":case">=":return INe(sn(t[1],e),sn(t[2],e),r,e);case"in":return DNe(sn(t[1],e),sn(t[2],e),e);case"contains":return LNe(sn(t[1],e),sn(t[2],e));case"match":return NNe(sn(t[1],e),sn(t[2],e));case"lowercase":var i=sn(t[1],e);return typeof i!="string"?null:i.toLowerCase();case"typeof":return typeof sn(t[1],e);case"length":return BNe(sn(t[1],e));default:throw new Error("FQL IR could not evaluate for token: ".concat(r))}}function sn(t,e){return Array.isArray(t)?t:typeof t=="object"?t.value:(0,ANe.default)(e,t)}function DNe(t,e,r){return e.find(function(n){return sn(n,r)===t})!==void 0}function INe(t,e,r,n){if(Ob(t)&&(t=Do(t,n)),Ob(e)&&(e=Do(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 RNe(t,e,r,n){switch(Ob(t)&&(t=Do(t,n)),Ob(e)&&(e=Do(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 LNe(t,e){return typeof t!="string"||typeof e!="string"?!1:t.indexOf(e)!==-1}function NNe(t,e){return typeof t!="string"||typeof e!="string"?!1:FNe(e,t)}function BNe(t){return t===null?0:!Array.isArray(t)&&typeof t!="string"?NaN:t.length}function Ob(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 FNe(t,e){var r,n;e:for(;t.length>0;){var i=void 0,a=void 0;if(r=jNe(t),i=r.star,a=r.chunk,t=r.pattern,i&&a==="")return!0;var s=tN(a,e),o=s.t,u=s.ok,c=s.err;if(c)return!1;if(u&&(o.length===0||t.length>0)){e=o;continue}if(i)for(var l=0;l<e.length;l++){if(n=tN(a,e.slice(l+1)),o=n.t,u=n.ok,c=n.err,u){if(t.length===0&&o.length>0)continue;e=o;continue e}if(c)return!1}return!1}return e.length===0}function jNe(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 tN(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 c="",l="",d=void 0;if(r=rN(t),c=r.char,t=r.newChunk,d=r.err,d||(l=c,t[0]==="-"&&(n=rN(t.slice(1)),l=n.char,t=n.newChunk,d=n.err,d)))return i;c<=a&&a<=l&&(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 rN(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 JC={};Object.defineProperty(JC,"__esModule",{value:!0});var HNe=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}();JC.default=HNe;(function(t){var e=Te&&Te.__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=UC;Object.defineProperty(t,"transform",{enumerable:!0,get:function(){return e(r).default}});var n=XC;Object.defineProperty(t,"matches",{enumerable:!0,get:function(){return e(n).default}});var i=JC;Object.defineProperty(t,"Store",{enumerable:!0,get:function(){return e(i).default}})})(Iv);var zNe=function(t){return function(e){var r=e.payload,n=e.integration,i=e.next,a=new Iv.Store(t),s=a.getRulesByDestinationName(n);s.forEach(function(o){for(var u=o.matchers,c=o.transformers,l=0;l<u.length;l++)if(Iv.matches(r.obj,u[l])&&(r.obj=Iv.transform(r.obj,c[l]),r.obj===null))return i(null)}),i(r)}};const VNe=Object.freeze(Object.defineProperty({__proto__:null,tsubMiddleware:zNe},Symbol.toStringTag,{value:"Module"}));function TW(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 EW(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function xW(t,e){return e===void 0&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}function UNe(t){return("Integration"in t?t.Integration:t).prototype.name}function GNe(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),Er([r],a.duration<100?["cached"]:[],!0))}catch{}}function WNe(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 YNe(t,e,r,n){return ue(this,void 0,void 0,function(){var i,a,s,o,u,c;return ce(this,function(l){switch(l.label){case 0:i=EW(e),a=xW(i,n),s=CC(),o="".concat(s,"/integrations/").concat(a??i,"/").concat(r,"/").concat(a??i,".dynamic.js.gz"),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Zl(o)];case 2:return l.sent(),GNe(o,t,e),[3,4];case 3:throw u=l.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(e),"failed"]),u;case 4:return c=window["".concat(i,"Deps")],[4,Promise.all(c.map(function(d){return Zl(s+d+".gz")}))];case 5:return l.sent(),window["".concat(i,"Loader")](),[2,window["".concat(i,"Integration")]]}})})}function KNe(t,e,r){return ue(this,void 0,void 0,function(){var n,i,a,s;return ce(this,function(o){return n=CC(),i=EW(t),a=xW(t,r),s="".concat(n,"/integrations/").concat(a??i,"/").concat(e,"/").concat(a??i,".dynamic.js.gz"),[2,YDe(s)]})})}function qNe(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 XNe=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},JNe=function(t,e){var r=e.All===!1&&e[t]===void 0;return e[t]===!1||r};function QNe(t,e){return ue(this,void 0,void 0,function(){var r,n=this;return ce(this,function(i){switch(i.label){case 0:return r=[],bc()?[2,e]:[4,QG(function(){return e.length>0&&EG()},function(){return ue(n,void 0,void 0,function(){var a,s,o;return ce(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 Ku,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}var PW=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=ne({},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 Zy(4,[]):new t_(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 ue(this,void 0,void 0,function(){var i,a,s=this;return ce(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,YNe(e,this.name,this.version,this.options.obfuscate)];case 2:a=o.sent(),o.label=3;case 3:i=a,this.integration=WNe(i,this.settings,r),this.onReady=new Promise(function(u){var c=function(){s._ready=!0,u(!0)};s.integration.once("ready",c)}),this.onInitialize=new Promise(function(u){var c=function(){s._initialized=!0,u(!0)};s.integration.on("initialize",c)});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 KNe(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"&&(bc()||this._ready===!1||this._initialized===!1)},t.prototype.send=function(e,r,n){var i,a;return ue(this,void 0,void 0,function(){var s,o,u,c,l,d;return ce(this,function(f){switch(f.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],TW(s,u))e.updateEvent("integrations",ne(ne({},e.event.integrations),u==null?void 0:u.integrations));else return e.updateEvent("integrations",ne(ne({},e.event.integrations),{All:!1,"Segment.io":!0})),e.cancel(new Go({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 Go({retry:!1,reason:"Event ".concat(o," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,e]}return[4,zC(this.name,e.event,this.middleware)];case 1:if(c=f.sent(),c===null)return[2,e];l=new r(c,{traverse:!this.disableAutoISOConversion}),e.stats.increment("analytics_js.integration.invoke",1,["method:".concat(n),"integration_name:".concat(this.name)]),f.label=2;case 2:return f.trys.push([2,5,,6]),this.integration?[4,this.integration.invoke.call(this.integration,n,l)]:[3,4];case 3:f.sent(),f.label=4;case 4:return[3,6];case 5:throw d=f.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 ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Zn.Track,"track")]})})},t.prototype.page=function(e){var r;return ue(this,void 0,void 0,function(){var n=this;return ce(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,Zn.Page,"page")})]})})},t.prototype.identify=function(e){return ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Zn.Identify,"identify")]})})},t.prototype.alias=function(e){return ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Zn.Alias,"alias")]})})},t.prototype.group=function(e){return ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Zn.Group,"group")]})})},t.prototype.scheduleFlush=function(){var e=this;this.flushing||setTimeout(function(){return ue(e,void 0,void 0,function(){var r;return ce(this,function(n){switch(n.label){case 0:return this.flushing=!0,r=this,[4,QNe(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 ZNe(t,e,r,n,i,a){var s,o;if(r===void 0&&(r={}),n===void 0&&(n={}),TG())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:[],c=e.integrations,l=n.integrations,d=BG(e,n??{}),f=a==null?void 0:a.reduce(function(m,b){var _;return ne(ne({},m),(_={},_[UNe(b)]=b,_))},{}),p=new Set(Er(Er([],Object.keys(c).filter(function(m){return XNe(m,c[m])}),!0),Object.keys(f||{}).filter(function(m){return ui(c[m])||ui(l==null?void 0:l[m])}),!0));return Array.from(p).filter(function(m){return!JNe(m,r)}).map(function(m){var b=c[m],_=qNe(b),S=new PW(m,_,t,d[m],n,f==null?void 0:f[m]),E=u.filter(function(O){return O.destinationName===m});return E.length>0&&i&&S.addMiddleware(i),S})}const eBe=Object.freeze(Object.defineProperty({__proto__:null,LegacyDestination:PW,ajsDestinations:ZNe},Symbol.toStringTag,{value:"Module"}));function tBe(t){return ue(this,void 0,void 0,function(){var e;return ce(this,function(r){switch(r.label){case 0:return[4,Ti(()=>Promise.resolve().then(()=>cBe),void 0,import.meta.url)];case 1:return e=r.sent(),t._plugins=e,[2]}})})}const rBe=Object.freeze(Object.defineProperty({__proto__:null,loadLegacyVideoPlugins:tBe},Symbol.toStringTag,{value:"Module"}));function nBe(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 iBe(t,e){function r(n){var i=t,a=n.event.event;if(i&&a){var s=i[a];if(TW(i,s)){var o=nBe(s,e);n.updateEvent("integrations",ne(ne(ne({},n.event.integrations),s==null?void 0:s.integrations),o))}else return n.updateEvent("integrations",ne(ne({},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 aBe=Object.freeze(Object.defineProperty({__proto__:null,schemaFilter:iBe},Symbol.toStringTag,{value:"Module"}));function sBe(t,e,r){var n;return ue(this,void 0,void 0,function(){var i,a,s,o,u,c=this;return ce(this,function(l){switch(l.label){case 0:return TG()?[2,[]]:(i=CC(),a=(n=e.enabledMiddleware)!==null&&n!==void 0?n:{},s=Object.entries(a).filter(function(d){d[0];var f=d[1];return f}).map(function(d){var f=d[0];return f}),o=s.map(function(d){return ue(c,void 0,void 0,function(){var f,p,m,b;return ce(this,function(_){switch(_.label){case 0:f=d.replace("@segment/",""),p=f,r&&(p=btoa(f).replace(/=/g,"")),m="".concat(i,"/middleware/").concat(p,"/latest/").concat(p,".js.gz"),_.label=1;case 1:return _.trys.push([1,3,,4]),[4,Zl(m)];case 2:return _.sent(),[2,window["".concat(f,"Middleware")]];case 3:return b=_.sent(),t.log("error",b),t.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(o)]);case 1:return u=l.sent(),u=u.filter(Boolean),[2,u]}})})}const oBe=Object.freeze(Object.defineProperty({__proto__:null,remoteMiddlewares:sBe},Symbol.toStringTag,{value:"Module"}));var CW={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(c){return a[c]}).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,c){var l=new XMLHttpRequest;for(var d in l.open(o.method||"get",s,!0),o.headers)l.setRequestHeader(d,o.headers[d]);function f(){var p,m=[],b=[],_={};return l.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(S,E,O){m.push(E=E.toLowerCase()),b.push([E,O]),p=_[E],_[E]=p?p+","+O:O}),{ok:(l.status/100|0)==2,status:l.status,statusText:l.statusText,url:l.responseURL,clone:f,text:function(){return Promise.resolve(l.responseText)},json:function(){return Promise.resolve(l.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([l.response]))},headers:{keys:function(){return m},entries:function(){return b},get:function(S){return _[S.toLowerCase()]},has:function(S){return S.toLowerCase()in _}}}}l.withCredentials=o.credentials=="include",l.onload=function(){u(f())},l.onerror=c,l.send(o.body)})};n.default=a},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function o(u,c){for(var l=0;l<c.length;l++){var d=c[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,c,l){return c&&o(u.prototype,c),l&&o(u,l),u}}(),s=function(){function o(u,c){(function(l,d){if(!(l 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,c){window.analytics.track(u,c,{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 c(l,d){for(var f=0;f<d.length;f++){var p=d[f];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(l,p.key,p)}}return function(l,d,f){return d&&c(l.prototype,d),f&&c(l,f),l}}(),s=o(i(0));function o(c){return c&&c.__esModule?c:{default:c}}var u=function(c){function l(d,f){(function(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")})(this,l);var p=function(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||typeof b!="object"&&typeof b!="function"?m:b}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,"VimeoAnalytics"));return p.authToken=f,p.player=d,p.metadata={content:{},playback:{videoPlayer:"Vimeo"}},p.mostRecentHeartbeat=0,p.isPaused=!1,p}return function(d,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);d.prototype=Object.create(f&&f.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(d,f):d.__proto__=f)}(l,c),a(l,[{key:"initialize",value:function(){var d=this,f={loaded:this.retrieveMetadata,play:this.trackPlay,pause:this.trackPause,ended:this.trackEnded,timeupdate:this.trackHeartbeat};for(var p in f)this.registerHandler(p,f[p]);this.player.getVideoId().then(function(m){d.retrieveMetadata({id:m})}).catch(console.error)}},{key:"registerHandler",value:function(d,f){var p=this;this.player.on(d,function(m){p.updateMetadata(m),f.call(p,m)})}},{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,f=this.metadata.playback.position;f!==d&&f-d>=10&&(this.track("Video Content Playing",this.metadata.content),this.mostRecentHeartbeat=Math.floor(f))}},{key:"trackPause",value:function(){this.isPaused=!0,this.track("Video Playback Paused",this.metadata.playback)}},{key:"retrieveMetadata",value:function(d){var f=this;return new Promise(function(p,m){var b=d.id;(0,s.default)("https://api.vimeo.com/videos/"+b,{headers:{Authorization:"Bearer "+f.authToken}}).then(function(_){return _.ok?_.json():m(_)}).then(function(_){f.metadata.content.title=_.name,f.metadata.content.description=_.description,f.metadata.content.publisher=_.user.name,f.metadata.playback.position=0,f.metadata.playback.totalLength=_.duration}).catch(function(_){return console.error("Request to Vimeo API Failed with: ",_),m(_)})})}},{key:"updateMetadata",value:function(d){var f=this;return new Promise(function(p,m){f.player.getVolume().then(function(b){b&&(f.metadata.playback.sound=100*b),f.metadata.playback.position=d.seconds,p()}).catch(m)})}}]),l}(o(i(1)).default);n.default=u},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function d(f,p){for(var m=0;m<p.length;m++){var b=p[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(f,b.key,b)}}return function(f,p,m){return p&&d(f.prototype,p),m&&d(f,m),f}}(),s=u(i(0)),o=u(i(1));function u(d){return d&&d.__esModule?d:{default:d}}var c=function(d){function f(p,m){(function(_,S){if(!(_ instanceof S))throw new TypeError("Cannot call a class as a function")})(this,f);var b=function(_,S){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!S||typeof S!="object"&&typeof S!="function"?_:S}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,"YoutubeAnalytics"));return b.player=p,b.apiKey=m,b.playerLoaded=!1,b.playbackStarted=!1,b.contentStarted=!1,b.isPaused=!1,b.isBuffering=!1,b.isSeeking=!1,b.lastRecordedTime={timeReported:Date.now(),timeElapsed:0},b.metadata=[{playback:{video_player:"youtube"},content:{}}],b.playlistIndex=0,b}return function(p,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);p.prototype=Object.create(m&&m.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(p,m):p.__proto__=m)}(f,d),a(f,[{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 m=this.player.getCurrentTime();switch(this.metadata[this.playlistIndex]&&(this.metadata[this.playlistIndex].playback.position=this.metadata[this.playlistIndex].content.position=m,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(m,b){var _=p.player.getVideoData(),S=p.player.getPlaylist()||[_.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(O){if(!O.ok){var h=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 h.response=O,h}return O.json()}).then(function(O){p.metadata=[];for(var h=0,v=0;v<S.length;v++){var g=O.items[v];p.metadata.push({content:{title:g.snippet.title,description:g.snippet.description,keywords:g.snippet.tags,channel:g.snippet.channelTitle,airdate:g.snippet.publishedAt}}),h+=l(g.contentDetails.duration)}for(v=0;v<S.length;v++)p.metadata[v].playback={total_length:h,video_player:"youtube"};m()}).catch(function(O){p.metadata=S.map(function(h){return{playback:{video_player:"youtube"},content:{}}}),b(O)})})}},{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 m=this.player.getPlaylist();m&&this.player.getCurrentTime()===0&&this.player.getPlaylistIndex()!==this.playlistIndex&&(this.contentStarted=!1,this.playlistIndex===m.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(),m=this.player.getPlaylist();(m&&p===m.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,m=1e3*this.player.getCurrentTime()-this.lastRecordedTime.timeElapsed;return Math.abs(p-m)>2e3}}]),f}(o.default);function l(d){var f=d.match(/PT(\d+H)?(\d+M)?(\d+S)?/);return f=f.slice(1).map(function(p){if(p!=null)return p.replace(/\D/,"")}),3600*(parseInt(f[0])||0)+60*(parseInt(f[1])||0)+(parseInt(f[2])||0)}n.default=c}])})})(CW);var AW=CW.exports;const uBe=hi(AW),cBe=FW({__proto__:null,default:uBe},[AW]);export{fH as A,D6 as B,xu as C,Nn as D,gBe as E,iO as F,Ok as G,mH as H,kBe as I,DBe as J,A5 as K,hH as L,vBe as M,dv as N,IBe as O,mBe as P,SBe as Q,bBe as S,Ne as V,Ti as _,yBe as a,_Be as b,Vd as c,OBe as d,dBe as e,pBe as f,Uee as g,L5 as h,yQ as i,Nie as j,jie as k,TBe as l,pH as m,J6 as n,fBe as o,hBe as p,i2 as q,CBe as r,wBe as s,EBe as t,xBe as u,ABe as v,MBe as w,$Be as x,FOe as y,Pve as z};