HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: //proc/self/root/proc/self/cwd/nueva/modules/psxmarketingwithgoogle/views/js/vendor.js
function X5(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 Cn=Object.freeze({}),Fe=Array.isArray;function Ae(t){return t==null}function X(t){return t!=null}function Dt(t){return t===!0}function Z5(t){return t===!1}function Zf(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Pt(t){return typeof t=="function"}function Rr(t){return t!==null&&typeof t=="object"}var $O=Object.prototype.toString;function Ln(t){return $O.call(t)==="[object Object]"}function J5(t){return $O.call(t)==="[object RegExp]"}function UR(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function rw(t){return X(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Q5(t){return t==null?"":Array.isArray(t)||Ln(t)&&t.toString===$O?JSON.stringify(t,null,2):String(t)}function Sf(t){var e=parseFloat(t);return isNaN(e)?t:e}function Ti(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return e?function(a){return r[a.toLowerCase()]}:function(a){return r[a]}}Ti("slot,component",!0);var ez=Ti("key,ref,slot,slot-scope,is");function Js(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 tz=Object.prototype.hasOwnProperty;function Gr(t,e){return tz.call(t,e)}function mu(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var rz=/-(\w)/g,Ko=mu(function(t){return t.replace(rz,function(e,r){return r?r.toUpperCase():""})}),nz=mu(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),iz=/\B([A-Z])/g,Jf=mu(function(t){return t.replace(iz,"-$1").toLowerCase()});function az(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 sz(t,e){return t.bind(e)}var GR=Function.prototype.bind?sz:az;function nw(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function yt(t,e){for(var r in e)t[r]=e[r];return t}function WR(t){for(var e={},r=0;r<t.length;r++)t[r]&&yt(e,t[r]);return e}function mr(t,e,r){}var Yh=function(t,e,r){return!1},YR=function(t){return t};function qo(t,e){if(t===e)return!0;var r=Rr(t),n=Rr(e);if(r&&n)try{var i=Array.isArray(t),a=Array.isArray(e);if(i&&a)return t.length===e.length&&t.every(function(u,l){return qo(u,e[l])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!i&&!a){var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every(function(u){return qo(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function KR(t,e){for(var r=0;r<t.length;r++)if(qo(t[r],e))return r;return-1}function jm(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function oz(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var FT="data-server-rendered",wg=["component","directive","filter"],qR=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],ni={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Yh,isReservedAttr:Yh,isUnknownElement:Yh,getTagNamespace:mr,parsePlatformTagName:YR,mustUseProp:Yh,async:!0,_lifecycleHooks:qR},uz=/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 XR(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function Cs(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var lz=new RegExp("[^".concat(uz.source,".$_\\d]"));function cz(t){if(!lz.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 dz="__proto__"in{},Bn=typeof window<"u",ii=Bn&&window.navigator.userAgent.toLowerCase(),vc=ii&&/msie|trident/.test(ii),gc=ii&&ii.indexOf("msie 9.0")>0,ZR=ii&&ii.indexOf("edge/")>0;ii&&ii.indexOf("android")>0;var fz=ii&&/iphone|ipad|ipod|ios/.test(ii),jT=ii&&ii.match(/firefox\/(\d+)/),iw={}.watch,JR=!1;if(Bn)try{var zT={};Object.defineProperty(zT,"passive",{get:function(){JR=!0}}),window.addEventListener("test-passive",null,zT)}catch{}var Kh,Qf=function(){return Kh===void 0&&(!Bn&&typeof global<"u"?Kh=global.process&&global.process.env.VUE_ENV==="server":Kh=!1),Kh},zm=Bn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ml(t){return typeof t=="function"&&/native code/.test(t.toString())}var eh=typeof Symbol<"u"&&Ml(Symbol)&&typeof Reflect<"u"&&Ml(Reflect.ownKeys),xf;typeof Set<"u"&&Ml(Set)?xf=Set:xf=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 Jd=null;function Fs(t){t===void 0&&(t=null),t||Jd&&Jd._scope.off(),Jd=t,t&&t._scope.on()}var Nn=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}(),Bo=function(t){t===void 0&&(t="");var e=new Nn;return e.text=t,e.isComment=!0,e};function gl(t){return new Nn(void 0,void 0,void 0,String(t))}function aw(t){var e=new Nn(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 hz=0,Qp=[],pz=function(){for(var t=0;t<Qp.length;t++){var e=Qp[t];e.subs=e.subs.filter(function(r){return r}),e._pending=!1}Qp.length=0},js=function(){function t(){this._pending=!1,this.id=hz++,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,Qp.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}();js.target=null;var em=[];function bc(t){em.push(t),js.target=t}function _c(){em.pop(),js.target=em[em.length-1]}var QR=Array.prototype,Hm=Object.create(QR),mz=["push","pop","shift","unshift","splice","sort","reverse"];mz.forEach(function(t){var e=QR[t];Cs(Hm,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 HT=Object.getOwnPropertyNames(Hm),e8={},AO=!0;function zs(t){AO=t}var vz={notify:mr,depend:mr,addSub:mr,removeSub:mr},VT=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?vz:new js,this.vmCount=0,Cs(e,"__ob__",this),Fe(e)){if(!n)if(dz)e.__proto__=Hm;else for(var i=0,a=HT.length;i<a;i++){var s=HT[i];Cs(e,s,Hm[s])}r||this.observeArray(e)}else for(var o=Object.keys(e),i=0;i<o.length;i++){var s=o[i];Xo(e,s,e8,void 0,r,n)}}return t.prototype.observeArray=function(e){for(var r=0,n=e.length;r<n;r++)Va(e[r],!1,this.mock)},t}();function Va(t,e,r){if(t&&Gr(t,"__ob__")&&t.__ob__ instanceof VT)return t.__ob__;if(AO&&(r||!Qf())&&(Fe(t)||Ln(t))&&Object.isExtensible(t)&&!t.__v_skip&&!ra(t)&&!(t instanceof Nn))return new VT(t,e,r)}function Xo(t,e,r,n,i,a){var s=new js,o=Object.getOwnPropertyDescriptor(t,e);if(!(o&&o.configurable===!1)){var u=o&&o.get,l=o&&o.set;(!u||l)&&(r===e8||arguments.length===2)&&(r=t[e]);var c=!i&&Va(r,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var h=u?u.call(t):r;return js.target&&(s.depend(),c&&(c.dep.depend(),Fe(h)&&r8(h))),ra(h)&&!i?h.value:h},set:function(h){var p=u?u.call(t):r;if(oz(p,h)){if(l)l.call(t,h);else{if(u)return;if(!i&&ra(p)&&!ra(h)){p.value=h;return}else r=h}c=!i&&Va(h,!1,a),s.notify()}}}),s}}function MO(t,e,r){if(!kO(t)){var n=t.__ob__;return Fe(t)&&UR(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&Va(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(Xo(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function t8(t,e){if(Fe(t)&&UR(e)){t.splice(e,1);return}var r=t.__ob__;t._isVue||r&&r.vmCount||kO(t)||Gr(t,e)&&(delete t[e],r&&r.dep.notify())}function r8(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),Fe(e)&&r8(e)}function n8(t){return gz(t,!0),Cs(t,"__v_isShallow",!0),t}function gz(t,e){kO(t)||Va(t,e,Qf())}function kO(t){return!!(t&&t.__v_isReadonly)}function ra(t){return!!(t&&t.__v_isRef===!0)}function sw(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 On,bz=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=On,!e&&On&&(this.index=(On.scopes||(On.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var r=On;try{return On=this,e()}finally{On=r}}},t.prototype.on=function(){On=this},t.prototype.off=function(){On=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 _z(t,e){e===void 0&&(e=On),e&&e.active&&e.effects.push(t)}function yz(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}var UT=mu(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 ow(t,e){function r(){var n=r.fns;if(Fe(n))for(var i=n.slice(),a=0;a<i.length;a++)Hs(i[a],null,arguments,e,"v-on handler");else return Hs(n,null,arguments,e,"v-on handler")}return r.fns=t,r}function i8(t,e,r,n,i,a){var s,o,u,l;for(s in t)o=t[s],u=e[s],l=UT(s),Ae(o)||(Ae(u)?(Ae(o.fns)&&(o=t[s]=ow(o,a)),Dt(l.once)&&(o=t[s]=i(l.name,o,l.capture)),r(l.name,o,l.capture,l.passive,l.params)):o!==u&&(u.fns=o,t[s]=u));for(s in e)Ae(t[s])&&(l=UT(s),n(l.name,e[s],l.capture))}function Os(t,e,r){t instanceof Nn&&(t=t.data.hook||(t.data.hook={}));var n,i=t[e];function a(){r.apply(this,arguments),Js(n.fns,a)}Ae(i)?n=ow([a]):X(i.fns)&&Dt(i.merged)?(n=i,n.fns.push(a)):n=ow([i,a]),n.merged=!0,t[e]=n}function wz(t,e,r){var n=e.options.props;if(!Ae(n)){var i={},a=t.attrs,s=t.props;if(X(a)||X(s))for(var o in n){var u=Jf(o);GT(i,s,o,u,!0)||GT(i,a,o,u,!1)}return i}}function GT(t,e,r,n,i){if(X(e)){if(Gr(e,r))return t[r]=e[r],i||delete e[r],!0;if(Gr(e,n))return t[r]=e[n],i||delete e[n],!0}return!1}function Oz(t){for(var e=0;e<t.length;e++)if(Fe(t[e]))return Array.prototype.concat.apply([],t);return t}function DO(t){return Zf(t)?[gl(t)]:Fe(t)?a8(t):void 0}function Kc(t){return X(t)&&X(t.text)&&Z5(t.isComment)}function a8(t,e){var r=[],n,i,a,s;for(n=0;n<t.length;n++)i=t[n],!(Ae(i)||typeof i=="boolean")&&(a=r.length-1,s=r[a],Fe(i)?i.length>0&&(i=a8(i,"".concat(e||"","_").concat(n)),Kc(i[0])&&Kc(s)&&(r[a]=gl(s.text+i[0].text),i.shift()),r.push.apply(r,i)):Zf(i)?Kc(s)?r[a]=gl(s.text+i):i!==""&&r.push(gl(i)):Kc(i)&&Kc(s)?r[a]=gl(s.text+i.text):(Dt(t._isVList)&&X(i.tag)&&Ae(i.key)&&X(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),r.push(i)));return r}function Sz(t,e){var r=null,n,i,a,s;if(Fe(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(Rr(t))if(eh&&t[Symbol.iterator]){r=[];for(var o=t[Symbol.iterator](),u=o.next();!u.done;)r.push(e(u.value,r.length)),u=o.next()}else for(a=Object.keys(t),r=new Array(a.length),n=0,i=a.length;n<i;n++)s=a[n],r[n]=e(t[s],s,n);return X(r)||(r=[]),r._isVList=!0,r}function xz(t,e,r,n){var i=this.$scopedSlots[t],a;i?(r=r||{},n&&(r=yt(yt({},n),r)),a=i(r)||(Pt(e)?e():e)):a=this.$slots[t]||(Pt(e)?e():e);var s=r&&r.slot;return s?this.$createElement("template",{slot:s},a):a}function Tz(t){return Km(this.$options,"filters",t)||YR}function WT(t,e){return Fe(t)?t.indexOf(e)===-1:t!==e}function Ez(t,e,r,n,i){var a=ni.keyCodes[e]||r;return i&&n&&!ni.keyCodes[e]?WT(i,n):a?WT(a,t):n?Jf(n)!==e:t===void 0}function Pz(t,e,r,n,i){if(r&&Rr(r)){Fe(r)&&(r=WR(r));var a=void 0,s=function(u){if(u==="class"||u==="style"||ez(u))a=t;else{var l=t.attrs&&t.attrs.type;a=n||ni.mustUseProp(e,l,u)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=Ko(u),d=Jf(u);if(!(c in a)&&!(d in a)&&(a[u]=r[u],i)){var h=t.on||(t.on={});h["update:".concat(u)]=function(p){r[u]=p}}};for(var o in r)s(o)}return t}function Cz(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),s8(n,"__static__".concat(t),!1)),n}function $z(t,e,r){return s8(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function s8(t,e,r){if(Fe(t))for(var n=0;n<t.length;n++)t[n]&&typeof t[n]!="string"&&KT(t[n],"".concat(e,"_").concat(n),r);else KT(t,e,r)}function KT(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function Az(t,e){if(e&&Ln(e)){var r=t.on=t.on?yt({},t.on):{};for(var n in e){var i=r[n],a=e[n];r[n]=i?[].concat(i,a):a}}return t}function o8(t,e,r,n){e=e||{$stable:!r};for(var i=0;i<t.length;i++){var a=t[i];Fe(a)?o8(a,e,r):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function Mz(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 kz(t,e){return typeof t=="string"?e+t:t}function u8(t){t._o=$z,t._n=Sf,t._s=Q5,t._l=Sz,t._t=xz,t._q=qo,t._i=KR,t._m=Cz,t._f=Tz,t._k=Ez,t._b=Pz,t._v=gl,t._e=Bo,t._u=o8,t._g=Az,t._d=Mz,t._p=kz}function RO(t,e){if(!t||!t.length)return{};for(var r={},n=0,i=t.length;n<i;n++){var a=t[n],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,(a.context===e||a.fnContext===e)&&s&&s.slot!=null){var o=s.slot,u=r[o]||(r[o]=[]);a.tag==="template"?u.push.apply(u,a.children||[]):u.push(a)}else(r.default||(r.default=[])).push(a)}for(var l in r)r[l].every(Dz)&&delete r[l];return r}function Dz(t){return t.isComment&&!t.asyncFactory||t.text===" "}function Tf(t){return t.isComment&&t.asyncFactory}function Qd(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!==Cn&&o===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var u in e)e[u]&&u[0]!=="$"&&(i[u]=Rz(t,r,u,e[u]))}for(var l in r)l in i||(i[l]=Iz(r,l));return e&&Object.isExtensible(e)&&(e._normalized=i),Cs(i,"$stable",s),Cs(i,"$key",o),Cs(i,"$hasNormal",a),i}function Rz(t,e,r,n){var i=function(){var a=Jd;Fs(t);var s=arguments.length?n.apply(null,arguments):n({});s=s&&typeof s=="object"&&!Fe(s)?[s]:DO(s);var o=s&&s[0];return Fs(a),s&&(!o||s.length===1&&o.isComment&&!Tf(o))?void 0:s};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function Iz(t,e){return function(){return t[e]}}function Lz(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=Nz(t);Fs(t),bc();var i=Hs(r,null,[t._props||n8({}),n],t,"setup");if(_c(),Fs(),Pt(i))e.render=i;else if(Rr(i))if(t._setupState=i,i.__sfc){var s=t._setupProxy={};for(var a in i)a!=="__sfc"&&sw(s,i,a)}else for(var a in i)XR(a)||sw(t,i,a)}}function Nz(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Cs(e,"_v_attr_proxy",!0),Vm(e,t.$attrs,Cn,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Vm(e,t.$listeners,Cn,t,"$listeners")}return t._listenersProxy},get slots(){return Fz(t)},emit:GR(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return sw(t,e,r)})}}}function Vm(t,e,r,n,i){var a=!1;for(var s in e)s in t?e[s]!==r[s]&&(a=!0):(a=!0,Bz(t,s,n,i));for(var s in t)s in e||(a=!0,delete t[s]);return a}function Bz(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function Fz(t){return t._slotsProxy||l8(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function l8(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function jz(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=RO(e._renderChildren,n),t.$scopedSlots=r?Qd(t.$parent,r.data.scopedSlots,t.$slots):Cn,t._c=function(a,s,o,u){return Um(t,a,s,o,u,!1)},t.$createElement=function(a,s,o,u){return Um(t,a,s,o,u,!0)};var i=r&&r.data;Xo(t,"$attrs",i&&i.attrs||Cn,null,!0),Xo(t,"$listeners",e._parentListeners||Cn,null,!0)}var uw=null;function zz(t){u8(t.prototype),t.prototype.$nextTick=function(e){return IO(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,i=r._parentVnode;i&&e._isMounted&&(e.$scopedSlots=Qd(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&l8(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;var a;try{Fs(e),uw=e,a=n.call(e._renderProxy,e.$createElement)}catch(s){Zo(s,e,"render"),a=e._vnode}finally{uw=null,Fs()}return Fe(a)&&a.length===1&&(a=a[0]),a instanceof Nn||(a=Bo()),a.parent=i,a}}function Qb(t,e){return(t.__esModule||eh&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Rr(t)?e.extend(t):t}function Hz(t,e,r,n,i){var a=Bo();return a.asyncFactory=t,a.asyncMeta={data:e,context:r,children:n,tag:i},a}function Vz(t,e){if(Dt(t.error)&&X(t.errorComp))return t.errorComp;if(X(t.resolved))return t.resolved;var r=uw;if(r&&X(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),Dt(t.loading)&&X(t.loadingComp))return t.loadingComp;if(r&&!X(t.owners)){var n=t.owners=[r],i=!0,a=null,s=null;r.$on("hook:destroyed",function(){return Js(n,r)});var o=function(d){for(var h=0,p=n.length;h<p;h++)n[h].$forceUpdate();d&&(n.length=0,a!==null&&(clearTimeout(a),a=null),s!==null&&(clearTimeout(s),s=null))},u=jm(function(d){t.resolved=Qb(d,e),i?n.length=0:o(!0)}),l=jm(function(d){X(t.errorComp)&&(t.error=!0,o(!0))}),c=t(u,l);return Rr(c)&&(rw(c)?Ae(t.resolved)&&c.then(u,l):rw(c.component)&&(c.component.then(u,l),X(c.error)&&(t.errorComp=Qb(c.error,e)),X(c.loading)&&(t.loadingComp=Qb(c.loading,e),c.delay===0?t.loading=!0:a=setTimeout(function(){a=null,Ae(t.resolved)&&Ae(t.error)&&(t.loading=!0,o(!1))},c.delay||200)),X(c.timeout)&&(s=setTimeout(function(){s=null,Ae(t.resolved)&&l(null)},c.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}function c8(t){if(Fe(t))for(var e=0;e<t.length;e++){var r=t[e];if(X(r)&&(X(r.componentOptions)||Tf(r)))return r}}var Uz=1,d8=2;function Um(t,e,r,n,i,a){return(Fe(r)||Zf(r))&&(i=n,n=r,r=void 0),Dt(a)&&(i=d8),Gz(t,e,r,n,i)}function Gz(t,e,r,n,i){if(X(r)&&X(r.__ob__)||(X(r)&&X(r.is)&&(e=r.is),!e))return Bo();Fe(n)&&Pt(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),i===d8?n=DO(n):i===Uz&&(n=Oz(n));var a,s;if(typeof e=="string"){var o=void 0;s=t.$vnode&&t.$vnode.ns||ni.getTagNamespace(e),ni.isReservedTag(e)?a=new Nn(ni.parsePlatformTagName(e),r,n,void 0,void 0,t):(!r||!r.pre)&&X(o=Km(t.$options,"components",e))?a=rE(o,r,t,n,e):a=new Nn(e,r,n,void 0,void 0,t)}else a=rE(e,r,t,n);return Fe(a)?a:X(a)?(X(s)&&f8(a,s),X(r)&&Wz(r),a):Bo()}function f8(t,e,r){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,r=!0),X(t.children))for(var n=0,i=t.children.length;n<i;n++){var a=t.children[n];X(a.tag)&&(Ae(a.ns)||Dt(r)&&a.tag!=="svg")&&f8(a,e,r)}}function Wz(t){Rr(t.style)&&Gm(t.style),Rr(t.class)&&Gm(t.class)}function Zo(t,e,r){bc();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){qT(o,n,"errorCaptured hook")}}qT(t,e,r)}finally{_c()}}function Hs(t,e,r,n,i){var a;try{a=r?t.apply(e,r):t.call(e),a&&!a._isVue&&rw(a)&&!a._handled&&(a.catch(function(s){return Zo(s,n,i+" (Promise/async)")}),a._handled=!0)}catch(s){Zo(s,n,i)}return a}function qT(t,e,r){if(ni.errorHandler)try{return ni.errorHandler.call(null,t,e,r)}catch(n){n!==t&&XT(n)}XT(t)}function XT(t,e,r){if(Bn&&typeof console<"u")console.error(t);else throw t}var lw=!1,cw=[],dw=!1;function qh(){dw=!1;var t=cw.slice(0);cw.length=0;for(var e=0;e<t.length;e++)t[e]()}var kd;if(typeof Promise<"u"&&Ml(Promise)){var Yz=Promise.resolve();kd=function(){Yz.then(qh),fz&&setTimeout(mr)},lw=!0}else if(!vc&&typeof MutationObserver<"u"&&(Ml(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Xh=1,Kz=new MutationObserver(qh),ZT=document.createTextNode(String(Xh));Kz.observe(ZT,{characterData:!0}),kd=function(){Xh=(Xh+1)%2,ZT.data=String(Xh)},lw=!0}else typeof setImmediate<"u"&&Ml(setImmediate)?kd=function(){setImmediate(qh)}:kd=function(){setTimeout(qh,0)};function IO(t,e){var r;if(cw.push(function(){if(t)try{t.call(e)}catch(n){Zo(n,e,"nextTick")}else r&&r(e)}),dw||(dw=!0,kd()),!t&&typeof Promise<"u")return new Promise(function(n){r=n})}var qz="2.7.14";function rPe(t){return t}var JT=new xf;function Gm(t){return tm(t,JT),JT.clear(),t}function tm(t,e){var r,n,i=Fe(t);if(!(!i&&!Rr(t)||t.__v_skip||Object.isFrozen(t)||t instanceof Nn)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(r=t.length;r--;)tm(t[r],e);else if(ra(t))tm(t.value,e);else for(n=Object.keys(t),r=n.length;r--;)tm(t[n[r]],e)}}var Xz=0,LO=function(){function t(e,r,n,i,a){_z(this,On&&!On._vm?On: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=++Xz,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new xf,this.newDepIds=new xf,this.expression="",Pt(r)?this.getter=r:(this.getter=cz(r),this.getter||(this.getter=mr)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){bc(this);var e,r=this.vm;try{e=this.getter.call(r,r)}catch(n){if(this.user)Zo(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&Gm(e),_c(),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():fH(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||Rr(e)||this.deep){var r=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Hs(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&&Js(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 Zz(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&h8(t,e)}var Ef;function Jz(t,e){Ef.$on(t,e)}function Qz(t,e){Ef.$off(t,e)}function eH(t,e){var r=Ef;return function n(){var i=e.apply(null,arguments);i!==null&&r.$off(t,n)}}function h8(t,e,r){Ef=t,i8(e,r||{},Jz,Qz,eH,t),Ef=void 0}function tH(t){var e=/^hook:/;t.prototype.$on=function(r,n){var i=this;if(Fe(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(Fe(r)){for(var a=0,s=r.length;a<s;a++)i.$off(r[a],n);return i}var o=i._events[r];if(!o)return i;if(!n)return i._events[r]=null,i;for(var u,l=o.length;l--;)if(u=o[l],u===n||u.fn===n){o.splice(l,1);break}return i},t.prototype.$emit=function(r){var n=this,i=n._events[r];if(i){i=i.length>1?nw(i):i;for(var a=nw(arguments,1),s='event handler for "'.concat(r,'"'),o=0,u=i.length;o<u;o++)Hs(i[o],n,a,n,s)}return n}}var Fo=null;function p8(t){var e=Fo;return Fo=t,function(){Fo=e}}function rH(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function nH(t){t.prototype._update=function(e,r){var n=this,i=n.$el,a=n._vnode,s=p8(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&&Js(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 iH(t,e,r){t.$el=e,t.$options.render||(t.$options.render=Bo),vi(t,"beforeMount");var n;n=function(){t._update(t._render(),r)};var i={before:function(){t._isMounted&&!t._isDestroyed&&vi(t,"beforeUpdate")}};new LO(t,n,mr,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 aH(t,e,r,n,i){var a=n.data.scopedSlots,s=t.$scopedSlots,o=!!(a&&!a.$stable||s!==Cn&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(i||t.$options._renderChildren||o),l=t.$vnode;t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=i;var c=n.data.attrs||Cn;t._attrsProxy&&Vm(t._attrsProxy,c,l.data&&l.data.attrs||Cn,t,"$attrs")&&(u=!0),t.$attrs=c,r=r||Cn;var d=t.$options._parentListeners;if(t._listenersProxy&&Vm(t._listenersProxy,r,d||Cn,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,h8(t,r,d),e&&t.$options.props){zs(!1);for(var h=t._props,p=t.$options._propKeys||[],g=0;g<p.length;g++){var _=p[g],O=t.$options.props;h[_]=HO(_,O,e,t)}zs(!0),t.$options.propsData=e}u&&(t.$slots=RO(i,n.context),t.$forceUpdate())}function m8(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function NO(t,e){if(e){if(t._directInactive=!1,m8(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++)NO(t.$children[r]);vi(t,"activated")}}function v8(t,e){if(!(e&&(t._directInactive=!0,m8(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)v8(t.$children[r]);vi(t,"deactivated")}}function vi(t,e,r,n){n===void 0&&(n=!0),bc();var i=Jd;n&&Fs(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var o=0,u=a.length;o<u;o++)Hs(a[o],t,r||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),n&&Fs(i),_c()}var Ra=[],BO=[],Wm={},fw=!1,FO=!1,bl=0;function sH(){bl=Ra.length=BO.length=0,Wm={},fw=FO=!1}var g8=0,hw=Date.now;if(Bn&&!vc){var e_=window.performance;e_&&typeof e_.now=="function"&&hw()>document.createEvent("Event").timeStamp&&(hw=function(){return e_.now()})}var oH=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function uH(){g8=hw(),FO=!0;var t,e;for(Ra.sort(oH),bl=0;bl<Ra.length;bl++)t=Ra[bl],t.before&&t.before(),e=t.id,Wm[e]=null,t.run();var r=BO.slice(),n=Ra.slice();sH(),dH(r),lH(n),pz(),zm&&ni.devtools&&zm.emit("flush")}function lH(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 cH(t){t._inactive=!1,BO.push(t)}function dH(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,NO(t[e],!0)}function fH(t){var e=t.id;if(Wm[e]==null&&!(t===js.target&&t.noRecurse)){if(Wm[e]=!0,!FO)Ra.push(t);else{for(var r=Ra.length-1;r>bl&&Ra[r].id>t.id;)r--;Ra.splice(r+1,0,t)}fw||(fw=!0,IO(uH))}}function hH(t){var e=t.$options.provide;if(e){var r=Pt(e)?e.call(t):e;if(!Rr(r))return;for(var n=yz(t),i=eh?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 pH(t){var e=b8(t.$options.inject,t);e&&(zs(!1),Object.keys(e).forEach(function(r){Xo(t,r,e[r])}),zs(!0))}function b8(t,e){if(t){for(var r=Object.create(null),n=eh?Reflect.ownKeys(t):Object.keys(t),i=0;i<n.length;i++){var a=n[i];if(a!=="__ob__"){var s=t[a].from;if(s in e._provided)r[a]=e._provided[s];else if("default"in t[a]){var o=t[a].default;r[a]=Pt(o)?o.call(e):o}}}return r}}function jO(t,e,r,n,i){var a=this,s=i.options,o;Gr(n,"_uid")?(o=Object.create(n),o._original=n):(o=n,n=n._original);var u=Dt(s._compiled),l=!u;this.data=t,this.props=e,this.children=r,this.parent=n,this.listeners=t.on||Cn,this.injections=b8(s.inject,n),this.slots=function(){return a.$slots||Qd(n,t.scopedSlots,a.$slots=RO(r,n)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Qd(n,t.scopedSlots,this.slots())}}),u&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=Qd(n,t.scopedSlots,this.$slots)),s._scopeId?this._c=function(c,d,h,p){var g=Um(o,c,d,h,p,l);return g&&!Fe(g)&&(g.fnScopeId=s._scopeId,g.fnContext=n),g}:this._c=function(c,d,h,p){return Um(o,c,d,h,p,l)}}u8(jO.prototype);function mH(t,e,r,n,i){var a=t.options,s={},o=a.props;if(X(o))for(var u in o)s[u]=HO(u,o,e||Cn);else X(r.attrs)&&eE(s,r.attrs),X(r.props)&&eE(s,r.props);var l=new jO(r,s,i,n,t),c=a.render.call(null,l._c,l);if(c instanceof Nn)return QT(c,r,l.parent,a);if(Fe(c)){for(var d=DO(c)||[],h=new Array(d.length),p=0;p<d.length;p++)h[p]=QT(d[p],r,l.parent,a);return h}}function QT(t,e,r,n,i){var a=aw(t);return a.fnContext=r,a.fnOptions=n,e.slot&&((a.data||(a.data={})).slot=e.slot),a}function eE(t,e){for(var r in e)t[Ko(r)]=e[r]}function Ym(t){return t.name||t.__name||t._componentTag}var zO={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;zO.prepatch(r,r)}else{var n=t.componentInstance=vH(t,Fo);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;aH(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?cH(r):NO(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?v8(e,!0):e.$destroy())}},tE=Object.keys(zO);function rE(t,e,r,n,i){if(!Ae(t)){var a=r.$options._base;if(Rr(t)&&(t=a.extend(t)),typeof t=="function"){var s;if(Ae(t.cid)&&(s=t,t=Vz(s,a),t===void 0))return Hz(s,e,r,n,i);e=e||{},UO(t),X(e.model)&&_H(t.options,e);var o=wz(e,t);if(Dt(t.options.functional))return mH(t,o,e,r,n);var u=e.on;if(e.on=e.nativeOn,Dt(t.options.abstract)){var l=e.slot;e={},l&&(e.slot=l)}gH(e);var c=Ym(t.options)||i,d=new Nn("vue-component-".concat(t.cid).concat(c?"-".concat(c):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:o,listeners:u,tag:i,children:n},s);return d}}}function vH(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return X(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function gH(t){for(var e=t.hook||(t.hook={}),r=0;r<tE.length;r++){var n=tE[r],i=e[n],a=zO[n];i!==a&&!(i&&i._merged)&&(e[n]=i?bH(a,i):a)}}function bH(t,e){var r=function(n,i){t(n,i),e(n,i)};return r._merged=!0,r}function _H(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var i=e.on||(e.on={}),a=i[n],s=e.model.callback;X(a)?(Fe(a)?a.indexOf(s)===-1:a!==s)&&(i[n]=[s].concat(a)):i[n]=s}var yH=mr,ea=ni.optionMergeStrategies;function Pf(t,e,r){if(r===void 0&&(r=!0),!e)return t;for(var n,i,a,s=eh?Reflect.ownKeys(e):Object.keys(e),o=0;o<s.length;o++)n=s[o],n!=="__ob__"&&(i=t[n],a=e[n],!r||!Gr(t,n)?MO(t,n,a):i!==a&&Ln(i)&&Ln(a)&&Pf(i,a));return t}function nE(t,e,r){return r?function(){var i=Pt(e)?e.call(r,r):e,a=Pt(t)?t.call(r,r):t;return i?Pf(i,a):a}:e?t?function(){return Pf(Pt(e)?e.call(this,this):e,Pt(t)?t.call(this,this):t)}:e:t}ea.data=function(t,e,r){return r?nE(t,e,r):e&&typeof e!="function"?t:nE(t,e)};function wH(t,e){var r=e?t?t.concat(e):Fe(e)?e:[e]:t;return r&&OH(r)}function OH(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}qR.forEach(function(t){ea[t]=wH});function SH(t,e,r,n){var i=Object.create(t||null);return e?yt(i,e):i}wg.forEach(function(t){ea[t+"s"]=SH});ea.watch=function(t,e,r,n){if(t===iw&&(t=void 0),e===iw&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};yt(i,t);for(var a in e){var s=i[a],o=e[a];s&&!Fe(s)&&(s=[s]),i[a]=s?s.concat(o):Fe(o)?o:[o]}return i};ea.props=ea.methods=ea.inject=ea.computed=function(t,e,r,n){if(!t)return e;var i=Object.create(null);return yt(i,t),e&&yt(i,e),i};ea.provide=function(t,e){return t?function(){var r=Object.create(null);return Pf(r,Pt(t)?t.call(this):t),e&&Pf(r,Pt(e)?e.call(this):e,!1),r}:e};var xH=function(t,e){return e===void 0?t:e};function TH(t,e){var r=t.props;if(r){var n={},i,a,s;if(Fe(r))for(i=r.length;i--;)a=r[i],typeof a=="string"&&(s=Ko(a),n[s]={type:null});else if(Ln(r))for(var o in r)a=r[o],s=Ko(o),n[s]=Ln(a)?a:{type:a};t.props=n}}function EH(t,e){var r=t.inject;if(r){var n=t.inject={};if(Fe(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(Ln(r))for(var a in r){var s=r[a];n[a]=Ln(s)?yt({from:a},s):{from:s}}}}function PH(t){var e=t.directives;if(e)for(var r in e){var n=e[r];Pt(n)&&(e[r]={bind:n,update:n})}}function Jo(t,e,r){if(Pt(e)&&(e=e.options),TH(e),EH(e),PH(e),!e._base&&(e.extends&&(t=Jo(t,e.extends,r)),e.mixins))for(var n=0,i=e.mixins.length;n<i;n++)t=Jo(t,e.mixins[n],r);var a={},s;for(s in t)o(s);for(s in e)Gr(t,s)||o(s);function o(u){var l=ea[u]||xH;a[u]=l(t[u],e[u],r,u)}return a}function Km(t,e,r,n){if(typeof r=="string"){var i=t[e];if(Gr(i,r))return i[r];var a=Ko(r);if(Gr(i,a))return i[a];var s=nz(a);if(Gr(i,s))return i[s];var o=i[r]||i[a]||i[s];return o}}function HO(t,e,r,n){var i=e[t],a=!Gr(r,t),s=r[t],o=aE(Boolean,i.type);if(o>-1){if(a&&!Gr(i,"default"))s=!1;else if(s===""||s===Jf(t)){var u=aE(String,i.type);(u<0||o<u)&&(s=!0)}}if(s===void 0){s=CH(n,i,t);var l=AO;zs(!0),Va(s),zs(l)}return s}function CH(t,e,r){if(Gr(e,"default")){var n=e.default;return t&&t.$options.propsData&&t.$options.propsData[r]===void 0&&t._props[r]!==void 0?t._props[r]:Pt(n)&&pw(e.type)!=="Function"?n.call(t):n}}var $H=/^\s*function (\w+)/;function pw(t){var e=t&&t.toString().match($H);return e?e[1]:""}function iE(t,e){return pw(t)===pw(e)}function aE(t,e){if(!Fe(e))return iE(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(iE(e[r],t))return r;return-1}var _s={enumerable:!0,configurable:!0,get:mr,set:mr};function VO(t,e,r){_s.get=function(){return this[e][r]},_s.set=function(i){this[e][r]=i},Object.defineProperty(t,r,_s)}function AH(t){var e=t.$options;if(e.props&&MH(t,e.props),Lz(t),e.methods&&LH(t,e.methods),e.data)kH(t);else{var r=Va(t._data={});r&&r.vmCount++}e.computed&&IH(t,e.computed),e.watch&&e.watch!==iw&&NH(t,e.watch)}function MH(t,e){var r=t.$options.propsData||{},n=t._props=n8({}),i=t.$options._propKeys=[],a=!t.$parent;a||zs(!1);var s=function(u){i.push(u);var l=HO(u,e,r,t);Xo(n,u,l),u in t||VO(t,"_props",u)};for(var o in e)s(o);zs(!0)}function kH(t){var e=t.$options.data;e=t._data=Pt(e)?DH(e,t):e||{},Ln(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&&Gr(n,a)||XR(a)||VO(t,"_data",a)}var s=Va(e);s&&s.vmCount++}function DH(t,e){bc();try{return t.call(e,e)}catch(r){return Zo(r,e,"data()"),{}}finally{_c()}}var RH={lazy:!0};function IH(t,e){var r=t._computedWatchers=Object.create(null),n=Qf();for(var i in e){var a=e[i],s=Pt(a)?a:a.get;n||(r[i]=new LO(t,s||mr,mr,RH)),i in t||_8(t,i,a)}}function _8(t,e,r){var n=!Qf();Pt(r)?(_s.get=n?sE(e):oE(r),_s.set=mr):(_s.get=r.get?n&&r.cache!==!1?sE(e):oE(r.get):mr,_s.set=r.set||mr),Object.defineProperty(t,e,_s)}function sE(t){return function(){var r=this._computedWatchers&&this._computedWatchers[t];if(r)return r.dirty&&r.evaluate(),js.target&&r.depend(),r.value}}function oE(t){return function(){return t.call(this,this)}}function LH(t,e){t.$options.props;for(var r in e)t[r]=typeof e[r]!="function"?mr:GR(e[r],t)}function NH(t,e){for(var r in e){var n=e[r];if(Fe(n))for(var i=0;i<n.length;i++)mw(t,r,n[i]);else mw(t,r,n)}}function mw(t,e,r,n){return Ln(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=t[r]),t.$watch(e,r,n)}function BH(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=MO,t.prototype.$delete=t8,t.prototype.$watch=function(n,i,a){var s=this;if(Ln(i))return mw(s,n,i,a);a=a||{},a.user=!0;var o=new LO(s,n,i,a);if(a.immediate){var u='callback for immediate watcher "'.concat(o.expression,'"');bc(),Hs(i,s,[o.value],s,u),_c()}return function(){o.teardown()}}}var FH=0;function jH(t){t.prototype._init=function(e){var r=this;r._uid=FH++,r._isVue=!0,r.__v_skip=!0,r._scope=new bz(!0),r._scope._vm=!0,e&&e._isComponent?zH(r,e):r.$options=Jo(UO(r.constructor),e||{},r),r._renderProxy=r,r._self=r,rH(r),Zz(r),jz(r),vi(r,"beforeCreate",void 0,!1),pH(r),AH(r),hH(r),vi(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function zH(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 UO(t){var e=t.options;if(t.super){var r=UO(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var i=HH(t);i&&yt(t.extendOptions,i),e=t.options=Jo(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function HH(t){var e,r=t.options,n=t.sealedOptions;for(var i in r)r[i]!==n[i]&&(e||(e={}),e[i]=r[i]);return e}function V(t){this._init(t)}jH(V);BH(V);tH(V);nH(V);zz(V);function VH(t){t.use=function(e){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(e)>-1)return this;var n=nw(arguments,1);return n.unshift(this),Pt(e.install)?e.install.apply(e,n):Pt(e)&&e.apply(null,n),r.push(e),this}}function UH(t){t.mixin=function(e){return this.options=Jo(this.options,e),this}}function GH(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=Ym(r)||Ym(n.options),o=function(l){this._init(l)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Jo(n.options,r),o.super=n,o.options.props&&WH(o),o.options.computed&&YH(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,wg.forEach(function(u){o[u]=n[u]}),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=r,o.sealedOptions=yt({},o.options),a[i]=o,o}}function WH(t){var e=t.options.props;for(var r in e)VO(t.prototype,"_props",r)}function YH(t){var e=t.options.computed;for(var r in e)_8(t.prototype,r,e[r])}function KH(t){wg.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&Ln(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&Pt(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function uE(t){return t&&(Ym(t.Ctor.options)||t.tag)}function Zh(t,e){return Fe(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:J5(t)?t.test(e):!1}function lE(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)&&vw(r,a,n,i)}}}function vw(t,e,r,n){var i=t[e];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),t[e]=null,Js(r,e)}var cE=[String,RegExp,Array],qH={name:"keep-alive",abstract:!0,props:{include:cE,exclude:cE,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:uE(o),tag:a,componentInstance:s},r.push(i),this.max&&r.length>parseInt(this.max)&&vw(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)vw(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){lE(t,function(r){return Zh(e,r)})}),this.$watch("exclude",function(e){lE(t,function(r){return!Zh(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=c8(t),r=e&&e.componentOptions;if(r){var n=uE(r),i=this,a=i.include,s=i.exclude;if(a&&(!n||!Zh(a,n))||s&&n&&Zh(s,n))return e;var o=this,u=o.cache,l=o.keys,c=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[c]?(e.componentInstance=u[c].componentInstance,Js(l,c),l.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},XH={KeepAlive:qH};function ZH(t){var e={};e.get=function(){return ni},Object.defineProperty(t,"config",e),t.util={warn:yH,extend:yt,mergeOptions:Jo,defineReactive:Xo},t.set=MO,t.delete=t8,t.nextTick=IO,t.observable=function(r){return Va(r),r},t.options=Object.create(null),wg.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,yt(t.options.components,XH),VH(t),UH(t),GH(t),KH(t)}ZH(V);Object.defineProperty(V.prototype,"$isServer",{get:Qf});Object.defineProperty(V.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(V,"FunctionalRenderContext",{value:jO});V.version=qz;var JH=Ti("style,class"),QH=Ti("input,textarea,option,select,progress"),eV=function(t,e,r){return r==="value"&&QH(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},y8=Ti("contenteditable,draggable,spellcheck"),tV=Ti("events,caret,typing,plaintext-only"),rV=function(t,e){return qm(e)||e==="false"?"false":t==="contenteditable"&&tV(e)?e:"true"},nV=Ti("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),gw="http://www.w3.org/1999/xlink",GO=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},w8=function(t){return GO(t)?t.slice(6,t.length):""},qm=function(t){return t==null||t===!1};function iV(t){for(var e=t.data,r=t,n=t;X(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=dE(n.data,e));for(;X(r=r.parent);)r&&r.data&&(e=dE(e,r.data));return aV(e.staticClass,e.class)}function dE(t,e){return{staticClass:WO(t.staticClass,e.staticClass),class:X(t.class)?[t.class,e.class]:e.class}}function aV(t,e){return X(t)||X(e)?WO(t,YO(e)):""}function WO(t,e){return t?e?t+" "+e:t:e||""}function YO(t){return Array.isArray(t)?sV(t):Rr(t)?oV(t):typeof t=="string"?t:""}function sV(t){for(var e="",r,n=0,i=t.length;n<i;n++)X(r=YO(t[n]))&&r!==""&&(e&&(e+=" "),e+=r);return e}function oV(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var uV={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},lV=Ti("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),KO=Ti("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),O8=function(t){return lV(t)||KO(t)};function cV(t){if(KO(t))return"svg";if(t==="math")return"math"}var Jh=Object.create(null);function dV(t){if(!Bn)return!0;if(O8(t))return!1;if(t=t.toLowerCase(),Jh[t]!=null)return Jh[t];var e=document.createElement(t);return t.indexOf("-")>-1?Jh[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Jh[t]=/HTMLUnknownElement/.test(e.toString())}var bw=Ti("text,number,password,search,email,tel,url");function fV(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function hV(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 pV(t,e){return document.createElementNS(uV[t],e)}function mV(t){return document.createTextNode(t)}function vV(t){return document.createComment(t)}function gV(t,e,r){t.insertBefore(e,r)}function bV(t,e){t.removeChild(e)}function _V(t,e){t.appendChild(e)}function yV(t){return t.parentNode}function wV(t){return t.nextSibling}function OV(t){return t.tagName}function SV(t,e){t.textContent=e}function xV(t,e){t.setAttribute(e,"")}var TV=Object.freeze({__proto__:null,createElement:hV,createElementNS:pV,createTextNode:mV,createComment:vV,insertBefore:gV,removeChild:bV,appendChild:_V,parentNode:yV,nextSibling:wV,tagName:OV,setTextContent:SV,setStyleScope:xV}),EV={create:function(t,e){_l(e)},update:function(t,e){t.data.ref!==e.data.ref&&(_l(t,!0),_l(e))},destroy:function(t){_l(t,!0)}};function _l(t,e){var r=t.data.ref;if(X(r)){var n=t.context,i=t.componentInstance||t.elm,a=e?null:i,s=e?void 0:i;if(Pt(r)){Hs(r,n,[a],n,"template ref function");return}var o=t.data.refInFor,u=typeof r=="string"||typeof r=="number",l=ra(r),c=n.$refs;if(u||l){if(o){var d=u?c[r]:r.value;e?Fe(d)&&Js(d,i):Fe(d)?d.includes(i)||d.push(i):u?(c[r]=[i],fE(n,r,c[r])):r.value=[i]}else if(u){if(e&&c[r]!==i)return;c[r]=s,fE(n,r,a)}else if(l){if(e&&r.value!==i)return;r.value=a}}}}function fE(t,e,r){var n=t._setupState;n&&Gr(n,e)&&(ra(n[e])?n[e].value=r:n[e]=r)}var Ss=new Nn("",{},[]),qc=["create","activate","update","remove","destroy"];function fo(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&X(t.data)===X(e.data)&&PV(t,e)||Dt(t.isAsyncPlaceholder)&&Ae(e.asyncFactory.error))}function PV(t,e){if(t.tag!=="input")return!0;var r,n=X(r=t.data)&&X(r=r.attrs)&&r.type,i=X(r=e.data)&&X(r=r.attrs)&&r.type;return n===i||bw(n)&&bw(i)}function CV(t,e,r){var n,i,a={};for(n=e;n<=r;++n)i=t[n].key,X(i)&&(a[i]=n);return a}function $V(t){var e,r,n={},i=t.modules,a=t.nodeOps;for(e=0;e<qc.length;++e)for(n[qc[e]]=[],r=0;r<i.length;++r)X(i[r][qc[e]])&&n[qc[e]].push(i[r][qc[e]]);function s(C){return new Nn(a.tagName(C).toLowerCase(),{},[],void 0,C)}function o(C,w){function $(){--$.listeners===0&&u(C)}return $.listeners=w,$}function u(C){var w=a.parentNode(C);X(w)&&a.removeChild(w,C)}function l(C,w,$,D,A,L,F){if(X(C.elm)&&X(L)&&(C=L[F]=aw(C)),C.isRootInsert=!A,!c(C,w,$,D)){var j=C.data,H=C.children,G=C.tag;X(G)?(C.elm=C.ns?a.createElementNS(C.ns,G):a.createElement(G,C),S(C),g(C,H,w),X(j)&&O(C,w),p($,C.elm,D)):Dt(C.isComment)?(C.elm=a.createComment(C.text),p($,C.elm,D)):(C.elm=a.createTextNode(C.text),p($,C.elm,D))}}function c(C,w,$,D){var A=C.data;if(X(A)){var L=X(C.componentInstance)&&A.keepAlive;if(X(A=A.hook)&&X(A=A.init)&&A(C,!1),X(C.componentInstance))return d(C,w),p($,C.elm,D),Dt(L)&&h(C,w,$,D),!0}}function d(C,w){X(C.data.pendingInsert)&&(w.push.apply(w,C.data.pendingInsert),C.data.pendingInsert=null),C.elm=C.componentInstance.$el,_(C)?(O(C,w),S(C)):(_l(C),w.push(C))}function h(C,w,$,D){for(var A,L=C;L.componentInstance;)if(L=L.componentInstance._vnode,X(A=L.data)&&X(A=A.transition)){for(A=0;A<n.activate.length;++A)n.activate[A](Ss,L);w.push(L);break}p($,C.elm,D)}function p(C,w,$){X(C)&&(X($)?a.parentNode($)===C&&a.insertBefore(C,w,$):a.appendChild(C,w))}function g(C,w,$){if(Fe(w))for(var D=0;D<w.length;++D)l(w[D],$,C.elm,null,!0,w,D);else Zf(C.text)&&a.appendChild(C.elm,a.createTextNode(String(C.text)))}function _(C){for(;C.componentInstance;)C=C.componentInstance._vnode;return X(C.tag)}function O(C,w){for(var $=0;$<n.create.length;++$)n.create[$](Ss,C);e=C.data.hook,X(e)&&(X(e.create)&&e.create(Ss,C),X(e.insert)&&w.push(C))}function S(C){var w;if(X(w=C.fnScopeId))a.setStyleScope(C.elm,w);else for(var $=C;$;)X(w=$.context)&&X(w=w.$options._scopeId)&&a.setStyleScope(C.elm,w),$=$.parent;X(w=Fo)&&w!==C.context&&w!==C.fnContext&&X(w=w.$options._scopeId)&&a.setStyleScope(C.elm,w)}function E(C,w,$,D,A,L){for(;D<=A;++D)l($[D],L,C,w,!1,$,D)}function x(C){var w,$,D=C.data;if(X(D))for(X(w=D.hook)&&X(w=w.destroy)&&w(C),w=0;w<n.destroy.length;++w)n.destroy[w](C);if(X(w=C.children))for($=0;$<C.children.length;++$)x(C.children[$])}function f(C,w,$){for(;w<=$;++w){var D=C[w];X(D)&&(X(D.tag)?(m(D),x(D)):u(D.elm))}}function m(C,w){if(X(w)||X(C.data)){var $,D=n.remove.length+1;for(X(w)?w.listeners+=D:w=o(C.elm,D),X($=C.componentInstance)&&X($=$._vnode)&&X($.data)&&m($,w),$=0;$<n.remove.length;++$)n.remove[$](C,w);X($=C.data.hook)&&X($=$.remove)?$(C,w):w()}else u(C.elm)}function v(C,w,$,D,A){for(var L=0,F=0,j=w.length-1,H=w[0],G=w[j],Z=$.length-1,te=$[0],Y=$[Z],W,U,K,ae,be=!A;L<=j&&F<=Z;)Ae(H)?H=w[++L]:Ae(G)?G=w[--j]:fo(H,te)?(P(H,te,D,$,F),H=w[++L],te=$[++F]):fo(G,Y)?(P(G,Y,D,$,Z),G=w[--j],Y=$[--Z]):fo(H,Y)?(P(H,Y,D,$,Z),be&&a.insertBefore(C,H.elm,a.nextSibling(G.elm)),H=w[++L],Y=$[--Z]):fo(G,te)?(P(G,te,D,$,F),be&&a.insertBefore(C,G.elm,H.elm),G=w[--j],te=$[++F]):(Ae(W)&&(W=CV(w,L,j)),U=X(te.key)?W[te.key]:T(te,w,L,j),Ae(U)?l(te,D,C,H.elm,!1,$,F):(K=w[U],fo(K,te)?(P(K,te,D,$,F),w[U]=void 0,be&&a.insertBefore(C,K.elm,H.elm)):l(te,D,C,H.elm,!1,$,F)),te=$[++F]);L>j?(ae=Ae($[Z+1])?null:$[Z+1].elm,E(C,ae,$,F,Z,D)):F>Z&&f(w,L,j)}function T(C,w,$,D){for(var A=$;A<D;A++){var L=w[A];if(X(L)&&fo(C,L))return A}}function P(C,w,$,D,A,L){if(C!==w){X(w.elm)&&X(D)&&(w=D[A]=aw(w));var F=w.elm=C.elm;if(Dt(C.isAsyncPlaceholder)){X(w.asyncFactory.resolved)?M(C.elm,w,$):w.isAsyncPlaceholder=!0;return}if(Dt(w.isStatic)&&Dt(C.isStatic)&&w.key===C.key&&(Dt(w.isCloned)||Dt(w.isOnce))){w.componentInstance=C.componentInstance;return}var j,H=w.data;X(H)&&X(j=H.hook)&&X(j=j.prepatch)&&j(C,w);var G=C.children,Z=w.children;if(X(H)&&_(w)){for(j=0;j<n.update.length;++j)n.update[j](C,w);X(j=H.hook)&&X(j=j.update)&&j(C,w)}Ae(w.text)?X(G)&&X(Z)?G!==Z&&v(F,G,Z,$,L):X(Z)?(X(C.text)&&a.setTextContent(F,""),E(F,null,Z,0,Z.length-1,$)):X(G)?f(G,0,G.length-1):X(C.text)&&a.setTextContent(F,""):C.text!==w.text&&a.setTextContent(F,w.text),X(H)&&X(j=H.hook)&&X(j=j.postpatch)&&j(C,w)}}function k(C,w,$){if(Dt($)&&X(C.parent))C.parent.data.pendingInsert=w;else for(var D=0;D<w.length;++D)w[D].data.hook.insert(w[D])}var y=Ti("attrs,class,staticClass,staticStyle,key");function M(C,w,$,D){var A,L=w.tag,F=w.data,j=w.children;if(D=D||F&&F.pre,w.elm=C,Dt(w.isComment)&&X(w.asyncFactory))return w.isAsyncPlaceholder=!0,!0;if(X(F)&&(X(A=F.hook)&&X(A=A.init)&&A(w,!0),X(A=w.componentInstance)))return d(w,$),!0;if(X(L)){if(X(j))if(!C.hasChildNodes())g(w,j,$);else if(X(A=F)&&X(A=A.domProps)&&X(A=A.innerHTML)){if(A!==C.innerHTML)return!1}else{for(var H=!0,G=C.firstChild,Z=0;Z<j.length;Z++){if(!G||!M(G,j[Z],$,D)){H=!1;break}G=G.nextSibling}if(!H||G)return!1}if(X(F)){var te=!1;for(var Y in F)if(!y(Y)){te=!0,O(w,$);break}!te&&F.class&&Gm(F.class)}}else C.data!==w.text&&(C.data=w.text);return!0}return function(w,$,D,A){if(Ae($)){X(w)&&x(w);return}var L=!1,F=[];if(Ae(w))L=!0,l($,F);else{var j=X(w.nodeType);if(!j&&fo(w,$))P(w,$,F,null,null,A);else{if(j){if(w.nodeType===1&&w.hasAttribute(FT)&&(w.removeAttribute(FT),D=!0),Dt(D)&&M(w,$,F))return k($,F,!0),w;w=s(w)}var H=w.elm,G=a.parentNode(H);if(l($,F,H._leaveCb?null:G,a.nextSibling(H)),X($.parent))for(var Z=$.parent,te=_($);Z;){for(var Y=0;Y<n.destroy.length;++Y)n.destroy[Y](Z);if(Z.elm=$.elm,te){for(var W=0;W<n.create.length;++W)n.create[W](Ss,Z);var U=Z.data.hook.insert;if(U.merged)for(var K=1;K<U.fns.length;K++)U.fns[K]()}else _l(Z);Z=Z.parent}X(G)?f([w],0,0):X(w.tag)&&x(w)}}return k($,F,L),$.elm}}var AV={create:t_,update:t_,destroy:function(e){t_(e,Ss)}};function t_(t,e){(t.data.directives||e.data.directives)&&MV(t,e)}function MV(t,e){var r=t===Ss,n=e===Ss,i=hE(t.data.directives,t.context),a=hE(e.data.directives,e.context),s=[],o=[],u,l,c;for(u in a)l=i[u],c=a[u],l?(c.oldValue=l.value,c.oldArg=l.arg,Xc(c,"update",e,t),c.def&&c.def.componentUpdated&&o.push(c)):(Xc(c,"bind",e,t),c.def&&c.def.inserted&&s.push(c));if(s.length){var d=function(){for(var h=0;h<s.length;h++)Xc(s[h],"inserted",e,t)};r?Os(e,"insert",d):d()}if(o.length&&Os(e,"postpatch",function(){for(var h=0;h<o.length;h++)Xc(o[h],"componentUpdated",e,t)}),!r)for(u in i)a[u]||Xc(i[u],"unbind",t,t,n)}var kV=Object.create(null);function hE(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=kV),r[DV(i)]=i,e._setupState&&e._setupState.__sfc){var a=i.def||Km(e,"_setupState","v-"+i.name);typeof a=="function"?i.def={bind:a,update:a}:i.def=a}i.def=i.def||Km(e.$options,"directives",i.name)}return r}function DV(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Xc(t,e,r,n,i){var a=t.def&&t.def[e];if(a)try{a(r.elm,t,r,n,i)}catch(s){Zo(s,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var RV=[EV,AV];function pE(t,e){var r=e.componentOptions;if(!(X(r)&&r.Ctor.options.inheritAttrs===!1)&&!(Ae(t.data.attrs)&&Ae(e.data.attrs))){var n,i,a,s=e.elm,o=t.data.attrs||{},u=e.data.attrs||{};(X(u.__ob__)||Dt(u._v_attr_proxy))&&(u=e.data.attrs=yt({},u));for(n in u)i=u[n],a=o[n],a!==i&&mE(s,n,i,e.data.pre);(vc||ZR)&&u.value!==o.value&&mE(s,"value",u.value);for(n in o)Ae(u[n])&&(GO(n)?s.removeAttributeNS(gw,w8(n)):y8(n)||s.removeAttribute(n))}}function mE(t,e,r,n){n||t.tagName.indexOf("-")>-1?vE(t,e,r):nV(e)?qm(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):y8(e)?t.setAttribute(e,rV(e,r)):GO(e)?qm(r)?t.removeAttributeNS(gw,w8(e)):t.setAttributeNS(gw,e,r):vE(t,e,r)}function vE(t,e,r){if(qm(r))t.removeAttribute(e);else{if(vc&&!gc&&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 IV={create:pE,update:pE};function gE(t,e){var r=e.elm,n=e.data,i=t.data;if(!(Ae(n.staticClass)&&Ae(n.class)&&(Ae(i)||Ae(i.staticClass)&&Ae(i.class)))){var a=iV(e),s=r._transitionClasses;X(s)&&(a=WO(a,YO(s))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var LV={create:gE,update:gE},r_="__r",n_="__c";function NV(t){if(X(t[r_])){var e=vc?"change":"input";t[e]=[].concat(t[r_],t[e]||[]),delete t[r_]}X(t[n_])&&(t.change=[].concat(t[n_],t.change||[]),delete t[n_])}var Cf;function BV(t,e,r){var n=Cf;return function i(){var a=e.apply(null,arguments);a!==null&&S8(t,i,r,n)}}var FV=lw&&!(jT&&Number(jT[1])<=53);function jV(t,e,r,n){if(FV){var i=g8,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)}}Cf.addEventListener(t,e,JR?{capture:r,passive:n}:r)}function S8(t,e,r,n){(n||Cf).removeEventListener(t,e._wrapper||e,r)}function i_(t,e){if(!(Ae(t.data.on)&&Ae(e.data.on))){var r=e.data.on||{},n=t.data.on||{};Cf=e.elm||t.elm,NV(r),i8(r,n,jV,S8,BV,e.context),Cf=void 0}}var zV={create:i_,update:i_,destroy:function(t){return i_(t,Ss)}},Qh;function bE(t,e){if(!(Ae(t.data.domProps)&&Ae(e.data.domProps))){var r,n,i=e.elm,a=t.data.domProps||{},s=e.data.domProps||{};(X(s.__ob__)||Dt(s._v_attr_proxy))&&(s=e.data.domProps=yt({},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=Ae(n)?"":String(n);HV(i,o)&&(i.value=o)}else if(r==="innerHTML"&&KO(i.tagName)&&Ae(i.innerHTML)){Qh=Qh||document.createElement("div"),Qh.innerHTML="<svg>".concat(n,"</svg>");for(var u=Qh.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 HV(t,e){return!t.composing&&(t.tagName==="OPTION"||VV(t,e)||UV(t,e))}function VV(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function UV(t,e){var r=t.value,n=t._vModifiers;if(X(n)){if(n.number)return Sf(r)!==Sf(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var GV={create:bE,update:bE},WV=mu(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 a_(t){var e=x8(t.style);return t.staticStyle?yt(t.staticStyle,e):e}function x8(t){return Array.isArray(t)?WR(t):typeof t=="string"?WV(t):t}function YV(t,e){var r={},n;if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=a_(i.data))&&yt(r,n);(n=a_(t.data))&&yt(r,n);for(var a=t;a=a.parent;)a.data&&(n=a_(a.data))&&yt(r,n);return r}var KV=/^--/,_E=/\s*!important$/,yE=function(t,e,r){if(KV.test(e))t.style.setProperty(e,r);else if(_E.test(r))t.style.setProperty(Jf(e),r.replace(_E,""),"important");else{var n=qV(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}},wE=["Webkit","Moz","ms"],ep,qV=mu(function(t){if(ep=ep||document.createElement("div").style,t=Ko(t),t!=="filter"&&t in ep)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<wE.length;r++){var n=wE[r]+e;if(n in ep)return n}});function OE(t,e){var r=e.data,n=t.data;if(!(Ae(r.staticStyle)&&Ae(r.style)&&Ae(n.staticStyle)&&Ae(n.style))){var i,a,s=e.elm,o=n.staticStyle,u=n.normalizedStyle||n.style||{},l=o||u,c=x8(e.data.style)||{};e.data.normalizedStyle=X(c.__ob__)?yt({},c):c;var d=YV(e,!0);for(a in l)Ae(d[a])&&yE(s,a,"");for(a in d)i=d[a],i!==l[a]&&yE(s,a,i??"")}}var XV={create:OE,update:OE},T8=/\s+/;function E8(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(T8).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 P8(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(T8).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 C8(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&yt(e,SE(t.name||"v")),yt(e,t),e}else if(typeof t=="string")return SE(t)}}var SE=mu(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")}}),$8=Bn&&!gc,dl="transition",s_="animation",rm="transition",Xm="transitionend",_w="animation",A8="animationend";$8&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(rm="WebkitTransition",Xm="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(_w="WebkitAnimation",A8="webkitAnimationEnd"));var xE=Bn?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function M8(t){xE(function(){xE(t)})}function jo(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),E8(t,e))}function Ia(t,e){t._transitionClasses&&Js(t._transitionClasses,e),P8(t,e)}function k8(t,e,r){var n=D8(t,e),i=n.type,a=n.timeout,s=n.propCount;if(!i)return r();var o=i===dl?Xm:A8,u=0,l=function(){t.removeEventListener(o,c),r()},c=function(d){d.target===t&&++u>=s&&l()};setTimeout(function(){u<s&&l()},a+1),t.addEventListener(o,c)}var ZV=/\b(transform|all)(,|$)/;function D8(t,e){var r=window.getComputedStyle(t),n=(r[rm+"Delay"]||"").split(", "),i=(r[rm+"Duration"]||"").split(", "),a=TE(n,i),s=(r[_w+"Delay"]||"").split(", "),o=(r[_w+"Duration"]||"").split(", "),u=TE(s,o),l,c=0,d=0;e===dl?a>0&&(l=dl,c=a,d=i.length):e===s_?u>0&&(l=s_,c=u,d=o.length):(c=Math.max(a,u),l=c>0?a>u?dl:s_:null,d=l?l===dl?i.length:o.length:0);var h=l===dl&&ZV.test(r[rm+"Property"]);return{type:l,timeout:c,propCount:d,hasTransform:h}}function TE(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(r,n){return EE(r)+EE(t[n])}))}function EE(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function yw(t,e){var r=t.elm;X(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=C8(t.data.transition);if(!Ae(n)&&!(X(r._enterCb)||r.nodeType!==1)){for(var i=n.css,a=n.type,s=n.enterClass,o=n.enterToClass,u=n.enterActiveClass,l=n.appearClass,c=n.appearToClass,d=n.appearActiveClass,h=n.beforeEnter,p=n.enter,g=n.afterEnter,_=n.enterCancelled,O=n.beforeAppear,S=n.appear,E=n.afterAppear,x=n.appearCancelled,f=n.duration,m=Fo,v=Fo.$vnode;v&&v.parent;)m=v.context,v=v.parent;var T=!m._isMounted||!t.isRootInsert;if(!(T&&!S&&S!=="")){var P=T&&l?l:s,k=T&&d?d:u,y=T&&c?c:o,M=T&&O||h,C=T&&Pt(S)?S:p,w=T&&E||g,$=T&&x||_,D=Sf(Rr(f)?f.enter:f),A=i!==!1&&!gc,L=qO(C),F=r._enterCb=jm(function(){A&&(Ia(r,y),Ia(r,k)),F.cancelled?(A&&Ia(r,P),$&&$(r)):w&&w(r),r._enterCb=null});t.data.show||Os(t,"insert",function(){var j=r.parentNode,H=j&&j._pending&&j._pending[t.key];H&&H.tag===t.tag&&H.elm._leaveCb&&H.elm._leaveCb(),C&&C(r,F)}),M&&M(r),A&&(jo(r,P),jo(r,k),M8(function(){Ia(r,P),F.cancelled||(jo(r,y),L||(I8(D)?setTimeout(F,D):k8(r,a,F)))})),t.data.show&&(e&&e(),C&&C(r,F)),!A&&!L&&F()}}}function R8(t,e){var r=t.elm;X(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=C8(t.data.transition);if(Ae(n)||r.nodeType!==1)return e();if(X(r._leaveCb))return;var i=n.css,a=n.type,s=n.leaveClass,o=n.leaveToClass,u=n.leaveActiveClass,l=n.beforeLeave,c=n.leave,d=n.afterLeave,h=n.leaveCancelled,p=n.delayLeave,g=n.duration,_=i!==!1&&!gc,O=qO(c),S=Sf(Rr(g)?g.leave:g),E=r._leaveCb=jm(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),_&&(Ia(r,o),Ia(r,u)),E.cancelled?(_&&Ia(r,s),h&&h(r)):(e(),d&&d(r)),r._leaveCb=null});p?p(x):x();function x(){E.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),_&&(jo(r,s),jo(r,u),M8(function(){Ia(r,s),E.cancelled||(jo(r,o),O||(I8(S)?setTimeout(E,S):k8(r,a,E)))})),c&&c(r,E),!_&&!O&&E())}}function I8(t){return typeof t=="number"&&!isNaN(t)}function qO(t){if(Ae(t))return!1;var e=t.fns;return X(e)?qO(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function PE(t,e){e.data.show!==!0&&yw(e)}var JV=Bn?{create:PE,activate:PE,remove:function(t,e){t.data.show!==!0?R8(t,e):e()}}:{},QV=[IV,LV,zV,GV,XV,JV],eU=QV.concat(RV),tU=$V({nodeOps:TV,modules:eU});gc&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&XO(t,"input")});var L8={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?Os(r,"postpatch",function(){L8.componentUpdated(t,e,r)}):CE(t,e,r.context),t._vOptions=[].map.call(t.options,Zm)):(r.tag==="textarea"||bw(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",rU),t.addEventListener("compositionend",ME),t.addEventListener("change",ME),gc&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){CE(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,Zm);if(i.some(function(s,o){return!qo(s,n[o])})){var a=t.multiple?e.value.some(function(s){return AE(s,i)}):e.value!==e.oldValue&&AE(e.value,i);a&&XO(t,"change")}}}};function CE(t,e,r){$E(t,e),(vc||ZR)&&setTimeout(function(){$E(t,e)},0)}function $E(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=KR(n,Zm(s))>-1,s.selected!==a&&(s.selected=a);else if(qo(Zm(s),n)){t.selectedIndex!==o&&(t.selectedIndex=o);return}i||(t.selectedIndex=-1)}}function AE(t,e){return e.every(function(r){return!qo(r,t)})}function Zm(t){return"_value"in t?t._value:t.value}function rU(t){t.target.composing=!0}function ME(t){t.target.composing&&(t.target.composing=!1,XO(t.target,"input"))}function XO(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function ww(t){return t.componentInstance&&(!t.data||!t.data.transition)?ww(t.componentInstance._vnode):t}var nU={bind:function(t,e,r){var n=e.value;r=ww(r);var i=r.data&&r.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&i?(r.data.show=!0,yw(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=ww(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?yw(r,function(){t.style.display=t.__vOriginalDisplay}):R8(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)}},iU={model:L8,show:nU},N8={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 Ow(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ow(c8(e.children)):t}function B8(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[Ko(n)]=i[n];return e}function kE(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function aU(t){for(;t=t.parent;)if(t.data.transition)return!0}function sU(t,e){return e.key===t.key&&e.tag===t.tag}var oU=function(t){return t.tag||Tf(t)},uU=function(t){return t.name==="show"},lU={name:"transition",props:N8,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(oU),!!r.length)){var n=this.mode,i=r[0];if(aU(this.$vnode))return i;var a=Ow(i);if(!a)return i;if(this._leaving)return kE(t,i);var s="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?s+"comment":s+a.tag:Zf(a.key)?String(a.key).indexOf(s)===0?a.key:s+a.key:a.key;var o=(a.data||(a.data={})).transition=B8(this),u=this._vnode,l=Ow(u);if(a.data.directives&&a.data.directives.some(uU)&&(a.data.show=!0),l&&l.data&&!sU(a,l)&&!Tf(l)&&!(l.componentInstance&&l.componentInstance._vnode.isComment)){var c=l.data.transition=yt({},o);if(n==="out-in")return this._leaving=!0,Os(c,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),kE(t,i);if(n==="in-out"){if(Tf(a))return u;var d,h=function(){d()};Os(o,"afterEnter",h),Os(o,"enterCancelled",h),Os(c,"delayLeave",function(p){d=p})}}return i}}},F8=yt({tag:String,moveClass:String},N8);delete F8.mode;var cU={props:F8,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=p8(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=B8(this),o=0;o<i.length;o++){var u=i[o];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(a.push(u),r[u.key]=u,(u.data||(u.data={})).transition=s)}if(n){for(var l=[],c=[],o=0;o<n.length;o++){var u=n[o];u.data.transition=s,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?l.push(u):c.push(u)}this.kept=t(e,null,l),this.removed=c}return t(e,null,a)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,e)||(t.forEach(dU),t.forEach(fU),t.forEach(hU),this._reflow=document.body.offsetHeight,t.forEach(function(r){if(r.data.moved){var n=r.elm,i=n.style;jo(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Xm,n._moveCb=function a(s){s&&s.target!==n||(!s||/transform$/.test(s.propertyName))&&(n.removeEventListener(Xm,a),n._moveCb=null,Ia(n,e))})}}))},methods:{hasMove:function(t,e){if(!$8)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(i){P8(r,i)}),E8(r,e),r.style.display="none",this.$el.appendChild(r);var n=D8(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function dU(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function fU(t){t.data.newPos=t.elm.getBoundingClientRect()}function hU(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 pU={Transition:lU,TransitionGroup:cU};V.config.mustUseProp=eV;V.config.isReservedTag=O8;V.config.isReservedAttr=JH;V.config.getTagNamespace=cV;V.config.isUnknownElement=dV;yt(V.options.directives,iU);yt(V.options.components,pU);V.prototype.__patch__=Bn?tU:mr;V.prototype.$mount=function(t,e){return t=t&&Bn?fV(t):void 0,iH(this,t,e)};Bn&&setTimeout(function(){ni.devtools&&zm&&zm.emit("init",V)},0);var j8=function(){return(j8=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)},o_={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function mU(t,e){return e?e.toUpperCase():""}function vU(t){for(var e,r={},n=0,i=t.split(o_.styleList);n<i.length;n++){var a=i[n].split(o_.styleProp),s=a[0],o=a[1];(s=s.trim())&&(typeof o=="string"&&(o=o.trim()),r[e=s,e.replace(o_.kebab,mU)]=o)}return r}function pe(){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]=vU(u))}arguments[n].style=s}r[t]=r[t].concat(arguments[n][t]);break;case"staticClass":if(!arguments[n][t])break;r[t]===void 0&&(r[t]=""),r[t]&&(r[t]+=" "),r[t]+=arguments[n][t].trim();break;case"on":case"nativeOn":r[t]||(r[t]={});for(var l=0,c=Object.keys(arguments[n][t]||{});l<c.length;l++)e=c[l],r[t][e]?r[t][e]=[].concat(r[t][e],arguments[n][t][e]):r[t][e]=arguments[n][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":r[t]||(r[t]={}),r[t]=j8({},arguments[n][t],r[t]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:r[t]||(r[t]=arguments[n][t])}return r}var ja="_uid",yc=typeof window<"u",z8=typeof document<"u",H8=typeof navigator<"u",V8=typeof Promise<"u",gU=typeof MutationObserver<"u"||typeof WebKitMutationObserver<"u"||typeof MozMutationObserver<"u",nt=yc&&z8&&H8,Rt=yc?window:{},wc=z8?document:{},U8=H8?navigator:{},bU=(U8.userAgent||"").toLowerCase(),_U=bU.indexOf("jsdom")>0,yU=function(){var t=!1;if(nt)try{var e={get passive(){t=!0}};Rt.addEventListener("test",e,e),Rt.removeEventListener("test",e,e)}catch{t=!1}return t}(),Jm=nt&&("ontouchstart"in wc.documentElement||U8.maxTouchPoints>0),Zc=nt&&!!(Rt.PointerEvent||Rt.MSPointerEvent),DE=nt&&"IntersectionObserver"in Rt&&"IntersectionObserverEntry"in Rt&&"intersectionRatio"in Rt.IntersectionObserverEntry.prototype,wU="BvConfig",fl="$bvConfig",OU=["xs","sm","md","lg","xl"],SU=/\[(\d+)]/g,xU=/^(BV?)/,G8=/^\d+$/,TU=/^\..+/,EU=/^#/,PU=/^#[A-Za-z]+[\w\-:.]*$/,CU=/(<([^>]+)>)/gi,$U=/\B([A-Z])/g,AU=/([a-z])([A-Z])/g,MU=/^[0-9]*\.?[0-9]+$/,kU=/\+/g,DU=/[-/\\^$*+?.()|[\]{}]/g,W8=/[\s\uFEFF\xA0]+/g,nm=/\s+/,RU=/\/\*$/,IU=/(\s|^)(\w)/g,LU=/^\s+/,NU=/_/g,BU=/-(\w)/g,FU=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,jU=/-|\s|T/,zU=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,RE=/^.*(#[^#]+)$/,HU=/%2C/g,VU=/[!'()*]/g,UU=/^(\?|#|&)/,GU=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,WU=/[/:]/,YU=/^col-/,KU=/^BIcon/,qU=/-u-.+/;function Sw(t){"@babel/helpers - typeof";return Sw=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},Sw(t)}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sg(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&&$f(t,e)}function xg(t){var e=Y8();return function(){var n=Af(t),i;if(e){var a=Af(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return XU(this,i)}}function XU(t,e){if(e&&(Sw(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ZU(t)}function ZU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qm(t){var e=typeof Map=="function"?new Map:void 0;return Qm=function(n){if(n===null||!JU(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 im(n,arguments,Af(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),$f(i,n)},Qm(t)}function im(t,e,r){return Y8()?im=Reflect.construct:im=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),l=new u;return s&&$f(l,s.prototype),l},im.apply(null,arguments)}function Y8(){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 JU(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $f(t,e){return $f=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},$f(t,e)}function Af(t){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(t)}var ZO=yc?Rt.Element:function(t){Sg(r,t);var e=xg(r);function r(){return Og(this,r),e.apply(this,arguments)}return r}(Qm(Object)),$s=yc?Rt.HTMLElement:function(t){Sg(r,t);var e=xg(r);function r(){return Og(this,r),e.apply(this,arguments)}return r}(ZO),K8=yc?Rt.SVGElement:function(t){Sg(r,t);var e=xg(r);function r(){return Og(this,r),e.apply(this,arguments)}return r}(ZO),q8=yc?Rt.File:function(t){Sg(r,t);var e=xg(r);function r(){return Og(this,r),e.apply(this,arguments)}return r}(Qm(Object));function ev(t){"@babel/helpers - typeof";return ev=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},ev(t)}var Tg=function(e){return ev(e)},QU=function(e){return Object.prototype.toString.call(e).slice(8,-1)},Bt=function(e){return e===void 0},ft=function(e){return e===null},qe=function(e){return Bt(e)||ft(e)},ve=function(e){return Tg(e)==="function"},ei=function(e){return Tg(e)==="boolean"},Be=function(e){return Tg(e)==="string"},gi=function(e){return Tg(e)==="number"},ef=function(e){return MU.test(String(e))},Ge=function(e){return Array.isArray(e)},Lt=function(e){return e!==null&&ev(e)==="object"},Ir=function(e){return Object.prototype.toString.call(e)==="[object Object]"},Vl=function(e){return e instanceof Date},Qo=function(e){return e instanceof Event},eG=function(e){return e instanceof q8},IE=function(e){return QU(e)==="RegExp"},tG=function(e){return!qe(e)&&ve(e.then)&&ve(e.catch)};function LE(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 eu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?LE(Object(r),!0).forEach(function(n){th(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LE(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 rh=function(){return Object.assign.apply(Object,arguments)},xs=function(e,r){return Object.create(e,r)},Eg=function(e,r){return Object.defineProperties(e,r)},JO=function(e,r,n){return Object.defineProperty(e,r,n)},NE=function(e){return Object.getOwnPropertyNames(e)},Ee=function(e){return Object.keys(e)},tu=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},rG=function(e){return Object.prototype.toString.call(e)},Qs=function(e){return eu({},e)},Ei=function(e,r){return Ee(e).filter(function(n){return r.indexOf(n)!==-1}).reduce(function(n,i){return eu(eu({},n),{},th({},i,e[i]))},{})},De=function(e,r){return Ee(e).filter(function(n){return r.indexOf(n)===-1}).reduce(function(n,i){return eu(eu({},n),{},th({},i,e[i]))},{})},nG=function t(e,r){return Lt(e)&&Lt(r)&&Ee(r).forEach(function(n){Lt(r[n])?((!e[n]||!Lt(e[n]))&&(e[n]=r[n]),t(e[n],r[n])):rh(e,th({},n,r[n]))}),e},ce=function(e){return Ee(e).sort().reduce(function(r,n){return eu(eu({},r),{},th({},n,e[n]))},{})},Xn=function(){return{enumerable:!0,configurable:!1,writable:!1}};function BE(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 FE(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?BE(Object(r),!0).forEach(function(n){X8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):BE(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function X8(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function iG(t){return uG(t)||oG(t)||sG(t)||aG()}function aG(){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 sG(t,e){if(t){if(typeof t=="string")return xw(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 xw(t,e)}}function oG(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function uG(t){if(Array.isArray(t))return xw(t)}function xw(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 ti=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Ge(e)?e.reduce(function(n,i){return[].concat(iG(n),[t(i,i)])},[]):Ir(e)?Ee(e).reduce(function(n,i){return FE(FE({},n),{},X8({},i,t(e[i],e[i])))},{}):r},Oe=function(e){return e},Z8=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=Ge(r)?r.join("."):r,!r||!Lt(e))return n;if(r in e)return e[r];r=String(r).replace(SU,".$1");var i=r.split(".").filter(Oe);return i.length===0?n:i.every(function(a){return Lt(e)&&a in e&&!qe(e=e[a])})?e:ft(e)?null:n},Tr=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=Z8(e,r);return qe(i)?n:i},jE=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},lG=function(){return jE("BOOTSTRAP_VUE_NO_WARN")||jE("NODE_ENV")==="production"},sr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;lG()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},tv=function(e){return nt?!1:(sr("".concat(e,": Can not be called during SSR.")),!0)},zE=function(e){return V8?!1:(sr("".concat(e,": Requires Promise support.")),!0)},cG=function(e){return gU?!1:(sr("".concat(e,": Requires MutationObserver support.")),!0)};function dG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HE(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 fG(t,e,r){return e&&HE(t.prototype,e),r&&HE(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var hG=function(){function t(){dG(this,t),this.$_config={}}return fG(t,[{key:"setConfig",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ir(n)){var i=NE(n);i.forEach(function(a){var s=n[a];a==="breakpoints"?!Ge(s)||s.length<2||s.some(function(o){return!Be(o)||o.length===0})?sr('"breakpoints" must be an array of at least 2 breakpoint names',wU):r.$_config[a]=ti(s):Ir(s)&&(r.$_config[a]=NE(s).reduce(function(o,u){return Bt(s[u])||(o[u]=ti(s[u])),o},r.$_config[a]||{}))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return ti(this.$_config)}},{key:"getConfigValue",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return ti(Z8(this.$_config,r,n))}}]),t}(),pG=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V;r.prototype[fl]=V.prototype[fl]=r.prototype[fl]||V.prototype[fl]||new hG,r.prototype[fl].setConfig(e)};function VE(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 UE(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?VE(Object(r),!0).forEach(function(n){mG(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):VE(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mG(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vG=function(){var t=!1,e=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.org/docs#using-module-bundlers"].join(`
`);return function(r){!t&&V!==r&&!_U&&sr(e),t=!0}}(),J8=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,vG(o),pG(u,o),_G(o,r),wG(o,n),gG(o,i))};return a.installed=!1,a},fe=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return UE(UE({},r),{},{install:J8(e)})},gG=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])},bG=function(e,r,n){e&&r&&n&&e.component(r,n)},_G=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)bG(e,n,r[n])},yG=function(e,r,n){e&&r&&n&&e.directive(r.replace(/^VB/,"B"),n)},wG=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)yG(e,n,r[n])},Q8="BAlert",eI="BAspect",tI="BAvatar",rI="BAvatarGroup",nI="BBadge",iI="BBreadcrumb",aI="BBreadcrumbItem",sI="BBreadcrumbLink",oI="BButton",uI="BButtonClose",lI="BButtonGroup",cI="BButtonToolbar",dI="BCalendar",QO="BCard",fI="BCardBody",hI="BCardFooter",pI="BCardGroup",mI="BCardHeader",vI="BCardImg",gI="BCardImgLazy",bI="BCardSubTitle",_I="BCardText",yI="BCardTitle",wI="BCarousel",OI="BCarouselSlide",SI="BCol",Er="BCollapse",xI="BContainer",ru="BDropdown",TI="BDropdownDivider",EI="BDropdownForm",PI="BDropdownGroup",CI="BDropdownHeader",$I="BDropdownItem",AI="BDropdownItemButton",MI="BDropdownText",kI="BEmbed",DI="BForm",RI="BFormCheckbox",II="BFormCheckboxGroup",LI="BFormDatalist",NI="BFormDatepicker",eS="BFormFile",BI="BFormGroup",FI="BFormInput",jI="BFormInvalidFeedback",zI="BFormRadio",HI="BFormRadioGroup",VI="BFormRating",UI="BFormRow",GI="BFormSelect",WI="BFormSelectOption",YI="BFormSelectOptionGroup",KI="BFormSpinbutton",qI="BFormTag",XI="BFormTags",ZI="BFormText",JI="BFormTextarea",QI="BFormTimepicker",e3="BFormValidFeedback",t3="BIcon",OG="BIconBase",r3="BImg",n3="BImgLazy",i3="BInputGroup",a3="BInputGroupAddon",s3="BInputGroupAppend",o3="BInputGroupPrepend",u3="BInputGroupText",l3="BJumbotron",tS="BLink",c3="BListGroup",d3="BListGroupItem",f3="BMedia",h3="BMediaAside",p3="BMediaBody",tn="BModal",SG="BMsgBox",m3="BNav",v3="BNavbar",g3="BNavbarBrand",b3="BNavbarNav",_3="BNavbarToggle",y3="BNavForm",w3="BNavItem",O3="BNavItemDropdown",xG="BNavText",S3="BOverlay",Pg="BPagination",Tw="BPaginationNav",Eo="BPopover",x3="BProgress",T3="BProgressBar",E3="BRow",P3="BSidebar",C3="BSkeleton",$3="BSkeletonIcon",A3="BSkeletonImg",M3="BSkeletonTable",k3="BSkeletonWrapper",D3="BSpinner",R3="BTab",nu="BTable",I3="BTableCell",L3="BTableLite",N3="BTableSimple",B3="BTabs",F3="BTbody",j3="BTfoot",z3="BTh",H3="BThead",V3="BTime",La="BToast",kl="BToaster",Po="BTooltip",U3="BTr",TG="BVCollapse",EG="BVFormBtnLabelControl",PG="BVFormRatingStar",CG="BVPopover",$G="BVPopoverTemplate",AG="BVPopper",MG="BVTabButton",kG="BVToastPop",DG="BVTooltip",RG="BVTooltipTemplate",IG="BVTransition",LG="BVTransporter",NG="BVTransporterTarget",BG="activate-tab",G3="blur",FG="cancel",fn="change",jG="changed",ai="click",Ew="close",Ul="context",W3="context-changed",rS="destroyed",Pw="disable",am="disabled",zG="dismissed",HG="dismiss-count-down",Cw="enable",sm="enabled",$w="filtered",Y3="first",VG="focus",rv="focusin",nv="focusout",tf="head-clicked",Nt="hidden",on="hide",UG="img-error",K3="input",q3="last",X3="mouseenter",Z3="mouseleave",J3="next",GG="ok",GE="open",Q3="page-click",WG="paused",eL="prev",YG="refresh",Dd="refreshed",KG="remove",iv="row-clicked",qG="row-contextmenu",XG="row-dblclicked",ZG="row-hovered",JG="row-middle-clicked",QG="row-selected",eW="row-unhovered",tL="selected",br="show",Wr="shown",u_="sliding-end",tW="sliding-start",rW="sort-changed",nW="tag-state",rL="toggle",iW="unpaused",aW="update",nL="hook:beforeDestroy",Mf="hook:destroyed",eo="update:",iL="bv",aL="::",an={passive:!0},Ne={passive:!0,capture:!1},Gl=void 0,Yr=Array,N=Boolean,sW=Date,qr=Function,Dr=Number,Jt=Object,oW=RegExp,R=String,sL=[Yr,qr],uW=[Yr,Jt],ye=[Yr,Jt,R],Lr=[Yr,R],lW=[N,Dr],kf=[N,Dr,R],Nr=[N,R],zo=[sW,R],cW=[qr,R],se=[Dr,R],dW=[Dr,Jt,R],fW=[Jt,qr],oL=[Jt,R],hW="add-button-text",WE="append",pW="aside",YE="badge",KE="bottom-row",Ua="button-content",qE="custom-foot",mW="decrement",nr="default",vW="description",gW="dismiss",bW="drop-placeholder",_W="ellipsis-text",uL="empty",yW="emptyfiltered",XE="file-name",nS="first",wW="first-text",Aw="footer",Vs="header",OW="header-close",SW="icon-clear",xW="icon-empty",TW="icon-full",EW="icon-half",PW="img",CW="increment",$W="invalid-feedback",lL="label",AW="last-text",ZE="lead",MW="loading",kW="modal-backdrop",JE="modal-cancel",DW="modal-footer",RW="modal-header",IW="modal-header-close",QE="modal-ok",l_="modal-title",LW="nav-next-decade",NW="nav-next-month",BW="nav-next-year",FW="nav-prev-decade",jW="nav-prev-month",zW="nav-prev-year",HW="nav-this-month",VW="next-text",UW="overlay",GW="page",WW="placeholder",eP="prepend",YW="prev-text",Jc="row-details",Rd="table-busy",tP="table-caption",rP="table-colgroup",KW="tabs-end",qW="tabs-start",XW="text",ZW="thead-top",nh="title",JW="toast-title",nP="top-row",QW="valid-feedback",iu=function(){return Array.from.apply(Array,arguments)},xe=function(e,r){return e.indexOf(r)!==-1},je=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)},rf=function(e,r){var n=ve(r)?r:function(){return r};return Array.apply(null,{length:e}).map(n)},e7=function(e){return e.reduce(function(r,n){return je(r,n)},[])},Qc=function t(e){return e.reduce(function(r,n){return je(r,Array.isArray(n)?t(n):n)},[])},ie=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Ie=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},c_=function(e,r){return Ie(e).toFixed(ie(r,0))},iS=function(e){return e.replace($U,"-$1").toLowerCase()},cL=function(e){return e=iS(e).replace(BU,function(r,n){return n?n.toUpperCase():""}),e.charAt(0).toUpperCase()+e.slice(1)},om=function(e){return e.replace(NU," ").replace(AU,function(r,n,i){return n+" "+i}).replace(IU,function(r,n,i){return n+i.toUpperCase()})},t7=function(e){return e=Be(e)?e.trim():String(e),e.charAt(0).toLowerCase()+e.slice(1)},dL=function(e){return e=Be(e)?e.trim():String(e),e.charAt(0).toUpperCase()+e.slice(1)},aS=function(e){return e.replace(DU,"\\$&")},_e=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return qe(e)?"":Ge(e)||Ir(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},r7=function(e){return _e(e).replace(LU,"")},As=function(e){return _e(e).trim()},av=function(e){return _e(e).toLowerCase()},um=ZO.prototype,n7=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),i7=um.matches||um.msMatchesSelector||um.webkitMatchesSelector,a7=um.closest||function(t){var e=this;do{if(za(e,t))return e;e=e.parentElement||e.parentNode}while(!ft(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Xe=(Rt.requestAnimationFrame||Rt.webkitRequestAnimationFrame||Rt.mozRequestAnimationFrame||Rt.msRequestAnimationFrame||Rt.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(Rt),s7=Rt.MutationObserver||Rt.WebKitMutationObserver||Rt.MozMutationObserver||null,o7=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},lt=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},Us=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=wc.activeElement;return r&&!e.some(function(n){return n===r})?r:null},ca=function(e,r){return _e(e).toLowerCase()===_e(r).toLowerCase()},sS=function(e){return lt(e)&&e===Us()},yi=function(e){if(!lt(e)||!e.parentNode||!Kt(wc.body,e)||yl(e,"display")==="none")return!1;var r=au(e);return!!(r&&r.height>0&&r.width>0)},$o=function(e){return!lt(e)||e.disabled||ia(e,"disabled")||Df(e,"disabled")},oS=function(e){return lt(e)&&e.offsetHeight},In=function(e,r){return iu((lt(r)?r:wc).querySelectorAll(e))},kn=function(e,r){return(lt(r)?r:wc).querySelector(e)||null},za=function(e,r){return lt(e)?i7.call(e,r):!1},un=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!lt(r))return null;var i=a7.call(r,e);return n?i:i===r?null:i},Kt=function(e,r){return e&&ve(e.contains)?e.contains(r):!1},Mw=function(e){return wc.getElementById(/^#/.test(e)?e.slice(1):e)||null},Vr=function(e,r){r&&lt(e)&&e.classList&&e.classList.add(r)},Cr=function(e,r){r&&lt(e)&&e.classList&&e.classList.remove(r)},Df=function(e,r){return r&&lt(e)&&e.classList?e.classList.contains(r):!1},bt=function(e,r,n){r&&lt(e)&&e.setAttribute(r,n)},na=function(e,r){r&&lt(e)&&e.removeAttribute(r)},Dn=function(e,r){return r&&lt(e)?e.getAttribute(r):null},ia=function(e,r){return r&&lt(e)?e.hasAttribute(r):null},xr=function(e,r,n){r&&lt(e)&&(e.style[r]=n)},Cg=function(e,r){r&&lt(e)&&(e.style[r]="")},yl=function(e,r){return r&&lt(e)&&e.style[r]||null},au=function(e){return lt(e)?e.getBoundingClientRect():null},$n=function(e){var r=Rt.getComputedStyle;return r&&lt(e)?r(e):{}},u7=function(){var e=Rt.getSelection;return e?Rt.getSelection():null},kw=function(e){var r={top:0,left:0};if(!lt(e)||e.getClientRects().length===0)return r;var n=au(e);if(n){var i=e.ownerDocument.defaultView;r.top=n.top+i.pageYOffset,r.left=n.left+i.pageXOffset}return r},l7=function(e){var r={top:0,left:0};if(!lt(e))return r;var n={top:0,left:0},i=$n(e);if(i.position==="fixed")r=au(e)||r;else{r=kw(e);for(var a=e.ownerDocument,s=e.offsetParent||a.documentElement;s&&(s===a.body||s===a.documentElement)&&$n(s).position==="static";)s=s.parentNode;if(s&&s!==e&&s.nodeType===Node.ELEMENT_NODE){n=kw(s);var o=$n(s);n.top+=Ie(o.borderTopWidth,0),n.left+=Ie(o.borderLeftWidth,0)}}return{top:r.top-n.top-Ie(i.marginTop,0),left:r.left-n.left-Ie(i.marginLeft,0)}},Dw=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return In(n7,e).filter(yi).filter(function(r){return r.tabIndex>-1&&!r.disabled})},ke=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch{}return sS(e)},mn=function(e){try{e.blur()}catch{}return!sS(e)},ih=function(e){var r=xs(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)}},c7=V.prototype,Rw=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=c7[fl];return n?n.getConfigValue(e,r):ti(r)},An=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?Rw("".concat(e,".").concat(r),n):Rw(e,{})},fL=function(){return Rw("breakpoints",OU)},d7=ih(function(){return fL()}),f7=function(){return ti(d7())},Rf=ih(function(){var t=f7();return t[0]="",t});function iP(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 Ho(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iP(Object(r),!0).forEach(function(n){hL(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}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}var $g=function(e,r){return e+dL(r)},pL=function(e,r){return t7(r.replace(e,""))},Ms=function(e,r){return r+(e?dL(e):"")},b=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gl,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,Ho(Ho(Ho({},e?{type:e}:{}),a?{required:a}:Bt(r)?{}:{default:Lt(r)?function(){return r}:r}),Bt(i)?{}:{validator:i})},Ag=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(Ge(e))return e.map(r);var n={};for(var i in e)tu(e,i)&&(n[r(i)]=Lt(e[i])?Qs(e[i]):e[i]);return n},pt=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Oe;return(Ge(e)?e.slice():Ee(e)).reduce(function(i,a){return i[n(a)]=r[a],i},{})},mL=function(e,r,n){return Ho(Ho({},ti(e)),{},{default:function(){var a=An(n,r,e.default);return ve(a)?a():a}})},Q=function(e,r){return Ee(e).reduce(function(n,i){return Ho(Ho({},n),{},hL({},i,mL(e[i],i,r)))},{})},h7=mL({},"","").default.name,ua=function(e){return ve(e)&&e.name&&e.name!==h7};function p7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var er=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.type,i=n===void 0?Gl:n,a=r.defaultValue,s=a===void 0?void 0:a,o=r.validator,u=o===void 0?void 0:o,l=r.event,c=l===void 0?K3:l,d=p7({},e,b(i,s,u)),h=V.extend({model:{prop:e,event:c},props:d});return{mixin:h,props:d,prop:e,event:c}},Ga=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e=je(e).filter(Oe),e.some(function(i){return r[i]||n[i]})},_r=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=je(e).filter(Oe);for(var a,s=0;s<e.length&&!a;s++){var o=e[s];a=n[o]||i[o]}return ve(a)?a(r):a},Pe=V.extend({methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nr,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.$scopedSlots,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$slots;return Ga(e,r,n)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nr,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=_r(e,r,n,i);return a&&je(a)}}}),vL=function(e){return yU?Lt(e)?e:{capture:!!e||!1}:!!(Lt(e)?e.capture:e)},ht=function(e,r,n,i){e&&e.addEventListener&&e.addEventListener(r,n,vL(i))},Ot=function(e,r,n,i){e&&e.removeEventListener&&e.removeEventListener(r,n,vL(i))},wi=function(e){for(var r=e?ht:Ot,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)},Me=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()},gL=function(e){return iS(e.replace(xU,""))},Ct=function(e,r){return[iL,gL(e),r].join(aL)},qt=function(e,r){return[iL,r,gL(e)].join(aL)};function m7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var v7=Q({ariaLabel:b(R,"Close"),content:b(R,"&times;"),disabled:b(N,!1),textVariant:b(R)},uI),su=V.extend({name:uI,functional:!0,props:v7,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},l={staticClass:"close",class:m7({},"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&&Qo(d)&&Me(d)}}};return Ga(nr,u,o)||(l.domProps={innerHTML:n.content}),e("button",pe(i,l),_r(nr,{},u,o))}});function aP(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 wl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?aP(Object(r),!0).forEach(function(n){g7(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function g7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bL={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},b7=wl(wl({},bL),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),_7={appear:b(N,!1),mode:b(R),noFade:b(N,!1),transProps:b(Jt)},vu=V.extend({name:IG,functional:!0,props:_7,render:function(e,r){var n=r.children,i=r.data,a=r.props,s=a.transProps;return Ir(s)||(s=a.noFade?bL:b7,a.appear&&(s=wl(wl({},s),{},{appear:!0,appearClass:s.enterClass,appearActiveClass:s.enterActiveClass,appearToClass:s.enterToClass}))),s=wl(wl({mode:a.mode},s),{},{css:!0}),e("transition",pe(i,{props:s}),n)}}),ed;function sP(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 oP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sP(Object(r),!0).forEach(function(n){Id(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Id(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mg=er("show",{type:kf,defaultValue:!1}),y7=Mg.mixin,w7=Mg.props,td=Mg.prop,uP=Mg.event,lP=function(e){return e===""||ei(e)?0:(e=ie(e,0),e>0?e:0)},d_=function(e){return e===""||e===!0?!0:ie(e,0)<1?!1:!!e},O7=Q(ce(oP(oP({},w7),{},{dismissLabel:b(R,"Close"),dismissible:b(N,!1),fade:b(N,!1),variant:b(R,"info")})),Q8),S7=V.extend({name:Q8,mixins:[y7,Pe],props:O7,data:function(){return{countDown:0,localShow:d_(this[td])}},watch:(ed={},Id(ed,td,function(t){this.countDown=lP(t),this.localShow=d_(t)}),Id(ed,"countDown",function(e){var r=this;this.clearCountDownInterval();var n=this[td];ef(n)&&(this.$emit(HG,e),n!==e&&this.$emit(uP,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){r.countDown--},1e3)):this.$nextTick(function(){Xe(function(){r.localShow=!1})}))}),Id(ed,"localShow",function(e){var r=this[td];!e&&(this.dismissible||ef(r))&&this.$emit(zG),!ef(r)&&r!==e&&this.$emit(uP,e)}),ed),created:function(){this.$_filterTimer=null;var e=this[td];this.countDown=lP(e),this.localShow=d_(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(su,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(gW)])),r=e("div",{staticClass:"alert",class:Id({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[ja]},[a,this.normalizeSlot()])}return e(vu,{props:{noFade:!this.fade}},[r])}}),x7=fe({components:{BAlert:S7}}),Na=Math.min,Ve=Math.max,_L=Math.abs,yL=Math.ceil,If=Math.floor,wL=Math.pow,Iw=Math.round;function T7(t,e){return $7(t)||C7(t,e)||P7(t,e)||E7()}function E7(){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 P7(t,e){if(t){if(typeof t=="string")return cP(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 cP(t,e)}}function cP(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 C7(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 $7(t){if(Array.isArray(t))return t}var f_="b-aspect",A7=Q({aspect:b(se,"1:1"),tag:b(R,"div")},eI),OL=V.extend({name:eI,mixins:[Pe],props:A7,computed:{padding:function(){var e=this.aspect,r=1;if(GU.test(e)){var n=e.split(WU).map(function(o){return Ie(o)||1}),i=T7(n,2),a=i[0],s=i[1];r=a/s}else r=Ie(e)||1;return"".concat(100/_L(r),"%")}},render:function(e){var r=e("div",{staticClass:"".concat(f_,"-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),n=e("div",{staticClass:"".concat(f_,"-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},this.normalizeSlot());return e(this.tag,{staticClass:"".concat(f_," d-flex")},[r,n])}}),M7=fe({components:{BAspect:OL}}),SL="a",k7=function(e){return"%"+e.charCodeAt(0).toString(16)},Hu=function(e){return encodeURIComponent(_e(e)).replace(VU,k7).replace(HU,",")},dP=decodeURIComponent,D7=function(e){if(!Ir(e))return"";var r=Ee(e).map(function(n){var i=e[n];return Bt(i)?"":ft(i)?Hu(n):Ge(i)?i.reduce(function(a,s){return ft(s)?a.push(Hu(n)):Bt(s)||a.push(Hu(n)+"="+Hu(s)),a},[]).join("&"):Hu(n)+"="+Hu(i)}).filter(function(n){return n.length>0}).join("&");return r?"?".concat(r):""},fP=function(e){var r={};return e=_e(e).trim().replace(UU,""),e&&e.split("&").forEach(function(n){var i=n.replace(kU," ").split("="),a=dP(i.shift()),s=i.length>0?dP(i.join("=")):null;Bt(r[a])?r[a]=s:Ge(r[a])?r[a].push(s):r[a]=[r[a],s]}),r},ah=function(e){return!!(e.href||e.to)},xL=function(e){return!!(e&&!ca(e,"a"))},R7=function(e,r){var n=e.to,i=e.disabled,a=e.routerComponentName,s=!!r.$router;return!s||s&&(i||!n)?SL:a||(r.$nuxt?"nuxt-link":"router-link")},I7=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&ft(n)?"noopener":n||null},TL=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]:SL,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(xL(i))return null;if(Be(n))return n||s;if(Ir(n)&&(n.path||n.query||n.hash)){var o=_e(n.path),u=D7(n.query),l=_e(n.hash);return l=!l||l.charAt(0)==="#"?l:"#".concat(l),"".concat(o).concat(u).concat(l)||s}return a};function hP(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var L7={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},N7={width:null,height:null,focusable:null,role:null,"aria-label":null},uS={animation:b(R),content:b(R),flipH:b(N,!1),flipV:b(N,!1),fontScale:b(se,1),rotate:b(se,0),scale:b(se,1),shiftH:b(se,0),shiftV:b(se,0),stacked:b(N,!1),title:b(R),variant:b(R)},B7=V.extend({name:OG,functional:!0,props:uS,render:function(e,r){var n,i=r.data,a=r.props,s=r.children,o=a.animation,u=a.content,l=a.flipH,c=a.flipV,d=a.stacked,h=a.title,p=a.variant,g=Ve(Ie(a.fontScale,1),0)||1,_=Ve(Ie(a.scale,1),0)||1,O=Ie(a.rotate,0),S=Ie(a.shiftH,0),E=Ie(a.shiftV,0),x=l||c||_!==1,f=x||O,m=S||E,v=!qe(u),T=[f?"translate(8 8)":null,x?"scale(".concat((l?-1:1)*_," ").concat((c?-1:1)*_,")"):null,O?"rotate(".concat(O,")"):null,f?"translate(-8 -8)":null].filter(Oe),P=e("g",{attrs:{transform:T.join(" ")||null},domProps:v?{innerHTML:u||""}:{}},s);m&&(P=e("g",{attrs:{transform:"translate(".concat(16*S/16," ").concat(-16*E/16,")")}},[P])),d&&(P=e("g",[P]));var k=h?e("title",h):null,y=[k,P].filter(Oe);return e("svg",pe({staticClass:"b-icon bi",class:(n={},hP(n,"text-".concat(p),p),hP(n,"b-icon-animation-".concat(o),o),n),attrs:L7,style:d?{}:{fontSize:g===1?null:"".concat(g*100,"%")}},i,d?{attrs:N7}:{},{attrs:{xmlns:d?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),y)}});function pP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function mP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pP(Object(r),!0).forEach(function(n){F7(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function F7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var j7=De(uS,["content"]),tr=function(e,r){var n=iS(e),i="BIcon".concat(cL(e)),a="bi-".concat(n),s=n.replace(/-/g," "),o=As(r||"");return V.extend({name:i,functional:!0,props:j7,render:function(l,c){var d=c.data,h=c.props;return l(B7,pe({props:{title:s},attrs:{"aria-label":s}},d,{staticClass:a,props:mP(mP({},h),{},{content:o})}))}})},vP=tr("Blank",""),z7=tr("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"/>'),H7=tr("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"/>'),nPe=tr("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"/>'),gP=tr("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"/>'),bP=tr("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"/>'),V7=tr("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"/>'),_P=tr("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"/>'),yP=tr("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"/>'),Lw=tr("CircleFill",'<circle cx="8" cy="8" r="8"/>'),U7=tr("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"/>'),G7=tr("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"/>'),W7=tr("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"/>'),Y7=tr("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"/>'),K7=tr("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"/>'),iPe=tr("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"/>'),aPe=tr("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"/>'),q7=tr("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"/>'),X7=tr("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"/>'),Z7=tr("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"/>'),EL=tr("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 wP(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 OP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wP(Object(r),!0).forEach(function(n){J7(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function J7(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Q7=function t(e,r){if(!e)return V.component(r);var n=(e.$options||{}).components,i=n&&n[r];return i||t(e.$parent,r)},PL=De(uS,["content"]),eY=Q(ce(OP(OP({},PL),{},{icon:b(R)})),t3),sv=V.extend({name:t3,functional:!0,props:eY,render:function(e,r){var n=r.data,i=r.props,a=r.parent,s=cL(As(i.icon||"")).replace(KU,"");return e(s&&Q7(a,"BIcon".concat(s))||vP,pe(n,{props:pt(PL,i)}))}}),tY=8,CL=46,Kr=40,Gs=35,qa=13,lS=27,Ws=36,Oi=37,ov=34,uv=33,Wa=39,da=32,ln=38,rY=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,i=0;n&&i<e.length;i++)n=He(e[i],r[i]);return n},He=function t(e,r){if(e===r)return!0;var n=Vl(e),i=Vl(r);if(n||i)return n&&i?e.getTime()===r.getTime():!1;if(n=Ge(e),i=Ge(r),n||i)return n&&i?rY(e,r):!1;if(n=Lt(e),i=Lt(r),n||i){if(!n||!i)return!1;var a=Ee(e).length,s=Ee(r).length;if(a!==s)return!1;for(var o in e){var u=tu(e,o),l=tu(r,o);if(u&&!l||!u&&l||!t(e[o],r[o]))return!1}}return String(e)===String(r)};function SP(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xP=function(e){return!e||Ee(e).length===0},nY=function(e){return{handler:function(n,i){if(!He(n,i)){if(xP(n)||xP(i)){this[e]=ti(n);return}for(var a in i)tu(n,a)||this.$delete(this.$data[e],a);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},$L=function(e,r){return V.extend({data:function(){return SP({},r,ti(this[e]))},watch:SP({},e,nY(r))})},or=$L("$attrs","bvAttrs"),bn="$_rootListeners",Pi=V.extend({created:function(){this[bn]={}},beforeDestroy:function(){var e=this;Ee(this[bn]||{}).forEach(function(r){e[bn][r].forEach(function(n){e.listenOffRoot(r,n)})}),this[bn]=null},methods:{registerRootListener:function(e,r){this[bn]&&(this[bn][e]=this[bn][e]||[],xe(this[bn][e],r)||this[bn][e].push(r))},unregisterRootListener:function(e,r){this[bn]&&this[bn][e]&&(this[bn][e]=this[bn][e].filter(function(n){return n!==r}))},listenOnRoot:function(e,r){this.$root&&(this.$root.$on(e,r),this.registerRootListener(e,r))},listenOnRootOnce:function(e,r){var n=this;if(this.$root){var i=function a(){n.unregisterRootListener(a),r.apply(void 0,arguments)};this.$root.$once(e,i),this.registerRootListener(e,i)}},listenOffRoot:function(e,r){this.unregisterRootListener(e,r),this.$root&&this.$root.$off(e,r)},emitOnRoot:function(e){if(this.$root){for(var r,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(r=this.$root).$emit.apply(r,[e].concat(i))}}}}),Xa=$L("$listeners","bvListeners");function iY(t){return uY(t)||oY(t)||sY(t)||aY()}function aY(){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 sY(t,e){if(t){if(typeof t=="string")return Nw(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 Nw(t,e)}}function oY(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function uY(t){if(Array.isArray(t))return Nw(t)}function Nw(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 TP(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 jr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?TP(Object(r),!0).forEach(function(n){AL(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}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}var lY=Ct(tS,"clicked"),ML={activeClass:b(R),append:b(N,!1),event:b(Lr),exact:b(N,!1),exactActiveClass:b(R),exactPath:b(N,!1),exactPathActiveClass:b(R),replace:b(N,!1),routerTag:b(R),to:b(oL)},kL={noPrefetch:b(N,!1),prefetch:b(N,null)},Ci=Q(ce(jr(jr(jr({},kL),ML),{},{active:b(N,!1),disabled:b(N,!1),href:b(R),rel:b(R,null),routerComponentName:b(R),target:b(R,"_self")})),tS),hn=V.extend({name:tS,mixins:[or,Xa,Pi,Pe],inheritAttrs:!1,props:Ci,computed:{computedTag:function(){var e=this.to,r=this.disabled,n=this.routerComponentName;return R7({to:e,disabled:r,routerComponentName:n},this)},isRouterLink:function(){return xL(this.computedTag)},computedRel:function(){var e=this.target,r=this.rel;return I7({target:e,rel:r})},computedHref:function(){var e=this.to,r=this.href;return TL({to:e,href:r},this.computedTag)},computedProps:function(){var e=this.event,r=this.prefetch,n=this.routerTag;return this.isRouterLink?jr(jr(jr(jr({},pt(De(jr(jr({},ML),kL),["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 jr(jr(jr(jr({},e),r?{href:r}:{}),o&&s&&!ca(s,"a")?{}:{rel:n,target:a}),{},{tabindex:i?"-1":Bt(e.tabindex)?null:e.tabindex,"aria-disabled":i?"true":null})},computedListeners:function(){return jr(jr({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var r=arguments,n=Qo(e),i=this.isRouterLink,a=this.bvListeners.click;n&&this.disabled?Me(e,{immediatePropagation:!0}):(i&&e.currentTarget.__vue__&&e.currentTarget.__vue__.$emit(ai,e),je(a).filter(function(s){return ve(s)}).forEach(function(s){s.apply(void 0,iY(r))}),this.emitOnRoot(lY,e),this.emitOnRoot("clicked::link",e)),n&&!i&&this.computedHref==="#"&&Me(e,{propagation:!1})},focus:function(){ke(this.$el)},blur:function(){mn(this.$el)}},render:function(e){var r=this.active,n=this.disabled;return e(this.computedTag,AL({class:{active:r,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function EP(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 PP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?EP(Object(r),!0).forEach(function(n){wo(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):EP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wo(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kg=De(Ci,["event","routerTag"]);delete kg.href.default;delete kg.to.default;var DL=Q(ce(PP(PP({},kg),{},{block:b(N,!1),disabled:b(N,!1),pill:b(N,!1),pressed:b(N,null),size:b(R),squared:b(N,!1),tag:b(R,"button"),type:b(R,"button"),variant:b(R,"secondary")})),oI),CP=function(e){e.type==="focusin"?Vr(e.target,"focus"):e.type==="focusout"&&Cr(e.target,"focus")},sh=function(e){return ah(e)||ca(e.tag,"a")},RL=function(e){return ei(e.pressed)},IL=function(e){return!(sh(e)||e.tag&&!ca(e.tag,"button"))},LL=function(e){return!sh(e)&&!IL(e)},cY=function(e){var r;return["btn-".concat(e.variant||"secondary"),(r={},wo(r,"btn-".concat(e.size),e.size),wo(r,"btn-block",e.block),wo(r,"rounded-pill",e.pill),wo(r,"rounded-0",e.squared&&!e.pill),wo(r,"disabled",e.disabled),wo(r,"active",e.pressed),r)]},dY=function(e){return sh(e)?pt(kg,e):{}},fY=function(e,r){var n=IL(e),i=sh(e),a=RL(e),s=LL(e),o=i&&e.href==="#",u=r.attrs&&r.attrs.role?r.attrs.role:null,l=r.attrs?r.attrs.tabindex:null;return(s||o)&&(l="0"),{type:n&&!i?e.type:null,disabled:n?e.disabled:null,role:s||o?"button":u,"aria-disabled":s?String(e.disabled):null,"aria-pressed":a?String(e.pressed):null,autocomplete:a?"off":null,tabindex:e.disabled&&!n?"-1":l}},cn=V.extend({name:oI,functional:!0,props:DL,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children,o=RL(n),u=sh(n),l=LL(n),c=u&&n.href==="#",d={keydown:function(g){if(!(n.disabled||!(l||c))){var _=g.keyCode;if(_===da||_===qa&&l){var O=g.currentTarget||g.target;Me(g,{propagation:!1}),O.click()}}},click:function(g){n.disabled&&Qo(g)?Me(g):o&&a&&a["update:pressed"]&&je(a["update:pressed"]).forEach(function(_){ve(_)&&_(!n.pressed)})}};o&&(d.focusin=CP,d.focusout=CP);var h={staticClass:"btn",class:cY(n),props:dY(n),attrs:fY(n,i),on:d};return e(u?hn:n.tag,pe(i,h),s)}});function $P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function lv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$P(Object(r),!0).forEach(function(n){Oo(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$P(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Oo(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-avatar",h_=["sm",null,"lg"],NL=.4,hY=NL*.7,BL=function(e){return e=Be(e)&&ef(e)?Ie(e,0):e,gi(e)?"".concat(e,"px"):e||null},FL=De(Ci,["active","event","routerTag"]),pY=Q(ce(lv(lv({},FL),{},{alt:b(R,"avatar"),ariaLabel:b(R),badge:b(Nr,!1),badgeLeft:b(N,!1),badgeOffset:b(R),badgeTop:b(N,!1),badgeVariant:b(R,"primary"),button:b(N,!1),buttonType:b(R,"button"),icon:b(R),rounded:b(Nr,!1),size:b(se),square:b(N,!1),src:b(R),text:b(R),variant:b(R,"secondary")})),tI),mY=V.extend({name:tI,mixins:[Pe],inject:{bvAvatarGroup:{default:null}},props:pY,data:function(){return{localSrc:this.src||null}},computed:{computedSize:function(){var e=this.bvAvatarGroup;return BL(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=h_.indexOf(e)===-1?"calc(".concat(e," * ").concat(NL,")"):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:h_.indexOf(e)===-1?"calc(".concat(e," * ").concat(hY," )"):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(UG,e)},onClick:function(e){this.$emit(ai,e)}},render:function(e){var r,n=this.computedVariant,i=this.disabled,a=this.computedRounded,s=this.icon,o=this.localSrc,u=this.text,l=this.fontStyle,c=this.marginStyle,d=this.computedSize,h=this.button,p=this.buttonType,g=this.badge,_=this.badgeVariant,O=this.badgeStyle,S=!h&&ah(this),E=h?cn:S?hn:"span",x=this.alt,f=this.ariaLabel||null,m=null;this.hasNormalizedSlot()?m=e("span",{staticClass:"b-avatar-custom"},[this.normalizeSlot()]):o?(m=e("img",{style:n?{}:{width:"100%",height:"100%"},attrs:{src:o,alt:x},on:{error:this.onImgError}}),m=e("span",{staticClass:"b-avatar-img"},[m])):s?m=e(sv,{props:{icon:s},attrs:{"aria-hidden":"true",alt:x}}):u?m=e("span",{staticClass:"b-avatar-text",style:l},[e("span",u)]):m=e(Y7,{attrs:{"aria-hidden":"true",alt:x}});var v=e(),T=this.hasNormalizedSlot(YE);if(g||g===""||T){var P=g===!0?"":g;v=e("span",{staticClass:"b-avatar-badge",class:Oo({},"badge-".concat(_),_),style:O},[T?this.normalizeSlot(YE):P])}var k={staticClass:AP,class:(r={},Oo(r,"".concat(AP,"-").concat(d),d&&h_.indexOf(d)!==-1),Oo(r,"badge-".concat(n),!h&&n),Oo(r,"rounded",a===!0),Oo(r,"rounded-".concat(a),a&&a!==!0),Oo(r,"disabled",i),r),style:lv(lv({},c),{},{width:d,height:d}),attrs:{"aria-label":f||null},props:h?{variant:n,disabled:i,type:p}:S?pt(FL,this):{},on:h||S?{click:this.onClick}:{}};return e(E,k,[m,v])}}),vY=Q({overlap:b(se,.3),rounded:b(Nr,!1),size:b(R),square:b(N,!1),tag:b(R,"div"),variant:b(R)},rI),gY=V.extend({name:rI,mixins:[Pe],provide:function(){return{bvAvatarGroup:this}},props:vY,computed:{computedSize:function(){return BL(this.size)},overlapScale:function(){return Na(Ve(Ie(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])}}),bY=fe({components:{BAvatar:mY,BAvatarGroup:gY}});function MP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function kP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MP(Object(r),!0).forEach(function(n){_Y(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _Y(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Dg=De(Ci,["event","routerTag"]);delete Dg.href.default;delete Dg.to.default;var yY=Q(ce(kP(kP({},Dg),{},{pill:b(N,!1),tag:b(R,"span"),variant:b(R,"secondary")})),nI),jL=V.extend({name:nI,functional:!0,props:yY,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=n.disabled,u=ah(n),l=u?hn:n.tag,c=n.variant||"secondary";return e(l,pe(i,{staticClass:"badge",class:["badge-".concat(c),{"badge-pill":n.pill,active:s,disabled:o}],props:u?pt(Dg,n):{}}),a)}}),wY=fe({components:{BBadge:jL}}),DP=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(CU,"")},St=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};function RP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function IP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RP(Object(r),!0).forEach(function(n){OY(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function OY(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=Q(ce(IP(IP({},De(Ci,["event","routerTag"])),{},{ariaCurrent:b(R,"location"),html:b(R),text:b(R)})),sI),zL=V.extend({name:sI,functional:!0,props:Bw,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=s?"span":hn,u={attrs:{"aria-current":s?n.ariaCurrent:null},props:pt(Bw,n)};return a||(u.domProps=St(n.html,n.text)),e(o,pe(i,u),a)}}),SY=Q(Bw,aI),HL=V.extend({name:aI,functional:!0,props:SY,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("li",pe(i,{staticClass:"breadcrumb-item",class:{active:n.active}}),[e(zL,{props:n},a)])}});function LP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function NP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?LP(Object(r),!0).forEach(function(n){xY(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xY(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=Q({items:b(Yr)},iI),EY=V.extend({name:iI,functional:!0,props:TY,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.items,o=a;if(Ge(s)){var u=!1;o=s.map(function(l,c){Lt(l)||(l={text:_e(l)});var d=l,h=d.active;return h&&(u=!0),!h&&!u&&(h=c+1===s.length),e(HL,{props:NP(NP({},l),{},{active:h})})})}return e("ol",pe(i,{staticClass:"breadcrumb"}),o)}}),PY=fe({components:{BBreadcrumb:EY,BBreadcrumbItem:HL,BBreadcrumbLink:zL}}),CY=fe({components:{BButton:cn,BBtn:cn,BButtonClose:su,BBtnClose:su}});function BP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function FP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?BP(Object(r),!0).forEach(function(n){VL(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):BP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function VL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $Y=Q(ce(FP(FP({},Ei(DL,["size"])),{},{ariaRole:b(R,"group"),size:b(R),tag:b(R,"div"),vertical:b(N,!1)})),lI),jP=V.extend({name:lI,functional:!0,props:$Y,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,pe(i,{class:VL({"btn-group":!n.vertical,"btn-group-vertical":n.vertical},"btn-group-".concat(n.size),n.size),attrs:{role:n.ariaRole}}),a)}}),AY=fe({components:{BButtonGroup:jP,BBtnGroup:jP}}),MY=[".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(","),kY=Q({justify:b(N,!1),keyNav:b(N,!1)},cI),zP=V.extend({name:cI,mixins:[Pe],props:kY,mounted:function(){this.keyNav&&this.getItems()},methods:{getItems:function(){var e=In(MY,this.$el);return e.forEach(function(r){r.tabIndex=-1}),e.filter(function(r){return yi(r)})},focusFirst:function(){var e=this.getItems();ke(e[0])},focusPrev:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(0,n).reverse(),ke(r[0]))},focusNext:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(n+1),ke(r[0]))},focusLast:function(){var e=this.getItems().reverse();ke(e[0])},onFocusin:function(e){var r=this.$el;e.target===r&&!Kt(r,e.relatedTarget)&&(Me(e),this.focusFirst(e))},onKeydown:function(e){var r=e.keyCode,n=e.shiftKey;r===ln||r===Oi?(Me(e),n?this.focusFirst(e):this.focusPrev(e)):(r===Kr||r===Wa)&&(Me(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()])}}),DY=fe({components:{BButtonToolbar:zP,BBtnToolbar:zP}}),ps="gregory",nf="long",RY="narrow",Fw="short",HP="2-digit",cv="numeric";function IY(t,e){return FY(t)||BY(t,e)||NY(t,e)||LY()}function LY(){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 NY(t,e){if(t){if(typeof t=="string")return VP(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 VP(t,e)}}function VP(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 BY(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 FY(t){if(Array.isArray(t))return t}function lm(t,e,r){return jY()?lm=Reflect.construct:lm=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),l=new u;return s&&jw(l,s.prototype),l},lm.apply(null,arguments)}function jY(){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 jw(t,e){return jw=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jw(t,e)}var hr=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return lm(Date,r)},Yt=function(e){if(Be(e)&&FU.test(e.trim())){var r=e.split(jU).map(function(o){return ie(o,1)}),n=IY(r,3),i=n[0],a=n[1],s=n[2];return hr(i,a-1,s)}else if(Vl(e))return hr(e.getFullYear(),e.getMonth(),e.getDate());return null},dt=function(e){if(e=Yt(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)},zY=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ps;e=je(e).filter(Oe);var n=new Intl.DateTimeFormat(e,{calendar:r});return n.resolvedOptions().locale},Ld=function(e,r){var n=new Intl.DateTimeFormat(e,r);return n.format},tp=function(e,r){return dt(e)===dt(r)},p_=function(e){return e=hr(e),e.setDate(1),e},m_=function(e){return e=hr(e),e.setMonth(e.getMonth()+1),e.setDate(0),e},Rg=function(e,r){e=hr(e);var n=e.getMonth();return e.setFullYear(e.getFullYear()+r),e.getMonth()!==n&&e.setDate(0),e},v_=function(e){e=hr(e);var r=e.getMonth();return e.setMonth(r-1),e.getMonth()===r&&e.setDate(0),e},g_=function(e){e=hr(e);var r=e.getMonth();return e.setMonth(r+1),e.getMonth()===(r+2)%12&&e.setDate(0),e},b_=function(e){return Rg(e,-1)},__=function(e){return Rg(e,1)},y_=function(e){return Rg(e,-10)},w_=function(e){return Rg(e,10)},dv=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=Yt(e),r=Yt(r)||e,n=Yt(n)||e,e?e<r?r:e>n?n:e:null},UP=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map(function(t){return t.toLowerCase()}),Ig=function(e){var r=_e(e).toLowerCase().replace(qU,"").split("-"),n=r.slice(0,2).join("-"),i=r[0];return xe(UP,n)||xe(UP,i)},et={id:b(R)},it=V.extend({props:et,data:function(){return{localId_:null}},computed:{safeId:function(){var e=this.id||this.localId_,r=function(i){return e?(i=String(i||"").replace(/\s+/g,"_"),i?e+"_"+i:e):null};return r}},mounted:function(){var e=this;this.$nextTick(function(){e.localId_="__BVID__".concat(e[ja])})}}),Vu;function GP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ki(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?GP(Object(r),!0).forEach(function(n){Wn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lg=er("value",{type:zo}),HY=Lg.mixin,VY=Lg.props,O_=Lg.prop,UY=Lg.event,UL=Q(ce(Ki(Ki(Ki({},et),VY),{},{ariaControls:b(R),block:b(N,!1),dateDisabledFn:b(qr),dateFormatOptions:b(Jt,{year:cv,month:nf,day:cv,weekday:nf}),dateInfoFn:b(qr),direction:b(R),disabled:b(N,!1),headerTag:b(R,"header"),hidden:b(N,!1),hideHeader:b(N,!1),initialDate:b(zo),labelCalendar:b(R,"Calendar"),labelCurrentMonth:b(R,"Current month"),labelHelp:b(R,"Use cursor keys to navigate calendar dates"),labelNav:b(R,"Calendar navigation"),labelNextDecade:b(R,"Next decade"),labelNextMonth:b(R,"Next month"),labelNextYear:b(R,"Next year"),labelNoDateSelected:b(R,"No date selected"),labelPrevDecade:b(R,"Previous decade"),labelPrevMonth:b(R,"Previous month"),labelPrevYear:b(R,"Previous year"),labelSelected:b(R,"Selected date"),labelToday:b(R,"Today"),locale:b(Lr),max:b(zo),min:b(zo),navButtonVariant:b(R,"secondary"),noHighlightToday:b(N,!1),noKeyNav:b(N,!1),readonly:b(N,!1),roleDescription:b(R),selectedVariant:b(R,"primary"),showDecadeNav:b(N,!1),startWeekday:b(se,0),todayVariant:b(R),valueAsDate:b(N,!1),weekdayHeaderFormat:b(R,Fw,function(t){return xe([nf,Fw,RY],t)}),width:b(R,"270px")})),dI),GL=V.extend({name:dI,mixins:[or,it,HY,Pe],props:UL,data:function(){var e=dt(this[O_])||"";return{selectedYMD:e,activeYMD:e||dt(dv(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 Yt(this.selectedYMD)},activeDate:function(){return Yt(this.activeYMD)},computedMin:function(){return Yt(this.min)},computedMax:function(){return Yt(this.max)},computedWeekStarts:function(){return Ve(ie(this.startWeekday,0),0)%7},computedLocale:function(){return zY(je(this.locale).filter(Oe),ps)},computedDateDisabledFn:function(){var e=this.dateDisabledFn;return ua(e)?e:function(){return!1}},computedDateInfoFn:function(){var e=this.dateInfoFn;return ua(e)?e:function(){return{}}},calendarLocale:function(){var e=new Intl.DateTimeFormat(this.computedLocale,{calendar:ps}),r=e.resolvedOptions().calendar,n=e.resolvedOptions().locale;return r!==ps&&(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 hr(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var e=hr(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:Ig(this.computedLocale)},context:function(){var e=this.selectedYMD,r=this.activeYMD,n=Yt(e),i=Yt(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=Yt(n),e&&n<e||r&&n>r}},dateDisabled:function(){var e=this,r=this.dateOutOfRange;return function(n){n=Yt(n);var i=dt(n);return!!(r(n)||e.computedDateDisabledFn(i,n))}},formatDateString:function(){return Ld(this.calendarLocale,Ki(Ki({year:cv,month:HP,day:HP},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:ps}))},formatYearMonth:function(){return Ld(this.calendarLocale,{year:cv,month:nf,calendar:ps})},formatWeekdayName:function(){return Ld(this.calendarLocale,{weekday:nf,calendar:ps})},formatWeekdayNameShort:function(){return Ld(this.calendarLocale,{weekday:this.weekdayHeaderFormat||Fw,calendar:ps})},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&&m_(y_(this.activeDate))<e},prevYearDisabled:function(){var e=this.computedMin;return this.disabled||e&&m_(b_(this.activeDate))<e},prevMonthDisabled:function(){var e=this.computedMin;return this.disabled||e&&m_(v_(this.activeDate))<e},thisMonthDisabled:function(){return this.disabled},nextMonthDisabled:function(){var e=this.computedMax;return this.disabled||e&&p_(g_(this.activeDate))>e},nextYearDisabled:function(){var e=this.computedMax;return this.disabled||e&&p_(__(this.activeDate))>e},nextDecadeDisabled:function(){var e=this.computedMax;return this.disabled||e&&p_(w_(this.activeDate))>e},calendar:function(){for(var e=[],r=this.calendarFirstDay,n=r.getFullYear(),i=r.getMonth(),a=this.calendarDaysInMonth,s=r.getDay(),o=(this.computedWeekStarts>s?7:0)-this.computedWeekStarts,u=0-o-s,l=0;l<6&&u<a;l++){e[l]=[];for(var c=0;c<7;c++){u++;var d=hr(n,i,u),h=d.getMonth(),p=dt(d),g=this.dateDisabled(d),_=this.computedDateInfoFn(p,Yt(p));_=Be(_)||Ge(_)?{class:_}:Ir(_)?Ki({class:""},_):{class:""},e[l].push({ymd:p,day:this.formatDay(d),label:this.formatDateString(d),isThisMonth:h===i,isDisabled:g,info:_})}}return e},calendarHeadings:function(){var e=this;return this.calendar[0].map(function(r){return{text:e.formatWeekdayNameShort(Yt(r.ymd)),label:e.formatWeekdayName(Yt(r.ymd))}})}},watch:(Vu={},Wn(Vu,O_,function(t,e){var r=dt(t)||"",n=dt(e)||"";tp(r,n)||(this.activeYMD=r||this.activeYMD,this.selectedYMD=r)}),Wn(Vu,"selectedYMD",function(e,r){e!==r&&this.$emit(UY,this.valueAsDate?Yt(e)||null:e||"")}),Wn(Vu,"context",function(e,r){He(e,r)||this.$emit(Ul,e)}),Wn(Vu,"hidden",function(e){this.activeYMD=this.selectedYMD||dt(this[O_]||this.constrainDate(this.initialDate||this.getToday())),this.setLive(!e)}),Vu),created:function(){var e=this;this.$nextTick(function(){e.$emit(Ul,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||ke(this.$refs.grid)},blur:function(){this.disabled||mn(this.$refs.grid)},setLive:function(e){var r=this;e?this.$nextTick(function(){Xe(function(){r.isLive=!0})}):this.isLive=!1},getToday:function(){return Yt(hr())},constrainDate:function(e){return dv(e,this.computedMin,this.computedMax)},emitSelected:function(e){var r=this;this.$nextTick(function(){r.$emit(tL,dt(e)||"",Yt(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(xe([uv,ov,Gs,Ws,Oi,ln,Wa,Kr],i)){Me(e);var a=hr(this.activeDate),s=hr(this.activeDate),o=a.getDate(),u=this.constrainDate(this.getToday()),l=this.isRTL;i===uv?(a=(r?n?y_:b_:v_)(a),s=hr(a),s.setDate(1)):i===ov?(a=(r?n?w_:__:g_)(a),s=hr(a),s.setMonth(s.getMonth()+1),s.setDate(0)):i===Oi?(a.setDate(o+(l?1:-1)),a=this.constrainDate(a),s=a):i===Wa?(a.setDate(o+(l?-1:1)),a=this.constrainDate(a),s=a):i===ln?(a.setDate(o-7),a=this.constrainDate(a),s=a):i===Kr?(a.setDate(o+7),a=this.constrainDate(a),s=a):i===Ws?(a=u,s=a):i===Gs&&(a=Yt(this.selectedDate)||u,s=a),!this.dateOutOfRange(s)&&!tp(a,this.activeDate)&&(this.activeYMD=dt(a)),this.focus()}}},onKeydownGrid:function(e){var r=e.keyCode,n=this.activeDate;(r===qa||r===da)&&(Me(e),!this.disabled&&!this.readonly&&!this.dateDisabled(n)&&(this.selectedYMD=dt(n),this.emitSelected(n)),this.focus())},onClickDay:function(e){var r=this.selectedDate,n=this.activeDate,i=Yt(e.ymd);!this.disabled&&!e.isDisabled&&!this.dateDisabled(i)&&(this.readonly||(this.selectedYMD=dt(tp(i,r)?r:i),this.emitSelected(i)),this.activeYMD=dt(tp(i,n)?n:hr(i)),this.focus())},gotoPrevDecade:function(){this.activeYMD=dt(this.constrainDate(y_(this.activeDate)))},gotoPrevYear:function(){this.activeYMD=dt(this.constrainDate(b_(this.activeDate)))},gotoPrevMonth:function(){this.activeYMD=dt(this.constrainDate(v_(this.activeDate)))},gotoCurrentMonth:function(){this.activeYMD=dt(this.constrainDate(this.getToday()))},gotoNextMonth:function(){this.activeYMD=dt(this.constrainDate(g_(this.activeDate)))},gotoNextYear:function(){this.activeYMD=dt(this.constrainDate(__(this.activeDate)))},gotoNextDecade:function(){this.activeYMD=dt(this.constrainDate(w_(this.activeDate)))},onHeaderClick:function(){this.disabled||(this.activeYMD=this.selectedYMD||dt(this.getToday()),this.focus())}},render:function(e){var r=this;if(this.hidden)return e();var n=this.valueId,i=this.widgetId,a=this.navId,s=this.gridId,o=this.gridCaptionId,u=this.gridHelpId,l=this.activeId,c=this.disabled,d=this.noKeyNav,h=this.isLive,p=this.isRTL,g=this.activeYMD,_=this.selectedYMD,O=this.safeId,S=!this.showDecadeNav,E=dt(this.getToday()),x=!this.noHighlightToday,f=e("output",{staticClass:"form-control form-control-sm text-center",class:{"text-muted":c,readonly:this.readonly||c},attrs:{id:n,for:s,role:"status",tabindex:c?null:"-1","data-selected":_e(_),"aria-live":h?"polite":"off","aria-atomic":h?"true":null},on:{click:this.onHeaderClick,focus:this.onHeaderClick}},this.selectedDate?[e("bdi",{staticClass:"sr-only"}," (".concat(_e(this.labelSelected),") ")),e("bdi",this.formatDateString(this.selectedDate))]:this.labelNoDateSelected||" ");f=e(this.headerTag,{staticClass:"b-calendar-header",class:{"sr-only":this.hideHeader},attrs:{title:this.selectedDate&&this.labelSelectedDate||null}},[f]);var m={isRTL:p},v={shiftV:.5},T=Ki(Ki({},v),{},{flipH:p}),P=Ki(Ki({},v),{},{flipH:!p}),k=this.normalizeSlot(FW,m)||e(gP,{props:T}),y=this.normalizeSlot(zW,m)||e(bP,{props:T}),M=this.normalizeSlot(jW,m)||e(_P,{props:T}),C=this.normalizeSlot(HW,m)||e(Lw,{props:v}),w=this.normalizeSlot(NW,m)||e(_P,{props:P}),$=this.normalizeSlot(BW,m)||e(bP,{props:P}),D=this.normalizeSlot(LW,m)||e(gP,{props:P}),A=function(U,K,ae,be,$e){return e("button",{staticClass:"btn btn-sm border-0 flex-fill",class:[r.computedNavButtonVariant,{disabled:be}],attrs:{title:K||null,type:"button",tabindex:d?"-1":null,"aria-label":K||null,"aria-disabled":be?"true":null,"aria-keyshortcuts":$e||null},on:be?{}:{click:ae}},[e("div",{attrs:{"aria-hidden":"true"}},[U])])},L=e("div",{staticClass:"b-calendar-nav d-flex",attrs:{id:a,role:"group",tabindex:d?"-1":null,"aria-hidden":c?"true":null,"aria-label":this.labelNav||null,"aria-controls":s}},[S?e():A(k,this.labelPrevDecade,this.gotoPrevDecade,this.prevDecadeDisabled,"Ctrl+Alt+PageDown"),A(y,this.labelPrevYear,this.gotoPrevYear,this.prevYearDisabled,"Alt+PageDown"),A(M,this.labelPrevMonth,this.gotoPrevMonth,this.prevMonthDisabled,"PageDown"),A(C,this.labelCurrentMonth,this.gotoCurrentMonth,this.thisMonthDisabled,"Home"),A(w,this.labelNextMonth,this.gotoNextMonth,this.nextMonthDisabled,"PageUp"),A($,this.labelNextYear,this.gotoNextYear,this.nextYearDisabled,"Alt+PageUp"),S?e():A(D,this.labelNextDecade,this.gotoNextDecade,this.nextDecadeDisabled,"Ctrl+Alt+PageUp")]),F=e("div",{staticClass:"b-calendar-grid-caption text-center font-weight-bold",class:{"text-muted":c},attrs:{id:o,"aria-live":h?"polite":null,"aria-atomic":h?"true":null},key:"grid-caption"},this.formatYearMonth(this.calendarFirstDay)),j=e("div",{staticClass:"b-calendar-grid-weekdays row no-gutters border-bottom",attrs:{"aria-hidden":"true"}},this.calendarHeadings.map(function(W,U){return e("small",{staticClass:"col text-truncate",class:{"text-muted":c},attrs:{title:W.label===W.text?null:W.label,"aria-label":W.label},key:U},W.text)})),H=this.calendar.map(function(W){var U=W.map(function(K,ae){var be,$e=K.ymd===_,Se=K.ymd===g,wt=K.ymd===E,Vt=O("_cell-".concat(K.ymd,"_")),Qa=e("span",{staticClass:"btn border-0 rounded-circle text-nowrap",class:(be={focus:Se&&r.gridHasFocus,disabled:K.isDisabled||c,active:$e},Wn(be,r.computedVariant,$e),Wn(be,r.computedTodayVariant,wt&&x&&!$e&&K.isThisMonth),Wn(be,"btn-outline-light",!(wt&&x)&&!$e&&!Se),Wn(be,"btn-light",!(wt&&x)&&!$e&&Se),Wn(be,"text-muted",!K.isThisMonth&&!$e),Wn(be,"text-dark",!(wt&&x)&&!$e&&!Se&&K.isThisMonth),Wn(be,"font-weight-bold",($e||K.isThisMonth)&&!K.isDisabled),be),on:{click:function(){return r.onClickDay(K)}}},K.day);return e("div",{staticClass:"col p-0",class:K.isDisabled?"bg-light":K.info.class||"",attrs:{id:Vt,role:"button","data-date":K.ymd,"aria-hidden":K.isThisMonth?null:"true","aria-disabled":K.isDisabled||c?"true":null,"aria-label":[K.label,$e?"(".concat(r.labelSelected,")"):null,wt?"(".concat(r.labelToday,")"):null].filter(Oe).join(" "),"aria-selected":$e?"true":null,"aria-current":$e?"date":null},key:ae},[Qa])});return e("div",{staticClass:"row no-gutters",key:W[0].ymd},U)});H=e("div",{staticClass:"b-calendar-grid-body",style:c?{pointerEvents:"none"}:{}},H);var G=e("div",{staticClass:"b-calendar-grid-help border-top small text-muted text-center bg-light",attrs:{id:u}},[e("div",{staticClass:"small"},this.labelHelp)]),Z=e("div",{staticClass:"b-calendar-grid form-control h-auto text-center",attrs:{id:s,role:"application",tabindex:d?"-1":c?null:"0","data-month":g.slice(0,-3),"aria-roledescription":this.labelCalendar||null,"aria-labelledby":o,"aria-describedby":u,"aria-disabled":c?"true":null,"aria-activedescendant":l},on:{keydown:this.onKeydownGrid,focus:this.setGridFocusFlag,blur:this.setGridFocusFlag},ref:"grid"},[F,j,H,G]),te=this.normalizeSlot();te=te?e("footer",{staticClass:"b-calendar-footer"},te):e();var Y=e("div",{staticClass:"b-calendar-inner",style:this.block?{}:{width:this.width},attrs:{id:i,dir:p?"rtl":"ltr",lang:this.computedLocale||null,role:"group","aria-disabled":c?"true":null,"aria-controls":this.ariaControls||null,"aria-roledescription":this.roleDescription||null,"aria-describedby":[this.bvAttrs["aria-describedby"],n,u].filter(Oe).join(" ")},on:{keydown:this.onKeydownWrapper}},[f,L,Z,te]);return e("div",{staticClass:"b-calendar",class:{"d-block":this.block}},[Y])}}),GY=fe({components:{BCalendar:GL}}),oh=Q({bgVariant:b(R),borderVariant:b(R),tag:b(R,"div"),textVariant:b(R)},QO);V.extend({props:oh});var cS=Q({title:b(R),titleTag:b(R,"h4")},yI),WL=V.extend({name:yI,functional:!0,props:cS,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.titleTag,pe(i,{staticClass:"card-title"}),a||_e(n.title))}}),dS=Q({subTitle:b(R),subTitleTag:b(R,"h6"),subTitleTextVariant:b(R,"muted")},bI),YL=V.extend({name:bI,functional:!0,props:dS,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.subTitleTag,pe(i,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),a||_e(n.subTitle))}});function WP(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 rp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?WP(Object(r),!0).forEach(function(n){cm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function cm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fS=Q(ce(rp(rp(rp(rp({},cS),dS),Ag(oh,$g.bind(null,"body"))),{},{bodyClass:b(ye),overlay:b(N,!1)})),fI),KL=V.extend({name:fI,functional:!0,props:fS,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.bodyBgVariant,u=i.bodyBorderVariant,l=i.bodyTextVariant,c=e();i.title&&(c=e(WL,{props:pt(cS,i)}));var d=e();return i.subTitle&&(d=e(YL,{props:pt(dS,i),class:["mb-2"]})),e(i.bodyTag,pe(a,{staticClass:"card-body",class:[(n={"card-img-overlay":i.overlay},cm(n,"bg-".concat(o),o),cm(n,"border-".concat(u),u),cm(n,"text-".concat(l),l),n),i.bodyClass]}),[c,d,s])}});function YP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function KP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?YP(Object(r),!0).forEach(function(n){dm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hS=Q(ce(KP(KP({},Ag(oh,$g.bind(null,"header"))),{},{header:b(R),headerClass:b(ye),headerHtml:b(R)})),mI),qL=V.extend({name:mI,functional:!0,props:hS,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.headerBgVariant,u=i.headerBorderVariant,l=i.headerTextVariant;return e(i.headerTag,pe(a,{staticClass:"card-header",class:[i.headerClass,(n={},dm(n,"bg-".concat(o),o),dm(n,"border-".concat(u),u),dm(n,"text-".concat(l),l),n)],domProps:s?{}:St(i.headerHtml,i.header)}),s)}});function qP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function XP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qP(Object(r),!0).forEach(function(n){fm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pS=Q(ce(XP(XP({},Ag(oh,$g.bind(null,"footer"))),{},{footer:b(R),footerClass:b(ye),footerHtml:b(R)})),hI),XL=V.extend({name:hI,functional:!0,props:pS,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.footerBgVariant,u=i.footerBorderVariant,l=i.footerTextVariant;return e(i.footerTag,pe(a,{staticClass:"card-footer",class:[i.footerClass,(n={},fm(n,"bg-".concat(o),o),fm(n,"border-".concat(u),u),fm(n,"text-".concat(l),l),n)],domProps:s?{}:St(i.footerHtml,i.footer)}),s)}});function S_(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var WY='<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>',YY=function(e,r,n){var i=encodeURIComponent(WY.replace("%{w}",_e(e)).replace("%{h}",_e(r)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(i)},Ng=Q({alt:b(R),blank:b(N,!1),blankColor:b(R,"transparent"),block:b(N,!1),center:b(N,!1),fluid:b(N,!1),fluidGrow:b(N,!1),height:b(se),left:b(N,!1),right:b(N,!1),rounded:b(Nr,!1),sizes:b(Lr),src:b(R),srcset:b(Lr),thumbnail:b(N,!1),width:b(se)},r3),mS=V.extend({name:r3,functional:!0,props:Ng,render:function(e,r){var n,i=r.props,a=r.data,s=i.alt,o=i.src,u=i.block,l=i.fluidGrow,c=i.rounded,d=ie(i.width)||null,h=ie(i.height)||null,p=null,g=je(i.srcset).filter(Oe).join(","),_=je(i.sizes).filter(Oe).join(",");return i.blank&&(!h&&d?h=d:!d&&h&&(d=h),!d&&!h&&(d=1,h=1),o=YY(d,h,i.blankColor||"transparent"),g=null,_=null),i.left?p="float-left":i.right?p="float-right":i.center&&(p="mx-auto",u=!0),e("img",pe(a,{attrs:{src:o,alt:s,width:d?_e(d):null,height:h?_e(h):null,srcset:g||null,sizes:_||null},class:(n={"img-thumbnail":i.thumbnail,"img-fluid":i.fluid||l,"w-100":l,rounded:c===""||c===!0},S_(n,"rounded-".concat(c),Be(c)&&c!==""),S_(n,p,p),S_(n,"d-block",u),n)}))}});function ZP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function JP(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZP(Object(r),!0).forEach(function(n){KY(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function KY(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=Q(ce(JP(JP({},Ei(Ng,["src","alt","width","height","left","right"])),{},{bottom:b(N,!1),end:b(N,!1),start:b(N,!1),top:b(N,!1)})),vI),ZL=V.extend({name:vI,functional:!0,props:vS,render:function(e,r){var n=r.props,i=r.data,a=n.src,s=n.alt,o=n.width,u=n.height,l="card-img";return n.top?l+="-top":n.right||n.end?l+="-right":n.bottom?l+="-bottom":(n.left||n.start)&&(l+="-left"),e("img",pe(i,{class:l,attrs:{src:a,alt:s,width:o,height:u}}))}});function QP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Uu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?QP(Object(r),!0).forEach(function(n){Nd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):QP(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Nd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gS=Ag(vS,$g.bind(null,"img"));gS.imgSrc.required=!1;var qY=Q(ce(Uu(Uu(Uu(Uu(Uu(Uu({},fS),hS),pS),gS),oh),{},{align:b(R),noBody:b(N,!1)})),QO),XY=V.extend({name:QO,functional:!0,props:qY,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.imgSrc,l=i.imgLeft,c=i.imgRight,d=i.imgStart,h=i.imgEnd,p=i.imgBottom,g=i.header,_=i.headerHtml,O=i.footer,S=i.footerHtml,E=i.align,x=i.textVariant,f=i.bgVariant,m=i.borderVariant,v=o||{},T=s(),P={},k=e(),y=e();if(u){var M=e(ZL,{props:pt(gS,i,pL.bind(null,"img"))});p?y=M:k=M}var C=e(),w=Ga(Vs,v,T);(w||g||_)&&(C=e(qL,{props:pt(hS,i),domProps:w?{}:St(_,g)},_r(Vs,P,v,T)));var $=_r(nr,P,v,T);i.noBody||($=e(KL,{props:pt(fS,i)},$),i.overlay&&u&&($=e("div",{staticClass:"position-relative"},[k,$,y]),k=e(),y=e()));var D=e(),A=Ga(Aw,v,T);return(A||O||S)&&(D=e(XL,{props:pt(pS,i),domProps:w?{}:St(S,O)},_r(Aw,P,v,T))),e(i.tag,pe(a,{staticClass:"card",class:(n={"flex-row":l||d,"flex-row-reverse":(c||h)&&!(l||d)},Nd(n,"text-".concat(E),E),Nd(n,"bg-".concat(f),f),Nd(n,"border-".concat(m),m),Nd(n,"text-".concat(x),x),n)}),[k,C,$,D,y])}});function ZY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eC(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 JY(t,e,r){return e&&eC(t.prototype,e),r&&eC(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Wl="__bv__visibility_observer",QY=function(){function t(e,r,n){ZY(this,t),this.el=e,this.callback=r.callback,this.margin=r.margin||0,this.once=r.once||!1,this.observer=null,this.visible=void 0,this.doneOnce=!1,this.createObserver(n)}return JY(t,[{key:"createObserver",value:function(r){var n=this;if(this.observer&&this.stop(),!(this.doneOnce||!ve(this.callback))){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch{this.doneOnce=!0,this.observer=void 0,this.callback(null);return}r.context.$nextTick(function(){Xe(function(){n.observer&&n.observer.observe(n.el)})})}}},{key:"handler",value:function(r){var n=r?r[0]:{},i=!!(n.isIntersecting||n.intersectionRatio>0);i!==this.visible&&(this.visible=i,this.callback(i),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),t}(),JL=function(e){var r=e[Wl];r&&r.stop&&r.stop(),delete e[Wl]},QL=function(e,r,n){var i=r.value,a=r.modifiers,s={margin:"0px",once:!1,callback:i};Ee(a).forEach(function(o){G8.test(o)?s.margin="".concat(o,"px"):o.toLowerCase()==="once"&&(s.once=!0)}),JL(e),e[Wl]=new QY(e,s,n),e[Wl]._prevModifiers=Qs(a)},e9=function(e,r,n){var i=r.value,a=r.oldValue,s=r.modifiers;s=Qs(s),e&&(i!==a||!e[Wl]||!He(s,e[Wl]._prevModifiers))&&QL(e,{value:i,modifiers:s},n)},t9=function(e){JL(e)},bS={bind:QL,componentUpdated:e9,unbind:t9},np;function tC(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 fv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?tC(Object(r),!0).forEach(function(n){Ol(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ol(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var af="show",r9=eo+af,eN=De(Ng,["blank"]),tN=Q(fv(fv({},eN),{},Ol({blankHeight:b(se),blankSrc:b(R,null),blankWidth:b(se),offset:b(se,360)},af,b(N,!1))),n3),rN=V.extend({name:n3,directives:{"b-visible":bS},props:tN,data:function(){return{isShown:this[af]}},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=je(this.srcset).filter(Oe).join(",");return e&&(!this.blankSrc||this.isShown)?e:null},computedSizes:function(){var e=je(this.sizes).filter(Oe).join(",");return e&&(!this.blankSrc||this.isShown)?e:null}},watch:(np={},Ol(np,af,function(t,e){if(t!==e){var r=DE?t:!0;this.isShown=r,t!==r&&this.$nextTick(this.updateShowProp)}}),Ol(np,"isShown",function(e,r){e!==r&&this.updateShowProp()}),np),mounted:function(){this.isShown=DE?this[af]:!0},methods:{updateShowProp:function(){this.$emit(r9,this.isShown)},doShow:function(e){var r=this;(e||e===null)&&!this.isShown&&Xe(function(){r.isShown=!0})}},render:function(e){var r=[];if(!this.isShown){var n;r.push({name:"b-visible",value:this.doShow,modifiers:(n={},Ol(n,"".concat(ie(this.offset,0)),!0),Ol(n,"once",!0),n)})}return e(mS,{directives:r,props:fv(fv({},pt(eN,this.$props)),{},{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset,sizes:this.computedSizes})})}});function rC(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?rC(Object(r),!0).forEach(function(n){n9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function n9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i9=Q(ce(nC(nC({},De(tN,Ee(Ng))),De(vS,["src","alt","width","height"]))),gI),a9=V.extend({name:gI,functional:!0,props:i9,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(rN,pe(i,{class:[a],props:De(n,["left","right"])}))}}),s9=Q({textTag:b(R,"p")},_I),o9=V.extend({name:_I,functional:!0,props:s9,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.textTag,pe(i,{staticClass:"card-text"}),a)}}),u9=Q({columns:b(N,!1),deck:b(N,!1),tag:b(R,"div")},pI),l9=V.extend({name:pI,functional:!0,props:u9,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,pe(i,{class:n.deck?"card-deck":n.columns?"card-columns":"card-group"}),a)}}),c9=fe({components:{BCard:XY,BCardHeader:qL,BCardBody:KL,BCardTitle:WL,BCardSubTitle:YL,BCardFooter:XL,BCardImg:ZL,BCardImgLazy:a9,BCardText:o9,BCardGroup:l9}}),Lf=function(){};function iC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function d9(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iC(Object(r),!0).forEach(function(n){f9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function f9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nf=function(e,r,n){if(e=e?e.$el||e:null,!lt(e)||cG("observeDom"))return null;var i=new s7(function(a){for(var s=!1,o=0;o<a.length&&!s;o++){var u=a[o],l=u.type,c=u.target;(l==="characterData"&&c.nodeType===Node.TEXT_NODE||l==="attributes"||l==="childList"&&(u.addedNodes.length>0||u.removedNodes.length>0))&&(s=!0)}s&&r()});return i.observe(e,d9({childList:!0,subtree:!0},n)),i},Gu;function aC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function x_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?aC(Object(r),!0).forEach(function(n){Bd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Bd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bg=er("value",{type:Dr,defaultValue:0}),h9=Bg.mixin,p9=Bg.props,T_=Bg.prop,sC=Bg.event,E_={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},m9=600+50,v9=500,g9=40,oC={TOUCH:"touch",PEN:"pen"},uC={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},b9=function(e){for(var r in uC)if(!Bt(e.style[r]))return uC[r];return null},_9=Q(ce(x_(x_(x_({},et),p9),{},{background:b(R),controls:b(N,!1),fade:b(N,!1),imgHeight:b(se),imgWidth:b(se),indicators:b(N,!1),interval:b(Dr,5e3),labelGotoSlide:b(R,"Goto slide"),labelIndicators:b(R,"Select a slide to display"),labelNext:b(R,"Next slide"),labelPrev:b(R,"Previous slide"),noAnimation:b(N,!1),noHoverPause:b(N,!1),noTouch:b(N,!1),noWrap:b(N,!1)})),wI),y9=V.extend({name:wI,mixins:[it,h9,Pe],provide:function(){return{bvCarousel:this}},props:_9,data:function(){return{index:this[T_]||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(ie(this.interval,0)>0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(Gu={},Bd(Gu,T_,function(t,e){t!==e&&this.setSlide(ie(t,0))}),Bd(Gu,"interval",function(e,r){e!==r&&(e?(this.pause(!0),this.start(!1)):this.pause(!1))}),Bd(Gu,"isPaused",function(e,r){e!==r&&this.$emit(e?WG:iW)}),Bd(Gu,"index",function(e,r){e===r||this.isSliding||this.doSlide(e,r)}),Gu),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(ie(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=b9(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=Nf(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!(nt&&document.visibilityState&&document.hidden)){var i=this.noWrap,a=this.numSlides;if(e=If(e),a!==0){if(this.isSliding){this.$once(u_,function(){Xe(function(){return r.setSlide(e,n)})});return}this.direction=n,this.index=e>=a?i?a-1:0:e<0?i?0:a-1:e,i&&this.index!==e&&this.index!==this[T_]&&this.$emit(sC,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,Ve(1e3,this.interval)))},restart:function(){this.$el.contains(Us())||this.start()},doSlide:function(e,r){var n=this,i=!!this.interval,a=this.calcDirection(this.direction,r,e),s=a.overlayClass,o=a.dirClass,u=this.slides[r],l=this.slides[e];if(!(!u||!l)){if(this.isSliding=!0,i&&this.pause(!1),this.$emit(tW,e),this.$emit(sC,this.index),this.noAnimation)Vr(l,"active"),Cr(u,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit(u_,e)});else{Vr(l,s),oS(l),Vr(u,o),Vr(l,o);var c=!1,d=function p(){if(!c){if(c=!0,n.transitionEndEvent){var g=n.transitionEndEvent.split(/\s+/);g.forEach(function(_){return Ot(l,_,p,Ne)})}n.clearAnimationTimeout(),Cr(l,o),Cr(l,s),Vr(l,"active"),Cr(u,"active"),Cr(u,o),Cr(u,s),bt(u,"aria-current","false"),bt(l,"aria-current","true"),bt(u,"aria-hidden","true"),bt(l,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit(u_,e)})}};if(this.transitionEndEvent){var h=this.transitionEndEvent.split(/\s+/);h.forEach(function(p){return ht(l,p,d,Ne)})}this.$_animationTimeout=setTimeout(d,m9)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=In(".carousel-item",this.$refs.inner);var e=this.slides.length,r=Ve(0,Na(If(this.index),e-1));this.slides.forEach(function(n,i){var a=i+1;i===r?(Vr(n,"active"),bt(n,"aria-current","true")):(Cr(n,"active"),bt(n,"aria-current","false")),bt(n,"aria-posinset",String(a)),bt(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?E_[e]:n>r?E_.next:E_.prev},handleClick:function(e,r){var n=e.keyCode;(e.type==="click"||n===da||n===qa)&&(Me(e),r())},handleSwipe:function(){var e=_L(this.touchDeltaX);if(!(e<=g9)){var r=e/this.touchDeltaX;this.touchDeltaX=0,r>0?this.prev():r<0&&this.next()}},touchStart:function(e){Zc&&oC[e.pointerType.toUpperCase()]?this.touchStartX=e.clientX:Zc||(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){Zc&&oC[e.pointerType.toUpperCase()]&&(this.touchDeltaX=e.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,v9+Ve(1e3,this.interval))}},render:function(e){var r=this,n=this.indicators,i=this.background,a=this.noAnimation,s=this.noHoverPause,o=this.noTouch,u=this.index,l=this.isSliding,c=this.pause,d=this.restart,h=this.touchStart,p=this.touchEnd,g=this.safeId("__BV_inner_"),_=e("div",{staticClass:"carousel-inner",attrs:{id:g,role:"list"},ref:"inner"},[this.normalizeSlot()]),O=e();if(this.controls){var S=function(m,v,T){var P=function(y){l?Me(y,{propagation:!1}):r.handleClick(y,T)};return e("a",{staticClass:"carousel-control-".concat(m),attrs:{href:"#",role:"button","aria-controls":g,"aria-disabled":l?"true":null},on:{click:P,keydown:P}},[e("span",{staticClass:"carousel-control-".concat(m,"-icon"),attrs:{"aria-hidden":"true"}}),e("span",{class:"sr-only"},[v])])};O=[S("prev",this.labelPrev,this.prev),S("next",this.labelNext,this.next)]}var E=e("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":g}},this.slides.map(function(f,m){var v=function(P){r.handleClick(P,function(){r.setSlide(m)})};return e("li",{class:{active:m===u},attrs:{role:"button",id:r.safeId("__BV_indicator_".concat(m+1,"_")),tabindex:n?"0":"-1","aria-current":m===u?"true":"false","aria-label":"".concat(r.labelGotoSlide," ").concat(m+1),"aria-describedby":f.id||null,"aria-controls":g},on:{click:v,keydown:v},key:"slide_".concat(m)})})),x={mouseenter:s?Lf:c,mouseleave:s?Lf:d,focusin:c,focusout:d,keydown:function(m){if(!/input|textarea/i.test(m.target.tagName)){var v=m.keyCode;(v===Oi||v===Wa)&&(Me(m),r[v===Oi?"prev":"next"]())}}};return Jm&&!o&&(Zc?(x["&pointerdown"]=h,x["&pointerup"]=p):(x["&touchstart"]=h,x["&touchmove"]=this.touchMove,x["&touchend"]=p)),e("div",{staticClass:"carousel",class:{slide:!a,"carousel-fade":!a&&this.fade,"pointer-event":Jm&&Zc&&!o},style:{background:i},attrs:{role:"region",id:this.safeId(),"aria-busy":l?"true":"false"},on:x},[_,O,E])}});function lC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function sf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lC(Object(r),!0).forEach(function(n){w9(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function w9(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nN={imgAlt:b(R),imgBlank:b(N,!1),imgBlankColor:b(R,"transparent"),imgHeight:b(se),imgSrc:b(R),imgWidth:b(se)},O9=Q(ce(sf(sf(sf({},et),nN),{},{background:b(R),caption:b(R),captionHtml:b(R),captionTag:b(R,"h3"),contentTag:b(R,"div"),contentVisibleUp:b(R),text:b(R),textHtml:b(R),textTag:b(R,"p")})),OI),S9=V.extend({name:OI,mixins:[it,Pe],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:O9,computed:{contentClasses:function(){return[this.contentVisibleUp?"d-none":"",this.contentVisibleUp?"d-".concat(this.contentVisibleUp,"-block"):""]},computedWidth:function(){return this.imgWidth||this.bvCarousel.imgWidth||null},computedHeight:function(){return this.imgHeight||this.bvCarousel.imgHeight||null}},render:function(e){var r=this.normalizeSlot(PW);if(!r&&(this.imgSrc||this.imgBlank)){var n={};!this.bvCarousel.noTouch&&Jm&&(n.dragstart=function(s){return Me(s,{propagation:!1})}),r=e(mS,{props:sf(sf({},pt(nN,this.$props,pL.bind(null,"img"))),{},{width:this.computedWidth,height:this.computedHeight,fluidGrow:!0,block:!0}),on:n})}var i=[this.caption||this.captionHtml?e(this.captionTag,{domProps:St(this.captionHtml,this.caption)}):!1,this.text||this.textHtml?e(this.textTag,{domProps:St(this.textHtml,this.text)}):!1,this.normalizeSlot()||!1],a=e();return i.some(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])}}),x9=fe({components:{BCarousel:y9,BCarouselSlide:S9}}),P_="show",T9=function(e){xr(e,"height",0),Xe(function(){oS(e),xr(e,"height","".concat(e.scrollHeight,"px"))})},E9=function(e){Cg(e,"height")},P9=function(e){xr(e,"height","auto"),xr(e,"display","block"),xr(e,"height","".concat(au(e).height,"px")),oS(e),xr(e,"height",0)},C9=function(e){Cg(e,"height")},$9={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},A9={enter:T9,afterEnter:E9,leave:P9,afterLeave:C9},M9={appear:b(N,!1)},k9=V.extend({name:TG,functional:!0,props:M9,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("transition",pe(i,{props:$9,on:A9},{props:n}),a)}}),ip;function cC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function C_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cC(Object(r),!0).forEach(function(n){zw(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function 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 D9=qt(Er,"toggle"),R9=qt(Er,"request-state"),dC=Ct(Er,"accordion"),I9=Ct(Er,"state"),L9=Ct(Er,"sync-state"),Fg=er("visible",{type:N,defaultValue:!1}),N9=Fg.mixin,B9=Fg.props,ap=Fg.prop,F9=Fg.event,j9=Q(ce(C_(C_(C_({},et),B9),{},{accordion:b(R),appear:b(N,!1),isNav:b(N,!1),tag:b(R,"div")})),Er),z9=V.extend({name:Er,mixins:[it,N9,Pe,Pi],props:j9,data:function(){return{show:this[ap],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:(ip={},zw(ip,ap,function(t){t!==this.show&&(this.show=t)}),zw(ip,"show",function(e,r){e!==r&&this.emitState()}),ip),created:function(){this.show=this[ap]},mounted:function(){var e=this;this.show=this[ap],this.listenOnRoot(D9,this.handleToggleEvent),this.listenOnRoot(dC,this.handleAccordionEvent),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(function(){e.emitState()}),this.listenOnRoot(R9,function(r){r===e.safeId()&&e.$nextTick(e.emitSync)})},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&nt&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(e){wi(e,window,"resize",this.handleResize,Ne),wi(e,window,"orientationchange",this.handleResize,Ne)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit(br)},onAfterEnter:function(){this.transitioning=!1,this.$emit(Wr)},onLeave:function(){this.transitioning=!0,this.$emit(on)},onAfterLeave:function(){this.transitioning=!1,this.$emit(Nt)},emitState:function(){var e=this.show,r=this.accordion,n=this.safeId();this.$emit(F9,e),this.emitOnRoot(I9,n,e),r&&e&&this.emitOnRoot(dC,n,r)},emitSync:function(){this.emitOnRoot(L9,this.safeId(),this.show)},checkDisplayBlock:function(){var e=this.$el,r=Df(e,P_);Cr(e,P_);var n=$n(e).display==="block";return r&&Vr(e,P_),n},clickHandler:function(e){var r=e.target;!this.isNav||!r||$n(this.$el).display!=="block"||(za(r,".nav-link,.dropdown-item")||un(".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=$n(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(nr,this.slotScope));return e(k9,{props:{appear:r},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[n])}}),Hw="collapsed",Vw="not-collapsed",jg="__BV_toggle",of="".concat(jg,"_HANDLER__"),hv="".concat(jg,"_CLICK__"),pv="".concat(jg,"_STATE__"),Yl="".concat(jg,"_TARGETS__"),H9="false",V9="true",Uw="aria-controls",Gw="aria-expanded",Ww="role",fC="tabindex",Yw="overflow-anchor",U9=qt(Er,"toggle"),iN=Ct(Er,"state"),aN=Ct(Er,"sync-state"),G9=qt(Er,"request-state"),W9=[qa,da],sN=function(e){return!xe(["button","a"],e.tagName.toLowerCase())},Y9=function(e,r){var n=e.modifiers,i=e.arg,a=e.value,s=Ee(n||{});if(a=Be(a)?a.split(nm):a,ca(r.tagName,"a")){var o=Dn(r,"href")||"";PU.test(o)&&s.push(o.replace(EU,""))}return je(i,a).forEach(function(u){return Be(u)&&s.push(u)}),s.filter(function(u,l,c){return u&&c.indexOf(u)===l})},oN=function(e){var r=e[hv];r&&(Ot(e,"click",r,an),Ot(e,"keydown",r,an)),e[hv]=null},K9=function(e,r){if(oN(e),r.context){var n=function(a){if(!(a.type==="keydown"&&!xe(W9,a.keyCode))&&!$o(e)){var s=e[Yl]||[];s.forEach(function(o){r.context.$root.$emit(U9,o)})}};e[hv]=n,ht(e,"click",n,an),sN(e)&&ht(e,"keydown",n,an)}},uN=function(e,r){e[of]&&r.context&&r.context.$root.$off([iN,aN],e[of]),e[of]=null},q9=function(e,r){if(uN(e,r),r.context){var n=function(a,s){xe(e[Yl]||[],a)&&(e[pv]=s,lN(e,s))};e[of]=n,r.context.$root.$on([iN,aN],n)}},lN=function(e,r){r?(Cr(e,Hw),Vr(e,Vw),bt(e,Gw,V9)):(Cr(e,Vw),Vr(e,Hw),bt(e,Gw,H9))},sp=function(e,r){e[r]=null,delete e[r]},$_=function(e,r,n){if(!(!nt||!n.context)){sN(e)&&(ia(e,Ww)||bt(e,Ww,"button"),ia(e,fC)||bt(e,fC,"0")),lN(e,e[pv]);var i=Y9(r,e);i.length>0?(bt(e,Uw,i.join(" ")),xr(e,Yw,"none")):(na(e,Uw),Cg(e,Yw)),Xe(function(){K9(e,n)}),He(i,e[Yl])||(e[Yl]=i,i.forEach(function(a){n.context.$root.$emit(G9,a)}))}},cN={bind:function(e,r,n){e[pv]=!1,e[Yl]=[],q9(e,n),$_(e,r,n)},componentUpdated:$_,updated:$_,unbind:function(e,r,n){oN(e),uN(e,n),sp(e,of),sp(e,hv),sp(e,pv),sp(e,Yl),Cr(e,Hw),Cr(e,Vw),na(e,Gw),na(e,Uw),na(e,Ww),Cg(e,Yw)}},_S=fe({directives:{VBToggle:cN}}),dN=fe({components:{BCollapse:z9},plugins:{VBTogglePlugin:_S}});/**!
 * @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 uh=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",X9=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(uh&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();function Z9(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function J9(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},X9))}}var Q9=uh&&window.Promise,eK=Q9?Z9:J9;function fN(t){var e={};return t&&e.toString.call(t)==="[object Function]"}function gu(t,e){if(t.nodeType!==1)return[];var r=t.ownerDocument.defaultView,n=r.getComputedStyle(t,null);return e?n[e]:n}function yS(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function lh(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=gu(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:lh(yS(t))}function hN(t){return t&&t.referenceNode?t.referenceNode:t}var hC=uh&&!!(window.MSInputMethodContext&&document.documentMode),pC=uh&&/MSIE 10/.test(navigator.userAgent);function Oc(t){return t===11?hC:t===10?pC:hC||pC}function Kl(t){if(!t)return document.documentElement;for(var e=Oc(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&&gu(r,"position")==="static"?Kl(r):r}function tK(t){var e=t.nodeName;return e==="BODY"?!1:e==="HTML"||Kl(t.firstElementChild)===t}function Kw(t){return t.parentNode!==null?Kw(t.parentNode):t}function mv(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 tK(s)?s:Kl(s);var o=Kw(t);return o.host?mv(o.host,e):mv(t,Kw(e).host)}function ql(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=e==="top"?"scrollTop":"scrollLeft",n=t.nodeName;if(n==="BODY"||n==="HTML"){var i=t.ownerDocument.documentElement,a=t.ownerDocument.scrollingElement||i;return a[r]}return t[r]}function rK(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=ql(e,"top"),i=ql(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 mC(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 vC(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],Oc(10)?parseInt(r["offset"+t])+parseInt(n["margin"+(t==="Height"?"Top":"Left")])+parseInt(n["margin"+(t==="Height"?"Bottom":"Right")]):0)}function pN(t){var e=t.body,r=t.documentElement,n=Oc(10)&&getComputedStyle(r);return{height:vC("Height",e,r,n),width:vC("Width",e,r,n)}}var nK=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},iK=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}}(),Xl=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},ri=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 Ys(t){return ri({},t,{right:t.left+t.width,bottom:t.top+t.height})}function qw(t){var e={};try{if(Oc(10)){e=t.getBoundingClientRect();var r=ql(t,"top"),n=ql(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"?pN(t.ownerDocument):{},s=a.width||t.clientWidth||i.width,o=a.height||t.clientHeight||i.height,u=t.offsetWidth-s,l=t.offsetHeight-o;if(u||l){var c=gu(t);u-=mC(c,"x"),l-=mC(c,"y"),i.width-=u,i.height-=l}return Ys(i)}function wS(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Oc(10),i=e.nodeName==="HTML",a=qw(t),s=qw(e),o=lh(t),u=gu(e),l=parseFloat(u.borderTopWidth),c=parseFloat(u.borderLeftWidth);r&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=Ys({top:a.top-s.top-l,left:a.left-s.left-c,width:a.width,height:a.height});if(d.marginTop=0,d.marginLeft=0,!n&&i){var h=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);d.top-=l-h,d.bottom-=l-h,d.left-=c-p,d.right-=c-p,d.marginTop=h,d.marginLeft=p}return(n&&!r?e.contains(o):e===o&&o.nodeName!=="BODY")&&(d=rK(d,e)),d}function aK(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.ownerDocument.documentElement,n=wS(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:ql(r),o=e?0:ql(r,"left"),u={top:s-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:i,height:a};return Ys(u)}function mN(t){var e=t.nodeName;if(e==="BODY"||e==="HTML")return!1;if(gu(t,"position")==="fixed")return!0;var r=yS(t);return r?mN(r):!1}function vN(t){if(!t||!t.parentElement||Oc())return document.documentElement;for(var e=t.parentElement;e&&gu(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function OS(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},s=i?vN(t):mv(t,hN(e));if(n==="viewport")a=aK(s,i);else{var o=void 0;n==="scrollParent"?(o=lh(yS(e)),o.nodeName==="BODY"&&(o=t.ownerDocument.documentElement)):n==="window"?o=t.ownerDocument.documentElement:o=n;var u=wS(o,s,i);if(o.nodeName==="HTML"&&!mN(s)){var l=pN(t.ownerDocument),c=l.height,d=l.width;a.top+=u.top-u.marginTop,a.bottom=c+u.top,a.left+=u.left-u.marginLeft,a.right=d+u.left}else a=u}r=r||0;var h=typeof r=="number";return a.left+=h?r:r.left||0,a.top+=h?r:r.top||0,a.right-=h?r:r.right||0,a.bottom-=h?r:r.bottom||0,a}function sK(t){var e=t.width,r=t.height;return e*r}function gN(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=OS(r,n,a,i),o={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},u=Object.keys(o).map(function(h){return ri({key:h},o[h],{area:sK(o[h])})}).sort(function(h,p){return p.area-h.area}),l=u.filter(function(h){var p=h.width,g=h.height;return p>=r.clientWidth&&g>=r.clientHeight}),c=l.length>0?l[0].key:u[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function bN(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?vN(e):mv(e,hN(r));return wS(r,i,n)}function _N(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 vv(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 yN(t,e,r){r=r.split("-")[0];var n=_N(t),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,s=a?"top":"left",o=a?"left":"top",u=a?"height":"width",l=a?"width":"height";return i[s]=e[s]+e[u]/2-n[u]/2,r===o?i[o]=e[o]-n[l]:i[o]=e[vv(o)],i}function ch(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function oK(t,e,r){if(Array.prototype.findIndex)return t.findIndex(function(i){return i[e]===r});var n=ch(t,function(i){return i[e]===r});return t.indexOf(n)}function wN(t,e,r){var n=r===void 0?t:t.slice(0,oK(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&&fN(a)&&(e.offsets.popper=Ys(e.offsets.popper),e.offsets.reference=Ys(e.offsets.reference),e=a(e,i))}),e}function uK(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=bN(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=gN(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=yN(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=wN(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function ON(t,e){return t.some(function(r){var n=r.name,i=r.enabled;return i&&n===e})}function SS(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 lK(){return this.state.isDestroyed=!0,ON(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[SS("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function SN(t){var e=t.ownerDocument;return e?e.defaultView:window}function xN(t,e,r,n){var i=t.nodeName==="BODY",a=i?t.ownerDocument.defaultView:t;a.addEventListener(e,r,{passive:!0}),i||xN(lh(a.parentNode),e,r,n),n.push(a)}function cK(t,e,r,n){r.updateBound=n,SN(t).addEventListener("resize",r.updateBound,{passive:!0});var i=lh(t);return xN(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function dK(){this.state.eventsEnabled||(this.state=cK(this.reference,this.options,this.state,this.scheduleUpdate))}function fK(t,e){return SN(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 hK(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=fK(this.reference,this.state))}function xS(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(t)}function Xw(t,e){Object.keys(e).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&xS(e[r])&&(n="px"),t.style[r]=e[r]+n})}function pK(t,e){Object.keys(e).forEach(function(r){var n=e[r];n!==!1?t.setAttribute(r,e[r]):t.removeAttribute(r)})}function mK(t){return Xw(t.instance.popper,t.styles),pK(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&Xw(t.arrowElement,t.arrowStyles),t}function vK(t,e,r,n,i){var a=bN(i,e,t,r.positionFixed),s=gN(r.placement,a,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),Xw(e,{position:r.positionFixed?"fixed":"absolute"}),r}function gK(t,e){var r=t.offsets,n=r.popper,i=r.reference,a=Math.round,s=Math.floor,o=function(S){return S},u=a(i.width),l=a(n.width),c=["left","right"].indexOf(t.placement)!==-1,d=t.placement.indexOf("-")!==-1,h=u%2===l%2,p=u%2===1&&l%2===1,g=e?c||d||h?a:s:o,_=e?a:o;return{left:g(p&&!d&&e?n.left-1:n.left),top:_(n.top),bottom:_(n.bottom),right:g(n.right)}}var bK=uh&&/Firefox/i.test(navigator.userAgent);function _K(t,e){var r=e.x,n=e.y,i=t.offsets.popper,a=ch(t.instance.modifiers,function(x){return x.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=a!==void 0?a:e.gpuAcceleration,o=Kl(t.instance.popper),u=qw(o),l={position:i.position},c=gK(t,window.devicePixelRatio<2||!bK),d=r==="bottom"?"top":"bottom",h=n==="right"?"left":"right",p=SS("transform"),g=void 0,_=void 0;if(d==="bottom"?o.nodeName==="HTML"?_=-o.clientHeight+c.bottom:_=-u.height+c.bottom:_=c.top,h==="right"?o.nodeName==="HTML"?g=-o.clientWidth+c.right:g=-u.width+c.right:g=c.left,s&&p)l[p]="translate3d("+g+"px, "+_+"px, 0)",l[d]=0,l[h]=0,l.willChange="transform";else{var O=d==="bottom"?-1:1,S=h==="right"?-1:1;l[d]=_*O,l[h]=g*S,l.willChange=d+", "+h}var E={"x-placement":t.placement};return t.attributes=ri({},E,t.attributes),t.styles=ri({},l,t.styles),t.arrowStyles=ri({},t.offsets.arrow,t.arrowStyles),t}function TN(t,e,r){var n=ch(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 yK(t,e){var r;if(!TN(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if(typeof n=="string"){if(n=t.instance.popper.querySelector(n),!n)return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],a=t.offsets,s=a.popper,o=a.reference,u=["left","right"].indexOf(i)!==-1,l=u?"height":"width",c=u?"Top":"Left",d=c.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",g=_N(n)[l];o[p]-g<s[d]&&(t.offsets.popper[d]-=s[d]-(o[p]-g)),o[d]+g>s[p]&&(t.offsets.popper[d]+=o[d]+g-s[p]),t.offsets.popper=Ys(t.offsets.popper);var _=o[d]+o[l]/2-g/2,O=gu(t.instance.popper),S=parseFloat(O["margin"+c]),E=parseFloat(O["border"+c+"Width"]),x=_-t.offsets.popper[d]-S-E;return x=Math.max(Math.min(s[l]-g,x),0),t.arrowElement=n,t.offsets.arrow=(r={},Xl(r,d,Math.round(x)),Xl(r,h,""),r),t}function wK(t){return t==="end"?"start":t==="start"?"end":t}var EN=["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"],A_=EN.slice(3);function gC(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=A_.indexOf(t),n=A_.slice(r+1).concat(A_.slice(0,r));return e?n.reverse():n}var M_={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function OK(t,e){if(ON(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var r=OS(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=vv(n),a=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case M_.FLIP:s=[n,i];break;case M_.CLOCKWISE:s=gC(n);break;case M_.COUNTERCLOCKWISE:s=gC(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=vv(n);var l=t.offsets.popper,c=t.offsets.reference,d=Math.floor,h=n==="left"&&d(l.right)>d(c.left)||n==="right"&&d(l.left)<d(c.right)||n==="top"&&d(l.bottom)>d(c.top)||n==="bottom"&&d(l.top)<d(c.bottom),p=d(l.left)<d(r.left),g=d(l.right)>d(r.right),_=d(l.top)<d(r.top),O=d(l.bottom)>d(r.bottom),S=n==="left"&&p||n==="right"&&g||n==="top"&&_||n==="bottom"&&O,E=["top","bottom"].indexOf(n)!==-1,x=!!e.flipVariations&&(E&&a==="start"&&p||E&&a==="end"&&g||!E&&a==="start"&&_||!E&&a==="end"&&O),f=!!e.flipVariationsByContent&&(E&&a==="start"&&g||E&&a==="end"&&p||!E&&a==="start"&&O||!E&&a==="end"&&_),m=x||f;(h||S||m)&&(t.flipped=!0,(h||S)&&(n=s[u+1]),m&&(a=wK(a)),t.placement=n+(a?"-"+a:""),t.offsets.popper=ri({},t.offsets.popper,yN(t.instance.popper,t.offsets.reference,t.placement)),t=wN(t.instance.modifiers,t,"flip"))}),t}function SK(t){var e=t.offsets,r=e.popper,n=e.reference,i=t.placement.split("-")[0],a=Math.floor,s=["top","bottom"].indexOf(i)!==-1,o=s?"right":"bottom",u=s?"left":"top",l=s?"width":"height";return r[o]<a(n[u])&&(t.offsets.popper[u]=a(n[u])-r[l]),r[u]>a(n[o])&&(t.offsets.popper[u]=a(n[o])),t}function xK(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=Ys(o);return u[e]/100*a}else if(s==="vh"||s==="vw"){var l=void 0;return s==="vh"?l=Math.max(document.documentElement.clientHeight,window.innerHeight||0):l=Math.max(document.documentElement.clientWidth,window.innerWidth||0),l/100*a}else return a}function TK(t,e,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,s=t.split(/(\+|\-)/).map(function(c){return c.trim()}),o=s.indexOf(ch(s,function(c){return c.search(/,|\s/)!==-1}));s[o]&&s[o].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=o!==-1?[s.slice(0,o).concat([s[o].split(u)[0]]),[s[o].split(u)[1]].concat(s.slice(o+1))]:[s];return l=l.map(function(c,d){var h=(d===1?!a:a)?"height":"width",p=!1;return c.reduce(function(g,_){return g[g.length-1]===""&&["+","-"].indexOf(_)!==-1?(g[g.length-1]=_,p=!0,g):p?(g[g.length-1]+=_,p=!1,g):g.concat(_)},[]).map(function(g){return xK(g,h,e,r)})}),l.forEach(function(c,d){c.forEach(function(h,p){xS(h)&&(i[d]+=h*(c[p-1]==="-"?-1:1))})}),i}function EK(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 xS(+r)?u=[+r,0]:u=TK(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 PK(t,e){var r=e.boundariesElement||Kl(t.instance.popper);t.instance.reference===r&&(r=Kl(r));var n=SS("transform"),i=t.instance.popper.style,a=i.top,s=i.left,o=i[n];i.top="",i.left="",i[n]="";var u=OS(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=a,i.left=s,i[n]=o,e.boundaries=u;var l=e.priority,c=t.offsets.popper,d={primary:function(p){var g=c[p];return c[p]<u[p]&&!e.escapeWithReference&&(g=Math.max(c[p],u[p])),Xl({},p,g)},secondary:function(p){var g=p==="right"?"left":"top",_=c[g];return c[p]>u[p]&&!e.escapeWithReference&&(_=Math.min(c[g],u[p]-(p==="right"?c.width:c.height))),Xl({},g,_)}};return l.forEach(function(h){var p=["left","top"].indexOf(h)!==-1?"primary":"secondary";c=ri({},c,d[p](h))}),t.offsets.popper=c,t}function CK(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var i=t.offsets,a=i.reference,s=i.popper,o=["bottom","top"].indexOf(r)!==-1,u=o?"left":"top",l=o?"width":"height",c={start:Xl({},u,a[u]),end:Xl({},u,a[u]+a[l]-s[l])};t.offsets.popper=ri({},s,c[n])}return t}function $K(t){if(!TN(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=ch(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 AK(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=vv(e),t.offsets.popper=Ys(i),t}var MK={shift:{order:100,enabled:!0,fn:CK},offset:{order:200,enabled:!0,fn:EK,offset:0},preventOverflow:{order:300,enabled:!0,fn:PK,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:SK},arrow:{order:500,enabled:!0,fn:yK,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:OK,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:AK},hide:{order:800,enabled:!0,fn:$K},computeStyle:{order:850,enabled:!0,fn:_K,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:mK,onLoad:vK,gpuAcceleration:void 0}},kK={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:MK},zg=function(){function t(e,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};nK(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=eK(this.update.bind(this)),this.options=ri({},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(ri({},t.Defaults.modifiers,i.modifiers)).forEach(function(s){n.options.modifiers[s]=ri({},t.Defaults.modifiers[s]||{},i.modifiers?i.modifiers[s]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(s){return ri({name:s},n.options.modifiers[s])}).sort(function(s,o){return s.order-o.order}),this.modifiers.forEach(function(s){s.enabled&&fN(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 iK(t,[{key:"update",value:function(){return uK.call(this)}},{key:"destroy",value:function(){return lK.call(this)}},{key:"enableEventListeners",value:function(){return dK.call(this)}},{key:"disableEventListeners",value:function(){return hK.call(this)}}]),t}();zg.Utils=(typeof window<"u"?window:global).PopperUtils;zg.placements=EN;zg.Defaults=kK;const Zw=zg;var DK="top-start",RK="top-end",IK="bottom-start",LK="bottom-end",NK="right-start",BK="left-start";function FK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bC(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 jK(t,e,r){return e&&bC(t.prototype,e),r&&bC(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var bu=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(FK(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));rh(this,t.Defaults,this.constructor.Defaults,r,{type:e}),Eg(this,{type:Xn(),cancelable:Xn(),nativeEvent:Xn(),target:Xn(),relatedTarget:Xn(),vueTarget:Xn(),componentId:Xn()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},JO(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return jK(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),zK=V.extend({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(e,r){e!==r&&(Ot(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ne),e&&ht(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ne))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&ht(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ne)},beforeDestroy:function(){Ot(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ne)},methods:{isClickOut:function(e){return!Kt(this.$el,e.target)},_clickOutHandler:function(e){this.clickOutHandler&&this.isClickOut(e)&&this.clickOutHandler(e)}}}),HK=V.extend({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(e,r){e!==r&&(Ot(this.focusInElement,"focusin",this._focusInHandler,Ne),e&&ht(this.focusInElement,"focusin",this._focusInHandler,Ne))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&ht(this.focusInElement,"focusin",this._focusInHandler,Ne)},beforeDestroy:function(){Ot(this.focusInElement,"focusin",this._focusInHandler,Ne)},methods:{_focusInHandler:function(e){this.focusInHandler&&this.focusInHandler(e)}}});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 yC(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){VK(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 VK(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wC=Ct(ru,Wr),UK=Ct(ru,Nt),GK=".dropdown form",WK=[".dropdown-item",".b-dropdown-form"].map(function(t){return"".concat(t,":not(.disabled):not([disabled])")}).join(", "),YK=function(e){return(e||[]).filter(yi)},Hg=Q(ce(yC(yC({},et),{},{boundary:b([$s,R],"scrollParent"),disabled:b(N,!1),dropleft:b(N,!1),dropright:b(N,!1),dropup:b(N,!1),noFlip:b(N,!1),offset:b(se,0),popperOpts:b(Jt,{}),right:b(N,!1)})),ru),TS=V.extend({mixins:[it,Pi,zK,HK],provide:function(){return{bvDropdown:this}},inject:{bvNavbar:{default:null}},props:Hg,data:function(){return{visible:!1,visibleChangePrevented:!1}},computed:{inNavbar:function(){return!ft(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?Jm?300:50:0}},watch:{visible:function(e,r){if(this.visibleChangePrevented){this.visibleChangePrevented=!1;return}if(e!==r){var n=e?br:on,i=new bu(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(Nt,this.focusToggler);return}e?this.showMenu():this.hideMenu()}},disabled:function(e,r){e!==r&&e&&this.visible&&(this.visible=!1)}},created:function(){this.$_popper=null,this.$_hideTimeout=null},deactivated:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper()},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper(),this.clearHideTimeout()},methods:{emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(ru,r),e),this.$emit(r,e)},showMenu:function(){var e=this;if(!this.disabled){if(!this.inNavbar)if(typeof Zw>"u")sr("Popper.js not found. Falling back to CSS positioning",ru);else{var r=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;r=r.$el||r,this.createPopper(r)}this.emitOnRoot(wC,this),this.whileOpenListen(!0),this.$nextTick(function(){e.focusMenu(),e.$emit(Wr)})}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot(UK,this),this.$emit(Nt),this.destroyPopper()},createPopper:function(e){this.destroyPopper(),this.$_popper=new Zw(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=IK;this.dropup?e=this.right?RK:DK:this.dropright?e=NK:this.dropleft?e=BK:this.right&&(e=LK);var r={placement:e,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},n=this.boundary;return n&&(r.modifiers.preventOverflow={boundariesElement:n}),nG(r,this.popperOpts||{})},whileOpenListen:function(e){this.listenForClickOut=e,this.listenForFocusIn=e;var r=e?"$on":"$off";this.$root[r](wC,this.rootCloseListener)},rootCloseListener:function(e){e!==this&&(this.visible=!1)},show:function(){var e=this;this.disabled||Xe(function(){e.visible=!0})},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.disabled||(this.visible=!1,e&&this.$once(Nt,this.focusToggler))},toggle:function(e){e=e||{};var r=e,n=r.type,i=r.keyCode;if(!(n!=="click"&&!(n==="keydown"&&[qa,da,Kr].indexOf(i)!==-1))){if(this.disabled){this.visible=!1;return}this.$emit(rL,e),Me(e),this.visible?this.hide(!0):this.show()}},onMousedown:function(e){Me(e,{propagation:!1})},onKeydown:function(e){var r=e.keyCode;r===lS?this.onEsc(e):r===Kr?this.focusNext(e,!1):r===ln&&this.focusNext(e,!0)},onEsc:function(e){this.visible&&(this.visible=!1,Me(e),this.$once(Nt,this.focusToggler))},onSplitClick:function(e){if(this.disabled){this.visible=!1;return}this.$emit(ai,e)},hideHandler:function(e){var r=this,n=e.target;this.visible&&!Kt(this.$refs.menu,n)&&!Kt(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&&un(GK,i)||(Me(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});ke(n)},getItems:function(){return YK(In(WK,this.$refs.menu))},focusMenu:function(){ke(this.$refs.menu)},focusToggler:function(){var e=this;this.$nextTick(function(){ke(e.toggler)})}}});function OC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $a(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?OC(Object(r),!0).forEach(function(n){KK(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):OC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function KK(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var PN=Q(ce($a($a($a({},et),Hg),{},{block:b(N,!1),html:b(R),lazy:b(N,!1),menuClass:b(ye),noCaret:b(N,!1),role:b(R,"menu"),size:b(R),split:b(N,!1),splitButtonType:b(R,"button",function(t){return xe(["button","submit","reset"],t)}),splitClass:b(ye),splitHref:b(R),splitTo:b(oL),splitVariant:b(R),text:b(R),toggleAttrs:b(Jt,{}),toggleClass:b(ye),toggleTag:b(R,"button"),toggleText:b(R,"Toggle dropdown"),variant:b(R,"secondary")})),ru),SC=V.extend({name:ru,mixins:[it,TS,Pe],props:PN,computed:{dropdownClasses:function(){var e=this.block,r=this.split;return[this.directionClass,this.boundaryClass,{show:this.visible,"btn-group":r||!e,"d-flex":e&&r}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){var e=this.split;return[this.toggleClass,{"dropdown-toggle-split":e,"dropdown-toggle-no-caret":this.noCaret&&!e}]}},render:function(e){var r=this.visible,n=this.variant,i=this.size,a=this.block,s=this.disabled,o=this.split,u=this.role,l=this.hide,c=this.toggle,d={variant:n,size:i,block:a,disabled:s},h=this.normalizeSlot(Ua),p=this.hasNormalizedSlot(Ua)?{}:St(this.html,this.text),g=e();if(o){var _=this.splitTo,O=this.splitHref,S=this.splitButtonType,E=$a($a({},d),{},{variant:this.splitVariant||n});_?E.to=_:O?E.href=O:S&&(E.type=S),g=e(cn,{class:this.splitClass,attrs:{id:this.safeId("_BV_button_")},props:E,domProps:p,on:{click:this.onSplitClick},ref:"button"},h),h=[e("span",{class:["sr-only"]},[this.toggleText])],p={}}var x=["menu","listbox","tree","grid","dialog"],f=e(cn,{staticClass:"dropdown-toggle",class:this.toggleClasses,attrs:$a($a({},this.toggleAttrs),{},{id:this.safeId("_BV_toggle_"),"aria-haspopup":x.includes(u)?u:"false","aria-expanded":_e(r)}),props:$a($a({},d),{},{tag:this.toggleTag,block:a&&!o}),domProps:p,on:{mousedown:this.onMousedown,click:c,keydown:c},ref:"toggle"},h),m=e("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{role:u,tabindex:"-1","aria-labelledby":this.safeId(o?"_BV_button_":"_BV_toggle_")},on:{keydown:this.onKeydown},ref:"menu"},[!this.lazy||r?this.normalizeSlot(nr,{hide:l}):e()]);return e("div",{staticClass:"dropdown b-dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[g,f,m])}});function xC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function gv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?xC(Object(r),!0).forEach(function(n){CN(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function CN(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=De(Ci,["event","routerTag"]),qK=Q(ce(gv(gv({},$N),{},{linkClass:b(ye),variant:b(R)})),$I),TC=V.extend({name:$I,mixins:[or,Pe],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:qK,computed:{computedAttrs:function(){return gv(gv({},this.bvAttrs),{},{role:"menuitem"})}},methods:{closeDropdown:function(){var e=this;Xe(function(){e.bvDropdown&&e.bvDropdown.hide(!0)})},onClick:function(e){this.$emit(ai,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(hn,{staticClass:"dropdown-item",class:[r,CN({},"text-".concat(n),n&&!(i||a))],props:pt($N,this.$props),attrs:this.computedAttrs,on:{click:s},ref:"item"},this.normalizeSlot())])}});function EC(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 PC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?EC(Object(r),!0).forEach(function(n){Jw(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):EC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Jw(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var XK=Q({active:b(N,!1),activeClass:b(R,"active"),buttonClass:b(ye),disabled:b(N,!1),variant:b(R)},AI),op=V.extend({name:AI,mixins:[or,Pe],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:XK,computed:{computedAttrs:function(){return PC(PC({},this.bvAttrs),{},{role:"menuitem",type:"button",disabled:this.disabled})}},methods:{closeDropdown:function(){this.bvDropdown&&this.bvDropdown.hide(!0)},onClick:function(e){this.$emit(ai,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={},Jw(r,this.activeClass,n),Jw(r,"text-".concat(i),i&&!(n||this.disabled)),r)],attrs:this.computedAttrs,on:{click:this.onClick},ref:"button"},this.normalizeSlot())])}});function CC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $C(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?CC(Object(r),!0).forEach(function(n){AN(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):CC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function AN(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ZK=Q({id:b(R),tag:b(R,"header"),variant:b(R)},CI),AC=V.extend({name:CI,functional:!0,props:ZK,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tag,o=n.variant;return e("li",pe(De(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"dropdown-header",class:AN({},"text-".concat(o),o),attrs:$C($C({},i.attrs||{}),{},{id:n.id||null,role:ca(s,"header")?null:"heading"}),ref:"header"},a)])}});function MC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function kC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MC(Object(r),!0).forEach(function(n){JK(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function JK(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var QK=Q({tag:b(R,"hr")},TI),DC=V.extend({name:TI,functional:!0,props:QK,render:function(e,r){var n=r.props,i=r.data;return e("li",pe(De(i,["attrs"]),{attrs:{role:"presentation"}}),[e(n.tag,{staticClass:"dropdown-divider",attrs:kC(kC({},i.attrs||{}),{},{role:"separator","aria-orientation":"horizontal"}),ref:"divider"})])}}),ES=Q({id:b(R),inline:b(N,!1),novalidate:b(N,!1),validated:b(N,!1)},DI),PS=V.extend({name:DI,functional:!0,props:ES,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("form",pe(i,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),a)}});function RC(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 bv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RC(Object(r),!0).forEach(function(n){eq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function eq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tq=Q(ce(bv(bv({},ES),{},{disabled:b(N,!1),formClass:b(ye)})),EI),IC=V.extend({name:EI,functional:!0,props:tq,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",pe(De(i,["attrs","on"]),{attrs:{role:"presentation"}}),[e(PS,{staticClass:"b-dropdown-form",class:[n.formClass,{disabled:n.disabled}],props:n,attrs:bv(bv({},i.attrs||{}),{},{disabled:n.disabled,tabindex:n.disabled?null:"-1"}),on:a,ref:"form"},s)])}});function rq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nq=Q({tag:b(R,"p"),textClass:b(ye),variant:b(R)},MI),LC=V.extend({name:MI,functional:!0,props:nq,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",pe(De(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"b-dropdown-text",class:[o,rq({},"text-".concat(u),u)],props:n,attrs:i.attrs||{},ref:"text"},a)])}});function NC(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 BC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?NC(Object(r),!0).forEach(function(n){MN(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):NC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function MN(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var iq=Q({ariaDescribedby:b(R),header:b(R),headerClasses:b(ye),headerTag:b(R,"header"),headerVariant:b(R),id:b(R)},PI),FC=V.extend({name:PI,functional:!0,props:iq,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.id,u=n.variant,l=n.header,c=n.headerTag,d=a(),h=s||{},p={},g=o?"_bv_".concat(o,"_group_dd_header"):null,_=e();return(Ga(Vs,h,d)||l)&&(_=e(c,{staticClass:"dropdown-header",class:[n.headerClasses,MN({},"text-".concat(u),u)],attrs:{id:g,role:ca(c,"header")?null:"heading"}},_r(Vs,p,h,d)||l)),e("li",pe(De(i,["attrs"]),{attrs:{role:"presentation"}}),[_,e("ul",{staticClass:"list-unstyled",attrs:BC(BC({},i.attrs||{}),{},{id:o,role:"group","aria-describedby":[g,n.ariaDescribedBy].filter(Oe).join(" ").trim()||null})},_r(nr,p,h,d))])}}),CS=fe({components:{BDropdown:SC,BDd:SC,BDropdownItem:TC,BDdItem:TC,BDropdownItemButton:op,BDropdownItemBtn:op,BDdItemButton:op,BDdItemBtn:op,BDropdownHeader:AC,BDdHeader:AC,BDropdownDivider:DC,BDdDivider:DC,BDropdownForm:IC,BDdForm:IC,BDropdownText:LC,BDdText:LC,BDropdownGroup:FC,BDdGroup:FC}});function aq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var sq=["iframe","embed","video","object","img","b-img","b-img-lazy"],oq=Q({aspect:b(R,"16by9"),tag:b(R,"div"),type:b(R,"iframe",function(t){return xe(sq,t)})},kI),uq=V.extend({name:kI,functional:!0,props:oq,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:aq({},"embed-responsive-".concat(s),s),ref:i.ref},[e(n.type,pe(De(i,["ref"]),{staticClass:"embed-responsive-item"}),a)])}}),lq=fe({components:{BEmbed:uq}}),cq='Setting prop "options" to an object is deprecated. Use the array format instead.',dh=Q({disabledField:b(R,"disabled"),htmlField:b(R,"html"),options:b(uW,[]),textField:b(R,"text"),valueField:b(R,"value")},"formOptionControls"),Vg=V.extend({props:dh,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(Ir(e)){var n=Tr(e,this.valueField),i=Tr(e,this.textField);return{value:Bt(n)?r||i:n,text:DP(String(Bt(i)?r:i)),html:Tr(e,this.htmlField),disabled:!!Tr(e,this.disabledField)}}return{value:r||e,text:DP(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return Ge(e)?e.map(function(n){return r.normalizeOption(n)}):Ir(e)?(sr(cq,this.$options.name),Ee(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}});function jC(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?jC(Object(r),!0).forEach(function(n){dq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fq=Q(ce(zC(zC({},dh),{},{id:b(R,void 0,!0)})),LI),HC=V.extend({name:LI,mixins:[Vg,Pe],props:fq,render:function(e){var r=this.id,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,l=i.disabled;return e("option",{attrs:{value:s,disabled:l},domProps:St(u,o),key:"option_".concat(a)})});return e("datalist",{attrs:{id:r}},[n,this.normalizeSlot()])}});function 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 pq=Q({id:b(R),inline:b(N,!1),tag:b(R,"small"),textVariant:b(R,"muted")},ZI),_v=V.extend({name:ZI,functional:!0,props:pq,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,pe(i,{class:hq({"form-text":!n.inline},"text-".concat(n.textVariant),n.textVariant),attrs:{id:n.id}}),a)}}),mq=Q({ariaLive:b(R),forceShow:b(N,!1),id:b(R),role:b(R),state:b(N,null),tag:b(R,"div"),tooltip:b(N,!1)},jI),yv=V.extend({name:jI,functional:!0,props:mq,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,pe(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)}}),vq=Q({ariaLive:b(R),forceShow:b(N,!1),id:b(R),role:b(R),state:b(N,null),tag:b(R,"div"),tooltip:b(N,!1)},e3),kN=V.extend({name:e3,functional:!0,props:vq,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,pe(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)}}),gq=Q({tag:b(R,"div")},UI),wv=V.extend({name:UI,functional:!0,props:gq,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,pe(i,{staticClass:"form-row"}),a)}}),bq=fe({components:{BForm:PS,BFormDatalist:HC,BDatalist:HC,BFormText:_v,BFormInvalidFeedback:yv,BFormFeedback:yv,BFormValidFeedback:kN,BFormRow:wv}}),VC=function(e,r){for(var n=0;n<e.length;n++)if(He(e[n],r))return n;return-1},UC="input, textarea, select",$i=Q({autofocus:b(N,!1),disabled:b(N,!1),form:b(R),id:b(R),name:b(R),required:b(N,!1)},"formControls"),_u=V.extend({props:$i,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick(function(){Xe(function(){var r=e.$el;e.autofocus&&yi(r)&&(za(r,UC)||(r=kn(UC,r)),ke(r))})})}}}),fh=Q({plain:b(N,!1)},"formControls"),Ug=V.extend({props:fh,computed:{custom:function(){return!this.plain}}}),Ai=Q({size:b(R)},"formControls"),Za=V.extend({props:Ai,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}}),Mi=Q({state:b(N,null)},"formState"),fa=V.extend({props:Mi,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=this.ariaInvalid;return e===!0||e==="true"||e===""||this.computedState===!1?"true":e}}}),up,cs;function GC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function qi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?GC(Object(r),!0).forEach(function(n){Qr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Qr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gg=er("checked",{defaultValue:null}),_q=Gg.mixin,yq=Gg.props,rd=Gg.prop,$S=Gg.event,AS=Q(ce(qi(qi(qi(qi(qi(qi(qi({},et),yq),$i),Ai),Mi),fh),{},{ariaLabel:b(R),ariaLabelledby:b(R),button:b(N,!1),buttonVariant:b(R),inline:b(N,!1),value:b(Gl)})),"formRadioCheckControls"),DN=V.extend({mixins:[or,it,_q,Pe,_u,Za,fa,Ug],inheritAttrs:!1,props:AS,data:function(){return{localChecked:this.isGroup?this.bvGroup[rd]:this[rd],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 He(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={},Qr(e,"btn-".concat(r),r),Qr(e,"disabled",this.isDisabled),Qr(e,"active",this.isChecked),Qr(e,"focus",this.hasFocus),e)]},computedAttrs:function(){var e=this.isDisabled,r=this.isRequired;return qi(qi({},this.bvAttrs),{},{id:this.safeId(),type:this.isRadio?"radio":"checkbox",name:this.computedName,form:this.computedForm,disabled:e,required:r,"aria-required":r||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null})}},watch:(up={},Qr(up,rd,function(){this["".concat(rd,"Watcher")].apply(this,arguments)}),Qr(up,"computedLocalChecked",function(){this.computedLocalCheckedWatcher.apply(this,arguments)}),up),methods:(cs={},Qr(cs,"".concat(rd,"Watcher"),function(e){He(e,this.computedLocalChecked)||(this.computedLocalChecked=e)}),Qr(cs,"computedLocalCheckedWatcher",function(e,r){He(e,r)||this.$emit($S,e)}),Qr(cs,"handleChange",function(e){var r=this,n=e.target.checked,i=this.value,a=n?i:null;this.computedLocalChecked=i,this.$nextTick(function(){r.$emit(fn,a),r.isGroup&&r.bvGroup.$emit(fn,a)})}),Qr(cs,"handleFocus",function(e){e.target&&(e.type==="focus"?this.hasFocus=!0:e.type==="blur"&&(this.hasFocus=!1))}),Qr(cs,"focus",function(){this.isDisabled||ke(this.$refs.input)}),Qr(cs,"blur",function(){this.isDisabled||mn(this.$refs.input)}),cs),render:function(e){var r=this.isRadio,n=this.isBtnMode,i=this.isPlain,a=this.isCustom,s=this.isInline,o=this.isSwitch,u=this.computedSize,l=this.bvAttrs,c=this.normalizeSlot(),d=e("input",{class:[{"form-check-input":i,"custom-control-input":a,"position-static":i&&!c},n?"":this.stateClass],directives:[{name:"model",value:this.computedLocalChecked}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked},on:qi({change:this.handleChange},n?{focus:this.handleFocus,blur:this.handleFocus}:{}),key:"input",ref:"input"});if(n){var h=e("label",{class:this.buttonClasses},[d,c]);return this.isGroup||(h=e("div",{class:["btn-group-toggle","d-inline-block"]},[h])),h}var p=e();return i&&!c||(p=e("label",{class:{"form-check-label":i,"custom-control-label":a},attrs:{for:this.safeId()}},c)),e("div",{class:[Qr({"form-check":i,"form-check-inline":i&&s,"custom-control":a,"custom-control-inline":a&&s,"custom-checkbox":a&&!r&&!o,"custom-switch":o,"custom-radio":a&&r},"b-custom-control-".concat(u),u&&!n),l.class],style:l.style},[d,p])}}),Wu;function WC(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 YC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?WC(Object(r),!0).forEach(function(n){Sl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WC(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 Ov="indeterminate",k_=eo+Ov,wq=Q(ce(YC(YC({},AS),{},(Wu={},Sl(Wu,Ov,b(N,!1)),Sl(Wu,"switch",b(N,!1)),Sl(Wu,"uncheckedValue",b(Gl,!1)),Sl(Wu,"value",b(Gl,!0)),Wu))),RI),hm=V.extend({name:RI,mixins:[DN],inject:{bvGroup:{from:"bvCheckGroup",default:null}},props:wq,computed:{isChecked:function(){var e=this.value,r=this.computedLocalChecked;return Ge(r)?VC(r,e)>-1:He(r,e)},isRadio:function(){return!1}},watch:Sl({},Ov,function(t,e){He(t,e)||this.setIndeterminate(t)}),mounted:function(){this.setIndeterminate(this[Ov])},methods:{computedLocalCheckedWatcher:function(e,r){if(!He(e,r)){this.$emit($S,e);var n=this.$refs.input;n&&this.$emit(k_,n.indeterminate)}},handleChange:function(e){var r=this,n=e.target,i=n.checked,a=n.indeterminate,s=this.value,o=this.uncheckedValue,u=this.computedLocalChecked;if(Ge(u)){var l=VC(u,s);i&&l<0?u=u.concat(s):!i&&l>-1&&(u=u.slice(0,l).concat(u.slice(l+1)))}else u=i?s:o;this.computedLocalChecked=u,this.$nextTick(function(){r.$emit(fn,u),r.isGroup&&r.bvGroup.$emit(fn,u),r.$emit(k_,a)})},setIndeterminate:function(e){Ge(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit(k_,e))}}}),Oq=Q(AS,zI),Qw=V.extend({name:zI,mixins:[DN],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:Oq,watch:{computedLocalChecked:function(e,r){He(e,r)||this.$emit($S,e)}}}),lp;function KC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?KC(Object(r),!0).forEach(function(n){pm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):KC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function 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 qC=["aria-describedby","aria-labelledby"],Wg=er("checked"),Sq=Wg.mixin,xq=Wg.props,e1=Wg.prop,Tq=Wg.event,MS=Q(ce(Yi(Yi(Yi(Yi(Yi(Yi(Yi(Yi({},et),xq),$i),dh),Ai),Mi),fh),{},{ariaInvalid:b(Nr,!1),buttonVariant:b(R),buttons:b(N,!1),stacked:b(N,!1),validated:b(N,!1)})),"formRadioCheckGroups"),RN=V.extend({mixins:[it,Sq,Pe,_u,Vg,Za,fa,Ug],inheritAttrs:!1,props:MS,data:function(){return{localChecked:this[e1]}},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",pm({"btn-group":e,"btn-group-vertical":!e},"btn-group-".concat(r),r)]),i}},watch:(lp={},pm(lp,e1,function(t){He(t,this.localChecked)||(this.localChecked=t)}),pm(lp,"localChecked",function(e,r){He(e,r)||this.$emit(Tq,e)}),lp),render:function(e){var r=this,n=this.isRadioGroup,i=Ei(this.$attrs,qC),a=n?Qw:hm,s=this.formOptions.map(function(o,u){var l="BV_option_".concat(u);return e(a,{props:{disabled:o.disabled||!1,id:r.safeId(l),value:o.value},attrs:i,key:l},[e("span",{domProps:St(o.html,o.text)})])});return e("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:Yi(Yi({},De(this.$attrs,qC)),{},{"aria-invalid":this.computedAriaInvalid,"aria-required":this.required?"true":null,id:this.safeId(),role:n?"radiogroup":"group",tabindex:"-1"})},[this.normalizeSlot(nS),s,this.normalizeSlot()])}}),cp;function XC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ZC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?XC(Object(r),!0).forEach(function(n){t1(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):XC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function t1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Eq=Q(ce(ZC(ZC({},MS),{},(cp={},t1(cp,e1,b(Yr,[])),t1(cp,"switches",b(N,!1)),cp))),II),D_=V.extend({name:II,mixins:[RN],provide:function(){return{bvCheckGroup:this}},props:Eq,computed:{isRadioGroup:function(){return!1}}}),Pq=fe({components:{BFormCheckbox:hm,BCheckbox:hm,BCheck:hm,BFormCheckboxGroup:D_,BCheckboxGroup:D_,BCheckGroup:D_}}),dp="__BV_hover_handler__",IN="mouseenter",Cq="mouseleave",$q=function(e){var r=function(i){e(i.type===IN,i)};return r.fn=e,r},JC=function(e,r,n){wi(e,r,IN,n,Ne),wi(e,r,Cq,n,Ne)},R_=function(e,r){var n=r.value,i=n===void 0?null:n;if(nt){var a=e[dp],s=ve(a),o=!(s&&a.fn===i);s&&o&&(JC(!1,e,a),delete e[dp]),ve(i)&&o&&(e[dp]=$q(i),JC(!0,e,e[dp]))}},LN={bind:R_,componentUpdated:R_,unbind:function(e){R_(e,{value:null})}};function QC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?QC(Object(r),!0).forEach(function(n){hl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):QC(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function hl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kS=ce(Yu(Yu(Yu(Yu(Yu(Yu({},et),Ai),Mi),De(Hg,["disabled"])),De($i,["autofocus"])),{},{buttonOnly:b(N,!1),buttonVariant:b(R,"secondary"),formattedValue:b(R),labelSelected:b(R),lang:b(R),menuClass:b(ye),placeholder:b(R),readonly:b(N,!1),rtl:b(N,null),value:b(R,"")})),NN=V.extend({name:EG,directives:{"b-hover":LN},mixins:[it,Za,fa,TS,Pe],props:kS,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||ke(this.$refs.toggle)},blur:function(){this.disabled||mn(this.$refs.toggle)},setFocus:function(e){this.hasFocus=e.type==="focus"},handleHover:function(e){this.isHovered=e}},render:function(e){var r,n=this.idButton,i=this.idLabel,a=this.idMenu,s=this.idWrapper,o=this.disabled,u=this.readonly,l=this.required,c=this.name,d=this.state,h=this.visible,p=this.size,g=this.isHovered,_=this.hasFocus,O=this.labelSelected,S=this.buttonVariant,E=this.buttonOnly,x=_e(this.value)||"",f=d===!1||l&&!x,m={isHovered:g,hasFocus:_,state:d,opened:h},v=e("button",{staticClass:"btn",class:(r={},hl(r,"btn-".concat(S),E),hl(r,"btn-".concat(p),p),hl(r,"h-auto",!E),hl(r,"dropdown-toggle",E),hl(r,"dropdown-toggle-no-caret",E),r),attrs:{id:n,type:"button",disabled:o,"aria-haspopup":"dialog","aria-expanded":h?"true":"false","aria-invalid":f?"true":null,"aria-required":l?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle,"!focus":this.setFocus,"!blur":this.setFocus},ref:"toggle"},[this.hasNormalizedSlot(Ua)?this.normalizeSlot(Ua,m):e(V7,{props:{scale:1.25}})]),T=e();c&&!o&&(T=e("input",{attrs:{type:"hidden",name:c||null,form:this.form||null,value:x}}));var P=e("div",{staticClass:"dropdown-menu",class:[this.menuClass,{show:h,"dropdown-menu-right":this.right}],attrs:{id:a,role:"dialog",tabindex:"-1","aria-modal":"false","aria-labelledby":i},on:{keydown:this.onKeydown},ref:"menu"},[this.normalizeSlot(nr,{opened:h})]),k=e("label",{class:E?"sr-only":["form-control",{"text-muted":!x},this.stateClass,this.sizeFormClass],attrs:{id:i,for:n,"aria-invalid":f?"true":null,"aria-required":l?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{"!click":function(M){Me(M,{preventDefault:!1})}}},[x?this.formattedValue||x:this.placeholder||"",x&&O?e("bdi",{staticClass:"sr-only"},O):""]);return e("div",{staticClass:"b-form-btn-label-control dropdown",class:[this.directionClass,this.boundaryClass,[{"btn-group":E,"form-control":!E,focus:_&&!E,show:h,"is-valid":d===!0,"is-invalid":d===!1},E?null:this.sizeFormClass]],attrs:{id:s,role:E?null:"group",lang:this.lang||null,dir:this.computedDir,"aria-disabled":o,"aria-readonly":u&&!o,"aria-labelledby":i,"aria-invalid":d===!1||l&&!x?"true":null,"aria-required":l?"true":null}},[v,T,P,k])}}),nd;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 ka(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){Fd(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 Fd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yg=er("value",{type:zo}),Aq=Yg.mixin,Mq=Yg.props,t$=Yg.prop,kq=Yg.event,BN=De(UL,["block","hidden","id","noKeyNav","roleDescription","value","width"]),FN=De(kS,["formattedValue","id","lang","rtl","value"]),Dq=Q(ce(ka(ka(ka(ka(ka({},et),Mq),BN),FN),{},{calendarWidth:b(R,"270px"),closeButton:b(N,!1),closeButtonVariant:b(R,"outline-secondary"),dark:b(N,!1),labelCloseButton:b(R,"Close"),labelResetButton:b(R,"Reset"),labelTodayButton:b(R,"Select today"),noCloseOnSelect:b(N,!1),resetButton:b(N,!1),resetButtonVariant:b(R,"outline-danger"),resetValue:b(zo),todayButton:b(N,!1),todayButtonVariant:b(R,"outline-primary")})),NI),r$=V.extend({name:NI,mixins:[it,Aq],props:Dq,data:function(){return{localYMD:dt(this[t$])||"",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 dt(dv(this.resetValue))||""}},watch:(nd={},Fd(nd,t$,function(t){this.localYMD=dt(t)||""}),Fd(nd,"localYMD",function(e){this.isVisible&&this.$emit(kq,this.valueAsDate?Yt(e)||null:e||"")}),Fd(nd,"calendarYM",function(e,r){if(e!==r&&r)try{this.$refs.control.updatePopper()}catch{}}),nd),methods:{focus:function(){this.disabled||ke(this.$refs.control)},blur:function(){this.disabled||mn(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(Ul,e)},onTodayButton:function(){this.setAndClose(dt(dv(hr(),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(){ke(e.$refs.calendar),e.$emit(Wr)})},onHidden:function(){this.isVisible=!1,this.$emit(Nt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?H7:z7,{attrs:{"aria-hidden":"true"}})}},render:function(e){var r=this.localYMD,n=this.disabled,i=this.readonly,a=this.dark,s=this.$props,o=this.$scopedSlots,u=qe(this.placeholder)?this.labelNoDateSelected:this.placeholder,l=[];if(this.todayButton){var c=this.labelTodayButton;l.push(e(cn,{props:{disabled:n||i,size:"sm",variant:this.todayButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onTodayButton}},c))}if(this.resetButton){var d=this.labelResetButton;l.push(e(cn,{props:{disabled:n||i,size:"sm",variant:this.resetButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onResetButton}},d))}if(this.closeButton){var h=this.labelCloseButton;l.push(e(cn,{props:{disabled:n,size:"sm",variant:this.closeButtonVariant},attrs:{"aria-label":h||null},on:{click:this.onCloseButton}},h))}l.length>0&&(l=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":l.length>1,"justify-content-end":l.length<2}},l)]);var p=e(GL,{staticClass:"b-form-date-calendar w-100",props:ka(ka({},pt(BN,s)),{},{hidden:!this.isVisible,value:r,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:Ei(o,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},l);return e(NN,{staticClass:"b-form-datepicker",props:ka(ka({},pt(FN,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:Fd({},Ua,o[Ua]||this.defaultButtonFn),ref:"control"},[p])}}),Rq=fe({components:{BFormDatepicker:r$,BDatepicker:r$}}),fp;function n$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ta(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?n$(Object(r),!0).forEach(function(n){mm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kg=er("value",{type:[Yr,q8],defaultValue:null,validator:function(e){return e===""?(sr(Fq,eS),!0):qe(e)||jq(e)}}),Iq=Kg.mixin,Lq=Kg.props,Nq=Kg.prop,Bq=Kg.event,Fq='Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',jq=function t(e){return eG(e)||Ge(e)&&e.every(function(r){return t(r)})},jN=function(e){return ve(e.getAsEntry)?e.getAsEntry():ve(e.webkitGetAsEntry)?e.webkitGetAsEntry():null},zq=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Promise.all(iu(e).filter(function(n){return n.kind==="file"}).map(function(n){var i=jN(n);if(i){if(i.isDirectory&&r)return Hq(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))},Hq=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 e7(u)})):(i.push(Promise.all(o.map(function(u){if(u){if(u.isDirectory)return t(u.createReader(),"".concat(r).concat(u.name,"/"));if(u.isFile)return new Promise(function(l){u.file(function(c){c.$path="".concat(r).concat(c.name),l(c)})})}return null}).filter(Oe))),s())})};a()})},Vq=Q(ce(Ta(Ta(Ta(Ta(Ta(Ta(Ta({},et),Lq),$i),fh),Mi),Ai),{},{accept:b(R,""),browseText:b(R,"Browse"),capture:b(N,!1),directory:b(N,!1),dropPlaceholder:b(R,"Drop files here"),fileNameFormatter:b(qr),multiple:b(N,!1),noDrop:b(N,!1),noDropPlaceholder:b(R,"Not allowed"),noTraverse:b(N,!1),placeholder:b(R,"No file chosen")})),eS),i$=V.extend({name:eS,mixins:[or,it,Iq,Pe,_u,fa,Ug,Pe],inheritAttrs:!1,props:Vq,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="$";TU.test(r)?i="":(n="type",RU.test(r)&&(a=".+$",r=r.slice(0,-1))),r=aS(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 Ta(Ta({},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 ua(e)?e:this.defaultFileNameFormatter},clonedFiles:function(){return ti(this.files)},flattenedFiles:function(){return Qc(this.files)},fileNames:function(){return this.flattenedFiles.map(function(e){return e.name})},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(bW,{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(this.files.length===0)return this.normalizeSlot(WW)||this.placeholder;var e=this.flattenedFiles,r=this.clonedFiles,n=this.fileNames,i=this.computedFileNameFormatter;return this.hasNormalizedSlot(XE)?this.normalizeSlot(XE,{files:e,filesTraversed:r,names:n}):i(e,r,n)}},watch:(fp={},mm(fp,Nq,function(t){(!t||Ge(t)&&t.length===0)&&this.reset()}),mm(fp,"files",function(e,r){if(!He(e,r)){var n=this.multiple,i=this.noTraverse,a=!n||i?Qc(e):e;this.$emit(Bq,n?a:a[0]||null)}}),fp),created:function(){this.$_form=null},mounted:function(){var e=un("form",this.$el);e&&(ht(e,"reset",this.reset,an),this.$_form=e)},beforeDestroy:function(){var e=this.$_form;e&&Ot(e,"reset",this.reset,an)},methods:{isFileValid:function(e){if(!e)return!1;var r=this.computedAccept;return r?r.some(function(n){return n.rx.test(e[n.prop])}):!0},isFilesArrayValid:function(e){var r=this;return Ge(e)?e.every(function(n){return r.isFileValid(n)}):this.isFileValid(e)},defaultFileNameFormatter:function(e,r,n){return n.join(", ")},setFiles:function(e){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?e:Qc(e):Qc(e).slice(0,1)},setInputFiles:function(e){try{var r=new ClipboardEvent("").clipboardData||new DataTransfer;Qc(ti(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(fn,e);var u=iu(s.items||[]);if(V8&&u.length>0&&!ft(jN(u[0])))zq(u,this.directory).then(function(c){return r.handleFiles(c,o)});else{var l=iu(i.files||s.files||[]).map(function(c){return c.$path=c.webkitRelativePath||"",c});this.handleFiles(l,o)}},onDragenter:function(e){Me(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){Me(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;Me(e),this.$nextTick(function(){r.dragging=!1,r.dropAllowed=!r.noDrop})},onDrop:function(e){var r=this;if(Me(e),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed){this.$nextTick(function(){r.dropAllowed=!r.noDrop});return}this.onChange(e)}},render:function(e){var r=this.custom,n=this.plain,i=this.size,a=this.dragging,s=this.stateClass,o=this.bvAttrs,u=e("input",{class:[{"form-control-file":n,"custom-file-input":r,focus:r&&this.hasFocus},s],style:r?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return u;var l=e("label",{staticClass:"custom-file-label",class:{dragging:a},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[e("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return e("div",{staticClass:"custom-file b-form-file",class:[mm({},"b-custom-control-".concat(i),i),s,o.class],style:o.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[u,l])}}),Uq=fe({components:{BFormFile:i$,BFile:i$}}),I_=function(e){return"\\"+e},zN=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+I_("".concat(o.toString(16)," ")):s===0&&o===45&&r===1?i+I_(a):o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?i+a:i+I_(a)},"")};function a$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function hp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?a$(Object(r),!0).forEach(function(n){jd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function jd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gq=["auto","start","end","center","baseline","stretch"],Wq=function(e,r,n){var i=e;if(!(qe(n)||n===!1))return r&&(i+="-".concat(r)),e==="col"&&(n===""||n===!0)||(i+="-".concat(n)),av(i)},Yq=ih(Wq),r1=xs(null),Kq=function(){var e=Rf().filter(Oe),r=e.reduce(function(a,s){return a[s]=b(kf),a},xs(null)),n=e.reduce(function(a,s){return a[Ms(s,"offset")]=b(se),a},xs(null)),i=e.reduce(function(a,s){return a[Ms(s,"order")]=b(se),a},xs(null));return r1=rh(xs(null),{col:Ee(r),offset:Ee(n),order:Ee(i)}),Q(ce(hp(hp(hp(hp({},r),n),i),{},{alignSelf:b(R,null,function(a){return xe(Gq,a)}),col:b(N,!1),cols:b(se),offset:b(se),order:b(se),tag:b(R,"div")})),SI)},vm={name:SI,functional:!0,get props(){return delete this.props,this.props=Kq()},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.cols,u=i.offset,l=i.order,c=i.alignSelf,d=[];for(var h in r1)for(var p=r1[h],g=0;g<p.length;g++){var _=Yq(h,p[g].replace(h,""),i[p[g]]);_&&d.push(_)}var O=d.some(function(S){return YU.test(S)});return d.push((n={col:i.col||!O&&!o},jd(n,"col-".concat(o),o),jd(n,"offset-".concat(u),u),jd(n,"order-".concat(l),l),jd(n,"align-self-".concat(c),c),n)),e(i.tag,pe(a,{class:d}),s)}};function s$(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 xl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?s$(Object(r),!0).forEach(function(n){qq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var HN=["input","select","textarea"],Xq=HN.map(function(t){return"".concat(t,":not([disabled])")}).join(),Zq=[].concat(HN,["a","button","label"]),Jq=function(){return Q(ce(xl(xl(xl(xl({},et),Mi),Rf().reduce(function(e,r){return e[Ms(r,"contentCols")]=b(kf),e[Ms(r,"labelAlign")]=b(R),e[Ms(r,"labelCols")]=b(kf),e},xs(null))),{},{description:b(R),disabled:b(N,!1),feedbackAriaLive:b(R,"assertive"),invalidFeedback:b(R),label:b(R),labelClass:b(ye),labelFor:b(R),labelSize:b(R),labelSrOnly:b(N,!1),tooltip:b(N,!1),validFeedback:b(R),validated:b(N,!1)})),BI)},o$={name:BI,mixins:[it,fa,Pe],get props(){return delete this.props,this.props=Jq()},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 Ee(this.contentColProps).length>0||Ee(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 Rf().reduce(function(n,i){var a=e[Ms(i,"".concat(r,"Align"))]||null;return a&&n.push(["text",i,a].filter(Oe).join("-")),n},[])},getColProps:function(e,r){return Rf().reduce(function(n,i){var a=e[Ms(i,"".concat(r,"Cols"))];return a=a===""?!0:a||!1,!ei(a)&&a!=="auto"&&(a=ie(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(nt&&n){var i=kn("#".concat(zN(n)),this.$refs.content);if(i){var a="aria-describedby",s=(e||"").split(nm),o=(r||"").split(nm),u=(Dn(i,a)||"").split(nm).filter(function(l){return!xe(o,l)}).concat(s).filter(function(l,c,d){return d.indexOf(l)===c}).filter(Oe).join(" ").trim();u?bt(i,a,u):na(i,a)}}},onLegendClick:function(e){if(!this.labelFor){var r=e.target,n=r?r.tagName:"";if(Zq.indexOf(n)===-1){var i=In(Xq,this.$refs.content).filter(yi);i.length===1&&ke(i[0])}}}},render:function(e){var r=this.computedState,n=this.feedbackAriaLive,i=this.isHorizontal,a=this.labelFor,s=this.normalizeSlot,o=this.safeId,u=this.tooltip,l=o(),c=!a,d=e(),h=s(lL)||this.label,p=h?o("_BV_label_"):null;if(h||i){var g=this.labelSize,_=this.labelColProps,O=c?"legend":"label";this.labelSrOnly?(h&&(d=e(O,{class:"sr-only",attrs:{id:p,for:a||null}},[h])),d=e(i?vm:"div",{props:i?_:{}},[d])):d=e(i?vm:O,{on:c?{click:this.onLegendClick}:{},props:i?xl(xl({},_),{},{tag:O}):{},attrs:{id:p,for:a||null,tabindex:c?"-1":null},class:[c?"bv-no-focus-ring":"",i||c?"col-form-label":"",!i&&c?"pt-0":"",!i&&!c?"d-block":"",g?"col-form-label-".concat(g):"",this.labelAlignClasses,this.labelClass]},[h])}var S=e(),E=s($W)||this.invalidFeedback,x=E?o("_BV_feedback_invalid_"):null;E&&(S=e(yv,{props:{ariaLive:n,id:x,state:r,tooltip:u},attrs:{tabindex:E?"-1":null}},[E]));var f=e(),m=s(QW)||this.validFeedback,v=m?o("_BV_feedback_valid_"):null;m&&(f=e(kN,{props:{ariaLive:n,id:v,state:r,tooltip:u},attrs:{tabindex:m?"-1":null}},[m]));var T=e(),P=s(vW)||this.description,k=P?o("_BV_description_"):null;P&&(T=e(_v,{attrs:{id:k,tabindex:"-1"}},[P]));var y=this.ariaDescribedby=[k,r===!1?x:null,r===!0?v:null].filter(Oe).join(" ")||null,M=e(i?vm:"div",{props:i?this.contentColProps:{},ref:"content"},[s(nr,{ariaDescribedby:y,descriptionId:k,id:l,labelId:p})||e(),S,f,T]);return e(c?"fieldset":i?wv:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:l,disabled:c?this.disabled:null,role:c?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":c&&i?p:null}},i&&c?[e(wv,[d,M])]:[d,M])}},Qq=fe({components:{BFormGroup:o$,BFormFieldset:o$}}),VN=V.extend({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(e){this.$refs.input.selectionStart=e}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(e){this.$refs.input.selectionEnd=e}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(e){this.$refs.input.selectionDirection=e}}},methods:{select:function(){var e;(e=this.$refs.input).select.apply(e,arguments)},setSelectionRange:function(){var e;(e=this.$refs.input).setSelectionRange.apply(e,arguments)},setRangeText:function(){var e;(e=this.$refs.input).setRangeText.apply(e,arguments)}}});function 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 l$(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){UN(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 UN(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qg=er("value",{type:se,defaultValue:"",event:aW}),eX=qg.mixin,tX=qg.props,c$=qg.prop,rX=qg.event,DS=Q(ce(l$(l$({},tX),{},{ariaInvalid:b(Nr,!1),autocomplete:b(R),debounce:b(se,0),formatter:b(qr),lazy:b(N,!1),lazyFormatter:b(N,!1),number:b(N,!1),placeholder:b(R),plaintext:b(N,!1),readonly:b(N,!1),trim:b(N,!1)})),"formTextControls"),GN=V.extend({mixins:[eX],props:DS,data:function(){var e=this[c$];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 Ve(ie(this.debounce,0),0)},hasFormatter:function(){return ua(this.formatter)}},watch:UN({},c$,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=Ie(e,e)),e},updateValue:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=this.lazy;if(!(i&&!n)){this.clearDebounce();var a=function(){if(e=r.modifyValue(e),e!==r.vModelValue)r.vModelValue=e,r.$emit(rX,e);else if(r.hasFormatter){var u=r.$refs.input;u&&e!==u.value&&(u.value=e)}},s=this.computedDebounce;s>0&&!i&&!n?this.$_inputDebounceTimer=setTimeout(a,s):a()}},onInput:function(e){if(!e.target.composing){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){Me(e,{propagation:!1});return}this.localValue=n,this.updateValue(n),this.$emit(K3,n)}},onChange:function(e){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){Me(e,{propagation:!1});return}this.localValue=n,this.updateValue(n,!0),this.$emit(fn,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(G3,e)},focus:function(){this.disabled||ke(this.$el)},blur:function(){this.disabled||mn(this.$el)}}}),WN=V.extend({computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var e;return(e=this.$refs.input).setCustomValidity.apply(e,arguments)},checkValidity:function(){var e;return(e=this.$refs.input).checkValidity.apply(e,arguments)},reportValidity:function(){var e;return(e=this.$refs.input).reportValidity.apply(e,arguments)}}});function 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 vs(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){nX(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 nX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var YN=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],iX=Q(ce(vs(vs(vs(vs(vs(vs({},et),$i),Ai),Mi),DS),{},{list:b(R),max:b(se),min:b(se),noWheel:b(N,!1),step:b(se),type:b(R,"text",function(t){return xe(YN,t)})})),FI),f$=V.extend({name:FI,mixins:[Xa,it,_u,Za,fa,GN,VN,WN],props:iX,computed:{localType:function(){var e=this.type;return xe(YN,e)?e:"text"},computedAttrs:function(){var e=this.localType,r=this.name,n=this.form,i=this.disabled,a=this.placeholder,s=this.required,o=this.min,u=this.max,l=this.step;return{id:this.safeId(),name:r,form:n,type:e,disabled:i,placeholder:a,required:s,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,min:o,max:u,step:l,list:e!=="password"?this.list:null,"aria-required":s?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return vs(vs({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{noWheel:function(e){this.setWheelStopper(e)}},mounted:function(){this.setWheelStopper(this.noWheel)},deactivated:function(){this.setWheelStopper(!1)},activated:function(){this.setWheelStopper(this.noWheel)},beforeDestroy:function(){this.setWheelStopper(!1)},methods:{setWheelStopper:function(e){var r=this.$el;wi(e,r,"focus",this.onWheelFocus),wi(e,r,"blur",this.onWheelBlur),e||Ot(document,"wheel",this.stopWheel)},onWheelFocus:function(){ht(document,"wheel",this.stopWheel)},onWheelBlur:function(){Ot(document,"wheel",this.stopWheel)},stopWheel:function(e){Me(e,{propagation:!1}),mn(this.$el)}},render:function(e){return e("input",{class:this.computedClass,attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),aX=fe({components:{BFormInput:f$,BInput:f$}}),sX=Q(MS,HI),h$=V.extend({name:HI,mixins:[RN],provide:function(){return{bvRadioGroup:this}},props:sX,computed:{isRadioGroup:function(){return!0}}}),oX=fe({components:{BFormRadio:Qw,BRadio:Qw,BFormRadioGroup:h$,BRadioGroup:h$}}),id;function p$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ad(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?p$(Object(r),!0).forEach(function(n){gm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xg=er("value",{type:se,event:fn}),uX=Xg.mixin,lX=Xg.props,m$=Xg.prop,cX=Xg.event,KN=3,qN=5,v$=function(e){return Ve(KN,ie(e,qN))},ho=function(e,r,n){return Ve(Na(e,n),r)},dX=V.extend({name:PG,mixins:[Pe],props:{disabled:b(N,!1),focused:b(N,!1),hasClear:b(N,!1),rating:b(Dr,0),readonly:b(N,!1),star:b(Dr,0),variant:b(R)},methods:{onClick:function(e){!this.disabled&&!this.readonly&&(Me(e,{propagation:!1}),this.$emit(tL,this.star))}},render:function(e){var r=this.rating,n=this.star,i=this.focused,a=this.hasClear,s=this.variant,o=this.disabled,u=this.readonly,l=a?0:1,c=r>=n?"full":r>=n-.5?"half":"empty",d={variant:s,disabled:o,readonly:u};return e("span",{staticClass:"b-rating-star",class:{focused:i&&r===n||!ie(r)&&n===l,"b-rating-star-empty":c==="empty","b-rating-star-half":c==="half","b-rating-star-full":c==="full"},attrs:{tabindex:!o&&!u?"-1":null},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(c,d)])])}}),fX=Q(ce(ad(ad(ad(ad(ad({},et),lX),De($i,["required","autofocus"])),Ai),{},{color:b(R),iconClear:b(R,"x"),iconEmpty:b(R,"star"),iconFull:b(R,"star-fill"),iconHalf:b(R,"star-half"),inline:b(N,!1),locale:b(Lr),noBorder:b(N,!1),precision:b(se),readonly:b(N,!1),showClear:b(N,!1),showValue:b(N,!1),showValueMax:b(N,!1),stars:b(se,qN,function(t){return ie(t)>=KN}),variant:b(R)})),VI),g$=V.extend({name:VI,components:{BIconStar:q7,BIconStarHalf:Z7,BIconStarFill:X7,BIconX:EL},mixins:[it,uX,Za],props:fX,data:function(){var e=Ie(this[m$],null),r=v$(this.stars);return{localValue:ft(e)?null:ho(e,0,r),hasFocus:!1}},computed:{computedStars:function(){return v$(this.stars)},computedRating:function(){var e=Ie(this.localValue,0),r=ie(this.precision,3);return ho(Ie(e.toFixed(r)),0,this.computedStars)},computedLocale:function(){var e=je(this.locale).filter(Oe),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Ig(this.computedLocale)},formattedRating:function(){var e=ie(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=ft(s)?r?"-":"":s.toLocaleString(n,i),r?"".concat(s,"/").concat(a):s}},watch:(id={},gm(id,m$,function(t,e){if(t!==e){var r=Ie(t,null);this.localValue=ft(r)?null:ho(r,0,this.computedStars)}}),gm(id,"localValue",function(e,r){e!==r&&e!==(this.value||0)&&this.$emit(cX,e||null)}),gm(id,"disabled",function(e){e&&(this.hasFocus=!1,this.blur())}),id),methods:{focus:function(){this.disabled||ke(this.$el)},blur:function(){this.disabled||mn(this.$el)},onKeydown:function(e){var r=e.keyCode;if(this.isInteractive&&xe([Oi,Kr,Wa,ln],r)){Me(e,{propagation:!1});var n=ie(this.localValue,0),i=this.showClear?0:1,a=this.computedStars,s=this.isRTL?-1:1;r===Oi?this.localValue=ho(n-s,i,a)||null:r===Wa?this.localValue=ho(n+s,i,a):r===Kr?this.localValue=ho(n-1,i,a)||null:r===ln&&(this.localValue=ho(n+1,i,a))}},onSelected:function(e){this.isInteractive&&(this.localValue=e)},onFocus:function(e){this.hasFocus=this.isInteractive?e.type==="focus":!1},renderIcon:function(e){return this.$createElement(sv,{props:{icon:e,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(sv,{props:{icon:this.iconClear}})}},render:function(e){var r=this,n=this.disabled,i=this.readonly,a=this.name,s=this.form,o=this.inline,u=this.variant,l=this.color,c=this.noBorder,d=this.hasFocus,h=this.computedRating,p=this.computedStars,g=this.formattedRating,_=this.showClear,O=this.isRTL,S=this.isInteractive,E=this.$scopedSlots,x=[];if(_&&!n&&!i){var f=e("span",{staticClass:"b-rating-icon"},[(E[SW]||this.iconClearFn)()]);x.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:d&&h===0},attrs:{tabindex:S?"-1":null},on:{click:function(){return r.onSelected(null)}},key:"clear"},[f]))}for(var m=0;m<p;m++){var v=m+1;x.push(e(dX,{staticClass:"flex-grow-1",style:l&&!n?{color:l}:{},props:{rating:h,star:v,variant:n?null:u||null,disabled:n,readonly:i,focused:d,hasClear:_},on:{selected:this.onSelected},scopedSlots:{empty:E[xW]||this.iconEmptyFn,half:E[EW]||this.iconHalfFn,full:E[TW]||this.iconFullFn},key:m}))}return a&&x.push(e("input",{attrs:{type:"hidden",value:ft(this.localValue)?"":h,name:a,form:s||null},key:"hidden"})),this.showValue&&x.push(e("b",{staticClass:"b-rating-value flex-grow-1",attrs:{"aria-hidden":"true"},key:"value"},_e(g))),e("output",{staticClass:"b-rating form-control align-items-center",class:[{"d-inline-flex":o,"d-flex":!o,"border-0":c,disabled:n,readonly:!n&&i},this.sizeFormClass],attrs:{id:this.safeId(),dir:O?"rtl":"ltr",tabindex:n?null:"0",disabled:n,role:"slider","aria-disabled":n?"true":null,"aria-readonly":!n&&i?"true":null,"aria-live":"off","aria-valuemin":_?"0":"1","aria-valuemax":_e(p),"aria-valuenow":h?_e(h):null},on:{keydown:this.onKeydown,focus:this.onFocus,blur:this.onFocus}},x)}}),hX=fe({components:{BFormRating:g$,BRating:g$}}),Zg=er("value"),pX=Zg.mixin,mX=Zg.props,vX=Zg.prop,gX=Zg.event;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 _$(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){bX(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 bX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _X=Q(ce(_$(_$({},dh),{},{labelField:b(R,"label"),optionsField:b(R,"options")})),"formOptions"),yX=V.extend({mixins:[Vg],props:_X,methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ir(e)){var n=Tr(e,this.valueField),i=Tr(e,this.textField),a=Tr(e,this.optionsField,null);return ft(a)?{value:Bt(n)?r||i:n,text:String(Bt(i)?r:i),html:Tr(e,this.htmlField),disabled:!!Tr(e,this.disabledField)}:{label:String(Tr(e,this.labelField)||i),options:this.normalizeOptions(a)}}return{value:r||e,text:String(e),disabled:!1}}}}),wX=Q({disabled:b(N,!1),value:b(Gl,void 0,!0)},WI),Sv=V.extend({name:WI,functional:!0,props:wX,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.value,o=n.disabled;return e("option",pe(i,{attrs:{disabled:o},domProps:{value:s}}),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 w$(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){OX(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 OX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var SX=Q(ce(w$(w$({},dh),{},{label:b(R,void 0,!0)})),YI),n1=V.extend({name:YI,mixins:[Pe,Vg],props:SX,render:function(e){var r=this.label,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,l=i.disabled;return e(Sv,{attrs:{value:s,disabled:l},domProps:St(u,o),key:"option_".concat(a)})});return e("optgroup",{attrs:{label:r}},[this.normalizeSlot(nS),n,this.normalizeSlot()])}});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 po(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){xX(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 xX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var TX=Q(ce(po(po(po(po(po(po(po({},et),mX),$i),fh),Ai),Mi),{},{ariaInvalid:b(Nr,!1),multiple:b(N,!1),selectSize:b(Dr,0)})),GI),S$=V.extend({name:GI,mixins:[it,pX,_u,Za,fa,Ug,yX,Pe],props:TX,data:function(){return{localValue:this[vX]}},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(gX,this.localValue)}},methods:{focus:function(){ke(this.$refs.input)},blur:function(){mn(this.$refs.input)},onChange:function(e){var r=this,n=e.target,i=iu(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(fn,r.localValue)})}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.computedSelectSize,s=this.localValue,o=this.formOptions.map(function(u,l){var c=u.value,d=u.label,h=u.options,p=u.disabled,g="option_".concat(l);return Ge(h)?e(n1,{props:{label:d,options:h},key:g}):e(Sv,{props:{value:c,disabled:p},domProps:St(u.html,u.text),key:g})});return e("select",{class:this.inputClass,attrs:{id:this.safeId(),name:r,form:this.form||null,multiple:this.multiple||null,size:a,disabled:n,required:i,"aria-required":i?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:this.onChange},directives:[{name:"model",value:s}],ref:"input"},[this.normalizeSlot(nS),o,this.normalizeSlot()])}}),EX=fe({components:{BFormSelect:S$,BFormSelectOption:Sv,BFormSelectOptionGroup:n1,BSelect:S$,BSelectOption:Sv,BSelectOptionGroup:n1}}),Ku;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 Xi(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){zd(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 zd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jg=er("value",{type:lW}),PX=Jg.mixin,CX=Jg.props,T$=Jg.prop,$X=Jg.event,XN=1,ZN=100,JN=1,QN=500,eB=100,tB=10,rB=4,E$=[ln,Kr,Ws,Gs,uv,ov],nB=Q(ce(Xi(Xi(Xi(Xi(Xi(Xi({},et),CX),De($i,["required","autofocus"])),Ai),Mi),{},{ariaControls:b(R),ariaLabel:b(R),formatterFn:b(qr),inline:b(N,!1),labelDecrement:b(R,"Decrement"),labelIncrement:b(R,"Increment"),locale:b(Lr),max:b(se,ZN),min:b(se,XN),placeholder:b(R),readonly:b(N,!1),repeatDelay:b(se,QN),repeatInterval:b(se,eB),repeatStepMultiplier:b(se,rB),repeatThreshold:b(se,tB),step:b(se,JN),vertical:b(N,!1),wrap:b(N,!1)})),KI),i1=V.extend({name:KI,mixins:[or,it,PX,Za,fa,Pe],inheritAttrs:!1,props:nB,data:function(){return{localValue:Ie(this[T$],null),hasFocus:!1}},computed:{spinId:function(){return this.safeId()},computedInline:function(){return this.inline&&!this.vertical},computedReadonly:function(){return this.readonly&&!this.disabled},computedRequired:function(){return this.required&&!this.computedReadonly&&!this.disabled},computedStep:function(){return Ie(this.step,JN)},computedMin:function(){return Ie(this.min,XN)},computedMax:function(){var e=Ie(this.max,ZN),r=this.computedStep,n=this.computedMin;return If((e-n)/r)*r+n},computedDelay:function(){var e=ie(this.repeatDelay,0);return e>0?e:QN},computedInterval:function(){var e=ie(this.repeatInterval,0);return e>0?e:eB},computedThreshold:function(){return Ve(ie(this.repeatThreshold,tB),1)},computedStepMultiplier:function(){return Ve(ie(this.repeatStepMultiplier,rB),1)},computedPrecision:function(){var e=this.computedStep;return If(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return wL(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return ft(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=je(this.locale).filter(Oe),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},computedRTL:function(){return Ig(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 ua(e)?e:this.defaultFormatter},computedAttrs:function(){return Xi(Xi({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var e=this.spinId,r=this.localValue,n=this.computedRequired,i=this.disabled,a=this.state,s=this.computedFormatter,o=!ft(r);return Xi(Xi({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:e,role:"spinbutton",tabindex:i?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":a===!1||!o&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":_e(this.computedMin),"aria-valuemax":_e(this.computedMax),"aria-valuenow":o?r:null,"aria-valuetext":o?s(r):null})}},watch:(Ku={},zd(Ku,T$,function(t){this.localValue=Ie(t,null)}),zd(Ku,"localValue",function(e){this.$emit($X,e)}),zd(Ku,"disabled",function(e){e&&this.clearRepeat()}),zd(Ku,"readonly",function(e){e&&this.clearRepeat()}),Ku),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||ke(this.$refs.spinner)},blur:function(){this.disabled||mn(this.$refs.spinner)},emitChange:function(){this.$emit(fn,this.localValue)},stepValue:function(e){var r=this.localValue;if(!this.disabled&&!ft(r)){var n=this.computedStep*e,i=this.computedMin,a=this.computedMax,s=this.computedMultiplier,o=this.wrap;r=Iw((r-i)/n)*n+i+n,r=Iw(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;ft(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;ft(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)&&xe(E$,r)){if(Me(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),xe([ln,Kr],r)?(this.$_keyIsDown=!0,r===ln?this.handleStepRepeat(e,this.stepUp):r===Kr&&this.handleStepRepeat(e,this.stepDown)):r===uv?this.stepUp(this.computedStepMultiplier):r===ov?this.stepDown(this.computedStepMultiplier):r===Ws?this.localValue=this.computedMin:r===Gs&&(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||xe(E$,r)&&(Me(e,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(e,r){var n=this,i=e||{},a=i.type,s=i.button;if(!this.disabled&&!this.readonly){if(a==="mousedown"&&s)return;this.resetTimers(),r(1);var o=this.computedThreshold,u=this.computedStepMultiplier,l=this.computedDelay,c=this.computedInterval;this.$_autoDelayTimer=setTimeout(function(){var d=0;n.$_autoRepeatTimer=setInterval(function(){r(d<o?1:u),d++},c)},l)}},onMouseup:function(e){var r=e||{},n=r.type,i=r.button;n==="mouseup"&&i||(Me(e,{propagation:!1}),this.resetTimers(),this.setMouseup(!1),this.emitChange())},setMouseup:function(e){try{wi(e,document.body,"mouseup",this.onMouseup,!1),wi(e,document.body,"touchend",this.onMouseup,!1)}catch{}},resetTimers:function(){clearTimeout(this.$_autoDelayTimer),clearInterval(this.$_autoRepeatTimer),this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null},clearRepeat:function(){this.resetTimers(),this.setMouseup(!1),this.$_keyIsDown=!1}},render:function(e){var r=this,n=this.spinId,i=this.localValue,a=this.computedInline,s=this.computedReadonly,o=this.vertical,u=this.disabled,l=this.computedFormatter,c=!ft(i),d=function(S,E,x,f,m,v,T){var P=e(x,{props:{scale:r.hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}}),k={hasFocus:r.hasFocus},y=function(C){!u&&!s&&(Me(C,{propagation:!1}),r.setMouseup(!0),ke(C.currentTarget),r.handleStepRepeat(C,S))};return e("button",{staticClass:"btn btn-sm border-0 rounded-0",class:{"py-0":!o},attrs:{tabindex:"-1",type:"button",disabled:u||s||v,"aria-disabled":u||s||v?"true":null,"aria-controls":n,"aria-label":E||null,"aria-keyshortcuts":m||null},on:{mousedown:y,touchstart:y},key:f||null,ref:f},[r.normalizeSlot(T,k)||P])},h=d(this.stepUp,this.labelIncrement,K7,"inc","ArrowUp",!1,CW),p=d(this.stepDown,this.labelDecrement,W7,"dec","ArrowDown",!1,mW),g=e();this.name&&!u&&(g=e("input",{attrs:{type:"hidden",name:this.name,form:this.form||null,value:this.valueAsFixed},key:"hidden"}));var _=e("output",{staticClass:"flex-grow-1",class:{"d-flex":o,"align-self-center":!o,"align-items-center":o,"border-top":o,"border-bottom":o,"border-left":!o,"border-right":!o},attrs:this.computedSpinAttrs,key:"output",ref:"spinner"},[e("bdi",c?l(i):this.placeholder||"")]);return e("div",{staticClass:"b-form-spinbutton form-control",class:[{disabled:u,readonly:s,focus:this.hasFocus,"d-inline-flex":a||o,"d-flex":!a&&!o,"align-items-stretch":!o,"flex-column":o},this.sizeFormClass,this.stateClass],attrs:this.computedAttrs,on:{keydown:this.onKeydown,keyup:this.onKeyup,"!focus":this.onFocusBlur,"!blur":this.onFocusBlur}},o?[h,g,_,p]:[p,g,_,h])}}),AX=fe({components:{BFormSpinbutton:i1,BSpinbutton:i1}});function P$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function C$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?P$(Object(r),!0).forEach(function(n){MX(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function MX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kX=Q(ce(C$(C$({},et),{},{disabled:b(N,!1),noRemove:b(N,!1),pill:b(N,!1),removeLabel:b(R,"Remove tag"),tag:b(R,"span"),title:b(R),variant:b(R,"secondary")})),qI),a1=V.extend({name:qI,mixins:[it,Pe],props:kX,methods:{onRemove:function(e){var r=e.type,n=e.keyCode;!this.disabled&&(r==="click"||r==="keydown"&&n===CL)&&this.$emit(KG)}},render:function(e){var r=this.title,n=this.tag,i=this.variant,a=this.pill,s=this.disabled,o=this.safeId(),u=this.safeId("_taglabel_"),l=e();!this.noRemove&&!s&&(l=e(su,{staticClass:"b-form-tag-remove",props:{ariaLabel:this.removeLabel},attrs:{"aria-controls":o,"aria-describedby":u,"aria-keyshortcuts":"Delete"},on:{click:this.onRemove,keydown:this.onRemove}}));var c=e("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate",attrs:{id:u}},this.normalizeSlot()||r);return e(jL,{staticClass:"b-form-tag d-inline-flex align-items-baseline mw-100",class:{disabled:s},props:{tag:n,variant:i,pill:a},attrs:{id:o,title:r||null,"aria-labelledby":u}},[c,l])}}),sd;function $$(t){return LX(t)||IX(t)||RX(t)||DX()}function DX(){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 RX(t,e){if(t){if(typeof t=="string")return s1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s1(t,e)}}function IX(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function LX(t){if(Array.isArray(t))return s1(t)}function s1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function A$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function xn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?A$(Object(r),!0).forEach(function(n){bm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function bm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qg=er("value",{type:Yr,defaultValue:[]}),NX=Qg.mixin,BX=Qg.props,L_=Qg.prop,FX=Qg.event,iB=["text","email","tel","url","number"],jX=[".b-form-tag","button","input","select"].join(" "),zX=function(e){return aS(e).replace(W8,"\\s")},M$=function(e){return je(e).map(function(r){return As(_e(r))}).filter(function(r,n,i){return r.length>0&&i.indexOf(r)===n})},k$=function(e){return Be(e)?e:Qo(e)&&e.target.value||""},N_=function(){return{all:[],valid:[],invalid:[],duplicate:[]}},HX=Q(ce(xn(xn(xn(xn(xn(xn({},et),BX),$i),Ai),Mi),{},{addButtonText:b(R,"Add"),addButtonVariant:b(R,"outline-secondary"),addOnChange:b(N,!1),duplicateTagText:b(R,"Duplicate tag(s)"),feedbackAriaLive:b(R,"assertive"),ignoreInputFocusSelector:b(Lr,jX),inputAttrs:b(Jt,{}),inputClass:b(ye),inputId:b(R),inputType:b(R,"text",function(t){return xe(iB,t)}),invalidTagText:b(R,"Invalid tag(s)"),limit:b(Dr),limitTagsText:b(R,"Tag limit reached"),noAddOnEnter:b(N,!1),noOuterFocus:b(N,!1),noTagRemove:b(N,!1),placeholder:b(R,"Add tag..."),removeOnDelete:b(N,!1),separator:b(Lr),tagClass:b(ye),tagPills:b(N,!1),tagRemoveLabel:b(R,"Remove tag"),tagRemovedLabel:b(R,"Tag removed"),tagValidator:b(qr),tagVariant:b(R,"secondary")})),XI),D$=V.extend({name:XI,mixins:[Xa,it,NX,_u,Za,fa,Pe],props:HX,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:N_(),focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return xe(iB,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,r=this.form;return xn(xn({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:r})},computedInputHandlers:function(){return xn(xn({},De(this.bvListeners,[rv,nv])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return je(this.separator).filter(Be).filter(Oe).join("")},computedSeparatorRegExp:function(){var e=this.computedSeparator;return e?new RegExp("[".concat(zX(e),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return e!==" "?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return je(this.ignoreInputFocusSelector).filter(Oe).join(",").trim()},disableAddButton:function(){var e=this,r=As(this.newTag);return r===""||!this.splitTags(r).some(function(n){return!xe(e.tags,n)&&e.validateTag(n)})},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var e=this.limit;return gi(e)&&e>=0&&this.tags.length>=e}},watch:(sd={},bm(sd,L_,function(t){this.tags=M$(t)}),bm(sd,"tags",function(e,r){He(e,this[L_])||this.$emit(FX,e),He(e,r)||(e=je(e).filter(Oe),r=je(r).filter(Oe),this.removedTags=r.filter(function(n){return!xe(e,n)}))}),bm(sd,"tagsState",function(e,r){He(e,r)||this.$emit(nW,e.valid,e.invalid,e.duplicate)}),sd),created:function(){this.tags=M$(this[L_])},mounted:function(){var e=un("form",this.$el);e&&ht(e,"reset",this.reset,an)},beforeDestroy:function(){var e=un("form",this.$el);e&&Ot(e,"reset",this.reset,an)},methods:{addTag:function(e){if(e=Be(e)?e:this.newTag,!(this.disabled||As(e)===""||this.isLimitReached)){var r=this.parseTags(e);if(r.valid.length>0||r.all.length===0)if(za(this.getInput(),"select"))this.newTag="";else{var n=[].concat($$(r.invalid),$$(r.duplicate));this.newTag=r.all.filter(function(i){return xe(n,i)}).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}r.valid.length>0&&(this.tags=je(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=N_()})},onInputInput:function(e){if(!(this.disabled||Qo(e)&&e.target.composing)){var r=k$(e),n=this.computedSeparatorRegExp;this.newTag!==r&&(this.newTag=r),r=r7(r),n&&n.test(r.slice(-1))?this.addTag():this.tagsState=r===""?N_():this.parseTags(r)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var r=k$(e);this.newTag!==r&&(this.newTag=r),this.addTag()}},onInputKeydown:function(e){if(!(this.disabled||!Qo(e))){var r=e.keyCode,n=e.target.value||"";!this.noAddOnEnter&&r===qa?(Me(e,{propagation:!1}),this.addTag()):this.removeOnDelete&&(r===tY||r===CL)&&n===""&&(Me(e,{propagation:!1}),this.tags=this.tags.slice(0,-1))}},onClick:function(e){var r=this,n=this.computeIgnoreInputFocusSelector;(!n||!un(n,e.target,!0))&&this.$nextTick(function(){r.focus()})},onInputFocus:function(e){var r=this;this.focusState!=="out"&&(this.focusState="in",this.$nextTick(function(){Xe(function(){r.hasFocus&&(r.$emit(VG,e),r.focusState=null)})}))},onInputBlur:function(e){var r=this;this.focusState!=="in"&&(this.focusState="out",this.$nextTick(function(){Xe(function(){r.hasFocus||(r.$emit(G3,e),r.focusState=null)})}))},onFocusin:function(e){this.hasFocus=!0,this.$emit(rv,e)},onFocusout:function(e){this.hasFocus=!1,this.$emit(nv,e)},handleAutofocus:function(){var e=this;this.$nextTick(function(){Xe(function(){e.autofocus&&e.focus()})})},focus:function(){this.disabled||ke(this.getInput())},blur:function(){this.disabled||mn(this.getInput())},splitTags:function(e){e=_e(e);var r=this.computedSeparatorRegExp;return(r?e.split(r):[e]).map(As).filter(Oe)},parseTags:function(e){var r=this,n=this.splitTags(e),i={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach(function(a){xe(r.tags,a)||xe(i.valid,a)?xe(i.duplicate,a)||i.duplicate.push(a):r.validateTag(a)?i.valid.push(a):xe(i.invalid,a)||i.invalid.push(a)}),i},validateTag:function(e){var r=this.tagValidator;return ua(r)?r(e):!0},getInput:function(){return kn("#".concat(zN(this.computedInputId)),this.$el)},defaultRender:function(e){var r=e.addButtonText,n=e.addButtonVariant,i=e.addTag,a=e.disableAddButton,s=e.disabled,o=e.duplicateTagText,u=e.inputAttrs,l=e.inputClass,c=e.inputHandlers,d=e.inputType,h=e.invalidTagText,p=e.isDuplicate,g=e.isInvalid,_=e.isLimitReached,O=e.limitTagsText,S=e.noTagRemove,E=e.placeholder,x=e.removeTag,f=e.tagClass,m=e.tagPills,v=e.tagRemoveLabel,T=e.tagVariant,P=e.tags,k=this.$createElement,y=P.map(function(U){return U=_e(U),k(a1,{class:f,props:{disabled:s,noRemove:S,pill:m,removeLabel:v,tag:"li",title:U,variant:T},on:{remove:function(){return x(U)}},key:"tags_".concat(U)},U)}),M=h&&g?this.safeId("__invalid_feedback__"):null,C=o&&p?this.safeId("__duplicate_feedback__"):null,w=O&&_?this.safeId("__limit_feedback__"):null,$=[u["aria-describedby"],M,C,w].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:l,style:{outline:0,minWidth:"5rem"},attrs:xn(xn({},u),{},{"aria-describedby":$||null,type:d,placeholder:E||null}),domProps:{value:u.value},on:c,directives:[{name:"model",value:u.value}],ref:"input"}),A=k(cn,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||_,variant:n},on:{click:function(){return i()}},ref:"button"},[this.normalizeSlot(hW)||r]),L=this.safeId("__tag_list__"),F=k("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":L},key:"tags_field"},[k("div",{staticClass:"d-flex",attrs:{role:"group"}},[D,A])]),j=k("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:L},key:"tags_list"},[y,F]),H=k();if(h||o||O){var G=this.feedbackAriaLive,Z=this.computedJoiner,te=k();M&&(te=k(yv,{props:{id:M,ariaLive:G,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(Z)]));var Y=k();C&&(Y=k(_v,{props:{id:C,ariaLive:G},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(Z)]));var W=k();w&&(W=k(_v,{props:{id:w,ariaLive:G},key:"tags_limit_feedback"},[O])),H=k("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[te,Y,W])}return[j,H]}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.form,s=this.tags,o=this.computedInputId,u=this.hasFocus,l=this.noOuterFocus,c=xn({tags:s.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:o,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Ei(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),d=this.normalizeSlot(nr,c)||this.defaultRender(c),h=e("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:o,"aria-live":u?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),p=e("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":u?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),g=e();if(r&&!n){var _=s.length>0;g=(_?s:[""]).map(function(O){return e("input",{class:{"sr-only":!_},attrs:{type:_?"hidden":"text",value:O,required:i,name:r,form:a},key:"tag_input_".concat(O)})})}return e("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:u&&!l&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||l?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[h,p,d,g])}}),VX=fe({components:{BFormTags:D$,BTags:D$,BFormTag:a1,BTag:a1}});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 gs(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){UX(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 UX(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var GX=Q(ce(gs(gs(gs(gs(gs(gs({},et),$i),Ai),Mi),DS),{},{maxRows:b(se),noAutoShrink:b(N,!1),noResize:b(N,!1),rows:b(se,2),wrap:b(R,"soft")})),JI),I$=V.extend({name:JI,directives:{"b-visible":bS},mixins:[Xa,it,Pi,_u,Za,fa,GN,VN,WN],props:GX,data:function(){return{heightInPx:null}},computed:{computedStyle:function(){var e={resize:!this.computedRows||this.noResize?"none":null};return this.computedRows||(e.height=this.heightInPx,e.overflowY="scroll"),e},computedMinRows:function(){return Ve(ie(this.rows,2),2)},computedMaxRows:function(){return Ve(this.computedMinRows,ie(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 gs(gs({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{localValue:function(){this.setHeight()}},mounted:function(){this.setHeight()},methods:{visibleCallback:function(e){e&&this.$nextTick(this.setHeight)},setHeight:function(){var e=this;this.$nextTick(function(){Xe(function(){e.heightInPx=e.computeHeight()})})},computeHeight:function(){if(this.$isServer||!ft(this.computedRows))return null;var e=this.$el;if(!yi(e))return null;var r=$n(e),n=Ie(r.lineHeight,1),i=Ie(r.borderTopWidth,0)+Ie(r.borderBottomWidth,0),a=Ie(r.paddingTop,0)+Ie(r.paddingBottom,0),s=i+a,o=n*this.computedMinRows+s,u=yl(e,"height")||r.height;xr(e,"height","auto");var l=e.scrollHeight;xr(e,"height",u);var c=Ve((l-a)/n,2),d=Na(Ve(c,this.computedMinRows),this.computedMaxRows),h=Ve(yL(d*n+s),o);return this.noAutoShrink&&Ie(u,0)>h?u:"".concat(h,"px")}},render:function(e){return e("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),WX=fe({components:{BFormTextarea:I$,BTextarea:I$}}),mo;function L$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Hd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?L$(Object(r),!0).forEach(function(n){pl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function pl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function YX(t,e){return ZX(t)||XX(t,e)||qX(t,e)||KX()}function KX(){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 qX(t,e){if(t){if(typeof t=="string")return N$(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 N$(t,e)}}function N$(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 XX(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 ZX(t){if(Array.isArray(t))return t}var e0=er("value",{type:R,defaultValue:""}),JX=e0.mixin,QX=e0.props,B$=e0.prop,eZ=e0.event,qu="numeric",tZ=function(e){return"00".concat(e||"").slice(-2)},pp=function(e){e=_e(e);var r=null,n=null,i=null;if(zU.test(e)){var a=e.split(":").map(function(o){return ie(o,null)}),s=YX(a,3);r=s[0],n=s[1],i=s[2]}return{hours:qe(r)?null:r,minutes:qe(n)?null:n,seconds:qe(i)?null:i,ampm:qe(r)||r<12?0:1}},rZ=function(e){var r=e.hours,n=e.minutes,i=e.seconds,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(ft(r)||ft(n)||a&&ft(i))return"";var s=[r,n,a?i:0];return s.map(tZ).join(":")},aB=Q(ce(Hd(Hd(Hd(Hd({},et),QX),Ei(nB,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:b(R),disabled:b(N,!1),footerTag:b(R,"footer"),headerTag:b(R,"header"),hidden:b(N,!1),hideHeader:b(N,!1),hour12:b(N,null),labelAm:b(R,"AM"),labelAmpm:b(R,"AM/PM"),labelHours:b(R,"Hours"),labelMinutes:b(R,"Minutes"),labelNoTimeSelected:b(R,"No time selected"),labelPm:b(R,"PM"),labelSeconds:b(R,"Seconds"),labelSelected:b(R,"Selected time"),locale:b(Lr),minutesStep:b(se,1),readonly:b(N,!1),secondsStep:b(se,1),showSeconds:b(N,!1)})),V3),sB=V.extend({name:V3,mixins:[it,JX,Pe],props:aB,data:function(){var e=pp(this[B$]||"");return{modelHours:e.hours,modelMinutes:e.minutes,modelSeconds:e.seconds,modelAmpm:e.ampm,isLive:!1}},computed:{computedHMS:function(){var e=this.modelHours,r=this.modelMinutes,n=this.modelSeconds;return rZ({hours:e,minutes:r,seconds:n},this.showSeconds)},resolvedOptions:function(){var e=je(this.locale).filter(Oe),r={hour:qu,minute:qu,second:qu};qe(this.hour12)||(r.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(e,r),i=n.resolvedOptions(),a=i.hour12||!1,s=i.hourCycle||(a?"h12":"h23");return{locale:i.locale,hour12:a,hourCycle:s}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Ig(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:qu,minute:qu,timeZone:"UTC"};return this.showSeconds&&(e.second=qu),Ld(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(hr(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(yP,{props:{scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(n){var i=n.hasFocus;return e(yP,{props:{flipV:!0,scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(mo={},pl(mo,B$,function(t,e){if(t!==e&&!He(pp(t),pp(this.computedHMS))){var r=pp(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}}),pl(mo,"computedHMS",function(e,r){e!==r&&this.$emit(eZ,e)}),pl(mo,"context",function(e,r){He(e,r)||this.$emit(Ul,e)}),pl(mo,"modelAmpm",function(e,r){var n=this;if(e!==r){var i=ft(this.modelHours)?0:this.modelHours;this.$nextTick(function(){e===0&&i>11?n.modelHours=i-12:e===1&&i<12&&(n.modelHours=i+12)})}}),pl(mo,"modelHours",function(e,r){e!==r&&(this.modelAmpm=e>11?1:0)}),mo),created:function(){var e=this;this.$nextTick(function(){e.$emit(Ul,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||ke(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=Us();Kt(this.$el,e)&&mn(e)}},formatHours:function(e){var r=this.computedHourCycle;return e=this.is12Hour&&e>12?e-12:e,e=e===0&&r==="h12"?12:e===0&&r==="h24"?24:e===12&&r==="h11"?0:e,this.numberFormatter(e)},formatMinutes:function(e){return this.numberFormatter(e)},formatSeconds:function(e){return this.numberFormatter(e)},formatAmpm:function(e){return e===0?this.labelAm:e===1?this.labelPm:""},setHours:function(e){this.modelHours=e},setMinutes:function(e){this.modelMinutes=e},setSeconds:function(e){this.modelSeconds=e},setAmpm:function(e){this.modelAmpm=e},onSpinLeftRight:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.type,n=e.keyCode;if(!this.disabled&&r==="keydown"&&(n===Oi||n===Wa)){Me(e);var i=this.$refs.spinners||[],a=i.map(function(s){return!!s.hasFocus}).indexOf(!0);a=a+(n===Oi?-1:1),a=a>=i.length?0:a<0?i.length-1:a,ke(i[a])}},setLive:function(e){var r=this;e?this.$nextTick(function(){Xe(function(){r.isLive=!0})}):this.isLive=!1}},render:function(e){var r=this;if(this.hidden)return e();var n=this.disabled,i=this.readonly,a=this.computedLocale,s=this.computedAriaLabelledby,o=this.labelIncrement,u=this.labelDecrement,l=this.valueId,c=this.focus,d=[],h=function(f,m,v){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},P=r.safeId("_spinbutton_".concat(m,"_"))||null;return d.push(P),e(i1,{class:v,props:Hd({id:P,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:i,locale:a,labelIncrement:o,labelDecrement:u,wrap:!0,ariaControls:l,min:0},T),scopedSlots:r.spinScopedSlots,on:{change:f},key:m,ref:"spinners",refInFor:!0})},p=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||i},attrs:{"aria-hidden":"true"}},[e(Lw,{props:{shiftV:4,scale:.5}}),e(Lw,{props:{shiftV:-4,scale:.5}})])},g=[];g.push(h(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),g.push(p()),g.push(h(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(g.push(p()),g.push(h(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&g.push(h(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),g=e("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||i?null:"-1","aria-labelledby":s},on:{keydown:this.onSpinLeftRight,click:function(f){f.target===f.currentTarget&&c()}}},g);var _=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||i},attrs:{id:l,role:"status",for:d.filter(Oe).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:c,focus:c}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),O=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[_]),S=this.normalizeSlot(),E=S?e(this.footerTag,{staticClass:"b-time-footer"},S):e();return e("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":s||null,"aria-disabled":n?"true":null,"aria-readonly":i&&!n?"true":null}},[O,g,E])}}),mp;function F$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Da(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?F$(Object(r),!0).forEach(function(n){_m(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):F$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _m(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var t0=er("value",{type:R,defaultValue:""}),nZ=t0.mixin,iZ=t0.props,j$=t0.prop,aZ=t0.event,oB=De(aB,["hidden","id","value"]),uB=De(kS,["formattedValue","id","lang","rtl","value"]),sZ=Q(ce(Da(Da(Da(Da(Da({},et),iZ),oB),uB),{},{closeButtonVariant:b(R,"outline-secondary"),labelCloseButton:b(R,"Close"),labelNowButton:b(R,"Select now"),labelResetButton:b(R,"Reset"),noCloseButton:b(N,!1),nowButton:b(N,!1),nowButtonVariant:b(R,"outline-primary"),resetButton:b(N,!1),resetButtonVariant:b(R,"outline-danger"),resetValue:b(zo)})),QI),z$=V.extend({name:QI,mixins:[it,nZ],props:sZ,data:function(){return{localHMS:this[j$]||"",localLocale:null,isRTL:!1,formattedValue:"",isVisible:!1}},computed:{computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null}},watch:(mp={},_m(mp,j$,function(t){this.localHMS=t||""}),_m(mp,"localHMS",function(e){this.isVisible&&this.$emit(aZ,e||"")}),mp),methods:{focus:function(){this.disabled||ke(this.$refs.control)},blur:function(){this.disabled||mn(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(Ul,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(){ke(e.$refs.time),e.$emit(Wr)})},onHidden:function(){this.isVisible=!1,this.$emit(Nt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?G7:U7,{attrs:{"aria-hidden":"true"}})}},render:function(e){var r=this.localHMS,n=this.disabled,i=this.readonly,a=this.$props,s=qe(this.placeholder)?this.labelNoTimeSelected:this.placeholder,o=[];if(this.nowButton){var u=this.labelNowButton;o.push(e(cn,{props:{size:"sm",disabled:n||i,variant:this.nowButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onNowButton},key:"now-btn"},u))}if(this.resetButton){o.length>0&&o.push(e("span"," "));var l=this.labelResetButton;o.push(e(cn,{props:{size:"sm",disabled:n||i,variant:this.resetButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onResetButton},key:"reset-btn"},l))}if(!this.noCloseButton){o.length>0&&o.push(e("span"," "));var c=this.labelCloseButton;o.push(e(cn,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onCloseButton},key:"close-btn"},c))}o.length>0&&(o=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":o.length>1,"justify-content-end":o.length<2}},o)]);var d=e(sB,{staticClass:"b-form-time-control",props:Da(Da({},pt(oB,a)),{},{value:r,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},o);return e(NN,{staticClass:"b-form-timepicker",props:Da(Da({},pt(uB,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:_m({},Ua,this.$scopedSlots[Ua]||this.defaultButtonFn),ref:"control"},[d])}}),oZ=fe({components:{BFormTimepicker:z$,BTimepicker:z$}}),uZ=fe({components:{BImg:mS,BImgLazy:rN}}),lZ=Q({tag:b(R,"div")},u3),xv=V.extend({name:u3,functional:!0,props:lZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,pe(i,{staticClass:"input-group-text"}),a)}}),RS=Q({append:b(N,!1),id:b(R),isText:b(N,!1),tag:b(R,"div")},a3),IS=V.extend({name:a3,functional:!0,props:RS,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.append;return e(n.tag,pe(i,{class:{"input-group-append":s,"input-group-prepend":!s},attrs:{id:n.id}}),n.isText?[e(xv,a)]:a)}});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 V$(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){cZ(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 cZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dZ=Q(De(RS,["append"]),s3),lB=V.extend({name:s3,functional:!0,props:dZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(IS,pe(i,{props:V$(V$({},n),{},{append:!0})}),a)}});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){fZ(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 fZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hZ=Q(De(RS,["append"]),o3),cB=V.extend({name:o3,functional:!0,props:hZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(IS,pe(i,{props:G$(G$({},n),{},{append:!1})}),a)}});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 mZ=Q({append:b(R),appendHtml:b(R),id:b(R),prepend:b(R),prependHtml:b(R),size:b(R),tag:b(R,"div")},i3),vZ=V.extend({name:i3,functional:!0,props:mZ,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.prepend,u=n.prependHtml,l=n.append,c=n.appendHtml,d=n.size,h=s||{},p=a(),g={},_=e(),O=Ga(eP,h,p);(O||o||u)&&(_=e(cB,[O?_r(eP,g,h,p):e(xv,{domProps:St(u,o)})]));var S=e(),E=Ga(WE,h,p);return(E||l||c)&&(S=e(lB,[E?_r(WE,g,h,p):e(xv,{domProps:St(c,l)})])),e(n.tag,pe(i,{staticClass:"input-group",class:pZ({},"input-group-".concat(d),d),attrs:{id:n.id||null,role:"group"}}),[_,_r(nr,g,h,p),S])}}),gZ=fe({components:{BInputGroup:vZ,BInputGroupAddon:IS,BInputGroupPrepend:cB,BInputGroupAppend:lB,BInputGroupText:xv}});function bZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _Z=Q({fluid:b(Nr,!1),tag:b(R,"div")},xI),dB=V.extend({name:xI,functional:!0,props:_Z,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.fluid;return e(n.tag,pe(i,{class:bZ({container:!(s||s===""),"container-fluid":s===!0||s===""},"container-".concat(s),s&&s!==!0)}),a)}});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 yZ=Q({bgVariant:b(R),borderVariant:b(R),containerFluid:b(Nr,!1),fluid:b(N,!1),header:b(R),headerHtml:b(R),headerLevel:b(se,3),headerTag:b(R,"h1"),lead:b(R),leadHtml:b(R),leadTag:b(R,"p"),tag:b(R,"div"),textVariant:b(R)},l3),wZ=V.extend({name:l3,functional:!0,props:yZ,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.header,l=i.headerHtml,c=i.lead,d=i.leadHtml,h=i.textVariant,p=i.bgVariant,g=i.borderVariant,_=o||{},O=s(),S={},E=e(),x=Ga(Vs,_,O);if(x||u||l){var f=i.headerLevel;E=e(i.headerTag,{class:od({},"display-".concat(f),f),domProps:x?{}:St(l,u)},_r(Vs,S,_,O))}var m=e(),v=Ga(ZE,_,O);(v||c||d)&&(m=e(i.leadTag,{staticClass:"lead",domProps:v?{}:St(d,c)},_r(ZE,S,_,O)));var T=[E,m,_r(nr,S,_,O)];return i.fluid&&(T=[e(dB,{props:{fluid:i.containerFluid}},T)]),e(i.tag,pe(a,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":i.fluid},od(n,"text-".concat(h),h),od(n,"bg-".concat(p),p),od(n,"border-".concat(g),g),od(n,"border",g),n)}),T)}}),OZ=fe({components:{BJumbotron:wZ}});function W$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Y$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?W$(Object(r),!0).forEach(function(n){ym(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 ym(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var B_=["start","end","center"],SZ=ih(function(t,e){return e=As(_e(e)),e?av(["row-cols",t,e].filter(Oe).join("-")):null}),xZ=ih(function(t){return av(t.replace("cols",""))}),fB=[],TZ=function(){var e=Rf().reduce(function(r,n){return r[Ms(n,"cols")]=b(se),r},xs(null));return fB=Ee(e),Q(ce(Y$(Y$({},e),{},{alignContent:b(R,null,function(r){return xe(je(B_,"between","around","stretch"),r)}),alignH:b(R,null,function(r){return xe(je(B_,"between","around"),r)}),alignV:b(R,null,function(r){return xe(je(B_,"baseline","stretch"),r)}),noGutters:b(N,!1),tag:b(R,"div")})),E3)},EZ={name:E3,functional:!0,get props(){return delete this.props,this.props=TZ(),this.props},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.alignV,u=i.alignH,l=i.alignContent,c=[];return fB.forEach(function(d){var h=SZ(xZ(d),i[d]);h&&c.push(h)}),c.push((n={"no-gutters":i.noGutters},ym(n,"align-items-".concat(o),o),ym(n,"justify-content-".concat(u),u),ym(n,"align-content-".concat(l),l),n)),e(i.tag,pe(a,{staticClass:"row",class:c}),s)}},PZ=fe({components:{BContainer:dB,BRow:EZ,BCol:vm,BFormRow:wv}}),CZ=fe({components:{BLink:hn}});function $Z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var AZ=Q({flush:b(N,!1),horizontal:b(Nr,!1),tag:b(R,"div")},c3),MZ=V.extend({name:c3,functional:!0,props:AZ,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:$Z({"list-group-flush":n.flush,"list-group-horizontal":s===!0},"list-group-horizontal-".concat(s),Be(s))};return e(n.tag,pe(i,o),a)}});function K$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function q$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?K$(Object(r),!0).forEach(function(n){Vd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):K$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Vd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kZ=["a","router-link","button","b-link"],r0=De(Ci,["event","routerTag"]);delete r0.href.default;delete r0.to.default;var DZ=Q(ce(q$(q$({},r0),{},{action:b(N,!1),button:b(N,!1),tag:b(R,"div"),variant:b(R)})),d3),RZ=V.extend({name:d3,functional:!0,props:DZ,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.button,u=i.variant,l=i.active,c=i.disabled,d=ah(i),h=o?"button":d?hn:i.tag,p=!!(i.action||d||o||xe(kZ,i.tag)),g={},_={};return ca(h,"button")?((!a.attrs||!a.attrs.type)&&(g.type="button"),i.disabled&&(g.disabled=!0)):_=pt(r0,i),e(h,pe(a,{attrs:g,props:_,staticClass:"list-group-item",class:(n={},Vd(n,"list-group-item-".concat(u),u),Vd(n,"list-group-item-action",p),Vd(n,"active",l),Vd(n,"disabled",c),n)}),s)}}),IZ=fe({components:{BListGroup:MZ,BListGroupItem:RZ}});function LZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var NZ=Q({right:b(N,!1),tag:b(R,"div"),verticalAlign:b(R,"top")},h3),hB=V.extend({name:h3,functional:!0,props:NZ,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,pe(i,{staticClass:"media-aside",class:LZ({"media-aside-right":n.right},"align-self-".concat(o),o)}),a)}}),BZ=Q({tag:b(R,"div")},p3),pB=V.extend({name:p3,functional:!0,props:BZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,pe(i,{staticClass:"media-body"}),a)}}),FZ=Q({noBody:b(N,!1),rightAlign:b(N,!1),tag:b(R,"div"),verticalAlign:b(R,"top")},f3),jZ=V.extend({name:f3,functional:!0,props:FZ,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=r.children,u=n.noBody,l=n.rightAlign,c=n.verticalAlign,d=u?o:[];if(!u){var h={},p=a(),g=s||{};d.push(e(pB,_r(nr,h,g,p)));var _=_r(pW,h,g,p);_&&d[l?"push":"unshift"](e(hB,{props:{right:l,verticalAlign:c}},_))}return e(n.tag,pe(i,{staticClass:"media"}),d)}}),zZ=fe({components:{BMedia:jZ,BMediaAside:hB,BMediaBody:pB}}),_n="$_documentListeners",HZ=V.extend({created:function(){this[_n]={}},beforeDestroy:function(){var e=this;Ee(this[_n]||{}).forEach(function(r){e[_n][r].forEach(function(n){e.listenOffDocument(r,n)})}),this[_n]=null},methods:{registerDocumentListener:function(e,r){this[_n]&&(this[_n][e]=this[_n][e]||[],xe(this[_n][e],r)||this[_n][e].push(r))},unregisterDocumentListener:function(e,r){this[_n]&&this[_n][e]&&(this[_n][e]=this[_n][e].filter(function(n){return n!==r}))},listenDocument:function(e,r,n){e?this.listenOnDocument(r,n):this.listenOffDocument(r,n)},listenOnDocument:function(e,r){nt&&(ht(document,e,r,Ne),this.registerDocumentListener(e,r))},listenOffDocument:function(e,r){nt&&Ot(document,e,r,Ne),this.unregisterDocumentListener(e,r)}}}),yn="$_windowListeners",VZ=V.extend({created:function(){this[yn]={}},beforeDestroy:function(){var e=this;Ee(this[yn]||{}).forEach(function(r){e[yn][r].forEach(function(n){e.listenOffWindow(r,n)})}),this[yn]=null},methods:{registerWindowListener:function(e,r){this[yn]&&(this[yn][e]=this[yn][e]||[],xe(this[yn][e],r)||this[yn][e].push(r))},unregisterWindowListener:function(e,r){this[yn]&&this[yn][e]&&(this[yn][e]=this[yn][e].filter(function(n){return n!==r}))},listenWindow:function(e,r,n){e?this.listenOnWindow(r,n):this.listenOffWindow(r,n)},listenOnWindow:function(e,r){nt&&(ht(window,e,r,Ne),this.registerWindowListener(e,r))},listenOffWindow:function(e,r){nt&&Ot(window,e,r,Ne),this.unregisterWindowListener(e,r)}}}),Zl=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function UZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var LS=V.extend({computed:{scopedStyleAttrs:function(){var e=Zl(this.$parent);return e?UZ({},e,""):{}}}}),GZ=V.extend({abstract:!0,name:NG,props:{nodes:b(sL)},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){o7(this.$el)},render:function(e){var r=this.updatedNodes,n=ve(r)?r({}):r;return n=je(n).filter(Oe),n&&n.length>0&&!n[0].text?n[0]:e()}}),WZ={container:b([$s,R],"body"),disabled:b(N,!1),tag:b(R,"div")},YZ=V.extend({name:LG,mixins:[Pe],props:WZ,watch:{disabled:{immediate:!0,handler:function(e){e?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(nt){var e=this.container;return Be(e)?kn(e):e}else return null},mountTarget:function(){if(!this.$_target){var e=this.getContainer();if(e){var r=document.createElement("div");e.appendChild(r),this.$_target=new GZ({el:r,parent:this,propsData:{nodes:je(this.normalizeSlot())}})}}},updateTarget:function(){if(nt&&this.$_target){var e=this.$scopedSlots.default;this.disabled||(e&&this.$_defaultFn!==e?this.$_target.updatedNodes=e:e||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=e}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(e){if(this.disabled){var r=je(this.normalizeSlot()).filter(Oe);if(r.length>0&&!r[0].text)return r[0]}return e()}});function o1(t){"@babel/helpers - typeof";return o1=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},o1(t)}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 Z$(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){KZ(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 KZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J$(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 XZ(t,e,r){return e&&J$(t.prototype,e),r&&J$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function wm(){return typeof Reflect<"u"&&Reflect.get?wm=Reflect.get:wm=function(e,r,n){var i=ZZ(e,r);if(i){var a=Object.getOwnPropertyDescriptor(i,r);return a.get?a.get.call(arguments.length<3?e:n):a.value}},wm.apply(this,arguments)}function ZZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jl(t),t!==null););return t}function JZ(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&&u1(t,e)}function u1(t,e){return u1=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},u1(t,e)}function QZ(t){var e=tJ();return function(){var n=Jl(t),i;if(e){var a=Jl(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return eJ(this,i)}}function eJ(t,e){if(e&&(o1(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mB(t)}function mB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tJ(){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 Jl(t){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(t)}var rJ=function(t){JZ(r,t);var e=QZ(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return qZ(this,r),i=e.call(this,n,a),Eg(mB(i),{trigger:Xn()}),i}return XZ(r,null,[{key:"Defaults",get:function(){return Z$(Z$({},wm(Jl(r),"Defaults",this)),{},{trigger:null})}}]),r}(bu),Q$=1040,nJ=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",iJ=".sticky-top",aJ=".navbar-toggler",sJ=V.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,r){nt&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),Vr(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),Cr(document.body,"modal-open")),bt(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),Xe(function(){r.updateModals(e||[])})}},methods:{registerModal:function(e){e&&this.modals.indexOf(e)===-1&&this.modals.push(e)},unregisterModal:function(e){var r=this.modals.indexOf(e);r>-1&&(this.modals.splice(r,1),!e._isBeingDestroyed&&!e._isDestroyed&&this.resetModal(e))},getBaseZIndex:function(){if(nt&&ft(this.baseZIndex)){var e=document.createElement("div");Vr(e,"modal-backdrop"),Vr(e,"d-none"),xr(e,"display","none"),document.body.appendChild(e),this.baseZIndex=ie($n(e).zIndex,Q$),document.body.removeChild(e)}return this.baseZIndex||Q$},getScrollbarWidth:function(){if(nt&&ft(this.scrollbarWidth)){var e=document.createElement("div");Vr(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=au(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=au(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;In(nJ).forEach(function(i){var a=yl(i,"paddingRight")||"";bt(i,"data-padding-right",a),xr(i,"paddingRight","".concat(Ie($n(i).paddingRight,0)+r,"px")),e._paddingChangedForModal.push(i)}),In(iJ).forEach(function(i){var a=yl(i,"marginRight")||"";bt(i,"data-margin-right",a),xr(i,"marginRight","".concat(Ie($n(i).marginRight,0)-r,"px")),e._marginChangedForModal.push(i)}),In(aJ).forEach(function(i){var a=yl(i,"marginRight")||"";bt(i,"data-margin-right",a),xr(i,"marginRight","".concat(Ie($n(i).marginRight,0)+r,"px")),e._marginChangedForModal.push(i)});var n=yl(e,"paddingRight")||"";bt(e,"data-padding-right",n),xr(e,"paddingRight","".concat(Ie($n(e).paddingRight,0)+r,"px"))}},resetScrollbar:function(){var e=document.body;e._paddingChangedForModal&&e._paddingChangedForModal.forEach(function(r){ia(r,"data-padding-right")&&(xr(r,"paddingRight",Dn(r,"data-padding-right")||""),na(r,"data-padding-right"))}),e._marginChangedForModal&&e._marginChangedForModal.forEach(function(r){ia(r,"data-margin-right")&&(xr(r,"marginRight",Dn(r,"data-margin-right")||""),na(r,"data-margin-right"))}),e._paddingChangedForModal=null,e._marginChangedForModal=null,ia(e,"data-padding-right")&&(xr(e,"paddingRight",Dn(e,"data-padding-right")||""),na(e,"data-padding-right"))}}}),Xu=new sJ;function eA(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 ys(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?eA(Object(r),!0).forEach(function(n){wn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var n0=er("visible",{type:N,defaultValue:!1,event:fn}),oJ=n0.mixin,uJ=n0.props,F_=n0.prop,lJ=n0.event,cJ="backdrop",dJ="esc",fJ="FORCE",hJ="toggle",Om="cancel",Sm="headerclose",xm="ok",pJ=[Om,Sm,xm],mJ={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},vB=Q(ce(ys(ys(ys({},et),uJ),{},{ariaLabel:b(R),autoFocusButton:b(R,null,function(t){return qe(t)||xe(pJ,t)}),bodyBgVariant:b(R),bodyClass:b(ye),bodyTextVariant:b(R),busy:b(N,!1),buttonSize:b(R),cancelDisabled:b(N,!1),cancelTitle:b(R,"Cancel"),cancelTitleHtml:b(R),cancelVariant:b(R,"secondary"),centered:b(N,!1),contentClass:b(ye),dialogClass:b(ye),footerBgVariant:b(R),footerBorderVariant:b(R),footerClass:b(ye),footerTag:b(R,"footer"),footerTextVariant:b(R),headerBgVariant:b(R),headerBorderVariant:b(R),headerClass:b(ye),headerCloseContent:b(R,"&times;"),headerCloseLabel:b(R,"Close"),headerCloseVariant:b(R),headerTag:b(R,"header"),headerTextVariant:b(R),hideBackdrop:b(N,!1),hideFooter:b(N,!1),hideHeader:b(N,!1),hideHeaderClose:b(N,!1),ignoreEnforceFocusSelector:b(Lr),lazy:b(N,!1),modalClass:b(ye),noCloseOnBackdrop:b(N,!1),noCloseOnEsc:b(N,!1),noEnforceFocus:b(N,!1),noFade:b(N,!1),noStacking:b(N,!1),okDisabled:b(N,!1),okOnly:b(N,!1),okTitle:b(R,"OK"),okTitleHtml:b(R),okVariant:b(R,"primary"),returnFocus:b([$s,Jt,R]),scrollable:b(N,!1),size:b(R,"md"),static:b(N,!1),title:b(R),titleClass:b(ye),titleHtml:b(R),titleSrOnly:b(N,!1),titleTag:b(R,"h5")})),tn),gB=V.extend({name:tn,mixins:[or,it,oJ,HZ,Pi,VZ,Pe,LS],inheritAttrs:!1,props:vB,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,scrollbarWidth:0,zIndex:Xu.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={},wn(e,"modal-".concat(this.size),this.size),wn(e,"modal-dialog-centered",this.centered),wn(e,"modal-dialog-scrollable",this.scrollable),e),this.dialogClass]},headerClasses:function(){var e;return[(e={},wn(e,"bg-".concat(this.headerBgVariant),this.headerBgVariant),wn(e,"text-".concat(this.headerTextVariant),this.headerTextVariant),wn(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={},wn(e,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),wn(e,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),e),this.bodyClass]},footerClasses:function(){var e;return[(e={},wn(e,"bg-".concat(this.footerBgVariant),this.footerBgVariant),wn(e,"text-".concat(this.footerTextVariant),this.footerTextVariant),wn(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 je(this.ignoreEnforceFocusSelector).filter(Oe).join(",").trim()},computedAttrs:function(){var e=this.static?{}:this.scopedStyleAttrs;return ys(ys(ys({},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(l_)||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:wn({},F_,function(t,e){t!==e&&this[t?"show":"hide"]()}),created:function(){this.$_observer=null,this.$_returnFocus=this.returnFocus||null},mounted:function(){this.zIndex=Xu.getBaseZIndex(),this.listenOnRoot(qt(tn,br),this.showHandler),this.listenOnRoot(qt(tn,on),this.hideHandler),this.listenOnRoot(qt(tn,rL),this.toggleHandler),this.listenOnRoot(Ct(tn,br),this.modalListener),this[F_]===!0&&this.$nextTick(this.show)},beforeDestroy:function(){Xu.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=Nf(this.$refs.content,this.checkModalOverflow.bind(this),mJ))},updateModel:function(e){e!==this[F_]&&this.$emit(lJ,e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new rJ(e,ys(ys({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(Nt,this.show);return}this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent(br,{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(on,{cancelable:e!==fJ,trigger:e||null});if(e===xm?this.$emit(GG,r):e===Om?this.$emit(FG,r):e===Sm&&this.$emit(Ew,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(hJ):this.show()},getActiveElement:function(){var e=Us(nt?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(Xu.modalsAreOpen&&this.noStacking){this.listenOnRootOnce(Ct(tn,Nt),this.doShow);return}Xu.registerModal(this),this.isHidden=!1,this.$nextTick(function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick(function(){e.setObserver(!0)})})},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,Xe(function(){Xe(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,Xe(function(){e.emitEvent(e.buildEvent(Wr)),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,Xu.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent(Nt))})},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(tn,r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function i(a){Ot(r,"mouseup",i,Ne),a.target===r&&(e.ignoreBackdropClick=!0)};ht(r,"mouseup",n,Ne)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!Kt(document.body,e.target)||Kt(this.$refs.content,e.target)||this.hide(cJ)},onOk:function(){this.hide(xm)},onCancel:function(){this.hide(Om)},onClose:function(){this.hide(Sm)},onEsc:function(e){e.keyCode===lS&&this.isVisible&&!this.noCloseOnEsc&&this.hide(dJ)},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||Kt(r,n)||this.computeIgnoreEnforceFocusSelector&&un(this.computeIgnoreEnforceFocusSelector,n,!0))){var i=Dw(this.$refs.content),a=this.$refs["bottom-trap"],s=this.$refs["top-trap"];if(a&&n===a){if(ke(i[0]))return}else if(s&&n===s&&ke(i[i.length-1]))return;ke(r,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,r){e===this.modalId&&(this.$_returnFocus=r||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,r){e===this.modalId&&this.toggle(r)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;nt&&Xe(function(){var r=e.$refs.modal,n=e.$refs.content,i=e.getActiveElement();if(r&&n&&!(i&&Kt(n,i))){var a=e.$refs["ok-button"],s=e.$refs["cancel-button"],o=e.$refs["close-button"],u=e.autoFocusButton,l=u===xm&&a?a.$el||a:u===Om&&s?s.$el||s:u===Sm&&o?o.$el||o:n;ke(l),l===n&&e.$nextTick(function(){r.scrollTop=0})}})},returnFocusTo:function(){var e=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick(function(){e=Be(e)?kn(e):e,e&&(e=e.$el||e,ke(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(RW,this.slotScope);if(!n){var i=e();this.hideHeaderClose||(i=e(su,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot(IW)])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(l_)?{}:St(this.titleHtml,this.title)},this.normalizeSlot(l_,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(nr,this.slotScope)),s=e();if(!this.hideFooter){var o=this.normalizeSlot(DW,this.slotScope);if(!o){var u=e();this.okOnly||(u=e(cn,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(JE)?{}:St(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(JE)));var l=e(cn,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(QE)?{}:St(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(QE));o=[u,l]}s=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[o])}var c=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,a,s]),d=e(),h=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),h=e("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var p=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[d,c,h]),g=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[p]);g=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[g]);var _=e();return!this.hideBackdrop&&this.isVisible&&(_=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(kW))),_=e(vu,{props:{noFade:this.noFade}},[_]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[ja])},[g,_])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(YZ,[this.makeModal(e)])}}),vJ=qt(tn,br),Tv="__bv_modal_directive__",bB=function(e){var r=e.modifiers,n=r===void 0?{}:r,i=e.arg,a=e.value;return Be(a)?a:Be(i)?i:Ee(n).reverse()[0]},_B=function(e){return e&&za(e,".dropdown-menu > li, li.nav-item")&&kn("a, button",e)||e},yB=function(e){e&&e.tagName!=="BUTTON"&&(ia(e,"role")||bt(e,"role","button"),e.tagName!=="A"&&!ia(e,"tabindex")&&bt(e,"tabindex","0"))},gJ=function(e,r,n){var i=bB(r),a=_B(e);if(i&&a){var s=function(u){var l=u.currentTarget;if(!$o(l)){var c=u.type,d=u.keyCode;(c==="click"||c==="keydown"&&(d===qa||d===da))&&n.context.$root.$emit(vJ,i,l)}};e[Tv]={handler:s,target:i,trigger:a},yB(a),ht(a,"click",s,an),a.tagName!=="BUTTON"&&Dn(a,"role")==="button"&&ht(a,"keydown",s,an)}},wB=function(e){var r=e[Tv]||{},n=r.trigger,i=r.handler;n&&i&&(Ot(n,"click",i,an),Ot(n,"keydown",i,an),Ot(e,"click",i,an),Ot(e,"keydown",i,an)),delete e[Tv]},tA=function(e,r,n){var i=e[Tv]||{},a=bB(r),s=_B(e);(a!==i.target||s!==i.trigger)&&(wB(e),gJ(e,r,n)),yB(s)},bJ=function(){},OB={inserted:tA,updated:bJ,componentUpdated:tA,unbind:wB};function _J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rA(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 yJ(t,e,r){return e&&rA(t.prototype,e),r&&rA(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function nA(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 ya(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?nA(Object(r),!0).forEach(function(n){wJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function OJ(t){return EJ(t)||TJ(t)||xJ(t)||SJ()}function SJ(){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 xJ(t,e){if(t){if(typeof t=="string")return l1(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 l1(t,e)}}function TJ(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function EJ(t){if(Array.isArray(t))return l1(t)}function l1(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 vo="$bvModal",j_="_bv__modal",PJ=["id"].concat(OJ(Ee(De(vB,["busy","lazy","noStacking","static","visible"])))),CJ=function(){},z_={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},iA=function(e){return PJ.reduce(function(r,n){return Bt(e[n])||(r[n]=e[n]),r},{})},$J=function(e){var r=e.extend({name:SG,extends:gB,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var o=this,u=function(){o.$nextTick(function(){Xe(function(){o.$destroy()})})};this.$parent.$once(Mf,u),this.$once(Nt,u),this.$router&&this.$route&&this.$once(nL,this.$watch("$router",u)),this.show()}}),n=function(o,u){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:CJ;if(!(tv(vo)||zE(vo))){var c=new r({parent:o,propsData:ya(ya(ya({},iA(An(tn))),{},{hideHeaderClose:!0,hideHeader:!(u.title||u.titleHtml)},De(u,Ee(z_))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Ee(z_).forEach(function(d){Bt(u[d])||(c.$slots[z_[d]]=je(u[d]))}),new Promise(function(d,h){var p=!1;c.$once(Mf,function(){p||h(new Error("BootstrapVue MsgBox destroyed before resolve"))}),c.$on(on,function(_){if(!_.defaultPrevented){var O=l(_);_.defaultPrevented||(p=!0,d(O))}});var g=document.createElement("div");document.body.appendChild(g),c.$mount(g)})}},i=function(o,u){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(!(!u||zE(vo)||tv(vo)||!ve(c)))return n(o,ya(ya({},iA(l)),{},{msgBoxContent:u}),c)},a=function(){function s(o){_J(this,s),rh(this,{_vm:o,_root:o.$root}),Eg(this,{_vm:Xn(),_root:Xn()})}return yJ(s,[{key:"show",value:function(u){if(u&&this._root){for(var l,c=arguments.length,d=new Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];(l=this._root).$emit.apply(l,[qt(tn,"show"),u].concat(d))}}},{key:"hide",value:function(u){if(u&&this._root){for(var l,c=arguments.length,d=new Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];(l=this._root).$emit.apply(l,[qt(tn,"hide"),u].concat(d))}}},{key:"msgBoxOk",value:function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=ya(ya({},l),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:u});return i(this._vm,u,c,function(){return!0})}},{key:"msgBoxConfirm",value:function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=ya(ya({},l),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return i(this._vm,u,c,function(d){var h=d.trigger;return h==="ok"?!0:h==="cancel"?!1:null})}}]),s}();e.mixin({beforeCreate:function(){this[j_]=new a(this)}}),tu(e.prototype,vo)||JO(e.prototype,vo,{get:function(){return(!this||!this[j_])&&sr('"'.concat(vo,'" must be accessed from a Vue instance "this" context.'),tn),this[j_]}})},AJ=fe({plugins:{plugin:$J}}),MJ=fe({components:{BModal:gB},directives:{VBModal:OB},plugins:{BVModalPlugin:AJ}});function aA(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kJ=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},NS=Q({align:b(R),cardHeader:b(N,!1),fill:b(N,!1),justified:b(N,!1),pills:b(N,!1),small:b(N,!1),tabs:b(N,!1),tag:b(R,"ul"),vertical:b(N,!1)},m3),SB=V.extend({name:m3,functional:!0,props:NS,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.tabs,u=i.pills,l=i.vertical,c=i.align,d=i.cardHeader;return e(i.tag,pe(a,{staticClass:"nav",class:(n={"nav-tabs":o,"nav-pills":u&&!o,"card-header-tabs":!l&&d&&o,"card-header-pills":!l&&d&&u&&!o,"flex-column":l,"nav-fill":!l&&i.fill,"nav-justified":!l&&i.justified},aA(n,kJ(c),!l&&c),aA(n,"small",i.small),n)}),s)}});function sA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function oA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sA(Object(r),!0).forEach(function(n){DJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function DJ(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=De(Ci,["event","routerTag"]),RJ=Q(ce(oA(oA({},xB),{},{linkAttrs:b(Jt,{}),linkClasses:b(ye)})),w3),IJ=V.extend({name:w3,functional:!0,props:RJ,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",pe(De(i,["on"]),{staticClass:"nav-item"}),[e(hn,{staticClass:"nav-link",class:n.linkClasses,attrs:n.linkAttrs,props:pt(xB,n),on:a},s)])}}),LJ={},NJ=V.extend({name:xG,functional:!0,props:LJ,render:function(e,r){var n=r.data,i=r.children;return e("li",pe(n,{staticClass:"navbar-text"}),i)}});function uA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ev(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?uA(Object(r),!0).forEach(function(n){BJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function BJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var TB=De(ES,["inline"]),FJ=Q(ce(Ev(Ev({},TB),{},{formClass:b(ye)})),y3),jJ=V.extend({name:y3,functional:!0,props:FJ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=r.listeners,o=e(PS,{class:n.formClass,props:Ev(Ev({},pt(TB,n)),{},{inline:!0}),attrs:i.attrs,on:s},a);return e("li",pe(De(i,["attrs","on"]),{staticClass:"form-inline"}),[o])}});function zJ(t){return GJ(t)||UJ(t)||VJ(t)||HJ()}function HJ(){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 VJ(t,e){if(t){if(typeof t=="string")return c1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c1(t,e)}}function UJ(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function GJ(t){if(Array.isArray(t))return c1(t)}function c1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function lA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function cA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lA(Object(r),!0).forEach(function(n){WJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function WJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var YJ=Q(ce(cA(cA({},et),Ei(PN,[].concat(zJ(Ee(Hg)),["html","lazy","menuClass","noCaret","role","text","toggleClass"])))),O3),vp=V.extend({name:O3,mixins:[it,TS,Pe],props:YJ,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(hn,{staticClass:"nav-link dropdown-toggle",class:this.toggleClasses,props:{href:"#".concat(this.id||""),disabled:this.disabled},attrs:{id:r,role:"button","aria-haspopup":"true","aria-expanded":i?"true":"false","aria-controls":n},on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle},ref:"toggle"},[this.normalizeSlot([Ua,XW])||e("span",{domProps:St(this.html,this.text)})]),o=e("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{tabindex:"-1","aria-labelledby":r,id:n},on:{keydown:this.onKeydown},ref:"menu"},!this.lazy||i?this.normalizeSlot(nr,{hide:a}):[e()]);return e("li",{staticClass:"nav-item b-nav-dropdown dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[s,o])}}),EB=fe({components:{BNav:SB,BNavItem:IJ,BNavText:NJ,BNavForm:jJ,BNavItemDropdown:vp,BNavItemDd:vp,BNavDropdown:vp,BNavDd:vp},plugins:{DropdownPlugin:CS}});function H_(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var KJ=Q({fixed:b(R),print:b(N,!1),sticky:b(N,!1),tag:b(R,"nav"),toggleable:b(Nr,!1),type:b(R,"light"),variant:b(R)},v3),qJ=V.extend({name:v3,mixins:[Pe],provide:function(){return{bvNavbar:this}},props:KJ,computed:{breakpointClass:function(){var e=this.toggleable,r=fL()[0],n=null;return e&&Be(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},H_(r,"navbar-".concat(i),i),H_(r,"bg-".concat(a),a),H_(r,"fixed-".concat(s),s),r),this.breakpointClass],attrs:{role:ca(n,"nav")?null:"navigation"}},[this.normalizeSlot()])}});function dA(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var XJ=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},ZJ=Q(Ei(NS,["tag","fill","justified","align","small"]),b3),JJ=V.extend({name:b3,functional:!0,props:ZJ,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.align;return e(i.tag,pe(a,{staticClass:"navbar-nav",class:(n={"nav-fill":i.fill,"nav-justified":i.justified},dA(n,XJ(o),o),dA(n,"small",i.small),n)}),s)}});function fA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function hA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fA(Object(r),!0).forEach(function(n){QJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function QJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i0=De(Ci,["event","routerTag"]);i0.href.default=void 0;i0.to.default=void 0;var eQ=Q(ce(hA(hA({},i0),{},{tag:b(R,"div")})),g3),tQ=V.extend({name:g3,functional:!0,props:eQ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.to||n.href,o=s?hn:n.tag;return e(o,pe(i,{staticClass:"navbar-brand",props:s?pt(i0,n):{}}),a)}}),pA="navbar-toggler",rQ=Ct(Er,"state"),nQ=Ct(Er,"sync-state"),iQ=Q({disabled:b(N,!1),label:b(R,"Toggle navigation"),target:b(Lr,void 0,!0)},_3),mA=V.extend({name:_3,directives:{VBToggle:cN},mixins:[Pi,Pe],props:iQ,data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(rQ,this.handleStateEvent),this.listenOnRoot(nQ,this.handleStateEvent)},methods:{onClick:function(e){this.disabled||this.$emit(ai,e)},handleStateEvent:function(e,r){e===this.target&&(this.toggleState=r)}},render:function(e){var r=this.disabled;return e("button",{staticClass:pA,class:{disabled:r},directives:[{name:"VBToggle",value:this.target}],attrs:{type:"button",disabled:r,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot(nr,{expanded:this.toggleState})||e("span",{staticClass:"".concat(pA,"-icon")})])}}),aQ=fe({components:{BNavbar:qJ,BNavbarNav:JJ,BNavbarBrand:tQ,BNavbarToggle:mA,BNavToggle:mA},plugins:{NavPlugin:EB,CollapsePlugin:dN,DropdownPlugin:CS}});function V_(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var sQ=Q({label:b(R),role:b(R,"status"),small:b(N,!1),tag:b(R,"span"),type:b(R,"border"),variant:b(R)},D3),PB=V.extend({name:D3,functional:!0,props:sQ,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=s(),l=o||{},c=_r(lL,{},l,u)||i.label;return c&&(c=e("span",{staticClass:"sr-only"},c)),e(i.tag,pe(a,{attrs:{role:c?i.role||"status":null,"aria-hidden":c?null:"true"},class:(n={},V_(n,"spinner-".concat(i.type),i.type),V_(n,"spinner-".concat(i.type,"-sm"),i.small),V_(n,"text-".concat(i.variant),i.variant),n)}),[c||e()])}});function vA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ud(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vA(Object(r),!0).forEach(function(n){oQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function oQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var U_={top:0,left:0,bottom:0,right:0},uQ=Q({bgColor:b(R),blur:b(R,"2px"),fixed:b(N,!1),noCenter:b(N,!1),noFade:b(N,!1),noWrap:b(N,!1),opacity:b(se,.85,function(t){var e=Ie(t,0);return e>=0&&e<=1}),overlayTag:b(R,"div"),rounded:b(Nr,!1),show:b(N,!1),spinnerSmall:b(N,!1),spinnerType:b(R,"border"),spinnerVariant:b(R),variant:b(R,"light"),wrapTag:b(R,"div"),zIndex:b(se,10)},S3),lQ=V.extend({name:S3,mixins:[Pe],props:uQ,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(PB,{props:{type:r,variant:n,small:i}})}},render:function(e){var r=this,n=this.show,i=this.fixed,a=this.noFade,s=this.noWrap,o=this.slotScope,u=e();if(n){var l=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:ud(ud({},U_),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),c=e("div",{staticClass:"position-absolute",style:this.noCenter?ud({},U_):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(UW,o)||this.defaultOverlayFn(o)]);u=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!s||s&&!i,"position-fixed":s&&i},style:ud(ud({},U_),{},{zIndex:this.zIndex||10}),on:{click:function(h){return r.$emit(ai,h)}},key:"overlay"},[l,c])}return u=e(vu,{props:{noFade:a,appear:!0},on:{"after-enter":function(){return r.$emit(Wr)},"after-leave":function(){return r.$emit(Nt)}}},[u]),s?u:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},s?[u]:[this.normalizeSlot(),u])}}),cQ=fe({components:{BOverlay:lQ}}),ld;function gA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function bA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gA(Object(r),!0).forEach(function(n){Tm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a0=er("value",{type:kf,defaultValue:null,validator:function(e){return!ft(e)&&ie(e,0)<1?(sr('"v-model" value must be a number greater than "0"',Pg),!1):!0}}),dQ=a0.mixin,fQ=a0.props,d1=a0.prop,hQ=a0.event,gp=3,BS=5,pQ=function(e,r){return rf(r,function(n,i){return{number:e+i,classes:null}})},_A=function(e){var r=ie(e)||1;return r<1?BS:r},yA=function(e,r){var n=ie(e)||1;return n>r?r:n<1?1:n},wA=function(e){if(e.keyCode===da)return Me(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},FS=Q(ce(bA(bA({},fQ),{},{align:b(R,"left"),ariaLabel:b(R,"Pagination"),disabled:b(N,!1),ellipsisClass:b(ye),ellipsisText:b(R,"…"),firstClass:b(ye),firstNumber:b(N,!1),firstText:b(R,"«"),hideEllipsis:b(N,!1),hideGotoEndButtons:b(N,!1),labelFirstPage:b(R,"Go to first page"),labelLastPage:b(R,"Go to last page"),labelNextPage:b(R,"Go to next page"),labelPage:b(cW,"Go to page"),labelPrevPage:b(R,"Go to previous page"),lastClass:b(ye),lastNumber:b(N,!1),lastText:b(R,"»"),limit:b(se,BS,function(t){return ie(t,0)<1?(sr('Prop "limit" must be a number greater than "0"',Pg),!1):!0}),nextClass:b(ye),nextText:b(R,"›"),pageClass:b(ye),pills:b(N,!1),prevClass:b(ye),prevText:b(R,"‹"),size:b(R)})),"pagination"),CB=V.extend({mixins:[dQ,Pe],props:FS,data:function(){var e=ie(this[d1],0);return e=e>0?e:-1,{currentPage:e,localNumberOfPages:1,localLimit:BS}},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 yA(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var e=this.localLimit,r=this.localNumberOfPages,n=this.computedCurrentPage,i=this.hideEllipsis,a=this.firstNumber,s=this.lastNumber,o=!1,u=!1,l=e,c=1;r<=e?l=r:n<e-1&&e>gp?((!i||s)&&(u=!0,l=e-(a?0:1)),l=Na(l,e)):r-n+2<e&&e>gp?((!i||a)&&(o=!0,l=e-(s?0:1)),c=r-l+1):(e>gp&&(l=e-(i?0:2),o=!!(!i||a),u=!!(!i||s)),c=n-If(l/2)),c<1?(c=1,o=!1):c>r-l&&(c=r-l+1,u=!1),o&&a&&c<4&&(l=l+2,c=1,o=!1);var d=c+l-1;return u&&s&&d>r-3&&(l=l+(d===r-2?2:3),u=!1),e<=gp&&(a&&c===1?l=Na(l+1,r,e+1):s&&r===c+l-1&&(c=Ve(c-1,1),l=Na(r-c+1,r,e+1))),l=Na(l,r-c+1),{showFirstDots:o,showLastDots:u,numberOfLinks:l,startNumber:c}},pageList:function(){var e=this.paginationParams,r=e.numberOfLinks,n=e.startNumber,i=this.computedCurrentPage,a=pQ(n,r);if(a.length>3){var s=i-n,o="bv-d-xs-down-none";if(s===0)for(var u=3;u<a.length;u++)a[u].classes=o;else if(s===a.length-1)for(var l=0;l<a.length-3;l++)a[l].classes=o;else{for(var c=0;c<s-1;c++)a[c].classes=o;for(var d=a.length-1;d>s+1;d--)a[d].classes=o}}return a}},watch:(ld={},Tm(ld,d1,function(t,e){t!==e&&(this.currentPage=yA(t,this.localNumberOfPages))}),Tm(ld,"currentPage",function(e,r){e!==r&&this.$emit(hQ,e>0?e:null)}),Tm(ld,"limit",function(e,r){e!==r&&(this.localLimit=_A(e))}),ld),created:function(){var e=this;this.localLimit=_A(this.limit),this.$nextTick(function(){e.currentPage=e.currentPage>e.localNumberOfPages?e.localNumberOfPages:e.currentPage})},methods:{handleKeyNav:function(e){var r=e.keyCode,n=e.shiftKey;this.isNav||(r===Oi||r===ln?(Me(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):(r===Wa||r===Kr)&&(Me(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return In("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 ie(Dn(n,"aria-posinset"),0)===e.computedCurrentPage});ke(r)||e.focusFirst()})},focusFirst:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return!$o(n)});ke(r)})},focusLast:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().reverse().find(function(n){return!$o(n)});ke(r)})},focusPrev:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Us());n>0&&!$o(r[n-1])&&ke(r[n-1])})},focusNext:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Us());n<r.length-1&&!$o(r[n+1])&&ke(r[n+1])})}},render:function(e){var r=this,n=this.disabled,i=this.labelPage,a=this.ariaLabel,s=this.isNav,o=this.localNumberOfPages,u=this.computedCurrentPage,l=this.pageList.map(function(T){return T.number}),c=this.paginationParams,d=c.showFirstDots,h=c.showLastDots,p=this.align==="fill",g=[],_=function(P){return P===u},O=this.currentPage<1,S=function(P,k,y,M,C,w,$){var D=n||_(w)||O||P<1||P>o,A=P<1?1:P>o?o:P,L={disabled:D,page:A,index:A-1},F=r.normalizeSlot(y,L)||_e(M)||e(),j=e(D?"span":s?hn:"button",{staticClass:"page-link",class:{"flex-grow-1":!s&&!D&&p},props:D||!s?{}:r.linkProps(P),attrs:{role:s?null:"menuitem",type:s||D?null:"button",tabindex:D||s?null:"-1","aria-label":k,"aria-controls":r.ariaControls||null,"aria-disabled":D?"true":null},on:D?{}:{"!click":function(G){r.onClick(G,P)},keydown:wA}},[F]);return e("li",{key:$,staticClass:"page-item",class:[{disabled:D,"flex-fill":p,"d-flex":p&&!s&&!D},C],attrs:{role:s?null:"presentation","aria-hidden":D?"true":null}},[j])},E=function(P){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",p?"flex-fill":"",r.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(P?"last":"first")},[e("span",{staticClass:"page-link"},[r.normalizeSlot(_W)||_e(r.ellipsisText)||e()])])},x=function(P,k){var y=P.number,M=_(y)&&!O,C=n?null:M||O&&k===0?"0":"-1",w={role:s?null:"menuitemradio",type:s||n?null:"button","aria-disabled":n?"true":null,"aria-controls":r.ariaControls||null,"aria-label":ua(i)?i(y):"".concat(ve(i)?i():i," ").concat(y),"aria-checked":s?null:M?"true":"false","aria-current":s&&M?"page":null,"aria-posinset":s?null:y,"aria-setsize":s?null:o,tabindex:s?null:C},$=_e(r.makePage(y)),D={page:y,index:y-1,content:$,active:M,disabled:n},A=e(n?"span":s?hn:"button",{props:n||!s?{}:r.linkProps(y),staticClass:"page-link",class:{"flex-grow-1":!s&&!n&&p},attrs:w,on:n?{}:{"!click":function(F){r.onClick(F,y)},keydown:wA}},[r.normalizeSlot(GW,D)||$]);return e("li",{staticClass:"page-item",class:[{disabled:n,active:M,"flex-fill":p,"d-flex":p&&!s&&!n},P.classes,r.pageClass],attrs:{role:s?null:"presentation"},key:"page-".concat(y)},[A])},f=e();!this.firstNumber&&!this.hideGotoEndButtons&&(f=S(1,this.labelFirstPage,wW,this.firstText,this.firstClass,1,"pagination-goto-first")),g.push(f),g.push(S(u-1,this.labelPrevPage,YW,this.prevText,this.prevClass,1,"pagination-goto-prev")),g.push(this.firstNumber&&l[0]!==1?x({number:1},0):e()),g.push(d?E(!1):e()),this.pageList.forEach(function(T,P){var k=d&&r.firstNumber&&l[0]!==1?1:0;g.push(x(T,P+k))}),g.push(h?E(!0):e()),g.push(this.lastNumber&&l[l.length-1]!==o?x({number:o},-1):e()),g.push(S(u+1,this.labelNextPage,VW,this.nextText,this.nextClass,o,"pagination-goto-next"));var m=e();!this.lastNumber&&!this.hideGotoEndButtons&&(m=S(o,this.labelLastPage,AW,this.lastText,this.lastClass,o,"pagination-goto-last")),g.push(m);var v=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:s?null:"menubar","aria-disabled":n?"true":"false","aria-label":s?null:a||null},on:s?{}:{keydown:this.handleKeyNav},ref:"ul"},g);return s?e("nav",{attrs:{"aria-disabled":n?"true":null,"aria-hidden":n?"true":"false","aria-label":s&&a||null}},[v]):v}});function OA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function SA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?OA(Object(r),!0).forEach(function(n){mQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):OA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $B=20,AB=0,xA=function(e){return Ve(ie(e)||$B,1)},TA=function(e){return Ve(ie(e)||AB,0)},vQ=Q(ce(SA(SA({},FS),{},{ariaControls:b(R),perPage:b(se,$B),totalRows:b(se,AB)})),Pg),gQ=V.extend({name:Pg,mixins:[CB],props:vQ,computed:{numberOfPages:function(){var e=yL(TA(this.totalRows)/xA(this.perPage));return e<1?1:e},pageSizeNumberOfPages:function(){return{perPage:xA(this.perPage),totalRows:TA(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(e,r){qe(r)||(e.perPage!==r.perPage&&e.totalRows===r.totalRows?this.currentPage=1:e.numberOfPages!==r.numberOfPages&&this.currentPage>e.numberOfPages&&(this.currentPage=1)),this.localNumberOfPages=e.numberOfPages}},created:function(){var e=this;this.localNumberOfPages=this.numberOfPages;var r=ie(this[d1],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 bu(Q3,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(this.currentPage=r,this.$emit(fn,this.currentPage),this.$nextTick(function(){yi(i)&&n.$el.contains(i)?ke(i):n.focusCurrent()}))}},makePage:function(e){return e},linkProps:function(){return{}}}}),bQ=fe({components:{BPagination:gQ}});function EA(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?EA(Object(r),!0).forEach(function(n){_Q(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):EA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _Q(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yQ=function(e){return Ve(ie(e,0),1)},MB=De(Ci,["event","routerTag"]),wQ=Q(ce(G_(G_(G_({},FS),MB),{},{baseUrl:b(R,"/"),linkGen:b(qr),noPageDetect:b(N,!1),numberOfPages:b(se,1,function(t){var e=ie(t,0);return e<1?(sr('Prop "number-of-pages" must be a number greater than "0"',Tw),!1):!0}),pageGen:b(qr),pages:b(Yr),useRouter:b(N,!1)})),Tw),OQ=V.extend({name:Tw,mixins:[CB],props:wQ,computed:{isNav:function(){return!0},computedValue:function(){var e=ie(this.value,0);return e<1?null:e}},watch:{numberOfPages:function(){var e=this;this.$nextTick(function(){e.setNumberOfPages()})},pages:function(){var e=this;this.$nextTick(function(){e.setNumberOfPages()})}},created:function(){this.setNumberOfPages()},mounted:function(){var e=this;this.$router&&this.$watch("$route",function(){e.$nextTick(function(){Xe(function(){e.guessCurrentPage()})})})},methods:{setNumberOfPages:function(){var e=this;Ge(this.pages)&&this.pages.length>0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=yQ(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 bu(Q3,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(Xe(function(){n.currentPage=r,n.$emit(fn,r)}),this.$nextTick(function(){mn(i)}))}},getPageInfo:function(e){if(!Ge(this.pages)||this.pages.length===0||Bt(this.pages[e-1])){var r="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:r}:r,text:_e(e)}}var n=this.pages[e-1];if(Lt(n)){var i=n.link;return{link:Lt(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 ua(r)?r(e,n):n.text},makeLink:function(e){var r=this.linkGen,n=this.getPageInfo(e);return ua(r)?r(e,n):n.link},linkProps:function(e){var r=pt(MB,this),n=this.makeLink(e);return this.useRouter||Lt(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=TL({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:fP(s)}}catch{try{r&&r.parentNode&&r.parentNode.removeChild(r)}catch{}return{}}},resolveRoute:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";try{var r=this.$router.resolve(e,this.$route).route;return{path:r.path,hash:r.hash,query:r.query}}catch{return{}}},guessCurrentPage:function(){var e=this.$router,r=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(nt||!nt&&e))for(var i=e&&r?{path:r.path,hash:r.hash,query:r.query}:{},a=nt?window.location||document.location:null,s=a?{path:a.pathname,hash:a.hash,query:fP(a.search)}:{},o=1;!n&&o<=this.localNumberOfPages;o++){var u=this.makeLink(o);e&&(Lt(u)||this.useRouter)?n=He(this.resolveRoute(u),i)?o:null:nt?n=He(this.resolveLink(u),s)?o:null:n=-1}this.currentPage=n>0?n:0}}}),SQ=fe({components:{BPaginationNav:OQ}}),xQ={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"},TQ={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},EQ={arrowPadding:b(se,6),boundary:b([$s,R],"scrollParent"),boundaryPadding:b(se,5),fallbackPlacement:b(Lr,"flip"),offset:b(se,0),placement:b(R,"top"),target:b([$s,K8])},PQ=V.extend({name:AG,props:EQ,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(br,function(n){e.popperCreate(n)});var r=function(){e.$nextTick(function(){Xe(function(){e.$destroy()})})};this.$parent.$once(Mf,r),this.$once(Nt,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 xQ[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var r=this.$refs.arrow||kn(".arrow",this.$el),n=Ie($n(r).width,0)+Ie(this.arrowPadding,0);switch(TQ[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 Zw(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(vu,{props:{appear:!0,noFade:n},on:{beforeEnter:function(a){return r.$emit(br,a)},afterEnter:function(a){return r.$emit(Wr,a)},beforeLeave:function(a){return r.$emit(on,a)},afterLeave:function(a){return r.$emit(Nt,a)}}},[this.localShow?this.renderTemplate(e):e()])}});function PA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function CA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PA(Object(r),!0).forEach(function(n){f1(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function f1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var CQ={html:b(N,!1),id:b(R)},kB=V.extend({name:RG,extends:PQ,mixins:[LS],props:CQ,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},f1(e,"b-".concat(i,"-").concat(r),r),f1(e,"bs-".concat(i,"-").concat(n),n),e),this.customClass]},templateAttributes:function(){var e=this.id;return CA(CA({},this.$parent.$parent.$attrs),{},{id:e,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var e=this;return{mouseenter:function(n){e.$emit(X3,n)},mouseleave:function(n){e.$emit(Z3,n)},focusin:function(n){e.$emit(rv,n)},focusout:function(n){e.$emit(nv,n)}}}},methods:{renderTemplate:function(e){var r=this.title,n=ve(r)?r({}):r,i=this.html&&!ve(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 $A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function W_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$A(Object(r),!0).forEach(function(n){$Q(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$A(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function $Q(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var DB=".modal-content",AQ=Ct(tn,Nt),MQ=".b-sidebar",kQ=[DB,MQ].join(", "),DQ="dropdown",RQ=".dropdown-menu.show",bp="data-original-title",AA={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},jS=V.extend({name:DG,mixins:[Pi],data:function(){return W_(W_({},AA),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1})},computed:{templateType:function(){return"tooltip"},computedId:function(){return this.id||"__bv_".concat(this.templateType,"_").concat(this[ja],"__")},computedDelay:function(){var e={show:0,hide:0};return Ir(this.delay)?(e.show=Ve(ie(this.delay.show,0),0),e.hide=Ve(ie(this.delay.hide,0),0)):(gi(this.delay)||Be(this.delay))&&(e.show=e.hide=Ve(ie(this.delay,0),0)),e},computedTriggers:function(){return je(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;He(e,r)||this.$nextTick(function(){n.unListen(),r.forEach(function(i){xe(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=Lf.bind(this),this.$parent&&this.$parent.$once(nL,function(){e.$nextTick(function(){Xe(function(){e.$destroy()})})}),this.$nextTick(function(){var r=e.getTarget();r&&Kt(document.body,r)?(e.scopeId=Zl(e.$parent),e.listen()):sr(Be(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 kB},updateData:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=!1;Ee(AA).forEach(function(i){!Bt(r[i])&&e[i]!==r[i]&&(e[i]=r[i],i==="title"&&(n=!0))}),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var e=this.getContainer(),r=this.getTemplate(),n=this.$_tip=new r({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:ie(this.offset,0),arrowPadding:ie(this.arrowPadding,0),boundaryPadding:ie(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once(br,this.onTemplateShow),n.$once(Wr,this.onTemplateShown),n.$once(on,this.onTemplateHide),n.$once(Nt,this.onTemplateHidden),n.$once(Mf,this.destroyTemplate),n.$on(rv,this.handleEvent),n.$on(nv,this.handleEvent),n.$on(X3,this.handleEvent),n.$on(Z3,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||!Kt(document.body,e)||!yi(e)||this.dropdownOpen()||(qe(this.title)||this.title==="")&&(qe(this.content)||this.content===""))&&!(this.$_tip||this.localShow)){this.localShow=!0;var r=this.buildEvent(br,{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(on,{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(sm))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(am))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="",e==="out"&&this.leave(null),this.emitEvent(this.buildEvent(Wr))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(Nt))},getTarget:function(){var e=this.target;return Be(e)?e=Mw(e.replace(/^#/,"")):ve(e)?e=e():e&&(e=e.$el||e),lt(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?un(kQ,n)||r:Be(e)&&Mw(e.replace(/^#/,""))||r},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&un(DB,e)},isDropdown:function(){var e=this.getTarget();return e&&Df(e,DQ)},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&kn(RQ,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=Dn(e,"aria-describedby")||"";r=r.split(/\s+/).concat(this.computedId).join(" ").trim(),bt(e,"aria-describedby",r)},removeAriaDescribedby:function(){var e=this,r=this.getTarget(),n=Dn(r,"aria-describedby")||"";n=n.split(/\s+/).filter(function(i){return i!==e.computedId}).join(" ").trim(),n?bt(r,"aria-describedby",n):na(r,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(ia(e,"title")){var r=Dn(e,"title");bt(e,"title",""),r&&bt(e,bp,r)}},restoreTitle:function(){var e=this.getTarget();if(ia(e,bp)){var r=Dn(e,bp);na(e,bp),r&&bt(e,"title",r)}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new bu(e,W_({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},r))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(this.templateType,r),e),this.$emit(r,e)},listen:function(){var e=this,r=this.getTarget();r&&(this.setRootListener(!0),this.computedTriggers.forEach(function(n){n==="click"?ht(r,"click",e.handleEvent,Ne):n==="focus"?(ht(r,"focusin",e.handleEvent,Ne),ht(r,"focusout",e.handleEvent,Ne)):n==="blur"?ht(r,"focusout",e.handleEvent,Ne):n==="hover"&&(ht(r,"mouseenter",e.handleEvent,Ne),ht(r,"mouseleave",e.handleEvent,Ne))},this))},unListen:function(){var e=this,r=["click","focusin","focusout","mouseenter","mouseleave"],n=this.getTarget();this.setRootListener(!1),r.forEach(function(i){n&&Ot(n,i,e.handleEvent,Ne)},this)},setRootListener:function(e){var r=this.$root;if(r){var n=e?"$on":"$off",i=this.templateType;r[n](qt(i,on),this.doHide),r[n](qt(i,br),this.doShow),r[n](qt(i,Pw),this.doDisable),r[n](qt(i,Cw),this.doEnable)}},setWhileOpenListeners:function(e){this.setModalListener(e),this.setDropdownListener(e),this.visibleCheck(e),this.setOnTouchStartListener(e)},visibleCheck:function(e){var r=this;this.clearVisibilityInterval();var n=this.getTarget();e&&(this.$_visibleInterval=setInterval(function(){var i=r.getTemplateElement();i&&r.localShow&&(!n.parentNode||!yi(n))&&r.forceHide()},100))},setModalListener:function(e){this.isInModal()&&this.$root[e?"$on":"$off"](AQ,this.forceHide)},setOnTouchStartListener:function(e){var r=this;"ontouchstart"in document.documentElement&&iu(document.body.children).forEach(function(n){wi(e,n,"mouseover",r.$_noop)})},setDropdownListener:function(e){var r=this.getTarget();!r||!this.$root||!this.isDropdown||r.__vue__&&r.__vue__[e?"$on":"$off"](Wr,this.forceHide)},handleEvent:function(e){var r=this.getTarget();if(!(!r||$o(r)||!this.$_enabled||this.dropdownOpen())){var n=e.type,i=this.computedTriggers;if(n==="click"&&xe(i,"click"))this.click(e);else if(n==="mouseenter"&&xe(i,"hover"))this.enter(e);else if(n==="focusin"&&xe(i,"focus"))this.enter(e);else if(n==="focusout"&&(xe(i,"focus")||xe(i,"blur"))||n==="mouseleave"&&xe(i,"hover")){var a=this.getTemplateElement(),s=e.target,o=e.relatedTarget;if(a&&Kt(a,s)&&Kt(r,o)||a&&Kt(r,s)&&Kt(a,o)||a&&Kt(a,s)&&Kt(a,o)||Kt(r,s)&&Kt(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()||(ke(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"&&xe(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())}}}),Jr,go;function MA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function IQ(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MA(Object(r),!0).forEach(function(n){fr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uf="disabled",kA=eo+uf,Pv="show",LQ=eo+Pv,RB=Q((Jr={boundary:b([$s,Jt,R],"scrollParent"),boundaryPadding:b(se,50),container:b([$s,Jt,R]),customClass:b(R),delay:b(dW,50)},fr(Jr,uf,b(N,!1)),fr(Jr,"fallbackPlacement",b(Lr,"flip")),fr(Jr,"id",b(R)),fr(Jr,"noFade",b(N,!1)),fr(Jr,"noninteractive",b(N,!1)),fr(Jr,"offset",b(se,0)),fr(Jr,"placement",b(R,"top")),fr(Jr,Pv,b(N,!1)),fr(Jr,"target",b([$s,K8,qr,Jt,R],void 0,!0)),fr(Jr,"title",b(R)),fr(Jr,"triggers",b(Lr,"hover focus")),fr(Jr,"variant",b(R)),Jr),Po),IB=V.extend({name:Po,mixins:[Pe],inheritAttrs:!1,props:RB,data:function(){return{localShow:this[Pv],localTitle:"",localContent:""}},computed:{templateData:function(){return IQ({title:this.localTitle,content:this.localContent,interactive:!this.noninteractive},Ei(this.$props,["boundary","boundaryPadding","container","customClass","delay","fallbackPlacement","id","noFade","offset","placement","target","target","triggers","variant",uf]))},templateTitleContent:function(){var e=this.title,r=this.content;return{title:e,content:r}}},watch:(go={},fr(go,Pv,function(t,e){t!==e&&t!==this.localShow&&this.$_toolpop&&(t?this.$_toolpop.show():this.$_toolpop.forceHide())}),fr(go,uf,function(t){t?this.doDisable():this.doEnable()}),fr(go,"localShow",function(e){this.$emit(LQ,e)}),fr(go,"templateData",function(){var e=this;this.$nextTick(function(){e.$_toolpop&&e.$_toolpop.updateData(e.templateData)})}),fr(go,"templateTitleContent",function(){this.$nextTick(this.updateContent)}),go),created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off(GE,this.doOpen),this.$off(Ew,this.doClose),this.$off(Pw,this.doDisable),this.$off(Cw,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=Zl(e)||Zl(e.$parent),i=e.$_toolpop=new r({parent:e,_scopeId:n||void 0});i.updateData(e.templateData),i.$on(br,e.onShow),i.$on(Wr,e.onShown),i.$on(on,e.onHide),i.$on(Nt,e.onHidden),i.$on(am,e.onDisabled),i.$on(sm,e.onEnabled),e[uf]&&e.doDisable(),e.$on(GE,e.doOpen),e.$on(Ew,e.doClose),e.$on(Pw,e.doDisable),e.$on(Cw,e.doEnable),e.localShow&&i.show()})},methods:{getComponent:function(){return jS},updateContent:function(){this.setTitle(this.normalizeSlot()||this.title)},setTitle:function(e){e=qe(e)?"":e,this.localTitle!==e&&(this.localTitle=e)},setContent:function(e){e=qe(e)?"":e,this.localContent!==e&&(this.localContent=e)},onShow:function(e){this.$emit(br,e),e&&(this.localShow=!e.defaultPrevented)},onShown:function(e){this.localShow=!0,this.$emit(Wr,e)},onHide:function(e){this.$emit(on,e)},onHidden:function(e){this.$emit(Nt,e),this.localShow=!1},onDisabled:function(e){e&&e.type===am&&(this.$emit(kA,!0),this.$emit(am,e))},onEnabled:function(e){e&&e.type===sm&&(this.$emit(kA,!1),this.$emit(sm,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()}}),NQ=V.extend({name:$G,extends:kB,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(e){var r=this.title,n=this.content,i=ve(r)?r({}):r,a=ve(n)?n({}):n,s=this.html&&!ve(r)?{innerHTML:r}:{},o=this.html&&!ve(n)?{innerHTML:n}:{};return e("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[e("div",{staticClass:"arrow",ref:"arrow"}),qe(i)||i===""?e():e("h3",{staticClass:"popover-header",domProps:s},[i]),qe(a)||a===""?e():e("div",{staticClass:"popover-body",domProps:o},[a])])}}}),LB=V.extend({name:CG,extends:jS,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return NQ}}});function DA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function RA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?DA(Object(r),!0).forEach(function(n){BQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function BQ(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=Q(ce(RA(RA({},RB),{},{content:b(R),placement:b(R,"right"),triggers:b(Lr,ai)})),Eo),jQ=V.extend({name:Eo,extends:IB,inheritAttrs:!1,props:FQ,methods:{getComponent:function(){return LB},updateContent:function(){this.setContent(this.normalizeSlot()||this.content),this.setTitle(this.normalizeSlot(nh)||this.title)}}});function IA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function LA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?IA(Object(r),!0).forEach(function(n){zQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kn="__BV_Popover__",HQ="click",NA={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},VQ=/^html$/i,UQ=/^nofade$/i,GQ=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,WQ=/^(window|viewport|scrollParent)$/i,YQ=/^d\d+$/i,KQ=/^ds\d+$/i,qQ=/^dh\d+$/i,XQ=/^o-?\d+$/i,ZQ=/^v-.+$/i,JQ=/\s+/,QQ=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:An(Eo,"delay",50),boundary:String(An(Eo,"boundary","scrollParent")),boundaryPadding:ie(An(Eo,"boundaryPadding",5),0),variant:An(Eo,"variant"),customClass:An(Eo,"customClass")};if(Be(e.value)||gi(e.value)||ve(e.value)?n.content=e.value:Ir(e.value)&&(n=LA(LA({},n),e.value)),e.arg&&(n.container="#".concat(e.arg)),Bt(n.title)){var i=r.data||{};n.title=i.attrs&&!qe(i.attrs.title)?i.attrs.title:void 0}Ir(n.delay)||(n.delay={show:ie(n.delay,0),hide:ie(n.delay,0)}),Ee(e.modifiers).forEach(function(s){if(VQ.test(s))n.html=!0;else if(UQ.test(s))n.animation=!1;else if(GQ.test(s))n.placement=s;else if(WQ.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(YQ.test(s)){var o=ie(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else KQ.test(s)?n.delay.show=ie(s.slice(2),0):qQ.test(s)?n.delay.hide=ie(s.slice(2),0):XQ.test(s)?n.offset=ie(s.slice(1),0):ZQ.test(s)&&(n.variant=s.slice(2)||null)});var a={};return je(n.trigger||"").filter(Oe).join(" ").trim().toLowerCase().split(JQ).forEach(function(s){NA[s]&&(a[s]=!0)}),Ee(e.modifiers).forEach(function(s){s=s.toLowerCase(),NA[s]&&(a[s]=!0)}),n.trigger=Ee(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=HQ),n},BA=function(e,r,n){if(nt){var i=QQ(r,n);if(!e[Kn]){var a=n.context;e[Kn]=new LB({parent:a,_scopeId:Zl(a,void 0)}),e[Kn].__bv_prev_data__={},e[Kn].$on(br,function(){var l={};ve(i.title)&&(l.title=i.title(e)),ve(i.content)&&(l.content=i.content(e)),Ee(l).length>0&&e[Kn].updateData(l)})}var s={title:i.title,content:i.content,triggers:i.trigger,placement:i.placement,fallbackPlacement:i.fallbackPlacement,variant:i.variant,customClass:i.customClass,container:i.container,boundary:i.boundary,delay:i.delay,offset:i.offset,noFade:!i.animation,id:i.id,disabled:i.disabled,html:i.html},o=e[Kn].__bv_prev_data__;if(e[Kn].__bv_prev_data__=s,!He(s,o)){var u={target:e};Ee(s).forEach(function(l){s[l]!==o[l]&&(u[l]=(l==="title"||l==="content")&&ve(s[l])?s[l](e):s[l])}),e[Kn].updateData(u)}}},eee=function(e){e[Kn]&&(e[Kn].$destroy(),e[Kn]=null),delete e[Kn]},tee={bind:function(e,r,n){BA(e,r,n)},componentUpdated:function(e,r,n){n.context.$nextTick(function(){BA(e,r,n)})},unbind:function(e){eee(e)}},NB=fe({directives:{VBPopover:tee}}),ree=fe({components:{BPopover:jQ},plugins:{VBPopoverPlugin:NB}}),BB=Q({animated:b(N,null),label:b(R),labelHtml:b(R),max:b(se,null),precision:b(se,null),showProgress:b(N,null),showValue:b(N,null),striped:b(N,null),value:b(se,0),variant:b(R)},T3),FB=V.extend({name:T3,mixins:[Pe],inject:{bvProgress:{default:function(){return{}}}},props:BB,computed:{progressBarClasses:function(){var e=this.computedAnimated,r=this.computedVariant;return[r?"bg-".concat(r):"",this.computedStriped||e?"progress-bar-striped":"",e?"progress-bar-animated":""]},progressBarStyles:function(){return{width:100*(this.computedValue/this.computedMax)+"%"}},computedValue:function(){return Ie(this.value,0)},computedMax:function(){var e=Ie(this.max)||Ie(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return Ve(ie(this.precision,ie(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,r=wL(10,e);return c_(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=St(n,r):this.computedShowProgress?s=this.computedProgress:this.computedShowValue&&(s=c_(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":c_(i,a)},domProps:o},s)}});function FA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function jA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?FA(Object(r),!0).forEach(function(n){nee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function nee(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=De(BB,["label","labelHtml"]),iee=Q(ce(jA(jA({},jB),{},{animated:b(N,!1),height:b(R),max:b(se,100),precision:b(se,0),showProgress:b(N,!1),showValue:b(N,!1),striped:b(N,!1)})),x3),aee=V.extend({name:x3,mixins:[Pe],provide:function(){return{bvProgress:this}},props:iee,computed:{progressHeight:function(){return{height:this.height||null}}},render:function(e){var r=this.normalizeSlot();return r||(r=e(FB,{props:pt(jB,this.$props)})),e("div",{staticClass:"progress",style:this.progressHeight},[r])}}),see=fe({components:{BProgress:aee,BProgressBar:FB}}),cd;function zA(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 lf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zA(Object(r),!0).forEach(function(n){Ea(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ea(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bf="b-sidebar",oee=qt(Er,"request-state"),uee=qt(Er,"toggle"),lee=Ct(Er,"state"),cee=Ct(Er,"sync-state"),s0=er("visible",{type:N,defaultValue:!1,event:fn}),dee=s0.mixin,fee=s0.props,HA=s0.prop,hee=s0.event,pee=Q(ce(lf(lf(lf({},et),fee),{},{ariaLabel:b(R),ariaLabelledby:b(R),backdrop:b(N,!1),backdropVariant:b(R,"dark"),bgVariant:b(R,"light"),bodyClass:b(ye),closeLabel:b(R),footerClass:b(ye),footerTag:b(R,"footer"),headerClass:b(ye),headerTag:b(R,"header"),lazy:b(N,!1),noCloseOnBackdrop:b(N,!1),noCloseOnEsc:b(N,!1),noCloseOnRouteChange:b(N,!1),noEnforceFocus:b(N,!1),noHeader:b(N,!1),noHeaderClose:b(N,!1),noSlide:b(N,!1),right:b(N,!1),shadow:b(Nr,!1),sidebarClass:b(ye),tag:b(R,"div"),textVariant:b(R,"dark"),title:b(R),width:b(R),zIndex:b(se)})),P3),mee=function(e,r){var n=r.normalizeSlot(nh,r.slotScope)||r.title;return n?e("strong",{attrs:{id:r.safeId("__title__")}},[n]):e("span")},vee=function(e,r){if(r.noHeaderClose)return e();var n=r.closeLabel,i=r.textVariant,a=r.hide;return e(su,{props:{ariaLabel:n,textVariant:i},on:{click:a},ref:"close-button"},[r.normalizeSlot(OW)||e(EL)])},gee=function(e,r){if(r.noHeader)return e();var n=r.normalizeSlot(Vs,r.slotScope);if(!n){var i=mee(e,r),a=vee(e,r);n=r.right?[a,i]:[i,a]}return e(r.headerTag,{staticClass:"".concat(Bf,"-header"),class:r.headerClass,key:"header"},n)},bee=function(e,r){return e("div",{staticClass:"".concat(Bf,"-body"),class:r.bodyClass,key:"body"},[r.normalizeSlot(nr,r.slotScope)])},_ee=function(e,r){var n=r.normalizeSlot(Aw,r.slotScope);return n?e(r.footerTag,{staticClass:"".concat(Bf,"-footer"),class:r.footerClass,key:"footer"},[n]):e()},yee=function(e,r){var n=gee(e,r);return r.lazy&&!r.isOpen?n:[n,bee(e,r),_ee(e,r)]},wee=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:Ea({},"bg-".concat(n),n),on:{click:r.onBackdropClick}})},Oee=V.extend({name:P3,mixins:[or,it,dee,Pi,Pe],inheritAttrs:!1,props:pee,data:function(){var e=!!this[HA];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(Vs)&&!!(this.normalizeSlot(nh,this.slotScope,e,r)||this.title)},titleId:function(){return this.hasTitle?this.safeId("__title__"):null},computedAttrs:function(){return lf(lf({},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:(cd={},Ea(cd,HA,function(t,e){t!==e&&(this.localShow=t)}),Ea(cd,"localShow",function(e,r){e!==r&&(this.emitState(e),this.$emit(hee,e))}),Ea(cd,"$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()}),cd),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(uee,this.handleToggle),this.listenOnRoot(oee,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(lee,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(cee,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===lS&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=Dw(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=Dw(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=Us(nt?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){Kt(e,Us())||this.enforceFocus(e),this.$emit(Wr)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(Nt)},enforceFocus:function(e){this.noEnforceFocus||ke(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:Bf,class:[(r={shadow:o===!0},Ea(r,"shadow-".concat(o),o&&o!==!0),Ea(r,"".concat(Bf,"-right"),this.right),Ea(r,"bg-".concat(n),n),Ea(r,"text-".concat(a),a),r),this.sidebarClass],style:{width:i},attrs:this.computedAttrs,directives:[{name:"show",value:s}],ref:"content"},[yee(e,this)]);u=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[u]);var l=e(vu,{props:{noFade:this.noSlide}},[wee(e,this)]),c=e(),d=e();return this.backdrop&&s&&(c=e("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),d=e("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),e("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[c,u,d,l])}}),See=fe({components:{BSidebar:Oee},plugins:{VBTogglePlugin:_S}});function Y_(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xee=Q({animation:b(R,"wave"),height:b(R),size:b(R),type:b(R,"text"),variant:b(R),width:b(R)},C3),Cv=V.extend({name:C3,functional:!0,props:xee,render:function(e,r){var n,i=r.data,a=r.props,s=a.size,o=a.animation,u=a.variant;return e("div",pe(i,{staticClass:"b-skeleton",style:{width:s||a.width,height:s||a.height},class:(n={},Y_(n,"b-skeleton-".concat(a.type),!0),Y_(n,"b-skeleton-animate-".concat(o),o),Y_(n,"bg-".concat(u),u),n)}))}});function VA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function UA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?VA(Object(r),!0).forEach(function(n){zB(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):VA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zB(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tee=Q({animation:b(R,"wave"),icon:b(R),iconProps:b(Jt,{})},$3),Eee=V.extend({name:$3,functional:!0,props:Tee,render:function(e,r){var n=r.data,i=r.props,a=i.icon,s=i.animation,o=e(sv,{staticClass:"b-skeleton-icon",props:UA(UA({},i.iconProps),{},{icon:a})});return e("div",pe(n,{staticClass:"b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden",class:zB({},"b-skeleton-animate-".concat(s),s)}),[o])}});function Pee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cee=Q({animation:b(R),aspect:b(R,"16:9"),cardImg:b(R),height:b(R),noAspect:b(N,!1),variant:b(R),width:b(R)},A3),$ee=V.extend({name:A3,functional:!0,props:Cee,render:function(e,r){var n=r.data,i=r.props,a=i.aspect,s=i.width,o=i.height,u=i.animation,l=i.variant,c=i.cardImg,d=e(Cv,pe(n,{props:{type:"img",width:s,height:o,animation:u,variant:l},class:Pee({},"card-img-".concat(c),c)}));return i.noAspect?d:e(OL,{props:{aspect:a}},[d])}}),zS=V.extend({methods:{hasListener:function(e){var r=this.$listeners||{},n=this._events||{};return!Bt(r[e])||Ge(n[e])&&n[e].length>0}}});function GA(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 Aee(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?GA(Object(r),!0).forEach(function(n){Mee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GA(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 WA="light",YA="dark",kee=Q({variant:b(R)},U3),Ya=V.extend({name:U3,mixins:[or,Xa,Pe],provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},inheritAttrs:!1,props:kee,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return this.headVariant===WA||this.footVariant===WA?!1:this.headVariant===YA||this.footVariant===YA?!0:this.isDark},trClasses:function(){var e=this.variant;return[e?"".concat(this.isRowDark?"bg":"table","-").concat(e):null]},trAttrs:function(){return Aee({role:"row"},this.bvAttrs)}},render:function(e){return e("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}}),HB={},Dee=V.extend({props:HB,methods:{renderBottomRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(KE)||r===!0||r===""?a():a(Ya,{staticClass:"b-table-bottom-row",class:[ve(n)?n(null,"row-bottom"):n],attrs:ve(i)?i(null,"row-bottom"):i,key:"b-bottom-row"},this.normalizeSlot(KE,{columns:e.length,fields:e}))}}});function KA(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 qA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?KA(Object(r),!0).forEach(function(n){Ree(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):KA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ree(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h1=function(e){return e=ie(e,0),e>0?e:null},XA=function(e){return qe(e)||h1(e)>0},VB=Q({colspan:b(se,null,XA),rowspan:b(se,null,XA),stackedHeading:b(R),stickyColumn:b(N,!1),variant:b(R)},I3),Ql=V.extend({name:I3,mixins:[or,Xa,Pe],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:VB,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return h1(this.colspan)},computedRowspan:function(){return h1(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"):ca(this.tag,"th")&&(a="rowheader",s=i>0?"rowgroup":"row"),qA(qA({colspan:n,rowspan:i,role:a,scope:s},this.bvAttrs),{},{"data-label":this.isStackedCell&&!qe(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 Iee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var HS="busy",Lee=eo+HS,UB=Iee({},HS,b(N,!1)),Nee=V.extend({props:UB,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[HS]||this.localBusy}},watch:{localBusy:function(e,r){e!==r&&this.$emit(Lee,e)}},methods:{stopIfBusy:function(e){return this.computedBusy?(Me(e),!0):!1},renderBusy:function(){var e=this.tbodyTrClass,r=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(Rd)?n(Ya,{staticClass:"b-table-busy-slot",class:[ve(e)?e(null,Rd):e],attrs:ve(r)?r(null,Rd):r,key:"table-busy-slot"},[n(Ql,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(Rd)])]):null}}}),VS={caption:b(R),captionHtml:b(R)},GB=V.extend({props:VS,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(tP);return(a||e||r)&&(i=n("caption",{attrs:{id:this.captionId},domProps:a?{}:St(r,e),key:"caption",ref:"caption"},this.normalizeSlot(tP))),i}}}),WB={},YB=V.extend({methods:{renderColgroup:function(){var e=this.computedFields,r=this.$createElement,n=r();return this.hasNormalizedSlot(rP)&&(n=r("colgroup",{key:"colgroup"},[this.normalizeSlot(rP,{columns:e.length,fields:e})])),n}}}),KB={emptyFilteredHtml:b(R),emptyFilteredText:b(R,"There are no records matching your request"),emptyHtml:b(R),emptyText:b(R,"There are no records to show"),showEmpty:b(N,!1)},Bee=V.extend({props:KB,methods:{renderEmpty:function(){var e=this.computedItems,r=this.$createElement,n=r();if(this.showEmpty&&(!e||e.length===0)&&!(this.computedBusy&&this.hasNormalizedSlot(Rd))){var i=this.computedFields,a=this.isFiltered,s=this.emptyText,o=this.emptyHtml,u=this.emptyFilteredText,l=this.emptyFilteredHtml,c=this.tbodyTrClass,d=this.tbodyTrAttr;n=this.normalizeSlot(a?yW:uL,{emptyFilteredHtml:l,emptyFilteredText:u,emptyHtml:o,emptyText:s,fields:i,items:e}),n||(n=r("div",{class:["text-center","my-2"],domProps:a?St(l,u):St(o,s)})),n=r(Ql,{props:{colspan:i.length||null}},[r("div",{attrs:{role:"alert","aria-live":"polite"}},[n])]),n=r(Ya,{staticClass:"b-table-empty-row",class:[ve(c)?c(null,"row-empty"):c],attrs:ve(d)?d(null,"row-empty"):d,key:a?"b-empty-filtered-row":"b-empty-row"},[n])}return n}}}),p1=function t(e){return qe(e)?"":Lt(e)&&!Vl(e)?Ee(e).sort().map(function(r){return t(e[r])}).filter(function(r){return!!r}).join(" "):_e(e)};function ZA(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 JA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZA(Object(r),!0).forEach(function(n){qB(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qB(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Em="_cellVariants",m1="_rowVariant",Ud="_showDetails",XB=[Em,m1,Ud].reduce(function(t,e){return JA(JA({},t),{},qB({},e,!0))},{}),Fee=["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(","),v1=function(e,r,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=Ee(i).reduce(function(o,u){var l=i[u],c=l.filterByFormatted,d=ve(c)?c:c?l.formatter:null;return ve(d)&&(o[u]=d(e[u],u,e)),o},Qs(e)),s=Ee(a).filter(function(o){return!XB[o]&&!(Ge(r)&&r.length>0&&xe(r,o))&&!(Ge(n)&&n.length>0&&!xe(n,o))});return Ei(a,s)},jee=function(e,r,n,i){return Lt(e)?p1(v1(e,r,n,i)):""};function zee(t){return Gee(t)||Uee(t)||Vee(t)||Hee()}function Hee(){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 Vee(t,e){if(t){if(typeof t=="string")return g1(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 g1(t,e)}}function Uee(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gee(t){if(Array.isArray(t))return g1(t)}function g1(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 Wee='Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.',ZB={filter:b([].concat(zee(ye),[oW])),filterDebounce:b(se,0,function(t){return G8.test(String(t))}),filterFunction:b(qr),filterIgnoredFields:b(Yr,[]),filterIncludedFields:b(Yr,[])},Yee=V.extend({props:ZB,data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return je(this.filterIgnoredFields||[]).filter(Oe)},computedFilterIncluded:function(){return je(this.filterIncludedFields||[]).filter(Oe)},computedFilterDebounce:function(){var e=ie(this.filterDebounce,0);return e>0&&sr(Wee,nu),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 ua(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?He(n,[])||He(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit($w,r,r.length),this.isFiltered=i},isFiltered:function(e,r){if(e===!1&&r===!0){var n=this.localItems;this.$emit($w,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&&!(Be(e)||IE(e))?"":ti(e)},filterFnFactory:function(e,r){if(!e||!ve(e)||!r||He(r,[])||He(r,{}))return null;var n=function(a){return e(a,r)};return n},defaultFilterFnFactory:function(e){var r=this;if(!e||!(Be(e)||IE(e)))return null;var n=e;if(Be(n)){var i=aS(e).replace(W8,"\\s+");n=new RegExp(".*".concat(i,".*"),"i")}var a=function(o){return n.lastIndex=0,n.test(jee(o,r.computedFilterIgnored,r.computedFilterIncluded,r.computedFieldsObj))};return a}}}),Kee=function(e,r){var n=null;return Be(r)?n={key:e,label:r}:ve(r)?n={key:e,formatter:r}:Lt(r)?(n=Qs(r),n.key=n.key||e):r!==!1&&(n={key:e}),n},qee=function(e,r){var n=[];if(Ge(e)&&e.filter(Oe).forEach(function(s){if(Be(s))n.push({key:s,label:om(s)});else if(Lt(s)&&s.key&&Be(s.key))n.push(Qs(s));else if(Lt(s)&&Ee(s).length===1){var o=Ee(s)[0],u=Kee(o,s[o]);u&&n.push(u)}}),n.length===0&&Ge(r)&&r.length>0){var i=r[0];Ee(i).forEach(function(s){XB[s]||n.push({key:s,label:om(s)})})}var a={};return n.filter(function(s){return a[s.key]?!1:(a[s.key]=!0,s.label=Be(s.label)?s.label:om(s.key),!0)})};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 eM(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){JB(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 JB(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o0=er("value",{type:Yr,defaultValue:[]}),Xee=o0.mixin,Zee=o0.props,Jee=o0.prop,tM=o0.event,US=ce(eM(eM({},Zee),{},JB({fields:b(Yr,null),items:b(Yr,[]),primaryKey:b(R)},Jee,b(Yr,[])))),QB=V.extend({mixins:[Xee],props:US,data:function(){var e=this.items;return{localItems:Ge(e)?e.slice():[]}},computed:{computedFields:function(){return qee(this.fields,this.localItems)},computedFieldsObj:function(){var e=this.$parent;return this.computedFields.reduce(function(r,n){if(r[n.key]=Qs(n),n.formatter){var i=n.formatter;Be(i)&&ve(e[i])?i=e[i]:ve(i)||(i=void 0),r[n.key].formatter=i}return r},{})},computedItems:function(){return(this.paginatedItems||this.sortedItems||this.filteredItems||this.localItems||[]).slice()},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:Ve(ie(this.perPage,0),0),currentPage:Ve(ie(this.currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(e){this.localItems=Ge(e)?e.slice():[]},computedItems:function(e,r){He(e,r)||this.$emit(tM,e)},context:function(e,r){He(e,r)||this.$emit(W3,e)}},mounted:function(){this.$emit(tM,this.computedItems)},methods:{getFieldFormatter:function(e){var r=this.computedFieldsObj[e];return r?r.formatter:void 0}}}),eF={currentPage:b(se,1),perPage:b(se,0)},Qee=V.extend({props:eF,computed:{localPaging:function(){return this.hasProvider?!!this.noProviderPaging:!0},paginatedItems:function(){var e=this.sortedItems||this.filteredItems||this.localItems||[],r=Ve(ie(this.currentPage,1),1),n=Ve(ie(this.perPage,0),0);return this.localPaging&&n&&(e=e.slice((r-1)*n,r*n)),e}}}),ete=Ct(nu,Dd),tte=qt(nu,YG),tF={apiUrl:b(R),items:b(sL,[]),noProviderFiltering:b(N,!1),noProviderPaging:b(N,!1),noProviderSorting:b(N,!1)},rte=V.extend({mixins:[Pi],props:tF,computed:{hasProvider:function(){return ve(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),Qs(e)}},watch:{items:function(e){(this.hasProvider||ve(e))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(e,r){He(e,r)||this.$nextTick(this._providerUpdate)}},mounted:function(){var e=this;this.hasProvider&&(!this.localItems||this.localItems.length===0)&&this._providerUpdate(),this.listenOnRoot(tte,function(r){(r===e.id||r===e)&&e.refresh()})},methods:{refresh:function(){var e=this.items,r=this.refresh;this.$off(Dd,r),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on(Dd,r):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=Ge(e)?e.slice():[])},_providerSetLocal:function(e){this.localItems=Ge(e)?e.slice():[],this.localBusy=!1,this.$emit(Dd),this.id&&this.emitOnRoot(ete,this.id)},_providerUpdate:function(){var e=this;if(this.hasProvider){if(this.computedBusy){this.$nextTick(this.refresh);return}this.localBusy=!0,this.$nextTick(function(){try{var r=e.items(e.context,e._providerSetLocal);tG(r)?r.then(function(n){e._providerSetLocal(n)}):Ge(r)?e._providerSetLocal(r):e.items.length!==2&&(sr("Provider function didn't request callback and did not return a promise or data.",nu),e.localBusy=!1)}catch(n){sr("Provider function error [".concat(n.name,"] ").concat(n.message,"."),nu),e.localBusy=!1,e.$off(Dd,e.refresh)}})}}}});function _p(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nte=["range","multi","single"],rM="grid",rF={noSelectOnClick:b(N,!1),selectMode:b(R,"multi",function(t){return xe(nte,t)}),selectable:b(N,!1),selectedVariant:b(R,"active")},ite=V.extend({props:rF,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&&xe(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,r=this.isSelectable;return e={"b-table-selectable":r},_p(e,"b-table-select-".concat(this.selectMode),r),_p(e,"b-table-selecting",this.selectableHasSelection),_p(e,"b-table-selectable-no-click",r&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||rM;return{role:e,"aria-multiselectable":e===rM?_e(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,r){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Ge(e)&&Ge(r)&&e.length===r.length;for(var i=0;n&&i<e.length;i++)n=He(v1(e[i]),v1(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&&!He(e,r)){var i=[];e.forEach(function(a,s){a&&i.push(n.computedItems[s])}),this.$emit(QG,i)}}},beforeMount:function(){this.isSelectable&&this.setSelectionHandlers(!0)},methods:{selectRow:function(e){if(this.isSelectable&&gi(e)&&e>=0&&e<this.computedItems.length&&!this.isRowSelected(e)){var r=this.selectableIsMultiSelect?this.selectedRows.slice():[];r[e]=!0,this.selectedLastClicked=-1,this.selectedRows=r}},unselectRow:function(e){if(this.isSelectable&&gi(e)&&this.isRowSelected(e)){var r=this.selectedRows.slice();r[e]=!1,this.selectedLastClicked=-1,this.selectedRows=r}},selectAllRows:function(){var e=this.computedItems.length;this.isSelectable&&e>0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?rf(e,!0):[!0])},isRowSelected:function(e){return!!(gi(e)&&this.selectedRows[e])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(e){if(this.isSelectable&&this.isRowSelected(e)){var r=this.selectedVariant;return _p({"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](iv,this.selectionHandler),this[r]($w,this.clearSelected),this[r](W3,this.clearSelected)},selectionHandler:function(e,r,n){if(!this.isSelectable||this.noSelectOnClick){this.clearSelected();return}var i=this.selectMode,a=this.selectedLastRow,s=this.selectedRows.slice(),o=!s[r];if(i==="single")s=[];else if(i==="range")if(a>-1&&n.shiftKey){for(var u=Na(a,r);u<=Ve(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}}}),nF=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]})},nM=function(e){return qe(e)?"":ef(e)?Ie(e,e):e},ate=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.sortBy,a=i===void 0?null:i,s=n.formatter,o=s===void 0?null:s,u=n.locale,l=u===void 0?void 0:u,c=n.localeOptions,d=c===void 0?{}:c,h=n.nullLast,p=h===void 0?!1:h,g=Tr(e,a,null),_=Tr(r,a,null);return ve(o)&&(g=o(g,a,e),_=o(_,a,r)),g=nM(g),_=nM(_),Vl(g)&&Vl(_)||gi(g)&&gi(_)?g<_?-1:g>_?1:0:p&&g===""&&_!==""?1:p&&g!==""&&_===""?-1:p1(g).localeCompare(p1(_),l,d)},Hi,Zu;function iM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function aM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iM(Object(r),!0).forEach(function(n){Sn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Sn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $v="sortBy",ste=eo+$v,Av="sortDesc",ote=eo+Av,Mv="asc",b1="desc",ute="last",lte=[Mv,b1,ute],iF=(Hi={labelSortAsc:b(R,"Click to sort ascending"),labelSortClear:b(R,"Click to clear sorting"),labelSortDesc:b(R,"Click to sort descending"),noFooterSorting:b(N,!1),noLocalSorting:b(N,!1),noSortReset:b(N,!1)},Sn(Hi,$v,b(R)),Sn(Hi,"sortCompare",b(qr)),Sn(Hi,"sortCompareLocale",b(Lr)),Sn(Hi,"sortCompareOptions",b(Jt,{numeric:!0})),Sn(Hi,Av,b(N,!1)),Sn(Hi,"sortDirection",b(R,Mv,function(t){return xe(lte,t)})),Sn(Hi,"sortIconLeft",b(N,!1)),Sn(Hi,"sortNullLast",b(N,!1)),Hi),cte=V.extend({props:iF,data:function(){return{localSortBy:this[$v]||"",localSortDesc:this[Av]||!1}},computed:{localSorting:function(){return this.hasProvider?!!this.noProviderSorting:!this.noLocalSorting},isSortable:function(){return this.computedFields.some(function(e){return e.sortable})},sortedItems:function(){var e=this.localSortBy,r=this.localSortDesc,n=this.sortCompareLocale,i=this.sortNullLast,a=this.sortCompare,s=this.localSorting,o=(this.filteredItems||this.localItems||[]).slice(),u=aM(aM({},this.sortCompareOptions),{},{usage:"sort"});if(e&&s){var l=this.computedFieldsObj[e]||{},c=l.sortByFormatted,d=ve(c)?c:c?this.getFieldFormatter(e):void 0;return nF(o,function(h,p){var g=null;return ve(a)&&(g=a(h,p,e,r,d,u,n)),(qe(g)||g===!1)&&(g=ate(h,p,{sortBy:e,formatter:d,locale:n,localeOptions:u,nullLast:i})),(g||0)*(r?-1:1)})}return o}},watch:(Zu={isSortable:function(e){e?this.isSortable&&this.$on(tf,this.handleSort):this.$off(tf,this.handleSort)}},Sn(Zu,Av,function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)}),Sn(Zu,$v,function(t){t!==this.localSortBy&&(this.localSortBy=t||"")}),Sn(Zu,"localSortDesc",function(e,r){e!==r&&this.$emit(ote,e)}),Sn(Zu,"localSortBy",function(e,r){e!==r&&this.$emit(ste,e)}),Zu),created:function(){this.isSortable&&this.$on(tf,this.handleSort)},methods:{handleSort:function(e,r,n,i){var a=this;if(this.isSortable&&!(i&&this.noFooterSorting)){var s=!1,o=function(){var c=r.sortDirection||a.sortDirection;c===Mv?a.localSortDesc=!1:c===b1&&(a.localSortDesc=!0)};if(r.sortable){var u=!this.localSorting&&r.sortKey?r.sortKey:e;this.localSortBy===u?this.localSortDesc=!this.localSortDesc:(this.localSortBy=u,o()),s=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",o(),s=!0);s&&this.$emit(rW,this.context)}},sortTheadThClasses:function(e,r,n){return{"b-table-sort-icon-left":r.sortable&&this.sortIconLeft&&!(n&&this.noFooterSorting)}},sortTheadThAttrs:function(e,r,n){var i,a=this.isSortable,s=this.noFooterSorting,o=this.localSortDesc,u=this.localSortBy,l=this.localSorting;if(!a||n&&s)return{};var c=r.sortable,d=l?e:(i=r.sortKey)!==null&&i!==void 0?i:e,h=c&&u===d?o?"descending":"ascending":c?"none":null;return{"aria-sort":h}},sortTheadThLabel:function(e,r,n){if(!this.isSortable||n&&this.noFooterSorting)return null;var i=this.localSortBy,a=this.localSortDesc,s=this.labelSortAsc,o=this.labelSortDesc,u=r.sortable,l="";if(u)if(i===e)l=a?s:o;else{l=a?o:s;var c=this.sortDirection||r.sortDirection;c===Mv?l=s:c===b1&&(l=o)}else this.noSortReset||(l=i?this.labelSortClear:"");return As(l)||null}}});function dte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u0={stacked:b(Nr,!1)},kv=V.extend({props:u0,computed:{isStacked:function(){var e=this.stacked;return e===""?!0:e},isStackedAlways:function(){return this.isStacked===!0},stackedTableClasses:function(){var e=this.isStackedAlways;return dte({"b-table-stacked":e},"b-table-stacked-".concat(this.stacked),!e&&this.isStacked)}}});function sM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function K_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sM(Object(r),!0).forEach(function(n){fte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l0={bordered:b(N,!1),borderless:b(N,!1),captionTop:b(N,!1),dark:b(N,!1),fixed:b(N,!1),hover:b(N,!1),noBorderCollapse:b(N,!1),outlined:b(N,!1),responsive:b(Nr,!1),small:b(N,!1),stickyHeader:b(Nr,!1),striped:b(N,!1),tableClass:b(ye),tableVariant:b(R)},GS=V.extend({mixins:[or],provide:function(){return{bvTable:this}},inheritAttrs:!1,props:l0,computed:{isResponsive:function(){var e=this.responsive;return e===""?!0:e},isStickyHeader:function(){var e=this.stickyHeader;return e=e===""?!0:e,this.isStacked?!1:e},wrapperClasses:function(){var e=this.isResponsive;return[this.isStickyHeader?"b-table-sticky-header":"",e===!0?"table-responsive":e?"table-responsive-".concat(this.responsive):""].filter(Oe)},wrapperStyles:function(){var e=this.isStickyHeader;return e&&!ei(e)?{maxHeight:e}:{}},tableClasses:function(){var e=this.hover,r=this.tableVariant;return e=this.isTableSimple?e:e&&this.computedItems.length>0&&!this.computedBusy,[this.tableClass,{"table-striped":this.striped,"table-hover":e,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},r?"".concat(this.dark?"bg":"table","-").concat(r):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var e=this.computedItems,r=this.filteredItems,n=this.computedFields,i=this.selectableTableAttrs,a=this.isTableSimple?{}:{"aria-busy":_e(this.computedBusy),"aria-colcount":_e(n.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null},s=e&&r&&r.length>e.length?_e(r.length):null;return K_(K_(K_({"aria-rowcount":s},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},a),i)}},render:function(e){var r=this.wrapperClasses,n=this.renderCaption,i=this.renderColgroup,a=this.renderThead,s=this.renderTbody,o=this.renderTfoot,u=[];this.isTableSimple?u.push(this.normalizeSlot()):(u.push(n?n():null),u.push(i?i():null),u.push(a?a():null),u.push(s?s():null),u.push(o?o():null));var l=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},u.filter(Oe));return r.length>0?e("div",{class:r,style:this.wrapperStyles,key:"wrap"},[l]):l}});function oM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function q_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oM(Object(r),!0).forEach(function(n){hte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function hte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var WS=Q({tbodyTransitionHandlers:b(Jt),tbodyTransitionProps:b(Jt)},F3),aF=V.extend({name:F3,mixins:[or,Xa,Pe],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:WS,computed:{isTbody:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},isTransitionGroup:function(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs:function(){return q_({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){var e=this.tbodyTransitionProps;return e?q_(q_({},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())}}),pte=["TD","TH","TR"],_1=function(e){if(!e||!e.target)return!1;var r=e.target;if(r.disabled||pte.indexOf(r.tagName)!==-1)return!1;if(un(".dropdown-menu",r))return!0;var n=r.tagName==="LABEL"?r:un("label",r);if(n){var i=Dn(n,"for"),a=i?Mw(i):kn("input, select, textarea",n);if(a&&!a.disabled)return!0}return za(r,Fee)},sF=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=u7();return r&&r.toString().trim()!==""&&r.containsNode&&lt(e)?r.containsNode(e,!0):!1},mte=Q(VB,z3),YS=V.extend({name:z3,extends:Ql,props:mte,computed:{tag:function(){return"th"}}});function uM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function dd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?uM(Object(r),!0).forEach(function(n){vte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gte(t){return wte(t)||yte(t)||_te(t)||bte()}function bte(){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 _te(t,e){if(t){if(typeof t=="string")return y1(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 y1(t,e)}}function yte(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wte(t){if(Array.isArray(t))return y1(t)}function y1(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 oF={detailsTdClass:b(ye),tbodyTrAttr:b(fW),tbodyTrClass:b([].concat(gte(ye),[qr]))},Ote=V.extend({props:oF,methods:{getTdValues:function(e,r,n,i){var a=this.$parent;if(n){var s=Tr(e,r,"");return ve(n)?n(s,r,e):Be(n)&&ve(a[n])?a[n](s,r,e):n}return i},getThValues:function(e,r,n,i,a){var s=this.$parent;if(n){var o=Tr(e,r,"");return ve(n)?n(o,r,e,i):Be(n)&&ve(s[n])?s[n](o,r,e,i):n}return a},getFormattedValue:function(e,r){var n=r.key,i=this.getFieldFormatter(n),a=Tr(e,n,null);return ve(i)&&(a=i(a,n,e)),qe(a)?"":a},toggleDetailsFactory:function(e,r){var n=this;return function(){e&&n.$set(r,Ud,!r[Ud])}},rowHovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(ZG,e)},rowUnhovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(eW,e)},renderTbodyRowCell:function(e,r,n,i){var a=this,s=this.isStacked,o=e.key,u=e.label,l=e.isRowHeader,c=this.$createElement,d=this.hasNormalizedSlot(Jc),h=this.getFormattedValue(n,e),p=!s&&(this.isResponsive||this.stickyHeader)&&e.stickyColumn,g=p?l?YS:Ql:l?"th":"td",_=n[Em]&&n[Em][o]?n[Em][o]:e.variant||null,O={class:[e.class?e.class:"",this.getTdValues(n,o,e.tdClass,"")],props:{},attrs:dd({"aria-colindex":String(r+1)},l?this.getThValues(n,o,e.thAttr,"row",{}):this.getTdValues(n,o,e.tdAttr,{})),key:"row-".concat(i,"-cell-").concat(r,"-").concat(o)};p?O.props={stackedHeading:s?u:null,stickyColumn:!0,variant:_}:(O.attrs["data-label"]=s&&!qe(u)?_e(u):null,O.attrs.role=l?"rowheader":"cell",O.attrs.scope=l?"row":null,_&&O.class.push("".concat(this.dark?"bg":"table","-").concat(_)));var S={item:n,index:i,field:e,unformatted:Tr(n,o,""),value:h,toggleDetails:this.toggleDetailsFactory(d,n),detailsShowing:!!n[Ud]};this.supportsSelectableRows&&(S.rowSelected=this.isRowSelected(i),S.selectRow=function(){return a.selectRow(i)},S.unselectRow=function(){return a.unselectRow(i)});var E=this.$_bodyFieldSlotNameCache[o],x=E?this.normalizeSlot(E,S):_e(h);return this.isStacked&&(x=[c("div",[x])]),c(g,O,[x])},renderTbodyRow:function(e,r){var n=this,i=this.computedFields,a=this.striped,s=this.primaryKey,o=this.currentPage,u=this.perPage,l=this.tbodyTrClass,c=this.tbodyTrAttr,d=this.$createElement,h=this.hasNormalizedSlot(Jc),p=e[Ud]&&h,g=this.$listeners[iv]||this.hasSelectableRowClick,_=[],O=p?this.safeId("_details_".concat(r,"_")):null,S=i.map(function($,D){return n.renderTbodyRowCell($,D,e,r)}),E=null;o&&u&&u>0&&(E=String((o-1)*u+r+1));var x=_e(Tr(e,s))||null,f=x||_e(r),m=x?this.safeId("_row_".concat(x)):null,v=this.selectableRowClasses?this.selectableRowClasses(r):{},T=this.selectableRowAttrs?this.selectableRowAttrs(r):{},P=ve(l)?l(e,"row"):l,k=ve(c)?c(e,"row"):c;if(_.push(d(Ya,{class:[P,v,p?"b-table-has-details":""],props:{variant:e[m1]||null},attrs:dd(dd({id:m},k),{},{tabindex:g?"0":null,"data-pk":x||null,"aria-details":O,"aria-owns":O,"aria-rowindex":E},T),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(f,"__"),ref:"item-rows",refInFor:!0},S)),p){var y={item:e,index:r,fields:i,toggleDetails:this.toggleDetailsFactory(h,e)};this.supportsSelectableRows&&(y.rowSelected=this.isRowSelected(r),y.selectRow=function(){return n.selectRow(r)},y.unselectRow=function(){return n.unselectRow(r)});var M=d(Ql,{props:{colspan:i.length},class:this.detailsTdClass},[this.normalizeSlot(Jc,y)]);a&&_.push(d("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(f)}));var C=ve(this.tbodyTrClass)?this.tbodyTrClass(e,Jc):this.tbodyTrClass,w=ve(this.tbodyTrAttr)?this.tbodyTrAttr(e,Jc):this.tbodyTrAttr;_.push(d(Ya,{staticClass:"b-table-details",class:[C],props:{variant:e[m1]||null},attrs:dd(dd({},w),{},{id:O,tabindex:"-1"}),key:"__b-table-details__".concat(f)},[M]))}else h&&(_.push(d()),a&&_.push(d()));return _}}});function lM(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 X_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lM(Object(r),!0).forEach(function(n){Ste(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ste(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Z_=function(e){return"cell(".concat(e||"",")")},KS=ce(X_(X_(X_({},WS),oF),{},{tbodyClass:b(ye)})),uF=V.extend({mixins:[Ote],props:KS,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?iu(r.children).filter(function(i){return xe(n,i)}):[]},getTbodyTrIndex:function(e){if(!lt(e))return-1;var r=e.tagName==="TR"?e:un("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"||!sS(r)||r.tabIndex!==0)){if(xe([qa,da],n))Me(e),this.onTBodyRowClicked(e);else if(xe([ln,Kr,Ws,Gs],n)){var i=this.getTbodyTrIndex(r);if(i>-1){Me(e);var a=this.getTbodyTrs(),s=e.shiftKey;n===Ws||s&&n===ln?ke(a[0]):n===Gs||s&&n===Kr?ke(a[a.length-1]):n===ln&&i>0?ke(a[i-1]):n===Kr&&i<a.length-1&&ke(a[i+1])}}}},onTBodyRowClicked:function(e){var r=this.$refs,n=r.tbody?r.tbody.$el||r.tbody:null;this.tbodyRowEventStopped(e)||_1(e)||sF(n||this.$el)||this.emitTbodyRowEvent(iv,e)},onTbodyRowMiddleMouseRowClicked:function(e){!this.tbodyRowEventStopped(e)&&e.which===2&&this.emitTbodyRowEvent(JG,e)},onTbodyRowContextmenu:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(qG,e)},onTbodyRowDblClicked:function(e){!this.tbodyRowEventStopped(e)&&!_1(e)&&this.emitTbodyRowEvent(XG,e)},renderTbody:function(){var e=this,r=this.computedItems,n=this.renderBusy,i=this.renderTopRow,a=this.renderEmpty,s=this.renderBottomRow,o=this.$createElement,u=this.hasListener(iv)||this.hasSelectableRowClick,l=[],c=n?n():null;if(c)l.push(c);else{var d={},h=Z_();h=this.hasNormalizedSlot(h)?h:null,this.computedFields.forEach(function(_){var O=_.key,S=Z_(O),E=Z_(O.toLowerCase());d[O]=e.hasNormalizedSlot(S)?S:e.hasNormalizedSlot(E)?E:h}),this.$_bodyFieldSlotNameCache=d,l.push(i?i():o()),r.forEach(function(_,O){l.push(e.renderTbodyRow(_,O))}),l.push(a?a():o()),l.push(s?s():o())}var p={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};u&&(p.click=this.onTBodyRowClicked,p.keydown=this.onTbodyRowKeydown);var g=o(aF,{class:this.tbodyClass||null,props:pt(WS,this.$props),on:p,ref:"tbody"},l);return g}}});function cM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function dM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cM(Object(r),!0).forEach(function(n){xte(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 xte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tte=Q({footVariant:b(R)},j3),qS=V.extend({name:j3,mixins:[or,Xa,Pe],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:Tte,computed:{isTfoot:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},tfootClasses:function(){return[this.footVariant?"thead-".concat(this.footVariant):null]},tfootAttrs:function(){return dM(dM({},this.bvAttrs),{},{role:"rowgroup"})}},render:function(e){return e("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}}),XS={footClone:b(N,!1),footRowVariant:b(R),footVariant:b(R),tfootClass:b(ye),tfootTrClass:b(ye)},lF=V.extend({props:XS,methods:{renderTFootCustom:function(){var e=this.$createElement;return this.hasNormalizedSlot(qE)?e(qS,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot(qE,{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):e()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}});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 Ete(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){Pte(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 Pte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cte=Q({headVariant:b(R)},H3),cF=V.extend({name:H3,mixins:[or,Xa,Pe],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:Cte,computed:{isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return Ete({role:"rowgroup"},this.bvAttrs)}},render:function(e){return e("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}});function $te(t){return Dte(t)||kte(t)||Mte(t)||Ate()}function Ate(){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 Mte(t,e){if(t){if(typeof t=="string")return w1(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 w1(t,e)}}function kte(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dte(t){if(Array.isArray(t))return w1(t)}function w1(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 hM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function pM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hM(Object(r),!0).forEach(function(n){Rte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Rte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var J_=function(e){return"head(".concat(e||"",")")},Q_=function(e){return"foot(".concat(e||"",")")},ZS={headRowVariant:b(R),headVariant:b(R),theadClass:b(ye),theadTrClass:b(ye)},dF=V.extend({props:ZS,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(_1(e))return;if(sF(this.$el))return}Me(e),this.$emit(tf,r.key,r,e,n)}},renderThead:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.computedFields,i=this.isSortable,a=this.isSelectable,s=this.headVariant,o=this.footVariant,u=this.headRowVariant,l=this.footRowVariant,c=this.$createElement;if(this.isStackedAlways||n.length===0)return c();var d=i||this.hasListener(tf),h=a?this.selectAllRows:Lf,p=a?this.clearSelected:Lf,g=function(x,f){var m=x.label,v=x.labelHtml,T=x.variant,P=x.stickyColumn,k=x.key,y=null;!x.label.trim()&&!x.headerTitle&&(y=om(x.key));var M={};d&&(M.click=function(H){e.headClicked(H,x,r)},M.keydown=function(H){var G=H.keyCode;(G===qa||G===da)&&e.headClicked(H,x,r)});var C=i?e.sortTheadThAttrs(k,x,r):{},w=i?e.sortTheadThClasses(k,x,r):null,$=i?e.sortTheadThLabel(k,x,r):null,D={class:[{"position-relative":$},e.fieldClasses(x),w],props:{variant:T,stickyColumn:P},style:x.thStyle||{},attrs:pM(pM({tabindex:d&&x.sortable?"0":null,abbr:x.headerAbbr||null,title:x.headerTitle||null,"aria-colindex":f+1,"aria-label":y},e.getThValues(null,k,x.thAttr,r?"foot":"head",{})),C),on:M,key:k},A=[J_(k),J_(k.toLowerCase()),J_()];r&&(A=[Q_(k),Q_(k.toLowerCase()),Q_()].concat($te(A)));var L={label:m,column:k,field:x,isFoot:r,selectAllRows:h,clearSelected:p},F=e.normalizeSlot(A,L)||c("div",{domProps:St(v,m)}),j=$?c("span",{staticClass:"sr-only"}," (".concat($,")")):null;return c(YS,D,[F,j].filter(Oe))},_=n.map(g).filter(Oe),O=[];if(r)O.push(c(Ya,{class:this.tfootTrClass,props:{variant:qe(l)?u:l}},_));else{var S={columns:n.length,fields:n,selectAllRows:h,clearSelected:p};O.push(this.normalizeSlot(ZW,S)||c()),O.push(c(Ya,{class:this.theadTrClass,props:{variant:u}},_))}return c(r?qS:cF,{class:(r?this.tfootClass:this.theadClass)||null,props:r?{footVariant:o||s||null}:{headVariant:s||null},key:r?"bv-tfoot":"bv-thead"},O)}}}),Ite={},Lte=V.extend({methods:{renderTopRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(nP)||r===!0||r===""?a():a(Ya,{staticClass:"b-table-top-row",class:[ve(n)?n(null,"row-top"):n],attrs:ve(i)?i(null,"row-top"):i,key:"b-top-row"},[this.normalizeSlot(nP,{columns:e.length,fields:e})])}}});function mM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function lr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mM(Object(r),!0).forEach(function(n){Nte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Nte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bte=Q(ce(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr(lr({},et),HB),UB),VS),WB),KB),ZB),US),eF),tF),rF),iF),u0),l0),KS),XS),ZS),Ite)),nu),Fte=V.extend({name:nu,mixins:[or,zS,it,Pe,QB,GS,kv,dF,lF,uF,kv,Yee,cte,Qee,GB,YB,ite,Bee,Lte,Dee,Nee,rte],props:Bte});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 wa(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){jte(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 jte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zte=Q(ce(wa(wa(wa(wa(wa(wa(wa(wa(wa({},et),VS),WB),US),u0),l0),KS),XS),ZS)),L3),Hte=V.extend({name:L3,mixins:[or,zS,it,Pe,QB,GS,kv,dF,lF,uF,GB,YB],props:zte});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 ey(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){Vte(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 Vte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ute=Q(ce(ey(ey(ey({},et),u0),l0)),N3),fF=V.extend({name:N3,mixins:[or,zS,it,Pe,GS,kv],props:Ute,computed:{isTableSimple:function(){return!0}}}),Gte=fe({components:{BTableLite:Hte}}),Wte=fe({components:{BTableSimple:fF,BTbody:aF,BThead:cF,BTfoot:qS,BTr:Ya,BTd:Ql,BTh:YS}}),Yte=fe({components:{BTable:Fte},plugins:{TableLitePlugin:Gte,TableSimplePlugin:Wte}});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 Kte(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){qte(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 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 _M=function(e){return e>0},Xte=Q({animation:b(R),columns:b(Dr,5,_M),hideHeader:b(N,!1),rows:b(Dr,3,_M),showFooter:b(N,!1),tableProps:b(Jt,{})},M3),Zte=V.extend({name:M3,functional:!0,props:Xte,render:function(e,r){var n=r.data,i=r.props,a=i.animation,s=i.columns,o=e("th",[e(Cv,{props:{animation:a}})]),u=e("tr",rf(s,o)),l=e("td",[e(Cv,{props:{width:"75%",animation:a}})]),c=e("tr",rf(s,l)),d=e("tbody",rf(i.rows,c)),h=i.hideHeader?e():e("thead",[u]),p=i.showFooter?e("tfoot",[u]):e();return e(fF,pe(n,{props:Kte({},i.tableProps)}),[h,d,p])}}),Jte=Q({loading:b(N,!1)},k3),Qte=V.extend({name:k3,functional:!0,props:Jte,render:function(e,r){var n=r.data,i=r.props,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},l={};return i.loading?e("div",pe(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),_r(MW,l,u,o)):_r(nr,l,u,o)}}),ere=fe({components:{BSkeleton:Cv,BSkeletonIcon:Eee,BSkeletonImg:$ee,BSkeletonTable:Zte,BSkeletonWrapper:Qte}}),tre=fe({components:{BSpinner:PB}}),Ju;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 Tl(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){Ui(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 Ui(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c0=er("value",{type:Dr}),rre=c0.mixin,nre=c0.props,ty=c0.prop,wM=c0.event,bo=function(e){return!e.disabled},ire=V.extend({name:MG,inject:{bvTabs:{default:function(){return{}}}},props:{controls:b(R),id:b(R),noKeyNav:b(N,!1),posInSet:b(Dr),setSize:b(Dr),tab:b(),tabIndex:b(Dr)},methods:{focus:function(){ke(this.$refs.link)},handleEvent:function(e){if(!this.tab.disabled){var r=e.type,n=e.keyCode,i=e.shiftKey;r==="click"?(Me(e),this.$emit(ai,e)):r==="keydown"&&n===da?(Me(e),this.$emit(ai,e)):r==="keydown"&&!this.noKeyNav&&([ln,Oi,Ws].indexOf(n)!==-1?(Me(e),i||n===Ws?this.$emit(Y3,e):this.$emit(eL,e)):[Kr,Wa,Gs].indexOf(n)!==-1&&(Me(e),i||n===Gs?this.$emit(q3,e):this.$emit(J3,e)))}}},render:function(e){var r=this.id,n=this.tabIndex,i=this.setSize,a=this.posInSet,s=this.controls,o=this.handleEvent,u=this.tab,l=u.title,c=u.localActive,d=u.disabled,h=u.titleItemClass,p=u.titleLinkClass,g=u.titleLinkAttributes,_=e(hn,{staticClass:"nav-link",class:[{active:c&&!d,disabled:d},p,c?this.bvTabs.activeNavItemClass:null],props:{disabled:d},attrs:Tl(Tl({},g),{},{id:r,role:"tab",tabindex:n,"aria-selected":c&&!d?"true":"false","aria-setsize":i,"aria-posinset":a,"aria-controls":s}),on:{click:o,keydown:o},ref:"link"},[this.tab.normalizeSlot(nh)||l]);return e("li",{staticClass:"nav-item",class:[h],attrs:{role:"presentation"}},[_])}}),are=De(NS,["tabs","isNavBar","cardHeader"]),sre=Q(ce(Tl(Tl(Tl(Tl({},et),nre),are),{},{activeNavItemClass:b(ye),activeTabClass:b(ye),card:b(N,!1),contentClass:b(ye),end:b(N,!1),lazy:b(N,!1),navClass:b(ye),navWrapperClass:b(ye),noFade:b(N,!1),noKeyNav:b(N,!1),noNavStyle:b(N,!1),tag:b(R,"div")})),B3),ore=V.extend({name:B3,mixins:[it,rre,Pe],provide:function(){return{bvTabs:this}},props:sre,data:function(){return{currentTab:ie(this[ty],-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:(Ju={},Ui(Ju,ty,function(t,e){if(t!==e){t=ie(t,-1),e=ie(e,0);var r=this.tabs[t];r&&!r.disabled?this.activateTab(r):t<e?this.previousTab():this.nextTab()}}),Ui(Ju,"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(wM,r)}),Ui(Ju,"tabs",function(e,r){var n=this;He(e.map(function(i){return i[ja]}),r.map(function(i){return i[ja]}))||this.$nextTick(function(){n.$emit(jG,e.slice(),r.slice())})}),Ui(Ju,"registeredTabs",function(){this.updateTabs()}),Ju),created:function(){this.$_observer=null},mounted:function(){this.setObserver(!0)},beforeDestroy:function(){this.setObserver(!1),this.tabs=[]},methods:{registerTab:function(e){xe(this.registeredTabs,e)||this.registeredTabs.push(e)},unregisterTab:function(e){this.registeredTabs=this.registeredTabs.slice().filter(function(r){return r!==e})},setObserver:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,r){var n=function(){e.$nextTick(function(){Xe(function(){e.updateTabs()})})};this.$_observer=Nf(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs.filter(function(i){return i.$children.filter(function(a){return a._isTab}).length===0}),r=[];if(nt&&e.length>0){var n=e.map(function(i){return"#".concat(i.safeId())}).join(", ");r=In(n,this.$el).map(function(i){return i.id}).filter(Oe)}return nF(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(bo)):e[n]&&!e[n].disabled&&(r=n)}r<0&&(r=e.indexOf(e.find(bo))),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 bu(BG,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(s.type,a,r,s),s.defaultPrevented||(this.currentTab=a,i=!0)}}return!i&&this[ty]!==r&&this.$emit(wM,r),i},deactivateTab:function(e){return e?this.activateTab(this.tabs.filter(function(r){return r!==e}).find(bo)):!1},focusButton:function(e){var r=this;this.$nextTick(function(){ke(r.getButtonForTab(e))})},emitTabClick:function(e,r){Qo(r)&&e&&e.$emit&&!e.disabled&&e.$emit(ai,r)},clickTab:function(e,r){this.activateTab(e),this.emitTabClick(e,r)},firstTab:function(e){var r=this.tabs.find(bo);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))},previousTab:function(e){var r=Ve(this.currentTab,0),n=this.tabs.slice(0,r).reverse().find(bo);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var r=Ve(this.currentTab,-1),n=this.tabs.slice(r+1).find(bo);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var r=this.tabs.slice().reverse().find(bo);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))}},render:function(e){var r=this,n=this.align,i=this.card,a=this.end,s=this.fill,o=this.firstTab,u=this.justified,l=this.lastTab,c=this.nextTab,d=this.noKeyNav,h=this.noNavStyle,p=this.pills,g=this.previousTab,_=this.small,O=this.tabs,S=this.vertical,E=O.find(function(k){return k.localActive&&!k.disabled}),x=O.find(function(k){return!k.disabled}),f=O.map(function(k,y){var M,C=k.safeId,w=null;return d||(w=-1,(k===E||!E&&k===x)&&(w=null)),e(ire,{props:{controls:C?C():null,id:k.controlledBy||(C?C("_BV_tab_button_"):null),noKeyNav:d,posInSet:y+1,setSize:O.length,tab:k,tabIndex:w},on:(M={},Ui(M,ai,function($){r.clickTab(k,$)}),Ui(M,Y3,o),Ui(M,eL,g),Ui(M,J3,c),Ui(M,q3,l),M),key:k[ja]||y,ref:"buttons",refInFor:!0})}),m=e(SB,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:s,justified:u,align:n,tabs:!h&&!p,pills:!h&&p,vertical:S,small:_,cardHeader:i&&!S},ref:"nav"},[this.normalizeSlot(qW)||e(),f,this.normalizeSlot(KW)||e()]);m=e("div",{class:[{"card-header":i&&!S&&!a,"card-footer":i&&!S&&a,"col-auto":S},this.navWrapperClass],key:"bv-tabs-nav"},[m]);var v=this.normalizeSlot()||[],T=e();v.length===0&&(T=e("div",{class:["tab-pane","active",{"card-body":i}],key:"bv-empty-tab"},this.normalizeSlot(uL)));var P=e("div",{staticClass:"tab-content",class:[{col:S},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[v,T]);return e(this.tag,{staticClass:"tabs",class:{row:S,"no-gutters":S&&i},attrs:{id:this.safeId()}},[a?P:e(),m,a?e():P])}}),Vn,fd;function OM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function SM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?OM(Object(r),!0).forEach(function(n){en(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):OM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function 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 Dv="active",xM=eo+Dv,ure=Q(ce(SM(SM({},et),{},(Vn={},en(Vn,Dv,b(N,!1)),en(Vn,"buttonId",b(R)),en(Vn,"disabled",b(N,!1)),en(Vn,"lazy",b(N,!1)),en(Vn,"noBody",b(N,!1)),en(Vn,"tag",b(R,"div")),en(Vn,"title",b(R)),en(Vn,"titleItemClass",b(ye)),en(Vn,"titleLinkAttributes",b(Jt)),en(Vn,"titleLinkClass",b(ye)),Vn))),R3),lre=V.extend({name:R3,mixins:[it,Pe],inject:{bvTabs:{default:function(){return{}}}},props:ure,data:function(){return{localActive:this[Dv]&&!this.disabled}},computed:{_isTab:function(){return!0},tabClasses:function(){var e=this.localActive,r=this.disabled;return[{active:e,disabled:r,"card-body":this.bvTabs.card&&!this.noBody},e?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade:function(){return!this.bvTabs.fade},computedLazy:function(){return this.bvTabs.lazy||this.lazy}},watch:(fd={},en(fd,Dv,function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit(xM,this.localActive))}),en(fd,"disabled",function(e,r){if(e!==r){var n=this.bvTabs.firstTab;e&&this.localActive&&n&&(this.localActive=!1,n())}}),en(fd,"localActive",function(e){this.$emit(xM,e)}),fd),mounted:function(){this.registerTab()},updated:function(){var e=this.bvTabs.updateButton;e&&this.hasNormalizedSlot(nh)&&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(vu,{props:{mode:"out-in",noFade:this.computedNoFade}},[n])}}),cre=fe({components:{BTabs:ore,BTab:lre}}),dre=fe({components:{BTime:sB}});function Pm(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pm=function(e){return typeof e}:Pm=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pm(t)}function fre(t){return hre(t)||pre(t)||mre()}function hre(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 pre(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function mre(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var yp=typeof window<"u";function vre(t){return Array.isArray(t)||Pm(t)==="object"?Object.freeze(t):t}function gre(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 bre(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 TM(t,e){return e.reduce(function(r,n){return t.hasOwnProperty(n)&&(r[n]=t[n]),r},{})}var hF={},_re={},yre={},wre=V.extend({data:function(){return{transports:hF,targets:_re,sources:yre,trackInstances:yp}},methods:{open:function(e){if(yp){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:vre(i),order:s},u=Object.keys(this.transports);u.indexOf(r)===-1&&V.set(this.transports,r,[]);var l=this.$_getTransportIndex(o),c=this.transports[r].slice(0);l===-1?c.push(o):c[l]=o,this.transports[r]=bre(c,function(d,h){return d.order-h.order})}}},close:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.to,i=e.from;if(!(!n||!i&&r===!1)&&this.transports[n])if(r)this.transports[n]=[];else{var a=this.$_getTransportIndex(e);if(a>=0){var s=this.transports[n].slice(0);s.splice(a,1),this.transports[n]=s}}},registerTarget:function(e,r,n){yp&&(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){yp&&(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}}}),Mn=new wre(hF),Ore=1,pF=V.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(Ore++)}},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(){Mn.registerSource(e.name,e)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){Mn.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};Mn.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:fre(e),order:this.order};Mn.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"})}}),mF=V.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:Mn.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick(function(){Mn.registerTarget(e.name,e)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,r){Mn.unregisterTarget(r),Mn.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick(function(){e.firstRender=!1})},beforeDestroy:function(){Mn.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 gre(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)}}),Sre=0,xre=["disabled","name","order","slim","slotProps","tag","to"],Tre=["multiple","transition"];V.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(Sre++)}},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(Mn.targets[r.name]){r.bail?console.warn("[portal-vue]: Target ".concat(r.name,` is already mounted.
        Aborting because 'bail: true' is set`)):this.portalTarget=Mn.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=TM(this.$props,Tre);s.slim=this.targetSlim,s.tag=this.targetTag,s.slotProps=this.targetSlotProps,s.name=this.to,this.portalTarget=new mF({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=TM(this.$props,xre);return e(pF,{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 Ere=V.extend({mixins:[Pe],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(e){var r=this;Xe(function(){Cr(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())}}),Pre=Q({ariaAtomic:b(R),ariaLive:b(R),name:b(R,void 0,!0),role:b(R)},kl),vF=V.extend({name:kl,mixins:[Pi],props:Pre,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var e=this.name;this.staticName=e,Mn.hasTarget(e)?(sr('A "<portal-target>" with name "'.concat(e,'" already exists in the document.'),kl),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(Ct(kl,rS),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(mF,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Ere}});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}}),Qu;function EM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Zi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?EM(Object(r),!0).forEach(function(n){ml(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):EM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ml(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d0=er("visible",{type:N,defaultValue:!1,event:fn}),Cre=d0.mixin,$re=d0.props,ry=d0.prop,Are=d0.event,PM=1e3,gF=Ei(Ci,["href","to"]),bF=Q(ce(Zi(Zi(Zi(Zi({},et),$re),gF),{},{appendToast:b(N,!1),autoHideDelay:b(se,5e3),bodyClass:b(ye),headerClass:b(ye),headerTag:b(R,"header"),isStatus:b(N,!1),noAutoHide:b(N,!1),noCloseButton:b(N,!1),noFade:b(N,!1),noHoverPause:b(N,!1),solid:b(N,!1),static:b(N,!1),title:b(R),toastClass:b(ye),toaster:b(R,"b-toaster-top-right"),variant:b(R)})),La),_F=V.extend({name:La,mixins:[or,it,Cre,Pi,Pe,LS],inheritAttrs:!1,props:bF,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 ml({"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 Ve(ie(this.autoHideDelay,0),PM)},computedToaster:function(){return String(this.toaster)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs:function(){return Zi(Zi({},this.bvAttrs),{},{id:this.safeId(),tabindex:"0"})}},watch:(Qu={},ml(Qu,ry,function(t){this[t?"show":"hide"]()}),ml(Qu,"localShow",function(e){e!==this[ry]&&this.$emit(Are,e)}),ml(Qu,"toaster",function(){this.$nextTick(this.ensureToaster)}),ml(Qu,"static",function(e){e&&this.localShow&&this.ensureToaster()}),Qu),created:function(){this.$_dismissTimer=null},mounted:function(){var e=this;this.isMounted=!0,this.$nextTick(function(){e[ry]&&Xe(function(){e.show()})}),this.listenOnRoot(qt(La,br),function(r){r===e.safeId()&&e.show()}),this.listenOnRoot(qt(La,on),function(r){(!r||r===e.safeId())&&e.hide()}),this.listenOnRoot(Ct(kl,rS),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(br);this.emitEvent(r),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick(function(){Xe(function(){e.localShow=!0})})}},hide:function(){var e=this;if(this.localShow){var r=this.buildEvent(on);this.emitEvent(r),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,Xe(function(){e.localShow=!1})}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new bu(e,Zi(Zi({cancelable:!1,target:this.$el||null,relatedTarget:null},r),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ct(La,r),e),this.$emit(r,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!Mn.hasTarget(e)){var r=document.createElement("div");document.body.appendChild(r);var n=new vF({parent:this.$root,propsData:{name:e}});n.$mount(r)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(e){var r=this.$refs["b-toast"];wi(e,r,"mouseenter",this.onPause,Ne),wi(e,r,"mouseleave",this.onUnPause,Ne)},onPause:function(){if(!(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Ve(this.computedDuration-e,PM))}},onUnPause:function(){if(this.noAutoHide||this.noHoverPause||!this.resumeDismiss){this.resumeDismiss=this.dismissStarted=0;return}this.startDismissTimer()},onLinkClick:function(){var e=this;this.$nextTick(function(){Xe(function(){e.hide()})})},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent(Wr);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(Nt);this.emitEvent(e),this.doRender=!1},makeToast:function(e){var r=this,n=this.title,i=this.slotScope,a=ah(this),s=[],o=this.normalizeSlot(JW,i);o?s.push(o):n&&s.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||s.push(e(su,{staticClass:"ml-auto mb-1",on:{click:function(){r.hide()}}}));var u=e();s.length>0&&(u=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},s));var l=e(a?hn:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?pt(gF,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot(nr,i));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[ja]),ref:"toast"},[u,l])}},render:function(e){if(!this.doRender||!this.isMounted)return e();var r=this.order,n=this.static,i=this.isHiding,a=this.isStatus,s="b-toast-".concat(this[ja]),o=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:Zi(Zi({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:i?null:a?"status":"alert","aria-live":i?null:a?"polite":"assertive","aria-atomic":i?null:"true"}),key:s,ref:"b-toast"},[e(vu,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(pF,{props:{name:s,to:this.computedToaster,order:r,slim:!0,disabled:n}},[o])}});function Mre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CM(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 kre(t,e,r){return e&&CM(t.prototype,e),r&&CM(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}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 hd(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){Dre(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 Dre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rre(t){return Bre(t)||Nre(t)||Lre(t)||Ire()}function Ire(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lre(t,e){if(t){if(typeof t=="string")return O1(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 O1(t,e)}}function Nre(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Bre(t){if(Array.isArray(t))return O1(t)}function O1(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 pd="$bvToast",ny="_bv__toast",Fre=["id"].concat(Rre(Ee(De(bF,["static","visible"])))),iy={toastContent:"default",title:"toast-title"},AM=function(e){return Fre.reduce(function(r,n){return Bt(e[n])||(r[n]=e[n]),r},{})},jre=function(e){var r=e.extend({name:kG,extends:_F,destroyed:function(){var s=this.$el;s&&s.parentNode&&s.parentNode.removeChild(s)},mounted:function(){var s=this,o=function(){s.localShow=!1,s.doRender=!1,s.$nextTick(function(){s.$nextTick(function(){Xe(function(){s.$destroy()})})})};this.$parent.$once(Mf,o),this.$once(Nt,o),this.listenOnRoot(Ct(kl,rS),function(u){u===s.toaster&&o()})}}),n=function(s,o){if(!tv(pd)){var u=new r({parent:o,propsData:hd(hd(hd({},AM(An(La))),De(s,Ee(iy))),{},{static:!1,visible:!0})});Ee(iy).forEach(function(c){var d=s[c];Bt(d)||(c==="title"&&Be(d)&&(d=[o.$createElement("strong",{class:"mr-2"},d)]),u.$slots[iy[c]]=je(d))});var l=document.createElement("div");document.body.appendChild(l),u.$mount(l)}},i=function(){function a(s){Mre(this,a),rh(this,{_vm:s,_root:s.$root}),Eg(this,{_vm:Xn(),_root:Xn()})}return kre(a,[{key:"toast",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!o||tv(pd)||n(hd(hd({},AM(u)),{},{toastContent:o}),this._vm)}},{key:"show",value:function(o){o&&this._root.$emit(qt(La,br),o)}},{key:"hide",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._root.$emit(qt(La,on),o)}}]),a}();e.mixin({beforeCreate:function(){this[ny]=new i(this)}}),tu(e.prototype,pd)||JO(e.prototype,pd,{get:function(){return(!this||!this[ny])&&sr('"'.concat(pd,'" must be accessed from a Vue instance "this" context.'),La),this[ny]}})},zre=fe({plugins:{plugin:jre}}),Hre=fe({components:{BToast:_F,BToaster:vF},plugins:{BVToastPlugin:zre}});function MM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function kM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MM(Object(r),!0).forEach(function(n){Vre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function 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 qn="__BV_Tooltip__",Ure="hover focus",DM={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},Gre=/^html$/i,Wre=/^noninteractive$/i,Yre=/^nofade$/i,Kre=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,qre=/^(window|viewport|scrollParent)$/i,Xre=/^d\d+$/i,Zre=/^ds\d+$/i,Jre=/^dh\d+$/i,Qre=/^o-?\d+$/i,ene=/^v-.+$/i,tne=/\s+/,rne=function(e,r){var n={title:void 0,trigger:"",placement:"top",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,id:null,html:!1,interactive:!0,disabled:!1,delay:An(Po,"delay",50),boundary:String(An(Po,"boundary","scrollParent")),boundaryPadding:ie(An(Po,"boundaryPadding",5),0),variant:An(Po,"variant"),customClass:An(Po,"customClass")};if(Be(e.value)||gi(e.value)||ve(e.value)?n.title=e.value:Ir(e.value)&&(n=kM(kM({},n),e.value)),Bt(n.title)){var i=r.data||{};n.title=i.attrs&&!qe(i.attrs.title)?i.attrs.title:void 0}Ir(n.delay)||(n.delay={show:ie(n.delay,0),hide:ie(n.delay,0)}),e.arg&&(n.container="#".concat(e.arg)),Ee(e.modifiers).forEach(function(s){if(Gre.test(s))n.html=!0;else if(Wre.test(s))n.interactive=!1;else if(Yre.test(s))n.animation=!1;else if(Kre.test(s))n.placement=s;else if(qre.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(Xre.test(s)){var o=ie(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else Zre.test(s)?n.delay.show=ie(s.slice(2),0):Jre.test(s)?n.delay.hide=ie(s.slice(2),0):Qre.test(s)?n.offset=ie(s.slice(1),0):ene.test(s)&&(n.variant=s.slice(2)||null)});var a={};return je(n.trigger||"").filter(Oe).join(" ").trim().toLowerCase().split(tne).forEach(function(s){DM[s]&&(a[s]=!0)}),Ee(e.modifiers).forEach(function(s){s=s.toLowerCase(),DM[s]&&(a[s]=!0)}),n.trigger=Ee(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=Ure),n},RM=function(e,r,n){if(nt){var i=rne(r,n);if(!e[qn]){var a=n.context;e[qn]=new jS({parent:a,_scopeId:Zl(a,void 0)}),e[qn].__bv_prev_data__={},e[qn].$on(br,function(){ve(i.title)&&e[qn].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[qn].__bv_prev_data__;if(e[qn].__bv_prev_data__=s,!He(s,o)){var u={target:e};Ee(s).forEach(function(l){s[l]!==o[l]&&(u[l]=l==="title"&&ve(s[l])?s[l](e):s[l])}),e[qn].updateData(u)}}},nne=function(e){e[qn]&&(e[qn].$destroy(),e[qn]=null),delete e[qn]},ine={bind:function(e,r,n){RM(e,r,n)},componentUpdated:function(e,r,n){n.context.$nextTick(function(){RM(e,r,n)})},unbind:function(e){nne(e)}},yF=fe({directives:{VBTooltip:ine}}),ane=fe({components:{BTooltip:IB},plugins:{VBTooltipPlugin:yF}}),sne=fe({plugins:{AlertPlugin:x7,AspectPlugin:M7,AvatarPlugin:bY,BadgePlugin:wY,BreadcrumbPlugin:PY,ButtonPlugin:CY,ButtonGroupPlugin:AY,ButtonToolbarPlugin:DY,CalendarPlugin:GY,CardPlugin:c9,CarouselPlugin:x9,CollapsePlugin:dN,DropdownPlugin:CS,EmbedPlugin:lq,FormPlugin:bq,FormCheckboxPlugin:Pq,FormDatepickerPlugin:Rq,FormFilePlugin:Uq,FormGroupPlugin:Qq,FormInputPlugin:aX,FormRadioPlugin:oX,FormRatingPlugin:hX,FormSelectPlugin:EX,FormSpinbuttonPlugin:AX,FormTagsPlugin:VX,FormTextareaPlugin:WX,FormTimepickerPlugin:oZ,ImagePlugin:uZ,InputGroupPlugin:gZ,JumbotronPlugin:OZ,LayoutPlugin:PZ,LinkPlugin:CZ,ListGroupPlugin:IZ,MediaPlugin:zZ,ModalPlugin:MJ,NavPlugin:EB,NavbarPlugin:aQ,OverlayPlugin:cQ,PaginationPlugin:bQ,PaginationNavPlugin:SQ,PopoverPlugin:ree,ProgressPlugin:see,SidebarPlugin:See,SkeletonPlugin:ere,SpinnerPlugin:tre,TablePlugin:Yte,TabsPlugin:cre,TimePlugin:dre,ToastPlugin:Hre,TooltipPlugin:ane}}),one=fe({directives:{VBHover:LN}}),une=fe({directives:{VBModal:OB}});function IM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function LM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?IM(Object(r),!0).forEach(function(n){lne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function lne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NM(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 dne(t,e,r){return e&&NM(t.prototype,e),r&&NM(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var fne="v-b-scrollspy",hne="dropdown-item",ay="active",pne=".nav, .list-group",sy=".nav-link",oy=".nav-item",BM=".list-group-item",mne=".dropdown, .dropup",vne=".dropdown-item",gne=".dropdown-toggle",bne=Ct("BVScrollspy","activate"),_ne="offset",uy="position",yne={element:"body",offset:10,method:"auto",throttle:75},wne={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},FM=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],One=function(e){return rG(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},Sne=function(e,r,n){for(var i in n)if(tu(n,i)){var a=n[i],s=r[i],o=s&&lt(s)?"element":One(s);o=s&&s._isVue?"component":o,new RegExp(a).test(o)||sr("".concat(e,': Option "').concat(i,'" provided type "').concat(o,'" but expected type "').concat(a,'"'))}},wF=function(){function t(e,r,n){cne(this,t),this.$el=e,this.$scroller=null,this.$selector=[sy,BM,vne].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 dne(t,[{key:"updateConfig",value:function(r,n){this.$scroller&&(this.unlisten(),this.$scroller=null);var i=LM(LM({},this.constructor.Default),r);if(n&&(this.$root=n),Sne(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"&&ht(n,"scroll",this,Ne),ht(window,"scroll",this,Ne),ht(window,"resize",this,Ne),ht(window,"orientationchange",this,Ne),FM.forEach(function(i){ht(window,i,r,Ne)}),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var r=this,n=this.getScroller();this.setObservers(!1),n&&n.tagName!=="BODY"&&Ot(n,"scroll",this,Ne),Ot(window,"scroll",this,Ne),Ot(window,"resize",this,Ne),Ot(window,"orientationchange",this,Ne),FM.forEach(function(i){Ot(window,i,r,Ne)})}},{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=Nf(this.$el,function(){n.handleEvent("mutation")},{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$scrollerObserver=Nf(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=Be(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?uy:_ne,a=this.$config.method==="auto"?i:this.$config.method,s=a===uy?l7:kw,o=a===uy?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),In(this.$selector,this.$el).map(function(u){return Dn(u,"href")}).filter(function(u){return u&&RE.test(u||"")}).map(function(u){var l=u.replace(RE,"$1").trim();if(!l)return null;var c=kn(l,n);return c&&yi(c)?{offset:ie(s(c).top,0)+o,target:l}:null}).filter(Oe).sort(function(u,l){return u.offset-l.offset}).reduce(function(u,l){return u[l.target]||(r.$offsets.push(l.offset),r.$targets.push(l.target),u[l.target]=!0),u},{}),this}}},{key:"process",value:function(){var r=this.getScrollTop()+this.$config.offset,n=this.getScrollHeight(),i=this.$config.offset+n-this.getOffsetHeight();if(this.$scrollHeight!==n&&this.refresh(),r>=i){var a=this.$targets[this.$targets.length-1];this.$activeTarget!==a&&this.activate(a);return}if(this.$activeTarget&&r<this.$offsets[0]&&this.$offsets[0]>0){this.$activeTarget=null,this.clear();return}for(var s=this.$offsets.length;s--;){var o=this.$activeTarget!==this.$targets[s]&&r>=this.$offsets[s]&&(Bt(this.$offsets[s+1])||r<this.$offsets[s+1]);o&&this.activate(this.$targets[s])}}},{key:"getScroller",value:function(){if(this.$scroller)return this.$scroller;var r=this.$config.element;if(r)lt(r.$el)?r=r.$el:Be(r)&&(r=kn(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||Ve(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"getOffsetHeight",value:function(){var r=this.getScroller();return r===window?window.innerHeight:au(r).height}},{key:"activate",value:function(r){var n=this;this.$activeTarget=r,this.clear();var i=In(this.$selector.split(",").map(function(a){return"".concat(a,'[href$="').concat(r,'"]')}).join(","),this.$el);i.forEach(function(a){if(Df(a,hne)){var s=un(mne,a);s&&n.setActiveState(kn(gne,s),!0),n.setActiveState(a,!0)}else{n.setActiveState(a,!0),za(a.parentElement,oy)&&n.setActiveState(a.parentElement,!0);for(var o=a;o;){o=un(pne,o);var u=o?o.previousElementSibling:null;u&&za(u,"".concat(sy,", ").concat(BM))&&n.setActiveState(u,!0),u&&za(u,oy)&&(n.setActiveState(kn(sy,u),!0),n.setActiveState(u,!0))}}}),i&&i.length>0&&this.$root&&this.$root.$emit(bne,r,i)}},{key:"clear",value:function(){var r=this;In("".concat(this.$selector,", ").concat(oy),this.$el).filter(function(n){return Df(n,ay)}).forEach(function(n){return r.setActiveState(n,!1)})}},{key:"setActiveState",value:function(r,n){r&&(n?Vr(r,ay):Cr(r,ay))}}],[{key:"Name",get:function(){return fne}},{key:"Default",get:function(){return yne}},{key:"DefaultType",get:function(){return wne}}]),t}(),Ao="__BV_Scrollspy__",xne=/^\d+$/,Tne=/^(auto|position|offset)$/,Ene=function(e){var r={};return e.arg&&(r.element="#".concat(e.arg)),Ee(e.modifiers).forEach(function(n){xne.test(n)?r.offset=ie(n,0):Tne.test(n)&&(r.method=n)}),Be(e.value)?r.element=e.value:gi(e.value)?r.offset=Iw(e.value):Lt(e.value)&&Ee(e.value).filter(function(n){return!!wF.DefaultType[n]}).forEach(function(n){r[n]=e.value[n]}),r},wp=function(e,r,n){if(nt){var i=Ene(r);e[Ao]?e[Ao].updateConfig(i,n.context.$root):e[Ao]=new wF(e,i,n.context.$root)}},Pne=function(e){e[Ao]&&(e[Ao].dispose(),e[Ao]=null,delete e[Ao])},Cne={bind:function(e,r,n){wp(e,r,n)},inserted:function(e,r,n){wp(e,r,n)},update:function(e,r,n){r.value!==r.oldValue&&wp(e,r,n)},componentUpdated:function(e,r,n){r.value!==r.oldValue&&wp(e,r,n)},unbind:function(e){Pne(e)}},$ne=fe({directives:{VBScrollspy:Cne}}),Ane=fe({directives:{VBVisible:bS}}),Mne=fe({plugins:{VBHoverPlugin:one,VBModalPlugin:une,VBPopoverPlugin:NB,VBScrollspyPlugin:$ne,VBTogglePlugin:_S,VBTooltipPlugin:yF,VBVisiblePlugin:Ane}});/*!
 * BootstrapVue 2.22.0
 *
 * @link https://bootstrap-vue.org
 * @source https://github.com/bootstrap-vue/bootstrap-vue
 * @copyright (c) 2016-2022 BootstrapVue
 * @license MIT
 * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE
 */var kne="BootstrapVue",Dne=J8({plugins:{componentsPlugin:sne,directivesPlugin:Mne}}),sPe={install:Dne,NAME:kne},we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Rne(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){if(this instanceof n){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(e,i);return new a}return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var OF={exports:{}};(function(t){(function(){function e(f){var m={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:`Remove only spaces, ' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids`,type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(f===!1)return JSON.parse(JSON.stringify(m));var v={};for(var T in m)m.hasOwnProperty(T)&&(v[T]=m[T].defaultValue);return v}function r(){var f=e(!0),m={};for(var v in f)f.hasOwnProperty(v)&&(m[v]=!0);return m}var n={},i={},a={},s=e(!0),o="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:r()};n.helper={},n.extensions={},n.setOption=function(f,m){return s[f]=m,this},n.getOption=function(f){return s[f]},n.getOptions=function(){return s},n.resetOptions=function(){s=e(!0)},n.setFlavor=function(f){if(!u.hasOwnProperty(f))throw Error(f+" flavor was not found");n.resetOptions();var m=u[f];o=f;for(var v in m)m.hasOwnProperty(v)&&(s[v]=m[v])},n.getFlavor=function(){return o},n.getFlavorOptions=function(f){if(u.hasOwnProperty(f))return u[f]},n.getDefaultOptions=function(f){return e(f)},n.subParser=function(f,m){if(n.helper.isString(f))if(typeof m<"u")i[f]=m;else{if(i.hasOwnProperty(f))return i[f];throw Error("SubParser named "+f+" not registered!")}},n.extension=function(f,m){if(!n.helper.isString(f))throw Error("Extension 'name' must be a string");if(f=n.helper.stdExtName(f),n.helper.isUndefined(m)){if(!a.hasOwnProperty(f))throw Error("Extension named "+f+" is not registered!");return a[f]}else{typeof m=="function"&&(m=m()),n.helper.isArray(m)||(m=[m]);var v=l(m,f);if(v.valid)a[f]=m;else throw Error(v.error)}},n.getAllExtensions=function(){return a},n.removeExtension=function(f){delete a[f]},n.resetExtensions=function(){a={}};function l(f,m){var v=m?"Error in "+m+" extension->":"Error in unnamed extension",T={valid:!0,error:""};n.helper.isArray(f)||(f=[f]);for(var P=0;P<f.length;++P){var k=v+" sub-extension "+P+": ",y=f[P];if(typeof y!="object")return T.valid=!1,T.error=k+"must be an object, but "+typeof y+" given",T;if(!n.helper.isString(y.type))return T.valid=!1,T.error=k+'property "type" must be a string, but '+typeof y.type+" given",T;var M=y.type=y.type.toLowerCase();if(M==="language"&&(M=y.type="lang"),M==="html"&&(M=y.type="output"),M!=="lang"&&M!=="output"&&M!=="listener")return T.valid=!1,T.error=k+"type "+M+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',T;if(M==="listener"){if(n.helper.isUndefined(y.listeners))return T.valid=!1,T.error=k+'. Extensions of type "listener" must have a property called "listeners"',T}else if(n.helper.isUndefined(y.filter)&&n.helper.isUndefined(y.regex))return T.valid=!1,T.error=k+M+' extensions must define either a "regex" property or a "filter" method',T;if(y.listeners){if(typeof y.listeners!="object")return T.valid=!1,T.error=k+'"listeners" property must be an object but '+typeof y.listeners+" given",T;for(var C in y.listeners)if(y.listeners.hasOwnProperty(C)&&typeof y.listeners[C]!="function")return T.valid=!1,T.error=k+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+C+" must be a function but "+typeof y.listeners[C]+" given",T}if(y.filter){if(typeof y.filter!="function")return T.valid=!1,T.error=k+'"filter" must be a function, but '+typeof y.filter+" given",T}else if(y.regex){if(n.helper.isString(y.regex)&&(y.regex=new RegExp(y.regex,"g")),!(y.regex instanceof RegExp))return T.valid=!1,T.error=k+'"regex" property must either be a string or a RegExp object, but '+typeof y.regex+" given",T;if(n.helper.isUndefined(y.replace))return T.valid=!1,T.error=k+'"regex" extensions must implement a replace string or function',T}}return T}n.validateExtension=function(f){var m=l(f,null);return m.valid?!0:(console.warn(m.error),!1)},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(f){return typeof f=="string"||f instanceof String},n.helper.isFunction=function(f){var m={};return f&&m.toString.call(f)==="[object Function]"},n.helper.isArray=function(f){return Array.isArray(f)},n.helper.isUndefined=function(f){return typeof f>"u"},n.helper.forEach=function(f,m){if(n.helper.isUndefined(f))throw new Error("obj param is required");if(n.helper.isUndefined(m))throw new Error("callback param is required");if(!n.helper.isFunction(m))throw new Error("callback param must be a function/closure");if(typeof f.forEach=="function")f.forEach(m);else if(n.helper.isArray(f))for(var v=0;v<f.length;v++)m(f[v],v,f);else if(typeof f=="object")for(var T in f)f.hasOwnProperty(T)&&m(f[T],T,f);else throw new Error("obj does not seem to be an array or an iterable object")},n.helper.stdExtName=function(f){return f.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()};function c(f,m){var v=m.charCodeAt(0);return"¨E"+v+"E"}n.helper.escapeCharactersCallback=c,n.helper.escapeCharacters=function(f,m,v){var T="(["+m.replace(/([\[\]\\])/g,"\\$1")+"])";v&&(T="\\\\"+T);var P=new RegExp(T,"g");return f=f.replace(P,c),f},n.helper.unescapeHTMLEntities=function(f){return f.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var d=function(f,m,v,T){var P=T||"",k=P.indexOf("g")>-1,y=new RegExp(m+"|"+v,"g"+P.replace(/g/g,"")),M=new RegExp(m,P.replace(/g/g,"")),C=[],w,$,D,A,L;do for(w=0;D=y.exec(f);)if(M.test(D[0]))w++||($=y.lastIndex,A=$-D[0].length);else if(w&&!--w){L=D.index+D[0].length;var F={left:{start:A,end:$},match:{start:$,end:D.index},right:{start:D.index,end:L},wholeMatch:{start:A,end:L}};if(C.push(F),!k)return C}while(w&&(y.lastIndex=$));return C};n.helper.matchRecursiveRegExp=function(f,m,v,T){for(var P=d(f,m,v,T),k=[],y=0;y<P.length;++y)k.push([f.slice(P[y].wholeMatch.start,P[y].wholeMatch.end),f.slice(P[y].match.start,P[y].match.end),f.slice(P[y].left.start,P[y].left.end),f.slice(P[y].right.start,P[y].right.end)]);return k},n.helper.replaceRecursiveRegExp=function(f,m,v,T,P){if(!n.helper.isFunction(m)){var k=m;m=function(){return k}}var y=d(f,v,T,P),M=f,C=y.length;if(C>0){var w=[];y[0].wholeMatch.start!==0&&w.push(f.slice(0,y[0].wholeMatch.start));for(var $=0;$<C;++$)w.push(m(f.slice(y[$].wholeMatch.start,y[$].wholeMatch.end),f.slice(y[$].match.start,y[$].match.end),f.slice(y[$].left.start,y[$].left.end),f.slice(y[$].right.start,y[$].right.end))),$<C-1&&w.push(f.slice(y[$].wholeMatch.end,y[$+1].wholeMatch.start));y[C-1].wholeMatch.end<f.length&&w.push(f.slice(y[C-1].wholeMatch.end)),M=w.join("")}return M},n.helper.regexIndexOf=function(f,m,v){if(!n.helper.isString(f))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(!(m instanceof RegExp))throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var T=f.substring(v||0).search(m);return T>=0?T+(v||0):T},n.helper.splitAtIndex=function(f,m){if(!n.helper.isString(f))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[f.substring(0,m),f.substring(m)]},n.helper.encodeEmailAddress=function(f){var m=[function(v){return"&#"+v.charCodeAt(0)+";"},function(v){return"&#x"+v.charCodeAt(0).toString(16)+";"},function(v){return v}];return f=f.replace(/./g,function(v){if(v==="@")v=m[Math.floor(Math.random()*2)](v);else{var T=Math.random();v=T>.9?m[2](v):T>.45?m[1](v):m[0](v)}return v}),f},n.helper.padEnd=function(m,v,T){return v=v>>0,T=String(T||" "),m.length>v?String(m):(v=v-m.length,v>T.length&&(T+=T.repeat(v/T.length)),String(m)+T.slice(0,v))},typeof console>"u"&&(console={warn:function(f){alert(f)},log:function(f){alert(f)},error:function(f){throw f}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:`<span style="font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span>`},n.Converter=function(f){var m={},v=[],T=[],P={},k=o,y={parsed:{},raw:"",format:""};M();function M(){f=f||{};for(var A in s)s.hasOwnProperty(A)&&(m[A]=s[A]);if(typeof f=="object")for(var L in f)f.hasOwnProperty(L)&&(m[L]=f[L]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof f+" was passed instead.");m.extensions&&n.helper.forEach(m.extensions,C)}function C(A,L){if(L=L||null,n.helper.isString(A))if(A=n.helper.stdExtName(A),L=A,n.extensions[A]){console.warn("DEPRECATION WARNING: "+A+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),w(n.extensions[A],A);return}else if(!n.helper.isUndefined(a[A]))A=a[A];else throw Error('Extension "'+A+'" could not be loaded. It was either not found or is not a valid extension.');typeof A=="function"&&(A=A()),n.helper.isArray(A)||(A=[A]);var F=l(A,L);if(!F.valid)throw Error(F.error);for(var j=0;j<A.length;++j){switch(A[j].type){case"lang":v.push(A[j]);break;case"output":T.push(A[j]);break}if(A[j].hasOwnProperty("listeners"))for(var H in A[j].listeners)A[j].listeners.hasOwnProperty(H)&&$(H,A[j].listeners[H])}}function w(A,L){typeof A=="function"&&(A=A(new n.Converter)),n.helper.isArray(A)||(A=[A]);var F=l(A,L);if(!F.valid)throw Error(F.error);for(var j=0;j<A.length;++j)switch(A[j].type){case"lang":v.push(A[j]);break;case"output":T.push(A[j]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function $(A,L){if(!n.helper.isString(A))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof A+" given");if(typeof L!="function")throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof L+" given");P.hasOwnProperty(A)||(P[A]=[]),P[A].push(L)}function D(A){var L=A.match(/^\s*/)[0].length,F=new RegExp("^\\s{0,"+L+"}","gm");return A.replace(F,"")}this._dispatch=function(L,F,j,H){if(P.hasOwnProperty(L))for(var G=0;G<P[L].length;++G){var Z=P[L][G](L,F,this,j,H);Z&&typeof Z<"u"&&(F=Z)}return F},this.listen=function(A,L){return $(A,L),this},this.makeHtml=function(A){if(!A)return A;var L={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:v,outputModifiers:T,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return A=A.replace(/¨/g,"¨T"),A=A.replace(/\$/g,"¨D"),A=A.replace(/\r\n/g,`
`),A=A.replace(/\r/g,`
`),A=A.replace(/\u00A0/g,"&nbsp;"),m.smartIndentationFix&&(A=D(A)),A=`

`+A+`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<`+M+G+`>
`+T(j,!!C)+"</"+M+`>
`})(y);else{var L=P(y,M);A=`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

`}return T}),n.subParser("makeMarkdown.paragraph",function(f,m){var v="";if(f.hasChildNodes())for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);return v=v.trim(),v}),n.subParser("makeMarkdown.pre",function(f,m){var v=f.getAttribute("prenum");return"<pre>"+m.preList[v]+"</pre>"}),n.subParser("makeMarkdown.strikethrough",function(f,m){var v="";if(f.hasChildNodes()){v+="~~";for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);v+="~~"}return v}),n.subParser("makeMarkdown.strong",function(f,m){var v="";if(f.hasChildNodes()){v+="**";for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m);v+="**"}return v}),n.subParser("makeMarkdown.table",function(f,m){var v="",T=[[],[]],P=f.querySelectorAll("thead>tr>th"),k=f.querySelectorAll("tbody>tr"),y,M;for(y=0;y<P.length;++y){var C=n.subParser("makeMarkdown.tableCell")(P[y],m),w="---";if(P[y].hasAttribute("style")){var $=P[y].getAttribute("style").toLowerCase().replace(/\s/g,"");switch($){case"text-align:left;":w=":---";break;case"text-align:right;":w="---:";break;case"text-align:center;":w=":---:";break}}T[0][y]=C.trim(),T[1][y]=w}for(y=0;y<k.length;++y){var D=T.push([])-1,A=k[y].getElementsByTagName("td");for(M=0;M<P.length;++M){var L=" ";typeof A[M]<"u"&&(L=n.subParser("makeMarkdown.tableCell")(A[M],m)),T[D].push(L)}}var F=3;for(y=0;y<T.length;++y)for(M=0;M<T[y].length;++M){var j=T[y][M].length;j>F&&(F=j)}for(y=0;y<T.length;++y){for(M=0;M<T[y].length;++M)y===1?T[y][M].slice(-1)===":"?T[y][M]=n.helper.padEnd(T[y][M].slice(-1),F-1,"-")+":":T[y][M]=n.helper.padEnd(T[y][M],F,"-"):T[y][M]=n.helper.padEnd(T[y][M],F);v+="| "+T[y].join(" | ")+` |
`}return v.trim()}),n.subParser("makeMarkdown.tableCell",function(f,m){var v="";if(!f.hasChildNodes())return"";for(var T=f.childNodes,P=T.length,k=0;k<P;++k)v+=n.subParser("makeMarkdown.node")(T[k],m,!0);return v.trim()}),n.subParser("makeMarkdown.txt",function(f){var m=f.nodeValue;return m=m.replace(/ +/g," "),m=m.replace(/¨NBSP;/g," "),m=n.helper.unescapeHTMLEntities(m),m=m.replace(/([*_~|`])/g,"\\$1"),m=m.replace(/^(\s*)>/g,"\\$1>"),m=m.replace(/^#/gm,"\\#"),m=m.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),m=m.replace(/^( {0,3}\d+)\./gm,"$1\\."),m=m.replace(/^( {0,3})([+-])/gm,"$1\\$2"),m=m.replace(/]([\s]*)\(/g,"\\]$1\\("),m=m.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),m});var x=this;t.exports?t.exports=n:x.showdown=n}).call(we)})(OF);var Ine=OF.exports;const Cm=vn(Ine);/*!
 * 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 jM={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 Cm.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}})}},oPe={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&&Cm.setFlavor(i);for(var o in s)Cm.setOption(o,s[o]);e.component("VueShowdown",jM)},VueShowdown:jM,showdown:Cm};/*!
  * vue-router v3.6.5
  * (c) 2022 Evan You
  * @license MIT
  */function hi(t,e){for(var r in e)t[r]=e[r];return t}var Lne=/[!'()*]/g,Nne=function(t){return"%"+t.charCodeAt(0).toString(16)},Bne=/%2C/g,el=function(t){return encodeURIComponent(t).replace(Lne,Nne).replace(Bne,",")};function S1(t){try{return decodeURIComponent(t)}catch{}return t}function Fne(t,e,r){e===void 0&&(e={});var n=r||jne,i;try{i=n(t||"")}catch{i={}}for(var a in e){var s=e[a];i[a]=Array.isArray(s)?s.map(zM):zM(s)}return i}var zM=function(t){return t==null||typeof t=="object"?t:String(t)};function jne(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=S1(n.shift()),a=n.length>0?S1(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 zne(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return el(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(el(r)):i.push(el(r)+"="+el(a)))}),i.join("&")}return el(r)+"="+el(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var Rv=/\/?$/;function Iv(t,e,r,n){var i=n&&n.options.stringifyQuery,a=e.query||{};try{a=x1(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:HM(e,i),matched:t?Hne(t):[]};return r&&(s.redirectedFrom=HM(r,i)),Object.freeze(s)}function x1(t){if(Array.isArray(t))return t.map(x1);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=x1(t[r]);return e}else return t}var to=Iv(null,{path:"/"});function Hne(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function HM(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var i=t.hash;i===void 0&&(i="");var a=e||zne;return(r||"/")+a(n)+i}function SF(t,e,r){return e===to?t===e:e?t.path&&e.path?t.path.replace(Rv,"")===e.path.replace(Rv,"")&&(r||t.hash===e.hash&&$m(t.query,e.query)):t.name&&e.name?t.name===e.name&&(r||t.hash===e.hash&&$m(t.query,e.query)&&$m(t.params,e.params)):!1:!1}function $m(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"?$m(s,u):String(s)===String(u)})}function Vne(t,e){return t.path.replace(Rv,"/").indexOf(e.path.replace(Rv,"/"))===0&&(!e.hash||t.hash===e.hash)&&Une(t.query,e.query)}function Une(t,e){for(var r in e)if(!(r in t))return!1;return!0}function xF(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 Gne={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,r){var n=r.props,i=r.children,a=r.parent,s=r.data;s.routerView=!0;for(var o=a.$createElement,u=n.name,l=a.$route,c=a._routerViewCache||(a._routerViewCache={}),d=0,h=!1;a&&a._routerRoot!==a;){var p=a.$vnode?a.$vnode.data:{};p.routerView&&d++,p.keepAlive&&a._directInactive&&a._inactive&&(h=!0),a=a.$parent}if(s.routerViewDepth=d,h){var g=c[u],_=g&&g.component;return _?(g.configProps&&VM(_,s,g.route,g.configProps),o(_,s,i)):o()}var O=l.matched[d],S=O&&O.components[u];if(!O||!S)return c[u]=null,o();c[u]={component:S},s.registerRouteInstance=function(x,f){var m=O.instances[u];(f&&m!==x||!f&&m===x)&&(O.instances[u]=f)},(s.hook||(s.hook={})).prepatch=function(x,f){O.instances[u]=f.componentInstance},s.hook.init=function(x){x.data.keepAlive&&x.componentInstance&&x.componentInstance!==O.instances[u]&&(O.instances[u]=x.componentInstance),xF(l)};var E=O.props&&O.props[u];return E&&(hi(c[u],{route:l,configProps:E}),VM(S,s,l,E)),o(S,s,i)}};function VM(t,e,r,n){var i=e.props=Wne(r,n);if(i){i=e.props=hi({},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 Wne(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 TF(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 Yne(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 ks(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var Lv=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},Sc=CF,Kne=JS,qne=Qne,Xne=EF,Zne=PF,Jne=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function JS(t,e){for(var r=[],n=0,i=0,a="",s=e&&e.delimiter||"/",o;(o=Jne.exec(t))!=null;){var u=o[0],l=o[1],c=o.index;if(a+=t.slice(i,c),i=c+u.length,l){a+=l[1];continue}var d=t[i],h=o[2],p=o[3],g=o[4],_=o[5],O=o[6],S=o[7];a&&(r.push(a),a="");var E=h!=null&&d!=null&&d!==h,x=O==="+"||O==="*",f=O==="?"||O==="*",m=o[2]||s,v=g||_;r.push({name:p||n++,prefix:h||"",delimiter:m,optional:f,repeat:x,partial:E,asterisk:!!S,pattern:v?rie(v):S?".*":"[^"+Am(m)+"]+?"})}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function Qne(t,e){return EF(JS(t,e),e)}function eie(t){return encodeURI(t).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function tie(t){return encodeURI(t).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function EF(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+")$",ex(e)));return function(i,a){for(var s="",o=i||{},u=a||{},l=u.pretty?eie:encodeURIComponent,c=0;c<t.length;c++){var d=t[c];if(typeof d=="string"){s+=d;continue}var h=o[d.name],p;if(h==null)if(d.optional){d.partial&&(s+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(Lv(h)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(h.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var g=0;g<h.length;g++){if(p=l(h[g]),!r[c].test(p))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(p)+"`");s+=(g===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?tie(h):l(h),!r[c].test(p))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+p+'"');s+=d.prefix+p}return s}}function Am(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function rie(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function QS(t,e){return t.keys=e,t}function ex(t){return t&&t.sensitive?"":"i"}function nie(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 QS(t,e)}function iie(t,e,r){for(var n=[],i=0;i<t.length;i++)n.push(CF(t[i],e,r).source);var a=new RegExp("(?:"+n.join("|")+")",ex(r));return QS(a,e)}function aie(t,e,r){return PF(JS(t,r),e,r)}function PF(t,e,r){Lv(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+=Am(o);else{var u=Am(o.prefix),l="(?:"+o.pattern+")";e.push(o),o.repeat&&(l+="(?:"+u+l+")*"),o.optional?o.partial?l=u+"("+l+")?":l="(?:"+u+"("+l+"))?":l=u+"("+l+")",a+=l}}var c=Am(r.delimiter||"/"),d=a.slice(-c.length)===c;return n||(a=(d?a.slice(0,-c.length):a)+"(?:"+c+"(?=$))?"),i?a+="$":a+=n&&d?"":"(?="+c+"|$)",QS(new RegExp("^"+a,ex(r)),e)}function CF(t,e,r){return Lv(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?nie(t,e):Lv(t)?iie(t,e,r):aie(t,e,r)}Sc.parse=Kne;Sc.compile=qne;Sc.tokensToFunction=Xne;Sc.tokensToRegExp=Zne;var UM=Object.create(null);function Mm(t,e,r){e=e||{};try{var n=UM[t]||(UM[t]=Sc.compile(t));return typeof e.pathMatch=="string"&&(e[0]=e.pathMatch),n(e,{pretty:!0})}catch{return""}finally{delete e[0]}}function tx(t,e,r,n){var i=typeof t=="string"?{path:t}:t;if(i._normalized)return i;if(i.name){i=hi({},t);var a=i.params;return a&&typeof a=="object"&&(i.params=hi({},a)),i}if(!i.path&&i.params&&e){i=hi({},i),i._normalized=!0;var s=hi(hi({},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=Mm(o,s,"path "+e.path)}return i}var u=Yne(i.path||""),l=e&&e.path||"/",c=u.path?TF(u.path,l,r||i.append):l,d=Fne(u.query,i.query,n&&n.options.parseQuery),h=i.hash||u.hash;return h&&h.charAt(0)!=="#"&&(h="#"+h),{_normalized:!0,path:c,query:d,hash:h}}var sie=[String,Object],oie=[String,Array],GM=function(){},uie={name:"RouterLink",props:{to:{type:sie,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:oie,default:"click"}},render:function(e){var r=this,n=this.$router,i=this.$route,a=n.resolve(this.to,i,this.append),s=a.location,o=a.route,u=a.href,l={},c=n.options.linkActiveClass,d=n.options.linkExactActiveClass,h=c??"router-link-active",p=d??"router-link-exact-active",g=this.activeClass==null?h:this.activeClass,_=this.exactActiveClass==null?p:this.exactActiveClass,O=o.redirectedFrom?Iv(null,tx(o.redirectedFrom),null,n):o;l[_]=SF(i,O,this.exactPath),l[g]=this.exact||this.exactPath?l[_]:Vne(i,O);var S=l[_]?this.ariaCurrentValue:null,E=function(C){WM(C)&&(r.replace?n.replace(s,GM):n.push(s,GM))},x={click:WM};Array.isArray(this.event)?this.event.forEach(function(C){x[C]=E}):x[this.event]=E;var f={class:l},m=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:o,navigate:E,isActive:l[g],isExactActive:l[_]});if(m){if(m.length===1)return m[0];if(m.length>1||!m.length)return m.length===0?e():e("span",{},m)}if(this.tag==="a")f.on=x,f.attrs={href:u,"aria-current":S};else{var v=$F(this.$slots.default);if(v){v.isStatic=!1;var T=v.data=hi({},v.data);T.on=T.on||{};for(var P in T.on){var k=T.on[P];P in x&&(T.on[P]=Array.isArray(k)?k:[k])}for(var y in x)y in T.on?T.on[y].push(x[y]):T.on[y]=E;var M=v.data.attrs=hi({},v.data.attrs);M.href=u,M["aria-current"]=S}else f.on=x}return e(this.tag,f,this.$slots.default)}};function WM(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 $F(t){if(t){for(var e,r=0;r<t.length;r++)if(e=t[r],e.tag==="a"||e.children&&(e=$F(e.children)))return e}}var Nv;function T1(t){if(!(T1.installed&&Nv===t)){T1.installed=!0,Nv=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",Gne),t.component("RouterLink",uie);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var hh=typeof window<"u";function Op(t,e,r,n,i){var a=e||[],s=r||Object.create(null),o=n||Object.create(null);t.forEach(function(c){E1(a,s,o,c,i)});for(var u=0,l=a.length;u<l;u++)a[u]==="*"&&(a.push(a.splice(u,1)[0]),l--,u--);return{pathList:a,pathMap:s,nameMap:o}}function E1(t,e,r,n,i,a){var s=n.path,o=n.name,u=n.pathToRegexpOptions||{},l=cie(s,i,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var c={path:l,regex:lie(l,u),components:n.components||{default:n.component},alias:n.alias?typeof n.alias=="string"?[n.alias]:n.alias:[],instances:{},enteredCbs:{},name:o,parent:i,matchAs:a,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:n.props==null?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(_){var O=a?ks(a+"/"+_.path):void 0;E1(t,e,r,_,c,O)}),e[c.path]||(t.push(c.path),e[c.path]=c),n.alias!==void 0)for(var d=Array.isArray(n.alias)?n.alias:[n.alias],h=0;h<d.length;++h){var p=d[h],g={path:p,children:n.children};E1(t,e,r,g,i,c.path||"/")}o&&(r[o]||(r[o]=c))}function lie(t,e){var r=Sc(t,[],e);return r}function cie(t,e,r){return r||(t=t.replace(/\/$/,"")),t[0]==="/"||e==null?t:ks(e.path+"/"+t)}function die(t,e){var r=Op(t),n=r.pathList,i=r.pathMap,a=r.nameMap;function s(p){Op(p,n,i,a)}function o(p,g){var _=typeof p!="object"?a[p]:void 0;Op([g||p],n,i,a,_),_&&_.alias.length&&Op(_.alias.map(function(O){return{path:O,children:[g]}}),n,i,a,_)}function u(){return n.map(function(p){return i[p]})}function l(p,g,_){var O=tx(p,g,!1,e),S=O.name;if(S){var E=a[S];if(!E)return h(null,O);var x=E.regex.keys.filter(function(P){return!P.optional}).map(function(P){return P.name});if(typeof O.params!="object"&&(O.params={}),g&&typeof g.params=="object")for(var f in g.params)!(f in O.params)&&x.indexOf(f)>-1&&(O.params[f]=g.params[f]);return O.path=Mm(E.path,O.params),h(E,O,_)}else if(O.path){O.params={};for(var m=0;m<n.length;m++){var v=n[m],T=i[v];if(fie(T.regex,O.path,O.params))return h(T,O,_)}}return h(null,O)}function c(p,g){var _=p.redirect,O=typeof _=="function"?_(Iv(p,g,null,e)):_;if(typeof O=="string"&&(O={path:O}),!O||typeof O!="object")return h(null,g);var S=O,E=S.name,x=S.path,f=g.query,m=g.hash,v=g.params;if(f=S.hasOwnProperty("query")?S.query:f,m=S.hasOwnProperty("hash")?S.hash:m,v=S.hasOwnProperty("params")?S.params:v,E)return a[E],l({_normalized:!0,name:E,query:f,hash:m,params:v},void 0,g);if(x){var T=hie(x,p),P=Mm(T,v);return l({_normalized:!0,path:P,query:f,hash:m},void 0,g)}else return h(null,g)}function d(p,g,_){var O=Mm(_,g.params),S=l({_normalized:!0,path:O});if(S){var E=S.matched,x=E[E.length-1];return g.params=S.params,h(x,g)}return h(null,g)}function h(p,g,_){return p&&p.redirect?c(p,_||g):p&&p.matchAs?d(p,g,p.matchAs):Iv(p,g,_,e)}return{match:l,addRoute:o,getRoutes:u,addRoutes:s}}function fie(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"?S1(n[i]):n[i])}return!0}function hie(t,e){return TF(t,e.parent?e.parent.path:"/",!0)}var pie=hh&&window.performance&&window.performance.now?window.performance:Date;function AF(){return pie.now().toFixed(3)}var MF=AF();function f0(){return MF}function kF(t){return MF=t}var DF=Object.create(null);function RF(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),r=hi({},window.history.state);return r.key=f0(),window.history.replaceState(r,"",e),window.addEventListener("popstate",YM),function(){window.removeEventListener("popstate",YM)}}function Ds(t,e,r,n){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var a=mie(),s=i.call(t,e,r,n?a:null);s&&(typeof s.then=="function"?s.then(function(o){XM(o,a)}).catch(function(o){}):XM(s,a))})}}function IF(){var t=f0();t&&(DF[t]={x:window.pageXOffset,y:window.pageYOffset})}function YM(t){IF(),t.state&&t.state.key&&kF(t.state.key)}function mie(){var t=f0();if(t)return DF[t]}function vie(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 KM(t){return ec(t.x)||ec(t.y)}function qM(t){return{x:ec(t.x)?t.x:window.pageXOffset,y:ec(t.y)?t.y:window.pageYOffset}}function gie(t){return{x:ec(t.x)?t.x:0,y:ec(t.y)?t.y:0}}function ec(t){return typeof t=="number"}var bie=/^#\d/;function XM(t,e){var r=typeof t=="object";if(r&&typeof t.selector=="string"){var n=bie.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=gie(i),e=vie(n,i)}else KM(t)&&(e=qM(t))}else r&&KM(t)&&(e=qM(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 Rs=hh&&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 Bv(t,e){IF();var r=window.history;try{if(e){var n=hi({},r.state);n.key=f0(),r.replaceState(n,"",t)}else r.pushState({key:kF(AF())},"",t)}catch{window.location[e?"replace":"assign"](t)}}function P1(t){Bv(t,!0)}var yu={redirected:2,aborted:4,cancelled:8,duplicated:16};function _ie(t,e){return h0(t,e,yu.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Sie(e)+'" via a navigation guard.')}function yie(t,e){var r=h0(t,e,yu.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return r.name="NavigationDuplicated",r}function ZM(t,e){return h0(t,e,yu.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function wie(t,e){return h0(t,e,yu.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function h0(t,e,r,n){var i=new Error(n);return i._isRouter=!0,i.from=t,i.to=e,i.type=r,i}var Oie=["params","query","hash"];function Sie(t){if(typeof t=="string")return t;if("path"in t)return t.path;var e={};return Oie.forEach(function(r){r in t&&(e[r]=t[r])}),JSON.stringify(e,null,2)}function Fv(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function p0(t,e){return Fv(t)&&t._isRouter&&(e==null||t.type===e)}function JM(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 xie(t){return function(e,r,n){var i=!1,a=0,s=null;LF(t,function(o,u,l,c){if(typeof o=="function"&&o.cid===void 0){i=!0,a++;var d=QM(function(_){Eie(_)&&(_=_.default),o.resolved=typeof _=="function"?_:Nv.extend(_),l.components[c]=_,a--,a<=0&&n()}),h=QM(function(_){var O="Failed to resolve async component "+c+": "+_;s||(s=Fv(_)?_:new Error(O),n(s))}),p;try{p=o(d,h)}catch(_){h(_)}if(p)if(typeof p.then=="function")p.then(d,h);else{var g=p.component;g&&typeof g.then=="function"&&g.then(d,h)}}}),i||n()}}function LF(t,e){return NF(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function NF(t){return Array.prototype.concat.apply([],t)}var Tie=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Eie(t){return t.__esModule||Tie&&t[Symbol.toStringTag]==="Module"}function QM(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var ki=function(e,r){this.router=e,this.base=Pie(r),this.current=to,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};ki.prototype.listen=function(e){this.cb=e};ki.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))};ki.prototype.onError=function(e){this.errorCbs.push(e)};ki.prototype.transitionTo=function(e,r,n){var i=this,a;try{a=this.router.match(e,this.current)}catch(o){throw this.errorCbs.forEach(function(u){u(o)}),o}var s=this.current;this.confirmTransition(a,function(){i.updateRoute(a),r&&r(a),i.ensureURL(),i.router.afterHooks.forEach(function(o){o&&o(a,s)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(o){o(a)}))},function(o){n&&n(o),o&&!i.ready&&(!p0(o,yu.redirected)||s!==to)&&(i.ready=!0,i.readyErrorCbs.forEach(function(u){u(o)}))})};ki.prototype.confirmTransition=function(e,r,n){var i=this,a=this.current;this.pending=e;var s=function(_){!p0(_)&&Fv(_)&&(i.errorCbs.length?i.errorCbs.forEach(function(O){O(_)}):console.error(_)),n&&n(_)},o=e.matched.length-1,u=a.matched.length-1;if(SF(e,a)&&o===u&&e.matched[o]===a.matched[u])return this.ensureURL(),e.hash&&Ds(this.router,a,e,!1),s(yie(a,e));var l=Cie(this.current.matched,e.matched),c=l.updated,d=l.deactivated,h=l.activated,p=[].concat(Aie(d),this.router.beforeHooks,Mie(c),h.map(function(_){return _.beforeEnter}),xie(h)),g=function(_,O){if(i.pending!==e)return s(ZM(a,e));try{_(e,a,function(S){S===!1?(i.ensureURL(!0),s(wie(a,e))):Fv(S)?(i.ensureURL(!0),s(S)):typeof S=="string"||typeof S=="object"&&(typeof S.path=="string"||typeof S.name=="string")?(s(_ie(a,e)),typeof S=="object"&&S.replace?i.replace(S):i.push(S)):O(S)})}catch(S){s(S)}};JM(p,g,function(){var _=kie(h),O=_.concat(i.router.resolveHooks);JM(O,g,function(){if(i.pending!==e)return s(ZM(a,e));i.pending=null,r(e),i.router.app&&i.router.app.$nextTick(function(){xF(e)})})})};ki.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)};ki.prototype.setupListeners=function(){};ki.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=to,this.pending=null};function Pie(t){if(!t)if(hh){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 Cie(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 rx(t,e,r,n){var i=LF(t,function(a,s,o,u){var l=$ie(a,e);if(l)return Array.isArray(l)?l.map(function(c){return r(c,s,o,u)}):r(l,s,o,u)});return NF(n?i.reverse():i)}function $ie(t,e){return typeof t!="function"&&(t=Nv.extend(t)),t.options[e]}function Aie(t){return rx(t,"beforeRouteLeave",BF,!0)}function Mie(t){return rx(t,"beforeRouteUpdate",BF)}function BF(t,e){if(e)return function(){return t.apply(e,arguments)}}function kie(t){return rx(t,"beforeRouteEnter",function(e,r,n,i){return Die(e,n,i)})}function Die(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 FF=function(t){function e(r,n){t.call(this,r,n),this._startLocation=Gd(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=Rs&&a;s&&this.listeners.push(RF());var o=function(){var u=n.current,l=Gd(n.base);n.current===to&&l===n._startLocation||n.transitionTo(l,function(c){s&&Ds(i,c,u,!0)})};window.addEventListener("popstate",o),this.listeners.push(function(){window.removeEventListener("popstate",o)})}},e.prototype.go=function(n){window.history.go(n)},e.prototype.push=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){Bv(ks(s.base+l.fullPath)),Ds(s.router,l,u,!1),i&&i(l)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){P1(ks(s.base+l.fullPath)),Ds(s.router,l,u,!1),i&&i(l)},a)},e.prototype.ensureURL=function(n){if(Gd(this.base)!==this.current.fullPath){var i=ks(this.base+this.current.fullPath);n?Bv(i):P1(i)}},e.prototype.getCurrentLocation=function(){return Gd(this.base)},e}(ki);function Gd(t){var e=window.location.pathname,r=e.toLowerCase(),n=t.toLowerCase();return t&&(r===n||r.indexOf(ks(n+"/"))===0)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var jF=function(t){function e(r,n,i){t.call(this,r,n),!(i&&Rie(this.base))&&ek()}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=Rs&&a;s&&this.listeners.push(RF());var o=function(){var l=n.current;ek()&&n.transitionTo(km(),function(c){s&&Ds(n.router,c,l,!0),Rs||Dm(c.fullPath)})},u=Rs?"popstate":"hashchange";window.addEventListener(u,o),this.listeners.push(function(){window.removeEventListener(u,o)})}},e.prototype.push=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){tk(l.fullPath),Ds(s.router,l,u,!1),i&&i(l)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(l){Dm(l.fullPath),Ds(s.router,l,u,!1),i&&i(l)},a)},e.prototype.go=function(n){window.history.go(n)},e.prototype.ensureURL=function(n){var i=this.current.fullPath;km()!==i&&(n?tk(i):Dm(i))},e.prototype.getCurrentLocation=function(){return km()},e}(ki);function Rie(t){var e=Gd(t);if(!/^\/#/.test(e))return window.location.replace(ks(t+"/#"+e)),!0}function ek(){var t=km();return t.charAt(0)==="/"?!0:(Dm("/"+t),!1)}function km(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function C1(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function tk(t){Rs?Bv(C1(t)):window.location.hash=t}function Dm(t){Rs?P1(C1(t)):window.location.replace(C1(t))}var Iie=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){p0(o,yu.duplicated)&&(i.index=a)})}},e.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ki),Tt=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=die(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!Rs&&e.fallback!==!1,this.fallback&&(r="hash"),hh||(r="abstract"),this.mode=r,r){case"history":this.history=new FF(this,e.base);break;case"hash":this.history=new jF(this,e.base,this.fallback);break;case"abstract":this.history=new Iie(this,e.base);break}},zF={currentRoute:{configurable:!0}};Tt.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)};zF.currentRoute.get=function(){return this.history&&this.history.current};Tt.prototype.init=function(e){var r=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var s=r.apps.indexOf(e);s>-1&&r.apps.splice(s,1),r.app===e&&(r.app=r.apps[0]||null),r.app||r.history.teardown()}),!this.app){this.app=e;var n=this.history;if(n instanceof FF||n instanceof jF){var i=function(s){var o=n.current,u=r.options.scrollBehavior,l=Rs&&u;l&&"fullPath"in s&&Ds(r,s,o,!1)},a=function(s){n.setupListeners(),i(s)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(s){r.apps.forEach(function(o){o._route=s})})}};Tt.prototype.beforeEach=function(e){return nx(this.beforeHooks,e)};Tt.prototype.beforeResolve=function(e){return nx(this.resolveHooks,e)};Tt.prototype.afterEach=function(e){return nx(this.afterHooks,e)};Tt.prototype.onReady=function(e,r){this.history.onReady(e,r)};Tt.prototype.onError=function(e){this.history.onError(e)};Tt.prototype.push=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,s){i.history.push(e,a,s)});this.history.push(e,r,n)};Tt.prototype.replace=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,s){i.history.replace(e,a,s)});this.history.replace(e,r,n)};Tt.prototype.go=function(e){this.history.go(e)};Tt.prototype.back=function(){this.go(-1)};Tt.prototype.forward=function(){this.go(1)};Tt.prototype.getMatchedComponents=function(e){var r=e?e.matched?e:this.resolve(e).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(i){return n.components[i]})})):[]};Tt.prototype.resolve=function(e,r,n){r=r||this.history.current;var i=tx(e,r,n,this),a=this.match(i,r),s=a.redirectedFrom||a.fullPath,o=this.history.base,u=Lie(o,s,this.mode);return{location:i,route:a,href:u,normalizedTo:i,resolved:a}};Tt.prototype.getRoutes=function(){return this.matcher.getRoutes()};Tt.prototype.addRoute=function(e,r){this.matcher.addRoute(e,r),this.history.current!==to&&this.history.transitionTo(this.history.getCurrentLocation())};Tt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==to&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Tt.prototype,zF);var uPe=Tt;function nx(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Lie(t,e,r){var n=r==="hash"?"#"+e:e;return t?ks(t+"/"+n):n}Tt.install=T1;Tt.version="3.6.5";Tt.isNavigationFailure=p0;Tt.NavigationFailureType=yu;Tt.START_LOCATION=to;hh&&window.Vue&&window.Vue.use(Tt);var HF={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(we,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 M(C,w){for(var $=0;$<w.length;$++){var D=w[$];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,D.key,D)}}return function(C,w,$){return w&&M(C.prototype,w),$&&M(C,$),C}}(),s=i(1),o=P(s),u=i(2),l=P(u),c=i(8),d=P(c),h=i(9),p=P(h),g=i(10),_=P(g),O=i(11),S=P(O),E=i(16),x=P(E),f=i(17),m=P(f),v=i(18),T=P(v);function P(M){return M&&M.__esModule?M:{default:M}}function k(M,C){if(!(M instanceof C))throw new TypeError("Cannot call a class as a function")}var y=function(){function M(C){k(this,M),C=C||{},this._name="secure-ls",this.utils=o.default,this.constants=l.default,this.Base64=p.default,this.LZString=_.default,this.AES=S.default,this.DES=x.default,this.RABBIT=m.default,this.RC4=T.default,this.enc=d.default,this.config={isCompression:!0,encodingType:l.default.EncrytionTypes.BASE64,encryptionSecret:C.encryptionSecret,encryptionNamespace:C.encryptionNamespace},this.config.isCompression=typeof C.isCompression<"u"?C.isCompression:!0,this.config.encodingType=typeof C.encodingType<"u"||C.encodingType===""?C.encodingType.toLowerCase():l.default.EncrytionTypes.BASE64,this.ls=localStorage,this.init()}return a(M,[{key:"init",value:function(){var w=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=w.keys||this.resetAllKeys()}},{key:"_isBase64EncryptionType",value:function(){return p.default&&(typeof this.config.encodingType>"u"||this.config.encodingType===this.constants.EncrytionTypes.BASE64)}},{key:"_isAESEncryptionType",value:function(){return S.default&&this.config.encodingType===this.constants.EncrytionTypes.AES}},{key:"_isDESEncryptionType",value:function(){return x.default&&this.config.encodingType===this.constants.EncrytionTypes.DES}},{key:"_isRabbitEncryptionType",value:function(){return m.default&&this.config.encodingType===this.constants.EncrytionTypes.RABBIT}},{key:"_isRC4EncryptionType",value:function(){return T.default&&this.config.encodingType===this.constants.EncrytionTypes.RC4}},{key:"_isDataCompressionEnabled",value:function(){return this.config.isCompression}},{key:"getEncryptionSecret",value:function(w){var $=this.getMetaData(),D=this.utils.getObjectFromKey($.keys,w);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(w,$){var D="",A="",L=void 0,F=void 0,j=void 0;if(!this.utils.is(w))return this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED),A;if(j=this.getDataFromLocalStorage(w),!j)return A;L=j,(this._isCompression||$)&&(L=_.default.decompressFromUTF16(j)),D=L,this._isBase64||$?D=p.default.decode(L):(this.getEncryptionSecret(w),this._isAES?F=S.default.decrypt(L.toString(),this.utils.encryptionSecret):this._isDES?F=x.default.decrypt(L.toString(),this.utils.encryptionSecret):this._isRabbit?F=m.default.decrypt(L.toString(),this.utils.encryptionSecret):this._isRC4&&(F=T.default.decrypt(L.toString(),this.utils.encryptionSecret)),F&&(D=F.toString(d.default._Utf8)));try{A=JSON.parse(D)}catch{throw new Error("Could not parse JSON")}return A}},{key:"getDataFromLocalStorage",value:function(w){return this.ls.getItem(w,!0)}},{key:"getAllKeys",value:function(){var w=this.getMetaData();return this.utils.extractKeyNames(w)||[]}},{key:"set",value:function(w,$){var D="";if(!this.utils.is(w)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}this.getEncryptionSecret(w),String(w)!==String(this.utils.metaKey)&&(this.utils.isKeyPresent(w)||(this.utils.addToKeysList(w),this.setMetaData())),D=this.processData($),this.setDataToLocalStorage(w,D)}},{key:"setDataToLocalStorage",value:function(w,$){this.ls.setItem(w,$)}},{key:"remove",value:function(w){if(!this.utils.is(w)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}if(w===this.utils.metaKey&&this.getAllKeys().length){this.utils.warn(this.WarningEnum.META_KEY_REMOVE);return}this.utils.isKeyPresent(w)&&(this.utils.removeFromKeysList(w),this.setMetaData()),this.ls.removeItem(w)}},{key:"removeAll",value:function(){var w=void 0,$=void 0;for(w=this.getAllKeys(),$=0;$<w.length;$++)this.ls.removeItem(w[$]);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(w,$){if(w==null||w==="")return"";var D=void 0,A=void 0,L=void 0;try{D=JSON.stringify(w)}catch{throw new Error("Could not stringify data.")}return A=D,this._isBase64||$?A=p.default.encode(D):(this._isAES?A=S.default.encrypt(D,this.utils.encryptionSecret):this._isDES?A=x.default.encrypt(D,this.utils.encryptionSecret):this._isRabbit?A=m.default.encrypt(D,this.utils.encryptionSecret):this._isRC4&&(A=T.default.encrypt(D,this.utils.encryptionSecret)),A=A&&A.toString()),L=A,(this._isCompression||$)&&(L=_.default.compressToUTF16(A)),L}},{key:"setMetaData",value:function(){var w=this.processData({keys:this.utils.allKeys},!0);this.setDataToLocalStorage(this.getMetaKey(),w)}},{key:"getMetaData",value:function(){return this.get(this.getMetaKey(),!0)||{}}},{key:"getMetaKey",value:function(){return this.utils.metaKey+(this.config.encryptionNamespace?"__"+this.config.encryptionNamespace:"")}}]),M}();n.default=y,r.exports=n.default},function(r,n,i){var a=i(2),s=d(a),o=i(3),u=d(o),l=i(4),c=d(l);function d(p){return p&&p.__esModule?p:{default:p}}var h={metaKey:"_secure__ls__metadata",encryptionSecret:"",secretPhrase:"s3cr3t$#@135^&*246",allKeys:[],is:function(g){return!!g},warn:function(g){g=g||s.default.WarningEnum.DEFAULT_TEXT,console.warn(s.default.WarningTypes[g])},generateSecretKey:function(){var g=u.default.random(16),_=(0,c.default)(this.secretPhrase,g,{keySize:128/32});return _&&_.toString()},getObjectFromKey:function(g,_){if(!g||!g.length)return{};var O=void 0,S={};for(O=0;O<g.length;O++)if(g[O].k===_){S=g[O];break}return S},extractKeyNames:function(g){return!g||!g.keys||!g.keys.length?[]:g.keys.map(function(_){return _.k})},getAllKeys:function(){return this.allKeys},isKeyPresent:function(g){for(var _=!1,O=0;O<this.allKeys.length;O++)if(String(this.allKeys[O].k)===String(g)){_=!0;break}return _},addToKeysList:function(g){this.allKeys.push({k:g,s:this.encryptionSecret})},removeFromKeysList:function(g){var _=void 0,O=-1;for(_=0;_<this.allKeys.length;_++)if(this.allKeys[_].k===g){O=_;break}return O!==-1&&this.allKeys.splice(O,1),O}};r.exports=h},function(r,n){var i={KEY_NOT_PROVIDED:"keyNotProvided",META_KEY_REMOVE:"metaKeyRemove",DEFAULT_TEXT:"defaultText"},a={};a[i.KEY_NOT_PROVIDED]="Secure LS: Key not provided. Aborting operation!",a[i.META_KEY_REMOVE]=`Secure LS: Meta key can not be removed
unless all keys created by Secure LS are removed!`,a[i.DEFAULT_TEXT]="Unexpected output";var s={WarningEnum:i,WarningTypes:a,EncrytionTypes:{BASE64:"base64",AES:"aes",DES:"des",RABBIT:"rabbit",RC4:"rc4"}};r.exports=s},function(r,n){var i={};i.random=function(a){for(var s=[],o=function(h){var p=987654321,g=4294967295;return function(){p=36969*(p&65535)+(p>>16)&g,h=18e3*(h&65535)+(h>>16)&g;var _=(p<<16)+h&g;return _/=4294967296,_+=.5,_*(Math.random()>.5?1:-1)}},u=0,l;u<a;u+=4){var c=o((l||Math.random())*4294967296);l=c()*987654071,s.push(c()*4294967296|0)}return new this.Set(s,a)},i.Set=function(a,s){a=this.words=a||[],s!==void 0?this.sigBytes=s:this.sigBytes=a.length*8},r.exports=i},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(6),i(7))})(this,function(a){return function(){var s=a,o=s.lib,u=o.Base,l=o.WordArray,c=s.algo,d=c.SHA1,h=c.HMAC,p=c.PBKDF2=u.extend({cfg:u.extend({keySize:128/32,hasher:d,iterations:1}),init:function(g){this.cfg=this.cfg.extend(g)},compute:function(g,_){for(var O=this.cfg,S=h.create(O.hasher,g),E=l.create(),x=l.create([1]),f=E.words,m=x.words,v=O.keySize,T=O.iterations;f.length<v;){var P=S.update(_).finalize(x);S.reset();for(var k=P.words,y=k.length,M=P,C=1;C<T;C++){M=S.finalize(M),S.reset();for(var w=M.words,$=0;$<y;$++)k[$]^=w[$]}E.concat(P),m[0]++}return E.sigBytes=v*4,E}});s.PBKDF2=function(g,_,O){return p.create(O).compute(g,_)}}(),a.PBKDF2})},function(r,n,i){(function(a,s){r.exports=s()})(this,function(){var a=a||function(s,o){var u=Object.create||function(){function x(){}return function(f){var m;return x.prototype=f,m=new x,x.prototype=null,m}}(),l={},c=l.lib={},d=c.Base=function(){return{extend:function(x){var f=u(this);return x&&f.mixIn(x),(!f.hasOwnProperty("init")||this.init===f.init)&&(f.init=function(){f.$super.init.apply(this,arguments)}),f.init.prototype=f,f.$super=this,f},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var f in x)x.hasOwnProperty(f)&&(this[f]=x[f]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=c.WordArray=d.extend({init:function(x,f){x=this.words=x||[],f!=o?this.sigBytes=f:this.sigBytes=x.length*4},toString:function(x){return(x||g).stringify(this)},concat:function(x){var f=this.words,m=x.words,v=this.sigBytes,T=x.sigBytes;if(this.clamp(),v%4)for(var P=0;P<T;P++){var k=m[P>>>2]>>>24-P%4*8&255;f[v+P>>>2]|=k<<24-(v+P)%4*8}else for(var P=0;P<T;P+=4)f[v+P>>>2]=m[P>>>2];return this.sigBytes+=T,this},clamp:function(){var x=this.words,f=this.sigBytes;x[f>>>2]&=4294967295<<32-f%4*8,x.length=s.ceil(f/4)},clone:function(){var x=d.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var f=[],m=function(y){var y=y,M=987654321,C=4294967295;return function(){M=36969*(M&65535)+(M>>16)&C,y=18e3*(y&65535)+(y>>16)&C;var w=(M<<16)+y&C;return w/=4294967296,w+=.5,w*(s.random()>.5?1:-1)}},v=0,T;v<x;v+=4){var P=m((T||s.random())*4294967296);T=P()*987654071,f.push(P()*4294967296|0)}return new h.init(f,x)}}),p=l.enc={},g=p.Hex={stringify:function(x){for(var f=x.words,m=x.sigBytes,v=[],T=0;T<m;T++){var P=f[T>>>2]>>>24-T%4*8&255;v.push((P>>>4).toString(16)),v.push((P&15).toString(16))}return v.join("")},parse:function(x){for(var f=x.length,m=[],v=0;v<f;v+=2)m[v>>>3]|=parseInt(x.substr(v,2),16)<<24-v%8*4;return new h.init(m,f/2)}},_=p.Latin1={stringify:function(x){for(var f=x.words,m=x.sigBytes,v=[],T=0;T<m;T++){var P=f[T>>>2]>>>24-T%4*8&255;v.push(String.fromCharCode(P))}return v.join("")},parse:function(x){for(var f=x.length,m=[],v=0;v<f;v++)m[v>>>2]|=(x.charCodeAt(v)&255)<<24-v%4*8;return new h.init(m,f)}},O=p.Utf8={stringify:function(x){try{return decodeURIComponent(escape(_.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return _.parse(unescape(encodeURIComponent(x)))}},S=c.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=O.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var f=this._data,m=f.words,v=f.sigBytes,T=this.blockSize,P=T*4,k=v/P;x?k=s.ceil(k):k=s.max((k|0)-this._minBufferSize,0);var y=k*T,M=s.min(y*4,v);if(y){for(var C=0;C<y;C+=T)this._doProcessBlock(m,C);var w=m.splice(0,y);f.sigBytes-=M}return new h.init(w,M)},clone:function(){var x=d.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0});c.Hasher=S.extend({cfg:d.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){x&&this._append(x);var f=this._doFinalize();return f},blockSize:16,_createHelper:function(x){return function(f,m){return new x.init(m).finalize(f)}},_createHmacHelper:function(x){return function(f,m){return new E.HMAC.init(x,m).finalize(f)}}});var E=l.algo={};return l}(Math);return a})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,l=o.Hasher,c=s.algo,d=[],h=c.SHA1=l.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(p,g){for(var _=this._hash.words,O=_[0],S=_[1],E=_[2],x=_[3],f=_[4],m=0;m<80;m++){if(m<16)d[m]=p[g+m]|0;else{var v=d[m-3]^d[m-8]^d[m-14]^d[m-16];d[m]=v<<1|v>>>31}var T=(O<<5|O>>>27)+f+d[m];m<20?T+=(S&E|~S&x)+1518500249:m<40?T+=(S^E^x)+1859775393:m<60?T+=(S&E|S&x|E&x)-1894007588:T+=(S^E^x)-899497514,f=x,x=E,E=S<<30|S>>>2,S=O,O=T}_[0]=_[0]+O|0,_[1]=_[1]+S|0,_[2]=_[2]+E|0,_[3]=_[3]+x|0,_[4]=_[4]+f|0},_doFinalize:function(){var p=this._data,g=p.words,_=this._nDataBytes*8,O=p.sigBytes*8;return g[O>>>5]|=128<<24-O%32,g[(O+64>>>9<<4)+14]=Math.floor(_/4294967296),g[(O+64>>>9<<4)+15]=_,p.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});s.SHA1=l._createHelper(h),s.HmacSHA1=l._createHmacHelper(h)}(),a.SHA1})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){(function(){var s=a,o=s.lib,u=o.Base,l=s.enc,c=l.Utf8,d=s.algo;d.HMAC=u.extend({init:function(h,p){h=this._hasher=new h.init,typeof p=="string"&&(p=c.parse(p));var g=h.blockSize,_=g*4;p.sigBytes>_&&(p=h.finalize(p)),p.clamp();for(var O=this._oKey=p.clone(),S=this._iKey=p.clone(),E=O.words,x=S.words,f=0;f<g;f++)E[f]^=1549556828,x[f]^=909522486;O.sigBytes=S.sigBytes=_,this.reset()},reset:function(){var h=this._hasher;h.reset(),h.update(this._iKey)},update:function(h){return this._hasher.update(h),this},finalize:function(h){var p=this._hasher,g=p.finalize(h);p.reset();var _=p.finalize(this._oKey.clone().concat(g));return _}})})()})},function(r,n){var i={};i.Latin1={stringify:function(s){var o=s.words,u=s.sigBytes,l=[],c=void 0,d=void 0;for(c=0;c<u;c++)d=o[c>>>2]>>>24-c%4*8&255,l.push(String.fromCharCode(d));return l.join("")}},i._Utf8={stringify:function(s){try{return decodeURIComponent(escape(i.Latin1.stringify(s)))}catch{throw new Error("Malformed UTF-8 data")}}},r.exports=i},function(r,n){var i={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(s){var o="",u=void 0,l=void 0,c=void 0,d=void 0,h=void 0,p=void 0,g=void 0,_=0;for(s=i._utf8Encode(s);_<s.length;)u=s.charCodeAt(_++),l=s.charCodeAt(_++),c=s.charCodeAt(_++),d=u>>2,h=(u&3)<<4|l>>4,p=(l&15)<<2|c>>6,g=c&63,isNaN(l)?p=g=64:isNaN(c)&&(g=64),o=o+this._keyStr.charAt(d)+this._keyStr.charAt(h)+this._keyStr.charAt(p)+this._keyStr.charAt(g);return o},decode:function(s){var o="",u=void 0,l=void 0,c=void 0,d=void 0,h=void 0,p=void 0,g=void 0,_=0;for(s=s.replace(/[^A-Za-z0-9\+\/\=]/g,"");_<s.length;)d=this._keyStr.indexOf(s.charAt(_++)),h=this._keyStr.indexOf(s.charAt(_++)),p=this._keyStr.indexOf(s.charAt(_++)),g=this._keyStr.indexOf(s.charAt(_++)),u=d<<2|h>>4,l=(h&15)<<4|p>>2,c=(p&3)<<6|g,o=o+String.fromCharCode(u),p!==64&&(o=o+String.fromCharCode(l)),g!==64&&(o=o+String.fromCharCode(c));return o=i._utf8Decode(o),o},_utf8Encode:function(s){s=s.replace(/\r\n/g,`
`);for(var o="",u=0;u<s.length;u++){var l=s.charCodeAt(u);l<128?o+=String.fromCharCode(l):l>127&&l<2048?(o+=String.fromCharCode(l>>6|192),o+=String.fromCharCode(l&63|128)):(o+=String.fromCharCode(l>>12|224),o+=String.fromCharCode(l>>6&63|128),o+=String.fromCharCode(l&63|128))}return o},_utf8Decode:function(s){var o="",u=0,l=void 0,c=void 0,d=void 0;for(l=c=0;u<s.length;)l=s.charCodeAt(u),l<128?(o+=String.fromCharCode(l),u++):l>191&&l<224?(c=s.charCodeAt(u+1),o+=String.fromCharCode((l&31)<<6|c&63),u+=2):(c=s.charCodeAt(u+1),d=s.charCodeAt(u+2),o+=String.fromCharCode((l&15)<<12|(c&63)<<6|d&63),u+=3);return o}};r.exports=i},function(r,n,i){var a,s=function(){var o=String.fromCharCode,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",c={};function d(p,g){if(!c[p]){c[p]={};for(var _=0;_<p.length;_++)c[p][p.charAt(_)]=_}return c[p][g]}var h={compressToBase64:function(p){if(p==null)return"";var g=h._compress(p,6,function(_){return u.charAt(_)});switch(g.length%4){default:case 0:return g;case 1:return g+"===";case 2:return g+"==";case 3:return g+"="}},decompressFromBase64:function(p){return p==null?"":p==""?null:h._decompress(p.length,32,function(g){return d(u,p.charAt(g))})},compressToUTF16:function(p){return p==null?"":h._compress(p,15,function(g){return o(g+32)})+" "},decompressFromUTF16:function(p){return p==null?"":p==""?null:h._decompress(p.length,16384,function(g){return p.charCodeAt(g)-32})},compressToUint8Array:function(p){for(var g=h.compress(p),_=new Uint8Array(g.length*2),O=0,S=g.length;O<S;O++){var E=g.charCodeAt(O);_[O*2]=E>>>8,_[O*2+1]=E%256}return _},decompressFromUint8Array:function(p){if(p==null)return h.decompress(p);for(var g=new Array(p.length/2),_=0,O=g.length;_<O;_++)g[_]=p[_*2]*256+p[_*2+1];var S=[];return g.forEach(function(E){S.push(o(E))}),h.decompress(S.join(""))},compressToEncodedURIComponent:function(p){return p==null?"":h._compress(p,6,function(g){return l.charAt(g)})},decompressFromEncodedURIComponent:function(p){return p==null?"":p==""?null:(p=p.replace(/ /g,"+"),h._decompress(p.length,32,function(g){return d(l,p.charAt(g))}))},compress:function(p){return h._compress(p,16,function(g){return o(g)})},_compress:function(p,g,_){if(p==null)return"";var O,S,E={},x={},f="",m="",v="",T=2,P=3,k=2,y=[],M=0,C=0,w;for(w=0;w<p.length;w+=1)if(f=p.charAt(w),Object.prototype.hasOwnProperty.call(E,f)||(E[f]=P++,x[f]=!0),m=v+f,Object.prototype.hasOwnProperty.call(E,m))v=m;else{if(Object.prototype.hasOwnProperty.call(x,v)){if(v.charCodeAt(0)<256){for(O=0;O<k;O++)M=M<<1,C==g-1?(C=0,y.push(_(M)),M=0):C++;for(S=v.charCodeAt(0),O=0;O<8;O++)M=M<<1|S&1,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=S>>1}else{for(S=1,O=0;O<k;O++)M=M<<1|S,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=0;for(S=v.charCodeAt(0),O=0;O<16;O++)M=M<<1|S&1,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete x[v]}else for(S=E[v],O=0;O<k;O++)M=M<<1|S&1,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++),E[m]=P++,v=String(f)}if(v!==""){if(Object.prototype.hasOwnProperty.call(x,v)){if(v.charCodeAt(0)<256){for(O=0;O<k;O++)M=M<<1,C==g-1?(C=0,y.push(_(M)),M=0):C++;for(S=v.charCodeAt(0),O=0;O<8;O++)M=M<<1|S&1,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=S>>1}else{for(S=1,O=0;O<k;O++)M=M<<1|S,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=0;for(S=v.charCodeAt(0),O=0;O<16;O++)M=M<<1|S&1,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete x[v]}else for(S=E[v],O=0;O<k;O++)M=M<<1|S&1,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++)}for(S=2,O=0;O<k;O++)M=M<<1|S&1,C==g-1?(C=0,y.push(_(M)),M=0):C++,S=S>>1;for(;;)if(M=M<<1,C==g-1){y.push(_(M));break}else C++;return y.join("")},decompress:function(p){return p==null?"":p==""?null:h._decompress(p.length,32768,function(g){return p.charCodeAt(g)})},_decompress:function(p,g,_){var O=[],S=4,E=4,x=3,f="",m=[],v,T,P,k,y,M,C,w={val:_(0),position:g,index:1};for(v=0;v<3;v+=1)O[v]=v;for(P=0,y=Math.pow(2,2),M=1;M!=y;)k=w.val&w.position,w.position>>=1,w.position==0&&(w.position=g,w.val=_(w.index++)),P|=(k>0?1:0)*M,M<<=1;switch(P){case 0:for(P=0,y=Math.pow(2,8),M=1;M!=y;)k=w.val&w.position,w.position>>=1,w.position==0&&(w.position=g,w.val=_(w.index++)),P|=(k>0?1:0)*M,M<<=1;C=o(P);break;case 1:for(P=0,y=Math.pow(2,16),M=1;M!=y;)k=w.val&w.position,w.position>>=1,w.position==0&&(w.position=g,w.val=_(w.index++)),P|=(k>0?1:0)*M,M<<=1;C=o(P);break;case 2:return""}for(O[3]=C,T=C,m.push(C);;){if(w.index>p)return"";for(P=0,y=Math.pow(2,x),M=1;M!=y;)k=w.val&w.position,w.position>>=1,w.position==0&&(w.position=g,w.val=_(w.index++)),P|=(k>0?1:0)*M,M<<=1;switch(C=P){case 0:for(P=0,y=Math.pow(2,8),M=1;M!=y;)k=w.val&w.position,w.position>>=1,w.position==0&&(w.position=g,w.val=_(w.index++)),P|=(k>0?1:0)*M,M<<=1;O[E++]=o(P),C=E-1,S--;break;case 1:for(P=0,y=Math.pow(2,16),M=1;M!=y;)k=w.val&w.position,w.position>>=1,w.position==0&&(w.position=g,w.val=_(w.index++)),P|=(k>0?1:0)*M,M<<=1;O[E++]=o(P),C=E-1,S--;break;case 2:return m.join("")}if(S==0&&(S=Math.pow(2,x),x++),O[C])f=O[C];else if(C===E)f=T+T.charAt(0);else return null;m.push(f),O[E++]=T+f.charAt(0),S--,T=f,S==0&&(S=Math.pow(2,x),x++)}}};return h}();a=function(){return s}.call(n,i,n,r),a!==void 0&&(r.exports=a)},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.BlockCipher,l=s.algo,c=[],d=[],h=[],p=[],g=[],_=[],O=[],S=[],E=[],x=[];(function(){for(var v=[],T=0;T<256;T++)T<128?v[T]=T<<1:v[T]=T<<1^283;for(var P=0,k=0,T=0;T<256;T++){var y=k^k<<1^k<<2^k<<3^k<<4;y=y>>>8^y&255^99,c[P]=y,d[y]=P;var M=v[P],C=v[M],w=v[C],$=v[y]*257^y*16843008;h[P]=$<<24|$>>>8,p[P]=$<<16|$>>>16,g[P]=$<<8|$>>>24,_[P]=$;var $=w*16843009^C*65537^M*257^P*16843008;O[y]=$<<24|$>>>8,S[y]=$<<16|$>>>16,E[y]=$<<8|$>>>24,x[y]=$,P?(P=M^v[v[v[w^M]]],k^=v[v[k]]):P=k=1}})();var f=[0,1,2,4,8,16,32,64,128,27,54],m=l.AES=u.extend({_doReset:function(){if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var v=this._keyPriorReset=this._key,T=v.words,P=v.sigBytes/4,k=this._nRounds=P+6,y=(k+1)*4,M=this._keySchedule=[],C=0;C<y;C++)if(C<P)M[C]=T[C];else{var w=M[C-1];C%P?P>6&&C%P==4&&(w=c[w>>>24]<<24|c[w>>>16&255]<<16|c[w>>>8&255]<<8|c[w&255]):(w=w<<8|w>>>24,w=c[w>>>24]<<24|c[w>>>16&255]<<16|c[w>>>8&255]<<8|c[w&255],w^=f[C/P|0]<<24),M[C]=M[C-P]^w}for(var $=this._invKeySchedule=[],D=0;D<y;D++){var C=y-D;if(D%4)var w=M[C];else var w=M[C-4];D<4||C<=4?$[D]=w:$[D]=O[c[w>>>24]]^S[c[w>>>16&255]]^E[c[w>>>8&255]]^x[c[w&255]]}}},encryptBlock:function(v,T){this._doCryptBlock(v,T,this._keySchedule,h,p,g,_,c)},decryptBlock:function(v,T){var P=v[T+1];v[T+1]=v[T+3],v[T+3]=P,this._doCryptBlock(v,T,this._invKeySchedule,O,S,E,x,d);var P=v[T+1];v[T+1]=v[T+3],v[T+3]=P},_doCryptBlock:function(v,T,P,k,y,M,C,w){for(var $=this._nRounds,D=v[T]^P[0],A=v[T+1]^P[1],L=v[T+2]^P[2],F=v[T+3]^P[3],j=4,H=1;H<$;H++){var G=k[D>>>24]^y[A>>>16&255]^M[L>>>8&255]^C[F&255]^P[j++],Z=k[A>>>24]^y[L>>>16&255]^M[F>>>8&255]^C[D&255]^P[j++],te=k[L>>>24]^y[F>>>16&255]^M[D>>>8&255]^C[A&255]^P[j++],Y=k[F>>>24]^y[D>>>16&255]^M[A>>>8&255]^C[L&255]^P[j++];D=G,A=Z,L=te,F=Y}var G=(w[D>>>24]<<24|w[A>>>16&255]<<16|w[L>>>8&255]<<8|w[F&255])^P[j++],Z=(w[A>>>24]<<24|w[L>>>16&255]<<16|w[F>>>8&255]<<8|w[D&255])^P[j++],te=(w[L>>>24]<<24|w[F>>>16&255]<<16|w[D>>>8&255]<<8|w[A&255])^P[j++],Y=(w[F>>>24]<<24|w[D>>>16&255]<<16|w[A>>>8&255]<<8|w[L&255])^P[j++];v[T]=G,v[T+1]=Z,v[T+2]=te,v[T+3]=Y},keySize:256/32});s.AES=u._createHelper(m)}(),a.AES})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,l=s.enc;l.Base64={stringify:function(d){var h=d.words,p=d.sigBytes,g=this._map;d.clamp();for(var _=[],O=0;O<p;O+=3)for(var S=h[O>>>2]>>>24-O%4*8&255,E=h[O+1>>>2]>>>24-(O+1)%4*8&255,x=h[O+2>>>2]>>>24-(O+2)%4*8&255,f=S<<16|E<<8|x,m=0;m<4&&O+m*.75<p;m++)_.push(g.charAt(f>>>6*(3-m)&63));var v=g.charAt(64);if(v)for(;_.length%4;)_.push(v);return _.join("")},parse:function(d){var h=d.length,p=this._map,g=this._reverseMap;if(!g){g=this._reverseMap=[];for(var _=0;_<p.length;_++)g[p.charCodeAt(_)]=_}var O=p.charAt(64);if(O){var S=d.indexOf(O);S!==-1&&(h=S)}return c(d,h,g)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(d,h,p){for(var g=[],_=0,O=0;O<h;O++)if(O%4){var S=p[d.charCodeAt(O-1)]<<O%4*2,E=p[d.charCodeAt(O)]>>>6-O%4*2;g[_>>>2]|=(S|E)<<24-_%4*8,_++}return u.create(g,_)}}(),a.enc.Base64})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(s){var o=a,u=o.lib,l=u.WordArray,c=u.Hasher,d=o.algo,h=[];(function(){for(var E=0;E<64;E++)h[E]=s.abs(s.sin(E+1))*4294967296|0})();var p=d.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(E,x){for(var f=0;f<16;f++){var m=x+f,v=E[m];E[m]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var T=this._hash.words,P=E[x+0],k=E[x+1],y=E[x+2],M=E[x+3],C=E[x+4],w=E[x+5],$=E[x+6],D=E[x+7],A=E[x+8],L=E[x+9],F=E[x+10],j=E[x+11],H=E[x+12],G=E[x+13],Z=E[x+14],te=E[x+15],Y=T[0],W=T[1],U=T[2],K=T[3];Y=g(Y,W,U,K,P,7,h[0]),K=g(K,Y,W,U,k,12,h[1]),U=g(U,K,Y,W,y,17,h[2]),W=g(W,U,K,Y,M,22,h[3]),Y=g(Y,W,U,K,C,7,h[4]),K=g(K,Y,W,U,w,12,h[5]),U=g(U,K,Y,W,$,17,h[6]),W=g(W,U,K,Y,D,22,h[7]),Y=g(Y,W,U,K,A,7,h[8]),K=g(K,Y,W,U,L,12,h[9]),U=g(U,K,Y,W,F,17,h[10]),W=g(W,U,K,Y,j,22,h[11]),Y=g(Y,W,U,K,H,7,h[12]),K=g(K,Y,W,U,G,12,h[13]),U=g(U,K,Y,W,Z,17,h[14]),W=g(W,U,K,Y,te,22,h[15]),Y=_(Y,W,U,K,k,5,h[16]),K=_(K,Y,W,U,$,9,h[17]),U=_(U,K,Y,W,j,14,h[18]),W=_(W,U,K,Y,P,20,h[19]),Y=_(Y,W,U,K,w,5,h[20]),K=_(K,Y,W,U,F,9,h[21]),U=_(U,K,Y,W,te,14,h[22]),W=_(W,U,K,Y,C,20,h[23]),Y=_(Y,W,U,K,L,5,h[24]),K=_(K,Y,W,U,Z,9,h[25]),U=_(U,K,Y,W,M,14,h[26]),W=_(W,U,K,Y,A,20,h[27]),Y=_(Y,W,U,K,G,5,h[28]),K=_(K,Y,W,U,y,9,h[29]),U=_(U,K,Y,W,D,14,h[30]),W=_(W,U,K,Y,H,20,h[31]),Y=O(Y,W,U,K,w,4,h[32]),K=O(K,Y,W,U,A,11,h[33]),U=O(U,K,Y,W,j,16,h[34]),W=O(W,U,K,Y,Z,23,h[35]),Y=O(Y,W,U,K,k,4,h[36]),K=O(K,Y,W,U,C,11,h[37]),U=O(U,K,Y,W,D,16,h[38]),W=O(W,U,K,Y,F,23,h[39]),Y=O(Y,W,U,K,G,4,h[40]),K=O(K,Y,W,U,P,11,h[41]),U=O(U,K,Y,W,M,16,h[42]),W=O(W,U,K,Y,$,23,h[43]),Y=O(Y,W,U,K,L,4,h[44]),K=O(K,Y,W,U,H,11,h[45]),U=O(U,K,Y,W,te,16,h[46]),W=O(W,U,K,Y,y,23,h[47]),Y=S(Y,W,U,K,P,6,h[48]),K=S(K,Y,W,U,D,10,h[49]),U=S(U,K,Y,W,Z,15,h[50]),W=S(W,U,K,Y,w,21,h[51]),Y=S(Y,W,U,K,H,6,h[52]),K=S(K,Y,W,U,M,10,h[53]),U=S(U,K,Y,W,F,15,h[54]),W=S(W,U,K,Y,k,21,h[55]),Y=S(Y,W,U,K,A,6,h[56]),K=S(K,Y,W,U,te,10,h[57]),U=S(U,K,Y,W,$,15,h[58]),W=S(W,U,K,Y,G,21,h[59]),Y=S(Y,W,U,K,C,6,h[60]),K=S(K,Y,W,U,j,10,h[61]),U=S(U,K,Y,W,y,15,h[62]),W=S(W,U,K,Y,L,21,h[63]),T[0]=T[0]+Y|0,T[1]=T[1]+W|0,T[2]=T[2]+U|0,T[3]=T[3]+K|0},_doFinalize:function(){var E=this._data,x=E.words,f=this._nDataBytes*8,m=E.sigBytes*8;x[m>>>5]|=128<<24-m%32;var v=s.floor(f/4294967296),T=f;x[(m+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,x[(m+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,E.sigBytes=(x.length+1)*4,this._process();for(var P=this._hash,k=P.words,y=0;y<4;y++){var M=k[y];k[y]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return P},clone:function(){var E=c.clone.call(this);return E._hash=this._hash.clone(),E}});function g(E,x,f,m,v,T,P){var k=E+(x&f|~x&m)+v+P;return(k<<T|k>>>32-T)+x}function _(E,x,f,m,v,T,P){var k=E+(x&m|f&~m)+v+P;return(k<<T|k>>>32-T)+x}function O(E,x,f,m,v,T,P){var k=E+(x^f^m)+v+P;return(k<<T|k>>>32-T)+x}function S(E,x,f,m,v,T,P){var k=E+(f^(x|~m))+v+P;return(k<<T|k>>>32-T)+x}o.MD5=c._createHelper(p),o.HmacMD5=c._createHmacHelper(p)}(Math),a.MD5})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(6),i(7))})(this,function(a){return function(){var s=a,o=s.lib,u=o.Base,l=o.WordArray,c=s.algo,d=c.MD5,h=c.EvpKDF=u.extend({cfg:u.extend({keySize:128/32,hasher:d,iterations:1}),init:function(p){this.cfg=this.cfg.extend(p)},compute:function(p,g){for(var _=this.cfg,O=_.hasher.create(),S=l.create(),E=S.words,x=_.keySize,f=_.iterations;E.length<x;){m&&O.update(m);var m=O.update(p).finalize(g);O.reset();for(var v=1;v<f;v++)m=O.finalize(m),O.reset();S.concat(m)}return S.sigBytes=x*4,S}});s.EvpKDF=function(p,g,_){return h.create(_).compute(p,g)}}(),a.EvpKDF})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){a.lib.Cipher||function(s){var o=a,u=o.lib,l=u.Base,c=u.WordArray,d=u.BufferedBlockAlgorithm,h=o.enc;h.Utf8;var p=h.Base64,g=o.algo,_=g.EvpKDF,O=u.Cipher=d.extend({cfg:l.extend(),createEncryptor:function(w,$){return this.create(this._ENC_XFORM_MODE,w,$)},createDecryptor:function(w,$){return this.create(this._DEC_XFORM_MODE,w,$)},init:function(w,$,D){this.cfg=this.cfg.extend(D),this._xformMode=w,this._key=$,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(w){return this._append(w),this._process()},finalize:function(w){w&&this._append(w);var $=this._doFinalize();return $},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function w($){return typeof $=="string"?C:k}return function($){return{encrypt:function(D,A,L){return w(A).encrypt($,D,A,L)},decrypt:function(D,A,L){return w(A).decrypt($,D,A,L)}}}}()});u.StreamCipher=O.extend({_doFinalize:function(){var w=this._process(!0);return w},blockSize:1});var S=o.mode={},E=u.BlockCipherMode=l.extend({createEncryptor:function(w,$){return this.Encryptor.create(w,$)},createDecryptor:function(w,$){return this.Decryptor.create(w,$)},init:function(w,$){this._cipher=w,this._iv=$}}),x=S.CBC=function(){var w=E.extend();w.Encryptor=w.extend({processBlock:function(D,A){var L=this._cipher,F=L.blockSize;$.call(this,D,A,F),L.encryptBlock(D,A),this._prevBlock=D.slice(A,A+F)}}),w.Decryptor=w.extend({processBlock:function(D,A){var L=this._cipher,F=L.blockSize,j=D.slice(A,A+F);L.decryptBlock(D,A),$.call(this,D,A,F),this._prevBlock=j}});function $(D,A,L){var F=this._iv;if(F){var j=F;this._iv=s}else var j=this._prevBlock;for(var H=0;H<L;H++)D[A+H]^=j[H]}return w}(),f=o.pad={},m=f.Pkcs7={pad:function(w,$){for(var D=$*4,A=D-w.sigBytes%D,L=A<<24|A<<16|A<<8|A,F=[],j=0;j<A;j+=4)F.push(L);var H=c.create(F,A);w.concat(H)},unpad:function(w){var $=w.words[w.sigBytes-1>>>2]&255;w.sigBytes-=$}};u.BlockCipher=O.extend({cfg:O.cfg.extend({mode:x,padding:m}),reset:function(){O.reset.call(this);var w=this.cfg,$=w.iv,D=w.mode;if(this._xformMode==this._ENC_XFORM_MODE)var A=D.createEncryptor;else{var A=D.createDecryptor;this._minBufferSize=1}this._mode=A.call(D,this,$&&$.words)},_doProcessBlock:function(w,$){this._mode.processBlock(w,$)},_doFinalize:function(){var w=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){w.pad(this._data,this.blockSize);var $=this._process(!0)}else{var $=this._process(!0);w.unpad($)}return $},blockSize:128/32});var v=u.CipherParams=l.extend({init:function(w){this.mixIn(w)},toString:function(w){return(w||this.formatter).stringify(this)}}),T=o.format={},P=T.OpenSSL={stringify:function(w){var $=w.ciphertext,D=w.salt;if(D)var A=c.create([1398893684,1701076831]).concat(D).concat($);else var A=$;return A.toString(p)},parse:function(w){var $=p.parse(w),D=$.words;if(D[0]==1398893684&&D[1]==1701076831){var A=c.create(D.slice(2,4));D.splice(0,4),$.sigBytes-=16}return v.create({ciphertext:$,salt:A})}},k=u.SerializableCipher=l.extend({cfg:l.extend({format:P}),encrypt:function(w,$,D,A){A=this.cfg.extend(A);var L=w.createEncryptor(D,A),F=L.finalize($),j=L.cfg;return v.create({ciphertext:F,key:D,iv:j.iv,algorithm:w,mode:j.mode,padding:j.padding,blockSize:w.blockSize,formatter:A.format})},decrypt:function(w,$,D,A){A=this.cfg.extend(A),$=this._parse($,A.format);var L=w.createDecryptor(D,A).finalize($.ciphertext);return L},_parse:function(w,$){return typeof w=="string"?$.parse(w,this):w}}),y=o.kdf={},M=y.OpenSSL={execute:function(w,$,D,A){A||(A=c.random(64/8));var L=_.create({keySize:$+D}).compute(w,A),F=c.create(L.words.slice($),D*4);return L.sigBytes=$*4,v.create({key:L,iv:F,salt:A})}},C=u.PasswordBasedCipher=k.extend({cfg:k.cfg.extend({kdf:M}),encrypt:function(w,$,D,A){A=this.cfg.extend(A);var L=A.kdf.execute(D,w.keySize,w.ivSize);A.iv=L.iv;var F=k.encrypt.call(this,w,$,L.key,A);return F.mixIn(L),F},decrypt:function(w,$,D,A){A=this.cfg.extend(A),$=this._parse($,A.format);var L=A.kdf.execute(D,w.keySize,w.ivSize,$.salt);A.iv=L.iv;var F=k.decrypt.call(this,w,$,L.key,A);return F}})}()})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,l=o.BlockCipher,c=s.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],h=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],p=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],_=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],O=c.DES=l.extend({_doReset:function(){for(var f=this._key,m=f.words,v=[],T=0;T<56;T++){var P=d[T]-1;v[T]=m[P>>>5]>>>31-P%32&1}for(var k=this._subKeys=[],y=0;y<16;y++){for(var M=k[y]=[],C=p[y],T=0;T<24;T++)M[T/6|0]|=v[(h[T]-1+C)%28]<<31-T%6,M[4+(T/6|0)]|=v[28+(h[T+24]-1+C)%28]<<31-T%6;M[0]=M[0]<<1|M[0]>>>31;for(var T=1;T<7;T++)M[T]=M[T]>>>(T-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var w=this._invSubKeys=[],T=0;T<16;T++)w[T]=k[15-T]},encryptBlock:function(f,m){this._doCryptBlock(f,m,this._subKeys)},decryptBlock:function(f,m){this._doCryptBlock(f,m,this._invSubKeys)},_doCryptBlock:function(f,m,v){this._lBlock=f[m],this._rBlock=f[m+1],S.call(this,4,252645135),S.call(this,16,65535),E.call(this,2,858993459),E.call(this,8,16711935),S.call(this,1,1431655765);for(var T=0;T<16;T++){for(var P=v[T],k=this._lBlock,y=this._rBlock,M=0,C=0;C<8;C++)M|=g[C][((y^P[C])&_[C])>>>0];this._lBlock=y,this._rBlock=k^M}var w=this._lBlock;this._lBlock=this._rBlock,this._rBlock=w,S.call(this,1,1431655765),E.call(this,8,16711935),E.call(this,2,858993459),S.call(this,16,65535),S.call(this,4,252645135),f[m]=this._lBlock,f[m+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function S(f,m){var v=(this._lBlock>>>f^this._rBlock)&m;this._rBlock^=v,this._lBlock^=v<<f}function E(f,m){var v=(this._rBlock>>>f^this._lBlock)&m;this._lBlock^=v,this._rBlock^=v<<f}s.DES=l._createHelper(O);var x=c.TripleDES=l.extend({_doReset:function(){var f=this._key,m=f.words;this._des1=O.createEncryptor(u.create(m.slice(0,2))),this._des2=O.createEncryptor(u.create(m.slice(2,4))),this._des3=O.createEncryptor(u.create(m.slice(4,6)))},encryptBlock:function(f,m){this._des1.encryptBlock(f,m),this._des2.decryptBlock(f,m),this._des3.encryptBlock(f,m)},decryptBlock:function(f,m){this._des3.decryptBlock(f,m),this._des2.encryptBlock(f,m),this._des1.decryptBlock(f,m)},keySize:192/32,ivSize:64/32,blockSize:64/32});s.TripleDES=l._createHelper(x)}(),a.TripleDES})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.StreamCipher,l=s.algo,c=[],d=[],h=[],p=l.Rabbit=u.extend({_doReset:function(){for(var _=this._key.words,O=this.cfg.iv,S=0;S<4;S++)_[S]=(_[S]<<8|_[S]>>>24)&16711935|(_[S]<<24|_[S]>>>8)&4278255360;var E=this._X=[_[0],_[3]<<16|_[2]>>>16,_[1],_[0]<<16|_[3]>>>16,_[2],_[1]<<16|_[0]>>>16,_[3],_[2]<<16|_[1]>>>16],x=this._C=[_[2]<<16|_[2]>>>16,_[0]&4294901760|_[1]&65535,_[3]<<16|_[3]>>>16,_[1]&4294901760|_[2]&65535,_[0]<<16|_[0]>>>16,_[2]&4294901760|_[3]&65535,_[1]<<16|_[1]>>>16,_[3]&4294901760|_[0]&65535];this._b=0;for(var S=0;S<4;S++)g.call(this);for(var S=0;S<8;S++)x[S]^=E[S+4&7];if(O){var f=O.words,m=f[0],v=f[1],T=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,P=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,k=T>>>16|P&4294901760,y=P<<16|T&65535;x[0]^=T,x[1]^=k,x[2]^=P,x[3]^=y,x[4]^=T,x[5]^=k,x[6]^=P,x[7]^=y;for(var S=0;S<4;S++)g.call(this)}},_doProcessBlock:function(_,O){var S=this._X;g.call(this),c[0]=S[0]^S[5]>>>16^S[3]<<16,c[1]=S[2]^S[7]>>>16^S[5]<<16,c[2]=S[4]^S[1]>>>16^S[7]<<16,c[3]=S[6]^S[3]>>>16^S[1]<<16;for(var E=0;E<4;E++)c[E]=(c[E]<<8|c[E]>>>24)&16711935|(c[E]<<24|c[E]>>>8)&4278255360,_[O+E]^=c[E]},blockSize:128/32,ivSize:64/32});function g(){for(var _=this._X,O=this._C,S=0;S<8;S++)d[S]=O[S];O[0]=O[0]+1295307597+this._b|0,O[1]=O[1]+3545052371+(O[0]>>>0<d[0]>>>0?1:0)|0,O[2]=O[2]+886263092+(O[1]>>>0<d[1]>>>0?1:0)|0,O[3]=O[3]+1295307597+(O[2]>>>0<d[2]>>>0?1:0)|0,O[4]=O[4]+3545052371+(O[3]>>>0<d[3]>>>0?1:0)|0,O[5]=O[5]+886263092+(O[4]>>>0<d[4]>>>0?1:0)|0,O[6]=O[6]+1295307597+(O[5]>>>0<d[5]>>>0?1:0)|0,O[7]=O[7]+3545052371+(O[6]>>>0<d[6]>>>0?1:0)|0,this._b=O[7]>>>0<d[7]>>>0?1:0;for(var S=0;S<8;S++){var E=_[S]+O[S],x=E&65535,f=E>>>16,m=((x*x>>>17)+x*f>>>15)+f*f,v=((E&4294901760)*E|0)+((E&65535)*E|0);h[S]=m^v}_[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,_[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,_[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,_[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,_[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,_[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,_[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,_[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}s.Rabbit=u._createHelper(p)}(),a.Rabbit})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.StreamCipher,l=s.algo,c=l.RC4=u.extend({_doReset:function(){for(var p=this._key,g=p.words,_=p.sigBytes,O=this._S=[],S=0;S<256;S++)O[S]=S;for(var S=0,E=0;S<256;S++){var x=S%_,f=g[x>>>2]>>>24-x%4*8&255;E=(E+O[S]+f)%256;var m=O[S];O[S]=O[E],O[E]=m}this._i=this._j=0},_doProcessBlock:function(p,g){p[g]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var p=this._S,g=this._i,_=this._j,O=0,S=0;S<4;S++){g=(g+1)%256,_=(_+p[g])%256;var E=p[g];p[g]=p[_],p[_]=E,O|=p[(p[g]+p[_])%256]<<24-S*8}return this._i=g,this._j=_,O}s.RC4=u._createHelper(c);var h=l.RC4Drop=c.extend({cfg:c.cfg.extend({drop:192}),_doReset:function(){c._doReset.call(this);for(var p=this.cfg.drop;p>0;p--)d.call(this)}});s.RC4Drop=u._createHelper(h)}(),a.RC4})}])})})(HF);var Nie=HF.exports;const lPe=vn(Nie);/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */function Bie(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 Fie=typeof window<"u"?window:typeof global<"u"?global:{},tl=Fie.__VUE_DEVTOOLS_GLOBAL_HOOK__;function jie(t){tl&&(t._devtoolHook=tl,tl.emit("vuex:init",t),tl.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){tl.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){tl.emit("vuex:action",e,r)},{prepend:!0}))}function zie(t,e){return t.filter(e)[0]}function $1(t,e){if(e===void 0&&(e=[]),t===null||typeof t!="object")return t;var r=zie(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]=$1(t[i],e)}),n}function xc(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function VF(t){return t!==null&&typeof t=="object"}function Hie(t){return t&&typeof t.then=="function"}function Vie(t,e){return function(){return t(e)}}var Di=function(e,r){this.runtime=r,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n=="function"?n():n)||{}},UF={namespaced:{configurable:!0}};UF.namespaced.get=function(){return!!this._rawModule.namespaced};Di.prototype.addChild=function(e,r){this._children[e]=r};Di.prototype.removeChild=function(e){delete this._children[e]};Di.prototype.getChild=function(e){return this._children[e]};Di.prototype.hasChild=function(e){return e in this._children};Di.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Di.prototype.forEachChild=function(e){xc(this._children,e)};Di.prototype.forEachGetter=function(e){this._rawModule.getters&&xc(this._rawModule.getters,e)};Di.prototype.forEachAction=function(e){this._rawModule.actions&&xc(this._rawModule.actions,e)};Di.prototype.forEachMutation=function(e){this._rawModule.mutations&&xc(this._rawModule.mutations,e)};Object.defineProperties(Di.prototype,UF);var wu=function(e){this.register([],e,!1)};wu.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)};wu.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};wu.prototype.update=function(e){GF([],this.root,e)};wu.prototype.register=function(e,r,n){var i=this;n===void 0&&(n=!0);var a=new Di(r,n);if(e.length===0)this.root=a;else{var s=this.get(e.slice(0,-1));s.addChild(e[e.length-1],a)}r.modules&&xc(r.modules,function(o,u){i.register(e.concat(u),o,n)})};wu.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)};wu.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function GF(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;GF(t.concat(n),e.getChild(n),r.modules[n])}}var rn,Fn=function(e){var r=this;e===void 0&&(e={}),!rn&&typeof window<"u"&&window.Vue&&KF(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 wu(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new rn,this._makeLocalGettersCache=Object.create(null);var a=this,s=this,o=s.dispatch,u=s.commit;this.dispatch=function(h,p){return o.call(a,h,p)},this.commit=function(h,p,g){return u.call(a,h,p,g)},this.strict=i;var l=this._modules.root.state;m0(this,l,[],this._modules.root),ax(this,l),n.forEach(function(d){return d(r)});var c=e.devtools!==void 0?e.devtools:rn.config.devtools;c&&jie(this)},ix={state:{configurable:!0}};ix.state.get=function(){return this._vm._data.$$state};ix.state.set=function(t){};Fn.prototype.commit=function(e,r,n){var i=this,a=jv(e,r,n),s=a.type,o=a.payload,u={type:s,payload:o},l=this._mutations[s];l&&(this._withCommit(function(){l.forEach(function(d){d(o)})}),this._subscribers.slice().forEach(function(c){return c(u,i.state)}))};Fn.prototype.dispatch=function(e,r){var n=this,i=jv(e,r),a=i.type,s=i.payload,o={type:a,payload:s},u=this._actions[a];if(u){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(o,n.state)})}catch{}var l=u.length>1?Promise.all(u.map(function(c){return c(s)})):u[0](s);return new Promise(function(c,d){l.then(function(h){try{n._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(o,n.state)})}catch{}c(h)},function(h){try{n._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(o,n.state,h)})}catch{}d(h)})})}};Fn.prototype.subscribe=function(e,r){return WF(e,this._subscribers,r)};Fn.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return WF(n,this._actionSubscribers,r)};Fn.prototype.watch=function(e,r,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},r,n)};Fn.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})};Fn.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),m0(this,this.state,e,this._modules.get(e),n.preserveState),ax(this,this.state)};Fn.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=sx(r.state,e.slice(0,-1));rn.delete(n,e[e.length-1])}),YF(this)};Fn.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};Fn.prototype.hotUpdate=function(e){this._modules.update(e),YF(this,!0)};Fn.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r};Object.defineProperties(Fn.prototype,ix);function WF(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 YF(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;m0(t,r,[],t._modules.root,!0),ax(t,r,e)}function ax(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};xc(i,function(o,u){a[u]=Vie(o,t),Object.defineProperty(t.getters,u,{get:function(){return t._vm[u]},enumerable:!0})});var s=rn.config.silent;rn.config.silent=!0,t._vm=new rn({data:{$$state:e},computed:a}),rn.config.silent=s,t.strict&&qie(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),rn.nextTick(function(){return n.$destroy()}))}function m0(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=sx(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit(function(){rn.set(o,u,n.state)})}var l=n.context=Uie(t,s,r);n.forEachMutation(function(c,d){var h=s+d;Wie(t,h,c,l)}),n.forEachAction(function(c,d){var h=c.root?d:s+d,p=c.handler||c;Yie(t,h,p,l)}),n.forEachGetter(function(c,d){var h=s+d;Kie(t,h,c,l)}),n.forEachChild(function(c,d){m0(t,e,r.concat(d),c,i)})}function Uie(t,e,r){var n=e==="",i={dispatch:n?t.dispatch:function(a,s,o){var u=jv(a,s,o),l=u.payload,c=u.options,d=u.type;return(!c||!c.root)&&(d=e+d),t.dispatch(d,l)},commit:n?t.commit:function(a,s,o){var u=jv(a,s,o),l=u.payload,c=u.options,d=u.type;(!c||!c.root)&&(d=e+d),t.commit(d,l,c)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return Gie(t,e)}},state:{get:function(){return sx(t.state,r)}}}),i}function Gie(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 Wie(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(s){r.call(t,n.state,s)})}function Yie(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 Hie(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(u){throw t._devtoolHook.emit("vuex:error",u),u}):o})}function Kie(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function qie(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function sx(t,e){return e.reduce(function(r,n){return r[n]},t)}function jv(t,e,r){return VF(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function KF(t){rn&&t===rn||(rn=t,Bie(rn))}var qF=g0(function(t,e){var r={};return v0(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){var o=this.$store.state,u=this.$store.getters;if(t){var l=b0(this.$store,"mapState",t);if(!l)return;o=l.context.state,u=l.context.getters}return typeof a=="function"?a.call(this,o,u):o[a]},r[i].vuex=!0}),r}),XF=g0(function(t,e){var r={};return v0(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var o=[],u=arguments.length;u--;)o[u]=arguments[u];var l=this.$store.commit;if(t){var c=b0(this.$store,"mapMutations",t);if(!c)return;l=c.context.commit}return typeof a=="function"?a.apply(this,[l].concat(o)):l.apply(this.$store,[a].concat(o))}}),r}),ZF=g0(function(t,e){var r={};return v0(e).forEach(function(n){var i=n.key,a=n.val;a=t+a,r[i]=function(){if(!(t&&!b0(this.$store,"mapGetters",t)))return this.$store.getters[a]},r[i].vuex=!0}),r}),JF=g0(function(t,e){var r={};return v0(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var o=[],u=arguments.length;u--;)o[u]=arguments[u];var l=this.$store.dispatch;if(t){var c=b0(this.$store,"mapActions",t);if(!c)return;l=c.context.dispatch}return typeof a=="function"?a.apply(this,[l].concat(o)):l.apply(this.$store,[a].concat(o))}}),r}),Xie=function(t){return{mapState:qF.bind(null,t),mapGetters:ZF.bind(null,t),mapMutations:XF.bind(null,t),mapActions:JF.bind(null,t)}};function v0(t){return Zie(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 Zie(t){return Array.isArray(t)||VF(t)}function g0(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function b0(t,e,r){var n=t._modulesNamespaceMap[r];return n}function Jie(t){t===void 0&&(t={});var e=t.collapsed;e===void 0&&(e=!0);var r=t.filter;r===void 0&&(r=function(c,d,h){return!0});var n=t.transformer;n===void 0&&(n=function(c){return c});var i=t.mutationTransformer;i===void 0&&(i=function(c){return c});var a=t.actionFilter;a===void 0&&(a=function(c,d){return!0});var s=t.actionTransformer;s===void 0&&(s=function(c){return c});var o=t.logMutations;o===void 0&&(o=!0);var u=t.logActions;u===void 0&&(u=!0);var l=t.logger;return l===void 0&&(l=console),function(c){var d=$1(c.state);typeof l>"u"||(o&&c.subscribe(function(h,p){var g=$1(p);if(r(h,d,g)){var _=ik(),O=i(h),S="mutation "+h.type+_;rk(l,S,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",O),l.log("%c next state","color: #4CAF50; font-weight: bold",n(g)),nk(l)}d=g}),u&&c.subscribeAction(function(h,p){if(a(h,p)){var g=ik(),_=s(h),O="action "+h.type+g;rk(l,O,e),l.log("%c action","color: #03A9F4; font-weight: bold",_),nk(l)}}))}}function rk(t,e,r){var n=r?t.groupCollapsed:t.group;try{n.call(t,e)}catch{t.log(e)}}function nk(t){try{t.groupEnd()}catch{t.log("—— log end ——")}}function ik(){var t=new Date;return" @ "+Sp(t.getHours(),2)+":"+Sp(t.getMinutes(),2)+":"+Sp(t.getSeconds(),2)+"."+Sp(t.getMilliseconds(),3)}function Qie(t,e){return new Array(e+1).join(t)}function Sp(t,e){return Qie("0",e-t.toString().length)+t}var eae={Store:Fn,install:KF,version:"3.6.2",mapState:qF,mapMutations:XF,mapGetters:ZF,mapActions:JF,createNamespacedHelpers:Xie,createLogger:Jie};const cPe=eae;var tae=function(t){return function(e){return!!e&&typeof e=="object"}(t)&&!function(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||function(n){return n.$$typeof===rae}(e)}(t)},rae=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function Wd(t,e){return e.clone!==!1&&e.isMergeableObject(t)?tc(Array.isArray(t)?[]:{},t,e):t}function nae(t,e,r){return t.concat(e).map(function(n){return Wd(n,r)})}function ak(t){return Object.keys(t).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return e.propertyIsEnumerable(r)}):[]}(t))}function sk(t,e){try{return e in t}catch{return!1}}function tc(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||nae,r.isMergeableObject=r.isMergeableObject||tae,r.cloneUnlessOtherwiseSpecified=Wd;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)&&ak(i).forEach(function(u){o[u]=Wd(i[u],s)}),ak(a).forEach(function(u){(function(l,c){return sk(l,c)&&!(Object.hasOwnProperty.call(l,c)&&Object.propertyIsEnumerable.call(l,c))})(i,u)||(o[u]=sk(i,u)&&s.isMergeableObject(a[u])?function(l,c){if(!c.customMerge)return tc;var d=c.customMerge(l);return typeof d=="function"?d:tc}(u,s)(i[u],a[u],s):Wd(a[u],s))}),o}(t,e,r):Wd(e,r)}tc.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return tc(r,n,e)},{})};var iae=tc;function dPe(t){var e=(t=t||{}).storage||window&&window.localStorage,r=t.key||"vuex";function n(c,d){var h=d.getItem(c);try{return typeof h=="string"?JSON.parse(h):typeof h=="object"?h:void 0}catch{}}function i(){return!0}function a(c,d,h){return h.setItem(c,JSON.stringify(d))}function s(c,d){return Array.isArray(d)?d.reduce(function(h,p){return function(O,S,E,x){return!/^(__proto__|constructor|prototype)$/.test(S)&&((S=S.split?S.split("."):S.slice(0)).slice(0,-1).reduce(function(f,m){return f[m]=f[m]||{}},O)[S.pop()]=E),O}(h,p,(g=c,(g=((_=p).split?_.split("."):_).reduce(function(O,S){return O&&O[S]},g))===void 0?void 0:g));var g,_},{}):c}function o(c){return function(d){return c.subscribe(d)}}(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var u,l=function(){return(t.getState||n)(r,e)};return t.fetchBeforeUse&&(u=l()),function(c){t.fetchBeforeUse||(u=l()),typeof u=="object"&&u!==null&&(c.replaceState(t.overwrite?u:iae(c.state,u,{arrayMerge:t.arrayMerger||function(d,h){return h},clone:!1})),(t.rehydrated||function(){})(c)),(t.subscriber||o)(c)(function(d,h){(t.filter||i)(d)&&(t.setState||a)(r,(t.reducer||s)(h,t.paths),e)})}}const QF=Object.prototype.toString;function ej(t){switch(QF.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return ro(t,Error)}}function Tc(t,e){return QF.call(t)===`[object ${e}]`}function tj(t){return Tc(t,"ErrorEvent")}function ok(t){return Tc(t,"DOMError")}function aae(t){return Tc(t,"DOMException")}function ou(t){return Tc(t,"String")}function rj(t){return t===null||typeof t!="object"&&typeof t!="function"}function rc(t){return Tc(t,"Object")}function ox(t){return typeof Event<"u"&&ro(t,Event)}function sae(t){return typeof Element<"u"&&ro(t,Element)}function oae(t){return Tc(t,"RegExp")}function ux(t){return!!(t&&t.then&&typeof t.then=="function")}function uae(t){return rc(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function lae(t){return typeof t=="number"&&t!==t}function ro(t,e){try{return t instanceof e}catch{return!1}}function xp(t){return t&&t.Math==Math?t:void 0}const dn=typeof globalThis=="object"&&xp(globalThis)||typeof window=="object"&&xp(window)||typeof self=="object"&&xp(self)||typeof global=="object"&&xp(global)||function(){return this}()||{};function _0(){return dn}function lx(t,e,r){const n=r||dn,i=n.__SENTRY__=n.__SENTRY__||{};return i[t]||(i[t]=e())}const cae=_0(),dae=80;function zv(t,e={}){try{let r=t;const n=5,i=[];let a=0,s=0;const o=" > ",u=o.length;let l;const c=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||dae;for(;r&&a++<n&&(l=fae(r,c),!(l==="html"||a>1&&s+i.length*u+l.length>=d));)i.push(l),s+=l.length,r=r.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function fae(t,e){const r=t,n=[];let i,a,s,o,u;if(!r||!r.tagName)return"";n.push(r.tagName.toLowerCase());const l=e&&e.length?e.filter(d=>r.getAttribute(d)).map(d=>[d,r.getAttribute(d)]):null;if(l&&l.length)l.forEach(d=>{n.push(`[${d[0]}="${d[1]}"]`)});else if(r.id&&n.push(`#${r.id}`),i=r.className,i&&ou(i))for(a=i.split(/\s+/),u=0;u<a.length;u++)n.push(`.${a[u]}`);const c=["aria-label","type","name","title","alt"];for(u=0;u<c.length;u++)s=c[u],o=r.getAttribute(s),o&&n.push(`[${s}="${o}"]`);return n.join("")}function hae(){try{return cae.document.location.href}catch{return""}}class $r extends Error{constructor(e,r="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=r}}const pae=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function mae(t){return t==="http"||t==="https"}function cx(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 vae(t){const e=pae.exec(t);if(!e)throw new $r(`Invalid Sentry Dsn: ${t}`);const[r,n,i="",a,s="",o]=e.slice(1);let u="",l=o;const c=l.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),l=c.pop()),l){const d=l.match(/^\d+/);d&&(l=d[0])}return nj({host:a,pass:i,path:u,projectId:l,port:s,protocol:r,publicKey:n})}function nj(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function gae(t){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:e,projectId:r,protocol:n}=t;if(["protocol","publicKey","host","projectId"].forEach(a=>{if(!t[a])throw new $r(`Invalid Sentry Dsn: ${a} missing`)}),!r.match(/^\d+$/))throw new $r(`Invalid Sentry Dsn: Invalid projectId ${r}`);if(!mae(n))throw new $r(`Invalid Sentry Dsn: Invalid protocol ${n}`);if(e&&isNaN(parseInt(e,10)))throw new $r(`Invalid Sentry Dsn: Invalid port ${e}`);return!0}function bae(t){const e=typeof t=="string"?vae(t):nj(t);return gae(e),e}const _ae="Sentry Logger ",Hv=["debug","info","warn","error","log","assert","trace"];function ij(t){if(!("console"in dn))return t();const e=dn.console,r={};Hv.forEach(n=>{const i=e[n]&&e[n].__sentry_original__;n in e&&i&&(r[n]=e[n],e[n]=i)});try{return t()}finally{Object.keys(r).forEach(n=>{e[n]=r[n]})}}function uk(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Hv.forEach(r=>{e[r]=(...n)=>{t&&ij(()=>{dn.console[r](`${_ae}[${r}]:`,...n)})}}):Hv.forEach(r=>{e[r]=()=>{}}),e}let me;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?me=lx("logger",uk):me=uk();function cf(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function lk(t,e){if(!Array.isArray(t))return"";const r=[];for(let n=0;n<t.length;n++){const i=t[n];try{r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(e)}function yae(t,e,r=!1){return ou(t)?oae(e)?e.test(t):ou(e)?r?t===e:t.includes(e):!1:!1}function dx(t,e=[],r=!1){return e.some(n=>yae(t,n,r))}function Ar(t,e,r){if(!(e in t))return;const n=t[e],i=r(n);if(typeof i=="function")try{aj(i,n)}catch{}t[e]=i}function fx(t,e,r){Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}function aj(t,e){const r=e.prototype||{};t.prototype=e.prototype=r,fx(t,"__sentry_original__",e)}function hx(t){return t.__sentry_original__}function wae(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function sj(t){if(ej(t))return{message:t.message,name:t.name,stack:t.stack,...dk(t)};if(ox(t)){const e={type:t.type,target:ck(t.target),currentTarget:ck(t.currentTarget),...dk(t)};return typeof CustomEvent<"u"&&ro(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function ck(t){try{return sae(t)?zv(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function dk(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 Oae(t,e=40){const r=Object.keys(sj(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return cf(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:cf(i,e)}return""}function y0(t){return A1(t,new Map)}function A1(t,e){if(rc(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]=A1(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(A1(i,e))}),n}return t}const Sae=50;function oj(...t){const e=t.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0)=>{const i=[];for(const a of r.split(`
`).slice(n)){if(a.length>1024)continue;const s=a.replace(/\(error: (.*)\)/,"$1");for(const o of e){const u=o(s);if(u){i.push(u);break}}}return Tae(i)}}function xae(t){return Array.isArray(t)?oj(...t):t}function Tae(t){if(!t.length)return[];let e=t;const r=e[0].function||"",n=e[e.length-1].function||"";return(r.indexOf("captureMessage")!==-1||r.indexOf("captureException")!==-1)&&(e=e.slice(1)),n.indexOf("sentryWrapped")!==-1&&(e=e.slice(0,-1)),e.slice(0,Sae).map(i=>({...i,filename:i.filename||e[0].filename,function:i.function||"?"})).reverse()}const ly="<anonymous>";function Ks(t){try{return!t||typeof t!="function"?ly:t.name||ly}catch{return ly}}const Mo=_0();function uj(){if(!("fetch"in Mo))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function M1(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function Eae(){if(!uj())return!1;if(M1(Mo.fetch))return!0;let t=!1;const e=Mo.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=M1(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function Pae(){const t=Mo.chrome,e=t&&t.app&&t.app.runtime,r="history"in Mo&&!!Mo.history.pushState&&!!Mo.history.replaceState;return!e&&r}const Et=_0(),df={},fk={};function Cae(t){if(!fk[t])switch(fk[t]=!0,t){case"console":$ae();break;case"dom":Bae();break;case"xhr":Dae();break;case"fetch":Aae();break;case"history":Rae();break;case"error":Fae();break;case"unhandledrejection":jae();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("unknown instrumentation type:",t);return}}function Jn(t,e){df[t]=df[t]||[],df[t].push(e),Cae(t)}function bi(t,e){if(!(!t||!df[t]))for(const r of df[t]||[])try{r(e)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error(`Error while triggering instrumentation handler.
Type: ${t}
Name: ${Ks(r)}
Error:`,n)}}function $ae(){"console"in Et&&Hv.forEach(function(t){t in Et.console&&Ar(Et.console,t,function(e){return function(...r){bi("console",{args:r,level:t}),e&&e.apply(Et.console,r)}})})}function Aae(){Eae()&&Ar(Et,"fetch",function(t){return function(...e){const r={args:e,fetchData:{method:Mae(e),url:kae(e)},startTimestamp:Date.now()};return bi("fetch",{...r}),t.apply(Et,e).then(n=>(bi("fetch",{...r,endTimestamp:Date.now(),response:n}),n),n=>{throw bi("fetch",{...r,endTimestamp:Date.now(),error:n}),n})}})}function Mae(t=[]){return"Request"in Et&&ro(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function kae(t=[]){return typeof t[0]=="string"?t[0]:"Request"in Et&&ro(t[0],Request)?t[0].url:String(t[0])}function Dae(){if(!("XMLHttpRequest"in Et))return;const t=XMLHttpRequest.prototype;Ar(t,"open",function(e){return function(...r){const n=this,i=r[1],a=n.__sentry_xhr__={method:ou(r[0])?r[0].toUpperCase():r[0],url:r[1]};ou(i)&&a.method==="POST"&&i.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const s=function(){if(n.readyState===4){try{a.status_code=n.status}catch{}bi("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?Ar(n,"onreadystatechange",function(o){return function(...u){return s(),o.apply(n,u)}}):n.addEventListener("readystatechange",s),e.apply(n,r)}}),Ar(t,"send",function(e){return function(...r){return this.__sentry_xhr__&&r[0]!==void 0&&(this.__sentry_xhr__.body=r[0]),bi("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),e.apply(this,r)}})}let Tp;function Rae(){if(!Pae())return;const t=Et.onpopstate;Et.onpopstate=function(...r){const n=Et.location.href,i=Tp;if(Tp=n,bi("history",{from:i,to:n}),t)try{return t.apply(this,r)}catch{}};function e(r){return function(...n){const i=n.length>2?n[2]:void 0;if(i){const a=Tp,s=String(i);Tp=s,bi("history",{from:a,to:s})}return r.apply(this,n)}}Ar(Et.history,"pushState",e),Ar(Et.history,"replaceState",e)}const Iae=1e3;let Ep,Pp;function Lae(t,e){if(!t||t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch{}return!1}function Nae(t){if(t.type!=="keypress")return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)return!1}catch{}return!0}function hk(t,e=!1){return r=>{if(!r||Pp===r||Nae(r))return;const n=r.type==="keypress"?"input":r.type;Ep===void 0?(t({event:r,name:n,global:e}),Pp=r):Lae(Pp,r)&&(t({event:r,name:n,global:e}),Pp=r),clearTimeout(Ep),Ep=Et.setTimeout(()=>{Ep=void 0},Iae)}}function Bae(){if(!("document"in Et))return;const t=bi.bind(null,"dom"),e=hk(t,!0);Et.document.addEventListener("click",e,!1),Et.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(r=>{const n=Et[r]&&Et[r].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Ar(n,"addEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=l[a]=l[a]||{refCount:0};if(!c.handler){const d=hk(t);c.handler=d,i.call(this,a,d,o)}c.refCount++}catch{}return i.call(this,a,s,o)}}),Ar(n,"removeEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__||{},c=l[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,o),c.handler=void 0,delete l[a]),Object.keys(l).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,s,o)}}))})}let cy=null;function Fae(){cy=Et.onerror,Et.onerror=function(t,e,r,n,i){return bi("error",{column:n,error:i,line:r,msg:t,url:e}),cy?cy.apply(this,arguments):!1}}let dy=null;function jae(){dy=Et.onunhandledrejection,Et.onunhandledrejection=function(t){return bi("unhandledrejection",t),dy?dy.apply(this,arguments):!0}}function zae(){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 Vo(){const t=dn,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");const r=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function lj(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function ko(t){const{message:e,event_id:r}=t;if(e)return e;const n=lj(t);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function k1(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 Ff(t,e){const r=lj(t);if(!r)return;const n={type:"generic",handled:!0},i=r.mechanism;if(r.mechanism={...n,...i,...e},e&&"data"in e){const a={...i&&i.data,...e.data};r.mechanism.data=a}}function pk(t){if(t&&t.__sentry_captured__)return!0;try{fx(t,"__sentry_captured__",!0)}catch{}return!1}function px(t){return Array.isArray(t)?t:[t]}function Hae(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Vae(){return"npm"}function mx(){return!Hae()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Uae(t,e){return t.require(e)}function bs(t,e=1/0,r=1/0){try{return D1("",t,e,r)}catch(n){return{ERROR:`**non-serializable** (${n})`}}}function cj(t,e=3,r=100*1024){const n=bs(t,e);return Kae(n)>r?cj(t,e-1,r):n}function D1(t,e,r=1/0,n=1/0,i=zae()){const[a,s]=i;if(e===null||["number","boolean","string"].includes(typeof e)&&!lae(e))return e;const o=Gae(t,e);if(!o.startsWith("[object "))return o;if(e.__sentry_skip_normalization__)return e;if(r===0)return o.replace("object ","");if(a(e))return"[Circular ~]";const u=e;if(u&&typeof u.toJSON=="function")try{const h=u.toJSON();return D1("",h,r-1,n,i)}catch{}const l=Array.isArray(e)?[]:{};let c=0;const d=sj(e);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(c>=n){l[h]="[MaxProperties ~]";break}const p=d[h];l[h]=D1(h,p,r-1,n,i),c++}return s(e),l}function Gae(t,e){try{return t==="domain"&&e&&typeof e=="object"&&e._events?"[Domain]":t==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&e===global?"[Global]":typeof window<"u"&&e===window?"[Window]":typeof document<"u"&&e===document?"[Document]":uae(e)?"[SyntheticEvent]":typeof e=="number"&&e!==e?"[NaN]":e===void 0?"[undefined]":typeof e=="function"?`[Function: ${Ks(e)}]`:typeof e=="symbol"?`[${String(e)}]`:typeof e=="bigint"?`[BigInt: ${String(e)}]`:`[object ${Wae(e)}]`}catch(r){return`**non-serializable** (${r})`}}function Wae(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}function Yae(t){return~-encodeURI(t).split(/%..|./).length}function Kae(t){return Yae(JSON.stringify(t))}var Pa;(function(t){t[t.PENDING=0]="PENDING";const r=1;t[t.RESOLVED=r]="RESOLVED";const n=2;t[t.REJECTED=n]="REJECTED"})(Pa||(Pa={}));function uu(t){return new Hr(e=>{e(t)})}function Vv(t){return new Hr((e,r)=>{r(t)})}class Hr{__init(){this._state=Pa.PENDING}__init2(){this._handlers=[]}constructor(e){Hr.prototype.__init.call(this),Hr.prototype.__init2.call(this),Hr.prototype.__init3.call(this),Hr.prototype.__init4.call(this),Hr.prototype.__init5.call(this),Hr.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(r){this._reject(r)}}then(e,r){return new Hr((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 Hr((r,n)=>{let i,a;return this.then(s=>{a=!1,i=s,e&&e()},s=>{a=!0,i=s,e&&e()}).then(()=>{if(a){n(i);return}r(i)})})}__init3(){this._resolve=e=>{this._setResult(Pa.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(Pa.REJECTED,e)}}__init5(){this._setResult=(e,r)=>{if(this._state===Pa.PENDING){if(ux(r)){r.then(this._resolve,this._reject);return}this._state=e,this._value=r,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Pa.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(r=>{r[0]||(this._state===Pa.RESOLVED&&r[1](this._value),this._state===Pa.REJECTED&&r[2](this._value),r[0]=!0)})}}}function qae(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 Vv(new $r("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 Hr((o,u)=>{let l=e.length;if(!l)return o(!0);const c=setTimeout(()=>{s&&s>0&&o(!1)},s);e.forEach(d=>{uu(d).then(()=>{--l||(clearTimeout(c),o(!0))},u)})})}return{$:e,add:i,drain:a}}function fy(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+r+n}}const Xae=["fatal","error","warning","log","info","debug"];function Zae(t){return t==="warn"?"warning":Xae.includes(t)?t:"log"}const dj=_0(),R1={nowSeconds:()=>Date.now()/1e3};function Jae(){const{performance:t}=dj;if(!t||!t.now)return;const e=Date.now()-t.now();return{now:()=>t.now(),timeOrigin:e}}function Qae(){try{return Uae(module,"perf_hooks").performance}catch{return}}const hy=mx()?Qae():Jae(),mk=hy===void 0?R1:{nowSeconds:()=>(hy.timeOrigin+hy.now())/1e3},w0=R1.nowSeconds.bind(R1),vx=mk.nowSeconds.bind(mk),ese=(()=>{const{performance:t}=dj;if(!t||!t.now)return;const e=3600*1e3,r=t.now(),n=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+r-n):e,a=i<e,s=t.timing&&t.timing.navigationStart,u=typeof s=="number"?Math.abs(s+r-n):e,l=u<e;return a||l?i<=u?t.timeOrigin:s:n})();function ph(t,e=[]){return[t,e]}function tse(t,e){const[r,n]=t;return[r,[...n,e]]}function vk(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 I1(t,e){return(e||new TextEncoder).encode(t)}function fj(t,e){const[r,n]=t;let i=JSON.stringify(r);function a(s){typeof i=="string"?i=typeof s=="string"?i+s:[I1(i,e),s]:i.push(typeof s=="string"?I1(s,e):s)}for(const s of n){const[o,u]=s;if(a(`
${JSON.stringify(o)}
`),typeof u=="string"||u instanceof Uint8Array)a(u);else{let l;try{l=JSON.stringify(u)}catch{l=JSON.stringify(bs(u))}a(l)}}return typeof i=="string"?i:rse(i)}function rse(t){const e=t.reduce((i,a)=>i+a.length,0),r=new Uint8Array(e);let n=0;for(const i of t)r.set(i,n),n+=i.length;return r}function nse(t,e){const r=typeof t.data=="string"?I1(t.data,e):t.data;return[y0({type:"attachment",length:r.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),r]}const ise={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function gk(t){return ise[t]}function gx(t){if(!t||!t.sdk)return;const{name:e,version:r}=t.sdk;return{name:e,version:r}}function hj(t,e,r,n){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!r&&{dsn:cx(n)},...t.type==="transaction"&&i&&{trace:y0({...i})}}}function ase(t,e,r){const n=[{type:"client_report"},{timestamp:r||w0(),discarded_events:t}];return ph(e?{dsn:e}:{},[n])}const sse=60*1e3;function ose(t,e=Date.now()){const r=parseInt(`${t}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${t}`);return isNaN(n)?sse:n-e}function use(t,e){return t[e]||t.all||0}function lse(t,e,r=Date.now()){return use(t,e)>r}function cse(t,{statusCode:e,headers:r},n=Date.now()){const i={...t},a=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(a)for(const o of a.trim().split(",")){const[u,l]=o.split(":",2),c=parseInt(u,10),d=(isNaN(c)?60:c)*1e3;if(!l)i.all=n+d;else for(const h of l.split(";"))i[h]=n+d}else s?i.all=n+ose(s,n):e===429&&(i.all=n+60*1e3);return i}function dse(t){const e=vx(),r={sid:Vo(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>hse(r)};return t&&nc(r,t),r}function nc(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||vx(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:Vo()),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 fse(t,e){let r={};e?r={status:e}:t.status==="ok"&&(r={status:"exited"}),nc(t,r)}function hse(t){return y0({sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}const pse=100;class Is{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){const r=new Is;return e&&(r._breadcrumbs=[...e._breadcrumbs],r._tags={...e._tags},r._extra={...e._extra},r._contexts={...e._contexts},r._user=e._user,r._level=e._level,r._span=e._span,r._session=e._session,r._transactionName=e._transactionName,r._fingerprint=e._fingerprint,r._eventProcessors=[...e._eventProcessors],r._requestSession=e._requestSession,r._attachments=[...e._attachments],r._sdkProcessingMetadata={...e._sdkProcessingMetadata}),r}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&nc(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,r){return this._tags={...this._tags,[e]:r},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,r){return this._extra={...this._extra,[e]:r},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,r){return r===null?delete this._contexts[e]:this._contexts[e]=r,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if(typeof e=="function"){const r=e(this);return r instanceof Is?r:this}return e instanceof Is?(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)):rc(e)&&(e=e,this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,r){const n=typeof r=="number"?r:pse;if(n<=0)return this;const i={timestamp:w0(),...e};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,r={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};const n=this._span.transaction&&this._span.transaction.name;n&&(e.tags={transaction:n,...e.tags})}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...pj(),...this._eventProcessors],e,r)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,r,n,i=0){return new Hr((a,s)=>{const o=e[i];if(r===null||typeof o!="function")a(r);else{const u=o({...r},n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&o.id&&u===null&&me.log(`Event processor "${o.id}" dropped event`),ux(u)?u.then(l=>this._notifyEventProcessors(e,l,n,i+1).then(a)).then(null,s):this._notifyEventProcessors(e,u,n,i+1).then(a).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?px(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function pj(){return lx("globalEventProcessors",()=>[])}function O0(t){pj().push(t)}const bx=4,mse=100;class mh{__init(){this._stack=[{}]}constructor(e,r=new Is,n=bx){this._version=n,mh.prototype.__init.call(this),this.getStackTop().scope=r,e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){const r=this.getStackTop();r.client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=Is.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(e){const r=this.pushScope();try{e(r)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,r){const n=this._lastEventId=r&&r.event_id?r.event_id:Vo(),i=new Error("Sentry syntheticException");return this._withClient((a,s)=>{a.captureException(e,{originalException:e,syntheticException:i,...r,event_id:n},s)}),n}captureMessage(e,r,n){const i=this._lastEventId=n&&n.event_id?n.event_id:Vo(),a=new Error(e);return this._withClient((s,o)=>{s.captureMessage(e,r,{originalException:e,syntheticException:a,...n,event_id:i},o)}),i}captureEvent(e,r){const n=r&&r.event_id?r.event_id:Vo();return e.type||(this._lastEventId=n),this._withClient((i,a)=>{i.captureEvent(e,{...r,event_id:n},a)}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,r){const{scope:n,client:i}=this.getStackTop();if(!n||!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:s=mse}=i.getOptions&&i.getOptions()||{};if(s<=0)return;const u={timestamp:w0(),...e},l=a?ij(()=>a(u,r)):u;l!==null&&n.addBreadcrumb(l,s)}setUser(e){const r=this.getScope();r&&r.setUser(e)}setTags(e){const r=this.getScope();r&&r.setTags(e)}setExtras(e){const r=this.getScope();r&&r.setExtras(e)}setTag(e,r){const n=this.getScope();n&&n.setTag(e,r)}setExtra(e,r){const n=this.getScope();n&&n.setExtra(e,r)}setContext(e,r){const n=this.getScope();n&&n.setContext(e,r)}configureScope(e){const{scope:r,client:n}=this.getStackTop();r&&n&&e(r)}run(e){const r=bk(this);try{e(this)}finally{bk(r)}}getIntegration(e){const r=this.getClient();if(!r)return null;try{return r.getIntegration(e)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,r){return this._callExtensionMethod("startTransaction",e,r)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop(),r=e&&e.scope,n=r&&r.getSession();n&&fse(n),this._sendSessionUpdate(),r&&r.setSession()}startSession(e){const{scope:r,client:n}=this.getStackTop(),{release:i,environment:a}=n&&n.getOptions()||{},{userAgent:s}=dn.navigator||{},o=dse({release:i,environment:a,...r&&{user:r.getUser()},...s&&{userAgent:s},...e});if(r){const u=r.getSession&&r.getSession();u&&u.status==="ok"&&nc(u,{status:"exited"}),this.endSession(),r.setSession(o)}return o}shouldSendDefaultPii(){const e=this.getClient(),r=e&&e.getOptions();return!!(r&&r.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:r}=this.getStackTop();if(!e)return;const n=e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}_withClient(e){const{scope:r,client:n}=this.getStackTop();n&&e(n,r)}_callExtensionMethod(e,...r){const i=S0().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[e]=="function")return i.extensions[e].apply(this,r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function S0(){return dn.__SENTRY__=dn.__SENTRY__||{extensions:{},hub:void 0},dn}function bk(t){const e=S0(),r=ws(e);return _x(e,t),r}function Ze(){const t=S0();return(!mj(t)||ws(t).isOlderThan(bx))&&_x(t,new mh),mx()?vse(t):ws(t)}function vse(t){try{const e=S0().__SENTRY__,r=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!r)return ws(t);if(!mj(r)||ws(r).isOlderThan(bx)){const n=ws(t).getStackTop();_x(r,new mh(n.client,Is.clone(n.scope)))}return ws(r)}catch{return ws(t)}}function mj(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function ws(t){return lx("hub",()=>new mh,t)}function _x(t,e){if(!t)return!1;const r=t.__SENTRY__=t.__SENTRY__||{};return r.hub=e,!0}function yx(t,e){return Ze().captureException(t,{captureContext:e})}function gse(t){Ze().addBreadcrumb(t)}function bse(t,e){Ze().setContext(t,e)}function _se(t){Ze().withScope(t)}const yse="7";function wse(t){const e=t.protocol?`${t.protocol}:`:"",r=t.port?`:${t.port}`:"";return`${e}//${t.host}${r}${t.path?`/${t.path}`:""}/api/`}function Ose(t){return`${wse(t)}${t.projectId}/envelope/`}function Sse(t,e){return wae({sentry_key:t.publicKey,sentry_version:yse,...e&&{sentry_client:`${e.name}/${e.version}`}})}function vj(t,e={}){const r=typeof e=="string"?e:e.tunnel,n=typeof e=="string"||!e._metadata?void 0:e._metadata.sdk;return r||`${Ose(t)}?${Sse(t,n)}`}function xse(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 Tse(t,e,r,n){const i=gx(r),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&{dsn:cx(e)}},s="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t];return ph(a,[s])}function Ese(t,e,r,n){const i=gx(r),a=t.type&&t.type!=="replay_event"?t.type:"event";xse(t,r&&r.sdk);const s=hj(t,i,n,e);return delete t.sdkProcessingMetadata,ph(s,[[{type:a},t]])}const _k=[];function Pse(t){const e={};return t.forEach(r=>{const{name:n}=r,i=e[n];i&&!i.isDefaultInstance&&r.isDefaultInstance||(e[n]=r)}),Object.values(e)}function Cse(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=px(r(e)):n=e;const i=Pse(n),a=i.findIndex(s=>s.name==="Debug");if(a!==-1){const[s]=i.splice(a,1);i.push(s)}return i}function $se(t){const e={};return t.forEach(r=>{r&&gj(r,e)}),e}function gj(t,e){e[t.name]=t,_k.indexOf(t.name)===-1&&(t.setupOnce(O0,Ze),_k.push(t.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log(`Integration installed: ${t.name}`))}function bj(t,e,r,n){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,s={...e,event_id:e.event_id||r.event_id||Vo(),timestamp:e.timestamp||w0()},o=r.integrations||t.integrations.map(c=>c.name);Ase(s,t),kse(s,o),Mse(s,t.stackParser);let u=n;r.captureContext&&(u=Is.clone(u).update(r.captureContext));let l=uu(s);if(u){if(u.getAttachments){const c=[...r.attachments||[],...u.getAttachments()];c.length&&(r.attachments=c)}l=u.applyToEvent(s,r)}return l.then(c=>typeof i=="number"&&i>0?Dse(c,i,a):c)}function Ase(t,e){const{environment:r,release:n,dist:i,maxValueLength:a=250}=e;"environment"in t||(t.environment="environment"in e?r:"production"),t.release===void 0&&n!==void 0&&(t.release=n),t.dist===void 0&&i!==void 0&&(t.dist=i),t.message&&(t.message=cf(t.message,a));const s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=cf(s.value,a));const o=t.request;o&&o.url&&(o.url=cf(o.url,a))}function Mse(t,e){const r=dn._sentryDebugIds;if(!r)return;const n=Object.keys(r).reduce((s,o)=>{const u=e(o);for(const l of u)if(l.abs_path){s[l.abs_path]=r[o];break}return s},{}),i=new Set;try{t.exception.values.forEach(s=>{s.stacktrace.frames.forEach(o=>{o.abs_path&&i.add(o.abs_path)})})}catch{}t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const a=t.debug_meta.images;i.forEach(s=>{n[s]&&a.push({type:"sourcemap",code_file:s,debug_id:n[s]})})}function kse(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function Dse(t,e,r){if(!t)return null;const n={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:bs(i.data,e,r)}}))},...t.user&&{user:bs(t.user,e,r)},...t.contexts&&{contexts:bs(t.contexts,e,r)},...t.extra&&{extra:bs(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=bs(t.contexts.trace.data,e,r))),t.spans&&(n.spans=t.spans.map(i=>(i.data&&(i.data=bs(i.data,e,r)),i))),n}const yk="Not capturing exception because it's already been captured.";class El{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(e){if(El.prototype.__init.call(this),El.prototype.__init2.call(this),El.prototype.__init3.call(this),El.prototype.__init4.call(this),this._options=e,e.dsn){this._dsn=bae(e.dsn);const r=vj(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:r})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("No DSN provided, client will not do anything.")}captureException(e,r,n){if(pk(e)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log(yk);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=rj(e)?this.eventFromMessage(String(e),r,n):this.eventFromException(e,n);return this._process(s.then(o=>this._captureEvent(o,n,i)).then(o=>{a=o})),a}captureEvent(e,r,n){if(r&&r.originalException&&pk(r.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log(yk);return}let i=r&&r.event_id;return this._process(this._captureEvent(e,r,n).then(a=>{i=a})),i}captureSession(e){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("SDK not enabled, will not capture session.");return}typeof e.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),nc(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const r=this._transport;return r?this._isClientDoneProcessing(e).then(n=>r.flush(e).then(i=>n&&i)):uu(!0)}close(e){return this.flush(e).then(r=>(this.getOptions().enabled=!1,r))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=$se(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){gj(e,this._integrations)}sendEvent(e,r={}){if(this._dsn){let n=Ese(e,this._dsn,this._options._metadata,this._options.tunnel);for(const i of r.attachments||[])n=tse(n,nse(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(n)}}sendSession(e){if(this._dsn){const r=Tse(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}}recordDroppedEvent(e,r,n){if(this._options.sendClientReports){const i=`${e}:${r}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}_updateSessionFromEvent(e,r){let n=!1,i=!1;const a=r.exception&&r.exception.values;if(a){i=!0;for(const u of a){const l=u.mechanism;if(l&&l.handled===!1){n=!0;break}}}const s=e.status==="ok";(s&&e.errors===0||s&&n)&&(nc(e,{...n&&{status:"crashed"},errors:e.errors||Number(i||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Hr(r=>{let n=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),r(!0)):(n+=i,e&&n>=e&&(clearInterval(a),r(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(e,r,n){const i=this.getOptions(),a=Object.keys(this._integrations);return!r.integrations&&a.length>0&&(r.integrations=a),bj(i,e,r,n)}_captureEvent(e,r={},n){return this._processEvent(e,r,n).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const a=i;a.logLevel==="log"?me.log(a.message):me.warn(a)}})}_processEvent(e,r,n){const i=this.getOptions(),{sampleRate:a}=i;if(!this._isEnabled())return Vv(new $r("SDK not enabled, will not capture event.","log"));const s=yj(e),o=_j(e),u=e.type||"error",l=`before send for type \`${u}\``;if(o&&typeof a=="number"&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",e),Vv(new $r(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const c=u==="replay_event"?"replay":u;return this._prepareEvent(e,r,n).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",c,e),new $r("An event processor returned `null`, will not send event.","log");if(r.data&&r.data.__sentry__===!0)return d;const p=Ise(i,d,r);return Rse(p,l)}).then(d=>{if(d===null)throw this.recordDroppedEvent("before_send",c,e),new $r(`${l} returned \`null\`, will not send event.`,"log");const h=n&&n.getSession();!s&&h&&this._updateSessionFromEvent(h,d);const p=d.transaction_info;if(s&&p&&d.transaction!==e.transaction){const g="custom";d.transaction_info={...p,source:g}}return this.sendEvent(d,r),d}).then(null,d=>{throw d instanceof $r?d:(this.captureException(d,{data:{__sentry__:!0},originalException:d}),new $r(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${d}`))})}_process(e){this._numProcessing++,e.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_sendEnvelope(e){this._transport&&this._dsn?this._transport.send(e).then(null,r=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error("Error while sending event:",r)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.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 Rse(t,e){const r=`${e} must return \`null\` or a valid event.`;if(ux(t))return t.then(n=>{if(!rc(n)&&n!==null)throw new $r(r);return n},n=>{throw new $r(`${e} rejected with ${n}`)});if(!rc(t)&&t!==null)throw new $r(r);return t}function Ise(t,e,r){const{beforeSend:n,beforeSendTransaction:i}=t;return _j(e)&&n?n(e,r):yj(e)&&i?i(e,r):e}function _j(t){return t.type===void 0}function yj(t){return t.type==="transaction"}function Lse(t,e){e.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?me.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const r=Ze(),n=r.getScope();n&&n.update(e.initialScope);const i=new t(e);r.bindClient(i)}const Nse=30;function wj(t,e,r=qae(t.bufferSize||Nse)){let n={};const i=s=>r.drain(s);function a(s){const o=[];if(vk(s,(d,h)=>{const p=gk(h);if(lse(n,p)){const g=wk(d,h);t.recordDroppedEvent("ratelimit_backoff",p,g)}else o.push(d)}),o.length===0)return uu();const u=ph(s[0],o),l=d=>{vk(u,(h,p)=>{const g=wk(h,p);t.recordDroppedEvent(d,gk(p),g)})},c=()=>e({body:fj(u,t.textEncoder)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=cse(n,d),d),d=>{throw l("network_error"),d});return r.add(c).then(d=>d,d=>{if(d instanceof $r)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error("Skipped sending event because buffer is full."),l("queue_overflow"),uu();throw d})}return{send:a,flush:i}}function wk(t,e){if(!(e!=="event"&&e!=="transaction"))return Array.isArray(t)?t[1]:void 0}const Uv="7.39.0";let Ok;class jf{constructor(){jf.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=jf.id}setupOnce(){Ok=Function.prototype.toString,Function.prototype.toString=function(...e){const r=hx(this)||this;return Ok.apply(r,e)}}}jf.__initStatic();const Bse=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Dl{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Dl.id}constructor(e={}){this._options=e,Dl.prototype.__init.call(this)}setupOnce(e,r){const n=i=>{const a=r();if(a){const s=a.getIntegration(Dl);if(s){const o=a.getClient(),u=o?o.getOptions():{},l=Fse(s._options,u);return jse(i,l)?null:i}}return i};n.id=this.name,e(n)}}Dl.__initStatic();function Fse(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...Bse],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function jse(t,e){return e.ignoreInternal&&Gse(t)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Event dropped due to being internal Sentry Error.
Event: ${ko(t)}`),!0):zse(t,e.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${ko(t)}`),!0):Hse(t,e.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${ko(t)}.
Url: ${Gv(t)}`),!0):Vse(t,e.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${ko(t)}.
Url: ${Gv(t)}`),!0)}function zse(t,e){return!e||!e.length?!1:Use(t).some(r=>dx(r,e))}function Hse(t,e){if(!e||!e.length)return!1;const r=Gv(t);return r?dx(r,e):!1}function Vse(t,e){if(!e||!e.length)return!0;const r=Gv(t);return r?dx(r,e):!0}function Use(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:r=""}=t.exception.values&&t.exception.values[0]||{};return[`${r}`,`${e}: ${r}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error(`Cannot extract message for event ${ko(t)}`),[]}return[]}function Gse(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function Wse(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 Gv(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?Wse(e):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error(`Cannot extract url for event ${ko(t)}`),null}}function Yse(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=Ze().getClient(),r=t||e&&e.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}const Ye=dn;let L1=0;function Oj(){return L1>0}function Kse(){L1++,setTimeout(()=>{L1--})}function ic(t,e={},r){if(typeof t!="function")return t;try{const i=t.__sentry_wrapped__;if(i)return i;if(hx(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=>ic(s,e));return t.apply(this,a)}catch(a){throw Kse(),_se(s=>{s.addEventProcessor(o=>(e.mechanism&&(k1(o,void 0,void 0),Ff(o,e.mechanism)),o.extra={...o.extra,arguments:i},o)),yx(a)}),a}};try{for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}catch{}aj(n,t),fx(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return t.name}})}catch{}return n}function Sj(t,e){const r=wx(t,e),n={type:e&&e.name,value:Jse(e)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function qse(t,e,r,n){const a=Ze().getClient(),s=a&&a.getOptions().normalizeDepth,o={exception:{values:[{type:ox(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:`Non-Error ${n?"promise rejection":"exception"} captured with keys: ${Oae(e)}`}]},extra:{__serialized__:cj(e,s)}};if(r){const u=wx(t,r);u.length&&(o.exception.values[0].stacktrace={frames:u})}return o}function py(t,e){return{exception:{values:[Sj(t,e)]}}}function wx(t,e){const r=e.stacktrace||e.stack||"",n=Zse(e);try{return t(r,n)}catch{}return[]}const Xse=/Minified React error #\d+;/i;function Zse(t){if(t){if(typeof t.framesToPop=="number")return t.framesToPop;if(Xse.test(t.message))return 1}return 0}function Jse(t){const e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function Qse(t,e,r,n){const i=r&&r.syntheticException||void 0,a=Ox(t,e,i,n);return Ff(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),uu(a)}function eoe(t,e,r="info",n,i){const a=n&&n.syntheticException||void 0,s=N1(t,e,a,i);return s.level=r,n&&n.event_id&&(s.event_id=n.event_id),uu(s)}function Ox(t,e,r,n,i){let a;if(tj(e)&&e.error)return py(t,e.error);if(ok(e)||aae(e)){const s=e;if("stack"in e)a=py(t,e);else{const o=s.name||(ok(s)?"DOMError":"DOMException"),u=s.message?`${o}: ${s.message}`:o;a=N1(t,u,r,n),k1(a,u)}return"code"in s&&(a.tags={...a.tags,"DOMException.code":`${s.code}`}),a}return ej(e)?py(t,e):rc(e)||ox(e)?(a=qse(t,e,r,i),Ff(a,{synthetic:!0}),a):(a=N1(t,e,r,n),k1(a,`${e}`,void 0),Ff(a,{synthetic:!0}),a)}function N1(t,e,r,n){const i={message:e};if(n&&r){const a=wx(t,r);a.length&&(i.exception={values:[{value:e,stacktrace:{frames:a}}]})}return i}const Cp=1024,xj="Breadcrumbs";class zf{static __initStatic(){this.id=xj}__init(){this.name=zf.id}constructor(e){zf.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){this.options.console&&Jn("console",roe),this.options.dom&&Jn("dom",toe(this.options.dom)),this.options.xhr&&Jn("xhr",noe),this.options.fetch&&Jn("fetch",ioe),this.options.history&&Jn("history",aoe)}addSentryBreadcrumb(e){this.options.sentry&&Ze().addBreadcrumb({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:ko(e)},{event:e})}}zf.__initStatic();function toe(t){function e(r){let n,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Cp&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`\`dom.maxStringLength\` cannot exceed ${Cp}, but a value of ${a} was configured. Sentry will use ${Cp} instead.`),a=Cp),typeof i=="string"&&(i=[i]);try{n=r.event.target?zv(r.event.target,{keyAttrs:i,maxStringLength:a}):zv(r.event,{keyAttrs:i,maxStringLength:a})}catch{n="<unknown>"}n.length!==0&&Ze().addBreadcrumb({category:`ui.${r.name}`,message:n},{event:r.event,name:r.name,global:r.global})}return e}function roe(t){for(let r=0;r<t.args.length;r++)if(t.args[r]==="ref=Ref<"){t.args[r+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:Zae(t.level),message:lk(t.args," ")};if(t.level==="assert")if(t.args[0]===!1)e.message=`Assertion failed: ${lk(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1);else return;Ze().addBreadcrumb(e,{input:t.args,level:t.level})}function noe(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;const{method:e,url:r,status_code:n,body:i}=t.xhr.__sentry_xhr__||{};Ze().addBreadcrumb({category:"xhr",data:{method:e,url:r,status_code:n},type:"http"},{xhr:t.xhr,input:i});return}}function ioe(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method==="POST"||(t.error?Ze().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):Ze().addBreadcrumb({category:"fetch",data:{...t.fetchData,status_code:t.response.status},type:"http"},{input:t.args,response:t.response})))}function aoe(t){let e=t.from,r=t.to;const n=fy(Ye.location.href);let i=fy(e);const a=fy(r);i.path||(i=n),n.protocol===a.protocol&&n.host===a.host&&(r=a.relative),n.protocol===i.protocol&&n.host===i.host&&(e=i.relative),Ze().addBreadcrumb({category:"navigation",data:{from:e,to:r}})}class soe extends El{constructor(e){const r=Ye.SENTRY_SDK_SOURCE||Vae();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${r}:@sentry/browser`,version:Uv}],version:Uv},super(e),e.sendClientReports&&Ye.document&&Ye.document.addEventListener("visibilitychange",()=>{Ye.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,r){return Qse(this._options.stackParser,e,r,this._options.attachStacktrace)}eventFromMessage(e,r="info",n){return eoe(this._options.stackParser,e,r,n,this._options.attachStacktrace)}sendEvent(e,r){const n=this.getIntegrationById(xj);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(e),super.sendEvent(e,r)}_prepareEvent(e,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,r,n)}_flushOutcomes(){const e=this._clearOutcomes();if(e.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("Sending outcomes:",e);const r=vj(this._dsn,this._options),n=ase(e,this._options.tunnel&&cx(this._dsn));try{Object.prototype.toString.call(Ye&&Ye.navigator)==="[object Navigator]"&&typeof Ye.navigator.sendBeacon=="function"&&!this._options.transportOptions?Ye.navigator.sendBeacon.bind(Ye.navigator)(r,fj(n)):this._sendEnvelope(n)}catch(i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error(i)}}}let Yd;function ooe(){if(Yd)return Yd;if(M1(Ye.fetch))return Yd=Ye.fetch.bind(Ye);const t=Ye.document;let e=Ye.fetch;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);const n=r.contentWindow;n&&n.fetch&&(e=n.fetch),t.head.removeChild(r)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return Yd=e.bind(Ye)}function uoe(){Yd=void 0}function loe(t,e=ooe()){function r(n){const i={body:n.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n.body.length<=65536,...t.fetchOptions};try{return e(t.url,i).then(a=>({statusCode:a.status,headers:{"x-sentry-rate-limits":a.headers.get("X-Sentry-Rate-Limits"),"retry-after":a.headers.get("Retry-After")}}))}catch(a){return uoe(),Vv(a)}}return wj(t,r)}const coe=4;function doe(t){function e(r){return new Hr((n,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===coe&&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 wj(t,e)}const x0="?",foe=30,hoe=40,poe=50;function Sx(t,e,r,n){const i={filename:t,abs_path:t,function:e,in_app:!0};return r!==void 0&&(i.lineno=r),n!==void 0&&(i.colno=n),i}const moe=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?(?:async )?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,voe=/\((\S*)(?::(\d+))(?::(\d+))\)/,goe=t=>{const e=moe.exec(t);if(e){if(e[2]&&e[2].indexOf("eval")===0){const a=voe.exec(e[2]);a&&(e[2]=a[1],e[3]=a[2],e[4]=a[3])}const[n,i]=Tj(e[1]||x0,e[2]);return Sx(i,n,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}},boe=[foe,goe],_oe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,yoe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,woe=t=>{const e=_oe.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const a=yoe.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]||x0;return[i,n]=Tj(i,n),Sx(n,i,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Ooe=[poe,woe],Soe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,xoe=t=>{const e=Soe.exec(t);return e?Sx(e[2],e[1]||x0,+e[3],e[4]?+e[4]:void 0):void 0},Toe=[hoe,xoe],Eoe=[boe,Ooe,Toe],Poe=oj(...Eoe),Tj=(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]:x0,r?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};class Ls{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Ls.id}__init2(){this._installFunc={onerror:Coe,onunhandledrejection:$oe}}constructor(e){Ls.prototype.__init.call(this),Ls.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const r in e){const n=this._installFunc[r];n&&e[r]&&(koe(r),n(),this._installFunc[r]=void 0)}}}Ls.__initStatic();function Coe(){Jn("error",t=>{const[e,r,n]=Cj();if(!e.getIntegration(Ls))return;const{msg:i,url:a,line:s,column:o,error:u}=t;if(Oj()||u&&u.__sentry_own_request__)return;const l=u===void 0&&ou(i)?Moe(i,a,s,o):Ej(Ox(r,u||i,void 0,n,!1),a,s,o);l.level="error",Pj(e,u,l,"onerror")})}function $oe(){Jn("unhandledrejection",t=>{const[e,r,n]=Cj();if(!e.getIntegration(Ls))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch{}if(Oj()||i&&i.__sentry_own_request__)return!0;const a=rj(i)?Aoe(i):Ox(r,i,void 0,n,!0);a.level="error",Pj(e,i,a,"onunhandledrejection")})}function Aoe(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Moe(t,e,r,n){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=tj(t)?t.message:t,s="Error";const o=a.match(i);return o&&(s=o[1],a=o[2]),Ej({exception:{values:[{type:s,value:a}]}},e,r,n)}function Ej(t,e,r,n){const i=t.exception=t.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},u=o.frames=o.frames||[],l=isNaN(parseInt(n,10))?void 0:n,c=isNaN(parseInt(r,10))?void 0:r,d=ou(e)&&e.length>0?e:hae();return u.length===0&&u.push({colno:l,filename:d,function:"?",in_app:!0,lineno:c}),t}function koe(t){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log(`Global Handler attached: ${t}`)}function Pj(t,e,r,n){Ff(r,{handled:!1,type:n}),t.captureEvent(r,{originalException:e})}function Cj(){const t=Ze(),e=t.getClient(),r=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,r.stackParser,r.attachStacktrace]}const Doe=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Hf{static __initStatic(){this.id="TryCatch"}__init(){this.name=Hf.id}constructor(e){Hf.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&Ar(Ye,"setTimeout",Sk),this._options.setInterval&&Ar(Ye,"setInterval",Sk),this._options.requestAnimationFrame&&Ar(Ye,"requestAnimationFrame",Roe),this._options.XMLHttpRequest&&"XMLHttpRequest"in Ye&&Ar(XMLHttpRequest.prototype,"send",Ioe);const e=this._options.eventTarget;e&&(Array.isArray(e)?e:Doe).forEach(Loe)}}Hf.__initStatic();function Sk(t){return function(...e){const r=e[0];return e[0]=ic(r,{mechanism:{data:{function:Ks(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function Roe(t){return function(e){return t.apply(this,[ic(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Ks(t)},handled:!0,type:"instrument"}})])}}function Ioe(t){return function(...e){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in r&&typeof r[i]=="function"&&Ar(r,i,function(a){const s={mechanism:{data:{function:i,handler:Ks(a)},handled:!0,type:"instrument"}},o=hx(a);return o&&(s.mechanism.data.handler=Ks(o)),ic(a,s)})}),t.apply(this,e)}}function Loe(t){const e=Ye,r=e[t]&&e[t].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Ar(r,"addEventListener",function(n){return function(i,a,s){try{typeof a.handleEvent=="function"&&(a.handleEvent=ic(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ks(a),target:t},handled:!0,type:"instrument"}}))}catch{}return n.apply(this,[i,ic(a,{mechanism:{data:{function:"addEventListener",handler:Ks(a),target:t},handled:!0,type:"instrument"}}),s])}}),Ar(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 Noe="cause",Boe=5;class Rl{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Rl.id}constructor(e={}){Rl.prototype.__init.call(this),this._key=e.key||Noe,this._limit=e.limit||Boe}setupOnce(){const e=Ze().getClient();e&&O0((r,n)=>{const i=Ze().getIntegration(Rl);return i?Foe(e.getOptions().stackParser,i._key,i._limit,r,n):r})}}Rl.__initStatic();function Foe(t,e,r,n,i){if(!n.exception||!n.exception.values||!i||!ro(i.originalException,Error))return n;const a=$j(t,r,i.originalException,e);return n.exception.values=[...a,...n.exception.values],n}function $j(t,e,r,n,i=[]){if(!ro(r[n],Error)||i.length+1>=e)return i;const a=Sj(t,r[n]);return $j(t,e,r[n],n,[a,...i])}class Il{constructor(){Il.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Il.id}setupOnce(){O0(e=>{if(Ze().getIntegration(Il)){if(!Ye.navigator&&!Ye.location&&!Ye.document)return e;const r=e.request&&e.request.url||Ye.location&&Ye.location.href,{referrer:n}=Ye.document||{},{userAgent:i}=Ye.navigator||{},a={...e.request&&e.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},s={...e.request,...r&&{url:r},headers:a};return{...e,request:s}}return e})}}Il.__initStatic();class Ll{constructor(){Ll.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Ll.id}setupOnce(e,r){const n=i=>{if(i.type)return i;const a=r().getIntegration(Ll);if(a){try{if(joe(i,a._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return a._previousEvent=i}return a._previousEvent=i}return i};n.id=this.name,e(n)}}Ll.__initStatic();function joe(t,e){return e?!!(zoe(t,e)||Hoe(t,e)):!1}function zoe(t,e){const r=t.message,n=e.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!Mj(t,e)||!Aj(t,e))}function Hoe(t,e){const r=xk(e),n=xk(t);return!(!r||!n||r.type!==n.type||r.value!==n.value||!Mj(t,e)||!Aj(t,e))}function Aj(t,e){let r=Tk(t),n=Tk(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 Mj(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 xk(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Tk(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch{return}}const Voe=[new Dl,new jf,new Hf,new zf,new Ls,new Rl,new Ll,new Il];function Uoe(t={}){t.defaultIntegrations===void 0&&(t.defaultIntegrations=Voe),t.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(t.release=__SENTRY_RELEASE__),Ye.SENTRY_RELEASE&&Ye.SENTRY_RELEASE.id&&(t.release=Ye.SENTRY_RELEASE.id)),t.autoSessionTracking===void 0&&(t.autoSessionTracking=!0),t.sendClientReports===void 0&&(t.sendClientReports=!0);const e={...t,stackParser:xae(t.stackParser||Poe),integrations:Cse(t),transport:t.transport||(uj()?loe:doe)};Lse(soe,e),t.autoSessionTracking&&Goe()}function Ek(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function Goe(){if(typeof Ye.document>"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const t=Ze();t.captureSession&&(Ek(t),Jn("history",({from:e,to:r})=>{e===void 0||e===r||Ek(Ze())}))}const rr=dn,kj="sentryReplaySession",Dj="replay_event",xx="Unable to send Replay",Tx=3e5,Pk=Tx,Rj=36e5,Woe=5e3,Yoe=5500,Koe=6e4,qoe=5e3,Xoe=3;var pr;(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"})(pr||(pr={}));function Zoe(t){return t.nodeType===t.ELEMENT_NODE}function ff(t){const e=t==null?void 0:t.host;return!!(e&&e.shadowRoot&&e.shadowRoot===t)}function Ij({maskInputOptions:t,tagName:e,type:r}){return t[e.toLowerCase()]||t[r]||e==="input"&&!r&&t.text}function Joe({tagName:t,type:e,maskInputOptions:r,maskInputSelector:n}){return n||Ij({maskInputOptions:r,tagName:t,type:e})}function Ex({input:t,maskInputSelector:e,unmaskInputSelector:r,maskInputOptions:n,tagName:i,type:a,value:s,maskInputFn:o}){let u=s||"";return r&&t.matches(r)||(Ij({maskInputOptions:n,tagName:i,type:a})||e&&t.matches(e))&&(o?u=o(u):u="*".repeat(u.length)),u}const Ck="__rrweb_original__";function Qoe(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=Ck in a?a[Ck]:a;if(new Uint32Array(s.call(e,n,i,Math.min(r,t.width-n),Math.min(r,t.height-i)).data.buffer).some(u=>u!==0))return!1}return!0}let eue=1;const tue=new RegExp("[^a-z0-9-_:]"),Vf=-2;function Lj(t){return t?t.replace(/[\S]/g,"*"):""}function rue(){return eue++}function nue(t){if(t instanceof HTMLFormElement)return"form";const e=t.tagName.toLowerCase().trim();return tue.test(e)?"div":e}function B1(t){try{const e=t.rules||t.cssRules;return e?Array.from(e).map(iue).join(""):null}catch{return null}}function iue(t){let e=t.cssText;if(aue(t))try{e=B1(t.styleSheet)||e}catch{}return e}function aue(t){return"styleSheet"in t}function sue(t){return t.cssRules?Array.from(t.cssRules).map(e=>e.cssText||"").join(""):""}function oue(t){let e="";return t.indexOf("//")>-1?e=t.split("/").slice(0,3).join("/"):e=t.split("/")[0],e=e.split("?")[0],e}let rl,$k;const uue=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,lue=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,cue=/^(data:)([^,]*),(.*)/i;function Rm(t,e){return(t||"").replace(uue,(r,n,i,a,s,o)=>{const u=i||s||o,l=n||a||"";if(!u)return r;if(!lue.test(u))return`url(${l}${u}${l})`;if(cue.test(u))return`url(${l}${u}${l})`;if(u[0]==="/")return`url(${l}${oue(e)+u}${l})`;const c=e.split("/"),d=u.split("/");c.pop();for(const h of d)h!=="."&&(h===".."?c.pop():c.push(h));return`url(${l}${c.join("/")}${l})`})}const due=/^[^ \t\n\r\u000c]+/,fue=/^[, \t\n\r\u000c]+/;function hue(t,e){if(e.trim()==="")return e;let r=0;function n(a){let s,o=a.exec(e.substring(r));return o?(s=o[0],r+=s.length,s):""}let i=[];for(;n(fue),!(r>=e.length);){let a=n(due);if(a.slice(-1)===",")a=Pl(t,a.substring(0,a.length-1)),i.push(a);else{let s="";a=Pl(t,a);let o=!1;for(;;){let u=e.charAt(r);if(u===""){i.push((a+s).trim());break}else if(o)u===")"&&(o=!1);else if(u===","){r+=1,i.push((a+s).trim());break}else u==="("&&(o=!0);s+=u,r+=1}}}return i.join(", ")}function Pl(t,e){if(!e||e.trim()==="")return e;const r=t.createElement("a");return r.href=e,r.href}function pue(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function F1(){const t=document.createElement("a");return t.href="",t.href}function Nj(t,e,r,n,i,a){return n&&(r==="src"||r==="href"||r==="xlink:href"&&n[0]!=="#"||r==="background"&&(e==="table"||e==="td"||e==="th")?Pl(t,n):r==="srcset"?hue(t,n):r==="style"?Rm(n,F1()):e==="object"&&r==="data"?Pl(t,n):i&&["placeholder","title","aria-label"].indexOf(r)>-1?a?a(n):Lj(n):n)}function mue(t,e,r,n){if(n&&t.matches(n))return!1;if(typeof e=="string"){if(t.classList.contains(e))return!0}else for(let i=0;i<t.classList.length;i++){const a=t.classList[i];if(e.test(a))return!0}return r?t.matches(r):!1}function Wv(t,e,r,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return Wv(t.parentNode,e,r,n,i);if(n&&(t.matches(n)||t.closest(n)))return!1;if(i)return!0;if(typeof e=="string"){if(t.classList.contains(e))return!0}else for(let a=0;a<t.classList.length;a++){const s=t.classList[a];if(e.test(s))return!0}return r&&t.matches(r)?!0:Wv(t.parentNode,e,r,n,i)}function vue(t,e,r){const n=t.contentWindow;if(!n)return;let i=!1,a;try{a=n.document.readyState}catch{return}if(a!=="complete"){const o=setTimeout(()=>{i||(e(),i=!0)},r);t.addEventListener("load",()=>{clearTimeout(o),i=!0,e()});return}const s="about:blank";if(n.location.href!==s||t.src===s||t.src===""){setTimeout(e,0);return}t.addEventListener("load",e)}function gue(t,e){var r;const{doc:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,inlineStylesheet:c,maskInputSelector:d,unmaskInputSelector:h,maskAllText:p,maskInputOptions:g={},maskTextFn:_,maskInputFn:O,dataURLOptions:S={},inlineImages:E,recordCanvas:x,keepIframeSrcFn:f}=e;let m;if(n.__sn){const v=n.__sn.id;m=v===1?void 0:v}switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:pr.Document,childNodes:[],compatMode:t.compatMode,rootId:m}:{type:pr.Document,childNodes:[],rootId:m};case t.DOCUMENT_TYPE_NODE:return{type:pr.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:m};case t.ELEMENT_NODE:const v=mue(t,i,a,s),T=nue(t);let P={};for(const{name:w,value:$}of Array.from(t.attributes))yue(T,w)||(P[w]=Nj(n,T,w,$,p,_));if(T==="link"&&c){const w=Array.from(n.styleSheets).find(D=>D.href===t.href);let $=null;w&&($=B1(w)),$&&(delete P.rel,delete P.href,P._cssText=Rm($,w.href))}if(T==="style"&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){const w=B1(t.sheet);w&&(P._cssText=Rm(w,F1()))}if(T==="input"||T==="textarea"||T==="select"){const w=t.value;P.type!=="radio"&&P.type!=="checkbox"&&P.type!=="submit"&&P.type!=="button"&&w?P.value=Ex({input:t,type:P.type,tagName:T,value:w,maskInputSelector:d,unmaskInputSelector:h,maskInputOptions:g,maskInputFn:O}):t.checked&&(P.checked=t.checked)}if(T==="option"&&(t.selected&&!g.select?P.selected=!0:delete P.selected),T==="canvas"&&x){if(t.__context==="2d")Qoe(t)||(P.rr_dataURL=t.toDataURL(S.type,S.quality));else if(!("__context"in t)){const w=t.toDataURL(S.type,S.quality),$=document.createElement("canvas");$.width=t.width,$.height=t.height;const D=$.toDataURL(S.type,S.quality);w!==D&&(P.rr_dataURL=w)}}if(T==="img"&&E){rl||(rl=n.createElement("canvas"),$k=rl.getContext("2d"));const w=t,$=w.crossOrigin;w.crossOrigin="anonymous";const D=()=>{try{rl.width=w.naturalWidth,rl.height=w.naturalHeight,$k.drawImage(w,0,0),P.rr_dataURL=rl.toDataURL(S.type,S.quality)}catch(A){console.warn(`Cannot inline img src=${w.currentSrc}! Error: ${A}`)}$?P.crossOrigin=$:delete P.crossOrigin};w.complete&&w.naturalWidth!==0?D():w.onload=D}if((T==="audio"||T==="video")&&(P.rr_mediaState=t.paused?"paused":"played",P.rr_mediaCurrentTime=t.currentTime),t.scrollLeft&&(P.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(P.rr_scrollTop=t.scrollTop),v){const{width:w,height:$}=t.getBoundingClientRect();P={class:P.class,rr_width:`${w}px`,rr_height:`${$}px`}}return T==="iframe"&&!f(P.src)&&(t.contentDocument||(P.rr_src=P.src),delete P.src),{type:pr.Element,tagName:T,attributes:P,childNodes:[],isSVG:pue(t)||void 0,needBlock:v,rootId:m};case t.TEXT_NODE:const k=t.parentNode&&t.parentNode.tagName;let y=t.textContent;const M=k==="STYLE"?!0:void 0,C=k==="SCRIPT"?!0:void 0;if(M&&y){try{t.nextSibling||t.previousSibling||!((r=t.parentNode.sheet)===null||r===void 0)&&r.cssRules&&(y=sue(t.parentNode.sheet))}catch(w){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${w}`,t)}y=Rm(y,F1())}return C&&(y="SCRIPT_PLACEHOLDER"),k==="TEXTAREA"&&y?y="":!M&&!C&&Wv(t,o,u,l,p)&&y&&(y=_?_(y):Lj(y)),{type:pr.Text,textContent:y||"",isStyle:M,rootId:m};case t.CDATA_SECTION_NODE:return{type:pr.CDATA,textContent:"",rootId:m};case t.COMMENT_NODE:return{type:pr.Comment,textContent:t.textContent||"",rootId:m};default:return!1}}function mt(t){return t==null?"":t.toLowerCase()}function bue(t,e){if(e.comment&&t.type===pr.Comment)return!0;if(t.type===pr.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"&&(mt(t.attributes.name).match(/^msapplication-tile(image|color)$/)||mt(t.attributes.name)==="application-name"||mt(t.attributes.rel)==="icon"||mt(t.attributes.rel)==="apple-touch-icon"||mt(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(e.headMetaDescKeywords&&mt(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(mt(t.attributes.property).match(/^(og|twitter|fb):/)||mt(t.attributes.name).match(/^(og|twitter):/)||mt(t.attributes.name)==="pinterest"))return!0;if(e.headMetaRobots&&(mt(t.attributes.name)==="robots"||mt(t.attributes.name)==="googlebot"||mt(t.attributes.name)==="bingbot"))return!0;if(e.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(e.headMetaAuthorship&&(mt(t.attributes.name)==="author"||mt(t.attributes.name)==="generator"||mt(t.attributes.name)==="framework"||mt(t.attributes.name)==="publisher"||mt(t.attributes.name)==="progid"||mt(t.attributes.property).match(/^article:/)||mt(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&(mt(t.attributes.name)==="google-site-verification"||mt(t.attributes.name)==="yandex-verification"||mt(t.attributes.name)==="csrf-token"||mt(t.attributes.name)==="p:domain_verify"||mt(t.attributes.name)==="verify-v1"||mt(t.attributes.name)==="verification"||mt(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function hf(t,e){const{doc:r,map:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,skipChild:c=!1,inlineStylesheet:d=!0,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_={},maskTextFn:O,maskInputFn:S,slimDOMOptions:E,dataURLOptions:x={},inlineImages:f=!1,recordCanvas:m=!1,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:P=5e3,keepIframeSrcFn:k=()=>!1}=e;let{preserveWhiteSpace:y=!0}=e;const M=gue(t,{doc:r,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_,maskTextFn:O,maskInputFn:S,dataURLOptions:x,inlineImages:f,recordCanvas:m,keepIframeSrcFn:k});if(!M)return console.warn(t,"not serialized"),null;let C;"__sn"in t?C=t.__sn.id:bue(M,E)||!y&&M.type===pr.Text&&!M.isStyle&&!M.textContent.replace(/^\s+|\s+$/gm,"").length?C=Vf:C=rue();const w=Object.assign(M,{id:C});if(t.__sn=w,C===Vf)return null;n[C]=t,v&&v(t);let $=!c;if(w.type===pr.Element&&($=$&&!w.needBlock,delete w.needBlock,t.shadowRoot&&(w.isShadowHost=!0)),(w.type===pr.Document||w.type===pr.Element)&&$){E.headWhitespace&&M.type===pr.Element&&M.tagName==="head"&&(y=!1);const D={doc:r,map:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,skipChild:c,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_,maskTextFn:O,maskInputFn:S,slimDOMOptions:E,dataURLOptions:x,inlineImages:f,recordCanvas:m,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:P,keepIframeSrcFn:k};for(const A of Array.from(t.childNodes)){const L=hf(A,D);L&&w.childNodes.push(L)}if(Zoe(t)&&t.shadowRoot)for(const A of Array.from(t.shadowRoot.childNodes)){const L=hf(A,D);L&&(L.isShadow=!0,w.childNodes.push(L))}}return t.parentNode&&ff(t.parentNode)&&(w.isShadow=!0),w.type===pr.Element&&w.tagName==="iframe"&&vue(t,()=>{const D=t.contentDocument;if(D&&T){const A=hf(D,{doc:D,map:n,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:o,maskTextSelector:u,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:g,maskInputOptions:_,maskTextFn:O,maskInputFn:S,slimDOMOptions:E,dataURLOptions:x,inlineImages:f,recordCanvas:m,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:P,keepIframeSrcFn:k});A&&T(t,A)}},P),w}function _ue(t,e){const{blockClass:r="rr-block",blockSelector:n=null,unblockSelector:i=null,maskTextClass:a="rr-mask",maskTextSelector:s=null,unmaskTextSelector:o=null,inlineStylesheet:u=!0,inlineImages:l=!1,recordCanvas:c=!1,maskInputSelector:d=null,unmaskInputSelector:h=null,maskAllText:p=!1,maskAllInputs:g=!1,maskTextFn:_,maskInputFn:O,slimDOM:S=!1,dataURLOptions:E,preserveWhiteSpace:x,onSerialize:f,onIframeLoad:m,iframeLoadTimeout:v,keepIframeSrcFn:T=()=>!1}=e||{},P={};return[hf(t,{doc:t,map:P,blockClass:r,blockSelector:n,unblockSelector:i,maskTextClass:a,maskTextSelector:s,unmaskTextSelector:o,skipChild:!1,inlineStylesheet:u,maskInputSelector:d,unmaskInputSelector:h,maskAllText:p,maskInputOptions:g===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:g===!1?{password:!0}:g,maskTextFn:_,maskInputFn:O,slimDOMOptions:S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:S==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:S===!1?{}:S,dataURLOptions:E,inlineImages:l,recordCanvas:c,preserveWhiteSpace:x,onSerialize:f,onIframeLoad:m,iframeLoadTimeout:v,keepIframeSrcFn:T}),P]}function yue(t,e,r){return(t==="video"||t==="audio")&&e==="autoplay"}var vt;(function(t){t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin"})(vt||(vt={}));var Sr;(function(t){t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration"})(Sr||(Sr={}));var Yv;(function(t){t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel"})(Yv||(Yv={}));var ac;(function(t){t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2"})(ac||(ac={}));var Ak;(function(t){t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange"})(Ak||(Ak={}));var Mk;(function(t){t.Start="start",t.Pause="pause",t.Resume="resume",t.Resize="resize",t.Finish="finish",t.FullsnapshotRebuilded="fullsnapshot-rebuilded",t.LoadStylesheetStart="load-stylesheet-start",t.LoadStylesheetEnd="load-stylesheet-end",t.SkipStart="skip-start",t.SkipEnd="skip-end",t.MouseInteraction="mouse-interaction",t.EventCast="event-cast",t.CustomEvent="custom-event",t.Flush="flush",t.StateChange="state-change",t.PlayBack="play-back"})(Mk||(Mk={}));function Rn(t,e,r=document){const n={capture:!0,passive:!0};return r.addEventListener(t,e,n),()=>r.removeEventListener(t,e,n)}function wue(){return{map:{},getId(t){return!t||!t.__sn?-1:t.__sn.id},getNode(t){return this.map[t]||null},removeNodeFromMap(t){const e=t.__sn&&t.__sn.id;delete this.map[e],t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))},has(t){return this.map.hasOwnProperty(t)},reset(){this.map={}}}}const vl=`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 kk={map:{},getId(){return console.error(vl),-1},getNode(){return console.error(vl),null},removeNodeFromMap(){console.error(vl)},has(){return console.error(vl),!1},reset(){console.error(vl)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(kk=new Proxy(kk,{get(t,e,r){return e==="map"&&console.error(vl),Reflect.get(t,e,r)}}));function Uf(t,e,r={}){let n=null,i=0;return function(a){let s=Date.now();!i&&r.leading===!1&&(i=s);let o=e-(s-i),u=this,l=arguments;o<=0||o>e?(n&&(clearTimeout(n),n=null),i=s,t.apply(u,l)):!n&&r.trailing!==!1&&(n=setTimeout(()=>{i=r.leading===!1?0:Date.now(),n=null,t.apply(u,l)},o))}}function T0(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)}}),()=>T0(t,e,a||{},!0)}function sc(t,e,r){try{if(!(e in t))return()=>{};const n=t[e],i=r(n);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),t[e]=i,()=>{t[e]=n}}catch{return()=>{}}}function Bj(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Fj(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Ur(t,e,r,n){if(!t)return!1;if(t.nodeType===t.ELEMENT_NODE){let i=!1;const a=n&&t.matches(n);return typeof e=="string"?t.closest!==void 0?i=!a&&t.closest("."+e)!==null:i=!a&&t.classList.contains(e):!a&&t.classList.forEach(s=>{e.test(s)&&(i=!0)}),!i&&r&&(i=t.matches(r)),!a&&i||Ur(t.parentNode,e,r,n)}return t.nodeType===t.TEXT_NODE,Ur(t.parentNode,e,r,n)}function my(t){return"__sn"in t?t.__sn.id===Vf:!1}function jj(t,e){if(ff(t))return!1;const r=e.getId(t);return e.has(r)?t.parentNode&&t.parentNode.nodeType===t.DOCUMENT_NODE?!1:t.parentNode?jj(t.parentNode,e):!0:!0}function zj(t){return!!t.changedTouches}function Oue(t=window){"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(r){if(!(0 in arguments))throw new TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}function Hj(t){return"__sn"in t?t.__sn.type===pr.Element&&t.__sn.tagName==="iframe":!1}function Vj(t){return!!(t!=null&&t.shadowRoot)}function Dk(t){return"__ln"in t}class Sue{constructor(){this.length=0,this.head=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let r=this.head;for(let n=0;n<e;n++)r=(r==null?void 0:r.next)||null;return r}addNode(e){const r={value:e,previous:null,next:null};if(e.__ln=r,e.previousSibling&&Dk(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&&Dk(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;r.previous=n,r.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=r,n&&(n.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;this.length++}removeNode(e){const r=e.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next&&(r.next.previous=r.previous)):(this.head=r.next,this.head&&(this.head.previous=null)),e.__ln&&delete e.__ln,this.length--)}}const Rk=(t,e)=>`${t}@${e}`;function Ik(t){return"__sn"in t}class xue{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 Sue,n=o=>{let u=o,l=Vf;for(;l===Vf;)u=u&&u.nextSibling,l=u&&this.mirror.getId(u);return l},i=o=>{var u,l,c,d,h;const p=o.getRootNode?(u=o.getRootNode())===null||u===void 0?void 0:u.host:null;let g=p;for(;!((c=(l=g==null?void 0:g.getRootNode)===null||l===void 0?void 0:l.call(g))===null||c===void 0)&&c.host;)g=((h=(d=g==null?void 0:g.getRootNode)===null||d===void 0?void 0:d.call(g))===null||h===void 0?void 0:h.host)||null;const _=!this.doc.contains(o)&&(!g||!this.doc.contains(g));if(!o.parentNode||_)return;const O=ff(o.parentNode)?this.mirror.getId(p):this.mirror.getId(o.parentNode),S=n(o);if(O===-1||S===-1)return r.addNode(o);let E=hf(o,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:x=>{Hj(x)&&this.iframeManager.addIframe(x),Vj(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,document)},onIframeLoad:(x,f)=>{this.iframeManager.attachIframe(x,f),this.shadowDomManager.observeAttachShadow(x)}});E&&e.push({parentId:O,nextId:S,node:E})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const o of this.movedSet)z1(this.removes,o,this.mirror)&&!this.movedSet.has(o.parentNode)||i(o);for(const o of this.addedSet)!H1(this.droppedSet,o)&&!z1(this.removes,o,this.mirror)||H1(this.movedSet,o)?i(o):this.droppedSet.add(o);let a=null;for(;r.length;){let o=null;if(a){const u=this.mirror.getId(a.value.parentNode),l=n(a.value);u!==-1&&l!==-1&&(o=a)}if(!o)for(let u=r.length-1;u>=0;u--){const l=r.get(u);if(l){const c=this.mirror.getId(l.value.parentNode),d=n(l.value);if(c!==-1&&d!==-1){o=l;break}}}if(!o){for(;r.head;)r.removeNode(r.head.value);break}a=o.previous,r.removeNode(o.value),i(o.value)}const s={texts:this.texts.map(o=>({id:this.mirror.getId(o.node),value:o.value})).filter(o=>this.mirror.has(o.id)),attributes:this.attributes.map(o=>({id:this.mirror.getId(o.node),attributes:o.attributes})).filter(o=>this.mirror.has(o.id)),removes:this.removes,adds:e};!s.texts.length&&!s.attributes.length&&!s.removes.length&&!s.adds.length||(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=e=>{if(!my(e.target))switch(e.type){case"characterData":{const r=e.target.textContent;!Ur(e.target,this.blockClass,this.blockSelector,this.unblockSelector)&&r!==e.oldValue&&this.texts.push({value:Wv(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&r?this.maskTextFn?this.maskTextFn(r):r.replace(/[\S]/g,"*"):r,node:e.target});break}case"attributes":{const r=e.target;let n=e.target.getAttribute(e.attributeName);if(e.attributeName==="value"&&(n=Ex({input:r,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:e.target.tagName,type:e.target.getAttribute("type"),value:n,maskInputFn:this.maskInputFn})),Ur(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||n===e.oldValue)return;let i=this.attributes.find(a=>a.node===e.target);if(i||(i={node:e.target,attributes:{}},this.attributes.push(i)),e.attributeName==="style"){const a=this.doc.createElement("span");e.oldValue&&a.setAttribute("style",e.oldValue),(i.attributes.style===void 0||i.attributes.style===null)&&(i.attributes.style={});try{const s=i.attributes.style;for(const o of Array.from(r.style)){const u=r.style.getPropertyValue(o),l=r.style.getPropertyPriority(o);(u!==a.style.getPropertyValue(o)||l!==a.style.getPropertyPriority(o))&&(l===""?s[o]=u:s[o]=[u,l])}for(const o of Array.from(a.style))r.style.getPropertyValue(o)===""&&(s[o]=!1)}catch(s){console.warn("[rrweb] Error when parsing update to style attribute:",s)}}else i.attributes[e.attributeName]=Nj(this.doc,e.target.tagName,e.attributeName,n,this.maskAllText,this.maskTextFn);break}case"childList":{e.addedNodes.forEach(r=>this.genAdds(r,e.target)),e.removedNodes.forEach(r=>{const n=this.mirror.getId(r),i=ff(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Ur(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||my(r)||(this.addedSet.has(r)?(j1(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(e.target)&&n===-1||jj(e.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[Rk(n,i)]?j1(this.movedSet,r):this.removes.push({parentId:i,id:n,isShadow:ff(e.target)?!0:void 0})),this.mapRemoves.push(r))});break}}},this.genAdds=(e,r)=>{if(!(r&&Ur(r,this.blockClass,this.blockSelector,this.unblockSelector))){if(Ik(e)){if(my(e))return;this.movedSet.add(e);let n=null;r&&Ik(r)&&(n=r.__sn.id),n&&(this.movedMap[Rk(e.__sn.id,n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Ur(e,this.blockClass,this.blockSelector,this.unblockSelector)||e.childNodes.forEach(n=>this.genAdds(n))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach(r=>{this[r]=e[r]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function j1(t,e){t.delete(e),e.childNodes.forEach(r=>j1(t,r))}function z1(t,e,r){const{parentNode:n}=e;if(!n)return!1;const i=r.getId(n);return t.some(a=>a.id===i)?!0:z1(t,n,r)}function H1(t,e){const{parentNode:r}=e;return r?t.has(r)?!0:H1(t,r):!1}const Ke=t=>(...r)=>{try{return t(...r)}catch(n){try{n.__rrweb__=!0}catch{}throw n}},Do=[];function vh(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 Uj(t,e){var r,n;const i=new xue;Do.push(i),i.init(t);let a=window.MutationObserver||window.__rrMutationObserver;const s=(n=(r=window==null?void 0:window.Zone)===null||r===void 0?void 0:r.__symbol__)===null||n===void 0?void 0:n.call(r,"MutationObserver");s&&window[s]&&(a=window[s]);const o=new a(Ke(i.processMutations.bind(i)));return o.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function Tue({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=Uf(d=>{const h=Date.now()-o;Ke(t)(s.map(p=>(p.timeOffset-=h,p)),d),s=[],o=null},a),l=Uf(d=>{const h=vh(d),{clientX:p,clientY:g}=zj(d)?d.changedTouches[0]:d;o||(o=Date.now()),s.push({x:p,y:g,id:n.getId(h),timeOffset:Date.now()-o}),u(typeof DragEvent<"u"&&d instanceof DragEvent?Sr.Drag:d instanceof MouseEvent?Sr.MouseMove:Sr.TouchMove)},i,{trailing:!1}),c=[Rn("mousemove",Ke(l),r),Rn("touchmove",Ke(l),r),Rn("drag",Ke(l),r)];return Ke(()=>{c.forEach(d=>d())})}function Eue({mouseInteractionCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const o=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,u=[],l=c=>d=>{const h=vh(d);if(Ur(h,n,i,a))return;const p=zj(d)?d.changedTouches[0]:d;if(!p)return;const g=r.getId(h),{clientX:_,clientY:O}=p;Ke(t)({type:Yv[c],id:g,x:_,y:O})};return Object.keys(Yv).filter(c=>Number.isNaN(Number(c))&&!c.endsWith("_Departed")&&o[c]!==!1).forEach(c=>{const d=c.toLowerCase(),h=Ke(l(c));u.push(Rn(d,h,e))}),Ke(()=>{u.forEach(c=>c())})}function Gj({scrollCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:s}){const o=Uf(u=>{const l=vh(u);if(!l||Ur(l,n,i,a))return;const c=r.getId(l);if(l===e){const d=e.scrollingElement||e.documentElement;Ke(t)({id:c,x:d.scrollLeft,y:d.scrollTop})}else Ke(t)({id:c,x:l.scrollLeft,y:l.scrollTop})},s.scroll||100);return Rn("scroll",Ke(o),e)}function Pue({viewportResizeCb:t}){let e=-1,r=-1;const n=Uf(()=>{const i=Bj(),a=Fj();(e!==i||r!==a)&&(Ke(t)({width:Number(a),height:Number(i)}),e=i,r=a)},200);return Rn("resize",Ke(n),window)}function Lk(t,e){const r=Object.assign({},t);return e||delete r.userTriggered,r}const Cue=["INPUT","TEXTAREA","SELECT"],Nk=new WeakMap;function $ue({inputCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,ignoreClass:s,ignoreSelector:o,maskInputSelector:u,unmaskInputSelector:l,maskInputOptions:c,maskInputFn:d,sampling:h,userTriggeredOnInput:p}){function g(f){let m=vh(f);const v=f.isTrusted;if(m&&m.tagName==="OPTION"&&(m=m.parentElement),!m||!m.tagName||Cue.indexOf(m.tagName)<0||Ur(m,n,i,a))return;const T=m.type;if(m.classList.contains(s)||o&&m.matches(o))return;let P=m.value,k=!1;T==="radio"||T==="checkbox"?k=m.checked:Joe({maskInputOptions:c,maskInputSelector:u,tagName:m.tagName,type:T})&&(P=Ex({input:m,maskInputOptions:c,maskInputSelector:u,unmaskInputSelector:l,tagName:m.tagName,type:T,value:P,maskInputFn:d})),_(m,Ke(Lk)({text:P,isChecked:k,userTriggered:v},p));const y=m.name;T==="radio"&&y&&k&&e.querySelectorAll(`input[type="radio"][name="${y}"]`).forEach(M=>{M!==m&&_(M,Ke(Lk)({text:M.value,isChecked:!k,userTriggered:!1},p))})}function _(f,m){const v=Nk.get(f);if(!v||v.text!==m.text||v.isChecked!==m.isChecked){Nk.set(f,m);const T=r.getId(f);t(Object.assign(Object.assign({},m),{id:T}))}}const S=(h.input==="last"?["change"]:["input","change"]).map(f=>Rn(f,Ke(g),e)),E=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),x=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return E&&E.set&&S.push(...x.map(f=>T0(f[0],f[1],{set(){Ke(g)({target:this})}}))),Ke(()=>{S.forEach(f=>f())})}function Kv(t){const e=[];function r(n,i){if($p("CSSGroupingRule")&&n.parentRule instanceof CSSGroupingRule||$p("CSSMediaRule")&&n.parentRule instanceof CSSMediaRule||$p("CSSSupportsRule")&&n.parentRule instanceof CSSSupportsRule||$p("CSSConditionRule")&&n.parentRule instanceof CSSConditionRule){const s=Array.from(n.parentRule.cssRules).indexOf(n);i.unshift(s)}else{const s=Array.from(n.parentStyleSheet.cssRules).indexOf(n);i.unshift(s)}return i}return r(t,e)}function Aue({styleSheetRuleCb:t,mirror:e},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const n=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(n,{apply:Ke((o,u,l)=>{const[c,d]=l,h=e.getId(u.ownerNode);return h!==-1&&t({id:h,adds:[{rule:c,index:d}]}),o.apply(u,l)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Ke((o,u,l)=>{const[c]=l,d=e.getId(u.ownerNode);return d!==-1&&t({id:d,removes:[{index:c}]}),o.apply(u,l)})});const a={};Ap("CSSGroupingRule")?a.CSSGroupingRule=r.CSSGroupingRule:(Ap("CSSMediaRule")&&(a.CSSMediaRule=r.CSSMediaRule),Ap("CSSConditionRule")&&(a.CSSConditionRule=r.CSSConditionRule),Ap("CSSSupportsRule")&&(a.CSSSupportsRule=r.CSSSupportsRule));const s={};return Object.entries(a).forEach(([o,u])=>{s[o]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(s[o].insertRule,{apply:Ke((l,c,d)=>{const[h,p]=d,g=e.getId(c.parentStyleSheet.ownerNode);return g!==-1&&t({id:g,adds:[{rule:h,index:[...Kv(c),p||0]}]}),l.apply(c,d)})}),u.prototype.deleteRule=new Proxy(s[o].deleteRule,{apply:Ke((l,c,d)=>{const[h]=d,p=e.getId(c.parentStyleSheet.ownerNode);return p!==-1&&t({id:p,removes:[{index:[...Kv(c),h]}]}),l.apply(c,d)})})}),Ke(()=>{r.CSSStyleSheet.prototype.insertRule=n,r.CSSStyleSheet.prototype.deleteRule=i,Object.entries(a).forEach(([o,u])=>{u.prototype.insertRule=s[o].insertRule,u.prototype.deleteRule=s[o].deleteRule})})}function Mue({styleDeclarationCb:t,mirror:e},{win:r}){const n=r.CSSStyleDeclaration.prototype.setProperty;r.CSSStyleDeclaration.prototype.setProperty=new Proxy(n,{apply:Ke((a,s,o)=>{var u,l;const[c,d,h]=o,p=e.getId((l=(u=s.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||l===void 0?void 0:l.ownerNode);return p!==-1&&t({id:p,set:{property:c,value:d,priority:h},index:Kv(s.parentRule)}),a.apply(s,o)})});const i=r.CSSStyleDeclaration.prototype.removeProperty;return r.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:Ke((a,s,o)=>{var u,l;const[c]=o,d=e.getId((l=(u=s.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||l===void 0?void 0:l.ownerNode);return d!==-1&&t({id:d,remove:{property:c},index:Kv(s.parentRule)}),a.apply(s,o)})}),Ke(()=>{r.CSSStyleDeclaration.prototype.setProperty=n,r.CSSStyleDeclaration.prototype.removeProperty=i})}function kue({mediaInteractionCb:t,blockClass:e,blockSelector:r,unblockSelector:n,mirror:i,sampling:a}){const s=u=>Uf(Ke(l=>{const c=vh(l);if(!c||Ur(c,e,r,n))return;const{currentTime:d,volume:h,muted:p}=c;t({type:u,id:i.getId(c),currentTime:d,volume:h,muted:p})}),a.media||500),o=[Rn("play",s(0)),Rn("pause",s(1)),Rn("seeked",s(2)),Rn("volumechange",s(3))];return Ke(()=>{o.forEach(u=>u())})}function Due({fontCb:t,doc:e}){const r=e.defaultView;if(!r)return()=>{};const n=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(u,l,c){const d=new a(u,l,c);return i.set(d,{family:u,buffer:typeof l!="string",descriptors:c,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),d};const s=sc(e.fonts,"add",function(o){return function(u){return setTimeout(()=>{const l=i.get(u);l&&(t(l),i.delete(u))},0),o.apply(this,[u])}});return n.push(()=>{r.FontFace=a}),n.push(s),Ke(()=>{n.forEach(o=>o())})}function Rue(t,e){const{mutationCb:r,mousemoveCb:n,mouseInteractionCb:i,scrollCb:a,viewportResizeCb:s,inputCb:o,mediaInteractionCb:u,styleSheetRuleCb:l,styleDeclarationCb:c,canvasMutationCb:d,fontCb:h}=t;t.mutationCb=(...p)=>{e.mutation&&e.mutation(...p),r(...p)},t.mousemoveCb=(...p)=>{e.mousemove&&e.mousemove(...p),n(...p)},t.mouseInteractionCb=(...p)=>{e.mouseInteraction&&e.mouseInteraction(...p),i(...p)},t.scrollCb=(...p)=>{e.scroll&&e.scroll(...p),a(...p)},t.viewportResizeCb=(...p)=>{e.viewportResize&&e.viewportResize(...p),s(...p)},t.inputCb=(...p)=>{e.input&&e.input(...p),o(...p)},t.mediaInteractionCb=(...p)=>{e.mediaInteaction&&e.mediaInteaction(...p),u(...p)},t.styleSheetRuleCb=(...p)=>{e.styleSheetRule&&e.styleSheetRule(...p),l(...p)},t.styleDeclarationCb=(...p)=>{e.styleDeclaration&&e.styleDeclaration(...p),c(...p)},t.canvasMutationCb=(...p)=>{e.canvasMutation&&e.canvasMutation(...p),d(...p)},t.fontCb=(...p)=>{e.font&&e.font(...p),h(...p)}}function Iue(t,e={}){const r=t.doc.defaultView;if(!r)return()=>{};Rue(t,e);const n=Uj(t,t.doc),i=Tue(t),a=Eue(t),s=Gj(t),o=Pue(t),u=$ue(t),l=kue(t),c=Aue(t,{win:r}),d=Mue(t,{win:r}),h=t.collectFonts?Due(t):()=>{},p=[];for(const g of t.plugins)p.push(g.observer(g.callback,r,g.options));return Ke(()=>{Do.forEach(g=>g.reset()),n.disconnect(),i(),a(),s(),o(),u(),l();try{c(),d()}catch{}h(),p.forEach(g=>g())})}function $p(t){return typeof window[t]<"u"}function Ap(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}class Lue{constructor(e){this.iframes=new WeakMap,this.mutationCb=e.mutationCb}addIframe(e){this.iframes.set(e,!0)}addLoadListener(e){this.loadListener=e}attachIframe(e,r){var n;this.mutationCb({adds:[{parentId:e.__sn.id,nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),(n=this.loadListener)===null||n===void 0||n.call(this,e)}}class Nue{constructor(e){this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;const r=this;this.restorePatches.push(sc(HTMLElement.prototype,"attachShadow",function(n){return function(){const i=n.apply(this,arguments);return this.shadowRoot&&r.addShadowRoot(this.shadowRoot,this.ownerDocument),i}}))}addShadowRoot(e,r){Uj(Object.assign(Object.assign({},this.bypassOptions),{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),Gj(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))}observeAttachShadow(e){if(e.contentWindow){const r=this;this.restorePatches.push(sc(e.contentWindow.HTMLElement.prototype,"attachShadow",function(n){return function(){const i=n.apply(this,arguments);return this.shadowRoot&&r.addShadowRoot(this.shadowRoot,e.contentDocument),i}}))}}reset(){this.restorePatches.forEach(e=>e())}}function Bue(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 Fue(t,e,r,n,i,a){const s=[],o=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype);for(const u of o)try{if(typeof e.CanvasRenderingContext2D.prototype[u]!="function")continue;const l=sc(e.CanvasRenderingContext2D.prototype,u,function(c){return function(...d){return Ur(this.canvas,r,i,n)||setTimeout(()=>{const h=[...d];if(u==="drawImage"&&h[0]&&h[0]instanceof HTMLCanvasElement){const p=h[0],g=p.getContext("2d");let _=g==null?void 0:g.getImageData(0,0,p.width,p.height),O=_==null?void 0:_.data;h[0]=JSON.stringify(O)}t(this.canvas,{type:ac["2D"],property:u,args:h})},0),c.apply(this,d)}});s.push(l)}catch{const c=T0(e.CanvasRenderingContext2D.prototype,u,{set(d){t(this.canvas,{type:ac["2D"],property:u,args:[d],setter:!0})}});s.push(c)}return()=>{s.forEach(u=>u())}}function jue(t,e,r,n){const i=[];try{const a=sc(t.HTMLCanvasElement.prototype,"getContext",function(s){return function(o,...u){return Ur(this,e,r,n)||"__context"in this||(this.__context=o),s.apply(this,[o,...u])}});i.push(a)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(a=>a())}}var Cl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zue=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Mp=0;Mp<Cl.length;Mp++)zue[Cl.charCodeAt(Mp)]=Mp;var Hue=function(t){var e=new Uint8Array(t),r,n=e.length,i="";for(r=0;r<n;r+=3)i+=Cl[e[r]>>2],i+=Cl[(e[r]&3)<<4|e[r+1]>>4],i+=Cl[(e[r+1]&15)<<2|e[r+2]>>6],i+=Cl[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 Bk=new Map;function Vue(t,e){let r=Bk.get(t);return r||(r=new Map,Bk.set(t,r)),r.has(e)||r.set(e,[]),r.get(e)}const Wj=(t,e,r)=>{if(!t||!(Yj(t,e)||typeof t=="object"))return;const n=t.constructor.name,i=Vue(r,n);let a=i.indexOf(t);return a===-1&&(a=i.length,i.push(t)),a};function Im(t,e,r){if(t instanceof Array)return t.map(n=>Im(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=Hue(t);return{rr_type:n,base64:i}}else{if(t instanceof DataView)return{rr_type:t.constructor.name,args:[Im(t.buffer,e,r),t.byteOffset,t.byteLength]};if(t instanceof HTMLImageElement){const n=t.constructor.name,{src:i}=t;return{rr_type:n,src:i}}else{if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[Im(t.data,e,r),t.width,t.height]};if(Yj(t,e)||typeof t=="object"){const n=t.constructor.name,i=Wj(t,e,r);return{rr_type:n,index:i}}}}return t}const Uue=(t,e,r)=>[...t].map(n=>Im(n,e,r)),Yj=(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 Fk(t,e,r,n,i,a,s,o){const u=[],l=Object.getOwnPropertyNames(t);for(const c of l)try{if(typeof t[c]!="function")continue;const d=sc(t,c,function(h){return function(...p){const g=h.apply(this,p);if(Wj(g,o,t),!Ur(this.canvas,n,a,i)){const _=s.getId(this.canvas),O=Uue([...p],o,t),S={type:e,property:c,args:O};r(this.canvas,S)}return g}});u.push(d)}catch{const h=T0(t,c,{set(p){r(this.canvas,{type:e,property:c,args:[p],setter:!0})}});u.push(h)}return u}function Gue(t,e,r,n,i,a){const s=[];return s.push(...Fk(e.WebGLRenderingContext.prototype,ac.WebGL,t,r,n,i,a,e)),typeof e.WebGL2RenderingContext<"u"&&s.push(...Fk(e.WebGL2RenderingContext.prototype,ac.WebGL2,t,r,n,i,a,e)),()=>{s.forEach(o=>o())}}class Wue{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(r,n){(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(r)||this.pendingCanvasMutations.set(r,[]),this.pendingCanvasMutations.get(r).push(n)},this.mutationCb=e.mutationCb,this.mirror=e.mirror,e.recordCanvas===!0&&this.initCanvasMutationObserver(e.win,e.blockClass,e.blockSelector,e.unblockSelector)}initCanvasMutationObserver(e,r,n,i){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=jue(e,r,i,n),s=Fue(this.processMutation.bind(this),e,r,i,n,this.mirror),o=Gue(this.processMutation.bind(this),e,r,i,n,this.mirror);this.resetObservers=()=>{a(),s(),o()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const e=r=>{this.rafStamps.latestId=r,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,r)=>{const n=this.mirror.getId(r);this.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,r){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||r===-1)return;const i=n.map(s=>Bue(s,["type"])),{type:a}=n[0];this.mutationCb({id:r,type:a,commands:i}),this.pendingCanvasMutations.delete(e)}}function Or(t){return Object.assign(Object.assign({},t),{timestamp:Date.now()})}let ir,pf;const Kd=wue();function qs(t={}){const{emit:e,checkoutEveryNms:r,checkoutEveryNth:n,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:o="rr-ignore",ignoreSelector:u=null,maskTextClass:l="rr-mask",maskTextSelector:c=null,maskInputSelector:d=null,unmaskTextSelector:h=null,unmaskInputSelector:p=null,inlineStylesheet:g=!0,maskAllText:_=!1,maskAllInputs:O,maskInputOptions:S,slimDOMOptions:E,maskInputFn:x,maskTextFn:f,hooks:m,packFn:v,sampling:T={},mousemoveWait:P,recordCanvas:k=!1,userTriggeredOnInput:y=!1,collectFonts:M=!1,inlineImages:C=!1,plugins:w,keepIframeSrcFn:$=()=>!1}=t;if(!e)throw new Error("emit function is required");P!==void 0&&T.mousemove===void 0&&(T.mousemove=P);const D=O===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:S!==void 0?S:{password:!0},A=E===!0||E==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:E==="all",headMetaDescKeywords:E==="all"}:E||{};Oue();let L,F=0;const j=U=>{for(const K of w||[])K.eventProcessor&&(U=K.eventProcessor(U));return v&&(U=v(U)),U};ir=(U,K)=>{var ae;if(!((ae=Do[0])===null||ae===void 0)&&ae.isFrozen()&&U.type!==vt.FullSnapshot&&!(U.type===vt.IncrementalSnapshot&&U.data.source===Sr.Mutation)&&Do.forEach(be=>be.unfreeze()),e(j(U),K),U.type===vt.FullSnapshot)L=U,F=0;else if(U.type===vt.IncrementalSnapshot){if(U.data.source===Sr.Mutation&&U.data.isAttachIframe)return;F++;const be=n&&F>=n,$e=r&&U.timestamp-L.timestamp>r;(be||$e)&&pf(!0)}};const H=U=>{ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.Mutation},U)}))},G=U=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.Scroll},U)})),Z=U=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.CanvasMutation},U)})),te=new Lue({mutationCb:H}),Y=new Wue({recordCanvas:k,mutationCb:Z,win:window,blockClass:i,blockSelector:a,unblockSelector:s,mirror:Kd}),W=new Nue({mutationCb:H,scrollCb:G,bypassOptions:{blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,inlineStylesheet:g,maskAllText:_,maskInputOptions:D,maskTextFn:f,maskInputFn:x,recordCanvas:k,inlineImages:C,sampling:T,slimDOMOptions:A,iframeManager:te,canvasManager:Y},mirror:Kd});pf=(U=!1)=>{var K,ae,be,$e;ir(Or({type:vt.Meta,data:{href:window.location.href,width:Fj(),height:Bj()}}),U),Do.forEach(Vt=>Vt.lock());const[Se,wt]=_ue(document,{blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,inlineStylesheet:g,maskAllText:_,maskAllInputs:D,maskTextFn:f,slimDOM:A,recordCanvas:k,inlineImages:C,onSerialize:Vt=>{Hj(Vt)&&te.addIframe(Vt),Vj(Vt)&&W.addShadowRoot(Vt.shadowRoot,document)},onIframeLoad:(Vt,Qa)=>{te.attachIframe(Vt,Qa),W.observeAttachShadow(Vt)},keepIframeSrcFn:$});if(!Se)return console.warn("Failed to snapshot the document");Kd.map=wt,ir(Or({type:vt.FullSnapshot,data:{node:Se,initialOffset:{left:window.pageXOffset!==void 0?window.pageXOffset:(document==null?void 0:document.documentElement.scrollLeft)||((ae=(K=document==null?void 0:document.body)===null||K===void 0?void 0:K.parentElement)===null||ae===void 0?void 0:ae.scrollLeft)||(document==null?void 0:document.body.scrollLeft)||0,top:window.pageYOffset!==void 0?window.pageYOffset:(document==null?void 0:document.documentElement.scrollTop)||(($e=(be=document==null?void 0:document.body)===null||be===void 0?void 0:be.parentElement)===null||$e===void 0?void 0:$e.scrollTop)||(document==null?void 0:document.body.scrollTop)||0}}})),Do.forEach(Vt=>Vt.unlock())};try{const U=[];U.push(Rn("DOMContentLoaded",()=>{ir(Or({type:vt.DomContentLoaded,data:{}}))}));const K=be=>{var $e;return Ke(Iue)({mutationCb:H,mousemoveCb:(Se,wt)=>ir(Or({type:vt.IncrementalSnapshot,data:{source:wt,positions:Se}})),mouseInteractionCb:Se=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.MouseInteraction},Se)})),scrollCb:G,viewportResizeCb:Se=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.ViewportResize},Se)})),inputCb:Se=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.Input},Se)})),mediaInteractionCb:Se=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.MediaInteraction},Se)})),styleSheetRuleCb:Se=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.StyleSheetRule},Se)})),styleDeclarationCb:Se=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.StyleDeclaration},Se)})),canvasMutationCb:Z,fontCb:Se=>ir(Or({type:vt.IncrementalSnapshot,data:Object.assign({source:Sr.Font},Se)})),blockClass:i,ignoreClass:o,ignoreSelector:u,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:D,inlineStylesheet:g,sampling:T,recordCanvas:k,inlineImages:C,userTriggeredOnInput:y,collectFonts:M,doc:be,maskAllText:_,maskInputFn:x,maskTextFn:f,blockSelector:a,unblockSelector:s,slimDOMOptions:A,mirror:Kd,iframeManager:te,shadowDomManager:W,canvasManager:Y,plugins:(($e=w==null?void 0:w.filter(Se=>Se.observer))===null||$e===void 0?void 0:$e.map(Se=>({observer:Se.observer,options:Se.options,callback:wt=>ir(Or({type:vt.Plugin,data:{plugin:Se.name,payload:wt}}))})))||[]},m)};te.addLoadListener(be=>{try{U.push(K(be.contentDocument))}catch($e){console.warn($e)}});const ae=()=>{pf(),U.push(K(document))};return document.readyState==="interactive"||document.readyState==="complete"?ae():U.push(Rn("load",()=>{ir(Or({type:vt.Load,data:{}})),ae()},window)),()=>{U.forEach(be=>be())}}catch(U){console.warn(U)}}qs.addCustomEvent=(t,e)=>{if(!ir)throw new Error("please add custom event after start recording");ir(Or({type:vt.Custom,data:{tag:t,payload:e}}))};qs.freezePage=()=>{Do.forEach(t=>t.freeze())};qs.takeFullSnapshot=t=>{if(!pf)throw new Error("please take full snapshot after start recording");pf(t)};qs.mirror=Kd;const Yue=["name","type","startTime","transferSize","duration"];function jk(t){return function(e){return Yue.every(r=>t[r]===e[r])}}function Kue(t,e){const[r,n,i]=t.reduce((u,l)=>(l.entryType==="navigation"?u[0].push(l):l.entryType==="largest-contentful-paint"?u[1].push(l):u[2].push(l),u),[[],[],[]]),a=[],s=[];let o=n.length?n[n.length-1]:void 0;return e.forEach(u=>{if(u.entryType==="largest-contentful-paint"){(!o||o.startTime<u.startTime)&&(o=u);return}if(u.entryType==="navigation"){const l=u;u.duration>0&&!r.find(jk(l))&&!s.find(jk(l))&&s.push(l);return}a.push(u)}),[...o?[o]:[],...r,...i,...a,...s].sort((u,l)=>u.startTime-l.startTime)}function que(t){const e=n=>{const i=Kue(t.performanceEvents,n.getEntries());t.performanceEvents=i},r=new PerformanceObserver(e);return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach(n=>{try{r.observe({type:n,buffered:!0})}catch{}}),r}const Xue=`/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
function t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;function Zue(){const t=new Blob([Xue]);return URL.createObjectURL(t)}class Kj{constructor(){this.events=[]}get hasEvents(){return this.events.length>0}destroy(){this.events=[]}async addEvent(e,r){if(r){this.events=[e];return}this.events.push(e)}finish(){return new Promise(e=>{const r=this.events;this.events=[],e(JSON.stringify(r))})}}class Jue{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((e,r)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():r()},{once:!0}),this._worker.addEventListener("error",n=>{r(n)},{once:!0})}),this._ensureReadyPromise)}destroy(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,r){const n=this._getAndIncrementId();return new Promise((i,a)=>{const s=({data:o})=>{const u=o;if(u.method===e&&u.id===n){if(this._worker.removeEventListener("message",s),!u.success){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.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 Que{constructor(e){this._worker=new Jue(e),this.hasEvents=!1}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}async addEvent(e,r){return this.hasEvents=!0,r&&await this._clear(),this._sendEventToWorker(e)}finish(){return this._finishRequest()}_sendEventToWorker(e){return this._worker.postMessage("addEvent",JSON.stringify(e))}async _finishRequest(){const e=await this._worker.postMessage("finish");return this.hasEvents=!1,e}_clear(){return this._worker.postMessage("clear")}}class ele{constructor(e){this._fallback=new Kj,this._compression=new Que(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}addEvent(e,r){return this._used.addEvent(e,r)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e}=this._fallback,r=[];for(const n of e)r.push(this._compression.addEvent(n));this._used=this._compression;try{await Promise.all(r)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn("[Replay] Failed to add events when switching buffers.",n)}}}function tle({useCompression:t}){if(t&&window.Worker)try{const e=Zue();(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Using compression worker");const r=new Worker(e);return new ele(r)}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Failed to create compression worker")}return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Using simple buffer"),new Kj}function V1(t,e,r=+new Date){return t===null||e===void 0||e<0?!0:e===0?!1:t+e<=r}function qj(t,e,r=+new Date){return V1(t.started,Rj,r)||V1(t.lastActivity,e,r)}function Xj(t){if("sessionStorage"in rr)try{rr.sessionStorage.setItem(kj,JSON.stringify(t))}catch{}}function zk(t){return t===void 0?!1:Math.random()<t}function Px(t){const e=new Date().getTime(),r=t.id||Vo(),n=t.started||e,i=t.lastActivity||e,a=t.segmentId||0,s=t.sampled;return{id:r,started:n,lastActivity:i,segmentId:a,sampled:s}}function rle(t,e){return zk(t)?"session":zk(e)?"error":!1}function nle({sessionSampleRate:t,errorSampleRate:e,stickySession:r=!1}){const n=rle(t,e),i=Px({sampled:n});return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log(`[Replay] Creating new session: ${i.id}`),r&&Xj(i),i}function ile(){if(!("sessionStorage"in rr))return null;try{const e=rr.sessionStorage.getItem(kj);if(!e)return null;const r=JSON.parse(e);return Px(r)}catch{return null}}function ale({expiry:t,currentSession:e,stickySession:r,sessionSampleRate:n,errorSampleRate:i}){const a=e||r&&ile();if(a)if(qj(a,t)){if(a.sampled==="error")return{type:"new",session:Px({sampled:!1})};(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Session has expired")}else return{type:"saved",session:a};return{type:"new",session:nle({stickySession:r,sessionSampleRate:n,errorSampleRate:i})}}async function qv(t,e,r){if(!t.eventBuffer||t.isPaused())return null;const i=e.timestamp>9999999999?e.timestamp:e.timestamp*1e3;if(i+Tx<new Date().getTime())return null;const a=t.getContext().earliestEvent;t.session&&t.session.segmentId===0&&(!a||i<a)&&(t.getContext().earliestEvent=i);try{return await t.eventBuffer.addEvent(e,r)}catch(s){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error(s),t.stop("addEvent");const o=Ze().getClient();o&&o.recordDroppedEvent("internal_sdk_error","replay")}}function Xv(t){return{timestamp:new Date().getTime()/1e3,type:"default",...t}}function Zj(t,e){e.category!=="sentry.transaction"&&(e.category==="ui.click"?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate(()=>(qv(t,{type:vt.Custom,timestamp:(e.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:e}}),e.category==="console")))}const sle=t=>e=>{if(!t.isEnabled())return;const r=ole(e);r&&Zj(t,r)};function ole(t){let e,r;try{r=ule(t),e=zv(r)}catch{e="<unknown>"}return e.length===0?null:Xv({category:`ui.${t.name}`,message:e,data:{...r?{nodeId:qs.mirror.getId(r)}:{}}})}function ule(t){return lle(t.event)?t.event.target:t.event}function lle(t){return!!t.target}function gh(t,e){return e.map(({type:r,start:n,end:i,name:a,data:s})=>qv(t,{type:vt.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:r,description:a,startTimestamp:n,endTimestamp:i,data:s}}}))}function Jj(t,e){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&t.getOptions()._experiments.traceInternals?!1:cle(e)}function cle(t){const e=Ze().getClient(),r=e&&e.getDsn();return r?t.includes(r.host):!1}function dle(t){if(!t.endTimestamp)return null;const{startTimestamp:e,endTimestamp:r,fetchData:n,response:i}=t;return{type:"resource.fetch",start:e/1e3,end:r/1e3,name:n.url,data:{method:n.method,statusCode:i.status}}}function fle(t){return e=>{if(!t.isEnabled())return;const r=dle(e);r!==null&&(Jj(t,r.name)||t.addUpdate(()=>(gh(t,[r]),!0)))}}function hle(t,e){return t.type||!t.exception||!t.exception.values||!t.exception.values.length?!1:e.originalException&&e.originalException.__rrweb__?!0:t.exception.values.some(r=>!r.stacktrace||!r.stacktrace.frames||!r.stacktrace.frames.length?!1:r.stacktrace.frames.some(n=>n.filename&&n.filename.includes("/rrweb/src/")))}function ple(t){return(e,r)=>{if(e.type===Dj)return delete e.breadcrumbs,e;if(hle(e,r)&&!t.getOptions()._experiments.captureExceptions)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Ignoring error from rrweb internals",e),null;if((!e.type||t.recordingMode==="session")&&(e.tags={...e.tags,replayId:t.getSessionId()}),e.type==="transaction"&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id)return t.getContext().traceIds.add(e.contexts.trace.trace_id),e;if(e.type||t.getContext().errorIds.add(e.event_id),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&t.getOptions()._experiments.traceInternals){const n=vle(e);mle({message:`Tagging event (${e.event_id}) - ${e.message} - ${n.type}: ${n.value}`})}return t.recordingMode==="error"&&e.exception&&e.message!==xx&&setTimeout(async()=>{await t.flushImmediate(),t.stopRecording()&&(t.recordingMode="session",t.startRecording())}),e}}function mle(t){const{category:e,level:r,message:n,...i}=t;gse({category:e||"console",level:r||"debug",message:`[debug]: ${n}`,...i})}function vle(t){return{type:"Unknown",value:"n/a",...t.exception&&t.exception.values&&t.exception.values[0]}}function gle(t){const{from:e,to:r}=t,n=new Date().getTime()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:e}}}function ble(t){return e=>{if(!t.isEnabled())return;const r=gle(e);r!==null&&(t.getContext().urls.push(r.name),t.triggerUserActivity(),t.addUpdate(()=>(gh(t,[r]),!1)))}}let Hk=null;const _le=t=>e=>{if(!t.isEnabled())return;const r=yle(e);r&&Zj(t,r)};function yle(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();return Hk===e||!e||(Hk=e,e.category&&(["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")))?null:Xv(e)}function wle(t){if(t.xhr.__sentry_own_request__||(t.startTimestamp&&(t.xhr.__sentry_xhr__=t.xhr.__sentry_xhr__||{},t.xhr.__sentry_xhr__.startTimestamp=t.startTimestamp),!t.endTimestamp))return null;const{method:e,url:r,status_code:n}=t.xhr.__sentry_xhr__||{};if(r===void 0)return null;const i=t.xhr.__sentry_xhr__?t.xhr.__sentry_xhr__.startTimestamp||0:t.endTimestamp;return{type:"resource.xhr",name:r,start:i/1e3,end:t.endTimestamp/1e3,data:{method:e,statusCode:n}}}function Ole(t){return e=>{if(!t.isEnabled())return;const r=wle(e);r!==null&&(Jj(t,r.name)||t.addUpdate(()=>(gh(t,[r]),!0)))}}function Sle(t){const e=Ze().getScope();e&&e.addScopeListener(_le(t)),Jn("dom",sle(t)),Jn("fetch",fle(t)),Jn("xhr",Ole(t)),Jn("history",ble(t)),O0(ple(t))}async function xle(t){try{return Promise.all(gh(t,[Tle(rr.performance.memory)]))}catch{return[]}}function Tle(t){const{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}=t,i=new Date().getTime()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}}}}const Vk={resource:Ale,paint:Cle,navigation:$le,["largest-contentful-paint"]:Mle};function Ele(t){return t.map(Ple).filter(Boolean)}function Ple(t){return Vk[t.entryType]===void 0?null:Vk[t.entryType](t)}function oc(t){return((ese||rr.performance.timeOrigin)+t)/1e3}function Cle(t){const{duration:e,entryType:r,name:n,startTime:i}=t,a=oc(i);return{type:r,name:n,start:a,end:a+e}}function $le(t){const{entryType:e,name:r,duration:n,domComplete:i,startTime:a,transferSize:s,type:o}=t;return n===0?null:{type:`${e}.${o}`,start:oc(a),end:oc(i),name:r,data:{size:s,duration:n}}}function Ale(t){const{entryType:e,initiatorType:r,name:n,responseEnd:i,startTime:a,encodedBodySize:s,transferSize:o}=t;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${e}.${r}`,start:oc(a),end:oc(i),name:n,data:{size:o,encodedBodySize:s}}}function Mle(t){const{entryType:e,startTime:r,size:n}=t;let i=0;if(rr.performance){const o=rr.performance.getEntriesByType("navigation")[0];i=o&&o.activationStart||0}const a=Math.max(r-i,0),s=oc(i)+a/1e3;return{type:e,name:e,start:s,end:s,data:{value:a,size:n,nodeId:qs.mirror.getId(t.element)}}}function kle(t,e,r){let n,i,a;const s=r&&r.maxWait?Math.max(r.maxWait,e):0;function o(){return u(),n=t(),n}function u(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function l(){return i!==void 0||a!==void 0?o():n}function c(){return i&&clearTimeout(i),i=setTimeout(o,e),s&&a===void 0&&(a=setTimeout(o,s)),n}return c.cancel=u,c.flush=l,c}let U1;function Dle(t){const e=Ze().getClient();if(!e)return;const r=e.recordDroppedEvent.bind(e),n=(i,a,s)=>(s&&!s.type&&s.event_id&&t.delete(s.event_id),r(i,a,s));e.recordDroppedEvent=n,U1=r}function Rle(){const t=Ze().getClient();!t||!U1||(t.recordDroppedEvent=U1)}function Ile(t,e,r,n){return ph(hj(t,gx(t),n,r),[[{type:"replay_event"},t],[{type:"replay_recording",length:typeof e=="string"?new TextEncoder().encode(e).length:e.length},e]])}function Lle({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 Nle({client:t,scope:e,replayId:r,event:n}){const i=typeof t._integrations=="object"&&t._integrations!==null&&!Array.isArray(t._integrations)?Object.keys(t._integrations):void 0,a=await bj(t.getOptions(),n,{event_id:r,integrations:i},e);if(!a)return null;a.platform=a.platform||"javascript";const s=t.getSdkMetadata&&t.getSdkMetadata(),{name:o,version:u}=s&&s.sdk||{};return a.sdk={...a.sdk,name:o||"sentry.javascript.unknown",version:u||"0.0.0"},a}async function Ble({recordingData:t,replayId:e,segmentId:r,includeReplayStartTimestamp:n,eventContext:i,timestamp:a,session:s,options:o}){const u=Lle({recordingData:t,headers:{segment_id:r}}),{urls:l,errorIds:c,traceIds:d,initialTimestamp:h}=i,p=Ze(),g=p.getClient(),_=p.getScope(),O=g&&g.getTransport(),S=g&&g.getDsn();if(!g||!_||!O||!S||!s.sampled)return;const E={type:Dj,...n?{replay_start_timestamp:h/1e3}:{},timestamp:a/1e3,error_ids:c,trace_ids:d,urls:l,replay_id:e,segment_id:r,replay_type:s.sampled},x=await Nle({scope:_,client:g,replayId:e,event:E});if(!x){g.recordDroppedEvent("event_processor","replay",E),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("An event processor returned `null`, will not send event.");return}x.contexts={...x.contexts,replay:{...x.contexts&&x.contexts.replay,session_sample_rate:o.sessionSampleRate,error_sample_rate:o.errorSampleRate}};const f=Ile(x,u,S,g.getOptions().tunnel);let m;try{m=await O.send(f)}catch{throw new Error(xx)}if(!m)return m;if(typeof m.statusCode=="number"&&(m.statusCode<200||m.statusCode>=300))throw new Qj(m.statusCode);return m}class Qj extends Error{constructor(e){super(`Transport returned status code ${e}`)}}async function e4(t,e={count:0,interval:qoe}){const{recordingData:r,options:n}=t;if(r.length)try{return await Ble(t),!0}catch(i){if(i instanceof Qj)throw i;if(bse("Replays",{_retryCount:e.count}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n._experiments&&n._experiments.captureExceptions&&yx(i),e.count>=Xoe)throw new Error(`${xx} - max retries exceeded`);return e.interval*=++e.count,await new Promise((a,s)=>{setTimeout(async()=>{try{await e4(t,e),a(!0)}catch(o){s(o)}},e.interval)})}}class cr{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this._performanceObserver=null}__init5(){this._flushLock=null}__init6(){this._lastActivity=new Date().getTime()}__init7(){this._isEnabled=!1}__init8(){this._isPaused=!1}__init9(){this._hasInitializedCoreListeners=!1}__init10(){this._stopRecording=null}__init11(){this._context={errorIds:new Set,traceIds:new Set,urls:[],earliestEvent:null,initialTimestamp:new Date().getTime(),initialUrl:""}}constructor({options:e,recordingOptions:r}){cr.prototype.__init.call(this),cr.prototype.__init2.call(this),cr.prototype.__init3.call(this),cr.prototype.__init4.call(this),cr.prototype.__init5.call(this),cr.prototype.__init6.call(this),cr.prototype.__init7.call(this),cr.prototype.__init8.call(this),cr.prototype.__init9.call(this),cr.prototype.__init10.call(this),cr.prototype.__init11.call(this),cr.prototype.__init12.call(this),cr.prototype.__init13.call(this),cr.prototype.__init14.call(this),cr.prototype.__init15.call(this),cr.prototype.__init16.call(this),this._recordingOptions=r,this._options=e,this._debouncedFlush=kle(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay})}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}start(){if(this._setInitialState(),!!this._loadAndCheckSession()){if(!this.session){this._handleException(new Error("No session found"));return}this.session.sampled&&(this.session.sampled==="error"&&(this.recordingMode="error"),this._updateSessionActivity(),this.eventBuffer=tle({useCompression:this._options.useCompression}),this._addListeners(),this._isEnabled=!0,this.startRecording())}}startRecording(){try{this._stopRecording=qs({...this._recordingOptions,...this.recordingMode==="error"&&{checkoutEveryNms:Koe},emit:this._handleRecordingEmit})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording?(this._stopRecording(),this._stopRecording=void 0,!0):!1}catch(e){return this._handleException(e),!1}}stop(e){if(this._isEnabled)try{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const r=`[Replay] Stopping Replay${e?` triggered by ${e}`:""}`;(this.getOptions()._experiments.traceInternals?console.warn:me.log)(r)}this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,this._debouncedFlush.cancel()}catch(r){this._handleException(r)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording())}addUpdate(e){const r=e();this.recordingMode!=="error"&&r!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._loadAndCheckSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(e){const r=this.getSessionId();if(this._lastActivity&&V1(this._lastActivity,Rj)){this.pause();return}return this._loadAndCheckSession(e)?r!==this.getSessionId()?(this._triggerFullSnapshot(),!1):!0:void 0}_handleException(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error("[Replay]",e),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&yx(e)}_loadAndCheckSession(e=Tx){const{type:r,session:n}=ale({expiry:e,stickySession:!!this._options.stickySession,currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,errorSampleRate:this._options.errorSampleRate});r==="new"&&this._setInitialState();const i=this.getSessionId();return n.id!==i&&(n.previousSessionId=i),this.session=n,this.session.sampled?!0:(this.stop("session unsampled"),!1)}_setInitialState(){const e=`${rr.location.pathname}${rr.location.hash}${rr.location.search}`,r=`${rr.location.origin}${e}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=r,this._context.initialTimestamp=new Date().getTime(),this._context.urls.push(r)}_addListeners(){try{rr.document.addEventListener("visibilitychange",this._handleVisibilityChange),rr.addEventListener("blur",this._handleWindowBlur),rr.addEventListener("focus",this._handleWindowFocus),Dle(this._context.errorIds),this._hasInitializedCoreListeners||(Sle(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}"PerformanceObserver"in rr&&(this._performanceObserver=que(this))}_removeListeners(){try{rr.document.removeEventListener("visibilitychange",this._handleVisibilityChange),rr.removeEventListener("blur",this._handleWindowBlur),rr.removeEventListener("focus",this._handleWindowFocus),Rle(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(e){this._handleException(e)}}__init12(){this._handleRecordingEmit=(e,r)=>{if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error("[Replay] Received replay event after session expired.");return}this.addUpdate(()=>(this.recordingMode==="error"&&e.type===2&&this._setInitialState(),qv(this,e,r),e.type!==2?!1:(this.session&&this.session.previousSessionId||(this.recordingMode==="error"&&this.session&&this._context.earliestEvent&&(this.session.started=this._context.earliestEvent,this._maybeSaveSession()),this.recordingMode==="session"&&this.flushImmediate()),!0)))}}__init13(){this._handleVisibilityChange=()=>{rr.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init14(){this._handleWindowBlur=()=>{const e=Xv({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init15(){this._handleWindowFocus=()=>{const e=Xv({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;const r=qj(this.session,Pk);e&&!r&&this._createCustomBreadcrumb(e),this._conditionalFlush()}_doChangeToForegroundTasks(e){if(!this.session)return;if(!this.checkAndHandleExpiredSession(Pk)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}_triggerFullSnapshot(){try{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.log("[Replay] Taking full rrweb snapshot"),qs.takeFullSnapshot(!0)}catch(e){this._handleException(e)}}_updateUserActivity(e=new Date().getTime()){this._lastActivity=e}_updateSessionActivity(e=new Date().getTime()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{qv(this,{type:vt.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){const e=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(gh(this,Ele(e)))}_conditionalFlush(){this.recordingMode!=="error"&&this.flushImmediate()}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[],this._context.earliestEvent=null}_popEventContext(){this._context.earliestEvent&&this._context.earliestEvent<this._context.initialTimestamp&&(this._context.initialTimestamp=this._context.earliestEvent);const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds).filter(Boolean),traceIds:Array.from(this._context.traceIds).filter(Boolean),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){if(!this.session||!this.eventBuffer){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await xle(this),!!this.eventBuffer))try{const e=await this.eventBuffer.finish(),r=this.session.id,n=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession(),await e4({replayId:r,recordingData:e,segmentId:i,includeReplayStartTimestamp:i===0,eventContext:n,session:this.session,options:this.getOptions(),timestamp:new Date().getTime()})}catch(e){this._handleException(e),this.stop("sendReplay");const r=Ze().getClient();r&&r.recordDroppedEvent("send_error","replay")}}__init16(){this._flush=async()=>{if(this._isEnabled){if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error("[Replay] No session found to flush.");return}if(this._debouncedFlush.cancel(),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=null;return}try{await this._flushLock}catch(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.error(e)}finally{this._debouncedFlush()}}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Xj(this.session)}}function md(t,e,r,n){const i=typeof n=="string"?n.split(","):[],a=[...t,...i,...e];return typeof r<"u"&&(typeof r=="string"&&a.push(`.${r}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),a.join(",")}function Fle({mask:t,unmask:e,block:r,unblock:n,ignore:i,blockClass:a,blockSelector:s,maskTextClass:o,maskTextSelector:u,ignoreClass:l}){const c=['base[href="/"]'],d=md(t,[".sentry-mask","[data-sentry-mask]"],o,u),h=md(e,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:d,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:h,blockSelector:md(r,[".sentry-block","[data-sentry-block]",...c],a,s),unblockSelector:md(n,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:md(i,[".sentry-ignore","[data-sentry-ignore]"],l)};return a instanceof RegExp&&(p.blockClass=a),o instanceof RegExp&&(p.maskTextClass=o),p}function Uk(){return typeof window<"u"&&(!mx()||jle())}function jle(){return typeof process<"u"&&process.type==="renderer"}const Gk='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]';let Wk=!1;class Zv{static __initStatic(){this.id="Replay"}__init(){this.name=Zv.id}constructor({flushMinDelay:e=Woe,flushMaxDelay:r=Yoe,stickySession:n=!0,useCompression:i=!0,_experiments:a={},sessionSampleRate:s,errorSampleRate:o,maskAllText:u=!0,maskAllInputs:l=!0,blockAllMedia:c=!0,mask:d=[],unmask:h=[],block:p=[],unblock:g=[],ignore:_=[],maskFn:O,blockClass:S,blockSelector:E,maskInputOptions:x,maskTextClass:f,maskTextSelector:m,ignoreClass:v}={}){if(Zv.prototype.__init.call(this),this._recordingOptions={maskAllInputs:l,maskAllText:u,maskInputOptions:{...x||{},password:!0},maskTextFn:O,maskInputFn:O,...Fle({mask:d,unmask:h,block:p,unblock:g,ignore:_,blockClass:S,blockSelector:E,maskTextClass:f,maskTextSelector:m,ignoreClass:v}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:e,flushMaxDelay:r,stickySession:n,sessionSampleRate:s,errorSampleRate:o,useCompression:i,blockAllMedia:c,_experiments:a},typeof s=="number"&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.
This option is deprecated and will be removed soon.
Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:
Sentry.init({ replaysSessionSampleRate: ${s} })`),this._initialOptions.sessionSampleRate=s),typeof o=="number"&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.
This option is deprecated and will be removed soon.
Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:
Sentry.init({ replaysOnErrorSampleRate: ${o} })`),this._initialOptions.errorSampleRate=o),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Gk}`:Gk),this._isInitialized&&Uk())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Wk}set _isInitialized(e){Wk=e}setupOnce(){Uk()&&(this._setup(),setTimeout(()=>this.start()))}start(){this._replay&&this._replay.start()}stop(){this._replay&&this._replay.stop()}flush(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.flushImmediate()}_setup(){const e=zle(this._initialOptions);this._replay=new cr({options:e,recordingOptions:this._recordingOptions})}}Zv.__initStatic();function zle(t){const e=Ze().getClient(),r=e&&e.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...y0(t)};return r?(t.sessionSampleRate==null&&t.errorSampleRate==null&&r.replaysSessionSampleRate==null&&r.replaysOnErrorSampleRate==null&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),typeof r.replaysSessionSampleRate=="number"&&(n.sessionSampleRate=r.replaysSessionSampleRate),typeof r.replaysOnErrorSampleRate=="number"&&(n.errorSampleRate=r.replaysOnErrorSampleRate),n):(console.warn("SDK client is not available."),n)}const t4=["activate","mount","update"],Hle=/(?:^|[-_])(\w)/g,Vle=t=>t.replace(Hle,e=>e.toUpperCase()).replace(/[-_]/g,""),Ule="<Root>",vy="<Anonymous>",Gle=(t,e)=>t.repeat?t.repeat(e):t,mf=(t,e)=>{if(!t)return vy;if(t.$root===t)return Ule;if(!t.$options)return vy;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?`<${Vle(n)}>`:vy)+(i&&e!==!1?` at ${i}`:"")},Wle=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?"---> ":Gle(" ",5+a*2))+(Array.isArray(i)?`${mf(i[0])}... (${i[1]} recursive calls)`:mf(i))}`).join(`
`)}`}return`

(found in ${mf(t)})`},Yle=(t,e)=>{const{errorHandler:r,warnHandler:n,silent:i}=t.config;t.config.errorHandler=(a,s,o)=>{const u=mf(s,!1),l=s?Wle(s):"",c={componentName:u,lifecycleHook:o,trace:l};if(e.attachProps&&s&&(s.$options&&s.$options.propsData?c.propsData=s.$options.propsData:s.$props&&(c.propsData=s.$props)),setTimeout(()=>{Ze().withScope(d=>{d.setContext("vue",c),Ze().captureException(a)})}),typeof r=="function"&&r.call(t,a,s,o),e.logErrors){const d=typeof console<"u",h=`Error in ${o}: "${a&&a.toString()}"`;n?n.call(null,h,s,l):d&&!i&&console.error(`[Vue warn]: ${h}${l}`)}}},Yk="ui.vue",Kle={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function Kk(){const t=Ze().getScope();return t&&t.getTransaction()}function qle(t,e,r){t.$_sentryRootSpanTimer&&clearTimeout(t.$_sentryRootSpanTimer),t.$_sentryRootSpanTimer=setTimeout(()=>{t.$root&&t.$root.$_sentryRootSpan&&(t.$root.$_sentryRootSpan.finish(e),t.$root.$_sentryRootSpan=void 0)},r)}const Xle=t=>{const e=(t.hooks||[]).concat(t4).filter((n,i,a)=>a.indexOf(n)===i),r={};for(const n of e){const i=Kle[n];if(!i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&me.warn(`Unknown hook: ${n}`);continue}for(const a of i)r[a]=function(){const s=this.$root===this;if(s){const l=Kk();l&&(this.$_sentryRootSpan=this.$_sentryRootSpan||l.startChild({description:"Application Render",op:`${Yk}.render`}))}const o=mf(this,!1),u=Array.isArray(t.trackComponents)?t.trackComponents.indexOf(o)>-1:t.trackComponents;if(!(!s&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},a==i[0]){const l=this.$root&&this.$root.$_sentryRootSpan||Kk();if(l){const c=this.$_sentrySpans[n];c&&!c.endTimestamp&&c.finish(),this.$_sentrySpans[n]=l.startChild({description:`Vue <${o}>`,op:`${Yk}.${n}`})}}else{const l=this.$_sentrySpans[n];if(!l)return;l.finish(),qle(this,vx(),t.timeout)}}}return r},Zle=dn,Jle={Vue:Zle.Vue,attachProps:!0,logErrors:!1,hooks:t4,timeout:2e3,trackComponents:!1,_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:Uv}],version:Uv}}};function fPe(t={}){const e={...Jle,...t};if(Uoe(e),!e.Vue&&!e.app){console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).");return}e.app?px(e.app).forEach(n=>qk(n,e)):e.Vue&&qk(e.Vue,e)}const qk=(t,e)=>{const r=t;(r._instance&&r._instance.isMounted)===!0&&console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`."),Yle(t,e),Yse(e)&&t.mixin(Xle({...e,...e.tracingOptions}))};var r4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(we,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",o="minute",u="hour",l="day",c="week",d="month",h="quarter",p="year",g="date",_="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},x=function(w,$,D){var A=String(w);return!A||A.length>=$?w:""+Array($+1-A.length).join(D)+w},f={s:x,z:function(w){var $=-w.utcOffset(),D=Math.abs($),A=Math.floor(D/60),L=D%60;return($<=0?"+":"-")+x(A,2,"0")+":"+x(L,2,"0")},m:function w($,D){if($.date()<D.date())return-w(D,$);var A=12*(D.year()-$.year())+(D.month()-$.month()),L=$.clone().add(A,d),F=D-L<0,j=$.clone().add(A+(F?-1:1),d);return+(-(A+(D-L)/(F?L-j:j-L))||0)},a:function(w){return w<0?Math.ceil(w)||0:Math.floor(w)},p:function(w){return{M:d,y:p,w:c,d:l,D:g,h:u,m:o,s,ms:a,Q:h}[w]||String(w||"").toLowerCase().replace(/s$/,"")},u:function(w){return w===void 0}},m="en",v={};v[m]=E;var T=function(w){return w instanceof M},P=function w($,D,A){var L;if(!$)return m;if(typeof $=="string"){var F=$.toLowerCase();v[F]&&(L=F),D&&(v[F]=D,L=F);var j=$.split("-");if(!L&&j.length>1)return w(j[0])}else{var H=$.name;v[H]=$,L=H}return!A&&L&&(m=L),L||!A&&m},k=function(w,$){if(T(w))return w.clone();var D=typeof $=="object"?$:{};return D.date=w,D.args=arguments,new M(D)},y=f;y.l=P,y.i=T,y.w=function(w,$){return k(w,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var M=function(){function w(D){this.$L=P(D.locale,null,!0),this.parse(D)}var $=w.prototype;return $.parse=function(D){this.$d=function(A){var L=A.date,F=A.utc;if(L===null)return new Date(NaN);if(y.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var j=L.match(O);if(j){var H=j[2]-1||0,G=(j[7]||"0").substring(0,3);return F?new Date(Date.UTC(j[1],H,j[3]||1,j[4]||0,j[5]||0,j[6]||0,G)):new Date(j[1],H,j[3]||1,j[4]||0,j[5]||0,j[6]||0,G)}}return new Date(L)}(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 y},$.isValid=function(){return this.$d.toString()!==_},$.isSame=function(D,A){var L=k(D);return this.startOf(A)<=L&&L<=this.endOf(A)},$.isAfter=function(D,A){return k(D)<this.startOf(A)},$.isBefore=function(D,A){return this.endOf(A)<k(D)},$.$g=function(D,A,L){return y.u(D)?this[A]:this.set(L,D)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(D,A){var L=this,F=!!y.u(A)||A,j=y.p(D),H=function(ae,be){var $e=y.w(L.$u?Date.UTC(L.$y,be,ae):new Date(L.$y,be,ae),L);return F?$e:$e.endOf(l)},G=function(ae,be){return y.w(L.toDate()[ae].apply(L.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(be)),L)},Z=this.$W,te=this.$M,Y=this.$D,W="set"+(this.$u?"UTC":"");switch(j){case p:return F?H(1,0):H(31,11);case d:return F?H(1,te):H(0,te+1);case c:var U=this.$locale().weekStart||0,K=(Z<U?Z+7:Z)-U;return H(F?Y-K:Y+(6-K),te);case l:case g:return G(W+"Hours",0);case u:return G(W+"Minutes",1);case o:return G(W+"Seconds",2);case s:return G(W+"Milliseconds",3);default:return this.clone()}},$.endOf=function(D){return this.startOf(D,!1)},$.$set=function(D,A){var L,F=y.p(D),j="set"+(this.$u?"UTC":""),H=(L={},L[l]=j+"Date",L[g]=j+"Date",L[d]=j+"Month",L[p]=j+"FullYear",L[u]=j+"Hours",L[o]=j+"Minutes",L[s]=j+"Seconds",L[a]=j+"Milliseconds",L)[F],G=F===l?this.$D+(A-this.$W):A;if(F===d||F===p){var Z=this.clone().set(g,1);Z.$d[H](G),Z.init(),this.$d=Z.set(g,Math.min(this.$D,Z.daysInMonth())).$d}else H&&this.$d[H](G);return this.init(),this},$.set=function(D,A){return this.clone().$set(D,A)},$.get=function(D){return this[y.p(D)]()},$.add=function(D,A){var L,F=this;D=Number(D);var j=y.p(A),H=function(te){var Y=k(F);return y.w(Y.date(Y.date()+Math.round(te*D)),F)};if(j===d)return this.set(d,this.$M+D);if(j===p)return this.set(p,this.$y+D);if(j===l)return H(1);if(j===c)return H(7);var G=(L={},L[o]=n,L[u]=i,L[s]=r,L)[j]||1,Z=this.$d.getTime()+D*G;return y.w(Z,this)},$.subtract=function(D,A){return this.add(-1*D,A)},$.format=function(D){var A=this,L=this.$locale();if(!this.isValid())return L.invalidDate||_;var F=D||"YYYY-MM-DDTHH:mm:ssZ",j=y.z(this),H=this.$H,G=this.$m,Z=this.$M,te=L.weekdays,Y=L.months,W=function(be,$e,Se,wt){return be&&(be[$e]||be(A,F))||Se[$e].slice(0,wt)},U=function(be){return y.s(H%12||12,be,"0")},K=L.meridiem||function(be,$e,Se){var wt=be<12?"AM":"PM";return Se?wt.toLowerCase():wt},ae={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Z+1,MM:y.s(Z+1,2,"0"),MMM:W(L.monthsShort,Z,Y,3),MMMM:W(Y,Z),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:W(L.weekdaysMin,this.$W,te,2),ddd:W(L.weekdaysShort,this.$W,te,3),dddd:te[this.$W],H:String(H),HH:y.s(H,2,"0"),h:U(1),hh:U(2),a:K(H,G,!0),A:K(H,G,!1),m:String(G),mm:y.s(G,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:j};return F.replace(S,function(be,$e){return $e||ae[be]||j.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(D,A,L){var F,j=y.p(A),H=k(D),G=(H.utcOffset()-this.utcOffset())*n,Z=this-H,te=y.m(this,H);return te=(F={},F[p]=te/12,F[d]=te,F[h]=te/3,F[c]=(Z-G)/6048e5,F[l]=(Z-G)/864e5,F[u]=Z/i,F[o]=Z/n,F[s]=Z/r,F)[j]||Z,L?te:y.a(te)},$.daysInMonth=function(){return this.endOf(d).$D},$.$locale=function(){return v[this.$L]},$.locale=function(D,A){if(!D)return this.$L;var L=this.clone(),F=P(D,A,!0);return F&&(L.$L=F),L},$.clone=function(){return y.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()},w}(),C=M.prototype;return k.prototype=C,[["$ms",a],["$s",s],["$m",o],["$H",u],["$W",l],["$M",d],["$y",p],["$D",g]].forEach(function(w){C[w[1]]=function($){return this.$g($,w[0],w[1])}}),k.extend=function(w,$){return w.$i||(w($,M,k),w.$i=!0),k},k.locale=P,k.isDayjs=T,k.unix=function(w){return k(1e3*w)},k.en=v[m],k.Ls=v,k.p={},k})})(r4);var Ja=r4.exports;const hPe=vn(Ja);var n4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(we,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,i,a){var s=i.prototype,o=s.format;a.en.formats=r,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var l=this.$locale().formats,c=function(d,h){return d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,g,_){var O=_&&_.toUpperCase();return g||h[_]||r[_]||h[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,E,x){return E||x.slice(1)})})}(u,l===void 0?{}:l);return o.call(this,c)}}})})(n4);var Qle=n4.exports;const pPe=vn(Qle);var ece={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,function(r){function n(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var i=n(r),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function s(u,l,c){var d=a[c];return Array.isArray(d)&&(d=d[l?0:1]),d.replace("%d",u)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s}};return i.default.locale(o,null,!0),o})})(ece);var tce={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(we,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("_")}})})(tce);var rce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(s){return s+"º"}};return i.default.locale(a,null,!0),a})})(rce);var nce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,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})})(nce);var ice={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,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})})(ice);var ace={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,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})})(ace);var sce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,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})})(sce);var oce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,function(r){function n(h){return h&&typeof h=="object"&&"default"in h?h:{default:h}}var i=n(r);function a(h){return h%10<5&&h%10>1&&~~(h/10)%10!=1}function s(h,p,g){var _=h+" ";switch(g){case"m":return p?"minuta":"minutę";case"mm":return _+(a(h)?"minuty":"minut");case"h":return p?"godzina":"godzinę";case"hh":return _+(a(h)?"godziny":"godzin");case"MM":return _+(a(h)?"miesiące":"miesięcy");case"yy":return _+(a(h)?"lata":"lat")}}var o="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),u="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),l=/D MMMM/,c=function(h,p){return l.test(p)?o[h.month()]:u[h.month()]};c.s=u,c.f=o;var d={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:c,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(h){return h+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:s,mm:s,h:s,hh:s,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:s,y:"rok",yy:s},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(d,null,!0),d})})(oce);var uce={exports:{}};(function(t,e){(function(r,n){t.exports=n(Ja)})(we,function(r){function n(g){return g&&typeof g=="object"&&"default"in g?g:{default:g}}var i=n(r),a="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),s="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),o="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),u="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),l=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function c(g,_,O){var S,E;return O==="m"?_?"минута":"минуту":g+" "+(S=+g,E={mm:_?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[O].split("_"),S%10==1&&S%100!=11?E[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?E[1]:E[2])}var d=function(g,_){return l.test(_)?a[g.month()]:s[g.month()]};d.s=s,d.f=a;var h=function(g,_){return l.test(_)?o[g.month()]:u[g.month()]};h.s=u,h.f=o;var p={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:d,monthsShort:h,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:c,mm:c,h:"час",hh:c,d:"день",dd:c,M:"месяц",MM:c,y:"год",yy:c},ordinal:function(g){return g},meridiem:function(g){return g<4?"ночи":g<12?"утра":g<17?"дня":"вечера"}};return i.default.locale(p,null,!0),p})})(uce);var Jv={exports:{}};Jv.exports;(function(t,e){var r=200,n="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",s="[object Array]",o="[object Boolean]",u="[object Date]",l="[object Error]",c="[object Function]",d="[object GeneratorFunction]",h="[object Map]",p="[object Number]",g="[object Object]",_="[object Promise]",O="[object RegExp]",S="[object Set]",E="[object String]",x="[object Symbol]",f="[object WeakMap]",m="[object ArrayBuffer]",v="[object DataView]",T="[object Float32Array]",P="[object Float64Array]",k="[object Int8Array]",y="[object Int16Array]",M="[object Int32Array]",C="[object Uint8Array]",w="[object Uint8ClampedArray]",$="[object Uint16Array]",D="[object Uint32Array]",A=/[\\^$.*+?()[\]{}|]/g,L=/\w*$/,F=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,H={};H[a]=H[s]=H[m]=H[v]=H[o]=H[u]=H[T]=H[P]=H[k]=H[y]=H[M]=H[h]=H[p]=H[g]=H[O]=H[S]=H[E]=H[x]=H[C]=H[w]=H[$]=H[D]=!0,H[l]=H[c]=H[f]=!1;var G=typeof we=="object"&&we&&we.Object===Object&&we,Z=typeof self=="object"&&self&&self.Object===Object&&self,te=G||Z||Function("return this")(),Y=e&&!e.nodeType&&e,W=Y&&!0&&t&&!t.nodeType&&t,U=W&&W.exports===Y;function K(B,q){return B.set(q[0],q[1]),B}function ae(B,q){return B.add(q),B}function be(B,q){for(var ee=-1,de=B?B.length:0;++ee<de&&q(B[ee],ee,B)!==!1;);return B}function $e(B,q){for(var ee=-1,de=q.length,Ft=B.length;++ee<de;)B[Ft+ee]=q[ee];return B}function Se(B,q,ee,de){var Ft=-1,ur=B?B.length:0;for(de&&ur&&(ee=B[++Ft]);++Ft<ur;)ee=q(ee,B[Ft],Ft,B);return ee}function wt(B,q){for(var ee=-1,de=Array(B);++ee<B;)de[ee]=q(ee);return de}function Vt(B,q){return B==null?void 0:B[q]}function Qa(B){var q=!1;if(B!=null&&typeof B.toString!="function")try{q=!!(B+"")}catch{}return q}function Tu(B){var q=-1,ee=Array(B.size);return B.forEach(function(de,Ft){ee[++q]=[Ft,de]}),ee}function Eu(B,q){return function(ee){return B(q(ee))}}function Dc(B){var q=-1,ee=Array(B.size);return B.forEach(function(de){ee[++q]=de}),ee}var cb=Array.prototype,db=Function.prototype,Pu=Object.prototype,Rc=te["__core-js_shared__"],Ah=function(){var B=/[^.]+$/.exec(Rc&&Rc.keys&&Rc.keys.IE_PROTO||"");return B?"Symbol(src)_1."+B:""}(),Mh=db.toString,Bi=Pu.hasOwnProperty,Cu=Pu.toString,fb=RegExp("^"+Mh.call(Bi).replace(A,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kh=U?te.Buffer:void 0,Dh=te.Symbol,$u=te.Uint8Array,hb=Eu(Object.getPrototypeOf,Object),pb=Object.create,Ic=Pu.propertyIsEnumerable,mb=cb.splice,Rh=Object.getOwnPropertySymbols,Au=kh?kh.isBuffer:void 0,Lc=Eu(Object.keys,Object),Mu=as(te,"DataView"),es=as(te,"Map"),gn=as(te,"Promise"),Fi=as(te,"Set"),Nc=as(te,"WeakMap"),ts=as(Object,"create"),Ih=ji(Mu),vb=ji(es),gb=ji(gn),bb=ji(Fi),Bc=ji(Nc),rs=Dh?Dh.prototype:void 0,ku=rs?rs.valueOf:void 0;function Zr(B){var q=-1,ee=B?B.length:0;for(this.clear();++q<ee;){var de=B[q];this.set(de[0],de[1])}}function Fc(){this.__data__=ts?ts(null):{}}function oo(B){return this.has(B)&&delete this.__data__[B]}function _b(B){var q=this.__data__;if(ts){var ee=q[B];return ee===n?void 0:ee}return Bi.call(q,B)?q[B]:void 0}function yb(B){var q=this.__data__;return ts?q[B]!==void 0:Bi.call(q,B)}function wb(B,q){var ee=this.__data__;return ee[B]=ts&&q===void 0?n:q,this}Zr.prototype.clear=Fc,Zr.prototype.delete=oo,Zr.prototype.get=_b,Zr.prototype.has=yb,Zr.prototype.set=wb;function ui(B){var q=-1,ee=B?B.length:0;for(this.clear();++q<ee;){var de=B[q];this.set(de[0],de[1])}}function Ob(){this.__data__=[]}function Du(B){var q=this.__data__,ee=Ru(q,B);if(ee<0)return!1;var de=q.length-1;return ee==de?q.pop():mb.call(q,ee,1),!0}function jc(B){var q=this.__data__,ee=Ru(q,B);return ee<0?void 0:q[ee][1]}function Lh(B){return Ru(this.__data__,B)>-1}function va(B,q){var ee=this.__data__,de=Ru(ee,B);return de<0?ee.push([B,q]):ee[de][1]=q,this}ui.prototype.clear=Ob,ui.prototype.delete=Du,ui.prototype.get=jc,ui.prototype.has=Lh,ui.prototype.set=va;function ns(B){var q=-1,ee=B?B.length:0;for(this.clear();++q<ee;){var de=B[q];this.set(de[0],de[1])}}function Sb(){this.__data__={hash:new Zr,map:new(es||ui),string:new Zr}}function xb(B){return Nu(this,B).delete(B)}function Tb(B){return Nu(this,B).get(B)}function Eb(B){return Nu(this,B).has(B)}function li(B,q){return Nu(this,B).set(B,q),this}ns.prototype.clear=Sb,ns.prototype.delete=xb,ns.prototype.get=Tb,ns.prototype.has=Eb,ns.prototype.set=li;function is(B){this.__data__=new ui(B)}function Pb(){this.__data__=new ui}function Cb(B){return this.__data__.delete(B)}function $b(B){return this.__data__.get(B)}function Ab(B){return this.__data__.has(B)}function ci(B,q){var ee=this.__data__;if(ee instanceof ui){var de=ee.__data__;if(!es||de.length<r-1)return de.push([B,q]),this;ee=this.__data__=new ns(de)}return ee.set(B,q),this}is.prototype.clear=Pb,is.prototype.delete=Cb,is.prototype.get=$b,is.prototype.has=Ab,is.prototype.set=ci;function Mb(B,q){var ee=Vc(B)||Bu(B)?wt(B.length,String):[],de=ee.length,Ft=!!de;for(var ur in B)(q||Bi.call(B,ur))&&!(Ft&&(ur=="length"||Yb(ur,de)))&&ee.push(ur);return ee}function Nh(B,q,ee){var de=B[q];(!(Bi.call(B,q)&&Hh(de,ee))||ee===void 0&&!(q in B))&&(B[q]=ee)}function Ru(B,q){for(var ee=B.length;ee--;)if(Hh(B[ee][0],q))return ee;return-1}function kb(B,q){return B&&Lu(q,Gc(q),B)}function zc(B,q,ee,de,Ft,ur,Fr){var jt;if(de&&(jt=ur?de(B,Ft,ur,Fr):de(B)),jt!==void 0)return jt;if(!ju(B))return B;var Wc=Vc(B);if(Wc){if(jt=Ub(B),!q)return zb(B,jt)}else{var ss=ga(B),Yc=ss==c||ss==d;if(Xb(B))return Lb(B,q);if(ss==g||ss==a||Yc&&!ur){if(Qa(B))return ur?B:{};if(jt=Gb(Yc?{}:B),!q)return Hb(B,kb(jt,B))}else{if(!H[ss])return ur?B:{};jt=Wb(B,ss,zc,q)}}Fr||(Fr=new is);var zu=Fr.get(B);if(zu)return zu;if(Fr.set(B,jt),!Wc)var lo=ee?Vb(B):Gc(B);return be(lo||B,function(os,us){lo&&(us=os,os=B[us]),Nh(jt,us,zc(os,q,ee,de,us,B,Fr))}),jt}function uo(B){return ju(B)?pb(B):{}}function Db(B,q,ee){var de=q(B);return Vc(B)?de:$e(de,ee(B))}function Rb(B){return Cu.call(B)}function di(B){if(!ju(B)||jh(B))return!1;var q=Uc(B)||Qa(B)?fb:F;return q.test(ji(B))}function Ib(B){if(!zh(B))return Lc(B);var q=[];for(var ee in Object(B))Bi.call(B,ee)&&ee!="constructor"&&q.push(ee);return q}function Lb(B,q){if(q)return B.slice();var ee=new B.constructor(B.length);return B.copy(ee),ee}function Hc(B){var q=new B.constructor(B.byteLength);return new $u(q).set(new $u(B)),q}function Nb(B,q){var ee=q?Hc(B.buffer):B.buffer;return new B.constructor(ee,B.byteOffset,B.byteLength)}function Bb(B,q,ee){var de=q?ee(Tu(B),!0):Tu(B);return Se(de,K,new B.constructor)}function Fb(B){var q=new B.constructor(B.source,L.exec(B));return q.lastIndex=B.lastIndex,q}function Iu(B,q,ee){var de=q?ee(Dc(B),!0):Dc(B);return Se(de,ae,new B.constructor)}function Bh(B){return ku?Object(ku.call(B)):{}}function jb(B,q){var ee=q?Hc(B.buffer):B.buffer;return new B.constructor(ee,B.byteOffset,B.length)}function zb(B,q){var ee=-1,de=B.length;for(q||(q=Array(de));++ee<de;)q[ee]=B[ee];return q}function Lu(B,q,ee,de){ee||(ee={});for(var Ft=-1,ur=q.length;++Ft<ur;){var Fr=q[Ft],jt=de?de(ee[Fr],B[Fr],Fr,ee,B):void 0;Nh(ee,Fr,jt===void 0?B[Fr]:jt)}return ee}function Hb(B,q){return Lu(B,Fh(B),q)}function Vb(B){return Db(B,Gc,Fh)}function Nu(B,q){var ee=B.__data__;return Kb(q)?ee[typeof q=="string"?"string":"hash"]:ee.map}function as(B,q){var ee=Vt(B,q);return di(ee)?ee:void 0}var Fh=Rh?Eu(Rh,Object):Vh,ga=Rb;(Mu&&ga(new Mu(new ArrayBuffer(1)))!=v||es&&ga(new es)!=h||gn&&ga(gn.resolve())!=_||Fi&&ga(new Fi)!=S||Nc&&ga(new Nc)!=f)&&(ga=function(B){var q=Cu.call(B),ee=q==g?B.constructor:void 0,de=ee?ji(ee):void 0;if(de)switch(de){case Ih:return v;case vb:return h;case gb:return _;case bb:return S;case Bc:return f}return q});function Ub(B){var q=B.length,ee=B.constructor(q);return q&&typeof B[0]=="string"&&Bi.call(B,"index")&&(ee.index=B.index,ee.input=B.input),ee}function Gb(B){return typeof B.constructor=="function"&&!zh(B)?uo(hb(B)):{}}function Wb(B,q,ee,de){var Ft=B.constructor;switch(q){case m:return Hc(B);case o:case u:return new Ft(+B);case v:return Nb(B,de);case T:case P:case k:case y:case M:case C:case w:case $:case D:return jb(B,de);case h:return Bb(B,de,ee);case p:case E:return new Ft(B);case O:return Fb(B);case S:return Iu(B,de,ee);case x:return Bh(B)}}function Yb(B,q){return q=q??i,!!q&&(typeof B=="number"||j.test(B))&&B>-1&&B%1==0&&B<q}function Kb(B){var q=typeof B;return q=="string"||q=="number"||q=="symbol"||q=="boolean"?B!=="__proto__":B===null}function jh(B){return!!Ah&&Ah in B}function zh(B){var q=B&&B.constructor,ee=typeof q=="function"&&q.prototype||Pu;return B===ee}function ji(B){if(B!=null){try{return Mh.call(B)}catch{}try{return B+""}catch{}}return""}function qb(B){return zc(B,!0,!0)}function Hh(B,q){return B===q||B!==B&&q!==q}function Bu(B){return zi(B)&&Bi.call(B,"callee")&&(!Ic.call(B,"callee")||Cu.call(B)==a)}var Vc=Array.isArray;function ba(B){return B!=null&&Fu(B.length)&&!Uc(B)}function zi(B){return Zb(B)&&ba(B)}var Xb=Au||Uh;function Uc(B){var q=ju(B)?Cu.call(B):"";return q==c||q==d}function Fu(B){return typeof B=="number"&&B>-1&&B%1==0&&B<=i}function ju(B){var q=typeof B;return!!B&&(q=="object"||q=="function")}function Zb(B){return!!B&&typeof B=="object"}function Gc(B){return ba(B)?Mb(B):Ib(B)}function Vh(){return[]}function Uh(){return!1}t.exports=qb})(Jv,Jv.exports);var lce=Jv.exports;const mPe=vn(lce);var i4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self<"u"?self:we,function(){return(()=>{var r={646:s=>{s.exports=function(o){if(Array.isArray(o)){for(var u=0,l=new Array(o.length);u<o.length;u++)l[u]=o[u];return l}}},713:s=>{s.exports=function(o,u,l){return u in o?Object.defineProperty(o,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):o[u]=l,o}},860:s=>{s.exports=function(o){if(Symbol.iterator in Object(o)||Object.prototype.toString.call(o)==="[object Arguments]")return Array.from(o)}},206:s=>{s.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(s,o,u)=>{var l=u(646),c=u(860),d=u(206);s.exports=function(h){return l(h)||c(h)||d()}},8:s=>{function o(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s.exports=o=function(l){return typeof l}:s.exports=o=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},o(u)}s.exports=o}},n={};function i(s){var o=n[s];if(o!==void 0)return o.exports;var u=n[s]={exports:{}};return r[s](u,u.exports,i),u.exports}i.n=s=>{var o=s&&s.__esModule?()=>s.default:()=>s;return i.d(o,{a:o}),o},i.d=(s,o)=>{for(var u in o)i.o(o,u)&&!i.o(s,u)&&Object.defineProperty(s,u,{enumerable:!0,get:o[u]})},i.o=(s,o)=>Object.prototype.hasOwnProperty.call(s,o),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{VueSelect:()=>T,default:()=>k,mixins:()=>P});var s=i(319),o=i.n(s),u=i(8),l=i.n(u),c=i(713),d=i.n(c);const h={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(y){var M=this;this.autoscroll&&y&&this.$nextTick(function(){return M.maybeAdjustScroll()})}},methods:{maybeAdjustScroll:function(){var y,M=((y=this.$refs.dropdownMenu)===null||y===void 0?void 0:y.children[this.typeAheadPointer])||!1;if(M){var C=this.getDropdownViewport(),w=M.getBoundingClientRect(),$=w.top,D=w.bottom,A=w.height;if($<C.top)return this.$refs.dropdownMenu.scrollTop=M.offsetTop;if(D>C.bottom)return this.$refs.dropdownMenu.scrollTop=M.offsetTop-(C.height-A)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},p={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var y=0;y<this.filteredOptions.length;y++)if(this.selectable(this.filteredOptions[y])){this.typeAheadPointer=y;break}},open:function(y){y&&this.typeAheadToLastSelected()},selectedValue:function(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp:function(){for(var y=this.typeAheadPointer-1;y>=0;y--)if(this.selectable(this.filteredOptions[y])){this.typeAheadPointer=y;break}},typeAheadDown:function(){for(var y=this.typeAheadPointer+1;y<this.filteredOptions.length;y++)if(this.selectable(this.filteredOptions[y])){this.typeAheadPointer=y;break}},typeAheadSelect:function(){var y=this.filteredOptions[this.typeAheadPointer];y&&this.selectable(y)&&this.select(y)},typeAheadToLastSelected:function(){this.typeAheadPointer=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},g={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(y){this.mutableLoading=y}},methods:{toggleLoading:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.mutableLoading=y??!this.mutableLoading}}};function _(y,M,C,w,$,D,A,L){var F,j=typeof y=="function"?y.options:y;if(M&&(j.render=M,j.staticRenderFns=C,j._compiled=!0),w&&(j.functional=!0),D&&(j._scopeId="data-v-"+D),A?(F=function(Z){(Z=Z||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__>"u"||(Z=__VUE_SSR_CONTEXT__),$&&$.call(this,Z),Z&&Z._registeredComponents&&Z._registeredComponents.add(A)},j._ssrRegister=F):$&&(F=L?function(){$.call(this,(j.functional?this.parent:this).$root.$options.shadowRoot)}:$),F)if(j.functional){j._injectStyles=F;var H=j.render;j.render=function(Z,te){return F.call(te),H(Z,te)}}else{var G=j.beforeCreate;j.beforeCreate=G?[].concat(G,F):[F]}return{exports:y,options:j}}const O={Deselect:_({},function(){var y=this.$createElement,M=this._self._c||y;return M("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[M("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])},[],!1,null,null,null).exports,OpenIndicator:_({},function(){var y=this.$createElement,M=this._self._c||y;return M("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[M("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])},[],!1,null,null,null).exports},S={inserted:function(y,M,C){var w=C.context;if(w.appendToBody){var $=w.$refs.toggle.getBoundingClientRect(),D=$.height,A=$.top,L=$.left,F=$.width,j=window.scrollX||window.pageXOffset,H=window.scrollY||window.pageYOffset;y.unbindPosition=w.calculatePosition(y,w,{width:F+"px",left:j+L+"px",top:H+A+D+"px"}),document.body.appendChild(y)}},unbind:function(y,M,C){C.context.appendToBody&&(y.unbindPosition&&typeof y.unbindPosition=="function"&&y.unbindPosition(),y.parentNode&&y.parentNode.removeChild(y))}},E=function(y){var M={};return Object.keys(y).sort().forEach(function(C){M[C]=y[C]}),JSON.stringify(M)};var x=0;const f=function(){return++x};function m(y,M){var C=Object.keys(y);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);M&&(w=w.filter(function($){return Object.getOwnPropertyDescriptor(y,$).enumerable})),C.push.apply(C,w)}return C}function v(y){for(var M=1;M<arguments.length;M++){var C=arguments[M]!=null?arguments[M]:{};M%2?m(Object(C),!0).forEach(function(w){d()(y,w,C[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(C)):m(Object(C)).forEach(function(w){Object.defineProperty(y,w,Object.getOwnPropertyDescriptor(C,w))})}return y}const T=_({components:v({},O),directives:{appendToBody:S},mixins:[h,p,g],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(y){return y}},selectable:{type:Function,default:function(y){return!0}},getOptionLabel:{type:Function,default:function(y){return l()(y)==="object"?y.hasOwnProperty(this.label)?y[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(y),`.
`)+"https://vue-select.org/api/props.html#getoptionlabel"):y}},getOptionKey:{type:Function,default:function(y){if(l()(y)!=="object")return y;try{return y.hasOwnProperty("id")?y.id:E(y)}catch(M){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
https://vue-select.org/api/props.html#getoptionkey`,y,M)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(y,M,C){return(M||"").toLocaleLowerCase().indexOf(C.toLocaleLowerCase())>-1}},filter:{type:Function,default:function(y,M){var C=this;return y.filter(function(w){var $=C.getOptionLabel(w);return typeof $=="number"&&($=$.toString()),C.filterBy(w,$,M)})}},createOption:{type:Function,default:function(y){return l()(this.optionList[0])==="object"?d()({},this.label,y):y}},resetOnOptionsChange:{default:!1,validator:function(y){return["function","boolean"].includes(l()(y))}},clearSearchOnBlur:{type:Function,default:function(y){var M=y.clearSearchOnSelect,C=y.multiple;return M&&!C}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(y,M){return y}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(y,M,C){var w=C.width,$=C.top,D=C.left;y.style.top=$,y.style.left=D,y.style.width=w}},dropdownShouldOpen:{type:Function,default:function(y){var M=y.noDrop,C=y.open,w=y.mutableLoading;return!M&&C&&!w}},uid:{type:[String,Number],default:function(){return f()}}},data:function(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return this.value===void 0||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var y=this.value;return this.isTrackingValues&&(y=this.$data._value),y!=null&&y!==""?[].concat(y):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var y=this,M={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:v({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return y.isComposing=!0},compositionend:function(){return y.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(C){return y.search=C.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:M,listFooter:M,header:v({},M,{deselect:this.deselect}),footer:v({},M,{deselect:this.deselect})}},childComponents:function(){return v({},O,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var y=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return y;var M=this.search.length?this.filter(y,this.search,this):y;if(this.taggable&&this.search.length){var C=this.createOption(this.search);this.optionExists(C)||M.unshift(C)}return M},isValueEmpty:function(){return this.selectedValue.length===0},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(y,M){var C=this;!this.taggable&&(typeof C.resetOnOptionsChange=="function"?C.resetOnOptionsChange(y,M,C.selectedValue):C.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(y){this.isTrackingValues&&this.setInternalValueFromOptions(y)}},multiple:function(){this.clearSelection()},open:function(y){this.$emit(y?"open":"close")}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(y){var M=this;Array.isArray(y)?this.$data._value=y.map(function(C){return M.findOptionFromReducedValue(C)}):this.$data._value=this.findOptionFromReducedValue(y)},select:function(y){this.$emit("option:selecting",y),this.isOptionSelected(y)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(y):(this.taggable&&!this.optionExists(y)&&this.$emit("option:created",y),this.multiple&&(y=this.selectedValue.concat(y)),this.updateValue(y),this.$emit("option:selected",y)),this.onAfterSelect(y)},deselect:function(y){var M=this;this.$emit("option:deselecting",y),this.updateValue(this.selectedValue.filter(function(C){return!M.optionComparator(C,y)})),this.$emit("option:deselected",y)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(y){var M=this;this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick(function(){return M.$refs.search.focus()})},updateValue:function(y){var M=this;this.value===void 0&&(this.$data._value=y),y!==null&&(y=Array.isArray(y)?y.map(function(C){return M.reduce(C)}):this.reduce(y)),this.$emit("input",y)},toggleDropdown:function(y){var M=y.target!==this.searchEl;M&&y.preventDefault();var C=[].concat(o()(this.$refs.deselectButtons||[]),o()([this.$refs.clearButton]));this.searchEl===void 0||C.filter(Boolean).some(function(w){return w.contains(y.target)||w===y.target})?y.preventDefault():this.open&&M?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(y){var M=this;return this.selectedValue.some(function(C){return M.optionComparator(C,y)})},isOptionDeselectable:function(y){return this.isOptionSelected(y)&&this.deselectFromDropdown},optionComparator:function(y,M){return this.getOptionKey(y)===this.getOptionKey(M)},findOptionFromReducedValue:function(y){var M=this,C=[].concat(o()(this.options),o()(this.pushedTags)).filter(function(w){return JSON.stringify(M.reduce(w))===JSON.stringify(y)});return C.length===1?C[0]:C.find(function(w){return M.optionComparator(w,M.$data._value)})||y},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var y=null;this.multiple&&(y=o()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(y)}},optionExists:function(y){var M=this;return this.optionList.some(function(C){return M.optionComparator(C,y)})},normalizeOptionForSlot:function(y){return l()(y)==="object"?y:d()({},this.label,y)},pushTag:function(y){this.pushedTags.push(y)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching){var y=this.clearSearchOnSelect,M=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:y,multiple:M})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,this.search.length!==0||this.options.length!==0||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(y){var M=this,C=function(D){return D.preventDefault(),!M.isComposing&&M.typeAheadSelect()},w={8:function(D){return M.maybeDeleteValue()},9:function(D){return M.onTab()},27:function(D){return M.onEscape()},38:function(D){return D.preventDefault(),M.typeAheadUp()},40:function(D){return D.preventDefault(),M.typeAheadDown()}};this.selectOnKeyCodes.forEach(function(D){return w[D]=C});var $=this.mapKeydown(w,this);if(typeof $[y.keyCode]=="function")return $[y.keyCode](y)}}},function(){var y=this,M=y.$createElement,C=y._self._c||M;return C("div",{staticClass:"v-select",class:y.stateClasses,attrs:{dir:y.dir}},[y._t("header",null,null,y.scope.header),y._v(" "),C("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+y.uid+"__combobox",role:"combobox","aria-expanded":y.dropdownOpen.toString(),"aria-owns":"vs"+y.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(w){return y.toggleDropdown(w)}}},[C("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[y._l(y.selectedValue,function(w){return y._t("selected-option-container",[C("span",{key:y.getOptionKey(w),staticClass:"vs__selected"},[y._t("selected-option",[y._v(`
            `+y._s(y.getOptionLabel(w))+`
          `)],null,y.normalizeOptionForSlot(w)),y._v(" "),y.multiple?C("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:y.disabled,type:"button",title:"Deselect "+y.getOptionLabel(w),"aria-label":"Deselect "+y.getOptionLabel(w)},on:{click:function($){return y.deselect(w)}}},[C(y.childComponents.Deselect,{tag:"component"})],1):y._e()],2)],{option:y.normalizeOptionForSlot(w),deselect:y.deselect,multiple:y.multiple,disabled:y.disabled})}),y._v(" "),y._t("search",[C("input",y._g(y._b({staticClass:"vs__search"},"input",y.scope.search.attributes,!1),y.scope.search.events))],null,y.scope.search)],2),y._v(" "),C("div",{ref:"actions",staticClass:"vs__actions"},[C("button",{directives:[{name:"show",rawName:"v-show",value:y.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:y.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:y.clearSelection}},[C(y.childComponents.Deselect,{tag:"component"})],1),y._v(" "),y._t("open-indicator",[y.noDrop?y._e():C(y.childComponents.OpenIndicator,y._b({tag:"component"},"component",y.scope.openIndicator.attributes,!1))],null,y.scope.openIndicator),y._v(" "),y._t("spinner",[C("div",{directives:[{name:"show",rawName:"v-show",value:y.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[y._v("Loading...")])],null,y.scope.spinner)],2)]),y._v(" "),C("transition",{attrs:{name:y.transition}},[y.dropdownOpen?C("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+y.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+y.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(w){return w.preventDefault(),y.onMousedown(w)},mouseup:y.onMouseUp}},[y._t("list-header",null,null,y.scope.listHeader),y._v(" "),y._l(y.filteredOptions,function(w,$){return C("li",{key:y.getOptionKey(w),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":y.isOptionDeselectable(w)&&$===y.typeAheadPointer,"vs__dropdown-option--selected":y.isOptionSelected(w),"vs__dropdown-option--highlight":$===y.typeAheadPointer,"vs__dropdown-option--disabled":!y.selectable(w)},attrs:{id:"vs"+y.uid+"__option-"+$,role:"option","aria-selected":$===y.typeAheadPointer||null},on:{mouseover:function(D){y.selectable(w)&&(y.typeAheadPointer=$)},click:function(D){D.preventDefault(),D.stopPropagation(),y.selectable(w)&&y.select(w)}}},[y._t("option",[y._v(`
          `+y._s(y.getOptionLabel(w))+`
        `)],null,y.normalizeOptionForSlot(w))],2)}),y._v(" "),y.filteredOptions.length===0?C("li",{staticClass:"vs__no-options"},[y._t("no-options",[y._v(`
          Sorry, no matching options.
        `)],null,y.scope.noOptions)],2):y._e(),y._v(" "),y._t("list-footer",null,null,y.scope.listFooter)],2):C("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+y.uid+"__listbox",role:"listbox"}})]),y._v(" "),y._t("footer",null,null,y.scope.footer)],2)},[],!1,null,null,null).exports,P={ajax:g,pointer:p,pointerScroll:h},k=T})(),a})()})})(i4);var cce=i4.exports;const vPe=vn(cce);var Qv={exports:{}};Qv.exports;(function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",a=1,s=2,o=1/0,u=9007199254740991,l="[object Arguments]",c="[object Array]",d="[object Boolean]",h="[object Date]",p="[object Error]",g="[object Function]",_="[object GeneratorFunction]",O="[object Map]",S="[object Number]",E="[object Object]",x="[object Promise]",f="[object RegExp]",m="[object Set]",v="[object String]",T="[object Symbol]",P="[object WeakMap]",k="[object ArrayBuffer]",y="[object DataView]",M="[object Float32Array]",C="[object Float64Array]",w="[object Int8Array]",$="[object Int16Array]",D="[object Int32Array]",A="[object Uint8Array]",L="[object Uint8ClampedArray]",F="[object Uint16Array]",j="[object Uint32Array]",H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,Z=/^\./,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,W=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,ae={};ae[M]=ae[C]=ae[w]=ae[$]=ae[D]=ae[A]=ae[L]=ae[F]=ae[j]=!0,ae[l]=ae[c]=ae[k]=ae[d]=ae[y]=ae[h]=ae[p]=ae[g]=ae[O]=ae[S]=ae[E]=ae[f]=ae[m]=ae[v]=ae[P]=!1;var be=typeof we=="object"&&we&&we.Object===Object&&we,$e=typeof self=="object"&&self&&self.Object===Object&&self,Se=be||$e||Function("return this")(),wt=e&&!e.nodeType&&e,Vt=wt&&!0&&t&&!t.nodeType&&t,Qa=Vt&&Vt.exports===wt,Tu=Qa&&be.process,Eu=function(){try{return Tu&&Tu.binding("util")}catch{}}(),Dc=Eu&&Eu.isTypedArray;function cb(I,z){var J=I?I.length:0;return!!J&&Ah(I,z,0)>-1}function db(I,z,J){for(var re=-1,Ce=I?I.length:0;++re<Ce;)if(J(z,I[re]))return!0;return!1}function Pu(I,z){for(var J=-1,re=I?I.length:0;++J<re;)if(z(I[J],J,I))return!0;return!1}function Rc(I,z,J,re){for(var Ce=I.length,he=J+(re?1:-1);re?he--:++he<Ce;)if(z(I[he],he,I))return he;return-1}function Ah(I,z,J){if(z!==z)return Rc(I,Mh,J);for(var re=J-1,Ce=I.length;++re<Ce;)if(I[re]===z)return re;return-1}function Mh(I){return I!==I}function Bi(I){return function(z){return z==null?void 0:z[I]}}function Cu(I,z){for(var J=-1,re=Array(I);++J<I;)re[J]=z(J);return re}function fb(I){return function(z){return I(z)}}function kh(I,z){return I.has(z)}function Dh(I,z){return I==null?void 0:I[z]}function $u(I){var z=!1;if(I!=null&&typeof I.toString!="function")try{z=!!(I+"")}catch{}return z}function hb(I){var z=-1,J=Array(I.size);return I.forEach(function(re,Ce){J[++z]=[Ce,re]}),J}function pb(I,z){return function(J){return I(z(J))}}function Ic(I){var z=-1,J=Array(I.size);return I.forEach(function(re){J[++z]=re}),J}var mb=Array.prototype,Rh=Function.prototype,Au=Object.prototype,Lc=Se["__core-js_shared__"],Mu=function(){var I=/[^.]+$/.exec(Lc&&Lc.keys&&Lc.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),es=Rh.toString,gn=Au.hasOwnProperty,Fi=Au.toString,Nc=RegExp("^"+es.call(gn).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ts=Se.Symbol,Ih=Se.Uint8Array,vb=Au.propertyIsEnumerable,gb=mb.splice,bb=pb(Object.keys,Object),Bc=ba(Se,"DataView"),rs=ba(Se,"Map"),ku=ba(Se,"Promise"),Zr=ba(Se,"Set"),Fc=ba(Se,"WeakMap"),oo=ba(Object,"create"),_b=ee(Bc),yb=ee(rs),wb=ee(ku),ui=ee(Zr),Ob=ee(Fc),Du=ts?ts.prototype:void 0,jc=Du?Du.valueOf:void 0,Lh=Du?Du.toString:void 0;function va(I){var z=-1,J=I?I.length:0;for(this.clear();++z<J;){var re=I[z];this.set(re[0],re[1])}}function ns(){this.__data__=oo?oo(null):{}}function Sb(I){return this.has(I)&&delete this.__data__[I]}function xb(I){var z=this.__data__;if(oo){var J=z[I];return J===i?void 0:J}return gn.call(z,I)?z[I]:void 0}function Tb(I){var z=this.__data__;return oo?z[I]!==void 0:gn.call(z,I)}function Eb(I,z){var J=this.__data__;return J[I]=oo&&z===void 0?i:z,this}va.prototype.clear=ns,va.prototype.delete=Sb,va.prototype.get=xb,va.prototype.has=Tb,va.prototype.set=Eb;function li(I){var z=-1,J=I?I.length:0;for(this.clear();++z<J;){var re=I[z];this.set(re[0],re[1])}}function is(){this.__data__=[]}function Pb(I){var z=this.__data__,J=Iu(z,I);if(J<0)return!1;var re=z.length-1;return J==re?z.pop():gb.call(z,J,1),!0}function Cb(I){var z=this.__data__,J=Iu(z,I);return J<0?void 0:z[J][1]}function $b(I){return Iu(this.__data__,I)>-1}function Ab(I,z){var J=this.__data__,re=Iu(J,I);return re<0?J.push([I,z]):J[re][1]=z,this}li.prototype.clear=is,li.prototype.delete=Pb,li.prototype.get=Cb,li.prototype.has=$b,li.prototype.set=Ab;function ci(I){var z=-1,J=I?I.length:0;for(this.clear();++z<J;){var re=I[z];this.set(re[0],re[1])}}function Mb(){this.__data__={hash:new va,map:new(rs||li),string:new va}}function Nh(I){return Bu(this,I).delete(I)}function Ru(I){return Bu(this,I).get(I)}function kb(I){return Bu(this,I).has(I)}function zc(I,z){return Bu(this,I).set(I,z),this}ci.prototype.clear=Mb,ci.prototype.delete=Nh,ci.prototype.get=Ru,ci.prototype.has=kb,ci.prototype.set=zc;function uo(I){var z=-1,J=I?I.length:0;for(this.__data__=new ci;++z<J;)this.add(I[z])}function Db(I){return this.__data__.set(I,i),this}function Rb(I){return this.__data__.has(I)}uo.prototype.add=uo.prototype.push=Db,uo.prototype.has=Rb;function di(I){this.__data__=new li(I)}function Ib(){this.__data__=new li}function Lb(I){return this.__data__.delete(I)}function Hc(I){return this.__data__.get(I)}function Nb(I){return this.__data__.has(I)}function Bb(I,z){var J=this.__data__;if(J instanceof li){var re=J.__data__;if(!rs||re.length<r-1)return re.push([I,z]),this;J=this.__data__=new ci(re)}return J.set(I,z),this}di.prototype.clear=Ib,di.prototype.delete=Lb,di.prototype.get=Hc,di.prototype.has=Nb,di.prototype.set=Bb;function Fb(I,z){var J=jt(I)||Fr(I)?Cu(I.length,String):[],re=J.length,Ce=!!re;for(var he in I)(z||gn.call(I,he))&&!(Ce&&(he=="length"||Uc(he,re)))&&J.push(he);return J}function Iu(I,z){for(var J=I.length;J--;)if(ur(I[J][0],z))return J;return-1}function Bh(I,z){z=Fu(z,I)?[z]:jh(z);for(var J=0,re=z.length;I!=null&&J<re;)I=I[q(z[J++])];return J&&J==re?I:void 0}function jb(I){return Fi.call(I)}function zb(I,z){return I!=null&&z in Object(I)}function Lu(I,z,J,re,Ce){return I===z?!0:I==null||z==null||!lo(I)&&!os(z)?I!==I&&z!==z:Hb(I,z,Lu,J,re,Ce)}function Hb(I,z,J,re,Ce,he){var Qe=jt(I),rt=jt(z),at=c,Ut=c;Qe||(at=zi(I),at=at==l?E:at),rt||(Ut=zi(z),Ut=Ut==l?E:Ut);var kt=at==E&&!$u(I),Gt=Ut==E&&!$u(z),Wt=at==Ut;if(Wt&&!kt)return he||(he=new di),Qe||V5(I)?ji(I,z,J,re,Ce,he):qb(I,z,at,J,re,Ce,he);if(!(Ce&s)){var zn=kt&&gn.call(I,"__wrapped__"),Hn=Gt&&gn.call(z,"__wrapped__");if(zn||Hn){var ls=zn?I.value():I,_a=Hn?z.value():z;return he||(he=new di),J(ls,_a,re,Ce,he)}}return Wt?(he||(he=new di),Hh(I,z,J,re,Ce,he)):!1}function Vb(I,z,J,re){var Ce=J.length,he=Ce,Qe=!re;if(I==null)return!he;for(I=Object(I);Ce--;){var rt=J[Ce];if(Qe&&rt[2]?rt[1]!==I[rt[0]]:!(rt[0]in I))return!1}for(;++Ce<he;){rt=J[Ce];var at=rt[0],Ut=I[at],kt=rt[1];if(Qe&&rt[2]){if(Ut===void 0&&!(at in I))return!1}else{var Gt=new di;if(re)var Wt=re(Ut,kt,at,I,z,Gt);if(!(Wt===void 0?Lu(kt,Ut,re,a|s,Gt):Wt))return!1}}return!0}function Nu(I){if(!lo(I)||Zb(I))return!1;var z=Yc(I)||$u(I)?Nc:U;return z.test(ee(I))}function as(I){return os(I)&&zu(I.length)&&!!ae[Fi.call(I)]}function Fh(I){return typeof I=="function"?I:I==null?Y5:typeof I=="object"?jt(I)?Gb(I[0],I[1]):Ub(I):q5(I)}function ga(I){if(!Gc(I))return bb(I);var z=[];for(var J in Object(I))gn.call(I,J)&&J!="constructor"&&z.push(J);return z}function Ub(I){var z=Vc(I);return z.length==1&&z[0][2]?Uh(z[0][0],z[0][1]):function(J){return J===I||Vb(J,I,z)}}function Gb(I,z){return Fu(I)&&Vh(z)?Uh(q(I),z):function(J){var re=G5(J,I);return re===void 0&&re===z?W5(J,I):Lu(z,re,void 0,a|s)}}function Wb(I){return function(z){return Bh(z,I)}}function Yb(I){if(typeof I=="string")return I;if(us(I))return Lh?Lh.call(I):"";var z=I+"";return z=="0"&&1/I==-o?"-0":z}function Kb(I,z,J){var re=-1,Ce=cb,he=I.length,Qe=!0,rt=[],at=rt;if(J)Qe=!1,Ce=db;else if(he>=r){var Ut=z?null:zh(I);if(Ut)return Ic(Ut);Qe=!1,Ce=kh,at=new uo}else at=z?[]:rt;e:for(;++re<he;){var kt=I[re],Gt=z?z(kt):kt;if(kt=J||kt!==0?kt:0,Qe&&Gt===Gt){for(var Wt=at.length;Wt--;)if(at[Wt]===Gt)continue e;z&&at.push(Gt),rt.push(kt)}else Ce(at,Gt,J)||(at!==rt&&at.push(Gt),rt.push(kt))}return rt}function jh(I){return jt(I)?I:B(I)}var zh=Zr&&1/Ic(new Zr([,-0]))[1]==o?function(I){return new Zr(I)}:K5;function ji(I,z,J,re,Ce,he){var Qe=Ce&s,rt=I.length,at=z.length;if(rt!=at&&!(Qe&&at>rt))return!1;var Ut=he.get(I);if(Ut&&he.get(z))return Ut==z;var kt=-1,Gt=!0,Wt=Ce&a?new uo:void 0;for(he.set(I,z),he.set(z,I);++kt<rt;){var zn=I[kt],Hn=z[kt];if(re)var ls=Qe?re(Hn,zn,kt,z,I,he):re(zn,Hn,kt,I,z,he);if(ls!==void 0){if(ls)continue;Gt=!1;break}if(Wt){if(!Pu(z,function(_a,co){if(!Wt.has(co)&&(zn===_a||J(zn,_a,re,Ce,he)))return Wt.add(co)})){Gt=!1;break}}else if(!(zn===Hn||J(zn,Hn,re,Ce,he))){Gt=!1;break}}return he.delete(I),he.delete(z),Gt}function qb(I,z,J,re,Ce,he,Qe){switch(J){case y:if(I.byteLength!=z.byteLength||I.byteOffset!=z.byteOffset)return!1;I=I.buffer,z=z.buffer;case k:return!(I.byteLength!=z.byteLength||!re(new Ih(I),new Ih(z)));case d:case h:case S:return ur(+I,+z);case p:return I.name==z.name&&I.message==z.message;case f:case v:return I==z+"";case O:var rt=hb;case m:var at=he&s;if(rt||(rt=Ic),I.size!=z.size&&!at)return!1;var Ut=Qe.get(I);if(Ut)return Ut==z;he|=a,Qe.set(I,z);var kt=ji(rt(I),rt(z),re,Ce,he,Qe);return Qe.delete(I),kt;case T:if(jc)return jc.call(I)==jc.call(z)}return!1}function Hh(I,z,J,re,Ce,he){var Qe=Ce&s,rt=Jb(I),at=rt.length,Ut=Jb(z),kt=Ut.length;if(at!=kt&&!Qe)return!1;for(var Gt=at;Gt--;){var Wt=rt[Gt];if(!(Qe?Wt in z:gn.call(z,Wt)))return!1}var zn=he.get(I);if(zn&&he.get(z))return zn==z;var Hn=!0;he.set(I,z),he.set(z,I);for(var ls=Qe;++Gt<at;){Wt=rt[Gt];var _a=I[Wt],co=z[Wt];if(re)var BT=Qe?re(co,_a,Wt,z,I,he):re(_a,co,Wt,I,z,he);if(!(BT===void 0?_a===co||J(_a,co,re,Ce,he):BT)){Hn=!1;break}ls||(ls=Wt=="constructor")}if(Hn&&!ls){var Gh=I.constructor,Wh=z.constructor;Gh!=Wh&&"constructor"in I&&"constructor"in z&&!(typeof Gh=="function"&&Gh instanceof Gh&&typeof Wh=="function"&&Wh instanceof Wh)&&(Hn=!1)}return he.delete(I),he.delete(z),Hn}function Bu(I,z){var J=I.__data__;return ju(z)?J[typeof z=="string"?"string":"hash"]:J.map}function Vc(I){for(var z=Jb(I),J=z.length;J--;){var re=z[J],Ce=I[re];z[J]=[re,Ce,Vh(Ce)]}return z}function ba(I,z){var J=Dh(I,z);return Nu(J)?J:void 0}var zi=jb;(Bc&&zi(new Bc(new ArrayBuffer(1)))!=y||rs&&zi(new rs)!=O||ku&&zi(ku.resolve())!=x||Zr&&zi(new Zr)!=m||Fc&&zi(new Fc)!=P)&&(zi=function(I){var z=Fi.call(I),J=z==E?I.constructor:void 0,re=J?ee(J):void 0;if(re)switch(re){case _b:return y;case yb:return O;case wb:return x;case ui:return m;case Ob:return P}return z});function Xb(I,z,J){z=Fu(z,I)?[z]:jh(z);for(var re,Ce=-1,Qe=z.length;++Ce<Qe;){var he=q(z[Ce]);if(!(re=I!=null&&J(I,he)))break;I=I[he]}if(re)return re;var Qe=I?I.length:0;return!!Qe&&zu(Qe)&&Uc(he,Qe)&&(jt(I)||Fr(I))}function Uc(I,z){return z=z??u,!!z&&(typeof I=="number"||K.test(I))&&I>-1&&I%1==0&&I<z}function Fu(I,z){if(jt(I))return!1;var J=typeof I;return J=="number"||J=="symbol"||J=="boolean"||I==null||us(I)?!0:G.test(I)||!H.test(I)||z!=null&&I in Object(z)}function ju(I){var z=typeof I;return z=="string"||z=="number"||z=="symbol"||z=="boolean"?I!=="__proto__":I===null}function Zb(I){return!!Mu&&Mu in I}function Gc(I){var z=I&&I.constructor,J=typeof z=="function"&&z.prototype||Au;return I===J}function Vh(I){return I===I&&!lo(I)}function Uh(I,z){return function(J){return J==null?!1:J[I]===z&&(z!==void 0||I in Object(J))}}var B=Ft(function(I){I=U5(I);var z=[];return Z.test(I)&&z.push(""),I.replace(te,function(J,re,Ce,he){z.push(Ce?he.replace(W,"$1"):re||J)}),z});function q(I){if(typeof I=="string"||us(I))return I;var z=I+"";return z=="0"&&1/I==-o?"-0":z}function ee(I){if(I!=null){try{return es.call(I)}catch{}try{return I+""}catch{}}return""}function de(I,z){return I&&I.length?Kb(I,Fh(z)):[]}function Ft(I,z){if(typeof I!="function"||z&&typeof z!="function")throw new TypeError(n);var J=function(){var re=arguments,Ce=z?z.apply(this,re):re[0],he=J.cache;if(he.has(Ce))return he.get(Ce);var Qe=I.apply(this,re);return J.cache=he.set(Ce,Qe),Qe};return J.cache=new(Ft.Cache||ci),J}Ft.Cache=ci;function ur(I,z){return I===z||I!==I&&z!==z}function Fr(I){return ss(I)&&gn.call(I,"callee")&&(!vb.call(I,"callee")||Fi.call(I)==l)}var jt=Array.isArray;function Wc(I){return I!=null&&zu(I.length)&&!Yc(I)}function ss(I){return os(I)&&Wc(I)}function Yc(I){var z=lo(I)?Fi.call(I):"";return z==g||z==_}function zu(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=u}function lo(I){var z=typeof I;return!!I&&(z=="object"||z=="function")}function os(I){return!!I&&typeof I=="object"}function us(I){return typeof I=="symbol"||os(I)&&Fi.call(I)==T}var V5=Dc?fb(Dc):as;function U5(I){return I==null?"":Yb(I)}function G5(I,z,J){var re=I==null?void 0:Bh(I,z);return re===void 0?J:re}function W5(I,z){return I!=null&&Xb(I,z,zb)}function Jb(I){return Wc(I)?Fb(I):ga(I)}function Y5(I){return I}function K5(){}function q5(I){return Fu(I)?Bi(q(I)):Wb(I)}t.exports=de})(Qv,Qv.exports);var dce=Qv.exports;const gPe=vn(dce),fce={"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 hce=fce;const bPe=vn(hce);var a4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(we,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,s){var o,u=function(h,p,g){g===void 0&&(g={});var _=new Date(h),O=function(S,E){E===void 0&&(E={});var x=E.timeZoneName||"short",f=S+"|"+x,m=n[f];return m||(m=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),n[f]=m),m}(p,g);return O.formatToParts(_)},l=function(h,p){for(var g=u(h,p),_=[],O=0;O<g.length;O+=1){var S=g[O],E=S.type,x=S.value,f=r[E];f>=0&&(_[f]=parseInt(x,10))}var m=_[3],v=m===24?0:m,T=_[0]+"-"+_[1]+"-"+_[2]+" "+v+":"+_[4]+":"+_[5]+":000",P=+h;return(s.utc(T).valueOf()-(P-=P%1e3))/6e4},c=a.prototype;c.tz=function(h,p){h===void 0&&(h=o);var g=this.utcOffset(),_=this.toDate(),O=_.toLocaleString("en-US",{timeZone:h}),S=Math.round((_-new Date(O))/1e3/60),E=s(O).$set("millisecond",this.$ms).utcOffset(15*-Math.round(_.getTimezoneOffset()/15)-S,!0);if(p){var x=E.utcOffset();E=E.add(g-x,"minute")}return E.$x.$timezone=h,E},c.offsetName=function(h){var p=this.$x.$timezone||s.tz.guess(),g=u(this.valueOf(),p,{timeZoneName:h}).find(function(_){return _.type.toLowerCase()==="timezonename"});return g&&g.value};var d=c.startOf;c.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return d.call(this,h,p);var g=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return d.call(g,h,p).tz(this.$x.$timezone,!0)},s.tz=function(h,p,g){var _=g&&p,O=g||p||o,S=l(+s(),O);if(typeof h!="string")return s(h).tz(O);var E=function(v,T,P){var k=v-60*T*1e3,y=l(k,P);if(T===y)return[k,T];var M=l(k-=60*(y-T)*1e3,P);return y===M?[k,y]:[v-60*Math.min(y,M)*1e3,Math.max(y,M)]}(s.utc(h,_).valueOf(),S,O),x=E[0],f=E[1],m=s(x).utcOffset(f);return m.$x.$timezone=O,m},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(h){o=h}}})})(a4);var pce=a4.exports;const _Pe=vn(pce);var s4={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(we,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,o){var u=s.prototype;o.utc=function(_){var O={date:_,utc:!0,args:arguments};return new s(O)},u.utc=function(_){var O=o(this.toDate(),{locale:this.$L,utc:!0});return _?O.add(this.utcOffset(),r):O},u.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(_){_.utc&&(this.$u=!0),this.$utils().u(_.$offset)||(this.$offset=_.$offset),l.call(this,_)};var c=u.init;u.init=function(){if(this.$u){var _=this.$d;this.$y=_.getUTCFullYear(),this.$M=_.getUTCMonth(),this.$D=_.getUTCDate(),this.$W=_.getUTCDay(),this.$H=_.getUTCHours(),this.$m=_.getUTCMinutes(),this.$s=_.getUTCSeconds(),this.$ms=_.getUTCMilliseconds()}else c.call(this)};var d=u.utcOffset;u.utcOffset=function(_,O){var S=this.$utils().u;if(S(_))return this.$u?0:S(this.$offset)?d.call(this):this.$offset;if(typeof _=="string"&&(_=function(m){m===void 0&&(m="");var v=m.match(n);if(!v)return null;var T=(""+v[0]).match(i)||["-",0,0],P=T[0],k=60*+T[1]+ +T[2];return k===0?0:P==="+"?k:-k}(_),_===null))return this;var E=Math.abs(_)<=16?60*_:_,x=this;if(O)return x.$offset=E,x.$u=_===0,x;if(_!==0){var f=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(E+f,r)).$offset=E,x.$x.$localOffset=f}else x=this.utc();return x};var h=u.format;u.format=function(_){var O=_||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,O)},u.valueOf=function(){var _=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*_},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(_){return _==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=u.diff;u.diff=function(_,O,S){if(_&&this.$u===_.$u)return g.call(this,_,O,S);var E=this.local(),x=o(_).local();return g.call(E,x,O,S)}}})})(s4);var mce=s4.exports;const yPe=vn(mce);/*!
 * Chart.js v3.9.1
 * https://www.chartjs.org
 * (c) 2022 Chart.js Contributors
 * Released under the MIT License
 */function Oa(){}const vce=function(){let t=0;return function(){return t++}}();function We(t){return t===null||typeof t>"u"}function _t(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 ze(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}const Qt=t=>(typeof t=="number"||t instanceof Number)&&isFinite(+t);function Yn(t,e){return Qt(t)?t:e}function Re(t,e){return typeof t>"u"?e:t}const gce=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:t/e,o4=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function gt(t,e,r){if(t&&typeof t.call=="function")return t.apply(r,e)}function ot(t,e,r,n){let i,a,s;if(_t(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(ze(t))for(s=Object.keys(t),a=s.length,i=0;i<a;i++)e.call(r,t[s[i]],s[i])}function eg(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 tg(t){if(_t(t))return t.map(tg);if(ze(t)){const e=Object.create(null),r=Object.keys(t),n=r.length;let i=0;for(;i<n;++i)e[r[i]]=tg(t[r[i]]);return e}return t}function u4(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function bce(t,e,r,n){if(!u4(t))return;const i=e[t],a=r[t];ze(i)&&ze(a)?Gf(i,a,n):e[t]=tg(a)}function Gf(t,e,r){const n=_t(e)?e:[e],i=n.length;if(!ze(t))return t;r=r||{};const a=r.merger||bce;for(let s=0;s<i;++s){if(e=n[s],!ze(e))continue;const o=Object.keys(e);for(let u=0,l=o.length;u<l;++u)a(o[u],t,e,r)}return t}function vf(t,e){return Gf(t,e,{merger:_ce})}function _ce(t,e,r){if(!u4(t))return;const n=e[t],i=r[t];ze(n)&&ze(i)?vf(n,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=tg(i))}const Xk={"":t=>t,x:t=>t.x,y:t=>t.y};function Xs(t,e){return(Xk[e]||(Xk[e]=yce(e)))(t)}function yce(t){const e=wce(t);return r=>{for(const n of e){if(n==="")break;r=r&&r[n]}return r}}function wce(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 Cx(t){return t.charAt(0).toUpperCase()+t.slice(1)}const si=t=>typeof t<"u",Zs=t=>typeof t=="function",Zk=(t,e)=>{if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0};function Oce(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const $t=Math.PI,ut=2*$t,Sce=ut+$t,rg=Number.POSITIVE_INFINITY,xce=$t/180,zt=$t/2,vd=$t/4,Jk=$t*2/3,Qn=Math.log10,aa=Math.sign;function Qk(t){const e=Math.round(t);t=gf(t,e,t/1e3)?e:t;const r=Math.pow(10,Math.floor(Qn(t))),n=t/r;return(n<=1?1:n<=2?2:n<=5?5:10)*r}function Tce(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 uc(t){return!isNaN(parseFloat(t))&&isFinite(t)}function gf(t,e,r){return Math.abs(t-e)<r}function Ece(t,e){const r=Math.round(t);return r-e<=t&&r+e>=t}function l4(t,e,r){let n,i,a;for(n=0,i=t.length;n<i;n++)a=t[n][r],isNaN(a)||(e.min=Math.min(e.min,a),e.max=Math.max(e.max,a))}function mi(t){return t*($t/180)}function $x(t){return t*(180/$t)}function eD(t){if(!Qt(t))return;let e=1,r=0;for(;Math.round(t*e)/e!==t;)e*=10,r++;return r}function c4(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*$t&&(a+=ut),{angle:a,distance:i}}function G1(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Pce(t,e){return(t-e+Sce)%ut-$t}function Tn(t){return(t%ut+ut)%ut}function Wf(t,e,r,n){const i=Tn(t),a=Tn(e),s=Tn(r),o=Tn(a-i),u=Tn(s-i),l=Tn(i-a),c=Tn(i-s);return i===a||i===s||n&&a===s||o>u&&l<c}function vr(t,e,r){return Math.max(e,Math.min(r,t))}function Cce(t){return vr(t,-32768,32767)}function Ba(t,e,r,n=1e-6){return t>=Math.min(e,r)-n&&t<=Math.max(e,r)+n}function Ax(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 Fa=(t,e,r,n)=>Ax(t,r,n?i=>t[i][e]<=r:i=>t[i][e]<r),$ce=(t,e,r)=>Ax(t,r,n=>t[n][e]>=r);function Ace(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 d4=["push","pop","shift","splice","unshift"];function Mce(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),d4.forEach(r=>{const n="_onData"+Cx(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 tD(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)&&(d4.forEach(a=>{delete t[a]}),delete t._chartjs)}function f4(t){const e=new Set;let r,n;for(r=0,n=t.length;r<n;++r)e.add(t[r]);return e.size===n?t:Array.from(e)}const h4=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function p4(t,e,r){const n=r||(s=>Array.prototype.slice.call(s));let i=!1,a=[];return function(...s){a=n(s),i||(i=!0,h4.call(window,()=>{i=!1,t.apply(e,a)}))}}function kce(t,e){let r;return function(...n){return e?(clearTimeout(r),r=setTimeout(t,e,n)):t.apply(this,n),e}}const Mx=t=>t==="start"?"left":t==="end"?"right":"center",Pr=(t,e,r)=>t==="start"?e:t==="end"?r:(e+r)/2,Dce=(t,e,r,n)=>t===(n?"left":"right")?r:t==="center"?(e+r)/2:e;function m4(t,e,r){const n=e.length;let i=0,a=n;if(t._sorted){const{iScale:s,_parsed:o}=t,u=s.axis,{min:l,max:c,minDefined:d,maxDefined:h}=s.getUserBounds();d&&(i=vr(Math.min(Fa(o,s.axis,l).lo,r?n:Fa(e,u,s.getPixelForValue(l)).lo),0,n-1)),h?a=vr(Math.max(Fa(o,s.axis,c,!0).hi+1,r?0:Fa(e,u,s.getPixelForValue(c),!0).hi+1),i,n)-i:a=n-i}return{start:i,count:a}}function v4(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 kp=t=>t===0||t===1,rD=(t,e,r)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*ut/r)),nD=(t,e,r)=>Math.pow(2,-10*t)*Math.sin((t-e)*ut/r)+1,bf={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*zt)+1,easeOutSine:t=>Math.sin(t*zt),easeInOutSine:t=>-.5*(Math.cos($t*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=>kp(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=>kp(t)?t:rD(t,.075,.3),easeOutElastic:t=>kp(t)?t:nD(t,.075,.3),easeInOutElastic(t){return kp(t)?t:t<.5?.5*rD(t*2,.1125,.45):.5+.5*nD(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-bf.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?bf.easeInBounce(t*2)*.5:bf.easeOutBounce(t*2-1)*.5+.5};/*!
 * @kurkle/color v0.2.1
 * https://github.com/kurkle/color#readme
 * (c) 2022 Jukka Kurkela
 * Released under the MIT License
 */function bh(t){return t+.5|0}const Ts=(t,e,r)=>Math.max(Math.min(t,r),e);function qd(t){return Ts(bh(t*2.55),0,255)}function Ns(t){return Ts(bh(t*255),0,255)}function Aa(t){return Ts(bh(t/2.55)/100,0,1)}function iD(t){return Ts(bh(t*100),0,100)}const Un={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},W1=[..."0123456789ABCDEF"],Rce=t=>W1[t&15],Ice=t=>W1[(t&240)>>4]+W1[t&15],Dp=t=>(t&240)>>4===(t&15),Lce=t=>Dp(t.r)&&Dp(t.g)&&Dp(t.b)&&Dp(t.a);function Nce(t){var e=t.length,r;return t[0]==="#"&&(e===4||e===5?r={r:255&Un[t[1]]*17,g:255&Un[t[2]]*17,b:255&Un[t[3]]*17,a:e===5?Un[t[4]]*17:255}:(e===7||e===9)&&(r={r:Un[t[1]]<<4|Un[t[2]],g:Un[t[3]]<<4|Un[t[4]],b:Un[t[5]]<<4|Un[t[6]],a:e===9?Un[t[7]]<<4|Un[t[8]]:255})),r}const Bce=(t,e)=>t<255?e(t):"";function Fce(t){var e=Lce(t)?Rce:Ice;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Bce(t.a,e):void 0}const jce=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function g4(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 zce(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 Hce(t,e,r){const n=g4(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 Vce(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 kx(t){const r=t.r/255,n=t.g/255,i=t.b/255,a=Math.max(r,n,i),s=Math.min(r,n,i),o=(a+s)/2;let u,l,c;return a!==s&&(c=a-s,l=o>.5?c/(2-a-s):c/(a+s),u=Vce(r,n,i,c,a),u=u*60+.5),[u|0,l||0,o]}function Dx(t,e,r,n){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,r,n)).map(Ns)}function Rx(t,e,r){return Dx(g4,t,e,r)}function Uce(t,e,r){return Dx(Hce,t,e,r)}function Gce(t,e,r){return Dx(zce,t,e,r)}function b4(t){return(t%360+360)%360}function Wce(t){const e=jce.exec(t);let r=255,n;if(!e)return;e[5]!==n&&(r=e[6]?qd(+e[5]):Ns(+e[5]));const i=b4(+e[2]),a=+e[3]/100,s=+e[4]/100;return e[1]==="hwb"?n=Uce(i,a,s):e[1]==="hsv"?n=Gce(i,a,s):n=Rx(i,a,s),{r:n[0],g:n[1],b:n[2],a:r}}function Yce(t,e){var r=kx(t);r[0]=b4(r[0]+e),r=Rx(r),t.r=r[0],t.g=r[1],t.b=r[2]}function Kce(t){if(!t)return;const e=kx(t),r=e[0],n=iD(e[1]),i=iD(e[2]);return t.a<255?`hsla(${r}, ${n}%, ${i}%, ${Aa(t.a)})`:`hsl(${r}, ${n}%, ${i}%)`}const aD={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"},sD={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 qce(){const t={},e=Object.keys(sD),r=Object.keys(aD);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,aD[a]);a=parseInt(sD[s],16),t[o]=[a>>16&255,a>>8&255,a&255]}return t}let Rp;function Xce(t){Rp||(Rp=qce(),Rp.transparent=[0,0,0,0]);const e=Rp[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const Zce=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Jce(t){const e=Zce.exec(t);let r=255,n,i,a;if(e){if(e[7]!==n){const s=+e[7];r=e[8]?qd(s):Ts(s*255,0,255)}return n=+e[1],i=+e[3],a=+e[5],n=255&(e[2]?qd(n):Ts(n,0,255)),i=255&(e[4]?qd(i):Ts(i,0,255)),a=255&(e[6]?qd(a):Ts(a,0,255)),{r:n,g:i,b:a,a:r}}}function Qce(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Aa(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const gy=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,nl=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function ede(t,e,r){const n=nl(Aa(t.r)),i=nl(Aa(t.g)),a=nl(Aa(t.b));return{r:Ns(gy(n+r*(nl(Aa(e.r))-n))),g:Ns(gy(i+r*(nl(Aa(e.g))-i))),b:Ns(gy(a+r*(nl(Aa(e.b))-a))),a:t.a+r*(e.a-t.a)}}function Ip(t,e,r){if(t){let n=kx(t);n[e]=Math.max(0,Math.min(n[e]+n[e]*r,e===0?360:1)),n=Rx(n),t.r=n[0],t.g=n[1],t.b=n[2]}}function _4(t,e){return t&&Object.assign(e||{},t)}function oD(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=Ns(t[3]))):(e=_4(t,{r:0,g:0,b:0,a:1}),e.a=Ns(e.a)),e}function tde(t){return t.charAt(0)==="r"?Jce(t):Wce(t)}class ng{constructor(e){if(e instanceof ng)return e;const r=typeof e;let n;r==="object"?n=oD(e):r==="string"&&(n=Nce(e)||Xce(e)||tde(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=_4(this._rgb);return e&&(e.a=Aa(e.a)),e}set rgb(e){this._rgb=oD(e)}rgbString(){return this._valid?Qce(this._rgb):void 0}hexString(){return this._valid?Fce(this._rgb):void 0}hslString(){return this._valid?Kce(this._rgb):void 0}mix(e,r){if(e){const n=this.rgb,i=e.rgb;let a;const s=r===a?.5:r,o=2*s-1,u=n.a-i.a,l=((o*u===-1?o:(o+u)/(1+o*u))+1)/2;a=1-l,n.r=255&l*n.r+a*i.r+.5,n.g=255&l*n.g+a*i.g+.5,n.b=255&l*n.b+a*i.b+.5,n.a=s*n.a+(1-s)*i.a,this.rgb=n}return this}interpolate(e,r){return e&&(this._rgb=ede(this._rgb,e._rgb,r)),this}clone(){return new ng(this.rgb)}alpha(e){return this._rgb.a=Ns(e),this}clearer(e){const r=this._rgb;return r.a*=1-e,this}greyscale(){const e=this._rgb,r=bh(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 Ip(this._rgb,2,e),this}darken(e){return Ip(this._rgb,2,-e),this}saturate(e){return Ip(this._rgb,1,e),this}desaturate(e){return Ip(this._rgb,1,-e),this}rotate(e){return Yce(this._rgb,e),this}}function y4(t){return new ng(t)}function w4(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function uD(t){return w4(t)?t:y4(t)}function by(t){return w4(t)?t:y4(t).saturate(.5).darken(.1).hexString()}const lu=Object.create(null),Y1=Object.create(null);function _f(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 _y(t,e,r){return typeof e=="string"?Gf(_f(t,e),r):Gf(_f(t,""),e)}class rde{constructor(e){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=r=>r.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=(r,n)=>by(n.backgroundColor),this.hoverBorderColor=(r,n)=>by(n.borderColor),this.hoverColor=(r,n)=>by(n.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)}set(e,r){return _y(this,e,r)}get(e){return _f(this,e)}describe(e,r){return _y(Y1,e,r)}override(e,r){return _y(lu,e,r)}route(e,r,n,i){const a=_f(this,e),s=_f(this,n),o="_"+r;Object.defineProperties(a,{[o]:{value:a[r],writable:!0},[r]:{enumerable:!0,get(){const u=this[o],l=s[i];return ze(u)?Object.assign({},l,u):Re(u,l)},set(u){this[o]=u}}})}}var Ue=new rde({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function nde(t){return!t||We(t.size)||We(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function ig(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 ide(t,e,r,n){n=n||{};let i=n.data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(i=n.data={},a=n.garbageCollect=[],n.font=e),t.save(),t.font=e;let s=0;const o=r.length;let u,l,c,d,h;for(u=0;u<o;u++)if(d=r[u],d!=null&&_t(d)!==!0)s=ig(t,i,a,s,d);else if(_t(d))for(l=0,c=d.length;l<c;l++)h=d[l],h!=null&&!_t(h)&&(s=ig(t,i,a,s,h));t.restore();const p=a.length/2;if(p>r.length){for(u=0;u<p;u++)delete i[a[u]];a.splice(0,p)}return s}function _o(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 lD(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function K1(t,e,r,n){O4(t,e,r,n,null)}function O4(t,e,r,n,i){let a,s,o,u,l,c;const d=e.pointStyle,h=e.rotation,p=e.radius;let g=(h||0)*xce;if(d&&typeof d=="object"&&(a=d.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){t.save(),t.translate(r,n),t.rotate(g),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),t.restore();return}if(!(isNaN(p)||p<=0)){switch(t.beginPath(),d){default:i?t.ellipse(r,n,i/2,p,0,0,ut):t.arc(r,n,p,0,ut),t.closePath();break;case"triangle":t.moveTo(r+Math.sin(g)*p,n-Math.cos(g)*p),g+=Jk,t.lineTo(r+Math.sin(g)*p,n-Math.cos(g)*p),g+=Jk,t.lineTo(r+Math.sin(g)*p,n-Math.cos(g)*p),t.closePath();break;case"rectRounded":l=p*.516,u=p-l,s=Math.cos(g+vd)*u,o=Math.sin(g+vd)*u,t.arc(r-s,n-o,l,g-$t,g-zt),t.arc(r+o,n-s,l,g-zt,g),t.arc(r+s,n+o,l,g,g+zt),t.arc(r-o,n+s,l,g+zt,g+$t),t.closePath();break;case"rect":if(!h){u=Math.SQRT1_2*p,c=i?i/2:u,t.rect(r-c,n-u,2*c,2*u);break}g+=vd;case"rectRot":s=Math.cos(g)*p,o=Math.sin(g)*p,t.moveTo(r-s,n-o),t.lineTo(r+o,n-s),t.lineTo(r+s,n+o),t.lineTo(r-o,n+s),t.closePath();break;case"crossRot":g+=vd;case"cross":s=Math.cos(g)*p,o=Math.sin(g)*p,t.moveTo(r-s,n-o),t.lineTo(r+s,n+o),t.moveTo(r+o,n-s),t.lineTo(r-o,n+s);break;case"star":s=Math.cos(g)*p,o=Math.sin(g)*p,t.moveTo(r-s,n-o),t.lineTo(r+s,n+o),t.moveTo(r+o,n-s),t.lineTo(r-o,n+s),g+=vd,s=Math.cos(g)*p,o=Math.sin(g)*p,t.moveTo(r-s,n-o),t.lineTo(r+s,n+o),t.moveTo(r+o,n-s),t.lineTo(r-o,n+s);break;case"line":s=i?i/2:Math.cos(g)*p,o=Math.sin(g)*p,t.moveTo(r-s,n-o),t.lineTo(r+s,n+o);break;case"dash":t.moveTo(r,n),t.lineTo(r+Math.cos(g)*p,n+Math.sin(g)*p);break}t.fill(),e.borderWidth>0&&t.stroke()}}function Yf(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 E0(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function P0(t){t.restore()}function ade(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 sde(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 cu(t,e,r,n,i,a={}){const s=_t(e)?e:[e],o=a.strokeWidth>0&&a.strokeColor!=="";let u,l;for(t.save(),t.font=i.string,ode(t,a),u=0;u<s.length;++u)l=s[u],o&&(a.strokeColor&&(t.strokeStyle=a.strokeColor),We(a.strokeWidth)||(t.lineWidth=a.strokeWidth),t.strokeText(l,r,n,a.maxWidth)),t.fillText(l,r,n,a.maxWidth),ude(t,r,n,l,a),n+=i.lineHeight;t.restore()}function ode(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),We(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function ude(t,e,r,n,i){if(i.strikethrough||i.underline){const a=t.measureText(n),s=e-a.actualBoundingBoxLeft,o=e+a.actualBoundingBoxRight,u=r-a.actualBoundingBoxAscent,l=r+a.actualBoundingBoxDescent,c=i.strikethrough?(u+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(s,c),t.lineTo(o,c),t.stroke()}}function Kf(t,e){const{x:r,y:n,w:i,h:a,radius:s}=e;t.arc(r+s.topLeft,n+s.topLeft,s.topLeft,-zt,$t,!0),t.lineTo(r,n+a-s.bottomLeft),t.arc(r+s.bottomLeft,n+a-s.bottomLeft,s.bottomLeft,$t,zt,!0),t.lineTo(r+i-s.bottomRight,n+a),t.arc(r+i-s.bottomRight,n+a-s.bottomRight,s.bottomRight,zt,0,!0),t.lineTo(r+i,n+s.topRight),t.arc(r+i-s.topRight,n+s.topRight,s.topRight,0,-zt,!0),t.lineTo(r+s.topLeft,n)}const lde=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),cde=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function dde(t,e){const r=(""+t).match(lde);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 fde=t=>+t||0;function Ix(t,e){const r={},n=ze(e),i=n?Object.keys(e):e,a=ze(t)?n?s=>Re(t[s],t[e[s]]):s=>t[s]:()=>t;for(const s of i)r[s]=fde(a(s));return r}function S4(t){return Ix(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Uo(t){return Ix(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Br(t){const e=S4(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function ar(t,e){t=t||{},e=e||Ue.font;let r=Re(t.size,e.size);typeof r=="string"&&(r=parseInt(r,10));let n=Re(t.style,e.style);n&&!(""+n).match(cde)&&(console.warn('Invalid font style specified: "'+n+'"'),n="");const i={family:Re(t.family,e.family),lineHeight:dde(Re(t.lineHeight,e.lineHeight),r),size:r,style:n,weight:Re(t.weight,e.weight),string:""};return i.string=nde(i),i}function Xd(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&&_t(o)&&(o=o[r%o.length],i=!1),o!==void 0))return n&&!i&&(n.cacheable=!1),o}function hde(t,e,r){const{min:n,max:i}=t,a=o4(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 no(t,e){return Object.assign(Object.create(t),e)}function Lx(t,e=[""],r=t,n,i=()=>t[0]){si(n)||(n=P4("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:r,_fallback:n,_getTarget:i,override:s=>Lx([s,...t],e,r,n)};return new Proxy(a,{deleteProperty(s,o){return delete s[o],delete s._keys,delete t[0][o],!0},get(s,o){return T4(s,o,()=>wde(o,e,t,s))},getOwnPropertyDescriptor(s,o){return Reflect.getOwnPropertyDescriptor(s._scopes[0],o)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(s,o){return dD(s).includes(o)},ownKeys(s){return dD(s)},set(s,o,u){const l=s._storage||(s._storage=i());return s[o]=l[o]=u,delete s._keys,!0}})}function lc(t,e,r,n){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:r,_stack:new Set,_descriptors:x4(t,n),setContext:a=>lc(t,a,r,n),override:a=>lc(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 T4(a,s,()=>mde(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 x4(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:Zs(r)?r:()=>r,isIndexable:Zs(n)?n:()=>n}}const pde=(t,e)=>t?t+Cx(e):e,Nx=(t,e)=>ze(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function T4(t,e,r){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const n=r();return t[e]=n,n}function mde(t,e,r){const{_proxy:n,_context:i,_subProxy:a,_descriptors:s}=t;let o=n[e];return Zs(o)&&s.isScriptable(e)&&(o=vde(e,o,t,r)),_t(o)&&o.length&&(o=gde(e,o,t,s.isIndexable)),Nx(e,o)&&(o=lc(o,i,a&&a[e],s)),o}function vde(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);return o.add(t),e=e(a,s||n),o.delete(t),Nx(t,e)&&(e=Bx(i._scopes,i,t,e)),e}function gde(t,e,r,n){const{_proxy:i,_context:a,_subProxy:s,_descriptors:o}=r;if(si(a.index)&&n(t))e=e[a.index%e.length];else if(ze(e[0])){const u=e,l=i._scopes.filter(c=>c!==u);e=[];for(const c of u){const d=Bx(l,i,t,c);e.push(lc(d,a,s&&s[t],o))}}return e}function E4(t,e,r){return Zs(t)?t(e,r):t}const bde=(t,e)=>t===!0?e:typeof t=="string"?Xs(e,t):void 0;function _de(t,e,r,n,i){for(const a of e){const s=bde(r,a);if(s){t.add(s);const o=E4(s._fallback,r,i);if(si(o)&&o!==r&&o!==n)return o}else if(s===!1&&si(n)&&r!==n)return null}return!1}function Bx(t,e,r,n){const i=e._rootScopes,a=E4(e._fallback,r,n),s=[...t,...i],o=new Set;o.add(n);let u=cD(o,s,r,a||r,n);return u===null||si(a)&&a!==r&&(u=cD(o,s,a,u,n),u===null)?!1:Lx(Array.from(o),[""],i,a,()=>yde(e,r,n))}function cD(t,e,r,n,i){for(;r;)r=_de(t,e,r,n,i);return r}function yde(t,e,r){const n=t._getTarget();e in n||(n[e]={});const i=n[e];return _t(i)&&ze(r)?r:i}function wde(t,e,r,n){let i;for(const a of e)if(i=P4(pde(a,t),r),si(i))return Nx(t,i)?Bx(r,n,t,i):i}function P4(t,e){for(const r of e){if(!r)continue;const n=r[t];if(si(n))return n}}function dD(t){let e=t._keys;return e||(e=t._keys=Ode(t._scopes)),e}function Ode(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 C4(t,e,r,n){const{iScale:i}=t,{key:a="r"}=this._parsing,s=new Array(n);let o,u,l,c;for(o=0,u=n;o<u;++o)l=o+r,c=e[l],s[o]={r:i.parse(Xs(c,a),l)};return s}const Sde=Number.EPSILON||1e-14,cc=(t,e)=>e<t.length&&!t[e].skip&&t[e],$4=t=>t==="x"?"y":"x";function xde(t,e,r,n){const i=t.skip?e:t,a=e,s=r.skip?e:r,o=G1(a,i),u=G1(s,a);let l=o/(o+u),c=u/(o+u);l=isNaN(l)?0:l,c=isNaN(c)?0:c;const d=n*l,h=n*c;return{previous:{x:a.x-d*(s.x-i.x),y:a.y-d*(s.y-i.y)},next:{x:a.x+h*(s.x-i.x),y:a.y+h*(s.y-i.y)}}}function Tde(t,e,r){const n=t.length;let i,a,s,o,u,l=cc(t,0);for(let c=0;c<n-1;++c)if(u=l,l=cc(t,c+1),!(!u||!l)){if(gf(e[c],0,Sde)){r[c]=r[c+1]=0;continue}i=r[c]/e[c],a=r[c+1]/e[c],o=Math.pow(i,2)+Math.pow(a,2),!(o<=9)&&(s=3/Math.sqrt(o),r[c]=i*s*e[c],r[c+1]=a*s*e[c])}}function Ede(t,e,r="x"){const n=$4(r),i=t.length;let a,s,o,u=cc(t,0);for(let l=0;l<i;++l){if(s=o,o=u,u=cc(t,l+1),!o)continue;const c=o[r],d=o[n];s&&(a=(c-s[r])/3,o[`cp1${r}`]=c-a,o[`cp1${n}`]=d-a*e[l]),u&&(a=(u[r]-c)/3,o[`cp2${r}`]=c+a,o[`cp2${n}`]=d+a*e[l])}}function Pde(t,e="x"){const r=$4(e),n=t.length,i=Array(n).fill(0),a=Array(n);let s,o,u,l=cc(t,0);for(s=0;s<n;++s)if(o=u,u=l,l=cc(t,s+1),!!u){if(l){const c=l[e]-u[e];i[s]=c!==0?(l[r]-u[r])/c:0}a[s]=o?l?aa(i[s-1])!==aa(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}Tde(t,i,a),Ede(t,a,e)}function Lp(t,e,r){return Math.max(Math.min(t,r),e)}function Cde(t,e){let r,n,i,a,s,o=Yf(t[0],e);for(r=0,n=t.length;r<n;++r)s=a,a=o,o=r<n-1&&Yf(t[r+1],e),a&&(i=t[r],s&&(i.cp1x=Lp(i.cp1x,e.left,e.right),i.cp1y=Lp(i.cp1y,e.top,e.bottom)),o&&(i.cp2x=Lp(i.cp2x,e.left,e.right),i.cp2y=Lp(i.cp2y,e.top,e.bottom)))}function $de(t,e,r,n,i){let a,s,o,u;if(e.spanGaps&&(t=t.filter(l=>!l.skip)),e.cubicInterpolationMode==="monotone")Pde(t,i);else{let l=n?t[t.length-1]:t[0];for(a=0,s=t.length;a<s;++a)o=t[a],u=xde(l,o,t[Math.min(a+1,s-(n?0:1))%s],e.tension),o.cp1x=u.previous.x,o.cp1y=u.previous.y,o.cp2x=u.next.x,o.cp2y=u.next.y,l=o}e.capBezierPoints&&Cde(t,r)}function A4(){return typeof window<"u"&&typeof document<"u"}function Fx(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function ag(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 C0=t=>window.getComputedStyle(t,null);function Ade(t,e){return C0(t).getPropertyValue(e)}const Mde=["top","right","bottom","left"];function Go(t,e,r){const n={};r=r?"-"+r:"";for(let i=0;i<4;i++){const a=Mde[i];n[a]=parseFloat(t[e+"-"+a+r])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const kde=(t,e,r)=>(t>0||e>0)&&(!r||!r.shadowRoot);function Dde(t,e){const r=t.touches,n=r&&r.length?r[0]:t,{offsetX:i,offsetY:a}=n;let s=!1,o,u;if(kde(i,a,t.target))o=i,u=a;else{const l=e.getBoundingClientRect();o=n.clientX-l.left,u=n.clientY-l.top,s=!0}return{x:o,y:u,box:s}}function So(t,e){if("native"in t)return t;const{canvas:r,currentDevicePixelRatio:n}=e,i=C0(r),a=i.boxSizing==="border-box",s=Go(i,"padding"),o=Go(i,"border","width"),{x:u,y:l,box:c}=Dde(t,r),d=s.left+(c&&o.left),h=s.top+(c&&o.top);let{width:p,height:g}=e;return a&&(p-=s.width+o.width,g-=s.height+o.height),{x:Math.round((u-d)/p*r.width/n),y:Math.round((l-h)/g*r.height/n)}}function Rde(t,e,r){let n,i;if(e===void 0||r===void 0){const a=Fx(t);if(!a)e=t.clientWidth,r=t.clientHeight;else{const s=a.getBoundingClientRect(),o=C0(a),u=Go(o,"border","width"),l=Go(o,"padding");e=s.width-l.width-u.width,r=s.height-l.height-u.height,n=ag(o.maxWidth,a,"clientWidth"),i=ag(o.maxHeight,a,"clientHeight")}}return{width:e,height:r,maxWidth:n||rg,maxHeight:i||rg}}const yy=t=>Math.round(t*10)/10;function Ide(t,e,r,n){const i=C0(t),a=Go(i,"margin"),s=ag(i.maxWidth,t,"clientWidth")||rg,o=ag(i.maxHeight,t,"clientHeight")||rg,u=Rde(t,e,r);let{width:l,height:c}=u;if(i.boxSizing==="content-box"){const d=Go(i,"border","width"),h=Go(i,"padding");l-=h.width+d.width,c-=h.height+d.height}return l=Math.max(0,l-a.width),c=Math.max(0,n?Math.floor(l/n):c-a.height),l=yy(Math.min(l,s,u.maxWidth)),c=yy(Math.min(c,o,u.maxHeight)),l&&!c&&(c=yy(l/2)),{width:l,height:c}}function fD(t,e,r){const n=e||1,i=Math.floor(t.height*n),a=Math.floor(t.width*n);t.height=i/n,t.width=a/n;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 Lde=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 hD(t,e){const r=Ade(t,e),n=r&&r.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function xo(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:t.y+r*(e.y-t.y)}}function Nde(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 Bde(t,e,r,n){const i={x:t.cp2x,y:t.cp2y},a={x:e.cp1x,y:e.cp1y},s=xo(t,i,r),o=xo(i,a,r),u=xo(a,e,r),l=xo(s,o,r),c=xo(o,u,r);return xo(l,c,r)}const pD=new Map;function Fde(t,e){e=e||{};const r=t+JSON.stringify(e);let n=pD.get(r);return n||(n=new Intl.NumberFormat(t,e),pD.set(r,n)),n}function _h(t,e,r){return Fde(e,r).format(t)}const jde=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}}},zde=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Nl(t,e,r){return t?jde(e,r):zde()}function M4(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 k4(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function D4(t){return t==="angle"?{between:Wf,compare:Pce,normalize:Tn}:{between:Ba,compare:(e,r)=>e-r,normalize:e=>e}}function mD({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 Hde(t,e,r){const{property:n,start:i,end:a}=r,{between:s,normalize:o}=D4(n),u=e.length;let{start:l,end:c,loop:d}=t,h,p;if(d){for(l+=u,c+=u,h=0,p=u;h<p&&s(o(e[l%u][n]),i,a);++h)l--,c--;l%=u,c%=u}return c<l&&(c+=u),{start:l,end:c,loop:d,style:t.style}}function R4(t,e,r){if(!r)return[t];const{property:n,start:i,end:a}=r,s=e.length,{compare:o,between:u,normalize:l}=D4(n),{start:c,end:d,loop:h,style:p}=Hde(t,e,r),g=[];let _=!1,O=null,S,E,x;const f=()=>u(i,x,S)&&o(i,x)!==0,m=()=>o(a,S)===0||u(a,x,S),v=()=>_||f(),T=()=>!_||m();for(let P=c,k=c;P<=d;++P)E=e[P%s],!E.skip&&(S=l(E[n]),S!==x&&(_=u(S,i,a),O===null&&v()&&(O=o(S,i)===0?P:k),O!==null&&T()&&(g.push(mD({start:O,end:P,loop:h,count:s,style:p})),O=null),k=P,x=S));return O!==null&&g.push(mD({start:O,end:d,loop:h,count:s,style:p})),g}function I4(t,e){const r=[],n=t.segments;for(let i=0;i<n.length;i++){const a=R4(n[i],t.points,e);a.length&&r.push(...a)}return r}function Vde(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 Ude(t,e,r,n){const i=t.length,a=[];let s=e,o=t[e],u;for(u=e+1;u<=r;++u){const l=t[u%i];l.skip||l.stop?o.skip||(n=!1,a.push({start:e%i,end:(u-1)%i,loop:n}),e=s=l.stop?u:null):(s=u,o.skip&&(e=u)),o=l}return s!==null&&a.push({start:e%i,end:s%i,loop:n}),a}function Gde(t,e){const r=t.points,n=t.options.spanGaps,i=r.length;if(!i)return[];const a=!!t._loop,{start:s,end:o}=Vde(r,i,a,n);if(n===!0)return vD(t,[{start:s,end:o,loop:a}],r,e);const u=o<s?o+i:o,l=!!t._fullLoop&&s===0&&o===i-1;return vD(t,Ude(r,s,u,l),r,e)}function vD(t,e,r,n){return!n||!n.setContext||!r?e:Wde(t,e,r,n)}function Wde(t,e,r,n){const i=t._chart.getContext(),a=gD(t.options),{_datasetIndex:s,options:{spanGaps:o}}=t,u=r.length,l=[];let c=a,d=e[0].start,h=d;function p(g,_,O,S){const E=o?-1:1;if(g!==_){for(g+=u;r[g%u].skip;)g-=E;for(;r[_%u].skip;)_+=E;g%u!==_%u&&(l.push({start:g%u,end:_%u,loop:O,style:S}),c=S,d=_%u)}}for(const g of e){d=o?d:g.start;let _=r[d%u],O;for(h=d+1;h<=g.end;h++){const S=r[h%u];O=gD(n.setContext(no(i,{type:"segment",p0:_,p1:S,p0DataIndex:(h-1)%u,p1DataIndex:h%u,datasetIndex:s}))),Yde(O,c)&&p(d,h-1,g.loop,c),_=S,c=O}d<h-1&&p(d,h-1,g.loop,c)}return l}function gD(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Yde(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}/*!
 * Chart.js v3.9.1
 * https://www.chartjs.org
 * (c) 2022 Chart.js Contributors
 * Released under the MIT License
 */class Kde{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=h4.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 Sa=new Kde;const bD="transparent",qde={boolean(t,e,r){return r>.5?e:t},color(t,e,r){const n=uD(t||bD),i=n.valid&&uD(e||bD);return i&&i.valid?i.mix(n,r).hexString():e},number(t,e,r){return t+(e-t)*r}};class Xde{constructor(e,r,n,i){const a=r[n];i=Xd([e.to,i,a,e.from]);const s=Xd([e.from,a,i]);this._active=!0,this._fn=e.fn||qde[e.type||typeof s],this._easing=bf[e.easing]||bf.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=Xd([e.to,r,i,e.from]),this._from=Xd([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]()}}const Zde=["x","y","borderWidth","radius","tension"],Jde=["color","borderColor","backgroundColor"];Ue.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Qde=Object.keys(Ue.animation);Ue.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"});Ue.set("animations",{colors:{type:"color",properties:Jde},numbers:{type:"number",properties:Zde}});Ue.describe("animations",{_fallback:"animation"});Ue.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:t=>t|0}}}});class L4{constructor(e,r){this._chart=e,this._properties=new Map,this.configure(r)}configure(e){if(!ze(e))return;const r=this._properties;Object.getOwnPropertyNames(e).forEach(n=>{const i=e[n];if(!ze(i))return;const a={};for(const s of Qde)a[s]=i[s];(_t(i.properties)&&i.properties||[n]).forEach(s=>{(s===n||!r.has(s))&&r.set(s,a)})})}_animateOptions(e,r){const n=r.options,i=tfe(e,n);if(!i)return[];const a=this._createAnimations(i,n);return n.$shared&&efe(e.options.$animations,n).then(()=>{e.options=n},()=>{}),a}_createAnimations(e,r){const n=this._properties,i=[],a=e.$animations||(e.$animations={}),s=Object.keys(r),o=Date.now();let u;for(u=s.length-1;u>=0;--u){const l=s[u];if(l.charAt(0)==="$")continue;if(l==="options"){i.push(...this._animateOptions(e,r));continue}const c=r[l];let d=a[l];const h=n.get(l);if(d)if(h&&d.active()){d.update(h,c,o);continue}else d.cancel();if(!h||!h.duration){e[l]=c;continue}a[l]=d=new Xde(h,e,l,c),i.push(d)}return i}update(e,r){if(this._properties.size===0){Object.assign(e,r);return}const n=this._createAnimations(e,r);if(n.length)return Sa.add(this._chart,n),!0}}function efe(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 tfe(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 _D(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 rfe(t,e,r){if(r===!1)return!1;const n=_D(t,r),i=_D(e,r);return{top:i.end,right:n.end,bottom:i.start,left:n.start}}function nfe(t){let e,r,n,i;return ze(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 N4(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 yD(t,e,r,n={}){const i=t.keys,a=n.mode==="single";let s,o,u,l;if(e!==null){for(s=0,o=i.length;s<o;++s){if(u=+i[s],u===r){if(n.all)continue;break}l=t.values[u],Qt(l)&&(a||e===0||aa(e)===aa(l))&&(e+=l)}return e}}function ife(t){const e=Object.keys(t),r=new Array(e.length);let n,i,a;for(n=0,i=e.length;n<i;++n)a=e[n],r[n]={x:a,y:t[a]};return r}function wD(t,e){const r=t&&t.options.stacked;return r||r===void 0&&e.stack!==void 0}function afe(t,e,r){return`${t.id}.${e.id}.${r.stack||r.type}`}function sfe(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 ofe(t,e,r){const n=t[e]||(t[e]={});return n[r]||(n[r]={})}function OD(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 SD(t,e){const{chart:r,_cachedMeta:n}=t,i=r._stacks||(r._stacks={}),{iScale:a,vScale:s,index:o}=n,u=a.axis,l=s.axis,c=afe(a,s,n),d=e.length;let h;for(let p=0;p<d;++p){const g=e[p],{[u]:_,[l]:O}=g,S=g._stacks||(g._stacks={});h=S[l]=ofe(i,c,_),h[o]=O,h._top=OD(h,s,!0,n.type),h._bottom=OD(h,s,!1,n.type)}}function wy(t,e){const r=t.scales;return Object.keys(r).filter(n=>r[n].axis===e).shift()}function ufe(t,e){return no(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function lfe(t,e,r){return no(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:r,index:e,mode:"default",type:"data"})}function gd(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]}}}const Oy=t=>t==="reset"||t==="none",xD=(t,e)=>e?t:Object.assign({},t),cfe=(t,e,r)=>t&&!e.hidden&&e._stacked&&{keys:N4(r,!0),values:null};class Ri{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.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=wD(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&gd(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,r=this._cachedMeta,n=this.getDataset(),i=(d,h,p,g)=>d==="x"?h:d==="r"?g:p,a=r.xAxisID=Re(n.xAxisID,wy(e,"x")),s=r.yAxisID=Re(n.yAxisID,wy(e,"y")),o=r.rAxisID=Re(n.rAxisID,wy(e,"r")),u=r.indexAxis,l=r.iAxisID=i(u,a,s,o),c=r.vAxisID=i(u,s,a,o);r.xScale=this.getScaleForId(a),r.yScale=this.getScaleForId(s),r.rScale=this.getScaleForId(o),r.iScale=this.getScaleForId(l),r.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const r=this._cachedMeta;return e===r.iScale?r.vScale:r.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&tD(this._data,this),e._stacked&&gd(e)}_dataCheck(){const e=this.getDataset(),r=e.data||(e.data=[]),n=this._data;if(ze(r))this._data=ife(r);else if(n!==r){if(n){tD(n,this);const i=this._cachedMeta;gd(i),i._parsed=[]}r&&Object.isExtensible(r)&&Mce(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=wD(r.vScale,r),r.stack!==n.stack&&(i=!0,gd(r),r.stack=n.stack),this._resyncElements(e),(i||a!==r._stacked)&&SD(this,r._parsed)}configure(){const e=this.chart.config,r=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),r,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,r){const{_cachedMeta:n,_data:i}=this,{iScale:a,_stacked:s}=n,o=a.axis;let u=e===0&&r===i.length?!0:n._sorted,l=e>0&&n._parsed[e-1],c,d,h;if(this._parsing===!1)n._parsed=i,n._sorted=!0,h=i;else{_t(i[e])?h=this.parseArrayData(n,i,e,r):ze(i[e])?h=this.parseObjectData(n,i,e,r):h=this.parsePrimitiveData(n,i,e,r);const p=()=>d[o]===null||l&&d[o]<l[o];for(c=0;c<r;++c)n._parsed[c+e]=d=h[c],u&&(p()&&(u=!1),l=d);n._sorted=u}s&&SD(this,h)}parsePrimitiveData(e,r,n,i){const{iScale:a,vScale:s}=e,o=a.axis,u=s.axis,l=a.getLabels(),c=a===s,d=new Array(i);let h,p,g;for(h=0,p=i;h<p;++h)g=h+n,d[h]={[o]:c||a.parse(l[g],g),[u]:s.parse(r[g],g)};return d}parseArrayData(e,r,n,i){const{xScale:a,yScale:s}=e,o=new Array(i);let u,l,c,d;for(u=0,l=i;u<l;++u)c=u+n,d=r[c],o[u]={x:a.parse(d[0],c),y:s.parse(d[1],c)};return o}parseObjectData(e,r,n,i){const{xScale:a,yScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,l=new Array(i);let c,d,h,p;for(c=0,d=i;c<d;++c)h=c+n,p=r[h],l[c]={x:a.parse(Xs(p,o),h),y:s.parse(Xs(p,u),h)};return l}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,r,n){const i=this.chart,a=this._cachedMeta,s=r[e.axis],o={keys:N4(i,!0),values:r._stacks[e.axis]};return yD(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=yD(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=cfe(r,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=sfe(o);let h,p;function g(){p=i[h];const _=p[o.axis];return!Qt(p[e.axis])||c>_||d<_}for(h=0;h<s&&!(!g()&&(this.updateRangeFromParsed(l,e,p,u),a));++h);if(a){for(h=s-1;h>=0;--h)if(!g()){this.updateRangeFromParsed(l,e,p,u);break}}return l}getAllParsedValues(e){const r=this._cachedMeta._parsed,n=[];let i,a,s;for(i=0,a=r.length;i<a;++i)s=r[i][e.axis],Qt(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=nfe(Re(this.options.clip,rfe(r.xScale,r.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,r=this.chart,n=this._cachedMeta,i=n.data||[],a=r.chartArea,s=[],o=this._drawStart||0,u=this._drawCount||i.length-o,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,a,o,u),c=o;c<o+u;++c){const d=i[c];d.hidden||(d.active&&l?s.push(d):d.draw(e,a))}for(c=0;c<s.length;++c)s[c].draw(e,a)}getStyle(e,r){const n=r?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,r,n){const i=this.getDataset();let a;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];a=s.$context||(s.$context=lfe(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=ufe(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&&si(n);if(o)return xD(o,u);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,e),d=i?[`${e}Hover`,"hover",e,""]:[e,""],h=l.getOptionScopes(this.getDataset(),c),p=Object.keys(Ue.elements[e]),g=()=>this.getContext(n,i),_=l.resolveNamedOptions(h,p,g,d);return _.$shared&&(_.$shared=u,a[s]=Object.freeze(xD(_,u))),_}_resolveAnimations(e,r,n){const i=this.chart,a=this._cachedDataOpts,s=`animation-${r}`,o=a[s];if(o)return o;let u;if(i.options.animation!==!1){const c=this.chart.config,d=c.datasetAnimationScopeKeys(this._type,r),h=c.getOptionScopes(this.getDataset(),d);u=c.createResolver(h,this.getContext(e,n,r))}const l=new L4(i,u&&u.animations);return u&&u._cacheable&&(a[s]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,r){return!r||Oy(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){Oy(i)?Object.assign(e,n):this._resolveAnimations(r,i).update(e,n)}updateSharedOptions(e,r,n){e&&!Oy(r)&&this._resolveAnimations(void 0,r).update(e,n)}_setStyle(e,r,n,i){e.active=i;const a=this.getStyle(r,i);this._resolveAnimations(r,n,i).update(e,{options:!i&&this.getSharedOptions(a)||a})}removeHoverStyle(e,r,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,r,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const r=this._data,n=this._cachedMeta.data;for(const[o,u,l]of this._syncList)this[o](u,l);this._syncList=[];const i=n.length,a=r.length,s=Math.min(a,i);s&&this.parse(0,s),a>i?this._insertElements(i,a-i,e):a<i&&this._removeElements(a,i-a)}_insertElements(e,r,n=!0){const i=this._cachedMeta,a=i.data,s=e+r;let o;const u=l=>{for(l.length+=r,o=l.length-1;o>=s;o--)l[o]=l[o-r]};for(u(a),o=e;o<s;++o)a[o]=new this.dataElementType;this._parsing&&u(i._parsed),this.parse(e,r),n&&this.updateElements(a,e,r,"reset")}updateElements(e,r,n,i){}_removeElements(e,r){const n=this._cachedMeta;if(this._parsing){const i=n._parsed.splice(e,r);n._stacked&&gd(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])}}Ri.defaults={};Ri.prototype.datasetElementType=null;Ri.prototype.dataElementType=null;function dfe(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=f4(n.sort((i,a)=>i-a))}return t._cache.$bar}function ffe(t){const e=t.iScale,r=dfe(e,t.type);let n=e._length,i,a,s,o;const u=()=>{s===32767||s===-32768||(si(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 hfe(t,e,r,n){const i=r.barThickness;let a,s;return We(i)?(a=e.min*r.categoryPercentage,s=r.barPercentage):(a=i*n,s=1),{chunk:a/n,ratio:s,start:e.pixels[t]-a/2}}function pfe(t,e,r,n){const i=e.pixels,a=i[t];let s=t>0?i[t-1]:null,o=t<i.length-1?i[t+1]:null;const u=r.categoryPercentage;s===null&&(s=a-(o===null?e.end-e.start:o-a)),o===null&&(o=a+a-s);const l=a-(a-Math.min(s,o))/2*u;return{chunk:Math.abs(o-s)/2*u/n,ratio:r.barPercentage,start:l}}function mfe(t,e,r,n){const i=r.parse(t[0],n),a=r.parse(t[1],n),s=Math.min(i,a),o=Math.max(i,a);let u=s,l=o;Math.abs(s)>Math.abs(o)&&(u=o,l=s),e[r.axis]=l,e._custom={barStart:u,barEnd:l,start:i,end:a,min:s,max:o}}function B4(t,e,r,n){return _t(t)?mfe(t,e,r,n):e[r.axis]=r.parse(t,n),e}function TD(t,e,r,n){const i=t.iScale,a=t.vScale,s=i.getLabels(),o=i===a,u=[];let l,c,d,h;for(l=r,c=r+n;l<c;++l)h=e[l],d={},d[i.axis]=o||i.parse(s[l],l),u.push(B4(h,d,a,l));return u}function Sy(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function vfe(t,e,r){return t!==0?aa(t):(e.isHorizontal()?1:-1)*(e.min>=r?1:-1)}function gfe(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 bfe(t,e,r,n){let i=e.borderSkipped;const a={};if(!i){t.borderSkipped=a;return}if(i===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:o,reverse:u,top:l,bottom:c}=gfe(t);i==="middle"&&r&&(t.enableBorderRadius=!0,(r._top||0)===n?i=l:(r._bottom||0)===n?i=c:(a[ED(c,s,o,u)]=!0,i=l)),a[ED(i,s,o,u)]=!0,t.borderSkipped=a}function ED(t,e,r,n){return n?(t=_fe(t,e,r),t=PD(t,r,e)):t=PD(t,e,r),t}function _fe(t,e,r){return t===e?r:t===r?e:t}function PD(t,e,r){return t==="start"?e:t==="end"?r:t}function yfe(t,{inflateAmount:e},r){t.inflateAmount=e==="auto"?r===1?.33:0:e}class $0 extends Ri{parsePrimitiveData(e,r,n,i){return TD(e,r,n,i)}parseArrayData(e,r,n,i){return TD(e,r,n,i)}parseObjectData(e,r,n,i){const{iScale:a,vScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,l=a.axis==="x"?o:u,c=s.axis==="x"?o:u,d=[];let h,p,g,_;for(h=n,p=n+i;h<p;++h)_=r[h],g={},g[a.axis]=a.parse(Xs(_,l),h),d.push(B4(Xs(_,c),g,s,h));return d}updateRangeFromParsed(e,r,n,i){super.updateRangeFromParsed(e,r,n,i);const a=n._custom;a&&r===this._cachedMeta.vScale&&(e.min=Math.min(e.min,a.min),e.max=Math.max(e.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const r=this._cachedMeta,{iScale:n,vScale:i}=r,a=this.getParsed(e),s=a._custom,o=Sy(s)?"["+s.start+", "+s.end+"]":""+i.getLabelForValue(a[i.axis]);return{label:""+n.getLabelForValue(a[n.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const r=this._cachedMeta;this.updateElements(r.data,0,r.data.length,e)}updateElements(e,r,n,i){const a=i==="reset",{index:s,_cachedMeta:{vScale:o}}=this,u=o.getBasePixel(),l=o.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(r,i);for(let p=r;p<r+n;p++){const g=this.getParsed(p),_=a||We(g[o.axis])?{base:u,head:u}:this._calculateBarValuePixels(p),O=this._calculateBarIndexPixels(p,c),S=(g._stacks||{})[o.axis],E={horizontal:l,base:_.base,enableBorderRadius:!S||Sy(g._custom)||s===S._top||s===S._bottom,x:l?_.head:O.center,y:l?O.center:_.head,height:l?O.size:Math.abs(_.size),width:l?Math.abs(_.size):O.size};h&&(E.options=d||this.resolveDataElementOptions(p,e[p].active?"active":i));const x=E.options||e[p].options;bfe(E,x,S,s),yfe(E,x,c.ratio),this.updateElement(e[p],p,E,i)}}_getStacks(e,r){const{iScale:n}=this._cachedMeta,i=n.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),a=n.options.stacked,s=[],o=u=>{const l=u.controller.getParsed(r),c=l&&l[u.vScale.axis];if(We(c)||isNaN(c))return!0};for(const u of i)if(!(r!==void 0&&o(u))&&((a===!1||s.indexOf(u.stack)===-1||a===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,r,n){const i=this._getStacks(e,n),a=r!==void 0?i.indexOf(r):-1;return a===-1?i.length-1:a}_getRuler(){const e=this.options,r=this._cachedMeta,n=r.iScale,i=[];let a,s;for(a=0,s=r.data.length;a<s;++a)i.push(n.getPixelForValue(this.getParsed(a)[n.axis],a));const o=e.barThickness;return{min:o||ffe(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},options:{base:i,minBarLength:a}}=this,s=i||0,o=this.getParsed(e),u=o._custom,l=Sy(u);let c=o[r.axis],d=0,h=n?this.applyStack(r,o,n):c,p,g;h!==c&&(d=h-c,h=c),l&&(c=u.barStart,h=u.barEnd-u.barStart,c!==0&&aa(c)!==aa(u.barEnd)&&(d=0),d+=c);const _=!We(i)&&!l?i:d;let O=r.getPixelForValue(_);if(this.chart.getDataVisibility(e)?p=r.getPixelForValue(d+h):p=O,g=p-O,Math.abs(g)<a){g=vfe(g,r,s)*a,c===s&&(O-=g/2);const S=r.getPixelForDecimal(0),E=r.getPixelForDecimal(1),x=Math.min(S,E),f=Math.max(S,E);O=Math.max(Math.min(O,f),x),p=O+g}if(O===r.getPixelForValue(s)){const S=aa(g)*r.getLineWidthForValue(s)/2;O+=S,g-=S}return{size:g,base:O,head:p,center:p+g/2}}_calculateBarIndexPixels(e,r){const n=r.scale,i=this.options,a=i.skipNull,s=Re(i.maxBarThickness,1/0);let o,u;if(r.grouped){const l=a?this._getStackCount(e):r.stackCount,c=i.barThickness==="flex"?pfe(e,r,i,l):hfe(e,r,i,l),d=this._getStackIndex(this.index,this._cachedMeta.stack,a?e:void 0);o=c.start+c.chunk*d+c.chunk/2,u=Math.min(s,c.chunk*c.ratio)}else o=n.getPixelForValue(this.getParsed(e)[n.axis],e),u=Math.min(s,r.min*r.ratio);return{base:o-u/2,head:o+u/2,center:o,size:u}}draw(){const e=this._cachedMeta,r=e.vScale,n=e.data,i=n.length;let a=0;for(;a<i;++a)this.getParsed(a)[r.axis]!==null&&n[a].draw(this._ctx)}}$0.id="bar";$0.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};$0.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class A0 extends Ri{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=Re(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=Re(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,{xScale:n,yScale:i}=r,a=this.getParsed(e),s=n.getLabelForValue(a.x),o=i.getLabelForValue(a.y),u=a._custom;return{label:r.label,value:"("+s+", "+o+(u?", "+u:"")+")"}}update(e){const r=this._cachedMeta.data;this.updateElements(r,0,r.length,e)}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o}=this._cachedMeta,{sharedOptions:u,includeOptions:l}=this._getSharedOptions(r,i),c=s.axis,d=o.axis;for(let h=r;h<r+n;h++){const p=e[h],g=!a&&this.getParsed(h),_={},O=_[c]=a?s.getPixelForDecimal(.5):s.getPixelForValue(g[c]),S=_[d]=a?o.getBasePixel():o.getPixelForValue(g[d]);_.skip=isNaN(O)||isNaN(S),l&&(_.options=u||this.resolveDataElementOptions(h,p.active?"active":i),a&&(_.options.radius=0)),this.updateElement(p,h,_,i)}}resolveDataElementOptions(e,r){const n=this.getParsed(e);let i=super.resolveDataElementOptions(e,r);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const a=i.radius;return r!=="active"&&(i.radius=0),i.radius+=Re(n&&n._custom,a),i}}A0.id="bubble";A0.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};A0.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title(){return""}}}}};function wfe(t,e,r){let n=1,i=1,a=0,s=0;if(e<ut){const o=t,u=o+e,l=Math.cos(o),c=Math.sin(o),d=Math.cos(u),h=Math.sin(u),p=(x,f,m)=>Wf(x,o,u,!0)?1:Math.max(f,f*r,m,m*r),g=(x,f,m)=>Wf(x,o,u,!0)?-1:Math.min(f,f*r,m,m*r),_=p(0,l,d),O=p(zt,c,h),S=g($t,l,d),E=g($t+zt,c,h);n=(_-S)/2,i=(O-E)/2,a=-(_+S)/2,s=-(O+E)/2}return{ratioX:n,ratioY:i,offsetX:a,offsetY:s}}class Ec extends Ri{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(ze(n[e])){const{key:u="value"}=this._parsing;a=l=>+Xs(n[l],u)}let s,o;for(s=e,o=e+r;s<o;++s)i._parsed[s]=a(s)}}_getRotation(){return mi(this.options.rotation-90)}_getCircumference(){return mi(this.options.circumference)}_getRotationExtents(){let e=ut,r=-ut;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)){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(gce(this.options.cutout,o),1),l=this._getRingWeight(this.index),{circumference:c,rotation:d}=this._getRotationExtents(),{ratioX:h,ratioY:p,offsetX:g,offsetY:_}=wfe(d,c,u),O=(n.width-s)/h,S=(n.height-s)/p,E=Math.max(Math.min(O,S)/2,0),x=o4(this.options.radius,E),f=Math.max(x*u,0),m=(x-f)/this._getVisibleDatasetWeightTotal();this.offsetX=g*x,this.offsetY=_*x,i.total=this.calculateTotal(),this.outerRadius=x-m*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-m*l,0),this.updateElements(a,0,a.length,e)}_circumference(e,r){const n=this.options,i=this._cachedMeta,a=this._getCircumference();return r&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||i._parsed[e]===null||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*a/ut)}updateElements(e,r,n,i){const a=i==="reset",s=this.chart,o=s.chartArea,l=s.options.animation,c=(o.left+o.right)/2,d=(o.top+o.bottom)/2,h=a&&l.animateScale,p=h?0:this.innerRadius,g=h?0:this.outerRadius,{sharedOptions:_,includeOptions:O}=this._getSharedOptions(r,i);let S=this._getRotation(),E;for(E=0;E<r;++E)S+=this._circumference(E,a);for(E=r;E<r+n;++E){const x=this._circumference(E,a),f=e[E],m={x:c+this.offsetX,y:d+this.offsetY,startAngle:S,endAngle:S+x,circumference:x,outerRadius:g,innerRadius:p};O&&(m.options=_||this.resolveDataElementOptions(E,f.active?"active":i)),S+=x,this.updateElement(f,E,m,i)}}calculateTotal(){const e=this._cachedMeta,r=e.data;let n=0,i;for(i=0;i<r.length;i++){const a=e._parsed[i];a!==null&&!isNaN(a)&&this.chart.getDataVisibility(i)&&!r[i].hidden&&(n+=Math.abs(a))}return n}calculateCircumference(e){const r=this._cachedMeta.total;return r>0&&!isNaN(e)?ut*(Math.abs(e)/r):0}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart,i=n.data.labels||[],a=_h(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(Re(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Ec.id="doughnut";Ec.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"};Ec.descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"};Ec.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:r}}=t.legend.options;return e.labels.map((n,i)=>{const s=t.getDatasetMeta(0).controller.getStyle(i);return{text:n,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(i),index:i}})}return[]}},onClick(t,e,r){r.chart.toggleDataVisibility(e.index),r.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){let e=t.label;const r=": "+t.formattedValue;return _t(e)?(e=e.slice(),e[0]+=r):e+=r,e}}}}};class M0 extends Ri{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}=m4(r,i,s);this._drawStart=o,this._drawCount=u,v4(r)&&(o=0,u=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!a._decimated,n.points=i;const l=this.resolveDatasetElementOptions(e);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!s,options:l},e),this.updateElements(i,o,u,e)}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:u,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(r,i),h=s.axis,p=o.axis,{spanGaps:g,segment:_}=this.options,O=uc(g)?g:Number.POSITIVE_INFINITY,S=this.chart._animationsDisabled||a||i==="none";let E=r>0&&this.getParsed(r-1);for(let x=r;x<r+n;++x){const f=e[x],m=this.getParsed(x),v=S?f:{},T=We(m[p]),P=v[h]=s.getPixelForValue(m[h],x),k=v[p]=a||T?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,m,u):m[p],x);v.skip=isNaN(P)||isNaN(k)||T,v.stop=x>0&&Math.abs(m[h]-E[h])>O,_&&(v.parsed=m,v.raw=l.data[x]),d&&(v.options=c||this.resolveDataElementOptions(x,f.active?"active":i)),S||this.updateElement(f,x,v,i),E=m}}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()}}M0.id="line";M0.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};M0.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class k0 extends Ri{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=_h(r._parsed[e].r,n.options.locale);return{label:i[e]||"",value:a}}parseObjectData(e,r,n,i){return C4.bind(this)(e,r,n,i)}update(e){const r=this._cachedMeta.data;this._updateRadius(),this.updateElements(r,0,r.length,e)}getMinMax(){const e=this._cachedMeta,r={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((n,i)=>{const a=this.getParsed(i).r;!isNaN(a)&&this.chart.getDataVisibility(i)&&(a<r.min&&(r.min=a),a>r.max&&(r.max=a))}),r}_updateRadius(){const e=this.chart,r=e.chartArea,n=e.options,i=Math.min(r.right-r.left,r.bottom-r.top),a=Math.max(i/2,0),s=Math.max(n.cutoutPercentage?a/100*n.cutoutPercentage:1,0),o=(a-s)/e.getVisibleDatasetCount();this.outerRadius=a-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(e,r,n,i){const a=i==="reset",s=this.chart,u=s.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,d=l.yCenter,h=l.getIndexAngle(0)-.5*$t;let p=h,g;const _=360/this.countVisibleElements();for(g=0;g<r;++g)p+=this._computeAngle(g,i,_);for(g=r;g<r+n;g++){const O=e[g];let S=p,E=p+this._computeAngle(g,i,_),x=s.getDataVisibility(g)?l.getDistanceFromCenterForValue(this.getParsed(g).r):0;p=E,a&&(u.animateScale&&(x=0),u.animateRotate&&(S=E=h));const f={x:c,y:d,innerRadius:0,outerRadius:x,startAngle:S,endAngle:E,options:this.resolveDataElementOptions(g,O.active?"active":i)};this.updateElement(O,g,f,i)}}countVisibleElements(){const e=this._cachedMeta;let r=0;return e.data.forEach((n,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&r++}),r}_computeAngle(e,r,n){return this.chart.getDataVisibility(e)?mi(this.resolveDataElementOptions(e,r).angle||n):0}}k0.id="polarArea";k0.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};k0.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:r}}=t.legend.options;return e.labels.map((n,i)=>{const s=t.getDatasetMeta(0).controller.getStyle(i);return{text:n,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(i),index:i}})}return[]}},onClick(t,e,r){r.chart.toggleDataVisibility(e.index),r.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class jx extends Ec{}jx.id="pie";jx.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class D0 extends Ri{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 C4.bind(this)(e,r,n,i)}update(e){const r=this._cachedMeta,n=r.dataset,i=r.data||[],a=r.iScale.getLabels();if(n.points=i,e!=="resize"){const s=this.resolveDatasetElementOptions(e);this.options.showLine||(s.borderWidth=0);const o={_loop:!0,_fullLoop:a.length===i.length,options:s};this.updateElement(n,void 0,o,e)}this.updateElements(i,0,i.length,e)}updateElements(e,r,n,i){const a=this._cachedMeta.rScale,s=i==="reset";for(let o=r;o<r+n;o++){const u=e[o],l=this.resolveDataElementOptions(o,u.active?"active":i),c=a.getPointPositionForValue(o,this.getParsed(o).r),d=s?a.xCenter:c.x,h=s?a.yCenter:c.y,p={x:d,y:h,angle:c.angle,skip:isNaN(d)||isNaN(h),options:l};this.updateElement(u,o,p,i)}}}D0.id="radar";D0.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};D0.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};let Ii=class{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:r,y:n}=this.getProps(["x","y"],e);return{x:r,y:n}}hasValue(){return uc(this.x)&&uc(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}};Ii.defaults={};Ii.defaultRoutes=void 0;const F4={values(t){return _t(t)?t:""+t},numeric(t,e,r){if(t===0)return"0";const n=this.chart.options.locale;let i,a=t;if(r.length>1){const l=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(l<1e-4||l>1e15)&&(i="scientific"),a=Ofe(t,r)}const s=Qn(Math.abs(a)),o=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),_h(t,n,u)},logarithmic(t,e,r){if(t===0)return"0";const n=t/Math.pow(10,Math.floor(Qn(t)));return n===1||n===2||n===5?F4.numeric.call(this,t,e,r):""}};function Ofe(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 R0={formatters:F4};Ue.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth: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:R0.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});Ue.route("scale.ticks","color","","color");Ue.route("scale.grid","color","","borderColor");Ue.route("scale.grid","borderColor","","borderColor");Ue.route("scale.title","color","","color");Ue.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"});Ue.describe("scales",{_fallback:"scale"});Ue.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"});function Sfe(t,e){const r=t.options.ticks,n=r.maxTicksLimit||xfe(t),i=r.major.enabled?Efe(e):[],a=i.length,s=i[0],o=i[a-1],u=[];if(a>n)return Pfe(e,u,i,a/n),u;const l=Tfe(i,e,n);if(a>0){let c,d;const h=a>1?Math.round((o-s)/(a-1)):null;for(Np(e,u,l,We(h)?0:s-h,s),c=0,d=a-1;c<d;c++)Np(e,u,l,i[c],i[c+1]);return Np(e,u,l,o,We(h)?e.length:o+h),u}return Np(e,u,l),u}function xfe(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 Tfe(t,e,r){const n=Cfe(t),i=e.length/r;if(!n)return Math.max(i,1);const a=Tce(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 Efe(t){const e=[];let r,n;for(r=0,n=t.length;r<n;r++)t[r].major&&e.push(r);return e}function Pfe(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 Np(t,e,r,n,i){const a=Re(n,0),s=Math.min(Re(i,t.length),t.length);let o=0,u,l,c;for(r=Math.ceil(r),i&&(u=i-n,r=u/Math.floor(u/r)),c=a;c<0;)o++,c=Math.round(a+o*r);for(l=Math.max(a,0);l<s;l++)l===c&&(e.push(t[l]),o++,c=Math.round(a+o*r))}function Cfe(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 $fe=t=>t==="left"?"right":t==="right"?"left":t,CD=(t,e,r)=>e==="top"||e==="left"?t[e]+r:t[e]-r;function $D(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 Afe(t,e,r){const n=t.ticks.length,i=Math.min(e,n-1),a=t._startPixel,s=t._endPixel,o=1e-6;let u=t.getPixelForTick(i),l;if(!(r&&(n===1?l=Math.max(u-a,s-u):e===0?l=(t.getPixelForTick(1)-u)/2:l=(u-t.getPixelForTick(i-1))/2,u+=i<e?l:-l,u<a-o||u>s+o)))return u}function Mfe(t,e){ot(t,r=>{const n=r.gc,i=n.length/2;let a;if(i>e){for(a=0;a<i;++a)delete r.data[n[a]];n.splice(0,i)}})}function bd(t){return t.drawTicks?t.tickLength:0}function AD(t,e){if(!t.display)return 0;const r=ar(t.font,e),n=Br(t.padding);return(_t(t.text)?t.text.length:1)*r.lineHeight+n.height}function kfe(t,e){return no(t,{scale:e,type:"scale"})}function Dfe(t,e,r){return no(t,{tick:r,index:e,type:"tick"})}function Rfe(t,e,r){let n=Mx(t);return(r&&e!=="right"||!r&&e==="right")&&(n=$fe(n)),n}function Ife(t,e,r,n){const{top:i,left:a,bottom:s,right:o,chart:u}=t,{chartArea:l,scales:c}=u;let d=0,h,p,g;const _=s-i,O=o-a;if(t.isHorizontal()){if(p=Pr(n,a,o),ze(r)){const S=Object.keys(r)[0],E=r[S];g=c[S].getPixelForValue(E)+_-e}else r==="center"?g=(l.bottom+l.top)/2+_-e:g=CD(t,r,e);h=o-a}else{if(ze(r)){const S=Object.keys(r)[0],E=r[S];p=c[S].getPixelForValue(E)-O+e}else r==="center"?p=(l.left+l.right)/2-O+e:p=CD(t,r,e);g=Pr(n,s,i),d=r==="left"?-zt:zt}return{titleX:p,titleY:g,maxWidth:h,rotation:d}}class Ou extends Ii{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=Yn(e,Number.POSITIVE_INFINITY),r=Yn(r,Number.NEGATIVE_INFINITY),n=Yn(n,Number.POSITIVE_INFINITY),i=Yn(i,Number.NEGATIVE_INFINITY),{min:Yn(e,n),max:Yn(r,i),minDefined:Qt(e),maxDefined:Qt(r)}}getMinMax(e){let{min:r,max:n,minDefined:i,maxDefined:a}=this.getUserBounds(),s;if(i&&a)return{min:r,max:n};const o=this.getMatchingVisibleMetas();for(let u=0,l=o.length;u<l;++u)s=o[u].controller.getMinMax(this,e),i||(r=Math.min(r,s.min)),a||(n=Math.max(n,s.max));return r=a&&r>n?n:r,n=i&&r>n?r:n,{min:Yn(r,Yn(n,r)),max:Yn(n,Yn(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||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){gt(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=hde(this,a,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=o<this.ticks.length;this._convertTicksToLabels(u?$D(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=Sfe(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(){gt(this.options.afterUpdate,[this])}beforeSetDimensions(){gt(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(){gt(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),gt(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){gt(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=gt(r.callback,[a.value,n,e],this)}afterTickToLabelConversion(){gt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){gt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,r=e.ticks,n=this.ticks.length,i=r.minRotation||0,a=r.maxRotation;let s=i,o,u,l;if(!this._isVisible()||!r.display||i>=a||n<=1||!this.isHorizontal()){this.labelRotation=i;return}const c=this._getLabelSizes(),d=c.widest.width,h=c.highest.height,p=vr(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-bd(e.grid)-r.padding-AD(e.title,this.chart.options.font),l=Math.sqrt(d*d+h*h),s=$x(Math.min(Math.asin(vr((c.highest.height+6)/o,-1,1)),Math.asin(vr(u/l,-1,1))-Math.asin(vr(h/l,-1,1)))),s=Math.max(i,Math.min(a,s))),this.labelRotation=s}afterCalculateLabelRotation(){gt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){gt(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=AD(i,r.options.font);if(o?(e.width=this.maxWidth,e.height=bd(a)+u):(e.height=this.maxHeight,e.width=bd(a)+u),n.display&&this.ticks.length){const{first:l,last:c,widest:d,highest:h}=this._getLabelSizes(),p=n.padding*2,g=mi(this.labelRotation),_=Math.cos(g),O=Math.sin(g);if(o){const S=n.mirror?0:O*d.width+_*h.height;e.height=Math.min(this.maxHeight,e.height+S+p)}else{const S=n.mirror?0:_*d.width+O*h.height;e.width=Math.min(this.maxWidth,e.width+S+p)}this._calculatePadding(l,c,O,_)}}this._handleMargins(),o?(this.width=this._length=r.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=r.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,r,n,i){const{ticks:{align:a,padding:s},position:o}=this.options,u=this.labelRotation!==0,l=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const c=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,p=0;u?l?(h=i*e.width,p=n*r.height):(h=n*e.height,p=i*r.width):a==="start"?p=r.width:a==="end"?h=e.width:a!=="inner"&&(h=e.width/2,p=r.width/2),this.paddingLeft=Math.max((h-c+s)*this.width/(this.width-c),0),this.paddingRight=Math.max((p-d+s)*this.width/(this.width-d),0)}else{let c=r.height/2,d=e.height/2;a==="start"?(c=0,d=e.height):a==="end"&&(c=r.height,d=0),this.paddingTop=c+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){gt(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:r}=this.options;return r==="top"||r==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let r,n;for(r=0,n=e.length;r<n;r++)We(e[r].label)&&(e.splice(r,1),n--,r--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const r=this.options.ticks.sampleSize;let n=this.ticks;r<n.length&&(n=$D(n,r)),this._labelSizes=e=this._computeLabelSizes(n,n.length)}return e}_computeLabelSizes(e,r){const{ctx:n,_longestTextCache:i}=this,a=[],s=[];let o=0,u=0,l,c,d,h,p,g,_,O,S,E,x;for(l=0;l<r;++l){if(h=e[l].label,p=this._resolveTickFontOptions(l),n.font=g=p.string,_=i[g]=i[g]||{data:{},gc:[]},O=p.lineHeight,S=E=0,!We(h)&&!_t(h))S=ig(n,_.data,_.gc,S,h),E=O;else if(_t(h))for(c=0,d=h.length;c<d;++c)x=h[c],!We(x)&&!_t(x)&&(S=ig(n,_.data,_.gc,S,x),E+=O);a.push(S),s.push(E),o=Math.max(S,o),u=Math.max(E,u)}Mfe(i,r);const f=a.indexOf(o),m=s.indexOf(u),v=T=>({width:a[T]||0,height:s[T]||0});return{first:v(0),last:v(r-1),widest:v(f),highest:v(m),widths:a,heights:s}}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 Cce(this._alignToPixels?_o(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=Dfe(this.getContext(),e,n))}return this.$context||(this.$context=kfe(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,r=mi(this.labelRotation),n=Math.abs(Math.cos(r)),i=Math.abs(Math.sin(r)),a=this._getLabelSizes(),s=e.autoSkipPadding||0,o=a?a.widest.width+s:0,u=a?a.highest.height+s:0;return this.isHorizontal()?u*n>o*i?o/n:u/i:u*i<o*n?u/n:o/i}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const r=this.axis,n=this.chart,i=this.options,{grid:a,position:s}=i,o=a.offset,u=this.isHorizontal(),c=this.ticks.length+(o?1:0),d=bd(a),h=[],p=a.setContext(this.getContext()),g=p.drawBorder?p.borderWidth:0,_=g/2,O=function(D){return _o(n,D,g)};let S,E,x,f,m,v,T,P,k,y,M,C;if(s==="top")S=O(this.bottom),v=this.bottom-d,P=S-_,y=O(e.top)+_,C=e.bottom;else if(s==="bottom")S=O(this.top),y=e.top,C=O(e.bottom)-_,v=S+_,P=this.top+d;else if(s==="left")S=O(this.right),m=this.right-d,T=S-_,k=O(e.left)+_,M=e.right;else if(s==="right")S=O(this.left),k=e.left,M=O(e.right)-_,m=S+_,T=this.left+d;else if(r==="x"){if(s==="center")S=O((e.top+e.bottom)/2+.5);else if(ze(s)){const D=Object.keys(s)[0],A=s[D];S=O(this.chart.scales[D].getPixelForValue(A))}y=e.top,C=e.bottom,v=S+_,P=v+d}else if(r==="y"){if(s==="center")S=O((e.left+e.right)/2);else if(ze(s)){const D=Object.keys(s)[0],A=s[D];S=O(this.chart.scales[D].getPixelForValue(A))}m=S-_,T=m-d,k=e.left,M=e.right}const w=Re(i.ticks.maxTicksLimit,c),$=Math.max(1,Math.ceil(c/w));for(E=0;E<c;E+=$){const D=a.setContext(this.getContext(E)),A=D.lineWidth,L=D.color,F=D.borderDash||[],j=D.borderDashOffset,H=D.tickWidth,G=D.tickColor,Z=D.tickBorderDash||[],te=D.tickBorderDashOffset;x=Afe(this,E,o),x!==void 0&&(f=_o(n,x,A),u?m=T=k=M=f:v=P=y=C=f,h.push({tx1:m,ty1:v,tx2:T,ty2:P,x1:k,y1:y,x2:M,y2:C,width:A,color:L,borderDash:F,borderDashOffset:j,tickWidth:H,tickColor:G,tickBorderDash:Z,tickBorderDashOffset:te}))}return this._ticksLength=c,this._borderValue=S,h}_computeLabelItems(e){const r=this.axis,n=this.options,{position:i,ticks:a}=n,s=this.isHorizontal(),o=this.ticks,{align:u,crossAlign:l,padding:c,mirror:d}=a,h=bd(n.grid),p=h+c,g=d?-c:p,_=-mi(this.labelRotation),O=[];let S,E,x,f,m,v,T,P,k,y,M,C,w="middle";if(i==="top")v=this.bottom-g,T=this._getXAxisLabelAlignment();else if(i==="bottom")v=this.top+g,T=this._getXAxisLabelAlignment();else if(i==="left"){const D=this._getYAxisLabelAlignment(h);T=D.textAlign,m=D.x}else if(i==="right"){const D=this._getYAxisLabelAlignment(h);T=D.textAlign,m=D.x}else if(r==="x"){if(i==="center")v=(e.top+e.bottom)/2+p;else if(ze(i)){const D=Object.keys(i)[0],A=i[D];v=this.chart.scales[D].getPixelForValue(A)+p}T=this._getXAxisLabelAlignment()}else if(r==="y"){if(i==="center")m=(e.left+e.right)/2-p;else if(ze(i)){const D=Object.keys(i)[0],A=i[D];m=this.chart.scales[D].getPixelForValue(A)}T=this._getYAxisLabelAlignment(h).textAlign}r==="y"&&(u==="start"?w="top":u==="end"&&(w="bottom"));const $=this._getLabelSizes();for(S=0,E=o.length;S<E;++S){x=o[S],f=x.label;const D=a.setContext(this.getContext(S));P=this.getPixelForTick(S)+a.labelOffset,k=this._resolveTickFontOptions(S),y=k.lineHeight,M=_t(f)?f.length:1;const A=M/2,L=D.color,F=D.textStrokeColor,j=D.textStrokeWidth;let H=T;s?(m=P,T==="inner"&&(S===E-1?H=this.options.reverse?"left":"right":S===0?H=this.options.reverse?"right":"left":H="center"),i==="top"?l==="near"||_!==0?C=-M*y+y/2:l==="center"?C=-$.highest.height/2-A*y+y:C=-$.highest.height+y/2:l==="near"||_!==0?C=y/2:l==="center"?C=$.highest.height/2-A*y:C=$.highest.height-M*y,d&&(C*=-1)):(v=P,C=(1-M)*y/2);let G;if(D.showLabelBackdrop){const Z=Br(D.backdropPadding),te=$.heights[S],Y=$.widths[S];let W=v+C-Z.top,U=m-Z.left;switch(w){case"middle":W-=te/2;break;case"bottom":W-=te;break}switch(T){case"center":U-=Y/2;break;case"right":U-=Y;break}G={left:U,top:W,width:Y+Z.width,height:te+Z.height,color:D.backdropColor}}O.push({rotation:_,label:f,font:k,color:L,strokeColor:F,strokeWidth:j,textOffset:C,textAlign:H,textBaseline:w,translation:[m,v],backdrop:G})}return O}_getXAxisLabelAlignment(){const{position:e,ticks:r}=this.options;if(-mi(this.labelRotation))return e==="top"?"left":"right";let i="center";return r.align==="start"?i="left":r.align==="end"?i="right":r.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:r,ticks:{crossAlign:n,mirror:i,padding:a}}=this.options,s=this._getLabelSizes(),o=e+a,u=s.widest.width;let l,c;return r==="left"?i?(c=this.right+a,n==="near"?l="left":n==="center"?(l="center",c+=u/2):(l="right",c+=u)):(c=this.right-o,n==="near"?l="right":n==="center"?(l="center",c-=u/2):(l="left",c=this.left)):r==="right"?i?(c=this.left+a,n==="near"?l="right":n==="center"?(l="center",c-=u/2):(l="left",c-=u)):(c=this.left+o,n==="near"?l="left":n==="center"?(l="center",c+=u/2):(l="right",c=this.right)):l="right",{textAlign:l,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,r=this.options.position;if(r==="left"||r==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(r==="top"||r==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:r},left:n,top:i,width:a,height:s}=this;r&&(e.save(),e.fillStyle=r,e.fillRect(n,i,a,s),e.restore())}getLineWidthForValue(e){const r=this.options.grid;if(!this._isVisible()||!r.display)return 0;const i=this.ticks.findIndex(a=>a.value===e);return i>=0?r.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const r=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let a,s;const o=(u,l,c)=>{!c.width||!c.color||(n.save(),n.lineWidth=c.width,n.strokeStyle=c.color,n.setLineDash(c.borderDash||[]),n.lineDashOffset=c.borderDashOffset,n.beginPath(),n.moveTo(u.x,u.y),n.lineTo(l.x,l.y),n.stroke(),n.restore())};if(r.display)for(a=0,s=i.length;a<s;++a){const u=i[a];r.drawOnChartArea&&o({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),r.drawTicks&&o({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:r,options:{grid:n}}=this,i=n.setContext(this.getContext()),a=n.drawBorder?i.borderWidth:0;if(!a)return;const s=n.setContext(this.getContext(0)).lineWidth,o=this._borderValue;let u,l,c,d;this.isHorizontal()?(u=_o(e,this.left,a)-a/2,l=_o(e,this.right,s)+s/2,c=d=o):(c=_o(e,this.top,a)-a/2,d=_o(e,this.bottom,s)+s/2,u=l=o),r.save(),r.lineWidth=i.borderWidth,r.strokeStyle=i.borderColor,r.beginPath(),r.moveTo(u,c),r.lineTo(l,d),r.stroke(),r.restore()}drawLabels(e){if(!this.options.ticks.display)return;const n=this.ctx,i=this._computeLabelArea();i&&E0(n,i);const a=this._labelItems||(this._labelItems=this._computeLabelItems(e));let s,o;for(s=0,o=a.length;s<o;++s){const u=a[s],l=u.font,c=u.label;u.backdrop&&(n.fillStyle=u.backdrop.color,n.fillRect(u.backdrop.left,u.backdrop.top,u.backdrop.width,u.backdrop.height));let d=u.textOffset;cu(n,c,0,d,l,u)}i&&P0(n)}drawTitle(){const{ctx:e,options:{position:r,title:n,reverse:i}}=this;if(!n.display)return;const a=ar(n.font),s=Br(n.padding),o=n.align;let u=a.lineHeight/2;r==="bottom"||r==="center"||ze(r)?(u+=s.bottom,_t(n.text)&&(u+=a.lineHeight*(n.text.length-1))):u+=s.top;const{titleX:l,titleY:c,maxWidth:d,rotation:h}=Ife(this,u,r,o);cu(e,n.text,0,0,a,{color:n.color,maxWidth:d,rotation:h,textAlign:Rfe(o,r,i),textBaseline:"middle",translation:[l,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,r=e.ticks&&e.ticks.z||0,n=Re(e.grid&&e.grid.z,-1);return!this._isVisible()||this.draw!==Ou.prototype.draw?[{z:r,draw:i=>{this.draw(i)}}]:[{z:n,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:n+1,draw:()=>{this.drawBorder()}},{z:r,draw:i=>{this.drawLabels(i)}}]}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 ar(r.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Bp{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;Bfe(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,Lfe(e,s,n),this.override&&Ue.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 Ue[i]&&(delete Ue[i][n],this.override&&delete lu[n])}}function Lfe(t,e,r){const n=Gf(Object.create(null),[r?Ue.get(r):{},Ue.get(e),t.defaults]);Ue.set(e,n),t.defaultRoutes&&Nfe(e,t.defaultRoutes),t.descriptors&&Ue.describe(e,t.descriptors)}function Nfe(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(".");Ue.route(a,i,u,o)})}function Bfe(t){return"id"in t&&"defaults"in t}class Ffe{constructor(){this.controllers=new Bp(Ri,"datasets",!0),this.elements=new Bp(Ii,"elements"),this.plugins=new Bp(Object,"plugins"),this.scales=new Bp(Ou,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,r,n){[...r].forEach(i=>{const a=n||this._getRegistryForType(i);n||a.isForType(i)||a===this.plugins&&i.id?this._exec(e,a,i):ot(i,s=>{const o=n||this._getRegistryForType(s);this._exec(e,o,s)})})}_exec(e,r,n){const i=Cx(e);gt(n["before"+i],[],n),r[e](n),gt(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 ta=new Ffe;class I0 extends Ri{update(e){const r=this._cachedMeta,{data:n=[]}=r,i=this.chart._animationsDisabled;let{start:a,count:s}=m4(r,n,i);if(this._drawStart=a,this._drawCount=s,v4(r)&&(a=0,s=n.length),this.options.showLine){const{dataset:o,_dataset:u}=r;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!u._decimated,o.points=n;const l=this.resolveDatasetElementOptions(e);l.segment=this.options.segment,this.updateElement(o,void 0,{animated:!i,options:l},e)}this.updateElements(n,a,s,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=ta.getElement("line")),super.addElements()}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:u,_dataset:l}=this._cachedMeta,c=this.resolveDataElementOptions(r,i),d=this.getSharedOptions(c),h=this.includeOptions(i,d),p=s.axis,g=o.axis,{spanGaps:_,segment:O}=this.options,S=uc(_)?_:Number.POSITIVE_INFINITY,E=this.chart._animationsDisabled||a||i==="none";let x=r>0&&this.getParsed(r-1);for(let f=r;f<r+n;++f){const m=e[f],v=this.getParsed(f),T=E?m:{},P=We(v[g]),k=T[p]=s.getPixelForValue(v[p],f),y=T[g]=a||P?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,v,u):v[g],f);T.skip=isNaN(k)||isNaN(y)||P,T.stop=f>0&&Math.abs(v[p]-x[p])>S,O&&(T.parsed=v,T.raw=l.data[f]),h&&(T.options=d||this.resolveDataElementOptions(f,m.active?"active":i)),E||this.updateElement(m,f,T,i),x=v}this.updateSharedOptions(d,i,c)}getMaxOverflow(){const e=this._cachedMeta,r=e.data||[];if(!this.options.showLine){let o=0;for(let u=r.length-1;u>=0;--u)o=Math.max(o,r[u].size(this.resolveDataElementOptions(u))/2);return o>0&&o}const n=e.dataset,i=n.options&&n.options.borderWidth||0;if(!r.length)return i;const a=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,a,s)/2}}I0.id="scatter";I0.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};I0.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(t){return"("+t.label+", "+t.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var jfe=Object.freeze({__proto__:null,BarController:$0,BubbleController:A0,DoughnutController:Ec,LineController:M0,PolarAreaController:k0,PieController:jx,RadarController:D0,ScatterController:I0});function yo(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class q1{constructor(e){this.options=e||{}}init(e){}formats(){return yo()}parse(e,r){return yo()}format(e,r){return yo()}add(e,r,n){return yo()}diff(e,r,n){return yo()}startOf(e,r,n){return yo()}endOf(e,r){return yo()}}q1.override=function(t){Object.assign(q1.prototype,t)};var j4={_date:q1};function zfe(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?$ce:Fa;if(n){if(i._sharedOptions){const l=a[0],c=typeof l.getRange=="function"&&l.getRange(e);if(c){const d=u(a,e,r-c),h=u(a,e,r+c);return{lo:d.lo,hi:h.hi}}}}else return u(a,e,r)}return{lo:0,hi:a.length-1}}function yh(t,e,r,n,i){const a=t.getSortedVisibleDatasetMetas(),s=r[e];for(let o=0,u=a.length;o<u;++o){const{index:l,data:c}=a[o],{lo:d,hi:h}=zfe(a[o],e,s,i);for(let p=d;p<=h;++p){const g=c[p];g.skip||n(g,l,p)}}}function Hfe(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 xy(t,e,r,n,i){const a=[];return!i&&!t.isPointInArea(e)||yh(t,r,e,function(o,u,l){!i&&!Yf(o,t.chartArea,0)||o.inRange(e.x,e.y,n)&&a.push({element:o,datasetIndex:u,index:l})},!0),a}function Vfe(t,e,r,n){let i=[];function a(s,o,u){const{startAngle:l,endAngle:c}=s.getProps(["startAngle","endAngle"],n),{angle:d}=c4(s,{x:e.x,y:e.y});Wf(d,l,c)&&i.push({element:s,datasetIndex:o,index:u})}return yh(t,r,e,a),i}function Ufe(t,e,r,n,i,a){let s=[];const o=Hfe(r);let u=Number.POSITIVE_INFINITY;function l(c,d,h){const p=c.inRange(e.x,e.y,i);if(n&&!p)return;const g=c.getCenterPoint(i);if(!(!!a||t.isPointInArea(g))&&!p)return;const O=o(e,g);O<u?(s=[{element:c,datasetIndex:d,index:h}],u=O):O===u&&s.push({element:c,datasetIndex:d,index:h})}return yh(t,r,e,l),s}function Ty(t,e,r,n,i,a){return!a&&!t.isPointInArea(e)?[]:r==="r"&&!n?Vfe(t,e,r,i):Ufe(t,e,r,n,i,a)}function MD(t,e,r,n,i){const a=[],s=r==="x"?"inXRange":"inYRange";let o=!1;return yh(t,r,e,(u,l,c)=>{u[s](e[r],i)&&(a.push({element:u,datasetIndex:l,index:c}),o=o||u.inRange(e.x,e.y,i))}),n&&!o?[]:a}var Gfe={evaluateInteractionItems:yh,modes:{index(t,e,r,n){const i=So(e,t),a=r.axis||"x",s=r.includeInvisible||!1,o=r.intersect?xy(t,i,a,n,s):Ty(t,i,a,!1,n,s),u=[];return o.length?(t.getSortedVisibleDatasetMetas().forEach(l=>{const c=o[0].index,d=l.data[c];d&&!d.skip&&u.push({element:d,datasetIndex:l.index,index:c})}),u):[]},dataset(t,e,r,n){const i=So(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;let o=r.intersect?xy(t,i,a,n,s):Ty(t,i,a,!1,n,s);if(o.length>0){const u=o[0].datasetIndex,l=t.getDatasetMeta(u).data;o=[];for(let c=0;c<l.length;++c)o.push({element:l[c],datasetIndex:u,index:c})}return o},point(t,e,r,n){const i=So(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return xy(t,i,a,n,s)},nearest(t,e,r,n){const i=So(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return Ty(t,i,a,r.intersect,n,s)},x(t,e,r,n){const i=So(e,t);return MD(t,i,"x",r.intersect,n)},y(t,e,r,n){const i=So(e,t);return MD(t,i,"y",r.intersect,n)}}};const z4=["left","top","right","bottom"];function _d(t,e){return t.filter(r=>r.pos===e)}function kD(t,e){return t.filter(r=>z4.indexOf(r.pos)===-1&&r.box.axis===e)}function yd(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 Wfe(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 Yfe(t){const e={};for(const r of t){const{stack:n,pos:i,stackWeight:a}=r;if(!n||!z4.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 Kfe(t,e){const r=Yfe(t),{vBoxMaxWidth:n,hBoxMaxHeight:i}=e;let a,s,o;for(a=0,s=t.length;a<s;++a){o=t[a];const{fullSize:u}=o.box,l=r[o.stack],c=l&&o.stackWeight/l.weight;o.horizontal?(o.width=c?c*n:u&&e.availableWidth,o.height=i):(o.width=n,o.height=c?c*i:u&&e.availableHeight)}return r}function qfe(t){const e=Wfe(t),r=yd(e.filter(l=>l.box.fullSize),!0),n=yd(_d(e,"left"),!0),i=yd(_d(e,"right")),a=yd(_d(e,"top"),!0),s=yd(_d(e,"bottom")),o=kD(e,"x"),u=kD(e,"y");return{fullSize:r,leftAndTop:n.concat(a),rightAndBottom:i.concat(u).concat(s).concat(o),chartArea:_d(e,"chartArea"),vertical:n.concat(i).concat(u),horizontal:a.concat(s).concat(o)}}function DD(t,e,r,n){return Math.max(t[r],e[r])+Math.max(t[n],e[n])}function H4(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 Xfe(t,e,r,n){const{pos:i,box:a}=r,s=t.maxPadding;if(!ze(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&&H4(s,a.getPadding());const o=Math.max(0,e.outerWidth-DD(s,t,"left","right")),u=Math.max(0,e.outerHeight-DD(s,t,"top","bottom")),l=o!==t.w,c=u!==t.h;return t.w=o,t.h=u,r.horizontal?{same:l,other:c}:{same:c,other:l}}function Zfe(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 Jfe(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 Zd(t,e,r,n){const i=[];let a,s,o,u,l,c;for(a=0,s=t.length,l=0;a<s;++a){o=t[a],u=o.box,u.update(o.width||e.w,o.height||e.h,Jfe(o.horizontal,e));const{same:d,other:h}=Xfe(e,r,o,n);l|=d&&i.length,c=c||h,u.fullSize||i.push(o)}return l&&Zd(i,e,r,n)||c}function Fp(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 RD(t,e,r,n){const i=r.padding;let{x:a,y:s}=e;for(const o of t){const u=o.box,l=n[o.stack]||{count:1,placed:0,weight:1},c=o.stackWeight/l.weight||1;if(o.horizontal){const d=e.w*c,h=l.size||u.height;si(l.start)&&(s=l.start),u.fullSize?Fp(u,i.left,s,r.outerWidth-i.right-i.left,h):Fp(u,e.left+l.placed,s,d,h),l.start=s,l.placed+=d,s=u.bottom}else{const d=e.h*c,h=l.size||u.width;si(l.start)&&(a=l.start),u.fullSize?Fp(u,a,i.top,h,r.outerHeight-i.bottom-i.top):Fp(u,a,e.top+l.placed,h,d),l.start=a,l.placed+=d,a=u.right}}e.x=a,e.y=s}Ue.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Mr={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=Br(t.options.layout.padding),a=Math.max(e-i.width,0),s=Math.max(r-i.height,0),o=qfe(t.boxes),u=o.vertical,l=o.horizontal;ot(t.boxes,_=>{typeof _.beforeLayout=="function"&&_.beforeLayout()});const c=u.reduce((_,O)=>O.box.options&&O.box.options.display===!1?_:_+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:r,padding:i,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/c,hBoxMaxHeight:s/2}),h=Object.assign({},i);H4(h,Br(n));const p=Object.assign({maxPadding:h,w:a,h:s,x:i.left,y:i.top},i),g=Kfe(u.concat(l),d);Zd(o.fullSize,p,d,g),Zd(u,p,d,g),Zd(l,p,d,g)&&Zd(u,p,d,g),Zfe(p),RD(o.leftAndTop,p,d,g),p.x+=p.w,p.y+=p.h,RD(o.rightAndBottom,p,d,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},ot(o.chartArea,_=>{const O=_.box;Object.assign(O,t.chartArea),O.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class V4{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 Qfe extends V4{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Lm="$chartjs",ehe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ID=t=>t===null||t==="";function the(t,e){const r=t.style,n=t.getAttribute("height"),i=t.getAttribute("width");if(t[Lm]={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",ID(i)){const a=hD(t,"width");a!==void 0&&(t.width=a)}if(ID(n))if(t.style.height==="")t.height=t.width/(e||2);else{const a=hD(t,"height");a!==void 0&&(t.height=a)}return t}const U4=Lde?{passive:!0}:!1;function rhe(t,e,r){t.addEventListener(e,r,U4)}function nhe(t,e,r){t.canvas.removeEventListener(e,r,U4)}function ihe(t,e){const r=ehe[t.type]||t.type,{x:n,y:i}=So(t,e);return{type:r,chart:e,native:t,x:n!==void 0?n:null,y:i!==void 0?i:null}}function sg(t,e){for(const r of t)if(r===e||r.contains(e))return!0}function ahe(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||sg(o.addedNodes,n),s=s&&!sg(o.removedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}function she(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||sg(o.removedNodes,n),s=s&&!sg(o.addedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}const qf=new Map;let LD=0;function G4(){const t=window.devicePixelRatio;t!==LD&&(LD=t,qf.forEach((e,r)=>{r.currentDevicePixelRatio!==t&&e()}))}function ohe(t,e){qf.size||window.addEventListener("resize",G4),qf.set(t,e)}function uhe(t){qf.delete(t),qf.size||window.removeEventListener("resize",G4)}function lhe(t,e,r){const n=t.canvas,i=n&&Fx(n);if(!i)return;const a=p4((o,u)=>{const l=i.clientWidth;r(o,u),l<i.clientWidth&&r()},window),s=new ResizeObserver(o=>{const u=o[0],l=u.contentRect.width,c=u.contentRect.height;l===0&&c===0||a(l,c)});return s.observe(i),ohe(t,a),s}function Ey(t,e,r){r&&r.disconnect(),e==="resize"&&uhe(t)}function che(t,e,r){const n=t.canvas,i=p4(a=>{t.ctx!==null&&r(ihe(a,t))},t,a=>{const s=a[0];return[s,s.offsetX,s.offsetY]});return rhe(n,e,i),i}class dhe extends V4{acquireContext(e,r){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(the(e,r),n):null}releaseContext(e){const r=e.canvas;if(!r[Lm])return!1;const n=r[Lm].initial;["height","width"].forEach(a=>{const s=n[a];We(s)?r.removeAttribute(a):r.setAttribute(a,s)});const i=n.style||{};return Object.keys(i).forEach(a=>{r.style[a]=i[a]}),r.width=r.width,delete r[Lm],!0}addEventListener(e,r,n){this.removeEventListener(e,r);const i=e.$proxies||(e.$proxies={}),s={attach:ahe,detach:she,resize:lhe}[r]||che;i[r]=s(e,r,n)}removeEventListener(e,r){const n=e.$proxies||(e.$proxies={}),i=n[r];if(!i)return;({attach:Ey,detach:Ey,resize:Ey}[r]||nhe)(e,r,i),n[r]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,r,n,i){return Ide(e,r,n,i)}isAttached(e){const r=Fx(e);return!!(r&&r.isConnected)}}function fhe(t){return!A4()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?Qfe:dhe}class hhe{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(gt(o,u,s)===!1&&i.cancelable)return!1}return!0}invalidate(){We(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const r=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),r}_createDescriptors(e,r){const n=e&&e.config,i=Re(n.options&&n.options.plugins,{}),a=phe(n);return i===!1&&!r?[]:vhe(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 phe(t){const e={},r=[],n=Object.keys(ta.plugins.items);for(let a=0;a<n.length;a++)r.push(ta.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 mhe(t,e){return!e&&t===!1?null:t===!0?{}:t}function vhe(t,{plugins:e,localIds:r},n,i){const a=[],s=t.getContext();for(const o of e){const u=o.id,l=mhe(n[u],i);l!==null&&a.push({plugin:o,options:ghe(t.config,{plugin:o,local:r[u]},l,s)})}return a}function ghe(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 X1(t,e){const r=Ue.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||r.indexAxis||"x"}function bhe(t,e){let r=t;return t==="_index_"?r=e:t==="_value_"&&(r=e==="x"?"y":"x"),r}function _he(t,e){return t===e?"_index_":"_value_"}function yhe(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Z1(t,e){return t==="x"||t==="y"?t:e.axis||yhe(e.position)||t.charAt(0).toLowerCase()}function whe(t,e){const r=lu[t.type]||{scales:{}},n=e.scales||{},i=X1(t.type,e),a=Object.create(null),s=Object.create(null);return Object.keys(n).forEach(o=>{const u=n[o];if(!ze(u))return console.error(`Invalid scale configuration for scale: ${o}`);if(u._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const l=Z1(o,u),c=_he(l,i),d=r.scales||{};a[l]=a[l]||o,s[o]=vf(Object.create(null),[{axis:l},u,d[l],d[c]])}),t.data.datasets.forEach(o=>{const u=o.type||t.type,l=o.indexAxis||X1(u,e),d=(lu[u]||{}).scales||{};Object.keys(d).forEach(h=>{const p=bhe(h,l),g=o[p+"AxisID"]||a[p]||p;s[g]=s[g]||Object.create(null),vf(s[g],[{axis:p},n[g],d[h]])})}),Object.keys(s).forEach(o=>{const u=s[o];vf(u,[Ue.scales[u.type],Ue.scale])}),s}function W4(t){const e=t.options||(t.options={});e.plugins=Re(e.plugins,{}),e.scales=whe(t,e)}function Y4(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Ohe(t){return t=t||{},t.data=Y4(t.data),W4(t),t}const ND=new Map,K4=new Set;function jp(t,e){let r=ND.get(t);return r||(r=e(),ND.set(t,r),K4.add(r)),r}const wd=(t,e,r)=>{const n=Xs(e,r);n!==void 0&&t.add(n)};class She{constructor(e){this._config=Ohe(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=Y4(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(),W4(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return jp(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,r){return jp(`${e}.transition.${r}`,()=>[[`datasets.${e}.transitions.${r}`,`transitions.${r}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,r){return jp(`${e}-${r}`,()=>[[`datasets.${e}.elements.${r}`,`datasets.${e}`,`elements.${r}`,""]])}pluginScopeKeys(e){const r=e.id,n=this.type;return jp(`${n}-plugin-${r}`,()=>[[`plugins.${r}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,r){const n=this._scopeCache;let i=n.get(e);return(!i||r)&&(i=new Map,n.set(e,i)),i}getOptionScopes(e,r,n){const{options:i,type:a}=this,s=this._cachedScopes(e,n),o=s.get(r);if(o)return o;const u=new Set;r.forEach(c=>{e&&(u.add(e),c.forEach(d=>wd(u,e,d))),c.forEach(d=>wd(u,i,d)),c.forEach(d=>wd(u,lu[a]||{},d)),c.forEach(d=>wd(u,Ue,d)),c.forEach(d=>wd(u,Y1,d))});const l=Array.from(u);return l.length===0&&l.push(Object.create(null)),K4.has(r)&&s.set(r,l),l}chartOptionScopes(){const{options:e,type:r}=this;return[e,lu[r]||{},Ue.datasets[r]||{},{type:r},Ue,Y1]}resolveNamedOptions(e,r,n,i=[""]){const a={$shared:!0},{resolver:s,subPrefixes:o}=BD(this._resolverCache,e,i);let u=s;if(The(s,r)){a.$shared=!1,n=Zs(n)?n():n;const l=this.createResolver(e,n,o);u=lc(s,n,l)}for(const l of r)a[l]=u[l];return a}createResolver(e,r,n=[""],i){const{resolver:a}=BD(this._resolverCache,e,n);return ze(r)?lc(a,r,void 0,i):a}}function BD(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:Lx(e,r),subPrefixes:r.filter(o=>!o.toLowerCase().includes("hover"))},n.set(i,a)),a}const xhe=t=>ze(t)&&Object.getOwnPropertyNames(t).reduce((e,r)=>e||Zs(t[r]),!1);function The(t,e){const{isScriptable:r,isIndexable:n}=x4(t);for(const i of e){const a=r(i),s=n(i),o=(s||a)&&t[i];if(a&&(Zs(o)||xhe(o))||s&&_t(o))return!0}return!1}var Ehe="3.9.1";const Phe=["top","bottom","left","right","chartArea"];function FD(t,e){return t==="top"||t==="bottom"||Phe.indexOf(t)===-1&&e==="x"}function jD(t,e){return function(r,n){return r[t]===n[t]?r[e]-n[e]:r[t]-n[t]}}function zD(t){const e=t.chart,r=e.options.animation;e.notifyPlugins("afterRender"),gt(r&&r.onComplete,[t],e)}function Che(t){const e=t.chart,r=e.options.animation;gt(r&&r.onProgress,[t],e)}function q4(t){return A4()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const og={},X4=t=>{const e=q4(t);return Object.values(og).filter(r=>r.canvas===e).pop()};function $he(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 Ahe(t,e,r,n){return!r||t.type==="mouseout"?null:n?e:t}class Z4{constructor(e,r){const n=this.config=new She(r),i=q4(e),a=X4(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||fhe(i)),this.platform.updateConfig(n);const o=this.platform.acquireContext(i,s.aspectRatio),u=o&&o.canvas,l=u&&u.height,c=u&&u.width;if(this.id=vce(),this.ctx=o,this.canvas=u,this.width=c,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new hhe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=kce(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],og[this.id]=this,!o||!u){console.error("Failed to create chart: can't acquire context from the given item");return}Sa.listen(this,"complete",zD),Sa.listen(this,"progress",Che),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:r},width:n,height:i,_aspectRatio:a}=this;return We(e)?r&&a?a:i?n/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():fD(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return lD(this.canvas,this.ctx),this}stop(){return Sa.stop(this),this}resize(e,r){Sa.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,fD(this,o,!0)&&(this.notifyPlugins("resize",{size:s}),gt(n.onResize,[this,s],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const r=this.options.scales||{};ot(r,(n,i)=>{n.id=i})}buildOrUpdateScales(){const e=this.options,r=e.scales,n=this.scales,i=Object.keys(n).reduce((s,o)=>(s[o]=!1,s),{});let a=[];r&&(a=a.concat(Object.keys(r).map(s=>{const o=r[s],u=Z1(s,o),l=u==="r",c=u==="x";return{options:o,dposition:l?"chartArea":c?"bottom":"left",dtype:l?"radialLinear":c?"category":"linear"}}))),ot(a,s=>{const o=s.options,u=o.id,l=Z1(u,o),c=Re(o.type,s.dtype);(o.position===void 0||FD(o.position,l)!==FD(s.dposition))&&(o.position=s.dposition),i[u]=!0;let d=null;if(u in n&&n[u].type===c)d=n[u];else{const h=ta.getScale(c);d=new h({id:u,type:c,ctx:this.ctx,chart:this}),n[d.id]=d}d.init(o,e)}),ot(i,(s,o)=>{s||delete n[o]}),ot(n,s=>{Mr.configure(this,s,s.options),Mr.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(jD("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||X1(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=ta.getController(o),{datasetElementType:l,dataElementType:c}=Ue.datasets[o];Object.assign(u.prototype,{dataElementType:ta.getElement(c),datasetElementType:l&&ta.getElement(l)}),s.controller=new u(this,n),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){ot(this.data.datasets,(e,r)=>{this.getDatasetMeta(r).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const r=this.config;r.update();const n=this._options=r.createResolver(r.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let l=0,c=this.data.datasets.length;l<c;l++){const{controller:d}=this.getDatasetMeta(l),h=!i&&a.indexOf(d)===-1;d.buildOrUpdateElements(h),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=n.layout.autoPadding?s:0,this._updateLayout(s),i||ot(a,l=>{l.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(jD("z","_idx"));const{_active:o,_lastEvent:u}=this;u?this._eventHandler(u,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){ot(this.scales,e=>{Mr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,r=new Set(Object.keys(this._listeners)),n=new Set(e.events);(!Zk(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;$he(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(!Zk(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;Mr.update(this,this.width,this.height,e);const r=this.chartArea,n=r.width<=0||r.height<=0;this._layers=[],ot(this.boxes,i=>{n&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,a)=>{i._idx=a}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let r=0,n=this.data.datasets.length;r<n;++r)this.getDatasetMeta(r).controller.configure();for(let r=0,n=this.data.datasets.length;r<n;++r)this._updateDataset(r,Zs(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&&(Sa.has(this)?this.attached&&!Sa.running(this)&&Sa.start(this):(this.draw(),zD({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=this.chartArea,s={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&E0(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&&P0(r),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(e){return Yf(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,r,n,i){const a=Gfe.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=no(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);si(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(),Sa.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(),lD(e,r),this.platform.releaseContext(r),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete og[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,r=this.platform,n=(a,s)=>{r.addEventListener(this,a,s),e[a]=s},i=(a,s,o)=>{a.offsetX=s,a.offsetY=o,this._eventHandler(a)};ot(this.options.events,a=>n(a,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,r=this.platform,n=(u,l)=>{r.addEventListener(this,u,l),e[u]=l},i=(u,l)=>{e[u]&&(r.removeEventListener(this,u,l),delete e[u])},a=(u,l)=>{this.canvas&&this.resize(u,l)};let s;const o=()=>{i("attach",o),this.attached=!0,this.resize(),n("resize",a),n("detach",s)};s=()=>{this.attached=!1,i("resize",a),this._stop(),this._resize(0,0),n("attach",o)},r.isAttached(this.canvas)?o():s()}unbindEvents(){ot(this._listeners,(e,r)=>{this.platform.removeEventListener(this,r,e)}),this._listeners={},ot(this._responsiveListeners,(e,r)=>{this.platform.removeEventListener(this,r,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,r,n){const i=n?"set":"remove";let a,s,o,u;for(r==="dataset"&&(a=this.getDatasetMeta(e[0].datasetIndex),a.controller["_"+i+"DatasetHoverStyle"]()),o=0,u=e.length;o<u;++o){s=e[o];const l=s&&this.getDatasetMeta(s.datasetIndex).controller;l&&l[i+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const r=this._active||[],n=e.map(({datasetIndex:a,index:s})=>{const o=this.getDatasetMeta(a);if(!o)throw new Error("No dataset found at index "+a);return{datasetIndex:a,element:o.data[s],index:s}});!eg(n,r)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,r))}notifyPlugins(e,r,n){return this._plugins.notify(this,e,r,n)}_updateHoverStyles(e,r,n){const i=this.options.hover,a=(u,l)=>u.filter(c=>!l.some(d=>c.datasetIndex===d.datasetIndex&&c.index===d.index)),s=a(r,e),o=n?e:a(e,r);s.length&&this.updateHoverStyle(s,i.mode,!1),o.length&&i.mode&&this.updateHoverStyle(o,i.mode,!0)}_eventHandler(e,r){const n={event:e,replay:r,cancelable:!0,inChartArea:this.isPointInArea(e)},i=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",n,i)===!1)return;const a=this._handleEvent(e,r,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(a||n.changed)&&this.render(),this}_handleEvent(e,r,n){const{_active:i=[],options:a}=this,s=r,o=this._getActiveElements(e,i,n,s),u=Oce(e),l=Ahe(e,this._lastEvent,n,u);n&&(this._lastEvent=null,gt(a.onHover,[e,o,this],this),u&&gt(a.onClick,[e,o,this],this));const c=!eg(o,i);return(c||r)&&(this._active=o,this._updateHoverStyles(o,i,r)),this._lastEvent=l,c}_getActiveElements(e,r,n,i){if(e.type==="mouseout")return[];if(!n)return r;const a=this.options.hover;return this.getElementsAtEventForMode(e,a.mode,a,i)}}const HD=()=>ot(Z4.instances,t=>t._plugins.invalidate()),ds=!0;Object.defineProperties(Z4,{defaults:{enumerable:ds,value:Ue},instances:{enumerable:ds,value:og},overrides:{enumerable:ds,value:lu},registry:{enumerable:ds,value:ta},version:{enumerable:ds,value:Ehe},getChart:{enumerable:ds,value:X4},register:{enumerable:ds,value:(...t)=>{ta.add(...t),HD()}},unregister:{enumerable:ds,value:(...t)=>{ta.remove(...t),HD()}}});function J4(t,e,r){const{startAngle:n,pixelMargin:i,x:a,y:s,outerRadius:o,innerRadius:u}=e;let l=i/o;t.beginPath(),t.arc(a,s,o,n-l,r+l),u>i?(l=i/u,t.arc(a,s,u,r+l,n-l,!0)):t.arc(a,s,i,r+zt,n-zt),t.closePath(),t.clip()}function Mhe(t){return Ix(t,["outerStart","outerEnd","innerStart","innerEnd"])}function khe(t,e,r,n){const i=Mhe(t.options.borderRadius),a=(r-e)/2,s=Math.min(a,n*e/2),o=u=>{const l=(r-Math.min(a,u))*n/2;return vr(u,0,Math.min(a,l))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:vr(i.innerStart,0,s),innerEnd:vr(i.innerEnd,0,s)}}function il(t,e,r,n){return{x:r+t*Math.cos(e),y:n+t*Math.sin(e)}}function J1(t,e,r,n,i,a){const{x:s,y:o,startAngle:u,pixelMargin:l,innerRadius:c}=e,d=Math.max(e.outerRadius+n+r-l,0),h=c>0?c+n+r+l:0;let p=0;const g=i-u;if(n){const D=c>0?c-n:0,A=d>0?d-n:0,L=(D+A)/2,F=L!==0?g*L/(L+n):g;p=(g-F)/2}const _=Math.max(.001,g*d-r/$t)/d,O=(g-_)/2,S=u+O+p,E=i-O-p,{outerStart:x,outerEnd:f,innerStart:m,innerEnd:v}=khe(e,h,d,E-S),T=d-x,P=d-f,k=S+x/T,y=E-f/P,M=h+m,C=h+v,w=S+m/M,$=E-v/C;if(t.beginPath(),a){if(t.arc(s,o,d,k,y),f>0){const L=il(P,y,s,o);t.arc(L.x,L.y,f,y,E+zt)}const D=il(C,E,s,o);if(t.lineTo(D.x,D.y),v>0){const L=il(C,$,s,o);t.arc(L.x,L.y,v,E+zt,$+Math.PI)}if(t.arc(s,o,h,E-v/h,S+m/h,!0),m>0){const L=il(M,w,s,o);t.arc(L.x,L.y,m,w+Math.PI,S-zt)}const A=il(T,S,s,o);if(t.lineTo(A.x,A.y),x>0){const L=il(T,k,s,o);t.arc(L.x,L.y,x,S-zt,k)}}else{t.moveTo(s,o);const D=Math.cos(k)*d+s,A=Math.sin(k)*d+o;t.lineTo(D,A);const L=Math.cos(y)*d+s,F=Math.sin(y)*d+o;t.lineTo(L,F)}t.closePath()}function Dhe(t,e,r,n,i){const{fullCircles:a,startAngle:s,circumference:o}=e;let u=e.endAngle;if(a){J1(t,e,r,n,s+ut,i);for(let l=0;l<a;++l)t.fill();isNaN(o)||(u=s+o%ut,o%ut===0&&(u+=ut))}return J1(t,e,r,n,u,i),t.fill(),u}function Rhe(t,e,r){const{x:n,y:i,startAngle:a,pixelMargin:s,fullCircles:o}=e,u=Math.max(e.outerRadius-s,0),l=e.innerRadius+s;let c;for(r&&J4(t,e,a+ut),t.beginPath(),t.arc(n,i,l,a+ut,a,!0),c=0;c<o;++c)t.stroke();for(t.beginPath(),t.arc(n,i,u,a,a+ut),c=0;c<o;++c)t.stroke()}function Ihe(t,e,r,n,i,a){const{options:s}=e,{borderWidth:o,borderJoinStyle:u}=s,l=s.borderAlign==="inner";o&&(l?(t.lineWidth=o*2,t.lineJoin=u||"round"):(t.lineWidth=o,t.lineJoin=u||"bevel"),e.fullCircles&&Rhe(t,e,l),l&&J4(t,e,i),J1(t,e,r,n,i,a),t.stroke())}class L0 extends Ii{constructor(e){super(),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,e&&Object.assign(this,e)}inRange(e,r,n){const i=this.getProps(["x","y"],n),{angle:a,distance:s}=c4(i,{x:e,y:r}),{startAngle:o,endAngle:u,innerRadius:l,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),h=this.options.spacing/2,g=Re(d,u-o)>=ut||Wf(a,o,u),_=Ba(s,l+h,c+h);return g&&_}getCenterPoint(e){const{x:r,y:n,startAngle:i,endAngle:a,innerRadius:s,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:u,spacing:l}=this.options,c=(i+a)/2,d=(s+o+l+u)/2;return{x:r+Math.cos(c)*d,y:n+Math.sin(c)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:r,circumference:n}=this,i=(r.offset||0)/2,a=(r.spacing||0)/2,s=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=n>ut?Math.floor(n/ut):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=0;if(i){o=i/2;const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*o,Math.sin(l)*o),this.circumference>=$t&&(o=i)}e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor;const u=Dhe(e,this,o,a,s);Ihe(e,this,o,a,u,s),e.restore()}}L0.id="arc";L0.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};L0.defaultRoutes={backgroundColor:"backgroundColor"};function Q4(t,e,r=e){t.lineCap=Re(r.borderCapStyle,e.borderCapStyle),t.setLineDash(Re(r.borderDash,e.borderDash)),t.lineDashOffset=Re(r.borderDashOffset,e.borderDashOffset),t.lineJoin=Re(r.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Re(r.borderWidth,e.borderWidth),t.strokeStyle=Re(r.borderColor,e.borderColor)}function Lhe(t,e,r){t.lineTo(r.x,r.y)}function Nhe(t){return t.stepped?ade:t.tension||t.cubicInterpolationMode==="monotone"?sde:Lhe}function e6(t,e,r={}){const n=t.length,{start:i=0,end:a=n-1}=r,{start:s,end:o}=e,u=Math.max(i,s),l=Math.min(a,o),c=i<s&&a<s||i>o&&a>o;return{count:n,start:u,loop:e.loop,ilen:l<u&&!c?n+l-u:l-u}}function Bhe(t,e,r,n){const{points:i,options:a}=e,{count:s,start:o,loop:u,ilen:l}=e6(i,r,n),c=Nhe(a);let{move:d=!0,reverse:h}=n||{},p,g,_;for(p=0;p<=l;++p)g=i[(o+(h?l-p:p))%s],!g.skip&&(d?(t.moveTo(g.x,g.y),d=!1):c(t,_,g,h,a.stepped),_=g);return u&&(g=i[(o+(h?l:0))%s],c(t,_,g,h,a.stepped)),!!u}function Fhe(t,e,r,n){const i=e.points,{count:a,start:s,ilen:o}=e6(i,r,n),{move:u=!0,reverse:l}=n||{};let c=0,d=0,h,p,g,_,O,S;const E=f=>(s+(l?o-f:f))%a,x=()=>{_!==O&&(t.lineTo(c,O),t.lineTo(c,_),t.lineTo(c,S))};for(u&&(p=i[E(0)],t.moveTo(p.x,p.y)),h=0;h<=o;++h){if(p=i[E(h)],p.skip)continue;const f=p.x,m=p.y,v=f|0;v===g?(m<_?_=m:m>O&&(O=m),c=(d*c+f)/++d):(x(),t.lineTo(f,m),g=v,d=0,_=O=m),S=m}x()}function Q1(t){const e=t.options,r=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!r?Fhe:Bhe}function jhe(t){return t.stepped?Nde:t.tension||t.cubicInterpolationMode==="monotone"?Bde:xo}function zhe(t,e,r,n){let i=e._path;i||(i=e._path=new Path2D,e.path(i,r,n)&&i.closePath()),Q4(t,e.options),t.stroke(i)}function Hhe(t,e,r,n){const{segments:i,options:a}=e,s=Q1(e);for(const o of i)Q4(t,a,o.style),t.beginPath(),s(t,e,o,{start:r,end:r+n-1})&&t.closePath(),t.stroke()}const Vhe=typeof Path2D=="function";function Uhe(t,e,r,n){Vhe&&!e.options.segment?zhe(t,e,r,n):Hhe(t,e,r,n)}class io extends Ii{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;$de(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=Gde(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=I4(this,{property:r,start:i,end:i});if(!s.length)return;const o=[],u=jhe(n);let l,c;for(l=0,c=s.length;l<c;++l){const{start:d,end:h}=s[l],p=a[d],g=a[h];if(p===g){o.push(p);continue}const _=Math.abs((i-p[r])/(g[r]-p[r])),O=u(p,g,_,n.stepped);O[r]=e[r],o.push(O)}return o.length===1?o[0]:o}pathSegment(e,r,n){return Q1(this)(e,this,r,n)}path(e,r,n){const i=this.segments,a=Q1(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(),Uhe(e,this,n,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}io.id="line";io.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};io.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};io.descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};function VD(t,e,r,n){const i=t.options,{[r]:a}=t.getProps([r],n);return Math.abs(e-a)<i.radius+i.hitRadius}class N0 extends Ii{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,r,n){const i=this.options,{x:a,y:s}=this.getProps(["x","y"],n);return Math.pow(e-a,2)+Math.pow(r-s,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(e,r){return VD(this,e,"x",r)}inYRange(e,r){return VD(this,e,"y",r)}getCenterPoint(e){const{x:r,y:n}=this.getProps(["x","y"],e);return{x:r,y:n}}size(e){e=e||this.options||{};let r=e.radius||0;r=Math.max(r,r&&e.hoverRadius||0);const n=r&&e.borderWidth||0;return(r+n)*2}draw(e,r){const n=this.options;this.skip||n.radius<.1||!Yf(this,r,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,K1(e,n,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}N0.id="point";N0.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};N0.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function t6(t,e){const{x:r,y:n,base:i,width:a,height:s}=t.getProps(["x","y","base","width","height"],e);let o,u,l,c,d;return t.horizontal?(d=s/2,o=Math.min(r,i),u=Math.max(r,i),l=n-d,c=n+d):(d=a/2,o=r-d,u=r+d,l=Math.min(n,i),c=Math.max(n,i)),{left:o,top:l,right:u,bottom:c}}function Es(t,e,r,n){return t?0:vr(e,r,n)}function Ghe(t,e,r){const n=t.options.borderWidth,i=t.borderSkipped,a=S4(n);return{t:Es(i.top,a.top,0,r),r:Es(i.right,a.right,0,e),b:Es(i.bottom,a.bottom,0,r),l:Es(i.left,a.left,0,e)}}function Whe(t,e,r){const{enableBorderRadius:n}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,a=Uo(i),s=Math.min(e,r),o=t.borderSkipped,u=n||ze(i);return{topLeft:Es(!u||o.top||o.left,a.topLeft,0,s),topRight:Es(!u||o.top||o.right,a.topRight,0,s),bottomLeft:Es(!u||o.bottom||o.left,a.bottomLeft,0,s),bottomRight:Es(!u||o.bottom||o.right,a.bottomRight,0,s)}}function Yhe(t){const e=t6(t),r=e.right-e.left,n=e.bottom-e.top,i=Ghe(t,r/2,n/2),a=Whe(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 Py(t,e,r,n){const i=e===null,a=r===null,o=t&&!(i&&a)&&t6(t,n);return o&&(i||Ba(e,o.left,o.right))&&(a||Ba(r,o.top,o.bottom))}function Khe(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function qhe(t,e){t.rect(e.x,e.y,e.w,e.h)}function Cy(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 B0 extends Ii{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}=Yhe(this),o=Khe(s.radius)?Kf:qhe;e.save(),(s.w!==a.w||s.h!==a.h)&&(e.beginPath(),o(e,Cy(s,r,a)),e.clip(),o(e,Cy(a,-r,s)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),o(e,Cy(a,r)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,r,n){return Py(this,e,r,n)}inXRange(e,r){return Py(this,e,null,r)}inYRange(e,r){return Py(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}}B0.id="bar";B0.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};B0.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Xhe=Object.freeze({__proto__:null,ArcElement:L0,LineElement:io,PointElement:N0,BarElement:B0});function Zhe(t,e,r,n,i){const a=i.samples||n;if(a>=r)return t.slice(e,e+r);const s=[],o=(r-2)/(a-2);let u=0;const l=e+r-1;let c=e,d,h,p,g,_;for(s[u++]=t[c],d=0;d<a-2;d++){let O=0,S=0,E;const x=Math.floor((d+1)*o)+1+e,f=Math.min(Math.floor((d+2)*o)+1,r)+e,m=f-x;for(E=x;E<f;E++)O+=t[E].x,S+=t[E].y;O/=m,S/=m;const v=Math.floor(d*o)+1+e,T=Math.min(Math.floor((d+1)*o)+1,r)+e,{x:P,y:k}=t[c];for(p=g=-1,E=v;E<T;E++)g=.5*Math.abs((P-O)*(t[E].y-k)-(P-t[E].x)*(S-k)),g>p&&(p=g,h=t[E],_=E);s[u++]=h,c=_}return s[u++]=t[l],s}function Jhe(t,e,r,n){let i=0,a=0,s,o,u,l,c,d,h,p,g,_;const O=[],S=e+r-1,E=t[e].x,f=t[S].x-E;for(s=e;s<e+r;++s){o=t[s],u=(o.x-E)/f*n,l=o.y;const m=u|0;if(m===c)l<g?(g=l,d=s):l>_&&(_=l,h=s),i=(a*i+o.x)/++a;else{const v=s-1;if(!We(d)&&!We(h)){const T=Math.min(d,h),P=Math.max(d,h);T!==p&&T!==v&&O.push({...t[T],x:i}),P!==p&&P!==v&&O.push({...t[P],x:i})}s>0&&v!==p&&O.push(t[v]),O.push(o),c=m,a=0,g=_=l,d=h=p=s}}return O}function r6(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function UD(t){t.data.datasets.forEach(e=>{r6(e)})}function Qhe(t,e){const r=e.length;let n=0,i;const{iScale:a}=t,{min:s,max:o,minDefined:u,maxDefined:l}=a.getUserBounds();return u&&(n=vr(Fa(e,a.axis,s).lo,0,r-1)),l?i=vr(Fa(e,a.axis,o).hi+1,n,r)-n:i=r-n,{start:n,count:i}}var epe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,r)=>{if(!r.enabled){UD(t);return}const n=t.width;t.data.datasets.forEach((i,a)=>{const{_data:s,indexAxis:o}=i,u=t.getDatasetMeta(a),l=s||i.data;if(Xd([o,t.options.indexAxis])==="y"||!u.controller.supportsDecimation)return;const c=t.scales[u.xAxisID];if(c.type!=="linear"&&c.type!=="time"||t.options.parsing)return;let{start:d,count:h}=Qhe(u,l);const p=r.threshold||4*n;if(h<=p){r6(i);return}We(s)&&(i._data=l,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(_){this._data=_}}));let g;switch(r.algorithm){case"lttb":g=Zhe(l,d,h,n,r);break;case"min-max":g=Jhe(l,d,h,n);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}i._decimated=g})},destroy(t){UD(t)}};function tpe(t,e,r){const n=t.segments,i=t.points,a=e.points,s=[];for(const o of n){let{start:u,end:l}=o;l=zx(u,l,i);const c=eO(r,i[u],i[l],o.loop);if(!e.segments){s.push({source:o,target:c,start:i[u],end:i[l]});continue}const d=I4(e,c);for(const h of d){const p=eO(r,a[h.start],a[h.end],h.loop),g=R4(o,i,p);for(const _ of g)s.push({source:_,target:h,start:{[r]:GD(c,p,"start",Math.max)},end:{[r]:GD(c,p,"end",Math.min)}})}}return s}function eO(t,e,r,n){if(n)return;let i=e[t],a=r[t];return t==="angle"&&(i=Tn(i),a=Tn(a)),{property:t,start:i,end:a}}function rpe(t,e){const{x:r=null,y:n=null}=t||{},i=e.points,a=[];return e.segments.forEach(({start:s,end:o})=>{o=zx(s,o,i);const u=i[s],l=i[o];n!==null?(a.push({x:u.x,y:n}),a.push({x:l.x,y:n})):r!==null&&(a.push({x:r,y:u.y}),a.push({x:r,y:l.y}))}),a}function zx(t,e,r){for(;e>t;e--){const n=r[e];if(!isNaN(n.x)&&!isNaN(n.y))break}return e}function GD(t,e,r,n){return t&&e?n(t[r],e[r]):t?t[r]:e?e[r]:0}function n6(t,e){let r=[],n=!1;return _t(t)?(n=!0,r=t):r=rpe(t,e),r.length?new io({points:r,options:{tension:0},_loop:n,_fullLoop:n}):null}function WD(t){return t&&t.fill!==!1}function npe(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(!Qt(i))return i;if(s=t[i],!s)return!1;if(s.visible)return i;a.push(i),i=s.fill}return!1}function ipe(t,e,r){const n=upe(t);if(ze(n))return isNaN(n.value)?!1:n;let i=parseFloat(n);return Qt(i)&&Math.floor(i)===i?ape(n[0],e,i,r):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function ape(t,e,r,n){return(t==="-"||t==="+")&&(r=e+r),r===e||r<0||r>=n?!1:r}function spe(t,e){let r=null;return t==="start"?r=e.bottom:t==="end"?r=e.top:ze(t)?r=e.getPixelForValue(t.value):e.getBasePixel&&(r=e.getBasePixel()),r}function ope(t,e,r){let n;return t==="start"?n=r:t==="end"?n=e.options.reverse?e.min:e.max:ze(t)?n=t.value:n=e.getBaseValue(),n}function upe(t){const e=t.options,r=e.fill;let n=Re(r&&r.target,r);return n===void 0&&(n=!!e.backgroundColor),n===!1||n===null?!1:n===!0?"origin":n}function lpe(t){const{scale:e,index:r,line:n}=t,i=[],a=n.segments,s=n.points,o=cpe(e,r);o.push(n6({x:null,y:e.bottom},n));for(let u=0;u<a.length;u++){const l=a[u];for(let c=l.start;c<=l.end;c++)dpe(i,s[c],o)}return new io({points:i,options:{}})}function cpe(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 dpe(t,e,r){const n=[];for(let i=0;i<r.length;i++){const a=r[i],{first:s,last:o,point:u}=fpe(a,e,"x");if(!(!u||s&&o)){if(s)n.unshift(u);else if(t.push(u),!o)break}}t.push(...n)}function fpe(t,e,r){const n=t.interpolate(e,r);if(!n)return{};const i=n[r],a=t.segments,s=t.points;let o=!1,u=!1;for(let l=0;l<a.length;l++){const c=a[l],d=s[c.start][r],h=s[c.end][r];if(Ba(i,d,h)){o=i===d,u=i===h;break}}return{first:o,last:u,point:n}}class i6{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:ut},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 hpe(t){const{chart:e,fill:r,line:n}=t;if(Qt(r))return ppe(e,r);if(r==="stack")return lpe(t);if(r==="shape")return!0;const i=mpe(t);return i instanceof i6?i:n6(i,n)}function ppe(t,e){const r=t.getDatasetMeta(e);return r&&t.isDatasetVisible(e)?r.dataset:null}function mpe(t){return(t.scale||{}).getPointPositionForValue?gpe(t):vpe(t)}function vpe(t){const{scale:e={},fill:r}=t,n=spe(r,e);if(Qt(n)){const i=e.isHorizontal();return{x:i?n:null,y:i?null:n}}return null}function gpe(t){const{scale:e,fill:r}=t,n=e.options,i=e.getLabels().length,a=n.reverse?e.max:e.min,s=ope(r,e,a),o=[];if(n.grid.circular){const u=e.getPointPositionForValue(0,a);return new i6({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 $y(t,e,r){const n=hpe(e),{line:i,scale:a,axis:s}=e,o=i.options,u=o.fill,l=o.backgroundColor,{above:c=l,below:d=l}=u||{};n&&i.points.length&&(E0(t,r),bpe(t,{line:i,target:n,above:c,below:d,area:r,scale:a,axis:s}),P0(t))}function bpe(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&&(YD(t,n,s.top),KD(t,{line:r,target:n,color:i,scale:o,property:u}),t.restore(),t.save(),YD(t,n,s.bottom)),KD(t,{line:r,target:n,color:a,scale:o,property:u}),t.restore()}function YD(t,e,r){const{segments:n,points:i}=e;let a=!0,s=!1;t.beginPath();for(const o of n){const{start:u,end:l}=o,c=i[u],d=i[zx(u,l,i)];a?(t.moveTo(c.x,c.y),a=!1):(t.lineTo(c.x,r),t.lineTo(c.x,c.y)),s=!!e.pathSegment(t,o,{move:s}),s?t.closePath():t.lineTo(d.x,r)}t.lineTo(e.first().x,r),t.closePath(),t.clip()}function KD(t,e){const{line:r,target:n,property:i,color:a,scale:s}=e,o=tpe(r,n,i);for(const{source:u,target:l,start:c,end:d}of o){const{style:{backgroundColor:h=a}={}}=u,p=n!==!0;t.save(),t.fillStyle=h,_pe(t,s,p&&eO(i,c,d)),t.beginPath();const g=!!r.pathSegment(t,u);let _;if(p){g?t.closePath():qD(t,n,d,i);const O=!!n.pathSegment(t,l,{move:g,reverse:!0});_=g&&O,_||qD(t,n,c,i)}t.closePath(),t.fill(_?"evenodd":"nonzero"),t.restore()}}function _pe(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 qD(t,e,r,n){const i=e.interpolate(r,n);i&&t.lineTo(i.x,i.y)}var ype={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 io&&(u={visible:t.isDatasetVisible(s),index:s,fill:ipe(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=npe(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&&$y(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;WD(a)&&$y(t.ctx,a,t.chartArea)}},beforeDatasetDraw(t,e,r){const n=e.meta.$filler;!WD(n)||r.drawTime!=="beforeDatasetDraw"||$y(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const XD=(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)}},wpe=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class ZD extends Ii{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=gt(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=ar(n.font),a=i.size,s=this._computeTitleHeight(),{boxWidth:o,itemHeight:u}=XD(n,a);let l,c;r.font=i.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(s,a,o,u)+10):(c=this.maxHeight,l=this._fitCols(s,a,o,u)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,r,n,i){const{ctx:a,maxWidth:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],l=this.lineWidths=[0],c=i+o;let d=e;a.textAlign="left",a.textBaseline="middle";let h=-1,p=-c;return this.legendItems.forEach((g,_)=>{const O=n+r/2+a.measureText(g.text).width;(_===0||l[l.length-1]+O+2*o>s)&&(d+=c,l[l.length-(_>0?0:1)]=0,p+=c,h++),u[_]={left:0,top:p,row:h,width:O,height:i},l[l.length-1]+=O+o}),d}_fitCols(e,r,n,i){const{ctx:a,maxHeight:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],l=this.columnSizes=[],c=s-e;let d=o,h=0,p=0,g=0,_=0;return this.legendItems.forEach((O,S)=>{const E=n+r/2+a.measureText(O.text).width;S>0&&p+i+2*o>c&&(d+=h+o,l.push({width:h,height:p}),g+=h+o,_++,h=p=0),u[S]={left:g,top:p,col:_,width:E,height:i},h=Math.max(h,E),p+=i+o}),d+=h,l.push({width:h,height:p}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:r,options:{align:n,labels:{padding:i},rtl:a}}=this,s=Nl(a,this.left,this.width);if(this.isHorizontal()){let o=0,u=Pr(n,this.left+i,this.right-this.lineWidths[o]);for(const l of r)o!==l.row&&(o=l.row,u=Pr(n,this.left+i,this.right-this.lineWidths[o])),l.top+=this.top+e+i,l.left=s.leftForLtr(s.x(u),l.width),u+=l.width+i}else{let o=0,u=Pr(n,this.top+e+i,this.bottom-this.columnSizes[o].height);for(const l of r)l.col!==o&&(o=l.col,u=Pr(n,this.top+e+i,this.bottom-this.columnSizes[o].height)),l.top=u,l.left+=this.left+i,l.left=s.leftForLtr(s.x(l.left),l.width),u+=l.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;E0(e,this),this._draw(),P0(e)}}_draw(){const{options:e,columnSizes:r,lineWidths:n,ctx:i}=this,{align:a,labels:s}=e,o=Ue.color,u=Nl(e.rtl,this.left,this.width),l=ar(s.font),{color:c,padding:d}=s,h=l.size,p=h/2;let g;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=l.string;const{boxWidth:_,boxHeight:O,itemHeight:S}=XD(s,h),E=function(T,P,k){if(isNaN(_)||_<=0||isNaN(O)||O<0)return;i.save();const y=Re(k.lineWidth,1);if(i.fillStyle=Re(k.fillStyle,o),i.lineCap=Re(k.lineCap,"butt"),i.lineDashOffset=Re(k.lineDashOffset,0),i.lineJoin=Re(k.lineJoin,"miter"),i.lineWidth=y,i.strokeStyle=Re(k.strokeStyle,o),i.setLineDash(Re(k.lineDash,[])),s.usePointStyle){const M={radius:O*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:y},C=u.xPlus(T,_/2),w=P+p;O4(i,M,C,w,s.pointStyleWidth&&_)}else{const M=P+Math.max((h-O)/2,0),C=u.leftForLtr(T,_),w=Uo(k.borderRadius);i.beginPath(),Object.values(w).some($=>$!==0)?Kf(i,{x:C,y:M,w:_,h:O,radius:w}):i.rect(C,M,_,O),i.fill(),y!==0&&i.stroke()}i.restore()},x=function(T,P,k){cu(i,k.text,T,P+S/2,l,{strikethrough:k.hidden,textAlign:u.textAlign(k.textAlign)})},f=this.isHorizontal(),m=this._computeTitleHeight();f?g={x:Pr(a,this.left+d,this.right-n[0]),y:this.top+d+m,line:0}:g={x:this.left+d,y:Pr(a,this.top+m+d,this.bottom-r[0].height),line:0},M4(this.ctx,e.textDirection);const v=S+d;this.legendItems.forEach((T,P)=>{i.strokeStyle=T.fontColor||c,i.fillStyle=T.fontColor||c;const k=i.measureText(T.text).width,y=u.textAlign(T.textAlign||(T.textAlign=s.textAlign)),M=_+p+k;let C=g.x,w=g.y;u.setWidth(this.width),f?P>0&&C+M+d>this.right&&(w=g.y+=v,g.line++,C=g.x=Pr(a,this.left+d,this.right-n[g.line])):P>0&&w+v>this.bottom&&(C=g.x=C+r[g.line].width+d,g.line++,w=g.y=Pr(a,this.top+m+d,this.bottom-r[g.line].height));const $=u.x(C);E($,w,T),C=Dce(y,C+_+p,f?C+M:this.right,e.rtl),x(u.x(C),w,T),f?g.x+=M+d:g.y+=v}),k4(this.ctx,e.textDirection)}drawTitle(){const e=this.options,r=e.title,n=ar(r.font),i=Br(r.padding);if(!r.display)return;const a=Nl(e.rtl,this.left,this.width),s=this.ctx,o=r.position,u=n.size/2,l=i.top+u;let c,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),c=this.top+l,d=Pr(e.align,d,this.right-h);else{const g=this.columnSizes.reduce((_,O)=>Math.max(_,O.height),0);c=l+Pr(e.align,this.top,this.bottom-g-e.labels.padding-this._computeTitleHeight())}const p=Pr(o,d,d+h);s.textAlign=a.textAlign(Mx(o)),s.textBaseline="middle",s.strokeStyle=r.color,s.fillStyle=r.color,s.font=n.string,cu(s,r.text,p,c,n)}_computeTitleHeight(){const e=this.options.title,r=ar(e.font),n=Br(e.padding);return e.display?r.lineHeight+n.height:0}_getLegendItemAt(e,r){let n,i,a;if(Ba(e,this.left,this.right)&&Ba(r,this.top,this.bottom)){for(a=this.legendHitBoxes,n=0;n<a.length;++n)if(i=a[n],Ba(e,i.left,i.left+i.width)&&Ba(r,i.top,i.top+i.height))return this.legendItems[n]}return null}handleEvent(e){const r=this.options;if(!Ope(e.type,r))return;const n=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const i=this._hoveredItem,a=wpe(i,n);i&&!a&&gt(r.onLeave,[e,i,this],this),this._hoveredItem=n,n&&!a&&gt(r.onHover,[e,n,this],this)}else n&&gt(r.onClick,[e,n,this],this)}}function Ope(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var Spe={id:"legend",_element:ZD,start(t,e,r){const n=t.legend=new ZD({ctx:t.ctx,options:r,chart:t});Mr.configure(t,n,r),Mr.addBox(t,n)},stop(t){Mr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,r){const n=t.legend;Mr.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}}=t.legend.options;return t._getSortedDatasetMetas().map(s=>{const o=s.controller.getStyle(r?0:void 0),u=Br(o.borderWidth);return{text:e[s.index].label,fillStyle:o.backgroundColor,fontColor:a,hidden:!s.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:o.borderColor,pointStyle:n||o.pointStyle,rotation:o.rotation,textAlign:i||o.textAlign,borderRadius:0,datasetIndex:s.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 Hx extends Ii{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=_t(n.text)?n.text.length:1;this._padding=Br(n.padding);const a=i*ar(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=a:this.width=a}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:r,left:n,bottom:i,right:a,options:s}=this,o=s.align;let u=0,l,c,d;return this.isHorizontal()?(c=Pr(o,n,a),d=r+e,l=a-n):(s.position==="left"?(c=n+e,d=Pr(o,i,r),u=$t*-.5):(c=a-e,d=Pr(o,r,i),u=$t*.5),l=i-r),{titleX:c,titleY:d,maxWidth:l,rotation:u}}draw(){const e=this.ctx,r=this.options;if(!r.display)return;const n=ar(r.font),a=n.lineHeight/2+this._padding.top,{titleX:s,titleY:o,maxWidth:u,rotation:l}=this._drawArgs(a);cu(e,r.text,0,0,n,{color:r.color,maxWidth:u,rotation:l,textAlign:Mx(r.align),textBaseline:"middle",translation:[s,o]})}}function xpe(t,e){const r=new Hx({ctx:t.ctx,options:e,chart:t});Mr.configure(t,r,e),Mr.addBox(t,r),t.titleBlock=r}var Tpe={id:"title",_element:Hx,start(t,e,r){xpe(t,r)},stop(t){const e=t.titleBlock;Mr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,r){const n=t.titleBlock;Mr.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 zp=new WeakMap;var Epe={id:"subtitle",start(t,e,r){const n=new Hx({ctx:t.ctx,options:r,chart:t});Mr.configure(t,n,r),Mr.addBox(t,n),zp.set(t,n)},stop(t){Mr.removeBox(t,zp.get(t)),zp.delete(t)},beforeUpdate(t,e,r){const n=zp.get(t);Mr.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 yf={average(t){if(!t.length)return!1;let e,r,n=0,i=0,a=0;for(e=0,r=t.length;e<r;++e){const s=t[e].element;if(s&&s.hasValue()){const o=s.tooltipPosition();n+=o.x,i+=o.y,++a}}return{x:n/a,y:i/a}},nearest(t,e){if(!t.length)return!1;let r=e.x,n=e.y,i=Number.POSITIVE_INFINITY,a,s,o;for(a=0,s=t.length;a<s;++a){const u=t[a].element;if(u&&u.hasValue()){const l=u.getCenterPoint(),c=G1(e,l);c<i&&(i=c,o=u)}}if(o){const u=o.tooltipPosition();r=u.x,n=u.y}return{x:r,y:n}}};function Gi(t,e){return e&&(_t(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function xa(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
`)>-1?t.split(`
`):t}function Ppe(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 JD(t,e){const r=t.chart.ctx,{body:n,footer:i,title:a}=t,{boxWidth:s,boxHeight:o}=e,u=ar(e.bodyFont),l=ar(e.titleFont),c=ar(e.footerFont),d=a.length,h=i.length,p=n.length,g=Br(e.padding);let _=g.height,O=0,S=n.reduce((f,m)=>f+m.before.length+m.lines.length+m.after.length,0);if(S+=t.beforeBody.length+t.afterBody.length,d&&(_+=d*l.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),S){const f=e.displayColors?Math.max(o,u.lineHeight):u.lineHeight;_+=p*f+(S-p)*u.lineHeight+(S-1)*e.bodySpacing}h&&(_+=e.footerMarginTop+h*c.lineHeight+(h-1)*e.footerSpacing);let E=0;const x=function(f){O=Math.max(O,r.measureText(f).width+E)};return r.save(),r.font=l.string,ot(t.title,x),r.font=u.string,ot(t.beforeBody.concat(t.afterBody),x),E=e.displayColors?s+2+e.boxPadding:0,ot(n,f=>{ot(f.before,x),ot(f.lines,x),ot(f.after,x)}),E=0,r.font=c.string,ot(t.footer,x),r.restore(),O+=g.width,{width:O,height:_}}function Cpe(t,e){const{y:r,height:n}=e;return r<n/2?"top":r>t.height-n/2?"bottom":"center"}function $pe(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 Ape(t,e,r,n){const{x:i,width:a}=r,{width:s,chartArea:{left:o,right:u}}=t;let l="center";return n==="center"?l=i<=(o+u)/2?"left":"right":i<=a/2?l="left":i>=s-a/2&&(l="right"),$pe(l,t,e,r)&&(l="center"),l}function QD(t,e,r){const n=r.yAlign||e.yAlign||Cpe(t,r);return{xAlign:r.xAlign||e.xAlign||Ape(t,e,r,n),yAlign:n}}function Mpe(t,e){let{x:r,width:n}=t;return e==="right"?r-=n:e==="center"&&(r-=n/2),r}function kpe(t,e,r){let{y:n,height:i}=t;return e==="top"?n+=r:e==="bottom"?n-=i+r:n-=i/2,n}function e2(t,e,r,n){const{caretSize:i,caretPadding:a,cornerRadius:s}=t,{xAlign:o,yAlign:u}=r,l=i+a,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:p}=Uo(s);let g=Mpe(e,o);const _=kpe(e,u,l);return u==="center"?o==="left"?g+=l:o==="right"&&(g-=l):o==="left"?g-=Math.max(c,h)+i:o==="right"&&(g+=Math.max(d,p)+i),{x:vr(g,0,n.width-e.width),y:vr(_,0,n.height-e.height)}}function Hp(t,e,r){const n=Br(r.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-n.right:t.x+n.left}function t2(t){return Gi([],xa(t))}function Dpe(t,e,r){return no(t,{tooltip:e,tooltipItems:r,type:"tooltip"})}function r2(t,e){const r=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return r?t.override(r):t}class tO extends Ii{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||e._chart,this._chart=this.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 L4(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=Dpe(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,r){const{callbacks:n}=r,i=n.beforeTitle.apply(this,[e]),a=n.title.apply(this,[e]),s=n.afterTitle.apply(this,[e]);let o=[];return o=Gi(o,xa(i)),o=Gi(o,xa(a)),o=Gi(o,xa(s)),o}getBeforeBody(e,r){return t2(r.callbacks.beforeBody.apply(this,[e]))}getBody(e,r){const{callbacks:n}=r,i=[];return ot(e,a=>{const s={before:[],lines:[],after:[]},o=r2(n,a);Gi(s.before,xa(o.beforeLabel.call(this,a))),Gi(s.lines,o.label.call(this,a)),Gi(s.after,xa(o.afterLabel.call(this,a))),i.push(s)}),i}getAfterBody(e,r){return t2(r.callbacks.afterBody.apply(this,[e]))}getFooter(e,r){const{callbacks:n}=r,i=n.beforeFooter.apply(this,[e]),a=n.footer.apply(this,[e]),s=n.afterFooter.apply(this,[e]);let o=[];return o=Gi(o,xa(i)),o=Gi(o,xa(a)),o=Gi(o,xa(s)),o}_createItems(e){const r=this._active,n=this.chart.data,i=[],a=[],s=[];let o=[],u,l;for(u=0,l=r.length;u<l;++u)o.push(Ppe(this.chart,r[u]));return e.filter&&(o=o.filter((c,d,h)=>e.filter(c,d,h,n))),e.itemSort&&(o=o.sort((c,d)=>e.itemSort(c,d,n))),ot(o,c=>{const d=r2(e.callbacks,c);i.push(d.labelColor.call(this,c)),a.push(d.labelPointStyle.call(this,c)),s.push(d.labelTextColor.call(this,c))}),this.labelColors=i,this.labelPointStyles=a,this.labelTextColors=s,this.dataPoints=o,o}update(e,r){const n=this.options.setContext(this.getContext()),i=this._active;let a,s=[];if(!i.length)this.opacity!==0&&(a={opacity:0});else{const o=yf[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=JD(this,n),l=Object.assign({},o,u),c=QD(this.chart,n,l),d=e2(n,l,c,this.chart);this.xAlign=c.xAlign,this.yAlign=c.yAlign,a={opacity:1,x:d.x,y:d.y,width:u.width,height:u.height,caretX:o.x,caretY:o.y}}this._tooltipItems=s,this.$context=void 0,a&&this._resolveAnimations().update(this,a),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:r})}drawCaret(e,r,n,i){const a=this.getCaretPosition(e,n,i);r.lineTo(a.x1,a.y1),r.lineTo(a.x2,a.y2),r.lineTo(a.x3,a.y3)}getCaretPosition(e,r,n){const{xAlign:i,yAlign:a}=this,{caretSize:s,cornerRadius:o}=n,{topLeft:u,topRight:l,bottomLeft:c,bottomRight:d}=Uo(o),{x:h,y:p}=e,{width:g,height:_}=r;let O,S,E,x,f,m;return a==="center"?(f=p+_/2,i==="left"?(O=h,S=O-s,x=f+s,m=f-s):(O=h+g,S=O+s,x=f-s,m=f+s),E=O):(i==="left"?S=h+Math.max(u,c)+s:i==="right"?S=h+g-Math.max(l,d)-s:S=this.caretX,a==="top"?(x=p,f=x-s,O=S-s,E=S+s):(x=p+_,f=x+s,O=S+s,E=S-s),m=x),{x1:O,x2:S,x3:E,y1:x,y2:f,y3:m}}drawTitle(e,r,n){const i=this.title,a=i.length;let s,o,u;if(a){const l=Nl(n.rtl,this.x,this.width);for(e.x=Hp(this,n.titleAlign,n),r.textAlign=l.textAlign(n.titleAlign),r.textBaseline="middle",s=ar(n.titleFont),o=n.titleSpacing,r.fillStyle=n.titleColor,r.font=s.string,u=0;u<a;++u)r.fillText(i[u],l.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+o,u+1===a&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,r,n,i,a){const s=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:u,boxWidth:l,boxPadding:c}=a,d=ar(a.bodyFont),h=Hp(this,"left",a),p=i.x(h),g=u<d.lineHeight?(d.lineHeight-u)/2:0,_=r.y+g;if(a.usePointStyle){const O={radius:Math.min(l,u)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},S=i.leftForLtr(p,l)+l/2,E=_+u/2;e.strokeStyle=a.multiKeyBackground,e.fillStyle=a.multiKeyBackground,K1(e,O,S,E),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,K1(e,O,S,E)}else{e.lineWidth=ze(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 O=i.leftForLtr(p,l-c),S=i.leftForLtr(i.xPlus(p,1),l-c-2),E=Uo(s.borderRadius);Object.values(E).some(x=>x!==0)?(e.beginPath(),e.fillStyle=a.multiKeyBackground,Kf(e,{x:O,y:_,w:l,h:u,radius:E}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),Kf(e,{x:S,y:_+1,w:l-2,h:u-2,radius:E}),e.fill()):(e.fillStyle=a.multiKeyBackground,e.fillRect(O,_,l,u),e.strokeRect(O,_,l,u),e.fillStyle=s.backgroundColor,e.fillRect(S,_+1,l-2,u-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,r,n){const{body:i}=this,{bodySpacing:a,bodyAlign:s,displayColors:o,boxHeight:u,boxWidth:l,boxPadding:c}=n,d=ar(n.bodyFont);let h=d.lineHeight,p=0;const g=Nl(n.rtl,this.x,this.width),_=function(P){r.fillText(P,g.x(e.x+p),e.y+h/2),e.y+=h+a},O=g.textAlign(s);let S,E,x,f,m,v,T;for(r.textAlign=s,r.textBaseline="middle",r.font=d.string,e.x=Hp(this,O,n),r.fillStyle=n.bodyColor,ot(this.beforeBody,_),p=o&&O!=="right"?s==="center"?l/2+c:l+2+c:0,f=0,v=i.length;f<v;++f){for(S=i[f],E=this.labelTextColors[f],r.fillStyle=E,ot(S.before,_),x=S.lines,o&&x.length&&(this._drawColorBox(r,e,f,g,n),h=Math.max(d.lineHeight,u)),m=0,T=x.length;m<T;++m)_(x[m]),h=d.lineHeight;ot(S.after,_)}p=0,h=d.lineHeight,ot(this.afterBody,_),e.y-=a}drawFooter(e,r,n){const i=this.footer,a=i.length;let s,o;if(a){const u=Nl(n.rtl,this.x,this.width);for(e.x=Hp(this,n.footerAlign,n),e.y+=n.footerMarginTop,r.textAlign=u.textAlign(n.footerAlign),r.textBaseline="middle",s=ar(n.footerFont),r.fillStyle=n.footerColor,r.font=s.string,o=0;o<a;++o)r.fillText(i[o],u.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+n.footerSpacing}}drawBackground(e,r,n,i){const{xAlign:a,yAlign:s}=this,{x:o,y:u}=e,{width:l,height:c}=n,{topLeft:d,topRight:h,bottomLeft:p,bottomRight:g}=Uo(i.cornerRadius);r.fillStyle=i.backgroundColor,r.strokeStyle=i.borderColor,r.lineWidth=i.borderWidth,r.beginPath(),r.moveTo(o+d,u),s==="top"&&this.drawCaret(e,r,n,i),r.lineTo(o+l-h,u),r.quadraticCurveTo(o+l,u,o+l,u+h),s==="center"&&a==="right"&&this.drawCaret(e,r,n,i),r.lineTo(o+l,u+c-g),r.quadraticCurveTo(o+l,u+c,o+l-g,u+c),s==="bottom"&&this.drawCaret(e,r,n,i),r.lineTo(o+p,u+c),r.quadraticCurveTo(o,u+c,o,u+c-p),s==="center"&&a==="left"&&this.drawCaret(e,r,n,i),r.lineTo(o,u+d),r.quadraticCurveTo(o,u,o+d,u),r.closePath(),r.fill(),i.borderWidth>0&&r.stroke()}_updateAnimationTarget(e){const r=this.chart,n=this.$animations,i=n&&n.x,a=n&&n.y;if(i||a){const s=yf[e.position].call(this,this._active,this._eventPosition);if(!s)return;const o=this._size=JD(this,e),u=Object.assign({},s,this._size),l=QD(r,e,u),c=e2(e,u,l,r);(i._to!==c.x||a._to!==c.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=o.width,this.height=o.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){const r=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(r);const i={width:this.width,height:this.height},a={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const s=Br(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),M4(e,r.textDirection),a.y+=s.top,this.drawTitle(a,e,r),this.drawBody(a,e,r),this.drawFooter(a,e,r),k4(e,r.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,r){const n=this._active,i=e.map(({datasetIndex:o,index:u})=>{const l=this.chart.getDatasetMeta(o);if(!l)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:l.data[u],index:u}}),a=!eg(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||!eg(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=yf[a.position].call(this,e,r);return s!==!1&&(n!==s.x||i!==s.y)}}tO.positioners=yf;var Rpe={id:"tooltip",_element:tO,positioners:yf,afterInit(t,e,r){r&&(t.tooltip=new tO({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)===!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:{beforeTitle:Oa,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:Oa,beforeBody:Oa,beforeLabel:Oa,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const r=t.formattedValue;return We(r)||(e+=r),e},labelColor(t){const r=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:r.borderColor,backgroundColor:r.backgroundColor,borderWidth:r.borderWidth,borderDash:r.borderDash,borderDashOffset:r.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const r=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:r.pointStyle,rotation:r.rotation}},afterLabel:Oa,afterBody:Oa,beforeFooter:Oa,footer:Oa,afterFooter:Oa}},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"]},Ipe=Object.freeze({__proto__:null,Decimation:epe,Filler:ype,Legend:Spe,SubTitle:Epe,Title:Tpe,Tooltip:Rpe});const Lpe=(t,e,r,n)=>(typeof e=="string"?(r=t.push(e)-1,n.unshift({index:r,label:e})):isNaN(e)&&(r=null),r);function Npe(t,e,r,n){const i=t.indexOf(e);if(i===-1)return Lpe(t,e,r,n);const a=t.lastIndexOf(e);return i!==a?r:i}const Bpe=(t,e)=>t===null?null:vr(Math.round(t),0,e);class ug extends Ou{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const r=this._addedLabels;if(r.length){const n=this.getLabels();for(const{index:i,label:a}of r)n[i]===a&&n.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,r){if(We(e))return null;const n=this.getLabels();return r=isFinite(r)&&n[r]===e?r:Npe(n,e,Re(r,e),this._addedLabels),Bpe(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){const r=this.getLabels();return e>=0&&e<r.length?r[e]: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}}ug.id="category";ug.defaults={ticks:{callback:ug.prototype.getLabelForValue}};function Fpe(t,e){const r=[],{bounds:i,step:a,min:s,max:o,precision:u,count:l,maxTicks:c,maxDigits:d,includeBounds:h}=t,p=a||1,g=c-1,{min:_,max:O}=e,S=!We(s),E=!We(o),x=!We(l),f=(O-_)/(d+1);let m=Qk((O-_)/g/p)*p,v,T,P,k;if(m<1e-14&&!S&&!E)return[{value:_},{value:O}];k=Math.ceil(O/m)-Math.floor(_/m),k>g&&(m=Qk(k*m/g/p)*p),We(u)||(v=Math.pow(10,u),m=Math.ceil(m*v)/v),i==="ticks"?(T=Math.floor(_/m)*m,P=Math.ceil(O/m)*m):(T=_,P=O),S&&E&&a&&Ece((o-s)/a,m/1e3)?(k=Math.round(Math.min((o-s)/m,c)),m=(o-s)/k,T=s,P=o):x?(T=S?s:T,P=E?o:P,k=l-1,m=(P-T)/k):(k=(P-T)/m,gf(k,Math.round(k),m/1e3)?k=Math.round(k):k=Math.ceil(k));const y=Math.max(eD(m),eD(T));v=Math.pow(10,We(u)?y:u),T=Math.round(T*v)/v,P=Math.round(P*v)/v;let M=0;for(S&&(h&&T!==s?(r.push({value:s}),T<s&&M++,gf(Math.round((T+M*m)*v)/v,s,n2(s,f,t))&&M++):T<s&&M++);M<k;++M)r.push({value:Math.round((T+M*m)*v)/v});return E&&h&&P!==o?r.length&&gf(r[r.length-1].value,o,n2(o,f,t))?r[r.length-1].value=o:r.push({value:o}):(!E||P===o)&&r.push({value:P}),r}function n2(t,e,{horizontal:r,minRotation:n}){const i=mi(n),a=(r?Math.sin(i):Math.cos(i))||.001,s=.75*e*(""+t).length;return Math.min(e/a,s)}class lg extends Ou{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,r){return We(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:r,maxDefined:n}=this.getUserBounds();let{min:i,max:a}=this;const s=u=>i=r?i:u,o=u=>a=n?a:u;if(e){const u=aa(i),l=aa(a);u<0&&l<0?o(0):u>0&&l>0&&s(0)}if(i===a){let u=1;(a>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(u=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=Fpe(i,a);return e.bounds==="ticks"&&l4(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 _h(e,this.chart.options.locale,this.options.ticks.format)}}class Vx extends lg{determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=Qt(e)?e:0,this.max=Qt(r)?r:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),r=e?this.width:this.height,n=mi(this.options.ticks.minRotation),i=(e?Math.sin(n):Math.cos(n))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(r/Math.min(40,a.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}Vx.id="linear";Vx.defaults={ticks:{callback:R0.formatters.numeric}};function i2(t){return t/Math.pow(10,Math.floor(Qn(t)))===1}function jpe(t,e){const r=Math.floor(Qn(e.max)),n=Math.ceil(e.max/Math.pow(10,r)),i=[];let a=Yn(t.min,Math.pow(10,Math.floor(Qn(e.min)))),s=Math.floor(Qn(a)),o=Math.floor(a/Math.pow(10,s)),u=s<0?Math.pow(10,Math.abs(s)):1;do i.push({value:a,major:i2(a)}),++o,o===10&&(o=1,++s,u=s>=0?1:u),a=Math.round(o*Math.pow(10,s)*u)/u;while(s<r||s===r&&o<n);const l=Yn(t.max,a);return i.push({value:l,major:i2(a)}),i}class Ux extends Ou{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,r){const n=lg.prototype.parse.apply(this,[e,r]);if(n===0){this._zero=!0;return}return Qt(n)&&n>0?n:null}determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=Qt(e)?Math.max(0,e):null,this.max=Qt(r)?Math.max(0,r):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:r}=this.getUserBounds();let n=this.min,i=this.max;const a=u=>n=e?n:u,s=u=>i=r?i:u,o=(u,l)=>Math.pow(10,Math.floor(Qn(u))+l);n===i&&(n<=0?(a(1),s(10)):(a(o(n,-1)),s(o(i,1)))),n<=0&&a(o(i,-1)),i<=0&&s(o(n,1)),this._zero&&this.min!==this._suggestedMin&&n===o(this.min,0)&&a(o(n,-1)),this.min=n,this.max=i}buildTicks(){const e=this.options,r={min:this._userMin,max:this._userMax},n=jpe(r,this);return e.bounds==="ticks"&&l4(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":_h(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Qn(e),this._valueRange=Qn(this.max)-Qn(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Qn(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const r=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+r*this._valueRange)}}Ux.id="logarithmic";Ux.defaults={ticks:{callback:R0.formatters.logarithmic,major:{enabled:!0}}};function rO(t){const e=t.ticks;if(e.display&&t.display){const r=Br(e.backdropPadding);return Re(e.font&&e.font.size,Ue.font.size)+r.height}return 0}function zpe(t,e,r){return r=_t(r)?r:[r],{w:ide(t,e.string,r),h:r.length*e.lineHeight}}function a2(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 Hpe(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?$t/a:0;for(let u=0;u<a;u++){const l=s.setContext(t.getPointLabelContext(u));i[u]=l.padding;const c=t.getPointPosition(u,t.drawingArea+i[u],o),d=ar(l.font),h=zpe(t.ctx,d,t._pointLabels[u]);n[u]=h;const p=Tn(t.getIndexAngle(u)+o),g=Math.round($x(p)),_=a2(g,c.x,h.w,0,180),O=a2(g,c.y,h.h,90,270);Vpe(r,e,p,_,O)}t.setCenterPoint(e.l-r.l,r.r-e.r,e.t-r.t,r.b-e.b),t._pointLabelItems=Upe(t,n,i)}function Vpe(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 Upe(t,e,r){const n=[],i=t._pointLabels.length,a=t.options,s=rO(a)/2,o=t.drawingArea,u=a.pointLabels.centerPointLabels?$t/i:0;for(let l=0;l<i;l++){const c=t.getPointPosition(l,o+s+r[l],u),d=Math.round($x(Tn(c.angle+zt))),h=e[l],p=Ype(c.y,h.h,d),g=Gpe(d),_=Wpe(c.x,h.w,g);n.push({x:c.x,y:p,textAlign:g,left:_,top:p,right:_+h.w,bottom:p+h.h})}return n}function Gpe(t){return t===0||t===180?"center":t<180?"left":"right"}function Wpe(t,e,r){return r==="right"?t-=e:r==="center"&&(t-=e/2),t}function Ype(t,e,r){return r===90||r===270?t-=e/2:(r>270||r<90)&&(t-=e),t}function Kpe(t,e){const{ctx:r,options:{pointLabels:n}}=t;for(let i=e-1;i>=0;i--){const a=n.setContext(t.getPointLabelContext(i)),s=ar(a.font),{x:o,y:u,textAlign:l,left:c,top:d,right:h,bottom:p}=t._pointLabelItems[i],{backdropColor:g}=a;if(!We(g)){const _=Uo(a.borderRadius),O=Br(a.backdropPadding);r.fillStyle=g;const S=c-O.left,E=d-O.top,x=h-c+O.width,f=p-d+O.height;Object.values(_).some(m=>m!==0)?(r.beginPath(),Kf(r,{x:S,y:E,w:x,h:f,radius:_}),r.fill()):r.fillRect(S,E,x,f)}cu(r,t._pointLabels[i],o,u+s.lineHeight/2,s,{color:a.color,textAlign:l,textBaseline:"middle"})}}function a6(t,e,r,n){const{ctx:i}=t;if(r)i.arc(t.xCenter,t.yCenter,e,0,ut);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 qpe(t,e,r,n){const i=t.ctx,a=e.circular,{color:s,lineWidth:o}=e;!a&&!n||!s||!o||r<0||(i.save(),i.strokeStyle=s,i.lineWidth=o,i.setLineDash(e.borderDash),i.lineDashOffset=e.borderDashOffset,i.beginPath(),a6(t,r,a,n),i.closePath(),i.stroke(),i.restore())}function Xpe(t,e,r){return no(t,{label:r,index:e,type:"pointLabel"})}class wh extends lg{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=Br(rO(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=Qt(e)&&!isNaN(e)?e:0,this.max=Qt(r)&&!isNaN(r)?r:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/rO(this.options))}generateTickLabels(e){lg.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((r,n)=>{const i=gt(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?Hpe(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=ut/(this._pointLabels.length||1),n=this.options.startAngle||0;return Tn(e*r+mi(n))}getDistanceFromCenterForValue(e){if(We(e))return NaN;const r=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*r:(e-this.min)*r}getValueForDistanceFromCenter(e){if(We(e))return NaN;const r=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-r:this.min+r}getPointLabelContext(e){const r=this._pointLabels||[];if(e>=0&&e<r.length){const n=r[e];return Xpe(this.getContext(),e,n)}}getPointPosition(e,r,n=0){const i=this.getIndexAngle(e)-zt+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(),a6(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}=r,a=this._pointLabels.length;let s,o,u;if(r.pointLabels.display&&Kpe(this,a),i.display&&this.ticks.forEach((l,c)=>{if(c!==0){o=this.getDistanceFromCenterForValue(l.value);const d=i.setContext(this.getContext(c-1));qpe(this,d,o,a)}}),n.display){for(e.save(),s=a-1;s>=0;s--){const l=n.setContext(this.getPointLabelContext(s)),{color:c,lineWidth:d}=l;!d||!c||(e.lineWidth=d,e.strokeStyle=c,e.setLineDash(l.borderDash),e.lineDashOffset=l.borderDashOffset,o=this.getDistanceFromCenterForValue(r.ticks.reverse?this.min:this.max),u=this.getPointPosition(s,o),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(u.x,u.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,r=this.options,n=r.ticks;if(!n.display)return;const i=this.getIndexAngle(0);let a,s;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((o,u)=>{if(u===0&&!r.reverse)return;const l=n.setContext(this.getContext(u)),c=ar(l.font);if(a=this.getDistanceFromCenterForValue(this.ticks[u].value),l.showLabelBackdrop){e.font=c.string,s=e.measureText(o.label).width,e.fillStyle=l.backdropColor;const d=Br(l.backdropPadding);e.fillRect(-s/2-d.left,-a-c.size/2-d.top,s+d.width,c.size+d.height)}cu(e,o.label,0,-a,c,{color:l.color})}),e.restore()}drawTitle(){}}wh.id="radialLinear";wh.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:R0.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}};wh.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};wh.descriptors={angleLines:{_fallback:"grid"}};const F0={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}},nn=Object.keys(F0);function Zpe(t,e){return t-e}function s2(t,e){if(We(e))return null;const r=t._adapter,{parser:n,round:i,isoWeekday:a}=t._parseOpts;let s=e;return typeof n=="function"&&(s=n(s)),Qt(s)||(s=typeof n=="string"?r.parse(s,n):r.parse(s)),s===null?null:(i&&(s=i==="week"&&(uc(a)||a===!0)?r.startOf(s,"isoWeek",a):r.startOf(s,i)),+s)}function o2(t,e,r,n){const i=nn.length;for(let a=nn.indexOf(t);a<i-1;++a){const s=F0[nn[a]],o=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((r-e)/(o*s.size))<=n)return nn[a]}return nn[i-1]}function Jpe(t,e,r,n,i){for(let a=nn.length-1;a>=nn.indexOf(r);a--){const s=nn[a];if(F0[s].common&&t._adapter.diff(i,n,s)>=e-1)return s}return nn[r?nn.indexOf(r):0]}function Qpe(t){for(let e=nn.indexOf(t)+1,r=nn.length;e<r;++e)if(F0[nn[e]].common)return nn[e]}function u2(t,e,r){if(!r)t[e]=!0;else if(r.length){const{lo:n,hi:i}=Ax(r,e),a=r[n]>=e?r[n]:r[i];t[a]=!0}}function eme(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 l2(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:eme(t,n,i,r)}class Oh extends Ou{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 j4._date(e.adapters.date);i.init(r),vf(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:s2(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,r=this._adapter,n=e.time.unit||"day";let{min:i,max:a,minDefined:s,maxDefined:o}=this.getUserBounds();function u(l){!s&&!isNaN(l.min)&&(i=Math.min(i,l.min)),!o&&!isNaN(l.max)&&(a=Math.max(a,l.max))}(!s||!o)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),i=Qt(i)&&!isNaN(i)?i:+r.startOf(Date.now(),n),a=Qt(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=Ace(i,a,s);return this._unit=r.unit||(n.autoSkip?o2(r.minUnit,this.min,this.max,this._getLabelCapacity(a)):Jpe(this,o.length,r.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:Qpe(this._unit),this.initOffsets(i),e.reverse&&o.reverse(),l2(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=vr(r,0,s),n=vr(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||o2(a.minUnit,r,n,this._getLabelCapacity(r)),o=Re(a.stepSize,1),u=s==="week"?a.isoWeekday:!1,l=uc(u)||u===!0,c={};let d=r,h,p;if(l&&(d=+e.startOf(d,"isoWeek",u)),d=+e.startOf(d,l?"day":s),e.diff(n,r,s)>1e5*o)throw new Error(r+" and "+n+" are too far apart with stepSize of "+o+" "+s);const g=i.ticks.source==="data"&&this.getDataTimestamps();for(h=d,p=0;h<n;h=+e.add(h,o,s),p++)u2(c,h,g);return(h===n||i.bounds==="ticks"||p===1)&&u2(c,h,g),Object.keys(c).sort((_,O)=>_-O).map(_=>+_)}getLabelForValue(e){const r=this._adapter,n=this.options.time;return n.tooltipFormat?r.format(e,n.tooltipFormat):r.format(e,n.displayFormats.datetime)}_tickFormatFunction(e,r,n,i){const a=this.options,s=a.time.displayFormats,o=this._unit,u=this._majorUnit,l=o&&s[o],c=u&&s[u],d=n[r],h=u&&c&&d&&d.major,p=this._adapter.format(e,i||(h?c:l)),g=a.ticks.callback;return g?gt(g,[p,r,n],this):p}generateTickLabels(e){let r,n,i;for(r=0,n=e.length;r<n;++r)i=e[r],i.label=this._tickFormatFunction(i.value,r,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const r=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((r.start+n)*r.factor)}getValueForPixel(e){const r=this._offsets,n=this.getDecimalForPixel(e)/r.factor-r.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){const r=this.options.ticks,n=this.ctx.measureText(e).width,i=mi(this.isHorizontal()?r.maxRotation:r.minRotation),a=Math.cos(i),s=Math.sin(i),o=this._resolveTickFontOptions(0).size;return{w:n*a+o*s,h:n*s+o*a}}_getLabelCapacity(e){const r=this.options.time,n=r.displayFormats,i=n[r.unit]||n.millisecond,a=this._tickFormatFunction(e,0,l2(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(s2(this,i[r]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return f4(e.sort(Zpe))}}Oh.id="time";Oh.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};function Vp(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}=Fa(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}=Fa(t,"time",e)),{time:a,pos:o}=t[n],{time:s,pos:u}=t[i]);const l=s-a;return l?o+(u-o)*(e-a)/l:o}class Gx extends Oh{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=Vp(r,this.min),this._tableRange=Vp(r,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:r,max:n}=this,i=[],a=[];let s,o,u,l,c;for(s=0,o=e.length;s<o;++s)l=e[s],l>=r&&l<=n&&i.push(l);if(i.length<2)return[{time:r,pos:0},{time:n,pos:1}];for(s=0,o=i.length;s<o;++s)c=i[s+1],u=i[s-1],l=i[s],Math.round((c+u)/2)!==l&&a.push({time:l,pos:s/(o-1)});return a}_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(Vp(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const r=this._offsets,n=this.getDecimalForPixel(e)/r.factor-r.end;return Vp(this._table,n*this._tableRange+this._minPos,!0)}}Gx.id="timeseries";Gx.defaults=Oh.defaults;var tme=Object.freeze({__proto__:null,CategoryScale:ug,LinearScale:Vx,LogarithmicScale:Ux,RadialLinearScale:wh,TimeScale:Oh,TimeSeriesScale:Gx});const OPe=[jfe,Xhe,Ipe,tme];function xt(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function ge(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function Te(t){ge(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 s6(t,e){ge(2,arguments);var r=Te(t),n=xt(e);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function Wx(t,e){ge(2,arguments);var r=Te(t),n=xt(e);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var s=a.getDate();return i>=s?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function Sh(t,e){ge(2,arguments);var r=Te(t).getTime(),n=xt(e);return new Date(r+n)}var rme=36e5;function nme(t,e){ge(2,arguments);var r=xt(e);return Sh(t,r*rme)}var ime={};function ao(){return ime}function c2(t,e){var r,n,i,a,s,o,u,l;ge(1,arguments);var c=ao(),d=xt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Te(t),p=h.getDay(),g=(p<d?7:0)+p-d;return h.setDate(h.getDate()-g),h.setHours(0,0,0,0),h}function cg(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 nO(t){ge(1,arguments);var e=Te(t);return e.setHours(0,0,0,0),e}var ame=864e5;function sme(t,e){ge(2,arguments);var r=nO(t),n=nO(e),i=r.getTime()-cg(r),a=n.getTime()-cg(n);return Math.round((i-a)/ame)}var ome=6e4;function ume(t,e){ge(2,arguments);var r=xt(e);return Sh(t,r*ome)}function lme(t,e){ge(2,arguments);var r=xt(e),n=r*3;return Wx(t,n)}function cme(t,e){ge(2,arguments);var r=xt(e);return Sh(t,r*1e3)}function dme(t,e){ge(2,arguments);var r=xt(e),n=r*7;return s6(t,n)}function fme(t,e){ge(2,arguments);var r=xt(e);return Wx(t,r*12)}function wf(t,e){ge(2,arguments);var r=Te(t),n=Te(e),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}var j0=6e4,z0=36e5,hme=1e3;function pme(t){return ge(1,arguments),t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function o6(t){if(ge(1,arguments),!pme(t)&&typeof t!="number")return!1;var e=Te(t);return!isNaN(Number(e))}function mme(t,e){ge(2,arguments);var r=Te(t),n=Te(e),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}function vme(t,e){ge(2,arguments);var r=Te(t),n=Te(e);return r.getFullYear()-n.getFullYear()}function d2(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function u6(t,e){ge(2,arguments);var r=Te(t),n=Te(e),i=d2(r,n),a=Math.abs(sme(r,n));r.setDate(r.getDate()-i*a);var s=+(d2(r,n)===-i),o=i*(a-s);return o===0?0:o}function H0(t,e){return ge(2,arguments),Te(t).getTime()-Te(e).getTime()}var f2={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},gme="trunc";function xh(t){return t?f2[t]:f2[gme]}function bme(t,e,r){ge(2,arguments);var n=H0(t,e)/z0;return xh(r==null?void 0:r.roundingMethod)(n)}function _me(t,e,r){ge(2,arguments);var n=H0(t,e)/j0;return xh(r==null?void 0:r.roundingMethod)(n)}function l6(t){ge(1,arguments);var e=Te(t);return e.setHours(23,59,59,999),e}function c6(t){ge(1,arguments);var e=Te(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function yme(t){ge(1,arguments);var e=Te(t);return l6(e).getTime()===c6(e).getTime()}function d6(t,e){ge(2,arguments);var r=Te(t),n=Te(e),i=wf(r,n),a=Math.abs(mme(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=wf(r,n)===-i;yme(Te(t))&&a===1&&wf(t,n)===1&&(o=!1),s=i*(a-Number(o))}return s===0?0:s}function wme(t,e,r){ge(2,arguments);var n=d6(t,e)/3;return xh(r==null?void 0:r.roundingMethod)(n)}function Ome(t,e,r){ge(2,arguments);var n=H0(t,e)/1e3;return xh(r==null?void 0:r.roundingMethod)(n)}function Sme(t,e,r){ge(2,arguments);var n=u6(t,e)/7;return xh(r==null?void 0:r.roundingMethod)(n)}function xme(t,e){ge(2,arguments);var r=Te(t),n=Te(e),i=wf(r,n),a=Math.abs(vme(r,n));r.setFullYear(1584),n.setFullYear(1584);var s=wf(r,n)===-i,o=i*(a-Number(s));return o===0?0:o}function Tme(t){ge(1,arguments);var e=Te(t);return e.setSeconds(0,0),e}function Eme(t){ge(1,arguments);var e=Te(t),r=e.getMonth(),n=r-r%3;return e.setMonth(n,1),e.setHours(0,0,0,0),e}function Pme(t){ge(1,arguments);var e=Te(t);return e.setDate(1),e.setHours(0,0,0,0),e}function Cme(t){ge(1,arguments);var e=Te(t),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}function $me(t){ge(1,arguments);var e=Te(t),r=new Date(0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Ame(t){ge(1,arguments);var e=Te(t);return e.setMinutes(59,59,999),e}function Mme(t,e){var r,n,i,a,s,o,u,l;ge(1,arguments);var c=ao(),d=xt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Te(t),p=h.getDay(),g=(p<d?-7:0)+6-(p-d);return h.setDate(h.getDate()+g),h.setHours(23,59,59,999),h}function kme(t){ge(1,arguments);var e=Te(t);return e.setSeconds(59,999),e}function Dme(t){ge(1,arguments);var e=Te(t),r=e.getMonth(),n=r-r%3+3;return e.setMonth(n,0),e.setHours(23,59,59,999),e}function Rme(t){ge(1,arguments);var e=Te(t);return e.setMilliseconds(999),e}function f6(t,e){ge(2,arguments);var r=xt(e);return Sh(t,-r)}var Ime=864e5;function Lme(t){ge(1,arguments);var e=Te(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/Ime)+1}function dc(t){ge(1,arguments);var e=1,r=Te(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 h6(t){ge(1,arguments);var e=Te(t),r=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=dc(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var s=dc(a);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function Nme(t){ge(1,arguments);var e=h6(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=dc(r);return n}var Bme=6048e5;function p6(t){ge(1,arguments);var e=Te(t),r=dc(e).getTime()-Nme(e).getTime();return Math.round(r/Bme)+1}function du(t,e){var r,n,i,a,s,o,u,l;ge(1,arguments);var c=ao(),d=xt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Te(t),p=h.getUTCDay(),g=(p<d?7:0)+p-d;return h.setUTCDate(h.getUTCDate()-g),h.setUTCHours(0,0,0,0),h}function Yx(t,e){var r,n,i,a,s,o,u,l;ge(1,arguments);var c=Te(t),d=c.getUTCFullYear(),h=ao(),p=xt((r=(n=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&i!==void 0?i:h.firstWeekContainsDate)!==null&&n!==void 0?n:(u=h.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(d+1,0,p),g.setUTCHours(0,0,0,0);var _=du(g,e),O=new Date(0);O.setUTCFullYear(d,0,p),O.setUTCHours(0,0,0,0);var S=du(O,e);return c.getTime()>=_.getTime()?d+1:c.getTime()>=S.getTime()?d:d-1}function Fme(t,e){var r,n,i,a,s,o,u,l;ge(1,arguments);var c=ao(),d=xt((r=(n=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),h=Yx(t,e),p=new Date(0);p.setUTCFullYear(h,0,d),p.setUTCHours(0,0,0,0);var g=du(p,e);return g}var jme=6048e5;function m6(t,e){ge(1,arguments);var r=Te(t),n=du(r,e).getTime()-Fme(r,e).getTime();return Math.round(n/jme)+1}function st(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var zme={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return st(e==="yy"?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return e==="M"?String(r+1):st(r+1,2)},d:function(t,e){return st(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,e){return st(t.getUTCHours()%12||12,e.length)},H:function(t,e){return st(t.getUTCHours(),e.length)},m:function(t,e){return st(t.getUTCMinutes(),e.length)},s:function(t,e){return st(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return st(i,e.length)}};const fs=zme;var al={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Hme={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 fs.y(t,e)},Y:function(t,e,r,n){var i=Yx(t,n),a=i>0?i:1-i;if(e==="YY"){var s=a%100;return st(s,2)}return e==="Yo"?r.ordinalNumber(a,{unit:"year"}):st(a,e.length)},R:function(t,e){var r=h6(t);return st(r,e.length)},u:function(t,e){var r=t.getUTCFullYear();return st(r,e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return st(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return st(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return fs.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return st(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var i=m6(t,n);return e==="wo"?r.ordinalNumber(i,{unit:"week"}):st(i,e.length)},I:function(t,e,r){var n=p6(t);return e==="Io"?r.ordinalNumber(n,{unit:"week"}):st(n,e.length)},d:function(t,e,r){return e==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):fs.d(t,e)},D:function(t,e,r){var n=Lme(t);return e==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):st(n,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var i=t.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return st(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var i=t.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return st(a,e.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return st(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours(),i=n/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n=t.getUTCHours(),i;switch(n===12?i=al.noon:n===0?i=al.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=al.evening:n>=12?i=al.afternoon:n>=4?i=al.morning:i=al.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 fs.h(t,e)},H:function(t,e,r){return e==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):fs.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return e==="Ko"?r.ordinalNumber(n,{unit:"hour"}):st(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return n===0&&(n=24),e==="ko"?r.ordinalNumber(n,{unit:"hour"}):st(n,e.length)},m:function(t,e,r){return e==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):fs.m(t,e)},s:function(t,e,r){return e==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):fs.s(t,e)},S:function(t,e){return fs.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 p2(a);case"XXXX":case"XX":return To(a);case"XXXXX":case"XXX":default:return To(a,":")}},x:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"x":return p2(a);case"xxxx":case"xx":return To(a);case"xxxxx":case"xxx":default:return To(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"+h2(a,":");case"OOOO":default:return"GMT"+To(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"+h2(a,":");case"zzzz":default:return"GMT"+To(a,":")}},t:function(t,e,r,n){var i=n._originalDate||t,a=Math.floor(i.getTime()/1e3);return st(a,e.length)},T:function(t,e,r,n){var i=n._originalDate||t,a=i.getTime();return st(a,e.length)}};function h2(t,e){var r=t>0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var s=e||"";return r+String(i)+s+st(a,2)}function p2(t,e){if(t%60===0){var r=t>0?"-":"+";return r+st(Math.abs(t)/60,2)}return To(t,e)}function To(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t),a=st(Math.floor(i/60),2),s=st(i%60,2);return n+a+r+s}const Vme=Hme;var m2=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"})}},v6=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"})}},Ume=function(t,e){var r=t.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return m2(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}}",m2(n,e)).replace("{{time}}",v6(i,e))},Gme={p:v6,P:Ume};const iO=Gme;var Wme=["D","DD"],Yme=["YY","YYYY"];function g6(t){return Wme.indexOf(t)!==-1}function b6(t){return Yme.indexOf(t)!==-1}function dg(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 Kme={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"}},qme=function(t,e,r){var n,i=Kme[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 Xme=qme;function Ay(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 Zme={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Jme={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Qme={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},eve={date:Ay({formats:Zme,defaultWidth:"full"}),time:Ay({formats:Jme,defaultWidth:"full"}),dateTime:Ay({formats:Qme,defaultWidth:"full"})};const tve=eve;var rve={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},nve=function(t,e,r,n){return rve[t]};const ive=nve;function Od(t){return function(e,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,s=r!=null&&r.width?String(r.width):a;i=t.formattingValues[s]||t.formattingValues[a]}else{var o=t.defaultWidth,u=r!=null&&r.width?String(r.width):t.defaultWidth;i=t.values[u]||t.values[o]}var l=t.argumentCallback?t.argumentCallback(e):e;return i[l]}}var ave={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},sve={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ove={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"]},uve={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"]},lve={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"}},cve={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"}},dve=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"},fve={ordinalNumber:dve,era:Od({values:ave,defaultWidth:"wide"}),quarter:Od({values:sve,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Od({values:ove,defaultWidth:"wide"}),day:Od({values:uve,defaultWidth:"wide"}),dayPeriod:Od({values:lve,defaultWidth:"wide",formattingValues:cve,defaultFormattingWidth:"wide"})};const hve=fve;function Sd(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)?mve(o,function(d){return d.test(s)}):pve(o,function(d){return d.test(s)}),l;l=t.valueCallback?t.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var c=e.slice(s.length);return{value:l,rest:c}}}function pve(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function mve(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}function vve(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 gve=/^(\d+)(th|st|nd|rd)?/i,bve=/\d+/i,_ve={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},yve={any:[/^b/i,/^(a|c)/i]},wve={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ove={any:[/1/i,/2/i,/3/i,/4/i]},Sve={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},xve={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]},Tve={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},Eve={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]},Pve={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},Cve={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}},$ve={ordinalNumber:vve({matchPattern:gve,parsePattern:bve,valueCallback:function(t){return parseInt(t,10)}}),era:Sd({matchPatterns:_ve,defaultMatchWidth:"wide",parsePatterns:yve,defaultParseWidth:"any"}),quarter:Sd({matchPatterns:wve,defaultMatchWidth:"wide",parsePatterns:Ove,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Sd({matchPatterns:Sve,defaultMatchWidth:"wide",parsePatterns:xve,defaultParseWidth:"any"}),day:Sd({matchPatterns:Tve,defaultMatchWidth:"wide",parsePatterns:Eve,defaultParseWidth:"any"}),dayPeriod:Sd({matchPatterns:Pve,defaultMatchWidth:"any",parsePatterns:Cve,defaultParseWidth:"any"})};const Ave=$ve;var Mve={code:"en-US",formatDistance:Xme,formatLong:tve,formatRelative:ive,localize:hve,match:Ave,options:{weekStartsOn:0,firstWeekContainsDate:1}};const _6=Mve;var kve=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dve=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Rve=/^'([^]*?)'?$/,Ive=/''/g,Lve=/[a-zA-Z]/;function Nve(t,e,r){var n,i,a,s,o,u,l,c,d,h,p,g,_,O,S,E,x,f;ge(2,arguments);var m=String(e),v=ao(),T=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:v.locale)!==null&&n!==void 0?n:_6,P=xt((a=(s=(o=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(l=r.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&o!==void 0?o:v.firstWeekContainsDate)!==null&&s!==void 0?s:(d=v.locale)===null||d===void 0||(h=d.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=xt((p=(g=(_=(O=r==null?void 0:r.weekStartsOn)!==null&&O!==void 0?O:r==null||(S=r.locale)===null||S===void 0||(E=S.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&_!==void 0?_:v.weekStartsOn)!==null&&g!==void 0?g:(x=v.locale)===null||x===void 0||(f=x.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&p!==void 0?p:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!T.localize)throw new RangeError("locale must contain localize property");if(!T.formatLong)throw new RangeError("locale must contain formatLong property");var y=Te(t);if(!o6(y))throw new RangeError("Invalid time value");var M=cg(y),C=f6(y,M),w={firstWeekContainsDate:P,weekStartsOn:k,locale:T,_originalDate:y},$=m.match(Dve).map(function(D){var A=D[0];if(A==="p"||A==="P"){var L=iO[A];return L(D,T.formatLong)}return D}).join("").match(kve).map(function(D){if(D==="''")return"'";var A=D[0];if(A==="'")return Bve(D);var L=Vme[A];if(L)return!(r!=null&&r.useAdditionalWeekYearTokens)&&b6(D)&&dg(D,e,String(t)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&g6(D)&&dg(D,e,String(t)),L(C,D,T.localize,w);if(A.match(Lve))throw new RangeError("Format string contains an unescaped latin alphabet character `"+A+"`");return D}).join("");return $}function Bve(t){var e=t.match(Rve);return e?e[1].replace(Ive,"'"):t}function Fve(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 fg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jve=10;class y6{constructor(){fg(this,"priority",void 0),fg(this,"subPriority",0)}validate(e,r){return!0}}class zve extends y6{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 Hve extends y6{constructor(){super(...arguments),fg(this,"priority",jve),fg(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 My(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class tt{constructor(){My(this,"incompatibleTokens",void 0),My(this,"priority",void 0),My(this,"subPriority",void 0)}run(e,r,n,i){var a=this.parse(e,r,n,i);return a?{setter:new zve(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,r,n){return!0}}function v2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Vve extends tt{constructor(){super(...arguments),v2(this,"priority",140),v2(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 Xt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ji={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Zt(t,e){return t&&{value:e(t.value),rest:t.rest}}function It(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function Qi(t,e){var r=e.match(t);if(!r)return null;if(r[0]==="Z")return{value:0,rest:e.slice(1)};var n=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,a=r[3]?parseInt(r[3],10):0,s=r[5]?parseInt(r[5],10):0;return{value:n*(i*z0+a*j0+s*hme),rest:e.slice(r[0].length)}}function w6(t){return It(Xt.anyDigitsSigned,t)}function Ht(t,e){switch(t){case 1:return It(Xt.singleDigit,e);case 2:return It(Xt.twoDigits,e);case 3:return It(Xt.threeDigits,e);case 4:return It(Xt.fourDigits,e);default:return It(new RegExp("^\\d{1,"+t+"}"),e)}}function hg(t,e){switch(t){case 1:return It(Xt.singleDigitSigned,e);case 2:return It(Xt.twoDigitsSigned,e);case 3:return It(Xt.threeDigitsSigned,e);case 4:return It(Xt.fourDigitsSigned,e);default:return It(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Kx(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 O6(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 S6(t){return t%400===0||t%4===0&&t%100!==0}function g2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Uve extends tt{constructor(){super(...arguments),g2(this,"priority",130),g2(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 Zt(Ht(4,e),i);case"yo":return Zt(n.ordinalNumber(e,{unit:"year"}),i);default:return Zt(Ht(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=O6(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 b2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Gve extends tt{constructor(){super(...arguments),b2(this,"priority",130),b2(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 Zt(Ht(4,e),i);case"Yo":return Zt(n.ordinalNumber(e,{unit:"year"}),i);default:return Zt(Ht(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,n,i){var a=Yx(e,i);if(n.isTwoDigitYear){var s=O6(n.year,a);return e.setUTCFullYear(s,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),du(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),du(e,i)}}function _2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Wve extends tt{constructor(){super(...arguments),_2(this,"priority",130),_2(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,r){return hg(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),dc(i)}}function y2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Yve extends tt{constructor(){super(...arguments),y2(this,"priority",130),y2(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,r){return hg(r==="u"?4:r.length,e)}set(e,r,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}function w2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Kve extends tt{constructor(){super(...arguments),w2(this,"priority",120),w2(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 Ht(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 O2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class qve extends tt{constructor(){super(...arguments),O2(this,"priority",120),O2(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 Ht(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 S2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Xve extends tt{constructor(){super(...arguments),S2(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),S2(this,"priority",110)}parse(e,r,n){var i=function(a){return a-1};switch(r){case"M":return Zt(It(Xt.month,e),i);case"MM":return Zt(Ht(2,e),i);case"Mo":return Zt(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 x2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Zve extends tt{constructor(){super(...arguments),x2(this,"priority",110),x2(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 Zt(It(Xt.month,e),i);case"LL":return Zt(Ht(2,e),i);case"Lo":return Zt(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 Jve(t,e,r){ge(2,arguments);var n=Te(t),i=xt(e),a=m6(n,r)-i;return n.setUTCDate(n.getUTCDate()-a*7),n}function T2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Qve extends tt{constructor(){super(...arguments),T2(this,"priority",100),T2(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,r,n){switch(r){case"w":return It(Xt.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return Ht(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n,i){return du(Jve(e,n,i),i)}}function ege(t,e){ge(2,arguments);var r=Te(t),n=xt(e),i=p6(r)-n;return r.setUTCDate(r.getUTCDate()-i*7),r}function E2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class tge extends tt{constructor(){super(...arguments),E2(this,"priority",100),E2(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,r,n){switch(r){case"I":return It(Xt.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return Ht(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n){return dc(ege(e,n))}}function ky(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rge=[31,28,31,30,31,30,31,31,30,31,30,31],nge=[31,29,31,30,31,30,31,31,30,31,30,31];class ige extends tt{constructor(){super(...arguments),ky(this,"priority",90),ky(this,"subPriority",1),ky(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"d":return It(Xt.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return Ht(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=S6(n),a=e.getUTCMonth();return i?r>=1&&r<=nge[a]:r>=1&&r<=rge[a]}set(e,r,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}function Dy(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class age extends tt{constructor(){super(...arguments),Dy(this,"priority",90),Dy(this,"subpriority",1),Dy(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,r,n){switch(r){case"D":case"DD":return It(Xt.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return Ht(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=S6(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 qx(t,e,r){var n,i,a,s,o,u,l,c;ge(2,arguments);var d=ao(),h=xt((n=(i=(a=(s=r==null?void 0:r.weekStartsOn)!==null&&s!==void 0?s:r==null||(o=r.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&a!==void 0?a:d.weekStartsOn)!==null&&i!==void 0?i:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Te(t),g=xt(e),_=p.getUTCDay(),O=g%7,S=(O+7)%7,E=(S<h?7:0)+g-_;return p.setUTCDate(p.getUTCDate()+E),p}function P2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class sge extends tt{constructor(){super(...arguments),P2(this,"priority",90),P2(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=qx(e,n,i),e.setUTCHours(0,0,0,0),e}}function C2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class oge extends tt{constructor(){super(...arguments),C2(this,"priority",90),C2(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 Zt(Ht(r.length,e),a);case"eo":return Zt(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=qx(e,n,i),e.setUTCHours(0,0,0,0),e}}function $2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class uge extends tt{constructor(){super(...arguments),$2(this,"priority",90),$2(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 Zt(Ht(r.length,e),a);case"co":return Zt(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=qx(e,n,i),e.setUTCHours(0,0,0,0),e}}function lge(t,e){ge(2,arguments);var r=xt(e);r%7===0&&(r=r-7);var n=1,i=Te(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 A2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class cge extends tt{constructor(){super(...arguments),A2(this,"priority",90),A2(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 Ht(r.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return Zt(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 Zt(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Zt(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Zt(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=lge(e,n),e.setUTCHours(0,0,0,0),e}}function M2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class dge extends tt{constructor(){super(...arguments),M2(this,"priority",80),M2(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(Kx(n),0,0,0),e}}function k2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class fge extends tt{constructor(){super(...arguments),k2(this,"priority",80),k2(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(Kx(n),0,0,0),e}}function D2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class hge extends tt{constructor(){super(...arguments),D2(this,"priority",80),D2(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(Kx(n),0,0,0),e}}function R2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class pge extends tt{constructor(){super(...arguments),R2(this,"priority",70),R2(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,r,n){switch(r){case"h":return It(Xt.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return Ht(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 I2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class mge extends tt{constructor(){super(...arguments),I2(this,"priority",70),I2(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,r,n){switch(r){case"H":return It(Xt.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return Ht(r.length,e)}}validate(e,r){return r>=0&&r<=23}set(e,r,n){return e.setUTCHours(n,0,0,0),e}}function L2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class vge extends tt{constructor(){super(...arguments),L2(this,"priority",70),L2(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,r,n){switch(r){case"K":return It(Xt.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return Ht(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 N2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class gge extends tt{constructor(){super(...arguments),N2(this,"priority",70),N2(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,r,n){switch(r){case"k":return It(Xt.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return Ht(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 B2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class bge extends tt{constructor(){super(...arguments),B2(this,"priority",60),B2(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"m":return It(Xt.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return Ht(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCMinutes(n,0,0),e}}function F2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class _ge extends tt{constructor(){super(...arguments),F2(this,"priority",50),F2(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"s":return It(Xt.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return Ht(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCSeconds(n,0),e}}function j2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class yge extends tt{constructor(){super(...arguments),j2(this,"priority",30),j2(this,"incompatibleTokens",["t","T"])}parse(e,r){var n=function(i){return Math.floor(i*Math.pow(10,-r.length+3))};return Zt(Ht(r.length,e),n)}set(e,r,n){return e.setUTCMilliseconds(n),e}}function z2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class wge extends tt{constructor(){super(...arguments),z2(this,"priority",10),z2(this,"incompatibleTokens",["t","T","x"])}parse(e,r){switch(r){case"X":return Qi(Ji.basicOptionalMinutes,e);case"XX":return Qi(Ji.basic,e);case"XXXX":return Qi(Ji.basicOptionalSeconds,e);case"XXXXX":return Qi(Ji.extendedOptionalSeconds,e);case"XXX":default:return Qi(Ji.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}function H2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Oge extends tt{constructor(){super(...arguments),H2(this,"priority",10),H2(this,"incompatibleTokens",["t","T","X"])}parse(e,r){switch(r){case"x":return Qi(Ji.basicOptionalMinutes,e);case"xx":return Qi(Ji.basic,e);case"xxxx":return Qi(Ji.basicOptionalSeconds,e);case"xxxxx":return Qi(Ji.extendedOptionalSeconds,e);case"xxx":default:return Qi(Ji.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}function V2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Sge extends tt{constructor(){super(...arguments),V2(this,"priority",40),V2(this,"incompatibleTokens","*")}parse(e){return w6(e)}set(e,r,n){return[new Date(n*1e3),{timestampIsSet:!0}]}}function U2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class xge extends tt{constructor(){super(...arguments),U2(this,"priority",20),U2(this,"incompatibleTokens","*")}parse(e){return w6(e)}set(e,r,n){return[new Date(n),{timestampIsSet:!0}]}}var Tge={G:new Vve,y:new Uve,Y:new Gve,R:new Wve,u:new Yve,Q:new Kve,q:new qve,M:new Xve,L:new Zve,w:new Qve,I:new tge,d:new ige,D:new age,E:new sge,e:new oge,c:new uge,i:new cge,a:new dge,b:new fge,B:new hge,h:new pge,H:new mge,K:new vge,k:new gge,m:new bge,s:new _ge,S:new yge,X:new wge,x:new Oge,t:new Sge,T:new xge},Ege=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pge=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cge=/^'([^]*?)'?$/,$ge=/''/g,Age=/\S/,Mge=/[a-zA-Z]/;function kge(t,e,r,n){var i,a,s,o,u,l,c,d,h,p,g,_,O,S,E,x,f,m;ge(3,arguments);var v=String(t),T=String(e),P=ao(),k=(i=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:P.locale)!==null&&i!==void 0?i:_6;if(!k.match)throw new RangeError("locale must contain match property");var y=xt((s=(o=(u=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(c=n.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&u!==void 0?u:P.firstWeekContainsDate)!==null&&o!==void 0?o:(h=P.locale)===null||h===void 0||(p=h.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=xt((g=(_=(O=(S=n==null?void 0:n.weekStartsOn)!==null&&S!==void 0?S:n==null||(E=n.locale)===null||E===void 0||(x=E.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&O!==void 0?O:P.weekStartsOn)!==null&&_!==void 0?_:(f=P.locale)===null||f===void 0||(m=f.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&g!==void 0?g:0);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(T==="")return v===""?Te(r):new Date(NaN);var C={firstWeekContainsDate:y,weekStartsOn:M,locale:k},w=[new Hve],$=T.match(Pge).map(function(W){var U=W[0];if(U in iO){var K=iO[U];return K(W,k.formatLong)}return W}).join("").match(Ege),D=[],A=function(W){!(n!=null&&n.useAdditionalWeekYearTokens)&&b6(W)&&dg(W,T,t),!(n!=null&&n.useAdditionalDayOfYearTokens)&&g6(W)&&dg(W,T,t);var U=W[0],K=Tge[U];if(K){var ae=K.incompatibleTokens;if(Array.isArray(ae)){var be=D.find(function(Se){return ae.includes(Se.token)||Se.token===U});if(be)throw new RangeError("The format string mustn't contain `".concat(be.fullToken,"` and `").concat(W,"` at the same time"))}else if(K.incompatibleTokens==="*"&&D.length>0)throw new RangeError("The format string mustn't contain `".concat(W,"` and any other token at the same time"));D.push({token:U,fullToken:W});var $e=K.run(v,W,k.match,C);if(!$e)return L=W,{v:new Date(NaN)};w.push($e.setter),v=$e.rest}else{if(U.match(Mge))throw new RangeError("Format string contains an unescaped latin alphabet character `"+U+"`");if(W==="''"?W="'":U==="'"&&(W=Dge(W)),v.indexOf(W)===0)v=v.slice(W.length);else return L=W,{v:new Date(NaN)}}L=W};for(var L of $){var F=A(L);if(typeof F=="object")return F.v}if(v.length>0&&Age.test(v))return new Date(NaN);var j=w.map(function(W){return W.priority}).sort(function(W,U){return U-W}).filter(function(W,U,K){return K.indexOf(W)===U}).map(function(W){return w.filter(function(U){return U.priority===W}).sort(function(U,K){return K.subPriority-U.subPriority})}).map(function(W){return W[0]}),H=Te(r);if(isNaN(H.getTime()))return new Date(NaN);var G=f6(H,cg(H)),Z={};for(var te of j){if(!te.validate(G,C))return new Date(NaN);var Y=te.set(G,Z,C);Array.isArray(Y)?(G=Y[0],Fve(Z,Y[1])):G=Y}return G}function Dge(t){return t.match(Cge)[1].replace($ge,"'")}function Rge(t){ge(1,arguments);var e=Te(t);return e.setMinutes(0,0,0),e}function Ige(t){ge(1,arguments);var e=Te(t);return e.setMilliseconds(0),e}function Lge(t,e){var r;ge(1,arguments);var n=xt((r=e==null?void 0:e.additionalDigits)!==null&&r!==void 0?r:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=jge(t),a;if(i.date){var s=zge(i.date,n);a=Hge(s.restDateString,s.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var o=a.getTime(),u=0,l;if(i.time&&(u=Vge(i.time),isNaN(u)))return new Date(NaN);if(i.timezone){if(l=Uge(i.timezone),isNaN(l))return new Date(NaN)}else{var c=new Date(o+u),d=new Date(0);return d.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),d.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),d}return new Date(o+u+l)}var Up={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Nge=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Bge=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Fge=/^([+-])(\d{2})(?::?(\d{2}))?$/;function jge(t){var e={},r=t.split(Up.dateTimeDelimiter),n;if(r.length>2)return e;if(/:/.test(r[0])?n=r[0]:(e.date=r[0],n=r[1],Up.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Up.timeZoneDelimiter)[0],n=t.substr(e.date.length,t.length))),n){var i=Up.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function zge(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 Hge(t,e){if(e===null)return new Date(NaN);var r=t.match(Nge);if(!r)return new Date(NaN);var n=!!r[4],i=xd(r[1]),a=xd(r[2])-1,s=xd(r[3]),o=xd(r[4]),u=xd(r[5])-1;if(n)return qge(e,o,u)?Gge(e,o,u):new Date(NaN);var l=new Date(0);return!Yge(e,a,s)||!Kge(e,i)?new Date(NaN):(l.setUTCFullYear(e,a,Math.max(i,s)),l)}function xd(t){return t?parseInt(t):1}function Vge(t){var e=t.match(Bge);if(!e)return NaN;var r=Ry(e[1]),n=Ry(e[2]),i=Ry(e[3]);return Xge(r,n,i)?r*z0+n*j0+i*1e3:NaN}function Ry(t){return t&&parseFloat(t.replace(",","."))||0}function Uge(t){if(t==="Z")return 0;var e=t.match(Fge);if(!e)return 0;var r=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return Zge(n,i)?r*(n*z0+i*j0):NaN}function Gge(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 Wge=[31,null,31,30,31,30,31,31,30,31,30,31];function x6(t){return t%400===0||t%4===0&&t%100!==0}function Yge(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(Wge[e]||(x6(t)?29:28))}function Kge(t,e){return e>=1&&e<=(x6(t)?366:365)}function qge(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function Xge(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function Zge(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 Jge={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"};j4._date.override({_id:"date-fns",formats:function(){return Jge},parse:function(t,e){if(t===null||typeof t>"u")return null;const r=typeof t;return r==="number"||t instanceof Date?t=Te(t):r==="string"&&(typeof e=="string"?t=kge(t,e,new Date,this.options):t=Lge(t,this.options)),o6(t)?t.getTime():null},format:function(t,e){return Nve(t,e,this.options)},add:function(t,e,r){switch(r){case"millisecond":return Sh(t,e);case"second":return cme(t,e);case"minute":return ume(t,e);case"hour":return nme(t,e);case"day":return s6(t,e);case"week":return dme(t,e);case"month":return Wx(t,e);case"quarter":return lme(t,e);case"year":return fme(t,e);default:return t}},diff:function(t,e,r){switch(r){case"millisecond":return H0(t,e);case"second":return Ome(t,e);case"minute":return _me(t,e);case"hour":return bme(t,e);case"day":return u6(t,e);case"week":return Sme(t,e);case"month":return d6(t,e);case"quarter":return wme(t,e);case"year":return xme(t,e);default:return 0}},startOf:function(t,e,r){switch(e){case"second":return Ige(t);case"minute":return Tme(t);case"hour":return Rge(t);case"day":return nO(t);case"week":return c2(t);case"isoWeek":return c2(t,{weekStartsOn:+r});case"month":return Pme(t);case"quarter":return Eme(t);case"year":return $me(t);default:return t}},endOf:function(t,e){switch(e){case"second":return Rme(t);case"minute":return kme(t);case"hour":return Ame(t);case"day":return l6(t);case"week":return Mme(t);case"month":return c6(t);case"quarter":return Dme(t);case"year":return Cme(t);default:return t}}});var T6={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(we,function(){var r,n,i=1e3,a=6e4,s=36e5,o=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l=31536e6,c=2592e6,d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:l,months:c,days:o,hours:s,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},p=function(m){return m instanceof f},g=function(m,v,T){return new f(m,T,v.$l)},_=function(m){return n.p(m)+"s"},O=function(m){return m<0},S=function(m){return O(m)?Math.ceil(m):Math.floor(m)},E=function(m){return Math.abs(m)},x=function(m,v){return m?O(m)?{negative:!0,format:""+E(m)+v}:{negative:!1,format:""+m+v}:{negative:!1,format:""}},f=function(){function m(T,P,k){var y=this;if(this.$d={},this.$l=k,T===void 0&&(this.$ms=0,this.parseFromMilliseconds()),P)return g(T*h[_(P)],this);if(typeof T=="number")return this.$ms=T,this.parseFromMilliseconds(),this;if(typeof T=="object")return Object.keys(T).forEach(function(w){y.$d[_(w)]=T[w]}),this.calMilliseconds(),this;if(typeof T=="string"){var M=T.match(d);if(M){var C=M.slice(2).map(function(w){return w!=null?Number(w):0});return this.$d.years=C[0],this.$d.months=C[1],this.$d.weeks=C[2],this.$d.days=C[3],this.$d.hours=C[4],this.$d.minutes=C[5],this.$d.seconds=C[6],this.calMilliseconds(),this}}return this}var v=m.prototype;return v.calMilliseconds=function(){var T=this;this.$ms=Object.keys(this.$d).reduce(function(P,k){return P+(T.$d[k]||0)*h[k]},0)},v.parseFromMilliseconds=function(){var T=this.$ms;this.$d.years=S(T/l),T%=l,this.$d.months=S(T/c),T%=c,this.$d.days=S(T/o),T%=o,this.$d.hours=S(T/s),T%=s,this.$d.minutes=S(T/a),T%=a,this.$d.seconds=S(T/i),T%=i,this.$d.milliseconds=T},v.toISOString=function(){var T=x(this.$d.years,"Y"),P=x(this.$d.months,"M"),k=+this.$d.days||0;this.$d.weeks&&(k+=7*this.$d.weeks);var y=x(k,"D"),M=x(this.$d.hours,"H"),C=x(this.$d.minutes,"M"),w=this.$d.seconds||0;this.$d.milliseconds&&(w+=this.$d.milliseconds/1e3);var $=x(w,"S"),D=T.negative||P.negative||y.negative||M.negative||C.negative||$.negative,A=M.format||C.format||$.format?"T":"",L=(D?"-":"")+"P"+T.format+P.format+y.format+A+M.format+C.format+$.format;return L==="P"||L==="-P"?"P0D":L},v.toJSON=function(){return this.toISOString()},v.format=function(T){var P=T||"YYYY-MM-DDTHH:mm:ss",k={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return P.replace(u,function(y,M){return M||String(k[y])})},v.as=function(T){return this.$ms/h[_(T)]},v.get=function(T){var P=this.$ms,k=_(T);return k==="milliseconds"?P%=1e3:P=k==="weeks"?S(P/h[k]):this.$d[k],P===0?0:P},v.add=function(T,P,k){var y;return y=P?T*h[_(P)]:p(T)?T.$ms:g(T,this).$ms,g(this.$ms+y*(k?-1:1),this)},v.subtract=function(T,P){return this.add(T,P,!0)},v.locale=function(T){var P=this.clone();return P.$l=T,P},v.clone=function(){return g(this.$ms,this)},v.humanize=function(T){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!T)},v.milliseconds=function(){return this.get("milliseconds")},v.asMilliseconds=function(){return this.as("milliseconds")},v.seconds=function(){return this.get("seconds")},v.asSeconds=function(){return this.as("seconds")},v.minutes=function(){return this.get("minutes")},v.asMinutes=function(){return this.as("minutes")},v.hours=function(){return this.get("hours")},v.asHours=function(){return this.as("hours")},v.days=function(){return this.get("days")},v.asDays=function(){return this.as("days")},v.weeks=function(){return this.get("weeks")},v.asWeeks=function(){return this.as("weeks")},v.months=function(){return this.get("months")},v.asMonths=function(){return this.as("months")},v.years=function(){return this.get("years")},v.asYears=function(){return this.as("years")},m}();return function(m,v,T){r=T,n=T().$utils(),T.duration=function(y,M){var C=T.locale();return g(y,{$l:C},M)},T.isDuration=p;var P=v.prototype.add,k=v.prototype.subtract;v.prototype.add=function(y,M){return p(y)&&(y=y.asMilliseconds()),P.bind(this)(y,M)},v.prototype.subtract=function(y,M){return p(y)&&(y=y.asMilliseconds()),k.bind(this)(y,M)}}})})(T6);var Qge=T6.exports;const SPe=vn(Qge);var aO={exports:{}};const e0e="2.0.0",E6=256,t0e=Number.MAX_SAFE_INTEGER||9007199254740991,r0e=16,n0e=E6-6,i0e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var V0={MAX_LENGTH:E6,MAX_SAFE_COMPONENT_LENGTH:r0e,MAX_SAFE_BUILD_LENGTH:n0e,MAX_SAFE_INTEGER:t0e,RELEASE_TYPES:i0e,SEMVER_SPEC_VERSION:e0e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const a0e=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var U0=a0e;(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n}=V0,i=U0;e=t.exports={};const a=e.re=[],s=e.safeRe=[],o=e.src=[],u=e.t={};let l=0;const c="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",r],[c,n]],h=g=>{for(const[_,O]of d)g=g.split(`${_}*`).join(`${_}{0,${O}}`).split(`${_}+`).join(`${_}{1,${O}}`);return g},p=(g,_,O)=>{const S=h(_),E=l++;i(g,E,_),u[g]=E,o[E]=_,a[E]=new RegExp(_,O?"g":void 0),s[E]=new RegExp(S,O?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${c}*`),p("MAINVERSION",`(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${o[u.NUMERICIDENTIFIER]}|${o[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${o[u.NUMERICIDENTIFIERLOOSE]}|${o[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${o[u.PRERELEASEIDENTIFIER]}(?:\\.${o[u.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${o[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[u.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${c}+`),p("BUILD",`(?:\\+(${o[u.BUILDIDENTIFIER]}(?:\\.${o[u.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${o[u.MAINVERSION]}${o[u.PRERELEASE]}?${o[u.BUILD]}?`),p("FULL",`^${o[u.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${o[u.MAINVERSIONLOOSE]}${o[u.PRERELEASELOOSE]}?${o[u.BUILD]}?`),p("LOOSE",`^${o[u.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${o[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${o[u.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:${o[u.PRERELEASE]})?${o[u.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:${o[u.PRERELEASELOOSE]})?${o[u.BUILD]}?)?)?`),p("XRANGE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAINLOOSE]}$`),p("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),p("COERCERTL",o[u.COERCE],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${o[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${o[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${o[u.LONECARET]}${o[u.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${o[u.LONECARET]}${o[u.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${o[u.GTLT]}\\s*(${o[u.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]}|${o[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${o[u.XRANGEPLAIN]})\\s+-\\s+(${o[u.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${o[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[u.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(aO,aO.exports);var Th=aO.exports;const s0e=Object.freeze({loose:!0}),o0e=Object.freeze({}),u0e=t=>t?typeof t!="object"?s0e:t:o0e;var Xx=u0e;const G2=/^[0-9]+$/,P6=(t,e)=>{const r=G2.test(t),n=G2.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},l0e=(t,e)=>P6(e,t);var C6={compareIdentifiers:P6,rcompareIdentifiers:l0e};const Gp=U0,{MAX_LENGTH:W2,MAX_SAFE_INTEGER:Wp}=V0,{safeRe:Y2,t:K2}=Th,c0e=Xx,{compareIdentifiers:sl}=C6;let d0e=class Wi{constructor(e,r){if(r=c0e(r),e instanceof Wi){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>W2)throw new TypeError(`version is longer than ${W2} characters`);Gp("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?Y2[K2.LOOSE]:Y2[K2.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>Wp||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Wp||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Wp||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<Wp)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(Gp("SemVer.compare",this.version,this.options,e),!(e instanceof Wi)){if(typeof e=="string"&&e===this.version)return 0;e=new Wi(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof Wi||(e=new Wi(e,this.options)),sl(this.major,e.major)||sl(this.minor,e.minor)||sl(this.patch,e.patch)}comparePre(e){if(e instanceof Wi||(e=new Wi(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(Gp("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 sl(n,i)}while(++r)}compareBuild(e){e instanceof Wi||(e=new Wi(e,this.options));let r=0;do{const n=this.build[r],i=e.build[r];if(Gp("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 sl(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]),sl(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 Xr=d0e;const q2=Xr,f0e=(t,e,r=!1)=>{if(t instanceof q2)return t;try{return new q2(t,e)}catch(n){if(!r)return null;throw n}};var Pc=f0e;const h0e=Pc,p0e=(t,e)=>{const r=h0e(t,e);return r?r.version:null};var m0e=p0e;const v0e=Pc,g0e=(t,e)=>{const r=v0e(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};var b0e=g0e;const X2=Xr,_0e=(t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new X2(t instanceof X2?t.version:t,r).inc(e,n,i).version}catch{return null}};var y0e=_0e;const Z2=Pc,w0e=(t,e)=>{const r=Z2(t,null,!0),n=Z2(e,null,!0),i=r.compare(n);if(i===0)return null;const a=i>0,s=a?r:n,o=a?n:r,u=!!s.prerelease.length;if(!!o.prerelease.length&&!u)return!o.patch&&!o.minor?"major":s.patch?"patch":s.minor?"minor":"major";const c=u?"pre":"";return r.major!==n.major?c+"major":r.minor!==n.minor?c+"minor":r.patch!==n.patch?c+"patch":"prerelease"};var O0e=w0e;const S0e=Xr,x0e=(t,e)=>new S0e(t,e).major;var T0e=x0e;const E0e=Xr,P0e=(t,e)=>new E0e(t,e).minor;var C0e=P0e;const $0e=Xr,A0e=(t,e)=>new $0e(t,e).patch;var M0e=A0e;const k0e=Pc,D0e=(t,e)=>{const r=k0e(t,e);return r&&r.prerelease.length?r.prerelease:null};var R0e=D0e;const J2=Xr,I0e=(t,e,r)=>new J2(t,r).compare(new J2(e,r));var Li=I0e;const L0e=Li,N0e=(t,e,r)=>L0e(e,t,r);var B0e=N0e;const F0e=Li,j0e=(t,e)=>F0e(t,e,!0);var z0e=j0e;const Q2=Xr,H0e=(t,e,r)=>{const n=new Q2(t,r),i=new Q2(e,r);return n.compare(i)||n.compareBuild(i)};var Zx=H0e;const V0e=Zx,U0e=(t,e)=>t.sort((r,n)=>V0e(r,n,e));var G0e=U0e;const W0e=Zx,Y0e=(t,e)=>t.sort((r,n)=>W0e(n,r,e));var K0e=Y0e;const q0e=Li,X0e=(t,e,r)=>q0e(t,e,r)>0;var G0=X0e;const Z0e=Li,J0e=(t,e,r)=>Z0e(t,e,r)<0;var Jx=J0e;const Q0e=Li,ebe=(t,e,r)=>Q0e(t,e,r)===0;var $6=ebe;const tbe=Li,rbe=(t,e,r)=>tbe(t,e,r)!==0;var A6=rbe;const nbe=Li,ibe=(t,e,r)=>nbe(t,e,r)>=0;var Qx=ibe;const abe=Li,sbe=(t,e,r)=>abe(t,e,r)<=0;var eT=sbe;const obe=$6,ube=A6,lbe=G0,cbe=Qx,dbe=Jx,fbe=eT,hbe=(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 obe(t,r,n);case"!=":return ube(t,r,n);case">":return lbe(t,r,n);case">=":return cbe(t,r,n);case"<":return dbe(t,r,n);case"<=":return fbe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}};var M6=hbe;const pbe=Xr,mbe=Pc,{safeRe:Yp,t:Kp}=Th,vbe=(t,e)=>{if(t instanceof pbe)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(Yp[Kp.COERCE]);else{let n;for(;(n=Yp[Kp.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Yp[Kp.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Yp[Kp.COERCERTL].lastIndex=-1}return r===null?null:mbe(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,e)};var gbe=vbe,Iy,eR;function bbe(){return eR||(eR=1,Iy=function(t){t.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}),Iy}var _be=Je;Je.Node=fu;Je.create=Je;function Je(t){var e=this;if(e instanceof Je||(e=new Je),e.tail=null,e.head=null,e.length=0,t&&typeof t.forEach=="function")t.forEach(function(i){e.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)e.push(arguments[r]);return e}Je.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;return e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null,e};Je.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}};Je.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}};Je.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)wbe(this,arguments[t]);return this.length};Je.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)Obe(this,arguments[t]);return this.length};Je.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}};Je.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}};Je.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,n=0;r!==null;n++)t.call(e,r.value,n,this),r=r.next};Je.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,n=this.length-1;r!==null;n--)t.call(e,r.value,n,this),r=r.prev};Je.prototype.get=function(t){for(var e=0,r=this.head;r!==null&&e<t;e++)r=r.next;if(e===t&&r!==null)return r.value};Je.prototype.getReverse=function(t){for(var e=0,r=this.tail;r!==null&&e<t;e++)r=r.prev;if(e===t&&r!==null)return r.value};Je.prototype.map=function(t,e){e=e||this;for(var r=new Je,n=this.head;n!==null;)r.push(t.call(e,n.value,this)),n=n.next;return r};Je.prototype.mapReverse=function(t,e){e=e||this;for(var r=new Je,n=this.tail;n!==null;)r.push(t.call(e,n.value,this)),n=n.prev;return r};Je.prototype.reduce=function(t,e){var r,n=this.head;if(arguments.length>1)r=e;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=t(r,n.value,i),n=n.next;return r};Je.prototype.reduceReverse=function(t,e){var r,n=this.tail;if(arguments.length>1)r=e;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=t(r,n.value,i),n=n.prev;return r};Je.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;r!==null;e++)t[e]=r.value,r=r.next;return t};Je.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;r!==null;e++)t[e]=r.value,r=r.prev;return t};Je.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new Je;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=0,i=this.head;i!==null&&n<t;n++)i=i.next;for(;i!==null&&n<e;n++,i=i.next)r.push(i.value);return r};Je.prototype.sliceReverse=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new Je;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=this.length,i=this.tail;i!==null&&n>e;n--)i=i.prev;for(;i!==null&&n>t;n--,i=i.prev)r.push(i.value);return r};Je.prototype.splice=function(t,e,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,i=this.head;i!==null&&n<t;n++)i=i.next;for(var a=[],n=0;i&&n<e;n++)a.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var n=0;n<r.length;n++)i=ybe(this,i,r[n]);return a};Je.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=e,this.tail=t,this};function ybe(t,e,r){var n=e===t.head?new fu(r,null,e,t):new fu(r,e,e.next,t);return n.next===null&&(t.tail=n),n.prev===null&&(t.head=n),t.length++,n}function wbe(t,e){t.tail=new fu(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function Obe(t,e){t.head=new fu(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function fu(t,e,r,n){if(!(this instanceof fu))return new fu(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{bbe()(Je)}catch{}const Sbe=_be,Co=Symbol("max"),Ma=Symbol("length"),ol=Symbol("lengthCalculator"),Of=Symbol("allowStale"),Ro=Symbol("maxAge"),Ca=Symbol("dispose"),tR=Symbol("noDisposeOnSet"),dr=Symbol("lruList"),fi=Symbol("cache"),k6=Symbol("updateAgeOnGet"),Ly=()=>1;class xbe{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[Co]=e.max||1/0;const r=e.length||Ly;if(this[ol]=typeof r!="function"?Ly:r,this[Of]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[Ro]=e.maxAge||0,this[Ca]=e.dispose,this[tR]=e.noDisposeOnSet||!1,this[k6]=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[Co]=e||1/0,Td(this)}get max(){return this[Co]}set allowStale(e){this[Of]=!!e}get allowStale(){return this[Of]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[Ro]=e,Td(this)}get maxAge(){return this[Ro]}set lengthCalculator(e){typeof e!="function"&&(e=Ly),e!==this[ol]&&(this[ol]=e,this[Ma]=0,this[dr].forEach(r=>{r.length=this[ol](r.value,r.key),this[Ma]+=r.length})),Td(this)}get lengthCalculator(){return this[ol]}get length(){return this[Ma]}get itemCount(){return this[dr].length}rforEach(e,r){r=r||this;for(let n=this[dr].tail;n!==null;){const i=n.prev;rR(this,e,n,r),n=i}}forEach(e,r){r=r||this;for(let n=this[dr].head;n!==null;){const i=n.next;rR(this,e,n,r),n=i}}keys(){return this[dr].toArray().map(e=>e.key)}values(){return this[dr].toArray().map(e=>e.value)}reset(){this[Ca]&&this[dr]&&this[dr].length&&this[dr].forEach(e=>this[Ca](e.key,e.value)),this[fi]=new Map,this[dr]=new Sbe,this[Ma]=0}dump(){return this[dr].map(e=>pg(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[dr]}set(e,r,n){if(n=n||this[Ro],n&&typeof n!="number")throw new TypeError("maxAge must be a number");const i=n?Date.now():0,a=this[ol](r,e);if(this[fi].has(e)){if(a>this[Co])return Bl(this,this[fi].get(e)),!1;const u=this[fi].get(e).value;return this[Ca]&&(this[tR]||this[Ca](e,u.value)),u.now=i,u.maxAge=n,u.value=r,this[Ma]+=a-u.length,u.length=a,this.get(e),Td(this),!0}const s=new Tbe(e,r,a,i,n);return s.length>this[Co]?(this[Ca]&&this[Ca](e,r),!1):(this[Ma]+=s.length,this[dr].unshift(s),this[fi].set(e,this[dr].head),Td(this),!0)}has(e){if(!this[fi].has(e))return!1;const r=this[fi].get(e).value;return!pg(this,r)}get(e){return Ny(this,e,!0)}peek(e){return Ny(this,e,!1)}pop(){const e=this[dr].tail;return e?(Bl(this,e),e.value):null}del(e){Bl(this,this[fi].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[fi].forEach((e,r)=>Ny(this,r,!1))}}const Ny=(t,e,r)=>{const n=t[fi].get(e);if(n){const i=n.value;if(pg(t,i)){if(Bl(t,n),!t[Of])return}else r&&(t[k6]&&(n.value.now=Date.now()),t[dr].unshiftNode(n));return i.value}},pg=(t,e)=>{if(!e||!e.maxAge&&!t[Ro])return!1;const r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t[Ro]&&r>t[Ro]},Td=t=>{if(t[Ma]>t[Co])for(let e=t[dr].tail;t[Ma]>t[Co]&&e!==null;){const r=e.prev;Bl(t,e),e=r}},Bl=(t,e)=>{if(e){const r=e.value;t[Ca]&&t[Ca](r.key,r.value),t[Ma]-=r.length,t[fi].delete(r.key),t[dr].removeNode(e)}};class Tbe{constructor(e,r,n,i,a){this.key=e,this.value=r,this.length=n,this.now=i,this.maxAge=a||0}}const rR=(t,e,r,n)=>{let i=r.value;pg(t,i)&&(Bl(t,r),t[Of]||(i=void 0)),i&&e.call(n,i.value,i.key,t)};var Ebe=xbe,By,nR;function Ni(){if(nR)return By;nR=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(A=>this.parseRange(A)).filter(A=>A.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const A=this.set[0];if(this.set=this.set.filter(L=>!g(L[0])),this.set.length===0)this.set=[A];else if(this.set.length>1){for(const L of this.set)if(L.length===1&&_(L[0])){this.set=[L];break}}}this.format()}format(){return this.range=this.set.map($=>$.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange($){const A=((this.options.includePrerelease&&h)|(this.options.loose&&p))+":"+$,L=r.get(A);if(L)return L;const F=this.options.loose,j=F?o[u.HYPHENRANGELOOSE]:o[u.HYPHENRANGE];$=$.replace(j,M(this.options.includePrerelease)),a("hyphen replace",$),$=$.replace(o[u.COMPARATORTRIM],l),a("comparator trim",$),$=$.replace(o[u.TILDETRIM],c),a("tilde trim",$),$=$.replace(o[u.CARETTRIM],d),a("caret trim",$);let H=$.split(" ").map(Y=>S(Y,this.options)).join(" ").split(/\s+/).map(Y=>y(Y,this.options));F&&(H=H.filter(Y=>(a("loose invalid filter",Y,this.options),!!Y.match(o[u.COMPARATORLOOSE])))),a("range list",H);const G=new Map,Z=H.map(Y=>new i(Y,this.options));for(const Y of Z){if(g(Y))return[Y];G.set(Y.value,Y)}G.size>1&&G.has("")&&G.delete("");const te=[...G.values()];return r.set(A,te),te}intersects($,D){if(!($ instanceof t))throw new TypeError("a Range is required");return this.set.some(A=>O(A,D)&&$.set.some(L=>O(L,D)&&A.every(F=>L.every(j=>F.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(C(this.set[D],$,this.options))return!0;return!1}}By=t;const e=Ebe,r=new e({max:1e3}),n=Xx,i=W0(),a=U0,s=Xr,{safeRe:o,t:u,comparatorTrimReplace:l,tildeTrimReplace:c,caretTrimReplace:d}=Th,{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:p}=V0,g=w=>w.value==="<0.0.0-0",_=w=>w.value==="",O=(w,$)=>{let D=!0;const A=w.slice();let L=A.pop();for(;D&&A.length;)D=A.every(F=>L.intersects(F,$)),L=A.pop();return D},S=(w,$)=>(a("comp",w,$),w=m(w,$),a("caret",w),w=x(w,$),a("tildes",w),w=T(w,$),a("xrange",w),w=k(w,$),a("stars",w),w),E=w=>!w||w.toLowerCase()==="x"||w==="*",x=(w,$)=>w.trim().split(/\s+/).map(D=>f(D,$)).join(" "),f=(w,$)=>{const D=$.loose?o[u.TILDELOOSE]:o[u.TILDE];return w.replace(D,(A,L,F,j,H)=>{a("tilde",w,A,L,F,j,H);let G;return E(L)?G="":E(F)?G=`>=${L}.0.0 <${+L+1}.0.0-0`:E(j)?G=`>=${L}.${F}.0 <${L}.${+F+1}.0-0`:H?(a("replaceTilde pr",H),G=`>=${L}.${F}.${j}-${H} <${L}.${+F+1}.0-0`):G=`>=${L}.${F}.${j} <${L}.${+F+1}.0-0`,a("tilde return",G),G})},m=(w,$)=>w.trim().split(/\s+/).map(D=>v(D,$)).join(" "),v=(w,$)=>{a("caret",w,$);const D=$.loose?o[u.CARETLOOSE]:o[u.CARET],A=$.includePrerelease?"-0":"";return w.replace(D,(L,F,j,H,G)=>{a("caret",w,L,F,j,H,G);let Z;return E(F)?Z="":E(j)?Z=`>=${F}.0.0${A} <${+F+1}.0.0-0`:E(H)?F==="0"?Z=`>=${F}.${j}.0${A} <${F}.${+j+1}.0-0`:Z=`>=${F}.${j}.0${A} <${+F+1}.0.0-0`:G?(a("replaceCaret pr",G),F==="0"?j==="0"?Z=`>=${F}.${j}.${H}-${G} <${F}.${j}.${+H+1}-0`:Z=`>=${F}.${j}.${H}-${G} <${F}.${+j+1}.0-0`:Z=`>=${F}.${j}.${H}-${G} <${+F+1}.0.0-0`):(a("no pr"),F==="0"?j==="0"?Z=`>=${F}.${j}.${H}${A} <${F}.${j}.${+H+1}-0`:Z=`>=${F}.${j}.${H}${A} <${F}.${+j+1}.0-0`:Z=`>=${F}.${j}.${H} <${+F+1}.0.0-0`),a("caret return",Z),Z})},T=(w,$)=>(a("replaceXRanges",w,$),w.split(/\s+/).map(D=>P(D,$)).join(" ")),P=(w,$)=>{w=w.trim();const D=$.loose?o[u.XRANGELOOSE]:o[u.XRANGE];return w.replace(D,(A,L,F,j,H,G)=>{a("xRange",w,A,L,F,j,H,G);const Z=E(F),te=Z||E(j),Y=te||E(H),W=Y;return L==="="&&W&&(L=""),G=$.includePrerelease?"-0":"",Z?L===">"||L==="<"?A="<0.0.0-0":A="*":L&&W?(te&&(j=0),H=0,L===">"?(L=">=",te?(F=+F+1,j=0,H=0):(j=+j+1,H=0)):L==="<="&&(L="<",te?F=+F+1:j=+j+1),L==="<"&&(G="-0"),A=`${L+F}.${j}.${H}${G}`):te?A=`>=${F}.0.0${G} <${+F+1}.0.0-0`:Y&&(A=`>=${F}.${j}.0${G} <${F}.${+j+1}.0-0`),a("xRange return",A),A})},k=(w,$)=>(a("replaceStars",w,$),w.trim().replace(o[u.STAR],"")),y=(w,$)=>(a("replaceGTE0",w,$),w.trim().replace(o[$.includePrerelease?u.GTE0PRE:u.GTE0],"")),M=w=>($,D,A,L,F,j,H,G,Z,te,Y,W,U)=>(E(A)?D="":E(L)?D=`>=${A}.0.0${w?"-0":""}`:E(F)?D=`>=${A}.${L}.0${w?"-0":""}`:j?D=`>=${D}`:D=`>=${D}${w?"-0":""}`,E(Z)?G="":E(te)?G=`<${+Z+1}.0.0-0`:E(Y)?G=`<${Z}.${+te+1}.0-0`:W?G=`<=${Z}.${te}.${Y}-${W}`:w?G=`<${Z}.${te}.${+Y+1}-0`:G=`<=${G}`,`${D} ${G}`.trim()),C=(w,$,D)=>{for(let A=0;A<w.length;A++)if(!w[A].test($))return!1;if($.prerelease.length&&!D.includePrerelease){for(let A=0;A<w.length;A++)if(a(w[A].semver),w[A].semver!==i.ANY&&w[A].semver.prerelease.length>0){const L=w[A].semver;if(L.major===$.major&&L.minor===$.minor&&L.patch===$.patch)return!0}return!1}return!0};return By}var Fy,iR;function W0(){if(iR)return Fy;iR=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(c,d){if(d=r(d),c instanceof e){if(c.loose===!!d.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),s("comparator",c,d),this.options=d,this.loose=!!d.loose,this.parse(c),this.semver===t?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(c){const d=this.options.loose?n[i.COMPARATORLOOSE]:n[i.COMPARATOR],h=c.match(d);if(!h)throw new TypeError(`Invalid comparator: ${c}`);this.operator=h[1]!==void 0?h[1]:"",this.operator==="="&&(this.operator=""),h[2]?this.semver=new o(h[2],this.options.loose):this.semver=t}toString(){return this.value}test(c){if(s("Comparator.test",c,this.options.loose),this.semver===t||c===t)return!0;if(typeof c=="string")try{c=new o(c,this.options)}catch{return!1}return a(c,this.operator,this.semver,this.options)}intersects(c,d){if(!(c instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new u(c.value,d).test(this.value):c.operator===""?c.value===""?!0:new u(this.value,d).test(c.semver):(d=r(d),d.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||a(this.semver,"<",c.semver,d)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||a(this.semver,">",c.semver,d)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}}Fy=e;const r=Xx,{safeRe:n,t:i}=Th,a=M6,s=U0,o=Xr,u=Ni();return Fy}const Pbe=Ni(),Cbe=(t,e,r)=>{try{e=new Pbe(e,r)}catch{return!1}return e.test(t)};var Y0=Cbe;const $be=Ni(),Abe=(t,e)=>new $be(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var Mbe=Abe;const kbe=Xr,Dbe=Ni(),Rbe=(t,e,r)=>{let n=null,i=null,a=null;try{a=new Dbe(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===-1)&&(n=s,i=new kbe(n,r))}),n};var Ibe=Rbe;const Lbe=Xr,Nbe=Ni(),Bbe=(t,e,r)=>{let n=null,i=null,a=null;try{a=new Nbe(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===1)&&(n=s,i=new Lbe(n,r))}),n};var Fbe=Bbe;const jy=Xr,jbe=Ni(),aR=G0,zbe=(t,e)=>{t=new jbe(t,e);let r=new jy("0.0.0");if(t.test(r)||(r=new jy("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 jy(s.semver.version);switch(s.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!a||aR(o,a))&&(a=o);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),a&&(!r||aR(r,a))&&(r=a)}return r&&t.test(r)?r:null};var Hbe=zbe;const Vbe=Ni(),Ube=(t,e)=>{try{return new Vbe(t,e).range||"*"}catch{return null}};var Gbe=Ube;const Wbe=Xr,D6=W0(),{ANY:Ybe}=D6,Kbe=Ni(),qbe=Y0,sR=G0,oR=Jx,Xbe=eT,Zbe=Qx,Jbe=(t,e,r,n)=>{t=new Wbe(t,n),e=new Kbe(e,n);let i,a,s,o,u;switch(r){case">":i=sR,a=Xbe,s=oR,o=">",u=">=";break;case"<":i=oR,a=Zbe,s=sR,o="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(qbe(t,e,n))return!1;for(let l=0;l<e.set.length;++l){const c=e.set[l];let d=null,h=null;if(c.forEach(p=>{p.semver===Ybe&&(p=new D6(">=0.0.0")),d=d||p,h=h||p,i(p.semver,d.semver,n)?d=p:s(p.semver,h.semver,n)&&(h=p)}),d.operator===o||d.operator===u||(!h.operator||h.operator===o)&&a(t,h.semver))return!1;if(h.operator===u&&s(t,h.semver))return!1}return!0};var tT=Jbe;const Qbe=tT,e_e=(t,e,r)=>Qbe(t,e,">",r);var t_e=e_e;const r_e=tT,n_e=(t,e,r)=>r_e(t,e,"<",r);var i_e=n_e;const uR=Ni(),a_e=(t,e,r)=>(t=new uR(t,r),e=new uR(e,r),t.intersects(e,r));var s_e=a_e;const o_e=Y0,u_e=Li;var l_e=(t,e,r)=>{const n=[];let i=null,a=null;const s=t.sort((c,d)=>u_e(c,d,r));for(const c of s)o_e(c,e,r)?(a=c,i||(i=c)):(a&&n.push([i,a]),a=null,i=null);i&&n.push([i,null]);const o=[];for(const[c,d]of n)c===d?o.push(c):!d&&c===s[0]?o.push("*"):d?c===s[0]?o.push(`<=${d}`):o.push(`${c} - ${d}`):o.push(`>=${c}`);const u=o.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return u.length<l.length?u:e};const lR=Ni(),rT=W0(),{ANY:zy}=rT,Ed=Y0,nT=Li,c_e=(t,e,r={})=>{if(t===e)return!0;t=new lR(t,r),e=new lR(e,r);let n=!1;e:for(const i of t.set){for(const a of e.set){const s=f_e(i,a,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},d_e=[new rT(">=0.0.0-0")],cR=[new rT(">=0.0.0")],f_e=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===zy){if(e.length===1&&e[0].semver===zy)return!0;r.includePrerelease?t=d_e:t=cR}if(e.length===1&&e[0].semver===zy){if(r.includePrerelease)return!0;e=cR}const n=new Set;let i,a;for(const p of t)p.operator===">"||p.operator===">="?i=dR(i,p,r):p.operator==="<"||p.operator==="<="?a=fR(a,p,r):n.add(p.semver);if(n.size>1)return null;let s;if(i&&a){if(s=nT(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&&!Ed(p,String(i),r)||a&&!Ed(p,String(a),r))return null;for(const g of e)if(!Ed(p,String(g),r))return!1;return!0}let o,u,l,c,d=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&a.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const p of e){if(c=c||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(o=dR(i,p,r),o===p&&o!==i)return!1}else if(i.operator===">="&&!Ed(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=fR(a,p,r),u===p&&u!==a)return!1}else if(a.operator==="<="&&!Ed(a.semver,String(p),r))return!1}if(!p.operator&&(a||i)&&s!==0)return!1}return!(i&&l&&!a&&s!==0||a&&c&&!i&&s!==0||h||d)},dR=(t,e,r)=>{if(!t)return e;const n=nT(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},fR=(t,e,r)=>{if(!t)return e;const n=nT(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t};var h_e=c_e;const Hy=Th,hR=V0,p_e=Xr,pR=C6,m_e=Pc,v_e=m0e,g_e=b0e,b_e=y0e,__e=O0e,y_e=T0e,w_e=C0e,O_e=M0e,S_e=R0e,x_e=Li,T_e=B0e,E_e=z0e,P_e=Zx,C_e=G0e,$_e=K0e,A_e=G0,M_e=Jx,k_e=$6,D_e=A6,R_e=Qx,I_e=eT,L_e=M6,N_e=gbe,B_e=W0(),F_e=Ni(),j_e=Y0,z_e=Mbe,H_e=Ibe,V_e=Fbe,U_e=Hbe,G_e=Gbe,W_e=tT,Y_e=t_e,K_e=i_e,q_e=s_e,X_e=l_e,Z_e=h_e;var J_e={parse:m_e,valid:v_e,clean:g_e,inc:b_e,diff:__e,major:y_e,minor:w_e,patch:O_e,prerelease:S_e,compare:x_e,rcompare:T_e,compareLoose:E_e,compareBuild:P_e,sort:C_e,rsort:$_e,gt:A_e,lt:M_e,eq:k_e,neq:D_e,gte:R_e,lte:I_e,cmp:L_e,coerce:N_e,Comparator:B_e,Range:F_e,satisfies:j_e,toComparators:z_e,maxSatisfying:H_e,minSatisfying:V_e,minVersion:U_e,validRange:G_e,outside:W_e,gtr:Y_e,ltr:K_e,intersects:q_e,simplifyRange:X_e,subset:Z_e,SemVer:p_e,re:Hy.re,src:Hy.src,tokens:Hy.t,SEMVER_SPEC_VERSION:hR.SEMVER_SPEC_VERSION,RELEASE_TYPES:hR.RELEASE_TYPES,compareIdentifiers:pR.compareIdentifiers,rcompareIdentifiers:pR.rcompareIdentifiers};const xPe=vn(J_e),Q_e="modulepreload",eye=function(t,e){return new URL(t,e).href},mR={},Zn=function(e,r,n){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=eye(a,n),a in mR)return;mR[a]=!0;const s=a.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(!!n)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":Q_e,s||(l.as="script",l.crossOrigin=""),l.href=a,document.head.appendChild(l),s)return new Promise((c,d)=>{l.addEventListener("load",c),l.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e())};/*!
 * vue-i18n v8.27.2 
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */var R6=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function fc(t,e){typeof console<"u"&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function tye(t,e){typeof console<"u"&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var la=Array.isArray;function oi(t){return t!==null&&typeof t=="object"}function rye(t){return typeof t=="boolean"}function yr(t){return typeof t=="string"}var nye=Object.prototype.toString,iye="[object Object]";function sa(t){return nye.call(t)===iye}function sn(t){return t==null}function sO(t){return typeof t=="function"}function K0(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return t.length===1?oi(t[0])||la(t[0])?n=t[0]:typeof t[0]=="string"&&(r=t[0]):t.length===2&&(typeof t[0]=="string"&&(r=t[0]),(oi(t[1])||la(t[1]))&&(n=t[1])),{locale:r,params:n}}function Cc(t){return JSON.parse(JSON.stringify(t))}function aye(t,e){if(t.delete(e))return t}function sye(t){var e=[];return t.forEach(function(r){return e.push(r)}),e}function q0(t,e){return!!~t.indexOf(e)}var oye=Object.prototype.hasOwnProperty;function uye(t,e){return oye.call(t,e)}function Wo(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)uye(i,a)&&(oi(i[a])?r[a]=Wo(r[a],i[a]):r[a]=i[a])}}return r}function mg(t,e){if(t===e)return!0;var r=oi(t),n=oi(e);if(r&&n)try{var i=la(t),a=la(e);if(i&&a)return t.length===e.length&&t.every(function(u,l){return mg(u,e[l])});if(!i&&!a){var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every(function(u){return mg(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function lye(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function cye(t){return t!=null&&Object.keys(t).forEach(function(e){typeof t[e]=="string"&&(t[e]=lye(t[e]))}),t}function dye(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 fye(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 oe){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=Wo(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(sa(n.i18n)){var s=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof oe?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=Wo(o,JSON.parse(d))}),n.i18n.messages=o}catch{}var l=n.i18n,c=l.sharedMessages;c&&sa(c)&&(n.i18n.messages=Wo(n.i18n.messages,c)),this._i18n=new oe(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 oe?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof oe&&(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 oe?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):sa(n.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof oe?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof oe&&(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 vR={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,r){var n=r.data,i=r.parent,a=r.props,s=r.slots,o=i.$i18n;if(o){var u=a.path,l=a.locale,c=a.places,d=s(),h=o.i(u,l,hye(d)||c?pye(d.default,c):d),p=a.tag&&a.tag!==!0||a.tag===!1?a.tag:"span";return p?e(p,n,h):h}}};function hye(t){var e;for(e in t)if(e!=="default")return!1;return!!e}function pye(t,e){var r=e?mye(e):{};if(!t)return r;t=t.filter(function(i){return i.tag||i.text.trim()!==""});var n=t.every(gye);return t.reduce(n?vye:I6,r)}function mye(t){return Array.isArray(t)?t.reduce(I6,{}):Object.assign({},t)}function vye(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function I6(t,e,r){return t[r]=e,t}function gye(t){return!!(t.data&&t.data.attrs&&t.data.attrs.place)}var gR={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;yr(n.format)?o=n.format:oi(n.format)&&(n.format.key&&(o=n.format.key),u=Object.keys(n.format).reduce(function(p,g){var _;return q0(R6,g)?Object.assign({},p,(_={},_[g]=n.format[g],_)):p},null));var l=n.locale||s.locale,c=s._ntp(n.value,l,o,u),d=c.map(function(p,g){var _,O=a.scopedSlots&&a.scopedSlots[p.type];return O?O((_={},_[p.type]=p.value,_.index=g,_.parts=c,_)):p.value}),h=n.tag&&n.tag!==!0||n.tag===!1?n.tag:"span";return h?e(h,{attrs:a.attrs,class:a.class,staticClass:a.staticClass},d):d}};function bye(t,e,r){L6(t,r)&&N6(t,e,r)}function _ye(t,e,r,n){if(L6(t,r)){var i=r.context.$i18n;wye(t,r)&&mg(e.value,e.oldValue)&&mg(t._localeMessage,i.getLocaleMessage(i.locale))||N6(t,e,r)}}function yye(t,e,r,n){var i=r.context;if(!i){fc("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 L6(t,e){var r=e.context;return r?r.$i18n?!0:(fc("VueI18n instance does not exists in Vue instance"),!1):(fc("Vue instance does not exists in VNode context"),!1)}function wye(t,e){var r=e.context;return t._locale===r.$i18n.locale}function N6(t,e,r){var n,i,a=e.value,s=Oye(a),o=s.path,u=s.locale,l=s.args,c=s.choice;if(!o&&!u&&!l){fc("value type not supported");return}if(!o){fc("`path` is required in v-t directive");return}var d=r.context;c!=null?t._vt=t.textContent=(n=d.$i18n).tc.apply(n,[o,c].concat(bR(u,l))):t._vt=t.textContent=(i=d.$i18n).t.apply(i,[o].concat(bR(u,l))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}function Oye(t){var e,r,n,i;return yr(t)?e=t:sa(t)&&(e=t.path,r=t.locale,n=t.args,i=t.choice),{path:e,locale:r,args:n,choice:i}}function bR(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||sa(e))&&r.push(e),r}var zr;function iT(t,e){e===void 0&&(e={bridge:!1}),iT.installed=!0,zr=t,zr.version&&Number(zr.version.split(".")[0]),dye(zr),zr.mixin(fye(e.bridge)),zr.directive("t",{bind:bye,update:_ye,unbind:yye}),zr.component(vR.name,vR),zr.component(gR.name,gR);var r=zr.config.optionMergeStrategies;r.i18n=function(n,i){return i===void 0?n:i}}var B6=function(){this._caches=Object.create(null)};B6.prototype.interpolate=function(e,r){if(!r)return[e];var n=this._caches[e];return n||(n=Tye(e),this._caches[e]=n),Eye(n,r)};var Sye=/^(?:\d)+/,xye=/^(?:\w)+/;function Tye(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=Sye.test(a)?"list":s&&xye.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 Eye(t,e){var r=[],n=0,i=Array.isArray(e)?"list":oi(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 gr=0,$l=1,F6=2,j6=3,oO=0,vg=1,gg=2,Ps=3,Ha=4,bg=5,_g=6,X0=7,Xf=8,so=[];so[oO]={ws:[oO],ident:[Ps,gr],"[":[Ha],eof:[X0]};so[vg]={ws:[vg],".":[gg],"[":[Ha],eof:[X0]};so[gg]={ws:[gg],ident:[Ps,gr],0:[Ps,gr],number:[Ps,gr]};so[Ps]={ident:[Ps,gr],0:[Ps,gr],number:[Ps,gr],ws:[vg,$l],".":[gg,$l],"[":[Ha,$l],eof:[X0,$l]};so[Ha]={"'":[bg,gr],'"':[_g,gr],"[":[Ha,F6],"]":[vg,j6],eof:Xf,else:[Ha,gr]};so[bg]={"'":[Ha,gr],eof:Xf,else:[bg,gr]};so[_g]={'"':[Ha,gr],eof:Xf,else:[_g,gr]};var Pye=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Cye(t){return Pye.test(t)}function $ye(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 Aye(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 Mye(t){var e=t.trim();return t.charAt(0)==="0"&&isNaN(t)?!1:Cye(e)?$ye(e):"*"+e}function kye(t){var e=[],r=-1,n=oO,i=0,a,s,o,u,l,c,d,h=[];h[$l]=function(){s!==void 0&&(e.push(s),s=void 0)},h[gr]=function(){s===void 0?s=o:s+=o},h[F6]=function(){h[gr](),i++},h[j6]=function(){if(i>0)i--,n=Ha,h[gr]();else{if(i=0,s===void 0||(s=Mye(s),s===!1))return!1;h[$l]()}};function p(){var g=t[r+1];if(n===bg&&g==="'"||n===_g&&g==='"')return r++,o="\\"+g,h[gr](),!0}for(;n!==null;)if(r++,a=t[r],!(a==="\\"&&p())){if(u=Aye(a),d=so[n],l=d[u]||d.else||Xf,l===Xf||(n=l[0],c=h[l[1]],c&&(o=l[2],o=o===void 0?a:o,c()===!1)))return;if(n===X0)return e}}var aT=function(){this._cache=Object.create(null)};aT.prototype.parsePath=function(e){var r=this._cache[e];return r||(r=kye(e),r&&(this._cache[e]=r)),r||[]};aT.prototype.getPathValue=function(e,r){if(!oi(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 Dye=/<\/?[\w\s="/.':;#-\/]+>/,Rye=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Iye=/^@(?:\.([a-zA-Z]+))?:/,Lye=/[()]/g,_R={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},uO=new B6,oe=function(e){var r=this;e===void 0&&(e={}),!zr&&typeof window<"u"&&window.Vue&&iT(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||uO,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 aT,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=e.preserveDirectiveContent===void 0?!1:!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(u,l){var c=Object.getPrototypeOf(r);if(c&&c.getChoiceIndex){var d=c.getChoiceIndex;return d.call(r,u,l)}var h=function(p,g){return p=Math.abs(p),g===2?p?p>1?1:0:1:p?Math.min(p,2):0};return r.locale in r.pluralizationRules?r.pluralizationRules[r.locale].apply(r,[u,l]):h(u,l)},this._exist=function(u,l){return!u||!l?!1:!!(!sn(r._path.getPathValue(u,l))||u[l])},(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&Object.keys(a).forEach(function(u){r._checkLocaleMessage(u,r._warnHtmlInMessage,a[u])}),this._initVM({locale:n,fallbackLocale:i,messages:a,dateTimeFormats:s,numberFormats:o})},ct={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}};oe.prototype._checkLocaleMessage=function(e,r,n){var i=[],a=function(s,o,u,l){if(sa(u))Object.keys(u).forEach(function(h){var p=u[h];sa(p)?(l.push(h),l.push("."),a(s,o,p,l),l.pop(),l.pop()):(l.push(h),a(s,o,p,l),l.pop())});else if(la(u))u.forEach(function(h,p){sa(h)?(l.push("["+p+"]"),l.push("."),a(s,o,h,l),l.pop(),l.pop()):(l.push("["+p+"]"),a(s,o,h,l),l.pop())});else if(yr(u)){var c=Dye.test(u);if(c){var d="Detected HTML in message '"+u+"' of keypath '"+l.join("")+"' at '"+o+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";s==="warn"?fc(d):s==="error"&&tye(d)}}};a(r,e,n,i)};oe.prototype._initVM=function(e){var r=zr.config.silent;zr.config.silent=!0,this._vm=new zr({data:e,__VUE18N__INSTANCE__:!0}),zr.config.silent=r};oe.prototype.destroyVM=function(){this._vm.$destroy()};oe.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)};oe.prototype.unsubscribeDataChanging=function(e){aye(this._dataListeners,e)};oe.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var r=sye(e._dataListeners),n=r.length;n--;)zr.nextTick(function(){r[n]&&r[n].$forceUpdate()})},{deep:!0})};oe.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})}};oe.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)};ct.vm.get=function(){return this._vm};ct.messages.get=function(){return Cc(this._getMessages())};ct.dateTimeFormats.get=function(){return Cc(this._getDateTimeFormats())};ct.numberFormats.get=function(){return Cc(this._getNumberFormats())};ct.availableLocales.get=function(){return Object.keys(this.messages).sort()};ct.locale.get=function(){return this._vm.locale};ct.locale.set=function(t){this._vm.$set(this._vm,"locale",t)};ct.fallbackLocale.get=function(){return this._vm.fallbackLocale};ct.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)};ct.formatFallbackMessages.get=function(){return this._formatFallbackMessages};ct.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t};ct.missing.get=function(){return this._missing};ct.missing.set=function(t){this._missing=t};ct.formatter.get=function(){return this._formatter};ct.formatter.set=function(t){this._formatter=t};ct.silentTranslationWarn.get=function(){return this._silentTranslationWarn};ct.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t};ct.silentFallbackWarn.get=function(){return this._silentFallbackWarn};ct.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t};ct.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent};ct.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t};ct.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage};ct.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])})}};ct.postTranslation.get=function(){return this._postTranslation};ct.postTranslation.set=function(t){this._postTranslation=t};ct.sync.get=function(){return this._sync};ct.sync.set=function(t){this._sync=t};oe.prototype._getMessages=function(){return this._vm.messages};oe.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats};oe.prototype._getNumberFormats=function(){return this._vm.numberFormats};oe.prototype._warnDefault=function(e,r,n,i,a,s){if(!sn(n))return n;if(this._missing){var o=this._missing.apply(null,[e,r,i,a]);if(yr(o))return o}if(this._formatFallbackMessages){var u=K0.apply(void 0,a);return this._render(r,s,u.params,r)}else return r};oe.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:sn(e))&&!sn(this._root)&&this._fallbackRoot};oe.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn};oe.prototype._isSilentFallback=function(e,r){return this._isSilentFallbackWarn(r)&&(this._isFallbackRoot()||e!==this.fallbackLocale)};oe.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn};oe.prototype._interpolate=function(e,r,n,i,a,s,o){if(!r)return null;var u=this._path.getPathValue(r,n);if(la(u)||sa(u))return u;var l;if(sn(u))if(sa(r)){if(l=r[n],!(yr(l)||sO(l)))return null}else return null;else if(yr(u)||sO(u))l=u;else return null;return yr(l)&&(l.indexOf("@:")>=0||l.indexOf("@.")>=0)&&(l=this._link(e,r,l,i,"raw",s,o)),this._render(l,a,s,n)};oe.prototype._link=function(e,r,n,i,a,s,o){var u=n,l=u.match(Rye);for(var c in l)if(l.hasOwnProperty(c)){var d=l[c],h=d.match(Iye),p=h[0],g=h[1],_=d.replace(p,"").replace(Lye,"");if(q0(o,_))return u;o.push(_);var O=this._interpolate(e,r,_,i,a==="raw"?"string":a,a==="raw"?void 0:s,o);if(this._isFallbackRoot(O)){if(!this._root)throw Error("unexpected error");var S=this._root.$i18n;O=S._translate(S._getMessages(),S.locale,S.fallbackLocale,_,i,a,s)}O=this._warnDefault(e,_,O,i,la(s)?s:[s],a),this._modifiers.hasOwnProperty(g)?O=this._modifiers[g](O):_R.hasOwnProperty(g)&&(O=_R[g](O)),o.pop(),u=O?u.replace(d,O):u}return u};oe.prototype._createMessageContext=function(e,r,n,i){var a=this,s=la(e)?e:[],o=oi(e)?e:{},u=function(h){return s[h]},l=function(h){return o[h]},c=this._getMessages(),d=this.locale;return{list:u,named:l,values:e,formatter:r,path:n,messages:c,locale:d,linked:function(h){return a._interpolate(d,c[d]||{},h,null,i,void 0,[h])}}};oe.prototype._render=function(e,r,n,i){if(sO(e))return e(this._createMessageContext(n,this._formatter||uO,i,r));var a=this._formatter.interpolate(e,n,i);return a||(a=uO.interpolate(e,n,i)),r==="string"&&!yr(a)?a.join(""):a};oe.prototype._appendItemToChain=function(e,r,n){var i=!1;return q0(e,r)||(i=!0,r&&(i=r[r.length-1]!=="!",r=r.replace(/!/g,""),e.push(r),n&&n[r]&&(i=n[r]))),i};oe.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};oe.prototype._appendBlockToChain=function(e,r,n){for(var i=!0,a=0;a<r.length&&rye(i);a++){var s=r[a];yr(s)&&(i=this._appendLocaleToChain(e,s,n))}return i};oe.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];la(i);)i=this._appendBlockToChain(n,i,r);var a;la(r)?a=r:oi(r)?r.default?a=r.default:a=null:a=r,yr(a)?i=[a]:i=a,i&&this._appendBlockToChain(n,i,null),this._localeChainCache[e]=n}return n};oe.prototype._translate=function(e,r,n,i,a,s,o){for(var u=this._getLocaleChain(r,n),l,c=0;c<u.length;c++){var d=u[c];if(l=this._interpolate(d,e[d],i,a,s,o,[i]),!sn(l))return l}return null};oe.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=K0.apply(void 0,s);this._escapeParameterHtml&&(u.params=cye(u.params));var l=u.locale||r,c=this._translate(n,l,this.fallbackLocale,e,i,"string",u.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(s))}else return c=this._warnDefault(l,e,c,i,s,"string"),this._postTranslation&&c!==null&&c!==void 0&&(c=this._postTranslation(c,e)),c};oe.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))};oe.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")};oe.prototype.i=function(e,r,n){return e?(yr(r)||(r=this.locale),this._i(e,r,this._getMessages(),null,n)):""};oe.prototype._tc=function(e,r,n,i,a){for(var s,o=[],u=arguments.length-5;u-- >0;)o[u]=arguments[u+5];if(!e)return"";a===void 0&&(a=1);var l={count:a,n:a},c=K0.apply(void 0,o);return c.params=Object.assign(l,c.params),o=c.locale===null?[c.params]:[c.locale,c.params],this.fetchChoice((s=this)._t.apply(s,[e,r,n,i].concat(o)),a)};oe.prototype.fetchChoice=function(e,r){if(!e||!yr(e))return null;var n=e.split("|");return r=this.getChoiceIndex(r,n.length),n[r]?n[r].trim():e};oe.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))};oe.prototype._te=function(e,r,n){for(var i=[],a=arguments.length-3;a-- >0;)i[a]=arguments[a+3];var s=K0.apply(void 0,i).locale||r;return this._exist(n[s],e)};oe.prototype.te=function(e,r){return this._te(e,this.locale,this._getMessages(),r)};oe.prototype.getLocaleMessage=function(e){return Cc(this._vm.messages[e]||{})};oe.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)};oe.prototype.mergeLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,Wo(typeof this._vm.messages[e]<"u"&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},r))};oe.prototype.getDateTimeFormat=function(e){return Cc(this._vm.dateTimeFormats[e]||{})};oe.prototype.setDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,r),this._clearDateTimeFormat(e,r)};oe.prototype.mergeDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,Wo(this._vm.dateTimeFormats[e]||{},r)),this._clearDateTimeFormat(e,r)};oe.prototype._clearDateTimeFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}};oe.prototype._localizeDateTime=function(e,r,n,i,a){for(var s=r,o=i[s],u=this._getLocaleChain(r,n),l=0;l<u.length;l++){var c=s,d=u[l];if(o=i[d],s=d,!(sn(o)||sn(o[a])))break}if(sn(o)||sn(o[a]))return null;var h=o[a],p=s+"__"+a,g=this._dateTimeFormatters[p];return g||(g=this._dateTimeFormatters[p]=new Intl.DateTimeFormat(s,h)),g.format(e)};oe.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||""};oe.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?yr(r[0])?a=r[0]:oi(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key)):r.length===2&&(yr(r[0])&&(a=r[0]),yr(r[1])&&(i=r[1])),this._d(e,i,a)};oe.prototype.getNumberFormat=function(e){return Cc(this._vm.numberFormats[e]||{})};oe.prototype.setNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,r),this._clearNumberFormat(e,r)};oe.prototype.mergeNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,Wo(this._vm.numberFormats[e]||{},r)),this._clearNumberFormat(e,r)};oe.prototype._clearNumberFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}};oe.prototype._getNumberFormatter=function(e,r,n,i,a,s){for(var o=r,u=i[o],l=this._getLocaleChain(r,n),c=0;c<l.length;c++){var d=o,h=l[c];if(u=i[h],o=h,!(sn(u)||sn(u[a])))break}if(sn(u)||sn(u[a]))return null;var p=u[a],g;if(s)g=new Intl.NumberFormat(o,Object.assign({},p,s));else{var _=o+"__"+a;g=this._numberFormatters[_],g||(g=this._numberFormatters[_]=new Intl.NumberFormat(o,p))}return g};oe.prototype._n=function(e,r,n,i){if(!oe.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||""};oe.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?yr(r[0])?a=r[0]:oi(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key),s=Object.keys(r[0]).reduce(function(o,u){var l;return q0(R6,u)?Object.assign({},o,(l={},l[u]=r[0][u],l)):o},null)):r.length===2&&(yr(r[0])&&(a=r[0]),yr(r[1])&&(i=r[1])),this._n(e,i,a,s)};oe.prototype._ntp=function(e,r,n,i){if(!oe.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(oe.prototype,ct);var Vy;Object.defineProperty(oe,"availabilities",{get:function(){if(!Vy){var e=typeof Intl<"u";Vy={dateTimeFormat:e&&typeof Intl.DateTimeFormat<"u",numberFormat:e&&typeof Intl.NumberFormat<"u"}}return Vy}});oe.install=iT;oe.version="8.27.2";const TPe=oe;var lO=function(t,e){return lO=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])},lO(t,e)};function ha(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");lO(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 Nye(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(c){try{l(n.next(c))}catch(d){s(d)}}function u(c){try{l(n.throw(c))}catch(d){s(d)}}function l(c){c.done?a(c.value):i(c.value).then(o,u)}l((n=n.apply(t,e||[])).next())})}function le(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(l){return function(c){return u([l,c])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(c){l=[6,c],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function kr(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))}function hu(t){return typeof t=="string"}function cO(t){return typeof t=="number"}function Fl(t){return typeof t=="function"}function pi(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()==="object"}function Bye(t){var e,r,n,i=(n=(r=(e=t.userId)!==null&&e!==void 0?e:t.anonymousId)!==null&&r!==void 0?r:t.groupId)!==null&&n!==void 0?n:t.previousId;return hu(i)}var Pd=function(t){ha(e,t);function e(r,n){var i=t.call(this,n)||this;return i.field=r,i}return e}(Error);function ul(t){var e,r=t&&t.event&&t.event.type,n=t.event;if(n===void 0)throw new Pd("event","Event is missing");if(!hu(r))throw new Pd("event","Event is not a string");if(r==="track"&&!hu(n.event))throw new Pd("event","Event is not a string");var i=(e=n.properties)!==null&&e!==void 0?e:n.traits;if(r!=="alias"&&!pi(i))throw new Pd("properties","properties is not an object");if(!Bye(n))throw new Pd("userId","Missing userId or anonymousId");return t}var Fye={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:ul,identify:ul,page:ul,alias:ul,group:ul,screen:ul};function jye(t,e,r,n){var i,a=[t,e,r,n],s=pi(t)?t.event:t;if(!s||!hu(s))throw new Error("Event missing");var o=pi(t)?(i=t.properties)!==null&&i!==void 0?i:{}:pi(e)?e:{},u={};pi(e)&&!Fl(r)&&(u=r??{}),pi(t)&&!Fl(e)&&(u=e??{});var l=a.find(Fl);return[s,o,u,l]}function yR(t,e,r,n,i){var a,s,o=null,u=null,l=[t,e,r,n,i],c=l.filter(hu);c[0]!==void 0&&c[1]!==void 0&&(o=c[0],u=c[1]),c.length===1&&(o=null,u=c[0]);var d=l.find(Fl),h=l.filter(function(_){return u===null?pi(_):pi(_)||_===null}),p=(a=h[0])!==null&&a!==void 0?a:{},g=(s=h[1])!==null&&s!==void 0?s:{};return[o,u,p,g,d]}var wR=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(hu))!==null&&e!==void 0?e:(r=s.find(cO))===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:t.id();var l=s.filter(function(p){return u===null?pi(p):pi(p)||p===null}),c=(i=l[0])!==null&&i!==void 0?i:{},d=(a=l[1])!==null&&a!==void 0?a:{},h=s.find(Fl);return[u,c,d,h]}};function zye(t,e,r,n){cO(t)&&(t=t.toString()),cO(e)&&(e=e.toString());var i=[t,e,r,n],a=i.filter(hu),s=a[0],o=s===void 0?t:s,u=a[1],l=u===void 0?null:u,c=i.filter(pi)[0],d=c===void 0?{}:c,h=i.find(Fl);return[o,l,d,h]}function Eh(t){return Promise.resolve(t)}function sT(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 Hye(t){return new Promise(function(e){return setTimeout(e,t)})}function Vye(t,e,r,n){var i=function(){try{return Eh(e(t))}catch(a){return Promise.reject(a)}};return Hye(r).then(function(){return sT(i(),n??1e3)}).catch(function(a){t==null||t.log("warn","Callback Error",{error:a}),t==null||t.stats.increment("callback_error")}).then(function(){return t})}function oT(){return typeof window<"u"}function z6(){return!oT()}function uT(){return oT()?window.navigator.onLine:!0}function hc(){return!uT()}var Io=256,Nm=[],qp;for(;Io--;)Nm[Io]=(Io+256).toString(16).substring(1);function lT(){var t=0,e,r="";if(!qp||Io+16>256){for(qp=Array(t=256);t--;)qp[t]=256*Math.random()|0;t=Io=0}for(;t<16;t++)e=qp[Io+t],t==6?r+=Nm[e&15|64]:t==8?r+=Nm[e&63|128]:r+=Nm[e],t&1&&t>1&&t<11&&(r+="-");return Io++,r}function dO(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 Uye=function(){function t(){var e=this;this._logs=[],this.log=function(r,n,i){var a=new Date;e._logs.push({level:r,message:n,time:a,extras:i})}}return 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}();const Gye=Uye;var Wye=function(t){var e={gauge:"g",counter:"c"};return e[t]},Yye=function(){function t(e){this.metrics=[],this.remoteMetrics=e}return t.prototype.increment=function(e,r,n){var i;r===void 0&&(r=1),this.metrics.push({metric:e,value:r,tags:n??[],type:"counter",timestamp:Date.now()}),(i=this.remoteMetrics)===null||i===void 0||i.increment(e,n??[])},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:Wye(e.type),e:e.timestamp}})},t}();const Kye=Yye;function $c(t,e){return e=e||{},new Promise(function(r,n){var i=new XMLHttpRequest,a=[],s=[],o={},u=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:u,headers:{keys:function(){return a},entries:function(){return s},get:function(c){return o[c.toLowerCase()]},has:function(c){return c.toLowerCase()in o}}}};for(var l in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(c,d,h){a.push(d=d.toLowerCase()),s.push([d,h]),o[d]=o[d]?o[d]+","+h:h}),r(u())},i.onerror=n,i.withCredentials=e.credentials=="include",e.headers)i.setRequestHeader(l,e.headers[l]);i.send(e.body||null)})}var pc="1.44.0";/*! js-cookie v3.0.1 | MIT */function Xp(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 qye={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 fO(t,e){function r(i,a,s){if(!(typeof document>"u")){s=Xp({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var u in s)s[u]&&(o+="; "+u,s[u]!==!0&&(o+="="+s[u].split(";")[0]));return document.cookie=i+"="+t.write(a,i)+o}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],s={},o=0;o<a.length;o++){var u=a[o].split("="),l=u.slice(1).join("=");try{var c=decodeURIComponent(u[0]);if(s[c]=t.read(l,c),i===c)break}catch{}}return i?s[i]:s}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Xp({},a,{expires:-1}))},withAttributes:function(i){return fO(this.converter,Xp({},this.attributes,i))},withConverter:function(i){return fO(Xp({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var En=fO(qye,{path:"/"});function H6(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return t}}function Xye(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 Zye(t){try{return new URL(t)}catch{return}}function V6(t){var e=Zye(t);if(e)for(var r=Xye(e),n=0;n<r.length;++n){var i="__tld__",a=r[n],s={domain:"."+a};try{if(En.set(i,"1",s),En.get(i))return En.remove(i,s),a}catch{return}}}var Cd;function Jye(){if(Cd)return Cd;var t=V6(window.location.href);return Cd={expires:31536e6,secure:!1,path:"/"},t&&(Cd.domain=t),Cd}var Qye="npm";function U6(){return Qye}function ewe(){var t=En.get("_ga");if(t&&t.startsWith("amp"))return t}function twe(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]=H6(s)}return e},{})}function rwe(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 nwe(t,e,r){var n=En.get("s:context.referrer"),i=rwe(t);n=n?JSON.parse(n):void 0,i=i??n,i&&(e&&(e.referrer=ne(ne({},e.referrer),i)),r||En.set("s:context.referrer",JSON.stringify(i),Jye()))}function iwe(t,e,r,n){var i,a,s,o,u=t.user(),l=window.location.search;e.context=(a=(i=e.context)!==null&&i!==void 0?i:e.options)!==null&&a!==void 0?a:{};var c=e.context,d=e.anonymousId;delete e.options,e.writeKey=r==null?void 0:r.apiKey,c.userAgent=window.navigator.userAgent;var h=navigator.userLanguage||navigator.language;if(typeof c.locale>"u"&&typeof h<"u"&&(c.locale=h),!c.library){var p=U6();p==="web"?c.library={name:"analytics.js",version:"next-".concat(pc)}:c.library={name:"analytics.js",version:"npm:next-".concat(pc)}}l&&!c.campaign&&(c.campaign=twe(l)),nwe(l,c,(s=t.options.disableClientPersistence)!==null&&s!==void 0?s:!1),e.userId=e.userId||u.id(),e.anonymousId=u.anonymousId(d),e.sentAt=new Date;var g=t.queue.failedInitializations||[];g.length>0&&(e._metadata={failedInitializations:g});var _=[],O=[];for(var S in n){var E=n[S];S==="Segment.io"&&_.push(S),E.bundlingStatus==="bundled"&&_.push(S),E.bundlingStatus==="unbundled"&&O.push(S)}for(var x=0,f=(r==null?void 0:r.unbundledIntegrations)||[];x<f.length;x++){var m=f[x];O.includes(m)||O.push(m)}var v=(o=r==null?void 0:r.maybeBundledConfigIds)!==null&&o!==void 0?o:{},T=[];_.sort().forEach(function(k){var y;((y=v[k])!==null&&y!==void 0?y:[]).forEach(function(M){T.push(M)})}),(r==null?void 0:r.addBundledMetadata)!==!1&&(e._metadata=ne(ne({},e._metadata),{bundled:_.sort(),unbundled:O.sort(),bundledIds:T}));var P=ewe();return P&&(c.amp={id:P}),e}function Uy(t){console.error("Error sending segment performance metrics",t)}var awe=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:"api.segment.io/v1",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(Uy),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=r.reduce(function(a,s){var o=s.split(":"),u=o[0],l=o[1];return a[u]=l,a},{});n.library="analytics.js";var i=U6();i==="web"?n.library_version="next-".concat(pc):n.library_version="npm:next-".concat(pc),this.queue.push({type:"Counter",metric:e,value:1,tags:n}),e.includes("error")&&this.flush().catch(Uy)}},t.prototype.flush=function(){return ue(this,void 0,void 0,function(){var e=this;return le(this,function(r){switch(r.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(n){Uy(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 le(this,function(i){return e={series:this.queue},this.queue=[],r={"Content-Type":"text/plain"},n="https://".concat(this.host,"/m"),[2,$c(n,{headers:r,body:JSON.stringify(e),method:"POST"})]})})},t}(),Ka=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}(),OR,_i=function(){function t(e,r){this.logger=new Gye,this.cancel=function(n){throw n||new Ka({reason:"Context Cancel"})},this._attempts=0,this._event=e,this._id=r??lT(),this.stats=new Kye(OR)}return t.initMetrics=function(e){OR=new awe(e)},t.system=function(){return new t({type:"track",event:"system"})},t.prototype.isSame=function(e){return e._id===this._id},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}),Object.defineProperty(t.prototype,"event",{get:function(){return this._event},set:function(e){this._event=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attempts",{get:function(){return this._attempts},set:function(e){this._attempts=e},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 dO(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}(),cT=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}(),Pn={},pa={},dT={},G6={exports:{}};(function(t){t.exports=e(r),t.exports.find=t.exports,t.exports.replace=function(o,u,l,c){return e(i).call(this,o,u,l,c),o},t.exports.del=function(o,u,l){return e(n).call(this,o,u,null,l),o};function e(o){return function(u,l,c,d){var h=d&&s(d.normalizer)?d.normalizer:a;l=h(l);for(var p,g=!1;!g;)_();function _(){for(p in u){var O=h(p);if(l.indexOf(O)===0){var S=l.substr(O.length);if(S.charAt(0)==="."||S.length===0){l=S.substr(1);var E=u[p];if(E==null){g=!0;return}if(!l.length){g=!0;return}u=E;return}}}p=void 0,g=!0}if(p)return u==null?u:o(u,p,c)}}function r(o,u){if(o.hasOwnProperty(u))return o[u]}function n(o,u){return o.hasOwnProperty(u)&&delete o[u],o}function i(o,u,l){return o.hasOwnProperty(u)&&(o[u]=l),o}function a(o){return o.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function s(o){return typeof o=="function"}})(G6);var Z0=G6.exports,swe=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(dT,"__esModule",{value:!0});var hs=swe(Z0);function ll(t,e){return function(){var r=this.traits(),n=this.properties?this.properties():{};return hs.default(r,"address."+t)||hs.default(r,t)||(e?hs.default(r,"address."+e):null)||(e?hs.default(r,e):null)||hs.default(n,"address."+t)||hs.default(n,t)||(e?hs.default(n,"address."+e):null)||(e?hs.default(n,e):null)}}function owe(t){t.zip=ll("postalCode","zip"),t.country=ll("country"),t.street=ll("street"),t.state=ll("state"),t.city=ll("city"),t.region=ll("region")}dT.default=owe;var J0={};Object.defineProperty(J0,"__esModule",{value:!0});J0.clone=void 0;function hO(t){if(Object.prototype.toString.call(t)==="[object Object]"){var e={};for(var r in t)e[r]=hO(t[r]);return e}else return Array.isArray(t)?t.map(hO):t}J0.clone=hO;var fT={};Object.defineProperty(fT,"__esModule",{value:!0});var uwe={Salesforce:!0};function lwe(t){return!uwe[t]}fT.default=lwe;var Q0={},W6=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;Q0.parse=function(t){var e=[1,5,6,7,11,12],r=W6.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)};Q0.is=function(t,e){return typeof t!="string"||e&&/^\d{4}-\d{2}-\d{2}/.test(t)===!1?!1:W6.test(t)};var hT={},cwe=/\d{13}/;hT.is=function(t){return cwe.test(t)};hT.parse=function(t){return t=parseInt(t,10),new Date(t)};var pT={},dwe=/\d{10}/;pT.is=function(t){return dwe.test(t)};pT.parse=function(t){var e=parseInt(t,10)*1e3;return new Date(e)};var SR=Q0,xR=hT,TR=pT,fwe=Object.prototype,Y6=fwe.toString;function hwe(t){return Y6.call(t)==="[object Date]"}function pwe(t){return Y6.call(t)==="[object Number]"}var mT=function(e){return hwe(e)?e:pwe(e)?new Date(mwe(e)):SR.is(e)?SR.parse(e):xR.is(e)?xR.parse(e):TR.is(e)?TR.parse(e):new Date(e)};function mwe(t){return t<315576e5?t*1e3:t}var ER=Q0,vwe=vT;function vT(t,e){return e===void 0&&(e=!0),t&&typeof t=="object"?gwe(t,e):Array.isArray(t)?bwe(t,e):ER.is(t,e)?ER.parse(t):t}function gwe(t,e){return Object.keys(t).forEach(function(r){t[r]=vT(t[r],e)}),t}function bwe(t,e){return t.forEach(function(r,n){t[n]=vT(r,e)}),t}var Ph=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pa,"__esModule",{value:!0});pa.Facade=void 0;var _we=Ph(dT),mc=J0,ywe=Ph(fT),wwe=Ph(mT),pO=Ph(Z0),Owe=Ph(vwe);function jn(t,e){e=e||{},this.raw=mc.clone(t),"clone"in e||(e.clone=!0),e.clone&&(t=mc.clone(t)),"traverse"in e||(e.traverse=!0),"timestamp"in t?t.timestamp=wwe.default(t.timestamp):t.timestamp=new Date,e.traverse&&Owe.default(t),this.opts=e,this.obj=t}pa.Facade=jn;var At=jn.prototype;At.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?mO(r):r:(r=pO.default(r,e.join(".")),this.opts.clone?mO(r):r))};At.field=function(t){var e=this.obj[t];return this.opts.clone?mO(e):e};jn.proxy=function(t){return function(){return this.proxy(t)}};jn.field=function(t){return function(){return this.field(t)}};jn.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?mc.clone(r):r]),r||[]}};jn.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]}};At.json=function(){var t=this.opts.clone?mc.clone(this.obj):this.obj;return this.type&&(t.type=this.type()),t};At.rawEvent=function(){return this.raw};At.options=function(t){var e=this.obj.options||this.obj.context||{},r=this.opts.clone?mc.clone(e):e;if(!t)return r;if(this.enabled(t)){var n=this.integrations(),i=n[t]||pO.default(n,t);return typeof i!="object"&&(i=pO.default(this.options(),t)),typeof i=="object"?i:{}}};At.context=At.options;At.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&&ywe.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};At.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()};At.active=function(){var t=this.proxy("options.active");return t==null&&(t=!0),t};At.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")};At.sessionId=At.anonymousId;At.groupId=jn.proxy("options.groupId");At.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};At.library=function(){var t=this.proxy("options.library");return t?typeof t=="string"?{name:t,version:null}:t:{name:"unknown",version:null}};At.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};At.userAgent=jn.proxy("context.userAgent");At.timezone=jn.proxy("context.timezone");At.timestamp=jn.field("timestamp");At.channel=jn.field("channel");At.ip=jn.proxy("context.ip");At.userId=jn.field("userId");_we.default(At);function mO(t){return mc.clone(t)}var eb={},vO={exports:{}};typeof Object.create=="function"?vO.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:vO.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 Su=vO.exports,Swe=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(eb,"__esModule",{value:!0});eb.Alias=void 0;var xwe=Swe(Su),K6=pa;function Si(t,e){K6.Facade.call(this,t,e)}eb.Alias=Si;xwe.default(Si,K6.Facade);Si.prototype.action=function(){return"alias"};Si.prototype.type=Si.prototype.action;Si.prototype.previousId=function(){return this.field("previousId")||this.field("from")};Si.prototype.from=Si.prototype.previousId;Si.prototype.userId=function(){return this.field("userId")||this.field("to")};Si.prototype.to=Si.prototype.userId;var tb={},Ac={};Object.defineProperty(Ac,"__esModule",{value:!0});var Twe=/.+\@.+\..+/;function Ewe(t){return Twe.test(t)}Ac.default=Ewe;var gT=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tb,"__esModule",{value:!0});tb.Group=void 0;var Pwe=gT(Su),Cwe=gT(Ac),$we=gT(mT),Mc=pa;function bT(t,e){Mc.Facade.call(this,t,e)}tb.Group=bT;Pwe.default(bT,Mc.Facade);var xi=bT.prototype;xi.action=function(){return"group"};xi.type=xi.action;xi.groupId=Mc.Facade.field("groupId");xi.created=function(){var t=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(t)return $we.default(t)};xi.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.groupId();if(Cwe.default(e))return e};xi.traits=function(t){var e=this.properties(),r=this.groupId();t=t||{},r&&(e.id=r);for(var n in t){var i=this[n]==null?this.proxy("traits."+n):this[n]();i!=null&&(e[t[n]]=i,delete e[n])}return e};xi.name=Mc.Facade.proxy("traits.name");xi.industry=Mc.Facade.proxy("traits.industry");xi.employees=Mc.Facade.proxy("traits.employees");xi.properties=function(){return this.field("traits")||this.field("properties")||{}};var Ch={},rb=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ch,"__esModule",{value:!0});Ch.Identify=void 0;var ma=pa,jl=rb(Z0),Awe=rb(Su),Mwe=rb(Ac),q6=rb(mT),Yo=function(t){return t.trim()};function _T(t,e){ma.Facade.call(this,t,e)}Ch.Identify=_T;Awe.default(_T,ma.Facade);var Mt=_T.prototype;Mt.action=function(){return"identify"};Mt.type=Mt.action;Mt.traits=function(t){var e=this.field("traits")||{},r=this.userId();t=t||{},r&&(e.id=r);for(var n in t){var i=this[n]==null?this.proxy("traits."+n):this[n]();i!=null&&(e[t[n]]=i,n!==t[n]&&delete e[n])}return e};Mt.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.userId();if(Mwe.default(e))return e};Mt.created=function(){var t=this.proxy("traits.created")||this.proxy("traits.createdAt");if(t)return q6.default(t)};Mt.companyCreated=function(){var t=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(t)return q6.default(t)};Mt.companyName=function(){return this.proxy("traits.company.name")};Mt.name=function(){var t=this.proxy("traits.name");if(typeof t=="string")return Yo(t);var e=this.firstName(),r=this.lastName();if(e&&r)return Yo(e+" "+r)};Mt.firstName=function(){var t=this.proxy("traits.firstName");if(typeof t=="string")return Yo(t);var e=this.proxy("traits.name");if(typeof e=="string")return Yo(e).split(" ")[0]};Mt.lastName=function(){var t=this.proxy("traits.lastName");if(typeof t=="string")return Yo(t);var e=this.proxy("traits.name");if(typeof e=="string"){var r=Yo(e).indexOf(" ");if(r!==-1)return Yo(e.substr(r+1))}};Mt.uid=function(){return this.userId()||this.username()||this.email()};Mt.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")};Mt.age=function(){var t=this.birthday(),e=jl.default(this.traits(),"age");if(e!=null)return e;if(t instanceof Date){var r=new Date;return r.getFullYear()-t.getFullYear()}};Mt.avatar=function(){var t=this.traits();return jl.default(t,"avatar")||jl.default(t,"photoUrl")||jl.default(t,"avatarUrl")};Mt.position=function(){var t=this.traits();return jl.default(t,"position")||jl.default(t,"jobTitle")};Mt.username=ma.Facade.proxy("traits.username");Mt.website=ma.Facade.one("traits.website");Mt.websites=ma.Facade.multi("traits.website");Mt.phone=ma.Facade.one("traits.phone");Mt.phones=ma.Facade.multi("traits.phone");Mt.address=ma.Facade.proxy("traits.address");Mt.gender=ma.Facade.proxy("traits.gender");Mt.birthday=ma.Facade.proxy("traits.birthday");var kc={},yT=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kc,"__esModule",{value:!0});kc.Track=void 0;var kwe=yT(Su),wr=pa,Dwe=Ch,Rwe=yT(Ac),X6=yT(Z0);function wT(t,e){wr.Facade.call(this,t,e)}kc.Track=wT;kwe.default(wT,wr.Facade);var Le=wT.prototype;Le.action=function(){return"track"};Le.type=Le.action;Le.event=wr.Facade.field("event");Le.value=wr.Facade.proxy("properties.value");Le.category=wr.Facade.proxy("properties.category");Le.id=wr.Facade.proxy("properties.id");Le.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")};Le.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")};Le.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")};Le.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")};Le.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")};Le.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")};Le.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")};Le.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")};Le.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")};Le.sku=wr.Facade.proxy("properties.sku");Le.tax=wr.Facade.proxy("properties.tax");Le.name=wr.Facade.proxy("properties.name");Le.price=wr.Facade.proxy("properties.price");Le.total=wr.Facade.proxy("properties.total");Le.repeat=wr.Facade.proxy("properties.repeat");Le.coupon=wr.Facade.proxy("properties.coupon");Le.shipping=wr.Facade.proxy("properties.shipping");Le.discount=wr.Facade.proxy("properties.discount");Le.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")};Le.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")};Le.description=wr.Facade.proxy("properties.description");Le.plan=wr.Facade.proxy("properties.plan");Le.subtotal=function(){var t=X6.default(this.properties(),"subtotal"),e=this.total()||this.revenue();if(t)return t;if(!e)return 0;if(this.total()){var r=this.tax();r&&(e-=r),r=this.shipping(),r&&(e-=r),r=this.discount(),r&&(e+=r)}return e};Le.products=function(){var t=this.properties(),e=X6.default(t,"products");return Array.isArray(e)?e.filter(function(r){return r!==null}):[]};Le.quantity=function(){var t=this.obj.properties||{};return t.quantity||1};Le.currency=function(){var t=this.obj.properties||{};return t.currency||"USD"};Le.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};Le.query=wr.Facade.proxy("options.query");Le.properties=function(t){var e=this.field("properties")||{};t=t||{};for(var r in t){var n=this[r]==null?this.proxy("properties."+r):this[r]();n!=null&&(e[t[r]]=n,delete e[r])}return e};Le.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()};Le.email=function(){var t=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(t)return t;var e=this.userId();if(Rwe.default(e))return e};Le.revenue=function(){var t=this.proxy("properties.revenue"),e=this.event(),r=/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;return!t&&e&&e.match(r)&&(t=this.proxy("properties.total")),Iwe(t)};Le.cents=function(){var t=this.revenue();return typeof t!="number"?this.value()||0:t*100};Le.identify=function(){var t=this.json();return t.traits=this.traits(),new Dwe.Identify(t,this.opts)};function Iwe(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 $h={},Z6=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($h,"__esModule",{value:!0});$h.Page=void 0;var Lwe=Z6(Su),xu=pa,Nwe=kc,Bwe=Z6(Ac);function OT(t,e){xu.Facade.call(this,t,e)}$h.Page=OT;Lwe.default(OT,xu.Facade);var pn=OT.prototype;pn.action=function(){return"page"};pn.type=pn.action;pn.category=xu.Facade.field("category");pn.name=xu.Facade.field("name");pn.title=xu.Facade.proxy("properties.title");pn.path=xu.Facade.proxy("properties.path");pn.url=xu.Facade.proxy("properties.url");pn.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};pn.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};pn.email=function(){var t=this.proxy("context.traits.email")||this.proxy("properties.email");if(t)return t;var e=this.userId();if(Bwe.default(e))return e};pn.fullName=function(){var t=this.category(),e=this.name();return e&&t?t+" "+e:e};pn.event=function(t){return t?"Viewed "+t+" Page":"Loaded a Page"};pn.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new Nwe.Track(e,this.opts)};var nb={},Fwe=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(nb,"__esModule",{value:!0});nb.Screen=void 0;var jwe=Fwe(Su),J6=$h,zwe=kc;function pu(t,e){J6.Page.call(this,t,e)}nb.Screen=pu;jwe.default(pu,J6.Page);pu.prototype.action=function(){return"screen"};pu.prototype.type=pu.prototype.action;pu.prototype.event=function(t){return t?"Viewed "+t+" Screen":"Loaded a Screen"};pu.prototype.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new zwe.Track(e,this.opts)};var ib={},Hwe=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ib,"__esModule",{value:!0});ib.Delete=void 0;var Vwe=Hwe(Su),Q6=pa;function ST(t,e){Q6.Facade.call(this,t,e)}ib.Delete=ST;Vwe.default(ST,Q6.Facade);ST.prototype.type=function(){return"delete"};(function(t){var e=we&&we.__assign||function(){return e=Object.assign||function(c){for(var d,h=1,p=arguments.length;h<p;h++){d=arguments[h];for(var g in d)Object.prototype.hasOwnProperty.call(d,g)&&(c[g]=d[g])}return c},e.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=t.Screen=t.Page=t.Track=t.Identify=t.Group=t.Alias=t.Facade=void 0;var r=pa;Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return r.Facade}});var n=eb;Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return n.Alias}});var i=tb;Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return i.Group}});var a=Ch;Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return a.Identify}});var s=kc;Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return s.Track}});var o=$h;Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return o.Page}});var u=nb;Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return u.Screen}});var l=ib;Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return l.Delete}}),t.default=e(e({},r.Facade),{Alias:n.Alias,Group:i.Group,Identify:a.Identify,Track:s.Track,Page:o.Page,Screen:u.Screen,Delete:l.Delete})})(Pn);var e5={exports:{}};(function(t,e){(function(r){t.exports=r()})(function(r){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function i(S,E){var x=S[0],f=S[1],m=S[2],v=S[3];x+=(f&m|~f&v)+E[0]-680876936|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[1]-389564586|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[2]+606105819|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[3]-1044525330|0,f=(f<<22|f>>>10)+m|0,x+=(f&m|~f&v)+E[4]-176418897|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[5]+1200080426|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[6]-1473231341|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[7]-45705983|0,f=(f<<22|f>>>10)+m|0,x+=(f&m|~f&v)+E[8]+1770035416|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[9]-1958414417|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[10]-42063|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[11]-1990404162|0,f=(f<<22|f>>>10)+m|0,x+=(f&m|~f&v)+E[12]+1804603682|0,x=(x<<7|x>>>25)+f|0,v+=(x&f|~x&m)+E[13]-40341101|0,v=(v<<12|v>>>20)+x|0,m+=(v&x|~v&f)+E[14]-1502002290|0,m=(m<<17|m>>>15)+v|0,f+=(m&v|~m&x)+E[15]+1236535329|0,f=(f<<22|f>>>10)+m|0,x+=(f&v|m&~v)+E[1]-165796510|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[6]-1069501632|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[11]+643717713|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[0]-373897302|0,f=(f<<20|f>>>12)+m|0,x+=(f&v|m&~v)+E[5]-701558691|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[10]+38016083|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[15]-660478335|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[4]-405537848|0,f=(f<<20|f>>>12)+m|0,x+=(f&v|m&~v)+E[9]+568446438|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[14]-1019803690|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[3]-187363961|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[8]+1163531501|0,f=(f<<20|f>>>12)+m|0,x+=(f&v|m&~v)+E[13]-1444681467|0,x=(x<<5|x>>>27)+f|0,v+=(x&m|f&~m)+E[2]-51403784|0,v=(v<<9|v>>>23)+x|0,m+=(v&f|x&~f)+E[7]+1735328473|0,m=(m<<14|m>>>18)+v|0,f+=(m&x|v&~x)+E[12]-1926607734|0,f=(f<<20|f>>>12)+m|0,x+=(f^m^v)+E[5]-378558|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[8]-2022574463|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[11]+1839030562|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[14]-35309556|0,f=(f<<23|f>>>9)+m|0,x+=(f^m^v)+E[1]-1530992060|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[4]+1272893353|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[7]-155497632|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[10]-1094730640|0,f=(f<<23|f>>>9)+m|0,x+=(f^m^v)+E[13]+681279174|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[0]-358537222|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[3]-722521979|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[6]+76029189|0,f=(f<<23|f>>>9)+m|0,x+=(f^m^v)+E[9]-640364487|0,x=(x<<4|x>>>28)+f|0,v+=(x^f^m)+E[12]-421815835|0,v=(v<<11|v>>>21)+x|0,m+=(v^x^f)+E[15]+530742520|0,m=(m<<16|m>>>16)+v|0,f+=(m^v^x)+E[2]-995338651|0,f=(f<<23|f>>>9)+m|0,x+=(m^(f|~v))+E[0]-198630844|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[7]+1126891415|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[14]-1416354905|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[5]-57434055|0,f=(f<<21|f>>>11)+m|0,x+=(m^(f|~v))+E[12]+1700485571|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[3]-1894986606|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[10]-1051523|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[1]-2054922799|0,f=(f<<21|f>>>11)+m|0,x+=(m^(f|~v))+E[8]+1873313359|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[15]-30611744|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[6]-1560198380|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[13]+1309151649|0,f=(f<<21|f>>>11)+m|0,x+=(m^(f|~v))+E[4]-145523070|0,x=(x<<6|x>>>26)+f|0,v+=(f^(x|~m))+E[11]-1120210379|0,v=(v<<10|v>>>22)+x|0,m+=(x^(v|~f))+E[2]+718787259|0,m=(m<<15|m>>>17)+v|0,f+=(v^(m|~x))+E[9]-343485551|0,f=(f<<21|f>>>11)+m|0,S[0]=x+S[0]|0,S[1]=f+S[1]|0,S[2]=m+S[2]|0,S[3]=v+S[3]|0}function a(S){var E=[],x;for(x=0;x<64;x+=4)E[x>>2]=S.charCodeAt(x)+(S.charCodeAt(x+1)<<8)+(S.charCodeAt(x+2)<<16)+(S.charCodeAt(x+3)<<24);return E}function s(S){var E=[],x;for(x=0;x<64;x+=4)E[x>>2]=S[x]+(S[x+1]<<8)+(S[x+2]<<16)+(S[x+3]<<24);return E}function o(S){var E=S.length,x=[1732584193,-271733879,-1732584194,271733878],f,m,v,T,P,k;for(f=64;f<=E;f+=64)i(x,a(S.substring(f-64,f)));for(S=S.substring(f-64),m=S.length,v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0;f<m;f+=1)v[f>>2]|=S.charCodeAt(f)<<(f%4<<3);if(v[f>>2]|=128<<(f%4<<3),f>55)for(i(x,v),f=0;f<16;f+=1)v[f]=0;return T=E*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(T[2],16),k=parseInt(T[1],16)||0,v[14]=P,v[15]=k,i(x,v),x}function u(S){var E=S.length,x=[1732584193,-271733879,-1732584194,271733878],f,m,v,T,P,k;for(f=64;f<=E;f+=64)i(x,s(S.subarray(f-64,f)));for(S=f-64<E?S.subarray(f-64):new Uint8Array(0),m=S.length,v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0;f<m;f+=1)v[f>>2]|=S[f]<<(f%4<<3);if(v[f>>2]|=128<<(f%4<<3),f>55)for(i(x,v),f=0;f<16;f+=1)v[f]=0;return T=E*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(T[2],16),k=parseInt(T[1],16)||0,v[14]=P,v[15]=k,i(x,v),x}function l(S){var E="",x;for(x=0;x<4;x+=1)E+=n[S>>x*8+4&15]+n[S>>x*8&15];return E}function c(S){var E;for(E=0;E<S.length;E+=1)S[E]=l(S[E]);return S.join("")}c(o("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function S(E,x){return E=E|0||0,E<0?Math.max(E+x,0):Math.min(E,x)}ArrayBuffer.prototype.slice=function(E,x){var f=this.byteLength,m=S(E,f),v=f,T,P,k,y;return x!==r&&(v=S(x,f)),m>v?new ArrayBuffer(0):(T=v-m,P=new ArrayBuffer(T),k=new Uint8Array(P),y=new Uint8Array(this,m,T),k.set(y),P)}}();function d(S){return/[\u0080-\uFFFF]/.test(S)&&(S=unescape(encodeURIComponent(S))),S}function h(S,E){var x=S.length,f=new ArrayBuffer(x),m=new Uint8Array(f),v;for(v=0;v<x;v+=1)m[v]=S.charCodeAt(v);return E?m:f}function p(S){return String.fromCharCode.apply(null,new Uint8Array(S))}function g(S,E,x){var f=new Uint8Array(S.byteLength+E.byteLength);return f.set(new Uint8Array(S)),f.set(new Uint8Array(E),S.byteLength),x?f:f.buffer}function _(S){var E=[],x=S.length,f;for(f=0;f<x-1;f+=2)E.push(parseInt(S.substr(f,2),16));return String.fromCharCode.apply(String,E)}function O(){this.reset()}return O.prototype.append=function(S){return this.appendBinary(d(S)),this},O.prototype.appendBinary=function(S){this._buff+=S,this._length+=S.length;var E=this._buff.length,x;for(x=64;x<=E;x+=64)i(this._hash,a(this._buff.substring(x-64,x)));return this._buff=this._buff.substring(x-64),this},O.prototype.end=function(S){var E=this._buff,x=E.length,f,m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],v;for(f=0;f<x;f+=1)m[f>>2]|=E.charCodeAt(f)<<(f%4<<3);return this._finish(m,x),v=c(this._hash),S&&(v=_(v)),this.reset(),v},O.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},O.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},O.prototype.setState=function(S){return this._buff=S.buff,this._length=S.length,this._hash=S.hash,this},O.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},O.prototype._finish=function(S,E){var x=E,f,m,v;if(S[x>>2]|=128<<(x%4<<3),x>55)for(i(this._hash,S),x=0;x<16;x+=1)S[x]=0;f=this._length*8,f=f.toString(16).match(/(.*?)(.{0,8})$/),m=parseInt(f[2],16),v=parseInt(f[1],16)||0,S[14]=m,S[15]=v,i(this._hash,S)},O.hash=function(S,E){return O.hashBinary(d(S),E)},O.hashBinary=function(S,E){var x=o(S),f=c(x);return E?_(f):f},O.ArrayBuffer=function(){this.reset()},O.ArrayBuffer.prototype.append=function(S){var E=g(this._buff.buffer,S,!0),x=E.length,f;for(this._length+=S.byteLength,f=64;f<=x;f+=64)i(this._hash,s(E.subarray(f-64,f)));return this._buff=f-64<x?new Uint8Array(E.buffer.slice(f-64)):new Uint8Array(0),this},O.ArrayBuffer.prototype.end=function(S){var E=this._buff,x=E.length,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m,v;for(m=0;m<x;m+=1)f[m>>2]|=E[m]<<(m%4<<3);return this._finish(f,x),v=c(this._hash),S&&(v=_(v)),this.reset(),v},O.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},O.ArrayBuffer.prototype.getState=function(){var S=O.prototype.getState.call(this);return S.buff=p(S.buff),S},O.ArrayBuffer.prototype.setState=function(S){return S.buff=h(S.buff,!0),O.prototype.setState.call(this,S)},O.ArrayBuffer.prototype.destroy=O.prototype.destroy,O.ArrayBuffer.prototype._finish=O.prototype._finish,O.ArrayBuffer.hash=function(S,E){var x=u(new Uint8Array(S)),f=c(x);return E?_(f):f},O})})(e5);var Uwe=e5.exports;const Gwe=vn(Uwe);var Wwe=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:{},l={};return o.forEach(function(c){c!=="context"&&(a.includes(c)?dO(l,c,s[c]):dO(u,c,s[c]))}),[u,l]},t.prototype.normalize=function(e){var r,n,i=Object.keys((r=e.integrations)!==null&&r!==void 0?r:{}).reduce(function(p,g){var _,O;return ne(ne({},p),(_={},_[g]=!!(!((O=e.integrations)===null||O===void 0)&&O[g]),_))},{}),a=ne(ne({},i),(n=e.options)===null||n===void 0?void 0:n.integrations),s=this.context(e),o=s[0],u=s[1];e.options;var l=Nye(e,["options"]),c=ne(ne(ne({timestamp:new Date},l),{context:o,integrations:a}),u),d="ajs-next-"+Gwe.hash(JSON.stringify(c)+lT()),h=ne(ne({},c),{messageId:d});return h},t}();function Ywe(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]=kr(kr([],(i=r[a])!==null&&i!==void 0?i:[],!0),[n],!1))}),r}function Kwe(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 t5="onRemoveFromFuture",ab=function(t){ha(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=Kwe({attempt:i-1});return setTimeout(function(){n.queue.push(r),n.future=n.future.filter(function(s){return s.id!==r.id}),n.emit(t5)},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}(cT),oa={getItem:function(){},setItem:function(){},removeItem:function(){}};try{oa=oT()&&window.localStorage?window.localStorage:oa}catch(t){console.warn("Unable to access localStorage",t)}function r5(t){var e=oa.getItem(t);return(e?JSON.parse(e):[]).map(function(r){return new _i(r.event,r.id)})}function qwe(t,e){var r=r5(t),n=kr(kr([],e,!0),r,!0),i=n.reduce(function(a,s){var o;return ne(ne({},a),(o={},o[s.id]=s,o))},{});oa.setItem(t,JSON.stringify(Object.values(i)))}function n5(t){var e=oa.getItem(t);return e?JSON.parse(e):{}}function Xwe(t,e){var r=n5(t);oa.setItem(t,JSON.stringify(ne(ne({},r),e)))}function PR(t){oa.removeItem(t)}var Zwe=function(){return new Date().getTime()};function gO(t,e,r){r===void 0&&(r=0);var n=50,i="persisted-queue:v1:".concat(t,":lock"),a=function(l){return new Date().getTime()>l},s=oa.getItem(i),o=s?JSON.parse(s):null,u=o===null||a(o);if(u){oa.setItem(i,JSON.stringify(Zwe()+n)),e(),oa.removeItem(i);return}!u&&r<3?setTimeout(function(){gO(t,e,r+1)},n):console.error("Unable to retrieve lock")}var sb=function(t){ha(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 gO(n,function(){try{o=r5(a),u=n5(s),PR(a),PR(s),i.queue=kr(kr([],o,!0),i.queue,!0),i.seen=ne(ne({},u),i.seen)}catch(l){console.error(l)}}),document.addEventListener("pagehide",function(){if(i.todo>0){var l=kr(kr([],i.queue,!0),i.future,!0);try{gO(n,function(){qwe(a,l),Xwe(s,i.seen)})}catch(c){console.error(c)}}}),i}return e}(ab),i5=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},Jwe=function(){var t,e,r=0;return{done:function(){return t},run:function(n){var i=n();return i5(i)&&(++r===1&&(t=new Promise(function(a){return e=a})),i.finally(function(){return--r===0&&e()})),i}}};function Qwe(t){return ue(this,void 0,void 0,function(){var e;return le(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 zl(t,e){var r="action"in e?e.action.name:e.name;t.log("debug","plugin",{plugin:r});var n=new Date().getTime(),i=e[t.event.type];if(i===void 0)return Promise.resolve(t);var a=Qwe(function(){return i.apply(e,[t])}).then(function(s){var o=new Date().getTime()-n;return s.stats.gauge("plugin_time",o,["plugin:".concat(r)]),s}).catch(function(s){if(s instanceof Ka&&s.type==="middleware_cancellation")throw s;return s instanceof Ka?(t.log("warn",s.type,{plugin:r,error:s}),s):(t.log("error","plugin Error",{plugin:r,error:s}),t.stats.increment("plugin_error",1,["plugin:".concat(r)]),s)});return a}function e1e(t,e){return zl(t,e).then(function(r){if(r instanceof _i)return r;t.log("debug","Context canceled"),t.stats.increment("context_canceled"),t.cancel(r)})}var a5=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:null},Gy,CR,t1e=a5(),Al=(Gy=(CR=t1e).__SEGMENT_INSPECTOR__)!==null&&Gy!==void 0?Gy:CR.__SEGMENT_INSPECTOR__={},r1e=function(t){ha(e,t);function e(r){var n=t.call(this)||this;return n.criticalTasks=Jwe(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=r??new sb(4,"event-queue"),n.queue.on(t5,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 le(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 le(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 le(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 le(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 le(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){if(a instanceof Ka&&a.retry===!1)return r.setFailedDelivery({reason:a}),r;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;return le(this,function(s){switch(s.label){case 0:return[4,this.criticalTasks.done()];case 1:s.sent(),n=Date.now(),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.flushOne(r)];case 3:return r=s.sent(),i=Date.now()-n,r.stats.gauge("delivered",i),r.log("debug","Delivered",r.event),[2,r];case 4:throw a=s.sent(),r.log("error","Failed to deliver",a),r.stats.increment("delivery_failed"),a;case 5:return[2]}})})},e.prototype.enqueuRetry=function(r,n){var i=r instanceof Ka&&r.retry===!1,a=!i;if(a){var s=this.queue.pushWithBackoff(n);return s}return!1},e.prototype.flush=function(){return ue(this,void 0,void 0,function(){var r,n,i;return le(this,function(a){switch(a.label){case 0:if(this.queue.length===0||!uT())return[2,[]];if(r=this.queue.pop(),!r)return[2,[]];r.attempts=this.queue.getAttempts(r),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.deliver(r)];case 2:return r=a.sent(),this.emit("flush",r,!0),[3,4];case 3:return n=a.sent(),i=this.enqueuRetry(n,r),i||(r.setFailedDelivery({reason:n}),this.emit("flush",r,!1)),[2,[]];case 4:return[2,[r]]}})})},e.prototype.isReady=function(){return!0},e.prototype.availableExtensions=function(r){var n=this.plugins.filter(function(p){var g,_,O;if(p.type!=="destination"&&p.name!=="Segment.io")return!0;var S=void 0;return(g=p.alternativeNames)===null||g===void 0||g.forEach(function(E){r[E]!==void 0&&(S=r[E])}),(O=(_=r[p.name])!==null&&_!==void 0?_:S)!==null&&O!==void 0?O:(p.name==="Segment.io"?!0:r.All)!==!1}),i=Ywe(n,"type"),a=i.before,s=a===void 0?[]:a,o=i.enrichment,u=o===void 0?[]:o,l=i.destination,c=l===void 0?[]:l,d=i.after,h=d===void 0?[]:d;return{before:s,enrichment:u,destinations:c,after:h}},e.prototype.flushOne=function(r){var n,i,a,s;return ue(this,void 0,void 0,function(){var o,u,l,c,d,h,O,p,g,_,O,S,E,x,f;return le(this,function(m){switch(m.label){case 0:if(!this.isReady())throw new Error("Not ready");o=this.availableExtensions((n=r.event.integrations)!==null&&n!==void 0?n:{}),u=o.before,l=o.enrichment,c=0,d=u,m.label=1;case 1:return c<d.length?(h=d[c],[4,e1e(r,h)]):[3,4];case 2:O=m.sent(),O instanceof _i&&(r=O),m.label=3;case 3:return c++,[3,1];case 4:p=0,g=l,m.label=5;case 5:return p<g.length?(_=g[p],[4,zl(r,_)]):[3,8];case 6:O=m.sent(),O instanceof _i&&(r=O),m.label=7;case 7:return p++,[3,5];case 8:return(i=Al.enriched)===null||i===void 0||i.call(Al,r),S=this.availableExtensions((a=r.event.integrations)!==null&&a!==void 0?a:{}),E=S.destinations,x=S.after,[4,new Promise(function(v,T){setTimeout(function(){var P=E.map(function(k){return zl(r,k)});Promise.all(P).then(v).catch(T)},0)})];case 9:return m.sent(),r.stats.increment("message_delivered"),(s=Al.delivered)===null||s===void 0||s.call(Al,r,["segment.io"]),f=x.map(function(v){return zl(r,v)}),[4,Promise.all(f)];case 10:return m.sent(),[2,r]}})})},e}(cT);function xT(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}var cl={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},ob=function(){function t(){this.cache={}}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,r){return this.cache[e]=r,r},t.prototype.remove=function(e){delete this.cache[e]},t}(),n1e=365,$R=function(t){ha(e,t);function e(r){r===void 0&&(r=e.defaults);var n=t.call(this)||this;return n.options=ne(ne({},e.defaults),r),n}return e.available=function(){var r=window.navigator.cookieEnabled;return r||(En.set("ajs:cookies","test"),r=document.cookie.includes("ajs:cookies"),En.remove("ajs:cookies")),r},Object.defineProperty(e,"defaults",{get:function(){return{maxage:n1e,domain:V6(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),e.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},e.prototype.get=function(r){try{var n=En.get(r);if(!n)return null;try{return JSON.parse(n)}catch{return n}}catch{return null}},e.prototype.set=function(r,n){return typeof n=="string"?En.set(r,n,this.opts()):n===null?En.remove(r,this.opts()):En.set(r,JSON.stringify(n),this.opts()),n},e.prototype.remove=function(r){return En.remove(r,this.opts())},e}(ob),Wy=function(t){ha(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.get=function(n){return null},r.set=function(n,i){return null},r.remove=function(n){},r}return e}(ob),AR=function(t){ha(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.available=function(){var r="test";try{return localStorage.setItem(r,r),localStorage.removeItem(r),!0}catch{return!1}},e.prototype.get=function(r){var n=localStorage.getItem(r);if(n)try{return JSON.parse(n)}catch{return JSON.parse(JSON.stringify(n))}return null},e.prototype.set=function(r,n){try{localStorage.setItem(r,JSON.stringify(n))}catch{console.warn("Unable to set ".concat(r," in localStorage, storage may be full."))}return n},e.prototype.remove=function(r){return localStorage.removeItem(r)},e}(ob),s5=function(){function t(e,r){e===void 0&&(e=cl);var n=this,i,a,s,o;this.options={},this.id=function(d){var h,p;if(n.options.disable)return null;var g=n.chainGet(n.idKey);if(d!==void 0){n.trySet(n.idKey,d);var _=d!==g&&g!==null&&d!==null;_&&n.anonymousId(null)}return(p=(h=n.chainGet(n.idKey))!==null&&h!==void 0?h:n.cookies.get(cl.cookie.oldKey))!==null&&p!==void 0?p:null},this.anonymousId=function(d){var h,p;if(n.options.disable)return null;if(d===void 0){var g=(h=n.chainGet(n.anonKey))!==null&&h!==void 0?h:(p=n.legacySIO())===null||p===void 0?void 0:p[0];if(g)return g}return d===null?(n.trySet(n.anonKey,null),n.chainGet(n.anonKey)):(n.trySet(n.anonKey,d??lT()),n.chainGet(n.anonKey))},this.traits=function(d){var h,p;if(!n.options.disable)return d===null&&(d={}),d&&(n.mem.set(n.traitsKey,d??{}),n.localStorage.set(n.traitsKey,d??{})),(p=(h=n.localStorage.get(n.traitsKey))!==null&&h!==void 0?h:n.mem.get(n.traitsKey))!==null&&p!==void 0?p:{}},this.options=e,this.cookieOptions=r,this.idKey=(a=(i=e.cookie)===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:cl.cookie.key,this.traitsKey=(o=(s=e.localStorage)===null||s===void 0?void 0:s.key)!==null&&o!==void 0?o:cl.localStorage.key,this.anonKey="ajs_anonymous_id";var u=e.disable===!0,l=e.persist!==!1;this.localStorage=u||e.localStorageFallbackDisabled||!l||!AR.available()?new Wy:new AR,this.cookies=!u&&l&&$R.available()?new $R(r):new Wy,this.mem=u?new Wy:new ob;var c=this.cookies.get(cl.cookie.oldKey);c&&(c.id&&this.id(c.id),c.traits&&this.traits(c.traits)),xT(this)}return t.prototype.chainGet=function(e){var r,n,i,a=(i=(n=(r=this.localStorage.get(e))!==null&&r!==void 0?r:this.cookies.get(e))!==null&&n!==void 0?n:this.mem.get(e))!==null&&i!==void 0?i:null;return this.trySet(e,typeof a=="number"?a.toString():a)},t.prototype.trySet=function(e,r){return this.localStorage.set(e,r),this.cookies.set(e,r),this.mem.set(e,r),r},t.prototype.chainClear=function(e){this.localStorage.remove(e),this.cookies.remove(e),this.mem.remove(e)},t.prototype.legacySIO=function(){var e=this.cookies.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.chainClear(this.idKey),this.chainClear(this.anonKey),this.chainClear(this.traitsKey)},t.prototype.load=function(){return new t(this.options,this.cookieOptions)},t.prototype.save=function(){return!0},t.defaults=cl,t}(),i1e={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},a1e=function(t){ha(e,t);function e(r,n){r===void 0&&(r=i1e);var i=t.call(this,r,n)||this;return i.anonymousId=function(a){},xT(i),i}return e}(s5),ms="This is being deprecated and will be not be available in future releases of Analytics JS",Yy=a5(),Ky=Yy==null?void 0:Yy.analytics;function s1e(t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var r=t?4:1,n=e?new ab(r,[]):new sb(r,"event-queue");return new r1e(n)}function Vi(){console.warn(ms)}var o1e=function(t){ha(e,t);function e(r,n,i,a,s){var o=this,u,l,c;o=t.call(this)||this,o._debug=!1,o.initialized=!1,o.user=function(){return o._user},o.init=o.initialize.bind(o),o.log=Vi,o.addIntegrationMiddleware=Vi,o.listeners=Vi,o.addEventListener=Vi,o.removeAllListeners=Vi,o.removeListener=Vi,o.removeEventListener=Vi,o.hasListeners=Vi,o.add=Vi,o.addIntegration=Vi;var d=n==null?void 0:n.cookie,h=(u=n==null?void 0:n.disableClientPersistence)!==null&&u!==void 0?u:!1;return o.settings=r,o.settings.timeout=(l=o.settings.timeout)!==null&&l!==void 0?l:300,o.queue=i??s1e(n==null?void 0:n.retryQueue,h),o._user=a??new s5(h?ne(ne({},n==null?void 0:n.user),{persist:!1}):n==null?void 0:n.user,d).load(),o._group=s??new a1e(h?ne(ne({},n==null?void 0:n.group),{persist:!1}):n==null?void 0:n.group,d).load(),o.eventFactory=new Wwe(o._user),o.integrations=(c=n==null?void 0:n.integrations)!==null&&c!==void 0?c:{},o.options=n??{},xT(o),o}return 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,l,c=this;return le(this,function(d){return i=jye.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=this.eventFactory.track(a,s,o,this.integrations),[2,this.dispatch(l,u).then(function(h){return c.emit("track",a,h.event.properties,h.event.options),h})]})})},e.prototype.page=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,l,c,d=this;return le(this,function(h){return i=yR.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=i[4],c=this.eventFactory.page(a,s,o,u,this.integrations),[2,this.dispatch(c,l).then(function(p){return d.emit("page",a,s,p.event.properties,p.event.options),p})]})})},e.prototype.identify=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,l,c=this;return le(this,function(d){return i=wR(this._user).apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],this._user.identify(a,s),l=this.eventFactory.identify(this._user.id(),this._user.traits(),o,this.integrations),[2,this.dispatch(l,u).then(function(h){return c.emit("identify",h.event.userId,h.event.traits,h.event.options),h})]})})},e.prototype.group=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(n.length===0)return this._group;var a=wR(this._group).apply(void 0,n),s=a[0],o=a[1],u=a[2],l=a[3];this._group.identify(s,o);var c=this._group.id(),d=this._group.traits(),h=this.eventFactory.group(c,d,u,this.integrations);return this.dispatch(h,l).then(function(p){return r.emit("group",p.event.groupId,p.event.traits,p.event.options),p})},e.prototype.alias=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,l,c=this;return le(this,function(d){return i=zye.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=this.eventFactory.alias(a,s,o,this.integrations),[2,this.dispatch(l,u).then(function(h){return c.emit("alias",a,s,h.event.options),h})]})})},e.prototype.screen=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,l,c,d=this;return le(this,function(h){return i=yR.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],l=i[4],c=this.eventFactory.screen(a,s,o,u,this.integrations),[2,this.dispatch(c,l).then(function(p){return d.emit("screen",a,s,p.event.properties,p.event.options),p})]})})},e.prototype.trackClick=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return le(this,function(s){switch(s.label){case 0:return[4,Zn(()=>Promise.resolve().then(()=>Jp),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,kr([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 le(this,function(s){switch(s.label){case 0:return[4,Zn(()=>Promise.resolve().then(()=>Jp),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,kr([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 le(this,function(s){switch(s.label){case 0:return[4,Zn(()=>Promise.resolve().then(()=>Jp),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,kr([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 le(this,function(s){switch(s.label){case 0:return[4,Zn(()=>Promise.resolve().then(()=>Jp),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,kr([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 le(this,function(o){switch(o.label){case 0:return i=_i.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 le(this,function(o){switch(o.label){case 0:return i=_i.system(),a=r.map(function(u){return ue(s,void 0,void 0,function(){var l;return le(this,function(c){return l=this.queue.plugins.find(function(d){return d.name===u}),l?[2,this.queue.deregister(i,l,this)]:(i.log("warn","plugin ".concat(u," not found")),[2])})})}),[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()},e.prototype.timeout=function(r){this.settings.timeout=r},e.prototype.dispatch=function(r,n){var i;return ue(this,void 0,void 0,function(){var a,s,o,u,l;return le(this,function(c){switch(c.label){case 0:return a=new _i(r),(i=Al.triggered)===null||i===void 0||i.call(Al,a),hc()&&!this.options.retryQueue?[2,a]:(s=Date.now(),this.queue.isEmpty()?[4,this.queue.dispatchSingle(a)]:[3,2]);case 1:return o=c.sent(),[3,4];case 2:return[4,this.queue.dispatch(a)];case 3:o=c.sent(),c.label=4;case 4:return u=Date.now()-s,l=this.settings.timeout,n?[4,Vye(o,n,Math.max((l??300)-u,0),l)]:[3,6];case 5:o=c.sent(),c.label=6;case 6:return this._debug&&o.flush(),[2,o]}})})},e.prototype.addSourceMiddleware=function(r){return ue(this,void 0,void 0,function(){var n=this;return le(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 le(this,function(u){switch(u.label){case 0:return[4,Zn(()=>Promise.resolve().then(()=>b1e),void 0,import.meta.url)];case 1:return a=u.sent().sourceMiddlewarePlugin,s={},this.queue.plugins.forEach(function(l){if(l.type==="destination")return s[l.name]=!0}),o=a(r,s),[4,this.register(o)];case 2:return u.sent(),[2]}})})})];case 1:return i.sent(),[2,this]}})})},e.prototype.addDestinationMiddleware=function(r){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var a=this.queue.plugins.filter(function(s){return s.name.toLowerCase()===r.toLowerCase()});return a.forEach(function(s){s.addMiddleware.apply(s,n)}),Promise.resolve(this)},e.prototype.setAnonymousId=function(r){return this._user.anonymousId(r)},e.prototype.queryString=function(r){return ue(this,void 0,void 0,function(){var n;return le(this,function(i){switch(i.label){case 0:return[4,Zn(()=>Promise.resolve().then(()=>Z1e),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 le(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(ms),window.analytics=Ky??this,this},e.prototype.normalize=function(r){return console.warn(ms),this.eventFactory.normalize(r)},Object.defineProperty(e.prototype,"failedInitializations",{get:function(){return console.warn(ms),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"VERSION",{get:function(){return pc},enumerable:!1,configurable:!0}),e.prototype.initialize=function(r,n){return ue(this,void 0,void 0,function(){return le(this,function(i){return console.warn(ms),[2,Promise.resolve(this)]})})},e.prototype.pageview=function(r){return ue(this,void 0,void 0,function(){return le(this,function(n){switch(n.label){case 0:return console.warn(ms),[4,this.page({path:r})];case 1:return n.sent(),[2,this]}})})},Object.defineProperty(e.prototype,"plugins",{get:function(){var r;return console.warn(ms),(r=this._plugins)!==null&&r!==void 0?r:{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Integrations",{get:function(){console.warn(ms);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}(cT);function o5(){return typeof process>"u"||!process.env?{}:process.env}var u1e=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,l1e=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=u1e.exec(i);a&&a[1]&&(t=a[1])}),t},Bm,c1e=function(){var t,e=Bm??((t=window.analytics)===null||t===void 0?void 0:t._cdn);return e},d1e=function(t){window.analytics&&(window.analytics._cdn=t),Bm=t},TT=function(){var t=c1e();if(t)return t;var e=l1e();return e||"https://cdn.segment.com"},ET=function(){var t=TT();return"".concat(t,"/next-integrations")};function u5(t,e){var r,n=Object.entries((r=e.integrations)!==null&&r!==void 0?r:{}).reduce(function(i,a){var s,o,u=a[0],l=a[1];return typeof l=="object"?ne(ne({},i),(s={},s[u]=l,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))},{})}function l5(){var t=document.getElementsByTagName("link"),e="";return Array.prototype.slice.call(t).forEach(function(r){r.getAttribute("rel")==="canonical"&&(e=r.getAttribute("href"))}),e}function f1e(){var t=l5();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 h1e(t){t===void 0&&(t="");var e=l5();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 c5(){return{path:f1e(),referrer:document.referrer,search:location.search,title:document.title,url:h1e(location.search)}}function $d(t){var e,r=t.event;r.context=r.context||{};var n=c5(),i=(e=r.properties)!==null&&e!==void 0?e:{};return Object.keys(n).forEach(function(a){i[a]&&(n[a]=i[a])}),r.context.page&&(n=Object.assign({},n,r.context.page)),r.context=Object.assign({},r.context,{page:n}),t.event=r,t}var p1e={name:"Page Enrichment",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:function(t){return t.event.properties=Object.assign({},c5(),t.event.properties),t.event.name&&(t.event.properties.name=t.event.name),$d(t)},alias:$d,track:$d,identify:$d,group:$d};function d5(t){var e=Array.prototype.slice.call(window.document.querySelectorAll("script"));return e.find(function(r){return r.src===t})}function Hl(t,e){var r=d5(t);if(r!==void 0){var n=r==null?void 0:r.getAttribute("status");if(n==="loaded")return Promise.resolve(r);if(n==="loading")return new Promise(function(i,a){r.addEventListener("load",function(){return i(r)}),r.addEventListener("error",function(s){return a(s)})})}return new Promise(function(i,a){var s,o=window.document.createElement("script");o.type="text/javascript",o.src=t,o.async=!0,o.setAttribute("status","loading");for(var u=0,l=Object.entries(e??{});u<l.length;u++){var c=l[u],d=c[0],h=c[1];o.setAttribute(d,h)}o.onload=function(){o.onerror=o.onload=null,o.setAttribute("status","loaded"),i(o)},o.onerror=function(){o.onerror=o.onload=null,o.setAttribute("status","error"),a(new Error("Failed to load ".concat(t)))};var p=window.document.getElementsByTagName("script")[0];(s=p.parentElement)===null||s===void 0||s.insertBefore(o,p)})}function m1e(t){var e=d5(t);return e!==void 0&&e.remove(),Promise.resolve()}function PT(t,e){var r=new Pn.Facade(t,e);return t.type==="track"&&(r=new Pn.Track(t,e)),t.type==="identify"&&(r=new Pn.Identify(t,e)),t.type==="page"&&(r=new Pn.Page(t,e)),t.type==="alias"&&(r=new Pn.Alias(t,e)),t.type==="group"&&(r=new Pn.Group(t,e)),t.type==="screen"&&(r=new Pn.Screen(t,e)),Object.defineProperty(r,"obj",{value:t,writable:!0}),r}var v1e=function(t){return JSON.parse(JSON.stringify(t))};function CT(t,e,r){return ue(this,void 0,void 0,function(){function n(l,c){return ue(this,void 0,void 0,function(){var d,h,p;return le(this,function(g){switch(g.label){case 0:return d=!1,h=null,[4,Eh(c({payload:PT(l,{clone:!0,traverse:!1}),integration:t,next:function(_){d=!0,_===null&&(h=null),_&&(h=_.obj)}}))];case 1:return g.sent(),!d&&h!==null&&(h=h,h.integrations=ne(ne({},l.integrations),(p={},p[t]=!1,p))),[2,h]}})})}var i,a,s,o,u;return le(this,function(l){switch(l.label){case 0:i=v1e(e),a=0,s=r,l.label=1;case 1:return a<s.length?(o=s[a],[4,n(i,o)]):[3,4];case 2:if(u=l.sent(),u===null)return[2,null];i=u,l.label=3;case 3:return a++,[3,1];case 4:return[2,i]}})})}function g1e(t,e){function r(n){return ue(this,void 0,void 0,function(){var i;return le(this,function(a){switch(a.label){case 0:return i=!1,[4,Eh(t({payload:PT(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 Ka({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 b1e=Object.freeze(Object.defineProperty({__proto__:null,applyDestinationMiddleware:CT,sourceMiddlewarePlugin:g1e},Symbol.toStringTag,{value:"Module"}));var _1e=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];(e=this.middleware).push.apply(e,r)},t.prototype.transform=function(e){return ue(this,void 0,void 0,function(){var r;return le(this,function(n){switch(n.label){case 0:return[4,CT(this.name,e.event,this.middleware)];case 1:return r=n.sent(),r===null&&e.cancel(new Ka({retry:!1,reason:"dropped by destination middleware"})),[2,new _i(r)]}})})},t.prototype._createMethod=function(e){var r=this;return function(n){return ue(r,void 0,void 0,function(){var i;return le(this,function(a){switch(a.label){case 0:return this.action[e]?[4,this.transform(n)]:[2,n];case 1:return i=a.sent(),[4,this.action[e](i)];case 2: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 y1e(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 w1e(t,e,r,n,i){var a,s,o;return ue(this,void 0,void 0,function(){var u,l,c,d,h=this;return le(this,function(p){switch(p.label){case 0:return u=[],l=TT(),c=(s=(a=t.middlewareSettings)===null||a===void 0?void 0:a.routingRules)!==null&&s!==void 0?s:[],d=((o=t.remotePlugins)!==null&&o!==void 0?o:[]).map(function(g){return ue(h,void 0,void 0,function(){var _,O,S,E,x,f,m,v,T;return le(this,function(P){switch(P.label){case 0:if(e.All===!1&&!e[g.name]||e[g.name]===!1)return[2];P.label=1;case 1:if(P.trys.push([1,12,,13]),!n)return[3,7];_=g.url.split("/"),O=_[_.length-2],S=g.url.replace(O,btoa(O).replace(/=/g,"")),P.label=2;case 2:return P.trys.push([2,4,,6]),[4,Hl(S.replace("https://cdn.segment.com",l))];case 3:return P.sent(),[3,6];case 4:return P.sent(),[4,Hl(g.url.replace("https://cdn.segment.com",l))];case 5:return P.sent(),[3,6];case 6:return[3,9];case 7:return[4,Hl(g.url.replace("https://cdn.segment.com",l))];case 8:P.sent(),P.label=9;case 9:return E=g.libraryName,typeof window[E]!="function"?[3,11]:(x=window[E],[4,Eh(x(ne(ne({},g.settings),r[g.name])))]);case 10:f=P.sent(),m=Array.isArray(f)?f:[f],y1e(m),v=c.filter(function(k){return k.destinationName===g.creationName}),m.forEach(function(k){var y=new _1e(g.creationName,k);v.length&&i&&k.type==="destination"&&y.addMiddleware(i),u.push(y)}),P.label=11;case 11:return[3,13];case 12:return T=P.sent(),console.warn("Failed to load Remote Plugin",T),[3,13];case 13:return[2]}})})}),[4,Promise.all(d)];case 1:return p.sent(),[2,u.filter(Boolean)]}})})}var O1e=function(t){var e=!1;document.addEventListener("pagehide",function(){e||(e=!0,t())}),document.addEventListener("visibilitychange",function(){if(document.visibilityState=="hidden"){if(e)return;e=!0,t()}else e=!1})},f5=$c;typeof window<"u"&&(f5=window.fetch||$c);var S1e=500;function h5(t){var e=encodeURI(JSON.stringify(t)).split(/%..|./).length-1;return e/1024}function x1e(t){return h5(t)>=S1e-50}function T1e(t){var e=[],r=0;return t.forEach(function(n){var i=h5(e[r]);i>=64&&r++,e[r]?e[r].push(n):e[r]=[n]}),e}function E1e(t,e){var r,n,i=[],a=!1,s=(r=e==null?void 0:e.size)!==null&&r!==void 0?r:10,o=(n=e==null?void 0:e.timeout)!==null&&n!==void 0?n:5e3;function u(p){var g;if(p.length!==0){var _=(g=p[0])===null||g===void 0?void 0:g.writeKey;return f5("https://".concat(t,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({batch:p,writeKey:_})})}}function l(){return ue(this,void 0,void 0,function(){var p;return le(this,function(g){return i.length?(p=i,i=[],[2,u(p)]):[2]})})}var c;function d(){c||(c=setTimeout(function(){c=void 0,l().catch(console.error)},o))}O1e(function(){if(a=!0,i.length){var p=T1e(i).map(u);Promise.all(p).catch(console.error)}});function h(p,g){return ue(this,void 0,void 0,function(){var _;return le(this,function(O){return i.push(g),_=i.length>=s||x1e(i),[2,_||a?l():d()]})})}return{dispatch:h}}var p5=$c;typeof window<"u"&&(p5=window.fetch||$c);function P1e(){function t(e,r){return p5(e,{headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(r)})}return{dispatch:t}}var m5=function(t,e){return ue(void 0,void 0,void 0,function(){var r;return le(this,function(n){return r=function(i){return ue(void 0,void 0,void 0,function(){var a;return le(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 C1e(t,e){return ue(this,void 0,void 0,function(){var r,n=this;return le(this,function(i){switch(i.label){case 0:return r=[],hc()?[2,e]:[4,m5(function(){return e.length>0&&!hc()},function(){return ue(n,void 0,void 0,function(){var a,s,o;return le(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,zl(a,t)]:[2];case 1:return s=u.sent(),o=s instanceof _i,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}function Zp(t,e,r,n){var i=this;t||setTimeout(function(){return ue(i,void 0,void 0,function(){var a,s;return le(this,function(o){switch(o.label){case 0:return a=!0,[4,C1e(r,e)];case 1:return s=o.sent(),a=!1,e.todo>0&&n(a,s,r,n),[2]}})})},Math.random()*5e3)}function $1e(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 A1e(t,e,r){var n,i,a,s,o=t.options.disableClientPersistence?new ab(t.queue.queue.maxAttempts,[]):new sb(t.queue.queue.maxAttempts,"dest-Segment.io"),u=!1,l=(n=e==null?void 0:e.apiHost)!==null&&n!==void 0?n:"api.segment.io/v1",c=(i=e==null?void 0:e.protocol)!==null&&i!==void 0?i:"https",d="".concat(c,"://").concat(l),h=((a=e==null?void 0:e.deliveryStrategy)===null||a===void 0?void 0:a.strategy)==="batching"?E1e(l,(s=e==null?void 0:e.deliveryStrategy)===null||s===void 0?void 0:s.config):P1e();function p(_){return ue(this,void 0,void 0,function(){var O,S;return le(this,function(E){return hc()?(o.push(_),Zp(u,o,g,Zp),[2,_]):(O=_.event.type.charAt(0),S=PT(_.event).json(),_.event.type==="track"&&delete S.traits,_.event.type==="alias"&&(S=$1e(t,S)),[2,h.dispatch("".concat(d,"/").concat(O),iwe(t,S,e,r)).then(function(){return _}).catch(function(x){return(x.type==="error"||x.message==="Failed to fetch")&&(o.push(_),Zp(u,o,g,Zp)),_})])})})}var g={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:p,identify:p,page:p,alias:p,group:p};return g}var v5=function(t,e,r){r.getCalls(t).forEach(function(n){$T(e,n).catch(console.error)})},M1e=function(t,e){return ue(void 0,void 0,void 0,function(){var r,n,i;return le(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,$T(t,i).catch(console.error)]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},k1e=v5.bind(globalThis,"on"),D1e=v5.bind(globalThis,"setAnonymousId"),R1e=function(t,e){e.toArray().forEach(function(r){setTimeout(function(){$T(t,r).catch(console.error)},0)})},I1e=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 $T(t,e){return ue(this,void 0,void 0,function(){var r,n;return le(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),i5(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 L1e=function(){function t(e){var r=this;this._preInitBuffer=new I1e,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=pc,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 N1e(t){var e=t[0],r=t.slice(1);return{method:e,resolve:function(){},reject:console.error,args:r,called:!1}}var B1e=function(t){return t.map(N1e)},bO=function(){var t=window.analytics;if(!Array.isArray(t))return[];var e=t.splice(0,t.length);return B1e(e)};function F1e(t,e){var r=e??TT();return $c("".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 j1e(t){return o5().NODE_ENV!=="test"&&Object.keys(t.integrations).length>1}function z1e(t){var e,r,n;return o5().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 H1e(t,e){e.push.apply(e,bO()),D1e(t,e),k1e(t,e)}function V1e(t,e){return ue(this,void 0,void 0,function(){return le(this,function(r){switch(r.label){case 0:return e.push.apply(e,bO()),[4,M1e(t,e)];case 1:return r.sent(),e.push.apply(e,bO()),R1e(t,e),e.clear(),[2]}})})}function U1e(t,e,r,n,i){var a,s,o;return ue(this,void 0,void 0,function(){var u,l,c,d,h,p,g,_,O,S,E,x=this;return le(this,function(f){switch(f.label){case 0:return z1e(t)?[4,Zn(()=>Promise.resolve().then(()=>FEe),void 0,import.meta.url).then(function(m){return m.tsubMiddleware(t.middlewareSettings.routingRules)})]:[3,2];case 1:return l=f.sent(),[3,3];case 2:l=void 0,f.label=3;case 3:return u=l,j1e(t)?[4,Zn(()=>Promise.resolve().then(()=>WEe),void 0,import.meta.url).then(function(m){return m.ajsDestinations(t,e.integrations,r,u)})]:[3,5];case 4:return d=f.sent(),[3,6];case 5:d=[],f.label=6;case 6:return c=d,t.legacyVideoPluginsEnabled?[4,Zn(()=>Promise.resolve().then(()=>KEe),void 0,import.meta.url).then(function(m){return m.loadLegacyVideoPlugins(e)})]:[3,8];case 7:f.sent(),f.label=8;case 8:return!((a=r.plan)===null||a===void 0)&&a.track?[4,Zn(()=>Promise.resolve().then(()=>ZEe),void 0,import.meta.url).then(function(m){var v;return m.schemaFilter((v=r.plan)===null||v===void 0?void 0:v.track,t)})]:[3,10];case 9:return p=f.sent(),[3,11];case 10:p=void 0,f.label=11;case 11:return h=p,g=u5(t,n),[4,w1e(t,e.integrations,g,n.obfuscate,u).catch(function(){return[]})];case 12:return _=f.sent(),O=kr(kr(kr([Fye,p1e],i,!0),c,!0),_,!0),h&&O.push(h),S=((s=r.integrations)===null||s===void 0?void 0:s.All)===!1&&!r.integrations["Segment.io"]||r.integrations&&r.integrations["Segment.io"]===!1,S||O.push(A1e(e,g["Segment.io"],t.integrations)),[4,e.register.apply(e,O)];case 13:return E=f.sent(),Object.entries((o=t.enabledMiddleware)!==null&&o!==void 0?o:{}).some(function(m){var v=m[1];return v})?[4,Zn(()=>Promise.resolve().then(()=>QEe),void 0,import.meta.url).then(function(m){var v=m.remoteMiddlewares;return ue(x,void 0,void 0,function(){var T,P;return le(this,function(k){switch(k.label){case 0:return[4,v(E,t,n.obfuscate)];case 1:return T=k.sent(),P=T.map(function(y){return e.addSourceMiddleware(y)}),[2,Promise.all(P)]}})})})]:[3,15];case 14:f.sent(),f.label=15;case 15:return[2,E]}})})}function G1e(t,e,r){var n,i,a,s,o,u;return e===void 0&&(e={}),ue(this,void 0,void 0,function(){var l,c,d,h,p,g,_,O,S,E;return le(this,function(x){switch(x.label){case 0:return t.cdnURL&&d1e(t.cdnURL),(n=t.cdnSettings)!==null&&n!==void 0?(c=n,[3,3]):[3,1];case 1:return[4,F1e(t.writeKey,t.cdnURL)];case 2:c=x.sent(),x.label=3;case 3:return l=c,d=(a=(i=l.integrations["Segment.io"])===null||i===void 0?void 0:i.retryQueue)!==null&&a!==void 0?a:!0,h=ne({retryQueue:d},e),p=new o1e(t,h),g=(s=t.plugins)!==null&&s!==void 0?s:[],_i.initMetrics(l.metrics),H1e(p,r),[4,U1e(l,p,h,e,g)];case 4:return _=x.sent(),O=(o=window.location.search)!==null&&o!==void 0?o:"",S=(u=window.location.hash)!==null&&u!==void 0?u:"",E=O.length?O:S.replace(/(?=#).*(?=\?)/,""),E.includes("ajs_")?[4,p.queryString(E).catch(console.error)]:[3,6];case 5:x.sent(),x.label=6;case 6:return p.initialized=!0,p.emit("initialize",t,e),e.initialPageview&&p.page().catch(console.error),[4,V1e(p,r)];case 7:return x.sent(),[2,[p,_]]}})})}var EPe=function(t){ha(e,t);function e(r){return t.call(this,r)||this}return e.load=function(r,n){return n===void 0&&(n={}),new this(function(i){return G1e(r,n,i)})},e.standalone=function(r,n){return e.load({writeKey:r},n).then(function(i){return i[0]})},e}(L1e);function W1e(t){var e=t;return!!(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&e.button==1)}function Y1e(t,e){return!!(t.target==="_blank"&&e)}function K1e(t,e,r,n){var i=this,a=[];return t?(t instanceof Element?a=[t]:"toArray"in t?a=t.toArray():a=t,a.forEach(function(s){s.addEventListener("click",function(o){var u,l,c=e instanceof Function?e(s):e,d=r instanceof Function?r(s):r,h=s.getAttribute("href")||s.getAttributeNS("http://www.w3.org/1999/xlink","href")||s.getAttribute("xlink:href")||((u=s.getElementsByTagName("a")[0])===null||u===void 0?void 0:u.getAttribute("href")),p=sT(i.track(c,d,n??{}),(l=i.settings.timeout)!==null&&l!==void 0?l:500);!Y1e(s,h)&&!W1e(o)&&h&&(o.preventDefault?o.preventDefault():o.returnValue=!1,p.catch(console.error).then(function(){window.location.href=h}).catch(console.error))},!1)}),this):this}function q1e(t,e,r,n){var i=this;if(!t)return this;t instanceof HTMLFormElement&&(t=[t]);var a=t;return a.forEach(function(s){if(!(s instanceof Element))throw new TypeError("Must pass HTMLElement to trackForm/trackSubmit.");var o=function(l){var c;l.preventDefault?l.preventDefault():l.returnValue=!1;var d=e instanceof Function?e(s):e,h=r instanceof Function?r(s):r,p=sT(i.track(d,h,n??{}),(c=i.settings.timeout)!==null&&c!==void 0?c:500);p.catch(console.error).then(function(){s.submit()}).catch(console.error)},u=window.jQuery||window.Zepto;u?u(s).submit(o):s.addEventListener("submit",o,!1)}),this}const Jp=Object.freeze(Object.defineProperty({__proto__:null,form:q1e,link:K1e},Symbol.toStringTag,{value:"Module"}));function MR(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 X1e(t,e){var r=document.createElement("a");r.href=e;var n=r.search.slice(1),i=n.split("&").reduce(function(g,_){var O=_.split("="),S=O[0],E=O[1];return g[S]=H6(E),g},{}),a=[],s=i.ajs_uid,o=i.ajs_event,u=i.ajs_aid;if(u){var l=Array.isArray(i.ajs_aid)?i.ajs_aid[0]:i.ajs_aid;t.setAnonymousId(l)}if(s){var c=Array.isArray(i.ajs_uid)?i.ajs_uid[0]:i.ajs_uid,d=MR("ajs_trait_",i);a.push(t.identify(c,d))}if(o){var h=Array.isArray(i.ajs_event)?i.ajs_event[0]:i.ajs_event,p=MR("ajs_prop_",i);a.push(t.track(h,p))}return Promise.all(a)}const Z1e=Object.freeze(Object.defineProperty({__proto__:null,queryString:X1e},Symbol.toStringTag,{value:"Module"}));var Fm={},AT={};for(var g5=[],Lo=0;Lo<64;)g5[Lo]=0|4294967296*Math.sin(++Lo%Math.PI);function J1e(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(Lo=s=0;Lo<t;Lo+=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]+g5[s]+~~a[Lo|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 Q1e=Object.freeze(Object.defineProperty({__proto__:null,default:J1e},Symbol.toStringTag,{value:"Module"})),eOe=Rne(Q1e);var b5={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}})()})(b5);var MT=b5.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 tOe=Number.POSITIVE_INFINITY,_5=tOe;/**
* @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 rOe=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 nOe=rOe,iOe=nOe;/**
* @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 aOe=iOe,sOe=aOe.NEGATIVE_INFINITY,y5=sOe;/**
* @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 oOe=1023,w5=oOe;/**
* @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 uOe=1023,lOe=uOe;/**
* @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 cOe=-1023,dOe=cOe;/**
* @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 fOe=-1074,hOe=fOe;/**
* @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 pOe(t){return t!==t}var mOe=pOe;/**
* @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 vOe=mOe,O5=vOe;/**
* @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 gOe=_5,bOe=y5;function _Oe(t){return t===gOe||t===bOe}var yOe=_Oe;/**
* @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 wOe=yOe,S5=wOe;/**
* @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 OOe(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}var SOe=OOe;/**
* @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 xOe=SOe,TOe=xOe;/**
* @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 EOe=TOe,POe=EOe();function COe(){return POe&&typeof Symbol.toStringTag=="symbol"}var $Oe=COe;/**
* @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 AOe=$Oe,MOe=AOe;/**
* @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 kOe=Object.prototype.toString,x5=kOe;/**
* @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 DOe=x5;function ROe(t){return DOe.call(t)}var IOe=ROe;/**
* @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 LOe=Object.prototype.hasOwnProperty;function NOe(t,e){return t==null?!1:LOe.call(t,e)}var BOe=NOe;/**
* @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 FOe=BOe,jOe=FOe;/**
* @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 zOe=typeof Symbol=="function"?Symbol.toStringTag:"",HOe=zOe;/**
* @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 VOe=jOe,Ad=HOe,qy=x5;function UOe(t){var e,r,n;if(t==null)return qy.call(t);r=t[Ad],e=VOe(t,Ad);try{t[Ad]=void 0}catch{return qy.call(t)}return n=qy.call(t),e?t[Ad]=r:delete t[Ad],n}var GOe=UOe;/**
* @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 WOe=MOe,YOe=IOe,KOe=GOe,_O;WOe()?_O=KOe:_O=YOe;var ub=_O;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var qOe=ub,XOe=typeof Uint32Array=="function";function ZOe(t){return XOe&&t instanceof Uint32Array||qOe(t)==="[object Uint32Array]"}var JOe=ZOe;/**
* @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 QOe=JOe,eSe=QOe;/**
* @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 tSe=4294967295,rSe=tSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var nSe=typeof Uint32Array=="function"?Uint32Array:null,iSe=nSe;/**
* @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 aSe=eSe,Xy=rSe,kR=iSe;function sSe(){var t,e;if(typeof kR!="function")return!1;try{e=[1,3.14,-3.14,Xy+1,Xy+2],e=new kR(e),t=aSe(e)&&e[0]===1&&e[1]===3&&e[2]===Xy-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var oSe=sSe;/**
* @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 uSe=oSe,lSe=uSe;/**
* @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 cSe=typeof Uint32Array=="function"?Uint32Array:void 0,dSe=cSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function fSe(){throw new Error("not implemented")}var hSe=fSe;/**
* @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 pSe=lSe,mSe=dSe,vSe=hSe,yO;pSe()?yO=mSe:yO=vSe;var kT=yO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var gSe=ub,bSe=typeof Float64Array=="function";function _Se(t){return bSe&&t instanceof Float64Array||gSe(t)==="[object Float64Array]"}var ySe=_Se;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var wSe=ySe,OSe=wSe;/**
* @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 SSe=typeof Float64Array=="function"?Float64Array:null,xSe=SSe;/**
* @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 TSe=OSe,DR=xSe;function ESe(){var t,e;if(typeof DR!="function")return!1;try{e=new DR([1,3.14,-3.14,NaN]),t=TSe(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{t=!1}return t}var PSe=ESe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var CSe=PSe,$Se=CSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ASe=typeof Float64Array=="function"?Float64Array:void 0,MSe=ASe;/**
* @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 kSe(){throw new Error("not implemented")}var DSe=kSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var RSe=$Se,ISe=MSe,LSe=DSe,wO;RSe()?wO=ISe:wO=LSe;var DT=wO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var NSe=ub,BSe=typeof Uint8Array=="function";function FSe(t){return BSe&&t instanceof Uint8Array||NSe(t)==="[object Uint8Array]"}var jSe=FSe;/**
* @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 zSe=jSe,HSe=zSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var VSe=255,USe=VSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var GSe=typeof Uint8Array=="function"?Uint8Array:null,WSe=GSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var YSe=HSe,Zy=USe,RR=WSe;function KSe(){var t,e;if(typeof RR!="function")return!1;try{e=[1,3.14,-3.14,Zy+1,Zy+2],e=new RR(e),t=YSe(e)&&e[0]===1&&e[1]===3&&e[2]===Zy-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var qSe=KSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var XSe=qSe,ZSe=XSe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var JSe=typeof Uint8Array=="function"?Uint8Array:void 0,QSe=JSe;/**
* @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 exe(){throw new Error("not implemented")}var txe=exe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var rxe=ZSe,nxe=QSe,ixe=txe,OO;rxe()?OO=nxe:OO=ixe;var axe=OO;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var sxe=ub,oxe=typeof Uint16Array=="function";function uxe(t){return oxe&&t instanceof Uint16Array||sxe(t)==="[object Uint16Array]"}var lxe=uxe;/**
* @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 cxe=lxe,dxe=cxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var fxe=65535,hxe=fxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var pxe=typeof Uint16Array=="function"?Uint16Array:null,mxe=pxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var vxe=dxe,Jy=hxe,IR=mxe;function gxe(){var t,e;if(typeof IR!="function")return!1;try{e=[1,3.14,-3.14,Jy+1,Jy+2],e=new IR(e),t=vxe(e)&&e[0]===1&&e[1]===3&&e[2]===Jy-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var bxe=gxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var _xe=bxe,yxe=_xe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var wxe=typeof Uint16Array=="function"?Uint16Array:void 0,Oxe=wxe;/**
* @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 Sxe(){throw new Error("not implemented")}var xxe=Sxe;/**
* @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 Txe=yxe,Exe=Oxe,Pxe=xxe,SO;Txe()?SO=Exe:SO=Pxe;var Cxe=SO;/**
* @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 $xe=axe,Axe=Cxe,Mxe={uint16:Axe,uint8:$xe},kxe=Mxe;/**
* @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 LR=kxe,T5;function Dxe(){var t,e;return t=new LR.uint16(1),t[0]=4660,e=new LR.uint8(t.buffer),e[0]===52}T5=Dxe();var Rxe=T5;/**
* @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 Ixe=Rxe,RT=Ixe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Lxe=RT,E5,xO,TO;Lxe===!0?(xO=1,TO=0):(xO=0,TO=1);E5={HIGH:xO,LOW:TO};var Nxe=E5;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Bxe=kT,Fxe=DT,P5=Nxe,C5=new Fxe(1),NR=new Bxe(C5.buffer),jxe=P5.HIGH,zxe=P5.LOW;function Hxe(t,e){return C5[0]=e,t[0]=NR[jxe],t[1]=NR[zxe],t}var Vxe=Hxe;/**
* @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 BR=Vxe;function Uxe(t,e){return arguments.length===1?BR([0,0],t):BR(t,e)}var Gxe=Uxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Wxe=Gxe,$5=Wxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var Yxe=RT,EO;Yxe===!0?EO=1:EO=0;var Kxe=EO;/**
* @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 qxe=kT,Xxe=DT,Zxe=Kxe,A5=new Xxe(1),Jxe=new qxe(A5.buffer);function Qxe(t){return A5[0]=t,Jxe[Zxe]}var eTe=Qxe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var tTe=eTe,M5=tTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var rTe=RT,k5,PO,CO;rTe===!0?(PO=1,CO=0):(PO=0,CO=1);k5={HIGH:PO,LOW:CO};var nTe=k5;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var iTe=kT,aTe=DT,D5=nTe,R5=new aTe(1),FR=new iTe(R5.buffer),sTe=D5.HIGH,oTe=D5.LOW;function uTe(t,e){return FR[sTe]=t,FR[oTe]=e,R5[0]}var lTe=uTe;/**
* @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 cTe=lTe,I5=cTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var dTe=$5,fTe=M5,hTe=I5,pTe=2147483648,mTe=2147483647,Qy=[0,0];function vTe(t,e){var r,n;return dTe(Qy,t),r=Qy[0],r&=mTe,n=fTe(e),n&=pTe,r|=n,hTe(r,Qy[1])}var gTe=vTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var bTe=gTe,_Te=bTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var yTe=22250738585072014e-324,wTe=yTe;/**
* @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 OTe(t){return Math.abs(t)}var STe=OTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var xTe=STe,TTe=xTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ETe=wTe,PTe=S5,CTe=O5,$Te=TTe,ATe=4503599627370496;function MTe(t,e){return CTe(e)||PTe(e)?(t[0]=e,t[1]=0,t):e!==0&&$Te(e)<ETe?(t[0]=e*ATe,t[1]=-52,t):(t[0]=e,t[1]=0,t)}var kTe=MTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var jR=kTe;function DTe(t,e){return arguments.length===1?jR([0,0],t):jR(t,e)}var RTe=DTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var ITe=RTe,LTe=ITe;/**
* @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 NTe=2146435072,BTe=NTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var FTe=M5,jTe=BTe,zTe=w5;function HTe(t){var e=FTe(t);return e=(e&jTe)>>>20,e-zTe|0}var VTe=HTe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var UTe=VTe,GTe=UTe;/**
* @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 WTe=_5,YTe=y5,KTe=w5,qTe=lOe,XTe=dOe,ZTe=hOe,JTe=O5,QTe=S5,eEe=_Te,tEe=LTe,rEe=GTe,nEe=$5,iEe=I5,aEe=2220446049250313e-31,sEe=2148532223,ew=[0,0],tw=[0,0];function oEe(t,e){var r,n;return t===0||JTe(t)||QTe(t)?t:(tEe(ew,t),t=ew[0],e+=ew[1],e+=rEe(t),e<ZTe?eEe(0,t):e>qTe?t<0?YTe:WTe:(e<=XTe?(e+=52,n=aEe):n=1,nEe(tw,t),r=tw[0],r&=sEe,r|=e+KTe<<20,n*iEe(r,tw[1])))}var uEe=oEe;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var lEe=uEe,cEe=lEe,L5={};function dEe(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(".")?{}:[]}L5.dset=dEe;var lb={},fEe=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lb,"__esModule",{value:!0});lb.unset=void 0;var hEe=fEe(MT);function pEe(t,e){if((0,hEe.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}lb.unset=pEe;var IT=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(AT,"__esModule",{value:!0});var mEe=IT(eOe),No=IT(MT),vEe=IT(cEe),Md=L5,gEe=lb;function bEe(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":_Ee(r,a.config);break;case"allow_properties":yEe(r,a.config);break;case"sample_event":if(OEe(r,a.config))break;return null;case"map_properties":wEe(r,a.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(a.type,'" is unsupported.'))}}return r}AT.default=bEe;function _Ee(t,e){for(var r in e.drop)if(e.drop.hasOwnProperty(r)){var n=r===""?t:(0,No.default)(t,r);if(!(typeof n!="object"||n===null))for(var i=0,a=e.drop[r];i<a.length;i++){var s=a[i];delete n[s]}}}function yEe(t,e){for(var r in e.allow)if(e.allow.hasOwnProperty(r)){var n=r===""?t:(0,No.default)(t,r);if(!(typeof n!="object"||n===null))for(var i in n)n.hasOwnProperty(i)&&e.allow[r].indexOf(i)===-1&&delete n[i]}}function wEe(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,No.default)(r,a.join("."))):s=t,typeof s=="object"){if(i.copy){var o=(0,No.default)(r,i.copy);o!==void 0&&(0,Md.dset)(t,n,o)}else if(i.move){var u=(0,No.default)(r,i.move);u!==void 0&&(0,Md.dset)(t,n,u),(0,gEe.unset)(t,i.move)}else i.hasOwnProperty("set")&&(0,Md.dset)(t,n,i.set);if(i.to_string){var l=(0,No.default)(t,n);if(typeof l=="string"||typeof l=="object"&&l!==null)continue;l!==void 0?(0,Md.dset)(t,n,JSON.stringify(l)):(0,Md.dset)(t,n,"undefined")}}}}function OEe(t,e){return e.sample.percent<=0?!1:e.sample.percent>=1?!0:e.sample.path?xEe(t,e):SEe(e.sample.percent)}function SEe(t){return Math.random()<=t}function xEe(t,e){var r=(0,No.default)(t,e.sample.path),n=(0,mEe.default)(JSON.stringify(r)),i=-64,a=[];zR(n.slice(0,8),a);for(var s=0,o=0;o<64&&a[o]!==1;o++)s++;if(s!==0){var u=[];zR(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,vEe.default)(parseInt(a.join(""),2),i)<e.sample.percent}function zR(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 LT={},TEe=we&&we.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(LT,"__esModule",{value:!0});var EEe=TEe(MT);function PEe(t,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return CEe();case"fql":return $Ee(e.ir,t);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}}LT.default=PEe;function CEe(){return!0}function $Ee(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=Bs(t,e);return typeof r!="boolean"?!1:r}function Bs(t,e){if(!Array.isArray(t))return Gn(t,e)===!0;var r=t[0];switch(r){case"!":return!Bs(t[1],e);case"or":for(var n=1;n<t.length;n++)if(Bs(t[n],e))return!0;return!1;case"and":for(var n=1;n<t.length;n++)if(!Bs(t[n],e))return!1;return!0;case"=":case"!=":return MEe(Gn(t[1],e),Gn(t[2],e),r,e);case"<=":case"<":case">":case">=":return AEe(Gn(t[1],e),Gn(t[2],e),r,e);case"contains":return kEe(Gn(t[1],e),Gn(t[2],e));case"match":return DEe(Gn(t[1],e),Gn(t[2],e));case"lowercase":var i=Gn(t[1],e);return typeof i!="string"?null:i.toLowerCase();case"typeof":return typeof Gn(t[1],e);case"length":return REe(Gn(t[1],e));default:throw new Error("FQL IR could not evaluate for token: ".concat(r))}}function Gn(t,e){return Array.isArray(t)?t:typeof t=="object"?t.value:(0,EEe.default)(e,t)}function AEe(t,e,r,n){if(yg(t)&&(t=Bs(t,n)),yg(e)&&(e=Bs(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 MEe(t,e,r,n){switch(yg(t)&&(t=Bs(t,n)),yg(e)&&(e=Bs(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 kEe(t,e){return typeof t!="string"||typeof e!="string"?!1:t.indexOf(e)!==-1}function DEe(t,e){return typeof t!="string"||typeof e!="string"?!1:IEe(e,t)}function REe(t){return t===null?0:!Array.isArray(t)&&typeof t!="string"?NaN:t.length}function yg(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 IEe(t,e){var r,n;e:for(;t.length>0;){var i=void 0,a=void 0;if(r=LEe(t),i=r.star,a=r.chunk,t=r.pattern,i&&a==="")return!0;var s=HR(a,e),o=s.t,u=s.ok,l=s.err;if(l)return!1;if(u&&(o.length===0||t.length>0)){e=o;continue}if(i)for(var c=0;c<e.length;c++){if(n=HR(a,e.slice(c+1)),o=n.t,u=n.ok,l=n.err,u){if(t.length===0&&o.length>0)continue;e=o;continue e}if(l)return!1}return!1}return e.length===0}function LEe(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 HR(t,e){for(var r,n,i={t:"",ok:!1,err:!1};t.length>0;){if(e.length===0)return i;switch(t[0]){case"[":var a=e[0];e=e.slice(1),t=t.slice(1);var s=!0;t.length>0&&t[0]==="^"&&(s=!1,t=t.slice(1));for(var o=!1,u=0;;){if(t.length>0&&t[0]==="]"&&u>0){t=t.slice(1);break}var l="",c="",d=void 0;if(r=VR(t),l=r.char,t=r.newChunk,d=r.err,d||(c=l,t[0]==="-"&&(n=VR(t.slice(1)),c=n.char,t=n.newChunk,d=n.err,d)))return i;l<=a&&a<=c&&(o=!0),u++}if(o!==s)return i;break;case"?":e=e.slice(1),t=t.slice(1);break;case"\\":if(t=t.slice(1),t.length===0)return i.err=!0,i;default:if(t[0]!==e[0])return i;e=e.slice(1),t=t.slice(1)}}return i.t=e,i.ok=!0,i.err=!1,i}function VR(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 NT={};Object.defineProperty(NT,"__esModule",{value:!0});var NEe=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}();NT.default=NEe;(function(t){var e=we&&we.__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=AT;Object.defineProperty(t,"transform",{enumerable:!0,get:function(){return e(r).default}});var n=LT;Object.defineProperty(t,"matches",{enumerable:!0,get:function(){return e(n).default}});var i=NT;Object.defineProperty(t,"Store",{enumerable:!0,get:function(){return e(i).default}})})(Fm);var BEe=function(t){return function(e){var r=e.payload,n=e.integration,i=e.next,a=new Fm.Store(t),s=a.getRulesByDestinationName(n);s.forEach(function(o){for(var u=o.matchers,l=o.transformers,c=0;c<u.length;c++)if(Fm.matches(r.obj,u[c])&&(r.obj=Fm.transform(r.obj,l[c]),r.obj===null))return i(null)}),i(r)}};const FEe=Object.freeze(Object.defineProperty({__proto__:null,tsubMiddleware:BEe},Symbol.toStringTag,{value:"Module"}));function N5(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 B5(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function F5(t,e){return e===void 0&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}function jEe(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),kr([r],a.duration<100?["cached"]:[],!0))}catch{}}function zEe(t,e,r,n,i,a){return ue(this,void 0,void 0,function(){var s,o,u,l,c,d,h,p,g;return le(this,function(_){switch(_.label){case 0:s=B5(r),o=F5(s,a),u=ET(),l="".concat(u,"/integrations/").concat(o??s,"/").concat(n,"/").concat(o??s,".dynamic.js.gz"),_.label=1;case 1:return _.trys.push([1,3,,4]),[4,Hl(l)];case 2:return _.sent(),jEe(l,t,r),[3,4];case 3:throw c=_.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(r),"failed"]),c;case 4:return d=window["".concat(s,"Deps")],[4,Promise.all(d.map(function(O){return Hl(u+O+".gz")}))];case 5:return _.sent(),window["".concat(s,"Loader")](),h=window["".concat(s,"Integration")],h.Integration&&(p={user:function(){return e.user()},addIntegration:function(){}},h(p),h=h.Integration),g=new h(i),g.analytics=e,[2,g]}})})}function HEe(t,e,r){return ue(this,void 0,void 0,function(){var n,i,a,s;return le(this,function(o){return n=ET(),i=B5(t),a=F5(t,r),s="".concat(n,"/integrations/").concat(a??i,"/").concat(e,"/").concat(a??i,".dynamic.js.gz"),[2,m1e(s)]})})}function VEe(t){var e,r,n,i;return(i=(r=(e=t.versionSettings)===null||e===void 0?void 0:e.override)!==null&&r!==void 0?r:(n=t.versionSettings)===null||n===void 0?void 0:n.version)!==null&&i!==void 0?i:"latest"}function UEe(t,e){return ue(this,void 0,void 0,function(){var r,n=this;return le(this,function(i){switch(i.label){case 0:return r=[],hc()?[2,e]:[4,m5(function(){return e.length>0&&uT()},function(){return ue(n,void 0,void 0,function(){var a,s,o;return le(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,zl(a,t)]:[2];case 1:return s=u.sent(),o=s instanceof _i,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}var j5=function(){function t(e,r,n,i){n===void 0&&(n={}),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({},n),this.settings.type&&this.settings.type==="browser"&&delete this.settings.type,this.options=i,this.buffer=i.disableClientPersistence?new ab(4,[]):new sb(4,"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){return ue(this,void 0,void 0,function(){var n,i=this;return le(this,function(a){switch(a.label){case 0:return this._ready||this.onReady!==void 0?[2]:(n=this,[4,zEe(e,r,this.name,this.version,this.settings,this.options.obfuscate)]);case 1:n.integration=a.sent(),this.onReady=new Promise(function(s){var o=function(){i._ready=!0,s(!0)};i.integration.once("ready",o)}),this.onInitialize=new Promise(function(s){var o=function(){i._initialized=!0,s(!0)};i.integration.on("initialize",o)});try{e.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(s){throw e.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),s}return[2]}})})},t.prototype.unload=function(e,r){return HEe(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"&&(hc()||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,l,c,d;return le(this,function(h){switch(h.label){case 0:if(this.shouldBuffer(e))return this.buffer.push(e),this.scheduleFlush(),[2,e];if(s=(a=(i=this.options)===null||i===void 0?void 0:i.plan)===null||a===void 0?void 0:a.track,o=e.event.event,s&&o&&this.name!=="Segment.io"){if(u=s[o],N5(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 Ka({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 Ka({retry:!1,reason:"Event ".concat(o," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,e]}return[4,CT(this.name,e.event,this.middleware)];case 1:if(l=h.sent(),l===null)return[2,e];c=new r(l,{}),e.stats.increment("analytics_js.integration.invoke",1,["method:".concat(n),"integration_name:".concat(this.name)]),h.label=2;case 2:return h.trys.push([2,5,,6]),this.integration?[4,Eh(this.integration.invoke.call(this.integration,n,c))]:[3,4];case 3:h.sent(),h.label=4;case 4:return[3,6];case 5:throw d=h.sent(),e.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(n),"integration_name:".concat(this.name)]),d;case 6:return[2,e]}})})},t.prototype.track=function(e){return ue(this,void 0,void 0,function(){return le(this,function(r){return[2,this.send(e,Pn.Track,"track")]})})},t.prototype.page=function(e){var r;return ue(this,void 0,void 0,function(){var n=this;return le(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,Pn.Page,"page")})]})})},t.prototype.identify=function(e){return ue(this,void 0,void 0,function(){return le(this,function(r){return[2,this.send(e,Pn.Identify,"identify")]})})},t.prototype.alias=function(e){return ue(this,void 0,void 0,function(){return le(this,function(r){return[2,this.send(e,Pn.Alias,"alias")]})})},t.prototype.group=function(e){return ue(this,void 0,void 0,function(){return le(this,function(r){return[2,this.send(e,Pn.Group,"group")]})})},t.prototype.scheduleFlush=function(){var e=this;this.flushing||setTimeout(function(){return ue(e,void 0,void 0,function(){var r;return le(this,function(n){switch(n.label){case 0:return this.flushing=!0,r=this,[4,UEe(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 GEe(t,e,r,n){var i,a;if(e===void 0&&(e={}),r===void 0&&(r={}),z6())return[];t.plan&&(r=r??{},r.plan=t.plan);var s=(a=(i=t.middlewareSettings)===null||i===void 0?void 0:i.routingRules)!==null&&a!==void 0?a:[],o=u5(t,r??{});return Object.entries(t.integrations).map(function(u){var l,c=u[0],d=u[1];if(!c.startsWith("Segment")){var h=e.All===!1&&e[c]===void 0;if(!(e[c]===!1||h)){var p=d.type,g=d.bundlingStatus,_=d.versionSettings,O=g!=="unbundled"&&(p==="browser"||((l=_==null?void 0:_.componentTypes)===null||l===void 0?void 0:l.includes("browser")));if(!(!O&&c!=="Segment.io"||c==="Iterable")){var S=VEe(d),E=new j5(c,S,o[c],r),x=s.filter(function(f){return f.destinationName===c});return x.length>0&&n&&E.addMiddleware(n),E}}}}).filter(function(u){return u!==void 0})}const WEe=Object.freeze(Object.defineProperty({__proto__:null,LegacyDestination:j5,ajsDestinations:GEe},Symbol.toStringTag,{value:"Module"}));function YEe(t){return ue(this,void 0,void 0,function(){var e;return le(this,function(r){switch(r.label){case 0:return[4,Zn(()=>Promise.resolve().then(()=>tPe),void 0,import.meta.url)];case 1:return e=r.sent(),t._plugins=e,[2]}})})}const KEe=Object.freeze(Object.defineProperty({__proto__:null,loadLegacyVideoPlugins:YEe},Symbol.toStringTag,{value:"Module"}));function qEe(t,e){var r,n;if(!t||!Object.keys(t))return{};var i=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 XEe(t,e){function r(n){var i=t,a=n.event.event;if(i&&a){var s=i[a];if(N5(i,s)){var o=qEe(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 ZEe=Object.freeze(Object.defineProperty({__proto__:null,schemaFilter:XEe},Symbol.toStringTag,{value:"Module"}));function JEe(t,e,r){var n;return ue(this,void 0,void 0,function(){var i,a,s,o,u,l=this;return le(this,function(c){switch(c.label){case 0:return z6()?[2,[]]:(i=ET(),a=(n=e.enabledMiddleware)!==null&&n!==void 0?n:{},s=Object.entries(a).filter(function(d){d[0];var h=d[1];return h}).map(function(d){var h=d[0];return h}),o=s.map(function(d){return ue(l,void 0,void 0,function(){var h,p,g,_;return le(this,function(O){switch(O.label){case 0:h=d.replace("@segment/",""),p=h,r&&(p=btoa(h).replace(/=/g,"")),g="".concat(i,"/middleware/").concat(p,"/latest/").concat(p,".js.gz"),O.label=1;case 1:return O.trys.push([1,3,,4]),[4,Hl(g)];case 2:return O.sent(),[2,window["".concat(h,"Middleware")]];case 3:return _=O.sent(),t.log("error",_),t.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(o)]);case 1:return u=c.sent(),u=u.filter(Boolean),[2,u]}})})}const QEe=Object.freeze(Object.defineProperty({__proto__:null,remoteMiddlewares:JEe},Symbol.toStringTag,{value:"Module"}));var z5={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(window,function(){return function(r){var n={};function i(a){if(n[a])return n[a].exports;var s=n[a]={i:a,l:!1,exports:{}};return r[a].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=r,i.c=n,i.d=function(a,s,o){i.o(a,s)||Object.defineProperty(a,s,{enumerable:!0,get:o})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,s){if(1&s&&(a=i(a)),8&s||4&s&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),2&s&&typeof a!="string")for(var u in a)i.d(o,u,function(l){return a[l]}.bind(null,u));return o},i.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(s,"a",s),s},i.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},i.p="",i(i.s=2)}([function(r,n,i){i.r(n);var a=typeof fetch=="function"?fetch.bind():function(s,o){return o=o||{},new Promise(function(u,l){var c=new XMLHttpRequest;for(var d in c.open(o.method||"get",s,!0),o.headers)c.setRequestHeader(d,o.headers[d]);function h(){var p,g=[],_=[],O={};return c.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(S,E,x){g.push(E=E.toLowerCase()),_.push([E,x]),p=O[E],O[E]=p?p+","+x:x}),{ok:(c.status/100|0)==2,status:c.status,statusText:c.statusText,url:c.responseURL,clone:h,text:function(){return Promise.resolve(c.responseText)},json:function(){return Promise.resolve(c.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([c.response]))},headers:{keys:function(){return g},entries:function(){return _},get:function(S){return O[S.toLowerCase()]},has:function(S){return S.toLowerCase()in O}}}}c.withCredentials=o.credentials=="include",c.onload=function(){u(h())},c.onerror=l,c.send(o.body)})};n.default=a},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function o(u,l){for(var c=0;c<l.length;c++){var d=l[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,l,c){return l&&o(u.prototype,l),c&&o(u,c),u}}(),s=function(){function o(u,l){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,o),this.pluginName=u}return a(o,[{key:"track",value:function(u,l){window.analytics.track(u,l,{integration:{name:this.pluginName}})}}]),o}();n.default=s},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.YouTubeAnalytics=n.VimeoAnalytics=void 0;var a=o(i(3)),s=o(i(4));function o(u){return u&&u.__esModule?u:{default:u}}n.VimeoAnalytics=a.default,n.YouTubeAnalytics=s.default},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function l(c,d){for(var h=0;h<d.length;h++){var p=d[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(c,p.key,p)}}return function(c,d,h){return d&&l(c.prototype,d),h&&l(c,h),c}}(),s=o(i(0));function o(l){return l&&l.__esModule?l:{default:l}}var u=function(l){function c(d,h){(function(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")})(this,c);var p=function(g,_){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!_||typeof _!="object"&&typeof _!="function"?g:_}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,"VimeoAnalytics"));return p.authToken=h,p.player=d,p.metadata={content:{},playback:{videoPlayer:"Vimeo"}},p.mostRecentHeartbeat=0,p.isPaused=!1,p}return function(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}(c,l),a(c,[{key:"initialize",value:function(){var d=this,h={loaded:this.retrieveMetadata,play:this.trackPlay,pause:this.trackPause,ended:this.trackEnded,timeupdate:this.trackHeartbeat};for(var p in h)this.registerHandler(p,h[p]);this.player.getVideoId().then(function(g){d.retrieveMetadata({id:g})}).catch(console.error)}},{key:"registerHandler",value:function(d,h){var p=this;this.player.on(d,function(g){p.updateMetadata(g),h.call(p,g)})}},{key:"trackPlay",value:function(){this.isPaused?(this.track("Video Playback Resumed",this.metadata.playback),this.isPaused=!1):(this.track("Video Playback Started",this.metadata.playback),this.track("Video Content Started",this.metadata.content))}},{key:"trackEnded",value:function(){this.track("Video Playback Completed",this.metadata.playback),this.track("Video Content Completed",this.metadata.content)}},{key:"trackHeartbeat",value:function(){var d=this.mostRecentHeartbeat,h=this.metadata.playback.position;h!==d&&h-d>=10&&(this.track("Video Content Playing",this.metadata.content),this.mostRecentHeartbeat=Math.floor(h))}},{key:"trackPause",value:function(){this.isPaused=!0,this.track("Video Playback Paused",this.metadata.playback)}},{key:"retrieveMetadata",value:function(d){var h=this;return new Promise(function(p,g){var _=d.id;(0,s.default)("https://api.vimeo.com/videos/"+_,{headers:{Authorization:"Bearer "+h.authToken}}).then(function(O){return O.ok?O.json():g(O)}).then(function(O){h.metadata.content.title=O.name,h.metadata.content.description=O.description,h.metadata.content.publisher=O.user.name,h.metadata.playback.position=0,h.metadata.playback.totalLength=O.duration}).catch(function(O){return console.error("Request to Vimeo API Failed with: ",O),g(O)})})}},{key:"updateMetadata",value:function(d){var h=this;return new Promise(function(p,g){h.player.getVolume().then(function(_){_&&(h.metadata.playback.sound=100*_),h.metadata.playback.position=d.seconds,p()}).catch(g)})}}]),c}(o(i(1)).default);n.default=u},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function d(h,p){for(var g=0;g<p.length;g++){var _=p[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(h,_.key,_)}}return function(h,p,g){return p&&d(h.prototype,p),g&&d(h,g),h}}(),s=u(i(0)),o=u(i(1));function u(d){return d&&d.__esModule?d:{default:d}}var l=function(d){function h(p,g){(function(O,S){if(!(O instanceof S))throw new TypeError("Cannot call a class as a function")})(this,h);var _=function(O,S){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!S||typeof S!="object"&&typeof S!="function"?O:S}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,"YoutubeAnalytics"));return _.player=p,_.apiKey=g,_.playerLoaded=!1,_.playbackStarted=!1,_.contentStarted=!1,_.isPaused=!1,_.isBuffering=!1,_.isSeeking=!1,_.lastRecordedTime={timeReported:Date.now(),timeElapsed:0},_.metadata=[{playback:{video_player:"youtube"},content:{}}],_.playlistIndex=0,_}return function(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(p,g):p.__proto__=g)}(h,d),a(h,[{key:"initialize",value:function(){window.segmentYoutubeOnStateChange=this.onPlayerStateChange.bind(this),window.segmentYoutubeOnReady=this.onPlayerReady.bind(this),this.player.addEventListener("onReady","segmentYoutubeOnReady"),this.player.addEventListener("onStateChange","segmentYoutubeOnStateChange")}},{key:"onPlayerReady",value:function(p){this.retrieveMetadata()}},{key:"onPlayerStateChange",value:function(p){var g=this.player.getCurrentTime();switch(this.metadata[this.playlistIndex]&&(this.metadata[this.playlistIndex].playback.position=this.metadata[this.playlistIndex].content.position=g,this.metadata[this.playlistIndex].playback.quality=this.player.getPlaybackQuality(),this.metadata[this.playlistIndex].playback.sound=this.player.isMuted()?0:this.player.getVolume()),p.data){case-1:if(this.playerLoaded)break;this.retrieveMetadata(),this.playerLoaded=!0;break;case YT.PlayerState.BUFFERING:this.handleBuffer();break;case YT.PlayerState.PLAYING:this.handlePlay();break;case YT.PlayerState.PAUSED:this.handlePause();break;case YT.PlayerState.ENDED:this.handleEnd()}this.lastRecordedTime={timeReported:Date.now(),timeElapsed:1e3*this.player.getCurrentTime()}}},{key:"retrieveMetadata",value:function(){var p=this;return new Promise(function(g,_){var O=p.player.getVideoData(),S=p.player.getPlaylist()||[O.video_id],E=S.join();(0,s.default)("https://www.googleapis.com/youtube/v3/videos?id="+E+"&part=snippet,contentDetails&key="+p.apiKey).then(function(x){if(!x.ok){var f=new Error("Segment request to Youtube API failed (likely due to a bad API Key. Events will still be sent but will not contain video metadata)");throw f.response=x,f}return x.json()}).then(function(x){p.metadata=[];for(var f=0,m=0;m<S.length;m++){var v=x.items[m];p.metadata.push({content:{title:v.snippet.title,description:v.snippet.description,keywords:v.snippet.tags,channel:v.snippet.channelTitle,airdate:v.snippet.publishedAt}}),f+=c(v.contentDetails.duration)}for(m=0;m<S.length;m++)p.metadata[m].playback={total_length:f,video_player:"youtube"};g()}).catch(function(x){p.metadata=S.map(function(f){return{playback:{video_player:"youtube"},content:{}}}),_(x)})})}},{key:"handleBuffer",value:function(){var p=this.determineSeek();this.playbackStarted||(this.playbackStarted=!0,this.track("Video Playback Started",this.metadata[this.playlistIndex].playback)),p&&!this.isSeeking&&(this.isSeeking=!0,this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback)),this.isSeeking&&(this.track("Video Playback Seek Completed",this.metadata[this.playlistIndex].playback),this.isSeeking=!1);var g=this.player.getPlaylist();g&&this.player.getCurrentTime()===0&&this.player.getPlaylistIndex()!==this.playlistIndex&&(this.contentStarted=!1,this.playlistIndex===g.length-1&&this.player.getPlaylistIndex()===0&&(this.track("Video Playback Completed",this.metadata[this.player.getPlaylistIndex()].playback),this.track("Video Playback Started",this.metadata[this.player.getPlaylistIndex()].playback))),this.track("Video Playback Buffer Started",this.metadata[this.playlistIndex].playback),this.isBuffering=!0}},{key:"handlePlay",value:function(){this.contentStarted||(this.playlistIndex=this.player.getPlaylistIndex(),this.playlistIndex===-1&&(this.playlistIndex=0),this.track("Video Content Started",this.metadata[this.playlistIndex].content),this.contentStarted=!0),this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused&&(this.track("Video Playback Resumed",this.metadata[this.playlistIndex].playback),this.isPaused=!1)}},{key:"handlePause",value:function(){var p=this.determineSeek();this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused||(p?(this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback),this.isSeeking=!0):(this.track("Video Playback Paused",this.metadata[this.playlistIndex].playback),this.isPaused=!0))}},{key:"handleEnd",value:function(){this.track("Video Content Completed",this.metadata[this.playlistIndex].content),this.contentStarted=!1;var p=this.player.getPlaylistIndex(),g=this.player.getPlaylist();(g&&p===g.length-1||p===-1)&&(this.track("Video Playback Completed",this.metadata[this.playlistIndex].playback),this.playbackStarted=!1)}},{key:"determineSeek",value:function(){var p=this.isPaused||this.isBuffering?0:Date.now()-this.lastRecordedTime.timeReported,g=1e3*this.player.getCurrentTime()-this.lastRecordedTime.timeElapsed;return Math.abs(p-g)>2e3}}]),h}(o.default);function c(d){var h=d.match(/PT(\d+H)?(\d+M)?(\d+S)?/);return h=h.slice(1).map(function(p){if(p!=null)return p.replace(/\D/,"")}),3600*(parseInt(h[0])||0)+60*(parseInt(h[1])||0)+(parseInt(h[2])||0)}n.default=l}])})})(z5);var H5=z5.exports;const ePe=vn(H5),tPe=X5({__proto__:null,default:ePe},[H5]);export{o$ as A,gB as B,Z4 as C,SPe as D,fF as E,uPe as F,xPe as G,TPe as H,Cm as I,fPe as J,EPe as K,sPe as L,oPe as M,Zv as R,lPe as S,V,Zn as _,mPe as a,cPe as b,yx as c,hPe as d,dPe as e,aPe as f,rPe as g,z9 as h,cN as i,_F as j,jM as k,pPe as l,ZF as m,qF as n,S7 as o,MZ as p,RZ as q,nPe as r,iPe as s,bPe as t,gPe as u,vPe as v,yPe as w,_Pe as x,OPe as y,Qw as z};