scope360-core 0.0.107 → 0.0.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(ie,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(ie=typeof globalThis<"u"?globalThis:ie||self,o(ie.Scope360Core={},ie.Vue))})(this,function(ie,o){"use strict";var iI=Object.defineProperty;var oI=(ie,o,ds)=>o in ie?iI(ie,o,{enumerable:!0,configurable:!0,writable:!0,value:ds}):ie[o]=ds;var W=(ie,o,ds)=>(oI(ie,typeof o!="symbol"?o+"":o,ds),ds);var ls;const ds=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e)))})},ze={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>ds(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>TN),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>EN),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>$N),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>BN),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>RN),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>YN),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>jN),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>qN),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>XN),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>eV),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>rV),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>oV),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>cV),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>hV),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>pV),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>yV),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>kV),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>MV),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>TV),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>EV),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>$V),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>BV),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>RV),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>YV),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>jV),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>qV),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>XV),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>eB),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>rB),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>oB),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>cB),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>hB),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>pB),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>yB),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>kB),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>MB),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>TB),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>EB),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>$B),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>BB),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>RB),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>YB),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>jB),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>qB),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>XB),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>eA),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>rA),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>oA),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>cA),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>hA),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>pA),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>yA),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>kA),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>MA),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>TA),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>EA),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>$A),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>BA),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>RA),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>YA),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>jA),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>qA),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>XA),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>eF),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>rF),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>oF),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>cF),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>hF),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>pF),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>yF),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>kF),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>MF),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>TF),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>EF),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>$F),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>BF),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>RF),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>YF),"../assets/icons/search-grey.svg":()=>Promise.resolve().then(()=>jF),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>qF),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>XF),"../assets/icons/settings-gear-2.svg":()=>Promise.resolve().then(()=>eR),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>rR),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>oR),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>cR),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>hR),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>pR),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>yR),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>kR),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>MR),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>TR),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>ER),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>$R),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>BR),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>RR),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>YR),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>jR),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>qR),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>XR),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>eI),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>rI)}),`../assets/icons/${e.icon}.svg`));return(r,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},Pe=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},W_=["disabled"],j_={key:1},_c=Pe({__name:"Button",props:{size:{type:String,default:"md"},view:{type:String,default:"primary"},ctaText:String,icon:String,iconAlignment:String,width:String,disabled:Boolean,fullWidth:Boolean},setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null);return(r,s)=>(o.openBlock(),o.createElementBlock("button",{disabled:t.disabled,style:o.normalizeStyle(n.value),class:o.normalizeClass([`-${t.size}`,`-${t.view}`,`-${t.iconAlignment}`,{"-no-icon":!t.icon},{"-only-icon":t.icon&&!t.ctaText},{"-full-width":t.fullWidth}])},[t.icon?(o.openBlock(),o.createBlock(ze,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",j_,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,W_))}},[["__scopeId","data-v-ffc148b3"]]);function yc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function Z_(t){return(...e)=>!t(...e)}function U_(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function oh(t,e,n,r){return e?t.filter(s=>U_(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function q_(t){return t.filter(e=>!e.$isLabel)}function wc(t,e){return n=>n.reduce((r,s)=>s[t]&&s[t].length?(r.push({$groupLabel:s[e],$isLabel:!0}),r.concat(s[t])):r,[])}function G_(t,e,n,r,s){return i=>i.map(a=>{if(!a[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=oh(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const ah=(...t)=>e=>t.reduce((n,r)=>r(n),e);var K_={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(t,e){return yc(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,e,this.label):oh(n,e,this.label,this.customLabel):n=this.groupValues?wc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(Z_(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(t=>t[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(e=>this.customLabel(e,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(t,e,n){return ah(G_(e,n,this.groupValues,this.groupLabel,this.customLabel),wc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return ah(wc(this.groupValues,this.groupLabel),q_)(t)},updateSearch(t){this.search=t},isExistingOption(t){return this.options?this.optionKeys.indexOf(t)>-1:!1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled(t){return!!t.$isDisabled},getOptionLabel(t){if(yc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return yc(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect){this.selectGroup(t);return}if(!(this.blockKeys.indexOf(e)!==-1||this.disabled||t.$isDisabled||t.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(e==="Tab"&&!this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t)){e!=="Tab"&&this.removeElement(t);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find(n=>n[this.groupLabel]===t.$groupLabel);if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const n=this.internalValue.filter(r=>e[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=e[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every(e=>this.isSelected(e)||this.isOptionDisabled(e))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof t=="object"?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},X_={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===e.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},lh={name:"vue-multiselect",mixins:[K_,X_],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}};const Q_={ref:"tags",class:"multiselect__tags"},J_={class:"multiselect__tags-wrap"},e5={class:"multiselect__spinner"},t5={key:0},n5={class:"multiselect__option"},r5={class:"multiselect__option"},s5=o.createTextVNode("No elements found. Consider changing the search query."),i5={class:"multiselect__option"},o5=o.createTextVNode("List is empty.");function a5(t,e,n,r,s,i){return o.openBlock(),o.createBlock("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":i.isAbove,"multiselect--has-options-group":i.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=a=>t.activate()),onBlur:e[15]||(e[15]=a=>t.searchable?!1:t.deactivate()),onKeydown:[e[16]||(e[16]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["self","prevent"]),["down"])),e[17]||(e[17]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=o.withKeys(a=>t.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[o.renderSlot(t.$slots,"caret",{toggle:t.toggle},()=>[o.createVNode("div",{onMousedown:e[1]||(e[1]=o.withModifiers(a=>t.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(t.$slots,"clear",{search:t.search}),o.createVNode("div",Q_,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",J_,[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(i.visibleValues,(a,l)=>o.renderSlot(t.$slots,"tag",{option:a,search:t.search,remove:t.removeElement},()=>[(o.openBlock(),o.createBlock("span",{class:"multiselect__tag",key:l},[o.createVNode("span",{textContent:o.toDisplayString(t.getOptionLabel(a))},null,8,["textContent"]),o.createVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(c=>t.removeElement(a),["prevent"]),["enter"]),onMousedown:o.withModifiers(c=>t.removeElement(a),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[o.vShow,i.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?o.renderSlot(t.$slots,"limit",{key:0},()=>[o.createVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])]):o.createCommentVNode("v-if",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(t.$slots,"loading",{},()=>[o.withDirectives(o.createVNode("div",e5,null,512),[[o.vShow,n.loading]])])]),_:3}),t.searchable?(o.openBlock(),o.createBlock("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:!1,placeholder:t.placeholder,style:i.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=a=>t.updateSearch(a.target.value)),onFocus:e[3]||(e[3]=o.withModifiers(a=>t.activate(),["prevent"])),onBlur:e[4]||(e[4]=o.withModifiers(a=>t.deactivate(),["prevent"])),onKeyup:e[5]||(e[5]=o.withKeys(a=>t.deactivate(),["esc"])),onKeydown:[e[6]||(e[6]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["prevent"]),["down"])),e[7]||(e[7]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["prevent"]),["up"])),e[9]||(e[9]=o.withKeys(o.withModifiers(a=>t.removeLastElement(),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):o.createCommentVNode("v-if",!0),i.isSingleLabelVisible?(o.openBlock(),o.createBlock("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"singleLabel",{option:i.singleValue},()=>[o.createTextVNode(o.toDisplayString(t.currentOptionLabel),1)])],32)):o.createCommentVNode("v-if",!0),i.isPlaceholderVisible?(o.openBlock(),o.createBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(t.placeholder),1)])],32)):o.createCommentVNode("v-if",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createVNode("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...a)=>t.activate&&t.activate(...a)),tabindex:"-1",onMousedown:e[13]||(e[13]=o.withModifiers(()=>{},["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[o.createVNode("ul",{class:"multiselect__content",style:i.contentStyle,role:"listbox",id:"listbox-"+t.id},[o.renderSlot(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(o.openBlock(),o.createBlock("li",t5,[o.createVNode("span",n5,[o.renderSlot(t.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(t.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("v-if",!0),!t.max||t.internalValue.length<t.max?(o.openBlock(!0),o.createBlock(o.Fragment,{key:1},o.renderList(t.filteredOptions,(a,l)=>(o.openBlock(),o.createBlock("li",{class:"multiselect__element",key:l,id:t.id+"-"+l,role:a&&(a.$isLabel||a.$isDisabled)?null:"option"},[a&&(a.$isLabel||a.$isDisabled)?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock("span",{key:0,class:[t.optionHighlight(l,a),"multiselect__option"],onClick:o.withModifiers(c=>t.select(a),["stop"]),onMouseenter:o.withModifiers(c=>t.pointerSet(l),["self"]),"data-select":a&&a.isTag?t.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),a&&(a.$isLabel||a.$isDisabled)?(o.openBlock(),o.createBlock("span",{key:1,"data-select":t.groupSelect&&i.selectGroupLabelText,"data-deselect":t.groupSelect&&i.deselectGroupLabelText,class:[t.groupHighlight(l,a),"multiselect__option"],onMouseenter:o.withModifiers(c=>t.groupSelect&&t.pointerSet(l),["self"]),onMousedown:o.withModifiers(c=>t.selectGroup(a),["prevent"])},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):o.createCommentVNode("v-if",!0)],8,["id","role"]))),128)):o.createCommentVNode("v-if",!0),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",r5,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[s5])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",i5,[o.renderSlot(t.$slots,"noOptions",{},()=>[o5])])],512),[[o.vShow,n.showNoOptions&&(t.options.length===0||i.hasOptionGroup===!0&&t.filteredOptions.length===0)&&!t.search&&!n.loading]]),o.renderSlot(t.$slots,"afterList")],12,["id"])],36),[[o.vShow,t.isOpen]])]),_:3})],42,["tabindex","aria-owns"])}lh.render=a5;const l5={key:0,class:"scope-multiselect-label"},c5=Pe({__name:"Dropdown",props:o.mergeModels({size:{type:String,default:"md"},searchable:Boolean,options:Array,placeholder:String,label:String,invalid:Boolean,disabled:Boolean,width:{type:String,default:"250px"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null),r=o.ref(null),s=o.computed(()=>r.value&&r.value.isOpen),i=o.computed(()=>!!(c.value&&c.value.length)),a=o.computed(()=>e.options.every(d=>typeof d=="object"&&d!==null)),l=o.computed(()=>a.value?e.options.map(d=>d.name):e.options),c=o.useModel(t,"modelValue",{get(d){return typeof d=="object"?d.name:d},set(d){return a.value?e.options.find(u=>u.name===d):d}});return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-multiselect-container",style:o.normalizeStyle(n.value)},[t.label?(o.openBlock(),o.createElementBlock("div",l5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(lh),{ref_key:"multiselect",ref:r,class:o.normalizeClass(["scope-multiselect",`-${t.size}`,{"-with-search":t.searchable,"-invalid":t.invalid}]),modelValue:c.value,"onUpdate:modelValue":u[0]||(u[0]=h=>c.value=h),options:l.value,searchable:t.searchable,disabled:t.disabled,"close-on-select":"","show-labels":!1,placeholder:t.placeholder},null,8,["class","modelValue","options","searchable","disabled","placeholder"]),o.createElementVNode("div",{class:o.normalizeClass(["scope-multiselect-container__icon-wrapper",{"-with-search":t.searchable,"-label":t.label}])},[t.searchable?(o.openBlock(),o.createBlock(ze,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(ze,{icon:"chevron",class:o.normalizeClass(["select-item",i.value?"-is-not-empty":"-is-empty",{"-opened":s.value}])},null,8,["class"])],2)],4))}},[["__scopeId","data-v-687ab011"]]),d5={key:0,class:"scope-input__label"},u5={key:0,class:"scope-input__sign"},h5=["disabled","placeholder","maxlength","pattern","type"],f5={key:1,class:"scope-input__error"},m5=Pe({__name:"Input",props:o.mergeModels({size:{type:String,default:"md"},maxLength:{type:Number,default:524288},icon:String,placeholder:String,haveClearButton:Boolean,haveCopyButton:Boolean,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,sideSign:String,type:{default:"text",type:String},pattern:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const{error:n}=K6(),r=e,s=o.useModel(t,"modelValue"),i=t,a=o.computed(()=>i.width?{width:i.width}:null),l=o.ref(!1),c=d=>{navigator.clipboard.writeText(d).then(()=>{l.value=!0;const u=setTimeout(()=>{l.value=!1,clearTimeout(u)},3e3)}).catch(u=>{n(u)})};return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton}])},[t.label?(o.openBlock(),o.createElementBlock("div",d5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__container",`-${t.size}`])},[t.sideSign?(o.openBlock(),o.createElementBlock("div",u5,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":u[0]||(u[0]=h=>s.value=h),style:o.normalizeStyle(a.value),placeholder:t.placeholder,onInput:u[1]||(u[1]=h=>r("input")),onKeyup:u[2]||(u[2]=o.withKeys(h=>r("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,h5),[[o.vModelDynamic,s.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(ze),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(ze),{key:1,class:"scope-input__clear",icon:"cross",onClick:u[3]||(u[3]=h=>s.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!l.value?(o.openBlock(),o.createBlock(o.unref(ze),{key:2,class:"scope-input__clear",icon:"copy",onClick:u[4]||(u[4]=h=>c(s.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&l.value?(o.openBlock(),o.createBlock(o.unref(ze),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",f5,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-78225f82"]]),p5={class:"scope-radio-label"},g5=["value","checked"],_5={class:"scope-text"},y5={__name:"Radio",props:o.mergeModels({value:String|Object|Boolean|Number,label:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.ref(null),s=()=>{e.value=n.value},i=o.computed(()=>e.value);return o.onMounted(()=>{s()}),(a,l)=>(o.openBlock(),o.createElementBlock("label",p5,[o.createElementVNode("input",{name:"radio",type:"radio",ref_key:"radio",ref:r,value:t.value,class:"scope-radio-input",checked:i.value,onClick:s},null,8,g5),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":i.value}])},null,2),o.createElementVNode("span",_5,o.toDisplayString(t.label),1)]))}},w5=Pe(y5,[["__scopeId","data-v-a6d4ba91"]]),b5=t=>(o.pushScopeId("data-v-7e155a89"),t=t(),o.popScopeId(),t),k5={class:"scope-toggle-wrapper"},C5=["checked","name"],x5=b5(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),M5=Pe({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=()=>{e.value=!e.value};return(r,s)=>(o.openBlock(),o.createElementBlock("div",k5,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:e.value,name:t.name,onChange:n},null,40,C5),x5]))}},[["__scopeId","data-v-7e155a89"]]),v5={class:"scope-checkbox-container"},S5=["id"],T5=["for"],O5=Pe({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("ul",v5,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,S5),[[o.vModelCheckbox,e.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,T5)])]))}},[["__scopeId","data-v-16dedb1c"]]),D5={class:"scope-menu-tabs"},E5=["onClick"],P5=Pe({__name:"Menu",props:o.mergeModels({tabs:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=r=>{e.value=r};return(r,s)=>(o.openBlock(),o.createElementBlock("div",D5,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-menu-tab",{"-active":e.value==i.id}]),onClick:l=>n(i.id),key:a},o.toDisplayString(i.name),11,E5))),128))]))}},[["__scopeId","data-v-30014e05"]]),L5={class:"scope-switcher"},$5={class:"scope-switcher__current-item"},N5=Pe({__name:"Switcher",props:o.mergeModels({items:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.useModel(t,"modelValue"),r=o.computed(()=>e.items.findIndex(c=>n.value.id===c.id)),s=o.computed(()=>n.value.id===e.items[0].id),i=o.computed(()=>n.value.id===e.items.at(-1).id),a=()=>{n.value=e.items[r.value-1]},l=()=>{n.value=e.items[r.value+1]};return(c,d)=>(o.openBlock(),o.createElementBlock("div",L5,[o.createVNode(ze,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",$5,o.toDisplayString(n.value.name),1),o.createVNode(ze,{icon:"chevron-right-small",class:o.normalizeClass(["scope-switcher__right",{"-last-item":i.value}]),onClick:l},null,8,["class"])]))}},[["__scopeId","data-v-4a290f88"]]);function le(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function Le(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function vn(t,e){const n=le(t);return isNaN(e)?Le(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function Sn(t,e){const n=le(t);if(isNaN(e))return Le(t,NaN);if(!e)return n;const r=n.getDate(),s=Le(t,n.getTime());s.setMonth(n.getMonth()+e+1,0);const i=s.getDate();return r>=i?s:(n.setFullYear(s.getFullYear(),s.getMonth(),r),n)}function ch(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=le(t),u=r||n?Sn(d,r+n*12):d,h=i||s?vn(u,i+s*7):u,f=l+a*60,g=(c+f*60)*1e3;return Le(t,h.getTime()+g)}function V5(t,e){const n=+le(t);return Le(t,n+e)}const dh=6048e5,B5=864e5,A5=6e4,uh=36e5,F5=1e3;function R5(t,e){return V5(t,e*uh)}let I5={};function us(){return I5}function Rn(t,e){var l,c,d,u;const n=us(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?7:0)+i-r;return s.setDate(s.getDate()-a),s.setHours(0,0,0,0),s}function Xs(t){return Rn(t,{weekStartsOn:1})}function hh(t){const e=le(t),n=e.getFullYear(),r=Le(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const s=Xs(r),i=Le(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Xs(i);return e.getTime()>=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function fh(t){const e=le(t);return e.setHours(0,0,0,0),e}function ha(t){const e=le(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function mh(t,e){const n=fh(t),r=fh(e),s=+n-ha(n),i=+r-ha(r);return Math.round((s-i)/B5)}function z5(t){const e=hh(t),n=Le(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Xs(n)}function Y5(t,e){const n=e*3;return Sn(t,n)}function bc(t,e){return Sn(t,e*12)}function ph(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ji(t){if(!ph(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function gh(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function _h(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+n:+r,a=s?r:n;a.setHours(0,0,0,0);let l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a.setDate(a.getDate()+l),a.setHours(0,0,0,0);return s?c.reverse():c}function hs(t){const e=le(t),n=e.getMonth(),r=n-n%3;return e.setMonth(r,1),e.setHours(0,0,0,0),e}function H5(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+hs(n):+hs(r);let a=hs(s?r:n),l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a=Y5(a,l);return s?c.reverse():c}function W5(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function yh(t){const e=le(t),n=Le(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function j5(t,e){var l,c,d,u;const n=us(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?-7:0)+6-(i-r);return s.setDate(s.getDate()+a),s.setHours(23,59,59,999),s}function wh(t){const e=le(t),n=e.getMonth(),r=n-n%3+3;return e.setMonth(r,0),e.setHours(23,59,59,999),e}const Z5={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"}},U5=(t,e,n)=>{let r;const s=Z5[t];return typeof s=="string"?r=s:e===1?r=s.one:r=s.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function kc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const q5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},K5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},X5={date:kc({formats:q5,defaultWidth:"full"}),time:kc({formats:G5,defaultWidth:"full"}),dateTime:kc({formats:K5,defaultWidth:"full"})},Q5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},J5=(t,e,n,r)=>Q5[t];function Zi(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&t.formattingValues){const a=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):a;s=t.formattingValues[l]||t.formattingValues[a]}else{const a=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;s=t.values[l]||t.values[a]}const i=t.argumentCallback?t.argumentCallback(e):e;return s[i]}}const e4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},t4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},n4={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"]},r4={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"]},s4={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"}},i4={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"}},o4={ordinalNumber:(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Zi({values:e4,defaultWidth:"wide"}),quarter:Zi({values:t4,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Zi({values:n4,defaultWidth:"wide"}),day:Zi({values:r4,defaultWidth:"wide"}),dayPeriod:Zi({values:s4,defaultWidth:"wide",formattingValues:i4,defaultFormattingWidth:"wide"})};function Ui(t){return(e,n={})=>{const r=n.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(s);if(!i)return null;const a=i[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?l4(l,h=>h.test(a)):a4(l,h=>h.test(a));let d;d=t.valueCallback?t.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const u=e.slice(a.length);return{value:d,rest:u}}}function a4(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function l4(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function c4(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const s=r[0],i=e.match(t.parsePattern);if(!i)return null;let a=t.valueCallback?t.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const l=e.slice(s.length);return{value:a,rest:l}}}const d4=/^(\d+)(th|st|nd|rd)?/i,u4=/\d+/i,h4={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},f4={any:[/^b/i,/^(a|c)/i]},m4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},p4={any:[/1/i,/2/i,/3/i,/4/i]},g4={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},_4={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]},y4={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},w4={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]},b4={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},k4={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}},C4={ordinalNumber:c4({matchPattern:d4,parsePattern:u4,valueCallback:t=>parseInt(t,10)}),era:Ui({matchPatterns:h4,defaultMatchWidth:"wide",parsePatterns:f4,defaultParseWidth:"any"}),quarter:Ui({matchPatterns:m4,defaultMatchWidth:"wide",parsePatterns:p4,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ui({matchPatterns:g4,defaultMatchWidth:"wide",parsePatterns:_4,defaultParseWidth:"any"}),day:Ui({matchPatterns:y4,defaultMatchWidth:"wide",parsePatterns:w4,defaultParseWidth:"any"}),dayPeriod:Ui({matchPatterns:b4,defaultMatchWidth:"any",parsePatterns:k4,defaultParseWidth:"any"})},bh={code:"en-US",formatDistance:U5,formatLong:X5,formatRelative:J5,localize:o4,match:C4,options:{weekStartsOn:0,firstWeekContainsDate:1}};function x4(t){const e=le(t);return mh(e,yh(e))+1}function Cc(t){const e=le(t),n=+Xs(e)-+z5(e);return Math.round(n/dh)+1}function xc(t,e){var u,h,f,m;const n=le(t),r=n.getFullYear(),s=us(),i=(e==null?void 0:e.firstWeekContainsDate)??((h=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??s.firstWeekContainsDate??((m=(f=s.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=Le(t,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=Rn(a,e),c=Le(t,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const d=Rn(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function M4(t,e){var l,c,d,u;const n=us(),r=(e==null?void 0:e.firstWeekContainsDate)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)??1,s=xc(t,e),i=Le(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),Rn(i,e)}function Mc(t,e){const n=le(t),r=+Rn(n,e)-+M4(n,e);return Math.round(r/dh)+1}function Ve(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const Lr={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return Ve(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):Ve(n+1,2)},d(t,e){return Ve(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return Ve(t.getHours()%12||12,e.length)},H(t,e){return Ve(t.getHours(),e.length)},m(t,e){return Ve(t.getMinutes(),e.length)},s(t,e){return Ve(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),s=Math.trunc(r*Math.pow(10,n-3));return Ve(s,e.length)}},Qs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},kh={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return Lr.y(t,e)},Y:function(t,e,n,r){const s=xc(t,r),i=s>0?s:1-s;if(e==="YY"){const a=i%100;return Ve(a,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ve(i,e.length)},R:function(t,e){const n=hh(t);return Ve(n,e.length)},u:function(t,e){const n=t.getFullYear();return Ve(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return Ve(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return Ve(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return Lr.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return Ve(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const s=Mc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Ve(s,e.length)},I:function(t,e,n){const r=Cc(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):Ve(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Lr.d(t,e)},D:function(t,e,n){const r=x4(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ve(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return Ve(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return Ve(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),s=r===0?7:r;switch(e){case"i":return String(s);case"ii":return Ve(s,e.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const s=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let s;switch(r===12?s=Qs.noon:r===0?s=Qs.midnight:s=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let s;switch(r>=17?s=Qs.evening:r>=12?s=Qs.afternoon:r>=4?s=Qs.morning:s=Qs.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Lr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Lr.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ve(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ve(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Lr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Lr.s(t,e)},S:function(t,e){return Lr.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return xh(r);case"XXXX":case"XX":return fs(r);case"XXXXX":case"XXX":default:return fs(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return xh(r);case"xxxx":case"xx":return fs(r);case"xxxxx":case"xxx":default:return fs(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Ch(r,":");case"OOOO":default:return"GMT"+fs(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Ch(r,":");case"zzzz":default:return"GMT"+fs(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return Ve(r,e.length)},T:function(t,e,n){const r=t.getTime();return Ve(r,e.length)}};function Ch(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Math.trunc(r/60),i=r%60;return i===0?n+String(s):n+String(s)+e+Ve(i,2)}function xh(t,e){return t%60===0?(t>0?"-":"+")+Ve(Math.abs(t)/60,2):fs(t,e)}function fs(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Ve(Math.trunc(r/60),2),i=Ve(r%60,2);return n+s+e+i}const Mh=(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"})}},vh=(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"})}},vc={p:vh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Mh(t,e);let i;switch(r){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",Mh(r,e)).replace("{{time}}",vh(s,e))}},v4=/^D+$/,S4=/^Y+$/,T4=["D","DD","YY","YYYY"];function Sh(t){return v4.test(t)}function Th(t){return S4.test(t)}function Sc(t,e,n){const r=O4(t,e,n);if(console.warn(r),T4.includes(t))throw new RangeError(r)}function O4(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const D4=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E4=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P4=/^'([^]*?)'?$/,L4=/''/g,$4=/[a-zA-Z]/;function In(t,e,n){var u,h,f,m,g,p,_,y;const r=us(),s=(n==null?void 0:n.locale)??r.locale??bh,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(f=r.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((p=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:p.weekStartsOn)??r.weekStartsOn??((y=(_=r.locale)==null?void 0:_.options)==null?void 0:y.weekStartsOn)??0,l=le(t);if(!ji(l))throw new RangeError("Invalid time value");let c=e.match(E4).map(C=>{const k=C[0];if(k==="p"||k==="P"){const S=vc[k];return S(C,s.formatLong)}return C}).join("").match(D4).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:N4(C)};if(kh[k])return{isToken:!0,value:C};if(k.match($4))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(c=s.localize.preprocessor(l,c));const d={firstWeekContainsDate:i,weekStartsOn:a,locale:s};return c.map(C=>{if(!C.isToken)return C.value;const k=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Th(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Sh(k))&&Sc(k,e,String(t));const S=kh[k[0]];return S(l,k,s.localize,d)}).join("")}function N4(t){const e=t.match(P4);return e?e[1].replace(L4,"'"):t}function V4(t){return le(t).getDay()}function B4(t){const e=le(t),n=e.getFullYear(),r=e.getMonth(),s=Le(t,0);return s.setFullYear(n,r+1,0),s.setHours(0,0,0,0),s.getDate()}function A4(){return Object.assign({},us())}function Tn(t){return le(t).getHours()}function F4(t){let n=le(t).getDay();return n===0&&(n=7),n}function zn(t){return le(t).getMinutes()}function Ce(t){return le(t).getMonth()}function Js(t){return le(t).getSeconds()}function ye(t){return le(t).getFullYear()}function qi(t,e){const n=le(t),r=le(e);return n.getTime()>r.getTime()}function Gi(t,e){const n=le(t),r=le(e);return+n<+r}function ei(t,e){const n=le(t),r=le(e);return+n==+r}function R4(t,e){const n=e instanceof Date?Le(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const I4=10;class Oh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class z4 extends Oh{constructor(e,n,r,s,i){super(),this.value=e,this.validateValue=n,this.setValue=r,this.priority=s,i&&(this.subPriority=i)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,r){return this.setValue(e,n,this.value,r)}}class Y4 extends Oh{constructor(){super(...arguments);W(this,"priority",I4);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Le(n,R4(n,Date))}}class $e{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new z4(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class H4 extends $e{constructor(){super(...arguments);W(this,"priority",140);W(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,s){switch(r){case"G":case"GG":case"GGG":return s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"});case"GGGGG":return s.era(n,{width:"narrow"});case"GGGG":default:return s.era(n,{width:"wide"})||s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"})}}set(n,r,s){return r.era=s,n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}const ct={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}/},Yn={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 dt(t,e){return t&&{value:e(t.value),rest:t.rest}}function Xe(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Hn(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const r=n[1]==="+"?1:-1,s=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(s*uh+i*A5+a*F5),rest:e.slice(n[0].length)}}function Dh(t){return Xe(ct.anyDigitsSigned,t)}function nt(t,e){switch(t){case 1:return Xe(ct.singleDigit,e);case 2:return Xe(ct.twoDigits,e);case 3:return Xe(ct.threeDigits,e);case 4:return Xe(ct.fourDigits,e);default:return Xe(new RegExp("^\\d{1,"+t+"}"),e)}}function fa(t,e){switch(t){case 1:return Xe(ct.singleDigitSigned,e);case 2:return Xe(ct.twoDigitsSigned,e);case 3:return Xe(ct.threeDigitsSigned,e);case 4:return Xe(ct.fourDigitsSigned,e);default:return Xe(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Tc(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 Eh(t,e){const n=e>0,r=n?e:1-e;let s;if(r<=50)s=t||100;else{const i=r+50,a=Math.trunc(i/100)*100,l=t>=i%100;s=t+a-(l?100:0)}return n?s:1-s}function Ph(t){return t%400===0||t%4===0&&t%100!==0}class W4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="yy"});switch(r){case"y":return dt(nt(4,n),i);case"yo":return dt(s.ordinalNumber(n,{unit:"year"}),i);default:return dt(nt(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s){const i=n.getFullYear();if(s.isTwoDigitYear){const l=Eh(s.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const a=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class j4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return dt(nt(4,n),i);case"Yo":return dt(s.ordinalNumber(n,{unit:"year"}),i);default:return dt(nt(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s,i){const a=xc(n,i);if(s.isTwoDigitYear){const c=Eh(s.year,a);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Rn(n,i)}const l=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Rn(n,i)}}class Z4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return fa(r==="R"?4:r.length,n)}set(n,r,s){const i=Le(n,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),Xs(i)}}class U4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return fa(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class q4 extends $e{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"Q":case"QQ":return nt(r.length,n);case"Qo":return s.ordinalNumber(n,{unit:"quarter"});case"QQQ":return s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(n,{width:"wide",context:"formatting"})||s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class G4 extends $e{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"q":case"qq":return nt(r.length,n);case"qo":return s.ordinalNumber(n,{unit:"quarter"});case"qqq":return s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(n,{width:"wide",context:"standalone"})||s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class K4 extends $e{constructor(){super(...arguments);W(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);W(this,"priority",110)}parse(n,r,s){const i=a=>a-1;switch(r){case"M":return dt(Xe(ct.month,n),i);case"MM":return dt(nt(2,n),i);case"Mo":return dt(s.ordinalNumber(n,{unit:"month"}),i);case"MMM":return s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(n,{width:"wide",context:"formatting"})||s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}class X4 extends $e{constructor(){super(...arguments);W(this,"priority",110);W(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,s){const i=a=>a-1;switch(r){case"L":return dt(Xe(ct.month,n),i);case"LL":return dt(nt(2,n),i);case"Lo":return dt(s.ordinalNumber(n,{unit:"month"}),i);case"LLL":return s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(n,{width:"wide",context:"standalone"})||s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}function Q4(t,e,n){const r=le(t),s=Mc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class J4 extends $e{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,s){switch(r){case"w":return Xe(ct.week,n);case"wo":return s.ordinalNumber(n,{unit:"week"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s,i){return Rn(Q4(n,s,i),i)}}function e9(t,e){const n=le(t),r=Cc(n)-e;return n.setDate(n.getDate()-r*7),n}class t9 extends $e{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,s){switch(r){case"I":return Xe(ct.week,n);case"Io":return s.ordinalNumber(n,{unit:"week"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s){return Xs(e9(n,s))}}const n9=[31,28,31,30,31,30,31,31,30,31,30,31],r9=[31,29,31,30,31,30,31,31,30,31,30,31];class s9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"subPriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"d":return Xe(ct.date,n);case"do":return s.ordinalNumber(n,{unit:"date"});default:return nt(r.length,n)}}validate(n,r){const s=n.getFullYear(),i=Ph(s),a=n.getMonth();return i?r>=1&&r<=r9[a]:r>=1&&r<=n9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class i9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"subpriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,s){switch(r){case"D":case"DD":return Xe(ct.dayOfYear,n);case"Do":return s.ordinalNumber(n,{unit:"date"});default:return nt(r.length,n)}}validate(n,r){const s=n.getFullYear();return Ph(s)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,s){return n.setMonth(0,s),n.setHours(0,0,0,0),n}}function Oc(t,e,n){var h,f,m,g;const r=us(),s=(n==null?void 0:n.weekStartsOn)??((f=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((g=(m=r.locale)==null?void 0:m.options)==null?void 0:g.weekStartsOn)??0,i=le(t),a=i.getDay(),c=(e%7+7)%7,d=7-s,u=e<0||e>6?e-(a+d)%7:(c+d)%7-(a+d)%7;return vn(i,u)}class o9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"E":case"EE":case"EEE":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Oc(n,s,i),n.setHours(0,0,0,0),n}}class a9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return dt(nt(r.length,n),a);case"eo":return dt(s.ordinalNumber(n,{unit:"day"}),a);case"eee":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeeee":return s.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Oc(n,s,i),n.setHours(0,0,0,0),n}}class l9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return dt(nt(r.length,n),a);case"co":return dt(s.ordinalNumber(n,{unit:"day"}),a);case"ccc":return s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"ccccc":return s.day(n,{width:"narrow",context:"standalone"});case"cccccc":return s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(n,{width:"wide",context:"standalone"})||s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Oc(n,s,i),n.setHours(0,0,0,0),n}}function c9(t,e){const n=le(t),r=F4(n),s=e-r;return vn(n,s)}class d9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,s){const i=a=>a===0?7:a;switch(r){case"i":case"ii":return nt(r.length,n);case"io":return s.ordinalNumber(n,{unit:"day"});case"iii":return dt(s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return dt(s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return dt(s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return dt(s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,s){return n=c9(n,s),n.setHours(0,0,0,0),n}}class u9 extends $e{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,s){switch(r){case"a":case"aa":case"aaa":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class h9 extends $e{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,s){switch(r){case"b":case"bb":case"bbb":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class f9 extends $e{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,s){switch(r){case"B":case"BB":case"BBB":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class m9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,s){switch(r){case"h":return Xe(ct.hour12h,n);case"ho":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,s){const i=n.getHours()>=12;return i&&s<12?n.setHours(s+12,0,0,0):!i&&s===12?n.setHours(0,0,0,0):n.setHours(s,0,0,0),n}}class p9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,s){switch(r){case"H":return Xe(ct.hour23h,n);case"Ho":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,s){return n.setHours(s,0,0,0),n}}class g9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,s){switch(r){case"K":return Xe(ct.hour11h,n);case"Ko":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.getHours()>=12&&s<12?n.setHours(s+12,0,0,0):n.setHours(s,0,0,0),n}}class _9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,s){switch(r){case"k":return Xe(ct.hour24h,n);case"ko":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,s){const i=s<=24?s%24:s;return n.setHours(i,0,0,0),n}}class y9 extends $e{constructor(){super(...arguments);W(this,"priority",60);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"m":return Xe(ct.minute,n);case"mo":return s.ordinalNumber(n,{unit:"minute"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setMinutes(s,0,0),n}}class w9 extends $e{constructor(){super(...arguments);W(this,"priority",50);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"s":return Xe(ct.second,n);case"so":return s.ordinalNumber(n,{unit:"second"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setSeconds(s,0),n}}class b9 extends $e{constructor(){super(...arguments);W(this,"priority",30);W(this,"incompatibleTokens",["t","T"])}parse(n,r){const s=i=>Math.trunc(i*Math.pow(10,-r.length+3));return dt(nt(r.length,n),s)}set(n,r,s){return n.setMilliseconds(s),n}}class k9 extends $e{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Hn(Yn.basicOptionalMinutes,n);case"XX":return Hn(Yn.basic,n);case"XXXX":return Hn(Yn.basicOptionalSeconds,n);case"XXXXX":return Hn(Yn.extendedOptionalSeconds,n);case"XXX":default:return Hn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-ha(n)-s)}}class C9 extends $e{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Hn(Yn.basicOptionalMinutes,n);case"xx":return Hn(Yn.basic,n);case"xxxx":return Hn(Yn.basicOptionalSeconds,n);case"xxxxx":return Hn(Yn.extendedOptionalSeconds,n);case"xxx":default:return Hn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-ha(n)-s)}}class x9 extends $e{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Dh(n)}set(n,r,s){return[Le(n,s*1e3),{timestampIsSet:!0}]}}class M9 extends $e{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Dh(n)}set(n,r,s){return[Le(n,s),{timestampIsSet:!0}]}}const v9={G:new H4,y:new W4,Y:new j4,R:new Z4,u:new U4,Q:new q4,q:new G4,M:new K4,L:new X4,w:new J4,I:new t9,d:new s9,D:new i9,E:new o9,e:new a9,c:new l9,i:new d9,a:new u9,b:new h9,B:new f9,h:new m9,H:new p9,K:new g9,k:new _9,m:new y9,s:new w9,S:new b9,X:new k9,x:new C9,t:new x9,T:new M9},S9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,T9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,O9=/^'([^]*?)'?$/,D9=/''/g,E9=/\S/,P9=/[a-zA-Z]/;function Dc(t,e,n,r){var p,_,y,C,k,S,M,O;const s=A4(),i=(r==null?void 0:r.locale)??s.locale??bh,a=(r==null?void 0:r.firstWeekContainsDate)??((_=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((C=(y=s.locale)==null?void 0:y.options)==null?void 0:C.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((S=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:S.weekStartsOn)??s.weekStartsOn??((O=(M=s.locale)==null?void 0:M.options)==null?void 0:O.weekStartsOn)??0;if(e==="")return t===""?le(n):Le(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new Y4],u=e.match(T9).map(v=>{const D=v[0];if(D in vc){const E=vc[D];return E(v,i.formatLong)}return v}).join("").match(S9),h=[];for(let v of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Th(v)&&Sc(v,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Sh(v)&&Sc(v,e,t);const D=v[0],E=v9[D];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const P=h.find(R=>I.includes(R.token)||R.token===D);if(P)throw new RangeError(`The format string mustn't contain \`${P.fullToken}\` and \`${v}\` at the same time`)}else if(E.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${v}\` and any other token at the same time`);h.push({token:D,fullToken:v});const j=E.run(t,v,i.match,c);if(!j)return Le(n,NaN);d.push(j.setter),t=j.rest}else{if(D.match(P9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");if(v==="''"?v="'":D==="'"&&(v=L9(v)),t.indexOf(v)===0)t=t.slice(v.length);else return Le(n,NaN)}}if(t.length>0&&E9.test(t))return Le(n,NaN);const f=d.map(v=>v.priority).sort((v,D)=>D-v).filter((v,D,E)=>E.indexOf(v)===D).map(v=>d.filter(D=>D.priority===v).sort((D,E)=>E.subPriority-D.subPriority)).map(v=>v[0]);let m=le(n);if(isNaN(m.getTime()))return Le(n,NaN);const g={};for(const v of f){if(!v.validate(m,c))return Le(n,NaN);const D=v.set(m,g,c);Array.isArray(D)?(m=D[0],Object.assign(g,D[1])):m=D}return Le(n,m)}function L9(t){return t.match(O9)[1].replace(D9,"'")}function Lh(t,e){const n=hs(t),r=hs(e);return+n==+r}function $9(t,e){return vn(t,-e)}function $h(t,e){const n=le(t),r=n.getFullYear(),s=n.getDate(),i=Le(t,0);i.setFullYear(r,e,15),i.setHours(0,0,0,0);const a=B4(i);return n.setMonth(e,Math.min(s,a)),n}function He(t,e){let n=le(t);return isNaN(+n)?Le(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=$h(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function Nh(t,e){const n=le(t);return n.setHours(e),n}function Ec(t,e){const n=le(t);return n.setMilliseconds(e),n}function Vh(t,e){const n=le(t);return n.setMinutes(e),n}function Pc(t,e){const n=le(t);return n.setSeconds(e),n}function Wn(t,e){const n=le(t);return isNaN(+n)?Le(t,NaN):(n.setFullYear(e),n)}function ti(t,e){return Sn(t,-e)}function N9(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=ti(t,r+n*12),u=$9(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Le(t,u.getTime()-m)}function Bh(t,e){return bc(t,-e)}function ni(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),o.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ni.compatConfig={MODE:3};function Ah(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),o.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ah.compatConfig={MODE:3};function Lc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Lc.compatConfig={MODE:3};function $c(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}$c.compatConfig={MODE:3};function Nc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),o.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Nc.compatConfig={MODE:3};function Vc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Vc.compatConfig={MODE:3};function Bc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Bc.compatConfig={MODE:3};function Fh(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function V9(t){return e=>In(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const B9=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(V9(t))}catch{s=r.map(Fh(e))}else s=r.map(Fh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Ac=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:Wh(s,e)});return n?r.reverse():r},Rh=(t,e,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const a=i<10?`0${i}`:i;return new Date(`2017-${a}-01T00:00:00+00:00`)});if(t!==null)try{const i=n==="long"?"MMMM":"MMM";return r.map((a,l)=>{const c=In(a,i,{locale:t});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:l}})}catch{}const s=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return r.map((i,a)=>{const l=s.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})},A9=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],wt=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},F9=t=>({type:"dot",...t??{}}),Ih=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Fc={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Ct=t=>t,zh=t=>t===0?t:!t||isNaN(+t)?null:+t,Yh=t=>t===null,Hh=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},R9=t=>{const e=[],n=r=>r.filter(s=>s);for(let r=0;r<t.length;r+=3){const s=[t[r],t[r+1],t[r+2]];e.push(n(s))}return e},Ki=(t,e,n)=>{const r=n!=null,s=e!=null;if(!r&&!s)return!1;const i=+n,a=+e;return r&&s?+t>i||+t<a:r?+t>i:s?+t<a:!1},ri=(t,e)=>R9(t).map(n=>n.map(r=>{const{active:s,disabled:i,isBetween:a,highlighted:l}=e(r);return{...r,active:s,disabled:i,className:{dp__overlay_cell_active:s,dp__overlay_cell:!s,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&s,dp__cell_in_between:a,"dp--highlighted":l}}})),$r=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},I9=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function z9(t,e){let n=[...document.querySelectorAll(I9())];n=n.filter(s=>!t.contains(s)||s.hasAttribute("data-datepicker-instance"));const r=n.indexOf(t);if(r>=0&&(e?r-1>=0:r+1<=n.length))return n[r+(e?-1:1)]}const Y9=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),Wh=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),Rc=t=>In(t,"dd-MM-yyyy"),Ic=t=>Array.isArray(t),ma=(t,e)=>e.get(Rc(t)),H9=(t,e)=>t?e?e instanceof Map?!!ma(t,e):e(q(t)):!1:!0,jh=(t,e,n,r,s,i)=>{const a=Dc(t,e.slice(0,t.length),new Date,{locale:i});return ji(a)&&ph(a)?r||s?a:He(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},W9=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return jh(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=jh(t,c,a,r,s,i),l)break;return l}return typeof e=="function"?e(t):null},q=t=>t?new Date(t):new Date,j9=(t,e,n)=>{if(e){const s=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),l=t.getMinutes().toString().padStart(2,"0"),c=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${s}-${i}T${a}:${l}:${c}.000Z`}const r=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(r).toISOString()},Zt=t=>{let e=q(JSON.parse(JSON.stringify(t)));return e=Nh(e,0),e=Vh(e,0),e=Pc(e,0),e=Ec(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Nh(s,+e)),(n||n===0)&&(s=Vh(s,+n)),(r||r===0)&&(s=Pc(s,+r)),Ec(s,0)},rt=(t,e)=>!t||!e?!1:Gi(Zt(t),Zt(e)),Me=(t,e)=>!t||!e?!1:ei(Zt(t),Zt(e)),ut=(t,e)=>!t||!e?!1:qi(Zt(t),Zt(e)),pa=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ut(n,t[0])&&rt(n,t[1]):t!=null&&t[0]&&e?ut(n,t[0])&&rt(n,e)||rt(n,t[0])&&ut(n,e):!1,On=t=>{const e=He(new Date(t),{date:1});return Zt(e)},zc=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===e?[r,n]:[r,isNaN(+t[r])?void 0:+t[r]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},ms=t=>({hours:Tn(t),minutes:zn(t),seconds:Js(t)}),Zh=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},Uh=(t,e)=>{if(e){const n=ye(q(e));return n<t?-1:n===t?Ce(q(e)):void 0}},si=t=>{if(t)return ye(q(t))},qh=(t,e)=>{const n=ut(t,e)?e:t,r=ut(e,t)?e:t;return _h({start:n,end:r})},Z9=t=>{const e=Sn(t,1);return{month:Ce(e),year:ye(e)}},or=(t,e)=>{const n=Rn(t,{weekStartsOn:+e}),r=j5(t,{weekStartsOn:+e});return[n,r]},Gh=(t,e)=>{const n={hours:Tn(q()),minutes:zn(q()),seconds:e?Js(q()):0};return Object.assign(n,t)},Vr=(t,e,n)=>[He(q(t),{date:1}),He(q(),{month:e,year:n,date:1})],ar=(t,e,n)=>{let r=t?q(t):q();return(e||e===0)&&(r=$h(r,e)),n&&(r=Wn(r,n)),r},Kh=(t,e,n,r,s)=>{if(!r||s&&!e||!s&&!n)return!1;const i=s?Sn(t,1):ti(t,1),a=[Ce(i),ye(i)];return s?!q9(...a,e):!U9(...a,n)},U9=(t,e,n)=>rt(...Vr(n,t,e))||Me(...Vr(n,t,e)),q9=(t,e,n)=>ut(...Vr(n,t,e))||Me(...Vr(n,t,e)),Xh=(t,e,n,r,s,i,a)=>{if(typeof e=="function"&&!a)return e(t);const l=n?{locale:n}:void 0;return Array.isArray(t)?`${In(t[0],i,l)}${s&&!t[1]?"":r}${t[1]?In(t[1],i,l):""}`:In(t,i,l)},ii=t=>{if(t)return null;throw new Error(Fc.prop("partial-range"))},ga=(t,e)=>{if(e)return t();throw new Error(Fc.prop("range"))},Yc=t=>Array.isArray(t)?ji(t[0])&&(t[1]?ji(t[1]):!0):t?ji(t):!1,G9=(t,e)=>He(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Hc=(t,e,n,r)=>{if(!t)return!0;if(r){const s=n==="max"?Gi(t,e):qi(t,e),i={seconds:0,milliseconds:0};return s||ei(He(t,i),He(e,i))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Wc=(t,e,n)=>t?G9(t,e):q(n??e),Qh=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Wc(t,r[0],e),l=Wc(t,r[1],e);return Hc(r[0],a,n,!!e)&&Hc(r[1],l,n,!!e)&&s}const i=Wc(t,r,e);return Hc(r,i,n,!!e)&&s},jc=t=>He(q(),ms(t)),K9=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],Jh=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),Zc=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Xi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),ef=()=>{const t=n=>{Xi.menuFocused=n},e=n=>{Xi.shiftKeyInMenu!==n&&(Xi.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:Xi.shiftKeyInMenu,menuFocused:Xi.menuFocused})),setMenuFocused:t,setShiftKey:e}},je=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Uc=o.ref(null),_a=o.ref(!1),qc=o.ref(!1),Gc=o.ref(!1),Kc=o.ref(!1),Tt=o.ref(0),ht=o.ref(0),Br=()=>{const t=o.computed(()=>_a.value?[...je.selectionGrid,je.actionRow].filter(h=>h.length):qc.value?[...je.timePicker[0],...je.timePicker[1],Kc.value?[]:[Uc.value],je.actionRow].filter(h=>h.length):Gc.value?[...je.monthPicker,je.actionRow]:[je.monthYear,...je.calendar,je.time,je.actionRow].filter(h=>h.length)),e=h=>{Tt.value=h?Tt.value+1:Tt.value-1;let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),!f&&t.value[ht.value+(h?1:-1)]?(ht.value=ht.value+(h?1:-1),Tt.value=h?0:t.value[ht.value].length-1):f||(Tt.value=h?Tt.value-1:Tt.value+1)},n=h=>{ht.value===0&&!h||ht.value===t.value.length&&h||(ht.value=h?ht.value+1:ht.value-1,t.value[ht.value]?t.value[ht.value]&&!t.value[ht.value][Tt.value]&&Tt.value!==0&&(Tt.value=t.value[ht.value].length-1):ht.value=h?ht.value-1:ht.value+1)},r=h=>{let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),f?f.focus({preventScroll:!_a.value}):Tt.value=h?Tt.value-1:Tt.value+1},s=()=>{e(!0),r(!0)},i=()=>{e(!1),r(!1)},a=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(h,f)=>{je[f]=h},d=(h,f)=>{je[f]=h},u=()=>{Tt.value=0,ht.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{Uc.value=h},setSelectionGrid:h=>{_a.value=h,u(),h||(je.selectionGrid=[])},setTimePicker:(h,f=!1)=>{qc.value=h,Kc.value=f,u(),h||(je.timePicker[0]=[],je.timePicker[1]=[])},setTimePickerElements:(h,f=0)=>{je.timePicker[f]=h},arrowRight:s,arrowLeft:i,arrowUp:a,arrowDown:l,clearArrowNav:()=>{je.monthYear=[],je.calendar=[],je.time=[],je.actionRow=[],je.selectionGrid=[],je.timePicker[0]=[],je.timePicker[1]=[],_a.value=!1,qc.value=!1,Kc.value=!1,Gc.value=!1,u(),Uc.value=null},setMonthPicker:h=>{Gc.value=h,u()},refSets:je}},lr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),tf=(t,e)=>Xc(t,e)||q(),X9=(t,e)=>e.dateInTz?lr(new Date(t),e.dateInTz):q(t),Xc=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?X9(t,e):lr(n,e.timezone)},Q9=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(e.toLocaleString("en-US",{timeZone:t})),s=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-s},nf=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),J9=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,...t??{}}),rf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,e7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:rf(!1)};const r=e?t:{},s=e?r.count??!0:t,i=rf(s);return Object.assign(n,r,{count:i})},t7=(t,e,n)=>t||(typeof n=="string"?n:e),n7=t=>typeof t=="boolean"?t?nf({}):!1:nf(t),r7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},s7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),i7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),o7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},a7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),l7=t=>{const e={dates:Array.isArray(t)?t.map(n=>q(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},c7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},d7=(t,e)=>typeof t=="object"?{enabled:!0,...{noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1},...t}:{enabled:t,noDisabledRange:e.noDisabledRange,showLastInRange:e.showLastInRange,minMaxRawRange:e.minMaxRawRange,partialRange:e.partialRange,disableTimeRangeValidation:e.disableTimeRangeValidation,maxRange:e.maxRange,minRange:e.minRange,autoRange:e.autoRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd},u7=(t,e)=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:e,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:e??t.emitTimezone,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:e},Qc=(t,e)=>new Map(t.map(n=>{const r=tf(n,e);return[Rc(r),r]})),h7=(t,e)=>t.length?new Map(t.map(n=>{const r=tf(n.date,e);return[Rc(r),n]})):null,f7=(t,e,n,r,s,i,a)=>({minDate:Xc(t,a),maxDate:Xc(e,a),disabledDates:Ic(n)?Qc(n,a):n,allowedDates:Ic(r)?Qc(r,a):null,highlight:typeof s=="object"&&Ic(s==null?void 0:s.dates)?Qc(s.dates,a):s,markers:h7(i,a)}),m7=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},Qe=t=>{const e=()=>{const M=t.enableSeconds?":ss":"";return t.is24?`HH:mm${M}`:`hh:mm${M} aa`},n=()=>{var M;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((M=_.value)==null?void 0:M.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},r=M=>Gh(M,t.enableSeconds),s=()=>S.value.enabled?t.startTime&&Array.isArray(t.startTime)?[r(t.startTime[0]),r(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?r(t.startTime):null,i=o.computed(()=>e7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>J9(t.ariaLabels)),c=o.computed(()=>s7(t.filters)),d=o.computed(()=>n7(t.transitions)),u=o.computed(()=>i7(t.actionRow)),h=o.computed(()=>t7(t.previewFormat,t.format,n())),f=o.computed(()=>r7(t.textInput)),m=o.computed(()=>o7(t.inline)),g=o.computed(()=>a7(t.config)),p=o.computed(()=>l7(t.highlight)),_=o.computed(()=>c7(t.weekNumbers)),y=o.computed(()=>u7(t.timezone,t.emitTimezone)),C=o.computed(()=>m7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>f7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),S=o.computed(()=>d7(t.range,{minMaxRawRange:!1,maxRange:t.maxRange,minRange:t.minRange,noDisabledRange:t.noDisabledRange,showLastInRange:t.showLastInRange,partialRange:t.partialRange,disableTimeRangeValidation:t.disableTimeRangeValidation,autoRange:t.autoRange,fixedStart:t.fixedStart,fixedEnd:t.fixedEnd}));return{defaultedTransitions:d,defaultedMultiCalendars:i,defaultedStartTime:a,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:u,defaultedPreviewFormat:h,defaultedTextInput:f,defaultedInline:m,defaultedConfig:g,defaultedHighlight:p,defaultedWeekNumbers:_,defaultedRange:S,propDates:k,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},p7=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:s,defaultedRange:i,defaultedTz:a,defaultedMultiDates:l,getDefaultPattern:c}=Qe(e),d=o.ref(""),u=o.toRef(e,"format");o.watch(r,()=>{t("internal-model-change",r.value)},{deep:!0}),o.watch(u,()=>{N()});const h=w=>a.value.timezone&&a.value.convertModel?lr(w,a.value.timezone):w,f=w=>{if(a.value.timezone&&a.value.convertModel){const B=Q9(a.value.timezone);return R5(w,B)}return w},m=(w,B,z=!1)=>Xh(w,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,B??c(),z),g=w=>w?e.modelType?ee(w):{hours:Tn(w),minutes:zn(w),seconds:e.enableSeconds?Js(w):0}:null,p=w=>e.modelType?ee(w):{month:Ce(w),year:ye(w)},_=w=>Array.isArray(w)?l.value.enabled?w.map(B=>y(B,Wn(q(),B))):ga(()=>[Wn(q(),w[0]),w[1]?Wn(q(),w[1]):ii(i.value.partialRange)],i.value.enabled):Wn(q(),+w),y=(w,B)=>(typeof w=="string"||typeof w=="number")&&e.modelType?Z(w):B,C=w=>Array.isArray(w)?[y(w[0],Nr(null,+w[0].hours,+w[0].minutes,w[0].seconds)),y(w[1],Nr(null,+w[1].hours,+w[1].minutes,w[1].seconds))]:y(w,Nr(null,w.hours,w.minutes,w.seconds)),k=w=>{const B=He(q(),{date:1});return Array.isArray(w)?l.value.enabled?w.map(z=>y(z,ar(B,+z.month,+z.year))):ga(()=>[y(w[0],ar(B,+w[0].month,+w[0].year)),y(w[1],w[1]?ar(B,+w[1].month,+w[1].year):ii(i.value.partialRange))],i.value.enabled):y(w,ar(B,+w.month,+w.year))},S=w=>{if(Array.isArray(w))return w.map(B=>Z(B));throw new Error(Fc.dateArr("multi-dates"))},M=w=>{if(Array.isArray(w)&&i.value.enabled){const B=w[0],z=w[1];return[q(Array.isArray(B)?B[0]:null),q(Array.isArray(z)?z[0]:null)]}return q(w[0])},O=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?ga(()=>w[1]?[Z(w[0]),w[1]?Z(w[1]):ii(i.value.partialRange)]:[Z(w[0])],i.value.enabled):Z(w),v=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ii(i.value.partialRange))},D=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):ii(i.value.partialRange)]},E=()=>r.value[1]?D():ee(Ct(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(v(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?ga(()=>D(),i.value.enabled):ee(Ct(r.value))),P=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(Ct(w)):e.monthPicker?k(Ct(w)):e.yearPicker?_(Ct(w)):l.value.enabled?S(Ct(w)):e.weekPicker?M(Ct(w)):O(Ct(w)),R=w=>{const B=P(w);Yc(Ct(B))?(r.value=Ct(B),N()):(r.value=null,d.value="")},G=()=>{const w=B=>In(B,s.value.format);return`${w(r.value[0])} ${s.value.rangeSeparator} ${r.value[1]?w(r.value[1]):""}`},T=()=>n.value&&r.value?Array.isArray(r.value)?G():In(r.value,s.value.format):m(r.value),x=()=>r.value?l.value.enabled?r.value.map(w=>m(w)).join("; "):s.value.enabled&&typeof s.value.format=="string"?T():m(r.value):"",N=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?d.value=x():d.value=e.format(r.value)},Z=w=>{if(e.utc){const B=new Date(w);return e.utc==="preserve"?new Date(B.getTime()+B.getTimezoneOffset()*6e4):B}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?h(new Date(w)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Dc(w,c(),new Date)):h(Dc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?j9(w,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+f(w):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?m(f(w)):m(f(w),e.modelType,!0):f(w):"",U=(w,B=!1)=>{if(t("update:model-value",w),a.value.emitTimezone&&B){const z=Array.isArray(w)?w.map(be=>lr(Ct(be),a.value.emitTimezone)):lr(Ct(w),a.value.emitTimezone);t("update:model-timezone-value",z)}},L=w=>Array.isArray(r.value)?l.value.enabled?r.value.map(B=>w(B)):[w(r.value[0]),r.value[1]?w(r.value[1]):ii(i.value.partialRange)]:w(Ct(r.value)),V=()=>{if(Array.isArray(r.value)){const w=or(r.value[0],e.weekStart),B=r.value[1]?or(r.value[1],e.weekStart):[];return[w.map(z=>q(z)),B.map(z=>q(z))]}return or(r.value,e.weekStart).map(w=>q(w))},b=w=>U(Ct(L(w)));return{inputValue:d,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:R,formatInputValue:N,emitModelValue:()=>(N(),e.monthPicker?b(p):e.timePicker?b(g):e.yearPicker?b(ye):e.weekPicker?t("update:model-value",V()):U(j(),!0))}},g7=(t,e)=>{const{defaultedFilters:n,propDates:r}=Qe(t),{validateMonthYearInRange:s}=Fr(t),i=(u,h)=>{let f=u;return n.value.months.includes(Ce(f))?(f=h?Sn(u,1):ti(u,1),i(f,h)):f},a=(u,h)=>{let f=u;return n.value.years.includes(ye(f))?(f=h?bc(u,1):Bh(u,1),a(f,h)):f},l=(u,h=!1)=>{const f=He(q(),{month:t.month,year:t.year});let m=u?Sn(f,1):ti(f,1);t.disableYearSelect&&(m=Wn(m,t.year));let g=Ce(m),p=ye(m);n.value.months.includes(g)&&(m=i(m,u),g=Ce(m),p=ye(m)),n.value.years.includes(p)&&(m=a(m,u),p=ye(m)),s(g,p,u,t.preventMinMaxNavigation)&&c(g,p,h)},c=(u,h,f)=>{e("update-month-year",{month:u,year:h,fromNav:f})},d=o.computed(()=>u=>Kh(He(q(),{month:t.month,year:t.year}),r.value.maxDate,r.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:l,isDisabled:d,updateMonthYear:c}};var oi=(t=>(t.center="center",t.left="left",t.right="right",t))(oi||{}),Dn=(t=>(t.month="month",t.year="year",t))(Dn||{}),ps=(t=>(t.top="top",t.bottom="bottom",t))(ps||{}),gs=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(gs||{}),jn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(jn||{});const _7=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:r,inline:s,emit:i,props:a,slots:l})=>{const c=o.ref({}),d=o.ref(!1),u=o.ref({top:"0",left:"0"}),h=o.ref(!1),f=o.toRef(a,"teleportCenter");o.watch(f,()=>{u.value=JSON.parse(JSON.stringify({})),S()});const m=T=>{if(a.teleport){const x=T.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(T,x)=>{u.value.left=`${T+x-c.value.width}px`},p=T=>{u.value.left=`${T}px`},_=(T,x)=>{a.position===oi.left&&p(T),a.position===oi.right&&g(T,x),a.position===oi.center&&(u.value.left=`${T+x/2-c.value.width/2}px`)},y=T=>{const{width:x,height:N}=T.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(T):m(T);return{top:+Z,left:+ee,width:x,height:N}},C=()=>{u.value.left="50%",u.value.top="50%",u.value.transform="translate(-50%, -50%)",u.value.position="fixed",delete u.value.opacity},k=()=>{const T=wt(n),{top:x,left:N,transform:Z}=a.altPosition(T);u.value={top:`${x}px`,left:`${N}px`,transform:Z??""}},S=(T=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(T){const N=a.teleport?(x=e.value)==null?void 0:x.$el:t.value;N&&(c.value=N.getBoundingClientRect()),i("recalculate-position")}return j()}},M=({inputEl:T,left:x,width:N})=>{window.screen.width>768&&!d.value&&_(x,N),D(T)},O=T=>{const{top:x,left:N,height:Z,width:ee}=y(T);u.value.top=`${Z+x+ +a.offset}px`,h.value=!1,d.value||(u.value.left=`${N+ee/2-c.value.width/2}px`),M({inputEl:T,left:N,width:ee})},v=T=>{const{top:x,left:N,width:Z}=y(T);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:T,left:N,width:Z})},D=T=>{if(a.autoPosition){const{left:x,width:N}=y(T),{left:Z,right:ee}=c.value;if(!d.value){if(Math.abs(Z)!==Math.abs(ee)){if(Z<=0)return d.value=!0,p(x);if(ee>=document.documentElement.clientWidth)return d.value=!0,g(x,N)}return _(x,N)}}},E=()=>{const T=wt(n);if(T){const{height:x}=c.value,{top:N,height:Z}=T.getBoundingClientRect(),ee=window.innerHeight-N-Z,U=N;return x<=ee?ps.bottom:x>ee&&x<=U?ps.top:ee>=U?ps.bottom:ps.top}return ps.bottom},I=T=>E()===ps.bottom?O(T):v(T),j=()=>{const T=wt(n);if(T)return a.autoPosition?I(T):O(T)},P=function(T){if(T){const x=T.scrollHeight>T.clientHeight,N=window.getComputedStyle(T).overflowY.indexOf("hidden")!==-1;return x&&!N}return!0},R=function(T){return!T||T===document.body||T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:P(T)?T:R(T.parentNode)},G=T=>{if(T)switch(a.position){case oi.left:return{left:0,transform:"translateX(0)"};case oi.right:return{left:`${T.width}px`,transform:"translateX(-100%)"};default:return{left:`${T.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:S,getScrollableParent:R,shadowRender:(T,x)=>{var N,Z,ee;const U=document.createElement("div"),L=(N=wt(n))==null?void 0:N.getBoundingClientRect();U.setAttribute("id","dp--temp-container");const V=(Z=r.value)!=null&&Z.clientWidth?r.value:document.body;V.append(U);const b=G(L),w=o.h(T,{...x,shadow:!0,style:{opacity:0,position:"absolute",...b}},Object.fromEntries(Object.keys(l).filter(B=>["right-sidebar","left-sidebar"].includes(B)).map(B=>[B,l[B]])));o.render(w,U),c.value=(ee=w.el)==null?void 0:ee.getBoundingClientRect(),o.render(null,U),V.removeChild(U)}}},Ar=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]}],y7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],w7={all:()=>Ar,monthYear:()=>Ar.filter(t=>t.use.includes("month-year")),input:()=>y7,timePicker:()=>Ar.filter(t=>t.use.includes("time")),action:()=>Ar.filter(t=>t.use.includes("action")),calendar:()=>Ar.filter(t=>t.use.includes("calendar")),menu:()=>Ar.filter(t=>t.use.includes("menu")),shared:()=>Ar.filter(t=>t.use.includes("shared")),yearMode:()=>Ar.filter(t=>t.use.includes("year-mode"))},Ut=(t,e,n)=>{const r=[];return w7[e]().forEach(s=>{t[s.name]&&r.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&r.push(s.slot)}),r},Qi=t=>{const e=o.computed(()=>r=>t.value?r?t.value.open:t.value.close:""),n=o.computed(()=>r=>t.value?r?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Ji=(t,e)=>{const{defaultedRange:n,defaultedTz:r}=Qe(t),s=q(lr(q(),r.value.timezone)),i=o.ref([{month:Ce(s),year:ye(s)}]),a=o.reactive({hours:n.value.enabled?[Tn(s),Tn(s)]:Tn(s),minutes:n.value.enabled?[zn(s),zn(s)]:zn(s),seconds:n.value.enabled?[0,0]:0}),l=o.computed({get:()=>t.internalModelValue,set:u=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",u)}}),c=o.computed(()=>u=>i.value[u]?i.value[u].month:0),d=o.computed(()=>u=>i.value[u]?i.value[u].year:0);return{calendars:i,time:a,modelValue:l,month:c,year:d}},b7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=Qe(e),{isDisabled:c}=Fr(e),d=o.ref(null),u=o.ref(lr(new Date,i.value.timezone)),h=b=>{!b.current&&e.hideOffsetDates||(d.value=b.value)},f=()=>{d.value=null},m=b=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?b?ut(d.value,t.value[0]):rt(d.value,t.value[0]):!0,g=(b,w)=>{const B=()=>t.value?w?t.value[0]||null:t.value[1]:null,z=t.value&&Array.isArray(t.value)?B():null;return Me(q(b.value),z)},p=b=>{const w=Array.isArray(t.value)?t.value[0]:null;return b?!rt(d.value??null,w):!0},_=(b,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!b.current?!1:Me(q(b.value),t.value[w?0:1]):l.value.enabled?g(b,w)&&p(w)||Me(b.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(b,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?b?!1:B?ut(t.value[0],w.value):rt(t.value[0],w.value):!1,C=b=>!t.value||e.hideOffsetDates&&!b.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Me(b.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Me(w,b.value)):Me(b.value,t.value?t.value:u.value),k=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=vn(d.value,+l.value.autoRange),B=or(q(d.value),e.weekStart);return e.weekPicker?Me(B[1],q(b.value)):Me(w,q(b.value))}return!1}return!1},S=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=vn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!b.current)return!1;const B=or(q(d.value),e.weekStart);return e.weekPicker?ut(b.value,B[0])&&rt(b.value,B[1]):ut(b.value,d.value)&&rt(b.value,w)}return!1}return!1},M=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=or(q(d.value),e.weekStart);return e.weekPicker?Me(w[0],b.value):Me(d.value,b.value)}return!1}return!1},O=b=>pa(t.value,d.value,b.value),v=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,D=()=>e.modelAuto?Ih(e.internalModelValue):!0,E=b=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(b)&&!_(b,!1):!0;return!c(b.value)&&!C(b)&&!(!b.current&&e.hideOffsetDates)&&w},I=b=>l.value.enabled?e.modelAuto?v()&&C(b):!1:C(b),j=b=>s.value?H9(b.value,a.value.highlight):!1,P=b=>{const w=c(b.value);return w&&(typeof s.value=="function"?!s.value(b.value,w):!s.value.options.highlightDisabled)},R=b=>{var w;return typeof s.value=="function"?s.value(b.value):(w=s.value.weekdays)==null?void 0:w.includes(b.value.getDay())},G=b=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||b.current)&&D()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?O(b):!1,T=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b),z=l.value.enabled?w||B:!1;return{dp__cell_offset:!b.current,dp__pointer:!e.disabled&&!(!b.current&&e.hideOffsetDates)&&!c(b.value),dp__cell_disabled:c(b.value),dp__cell_highlight:!P(b)&&(j(b)||R(b))&&!I(b)&&!z&&!M(b)&&!(G(b)&&e.weekPicker)&&!B,dp__cell_highlight_active:!P(b)&&(j(b)||R(b))&&I(b),dp__today:!e.noToday&&Me(b.value,u.value)&&b.current,"dp--past":rt(b.value,u.value),"dp--future":ut(b.value,u.value)}},x=b=>({dp__active_date:I(b),dp__date_hover:E(b)}),N=b=>{if(t.value&&!Array.isArray(t.value)){const w=or(t.value,e.weekStart);return{...L(b),dp__range_start:Me(w[0],b.value),dp__range_end:Me(w[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])}}return{...L(b)}},Z=b=>{if(t.value&&Array.isArray(t.value)){const w=or(t.value[0],e.weekStart),B=t.value[1]?or(t.value[1],e.weekStart):[];return{...L(b),dp__range_start:Me(w[0],b.value)||Me(B[0],b.value),dp__range_end:Me(w[1],b.value)||Me(B[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])||ut(b.value,B[0])&&rt(b.value,B[1]),dp__range_between:ut(b.value,w[1])&&rt(b.value,B[0])}}return{...L(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&D():_(b)&&D(),B=n.value.count>0?b.current&&_(b,!1)&&D():_(b,!1)&&D();return{isRangeStart:w,isRangeEnd:B}},U=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(b),dp__date_hover:E(b),dp__date_hover_start:y(E(b),b,!0),dp__date_hover_end:y(E(b),b,!1)}},L=b=>({...U(b),dp__cell_auto_range:S(b),dp__cell_auto_range_start:M(b),dp__cell_auto_range_end:k(b)}),V=b=>l.value.enabled?l.value.autoRange?L(b):e.modelAuto?{...x(b),...U(b)}:e.weekPicker?Z(b):U(b):e.weekPicker?N(b):x(b);return{setHoverDate:h,clearHoverDate:f,getDayClassData:b=>e.hideOffsetDates&&!b.current?{}:{...T(b),...V(b),[e.dayClass?e.dayClass(b.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},Fr=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:s}=Qe(t),i=P=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q(P)):!!ma(P,r.value.disabledDates):!1,a=P=>{const R=r.value.maxDate?ut(P,r.value.maxDate):!1,G=r.value.minDate?rt(P,r.value.minDate):!1,T=i(P),x=e.value.months.map(L=>+L).includes(Ce(P)),N=t.disabledWeekDays.length?t.disabledWeekDays.some(L=>+L===V4(P)):!1,Z=h(P),ee=ye(P),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(R||G||T||x||U||N||Z)},l=(P,R)=>rt(...Vr(r.value.minDate,P,R))||Me(...Vr(r.value.minDate,P,R)),c=(P,R)=>ut(...Vr(r.value.maxDate,P,R))||Me(...Vr(r.value.maxDate,P,R)),d=(P,R,G)=>{let T=!1;return r.value.maxDate&&G&&c(P,R)&&(T=!0),r.value.minDate&&!G&&l(P,R)&&(T=!0),T},u=(P,R,G,T)=>{let x=!1;return T?r.value.minDate&&r.value.maxDate?x=d(P,R,G):(r.value.minDate&&l(P,R)||r.value.maxDate&&c(P,R))&&(x=!0):x=!0,x},h=P=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!ma(P,r.value.allowedDates):!1,f=P=>!a(P),m=P=>n.value.noDisabledRange?!_h({start:P[0],end:P[1]}).some(R=>f(R)):!0,g=P=>{if(P){const R=ye(P);return R>=+t.yearRange[0]&&R<=t.yearRange[1]}return!0},p=(P,R)=>!!(Array.isArray(P)&&P[R]&&(n.value.maxRange||n.value.minRange)&&g(P[R])),_=(P,R,G=0)=>{if(p(R,G)&&g(P)){const T=mh(P,R[G]),x=qh(R[G],P),N=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(T)-(n.value.minMaxRawRange?0:N);if(n.value.minRange&&n.value.maxRange)return Z>=+n.value.minRange&&Z<=+n.value.maxRange;if(n.value.minRange)return Z>=+n.value.minRange;if(n.value.maxRange)return Z<=+n.value.maxRange}return!0},y=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,C=P=>Array.isArray(P)?[P[0]?jc(P[0]):null,P[1]?jc(P[1]):null]:jc(P),k=(P,R,G)=>P.find(T=>+T.hours===Tn(R)&&T.minutes==="*"?!0:+T.minutes===zn(R)&&+T.hours===Tn(R))&&G,S=(P,R,G)=>{const[T,x]=P,[N,Z]=R;return!k(T,N,G)&&!k(x,Z,G)&&G},M=(P,R)=>{const G=Array.isArray(R)?R:[R];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?S(t.disabledTimes,G,P):!G.some(T=>k(t.disabledTimes,T,P)):P},O=(P,R)=>{const G=Array.isArray(R)?[ms(R[0]),R[1]?ms(R[1]):void 0]:ms(R),T=!t.disabledTimes(G);return P&&T},v=(P,R)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(R,P):O(R,P):R,D=P=>{let R=!0;if(!P||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C(P):P;return(t.maxTime||r.value.maxDate)&&(R=Qh(t.maxTime,r.value.maxDate,"max",Ct(G),R)),(t.minTime||r.value.minDate)&&(R=Qh(t.minTime,r.value.minDate,"min",Ct(G),R)),v(P,R)},E=P=>{if(!t.monthPicker)return!0;let R=!0;const G=q(On(P));if(r.value.minDate&&r.value.maxDate){const T=q(On(r.value.minDate)),x=q(On(r.value.maxDate));return ut(G,T)&&rt(G,x)||Me(G,T)||Me(G,x)}if(r.value.minDate){const T=q(On(r.value.minDate));R=ut(G,T)||Me(G,T)}if(r.value.maxDate){const T=q(On(r.value.maxDate));R=rt(G,T)||Me(G,T)}return R},I=o.computed(()=>P=>!t.enableTimePicker||t.ignoreTimeValidation?!0:D(P)),j=o.computed(()=>P=>t.monthPicker?Array.isArray(P)&&(n.value.enabled||s.value.enabled)?!P.filter(R=>!E(R)).length:E(P):!0);return{isDisabled:f,validateDate:a,validateMonthYearInRange:u,isDateRangeAllowed:m,checkMinMaxRange:_,isValidTime:D,isTimeValid:I,isMonthValid:j}},ya=()=>{const t=o.computed(()=>(r,s)=>r==null?void 0:r.includes(s)),e=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===0:!0),n=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===r.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},k7=(t,e,n)=>{const r=o.ref(0),s=o.reactive({[gs.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[gs.calendar]:!1,[gs.header]:!1}),i=o.computed(()=>t.monthPicker),a=h=>{var f;if((f=t.flow)!=null&&f.length){if(!h&&i.value)return u();s[h]=!0,Object.keys(s).filter(m=>!s[m]).length||u()}},l=()=>{var h;(h=t.flow)!=null&&h.length&&r.value!==-1&&(r.value+=1,e("flow-step",r.value),u())},c=()=>{r.value=-1},d=(h,f,...m)=>{var g,p;t.flow[r.value]===h&&n.value&&((p=(g=n.value)[f])==null||p.call(g,...m))},u=()=>{d(jn.month,"toggleMonthPicker",!0),d(jn.year,"toggleYearPicker",!0),d(jn.calendar,"toggleTimePicker",!1,!0),d(jn.time,"toggleTimePicker",!0,!0);const h=t.flow[r.value];(h===jn.hours||h===jn.minutes||h===jn.seconds)&&d(h,"toggleTimePicker",!0,!0,h)};return{childMount:a,updateFlowStep:l,resetFlow:c,flowStep:r}},wa={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},emitTimezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},calendarCellClassName:{type:String,default:null},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},autoRange:{type:[Number,String],default:null},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},disableTimeRangeValidation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[String,Boolean,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},calendarClassName:{type:String,default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},partialRange:{type:Boolean,default:!0},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},inputClassName:{type:String,default:null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},showLastInRange:{type:Boolean,default:!0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},En={...wa,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null}},C7={key:1,class:"dp__input_wrap"},x7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],M7={key:2,class:"dp__clear_icon"},v7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...wa},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTextInput:i,defaultedAriaLabels:a,defaultedInline:l,defaultedConfig:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h,getDefaultStartTime:f}=Qe(s),{checkMinMaxRange:m}=Fr(s),g=o.ref(),p=o.ref(null),_=o.ref(!1),y=o.ref(!1),C=o.computed(()=>({dp__pointer:!s.disabled&&!s.readonly&&!i.value.enabled,dp__disabled:s.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!s.hideInputIcon,dp__input_valid:!!s.state,dp__input_invalid:s.state===!1,dp__input_focus:_.value||s.isMenuOpen,dp__input_reg:!i.value.enabled,[s.inputClassName]:!!s.inputClassName})),k=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},S=x=>{const N=f();return W9(x,i.value.format??h(),N??Gh({},s.enableSeconds),s.inputValue,y.value,s.formatLocale)},M=x=>{const{rangeSeparator:N}=i.value,[Z,ee]=x.split(`${N}`);if(Z){const U=S(Z.trim()),L=ee?S(ee.trim()):null,V=U&&L?[U,L]:[U];m(L,V,0)&&(g.value=U?V:null)}},O=()=>{y.value=!0},v=x=>{if(d.value.enabled)M(x);else if(u.value.enabled){const N=x.split(";");g.value=N.map(Z=>S(Z.trim())).filter(Z=>Z)}else g.value=S(x)},D=x=>{var N;const Z=typeof x=="string"?x:(N=x.target)==null?void 0:N.value;Z!==""?(i.value.openMenu&&!s.isMenuOpen&&r("open"),v(Z),r("set-input-date",g.value)):k(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(v(x.target.value),i.value.enterSubmit&&Yc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0),g.value=null):i.value.enterSubmit&&s.inputValue===""&&(g.value=null,r("clear"))):P(x)},I=x=>{i.value.enabled&&i.value.tabSubmit&&v(x.target.value),i.value.tabSubmit&&Yc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0,!0),g.value=null):i.value.tabSubmit&&s.inputValue===""&&(g.value=null,r("clear",!0))},j=()=>{_.value=!0,r("focus"),o.nextTick().then(()=>{var x;i.value.enabled&&i.value.selectOnFocus&&((x=p.value)==null||x.select())})},P=x=>{x.preventDefault(),$r(x,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input&&!s.isMenuOpen?r("open"):i.value.enabled||r("toggle")},R=()=>{r("real-blur"),_.value=!1,(!s.isMenuOpen||l.value.enabled&&l.value.input)&&r("blur"),s.autoApply&&i.value.enabled&&g.value&&!s.isMenuOpen&&(r("set-input-date",g.value),r("select-date"),g.value=null)},G=x=>{$r(x,c.value,!0),r("clear")},T=x=>{if(!i.value.enabled){if(x.code==="Tab")return;x.preventDefault()}};return e({focusInput:()=>{var x;(x=p.value)==null||x.focus({preventScroll:!0})},setParsedDate:x=>{g.value=x}}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",{onClick:P},[x.$slots.trigger&&!x.$slots["dp-input"]&&!o.unref(l).enabled?o.renderSlot(x.$slots,"trigger",{key:0}):o.createCommentVNode("",!0),!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).input)?(o.openBlock(),o.createElementBlock("div",C7,[x.$slots["dp-input"]&&!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(x.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:D,onEnter:E,onTab:I,onClear:G,onBlur:R,onKeypress:T,onPaste:O,openMenu:()=>x.$emit("open"),closeMenu:()=>x.$emit("close"),toggleMenu:()=>x.$emit("toggle")}):o.createCommentVNode("",!0),x.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:x.uid?`dp-input-${x.uid}`:void 0,ref_key:"inputRef",ref:p,name:x.name,class:o.normalizeClass(C.value),inputmode:o.unref(i).enabled?"text":"none",placeholder:x.placeholder,disabled:x.disabled,readonly:x.readonly,required:x.required,value:t.inputValue,autocomplete:x.autocomplete,"aria-label":(Z=o.unref(a))==null?void 0:Z.input,"aria-disabled":x.disabled||void 0,"aria-invalid":x.state===!1?!0:void 0,onInput:D,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),T],onBlur:R,onFocus:j,onKeypress:T,onPaste:O},null,42,x7)),o.createElementVNode("div",{onClick:N[2]||(N[2]=ee=>r("toggle"))},[x.$slots["input-icon"]&&!x.hideInputIcon?(o.openBlock(),o.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:N[0]||(N[0]=ee=>r("toggle"))},[o.renderSlot(x.$slots,"input-icon")])):o.createCommentVNode("",!0),!x.$slots["input-icon"]&&!x.hideInputIcon&&!x.$slots["dp-input"]?(o.openBlock(),o.createBlock(o.unref(ni),{key:1,class:"dp__input_icon dp__input_icons",onClick:N[1]||(N[1]=ee=>r("toggle"))})):o.createCommentVNode("",!0)]),x.$slots["clear-icon"]&&t.inputValue&&x.clearable&&!x.disabled&&!x.readonly?(o.openBlock(),o.createElementBlock("span",M7,[o.renderSlot(x.$slots,"clear-icon",{clear:G})])):o.createCommentVNode("",!0),x.clearable&&!x.$slots["clear-icon"]&&t.inputValue&&!x.disabled&&!x.readonly?(o.openBlock(),o.createBlock(o.unref(Ah),{key:3,class:"dp__clear_icon dp__input_icons",onClick:N[3]||(N[3]=o.withModifiers(ee=>G(ee),["prevent"]))})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),S7=["title"],T7=["disabled"],O7=o.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...En},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,r=t,{defaultedActionRow:s,defaultedPreviewFormat:i,defaultedMultiCalendars:a,defaultedTextInput:l,defaultedInline:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h}=Qe(r),{isTimeValid:f,isMonthValid:m}=Fr(r),{buildMatrix:g}=Br(),p=o.ref(null),_=o.ref(null),y=o.ref(!1),C=o.ref({}),k=o.ref(null),S=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&g([wt(p),wt(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var T,x;const N=(T=k.value)==null?void 0:T.getBoundingClientRect(),Z=(x=S.value)==null?void 0:x.getBoundingClientRect();N&&Z&&(C.value.maxWidth=`${Z.width-N.width-20}px`),y.value=!0},0)},O=o.computed(()=>d.value.enabled&&!d.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),v=o.computed(()=>!f.value(r.internalModelValue)||!m.value(r.internalModelValue)||!O.value),D=()=>{const T=i.value;return r.timePicker||r.monthPicker,T(Ct(r.internalModelValue))},E=()=>{const T=r.internalModelValue;return a.value.count>0?`${I(T[0])} - ${I(T[1])}`:[I(T[0]),I(T[1])]},I=T=>Xh(T,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,h()),j=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?E():u.value.enabled?r.internalModelValue.map(T=>`${I(T)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):D()),P=()=>u.value.enabled?"; ":" - ",R=o.computed(()=>Array.isArray(j.value)?j.value.join(P()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&O.value?n("select-date"):n("invalid-select")};return(T,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:S,class:"dp__action_row"},[T.$slots["action-row"]?o.renderSlot(T.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:T.internalModelValue,disabled:v.value,selectDate:()=>T.$emit("select-date"),closePicker:()=>T.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(s).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:R.value,style:o.normalizeStyle(C.value)},[T.$slots["action-preview"]&&y.value?o.renderSlot(T.$slots,"action-preview",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),!T.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(R.value),1)],64)):o.createCommentVNode("",!0)],12,S7)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[T.$slots["action-buttons"]?o.renderSlot(T.$slots,"action-buttons",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),T.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(s).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[0]||(x[0]=N=>T.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(N=>T.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(N=>T.$emit("close-picker"),["space"]))]},o.toDisplayString(T.cancelText),545)):o.createCommentVNode("",!0),o.unref(s).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[3]||(x[3]=N=>T.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(N=>T.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(N=>T.$emit("select-now"),["space"]))]},o.toDisplayString(T.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(s).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:_,type:"button",class:"dp__action_button dp__action_select",disabled:v.value,onKeydown:[o.withKeys(G,["enter"]),o.withKeys(G,["space"])],onClick:G},o.toDisplayString(T.selectText),41,T7)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),D7=["onKeydown"],E7={class:"dp__selection_grid_header"},P7=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],L7=["aria-label"],eo=o.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:s,setMonthPicker:i}=Br(),a=n,l=t,{defaultedAriaLabels:c,defaultedTextInput:d,defaultedConfig:u}=Qe(l),{hideNavigationButtons:h}=ya(),f=o.ref(!1),m=o.ref(null),g=o.ref(null),p=o.ref([]),_=o.ref(),y=o.ref(null),C=o.ref(0),k=o.ref(null);o.onBeforeUpdate(()=>{m.value=null}),o.onMounted(()=>{o.nextTick().then(()=>j()),l.noOverlayFocus||M(),S(!0)}),o.onUnmounted(()=>S(!1));const S=U=>{var L;l.arrowNavigation&&((L=l.headerRefs)!=null&&L.length?i(U):r(U))},M=()=>{var U;const L=wt(g);L&&(d.value.enabled||(m.value?(U=m.value)==null||U.focus({preventScroll:!0}):L.focus({preventScroll:!0})),f.value=L.clientHeight<L.scrollHeight)},O=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),v=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),D=o.computed(()=>({dp__overlay_col:!0})),E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:l.isLast})),I=o.computed(()=>{var U,L;return{dp__overlay_container:!0,dp__container_flex:((U=l.items)==null?void 0:U.length)<=6,dp__container_block:((L=l.items)==null?void 0:L.length)>6}});o.watch(()=>l.items,()=>j(!1),{deep:!0});const j=(U=!0)=>{o.nextTick().then(()=>{const L=wt(m),V=wt(g),b=wt(y),w=wt(k),B=b?b.getBoundingClientRect().height:0;V&&(V.getBoundingClientRect().height?C.value=V.getBoundingClientRect().height-B:C.value=u.value.modeHeight-B),L&&w&&U&&(w.scrollTop=L.offsetTop-w.offsetTop-(C.value/2-L.getBoundingClientRect().height)-B)})},P=U=>{U.disabled||a("selected",U.value)},R=()=>{a("toggle"),a("reset-flow")},G=()=>{l.escClose&&R()},T=(U,L,V,b)=>{U&&((L.active||L.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[V])?p.value[V][b]=U:p.value[V]=[U],x()))},x=()=>{var U,L;const V=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(p.value):p.value.concat([l.skipButtonRef?[]:[y.value]]);s(Ct(V),(L=l.headerRefs)!=null&&L.length?"monthPicker":"selectionGrid")},N=U=>{l.arrowNavigation||$r(U,u.value,!0)},Z=U=>{_.value=U,a("hover-value",U)},ee=()=>{if(R(),!l.isLast){const U=Y9(l.menuWrapRef??null,"action-row");if(U){const L=Hh(U);L==null||L.focus()}}};return e({focusGrid:M}),(U,L)=>{var V;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:g,class:o.normalizeClass(O.value),style:o.normalizeStyle(v.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),L[0]||(L[0]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["left"])),L[1]||(L[1]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["up"])),L[2]||(L[2]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["down"])),L[3]||(L[3]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:k,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",E7,[o.renderSlot(U.$slots,"header")]),U.$slots.overlay?o.renderSlot(U.$slots,"overlay",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(U.items,(b,w)=>(o.openBlock(),o.createElementBlock("div",{key:w,class:o.normalizeClass(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(b,(B,z)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>T(be,B,w,z),role:"gridcell",class:o.normalizeClass(D.value),"aria-selected":B.active||void 0,"aria-disabled":B.disabled||void 0,tabindex:"0",onClick:be=>P(B),onKeydown:[o.withKeys(o.withModifiers(be=>P(B),["prevent"]),["enter"]),o.withKeys(o.withModifiers(be=>P(B),["prevent"]),["space"])],onMouseover:be=>Z(B.value)},[o.createElementVNode("div",{class:o.normalizeClass(B.className)},[U.$slots.item?o.renderSlot(U.$slots,"item",{key:0,item:B}):o.createCommentVNode("",!0),U.$slots.item?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(B.text),1)],64))],2)],42,P7))),128))],2))),128))],6),U.$slots["button-icon"]?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:y,type:"button","aria-label":(V=o.unref(c))==null?void 0:V.toggleOverlay,class:o.normalizeClass(E.value),tabindex:"0",onClick:R,onKeydown:[o.withKeys(R,["enter"]),o.withKeys(ee,["tab"])]},[o.renderSlot(U.$slots,"button-icon")],42,L7)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,D7)}}}),ba=o.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=o.computed(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),r=o.computed(()=>({dp__instance_calendar:e.multiCalendars>0}));return(s,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass({dp__menu_inner:!s.stretch,"dp--menu--inner-stretched":s.stretch,dp__flex_display:s.multiCalendars>0,"dp--flex-display-collapsed":s.collapse})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(a,l)=>(o.openBlock(),o.createElementBlock("div",{key:a,class:o.normalizeClass(r.value)},[o.renderSlot(s.$slots,"default",{instance:a,index:l})],2))),128))],2))}}),$7=["aria-label","aria-disabled"],to=o.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,r=o.ref(null);return o.onMounted(()=>n("set-ref",r)),(s,i)=>(o.openBlock(),o.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button",class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":s.ariaLabel,"aria-disabled":s.disabled||void 0,onClick:i[0]||(i[0]=a=>s.$emit("activate")),onKeydown:[i[1]||(i[1]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["enter"])),i[2]||(i[2]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["space"]))]},[o.createElementVNode("span",{class:o.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:s.disabled}])},[o.renderSlot(s.$slots,"default")],2)],40,$7))}}),N7={class:"dp--year-mode-picker"},V7=["aria-label"],sf=o.defineComponent({__name:"YearModePicker",props:{...En,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,r=t,{showRightIcon:s,showLeftIcon:i}=ya(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=Qe(r),{showTransition:u,transitionName:h}=Qi(d),f=(p=!1,_)=>{n("toggle-year-picker",{flow:p,show:_})},m=p=>{n("year-select",p)},g=(p=!1)=>{n("handle-year",p)};return(p,_)=>{var y,C,k;return o.openBlock(),o.createElementBlock("div",N7,[o.unref(i)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:0,ref:"mpPrevIconRef","aria-label":(y=o.unref(c))==null?void 0:y.prevYear,disabled:t.isDisabled(!1),onActivate:_[0]||(_[0]=S=>g(!1))},{default:o.withCtx(()=>[p.$slots["arrow-left"]?o.renderSlot(p.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Lc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":(C=o.unref(c))==null?void 0:C.openYearsOverlay,onClick:_[1]||(_[1]=()=>f(!1)),onKeydown:_[2]||(_[2]=o.withKeys(()=>f(!1),["enter"]))},[p.$slots.year?o.renderSlot(p.$slots,"year",{key:0,year:t.year}):o.createCommentVNode("",!0),p.$slots.year?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(t.year),1)],64))],40,V7),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:1,ref:"mpNextIconRef","aria-label":(k=o.unref(c))==null?void 0:k.nextYear,disabled:t.isDisabled(!0),onActivate:_[3]||(_[3]=S=>g(!0))},{default:o.withCtx(()=>[p.$slots["arrow-right"]?o.renderSlot(p.$slots,"arrow-right",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref($c),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(h)(t.showYearPicker),css:o.unref(u)},{default:o.withCtx(()=>[t.showYearPicker?(o.openBlock(),o.createBlock(eo,{key:0,items:t.items,"text-input":p.textInput,"esc-close":p.escClose,config:p.config,"is-last":p.autoApply&&!o.unref(a).keepActionRow,"hide-navigation":p.hideNavigation,"aria-labels":p.ariaLabels,type:"year",onToggle:f,onSelected:_[4]||(_[4]=S=>m(S))},o.createSlots({"button-icon":o.withCtx(()=>[p.$slots["calendar-icon"]?o.renderSlot(p.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),p.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))]),_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:S})=>[o.renderSlot(p.$slots,"year-overlay-value",{text:S.text,value:S.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels"])):o.createCommentVNode("",!0)]),_:3},8,["name","css"])])}}}),Jc=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>Me(t,r))){const r=e.value.filter(s=>!Me(s,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},ed=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?rt(e,r[0])?(r.unshift(e),n("range-start",r[0]),n("range-start",r[1])):(r[1]=e,n("range-end",e)):(r=[e],n("range-start",e)),r},ka=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},of=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>lr(q(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=lr(q(t.value),t.timezone))},af=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(ut(t,e.value[0])||Me(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(rt(t,e.value[1])||Me(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],lf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Ac(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(O,v)=>{const D=He(On(new Date),{month:c.value(O),year:l.value(O)});return Kh(D,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,v)}),m=()=>{for(let O=0;O<t.value.count;O++)if(O===0)r.value[O]=r.value[0];else{const v=He(q(),r.value[O-1]);r.value[O]={month:Ce(v),year:ye(bc(v,1))}}},g=O=>{if(!O)return m();const v=He(q(),r.value[O]);return r.value[0].year=ye(Bh(v,t.value.count-1)),m()},p=O=>i.focusStartDate?O[0]:O[1]?O[1]:O[0],_=()=>{if(s.value){const O=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(O),year:ye(O)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(O,v)=>{r.value[v].year=O,t.value.count&&!t.value.solo&&g(v)},C=o.computed(()=>O=>ri(u.value,v=>{var D;const E=l.value(O)===v.value,I=Ki(v.value,si(n.value.minDate),si(n.value.maxDate))||((D=a.value.years)==null?void 0:D.includes(l.value(O))),j=Zc(e.value,v.value);return{active:E,disabled:I,highlighted:j}})),k=(O,v)=>{y(O,v),M(v)},S=(O,v=!1)=>{if(!f.value(O,v)){const D=v?l.value(O)+1:l.value(O)-1;y(D,O)}},M=(O,v=!1,D)=>{v||d("reset-flow"),D!==void 0?h.value[O]=D:h.value[O]=!h.value[O],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:k,handleYear:S}},B7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,defaultedRange:a,defaultedHighlight:l,propDates:c,defaultedTz:d,defaultedFilters:u,defaultedMultiDates:h}=Qe(t),{modelValue:f,year:m,month:g,calendars:p}=Ji(t,e),_=o.computed(()=>Rh(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Fr(t),{selectYear:k,groupedYears:S,showYearPicker:M,toggleYearPicker:O,handleYearSelect:v,handleYear:D,isDisabled:E}=lf({modelValue:f,multiCalendars:n,highlight:l,calendars:p,year:m,propDates:c,month:g,filters:u,props:t,emit:e});o.onMounted(()=>{t.startDate&&(f.value&&t.focusStartDate||!f.value)&&k(ye(q(t.startDate)),0)});const I=b=>b?{month:Ce(b),year:ye(b)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(b=>I(b)):I(f.value):I(),P=(b,w)=>{const B=p.value[b],z=j();return Array.isArray(z)?z.some(be=>be.year===(B==null?void 0:B.year)&&be.month===w):(B==null?void 0:B.year)===z.year&&w===z.month},R=(b,w,B)=>{var z,be;const Fe=j();return Array.isArray(Fe)?m.value(w)===((z=Fe[B])==null?void 0:z.year)&&b===((be=Fe[B])==null?void 0:be.month):!1},G=(b,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const z=R(b,w,0)||R(b,w,1),be=ar(On(q()),b,m.value(w));return pa(f.value,y.value,be)&&!z}return!1}return!1},T=o.computed(()=>b=>ri(_.value,w=>{var B;const z=P(b,w.value),be=Ki(w.value,Zh(m.value(b),c.value.minDate),Uh(m.value(b),c.value.maxDate))||K9(c.value.disabledDates,m.value(b)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Fe=G(w.value,b),A=Jh(l.value,w.value,m.value(b));return{active:z,disabled:be,isBetween:Fe,highlighted:A}})),x=(b,w)=>ar(On(q()),b,m.value(w)),N=(b,w)=>{const B=f.value?f.value:On(new Date);f.value=ar(B,b,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(b,w)=>{const B=x(b,w);a.value.fixedEnd||a.value.fixedStart?f.value=af(B,f,e,a):f.value?C(B,f.value)&&(f.value=ed(f,x(b,w),e)):f.value=[x(b,w)],ka(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{Jc(x(b,w),f,h.value.limit),e("auto-apply",!0)},U=(b,w)=>(p.value[w].month=b,V(w,p.value[w].year,b),h.value.enabled?ee(b,w):a.value.enabled?Z(b,w):N(b,w)),L=(b,w)=>{k(b,w),V(w,b,null)},V=(b,w,B)=>{let z=B;if(!z&&z!==0){const be=j();z=Array.isArray(be)?be[b].month:be.month}e("update-month-year",{instance:b,year:w,month:z})};return{groupedMonths:T,groupedYears:S,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{of({value:b,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(b,w)=>{y.value=x(b,w)},selectMonth:U,selectYear:L,toggleYearPicker:O,handleYearSelect:v,handleYear:D,getModelMonthYear:j}},A7=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...En},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range"],setup(t,{expose:e,emit:n}){const r=n,s=o.useSlots(),i=Ut(s,"yearMode"),a=t;o.onMounted(()=>{a.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:d,isDisabled:u,defaultedMultiCalendars:h,defaultedConfig:f,showYearPicker:m,modelValue:g,presetDate:p,setHoverDate:_,selectMonth:y,selectYear:C,toggleYearPicker:k,handleYearSelect:S,handleYear:M,getModelMonthYear:O}=B7(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:O,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:v=>k(0,v)}),(v,D)=>(o.openBlock(),o.createBlock(ba,{"multi-calendars":o.unref(h).count,collapse:v.collapse,stretch:""},{default:o.withCtx(({instance:E})=>[v.$slots["month-year"]?o.renderSlot(v.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{year:o.unref(d),months:o.unref(l)(E),years:o.unref(c)(E),selectMonth:o.unref(y),selectYear:o.unref(C),instance:E}))):(o.openBlock(),o.createBlock(eo,{key:1,items:o.unref(l)(E),"arrow-navigation":v.arrowNavigation,"is-last":v.autoApply&&!o.unref(f).keepActionRow,"esc-close":v.escClose,height:o.unref(f).modeHeight,config:v.config,"no-overlay-focus":!!(v.noOverlayFocus||v.textInput),"use-relative":"",type:"month",onSelected:I=>o.unref(y)(I,E),onHoverValue:I=>o.unref(_)(I,E)},{header:o.withCtx(()=>[o.createVNode(sf,o.mergeProps(v.$props,{items:o.unref(c)(E),instance:E,"show-year-picker":o.unref(m)[E],year:o.unref(d)(E),"is-disabled":I=>o.unref(u)(E,I),onHandleYear:I=>o.unref(M)(E,I),onYearSelect:I=>o.unref(S)(I,E),onToggleYearPicker:I=>o.unref(k)(E,I==null?void 0:I.flow,I==null?void 0:I.show)}),o.createSlots({_:2},[o.renderList(o.unref(i),(I,j)=>({name:I,fn:o.withCtx(P=>[o.renderSlot(v.$slots,I,o.normalizeProps(o.guardReactiveProps(P)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),F7=(t,e)=>{const{modelValue:n}=Ji(t,e),r=o.ref(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:a,defaultedRange:l,propDates:c}=Qe(t),d=o.ref();o.onMounted(()=>{t.startDate&&(n.value&&t.focusStartDate||!n.value)&&(d.value=ye(q(t.startDate)))});const u=g=>Array.isArray(n.value)?n.value.some(p=>ye(p)===g):n.value?ye(n.value)===g:!1,h=g=>l.value.enabled&&Array.isArray(n.value)?pa(n.value,r.value,m(g)):!1,f=o.computed(()=>ri(Ac(t.yearRange,t.locale,t.reverseYears),g=>{const p=u(g.value),_=Ki(g.value,si(c.value.minDate),si(c.value.maxDate))||a.value.years.includes(g.value),y=h(g.value)&&!p,C=Zc(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>Wn(On(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=Wn(On(new Date),g)},selectYear:g=>{var p;if(e("update-month-year",{instance:0,year:g}),i.value.enabled)return n.value?Array.isArray(n.value)&&(((p=n.value)==null?void 0:p.map(_=>ye(_))).includes(g)?n.value=n.value.filter(_=>ye(_)!==g):n.value.push(Wn(Zt(q()),g))):n.value=[Wn(Zt(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=ed(n,m(g),e),ka(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},R7=o.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...En},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const r=n,s=t,{groupedYears:i,modelValue:a,focusYear:l,selectYear:c,setHoverValue:d}=F7(s,r),{defaultedConfig:u}=Qe(s);return e({getSidebarProps:()=>({modelValue:a,selectYear:c})}),(h,f)=>(o.openBlock(),o.createElementBlock("div",null,[h.$slots["month-year"]?o.renderSlot(h.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{years:o.unref(i),selectYear:o.unref(c)}))):(o.openBlock(),o.createBlock(eo,{key:1,items:o.unref(i),"is-last":h.autoApply&&!o.unref(u).keepActionRow,height:o.unref(u).modeHeight,config:h.config,"no-overlay-focus":!!(h.noOverlayFocus||h.textInput),"focus-value":o.unref(l),type:"year","use-relative":"",onSelected:o.unref(c),onHoverValue:o.unref(d)},o.createSlots({_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:m})=>[o.renderSlot(h.$slots,"year-overlay-value",{text:m.text,value:m.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),I7={key:0,class:"dp__time_input"},z7=["aria-label","onKeydown","onClick"],Y7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),H7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),W7=["aria-label","disabled","onKeydown","onClick"],j7=["aria-label","onKeydown","onClick"],Z7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),U7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),q7={key:0},G7=["aria-label","onKeydown"],K7=o.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...En},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{setTimePickerElements:i,setTimePickerBackRef:a}=Br(),{defaultedAriaLabels:l,defaultedTransitions:c,defaultedFilters:d,defaultedConfig:u,defaultedRange:h}=Qe(s),{transitionName:f,showTransition:m}=Qi(c),g=o.reactive({hours:!1,minutes:!1,seconds:!1}),p=o.ref("AM"),_=o.ref(null),y=o.ref([]);o.onMounted(()=>{r("mounted")});const C=A=>He(new Date,{hours:A.hours,minutes:A.minutes,seconds:s.enableSeconds?A.seconds:0,milliseconds:0}),k=o.computed(()=>A=>T(A,s[A])||M(A,s[A])),S=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,Y)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,Y):!1,O=(A,Y)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ue=Y?+s[`${A}Increment`]:-+s[`${A}Increment`],$=s[A]+ue;return!s.validateTime(A,$)}return!1},v=o.computed(()=>A=>!ee(+s[A]+ +s[`${A}Increment`],A)||O(A,!0)),D=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||O(A,!1)),E=(A,Y)=>ch(He(q(),A),Y),I=(A,Y)=>N9(He(q(),A),Y),j=o.computed(()=>({dp__time_col:!0,dp__time_col_block:!s.timePickerInline,dp__time_col_reg_block:!s.enableSeconds&&s.is24&&!s.timePickerInline,dp__time_col_reg_inline:!s.enableSeconds&&s.is24&&s.timePickerInline,dp__time_col_reg_with_button:!s.enableSeconds&&!s.is24,dp__time_col_sec:s.enableSeconds&&s.is24,dp__time_col_sec_with_button:s.enableSeconds&&!s.is24})),P=o.computed(()=>{const A=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return s.enableSeconds?A.concat([{type:"",separator:!0},{type:"seconds"}]):A}),R=o.computed(()=>P.value.filter(A=>!A.separator)),G=o.computed(()=>A=>{if(A==="hours"){const Y=w(+s.hours);return{text:Y<10?`0${Y}`:`${Y}`,value:Y}}return{text:s[A]<10?`0${s[A]}`:`${s[A]}`,value:s[A]}}),T=(A,Y)=>{var ue;if(!s.disabledTimesConfig)return!1;const $=s.disabledTimesConfig(s.order,A==="hours"?Y:void 0);return $[A]?!!((ue=$[A])!=null&&ue.includes(Y)):!0},x=A=>{const Y=s.is24?24:12,ue=A==="hours"?Y:60,$=+s[`${A}GridIncrement`],K=A==="hours"&&!s.is24?$:0,de=[];for(let ge=K;ge<ue;ge+=$)de.push({value:ge,text:ge<10?`0${ge}`:`${ge}`});return A==="hours"&&!s.is24&&de.push({value:0,text:"12"}),ri(de,ge=>({active:!1,disabled:d.value.times[A].includes(ge.value)||!ee(ge.value,A)||T(A,ge.value)||M(A,ge.value)}))},N=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,Y)=>{const ue=s.minTime?C(zc(s.minTime)):null,$=s.maxTime?C(zc(s.maxTime)):null,K=C(zc(S.value,Y,Y==="minutes"||Y==="seconds"?N(A):Z(A)));return ue&&$?(Gi(K,$)||ei(K,$))&&(qi(K,ue)||ei(K,ue)):ue?qi(K,ue)||ei(K,ue):$?Gi(K,$)||ei(K,$):!0},U=A=>s[`no${A[0].toUpperCase()+A.slice(1)}Overlay`],L=A=>{U(A)||(g[A]=!g[A],g[A]||r("overlay-closed"))},V=A=>A==="hours"?Tn:A==="minutes"?zn:Js,b=(A,Y=!0)=>{const ue=Y?E:I,$=Y?+s[`${A}Increment`]:-+s[`${A}Increment`];ee(+s[A]+$,A)&&r(`update:${A}`,V(A)(ue({[A]:+s[A]},{[A]:+s[`${A}Increment`]})))},w=A=>s.is24?A:(A>=12?p.value="PM":p.value="AM",A9(A)),B=()=>{p.value==="PM"?(p.value="AM",r("update:hours",s.hours-12)):(p.value="PM",r("update:hours",s.hours+12)),r("am-pm-change",p.value)},z=A=>{g[A]=!0},be=(A,Y,ue)=>{if(A&&s.arrowNavigation){Array.isArray(y.value[Y])?y.value[Y][ue]=A:y.value[Y]=[A];const $=y.value.reduce((K,de)=>de.map((ge,ae)=>[...K[ae]||[],de[ae]]),[]);a(s.closeTimePickerBtn),_.value&&($[1]=$[1].concat(_.value)),i($,s.order)}},Fe=(A,Y)=>(L(A),A==="hours"&&!s.is24?r(`update:${A}`,p.value==="PM"?Y+12:Y):r(`update:${A}`,Y));return e({openChildCmp:z}),(A,Y)=>{var ue;return A.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",I7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(P.value,($,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{key:K,class:o.normalizeClass(j.value)},[$.separator?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" : ")],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,0),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_top:A.timePickerInline,dp__inc_dec_button_disabled:v.value($.type)}),"aria-label":(de=o.unref(l))==null?void 0:de.incrementValue($.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b($.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b($.type),["prevent"]),["space"])],onClick:te=>b($.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Y7,H7],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-up"]?o.renderSlot(A.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Vc),{key:1}))],64))],42,z7),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,1),type:"button","aria-label":(ge=o.unref(l))==null?void 0:ge.openTpOverlay($.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!A.timePickerInline,dp__time_display_inline:A.timePickerInline,"dp--time-invalid":k.value($.type),"dp--time-overlay-btn":!k.value($.type)}),disabled:U($.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>L($.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>L($.type),["prevent"]),["space"])],onClick:te=>L($.type)},[A.$slots[$.type]?o.renderSlot(A.$slots,$.type,{key:0,text:G.value($.type).text,value:G.value($.type).value}):o.createCommentVNode("",!0),A.$slots[$.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(G.value($.type).text),1)],64))],42,W7),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_bottom:A.timePickerInline,dp__inc_dec_button_disabled:D.value($.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue($.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b($.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b($.type,!1),["prevent"]),["space"])],onClick:te=>b($.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Z7,U7],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-down"]?o.renderSlot(A.$slots,"arrow-down",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-down"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Bc),{key:1}))],64))],42,j7)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",q7,[A.$slots["am-pm-button"]?o.renderSlot(A.$slots,"am-pm-button",{key:0,toggle:B,value:p.value}):o.createCommentVNode("",!0),A.$slots["am-pm-button"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:_,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ue=o.unref(l))==null?void 0:ue.amPmButton,tabindex:"0",onClick:B,onKeydown:[o.withKeys(o.withModifiers(B,["prevent"]),["enter"]),o.withKeys(o.withModifiers(B,["prevent"]),["space"])]},o.toDisplayString(p.value),41,G7))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(R.value,($,K)=>(o.openBlock(),o.createBlock(o.Transition,{key:K,name:o.unref(f)(g[$.type]),css:o.unref(m)},{default:o.withCtx(()=>[g[$.type]?(o.openBlock(),o.createBlock(eo,{key:0,items:x($.type),"is-last":A.autoApply&&!o.unref(u).keepActionRow,"esc-close":A.escClose,type:$.type,"text-input":A.textInput,config:A.config,"arrow-navigation":A.arrowNavigation,"aria-labels":A.ariaLabels,onSelected:de=>Fe($.type,de),onToggle:de=>L($.type),onResetFlow:Y[0]||(Y[0]=de=>A.$emit("reset-flow"))},o.createSlots({"button-icon":o.withCtx(()=>[A.$slots["clock-icon"]?o.renderSlot(A.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),A.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(A.timePickerInline?o.unref(ni):o.unref(Nc)),{key:1}))]),_:2},[A.$slots[`${$.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:de})=>[o.renderSlot(A.$slots,`${$.type}-overlay-value`,{text:de.text,value:de.value})]),key:"0"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),X7={class:"dp--tp-wrap"},Q7=["aria-label","tabindex"],J7=["tabindex"],e8=["aria-label"],cf=o.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...En},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMatrix:i,setTimePicker:a}=Br(),l=o.useSlots(),{defaultedTransitions:c,defaultedAriaLabels:d,defaultedTextInput:u,defaultedConfig:h,defaultedRange:f}=Qe(s),{transitionName:m,showTransition:g}=Qi(c),{hideNavigationButtons:p}=ya(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([wt(_.value)],"time"):a(!0,s.timePicker)});const S=o.computed(()=>f.value.enabled&&s.modelAuto?Ih(s.internalModelValue):!0),M=o.ref(!1),O=x=>({hours:Array.isArray(s.hours)?s.hours[x]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[x]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[x]:s.seconds}),v=o.computed(()=>{const x=[];if(f.value.enabled)for(let N=0;N<2;N++)x.push(O(N));else x.push(O(0));return x}),D=(x,N=!1,Z="")=>{N||r("reset-flow"),M.value=x,r(x?"overlay-opened":"overlay-closed"),s.arrowNavigation&&a(x),o.nextTick(()=>{Z!==""&&C.value[0]&&C.value[0].openChildCmp(Z)})},E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!h.value.keepActionRow})),I=Ut(l,"timePicker"),j=(x,N,Z)=>f.value.enabled?N===0?[x,v.value[1][Z]]:[v.value[0][Z],x]:x,P=x=>{r("update:hours",x)},R=x=>{r("update:minutes",x)},G=x=>{r("update:seconds",x)},T=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=Hh(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:D}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",X7,[!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:_,type:"button",class:o.normalizeClass(E.value),"aria-label":(Z=o.unref(d))==null?void 0:Z.openTimePicker,tabindex:x.noOverlayFocus?void 0:0,onKeydown:[N[0]||(N[0]=o.withKeys(ee=>D(!0),["enter"])),N[1]||(N[1]=o.withKeys(ee=>D(!0),["space"]))],onClick:N[2]||(N[2]=ee=>D(!0))},[x.$slots["clock-icon"]?o.renderSlot(x.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Nc),{key:1}))],42,Q7)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(m)(M.value),css:o.unref(g)&&!x.timePickerInline},{default:o.withCtx(()=>{var ee;return[M.value||x.timePicker||x.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,class:o.normalizeClass({dp__overlay:!x.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!x.timePickerInline,"dp--overlay-relative":s.timePicker}),style:o.normalizeStyle(x.timePicker?{height:`${o.unref(h).modeHeight}px`}:void 0),tabindex:x.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(x.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[x.$slots["time-picker-overlay"]?o.renderSlot(x.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:P,setMinutes:R,setSeconds:G}):o.createCommentVNode("",!0),x.$slots["time-picker-overlay"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(x.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(v.value,(U,L)=>o.withDirectives((o.openBlock(),o.createBlock(K7,o.mergeProps({key:L},{...x.$props,order:L,hours:U.hours,minutes:U.minutes,seconds:U.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:L===0?x.fixedStart:x.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:C,"validate-time":(V,b)=>t.validateTime(V,j(b,L,V)),"onUpdate:hours":V=>P(j(V,L,"hours")),"onUpdate:minutes":V=>R(j(V,L,"minutes")),"onUpdate:seconds":V=>G(j(V,L,"seconds")),onMounted:T,onOverlayClosed:T,onAmPmChange:N[3]||(N[3]=V=>x.$emit("am-pm-change",V))}),o.createSlots({_:2},[o.renderList(o.unref(I),(V,b)=>({name:V,fn:o.withCtx(w=>[o.renderSlot(x.$slots,V,o.normalizeProps(o.guardReactiveProps(w)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[o.vShow,L===0?!0:S.value]])),128))],2)),!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:y,type:"button",class:o.normalizeClass(E.value),"aria-label":(ee=o.unref(d))==null?void 0:ee.closeTimePicker,tabindex:"0",onKeydown:[N[4]||(N[4]=o.withKeys(U=>D(!1),["enter"])),N[5]||(N[5]=o.withKeys(U=>D(!1),["space"]))],onClick:N[6]||(N[6]=U=>D(!1))},[x.$slots["calendar-icon"]?o.renderSlot(x.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))],42,e8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,J7)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),df=(t,e,n,r)=>{const{defaultedRange:s}=Qe(t),i=(k,S)=>Array.isArray(e[k])?e[k][S]:e[k],a=k=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[k]:e.seconds:0,l=(k,S)=>k?S!==void 0?Nr(k,i("hours",S),i("minutes",S),a(S)):Nr(k,e.hours,e.minutes,a()):Pc(q(),a(S)),c=(k,S)=>{e[k]=S},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(k,S)=>{const M=Object.fromEntries(Object.keys(e).map(O=>O===k?[O,S]:[O,e[O]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const O=D=>n.value?Nr(n.value[D],M.hours[D],M.minutes[D],M.seconds[D]):null,v=D=>Ec(n.value[D],0);return!(Me(O(0),O(1))&&(qi(O(0),v(1))||Gi(O(1),v(0))))}return!0},h=(k,S)=>{u(k,S)&&(c(k,S),r&&r())},f=k=>{h("hours",k)},m=k=>{h("minutes",k)},g=k=>{h("seconds",k)},p=(k,S,M,O)=>{S&&f(k),!S&&!M&&m(k),M&&g(k),n.value&&O(n.value)},_=k=>{if(k){const S=Array.isArray(k),M=S?[+k[0].hours,+k[1].hours]:+k.hours,O=S?[+k[0].minutes,+k[1].minutes]:+k.minutes,v=S?[+k[0].seconds,+k[1].seconds]:+k.seconds;c("hours",M),c("minutes",O),t.enableSeconds&&c("seconds",v)}},y=(k,S)=>{const M={hours:Array.isArray(e.hours)?e.hours[k]:e.hours,disabledArr:[]};return(S||S===0)&&(M.hours=S),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[k])?t.disabledTimes[k]:t.disabledTimes),M},C=o.computed(()=>(k,S)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:O,hours:v}=y(k,S),D=O.filter(E=>+E.hours===v);return((M=D[0])==null?void 0:M.minutes)==="*"?{hours:[v],minutes:void 0,seconds:void 0}:{hours:[],minutes:(D==null?void 0:D.map(E=>+E.minutes))??[],seconds:(D==null?void 0:D.map(E=>E.seconds?+E.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:f,updateMinutes:m,updateSeconds:g,getSetDateTime:l,updateTimeValues:p,getSecondsValue:a,assignStartTime:_,validateTime:u,disabledTimesConfig:C}},t8=(t,e)=>{const{modelValue:n,time:r}=Ji(t,e),{defaultedStartTime:s,defaultedRange:i}=Qe(t),{updateTimeValues:a,getSetDateTime:l,setTime:c,assignStartTime:d,disabledTimesConfig:u,validateTime:h}=df(t,r,n),f=k=>{const{hours:S,minutes:M,seconds:O}=k;return{hours:+S,minutes:+M,seconds:O?+O:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=f(t.startTime[0]),M=f(t.startTime[1]);return[He(q(),S),He(q(),M)]}const k=f(t.startTime);return He(q(),k)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[k,S]=m();n.value=[l(k,0),l(S,1)]}else n.value=l(m())},p=k=>Array.isArray(k)?[ms(q(k[0])),ms(q(k[1]))]:[ms(k??q())],_=(k,S,M)=>{c("hours",k),c("minutes",S),c("seconds",t.enableSeconds?M:0)},y=()=>{const[k,S]=p(n.value);return i.value.enabled?_([k.hours,S.hours],[k.minutes,S.minutes],[k.seconds,S.seconds]):_(k.hours,k.minutes,k.seconds)};o.onMounted(()=>{if(!t.shadow)return d(s.value),n.value?y():g()});const C=()=>{Array.isArray(n.value)?n.value=n.value.map((k,S)=>k&&l(k,S)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(k,S=!0,M=!1)=>{a(k,S,M,C)},validateTime:h}},n8=o.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...En},emits:["update:internal-model-value","time-update","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Ut(i,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:d,updateTime:u,validateTime:h}=t8(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(ba,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(cf,o.mergeProps(f.$props,{hours:o.unref(l).hours,minutes:o.unref(l).minutes,seconds:o.unref(l).seconds,"internal-model-value":f.internalModelValue,"disabled-times-config":o.unref(d),"validate-time":o.unref(h),"onUpdate:hours":m[0]||(m[0]=g=>o.unref(u)(g)),"onUpdate:minutes":m[1]||(m[1]=g=>o.unref(u)(g,!1)),"onUpdate:seconds":m[2]||(m[2]=g=>o.unref(u)(g,!1,!0)),onAmPmChange:m[3]||(m[3]=g=>f.$emit("am-pm-change",g))}),o.createSlots({_:2},[o.renderList(o.unref(a),(g,p)=>({name:g,fn:o.withCtx(_=>[o.renderSlot(f.$slots,g,o.normalizeProps(o.guardReactiveProps(_)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),r8={class:"dp__month_year_row"},s8=["aria-label","onClick","onKeydown"],i8=o.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...En},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTransitions:i,defaultedAriaLabels:a,defaultedMultiCalendars:l,defaultedFilters:c,defaultedConfig:d,defaultedHighlight:u,propDates:h}=Qe(s),{transitionName:f,showTransition:m}=Qi(i),{buildMatrix:g}=Br(),{handleMonthYearChange:p,isDisabled:_,updateMonthYear:y}=g7(s,r),{showLeftIcon:C,showRightIcon:k}=ya(),S=o.ref(!1),M=o.ref(!1),O=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const v=L=>({get:()=>s[L],set:V=>{const b=L===Dn.month?Dn.year:Dn.month;r("update-month-year",{[L]:V,[b]:s[b]}),L===Dn.month?T(!0):x(!0)}}),D=o.computed(v(Dn.month)),E=o.computed(v(Dn.year)),I=o.computed(()=>L=>({month:s.month,year:s.year,items:L===Dn.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:L===Dn.month?T:x})),j=o.computed(()=>s.months.find(V=>V.value===s.month)||{text:"",value:0}),P=o.computed(()=>ri(s.months,L=>{const V=s.month===L.value,b=Ki(L.value,Zh(s.year,h.value.minDate),Uh(s.year,h.value.maxDate))||c.value.months.includes(L.value),w=Jh(u.value,L.value,s.year);return{active:V,disabled:b,highlighted:w}})),R=o.computed(()=>ri(s.years,L=>{const V=s.year===L.value,b=Ki(L.value,si(h.value.minDate),si(h.value.maxDate))||c.value.years.includes(L.value),w=Zc(u.value,L.value);return{active:V,disabled:b,highlighted:w}})),G=(L,V)=>{V!==void 0?L.value=V:L.value=!L.value,L.value||r("overlay-closed")},T=(L=!1,V)=>{N(L),G(S,V)},x=(L=!1,V)=>{N(L),G(M,V)},N=L=>{L||r("reset-flow")},Z=(L,V)=>{s.arrowNavigation&&(O.value[V]=wt(L),g(O.value,"monthYear"))},ee=o.computed(()=>{var L,V;return[{type:Dn.month,index:1,toggle:T,modelValue:D.value,updateModelValue:b=>D.value=b,text:j.value.text,showSelectionGrid:S.value,items:P.value,ariaLabel:(L=a.value)==null?void 0:L.openMonthsOverlay},{type:Dn.year,index:2,toggle:x,modelValue:E.value,updateModelValue:b=>E.value=b,text:Wh(s.year,s.locale),showSelectionGrid:M.value,items:R.value,ariaLabel:(V=a.value)==null?void 0:V.openYearsOverlay}]}),U=o.computed(()=>s.disableYearSelect?[ee.value[0]]:s.yearFirst?[...ee.value].reverse():ee.value);return e({toggleMonthPicker:T,toggleYearPicker:x,handleMonthYearChange:p}),(L,V)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",r8,[L.$slots["month-year"]?o.renderSlot(L.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:o.unref(y),handleMonthYearChange:o.unref(p),instance:t.instance}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(C)(o.unref(l),t.instance)&&!L.vertical?(o.openBlock(),o.createBlock(to,{key:0,"aria-label":(b=o.unref(a))==null?void 0:b.prevMonth,disabled:o.unref(_)(!1),onActivate:V[0]||(V[0]=z=>o.unref(p)(!1,!0)),onSetRef:V[1]||(V[1]=z=>Z(z,0))},{default:o.withCtx(()=>[L.$slots["arrow-left"]?o.renderSlot(L.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),L.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Lc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:L.disableYearSelect}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(U.value,(z,be)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:z.type},[o.createElementVNode("button",{ref_for:!0,ref:Fe=>Z(Fe,be+1),type:"button",class:"dp__btn dp__month_year_select",tabindex:"0","aria-label":z.ariaLabel,onClick:z.toggle,onKeydown:[o.withKeys(o.withModifiers(z.toggle,["prevent"]),["enter"]),o.withKeys(o.withModifiers(z.toggle,["prevent"]),["space"])]},[L.$slots[z.type]?o.renderSlot(L.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):o.createCommentVNode("",!0),L.$slots[z.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(z.text),1)],64))],40,s8),o.createVNode(o.Transition,{name:o.unref(f)(z.showSelectionGrid),css:o.unref(m)},{default:o.withCtx(()=>[z.showSelectionGrid?(o.openBlock(),o.createBlock(eo,{key:0,items:z.items,"arrow-navigation":L.arrowNavigation,"hide-navigation":L.hideNavigation,"is-last":L.autoApply&&!o.unref(d).keepActionRow,"skip-button-ref":!1,config:L.config,type:z.type,"header-refs":[],"esc-close":L.escClose,"menu-wrap-ref":L.menuWrapRef,"text-input":L.textInput,"aria-labels":L.ariaLabels,onSelected:z.updateModelValue,onToggle:z.toggle},o.createSlots({"button-icon":o.withCtx(()=>[L.$slots["calendar-icon"]?o.renderSlot(L.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),L.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))]),_:2},[L.$slots[`${z.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Fe})=>[o.renderSlot(L.$slots,`${z.type}-overlay-value`,{text:Fe.text,value:Fe.value})]),key:"0"}:void 0,L.$slots[`${z.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(L.$slots,`${z.type}-overlay`,o.normalizeProps(o.guardReactiveProps(I.value(z.type))))]),key:"1"}:void 0,L.$slots[`${z.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(L.$slots,`${z.type}-overlay-header`,{toggle:z.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),o.unref(C)(o.unref(l),t.instance)&&L.vertical?(o.openBlock(),o.createBlock(to,{key:1,"aria-label":(w=o.unref(a))==null?void 0:w.prevMonth,disabled:o.unref(_)(!1),onActivate:V[2]||(V[2]=z=>o.unref(p)(!1,!0))},{default:o.withCtx(()=>[L.$slots["arrow-up"]?o.renderSlot(L.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),L.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Vc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(k)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:2,ref:"rightIcon",disabled:o.unref(_)(!0),"aria-label":(B=o.unref(a))==null?void 0:B.nextMonth,onActivate:V[3]||(V[3]=z=>o.unref(p)(!0,!0)),onSetRef:V[4]||(V[4]=z=>Z(z,L.disableYearSelect?2:3))},{default:o.withCtx(()=>[L.$slots[L.vertical?"arrow-down":"arrow-right"]?o.renderSlot(L.$slots,L.vertical?"arrow-down":"arrow-right",{key:0}):o.createCommentVNode("",!0),L.$slots[L.vertical?"arrow-down":"arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(L.vertical?o.unref(Bc):o.unref($c)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),o8=["aria-label"],a8={class:"dp__calendar_header",role:"row"},l8={key:0,class:"dp__calendar_header_item",role:"gridcell"},c8=["aria-label"],d8=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),u8=["aria-label"],h8={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},f8={class:"dp__cell_inner"},m8=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],p8=o.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...En},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMultiLevelMatrix:i}=Br(),{defaultedTransitions:a,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:d,defaultedWeekNumbers:u,defaultedMultiDates:h}=Qe(s),f=o.ref(null),m=o.ref({bottom:"",left:"",transform:""}),g=o.ref([]),p=o.ref(null),_=o.ref(!0),y=o.ref(""),C=o.ref({startX:0,endX:0,startY:0,endY:0}),k=o.ref([]),S=o.ref({left:"50%"}),M=o.ref(!1),O=o.computed(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),v=o.computed(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):B9(s.formatLocale,s.locale,+s.weekStart));o.onMounted(()=>{r("mount",{cmp:"calendar",refs:g}),l.value.noSwipe||p.value&&(p.value.addEventListener("touchstart",ee,{passive:!1}),p.value.addEventListener("touchend",U,{passive:!1}),p.value.addEventListener("touchmove",L,{passive:!1})),s.monthChangeOnScroll&&p.value&&p.value.addEventListener("wheel",w,{passive:!1})});const D=Y=>Y?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(Y,ue)=>{if(s.transitions){const $=Zt(ar(q(),s.month,s.year));y.value=ut(Zt(ar(q(),Y,ue)),$)?a.value[D(!0)]:a.value[D(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>Y=>{const ue=F9(Y);return{dp__marker_dot:ue.type==="dot",dp__marker_line:ue.type==="line"}}),P=o.computed(()=>Y=>Me(Y,f.value)),R=o.computed(()=>({dp__calendar:!0,dp__calendar_next:d.value.count>0&&s.instance!==0})),G=o.computed(()=>Y=>s.hideOffsetDates?Y.current:!0),T=Y=>In(Y,"yyyy-MM-dd"),x=async(Y,ue,$)=>{const K=wt(g.value[ue][$]);if(K){const{width:de,height:ge}=K.getBoundingClientRect();f.value=Y.value;let ae={left:`${de/2}px`},te=-50;if(await o.nextTick(),k.value[0]){const{left:Vt,width:St}=k.value[0].getBoundingClientRect();Vt<0&&(ae={left:"0"},te=0,S.value.left=`${de/2}px`),window.innerWidth<Vt+St&&(ae={right:"0"},te=0,S.value.left=`${St-de/2}px`)}m.value={bottom:`${ge}px`,...ae,transform:`translateX(${te}%)`},r("tooltip-open",Y.marker)}},N=async(Y,ue,$)=>{var K,de;if(M.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",Y);r("set-hover-date",Y),(de=(K=Y.marker)==null?void 0:K.tooltip)!=null&&de.length&&await x(Y,ue,$)},Z=Y=>{f.value&&(f.value=null,m.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",Y.marker))},ee=Y=>{C.value.startX=Y.changedTouches[0].screenX,C.value.startY=Y.changedTouches[0].screenY},U=Y=>{C.value.endX=Y.changedTouches[0].screenX,C.value.endY=Y.changedTouches[0].screenY,V()},L=Y=>{s.vertical&&!s.inline&&Y.preventDefault()},V=()=>{const Y=s.vertical?"Y":"X";Math.abs(C.value[`start${Y}`]-C.value[`end${Y}`])>10&&r("handle-swipe",C.value[`start${Y}`]>C.value[`end${Y}`]?"right":"left")},b=(Y,ue,$)=>{Y&&(Array.isArray(g.value[ue])?g.value[ue][$]=Y:g.value[ue]=[Y]),s.arrowNavigation&&i(g.value,"calendar")},w=Y=>{s.monthChangeOnScroll&&(Y.preventDefault(),r("handle-scroll",Y))},B=Y=>u.value.type==="local"?Mc(Y.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Cc(Y.value):typeof u.value.type=="function"?u.value.type(Y.value):"",z=Y=>{const ue=Y[0];return u.value.hideOnOffsetDates?Y.some($=>$.current)?B(ue):"":B(ue)},be=(Y,ue)=>{h.value.enabled||($r(Y,l.value),r("select-date",ue))},Fe=Y=>{$r(Y,l.value)},A=Y=>{h.value.enabled&&h.value.dragSelect?(M.value=!0,r("select-date",Y)):h.value.enabled&&r("select-date",Y)};return e({triggerTransition:E}),(Y,ue)=>{var $;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(R.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:p,role:"grid",class:o.normalizeClass(I.value),"aria-label":($=o.unref(c))==null?void 0:$.calendarWrap},[o.createElementVNode("div",a8,[Y.weekNumbers?(o.openBlock(),o.createElementBlock("div",l8,o.toDisplayString(Y.weekNumName),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(v.value,(K,de)=>{var ge,ae;return o.openBlock(),o.createElementBlock("div",{key:de,class:"dp__calendar_header_item",role:"gridcell","aria-label":(ae=(ge=o.unref(c))==null?void 0:ge.weekDay)==null?void 0:ae.call(ge,de)},[Y.$slots["calendar-header"]?o.renderSlot(Y.$slots,"calendar-header",{key:0,day:K,index:de}):o.createCommentVNode("",!0),Y.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(K),1)],64))],8,c8)}),128))]),d8,o.createVNode(o.Transition,{name:y.value,css:!!Y.transitions},{default:o.withCtx(()=>{var K;return[_.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((K=o.unref(c))==null?void 0:K.calendarDays)||void 0,onMouseleave:ue[1]||(ue[1]=de=>M.value=!1)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(O.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[Y.weekNumbers?(o.openBlock(),o.createElementBlock("div",h8,[o.createElementVNode("div",f8,o.toDisplayString(z(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var Vt,St,Er;return o.openBlock(),o.createElementBlock("div",{id:T(ae.value),ref_for:!0,ref:kt=>b(kt,ge,te),key:te+ge,role:"gridcell",class:"dp__calendar_item","aria-selected":(ae.classData.dp__active_date||ae.classData.dp__range_start||ae.classData.dp__range_start)??void 0,"aria-disabled":ae.classData.dp__cell_disabled||void 0,"aria-label":(St=(Vt=o.unref(c))==null?void 0:Vt.day)==null?void 0:St.call(Vt,ae),tabindex:"0",onClick:o.withModifiers(kt=>be(kt,ae),["prevent"]),onKeydown:[o.withKeys(kt=>Y.$emit("select-date",ae),["enter"]),o.withKeys(kt=>Y.$emit("handle-space",ae),["space"])],onMouseenter:kt=>N(ae,ge,te),onMouseleave:kt=>Z(ae),onMousedown:kt=>A(ae),onMouseup:ue[0]||(ue[0]=kt=>M.value=!1)},[o.createElementVNode("div",{class:o.normalizeClass(["dp__cell_inner",ae.classData])},[Y.$slots.day&&G.value(ae)?o.renderSlot(Y.$slots,"day",{key:0,day:+ae.text,date:ae.value}):o.createCommentVNode("",!0),Y.$slots.day?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(ae.text),1)],64)),ae.marker&&G.value(ae)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[Y.$slots.marker?o.renderSlot(Y.$slots,"marker",{key:0,marker:ae.marker,day:+ae.text,date:ae.value}):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(j.value(ae.marker)),style:o.normalizeStyle(ae.marker.color?{backgroundColor:ae.marker.color}:{})},null,6))],64)):o.createCommentVNode("",!0),P.value(ae.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:k,class:"dp__marker_tooltip",style:o.normalizeStyle(m.value)},[(Er=ae.marker)!=null&&Er.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Fe},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ae.marker.tooltip,(kt,Gs)=>(o.openBlock(),o.createElementBlock("div",{key:Gs,class:"dp__tooltip_text"},[Y.$slots["marker-tooltip"]?o.renderSlot(Y.$slots,"marker-tooltip",{key:0,tooltip:kt,day:ae.value}):o.createCommentVNode("",!0),Y.$slots["marker-tooltip"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:"dp__tooltip_mark",style:o.normalizeStyle(kt.color?{backgroundColor:kt.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(kt.text),1)],64))]))),128)),o.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:o.normalizeStyle(S.value)},null,4)])):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)],2)],40,m8)}),128))]))),128))],40,u8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,o8)],2)}}}),uf=t=>Array.isArray(t),g8=(t,e,n,r)=>{const s=o.ref([]),i=o.ref(new Date),{modelValue:a,calendars:l,time:c}=Ji(t,e),{defaultedMultiCalendars:d,defaultedStartTime:u,defaultedRange:h,defaultedTz:f,propDates:m,defaultedMultiDates:g}=Qe(t),{validateMonthYearInRange:p,isDisabled:_,isDateRangeAllowed:y,checkMinMaxRange:C}=Fr(t),{updateTimeValues:k,getSetDateTime:S,setTime:M,assignStartTime:O,validateTime:v,disabledTimesConfig:D}=df(t,c,a,r),E=o.computed(()=>F=>l.value[F]?l.value[F].month:0),I=o.computed(()=>F=>l.value[F]?l.value[F].year:0),j=(F,J,ce)=>{var we,X;l.value[F]||(l.value[F]={month:0,year:0}),l.value[F].month=Yh(J)?(we=l.value[F])==null?void 0:we.month:J,l.value[F].year=Yh(ce)?(X=l.value[F])==null?void 0:X.year:ce},P=()=>{t.autoApply&&e("select-date")};o.watch(a,(F,J)=>{JSON.stringify(F)!==JSON.stringify(J)&&T()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(z(),u.value&&O(u.value)),T(!0),t.focusStartDate&&t.startDate&&z())});const R=o.computed(()=>{var F;return(F=t.flow)!=null&&F.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),G=()=>{t.autoApply&&R.value&&e("auto-apply")},T=(F=!1)=>{if(a.value)return Array.isArray(a.value)?(s.value=a.value,V(F)):Z(a.value,F);if(d.value.count&&F&&!t.startDate)return N(q(),F)},x=()=>Array.isArray(a.value)&&h.value.enabled?Ce(a.value[0])===Ce(a.value[1]??a.value[0]):!1,N=(F,J=!1)=>{if((!d.value.count||!d.value.static||J)&&j(0,Ce(F),ye(F)),d.value.count&&(!d.value.solo||!a.value||x()))for(let ce=1;ce<d.value.count;ce++){const we=He(q(),{month:E.value(ce-1),year:I.value(ce-1)}),X=ch(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(F,J)=>{N(F),M("hours",Tn(F)),M("minutes",zn(F)),M("seconds",Js(F)),d.value.count&&J&&B()},ee=F=>{if(d.value.count){if(d.value.solo)return 0;const J=Ce(F[0]),ce=Ce(F[1]);return Math.abs(ce-J)<d.value.count?0:1}return 1},U=(F,J)=>{F[1]&&h.value.showLastInRange?N(F[ee(F)],J):N(F[0],J);const ce=(we,X)=>[we(F[0]),F[1]?we(F[1]):c[X][1]];M("hours",ce(Tn,"hours")),M("minutes",ce(zn,"minutes")),M("seconds",ce(Js,"seconds"))},L=(F,J)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(F,J);if(g.value.enabled&&J){const ce=F[F.length-1];return Z(ce,J)}},V=F=>{const J=a.value;L(J,F),d.value.count&&d.value.solo&&B()},b=(F,J)=>{const ce=He(q(),{month:E.value(J),year:I.value(J)}),we=F<0?Sn(ce,1):ti(ce,1);p(Ce(we),ye(we),F<0,t.preventMinMaxNavigation)&&(j(J,Ce(we),ye(we)),e("update-month-year",{instance:J,month:Ce(we),year:ye(we)}),d.value.count&&!d.value.solo&&w(J),n())},w=F=>{for(let J=F-1;J>=0;J--){const ce=ti(He(q(),{month:E.value(J+1),year:I.value(J+1)}),1);j(J,Ce(ce),ye(ce))}for(let J=F+1;J<=d.value.count-1;J++){const ce=Sn(He(q(),{month:E.value(J-1),year:I.value(J-1)}),1);j(J,Ce(ce),ye(ce))}},B=()=>{if(Array.isArray(a.value)&&a.value.length===2){const F=q(q(a.value[1]?a.value[1]:Sn(a.value[0],1))),[J,ce]=[Ce(a.value[0]),ye(a.value[0])],[we,X]=[Ce(a.value[1]),ye(a.value[1])];(J!==we||J===we&&ce!==X)&&d.value.solo&&j(1,Ce(F),ye(F))}else a.value&&!Array.isArray(a.value)&&(j(0,Ce(a.value),ye(a.value)),N(q()))},z=()=>{t.startDate&&(j(0,Ce(q(t.startDate)),ye(q(t.startDate))),d.value.count&&w(0))},be=(F,J)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-i.value.getTime(),we=Math.abs(F.deltaY);let X=500;we>1&&(X=100),we>100&&(X=0),ce>X&&(i.value=new Date,b(t.monthChangeOnScroll!=="inverse"?-F.deltaY:F.deltaY,J))}},Fe=(F,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(F,J)},A=(F,J)=>{b(F==="right"?-1:1,J)},Y=F=>{if(m.value.markers)return ma(F.value,m.value.markers)},ue=(F,J)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[F==0,!0];case"fair":return[F==0||J>F,!0];case"append":return[!1,!1];default:return[!1,!1]}},$=(F,J,ce,we)=>{if(t.sixWeeks&&F.length<6){const X=6-F.length,he=(J.getDay()+7-we)%7,fe=6-(ce.getDay()+7-we)%7,[Pr,ir]=ue(he,fe);for(let Ks=1;Ks<=X;Ks++)if(ir?!!(Ks%2)==Pr:Pr){const cs=F[0].days[0],ih=K(vn(cs.value,-7),Ce(J));F.unshift({days:ih})}else{const cs=F[F.length-1],ih=cs.days[cs.days.length-1],sI=K(vn(ih.value,1),Ce(J));F.push({days:sI})}}return F},K=(F,J)=>{const ce=q(F),we=[];for(let X=0;X<7;X++){const he=vn(ce,X),fe=Ce(he)!==J;we.push({text:t.hideOffsetDates&&fe?"":he.getDate(),value:he,current:!fe,classData:{}})}return we},de=(F,J)=>{const ce=[],we=new Date(J,F),X=new Date(J,F+1,0),he=t.weekStart,fe=Rn(we,{weekStartsOn:he}),Pr=ir=>{const Ks=K(ir,F);if(ce.push({days:Ks}),!ce[ce.length-1].days.some(cs=>Me(Zt(cs.value),Zt(X)))){const cs=vn(ir,7);Pr(cs)}};return Pr(fe),$(ce,we,X,he)},ge=F=>{const J=Nr(q(F.value),c.hours,c.minutes,Gs());e("date-update",J),g.value.enabled?Jc(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=F=>h.value.noDisabledRange?qh(s.value[0],F).some(J=>_(J)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},Vt=(F,J)=>{const ce=[q(F.value),vn(q(F.value),+h.value.autoRange)];y(ce)?(J&&St(F.value),s.value=ce):e("invalid-date",F.value)},St=F=>{const J=Ce(q(F)),ce=ye(q(F));if(j(0,J,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=Z9(He(q(F),{year:E.value(we-1),month:I.value(we-1)}));j(we,X.month,X.year)}},Er=F=>{if(ae(F.value)||!C(F.value,a.value,h.value.fixedStart?0:1))return e("invalid-date",F.value);s.value=af(q(F.value),a,e,h)},kt=(F,J)=>{if(te(),h.value.autoRange)return Vt(F,J);if(h.value.fixedStart||h.value.fixedEnd)return Er(F);s.value[0]?C(q(F.value),a.value)&&!ae(F.value)?rt(q(F.value),q(s.value[0]))?(s.value.unshift(q(F.value)),e("range-end",s.value[0])):(s.value[1]=q(F.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",F.value),e("invalid-date",F.value)):(s.value[0]=q(F.value),e("range-start",s.value[0]))},Gs=(F=!0)=>t.enableSeconds?Array.isArray(c.seconds)?F?c.seconds[0]:c.seconds[1]:c.seconds:0,da=F=>{s.value[F]=Nr(s.value[F],c.hours[F],c.minutes[F],Gs(F!==1))},ua=()=>{var F,J;s.value[0]&&s.value[1]&&+((F=s.value)==null?void 0:F[0])>+((J=s.value)==null?void 0:J[1])&&(s.value.reverse(),e("range-start",s.value[0]),e("range-end",s.value[1]))},Mn=()=>{s.value.length&&(s.value[0]&&!s.value[1]?da(0):(da(0),da(1),r()),ua(),a.value=s.value.slice(),ka(s.value,e,t.autoApply,t.modelAuto))},eh=(F,J=!1)=>{if(_(F.value)||!F.current&&t.hideOffsetDates)return e("invalid-date",F.value);if(!h.value.enabled)return ge(F);uf(c.hours)&&uf(c.minutes)&&!g.value.enabled&&(kt(F,J),Mn())},th=(F,J)=>{var ce;j(F,J.month,J.year),d.value.count&&!d.value.solo&&w(F),e("update-month-year",{instance:F,month:J.month,year:J.year}),n(d.value.solo?F:void 0);const we=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!J.fromNav&&(we===jn.month||we===jn.year)&&r()},gc=(F,J)=>{of({value:F,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),P(),t.multiCalendars&&o.nextTick().then(()=>T(!0))},nh=()=>{h.value.enabled?a.value&&Array.isArray(a.value)&&a.value[0]?a.value=rt(q(),a.value[0])?[q(),a.value[0]]:[a.value[0],q()]:a.value=[q()]:a.value=q(),P()},rh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const F=sh();a.value[a.value.length-1]=S(F)}else a.value=a.value.map((F,J)=>F&&S(F,J));else a.value=S(a.value);e("time-update")},sh=()=>Array.isArray(a.value)&&a.value.length?a.value[a.value.length-1]:null;return{calendars:l,modelValue:a,month:E,year:I,time:c,disabledTimesConfig:D,validateTime:v,getCalendarDays:de,getMarker:Y,handleScroll:be,handleSwipe:A,handleArrow:Fe,selectDate:eh,updateMonthYear:th,presetDate:gc,selectCurrentDate:nh,updateTime:(F,J=!0,ce=!1)=>{k(F,J,ce,rh)}}},_8={key:0},y8=o.defineComponent({__name:"DatePicker",props:{...En},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,{calendars:i,month:a,year:l,modelValue:c,time:d,disabledTimesConfig:u,validateTime:h,getCalendarDays:f,getMarker:m,handleArrow:g,handleScroll:p,handleSwipe:_,selectDate:y,updateMonthYear:C,presetDate:k,selectCurrentDate:S,updateTime:M}=g8(s,r,ee,U),O=o.useSlots(),{setHoverDate:v,getDayClassData:D,clearHoverDate:E}=b7(c,s),{defaultedMultiCalendars:I}=Qe(s),j=o.ref([]),P=o.ref([]),R=o.ref(null),G=Ut(O,"calendar"),T=Ut(O,"monthYear"),x=Ut(O,"timePicker"),N=V=>{s.shadow||r("mount",V)};o.watch(i,()=>{s.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const Z=o.computed(()=>V=>f(a.value(V),l.value(V)).map(b=>({...b,days:b.days.map(w=>(w.marker=m(w),w.classData=D(w),w))})));function ee(V){var b;V||V===0?(b=P.value[V])==null||b.triggerTransition(a.value(V),l.value(V)):P.value.forEach((w,B)=>w.triggerTransition(a.value(B),l.value(B)))}function U(){r("update-flow-step")}const L=(V,b=!1)=>{y(V,b),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:k,selectCurrentDate:S,toggleMonthPicker:(V,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(V,b)},toggleYearPicker:(V,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(V,b)},toggleTimePicker:(V,b,w)=>{var B;(B=R.value)==null||B.toggleTimePicker(V,b,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:k})}),(V,b)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(ba,{"multi-calendars":o.unref(I).count,collapse:V.collapse},{default:o.withCtx(({instance:w,index:B})=>[V.disableMonthYearSelect?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(i8,o.mergeProps({key:0,ref:z=>{z&&(j.value[B]=z)},months:o.unref(Rh)(V.formatLocale,V.locale,V.monthNameFormat),years:o.unref(Ac)(V.yearRange,V.locale,V.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},V.$props,{onMount:b[0]||(b[0]=z=>N(o.unref(gs).header)),onResetFlow:b[1]||(b[1]=z=>V.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(C)(w,z),onOverlayClosed:b[2]||(b[2]=z=>V.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(T),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(V.$slots,z,o.normalizeProps(o.guardReactiveProps(Fe)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(p8,o.mergeProps({ref:z=>{z&&(P.value[B]=z)},"mapped-dates":Z.value(w),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},V.$props,{onSelectDate:z=>o.unref(y)(z,w!==1),onHandleSpace:z=>L(z,w!==1),onSetHoverDate:b[3]||(b[3]=z=>o.unref(v)(z)),onHandleScroll:z=>o.unref(p)(z,w),onHandleSwipe:z=>o.unref(_)(z,w),onMount:b[4]||(b[4]=z=>N(o.unref(gs).calendar)),onResetFlow:b[5]||(b[5]=z=>V.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=z=>V.$emit("tooltip-open",z)),onTooltipClose:b[7]||(b[7]=z=>V.$emit("tooltip-close",z))}),o.createSlots({_:2},[o.renderList(o.unref(G),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(V.$slots,z,o.normalizeProps(o.guardReactiveProps({...Fe})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),V.enableTimePicker?(o.openBlock(),o.createElementBlock("div",_8,[V.$slots["time-picker"]?o.renderSlot(V.$slots,"time-picker",o.normalizeProps(o.mergeProps({key:0},{time:o.unref(d),updateTime:o.unref(M)}))):(o.openBlock(),o.createBlock(cf,o.mergeProps({key:1,ref_key:"timePickerRef",ref:R},V.$props,{hours:o.unref(d).hours,minutes:o.unref(d).minutes,seconds:o.unref(d).seconds,"internal-model-value":V.internalModelValue,"disabled-times-config":o.unref(u),"validate-time":o.unref(h),onMount:b[8]||(b[8]=w=>N(o.unref(gs).timePicker)),"onUpdate:hours":b[9]||(b[9]=w=>o.unref(M)(w)),"onUpdate:minutes":b[10]||(b[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":b[11]||(b[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:b[12]||(b[12]=w=>V.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=w=>V.$emit("time-picker-close")),onOverlayOpened:b[14]||(b[14]=w=>V.$emit("time-picker-open",w)),onAmPmChange:b[15]||(b[15]=w=>V.$emit("am-pm-change",w))}),o.createSlots({_:2},[o.renderList(o.unref(x),(w,B)=>({name:w,fn:o.withCtx(z=>[o.renderSlot(V.$slots,w,o.normalizeProps(o.guardReactiveProps(z)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),w8=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:s,defaultedHighlight:i,defaultedRange:a,propDates:l,defaultedFilters:c,defaultedMultiDates:d}=Qe(t),{modelValue:u,year:h,month:f,calendars:m}=Ji(t,e),{isDisabled:g}=Fr(t),{selectYear:p,groupedYears:_,showYearPicker:y,isDisabled:C,toggleYearPicker:k,handleYearSelect:S,handleYear:M}=lf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),O=(T,x)=>[T,x].map(N=>In(N,"MMMM",{locale:t.formatLocale})).join("-"),v=o.computed(()=>T=>u.value?Array.isArray(u.value)?u.value.some(x=>Lh(T,x)):Lh(u.value,T):!1),D=T=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Me(T,u.value[0])||Me(T,u.value[1]);return pa(u.value,n.value,T)&&!x}return!1}return!1},E=(T,x)=>T.quarter===gh(x)&&T.year===ye(x),I=T=>typeof i.value=="function"?i.value({quarter:gh(T),year:ye(T)}):!!i.value.quarters.find(x=>E(x,T)),j=o.computed(()=>T=>{const x=He(new Date,{year:h.value(T)});return H5({start:yh(x),end:W5(x)}).map(N=>{const Z=hs(N),ee=wh(N),U=g(N),L=D(Z),V=I(Z);return{text:O(Z,ee),value:Z,active:v.value(Z),highlighted:V,disabled:U,isBetween:L}})}),P=T=>{Jc(T,u,d.value.limit),e("auto-apply",!0)},R=T=>{u.value=ed(u,T,e),ka(u.value,e,t.autoApply,t.modelAuto)},G=T=>{u.value=T,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:T=>{n.value=T},selectYear:p,selectQuarter:(T,x,N)=>{if(!N)return m.value[x].month=Ce(wh(T)),d.value.enabled?P(T):a.value.enabled?R(T):G(T)},toggleYearPicker:k,handleYearSelect:S,handleYear:M}},b8={class:"dp--quarter-items"},k8=["disabled","onClick","onMouseover"],C8=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...En},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Ut(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:d,year:u,isDisabled:h,quarters:f,modelValue:m,showYearPicker:g,setHoverDate:p,selectQuarter:_,toggleYearPicker:y,handleYearSelect:C,handleYear:k}=w8(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(S,M)=>(o.openBlock(),o.createBlock(ba,{"multi-calendars":o.unref(l).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:O})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(sf,o.mergeProps(S.$props,{items:o.unref(d)(O),instance:O,"show-year-picker":o.unref(g)[O],year:o.unref(u)(O),"is-disabled":v=>o.unref(h)(O,v),onHandleYear:v=>o.unref(k)(O,v),onYearSelect:v=>o.unref(C)(v,O),onToggleYearPicker:v=>o.unref(y)(O,v==null?void 0:v.flow,v==null?void 0:v.show)}),o.createSlots({_:2},[o.renderList(o.unref(a),(v,D)=>({name:v,fn:o.withCtx(E=>[o.renderSlot(S.$slots,v,o.normalizeProps(o.guardReactiveProps(E)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",b8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(O),(v,D)=>(o.openBlock(),o.createElementBlock("div",{key:D},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":v.active,"dp--qr-btn-between":v.isBetween,"dp--qr-btn-disabled":v.disabled,"dp--highlighted":v.highlighted}]),disabled:v.disabled,onClick:E=>o.unref(_)(v.value,O,v.disabled),onMouseover:E=>o.unref(p)(v.value)},[S.$slots.quarter?o.renderSlot(S.$slots,"quarter",{key:0,value:v.value,text:v.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(v.text),1)],64))],42,k8)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),x8=["id","aria-label"],M8={key:0,class:"dp--menu-load-container"},v8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),S8=[v8],T8={key:0,class:"dp__sidebar_left"},O8=["onClick","onKeydown"],D8={key:2,class:"dp__sidebar_right"},E8={key:3,class:"dp__action_extra"},hf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...wa,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.ref(null),a=o.computed(()=>{const{openOnTop:$,...K}=s;return{...K,flowStep:D.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=ef(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=Qe(s),g=o.ref(null),p=o.ref(0),_=o.ref(null),y=o.ref(!1),C=o.ref(null);o.onMounted(()=>{if(!s.shadow){y.value=!0,k(),window.addEventListener("resize",k);const $=wt(i);if($&&!h.value.enabled&&!f.value.enabled&&(l(!0),R()),$){const K=de=>{m.value.allowPreventDefault&&de.preventDefault(),$r(de,m.value,!0)};$.addEventListener("pointerdown",K),$.addEventListener("mousedown",K)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",k)});const k=()=>{const $=wt(_);$&&(p.value=$.getBoundingClientRect().width)},{arrowRight:S,arrowLeft:M,arrowDown:O,arrowUp:v}=Br(),{flowStep:D,updateFlowStep:E,childMount:I,resetFlow:j}=k7(s,r,C),P=o.computed(()=>s.monthPicker?A7:s.yearPicker?R7:s.timePicker?n8:s.quarterPicker?C8:y8),R=()=>{const $=wt(i);$&&$.focus({preventScroll:!0})},G=o.computed(()=>{var $;return(($=C.value)==null?void 0:$.getSidebarProps())||{}}),T=()=>{s.openOnTop&&r("recalculate-position")},x=Ut(u,"action"),N=o.computed(()=>s.monthPicker||s.yearPicker?Ut(u,"monthYear"):s.timePicker?Ut(u,"timePicker"):Ut(u,"shared")),Z=o.computed(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ee=o.computed(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),U=o.computed(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,[s.menuClassName]:!!s.menuClassName})),L=$=>{$r($,m.value,!0)},V=()=>{s.escClose&&r("close-picker")},b=$=>{if(s.arrowNavigation){if($==="up")return v();if($==="down")return O();if($==="left")return M();if($==="right")return S()}else $==="left"||$==="up"?Fe("handleArrow","left",0,$==="up"):Fe("handleArrow","right",0,$==="down")},w=$=>{c($.shiftKey),!s.disableMonthYearSelect&&$.code==="Tab"&&$.target.classList.contains("dp__menu")&&d.value.shiftKeyInMenu&&($.preventDefault(),$r($,m.value,!0),r("close-picker"))},B=()=>{R(),r("time-picker-close")},z=$=>{var K,de,ge;(K=C.value)==null||K.toggleTimePicker(!1,!1),(de=C.value)==null||de.toggleMonthPicker(!1,!1,$),(ge=C.value)==null||ge.toggleYearPicker(!1,!1,$)},be=($,K=0)=>{var de,ge,ae;return $==="month"?(de=C.value)==null?void 0:de.toggleMonthPicker(!1,!0,K):$==="year"?(ge=C.value)==null?void 0:ge.toggleYearPicker(!1,!0,K):$==="time"?(ae=C.value)==null?void 0:ae.toggleTimePicker(!0,!1):z(K)},Fe=($,...K)=>{var de,ge;(de=C.value)!=null&&de[$]&&((ge=C.value)==null||ge[$](...K))},A=()=>{Fe("selectCurrentDate")},Y=($,K)=>{Fe("presetDate",$,K)},ue=()=>{Fe("clearHoverDate")};return e({updateMonthYear:($,K)=>{Fe("updateMonthYear",$,K)},switchView:be}),($,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{id:$.uid?`dp-menu-${$.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:"0",role:"dialog","aria-label":(de=$.ariaLabels)==null?void 0:de.menu,class:o.normalizeClass(U.value),onMouseleave:ue,onClick:L,onKeydown:[o.withKeys(V,["esc"]),K[18]||(K[18]=o.withKeys(o.withModifiers(te=>b("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>b("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>b("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>b("right"),["prevent"]),["right"])),w]},[($.disabled||$.readonly)&&o.unref(f).enabled||$.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(ee.value)},[$.loading?(o.openBlock(),o.createElementBlock("div",M8,S8)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(f).enabled&&!$.teleportCenter?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(Z.value)},null,2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"innerMenuRef",ref:_,class:o.normalizeClass({dp__menu_content_wrapper:((ge=$.presetDates)==null?void 0:ge.length)||!!$.$slots["left-sidebar"]||!!$.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((ae=$.presetDates)==null?void 0:ae.length)||!!$.$slots["left-sidebar"]||!!$.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${p.value}px`})},[$.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",T8,[o.renderSlot($.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),$.presetDates.length?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList($.presetDates,(te,Vt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:Vt},[te.slot?o.renderSlot($.$slots,te.slot,{key:0,presetDate:Y,label:te.label,value:te.value}):(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",style:o.normalizeStyle(te.style||{}),class:o.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),onClick:o.withModifiers(St=>Y(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(St=>Y(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(St=>Y(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,O8))],64))),128))],2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:g,class:"dp__instance_calendar",role:"document"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(P.value),o.mergeProps({ref_key:"dynCmpRef",ref:C},a.value,{"flow-step":o.unref(D),onMount:o.unref(I),onUpdateFlowStep:o.unref(E),onResetFlow:o.unref(j),onFocusMenu:R,onSelectDate:K[0]||(K[0]=te=>$.$emit("select-date")),onDateUpdate:K[1]||(K[1]=te=>$.$emit("date-update",te)),onTooltipOpen:K[2]||(K[2]=te=>$.$emit("tooltip-open",te)),onTooltipClose:K[3]||(K[3]=te=>$.$emit("tooltip-close",te)),onAutoApply:K[4]||(K[4]=te=>$.$emit("auto-apply",te)),onRangeStart:K[5]||(K[5]=te=>$.$emit("range-start",te)),onRangeEnd:K[6]||(K[6]=te=>$.$emit("range-end",te)),onInvalidFixedRange:K[7]||(K[7]=te=>$.$emit("invalid-fixed-range",te)),onTimeUpdate:K[8]||(K[8]=te=>$.$emit("time-update")),onAmPmChange:K[9]||(K[9]=te=>$.$emit("am-pm-change",te)),onTimePickerOpen:K[10]||(K[10]=te=>$.$emit("time-picker-open",te)),onTimePickerClose:B,onRecalculatePosition:T,onUpdateMonthYear:K[11]||(K[11]=te=>$.$emit("update-month-year",te)),onAutoApplyInvalid:K[12]||(K[12]=te=>$.$emit("auto-apply-invalid",te)),onInvalidDate:K[13]||(K[13]=te=>$.$emit("invalid-date",te)),"onUpdate:internalModelValue":K[14]||(K[14]=te=>$.$emit("update:internal-model-value",te))}),o.createSlots({_:2},[o.renderList(N.value,(te,Vt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot($.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),$.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",D8,[o.renderSlot($.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),$.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",E8,[$.$slots["action-extra"]?o.renderSlot($.$slots,"action-extra",{key:0,selectCurrentDate:A}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!$.autoApply||o.unref(m).keepActionRow?(o.openBlock(),o.createBlock(O7,o.mergeProps({key:2,"menu-mount":y.value},a.value,{"calendar-width":p.value,onClosePicker:K[15]||(K[15]=te=>$.$emit("close-picker")),onSelectDate:K[16]||(K[16]=te=>$.$emit("select-date")),onInvalidSelect:K[17]||(K[17]=te=>$.$emit("invalid-select")),onSelectNow:A}),o.createSlots({_:2},[o.renderList(o.unref(x),(te,Vt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot($.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,x8)}}}),P8=typeof window<"u"?window:void 0,td=()=>{},L8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,$8=(t,e,n,r)=>{if(!t)return td;let s=td;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=td})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return L8(a),a},N8=(t,e,n,r={})=>{const{window:s=P8,event:i="pointerdown"}=r;return s?$8(s,i,a=>{const l=wt(t),c=wt(e);!l||!c||l===a.target||a.composedPath().includes(l)||a.composedPath().includes(c)||n(a)},{passive:!0}):void 0},V8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...wa},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=o.ref(!1),l=o.toRef(s,"modelValue"),c=o.toRef(s,"timezone"),d=o.ref(null),u=o.ref(null),h=o.ref(null),f=o.ref(!1),m=o.ref(null),g=o.ref(!1),p=o.ref(!1),_=o.ref(!1),{setMenuFocused:y,setShiftKey:C}=ef(),{clearArrowNav:k}=Br(),{validateDate:S,isValidTime:M}=Fr(s),{defaultedTransitions:O,defaultedTextInput:v,defaultedInline:D,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Qe(s),{menuTransition:P,showTransition:R}=Qi(O);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!D.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),D.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!D.value.enabled){const X=U(m.value);X==null||X.removeEventListener("scroll",K),window==null||window.removeEventListener("resize",de)}window==null||window.removeEventListener("keyup",ge),window==null||window.removeEventListener("keydown",ae)});const G=Ut(i,"all",s.presetDates),T=Ut(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:N,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:L}=_7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:D,emit:r,props:s,slots:i}),{inputValue:V,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:z,checkBeforeEmit:be}=p7(r,s,f),Fe=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:D.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:D.value.input})),A=o.computed(()=>s.dark?"dp__theme_dark":"dp__theme_light"),Y=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||D.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),$=o.computed(()=>D.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),K=()=>{a.value&&(E.value.closeOnScroll?Mn():ee())},de=()=>{var X;a.value&&ee();const he=(X=u.value)==null?void 0:X.$el.getBoundingClientRect().width;_.value=document.body.offsetWidth<=he},ge=X=>{X.key==="Tab"&&!D.value.enabled&&!s.teleport&&E.value.tabOutClosesMenu&&(m.value.contains(document.activeElement)||Mn()),p.value=X.shiftKey},ae=X=>{p.value=X.shiftKey},te=()=>{!s.disabled&&!s.readonly&&(L(hf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||ua(),w(s.modelValue))},Vt=()=>{var X;V.value="",ua(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Mn()},St=()=>{const X=b.value;return!X||!Array.isArray(X)&&S(X)?!0:Array.isArray(X)?j.value.enabled||X.length===2&&S(X[0])&&S(X[1])?!0:I.value.partialRange&&!s.timePicker?S(X[0]):!1:!1},Er=()=>{be()&&St()?(B(),Mn()):r("invalid-select",b.value)},kt=X=>{Gs(),B(),E.value.closeOnAutoApply&&!X&&Mn()},Gs=()=>{h.value&&v.value.enabled&&h.value.setParsedDate(b.value)},da=(X=!1)=>{s.autoApply&&M(b.value)&&St()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&kt(X):kt(X))},ua=()=>{v.value.enabled||(b.value=null)},Mn=()=>{D.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),V.value&&w(l.value)),ua(),r("blur"))},eh=(X,he,fe=!1)=>{if(!X){b.value=null;return}const Pr=Array.isArray(X)?!X.some(Ks=>!S(Ks)):S(X),ir=M(X);Pr&&ir&&(b.value=X,he&&(g.value=fe,Er(),r("text-submit")))},th=()=>{s.autoApply&&M(b.value)&&B(),Gs()},gc=()=>a.value?Mn():te(),nh=X=>{b.value=X},rh=()=>{v.value.enabled&&(f.value=!0,z()),r("focus")},sh=()=>{if(v.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=z9(m.value,p.value);X==null||X.focus()}r("blur")},F=X=>{u.value&&u.value.updateMonthYear(0,{month:zh(X.month),year:zh(X.year)})},J=X=>{w(X??s.modelValue)},ce=(X,he)=>{var fe;(fe=u.value)==null||fe.switchView(X,he)},we=X=>E.value.onClickOutside?E.value.onClickOutside(X):Mn();return N8(d,h,()=>we(St)),e({closeMenu:Mn,selectDate:Er,clearValue:Vt,openMenu:te,onScroll:K,formatInputValue:z,updateInternalModelValue:nh,setMonthYear:F,parseModel:J,switchView:ce,toggleMenu:gc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Fe.value),"data-datepicker-instance":""},[o.createVNode(v7,o.mergeProps({ref_key:"inputRef",ref:h,"input-value":o.unref(V),"onUpdate:inputValue":he[0]||(he[0]=fe=>o.isRef(V)?V.value=fe:null),"is-menu-open":a.value},X.$props,{onClear:Vt,onOpen:te,onSetInputDate:eh,onSetEmptyDate:o.unref(B),onSelectDate:Er,onToggle:gc,onClose:Mn,onFocus:rh,onBlur:sh,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(T),(fe,Pr)=>({name:fe,fn:o.withCtx(ir=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps(ir)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(X.teleport?o.Teleport:"div"),o.normalizeProps(o.guardReactiveProps(Y.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref(P)(o.unref(x)),css:o.unref(R)&&!o.unref(D).enabled},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:d},ue.value,{class:{"dp--menu-wrapper":!o.unref(D).enabled},style:o.unref(D).enabled?void 0:o.unref(N)}),[o.createVNode(hf,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(b),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(b)?b.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":$.value,collapse:_.value,onClosePicker:Mn,onSelectDate:Er,onAutoApply:da,onTimeUpdate:th,onFlowStep:he[3]||(he[3]=fe=>X.$emit("flow-step",fe)),onUpdateMonthYear:he[4]||(he[4]=fe=>X.$emit("update-month-year",fe)),onInvalidSelect:he[5]||(he[5]=fe=>X.$emit("invalid-select",o.unref(b))),onAutoApplyInvalid:he[6]||(he[6]=fe=>X.$emit("invalid-select",fe)),onInvalidFixedRange:he[7]||(he[7]=fe=>X.$emit("invalid-fixed-range",fe)),onRecalculatePosition:o.unref(ee),onTooltipOpen:he[8]||(he[8]=fe=>X.$emit("tooltip-open",fe)),onTooltipClose:he[9]||(he[9]=fe=>X.$emit("tooltip-close",fe)),onTimePickerOpen:he[10]||(he[10]=fe=>X.$emit("time-picker-open",fe)),onTimePickerClose:he[11]||(he[11]=fe=>X.$emit("time-picker-close",fe)),onAmPmChange:he[12]||(he[12]=fe=>X.$emit("am-pm-change",fe)),onRangeStart:he[13]||(he[13]=fe=>X.$emit("range-start",fe)),onRangeEnd:he[14]||(he[14]=fe=>X.$emit("range-end",fe)),onDateUpdate:he[15]||(he[15]=fe=>X.$emit("date-update",fe)),onInvalidDate:he[16]||(he[16]=fe=>X.$emit("invalid-date",fe))}),o.createSlots({_:2},[o.renderList(o.unref(G),(fe,Pr)=>({name:fe,fn:o.withCtx(ir=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps({...ir})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):o.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),nd=(()=>{const t=V8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:nd},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(nd[t]=e)});const B8={class:"scope-datepicker__wrapper"},A8={key:0,class:"scope-datepicker__label"},F8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,multiCalendars:Boolean|Object,inline:Boolean,fullWidth:Boolean,label:String,size:{type:String,default:"md"},placeholder:{type:String,default:"Select Date"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("div",B8,[t.label?(o.openBlock(),o.createElementBlock("div",A8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(nd),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"])]))}},R8=Pe(F8,[["__scopeId","data-v-0081bf59"]]),I8=["onClick"],z8=Pe({__name:"Selector",props:o.mergeModels({options:Array,width:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.computed(()=>n.width?{width:n.width}:null),s=i=>{e.value=i};return(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-selector",style:o.normalizeStyle(r.value)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.options,(l,c)=>(o.openBlock(),o.createElementBlock("button",{key:c,onClick:d=>s(l),class:o.normalizeClass(["scope-selector__option",{"-selected":typeof l=="object"?l.name===e.value.name:l===i.name}])},o.toDisplayString(typeof l=="object"?l.name:l),11,I8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),Y8={class:"scope-number-input__fieldset","data-number-code-form":""},H8=["disabled","onInput","onKeydown"],W8={key:0,class:"scope-number-input__error-message"},j8=Pe({__name:"NumberInput",props:o.mergeModels({necessaryLength:{type:Number,default:6},disabled:Boolean,isInvalid:Boolean,errorMessage:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.ref(null),r=o.useModel(t,"modelValue");r.value||(r.value=Array(e.necessaryLength).fill(null));const s=({target:a},l)=>{if(r.value[l]=a.value,!a.value.length){a.value=null;return}if(a.value.length>1){const u=a.value.split("");u.forEach((h,f)=>{const m=l+f;m>=e.necessaryLength||(n.value.querySelectorAll("[data-number-code-input]")[m].value=h,r.value[m]=h)}),l+=u.length-2}const d=l+1;d<e.necessaryLength&&n.value.querySelectorAll("[data-number-code-input]")[d].focus()},i=(a,l)=>{const{code:c,target:d}=a,u=l-1,h=l+1,f=u>=0,m=h<=e.necessaryLength-1;switch(c){case"ArrowLeft":case"ArrowUp":f&&n.value.querySelectorAll("[data-number-code-input]")[u].focus(),a.preventDefault();break;case"ArrowRight":case"ArrowDown":m&&n.value.querySelectorAll("[data-number-code-input]")[h].focus(),a.preventDefault();break;case"Backspace":if(!d.value.length&&f){const g=n.value.querySelectorAll("[data-number-code-input]")[u];r.value[u]=null,g.value=null,g.focus()}break}};return(a,l)=>(o.openBlock(),o.createElementBlock("form",{class:"scope-number-input__form",ref_key:"numberCodeForm",ref:n},[o.createElementVNode("fieldset",Y8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.necessaryLength,(c,d)=>(o.openBlock(),o.createElementBlock("input",{type:"number",disabled:t.disabled,maxlength:"1",key:d,class:o.normalizeClass(["scope-number-input",{"-invalid":t.isInvalid}]),min:"0",max:"9","data-number-code-input":"",onInput:u=>s(u,d),onKeydown:u=>i(u,d),required:""},null,42,H8))),128))]),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",W8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-7474e888"]]),Z8={class:"scope-navigation-tab__icon-wrapper"},U8={key:0},q8=Pe({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,isFull:Boolean,page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=s=>{n("openPage",s)};return(s,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",Z8,[o.createVNode(ze,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",U8,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5e3c38cb"]]);function cr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ff(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
1
+ (function(ie,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(ie=typeof globalThis<"u"?globalThis:ie||self,o(ie.Scope360Core={},ie.Vue))})(this,function(ie,o){"use strict";var cI=Object.defineProperty;var dI=(ie,o,ds)=>o in ie?cI(ie,o,{enumerable:!0,configurable:!0,writable:!0,value:ds}):ie[o]=ds;var W=(ie,o,ds)=>(dI(ie,typeof o!="symbol"?o+"":o,ds),ds);var ls;const ds=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e)))})},ze={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>ds(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>PN),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>NN),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>AN),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>IN),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>HN),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>ZN),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>GN),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>QN),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>tV),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>sV),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>aV),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>dV),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>fV),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>gV),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>wV),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>CV),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>vV),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>DV),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>PV),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>NV),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>AV),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>IV),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>HV),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>ZV),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>GV),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>QV),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>tB),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>sB),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>aB),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>dB),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>fB),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>gB),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>wB),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>CB),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>vB),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>DB),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>PB),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>NB),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>AB),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>IB),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>HB),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>ZB),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>GB),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>QB),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>tA),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>sA),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>aA),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>dA),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>fA),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>gA),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>wA),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>CA),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>vA),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>DA),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>PA),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>NA),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>AA),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>IA),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>HA),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>ZA),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>GA),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>QA),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>tF),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>sF),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>aF),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>dF),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>fF),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>gF),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>wF),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>CF),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>vF),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>DF),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>PF),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>NF),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>AF),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>IF),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>HF),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>ZF),"../assets/icons/search-grey.svg":()=>Promise.resolve().then(()=>GF),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>QF),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>tR),"../assets/icons/settings-gear-2.svg":()=>Promise.resolve().then(()=>sR),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>aR),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>dR),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>fR),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>gR),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>wR),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>CR),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>vR),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>DR),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>PR),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>NR),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>AR),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>IR),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>HR),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>ZR),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>GR),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>QR),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>tI),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>sI),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>aI)}),`../assets/icons/${e.icon}.svg`));return(r,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},Oe=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},W_=["disabled"],j_={key:1},_c=Oe({__name:"Button",props:{size:{type:String,default:"md"},view:{type:String,default:"primary"},ctaText:String,icon:String,iconAlignment:String,width:String,disabled:Boolean,fullWidth:Boolean},setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null);return(r,s)=>(o.openBlock(),o.createElementBlock("button",{disabled:t.disabled,style:o.normalizeStyle(n.value),class:o.normalizeClass([`-${t.size}`,`-${t.view}`,`-${t.iconAlignment}`,{"-no-icon":!t.icon},{"-only-icon":t.icon&&!t.ctaText},{"-full-width":t.fullWidth}])},[t.icon?(o.openBlock(),o.createBlock(ze,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",j_,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,W_))}},[["__scopeId","data-v-ffc148b3"]]);function yc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function Z_(t){return(...e)=>!t(...e)}function U_(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function oh(t,e,n,r){return e?t.filter(s=>U_(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function q_(t){return t.filter(e=>!e.$isLabel)}function wc(t,e){return n=>n.reduce((r,s)=>s[t]&&s[t].length?(r.push({$groupLabel:s[e],$isLabel:!0}),r.concat(s[t])):r,[])}function G_(t,e,n,r,s){return i=>i.map(a=>{if(!a[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=oh(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const ah=(...t)=>e=>t.reduce((n,r)=>r(n),e);var K_={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(t,e){return yc(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,e,this.label):oh(n,e,this.label,this.customLabel):n=this.groupValues?wc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(Z_(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(t=>t[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(e=>this.customLabel(e,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(t,e,n){return ah(G_(e,n,this.groupValues,this.groupLabel,this.customLabel),wc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return ah(wc(this.groupValues,this.groupLabel),q_)(t)},updateSearch(t){this.search=t},isExistingOption(t){return this.options?this.optionKeys.indexOf(t)>-1:!1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled(t){return!!t.$isDisabled},getOptionLabel(t){if(yc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return yc(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect){this.selectGroup(t);return}if(!(this.blockKeys.indexOf(e)!==-1||this.disabled||t.$isDisabled||t.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(e==="Tab"&&!this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t)){e!=="Tab"&&this.removeElement(t);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find(n=>n[this.groupLabel]===t.$groupLabel);if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const n=this.internalValue.filter(r=>e[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=e[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every(e=>this.isSelected(e)||this.isOptionDisabled(e))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof t=="object"?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},X_={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===e.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},lh={name:"vue-multiselect",mixins:[K_,X_],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}};const Q_={ref:"tags",class:"multiselect__tags"},J_={class:"multiselect__tags-wrap"},e5={class:"multiselect__spinner"},t5={key:0},n5={class:"multiselect__option"},r5={class:"multiselect__option"},s5=o.createTextVNode("No elements found. Consider changing the search query."),i5={class:"multiselect__option"},o5=o.createTextVNode("List is empty.");function a5(t,e,n,r,s,i){return o.openBlock(),o.createBlock("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":i.isAbove,"multiselect--has-options-group":i.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=a=>t.activate()),onBlur:e[15]||(e[15]=a=>t.searchable?!1:t.deactivate()),onKeydown:[e[16]||(e[16]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["self","prevent"]),["down"])),e[17]||(e[17]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=o.withKeys(a=>t.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[o.renderSlot(t.$slots,"caret",{toggle:t.toggle},()=>[o.createVNode("div",{onMousedown:e[1]||(e[1]=o.withModifiers(a=>t.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(t.$slots,"clear",{search:t.search}),o.createVNode("div",Q_,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",J_,[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(i.visibleValues,(a,l)=>o.renderSlot(t.$slots,"tag",{option:a,search:t.search,remove:t.removeElement},()=>[(o.openBlock(),o.createBlock("span",{class:"multiselect__tag",key:l},[o.createVNode("span",{textContent:o.toDisplayString(t.getOptionLabel(a))},null,8,["textContent"]),o.createVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(c=>t.removeElement(a),["prevent"]),["enter"]),onMousedown:o.withModifiers(c=>t.removeElement(a),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[o.vShow,i.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?o.renderSlot(t.$slots,"limit",{key:0},()=>[o.createVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])]):o.createCommentVNode("v-if",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(t.$slots,"loading",{},()=>[o.withDirectives(o.createVNode("div",e5,null,512),[[o.vShow,n.loading]])])]),_:3}),t.searchable?(o.openBlock(),o.createBlock("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:!1,placeholder:t.placeholder,style:i.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=a=>t.updateSearch(a.target.value)),onFocus:e[3]||(e[3]=o.withModifiers(a=>t.activate(),["prevent"])),onBlur:e[4]||(e[4]=o.withModifiers(a=>t.deactivate(),["prevent"])),onKeyup:e[5]||(e[5]=o.withKeys(a=>t.deactivate(),["esc"])),onKeydown:[e[6]||(e[6]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["prevent"]),["down"])),e[7]||(e[7]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["prevent"]),["up"])),e[9]||(e[9]=o.withKeys(o.withModifiers(a=>t.removeLastElement(),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):o.createCommentVNode("v-if",!0),i.isSingleLabelVisible?(o.openBlock(),o.createBlock("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"singleLabel",{option:i.singleValue},()=>[o.createTextVNode(o.toDisplayString(t.currentOptionLabel),1)])],32)):o.createCommentVNode("v-if",!0),i.isPlaceholderVisible?(o.openBlock(),o.createBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(t.placeholder),1)])],32)):o.createCommentVNode("v-if",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createVNode("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...a)=>t.activate&&t.activate(...a)),tabindex:"-1",onMousedown:e[13]||(e[13]=o.withModifiers(()=>{},["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[o.createVNode("ul",{class:"multiselect__content",style:i.contentStyle,role:"listbox",id:"listbox-"+t.id},[o.renderSlot(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(o.openBlock(),o.createBlock("li",t5,[o.createVNode("span",n5,[o.renderSlot(t.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(t.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("v-if",!0),!t.max||t.internalValue.length<t.max?(o.openBlock(!0),o.createBlock(o.Fragment,{key:1},o.renderList(t.filteredOptions,(a,l)=>(o.openBlock(),o.createBlock("li",{class:"multiselect__element",key:l,id:t.id+"-"+l,role:a&&(a.$isLabel||a.$isDisabled)?null:"option"},[a&&(a.$isLabel||a.$isDisabled)?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock("span",{key:0,class:[t.optionHighlight(l,a),"multiselect__option"],onClick:o.withModifiers(c=>t.select(a),["stop"]),onMouseenter:o.withModifiers(c=>t.pointerSet(l),["self"]),"data-select":a&&a.isTag?t.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),a&&(a.$isLabel||a.$isDisabled)?(o.openBlock(),o.createBlock("span",{key:1,"data-select":t.groupSelect&&i.selectGroupLabelText,"data-deselect":t.groupSelect&&i.deselectGroupLabelText,class:[t.groupHighlight(l,a),"multiselect__option"],onMouseenter:o.withModifiers(c=>t.groupSelect&&t.pointerSet(l),["self"]),onMousedown:o.withModifiers(c=>t.selectGroup(a),["prevent"])},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):o.createCommentVNode("v-if",!0)],8,["id","role"]))),128)):o.createCommentVNode("v-if",!0),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",r5,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[s5])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",i5,[o.renderSlot(t.$slots,"noOptions",{},()=>[o5])])],512),[[o.vShow,n.showNoOptions&&(t.options.length===0||i.hasOptionGroup===!0&&t.filteredOptions.length===0)&&!t.search&&!n.loading]]),o.renderSlot(t.$slots,"afterList")],12,["id"])],36),[[o.vShow,t.isOpen]])]),_:3})],42,["tabindex","aria-owns"])}lh.render=a5;const l5={key:0,class:"scope-multiselect-label"},c5=Oe({__name:"Dropdown",props:o.mergeModels({size:{type:String,default:"md"},searchable:Boolean,options:Array,placeholder:String,label:String,invalid:Boolean,disabled:Boolean,width:{type:String,default:"250px"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null),r=o.ref(null),s=o.computed(()=>r.value&&r.value.isOpen),i=o.computed(()=>!!(c.value&&c.value.length)),a=o.computed(()=>e.options.every(d=>typeof d=="object"&&d!==null)),l=o.computed(()=>a.value?e.options.map(d=>d.name):e.options),c=o.useModel(t,"modelValue",{get(d){return typeof d=="object"?d.name:d},set(d){return a.value?e.options.find(u=>u.name===d):d}});return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-multiselect-container",style:o.normalizeStyle(n.value)},[t.label?(o.openBlock(),o.createElementBlock("div",l5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(lh),{ref_key:"multiselect",ref:r,class:o.normalizeClass(["scope-multiselect",`-${t.size}`,{"-with-search":t.searchable,"-invalid":t.invalid}]),modelValue:c.value,"onUpdate:modelValue":u[0]||(u[0]=h=>c.value=h),options:l.value,searchable:t.searchable,disabled:t.disabled,"close-on-select":"","show-labels":!1,placeholder:t.placeholder},null,8,["class","modelValue","options","searchable","disabled","placeholder"]),o.createElementVNode("div",{class:o.normalizeClass(["scope-multiselect-container__icon-wrapper",{"-with-search":t.searchable,"-label":t.label}])},[t.searchable?(o.openBlock(),o.createBlock(ze,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(ze,{icon:"chevron",class:o.normalizeClass(["select-item",i.value?"-is-not-empty":"-is-empty",{"-opened":s.value}])},null,8,["class"])],2)],4))}},[["__scopeId","data-v-687ab011"]]),d5={key:0,class:"scope-input__label"},u5={key:0,class:"scope-input__sign"},h5=["disabled","placeholder","veeBind","maxlength","pattern","type"],f5={key:1,class:"scope-input__error"},m5=Oe({__name:"Input",props:o.mergeModels({size:{type:String,default:"md"},maxLength:{type:Number,default:524288},icon:String,placeholder:String,haveClearButton:Boolean,haveCopyButton:Boolean,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,sideSign:String,type:{default:"text",type:String},pattern:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const{error:n}=K6(),r=e,s=o.useModel(t,"modelValue"),i=t,a=o.computed(()=>i.width?{width:i.width}:null),l=o.ref(!1),c=d=>{navigator.clipboard.writeText(d).then(()=>{l.value=!0;const u=setTimeout(()=>{l.value=!1,clearTimeout(u)},3e3)}).catch(u=>{n(u)})};return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton}])},[t.label?(o.openBlock(),o.createElementBlock("div",d5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__container",`-${t.size}`])},[t.sideSign?(o.openBlock(),o.createElementBlock("div",u5,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":u[0]||(u[0]=h=>s.value=h),style:o.normalizeStyle(a.value),placeholder:t.placeholder,veeBind:t.veeBind,onInput:u[1]||(u[1]=h=>r("input")),onKeyup:u[2]||(u[2]=o.withKeys(h=>r("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,h5),[[o.vModelDynamic,s.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(ze),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(ze),{key:1,class:"scope-input__clear",icon:"cross",onClick:u[3]||(u[3]=h=>s.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!l.value?(o.openBlock(),o.createBlock(o.unref(ze),{key:2,class:"scope-input__clear",icon:"copy",onClick:u[4]||(u[4]=h=>c(s.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&l.value?(o.openBlock(),o.createBlock(o.unref(ze),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",f5,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-8f83d193"]]),p5={class:"scope-radio-label"},g5=["value","checked"],_5={class:"scope-text"},y5={__name:"Radio",props:o.mergeModels({value:String|Object|Boolean|Number,label:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.ref(null),s=()=>{e.value=n.value},i=o.computed(()=>e.value);return o.onMounted(()=>{s()}),(a,l)=>(o.openBlock(),o.createElementBlock("label",p5,[o.createElementVNode("input",{name:"radio",type:"radio",ref_key:"radio",ref:r,value:t.value,class:"scope-radio-input",checked:i.value,onClick:s},null,8,g5),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":i.value}])},null,2),o.createElementVNode("span",_5,o.toDisplayString(t.label),1)]))}},w5=Oe(y5,[["__scopeId","data-v-a6d4ba91"]]),b5=t=>(o.pushScopeId("data-v-7e155a89"),t=t(),o.popScopeId(),t),k5={class:"scope-toggle-wrapper"},C5=["checked","name"],x5=b5(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),M5=Oe({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=()=>{e.value=!e.value};return(r,s)=>(o.openBlock(),o.createElementBlock("div",k5,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:e.value,name:t.name,onChange:n},null,40,C5),x5]))}},[["__scopeId","data-v-7e155a89"]]),v5={class:"scope-checkbox-container"},S5=["id"],T5=["for"],D5=Oe({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("ul",v5,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,S5),[[o.vModelCheckbox,e.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,T5)])]))}},[["__scopeId","data-v-16dedb1c"]]),O5={class:"scope-menu-tabs"},E5=["onClick"],P5=Oe({__name:"Menu",props:o.mergeModels({tabs:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=r=>{e.value=r};return(r,s)=>(o.openBlock(),o.createElementBlock("div",O5,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-menu-tab",{"-active":e.value==i.id}]),onClick:l=>n(i.id),key:a},o.toDisplayString(i.name),11,E5))),128))]))}},[["__scopeId","data-v-30014e05"]]),L5={class:"scope-switcher"},$5={class:"scope-switcher__current-item"},N5=Oe({__name:"Switcher",props:o.mergeModels({items:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.useModel(t,"modelValue"),r=o.computed(()=>e.items.findIndex(c=>n.value.id===c.id)),s=o.computed(()=>n.value.id===e.items[0].id),i=o.computed(()=>n.value.id===e.items.at(-1).id),a=()=>{n.value=e.items[r.value-1]},l=()=>{n.value=e.items[r.value+1]};return(c,d)=>(o.openBlock(),o.createElementBlock("div",L5,[o.createVNode(ze,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",$5,o.toDisplayString(n.value.name),1),o.createVNode(ze,{icon:"chevron-right-small",class:o.normalizeClass(["scope-switcher__right",{"-last-item":i.value}]),onClick:l},null,8,["class"])]))}},[["__scopeId","data-v-4a290f88"]]);function le(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function Le(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function vn(t,e){const n=le(t);return isNaN(e)?Le(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function Sn(t,e){const n=le(t);if(isNaN(e))return Le(t,NaN);if(!e)return n;const r=n.getDate(),s=Le(t,n.getTime());s.setMonth(n.getMonth()+e+1,0);const i=s.getDate();return r>=i?s:(n.setFullYear(s.getFullYear(),s.getMonth(),r),n)}function ch(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=le(t),u=r||n?Sn(d,r+n*12):d,h=i||s?vn(u,i+s*7):u,f=l+a*60,g=(c+f*60)*1e3;return Le(t,h.getTime()+g)}function V5(t,e){const n=+le(t);return Le(t,n+e)}const dh=6048e5,B5=864e5,A5=6e4,uh=36e5,F5=1e3;function R5(t,e){return V5(t,e*uh)}let I5={};function us(){return I5}function Rn(t,e){var l,c,d,u;const n=us(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?7:0)+i-r;return s.setDate(s.getDate()-a),s.setHours(0,0,0,0),s}function Xs(t){return Rn(t,{weekStartsOn:1})}function hh(t){const e=le(t),n=e.getFullYear(),r=Le(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const s=Xs(r),i=Le(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Xs(i);return e.getTime()>=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function fh(t){const e=le(t);return e.setHours(0,0,0,0),e}function ha(t){const e=le(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function mh(t,e){const n=fh(t),r=fh(e),s=+n-ha(n),i=+r-ha(r);return Math.round((s-i)/B5)}function z5(t){const e=hh(t),n=Le(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Xs(n)}function Y5(t,e){const n=e*3;return Sn(t,n)}function bc(t,e){return Sn(t,e*12)}function ph(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ji(t){if(!ph(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function gh(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function _h(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+n:+r,a=s?r:n;a.setHours(0,0,0,0);let l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a.setDate(a.getDate()+l),a.setHours(0,0,0,0);return s?c.reverse():c}function hs(t){const e=le(t),n=e.getMonth(),r=n-n%3;return e.setMonth(r,1),e.setHours(0,0,0,0),e}function H5(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+hs(n):+hs(r);let a=hs(s?r:n),l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a=Y5(a,l);return s?c.reverse():c}function W5(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function yh(t){const e=le(t),n=Le(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function j5(t,e){var l,c,d,u;const n=us(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?-7:0)+6-(i-r);return s.setDate(s.getDate()+a),s.setHours(23,59,59,999),s}function wh(t){const e=le(t),n=e.getMonth(),r=n-n%3+3;return e.setMonth(r,0),e.setHours(23,59,59,999),e}const Z5={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"}},U5=(t,e,n)=>{let r;const s=Z5[t];return typeof s=="string"?r=s:e===1?r=s.one:r=s.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function kc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const q5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},K5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},X5={date:kc({formats:q5,defaultWidth:"full"}),time:kc({formats:G5,defaultWidth:"full"}),dateTime:kc({formats:K5,defaultWidth:"full"})},Q5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},J5=(t,e,n,r)=>Q5[t];function Zi(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&t.formattingValues){const a=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):a;s=t.formattingValues[l]||t.formattingValues[a]}else{const a=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;s=t.values[l]||t.values[a]}const i=t.argumentCallback?t.argumentCallback(e):e;return s[i]}}const e4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},t4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},n4={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"]},r4={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"]},s4={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"}},i4={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"}},o4={ordinalNumber:(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Zi({values:e4,defaultWidth:"wide"}),quarter:Zi({values:t4,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Zi({values:n4,defaultWidth:"wide"}),day:Zi({values:r4,defaultWidth:"wide"}),dayPeriod:Zi({values:s4,defaultWidth:"wide",formattingValues:i4,defaultFormattingWidth:"wide"})};function Ui(t){return(e,n={})=>{const r=n.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(s);if(!i)return null;const a=i[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?l4(l,h=>h.test(a)):a4(l,h=>h.test(a));let d;d=t.valueCallback?t.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const u=e.slice(a.length);return{value:d,rest:u}}}function a4(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function l4(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function c4(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const s=r[0],i=e.match(t.parsePattern);if(!i)return null;let a=t.valueCallback?t.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const l=e.slice(s.length);return{value:a,rest:l}}}const d4=/^(\d+)(th|st|nd|rd)?/i,u4=/\d+/i,h4={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},f4={any:[/^b/i,/^(a|c)/i]},m4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},p4={any:[/1/i,/2/i,/3/i,/4/i]},g4={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},_4={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]},y4={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},w4={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]},b4={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},k4={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}},C4={ordinalNumber:c4({matchPattern:d4,parsePattern:u4,valueCallback:t=>parseInt(t,10)}),era:Ui({matchPatterns:h4,defaultMatchWidth:"wide",parsePatterns:f4,defaultParseWidth:"any"}),quarter:Ui({matchPatterns:m4,defaultMatchWidth:"wide",parsePatterns:p4,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ui({matchPatterns:g4,defaultMatchWidth:"wide",parsePatterns:_4,defaultParseWidth:"any"}),day:Ui({matchPatterns:y4,defaultMatchWidth:"wide",parsePatterns:w4,defaultParseWidth:"any"}),dayPeriod:Ui({matchPatterns:b4,defaultMatchWidth:"any",parsePatterns:k4,defaultParseWidth:"any"})},bh={code:"en-US",formatDistance:U5,formatLong:X5,formatRelative:J5,localize:o4,match:C4,options:{weekStartsOn:0,firstWeekContainsDate:1}};function x4(t){const e=le(t);return mh(e,yh(e))+1}function Cc(t){const e=le(t),n=+Xs(e)-+z5(e);return Math.round(n/dh)+1}function xc(t,e){var u,h,f,m;const n=le(t),r=n.getFullYear(),s=us(),i=(e==null?void 0:e.firstWeekContainsDate)??((h=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??s.firstWeekContainsDate??((m=(f=s.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=Le(t,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=Rn(a,e),c=Le(t,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const d=Rn(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function M4(t,e){var l,c,d,u;const n=us(),r=(e==null?void 0:e.firstWeekContainsDate)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)??1,s=xc(t,e),i=Le(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),Rn(i,e)}function Mc(t,e){const n=le(t),r=+Rn(n,e)-+M4(n,e);return Math.round(r/dh)+1}function Ve(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const Lr={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return Ve(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):Ve(n+1,2)},d(t,e){return Ve(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return Ve(t.getHours()%12||12,e.length)},H(t,e){return Ve(t.getHours(),e.length)},m(t,e){return Ve(t.getMinutes(),e.length)},s(t,e){return Ve(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),s=Math.trunc(r*Math.pow(10,n-3));return Ve(s,e.length)}},Qs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},kh={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return Lr.y(t,e)},Y:function(t,e,n,r){const s=xc(t,r),i=s>0?s:1-s;if(e==="YY"){const a=i%100;return Ve(a,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ve(i,e.length)},R:function(t,e){const n=hh(t);return Ve(n,e.length)},u:function(t,e){const n=t.getFullYear();return Ve(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return Ve(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return Ve(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return Lr.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return Ve(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const s=Mc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Ve(s,e.length)},I:function(t,e,n){const r=Cc(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):Ve(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Lr.d(t,e)},D:function(t,e,n){const r=x4(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ve(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return Ve(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return Ve(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),s=r===0?7:r;switch(e){case"i":return String(s);case"ii":return Ve(s,e.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const s=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let s;switch(r===12?s=Qs.noon:r===0?s=Qs.midnight:s=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let s;switch(r>=17?s=Qs.evening:r>=12?s=Qs.afternoon:r>=4?s=Qs.morning:s=Qs.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Lr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Lr.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ve(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ve(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Lr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Lr.s(t,e)},S:function(t,e){return Lr.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return xh(r);case"XXXX":case"XX":return fs(r);case"XXXXX":case"XXX":default:return fs(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return xh(r);case"xxxx":case"xx":return fs(r);case"xxxxx":case"xxx":default:return fs(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Ch(r,":");case"OOOO":default:return"GMT"+fs(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Ch(r,":");case"zzzz":default:return"GMT"+fs(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return Ve(r,e.length)},T:function(t,e,n){const r=t.getTime();return Ve(r,e.length)}};function Ch(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Math.trunc(r/60),i=r%60;return i===0?n+String(s):n+String(s)+e+Ve(i,2)}function xh(t,e){return t%60===0?(t>0?"-":"+")+Ve(Math.abs(t)/60,2):fs(t,e)}function fs(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Ve(Math.trunc(r/60),2),i=Ve(r%60,2);return n+s+e+i}const Mh=(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"})}},vh=(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"})}},vc={p:vh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Mh(t,e);let i;switch(r){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",Mh(r,e)).replace("{{time}}",vh(s,e))}},v4=/^D+$/,S4=/^Y+$/,T4=["D","DD","YY","YYYY"];function Sh(t){return v4.test(t)}function Th(t){return S4.test(t)}function Sc(t,e,n){const r=D4(t,e,n);if(console.warn(r),T4.includes(t))throw new RangeError(r)}function D4(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const O4=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E4=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P4=/^'([^]*?)'?$/,L4=/''/g,$4=/[a-zA-Z]/;function In(t,e,n){var u,h,f,m,g,p,_,y;const r=us(),s=(n==null?void 0:n.locale)??r.locale??bh,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(f=r.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((p=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:p.weekStartsOn)??r.weekStartsOn??((y=(_=r.locale)==null?void 0:_.options)==null?void 0:y.weekStartsOn)??0,l=le(t);if(!ji(l))throw new RangeError("Invalid time value");let c=e.match(E4).map(C=>{const k=C[0];if(k==="p"||k==="P"){const S=vc[k];return S(C,s.formatLong)}return C}).join("").match(O4).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:N4(C)};if(kh[k])return{isToken:!0,value:C};if(k.match($4))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(c=s.localize.preprocessor(l,c));const d={firstWeekContainsDate:i,weekStartsOn:a,locale:s};return c.map(C=>{if(!C.isToken)return C.value;const k=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Th(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Sh(k))&&Sc(k,e,String(t));const S=kh[k[0]];return S(l,k,s.localize,d)}).join("")}function N4(t){const e=t.match(P4);return e?e[1].replace(L4,"'"):t}function V4(t){return le(t).getDay()}function B4(t){const e=le(t),n=e.getFullYear(),r=e.getMonth(),s=Le(t,0);return s.setFullYear(n,r+1,0),s.setHours(0,0,0,0),s.getDate()}function A4(){return Object.assign({},us())}function Tn(t){return le(t).getHours()}function F4(t){let n=le(t).getDay();return n===0&&(n=7),n}function zn(t){return le(t).getMinutes()}function Ce(t){return le(t).getMonth()}function Js(t){return le(t).getSeconds()}function ye(t){return le(t).getFullYear()}function qi(t,e){const n=le(t),r=le(e);return n.getTime()>r.getTime()}function Gi(t,e){const n=le(t),r=le(e);return+n<+r}function ei(t,e){const n=le(t),r=le(e);return+n==+r}function R4(t,e){const n=e instanceof Date?Le(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const I4=10;class Dh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class z4 extends Dh{constructor(e,n,r,s,i){super(),this.value=e,this.validateValue=n,this.setValue=r,this.priority=s,i&&(this.subPriority=i)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,r){return this.setValue(e,n,this.value,r)}}class Y4 extends Dh{constructor(){super(...arguments);W(this,"priority",I4);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Le(n,R4(n,Date))}}class $e{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new z4(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class H4 extends $e{constructor(){super(...arguments);W(this,"priority",140);W(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,s){switch(r){case"G":case"GG":case"GGG":return s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"});case"GGGGG":return s.era(n,{width:"narrow"});case"GGGG":default:return s.era(n,{width:"wide"})||s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"})}}set(n,r,s){return r.era=s,n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}const ct={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}/},Yn={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 dt(t,e){return t&&{value:e(t.value),rest:t.rest}}function Xe(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Hn(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const r=n[1]==="+"?1:-1,s=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(s*uh+i*A5+a*F5),rest:e.slice(n[0].length)}}function Oh(t){return Xe(ct.anyDigitsSigned,t)}function nt(t,e){switch(t){case 1:return Xe(ct.singleDigit,e);case 2:return Xe(ct.twoDigits,e);case 3:return Xe(ct.threeDigits,e);case 4:return Xe(ct.fourDigits,e);default:return Xe(new RegExp("^\\d{1,"+t+"}"),e)}}function fa(t,e){switch(t){case 1:return Xe(ct.singleDigitSigned,e);case 2:return Xe(ct.twoDigitsSigned,e);case 3:return Xe(ct.threeDigitsSigned,e);case 4:return Xe(ct.fourDigitsSigned,e);default:return Xe(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Tc(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 Eh(t,e){const n=e>0,r=n?e:1-e;let s;if(r<=50)s=t||100;else{const i=r+50,a=Math.trunc(i/100)*100,l=t>=i%100;s=t+a-(l?100:0)}return n?s:1-s}function Ph(t){return t%400===0||t%4===0&&t%100!==0}class W4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="yy"});switch(r){case"y":return dt(nt(4,n),i);case"yo":return dt(s.ordinalNumber(n,{unit:"year"}),i);default:return dt(nt(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s){const i=n.getFullYear();if(s.isTwoDigitYear){const l=Eh(s.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const a=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class j4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return dt(nt(4,n),i);case"Yo":return dt(s.ordinalNumber(n,{unit:"year"}),i);default:return dt(nt(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s,i){const a=xc(n,i);if(s.isTwoDigitYear){const c=Eh(s.year,a);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Rn(n,i)}const l=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Rn(n,i)}}class Z4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return fa(r==="R"?4:r.length,n)}set(n,r,s){const i=Le(n,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),Xs(i)}}class U4 extends $e{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return fa(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class q4 extends $e{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"Q":case"QQ":return nt(r.length,n);case"Qo":return s.ordinalNumber(n,{unit:"quarter"});case"QQQ":return s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(n,{width:"wide",context:"formatting"})||s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class G4 extends $e{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"q":case"qq":return nt(r.length,n);case"qo":return s.ordinalNumber(n,{unit:"quarter"});case"qqq":return s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(n,{width:"wide",context:"standalone"})||s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class K4 extends $e{constructor(){super(...arguments);W(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);W(this,"priority",110)}parse(n,r,s){const i=a=>a-1;switch(r){case"M":return dt(Xe(ct.month,n),i);case"MM":return dt(nt(2,n),i);case"Mo":return dt(s.ordinalNumber(n,{unit:"month"}),i);case"MMM":return s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(n,{width:"wide",context:"formatting"})||s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}class X4 extends $e{constructor(){super(...arguments);W(this,"priority",110);W(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,s){const i=a=>a-1;switch(r){case"L":return dt(Xe(ct.month,n),i);case"LL":return dt(nt(2,n),i);case"Lo":return dt(s.ordinalNumber(n,{unit:"month"}),i);case"LLL":return s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(n,{width:"wide",context:"standalone"})||s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}function Q4(t,e,n){const r=le(t),s=Mc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class J4 extends $e{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,s){switch(r){case"w":return Xe(ct.week,n);case"wo":return s.ordinalNumber(n,{unit:"week"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s,i){return Rn(Q4(n,s,i),i)}}function e9(t,e){const n=le(t),r=Cc(n)-e;return n.setDate(n.getDate()-r*7),n}class t9 extends $e{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,s){switch(r){case"I":return Xe(ct.week,n);case"Io":return s.ordinalNumber(n,{unit:"week"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s){return Xs(e9(n,s))}}const n9=[31,28,31,30,31,30,31,31,30,31,30,31],r9=[31,29,31,30,31,30,31,31,30,31,30,31];class s9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"subPriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"d":return Xe(ct.date,n);case"do":return s.ordinalNumber(n,{unit:"date"});default:return nt(r.length,n)}}validate(n,r){const s=n.getFullYear(),i=Ph(s),a=n.getMonth();return i?r>=1&&r<=r9[a]:r>=1&&r<=n9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class i9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"subpriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,s){switch(r){case"D":case"DD":return Xe(ct.dayOfYear,n);case"Do":return s.ordinalNumber(n,{unit:"date"});default:return nt(r.length,n)}}validate(n,r){const s=n.getFullYear();return Ph(s)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,s){return n.setMonth(0,s),n.setHours(0,0,0,0),n}}function Dc(t,e,n){var h,f,m,g;const r=us(),s=(n==null?void 0:n.weekStartsOn)??((f=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((g=(m=r.locale)==null?void 0:m.options)==null?void 0:g.weekStartsOn)??0,i=le(t),a=i.getDay(),c=(e%7+7)%7,d=7-s,u=e<0||e>6?e-(a+d)%7:(c+d)%7-(a+d)%7;return vn(i,u)}class o9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"E":case"EE":case"EEE":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Dc(n,s,i),n.setHours(0,0,0,0),n}}class a9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return dt(nt(r.length,n),a);case"eo":return dt(s.ordinalNumber(n,{unit:"day"}),a);case"eee":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeeee":return s.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Dc(n,s,i),n.setHours(0,0,0,0),n}}class l9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return dt(nt(r.length,n),a);case"co":return dt(s.ordinalNumber(n,{unit:"day"}),a);case"ccc":return s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"ccccc":return s.day(n,{width:"narrow",context:"standalone"});case"cccccc":return s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(n,{width:"wide",context:"standalone"})||s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Dc(n,s,i),n.setHours(0,0,0,0),n}}function c9(t,e){const n=le(t),r=F4(n),s=e-r;return vn(n,s)}class d9 extends $e{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,s){const i=a=>a===0?7:a;switch(r){case"i":case"ii":return nt(r.length,n);case"io":return s.ordinalNumber(n,{unit:"day"});case"iii":return dt(s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return dt(s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return dt(s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return dt(s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,s){return n=c9(n,s),n.setHours(0,0,0,0),n}}class u9 extends $e{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,s){switch(r){case"a":case"aa":case"aaa":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class h9 extends $e{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,s){switch(r){case"b":case"bb":case"bbb":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class f9 extends $e{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,s){switch(r){case"B":case"BB":case"BBB":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class m9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,s){switch(r){case"h":return Xe(ct.hour12h,n);case"ho":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,s){const i=n.getHours()>=12;return i&&s<12?n.setHours(s+12,0,0,0):!i&&s===12?n.setHours(0,0,0,0):n.setHours(s,0,0,0),n}}class p9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,s){switch(r){case"H":return Xe(ct.hour23h,n);case"Ho":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,s){return n.setHours(s,0,0,0),n}}class g9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,s){switch(r){case"K":return Xe(ct.hour11h,n);case"Ko":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.getHours()>=12&&s<12?n.setHours(s+12,0,0,0):n.setHours(s,0,0,0),n}}class _9 extends $e{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,s){switch(r){case"k":return Xe(ct.hour24h,n);case"ko":return s.ordinalNumber(n,{unit:"hour"});default:return nt(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,s){const i=s<=24?s%24:s;return n.setHours(i,0,0,0),n}}class y9 extends $e{constructor(){super(...arguments);W(this,"priority",60);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"m":return Xe(ct.minute,n);case"mo":return s.ordinalNumber(n,{unit:"minute"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setMinutes(s,0,0),n}}class w9 extends $e{constructor(){super(...arguments);W(this,"priority",50);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"s":return Xe(ct.second,n);case"so":return s.ordinalNumber(n,{unit:"second"});default:return nt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setSeconds(s,0),n}}class b9 extends $e{constructor(){super(...arguments);W(this,"priority",30);W(this,"incompatibleTokens",["t","T"])}parse(n,r){const s=i=>Math.trunc(i*Math.pow(10,-r.length+3));return dt(nt(r.length,n),s)}set(n,r,s){return n.setMilliseconds(s),n}}class k9 extends $e{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Hn(Yn.basicOptionalMinutes,n);case"XX":return Hn(Yn.basic,n);case"XXXX":return Hn(Yn.basicOptionalSeconds,n);case"XXXXX":return Hn(Yn.extendedOptionalSeconds,n);case"XXX":default:return Hn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-ha(n)-s)}}class C9 extends $e{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Hn(Yn.basicOptionalMinutes,n);case"xx":return Hn(Yn.basic,n);case"xxxx":return Hn(Yn.basicOptionalSeconds,n);case"xxxxx":return Hn(Yn.extendedOptionalSeconds,n);case"xxx":default:return Hn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-ha(n)-s)}}class x9 extends $e{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Oh(n)}set(n,r,s){return[Le(n,s*1e3),{timestampIsSet:!0}]}}class M9 extends $e{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Oh(n)}set(n,r,s){return[Le(n,s),{timestampIsSet:!0}]}}const v9={G:new H4,y:new W4,Y:new j4,R:new Z4,u:new U4,Q:new q4,q:new G4,M:new K4,L:new X4,w:new J4,I:new t9,d:new s9,D:new i9,E:new o9,e:new a9,c:new l9,i:new d9,a:new u9,b:new h9,B:new f9,h:new m9,H:new p9,K:new g9,k:new _9,m:new y9,s:new w9,S:new b9,X:new k9,x:new C9,t:new x9,T:new M9},S9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,T9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,D9=/^'([^]*?)'?$/,O9=/''/g,E9=/\S/,P9=/[a-zA-Z]/;function Oc(t,e,n,r){var p,_,y,C,k,S,M,D;const s=A4(),i=(r==null?void 0:r.locale)??s.locale??bh,a=(r==null?void 0:r.firstWeekContainsDate)??((_=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((C=(y=s.locale)==null?void 0:y.options)==null?void 0:C.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((S=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:S.weekStartsOn)??s.weekStartsOn??((D=(M=s.locale)==null?void 0:M.options)==null?void 0:D.weekStartsOn)??0;if(e==="")return t===""?le(n):Le(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new Y4],u=e.match(T9).map(v=>{const O=v[0];if(O in vc){const E=vc[O];return E(v,i.formatLong)}return v}).join("").match(S9),h=[];for(let v of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Th(v)&&Sc(v,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Sh(v)&&Sc(v,e,t);const O=v[0],E=v9[O];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const P=h.find(R=>I.includes(R.token)||R.token===O);if(P)throw new RangeError(`The format string mustn't contain \`${P.fullToken}\` and \`${v}\` at the same time`)}else if(E.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${v}\` and any other token at the same time`);h.push({token:O,fullToken:v});const j=E.run(t,v,i.match,c);if(!j)return Le(n,NaN);d.push(j.setter),t=j.rest}else{if(O.match(P9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");if(v==="''"?v="'":O==="'"&&(v=L9(v)),t.indexOf(v)===0)t=t.slice(v.length);else return Le(n,NaN)}}if(t.length>0&&E9.test(t))return Le(n,NaN);const f=d.map(v=>v.priority).sort((v,O)=>O-v).filter((v,O,E)=>E.indexOf(v)===O).map(v=>d.filter(O=>O.priority===v).sort((O,E)=>E.subPriority-O.subPriority)).map(v=>v[0]);let m=le(n);if(isNaN(m.getTime()))return Le(n,NaN);const g={};for(const v of f){if(!v.validate(m,c))return Le(n,NaN);const O=v.set(m,g,c);Array.isArray(O)?(m=O[0],Object.assign(g,O[1])):m=O}return Le(n,m)}function L9(t){return t.match(D9)[1].replace(O9,"'")}function Lh(t,e){const n=hs(t),r=hs(e);return+n==+r}function $9(t,e){return vn(t,-e)}function $h(t,e){const n=le(t),r=n.getFullYear(),s=n.getDate(),i=Le(t,0);i.setFullYear(r,e,15),i.setHours(0,0,0,0);const a=B4(i);return n.setMonth(e,Math.min(s,a)),n}function He(t,e){let n=le(t);return isNaN(+n)?Le(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=$h(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function Nh(t,e){const n=le(t);return n.setHours(e),n}function Ec(t,e){const n=le(t);return n.setMilliseconds(e),n}function Vh(t,e){const n=le(t);return n.setMinutes(e),n}function Pc(t,e){const n=le(t);return n.setSeconds(e),n}function Wn(t,e){const n=le(t);return isNaN(+n)?Le(t,NaN):(n.setFullYear(e),n)}function ti(t,e){return Sn(t,-e)}function N9(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=ti(t,r+n*12),u=$9(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Le(t,u.getTime()-m)}function Bh(t,e){return bc(t,-e)}function ni(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),o.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ni.compatConfig={MODE:3};function Ah(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),o.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ah.compatConfig={MODE:3};function Lc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Lc.compatConfig={MODE:3};function $c(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}$c.compatConfig={MODE:3};function Nc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),o.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Nc.compatConfig={MODE:3};function Vc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Vc.compatConfig={MODE:3};function Bc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Bc.compatConfig={MODE:3};function Fh(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function V9(t){return e=>In(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const B9=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(V9(t))}catch{s=r.map(Fh(e))}else s=r.map(Fh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Ac=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:Wh(s,e)});return n?r.reverse():r},Rh=(t,e,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const a=i<10?`0${i}`:i;return new Date(`2017-${a}-01T00:00:00+00:00`)});if(t!==null)try{const i=n==="long"?"MMMM":"MMM";return r.map((a,l)=>{const c=In(a,i,{locale:t});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:l}})}catch{}const s=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return r.map((i,a)=>{const l=s.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})},A9=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],wt=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},F9=t=>({type:"dot",...t??{}}),Ih=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Fc={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Ct=t=>t,zh=t=>t===0?t:!t||isNaN(+t)?null:+t,Yh=t=>t===null,Hh=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},R9=t=>{const e=[],n=r=>r.filter(s=>s);for(let r=0;r<t.length;r+=3){const s=[t[r],t[r+1],t[r+2]];e.push(n(s))}return e},Ki=(t,e,n)=>{const r=n!=null,s=e!=null;if(!r&&!s)return!1;const i=+n,a=+e;return r&&s?+t>i||+t<a:r?+t>i:s?+t<a:!1},ri=(t,e)=>R9(t).map(n=>n.map(r=>{const{active:s,disabled:i,isBetween:a,highlighted:l}=e(r);return{...r,active:s,disabled:i,className:{dp__overlay_cell_active:s,dp__overlay_cell:!s,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&s,dp__cell_in_between:a,"dp--highlighted":l}}})),$r=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},I9=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function z9(t,e){let n=[...document.querySelectorAll(I9())];n=n.filter(s=>!t.contains(s)||s.hasAttribute("data-datepicker-instance"));const r=n.indexOf(t);if(r>=0&&(e?r-1>=0:r+1<=n.length))return n[r+(e?-1:1)]}const Y9=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),Wh=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),Rc=t=>In(t,"dd-MM-yyyy"),Ic=t=>Array.isArray(t),ma=(t,e)=>e.get(Rc(t)),H9=(t,e)=>t?e?e instanceof Map?!!ma(t,e):e(q(t)):!1:!0,jh=(t,e,n,r,s,i)=>{const a=Oc(t,e.slice(0,t.length),new Date,{locale:i});return ji(a)&&ph(a)?r||s?a:He(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},W9=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return jh(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=jh(t,c,a,r,s,i),l)break;return l}return typeof e=="function"?e(t):null},q=t=>t?new Date(t):new Date,j9=(t,e,n)=>{if(e){const s=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),l=t.getMinutes().toString().padStart(2,"0"),c=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${s}-${i}T${a}:${l}:${c}.000Z`}const r=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(r).toISOString()},Zt=t=>{let e=q(JSON.parse(JSON.stringify(t)));return e=Nh(e,0),e=Vh(e,0),e=Pc(e,0),e=Ec(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Nh(s,+e)),(n||n===0)&&(s=Vh(s,+n)),(r||r===0)&&(s=Pc(s,+r)),Ec(s,0)},rt=(t,e)=>!t||!e?!1:Gi(Zt(t),Zt(e)),Me=(t,e)=>!t||!e?!1:ei(Zt(t),Zt(e)),ut=(t,e)=>!t||!e?!1:qi(Zt(t),Zt(e)),pa=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ut(n,t[0])&&rt(n,t[1]):t!=null&&t[0]&&e?ut(n,t[0])&&rt(n,e)||rt(n,t[0])&&ut(n,e):!1,Dn=t=>{const e=He(new Date(t),{date:1});return Zt(e)},zc=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===e?[r,n]:[r,isNaN(+t[r])?void 0:+t[r]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},ms=t=>({hours:Tn(t),minutes:zn(t),seconds:Js(t)}),Zh=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},Uh=(t,e)=>{if(e){const n=ye(q(e));return n<t?-1:n===t?Ce(q(e)):void 0}},si=t=>{if(t)return ye(q(t))},qh=(t,e)=>{const n=ut(t,e)?e:t,r=ut(e,t)?e:t;return _h({start:n,end:r})},Z9=t=>{const e=Sn(t,1);return{month:Ce(e),year:ye(e)}},or=(t,e)=>{const n=Rn(t,{weekStartsOn:+e}),r=j5(t,{weekStartsOn:+e});return[n,r]},Gh=(t,e)=>{const n={hours:Tn(q()),minutes:zn(q()),seconds:e?Js(q()):0};return Object.assign(n,t)},Vr=(t,e,n)=>[He(q(t),{date:1}),He(q(),{month:e,year:n,date:1})],ar=(t,e,n)=>{let r=t?q(t):q();return(e||e===0)&&(r=$h(r,e)),n&&(r=Wn(r,n)),r},Kh=(t,e,n,r,s)=>{if(!r||s&&!e||!s&&!n)return!1;const i=s?Sn(t,1):ti(t,1),a=[Ce(i),ye(i)];return s?!q9(...a,e):!U9(...a,n)},U9=(t,e,n)=>rt(...Vr(n,t,e))||Me(...Vr(n,t,e)),q9=(t,e,n)=>ut(...Vr(n,t,e))||Me(...Vr(n,t,e)),Xh=(t,e,n,r,s,i,a)=>{if(typeof e=="function"&&!a)return e(t);const l=n?{locale:n}:void 0;return Array.isArray(t)?`${In(t[0],i,l)}${s&&!t[1]?"":r}${t[1]?In(t[1],i,l):""}`:In(t,i,l)},ii=t=>{if(t)return null;throw new Error(Fc.prop("partial-range"))},ga=(t,e)=>{if(e)return t();throw new Error(Fc.prop("range"))},Yc=t=>Array.isArray(t)?ji(t[0])&&(t[1]?ji(t[1]):!0):t?ji(t):!1,G9=(t,e)=>He(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Hc=(t,e,n,r)=>{if(!t)return!0;if(r){const s=n==="max"?Gi(t,e):qi(t,e),i={seconds:0,milliseconds:0};return s||ei(He(t,i),He(e,i))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Wc=(t,e,n)=>t?G9(t,e):q(n??e),Qh=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Wc(t,r[0],e),l=Wc(t,r[1],e);return Hc(r[0],a,n,!!e)&&Hc(r[1],l,n,!!e)&&s}const i=Wc(t,r,e);return Hc(r,i,n,!!e)&&s},jc=t=>He(q(),ms(t)),K9=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],Jh=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),Zc=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Xi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),ef=()=>{const t=n=>{Xi.menuFocused=n},e=n=>{Xi.shiftKeyInMenu!==n&&(Xi.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:Xi.shiftKeyInMenu,menuFocused:Xi.menuFocused})),setMenuFocused:t,setShiftKey:e}},je=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Uc=o.ref(null),_a=o.ref(!1),qc=o.ref(!1),Gc=o.ref(!1),Kc=o.ref(!1),Tt=o.ref(0),ht=o.ref(0),Br=()=>{const t=o.computed(()=>_a.value?[...je.selectionGrid,je.actionRow].filter(h=>h.length):qc.value?[...je.timePicker[0],...je.timePicker[1],Kc.value?[]:[Uc.value],je.actionRow].filter(h=>h.length):Gc.value?[...je.monthPicker,je.actionRow]:[je.monthYear,...je.calendar,je.time,je.actionRow].filter(h=>h.length)),e=h=>{Tt.value=h?Tt.value+1:Tt.value-1;let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),!f&&t.value[ht.value+(h?1:-1)]?(ht.value=ht.value+(h?1:-1),Tt.value=h?0:t.value[ht.value].length-1):f||(Tt.value=h?Tt.value-1:Tt.value+1)},n=h=>{ht.value===0&&!h||ht.value===t.value.length&&h||(ht.value=h?ht.value+1:ht.value-1,t.value[ht.value]?t.value[ht.value]&&!t.value[ht.value][Tt.value]&&Tt.value!==0&&(Tt.value=t.value[ht.value].length-1):ht.value=h?ht.value-1:ht.value+1)},r=h=>{let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),f?f.focus({preventScroll:!_a.value}):Tt.value=h?Tt.value-1:Tt.value+1},s=()=>{e(!0),r(!0)},i=()=>{e(!1),r(!1)},a=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(h,f)=>{je[f]=h},d=(h,f)=>{je[f]=h},u=()=>{Tt.value=0,ht.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{Uc.value=h},setSelectionGrid:h=>{_a.value=h,u(),h||(je.selectionGrid=[])},setTimePicker:(h,f=!1)=>{qc.value=h,Kc.value=f,u(),h||(je.timePicker[0]=[],je.timePicker[1]=[])},setTimePickerElements:(h,f=0)=>{je.timePicker[f]=h},arrowRight:s,arrowLeft:i,arrowUp:a,arrowDown:l,clearArrowNav:()=>{je.monthYear=[],je.calendar=[],je.time=[],je.actionRow=[],je.selectionGrid=[],je.timePicker[0]=[],je.timePicker[1]=[],_a.value=!1,qc.value=!1,Kc.value=!1,Gc.value=!1,u(),Uc.value=null},setMonthPicker:h=>{Gc.value=h,u()},refSets:je}},lr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),tf=(t,e)=>Xc(t,e)||q(),X9=(t,e)=>e.dateInTz?lr(new Date(t),e.dateInTz):q(t),Xc=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?X9(t,e):lr(n,e.timezone)},Q9=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(e.toLocaleString("en-US",{timeZone:t})),s=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-s},nf=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),J9=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,...t??{}}),rf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,e7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:rf(!1)};const r=e?t:{},s=e?r.count??!0:t,i=rf(s);return Object.assign(n,r,{count:i})},t7=(t,e,n)=>t||(typeof n=="string"?n:e),n7=t=>typeof t=="boolean"?t?nf({}):!1:nf(t),r7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},s7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),i7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),o7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},a7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),l7=t=>{const e={dates:Array.isArray(t)?t.map(n=>q(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},c7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},d7=(t,e)=>typeof t=="object"?{enabled:!0,...{noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1},...t}:{enabled:t,noDisabledRange:e.noDisabledRange,showLastInRange:e.showLastInRange,minMaxRawRange:e.minMaxRawRange,partialRange:e.partialRange,disableTimeRangeValidation:e.disableTimeRangeValidation,maxRange:e.maxRange,minRange:e.minRange,autoRange:e.autoRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd},u7=(t,e)=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:e,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:e??t.emitTimezone,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:e},Qc=(t,e)=>new Map(t.map(n=>{const r=tf(n,e);return[Rc(r),r]})),h7=(t,e)=>t.length?new Map(t.map(n=>{const r=tf(n.date,e);return[Rc(r),n]})):null,f7=(t,e,n,r,s,i,a)=>({minDate:Xc(t,a),maxDate:Xc(e,a),disabledDates:Ic(n)?Qc(n,a):n,allowedDates:Ic(r)?Qc(r,a):null,highlight:typeof s=="object"&&Ic(s==null?void 0:s.dates)?Qc(s.dates,a):s,markers:h7(i,a)}),m7=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},Qe=t=>{const e=()=>{const M=t.enableSeconds?":ss":"";return t.is24?`HH:mm${M}`:`hh:mm${M} aa`},n=()=>{var M;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((M=_.value)==null?void 0:M.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},r=M=>Gh(M,t.enableSeconds),s=()=>S.value.enabled?t.startTime&&Array.isArray(t.startTime)?[r(t.startTime[0]),r(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?r(t.startTime):null,i=o.computed(()=>e7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>J9(t.ariaLabels)),c=o.computed(()=>s7(t.filters)),d=o.computed(()=>n7(t.transitions)),u=o.computed(()=>i7(t.actionRow)),h=o.computed(()=>t7(t.previewFormat,t.format,n())),f=o.computed(()=>r7(t.textInput)),m=o.computed(()=>o7(t.inline)),g=o.computed(()=>a7(t.config)),p=o.computed(()=>l7(t.highlight)),_=o.computed(()=>c7(t.weekNumbers)),y=o.computed(()=>u7(t.timezone,t.emitTimezone)),C=o.computed(()=>m7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>f7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),S=o.computed(()=>d7(t.range,{minMaxRawRange:!1,maxRange:t.maxRange,minRange:t.minRange,noDisabledRange:t.noDisabledRange,showLastInRange:t.showLastInRange,partialRange:t.partialRange,disableTimeRangeValidation:t.disableTimeRangeValidation,autoRange:t.autoRange,fixedStart:t.fixedStart,fixedEnd:t.fixedEnd}));return{defaultedTransitions:d,defaultedMultiCalendars:i,defaultedStartTime:a,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:u,defaultedPreviewFormat:h,defaultedTextInput:f,defaultedInline:m,defaultedConfig:g,defaultedHighlight:p,defaultedWeekNumbers:_,defaultedRange:S,propDates:k,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},p7=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:s,defaultedRange:i,defaultedTz:a,defaultedMultiDates:l,getDefaultPattern:c}=Qe(e),d=o.ref(""),u=o.toRef(e,"format");o.watch(r,()=>{t("internal-model-change",r.value)},{deep:!0}),o.watch(u,()=>{N()});const h=w=>a.value.timezone&&a.value.convertModel?lr(w,a.value.timezone):w,f=w=>{if(a.value.timezone&&a.value.convertModel){const B=Q9(a.value.timezone);return R5(w,B)}return w},m=(w,B,z=!1)=>Xh(w,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,B??c(),z),g=w=>w?e.modelType?ee(w):{hours:Tn(w),minutes:zn(w),seconds:e.enableSeconds?Js(w):0}:null,p=w=>e.modelType?ee(w):{month:Ce(w),year:ye(w)},_=w=>Array.isArray(w)?l.value.enabled?w.map(B=>y(B,Wn(q(),B))):ga(()=>[Wn(q(),w[0]),w[1]?Wn(q(),w[1]):ii(i.value.partialRange)],i.value.enabled):Wn(q(),+w),y=(w,B)=>(typeof w=="string"||typeof w=="number")&&e.modelType?Z(w):B,C=w=>Array.isArray(w)?[y(w[0],Nr(null,+w[0].hours,+w[0].minutes,w[0].seconds)),y(w[1],Nr(null,+w[1].hours,+w[1].minutes,w[1].seconds))]:y(w,Nr(null,w.hours,w.minutes,w.seconds)),k=w=>{const B=He(q(),{date:1});return Array.isArray(w)?l.value.enabled?w.map(z=>y(z,ar(B,+z.month,+z.year))):ga(()=>[y(w[0],ar(B,+w[0].month,+w[0].year)),y(w[1],w[1]?ar(B,+w[1].month,+w[1].year):ii(i.value.partialRange))],i.value.enabled):y(w,ar(B,+w.month,+w.year))},S=w=>{if(Array.isArray(w))return w.map(B=>Z(B));throw new Error(Fc.dateArr("multi-dates"))},M=w=>{if(Array.isArray(w)&&i.value.enabled){const B=w[0],z=w[1];return[q(Array.isArray(B)?B[0]:null),q(Array.isArray(z)?z[0]:null)]}return q(w[0])},D=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?ga(()=>w[1]?[Z(w[0]),w[1]?Z(w[1]):ii(i.value.partialRange)]:[Z(w[0])],i.value.enabled):Z(w),v=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ii(i.value.partialRange))},O=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):ii(i.value.partialRange)]},E=()=>r.value[1]?O():ee(Ct(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(v(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?ga(()=>O(),i.value.enabled):ee(Ct(r.value))),P=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(Ct(w)):e.monthPicker?k(Ct(w)):e.yearPicker?_(Ct(w)):l.value.enabled?S(Ct(w)):e.weekPicker?M(Ct(w)):D(Ct(w)),R=w=>{const B=P(w);Yc(Ct(B))?(r.value=Ct(B),N()):(r.value=null,d.value="")},G=()=>{const w=B=>In(B,s.value.format);return`${w(r.value[0])} ${s.value.rangeSeparator} ${r.value[1]?w(r.value[1]):""}`},T=()=>n.value&&r.value?Array.isArray(r.value)?G():In(r.value,s.value.format):m(r.value),x=()=>r.value?l.value.enabled?r.value.map(w=>m(w)).join("; "):s.value.enabled&&typeof s.value.format=="string"?T():m(r.value):"",N=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?d.value=x():d.value=e.format(r.value)},Z=w=>{if(e.utc){const B=new Date(w);return e.utc==="preserve"?new Date(B.getTime()+B.getTimezoneOffset()*6e4):B}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?h(new Date(w)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Oc(w,c(),new Date)):h(Oc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?j9(w,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+f(w):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?m(f(w)):m(f(w),e.modelType,!0):f(w):"",U=(w,B=!1)=>{if(t("update:model-value",w),a.value.emitTimezone&&B){const z=Array.isArray(w)?w.map(be=>lr(Ct(be),a.value.emitTimezone)):lr(Ct(w),a.value.emitTimezone);t("update:model-timezone-value",z)}},L=w=>Array.isArray(r.value)?l.value.enabled?r.value.map(B=>w(B)):[w(r.value[0]),r.value[1]?w(r.value[1]):ii(i.value.partialRange)]:w(Ct(r.value)),V=()=>{if(Array.isArray(r.value)){const w=or(r.value[0],e.weekStart),B=r.value[1]?or(r.value[1],e.weekStart):[];return[w.map(z=>q(z)),B.map(z=>q(z))]}return or(r.value,e.weekStart).map(w=>q(w))},b=w=>U(Ct(L(w)));return{inputValue:d,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:R,formatInputValue:N,emitModelValue:()=>(N(),e.monthPicker?b(p):e.timePicker?b(g):e.yearPicker?b(ye):e.weekPicker?t("update:model-value",V()):U(j(),!0))}},g7=(t,e)=>{const{defaultedFilters:n,propDates:r}=Qe(t),{validateMonthYearInRange:s}=Fr(t),i=(u,h)=>{let f=u;return n.value.months.includes(Ce(f))?(f=h?Sn(u,1):ti(u,1),i(f,h)):f},a=(u,h)=>{let f=u;return n.value.years.includes(ye(f))?(f=h?bc(u,1):Bh(u,1),a(f,h)):f},l=(u,h=!1)=>{const f=He(q(),{month:t.month,year:t.year});let m=u?Sn(f,1):ti(f,1);t.disableYearSelect&&(m=Wn(m,t.year));let g=Ce(m),p=ye(m);n.value.months.includes(g)&&(m=i(m,u),g=Ce(m),p=ye(m)),n.value.years.includes(p)&&(m=a(m,u),p=ye(m)),s(g,p,u,t.preventMinMaxNavigation)&&c(g,p,h)},c=(u,h,f)=>{e("update-month-year",{month:u,year:h,fromNav:f})},d=o.computed(()=>u=>Kh(He(q(),{month:t.month,year:t.year}),r.value.maxDate,r.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:l,isDisabled:d,updateMonthYear:c}};var oi=(t=>(t.center="center",t.left="left",t.right="right",t))(oi||{}),On=(t=>(t.month="month",t.year="year",t))(On||{}),ps=(t=>(t.top="top",t.bottom="bottom",t))(ps||{}),gs=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(gs||{}),jn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(jn||{});const _7=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:r,inline:s,emit:i,props:a,slots:l})=>{const c=o.ref({}),d=o.ref(!1),u=o.ref({top:"0",left:"0"}),h=o.ref(!1),f=o.toRef(a,"teleportCenter");o.watch(f,()=>{u.value=JSON.parse(JSON.stringify({})),S()});const m=T=>{if(a.teleport){const x=T.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(T,x)=>{u.value.left=`${T+x-c.value.width}px`},p=T=>{u.value.left=`${T}px`},_=(T,x)=>{a.position===oi.left&&p(T),a.position===oi.right&&g(T,x),a.position===oi.center&&(u.value.left=`${T+x/2-c.value.width/2}px`)},y=T=>{const{width:x,height:N}=T.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(T):m(T);return{top:+Z,left:+ee,width:x,height:N}},C=()=>{u.value.left="50%",u.value.top="50%",u.value.transform="translate(-50%, -50%)",u.value.position="fixed",delete u.value.opacity},k=()=>{const T=wt(n),{top:x,left:N,transform:Z}=a.altPosition(T);u.value={top:`${x}px`,left:`${N}px`,transform:Z??""}},S=(T=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(T){const N=a.teleport?(x=e.value)==null?void 0:x.$el:t.value;N&&(c.value=N.getBoundingClientRect()),i("recalculate-position")}return j()}},M=({inputEl:T,left:x,width:N})=>{window.screen.width>768&&!d.value&&_(x,N),O(T)},D=T=>{const{top:x,left:N,height:Z,width:ee}=y(T);u.value.top=`${Z+x+ +a.offset}px`,h.value=!1,d.value||(u.value.left=`${N+ee/2-c.value.width/2}px`),M({inputEl:T,left:N,width:ee})},v=T=>{const{top:x,left:N,width:Z}=y(T);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:T,left:N,width:Z})},O=T=>{if(a.autoPosition){const{left:x,width:N}=y(T),{left:Z,right:ee}=c.value;if(!d.value){if(Math.abs(Z)!==Math.abs(ee)){if(Z<=0)return d.value=!0,p(x);if(ee>=document.documentElement.clientWidth)return d.value=!0,g(x,N)}return _(x,N)}}},E=()=>{const T=wt(n);if(T){const{height:x}=c.value,{top:N,height:Z}=T.getBoundingClientRect(),ee=window.innerHeight-N-Z,U=N;return x<=ee?ps.bottom:x>ee&&x<=U?ps.top:ee>=U?ps.bottom:ps.top}return ps.bottom},I=T=>E()===ps.bottom?D(T):v(T),j=()=>{const T=wt(n);if(T)return a.autoPosition?I(T):D(T)},P=function(T){if(T){const x=T.scrollHeight>T.clientHeight,N=window.getComputedStyle(T).overflowY.indexOf("hidden")!==-1;return x&&!N}return!0},R=function(T){return!T||T===document.body||T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:P(T)?T:R(T.parentNode)},G=T=>{if(T)switch(a.position){case oi.left:return{left:0,transform:"translateX(0)"};case oi.right:return{left:`${T.width}px`,transform:"translateX(-100%)"};default:return{left:`${T.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:S,getScrollableParent:R,shadowRender:(T,x)=>{var N,Z,ee;const U=document.createElement("div"),L=(N=wt(n))==null?void 0:N.getBoundingClientRect();U.setAttribute("id","dp--temp-container");const V=(Z=r.value)!=null&&Z.clientWidth?r.value:document.body;V.append(U);const b=G(L),w=o.h(T,{...x,shadow:!0,style:{opacity:0,position:"absolute",...b}},Object.fromEntries(Object.keys(l).filter(B=>["right-sidebar","left-sidebar"].includes(B)).map(B=>[B,l[B]])));o.render(w,U),c.value=(ee=w.el)==null?void 0:ee.getBoundingClientRect(),o.render(null,U),V.removeChild(U)}}},Ar=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]}],y7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],w7={all:()=>Ar,monthYear:()=>Ar.filter(t=>t.use.includes("month-year")),input:()=>y7,timePicker:()=>Ar.filter(t=>t.use.includes("time")),action:()=>Ar.filter(t=>t.use.includes("action")),calendar:()=>Ar.filter(t=>t.use.includes("calendar")),menu:()=>Ar.filter(t=>t.use.includes("menu")),shared:()=>Ar.filter(t=>t.use.includes("shared")),yearMode:()=>Ar.filter(t=>t.use.includes("year-mode"))},Ut=(t,e,n)=>{const r=[];return w7[e]().forEach(s=>{t[s.name]&&r.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&r.push(s.slot)}),r},Qi=t=>{const e=o.computed(()=>r=>t.value?r?t.value.open:t.value.close:""),n=o.computed(()=>r=>t.value?r?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Ji=(t,e)=>{const{defaultedRange:n,defaultedTz:r}=Qe(t),s=q(lr(q(),r.value.timezone)),i=o.ref([{month:Ce(s),year:ye(s)}]),a=o.reactive({hours:n.value.enabled?[Tn(s),Tn(s)]:Tn(s),minutes:n.value.enabled?[zn(s),zn(s)]:zn(s),seconds:n.value.enabled?[0,0]:0}),l=o.computed({get:()=>t.internalModelValue,set:u=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",u)}}),c=o.computed(()=>u=>i.value[u]?i.value[u].month:0),d=o.computed(()=>u=>i.value[u]?i.value[u].year:0);return{calendars:i,time:a,modelValue:l,month:c,year:d}},b7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=Qe(e),{isDisabled:c}=Fr(e),d=o.ref(null),u=o.ref(lr(new Date,i.value.timezone)),h=b=>{!b.current&&e.hideOffsetDates||(d.value=b.value)},f=()=>{d.value=null},m=b=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?b?ut(d.value,t.value[0]):rt(d.value,t.value[0]):!0,g=(b,w)=>{const B=()=>t.value?w?t.value[0]||null:t.value[1]:null,z=t.value&&Array.isArray(t.value)?B():null;return Me(q(b.value),z)},p=b=>{const w=Array.isArray(t.value)?t.value[0]:null;return b?!rt(d.value??null,w):!0},_=(b,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!b.current?!1:Me(q(b.value),t.value[w?0:1]):l.value.enabled?g(b,w)&&p(w)||Me(b.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(b,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?b?!1:B?ut(t.value[0],w.value):rt(t.value[0],w.value):!1,C=b=>!t.value||e.hideOffsetDates&&!b.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Me(b.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Me(w,b.value)):Me(b.value,t.value?t.value:u.value),k=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=vn(d.value,+l.value.autoRange),B=or(q(d.value),e.weekStart);return e.weekPicker?Me(B[1],q(b.value)):Me(w,q(b.value))}return!1}return!1},S=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=vn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!b.current)return!1;const B=or(q(d.value),e.weekStart);return e.weekPicker?ut(b.value,B[0])&&rt(b.value,B[1]):ut(b.value,d.value)&&rt(b.value,w)}return!1}return!1},M=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=or(q(d.value),e.weekStart);return e.weekPicker?Me(w[0],b.value):Me(d.value,b.value)}return!1}return!1},D=b=>pa(t.value,d.value,b.value),v=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,O=()=>e.modelAuto?Ih(e.internalModelValue):!0,E=b=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(b)&&!_(b,!1):!0;return!c(b.value)&&!C(b)&&!(!b.current&&e.hideOffsetDates)&&w},I=b=>l.value.enabled?e.modelAuto?v()&&C(b):!1:C(b),j=b=>s.value?H9(b.value,a.value.highlight):!1,P=b=>{const w=c(b.value);return w&&(typeof s.value=="function"?!s.value(b.value,w):!s.value.options.highlightDisabled)},R=b=>{var w;return typeof s.value=="function"?s.value(b.value):(w=s.value.weekdays)==null?void 0:w.includes(b.value.getDay())},G=b=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||b.current)&&O()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?D(b):!1,T=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b),z=l.value.enabled?w||B:!1;return{dp__cell_offset:!b.current,dp__pointer:!e.disabled&&!(!b.current&&e.hideOffsetDates)&&!c(b.value),dp__cell_disabled:c(b.value),dp__cell_highlight:!P(b)&&(j(b)||R(b))&&!I(b)&&!z&&!M(b)&&!(G(b)&&e.weekPicker)&&!B,dp__cell_highlight_active:!P(b)&&(j(b)||R(b))&&I(b),dp__today:!e.noToday&&Me(b.value,u.value)&&b.current,"dp--past":rt(b.value,u.value),"dp--future":ut(b.value,u.value)}},x=b=>({dp__active_date:I(b),dp__date_hover:E(b)}),N=b=>{if(t.value&&!Array.isArray(t.value)){const w=or(t.value,e.weekStart);return{...L(b),dp__range_start:Me(w[0],b.value),dp__range_end:Me(w[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])}}return{...L(b)}},Z=b=>{if(t.value&&Array.isArray(t.value)){const w=or(t.value[0],e.weekStart),B=t.value[1]?or(t.value[1],e.weekStart):[];return{...L(b),dp__range_start:Me(w[0],b.value)||Me(B[0],b.value),dp__range_end:Me(w[1],b.value)||Me(B[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])||ut(b.value,B[0])&&rt(b.value,B[1]),dp__range_between:ut(b.value,w[1])&&rt(b.value,B[0])}}return{...L(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&O():_(b)&&O(),B=n.value.count>0?b.current&&_(b,!1)&&O():_(b,!1)&&O();return{isRangeStart:w,isRangeEnd:B}},U=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(b),dp__date_hover:E(b),dp__date_hover_start:y(E(b),b,!0),dp__date_hover_end:y(E(b),b,!1)}},L=b=>({...U(b),dp__cell_auto_range:S(b),dp__cell_auto_range_start:M(b),dp__cell_auto_range_end:k(b)}),V=b=>l.value.enabled?l.value.autoRange?L(b):e.modelAuto?{...x(b),...U(b)}:e.weekPicker?Z(b):U(b):e.weekPicker?N(b):x(b);return{setHoverDate:h,clearHoverDate:f,getDayClassData:b=>e.hideOffsetDates&&!b.current?{}:{...T(b),...V(b),[e.dayClass?e.dayClass(b.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},Fr=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:s}=Qe(t),i=P=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q(P)):!!ma(P,r.value.disabledDates):!1,a=P=>{const R=r.value.maxDate?ut(P,r.value.maxDate):!1,G=r.value.minDate?rt(P,r.value.minDate):!1,T=i(P),x=e.value.months.map(L=>+L).includes(Ce(P)),N=t.disabledWeekDays.length?t.disabledWeekDays.some(L=>+L===V4(P)):!1,Z=h(P),ee=ye(P),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(R||G||T||x||U||N||Z)},l=(P,R)=>rt(...Vr(r.value.minDate,P,R))||Me(...Vr(r.value.minDate,P,R)),c=(P,R)=>ut(...Vr(r.value.maxDate,P,R))||Me(...Vr(r.value.maxDate,P,R)),d=(P,R,G)=>{let T=!1;return r.value.maxDate&&G&&c(P,R)&&(T=!0),r.value.minDate&&!G&&l(P,R)&&(T=!0),T},u=(P,R,G,T)=>{let x=!1;return T?r.value.minDate&&r.value.maxDate?x=d(P,R,G):(r.value.minDate&&l(P,R)||r.value.maxDate&&c(P,R))&&(x=!0):x=!0,x},h=P=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!ma(P,r.value.allowedDates):!1,f=P=>!a(P),m=P=>n.value.noDisabledRange?!_h({start:P[0],end:P[1]}).some(R=>f(R)):!0,g=P=>{if(P){const R=ye(P);return R>=+t.yearRange[0]&&R<=t.yearRange[1]}return!0},p=(P,R)=>!!(Array.isArray(P)&&P[R]&&(n.value.maxRange||n.value.minRange)&&g(P[R])),_=(P,R,G=0)=>{if(p(R,G)&&g(P)){const T=mh(P,R[G]),x=qh(R[G],P),N=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(T)-(n.value.minMaxRawRange?0:N);if(n.value.minRange&&n.value.maxRange)return Z>=+n.value.minRange&&Z<=+n.value.maxRange;if(n.value.minRange)return Z>=+n.value.minRange;if(n.value.maxRange)return Z<=+n.value.maxRange}return!0},y=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,C=P=>Array.isArray(P)?[P[0]?jc(P[0]):null,P[1]?jc(P[1]):null]:jc(P),k=(P,R,G)=>P.find(T=>+T.hours===Tn(R)&&T.minutes==="*"?!0:+T.minutes===zn(R)&&+T.hours===Tn(R))&&G,S=(P,R,G)=>{const[T,x]=P,[N,Z]=R;return!k(T,N,G)&&!k(x,Z,G)&&G},M=(P,R)=>{const G=Array.isArray(R)?R:[R];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?S(t.disabledTimes,G,P):!G.some(T=>k(t.disabledTimes,T,P)):P},D=(P,R)=>{const G=Array.isArray(R)?[ms(R[0]),R[1]?ms(R[1]):void 0]:ms(R),T=!t.disabledTimes(G);return P&&T},v=(P,R)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(R,P):D(R,P):R,O=P=>{let R=!0;if(!P||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C(P):P;return(t.maxTime||r.value.maxDate)&&(R=Qh(t.maxTime,r.value.maxDate,"max",Ct(G),R)),(t.minTime||r.value.minDate)&&(R=Qh(t.minTime,r.value.minDate,"min",Ct(G),R)),v(P,R)},E=P=>{if(!t.monthPicker)return!0;let R=!0;const G=q(Dn(P));if(r.value.minDate&&r.value.maxDate){const T=q(Dn(r.value.minDate)),x=q(Dn(r.value.maxDate));return ut(G,T)&&rt(G,x)||Me(G,T)||Me(G,x)}if(r.value.minDate){const T=q(Dn(r.value.minDate));R=ut(G,T)||Me(G,T)}if(r.value.maxDate){const T=q(Dn(r.value.maxDate));R=rt(G,T)||Me(G,T)}return R},I=o.computed(()=>P=>!t.enableTimePicker||t.ignoreTimeValidation?!0:O(P)),j=o.computed(()=>P=>t.monthPicker?Array.isArray(P)&&(n.value.enabled||s.value.enabled)?!P.filter(R=>!E(R)).length:E(P):!0);return{isDisabled:f,validateDate:a,validateMonthYearInRange:u,isDateRangeAllowed:m,checkMinMaxRange:_,isValidTime:O,isTimeValid:I,isMonthValid:j}},ya=()=>{const t=o.computed(()=>(r,s)=>r==null?void 0:r.includes(s)),e=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===0:!0),n=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===r.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},k7=(t,e,n)=>{const r=o.ref(0),s=o.reactive({[gs.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[gs.calendar]:!1,[gs.header]:!1}),i=o.computed(()=>t.monthPicker),a=h=>{var f;if((f=t.flow)!=null&&f.length){if(!h&&i.value)return u();s[h]=!0,Object.keys(s).filter(m=>!s[m]).length||u()}},l=()=>{var h;(h=t.flow)!=null&&h.length&&r.value!==-1&&(r.value+=1,e("flow-step",r.value),u())},c=()=>{r.value=-1},d=(h,f,...m)=>{var g,p;t.flow[r.value]===h&&n.value&&((p=(g=n.value)[f])==null||p.call(g,...m))},u=()=>{d(jn.month,"toggleMonthPicker",!0),d(jn.year,"toggleYearPicker",!0),d(jn.calendar,"toggleTimePicker",!1,!0),d(jn.time,"toggleTimePicker",!0,!0);const h=t.flow[r.value];(h===jn.hours||h===jn.minutes||h===jn.seconds)&&d(h,"toggleTimePicker",!0,!0,h)};return{childMount:a,updateFlowStep:l,resetFlow:c,flowStep:r}},wa={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},emitTimezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},calendarCellClassName:{type:String,default:null},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},autoRange:{type:[Number,String],default:null},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},disableTimeRangeValidation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[String,Boolean,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},calendarClassName:{type:String,default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},partialRange:{type:Boolean,default:!0},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},inputClassName:{type:String,default:null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},showLastInRange:{type:Boolean,default:!0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},En={...wa,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null}},C7={key:1,class:"dp__input_wrap"},x7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],M7={key:2,class:"dp__clear_icon"},v7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...wa},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTextInput:i,defaultedAriaLabels:a,defaultedInline:l,defaultedConfig:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h,getDefaultStartTime:f}=Qe(s),{checkMinMaxRange:m}=Fr(s),g=o.ref(),p=o.ref(null),_=o.ref(!1),y=o.ref(!1),C=o.computed(()=>({dp__pointer:!s.disabled&&!s.readonly&&!i.value.enabled,dp__disabled:s.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!s.hideInputIcon,dp__input_valid:!!s.state,dp__input_invalid:s.state===!1,dp__input_focus:_.value||s.isMenuOpen,dp__input_reg:!i.value.enabled,[s.inputClassName]:!!s.inputClassName})),k=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},S=x=>{const N=f();return W9(x,i.value.format??h(),N??Gh({},s.enableSeconds),s.inputValue,y.value,s.formatLocale)},M=x=>{const{rangeSeparator:N}=i.value,[Z,ee]=x.split(`${N}`);if(Z){const U=S(Z.trim()),L=ee?S(ee.trim()):null,V=U&&L?[U,L]:[U];m(L,V,0)&&(g.value=U?V:null)}},D=()=>{y.value=!0},v=x=>{if(d.value.enabled)M(x);else if(u.value.enabled){const N=x.split(";");g.value=N.map(Z=>S(Z.trim())).filter(Z=>Z)}else g.value=S(x)},O=x=>{var N;const Z=typeof x=="string"?x:(N=x.target)==null?void 0:N.value;Z!==""?(i.value.openMenu&&!s.isMenuOpen&&r("open"),v(Z),r("set-input-date",g.value)):k(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(v(x.target.value),i.value.enterSubmit&&Yc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0),g.value=null):i.value.enterSubmit&&s.inputValue===""&&(g.value=null,r("clear"))):P(x)},I=x=>{i.value.enabled&&i.value.tabSubmit&&v(x.target.value),i.value.tabSubmit&&Yc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0,!0),g.value=null):i.value.tabSubmit&&s.inputValue===""&&(g.value=null,r("clear",!0))},j=()=>{_.value=!0,r("focus"),o.nextTick().then(()=>{var x;i.value.enabled&&i.value.selectOnFocus&&((x=p.value)==null||x.select())})},P=x=>{x.preventDefault(),$r(x,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input&&!s.isMenuOpen?r("open"):i.value.enabled||r("toggle")},R=()=>{r("real-blur"),_.value=!1,(!s.isMenuOpen||l.value.enabled&&l.value.input)&&r("blur"),s.autoApply&&i.value.enabled&&g.value&&!s.isMenuOpen&&(r("set-input-date",g.value),r("select-date"),g.value=null)},G=x=>{$r(x,c.value,!0),r("clear")},T=x=>{if(!i.value.enabled){if(x.code==="Tab")return;x.preventDefault()}};return e({focusInput:()=>{var x;(x=p.value)==null||x.focus({preventScroll:!0})},setParsedDate:x=>{g.value=x}}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",{onClick:P},[x.$slots.trigger&&!x.$slots["dp-input"]&&!o.unref(l).enabled?o.renderSlot(x.$slots,"trigger",{key:0}):o.createCommentVNode("",!0),!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).input)?(o.openBlock(),o.createElementBlock("div",C7,[x.$slots["dp-input"]&&!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(x.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:O,onEnter:E,onTab:I,onClear:G,onBlur:R,onKeypress:T,onPaste:D,openMenu:()=>x.$emit("open"),closeMenu:()=>x.$emit("close"),toggleMenu:()=>x.$emit("toggle")}):o.createCommentVNode("",!0),x.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:x.uid?`dp-input-${x.uid}`:void 0,ref_key:"inputRef",ref:p,name:x.name,class:o.normalizeClass(C.value),inputmode:o.unref(i).enabled?"text":"none",placeholder:x.placeholder,disabled:x.disabled,readonly:x.readonly,required:x.required,value:t.inputValue,autocomplete:x.autocomplete,"aria-label":(Z=o.unref(a))==null?void 0:Z.input,"aria-disabled":x.disabled||void 0,"aria-invalid":x.state===!1?!0:void 0,onInput:O,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),T],onBlur:R,onFocus:j,onKeypress:T,onPaste:D},null,42,x7)),o.createElementVNode("div",{onClick:N[2]||(N[2]=ee=>r("toggle"))},[x.$slots["input-icon"]&&!x.hideInputIcon?(o.openBlock(),o.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:N[0]||(N[0]=ee=>r("toggle"))},[o.renderSlot(x.$slots,"input-icon")])):o.createCommentVNode("",!0),!x.$slots["input-icon"]&&!x.hideInputIcon&&!x.$slots["dp-input"]?(o.openBlock(),o.createBlock(o.unref(ni),{key:1,class:"dp__input_icon dp__input_icons",onClick:N[1]||(N[1]=ee=>r("toggle"))})):o.createCommentVNode("",!0)]),x.$slots["clear-icon"]&&t.inputValue&&x.clearable&&!x.disabled&&!x.readonly?(o.openBlock(),o.createElementBlock("span",M7,[o.renderSlot(x.$slots,"clear-icon",{clear:G})])):o.createCommentVNode("",!0),x.clearable&&!x.$slots["clear-icon"]&&t.inputValue&&!x.disabled&&!x.readonly?(o.openBlock(),o.createBlock(o.unref(Ah),{key:3,class:"dp__clear_icon dp__input_icons",onClick:N[3]||(N[3]=o.withModifiers(ee=>G(ee),["prevent"]))})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),S7=["title"],T7=["disabled"],D7=o.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...En},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,r=t,{defaultedActionRow:s,defaultedPreviewFormat:i,defaultedMultiCalendars:a,defaultedTextInput:l,defaultedInline:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h}=Qe(r),{isTimeValid:f,isMonthValid:m}=Fr(r),{buildMatrix:g}=Br(),p=o.ref(null),_=o.ref(null),y=o.ref(!1),C=o.ref({}),k=o.ref(null),S=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&g([wt(p),wt(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var T,x;const N=(T=k.value)==null?void 0:T.getBoundingClientRect(),Z=(x=S.value)==null?void 0:x.getBoundingClientRect();N&&Z&&(C.value.maxWidth=`${Z.width-N.width-20}px`),y.value=!0},0)},D=o.computed(()=>d.value.enabled&&!d.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),v=o.computed(()=>!f.value(r.internalModelValue)||!m.value(r.internalModelValue)||!D.value),O=()=>{const T=i.value;return r.timePicker||r.monthPicker,T(Ct(r.internalModelValue))},E=()=>{const T=r.internalModelValue;return a.value.count>0?`${I(T[0])} - ${I(T[1])}`:[I(T[0]),I(T[1])]},I=T=>Xh(T,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,h()),j=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?E():u.value.enabled?r.internalModelValue.map(T=>`${I(T)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):O()),P=()=>u.value.enabled?"; ":" - ",R=o.computed(()=>Array.isArray(j.value)?j.value.join(P()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&D.value?n("select-date"):n("invalid-select")};return(T,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:S,class:"dp__action_row"},[T.$slots["action-row"]?o.renderSlot(T.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:T.internalModelValue,disabled:v.value,selectDate:()=>T.$emit("select-date"),closePicker:()=>T.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(s).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:R.value,style:o.normalizeStyle(C.value)},[T.$slots["action-preview"]&&y.value?o.renderSlot(T.$slots,"action-preview",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),!T.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(R.value),1)],64)):o.createCommentVNode("",!0)],12,S7)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[T.$slots["action-buttons"]?o.renderSlot(T.$slots,"action-buttons",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),T.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(s).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[0]||(x[0]=N=>T.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(N=>T.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(N=>T.$emit("close-picker"),["space"]))]},o.toDisplayString(T.cancelText),545)):o.createCommentVNode("",!0),o.unref(s).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[3]||(x[3]=N=>T.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(N=>T.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(N=>T.$emit("select-now"),["space"]))]},o.toDisplayString(T.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(s).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:_,type:"button",class:"dp__action_button dp__action_select",disabled:v.value,onKeydown:[o.withKeys(G,["enter"]),o.withKeys(G,["space"])],onClick:G},o.toDisplayString(T.selectText),41,T7)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),O7=["onKeydown"],E7={class:"dp__selection_grid_header"},P7=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],L7=["aria-label"],eo=o.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:s,setMonthPicker:i}=Br(),a=n,l=t,{defaultedAriaLabels:c,defaultedTextInput:d,defaultedConfig:u}=Qe(l),{hideNavigationButtons:h}=ya(),f=o.ref(!1),m=o.ref(null),g=o.ref(null),p=o.ref([]),_=o.ref(),y=o.ref(null),C=o.ref(0),k=o.ref(null);o.onBeforeUpdate(()=>{m.value=null}),o.onMounted(()=>{o.nextTick().then(()=>j()),l.noOverlayFocus||M(),S(!0)}),o.onUnmounted(()=>S(!1));const S=U=>{var L;l.arrowNavigation&&((L=l.headerRefs)!=null&&L.length?i(U):r(U))},M=()=>{var U;const L=wt(g);L&&(d.value.enabled||(m.value?(U=m.value)==null||U.focus({preventScroll:!0}):L.focus({preventScroll:!0})),f.value=L.clientHeight<L.scrollHeight)},D=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),v=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),O=o.computed(()=>({dp__overlay_col:!0})),E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:l.isLast})),I=o.computed(()=>{var U,L;return{dp__overlay_container:!0,dp__container_flex:((U=l.items)==null?void 0:U.length)<=6,dp__container_block:((L=l.items)==null?void 0:L.length)>6}});o.watch(()=>l.items,()=>j(!1),{deep:!0});const j=(U=!0)=>{o.nextTick().then(()=>{const L=wt(m),V=wt(g),b=wt(y),w=wt(k),B=b?b.getBoundingClientRect().height:0;V&&(V.getBoundingClientRect().height?C.value=V.getBoundingClientRect().height-B:C.value=u.value.modeHeight-B),L&&w&&U&&(w.scrollTop=L.offsetTop-w.offsetTop-(C.value/2-L.getBoundingClientRect().height)-B)})},P=U=>{U.disabled||a("selected",U.value)},R=()=>{a("toggle"),a("reset-flow")},G=()=>{l.escClose&&R()},T=(U,L,V,b)=>{U&&((L.active||L.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[V])?p.value[V][b]=U:p.value[V]=[U],x()))},x=()=>{var U,L;const V=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(p.value):p.value.concat([l.skipButtonRef?[]:[y.value]]);s(Ct(V),(L=l.headerRefs)!=null&&L.length?"monthPicker":"selectionGrid")},N=U=>{l.arrowNavigation||$r(U,u.value,!0)},Z=U=>{_.value=U,a("hover-value",U)},ee=()=>{if(R(),!l.isLast){const U=Y9(l.menuWrapRef??null,"action-row");if(U){const L=Hh(U);L==null||L.focus()}}};return e({focusGrid:M}),(U,L)=>{var V;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:g,class:o.normalizeClass(D.value),style:o.normalizeStyle(v.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),L[0]||(L[0]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["left"])),L[1]||(L[1]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["up"])),L[2]||(L[2]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["down"])),L[3]||(L[3]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:k,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",E7,[o.renderSlot(U.$slots,"header")]),U.$slots.overlay?o.renderSlot(U.$slots,"overlay",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(U.items,(b,w)=>(o.openBlock(),o.createElementBlock("div",{key:w,class:o.normalizeClass(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(b,(B,z)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>T(be,B,w,z),role:"gridcell",class:o.normalizeClass(O.value),"aria-selected":B.active||void 0,"aria-disabled":B.disabled||void 0,tabindex:"0",onClick:be=>P(B),onKeydown:[o.withKeys(o.withModifiers(be=>P(B),["prevent"]),["enter"]),o.withKeys(o.withModifiers(be=>P(B),["prevent"]),["space"])],onMouseover:be=>Z(B.value)},[o.createElementVNode("div",{class:o.normalizeClass(B.className)},[U.$slots.item?o.renderSlot(U.$slots,"item",{key:0,item:B}):o.createCommentVNode("",!0),U.$slots.item?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(B.text),1)],64))],2)],42,P7))),128))],2))),128))],6),U.$slots["button-icon"]?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:y,type:"button","aria-label":(V=o.unref(c))==null?void 0:V.toggleOverlay,class:o.normalizeClass(E.value),tabindex:"0",onClick:R,onKeydown:[o.withKeys(R,["enter"]),o.withKeys(ee,["tab"])]},[o.renderSlot(U.$slots,"button-icon")],42,L7)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,O7)}}}),ba=o.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=o.computed(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),r=o.computed(()=>({dp__instance_calendar:e.multiCalendars>0}));return(s,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass({dp__menu_inner:!s.stretch,"dp--menu--inner-stretched":s.stretch,dp__flex_display:s.multiCalendars>0,"dp--flex-display-collapsed":s.collapse})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(a,l)=>(o.openBlock(),o.createElementBlock("div",{key:a,class:o.normalizeClass(r.value)},[o.renderSlot(s.$slots,"default",{instance:a,index:l})],2))),128))],2))}}),$7=["aria-label","aria-disabled"],to=o.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,r=o.ref(null);return o.onMounted(()=>n("set-ref",r)),(s,i)=>(o.openBlock(),o.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button",class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":s.ariaLabel,"aria-disabled":s.disabled||void 0,onClick:i[0]||(i[0]=a=>s.$emit("activate")),onKeydown:[i[1]||(i[1]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["enter"])),i[2]||(i[2]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["space"]))]},[o.createElementVNode("span",{class:o.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:s.disabled}])},[o.renderSlot(s.$slots,"default")],2)],40,$7))}}),N7={class:"dp--year-mode-picker"},V7=["aria-label"],sf=o.defineComponent({__name:"YearModePicker",props:{...En,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,r=t,{showRightIcon:s,showLeftIcon:i}=ya(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=Qe(r),{showTransition:u,transitionName:h}=Qi(d),f=(p=!1,_)=>{n("toggle-year-picker",{flow:p,show:_})},m=p=>{n("year-select",p)},g=(p=!1)=>{n("handle-year",p)};return(p,_)=>{var y,C,k;return o.openBlock(),o.createElementBlock("div",N7,[o.unref(i)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:0,ref:"mpPrevIconRef","aria-label":(y=o.unref(c))==null?void 0:y.prevYear,disabled:t.isDisabled(!1),onActivate:_[0]||(_[0]=S=>g(!1))},{default:o.withCtx(()=>[p.$slots["arrow-left"]?o.renderSlot(p.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Lc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":(C=o.unref(c))==null?void 0:C.openYearsOverlay,onClick:_[1]||(_[1]=()=>f(!1)),onKeydown:_[2]||(_[2]=o.withKeys(()=>f(!1),["enter"]))},[p.$slots.year?o.renderSlot(p.$slots,"year",{key:0,year:t.year}):o.createCommentVNode("",!0),p.$slots.year?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(t.year),1)],64))],40,V7),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:1,ref:"mpNextIconRef","aria-label":(k=o.unref(c))==null?void 0:k.nextYear,disabled:t.isDisabled(!0),onActivate:_[3]||(_[3]=S=>g(!0))},{default:o.withCtx(()=>[p.$slots["arrow-right"]?o.renderSlot(p.$slots,"arrow-right",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref($c),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(h)(t.showYearPicker),css:o.unref(u)},{default:o.withCtx(()=>[t.showYearPicker?(o.openBlock(),o.createBlock(eo,{key:0,items:t.items,"text-input":p.textInput,"esc-close":p.escClose,config:p.config,"is-last":p.autoApply&&!o.unref(a).keepActionRow,"hide-navigation":p.hideNavigation,"aria-labels":p.ariaLabels,type:"year",onToggle:f,onSelected:_[4]||(_[4]=S=>m(S))},o.createSlots({"button-icon":o.withCtx(()=>[p.$slots["calendar-icon"]?o.renderSlot(p.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),p.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))]),_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:S})=>[o.renderSlot(p.$slots,"year-overlay-value",{text:S.text,value:S.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels"])):o.createCommentVNode("",!0)]),_:3},8,["name","css"])])}}}),Jc=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>Me(t,r))){const r=e.value.filter(s=>!Me(s,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},ed=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?rt(e,r[0])?(r.unshift(e),n("range-start",r[0]),n("range-start",r[1])):(r[1]=e,n("range-end",e)):(r=[e],n("range-start",e)),r},ka=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},of=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>lr(q(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=lr(q(t.value),t.timezone))},af=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(ut(t,e.value[0])||Me(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(rt(t,e.value[1])||Me(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],lf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Ac(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(D,v)=>{const O=He(Dn(new Date),{month:c.value(D),year:l.value(D)});return Kh(O,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,v)}),m=()=>{for(let D=0;D<t.value.count;D++)if(D===0)r.value[D]=r.value[0];else{const v=He(q(),r.value[D-1]);r.value[D]={month:Ce(v),year:ye(bc(v,1))}}},g=D=>{if(!D)return m();const v=He(q(),r.value[D]);return r.value[0].year=ye(Bh(v,t.value.count-1)),m()},p=D=>i.focusStartDate?D[0]:D[1]?D[1]:D[0],_=()=>{if(s.value){const D=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(D),year:ye(D)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(D,v)=>{r.value[v].year=D,t.value.count&&!t.value.solo&&g(v)},C=o.computed(()=>D=>ri(u.value,v=>{var O;const E=l.value(D)===v.value,I=Ki(v.value,si(n.value.minDate),si(n.value.maxDate))||((O=a.value.years)==null?void 0:O.includes(l.value(D))),j=Zc(e.value,v.value);return{active:E,disabled:I,highlighted:j}})),k=(D,v)=>{y(D,v),M(v)},S=(D,v=!1)=>{if(!f.value(D,v)){const O=v?l.value(D)+1:l.value(D)-1;y(O,D)}},M=(D,v=!1,O)=>{v||d("reset-flow"),O!==void 0?h.value[D]=O:h.value[D]=!h.value[D],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:k,handleYear:S}},B7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,defaultedRange:a,defaultedHighlight:l,propDates:c,defaultedTz:d,defaultedFilters:u,defaultedMultiDates:h}=Qe(t),{modelValue:f,year:m,month:g,calendars:p}=Ji(t,e),_=o.computed(()=>Rh(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Fr(t),{selectYear:k,groupedYears:S,showYearPicker:M,toggleYearPicker:D,handleYearSelect:v,handleYear:O,isDisabled:E}=lf({modelValue:f,multiCalendars:n,highlight:l,calendars:p,year:m,propDates:c,month:g,filters:u,props:t,emit:e});o.onMounted(()=>{t.startDate&&(f.value&&t.focusStartDate||!f.value)&&k(ye(q(t.startDate)),0)});const I=b=>b?{month:Ce(b),year:ye(b)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(b=>I(b)):I(f.value):I(),P=(b,w)=>{const B=p.value[b],z=j();return Array.isArray(z)?z.some(be=>be.year===(B==null?void 0:B.year)&&be.month===w):(B==null?void 0:B.year)===z.year&&w===z.month},R=(b,w,B)=>{var z,be;const Fe=j();return Array.isArray(Fe)?m.value(w)===((z=Fe[B])==null?void 0:z.year)&&b===((be=Fe[B])==null?void 0:be.month):!1},G=(b,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const z=R(b,w,0)||R(b,w,1),be=ar(Dn(q()),b,m.value(w));return pa(f.value,y.value,be)&&!z}return!1}return!1},T=o.computed(()=>b=>ri(_.value,w=>{var B;const z=P(b,w.value),be=Ki(w.value,Zh(m.value(b),c.value.minDate),Uh(m.value(b),c.value.maxDate))||K9(c.value.disabledDates,m.value(b)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Fe=G(w.value,b),A=Jh(l.value,w.value,m.value(b));return{active:z,disabled:be,isBetween:Fe,highlighted:A}})),x=(b,w)=>ar(Dn(q()),b,m.value(w)),N=(b,w)=>{const B=f.value?f.value:Dn(new Date);f.value=ar(B,b,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(b,w)=>{const B=x(b,w);a.value.fixedEnd||a.value.fixedStart?f.value=af(B,f,e,a):f.value?C(B,f.value)&&(f.value=ed(f,x(b,w),e)):f.value=[x(b,w)],ka(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{Jc(x(b,w),f,h.value.limit),e("auto-apply",!0)},U=(b,w)=>(p.value[w].month=b,V(w,p.value[w].year,b),h.value.enabled?ee(b,w):a.value.enabled?Z(b,w):N(b,w)),L=(b,w)=>{k(b,w),V(w,b,null)},V=(b,w,B)=>{let z=B;if(!z&&z!==0){const be=j();z=Array.isArray(be)?be[b].month:be.month}e("update-month-year",{instance:b,year:w,month:z})};return{groupedMonths:T,groupedYears:S,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{of({value:b,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(b,w)=>{y.value=x(b,w)},selectMonth:U,selectYear:L,toggleYearPicker:D,handleYearSelect:v,handleYear:O,getModelMonthYear:j}},A7=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...En},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range"],setup(t,{expose:e,emit:n}){const r=n,s=o.useSlots(),i=Ut(s,"yearMode"),a=t;o.onMounted(()=>{a.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:d,isDisabled:u,defaultedMultiCalendars:h,defaultedConfig:f,showYearPicker:m,modelValue:g,presetDate:p,setHoverDate:_,selectMonth:y,selectYear:C,toggleYearPicker:k,handleYearSelect:S,handleYear:M,getModelMonthYear:D}=B7(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:D,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:v=>k(0,v)}),(v,O)=>(o.openBlock(),o.createBlock(ba,{"multi-calendars":o.unref(h).count,collapse:v.collapse,stretch:""},{default:o.withCtx(({instance:E})=>[v.$slots["month-year"]?o.renderSlot(v.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{year:o.unref(d),months:o.unref(l)(E),years:o.unref(c)(E),selectMonth:o.unref(y),selectYear:o.unref(C),instance:E}))):(o.openBlock(),o.createBlock(eo,{key:1,items:o.unref(l)(E),"arrow-navigation":v.arrowNavigation,"is-last":v.autoApply&&!o.unref(f).keepActionRow,"esc-close":v.escClose,height:o.unref(f).modeHeight,config:v.config,"no-overlay-focus":!!(v.noOverlayFocus||v.textInput),"use-relative":"",type:"month",onSelected:I=>o.unref(y)(I,E),onHoverValue:I=>o.unref(_)(I,E)},{header:o.withCtx(()=>[o.createVNode(sf,o.mergeProps(v.$props,{items:o.unref(c)(E),instance:E,"show-year-picker":o.unref(m)[E],year:o.unref(d)(E),"is-disabled":I=>o.unref(u)(E,I),onHandleYear:I=>o.unref(M)(E,I),onYearSelect:I=>o.unref(S)(I,E),onToggleYearPicker:I=>o.unref(k)(E,I==null?void 0:I.flow,I==null?void 0:I.show)}),o.createSlots({_:2},[o.renderList(o.unref(i),(I,j)=>({name:I,fn:o.withCtx(P=>[o.renderSlot(v.$slots,I,o.normalizeProps(o.guardReactiveProps(P)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),F7=(t,e)=>{const{modelValue:n}=Ji(t,e),r=o.ref(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:a,defaultedRange:l,propDates:c}=Qe(t),d=o.ref();o.onMounted(()=>{t.startDate&&(n.value&&t.focusStartDate||!n.value)&&(d.value=ye(q(t.startDate)))});const u=g=>Array.isArray(n.value)?n.value.some(p=>ye(p)===g):n.value?ye(n.value)===g:!1,h=g=>l.value.enabled&&Array.isArray(n.value)?pa(n.value,r.value,m(g)):!1,f=o.computed(()=>ri(Ac(t.yearRange,t.locale,t.reverseYears),g=>{const p=u(g.value),_=Ki(g.value,si(c.value.minDate),si(c.value.maxDate))||a.value.years.includes(g.value),y=h(g.value)&&!p,C=Zc(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>Wn(Dn(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=Wn(Dn(new Date),g)},selectYear:g=>{var p;if(e("update-month-year",{instance:0,year:g}),i.value.enabled)return n.value?Array.isArray(n.value)&&(((p=n.value)==null?void 0:p.map(_=>ye(_))).includes(g)?n.value=n.value.filter(_=>ye(_)!==g):n.value.push(Wn(Zt(q()),g))):n.value=[Wn(Zt(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=ed(n,m(g),e),ka(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},R7=o.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...En},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const r=n,s=t,{groupedYears:i,modelValue:a,focusYear:l,selectYear:c,setHoverValue:d}=F7(s,r),{defaultedConfig:u}=Qe(s);return e({getSidebarProps:()=>({modelValue:a,selectYear:c})}),(h,f)=>(o.openBlock(),o.createElementBlock("div",null,[h.$slots["month-year"]?o.renderSlot(h.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{years:o.unref(i),selectYear:o.unref(c)}))):(o.openBlock(),o.createBlock(eo,{key:1,items:o.unref(i),"is-last":h.autoApply&&!o.unref(u).keepActionRow,height:o.unref(u).modeHeight,config:h.config,"no-overlay-focus":!!(h.noOverlayFocus||h.textInput),"focus-value":o.unref(l),type:"year","use-relative":"",onSelected:o.unref(c),onHoverValue:o.unref(d)},o.createSlots({_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:m})=>[o.renderSlot(h.$slots,"year-overlay-value",{text:m.text,value:m.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),I7={key:0,class:"dp__time_input"},z7=["aria-label","onKeydown","onClick"],Y7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),H7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),W7=["aria-label","disabled","onKeydown","onClick"],j7=["aria-label","onKeydown","onClick"],Z7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),U7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),q7={key:0},G7=["aria-label","onKeydown"],K7=o.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...En},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{setTimePickerElements:i,setTimePickerBackRef:a}=Br(),{defaultedAriaLabels:l,defaultedTransitions:c,defaultedFilters:d,defaultedConfig:u,defaultedRange:h}=Qe(s),{transitionName:f,showTransition:m}=Qi(c),g=o.reactive({hours:!1,minutes:!1,seconds:!1}),p=o.ref("AM"),_=o.ref(null),y=o.ref([]);o.onMounted(()=>{r("mounted")});const C=A=>He(new Date,{hours:A.hours,minutes:A.minutes,seconds:s.enableSeconds?A.seconds:0,milliseconds:0}),k=o.computed(()=>A=>T(A,s[A])||M(A,s[A])),S=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,Y)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,Y):!1,D=(A,Y)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ue=Y?+s[`${A}Increment`]:-+s[`${A}Increment`],$=s[A]+ue;return!s.validateTime(A,$)}return!1},v=o.computed(()=>A=>!ee(+s[A]+ +s[`${A}Increment`],A)||D(A,!0)),O=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||D(A,!1)),E=(A,Y)=>ch(He(q(),A),Y),I=(A,Y)=>N9(He(q(),A),Y),j=o.computed(()=>({dp__time_col:!0,dp__time_col_block:!s.timePickerInline,dp__time_col_reg_block:!s.enableSeconds&&s.is24&&!s.timePickerInline,dp__time_col_reg_inline:!s.enableSeconds&&s.is24&&s.timePickerInline,dp__time_col_reg_with_button:!s.enableSeconds&&!s.is24,dp__time_col_sec:s.enableSeconds&&s.is24,dp__time_col_sec_with_button:s.enableSeconds&&!s.is24})),P=o.computed(()=>{const A=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return s.enableSeconds?A.concat([{type:"",separator:!0},{type:"seconds"}]):A}),R=o.computed(()=>P.value.filter(A=>!A.separator)),G=o.computed(()=>A=>{if(A==="hours"){const Y=w(+s.hours);return{text:Y<10?`0${Y}`:`${Y}`,value:Y}}return{text:s[A]<10?`0${s[A]}`:`${s[A]}`,value:s[A]}}),T=(A,Y)=>{var ue;if(!s.disabledTimesConfig)return!1;const $=s.disabledTimesConfig(s.order,A==="hours"?Y:void 0);return $[A]?!!((ue=$[A])!=null&&ue.includes(Y)):!0},x=A=>{const Y=s.is24?24:12,ue=A==="hours"?Y:60,$=+s[`${A}GridIncrement`],K=A==="hours"&&!s.is24?$:0,de=[];for(let ge=K;ge<ue;ge+=$)de.push({value:ge,text:ge<10?`0${ge}`:`${ge}`});return A==="hours"&&!s.is24&&de.push({value:0,text:"12"}),ri(de,ge=>({active:!1,disabled:d.value.times[A].includes(ge.value)||!ee(ge.value,A)||T(A,ge.value)||M(A,ge.value)}))},N=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,Y)=>{const ue=s.minTime?C(zc(s.minTime)):null,$=s.maxTime?C(zc(s.maxTime)):null,K=C(zc(S.value,Y,Y==="minutes"||Y==="seconds"?N(A):Z(A)));return ue&&$?(Gi(K,$)||ei(K,$))&&(qi(K,ue)||ei(K,ue)):ue?qi(K,ue)||ei(K,ue):$?Gi(K,$)||ei(K,$):!0},U=A=>s[`no${A[0].toUpperCase()+A.slice(1)}Overlay`],L=A=>{U(A)||(g[A]=!g[A],g[A]||r("overlay-closed"))},V=A=>A==="hours"?Tn:A==="minutes"?zn:Js,b=(A,Y=!0)=>{const ue=Y?E:I,$=Y?+s[`${A}Increment`]:-+s[`${A}Increment`];ee(+s[A]+$,A)&&r(`update:${A}`,V(A)(ue({[A]:+s[A]},{[A]:+s[`${A}Increment`]})))},w=A=>s.is24?A:(A>=12?p.value="PM":p.value="AM",A9(A)),B=()=>{p.value==="PM"?(p.value="AM",r("update:hours",s.hours-12)):(p.value="PM",r("update:hours",s.hours+12)),r("am-pm-change",p.value)},z=A=>{g[A]=!0},be=(A,Y,ue)=>{if(A&&s.arrowNavigation){Array.isArray(y.value[Y])?y.value[Y][ue]=A:y.value[Y]=[A];const $=y.value.reduce((K,de)=>de.map((ge,ae)=>[...K[ae]||[],de[ae]]),[]);a(s.closeTimePickerBtn),_.value&&($[1]=$[1].concat(_.value)),i($,s.order)}},Fe=(A,Y)=>(L(A),A==="hours"&&!s.is24?r(`update:${A}`,p.value==="PM"?Y+12:Y):r(`update:${A}`,Y));return e({openChildCmp:z}),(A,Y)=>{var ue;return A.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",I7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(P.value,($,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{key:K,class:o.normalizeClass(j.value)},[$.separator?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" : ")],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,0),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_top:A.timePickerInline,dp__inc_dec_button_disabled:v.value($.type)}),"aria-label":(de=o.unref(l))==null?void 0:de.incrementValue($.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b($.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b($.type),["prevent"]),["space"])],onClick:te=>b($.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Y7,H7],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-up"]?o.renderSlot(A.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Vc),{key:1}))],64))],42,z7),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,1),type:"button","aria-label":(ge=o.unref(l))==null?void 0:ge.openTpOverlay($.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!A.timePickerInline,dp__time_display_inline:A.timePickerInline,"dp--time-invalid":k.value($.type),"dp--time-overlay-btn":!k.value($.type)}),disabled:U($.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>L($.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>L($.type),["prevent"]),["space"])],onClick:te=>L($.type)},[A.$slots[$.type]?o.renderSlot(A.$slots,$.type,{key:0,text:G.value($.type).text,value:G.value($.type).value}):o.createCommentVNode("",!0),A.$slots[$.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(G.value($.type).text),1)],64))],42,W7),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_bottom:A.timePickerInline,dp__inc_dec_button_disabled:O.value($.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue($.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b($.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b($.type,!1),["prevent"]),["space"])],onClick:te=>b($.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Z7,U7],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-down"]?o.renderSlot(A.$slots,"arrow-down",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-down"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Bc),{key:1}))],64))],42,j7)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",q7,[A.$slots["am-pm-button"]?o.renderSlot(A.$slots,"am-pm-button",{key:0,toggle:B,value:p.value}):o.createCommentVNode("",!0),A.$slots["am-pm-button"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:_,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ue=o.unref(l))==null?void 0:ue.amPmButton,tabindex:"0",onClick:B,onKeydown:[o.withKeys(o.withModifiers(B,["prevent"]),["enter"]),o.withKeys(o.withModifiers(B,["prevent"]),["space"])]},o.toDisplayString(p.value),41,G7))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(R.value,($,K)=>(o.openBlock(),o.createBlock(o.Transition,{key:K,name:o.unref(f)(g[$.type]),css:o.unref(m)},{default:o.withCtx(()=>[g[$.type]?(o.openBlock(),o.createBlock(eo,{key:0,items:x($.type),"is-last":A.autoApply&&!o.unref(u).keepActionRow,"esc-close":A.escClose,type:$.type,"text-input":A.textInput,config:A.config,"arrow-navigation":A.arrowNavigation,"aria-labels":A.ariaLabels,onSelected:de=>Fe($.type,de),onToggle:de=>L($.type),onResetFlow:Y[0]||(Y[0]=de=>A.$emit("reset-flow"))},o.createSlots({"button-icon":o.withCtx(()=>[A.$slots["clock-icon"]?o.renderSlot(A.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),A.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(A.timePickerInline?o.unref(ni):o.unref(Nc)),{key:1}))]),_:2},[A.$slots[`${$.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:de})=>[o.renderSlot(A.$slots,`${$.type}-overlay-value`,{text:de.text,value:de.value})]),key:"0"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),X7={class:"dp--tp-wrap"},Q7=["aria-label","tabindex"],J7=["tabindex"],e8=["aria-label"],cf=o.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...En},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMatrix:i,setTimePicker:a}=Br(),l=o.useSlots(),{defaultedTransitions:c,defaultedAriaLabels:d,defaultedTextInput:u,defaultedConfig:h,defaultedRange:f}=Qe(s),{transitionName:m,showTransition:g}=Qi(c),{hideNavigationButtons:p}=ya(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([wt(_.value)],"time"):a(!0,s.timePicker)});const S=o.computed(()=>f.value.enabled&&s.modelAuto?Ih(s.internalModelValue):!0),M=o.ref(!1),D=x=>({hours:Array.isArray(s.hours)?s.hours[x]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[x]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[x]:s.seconds}),v=o.computed(()=>{const x=[];if(f.value.enabled)for(let N=0;N<2;N++)x.push(D(N));else x.push(D(0));return x}),O=(x,N=!1,Z="")=>{N||r("reset-flow"),M.value=x,r(x?"overlay-opened":"overlay-closed"),s.arrowNavigation&&a(x),o.nextTick(()=>{Z!==""&&C.value[0]&&C.value[0].openChildCmp(Z)})},E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!h.value.keepActionRow})),I=Ut(l,"timePicker"),j=(x,N,Z)=>f.value.enabled?N===0?[x,v.value[1][Z]]:[v.value[0][Z],x]:x,P=x=>{r("update:hours",x)},R=x=>{r("update:minutes",x)},G=x=>{r("update:seconds",x)},T=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=Hh(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:O}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",X7,[!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:_,type:"button",class:o.normalizeClass(E.value),"aria-label":(Z=o.unref(d))==null?void 0:Z.openTimePicker,tabindex:x.noOverlayFocus?void 0:0,onKeydown:[N[0]||(N[0]=o.withKeys(ee=>O(!0),["enter"])),N[1]||(N[1]=o.withKeys(ee=>O(!0),["space"]))],onClick:N[2]||(N[2]=ee=>O(!0))},[x.$slots["clock-icon"]?o.renderSlot(x.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Nc),{key:1}))],42,Q7)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(m)(M.value),css:o.unref(g)&&!x.timePickerInline},{default:o.withCtx(()=>{var ee;return[M.value||x.timePicker||x.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,class:o.normalizeClass({dp__overlay:!x.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!x.timePickerInline,"dp--overlay-relative":s.timePicker}),style:o.normalizeStyle(x.timePicker?{height:`${o.unref(h).modeHeight}px`}:void 0),tabindex:x.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(x.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[x.$slots["time-picker-overlay"]?o.renderSlot(x.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:P,setMinutes:R,setSeconds:G}):o.createCommentVNode("",!0),x.$slots["time-picker-overlay"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(x.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(v.value,(U,L)=>o.withDirectives((o.openBlock(),o.createBlock(K7,o.mergeProps({key:L},{...x.$props,order:L,hours:U.hours,minutes:U.minutes,seconds:U.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:L===0?x.fixedStart:x.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:C,"validate-time":(V,b)=>t.validateTime(V,j(b,L,V)),"onUpdate:hours":V=>P(j(V,L,"hours")),"onUpdate:minutes":V=>R(j(V,L,"minutes")),"onUpdate:seconds":V=>G(j(V,L,"seconds")),onMounted:T,onOverlayClosed:T,onAmPmChange:N[3]||(N[3]=V=>x.$emit("am-pm-change",V))}),o.createSlots({_:2},[o.renderList(o.unref(I),(V,b)=>({name:V,fn:o.withCtx(w=>[o.renderSlot(x.$slots,V,o.normalizeProps(o.guardReactiveProps(w)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[o.vShow,L===0?!0:S.value]])),128))],2)),!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:y,type:"button",class:o.normalizeClass(E.value),"aria-label":(ee=o.unref(d))==null?void 0:ee.closeTimePicker,tabindex:"0",onKeydown:[N[4]||(N[4]=o.withKeys(U=>O(!1),["enter"])),N[5]||(N[5]=o.withKeys(U=>O(!1),["space"]))],onClick:N[6]||(N[6]=U=>O(!1))},[x.$slots["calendar-icon"]?o.renderSlot(x.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))],42,e8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,J7)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),df=(t,e,n,r)=>{const{defaultedRange:s}=Qe(t),i=(k,S)=>Array.isArray(e[k])?e[k][S]:e[k],a=k=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[k]:e.seconds:0,l=(k,S)=>k?S!==void 0?Nr(k,i("hours",S),i("minutes",S),a(S)):Nr(k,e.hours,e.minutes,a()):Pc(q(),a(S)),c=(k,S)=>{e[k]=S},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(k,S)=>{const M=Object.fromEntries(Object.keys(e).map(D=>D===k?[D,S]:[D,e[D]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const D=O=>n.value?Nr(n.value[O],M.hours[O],M.minutes[O],M.seconds[O]):null,v=O=>Ec(n.value[O],0);return!(Me(D(0),D(1))&&(qi(D(0),v(1))||Gi(D(1),v(0))))}return!0},h=(k,S)=>{u(k,S)&&(c(k,S),r&&r())},f=k=>{h("hours",k)},m=k=>{h("minutes",k)},g=k=>{h("seconds",k)},p=(k,S,M,D)=>{S&&f(k),!S&&!M&&m(k),M&&g(k),n.value&&D(n.value)},_=k=>{if(k){const S=Array.isArray(k),M=S?[+k[0].hours,+k[1].hours]:+k.hours,D=S?[+k[0].minutes,+k[1].minutes]:+k.minutes,v=S?[+k[0].seconds,+k[1].seconds]:+k.seconds;c("hours",M),c("minutes",D),t.enableSeconds&&c("seconds",v)}},y=(k,S)=>{const M={hours:Array.isArray(e.hours)?e.hours[k]:e.hours,disabledArr:[]};return(S||S===0)&&(M.hours=S),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[k])?t.disabledTimes[k]:t.disabledTimes),M},C=o.computed(()=>(k,S)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:D,hours:v}=y(k,S),O=D.filter(E=>+E.hours===v);return((M=O[0])==null?void 0:M.minutes)==="*"?{hours:[v],minutes:void 0,seconds:void 0}:{hours:[],minutes:(O==null?void 0:O.map(E=>+E.minutes))??[],seconds:(O==null?void 0:O.map(E=>E.seconds?+E.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:f,updateMinutes:m,updateSeconds:g,getSetDateTime:l,updateTimeValues:p,getSecondsValue:a,assignStartTime:_,validateTime:u,disabledTimesConfig:C}},t8=(t,e)=>{const{modelValue:n,time:r}=Ji(t,e),{defaultedStartTime:s,defaultedRange:i}=Qe(t),{updateTimeValues:a,getSetDateTime:l,setTime:c,assignStartTime:d,disabledTimesConfig:u,validateTime:h}=df(t,r,n),f=k=>{const{hours:S,minutes:M,seconds:D}=k;return{hours:+S,minutes:+M,seconds:D?+D:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=f(t.startTime[0]),M=f(t.startTime[1]);return[He(q(),S),He(q(),M)]}const k=f(t.startTime);return He(q(),k)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[k,S]=m();n.value=[l(k,0),l(S,1)]}else n.value=l(m())},p=k=>Array.isArray(k)?[ms(q(k[0])),ms(q(k[1]))]:[ms(k??q())],_=(k,S,M)=>{c("hours",k),c("minutes",S),c("seconds",t.enableSeconds?M:0)},y=()=>{const[k,S]=p(n.value);return i.value.enabled?_([k.hours,S.hours],[k.minutes,S.minutes],[k.seconds,S.seconds]):_(k.hours,k.minutes,k.seconds)};o.onMounted(()=>{if(!t.shadow)return d(s.value),n.value?y():g()});const C=()=>{Array.isArray(n.value)?n.value=n.value.map((k,S)=>k&&l(k,S)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(k,S=!0,M=!1)=>{a(k,S,M,C)},validateTime:h}},n8=o.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...En},emits:["update:internal-model-value","time-update","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Ut(i,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:d,updateTime:u,validateTime:h}=t8(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(ba,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(cf,o.mergeProps(f.$props,{hours:o.unref(l).hours,minutes:o.unref(l).minutes,seconds:o.unref(l).seconds,"internal-model-value":f.internalModelValue,"disabled-times-config":o.unref(d),"validate-time":o.unref(h),"onUpdate:hours":m[0]||(m[0]=g=>o.unref(u)(g)),"onUpdate:minutes":m[1]||(m[1]=g=>o.unref(u)(g,!1)),"onUpdate:seconds":m[2]||(m[2]=g=>o.unref(u)(g,!1,!0)),onAmPmChange:m[3]||(m[3]=g=>f.$emit("am-pm-change",g))}),o.createSlots({_:2},[o.renderList(o.unref(a),(g,p)=>({name:g,fn:o.withCtx(_=>[o.renderSlot(f.$slots,g,o.normalizeProps(o.guardReactiveProps(_)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),r8={class:"dp__month_year_row"},s8=["aria-label","onClick","onKeydown"],i8=o.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...En},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTransitions:i,defaultedAriaLabels:a,defaultedMultiCalendars:l,defaultedFilters:c,defaultedConfig:d,defaultedHighlight:u,propDates:h}=Qe(s),{transitionName:f,showTransition:m}=Qi(i),{buildMatrix:g}=Br(),{handleMonthYearChange:p,isDisabled:_,updateMonthYear:y}=g7(s,r),{showLeftIcon:C,showRightIcon:k}=ya(),S=o.ref(!1),M=o.ref(!1),D=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const v=L=>({get:()=>s[L],set:V=>{const b=L===On.month?On.year:On.month;r("update-month-year",{[L]:V,[b]:s[b]}),L===On.month?T(!0):x(!0)}}),O=o.computed(v(On.month)),E=o.computed(v(On.year)),I=o.computed(()=>L=>({month:s.month,year:s.year,items:L===On.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:L===On.month?T:x})),j=o.computed(()=>s.months.find(V=>V.value===s.month)||{text:"",value:0}),P=o.computed(()=>ri(s.months,L=>{const V=s.month===L.value,b=Ki(L.value,Zh(s.year,h.value.minDate),Uh(s.year,h.value.maxDate))||c.value.months.includes(L.value),w=Jh(u.value,L.value,s.year);return{active:V,disabled:b,highlighted:w}})),R=o.computed(()=>ri(s.years,L=>{const V=s.year===L.value,b=Ki(L.value,si(h.value.minDate),si(h.value.maxDate))||c.value.years.includes(L.value),w=Zc(u.value,L.value);return{active:V,disabled:b,highlighted:w}})),G=(L,V)=>{V!==void 0?L.value=V:L.value=!L.value,L.value||r("overlay-closed")},T=(L=!1,V)=>{N(L),G(S,V)},x=(L=!1,V)=>{N(L),G(M,V)},N=L=>{L||r("reset-flow")},Z=(L,V)=>{s.arrowNavigation&&(D.value[V]=wt(L),g(D.value,"monthYear"))},ee=o.computed(()=>{var L,V;return[{type:On.month,index:1,toggle:T,modelValue:O.value,updateModelValue:b=>O.value=b,text:j.value.text,showSelectionGrid:S.value,items:P.value,ariaLabel:(L=a.value)==null?void 0:L.openMonthsOverlay},{type:On.year,index:2,toggle:x,modelValue:E.value,updateModelValue:b=>E.value=b,text:Wh(s.year,s.locale),showSelectionGrid:M.value,items:R.value,ariaLabel:(V=a.value)==null?void 0:V.openYearsOverlay}]}),U=o.computed(()=>s.disableYearSelect?[ee.value[0]]:s.yearFirst?[...ee.value].reverse():ee.value);return e({toggleMonthPicker:T,toggleYearPicker:x,handleMonthYearChange:p}),(L,V)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",r8,[L.$slots["month-year"]?o.renderSlot(L.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:o.unref(y),handleMonthYearChange:o.unref(p),instance:t.instance}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(C)(o.unref(l),t.instance)&&!L.vertical?(o.openBlock(),o.createBlock(to,{key:0,"aria-label":(b=o.unref(a))==null?void 0:b.prevMonth,disabled:o.unref(_)(!1),onActivate:V[0]||(V[0]=z=>o.unref(p)(!1,!0)),onSetRef:V[1]||(V[1]=z=>Z(z,0))},{default:o.withCtx(()=>[L.$slots["arrow-left"]?o.renderSlot(L.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),L.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Lc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:L.disableYearSelect}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(U.value,(z,be)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:z.type},[o.createElementVNode("button",{ref_for:!0,ref:Fe=>Z(Fe,be+1),type:"button",class:"dp__btn dp__month_year_select",tabindex:"0","aria-label":z.ariaLabel,onClick:z.toggle,onKeydown:[o.withKeys(o.withModifiers(z.toggle,["prevent"]),["enter"]),o.withKeys(o.withModifiers(z.toggle,["prevent"]),["space"])]},[L.$slots[z.type]?o.renderSlot(L.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):o.createCommentVNode("",!0),L.$slots[z.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(z.text),1)],64))],40,s8),o.createVNode(o.Transition,{name:o.unref(f)(z.showSelectionGrid),css:o.unref(m)},{default:o.withCtx(()=>[z.showSelectionGrid?(o.openBlock(),o.createBlock(eo,{key:0,items:z.items,"arrow-navigation":L.arrowNavigation,"hide-navigation":L.hideNavigation,"is-last":L.autoApply&&!o.unref(d).keepActionRow,"skip-button-ref":!1,config:L.config,type:z.type,"header-refs":[],"esc-close":L.escClose,"menu-wrap-ref":L.menuWrapRef,"text-input":L.textInput,"aria-labels":L.ariaLabels,onSelected:z.updateModelValue,onToggle:z.toggle},o.createSlots({"button-icon":o.withCtx(()=>[L.$slots["calendar-icon"]?o.renderSlot(L.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),L.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))]),_:2},[L.$slots[`${z.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Fe})=>[o.renderSlot(L.$slots,`${z.type}-overlay-value`,{text:Fe.text,value:Fe.value})]),key:"0"}:void 0,L.$slots[`${z.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(L.$slots,`${z.type}-overlay`,o.normalizeProps(o.guardReactiveProps(I.value(z.type))))]),key:"1"}:void 0,L.$slots[`${z.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(L.$slots,`${z.type}-overlay-header`,{toggle:z.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),o.unref(C)(o.unref(l),t.instance)&&L.vertical?(o.openBlock(),o.createBlock(to,{key:1,"aria-label":(w=o.unref(a))==null?void 0:w.prevMonth,disabled:o.unref(_)(!1),onActivate:V[2]||(V[2]=z=>o.unref(p)(!1,!0))},{default:o.withCtx(()=>[L.$slots["arrow-up"]?o.renderSlot(L.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),L.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Vc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(k)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:2,ref:"rightIcon",disabled:o.unref(_)(!0),"aria-label":(B=o.unref(a))==null?void 0:B.nextMonth,onActivate:V[3]||(V[3]=z=>o.unref(p)(!0,!0)),onSetRef:V[4]||(V[4]=z=>Z(z,L.disableYearSelect?2:3))},{default:o.withCtx(()=>[L.$slots[L.vertical?"arrow-down":"arrow-right"]?o.renderSlot(L.$slots,L.vertical?"arrow-down":"arrow-right",{key:0}):o.createCommentVNode("",!0),L.$slots[L.vertical?"arrow-down":"arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(L.vertical?o.unref(Bc):o.unref($c)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),o8=["aria-label"],a8={class:"dp__calendar_header",role:"row"},l8={key:0,class:"dp__calendar_header_item",role:"gridcell"},c8=["aria-label"],d8=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),u8=["aria-label"],h8={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},f8={class:"dp__cell_inner"},m8=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],p8=o.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...En},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMultiLevelMatrix:i}=Br(),{defaultedTransitions:a,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:d,defaultedWeekNumbers:u,defaultedMultiDates:h}=Qe(s),f=o.ref(null),m=o.ref({bottom:"",left:"",transform:""}),g=o.ref([]),p=o.ref(null),_=o.ref(!0),y=o.ref(""),C=o.ref({startX:0,endX:0,startY:0,endY:0}),k=o.ref([]),S=o.ref({left:"50%"}),M=o.ref(!1),D=o.computed(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),v=o.computed(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):B9(s.formatLocale,s.locale,+s.weekStart));o.onMounted(()=>{r("mount",{cmp:"calendar",refs:g}),l.value.noSwipe||p.value&&(p.value.addEventListener("touchstart",ee,{passive:!1}),p.value.addEventListener("touchend",U,{passive:!1}),p.value.addEventListener("touchmove",L,{passive:!1})),s.monthChangeOnScroll&&p.value&&p.value.addEventListener("wheel",w,{passive:!1})});const O=Y=>Y?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(Y,ue)=>{if(s.transitions){const $=Zt(ar(q(),s.month,s.year));y.value=ut(Zt(ar(q(),Y,ue)),$)?a.value[O(!0)]:a.value[O(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>Y=>{const ue=F9(Y);return{dp__marker_dot:ue.type==="dot",dp__marker_line:ue.type==="line"}}),P=o.computed(()=>Y=>Me(Y,f.value)),R=o.computed(()=>({dp__calendar:!0,dp__calendar_next:d.value.count>0&&s.instance!==0})),G=o.computed(()=>Y=>s.hideOffsetDates?Y.current:!0),T=Y=>In(Y,"yyyy-MM-dd"),x=async(Y,ue,$)=>{const K=wt(g.value[ue][$]);if(K){const{width:de,height:ge}=K.getBoundingClientRect();f.value=Y.value;let ae={left:`${de/2}px`},te=-50;if(await o.nextTick(),k.value[0]){const{left:Vt,width:St}=k.value[0].getBoundingClientRect();Vt<0&&(ae={left:"0"},te=0,S.value.left=`${de/2}px`),window.innerWidth<Vt+St&&(ae={right:"0"},te=0,S.value.left=`${St-de/2}px`)}m.value={bottom:`${ge}px`,...ae,transform:`translateX(${te}%)`},r("tooltip-open",Y.marker)}},N=async(Y,ue,$)=>{var K,de;if(M.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",Y);r("set-hover-date",Y),(de=(K=Y.marker)==null?void 0:K.tooltip)!=null&&de.length&&await x(Y,ue,$)},Z=Y=>{f.value&&(f.value=null,m.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",Y.marker))},ee=Y=>{C.value.startX=Y.changedTouches[0].screenX,C.value.startY=Y.changedTouches[0].screenY},U=Y=>{C.value.endX=Y.changedTouches[0].screenX,C.value.endY=Y.changedTouches[0].screenY,V()},L=Y=>{s.vertical&&!s.inline&&Y.preventDefault()},V=()=>{const Y=s.vertical?"Y":"X";Math.abs(C.value[`start${Y}`]-C.value[`end${Y}`])>10&&r("handle-swipe",C.value[`start${Y}`]>C.value[`end${Y}`]?"right":"left")},b=(Y,ue,$)=>{Y&&(Array.isArray(g.value[ue])?g.value[ue][$]=Y:g.value[ue]=[Y]),s.arrowNavigation&&i(g.value,"calendar")},w=Y=>{s.monthChangeOnScroll&&(Y.preventDefault(),r("handle-scroll",Y))},B=Y=>u.value.type==="local"?Mc(Y.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Cc(Y.value):typeof u.value.type=="function"?u.value.type(Y.value):"",z=Y=>{const ue=Y[0];return u.value.hideOnOffsetDates?Y.some($=>$.current)?B(ue):"":B(ue)},be=(Y,ue)=>{h.value.enabled||($r(Y,l.value),r("select-date",ue))},Fe=Y=>{$r(Y,l.value)},A=Y=>{h.value.enabled&&h.value.dragSelect?(M.value=!0,r("select-date",Y)):h.value.enabled&&r("select-date",Y)};return e({triggerTransition:E}),(Y,ue)=>{var $;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(R.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:p,role:"grid",class:o.normalizeClass(I.value),"aria-label":($=o.unref(c))==null?void 0:$.calendarWrap},[o.createElementVNode("div",a8,[Y.weekNumbers?(o.openBlock(),o.createElementBlock("div",l8,o.toDisplayString(Y.weekNumName),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(v.value,(K,de)=>{var ge,ae;return o.openBlock(),o.createElementBlock("div",{key:de,class:"dp__calendar_header_item",role:"gridcell","aria-label":(ae=(ge=o.unref(c))==null?void 0:ge.weekDay)==null?void 0:ae.call(ge,de)},[Y.$slots["calendar-header"]?o.renderSlot(Y.$slots,"calendar-header",{key:0,day:K,index:de}):o.createCommentVNode("",!0),Y.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(K),1)],64))],8,c8)}),128))]),d8,o.createVNode(o.Transition,{name:y.value,css:!!Y.transitions},{default:o.withCtx(()=>{var K;return[_.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((K=o.unref(c))==null?void 0:K.calendarDays)||void 0,onMouseleave:ue[1]||(ue[1]=de=>M.value=!1)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[Y.weekNumbers?(o.openBlock(),o.createElementBlock("div",h8,[o.createElementVNode("div",f8,o.toDisplayString(z(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var Vt,St,Er;return o.openBlock(),o.createElementBlock("div",{id:T(ae.value),ref_for:!0,ref:kt=>b(kt,ge,te),key:te+ge,role:"gridcell",class:"dp__calendar_item","aria-selected":(ae.classData.dp__active_date||ae.classData.dp__range_start||ae.classData.dp__range_start)??void 0,"aria-disabled":ae.classData.dp__cell_disabled||void 0,"aria-label":(St=(Vt=o.unref(c))==null?void 0:Vt.day)==null?void 0:St.call(Vt,ae),tabindex:"0",onClick:o.withModifiers(kt=>be(kt,ae),["prevent"]),onKeydown:[o.withKeys(kt=>Y.$emit("select-date",ae),["enter"]),o.withKeys(kt=>Y.$emit("handle-space",ae),["space"])],onMouseenter:kt=>N(ae,ge,te),onMouseleave:kt=>Z(ae),onMousedown:kt=>A(ae),onMouseup:ue[0]||(ue[0]=kt=>M.value=!1)},[o.createElementVNode("div",{class:o.normalizeClass(["dp__cell_inner",ae.classData])},[Y.$slots.day&&G.value(ae)?o.renderSlot(Y.$slots,"day",{key:0,day:+ae.text,date:ae.value}):o.createCommentVNode("",!0),Y.$slots.day?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(ae.text),1)],64)),ae.marker&&G.value(ae)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[Y.$slots.marker?o.renderSlot(Y.$slots,"marker",{key:0,marker:ae.marker,day:+ae.text,date:ae.value}):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(j.value(ae.marker)),style:o.normalizeStyle(ae.marker.color?{backgroundColor:ae.marker.color}:{})},null,6))],64)):o.createCommentVNode("",!0),P.value(ae.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:k,class:"dp__marker_tooltip",style:o.normalizeStyle(m.value)},[(Er=ae.marker)!=null&&Er.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Fe},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ae.marker.tooltip,(kt,Gs)=>(o.openBlock(),o.createElementBlock("div",{key:Gs,class:"dp__tooltip_text"},[Y.$slots["marker-tooltip"]?o.renderSlot(Y.$slots,"marker-tooltip",{key:0,tooltip:kt,day:ae.value}):o.createCommentVNode("",!0),Y.$slots["marker-tooltip"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:"dp__tooltip_mark",style:o.normalizeStyle(kt.color?{backgroundColor:kt.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(kt.text),1)],64))]))),128)),o.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:o.normalizeStyle(S.value)},null,4)])):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)],2)],40,m8)}),128))]))),128))],40,u8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,o8)],2)}}}),uf=t=>Array.isArray(t),g8=(t,e,n,r)=>{const s=o.ref([]),i=o.ref(new Date),{modelValue:a,calendars:l,time:c}=Ji(t,e),{defaultedMultiCalendars:d,defaultedStartTime:u,defaultedRange:h,defaultedTz:f,propDates:m,defaultedMultiDates:g}=Qe(t),{validateMonthYearInRange:p,isDisabled:_,isDateRangeAllowed:y,checkMinMaxRange:C}=Fr(t),{updateTimeValues:k,getSetDateTime:S,setTime:M,assignStartTime:D,validateTime:v,disabledTimesConfig:O}=df(t,c,a,r),E=o.computed(()=>F=>l.value[F]?l.value[F].month:0),I=o.computed(()=>F=>l.value[F]?l.value[F].year:0),j=(F,J,ce)=>{var we,X;l.value[F]||(l.value[F]={month:0,year:0}),l.value[F].month=Yh(J)?(we=l.value[F])==null?void 0:we.month:J,l.value[F].year=Yh(ce)?(X=l.value[F])==null?void 0:X.year:ce},P=()=>{t.autoApply&&e("select-date")};o.watch(a,(F,J)=>{JSON.stringify(F)!==JSON.stringify(J)&&T()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(z(),u.value&&D(u.value)),T(!0),t.focusStartDate&&t.startDate&&z())});const R=o.computed(()=>{var F;return(F=t.flow)!=null&&F.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),G=()=>{t.autoApply&&R.value&&e("auto-apply")},T=(F=!1)=>{if(a.value)return Array.isArray(a.value)?(s.value=a.value,V(F)):Z(a.value,F);if(d.value.count&&F&&!t.startDate)return N(q(),F)},x=()=>Array.isArray(a.value)&&h.value.enabled?Ce(a.value[0])===Ce(a.value[1]??a.value[0]):!1,N=(F,J=!1)=>{if((!d.value.count||!d.value.static||J)&&j(0,Ce(F),ye(F)),d.value.count&&(!d.value.solo||!a.value||x()))for(let ce=1;ce<d.value.count;ce++){const we=He(q(),{month:E.value(ce-1),year:I.value(ce-1)}),X=ch(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(F,J)=>{N(F),M("hours",Tn(F)),M("minutes",zn(F)),M("seconds",Js(F)),d.value.count&&J&&B()},ee=F=>{if(d.value.count){if(d.value.solo)return 0;const J=Ce(F[0]),ce=Ce(F[1]);return Math.abs(ce-J)<d.value.count?0:1}return 1},U=(F,J)=>{F[1]&&h.value.showLastInRange?N(F[ee(F)],J):N(F[0],J);const ce=(we,X)=>[we(F[0]),F[1]?we(F[1]):c[X][1]];M("hours",ce(Tn,"hours")),M("minutes",ce(zn,"minutes")),M("seconds",ce(Js,"seconds"))},L=(F,J)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(F,J);if(g.value.enabled&&J){const ce=F[F.length-1];return Z(ce,J)}},V=F=>{const J=a.value;L(J,F),d.value.count&&d.value.solo&&B()},b=(F,J)=>{const ce=He(q(),{month:E.value(J),year:I.value(J)}),we=F<0?Sn(ce,1):ti(ce,1);p(Ce(we),ye(we),F<0,t.preventMinMaxNavigation)&&(j(J,Ce(we),ye(we)),e("update-month-year",{instance:J,month:Ce(we),year:ye(we)}),d.value.count&&!d.value.solo&&w(J),n())},w=F=>{for(let J=F-1;J>=0;J--){const ce=ti(He(q(),{month:E.value(J+1),year:I.value(J+1)}),1);j(J,Ce(ce),ye(ce))}for(let J=F+1;J<=d.value.count-1;J++){const ce=Sn(He(q(),{month:E.value(J-1),year:I.value(J-1)}),1);j(J,Ce(ce),ye(ce))}},B=()=>{if(Array.isArray(a.value)&&a.value.length===2){const F=q(q(a.value[1]?a.value[1]:Sn(a.value[0],1))),[J,ce]=[Ce(a.value[0]),ye(a.value[0])],[we,X]=[Ce(a.value[1]),ye(a.value[1])];(J!==we||J===we&&ce!==X)&&d.value.solo&&j(1,Ce(F),ye(F))}else a.value&&!Array.isArray(a.value)&&(j(0,Ce(a.value),ye(a.value)),N(q()))},z=()=>{t.startDate&&(j(0,Ce(q(t.startDate)),ye(q(t.startDate))),d.value.count&&w(0))},be=(F,J)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-i.value.getTime(),we=Math.abs(F.deltaY);let X=500;we>1&&(X=100),we>100&&(X=0),ce>X&&(i.value=new Date,b(t.monthChangeOnScroll!=="inverse"?-F.deltaY:F.deltaY,J))}},Fe=(F,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(F,J)},A=(F,J)=>{b(F==="right"?-1:1,J)},Y=F=>{if(m.value.markers)return ma(F.value,m.value.markers)},ue=(F,J)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[F==0,!0];case"fair":return[F==0||J>F,!0];case"append":return[!1,!1];default:return[!1,!1]}},$=(F,J,ce,we)=>{if(t.sixWeeks&&F.length<6){const X=6-F.length,he=(J.getDay()+7-we)%7,fe=6-(ce.getDay()+7-we)%7,[Pr,ir]=ue(he,fe);for(let Ks=1;Ks<=X;Ks++)if(ir?!!(Ks%2)==Pr:Pr){const cs=F[0].days[0],ih=K(vn(cs.value,-7),Ce(J));F.unshift({days:ih})}else{const cs=F[F.length-1],ih=cs.days[cs.days.length-1],lI=K(vn(ih.value,1),Ce(J));F.push({days:lI})}}return F},K=(F,J)=>{const ce=q(F),we=[];for(let X=0;X<7;X++){const he=vn(ce,X),fe=Ce(he)!==J;we.push({text:t.hideOffsetDates&&fe?"":he.getDate(),value:he,current:!fe,classData:{}})}return we},de=(F,J)=>{const ce=[],we=new Date(J,F),X=new Date(J,F+1,0),he=t.weekStart,fe=Rn(we,{weekStartsOn:he}),Pr=ir=>{const Ks=K(ir,F);if(ce.push({days:Ks}),!ce[ce.length-1].days.some(cs=>Me(Zt(cs.value),Zt(X)))){const cs=vn(ir,7);Pr(cs)}};return Pr(fe),$(ce,we,X,he)},ge=F=>{const J=Nr(q(F.value),c.hours,c.minutes,Gs());e("date-update",J),g.value.enabled?Jc(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=F=>h.value.noDisabledRange?qh(s.value[0],F).some(J=>_(J)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},Vt=(F,J)=>{const ce=[q(F.value),vn(q(F.value),+h.value.autoRange)];y(ce)?(J&&St(F.value),s.value=ce):e("invalid-date",F.value)},St=F=>{const J=Ce(q(F)),ce=ye(q(F));if(j(0,J,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=Z9(He(q(F),{year:E.value(we-1),month:I.value(we-1)}));j(we,X.month,X.year)}},Er=F=>{if(ae(F.value)||!C(F.value,a.value,h.value.fixedStart?0:1))return e("invalid-date",F.value);s.value=af(q(F.value),a,e,h)},kt=(F,J)=>{if(te(),h.value.autoRange)return Vt(F,J);if(h.value.fixedStart||h.value.fixedEnd)return Er(F);s.value[0]?C(q(F.value),a.value)&&!ae(F.value)?rt(q(F.value),q(s.value[0]))?(s.value.unshift(q(F.value)),e("range-end",s.value[0])):(s.value[1]=q(F.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",F.value),e("invalid-date",F.value)):(s.value[0]=q(F.value),e("range-start",s.value[0]))},Gs=(F=!0)=>t.enableSeconds?Array.isArray(c.seconds)?F?c.seconds[0]:c.seconds[1]:c.seconds:0,da=F=>{s.value[F]=Nr(s.value[F],c.hours[F],c.minutes[F],Gs(F!==1))},ua=()=>{var F,J;s.value[0]&&s.value[1]&&+((F=s.value)==null?void 0:F[0])>+((J=s.value)==null?void 0:J[1])&&(s.value.reverse(),e("range-start",s.value[0]),e("range-end",s.value[1]))},Mn=()=>{s.value.length&&(s.value[0]&&!s.value[1]?da(0):(da(0),da(1),r()),ua(),a.value=s.value.slice(),ka(s.value,e,t.autoApply,t.modelAuto))},eh=(F,J=!1)=>{if(_(F.value)||!F.current&&t.hideOffsetDates)return e("invalid-date",F.value);if(!h.value.enabled)return ge(F);uf(c.hours)&&uf(c.minutes)&&!g.value.enabled&&(kt(F,J),Mn())},th=(F,J)=>{var ce;j(F,J.month,J.year),d.value.count&&!d.value.solo&&w(F),e("update-month-year",{instance:F,month:J.month,year:J.year}),n(d.value.solo?F:void 0);const we=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!J.fromNav&&(we===jn.month||we===jn.year)&&r()},gc=(F,J)=>{of({value:F,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),P(),t.multiCalendars&&o.nextTick().then(()=>T(!0))},nh=()=>{h.value.enabled?a.value&&Array.isArray(a.value)&&a.value[0]?a.value=rt(q(),a.value[0])?[q(),a.value[0]]:[a.value[0],q()]:a.value=[q()]:a.value=q(),P()},rh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const F=sh();a.value[a.value.length-1]=S(F)}else a.value=a.value.map((F,J)=>F&&S(F,J));else a.value=S(a.value);e("time-update")},sh=()=>Array.isArray(a.value)&&a.value.length?a.value[a.value.length-1]:null;return{calendars:l,modelValue:a,month:E,year:I,time:c,disabledTimesConfig:O,validateTime:v,getCalendarDays:de,getMarker:Y,handleScroll:be,handleSwipe:A,handleArrow:Fe,selectDate:eh,updateMonthYear:th,presetDate:gc,selectCurrentDate:nh,updateTime:(F,J=!0,ce=!1)=>{k(F,J,ce,rh)}}},_8={key:0},y8=o.defineComponent({__name:"DatePicker",props:{...En},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,{calendars:i,month:a,year:l,modelValue:c,time:d,disabledTimesConfig:u,validateTime:h,getCalendarDays:f,getMarker:m,handleArrow:g,handleScroll:p,handleSwipe:_,selectDate:y,updateMonthYear:C,presetDate:k,selectCurrentDate:S,updateTime:M}=g8(s,r,ee,U),D=o.useSlots(),{setHoverDate:v,getDayClassData:O,clearHoverDate:E}=b7(c,s),{defaultedMultiCalendars:I}=Qe(s),j=o.ref([]),P=o.ref([]),R=o.ref(null),G=Ut(D,"calendar"),T=Ut(D,"monthYear"),x=Ut(D,"timePicker"),N=V=>{s.shadow||r("mount",V)};o.watch(i,()=>{s.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const Z=o.computed(()=>V=>f(a.value(V),l.value(V)).map(b=>({...b,days:b.days.map(w=>(w.marker=m(w),w.classData=O(w),w))})));function ee(V){var b;V||V===0?(b=P.value[V])==null||b.triggerTransition(a.value(V),l.value(V)):P.value.forEach((w,B)=>w.triggerTransition(a.value(B),l.value(B)))}function U(){r("update-flow-step")}const L=(V,b=!1)=>{y(V,b),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:k,selectCurrentDate:S,toggleMonthPicker:(V,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(V,b)},toggleYearPicker:(V,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(V,b)},toggleTimePicker:(V,b,w)=>{var B;(B=R.value)==null||B.toggleTimePicker(V,b,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:k})}),(V,b)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(ba,{"multi-calendars":o.unref(I).count,collapse:V.collapse},{default:o.withCtx(({instance:w,index:B})=>[V.disableMonthYearSelect?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(i8,o.mergeProps({key:0,ref:z=>{z&&(j.value[B]=z)},months:o.unref(Rh)(V.formatLocale,V.locale,V.monthNameFormat),years:o.unref(Ac)(V.yearRange,V.locale,V.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},V.$props,{onMount:b[0]||(b[0]=z=>N(o.unref(gs).header)),onResetFlow:b[1]||(b[1]=z=>V.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(C)(w,z),onOverlayClosed:b[2]||(b[2]=z=>V.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(T),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(V.$slots,z,o.normalizeProps(o.guardReactiveProps(Fe)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(p8,o.mergeProps({ref:z=>{z&&(P.value[B]=z)},"mapped-dates":Z.value(w),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},V.$props,{onSelectDate:z=>o.unref(y)(z,w!==1),onHandleSpace:z=>L(z,w!==1),onSetHoverDate:b[3]||(b[3]=z=>o.unref(v)(z)),onHandleScroll:z=>o.unref(p)(z,w),onHandleSwipe:z=>o.unref(_)(z,w),onMount:b[4]||(b[4]=z=>N(o.unref(gs).calendar)),onResetFlow:b[5]||(b[5]=z=>V.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=z=>V.$emit("tooltip-open",z)),onTooltipClose:b[7]||(b[7]=z=>V.$emit("tooltip-close",z))}),o.createSlots({_:2},[o.renderList(o.unref(G),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(V.$slots,z,o.normalizeProps(o.guardReactiveProps({...Fe})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),V.enableTimePicker?(o.openBlock(),o.createElementBlock("div",_8,[V.$slots["time-picker"]?o.renderSlot(V.$slots,"time-picker",o.normalizeProps(o.mergeProps({key:0},{time:o.unref(d),updateTime:o.unref(M)}))):(o.openBlock(),o.createBlock(cf,o.mergeProps({key:1,ref_key:"timePickerRef",ref:R},V.$props,{hours:o.unref(d).hours,minutes:o.unref(d).minutes,seconds:o.unref(d).seconds,"internal-model-value":V.internalModelValue,"disabled-times-config":o.unref(u),"validate-time":o.unref(h),onMount:b[8]||(b[8]=w=>N(o.unref(gs).timePicker)),"onUpdate:hours":b[9]||(b[9]=w=>o.unref(M)(w)),"onUpdate:minutes":b[10]||(b[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":b[11]||(b[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:b[12]||(b[12]=w=>V.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=w=>V.$emit("time-picker-close")),onOverlayOpened:b[14]||(b[14]=w=>V.$emit("time-picker-open",w)),onAmPmChange:b[15]||(b[15]=w=>V.$emit("am-pm-change",w))}),o.createSlots({_:2},[o.renderList(o.unref(x),(w,B)=>({name:w,fn:o.withCtx(z=>[o.renderSlot(V.$slots,w,o.normalizeProps(o.guardReactiveProps(z)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),w8=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:s,defaultedHighlight:i,defaultedRange:a,propDates:l,defaultedFilters:c,defaultedMultiDates:d}=Qe(t),{modelValue:u,year:h,month:f,calendars:m}=Ji(t,e),{isDisabled:g}=Fr(t),{selectYear:p,groupedYears:_,showYearPicker:y,isDisabled:C,toggleYearPicker:k,handleYearSelect:S,handleYear:M}=lf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),D=(T,x)=>[T,x].map(N=>In(N,"MMMM",{locale:t.formatLocale})).join("-"),v=o.computed(()=>T=>u.value?Array.isArray(u.value)?u.value.some(x=>Lh(T,x)):Lh(u.value,T):!1),O=T=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Me(T,u.value[0])||Me(T,u.value[1]);return pa(u.value,n.value,T)&&!x}return!1}return!1},E=(T,x)=>T.quarter===gh(x)&&T.year===ye(x),I=T=>typeof i.value=="function"?i.value({quarter:gh(T),year:ye(T)}):!!i.value.quarters.find(x=>E(x,T)),j=o.computed(()=>T=>{const x=He(new Date,{year:h.value(T)});return H5({start:yh(x),end:W5(x)}).map(N=>{const Z=hs(N),ee=wh(N),U=g(N),L=O(Z),V=I(Z);return{text:D(Z,ee),value:Z,active:v.value(Z),highlighted:V,disabled:U,isBetween:L}})}),P=T=>{Jc(T,u,d.value.limit),e("auto-apply",!0)},R=T=>{u.value=ed(u,T,e),ka(u.value,e,t.autoApply,t.modelAuto)},G=T=>{u.value=T,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:T=>{n.value=T},selectYear:p,selectQuarter:(T,x,N)=>{if(!N)return m.value[x].month=Ce(wh(T)),d.value.enabled?P(T):a.value.enabled?R(T):G(T)},toggleYearPicker:k,handleYearSelect:S,handleYear:M}},b8={class:"dp--quarter-items"},k8=["disabled","onClick","onMouseover"],C8=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...En},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Ut(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:d,year:u,isDisabled:h,quarters:f,modelValue:m,showYearPicker:g,setHoverDate:p,selectQuarter:_,toggleYearPicker:y,handleYearSelect:C,handleYear:k}=w8(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(S,M)=>(o.openBlock(),o.createBlock(ba,{"multi-calendars":o.unref(l).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:D})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(sf,o.mergeProps(S.$props,{items:o.unref(d)(D),instance:D,"show-year-picker":o.unref(g)[D],year:o.unref(u)(D),"is-disabled":v=>o.unref(h)(D,v),onHandleYear:v=>o.unref(k)(D,v),onYearSelect:v=>o.unref(C)(v,D),onToggleYearPicker:v=>o.unref(y)(D,v==null?void 0:v.flow,v==null?void 0:v.show)}),o.createSlots({_:2},[o.renderList(o.unref(a),(v,O)=>({name:v,fn:o.withCtx(E=>[o.renderSlot(S.$slots,v,o.normalizeProps(o.guardReactiveProps(E)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",b8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(D),(v,O)=>(o.openBlock(),o.createElementBlock("div",{key:O},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":v.active,"dp--qr-btn-between":v.isBetween,"dp--qr-btn-disabled":v.disabled,"dp--highlighted":v.highlighted}]),disabled:v.disabled,onClick:E=>o.unref(_)(v.value,D,v.disabled),onMouseover:E=>o.unref(p)(v.value)},[S.$slots.quarter?o.renderSlot(S.$slots,"quarter",{key:0,value:v.value,text:v.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(v.text),1)],64))],42,k8)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),x8=["id","aria-label"],M8={key:0,class:"dp--menu-load-container"},v8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),S8=[v8],T8={key:0,class:"dp__sidebar_left"},D8=["onClick","onKeydown"],O8={key:2,class:"dp__sidebar_right"},E8={key:3,class:"dp__action_extra"},hf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...wa,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.ref(null),a=o.computed(()=>{const{openOnTop:$,...K}=s;return{...K,flowStep:O.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=ef(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=Qe(s),g=o.ref(null),p=o.ref(0),_=o.ref(null),y=o.ref(!1),C=o.ref(null);o.onMounted(()=>{if(!s.shadow){y.value=!0,k(),window.addEventListener("resize",k);const $=wt(i);if($&&!h.value.enabled&&!f.value.enabled&&(l(!0),R()),$){const K=de=>{m.value.allowPreventDefault&&de.preventDefault(),$r(de,m.value,!0)};$.addEventListener("pointerdown",K),$.addEventListener("mousedown",K)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",k)});const k=()=>{const $=wt(_);$&&(p.value=$.getBoundingClientRect().width)},{arrowRight:S,arrowLeft:M,arrowDown:D,arrowUp:v}=Br(),{flowStep:O,updateFlowStep:E,childMount:I,resetFlow:j}=k7(s,r,C),P=o.computed(()=>s.monthPicker?A7:s.yearPicker?R7:s.timePicker?n8:s.quarterPicker?C8:y8),R=()=>{const $=wt(i);$&&$.focus({preventScroll:!0})},G=o.computed(()=>{var $;return(($=C.value)==null?void 0:$.getSidebarProps())||{}}),T=()=>{s.openOnTop&&r("recalculate-position")},x=Ut(u,"action"),N=o.computed(()=>s.monthPicker||s.yearPicker?Ut(u,"monthYear"):s.timePicker?Ut(u,"timePicker"):Ut(u,"shared")),Z=o.computed(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ee=o.computed(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),U=o.computed(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,[s.menuClassName]:!!s.menuClassName})),L=$=>{$r($,m.value,!0)},V=()=>{s.escClose&&r("close-picker")},b=$=>{if(s.arrowNavigation){if($==="up")return v();if($==="down")return D();if($==="left")return M();if($==="right")return S()}else $==="left"||$==="up"?Fe("handleArrow","left",0,$==="up"):Fe("handleArrow","right",0,$==="down")},w=$=>{c($.shiftKey),!s.disableMonthYearSelect&&$.code==="Tab"&&$.target.classList.contains("dp__menu")&&d.value.shiftKeyInMenu&&($.preventDefault(),$r($,m.value,!0),r("close-picker"))},B=()=>{R(),r("time-picker-close")},z=$=>{var K,de,ge;(K=C.value)==null||K.toggleTimePicker(!1,!1),(de=C.value)==null||de.toggleMonthPicker(!1,!1,$),(ge=C.value)==null||ge.toggleYearPicker(!1,!1,$)},be=($,K=0)=>{var de,ge,ae;return $==="month"?(de=C.value)==null?void 0:de.toggleMonthPicker(!1,!0,K):$==="year"?(ge=C.value)==null?void 0:ge.toggleYearPicker(!1,!0,K):$==="time"?(ae=C.value)==null?void 0:ae.toggleTimePicker(!0,!1):z(K)},Fe=($,...K)=>{var de,ge;(de=C.value)!=null&&de[$]&&((ge=C.value)==null||ge[$](...K))},A=()=>{Fe("selectCurrentDate")},Y=($,K)=>{Fe("presetDate",$,K)},ue=()=>{Fe("clearHoverDate")};return e({updateMonthYear:($,K)=>{Fe("updateMonthYear",$,K)},switchView:be}),($,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{id:$.uid?`dp-menu-${$.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:"0",role:"dialog","aria-label":(de=$.ariaLabels)==null?void 0:de.menu,class:o.normalizeClass(U.value),onMouseleave:ue,onClick:L,onKeydown:[o.withKeys(V,["esc"]),K[18]||(K[18]=o.withKeys(o.withModifiers(te=>b("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>b("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>b("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>b("right"),["prevent"]),["right"])),w]},[($.disabled||$.readonly)&&o.unref(f).enabled||$.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(ee.value)},[$.loading?(o.openBlock(),o.createElementBlock("div",M8,S8)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(f).enabled&&!$.teleportCenter?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(Z.value)},null,2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"innerMenuRef",ref:_,class:o.normalizeClass({dp__menu_content_wrapper:((ge=$.presetDates)==null?void 0:ge.length)||!!$.$slots["left-sidebar"]||!!$.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((ae=$.presetDates)==null?void 0:ae.length)||!!$.$slots["left-sidebar"]||!!$.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${p.value}px`})},[$.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",T8,[o.renderSlot($.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),$.presetDates.length?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList($.presetDates,(te,Vt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:Vt},[te.slot?o.renderSlot($.$slots,te.slot,{key:0,presetDate:Y,label:te.label,value:te.value}):(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",style:o.normalizeStyle(te.style||{}),class:o.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),onClick:o.withModifiers(St=>Y(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(St=>Y(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(St=>Y(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,D8))],64))),128))],2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:g,class:"dp__instance_calendar",role:"document"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(P.value),o.mergeProps({ref_key:"dynCmpRef",ref:C},a.value,{"flow-step":o.unref(O),onMount:o.unref(I),onUpdateFlowStep:o.unref(E),onResetFlow:o.unref(j),onFocusMenu:R,onSelectDate:K[0]||(K[0]=te=>$.$emit("select-date")),onDateUpdate:K[1]||(K[1]=te=>$.$emit("date-update",te)),onTooltipOpen:K[2]||(K[2]=te=>$.$emit("tooltip-open",te)),onTooltipClose:K[3]||(K[3]=te=>$.$emit("tooltip-close",te)),onAutoApply:K[4]||(K[4]=te=>$.$emit("auto-apply",te)),onRangeStart:K[5]||(K[5]=te=>$.$emit("range-start",te)),onRangeEnd:K[6]||(K[6]=te=>$.$emit("range-end",te)),onInvalidFixedRange:K[7]||(K[7]=te=>$.$emit("invalid-fixed-range",te)),onTimeUpdate:K[8]||(K[8]=te=>$.$emit("time-update")),onAmPmChange:K[9]||(K[9]=te=>$.$emit("am-pm-change",te)),onTimePickerOpen:K[10]||(K[10]=te=>$.$emit("time-picker-open",te)),onTimePickerClose:B,onRecalculatePosition:T,onUpdateMonthYear:K[11]||(K[11]=te=>$.$emit("update-month-year",te)),onAutoApplyInvalid:K[12]||(K[12]=te=>$.$emit("auto-apply-invalid",te)),onInvalidDate:K[13]||(K[13]=te=>$.$emit("invalid-date",te)),"onUpdate:internalModelValue":K[14]||(K[14]=te=>$.$emit("update:internal-model-value",te))}),o.createSlots({_:2},[o.renderList(N.value,(te,Vt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot($.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),$.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",O8,[o.renderSlot($.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),$.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",E8,[$.$slots["action-extra"]?o.renderSlot($.$slots,"action-extra",{key:0,selectCurrentDate:A}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!$.autoApply||o.unref(m).keepActionRow?(o.openBlock(),o.createBlock(D7,o.mergeProps({key:2,"menu-mount":y.value},a.value,{"calendar-width":p.value,onClosePicker:K[15]||(K[15]=te=>$.$emit("close-picker")),onSelectDate:K[16]||(K[16]=te=>$.$emit("select-date")),onInvalidSelect:K[17]||(K[17]=te=>$.$emit("invalid-select")),onSelectNow:A}),o.createSlots({_:2},[o.renderList(o.unref(x),(te,Vt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot($.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,x8)}}}),P8=typeof window<"u"?window:void 0,td=()=>{},L8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,$8=(t,e,n,r)=>{if(!t)return td;let s=td;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=td})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return L8(a),a},N8=(t,e,n,r={})=>{const{window:s=P8,event:i="pointerdown"}=r;return s?$8(s,i,a=>{const l=wt(t),c=wt(e);!l||!c||l===a.target||a.composedPath().includes(l)||a.composedPath().includes(c)||n(a)},{passive:!0}):void 0},V8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...wa},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=o.ref(!1),l=o.toRef(s,"modelValue"),c=o.toRef(s,"timezone"),d=o.ref(null),u=o.ref(null),h=o.ref(null),f=o.ref(!1),m=o.ref(null),g=o.ref(!1),p=o.ref(!1),_=o.ref(!1),{setMenuFocused:y,setShiftKey:C}=ef(),{clearArrowNav:k}=Br(),{validateDate:S,isValidTime:M}=Fr(s),{defaultedTransitions:D,defaultedTextInput:v,defaultedInline:O,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Qe(s),{menuTransition:P,showTransition:R}=Qi(D);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),O.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.removeEventListener("scroll",K),window==null||window.removeEventListener("resize",de)}window==null||window.removeEventListener("keyup",ge),window==null||window.removeEventListener("keydown",ae)});const G=Ut(i,"all",s.presetDates),T=Ut(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:N,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:L}=_7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:O,emit:r,props:s,slots:i}),{inputValue:V,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:z,checkBeforeEmit:be}=p7(r,s,f),Fe=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:O.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:O.value.input})),A=o.computed(()=>s.dark?"dp__theme_dark":"dp__theme_light"),Y=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||O.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),$=o.computed(()=>O.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),K=()=>{a.value&&(E.value.closeOnScroll?Mn():ee())},de=()=>{var X;a.value&&ee();const he=(X=u.value)==null?void 0:X.$el.getBoundingClientRect().width;_.value=document.body.offsetWidth<=he},ge=X=>{X.key==="Tab"&&!O.value.enabled&&!s.teleport&&E.value.tabOutClosesMenu&&(m.value.contains(document.activeElement)||Mn()),p.value=X.shiftKey},ae=X=>{p.value=X.shiftKey},te=()=>{!s.disabled&&!s.readonly&&(L(hf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||ua(),w(s.modelValue))},Vt=()=>{var X;V.value="",ua(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Mn()},St=()=>{const X=b.value;return!X||!Array.isArray(X)&&S(X)?!0:Array.isArray(X)?j.value.enabled||X.length===2&&S(X[0])&&S(X[1])?!0:I.value.partialRange&&!s.timePicker?S(X[0]):!1:!1},Er=()=>{be()&&St()?(B(),Mn()):r("invalid-select",b.value)},kt=X=>{Gs(),B(),E.value.closeOnAutoApply&&!X&&Mn()},Gs=()=>{h.value&&v.value.enabled&&h.value.setParsedDate(b.value)},da=(X=!1)=>{s.autoApply&&M(b.value)&&St()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&kt(X):kt(X))},ua=()=>{v.value.enabled||(b.value=null)},Mn=()=>{O.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),V.value&&w(l.value)),ua(),r("blur"))},eh=(X,he,fe=!1)=>{if(!X){b.value=null;return}const Pr=Array.isArray(X)?!X.some(Ks=>!S(Ks)):S(X),ir=M(X);Pr&&ir&&(b.value=X,he&&(g.value=fe,Er(),r("text-submit")))},th=()=>{s.autoApply&&M(b.value)&&B(),Gs()},gc=()=>a.value?Mn():te(),nh=X=>{b.value=X},rh=()=>{v.value.enabled&&(f.value=!0,z()),r("focus")},sh=()=>{if(v.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=z9(m.value,p.value);X==null||X.focus()}r("blur")},F=X=>{u.value&&u.value.updateMonthYear(0,{month:zh(X.month),year:zh(X.year)})},J=X=>{w(X??s.modelValue)},ce=(X,he)=>{var fe;(fe=u.value)==null||fe.switchView(X,he)},we=X=>E.value.onClickOutside?E.value.onClickOutside(X):Mn();return N8(d,h,()=>we(St)),e({closeMenu:Mn,selectDate:Er,clearValue:Vt,openMenu:te,onScroll:K,formatInputValue:z,updateInternalModelValue:nh,setMonthYear:F,parseModel:J,switchView:ce,toggleMenu:gc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Fe.value),"data-datepicker-instance":""},[o.createVNode(v7,o.mergeProps({ref_key:"inputRef",ref:h,"input-value":o.unref(V),"onUpdate:inputValue":he[0]||(he[0]=fe=>o.isRef(V)?V.value=fe:null),"is-menu-open":a.value},X.$props,{onClear:Vt,onOpen:te,onSetInputDate:eh,onSetEmptyDate:o.unref(B),onSelectDate:Er,onToggle:gc,onClose:Mn,onFocus:rh,onBlur:sh,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(T),(fe,Pr)=>({name:fe,fn:o.withCtx(ir=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps(ir)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(X.teleport?o.Teleport:"div"),o.normalizeProps(o.guardReactiveProps(Y.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref(P)(o.unref(x)),css:o.unref(R)&&!o.unref(O).enabled},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:d},ue.value,{class:{"dp--menu-wrapper":!o.unref(O).enabled},style:o.unref(O).enabled?void 0:o.unref(N)}),[o.createVNode(hf,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(b),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(b)?b.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":$.value,collapse:_.value,onClosePicker:Mn,onSelectDate:Er,onAutoApply:da,onTimeUpdate:th,onFlowStep:he[3]||(he[3]=fe=>X.$emit("flow-step",fe)),onUpdateMonthYear:he[4]||(he[4]=fe=>X.$emit("update-month-year",fe)),onInvalidSelect:he[5]||(he[5]=fe=>X.$emit("invalid-select",o.unref(b))),onAutoApplyInvalid:he[6]||(he[6]=fe=>X.$emit("invalid-select",fe)),onInvalidFixedRange:he[7]||(he[7]=fe=>X.$emit("invalid-fixed-range",fe)),onRecalculatePosition:o.unref(ee),onTooltipOpen:he[8]||(he[8]=fe=>X.$emit("tooltip-open",fe)),onTooltipClose:he[9]||(he[9]=fe=>X.$emit("tooltip-close",fe)),onTimePickerOpen:he[10]||(he[10]=fe=>X.$emit("time-picker-open",fe)),onTimePickerClose:he[11]||(he[11]=fe=>X.$emit("time-picker-close",fe)),onAmPmChange:he[12]||(he[12]=fe=>X.$emit("am-pm-change",fe)),onRangeStart:he[13]||(he[13]=fe=>X.$emit("range-start",fe)),onRangeEnd:he[14]||(he[14]=fe=>X.$emit("range-end",fe)),onDateUpdate:he[15]||(he[15]=fe=>X.$emit("date-update",fe)),onInvalidDate:he[16]||(he[16]=fe=>X.$emit("invalid-date",fe))}),o.createSlots({_:2},[o.renderList(o.unref(G),(fe,Pr)=>({name:fe,fn:o.withCtx(ir=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps({...ir})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):o.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),nd=(()=>{const t=V8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:nd},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(nd[t]=e)});const B8={class:"scope-datepicker__wrapper"},A8={key:0,class:"scope-datepicker__label"},F8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,multiCalendars:Boolean|Object,inline:Boolean,fullWidth:Boolean,label:String,size:{type:String,default:"md"},placeholder:{type:String,default:"Select Date"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("div",B8,[t.label?(o.openBlock(),o.createElementBlock("div",A8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(nd),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"])]))}},R8=Oe(F8,[["__scopeId","data-v-0081bf59"]]),I8=["onClick"],z8=Oe({__name:"Selector",props:o.mergeModels({options:Array,width:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.computed(()=>n.width?{width:n.width}:null),s=i=>{e.value=i};return(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-selector",style:o.normalizeStyle(r.value)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.options,(l,c)=>(o.openBlock(),o.createElementBlock("button",{key:c,onClick:d=>s(l),class:o.normalizeClass(["scope-selector__option",{"-selected":typeof l=="object"?l.name===e.value.name:l===i.name}])},o.toDisplayString(typeof l=="object"?l.name:l),11,I8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),Y8={class:"scope-number-input__fieldset","data-number-code-form":""},H8=["disabled","onInput","onKeydown"],W8={key:0,class:"scope-number-input__error-message"},j8=Oe({__name:"NumberInput",props:o.mergeModels({necessaryLength:{type:Number,default:6},disabled:Boolean,isInvalid:Boolean,errorMessage:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.ref(null),r=o.useModel(t,"modelValue");r.value||(r.value=Array(e.necessaryLength).fill(null));const s=({target:a},l)=>{if(r.value[l]=a.value,!a.value.length){a.value=null;return}if(a.value.length>1){const u=a.value.split("");u.forEach((h,f)=>{const m=l+f;m>=e.necessaryLength||(n.value.querySelectorAll("[data-number-code-input]")[m].value=h,r.value[m]=h)}),l+=u.length-2}const d=l+1;d<e.necessaryLength&&n.value.querySelectorAll("[data-number-code-input]")[d].focus()},i=(a,l)=>{const{code:c,target:d}=a,u=l-1,h=l+1,f=u>=0,m=h<=e.necessaryLength-1;switch(c){case"ArrowLeft":case"ArrowUp":f&&n.value.querySelectorAll("[data-number-code-input]")[u].focus(),a.preventDefault();break;case"ArrowRight":case"ArrowDown":m&&n.value.querySelectorAll("[data-number-code-input]")[h].focus(),a.preventDefault();break;case"Backspace":if(!d.value.length&&f){const g=n.value.querySelectorAll("[data-number-code-input]")[u];r.value[u]=null,g.value=null,g.focus()}break}};return(a,l)=>(o.openBlock(),o.createElementBlock("form",{class:"scope-number-input__form",ref_key:"numberCodeForm",ref:n},[o.createElementVNode("fieldset",Y8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.necessaryLength,(c,d)=>(o.openBlock(),o.createElementBlock("input",{type:"number",disabled:t.disabled,maxlength:"1",key:d,class:o.normalizeClass(["scope-number-input",{"-invalid":t.isInvalid}]),min:"0",max:"9","data-number-code-input":"",onInput:u=>s(u,d),onKeydown:u=>i(u,d),required:""},null,42,H8))),128))]),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",W8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-7474e888"]]),Z8={class:"scope-navigation-tab__icon-wrapper"},U8={key:0},q8=Oe({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,isFull:Boolean,page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=s=>{n("openPage",s)};return(s,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",Z8,[o.createVNode(ze,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",U8,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5e3c38cb"]]);function cr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ff(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
2
2
  * GSAP 3.12.5
3
3
  * https://gsap.com
4
4
  *
@@ -6,7 +6,7 @@
6
6
  * Subject to the terms at https://gsap.com/standard-license or for
7
7
  * Club GSAP members, the agreement issued with that membership.
8
8
  * @author: Jack Doyle, jack@greensock.com
9
- */var qt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ai={duration:.5,overwrite:!1,delay:0},rd,Ot,Ge,ln=1e8,We=1/ln,sd=Math.PI*2,G8=sd/4,K8=0,mf=Math.sqrt,X8=Math.cos,Q8=Math.sin,xt=function(e){return typeof e=="string"},st=function(e){return typeof e=="function"},dr=function(e){return typeof e=="number"},id=function(e){return typeof e>"u"},Zn=function(e){return typeof e=="object"},Bt=function(e){return e!==!1},od=function(){return typeof window<"u"},Ca=function(e){return st(e)||xt(e)},pf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Dt=Array.isArray,ad=/(?:-?\.?\d|\.)+/gi,gf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,li=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ld=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_f=/[+-]=-?[.\d]+/,yf=/[^,'"\[\]\s]+/gi,J8=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Je,Un,cd,dd,Gt={},xa={},wf,bf=function(e){return(xa=ys(e,Gt))&&Rt},ud=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},no=function(e,n){return!n&&console.warn(e)},kf=function(e,n){return e&&(Gt[e]=n)&&xa&&(xa[e]=n)||Gt},ro=function(){return 0},ey={suppressEvents:!0,isStart:!0,kill:!1},Ma={suppressEvents:!0,kill:!1},ty={suppressEvents:!0},hd={},Rr=[],fd={},Cf,Kt={},md={},xf=30,va=[],pd="",gd=function(e){var n=e[0],r,s;if(Zn(n)||st(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=va.length;s--&&!va[s].targetTest(n););r=va[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new Qf(e[s],r)))||e.splice(s,1);return e},_s=function(e){return e._gsap||gd(un(e))[0]._gsap},Mf=function(e,n,r){return(r=e[n])&&st(r)?e[n]():id(r)&&e.getAttribute&&e.getAttribute(n)||r},At=function(e,n){return(e=e.split(",")).forEach(n)||e},ft=function(e){return Math.round(e*1e5)/1e5||0},Mt=function(e){return Math.round(e*1e7)/1e7||0},ci=function(e,n){var r=n.charAt(0),s=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+s:r==="-"?e-s:r==="*"?e*s:e/s},ny=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},Sa=function(){var e=Rr.length,n=Rr.slice(0),r,s;for(fd={},Rr.length=0,r=0;r<e;r++)s=n[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},vf=function(e,n,r,s){Rr.length&&!Ot&&Sa(),e.render(n,r,s||Ot&&n<0&&(e._initted||e._startAt)),Rr.length&&!Ot&&Sa()},Sf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(yf).length<2?n:xt(e)?e.trim():e},Tf=function(e){return e},cn=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},ry=function(e){return function(n,r){for(var s in r)s in n||s==="duration"&&e||s==="ease"||(n[s]=r[s])}},ys=function(e,n){for(var r in n)e[r]=n[r];return e},Of=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Zn(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Ta=function(e,n){var r={},s;for(s in e)s in n||(r[s]=e[s]);return r},so=function(e){var n=e.parent||Je,r=e.keyframes?ry(Dt(e.keyframes)):cn;if(Bt(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},sy=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},Df=function(e,n,r,s,i){r===void 0&&(r="_first"),s===void 0&&(s="_last");var a=e[s],l;if(i)for(l=n[i];a&&a[i]>l;)a=a._prev;return a?(n._next=a._next,a._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[s]=n,n._prev=a,n.parent=n._dp=e,n},Oa=function(e,n,r,s){r===void 0&&(r="_first"),s===void 0&&(s="_last");var i=n._prev,a=n._next;i?i._next=a:e[r]===n&&(e[r]=a),a?a._prev=i:e[s]===n&&(e[s]=i),n._next=n._prev=n.parent=null},Ir=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ws=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},iy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},_d=function(e,n,r,s){return e._startAt&&(Ot?e._startAt.revert(Ma):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},oy=function t(e){return!e||e._ts&&t(e.parent)},Ef=function(e){return e._repeat?di(e._tTime,e=e.duration()+e._rDelay)*e:0},di=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},Da=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Ea=function(e){return e._end=Mt(e._start+(e._tDur/Math.abs(e._ts||e._rts||We)||0))},Pa=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Mt(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Ea(e),r._dirty||ws(r,e)),e},Pf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Da(e.rawTime(),n),(!n._dur||oo(0,n.totalDuration(),r)-n._tTime>We)&&n.render(r,!0)),ws(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-We}},qn=function(e,n,r,s){return n.parent&&Ir(n),n._start=Mt((dr(r)?r:r||e!==Je?dn(e,r,n):e._time)+n._delay),n._end=Mt(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Df(e,n,"_first","_last",e._sort?"_start":0),yd(n)||(e._recent=n),s||Pf(e,n),e._ts<0&&Pa(e,e._tTime),e},Lf=function(e,n){return(Gt.ScrollTrigger||ud("scrollTrigger",n))&&Gt.ScrollTrigger.create(n,e)},$f=function(e,n,r,s,i){if(Td(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Ot&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Cf!==Qt.frame)return Rr.push(e),e._lazy=[i,s],1},ay=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},yd=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},ly=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&ay(e)&&!(!e._initted&&yd(e))||(e._ts<0||e._dp._ts<0)&&!yd(e))?0:1,l=e._rDelay,c=0,d,u,h;if(l&&e._repeat&&(c=oo(0,e._tDur,n),u=di(c,l),e._yoyo&&u&1&&(a=1-a),u!==di(e._tTime,l)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||Ot||s||e._zTime===We||!n&&e._zTime){if(!e._initted&&$f(e,n,s,r,c))return;for(h=e._zTime,e._zTime=n||(r?We:0),r||(r=n&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=c,d=e._pt;d;)d.r(a,d.d),d=d._next;n<0&&_d(e,n,r,!0),e._onUpdate&&!r&&Xt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Xt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&Ir(e,1),!r&&!Ot&&(Xt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},cy=function(e,n,r){var s;if(r>n)for(s=e._first;s&&s._start<=r;){if(s.data==="isPause"&&s._start>n)return s;s=s._next}else for(s=e._last;s&&s._start>=r;){if(s.data==="isPause"&&s._start<n)return s;s=s._prev}},ui=function(e,n,r,s){var i=e._repeat,a=Mt(n)||0,l=e._tTime/e._tDur;return l&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Mt(a*(i+1)+e._rDelay*i):a,l>0&&!s&&Pa(e,e._tTime=e._tDur*l),e.parent&&Ea(e),r||ws(e.parent,e),e},Nf=function(e){return e instanceof $t?ws(e):ui(e,e._dur)},dy={_start:0,endTime:ro,totalDuration:ro},dn=function t(e,n,r){var s=e.labels,i=e._recent||dy,a=e.duration()>=ln?i.endTime(!1):e._dur,l,c,d;return xt(n)&&(isNaN(n)||n in s)?(c=n.charAt(0),d=n.substr(-1)==="%",l=n.indexOf("="),c==="<"||c===">"?(l>=0&&(n=n.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(n.substr(1))||0)*(d?(l<0?i:r).totalDuration()/100:1)):l<0?(n in s||(s[n]=a),s[n]):(c=parseFloat(n.charAt(l-1)+n.substr(l+1)),d&&r&&(c=c/100*(Dt(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:a+c)):n==null?a:+n},io=function(e,n,r){var s=dr(n[1]),i=(s?2:1)+(e<2?0:1),a=n[i],l,c;if(s&&(a.duration=n[1]),a.parent=r,e){for(l=a,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=Bt(c.vars.inherit)&&c.parent;a.immediateRender=Bt(l.immediateRender),e<2?a.runBackwards=1:a.startAt=n[i-1]}return new _t(n[0],a,n[i+1])},zr=function(e,n){return e||e===0?n(e):n},oo=function(e,n,r){return r<e?e:r>n?n:r},Et=function(e,n){return!xt(e)||!(n=J8.exec(e))?"":n[1]},uy=function(e,n,r){return zr(r,function(s){return oo(e,n,s)})},wd=[].slice,Vf=function(e,n){return e&&Zn(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Zn(e[0]))&&!e.nodeType&&e!==Un},hy=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return xt(s)&&!n||Vf(s,1)?(i=r).push.apply(i,un(s)):r.push(s)})||r},un=function(e,n,r){return Ge&&!n&&Ge.selector?Ge.selector(e):xt(e)&&!r&&(cd||!fi())?wd.call((n||dd).querySelectorAll(e),0):Dt(e)?hy(e,r):Vf(e)?wd.call(e,0):e?[e]:[]},bd=function(e){return e=un(e)[0]||no("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return un(n,r.querySelectorAll?r:r===e?no("Invalid scope")||dd.createElement("div"):e)}},Bf=function(e){return e.sort(function(){return .5-Math.random()})},Af=function(e){if(st(e))return e;var n=Zn(e)?e:{each:e},r=bs(n.ease),s=n.from||0,i=parseFloat(n.base)||0,a={},l=s>0&&s<1,c=isNaN(s)||l,d=n.axis,u=s,h=s;return xt(s)?u=h={center:.5,edges:.5,end:1}[s]||0:!l&&c&&(u=s[0],h=s[1]),function(f,m,g){var p=(g||n).length,_=a[p],y,C,k,S,M,O,v,D,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,ln])[1],!E){for(v=-ln;v<(v=g[E++].getBoundingClientRect().left)&&E<p;);E<p&&E--}for(_=a[p]=[],y=c?Math.min(E,p)*u-.5:s%E,C=E===ln?0:c?p*h/E-.5:s/E|0,v=0,D=ln,O=0;O<p;O++)k=O%E-y,S=C-(O/E|0),_[O]=M=d?Math.abs(d==="y"?S:k):mf(k*k+S*S),M>v&&(v=M),M<D&&(D=M);s==="random"&&Bf(_),_.max=v-D,_.min=D,_.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(E>p?p-1:d?d==="y"?p/E:E:Math.max(E,p/E))||0)*(s==="edges"?-1:1),_.b=p<0?i-p:i,_.u=Et(n.amount||n.each)||0,r=r&&p<0?Gf(r):r}return p=(_[f]-_.min)/_.max||0,Mt(_.b+(r?r(p):p)*_.v)+_.u}},kd=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=Mt(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(dr(r)?0:Et(r))}},Ff=function(e,n){var r=Dt(e),s,i;return!r&&Zn(e)&&(s=r=e.radius||ln,e.values?(e=un(e.values),(i=!dr(e[0]))&&(s*=s)):e=kd(e.increment)),zr(n,r?st(e)?function(a){return i=e(a),Math.abs(i-a)<=s?i:a}:function(a){for(var l=parseFloat(i?a.x:a),c=parseFloat(i?a.y:0),d=ln,u=0,h=e.length,f,m;h--;)i?(f=e[h].x-l,m=e[h].y-c,f=f*f+m*m):f=Math.abs(e[h]-l),f<d&&(d=f,u=h);return u=!s||d<=s?e[u]:a,i||u===a||dr(a)?u:u+Et(a)}:kd(e))},Rf=function(e,n,r,s){return zr(Dt(e)?!n:r===!0?!!(r=0):!s,function(){return Dt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*s)/s})},fy=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(s){return n.reduce(function(i,a){return a(i)},s)}},my=function(e,n){return function(r){return e(parseFloat(r))+(n||Et(r))}},py=function(e,n,r){return zf(e,n,0,1,r)},If=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},gy=function t(e,n,r){var s=n-e;return Dt(e)?If(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},_y=function t(e,n,r){var s=n-e,i=s*2;return Dt(e)?If(e,t(0,e.length-1),n):zr(r,function(a){return a=(i+(a-e)%i)%i||0,e+(a>s?i-a:a)})},ao=function(e){for(var n=0,r="",s,i,a,l;~(s=e.indexOf("random(",n));)a=e.indexOf(")",s),l=e.charAt(s+7)==="[",i=e.substr(s+7,a-s-7).match(l?yf:ad),r+=e.substr(n,s-n)+Rf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},zf=function(e,n,r,s,i){var a=n-e,l=s-r;return zr(i,function(c){return r+((c-e)/a*l||0)})},yy=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=xt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if(Dt(e)&&!Dt(n)){for(u=[],h=e.length,f=h-2,d=1;d<h;d++)u.push(t(e[d-1],e[d]));h--,i=function(g){g*=h;var p=Math.min(f,~~g);return u[p](g-p)},r=n}else s||(e=ys(Dt(e)?[]:{},e));if(!u){for(c in n)vd.call(l,e,c,"get",n[c]);i=function(g){return Ed(g,l)||(a?e.p:e)}}}return zr(r,i)},Yf=function(e,n,r){var s=e.labels,i=ln,a,l,c;for(a in s)l=s[a]-n,l<0==!!r&&l&&i>(l=Math.abs(l))&&(c=a,i=l);return c},Xt=function(e,n,r){var s=e.vars,i=s[n],a=Ge,l=e._ctx,c,d,u;if(i)return c=s[n+"Params"],d=s.callbackScope||e,r&&Rr.length&&Sa(),l&&(Ge=l),u=c?i.apply(d,c):i.call(d),Ge=a,u},lo=function(e){return Ir(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ot),e.progress()<1&&Xt(e,"onInterrupt"),e},hi,Hf=[],Wf=function(e){if(e)if(e=!e.name&&e.default||e,od()||e.headless){var n=e.name,r=st(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:ro,render:Ed,add:vd,kill:Ny,modifier:$y,rawVars:0},a={targetTest:0,get:0,getSetter:Dd,aliases:{},register:0};if(fi(),e!==s){if(Kt[n])return;cn(s,cn(Ta(e,i),a)),ys(s.prototype,ys(i,Ta(e,a))),Kt[s.prop=n]=s,e.targetTest&&(va.push(s),hd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}kf(n,s),e.register&&e.register(Rt,s,Ft)}else Hf.push(e)},Ye=255,co={aqua:[0,Ye,Ye],lime:[0,Ye,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ye],navy:[0,0,128],white:[Ye,Ye,Ye],olive:[128,128,0],yellow:[Ye,Ye,0],orange:[Ye,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ye,0,0],pink:[Ye,192,203],cyan:[0,Ye,Ye],transparent:[Ye,Ye,Ye,0]},Cd=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*Ye+.5|0},jf=function(e,n,r){var s=e?dr(e)?[e>>16,e>>8&Ye,e&Ye]:0:co.black,i,a,l,c,d,u,h,f,m,g;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),co[e])s=co[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),l=e.charAt(3),e="#"+i+i+a+a+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&Ye,s&Ye,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&Ye,e&Ye]}else if(e.substr(0,3)==="hsl"){if(s=g=e.match(ad),!n)c=+s[0]%360/360,d=+s[1]/100,u=+s[2]/100,a=u<=.5?u*(d+1):u+d-u*d,i=u*2-a,s.length>3&&(s[3]*=1),s[0]=Cd(c+1/3,i,a),s[1]=Cd(c,i,a),s[2]=Cd(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(gf),r&&s.length<4&&(s[3]=1),s}else s=e.match(ad)||co.transparent;s=s.map(Number)}return n&&!g&&(i=s[0]/Ye,a=s[1]/Ye,l=s[2]/Ye,h=Math.max(i,a,l),f=Math.min(i,a,l),u=(h+f)/2,h===f?c=d=0:(m=h-f,d=u>.5?m/(2-h-f):m/(h+f),c=h===i?(a-l)/m+(a<l?6:0):h===a?(l-i)/m+2:(i-a)/m+4,c*=60),s[0]=~~(c+.5),s[1]=~~(d*100+.5),s[2]=~~(u*100+.5)),r&&s.length<4&&(s[3]=1),s},Zf=function(e){var n=[],r=[],s=-1;return e.split(Yr).forEach(function(i){var a=i.match(li)||[];n.push.apply(n,a),r.push(s+=a.length+1)}),n.c=r,n},Uf=function(e,n,r){var s="",i=(e+s).match(Yr),a=n?"hsla(":"rgba(",l=0,c,d,u,h;if(!i)return e;if(i=i.map(function(f){return(f=jf(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=Zf(e),c=r.c,c.join(s)!==u.c.join(s)))for(d=e.replace(Yr,"1").split(li),h=d.length-1;l<h;l++)s+=d[l]+(~c.indexOf(l)?i.shift()||a+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!d)for(d=e.split(Yr),h=d.length-1;l<h;l++)s+=d[l]+i[l];return s+d[h]},Yr=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in co)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),wy=/hsl[a]?\(/,qf=function(e){var n=e.join(" "),r;if(Yr.lastIndex=0,Yr.test(n))return r=wy.test(n),e[1]=Uf(e[1],r),e[0]=Uf(e[0],r,Zf(e[1])),!0},uo,Qt=function(){var t=Date.now,e=500,n=33,r=t(),s=r,i=1e3/240,a=i,l=[],c,d,u,h,f,m,g=function p(_){var y=t()-s,C=_===!0,k,S,M,O;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,k=M-a,(k>0||C)&&(O=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=k+(k>=i?4:i-k),S=1),C||(c=d(p)),S)for(m=0;m<l.length;m++)l[m](M,f,O,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){wf&&(!cd&&od()&&(Un=cd=window,dd=Un.document||{},Gt.gsap=Rt,(Un.gsapVersions||(Un.gsapVersions=[])).push(Rt.version),bf(xa||Un.GreenSockGlobals||!Un.gsap&&Un||{}),Hf.forEach(Wf)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),d=u||function(_){return setTimeout(_,a-h.time*1e3+1|0)},uo=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),uo=0,d=ro},lagSmoothing:function(_,y){e=_||1/0,n=Math.min(y||33,e)},fps:function(_){i=1e3/(_||240),a=h.time*1e3+i},add:function(_,y,C){var k=y?function(S,M,O,v){_(S,M,O,v),h.remove(k)}:_;return h.remove(_),l[C?"unshift":"push"](k),fi(),k},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),fi=function(){return!uo&&Qt.wake()},xe={},by=/^[\d.\-M][\d.\-,\s]/,ky=/["']/g,Cy=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),s=r[0],i=1,a=r.length,l,c,d;i<a;i++)c=r[i],l=i!==a-1?c.lastIndexOf(","):c.length,d=c.substr(0,l),n[s]=isNaN(d)?d.replace(ky,"").trim():+d,s=c.substr(l+1).trim();return n},xy=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),s=e.indexOf("(",n);return e.substring(n,~s&&s<r?e.indexOf(")",r+1):r)},My=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Cy(n[1])]:xy(e).split(",").map(Sf)):xe._CE&&by.test(e)?xe._CE("",e):r},Gf=function(e){return function(n){return 1-e(1-n)}},Kf=function t(e,n){for(var r=e._first,s;r;)r instanceof $t?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(s=r._ease,r._ease=r._yEase,r._yEase=s,r._yoyo=n)),r=r._next},bs=function(e,n){return e&&(st(e)?e:xe[e]||My(e))||n},ks=function(e,n,r,s){r===void 0&&(r=function(c){return 1-n(1-c)}),s===void 0&&(s=function(c){return c<.5?n(c*2)/2:1-n((1-c)*2)/2});var i={easeIn:n,easeOut:r,easeInOut:s},a;return At(e,function(l){xe[l]=Gt[l]=i,xe[a=l.toLowerCase()]=r;for(var c in i)xe[a+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=xe[l+"."+c]=i[c]}),i},Xf=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},xd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/sd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*Q8((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:Xf(l);return i=sd/i,c.config=function(d,u){return t(e,d,u)},c},Md=function t(e,n){n===void 0&&(n=1.70158);var r=function(a){return a?--a*a*((n+1)*a+n)+1:0},s=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Xf(r);return s.config=function(i){return t(e,i)},s};At("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;ks(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),xe.Linear.easeNone=xe.none=xe.Linear.easeIn,ks("Elastic",xd("in"),xd("out"),xd()),function(t,e){var n=1/e,r=2*n,s=2.5*n,i=function(l){return l<n?t*l*l:l<r?t*Math.pow(l-1.5/e,2)+.75:l<s?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ks("Bounce",function(a){return 1-i(1-a)},i)}(7.5625,2.75),ks("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),ks("Circ",function(t){return-(mf(1-t*t)-1)}),ks("Sine",function(t){return t===1?1:-X8(t*G8)+1}),ks("Back",Md("in"),Md("out"),Md()),xe.SteppedEase=xe.steps=Gt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,s=e+(n?0:1),i=n?1:0,a=1-We;return function(l){return((s*oo(0,a,l)|0)+i)*r}}},ai.ease=xe["quad.out"],At("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return pd+=t+","+t+"Params,"});var Qf=function(e,n){this.id=K8++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Mf,this.set=n?n.getSetter:Dd},ho=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,ui(this,+n.duration,1,1),this.data=n.data,Ge&&(this._ctx=Ge,Ge.data.push(this)),uo||Qt.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,ui(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,s){if(fi(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Pa(this,r),!i._dp||i.parent||Pf(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&qn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===We||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),vf(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ef(this))%(this._dur+this._rDelay)||(r?this._dur:0),s):this._time},e.totalProgress=function(r,s){return arguments.length?this.totalTime(this.totalDuration()*r,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ef(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,s):this._repeat?di(this._tTime,i)+1:1},e.timeScale=function(r,s){if(!arguments.length)return this._rts===-We?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Da(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-We?0:this._rts,this.totalTime(oo(-Math.abs(this._delay),this._tDur,i),s!==!1),Ea(this),iy(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==We&&(this._tTime-=We)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&qn(s,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Bt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var s=this.parent||this._dp;return s?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Da(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=ty);var s=Ot;return Ot=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ot=s,this},e.globalTime=function(r){for(var s=this,i=arguments.length?r:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Nf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Nf(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,s){return this.totalTime(dn(this,r),Bt(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,Bt(s))},e.play=function(r,s){return r!=null&&this.seek(r,s),this.reversed(!1).paused(!1)},e.reverse=function(r,s){return r!=null&&this.seek(r||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(r,s){return r!=null&&this.seek(r,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-We:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-We,this},e.isActive=function(){var r=this.parent||this._dp,s=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=s&&i<this.endTime(!0)-We)},e.eventCallback=function(r,s,i){var a=this.vars;return arguments.length>1?(s?(a[r]=s,i&&(a[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=s)):delete a[r],this):a[r]},e.then=function(r){var s=this;return new Promise(function(i){var a=st(r)?r:Tf,l=function(){var d=s.then;s.then=null,st(a)&&(a=a(s))&&(a.then||a===s)&&(s.then=d),i(a),s.then=d};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?l():s._prom=l})},e.kill=function(){lo(this)},t}();cn(ho.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-We,_prom:0,_ps:!1,_rts:1});var $t=function(t){ff(e,t);function e(r,s){var i;return r===void 0&&(r={}),i=t.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=Bt(r.sortChildren),Je&&qn(r.parent||Je,cr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Lf(cr(i),r.scrollTrigger),i}var n=e.prototype;return n.to=function(s,i,a){return io(0,arguments,this),this},n.from=function(s,i,a){return io(1,arguments,this),this},n.fromTo=function(s,i,a,l){return io(2,arguments,this),this},n.set=function(s,i,a){return i.duration=0,i.parent=this,so(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new _t(s,i,dn(this,a),1),this},n.call=function(s,i,a){return qn(this,_t.delayedCall(0,s,i),a)},n.staggerTo=function(s,i,a,l,c,d,u){return a.duration=i,a.stagger=a.stagger||l,a.onComplete=d,a.onCompleteParams=u,a.parent=this,new _t(s,a,dn(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,so(a).immediateRender=Bt(a.immediateRender),this.staggerTo(s,i,a,l,c,d,u)},n.staggerFromTo=function(s,i,a,l,c,d,u,h){return l.startAt=a,so(l).immediateRender=Bt(l.immediateRender),this.staggerTo(s,i,l,c,d,u,h)},n.render=function(s,i,a){var l=this._time,c=this._dirty?this.totalDuration():this._tDur,d=this._dur,u=s<=0?0:Mt(s),h=this._zTime<0!=s<0&&(this._initted||!d),f,m,g,p,_,y,C,k,S,M,O,v;if(this!==Je&&u>c&&s>=0&&(u=c),u!==this._tTime||a||h){if(l!==this._time&&d&&(u+=this._time-l,s+=this._time-l),f=u,S=this._start,k=this._ts,y=!k,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(O=this._yoyo,_=d+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(_*100+s,i,a);if(f=Mt(u%_),u===c?(p=this._repeat,f=d):(p=~~(u/_),p&&p===u/_&&(f=d,p--),f>d&&(f=d)),M=di(this._tTime,_),!l&&this._tTime&&M!==p&&this._tTime-M*_-this._dur<=0&&(M=p),O&&p&1&&(f=d-f,v=1),p!==M&&!this._lock){var D=O&&M&1,E=D===(O&&p&1);if(p<M&&(D=!D),l=D?0:u%d?d:u,this._lock=1,this.render(l||(v?0:Mt(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&Xt(this,"onRepeat"),this.vars.repeatRefresh&&!v&&(this.invalidate()._lock=1),l&&l!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,c=this._tDur,E&&(this._lock=2,l=D?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!v&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;Kf(this,v)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=cy(this,Mt(l),Mt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&f&&!i&&!p&&(Xt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&s>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,i,a),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=-We);break}}m=g}else{m=this._last;for(var I=s<0?s:f;m;){if(g=m._prev,(m._act||I<=m._end)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(I-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(I-m._start)*m._ts,i,a||Ot&&(m._initted||m._startAt)),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=I?-We:We);break}}m=g}}if(C&&!i&&(this.pause(),C.render(f>=l?0:-We)._zTime=f>=l?1:-1,this._ts))return this._start=S,Ea(this),this.render(s,i,a);this._onUpdate&&!i&&Xt(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&l)&&(S===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((s||!d)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Ir(this,1),!i&&!(s<0&&!l)&&(u||l||!c)&&(Xt(this,u===c&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(s,i){var a=this;if(dr(i)||(i=dn(this,i,s)),!(s instanceof ho)){if(Dt(s))return s.forEach(function(l){return a.add(l,i)}),this;if(xt(s))return this.addLabel(s,i);if(st(s))s=_t.delayedCall(0,s);else return this}return this!==s?qn(this,s,i):this},n.getChildren=function(s,i,a,l){s===void 0&&(s=!0),i===void 0&&(i=!0),a===void 0&&(a=!0),l===void 0&&(l=-ln);for(var c=[],d=this._first;d;)d._start>=l&&(d instanceof _t?i&&c.push(d):(a&&c.push(d),s&&c.push.apply(c,d.getChildren(!0,i,a)))),d=d._next;return c},n.getById=function(s){for(var i=this.getChildren(1,1,1),a=i.length;a--;)if(i[a].vars.id===s)return i[a]},n.remove=function(s){return xt(s)?this.removeLabel(s):st(s)?this.killTweensOf(s):(Oa(this,s),s===this._recent&&(this._recent=this._last),ws(this))},n.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Mt(Qt.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},n.addLabel=function(s,i){return this.labels[s]=dn(this,i),this},n.removeLabel=function(s){return delete this.labels[s],this},n.addPause=function(s,i,a){var l=_t.delayedCall(0,i||ro,a);return l.data="isPause",this._hasPause=1,qn(this,l,dn(this,s))},n.removePause=function(s){var i=this._first;for(s=dn(this,s);i;)i._start===s&&i.data==="isPause"&&Ir(i),i=i._next},n.killTweensOf=function(s,i,a){for(var l=this.getTweensOf(s,a),c=l.length;c--;)Hr!==l[c]&&l[c].kill(s,i);return this},n.getTweensOf=function(s,i){for(var a=[],l=un(s),c=this._first,d=dr(i),u;c;)c instanceof _t?ny(c._targets,l)&&(d?(!Hr||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&a.push(c):(u=c.getTweensOf(l,i)).length&&a.push.apply(a,u),c=c._next;return a},n.tweenTo=function(s,i){i=i||{};var a=this,l=dn(a,s),c=i,d=c.startAt,u=c.onStart,h=c.onStartParams,f=c.immediateRender,m,g=_t.to(a,cn({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale())||We,onStart:function(){if(a.pause(),!m){var _=i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale());g._dur!==_&&ui(g,_,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,h||[])}},i));return f?g.render(0):g},n.tweenFromTo=function(s,i,a){return this.tweenTo(i,cn({startAt:{time:dn(this,s)}},a))},n.recent=function(){return this._recent},n.nextLabel=function(s){return s===void 0&&(s=this._time),Yf(this,dn(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),Yf(this,dn(this,s),1)},n.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+We)},n.shiftChildren=function(s,i,a){a===void 0&&(a=0);for(var l=this._first,c=this.labels,d;l;)l._start>=a&&(l._start+=s,l._end+=s),l=l._next;if(i)for(d in c)c[d]>=a&&(c[d]+=s);return ws(this)},n.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return t.prototype.invalidate.call(this,s)},n.clear=function(s){s===void 0&&(s=!0);for(var i=this._first,a;i;)a=i._next,this.remove(i),i=a;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),ws(this)},n.totalDuration=function(s){var i=0,a=this,l=a._last,c=ln,d,u,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-s:s));if(a._dirty){for(h=a.parent;l;)d=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>c&&a._sort&&l._ts&&!a._lock?(a._lock=1,qn(a,l,u-l._delay,1)._lock=0):c=u,u<0&&l._ts&&(i-=u,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=u/a._ts,a._time-=u,a._tTime-=u),a.shiftChildren(-u,!1,-1/0),c=0),l._end>i&&l._ts&&(i=l._end),l=d;ui(a,a===Je&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(s){if(Je._ts&&(vf(Je,Da(s,Je)),Cf=Qt.frame),Qt.frame>=xf){xf+=qt.autoSleep||120;var i=Je._first;if((!i||!i._ts)&&qt.autoSleep&&Qt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Qt.sleep()}}},e}(ho);cn($t.prototype,{_lock:0,_hasPause:0,_forcing:0});var vy=function(e,n,r,s,i,a,l){var c=new Ft(this._pt,e,n,0,1,s0,null,i),d=0,u=0,h,f,m,g,p,_,y,C;for(c.b=r,c.e=s,r+="",s+="",(y=~s.indexOf("random("))&&(s=ao(s)),a&&(C=[r,s],a(C,e,n),r=C[0],s=C[1]),f=r.match(ld)||[];h=ld.exec(s);)g=h[0],p=s.substring(d,h.index),m?m=(m+1)%5:p.substr(-5)==="rgba("&&(m=1),g!==f[u++]&&(_=parseFloat(f[u-1])||0,c._pt={_next:c._pt,p:p||u===1?p:",",s:_,c:g.charAt(1)==="="?ci(_,g)-_:parseFloat(g)-_,m:m&&m<4?Math.round:0},d=ld.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(_f.test(s)||y)&&(c.e=0),this._pt=c,c},vd=function(e,n,r,s,i,a,l,c,d,u){st(s)&&(s=s(i||0,e,a));var h=e[n],f=r!=="get"?r:st(h)?d?e[n.indexOf("set")||!st(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():h,m=st(h)?d?Ey:n0:Od,g;if(xt(s)&&(~s.indexOf("random(")&&(s=ao(s)),s.charAt(1)==="="&&(g=ci(f,s)+(Et(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Sd)return!isNaN(f*s)&&s!==""?(g=new Ft(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?Ly:r0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&ud(n,s),vy.call(this,e,n,f,s,m,c||qt.stringFilter,d))},Sy=function(e,n,r,s,i){if(st(e)&&(e=fo(e,i,n,r,s)),!Zn(e)||e.style&&e.nodeType||Dt(e)||pf(e))return xt(e)?fo(e,i,n,r,s):e;var a={},l;for(l in e)a[l]=fo(e[l],i,n,r,s);return a},Jf=function(e,n,r,s,i,a){var l,c,d,u;if(Kt[e]&&(l=new Kt[e]).init(i,l.rawVars?n[e]:Sy(n[e],s,i,a,r),r,s,a)!==!1&&(r._pt=c=new Ft(r._pt,i,e,0,1,l.render,l,0,l.priority),r!==hi))for(d=r._ptLookup[r._targets.indexOf(i)],u=l._props.length;u--;)d[l._props[u]]=c;return l},Hr,Sd,Td=function t(e,n,r){var s=e.vars,i=s.ease,a=s.startAt,l=s.immediateRender,c=s.lazy,d=s.onUpdate,u=s.runBackwards,h=s.yoyoEase,f=s.keyframes,m=s.autoRevert,g=e._dur,p=e._startAt,_=e._targets,y=e.parent,C=y&&y.data==="nested"?y.vars.targets:_,k=e._overwrite==="auto"&&!rd,S=e.timeline,M,O,v,D,E,I,j,P,R,G,T,x,N;if(S&&(!f||!i)&&(i="none"),e._ease=bs(i,ai.ease),e._yEase=h?Gf(bs(h===!0?i:h,ai.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!S&&!!s.runBackwards,!S||f&&!s.stagger){if(P=_[0]?_s(_[0]).harness:0,x=P&&s[P.prop],M=Ta(s,hd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?Ma:ey),p._lazy=0),a){if(Ir(e._startAt=_t.set(_,cn({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&Bt(c),startAt:null,delay:0,onUpdate:d&&function(){return Xt(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ot||!l&&!m)&&e._startAt.revert(Ma),l&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&g&&!p){if(n&&(l=!1),v=cn({overwrite:!1,data:"isFromStart",lazy:l&&!p&&Bt(c),immediateRender:l,stagger:0,parent:y},M),x&&(v[P.prop]=x),Ir(e._startAt=_t.set(_,v)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ot?e._startAt.revert(Ma):e._startAt.render(-1,!0)),e._zTime=n,!l)t(e._startAt,We,We);else if(!n)return}for(e._pt=e._ptCache=0,c=g&&Bt(c)||c&&!g,O=0;O<_.length;O++){if(E=_[O],j=E._gsap||gd(_)[O]._gsap,e._ptLookup[O]=G={},fd[j.id]&&Rr.length&&Sa(),T=C===_?O:C.indexOf(E),P&&(R=new P).init(E,x||M,e,T,C)!==!1&&(e._pt=D=new Ft(e._pt,E,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(Z){G[Z]=D}),R.priority&&(I=1)),!P||x)for(v in M)Kt[v]&&(R=Jf(v,M,e,T,E,C))?R.priority&&(I=1):G[v]=D=vd.call(e,E,v,"get",M[v],T,C,0,s.stringFilter);e._op&&e._op[O]&&e.kill(E,e._op[O]),k&&e._pt&&(Hr=e,Je.killTweensOf(E,G,e.globalTime(n)),N=!e.parent,Hr=0),e._pt&&c&&(fd[j.id]=1)}I&&i0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!N,f&&n<=0&&S.render(ln,!0,!0)},Ty=function(e,n,r,s,i,a,l,c){var d=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,h,f,m;if(!d)for(d=e._ptCache[n]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return Sd=1,e.vars[n]="+=0",Td(e,l),Sd=0,c?no(n+" not eligible for reset"):1;d.push(u)}for(m=d.length;m--;)h=d[m],u=h._pt||h,u.s=(s||s===0)&&!i?s:u.s+(s||0)+a*u.c,u.c=r-u.s,h.e&&(h.e=ft(r)+Et(h.e)),h.b&&(h.b=u.s+Et(h.b))},Oy=function(e,n){var r=e[0]?_s(e[0]).harness:0,s=r&&r.aliases,i,a,l,c;if(!s)return n;i=ys({},n);for(a in s)if(a in i)for(c=s[a].split(","),l=c.length;l--;)i[c[l]]=i[a];return i},Dy=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Dt(n))l=r[e]||(r[e]=[]),n.forEach(function(c,d){return l.push({t:d/(n.length-1)*100,v:c,e:i})});else for(a in n)l=r[a]||(r[a]=[]),a==="ease"||l.push({t:parseFloat(e),v:n[a],e:i})},fo=function(e,n,r,s,i){return st(e)?e.call(n,r,s,i):xt(e)&&~e.indexOf("random(")?ao(e):e},e0=pd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",t0={};At(e0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return t0[t]=1});var _t=function(t){ff(e,t);function e(r,s,i,a){var l;typeof s=="number"&&(i.duration=s,s=i,i=null),l=t.call(this,a?s:so(s))||this;var c=l.vars,d=c.duration,u=c.delay,h=c.immediateRender,f=c.stagger,m=c.overwrite,g=c.keyframes,p=c.defaults,_=c.scrollTrigger,y=c.yoyoEase,C=s.parent||Je,k=(Dt(r)||pf(r)?dr(r[0]):"length"in s)?[r]:un(r),S,M,O,v,D,E,I,j;if(l._targets=k.length?gd(k):no("GSAP target "+r+" not found. https://gsap.com",!qt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Ca(d)||Ca(u)){if(s=l.vars,S=l.timeline=new $t({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:k}),S.kill(),S.parent=S._dp=cr(l),S._start=0,f||Ca(d)||Ca(u)){if(v=k.length,I=f&&Af(f),Zn(f))for(D in f)~e0.indexOf(D)&&(j||(j={}),j[D]=f[D]);for(M=0;M<v;M++)O=Ta(s,t0),O.stagger=0,y&&(O.yoyoEase=y),j&&ys(O,j),E=k[M],O.duration=+fo(d,cr(l),M,E,k),O.delay=(+fo(u,cr(l),M,E,k)||0)-l._delay,!f&&v===1&&O.delay&&(l._delay=u=O.delay,l._start+=u,O.delay=0),S.to(E,O,I?I(M,E,k):0),S._ease=xe.none;S.duration()?d=u=0:l.timeline=0}else if(g){so(cn(S.vars.defaults,{ease:"none"})),S._ease=bs(g.ease||s.ease||"none");var P=0,R,G,T;if(Dt(g))g.forEach(function(x){return S.to(k,x,">")}),S.duration();else{O={};for(D in g)D==="ease"||D==="easeEach"||Dy(D,g[D],O,g.easeEach);for(D in O)for(R=O[D].sort(function(x,N){return x.t-N.t}),P=0,M=0;M<R.length;M++)G=R[M],T={ease:G.e,duration:(G.t-(M?R[M-1].t:0))/100*d},T[D]=G.v,S.to(k,T,P),P+=T.duration;S.duration()<d&&S.to({},{duration:d-S.duration()})}}d||l.duration(d=S.duration())}else l.timeline=0;return m===!0&&!rd&&(Hr=cr(l),Je.killTweensOf(k),Hr=0),qn(C,cr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===Mt(C._time)&&Bt(h)&&oy(cr(l))&&C.data!=="nested")&&(l._tTime=-We,l.render(Math.max(0,-u)||0)),_&&Lf(cr(l),_),l}var n=e.prototype;return n.render=function(s,i,a){var l=this._time,c=this._tDur,d=this._dur,u=s<0,h=s>c-We&&!u?c:s<We?0:s,f,m,g,p,_,y,C,k,S;if(!d)ly(this,s,i,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=h,k=this.timeline,this._repeat){if(p=d+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+s,i,a);if(f=Mt(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===Mt(h/p)&&(f=d,g--),f>d&&(f=d)),y=this._yoyo&&g&1,y&&(S=this._yEase,f=d-f),_=di(this._tTime,p),f===l&&!a&&this._initted&&g===_)return this._tTime=h,this;g!==_&&(k&&this._yEase&&Kf(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(Mt(p*g),!0).invalidate()._lock=0))}if(!this._initted){if($f(this,u?s:f,a,i,h))return this._tTime=0,this;if(l!==this._time&&!(a&&this.vars.repeatRefresh&&g!==_))return this;if(d!==this._dur)return this.render(s,i,a)}if(this._tTime=h,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=C=(S||this._ease)(f/d),this._from&&(this.ratio=C=1-C),f&&!l&&!i&&!g&&(Xt(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(C,m.d),m=m._next;k&&k.render(s<0?s:k._dur*k._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&_d(this,s,i,a),Xt(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!i&&this.parent&&Xt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&_d(this,s,!0,!0),(s||!d)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Ir(this,1),!i&&!(u&&!l)&&(h||l||y)&&(Xt(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},n.resetTo=function(s,i,a,l,c){uo||Qt.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Td(this,d),u=this._ease(d/this._dur),Ty(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Pa(this,0),this.parent||Df(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?lo(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(s,i,Hr&&Hr.vars.overwrite!==!0)._first||lo(this),this.parent&&a!==this.timeline.totalDuration()&&ui(this,this._dur*this.timeline._tDur/a,0,1),this}var l=this._targets,c=s?un(s):l,d=this._ptLookup,u=this._pt,h,f,m,g,p,_,y;if((!i||i==="all")&&sy(l,c))return i==="all"&&(this._pt=0),lo(this);for(h=this._op=this._op||[],i!=="all"&&(xt(i)&&(p={},At(i,function(C){return p[C]=1}),i=p),i=Oy(l,i)),y=l.length;y--;)if(~c.indexOf(l[y])){f=d[y],i==="all"?(h[y]=i,g=f,m={}):(m=h[y]=h[y]||{},g=i);for(p in g)_=f&&f[p],_&&((!("kill"in _.d)||_.d.kill(p)===!0)&&Oa(this,_,"_pt"),delete f[p]),m!=="all"&&(m[p]=1)}return this._initted&&!this._pt&&u&&lo(this),this},e.to=function(s,i){return new e(s,i,arguments[2])},e.from=function(s,i){return io(1,arguments)},e.delayedCall=function(s,i,a,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:l})},e.fromTo=function(s,i,a){return io(2,arguments)},e.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(s,i)},e.killTweensOf=function(s,i,a){return Je.killTweensOf(s,i,a)},e}(ho);cn(_t.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),At("staggerTo,staggerFrom,staggerFromTo",function(t){_t[t]=function(){var e=new $t,n=wd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Od=function(e,n,r){return e[n]=r},n0=function(e,n,r){return e[n](r)},Ey=function(e,n,r,s){return e[n](s.fp,r)},Py=function(e,n,r){return e.setAttribute(n,r)},Dd=function(e,n){return st(e[n])?n0:id(e[n])&&e.setAttribute?Py:Od},r0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Ly=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},s0=function(e,n){var r=n._pt,s="";if(!e&&n.b)s=n.b;else if(e===1&&n.e)s=n.e;else{for(;r;)s=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+s,r=r._next;s+=n.c}n.set(n.t,n.p,s,n)},Ed=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},$y=function(e,n,r,s){for(var i=this._pt,a;i;)a=i._next,i.p===s&&i.modifier(e,n,r),i=a},Ny=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?Oa(this,n,"_pt"):n.dep||(r=1),n=s;return!r},Vy=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},i0=function(e){for(var n=e._pt,r,s,i,a;n;){for(r=n._next,s=i;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:a)?n._prev._next=n:i=n,(n._next=s)?s._prev=n:a=n,n=r}e._pt=i},Ft=function(){function t(n,r,s,i,a,l,c,d,u){this.t=r,this.s=i,this.c=a,this.p=s,this.r=l||r0,this.d=c||this,this.set=d||Od,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,s,i){this.mSet=this.mSet||this.set,this.set=Vy,this.m=r,this.mt=i,this.tween=s},t}();At(pd+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return hd[t]=1}),Gt.TweenMax=Gt.TweenLite=_t,Gt.TimelineLite=Gt.TimelineMax=$t,Je=new $t({sortChildren:!1,defaults:ai,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),qt.stringFilter=qf;var Cs=[],La={},By=[],o0=0,Ay=0,Pd=function(e){return(La[e]||By).map(function(n){return n()})},Ld=function(){var e=Date.now(),n=[];e-o0>2&&(Pd("matchMediaInit"),Cs.forEach(function(r){var s=r.queries,i=r.conditions,a,l,c,d;for(l in s)a=Un.matchMedia(s[l]).matches,a&&(c=1),a!==i[l]&&(i[l]=a,d=1);d&&(r.revert(),c&&n.push(r))}),Pd("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),o0=e,Pd("matchMedia"))},a0=function(){function t(n,r){this.selector=r&&bd(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Ay++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,i){st(r)&&(i=s,s=r,r=st);var a=this,l=function(){var d=Ge,u=a.selector,h;return d&&d!==a&&d.data.push(a),i&&(a.selector=bd(i)),Ge=a,h=s.apply(a,arguments),st(h)&&a._r.push(h),Ge=d,a.selector=u,a.isReverted=!1,h};return a.last=l,r===st?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var s=Ge;Ge=null,r(this),Ge=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof _t&&!(s.parent&&s.parent.data==="nested")&&r.push(s)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,s){var i=this;if(r?function(){for(var l=i.getTweens(),c=i.data.length,d;c--;)d=i.data[c],d.data==="isFlip"&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),c=i.data.length;c--;)d=i.data[c],d instanceof $t?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof _t)&&d.revert&&d.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),s)for(var a=Cs.length;a--;)Cs[a].id===this.id&&Cs.splice(a,1)},e.revert=function(r){this.kill(r||{})},t}(),Fy=function(){function t(n){this.contexts=[],this.scope=n,Ge&&Ge.data.push(this)}var e=t.prototype;return e.add=function(r,s,i){Zn(r)||(r={matches:r});var a=new a0(0,i||this.scope),l=a.conditions={},c,d,u;Ge&&!a.selector&&(a.selector=Ge.selector),this.contexts.push(a),s=a.add("onMatch",s),a.queries=r;for(d in r)d==="all"?u=1:(c=Un.matchMedia(r[d]),c&&(Cs.indexOf(a)<0&&Cs.push(a),(l[d]=c.matches)&&(u=1),c.addListener?c.addListener(Ld):c.addEventListener("change",Ld)));return u&&s(a,function(h){return a.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(s){return s.kill(r,!0)})},t}(),$a={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(s){return Wf(s)})},timeline:function(e){return new $t(e)},getTweensOf:function(e,n){return Je.getTweensOf(e,n)},getProperty:function(e,n,r,s){xt(e)&&(e=un(e)[0]);var i=_s(e||{}).get,a=r?Tf:Sf;return r==="native"&&(r=""),e&&(n?a((Kt[n]&&Kt[n].get||i)(e,n,r,s)):function(l,c,d){return a((Kt[l]&&Kt[l].get||i)(e,l,c,d))})},quickSetter:function(e,n,r){if(e=un(e),e.length>1){var s=e.map(function(u){return Rt.quickSetter(u,n,r)}),i=s.length;return function(u){for(var h=i;h--;)s[h](u)}}e=e[0]||{};var a=Kt[n],l=_s(e),c=l.harness&&(l.harness.aliases||{})[n]||n,d=a?function(u){var h=new a;hi._pt=0,h.init(e,r?u+r:u,hi,0,[e]),h.render(1,h),hi._pt&&Ed(1,hi)}:l.set(e,c);return a?d:function(u){return d(e,c,r?u+r:u,l,1)}},quickTo:function(e,n,r){var s,i=Rt.to(e,ys((s={},s[n]="+=0.1",s.paused=!0,s),r||{})),a=function(c,d,u){return i.resetTo(n,c,d,u)};return a.tween=i,a},isTweening:function(e){return Je.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=bs(e.ease,ai.ease)),Of(ai,e||{})},config:function(e){return Of(qt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,s=e.plugins,i=e.defaults,a=e.extendTimeline;(s||"").split(",").forEach(function(l){return l&&!Kt[l]&&!Gt[l]&&no(n+" effect requires "+l+" plugin.")}),md[n]=function(l,c,d){return r(un(l),cn(c||{},i),d)},a&&($t.prototype[n]=function(l,c,d){return this.add(md[n](l,Zn(c)?c:(d=c)&&{},this),d)})},registerEase:function(e,n){xe[e]=bs(n)},parseEase:function(e,n){return arguments.length?bs(e,n):xe},getById:function(e){return Je.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new $t(e),s,i;for(r.smoothChildTiming=Bt(e.smoothChildTiming),Je.remove(r),r._dp=0,r._time=r._tTime=Je._time,s=Je._first;s;)i=s._next,(n||!(!s._dur&&s instanceof _t&&s.vars.onComplete===s._targets[0]))&&qn(r,s,s._start-s._delay),s=i;return qn(Je,r,0),r},context:function(e,n){return e?new a0(e,n):Ge},matchMedia:function(e){return new Fy(e)},matchMediaRefresh:function(){return Cs.forEach(function(e){var n=e.conditions,r,s;for(s in n)n[s]&&(n[s]=!1,r=1);r&&e.revert()})||Ld()},addEventListener:function(e,n){var r=La[e]||(La[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=La[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:gy,wrapYoyo:_y,distribute:Af,random:Rf,snap:Ff,normalize:py,getUnit:Et,clamp:uy,splitColor:jf,toArray:un,selector:bd,mapRange:zf,pipe:fy,unitize:my,interpolate:yy,shuffle:Bf},install:bf,effects:md,ticker:Qt,updateRoot:$t.updateRoot,plugins:Kt,globalTimeline:Je,core:{PropTween:Ft,globals:kf,Tween:_t,Timeline:$t,Animation:ho,getCache:_s,_removeLinkedListItem:Oa,reverting:function(){return Ot},context:function(e){return e&&Ge&&(Ge.data.push(e),e._ctx=Ge),Ge},suppressOverwrites:function(e){return rd=e}}};At("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return $a[t]=_t[t]}),Qt.add($t.updateRoot),hi=$a.to({},{duration:0});var Ry=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Iy=function(e,n){var r=e._targets,s,i,a;for(s in n)for(i=r.length;i--;)a=e._ptLookup[i][s],a&&(a=a.d)&&(a._pt&&(a=Ry(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},$d=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(xt(i)&&(c={},At(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}Iy(l,i)}}}},Rt=$a.registerPlugin({name:"attr",init:function(e,n,r,s,i){var a,l,c;this.tween=r;for(a in n)c=e.getAttribute(a)||"",l=this.add(e,"setAttribute",(c||0)+"",n[a],s,i,0,0,a),l.op=a,l.b=c,this._props.push(a)},render:function(e,n){for(var r=n._pt;r;)Ot?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},$d("roundProps",kd),$d("modifiers"),$d("snap",Ff))||$a;_t.version=$t.version=Rt.version="3.12.5",wf=1,od()&&fi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var zy=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Nd=xe.Sine;xe.Expo,xe.Circ;/*!
9
+ */var qt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ai={duration:.5,overwrite:!1,delay:0},rd,Dt,Ge,ln=1e8,We=1/ln,sd=Math.PI*2,G8=sd/4,K8=0,mf=Math.sqrt,X8=Math.cos,Q8=Math.sin,xt=function(e){return typeof e=="string"},st=function(e){return typeof e=="function"},dr=function(e){return typeof e=="number"},id=function(e){return typeof e>"u"},Zn=function(e){return typeof e=="object"},Bt=function(e){return e!==!1},od=function(){return typeof window<"u"},Ca=function(e){return st(e)||xt(e)},pf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ot=Array.isArray,ad=/(?:-?\.?\d|\.)+/gi,gf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,li=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ld=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_f=/[+-]=-?[.\d]+/,yf=/[^,'"\[\]\s]+/gi,J8=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Je,Un,cd,dd,Gt={},xa={},wf,bf=function(e){return(xa=ys(e,Gt))&&Rt},ud=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},no=function(e,n){return!n&&console.warn(e)},kf=function(e,n){return e&&(Gt[e]=n)&&xa&&(xa[e]=n)||Gt},ro=function(){return 0},ey={suppressEvents:!0,isStart:!0,kill:!1},Ma={suppressEvents:!0,kill:!1},ty={suppressEvents:!0},hd={},Rr=[],fd={},Cf,Kt={},md={},xf=30,va=[],pd="",gd=function(e){var n=e[0],r,s;if(Zn(n)||st(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=va.length;s--&&!va[s].targetTest(n););r=va[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new Qf(e[s],r)))||e.splice(s,1);return e},_s=function(e){return e._gsap||gd(un(e))[0]._gsap},Mf=function(e,n,r){return(r=e[n])&&st(r)?e[n]():id(r)&&e.getAttribute&&e.getAttribute(n)||r},At=function(e,n){return(e=e.split(",")).forEach(n)||e},ft=function(e){return Math.round(e*1e5)/1e5||0},Mt=function(e){return Math.round(e*1e7)/1e7||0},ci=function(e,n){var r=n.charAt(0),s=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+s:r==="-"?e-s:r==="*"?e*s:e/s},ny=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},Sa=function(){var e=Rr.length,n=Rr.slice(0),r,s;for(fd={},Rr.length=0,r=0;r<e;r++)s=n[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},vf=function(e,n,r,s){Rr.length&&!Dt&&Sa(),e.render(n,r,s||Dt&&n<0&&(e._initted||e._startAt)),Rr.length&&!Dt&&Sa()},Sf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(yf).length<2?n:xt(e)?e.trim():e},Tf=function(e){return e},cn=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},ry=function(e){return function(n,r){for(var s in r)s in n||s==="duration"&&e||s==="ease"||(n[s]=r[s])}},ys=function(e,n){for(var r in n)e[r]=n[r];return e},Df=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Zn(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Ta=function(e,n){var r={},s;for(s in e)s in n||(r[s]=e[s]);return r},so=function(e){var n=e.parent||Je,r=e.keyframes?ry(Ot(e.keyframes)):cn;if(Bt(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},sy=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},Of=function(e,n,r,s,i){r===void 0&&(r="_first"),s===void 0&&(s="_last");var a=e[s],l;if(i)for(l=n[i];a&&a[i]>l;)a=a._prev;return a?(n._next=a._next,a._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[s]=n,n._prev=a,n.parent=n._dp=e,n},Da=function(e,n,r,s){r===void 0&&(r="_first"),s===void 0&&(s="_last");var i=n._prev,a=n._next;i?i._next=a:e[r]===n&&(e[r]=a),a?a._prev=i:e[s]===n&&(e[s]=i),n._next=n._prev=n.parent=null},Ir=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ws=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},iy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},_d=function(e,n,r,s){return e._startAt&&(Dt?e._startAt.revert(Ma):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},oy=function t(e){return!e||e._ts&&t(e.parent)},Ef=function(e){return e._repeat?di(e._tTime,e=e.duration()+e._rDelay)*e:0},di=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},Oa=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Ea=function(e){return e._end=Mt(e._start+(e._tDur/Math.abs(e._ts||e._rts||We)||0))},Pa=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Mt(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Ea(e),r._dirty||ws(r,e)),e},Pf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Oa(e.rawTime(),n),(!n._dur||oo(0,n.totalDuration(),r)-n._tTime>We)&&n.render(r,!0)),ws(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-We}},qn=function(e,n,r,s){return n.parent&&Ir(n),n._start=Mt((dr(r)?r:r||e!==Je?dn(e,r,n):e._time)+n._delay),n._end=Mt(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Of(e,n,"_first","_last",e._sort?"_start":0),yd(n)||(e._recent=n),s||Pf(e,n),e._ts<0&&Pa(e,e._tTime),e},Lf=function(e,n){return(Gt.ScrollTrigger||ud("scrollTrigger",n))&&Gt.ScrollTrigger.create(n,e)},$f=function(e,n,r,s,i){if(Td(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Cf!==Qt.frame)return Rr.push(e),e._lazy=[i,s],1},ay=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},yd=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},ly=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&ay(e)&&!(!e._initted&&yd(e))||(e._ts<0||e._dp._ts<0)&&!yd(e))?0:1,l=e._rDelay,c=0,d,u,h;if(l&&e._repeat&&(c=oo(0,e._tDur,n),u=di(c,l),e._yoyo&&u&1&&(a=1-a),u!==di(e._tTime,l)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||Dt||s||e._zTime===We||!n&&e._zTime){if(!e._initted&&$f(e,n,s,r,c))return;for(h=e._zTime,e._zTime=n||(r?We:0),r||(r=n&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=c,d=e._pt;d;)d.r(a,d.d),d=d._next;n<0&&_d(e,n,r,!0),e._onUpdate&&!r&&Xt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Xt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&Ir(e,1),!r&&!Dt&&(Xt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},cy=function(e,n,r){var s;if(r>n)for(s=e._first;s&&s._start<=r;){if(s.data==="isPause"&&s._start>n)return s;s=s._next}else for(s=e._last;s&&s._start>=r;){if(s.data==="isPause"&&s._start<n)return s;s=s._prev}},ui=function(e,n,r,s){var i=e._repeat,a=Mt(n)||0,l=e._tTime/e._tDur;return l&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Mt(a*(i+1)+e._rDelay*i):a,l>0&&!s&&Pa(e,e._tTime=e._tDur*l),e.parent&&Ea(e),r||ws(e.parent,e),e},Nf=function(e){return e instanceof $t?ws(e):ui(e,e._dur)},dy={_start:0,endTime:ro,totalDuration:ro},dn=function t(e,n,r){var s=e.labels,i=e._recent||dy,a=e.duration()>=ln?i.endTime(!1):e._dur,l,c,d;return xt(n)&&(isNaN(n)||n in s)?(c=n.charAt(0),d=n.substr(-1)==="%",l=n.indexOf("="),c==="<"||c===">"?(l>=0&&(n=n.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(n.substr(1))||0)*(d?(l<0?i:r).totalDuration()/100:1)):l<0?(n in s||(s[n]=a),s[n]):(c=parseFloat(n.charAt(l-1)+n.substr(l+1)),d&&r&&(c=c/100*(Ot(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:a+c)):n==null?a:+n},io=function(e,n,r){var s=dr(n[1]),i=(s?2:1)+(e<2?0:1),a=n[i],l,c;if(s&&(a.duration=n[1]),a.parent=r,e){for(l=a,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=Bt(c.vars.inherit)&&c.parent;a.immediateRender=Bt(l.immediateRender),e<2?a.runBackwards=1:a.startAt=n[i-1]}return new _t(n[0],a,n[i+1])},zr=function(e,n){return e||e===0?n(e):n},oo=function(e,n,r){return r<e?e:r>n?n:r},Et=function(e,n){return!xt(e)||!(n=J8.exec(e))?"":n[1]},uy=function(e,n,r){return zr(r,function(s){return oo(e,n,s)})},wd=[].slice,Vf=function(e,n){return e&&Zn(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Zn(e[0]))&&!e.nodeType&&e!==Un},hy=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return xt(s)&&!n||Vf(s,1)?(i=r).push.apply(i,un(s)):r.push(s)})||r},un=function(e,n,r){return Ge&&!n&&Ge.selector?Ge.selector(e):xt(e)&&!r&&(cd||!fi())?wd.call((n||dd).querySelectorAll(e),0):Ot(e)?hy(e,r):Vf(e)?wd.call(e,0):e?[e]:[]},bd=function(e){return e=un(e)[0]||no("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return un(n,r.querySelectorAll?r:r===e?no("Invalid scope")||dd.createElement("div"):e)}},Bf=function(e){return e.sort(function(){return .5-Math.random()})},Af=function(e){if(st(e))return e;var n=Zn(e)?e:{each:e},r=bs(n.ease),s=n.from||0,i=parseFloat(n.base)||0,a={},l=s>0&&s<1,c=isNaN(s)||l,d=n.axis,u=s,h=s;return xt(s)?u=h={center:.5,edges:.5,end:1}[s]||0:!l&&c&&(u=s[0],h=s[1]),function(f,m,g){var p=(g||n).length,_=a[p],y,C,k,S,M,D,v,O,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,ln])[1],!E){for(v=-ln;v<(v=g[E++].getBoundingClientRect().left)&&E<p;);E<p&&E--}for(_=a[p]=[],y=c?Math.min(E,p)*u-.5:s%E,C=E===ln?0:c?p*h/E-.5:s/E|0,v=0,O=ln,D=0;D<p;D++)k=D%E-y,S=C-(D/E|0),_[D]=M=d?Math.abs(d==="y"?S:k):mf(k*k+S*S),M>v&&(v=M),M<O&&(O=M);s==="random"&&Bf(_),_.max=v-O,_.min=O,_.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(E>p?p-1:d?d==="y"?p/E:E:Math.max(E,p/E))||0)*(s==="edges"?-1:1),_.b=p<0?i-p:i,_.u=Et(n.amount||n.each)||0,r=r&&p<0?Gf(r):r}return p=(_[f]-_.min)/_.max||0,Mt(_.b+(r?r(p):p)*_.v)+_.u}},kd=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=Mt(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(dr(r)?0:Et(r))}},Ff=function(e,n){var r=Ot(e),s,i;return!r&&Zn(e)&&(s=r=e.radius||ln,e.values?(e=un(e.values),(i=!dr(e[0]))&&(s*=s)):e=kd(e.increment)),zr(n,r?st(e)?function(a){return i=e(a),Math.abs(i-a)<=s?i:a}:function(a){for(var l=parseFloat(i?a.x:a),c=parseFloat(i?a.y:0),d=ln,u=0,h=e.length,f,m;h--;)i?(f=e[h].x-l,m=e[h].y-c,f=f*f+m*m):f=Math.abs(e[h]-l),f<d&&(d=f,u=h);return u=!s||d<=s?e[u]:a,i||u===a||dr(a)?u:u+Et(a)}:kd(e))},Rf=function(e,n,r,s){return zr(Ot(e)?!n:r===!0?!!(r=0):!s,function(){return Ot(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*s)/s})},fy=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(s){return n.reduce(function(i,a){return a(i)},s)}},my=function(e,n){return function(r){return e(parseFloat(r))+(n||Et(r))}},py=function(e,n,r){return zf(e,n,0,1,r)},If=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},gy=function t(e,n,r){var s=n-e;return Ot(e)?If(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},_y=function t(e,n,r){var s=n-e,i=s*2;return Ot(e)?If(e,t(0,e.length-1),n):zr(r,function(a){return a=(i+(a-e)%i)%i||0,e+(a>s?i-a:a)})},ao=function(e){for(var n=0,r="",s,i,a,l;~(s=e.indexOf("random(",n));)a=e.indexOf(")",s),l=e.charAt(s+7)==="[",i=e.substr(s+7,a-s-7).match(l?yf:ad),r+=e.substr(n,s-n)+Rf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},zf=function(e,n,r,s,i){var a=n-e,l=s-r;return zr(i,function(c){return r+((c-e)/a*l||0)})},yy=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=xt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if(Ot(e)&&!Ot(n)){for(u=[],h=e.length,f=h-2,d=1;d<h;d++)u.push(t(e[d-1],e[d]));h--,i=function(g){g*=h;var p=Math.min(f,~~g);return u[p](g-p)},r=n}else s||(e=ys(Ot(e)?[]:{},e));if(!u){for(c in n)vd.call(l,e,c,"get",n[c]);i=function(g){return Ed(g,l)||(a?e.p:e)}}}return zr(r,i)},Yf=function(e,n,r){var s=e.labels,i=ln,a,l,c;for(a in s)l=s[a]-n,l<0==!!r&&l&&i>(l=Math.abs(l))&&(c=a,i=l);return c},Xt=function(e,n,r){var s=e.vars,i=s[n],a=Ge,l=e._ctx,c,d,u;if(i)return c=s[n+"Params"],d=s.callbackScope||e,r&&Rr.length&&Sa(),l&&(Ge=l),u=c?i.apply(d,c):i.call(d),Ge=a,u},lo=function(e){return Ir(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Dt),e.progress()<1&&Xt(e,"onInterrupt"),e},hi,Hf=[],Wf=function(e){if(e)if(e=!e.name&&e.default||e,od()||e.headless){var n=e.name,r=st(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:ro,render:Ed,add:vd,kill:Ny,modifier:$y,rawVars:0},a={targetTest:0,get:0,getSetter:Od,aliases:{},register:0};if(fi(),e!==s){if(Kt[n])return;cn(s,cn(Ta(e,i),a)),ys(s.prototype,ys(i,Ta(e,a))),Kt[s.prop=n]=s,e.targetTest&&(va.push(s),hd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}kf(n,s),e.register&&e.register(Rt,s,Ft)}else Hf.push(e)},Ye=255,co={aqua:[0,Ye,Ye],lime:[0,Ye,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ye],navy:[0,0,128],white:[Ye,Ye,Ye],olive:[128,128,0],yellow:[Ye,Ye,0],orange:[Ye,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ye,0,0],pink:[Ye,192,203],cyan:[0,Ye,Ye],transparent:[Ye,Ye,Ye,0]},Cd=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*Ye+.5|0},jf=function(e,n,r){var s=e?dr(e)?[e>>16,e>>8&Ye,e&Ye]:0:co.black,i,a,l,c,d,u,h,f,m,g;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),co[e])s=co[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),l=e.charAt(3),e="#"+i+i+a+a+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&Ye,s&Ye,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&Ye,e&Ye]}else if(e.substr(0,3)==="hsl"){if(s=g=e.match(ad),!n)c=+s[0]%360/360,d=+s[1]/100,u=+s[2]/100,a=u<=.5?u*(d+1):u+d-u*d,i=u*2-a,s.length>3&&(s[3]*=1),s[0]=Cd(c+1/3,i,a),s[1]=Cd(c,i,a),s[2]=Cd(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(gf),r&&s.length<4&&(s[3]=1),s}else s=e.match(ad)||co.transparent;s=s.map(Number)}return n&&!g&&(i=s[0]/Ye,a=s[1]/Ye,l=s[2]/Ye,h=Math.max(i,a,l),f=Math.min(i,a,l),u=(h+f)/2,h===f?c=d=0:(m=h-f,d=u>.5?m/(2-h-f):m/(h+f),c=h===i?(a-l)/m+(a<l?6:0):h===a?(l-i)/m+2:(i-a)/m+4,c*=60),s[0]=~~(c+.5),s[1]=~~(d*100+.5),s[2]=~~(u*100+.5)),r&&s.length<4&&(s[3]=1),s},Zf=function(e){var n=[],r=[],s=-1;return e.split(Yr).forEach(function(i){var a=i.match(li)||[];n.push.apply(n,a),r.push(s+=a.length+1)}),n.c=r,n},Uf=function(e,n,r){var s="",i=(e+s).match(Yr),a=n?"hsla(":"rgba(",l=0,c,d,u,h;if(!i)return e;if(i=i.map(function(f){return(f=jf(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=Zf(e),c=r.c,c.join(s)!==u.c.join(s)))for(d=e.replace(Yr,"1").split(li),h=d.length-1;l<h;l++)s+=d[l]+(~c.indexOf(l)?i.shift()||a+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!d)for(d=e.split(Yr),h=d.length-1;l<h;l++)s+=d[l]+i[l];return s+d[h]},Yr=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in co)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),wy=/hsl[a]?\(/,qf=function(e){var n=e.join(" "),r;if(Yr.lastIndex=0,Yr.test(n))return r=wy.test(n),e[1]=Uf(e[1],r),e[0]=Uf(e[0],r,Zf(e[1])),!0},uo,Qt=function(){var t=Date.now,e=500,n=33,r=t(),s=r,i=1e3/240,a=i,l=[],c,d,u,h,f,m,g=function p(_){var y=t()-s,C=_===!0,k,S,M,D;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,k=M-a,(k>0||C)&&(D=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=k+(k>=i?4:i-k),S=1),C||(c=d(p)),S)for(m=0;m<l.length;m++)l[m](M,f,D,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){wf&&(!cd&&od()&&(Un=cd=window,dd=Un.document||{},Gt.gsap=Rt,(Un.gsapVersions||(Un.gsapVersions=[])).push(Rt.version),bf(xa||Un.GreenSockGlobals||!Un.gsap&&Un||{}),Hf.forEach(Wf)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),d=u||function(_){return setTimeout(_,a-h.time*1e3+1|0)},uo=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),uo=0,d=ro},lagSmoothing:function(_,y){e=_||1/0,n=Math.min(y||33,e)},fps:function(_){i=1e3/(_||240),a=h.time*1e3+i},add:function(_,y,C){var k=y?function(S,M,D,v){_(S,M,D,v),h.remove(k)}:_;return h.remove(_),l[C?"unshift":"push"](k),fi(),k},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),fi=function(){return!uo&&Qt.wake()},xe={},by=/^[\d.\-M][\d.\-,\s]/,ky=/["']/g,Cy=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),s=r[0],i=1,a=r.length,l,c,d;i<a;i++)c=r[i],l=i!==a-1?c.lastIndexOf(","):c.length,d=c.substr(0,l),n[s]=isNaN(d)?d.replace(ky,"").trim():+d,s=c.substr(l+1).trim();return n},xy=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),s=e.indexOf("(",n);return e.substring(n,~s&&s<r?e.indexOf(")",r+1):r)},My=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Cy(n[1])]:xy(e).split(",").map(Sf)):xe._CE&&by.test(e)?xe._CE("",e):r},Gf=function(e){return function(n){return 1-e(1-n)}},Kf=function t(e,n){for(var r=e._first,s;r;)r instanceof $t?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(s=r._ease,r._ease=r._yEase,r._yEase=s,r._yoyo=n)),r=r._next},bs=function(e,n){return e&&(st(e)?e:xe[e]||My(e))||n},ks=function(e,n,r,s){r===void 0&&(r=function(c){return 1-n(1-c)}),s===void 0&&(s=function(c){return c<.5?n(c*2)/2:1-n((1-c)*2)/2});var i={easeIn:n,easeOut:r,easeInOut:s},a;return At(e,function(l){xe[l]=Gt[l]=i,xe[a=l.toLowerCase()]=r;for(var c in i)xe[a+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=xe[l+"."+c]=i[c]}),i},Xf=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},xd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/sd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*Q8((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:Xf(l);return i=sd/i,c.config=function(d,u){return t(e,d,u)},c},Md=function t(e,n){n===void 0&&(n=1.70158);var r=function(a){return a?--a*a*((n+1)*a+n)+1:0},s=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Xf(r);return s.config=function(i){return t(e,i)},s};At("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;ks(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),xe.Linear.easeNone=xe.none=xe.Linear.easeIn,ks("Elastic",xd("in"),xd("out"),xd()),function(t,e){var n=1/e,r=2*n,s=2.5*n,i=function(l){return l<n?t*l*l:l<r?t*Math.pow(l-1.5/e,2)+.75:l<s?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ks("Bounce",function(a){return 1-i(1-a)},i)}(7.5625,2.75),ks("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),ks("Circ",function(t){return-(mf(1-t*t)-1)}),ks("Sine",function(t){return t===1?1:-X8(t*G8)+1}),ks("Back",Md("in"),Md("out"),Md()),xe.SteppedEase=xe.steps=Gt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,s=e+(n?0:1),i=n?1:0,a=1-We;return function(l){return((s*oo(0,a,l)|0)+i)*r}}},ai.ease=xe["quad.out"],At("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return pd+=t+","+t+"Params,"});var Qf=function(e,n){this.id=K8++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Mf,this.set=n?n.getSetter:Od},ho=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,ui(this,+n.duration,1,1),this.data=n.data,Ge&&(this._ctx=Ge,Ge.data.push(this)),uo||Qt.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,ui(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,s){if(fi(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Pa(this,r),!i._dp||i.parent||Pf(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&qn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===We||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),vf(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ef(this))%(this._dur+this._rDelay)||(r?this._dur:0),s):this._time},e.totalProgress=function(r,s){return arguments.length?this.totalTime(this.totalDuration()*r,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ef(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,s):this._repeat?di(this._tTime,i)+1:1},e.timeScale=function(r,s){if(!arguments.length)return this._rts===-We?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Oa(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-We?0:this._rts,this.totalTime(oo(-Math.abs(this._delay),this._tDur,i),s!==!1),Ea(this),iy(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==We&&(this._tTime-=We)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&qn(s,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Bt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var s=this.parent||this._dp;return s?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Oa(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=ty);var s=Dt;return Dt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Dt=s,this},e.globalTime=function(r){for(var s=this,i=arguments.length?r:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Nf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Nf(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,s){return this.totalTime(dn(this,r),Bt(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,Bt(s))},e.play=function(r,s){return r!=null&&this.seek(r,s),this.reversed(!1).paused(!1)},e.reverse=function(r,s){return r!=null&&this.seek(r||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(r,s){return r!=null&&this.seek(r,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-We:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-We,this},e.isActive=function(){var r=this.parent||this._dp,s=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=s&&i<this.endTime(!0)-We)},e.eventCallback=function(r,s,i){var a=this.vars;return arguments.length>1?(s?(a[r]=s,i&&(a[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=s)):delete a[r],this):a[r]},e.then=function(r){var s=this;return new Promise(function(i){var a=st(r)?r:Tf,l=function(){var d=s.then;s.then=null,st(a)&&(a=a(s))&&(a.then||a===s)&&(s.then=d),i(a),s.then=d};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?l():s._prom=l})},e.kill=function(){lo(this)},t}();cn(ho.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-We,_prom:0,_ps:!1,_rts:1});var $t=function(t){ff(e,t);function e(r,s){var i;return r===void 0&&(r={}),i=t.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=Bt(r.sortChildren),Je&&qn(r.parent||Je,cr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Lf(cr(i),r.scrollTrigger),i}var n=e.prototype;return n.to=function(s,i,a){return io(0,arguments,this),this},n.from=function(s,i,a){return io(1,arguments,this),this},n.fromTo=function(s,i,a,l){return io(2,arguments,this),this},n.set=function(s,i,a){return i.duration=0,i.parent=this,so(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new _t(s,i,dn(this,a),1),this},n.call=function(s,i,a){return qn(this,_t.delayedCall(0,s,i),a)},n.staggerTo=function(s,i,a,l,c,d,u){return a.duration=i,a.stagger=a.stagger||l,a.onComplete=d,a.onCompleteParams=u,a.parent=this,new _t(s,a,dn(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,so(a).immediateRender=Bt(a.immediateRender),this.staggerTo(s,i,a,l,c,d,u)},n.staggerFromTo=function(s,i,a,l,c,d,u,h){return l.startAt=a,so(l).immediateRender=Bt(l.immediateRender),this.staggerTo(s,i,l,c,d,u,h)},n.render=function(s,i,a){var l=this._time,c=this._dirty?this.totalDuration():this._tDur,d=this._dur,u=s<=0?0:Mt(s),h=this._zTime<0!=s<0&&(this._initted||!d),f,m,g,p,_,y,C,k,S,M,D,v;if(this!==Je&&u>c&&s>=0&&(u=c),u!==this._tTime||a||h){if(l!==this._time&&d&&(u+=this._time-l,s+=this._time-l),f=u,S=this._start,k=this._ts,y=!k,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(D=this._yoyo,_=d+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(_*100+s,i,a);if(f=Mt(u%_),u===c?(p=this._repeat,f=d):(p=~~(u/_),p&&p===u/_&&(f=d,p--),f>d&&(f=d)),M=di(this._tTime,_),!l&&this._tTime&&M!==p&&this._tTime-M*_-this._dur<=0&&(M=p),D&&p&1&&(f=d-f,v=1),p!==M&&!this._lock){var O=D&&M&1,E=O===(D&&p&1);if(p<M&&(O=!O),l=O?0:u%d?d:u,this._lock=1,this.render(l||(v?0:Mt(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&Xt(this,"onRepeat"),this.vars.repeatRefresh&&!v&&(this.invalidate()._lock=1),l&&l!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,c=this._tDur,E&&(this._lock=2,l=O?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!v&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;Kf(this,v)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=cy(this,Mt(l),Mt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&f&&!i&&!p&&(Xt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&s>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,i,a),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=-We);break}}m=g}else{m=this._last;for(var I=s<0?s:f;m;){if(g=m._prev,(m._act||I<=m._end)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(I-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(I-m._start)*m._ts,i,a||Dt&&(m._initted||m._startAt)),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=I?-We:We);break}}m=g}}if(C&&!i&&(this.pause(),C.render(f>=l?0:-We)._zTime=f>=l?1:-1,this._ts))return this._start=S,Ea(this),this.render(s,i,a);this._onUpdate&&!i&&Xt(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&l)&&(S===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((s||!d)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Ir(this,1),!i&&!(s<0&&!l)&&(u||l||!c)&&(Xt(this,u===c&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(s,i){var a=this;if(dr(i)||(i=dn(this,i,s)),!(s instanceof ho)){if(Ot(s))return s.forEach(function(l){return a.add(l,i)}),this;if(xt(s))return this.addLabel(s,i);if(st(s))s=_t.delayedCall(0,s);else return this}return this!==s?qn(this,s,i):this},n.getChildren=function(s,i,a,l){s===void 0&&(s=!0),i===void 0&&(i=!0),a===void 0&&(a=!0),l===void 0&&(l=-ln);for(var c=[],d=this._first;d;)d._start>=l&&(d instanceof _t?i&&c.push(d):(a&&c.push(d),s&&c.push.apply(c,d.getChildren(!0,i,a)))),d=d._next;return c},n.getById=function(s){for(var i=this.getChildren(1,1,1),a=i.length;a--;)if(i[a].vars.id===s)return i[a]},n.remove=function(s){return xt(s)?this.removeLabel(s):st(s)?this.killTweensOf(s):(Da(this,s),s===this._recent&&(this._recent=this._last),ws(this))},n.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Mt(Qt.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},n.addLabel=function(s,i){return this.labels[s]=dn(this,i),this},n.removeLabel=function(s){return delete this.labels[s],this},n.addPause=function(s,i,a){var l=_t.delayedCall(0,i||ro,a);return l.data="isPause",this._hasPause=1,qn(this,l,dn(this,s))},n.removePause=function(s){var i=this._first;for(s=dn(this,s);i;)i._start===s&&i.data==="isPause"&&Ir(i),i=i._next},n.killTweensOf=function(s,i,a){for(var l=this.getTweensOf(s,a),c=l.length;c--;)Hr!==l[c]&&l[c].kill(s,i);return this},n.getTweensOf=function(s,i){for(var a=[],l=un(s),c=this._first,d=dr(i),u;c;)c instanceof _t?ny(c._targets,l)&&(d?(!Hr||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&a.push(c):(u=c.getTweensOf(l,i)).length&&a.push.apply(a,u),c=c._next;return a},n.tweenTo=function(s,i){i=i||{};var a=this,l=dn(a,s),c=i,d=c.startAt,u=c.onStart,h=c.onStartParams,f=c.immediateRender,m,g=_t.to(a,cn({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale())||We,onStart:function(){if(a.pause(),!m){var _=i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale());g._dur!==_&&ui(g,_,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,h||[])}},i));return f?g.render(0):g},n.tweenFromTo=function(s,i,a){return this.tweenTo(i,cn({startAt:{time:dn(this,s)}},a))},n.recent=function(){return this._recent},n.nextLabel=function(s){return s===void 0&&(s=this._time),Yf(this,dn(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),Yf(this,dn(this,s),1)},n.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+We)},n.shiftChildren=function(s,i,a){a===void 0&&(a=0);for(var l=this._first,c=this.labels,d;l;)l._start>=a&&(l._start+=s,l._end+=s),l=l._next;if(i)for(d in c)c[d]>=a&&(c[d]+=s);return ws(this)},n.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return t.prototype.invalidate.call(this,s)},n.clear=function(s){s===void 0&&(s=!0);for(var i=this._first,a;i;)a=i._next,this.remove(i),i=a;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),ws(this)},n.totalDuration=function(s){var i=0,a=this,l=a._last,c=ln,d,u,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-s:s));if(a._dirty){for(h=a.parent;l;)d=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>c&&a._sort&&l._ts&&!a._lock?(a._lock=1,qn(a,l,u-l._delay,1)._lock=0):c=u,u<0&&l._ts&&(i-=u,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=u/a._ts,a._time-=u,a._tTime-=u),a.shiftChildren(-u,!1,-1/0),c=0),l._end>i&&l._ts&&(i=l._end),l=d;ui(a,a===Je&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(s){if(Je._ts&&(vf(Je,Oa(s,Je)),Cf=Qt.frame),Qt.frame>=xf){xf+=qt.autoSleep||120;var i=Je._first;if((!i||!i._ts)&&qt.autoSleep&&Qt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Qt.sleep()}}},e}(ho);cn($t.prototype,{_lock:0,_hasPause:0,_forcing:0});var vy=function(e,n,r,s,i,a,l){var c=new Ft(this._pt,e,n,0,1,s0,null,i),d=0,u=0,h,f,m,g,p,_,y,C;for(c.b=r,c.e=s,r+="",s+="",(y=~s.indexOf("random("))&&(s=ao(s)),a&&(C=[r,s],a(C,e,n),r=C[0],s=C[1]),f=r.match(ld)||[];h=ld.exec(s);)g=h[0],p=s.substring(d,h.index),m?m=(m+1)%5:p.substr(-5)==="rgba("&&(m=1),g!==f[u++]&&(_=parseFloat(f[u-1])||0,c._pt={_next:c._pt,p:p||u===1?p:",",s:_,c:g.charAt(1)==="="?ci(_,g)-_:parseFloat(g)-_,m:m&&m<4?Math.round:0},d=ld.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(_f.test(s)||y)&&(c.e=0),this._pt=c,c},vd=function(e,n,r,s,i,a,l,c,d,u){st(s)&&(s=s(i||0,e,a));var h=e[n],f=r!=="get"?r:st(h)?d?e[n.indexOf("set")||!st(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():h,m=st(h)?d?Ey:n0:Dd,g;if(xt(s)&&(~s.indexOf("random(")&&(s=ao(s)),s.charAt(1)==="="&&(g=ci(f,s)+(Et(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Sd)return!isNaN(f*s)&&s!==""?(g=new Ft(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?Ly:r0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&ud(n,s),vy.call(this,e,n,f,s,m,c||qt.stringFilter,d))},Sy=function(e,n,r,s,i){if(st(e)&&(e=fo(e,i,n,r,s)),!Zn(e)||e.style&&e.nodeType||Ot(e)||pf(e))return xt(e)?fo(e,i,n,r,s):e;var a={},l;for(l in e)a[l]=fo(e[l],i,n,r,s);return a},Jf=function(e,n,r,s,i,a){var l,c,d,u;if(Kt[e]&&(l=new Kt[e]).init(i,l.rawVars?n[e]:Sy(n[e],s,i,a,r),r,s,a)!==!1&&(r._pt=c=new Ft(r._pt,i,e,0,1,l.render,l,0,l.priority),r!==hi))for(d=r._ptLookup[r._targets.indexOf(i)],u=l._props.length;u--;)d[l._props[u]]=c;return l},Hr,Sd,Td=function t(e,n,r){var s=e.vars,i=s.ease,a=s.startAt,l=s.immediateRender,c=s.lazy,d=s.onUpdate,u=s.runBackwards,h=s.yoyoEase,f=s.keyframes,m=s.autoRevert,g=e._dur,p=e._startAt,_=e._targets,y=e.parent,C=y&&y.data==="nested"?y.vars.targets:_,k=e._overwrite==="auto"&&!rd,S=e.timeline,M,D,v,O,E,I,j,P,R,G,T,x,N;if(S&&(!f||!i)&&(i="none"),e._ease=bs(i,ai.ease),e._yEase=h?Gf(bs(h===!0?i:h,ai.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!S&&!!s.runBackwards,!S||f&&!s.stagger){if(P=_[0]?_s(_[0]).harness:0,x=P&&s[P.prop],M=Ta(s,hd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?Ma:ey),p._lazy=0),a){if(Ir(e._startAt=_t.set(_,cn({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&Bt(c),startAt:null,delay:0,onUpdate:d&&function(){return Xt(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Dt||!l&&!m)&&e._startAt.revert(Ma),l&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&g&&!p){if(n&&(l=!1),v=cn({overwrite:!1,data:"isFromStart",lazy:l&&!p&&Bt(c),immediateRender:l,stagger:0,parent:y},M),x&&(v[P.prop]=x),Ir(e._startAt=_t.set(_,v)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Dt?e._startAt.revert(Ma):e._startAt.render(-1,!0)),e._zTime=n,!l)t(e._startAt,We,We);else if(!n)return}for(e._pt=e._ptCache=0,c=g&&Bt(c)||c&&!g,D=0;D<_.length;D++){if(E=_[D],j=E._gsap||gd(_)[D]._gsap,e._ptLookup[D]=G={},fd[j.id]&&Rr.length&&Sa(),T=C===_?D:C.indexOf(E),P&&(R=new P).init(E,x||M,e,T,C)!==!1&&(e._pt=O=new Ft(e._pt,E,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(Z){G[Z]=O}),R.priority&&(I=1)),!P||x)for(v in M)Kt[v]&&(R=Jf(v,M,e,T,E,C))?R.priority&&(I=1):G[v]=O=vd.call(e,E,v,"get",M[v],T,C,0,s.stringFilter);e._op&&e._op[D]&&e.kill(E,e._op[D]),k&&e._pt&&(Hr=e,Je.killTweensOf(E,G,e.globalTime(n)),N=!e.parent,Hr=0),e._pt&&c&&(fd[j.id]=1)}I&&i0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!N,f&&n<=0&&S.render(ln,!0,!0)},Ty=function(e,n,r,s,i,a,l,c){var d=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,h,f,m;if(!d)for(d=e._ptCache[n]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return Sd=1,e.vars[n]="+=0",Td(e,l),Sd=0,c?no(n+" not eligible for reset"):1;d.push(u)}for(m=d.length;m--;)h=d[m],u=h._pt||h,u.s=(s||s===0)&&!i?s:u.s+(s||0)+a*u.c,u.c=r-u.s,h.e&&(h.e=ft(r)+Et(h.e)),h.b&&(h.b=u.s+Et(h.b))},Dy=function(e,n){var r=e[0]?_s(e[0]).harness:0,s=r&&r.aliases,i,a,l,c;if(!s)return n;i=ys({},n);for(a in s)if(a in i)for(c=s[a].split(","),l=c.length;l--;)i[c[l]]=i[a];return i},Oy=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Ot(n))l=r[e]||(r[e]=[]),n.forEach(function(c,d){return l.push({t:d/(n.length-1)*100,v:c,e:i})});else for(a in n)l=r[a]||(r[a]=[]),a==="ease"||l.push({t:parseFloat(e),v:n[a],e:i})},fo=function(e,n,r,s,i){return st(e)?e.call(n,r,s,i):xt(e)&&~e.indexOf("random(")?ao(e):e},e0=pd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",t0={};At(e0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return t0[t]=1});var _t=function(t){ff(e,t);function e(r,s,i,a){var l;typeof s=="number"&&(i.duration=s,s=i,i=null),l=t.call(this,a?s:so(s))||this;var c=l.vars,d=c.duration,u=c.delay,h=c.immediateRender,f=c.stagger,m=c.overwrite,g=c.keyframes,p=c.defaults,_=c.scrollTrigger,y=c.yoyoEase,C=s.parent||Je,k=(Ot(r)||pf(r)?dr(r[0]):"length"in s)?[r]:un(r),S,M,D,v,O,E,I,j;if(l._targets=k.length?gd(k):no("GSAP target "+r+" not found. https://gsap.com",!qt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Ca(d)||Ca(u)){if(s=l.vars,S=l.timeline=new $t({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:k}),S.kill(),S.parent=S._dp=cr(l),S._start=0,f||Ca(d)||Ca(u)){if(v=k.length,I=f&&Af(f),Zn(f))for(O in f)~e0.indexOf(O)&&(j||(j={}),j[O]=f[O]);for(M=0;M<v;M++)D=Ta(s,t0),D.stagger=0,y&&(D.yoyoEase=y),j&&ys(D,j),E=k[M],D.duration=+fo(d,cr(l),M,E,k),D.delay=(+fo(u,cr(l),M,E,k)||0)-l._delay,!f&&v===1&&D.delay&&(l._delay=u=D.delay,l._start+=u,D.delay=0),S.to(E,D,I?I(M,E,k):0),S._ease=xe.none;S.duration()?d=u=0:l.timeline=0}else if(g){so(cn(S.vars.defaults,{ease:"none"})),S._ease=bs(g.ease||s.ease||"none");var P=0,R,G,T;if(Ot(g))g.forEach(function(x){return S.to(k,x,">")}),S.duration();else{D={};for(O in g)O==="ease"||O==="easeEach"||Oy(O,g[O],D,g.easeEach);for(O in D)for(R=D[O].sort(function(x,N){return x.t-N.t}),P=0,M=0;M<R.length;M++)G=R[M],T={ease:G.e,duration:(G.t-(M?R[M-1].t:0))/100*d},T[O]=G.v,S.to(k,T,P),P+=T.duration;S.duration()<d&&S.to({},{duration:d-S.duration()})}}d||l.duration(d=S.duration())}else l.timeline=0;return m===!0&&!rd&&(Hr=cr(l),Je.killTweensOf(k),Hr=0),qn(C,cr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===Mt(C._time)&&Bt(h)&&oy(cr(l))&&C.data!=="nested")&&(l._tTime=-We,l.render(Math.max(0,-u)||0)),_&&Lf(cr(l),_),l}var n=e.prototype;return n.render=function(s,i,a){var l=this._time,c=this._tDur,d=this._dur,u=s<0,h=s>c-We&&!u?c:s<We?0:s,f,m,g,p,_,y,C,k,S;if(!d)ly(this,s,i,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=h,k=this.timeline,this._repeat){if(p=d+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+s,i,a);if(f=Mt(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===Mt(h/p)&&(f=d,g--),f>d&&(f=d)),y=this._yoyo&&g&1,y&&(S=this._yEase,f=d-f),_=di(this._tTime,p),f===l&&!a&&this._initted&&g===_)return this._tTime=h,this;g!==_&&(k&&this._yEase&&Kf(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(Mt(p*g),!0).invalidate()._lock=0))}if(!this._initted){if($f(this,u?s:f,a,i,h))return this._tTime=0,this;if(l!==this._time&&!(a&&this.vars.repeatRefresh&&g!==_))return this;if(d!==this._dur)return this.render(s,i,a)}if(this._tTime=h,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=C=(S||this._ease)(f/d),this._from&&(this.ratio=C=1-C),f&&!l&&!i&&!g&&(Xt(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(C,m.d),m=m._next;k&&k.render(s<0?s:k._dur*k._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&_d(this,s,i,a),Xt(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!i&&this.parent&&Xt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&_d(this,s,!0,!0),(s||!d)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Ir(this,1),!i&&!(u&&!l)&&(h||l||y)&&(Xt(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},n.resetTo=function(s,i,a,l,c){uo||Qt.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Td(this,d),u=this._ease(d/this._dur),Ty(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Pa(this,0),this.parent||Of(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?lo(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(s,i,Hr&&Hr.vars.overwrite!==!0)._first||lo(this),this.parent&&a!==this.timeline.totalDuration()&&ui(this,this._dur*this.timeline._tDur/a,0,1),this}var l=this._targets,c=s?un(s):l,d=this._ptLookup,u=this._pt,h,f,m,g,p,_,y;if((!i||i==="all")&&sy(l,c))return i==="all"&&(this._pt=0),lo(this);for(h=this._op=this._op||[],i!=="all"&&(xt(i)&&(p={},At(i,function(C){return p[C]=1}),i=p),i=Dy(l,i)),y=l.length;y--;)if(~c.indexOf(l[y])){f=d[y],i==="all"?(h[y]=i,g=f,m={}):(m=h[y]=h[y]||{},g=i);for(p in g)_=f&&f[p],_&&((!("kill"in _.d)||_.d.kill(p)===!0)&&Da(this,_,"_pt"),delete f[p]),m!=="all"&&(m[p]=1)}return this._initted&&!this._pt&&u&&lo(this),this},e.to=function(s,i){return new e(s,i,arguments[2])},e.from=function(s,i){return io(1,arguments)},e.delayedCall=function(s,i,a,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:l})},e.fromTo=function(s,i,a){return io(2,arguments)},e.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(s,i)},e.killTweensOf=function(s,i,a){return Je.killTweensOf(s,i,a)},e}(ho);cn(_t.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),At("staggerTo,staggerFrom,staggerFromTo",function(t){_t[t]=function(){var e=new $t,n=wd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Dd=function(e,n,r){return e[n]=r},n0=function(e,n,r){return e[n](r)},Ey=function(e,n,r,s){return e[n](s.fp,r)},Py=function(e,n,r){return e.setAttribute(n,r)},Od=function(e,n){return st(e[n])?n0:id(e[n])&&e.setAttribute?Py:Dd},r0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Ly=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},s0=function(e,n){var r=n._pt,s="";if(!e&&n.b)s=n.b;else if(e===1&&n.e)s=n.e;else{for(;r;)s=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+s,r=r._next;s+=n.c}n.set(n.t,n.p,s,n)},Ed=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},$y=function(e,n,r,s){for(var i=this._pt,a;i;)a=i._next,i.p===s&&i.modifier(e,n,r),i=a},Ny=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?Da(this,n,"_pt"):n.dep||(r=1),n=s;return!r},Vy=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},i0=function(e){for(var n=e._pt,r,s,i,a;n;){for(r=n._next,s=i;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:a)?n._prev._next=n:i=n,(n._next=s)?s._prev=n:a=n,n=r}e._pt=i},Ft=function(){function t(n,r,s,i,a,l,c,d,u){this.t=r,this.s=i,this.c=a,this.p=s,this.r=l||r0,this.d=c||this,this.set=d||Dd,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,s,i){this.mSet=this.mSet||this.set,this.set=Vy,this.m=r,this.mt=i,this.tween=s},t}();At(pd+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return hd[t]=1}),Gt.TweenMax=Gt.TweenLite=_t,Gt.TimelineLite=Gt.TimelineMax=$t,Je=new $t({sortChildren:!1,defaults:ai,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),qt.stringFilter=qf;var Cs=[],La={},By=[],o0=0,Ay=0,Pd=function(e){return(La[e]||By).map(function(n){return n()})},Ld=function(){var e=Date.now(),n=[];e-o0>2&&(Pd("matchMediaInit"),Cs.forEach(function(r){var s=r.queries,i=r.conditions,a,l,c,d;for(l in s)a=Un.matchMedia(s[l]).matches,a&&(c=1),a!==i[l]&&(i[l]=a,d=1);d&&(r.revert(),c&&n.push(r))}),Pd("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),o0=e,Pd("matchMedia"))},a0=function(){function t(n,r){this.selector=r&&bd(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Ay++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,i){st(r)&&(i=s,s=r,r=st);var a=this,l=function(){var d=Ge,u=a.selector,h;return d&&d!==a&&d.data.push(a),i&&(a.selector=bd(i)),Ge=a,h=s.apply(a,arguments),st(h)&&a._r.push(h),Ge=d,a.selector=u,a.isReverted=!1,h};return a.last=l,r===st?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var s=Ge;Ge=null,r(this),Ge=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof _t&&!(s.parent&&s.parent.data==="nested")&&r.push(s)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,s){var i=this;if(r?function(){for(var l=i.getTweens(),c=i.data.length,d;c--;)d=i.data[c],d.data==="isFlip"&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),c=i.data.length;c--;)d=i.data[c],d instanceof $t?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof _t)&&d.revert&&d.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),s)for(var a=Cs.length;a--;)Cs[a].id===this.id&&Cs.splice(a,1)},e.revert=function(r){this.kill(r||{})},t}(),Fy=function(){function t(n){this.contexts=[],this.scope=n,Ge&&Ge.data.push(this)}var e=t.prototype;return e.add=function(r,s,i){Zn(r)||(r={matches:r});var a=new a0(0,i||this.scope),l=a.conditions={},c,d,u;Ge&&!a.selector&&(a.selector=Ge.selector),this.contexts.push(a),s=a.add("onMatch",s),a.queries=r;for(d in r)d==="all"?u=1:(c=Un.matchMedia(r[d]),c&&(Cs.indexOf(a)<0&&Cs.push(a),(l[d]=c.matches)&&(u=1),c.addListener?c.addListener(Ld):c.addEventListener("change",Ld)));return u&&s(a,function(h){return a.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(s){return s.kill(r,!0)})},t}(),$a={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(s){return Wf(s)})},timeline:function(e){return new $t(e)},getTweensOf:function(e,n){return Je.getTweensOf(e,n)},getProperty:function(e,n,r,s){xt(e)&&(e=un(e)[0]);var i=_s(e||{}).get,a=r?Tf:Sf;return r==="native"&&(r=""),e&&(n?a((Kt[n]&&Kt[n].get||i)(e,n,r,s)):function(l,c,d){return a((Kt[l]&&Kt[l].get||i)(e,l,c,d))})},quickSetter:function(e,n,r){if(e=un(e),e.length>1){var s=e.map(function(u){return Rt.quickSetter(u,n,r)}),i=s.length;return function(u){for(var h=i;h--;)s[h](u)}}e=e[0]||{};var a=Kt[n],l=_s(e),c=l.harness&&(l.harness.aliases||{})[n]||n,d=a?function(u){var h=new a;hi._pt=0,h.init(e,r?u+r:u,hi,0,[e]),h.render(1,h),hi._pt&&Ed(1,hi)}:l.set(e,c);return a?d:function(u){return d(e,c,r?u+r:u,l,1)}},quickTo:function(e,n,r){var s,i=Rt.to(e,ys((s={},s[n]="+=0.1",s.paused=!0,s),r||{})),a=function(c,d,u){return i.resetTo(n,c,d,u)};return a.tween=i,a},isTweening:function(e){return Je.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=bs(e.ease,ai.ease)),Df(ai,e||{})},config:function(e){return Df(qt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,s=e.plugins,i=e.defaults,a=e.extendTimeline;(s||"").split(",").forEach(function(l){return l&&!Kt[l]&&!Gt[l]&&no(n+" effect requires "+l+" plugin.")}),md[n]=function(l,c,d){return r(un(l),cn(c||{},i),d)},a&&($t.prototype[n]=function(l,c,d){return this.add(md[n](l,Zn(c)?c:(d=c)&&{},this),d)})},registerEase:function(e,n){xe[e]=bs(n)},parseEase:function(e,n){return arguments.length?bs(e,n):xe},getById:function(e){return Je.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new $t(e),s,i;for(r.smoothChildTiming=Bt(e.smoothChildTiming),Je.remove(r),r._dp=0,r._time=r._tTime=Je._time,s=Je._first;s;)i=s._next,(n||!(!s._dur&&s instanceof _t&&s.vars.onComplete===s._targets[0]))&&qn(r,s,s._start-s._delay),s=i;return qn(Je,r,0),r},context:function(e,n){return e?new a0(e,n):Ge},matchMedia:function(e){return new Fy(e)},matchMediaRefresh:function(){return Cs.forEach(function(e){var n=e.conditions,r,s;for(s in n)n[s]&&(n[s]=!1,r=1);r&&e.revert()})||Ld()},addEventListener:function(e,n){var r=La[e]||(La[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=La[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:gy,wrapYoyo:_y,distribute:Af,random:Rf,snap:Ff,normalize:py,getUnit:Et,clamp:uy,splitColor:jf,toArray:un,selector:bd,mapRange:zf,pipe:fy,unitize:my,interpolate:yy,shuffle:Bf},install:bf,effects:md,ticker:Qt,updateRoot:$t.updateRoot,plugins:Kt,globalTimeline:Je,core:{PropTween:Ft,globals:kf,Tween:_t,Timeline:$t,Animation:ho,getCache:_s,_removeLinkedListItem:Da,reverting:function(){return Dt},context:function(e){return e&&Ge&&(Ge.data.push(e),e._ctx=Ge),Ge},suppressOverwrites:function(e){return rd=e}}};At("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return $a[t]=_t[t]}),Qt.add($t.updateRoot),hi=$a.to({},{duration:0});var Ry=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Iy=function(e,n){var r=e._targets,s,i,a;for(s in n)for(i=r.length;i--;)a=e._ptLookup[i][s],a&&(a=a.d)&&(a._pt&&(a=Ry(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},$d=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(xt(i)&&(c={},At(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}Iy(l,i)}}}},Rt=$a.registerPlugin({name:"attr",init:function(e,n,r,s,i){var a,l,c;this.tween=r;for(a in n)c=e.getAttribute(a)||"",l=this.add(e,"setAttribute",(c||0)+"",n[a],s,i,0,0,a),l.op=a,l.b=c,this._props.push(a)},render:function(e,n){for(var r=n._pt;r;)Dt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},$d("roundProps",kd),$d("modifiers"),$d("snap",Ff))||$a;_t.version=$t.version=Rt.version="3.12.5",wf=1,od()&&fi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var zy=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Nd=xe.Sine;xe.Expo,xe.Circ;/*!
10
10
  * CSSPlugin 3.12.5
11
11
  * https://gsap.com
12
12
  *
@@ -14,38 +14,38 @@
14
14
  * Subject to the terms at https://gsap.com/standard-license or for
15
15
  * Club GSAP members, the agreement issued with that membership.
16
16
  * @author: Jack Doyle, jack@greensock.com
17
- */var l0,Wr,mi,Vd,xs,c0,Bd,Yy=function(){return typeof window<"u"},ur={},Ms=180/Math.PI,pi=Math.PI/180,gi=Math.atan2,d0=1e8,Ad=/([A-Z])/g,Hy=/(left|right|width|margin|padding|x)/i,Wy=/[\s,\(]\S/,Gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},jy=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Zy=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},Uy=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},u0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},h0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},qy=function(e,n,r){return e.style[n]=r},Gy=function(e,n,r){return e.style.setProperty(n,r)},Ky=function(e,n,r){return e._gsap[n]=r},Xy=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Qy=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},Jy=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},et="transform",It=et+"Origin",ew=function t(e,n){var r=this,s=this.target,i=s.style,a=s._gsap;if(e in ur&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Gn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=hr(s,l)}):this.tfm[e]=a.x?a[e]:hr(s,e),e===It&&(this.tfm.zOrigin=a.zOrigin);else return Gn.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(et)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(It,n,"")),e=et}(i||n)&&this.props.push(e,n,i[e])},f0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tw=function(){var e=this.props,n=this.target,r=n.style,s=n._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?n[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ad,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=Bd(),(!i||!i.isStart)&&!r[et]&&(f0(r),s.zOrigin&&r[It]&&(r[It]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},m0=function(e,n){var r={target:e,props:[],revert:tw,save:ew};return e._gsap||Rt.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},p0,Rd=function(e,n){var r=Wr.createElementNS?Wr.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Wr.createElement(e);return r&&r.style?r:Wr.createElement(e)},Kn=function t(e,n,r){var s=getComputedStyle(e);return s[n]||s.getPropertyValue(n.replace(Ad,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,_i(n)||n,1)||""},g0="O,Moz,ms,Ms,Webkit".split(","),_i=function(e,n,r){var s=n||xs,i=s.style,a=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(g0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?g0[a]:"")+e},Id=function(){Yy()&&window.document&&(l0=window,Wr=l0.document,mi=Wr.documentElement,xs=Rd("div")||{style:{}},Rd("div"),et=_i(et),It=et+"Origin",xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",p0=!!_i("perspective"),Bd=Rt.core.reverting,Vd=1)},zd=function t(e){var n=Rd("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,s=this.nextSibling,i=this.style.cssText,a;if(mi.appendChild(n),n.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(a=this._gsapBBox());return r&&(s?r.insertBefore(this,s):r.appendChild(this)),mi.removeChild(n),this.style.cssText=i,a},_0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},y0=function(e){var n;try{n=e.getBBox()}catch{n=zd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===zd||(n=zd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+_0(e,["x","cx","x1"])||0,y:+_0(e,["y","cy","y1"])||0,width:0,height:0}:n},w0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&y0(e))},vs=function(e,n){if(n){var r=e.style,s;n in ur&&n!==It&&(n=et),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(Ad,"-$1").toLowerCase())):r.removeAttribute(n)}},jr=function(e,n,r,s,i,a){var l=new Ft(e._pt,n,r,0,1,a?h0:u0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},b0={deg:1,rad:1,turn:1},nw={grid:1,flex:1},Zr=function t(e,n,r,s){var i=parseFloat(r)||0,a=(r+"").trim().substr((i+"").length)||"px",l=xs.style,c=Hy.test(n),d=e.tagName.toLowerCase()==="svg",u=(d?"client":"offset")+(c?"Width":"Height"),h=100,f=s==="px",m=s==="%",g,p,_,y;if(s===a||!i||b0[s]||b0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&w0(e),(m||a==="%")&&(ur[n]||~n.indexOf("adius")))return g=y?e.getBBox()[c?"width":"height"]:e[u],ft(m?i/g*h:i/100*g);if(l[c?"width":"height"]=h+(f?a:s),p=~n.indexOf("adius")||s==="em"&&e.appendChild&&!d?e:e.parentNode,y&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Wr||!p.appendChild)&&(p=Wr.body),_=p._gsap,_&&m&&_.width&&c&&_.time===Qt.time&&!_.uncache)return ft(i/_.width*h);if(m&&(n==="height"||n==="width")){var C=e.style[n];e.style[n]=h+s,g=e[u],C?e.style[n]=C:vs(e,n)}else(m||a==="%")&&!nw[Kn(p,"display")]&&(l.position=Kn(e,"position")),p===e&&(l.position="static"),p.appendChild(xs),g=xs[u],p.removeChild(xs),l.position="absolute";return c&&m&&(_=_s(p),_.time=Qt.time,_.width=p[u]),ft(f?g*i/h:g&&i?h/g*i:0)},hr=function(e,n,r,s){var i;return Vd||Id(),n in Gn&&n!=="transform"&&(n=Gn[n],~n.indexOf(",")&&(n=n.split(",")[0])),ur[n]&&n!=="transform"?(i=po(e,s),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:Va(Kn(e,It))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Na[n]&&Na[n](e,n,r)||Kn(e,n)||Mf(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Zr(e,n,i,r)+r:i},rw=function(e,n,r,s){if(!r||r==="none"){var i=_i(n,e,1),a=i&&Kn(e,i,1);a&&a!==r?(n=i,r=a):n==="borderColor"&&(r=Kn(e,"borderTopColor"))}var l=new Ft(this._pt,e.style,n,0,1,s0),c=0,d=0,u,h,f,m,g,p,_,y,C,k,S,M;if(l.b=r,l.e=s,r+="",s+="",s==="auto"&&(p=e.style[n],e.style[n]=s,s=Kn(e,n)||s,p?e.style[n]=p:vs(e,n)),u=[r,s],qf(u),r=u[0],s=u[1],f=r.match(li)||[],M=s.match(li)||[],M.length){for(;h=li.exec(s);)_=h[0],C=s.substring(c,h.index),g?g=(g+1)%5:(C.substr(-5)==="rgba("||C.substr(-5)==="hsla(")&&(g=1),_!==(p=f[d++]||"")&&(m=parseFloat(p)||0,S=p.substr((m+"").length),_.charAt(1)==="="&&(_=ci(m,_)+S),y=parseFloat(_),k=_.substr((y+"").length),c=li.lastIndex-k.length,k||(k=k||qt.units[n]||S,c===s.length&&(s+=k,l.e+=k)),S!==k&&(m=Zr(e,n,p,k)||0),l._pt={_next:l._pt,p:C||d===1?C:",",s:m,c:y-m,m:g&&g<4||n==="zIndex"?Math.round:0});l.c=c<s.length?s.substring(c,s.length):""}else l.r=n==="display"&&s==="none"?h0:u0;return _f.test(s)&&(l.e=0),this._pt=l,l},k0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},sw=function(e){var n=e.split(" "),r=n[0],s=n[1]||"50%";return(r==="top"||r==="bottom"||s==="left"||s==="right")&&(e=r,r=s,s=e),n[0]=k0[r]||r,n[1]=k0[s]||s,n.join(" ")},iw=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,s=r.style,i=n.u,a=r._gsap,l,c,d;if(i==="all"||i===!0)s.cssText="",c=1;else for(i=i.split(","),d=i.length;--d>-1;)l=i[d],ur[l]&&(c=1,l=l==="transformOrigin"?It:et),vs(r,l);c&&(vs(r,et),a&&(a.svg&&r.removeAttribute("transform"),po(r,1),a.uncache=1,f0(s)))}},Na={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new Ft(e._pt,n,r,0,0,iw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},mo=[1,0,0,1,0,0],C0={},x0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},M0=function(e){var n=Kn(e,et);return x0(n)?mo:n.substr(7).match(gf).map(ft)},Yd=function(e,n){var r=e._gsap||_s(e),s=e.style,i=M0(e),a,l,c,d;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?mo:i):(i===mo&&!e.offsetParent&&e!==mi&&!r.svg&&(c=s.display,s.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(d=1,l=e.nextElementSibling,mi.appendChild(e)),i=M0(e),c?s.display=c:vs(e,"display"),d&&(l?a.insertBefore(e,l):a?a.appendChild(e):mi.removeChild(e))),n&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Hd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Yd(e,!0),d=l.xOrigin||0,u=l.yOrigin||0,h=l.xOffset||0,f=l.yOffset||0,m=c[0],g=c[1],p=c[2],_=c[3],y=c[4],C=c[5],k=n.split(" "),S=parseFloat(k[0])||0,M=parseFloat(k[1])||0,O,v,D,E;r?c!==mo&&(v=m*_-g*p)&&(D=S*(_/v)+M*(-p/v)+(p*C-_*y)/v,E=S*(-g/v)+M*(m/v)-(m*C-g*y)/v,S=D,M=E):(O=y0(e),S=O.x+(~k[0].indexOf("%")?S/100*O.width:S),M=O.y+(~(k[1]||k[0]).indexOf("%")?M/100*O.height:M)),s||s!==!1&&l.smooth?(y=S-d,C=M-u,l.xOffset=h+(y*m+C*p)-y,l.yOffset=f+(y*g+C*_)-C):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=M,l.smooth=!!s,l.origin=n,l.originIsAbsolute=!!r,e.style[It]="0px 0px",a&&(jr(a,l,"xOrigin",d,S),jr(a,l,"yOrigin",u,M),jr(a,l,"xOffset",h,l.xOffset),jr(a,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",S+" "+M)},po=function(e,n){var r=e._gsap||new Qf(e);if("x"in r&&!n&&!r.uncache)return r;var s=e.style,i=r.scaleX<0,a="px",l="deg",c=getComputedStyle(e),d=Kn(e,It)||"0",u,h,f,m,g,p,_,y,C,k,S,M,O,v,D,E,I,j,P,R,G,T,x,N,Z,ee,U,L,V,b,w,B;return u=h=f=p=_=y=C=k=S=0,m=g=1,r.svg=!!(e.getCTM&&w0(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(s[et]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[et]!=="none"?c[et]:"")),s.scale=s.rotate=s.translate="none"),v=Yd(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),d=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",N=""):N=!n&&e.getAttribute("data-svg-origin"),Hd(e,N||d,!!N||r.originIsAbsolute,r.smooth!==!1,v)),M=r.xOrigin||0,O=r.yOrigin||0,v!==mo&&(j=v[0],P=v[1],R=v[2],G=v[3],u=T=v[4],h=x=v[5],v.length===6?(m=Math.sqrt(j*j+P*P),g=Math.sqrt(G*G+R*R),p=j||P?gi(P,j)*Ms:0,C=R||G?gi(R,G)*Ms+p:0,C&&(g*=Math.abs(Math.cos(C*pi))),r.svg&&(u-=M-(M*j+O*R),h-=O-(M*P+O*G))):(B=v[6],b=v[7],U=v[8],L=v[9],V=v[10],w=v[11],u=v[12],h=v[13],f=v[14],D=gi(B,V),_=D*Ms,D&&(E=Math.cos(-D),I=Math.sin(-D),N=T*E+U*I,Z=x*E+L*I,ee=B*E+V*I,U=T*-I+U*E,L=x*-I+L*E,V=B*-I+V*E,w=b*-I+w*E,T=N,x=Z,B=ee),D=gi(-R,V),y=D*Ms,D&&(E=Math.cos(-D),I=Math.sin(-D),N=j*E-U*I,Z=P*E-L*I,ee=R*E-V*I,w=G*I+w*E,j=N,P=Z,R=ee),D=gi(P,j),p=D*Ms,D&&(E=Math.cos(D),I=Math.sin(D),N=j*E+P*I,Z=T*E+x*I,P=P*E-j*I,x=x*E-T*I,j=N,T=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=ft(Math.sqrt(j*j+P*P+R*R)),g=ft(Math.sqrt(x*x+B*B)),D=gi(T,x),C=Math.abs(D)>2e-4?D*Ms:0,S=w?1/(w<0?-w:w):0),r.svg&&(N=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!x0(Kn(e,et)),N&&e.setAttribute("transform",N))),Math.abs(C)>90&&Math.abs(C)<270&&(i?(m*=-1,C+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,C+=C<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=f+a,r.scaleX=ft(m),r.scaleY=ft(g),r.rotation=ft(p)+l,r.rotationX=ft(_)+l,r.rotationY=ft(y)+l,r.skewX=C+l,r.skewY=k+l,r.transformPerspective=S+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[It]=Va(d)),r.xOffset=r.yOffset=0,r.force3D=qt.force3D,r.renderTransform=r.svg?aw:p0?v0:ow,r.uncache=0,r},Va=function(e){return(e=e.split(" "))[0]+" "+e[1]},Wd=function(e,n,r){var s=Et(n);return ft(parseFloat(n)+parseFloat(Zr(e,"x",r+"px",s)))+s},ow=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,v0(e,n)},Ss="0deg",go="0px",Ts=") ",v0=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.z,d=r.rotation,u=r.rotationY,h=r.rotationX,f=r.skewX,m=r.skewY,g=r.scaleX,p=r.scaleY,_=r.transformPerspective,y=r.force3D,C=r.target,k=r.zOrigin,S="",M=y==="auto"&&e&&e!==1||y===!0;if(k&&(h!==Ss||u!==Ss)){var O=parseFloat(u)*pi,v=Math.sin(O),D=Math.cos(O),E;O=parseFloat(h)*pi,E=Math.cos(O),a=Wd(C,a,v*E*-k),l=Wd(C,l,-Math.sin(O)*-k),c=Wd(C,c,D*E*-k+k)}_!==go&&(S+="perspective("+_+Ts),(s||i)&&(S+="translate("+s+"%, "+i+"%) "),(M||a!==go||l!==go||c!==go)&&(S+=c!==go||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Ts),d!==Ss&&(S+="rotate("+d+Ts),u!==Ss&&(S+="rotateY("+u+Ts),h!==Ss&&(S+="rotateX("+h+Ts),(f!==Ss||m!==Ss)&&(S+="skew("+f+", "+m+Ts),(g!==1||p!==1)&&(S+="scale("+g+", "+p+Ts),C.style[et]=S||"translate(0, 0)"},aw=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.rotation,d=r.skewX,u=r.skewY,h=r.scaleX,f=r.scaleY,m=r.target,g=r.xOrigin,p=r.yOrigin,_=r.xOffset,y=r.yOffset,C=r.forceCSS,k=parseFloat(a),S=parseFloat(l),M,O,v,D,E;c=parseFloat(c),d=parseFloat(d),u=parseFloat(u),u&&(u=parseFloat(u),d+=u,c+=u),c||d?(c*=pi,d*=pi,M=Math.cos(c)*h,O=Math.sin(c)*h,v=Math.sin(c-d)*-f,D=Math.cos(c-d)*f,d&&(u*=pi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),v*=E,D*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,O*=E)),M=ft(M),O=ft(O),v=ft(v),D=ft(D)):(M=h,D=f,O=v=0),(k&&!~(a+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(k=Zr(m,"x",a,"px"),S=Zr(m,"y",l,"px")),(g||p||_||y)&&(k=ft(k+g-(g*M+p*v)+_),S=ft(S+p-(g*O+p*D)+y)),(s||i)&&(E=m.getBBox(),k=ft(k+s/100*E.width),S=ft(S+i/100*E.height)),E="matrix("+M+","+O+","+v+","+D+","+k+","+S+")",m.setAttribute("transform",E),C&&(m.style[et]=E)},lw=function(e,n,r,s,i){var a=360,l=xt(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Ms:1),d=c-s,u=s+d+"deg",h,f;return l&&(h=i.split("_")[1],h==="short"&&(d%=a,d!==d%(a/2)&&(d+=d<0?a:-a)),h==="cw"&&d<0?d=(d+a*d0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*d0)%a-~~(d/a)*a)),e._pt=f=new Ft(e._pt,n,r,s,d,jy),f.e=u,f.u="deg",e._props.push(r),f},S0=function(e,n){for(var r in n)e[r]=n[r];return e},cw=function(e,n,r){var s=S0({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",a=r.style,l,c,d,u,h,f,m,g;s.svg?(d=r.getAttribute("transform"),r.setAttribute("transform",""),a[et]=n,l=po(r,1),vs(r,et),r.setAttribute("transform",d)):(d=getComputedStyle(r)[et],a[et]=n,l=po(r,1),a[et]=d);for(c in ur)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Et(d),g=Et(u),h=m!==g?Zr(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new Ft(e._pt,l,c,h,f-h,Fd),e._pt.u=g||0,e._props.push(c));S0(l,s)};At("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",s="Bottom",i="Left",a=(e<3?[n,r,s,i]:[n+i,n+r,s+r,s+i]).map(function(l){return e<2?t+l:"border"+l+t});Na[e>1?"border"+t:t]=function(l,c,d,u,h){var f,m;if(arguments.length<4)return f=a.map(function(g){return hr(l,g,d)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},a.forEach(function(g,p){return m[g]=f[p]=f[p]||f[(p-1)/2|0]}),l.init(c,m,h)}});var T0={name:"css",register:Id,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,s,i){var a=this._props,l=e.style,c=r.vars.startAt,d,u,h,f,m,g,p,_,y,C,k,S,M,O,v,D;Vd||Id(),this.styles=this.styles||m0(e),D=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Kt[p]&&Jf(p,n,r,s,e,i)))){if(m=typeof u,g=Na[p],m==="function"&&(u=u.call(r,s,e,i),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=ao(u)),g)g(this,e,p,u,r)&&(v=1);else if(p.substr(0,2)==="--")d=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Yr.lastIndex=0,Yr.test(d)||(_=Et(d),y=Et(u)),y?_!==y&&(d=Zr(e,p,d,y)+y):_&&(u+=_),this.add(l,"setProperty",d,u,s,i,0,0,p),a.push(p),D.push(p,0,l[p]);else if(m!=="undefined"){if(c&&p in c?(d=typeof c[p]=="function"?c[p].call(r,s,e,i):c[p],xt(d)&&~d.indexOf("random(")&&(d=ao(d)),Et(d+"")||d==="auto"||(d+=qt.units[p]||Et(hr(e,p))||""),(d+"").charAt(1)==="="&&(d=hr(e,p))):d=hr(e,p),f=parseFloat(d),C=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),C&&(u=u.substr(2)),h=parseFloat(u),p in Gn&&(p==="autoAlpha"&&(f===1&&hr(e,"visibility")==="hidden"&&h&&(f=0),D.push("visibility",0,l.visibility),jr(this,l,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=Gn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in ur,k){if(this.styles.save(p),S||(M=e._gsap,M.renderTransform&&!n.parseTransform||po(e,n.parseTransform),O=n.smoothOrigin!==!1&&M.smooth,S=this._pt=new Ft(this._pt,l,et,0,1,M.renderTransform,M,0,-1),S.dep=1),p==="scale")this._pt=new Ft(this._pt,M,"scaleY",M.scaleY,(C?ci(M.scaleY,C+h):h)-M.scaleY||0,Fd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){D.push(It,0,l[It]),u=sw(u),M.svg?Hd(e,u,0,O,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&jr(this,M,"zOrigin",M.zOrigin,y),jr(this,l,p,Va(d),Va(u)));continue}else if(p==="svgOrigin"){Hd(e,u,1,O,0,this);continue}else if(p in C0){lw(this,M,p,f,C?ci(f,C+u):u);continue}else if(p==="smoothOrigin"){jr(this,M,"smooth",M.smooth,u);continue}else if(p==="force3D"){M[p]=u;continue}else if(p==="transform"){cw(this,u,e);continue}}else p in l||(p=_i(p)||p);if(k||(h||h===0)&&(f||f===0)&&!Wy.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Et(u)||(p in qt.units?qt.units[p]:_),_!==y&&(f=Zr(e,p,d,y)),this._pt=new Ft(this._pt,k?M:l,p,f,(C?ci(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?Uy:Fd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=Zy);else if(p in l)rw.call(this,e,p,d,C?C+u:u);else if(p in e)this.add(e,p,d||e[p],C?C+u:u,s,i);else if(p!=="parseTransform"){ud(p,u);continue}k||(p in l?D.push(p,0,l[p]):D.push(p,1,d||e[p])),a.push(p)}}v&&i0(this)},render:function(e,n){if(n.tween._time||!Bd())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:hr,aliases:Gn,getSetter:function(e,n,r){var s=Gn[n];return s&&s.indexOf(",")<0&&(n=s),n in ur&&n!==It&&(e._gsap.x||hr(e,"x"))?r&&c0===r?n==="scale"?Xy:Ky:(c0=r||{})&&(n==="scale"?Qy:Jy):e.style&&!id(e.style[n])?qy:~n.indexOf("-")?Gy:Dd(e,n)},core:{_removeProperty:vs,_getMatrix:Yd}};Rt.utils.checkPrefix=_i,Rt.core.getStyleSaver=m0,function(t,e,n,r){var s=At(t+","+e+","+n,function(i){ur[i]=1});At(e,function(i){qt.units[i]="deg",C0[i]=1}),Gn[s[13]]=t+","+e,At(r,function(i){var a=i.split(":");Gn[a[1]]=s[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),At("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){qt.units[t]="px"}),Rt.registerPlugin(T0);var Ur=Rt.registerPlugin(T0)||Rt;Ur.core.Tween;const dw={__name:"Confetti",setup(t){function e(r){let s=100,i=r.offsetWidth,a=r.offsetHeight;for(let u=0;u<s;u++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),Ur.set(h,{x:c(i),y:d(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+d(170,360)+",50%,50%)"}),l(h)}function l(u){Ur.set(r,{display:"block"}),Ur.to(r,{autoAlpha:1,duration:2,delay:1}),Ur.to(u,c(5)+4,{y:a,ease:zy.easeNone,repeat:-1,delay:-5}),Ur.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Nd.easeInOut}),Ur.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Nd.easeInOut}),Ur.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Nd.easeInOut})}function c(u){return Math.random()*u}function d(u,h){return u+Math.floor(Math.random()*(h-u))}}const n=o.ref(null);return o.onMounted(()=>{n.value&&e(n.value)}),(r,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:n,class:"confetti"},null,512))}},uw={class:"toast__content"},O0=Pe(o.defineComponent({__name:"Toast",props:{type:{type:String,default:"success"},textOnClose:{type:String},message:{type:String,default:""},action:{type:Object,default:void 0},duration:{type:Number}},setup(t){const e=t,n=o.ref(null),r=()=>{var a,l,c,d;(a=e.action)!=null&&a.label?(l=e.action)==null||l.callback():(d=(c=n.value)==null?void 0:c.parentElement)==null||d.remove()},s=o.computed(()=>e.type==="success"?"check-circle-fill":"circle-close"),i=o.computed(()=>e.type==="success"?"-success":e.type==="info"?"-info":"-error");return(a,l)=>(o.openBlock(),o.createBlock(o.Transition,null,{default:o.withCtx(()=>{var c;return[o.createElementVNode("div",{ref_key:"toast",ref:n,class:"toast"},[o.createElementVNode("div",uw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(ze,{icon:s.value},null,8,["icon"])],2),o.withDirectives(o.createElementVNode("div",{class:"toast__text"},o.toDisplayString(t.message),513),[[o.vShow,t.message.length]])]),o.createElementVNode("div",{class:"toast__dismiss",onClick:r},o.toDisplayString((c=t.action)!=null&&c.label?t.action.label:t.textOnClose),1)],512)]}),_:1}))}}),[["__scopeId","data-v-cddb489d"]]),D0=t=>(o.pushScopeId("data-v-c6866516"),t=t(),o.popScopeId(),t),hw={class:"sidebar-popup-container"},fw={class:"sidebar-popup__profile-info"},mw=["src"],pw={key:1,class:"sidebar-popup__profile-info__letter"},gw={class:"sidebar-popup__profile-info__wrapper"},_w={class:"sidebar-popup__profile-info__name"},yw={class:"sidebar-popup__profile-info__e-mail"},ww=D0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),bw={class:"sidebar-popup__tabs"},kw=["onClick"],Cw={class:"sidebar-popup__tab__icon-wrapper"},xw={class:"sidebar-popup__tab__name"},Mw=D0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),vw={class:"sidebar-popup__actions-buttons"},Sw=Pe({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,s=o.ref(!1),i=o.ref(null),a=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!1},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),l=o.computed(()=>n.user&&n.user.name?n.user.name.charAt(0):"U"),c=()=>{if(window!==void 0){const f=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${f}/settings/profile`,"_self")}},d=f=>{f.isActive&&window.open(`https://${f.name}.scope360.io/`)},u=()=>{s.value=!s.value},h=f=>{i.value&&!i.value.contains(f.target)&&u()};return o.onMounted(()=>{document.addEventListener("click",h)}),o.onUnmounted(()=>{document.removeEventListener("click",h)}),(f,m)=>(o.openBlock(),o.createElementBlock("div",hw,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":s.value}]),onClick:o.withModifiers(u,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(ze,{icon:"pop-up_opener"})],2),s.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:i},[o.createElementVNode("div",fw,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,mw)):(o.openBlock(),o.createElementBlock("div",pw,o.toDisplayString(l.value),1)),o.createElementVNode("div",gw,[o.createElementVNode("div",_w,o.toDisplayString(t.user.name),1),o.createElementVNode("div",yw,o.toDisplayString(t.user.email),1)])]),ww,o.createElementVNode("div",bw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a,g=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":g.name===t.activeSection},{"-is-disable":!g.isActive}]),onClick:p=>d(g)},[o.createElementVNode("div",Cw,[o.createVNode(ze,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",xw,o.toDisplayString(g.name),1)],10,kw))),256))]),Mw,o.createElementVNode("div",vw,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":t.activeSection==="settings"}]),onClick:c}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:m[0]||(m[0]=g=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c6866516"]]),Tw={class:"scope-tooltip"},hn=Pe({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Tw,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(ze),{icon:"tip",class:"scope-tooltip__icon"})],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__text",{"-alternative":t.alternative}])},[o.renderSlot(e.$slots,"default",{},void 0,!0)],2)]))}},[["__scopeId","data-v-4c8f32d0"]]),Ow={class:"no-more"},Dw={class:"no-more__icon-wrapper"},Ew={class:"no-more__text-wrapper"},Pw={class:"no-more__title"},Lw={class:"no-more__subtitle"},jd=Pe({__name:"NoMore",props:{title:{type:String,default:"No more trades"},subtitle:{type:String,default:"No data available for the specified period"},icon:{type:String,default:"pie-chart"}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Ow,[o.createElementVNode("div",Dw,[o.createVNode(o.unref(ze),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",Ew,[o.createElementVNode("div",Pw,o.toDisplayString(t.title),1),o.createElementVNode("div",Lw,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-f657b0dd"]]),E0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),$w={class:"long-short"},Nw=E0(()=>o.createElementVNode("span",null,"L",-1)),Vw={class:"long-short__item__text"},Bw=E0(()=>o.createElementVNode("span",null,"S",-1)),Aw={class:"long-short__item__text"},P0=Pe({__name:"LongShort",props:{long:{type:Number,default:0},short:{type:Number,default:0}},setup(t){const e=t,n=o.computed(()=>{const r=e.long/(e.long+e.short)*100;return isNaN(r)?50:r});return(r,s)=>(o.openBlock(),o.createElementBlock("div",$w,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[Nw,o.createElementVNode("div",Vw,o.toDisplayString(o.unref(jt)(t.long/(t.long+t.short)*100,1))+"%",1)],4),o.createElementVNode("div",{class:"long-short__item -short",style:o.normalizeStyle(`width: ${100-n.value}%`)},[Bw,o.createElementVNode("div",Aw,o.toDisplayString(o.unref(jt)(t.short/(t.long+t.short)*100,1))+"%",1)],4)]))}},[["__scopeId","data-v-2042001e"]]);/*!
17
+ */var l0,Wr,mi,Vd,xs,c0,Bd,Yy=function(){return typeof window<"u"},ur={},Ms=180/Math.PI,pi=Math.PI/180,gi=Math.atan2,d0=1e8,Ad=/([A-Z])/g,Hy=/(left|right|width|margin|padding|x)/i,Wy=/[\s,\(]\S/,Gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},jy=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Zy=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},Uy=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},u0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},h0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},qy=function(e,n,r){return e.style[n]=r},Gy=function(e,n,r){return e.style.setProperty(n,r)},Ky=function(e,n,r){return e._gsap[n]=r},Xy=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Qy=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},Jy=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},et="transform",It=et+"Origin",ew=function t(e,n){var r=this,s=this.target,i=s.style,a=s._gsap;if(e in ur&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Gn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=hr(s,l)}):this.tfm[e]=a.x?a[e]:hr(s,e),e===It&&(this.tfm.zOrigin=a.zOrigin);else return Gn.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(et)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(It,n,"")),e=et}(i||n)&&this.props.push(e,n,i[e])},f0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tw=function(){var e=this.props,n=this.target,r=n.style,s=n._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?n[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ad,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=Bd(),(!i||!i.isStart)&&!r[et]&&(f0(r),s.zOrigin&&r[It]&&(r[It]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},m0=function(e,n){var r={target:e,props:[],revert:tw,save:ew};return e._gsap||Rt.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},p0,Rd=function(e,n){var r=Wr.createElementNS?Wr.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Wr.createElement(e);return r&&r.style?r:Wr.createElement(e)},Kn=function t(e,n,r){var s=getComputedStyle(e);return s[n]||s.getPropertyValue(n.replace(Ad,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,_i(n)||n,1)||""},g0="O,Moz,ms,Ms,Webkit".split(","),_i=function(e,n,r){var s=n||xs,i=s.style,a=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(g0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?g0[a]:"")+e},Id=function(){Yy()&&window.document&&(l0=window,Wr=l0.document,mi=Wr.documentElement,xs=Rd("div")||{style:{}},Rd("div"),et=_i(et),It=et+"Origin",xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",p0=!!_i("perspective"),Bd=Rt.core.reverting,Vd=1)},zd=function t(e){var n=Rd("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,s=this.nextSibling,i=this.style.cssText,a;if(mi.appendChild(n),n.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(a=this._gsapBBox());return r&&(s?r.insertBefore(this,s):r.appendChild(this)),mi.removeChild(n),this.style.cssText=i,a},_0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},y0=function(e){var n;try{n=e.getBBox()}catch{n=zd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===zd||(n=zd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+_0(e,["x","cx","x1"])||0,y:+_0(e,["y","cy","y1"])||0,width:0,height:0}:n},w0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&y0(e))},vs=function(e,n){if(n){var r=e.style,s;n in ur&&n!==It&&(n=et),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(Ad,"-$1").toLowerCase())):r.removeAttribute(n)}},jr=function(e,n,r,s,i,a){var l=new Ft(e._pt,n,r,0,1,a?h0:u0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},b0={deg:1,rad:1,turn:1},nw={grid:1,flex:1},Zr=function t(e,n,r,s){var i=parseFloat(r)||0,a=(r+"").trim().substr((i+"").length)||"px",l=xs.style,c=Hy.test(n),d=e.tagName.toLowerCase()==="svg",u=(d?"client":"offset")+(c?"Width":"Height"),h=100,f=s==="px",m=s==="%",g,p,_,y;if(s===a||!i||b0[s]||b0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&w0(e),(m||a==="%")&&(ur[n]||~n.indexOf("adius")))return g=y?e.getBBox()[c?"width":"height"]:e[u],ft(m?i/g*h:i/100*g);if(l[c?"width":"height"]=h+(f?a:s),p=~n.indexOf("adius")||s==="em"&&e.appendChild&&!d?e:e.parentNode,y&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Wr||!p.appendChild)&&(p=Wr.body),_=p._gsap,_&&m&&_.width&&c&&_.time===Qt.time&&!_.uncache)return ft(i/_.width*h);if(m&&(n==="height"||n==="width")){var C=e.style[n];e.style[n]=h+s,g=e[u],C?e.style[n]=C:vs(e,n)}else(m||a==="%")&&!nw[Kn(p,"display")]&&(l.position=Kn(e,"position")),p===e&&(l.position="static"),p.appendChild(xs),g=xs[u],p.removeChild(xs),l.position="absolute";return c&&m&&(_=_s(p),_.time=Qt.time,_.width=p[u]),ft(f?g*i/h:g&&i?h/g*i:0)},hr=function(e,n,r,s){var i;return Vd||Id(),n in Gn&&n!=="transform"&&(n=Gn[n],~n.indexOf(",")&&(n=n.split(",")[0])),ur[n]&&n!=="transform"?(i=po(e,s),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:Va(Kn(e,It))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Na[n]&&Na[n](e,n,r)||Kn(e,n)||Mf(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Zr(e,n,i,r)+r:i},rw=function(e,n,r,s){if(!r||r==="none"){var i=_i(n,e,1),a=i&&Kn(e,i,1);a&&a!==r?(n=i,r=a):n==="borderColor"&&(r=Kn(e,"borderTopColor"))}var l=new Ft(this._pt,e.style,n,0,1,s0),c=0,d=0,u,h,f,m,g,p,_,y,C,k,S,M;if(l.b=r,l.e=s,r+="",s+="",s==="auto"&&(p=e.style[n],e.style[n]=s,s=Kn(e,n)||s,p?e.style[n]=p:vs(e,n)),u=[r,s],qf(u),r=u[0],s=u[1],f=r.match(li)||[],M=s.match(li)||[],M.length){for(;h=li.exec(s);)_=h[0],C=s.substring(c,h.index),g?g=(g+1)%5:(C.substr(-5)==="rgba("||C.substr(-5)==="hsla(")&&(g=1),_!==(p=f[d++]||"")&&(m=parseFloat(p)||0,S=p.substr((m+"").length),_.charAt(1)==="="&&(_=ci(m,_)+S),y=parseFloat(_),k=_.substr((y+"").length),c=li.lastIndex-k.length,k||(k=k||qt.units[n]||S,c===s.length&&(s+=k,l.e+=k)),S!==k&&(m=Zr(e,n,p,k)||0),l._pt={_next:l._pt,p:C||d===1?C:",",s:m,c:y-m,m:g&&g<4||n==="zIndex"?Math.round:0});l.c=c<s.length?s.substring(c,s.length):""}else l.r=n==="display"&&s==="none"?h0:u0;return _f.test(s)&&(l.e=0),this._pt=l,l},k0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},sw=function(e){var n=e.split(" "),r=n[0],s=n[1]||"50%";return(r==="top"||r==="bottom"||s==="left"||s==="right")&&(e=r,r=s,s=e),n[0]=k0[r]||r,n[1]=k0[s]||s,n.join(" ")},iw=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,s=r.style,i=n.u,a=r._gsap,l,c,d;if(i==="all"||i===!0)s.cssText="",c=1;else for(i=i.split(","),d=i.length;--d>-1;)l=i[d],ur[l]&&(c=1,l=l==="transformOrigin"?It:et),vs(r,l);c&&(vs(r,et),a&&(a.svg&&r.removeAttribute("transform"),po(r,1),a.uncache=1,f0(s)))}},Na={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new Ft(e._pt,n,r,0,0,iw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},mo=[1,0,0,1,0,0],C0={},x0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},M0=function(e){var n=Kn(e,et);return x0(n)?mo:n.substr(7).match(gf).map(ft)},Yd=function(e,n){var r=e._gsap||_s(e),s=e.style,i=M0(e),a,l,c,d;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?mo:i):(i===mo&&!e.offsetParent&&e!==mi&&!r.svg&&(c=s.display,s.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(d=1,l=e.nextElementSibling,mi.appendChild(e)),i=M0(e),c?s.display=c:vs(e,"display"),d&&(l?a.insertBefore(e,l):a?a.appendChild(e):mi.removeChild(e))),n&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Hd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Yd(e,!0),d=l.xOrigin||0,u=l.yOrigin||0,h=l.xOffset||0,f=l.yOffset||0,m=c[0],g=c[1],p=c[2],_=c[3],y=c[4],C=c[5],k=n.split(" "),S=parseFloat(k[0])||0,M=parseFloat(k[1])||0,D,v,O,E;r?c!==mo&&(v=m*_-g*p)&&(O=S*(_/v)+M*(-p/v)+(p*C-_*y)/v,E=S*(-g/v)+M*(m/v)-(m*C-g*y)/v,S=O,M=E):(D=y0(e),S=D.x+(~k[0].indexOf("%")?S/100*D.width:S),M=D.y+(~(k[1]||k[0]).indexOf("%")?M/100*D.height:M)),s||s!==!1&&l.smooth?(y=S-d,C=M-u,l.xOffset=h+(y*m+C*p)-y,l.yOffset=f+(y*g+C*_)-C):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=M,l.smooth=!!s,l.origin=n,l.originIsAbsolute=!!r,e.style[It]="0px 0px",a&&(jr(a,l,"xOrigin",d,S),jr(a,l,"yOrigin",u,M),jr(a,l,"xOffset",h,l.xOffset),jr(a,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",S+" "+M)},po=function(e,n){var r=e._gsap||new Qf(e);if("x"in r&&!n&&!r.uncache)return r;var s=e.style,i=r.scaleX<0,a="px",l="deg",c=getComputedStyle(e),d=Kn(e,It)||"0",u,h,f,m,g,p,_,y,C,k,S,M,D,v,O,E,I,j,P,R,G,T,x,N,Z,ee,U,L,V,b,w,B;return u=h=f=p=_=y=C=k=S=0,m=g=1,r.svg=!!(e.getCTM&&w0(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(s[et]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[et]!=="none"?c[et]:"")),s.scale=s.rotate=s.translate="none"),v=Yd(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),d=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",N=""):N=!n&&e.getAttribute("data-svg-origin"),Hd(e,N||d,!!N||r.originIsAbsolute,r.smooth!==!1,v)),M=r.xOrigin||0,D=r.yOrigin||0,v!==mo&&(j=v[0],P=v[1],R=v[2],G=v[3],u=T=v[4],h=x=v[5],v.length===6?(m=Math.sqrt(j*j+P*P),g=Math.sqrt(G*G+R*R),p=j||P?gi(P,j)*Ms:0,C=R||G?gi(R,G)*Ms+p:0,C&&(g*=Math.abs(Math.cos(C*pi))),r.svg&&(u-=M-(M*j+D*R),h-=D-(M*P+D*G))):(B=v[6],b=v[7],U=v[8],L=v[9],V=v[10],w=v[11],u=v[12],h=v[13],f=v[14],O=gi(B,V),_=O*Ms,O&&(E=Math.cos(-O),I=Math.sin(-O),N=T*E+U*I,Z=x*E+L*I,ee=B*E+V*I,U=T*-I+U*E,L=x*-I+L*E,V=B*-I+V*E,w=b*-I+w*E,T=N,x=Z,B=ee),O=gi(-R,V),y=O*Ms,O&&(E=Math.cos(-O),I=Math.sin(-O),N=j*E-U*I,Z=P*E-L*I,ee=R*E-V*I,w=G*I+w*E,j=N,P=Z,R=ee),O=gi(P,j),p=O*Ms,O&&(E=Math.cos(O),I=Math.sin(O),N=j*E+P*I,Z=T*E+x*I,P=P*E-j*I,x=x*E-T*I,j=N,T=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=ft(Math.sqrt(j*j+P*P+R*R)),g=ft(Math.sqrt(x*x+B*B)),O=gi(T,x),C=Math.abs(O)>2e-4?O*Ms:0,S=w?1/(w<0?-w:w):0),r.svg&&(N=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!x0(Kn(e,et)),N&&e.setAttribute("transform",N))),Math.abs(C)>90&&Math.abs(C)<270&&(i?(m*=-1,C+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,C+=C<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=f+a,r.scaleX=ft(m),r.scaleY=ft(g),r.rotation=ft(p)+l,r.rotationX=ft(_)+l,r.rotationY=ft(y)+l,r.skewX=C+l,r.skewY=k+l,r.transformPerspective=S+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[It]=Va(d)),r.xOffset=r.yOffset=0,r.force3D=qt.force3D,r.renderTransform=r.svg?aw:p0?v0:ow,r.uncache=0,r},Va=function(e){return(e=e.split(" "))[0]+" "+e[1]},Wd=function(e,n,r){var s=Et(n);return ft(parseFloat(n)+parseFloat(Zr(e,"x",r+"px",s)))+s},ow=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,v0(e,n)},Ss="0deg",go="0px",Ts=") ",v0=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.z,d=r.rotation,u=r.rotationY,h=r.rotationX,f=r.skewX,m=r.skewY,g=r.scaleX,p=r.scaleY,_=r.transformPerspective,y=r.force3D,C=r.target,k=r.zOrigin,S="",M=y==="auto"&&e&&e!==1||y===!0;if(k&&(h!==Ss||u!==Ss)){var D=parseFloat(u)*pi,v=Math.sin(D),O=Math.cos(D),E;D=parseFloat(h)*pi,E=Math.cos(D),a=Wd(C,a,v*E*-k),l=Wd(C,l,-Math.sin(D)*-k),c=Wd(C,c,O*E*-k+k)}_!==go&&(S+="perspective("+_+Ts),(s||i)&&(S+="translate("+s+"%, "+i+"%) "),(M||a!==go||l!==go||c!==go)&&(S+=c!==go||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Ts),d!==Ss&&(S+="rotate("+d+Ts),u!==Ss&&(S+="rotateY("+u+Ts),h!==Ss&&(S+="rotateX("+h+Ts),(f!==Ss||m!==Ss)&&(S+="skew("+f+", "+m+Ts),(g!==1||p!==1)&&(S+="scale("+g+", "+p+Ts),C.style[et]=S||"translate(0, 0)"},aw=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.rotation,d=r.skewX,u=r.skewY,h=r.scaleX,f=r.scaleY,m=r.target,g=r.xOrigin,p=r.yOrigin,_=r.xOffset,y=r.yOffset,C=r.forceCSS,k=parseFloat(a),S=parseFloat(l),M,D,v,O,E;c=parseFloat(c),d=parseFloat(d),u=parseFloat(u),u&&(u=parseFloat(u),d+=u,c+=u),c||d?(c*=pi,d*=pi,M=Math.cos(c)*h,D=Math.sin(c)*h,v=Math.sin(c-d)*-f,O=Math.cos(c-d)*f,d&&(u*=pi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),v*=E,O*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,D*=E)),M=ft(M),D=ft(D),v=ft(v),O=ft(O)):(M=h,O=f,D=v=0),(k&&!~(a+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(k=Zr(m,"x",a,"px"),S=Zr(m,"y",l,"px")),(g||p||_||y)&&(k=ft(k+g-(g*M+p*v)+_),S=ft(S+p-(g*D+p*O)+y)),(s||i)&&(E=m.getBBox(),k=ft(k+s/100*E.width),S=ft(S+i/100*E.height)),E="matrix("+M+","+D+","+v+","+O+","+k+","+S+")",m.setAttribute("transform",E),C&&(m.style[et]=E)},lw=function(e,n,r,s,i){var a=360,l=xt(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Ms:1),d=c-s,u=s+d+"deg",h,f;return l&&(h=i.split("_")[1],h==="short"&&(d%=a,d!==d%(a/2)&&(d+=d<0?a:-a)),h==="cw"&&d<0?d=(d+a*d0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*d0)%a-~~(d/a)*a)),e._pt=f=new Ft(e._pt,n,r,s,d,jy),f.e=u,f.u="deg",e._props.push(r),f},S0=function(e,n){for(var r in n)e[r]=n[r];return e},cw=function(e,n,r){var s=S0({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",a=r.style,l,c,d,u,h,f,m,g;s.svg?(d=r.getAttribute("transform"),r.setAttribute("transform",""),a[et]=n,l=po(r,1),vs(r,et),r.setAttribute("transform",d)):(d=getComputedStyle(r)[et],a[et]=n,l=po(r,1),a[et]=d);for(c in ur)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Et(d),g=Et(u),h=m!==g?Zr(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new Ft(e._pt,l,c,h,f-h,Fd),e._pt.u=g||0,e._props.push(c));S0(l,s)};At("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",s="Bottom",i="Left",a=(e<3?[n,r,s,i]:[n+i,n+r,s+r,s+i]).map(function(l){return e<2?t+l:"border"+l+t});Na[e>1?"border"+t:t]=function(l,c,d,u,h){var f,m;if(arguments.length<4)return f=a.map(function(g){return hr(l,g,d)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},a.forEach(function(g,p){return m[g]=f[p]=f[p]||f[(p-1)/2|0]}),l.init(c,m,h)}});var T0={name:"css",register:Id,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,s,i){var a=this._props,l=e.style,c=r.vars.startAt,d,u,h,f,m,g,p,_,y,C,k,S,M,D,v,O;Vd||Id(),this.styles=this.styles||m0(e),O=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Kt[p]&&Jf(p,n,r,s,e,i)))){if(m=typeof u,g=Na[p],m==="function"&&(u=u.call(r,s,e,i),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=ao(u)),g)g(this,e,p,u,r)&&(v=1);else if(p.substr(0,2)==="--")d=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Yr.lastIndex=0,Yr.test(d)||(_=Et(d),y=Et(u)),y?_!==y&&(d=Zr(e,p,d,y)+y):_&&(u+=_),this.add(l,"setProperty",d,u,s,i,0,0,p),a.push(p),O.push(p,0,l[p]);else if(m!=="undefined"){if(c&&p in c?(d=typeof c[p]=="function"?c[p].call(r,s,e,i):c[p],xt(d)&&~d.indexOf("random(")&&(d=ao(d)),Et(d+"")||d==="auto"||(d+=qt.units[p]||Et(hr(e,p))||""),(d+"").charAt(1)==="="&&(d=hr(e,p))):d=hr(e,p),f=parseFloat(d),C=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),C&&(u=u.substr(2)),h=parseFloat(u),p in Gn&&(p==="autoAlpha"&&(f===1&&hr(e,"visibility")==="hidden"&&h&&(f=0),O.push("visibility",0,l.visibility),jr(this,l,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=Gn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in ur,k){if(this.styles.save(p),S||(M=e._gsap,M.renderTransform&&!n.parseTransform||po(e,n.parseTransform),D=n.smoothOrigin!==!1&&M.smooth,S=this._pt=new Ft(this._pt,l,et,0,1,M.renderTransform,M,0,-1),S.dep=1),p==="scale")this._pt=new Ft(this._pt,M,"scaleY",M.scaleY,(C?ci(M.scaleY,C+h):h)-M.scaleY||0,Fd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){O.push(It,0,l[It]),u=sw(u),M.svg?Hd(e,u,0,D,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&jr(this,M,"zOrigin",M.zOrigin,y),jr(this,l,p,Va(d),Va(u)));continue}else if(p==="svgOrigin"){Hd(e,u,1,D,0,this);continue}else if(p in C0){lw(this,M,p,f,C?ci(f,C+u):u);continue}else if(p==="smoothOrigin"){jr(this,M,"smooth",M.smooth,u);continue}else if(p==="force3D"){M[p]=u;continue}else if(p==="transform"){cw(this,u,e);continue}}else p in l||(p=_i(p)||p);if(k||(h||h===0)&&(f||f===0)&&!Wy.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Et(u)||(p in qt.units?qt.units[p]:_),_!==y&&(f=Zr(e,p,d,y)),this._pt=new Ft(this._pt,k?M:l,p,f,(C?ci(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?Uy:Fd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=Zy);else if(p in l)rw.call(this,e,p,d,C?C+u:u);else if(p in e)this.add(e,p,d||e[p],C?C+u:u,s,i);else if(p!=="parseTransform"){ud(p,u);continue}k||(p in l?O.push(p,0,l[p]):O.push(p,1,d||e[p])),a.push(p)}}v&&i0(this)},render:function(e,n){if(n.tween._time||!Bd())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:hr,aliases:Gn,getSetter:function(e,n,r){var s=Gn[n];return s&&s.indexOf(",")<0&&(n=s),n in ur&&n!==It&&(e._gsap.x||hr(e,"x"))?r&&c0===r?n==="scale"?Xy:Ky:(c0=r||{})&&(n==="scale"?Qy:Jy):e.style&&!id(e.style[n])?qy:~n.indexOf("-")?Gy:Od(e,n)},core:{_removeProperty:vs,_getMatrix:Yd}};Rt.utils.checkPrefix=_i,Rt.core.getStyleSaver=m0,function(t,e,n,r){var s=At(t+","+e+","+n,function(i){ur[i]=1});At(e,function(i){qt.units[i]="deg",C0[i]=1}),Gn[s[13]]=t+","+e,At(r,function(i){var a=i.split(":");Gn[a[1]]=s[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),At("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){qt.units[t]="px"}),Rt.registerPlugin(T0);var Ur=Rt.registerPlugin(T0)||Rt;Ur.core.Tween;const dw={__name:"Confetti",setup(t){function e(r){let s=100,i=r.offsetWidth,a=r.offsetHeight;for(let u=0;u<s;u++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),Ur.set(h,{x:c(i),y:d(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+d(170,360)+",50%,50%)"}),l(h)}function l(u){Ur.set(r,{display:"block"}),Ur.to(r,{autoAlpha:1,duration:2,delay:1}),Ur.to(u,c(5)+4,{y:a,ease:zy.easeNone,repeat:-1,delay:-5}),Ur.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Nd.easeInOut}),Ur.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Nd.easeInOut}),Ur.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Nd.easeInOut})}function c(u){return Math.random()*u}function d(u,h){return u+Math.floor(Math.random()*(h-u))}}const n=o.ref(null);return o.onMounted(()=>{n.value&&e(n.value)}),(r,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:n,class:"confetti"},null,512))}},uw={class:"toast__content"},D0=Oe(o.defineComponent({__name:"Toast",props:{type:{type:String,default:"success"},textOnClose:{type:String},message:{type:String,default:""},action:{type:Object,default:void 0},duration:{type:Number}},setup(t){const e=t,n=o.ref(null),r=()=>{var a,l,c,d;(a=e.action)!=null&&a.label?(l=e.action)==null||l.callback():(d=(c=n.value)==null?void 0:c.parentElement)==null||d.remove()},s=o.computed(()=>e.type==="success"?"check-circle-fill":"circle-close"),i=o.computed(()=>e.type==="success"?"-success":e.type==="info"?"-info":"-error");return(a,l)=>(o.openBlock(),o.createBlock(o.Transition,null,{default:o.withCtx(()=>{var c;return[o.createElementVNode("div",{ref_key:"toast",ref:n,class:"toast"},[o.createElementVNode("div",uw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(ze,{icon:s.value},null,8,["icon"])],2),o.withDirectives(o.createElementVNode("div",{class:"toast__text"},o.toDisplayString(t.message),513),[[o.vShow,t.message.length]])]),o.createElementVNode("div",{class:"toast__dismiss",onClick:r},o.toDisplayString((c=t.action)!=null&&c.label?t.action.label:t.textOnClose),1)],512)]}),_:1}))}}),[["__scopeId","data-v-cddb489d"]]),hw={key:0,class:"scope-textarea__label"},fw=["disabled","placeholder","veeBind","maxlength"],mw={key:1,class:"scope-textarea__error"},pw=Oe({__name:"Textarea",props:o.mergeModels({maxLength:{type:Number,default:524288},placeholder:String,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue"),s=t,i=o.computed(()=>s.width||s.height?{width:s.width,height:s.height}:null);return(a,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-textarea",{"-full-width":t.fullWidth}])},[t.label?(o.openBlock(),o.createElementBlock("div",hw,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("textarea",{disabled:t.disabled,class:o.normalizeClass([{"-invalid":t.invalid}]),"onUpdate:modelValue":l[0]||(l[0]=c=>r.value=c),style:o.normalizeStyle(i.value),placeholder:t.placeholder,onInput:l[1]||(l[1]=c=>n("input")),veeBind:t.veeBind,onKeyup:l[2]||(l[2]=o.withKeys(c=>n("enter"),["enter"])),maxlength:t.maxLength},null,46,fw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",mw,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-18bb6f92"]]),O0=t=>(o.pushScopeId("data-v-c6866516"),t=t(),o.popScopeId(),t),gw={class:"sidebar-popup-container"},_w={class:"sidebar-popup__profile-info"},yw=["src"],ww={key:1,class:"sidebar-popup__profile-info__letter"},bw={class:"sidebar-popup__profile-info__wrapper"},kw={class:"sidebar-popup__profile-info__name"},Cw={class:"sidebar-popup__profile-info__e-mail"},xw=O0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Mw={class:"sidebar-popup__tabs"},vw=["onClick"],Sw={class:"sidebar-popup__tab__icon-wrapper"},Tw={class:"sidebar-popup__tab__name"},Dw=O0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Ow={class:"sidebar-popup__actions-buttons"},Ew=Oe({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,s=o.ref(!1),i=o.ref(null),a=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!1},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),l=o.computed(()=>n.user&&n.user.name?n.user.name.charAt(0):"U"),c=()=>{if(window!==void 0){const f=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${f}/settings/profile`,"_self")}},d=f=>{f.isActive&&window.open(`https://${f.name}.scope360.io/`)},u=()=>{s.value=!s.value},h=f=>{i.value&&!i.value.contains(f.target)&&u()};return o.onMounted(()=>{document.addEventListener("click",h)}),o.onUnmounted(()=>{document.removeEventListener("click",h)}),(f,m)=>(o.openBlock(),o.createElementBlock("div",gw,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":s.value}]),onClick:o.withModifiers(u,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(ze,{icon:"pop-up_opener"})],2),s.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:i},[o.createElementVNode("div",_w,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,yw)):(o.openBlock(),o.createElementBlock("div",ww,o.toDisplayString(l.value),1)),o.createElementVNode("div",bw,[o.createElementVNode("div",kw,o.toDisplayString(t.user.name),1),o.createElementVNode("div",Cw,o.toDisplayString(t.user.email),1)])]),xw,o.createElementVNode("div",Mw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a,g=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":g.name===t.activeSection},{"-is-disable":!g.isActive}]),onClick:p=>d(g)},[o.createElementVNode("div",Sw,[o.createVNode(ze,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",Tw,o.toDisplayString(g.name),1)],10,vw))),256))]),Dw,o.createElementVNode("div",Ow,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":t.activeSection==="settings"}]),onClick:c}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:m[0]||(m[0]=g=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c6866516"]]),Pw={class:"scope-tooltip"},hn=Oe({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Pw,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(ze),{icon:"tip",class:"scope-tooltip__icon"})],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__text",{"-alternative":t.alternative}])},[o.renderSlot(e.$slots,"default",{},void 0,!0)],2)]))}},[["__scopeId","data-v-4c8f32d0"]]),Lw={class:"no-more"},$w={class:"no-more__icon-wrapper"},Nw={class:"no-more__text-wrapper"},Vw={class:"no-more__title"},Bw={class:"no-more__subtitle"},jd=Oe({__name:"NoMore",props:{title:{type:String,default:"No more trades"},subtitle:{type:String,default:"No data available for the specified period"},icon:{type:String,default:"pie-chart"}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Lw,[o.createElementVNode("div",$w,[o.createVNode(o.unref(ze),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",Nw,[o.createElementVNode("div",Vw,o.toDisplayString(t.title),1),o.createElementVNode("div",Bw,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-f657b0dd"]]),E0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),Aw={class:"long-short"},Fw=E0(()=>o.createElementVNode("span",null,"L",-1)),Rw={class:"long-short__item__text"},Iw=E0(()=>o.createElementVNode("span",null,"S",-1)),zw={class:"long-short__item__text"},P0=Oe({__name:"LongShort",props:{long:{type:Number,default:0},short:{type:Number,default:0}},setup(t){const e=t,n=o.computed(()=>{const r=e.long/(e.long+e.short)*100;return isNaN(r)?50:r});return(r,s)=>(o.openBlock(),o.createElementBlock("div",Aw,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[Fw,o.createElementVNode("div",Rw,o.toDisplayString(o.unref(jt)(t.long/(t.long+t.short)*100,1))+"%",1)],4),o.createElementVNode("div",{class:"long-short__item -short",style:o.normalizeStyle(`width: ${100-n.value}%`)},[Iw,o.createElementVNode("div",zw,o.toDisplayString(o.unref(jt)(t.short/(t.long+t.short)*100,1))+"%",1)],4)]))}},[["__scopeId","data-v-2042001e"]]);/*!
18
18
  * @kurkle/color v0.3.2
19
19
  * https://github.com/kurkle/color#readme
20
20
  * (c) 2023 Jukka Kurkela
21
21
  * Released under the MIT License
22
- */function _o(t){return t+.5|0}const qr=(t,e,n)=>Math.max(Math.min(t,n),e);function yo(t){return qr(_o(t*2.55),0,255)}function Gr(t){return qr(_o(t*255),0,255)}function fr(t){return qr(_o(t/2.55)/100,0,1)}function L0(t){return qr(_o(t*100),0,100)}const fn={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},Zd=[..."0123456789ABCDEF"],Fw=t=>Zd[t&15],Rw=t=>Zd[(t&240)>>4]+Zd[t&15],Ba=t=>(t&240)>>4===(t&15),Iw=t=>Ba(t.r)&&Ba(t.g)&&Ba(t.b)&&Ba(t.a);function zw(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&fn[t[1]]*17,g:255&fn[t[2]]*17,b:255&fn[t[3]]*17,a:e===5?fn[t[4]]*17:255}:(e===7||e===9)&&(n={r:fn[t[1]]<<4|fn[t[2]],g:fn[t[3]]<<4|fn[t[4]],b:fn[t[5]]<<4|fn[t[6]],a:e===9?fn[t[7]]<<4|fn[t[8]]:255})),n}const Yw=(t,e)=>t<255?e(t):"";function Hw(t){var e=Iw(t)?Fw:Rw;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Yw(t.a,e):void 0}const Ww=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function $0(t,e,n){const r=e*Math.min(n,1-n),s=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[s(0),s(8),s(4)]}function jw(t,e,n){const r=(s,i=(s+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Zw(t,e,n){const r=$0(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)r[s]*=1-e-n,r[s]+=e;return r}function Uw(t,e,n,r,s){return t===s?(e-n)/r+(e<n?6:0):e===s?(n-t)/r+2:(t-e)/r+4}function Ud(t){const n=t.r/255,r=t.g/255,s=t.b/255,i=Math.max(n,r,s),a=Math.min(n,r,s),l=(i+a)/2;let c,d,u;return i!==a&&(u=i-a,d=l>.5?u/(2-i-a):u/(i+a),c=Uw(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function qd(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Gr)}function Gd(t,e,n){return qd($0,t,e,n)}function qw(t,e,n){return qd(Zw,t,e,n)}function Gw(t,e,n){return qd(jw,t,e,n)}function N0(t){return(t%360+360)%360}function Kw(t){const e=Ww.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?yo(+e[5]):Gr(+e[5]));const s=N0(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=qw(s,i,a):e[1]==="hsv"?r=Gw(s,i,a):r=Gd(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function Xw(t,e){var n=Ud(t);n[0]=N0(n[0]+e),n=Gd(n),t.r=n[0],t.g=n[1],t.b=n[2]}function Qw(t){if(!t)return;const e=Ud(t),n=e[0],r=L0(e[1]),s=L0(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${fr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const V0={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"},B0={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 Jw(){const t={},e=Object.keys(B0),n=Object.keys(V0);let r,s,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],s=0;s<n.length;s++)i=n[s],l=l.replace(i,V0[i]);i=parseInt(B0[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let Aa;function eb(t){Aa||(Aa=Jw(),Aa.transparent=[0,0,0,0]);const e=Aa[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const tb=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function nb(t){const e=tb.exec(t);let n=255,r,s,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?yo(a):qr(a*255,0,255)}return r=+e[1],s=+e[3],i=+e[5],r=255&(e[2]?yo(r):qr(r,0,255)),s=255&(e[4]?yo(s):qr(s,0,255)),i=255&(e[6]?yo(i):qr(i,0,255)),{r,g:s,b:i,a:n}}}function rb(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${fr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const Kd=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,yi=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function sb(t,e,n){const r=yi(fr(t.r)),s=yi(fr(t.g)),i=yi(fr(t.b));return{r:Gr(Kd(r+n*(yi(fr(e.r))-r))),g:Gr(Kd(s+n*(yi(fr(e.g))-s))),b:Gr(Kd(i+n*(yi(fr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Fa(t,e,n){if(t){let r=Ud(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=Gd(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function A0(t,e){return t&&Object.assign(e||{},t)}function F0(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=Gr(t[3]))):(e=A0(t,{r:0,g:0,b:0,a:1}),e.a=Gr(e.a)),e}function ib(t){return t.charAt(0)==="r"?nb(t):Kw(t)}class wo{constructor(e){if(e instanceof wo)return e;const n=typeof e;let r;n==="object"?r=F0(e):n==="string"&&(r=zw(e)||eb(e)||ib(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=A0(this._rgb);return e&&(e.a=fr(e.a)),e}set rgb(e){this._rgb=F0(e)}rgbString(){return this._valid?rb(this._rgb):void 0}hexString(){return this._valid?Hw(this._rgb):void 0}hslString(){return this._valid?Qw(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,s=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,c=r.a-s.a,d=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;i=1-d,r.r=255&d*r.r+i*s.r+.5,r.g=255&d*r.g+i*s.g+.5,r.b=255&d*r.b+i*s.b+.5,r.a=a*r.a+(1-a)*s.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=sb(this._rgb,e._rgb,n)),this}clone(){return new wo(this.rgb)}alpha(e){return this._rgb.a=Gr(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=_o(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.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 Fa(this._rgb,2,e),this}darken(e){return Fa(this._rgb,2,-e),this}saturate(e){return Fa(this._rgb,1,e),this}desaturate(e){return Fa(this._rgb,1,-e),this}rotate(e){return Xw(this._rgb,e),this}}/*!
22
+ */function _o(t){return t+.5|0}const qr=(t,e,n)=>Math.max(Math.min(t,n),e);function yo(t){return qr(_o(t*2.55),0,255)}function Gr(t){return qr(_o(t*255),0,255)}function fr(t){return qr(_o(t/2.55)/100,0,1)}function L0(t){return qr(_o(t*100),0,100)}const fn={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},Zd=[..."0123456789ABCDEF"],Yw=t=>Zd[t&15],Hw=t=>Zd[(t&240)>>4]+Zd[t&15],Ba=t=>(t&240)>>4===(t&15),Ww=t=>Ba(t.r)&&Ba(t.g)&&Ba(t.b)&&Ba(t.a);function jw(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&fn[t[1]]*17,g:255&fn[t[2]]*17,b:255&fn[t[3]]*17,a:e===5?fn[t[4]]*17:255}:(e===7||e===9)&&(n={r:fn[t[1]]<<4|fn[t[2]],g:fn[t[3]]<<4|fn[t[4]],b:fn[t[5]]<<4|fn[t[6]],a:e===9?fn[t[7]]<<4|fn[t[8]]:255})),n}const Zw=(t,e)=>t<255?e(t):"";function Uw(t){var e=Ww(t)?Yw:Hw;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Zw(t.a,e):void 0}const qw=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function $0(t,e,n){const r=e*Math.min(n,1-n),s=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[s(0),s(8),s(4)]}function Gw(t,e,n){const r=(s,i=(s+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Kw(t,e,n){const r=$0(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)r[s]*=1-e-n,r[s]+=e;return r}function Xw(t,e,n,r,s){return t===s?(e-n)/r+(e<n?6:0):e===s?(n-t)/r+2:(t-e)/r+4}function Ud(t){const n=t.r/255,r=t.g/255,s=t.b/255,i=Math.max(n,r,s),a=Math.min(n,r,s),l=(i+a)/2;let c,d,u;return i!==a&&(u=i-a,d=l>.5?u/(2-i-a):u/(i+a),c=Xw(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function qd(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Gr)}function Gd(t,e,n){return qd($0,t,e,n)}function Qw(t,e,n){return qd(Kw,t,e,n)}function Jw(t,e,n){return qd(Gw,t,e,n)}function N0(t){return(t%360+360)%360}function eb(t){const e=qw.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?yo(+e[5]):Gr(+e[5]));const s=N0(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=Qw(s,i,a):e[1]==="hsv"?r=Jw(s,i,a):r=Gd(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function tb(t,e){var n=Ud(t);n[0]=N0(n[0]+e),n=Gd(n),t.r=n[0],t.g=n[1],t.b=n[2]}function nb(t){if(!t)return;const e=Ud(t),n=e[0],r=L0(e[1]),s=L0(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${fr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const V0={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"},B0={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 rb(){const t={},e=Object.keys(B0),n=Object.keys(V0);let r,s,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],s=0;s<n.length;s++)i=n[s],l=l.replace(i,V0[i]);i=parseInt(B0[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let Aa;function sb(t){Aa||(Aa=rb(),Aa.transparent=[0,0,0,0]);const e=Aa[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const ib=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function ob(t){const e=ib.exec(t);let n=255,r,s,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?yo(a):qr(a*255,0,255)}return r=+e[1],s=+e[3],i=+e[5],r=255&(e[2]?yo(r):qr(r,0,255)),s=255&(e[4]?yo(s):qr(s,0,255)),i=255&(e[6]?yo(i):qr(i,0,255)),{r,g:s,b:i,a:n}}}function ab(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${fr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const Kd=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,yi=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function lb(t,e,n){const r=yi(fr(t.r)),s=yi(fr(t.g)),i=yi(fr(t.b));return{r:Gr(Kd(r+n*(yi(fr(e.r))-r))),g:Gr(Kd(s+n*(yi(fr(e.g))-s))),b:Gr(Kd(i+n*(yi(fr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Fa(t,e,n){if(t){let r=Ud(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=Gd(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function A0(t,e){return t&&Object.assign(e||{},t)}function F0(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=Gr(t[3]))):(e=A0(t,{r:0,g:0,b:0,a:1}),e.a=Gr(e.a)),e}function cb(t){return t.charAt(0)==="r"?ob(t):eb(t)}class wo{constructor(e){if(e instanceof wo)return e;const n=typeof e;let r;n==="object"?r=F0(e):n==="string"&&(r=jw(e)||sb(e)||cb(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=A0(this._rgb);return e&&(e.a=fr(e.a)),e}set rgb(e){this._rgb=F0(e)}rgbString(){return this._valid?ab(this._rgb):void 0}hexString(){return this._valid?Uw(this._rgb):void 0}hslString(){return this._valid?nb(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,s=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,c=r.a-s.a,d=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;i=1-d,r.r=255&d*r.r+i*s.r+.5,r.g=255&d*r.g+i*s.g+.5,r.b=255&d*r.b+i*s.b+.5,r.a=a*r.a+(1-a)*s.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=lb(this._rgb,e._rgb,n)),this}clone(){return new wo(this.rgb)}alpha(e){return this._rgb.a=Gr(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=_o(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.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 Fa(this._rgb,2,e),this}darken(e){return Fa(this._rgb,2,-e),this}saturate(e){return Fa(this._rgb,1,e),this}desaturate(e){return Fa(this._rgb,1,-e),this}rotate(e){return tb(this._rgb,e),this}}/*!
23
23
  * Chart.js v4.4.2
24
24
  * https://www.chartjs.org
25
25
  * (c) 2024 Chart.js Contributors
26
26
  * Released under the MIT License
27
- */function mr(){}const ob=(()=>{let t=0;return()=>t++})();function Ze(t){return t===null||typeof t>"u"}function tt(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 ve(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function it(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Jt(t,e){return it(t)?t:e}function Be(t,e){return typeof t>"u"?e:t}const ab=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ot(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Ae(t,e,n,r){let s,i,a;if(tt(t))if(i=t.length,r)for(s=i-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;s<i;s++)e.call(n,t[s],s);else if(ve(t))for(a=Object.keys(t),i=a.length,s=0;s<i;s++)e.call(n,t[a[s]],a[s])}function Ra(t,e){let n,r,s,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(s=t[n],i=e[n],s.datasetIndex!==i.datasetIndex||s.index!==i.index)return!1;return!0}function Ia(t){if(tt(t))return t.map(Ia);if(ve(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let s=0;for(;s<r;++s)e[n[s]]=Ia(t[n[s]]);return e}return t}function R0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function lb(t,e,n,r){if(!R0(t))return;const s=e[t],i=n[t];ve(s)&&ve(i)?bo(s,i,r):e[t]=Ia(i)}function bo(t,e,n){const r=tt(e)?e:[e],s=r.length;if(!ve(t))return t;n=n||{};const i=n.merger||lb;let a;for(let l=0;l<s;++l){if(a=r[l],!ve(a))continue;const c=Object.keys(a);for(let d=0,u=c.length;d<u;++d)i(c[d],t,a,n)}return t}function ko(t,e){return bo(t,e,{merger:cb})}function cb(t,e,n){if(!R0(t))return;const r=e[t],s=n[t];ve(r)&&ve(s)?ko(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ia(s))}const I0={"":t=>t,x:t=>t.x,y:t=>t.y};function db(t){const e=t.split("."),n=[];let r="";for(const s of e)r+=s,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function ub(t){const e=db(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function za(t,e){return(I0[e]||(I0[e]=ub(e)))(t)}function Xd(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ya=t=>typeof t<"u",Kr=t=>typeof t=="function",z0=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function hb(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const vt=Math.PI,en=2*vt,fb=en+vt,Ha=Number.POSITIVE_INFINITY,mb=vt/180,tn=vt/2,Os=vt/4,Y0=vt*2/3,Xr=Math.log10,wi=Math.sign;function Co(t,e,n){return Math.abs(t-e)<n}function H0(t){const e=Math.round(t);t=Co(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Xr(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function pb(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((s,i)=>s-i).pop(),e}function xo(t){return!isNaN(parseFloat(t))&&isFinite(t)}function gb(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function W0(t,e,n){let r,s,i;for(r=0,s=t.length;r<s;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function Qr(t){return t*(vt/180)}function Qd(t){return t*(180/vt)}function j0(t){if(!it(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function _b(t,e){const n=e.x-t.x,r=e.y-t.y,s=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*vt&&(i+=en),{angle:i,distance:s}}function Jd(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function yb(t,e){return(t-e+fb)%en-vt}function nn(t){return(t%en+en)%en}function Z0(t,e,n,r){const s=nn(t),i=nn(e),a=nn(n),l=nn(i-s),c=nn(a-s),d=nn(s-i),u=nn(s-a);return s===i||s===a||r&&i===a||l>c&&d<u}function mn(t,e,n){return Math.max(e,Math.min(n,t))}function wb(t){return mn(t,-32768,32767)}function U0(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function eu(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,s=0,i;for(;r-s>1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const Ds=(t,e,n,r)=>eu(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),bb=(t,e,n)=>eu(t,n,r=>t[r][e]>=n);function kb(t,e,n){let r=0,s=t.length;for(;r<s&&t[r]<e;)r++;for(;s>r&&t[s-1]>n;)s--;return r>0||s<t.length?t.slice(r,s):t}const q0=["push","pop","shift","splice","unshift"];function Cb(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),q0.forEach(n=>{const r="_onData"+Xd(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=s.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function G0(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,s=r.indexOf(e);s!==-1&&r.splice(s,1),!(r.length>0)&&(q0.forEach(i=>{delete t[i]}),delete t._chartjs)}function xb(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const K0=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function X0(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,K0.call(window,()=>{r=!1,t.apply(e,n)}))}}function Mb(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const vb=t=>t==="start"?"left":t==="end"?"right":"center",Q0=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function Sb(t,e,n){const r=e.length;let s=0,i=r;if(t._sorted){const{iScale:a,_parsed:l}=t,c=a.axis,{min:d,max:u,minDefined:h,maxDefined:f}=a.getUserBounds();h&&(s=mn(Math.min(Ds(l,c,d).lo,n?r:Ds(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=mn(Math.max(Ds(l,a.axis,u,!0).hi+1,n?0:Ds(e,c,a.getPixelForValue(u),!0).hi+1),s,r)-s:i=r-s}return{start:s,count:i}}function Tb(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=s,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,s),i}const Wa=t=>t===0||t===1,J0=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*en/n)),e2=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*en/n)+1,Mo={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*tn)+1,easeOutSine:t=>Math.sin(t*tn),easeInOutSine:t=>-.5*(Math.cos(vt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Wa(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=>Wa(t)?t:J0(t,.075,.3),easeOutElastic:t=>Wa(t)?t:e2(t,.075,.3),easeInOutElastic(t){return Wa(t)?t:t<.5?.5*J0(t*2,.1125,.45):.5+.5*e2(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-Mo.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?Mo.easeInBounce(t*2)*.5:Mo.easeOutBounce(t*2-1)*.5+.5};function tu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function t2(t){return tu(t)?t:new wo(t)}function nu(t){return tu(t)?t:new wo(t).saturate(.5).darken(.1).hexString()}const Ob=["x","y","borderWidth","radius","tension"],Db=["color","borderColor","backgroundColor"];function Eb(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:Db},numbers:{type:"number",properties:Ob}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function Pb(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const n2=new Map;function Lb(t,e){e=e||{};const n=t+JSON.stringify(e);let r=n2.get(n);return r||(r=new Intl.NumberFormat(t,e),n2.set(n,r)),r}function ru(t,e,n){return Lb(e,n).format(t)}const r2={values(t){return tt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let s,i=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(s="scientific"),i=$b(t,n)}const a=Xr(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:s,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),ru(t,r,c)},logarithmic(t,e,n){if(t===0)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Xr(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?r2.numeric.call(this,t,e,n):""}};function $b(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var ja={formatters:r2};function Nb(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ja.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Es=Object.create(null),su=Object.create(null);function vo(t,e){if(!e)return t;const n=e.split(".");for(let r=0,s=n.length;r<s;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function iu(t,e,n){return typeof e=="string"?bo(vo(t,e),n):bo(vo(t,""),e)}class Vb{constructor(e,n){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,s)=>nu(s.backgroundColor),this.hoverBorderColor=(r,s)=>nu(s.borderColor),this.hoverColor=(r,s)=>nu(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return iu(this,e,n)}get(e){return vo(this,e)}describe(e,n){return iu(su,e,n)}override(e,n){return iu(Es,e,n)}route(e,n,r,s){const i=vo(this,e),a=vo(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[l],d=a[s];return ve(c)?Object.assign({},d,c):Be(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var mt=new Vb({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Eb,Pb,Nb]);function Bb(t){return!t||Ze(t.size)||Ze(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Za(t,e,n,r,s){let i=e[s];return i||(i=e[s]=t.measureText(s).width,n.push(s)),i>r&&(r=i),r}function Ab(t,e,n,r){r=r||{};let s=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(s=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const l=n.length;let c,d,u,h,f;for(c=0;c<l;c++)if(h=n[c],h!=null&&!tt(h))a=Za(t,s,i,a,h);else if(tt(h))for(d=0,u=h.length;d<u;d++)f=h[d],f!=null&&!tt(f)&&(a=Za(t,s,i,a,f));t.restore();const m=i.length/2;if(m>n.length){for(c=0;c<m;c++)delete s[i[c]];i.splice(0,m)}return a}function Ps(t,e,n){const r=t.currentDevicePixelRatio,s=n!==0?Math.max(n/2,.5):0;return Math.round((e-s)*r)/r+s}function s2(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ou(t,e,n,r){Fb(t,e,n,r,null)}function Fb(t,e,n,r,s){let i,a,l,c,d,u,h,f;const m=e.pointStyle,g=e.rotation,p=e.radius;let _=(g||0)*mb;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(_),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(p)||p<=0)){switch(t.beginPath(),m){default:s?t.ellipse(n,r,s/2,p,0,0,en):t.arc(n,r,p,0,en),t.closePath();break;case"triangle":u=s?s/2:p,t.moveTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Y0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Y0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Os)*c,h=Math.cos(_+Os)*(s?s/2-d:c),l=Math.sin(_+Os)*c,f=Math.sin(_+Os)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-vt,_-tn),t.arc(n+f,r-a,d,_-tn,_),t.arc(n+h,r+l,d,_,_+tn),t.arc(n-f,r+a,d,_+tn,_+vt),t.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*p,u=s?s/2:c,t.rect(n-u,r-c,2*u,2*c);break}_+=Os;case"rectRot":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+f,r-a),t.lineTo(n+h,r+l),t.lineTo(n-f,r+a),t.closePath();break;case"crossRot":_+=Os;case"cross":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"star":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a),_+=Os,h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"line":a=s?s/2:Math.cos(_)*p,l=Math.sin(_)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(_)*(s?s/2:p),r+Math.sin(_)*p);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function pr(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function au(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function lu(t){t.restore()}function Rb(t,e,n,r,s){if(!e)return t.lineTo(n.x,n.y);if(s==="middle"){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else s==="after"!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function Ib(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function zb(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ze(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 Yb(t,e,n,r,s){if(s.strikethrough||s.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,c=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,u=s.strikethrough?(c+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=s.decorationWidth||2,t.moveTo(a,u),t.lineTo(l,u),t.stroke()}}function Hb(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Ua(t,e,n,r,s,i={}){const a=tt(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let c,d;for(t.save(),t.font=s.string,zb(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&Hb(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ze(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),Yb(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function cu(t,e){const{x:n,y:r,w:s,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*vt,vt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,vt,tn,!0),t.lineTo(n+s-a.bottomRight,r+i),t.arc(n+s-a.bottomRight,r+i-a.bottomRight,a.bottomRight,tn,0,!0),t.lineTo(n+s,r+a.topRight),t.arc(n+s-a.topRight,r+a.topRight,a.topRight,0,-tn,!0),t.lineTo(n+a.topLeft,r)}const Wb=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,jb=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Zb(t,e){const n=(""+t).match(Wb);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const Ub=t=>+t||0;function i2(t,e){const n={},r=ve(e),s=r?Object.keys(e):e,i=ve(t)?r?a=>Be(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=Ub(i(a));return n}function qb(t){return i2(t,{top:"y",right:"x",bottom:"y",left:"x"})}function So(t){return i2(t,["topLeft","topRight","bottomLeft","bottomRight"])}function pn(t){const e=qb(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function rn(t,e){t=t||{},e=e||mt.font;let n=Be(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Be(t.style,e.style);r&&!(""+r).match(jb)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Be(t.family,e.family),lineHeight:Zb(Be(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Be(t.weight,e.weight),string:""};return s.string=Bb(s),s}function qa(t,e,n,r){let s=!0,i,a,l;for(i=0,a=t.length;i<a;++i)if(l=t[i],l!==void 0&&(e!==void 0&&typeof l=="function"&&(l=l(e),s=!1),n!==void 0&&tt(l)&&(l=l[n%l.length],s=!1),l!==void 0))return r&&!s&&(r.cacheable=!1),l}function Gb(t,e,n){const{min:r,max:s}=t,i=ab(e,(s-r)/2),a=(l,c)=>n&&l===0?0:l+c;return{min:a(r,-Math.abs(i)),max:a(s,i)}}function Jr(t,e){return Object.assign(Object.create(t),e)}function du(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=d2("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>du([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete t[0][c],!0},get(l,c){return a2(l,c,()=>rk(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return u2(l).includes(c)},ownKeys(l){return u2(l)},set(l,c,d){const u=l._storage||(l._storage=s());return l[c]=u[c]=d,delete l._keys,!0}})}function bi(t,e,n,r){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:o2(t,r),setContext:i=>bi(t,i,n,r),override:i=>bi(t.override(i),e,n,r)};return new Proxy(s,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return a2(i,a,()=>Xb(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function o2(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:r,isScriptable:Kr(n)?n:()=>n,isIndexable:Kr(r)?r:()=>r}}const Kb=(t,e)=>t?t+Xd(e):e,uu=(t,e)=>ve(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function a2(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Xb(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Kr(l)&&a.isScriptable(e)&&(l=Qb(e,l,t,n)),tt(l)&&l.length&&(l=Jb(e,l,t,a.isIndexable)),uu(e,l)&&(l=bi(l,s,i&&i[e],a)),l}function Qb(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let c=e(i,a||r);return l.delete(t),uu(t,c)&&(c=hu(s._scopes,s,t,c)),c}function Jb(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(ve(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=hu(d,s,t,u);e.push(bi(h,i,a&&a[t],l))}}return e}function l2(t,e,n){return Kr(t)?t(e,n):t}const ek=(t,e)=>t===!0?e:typeof t=="string"?za(e,t):void 0;function tk(t,e,n,r,s){for(const i of e){const a=ek(n,i);if(a){t.add(a);const l=l2(a._fallback,n,s);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function hu(t,e,n,r){const s=e._rootScopes,i=l2(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=c2(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=c2(l,a,i,c,r),c===null)?!1:du(Array.from(l),[""],s,i,()=>nk(e,n,r))}function c2(t,e,n,r,s){for(;n;)n=tk(t,e,n,r,s);return n}function nk(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return tt(s)&&ve(n)?n:s||{}}function rk(t,e,n,r){let s;for(const i of e)if(s=d2(Kb(i,t),n),typeof s<"u")return uu(t,s)?hu(n,r,t,s):s}function d2(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function u2(t){let e=t._keys;return e||(e=t._keys=sk(t._scopes)),e}function sk(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(r);return Array.from(e)}const ik=Number.EPSILON||1e-14,ki=(t,e)=>e<t.length&&!t[e].skip&&t[e],h2=t=>t==="x"?"y":"x";function ok(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=Jd(i,s),c=Jd(a,i);let d=l/(l+c),u=c/(l+c);d=isNaN(d)?0:d,u=isNaN(u)?0:u;const h=r*d,f=r*u;return{previous:{x:i.x-h*(a.x-s.x),y:i.y-h*(a.y-s.y)},next:{x:i.x+f*(a.x-s.x),y:i.y+f*(a.y-s.y)}}}function ak(t,e,n){const r=t.length;let s,i,a,l,c,d=ki(t,0);for(let u=0;u<r-1;++u)if(c=d,d=ki(t,u+1),!(!c||!d)){if(Co(e[u],0,ik)){n[u]=n[u+1]=0;continue}s=n[u]/e[u],i=n[u+1]/e[u],l=Math.pow(s,2)+Math.pow(i,2),!(l<=9)&&(a=3/Math.sqrt(l),n[u]=s*a*e[u],n[u+1]=i*a*e[u])}}function lk(t,e,n="x"){const r=h2(n),s=t.length;let i,a,l,c=ki(t,0);for(let d=0;d<s;++d){if(a=l,l=c,c=ki(t,d+1),!l)continue;const u=l[n],h=l[r];a&&(i=(u-a[n])/3,l[`cp1${n}`]=u-i,l[`cp1${r}`]=h-i*e[d]),c&&(i=(c[n]-u)/3,l[`cp2${n}`]=u+i,l[`cp2${r}`]=h+i*e[d])}}function ck(t,e="x"){const n=h2(e),r=t.length,s=Array(r).fill(0),i=Array(r);let a,l,c,d=ki(t,0);for(a=0;a<r;++a)if(l=c,c=d,d=ki(t,a+1),!!c){if(d){const u=d[e]-c[e];s[a]=u!==0?(d[n]-c[n])/u:0}i[a]=l?d?wi(s[a-1])!==wi(s[a])?0:(s[a-1]+s[a])/2:s[a-1]:s[a]}ak(t,s,i),lk(t,i,e)}function Ga(t,e,n){return Math.max(Math.min(t,n),e)}function dk(t,e){let n,r,s,i,a,l=pr(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=l,l=n<r-1&&pr(t[n+1],e),i&&(s=t[n],a&&(s.cp1x=Ga(s.cp1x,e.left,e.right),s.cp1y=Ga(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=Ga(s.cp2x,e.left,e.right),s.cp2y=Ga(s.cp2y,e.top,e.bottom)))}function uk(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")ck(t,s);else{let d=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)l=t[i],c=ok(d,l,t[Math.min(i+1,a-(r?0:1))%a],e.tension),l.cp1x=c.previous.x,l.cp1y=c.previous.y,l.cp2x=c.next.x,l.cp2y=c.next.y,d=l}e.capBezierPoints&&dk(t,n)}function fu(){return typeof window<"u"&&typeof document<"u"}function mu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Ka(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const Xa=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function hk(t,e){return Xa(t).getPropertyValue(e)}const fk=["top","right","bottom","left"];function Ls(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=fk[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const mk=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function pk(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(mk(s,i,t.target))l=s,c=i;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,c=r.clientY-d.top,a=!0}return{x:l,y:c,box:a}}function $s(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,s=Xa(n),i=s.boxSizing==="border-box",a=Ls(s,"padding"),l=Ls(s,"border","width"),{x:c,y:d,box:u}=pk(t,n),h=a.left+(u&&l.left),f=a.top+(u&&l.top);let{width:m,height:g}=e;return i&&(m-=a.width+l.width,g-=a.height+l.height),{x:Math.round((c-h)/m*n.width/r),y:Math.round((d-f)/g*n.height/r)}}function gk(t,e,n){let r,s;if(e===void 0||n===void 0){const i=mu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=Xa(i),c=Ls(l,"border","width"),d=Ls(l,"padding");e=a.width-d.width-c.width,n=a.height-d.height-c.height,r=Ka(l.maxWidth,i,"clientWidth"),s=Ka(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Ha,maxHeight:s||Ha}}const Qa=t=>Math.round(t*10)/10;function _k(t,e,n,r){const s=Xa(t),i=Ls(s,"margin"),a=Ka(s.maxWidth,t,"clientWidth")||Ha,l=Ka(s.maxHeight,t,"clientHeight")||Ha,c=gk(t,e,n);let{width:d,height:u}=c;if(s.boxSizing==="content-box"){const f=Ls(s,"border","width"),m=Ls(s,"padding");d-=m.width+f.width,u-=m.height+f.height}return d=Math.max(0,d-i.width),u=Math.max(0,r?d/r:u-i.height),d=Qa(Math.min(d,a,c.maxWidth)),u=Qa(Math.min(u,l,c.maxHeight)),d&&!u&&(u=Qa(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=Qa(Math.floor(u*r))),{width:d,height:u}}function f2(t,e,n){const r=e||1,s=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==s||a.width!==i?(t.currentDevicePixelRatio=r,a.height=s,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const yk=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};fu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function m2(t,e){const n=hk(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ns(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function wk(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:r==="middle"?n<.5?t.y:e.y:r==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function bk(t,e,n,r){const s={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=Ns(t,s,n),l=Ns(s,i,n),c=Ns(i,e,n),d=Ns(a,l,n),u=Ns(l,c,n);return Ns(d,u,n)}const kk=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},Ck=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function pu(t,e,n){return t?kk(e,n):Ck()}function xk(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Mk(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function p2(t){return t==="angle"?{between:Z0,compare:yb,normalize:nn}:{between:U0,compare:(e,n)=>e-n,normalize:e=>e}}function g2({start:t,end:e,count:n,loop:r,style:s}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:s}}function vk(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=p2(r),c=e.length;let{start:d,end:u,loop:h}=t,f,m;if(h){for(d+=c,u+=c,f=0,m=c;f<m&&a(l(e[d%c][r]),s,i);++f)d--,u--;d%=c,u%=c}return u<d&&(u+=c),{start:d,end:u,loop:h,style:t.style}}function _2(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=p2(r),{start:u,end:h,loop:f,style:m}=vk(t,e,n),g=[];let p=!1,_=null,y,C,k;const S=()=>c(s,k,y)&&l(s,k)!==0,M=()=>l(i,y)===0||c(i,k,y),O=()=>p||S(),v=()=>!p||M();for(let D=u,E=u;D<=h;++D)C=e[D%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&O()&&(_=l(y,s)===0?D:E),_!==null&&v()&&(g.push(g2({start:_,end:D,loop:f,count:a,style:m})),_=null),E=D,k=y));return _!==null&&g.push(g2({start:_,end:h,loop:f,count:a,style:m})),g}function y2(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=_2(r[s],t.points,e);i.length&&n.push(...i)}return n}function Sk(t,e,n,r){let s=0,i=e-1;if(n&&!r)for(;s<e&&!t[s].skip;)s++;for(;s<e&&t[s].skip;)s++;for(s%=e,n&&(i+=s);i>s&&t[i%e].skip;)i--;return i%=e,{start:s,end:i}}function Tk(t,e,n,r){const s=t.length,i=[];let a=e,l=t[e],c;for(c=e+1;c<=n;++c){const d=t[c%s];d.skip||d.stop?l.skip||(r=!1,i.push({start:e%s,end:(c-1)%s,loop:r}),e=a=d.stop?c:null):(a=c,l.skip&&(e=c)),l=d}return a!==null&&i.push({start:e%s,end:a%s,loop:r}),i}function Ok(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=Sk(n,s,i,r);if(r===!0)return w2(t,[{start:a,end:l,loop:i}],n,e);const c=l<a?l+s:l,d=!!t._fullLoop&&a===0&&l===s-1;return w2(t,Tk(n,a,c,d),n,e)}function w2(t,e,n,r){return!r||!r.setContext||!n?e:Dk(t,e,n,r)}function Dk(t,e,n,r){const s=t._chart.getContext(),i=b2(t.options),{_datasetIndex:a,options:{spanGaps:l}}=t,c=n.length,d=[];let u=i,h=e[0].start,f=h;function m(g,p,_,y){const C=l?-1:1;if(g!==p){for(g+=c;n[g%c].skip;)g-=C;for(;n[p%c].skip;)p+=C;g%c!==p%c&&(d.push({start:g%c,end:p%c,loop:_,style:y}),u=y,h=p%c)}}for(const g of e){h=l?h:g.start;let p=n[h%c],_;for(f=h+1;f<=g.end;f++){const y=n[f%c];_=b2(r.setContext(Jr(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),Ek(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function b2(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Ek(t,e){if(!e)return!1;const n=[],r=function(s,i){return tu(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
27
+ */function mr(){}const db=(()=>{let t=0;return()=>t++})();function Ze(t){return t===null||typeof t>"u"}function tt(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 ve(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function it(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Jt(t,e){return it(t)?t:e}function Be(t,e){return typeof t>"u"?e:t}const ub=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ot(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Ae(t,e,n,r){let s,i,a;if(tt(t))if(i=t.length,r)for(s=i-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;s<i;s++)e.call(n,t[s],s);else if(ve(t))for(a=Object.keys(t),i=a.length,s=0;s<i;s++)e.call(n,t[a[s]],a[s])}function Ra(t,e){let n,r,s,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(s=t[n],i=e[n],s.datasetIndex!==i.datasetIndex||s.index!==i.index)return!1;return!0}function Ia(t){if(tt(t))return t.map(Ia);if(ve(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let s=0;for(;s<r;++s)e[n[s]]=Ia(t[n[s]]);return e}return t}function R0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function hb(t,e,n,r){if(!R0(t))return;const s=e[t],i=n[t];ve(s)&&ve(i)?bo(s,i,r):e[t]=Ia(i)}function bo(t,e,n){const r=tt(e)?e:[e],s=r.length;if(!ve(t))return t;n=n||{};const i=n.merger||hb;let a;for(let l=0;l<s;++l){if(a=r[l],!ve(a))continue;const c=Object.keys(a);for(let d=0,u=c.length;d<u;++d)i(c[d],t,a,n)}return t}function ko(t,e){return bo(t,e,{merger:fb})}function fb(t,e,n){if(!R0(t))return;const r=e[t],s=n[t];ve(r)&&ve(s)?ko(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ia(s))}const I0={"":t=>t,x:t=>t.x,y:t=>t.y};function mb(t){const e=t.split("."),n=[];let r="";for(const s of e)r+=s,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function pb(t){const e=mb(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function za(t,e){return(I0[e]||(I0[e]=pb(e)))(t)}function Xd(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ya=t=>typeof t<"u",Kr=t=>typeof t=="function",z0=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function gb(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const vt=Math.PI,en=2*vt,_b=en+vt,Ha=Number.POSITIVE_INFINITY,yb=vt/180,tn=vt/2,Ds=vt/4,Y0=vt*2/3,Xr=Math.log10,wi=Math.sign;function Co(t,e,n){return Math.abs(t-e)<n}function H0(t){const e=Math.round(t);t=Co(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Xr(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function wb(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((s,i)=>s-i).pop(),e}function xo(t){return!isNaN(parseFloat(t))&&isFinite(t)}function bb(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function W0(t,e,n){let r,s,i;for(r=0,s=t.length;r<s;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function Qr(t){return t*(vt/180)}function Qd(t){return t*(180/vt)}function j0(t){if(!it(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function kb(t,e){const n=e.x-t.x,r=e.y-t.y,s=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*vt&&(i+=en),{angle:i,distance:s}}function Jd(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Cb(t,e){return(t-e+_b)%en-vt}function nn(t){return(t%en+en)%en}function Z0(t,e,n,r){const s=nn(t),i=nn(e),a=nn(n),l=nn(i-s),c=nn(a-s),d=nn(s-i),u=nn(s-a);return s===i||s===a||r&&i===a||l>c&&d<u}function mn(t,e,n){return Math.max(e,Math.min(n,t))}function xb(t){return mn(t,-32768,32767)}function U0(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function eu(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,s=0,i;for(;r-s>1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const Os=(t,e,n,r)=>eu(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),Mb=(t,e,n)=>eu(t,n,r=>t[r][e]>=n);function vb(t,e,n){let r=0,s=t.length;for(;r<s&&t[r]<e;)r++;for(;s>r&&t[s-1]>n;)s--;return r>0||s<t.length?t.slice(r,s):t}const q0=["push","pop","shift","splice","unshift"];function Sb(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),q0.forEach(n=>{const r="_onData"+Xd(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=s.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function G0(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,s=r.indexOf(e);s!==-1&&r.splice(s,1),!(r.length>0)&&(q0.forEach(i=>{delete t[i]}),delete t._chartjs)}function Tb(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const K0=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function X0(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,K0.call(window,()=>{r=!1,t.apply(e,n)}))}}function Db(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const Ob=t=>t==="start"?"left":t==="end"?"right":"center",Q0=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function Eb(t,e,n){const r=e.length;let s=0,i=r;if(t._sorted){const{iScale:a,_parsed:l}=t,c=a.axis,{min:d,max:u,minDefined:h,maxDefined:f}=a.getUserBounds();h&&(s=mn(Math.min(Os(l,c,d).lo,n?r:Os(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=mn(Math.max(Os(l,a.axis,u,!0).hi+1,n?0:Os(e,c,a.getPixelForValue(u),!0).hi+1),s,r)-s:i=r-s}return{start:s,count:i}}function Pb(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=s,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,s),i}const Wa=t=>t===0||t===1,J0=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*en/n)),e2=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*en/n)+1,Mo={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*tn)+1,easeOutSine:t=>Math.sin(t*tn),easeInOutSine:t=>-.5*(Math.cos(vt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Wa(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=>Wa(t)?t:J0(t,.075,.3),easeOutElastic:t=>Wa(t)?t:e2(t,.075,.3),easeInOutElastic(t){return Wa(t)?t:t<.5?.5*J0(t*2,.1125,.45):.5+.5*e2(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-Mo.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?Mo.easeInBounce(t*2)*.5:Mo.easeOutBounce(t*2-1)*.5+.5};function tu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function t2(t){return tu(t)?t:new wo(t)}function nu(t){return tu(t)?t:new wo(t).saturate(.5).darken(.1).hexString()}const Lb=["x","y","borderWidth","radius","tension"],$b=["color","borderColor","backgroundColor"];function Nb(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:$b},numbers:{type:"number",properties:Lb}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function Vb(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const n2=new Map;function Bb(t,e){e=e||{};const n=t+JSON.stringify(e);let r=n2.get(n);return r||(r=new Intl.NumberFormat(t,e),n2.set(n,r)),r}function ru(t,e,n){return Bb(e,n).format(t)}const r2={values(t){return tt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let s,i=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(s="scientific"),i=Ab(t,n)}const a=Xr(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:s,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),ru(t,r,c)},logarithmic(t,e,n){if(t===0)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Xr(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?r2.numeric.call(this,t,e,n):""}};function Ab(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var ja={formatters:r2};function Fb(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ja.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Es=Object.create(null),su=Object.create(null);function vo(t,e){if(!e)return t;const n=e.split(".");for(let r=0,s=n.length;r<s;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function iu(t,e,n){return typeof e=="string"?bo(vo(t,e),n):bo(vo(t,""),e)}class Rb{constructor(e,n){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,s)=>nu(s.backgroundColor),this.hoverBorderColor=(r,s)=>nu(s.borderColor),this.hoverColor=(r,s)=>nu(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return iu(this,e,n)}get(e){return vo(this,e)}describe(e,n){return iu(su,e,n)}override(e,n){return iu(Es,e,n)}route(e,n,r,s){const i=vo(this,e),a=vo(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[l],d=a[s];return ve(c)?Object.assign({},d,c):Be(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var mt=new Rb({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Nb,Vb,Fb]);function Ib(t){return!t||Ze(t.size)||Ze(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Za(t,e,n,r,s){let i=e[s];return i||(i=e[s]=t.measureText(s).width,n.push(s)),i>r&&(r=i),r}function zb(t,e,n,r){r=r||{};let s=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(s=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const l=n.length;let c,d,u,h,f;for(c=0;c<l;c++)if(h=n[c],h!=null&&!tt(h))a=Za(t,s,i,a,h);else if(tt(h))for(d=0,u=h.length;d<u;d++)f=h[d],f!=null&&!tt(f)&&(a=Za(t,s,i,a,f));t.restore();const m=i.length/2;if(m>n.length){for(c=0;c<m;c++)delete s[i[c]];i.splice(0,m)}return a}function Ps(t,e,n){const r=t.currentDevicePixelRatio,s=n!==0?Math.max(n/2,.5):0;return Math.round((e-s)*r)/r+s}function s2(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ou(t,e,n,r){Yb(t,e,n,r,null)}function Yb(t,e,n,r,s){let i,a,l,c,d,u,h,f;const m=e.pointStyle,g=e.rotation,p=e.radius;let _=(g||0)*yb;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(_),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(p)||p<=0)){switch(t.beginPath(),m){default:s?t.ellipse(n,r,s/2,p,0,0,en):t.arc(n,r,p,0,en),t.closePath();break;case"triangle":u=s?s/2:p,t.moveTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Y0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Y0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Ds)*c,h=Math.cos(_+Ds)*(s?s/2-d:c),l=Math.sin(_+Ds)*c,f=Math.sin(_+Ds)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-vt,_-tn),t.arc(n+f,r-a,d,_-tn,_),t.arc(n+h,r+l,d,_,_+tn),t.arc(n-f,r+a,d,_+tn,_+vt),t.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*p,u=s?s/2:c,t.rect(n-u,r-c,2*u,2*c);break}_+=Ds;case"rectRot":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+f,r-a),t.lineTo(n+h,r+l),t.lineTo(n-f,r+a),t.closePath();break;case"crossRot":_+=Ds;case"cross":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"star":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a),_+=Ds,h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"line":a=s?s/2:Math.cos(_)*p,l=Math.sin(_)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(_)*(s?s/2:p),r+Math.sin(_)*p);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function pr(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function au(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function lu(t){t.restore()}function Hb(t,e,n,r,s){if(!e)return t.lineTo(n.x,n.y);if(s==="middle"){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else s==="after"!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function Wb(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function jb(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ze(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 Zb(t,e,n,r,s){if(s.strikethrough||s.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,c=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,u=s.strikethrough?(c+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=s.decorationWidth||2,t.moveTo(a,u),t.lineTo(l,u),t.stroke()}}function Ub(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Ua(t,e,n,r,s,i={}){const a=tt(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let c,d;for(t.save(),t.font=s.string,jb(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&Ub(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ze(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),Zb(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function cu(t,e){const{x:n,y:r,w:s,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*vt,vt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,vt,tn,!0),t.lineTo(n+s-a.bottomRight,r+i),t.arc(n+s-a.bottomRight,r+i-a.bottomRight,a.bottomRight,tn,0,!0),t.lineTo(n+s,r+a.topRight),t.arc(n+s-a.topRight,r+a.topRight,a.topRight,0,-tn,!0),t.lineTo(n+a.topLeft,r)}const qb=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Gb=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Kb(t,e){const n=(""+t).match(qb);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const Xb=t=>+t||0;function i2(t,e){const n={},r=ve(e),s=r?Object.keys(e):e,i=ve(t)?r?a=>Be(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=Xb(i(a));return n}function Qb(t){return i2(t,{top:"y",right:"x",bottom:"y",left:"x"})}function So(t){return i2(t,["topLeft","topRight","bottomLeft","bottomRight"])}function pn(t){const e=Qb(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function rn(t,e){t=t||{},e=e||mt.font;let n=Be(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Be(t.style,e.style);r&&!(""+r).match(Gb)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Be(t.family,e.family),lineHeight:Kb(Be(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Be(t.weight,e.weight),string:""};return s.string=Ib(s),s}function qa(t,e,n,r){let s=!0,i,a,l;for(i=0,a=t.length;i<a;++i)if(l=t[i],l!==void 0&&(e!==void 0&&typeof l=="function"&&(l=l(e),s=!1),n!==void 0&&tt(l)&&(l=l[n%l.length],s=!1),l!==void 0))return r&&!s&&(r.cacheable=!1),l}function Jb(t,e,n){const{min:r,max:s}=t,i=ub(e,(s-r)/2),a=(l,c)=>n&&l===0?0:l+c;return{min:a(r,-Math.abs(i)),max:a(s,i)}}function Jr(t,e){return Object.assign(Object.create(t),e)}function du(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=d2("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>du([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete t[0][c],!0},get(l,c){return a2(l,c,()=>ak(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return u2(l).includes(c)},ownKeys(l){return u2(l)},set(l,c,d){const u=l._storage||(l._storage=s());return l[c]=u[c]=d,delete l._keys,!0}})}function bi(t,e,n,r){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:o2(t,r),setContext:i=>bi(t,i,n,r),override:i=>bi(t.override(i),e,n,r)};return new Proxy(s,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return a2(i,a,()=>tk(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function o2(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:r,isScriptable:Kr(n)?n:()=>n,isIndexable:Kr(r)?r:()=>r}}const ek=(t,e)=>t?t+Xd(e):e,uu=(t,e)=>ve(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function a2(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function tk(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Kr(l)&&a.isScriptable(e)&&(l=nk(e,l,t,n)),tt(l)&&l.length&&(l=rk(e,l,t,a.isIndexable)),uu(e,l)&&(l=bi(l,s,i&&i[e],a)),l}function nk(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let c=e(i,a||r);return l.delete(t),uu(t,c)&&(c=hu(s._scopes,s,t,c)),c}function rk(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(ve(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=hu(d,s,t,u);e.push(bi(h,i,a&&a[t],l))}}return e}function l2(t,e,n){return Kr(t)?t(e,n):t}const sk=(t,e)=>t===!0?e:typeof t=="string"?za(e,t):void 0;function ik(t,e,n,r,s){for(const i of e){const a=sk(n,i);if(a){t.add(a);const l=l2(a._fallback,n,s);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function hu(t,e,n,r){const s=e._rootScopes,i=l2(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=c2(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=c2(l,a,i,c,r),c===null)?!1:du(Array.from(l),[""],s,i,()=>ok(e,n,r))}function c2(t,e,n,r,s){for(;n;)n=ik(t,e,n,r,s);return n}function ok(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return tt(s)&&ve(n)?n:s||{}}function ak(t,e,n,r){let s;for(const i of e)if(s=d2(ek(i,t),n),typeof s<"u")return uu(t,s)?hu(n,r,t,s):s}function d2(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function u2(t){let e=t._keys;return e||(e=t._keys=lk(t._scopes)),e}function lk(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(r);return Array.from(e)}const ck=Number.EPSILON||1e-14,ki=(t,e)=>e<t.length&&!t[e].skip&&t[e],h2=t=>t==="x"?"y":"x";function dk(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=Jd(i,s),c=Jd(a,i);let d=l/(l+c),u=c/(l+c);d=isNaN(d)?0:d,u=isNaN(u)?0:u;const h=r*d,f=r*u;return{previous:{x:i.x-h*(a.x-s.x),y:i.y-h*(a.y-s.y)},next:{x:i.x+f*(a.x-s.x),y:i.y+f*(a.y-s.y)}}}function uk(t,e,n){const r=t.length;let s,i,a,l,c,d=ki(t,0);for(let u=0;u<r-1;++u)if(c=d,d=ki(t,u+1),!(!c||!d)){if(Co(e[u],0,ck)){n[u]=n[u+1]=0;continue}s=n[u]/e[u],i=n[u+1]/e[u],l=Math.pow(s,2)+Math.pow(i,2),!(l<=9)&&(a=3/Math.sqrt(l),n[u]=s*a*e[u],n[u+1]=i*a*e[u])}}function hk(t,e,n="x"){const r=h2(n),s=t.length;let i,a,l,c=ki(t,0);for(let d=0;d<s;++d){if(a=l,l=c,c=ki(t,d+1),!l)continue;const u=l[n],h=l[r];a&&(i=(u-a[n])/3,l[`cp1${n}`]=u-i,l[`cp1${r}`]=h-i*e[d]),c&&(i=(c[n]-u)/3,l[`cp2${n}`]=u+i,l[`cp2${r}`]=h+i*e[d])}}function fk(t,e="x"){const n=h2(e),r=t.length,s=Array(r).fill(0),i=Array(r);let a,l,c,d=ki(t,0);for(a=0;a<r;++a)if(l=c,c=d,d=ki(t,a+1),!!c){if(d){const u=d[e]-c[e];s[a]=u!==0?(d[n]-c[n])/u:0}i[a]=l?d?wi(s[a-1])!==wi(s[a])?0:(s[a-1]+s[a])/2:s[a-1]:s[a]}uk(t,s,i),hk(t,i,e)}function Ga(t,e,n){return Math.max(Math.min(t,n),e)}function mk(t,e){let n,r,s,i,a,l=pr(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=l,l=n<r-1&&pr(t[n+1],e),i&&(s=t[n],a&&(s.cp1x=Ga(s.cp1x,e.left,e.right),s.cp1y=Ga(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=Ga(s.cp2x,e.left,e.right),s.cp2y=Ga(s.cp2y,e.top,e.bottom)))}function pk(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")fk(t,s);else{let d=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)l=t[i],c=dk(d,l,t[Math.min(i+1,a-(r?0:1))%a],e.tension),l.cp1x=c.previous.x,l.cp1y=c.previous.y,l.cp2x=c.next.x,l.cp2y=c.next.y,d=l}e.capBezierPoints&&mk(t,n)}function fu(){return typeof window<"u"&&typeof document<"u"}function mu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Ka(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const Xa=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function gk(t,e){return Xa(t).getPropertyValue(e)}const _k=["top","right","bottom","left"];function Ls(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=_k[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const yk=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function wk(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(yk(s,i,t.target))l=s,c=i;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,c=r.clientY-d.top,a=!0}return{x:l,y:c,box:a}}function $s(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,s=Xa(n),i=s.boxSizing==="border-box",a=Ls(s,"padding"),l=Ls(s,"border","width"),{x:c,y:d,box:u}=wk(t,n),h=a.left+(u&&l.left),f=a.top+(u&&l.top);let{width:m,height:g}=e;return i&&(m-=a.width+l.width,g-=a.height+l.height),{x:Math.round((c-h)/m*n.width/r),y:Math.round((d-f)/g*n.height/r)}}function bk(t,e,n){let r,s;if(e===void 0||n===void 0){const i=mu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=Xa(i),c=Ls(l,"border","width"),d=Ls(l,"padding");e=a.width-d.width-c.width,n=a.height-d.height-c.height,r=Ka(l.maxWidth,i,"clientWidth"),s=Ka(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Ha,maxHeight:s||Ha}}const Qa=t=>Math.round(t*10)/10;function kk(t,e,n,r){const s=Xa(t),i=Ls(s,"margin"),a=Ka(s.maxWidth,t,"clientWidth")||Ha,l=Ka(s.maxHeight,t,"clientHeight")||Ha,c=bk(t,e,n);let{width:d,height:u}=c;if(s.boxSizing==="content-box"){const f=Ls(s,"border","width"),m=Ls(s,"padding");d-=m.width+f.width,u-=m.height+f.height}return d=Math.max(0,d-i.width),u=Math.max(0,r?d/r:u-i.height),d=Qa(Math.min(d,a,c.maxWidth)),u=Qa(Math.min(u,l,c.maxHeight)),d&&!u&&(u=Qa(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=Qa(Math.floor(u*r))),{width:d,height:u}}function f2(t,e,n){const r=e||1,s=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==s||a.width!==i?(t.currentDevicePixelRatio=r,a.height=s,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const Ck=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};fu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function m2(t,e){const n=gk(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ns(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function xk(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:r==="middle"?n<.5?t.y:e.y:r==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function Mk(t,e,n,r){const s={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=Ns(t,s,n),l=Ns(s,i,n),c=Ns(i,e,n),d=Ns(a,l,n),u=Ns(l,c,n);return Ns(d,u,n)}const vk=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},Sk=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function pu(t,e,n){return t?vk(e,n):Sk()}function Tk(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Dk(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function p2(t){return t==="angle"?{between:Z0,compare:Cb,normalize:nn}:{between:U0,compare:(e,n)=>e-n,normalize:e=>e}}function g2({start:t,end:e,count:n,loop:r,style:s}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:s}}function Ok(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=p2(r),c=e.length;let{start:d,end:u,loop:h}=t,f,m;if(h){for(d+=c,u+=c,f=0,m=c;f<m&&a(l(e[d%c][r]),s,i);++f)d--,u--;d%=c,u%=c}return u<d&&(u+=c),{start:d,end:u,loop:h,style:t.style}}function _2(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=p2(r),{start:u,end:h,loop:f,style:m}=Ok(t,e,n),g=[];let p=!1,_=null,y,C,k;const S=()=>c(s,k,y)&&l(s,k)!==0,M=()=>l(i,y)===0||c(i,k,y),D=()=>p||S(),v=()=>!p||M();for(let O=u,E=u;O<=h;++O)C=e[O%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&D()&&(_=l(y,s)===0?O:E),_!==null&&v()&&(g.push(g2({start:_,end:O,loop:f,count:a,style:m})),_=null),E=O,k=y));return _!==null&&g.push(g2({start:_,end:h,loop:f,count:a,style:m})),g}function y2(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=_2(r[s],t.points,e);i.length&&n.push(...i)}return n}function Ek(t,e,n,r){let s=0,i=e-1;if(n&&!r)for(;s<e&&!t[s].skip;)s++;for(;s<e&&t[s].skip;)s++;for(s%=e,n&&(i+=s);i>s&&t[i%e].skip;)i--;return i%=e,{start:s,end:i}}function Pk(t,e,n,r){const s=t.length,i=[];let a=e,l=t[e],c;for(c=e+1;c<=n;++c){const d=t[c%s];d.skip||d.stop?l.skip||(r=!1,i.push({start:e%s,end:(c-1)%s,loop:r}),e=a=d.stop?c:null):(a=c,l.skip&&(e=c)),l=d}return a!==null&&i.push({start:e%s,end:a%s,loop:r}),i}function Lk(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=Ek(n,s,i,r);if(r===!0)return w2(t,[{start:a,end:l,loop:i}],n,e);const c=l<a?l+s:l,d=!!t._fullLoop&&a===0&&l===s-1;return w2(t,Pk(n,a,c,d),n,e)}function w2(t,e,n,r){return!r||!r.setContext||!n?e:$k(t,e,n,r)}function $k(t,e,n,r){const s=t._chart.getContext(),i=b2(t.options),{_datasetIndex:a,options:{spanGaps:l}}=t,c=n.length,d=[];let u=i,h=e[0].start,f=h;function m(g,p,_,y){const C=l?-1:1;if(g!==p){for(g+=c;n[g%c].skip;)g-=C;for(;n[p%c].skip;)p+=C;g%c!==p%c&&(d.push({start:g%c,end:p%c,loop:_,style:y}),u=y,h=p%c)}}for(const g of e){h=l?h:g.start;let p=n[h%c],_;for(f=h+1;f<=g.end;f++){const y=n[f%c];_=b2(r.setContext(Jr(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),Nk(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function b2(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Nk(t,e){if(!e)return!1;const n=[],r=function(s,i){return tu(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
28
28
  * Chart.js v4.4.2
29
29
  * https://www.chartjs.org
30
30
  * (c) 2024 Chart.js Contributors
31
31
  * Released under the MIT License
32
- */class Pk{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,s){const i=n.listeners[s],a=n.duration;i.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=K0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,s)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,c;for(;a>=0;--a)c=i[a],c._active?(c._total>r.duration&&(r.duration=c._total),c.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(s.draw(),this._notify(s,r,e,"progress")),i.length||(r.running=!1,this._notify(s,r,e,"complete"),r.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,s)=>Math.max(r,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let s=r.length-1;for(;s>=0;--s)r[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var gr=new Pk;const k2="transparent",Lk={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=t2(t||k2),s=r.valid&&t2(e||k2);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class $k{constructor(e,n,r,s){const i=n[r];s=qa([e.to,s,i,e.from]);const a=qa([e.from,i,s]);this._active=!0,this._fn=e.fn||Lk[e.type||typeof a],this._easing=Mo[e.easing]||Mo.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const s=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=qa([e.to,n,s,e.from]),this._from=qa([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,s=this._prop,i=this._from,a=this._loop,l=this._to;let c;if(this._active=i!==l&&(a||n<r),!this._active){this._target[s]=l,this._notify(!0);return}if(n<0){this._target[s]=i;return}c=n/r%2,c=a&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[s]=this._fn(i,l,c)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let s=0;s<r.length;s++)r[s][n]()}}class C2{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ve(e))return;const n=Object.keys(mt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!ve(i))return;const a={};for(const l of n)a[l]=i[l];(tt(i.properties)&&i.properties||[s]).forEach(l=>{(l===s||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,s=Vk(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&Nk(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,s=[],i=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let c;for(c=a.length-1;c>=0;--c){const d=a[c];if(d.charAt(0)==="$")continue;if(d==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[d];let h=i[d];const f=r.get(d);if(h)if(f&&h.active()){h.update(f,u,l);continue}else h.cancel();if(!f||!f.duration){e[d]=u;continue}i[d]=h=new $k(f,e,d,u),s.push(h)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return gr.add(this._chart,r),!0}}function Nk(t,e){const n=[],r=Object.keys(e);for(let s=0;s<r.length;s++){const i=t[r[s]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function Vk(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function x2(t,e){const n=t&&t.options||{},r=n.reverse,s=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:s,end:r?s:i}}function Bk(t,e,n){if(n===!1)return!1;const r=x2(t,n),s=x2(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function Ak(t){let e,n,r,s;return ve(t)?(e=t.top,n=t.right,r=t.bottom,s=t.left):e=n=r=s=t,{top:e,right:n,bottom:r,left:s,disabled:t===!1}}function M2(t,e){const n=[],r=t._getSortedDatasetMetas(e);let s,i;for(s=0,i=r.length;s<i;++s)n.push(r[s].index);return n}function v2(t,e,n,r={}){const s=t.keys,i=r.mode==="single";let a,l,c,d;if(e!==null){for(a=0,l=s.length;a<l;++a){if(c=+s[a],c===n){if(r.all)continue;break}d=t.values[c],it(d)&&(i||e===0||wi(e)===wi(d))&&(e+=d)}return e}}function Fk(t){const e=Object.keys(t),n=new Array(e.length);let r,s,i;for(r=0,s=e.length;r<s;++r)i=e[r],n[r]={x:i,y:t[i]};return n}function S2(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function Rk(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Ik(t){const{min:e,max:n,minDefined:r,maxDefined:s}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:s?n:Number.POSITIVE_INFINITY}}function zk(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function T2(t,e,n,r){for(const s of e.getMatchingVisibleMetas(r).reverse()){const i=t[s.index];if(n&&i>0||!n&&i<0)return s.index}return null}function O2(t,e){const{chart:n,_cachedMeta:r}=t,s=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,c=i.axis,d=a.axis,u=Rk(i,a,r),h=e.length;let f;for(let m=0;m<h;++m){const g=e[m],{[c]:p,[d]:_}=g,y=g._stacks||(g._stacks={});f=y[d]=zk(s,u,p),f[l]=_,f._top=T2(f,a,!0,r.type),f._bottom=T2(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function gu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function Yk(t,e){return Jr(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Hk(t,e,n){return Jr(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function To(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const s of e){const i=s._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const _u=t=>t==="reset"||t==="none",D2=(t,e)=>e?t:Object.assign({},t),Wk=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:M2(n,!0),values:null};class Oo{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=S2(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&To(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),s=(h,f,m,g)=>h==="x"?f:h==="r"?g:m,i=n.xAxisID=Be(r.xAxisID,gu(e,"x")),a=n.yAxisID=Be(r.yAxisID,gu(e,"y")),l=n.rAxisID=Be(r.rAxisID,gu(e,"r")),c=n.indexAxis,d=n.iAxisID=s(c,i,a,l),u=n.vAxisID=s(c,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(u)}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 n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&G0(this._data,this),e._stacked&&To(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(ve(n))this._data=Fk(n);else if(r!==n){if(r){G0(r,this);const s=this._cachedMeta;To(s),s._parsed=[]}n&&Object.isExtensible(n)&&Cb(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let s=!1;this._dataCheck();const i=n._stacked;n._stacked=S2(n.vScale,n),n.stack!==r.stack&&(s=!0,To(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&O2(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:s}=this,{iScale:i,_stacked:a}=r,l=i.axis;let c=e===0&&n===s.length?!0:r._sorted,d=e>0&&r._parsed[e-1],u,h,f;if(this._parsing===!1)r._parsed=s,r._sorted=!0,f=s;else{tt(s[e])?f=this.parseArrayData(r,s,e,n):ve(s[e])?f=this.parseObjectData(r,s,e,n):f=this.parsePrimitiveData(r,s,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(u=0;u<n;++u)r._parsed[u+e]=h=f[u],c&&(m()&&(c=!1),d=h);r._sorted=c}a&&O2(this,f)}parsePrimitiveData(e,n,r,s){const{iScale:i,vScale:a}=e,l=i.axis,c=a.axis,d=i.getLabels(),u=i===a,h=new Array(s);let f,m,g;for(f=0,m=s;f<m;++f)g=f+r,h[f]={[l]:u||i.parse(d[g],g),[c]:a.parse(n[g],g)};return h}parseArrayData(e,n,r,s){const{xScale:i,yScale:a}=e,l=new Array(s);let c,d,u,h;for(c=0,d=s;c<d;++c)u=c+r,h=n[u],l[c]={x:i.parse(h[0],u),y:a.parse(h[1],u)};return l}parseObjectData(e,n,r,s){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(s);let u,h,f,m;for(u=0,h=s;u<h;++u)f=u+r,m=n[f],d[u]={x:i.parse(za(m,l),f),y:a.parse(za(m,c),f)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const s=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:M2(s,!0),values:n._stacks[e.axis]._visualValues};return v2(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,s){const i=r[n.axis];let a=i===null?NaN:i;const l=s&&r._stacks[n.axis];s&&l&&(s.values=l,a=v2(s,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,s=r._parsed,i=r._sorted&&e===r.iScale,a=s.length,l=this._getOtherScale(e),c=Wk(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Ik(l);let f,m;function g(){m=s[f];const p=m[l.axis];return!it(m[e.axis])||u>p||h<p}for(f=0;f<a&&!(!g()&&(this.updateRangeFromParsed(d,e,m,c),i));++f);if(i){for(f=a-1;f>=0;--f)if(!g()){this.updateRangeFromParsed(d,e,m,c);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let s,i,a;for(s=0,i=n.length;s<i;++s)a=n[s][e.axis],it(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,s=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:s?""+s.getLabelForValue(i[s.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=Ak(Be(this.options.clip,Bk(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,s=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||s.length-l,d=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(e,i,l,c),u=l;u<l+c;++u){const h=s[u];h.hidden||(h.active&&d?a.push(h):h.draw(e,i))}for(u=0;u<a.length;++u)a[u].draw(e,i)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const s=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=Hk(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=s.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=Yk(this.chart.getContext(),this.index)),i.dataset=s,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const s=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],c=this.enableOptionSharing&&Ya(r);if(l)return D2(l,c);const d=this.chart.config,u=d.datasetElementScopeKeys(this._type,e),h=s?[`${e}Hover`,"hover",e,""]:[e,""],f=d.getOptionScopes(this.getDataset(),u),m=Object.keys(mt.elements[e]),g=()=>this.getContext(r,s,n),p=d.resolveNamedOptions(f,m,g,h);return p.$shared&&(p.$shared=c,i[a]=Object.freeze(D2(p,c))),p}_resolveAnimations(e,n,r){const s=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let c;if(s.options.animation!==!1){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),h);c=u.createResolver(f,this.getContext(e,r,n))}const d=new C2(s,c&&c.animations);return c&&c._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||_u(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),s=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==s;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,s){_u(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!_u(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,s){e.active=s;const i=this.getStyle(n,s);this._resolveAnimations(n,r,s).update(e,{options:!s&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"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 n=this._data,r=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const s=r.length,i=n.length,a=Math.min(i,s);a&&this.parse(0,a),i>s?this._insertElements(s,i-s,e):i<s&&this._removeElements(i,s-i)}_insertElements(e,n,r=!0){const s=this._cachedMeta,i=s.data,a=e+n;let l;const c=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(c(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&c(s._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,s){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const s=r._parsed.splice(e,n);r._stacked&&To(r,s)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,s]=e;this[n](r,s)}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,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}W(Oo,"defaults",{}),W(Oo,"datasetElementType",null),W(Oo,"dataElementType",null);class Ja extends Oo{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:s=[],_dataset:i}=n,a=this.chart._animationsDisabled;let{start:l,count:c}=Sb(n,s,a);this._drawStart=l,this._drawCount=c,Tb(n)&&(l=0,c=s.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=s;const d=this.resolveDatasetElementOptions(e);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:d},e),this.updateElements(s,l,c,e)}updateElements(e,n,r,s){const i=s==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(n,s),f=a.axis,m=l.axis,{spanGaps:g,segment:p}=this.options,_=xo(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||s==="none",C=n+r,k=e.length;let S=n>0&&this.getParsed(n-1);for(let M=0;M<k;++M){const O=e[M],v=y?O:{};if(M<n||M>=C){v.skip=!0;continue}const D=this.getParsed(M),E=Ze(D[m]),I=v[f]=a.getPixelForValue(D[f],M),j=v[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,D,c):D[m],M);v.skip=isNaN(I)||isNaN(j)||E,v.stop=M>0&&Math.abs(D[f]-S[f])>_,p&&(v.parsed=D,v.raw=d.data[M]),h&&(v.options=u||this.resolveDataElementOptions(M,O.active?"active":s)),y||this.updateElement(O,M,v,s),S=D}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return r;const i=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(r,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}W(Ja,"id","line"),W(Ja,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(Ja,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function Vs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class yu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(yu.prototype,e)}init(){}formats(){return Vs()}parse(){return Vs()}format(){return Vs()}add(){return Vs()}diff(){return Vs()}startOf(){return Vs()}endOf(){return Vs()}}var jk={_date:yu};function Zk(t,e,n,r){const{controller:s,data:i,_sorted:a}=t,l=s._cachedMeta.iScale;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const c=l._reversePixels?bb:Ds;if(r){if(s._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(e);if(u){const h=c(i,e,n-u),f=c(i,e,n+u);return{lo:h.lo,hi:f.hi}}}}else return c(i,e,n)}return{lo:0,hi:i.length-1}}function Do(t,e,n,r,s){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,c=i.length;l<c;++l){const{index:d,data:u}=i[l],{lo:h,hi:f}=Zk(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function Uk(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,s){const i=e?Math.abs(r.x-s.x):0,a=n?Math.abs(r.y-s.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function wu(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||Do(t,n,e,function(l,c,d){!s&&!pr(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function qk(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=_b(a,{x:e.x,y:e.y});Z0(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Do(t,n,e,i),s}function Gk(t,e,n,r,s,i){let a=[];const l=Uk(n);let c=Number.POSITIVE_INFINITY;function d(u,h,f){const m=u.inRange(e.x,e.y,s);if(r&&!m)return;const g=u.getCenterPoint(s);if(!(!!i||t.isPointInArea(g))&&!m)return;const _=l(e,g);_<c?(a=[{element:u,datasetIndex:h,index:f}],c=_):_===c&&a.push({element:u,datasetIndex:h,index:f})}return Do(t,n,e,d),a}function bu(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?qk(t,e,n,s):Gk(t,e,n,r,s,i)}function E2(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Do(t,n,e,(c,d,u)=>{c[a](e[n],s)&&(i.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,s))}),r&&!l?[]:i}var Kk={evaluateInteractionItems:Do,modes:{index(t,e,n,r){const s=$s(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?wu(t,s,i,r,a):bu(t,s,i,!1,r,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,h=d.data[u];h&&!h.skip&&c.push({element:h,datasetIndex:d.index,index:u})}),c):[]},dataset(t,e,n,r){const s=$s(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?wu(t,s,i,r,a):bu(t,s,i,!1,r,a);if(l.length>0){const c=l[0].datasetIndex,d=t.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(t,e,n,r){const s=$s(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return wu(t,s,i,r,a)},nearest(t,e,n,r){const s=$s(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return bu(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=$s(e,t);return E2(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=$s(e,t);return E2(t,s,"y",n.intersect,r)}}};const P2=["left","top","right","bottom"];function Eo(t,e){return t.filter(n=>n.pos===e)}function L2(t,e){return t.filter(n=>P2.indexOf(n.pos)===-1&&n.box.axis===e)}function Po(t,e){return t.sort((n,r)=>{const s=e?r:n,i=e?n:r;return s.weight===i.weight?s.index-i.index:s.weight-i.weight})}function Xk(t){const e=[];let n,r,s,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)s=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=s,e.push({index:n,box:s,pos:i,horizontal:s.isHorizontal(),weight:s.weight,stack:a&&i+a,stackWeight:l});return e}function Qk(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!P2.includes(s))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function Jk(t,e){const n=Qk(t),{vBoxMaxWidth:r,hBoxMaxHeight:s}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:c}=l.box,d=n[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*r:c&&e.availableWidth,l.height=s):(l.width=r,l.height=u?u*s:c&&e.availableHeight)}return n}function eC(t){const e=Xk(t),n=Po(e.filter(d=>d.box.fullSize),!0),r=Po(Eo(e,"left"),!0),s=Po(Eo(e,"right")),i=Po(Eo(e,"top"),!0),a=Po(Eo(e,"bottom")),l=L2(e,"x"),c=L2(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:s.concat(c).concat(a).concat(l),chartArea:Eo(e,"chartArea"),vertical:r.concat(s).concat(c),horizontal:i.concat(a).concat(l)}}function $2(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function N2(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 tC(t,e,n,r){const{pos:s,box:i}=n,a=t.maxPadding;if(!ve(s)){n.size&&(t[s]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,t[s]+=n.size}i.getPadding&&N2(a,i.getPadding());const l=Math.max(0,e.outerWidth-$2(a,t,"left","right")),c=Math.max(0,e.outerHeight-$2(a,t,"top","bottom")),d=l!==t.w,u=c!==t.h;return t.w=l,t.h=c,n.horizontal?{same:d,other:u}:{same:u,other:d}}function nC(t){const e=t.maxPadding;function n(r){const s=Math.max(e[r]-t[r],0);return t[r]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function rC(t,e){const n=e.maxPadding;function r(s){const i={left:0,top:0,right:0,bottom:0};return s.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function Lo(t,e,n,r){const s=[];let i,a,l,c,d,u;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],c=l.box,c.update(l.width||e.w,l.height||e.h,rC(l.horizontal,e));const{same:h,other:f}=tC(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Lo(s,e,n,r)||u}function el(t,e,n,r,s){t.top=n,t.left=e,t.right=e+r,t.bottom=n+s,t.width=r,t.height=s}function V2(t,e,n,r){const s=n.padding;let{x:i,y:a}=e;for(const l of t){const c=l.box,d=r[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*u,f=d.size||c.height;Ya(d.start)&&(a=d.start),c.fullSize?el(c,s.left,a,n.outerWidth-s.right-s.left,f):el(c,e.left+d.placed,a,h,f),d.start=a,d.placed+=h,a=c.bottom}else{const h=e.h*u,f=d.size||c.width;Ya(d.start)&&(i=d.start),c.fullSize?el(c,i,s.top,f,n.outerHeight-s.bottom-s.top):el(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var tl={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(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const s=pn(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=eC(t.boxes),c=l.vertical,d=l.horizontal;Ae(t.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=c.reduce((p,_)=>_.box.options&&_.box.options.display===!1?p:p+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},s);N2(f,pn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=Jk(c.concat(d),h);Lo(l.fullSize,m,h,g),Lo(c,m,h,g),Lo(d,m,h,g)&&Lo(c,m,h,g),nC(m),V2(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,V2(l.rightAndBottom,m,h,g),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Ae(l.chartArea,p=>{const _=p.box;Object.assign(_,t.chartArea),_.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class B2{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,s){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):r)}}isAttached(e){return!0}updateConfig(e){}}class sC extends B2{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const nl="$chartjs",iC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},A2=t=>t===null||t==="";function oC(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[nl]={initial:{height:r,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",A2(s)){const i=m2(t,"width");i!==void 0&&(t.width=i)}if(A2(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=m2(t,"height");i!==void 0&&(t.height=i)}return t}const F2=yk?{passive:!0}:!1;function aC(t,e,n){t&&t.addEventListener(e,n,F2)}function lC(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,F2)}function cC(t,e){const n=iC[t.type]||t.type,{x:r,y:s}=$s(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:s!==void 0?s:null}}function rl(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function dC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||rl(l.addedNodes,r),a=a&&!rl(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function uC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||rl(l.removedNodes,r),a=a&&!rl(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const $o=new Map;let R2=0;function I2(){const t=window.devicePixelRatio;t!==R2&&(R2=t,$o.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function hC(t,e){$o.size||window.addEventListener("resize",I2),$o.set(t,e)}function fC(t){$o.delete(t),$o.size||window.removeEventListener("resize",I2)}function mC(t,e,n){const r=t.canvas,s=r&&mu(r);if(!s)return;const i=X0((l,c)=>{const d=s.clientWidth;n(l,c),d<s.clientWidth&&n()},window),a=new ResizeObserver(l=>{const c=l[0],d=c.contentRect.width,u=c.contentRect.height;d===0&&u===0||i(d,u)});return a.observe(s),hC(t,i),a}function ku(t,e,n){n&&n.disconnect(),e==="resize"&&fC(t)}function pC(t,e,n){const r=t.canvas,s=X0(i=>{t.ctx!==null&&n(cC(i,t))},t);return aC(r,e,s),s}class gC extends B2{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(oC(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[nl])return!1;const r=n[nl].initial;["height","width"].forEach(i=>{const a=r[i];Ze(a)?n.removeAttribute(i):n.setAttribute(i,a)});const s=r.style||{};return Object.keys(s).forEach(i=>{n.style[i]=s[i]}),n.width=n.width,delete n[nl],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:dC,detach:uC,resize:mC}[n]||pC;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:ku,detach:ku,resize:ku}[n]||lC)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return _k(e,n,r,s)}isAttached(e){const n=mu(e);return!!(n&&n.isConnected)}}function _C(t){return!fu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?sC:gC}class Bs{constructor(){W(this,"x");W(this,"y");W(this,"active",!1);W(this,"options");W(this,"$animations")}tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return xo(this.x)&&xo(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const s={};return e.forEach(i=>{s[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),s}}W(Bs,"defaults",{}),W(Bs,"defaultRoutes");function yC(t,e){const n=t.options.ticks,r=wC(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?kC(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return CC(e,d,i,a/s),d;const u=bC(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(sl(e,d,u,Ze(m)?0:l-m,l),h=0,f=a-1;h<f;h++)sl(e,d,u,i[h],i[h+1]);return sl(e,d,u,c,Ze(m)?e.length:c+m),d}return sl(e,d,u),d}function wC(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),s=t._maxLength/n;return Math.floor(Math.min(r,s))}function bC(t,e,n){const r=xC(t),s=e.length/n;if(!r)return Math.max(s,1);const i=pb(r);for(let a=0,l=i.length-1;a<l;a++){const c=i[a];if(c>s)return c}return Math.max(s,1)}function kC(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function CC(t,e,n,r){let s=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),s++,i=n[s*r])}function sl(t,e,n,r,s){const i=Be(r,0),a=Math.min(Be(s,t.length),t.length);let l=0,c,d,u;for(n=Math.ceil(n),s&&(c=s-r,n=c/Math.floor(c/n)),u=i;u<0;)l++,u=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===u&&(e.push(t[d]),l++,u=Math.round(i+l*n))}function xC(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const MC=t=>t==="left"?"right":t==="right"?"left":t,z2=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Y2=(t,e)=>Math.min(e||t,t);function H2(t,e){const n=[],r=t.length/e,s=t.length;let i=0;for(;i<s;i+=r)n.push(t[Math.floor(i)]);return n}function vC(t,e,n){const r=t.ticks.length,s=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let c=t.getPixelForTick(s),d;if(!(n&&(r===1?d=Math.max(c-i,a-c):e===0?d=(t.getPixelForTick(1)-c)/2:d=(c-t.getPixelForTick(s-1))/2,c+=s<e?d:-d,c<i-l||c>a+l)))return c}function SC(t,e){Ae(t,n=>{const r=n.gc,s=r.length/2;let i;if(s>e){for(i=0;i<s;++i)delete n.data[r[i]];r.splice(0,s)}})}function No(t){return t.drawTicks?t.tickLength:0}function W2(t,e){if(!t.display)return 0;const n=rn(t.font,e),r=pn(t.padding);return(tt(t.text)?t.text.length:1)*n.lineHeight+r.height}function TC(t,e){return Jr(t,{scale:e,type:"scale"})}function OC(t,e,n){return Jr(t,{tick:n,index:e,type:"tick"})}function DC(t,e,n){let r=vb(t);return(n&&e!=="right"||!n&&e==="right")&&(r=MC(r)),r}function EC(t,e,n,r){const{top:s,left:i,bottom:a,right:l,chart:c}=t,{chartArea:d,scales:u}=c;let h=0,f,m,g;const p=a-s,_=l-i;if(t.isHorizontal()){if(m=Q0(r,i,l),ve(n)){const y=Object.keys(n)[0],C=n[y];g=u[y].getPixelForValue(C)+p-e}else n==="center"?g=(d.bottom+d.top)/2+p-e:g=z2(t,n,e);f=l-i}else{if(ve(n)){const y=Object.keys(n)[0],C=n[y];m=u[y].getPixelForValue(C)-_+e}else n==="center"?m=(d.left+d.right)/2-_+e:m=z2(t,n,e);g=Q0(r,a,s),h=n==="left"?-tn:tn}return{titleX:m,titleY:g,maxWidth:f,rotation:h}}class As extends Bs{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,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:s}=this;return e=Jt(e,Number.POSITIVE_INFINITY),n=Jt(n,Number.NEGATIVE_INFINITY),r=Jt(r,Number.POSITIVE_INFINITY),s=Jt(s,Number.NEGATIVE_INFINITY),{min:Jt(e,r),max:Jt(n,s),minDefined:it(e),maxDefined:it(n)}}getMinMax(e){let{min:n,max:r,minDefined:s,maxDefined:i}=this.getUserBounds(),a;if(s&&i)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let c=0,d=l.length;c<d;++c)a=l[c].controller.getMinMax(this,e),s||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=s&&n>r?n:r,{min:Jt(n,Jt(r,n)),max:Jt(r,Jt(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ot(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:s,grace:i,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Gb(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?H2(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=yC(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ot(this.options.afterUpdate,[this])}beforeSetDimensions(){ot(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(){ot(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),ot(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ot(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,s,i;for(r=0,s=e.length;r<s;r++)i=e[r],i.label=ot(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){ot(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ot(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Y2(this.ticks.length,e.ticks.maxTicksLimit),s=n.minRotation||0,i=n.maxRotation;let a=s,l,c,d;if(!this._isVisible()||!n.display||s>=i||r<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),h=u.widest.width,f=u.highest.height,m=mn(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),c=this.maxHeight-No(e.grid)-n.padding-W2(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=Qd(Math.min(Math.asin(mn((u.highest.height+6)/l,-1,1)),Math.asin(mn(c/d,-1,1))-Math.asin(mn(f/d,-1,1)))),a=Math.max(s,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){ot(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ot(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:s,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const c=W2(s,n.options.font);if(l?(e.width=this.maxWidth,e.height=No(i)+c):(e.height=this.maxHeight,e.width=No(i)+c),r.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:f}=this._getLabelSizes(),m=r.padding*2,g=Qr(this.labelRotation),p=Math.cos(g),_=Math.sin(g);if(l){const y=r.mirror?0:_*h.width+p*f.height;e.height=Math.min(this.maxHeight,e.height+y+m)}else{const y=r.mirror?0:p*h.width+_*f.height;e.width=Math.min(this.maxWidth,e.width+y+m)}this._calculatePadding(d,u,_,p)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,s){const{ticks:{align:i,padding:a},position:l}=this.options,c=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,m=0;c?d?(f=s*e.width,m=r*n.height):(f=r*e.height,m=s*n.width):i==="start"?m=n.width:i==="end"?f=e.width:i!=="inner"&&(f=e.width/2,m=n.width/2),this.paddingLeft=Math.max((f-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let u=n.height/2,h=e.height/2;i==="start"?(u=0,h=e.height):i==="end"&&(u=n.height,h=0),this.paddingTop=u+a,this.paddingBottom=h+a}}_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(){ot(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ze(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=H2(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:s,_longestTextCache:i}=this,a=[],l=[],c=Math.floor(n/Y2(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,k,S,M;for(h=0;h<n;h+=c){if(g=e[h].label,p=this._resolveTickFontOptions(h),s.font=_=p.string,y=i[_]=i[_]||{data:{},gc:[]},C=p.lineHeight,k=S=0,!Ze(g)&&!tt(g))k=Za(s,y.data,y.gc,k,g),S=C;else if(tt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ze(M)&&!tt(M)&&(k=Za(s,y.data,y.gc,k,M),S+=C);a.push(k),l.push(S),d=Math.max(k,d),u=Math.max(S,u)}SC(i,n);const O=a.indexOf(d),v=l.indexOf(u),D=E=>({width:a[E]||0,height:l[E]||0});return{first:D(0),last:D(n-1),widest:D(O),highest:D(v),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return wb(this._alignToPixels?Ps(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=OC(this.getContext(),e,r))}return this.$context||(this.$context=TC(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Qr(this.labelRotation),r=Math.abs(Math.cos(n)),s=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,c=i?i.highest.height+a:0;return this.isHorizontal()?c*r>l*s?l/r:c/s:c*s<l*r?c/r:l/s}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,s=this.options,{grid:i,position:a,border:l}=s,c=i.offset,d=this.isHorizontal(),h=this.ticks.length+(c?1:0),f=No(i),m=[],g=l.setContext(this.getContext()),p=g.display?g.width:0,_=p/2,y=function(x){return Ps(r,x,p)};let C,k,S,M,O,v,D,E,I,j,P,R;if(a==="top")C=y(this.bottom),v=this.bottom-f,E=C-_,j=y(e.top)+_,R=e.bottom;else if(a==="bottom")C=y(this.top),j=e.top,R=y(e.bottom)-_,v=C+_,E=this.top+f;else if(a==="left")C=y(this.right),O=this.right-f,D=C-_,I=y(e.left)+_,P=e.right;else if(a==="right")C=y(this.left),I=e.left,P=y(e.right)-_,O=C+_,D=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(ve(a)){const x=Object.keys(a)[0],N=a[x];C=y(this.chart.scales[x].getPixelForValue(N))}j=e.top,R=e.bottom,v=C+_,E=v+f}else if(n==="y"){if(a==="center")C=y((e.left+e.right)/2);else if(ve(a)){const x=Object.keys(a)[0],N=a[x];C=y(this.chart.scales[x].getPixelForValue(N))}O=C-_,D=O-f,I=e.left,P=e.right}const G=Be(s.ticks.maxTicksLimit,h),T=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=T){const x=this.getContext(k),N=i.setContext(x),Z=l.setContext(x),ee=N.lineWidth,U=N.color,L=Z.dash||[],V=Z.dashOffset,b=N.tickWidth,w=N.tickColor,B=N.tickBorderDash||[],z=N.tickBorderDashOffset;S=vC(this,k,c),S!==void 0&&(M=Ps(r,S,ee),d?O=D=I=P=M:v=E=j=R=M,m.push({tx1:O,ty1:v,tx2:D,ty2:E,x1:I,y1:j,x2:P,y2:R,width:ee,color:U,borderDash:L,borderDashOffset:V,tickWidth:b,tickColor:w,tickBorderDash:B,tickBorderDashOffset:z}))}return this._ticksLength=h,this._borderValue=C,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:s,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=i,f=No(r.grid),m=f+u,g=h?-u:m,p=-Qr(this.labelRotation),_=[];let y,C,k,S,M,O,v,D,E,I,j,P,R="middle";if(s==="top")O=this.bottom-g,v=this._getXAxisLabelAlignment();else if(s==="bottom")O=this.top+g,v=this._getXAxisLabelAlignment();else if(s==="left"){const T=this._getYAxisLabelAlignment(f);v=T.textAlign,M=T.x}else if(s==="right"){const T=this._getYAxisLabelAlignment(f);v=T.textAlign,M=T.x}else if(n==="x"){if(s==="center")O=(e.top+e.bottom)/2+m;else if(ve(s)){const T=Object.keys(s)[0],x=s[T];O=this.chart.scales[T].getPixelForValue(x)+m}v=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(ve(s)){const T=Object.keys(s)[0],x=s[T];M=this.chart.scales[T].getPixelForValue(x)}v=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(c==="start"?R="top":c==="end"&&(R="bottom"));const G=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){k=l[y],S=k.label;const T=i.setContext(this.getContext(y));D=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=tt(S)?S.length:1;const x=j/2,N=T.color,Z=T.textStrokeColor,ee=T.textStrokeWidth;let U=v;a?(M=D,v==="inner"&&(y===C-1?U=this.options.reverse?"left":"right":y===0?U=this.options.reverse?"right":"left":U="center"),s==="top"?d==="near"||p!==0?P=-j*I+I/2:d==="center"?P=-G.highest.height/2-x*I+I:P=-G.highest.height+I/2:d==="near"||p!==0?P=I/2:d==="center"?P=G.highest.height/2-x*I:P=G.highest.height-j*I,h&&(P*=-1),p!==0&&!T.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(O=D,P=(1-j)*I/2);let L;if(T.showLabelBackdrop){const V=pn(T.backdropPadding),b=G.heights[y],w=G.widths[y];let B=P-V.top,z=0-V.left;switch(R){case"middle":B-=b/2;break;case"bottom":B-=b;break}switch(v){case"center":z-=w/2;break;case"right":z-=w;break;case"inner":y===C-1?z-=w:y>0&&(z-=w/2);break}L={left:z,top:B,width:w+V.width,height:b+V.height,color:T.backdropColor}}_.push({label:S,font:E,textOffset:P,options:{rotation:p,color:N,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:R,translation:[M,O],backdrop:L}})}return _}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Qr(this.labelRotation))return e==="top"?"left":"right";let s="center";return n.align==="start"?s="left":n.align==="end"?s="right":n.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:s,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,c=a.widest.width;let d,u;return n==="left"?s?(u=this.right+i,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u+=c)):(u=this.right-l,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u=this.left)):n==="right"?s?(u=this.left+i,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u-=c)):(u=this.left+l,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u=this.right)):d="right",{textAlign:d,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:s,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,s,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const s=this.ticks.findIndex(i=>i.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(c,d,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(c.x,c.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=s.length;i<a;++i){const c=s[i];n.drawOnChartArea&&l({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),n.drawTicks&&l({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:s}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=s.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,u,h,f;this.isHorizontal()?(d=Ps(e,this.left,a)-a/2,u=Ps(e,this.right,l)+l/2,h=f=c):(h=Ps(e,this.top,a)-a/2,f=Ps(e,this.bottom,l)+l/2,d=u=c),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,h),n.lineTo(u,f),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,s=this._computeLabelArea();s&&au(r,s);const i=this.getLabelItems(e);for(const a of i){const l=a.options,c=a.font,d=a.label,u=a.textOffset;Ua(r,d,0,u,c,l)}s&&lu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=rn(r.font),a=pn(r.padding),l=r.align;let c=i.lineHeight/2;n==="bottom"||n==="center"||ve(n)?(c+=a.bottom,tt(r.text)&&(c+=i.lineHeight*(r.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:f}=EC(this,c,n,l);Ua(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:DC(l,n,s),textBaseline:"middle",translation:[d,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Be(e.grid&&e.grid.z,-1),s=Be(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==As.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",s=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&s.push(l)}return s}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return rn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class il{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;$C(n)&&(r=this.register(n));const s=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in s||(s[i]=e,PC(e,a,r),this.override&&mt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,s=this.scope;r in n&&delete n[r],s&&r in mt[s]&&(delete mt[s][r],this.override&&delete Es[r])}}function PC(t,e,n){const r=bo(Object.create(null),[n?mt.get(n):{},mt.get(e),t.defaults]);mt.set(e,r),t.defaultRoutes&&LC(e,t.defaultRoutes),t.descriptors&&mt.describe(e,t.descriptors)}function LC(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),s=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),c=a.join(".");mt.route(i,s,c,l)})}function $C(t){return"id"in t&&"defaults"in t}class NC{constructor(){this.controllers=new il(Oo,"datasets",!0),this.elements=new il(Bs,"elements"),this.plugins=new il(Object,"plugins"),this.scales=new il(As,"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,n,r){[...n].forEach(s=>{const i=r||this._getRegistryForType(s);r||i.isForType(s)||i===this.plugins&&s.id?this._exec(e,i,s):Ae(s,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const s=Xd(e);ot(r["before"+s],[],r),n[e](r),ot(r["after"+s],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const s=n.get(e);if(s===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return s}}var Xn=new NC;class VC{constructor(){this._init=[]}notify(e,n,r,s){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=s?this._descriptors(e).filter(s):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),a}_notify(e,n,r,s){s=s||{};for(const i of e){const a=i.plugin,l=a[r],c=[n,s,i.options];if(ot(l,c,a)===!1&&s.cancelable)return!1}return!0}invalidate(){Ze(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,s=Be(r.options&&r.options.plugins,{}),i=BC(r);return s===!1&&!n?[]:FC(e,i,s,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,s=(i,a)=>i.filter(l=>!a.some(c=>l.plugin.id===c.plugin.id));this._notify(s(n,r),e,"stop"),this._notify(s(r,n),e,"start")}}function BC(t){const e={},n=[],r=Object.keys(Xn.plugins.items);for(let i=0;i<r.length;i++)n.push(Xn.getPlugin(r[i]));const s=t.plugins||[];for(let i=0;i<s.length;i++){const a=s[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function AC(t,e){return!e&&t===!1?null:t===!0?{}:t}function FC(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=AC(r[c],s);d!==null&&i.push({plugin:l,options:RC(t.config,{plugin:l,local:n[c]},d,a)})}return i}function RC(t,{plugin:e,local:n},r,s){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Cu(t,e){const n=mt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function IC(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function zC(t,e){return t===e?"_index_":"_value_"}function j2(t){if(t==="x"||t==="y"||t==="r")return t}function YC(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function xu(t,...e){if(j2(t))return t;for(const n of e){const r=n.axis||YC(n.position)||t.length>1&&j2(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Z2(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function HC(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Z2(t,"x",n[0])||Z2(t,"y",n[0])}return{}}function WC(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},s=Cu(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!ve(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=xu(a,l,HC(a,t),mt.scales[l.type]),d=zC(c,s),u=n.scales||{};i[a]=ko(Object.create(null),[{axis:c},l,u[c],u[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Cu(l,e),u=(Es[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=IC(h,c),m=a[f+"AxisID"]||f;i[m]=i[m]||Object.create(null),ko(i[m],[{axis:f},r[m],u[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];ko(l,[mt.scales[l.type],mt.scale])}),i}function U2(t){const e=t.options||(t.options={});e.plugins=Be(e.plugins,{}),e.scales=WC(t,e)}function q2(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function jC(t){return t=t||{},t.data=q2(t.data),U2(t),t}const G2=new Map,K2=new Set;function ol(t,e){let n=G2.get(t);return n||(n=e(),G2.set(t,n),K2.add(n)),n}const Vo=(t,e,n)=>{const r=za(e,n);r!==void 0&&t.add(r)};class ZC{constructor(e){this._config=jC(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=q2(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(),U2(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ol(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ol(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ol(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return ol(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let s=r.get(e);return(!s||n)&&(s=new Map,r.set(e,s)),s}getOptionScopes(e,n,r){const{options:s,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const c=new Set;n.forEach(u=>{e&&(c.add(e),u.forEach(h=>Vo(c,e,h))),u.forEach(h=>Vo(c,s,h)),u.forEach(h=>Vo(c,Es[i]||{},h)),u.forEach(h=>Vo(c,mt,h)),u.forEach(h=>Vo(c,su,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),K2.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},mt.datasets[n]||{},{type:n},mt,su]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=X2(this._resolverCache,e,s);let c=a;if(qC(a,n)){i.$shared=!1,r=Kr(r)?r():r;const d=this.createResolver(e,r,l);c=bi(a,r,d)}for(const d of n)i[d]=c[d];return i}createResolver(e,n,r=[""],s){const{resolver:i}=X2(this._resolverCache,e,r);return ve(n)?bi(i,n,void 0,s):i}}function X2(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const s=n.join();let i=r.get(s);return i||(i={resolver:du(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const UC=t=>ve(t)&&Object.getOwnPropertyNames(t).some(e=>Kr(t[e]));function qC(t,e){const{isScriptable:n,isIndexable:r}=o2(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Kr(l)||UC(l))||a&&tt(l))return!0}return!1}var GC="4.4.2";const KC=["top","bottom","left","right","chartArea"];function Q2(t,e){return t==="top"||t==="bottom"||KC.indexOf(t)===-1&&e==="x"}function J2(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function em(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ot(n&&n.onComplete,[t],e)}function XC(t){const e=t.chart,n=e.options.animation;ot(n&&n.onProgress,[t],e)}function tm(t){return fu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const al={},nm=t=>{const e=tm(t);return Object.values(al).filter(n=>n.canvas===e).pop()};function QC(t,e,n){const r=Object.keys(t);for(const s of r){const i=+s;if(i>=e){const a=t[s];delete t[s],(n>0||i>e)&&(t[i+n]=a)}}}function JC(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function ll(t,e,n){return t.options.clip?t[n]:e[n]}function ex(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:ll(n,e,"left"),right:ll(n,e,"right"),top:ll(r,e,"top"),bottom:ll(r,e,"bottom")}:e}let Bo=(ls=class{static register(...e){Xn.add(...e),rm()}static unregister(...e){Xn.remove(...e),rm()}constructor(e,n){const r=this.config=new ZC(n),s=tm(e),i=nm(s);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||_C(s)),this.platform.updateConfig(r);const l=this.platform.acquireContext(s,a.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=ob(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=a,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 VC,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Mb(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],al[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}gr.listen(this,"complete",em),gr.listen(this,"progress",XC),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:s,_aspectRatio:i}=this;return Ze(e)?n&&i?i:s?r/s:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Xn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():f2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return s2(this.canvas,this.ctx),this}stop(){return gr.stop(this),this}resize(e,n){gr.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,s=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(s,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,f2(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),ot(r.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Ae(n,(r,s)=>{r.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,s=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],c=xu(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Ae(i,a=>{const l=a.options,c=l.id,d=xu(c,l),u=Be(l.type,a.dtype);(l.position===void 0||Q2(l.position,d)!==Q2(a.dposition))&&(l.position=a.dposition),s[c]=!0;let h=null;if(c in r&&r[c].type===u)h=r[c];else{const f=Xn.getScale(u);h=new f({id:c,type:u,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Ae(s,(a,l)=>{a||delete r[l]}),Ae(r,a=>{tl.configure(this,a,a.options),tl.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((s,i)=>s.index-i.index),r>n){for(let s=n;s<r;++s)this._destroyDatasetMeta(s);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(J2("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,s)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,s;for(this._removeUnreferencedMetasets(),r=0,s=n.length;r<s;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Cu(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const c=Xn.getController(l),{datasetElementType:d,dataElementType:u}=mt.datasets[l];Object.assign(c,{dataElementType:Xn.getElement(u),datasetElementType:d&&Xn.getElement(d)}),a.controller=new c(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Ae(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,u=this.data.datasets.length;d<u;d++){const{controller:h}=this.getDatasetMeta(d),f=!s&&i.indexOf(h)===-1;h.buildOrUpdateElements(f),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),s||Ae(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(J2("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Ae(this.scales,e=>{tl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!z0(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:s,count:i}of n){const a=r==="_removeElements"?-i:i;QC(e,s,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),s=r(0);for(let i=1;i<n;i++)if(!z0(s,r(i)))return;return Array.from(s).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;tl.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Ae(this.boxes,s=>{r&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,i)=>{s._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Kr(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),s={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",s)!==!1&&(r.controller._update(n),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(gr.has(this)?this.attached&&!gr.running(this)&&gr.start(this):(this.draw(),em({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:s}=this._resizeBeforeDraw;this._resize(r,s),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let s,i;for(s=0,i=n.length;s<i;++s){const a=n[s];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r=e._clip,s=!r.disabled,i=ex(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&au(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),e.controller.draw(),s&&lu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return pr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=Kk.modes[n];return typeof i=="function"?i(this,e,r,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let s=r.filter(i=>i&&i._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(s)),s}getContext(){return this.$context||(this.$context=Jr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const s=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,s);Ya(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),gr.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),s2(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete al[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,n=this.platform,r=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},s=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};Ae(this.options.events,i=>r(i,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(c,d)=>{n.addEventListener(this,c,d),e[c]=d},s=(c,d)=>{e[c]&&(n.removeEventListener(this,c,d),delete e[c])},i=(c,d)=>{this.canvas&&this.resize(c,d)};let a;const l=()=>{s("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,s("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Ae(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Ae(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const s=r?"set":"remove";let i,a,l,c;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+s+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[s+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!Ra(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const s=this.options.hover,i=(c,d)=>c.filter(u=>!d.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,s.mode,!1),l.length&&s.mode&&this.updateHoverStyle(l,s.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},s=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,s)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,s),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:s=[],options:i}=this,a=n,l=this._getActiveElements(e,s,r,a),c=hb(e),d=JC(e,this._lastEvent,r,c);r&&(this._lastEvent=null,ot(i.onHover,[e,l,this],this),c&&ot(i.onClick,[e,l,this],this));const u=!Ra(l,s);return(u||n)&&(this._active=l,this._updateHoverStyles(l,s,n)),this._lastEvent=d,u}_getActiveElements(e,n,r,s){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,s)}},W(ls,"defaults",mt),W(ls,"instances",al),W(ls,"overrides",Es),W(ls,"registry",Xn),W(ls,"version",GC),W(ls,"getChart",nm),ls);function rm(){return Ae(Bo.instances,t=>t._plugins.invalidate())}function sm(t,e,n=e){t.lineCap=Be(n.borderCapStyle,e.borderCapStyle),t.setLineDash(Be(n.borderDash,e.borderDash)),t.lineDashOffset=Be(n.borderDashOffset,e.borderDashOffset),t.lineJoin=Be(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Be(n.borderWidth,e.borderWidth),t.strokeStyle=Be(n.borderColor,e.borderColor)}function tx(t,e,n){t.lineTo(n.x,n.y)}function nx(t){return t.stepped?Rb:t.tension||t.cubicInterpolationMode==="monotone"?Ib:tx}function im(t,e,n={}){const r=t.length,{start:s=0,end:i=r-1}=n,{start:a,end:l}=e,c=Math.max(s,a),d=Math.min(i,l),u=s<a&&i<a||s>l&&i>l;return{count:r,start:c,loop:e.loop,ilen:d<c&&!u?r+d-c:d-c}}function rx(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=im(s,n,r),u=nx(i);let{move:h=!0,reverse:f}=r||{},m,g,p;for(m=0;m<=d;++m)g=s[(l+(f?d-m:m))%a],!g.skip&&(h?(t.moveTo(g.x,g.y),h=!1):u(t,p,g,f,i.stepped),p=g);return c&&(g=s[(l+(f?d:0))%a],u(t,p,g,f,i.stepped)),!!c}function sx(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=im(s,n,r),{move:c=!0,reverse:d}=r||{};let u=0,h=0,f,m,g,p,_,y;const C=S=>(a+(d?l-S:S))%i,k=()=>{p!==_&&(t.lineTo(u,_),t.lineTo(u,p),t.lineTo(u,y))};for(c&&(m=s[C(0)],t.moveTo(m.x,m.y)),f=0;f<=l;++f){if(m=s[C(f)],m.skip)continue;const S=m.x,M=m.y,O=S|0;O===g?(M<p?p=M:M>_&&(_=M),u=(h*u+S)/++h):(k(),t.lineTo(S,M),g=O,h=0,p=_=M),y=M}k()}function Mu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?sx:rx}function ix(t){return t.stepped?wk:t.tension||t.cubicInterpolationMode==="monotone"?bk:Ns}function ox(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),sm(t,e.options),t.stroke(s)}function ax(t,e,n,r){const{segments:s,options:i}=e,a=Mu(e);for(const l of s)sm(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const lx=typeof Path2D=="function";function cx(t,e,n,r){lx&&!e.options.segment?ox(t,e,n,r):ax(t,e,n,r)}class _r extends Bs{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,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const s=r.spanGaps?this._loop:this._fullLoop;uk(this._points,r,e,s,n),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=Ok(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,r=e.length;return r&&n[e[r-1].end]}interpolate(e,n){const r=this.options,s=e[n],i=this.points,a=y2(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=ix(r);let d,u;for(d=0,u=a.length;d<u;++d){const{start:h,end:f}=a[d],m=i[h],g=i[f];if(m===g){l.push(m);continue}const p=Math.abs((s-m[n])/(g[n]-m[n])),_=c(m,g,p,r.stepped);_[n]=e[n],l.push(_)}return l.length===1?l[0]:l}pathSegment(e,n,r){return Mu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Mu(this);let a=this._loop;n=n||0,r=r||this.points.length-n;for(const l of s)a&=i(e,this,l,{start:n,end:n+r-1});return!!a}draw(e,n,r,s){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),cx(e,this,r,s),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}W(_r,"id","line"),W(_r,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),W(_r,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),W(_r,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function om(t,e,n,r){const s=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)<s.radius+s.hitRadius}class Ao extends Bs{constructor(n){super();W(this,"parsed");W(this,"skip");W(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,s){const i=this.options,{x:a,y:l}=this.getProps(["x","y"],s);return Math.pow(n-a,2)+Math.pow(r-l,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,r){return om(this,n,"x",r)}inYRange(n,r){return om(this,n,"y",r)}getCenterPoint(n){const{x:r,y:s}=this.getProps(["x","y"],n);return{x:r,y:s}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const s=r&&n.borderWidth||0;return(r+s)*2}draw(n,r){const s=this.options;this.skip||s.radius<.1||!pr(this,r,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,ou(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}W(Ao,"id","point"),W(Ao,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),W(Ao,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function dx(t,e,n){const r=t.segments,s=t.points,i=e.points,a=[];for(const l of r){let{start:c,end:d}=l;d=Su(c,d,s);const u=vu(n,s[c],s[d],l.loop);if(!e.segments){a.push({source:l,target:u,start:s[c],end:s[d]});continue}const h=y2(e,u);for(const f of h){const m=vu(n,i[f.start],i[f.end],f.loop),g=_2(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:am(u,m,"start",Math.max)},end:{[n]:am(u,m,"end",Math.min)}})}}return a}function vu(t,e,n,r){if(r)return;let s=e[t],i=n[t];return t==="angle"&&(s=nn(s),i=nn(i)),{property:t,start:s,end:i}}function ux(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Su(a,l,s);const c=s[a],d=s[l];r!==null?(i.push({x:c.x,y:r}),i.push({x:d.x,y:r})):n!==null&&(i.push({x:n,y:c.y}),i.push({x:n,y:d.y}))}),i}function Su(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function am(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function lm(t,e){let n=[],r=!1;return tt(t)?(r=!0,n=t):n=ux(t,e),n.length?new _r({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function cm(t){return t&&t.fill!==!1}function hx(t,e,n){let s=t[e].fill;const i=[e];let a;if(!n)return s;for(;s!==!1&&i.indexOf(s)===-1;){if(!it(s))return s;if(a=t[s],!a)return!1;if(a.visible)return s;i.push(s),s=a.fill}return!1}function fx(t,e,n){const r=_x(t);if(ve(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return it(s)&&Math.floor(s)===s?mx(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function mx(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function px(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:ve(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function gx(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:ve(t)?r=t.value:r=e.getBaseValue(),r}function _x(t){const e=t.options,n=e.fill;let r=Be(n&&n.target,n);return r===void 0&&(r=!!e.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function yx(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=wx(e,n);l.push(lm({x:null,y:e.bottom},r));for(let c=0;c<i.length;c++){const d=i[c];for(let u=d.start;u<=d.end;u++)bx(s,a[u],l)}return new _r({points:s,options:{}})}function wx(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let s=0;s<r.length;s++){const i=r[s];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function bx(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=kx(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function kx(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const s=r[n],i=t.segments,a=t.points;let l=!1,c=!1;for(let d=0;d<i.length;d++){const u=i[d],h=a[u.start][n],f=a[u.end][n];if(U0(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class dm{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,r){const{x:s,y:i,radius:a}=this;return n=n||{start:0,end:en},e.arc(s,i,a,n.end,n.start,!0),!r.bounds}interpolate(e){const{x:n,y:r,radius:s}=this,i=e.angle;return{x:n+Math.cos(i)*s,y:r+Math.sin(i)*s,angle:i}}}function Cx(t){const{chart:e,fill:n,line:r}=t;if(it(n))return xx(e,n);if(n==="stack")return yx(t);if(n==="shape")return!0;const s=Mx(t);return s instanceof dm?s:lm(s,r)}function xx(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function Mx(t){return(t.scale||{}).getPointPositionForValue?Sx(t):vx(t)}function vx(t){const{scale:e={},fill:n}=t,r=px(n,e);if(it(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function Sx(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=gx(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new dm({x:c.x,y:c.y,radius:e.getDistanceFromCenterForValue(a)})}for(let c=0;c<s;++c)l.push(e.getPointPositionForValue(c,a));return l}function Tu(t,e,n){const r=Cx(e),{line:s,scale:i,axis:a}=e,l=s.options,c=l.fill,d=l.backgroundColor,{above:u=d,below:h=d}=c||{};r&&s.points.length&&(au(t,n),Tx(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),lu(t))}function Tx(t,e){const{line:n,target:r,above:s,below:i,area:a,scale:l}=e,c=n._loop?"angle":e.axis;t.save(),c==="x"&&i!==s&&(um(t,r,a.top),hm(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),um(t,r,a.bottom)),hm(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function um(t,e,n){const{segments:r,points:s}=e;let i=!0,a=!1;t.beginPath();for(const l of r){const{start:c,end:d}=l,u=s[c],h=s[Su(c,d,s)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),a=!!e.pathSegment(t,l,{move:a}),a?t.closePath():t.lineTo(h.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function hm(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=dx(n,r,s);for(const{source:c,target:d,start:u,end:h}of l){const{style:{backgroundColor:f=i}={}}=c,m=r!==!0;t.save(),t.fillStyle=f,Ox(t,a,m&&vu(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():fm(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||fm(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function Ox(t,e,n){const{top:r,bottom:s}=e.chart.chartArea,{property:i,start:a,end:l}=n||{};i==="x"&&(t.beginPath(),t.rect(a,r,l-a,s-r),t.clip())}function fm(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var mm={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,s=[];let i,a,l,c;for(a=0;a<r;++a)i=t.getDatasetMeta(a),l=i.dataset,c=null,l&&l.options&&l instanceof _r&&(c={visible:t.isDatasetVisible(a),index:a,fill:fx(l,a,r),chart:t,axis:i.controller.options.indexAxis,scale:i.vScale,line:l}),i.$filler=c,s.push(c);for(a=0;a<r;++a)c=s[a],!(!c||c.fill===!1)&&(c.fill=hx(s,a,n.propagate))},beforeDraw(t,e,n){const r=n.drawTime==="beforeDraw",s=t.getSortedVisibleDatasetMetas(),i=t.chartArea;for(let a=s.length-1;a>=0;--a){const l=s[a].$filler;l&&(l.line.updateControlPoints(i,l.axis),r&&l.fill&&Tu(t.ctx,l,i))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=t.getSortedVisibleDatasetMetas();for(let s=r.length-1;s>=0;--s){const i=r[s].$filler;cm(i)&&Tu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!cm(r)||n.drawTime!=="beforeDatasetDraw"||Tu(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Fo={average(t){if(!t.length)return!1;let e,n,r=new Set,s=0,i=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const c=l.tooltipPosition();r.add(c.x),s+=c.y,++i}}return{x:[...r].reduce((l,c)=>l+c)/r.size,y:s/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,s=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const c=t[i].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),u=Jd(e,d);u<s&&(s=u,l=c)}}if(l){const c=l.tooltipPosition();n=c.x,r=c.y}return{x:n,y:r}}};function Qn(t,e){return e&&(tt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function yr(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
32
+ */class Vk{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,s){const i=n.listeners[s],a=n.duration;i.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=K0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,s)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,c;for(;a>=0;--a)c=i[a],c._active?(c._total>r.duration&&(r.duration=c._total),c.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(s.draw(),this._notify(s,r,e,"progress")),i.length||(r.running=!1,this._notify(s,r,e,"complete"),r.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,s)=>Math.max(r,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let s=r.length-1;for(;s>=0;--s)r[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var gr=new Vk;const k2="transparent",Bk={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=t2(t||k2),s=r.valid&&t2(e||k2);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class Ak{constructor(e,n,r,s){const i=n[r];s=qa([e.to,s,i,e.from]);const a=qa([e.from,i,s]);this._active=!0,this._fn=e.fn||Bk[e.type||typeof a],this._easing=Mo[e.easing]||Mo.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const s=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=qa([e.to,n,s,e.from]),this._from=qa([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,s=this._prop,i=this._from,a=this._loop,l=this._to;let c;if(this._active=i!==l&&(a||n<r),!this._active){this._target[s]=l,this._notify(!0);return}if(n<0){this._target[s]=i;return}c=n/r%2,c=a&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[s]=this._fn(i,l,c)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let s=0;s<r.length;s++)r[s][n]()}}class C2{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ve(e))return;const n=Object.keys(mt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!ve(i))return;const a={};for(const l of n)a[l]=i[l];(tt(i.properties)&&i.properties||[s]).forEach(l=>{(l===s||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,s=Rk(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&Fk(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,s=[],i=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let c;for(c=a.length-1;c>=0;--c){const d=a[c];if(d.charAt(0)==="$")continue;if(d==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[d];let h=i[d];const f=r.get(d);if(h)if(f&&h.active()){h.update(f,u,l);continue}else h.cancel();if(!f||!f.duration){e[d]=u;continue}i[d]=h=new Ak(f,e,d,u),s.push(h)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return gr.add(this._chart,r),!0}}function Fk(t,e){const n=[],r=Object.keys(e);for(let s=0;s<r.length;s++){const i=t[r[s]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function Rk(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function x2(t,e){const n=t&&t.options||{},r=n.reverse,s=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:s,end:r?s:i}}function Ik(t,e,n){if(n===!1)return!1;const r=x2(t,n),s=x2(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function zk(t){let e,n,r,s;return ve(t)?(e=t.top,n=t.right,r=t.bottom,s=t.left):e=n=r=s=t,{top:e,right:n,bottom:r,left:s,disabled:t===!1}}function M2(t,e){const n=[],r=t._getSortedDatasetMetas(e);let s,i;for(s=0,i=r.length;s<i;++s)n.push(r[s].index);return n}function v2(t,e,n,r={}){const s=t.keys,i=r.mode==="single";let a,l,c,d;if(e!==null){for(a=0,l=s.length;a<l;++a){if(c=+s[a],c===n){if(r.all)continue;break}d=t.values[c],it(d)&&(i||e===0||wi(e)===wi(d))&&(e+=d)}return e}}function Yk(t){const e=Object.keys(t),n=new Array(e.length);let r,s,i;for(r=0,s=e.length;r<s;++r)i=e[r],n[r]={x:i,y:t[i]};return n}function S2(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function Hk(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Wk(t){const{min:e,max:n,minDefined:r,maxDefined:s}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:s?n:Number.POSITIVE_INFINITY}}function jk(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function T2(t,e,n,r){for(const s of e.getMatchingVisibleMetas(r).reverse()){const i=t[s.index];if(n&&i>0||!n&&i<0)return s.index}return null}function D2(t,e){const{chart:n,_cachedMeta:r}=t,s=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,c=i.axis,d=a.axis,u=Hk(i,a,r),h=e.length;let f;for(let m=0;m<h;++m){const g=e[m],{[c]:p,[d]:_}=g,y=g._stacks||(g._stacks={});f=y[d]=jk(s,u,p),f[l]=_,f._top=T2(f,a,!0,r.type),f._bottom=T2(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function gu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function Zk(t,e){return Jr(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Uk(t,e,n){return Jr(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function To(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const s of e){const i=s._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const _u=t=>t==="reset"||t==="none",O2=(t,e)=>e?t:Object.assign({},t),qk=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:M2(n,!0),values:null};class Do{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=S2(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&To(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),s=(h,f,m,g)=>h==="x"?f:h==="r"?g:m,i=n.xAxisID=Be(r.xAxisID,gu(e,"x")),a=n.yAxisID=Be(r.yAxisID,gu(e,"y")),l=n.rAxisID=Be(r.rAxisID,gu(e,"r")),c=n.indexAxis,d=n.iAxisID=s(c,i,a,l),u=n.vAxisID=s(c,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(u)}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 n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&G0(this._data,this),e._stacked&&To(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(ve(n))this._data=Yk(n);else if(r!==n){if(r){G0(r,this);const s=this._cachedMeta;To(s),s._parsed=[]}n&&Object.isExtensible(n)&&Sb(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let s=!1;this._dataCheck();const i=n._stacked;n._stacked=S2(n.vScale,n),n.stack!==r.stack&&(s=!0,To(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&D2(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:s}=this,{iScale:i,_stacked:a}=r,l=i.axis;let c=e===0&&n===s.length?!0:r._sorted,d=e>0&&r._parsed[e-1],u,h,f;if(this._parsing===!1)r._parsed=s,r._sorted=!0,f=s;else{tt(s[e])?f=this.parseArrayData(r,s,e,n):ve(s[e])?f=this.parseObjectData(r,s,e,n):f=this.parsePrimitiveData(r,s,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(u=0;u<n;++u)r._parsed[u+e]=h=f[u],c&&(m()&&(c=!1),d=h);r._sorted=c}a&&D2(this,f)}parsePrimitiveData(e,n,r,s){const{iScale:i,vScale:a}=e,l=i.axis,c=a.axis,d=i.getLabels(),u=i===a,h=new Array(s);let f,m,g;for(f=0,m=s;f<m;++f)g=f+r,h[f]={[l]:u||i.parse(d[g],g),[c]:a.parse(n[g],g)};return h}parseArrayData(e,n,r,s){const{xScale:i,yScale:a}=e,l=new Array(s);let c,d,u,h;for(c=0,d=s;c<d;++c)u=c+r,h=n[u],l[c]={x:i.parse(h[0],u),y:a.parse(h[1],u)};return l}parseObjectData(e,n,r,s){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(s);let u,h,f,m;for(u=0,h=s;u<h;++u)f=u+r,m=n[f],d[u]={x:i.parse(za(m,l),f),y:a.parse(za(m,c),f)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const s=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:M2(s,!0),values:n._stacks[e.axis]._visualValues};return v2(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,s){const i=r[n.axis];let a=i===null?NaN:i;const l=s&&r._stacks[n.axis];s&&l&&(s.values=l,a=v2(s,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,s=r._parsed,i=r._sorted&&e===r.iScale,a=s.length,l=this._getOtherScale(e),c=qk(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Wk(l);let f,m;function g(){m=s[f];const p=m[l.axis];return!it(m[e.axis])||u>p||h<p}for(f=0;f<a&&!(!g()&&(this.updateRangeFromParsed(d,e,m,c),i));++f);if(i){for(f=a-1;f>=0;--f)if(!g()){this.updateRangeFromParsed(d,e,m,c);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let s,i,a;for(s=0,i=n.length;s<i;++s)a=n[s][e.axis],it(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,s=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:s?""+s.getLabelForValue(i[s.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=zk(Be(this.options.clip,Ik(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,s=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||s.length-l,d=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(e,i,l,c),u=l;u<l+c;++u){const h=s[u];h.hidden||(h.active&&d?a.push(h):h.draw(e,i))}for(u=0;u<a.length;++u)a[u].draw(e,i)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const s=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=Uk(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=s.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=Zk(this.chart.getContext(),this.index)),i.dataset=s,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const s=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],c=this.enableOptionSharing&&Ya(r);if(l)return O2(l,c);const d=this.chart.config,u=d.datasetElementScopeKeys(this._type,e),h=s?[`${e}Hover`,"hover",e,""]:[e,""],f=d.getOptionScopes(this.getDataset(),u),m=Object.keys(mt.elements[e]),g=()=>this.getContext(r,s,n),p=d.resolveNamedOptions(f,m,g,h);return p.$shared&&(p.$shared=c,i[a]=Object.freeze(O2(p,c))),p}_resolveAnimations(e,n,r){const s=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let c;if(s.options.animation!==!1){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),h);c=u.createResolver(f,this.getContext(e,r,n))}const d=new C2(s,c&&c.animations);return c&&c._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||_u(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),s=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==s;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,s){_u(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!_u(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,s){e.active=s;const i=this.getStyle(n,s);this._resolveAnimations(n,r,s).update(e,{options:!s&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"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 n=this._data,r=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const s=r.length,i=n.length,a=Math.min(i,s);a&&this.parse(0,a),i>s?this._insertElements(s,i-s,e):i<s&&this._removeElements(i,s-i)}_insertElements(e,n,r=!0){const s=this._cachedMeta,i=s.data,a=e+n;let l;const c=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(c(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&c(s._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,s){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const s=r._parsed.splice(e,n);r._stacked&&To(r,s)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,s]=e;this[n](r,s)}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,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}W(Do,"defaults",{}),W(Do,"datasetElementType",null),W(Do,"dataElementType",null);class Ja extends Do{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:s=[],_dataset:i}=n,a=this.chart._animationsDisabled;let{start:l,count:c}=Eb(n,s,a);this._drawStart=l,this._drawCount=c,Pb(n)&&(l=0,c=s.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=s;const d=this.resolveDatasetElementOptions(e);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:d},e),this.updateElements(s,l,c,e)}updateElements(e,n,r,s){const i=s==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(n,s),f=a.axis,m=l.axis,{spanGaps:g,segment:p}=this.options,_=xo(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||s==="none",C=n+r,k=e.length;let S=n>0&&this.getParsed(n-1);for(let M=0;M<k;++M){const D=e[M],v=y?D:{};if(M<n||M>=C){v.skip=!0;continue}const O=this.getParsed(M),E=Ze(O[m]),I=v[f]=a.getPixelForValue(O[f],M),j=v[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,O,c):O[m],M);v.skip=isNaN(I)||isNaN(j)||E,v.stop=M>0&&Math.abs(O[f]-S[f])>_,p&&(v.parsed=O,v.raw=d.data[M]),h&&(v.options=u||this.resolveDataElementOptions(M,D.active?"active":s)),y||this.updateElement(D,M,v,s),S=O}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return r;const i=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(r,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}W(Ja,"id","line"),W(Ja,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(Ja,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function Vs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class yu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(yu.prototype,e)}init(){}formats(){return Vs()}parse(){return Vs()}format(){return Vs()}add(){return Vs()}diff(){return Vs()}startOf(){return Vs()}endOf(){return Vs()}}var Gk={_date:yu};function Kk(t,e,n,r){const{controller:s,data:i,_sorted:a}=t,l=s._cachedMeta.iScale;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const c=l._reversePixels?Mb:Os;if(r){if(s._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(e);if(u){const h=c(i,e,n-u),f=c(i,e,n+u);return{lo:h.lo,hi:f.hi}}}}else return c(i,e,n)}return{lo:0,hi:i.length-1}}function Oo(t,e,n,r,s){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,c=i.length;l<c;++l){const{index:d,data:u}=i[l],{lo:h,hi:f}=Kk(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function Xk(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,s){const i=e?Math.abs(r.x-s.x):0,a=n?Math.abs(r.y-s.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function wu(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||Oo(t,n,e,function(l,c,d){!s&&!pr(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function Qk(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=kb(a,{x:e.x,y:e.y});Z0(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Oo(t,n,e,i),s}function Jk(t,e,n,r,s,i){let a=[];const l=Xk(n);let c=Number.POSITIVE_INFINITY;function d(u,h,f){const m=u.inRange(e.x,e.y,s);if(r&&!m)return;const g=u.getCenterPoint(s);if(!(!!i||t.isPointInArea(g))&&!m)return;const _=l(e,g);_<c?(a=[{element:u,datasetIndex:h,index:f}],c=_):_===c&&a.push({element:u,datasetIndex:h,index:f})}return Oo(t,n,e,d),a}function bu(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?Qk(t,e,n,s):Jk(t,e,n,r,s,i)}function E2(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Oo(t,n,e,(c,d,u)=>{c[a](e[n],s)&&(i.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,s))}),r&&!l?[]:i}var eC={evaluateInteractionItems:Oo,modes:{index(t,e,n,r){const s=$s(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?wu(t,s,i,r,a):bu(t,s,i,!1,r,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,h=d.data[u];h&&!h.skip&&c.push({element:h,datasetIndex:d.index,index:u})}),c):[]},dataset(t,e,n,r){const s=$s(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?wu(t,s,i,r,a):bu(t,s,i,!1,r,a);if(l.length>0){const c=l[0].datasetIndex,d=t.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(t,e,n,r){const s=$s(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return wu(t,s,i,r,a)},nearest(t,e,n,r){const s=$s(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return bu(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=$s(e,t);return E2(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=$s(e,t);return E2(t,s,"y",n.intersect,r)}}};const P2=["left","top","right","bottom"];function Eo(t,e){return t.filter(n=>n.pos===e)}function L2(t,e){return t.filter(n=>P2.indexOf(n.pos)===-1&&n.box.axis===e)}function Po(t,e){return t.sort((n,r)=>{const s=e?r:n,i=e?n:r;return s.weight===i.weight?s.index-i.index:s.weight-i.weight})}function tC(t){const e=[];let n,r,s,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)s=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=s,e.push({index:n,box:s,pos:i,horizontal:s.isHorizontal(),weight:s.weight,stack:a&&i+a,stackWeight:l});return e}function nC(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!P2.includes(s))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function rC(t,e){const n=nC(t),{vBoxMaxWidth:r,hBoxMaxHeight:s}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:c}=l.box,d=n[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*r:c&&e.availableWidth,l.height=s):(l.width=r,l.height=u?u*s:c&&e.availableHeight)}return n}function sC(t){const e=tC(t),n=Po(e.filter(d=>d.box.fullSize),!0),r=Po(Eo(e,"left"),!0),s=Po(Eo(e,"right")),i=Po(Eo(e,"top"),!0),a=Po(Eo(e,"bottom")),l=L2(e,"x"),c=L2(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:s.concat(c).concat(a).concat(l),chartArea:Eo(e,"chartArea"),vertical:r.concat(s).concat(c),horizontal:i.concat(a).concat(l)}}function $2(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function N2(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 iC(t,e,n,r){const{pos:s,box:i}=n,a=t.maxPadding;if(!ve(s)){n.size&&(t[s]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,t[s]+=n.size}i.getPadding&&N2(a,i.getPadding());const l=Math.max(0,e.outerWidth-$2(a,t,"left","right")),c=Math.max(0,e.outerHeight-$2(a,t,"top","bottom")),d=l!==t.w,u=c!==t.h;return t.w=l,t.h=c,n.horizontal?{same:d,other:u}:{same:u,other:d}}function oC(t){const e=t.maxPadding;function n(r){const s=Math.max(e[r]-t[r],0);return t[r]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function aC(t,e){const n=e.maxPadding;function r(s){const i={left:0,top:0,right:0,bottom:0};return s.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function Lo(t,e,n,r){const s=[];let i,a,l,c,d,u;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],c=l.box,c.update(l.width||e.w,l.height||e.h,aC(l.horizontal,e));const{same:h,other:f}=iC(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Lo(s,e,n,r)||u}function el(t,e,n,r,s){t.top=n,t.left=e,t.right=e+r,t.bottom=n+s,t.width=r,t.height=s}function V2(t,e,n,r){const s=n.padding;let{x:i,y:a}=e;for(const l of t){const c=l.box,d=r[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*u,f=d.size||c.height;Ya(d.start)&&(a=d.start),c.fullSize?el(c,s.left,a,n.outerWidth-s.right-s.left,f):el(c,e.left+d.placed,a,h,f),d.start=a,d.placed+=h,a=c.bottom}else{const h=e.h*u,f=d.size||c.width;Ya(d.start)&&(i=d.start),c.fullSize?el(c,i,s.top,f,n.outerHeight-s.bottom-s.top):el(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var tl={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(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const s=pn(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=sC(t.boxes),c=l.vertical,d=l.horizontal;Ae(t.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=c.reduce((p,_)=>_.box.options&&_.box.options.display===!1?p:p+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},s);N2(f,pn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=rC(c.concat(d),h);Lo(l.fullSize,m,h,g),Lo(c,m,h,g),Lo(d,m,h,g)&&Lo(c,m,h,g),oC(m),V2(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,V2(l.rightAndBottom,m,h,g),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Ae(l.chartArea,p=>{const _=p.box;Object.assign(_,t.chartArea),_.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class B2{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,s){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):r)}}isAttached(e){return!0}updateConfig(e){}}class lC extends B2{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const nl="$chartjs",cC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},A2=t=>t===null||t==="";function dC(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[nl]={initial:{height:r,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",A2(s)){const i=m2(t,"width");i!==void 0&&(t.width=i)}if(A2(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=m2(t,"height");i!==void 0&&(t.height=i)}return t}const F2=Ck?{passive:!0}:!1;function uC(t,e,n){t&&t.addEventListener(e,n,F2)}function hC(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,F2)}function fC(t,e){const n=cC[t.type]||t.type,{x:r,y:s}=$s(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:s!==void 0?s:null}}function rl(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function mC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||rl(l.addedNodes,r),a=a&&!rl(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function pC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||rl(l.removedNodes,r),a=a&&!rl(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const $o=new Map;let R2=0;function I2(){const t=window.devicePixelRatio;t!==R2&&(R2=t,$o.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function gC(t,e){$o.size||window.addEventListener("resize",I2),$o.set(t,e)}function _C(t){$o.delete(t),$o.size||window.removeEventListener("resize",I2)}function yC(t,e,n){const r=t.canvas,s=r&&mu(r);if(!s)return;const i=X0((l,c)=>{const d=s.clientWidth;n(l,c),d<s.clientWidth&&n()},window),a=new ResizeObserver(l=>{const c=l[0],d=c.contentRect.width,u=c.contentRect.height;d===0&&u===0||i(d,u)});return a.observe(s),gC(t,i),a}function ku(t,e,n){n&&n.disconnect(),e==="resize"&&_C(t)}function wC(t,e,n){const r=t.canvas,s=X0(i=>{t.ctx!==null&&n(fC(i,t))},t);return uC(r,e,s),s}class bC extends B2{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(dC(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[nl])return!1;const r=n[nl].initial;["height","width"].forEach(i=>{const a=r[i];Ze(a)?n.removeAttribute(i):n.setAttribute(i,a)});const s=r.style||{};return Object.keys(s).forEach(i=>{n.style[i]=s[i]}),n.width=n.width,delete n[nl],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:mC,detach:pC,resize:yC}[n]||wC;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:ku,detach:ku,resize:ku}[n]||hC)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return kk(e,n,r,s)}isAttached(e){const n=mu(e);return!!(n&&n.isConnected)}}function kC(t){return!fu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?lC:bC}class Bs{constructor(){W(this,"x");W(this,"y");W(this,"active",!1);W(this,"options");W(this,"$animations")}tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return xo(this.x)&&xo(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const s={};return e.forEach(i=>{s[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),s}}W(Bs,"defaults",{}),W(Bs,"defaultRoutes");function CC(t,e){const n=t.options.ticks,r=xC(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?vC(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return SC(e,d,i,a/s),d;const u=MC(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(sl(e,d,u,Ze(m)?0:l-m,l),h=0,f=a-1;h<f;h++)sl(e,d,u,i[h],i[h+1]);return sl(e,d,u,c,Ze(m)?e.length:c+m),d}return sl(e,d,u),d}function xC(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),s=t._maxLength/n;return Math.floor(Math.min(r,s))}function MC(t,e,n){const r=TC(t),s=e.length/n;if(!r)return Math.max(s,1);const i=wb(r);for(let a=0,l=i.length-1;a<l;a++){const c=i[a];if(c>s)return c}return Math.max(s,1)}function vC(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function SC(t,e,n,r){let s=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),s++,i=n[s*r])}function sl(t,e,n,r,s){const i=Be(r,0),a=Math.min(Be(s,t.length),t.length);let l=0,c,d,u;for(n=Math.ceil(n),s&&(c=s-r,n=c/Math.floor(c/n)),u=i;u<0;)l++,u=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===u&&(e.push(t[d]),l++,u=Math.round(i+l*n))}function TC(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const DC=t=>t==="left"?"right":t==="right"?"left":t,z2=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Y2=(t,e)=>Math.min(e||t,t);function H2(t,e){const n=[],r=t.length/e,s=t.length;let i=0;for(;i<s;i+=r)n.push(t[Math.floor(i)]);return n}function OC(t,e,n){const r=t.ticks.length,s=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let c=t.getPixelForTick(s),d;if(!(n&&(r===1?d=Math.max(c-i,a-c):e===0?d=(t.getPixelForTick(1)-c)/2:d=(c-t.getPixelForTick(s-1))/2,c+=s<e?d:-d,c<i-l||c>a+l)))return c}function EC(t,e){Ae(t,n=>{const r=n.gc,s=r.length/2;let i;if(s>e){for(i=0;i<s;++i)delete n.data[r[i]];r.splice(0,s)}})}function No(t){return t.drawTicks?t.tickLength:0}function W2(t,e){if(!t.display)return 0;const n=rn(t.font,e),r=pn(t.padding);return(tt(t.text)?t.text.length:1)*n.lineHeight+r.height}function PC(t,e){return Jr(t,{scale:e,type:"scale"})}function LC(t,e,n){return Jr(t,{tick:n,index:e,type:"tick"})}function $C(t,e,n){let r=Ob(t);return(n&&e!=="right"||!n&&e==="right")&&(r=DC(r)),r}function NC(t,e,n,r){const{top:s,left:i,bottom:a,right:l,chart:c}=t,{chartArea:d,scales:u}=c;let h=0,f,m,g;const p=a-s,_=l-i;if(t.isHorizontal()){if(m=Q0(r,i,l),ve(n)){const y=Object.keys(n)[0],C=n[y];g=u[y].getPixelForValue(C)+p-e}else n==="center"?g=(d.bottom+d.top)/2+p-e:g=z2(t,n,e);f=l-i}else{if(ve(n)){const y=Object.keys(n)[0],C=n[y];m=u[y].getPixelForValue(C)-_+e}else n==="center"?m=(d.left+d.right)/2-_+e:m=z2(t,n,e);g=Q0(r,a,s),h=n==="left"?-tn:tn}return{titleX:m,titleY:g,maxWidth:f,rotation:h}}class As extends Bs{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,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:s}=this;return e=Jt(e,Number.POSITIVE_INFINITY),n=Jt(n,Number.NEGATIVE_INFINITY),r=Jt(r,Number.POSITIVE_INFINITY),s=Jt(s,Number.NEGATIVE_INFINITY),{min:Jt(e,r),max:Jt(n,s),minDefined:it(e),maxDefined:it(n)}}getMinMax(e){let{min:n,max:r,minDefined:s,maxDefined:i}=this.getUserBounds(),a;if(s&&i)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let c=0,d=l.length;c<d;++c)a=l[c].controller.getMinMax(this,e),s||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=s&&n>r?n:r,{min:Jt(n,Jt(r,n)),max:Jt(r,Jt(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ot(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:s,grace:i,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Jb(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?H2(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=CC(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ot(this.options.afterUpdate,[this])}beforeSetDimensions(){ot(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(){ot(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),ot(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ot(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,s,i;for(r=0,s=e.length;r<s;r++)i=e[r],i.label=ot(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){ot(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ot(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Y2(this.ticks.length,e.ticks.maxTicksLimit),s=n.minRotation||0,i=n.maxRotation;let a=s,l,c,d;if(!this._isVisible()||!n.display||s>=i||r<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),h=u.widest.width,f=u.highest.height,m=mn(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),c=this.maxHeight-No(e.grid)-n.padding-W2(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=Qd(Math.min(Math.asin(mn((u.highest.height+6)/l,-1,1)),Math.asin(mn(c/d,-1,1))-Math.asin(mn(f/d,-1,1)))),a=Math.max(s,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){ot(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ot(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:s,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const c=W2(s,n.options.font);if(l?(e.width=this.maxWidth,e.height=No(i)+c):(e.height=this.maxHeight,e.width=No(i)+c),r.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:f}=this._getLabelSizes(),m=r.padding*2,g=Qr(this.labelRotation),p=Math.cos(g),_=Math.sin(g);if(l){const y=r.mirror?0:_*h.width+p*f.height;e.height=Math.min(this.maxHeight,e.height+y+m)}else{const y=r.mirror?0:p*h.width+_*f.height;e.width=Math.min(this.maxWidth,e.width+y+m)}this._calculatePadding(d,u,_,p)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,s){const{ticks:{align:i,padding:a},position:l}=this.options,c=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,m=0;c?d?(f=s*e.width,m=r*n.height):(f=r*e.height,m=s*n.width):i==="start"?m=n.width:i==="end"?f=e.width:i!=="inner"&&(f=e.width/2,m=n.width/2),this.paddingLeft=Math.max((f-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let u=n.height/2,h=e.height/2;i==="start"?(u=0,h=e.height):i==="end"&&(u=n.height,h=0),this.paddingTop=u+a,this.paddingBottom=h+a}}_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(){ot(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ze(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=H2(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:s,_longestTextCache:i}=this,a=[],l=[],c=Math.floor(n/Y2(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,k,S,M;for(h=0;h<n;h+=c){if(g=e[h].label,p=this._resolveTickFontOptions(h),s.font=_=p.string,y=i[_]=i[_]||{data:{},gc:[]},C=p.lineHeight,k=S=0,!Ze(g)&&!tt(g))k=Za(s,y.data,y.gc,k,g),S=C;else if(tt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ze(M)&&!tt(M)&&(k=Za(s,y.data,y.gc,k,M),S+=C);a.push(k),l.push(S),d=Math.max(k,d),u=Math.max(S,u)}EC(i,n);const D=a.indexOf(d),v=l.indexOf(u),O=E=>({width:a[E]||0,height:l[E]||0});return{first:O(0),last:O(n-1),widest:O(D),highest:O(v),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return xb(this._alignToPixels?Ps(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=LC(this.getContext(),e,r))}return this.$context||(this.$context=PC(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Qr(this.labelRotation),r=Math.abs(Math.cos(n)),s=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,c=i?i.highest.height+a:0;return this.isHorizontal()?c*r>l*s?l/r:c/s:c*s<l*r?c/r:l/s}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,s=this.options,{grid:i,position:a,border:l}=s,c=i.offset,d=this.isHorizontal(),h=this.ticks.length+(c?1:0),f=No(i),m=[],g=l.setContext(this.getContext()),p=g.display?g.width:0,_=p/2,y=function(x){return Ps(r,x,p)};let C,k,S,M,D,v,O,E,I,j,P,R;if(a==="top")C=y(this.bottom),v=this.bottom-f,E=C-_,j=y(e.top)+_,R=e.bottom;else if(a==="bottom")C=y(this.top),j=e.top,R=y(e.bottom)-_,v=C+_,E=this.top+f;else if(a==="left")C=y(this.right),D=this.right-f,O=C-_,I=y(e.left)+_,P=e.right;else if(a==="right")C=y(this.left),I=e.left,P=y(e.right)-_,D=C+_,O=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(ve(a)){const x=Object.keys(a)[0],N=a[x];C=y(this.chart.scales[x].getPixelForValue(N))}j=e.top,R=e.bottom,v=C+_,E=v+f}else if(n==="y"){if(a==="center")C=y((e.left+e.right)/2);else if(ve(a)){const x=Object.keys(a)[0],N=a[x];C=y(this.chart.scales[x].getPixelForValue(N))}D=C-_,O=D-f,I=e.left,P=e.right}const G=Be(s.ticks.maxTicksLimit,h),T=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=T){const x=this.getContext(k),N=i.setContext(x),Z=l.setContext(x),ee=N.lineWidth,U=N.color,L=Z.dash||[],V=Z.dashOffset,b=N.tickWidth,w=N.tickColor,B=N.tickBorderDash||[],z=N.tickBorderDashOffset;S=OC(this,k,c),S!==void 0&&(M=Ps(r,S,ee),d?D=O=I=P=M:v=E=j=R=M,m.push({tx1:D,ty1:v,tx2:O,ty2:E,x1:I,y1:j,x2:P,y2:R,width:ee,color:U,borderDash:L,borderDashOffset:V,tickWidth:b,tickColor:w,tickBorderDash:B,tickBorderDashOffset:z}))}return this._ticksLength=h,this._borderValue=C,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:s,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=i,f=No(r.grid),m=f+u,g=h?-u:m,p=-Qr(this.labelRotation),_=[];let y,C,k,S,M,D,v,O,E,I,j,P,R="middle";if(s==="top")D=this.bottom-g,v=this._getXAxisLabelAlignment();else if(s==="bottom")D=this.top+g,v=this._getXAxisLabelAlignment();else if(s==="left"){const T=this._getYAxisLabelAlignment(f);v=T.textAlign,M=T.x}else if(s==="right"){const T=this._getYAxisLabelAlignment(f);v=T.textAlign,M=T.x}else if(n==="x"){if(s==="center")D=(e.top+e.bottom)/2+m;else if(ve(s)){const T=Object.keys(s)[0],x=s[T];D=this.chart.scales[T].getPixelForValue(x)+m}v=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(ve(s)){const T=Object.keys(s)[0],x=s[T];M=this.chart.scales[T].getPixelForValue(x)}v=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(c==="start"?R="top":c==="end"&&(R="bottom"));const G=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){k=l[y],S=k.label;const T=i.setContext(this.getContext(y));O=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=tt(S)?S.length:1;const x=j/2,N=T.color,Z=T.textStrokeColor,ee=T.textStrokeWidth;let U=v;a?(M=O,v==="inner"&&(y===C-1?U=this.options.reverse?"left":"right":y===0?U=this.options.reverse?"right":"left":U="center"),s==="top"?d==="near"||p!==0?P=-j*I+I/2:d==="center"?P=-G.highest.height/2-x*I+I:P=-G.highest.height+I/2:d==="near"||p!==0?P=I/2:d==="center"?P=G.highest.height/2-x*I:P=G.highest.height-j*I,h&&(P*=-1),p!==0&&!T.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(D=O,P=(1-j)*I/2);let L;if(T.showLabelBackdrop){const V=pn(T.backdropPadding),b=G.heights[y],w=G.widths[y];let B=P-V.top,z=0-V.left;switch(R){case"middle":B-=b/2;break;case"bottom":B-=b;break}switch(v){case"center":z-=w/2;break;case"right":z-=w;break;case"inner":y===C-1?z-=w:y>0&&(z-=w/2);break}L={left:z,top:B,width:w+V.width,height:b+V.height,color:T.backdropColor}}_.push({label:S,font:E,textOffset:P,options:{rotation:p,color:N,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:R,translation:[M,D],backdrop:L}})}return _}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Qr(this.labelRotation))return e==="top"?"left":"right";let s="center";return n.align==="start"?s="left":n.align==="end"?s="right":n.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:s,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,c=a.widest.width;let d,u;return n==="left"?s?(u=this.right+i,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u+=c)):(u=this.right-l,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u=this.left)):n==="right"?s?(u=this.left+i,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u-=c)):(u=this.left+l,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u=this.right)):d="right",{textAlign:d,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:s,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,s,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const s=this.ticks.findIndex(i=>i.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(c,d,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(c.x,c.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=s.length;i<a;++i){const c=s[i];n.drawOnChartArea&&l({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),n.drawTicks&&l({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:s}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=s.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,u,h,f;this.isHorizontal()?(d=Ps(e,this.left,a)-a/2,u=Ps(e,this.right,l)+l/2,h=f=c):(h=Ps(e,this.top,a)-a/2,f=Ps(e,this.bottom,l)+l/2,d=u=c),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,h),n.lineTo(u,f),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,s=this._computeLabelArea();s&&au(r,s);const i=this.getLabelItems(e);for(const a of i){const l=a.options,c=a.font,d=a.label,u=a.textOffset;Ua(r,d,0,u,c,l)}s&&lu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=rn(r.font),a=pn(r.padding),l=r.align;let c=i.lineHeight/2;n==="bottom"||n==="center"||ve(n)?(c+=a.bottom,tt(r.text)&&(c+=i.lineHeight*(r.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:f}=NC(this,c,n,l);Ua(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:$C(l,n,s),textBaseline:"middle",translation:[d,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Be(e.grid&&e.grid.z,-1),s=Be(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==As.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",s=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&s.push(l)}return s}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return rn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class il{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;AC(n)&&(r=this.register(n));const s=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in s||(s[i]=e,VC(e,a,r),this.override&&mt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,s=this.scope;r in n&&delete n[r],s&&r in mt[s]&&(delete mt[s][r],this.override&&delete Es[r])}}function VC(t,e,n){const r=bo(Object.create(null),[n?mt.get(n):{},mt.get(e),t.defaults]);mt.set(e,r),t.defaultRoutes&&BC(e,t.defaultRoutes),t.descriptors&&mt.describe(e,t.descriptors)}function BC(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),s=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),c=a.join(".");mt.route(i,s,c,l)})}function AC(t){return"id"in t&&"defaults"in t}class FC{constructor(){this.controllers=new il(Do,"datasets",!0),this.elements=new il(Bs,"elements"),this.plugins=new il(Object,"plugins"),this.scales=new il(As,"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,n,r){[...n].forEach(s=>{const i=r||this._getRegistryForType(s);r||i.isForType(s)||i===this.plugins&&s.id?this._exec(e,i,s):Ae(s,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const s=Xd(e);ot(r["before"+s],[],r),n[e](r),ot(r["after"+s],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const s=n.get(e);if(s===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return s}}var Xn=new FC;class RC{constructor(){this._init=[]}notify(e,n,r,s){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=s?this._descriptors(e).filter(s):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),a}_notify(e,n,r,s){s=s||{};for(const i of e){const a=i.plugin,l=a[r],c=[n,s,i.options];if(ot(l,c,a)===!1&&s.cancelable)return!1}return!0}invalidate(){Ze(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,s=Be(r.options&&r.options.plugins,{}),i=IC(r);return s===!1&&!n?[]:YC(e,i,s,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,s=(i,a)=>i.filter(l=>!a.some(c=>l.plugin.id===c.plugin.id));this._notify(s(n,r),e,"stop"),this._notify(s(r,n),e,"start")}}function IC(t){const e={},n=[],r=Object.keys(Xn.plugins.items);for(let i=0;i<r.length;i++)n.push(Xn.getPlugin(r[i]));const s=t.plugins||[];for(let i=0;i<s.length;i++){const a=s[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function zC(t,e){return!e&&t===!1?null:t===!0?{}:t}function YC(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=zC(r[c],s);d!==null&&i.push({plugin:l,options:HC(t.config,{plugin:l,local:n[c]},d,a)})}return i}function HC(t,{plugin:e,local:n},r,s){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Cu(t,e){const n=mt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function WC(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function jC(t,e){return t===e?"_index_":"_value_"}function j2(t){if(t==="x"||t==="y"||t==="r")return t}function ZC(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function xu(t,...e){if(j2(t))return t;for(const n of e){const r=n.axis||ZC(n.position)||t.length>1&&j2(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Z2(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function UC(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Z2(t,"x",n[0])||Z2(t,"y",n[0])}return{}}function qC(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},s=Cu(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!ve(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=xu(a,l,UC(a,t),mt.scales[l.type]),d=jC(c,s),u=n.scales||{};i[a]=ko(Object.create(null),[{axis:c},l,u[c],u[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Cu(l,e),u=(Es[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=WC(h,c),m=a[f+"AxisID"]||f;i[m]=i[m]||Object.create(null),ko(i[m],[{axis:f},r[m],u[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];ko(l,[mt.scales[l.type],mt.scale])}),i}function U2(t){const e=t.options||(t.options={});e.plugins=Be(e.plugins,{}),e.scales=qC(t,e)}function q2(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function GC(t){return t=t||{},t.data=q2(t.data),U2(t),t}const G2=new Map,K2=new Set;function ol(t,e){let n=G2.get(t);return n||(n=e(),G2.set(t,n),K2.add(n)),n}const Vo=(t,e,n)=>{const r=za(e,n);r!==void 0&&t.add(r)};class KC{constructor(e){this._config=GC(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=q2(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(),U2(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ol(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ol(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ol(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return ol(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let s=r.get(e);return(!s||n)&&(s=new Map,r.set(e,s)),s}getOptionScopes(e,n,r){const{options:s,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const c=new Set;n.forEach(u=>{e&&(c.add(e),u.forEach(h=>Vo(c,e,h))),u.forEach(h=>Vo(c,s,h)),u.forEach(h=>Vo(c,Es[i]||{},h)),u.forEach(h=>Vo(c,mt,h)),u.forEach(h=>Vo(c,su,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),K2.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},mt.datasets[n]||{},{type:n},mt,su]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=X2(this._resolverCache,e,s);let c=a;if(QC(a,n)){i.$shared=!1,r=Kr(r)?r():r;const d=this.createResolver(e,r,l);c=bi(a,r,d)}for(const d of n)i[d]=c[d];return i}createResolver(e,n,r=[""],s){const{resolver:i}=X2(this._resolverCache,e,r);return ve(n)?bi(i,n,void 0,s):i}}function X2(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const s=n.join();let i=r.get(s);return i||(i={resolver:du(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const XC=t=>ve(t)&&Object.getOwnPropertyNames(t).some(e=>Kr(t[e]));function QC(t,e){const{isScriptable:n,isIndexable:r}=o2(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Kr(l)||XC(l))||a&&tt(l))return!0}return!1}var JC="4.4.2";const ex=["top","bottom","left","right","chartArea"];function Q2(t,e){return t==="top"||t==="bottom"||ex.indexOf(t)===-1&&e==="x"}function J2(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function em(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ot(n&&n.onComplete,[t],e)}function tx(t){const e=t.chart,n=e.options.animation;ot(n&&n.onProgress,[t],e)}function tm(t){return fu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const al={},nm=t=>{const e=tm(t);return Object.values(al).filter(n=>n.canvas===e).pop()};function nx(t,e,n){const r=Object.keys(t);for(const s of r){const i=+s;if(i>=e){const a=t[s];delete t[s],(n>0||i>e)&&(t[i+n]=a)}}}function rx(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function ll(t,e,n){return t.options.clip?t[n]:e[n]}function sx(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:ll(n,e,"left"),right:ll(n,e,"right"),top:ll(r,e,"top"),bottom:ll(r,e,"bottom")}:e}let Bo=(ls=class{static register(...e){Xn.add(...e),rm()}static unregister(...e){Xn.remove(...e),rm()}constructor(e,n){const r=this.config=new KC(n),s=tm(e),i=nm(s);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||kC(s)),this.platform.updateConfig(r);const l=this.platform.acquireContext(s,a.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=db(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=a,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 RC,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Db(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],al[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}gr.listen(this,"complete",em),gr.listen(this,"progress",tx),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:s,_aspectRatio:i}=this;return Ze(e)?n&&i?i:s?r/s:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Xn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():f2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return s2(this.canvas,this.ctx),this}stop(){return gr.stop(this),this}resize(e,n){gr.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,s=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(s,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,f2(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),ot(r.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Ae(n,(r,s)=>{r.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,s=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],c=xu(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Ae(i,a=>{const l=a.options,c=l.id,d=xu(c,l),u=Be(l.type,a.dtype);(l.position===void 0||Q2(l.position,d)!==Q2(a.dposition))&&(l.position=a.dposition),s[c]=!0;let h=null;if(c in r&&r[c].type===u)h=r[c];else{const f=Xn.getScale(u);h=new f({id:c,type:u,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Ae(s,(a,l)=>{a||delete r[l]}),Ae(r,a=>{tl.configure(this,a,a.options),tl.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((s,i)=>s.index-i.index),r>n){for(let s=n;s<r;++s)this._destroyDatasetMeta(s);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(J2("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,s)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,s;for(this._removeUnreferencedMetasets(),r=0,s=n.length;r<s;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Cu(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const c=Xn.getController(l),{datasetElementType:d,dataElementType:u}=mt.datasets[l];Object.assign(c,{dataElementType:Xn.getElement(u),datasetElementType:d&&Xn.getElement(d)}),a.controller=new c(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Ae(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,u=this.data.datasets.length;d<u;d++){const{controller:h}=this.getDatasetMeta(d),f=!s&&i.indexOf(h)===-1;h.buildOrUpdateElements(f),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),s||Ae(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(J2("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Ae(this.scales,e=>{tl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!z0(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:s,count:i}of n){const a=r==="_removeElements"?-i:i;nx(e,s,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),s=r(0);for(let i=1;i<n;i++)if(!z0(s,r(i)))return;return Array.from(s).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;tl.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Ae(this.boxes,s=>{r&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,i)=>{s._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Kr(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),s={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",s)!==!1&&(r.controller._update(n),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(gr.has(this)?this.attached&&!gr.running(this)&&gr.start(this):(this.draw(),em({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:s}=this._resizeBeforeDraw;this._resize(r,s),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let s,i;for(s=0,i=n.length;s<i;++s){const a=n[s];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r=e._clip,s=!r.disabled,i=sx(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&au(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),e.controller.draw(),s&&lu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return pr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=eC.modes[n];return typeof i=="function"?i(this,e,r,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let s=r.filter(i=>i&&i._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(s)),s}getContext(){return this.$context||(this.$context=Jr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const s=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,s);Ya(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),gr.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),s2(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete al[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,n=this.platform,r=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},s=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};Ae(this.options.events,i=>r(i,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(c,d)=>{n.addEventListener(this,c,d),e[c]=d},s=(c,d)=>{e[c]&&(n.removeEventListener(this,c,d),delete e[c])},i=(c,d)=>{this.canvas&&this.resize(c,d)};let a;const l=()=>{s("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,s("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Ae(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Ae(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const s=r?"set":"remove";let i,a,l,c;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+s+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[s+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!Ra(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const s=this.options.hover,i=(c,d)=>c.filter(u=>!d.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,s.mode,!1),l.length&&s.mode&&this.updateHoverStyle(l,s.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},s=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,s)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,s),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:s=[],options:i}=this,a=n,l=this._getActiveElements(e,s,r,a),c=gb(e),d=rx(e,this._lastEvent,r,c);r&&(this._lastEvent=null,ot(i.onHover,[e,l,this],this),c&&ot(i.onClick,[e,l,this],this));const u=!Ra(l,s);return(u||n)&&(this._active=l,this._updateHoverStyles(l,s,n)),this._lastEvent=d,u}_getActiveElements(e,n,r,s){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,s)}},W(ls,"defaults",mt),W(ls,"instances",al),W(ls,"overrides",Es),W(ls,"registry",Xn),W(ls,"version",JC),W(ls,"getChart",nm),ls);function rm(){return Ae(Bo.instances,t=>t._plugins.invalidate())}function sm(t,e,n=e){t.lineCap=Be(n.borderCapStyle,e.borderCapStyle),t.setLineDash(Be(n.borderDash,e.borderDash)),t.lineDashOffset=Be(n.borderDashOffset,e.borderDashOffset),t.lineJoin=Be(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Be(n.borderWidth,e.borderWidth),t.strokeStyle=Be(n.borderColor,e.borderColor)}function ix(t,e,n){t.lineTo(n.x,n.y)}function ox(t){return t.stepped?Hb:t.tension||t.cubicInterpolationMode==="monotone"?Wb:ix}function im(t,e,n={}){const r=t.length,{start:s=0,end:i=r-1}=n,{start:a,end:l}=e,c=Math.max(s,a),d=Math.min(i,l),u=s<a&&i<a||s>l&&i>l;return{count:r,start:c,loop:e.loop,ilen:d<c&&!u?r+d-c:d-c}}function ax(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=im(s,n,r),u=ox(i);let{move:h=!0,reverse:f}=r||{},m,g,p;for(m=0;m<=d;++m)g=s[(l+(f?d-m:m))%a],!g.skip&&(h?(t.moveTo(g.x,g.y),h=!1):u(t,p,g,f,i.stepped),p=g);return c&&(g=s[(l+(f?d:0))%a],u(t,p,g,f,i.stepped)),!!c}function lx(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=im(s,n,r),{move:c=!0,reverse:d}=r||{};let u=0,h=0,f,m,g,p,_,y;const C=S=>(a+(d?l-S:S))%i,k=()=>{p!==_&&(t.lineTo(u,_),t.lineTo(u,p),t.lineTo(u,y))};for(c&&(m=s[C(0)],t.moveTo(m.x,m.y)),f=0;f<=l;++f){if(m=s[C(f)],m.skip)continue;const S=m.x,M=m.y,D=S|0;D===g?(M<p?p=M:M>_&&(_=M),u=(h*u+S)/++h):(k(),t.lineTo(S,M),g=D,h=0,p=_=M),y=M}k()}function Mu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?lx:ax}function cx(t){return t.stepped?xk:t.tension||t.cubicInterpolationMode==="monotone"?Mk:Ns}function dx(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),sm(t,e.options),t.stroke(s)}function ux(t,e,n,r){const{segments:s,options:i}=e,a=Mu(e);for(const l of s)sm(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const hx=typeof Path2D=="function";function fx(t,e,n,r){hx&&!e.options.segment?dx(t,e,n,r):ux(t,e,n,r)}class _r extends Bs{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,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const s=r.spanGaps?this._loop:this._fullLoop;pk(this._points,r,e,s,n),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=Lk(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,r=e.length;return r&&n[e[r-1].end]}interpolate(e,n){const r=this.options,s=e[n],i=this.points,a=y2(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=cx(r);let d,u;for(d=0,u=a.length;d<u;++d){const{start:h,end:f}=a[d],m=i[h],g=i[f];if(m===g){l.push(m);continue}const p=Math.abs((s-m[n])/(g[n]-m[n])),_=c(m,g,p,r.stepped);_[n]=e[n],l.push(_)}return l.length===1?l[0]:l}pathSegment(e,n,r){return Mu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Mu(this);let a=this._loop;n=n||0,r=r||this.points.length-n;for(const l of s)a&=i(e,this,l,{start:n,end:n+r-1});return!!a}draw(e,n,r,s){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),fx(e,this,r,s),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}W(_r,"id","line"),W(_r,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),W(_r,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),W(_r,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function om(t,e,n,r){const s=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)<s.radius+s.hitRadius}class Ao extends Bs{constructor(n){super();W(this,"parsed");W(this,"skip");W(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,s){const i=this.options,{x:a,y:l}=this.getProps(["x","y"],s);return Math.pow(n-a,2)+Math.pow(r-l,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,r){return om(this,n,"x",r)}inYRange(n,r){return om(this,n,"y",r)}getCenterPoint(n){const{x:r,y:s}=this.getProps(["x","y"],n);return{x:r,y:s}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const s=r&&n.borderWidth||0;return(r+s)*2}draw(n,r){const s=this.options;this.skip||s.radius<.1||!pr(this,r,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,ou(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}W(Ao,"id","point"),W(Ao,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),W(Ao,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function mx(t,e,n){const r=t.segments,s=t.points,i=e.points,a=[];for(const l of r){let{start:c,end:d}=l;d=Su(c,d,s);const u=vu(n,s[c],s[d],l.loop);if(!e.segments){a.push({source:l,target:u,start:s[c],end:s[d]});continue}const h=y2(e,u);for(const f of h){const m=vu(n,i[f.start],i[f.end],f.loop),g=_2(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:am(u,m,"start",Math.max)},end:{[n]:am(u,m,"end",Math.min)}})}}return a}function vu(t,e,n,r){if(r)return;let s=e[t],i=n[t];return t==="angle"&&(s=nn(s),i=nn(i)),{property:t,start:s,end:i}}function px(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Su(a,l,s);const c=s[a],d=s[l];r!==null?(i.push({x:c.x,y:r}),i.push({x:d.x,y:r})):n!==null&&(i.push({x:n,y:c.y}),i.push({x:n,y:d.y}))}),i}function Su(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function am(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function lm(t,e){let n=[],r=!1;return tt(t)?(r=!0,n=t):n=px(t,e),n.length?new _r({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function cm(t){return t&&t.fill!==!1}function gx(t,e,n){let s=t[e].fill;const i=[e];let a;if(!n)return s;for(;s!==!1&&i.indexOf(s)===-1;){if(!it(s))return s;if(a=t[s],!a)return!1;if(a.visible)return s;i.push(s),s=a.fill}return!1}function _x(t,e,n){const r=kx(t);if(ve(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return it(s)&&Math.floor(s)===s?yx(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function yx(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function wx(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:ve(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function bx(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:ve(t)?r=t.value:r=e.getBaseValue(),r}function kx(t){const e=t.options,n=e.fill;let r=Be(n&&n.target,n);return r===void 0&&(r=!!e.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function Cx(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=xx(e,n);l.push(lm({x:null,y:e.bottom},r));for(let c=0;c<i.length;c++){const d=i[c];for(let u=d.start;u<=d.end;u++)Mx(s,a[u],l)}return new _r({points:s,options:{}})}function xx(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let s=0;s<r.length;s++){const i=r[s];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function Mx(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=vx(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function vx(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const s=r[n],i=t.segments,a=t.points;let l=!1,c=!1;for(let d=0;d<i.length;d++){const u=i[d],h=a[u.start][n],f=a[u.end][n];if(U0(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class dm{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,r){const{x:s,y:i,radius:a}=this;return n=n||{start:0,end:en},e.arc(s,i,a,n.end,n.start,!0),!r.bounds}interpolate(e){const{x:n,y:r,radius:s}=this,i=e.angle;return{x:n+Math.cos(i)*s,y:r+Math.sin(i)*s,angle:i}}}function Sx(t){const{chart:e,fill:n,line:r}=t;if(it(n))return Tx(e,n);if(n==="stack")return Cx(t);if(n==="shape")return!0;const s=Dx(t);return s instanceof dm?s:lm(s,r)}function Tx(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function Dx(t){return(t.scale||{}).getPointPositionForValue?Ex(t):Ox(t)}function Ox(t){const{scale:e={},fill:n}=t,r=wx(n,e);if(it(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function Ex(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=bx(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new dm({x:c.x,y:c.y,radius:e.getDistanceFromCenterForValue(a)})}for(let c=0;c<s;++c)l.push(e.getPointPositionForValue(c,a));return l}function Tu(t,e,n){const r=Sx(e),{line:s,scale:i,axis:a}=e,l=s.options,c=l.fill,d=l.backgroundColor,{above:u=d,below:h=d}=c||{};r&&s.points.length&&(au(t,n),Px(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),lu(t))}function Px(t,e){const{line:n,target:r,above:s,below:i,area:a,scale:l}=e,c=n._loop?"angle":e.axis;t.save(),c==="x"&&i!==s&&(um(t,r,a.top),hm(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),um(t,r,a.bottom)),hm(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function um(t,e,n){const{segments:r,points:s}=e;let i=!0,a=!1;t.beginPath();for(const l of r){const{start:c,end:d}=l,u=s[c],h=s[Su(c,d,s)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),a=!!e.pathSegment(t,l,{move:a}),a?t.closePath():t.lineTo(h.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function hm(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=mx(n,r,s);for(const{source:c,target:d,start:u,end:h}of l){const{style:{backgroundColor:f=i}={}}=c,m=r!==!0;t.save(),t.fillStyle=f,Lx(t,a,m&&vu(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():fm(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||fm(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function Lx(t,e,n){const{top:r,bottom:s}=e.chart.chartArea,{property:i,start:a,end:l}=n||{};i==="x"&&(t.beginPath(),t.rect(a,r,l-a,s-r),t.clip())}function fm(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var mm={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,s=[];let i,a,l,c;for(a=0;a<r;++a)i=t.getDatasetMeta(a),l=i.dataset,c=null,l&&l.options&&l instanceof _r&&(c={visible:t.isDatasetVisible(a),index:a,fill:_x(l,a,r),chart:t,axis:i.controller.options.indexAxis,scale:i.vScale,line:l}),i.$filler=c,s.push(c);for(a=0;a<r;++a)c=s[a],!(!c||c.fill===!1)&&(c.fill=gx(s,a,n.propagate))},beforeDraw(t,e,n){const r=n.drawTime==="beforeDraw",s=t.getSortedVisibleDatasetMetas(),i=t.chartArea;for(let a=s.length-1;a>=0;--a){const l=s[a].$filler;l&&(l.line.updateControlPoints(i,l.axis),r&&l.fill&&Tu(t.ctx,l,i))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=t.getSortedVisibleDatasetMetas();for(let s=r.length-1;s>=0;--s){const i=r[s].$filler;cm(i)&&Tu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!cm(r)||n.drawTime!=="beforeDatasetDraw"||Tu(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Fo={average(t){if(!t.length)return!1;let e,n,r=new Set,s=0,i=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const c=l.tooltipPosition();r.add(c.x),s+=c.y,++i}}return{x:[...r].reduce((l,c)=>l+c)/r.size,y:s/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,s=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const c=t[i].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),u=Jd(e,d);u<s&&(s=u,l=c)}}if(l){const c=l.tooltipPosition();n=c.x,r=c.y}return{x:n,y:r}}};function Qn(t,e){return e&&(tt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function yr(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
33
33
  `)>-1?t.split(`
34
- `):t}function Dx(t,e){const{element:n,datasetIndex:r,index:s}=e,i=t.getDatasetMeta(r).controller,{label:a,value:l}=i.getLabelAndValue(s);return{chart:t,label:a,parsed:i.getParsed(s),raw:t.data.datasets[r].data[s],formattedValue:l,dataset:i.getDataset(),dataIndex:s,datasetIndex:r,element:n}}function pm(t,e){const n=t.chart.ctx,{body:r,footer:s,title:i}=t,{boxWidth:a,boxHeight:l}=e,c=rn(e.bodyFont),d=rn(e.titleFont),u=rn(e.footerFont),h=i.length,f=s.length,m=r.length,g=pn(e.padding);let p=g.height,_=0,y=r.reduce((S,M)=>S+M.before.length+M.lines.length+M.after.length,0);if(y+=t.beforeBody.length+t.afterBody.length,h&&(p+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),y){const S=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;p+=m*S+(y-m)*c.lineHeight+(y-1)*e.bodySpacing}f&&(p+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let C=0;const k=function(S){_=Math.max(_,n.measureText(S).width+C)};return n.save(),n.font=d.string,Ae(t.title,k),n.font=c.string,Ae(t.beforeBody.concat(t.afterBody),k),C=e.displayColors?a+2+e.boxPadding:0,Ae(r,S=>{Ae(S.before,k),Ae(S.lines,k),Ae(S.after,k)}),C=0,n.font=u.string,Ae(t.footer,k),n.restore(),_+=g.width,{width:_,height:p}}function Ex(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function Px(t,e,n,r){const{x:s,width:i}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&s+i+a>e.width||t==="right"&&s-i-a<0)return!0}function Lx(t,e,n,r){const{x:s,width:i}=n,{width:a,chartArea:{left:l,right:c}}=t;let d="center";return r==="center"?d=s<=(l+c)/2?"left":"right":s<=i/2?d="left":s>=a-i/2&&(d="right"),Px(d,t,e,n)&&(d="center"),d}function gm(t,e,n){const r=n.yAlign||e.yAlign||Ex(t,n);return{xAlign:n.xAlign||e.xAlign||Lx(t,e,n,r),yAlign:r}}function $x(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function Nx(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function _m(t,e,n,r){const{caretSize:s,caretPadding:i,cornerRadius:a}=t,{xAlign:l,yAlign:c}=n,d=s+i,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:m}=So(a);let g=$x(e,l);const p=Nx(e,c,d);return c==="center"?l==="left"?g+=d:l==="right"&&(g-=d):l==="left"?g-=Math.max(u,f)+s:l==="right"&&(g+=Math.max(h,m)+s),{x:mn(g,0,r.width-e.width),y:mn(p,0,r.height-e.height)}}function cl(t,e,n){const r=pn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function ym(t){return Qn([],yr(t))}function Vx(t,e,n){return Jr(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function wm(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const bm={beforeTitle:mr,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:mr,beforeBody:mr,beforeLabel:mr,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 n=t.formattedValue;return Ze(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:mr,afterBody:mr,beforeFooter:mr,footer:mr,afterFooter:mr};function zt(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?bm[e].call(n,r):s}class Ou extends Bs{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),s=r.enabled&&n.options.animation&&r.animations,i=new C2(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=Vx(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=zt(r,"beforeTitle",this,e),i=zt(r,"title",this,e),a=zt(r,"afterTitle",this,e);let l=[];return l=Qn(l,yr(s)),l=Qn(l,yr(i)),l=Qn(l,yr(a)),l}getBeforeBody(e,n){return ym(zt(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Ae(e,i=>{const a={before:[],lines:[],after:[]},l=wm(r,i);Qn(a.before,yr(zt(l,"beforeLabel",this,i))),Qn(a.lines,zt(l,"label",this,i)),Qn(a.after,yr(zt(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return ym(zt(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=zt(r,"beforeFooter",this,e),i=zt(r,"footer",this,e),a=zt(r,"afterFooter",this,e);let l=[];return l=Qn(l,yr(s)),l=Qn(l,yr(i)),l=Qn(l,yr(a)),l}_createItems(e){const n=this._active,r=this.chart.data,s=[],i=[],a=[];let l=[],c,d;for(c=0,d=n.length;c<d;++c)l.push(Dx(this.chart,n[c]));return e.filter&&(l=l.filter((u,h,f)=>e.filter(u,h,f,r))),e.itemSort&&(l=l.sort((u,h)=>e.itemSort(u,h,r))),Ae(l,u=>{const h=wm(e.callbacks,u);s.push(zt(h,"labelColor",this,u)),i.push(zt(h,"labelPointStyle",this,u)),a.push(zt(h,"labelTextColor",this,u))}),this.labelColors=s,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),s=this._active;let i,a=[];if(!s.length)this.opacity!==0&&(i={opacity:0});else{const l=Fo[r.position].call(this,s,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const c=this._size=pm(this,r),d=Object.assign({},l,c),u=gm(this.chart,r,d),h=_m(r,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,s){const i=this.getCaretPosition(e,r,s);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:s,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=So(l),{x:f,y:m}=e,{width:g,height:p}=n;let _,y,C,k,S,M;return i==="center"?(S=m+p/2,s==="left"?(_=f,y=_-a,k=S+a,M=S-a):(_=f+g,y=_+a,k=S-a,M=S+a),C=_):(s==="left"?y=f+Math.max(c,u)+a:s==="right"?y=f+g-Math.max(d,h)-a:y=this.caretX,i==="top"?(k=m,S=k-a,_=y-a,C=y+a):(k=m+p,S=k+a,_=y+a,C=y-a),M=k),{x1:_,x2:y,x3:C,y1:k,y2:S,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=pu(r.rtl,this.x,this.width);for(e.x=cl(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=rn(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,c=0;c<i;++c)n.fillText(s[c],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===i&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,s,i){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:c,boxWidth:d}=i,u=rn(i.bodyFont),h=cl(this,"left",i),f=s.x(h),m=c<u.lineHeight?(u.lineHeight-c)/2:0,g=n.y+m;if(i.usePointStyle){const p={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},_=s.leftForLtr(f,d)+d/2,y=g+c/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,ou(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,ou(e,p,_,y)}else{e.lineWidth=ve(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const p=s.leftForLtr(f,d),_=s.leftForLtr(s.xPlus(f,1),d-2),y=So(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,cu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),cu(e,{x:_,y:g+1,w:d-2,h:c-2,radius:y}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(p,g,d,c),e.strokeRect(p,g,d,c),e.fillStyle=a.backgroundColor,e.fillRect(_,g+1,d-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:s}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=r,h=rn(r.bodyFont);let f=h.lineHeight,m=0;const g=pu(r.rtl,this.x,this.width),p=function(D){n.fillText(D,g.x(e.x+m),e.y+f/2),e.y+=f+i},_=g.textAlign(a);let y,C,k,S,M,O,v;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=cl(this,_,r),n.fillStyle=r.bodyColor,Ae(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,S=0,O=s.length;S<O;++S){for(y=s[S],C=this.labelTextColors[S],n.fillStyle=C,Ae(y.before,p),k=y.lines,l&&k.length&&(this._drawColorBox(n,e,S,g,r),f=Math.max(h.lineHeight,c)),M=0,v=k.length;M<v;++M)p(k[M]),f=h.lineHeight;Ae(y.after,p)}m=0,f=h.lineHeight,Ae(this.afterBody,p),e.y-=i}drawFooter(e,n,r){const s=this.footer,i=s.length;let a,l;if(i){const c=pu(r.rtl,this.x,this.width);for(e.x=cl(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",a=rn(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<i;++l)n.fillText(s[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,s){const{xAlign:i,yAlign:a}=this,{x:l,y:c}=e,{width:d,height:u}=r,{topLeft:h,topRight:f,bottomLeft:m,bottomRight:g}=So(s.cornerRadius);n.fillStyle=s.backgroundColor,n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.beginPath(),n.moveTo(l+h,c),a==="top"&&this.drawCaret(e,n,r,s),n.lineTo(l+d-f,c),n.quadraticCurveTo(l+d,c,l+d,c+f),a==="center"&&i==="right"&&this.drawCaret(e,n,r,s),n.lineTo(l+d,c+u-g),n.quadraticCurveTo(l+d,c+u,l+d-g,c+u),a==="bottom"&&this.drawCaret(e,n,r,s),n.lineTo(l+m,c+u),n.quadraticCurveTo(l,c+u,l,c+u-m),a==="center"&&i==="left"&&this.drawCaret(e,n,r,s),n.lineTo(l,c+h),n.quadraticCurveTo(l,c,l+h,c),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,s=r&&r.x,i=r&&r.y;if(s||i){const a=Fo[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=pm(this,e),c=Object.assign({},a,this._size),d=gm(n,e,c),u=_m(e,c,d,n);(s._to!==u.x||i._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=pn(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(i,e,s,n),xk(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),Mk(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,s=e.map(({datasetIndex:l,index:c})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),i=!Ra(r,s),a=this._positionChanged(s,n);(i||a)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,i=this._active||[],a=this._getActiveElements(e,i,n,r),l=this._positionChanged(a,e),c=n||!Ra(a,i)||l;return c&&(this._active=a,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),c}_getActiveElements(e,n,r,s){const i=this.options;if(e.type==="mouseout")return[];if(!s)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,i.mode,i,r);return i.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:s,options:i}=this,a=Fo[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Ou,"positioners",Fo);var Bx={id:"tooltip",_element:Ou,positioners:Fo,afterInit(t,e,n){n&&(t.tooltip=new Ou({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,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:bm},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"]};const Ax=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function Fx(t,e,n,r){const s=t.indexOf(e);if(s===-1)return Ax(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const Rx=(t,e)=>t===null?null:mn(Math.round(t),0,e);function km(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class dl extends As{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:s,label:i}of n)r[s]===i&&r.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ze(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:Fx(r,e,Be(n,e),this._addedLabels),Rx(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(s=this.getLabels().length-1)),this.min=r,this.max=s}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,s=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)s.push({value:a});return s}getLabelForValue(e){return km.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}W(dl,"id","category"),W(dl,"defaults",{ticks:{callback:km}});function Ix(t,e){const n=[],{bounds:s,step:i,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:f}=t,m=i||1,g=u-1,{min:p,max:_}=e,y=!Ze(a),C=!Ze(l),k=!Ze(d),S=(_-p)/(h+1);let M=H0((_-p)/g/m)*m,O,v,D,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=H0(E*M/g/m)*m),Ze(c)||(O=Math.pow(10,c),M=Math.ceil(M*O)/O),s==="ticks"?(v=Math.floor(p/M)*M,D=Math.ceil(_/M)*M):(v=p,D=_),y&&C&&i&&gb((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,v=a,D=l):k?(v=y?a:v,D=C?l:D,E=d-1,M=(D-v)/E):(E=(D-v)/M,Co(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(j0(M),j0(v));O=Math.pow(10,Ze(c)?I:c),v=Math.round(v*O)/O,D=Math.round(D*O)/O;let j=0;for(y&&(f&&v!==a?(n.push({value:a}),v<a&&j++,Co(Math.round((v+j*M)*O)/O,a,Cm(a,S,t))&&j++):v<a&&j++);j<E;++j){const P=Math.round((v+j*M)*O)/O;if(C&&P>l)break;n.push({value:P})}return C&&f&&D!==l?n.length&&Co(n[n.length-1].value,l,Cm(l,S,t))?n[n.length-1].value=l:n.push({value:l}):(!C||D===l)&&n.push({value:D}),n}function Cm(t,e,{horizontal:n,minRotation:r}){const s=Qr(r),i=(n?Math.sin(s):Math.cos(s))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class ul extends As{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,n){return Ze(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:s,max:i}=this;const a=c=>s=n?s:c,l=c=>i=r?i:c;if(e){const c=wi(s),d=wi(i);c<0&&d<0?l(0):c>0&&d>0&&a(0)}if(s===i){let c=i===0?1:Math.abs(i*.05);l(i+c),e||a(s-c)}this.min=s,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,s;return r?(s=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const s={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,a=Ix(s,i);return e.bounds==="ticks"&&W0(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const s=(r-n)/Math.max(e.length-1,1)/2;n-=s,r+=s}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return ru(e,this.chart.options.locale,this.options.ticks.format)}}class hl extends ul{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=it(e)?e:0,this.max=it(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Qr(this.options.ticks.minRotation),s=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}W(hl,"id","linear"),W(hl,"defaults",{ticks:{callback:ja.formatters.numeric}});const Ro=t=>Math.floor(Xr(t)),Fs=(t,e)=>Math.pow(10,Ro(t)+e);function xm(t){return t/Math.pow(10,Ro(t))===1}function Mm(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function zx(t,e){const n=e-t;let r=Ro(n);for(;Mm(t,e,r)>10;)r++;for(;Mm(t,e,r)<10;)r--;return Math.min(r,Ro(t))}function Yx(t,{min:e,max:n}){e=Jt(t.min,e);const r=[],s=Ro(e);let i=zx(e,n),a=i<0?Math.pow(10,Math.abs(i)):1;const l=Math.pow(10,i),c=s>i?Math.pow(10,s):0,d=Math.round((e-c)*a)/a,u=Math.floor((e-c)/l/10)*l*10;let h=Math.floor((d-u)/Math.pow(10,i)),f=Jt(t.min,Math.round((c+u+h*Math.pow(10,i))*a)/a);for(;f<n;)r.push({value:f,major:xm(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(i++,h=2,a=i>=0?1:a),f=Math.round((c+u+h*Math.pow(10,i))*a)/a;const m=Jt(t.max,f);return r.push({value:m,major:xm(m),significand:h}),r}class vm extends As{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const r=ul.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return it(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=it(e)?Math.max(0,e):null,this.max=it(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!it(this._userMin)&&(this.min=e===Fs(this.min,0)?Fs(this.min,-1):Fs(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let r=this.min,s=this.max;const i=l=>r=e?r:l,a=l=>s=n?s:l;r===s&&(r<=0?(i(1),a(10)):(i(Fs(r,-1)),a(Fs(s,1)))),r<=0&&i(Fs(s,-1)),s<=0&&a(Fs(r,1)),this.min=r,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=Yx(n,this);return e.bounds==="ticks"&&W0(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":ru(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Xr(e),this._valueRange=Xr(this.max)-Xr(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Xr(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}W(vm,"id","logarithmic"),W(vm,"defaults",{ticks:{callback:ja.formatters.logarithmic,major:{enabled:!0}}});function Du(t){const e=t.ticks;if(e.display&&t.display){const n=pn(e.backdropPadding);return Be(e.font&&e.font.size,mt.font.size)+n.height}return 0}function Hx(t,e,n){return n=tt(n)?n:[n],{w:Ab(t,e.string,n),h:n.length*e.lineHeight}}function Sm(t,e,n,r,s){return t===r||t===s?{start:e-n/2,end:e+n/2}:t<r||t>s?{start:e-n,end:e}:{start:e,end:e+n}}function Wx(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},n=Object.assign({},e),r=[],s=[],i=t._pointLabels.length,a=t.options.pointLabels,l=a.centerPointLabels?vt/i:0;for(let c=0;c<i;c++){const d=a.setContext(t.getPointLabelContext(c));s[c]=d.padding;const u=t.getPointPosition(c,t.drawingArea+s[c],l),h=rn(d.font),f=Hx(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=nn(t.getIndexAngle(c)+l),g=Math.round(Qd(m)),p=Sm(g,u.x,f.w,0,180),_=Sm(g,u.y,f.h,90,270);jx(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=qx(t,r,s)}function jx(t,e,n,r,s){const i=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let l=0,c=0;r.start<e.l?(l=(e.l-r.start)/i,t.l=Math.min(t.l,e.l-l)):r.end>e.r&&(l=(r.end-e.r)/i,t.r=Math.max(t.r,e.r+l)),s.start<e.t?(c=(e.t-s.start)/a,t.t=Math.min(t.t,e.t-c)):s.end>e.b&&(c=(s.end-e.b)/a,t.b=Math.max(t.b,e.b+c))}function Zx(t,e,n){const r=t.drawingArea,{extra:s,additionalAngle:i,padding:a,size:l}=n,c=t.getPointPosition(e,r+s+a,i),d=Math.round(Qd(nn(c.angle+tn))),u=Xx(c.y,l.h,d),h=Gx(d),f=Kx(c.x,l.w,h);return{visible:!0,x:c.x,y:u,textAlign:h,left:f,top:u,right:f+l.w,bottom:u+l.h}}function Ux(t,e){if(!e)return!0;const{left:n,top:r,right:s,bottom:i}=t;return!(pr({x:n,y:r},e)||pr({x:n,y:i},e)||pr({x:s,y:r},e)||pr({x:s,y:i},e))}function qx(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Du(i)/2,additionalAngle:a?vt/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=Zx(t,u,c);r.push(h),l==="auto"&&(h.visible=Ux(h,d),h.visible&&(d=h))}return r}function Gx(t){return t===0||t===180?"center":t<180?"left":"right"}function Kx(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function Xx(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function Qx(t,e,n){const{left:r,top:s,right:i,bottom:a}=n,{backdropColor:l}=e;if(!Ze(l)){const c=So(e.borderRadius),d=pn(e.backdropPadding);t.fillStyle=l;const u=r-d.left,h=s-d.top,f=i-r+d.width,m=a-s+d.height;Object.values(c).some(g=>g!==0)?(t.beginPath(),cu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function Jx(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let s=e-1;s>=0;s--){const i=t._pointLabelItems[s];if(!i.visible)continue;const a=r.setContext(t.getPointLabelContext(s));Qx(n,a,i);const l=rn(a.font),{x:c,y:d,textAlign:u}=i;Ua(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function Tm(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,en);else{let i=t.getPointPosition(0,e);s.moveTo(i.x,i.y);for(let a=1;a<r;a++)i=t.getPointPosition(a,e),s.lineTo(i.x,i.y)}}function eM(t,e,n,r,s){const i=t.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!r||!l||!c||n<0||(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash(s.dash),i.lineDashOffset=s.dashOffset,i.beginPath(),Tm(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function tM(t,e,n){return Jr(t,{label:n,index:e,type:"pointLabel"})}class fl extends ul{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=pn(Du(this.options)/2),n=this.width=this.maxWidth-e.width,r=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+n/2+e.left),this.yCenter=Math.floor(this.top+r/2+e.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!1);this.min=it(e)&&!isNaN(e)?e:0,this.max=it(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Du(this.options))}generateTickLabels(e){ul.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const s=ot(this.options.pointLabels.callback,[n,r],this);return s||s===0?s:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const e=this.options;e.display&&e.pointLabels.display?Wx(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,r,s){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((r-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,r,s))}getIndexAngle(e){const n=en/(this._pointLabels.length||1),r=this.options.startAngle||0;return nn(e*n+Qr(r))}getDistanceFromCenterForValue(e){if(Ze(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(Ze(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e<n.length){const r=n[e];return tM(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const s=this.getIndexAngle(e)-tn+r;return{x:Math.cos(s)*n+this.xCenter,y:Math.sin(s)*n+this.yCenter,angle:s}}getPointPositionForValue(e,n){return this.getPointPosition(e,this.getDistanceFromCenterForValue(n))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:n,top:r,right:s,bottom:i}=this._pointLabelItems[e];return{left:n,top:r,right:s,bottom:i}}drawBackground(){const{backgroundColor:e,grid:{circular:n}}=this.options;if(e){const r=this.ctx;r.save(),r.beginPath(),Tm(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}drawGrid(){const e=this.ctx,n=this.options,{angleLines:r,grid:s,border:i}=n,a=this._pointLabels.length;let l,c,d;if(n.pointLabels.display&&Jx(this,a),s.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){c=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(h),m=s.setContext(f),g=i.setContext(f);eM(this,m,c,a,g)}}),r.display){for(e.save(),l=a-1;l>=0;l--){const u=r.setContext(this.getPointLabelContext(l)),{color:h,lineWidth:f}=u;!f||!h||(e.lineWidth=f,e.strokeStyle=h,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),d=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const s=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!n.reverse)return;const d=r.setContext(this.getContext(c)),u=rn(d.font);if(i=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){e.font=u.string,a=e.measureText(l.label).width,e.fillStyle=d.backdropColor;const h=pn(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}Ua(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(fl,"id","radialLinear"),W(fl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ja.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(fl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(fl,"descriptors",{angleLines:{_fallback:"grid"}});const ml={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}},Yt=Object.keys(ml);function Om(t,e){return t-e}function Dm(t,e){if(Ze(e))return null;const n=t._adapter,{parser:r,round:s,isoWeekday:i}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),it(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(s&&(a=s==="week"&&(xo(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,s)),+a)}function Em(t,e,n,r){const s=Yt.length;for(let i=Yt.indexOf(t);i<s-1;++i){const a=ml[Yt[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Yt[i]}return Yt[s-1]}function nM(t,e,n,r,s){for(let i=Yt.length-1;i>=Yt.indexOf(n);i--){const a=Yt[i];if(ml[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Yt[n?Yt.indexOf(n):0]}function rM(t){for(let e=Yt.indexOf(t)+1,n=Yt.length;e<n;++e)if(ml[Yt[e]].common)return Yt[e]}function Pm(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=eu(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function sM(t,e,n,r){const s=t._adapter,i=+s.startOf(e[0].value,r),a=e[e.length-1].value;let l,c;for(l=i;l<=a;l=+s.add(l,1,r))c=n[l],c>=0&&(e[c].major=!0);return e}function Lm(t,e,n){const r=[],s={},i=e.length;let a,l;for(a=0;a<i;++a)l=e[a],s[l]=a,r.push({value:l,major:!1});return i===0||!n?r:sM(t,r,s,n)}class pl extends As{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,n={}){const r=e.time||(e.time={}),s=this._adapter=new jk._date(e.adapters.date);s.init(n),ko(r.displayFormats,s.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:Dm(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:s,max:i,minDefined:a,maxDefined:l}=this.getUserBounds();function c(d){!a&&!isNaN(d.min)&&(s=Math.min(s,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!a||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),s=it(s)&&!isNaN(s)?s:+n.startOf(Date.now(),r),i=it(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(s,i-1),this.max=Math.max(s+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,s=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const i=this.min,a=this.max,l=kb(s,i,a);return this._unit=n.unit||(r.autoSkip?Em(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):nM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:rM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Lm(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,s,i;this.options.offset&&e.length&&(s=this.getDecimalForValue(e[0]),e.length===1?n=1-s:n=(this.getDecimalForValue(e[1])-s)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=mn(n,0,a),r=mn(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,s=this.options,i=s.time,a=i.unit||Em(i.minUnit,n,r,this._getLabelCapacity(n)),l=Be(s.ticks.stepSize,1),c=a==="week"?i.isoWeekday:!1,d=xo(c)||c===!0,u={};let h=n,f,m;if(d&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,d?"day":a),e.diff(r,n,a)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=h,m=0;f<r;f=+e.add(f,l,a),m++)Pm(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&Pm(u,f,g),Object.keys(u).sort(Om).map(p=>+p)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const s=this.options.time.displayFormats,i=this._unit,a=n||s[i];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,s){const i=this.options,a=i.ticks.callback;if(a)return ot(a,[e,n,r],this);const l=i.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],h=d&&l[d],f=r[n],m=d&&h&&f&&f.major;return this._adapter.format(e,s||(m?h:u))}generateTickLabels(e){let n,r,s;for(n=0,r=e.length;n<r;++n)s=e[n],s.label=this._tickFormatFunction(s.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,s=Qr(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(s),a=Math.sin(s),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*a,h:r*a+l*i}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,s=r[n.unit]||r.millisecond,i=this._tickFormatFunction(e,0,Lm(this,[e],this._majorUnit),s),a=this._getLabelSize(i),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,r=s.length;n<r;++n)e=e.concat(s[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const s=this.getLabels();for(n=0,r=s.length;n<r;++n)e.push(Dm(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return xb(e.sort(Om))}}W(pl,"id","time"),W(pl,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function gl(t,e,n){let r=0,s=t.length-1,i,a,l,c;n?(e>=t[r].pos&&e<=t[s].pos&&({lo:r,hi:s}=Ds(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:c}=t[s]):(e>=t[r].time&&e<=t[s].time&&({lo:r,hi:s}=Ds(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:c}=t[s]);const d=a-i;return d?l+(c-l)*(e-i)/d:l}class $m extends pl{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=gl(n,this.min),this._tableRange=gl(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,s=[],i=[];let a,l,c,d,u;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&s.push(d);if(s.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=s.length;a<l;++a)u=s[a+1],c=s[a-1],d=s[a],Math.round((u+c)/2)!==d&&i.push({time:d,pos:a/(l-1)});return i}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((s,i)=>s-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(gl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return gl(this._table,r*this._tableRange+this._minPos,!0)}}W($m,"id","timeseries"),W($m,"defaults",pl.defaults);const Nm={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},iM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Nm,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},oM=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function Ci(t){return o.isProxy(t)?o.toRaw(t):t}function aM(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function lM(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Vm(t,e){t.labels=e}function Bm(t,e,n){const r=[];t.datasets=e.map(s=>{const i=t.datasets.find(a=>a[n]===s[n]);return!i||!s.data||r.includes(i)?{...s}:(r.push(i),Object.assign(i,s),i)})}function cM(t,e){const n={labels:[],datasets:[]};return Vm(n,t.labels),Bm(n,t.datasets,e),n}const dM=o.defineComponent({props:iM,setup(t,e){let{expose:n,slots:r}=e;const s=o.ref(null),i=o.shallowRef(null);n({chart:i});const a=()=>{if(!s.value)return;const{type:d,data:u,options:h,plugins:f,datasetIdKey:m}=t,g=cM(u,m),p=aM(g,u);i.value=new Bo(s.value,{type:d,data:p,options:{...h},plugins:f})},l=()=>{const d=o.toRaw(i.value);d&&(t.destroyDelay>0?setTimeout(()=>{d.destroy(),i.value=null},t.destroyDelay):(d.destroy(),i.value=null))},c=d=>{d.update(t.updateMode)};return o.onMounted(a),o.onUnmounted(l),o.watch([()=>t.options,()=>t.data],(d,u)=>{let[h,f]=d,[m,g]=u;const p=o.toRaw(i.value);if(!p)return;let _=!1;if(h){const y=Ci(h),C=Ci(m);y&&y!==C&&(lM(p,y),_=!0)}if(f){const y=Ci(f.labels),C=Ci(g.labels),k=Ci(f.datasets),S=Ci(g.datasets);y!==C&&(Vm(p.config.data,y),_=!0),k&&k!==S&&(Bm(p.config.data,k,t.datasetIdKey),_=!0)}_&&o.nextTick(()=>{c(p)})},{deep:!0}),()=>o.h("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:s},[o.h("p",{},[r.default?r.default():""])])}});function uM(t,e){return Bo.register(e),o.defineComponent({props:Nm,setup(n,r){let{expose:s}=r;const i=o.shallowRef(null),a=l=>{i.value=l==null?void 0:l.chart};return s({chart:i}),()=>o.h(dM,oM({ref:a},{type:t,...n}))}})}const Am=uM("line",Ja),hM={class:"chart-container"},Eu={__name:"LineChart",props:{data:{type:Array,required:!0},dataType:{type:String,required:!0},ticksCallback:{type:Function,default:t=>t}},setup(t){Bo.register(dl,hl,Ao,_r,Bx,mm);const e=t,n=d=>{const u=new Set,h=[];let f=[];switch(e.dataType){case"balanceChartData":f=d.map(g=>(u.add(g.date),g.balance));break;case"performanceChartData":f=d.map(g=>(u.add(g.date),g.pnl/g.pnl_to_deposit*100));break}return h.push({data:f}),{labels:Array.from(u),datasets:h}},r=o.computed(()=>n(e.data)),s=d=>{const h=d.chart.ctx.createLinearGradient(0,0,0,450);return h.addColorStop(0,"rgba(0, 122, 255, 0.1)"),h.addColorStop(1,"rgba(0, 122, 255, 0)"),h},i=(d,u)=>{let h=document.querySelector(`#${d}-${e.dataType}`);return h||(h=document.createElement("div"),h.classList.add(d),h.setAttribute("id",`${d}-${e.dataType}`),u.canvas.parentNode.appendChild(h)),h},a=d=>{const{chart:u,tooltip:h}=d,f=i("chart-tooltip",u);if(h.opacity===0){f.style.opacity=String(0);return}if(h.body){const p=h.title||[],_=h.body.map(C=>C.lines),y=document.createElement("div");for(y.classList.add("chart-tooltip-middle"),y.innerHTML=`<div class="chart-tooltip-content">
34
+ `):t}function $x(t,e){const{element:n,datasetIndex:r,index:s}=e,i=t.getDatasetMeta(r).controller,{label:a,value:l}=i.getLabelAndValue(s);return{chart:t,label:a,parsed:i.getParsed(s),raw:t.data.datasets[r].data[s],formattedValue:l,dataset:i.getDataset(),dataIndex:s,datasetIndex:r,element:n}}function pm(t,e){const n=t.chart.ctx,{body:r,footer:s,title:i}=t,{boxWidth:a,boxHeight:l}=e,c=rn(e.bodyFont),d=rn(e.titleFont),u=rn(e.footerFont),h=i.length,f=s.length,m=r.length,g=pn(e.padding);let p=g.height,_=0,y=r.reduce((S,M)=>S+M.before.length+M.lines.length+M.after.length,0);if(y+=t.beforeBody.length+t.afterBody.length,h&&(p+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),y){const S=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;p+=m*S+(y-m)*c.lineHeight+(y-1)*e.bodySpacing}f&&(p+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let C=0;const k=function(S){_=Math.max(_,n.measureText(S).width+C)};return n.save(),n.font=d.string,Ae(t.title,k),n.font=c.string,Ae(t.beforeBody.concat(t.afterBody),k),C=e.displayColors?a+2+e.boxPadding:0,Ae(r,S=>{Ae(S.before,k),Ae(S.lines,k),Ae(S.after,k)}),C=0,n.font=u.string,Ae(t.footer,k),n.restore(),_+=g.width,{width:_,height:p}}function Nx(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function Vx(t,e,n,r){const{x:s,width:i}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&s+i+a>e.width||t==="right"&&s-i-a<0)return!0}function Bx(t,e,n,r){const{x:s,width:i}=n,{width:a,chartArea:{left:l,right:c}}=t;let d="center";return r==="center"?d=s<=(l+c)/2?"left":"right":s<=i/2?d="left":s>=a-i/2&&(d="right"),Vx(d,t,e,n)&&(d="center"),d}function gm(t,e,n){const r=n.yAlign||e.yAlign||Nx(t,n);return{xAlign:n.xAlign||e.xAlign||Bx(t,e,n,r),yAlign:r}}function Ax(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function Fx(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function _m(t,e,n,r){const{caretSize:s,caretPadding:i,cornerRadius:a}=t,{xAlign:l,yAlign:c}=n,d=s+i,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:m}=So(a);let g=Ax(e,l);const p=Fx(e,c,d);return c==="center"?l==="left"?g+=d:l==="right"&&(g-=d):l==="left"?g-=Math.max(u,f)+s:l==="right"&&(g+=Math.max(h,m)+s),{x:mn(g,0,r.width-e.width),y:mn(p,0,r.height-e.height)}}function cl(t,e,n){const r=pn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function ym(t){return Qn([],yr(t))}function Rx(t,e,n){return Jr(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function wm(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const bm={beforeTitle:mr,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:mr,beforeBody:mr,beforeLabel:mr,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 n=t.formattedValue;return Ze(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:mr,afterBody:mr,beforeFooter:mr,footer:mr,afterFooter:mr};function zt(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?bm[e].call(n,r):s}class Du extends Bs{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),s=r.enabled&&n.options.animation&&r.animations,i=new C2(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=Rx(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=zt(r,"beforeTitle",this,e),i=zt(r,"title",this,e),a=zt(r,"afterTitle",this,e);let l=[];return l=Qn(l,yr(s)),l=Qn(l,yr(i)),l=Qn(l,yr(a)),l}getBeforeBody(e,n){return ym(zt(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Ae(e,i=>{const a={before:[],lines:[],after:[]},l=wm(r,i);Qn(a.before,yr(zt(l,"beforeLabel",this,i))),Qn(a.lines,zt(l,"label",this,i)),Qn(a.after,yr(zt(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return ym(zt(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=zt(r,"beforeFooter",this,e),i=zt(r,"footer",this,e),a=zt(r,"afterFooter",this,e);let l=[];return l=Qn(l,yr(s)),l=Qn(l,yr(i)),l=Qn(l,yr(a)),l}_createItems(e){const n=this._active,r=this.chart.data,s=[],i=[],a=[];let l=[],c,d;for(c=0,d=n.length;c<d;++c)l.push($x(this.chart,n[c]));return e.filter&&(l=l.filter((u,h,f)=>e.filter(u,h,f,r))),e.itemSort&&(l=l.sort((u,h)=>e.itemSort(u,h,r))),Ae(l,u=>{const h=wm(e.callbacks,u);s.push(zt(h,"labelColor",this,u)),i.push(zt(h,"labelPointStyle",this,u)),a.push(zt(h,"labelTextColor",this,u))}),this.labelColors=s,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),s=this._active;let i,a=[];if(!s.length)this.opacity!==0&&(i={opacity:0});else{const l=Fo[r.position].call(this,s,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const c=this._size=pm(this,r),d=Object.assign({},l,c),u=gm(this.chart,r,d),h=_m(r,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,s){const i=this.getCaretPosition(e,r,s);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:s,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=So(l),{x:f,y:m}=e,{width:g,height:p}=n;let _,y,C,k,S,M;return i==="center"?(S=m+p/2,s==="left"?(_=f,y=_-a,k=S+a,M=S-a):(_=f+g,y=_+a,k=S-a,M=S+a),C=_):(s==="left"?y=f+Math.max(c,u)+a:s==="right"?y=f+g-Math.max(d,h)-a:y=this.caretX,i==="top"?(k=m,S=k-a,_=y-a,C=y+a):(k=m+p,S=k+a,_=y+a,C=y-a),M=k),{x1:_,x2:y,x3:C,y1:k,y2:S,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=pu(r.rtl,this.x,this.width);for(e.x=cl(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=rn(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,c=0;c<i;++c)n.fillText(s[c],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===i&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,s,i){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:c,boxWidth:d}=i,u=rn(i.bodyFont),h=cl(this,"left",i),f=s.x(h),m=c<u.lineHeight?(u.lineHeight-c)/2:0,g=n.y+m;if(i.usePointStyle){const p={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},_=s.leftForLtr(f,d)+d/2,y=g+c/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,ou(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,ou(e,p,_,y)}else{e.lineWidth=ve(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const p=s.leftForLtr(f,d),_=s.leftForLtr(s.xPlus(f,1),d-2),y=So(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,cu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),cu(e,{x:_,y:g+1,w:d-2,h:c-2,radius:y}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(p,g,d,c),e.strokeRect(p,g,d,c),e.fillStyle=a.backgroundColor,e.fillRect(_,g+1,d-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:s}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=r,h=rn(r.bodyFont);let f=h.lineHeight,m=0;const g=pu(r.rtl,this.x,this.width),p=function(O){n.fillText(O,g.x(e.x+m),e.y+f/2),e.y+=f+i},_=g.textAlign(a);let y,C,k,S,M,D,v;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=cl(this,_,r),n.fillStyle=r.bodyColor,Ae(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,S=0,D=s.length;S<D;++S){for(y=s[S],C=this.labelTextColors[S],n.fillStyle=C,Ae(y.before,p),k=y.lines,l&&k.length&&(this._drawColorBox(n,e,S,g,r),f=Math.max(h.lineHeight,c)),M=0,v=k.length;M<v;++M)p(k[M]),f=h.lineHeight;Ae(y.after,p)}m=0,f=h.lineHeight,Ae(this.afterBody,p),e.y-=i}drawFooter(e,n,r){const s=this.footer,i=s.length;let a,l;if(i){const c=pu(r.rtl,this.x,this.width);for(e.x=cl(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",a=rn(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<i;++l)n.fillText(s[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,s){const{xAlign:i,yAlign:a}=this,{x:l,y:c}=e,{width:d,height:u}=r,{topLeft:h,topRight:f,bottomLeft:m,bottomRight:g}=So(s.cornerRadius);n.fillStyle=s.backgroundColor,n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.beginPath(),n.moveTo(l+h,c),a==="top"&&this.drawCaret(e,n,r,s),n.lineTo(l+d-f,c),n.quadraticCurveTo(l+d,c,l+d,c+f),a==="center"&&i==="right"&&this.drawCaret(e,n,r,s),n.lineTo(l+d,c+u-g),n.quadraticCurveTo(l+d,c+u,l+d-g,c+u),a==="bottom"&&this.drawCaret(e,n,r,s),n.lineTo(l+m,c+u),n.quadraticCurveTo(l,c+u,l,c+u-m),a==="center"&&i==="left"&&this.drawCaret(e,n,r,s),n.lineTo(l,c+h),n.quadraticCurveTo(l,c,l+h,c),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,s=r&&r.x,i=r&&r.y;if(s||i){const a=Fo[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=pm(this,e),c=Object.assign({},a,this._size),d=gm(n,e,c),u=_m(e,c,d,n);(s._to!==u.x||i._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=pn(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(i,e,s,n),Tk(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),Dk(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,s=e.map(({datasetIndex:l,index:c})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),i=!Ra(r,s),a=this._positionChanged(s,n);(i||a)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,i=this._active||[],a=this._getActiveElements(e,i,n,r),l=this._positionChanged(a,e),c=n||!Ra(a,i)||l;return c&&(this._active=a,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),c}_getActiveElements(e,n,r,s){const i=this.options;if(e.type==="mouseout")return[];if(!s)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,i.mode,i,r);return i.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:s,options:i}=this,a=Fo[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Du,"positioners",Fo);var Ix={id:"tooltip",_element:Du,positioners:Fo,afterInit(t,e,n){n&&(t.tooltip=new Du({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,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:bm},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"]};const zx=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function Yx(t,e,n,r){const s=t.indexOf(e);if(s===-1)return zx(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const Hx=(t,e)=>t===null?null:mn(Math.round(t),0,e);function km(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class dl extends As{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:s,label:i}of n)r[s]===i&&r.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ze(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:Yx(r,e,Be(n,e),this._addedLabels),Hx(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(s=this.getLabels().length-1)),this.min=r,this.max=s}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,s=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)s.push({value:a});return s}getLabelForValue(e){return km.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}W(dl,"id","category"),W(dl,"defaults",{ticks:{callback:km}});function Wx(t,e){const n=[],{bounds:s,step:i,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:f}=t,m=i||1,g=u-1,{min:p,max:_}=e,y=!Ze(a),C=!Ze(l),k=!Ze(d),S=(_-p)/(h+1);let M=H0((_-p)/g/m)*m,D,v,O,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=H0(E*M/g/m)*m),Ze(c)||(D=Math.pow(10,c),M=Math.ceil(M*D)/D),s==="ticks"?(v=Math.floor(p/M)*M,O=Math.ceil(_/M)*M):(v=p,O=_),y&&C&&i&&bb((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,v=a,O=l):k?(v=y?a:v,O=C?l:O,E=d-1,M=(O-v)/E):(E=(O-v)/M,Co(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(j0(M),j0(v));D=Math.pow(10,Ze(c)?I:c),v=Math.round(v*D)/D,O=Math.round(O*D)/D;let j=0;for(y&&(f&&v!==a?(n.push({value:a}),v<a&&j++,Co(Math.round((v+j*M)*D)/D,a,Cm(a,S,t))&&j++):v<a&&j++);j<E;++j){const P=Math.round((v+j*M)*D)/D;if(C&&P>l)break;n.push({value:P})}return C&&f&&O!==l?n.length&&Co(n[n.length-1].value,l,Cm(l,S,t))?n[n.length-1].value=l:n.push({value:l}):(!C||O===l)&&n.push({value:O}),n}function Cm(t,e,{horizontal:n,minRotation:r}){const s=Qr(r),i=(n?Math.sin(s):Math.cos(s))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class ul extends As{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,n){return Ze(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:s,max:i}=this;const a=c=>s=n?s:c,l=c=>i=r?i:c;if(e){const c=wi(s),d=wi(i);c<0&&d<0?l(0):c>0&&d>0&&a(0)}if(s===i){let c=i===0?1:Math.abs(i*.05);l(i+c),e||a(s-c)}this.min=s,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,s;return r?(s=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const s={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,a=Wx(s,i);return e.bounds==="ticks"&&W0(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const s=(r-n)/Math.max(e.length-1,1)/2;n-=s,r+=s}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return ru(e,this.chart.options.locale,this.options.ticks.format)}}class hl extends ul{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=it(e)?e:0,this.max=it(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Qr(this.options.ticks.minRotation),s=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}W(hl,"id","linear"),W(hl,"defaults",{ticks:{callback:ja.formatters.numeric}});const Ro=t=>Math.floor(Xr(t)),Fs=(t,e)=>Math.pow(10,Ro(t)+e);function xm(t){return t/Math.pow(10,Ro(t))===1}function Mm(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function jx(t,e){const n=e-t;let r=Ro(n);for(;Mm(t,e,r)>10;)r++;for(;Mm(t,e,r)<10;)r--;return Math.min(r,Ro(t))}function Zx(t,{min:e,max:n}){e=Jt(t.min,e);const r=[],s=Ro(e);let i=jx(e,n),a=i<0?Math.pow(10,Math.abs(i)):1;const l=Math.pow(10,i),c=s>i?Math.pow(10,s):0,d=Math.round((e-c)*a)/a,u=Math.floor((e-c)/l/10)*l*10;let h=Math.floor((d-u)/Math.pow(10,i)),f=Jt(t.min,Math.round((c+u+h*Math.pow(10,i))*a)/a);for(;f<n;)r.push({value:f,major:xm(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(i++,h=2,a=i>=0?1:a),f=Math.round((c+u+h*Math.pow(10,i))*a)/a;const m=Jt(t.max,f);return r.push({value:m,major:xm(m),significand:h}),r}class vm extends As{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const r=ul.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return it(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=it(e)?Math.max(0,e):null,this.max=it(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!it(this._userMin)&&(this.min=e===Fs(this.min,0)?Fs(this.min,-1):Fs(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let r=this.min,s=this.max;const i=l=>r=e?r:l,a=l=>s=n?s:l;r===s&&(r<=0?(i(1),a(10)):(i(Fs(r,-1)),a(Fs(s,1)))),r<=0&&i(Fs(s,-1)),s<=0&&a(Fs(r,1)),this.min=r,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=Zx(n,this);return e.bounds==="ticks"&&W0(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":ru(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Xr(e),this._valueRange=Xr(this.max)-Xr(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Xr(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}W(vm,"id","logarithmic"),W(vm,"defaults",{ticks:{callback:ja.formatters.logarithmic,major:{enabled:!0}}});function Ou(t){const e=t.ticks;if(e.display&&t.display){const n=pn(e.backdropPadding);return Be(e.font&&e.font.size,mt.font.size)+n.height}return 0}function Ux(t,e,n){return n=tt(n)?n:[n],{w:zb(t,e.string,n),h:n.length*e.lineHeight}}function Sm(t,e,n,r,s){return t===r||t===s?{start:e-n/2,end:e+n/2}:t<r||t>s?{start:e-n,end:e}:{start:e,end:e+n}}function qx(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},n=Object.assign({},e),r=[],s=[],i=t._pointLabels.length,a=t.options.pointLabels,l=a.centerPointLabels?vt/i:0;for(let c=0;c<i;c++){const d=a.setContext(t.getPointLabelContext(c));s[c]=d.padding;const u=t.getPointPosition(c,t.drawingArea+s[c],l),h=rn(d.font),f=Ux(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=nn(t.getIndexAngle(c)+l),g=Math.round(Qd(m)),p=Sm(g,u.x,f.w,0,180),_=Sm(g,u.y,f.h,90,270);Gx(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=Qx(t,r,s)}function Gx(t,e,n,r,s){const i=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let l=0,c=0;r.start<e.l?(l=(e.l-r.start)/i,t.l=Math.min(t.l,e.l-l)):r.end>e.r&&(l=(r.end-e.r)/i,t.r=Math.max(t.r,e.r+l)),s.start<e.t?(c=(e.t-s.start)/a,t.t=Math.min(t.t,e.t-c)):s.end>e.b&&(c=(s.end-e.b)/a,t.b=Math.max(t.b,e.b+c))}function Kx(t,e,n){const r=t.drawingArea,{extra:s,additionalAngle:i,padding:a,size:l}=n,c=t.getPointPosition(e,r+s+a,i),d=Math.round(Qd(nn(c.angle+tn))),u=tM(c.y,l.h,d),h=Jx(d),f=eM(c.x,l.w,h);return{visible:!0,x:c.x,y:u,textAlign:h,left:f,top:u,right:f+l.w,bottom:u+l.h}}function Xx(t,e){if(!e)return!0;const{left:n,top:r,right:s,bottom:i}=t;return!(pr({x:n,y:r},e)||pr({x:n,y:i},e)||pr({x:s,y:r},e)||pr({x:s,y:i},e))}function Qx(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Ou(i)/2,additionalAngle:a?vt/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=Kx(t,u,c);r.push(h),l==="auto"&&(h.visible=Xx(h,d),h.visible&&(d=h))}return r}function Jx(t){return t===0||t===180?"center":t<180?"left":"right"}function eM(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function tM(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function nM(t,e,n){const{left:r,top:s,right:i,bottom:a}=n,{backdropColor:l}=e;if(!Ze(l)){const c=So(e.borderRadius),d=pn(e.backdropPadding);t.fillStyle=l;const u=r-d.left,h=s-d.top,f=i-r+d.width,m=a-s+d.height;Object.values(c).some(g=>g!==0)?(t.beginPath(),cu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function rM(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let s=e-1;s>=0;s--){const i=t._pointLabelItems[s];if(!i.visible)continue;const a=r.setContext(t.getPointLabelContext(s));nM(n,a,i);const l=rn(a.font),{x:c,y:d,textAlign:u}=i;Ua(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function Tm(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,en);else{let i=t.getPointPosition(0,e);s.moveTo(i.x,i.y);for(let a=1;a<r;a++)i=t.getPointPosition(a,e),s.lineTo(i.x,i.y)}}function sM(t,e,n,r,s){const i=t.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!r||!l||!c||n<0||(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash(s.dash),i.lineDashOffset=s.dashOffset,i.beginPath(),Tm(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function iM(t,e,n){return Jr(t,{label:n,index:e,type:"pointLabel"})}class fl extends ul{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=pn(Ou(this.options)/2),n=this.width=this.maxWidth-e.width,r=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+n/2+e.left),this.yCenter=Math.floor(this.top+r/2+e.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!1);this.min=it(e)&&!isNaN(e)?e:0,this.max=it(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Ou(this.options))}generateTickLabels(e){ul.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const s=ot(this.options.pointLabels.callback,[n,r],this);return s||s===0?s:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const e=this.options;e.display&&e.pointLabels.display?qx(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,r,s){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((r-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,r,s))}getIndexAngle(e){const n=en/(this._pointLabels.length||1),r=this.options.startAngle||0;return nn(e*n+Qr(r))}getDistanceFromCenterForValue(e){if(Ze(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(Ze(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e<n.length){const r=n[e];return iM(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const s=this.getIndexAngle(e)-tn+r;return{x:Math.cos(s)*n+this.xCenter,y:Math.sin(s)*n+this.yCenter,angle:s}}getPointPositionForValue(e,n){return this.getPointPosition(e,this.getDistanceFromCenterForValue(n))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:n,top:r,right:s,bottom:i}=this._pointLabelItems[e];return{left:n,top:r,right:s,bottom:i}}drawBackground(){const{backgroundColor:e,grid:{circular:n}}=this.options;if(e){const r=this.ctx;r.save(),r.beginPath(),Tm(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}drawGrid(){const e=this.ctx,n=this.options,{angleLines:r,grid:s,border:i}=n,a=this._pointLabels.length;let l,c,d;if(n.pointLabels.display&&rM(this,a),s.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){c=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(h),m=s.setContext(f),g=i.setContext(f);sM(this,m,c,a,g)}}),r.display){for(e.save(),l=a-1;l>=0;l--){const u=r.setContext(this.getPointLabelContext(l)),{color:h,lineWidth:f}=u;!f||!h||(e.lineWidth=f,e.strokeStyle=h,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),d=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const s=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!n.reverse)return;const d=r.setContext(this.getContext(c)),u=rn(d.font);if(i=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){e.font=u.string,a=e.measureText(l.label).width,e.fillStyle=d.backdropColor;const h=pn(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}Ua(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(fl,"id","radialLinear"),W(fl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ja.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(fl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(fl,"descriptors",{angleLines:{_fallback:"grid"}});const ml={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}},Yt=Object.keys(ml);function Dm(t,e){return t-e}function Om(t,e){if(Ze(e))return null;const n=t._adapter,{parser:r,round:s,isoWeekday:i}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),it(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(s&&(a=s==="week"&&(xo(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,s)),+a)}function Em(t,e,n,r){const s=Yt.length;for(let i=Yt.indexOf(t);i<s-1;++i){const a=ml[Yt[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Yt[i]}return Yt[s-1]}function oM(t,e,n,r,s){for(let i=Yt.length-1;i>=Yt.indexOf(n);i--){const a=Yt[i];if(ml[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Yt[n?Yt.indexOf(n):0]}function aM(t){for(let e=Yt.indexOf(t)+1,n=Yt.length;e<n;++e)if(ml[Yt[e]].common)return Yt[e]}function Pm(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=eu(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function lM(t,e,n,r){const s=t._adapter,i=+s.startOf(e[0].value,r),a=e[e.length-1].value;let l,c;for(l=i;l<=a;l=+s.add(l,1,r))c=n[l],c>=0&&(e[c].major=!0);return e}function Lm(t,e,n){const r=[],s={},i=e.length;let a,l;for(a=0;a<i;++a)l=e[a],s[l]=a,r.push({value:l,major:!1});return i===0||!n?r:lM(t,r,s,n)}class pl extends As{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,n={}){const r=e.time||(e.time={}),s=this._adapter=new Gk._date(e.adapters.date);s.init(n),ko(r.displayFormats,s.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:Om(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:s,max:i,minDefined:a,maxDefined:l}=this.getUserBounds();function c(d){!a&&!isNaN(d.min)&&(s=Math.min(s,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!a||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),s=it(s)&&!isNaN(s)?s:+n.startOf(Date.now(),r),i=it(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(s,i-1),this.max=Math.max(s+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,s=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const i=this.min,a=this.max,l=vb(s,i,a);return this._unit=n.unit||(r.autoSkip?Em(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):oM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:aM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Lm(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,s,i;this.options.offset&&e.length&&(s=this.getDecimalForValue(e[0]),e.length===1?n=1-s:n=(this.getDecimalForValue(e[1])-s)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=mn(n,0,a),r=mn(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,s=this.options,i=s.time,a=i.unit||Em(i.minUnit,n,r,this._getLabelCapacity(n)),l=Be(s.ticks.stepSize,1),c=a==="week"?i.isoWeekday:!1,d=xo(c)||c===!0,u={};let h=n,f,m;if(d&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,d?"day":a),e.diff(r,n,a)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=h,m=0;f<r;f=+e.add(f,l,a),m++)Pm(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&Pm(u,f,g),Object.keys(u).sort(Dm).map(p=>+p)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const s=this.options.time.displayFormats,i=this._unit,a=n||s[i];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,s){const i=this.options,a=i.ticks.callback;if(a)return ot(a,[e,n,r],this);const l=i.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],h=d&&l[d],f=r[n],m=d&&h&&f&&f.major;return this._adapter.format(e,s||(m?h:u))}generateTickLabels(e){let n,r,s;for(n=0,r=e.length;n<r;++n)s=e[n],s.label=this._tickFormatFunction(s.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,s=Qr(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(s),a=Math.sin(s),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*a,h:r*a+l*i}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,s=r[n.unit]||r.millisecond,i=this._tickFormatFunction(e,0,Lm(this,[e],this._majorUnit),s),a=this._getLabelSize(i),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,r=s.length;n<r;++n)e=e.concat(s[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const s=this.getLabels();for(n=0,r=s.length;n<r;++n)e.push(Om(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Tb(e.sort(Dm))}}W(pl,"id","time"),W(pl,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function gl(t,e,n){let r=0,s=t.length-1,i,a,l,c;n?(e>=t[r].pos&&e<=t[s].pos&&({lo:r,hi:s}=Os(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:c}=t[s]):(e>=t[r].time&&e<=t[s].time&&({lo:r,hi:s}=Os(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:c}=t[s]);const d=a-i;return d?l+(c-l)*(e-i)/d:l}class $m extends pl{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=gl(n,this.min),this._tableRange=gl(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,s=[],i=[];let a,l,c,d,u;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&s.push(d);if(s.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=s.length;a<l;++a)u=s[a+1],c=s[a-1],d=s[a],Math.round((u+c)/2)!==d&&i.push({time:d,pos:a/(l-1)});return i}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((s,i)=>s-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(gl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return gl(this._table,r*this._tableRange+this._minPos,!0)}}W($m,"id","timeseries"),W($m,"defaults",pl.defaults);const Nm={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},cM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Nm,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},dM=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function Ci(t){return o.isProxy(t)?o.toRaw(t):t}function uM(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function hM(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Vm(t,e){t.labels=e}function Bm(t,e,n){const r=[];t.datasets=e.map(s=>{const i=t.datasets.find(a=>a[n]===s[n]);return!i||!s.data||r.includes(i)?{...s}:(r.push(i),Object.assign(i,s),i)})}function fM(t,e){const n={labels:[],datasets:[]};return Vm(n,t.labels),Bm(n,t.datasets,e),n}const mM=o.defineComponent({props:cM,setup(t,e){let{expose:n,slots:r}=e;const s=o.ref(null),i=o.shallowRef(null);n({chart:i});const a=()=>{if(!s.value)return;const{type:d,data:u,options:h,plugins:f,datasetIdKey:m}=t,g=fM(u,m),p=uM(g,u);i.value=new Bo(s.value,{type:d,data:p,options:{...h},plugins:f})},l=()=>{const d=o.toRaw(i.value);d&&(t.destroyDelay>0?setTimeout(()=>{d.destroy(),i.value=null},t.destroyDelay):(d.destroy(),i.value=null))},c=d=>{d.update(t.updateMode)};return o.onMounted(a),o.onUnmounted(l),o.watch([()=>t.options,()=>t.data],(d,u)=>{let[h,f]=d,[m,g]=u;const p=o.toRaw(i.value);if(!p)return;let _=!1;if(h){const y=Ci(h),C=Ci(m);y&&y!==C&&(hM(p,y),_=!0)}if(f){const y=Ci(f.labels),C=Ci(g.labels),k=Ci(f.datasets),S=Ci(g.datasets);y!==C&&(Vm(p.config.data,y),_=!0),k&&k!==S&&(Bm(p.config.data,k,t.datasetIdKey),_=!0)}_&&o.nextTick(()=>{c(p)})},{deep:!0}),()=>o.h("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:s},[o.h("p",{},[r.default?r.default():""])])}});function pM(t,e){return Bo.register(e),o.defineComponent({props:Nm,setup(n,r){let{expose:s}=r;const i=o.shallowRef(null),a=l=>{i.value=l==null?void 0:l.chart};return s({chart:i}),()=>o.h(mM,dM({ref:a},{type:t,...n}))}})}const Am=pM("line",Ja),gM={class:"chart-container"},Eu={__name:"LineChart",props:{data:{type:Array,required:!0},dataType:{type:String,required:!0},ticksCallback:{type:Function,default:t=>t}},setup(t){Bo.register(dl,hl,Ao,_r,Ix,mm);const e=t,n=d=>{const u=new Set,h=[];let f=[];switch(e.dataType){case"balanceChartData":f=d.map(g=>(u.add(g.date),g.balance));break;case"performanceChartData":f=d.map(g=>(u.add(g.date),g.pnl/g.pnl_to_deposit*100));break}return h.push({data:f}),{labels:Array.from(u),datasets:h}},r=o.computed(()=>n(e.data)),s=d=>{const h=d.chart.ctx.createLinearGradient(0,0,0,450);return h.addColorStop(0,"rgba(0, 122, 255, 0.1)"),h.addColorStop(1,"rgba(0, 122, 255, 0)"),h},i=(d,u)=>{let h=document.querySelector(`#${d}-${e.dataType}`);return h||(h=document.createElement("div"),h.classList.add(d),h.setAttribute("id",`${d}-${e.dataType}`),u.canvas.parentNode.appendChild(h)),h},a=d=>{const{chart:u,tooltip:h}=d,f=i("chart-tooltip",u);if(h.opacity===0){f.style.opacity=String(0);return}if(h.body){const p=h.title||[],_=h.body.map(C=>C.lines),y=document.createElement("div");for(y.classList.add("chart-tooltip-middle"),y.innerHTML=`<div class="chart-tooltip-content">
35
35
  ${e.dataType==="balanceChartData"?`$${Q1(_[0])}`:`${Q1(_[0])}%`}
36
- <span> | ${J1(p[0])}, ${q6(p[0])}</span></div>`;f.firstChild;)f.firstChild.remove();f.appendChild(y)}const{offsetLeft:m,offsetTop:g}=u.canvas;f.style.opacity=String(1),f.style.left=m+h.caretX+"px",f.style.top=g+h.caretY+"px"},l=d=>{const{chart:u}=d,h=i("chart-line",u);u.canvas.addEventListener("mousemove",function(f){const m=u.canvas.getBoundingClientRect(),g=f.clientX-m.left;h.style.left=g+"px",h.style.display="flex"}),u.canvas.addEventListener("mouseout",function(){h.style.display="none"})},c=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{callback:function(d){return J1(this.getLabelForValue(d)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"end"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{callback:function(d){return e.ticksCallback(d)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15},grid:{color:"#EDEDED",drawTicks:!1},border:{display:!1,dash:[4,4],dashOffset:1}}},plugins:{tooltip:{enabled:!1,position:"nearest",external:a},legend:!1},elements:{line:{backgroundColor:d=>s(d),tension:.3,borderWidth:2,borderColor:"#007AFF",fill:"start",spanGaps:!0},point:{pointStyle:"circle",pointRadius:1,pointHoverRadius:8,pointBackgroundColor:"#007AFF",pointBorderWidth:0,pointHoverBorderWidth:3,pointBorderColor:"#fff",pointHoverBorderColor:"#fff",pointHitRadius:50}},onHover:l});return(d,u)=>(o.openBlock(),o.createElementBlock("div",hM,[o.createVNode(o.unref(Am),{data:r.value,options:c.value},null,8,["data","options"])]))}},Fm={__name:"SimpleLineChart",props:{data:{type:Array,required:!0}},setup(t){Bo.register(dl,hl,Ao,_r,mm);const e=t,n=a=>{const l=new Set,c=[],d=a.map(h=>(l.add(h.date),h.balance));return c.push({data:d}),{labels:Array.from(l),datasets:c}},r=o.computed(()=>n(e.data)),s=a=>{const c=a.chart.ctx.createLinearGradient(0,0,0,200);return c.addColorStop(0,"rgba(86, 182, 131, 0.1)"),c.addColorStop(1,"rgba(86, 182, 131, 0)"),c},i=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},interaction:{mode:"index",intersect:!1},scales:{x:{display:!1},y:{display:!1}},plugins:{tooltip:!1,legend:!1},elements:{line:{backgroundColor:a=>s(a),tension:.3,borderWidth:1,borderColor:"#56B683",fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(Am),{data:r.value,options:i.value},null,8,["data","options"]))}},fM=t=>(o.pushScopeId("data-v-aade6a2a"),t=t(),o.popScopeId(),t),mM={class:"account-balance-widget"},pM={class:"account-balance-widget__top"},gM={class:"account-balance-widget__title-wrapper"},_M=fM(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),yM=Pe({__name:"AccountBalanceWidget",props:{balanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>r>=1e3||r<=-1e3?jt(r/1e3,2)+"k":jt(r,2);return(r,s)=>(o.openBlock(),o.createElementBlock("div",mM,[o.createElementVNode("div",pM,[o.createElementVNode("div",gM,[_M,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit growth over the previous date. One of the most reliable indicator of profit for a trader. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hs),{key:0,modelValue:e.value,"onUpdate:modelValue":s[0]||(s[0]=i=>e.value=i),onOnChange:s[1]||(s[1]=i=>r.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(Eu),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-aade6a2a"]]),Rm=t=>(o.pushScopeId("data-v-8cc75a8e"),t=t(),o.popScopeId(),t),wM={class:"balance-widget"},bM={class:"balance-part"},kM={class:"balance-part__top"},CM={class:"balance-part__title-wrapper"},xM=Rm(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),MM={class:"balance-part__content"},vM={class:"balance-part__content__wrapper"},SM={class:"balance-part__content__count"},TM={class:"balance-part__content__bitcoin"},OM={key:0,class:"devider"},DM={key:1,class:"personal-target-part"},EM={class:"personal-target-part__top"},PM={class:"personal-target-part__title-wrapper"},LM=Rm(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),$M={class:"personal-target-part__content"},NM={class:"personal-target-part__content__current"},VM={class:"personal-target-part__content__from"},BM=Pe({__name:"BalanceWidget",props:{BTC:{type:Number,default:0},USDT:{type:Number,default:0},delta:{type:Number,default:0},balanceChartData:{type:Array,default:[]},currentProfit:{type:Number,default:0},profit:{type:Number,default:0},drawdown:{type:Number,default:0},isPercentage:Boolean,isShare:{type:Boolean,default:!1}},emits:["switchModal"],setup(t,{emit:e}){const n=e,r=t,s=o.ref(!1),i=o.computed(()=>s.value?"****":r.BTC),a=o.computed(()=>s.value?"****":r.USDT),l=()=>{s.value=!s.value};return(c,d)=>(o.openBlock(),o.createElementBlock("div",wM,[o.createElementVNode("div",bM,[o.createElementVNode("div",kM,[o.createElementVNode("div",CM,[xM,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit size in $ and btc equivalent and growth over the previous date. One of the most reliable indicator of profit for a trader.")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"balance-part__visibility-switcher",onClick:l},[o.withDirectives(o.createVNode(o.unref(ze),{icon:"eye"},null,512),[[o.vShow,s.value]]),o.withDirectives(o.createVNode(o.unref(ze),{icon:"eye-slash"},null,512),[[o.vShow,!s.value]])]))]),o.createElementVNode("div",MM,[o.createElementVNode("div",vM,[o.createElementVNode("div",SM,o.toDisplayString(o.unref(xn)(a.value)),1),t.delta?(o.openBlock(),o.createBlock(o.unref(Rl),{key:0,"is-hidden":s.value,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",TM,"= "+o.toDisplayString(i.value)+" BTC",1)]),o.createVNode(o.unref(Fm),{class:"balance-part__chart",data:t.balanceChartData},null,8,["data"])]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",OM)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",DM,[o.createElementVNode("div",EM,[o.createElementVNode("div",PM,[LM,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode(" This widget allows you to set a personal profit goal expressed in $ for a certain period ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:d[0]||(d[0]=u=>n("switchModal"))},[o.createVNode(o.unref(ze),{icon:"settings"})])]),o.createElementVNode("div",$M,[o.createElementVNode("div",NM,o.toDisplayString(o.unref(xn)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",VM,"/ "+o.toDisplayString(o.unref(xn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)]),o.createVNode(o.unref(Ip),{"current-profit":t.currentProfit,drawdown:t.drawdown,profit:t.profit,"is-percentage":t.isPercentage},null,8,["current-profit","drawdown","profit","is-percentage"])]))]))}},[["__scopeId","data-v-8cc75a8e"]]),_l=t=>(o.pushScopeId("data-v-5903c480"),t=t(),o.popScopeId(),t),AM={class:"calendar-widget"},FM={class:"calendar-widget__calendar"},RM={class:"calendar-widget__top"},IM={class:"calendar-widget__title-wrapper"},zM=_l(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),YM={class:"stat-calendar"},HM={class:"stat-calendar__week-days"},WM={key:0,class:"stat-calendar__row-wrapper"},jM={class:"stat-calendar__row"},ZM=["onClick"],UM=_l(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),qM={key:0,class:"calendar-widget__day"},GM={class:"calendar-widget__day__title"},KM={class:"calendar-widget__day__content"},XM={class:"calendar-widget__point"},QM={class:"calendar-widget__point__title"},JM=_l(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),ev={class:"calendar-widget__day__trades"},tv={class:"calendar-widget__point"},nv={class:"calendar-widget__point__title"},rv=_l(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),sv=Pe({__name:"CalendarWidget",props:{rows:Array,dailyStatData:Object,currentDate:Date,calendarPointsTop:Array,calendarPointsBottom:Array,isCurrentDate:Function,isCurrentDay:Function},emits:["setNewDate","chooseMonth"],setup(t,{emit:e}){const n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=o.ref(null),s=o.ref(null),i=e,a=l=>{r.value=l.year,s.value=l.month,i("chooseMonth",l)};return o.nextTick(()=>{const l=new Date;r.value=l.getFullYear(),s.value=l.getMonth()}),(l,c)=>{var d,u;return o.openBlock(),o.createElementBlock("div",AM,[o.createElementVNode("div",FM,[o.createElementVNode("div",RM,[o.createElementVNode("div",IM,[zM,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays profitable days on green, losing days in red and trading days without significant profit or loss in blue. Also when you click on a specific date, more detailed information about trading day is displayed. ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(Rp),{key:0,"current-date":t.currentDate,onOnChange:a,year:r.value,"onUpdate:year":c[0]||(c[0]=h=>r.value=h),month:s.value,"onUpdate:month":c[1]||(c[1]=h=>s.value=h)},null,8,["current-date","year","month"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",YM,[o.createElementVNode("div",HM,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(n,(h,f)=>o.createElementVNode("div",{class:o.normalizeClass(["stat-calendar__week-day",{"-current":t.isCurrentDay(f)}])},o.toDisplayString(h),3)),64))]),t.rows?(o.openBlock(),o.createElementBlock("div",WM,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",jM,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h,f=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["stat-calendar__day",{"-empty":!f.date,"-current":t.isCurrentDate(f.date),"-positive":f.win,"-negative":f.win===!1}]),onClick:m=>i("setNewDate",f.date)},o.toDisplayString(f.date?f.date:""),11,ZM))),256))]))),256))])):o.createCommentVNode("",!0)])]),UM,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",qM,[o.createElementVNode("div",GM,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",KM,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",XM,[o.createElementVNode("div",QM,o.toDisplayString(h.title),1),JM,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(h.value),3)]))),256)),o.createVNode(o.unref(P0),{long:(d=t.dailyStatData)==null?void 0:d.long_count,short:(u=t.dailyStatData)==null?void 0:u.short_count},null,8,["long","short"]),o.createElementVNode("div",ev,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",tv,[o.createElementVNode("div",nv,o.toDisplayString(h.title),1),rv,o.createVNode(o.unref(Rl),{"is-positive":h.isPositive,"is-negative":h.isNegative,delta:h.value},null,8,["is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(jd),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-5903c480"]]),Pu=t=>(o.pushScopeId("data-v-a2323720"),t=t(),o.popScopeId(),t),iv={class:"commission-widget"},ov={class:"commission-widget__content"},av={class:"commission-widget__top"},lv={class:"commission-widget__title-wrapper"},cv=Pu(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),dv={class:"commission-widget__info"},uv={class:"commission-widget__total-wrapper"},hv=Pu(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),fv={class:"commission-widget__total-wrapper__total"},mv={class:"commission-widget__total-wrapper__value"},pv={class:"commission-widget__points"},gv={class:"commission-widget__point"},_v={class:"commission-widget__point__title"},yv=Pu(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),wv=Pe({__name:"CommissionsFeesWidget",props:{commission:Number,commissionPoints:Array},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",iv,[o.createElementVNode("div",ov,[o.createElementVNode("div",av,[o.createElementVNode("div",lv,[cv,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of total commissions and fees for the selected previous period including the current date. This widget also shows commission to profit ratio in $/% and average amount of fees per trade. ")]),_:1})]),o.createVNode(o.unref(Hs),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",dv,[o.createElementVNode("div",uv,[hv,o.createElementVNode("div",fv,[o.createElementVNode("div",mv," $"+o.toDisplayString(o.unref(jt)(t.commission)),1)])]),o.createElementVNode("div",pv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",gv,[o.createElementVNode("div",_v,o.toDisplayString(a.title),1),yv,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-a2323720"]]),bv=t=>(o.pushScopeId("data-v-db6b817e"),t=t(),o.popScopeId(),t),kv={class:"performance-widget"},Cv={class:"performance-widget__top"},xv={class:"performance-widget__title-wrapper"},Mv=bv(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),vv=Pe({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>jt(r,2)+"%";return(r,s)=>(o.openBlock(),o.createElementBlock("div",kv,[o.createElementVNode("div",Cv,[o.createElementVNode("div",xv,[Mv,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of profit for the selected previous period including the current date. This widget shows the growth or loss of the deposit in %. The widget is available as a line graph. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hs),{key:0,modelValue:e.value,"onUpdate:modelValue":s[0]||(s[0]=i=>e.value=i),onOnChange:s[1]||(s[1]=i=>r.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(Eu),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-db6b817e"]]),Lu=t=>(o.pushScopeId("data-v-838f98ad"),t=t(),o.popScopeId(),t),Sv={class:"return-widget"},Tv={class:"return-widget__content"},Ov={class:"return-widget__top"},Dv={class:"return-widget__title-wrapper"},Ev=Lu(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),Pv={class:"return-widget__info"},Lv={class:"return-widget__total-wrapper"},$v=Lu(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),Nv={class:"return-widget__total-wrapper__total"},Vv={class:"return-widget__points"},Bv={class:"return-widget__point"},Av={class:"return-widget__point__title"},Fv=Lu(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),Rv={class:"return-widget__point__value"},Iv=["innerHTML"],zv=Pe({__name:"ReturnWidget",props:{returnData:Object,isShare:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>s.returnData?s.returnData.profit_factor:0),a=o.computed(()=>s.returnData?s.returnData.return_period:0),l=o.computed(()=>[{title:"Average return per trade",value:c.value||0,options:{isPlus:!0,isFixed:!0},class:c.value>=0?"-win":"-loss"},{title:"Daily return",value:d.value||0,options:{isPlus:!0,isFixed:!0},class:d.value>=0?"-win":"-loss"},{title:"Return on winners",value:u.value||0},{title:"Return on losers",value:h.value||0}]),c=o.computed(()=>s.returnData&&s.returnData.avarage_total_return),d=o.computed(()=>s.returnData&&s.returnData.daily),u=o.computed(()=>s.returnData&&s.returnData.win),h=o.computed(()=>s.returnData&&s.returnData.lose),f=o.computed(()=>s.returnData&&s.returnData.period_balance_change_rate),m=o.computed(()=>s.returnPeriod>0),g=o.computed(()=>s.returnPeriod<0),p=o.computed(()=>i.value>0?"-positive":"-negative"),_=o.computed(()=>i.value>0?`Your profit factor is ${jt(i.value)}. <br /> You earn ${xn(i.value)} on every $1 loss.`:`Your profit factor is ${i.value}. <br/> You loss $${Math.abs(i.value)} on every $1 earn. `);return(y,C)=>(o.openBlock(),o.createElementBlock("div",Sv,[o.createElementVNode("div",Tv,[o.createElementVNode("div",Ov,[o.createElementVNode("div",Dv,[Ev,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of profit in $ and % for the selected previous period including the current date. This widget also shows the amount of profit and loss separately. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hs),{key:0,modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=k=>n.value=k),onOnChange:C[1]||(C[1]=k=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",Pv,[o.createElementVNode("div",Lv,[$v,o.createElementVNode("div",Nv,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":m.value,"-negative":g.value}])},o.toDisplayString(o.unref(xn)(a.value,{isPlus:!0,isFixed:!0})),3),f.value?(o.openBlock(),o.createBlock(o.unref(Rl),{key:0,percentage:"",delta:f.value},null,8,["delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",Vv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,k=>(o.openBlock(),o.createElementBlock("div",Bv,[o.createElementVNode("div",Av,o.toDisplayString(k.title),1),Fv,o.createElementVNode("div",Rv,o.toDisplayString(o.unref(xn)(k.value,k.options)),1)]))),256))])])]),i.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",p.value])},[o.createVNode(o.unref(ze),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:_.value},null,8,Iv)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-838f98ad"]]),Im=t=>(o.pushScopeId("data-v-60161694"),t=t(),o.popScopeId(),t),Yv={class:"top-positions-widget"},Hv={class:"top-positions-widget__top"},Wv={class:"top-positions-widget__title-wrapper"},jv=Im(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),Zv={key:0,class:"top-positions-widget__returns"},Uv={class:"top-positions-widget__return"},qv={class:"top-positions-widget__return__left"},Gv=Im(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),Kv={class:"top-positions-widget__return__pair"},Xv={class:"top-positions-widget__return__right"},Qv={class:"top-positions-widget__return__pnl"},Jv=Pe({__name:"TopPositionsWidget",props:{topPositions:{type:Array,default:[]}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",Yv,[o.createElementVNode("div",Hv,[o.createElementVNode("div",Wv,[jv,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays 3 most profitable trades of the selected period. You can also see the trading pair and trade profit to balance ratio. ")]),_:1})]),o.createVNode(o.unref(Hs),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),t.topPositions&&t.topPositions.length?(o.openBlock(),o.createElementBlock("div",Zv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",Uv,[o.createElementVNode("div",qv,[Gv,o.createElementVNode("div",Kv,o.toDisplayString(o.unref(G6)(a.pair)),1)]),o.createElementVNode("div",Xv,[o.createElementVNode("div",Qv,o.toDisplayString(o.unref(xn)(a.pnl,{isFixed:!0,isPlus:!0})),1),o.createElementVNode("div",{class:o.normalizeClass(["top-positions-widget__return__roi",a.roi<0?"-negative":"-positive"])},[o.createVNode(o.unref(ze),{icon:"bxs_up-arrow"}),o.createElementVNode("span",null,o.toDisplayString(o.unref(xn)(a.roi,{isPercentage:!0,isFixed:!0})),1)],2)])]))),256))])):(o.openBlock(),o.createBlock(o.unref(jd),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-60161694"]]),$u=t=>(o.pushScopeId("data-v-7b67b5c8"),t=t(),o.popScopeId(),t),eS={class:"trade-widget"},tS={class:"trade-widget__content"},nS={class:"trade-widget__top"},rS={class:"trade-widget__title-wrapper"},sS=$u(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),iS={class:"trade-widget__info"},oS={class:"trade-widget__total-wrapper"},aS=$u(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),lS={class:"trade-widget__total-wrapper__total"},cS={class:"trade-widget__total-wrapper__value"},dS={class:"trade-widget__points"},uS={class:"trade-widget__point"},hS={class:"trade-widget__point__title"},fS=$u(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),mS=Pe({__name:"TradePerformanceWidget",props:{totalTrades:Number,tradePoints:Array},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",eS,[o.createElementVNode("div",tS,[o.createElementVNode("div",nS,[o.createElementVNode("div",rS,[sS,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays number of total winning & trades. Also it indicates the average number of trades for selected period. ")]),_:1})]),o.createVNode(o.unref(Hs),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",iS,[o.createElementVNode("div",oS,[aS,o.createElementVNode("div",lS,[o.createElementVNode("div",cS,o.toDisplayString(t.totalTrades),1)])]),o.createElementVNode("div",dS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",uS,[o.createElementVNode("div",hS,o.toDisplayString(a.title),1),fS,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-7b67b5c8"]]),Nu=t=>(o.pushScopeId("data-v-e97f83dc"),t=t(),o.popScopeId(),t),pS={class:"winrate-widget"},gS={class:"winrate-widget__winrate"},_S={class:"winrate-widget__title-wrapper"},yS=Nu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),wS={class:"winrate-widget__chart"},bS={class:"winrate-widget__data"},kS={class:"winrate-widget__data_value"},CS=Nu(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),xS={class:"winrate-widget__average-rr"},MS={class:"winrate-widget__title-wrapper"},vS=Nu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),SS=Pe({__name:"WinrateWidget",props:{winrate:{type:Number,default:0},minRR:{type:Number,default:0},averageRR:{type:Number,default:0},maxRR:{type:Number,default:0}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",pS,[o.createElementVNode("div",gS,[o.createElementVNode("div",_S,[yS,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays the percentage of successful trades and the average RR. ")]),_:1})]),o.createElementVNode("div",wS,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",bS,[o.createElementVNode("div",kS,o.toDisplayString(o.unref(jt)(t.winrate,2))+"%",1),CS])])]),o.createElementVNode("div",xS,[o.createElementVNode("div",MS,[vS,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The risk/reward ratio - marks the prospective reward a trader can earn for every dollar they risk on a trade. ")]),_:1})]),o.createVNode(o.unref(zm),{avg:t.averageRR,min:t.minRR,max:t.maxRR},null,8,["avg","min","max"])])]))}},[["__scopeId","data-v-e97f83dc"]]),TS=t=>(o.pushScopeId("data-v-2f6cbb5e"),t=t(),o.popScopeId(),t),OS={class:"average-rr-line-container"},DS={class:"average-rr-line"},ES={key:0,class:"average-rr-line__progress"},PS=[TS(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],LS={class:"coefficients"},$S={class:"coefficients__value -min"},NS={class:"coefficients__value -avg"},VS={class:"coefficients__value -max"},zm=Pe({__name:"AverageRRLine",props:{min:{type:Number,default:0},avg:{type:Number,default:0},max:{type:Number,default:0}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",OS,[o.createElementVNode("div",DS,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",ES,PS)):o.createCommentVNode("",!0)]),o.createElementVNode("div",LS,[o.createElementVNode("div",$S,o.toDisplayString(t.min),1),o.createElementVNode("div",NS,o.toDisplayString(o.unref(jt)(t.avg)),1),o.createElementVNode("div",VS,o.toDisplayString(o.unref(jt)(t.max)),1)])]))}},[["__scopeId","data-v-2f6cbb5e"]]);//! moment.js
36
+ <span> | ${J1(p[0])}, ${q6(p[0])}</span></div>`;f.firstChild;)f.firstChild.remove();f.appendChild(y)}const{offsetLeft:m,offsetTop:g}=u.canvas;f.style.opacity=String(1),f.style.left=m+h.caretX+"px",f.style.top=g+h.caretY+"px"},l=d=>{const{chart:u}=d,h=i("chart-line",u);u.canvas.addEventListener("mousemove",function(f){const m=u.canvas.getBoundingClientRect(),g=f.clientX-m.left;h.style.left=g+"px",h.style.display="flex"}),u.canvas.addEventListener("mouseout",function(){h.style.display="none"})},c=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{callback:function(d){return J1(this.getLabelForValue(d)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"end"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{callback:function(d){return e.ticksCallback(d)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15},grid:{color:"#EDEDED",drawTicks:!1},border:{display:!1,dash:[4,4],dashOffset:1}}},plugins:{tooltip:{enabled:!1,position:"nearest",external:a},legend:!1},elements:{line:{backgroundColor:d=>s(d),tension:.3,borderWidth:2,borderColor:"#007AFF",fill:"start",spanGaps:!0},point:{pointStyle:"circle",pointRadius:1,pointHoverRadius:8,pointBackgroundColor:"#007AFF",pointBorderWidth:0,pointHoverBorderWidth:3,pointBorderColor:"#fff",pointHoverBorderColor:"#fff",pointHitRadius:50}},onHover:l});return(d,u)=>(o.openBlock(),o.createElementBlock("div",gM,[o.createVNode(o.unref(Am),{data:r.value,options:c.value},null,8,["data","options"])]))}},Fm={__name:"SimpleLineChart",props:{data:{type:Array,required:!0}},setup(t){Bo.register(dl,hl,Ao,_r,mm);const e=t,n=a=>{const l=new Set,c=[],d=a.map(h=>(l.add(h.date),h.balance));return c.push({data:d}),{labels:Array.from(l),datasets:c}},r=o.computed(()=>n(e.data)),s=a=>{const c=a.chart.ctx.createLinearGradient(0,0,0,200);return c.addColorStop(0,"rgba(86, 182, 131, 0.1)"),c.addColorStop(1,"rgba(86, 182, 131, 0)"),c},i=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},interaction:{mode:"index",intersect:!1},scales:{x:{display:!1},y:{display:!1}},plugins:{tooltip:!1,legend:!1},elements:{line:{backgroundColor:a=>s(a),tension:.3,borderWidth:1,borderColor:"#56B683",fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(Am),{data:r.value,options:i.value},null,8,["data","options"]))}},_M=t=>(o.pushScopeId("data-v-aade6a2a"),t=t(),o.popScopeId(),t),yM={class:"account-balance-widget"},wM={class:"account-balance-widget__top"},bM={class:"account-balance-widget__title-wrapper"},kM=_M(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),CM=Oe({__name:"AccountBalanceWidget",props:{balanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>r>=1e3||r<=-1e3?jt(r/1e3,2)+"k":jt(r,2);return(r,s)=>(o.openBlock(),o.createElementBlock("div",yM,[o.createElementVNode("div",wM,[o.createElementVNode("div",bM,[kM,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit growth over the previous date. One of the most reliable indicator of profit for a trader. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hs),{key:0,modelValue:e.value,"onUpdate:modelValue":s[0]||(s[0]=i=>e.value=i),onOnChange:s[1]||(s[1]=i=>r.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(Eu),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-aade6a2a"]]),Rm=t=>(o.pushScopeId("data-v-8cc75a8e"),t=t(),o.popScopeId(),t),xM={class:"balance-widget"},MM={class:"balance-part"},vM={class:"balance-part__top"},SM={class:"balance-part__title-wrapper"},TM=Rm(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),DM={class:"balance-part__content"},OM={class:"balance-part__content__wrapper"},EM={class:"balance-part__content__count"},PM={class:"balance-part__content__bitcoin"},LM={key:0,class:"devider"},$M={key:1,class:"personal-target-part"},NM={class:"personal-target-part__top"},VM={class:"personal-target-part__title-wrapper"},BM=Rm(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),AM={class:"personal-target-part__content"},FM={class:"personal-target-part__content__current"},RM={class:"personal-target-part__content__from"},IM=Oe({__name:"BalanceWidget",props:{BTC:{type:Number,default:0},USDT:{type:Number,default:0},delta:{type:Number,default:0},balanceChartData:{type:Array,default:[]},currentProfit:{type:Number,default:0},profit:{type:Number,default:0},drawdown:{type:Number,default:0},isPercentage:Boolean,isShare:{type:Boolean,default:!1}},emits:["switchModal"],setup(t,{emit:e}){const n=e,r=t,s=o.ref(!1),i=o.computed(()=>s.value?"****":r.BTC),a=o.computed(()=>s.value?"****":r.USDT),l=()=>{s.value=!s.value};return(c,d)=>(o.openBlock(),o.createElementBlock("div",xM,[o.createElementVNode("div",MM,[o.createElementVNode("div",vM,[o.createElementVNode("div",SM,[TM,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit size in $ and btc equivalent and growth over the previous date. One of the most reliable indicator of profit for a trader.")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"balance-part__visibility-switcher",onClick:l},[o.withDirectives(o.createVNode(o.unref(ze),{icon:"eye"},null,512),[[o.vShow,s.value]]),o.withDirectives(o.createVNode(o.unref(ze),{icon:"eye-slash"},null,512),[[o.vShow,!s.value]])]))]),o.createElementVNode("div",DM,[o.createElementVNode("div",OM,[o.createElementVNode("div",EM,o.toDisplayString(o.unref(xn)(a.value)),1),t.delta?(o.openBlock(),o.createBlock(o.unref(Rl),{key:0,"is-hidden":s.value,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",PM,"= "+o.toDisplayString(i.value)+" BTC",1)]),o.createVNode(o.unref(Fm),{class:"balance-part__chart",data:t.balanceChartData},null,8,["data"])]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",LM)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",$M,[o.createElementVNode("div",NM,[o.createElementVNode("div",VM,[BM,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode(" This widget allows you to set a personal profit goal expressed in $ for a certain period ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:d[0]||(d[0]=u=>n("switchModal"))},[o.createVNode(o.unref(ze),{icon:"settings"})])]),o.createElementVNode("div",AM,[o.createElementVNode("div",FM,o.toDisplayString(o.unref(xn)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",RM,"/ "+o.toDisplayString(o.unref(xn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)]),o.createVNode(o.unref(Ip),{"current-profit":t.currentProfit,drawdown:t.drawdown,profit:t.profit,"is-percentage":t.isPercentage},null,8,["current-profit","drawdown","profit","is-percentage"])]))]))}},[["__scopeId","data-v-8cc75a8e"]]),_l=t=>(o.pushScopeId("data-v-5903c480"),t=t(),o.popScopeId(),t),zM={class:"calendar-widget"},YM={class:"calendar-widget__calendar"},HM={class:"calendar-widget__top"},WM={class:"calendar-widget__title-wrapper"},jM=_l(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),ZM={class:"stat-calendar"},UM={class:"stat-calendar__week-days"},qM={key:0,class:"stat-calendar__row-wrapper"},GM={class:"stat-calendar__row"},KM=["onClick"],XM=_l(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),QM={key:0,class:"calendar-widget__day"},JM={class:"calendar-widget__day__title"},ev={class:"calendar-widget__day__content"},tv={class:"calendar-widget__point"},nv={class:"calendar-widget__point__title"},rv=_l(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),sv={class:"calendar-widget__day__trades"},iv={class:"calendar-widget__point"},ov={class:"calendar-widget__point__title"},av=_l(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),lv=Oe({__name:"CalendarWidget",props:{rows:Array,dailyStatData:Object,currentDate:Date,calendarPointsTop:Array,calendarPointsBottom:Array,isCurrentDate:Function,isCurrentDay:Function},emits:["setNewDate","chooseMonth"],setup(t,{emit:e}){const n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=o.ref(null),s=o.ref(null),i=e,a=l=>{r.value=l.year,s.value=l.month,i("chooseMonth",l)};return o.nextTick(()=>{const l=new Date;r.value=l.getFullYear(),s.value=l.getMonth()}),(l,c)=>{var d,u;return o.openBlock(),o.createElementBlock("div",zM,[o.createElementVNode("div",YM,[o.createElementVNode("div",HM,[o.createElementVNode("div",WM,[jM,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays profitable days on green, losing days in red and trading days without significant profit or loss in blue. Also when you click on a specific date, more detailed information about trading day is displayed. ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(Rp),{key:0,"current-date":t.currentDate,onOnChange:a,year:r.value,"onUpdate:year":c[0]||(c[0]=h=>r.value=h),month:s.value,"onUpdate:month":c[1]||(c[1]=h=>s.value=h)},null,8,["current-date","year","month"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",ZM,[o.createElementVNode("div",UM,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(n,(h,f)=>o.createElementVNode("div",{class:o.normalizeClass(["stat-calendar__week-day",{"-current":t.isCurrentDay(f)}])},o.toDisplayString(h),3)),64))]),t.rows?(o.openBlock(),o.createElementBlock("div",qM,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",GM,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h,f=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["stat-calendar__day",{"-empty":!f.date,"-current":t.isCurrentDate(f.date),"-positive":f.win,"-negative":f.win===!1}]),onClick:m=>i("setNewDate",f.date)},o.toDisplayString(f.date?f.date:""),11,KM))),256))]))),256))])):o.createCommentVNode("",!0)])]),XM,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",QM,[o.createElementVNode("div",JM,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",ev,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",tv,[o.createElementVNode("div",nv,o.toDisplayString(h.title),1),rv,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(h.value),3)]))),256)),o.createVNode(o.unref(P0),{long:(d=t.dailyStatData)==null?void 0:d.long_count,short:(u=t.dailyStatData)==null?void 0:u.short_count},null,8,["long","short"]),o.createElementVNode("div",sv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",iv,[o.createElementVNode("div",ov,o.toDisplayString(h.title),1),av,o.createVNode(o.unref(Rl),{"is-positive":h.isPositive,"is-negative":h.isNegative,delta:h.value},null,8,["is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(jd),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-5903c480"]]),Pu=t=>(o.pushScopeId("data-v-a2323720"),t=t(),o.popScopeId(),t),cv={class:"commission-widget"},dv={class:"commission-widget__content"},uv={class:"commission-widget__top"},hv={class:"commission-widget__title-wrapper"},fv=Pu(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),mv={class:"commission-widget__info"},pv={class:"commission-widget__total-wrapper"},gv=Pu(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),_v={class:"commission-widget__total-wrapper__total"},yv={class:"commission-widget__total-wrapper__value"},wv={class:"commission-widget__points"},bv={class:"commission-widget__point"},kv={class:"commission-widget__point__title"},Cv=Pu(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),xv=Oe({__name:"CommissionsFeesWidget",props:{commission:Number,commissionPoints:Array},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",cv,[o.createElementVNode("div",dv,[o.createElementVNode("div",uv,[o.createElementVNode("div",hv,[fv,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of total commissions and fees for the selected previous period including the current date. This widget also shows commission to profit ratio in $/% and average amount of fees per trade. ")]),_:1})]),o.createVNode(o.unref(Hs),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",mv,[o.createElementVNode("div",pv,[gv,o.createElementVNode("div",_v,[o.createElementVNode("div",yv," $"+o.toDisplayString(o.unref(jt)(t.commission)),1)])]),o.createElementVNode("div",wv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",bv,[o.createElementVNode("div",kv,o.toDisplayString(a.title),1),Cv,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-a2323720"]]),Mv=t=>(o.pushScopeId("data-v-db6b817e"),t=t(),o.popScopeId(),t),vv={class:"performance-widget"},Sv={class:"performance-widget__top"},Tv={class:"performance-widget__title-wrapper"},Dv=Mv(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),Ov=Oe({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>jt(r,2)+"%";return(r,s)=>(o.openBlock(),o.createElementBlock("div",vv,[o.createElementVNode("div",Sv,[o.createElementVNode("div",Tv,[Dv,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of profit for the selected previous period including the current date. This widget shows the growth or loss of the deposit in %. The widget is available as a line graph. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hs),{key:0,modelValue:e.value,"onUpdate:modelValue":s[0]||(s[0]=i=>e.value=i),onOnChange:s[1]||(s[1]=i=>r.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(Eu),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-db6b817e"]]),Lu=t=>(o.pushScopeId("data-v-838f98ad"),t=t(),o.popScopeId(),t),Ev={class:"return-widget"},Pv={class:"return-widget__content"},Lv={class:"return-widget__top"},$v={class:"return-widget__title-wrapper"},Nv=Lu(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),Vv={class:"return-widget__info"},Bv={class:"return-widget__total-wrapper"},Av=Lu(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),Fv={class:"return-widget__total-wrapper__total"},Rv={class:"return-widget__points"},Iv={class:"return-widget__point"},zv={class:"return-widget__point__title"},Yv=Lu(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),Hv={class:"return-widget__point__value"},Wv=["innerHTML"],jv=Oe({__name:"ReturnWidget",props:{returnData:Object,isShare:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>s.returnData?s.returnData.profit_factor:0),a=o.computed(()=>s.returnData?s.returnData.return_period:0),l=o.computed(()=>[{title:"Average return per trade",value:c.value||0,options:{isPlus:!0,isFixed:!0},class:c.value>=0?"-win":"-loss"},{title:"Daily return",value:d.value||0,options:{isPlus:!0,isFixed:!0},class:d.value>=0?"-win":"-loss"},{title:"Return on winners",value:u.value||0},{title:"Return on losers",value:h.value||0}]),c=o.computed(()=>s.returnData&&s.returnData.avarage_total_return),d=o.computed(()=>s.returnData&&s.returnData.daily),u=o.computed(()=>s.returnData&&s.returnData.win),h=o.computed(()=>s.returnData&&s.returnData.lose),f=o.computed(()=>s.returnData&&s.returnData.period_balance_change_rate),m=o.computed(()=>s.returnPeriod>0),g=o.computed(()=>s.returnPeriod<0),p=o.computed(()=>i.value>0?"-positive":"-negative"),_=o.computed(()=>i.value>0?`Your profit factor is ${jt(i.value)}. <br /> You earn ${xn(i.value)} on every $1 loss.`:`Your profit factor is ${i.value}. <br/> You loss $${Math.abs(i.value)} on every $1 earn. `);return(y,C)=>(o.openBlock(),o.createElementBlock("div",Ev,[o.createElementVNode("div",Pv,[o.createElementVNode("div",Lv,[o.createElementVNode("div",$v,[Nv,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of profit in $ and % for the selected previous period including the current date. This widget also shows the amount of profit and loss separately. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hs),{key:0,modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=k=>n.value=k),onOnChange:C[1]||(C[1]=k=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",Vv,[o.createElementVNode("div",Bv,[Av,o.createElementVNode("div",Fv,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":m.value,"-negative":g.value}])},o.toDisplayString(o.unref(xn)(a.value,{isPlus:!0,isFixed:!0})),3),f.value?(o.openBlock(),o.createBlock(o.unref(Rl),{key:0,percentage:"",delta:f.value},null,8,["delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",Rv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,k=>(o.openBlock(),o.createElementBlock("div",Iv,[o.createElementVNode("div",zv,o.toDisplayString(k.title),1),Yv,o.createElementVNode("div",Hv,o.toDisplayString(o.unref(xn)(k.value,k.options)),1)]))),256))])])]),i.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",p.value])},[o.createVNode(o.unref(ze),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:_.value},null,8,Wv)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-838f98ad"]]),Im=t=>(o.pushScopeId("data-v-60161694"),t=t(),o.popScopeId(),t),Zv={class:"top-positions-widget"},Uv={class:"top-positions-widget__top"},qv={class:"top-positions-widget__title-wrapper"},Gv=Im(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),Kv={key:0,class:"top-positions-widget__returns"},Xv={class:"top-positions-widget__return"},Qv={class:"top-positions-widget__return__left"},Jv=Im(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),eS={class:"top-positions-widget__return__pair"},tS={class:"top-positions-widget__return__right"},nS={class:"top-positions-widget__return__pnl"},rS=Oe({__name:"TopPositionsWidget",props:{topPositions:{type:Array,default:[]}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",Zv,[o.createElementVNode("div",Uv,[o.createElementVNode("div",qv,[Gv,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays 3 most profitable trades of the selected period. You can also see the trading pair and trade profit to balance ratio. ")]),_:1})]),o.createVNode(o.unref(Hs),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),t.topPositions&&t.topPositions.length?(o.openBlock(),o.createElementBlock("div",Kv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",Xv,[o.createElementVNode("div",Qv,[Jv,o.createElementVNode("div",eS,o.toDisplayString(o.unref(G6)(a.pair)),1)]),o.createElementVNode("div",tS,[o.createElementVNode("div",nS,o.toDisplayString(o.unref(xn)(a.pnl,{isFixed:!0,isPlus:!0})),1),o.createElementVNode("div",{class:o.normalizeClass(["top-positions-widget__return__roi",a.roi<0?"-negative":"-positive"])},[o.createVNode(o.unref(ze),{icon:"bxs_up-arrow"}),o.createElementVNode("span",null,o.toDisplayString(o.unref(xn)(a.roi,{isPercentage:!0,isFixed:!0})),1)],2)])]))),256))])):(o.openBlock(),o.createBlock(o.unref(jd),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-60161694"]]),$u=t=>(o.pushScopeId("data-v-7b67b5c8"),t=t(),o.popScopeId(),t),sS={class:"trade-widget"},iS={class:"trade-widget__content"},oS={class:"trade-widget__top"},aS={class:"trade-widget__title-wrapper"},lS=$u(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),cS={class:"trade-widget__info"},dS={class:"trade-widget__total-wrapper"},uS=$u(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),hS={class:"trade-widget__total-wrapper__total"},fS={class:"trade-widget__total-wrapper__value"},mS={class:"trade-widget__points"},pS={class:"trade-widget__point"},gS={class:"trade-widget__point__title"},_S=$u(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),yS=Oe({__name:"TradePerformanceWidget",props:{totalTrades:Number,tradePoints:Array},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",sS,[o.createElementVNode("div",iS,[o.createElementVNode("div",oS,[o.createElementVNode("div",aS,[lS,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays number of total winning & trades. Also it indicates the average number of trades for selected period. ")]),_:1})]),o.createVNode(o.unref(Hs),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",cS,[o.createElementVNode("div",dS,[uS,o.createElementVNode("div",hS,[o.createElementVNode("div",fS,o.toDisplayString(t.totalTrades),1)])]),o.createElementVNode("div",mS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",pS,[o.createElementVNode("div",gS,o.toDisplayString(a.title),1),_S,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-7b67b5c8"]]),Nu=t=>(o.pushScopeId("data-v-e97f83dc"),t=t(),o.popScopeId(),t),wS={class:"winrate-widget"},bS={class:"winrate-widget__winrate"},kS={class:"winrate-widget__title-wrapper"},CS=Nu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),xS={class:"winrate-widget__chart"},MS={class:"winrate-widget__data"},vS={class:"winrate-widget__data_value"},SS=Nu(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),TS={class:"winrate-widget__average-rr"},DS={class:"winrate-widget__title-wrapper"},OS=Nu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),ES=Oe({__name:"WinrateWidget",props:{winrate:{type:Number,default:0},minRR:{type:Number,default:0},averageRR:{type:Number,default:0},maxRR:{type:Number,default:0}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",wS,[o.createElementVNode("div",bS,[o.createElementVNode("div",kS,[CS,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays the percentage of successful trades and the average RR. ")]),_:1})]),o.createElementVNode("div",xS,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",MS,[o.createElementVNode("div",vS,o.toDisplayString(o.unref(jt)(t.winrate,2))+"%",1),SS])])]),o.createElementVNode("div",TS,[o.createElementVNode("div",DS,[OS,o.createVNode(o.unref(hn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The risk/reward ratio - marks the prospective reward a trader can earn for every dollar they risk on a trade. ")]),_:1})]),o.createVNode(o.unref(zm),{avg:t.averageRR,min:t.minRR,max:t.maxRR},null,8,["avg","min","max"])])]))}},[["__scopeId","data-v-e97f83dc"]]),PS=t=>(o.pushScopeId("data-v-2f6cbb5e"),t=t(),o.popScopeId(),t),LS={class:"average-rr-line-container"},$S={class:"average-rr-line"},NS={key:0,class:"average-rr-line__progress"},VS=[PS(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],BS={class:"coefficients"},AS={class:"coefficients__value -min"},FS={class:"coefficients__value -avg"},RS={class:"coefficients__value -max"},zm=Oe({__name:"AverageRRLine",props:{min:{type:Number,default:0},avg:{type:Number,default:0},max:{type:Number,default:0}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",LS,[o.createElementVNode("div",$S,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",NS,VS)):o.createCommentVNode("",!0)]),o.createElementVNode("div",BS,[o.createElementVNode("div",AS,o.toDisplayString(t.min),1),o.createElementVNode("div",FS,o.toDisplayString(o.unref(jt)(t.avg)),1),o.createElementVNode("div",RS,o.toDisplayString(o.unref(jt)(t.max)),1)])]))}},[["__scopeId","data-v-2f6cbb5e"]]);//! moment.js
37
37
  //! version : 2.30.1
38
38
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
39
39
  //! license : MIT
40
40
  //! momentjs.com
41
- var Ym;function re(){return Ym.apply(null,arguments)}function BS(t){Ym=t}function Pn(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Rs(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function De(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Vu(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(De(t,e))return!1;return!0}function Ht(t){return t===void 0}function wr(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Io(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Hm(t,e){var n=[],r,s=t.length;for(r=0;r<s;++r)n.push(e(t[r],r));return n}function es(t,e){for(var n in e)De(e,n)&&(t[n]=e[n]);return De(e,"toString")&&(t.toString=e.toString),De(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Jn(t,e,n,r){return gp(t,e,n,r,!0).utc()}function AS(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _e(t){return t._pf==null&&(t._pf=AS()),t._pf}var Bu;Array.prototype.some?Bu=Array.prototype.some:Bu=function(t){var e=Object(this),n=e.length>>>0,r;for(r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};function Au(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=Bu.call(e.parsedDateParts,function(s){return s!=null}),r=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(r=r&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=r;else return r;return t._isValid}function yl(t){var e=Jn(NaN);return t!=null?es(_e(e),t):_e(e).userInvalidated=!0,e}var Wm=re.momentProperties=[],Fu=!1;function Ru(t,e){var n,r,s,i=Wm.length;if(Ht(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Ht(e._i)||(t._i=e._i),Ht(e._f)||(t._f=e._f),Ht(e._l)||(t._l=e._l),Ht(e._strict)||(t._strict=e._strict),Ht(e._tzm)||(t._tzm=e._tzm),Ht(e._isUTC)||(t._isUTC=e._isUTC),Ht(e._offset)||(t._offset=e._offset),Ht(e._pf)||(t._pf=_e(e)),Ht(e._locale)||(t._locale=e._locale),i>0)for(n=0;n<i;n++)r=Wm[n],s=e[r],Ht(s)||(t[r]=s);return t}function zo(t){Ru(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Fu===!1&&(Fu=!0,re.updateOffset(this),Fu=!1)}function Ln(t){return t instanceof zo||t!=null&&t._isAMomentObject!=null}function jm(t){re.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function gn(t,e){var n=!0;return es(function(){if(re.deprecationHandler!=null&&re.deprecationHandler(null,t),n){var r=[],s,i,a,l=arguments.length;for(i=0;i<l;i++){if(s="",typeof arguments[i]=="object"){s+=`
42
- [`+i+"] ";for(a in arguments[0])De(arguments[0],a)&&(s+=a+": "+arguments[0][a]+", ");s=s.slice(0,-2)}else s=arguments[i];r.push(s)}jm(t+`
41
+ var Ym;function re(){return Ym.apply(null,arguments)}function IS(t){Ym=t}function Pn(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Rs(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Ee(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Vu(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Ee(t,e))return!1;return!0}function Ht(t){return t===void 0}function wr(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Io(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Hm(t,e){var n=[],r,s=t.length;for(r=0;r<s;++r)n.push(e(t[r],r));return n}function es(t,e){for(var n in e)Ee(e,n)&&(t[n]=e[n]);return Ee(e,"toString")&&(t.toString=e.toString),Ee(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Jn(t,e,n,r){return gp(t,e,n,r,!0).utc()}function zS(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _e(t){return t._pf==null&&(t._pf=zS()),t._pf}var Bu;Array.prototype.some?Bu=Array.prototype.some:Bu=function(t){var e=Object(this),n=e.length>>>0,r;for(r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};function Au(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=Bu.call(e.parsedDateParts,function(s){return s!=null}),r=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(r=r&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=r;else return r;return t._isValid}function yl(t){var e=Jn(NaN);return t!=null?es(_e(e),t):_e(e).userInvalidated=!0,e}var Wm=re.momentProperties=[],Fu=!1;function Ru(t,e){var n,r,s,i=Wm.length;if(Ht(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Ht(e._i)||(t._i=e._i),Ht(e._f)||(t._f=e._f),Ht(e._l)||(t._l=e._l),Ht(e._strict)||(t._strict=e._strict),Ht(e._tzm)||(t._tzm=e._tzm),Ht(e._isUTC)||(t._isUTC=e._isUTC),Ht(e._offset)||(t._offset=e._offset),Ht(e._pf)||(t._pf=_e(e)),Ht(e._locale)||(t._locale=e._locale),i>0)for(n=0;n<i;n++)r=Wm[n],s=e[r],Ht(s)||(t[r]=s);return t}function zo(t){Ru(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Fu===!1&&(Fu=!0,re.updateOffset(this),Fu=!1)}function Ln(t){return t instanceof zo||t!=null&&t._isAMomentObject!=null}function jm(t){re.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function gn(t,e){var n=!0;return es(function(){if(re.deprecationHandler!=null&&re.deprecationHandler(null,t),n){var r=[],s,i,a,l=arguments.length;for(i=0;i<l;i++){if(s="",typeof arguments[i]=="object"){s+=`
42
+ [`+i+"] ";for(a in arguments[0])Ee(arguments[0],a)&&(s+=a+": "+arguments[0][a]+", ");s=s.slice(0,-2)}else s=arguments[i];r.push(s)}jm(t+`
43
43
  Arguments: `+Array.prototype.slice.call(r).join("")+`
44
- `+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Zm={};function Um(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),Zm[t]||(jm(e),Zm[t]=!0)}re.suppressDeprecationWarnings=!1,re.deprecationHandler=null;function er(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function FS(t){var e,n;for(n in t)De(t,n)&&(e=t[n],er(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Iu(t,e){var n=es({},t),r;for(r in e)De(e,r)&&(Rs(t[r])&&Rs(e[r])?(n[r]={},es(n[r],t[r]),es(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)De(t,r)&&!De(e,r)&&Rs(t[r])&&(n[r]=es({},n[r]));return n}function zu(t){t!=null&&this.set(t)}var Yu;Object.keys?Yu=Object.keys:Yu=function(t){var e,n=[];for(e in t)De(t,e)&&n.push(e);return n};var RS={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function IS(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return er(r)?r.call(e,n):r}function tr(t,e,n){var r=""+Math.abs(t),s=e-r.length,i=t>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var Hu=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,wl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Wu={},xi={};function oe(t,e,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),t&&(xi[t]=s),e&&(xi[e[0]]=function(){return tr(s.apply(this,arguments),e[1],e[2])}),n&&(xi[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function zS(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function YS(t){var e=t.match(Hu),n,r;for(n=0,r=e.length;n<r;n++)xi[e[n]]?e[n]=xi[e[n]]:e[n]=zS(e[n]);return function(s){var i="",a;for(a=0;a<r;a++)i+=er(e[a])?e[a].call(s,t):e[a];return i}}function bl(t,e){return t.isValid()?(e=qm(e,t.localeData()),Wu[e]=Wu[e]||YS(e),Wu[e](t)):t.localeData().invalidDate()}function qm(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(wl.lastIndex=0;n>=0&&wl.test(t);)t=t.replace(wl,r),wl.lastIndex=0,n-=1;return t}var HS={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"};function WS(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Hu).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var jS="Invalid date";function ZS(){return this._invalidDate}var US="%d",qS=/\d{1,2}/;function GS(t){return this._ordinal.replace("%d",t)}var KS={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function XS(t,e,n,r){var s=this._relativeTime[n];return er(s)?s(t,e,n,r):s.replace(/%d/i,t)}function QS(t,e){var n=this._relativeTime[t>0?"future":"past"];return er(n)?n(e):n.replace(/%s/i,e)}var Gm={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function _n(t){return typeof t=="string"?Gm[t]||Gm[t.toLowerCase()]:void 0}function ju(t){var e={},n,r;for(r in t)De(t,r)&&(n=_n(r),n&&(e[n]=t[r]));return e}var JS={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function eT(t){var e=[],n;for(n in t)De(t,n)&&e.push({unit:n,priority:JS[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var Km=/\d/,sn=/\d\d/,Xm=/\d{3}/,Zu=/\d{4}/,kl=/[+-]?\d{6}/,Ue=/\d\d?/,Qm=/\d\d\d\d?/,Jm=/\d\d\d\d\d\d?/,Cl=/\d{1,3}/,Uu=/\d{1,4}/,xl=/[+-]?\d{1,6}/,Mi=/\d+/,Ml=/[+-]?\d+/,tT=/Z|[+-]\d\d:?\d\d/gi,vl=/Z|[+-]\d\d(?::?\d\d)?/gi,nT=/[+-]?\d+(\.\d{1,3})?/,Yo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,vi=/^[1-9]\d?/,qu=/^([1-9]\d|\d)/,Sl;Sl={};function se(t,e,n){Sl[t]=er(e)?e:function(r,s){return r&&n?n:e}}function rT(t,e){return De(Sl,t)?Sl[t](e._strict,e._locale):new RegExp(sT(t))}function sT(t){return br(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,s,i){return n||r||s||i}))}function br(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function yn(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ke(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=yn(e)),n}var Gu={};function Re(t,e){var n,r=e,s;for(typeof t=="string"&&(t=[t]),wr(e)&&(r=function(i,a){a[e]=ke(i)}),s=t.length,n=0;n<s;n++)Gu[t[n]]=r}function Ho(t,e){Re(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function iT(t,e,n){e!=null&&De(Gu,t)&&Gu[t](e,n._a,n,t)}function Tl(t){return t%4===0&&t%100!==0||t%400===0}var Pt=0,kr=1,nr=2,bt=3,$n=4,Cr=5,Is=6,oT=7,aT=8;oe("Y",0,0,function(){var t=this.year();return t<=9999?tr(t,4):"+"+t}),oe(0,["YY",2],0,function(){return this.year()%100}),oe(0,["YYYY",4],0,"year"),oe(0,["YYYYY",5],0,"year"),oe(0,["YYYYYY",6,!0],0,"year"),se("Y",Ml),se("YY",Ue,sn),se("YYYY",Uu,Zu),se("YYYYY",xl,kl),se("YYYYYY",xl,kl),Re(["YYYYY","YYYYYY"],Pt),Re("YYYY",function(t,e){e[Pt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),Re("YY",function(t,e){e[Pt]=re.parseTwoDigitYear(t)}),Re("Y",function(t,e){e[Pt]=parseInt(t,10)});function Wo(t){return Tl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var ep=Si("FullYear",!0);function lT(){return Tl(this.year())}function Si(t,e){return function(n){return n!=null?(tp(this,t,n),re.updateOffset(this,e),this):jo(this,t)}}function jo(t,e){if(!t.isValid())return NaN;var n=t._d,r=t._isUTC;switch(e){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function tp(t,e,n){var r,s,i,a,l;if(!(!t.isValid()||isNaN(n))){switch(r=t._d,s=t._isUTC,e){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=t.month(),l=t.date(),l=l===29&&a===1&&!Tl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function cT(t){return t=_n(t),er(this[t])?this[t]():this}function dT(t,e){if(typeof t=="object"){t=ju(t);var n=eT(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=_n(t),er(this[t]))return this[t](e);return this}function uT(t,e){return(t%e+e)%e}var pt;Array.prototype.indexOf?pt=Array.prototype.indexOf:pt=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Ku(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=uT(e,12);return t+=(e-n)/12,n===1?Tl(t)?29:28:31-n%7%2}oe("M",["MM",2],"Mo",function(){return this.month()+1}),oe("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),oe("MMMM",0,0,function(t){return this.localeData().months(this,t)}),se("M",Ue,vi),se("MM",Ue,sn),se("MMM",function(t,e){return e.monthsShortRegex(t)}),se("MMMM",function(t,e){return e.monthsRegex(t)}),Re(["M","MM"],function(t,e){e[kr]=ke(t)-1}),Re(["MMM","MMMM"],function(t,e,n,r){var s=n._locale.monthsParse(t,r,n._strict);s!=null?e[kr]=s:_e(n).invalidMonth=t});var hT="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),np="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rp=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,fT=Yo,mT=Yo;function pT(t,e){return t?Pn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||rp).test(e)?"format":"standalone"][t.month()]:Pn(this._months)?this._months:this._months.standalone}function gT(t,e){return t?Pn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[rp.test(e)?"format":"standalone"][t.month()]:Pn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _T(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=Jn([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?e==="MMM"?(s=pt.call(this._shortMonthsParse,a),s!==-1?s:null):(s=pt.call(this._longMonthsParse,a),s!==-1?s:null):e==="MMM"?(s=pt.call(this._shortMonthsParse,a),s!==-1?s:(s=pt.call(this._longMonthsParse,a),s!==-1?s:null)):(s=pt.call(this._longMonthsParse,a),s!==-1?s:(s=pt.call(this._shortMonthsParse,a),s!==-1?s:null))}function yT(t,e,n){var r,s,i;if(this._monthsParseExact)return _T.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=Jn([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(i="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[r].test(t))return r;if(n&&e==="MMM"&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function sp(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=ke(e);else if(e=t.localeData().monthsParse(e),!wr(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,Ku(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function ip(t){return t!=null?(sp(this,t),re.updateOffset(this,!0),this):jo(this,"Month")}function wT(){return Ku(this.year(),this.month())}function bT(t){return this._monthsParseExact?(De(this,"_monthsRegex")||op.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(De(this,"_monthsShortRegex")||(this._monthsShortRegex=fT),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function kT(t){return this._monthsParseExact?(De(this,"_monthsRegex")||op.call(this),t?this._monthsStrictRegex:this._monthsRegex):(De(this,"_monthsRegex")||(this._monthsRegex=mT),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function op(){function t(c,d){return d.length-c.length}var e=[],n=[],r=[],s,i,a,l;for(s=0;s<12;s++)i=Jn([2e3,s]),a=br(this.monthsShort(i,"")),l=br(this.months(i,"")),e.push(a),n.push(l),r.push(l),r.push(a);e.sort(t),n.sort(t),r.sort(t),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function CT(t,e,n,r,s,i,a){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,r,s,i,a),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,r,s,i,a),l}function Zo(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ol(t,e,n){var r=7+e-n,s=(7+Zo(t,0,r).getUTCDay()-e)%7;return-s+r-1}function ap(t,e,n,r,s){var i=(7+n-r)%7,a=Ol(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=Wo(c)+l):l>Wo(t)?(c=t+1,d=l-Wo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function Uo(t,e,n){var r=Ol(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1,i,a;return s<1?(a=t.year()-1,i=s+xr(a,e,n)):s>xr(t.year(),e,n)?(i=s-xr(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function xr(t,e,n){var r=Ol(t,e,n),s=Ol(t+1,e,n);return(Wo(t)-r+s)/7}oe("w",["ww",2],"wo","week"),oe("W",["WW",2],"Wo","isoWeek"),se("w",Ue,vi),se("ww",Ue,sn),se("W",Ue,vi),se("WW",Ue,sn),Ho(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function xT(t){return Uo(t,this._week.dow,this._week.doy).week}var MT={dow:0,doy:6};function vT(){return this._week.dow}function ST(){return this._week.doy}function TT(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function OT(t){var e=Uo(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}oe("d",0,"do","day"),oe("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),oe("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),oe("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),oe("e",0,0,"weekday"),oe("E",0,0,"isoWeekday"),se("d",Ue),se("e",Ue),se("E",Ue),se("dd",function(t,e){return e.weekdaysMinRegex(t)}),se("ddd",function(t,e){return e.weekdaysShortRegex(t)}),se("dddd",function(t,e){return e.weekdaysRegex(t)}),Ho(["dd","ddd","dddd"],function(t,e,n,r){var s=n._locale.weekdaysParse(t,r,n._strict);s!=null?e.d=s:_e(n).invalidWeekday=t}),Ho(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function DT(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function ET(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Xu(t,e){return t.slice(e,7).concat(t.slice(0,e))}var PT="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lp="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),LT="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$T=Yo,NT=Yo,VT=Yo;function BT(t,e){var n=Pn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Xu(n,this._week.dow):t?n[t.day()]:n}function AT(t){return t===!0?Xu(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function FT(t){return t===!0?Xu(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function RT(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Jn([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?e==="dddd"?(s=pt.call(this._weekdaysParse,a),s!==-1?s:null):e==="ddd"?(s=pt.call(this._shortWeekdaysParse,a),s!==-1?s:null):(s=pt.call(this._minWeekdaysParse,a),s!==-1?s:null):e==="dddd"?(s=pt.call(this._weekdaysParse,a),s!==-1||(s=pt.call(this._shortWeekdaysParse,a),s!==-1)?s:(s=pt.call(this._minWeekdaysParse,a),s!==-1?s:null)):e==="ddd"?(s=pt.call(this._shortWeekdaysParse,a),s!==-1||(s=pt.call(this._weekdaysParse,a),s!==-1)?s:(s=pt.call(this._minWeekdaysParse,a),s!==-1?s:null)):(s=pt.call(this._minWeekdaysParse,a),s!==-1||(s=pt.call(this._weekdaysParse,a),s!==-1)?s:(s=pt.call(this._shortWeekdaysParse,a),s!==-1?s:null))}function IT(t,e,n){var r,s,i;if(this._weekdaysParseExact)return RT.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=Jn([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[r].test(t))return r;if(n&&e==="ddd"&&this._shortWeekdaysParse[r].test(t))return r;if(n&&e==="dd"&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function zT(t){if(!this.isValid())return t!=null?this:NaN;var e=jo(this,"Day");return t!=null?(t=DT(t,this.localeData()),this.add(t-e,"d")):e}function YT(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function HT(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=ET(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function WT(t){return this._weekdaysParseExact?(De(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(De(this,"_weekdaysRegex")||(this._weekdaysRegex=$T),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function jT(t){return this._weekdaysParseExact?(De(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(De(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=NT),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ZT(t){return this._weekdaysParseExact?(De(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(De(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=VT),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qu(){function t(u,h){return h.length-u.length}var e=[],n=[],r=[],s=[],i,a,l,c,d;for(i=0;i<7;i++)a=Jn([2e3,1]).day(i),l=br(this.weekdaysMin(a,"")),c=br(this.weekdaysShort(a,"")),d=br(this.weekdays(a,"")),e.push(l),n.push(c),r.push(d),s.push(l),s.push(c),s.push(d);e.sort(t),n.sort(t),r.sort(t),s.sort(t),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Ju(){return this.hours()%12||12}function UT(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,Ju),oe("k",["kk",2],0,UT),oe("hmm",0,0,function(){return""+Ju.apply(this)+tr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+Ju.apply(this)+tr(this.minutes(),2)+tr(this.seconds(),2)}),oe("Hmm",0,0,function(){return""+this.hours()+tr(this.minutes(),2)}),oe("Hmmss",0,0,function(){return""+this.hours()+tr(this.minutes(),2)+tr(this.seconds(),2)});function cp(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}cp("a",!0),cp("A",!1);function dp(t,e){return e._meridiemParse}se("a",dp),se("A",dp),se("H",Ue,qu),se("h",Ue,vi),se("k",Ue,vi),se("HH",Ue,sn),se("hh",Ue,sn),se("kk",Ue,sn),se("hmm",Qm),se("hmmss",Jm),se("Hmm",Qm),se("Hmmss",Jm),Re(["H","HH"],bt),Re(["k","kk"],function(t,e,n){var r=ke(t);e[bt]=r===24?0:r}),Re(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Re(["h","hh"],function(t,e,n){e[bt]=ke(t),_e(n).bigHour=!0}),Re("hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r)),_e(n).bigHour=!0}),Re("hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s)),_e(n).bigHour=!0}),Re("Hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r))}),Re("Hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s))});function qT(t){return(t+"").toLowerCase().charAt(0)==="p"}var GT=/[ap]\.?m?\.?/i,KT=Si("Hours",!0);function XT(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var up={calendar:RS,longDateFormat:HS,invalidDate:jS,ordinal:US,dayOfMonthOrdinalParse:qS,relativeTime:KS,months:hT,monthsShort:np,week:MT,weekdays:PT,weekdaysMin:LT,weekdaysShort:lp,meridiemParse:GT},Ke={},qo={},Go;function QT(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function hp(t){return t&&t.toLowerCase().replace("_","-")}function JT(t){for(var e=0,n,r,s,i;e<t.length;){for(i=hp(t[e]).split("-"),n=i.length,r=hp(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=Dl(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&QT(i,r)>=n-1)break;n--}e++}return Go}function eO(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Dl(t){var e=null,n;if(Ke[t]===void 0&&typeof module<"u"&&module&&module.exports&&eO(t))try{e=Go._abbr,n=require,n("./locale/"+t),ts(e)}catch{Ke[t]=null}return Ke[t]}function ts(t,e){var n;return t&&(Ht(e)?n=Mr(t):n=e1(t,e),n?Go=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Go._abbr}function e1(t,e){if(e!==null){var n,r=up;if(e.abbr=t,Ke[t]!=null)Um("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Ke[t]._config;else if(e.parentLocale!=null)if(Ke[e.parentLocale]!=null)r=Ke[e.parentLocale]._config;else if(n=Dl(e.parentLocale),n!=null)r=n._config;else return qo[e.parentLocale]||(qo[e.parentLocale]=[]),qo[e.parentLocale].push({name:t,config:e}),null;return Ke[t]=new zu(Iu(r,e)),qo[t]&&qo[t].forEach(function(s){e1(s.name,s.config)}),ts(t),Ke[t]}else return delete Ke[t],null}function tO(t,e){if(e!=null){var n,r,s=up;Ke[t]!=null&&Ke[t].parentLocale!=null?Ke[t].set(Iu(Ke[t]._config,e)):(r=Dl(t),r!=null&&(s=r._config),e=Iu(s,e),r==null&&(e.abbr=t),n=new zu(e),n.parentLocale=Ke[t],Ke[t]=n),ts(t)}else Ke[t]!=null&&(Ke[t].parentLocale!=null?(Ke[t]=Ke[t].parentLocale,t===ts()&&ts(t)):Ke[t]!=null&&delete Ke[t]);return Ke[t]}function Mr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Go;if(!Pn(t)){if(e=Dl(t),e)return e;t=[t]}return JT(t)}function nO(){return Yu(Ke)}function t1(t){var e,n=t._a;return n&&_e(t).overflow===-2&&(e=n[kr]<0||n[kr]>11?kr:n[nr]<1||n[nr]>Ku(n[Pt],n[kr])?nr:n[bt]<0||n[bt]>24||n[bt]===24&&(n[$n]!==0||n[Cr]!==0||n[Is]!==0)?bt:n[$n]<0||n[$n]>59?$n:n[Cr]<0||n[Cr]>59?Cr:n[Is]<0||n[Is]>999?Is:-1,_e(t)._overflowDayOfYear&&(e<Pt||e>nr)&&(e=nr),_e(t)._overflowWeeks&&e===-1&&(e=oT),_e(t)._overflowWeekday&&e===-1&&(e=aT),_e(t).overflow=e),t}var rO=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,sO=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,iO=/Z|[+-]\d\d(?::?\d\d)?/,El=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],n1=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],oO=/^\/?Date\((-?\d+)/i,aO=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,lO={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fp(t){var e,n,r=t._i,s=rO.exec(r)||sO.exec(r),i,a,l,c,d=El.length,u=n1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(El[e][1].exec(s[1])){a=El[e][0],i=El[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(n1[e][1].exec(s[3])){l=(s[2]||" ")+n1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(iO.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),s1(t)}else t._isValid=!1}function cO(t,e,n,r,s,i){var a=[dO(t),np.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function dO(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function uO(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function hO(t,e,n){if(t){var r=lp.indexOf(t),s=new Date(e[0],e[1],e[2]).getDay();if(r!==s)return _e(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function fO(t,e,n){if(t)return lO[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function mp(t){var e=aO.exec(uO(t._i)),n;if(e){if(n=cO(e[4],e[3],e[2],e[5],e[6],e[7]),!hO(e[1],n,t))return;t._a=n,t._tzm=fO(e[8],e[9],e[10]),t._d=Zo.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function mO(t){var e=oO.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(fp(t),t._isValid===!1)delete t._isValid;else return;if(mp(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=gn("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Ti(t,e,n){return t??e??n}function pO(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function r1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=pO(t),t._w&&t._a[nr]==null&&t._a[kr]==null&&gO(t),t._dayOfYear!=null&&(a=Ti(t._a[Pt],s[Pt]),(t._dayOfYear>Wo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=Zo(a,0,t._dayOfYear),t._a[kr]=n.getUTCMonth(),t._a[nr]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=s[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[bt]===24&&t._a[$n]===0&&t._a[Cr]===0&&t._a[Is]===0&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Zo:CT).apply(null,r),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(_e(t).weekdayMismatch=!0)}}function gO(t){var e,n,r,s,i,a,l,c,d;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,a=4,n=Ti(e.GG,t._a[Pt],Uo(qe(),1,4).year),r=Ti(e.W,1),s=Ti(e.E,1),(s<1||s>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,d=Uo(qe(),i,a),n=Ti(e.gg,t._a[Pt],d.year),r=Ti(e.w,d.week),e.d!=null?(s=e.d,(s<0||s>6)&&(c=!0)):e.e!=null?(s=e.e+i,(e.e<0||e.e>6)&&(c=!0)):s=i),r<1||r>xr(n,i,a)?_e(t)._overflowWeeks=!0:c!=null?_e(t)._overflowWeekday=!0:(l=ap(n,r,s,i,a),t._a[Pt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function s1(t){if(t._f===re.ISO_8601){fp(t);return}if(t._f===re.RFC_2822){mp(t);return}t._a=[],_e(t).empty=!0;var e=""+t._i,n,r,s,i,a,l=e.length,c=0,d,u;for(s=qm(t._f,t._locale).match(Hu)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(rT(i,t))||[])[0],r&&(a=e.substr(0,e.indexOf(r)),a.length>0&&_e(t).unusedInput.push(a),e=e.slice(e.indexOf(r)+r.length),c+=r.length),xi[i]?(r?_e(t).empty=!1:_e(t).unusedTokens.push(i),iT(i,r,t)):t._strict&&!r&&_e(t).unusedTokens.push(i);_e(t).charsLeftOver=l-c,e.length>0&&_e(t).unusedInput.push(e),t._a[bt]<=12&&_e(t).bigHour===!0&&t._a[bt]>0&&(_e(t).bigHour=void 0),_e(t).parsedDateParts=t._a.slice(0),_e(t).meridiem=t._meridiem,t._a[bt]=_O(t._locale,t._a[bt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Pt]=t._locale.erasConvertYear(d,t._a[Pt])),r1(t),t1(t)}function _O(t,e,n){var r;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(r=t.isPM(n),r&&e<12&&(e+=12),!r&&e===12&&(e=0)),e)}function yO(t){var e,n,r,s,i,a,l=!1,c=t._f.length;if(c===0){_e(t).invalidFormat=!0,t._d=new Date(NaN);return}for(s=0;s<c;s++)i=0,a=!1,e=Ru({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],s1(e),Au(e)&&(a=!0),i+=_e(e).charsLeftOver,i+=_e(e).unusedTokens.length*10,_e(e).score=i,l?i<r&&(r=i,n=e):(r==null||i<r||a)&&(r=i,n=e,a&&(l=!0));es(t,n||e)}function wO(t){if(!t._d){var e=ju(t._i),n=e.day===void 0?e.date:e.day;t._a=Hm([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),r1(t)}}function bO(t){var e=new zo(t1(pp(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function pp(t){var e=t._i,n=t._f;return t._locale=t._locale||Mr(t._l),e===null||n===void 0&&e===""?yl({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ln(e)?new zo(t1(e)):(Io(e)?t._d=e:Pn(n)?yO(t):n?s1(t):kO(t),Au(t)||(t._d=null),t))}function kO(t){var e=t._i;Ht(e)?t._d=new Date(re.now()):Io(e)?t._d=new Date(e.valueOf()):typeof e=="string"?mO(t):Pn(e)?(t._a=Hm(e.slice(0),function(n){return parseInt(n,10)}),r1(t)):Rs(e)?wO(t):wr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function gp(t,e,n,r,s){var i={};return(e===!0||e===!1)&&(r=e,e=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Rs(t)&&Vu(t)||Pn(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=s,i._l=n,i._i=t,i._f=e,i._strict=r,bO(i)}function qe(t,e,n,r){return gp(t,e,n,r,!1)}var CO=gn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=qe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:yl()}),xO=gn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=qe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:yl()});function _p(t,e){var n,r;if(e.length===1&&Pn(e[0])&&(e=e[0]),!e.length)return qe();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function MO(){var t=[].slice.call(arguments,0);return _p("isBefore",t)}function vO(){var t=[].slice.call(arguments,0);return _p("isAfter",t)}var SO=function(){return Date.now?Date.now():+new Date},Ko=["year","quarter","month","week","day","hour","minute","second","millisecond"];function TO(t){var e,n=!1,r,s=Ko.length;for(e in t)if(De(t,e)&&!(pt.call(Ko,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[Ko[r]]){if(n)return!1;parseFloat(t[Ko[r]])!==ke(t[Ko[r]])&&(n=!0)}return!0}function OO(){return this._isValid}function DO(){return Nn(NaN)}function Pl(t){var e=ju(t),n=e.year||0,r=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,l=e.hour||0,c=e.minute||0,d=e.second||0,u=e.millisecond||0;this._isValid=TO(e),this._milliseconds=+u+d*1e3+c*6e4+l*1e3*60*60,this._days=+a+i*7,this._months=+s+r*3+n*12,this._data={},this._locale=Mr(),this._bubble()}function Ll(t){return t instanceof Pl}function i1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function EO(t,e,n){var r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),i=0,a;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&ke(t[a])!==ke(e[a]))&&i++;return i+s}function yp(t,e){oe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+tr(~~(n/60),2)+e+tr(~~n%60,2)})}yp("Z",":"),yp("ZZ",""),se("Z",vl),se("ZZ",vl),Re(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=o1(vl,t)});var PO=/([\+\-]|\d\d)/gi;function o1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(PO)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function a1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Ln(t)||Io(t)?t.valueOf():qe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):qe(t).local()}function l1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function LO(t,e,n){var r=this._offset||0,s;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=o1(vl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=l1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?Cp(this,Nn(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,re.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:l1(this)}function $O(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function NO(t){return this.utcOffset(0,t)}function VO(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(l1(this),"m")),this}function BO(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=o1(tT,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function AO(t){return this.isValid()?(t=t?qe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function FO(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function RO(){if(!Ht(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Ru(t,this),t=pp(t),t._a?(e=t._isUTC?Jn(t._a):qe(t._a),this._isDSTShifted=this.isValid()&&EO(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function IO(){return this.isValid()?!this._isUTC:!1}function zO(){return this.isValid()?this._isUTC:!1}function wp(){return this.isValid()?this._isUTC&&this._offset===0:!1}var YO=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,HO=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nn(t,e){var n=t,r=null,s,i,a;return Ll(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:wr(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=YO.exec(t))?(s=r[1]==="-"?-1:1,n={y:0,d:ke(r[nr])*s,h:ke(r[bt])*s,m:ke(r[$n])*s,s:ke(r[Cr])*s,ms:ke(i1(r[Is]*1e3))*s}):(r=HO.exec(t))?(s=r[1]==="-"?-1:1,n={y:zs(r[2],s),M:zs(r[3],s),w:zs(r[4],s),d:zs(r[5],s),h:zs(r[6],s),m:zs(r[7],s),s:zs(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=WO(qe(n.from),qe(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Pl(n),Ll(t)&&De(t,"_locale")&&(i._locale=t._locale),Ll(t)&&De(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Pl.prototype,Nn.invalid=DO;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function bp(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function WO(t,e){var n;return t.isValid()&&e.isValid()?(e=a1(e,t),t.isBefore(e)?n=bp(t,e):(n=bp(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function kp(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(Um(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),s=Nn(n,r),Cp(this,s,t),this}}function Cp(t,e,n,r){var s=e._milliseconds,i=i1(e._days),a=i1(e._months);t.isValid()&&(r=r??!0,a&&sp(t,jo(t,"Month")+a*n),i&&tp(t,"Date",jo(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var jO=kp(1,"add"),ZO=kp(-1,"subtract");function xp(t){return typeof t=="string"||t instanceof String}function UO(t){return Ln(t)||Io(t)||xp(t)||wr(t)||GO(t)||qO(t)||t===null||t===void 0}function qO(t){var e=Rs(t)&&!Vu(t),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,i,a=r.length;for(s=0;s<a;s+=1)i=r[s],n=n||De(t,i);return e&&n}function GO(t){var e=Pn(t),n=!1;return e&&(n=t.filter(function(r){return!wr(r)&&xp(t)}).length===0),e&&n}function KO(t){var e=Rs(t)&&!Vu(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,i;for(s=0;s<r.length;s+=1)i=r[s],n=n||De(t,i);return e&&n}function XO(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function QO(t,e){arguments.length===1&&(arguments[0]?UO(arguments[0])?(t=arguments[0],e=void 0):KO(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||qe(),r=a1(n,this).startOf("day"),s=re.calendarFormat(this,r)||"sameElse",i=e&&(er(e[s])?e[s].call(this,n):e[s]);return this.format(i||this.localeData().calendar(s,this,qe(n)))}function JO(){return new zo(this)}function eD(t,e){var n=Ln(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=_n(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function tD(t,e){var n=Ln(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=_n(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function nD(t,e,n,r){var s=Ln(t)?t:qe(t),i=Ln(e)?e:qe(e);return this.isValid()&&s.isValid()&&i.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(r[1]===")"?this.isBefore(i,n):!this.isAfter(i,n))):!1}function rD(t,e){var n=Ln(t)?t:qe(t),r;return this.isValid()&&n.isValid()?(e=_n(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf())):!1}function sD(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function iD(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function oD(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=a1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=_n(e),e){case"year":i=$l(this,r)/12;break;case"month":i=$l(this,r);break;case"quarter":i=$l(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-s)/864e5;break;case"week":i=(this-r-s)/6048e5;break;default:i=this-r}return n?i:yn(i)}function $l(t,e){if(t.date()<e.date())return-$l(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),r=t.clone().add(n,"months"),s,i;return e-r<0?(s=t.clone().add(n-1,"months"),i=(e-r)/(r-s)):(s=t.clone().add(n+1,"months"),i=(e-r)/(s-r)),-(n+i)||0}re.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",re.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function aD(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function lD(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?bl(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):er(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",bl(n,"Z")):bl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function cD(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,r,s,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(n+r+s+i)}function dD(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=bl(this,t);return this.localeData().postformat(e)}function uD(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||qe(t).isValid())?Nn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function hD(t){return this.from(qe(),t)}function fD(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||qe(t).isValid())?Nn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function mD(t){return this.to(qe(),t)}function Mp(t){var e;return t===void 0?this._locale._abbr:(e=Mr(t),e!=null&&(this._locale=e),this)}var vp=gn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Sp(){return this._locale}var Nl=1e3,Oi=60*Nl,Vl=60*Oi,Tp=(365*400+97)*24*Vl;function Di(t,e){return(t%e+e)%e}function Op(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Tp:new Date(t,e,n).valueOf()}function Dp(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Tp:Date.UTC(t,e,n)}function pD(t){var e,n;if(t=_n(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Dp:Op,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Di(e+(this._isUTC?0:this.utcOffset()*Oi),Vl);break;case"minute":e=this._d.valueOf(),e-=Di(e,Oi);break;case"second":e=this._d.valueOf(),e-=Di(e,Nl);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function gD(t){var e,n;if(t=_n(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Dp:Op,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Vl-Di(e+(this._isUTC?0:this.utcOffset()*Oi),Vl)-1;break;case"minute":e=this._d.valueOf(),e+=Oi-Di(e,Oi)-1;break;case"second":e=this._d.valueOf(),e+=Nl-Di(e,Nl)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function _D(){return this._d.valueOf()-(this._offset||0)*6e4}function yD(){return Math.floor(this.valueOf()/1e3)}function wD(){return new Date(this.valueOf())}function bD(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function kD(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function CD(){return this.isValid()?this.toISOString():null}function xD(){return Au(this)}function MD(){return es({},_e(this))}function vD(){return _e(this).overflow}function SD(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}oe("N",0,0,"eraAbbr"),oe("NN",0,0,"eraAbbr"),oe("NNN",0,0,"eraAbbr"),oe("NNNN",0,0,"eraName"),oe("NNNNN",0,0,"eraNarrow"),oe("y",["y",1],"yo","eraYear"),oe("y",["yy",2],0,"eraYear"),oe("y",["yyy",3],0,"eraYear"),oe("y",["yyyy",4],0,"eraYear"),se("N",c1),se("NN",c1),se("NNN",c1),se("NNNN",AD),se("NNNNN",FD),Re(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var s=n._locale.erasParse(t,r,n._strict);s?_e(n).era=s:_e(n).invalidEra=t}),se("y",Mi),se("yy",Mi),se("yyy",Mi),se("yyyy",Mi),se("yo",RD),Re(["y","yy","yyy","yyyy"],Pt),Re(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Pt]=n._locale.eraYearOrdinalParse(t,s):e[Pt]=parseInt(t,10)});function TD(t,e){var n,r,s,i=this._eras||Mr("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":s=re(i[n].since).startOf("day"),i[n].since=s.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":s=re(i[n].until).startOf("day").valueOf(),i[n].until=s.valueOf();break}}return i}function OD(t,e,n){var r,s,i=this.eras(),a,l,c;for(t=t.toUpperCase(),r=0,s=i.length;r<s;++r)if(a=i[r].name.toUpperCase(),l=i[r].abbr.toUpperCase(),c=i[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(l===t)return i[r];break;case"NNNN":if(a===t)return i[r];break;case"NNNNN":if(c===t)return i[r];break}else if([a,l,c].indexOf(t)>=0)return i[r]}function DD(t,e){var n=t.since<=t.until?1:-1;return e===void 0?re(t.since).year():re(t.since).year()+(e-t.offset)*n}function ED(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].name;return""}function PD(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].narrow;return""}function LD(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].abbr;return""}function $D(){var t,e,n,r,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-re(s[t].since).year())*n+s[t].offset;return this.year()}function ND(t){return De(this,"_erasNameRegex")||d1.call(this),t?this._erasNameRegex:this._erasRegex}function VD(t){return De(this,"_erasAbbrRegex")||d1.call(this),t?this._erasAbbrRegex:this._erasRegex}function BD(t){return De(this,"_erasNarrowRegex")||d1.call(this),t?this._erasNarrowRegex:this._erasRegex}function c1(t,e){return e.erasAbbrRegex(t)}function AD(t,e){return e.erasNameRegex(t)}function FD(t,e){return e.erasNarrowRegex(t)}function RD(t,e){return e._eraYearOrdinalRegex||Mi}function d1(){var t=[],e=[],n=[],r=[],s,i,a,l,c,d=this.eras();for(s=0,i=d.length;s<i;++s)a=br(d[s].name),l=br(d[s].abbr),c=br(d[s].narrow),e.push(a),t.push(l),n.push(c),r.push(a),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}oe(0,["gg",2],0,function(){return this.weekYear()%100}),oe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Bl(t,e){oe(0,[t,t.length],0,e)}Bl("gggg","weekYear"),Bl("ggggg","weekYear"),Bl("GGGG","isoWeekYear"),Bl("GGGGG","isoWeekYear"),se("G",Ml),se("g",Ml),se("GG",Ue,sn),se("gg",Ue,sn),se("GGGG",Uu,Zu),se("gggg",Uu,Zu),se("GGGGG",xl,kl),se("ggggg",xl,kl),Ho(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Ho(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function ID(t){return Ep.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function zD(t){return Ep.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function YD(){return xr(this.year(),1,4)}function HD(){return xr(this.isoWeekYear(),1,4)}function WD(){var t=this.localeData()._week;return xr(this.year(),t.dow,t.doy)}function jD(){var t=this.localeData()._week;return xr(this.weekYear(),t.dow,t.doy)}function Ep(t,e,n,r,s){var i;return t==null?Uo(this,r,s).year:(i=xr(t,r,s),e>i&&(e=i),ZD.call(this,t,e,n,r,s))}function ZD(t,e,n,r,s){var i=ap(t,e,n,r,s),a=Zo(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}oe("Q",0,"Qo","quarter"),se("Q",Km),Re("Q",function(t,e){e[kr]=(ke(t)-1)*3});function UD(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}oe("D",["DD",2],"Do","date"),se("D",Ue,vi),se("DD",Ue,sn),se("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Re(["D","DD"],nr),Re("Do",function(t,e){e[nr]=ke(t.match(Ue)[0])});var Pp=Si("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",Cl),se("DDDD",Xm),Re(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function qD(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}oe("m",["mm",2],0,"minute"),se("m",Ue,qu),se("mm",Ue,sn),Re(["m","mm"],$n);var GD=Si("Minutes",!1);oe("s",["ss",2],0,"second"),se("s",Ue,qu),se("ss",Ue,sn),Re(["s","ss"],Cr);var KD=Si("Seconds",!1);oe("S",0,0,function(){return~~(this.millisecond()/100)}),oe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),oe(0,["SSS",3],0,"millisecond"),oe(0,["SSSS",4],0,function(){return this.millisecond()*10}),oe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),oe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),oe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),oe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),oe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),se("S",Cl,Km),se("SS",Cl,sn),se("SSS",Cl,Xm);var ns,Lp;for(ns="SSSS";ns.length<=9;ns+="S")se(ns,Mi);function XD(t,e){e[Is]=ke(("0."+t)*1e3)}for(ns="S";ns.length<=9;ns+="S")Re(ns,XD);Lp=Si("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function QD(){return this._isUTC?"UTC":""}function JD(){return this._isUTC?"Coordinated Universal Time":""}var Q=zo.prototype;Q.add=jO,Q.calendar=QO,Q.clone=JO,Q.diff=oD,Q.endOf=gD,Q.format=dD,Q.from=uD,Q.fromNow=hD,Q.to=fD,Q.toNow=mD,Q.get=cT,Q.invalidAt=vD,Q.isAfter=eD,Q.isBefore=tD,Q.isBetween=nD,Q.isSame=rD,Q.isSameOrAfter=sD,Q.isSameOrBefore=iD,Q.isValid=xD,Q.lang=vp,Q.locale=Mp,Q.localeData=Sp,Q.max=xO,Q.min=CO,Q.parsingFlags=MD,Q.set=dT,Q.startOf=pD,Q.subtract=ZO,Q.toArray=bD,Q.toObject=kD,Q.toDate=wD,Q.toISOString=lD,Q.inspect=cD,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=CD,Q.toString=aD,Q.unix=yD,Q.valueOf=_D,Q.creationData=SD,Q.eraName=ED,Q.eraNarrow=PD,Q.eraAbbr=LD,Q.eraYear=$D,Q.year=ep,Q.isLeapYear=lT,Q.weekYear=ID,Q.isoWeekYear=zD,Q.quarter=Q.quarters=UD,Q.month=ip,Q.daysInMonth=wT,Q.week=Q.weeks=TT,Q.isoWeek=Q.isoWeeks=OT,Q.weeksInYear=WD,Q.weeksInWeekYear=jD,Q.isoWeeksInYear=YD,Q.isoWeeksInISOWeekYear=HD,Q.date=Pp,Q.day=Q.days=zT,Q.weekday=YT,Q.isoWeekday=HT,Q.dayOfYear=qD,Q.hour=Q.hours=KT,Q.minute=Q.minutes=GD,Q.second=Q.seconds=KD,Q.millisecond=Q.milliseconds=Lp,Q.utcOffset=LO,Q.utc=NO,Q.local=VO,Q.parseZone=BO,Q.hasAlignedHourOffset=AO,Q.isDST=FO,Q.isLocal=IO,Q.isUtcOffset=zO,Q.isUtc=wp,Q.isUTC=wp,Q.zoneAbbr=QD,Q.zoneName=JD,Q.dates=gn("dates accessor is deprecated. Use date instead.",Pp),Q.months=gn("months accessor is deprecated. Use month instead",ip),Q.years=gn("years accessor is deprecated. Use year instead",ep),Q.zone=gn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$O),Q.isDSTShifted=gn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",RO);function eE(t){return qe(t*1e3)}function tE(){return qe.apply(null,arguments).parseZone()}function $p(t){return t}var Ee=zu.prototype;Ee.calendar=IS,Ee.longDateFormat=WS,Ee.invalidDate=ZS,Ee.ordinal=GS,Ee.preparse=$p,Ee.postformat=$p,Ee.relativeTime=XS,Ee.pastFuture=QS,Ee.set=FS,Ee.eras=TD,Ee.erasParse=OD,Ee.erasConvertYear=DD,Ee.erasAbbrRegex=VD,Ee.erasNameRegex=ND,Ee.erasNarrowRegex=BD,Ee.months=pT,Ee.monthsShort=gT,Ee.monthsParse=yT,Ee.monthsRegex=kT,Ee.monthsShortRegex=bT,Ee.week=xT,Ee.firstDayOfYear=ST,Ee.firstDayOfWeek=vT,Ee.weekdays=BT,Ee.weekdaysMin=FT,Ee.weekdaysShort=AT,Ee.weekdaysParse=IT,Ee.weekdaysRegex=WT,Ee.weekdaysShortRegex=jT,Ee.weekdaysMinRegex=ZT,Ee.isPM=qT,Ee.meridiem=XT;function Al(t,e,n,r){var s=Mr(),i=Jn().set(r,e);return s[n](i,t)}function Np(t,e,n){if(wr(t)&&(e=t,t=void 0),t=t||"",e!=null)return Al(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Al(t,r,n,"month");return s}function u1(t,e,n,r){typeof t=="boolean"?(wr(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,wr(e)&&(n=e,e=void 0),e=e||"");var s=Mr(),i=t?s._week.dow:0,a,l=[];if(n!=null)return Al(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Al(e,(a+i)%7,r,"day");return l}function nE(t,e){return Np(t,e,"months")}function rE(t,e){return Np(t,e,"monthsShort")}function sE(t,e,n){return u1(t,e,n,"weekdays")}function iE(t,e,n){return u1(t,e,n,"weekdaysShort")}function oE(t,e,n){return u1(t,e,n,"weekdaysMin")}ts("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=ke(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),re.lang=gn("moment.lang is deprecated. Use moment.locale instead.",ts),re.langData=gn("moment.langData is deprecated. Use moment.localeData instead.",Mr);var vr=Math.abs;function aE(){var t=this._data;return this._milliseconds=vr(this._milliseconds),this._days=vr(this._days),this._months=vr(this._months),t.milliseconds=vr(t.milliseconds),t.seconds=vr(t.seconds),t.minutes=vr(t.minutes),t.hours=vr(t.hours),t.months=vr(t.months),t.years=vr(t.years),this}function Vp(t,e,n,r){var s=Nn(e,n);return t._milliseconds+=r*s._milliseconds,t._days+=r*s._days,t._months+=r*s._months,t._bubble()}function lE(t,e){return Vp(this,t,e,1)}function cE(t,e){return Vp(this,t,e,-1)}function Bp(t){return t<0?Math.floor(t):Math.ceil(t)}function dE(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data,s,i,a,l,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=Bp(h1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=yn(t/1e3),r.seconds=s%60,i=yn(s/60),r.minutes=i%60,a=yn(i/60),r.hours=a%24,e+=yn(a/24),c=yn(Ap(e)),n+=c,e-=Bp(h1(c)),l=yn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function Ap(t){return t*4800/146097}function h1(t){return t*146097/4800}function uE(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=_n(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+Ap(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(h1(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return e*24+r/36e5;case"minute":return e*1440+r/6e4;case"second":return e*86400+r/1e3;case"millisecond":return Math.floor(e*864e5)+r;default:throw new Error("Unknown unit "+t)}}function Sr(t){return function(){return this.as(t)}}var Fp=Sr("ms"),hE=Sr("s"),fE=Sr("m"),mE=Sr("h"),pE=Sr("d"),gE=Sr("w"),_E=Sr("M"),yE=Sr("Q"),wE=Sr("y"),bE=Fp;function kE(){return Nn(this)}function CE(t){return t=_n(t),this.isValid()?this[t+"s"]():NaN}function Ys(t){return function(){return this.isValid()?this._data[t]:NaN}}var xE=Ys("milliseconds"),ME=Ys("seconds"),vE=Ys("minutes"),SE=Ys("hours"),TE=Ys("days"),OE=Ys("months"),DE=Ys("years");function EE(){return yn(this.days()/7)}var Tr=Math.round,Ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function PE(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function LE(t,e,n,r){var s=Nn(t).abs(),i=Tr(s.as("s")),a=Tr(s.as("m")),l=Tr(s.as("h")),c=Tr(s.as("d")),d=Tr(s.as("M")),u=Tr(s.as("w")),h=Tr(s.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),f=f||d<=1&&["M"]||d<n.M&&["MM",d]||h<=1&&["y"]||["yy",h],f[2]=e,f[3]=+t>0,f[4]=r,PE.apply(null,f)}function $E(t){return t===void 0?Tr:typeof t=="function"?(Tr=t,!0):!1}function NE(t,e){return Ei[t]===void 0?!1:e===void 0?Ei[t]:(Ei[t]=e,t==="s"&&(Ei.ss=e-1),!0)}function VE(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Ei,s,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},Ei,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),s=this.localeData(),i=LE(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var f1=Math.abs;function Pi(t){return(t>0)-(t<0)||+t}function Fl(){if(!this.isValid())return this.localeData().invalidDate();var t=f1(this._milliseconds)/1e3,e=f1(this._days),n=f1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=yn(t/60),s=yn(r/60),t%=60,r%=60,i=yn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=Pi(this._months)!==Pi(l)?"-":"",u=Pi(this._days)!==Pi(l)?"-":"",h=Pi(this._milliseconds)!==Pi(l)?"-":"",c+"P"+(i?d+i+"Y":"")+(n?d+n+"M":"")+(e?u+e+"D":"")+(s||r||t?"T":"")+(s?h+s+"H":"")+(r?h+r+"M":"")+(t?h+a+"S":"")):"P0D"}var Se=Pl.prototype;Se.isValid=OO,Se.abs=aE,Se.add=lE,Se.subtract=cE,Se.as=uE,Se.asMilliseconds=Fp,Se.asSeconds=hE,Se.asMinutes=fE,Se.asHours=mE,Se.asDays=pE,Se.asWeeks=gE,Se.asMonths=_E,Se.asQuarters=yE,Se.asYears=wE,Se.valueOf=bE,Se._bubble=dE,Se.clone=kE,Se.get=CE,Se.milliseconds=xE,Se.seconds=ME,Se.minutes=vE,Se.hours=SE,Se.days=TE,Se.weeks=EE,Se.months=OE,Se.years=DE,Se.humanize=VE,Se.toISOString=Fl,Se.toString=Fl,Se.toJSON=Fl,Se.locale=Mp,Se.localeData=Sp,Se.toIsoString=gn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fl),Se.lang=vp,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),se("x",Ml),se("X",nT),Re("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),Re("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
45
- re.version="2.30.1",BS(qe),re.fn=Q,re.min=MO,re.max=vO,re.now=SO,re.utc=Jn,re.unix=eE,re.months=nE,re.isDate=Io,re.locale=ts,re.invalid=yl,re.duration=Nn,re.isMoment=Ln,re.weekdays=sE,re.parseZone=tE,re.localeData=Mr,re.isDuration=Ll,re.monthsShort=rE,re.weekdaysMin=oE,re.defineLocale=e1,re.updateLocale=tO,re.locales=nO,re.weekdaysShort=iE,re.normalizeUnits=_n,re.relativeTimeRounding=$E,re.relativeTimeThreshold=NE,re.calendarFormat=XO,re.prototype=Q,re.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const BE={class:"calendar-dropdown"},AE={class:"calendar-dropdown__outer__left"},FE={class:"calendar-dropdown__outer__current"},RE={key:0,class:"calendar-dropdown__inner"},IE={class:"calendar-dropdown__year-switcher"},zE={class:"calendar-dropdown__year-switcher__year"},YE={class:"calendar-dropdown__months"},HE={class:"calendar-dropdown__month-container"},WE=["onClick"],Rp=Pe({__name:"CalendarDropdown",props:o.mergeModels({currentDate:{type:Date}},{year:{},yearModifiers:{},month:{},monthModifiers:{}}),emits:o.mergeModels("onChange",["update:year","update:month"]),setup(t,{emit:e}){const n=e,r=t,s=o.useModel(t,"year"),i=o.useModel(t,"month"),a=re.months(),l=o.ref(!1),c=()=>{l.value=!l.value},d=f=>s.value===r.currentDate.getFullYear()&&f===r.currentDate.getMonth(),u=f=>s.value<r.currentDate.getFullYear()||s.value===r.currentDate.getFullYear()&&f<r.currentDate.getMonth(),h=f=>{n("onChange",{month:f,year:s.value}),c()};return(f,m)=>(o.openBlock(),o.createElementBlock("div",BE,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:c},[o.createElementVNode("div",AE,[o.createVNode(o.unref(ze),{icon:"calendar"}),o.createElementVNode("span",FE,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(ze),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?(o.openBlock(),o.createElementBlock("div",RE,[o.createElementVNode("div",IE,[o.createVNode(o.unref(_c),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",zE,o.toDisplayString(s.value),1),o.createVNode(o.unref(_c),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",YE,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",HE,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,WE)]))),256))])])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-97075c93"]]),jE={class:"period-dropdown"},ZE={class:"period-dropdown__outer__left"},UE={class:"period-dropdown__outer__current"},qE={key:0,class:"period-dropdown__inner"},GE=["onClick"],Hs=Pe({__name:"PeriodDropdown",props:{modelValue:{},modelModifiers:{}},emits:o.mergeModels("onChange",["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue",{get(c){return s.find(d=>d.id===c)}}),s=[{name:"7 days",short:"7d",id:"week"},{name:"Month",short:"30d",id:"month"},{name:"Quarter",short:"90d",id:"quarter"},{name:"All time",short:"All",id:"all"}],i=o.ref(!1),a=()=>{i.value=!i.value},l=c=>{r.value=c,n("onChange"),a()};return(c,d)=>(o.openBlock(),o.createElementBlock("div",jE,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:a},[o.createElementVNode("div",ZE,[o.createVNode(o.unref(ze),{icon:"clock"}),o.createElementVNode("span",UE,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(ze),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?(o.openBlock(),o.createElementBlock("div",qE,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(s,u=>o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__option",{"-active":u.id===r.value.id}]),onClick:h=>l(u.id)},[o.createTextVNode(o.toDisplayString(u.name)+" ",1),u.id===r.value.id?(o.openBlock(),o.createBlock(o.unref(ze),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,GE)),64))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-76a97d26"]]),KE={class:"progress-line-container"},XE={class:"progress-line"},QE={class:"progress-line__part"},JE={class:"progress-digits"},eP={class:"progress-digits__value"},tP={class:"progress-digits__value"},nP={class:"progress-digits__value"},Ip=Pe({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?jt(e.currentProfit/e.profit*100):e.currentProfit<0?jt(e.currentProfit/e.drawdown*100):0),r=a=>{if(!e.profit||!e.currentProfit)return 0;if(a>4){const l=a-5,c=25*l,d=25*(l+1);return n.value>d?100:n.value<c?0:(n.value-c)*4}else{const l=100-25*a,c=100-25*(a-1);return-n.value>c?100:-n.value<l?0:(-n.value-l)*4}},s=a=>{const l=e.currentProfit>0?a-1:a;return a===5?e.currentProfit!==0:r(l)===100},i=o.computed(()=>Math.abs(n.value)>100?n.value<0?"0%":"100%":e.currentProfit>0?`calc(${50+n.value/2}% - 88px)`:e.currentProfit<0?50+n.value/2+"%":"50%");return(a,l)=>(o.openBlock(),o.createElementBlock("div",KE,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(n.value)+"% finished",5),o.createElementVNode("div",XE,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",QE,[o.createElementVNode("div",{class:o.normalizeClass(["progress-line__dot",{"-positive":s(c)}])},null,2),c!==9?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["progress-line__line",{"-negative-line":c<5}])},[o.createElementVNode("div",{class:"progress-line__progress",style:o.normalizeStyle({width:`${r(c)}%`})},null,4)],2)):o.createCommentVNode("",!0)])),64))]),o.createElementVNode("div",JE,[o.createElementVNode("div",eP,"-"+o.toDisplayString(o.unref(xn)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",tP,o.toDisplayString(o.unref(xn)(0,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",nP," +"+o.toDisplayString(o.unref(xn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)])]))}},[["__scopeId","data-v-44f0a07a"]]),rP={class:"widget-chips__text"},Rl=Pe({__name:"WidgetChips",props:{delta:Number,isHidden:Boolean,percentage:Boolean,isNegative:Boolean,isPositive:Boolean},setup(t){const e=t,n=o.computed(()=>e.isHidden?"****":Math.abs(e.delta)+(e.percentage?"%":""));return(r,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["widget-chips",t.delta>0&&!t.isNegative||t.isPositive?"-positive":"-negative"])},[o.createVNode(o.unref(ze),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",rP,o.toDisplayString(n.value),1)],2))}},[["__scopeId","data-v-1b121ea0"]]);/*! js-cookie v3.0.5 | MIT */function Il(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var sP={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 m1(t,e){function n(s,i,a){if(!(typeof document>"u")){a=Il({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in a)a[c]&&(l+="; "+c,a[c]!==!0&&(l+="="+a[c].split(";")[0]));return document.cookie=s+"="+t.write(i,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],a={},l=0;l<i.length;l++){var c=i[l].split("="),d=c.slice(1).join("=");try{var u=decodeURIComponent(c[0]);if(a[u]=t.read(d,u),s===u)break}catch{}}return s?a[s]:a}}return Object.create({set:n,get:r,remove:function(s,i){n(s,"",Il({},i,{expires:-1}))},withAttributes:function(s){return m1(this.converter,Il({},this.attributes,s))},withConverter:function(s){return m1(Il({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Li=m1(sP,{path:"/"});class on{static setItem(e,n,r=Date.now()+31449600){Li.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return Li.get(e)}static removeItem(e){Li.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(Li.get());for(const n of e)Li.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return Li.get()}}function zp(t,e){return function(){return t.apply(e,arguments)}}const{toString:iP}=Object.prototype,{getPrototypeOf:p1}=Object,zl=(t=>e=>{const n=iP.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rr=t=>(t=t.toLowerCase(),e=>zl(e)===t),Yl=t=>e=>typeof e===t,{isArray:$i}=Array,Xo=Yl("undefined");function oP(t){return t!==null&&!Xo(t)&&t.constructor!==null&&!Xo(t.constructor)&&wn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Yp=rr("ArrayBuffer");function aP(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Yp(t.buffer),e}const lP=Yl("string"),wn=Yl("function"),Hp=Yl("number"),Hl=t=>t!==null&&typeof t=="object",cP=t=>t===!0||t===!1,Wl=t=>{if(zl(t)!=="object")return!1;const e=p1(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},dP=rr("Date"),uP=rr("File"),hP=rr("Blob"),fP=rr("FileList"),mP=t=>Hl(t)&&wn(t.pipe),pP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||wn(t.append)&&((e=zl(t))==="formdata"||e==="object"&&wn(t.toString)&&t.toString()==="[object FormData]"))},gP=rr("URLSearchParams"),_P=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),$i(t))for(r=0,s=t.length;r<s;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),a=i.length;let l;for(r=0;r<a;r++)l=i[r],e.call(null,t[l],l,t)}}function Wp(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,s;for(;r-- >0;)if(s=n[r],e===s.toLowerCase())return s;return null}const jp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zp=t=>!Xo(t)&&t!==jp;function g1(){const{caseless:t}=Zp(this)&&this||{},e={},n=(r,s)=>{const i=t&&Wp(e,s)||s;Wl(e[i])&&Wl(r)?e[i]=g1(e[i],r):Wl(r)?e[i]=g1({},r):$i(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Qo(arguments[r],n);return e}const yP=(t,e,n,{allOwnKeys:r}={})=>(Qo(e,(s,i)=>{n&&wn(s)?t[i]=zp(s,n):t[i]=s},{allOwnKeys:r}),t),wP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),bP=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},kP=(t,e,n,r)=>{let s,i,a;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)a=s[i],(!r||r(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=n!==!1&&p1(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},CP=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},xP=t=>{if(!t)return null;if($i(t))return t;let e=t.length;if(!Hp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},MP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&p1(Uint8Array)),vP=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=r.next())&&!s.done;){const i=s.value;e.call(t,i[0],i[1])}},SP=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},TP=rr("HTMLFormElement"),OP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Up=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),DP=rr("RegExp"),qp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Qo(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},EP=t=>{qp(t,(e,n)=>{if(wn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(wn(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},PP=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return $i(t)?r(t):r(String(t).split(e)),n},LP=()=>{},$P=(t,e)=>(t=+t,Number.isFinite(t)?t:e),_1="abcdefghijklmnopqrstuvwxyz",Gp="0123456789",Kp={DIGIT:Gp,ALPHA:_1,ALPHA_DIGIT:_1+_1.toUpperCase()+Gp},NP=(t=16,e=Kp.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function VP(t){return!!(t&&wn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const BP=t=>{const e=new Array(10),n=(r,s)=>{if(Hl(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=$i(r)?[]:{};return Qo(r,(a,l)=>{const c=n(a,s+1);!Xo(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},AP=rr("AsyncFunction"),H={isArray:$i,isArrayBuffer:Yp,isBuffer:oP,isFormData:pP,isArrayBufferView:aP,isString:lP,isNumber:Hp,isBoolean:cP,isObject:Hl,isPlainObject:Wl,isUndefined:Xo,isDate:dP,isFile:uP,isBlob:hP,isRegExp:DP,isFunction:wn,isStream:mP,isURLSearchParams:gP,isTypedArray:MP,isFileList:fP,forEach:Qo,merge:g1,extend:yP,trim:_P,stripBOM:wP,inherits:bP,toFlatObject:kP,kindOf:zl,kindOfTest:rr,endsWith:CP,toArray:xP,forEachEntry:vP,matchAll:SP,isHTMLForm:TP,hasOwnProperty:Up,hasOwnProp:Up,reduceDescriptors:qp,freezeMethods:EP,toObjectSet:PP,toCamelCase:OP,noop:LP,toFiniteNumber:$P,findKey:Wp,global:jp,isContextDefined:Zp,ALPHABET:Kp,generateString:NP,isSpecCompliantForm:VP,toJSONObject:BP,isAsyncFn:AP,isThenable:t=>t&&(Hl(t)||wn(t))&&wn(t.then)&&wn(t.catch)};function Te(t,e,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}H.inherits(Te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xp=Te.prototype,Qp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Qp[t]={value:t}}),Object.defineProperties(Te,Qp),Object.defineProperty(Xp,"isAxiosError",{value:!0}),Te.from=(t,e,n,r,s,i)=>{const a=Object.create(Xp);return H.toFlatObject(t,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Te.call(a,t.message,e,n,r,s),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const FP=null;function y1(t){return H.isPlainObject(t)||H.isArray(t)}function Jp(t){return H.endsWith(t,"[]")?t.slice(0,-2):t}function e3(t,e,n){return t?t.concat(e).map(function(s,i){return s=Jp(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function RP(t){return H.isArray(t)&&!t.some(y1)}const IP=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)});function jl(t,e,n){if(!H.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!H.isUndefined(_[p])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(e);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function d(g){if(g===null)return"";if(H.isDate(g))return g.toISOString();if(!c&&H.isBlob(g))throw new Te("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(g)||H.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,_){let y=g;if(g&&!_&&typeof g=="object"){if(H.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(H.isArray(g)&&RP(g)||(H.isFileList(g)||H.endsWith(p,"[]"))&&(y=H.toArray(g)))return p=Jp(p),y.forEach(function(k,S){!(H.isUndefined(k)||k===null)&&e.append(a===!0?e3([p],S,i):a===null?p:p+"[]",d(k))}),!1}return y1(g)?!0:(e.append(e3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(IP,{defaultVisitor:u,convertValue:d,isVisitable:y1});function m(g,p){if(!H.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),H.forEach(g,function(y,C){(!(H.isUndefined(y)||y===null)&&s.call(e,y,H.isString(C)?C.trim():C,p,f))===!0&&m(y,p?p.concat(C):[C])}),h.pop()}}if(!H.isObject(t))throw new TypeError("data must be an object");return m(t),e}function t3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function w1(t,e){this._pairs=[],t&&jl(t,this,e)}const n3=w1.prototype;n3.append=function(e,n){this._pairs.push([e,n])},n3.toString=function(e){const n=e?function(r){return e.call(this,r,t3)}:t3;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function zP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function r3(t,e,n){if(!e)return t;const r=n&&n.encode||zP,s=n&&n.serialize;let i;if(s?i=s(e,n):i=H.isURLSearchParams(e)?e.toString():new w1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class s3{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,function(r){r!==null&&e(r)})}}const i3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:w1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},o3=typeof window<"u"&&typeof document<"u",HP=(t=>o3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),WP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sr={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:o3,hasStandardBrowserEnv:HP,hasStandardBrowserWebWorkerEnv:WP},Symbol.toStringTag,{value:"Module"})),...YP};function jP(t,e){return jl(t,new sr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return sr.isNode&&H.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function ZP(t){return H.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function UP(t){const e={},n=Object.keys(t);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],e[i]=t[i];return e}function a3(t){function e(n,r,s,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=i>=n.length;return a=!a&&H.isArray(s)?s.length:a,c?(H.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!H.isObject(s[a]))&&(s[a]=[]),e(n,r,s[a],i)&&H.isArray(s[a])&&(s[a]=UP(s[a])),!l)}if(H.isFormData(t)&&H.isFunction(t.entries)){const n={};return H.forEachEntry(t,(r,s)=>{e(ZP(r),s,n,0)}),n}return null}function qP(t,e,n){if(H.isString(t))try{return(e||JSON.parse)(t),H.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const b1={transitional:i3,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=H.isObject(e);if(i&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return s?JSON.stringify(a3(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return jP(e,this.formSerializer).toString();if((l=H.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return jl(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),qP(e)):e}],transformResponse:[function(e){const n=this.transitional||b1.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&H.isString(e)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(l){if(a)throw l.name==="SyntaxError"?Te.from(l,Te.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sr.classes.FormData,Blob:sr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],t=>{b1.headers[t]={}});const k1=b1,GP=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),KP=t=>{const e={};let n,r,s;return t&&t.split(`
46
- `).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||e[n]&&GP[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},l3=Symbol("internals");function Jo(t){return t&&String(t).trim().toLowerCase()}function Zl(t){return t===!1||t==null?t:H.isArray(t)?t.map(Zl):String(t)}function XP(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const QP=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function C1(t,e,n,r,s){if(H.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!H.isString(e)){if(H.isString(r))return e.indexOf(r)!==-1;if(H.isRegExp(r))return r.test(e)}}function JP(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function eL(t,e){const n=H.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,a){return this[r].call(this,e,s,i,a)},configurable:!0})})}class Ul{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=Jo(c);if(!u)throw new Error("header name must be a non-empty string");const h=H.findKey(s,u);(!h||s[h]===void 0||d===!0||d===void 0&&s[h]!==!1)&&(s[h||c]=Zl(l))}const a=(l,c)=>H.forEach(l,(d,u)=>i(d,u,c));return H.isPlainObject(e)||e instanceof this.constructor?a(e,n):H.isString(e)&&(e=e.trim())&&!QP(e)?a(KP(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Jo(e),e){const r=H.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return XP(s);if(H.isFunction(n))return n.call(this,s,r);if(H.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Jo(e),e){const r=H.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||C1(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=Jo(a),a){const l=H.findKey(r,a);l&&(!n||C1(r,r[l],l,n))&&(delete r[l],s=!0)}}return H.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||C1(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return H.forEach(this,(s,i)=>{const a=H.findKey(r,i);if(a){n[a]=Zl(s),delete n[i];return}const l=e?JP(i):String(i).trim();l!==i&&delete n[i],n[l]=Zl(s),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return H.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&H.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
47
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[l3]=this[l3]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=Jo(a);r[l]||(eL(s,a),r[l]=!0)}return H.isArray(e)?e.forEach(i):i(e),this}}Ul.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(Ul.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),H.freezeMethods(Ul);const Or=Ul;function x1(t,e){const n=this||k1,r=e||n,s=Or.from(r.headers);let i=r.data;return H.forEach(t,function(l){i=l.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function c3(t){return!!(t&&t.__CANCEL__)}function ea(t,e,n){Te.call(this,t??"canceled",Te.ERR_CANCELED,e,n),this.name="CanceledError"}H.inherits(ea,Te,{__CANCEL__:!0});function tL(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Te("Request failed with status code "+n.status,[Te.ERR_BAD_REQUEST,Te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const nL=sr.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const a=[t+"="+encodeURIComponent(e)];H.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),H.isString(r)&&a.push("path="+r),H.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function sL(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function d3(t,e){return t&&!rL(e)?sL(t,e):e}const iL=sr.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let a=i;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(a){const l=H.isString(a)?s(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function oL(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function aL(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const d=Date.now(),u=r[i];a||(a=d),n[s]=c,r[s]=d;let h=i,f=0;for(;h!==s;)f+=n[h++],h=h%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),d-a<e)return;const m=u&&d-u;return m?Math.round(f*1e3/m):void 0}}function u3(t,e){let n=0;const r=aL(50,250);return s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-n,c=r(l),d=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&d?(a-i)/c:void 0,event:s};u[e?"download":"upload"]=!0,t(u)}}const M1={http:FP,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let s=t.data;const i=Or.from(t.headers).normalize();let{responseType:a,withXSRFToken:l}=t,c;function d(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let u;if(H.isFormData(s)){if(sr.hasStandardBrowserEnv||sr.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[p,..._]=u?u.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([p||"multipart/form-data",..._].join("; "))}}let h=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+_))}const f=d3(t.baseURL,t.url);h.open(t.method.toUpperCase(),r3(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function m(){if(!h)return;const p=Or.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:t,request:h};tL(function(k){n(k),d()},function(k){r(k),d()},y),h=null}if("onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(m)},h.onabort=function(){h&&(r(new Te("Request aborted",Te.ECONNABORTED,t,h)),h=null)},h.onerror=function(){r(new Te("Network Error",Te.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||i3;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(new Te(_,y.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,t,h)),h=null},sr.hasStandardBrowserEnv&&(l&&H.isFunction(l)&&(l=l(t)),l||l!==!1&&iL(f))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&nL.read(t.xsrfCookieName);p&&i.set(t.xsrfHeaderName,p)}s===void 0&&i.setContentType(null),"setRequestHeader"in h&&H.forEach(i.toJSON(),function(_,y){h.setRequestHeader(y,_)}),H.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",u3(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",u3(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new ea(null,t,h):p),h.abort(),h=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c)));const g=oL(f);if(g&&sr.protocols.indexOf(g)===-1){r(new Te("Unsupported protocol "+g+":",Te.ERR_BAD_REQUEST,t));return}h.send(s||null)})}};H.forEach(M1,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const h3=t=>`- ${t}`,lL=t=>H.isFunction(t)||t===null||t===!1,f3={getAdapter:t=>{t=H.isArray(t)?t:[t];const{length:e}=t;let n,r;const s={};for(let i=0;i<e;i++){n=t[i];let a;if(r=n,!lL(n)&&(r=M1[(a=String(n)).toLowerCase()],r===void 0))throw new Te(`Unknown adapter '${a}'`);if(r)break;s[a||"#"+i]=r}if(!r){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=e?i.length>1?`since :
44
+ `+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Zm={};function Um(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),Zm[t]||(jm(e),Zm[t]=!0)}re.suppressDeprecationWarnings=!1,re.deprecationHandler=null;function er(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function YS(t){var e,n;for(n in t)Ee(t,n)&&(e=t[n],er(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Iu(t,e){var n=es({},t),r;for(r in e)Ee(e,r)&&(Rs(t[r])&&Rs(e[r])?(n[r]={},es(n[r],t[r]),es(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)Ee(t,r)&&!Ee(e,r)&&Rs(t[r])&&(n[r]=es({},n[r]));return n}function zu(t){t!=null&&this.set(t)}var Yu;Object.keys?Yu=Object.keys:Yu=function(t){var e,n=[];for(e in t)Ee(t,e)&&n.push(e);return n};var HS={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function WS(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return er(r)?r.call(e,n):r}function tr(t,e,n){var r=""+Math.abs(t),s=e-r.length,i=t>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var Hu=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,wl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Wu={},xi={};function oe(t,e,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),t&&(xi[t]=s),e&&(xi[e[0]]=function(){return tr(s.apply(this,arguments),e[1],e[2])}),n&&(xi[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function jS(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function ZS(t){var e=t.match(Hu),n,r;for(n=0,r=e.length;n<r;n++)xi[e[n]]?e[n]=xi[e[n]]:e[n]=jS(e[n]);return function(s){var i="",a;for(a=0;a<r;a++)i+=er(e[a])?e[a].call(s,t):e[a];return i}}function bl(t,e){return t.isValid()?(e=qm(e,t.localeData()),Wu[e]=Wu[e]||ZS(e),Wu[e](t)):t.localeData().invalidDate()}function qm(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(wl.lastIndex=0;n>=0&&wl.test(t);)t=t.replace(wl,r),wl.lastIndex=0,n-=1;return t}var US={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"};function qS(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Hu).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var GS="Invalid date";function KS(){return this._invalidDate}var XS="%d",QS=/\d{1,2}/;function JS(t){return this._ordinal.replace("%d",t)}var eT={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tT(t,e,n,r){var s=this._relativeTime[n];return er(s)?s(t,e,n,r):s.replace(/%d/i,t)}function nT(t,e){var n=this._relativeTime[t>0?"future":"past"];return er(n)?n(e):n.replace(/%s/i,e)}var Gm={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function _n(t){return typeof t=="string"?Gm[t]||Gm[t.toLowerCase()]:void 0}function ju(t){var e={},n,r;for(r in t)Ee(t,r)&&(n=_n(r),n&&(e[n]=t[r]));return e}var rT={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function sT(t){var e=[],n;for(n in t)Ee(t,n)&&e.push({unit:n,priority:rT[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var Km=/\d/,sn=/\d\d/,Xm=/\d{3}/,Zu=/\d{4}/,kl=/[+-]?\d{6}/,Ue=/\d\d?/,Qm=/\d\d\d\d?/,Jm=/\d\d\d\d\d\d?/,Cl=/\d{1,3}/,Uu=/\d{1,4}/,xl=/[+-]?\d{1,6}/,Mi=/\d+/,Ml=/[+-]?\d+/,iT=/Z|[+-]\d\d:?\d\d/gi,vl=/Z|[+-]\d\d(?::?\d\d)?/gi,oT=/[+-]?\d+(\.\d{1,3})?/,Yo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,vi=/^[1-9]\d?/,qu=/^([1-9]\d|\d)/,Sl;Sl={};function se(t,e,n){Sl[t]=er(e)?e:function(r,s){return r&&n?n:e}}function aT(t,e){return Ee(Sl,t)?Sl[t](e._strict,e._locale):new RegExp(lT(t))}function lT(t){return br(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,s,i){return n||r||s||i}))}function br(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function yn(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ke(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=yn(e)),n}var Gu={};function Re(t,e){var n,r=e,s;for(typeof t=="string"&&(t=[t]),wr(e)&&(r=function(i,a){a[e]=ke(i)}),s=t.length,n=0;n<s;n++)Gu[t[n]]=r}function Ho(t,e){Re(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function cT(t,e,n){e!=null&&Ee(Gu,t)&&Gu[t](e,n._a,n,t)}function Tl(t){return t%4===0&&t%100!==0||t%400===0}var Pt=0,kr=1,nr=2,bt=3,$n=4,Cr=5,Is=6,dT=7,uT=8;oe("Y",0,0,function(){var t=this.year();return t<=9999?tr(t,4):"+"+t}),oe(0,["YY",2],0,function(){return this.year()%100}),oe(0,["YYYY",4],0,"year"),oe(0,["YYYYY",5],0,"year"),oe(0,["YYYYYY",6,!0],0,"year"),se("Y",Ml),se("YY",Ue,sn),se("YYYY",Uu,Zu),se("YYYYY",xl,kl),se("YYYYYY",xl,kl),Re(["YYYYY","YYYYYY"],Pt),Re("YYYY",function(t,e){e[Pt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),Re("YY",function(t,e){e[Pt]=re.parseTwoDigitYear(t)}),Re("Y",function(t,e){e[Pt]=parseInt(t,10)});function Wo(t){return Tl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var ep=Si("FullYear",!0);function hT(){return Tl(this.year())}function Si(t,e){return function(n){return n!=null?(tp(this,t,n),re.updateOffset(this,e),this):jo(this,t)}}function jo(t,e){if(!t.isValid())return NaN;var n=t._d,r=t._isUTC;switch(e){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function tp(t,e,n){var r,s,i,a,l;if(!(!t.isValid()||isNaN(n))){switch(r=t._d,s=t._isUTC,e){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=t.month(),l=t.date(),l=l===29&&a===1&&!Tl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function fT(t){return t=_n(t),er(this[t])?this[t]():this}function mT(t,e){if(typeof t=="object"){t=ju(t);var n=sT(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=_n(t),er(this[t]))return this[t](e);return this}function pT(t,e){return(t%e+e)%e}var pt;Array.prototype.indexOf?pt=Array.prototype.indexOf:pt=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Ku(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=pT(e,12);return t+=(e-n)/12,n===1?Tl(t)?29:28:31-n%7%2}oe("M",["MM",2],"Mo",function(){return this.month()+1}),oe("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),oe("MMMM",0,0,function(t){return this.localeData().months(this,t)}),se("M",Ue,vi),se("MM",Ue,sn),se("MMM",function(t,e){return e.monthsShortRegex(t)}),se("MMMM",function(t,e){return e.monthsRegex(t)}),Re(["M","MM"],function(t,e){e[kr]=ke(t)-1}),Re(["MMM","MMMM"],function(t,e,n,r){var s=n._locale.monthsParse(t,r,n._strict);s!=null?e[kr]=s:_e(n).invalidMonth=t});var gT="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),np="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rp=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,_T=Yo,yT=Yo;function wT(t,e){return t?Pn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||rp).test(e)?"format":"standalone"][t.month()]:Pn(this._months)?this._months:this._months.standalone}function bT(t,e){return t?Pn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[rp.test(e)?"format":"standalone"][t.month()]:Pn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function kT(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=Jn([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?e==="MMM"?(s=pt.call(this._shortMonthsParse,a),s!==-1?s:null):(s=pt.call(this._longMonthsParse,a),s!==-1?s:null):e==="MMM"?(s=pt.call(this._shortMonthsParse,a),s!==-1?s:(s=pt.call(this._longMonthsParse,a),s!==-1?s:null)):(s=pt.call(this._longMonthsParse,a),s!==-1?s:(s=pt.call(this._shortMonthsParse,a),s!==-1?s:null))}function CT(t,e,n){var r,s,i;if(this._monthsParseExact)return kT.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=Jn([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(i="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[r].test(t))return r;if(n&&e==="MMM"&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function sp(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=ke(e);else if(e=t.localeData().monthsParse(e),!wr(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,Ku(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function ip(t){return t!=null?(sp(this,t),re.updateOffset(this,!0),this):jo(this,"Month")}function xT(){return Ku(this.year(),this.month())}function MT(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||op.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ee(this,"_monthsShortRegex")||(this._monthsShortRegex=_T),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function vT(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||op.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ee(this,"_monthsRegex")||(this._monthsRegex=yT),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function op(){function t(c,d){return d.length-c.length}var e=[],n=[],r=[],s,i,a,l;for(s=0;s<12;s++)i=Jn([2e3,s]),a=br(this.monthsShort(i,"")),l=br(this.months(i,"")),e.push(a),n.push(l),r.push(l),r.push(a);e.sort(t),n.sort(t),r.sort(t),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function ST(t,e,n,r,s,i,a){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,r,s,i,a),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,r,s,i,a),l}function Zo(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Dl(t,e,n){var r=7+e-n,s=(7+Zo(t,0,r).getUTCDay()-e)%7;return-s+r-1}function ap(t,e,n,r,s){var i=(7+n-r)%7,a=Dl(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=Wo(c)+l):l>Wo(t)?(c=t+1,d=l-Wo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function Uo(t,e,n){var r=Dl(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1,i,a;return s<1?(a=t.year()-1,i=s+xr(a,e,n)):s>xr(t.year(),e,n)?(i=s-xr(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function xr(t,e,n){var r=Dl(t,e,n),s=Dl(t+1,e,n);return(Wo(t)-r+s)/7}oe("w",["ww",2],"wo","week"),oe("W",["WW",2],"Wo","isoWeek"),se("w",Ue,vi),se("ww",Ue,sn),se("W",Ue,vi),se("WW",Ue,sn),Ho(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function TT(t){return Uo(t,this._week.dow,this._week.doy).week}var DT={dow:0,doy:6};function OT(){return this._week.dow}function ET(){return this._week.doy}function PT(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function LT(t){var e=Uo(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}oe("d",0,"do","day"),oe("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),oe("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),oe("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),oe("e",0,0,"weekday"),oe("E",0,0,"isoWeekday"),se("d",Ue),se("e",Ue),se("E",Ue),se("dd",function(t,e){return e.weekdaysMinRegex(t)}),se("ddd",function(t,e){return e.weekdaysShortRegex(t)}),se("dddd",function(t,e){return e.weekdaysRegex(t)}),Ho(["dd","ddd","dddd"],function(t,e,n,r){var s=n._locale.weekdaysParse(t,r,n._strict);s!=null?e.d=s:_e(n).invalidWeekday=t}),Ho(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function $T(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function NT(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Xu(t,e){return t.slice(e,7).concat(t.slice(0,e))}var VT="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lp="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),BT="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),AT=Yo,FT=Yo,RT=Yo;function IT(t,e){var n=Pn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Xu(n,this._week.dow):t?n[t.day()]:n}function zT(t){return t===!0?Xu(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function YT(t){return t===!0?Xu(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function HT(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Jn([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?e==="dddd"?(s=pt.call(this._weekdaysParse,a),s!==-1?s:null):e==="ddd"?(s=pt.call(this._shortWeekdaysParse,a),s!==-1?s:null):(s=pt.call(this._minWeekdaysParse,a),s!==-1?s:null):e==="dddd"?(s=pt.call(this._weekdaysParse,a),s!==-1||(s=pt.call(this._shortWeekdaysParse,a),s!==-1)?s:(s=pt.call(this._minWeekdaysParse,a),s!==-1?s:null)):e==="ddd"?(s=pt.call(this._shortWeekdaysParse,a),s!==-1||(s=pt.call(this._weekdaysParse,a),s!==-1)?s:(s=pt.call(this._minWeekdaysParse,a),s!==-1?s:null)):(s=pt.call(this._minWeekdaysParse,a),s!==-1||(s=pt.call(this._weekdaysParse,a),s!==-1)?s:(s=pt.call(this._shortWeekdaysParse,a),s!==-1?s:null))}function WT(t,e,n){var r,s,i;if(this._weekdaysParseExact)return HT.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=Jn([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[r].test(t))return r;if(n&&e==="ddd"&&this._shortWeekdaysParse[r].test(t))return r;if(n&&e==="dd"&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function jT(t){if(!this.isValid())return t!=null?this:NaN;var e=jo(this,"Day");return t!=null?(t=$T(t,this.localeData()),this.add(t-e,"d")):e}function ZT(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function UT(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=NT(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function qT(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ee(this,"_weekdaysRegex")||(this._weekdaysRegex=AT),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function GT(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=FT),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function KT(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=RT),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qu(){function t(u,h){return h.length-u.length}var e=[],n=[],r=[],s=[],i,a,l,c,d;for(i=0;i<7;i++)a=Jn([2e3,1]).day(i),l=br(this.weekdaysMin(a,"")),c=br(this.weekdaysShort(a,"")),d=br(this.weekdays(a,"")),e.push(l),n.push(c),r.push(d),s.push(l),s.push(c),s.push(d);e.sort(t),n.sort(t),r.sort(t),s.sort(t),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Ju(){return this.hours()%12||12}function XT(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,Ju),oe("k",["kk",2],0,XT),oe("hmm",0,0,function(){return""+Ju.apply(this)+tr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+Ju.apply(this)+tr(this.minutes(),2)+tr(this.seconds(),2)}),oe("Hmm",0,0,function(){return""+this.hours()+tr(this.minutes(),2)}),oe("Hmmss",0,0,function(){return""+this.hours()+tr(this.minutes(),2)+tr(this.seconds(),2)});function cp(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}cp("a",!0),cp("A",!1);function dp(t,e){return e._meridiemParse}se("a",dp),se("A",dp),se("H",Ue,qu),se("h",Ue,vi),se("k",Ue,vi),se("HH",Ue,sn),se("hh",Ue,sn),se("kk",Ue,sn),se("hmm",Qm),se("hmmss",Jm),se("Hmm",Qm),se("Hmmss",Jm),Re(["H","HH"],bt),Re(["k","kk"],function(t,e,n){var r=ke(t);e[bt]=r===24?0:r}),Re(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Re(["h","hh"],function(t,e,n){e[bt]=ke(t),_e(n).bigHour=!0}),Re("hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r)),_e(n).bigHour=!0}),Re("hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s)),_e(n).bigHour=!0}),Re("Hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r))}),Re("Hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[$n]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s))});function QT(t){return(t+"").toLowerCase().charAt(0)==="p"}var JT=/[ap]\.?m?\.?/i,eD=Si("Hours",!0);function tD(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var up={calendar:HS,longDateFormat:US,invalidDate:GS,ordinal:XS,dayOfMonthOrdinalParse:QS,relativeTime:eT,months:gT,monthsShort:np,week:DT,weekdays:VT,weekdaysMin:BT,weekdaysShort:lp,meridiemParse:JT},Ke={},qo={},Go;function nD(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function hp(t){return t&&t.toLowerCase().replace("_","-")}function rD(t){for(var e=0,n,r,s,i;e<t.length;){for(i=hp(t[e]).split("-"),n=i.length,r=hp(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=Ol(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&nD(i,r)>=n-1)break;n--}e++}return Go}function sD(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Ol(t){var e=null,n;if(Ke[t]===void 0&&typeof module<"u"&&module&&module.exports&&sD(t))try{e=Go._abbr,n=require,n("./locale/"+t),ts(e)}catch{Ke[t]=null}return Ke[t]}function ts(t,e){var n;return t&&(Ht(e)?n=Mr(t):n=e1(t,e),n?Go=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Go._abbr}function e1(t,e){if(e!==null){var n,r=up;if(e.abbr=t,Ke[t]!=null)Um("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Ke[t]._config;else if(e.parentLocale!=null)if(Ke[e.parentLocale]!=null)r=Ke[e.parentLocale]._config;else if(n=Ol(e.parentLocale),n!=null)r=n._config;else return qo[e.parentLocale]||(qo[e.parentLocale]=[]),qo[e.parentLocale].push({name:t,config:e}),null;return Ke[t]=new zu(Iu(r,e)),qo[t]&&qo[t].forEach(function(s){e1(s.name,s.config)}),ts(t),Ke[t]}else return delete Ke[t],null}function iD(t,e){if(e!=null){var n,r,s=up;Ke[t]!=null&&Ke[t].parentLocale!=null?Ke[t].set(Iu(Ke[t]._config,e)):(r=Ol(t),r!=null&&(s=r._config),e=Iu(s,e),r==null&&(e.abbr=t),n=new zu(e),n.parentLocale=Ke[t],Ke[t]=n),ts(t)}else Ke[t]!=null&&(Ke[t].parentLocale!=null?(Ke[t]=Ke[t].parentLocale,t===ts()&&ts(t)):Ke[t]!=null&&delete Ke[t]);return Ke[t]}function Mr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Go;if(!Pn(t)){if(e=Ol(t),e)return e;t=[t]}return rD(t)}function oD(){return Yu(Ke)}function t1(t){var e,n=t._a;return n&&_e(t).overflow===-2&&(e=n[kr]<0||n[kr]>11?kr:n[nr]<1||n[nr]>Ku(n[Pt],n[kr])?nr:n[bt]<0||n[bt]>24||n[bt]===24&&(n[$n]!==0||n[Cr]!==0||n[Is]!==0)?bt:n[$n]<0||n[$n]>59?$n:n[Cr]<0||n[Cr]>59?Cr:n[Is]<0||n[Is]>999?Is:-1,_e(t)._overflowDayOfYear&&(e<Pt||e>nr)&&(e=nr),_e(t)._overflowWeeks&&e===-1&&(e=dT),_e(t)._overflowWeekday&&e===-1&&(e=uT),_e(t).overflow=e),t}var aD=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,lD=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,cD=/Z|[+-]\d\d(?::?\d\d)?/,El=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],n1=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],dD=/^\/?Date\((-?\d+)/i,uD=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,hD={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fp(t){var e,n,r=t._i,s=aD.exec(r)||lD.exec(r),i,a,l,c,d=El.length,u=n1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(El[e][1].exec(s[1])){a=El[e][0],i=El[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(n1[e][1].exec(s[3])){l=(s[2]||" ")+n1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(cD.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),s1(t)}else t._isValid=!1}function fD(t,e,n,r,s,i){var a=[mD(t),np.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function mD(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function pD(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function gD(t,e,n){if(t){var r=lp.indexOf(t),s=new Date(e[0],e[1],e[2]).getDay();if(r!==s)return _e(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function _D(t,e,n){if(t)return hD[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function mp(t){var e=uD.exec(pD(t._i)),n;if(e){if(n=fD(e[4],e[3],e[2],e[5],e[6],e[7]),!gD(e[1],n,t))return;t._a=n,t._tzm=_D(e[8],e[9],e[10]),t._d=Zo.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function yD(t){var e=dD.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(fp(t),t._isValid===!1)delete t._isValid;else return;if(mp(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=gn("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Ti(t,e,n){return t??e??n}function wD(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function r1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=wD(t),t._w&&t._a[nr]==null&&t._a[kr]==null&&bD(t),t._dayOfYear!=null&&(a=Ti(t._a[Pt],s[Pt]),(t._dayOfYear>Wo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=Zo(a,0,t._dayOfYear),t._a[kr]=n.getUTCMonth(),t._a[nr]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=s[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[bt]===24&&t._a[$n]===0&&t._a[Cr]===0&&t._a[Is]===0&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Zo:ST).apply(null,r),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(_e(t).weekdayMismatch=!0)}}function bD(t){var e,n,r,s,i,a,l,c,d;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,a=4,n=Ti(e.GG,t._a[Pt],Uo(qe(),1,4).year),r=Ti(e.W,1),s=Ti(e.E,1),(s<1||s>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,d=Uo(qe(),i,a),n=Ti(e.gg,t._a[Pt],d.year),r=Ti(e.w,d.week),e.d!=null?(s=e.d,(s<0||s>6)&&(c=!0)):e.e!=null?(s=e.e+i,(e.e<0||e.e>6)&&(c=!0)):s=i),r<1||r>xr(n,i,a)?_e(t)._overflowWeeks=!0:c!=null?_e(t)._overflowWeekday=!0:(l=ap(n,r,s,i,a),t._a[Pt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function s1(t){if(t._f===re.ISO_8601){fp(t);return}if(t._f===re.RFC_2822){mp(t);return}t._a=[],_e(t).empty=!0;var e=""+t._i,n,r,s,i,a,l=e.length,c=0,d,u;for(s=qm(t._f,t._locale).match(Hu)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(aT(i,t))||[])[0],r&&(a=e.substr(0,e.indexOf(r)),a.length>0&&_e(t).unusedInput.push(a),e=e.slice(e.indexOf(r)+r.length),c+=r.length),xi[i]?(r?_e(t).empty=!1:_e(t).unusedTokens.push(i),cT(i,r,t)):t._strict&&!r&&_e(t).unusedTokens.push(i);_e(t).charsLeftOver=l-c,e.length>0&&_e(t).unusedInput.push(e),t._a[bt]<=12&&_e(t).bigHour===!0&&t._a[bt]>0&&(_e(t).bigHour=void 0),_e(t).parsedDateParts=t._a.slice(0),_e(t).meridiem=t._meridiem,t._a[bt]=kD(t._locale,t._a[bt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Pt]=t._locale.erasConvertYear(d,t._a[Pt])),r1(t),t1(t)}function kD(t,e,n){var r;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(r=t.isPM(n),r&&e<12&&(e+=12),!r&&e===12&&(e=0)),e)}function CD(t){var e,n,r,s,i,a,l=!1,c=t._f.length;if(c===0){_e(t).invalidFormat=!0,t._d=new Date(NaN);return}for(s=0;s<c;s++)i=0,a=!1,e=Ru({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],s1(e),Au(e)&&(a=!0),i+=_e(e).charsLeftOver,i+=_e(e).unusedTokens.length*10,_e(e).score=i,l?i<r&&(r=i,n=e):(r==null||i<r||a)&&(r=i,n=e,a&&(l=!0));es(t,n||e)}function xD(t){if(!t._d){var e=ju(t._i),n=e.day===void 0?e.date:e.day;t._a=Hm([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),r1(t)}}function MD(t){var e=new zo(t1(pp(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function pp(t){var e=t._i,n=t._f;return t._locale=t._locale||Mr(t._l),e===null||n===void 0&&e===""?yl({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ln(e)?new zo(t1(e)):(Io(e)?t._d=e:Pn(n)?CD(t):n?s1(t):vD(t),Au(t)||(t._d=null),t))}function vD(t){var e=t._i;Ht(e)?t._d=new Date(re.now()):Io(e)?t._d=new Date(e.valueOf()):typeof e=="string"?yD(t):Pn(e)?(t._a=Hm(e.slice(0),function(n){return parseInt(n,10)}),r1(t)):Rs(e)?xD(t):wr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function gp(t,e,n,r,s){var i={};return(e===!0||e===!1)&&(r=e,e=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Rs(t)&&Vu(t)||Pn(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=s,i._l=n,i._i=t,i._f=e,i._strict=r,MD(i)}function qe(t,e,n,r){return gp(t,e,n,r,!1)}var SD=gn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=qe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:yl()}),TD=gn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=qe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:yl()});function _p(t,e){var n,r;if(e.length===1&&Pn(e[0])&&(e=e[0]),!e.length)return qe();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function DD(){var t=[].slice.call(arguments,0);return _p("isBefore",t)}function OD(){var t=[].slice.call(arguments,0);return _p("isAfter",t)}var ED=function(){return Date.now?Date.now():+new Date},Ko=["year","quarter","month","week","day","hour","minute","second","millisecond"];function PD(t){var e,n=!1,r,s=Ko.length;for(e in t)if(Ee(t,e)&&!(pt.call(Ko,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[Ko[r]]){if(n)return!1;parseFloat(t[Ko[r]])!==ke(t[Ko[r]])&&(n=!0)}return!0}function LD(){return this._isValid}function $D(){return Nn(NaN)}function Pl(t){var e=ju(t),n=e.year||0,r=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,l=e.hour||0,c=e.minute||0,d=e.second||0,u=e.millisecond||0;this._isValid=PD(e),this._milliseconds=+u+d*1e3+c*6e4+l*1e3*60*60,this._days=+a+i*7,this._months=+s+r*3+n*12,this._data={},this._locale=Mr(),this._bubble()}function Ll(t){return t instanceof Pl}function i1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function ND(t,e,n){var r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),i=0,a;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&ke(t[a])!==ke(e[a]))&&i++;return i+s}function yp(t,e){oe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+tr(~~(n/60),2)+e+tr(~~n%60,2)})}yp("Z",":"),yp("ZZ",""),se("Z",vl),se("ZZ",vl),Re(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=o1(vl,t)});var VD=/([\+\-]|\d\d)/gi;function o1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(VD)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function a1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Ln(t)||Io(t)?t.valueOf():qe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):qe(t).local()}function l1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function BD(t,e,n){var r=this._offset||0,s;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=o1(vl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=l1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?Cp(this,Nn(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,re.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:l1(this)}function AD(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function FD(t){return this.utcOffset(0,t)}function RD(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(l1(this),"m")),this}function ID(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=o1(iT,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function zD(t){return this.isValid()?(t=t?qe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function YD(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function HD(){if(!Ht(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Ru(t,this),t=pp(t),t._a?(e=t._isUTC?Jn(t._a):qe(t._a),this._isDSTShifted=this.isValid()&&ND(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function WD(){return this.isValid()?!this._isUTC:!1}function jD(){return this.isValid()?this._isUTC:!1}function wp(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ZD=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,UD=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nn(t,e){var n=t,r=null,s,i,a;return Ll(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:wr(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=ZD.exec(t))?(s=r[1]==="-"?-1:1,n={y:0,d:ke(r[nr])*s,h:ke(r[bt])*s,m:ke(r[$n])*s,s:ke(r[Cr])*s,ms:ke(i1(r[Is]*1e3))*s}):(r=UD.exec(t))?(s=r[1]==="-"?-1:1,n={y:zs(r[2],s),M:zs(r[3],s),w:zs(r[4],s),d:zs(r[5],s),h:zs(r[6],s),m:zs(r[7],s),s:zs(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=qD(qe(n.from),qe(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Pl(n),Ll(t)&&Ee(t,"_locale")&&(i._locale=t._locale),Ll(t)&&Ee(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Pl.prototype,Nn.invalid=$D;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function bp(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function qD(t,e){var n;return t.isValid()&&e.isValid()?(e=a1(e,t),t.isBefore(e)?n=bp(t,e):(n=bp(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function kp(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(Um(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),s=Nn(n,r),Cp(this,s,t),this}}function Cp(t,e,n,r){var s=e._milliseconds,i=i1(e._days),a=i1(e._months);t.isValid()&&(r=r??!0,a&&sp(t,jo(t,"Month")+a*n),i&&tp(t,"Date",jo(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var GD=kp(1,"add"),KD=kp(-1,"subtract");function xp(t){return typeof t=="string"||t instanceof String}function XD(t){return Ln(t)||Io(t)||xp(t)||wr(t)||JD(t)||QD(t)||t===null||t===void 0}function QD(t){var e=Rs(t)&&!Vu(t),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,i,a=r.length;for(s=0;s<a;s+=1)i=r[s],n=n||Ee(t,i);return e&&n}function JD(t){var e=Pn(t),n=!1;return e&&(n=t.filter(function(r){return!wr(r)&&xp(t)}).length===0),e&&n}function eO(t){var e=Rs(t)&&!Vu(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,i;for(s=0;s<r.length;s+=1)i=r[s],n=n||Ee(t,i);return e&&n}function tO(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function nO(t,e){arguments.length===1&&(arguments[0]?XD(arguments[0])?(t=arguments[0],e=void 0):eO(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||qe(),r=a1(n,this).startOf("day"),s=re.calendarFormat(this,r)||"sameElse",i=e&&(er(e[s])?e[s].call(this,n):e[s]);return this.format(i||this.localeData().calendar(s,this,qe(n)))}function rO(){return new zo(this)}function sO(t,e){var n=Ln(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=_n(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function iO(t,e){var n=Ln(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=_n(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function oO(t,e,n,r){var s=Ln(t)?t:qe(t),i=Ln(e)?e:qe(e);return this.isValid()&&s.isValid()&&i.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(r[1]===")"?this.isBefore(i,n):!this.isAfter(i,n))):!1}function aO(t,e){var n=Ln(t)?t:qe(t),r;return this.isValid()&&n.isValid()?(e=_n(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf())):!1}function lO(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function cO(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function dO(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=a1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=_n(e),e){case"year":i=$l(this,r)/12;break;case"month":i=$l(this,r);break;case"quarter":i=$l(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-s)/864e5;break;case"week":i=(this-r-s)/6048e5;break;default:i=this-r}return n?i:yn(i)}function $l(t,e){if(t.date()<e.date())return-$l(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),r=t.clone().add(n,"months"),s,i;return e-r<0?(s=t.clone().add(n-1,"months"),i=(e-r)/(r-s)):(s=t.clone().add(n+1,"months"),i=(e-r)/(s-r)),-(n+i)||0}re.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",re.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function uO(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function hO(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?bl(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):er(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",bl(n,"Z")):bl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function fO(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,r,s,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(n+r+s+i)}function mO(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=bl(this,t);return this.localeData().postformat(e)}function pO(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||qe(t).isValid())?Nn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function gO(t){return this.from(qe(),t)}function _O(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||qe(t).isValid())?Nn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function yO(t){return this.to(qe(),t)}function Mp(t){var e;return t===void 0?this._locale._abbr:(e=Mr(t),e!=null&&(this._locale=e),this)}var vp=gn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Sp(){return this._locale}var Nl=1e3,Di=60*Nl,Vl=60*Di,Tp=(365*400+97)*24*Vl;function Oi(t,e){return(t%e+e)%e}function Dp(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Tp:new Date(t,e,n).valueOf()}function Op(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Tp:Date.UTC(t,e,n)}function wO(t){var e,n;if(t=_n(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Op:Dp,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Oi(e+(this._isUTC?0:this.utcOffset()*Di),Vl);break;case"minute":e=this._d.valueOf(),e-=Oi(e,Di);break;case"second":e=this._d.valueOf(),e-=Oi(e,Nl);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function bO(t){var e,n;if(t=_n(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Op:Dp,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Vl-Oi(e+(this._isUTC?0:this.utcOffset()*Di),Vl)-1;break;case"minute":e=this._d.valueOf(),e+=Di-Oi(e,Di)-1;break;case"second":e=this._d.valueOf(),e+=Nl-Oi(e,Nl)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function kO(){return this._d.valueOf()-(this._offset||0)*6e4}function CO(){return Math.floor(this.valueOf()/1e3)}function xO(){return new Date(this.valueOf())}function MO(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function vO(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function SO(){return this.isValid()?this.toISOString():null}function TO(){return Au(this)}function DO(){return es({},_e(this))}function OO(){return _e(this).overflow}function EO(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}oe("N",0,0,"eraAbbr"),oe("NN",0,0,"eraAbbr"),oe("NNN",0,0,"eraAbbr"),oe("NNNN",0,0,"eraName"),oe("NNNNN",0,0,"eraNarrow"),oe("y",["y",1],"yo","eraYear"),oe("y",["yy",2],0,"eraYear"),oe("y",["yyy",3],0,"eraYear"),oe("y",["yyyy",4],0,"eraYear"),se("N",c1),se("NN",c1),se("NNN",c1),se("NNNN",zO),se("NNNNN",YO),Re(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var s=n._locale.erasParse(t,r,n._strict);s?_e(n).era=s:_e(n).invalidEra=t}),se("y",Mi),se("yy",Mi),se("yyy",Mi),se("yyyy",Mi),se("yo",HO),Re(["y","yy","yyy","yyyy"],Pt),Re(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Pt]=n._locale.eraYearOrdinalParse(t,s):e[Pt]=parseInt(t,10)});function PO(t,e){var n,r,s,i=this._eras||Mr("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":s=re(i[n].since).startOf("day"),i[n].since=s.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":s=re(i[n].until).startOf("day").valueOf(),i[n].until=s.valueOf();break}}return i}function LO(t,e,n){var r,s,i=this.eras(),a,l,c;for(t=t.toUpperCase(),r=0,s=i.length;r<s;++r)if(a=i[r].name.toUpperCase(),l=i[r].abbr.toUpperCase(),c=i[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(l===t)return i[r];break;case"NNNN":if(a===t)return i[r];break;case"NNNNN":if(c===t)return i[r];break}else if([a,l,c].indexOf(t)>=0)return i[r]}function $O(t,e){var n=t.since<=t.until?1:-1;return e===void 0?re(t.since).year():re(t.since).year()+(e-t.offset)*n}function NO(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].name;return""}function VO(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].narrow;return""}function BO(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].abbr;return""}function AO(){var t,e,n,r,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-re(s[t].since).year())*n+s[t].offset;return this.year()}function FO(t){return Ee(this,"_erasNameRegex")||d1.call(this),t?this._erasNameRegex:this._erasRegex}function RO(t){return Ee(this,"_erasAbbrRegex")||d1.call(this),t?this._erasAbbrRegex:this._erasRegex}function IO(t){return Ee(this,"_erasNarrowRegex")||d1.call(this),t?this._erasNarrowRegex:this._erasRegex}function c1(t,e){return e.erasAbbrRegex(t)}function zO(t,e){return e.erasNameRegex(t)}function YO(t,e){return e.erasNarrowRegex(t)}function HO(t,e){return e._eraYearOrdinalRegex||Mi}function d1(){var t=[],e=[],n=[],r=[],s,i,a,l,c,d=this.eras();for(s=0,i=d.length;s<i;++s)a=br(d[s].name),l=br(d[s].abbr),c=br(d[s].narrow),e.push(a),t.push(l),n.push(c),r.push(a),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}oe(0,["gg",2],0,function(){return this.weekYear()%100}),oe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Bl(t,e){oe(0,[t,t.length],0,e)}Bl("gggg","weekYear"),Bl("ggggg","weekYear"),Bl("GGGG","isoWeekYear"),Bl("GGGGG","isoWeekYear"),se("G",Ml),se("g",Ml),se("GG",Ue,sn),se("gg",Ue,sn),se("GGGG",Uu,Zu),se("gggg",Uu,Zu),se("GGGGG",xl,kl),se("ggggg",xl,kl),Ho(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Ho(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function WO(t){return Ep.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function jO(t){return Ep.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function ZO(){return xr(this.year(),1,4)}function UO(){return xr(this.isoWeekYear(),1,4)}function qO(){var t=this.localeData()._week;return xr(this.year(),t.dow,t.doy)}function GO(){var t=this.localeData()._week;return xr(this.weekYear(),t.dow,t.doy)}function Ep(t,e,n,r,s){var i;return t==null?Uo(this,r,s).year:(i=xr(t,r,s),e>i&&(e=i),KO.call(this,t,e,n,r,s))}function KO(t,e,n,r,s){var i=ap(t,e,n,r,s),a=Zo(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}oe("Q",0,"Qo","quarter"),se("Q",Km),Re("Q",function(t,e){e[kr]=(ke(t)-1)*3});function XO(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}oe("D",["DD",2],"Do","date"),se("D",Ue,vi),se("DD",Ue,sn),se("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Re(["D","DD"],nr),Re("Do",function(t,e){e[nr]=ke(t.match(Ue)[0])});var Pp=Si("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",Cl),se("DDDD",Xm),Re(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function QO(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}oe("m",["mm",2],0,"minute"),se("m",Ue,qu),se("mm",Ue,sn),Re(["m","mm"],$n);var JO=Si("Minutes",!1);oe("s",["ss",2],0,"second"),se("s",Ue,qu),se("ss",Ue,sn),Re(["s","ss"],Cr);var eE=Si("Seconds",!1);oe("S",0,0,function(){return~~(this.millisecond()/100)}),oe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),oe(0,["SSS",3],0,"millisecond"),oe(0,["SSSS",4],0,function(){return this.millisecond()*10}),oe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),oe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),oe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),oe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),oe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),se("S",Cl,Km),se("SS",Cl,sn),se("SSS",Cl,Xm);var ns,Lp;for(ns="SSSS";ns.length<=9;ns+="S")se(ns,Mi);function tE(t,e){e[Is]=ke(("0."+t)*1e3)}for(ns="S";ns.length<=9;ns+="S")Re(ns,tE);Lp=Si("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function nE(){return this._isUTC?"UTC":""}function rE(){return this._isUTC?"Coordinated Universal Time":""}var Q=zo.prototype;Q.add=GD,Q.calendar=nO,Q.clone=rO,Q.diff=dO,Q.endOf=bO,Q.format=mO,Q.from=pO,Q.fromNow=gO,Q.to=_O,Q.toNow=yO,Q.get=fT,Q.invalidAt=OO,Q.isAfter=sO,Q.isBefore=iO,Q.isBetween=oO,Q.isSame=aO,Q.isSameOrAfter=lO,Q.isSameOrBefore=cO,Q.isValid=TO,Q.lang=vp,Q.locale=Mp,Q.localeData=Sp,Q.max=TD,Q.min=SD,Q.parsingFlags=DO,Q.set=mT,Q.startOf=wO,Q.subtract=KD,Q.toArray=MO,Q.toObject=vO,Q.toDate=xO,Q.toISOString=hO,Q.inspect=fO,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=SO,Q.toString=uO,Q.unix=CO,Q.valueOf=kO,Q.creationData=EO,Q.eraName=NO,Q.eraNarrow=VO,Q.eraAbbr=BO,Q.eraYear=AO,Q.year=ep,Q.isLeapYear=hT,Q.weekYear=WO,Q.isoWeekYear=jO,Q.quarter=Q.quarters=XO,Q.month=ip,Q.daysInMonth=xT,Q.week=Q.weeks=PT,Q.isoWeek=Q.isoWeeks=LT,Q.weeksInYear=qO,Q.weeksInWeekYear=GO,Q.isoWeeksInYear=ZO,Q.isoWeeksInISOWeekYear=UO,Q.date=Pp,Q.day=Q.days=jT,Q.weekday=ZT,Q.isoWeekday=UT,Q.dayOfYear=QO,Q.hour=Q.hours=eD,Q.minute=Q.minutes=JO,Q.second=Q.seconds=eE,Q.millisecond=Q.milliseconds=Lp,Q.utcOffset=BD,Q.utc=FD,Q.local=RD,Q.parseZone=ID,Q.hasAlignedHourOffset=zD,Q.isDST=YD,Q.isLocal=WD,Q.isUtcOffset=jD,Q.isUtc=wp,Q.isUTC=wp,Q.zoneAbbr=nE,Q.zoneName=rE,Q.dates=gn("dates accessor is deprecated. Use date instead.",Pp),Q.months=gn("months accessor is deprecated. Use month instead",ip),Q.years=gn("years accessor is deprecated. Use year instead",ep),Q.zone=gn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",AD),Q.isDSTShifted=gn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",HD);function sE(t){return qe(t*1e3)}function iE(){return qe.apply(null,arguments).parseZone()}function $p(t){return t}var Pe=zu.prototype;Pe.calendar=WS,Pe.longDateFormat=qS,Pe.invalidDate=KS,Pe.ordinal=JS,Pe.preparse=$p,Pe.postformat=$p,Pe.relativeTime=tT,Pe.pastFuture=nT,Pe.set=YS,Pe.eras=PO,Pe.erasParse=LO,Pe.erasConvertYear=$O,Pe.erasAbbrRegex=RO,Pe.erasNameRegex=FO,Pe.erasNarrowRegex=IO,Pe.months=wT,Pe.monthsShort=bT,Pe.monthsParse=CT,Pe.monthsRegex=vT,Pe.monthsShortRegex=MT,Pe.week=TT,Pe.firstDayOfYear=ET,Pe.firstDayOfWeek=OT,Pe.weekdays=IT,Pe.weekdaysMin=YT,Pe.weekdaysShort=zT,Pe.weekdaysParse=WT,Pe.weekdaysRegex=qT,Pe.weekdaysShortRegex=GT,Pe.weekdaysMinRegex=KT,Pe.isPM=QT,Pe.meridiem=tD;function Al(t,e,n,r){var s=Mr(),i=Jn().set(r,e);return s[n](i,t)}function Np(t,e,n){if(wr(t)&&(e=t,t=void 0),t=t||"",e!=null)return Al(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Al(t,r,n,"month");return s}function u1(t,e,n,r){typeof t=="boolean"?(wr(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,wr(e)&&(n=e,e=void 0),e=e||"");var s=Mr(),i=t?s._week.dow:0,a,l=[];if(n!=null)return Al(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Al(e,(a+i)%7,r,"day");return l}function oE(t,e){return Np(t,e,"months")}function aE(t,e){return Np(t,e,"monthsShort")}function lE(t,e,n){return u1(t,e,n,"weekdays")}function cE(t,e,n){return u1(t,e,n,"weekdaysShort")}function dE(t,e,n){return u1(t,e,n,"weekdaysMin")}ts("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=ke(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),re.lang=gn("moment.lang is deprecated. Use moment.locale instead.",ts),re.langData=gn("moment.langData is deprecated. Use moment.localeData instead.",Mr);var vr=Math.abs;function uE(){var t=this._data;return this._milliseconds=vr(this._milliseconds),this._days=vr(this._days),this._months=vr(this._months),t.milliseconds=vr(t.milliseconds),t.seconds=vr(t.seconds),t.minutes=vr(t.minutes),t.hours=vr(t.hours),t.months=vr(t.months),t.years=vr(t.years),this}function Vp(t,e,n,r){var s=Nn(e,n);return t._milliseconds+=r*s._milliseconds,t._days+=r*s._days,t._months+=r*s._months,t._bubble()}function hE(t,e){return Vp(this,t,e,1)}function fE(t,e){return Vp(this,t,e,-1)}function Bp(t){return t<0?Math.floor(t):Math.ceil(t)}function mE(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data,s,i,a,l,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=Bp(h1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=yn(t/1e3),r.seconds=s%60,i=yn(s/60),r.minutes=i%60,a=yn(i/60),r.hours=a%24,e+=yn(a/24),c=yn(Ap(e)),n+=c,e-=Bp(h1(c)),l=yn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function Ap(t){return t*4800/146097}function h1(t){return t*146097/4800}function pE(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=_n(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+Ap(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(h1(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return e*24+r/36e5;case"minute":return e*1440+r/6e4;case"second":return e*86400+r/1e3;case"millisecond":return Math.floor(e*864e5)+r;default:throw new Error("Unknown unit "+t)}}function Sr(t){return function(){return this.as(t)}}var Fp=Sr("ms"),gE=Sr("s"),_E=Sr("m"),yE=Sr("h"),wE=Sr("d"),bE=Sr("w"),kE=Sr("M"),CE=Sr("Q"),xE=Sr("y"),ME=Fp;function vE(){return Nn(this)}function SE(t){return t=_n(t),this.isValid()?this[t+"s"]():NaN}function Ys(t){return function(){return this.isValid()?this._data[t]:NaN}}var TE=Ys("milliseconds"),DE=Ys("seconds"),OE=Ys("minutes"),EE=Ys("hours"),PE=Ys("days"),LE=Ys("months"),$E=Ys("years");function NE(){return yn(this.days()/7)}var Tr=Math.round,Ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function VE(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function BE(t,e,n,r){var s=Nn(t).abs(),i=Tr(s.as("s")),a=Tr(s.as("m")),l=Tr(s.as("h")),c=Tr(s.as("d")),d=Tr(s.as("M")),u=Tr(s.as("w")),h=Tr(s.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),f=f||d<=1&&["M"]||d<n.M&&["MM",d]||h<=1&&["y"]||["yy",h],f[2]=e,f[3]=+t>0,f[4]=r,VE.apply(null,f)}function AE(t){return t===void 0?Tr:typeof t=="function"?(Tr=t,!0):!1}function FE(t,e){return Ei[t]===void 0?!1:e===void 0?Ei[t]:(Ei[t]=e,t==="s"&&(Ei.ss=e-1),!0)}function RE(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Ei,s,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},Ei,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),s=this.localeData(),i=BE(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var f1=Math.abs;function Pi(t){return(t>0)-(t<0)||+t}function Fl(){if(!this.isValid())return this.localeData().invalidDate();var t=f1(this._milliseconds)/1e3,e=f1(this._days),n=f1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=yn(t/60),s=yn(r/60),t%=60,r%=60,i=yn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=Pi(this._months)!==Pi(l)?"-":"",u=Pi(this._days)!==Pi(l)?"-":"",h=Pi(this._milliseconds)!==Pi(l)?"-":"",c+"P"+(i?d+i+"Y":"")+(n?d+n+"M":"")+(e?u+e+"D":"")+(s||r||t?"T":"")+(s?h+s+"H":"")+(r?h+r+"M":"")+(t?h+a+"S":"")):"P0D"}var Se=Pl.prototype;Se.isValid=LD,Se.abs=uE,Se.add=hE,Se.subtract=fE,Se.as=pE,Se.asMilliseconds=Fp,Se.asSeconds=gE,Se.asMinutes=_E,Se.asHours=yE,Se.asDays=wE,Se.asWeeks=bE,Se.asMonths=kE,Se.asQuarters=CE,Se.asYears=xE,Se.valueOf=ME,Se._bubble=mE,Se.clone=vE,Se.get=SE,Se.milliseconds=TE,Se.seconds=DE,Se.minutes=OE,Se.hours=EE,Se.days=PE,Se.weeks=NE,Se.months=LE,Se.years=$E,Se.humanize=RE,Se.toISOString=Fl,Se.toString=Fl,Se.toJSON=Fl,Se.locale=Mp,Se.localeData=Sp,Se.toIsoString=gn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fl),Se.lang=vp,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),se("x",Ml),se("X",oT),Re("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),Re("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
45
+ re.version="2.30.1",IS(qe),re.fn=Q,re.min=DD,re.max=OD,re.now=ED,re.utc=Jn,re.unix=sE,re.months=oE,re.isDate=Io,re.locale=ts,re.invalid=yl,re.duration=Nn,re.isMoment=Ln,re.weekdays=lE,re.parseZone=iE,re.localeData=Mr,re.isDuration=Ll,re.monthsShort=aE,re.weekdaysMin=dE,re.defineLocale=e1,re.updateLocale=iD,re.locales=oD,re.weekdaysShort=cE,re.normalizeUnits=_n,re.relativeTimeRounding=AE,re.relativeTimeThreshold=FE,re.calendarFormat=tO,re.prototype=Q,re.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const IE={class:"calendar-dropdown"},zE={class:"calendar-dropdown__outer__left"},YE={class:"calendar-dropdown__outer__current"},HE={key:0,class:"calendar-dropdown__inner"},WE={class:"calendar-dropdown__year-switcher"},jE={class:"calendar-dropdown__year-switcher__year"},ZE={class:"calendar-dropdown__months"},UE={class:"calendar-dropdown__month-container"},qE=["onClick"],Rp=Oe({__name:"CalendarDropdown",props:o.mergeModels({currentDate:{type:Date}},{year:{},yearModifiers:{},month:{},monthModifiers:{}}),emits:o.mergeModels("onChange",["update:year","update:month"]),setup(t,{emit:e}){const n=e,r=t,s=o.useModel(t,"year"),i=o.useModel(t,"month"),a=re.months(),l=o.ref(!1),c=()=>{l.value=!l.value},d=f=>s.value===r.currentDate.getFullYear()&&f===r.currentDate.getMonth(),u=f=>s.value<r.currentDate.getFullYear()||s.value===r.currentDate.getFullYear()&&f<r.currentDate.getMonth(),h=f=>{n("onChange",{month:f,year:s.value}),c()};return(f,m)=>(o.openBlock(),o.createElementBlock("div",IE,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:c},[o.createElementVNode("div",zE,[o.createVNode(o.unref(ze),{icon:"calendar"}),o.createElementVNode("span",YE,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(ze),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?(o.openBlock(),o.createElementBlock("div",HE,[o.createElementVNode("div",WE,[o.createVNode(o.unref(_c),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",jE,o.toDisplayString(s.value),1),o.createVNode(o.unref(_c),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",ZE,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",UE,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,qE)]))),256))])])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-97075c93"]]),GE={class:"period-dropdown"},KE={class:"period-dropdown__outer__left"},XE={class:"period-dropdown__outer__current"},QE={key:0,class:"period-dropdown__inner"},JE=["onClick"],Hs=Oe({__name:"PeriodDropdown",props:{modelValue:{},modelModifiers:{}},emits:o.mergeModels("onChange",["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue",{get(c){return s.find(d=>d.id===c)}}),s=[{name:"7 days",short:"7d",id:"week"},{name:"Month",short:"30d",id:"month"},{name:"Quarter",short:"90d",id:"quarter"},{name:"All time",short:"All",id:"all"}],i=o.ref(!1),a=()=>{i.value=!i.value},l=c=>{r.value=c,n("onChange"),a()};return(c,d)=>(o.openBlock(),o.createElementBlock("div",GE,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:a},[o.createElementVNode("div",KE,[o.createVNode(o.unref(ze),{icon:"clock"}),o.createElementVNode("span",XE,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(ze),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?(o.openBlock(),o.createElementBlock("div",QE,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(s,u=>o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__option",{"-active":u.id===r.value.id}]),onClick:h=>l(u.id)},[o.createTextVNode(o.toDisplayString(u.name)+" ",1),u.id===r.value.id?(o.openBlock(),o.createBlock(o.unref(ze),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,JE)),64))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-76a97d26"]]),eP={class:"progress-line-container"},tP={class:"progress-line"},nP={class:"progress-line__part"},rP={class:"progress-digits"},sP={class:"progress-digits__value"},iP={class:"progress-digits__value"},oP={class:"progress-digits__value"},Ip=Oe({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?jt(e.currentProfit/e.profit*100):e.currentProfit<0?jt(e.currentProfit/e.drawdown*100):0),r=a=>{if(!e.profit||!e.currentProfit)return 0;if(a>4){const l=a-5,c=25*l,d=25*(l+1);return n.value>d?100:n.value<c?0:(n.value-c)*4}else{const l=100-25*a,c=100-25*(a-1);return-n.value>c?100:-n.value<l?0:(-n.value-l)*4}},s=a=>{const l=e.currentProfit>0?a-1:a;return a===5?e.currentProfit!==0:r(l)===100},i=o.computed(()=>Math.abs(n.value)>100?n.value<0?"0%":"100%":e.currentProfit>0?`calc(${50+n.value/2}% - 88px)`:e.currentProfit<0?50+n.value/2+"%":"50%");return(a,l)=>(o.openBlock(),o.createElementBlock("div",eP,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(n.value)+"% finished",5),o.createElementVNode("div",tP,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",nP,[o.createElementVNode("div",{class:o.normalizeClass(["progress-line__dot",{"-positive":s(c)}])},null,2),c!==9?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["progress-line__line",{"-negative-line":c<5}])},[o.createElementVNode("div",{class:"progress-line__progress",style:o.normalizeStyle({width:`${r(c)}%`})},null,4)],2)):o.createCommentVNode("",!0)])),64))]),o.createElementVNode("div",rP,[o.createElementVNode("div",sP,"-"+o.toDisplayString(o.unref(xn)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",iP,o.toDisplayString(o.unref(xn)(0,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",oP," +"+o.toDisplayString(o.unref(xn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)])]))}},[["__scopeId","data-v-44f0a07a"]]),aP={class:"widget-chips__text"},Rl=Oe({__name:"WidgetChips",props:{delta:Number,isHidden:Boolean,percentage:Boolean,isNegative:Boolean,isPositive:Boolean},setup(t){const e=t,n=o.computed(()=>e.isHidden?"****":Math.abs(e.delta)+(e.percentage?"%":""));return(r,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["widget-chips",t.delta>0&&!t.isNegative||t.isPositive?"-positive":"-negative"])},[o.createVNode(o.unref(ze),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",aP,o.toDisplayString(n.value),1)],2))}},[["__scopeId","data-v-1b121ea0"]]);/*! js-cookie v3.0.5 | MIT */function Il(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var lP={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 m1(t,e){function n(s,i,a){if(!(typeof document>"u")){a=Il({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in a)a[c]&&(l+="; "+c,a[c]!==!0&&(l+="="+a[c].split(";")[0]));return document.cookie=s+"="+t.write(i,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],a={},l=0;l<i.length;l++){var c=i[l].split("="),d=c.slice(1).join("=");try{var u=decodeURIComponent(c[0]);if(a[u]=t.read(d,u),s===u)break}catch{}}return s?a[s]:a}}return Object.create({set:n,get:r,remove:function(s,i){n(s,"",Il({},i,{expires:-1}))},withAttributes:function(s){return m1(this.converter,Il({},this.attributes,s))},withConverter:function(s){return m1(Il({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Li=m1(lP,{path:"/"});class on{static setItem(e,n,r=Date.now()+31449600){Li.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return Li.get(e)}static removeItem(e){Li.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(Li.get());for(const n of e)Li.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return Li.get()}}function zp(t,e){return function(){return t.apply(e,arguments)}}const{toString:cP}=Object.prototype,{getPrototypeOf:p1}=Object,zl=(t=>e=>{const n=cP.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rr=t=>(t=t.toLowerCase(),e=>zl(e)===t),Yl=t=>e=>typeof e===t,{isArray:$i}=Array,Xo=Yl("undefined");function dP(t){return t!==null&&!Xo(t)&&t.constructor!==null&&!Xo(t.constructor)&&wn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Yp=rr("ArrayBuffer");function uP(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Yp(t.buffer),e}const hP=Yl("string"),wn=Yl("function"),Hp=Yl("number"),Hl=t=>t!==null&&typeof t=="object",fP=t=>t===!0||t===!1,Wl=t=>{if(zl(t)!=="object")return!1;const e=p1(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},mP=rr("Date"),pP=rr("File"),gP=rr("Blob"),_P=rr("FileList"),yP=t=>Hl(t)&&wn(t.pipe),wP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||wn(t.append)&&((e=zl(t))==="formdata"||e==="object"&&wn(t.toString)&&t.toString()==="[object FormData]"))},bP=rr("URLSearchParams"),kP=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),$i(t))for(r=0,s=t.length;r<s;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),a=i.length;let l;for(r=0;r<a;r++)l=i[r],e.call(null,t[l],l,t)}}function Wp(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,s;for(;r-- >0;)if(s=n[r],e===s.toLowerCase())return s;return null}const jp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zp=t=>!Xo(t)&&t!==jp;function g1(){const{caseless:t}=Zp(this)&&this||{},e={},n=(r,s)=>{const i=t&&Wp(e,s)||s;Wl(e[i])&&Wl(r)?e[i]=g1(e[i],r):Wl(r)?e[i]=g1({},r):$i(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Qo(arguments[r],n);return e}const CP=(t,e,n,{allOwnKeys:r}={})=>(Qo(e,(s,i)=>{n&&wn(s)?t[i]=zp(s,n):t[i]=s},{allOwnKeys:r}),t),xP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),MP=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},vP=(t,e,n,r)=>{let s,i,a;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)a=s[i],(!r||r(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=n!==!1&&p1(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},SP=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},TP=t=>{if(!t)return null;if($i(t))return t;let e=t.length;if(!Hp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},DP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&p1(Uint8Array)),OP=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=r.next())&&!s.done;){const i=s.value;e.call(t,i[0],i[1])}},EP=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},PP=rr("HTMLFormElement"),LP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Up=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),$P=rr("RegExp"),qp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Qo(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},NP=t=>{qp(t,(e,n)=>{if(wn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(wn(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},VP=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return $i(t)?r(t):r(String(t).split(e)),n},BP=()=>{},AP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),_1="abcdefghijklmnopqrstuvwxyz",Gp="0123456789",Kp={DIGIT:Gp,ALPHA:_1,ALPHA_DIGIT:_1+_1.toUpperCase()+Gp},FP=(t=16,e=Kp.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function RP(t){return!!(t&&wn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const IP=t=>{const e=new Array(10),n=(r,s)=>{if(Hl(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=$i(r)?[]:{};return Qo(r,(a,l)=>{const c=n(a,s+1);!Xo(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},zP=rr("AsyncFunction"),H={isArray:$i,isArrayBuffer:Yp,isBuffer:dP,isFormData:wP,isArrayBufferView:uP,isString:hP,isNumber:Hp,isBoolean:fP,isObject:Hl,isPlainObject:Wl,isUndefined:Xo,isDate:mP,isFile:pP,isBlob:gP,isRegExp:$P,isFunction:wn,isStream:yP,isURLSearchParams:bP,isTypedArray:DP,isFileList:_P,forEach:Qo,merge:g1,extend:CP,trim:kP,stripBOM:xP,inherits:MP,toFlatObject:vP,kindOf:zl,kindOfTest:rr,endsWith:SP,toArray:TP,forEachEntry:OP,matchAll:EP,isHTMLForm:PP,hasOwnProperty:Up,hasOwnProp:Up,reduceDescriptors:qp,freezeMethods:NP,toObjectSet:VP,toCamelCase:LP,noop:BP,toFiniteNumber:AP,findKey:Wp,global:jp,isContextDefined:Zp,ALPHABET:Kp,generateString:FP,isSpecCompliantForm:RP,toJSONObject:IP,isAsyncFn:zP,isThenable:t=>t&&(Hl(t)||wn(t))&&wn(t.then)&&wn(t.catch)};function Te(t,e,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}H.inherits(Te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xp=Te.prototype,Qp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Qp[t]={value:t}}),Object.defineProperties(Te,Qp),Object.defineProperty(Xp,"isAxiosError",{value:!0}),Te.from=(t,e,n,r,s,i)=>{const a=Object.create(Xp);return H.toFlatObject(t,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Te.call(a,t.message,e,n,r,s),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const YP=null;function y1(t){return H.isPlainObject(t)||H.isArray(t)}function Jp(t){return H.endsWith(t,"[]")?t.slice(0,-2):t}function e3(t,e,n){return t?t.concat(e).map(function(s,i){return s=Jp(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function HP(t){return H.isArray(t)&&!t.some(y1)}const WP=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)});function jl(t,e,n){if(!H.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!H.isUndefined(_[p])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(e);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function d(g){if(g===null)return"";if(H.isDate(g))return g.toISOString();if(!c&&H.isBlob(g))throw new Te("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(g)||H.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,_){let y=g;if(g&&!_&&typeof g=="object"){if(H.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(H.isArray(g)&&HP(g)||(H.isFileList(g)||H.endsWith(p,"[]"))&&(y=H.toArray(g)))return p=Jp(p),y.forEach(function(k,S){!(H.isUndefined(k)||k===null)&&e.append(a===!0?e3([p],S,i):a===null?p:p+"[]",d(k))}),!1}return y1(g)?!0:(e.append(e3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(WP,{defaultVisitor:u,convertValue:d,isVisitable:y1});function m(g,p){if(!H.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),H.forEach(g,function(y,C){(!(H.isUndefined(y)||y===null)&&s.call(e,y,H.isString(C)?C.trim():C,p,f))===!0&&m(y,p?p.concat(C):[C])}),h.pop()}}if(!H.isObject(t))throw new TypeError("data must be an object");return m(t),e}function t3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function w1(t,e){this._pairs=[],t&&jl(t,this,e)}const n3=w1.prototype;n3.append=function(e,n){this._pairs.push([e,n])},n3.toString=function(e){const n=e?function(r){return e.call(this,r,t3)}:t3;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function jP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function r3(t,e,n){if(!e)return t;const r=n&&n.encode||jP,s=n&&n.serialize;let i;if(s?i=s(e,n):i=H.isURLSearchParams(e)?e.toString():new w1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class s3{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,function(r){r!==null&&e(r)})}}const i3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ZP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:w1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},o3=typeof window<"u"&&typeof document<"u",UP=(t=>o3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),qP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sr={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:o3,hasStandardBrowserEnv:UP,hasStandardBrowserWebWorkerEnv:qP},Symbol.toStringTag,{value:"Module"})),...ZP};function GP(t,e){return jl(t,new sr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return sr.isNode&&H.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function KP(t){return H.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function XP(t){const e={},n=Object.keys(t);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],e[i]=t[i];return e}function a3(t){function e(n,r,s,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=i>=n.length;return a=!a&&H.isArray(s)?s.length:a,c?(H.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!H.isObject(s[a]))&&(s[a]=[]),e(n,r,s[a],i)&&H.isArray(s[a])&&(s[a]=XP(s[a])),!l)}if(H.isFormData(t)&&H.isFunction(t.entries)){const n={};return H.forEachEntry(t,(r,s)=>{e(KP(r),s,n,0)}),n}return null}function QP(t,e,n){if(H.isString(t))try{return(e||JSON.parse)(t),H.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const b1={transitional:i3,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=H.isObject(e);if(i&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return s?JSON.stringify(a3(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return GP(e,this.formSerializer).toString();if((l=H.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return jl(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),QP(e)):e}],transformResponse:[function(e){const n=this.transitional||b1.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&H.isString(e)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(l){if(a)throw l.name==="SyntaxError"?Te.from(l,Te.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sr.classes.FormData,Blob:sr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],t=>{b1.headers[t]={}});const k1=b1,JP=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eL=t=>{const e={};let n,r,s;return t&&t.split(`
46
+ `).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||e[n]&&JP[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},l3=Symbol("internals");function Jo(t){return t&&String(t).trim().toLowerCase()}function Zl(t){return t===!1||t==null?t:H.isArray(t)?t.map(Zl):String(t)}function tL(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const nL=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function C1(t,e,n,r,s){if(H.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!H.isString(e)){if(H.isString(r))return e.indexOf(r)!==-1;if(H.isRegExp(r))return r.test(e)}}function rL(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function sL(t,e){const n=H.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,a){return this[r].call(this,e,s,i,a)},configurable:!0})})}class Ul{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=Jo(c);if(!u)throw new Error("header name must be a non-empty string");const h=H.findKey(s,u);(!h||s[h]===void 0||d===!0||d===void 0&&s[h]!==!1)&&(s[h||c]=Zl(l))}const a=(l,c)=>H.forEach(l,(d,u)=>i(d,u,c));return H.isPlainObject(e)||e instanceof this.constructor?a(e,n):H.isString(e)&&(e=e.trim())&&!nL(e)?a(eL(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Jo(e),e){const r=H.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return tL(s);if(H.isFunction(n))return n.call(this,s,r);if(H.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Jo(e),e){const r=H.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||C1(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=Jo(a),a){const l=H.findKey(r,a);l&&(!n||C1(r,r[l],l,n))&&(delete r[l],s=!0)}}return H.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||C1(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return H.forEach(this,(s,i)=>{const a=H.findKey(r,i);if(a){n[a]=Zl(s),delete n[i];return}const l=e?rL(i):String(i).trim();l!==i&&delete n[i],n[l]=Zl(s),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return H.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&H.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
47
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[l3]=this[l3]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=Jo(a);r[l]||(sL(s,a),r[l]=!0)}return H.isArray(e)?e.forEach(i):i(e),this}}Ul.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(Ul.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),H.freezeMethods(Ul);const Dr=Ul;function x1(t,e){const n=this||k1,r=e||n,s=Dr.from(r.headers);let i=r.data;return H.forEach(t,function(l){i=l.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function c3(t){return!!(t&&t.__CANCEL__)}function ea(t,e,n){Te.call(this,t??"canceled",Te.ERR_CANCELED,e,n),this.name="CanceledError"}H.inherits(ea,Te,{__CANCEL__:!0});function iL(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Te("Request failed with status code "+n.status,[Te.ERR_BAD_REQUEST,Te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const oL=sr.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const a=[t+"="+encodeURIComponent(e)];H.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),H.isString(r)&&a.push("path="+r),H.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function aL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function lL(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function d3(t,e){return t&&!aL(e)?lL(t,e):e}const cL=sr.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let a=i;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(a){const l=H.isString(a)?s(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function dL(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function uL(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const d=Date.now(),u=r[i];a||(a=d),n[s]=c,r[s]=d;let h=i,f=0;for(;h!==s;)f+=n[h++],h=h%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),d-a<e)return;const m=u&&d-u;return m?Math.round(f*1e3/m):void 0}}function u3(t,e){let n=0;const r=uL(50,250);return s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-n,c=r(l),d=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&d?(a-i)/c:void 0,event:s};u[e?"download":"upload"]=!0,t(u)}}const M1={http:YP,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let s=t.data;const i=Dr.from(t.headers).normalize();let{responseType:a,withXSRFToken:l}=t,c;function d(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let u;if(H.isFormData(s)){if(sr.hasStandardBrowserEnv||sr.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[p,..._]=u?u.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([p||"multipart/form-data",..._].join("; "))}}let h=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+_))}const f=d3(t.baseURL,t.url);h.open(t.method.toUpperCase(),r3(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function m(){if(!h)return;const p=Dr.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:t,request:h};iL(function(k){n(k),d()},function(k){r(k),d()},y),h=null}if("onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(m)},h.onabort=function(){h&&(r(new Te("Request aborted",Te.ECONNABORTED,t,h)),h=null)},h.onerror=function(){r(new Te("Network Error",Te.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||i3;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(new Te(_,y.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,t,h)),h=null},sr.hasStandardBrowserEnv&&(l&&H.isFunction(l)&&(l=l(t)),l||l!==!1&&cL(f))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&oL.read(t.xsrfCookieName);p&&i.set(t.xsrfHeaderName,p)}s===void 0&&i.setContentType(null),"setRequestHeader"in h&&H.forEach(i.toJSON(),function(_,y){h.setRequestHeader(y,_)}),H.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",u3(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",u3(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new ea(null,t,h):p),h.abort(),h=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c)));const g=dL(f);if(g&&sr.protocols.indexOf(g)===-1){r(new Te("Unsupported protocol "+g+":",Te.ERR_BAD_REQUEST,t));return}h.send(s||null)})}};H.forEach(M1,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const h3=t=>`- ${t}`,hL=t=>H.isFunction(t)||t===null||t===!1,f3={getAdapter:t=>{t=H.isArray(t)?t:[t];const{length:e}=t;let n,r;const s={};for(let i=0;i<e;i++){n=t[i];let a;if(r=n,!hL(n)&&(r=M1[(a=String(n)).toLowerCase()],r===void 0))throw new Te(`Unknown adapter '${a}'`);if(r)break;s[a||"#"+i]=r}if(!r){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=e?i.length>1?`since :
48
48
  `+i.map(h3).join(`
49
- `):" "+h3(i[0]):"as no adapter specified";throw new Te("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:M1};function v1(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ea(null,t)}function m3(t){return v1(t),t.headers=Or.from(t.headers),t.data=x1.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),f3.getAdapter(t.adapter||k1.adapter)(t).then(function(r){return v1(t),r.data=x1.call(t,t.transformResponse,r),r.headers=Or.from(r.headers),r},function(r){return c3(r)||(v1(t),r&&r.response&&(r.response.data=x1.call(t,t.transformResponse,r.response),r.response.headers=Or.from(r.response.headers))),Promise.reject(r)})}const p3=t=>t instanceof Or?{...t}:t;function Ni(t,e){e=e||{};const n={};function r(d,u,h){return H.isPlainObject(d)&&H.isPlainObject(u)?H.merge.call({caseless:h},d,u):H.isPlainObject(u)?H.merge({},u):H.isArray(u)?u.slice():u}function s(d,u,h){if(H.isUndefined(u)){if(!H.isUndefined(d))return r(void 0,d,h)}else return r(d,u,h)}function i(d,u){if(!H.isUndefined(u))return r(void 0,u)}function a(d,u){if(H.isUndefined(u)){if(!H.isUndefined(d))return r(void 0,d)}else return r(void 0,u)}function l(d,u,h){if(h in e)return r(d,u);if(h in t)return r(void 0,d)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,u)=>s(p3(d),p3(u),!0)};return H.forEach(Object.keys(Object.assign({},t,e)),function(u){const h=c[u]||s,f=h(t[u],e[u],u);H.isUndefined(f)&&h!==l||(n[u]=f)}),n}const g3="1.6.8",S1={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{S1[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const _3={};S1.transitional=function(e,n,r){function s(i,a){return"[Axios v"+g3+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(e===!1)throw new Te(s(a," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!_3[a]&&(_3[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,a,l):!0}};function cL(t,e,n){if(typeof t!="object")throw new Te("options must be an object",Te.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],a=e[i];if(a){const l=t[i],c=l===void 0||a(l,i,t);if(c!==!0)throw new Te("option "+i+" must be "+c,Te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Te("Unknown option "+i,Te.ERR_BAD_OPTION)}}const T1={assertOptions:cL,validators:S1},rs=T1.validators;class ql{constructor(e){this.defaults=e,this.interceptors={request:new s3,response:new s3}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
50
- `+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ni(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&T1.assertOptions(r,{silentJSONParsing:rs.transitional(rs.boolean),forcedJSONParsing:rs.transitional(rs.boolean),clarifyTimeoutError:rs.transitional(rs.boolean)},!1),s!=null&&(H.isFunction(s)?n.paramsSerializer={serialize:s}:T1.assertOptions(s,{encode:rs.function,serialize:rs.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&H.merge(i.common,i[n.method]);i&&H.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Or.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const d=[];this.interceptors.response.forEach(function(p){d.push(p.fulfilled,p.rejected)});let u,h=0,f;if(!c){const g=[m3.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,d),f=g.length,u=Promise.resolve(n);h<f;)u=u.then(g[h++],g[h++]);return u}f=l.length;let m=n;for(h=0;h<f;){const g=l[h++],p=l[h++];try{m=g(m)}catch(_){p.call(this,_);break}}try{u=m3.call(this,m)}catch(g){return Promise.reject(g)}for(h=0,f=d.length;h<f;)u=u.then(d[h++],d[h++]);return u}getUri(e){e=Ni(this.defaults,e);const n=d3(e.baseURL,e.url);return r3(n,e.params,e.paramsSerializer)}}H.forEach(["delete","get","head","options"],function(e){ql.prototype[e]=function(n,r){return this.request(Ni(r||{},{method:e,url:n,data:(r||{}).data}))}}),H.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,l){return this.request(Ni(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}ql.prototype[e]=n(),ql.prototype[e+"Form"]=n(!0)});const Gl=ql;class O1{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,l){r.reason||(r.reason=new ea(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new O1(function(s){e=s}),cancel:e}}}const dL=O1;function uL(t){return function(n){return t.apply(null,n)}}function hL(t){return H.isObject(t)&&t.isAxiosError===!0}const D1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(D1).forEach(([t,e])=>{D1[e]=t});const fL=D1;function y3(t){const e=new Gl(t),n=zp(Gl.prototype.request,e);return H.extend(n,Gl.prototype,e,{allOwnKeys:!0}),H.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return y3(Ni(t,s))},n}const at=y3(k1);at.Axios=Gl,at.CanceledError=ea,at.CancelToken=dL,at.isCancel=c3,at.VERSION=g3,at.toFormData=jl,at.AxiosError=Te,at.Cancel=at.CanceledError,at.all=function(e){return Promise.all(e)},at.spread=uL,at.isAxiosError=hL,at.mergeConfig=Ni,at.AxiosHeaders=Or,at.formToJSON=t=>a3(H.isHTMLForm(t)?new FormData(t):t),at.getAdapter=f3.getAdapter,at.HttpStatusCode=fL,at.default=at;const Kl=at.create({baseURL:"https://api.scope360.io/"}),mL=async()=>{try{const t=on.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await at.post("https://api.scope360.io/refresh",{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:s,refresh_token:i}=e.data;return on.setItem("access_token",n,r),on.setItem("refresh_token",i,s),n}catch(t){if(console.error("Error refreshing access token:",t),on.removeItem("access_token"),on.removeItem("refresh_token"),on.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}throw t}},pL=t=>on.getItem("isOAuth")?t:"Bearer "+t;Kl.interceptors.request.use(async t=>{const e=on.getItem("access_token");return t.headers={Accept:"application/json"},on.getItem("access_token")&&(t.headers.Authorization=pL(e)),t},t=>{Promise.reject(t)}),Kl.interceptors.response.use(t=>t,async function(t){try{const e=t.config;if(t.response.status===401&&!e._retry){e._retry=!0;const n=await mL();return at.defaults.headers.common.Authorization="Bearer "+n,Kl(e)}else return Promise.reject(t)}catch{if(on.removeItem("access_token"),on.removeItem("refresh_token"),on.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}return Promise.reject(t)}});const gL={apiKey:"AIzaSyB_Ld2DPvpUNvAUB5zRFVewb1E3NOwZ56I",authDomain:"scope360-384414.firebaseapp.com",projectId:"scope360-384414",storageBucket:"scope360-384414.appspot.com",messagingSenderId:"642994439819",appId:"1:642994439819:web:963368ff44bab507a6368e",measurementId:"G-BGYS3877GQ"};class Ws extends Error{}class _L extends Ws{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class yL extends Ws{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class wL extends Ws{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Vi extends Ws{}class w3 extends Ws{constructor(e){super(`Invalid unit ${e}`)}}class Wt extends Ws{}class ss extends Ws{constructor(){super("Zone is an abstract class")}}const ne="numeric",Vn="short",an="long",Xl={year:ne,month:ne,day:ne},b3={year:ne,month:Vn,day:ne},bL={year:ne,month:Vn,day:ne,weekday:Vn},k3={year:ne,month:an,day:ne},C3={year:ne,month:an,day:ne,weekday:an},x3={hour:ne,minute:ne},M3={hour:ne,minute:ne,second:ne},v3={hour:ne,minute:ne,second:ne,timeZoneName:Vn},S3={hour:ne,minute:ne,second:ne,timeZoneName:an},T3={hour:ne,minute:ne,hourCycle:"h23"},O3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},D3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Vn},E3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:an},P3={year:ne,month:ne,day:ne,hour:ne,minute:ne},L3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},$3={year:ne,month:Vn,day:ne,hour:ne,minute:ne},N3={year:ne,month:Vn,day:ne,hour:ne,minute:ne,second:ne},kL={year:ne,month:Vn,day:ne,weekday:Vn,hour:ne,minute:ne},V3={year:ne,month:an,day:ne,hour:ne,minute:ne,timeZoneName:Vn},B3={year:ne,month:an,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Vn},A3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,timeZoneName:an},F3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,second:ne,timeZoneName:an};class ta{get type(){throw new ss}get name(){throw new ss}get ianaName(){return this.name}get isUniversal(){throw new ss}offsetName(e,n){throw new ss}formatOffset(e,n){throw new ss}offset(e){throw new ss}equals(e){throw new ss}get isValid(){throw new ss}}let E1=null;class Ql extends ta{static get instance(){return E1===null&&(E1=new Ql),E1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return l6(e,n,r)}formatOffset(e,n){return ia(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let Jl={};function CL(t){return Jl[t]||(Jl[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Jl[t]}const xL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function ML(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,a,l,c,d,u]=r;return[a,s,i,l,c,d,u]}function vL(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=xL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let ec={};class Dr extends ta{static create(e){return ec[e]||(ec[e]=new Dr(e)),ec[e]}static resetCache(){ec={},Jl={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Dr.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return l6(e,n,r,this.name)}formatOffset(e,n){return ia(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=CL(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?vL(r,n):ML(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=ic({year:s,month:i,day:a,hour:c===24?0:c,minute:d,second:u,millisecond:0});let m=+n;const g=m%1e3;return m-=g>=0?g:1e3+g,(f-m)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let R3={};function SL(t,e={}){const n=JSON.stringify([t,e]);let r=R3[n];return r||(r=new Intl.ListFormat(t,e),R3[n]=r),r}let P1={};function L1(t,e={}){const n=JSON.stringify([t,e]);let r=P1[n];return r||(r=new Intl.DateTimeFormat(t,e),P1[n]=r),r}let $1={};function TL(t,e={}){const n=JSON.stringify([t,e]);let r=$1[n];return r||(r=new Intl.NumberFormat(t,e),$1[n]=r),r}let N1={};function OL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=N1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),N1[s]=i),i}let na=null;function DL(){return na||(na=new Intl.DateTimeFormat().resolvedOptions().locale,na)}let I3={};function EL(t){let e=I3[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,I3[t]=e}return e}function PL(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(n===-1)return[t];{let r,s;try{r=L1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=L1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function LL(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function $L(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function NL(t){const e=[];for(let n=1;n<=7;n++){const r=pe.utc(2016,11,13+n);e.push(t(r))}return e}function tc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function VL(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class BL{constructor(e,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:i,...a}=r;if(!n||Object.keys(a).length>0){const l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=TL(e,l)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):z1(e,3);return yt(n,this.padTo)}}}class AL{constructor(e,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Dr.create(l).valid?(s=l,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=L1(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class FL{constructor(e,n,r){this.opts={style:"long",...r},!n&&s6()&&(this.rtf=OL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):s$(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const RL={firstDay:1,minimalDays:4,weekend:[6,7]};class Ie{static fromOpts(e){return Ie.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,r,s,i=!1){const a=e||gt.defaultLocale,l=a||(i?"en-US":DL()),c=n||gt.defaultNumberingSystem,d=r||gt.defaultOutputCalendar,u=R1(s)||gt.defaultWeekSettings;return new Ie(l,c,d,u,a)}static resetCache(){na=null,P1={},$1={},N1={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return Ie.create(e,n,r,s)}constructor(e,n,r,s,i){const[a,l,c]=PL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=LL(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=VL(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Ie.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,R1(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,n=!1){return tc(this,e,u6,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=$L(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return tc(this,e,m6,()=>{const r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=n?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=NL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return tc(this,void 0,()=>p6,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[pe.utc(2016,11,13,9),pe.utc(2016,11,13,19)].map(n=>this.extract(n,e,"dayperiod"))}return this.meridiemCache})}eras(e){return tc(this,e,g6,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[pe.utc(-40,1,1),pe.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[e]})}extract(e,n,r){const s=this.dtFormatter(e,n),i=s.formatToParts(),a=i.find(l=>l.type.toLowerCase()===r);return a?a.value:null}numberFormatter(e={}){return new BL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new AL(e,this.intl,n)}relFormatter(e={}){return new FL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return SL(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:i6()?EL(this.locale):RL}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let V1=null;class Nt extends ta{static get utcInstance(){return V1===null&&(V1=new Nt(0)),V1}static instance(e){return e===0?Nt.utcInstance:new Nt(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Nt(oc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ia(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ia(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ia(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class IL extends ta{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(me(t)||t===null)return e;if(t instanceof ta)return t;if(HL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?Ql.instance:n==="utc"||n==="gmt"?Nt.utcInstance:Nt.parseSpecifier(n)||Dr.create(t)}else return js(t)?Nt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new IL(t)}let z3=()=>Date.now(),Y3="system",H3=null,W3=null,j3=null,Z3=60,U3,q3=null;class gt{static get now(){return z3}static set now(e){z3=e}static set defaultZone(e){Y3=e}static get defaultZone(){return is(Y3,Ql.instance)}static get defaultLocale(){return H3}static set defaultLocale(e){H3=e}static get defaultNumberingSystem(){return W3}static set defaultNumberingSystem(e){W3=e}static get defaultOutputCalendar(){return j3}static set defaultOutputCalendar(e){j3=e}static get defaultWeekSettings(){return q3}static set defaultWeekSettings(e){q3=R1(e)}static get twoDigitCutoffYear(){return Z3}static set twoDigitCutoffYear(e){Z3=e%100}static get throwOnInvalid(){return U3}static set throwOnInvalid(e){U3=e}static resetCaches(){Ie.resetCache(),Dr.resetCache()}}class Bn{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const G3=[0,31,59,90,120,151,181,212,243,273,304,334],K3=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new Bn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function B1(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function X3(t,e,n){return n+(ra(t)?K3:G3)[e-1]}function Q3(t,e){const n=ra(t)?K3:G3,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function A1(t,e){return(t-e+7)%7+1}function nc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=X3(r,s,i),l=A1(B1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=sa(d,e,n)):c>sa(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,...lc(t)}}function J3(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=A1(B1(r,1,e),n),l=Ai(r);let c=s*7+i-a-7+e,d;c<1?(d=r-1,c+=Ai(d)):c>l?(d=r+1,c-=Ai(r)):d=r;const{month:u,day:h}=Q3(d,c);return{year:d,month:u,day:h,...lc(t)}}function F1(t){const{year:e,month:n,day:r}=t,s=X3(e,n,r);return{year:e,ordinal:s,...lc(t)}}function e6(t){const{year:e,ordinal:n}=t,{month:r,day:s}=Q3(e,n);return{year:e,month:r,day:s,...lc(t)}}function t6(t,e){if(!me(t.localWeekday)||!me(t.localWeekNumber)||!me(t.localWeekYear)){if(!me(t.weekday)||!me(t.weekNumber)||!me(t.weekYear))throw new Vi("Cannot mix locale-based week fields with ISO-based week fields");return me(t.localWeekday)||(t.weekday=t.localWeekday),me(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),me(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function zL(t,e=4,n=1){const r=rc(t.weekYear),s=kn(t.weekNumber,1,sa(t.weekYear,e,n)),i=kn(t.weekday,1,7);return r?s?i?!1:bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}function YL(t){const e=rc(t.year),n=kn(t.ordinal,1,Ai(t.year));return e?n?!1:bn("ordinal",t.ordinal):bn("year",t.year)}function n6(t){const e=rc(t.year),n=kn(t.month,1,12),r=kn(t.day,1,sc(t.year,t.month));return e?n?r?!1:bn("day",t.day):bn("month",t.month):bn("year",t.year)}function r6(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=kn(e,0,23)||e===24&&n===0&&r===0&&s===0,a=kn(n,0,59),l=kn(r,0,59),c=kn(s,0,999);return i?a?l?c?!1:bn("millisecond",s):bn("second",r):bn("minute",n):bn("hour",e)}function me(t){return typeof t>"u"}function js(t){return typeof t=="number"}function rc(t){return typeof t=="number"&&t%1===0}function HL(t){return typeof t=="string"}function WL(t){return Object.prototype.toString.call(t)==="[object Date]"}function s6(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function i6(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function jL(t){return Array.isArray(t)?t:[t]}function o6(t,e,n){if(t.length!==0)return t.reduce((r,s)=>{const i=[e(s),s];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function ZL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Bi(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function R1(t){if(t==null)return null;if(typeof t!="object")throw new Wt("Week settings must be an object");if(!kn(t.firstDay,1,7)||!kn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!kn(e,1,7)))throw new Wt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function kn(t,e,n){return rc(t)&&t>=e&&t<=n}function UL(t,e){return t-e*Math.floor(t/e)}function yt(t,e=2){const n=t<0;let r;return n?r="-"+(""+-t).padStart(e,"0"):r=(""+t).padStart(e,"0"),r}function os(t){if(!(me(t)||t===null||t===""))return parseInt(t,10)}function Zs(t){if(!(me(t)||t===null||t===""))return parseFloat(t)}function I1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function z1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function ra(t){return t%4===0&&(t%100!==0||t%400===0)}function Ai(t){return ra(t)?366:365}function sc(t,e){const n=UL(e-1,12)+1,r=t+(e-n)/12;return n===2?ra(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ic(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function a6(t,e,n){return-A1(B1(t,1,e),n)+e-1}function sa(t,e=4,n=1){const r=a6(t,e,n),s=a6(t+1,e,n);return(Ai(t)-r+s)/7}function Y1(t){return t>99?t:t>gt.twoDigitCutoffYear?1900+t:2e3+t}function l6(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:e,...i},l=new Intl.DateTimeFormat(n,a).formatToParts(s).find(c=>c.type.toLowerCase()==="timezonename");return l?l.value:null}function oc(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function c6(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new Wt(`Invalid unit value ${t}`);return e}function ac(t,e){const n={};for(const r in t)if(Bi(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=c6(s)}return n}function ia(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${yt(n,2)}:${yt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${yt(n,2)}${yt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function lc(t){return ZL(t,["hour","minute","second","millisecond"])}const qL=["January","February","March","April","May","June","July","August","September","October","November","December"],d6=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],GL=["J","F","M","A","M","J","J","A","S","O","N","D"];function u6(t){switch(t){case"narrow":return[...GL];case"short":return[...d6];case"long":return[...qL];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const h6=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],f6=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],KL=["M","T","W","T","F","S","S"];function m6(t){switch(t){case"narrow":return[...KL];case"short":return[...f6];case"long":return[...h6];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const p6=["AM","PM"],XL=["Before Christ","Anno Domini"],QL=["BC","AD"],JL=["B","A"];function g6(t){switch(t){case"narrow":return[...JL];case"short":return[...QL];case"long":return[...XL];default:return null}}function e$(t){return p6[t.hour<12?0:1]}function t$(t,e){return m6(e)[t.weekday-1]}function n$(t,e){return u6(e)[t.month-1]}function r$(t,e){return g6(e)[t.year<0?0:1]}function s$(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(n==="auto"&&i){const h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`}}const a=Object.is(e,-0)||e<0,l=Math.abs(e),c=l===1,d=s[t],u=r?c?d[1]:d[2]||d[1]:c?s[t][0]:t;return a?`${l} ${u} ago`:`in ${l} ${u}`}function _6(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const i$={D:Xl,DD:b3,DDD:k3,DDDD:C3,t:x3,tt:M3,ttt:v3,tttt:S3,T:T3,TT:O3,TTT:D3,TTTT:E3,f:P3,ff:$3,fff:V3,ffff:A3,F:L3,FF:N3,FFF:B3,FFFF:F3};class Lt{static create(e,n={}){return new Lt(e,n)}static parseFormat(e){let n=null,r="",s=!1;const i=[];for(let a=0;a<e.length;a++){const l=e.charAt(a);l==="'"?(r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||l===n?r+=l:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return i$[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0){if(this.opts.forceSimple)return yt(e,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,g)=>this.loc.extract(e,m,g),a=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",l=()=>r?e$(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?n$(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?t$(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Lt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?r$(e,m):i({era:m},"era"),f=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return l();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(m)}};return _6(Lt.parseFormat(n),f)}formatDurationFromString(e,n){const r=c=>{switch(c[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=c=>d=>{const u=r(d);return u?this.num(c.get(u),d.length):d},i=Lt.parseFormat(n),a=i.reduce((c,{literal:d,val:u})=>d?c:c.concat(u),[]),l=e.shiftTo(...a.map(r).filter(c=>c));return _6(i,s(l))}}const y6=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Fi(...t){const e=t.reduce((n,r)=>n+r.source,"");return RegExp(`^${e}$`)}function Ri(...t){return e=>t.reduce(([n,r,s],i)=>{const[a,l,c]=i(e,s);return[{...n,...a},l||r,c]},[{},null,1]).slice(0,2)}function Ii(t,...e){if(t==null)return[null,null];for(const[n,r]of e){const s=n.exec(t);if(s)return r(s)}return[null,null]}function w6(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=os(e[n+s]);return[r,null,n+s]}}const b6=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,o$=`(?:${b6.source}?(?:\\[(${y6.source})\\])?)?`,H1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,k6=RegExp(`${H1.source}${o$}`),W1=RegExp(`(?:T${k6.source})?`),a$=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,l$=/(\d{4})-?W(\d\d)(?:-?(\d))?/,c$=/(\d{4})-?(\d{3})/,d$=w6("weekYear","weekNumber","weekDay"),u$=w6("year","ordinal"),h$=/(\d{4})-(\d\d)-(\d\d)/,C6=RegExp(`${H1.source} ?(?:${b6.source}|(${y6.source}))?`),f$=RegExp(`(?: ${C6.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:os(r)}function m$(t,e){return[{year:zi(t,e),month:zi(t,e+1,1),day:zi(t,e+2,1)},null,e+3]}function Yi(t,e){return[{hours:zi(t,e,0),minutes:zi(t,e+1,0),seconds:zi(t,e+2,0),milliseconds:I1(t[e+3])},null,e+4]}function oa(t,e){const n=!t[e]&&!t[e+1],r=oc(t[e+1],t[e+2]),s=n?null:Nt.instance(r);return[{},s,e+3]}function aa(t,e){const n=t[e]?Dr.create(t[e]):null;return[{},n,e+1]}const p$=RegExp(`^T?${H1.source}$`),g$=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function _$(t){const[e,n,r,s,i,a,l,c,d]=t,u=e[0]==="-",h=c&&c[0]==="-",f=(m,g=!1)=>m!==void 0&&(g||m&&u)?-m:m;return[{years:f(Zs(n)),months:f(Zs(r)),weeks:f(Zs(s)),days:f(Zs(i)),hours:f(Zs(a)),minutes:f(Zs(l)),seconds:f(Zs(c),c==="-0"),milliseconds:f(I1(d),h)}]}const y$={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function j1(t,e,n,r,s,i,a){const l={year:e.length===2?Y1(os(e)):os(e),month:d6.indexOf(n)+1,day:os(r),hour:os(s),minute:os(i)};return a&&(l.second=os(a)),t&&(l.weekday=t.length>3?h6.indexOf(t)+1:f6.indexOf(t)+1),l}const w$=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function b$(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=j1(e,s,r,n,i,a,l);let m;return c?m=y$[c]:d?m=0:m=oc(u,h),[f,new Nt(m)]}function k$(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const C$=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,x$=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,M$=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function x6(t){const[,e,n,r,s,i,a,l]=t;return[j1(e,s,r,n,i,a,l),Nt.utcInstance]}function v$(t){const[,e,n,r,s,i,a,l]=t;return[j1(e,l,n,r,s,i,a),Nt.utcInstance]}const S$=Fi(a$,W1),T$=Fi(l$,W1),O$=Fi(c$,W1),D$=Fi(k6),M6=Ri(m$,Yi,oa,aa),E$=Ri(d$,Yi,oa,aa),P$=Ri(u$,Yi,oa,aa),L$=Ri(Yi,oa,aa);function $$(t){return Ii(t,[S$,M6],[T$,E$],[O$,P$],[D$,L$])}function N$(t){return Ii(k$(t),[w$,b$])}function V$(t){return Ii(t,[C$,x6],[x$,x6],[M$,v$])}function B$(t){return Ii(t,[g$,_$])}const A$=Ri(Yi);function F$(t){return Ii(t,[p$,A$])}const R$=Fi(h$,f$),I$=Fi(C6),z$=Ri(Yi,oa,aa);function Y$(t){return Ii(t,[R$,M6],[I$,z$])}const v6="Invalid Duration",S6={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},H$={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...S6},Cn=146097/400,Hi=146097/4800,W$={years:{quarters:4,months:12,weeks:Cn/7,days:Cn,hours:Cn*24,minutes:Cn*24*60,seconds:Cn*24*60*60,milliseconds:Cn*24*60*60*1e3},quarters:{months:3,weeks:Cn/28,days:Cn/4,hours:Cn*24/4,minutes:Cn*24*60/4,seconds:Cn*24*60*60/4,milliseconds:Cn*24*60*60*1e3/4},months:{weeks:Hi/7,days:Hi,hours:Hi*24,minutes:Hi*24*60,seconds:Hi*24*60*60,milliseconds:Hi*24*60*60*1e3},...S6},Us=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],j$=Us.slice(0).reverse();function as(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Oe(r)}function T6(t,e){let n=e.milliseconds??0;for(const r of j$.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function O6(t,e){const n=T6(t,e)<0?-1:1;Us.reduceRight((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]*n,a=t[s][r],l=Math.floor(i/a);e[s]+=l*n,e[r]-=l*a*n}return s},null),Us.reduce((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]%1;e[r]-=i,e[s]+=i*t[r][s]}return s},null)}function Z$(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class Oe{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?W$:H$;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||Ie.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,n){return Oe.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new Wt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Oe({values:ac(e,Oe.normalizeUnit),loc:Ie.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(js(e))return Oe.fromMillis(e);if(Oe.isDuration(e))return e;if(typeof e=="object")return Oe.fromObject(e);throw new Wt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=B$(e);return r?Oe.fromObject(r,n):Oe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=F$(e);return r?Oe.fromObject(r,n):Oe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new Wt("need to specify a reason the Duration is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new wL(r);return new Oe({invalid:r})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new w3(e);return n}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Lt.create(this.loc,r).formatDurationFromString(this,e):v6}toHuman(e={}){if(!this.isValid)return v6;const n=Us.map(r=>{const s=this.values[r];return me(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(s)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=z1(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},pe.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?T6(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e),r={};for(const s of Us)(Bi(n.values,s)||Bi(this.values,s))&&(r[s]=n.get(s)+this.get(s));return as(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=c6(e(this.values[r],r));return as(this,{values:n},!0)}get(e){return this[Oe.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...ac(e,Oe.normalizeUnit)};return as(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:s,conversionAccuracy:r};return as(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return O6(this.matrix,e),as(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=Z$(this.normalize().shiftToAll().toObject());return as(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>Oe.normalizeUnit(a));const n={},r={},s=this.toObject();let i;for(const a of Us)if(e.indexOf(a)>=0){i=a;let l=0;for(const d in r)l+=this.matrix[d][a]*r[d],r[d]=0;js(s[a])&&(l+=s[a]);const c=Math.trunc(l);n[a]=c,r[a]=(l*1e3-c*1e3)/1e3}else js(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return O6(this.matrix,n),as(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=this.values[n]===0?0:-this.values[n];return as(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of Us)if(!n(this.values[r],e.values[r]))return!1;return!0}}const Wi="Invalid Interval";function U$(t,e){return!t||!t.isValid?lt.invalid("missing or invalid start"):!e||!e.isValid?lt.invalid("missing or invalid end"):e<t?lt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class lt{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,n=null){if(!e)throw new Wt("need to specify a reason the Interval is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new yL(r);return new lt({invalid:r})}static fromDateTimes(e,n){const r=ca(e),s=ca(n),i=U$(r,s);return i??new lt({start:r,end:s})}static after(e,n){const r=Oe.fromDurationLike(n),s=ca(e);return lt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=Oe.fromDurationLike(n),s=ca(e);return lt.fromDateTimes(s.minus(r),s)}static fromISO(e,n){const[r,s]=(e||"").split("/",2);if(r&&s){let i,a;try{i=pe.fromISO(r,n),a=i.isValid}catch{a=!1}let l,c;try{l=pe.fromISO(s,n),c=l.isValid}catch{c=!1}if(a&&c)return lt.fromDateTimes(i,l);if(a){const d=Oe.fromISO(s,n);if(d.isValid)return lt.after(i,d)}else if(c){const d=Oe.fromISO(r,n);if(d.isValid)return lt.before(l,d)}}return lt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(e,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(e,n),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?lt.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(ca).filter(a=>this.contains(a)).sort((a,l)=>a.toMillis()-l.toMillis()),r=[];let{s}=this,i=0;for(;s<this.e;){const a=n[i]||this.e,l=+a>+this.e?this.e:a;r.push(lt.fromDateTimes(s,l)),s=l,i+=1}return r}splitBy(e){const n=Oe.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*s));i=+l>+this.e?this.e:l,a.push(lt.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:lt.fromDateTimes(n,r)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return lt.fromDateTimes(n,r)}static merge(e){const[n,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(e){let n=null,r=0;const s=[],i=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),a=Array.prototype.concat(...i),l=a.sort((c,d)=>c.time-d.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&s.push(lt.fromDateTimes(n,c.time)),n=null);return lt.merge(s)}difference(...e){return lt.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Wi}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Xl,n={}){return this.isValid?Lt.create(this.s.loc.clone(n),e).formatInterval(this):Wi}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Wi}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Wi}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Wi}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:Wi}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):Oe.invalid(this.invalidReason)}mapEndpoints(e){return lt.fromDateTimes(e(this.s),e(this.e))}}class cc{static hasDST(e=gt.defaultZone){const n=pe.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Dr.isValidZone(e)}static normalizeZone(e){return is(e,gt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||Ie.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||Ie.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||Ie.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||Ie.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||Ie.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ie.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ie.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Ie.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return Ie.create(n,null,"gregory").eras(e)}static features(){return{relative:s6(),localeWeek:i6()}}}function D6(t,e){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Oe.fromMillis(r).as("days"))}function q$(t,e,n){const r=[["years",(c,d)=>d.year-c.year],["quarters",(c,d)=>d.quarter-c.quarter+(d.year-c.year)*4],["months",(c,d)=>d.month-c.month+(d.year-c.year)*12],["weeks",(c,d)=>{const u=D6(c,d);return(u-u%7)/7}],["days",D6]],s={},i=t;let a,l;for(const[c,d]of r)n.indexOf(c)>=0&&(a=c,s[c]=d(t,e),l=i.plus(s),l>e?(s[c]--,t=i.plus(s),t>e&&(l=t,s[c]--,t=i.plus(s))):t=l);return[t,s,l,a]}function G$(t,e,n,r){let[s,i,a,l]=q$(t,e,n);const c=e-s,d=n.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);d.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(i[l]=(i[l]||0)+c/(a-s)));const u=Oe.fromObject(i,r);return d.length>0?Oe.fromMillis(c,r).shiftTo(...d).plus(u):u}const Z1={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},E6={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},K$=Z1.hanidec.replace(/[\[|\]]/g,"").split("");function X$(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(t[n].search(Z1.hanidec)!==-1)e+=K$.indexOf(t[n]);else for(const s in E6){const[i,a]=E6[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function An({numberingSystem:t},e=""){return new RegExp(`${Z1[t||"latn"]}${e}`)}const Q$="missing Intl.DateTimeFormat.formatToParts support";function Ne(t,e=n=>n){return{regex:t,deser:([n])=>e(X$(n))}}const P6="[  ]",L6=new RegExp(P6,"g");function J$(t){return t.replace(/\./g,"\\.?").replace(L6,P6)}function $6(t){return t.replace(/\./g,"").replace(L6," ").toLowerCase()}function Fn(t,e){return t===null?null:{regex:RegExp(t.map(J$).join("|")),deser:([n])=>t.findIndex(r=>$6(n)===$6(r))+e}}function N6(t,e){return{regex:t,deser:([,n,r])=>oc(n,r),groups:e}}function dc(t){return{regex:t,deser:([e])=>e}}function eN(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function tN(t,e){const n=An(e),r=An(e,"{2}"),s=An(e,"{3}"),i=An(e,"{4}"),a=An(e,"{6}"),l=An(e,"{1,2}"),c=An(e,"{1,3}"),d=An(e,"{1,6}"),u=An(e,"{1,9}"),h=An(e,"{2,4}"),f=An(e,"{4,6}"),m=_=>({regex:RegExp(eN(_.val)),deser:([y])=>y,literal:!0}),p=(_=>{if(t.literal)return m(_);switch(_.val){case"G":return Fn(e.eras("short"),0);case"GG":return Fn(e.eras("long"),0);case"y":return Ne(d);case"yy":return Ne(h,Y1);case"yyyy":return Ne(i);case"yyyyy":return Ne(f);case"yyyyyy":return Ne(a);case"M":return Ne(l);case"MM":return Ne(r);case"MMM":return Fn(e.months("short",!0),1);case"MMMM":return Fn(e.months("long",!0),1);case"L":return Ne(l);case"LL":return Ne(r);case"LLL":return Fn(e.months("short",!1),1);case"LLLL":return Fn(e.months("long",!1),1);case"d":return Ne(l);case"dd":return Ne(r);case"o":return Ne(c);case"ooo":return Ne(s);case"HH":return Ne(r);case"H":return Ne(l);case"hh":return Ne(r);case"h":return Ne(l);case"mm":return Ne(r);case"m":return Ne(l);case"q":return Ne(l);case"qq":return Ne(r);case"s":return Ne(l);case"ss":return Ne(r);case"S":return Ne(c);case"SSS":return Ne(s);case"u":return dc(u);case"uu":return dc(l);case"uuu":return Ne(n);case"a":return Fn(e.meridiems(),0);case"kkkk":return Ne(i);case"kk":return Ne(h,Y1);case"W":return Ne(l);case"WW":return Ne(r);case"E":case"c":return Ne(n);case"EEE":return Fn(e.weekdays("short",!1),1);case"EEEE":return Fn(e.weekdays("long",!1),1);case"ccc":return Fn(e.weekdays("short",!0),1);case"cccc":return Fn(e.weekdays("long",!0),1);case"Z":case"ZZ":return N6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return N6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return dc(/[a-z_+-/]{1,256}?/i);case" ":return dc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:Q$};return p.token=t,p}const nN={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function rN(t,e,n){const{type:r,value:s}=t;if(r==="literal"){const c=/^\s+$/.test(s);return{literal:!c,val:c?" ":s}}const i=e[r];let a=r;r==="hour"&&(e.hour12!=null?a=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?a="hour12":a="hour24":a=n.hour12?"hour12":"hour24");let l=nN[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function sN(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function iN(t,e,n){const r=t.match(e);if(r){const s={};let i=1;for(const a in n)if(Bi(n,a)){const l=n[a],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(s[l.token.val[0]]=l.deser(r.slice(i,i+c))),i+=c}return[r,s]}else return[r,{}]}function oN(t){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return me(t.z)||(n=Dr.create(t.z)),me(t.Z)||(n||(n=new Nt(t.Z)),r=t.Z),me(t.q)||(t.M=(t.q-1)*3+1),me(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),me(t.u)||(t.S=I1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let U1=null;function aN(){return U1||(U1=pe.fromMillis(1555555555555)),U1}function lN(t,e){if(t.literal)return t;const n=Lt.macroTokenToFormatOpts(t.val),r=A6(n,e);return r==null||r.includes(void 0)?t:r}function V6(t,e){return Array.prototype.concat(...t.map(n=>lN(n,e)))}function B6(t,e,n){const r=V6(Lt.parseFormat(n),t),s=r.map(a=>tN(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=sN(s),c=RegExp(a,"i"),[d,u]=iN(e,c,l),[h,f,m]=u?oN(u):[null,null,void 0];if(Bi(u,"a")&&Bi(u,"H"))throw new Vi("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:d,matches:u,result:h,zone:f,specificOffset:m}}}function cN(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=B6(t,e,n);return[r,s,i,a]}function A6(t,e){if(!t)return null;const r=Lt.create(e,t).dtFormatter(aN()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>rN(a,t,i))}const q1="Invalid DateTime",F6=864e13;function uc(t){return new Bn("unsupported zone",`the zone "${t.name}" is not supported`)}function G1(t){return t.weekData===null&&(t.weekData=nc(t.c)),t.weekData}function K1(t){return t.localWeekData===null&&(t.localWeekData=nc(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qs(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new pe({...n,...e,old:n})}function R6(t,e,n){let r=t-e*60*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=(s-e)*60*1e3;const i=n.offset(r);return s===i?[r,s]:[t-Math.min(s,i)*60*1e3,Math.max(s,i)]}function hc(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function fc(t,e,n){return R6(ic(t),e,n)}function I6(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:r,month:s,day:Math.min(t.c.day,sc(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=Oe.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),l=ic(i);let[c,d]=R6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function la(t,e,n,r,s,i){const{setZone:a,zone:l}=n;if(t&&Object.keys(t).length!==0||e){const c=e||l,d=pe.fromObject(t,{...n,zone:c,specificOffset:i});return a?d:d.setZone(l)}else return pe.invalid(new Bn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function mc(t,e,n=!0){return t.isValid?Lt.create(Ie.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function X1(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=yt(t.c.year,n?6:4),e?(r+="-",r+=yt(t.c.month),r+="-",r+=yt(t.c.day)):(r+=yt(t.c.month),r+=yt(t.c.day)),r}function z6(t,e,n,r,s,i){let a=yt(t.c.hour);return e?(a+=":",a+=yt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=":")):a+=yt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=yt(t.c.second),(t.c.millisecond!==0||!r)&&(a+=".",a+=yt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!i?a+="Z":t.o<0?(a+="-",a+=yt(Math.trunc(-t.o/60)),a+=":",a+=yt(Math.trunc(-t.o%60))):(a+="+",a+=yt(Math.trunc(t.o/60)),a+=":",a+=yt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const Y6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},dN={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},uN={ordinal:1,hour:0,minute:0,second:0,millisecond:0},H6=["year","month","day","hour","minute","second","millisecond"],hN=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],fN=["year","ordinal","hour","minute","second","millisecond"];function mN(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new w3(t);return e}function W6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return mN(t)}}function j6(t,e){const n=is(e.zone,gt.defaultZone),r=Ie.fromObject(e),s=gt.now();let i,a;if(me(t.year))i=s;else{for(const d of H6)me(t[d])&&(t[d]=Y6[d]);const l=n6(t)||r6(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=fc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function Z6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=z1(a,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(a,l)),i=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return s(i(n.unit),n.unit);for(const a of n.units){const l=i(a);if(Math.abs(l)>=1)return s(l,a)}return s(t>e?-0:0,n.units[n.units.length-1])}function U6(t){let e={},n;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],n=Array.from(t).slice(0,t.length-1)):n=Array.from(t),[e,n]}class pe{constructor(e){const n=e.zone||gt.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Bn("invalid input"):null)||(n.isValid?null:uc(n));this.ts=me(e.ts)?gt.now():e.ts;let s=null,i=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[s,i]=[e.old.c,e.old.o];else{const l=n.offset(this.ts);s=hc(this.ts,l),r=Number.isNaN(s.year)?new Bn("invalid input"):null,s=r?null:s,i=r?null:l}this._zone=n,this.loc=e.loc||Ie.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new pe({})}static local(){const[e,n]=U6(arguments),[r,s,i,a,l,c,d]=n;return j6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=U6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Nt.utcInstance,j6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=WL(e)?e.valueOf():NaN;if(Number.isNaN(r))return pe.invalid("invalid input");const s=is(n.zone,gt.defaultZone);return s.isValid?new pe({ts:r,zone:s,loc:Ie.fromObject(n)}):pe.invalid(uc(s))}static fromMillis(e,n={}){if(js(e))return e<-F6||e>F6?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:is(n.zone,gt.defaultZone),loc:Ie.fromObject(n)});throw new Wt(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(js(e))return new pe({ts:e*1e3,zone:is(n.zone,gt.defaultZone),loc:Ie.fromObject(n)});throw new Wt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=is(n.zone,gt.defaultZone);if(!r.isValid)return pe.invalid(uc(r));const s=Ie.fromObject(n),i=ac(e,W6),{minDaysInFirstWeek:a,startOfWeek:l}=t6(i,s),c=gt.now(),d=me(n.specificOffset)?r.offset(c):n.specificOffset,u=!me(i.ordinal),h=!me(i.year),f=!me(i.month)||!me(i.day),m=h||f,g=i.weekYear||i.weekNumber;if((m||u)&&g)throw new Vi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new Vi("Can't mix ordinal dates with month/day");const p=g||i.weekday&&!m;let _,y,C=hc(c,d);p?(_=hN,y=dN,C=nc(C,a,l)):u?(_=fN,y=uN,C=F1(C)):(_=H6,y=Y6);let k=!1;for(const I of _){const j=i[I];me(j)?k?i[I]=y[I]:i[I]=C[I]:k=!0}const S=p?zL(i,a,l):u?YL(i):n6(i),M=S||r6(i);if(M)return pe.invalid(M);const O=p?J3(i,a,l):u?e6(i):i,[v,D]=fc(O,d,r),E=new pe({ts:v,zone:r,o:D,loc:s});return i.weekday&&m&&e.weekday!==E.weekday?pe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E}static fromISO(e,n={}){const[r,s]=$$(e);return la(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=N$(e);return la(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=V$(e);return la(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new Wt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=Ie.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[l,c,d,u]=cN(a,e,n);return u?pe.invalid(u):la(l,c,r,`format ${n}`,e,d)}static fromString(e,n,r={}){return pe.fromFormat(e,n,r)}static fromSQL(e,n={}){const[r,s]=Y$(e);return la(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new Wt("need to specify a reason the DateTime is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new _L(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=A6(e,Ie.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return V6(Lt.parseFormat(e),Ie.fromObject(n)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?G1(this).weekYear:NaN}get weekNumber(){return this.isValid?G1(this).weekNumber:NaN}get weekday(){return this.isValid?G1(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?K1(this).weekday:NaN}get localWeekNumber(){return this.isValid?K1(this).weekNumber:NaN}get localWeekYear(){return this.isValid?K1(this).weekYear:NaN}get ordinal(){return this.isValid?F1(this.c).ordinal:NaN}get monthShort(){return this.isValid?cc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?cc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?cc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?cc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,n=6e4,r=ic(this.c),s=this.zone.offset(r-e),i=this.zone.offset(r+e),a=this.zone.offset(r-s*n),l=this.zone.offset(r-i*n);if(a===l)return[this];const c=r-a*n,d=r-l*n,u=hc(c,a),h=hc(d,l);return u.hour===h.hour&&u.minute===h.minute&&u.second===h.second&&u.millisecond===h.millisecond?[qs(this,{ts:c}),qs(this,{ts:d})]:[this]}get isInLeapYear(){return ra(this.year)}get daysInMonth(){return sc(this.year,this.month)}get daysInYear(){return this.isValid?Ai(this.year):NaN}get weeksInWeekYear(){return this.isValid?sa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Lt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(e=0,n={}){return this.setZone(Nt.instance(e),n)}toLocal(){return this.setZone(gt.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=is(e,gt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(n||r){const i=e.offset(this.ts),a=this.toObject();[s]=fc(a,i,e)}return qs(this,{ts:s,zone:e})}else return pe.invalid(uc(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:r});return qs(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=ac(e,W6),{minDaysInFirstWeek:r,startOfWeek:s}=t6(n,this.loc),i=!me(n.weekYear)||!me(n.weekNumber)||!me(n.weekday),a=!me(n.ordinal),l=!me(n.year),c=!me(n.month)||!me(n.day),d=l||c,u=n.weekYear||n.weekNumber;if((d||a)&&u)throw new Vi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new Vi("Can't mix ordinal dates with month/day");let h;i?h=J3({...nc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(sc(h.year,h.month),h.day))):h=e6({...F1(this.c),...n});const[f,m]=fc(h,this.o,this.zone);return qs(this,{ts:f,o:m})}plus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e);return qs(this,I6(this,n))}minus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e).negate();return qs(this,I6(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=Oe.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(s==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?Lt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):q1}toLocaleString(e=Xl,n={}){return this.isValid?Lt.create(this.loc.clone(n),e).formatDateTime(this):q1}toLocaleParts(e={}){return this.isValid?Lt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const a=e==="extended";let l=X1(this,a);return l+="T",l+=z6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?X1(this,e==="extended"):null}toISOWeekDate(){return mc(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:i=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+z6(this,a==="extended",n,e,r,i):null}toRFC2822(){return mc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return mc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?X1(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||e)&&(r&&(s+=" "),n?s+="z":e&&(s+="ZZ")),mc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():q1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",r={}){if(!this.isValid||!e.isValid)return Oe.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=jL(n).map(Oe.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=G$(l,c,i,s);return a?d.negate():d}diffNow(e="milliseconds",n={}){return this.diff(pe.now(),e,n)}until(e){return this.isValid?lt.fromDateTimes(this,e):this}hasSame(e,n,r){if(!this.isValid)return!1;const s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(n,r)<=s&&s<=i.endOf(n,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const n=e.base||pe.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(s=e.unit,i=void 0),Z6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?Z6(e.base||pe.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(pe.isDateTime))throw new Wt("min requires all arguments be DateTimes");return o6(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new Wt("max requires all arguments be DateTimes");return o6(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=Ie.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return B6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return Xl}static get DATE_MED(){return b3}static get DATE_MED_WITH_WEEKDAY(){return bL}static get DATE_FULL(){return k3}static get DATE_HUGE(){return C3}static get TIME_SIMPLE(){return x3}static get TIME_WITH_SECONDS(){return M3}static get TIME_WITH_SHORT_OFFSET(){return v3}static get TIME_WITH_LONG_OFFSET(){return S3}static get TIME_24_SIMPLE(){return T3}static get TIME_24_WITH_SECONDS(){return O3}static get TIME_24_WITH_SHORT_OFFSET(){return D3}static get TIME_24_WITH_LONG_OFFSET(){return E3}static get DATETIME_SHORT(){return P3}static get DATETIME_SHORT_WITH_SECONDS(){return L3}static get DATETIME_MED(){return $3}static get DATETIME_MED_WITH_SECONDS(){return N3}static get DATETIME_MED_WITH_WEEKDAY(){return kL}static get DATETIME_FULL(){return V3}static get DATETIME_FULL_WITH_SECONDS(){return B3}static get DATETIME_HUGE(){return A3}static get DATETIME_HUGE_WITH_SECONDS(){return F3}}function ca(t){if(pe.isDateTime(t))return t;if(t&&t.valueOf&&js(t.valueOf()))return pe.fromJSDate(t);if(t&&typeof t=="object")return pe.fromObject(t);throw new Wt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function jt(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function Q1(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function pN(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function gN(t){return new Date(t).getFullYear()}function q6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function _N(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function yN(t){return new Date(t).getDate()}function J1(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}const xn=(t,e={isPercentage:!1,isFixed:!0,isPlus:!1})=>{let n;t>=0?n=e.isPlus&&t!==0?"+":"":n="-";let r=Math.abs(t);return e.isFixed&&(r=jt(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function wN(t,e){const n=+new Date(e)-+new Date(t),r=Math.floor(n/(1e3*60*60*24)),s=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),i=Math.floor(n%(1e3*60*60)/(1e3*60)),a=Math.floor(n%(1e3*60)/1e3);if(r>0)return`${r} d`;if(s>0)return`${s} h`;if(i>0)return`${i} m`;if(a>0)return`${a} s`}function G6(t){const e=/^(\w{2,4})(.*)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[3];return r===""||s===""?t:`${r}/${s}`}else return t}const bN=(t,e,n,r={},s)=>{const i=o.h(t,e,r),a=document.createElement("div");return a.setAttribute("id",s||""),n.appendChild(a),o.render(i,a),i.component},kN={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},pc=t=>{if(!(t!=null&&t.message))return;const e={...kN,...t},n=bN(O0,e,document.body,void 0,"toast"),r=()=>{var s,i,a;(a=(i=(s=n==null?void 0:n.refs)==null?void 0:s.toast)==null?void 0:i.parentElement)==null||a.remove()};if(setTimeout(r,e.duration),e!=null&&e.hideOnRouteChange){const s=o.watch(()=>window.location.href,()=>{r(),s()})}return{dismiss:r}},CN=(t,e)=>pc({...e,message:t,type:"success"}),xN=(t,e)=>pc({...e,message:t,type:"error"}),MN=(t,e)=>pc({...e,message:t,type:"info"}),K6=()=>({open:pc,success:CN,error:xN,info:MN}),vN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},SN=[o.createElementVNode("path",{d:"M10.6667 4.33073C10.6667 5.80349 9.47275 6.9974 7.99999 6.9974C6.52723 6.9974 5.33332 5.80349 5.33332 4.33073C5.33332 2.85797 6.52723 1.66406 7.99999 1.66406C9.47275 1.66406 10.6667 2.85797 10.6667 4.33073Z",stroke:"#7F7F83","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99999 8.33073C5.26433 8.33073 3.27753 10.3058 2.76741 12.9433C2.69312 13.3274 3.00319 13.6641 3.39438 13.6641H12.6056C12.9968 13.6641 13.3069 13.3274 13.2326 12.9433C12.7224 10.3058 10.7356 8.33073 7.99999 8.33073Z",stroke:"#7F7F83","stroke-linejoin":"round"},null,-1)];function X6(t,e){return o.openBlock(),o.createElementBlock("svg",vN,[...SN])}const TN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X6},render:X6},Symbol.toStringTag,{value:"Module"})),ON={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DN=[o.createElementVNode("g",{id:"ant-design:apple-filled"},[o.createElementVNode("path",{id:"Vector",d:"M17.8237 12.5555C17.8142 10.957 18.5452 9.75234 20.0212 8.86406C19.1957 7.69219 17.9467 7.04766 16.3003 6.92344C14.7415 6.80156 13.036 7.82344 12.4115 7.82344C11.7516 7.82344 10.2424 6.96562 9.05497 6.96562C6.60436 7.00312 4 8.90156 4 12.7641C4 13.9055 4.21053 15.0844 4.63158 16.2984C5.19455 17.8969 7.22411 21.8133 9.34119 21.75C10.4482 21.7242 11.2312 20.9719 12.6717 20.9719C14.0697 20.9719 14.7936 21.75 16.0283 21.75C18.1643 21.7195 19.9999 18.1594 20.5345 16.5562C17.6699 15.218 17.8237 12.6375 17.8237 12.5555ZM15.3376 5.40703C16.5369 3.99609 16.4281 2.71172 16.3926 2.25C15.3329 2.31094 14.1076 2.96484 13.4098 3.76875C12.641 4.63125 12.1892 5.69766 12.2862 6.9C13.4311 6.98672 14.4766 6.40312 15.3376 5.40703Z",fill:"black"})],-1)];function Q6(t,e){return o.openBlock(),o.createElementBlock("svg",ON,[...DN])}const EN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q6},render:Q6},Symbol.toStringTag,{value:"Module"})),PN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LN=[o.createElementVNode("path",{d:"M12.1667 5.83333V12.1667H5.83333M4 4L11.7334 11.7334",stroke:"#F18169","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function J6(t,e){return o.openBlock(),o.createElementBlock("svg",PN,[...LN])}const $N=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J6},render:J6},Symbol.toStringTag,{value:"Module"})),NN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},VN=[o.createElementVNode("path",{d:"M12.3334 9.33203L8.00008 13.6654L3.66675 9.33203M8.00008 13.332V2.33203",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function eg(t,e){return o.openBlock(),o.createElementBlock("svg",NN,[...VN])}const BN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:eg},render:eg},Symbol.toStringTag,{value:"Module"})),AN={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},FN=[o.createStaticVNode('<g filter="url(#filter0_d_1815_32605)"><rect x="5" y="5" width="20" height="20" rx="10" fill="#E3EEFE"></rect></g><path fill-rule="evenodd" clip-rule="evenodd" d="M18.7761 15.3109C18.7761 15.0718 18.5822 14.8779 18.3431 14.8779L13.3271 14.8779L15.0217 13.1833C15.1908 13.0142 15.1908 12.7401 15.0217 12.571C14.8527 12.4019 14.5785 12.4019 14.4095 12.571L11.9757 15.0047C11.8067 15.1738 11.8067 15.4479 11.9757 15.617L14.4094 18.0507C14.5785 18.2198 14.8526 18.2198 15.0217 18.0507C15.1908 17.8816 15.1908 17.6075 15.0217 17.4384L13.3271 15.7438L18.3431 15.7438C18.5822 15.7438 18.7761 15.55 18.7761 15.3109Z" fill="#007AFF"></path><defs><filter id="filter0_d_1815_32605" x="0" y="0" width="30" height="30" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="2.5"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1815_32605"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1815_32605" result="shape"></feBlend></filter></defs>',3)];function tg(t,e){return o.openBlock(),o.createElementBlock("svg",AN,[...FN])}const RN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:tg},render:tg},Symbol.toStringTag,{value:"Module"})),IN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zN=[o.createElementVNode("g",{id:"arrow-rotate-right-left, repeat, refresh"},[o.createElementVNode("path",{id:"vector",d:"M16.2597 17.083V13.7497H12.9264M3.74984 2.91634L3.74984 6.24967H7.08317M2.97131 9.11426C2.93514 9.40431 2.9165 9.69982 2.9165 9.99967C2.9165 13.9117 6.08782 17.083 9.99984 17.083C12.3545 17.083 14.6442 15.9341 15.9641 14.1663M17.0284 10.8851C17.0645 10.595 17.0832 10.2995 17.0832 9.99967C17.0832 6.08766 13.9119 2.91634 9.99984 2.91634C7.64522 2.91634 5.35552 4.06523 4.03555 5.83301",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function ng(t,e){return o.openBlock(),o.createElementBlock("svg",IN,[...zN])}const YN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ng},render:ng},Symbol.toStringTag,{value:"Module"})),HN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WN=[o.createElementVNode("path",{d:"M12.1667 10.1654V3.83203M12.1667 3.83203H5.83333M12.1667 3.83203L4 11.9987",stroke:"#56B683","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function rg(t,e){return o.openBlock(),o.createElementBlock("svg",HN,[...WN])}const jN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:rg},render:rg},Symbol.toStringTag,{value:"Module"})),ZN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},UN=[o.createElementVNode("path",{d:"M3.66675 6.66536L8.00008 2.33203L12.3334 6.66536M8.00008 13.6654V2.66536",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function sg(t,e){return o.openBlock(),o.createElementBlock("svg",ZN,[...UN])}const qN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:sg},render:sg},Symbol.toStringTag,{value:"Module"})),GN={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KN=[o.createStaticVNode('<rect x="0.5" width="20" height="20" rx="10" fill="#1C2026"></rect><g clip-path="url(#clip0_4453_114916)"><path d="M12.6416 10.892L13.8995 12.1494L10.4953 15.5535L7.09161 12.1498L8.34948 10.892L10.4958 13.0494L12.6416 10.892ZM14.7884 8.74567L16.0564 10.0031L14.7995 11.2605L13.5416 10.0031L14.7884 8.74567ZM10.4958 8.74567L11.7532 9.99196L10.4953 11.2498L9.23791 10.0031L10.4953 8.74613L10.4958 8.74567ZM6.20272 8.74567L7.44994 10.0031L6.20365 11.2494L4.94531 10.0031L6.20272 8.74567ZM10.4962 4.45215L13.8999 7.84567L12.6421 9.10261L10.4958 6.95631L8.34994 9.11372L7.09207 7.85631L10.4958 4.45261L10.4962 4.45215Z" fill="#F3BA2F"></path></g><defs><clipPath id="clip0_4453_114916"><rect width="11.1111" height="11.1111" fill="white" transform="translate(4.94531 4.44434)"></rect></clipPath></defs>',3)];function ig(t,e){return o.openBlock(),o.createElementBlock("svg",GN,[...KN])}const XN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ig},render:ig},Symbol.toStringTag,{value:"Module"})),QN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JN=[o.createElementVNode("g",{id:"simple-icons:binance","clip-path":"url(#clip0_2820_75439)"},[o.createElementVNode("path",{id:"Vector",d:"M13.8533 11.5995L16.1175 13.8628L9.99 19.9903L3.86333 13.8636L6.1275 11.5995L9.99083 15.4828L13.8533 11.5995ZM17.7175 7.73615L20 9.99948L17.7375 12.2628L15.4733 9.99948L17.7175 7.73615ZM9.99083 7.73615L12.2542 9.97948L9.99 12.2436L7.72667 9.99948L9.99 7.73698L9.99083 7.73615ZM2.26333 7.73615L4.50833 9.99948L2.265 12.2428L0 9.99948L2.26333 7.73615ZM9.99167 0.0078125L16.1183 6.11615L13.8542 8.37865L9.99083 4.51531L6.12833 8.39865L3.86417 6.13531L9.99083 0.00864583L9.99167 0.0078125Z",fill:"#F3BA2F"})],-1),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"clip0_2820_75439"},[o.createElementVNode("rect",{width:"20",height:"20",fill:"white"})])],-1)];function og(t,e){return o.openBlock(),o.createElementBlock("svg",QN,[...JN])}const eV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:og},render:og},Symbol.toStringTag,{value:"Module"})),tV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nV=[o.createElementVNode("g",{id:"book, guide, info, faq"},[o.createElementVNode("path",{id:"vector",d:"M16.0404 10.0013V12.293C16.0404 13.2134 15.2942 13.9596 14.3737 13.9596H5.83203C4.7965 13.9596 3.95703 14.7991 3.95703 15.8346C3.95703 16.8702 4.7965 17.7096 5.83203 17.7096H8.33203M7.29036 5.83464H12.707M7.29036 9.16797H10.207M5.6237 2.29297H14.3737C15.2942 2.29297 16.0404 3.03916 16.0404 3.95964V16.043C16.0404 16.9634 15.2942 17.7096 14.3737 17.7096H5.6237C4.70322 17.7096 3.95703 16.9634 3.95703 16.043V3.95964C3.95703 3.03916 4.70322 2.29297 5.6237 2.29297Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function ag(t,e){return o.openBlock(),o.createElementBlock("svg",tV,[...nV])}const rV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ag},render:ag},Symbol.toStringTag,{value:"Module"})),sV={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},iV=[o.createElementVNode("path",{d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"#56B683"},null,-1)];function lg(t,e){return o.openBlock(),o.createElementBlock("svg",sV,[...iV])}const oV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:lg},render:lg},Symbol.toStringTag,{value:"Module"})),aV={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},lV=[o.createElementVNode("path",{d:"M8.74716 2.08146H1.24716C1.17122 2.0817 1.09679 2.10264 1.03188 2.14203C0.966958 2.18143 0.914015 2.23778 0.878742 2.30502C0.84347 2.37227 0.827205 2.44786 0.831697 2.52366C0.83619 2.59946 0.861271 2.6726 0.904241 2.73521L4.65424 8.15188C4.80966 8.37646 5.18382 8.37646 5.33966 8.15188L9.08966 2.73521C9.13306 2.67273 9.15852 2.59956 9.16325 2.52363C9.16799 2.4477 9.15183 2.37193 9.11653 2.30454C9.08122 2.23715 9.02813 2.18073 8.96301 2.1414C8.89788 2.10207 8.82323 2.08134 8.74716 2.08146Z",fill:"#F18169"},null,-1)];function cg(t,e){return o.openBlock(),o.createElementBlock("svg",aV,[...lV])}const cV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:cg},render:cg},Symbol.toStringTag,{value:"Module"})),dV={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uV=[o.createElementVNode("g",{id:"bxs:up-arrow"},[o.createElementVNode("path",{id:"Vector",d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"currentColor"})],-1)];function dg(t,e){return o.openBlock(),o.createElementBlock("svg",dV,[...uV])}const hV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:dg},render:dg},Symbol.toStringTag,{value:"Module"})),fV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},mV=[o.createElementVNode("path",{d:"M2.91666 7.91536H17.0833M6.24999 3.7487V2.08203M13.75 3.7487V2.08203M3.74999 17.082H16.25C16.7102 17.082 17.0833 16.7089 17.0833 16.2487V4.58203C17.0833 4.12179 16.7102 3.7487 16.25 3.7487H3.74999C3.28975 3.7487 2.91666 4.12179 2.91666 4.58203V16.2487C2.91666 16.7089 3.28975 17.082 3.74999 17.082Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function ug(t,e){return o.openBlock(),o.createElementBlock("svg",fV,[...mV])}const pV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ug},render:ug},Symbol.toStringTag,{value:"Module"})),gV={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_V=[o.createStaticVNode('<g id="Frame 2118527357"><path id="Vector" d="M8.36101 10.6773C8.06238 10.6773 7.76108 10.6187 7.47311 10.4987C6.60388 10.1387 6.04395 9.29882 6.04395 8.36026V4.60337C6.04395 3.75547 6.73186 3.07022 7.5771 3.07022C8.42233 3.07022 9.11025 3.75813 9.11025 4.60337V6.54447L14.7683 0.886471C15.3682 0.286541 16.3387 0.286541 16.9387 0.886471C17.5386 1.4864 17.5386 2.45695 16.9387 3.05688L9.99548 10.0001C9.55287 10.4427 8.96094 10.68 8.36101 10.68V10.6773Z" fill="url(#paint0_linear_4793_138365)"></path><path id="Vector_2" d="M2.14746 11.5627C1.7555 11.5627 1.36355 11.4134 1.06225 11.1147C0.462322 10.5148 0.462322 9.54427 1.06225 8.94434L6.48828 3.51831C7.08821 2.91838 8.05877 2.91838 8.6587 3.51831C9.25863 4.11824 9.25863 5.08879 8.6587 5.68872L3.23266 11.1147C2.93403 11.4134 2.53941 11.5627 2.14746 11.5627Z" fill="url(#paint1_linear_4793_138365)"></path></g><defs><linearGradient id="paint0_linear_4793_138365" x1="6.04395" y1="5.55526" x2="17.3893" y2="5.55526" gradientUnits="userSpaceOnUse"><stop stop-color="#07A360"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient><linearGradient id="paint1_linear_4793_138365" x1="0.614304" y1="7.31519" x2="9.10931" y2="7.31519" gradientUnits="userSpaceOnUse"><stop stop-color="#23E27D"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient></defs>',2)];function hg(t,e){return o.openBlock(),o.createElementBlock("svg",gV,[..._V])}const yV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:hg},render:hg},Symbol.toStringTag,{value:"Module"})),wV={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bV=[o.createElementVNode("g",{id:"check-circle-fill"},[o.createElementVNode("path",{id:"Subtract",d:"M14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7ZM10.5265 4.34846C10.2702 4.09218 9.85474 4.09218 9.59845 4.34846C9.59227 4.35465 9.58645 4.36121 9.58105 4.36809L6.54272 8.23965L4.71089 6.40782C4.45461 6.15154 4.0391 6.15154 3.78281 6.40782C3.52653 6.6641 3.52653 7.07962 3.78281 7.3359L6.09846 9.65154C6.35474 9.90782 6.77025 9.90782 7.02653 9.65154C7.03224 9.64583 7.03763 9.63981 7.04267 9.63351L10.5358 5.26704C10.7828 5.01009 10.7797 4.6016 10.5265 4.34846Z",fill:"currentColor"})],-1)];function fg(t,e){return o.openBlock(),o.createElementBlock("svg",wV,[...bV])}const kV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:fg},render:fg},Symbol.toStringTag,{value:"Module"})),CV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xV=[o.createElementVNode("g",{id:"check, checkmark"},[o.createElementVNode("path",{id:"vector",d:"M1.66663 10.333L6.13721 13.6663L14.3333 2.33301",stroke:"#007AFF","stroke-linecap":"round"})],-1)];function mg(t,e){return o.openBlock(),o.createElementBlock("svg",CV,[...xV])}const MV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mg},render:mg},Symbol.toStringTag,{value:"Module"})),vV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},SV=[o.createElementVNode("path",{d:"M5.33333 6.66797L7.52859 8.86323C7.78894 9.12358 8.21105 9.12358 8.4714 8.86323L10.6667 6.66797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function pg(t,e){return o.openBlock(),o.createElementBlock("svg",vV,[...SV])}const TV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pg},render:pg},Symbol.toStringTag,{value:"Module"})),OV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},DV=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function gg(t,e){return o.openBlock(),o.createElementBlock("svg",OV,[...DV])}const EV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gg},render:gg},Symbol.toStringTag,{value:"Module"})),PV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LV=[o.createElementVNode("g",{id:"chevron-left"},[o.createElementVNode("path",{id:"vector",d:"M10.0001 13.3332L4.66675 7.99985L10.0001 2.6665",stroke:"#1C2026","stroke-linecap":"square"})],-1)];function _g(t,e){return o.openBlock(),o.createElementBlock("svg",PV,[...LV])}const $V=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_g},render:_g},Symbol.toStringTag,{value:"Module"})),NV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},VV=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function yg(t,e){return o.openBlock(),o.createElementBlock("svg",NV,[...VV])}const BV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yg},render:yg},Symbol.toStringTag,{value:"Module"})),AV={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FV=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function wg(t,e){return o.openBlock(),o.createElementBlock("svg",AV,[...FV])}const RV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wg},render:wg},Symbol.toStringTag,{value:"Module"})),IV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},zV=[o.createElementVNode("path",{d:"M6.66669 11.6686L9.70539 8.62985C9.86811 8.46713 10.1319 8.46713 10.2946 8.62985L13.3334 11.6686",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function bg(t,e){return o.openBlock(),o.createElementBlock("svg",IV,[...zV])}const YV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:bg},render:bg},Symbol.toStringTag,{value:"Module"})),HV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},WV=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function kg(t,e){return o.openBlock(),o.createElementBlock("svg",HV,[...WV])}const jV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:kg},render:kg},Symbol.toStringTag,{value:"Module"})),ZV={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UV=[o.createElementVNode("path",{id:"vector",d:"M9.0013 5.00008L5.0013 9.00008M9.0013 9.00008L5.0013 5.00008M13.3346 7.00008C13.3346 10.4979 10.4991 13.3334 7.0013 13.3334C3.5035 13.3334 0.667969 10.4979 0.667969 7.00008C0.667969 3.50228 3.5035 0.666748 7.0013 0.666748C10.4991 0.666748 13.3346 3.50228 13.3346 7.00008Z",stroke:"#F18169","stroke-linecap":"square"},null,-1)];function Cg(t,e){return o.openBlock(),o.createElementBlock("svg",ZV,[...UV])}const qV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Cg},render:Cg},Symbol.toStringTag,{value:"Module"})),GV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},KV=[o.createElementVNode("path",{d:"M10.0002 6.46438V13.5355M13.5357 9.99992H6.46463M17.9168 9.99992C17.9168 14.3722 14.3724 17.9166 10.0002 17.9166C5.62791 17.9166 2.0835 14.3722 2.0835 9.99992C2.0835 5.62766 5.62791 2.08325 10.0002 2.08325C14.3724 2.08325 17.9168 5.62766 17.9168 9.99992Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function xg(t,e){return o.openBlock(),o.createElementBlock("svg",GV,[...KV])}const XV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:xg},render:xg},Symbol.toStringTag,{value:"Module"})),QV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},JV=[o.createElementVNode("path",{d:"M10 6.24967V9.99967L12.5 12.4997M17.9167 9.99967C17.9167 14.3719 14.3723 17.9163 10 17.9163C5.62779 17.9163 2.08337 14.3719 2.08337 9.99967C2.08337 5.62742 5.62779 2.08301 10 2.08301C14.3723 2.08301 17.9167 5.62742 17.9167 9.99967Z",stroke:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function Mg(t,e){return o.openBlock(),o.createElementBlock("svg",QV,[...JV])}const eB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Mg},render:Mg},Symbol.toStringTag,{value:"Module"})),tB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},nB=[o.createElementVNode("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function vg(t,e){return o.openBlock(),o.createElementBlock("svg",tB,[...nB])}const rB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:vg},render:vg},Symbol.toStringTag,{value:"Module"})),sB={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iB=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.1665 4.66602L15.8332 16.3327M15.8332 4.66602L4.1665 16.3327",stroke:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function Sg(t,e){return o.openBlock(),o.createElementBlock("svg",sB,[...iB])}const oB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Sg},render:Sg},Symbol.toStringTag,{value:"Module"})),aB={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},lB=[o.createElementVNode("path",{d:"M12.9999 9.58366V11.667M12.9999 11.667V13.7503M12.9999 11.667H10.9166M12.9999 11.667H15.0833M12.9041 6.03082C12.0386 4.19078 10.168 2.91699 7.99992 2.91699C5.00838 2.91699 2.58325 5.34212 2.58325 8.33366C2.58325 11.2425 4.8762 13.6159 7.75326 13.7448M18.4166 11.667C18.4166 14.6585 15.9915 17.0837 12.9999 17.0837C10.0084 17.0837 7.58325 14.6585 7.58325 11.667C7.58325 8.67545 10.0084 6.25033 12.9999 6.25033C15.9915 6.25033 18.4166 8.67545 18.4166 11.667Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Tg(t,e){return o.openBlock(),o.createElementBlock("svg",aB,[...lB])}const cB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Tg},render:Tg},Symbol.toStringTag,{value:"Module"})),dB={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uB=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Vector",opacity:"0.2",d:"M21 12C21 13.78 20.4722 15.5201 19.4832 17.0001C18.4943 18.4802 17.0887 19.6337 15.4442 20.3149C13.7996 20.9961 11.99 21.1743 10.2442 20.8271C8.49836 20.4798 6.89472 19.6226 5.63604 18.364C4.37737 17.1053 3.5202 15.5016 3.17294 13.7558C2.82567 12.01 3.0039 10.2004 3.68509 8.55585C4.36628 6.91131 5.51983 5.50571 6.99987 4.51677C8.47991 3.52784 10.22 3 12 3C12 4.19347 12.4741 5.33807 13.318 6.18198C14.1619 7.02589 15.3065 7.5 16.5 7.5C16.5 8.69347 16.9741 9.83807 17.818 10.682C18.6619 11.5259 19.8065 12 21 12Z",fill:"#007AFF"}),o.createElementVNode("path",{id:"Vector_2",d:"M15.4209 15.3291C15.5779 15.4866 15.6846 15.687 15.7277 15.9051C15.7708 16.1233 15.7483 16.3493 15.6631 16.5546C15.5778 16.7599 15.4336 16.9354 15.2487 17.0588C15.0638 17.1823 14.8464 17.2482 14.6241 17.2482C14.4017 17.2482 14.1844 17.1823 13.9995 17.0588C13.8145 16.9354 13.6703 16.7599 13.5851 16.5546C13.4998 16.3493 13.4773 16.1233 13.5204 15.9051C13.5635 15.687 13.6702 15.4866 13.8272 15.3291C13.9317 15.2242 14.0559 15.141 14.1926 15.0842C14.3294 15.0274 14.476 14.9982 14.6241 14.9982C14.7721 14.9982 14.9187 15.0274 15.0555 15.0842C15.1922 15.141 15.3164 15.2242 15.4209 15.3291ZM7.82719 14.5791C7.67025 14.7366 7.56349 14.937 7.5204 15.1551C7.47731 15.3733 7.49981 15.5993 7.58508 15.8046C7.67034 16.0099 7.81454 16.1854 7.99946 16.3088C8.18438 16.4323 8.40173 16.4982 8.62407 16.4982C8.8464 16.4982 9.06376 16.4323 9.24868 16.3088C9.4336 16.1854 9.57779 16.0099 9.66306 15.8046C9.74832 15.5993 9.77083 15.3733 9.72773 15.1551C9.68464 14.937 9.57788 14.7366 9.42094 14.5791C9.31646 14.4745 9.19239 14.3915 9.05581 14.3349C8.91924 14.2783 8.77285 14.2491 8.625 14.2491C8.47716 14.2491 8.33077 14.2783 8.1942 14.3349C8.05762 14.3915 7.93355 14.4745 7.82907 14.5791H7.82719ZM8.67094 10.9228C8.82788 10.7653 8.93464 10.5649 8.97773 10.3467C9.02083 10.1286 8.99832 9.90262 8.91306 9.69728C8.82779 9.49194 8.6836 9.31647 8.49868 9.19303C8.31376 9.06958 8.0964 9.0037 7.87407 9.0037C7.65173 9.0037 7.43438 9.06958 7.24946 9.19303C7.06454 9.31647 6.92034 9.49194 6.83508 9.69728C6.74981 9.90262 6.72731 10.1286 6.7704 10.3467C6.81349 10.5649 6.92025 10.7653 7.07719 10.9228C7.18183 11.0276 7.30612 11.1106 7.44293 11.1673C7.57975 11.2239 7.72639 11.2529 7.87446 11.2528C8.02252 11.2526 8.1691 11.2232 8.30578 11.1662C8.44245 11.1093 8.56655 11.0259 8.67094 10.9209V10.9228ZM13.1709 10.8291C13.0135 10.6721 12.813 10.5654 12.5949 10.5223C12.3767 10.4792 12.1507 10.5017 11.9454 10.5869C11.7401 10.6722 11.5646 10.8164 11.4412 11.0013C11.3177 11.1862 11.2518 11.4036 11.2518 11.6259C11.2518 11.8483 11.3177 12.0656 11.4412 12.2505C11.5646 12.4355 11.7401 12.5797 11.9454 12.6649C12.1507 12.7502 12.3767 12.7727 12.5949 12.7296C12.813 12.6865 13.0135 12.5798 13.1709 12.4228C13.2758 12.3183 13.359 12.1941 13.4158 12.0574C13.4726 11.9206 13.5018 11.774 13.5018 11.6259C13.5018 11.4779 13.4726 11.3313 13.4158 11.1945C13.359 11.0578 13.2758 10.9336 13.1709 10.8291ZM21.75 12C21.75 13.9284 21.1782 15.8134 20.1068 17.4168C19.0355 19.0202 17.5127 20.2699 15.7312 21.0078C13.9496 21.7458 11.9892 21.9389 10.0979 21.5627C8.20656 21.1865 6.46928 20.2579 5.10571 18.8943C3.74215 17.5307 2.81355 15.7934 2.43735 13.9021C2.06114 12.0108 2.25422 10.0504 2.99218 8.26884C3.73013 6.48726 4.97982 4.96451 6.58319 3.89317C8.18657 2.82183 10.0716 2.25 12 2.25C12.1989 2.25 12.3897 2.32902 12.5303 2.46967C12.671 2.61032 12.75 2.80109 12.75 3C12.75 3.99456 13.1451 4.94839 13.8484 5.65165C14.5516 6.35491 15.5054 6.75 16.5 6.75C16.6989 6.75 16.8897 6.82902 17.0303 6.96967C17.171 7.11032 17.25 7.30109 17.25 7.5C17.25 8.49456 17.6451 9.44839 18.3484 10.1517C19.0516 10.8549 20.0054 11.25 21 11.25C21.1989 11.25 21.3897 11.329 21.5303 11.4697C21.671 11.6103 21.75 11.8011 21.75 12ZM20.2209 12.6928C19.0977 12.5223 18.0598 11.9929 17.2623 11.1836C16.4649 10.3744 15.9508 9.32878 15.7969 8.20312C14.6712 8.0492 13.6256 7.5351 12.8164 6.73768C12.0071 5.94025 11.4777 4.90233 11.3072 3.77906C9.74009 3.91115 8.24339 4.48839 6.99343 5.44279C5.74348 6.39719 4.79235 7.68897 4.25212 9.16593C3.71189 10.6429 3.60507 12.2435 3.94423 13.7791C4.2834 15.3148 5.05442 16.7215 6.16646 17.8335C7.2785 18.9456 8.68522 19.7166 10.2209 20.0558C11.7565 20.3949 13.3571 20.2881 14.8341 19.7479C16.311 19.2077 17.6028 18.2565 18.5572 17.0066C19.5116 15.7566 20.0889 14.2599 20.2209 12.6928Z",fill:"#007AFF"})],-1)];function Og(t,e){return o.openBlock(),o.createElementBlock("svg",dB,[...uB])}const hB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Og},render:Og},Symbol.toStringTag,{value:"Module"})),fB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},mB=[o.createElementVNode("path",{d:"M6.6665 6.74984V3.4165H17.0832V14.2498H13.7498M13.7498 6.74984V17.5832H2.9165V6.74984H13.7498Z",stroke:"#1C2026","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Dg(t,e){return o.openBlock(),o.createElementBlock("svg",fB,[...mB])}const pB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dg},render:Dg},Symbol.toStringTag,{value:"Module"})),gB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},_B=[o.createElementVNode("path",{d:"M6.25 6.25L13.75 13.75M13.75 6.25L6.25 13.75",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Eg(t,e){return o.openBlock(),o.createElementBlock("svg",gB,[..._B])}const yB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Eg},render:Eg},Symbol.toStringTag,{value:"Module"})),wB={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bB=[o.createElementVNode("path",{id:"vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6801 2.76287C14.6095 -0.544651 19.3885 -0.544659 21.3179 2.76287L33.0144 22.8141C34.9589 26.1474 32.5545 30.3334 28.6955 30.3334H5.30245C1.4435 30.3334 -0.960859 26.1474 0.983558 22.8141L12.6801 2.76287ZM17.0007 10.3335C17.9211 10.3335 18.6673 11.0797 18.6673 12.0002V17.0002C18.6673 17.9206 17.9211 18.6668 17.0007 18.6668C16.0802 18.6668 15.334 17.9206 15.334 17.0002V12.0002C15.334 11.0797 16.0802 10.3335 17.0007 10.3335ZM14.9173 22.0002C14.9173 20.8496 15.8501 19.9168 17.0007 19.9168C18.1512 19.9168 19.084 20.8496 19.084 22.0002C19.084 23.1508 18.1512 24.0835 17.0007 24.0835C15.8501 24.0835 14.9173 23.1508 14.9173 22.0002Z",fill:"currentColor"},null,-1)];function Pg(t,e){return o.openBlock(),o.createElementBlock("svg",wB,[...bB])}const kB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pg},render:Pg},Symbol.toStringTag,{value:"Module"})),CB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xB=[o.createStaticVNode('<g id="Date_range_light"><rect id="Rectangle" x="2.5" y="5" width="15" height="12.5" rx="2" stroke="currentColor"></rect><path id="Rectangle_2" d="M2.5 8.33333C2.5 7.08718 2.5 6.4641 2.76795 6C2.94349 5.69596 3.19596 5.44349 3.5 5.26795C3.9641 5 4.58718 5 5.83333 5H14.1667C15.4128 5 16.0359 5 16.5 5.26795C16.804 5.44349 17.0565 5.69596 17.2321 6C17.5 6.4641 17.5 7.08718 17.5 8.33333H2.5Z" fill="currentColor"></path><path id="Line" d="M5.83331 2.5L5.83331 5" stroke="currentColor" stroke-linecap="round"></path><path id="Line_2" d="M14.1667 2.5L14.1667 5" stroke="currentColor" stroke-linecap="round"></path><rect id="Rectangle_3" x="5.83331" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_4" x="5.83331" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_5" x="10.8333" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_6" x="10.8333" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect></g>',1)];function Lg(t,e){return o.openBlock(),o.createElementBlock("svg",CB,[...xB])}const MB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lg},render:Lg},Symbol.toStringTag,{value:"Module"})),vB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},SB=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function $g(t,e){return o.openBlock(),o.createElementBlock("svg",vB,[...SB])}const TB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$g},render:$g},Symbol.toStringTag,{value:"Module"})),OB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},DB=[o.createElementVNode("path",{d:"M7.66666 3.33193C7.9428 3.33193 8.16666 3.10807 8.16666 2.83193C8.16666 2.55579 7.9428 2.33193 7.66666 2.33193V3.33193ZM14.1667 8.83193C14.1667 8.55579 13.9428 8.33193 13.6667 8.33193C13.3905 8.33193 13.1667 8.55579 13.1667 8.83193H14.1667ZM2.69733 14.0926L2.92433 13.6471L2.92433 13.6471L2.69733 14.0926ZM2.40599 13.8013L1.96049 14.0283L1.96049 14.0283L2.40599 13.8013ZM13.3027 14.0926L13.5297 14.5381L13.5297 14.5381L13.3027 14.0926ZM13.594 13.8013L14.0395 14.0283L14.0395 14.0283L13.594 13.8013ZM2.40599 3.19594L1.96049 2.96894L1.96049 2.96894L2.40599 3.19594ZM2.69733 2.90459L2.47034 2.45909L2.47034 2.45909L2.69733 2.90459ZM8.33333 6.16526L7.97978 5.81171C7.88601 5.90548 7.83333 6.03266 7.83333 6.16526H8.33333ZM8.33333 8.16526H7.83333C7.83333 8.44141 8.05719 8.66526 8.33333 8.66526V8.16526ZM10.3333 8.16526V8.66526C10.4659 8.66526 10.5931 8.61259 10.6869 8.51882L10.3333 8.16526ZM11.8619 2.63667L12.2155 2.99022L12.2155 2.99022L11.8619 2.63667ZM12.8047 2.63667L12.4512 2.99022L12.4512 2.99022L12.8047 2.63667ZM13.8619 3.69386L13.5084 4.04741L13.5084 4.04741L13.8619 3.69386ZM13.8619 4.63667L14.2155 4.99022L14.2155 4.99022L13.8619 4.63667ZM12.6 13.6653H3.39999V14.6653H12.6V13.6653ZM2.83333 13.0986V3.8986H1.83333V13.0986H2.83333ZM3.39999 3.33193H7.66666V2.33193H3.39999V3.33193ZM13.1667 8.83193V13.0986H14.1667V8.83193H13.1667ZM3.39999 13.6653C3.20506 13.6653 3.08893 13.6649 3.00285 13.6578C2.9226 13.6513 2.9134 13.6415 2.92433 13.6471L2.47034 14.5381C2.62388 14.6163 2.77933 14.6429 2.92141 14.6545C3.05767 14.6657 3.22156 14.6653 3.39999 14.6653V13.6653ZM1.83333 13.0986C1.83333 13.277 1.83294 13.4409 1.84407 13.5772C1.85568 13.7193 1.88226 13.8747 1.96049 14.0283L2.85149 13.5743C2.85706 13.5852 2.84731 13.576 2.84075 13.4957C2.83372 13.4097 2.83333 13.2935 2.83333 13.0986H1.83333ZM2.92433 13.6471C2.89297 13.6311 2.86747 13.6056 2.85149 13.5743L1.96049 14.0283C2.07234 14.2478 2.25082 14.4263 2.47034 14.5381L2.92433 13.6471ZM12.6 14.6653C12.7784 14.6653 12.9423 14.6657 13.0786 14.6545C13.2207 14.6429 13.3761 14.6163 13.5297 14.5381L13.0757 13.6471C13.0866 13.6415 13.0774 13.6513 12.9971 13.6578C12.9111 13.6649 12.7949 13.6653 12.6 13.6653V14.6653ZM13.1667 13.0986C13.1667 13.2935 13.1663 13.4097 13.1592 13.4957C13.1527 13.576 13.1429 13.5852 13.1485 13.5743L14.0395 14.0283C14.1177 13.8747 14.1443 13.7193 14.1559 13.5772C14.1671 13.4409 14.1667 13.277 14.1667 13.0986H13.1667ZM13.5297 14.5381C13.7492 14.4263 13.9277 14.2478 14.0395 14.0283L13.1485 13.5743C13.1325 13.6056 13.107 13.6311 13.0757 13.6471L13.5297 14.5381ZM2.83333 3.8986C2.83333 3.70366 2.83372 3.58753 2.84075 3.50145C2.84731 3.4212 2.85706 3.412 2.85149 3.42293L1.96049 2.96894C1.88226 3.12248 1.85568 3.27793 1.84407 3.42002C1.83294 3.55627 1.83333 3.72016 1.83333 3.8986H2.83333ZM3.39999 2.33193C3.22156 2.33193 3.05767 2.33154 2.92141 2.34267C2.77933 2.35428 2.62388 2.38086 2.47034 2.45909L2.92433 3.3501C2.9134 3.35567 2.9226 3.34591 3.00285 3.33935C3.08893 3.33232 3.20506 3.33193 3.39999 3.33193V2.33193ZM2.85149 3.42293C2.86747 3.39157 2.89297 3.36608 2.92433 3.3501L2.47034 2.45909C2.25082 2.57094 2.07234 2.74942 1.96049 2.96894L2.85149 3.42293ZM7.83333 6.16526V8.16526H8.83333V6.16526H7.83333ZM8.33333 8.66526H10.3333V7.66526H8.33333V8.66526ZM8.68688 6.51882L12.2155 2.99022L11.5084 2.28312L7.97978 5.81171L8.68688 6.51882ZM12.4512 2.99022L13.5084 4.04741L14.2155 3.34031L13.1583 2.28312L12.4512 2.99022ZM13.5084 4.28312L9.97978 7.81171L10.6869 8.51882L14.2155 4.99022L13.5084 4.28312ZM13.5084 4.04741C13.5735 4.1125 13.5735 4.21803 13.5084 4.28312L14.2155 4.99022C14.6711 4.53461 14.6711 3.79592 14.2155 3.34031L13.5084 4.04741ZM12.2155 2.99022C12.2806 2.92513 12.3861 2.92513 12.4512 2.99022L13.1583 2.28312C12.7027 1.8275 11.964 1.8275 11.5084 2.28312L12.2155 2.99022Z",fill:"#8E8E93"},null,-1)];function Ng(t,e){return o.openBlock(),o.createElementBlock("svg",OB,[...DB])}const EB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ng},render:Ng},Symbol.toStringTag,{value:"Module"})),PB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LB=[o.createElementVNode("g",{id:"eye-slash, hide, eye off, see, look, not visible"},[o.createElementVNode("path",{id:"vector",d:"M6.61522 4.0171L6.16217 4.22863L6.58523 5.13473L7.03828 4.9232L6.61522 4.0171ZM18.3333 10.0003L18.7836 10.2176L18.8885 10.0003L18.7836 9.78291L18.3333 10.0003ZM15.5482 13.2014L15.1996 13.5597L15.9164 14.257L16.265 13.8986L15.5482 13.2014ZM8.58575 7.879L8.23219 7.52545L7.52509 8.23256L7.87864 8.58611L8.58575 7.879ZM11.4142 12.1216L11.7677 12.4752L12.4748 11.7681L12.1213 11.4145L11.4142 12.1216ZM1.66663 10.0004L1.21635 9.783L1.11141 10.0004L1.21635 10.2177L1.66663 10.0004ZM5.44185 5.9087L5.83601 5.60107L5.22076 4.81274L4.8266 5.12037L5.44185 5.9087ZM8.45097 8.73505L8.76756 8.34805L7.99355 7.71487L7.67696 8.10187L8.45097 8.73505ZM11.8719 12.3448L12.2625 12.0326L11.6381 11.2515L11.2475 11.5636L11.8719 12.3448ZM14.683 15.2394L15.0953 14.9566L14.5297 14.132L14.1174 14.4147L14.683 15.2394ZM7.03828 4.9232C8.93441 4.03789 10.9848 4.02635 12.8844 4.88762C14.7897 5.75148 16.5759 7.51002 17.883 10.2176L18.7836 9.78291C17.3966 6.90986 15.4577 4.95638 13.2974 3.97686C11.1313 2.99476 8.77544 3.00849 6.61522 4.0171L7.03828 4.9232ZM16.265 13.8986C17.2196 12.9174 18.0735 11.6885 18.7836 10.2176L17.883 9.78291C17.2144 11.1679 16.4197 12.3055 15.5482 13.2014L16.265 13.8986ZM9.99996 12.0003C8.89539 12.0003 7.99996 11.1049 7.99996 10.0003H6.99996C6.99996 11.6572 8.34311 13.0003 9.99996 13.0003V12.0003ZM7.87864 8.58611L11.4142 12.1216L12.1213 11.4145L8.58575 7.879L7.87864 8.58611ZM1.93807 2.64555L17.3547 18.0622L18.0618 17.3551L2.64518 1.93844L1.93807 2.64555ZM1.93807 2.64555L4.99681 5.70428L5.70392 4.99718L2.64518 1.93844L1.93807 2.64555ZM4.99681 5.70428L14.296 15.0035L15.0031 14.2964L5.70392 4.99718L4.99681 5.70428ZM14.296 15.0035L17.3547 18.0622L18.0618 17.3551L15.0031 14.2964L14.296 15.0035ZM2.1169 10.2177C3.03149 8.32318 4.18155 6.89229 5.44185 5.9087L4.8266 5.12037C3.42791 6.21196 2.18733 7.77163 1.21635 9.783L2.1169 10.2177ZM7.99996 10.0003C7.99996 9.51973 8.16884 9.07992 8.45097 8.73505L7.67696 8.10187C7.25405 8.61884 6.99996 9.28058 6.99996 10.0003H7.99996ZM11.2475 11.5636C10.9054 11.8371 10.4724 12.0003 9.99996 12.0003V13.0003C10.7074 13.0003 11.3589 12.7548 11.8719 12.3448L11.2475 11.5636ZM1.21635 10.2177C2.74591 13.3862 4.94766 15.437 7.37506 16.2947C9.8101 17.1551 12.4168 16.7936 14.683 15.2394L14.1174 14.4147C12.1009 15.7977 9.82648 16.1003 7.70822 15.3518C5.58233 14.6007 3.55863 12.7695 2.1169 9.783L1.21635 10.2177Z",fill:"currentColor"})],-1)];function Vg(t,e){return o.openBlock(),o.createElementBlock("svg",PB,[...LB])}const $B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vg},render:Vg},Symbol.toStringTag,{value:"Module"})),NB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VB=[o.createElementVNode("path",{d:"M1.66663 10L1.21635 9.78265L1.11141 10L1.21635 10.2174L1.66663 10ZM18.3333 9.99993L18.7836 10.2173L18.8885 9.99993L18.7836 9.78256L18.3333 9.99993ZM2.1169 10.2174C4.06897 6.17373 7.08064 4.25002 9.99996 4.25C12.9193 4.24998 15.9309 6.17364 17.883 10.2173L18.7836 9.78256C16.7128 5.49292 13.4025 3.24997 9.99996 3.25C6.59739 3.25003 3.28716 5.49301 1.21635 9.78265L2.1169 10.2174ZM1.21635 10.2174C3.28716 14.507 6.59739 16.75 9.99996 16.75C13.4025 16.7499 16.7128 14.5069 18.7836 10.2173L17.883 9.78256C15.9309 13.8262 12.9193 15.7499 9.99996 15.75C7.08063 15.75 4.06897 13.8263 2.1169 9.78265L1.21635 10.2174ZM12 10C12 11.1046 11.1045 12 9.99996 12V13C11.6568 13 13 11.6569 13 10H12ZM9.99996 12C8.89539 12 7.99996 11.1046 7.99996 10H6.99996C6.99996 11.6569 8.34311 13 9.99996 13V12ZM7.99996 10C7.99996 8.89543 8.89539 8 9.99996 8V7C8.34311 7 6.99996 8.34315 6.99996 10H7.99996ZM9.99996 8C11.1045 8 12 8.89543 12 10H13C13 8.34315 11.6568 7 9.99996 7V8Z",fill:"currentColor"},null,-1)];function Bg(t,e){return o.openBlock(),o.createElementBlock("svg",NB,[...VB])}const BB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bg},render:Bg},Symbol.toStringTag,{value:"Module"})),AB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},FB=[o.createElementVNode("path",{d:"M16.0833 2.91797H3.91666C3.36437 2.91797 2.91666 3.36568 2.91666 3.91797V5.88138C2.91666 6.12009 3.00205 6.35093 3.1574 6.53217L7.67591 11.8038C7.83126 11.985 7.91666 12.2158 7.91666 12.4546V16.8576C7.91666 17.5651 8.63118 18.0488 9.28805 17.7861L11.4547 16.9194C11.8344 16.7675 12.0833 16.3998 12.0833 15.9909V12.4546C12.0833 12.2158 12.1687 11.985 12.3241 11.8038L16.8426 6.53217C16.9979 6.35093 17.0833 6.12009 17.0833 5.88138V3.91797C17.0833 3.36568 16.6356 2.91797 16.0833 2.91797Z",stroke:"#1C2026","stroke-linejoin":"round"},null,-1)];function Ag(t,e){return o.openBlock(),o.createElementBlock("svg",AB,[...FB])}const RB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ag},render:Ag},Symbol.toStringTag,{value:"Module"})),IB={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zB=[o.createElementVNode("path",{id:"vector",d:"M2.08333 7.58317V2.58317C2.08333 1.6627 2.82953 0.916504 3.75 0.916504H7.44136C7.99862 0.916504 8.519 1.19501 8.82811 1.65867L9.50522 2.67434C9.81433 3.138 10.3347 3.4165 10.892 3.4165H16.25C17.1705 3.4165 17.9167 4.1627 17.9167 5.08317V12.5832C17.9167 13.5036 17.1705 14.2498 16.25 14.2498H8.75M3.75 10.0832V12.5832M3.75 12.5832V15.0832M3.75 12.5832H1.25M3.75 12.5832H6.25",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function Fg(t,e){return o.openBlock(),o.createElementBlock("svg",IB,[...zB])}const YB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fg},render:Fg},Symbol.toStringTag,{value:"Module"})),HB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WB=[o.createElementVNode("g",{id:"folder-open"},[o.createElementVNode("path",{id:"vector",d:"M4.5835 16.2503L6.66683 9.16699H17.0835M4.5835 16.2503H16.4585L18.5418 9.16699H17.0835M4.5835 16.2503H2.0835V2.91699H8.3335L10.0002 5.41699H17.0835V9.16699",stroke:"currentColor","stroke-linecap":"round"})],-1)];function Rg(t,e){return o.openBlock(),o.createElementBlock("svg",HB,[...WB])}const jB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rg},render:Rg},Symbol.toStringTag,{value:"Module"})),ZB={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UB=[o.createStaticVNode('<path d="M24.6298 6.08302L20.7811 13.0454L16.8629 20.132L16.0137 21.6615C15.4079 22.759 14.2508 23.4393 12.9944 23.4393C11.7379 23.4393 10.5809 22.759 9.975 21.6516L9.13574 20.122L13.0043 13.0206L16.848 5.95887L18.5961 2.7508C19.5197 1.08718 21.6154 0.481319 23.279 1.405C24.9427 2.32869 25.5485 4.42436 24.6248 6.08798H24.6348L24.6298 6.08302Z" fill="url(#f)"></path><path d="M9.16962 5.943L5.23651 13.0296L1.36797 6.03736C0.454215 4.3638 1.06007 2.26813 2.7237 1.34941C4.39725 0.43566 6.49292 1.04152 7.40667 2.70514L9.15969 5.94797H9.16962V5.943Z" fill="url(#g)"></path><path d="M16.8459 5.95703L13.0022 13.0187L9.13361 20.1202L7.40542 23.3034C6.48174 24.9671 4.38607 25.563 2.71748 24.6443C1.05385 23.7206 0.457922 21.6249 1.37664 19.9613L5.22533 13.0336L9.15843 5.9471L9.9828 4.46721C10.5887 3.36972 11.7457 2.69434 12.9922 2.69434C14.2387 2.69434 15.3958 3.37468 16.0017 4.46721L16.831 5.96199L16.8409 5.95206L16.8459 5.95703Z" fill="url(#n)"></path><path d="M23.2844 24.6409C22.753 24.9339 22.1769 25.0729 21.6108 25.0729C20.4041 25.0729 19.2222 24.4323 18.5915 23.3001L16.8633 20.1168L20.7815 13.0303L24.6252 19.948C25.5489 21.6116 24.948 23.7073 23.2844 24.631V24.6409Z" fill="url(#m)"></path><defs><linearGradient id="f" x1="11.1023" y1="24.3432" x2="22.0276" y2="3.09843" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="g" x1="13.8029" y1="21.0845" x2="3.37424" y2="2.65549" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="n" x1="15.0829" y1="3.11645" x2="1.89312" y2="25.3544" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="m" x1="17.3202" y1="13.8646" x2="24.0541" y2="26.0612" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient></defs>',5)];function Ig(t,e){return o.openBlock(),o.createElementBlock("svg",ZB,[...UB])}const qB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ig},render:Ig},Symbol.toStringTag,{value:"Module"})),GB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},KB=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175L16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function zg(t,e){return o.openBlock(),o.createElementBlock("svg",GB,[...KB])}const XB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:zg},render:zg},Symbol.toStringTag,{value:"Module"})),QB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},JB=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175C17.924 16.3402 16.7046 17.6185 15.223 18.5264C13.7415 19.4343 12.0489 19.9405 10.3122 19.9951C8.5754 20.0496 6.85439 19.6507 5.31875 18.8377C3.78311 18.0246 2.48583 16.8254 1.55477 15.3583L3.66559 14.0187C4.36388 15.119 5.33684 16.0184 6.48857 16.6282C7.64031 17.2381 8.93106 17.5372 10.2336 17.4963C11.5362 17.4554 12.8056 17.0757 13.9168 16.3948C15.028 15.7139 15.9425 14.7552 16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function Yg(t,e){return o.openBlock(),o.createElementBlock("svg",QB,[...JB])}const eA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yg},render:Yg},Symbol.toStringTag,{value:"Module"})),tA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nA=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Ellipse",d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"currentColor"})],-1)];function Hg(t,e){return o.openBlock(),o.createElementBlock("svg",tA,[...nA])}const rA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hg},render:Hg},Symbol.toStringTag,{value:"Module"})),sA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},iA=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#F2F2F2"},null,-1)];function Wg(t,e){return o.openBlock(),o.createElementBlock("svg",sA,[...iA])}const oA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wg},render:Wg},Symbol.toStringTag,{value:"Module"})),aA={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lA=[o.createStaticVNode('<g id="google-authenticator-3 1" clip-path="url(#clip0_2798_100151)"><path id="Vector" d="M24 11.5003C24 12.6548 23.095 13.5897 21.9775 13.5897H15L12 7.32163L15.2375 1.52876C15.7975 0.529276 17.0325 0.188367 18 0.764296C18.9675 1.34281 19.2975 2.61864 18.74 3.61812L15.5025 9.41099H21.9775C23.095 9.41099 24 10.3459 24 11.5003Z" fill="#1A73E8"></path><path id="Vector_2" d="M18.0002 22.2347C17.0327 22.8107 15.7977 22.4698 15.2377 21.4703L12.0002 15.6774L8.76272 21.4703C8.20272 22.4698 6.96772 22.8107 6.00022 22.2347C5.03272 21.6562 4.70272 20.3804 5.26022 19.3809L8.49772 13.5881L12.0002 13.4512L15.5027 13.5881L18.7402 19.3809C19.2977 20.3804 18.9677 21.6562 18.0002 22.2347Z" fill="#EA4335"></path><path id="Vector_3" d="M12.0002 7.32163L11.0877 9.88361L8.49772 9.41099L5.26022 3.61812C4.70272 2.61864 5.03272 1.34281 6.00022 0.764296C6.96772 0.188367 8.20272 0.529276 8.76272 1.52876L12.0002 7.32163Z" fill="#FBBC04"></path><path id="Vector_4" d="M11.4775 9.41016L9.13 13.5889H2.0225C0.905 13.5889 0 12.654 0 11.4995C0 10.3451 0.905 9.41016 2.0225 9.41016H11.4775Z" fill="#34A853"></path><path id="Vector_5" d="M15.5026 13.5884H8.49756L12.0001 7.32031L15.5026 13.5884Z" fill="#185DB7"></path></g><defs><clipPath id="clip0_2798_100151"><rect width="24" height="22.9091" fill="white" transform="translate(0 0.0449219)"></rect></clipPath></defs>',2)];function jg(t,e){return o.openBlock(),o.createElementBlock("svg",aA,[...lA])}const cA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jg},render:jg},Symbol.toStringTag,{value:"Module"})),dA={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uA=[o.createStaticVNode('<g id="7123025_logo_google_g_icon 1"><g id="Group"><path id="Vector" d="M19.9498 12.1755C19.9498 11.6795 19.9018 11.1675 19.8218 10.6875H12.8938V13.5195H16.8618C16.7018 14.4315 16.1738 15.2315 15.3898 15.7435L17.7578 17.5835C19.1498 16.2875 19.9498 14.3995 19.9498 12.1755Z" fill="#4280EF"></path><path id="Vector_2" d="M12.8957 19.3458C14.8797 19.3458 16.5437 18.6898 17.7597 17.5698L15.3917 15.7458C14.7357 16.1938 13.8877 16.4498 12.8957 16.4498C10.9757 16.4498 9.35969 15.1538 8.76769 13.4258L6.33569 15.2978C7.58369 17.7778 10.1117 19.3458 12.8957 19.3458Z" fill="#34A353"></path><path id="Vector_3" d="M8.76717 13.4071C8.46318 12.4951 8.46318 11.5031 8.76717 10.5911L6.33518 8.70312C5.29518 10.7831 5.29518 13.2311 6.33518 15.2951L8.76717 13.4071Z" fill="#F6B704"></path><path id="Vector_4" d="M12.8957 7.56853C13.9357 7.55253 14.9597 7.95253 15.7117 8.67253L17.8077 6.56053C16.4797 5.31253 14.7197 4.64053 12.8957 4.65653C10.1117 4.65653 7.58369 6.22453 6.33569 8.70453L8.76769 10.5925C9.35969 8.84853 10.9757 7.56853 12.8957 7.56853Z" fill="#E54335"></path></g></g>',1)];function Zg(t,e){return o.openBlock(),o.createElementBlock("svg",dA,[...uA])}const hA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zg},render:Zg},Symbol.toStringTag,{value:"Module"})),fA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},mA=[o.createElementVNode("path",{d:"M5.24982 3.1215L4.79677 3.33303L5.21983 4.23914L5.67288 4.02761L5.24982 3.1215ZM14.6666 7.99866L15.1169 8.21603L15.2218 7.99866L15.1169 7.78129L14.6666 7.99866ZM12.3668 10.4898L12.0182 10.8482L12.735 11.5455L13.0836 11.1871L12.3668 10.4898ZM6.93926 6.23093L6.58571 5.87738L5.8786 6.58448L6.23215 6.93804L6.93926 6.23093ZM9.06058 9.76647L9.41413 10.12L10.1212 9.41291L9.76769 9.05936L9.06058 9.76647ZM1.33325 7.99874L0.882974 7.78137L0.77804 7.99874L0.882974 8.21611L1.33325 7.99874ZM4.41495 4.80423L4.80912 4.4966L4.19387 3.70827L3.7997 4.0159L4.41495 4.80423ZM6.83812 7.0498L7.15471 6.66279L6.38071 6.02961L6.06412 6.41662L6.83812 7.0498ZM9.55991 9.95236L9.95047 9.64018L9.32609 8.85905L8.93553 9.17124L9.55991 9.95236ZM11.8029 12.2725L12.2152 11.9897L11.6497 11.165L11.2373 11.4478L11.8029 12.2725ZM5.67288 4.02761C7.16338 3.33169 8.77318 3.32268 10.2662 3.99961C11.7649 4.67913 13.1786 6.06647 14.2163 8.21603L15.1169 7.78129C13.9993 5.46631 12.4329 3.88403 10.6791 3.08885C8.9196 2.29108 7.00441 2.30229 5.24982 3.1215L5.67288 4.02761ZM13.0836 11.1871C13.8556 10.3935 14.5447 9.40127 15.1169 8.21603L14.2163 7.78129C13.6856 8.88071 13.0558 9.78162 12.3668 10.4898L13.0836 11.1871ZM7.99992 9.4987C7.17149 9.4987 6.49992 8.82713 6.49992 7.9987H5.49992C5.49992 9.37941 6.61921 10.4987 7.99992 10.4987V9.4987ZM6.23215 6.93804L9.06058 9.76647L9.76769 9.05936L6.93926 6.23093L6.23215 6.93804ZM1.4797 2.18558L13.813 14.5189L14.5201 13.8118L2.18681 1.47848L1.4797 2.18558ZM1.4797 2.18558L3.92669 4.63258L4.6338 3.92547L2.18681 1.47848L1.4797 2.18558ZM3.92669 4.63258L11.366 12.0719L12.0731 11.3648L4.6338 3.92547L3.92669 4.63258ZM11.366 12.0719L13.813 14.5189L14.5201 13.8118L12.0731 11.3648L11.366 12.0719ZM1.78353 8.21611C2.50956 6.71214 3.42056 5.5803 4.41495 4.80423L3.7997 4.0159C2.66692 4.89998 1.6654 6.16059 0.882974 7.78137L1.78353 8.21611ZM6.49992 7.9987C6.49992 7.63814 6.6265 7.30849 6.83812 7.0498L6.06412 6.41662C5.71172 6.8474 5.49992 7.39899 5.49992 7.9987H6.49992ZM8.93553 9.17124C8.6789 9.37637 8.35438 9.4987 7.99992 9.4987V10.4987C8.58938 10.4987 9.13242 10.2941 9.55991 9.95236L8.93553 9.17124ZM0.882974 8.21611C2.11541 10.7691 3.89461 12.4317 5.86668 13.1285C7.8464 13.828 9.96502 13.5329 11.8029 12.2725L11.2373 11.4478C9.64906 12.537 7.86277 12.7732 6.19985 12.1856C4.52928 11.5953 2.92813 10.1524 1.78353 7.78137L0.882974 8.21611Z",fill:"#7F7F83"},null,-1)];function Ug(t,e){return o.openBlock(),o.createElementBlock("svg",fA,[...mA])}const pA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ug},render:Ug},Symbol.toStringTag,{value:"Module"})),gA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_A=[o.createElementVNode("g",{id:"home-line"},[o.createElementVNode("path",{id:"vector",d:"M8.31137 2.6316L8.7863 3.21206L8.31137 2.6316ZM9.54856 1.79906L9.75171 2.52102L9.54856 1.79906ZM11.6886 2.6316L11.2137 3.21206L11.6886 2.6316ZM10.4514 1.79906L10.2483 2.52102L10.4514 1.79906ZM4.03502 16.6933L4.37551 16.0251L4.03502 16.6933ZM3.125 14.2083H3.875H3.125ZM3.30666 15.965L3.97491 15.6245L3.30666 15.965ZM16.6933 15.965L16.0251 15.6245L16.6933 15.965ZM15.965 16.6933L15.6245 16.0251L15.965 16.6933ZM16.8166 7.22743L17.5403 7.03063L16.8166 7.22743ZM15.897 6.07478L15.422 6.65525L15.897 6.07478ZM16.5652 6.69701L15.9546 7.13251L16.5652 6.69701ZM3.125 8.13866H2.375H3.125ZM3.18341 7.22743L2.45969 7.03063L3.18341 7.22743ZM4.10303 6.07478L3.6281 5.49431L4.10303 6.07478ZM3.43476 6.69701L4.04537 7.13251H4.04537L3.43476 6.69701ZM6.45833 12.7917C6.04412 12.7917 5.70833 13.1274 5.70833 13.5417C5.70833 13.9559 6.04412 14.2917 6.45833 14.2917V12.7917ZM13.5417 14.2917C13.9559 14.2917 14.2917 13.9559 14.2917 13.5417C14.2917 13.1274 13.9559 12.7917 13.5417 12.7917V14.2917ZM16.125 8.13866V14.2083H17.625V8.13866H16.125ZM14.2083 16.125H5.79167V17.625H14.2083V16.125ZM3.875 14.2083V8.13866H2.375V14.2083H3.875ZM4.57796 6.65525L8.7863 3.21206L7.83644 2.05113L3.6281 5.49431L4.57796 6.65525ZM11.2137 3.21206L15.422 6.65525L16.3719 5.49431L12.1636 2.05113L11.2137 3.21206ZM8.7863 3.21206C9.09564 2.95896 9.29647 2.79527 9.46067 2.68011C9.61712 2.57038 9.69739 2.53631 9.75171 2.52102L9.34541 1.0771C9.06494 1.15602 8.82742 1.2921 8.59937 1.45203C8.37907 1.60654 8.1287 1.81201 7.83644 2.05113L8.7863 3.21206ZM12.1636 2.05113C11.8713 1.81201 11.6209 1.60654 11.4006 1.45203C11.1726 1.2921 10.9351 1.15602 10.6546 1.0771L10.2483 2.52102C10.3026 2.53631 10.3829 2.57038 10.5393 2.68011C10.7035 2.79527 10.9044 2.95896 11.2137 3.21206L12.1636 2.05113ZM9.75171 2.52102C9.91408 2.47533 10.0859 2.47533 10.2483 2.52102L10.6546 1.0771C10.2265 0.956641 9.77349 0.956641 9.34541 1.0771L9.75171 2.52102ZM5.79167 16.125C5.31258 16.125 4.99837 16.1244 4.75808 16.1048C4.52654 16.0859 4.43042 16.0531 4.37551 16.0251L3.69452 17.3616C3.99613 17.5153 4.31163 17.5733 4.63593 17.5998C4.95147 17.6256 5.33733 17.625 5.79167 17.625V16.125ZM2.375 14.2083C2.375 14.6627 2.37442 15.0485 2.4002 15.3641C2.42669 15.6884 2.48472 16.0039 2.6384 16.3055L3.97491 15.6245C3.94693 15.5696 3.91413 15.4734 3.89522 15.2419C3.87558 15.0016 3.875 14.6874 3.875 14.2083H2.375ZM4.37551 16.0251C4.20303 15.9372 4.06279 15.797 3.97491 15.6245L2.6384 16.3055C2.87009 16.7602 3.2398 17.1299 3.69452 17.3616L4.37551 16.0251ZM16.125 14.2083C16.125 14.6874 16.1244 15.0016 16.1048 15.2419C16.0859 15.4734 16.0531 15.5696 16.0251 15.6245L17.3616 16.3055C17.5153 16.0039 17.5733 15.6884 17.5998 15.3641C17.6256 15.0485 17.625 14.6627 17.625 14.2083H16.125ZM14.2083 17.625C14.6627 17.625 15.0485 17.6256 15.3641 17.5998C15.6884 17.5733 16.0039 17.5153 16.3055 17.3616L15.6245 16.0251C15.5696 16.0531 15.4735 16.0859 15.2419 16.1048C15.0016 16.1244 14.6874 16.125 14.2083 16.125V17.625ZM16.0251 15.6245C15.9372 15.797 15.797 15.9372 15.6245 16.0251L16.3055 17.3616C16.7602 17.1299 17.1299 16.7602 17.3616 16.3055L16.0251 15.6245ZM17.625 8.13866C17.625 7.71545 17.6312 7.36469 17.5403 7.03063L16.0929 7.42424C16.1188 7.51973 16.125 7.63327 16.125 8.13866H17.625ZM15.422 6.65525C15.8132 6.97528 15.8972 7.05194 15.9546 7.13251L17.1758 6.26151C16.9748 5.97966 16.6994 5.76231 16.3719 5.49431L15.422 6.65525ZM17.5403 7.03063C17.4653 6.75471 17.3419 6.4943 17.1758 6.26151L15.9546 7.13251C16.0176 7.22081 16.0644 7.31959 16.0929 7.42424L17.5403 7.03063ZM3.875 8.13866C3.875 7.63327 3.88116 7.51973 3.90712 7.42424L2.45969 7.03063C2.36884 7.36469 2.375 7.71545 2.375 8.13866H3.875ZM3.6281 5.49431C3.30056 5.7623 3.02518 5.97966 2.82416 6.26151L4.04537 7.13251C4.10283 7.05194 4.18681 6.97528 4.57796 6.65525L3.6281 5.49431ZM3.90712 7.42424C3.93558 7.31958 3.98239 7.22081 4.04537 7.13251L2.82416 6.26151C2.65812 6.4943 2.53472 6.75471 2.45969 7.03063L3.90712 7.42424ZM6.45833 14.2917H13.5417V12.7917H6.45833V14.2917Z",fill:"currentColor"})],-1)];function qg(t,e){return o.openBlock(),o.createElementBlock("svg",gA,[..._A])}const yA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qg},render:qg},Symbol.toStringTag,{value:"Module"})),wA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},bA=[o.createElementVNode("path",{d:"M8 16.5C12.4183 16.5 16 12.9183 16 8.5C16 4.08172 12.4183 0.5 8 0.5C3.58172 0.5 0 4.08172 0 8.5C0 12.9183 3.58172 16.5 8 16.5ZM8.9307 7.08789L7.92875 11.793C7.85844 12.1328 7.95805 12.3262 8.23344 12.3262C8.4268 12.3262 8.71977 12.2559 8.91898 12.0801L8.83109 12.4961C8.54398 12.8418 7.91117 13.0938 7.36625 13.0938C6.66313 13.0938 6.3643 12.6719 6.55766 11.7754L7.29594 8.30664C7.36039 8.01367 7.3018 7.9082 7.00883 7.83789L6.55766 7.75586L6.63969 7.375L8.9307 7.08789ZM8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55229 4 9 4.44772 9 5C9 5.55228 8.55229 6 8 6Z",fill:"#007AFF"},null,-1)];function Gg(t,e){return o.openBlock(),o.createElementBlock("svg",wA,[...bA])}const kA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gg},render:Gg},Symbol.toStringTag,{value:"Module"})),CA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},xA=[o.createElementVNode("path",{d:"M3.37169 16.9938L3.62139 16.5038L3.62139 16.5038L3.37169 16.9938ZM3.00751 16.6296L2.51746 16.8793L2.51746 16.8793L3.00751 16.6296ZM16.9925 16.6296L17.4826 16.8793L16.9925 16.6296ZM16.6283 16.9938L16.878 17.4839L16.6283 16.9938ZM16.9925 3.37298L16.5025 3.62267L16.5025 3.62267L16.9925 3.37298ZM16.6283 3.0088L16.878 2.51874L16.878 2.51874L16.6283 3.0088ZM3.00751 3.37298L2.51746 3.12328V3.12328L3.00751 3.37298ZM3.37169 3.0088L3.122 2.51874H3.122L3.37169 3.0088ZM16.5334 4.2513V15.7513H17.6334V4.2513H16.5334ZM15.75 16.5346H4.25002V17.6346H15.75V16.5346ZM3.46669 15.7513V4.2513H2.36669V15.7513H3.46669ZM4.25002 3.46797H15.75V2.36797H4.25002V3.46797ZM4.25002 16.5346C4.00759 16.5346 3.85884 16.5342 3.74748 16.5251C3.69555 16.5209 3.66395 16.5155 3.64458 16.511C3.63535 16.5088 3.62959 16.5069 3.62637 16.5058C3.62327 16.5047 3.62183 16.504 3.62139 16.5038L3.122 17.4839C3.30159 17.5754 3.48493 17.6073 3.6579 17.6215C3.82445 17.6351 4.02574 17.6346 4.25002 17.6346V16.5346ZM2.36669 15.7513C2.36669 15.9756 2.36626 16.1769 2.37987 16.3434C2.394 16.5164 2.42596 16.6997 2.51746 16.8793L3.49757 16.3799C3.49734 16.3795 3.49663 16.3781 3.49552 16.375C3.49437 16.3717 3.49253 16.366 3.49036 16.3567C3.4858 16.3374 3.48046 16.3058 3.47621 16.2538C3.46711 16.1425 3.46669 15.9937 3.46669 15.7513H2.36669ZM3.62139 16.5038C3.56808 16.4766 3.52473 16.4332 3.49757 16.3799L2.51746 16.8793C2.65009 17.1396 2.86171 17.3512 3.122 17.4839L3.62139 16.5038ZM16.5334 15.7513C16.5334 15.9937 16.5329 16.1425 16.5238 16.2538C16.5196 16.3058 16.5142 16.3374 16.5097 16.3567C16.5075 16.366 16.5057 16.3717 16.5045 16.375C16.5034 16.3781 16.5027 16.3795 16.5025 16.3799L17.4826 16.8793C17.5741 16.6997 17.606 16.5164 17.6202 16.3434C17.6338 16.1769 17.6334 15.9756 17.6334 15.7513H16.5334ZM15.75 17.6346C15.9743 17.6346 16.1756 17.6351 16.3421 17.6215C16.5151 17.6073 16.6985 17.5754 16.878 17.4839L16.3787 16.5038C16.3782 16.504 16.3768 16.5047 16.3737 16.5058C16.3705 16.5069 16.3647 16.5088 16.3555 16.511C16.3361 16.5155 16.3045 16.5209 16.2526 16.5251C16.1412 16.5342 15.9925 16.5346 15.75 16.5346V17.6346ZM16.5025 16.3799C16.4753 16.4332 16.432 16.4766 16.3787 16.5038L16.878 17.4839C17.1383 17.3512 17.35 17.1396 17.4826 16.8793L16.5025 16.3799ZM17.6334 4.2513C17.6334 4.02702 17.6338 3.82573 17.6202 3.65918C17.606 3.48621 17.5741 3.30287 17.4826 3.12328L16.5025 3.62267C16.5027 3.62312 16.5034 3.62455 16.5045 3.62765C16.5057 3.63087 16.5075 3.63664 16.5097 3.64586C16.5142 3.66523 16.5196 3.69683 16.5238 3.74876C16.5329 3.86013 16.5334 4.00887 16.5334 4.2513H17.6334ZM15.75 3.46797C15.9925 3.46797 16.1412 3.4684 16.2526 3.4775C16.3045 3.48174 16.3361 3.48708 16.3555 3.49164C16.3647 3.49381 16.3705 3.49566 16.3737 3.49681C16.3768 3.49791 16.3782 3.49862 16.3787 3.49885L16.878 2.51874C16.6985 2.42724 16.5151 2.39528 16.3421 2.38115C16.1756 2.36754 15.9743 2.36797 15.75 2.36797V3.46797ZM17.4826 3.12328C17.35 2.86299 17.1383 2.65137 16.878 2.51874L16.3787 3.49885C16.432 3.52601 16.4753 3.56936 16.5025 3.62267L17.4826 3.12328ZM3.46669 4.2513C3.46669 4.00887 3.46711 3.86013 3.47621 3.74876C3.48046 3.69683 3.4858 3.66523 3.49036 3.64586C3.49253 3.63664 3.49437 3.63087 3.49552 3.62765C3.49663 3.62455 3.49734 3.62312 3.49757 3.62267L2.51746 3.12328C2.42596 3.30287 2.394 3.48621 2.37987 3.65918C2.36626 3.82573 2.36669 4.02702 2.36669 4.2513H3.46669ZM4.25002 2.36797C4.02574 2.36797 3.82445 2.36754 3.6579 2.38115C3.48493 2.39528 3.30159 2.42724 3.122 2.51874L3.62139 3.49885C3.62183 3.49862 3.62327 3.49791 3.62637 3.49681C3.62959 3.49566 3.63535 3.49381 3.64458 3.49164C3.66395 3.48708 3.69555 3.48174 3.74748 3.4775C3.85884 3.4684 4.00759 3.46797 4.25002 3.46797V2.36797ZM3.49757 3.62267C3.52473 3.56936 3.56808 3.52601 3.62139 3.49885L3.122 2.51874C2.86171 2.65137 2.65009 2.86299 2.51746 3.12328L3.49757 3.62267ZM9.45002 2.91797V17.0846H10.55V2.91797H9.45002Z",fill:"#1C2026"},null,-1)];function Kg(t,e){return o.openBlock(),o.createElementBlock("svg",CA,[...xA])}const MA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kg},render:Kg},Symbol.toStringTag,{value:"Module"})),vA={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SA=[o.createStaticVNode('<g id="LOGO SCOPE" clip-path="url(#clip0_2737_18129)"><g id="Group"><g id="Group_2"><path id="Vector" d="M116.288 3.07053H116.696C117.017 3.07053 117.233 2.88014 117.233 2.60393C117.233 2.32772 117.04 2.1545 116.691 2.1545C116.365 2.1545 116.149 2.34644 116.13 2.63982H115.484C115.509 2.02029 115.994 1.61768 116.722 1.61768C117.45 1.61768 117.896 1.97504 117.896 2.5103C117.896 2.92071 117.615 3.21721 117.203 3.29212V3.30616C117.704 3.3483 118.026 3.64948 118.026 4.11296C118.026 4.71376 117.48 5.11325 116.705 5.11325C115.93 5.11325 115.451 4.69815 115.418 4.08175H116.09C116.11 4.3642 116.343 4.5499 116.713 4.5499C117.082 4.5499 117.311 4.35328 117.311 4.06926C117.311 3.7634 117.081 3.5777 116.702 3.5777H116.287V3.07209L116.288 3.07053Z" fill="#1C2026"></path><path id="Vector_2" d="M118.699 4.49667C118.513 4.21422 118.418 3.83501 118.418 3.39026C118.418 2.28228 118.958 1.61438 119.825 1.61438C120.466 1.61438 120.965 1.99203 121.059 2.53977H120.369C120.301 2.31662 120.085 2.16837 119.822 2.16837C119.354 2.16837 119.071 2.61624 119.086 3.37153H119.1C119.235 3.04382 119.565 2.82691 119.994 2.82691C120.632 2.82691 121.104 3.29507 121.104 3.9302C121.104 4.61839 120.567 5.11308 119.816 5.11308C119.334 5.11308 118.936 4.89461 118.701 4.49667H118.699ZM120.419 3.95205C120.419 3.60717 120.16 3.35437 119.81 3.35437C119.459 3.35437 119.196 3.60717 119.196 3.94581C119.196 4.28444 119.464 4.55597 119.808 4.55597C120.152 4.55597 120.42 4.28912 120.42 3.95361L120.419 3.95205Z" fill="#1C2026"></path><path id="Vector_3" d="M121.484 3.35575C121.484 2.27431 122.002 1.61108 122.843 1.61108C123.684 1.61108 124.199 2.27275 124.199 3.35263C124.199 4.43252 123.687 5.10822 122.843 5.10822C121.999 5.10822 121.484 4.43876 121.484 3.35419V3.35575ZM123.485 3.35575C123.485 2.5989 123.241 2.17287 122.843 2.17287C122.445 2.17287 122.198 2.60202 122.198 3.35575C122.198 4.10949 122.442 4.54799 122.843 4.54799C123.244 4.54799 123.485 4.11885 123.485 3.35575Z" fill="#1C2026"></path><path id="Vector_4" d="M124.523 2.39511C124.523 1.98001 124.844 1.65698 125.262 1.65698C125.68 1.65698 126.003 1.98001 126.003 2.39511C126.003 2.81021 125.679 3.1348 125.262 3.1348C124.846 3.1348 124.523 2.81177 124.523 2.39511ZM125.599 2.39511C125.599 2.20785 125.452 2.05648 125.264 2.05648C125.076 2.05648 124.929 2.20785 124.929 2.39511C124.929 2.58237 125.082 2.73531 125.264 2.73531C125.455 2.73531 125.599 2.57769 125.599 2.39511Z" fill="#1C2026"></path></g><path id="Vector_5" d="M4.27462 15.1864C4.27462 14.492 4.67074 13.8584 5.29545 13.5525C5.40505 13.4995 5.51308 13.4449 5.62111 13.3918C10.6297 10.9106 14.7522 8.48864 14.7945 7.73334C14.6692 7.63971 14.4469 7.56013 14.1322 7.50395C12.6542 7.24022 9.15016 7.52735 4.23705 9.6684C3.97871 9.78075 3.71881 9.89779 3.4542 10.0211L1.90887 6.70028C5.4207 5.07577 9.32239 3.90693 12.4616 3.78989C15.1593 3.68846 17.2933 4.36105 18.1419 6.18686C19.7013 9.53419 12.9877 13.7632 6.93002 16.814C5.71192 17.4273 4.27306 16.5488 4.27306 15.188L4.27462 15.1864Z" fill="url(#paint0_linear_2737_18129)"></path><path id="Vector_6" d="M18.3385 7.73053C18.2993 7.87722 18.2508 8.02391 18.2023 8.1706C18.1662 8.27983 18.1287 8.38907 18.0817 8.49363C17.9893 8.7043 17.8797 8.90717 17.7545 9.10067C17.6292 9.29418 17.4977 9.483 17.3474 9.64998C17.1955 9.81695 17.0264 9.95428 16.8511 10.0978C16.6726 10.243 16.4847 10.3756 16.289 10.4958C16.087 10.6206 15.8772 10.7314 15.6627 10.8329C15.5938 10.8656 15.5234 10.8968 15.4529 10.9265C12.1086 12.359 8.51693 13.3437 5.62668 13.3952H5.41531C2.95406 13.3952 1.0314 12.6992 0.232896 10.9858C-1.34218 7.59632 5.36834 3.28459 11.4291 0.222838C12.5063 -0.321786 13.7338 0.165099 14.0673 1.32145C14.2176 1.84422 14.1221 2.37324 13.8637 2.78834C13.6853 3.07392 13.43 3.30956 13.1169 3.46249C12.8977 3.57017 12.6832 3.68096 12.464 3.78864C8.12864 5.97026 4.56984 8.1113 3.75725 9.10379C3.62104 9.27077 3.69619 9.52357 3.90129 9.58755C3.99837 9.61876 4.11266 9.64529 4.24105 9.6687C4.52757 9.7202 4.89394 9.74985 5.3292 9.74985C7.13756 9.74985 10.1781 9.22863 14.1346 7.50425L14.1565 7.49333C14.3976 7.356 16.5661 6.05608 15.9508 4.24743C15.9555 4.24899 15.9618 4.25056 15.9665 4.25212C15.979 4.2568 15.9915 4.26148 16.004 4.26616C16.0588 4.28801 16.1121 4.31298 16.1669 4.33482C16.2498 4.36916 16.3313 4.40817 16.4127 4.44718C16.516 4.49556 16.6162 4.54862 16.7164 4.60479C16.8307 4.66878 16.9434 4.73744 17.053 4.80922C17.172 4.88881 17.2879 4.97308 17.3991 5.06359C17.5149 5.15878 17.6276 5.26022 17.731 5.36945C17.8375 5.48181 17.9361 5.60041 18.0253 5.72837C18.1146 5.8579 18.1944 5.99522 18.2571 6.14035C18.3197 6.28548 18.3729 6.44778 18.4042 6.60851C18.4371 6.78173 18.4496 6.95807 18.4418 7.13285C18.4324 7.33728 18.3933 7.53546 18.34 7.73209L18.3385 7.73053Z" fill="url(#paint1_linear_2737_18129)"></path></g><g id="Group_3"><path id="Vector_7" d="M67.835 1.64722C62.6636 1.64722 59.0891 4.58569 59.0891 8.88494C59.0891 13.1842 62.6636 16.171 67.835 16.171C73.0065 16.171 76.498 13.1826 76.498 8.87869C76.498 4.57476 72.9783 1.64722 67.835 1.64722ZM67.835 13.5181C64.4234 13.5181 62.0326 11.6268 62.0326 8.85841C62.0326 6.09003 64.4187 4.30791 67.835 4.30791C71.2513 4.30791 73.556 6.14465 73.556 8.85841C73.556 11.5722 71.1621 13.5135 67.835 13.5135V13.5197V13.5181Z" fill="#1C2026"></path><path id="Vector_8" d="M36.7585 7.59421H32.1116C29.3607 7.59421 28.6186 4.30462 34.3396 4.30462C36.7601 4.30462 38.6577 5.34705 39.4828 5.89323L40.9687 3.64608C39.5643 2.4117 37.0905 1.64392 34.3129 1.64392C25.1271 1.64392 25.0159 10.1972 32.1398 10.1972H36.8149C39.8398 10.1972 40.3346 13.5148 34.3396 13.5148C31.3413 13.5148 28.9755 11.9247 28.1504 11.3207L26.6646 13.5695C28.069 14.8023 31.0375 16.1724 34.3646 16.1724C43.9904 16.1662 44.1016 7.59265 36.7585 7.59265V7.59421Z" fill="#1C2026"></path><path id="Vector_9" d="M51.8526 13.5119C48.3329 13.5119 46.0502 11.6205 46.0502 8.90678C46.0502 6.19303 48.3048 4.30635 51.8244 4.30635C53.8332 4.30635 55.7026 5.34878 56.8299 6.38965L58.5146 4.05979C56.9192 2.80045 54.4704 1.64722 51.8307 1.64722C46.5496 1.64722 43.1129 4.60909 43.1129 8.91302C43.1129 13.217 46.6013 16.171 51.8855 16.171C54.58 16.171 57.0288 14.9647 58.6226 13.7038L56.891 11.427C55.759 12.4741 53.888 13.5119 51.8526 13.5119Z" fill="#1C2026"></path><path id="Vector_10" d="M105.017 1.64548C100.067 1.64548 96.6284 4.60736 96.6284 8.91129C96.6284 13.2152 100.561 16.1693 105.925 16.1693C108.758 16.1693 111.119 15.2377 112.608 13.9768L110.873 11.7062C109.855 12.8032 108.207 13.5975 105.896 13.5975C102.677 13.5975 100.383 12.2555 99.719 10.1987H113.353V8.88164C113.348 4.57771 109.966 1.64392 105.016 1.64392L105.017 1.64548ZM104.989 4.22191C107.823 4.22191 109.761 5.55304 110.272 7.67535H99.6642C100.19 5.57176 102.11 4.22191 104.989 4.22191Z" fill="#1C2026"></path><path id="Vector_11" d="M87.369 1.64548C84.9077 1.64548 82.9553 2.50689 81.6135 3.8349C81.2659 2.73941 80.3062 2.05746 79.0051 2.05746H77.2202V4.66198H78.8689V20.9991H81.7576V14.0954C83.0915 15.3547 84.986 16.174 87.3721 16.174C91.9643 16.174 95.1269 13.1856 95.1269 8.88164C95.1269 4.57771 91.9596 1.64392 87.3674 1.64392L87.369 1.64548ZM87.0104 13.5102C83.8744 13.5102 81.7576 11.6188 81.7576 8.85043C81.7576 6.08206 83.8744 4.29994 87.0104 4.29994C90.1465 4.29994 92.1819 6.13668 92.1819 8.85043C92.1788 11.625 90.0087 13.5102 87.0104 13.5102Z" fill="#1C2026"></path></g></g><defs><linearGradient id="paint0_linear_2737_18129" x1="17.2181" y1="8.42625" x2="2.76763" y2="6.60461" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="1" stop-color="#007AFF"></stop></linearGradient><linearGradient id="paint1_linear_2737_18129" x1="11.116" y1="1.09206" x2="18.2166" y2="8.13786" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="0.511338" stop-color="#007AFF"></stop><stop offset="1" stop-color="#00BAF2"></stop></linearGradient><clipPath id="clip0_2737_18129"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function Xg(t,e){return o.openBlock(),o.createElementBlock("svg",vA,[...SA])}const TA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xg},render:Xg},Symbol.toStringTag,{value:"Module"})),OA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},DA=[o.createElementVNode("path",{d:"M12.2942 3.70313L3.64616 12.3512M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C6.25106 14.3307 4.66772 13.6218 3.52162 12.4757C2.37551 11.3296 1.66663 9.7463 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C9.74886 1.66406 11.3322 2.37295 12.4783 3.51905C13.6244 4.66516 14.3333 6.24849 14.3333 7.9974Z",stroke:"#7F7F83","stroke-linecap":"round"},null,-1)];function Qg(t,e){return o.openBlock(),o.createElementBlock("svg",OA,[...DA])}const EA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qg},render:Qg},Symbol.toStringTag,{value:"Module"})),PA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LA=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.16602 4.16669L15.8327 15.8334M15.8327 4.16669L4.16602 15.8334",stroke:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function Jg(t,e){return o.openBlock(),o.createElementBlock("svg",PA,[...LA])}const $A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jg},render:Jg},Symbol.toStringTag,{value:"Module"})),NA={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VA=[o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 10.2357L11.0974 9.76425L7.99981 12.8619L4.90218 9.76425L4.43078 10.2357L7.99981 13.8047L11.5688 10.2357Z",fill:"#8E8E93"},null,-1),o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 5.76435L11.0974 6.23575L7.99981 3.13812L4.90218 6.23575L4.43078 5.76435L7.99981 2.19531L11.5688 5.76435Z",fill:"#8E8E93"},null,-1)];function e_(t,e){return o.openBlock(),o.createElementBlock("svg",NA,[...VA])}const BA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),AA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FA=[o.createElementVNode("g",{id:"bell, notification, activity, alert"},[o.createElementVNode("path",{id:"vector",d:"M13.3332 15.4163C12.7721 16.8879 11.4908 17.9163 9.99984 17.9163C8.5089 17.9163 7.22756 16.8879 6.6665 15.4163M17.0832 15.4163L16.0884 7.45785C15.7045 4.38726 13.0943 2.08301 9.99984 2.08301C6.90536 2.08301 4.29514 4.38726 3.91132 7.45785L2.9165 15.4163H17.0832Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function t_(t,e){return o.openBlock(),o.createElementBlock("svg",AA,[...FA])}const RA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),IA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},zA=[o.createElementVNode("path",{d:"M7.66671 13.6641H3.00004C2.63185 13.6641 2.33337 13.3656 2.33337 12.9974V5.66406M2.33337 5.66406V3.66406C2.33337 3.29587 2.63185 2.9974 3.00004 2.9974H13C13.3682 2.9974 13.6667 3.29587 13.6667 3.66406V5.66406M2.33337 5.66406H13.6667M13.6667 5.66406V8.33073M5.00004 2.9974V1.66406M11 2.9974V1.66406M14.3334 10.3307L11.2223 14.3307L9.66671 12.7307",stroke:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function n_(t,e){return o.openBlock(),o.createElementBlock("svg",IA,[...zA])}const YA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),HA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},WA=[o.createElementVNode("path",{d:"M7.99996 4.83073V4.12703M7.99996 11.1641V11.8678M9.66663 5.9974C9.36244 5.57672 8.65113 5.18258 7.99996 5.18258C7.23841 5.18258 6.2407 5.50839 6.2407 6.43361C6.2407 8.43726 9.75922 7.59402 9.75922 9.50747C9.75922 10.4257 8.77347 10.8122 7.99996 10.8122C7.34878 10.8122 6.54488 10.4181 6.2407 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function r_(t,e){return o.openBlock(),o.createElementBlock("svg",HA,[...WA])}const jA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),ZA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UA=[o.createElementVNode("g",{id:"pie_chart_light"},[o.createElementVNode("circle",{id:"Ellipse",cx:"10",cy:"10",r:"7.5",stroke:"currentColor","stroke-width":"1.66667"}),o.createElementVNode("path",{id:"Vector",d:"M10 10H17.5",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"}),o.createElementVNode("path",{id:"Vector_2",d:"M10 2.5V9.94822C10 9.98137 10.0132 10.0132 10.0366 10.0366L15 15",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"})],-1)];function s_(t,e){return o.openBlock(),o.createElementBlock("svg",ZA,[...UA])}const qA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),GA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KA=[o.createElementVNode("g",{id:"pie-chart-1, graph, chart, statistics"},[o.createElementVNode("path",{id:"vector",d:"M10.0013 2.29297C5.74411 2.29297 2.29297 5.74411 2.29297 10.0013C2.29297 14.2585 5.74411 17.7096 10.0013 17.7096C13.3576 17.7096 16.2128 15.5646 17.271 12.5707M10.0013 2.29297C14.2585 2.29297 17.7096 5.74411 17.7096 10.0013C17.7096 10.9022 17.5551 11.7671 17.271 12.5707M10.0013 2.29297V10.0013L17.271 12.5707",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})],-1)];function i_(t,e){return o.openBlock(),o.createElementBlock("svg",GA,[...KA])}const XA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),QA={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JA=[o.createElementVNode("g",{id:"plus-small, add small"},[o.createElementVNode("path",{id:"vector",d:"M10.5 5.41666V9.99999M10.5 9.99999V14.5833M10.5 9.99999H5.91669M10.5 9.99999H15.0834",stroke:"currentColor","stroke-linecap":"square"})],-1)];function o_(t,e){return o.openBlock(),o.createElementBlock("svg",QA,[...JA])}const eF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),tF={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nF=[o.createStaticVNode('<g id="darhboard"><rect id="Rectangle" x="4" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_2" x="4" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_3" x="14" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_4" x="14" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect></g>',1)];function a_(t,e){return o.openBlock(),o.createElementBlock("svg",tF,[...nF])}const rF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),sF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iF=[o.createElementVNode("g",{id:"folder-1"},[o.createElementVNode("path",{id:"vector",d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function l_(t,e){return o.openBlock(),o.createElementBlock("svg",sF,[...iF])}const oF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),aF={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lF=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",fill:"#007AFF",stroke:"#007AFF","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M16 21.75C19.1756 21.75 21.75 19.1756 21.75 16C21.75 12.8244 19.1756 10.25 16 10.25C12.8244 10.25 10.25 12.8244 10.25 16C10.25 19.1756 12.8244 21.75 16 21.75Z",fill:"#007AFF",stroke:"#F6F6F6","stroke-width":"1.5"},null,-1)];function c_(t,e){return o.openBlock(),o.createElementBlock("svg",aF,[...lF])}const cF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),dF={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uF=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M20.5 16C20.5 18.4853 18.4853 20.5 16 20.5C13.5147 20.5 11.5 18.4853 11.5 16C11.5 13.5147 13.5147 11.5 16 11.5C18.4853 11.5 20.5 13.5147 20.5 16Z",fill:"white",stroke:"#8E8E93"},null,-1)];function d_(t,e){return o.openBlock(),o.createElementBlock("svg",dF,[...uF])}const hF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),fF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},mF=[o.createElementVNode("path",{d:"M2.33337 8.0026H4.66671L6.33337 10.3359L9.66671 5.33594L11.3334 8.0026H13.6667M2.33337 2.33594H13.6667V13.6693H2.33337V2.33594Z",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function u_(t,e){return o.openBlock(),o.createElementBlock("svg",fF,[...mF])}const pF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),gF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},_F=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function h_(t,e){return o.openBlock(),o.createElementBlock("svg",gF,[..._F])}const yF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),wF={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},bF=[o.createElementVNode("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM12.0303 4.96967C11.7374 4.67678 11.2626 4.67678 10.9697 4.96967C10.9626 4.97674 10.9559 4.98424 10.9498 4.9921L7.4774 9.41674L5.38388 7.32322C5.09098 7.03033 4.61611 7.03033 4.32322 7.32322C4.03032 7.61612 4.03032 8.09099 4.32322 8.38388L6.96966 11.0303C7.26256 11.3232 7.73743 11.3232 8.03032 11.0303C8.03685 11.0238 8.043 11.0169 8.04876 11.0097L12.041 6.01947C12.3232 5.72582 12.3196 5.25897 12.0303 4.96967Z",fill:"#34C759"},null,-1)];function f_(t,e){return o.openBlock(),o.createElementBlock("svg",wF,[...bF])}const kF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),CF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},xF=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function m_(t,e){return o.openBlock(),o.createElementBlock("svg",CF,[...xF])}const MF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),vF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M20.1104 27.8037C19.4495 28.7243 18.5312 29.1846 17.3555 29.1846C16.1797 29.1846 15.2568 28.7266 14.5869 27.8105C13.9215 26.89 13.5889 25.639 13.5889 24.0576C13.5889 22.4899 13.9238 21.248 14.5938 20.332C15.2637 19.4115 16.1842 18.9512 17.3555 18.9512C18.5267 18.9512 19.445 19.4092 20.1104 20.3252C20.7757 21.2367 21.1084 22.4785 21.1084 24.0508C21.1084 25.6322 20.7757 26.8831 20.1104 27.8037ZM15.7217 26.8809C16.109 27.5599 16.6536 27.8994 17.3555 27.8994C18.0573 27.8994 18.5996 27.5599 18.9824 26.8809C19.3698 26.1973 19.5635 25.2562 19.5635 24.0576C19.5635 22.8727 19.3675 21.9408 18.9756 21.2617C18.5882 20.5781 18.0482 20.2363 17.3555 20.2363C16.6628 20.2363 16.1204 20.5781 15.7285 21.2617C15.3366 21.9453 15.1406 22.8773 15.1406 24.0576C15.1406 25.2562 15.3343 26.1973 15.7217 26.8809ZM23.0293 31.1055H21.7168L25.2168 19.1357H26.5293L23.0293 31.1055ZM29.4414 24.5361V23.333H30.6309C31.1595 23.333 31.5902 23.1826 31.9229 22.8818C32.2601 22.5811 32.4287 22.1982 32.4287 21.7334C32.4287 21.264 32.2715 20.8926 31.957 20.6191C31.6471 20.3457 31.2051 20.209 30.6309 20.209C30.0977 20.209 29.6647 20.3525 29.332 20.6396C28.9993 20.9222 28.8102 21.3073 28.7646 21.7949H27.3223C27.3815 20.929 27.7142 20.2386 28.3203 19.7236C28.931 19.2087 29.724 18.9512 30.6992 18.9512C31.638 18.9512 32.4105 19.1927 33.0166 19.6758C33.6227 20.1543 33.9258 20.7718 33.9258 21.5283C33.9258 22.139 33.7412 22.654 33.3721 23.0732C33.0029 23.488 32.5107 23.75 31.8955 23.8594V23.8867C32.6429 23.9368 33.2354 24.1761 33.6729 24.6045C34.1149 25.0329 34.3359 25.5911 34.3359 26.2793C34.3359 27.1315 33.9919 27.8288 33.3037 28.3711C32.6156 28.9134 31.752 29.1846 30.7129 29.1846C29.6602 29.1846 28.8102 28.9225 28.1631 28.3984C27.5205 27.8698 27.1742 27.1748 27.124 26.3135H28.5938C28.6439 26.792 28.8558 27.1771 29.2295 27.4688C29.6077 27.7604 30.1022 27.9062 30.7129 27.9062C31.3145 27.9062 31.8089 27.7536 32.1963 27.4482C32.5837 27.1383 32.7773 26.7419 32.7773 26.2588C32.7773 25.7256 32.5882 25.3063 32.21 25.001C31.8363 24.6911 31.3236 24.5361 30.6719 24.5361H29.4414Z",fill:"#1C2026"},null,-1)];function p_(t,e){return o.openBlock(),o.createElementBlock("svg",vF,[...SF])}const TF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),OF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621L41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M17.417 29V20.6533H17.3828L14.8057 22.4854V20.9814L17.4033 19.1357H18.9141V29H17.417ZM21.8672 31.1055H20.5547L24.0547 19.1357H25.3672L21.8672 31.1055ZM28.2793 24.5361V23.333H29.4688C29.9974 23.333 30.4281 23.1826 30.7607 22.8818C31.098 22.5811 31.2666 22.1982 31.2666 21.7334C31.2666 21.264 31.1094 20.8926 30.7949 20.6191C30.485 20.3457 30.043 20.209 29.4688 20.209C28.9355 20.209 28.5026 20.3525 28.1699 20.6396C27.8372 20.9222 27.6481 21.3073 27.6025 21.7949H26.1602C26.2194 20.929 26.5521 20.2386 27.1582 19.7236C27.7689 19.2087 28.5618 18.9512 29.5371 18.9512C30.4759 18.9512 31.2484 19.1927 31.8545 19.6758C32.4606 20.1543 32.7637 20.7718 32.7637 21.5283C32.7637 22.139 32.5791 22.654 32.21 23.0732C31.8408 23.488 31.3486 23.75 30.7334 23.8594V23.8867C31.4808 23.9368 32.0732 24.1761 32.5107 24.6045C32.9528 25.0329 33.1738 25.5911 33.1738 26.2793C33.1738 27.1315 32.8298 27.8288 32.1416 28.3711C31.4535 28.9134 30.5898 29.1846 29.5508 29.1846C28.498 29.1846 27.6481 28.9225 27.001 28.3984C26.3584 27.8698 26.012 27.1748 25.9619 26.3135H27.4316C27.4818 26.792 27.6937 27.1771 28.0674 27.4688C28.4456 27.7604 28.9401 27.9062 29.5508 27.9062C30.1523 27.9062 30.6468 27.7536 31.0342 27.4482C31.4215 27.1383 31.6152 26.7419 31.6152 26.2588C31.6152 25.7256 31.4261 25.3063 31.0479 25.001C30.6742 24.6911 30.1615 24.5361 29.5098 24.5361H28.2793Z",fill:"#1C2026"},null,-1)];function g_(t,e){return o.openBlock(),o.createElementBlock("svg",OF,[...DF])}const EF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),PF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621C43.0223 39.2165 40.0957 42.2844 36.54 44.4634C32.9842 46.6423 28.9221 47.8572 24.7539 47.9882C20.5856 48.1191 16.4552 47.1618 12.7697 45.2104C9.08414 43.259 5.97068 40.3809 3.73613 36.8598L6.77571 34.9309C8.67507 37.9238 11.3215 40.3701 14.4542 42.0288C17.5869 43.6875 21.0978 44.5013 24.6408 44.3899C28.1838 44.2786 31.6366 43.246 34.659 41.3939C37.6814 39.5417 40.169 36.934 41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M13.9854 22.0273C13.9854 21.1387 14.3044 20.4049 14.9424 19.8262C15.585 19.2428 16.3962 18.9512 17.376 18.9512C18.3148 18.9512 19.0964 19.2155 19.7207 19.7441C20.3451 20.2728 20.6572 20.929 20.6572 21.7129C20.6572 22.2643 20.5046 22.7884 20.1992 23.2852C19.8939 23.7773 19.3607 24.4131 18.5996 25.1924L16.1318 27.6738V27.708H20.8145V29H14.0674V27.9609L17.6289 24.3311C18.2305 23.7021 18.6338 23.2191 18.8389 22.8818C19.0439 22.54 19.1465 22.1755 19.1465 21.7881C19.1465 21.3506 18.971 20.9792 18.6201 20.6738C18.2692 20.3685 17.8385 20.2158 17.3281 20.2158C16.7904 20.2158 16.3392 20.389 15.9746 20.7354C15.6146 21.0771 15.4346 21.5055 15.4346 22.0205V22.041H13.9854V22.0273ZM22.7217 31.1055H21.4092L24.9092 19.1357H26.2217L22.7217 31.1055ZM29.1338 24.5361V23.333H30.3232C30.8519 23.333 31.2826 23.1826 31.6152 22.8818C31.9525 22.5811 32.1211 22.1982 32.1211 21.7334C32.1211 21.264 31.9639 20.8926 31.6494 20.6191C31.3395 20.3457 30.8975 20.209 30.3232 20.209C29.79 20.209 29.3571 20.3525 29.0244 20.6396C28.6917 20.9222 28.5026 21.3073 28.457 21.7949H27.0146C27.0739 20.929 27.4066 20.2386 28.0127 19.7236C28.6234 19.2087 29.4163 18.9512 30.3916 18.9512C31.3304 18.9512 32.1029 19.1927 32.709 19.6758C33.3151 20.1543 33.6182 20.7718 33.6182 21.5283C33.6182 22.139 33.4336 22.654 33.0645 23.0732C32.6953 23.488 32.2031 23.75 31.5879 23.8594V23.8867C32.3353 23.9368 32.9277 24.1761 33.3652 24.6045C33.8073 25.0329 34.0283 25.5911 34.0283 26.2793C34.0283 27.1315 33.6842 27.8288 32.9961 28.3711C32.3079 28.9134 31.4443 29.1846 30.4053 29.1846C29.3525 29.1846 28.5026 28.9225 27.8555 28.3984C27.2129 27.8698 26.8665 27.1748 26.8164 26.3135H28.2861C28.3363 26.792 28.5482 27.1771 28.9219 27.4688C29.3001 27.7604 29.7946 27.9062 30.4053 27.9062C31.0068 27.9062 31.5013 27.7536 31.8887 27.4482C32.276 27.1383 32.4697 26.7419 32.4697 26.2588C32.4697 25.7256 32.2806 25.3063 31.9023 25.001C31.5286 24.6911 31.016 24.5361 30.3643 24.5361H29.1338Z",fill:"#1C2026"},null,-1)];function __(t,e){return o.openBlock(),o.createElementBlock("svg",PF,[...LF])}const $F=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),NF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M16.0293 24.5361V23.333H17.2188C17.7474 23.333 18.1781 23.1826 18.5107 22.8818C18.848 22.5811 19.0166 22.1982 19.0166 21.7334C19.0166 21.264 18.8594 20.8926 18.5449 20.6191C18.235 20.3457 17.793 20.209 17.2188 20.209C16.6855 20.209 16.2526 20.3525 15.9199 20.6396C15.5872 20.9222 15.3981 21.3073 15.3525 21.7949H13.9102C13.9694 20.929 14.3021 20.2386 14.9082 19.7236C15.5189 19.2087 16.3118 18.9512 17.2871 18.9512C18.2259 18.9512 18.9984 19.1927 19.6045 19.6758C20.2106 20.1543 20.5137 20.7718 20.5137 21.5283C20.5137 22.139 20.3291 22.654 19.96 23.0732C19.5908 23.488 19.0986 23.75 18.4834 23.8594V23.8867C19.2308 23.9368 19.8232 24.1761 20.2607 24.6045C20.7028 25.0329 20.9238 25.5911 20.9238 26.2793C20.9238 27.1315 20.5798 27.8288 19.8916 28.3711C19.2035 28.9134 18.3398 29.1846 17.3008 29.1846C16.248 29.1846 15.3981 28.9225 14.751 28.3984C14.1084 27.8698 13.762 27.1748 13.7119 26.3135H15.1816C15.2318 26.792 15.4437 27.1771 15.8174 27.4688C16.1956 27.7604 16.6901 27.9062 17.3008 27.9062C17.9023 27.9062 18.3968 27.7536 18.7842 27.4482C19.1715 27.1383 19.3652 26.7419 19.3652 26.2588C19.3652 25.7256 19.1761 25.3063 18.7979 25.001C18.4242 24.6911 17.9115 24.5361 17.2598 24.5361H16.0293ZM22.9062 31.1055H21.5938L25.0938 19.1357H26.4062L22.9062 31.1055ZM29.3184 24.5361V23.333H30.5078C31.0365 23.333 31.4671 23.1826 31.7998 22.8818C32.137 22.5811 32.3057 22.1982 32.3057 21.7334C32.3057 21.264 32.1484 20.8926 31.834 20.6191C31.5241 20.3457 31.082 20.209 30.5078 20.209C29.9746 20.209 29.5417 20.3525 29.209 20.6396C28.8763 20.9222 28.6872 21.3073 28.6416 21.7949H27.1992C27.2585 20.929 27.5911 20.2386 28.1973 19.7236C28.8079 19.2087 29.6009 18.9512 30.5762 18.9512C31.515 18.9512 32.2874 19.1927 32.8936 19.6758C33.4997 20.1543 33.8027 20.7718 33.8027 21.5283C33.8027 22.139 33.6182 22.654 33.249 23.0732C32.8799 23.488 32.3877 23.75 31.7725 23.8594V23.8867C32.5199 23.9368 33.1123 24.1761 33.5498 24.6045C33.9919 25.0329 34.2129 25.5911 34.2129 26.2793C34.2129 27.1315 33.8688 27.8288 33.1807 28.3711C32.4925 28.9134 31.6289 29.1846 30.5898 29.1846C29.5371 29.1846 28.6872 28.9225 28.04 28.3984C27.3975 27.8698 27.0511 27.1748 27.001 26.3135H28.4707C28.5208 26.792 28.7327 27.1771 29.1064 27.4688C29.4847 27.7604 29.9792 27.9062 30.5898 27.9062C31.1914 27.9062 31.6859 27.7536 32.0732 27.4482C32.4606 27.1383 32.6543 26.7419 32.6543 26.2588C32.6543 25.7256 32.4652 25.3063 32.0869 25.001C31.7132 24.6911 31.2005 24.5361 30.5488 24.5361H29.3184Z",fill:"#1C2026"},null,-1)];function y_(t,e){return o.openBlock(),o.createElementBlock("svg",NF,[...VF])}const BF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),AF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FF=[o.createElementVNode("g",{id:"qr-code, barcode, scan"},[o.createElementVNode("path",{id:"vector",d:"M11.2498 11.2493V13.7493H13.7498M14.5832 11.2493H17.0832M17.0832 14.5827H14.5832V17.0827M11.2498 17.0827V16.2493M8.74984 2.91602H2.9165V8.74935H8.74984V2.91602ZM2.9165 11.2493H8.74984V17.0827H2.9165V11.2493ZM11.2498 2.91602H17.0832V8.74935H11.2498V2.91602Z",stroke:"#007AFF","stroke-linecap":"square"})],-1)];function w_(t,e){return o.openBlock(),o.createElementBlock("svg",AF,[...FF])}const RF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),IF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zF=[o.createStaticVNode('<g clip-path="url(#clip0_5981_16052)"><path d="M116.288 3.07004H116.696C117.017 3.07004 117.233 2.87965 117.233 2.60344C117.233 2.32723 117.04 2.15401 116.691 2.15401C116.365 2.15401 116.149 2.34595 116.13 2.63933H115.484C115.509 2.0198 115.994 1.61719 116.722 1.61719C117.45 1.61719 117.896 1.97455 117.896 2.50981C117.896 2.92023 117.615 3.21673 117.203 3.29163V3.30568C117.704 3.34781 118.026 3.64899 118.026 4.11247C118.026 4.71327 117.48 5.11277 116.705 5.11277C115.93 5.11277 115.451 4.69767 115.418 4.08126H116.09C116.11 4.36371 116.343 4.54942 116.713 4.54942C117.082 4.54942 117.311 4.35279 117.311 4.06877C117.311 3.76291 117.081 3.57721 116.702 3.57721H116.287V3.0716L116.288 3.07004Z" fill="#1C2026"></path><path d="M118.7 4.49557C118.513 4.21312 118.418 3.83391 118.418 3.38916C118.418 2.28119 118.958 1.61328 119.826 1.61328C120.466 1.61328 120.965 1.99093 121.059 2.53867H120.369C120.301 2.31552 120.085 2.16727 119.822 2.16727C119.354 2.16727 119.071 2.61514 119.087 3.37043H119.101C119.235 3.04272 119.566 2.82581 119.995 2.82581C120.632 2.82581 121.105 3.29397 121.105 3.9291C121.105 4.61729 120.568 5.11198 119.816 5.11198C119.334 5.11198 118.936 4.89351 118.701 4.49557H118.7ZM120.419 3.95095C120.419 3.60607 120.161 3.35327 119.81 3.35327C119.459 3.35327 119.196 3.60607 119.196 3.94471C119.196 4.28334 119.464 4.55487 119.808 4.55487C120.153 4.55487 120.42 4.28802 120.42 3.95251L120.419 3.95095Z" fill="#1C2026"></path><path d="M121.484 3.35404C121.484 2.2726 122.003 1.60938 122.843 1.60938C123.684 1.60938 124.199 2.27104 124.199 3.35092C124.199 4.43081 123.687 5.10651 122.843 5.10651C121.999 5.10651 121.484 4.43705 121.484 3.35248V3.35404ZM123.485 3.35404C123.485 2.59719 123.241 2.17116 122.843 2.17116C122.446 2.17116 122.198 2.60031 122.198 3.35404C122.198 4.10778 122.443 4.54628 122.843 4.54628C123.244 4.54628 123.485 4.11714 123.485 3.35404Z" fill="#1C2026"></path><path d="M124.523 2.39438C124.523 1.97928 124.844 1.65625 125.262 1.65625C125.68 1.65625 126.003 1.97928 126.003 2.39438C126.003 2.80948 125.679 3.13407 125.262 3.13407C124.846 3.13407 124.523 2.81104 124.523 2.39438ZM125.599 2.39438C125.599 2.20712 125.452 2.05574 125.264 2.05574C125.076 2.05574 124.929 2.20712 124.929 2.39438C124.929 2.58164 125.082 2.73457 125.264 2.73457C125.455 2.73457 125.599 2.57696 125.599 2.39438Z" fill="#1C2026"></path><path d="M17.6799 3.84522L14.8073 9.03408L11.8828 14.3155L11.2489 15.4554C10.7967 16.2733 9.93306 16.7804 8.99529 16.7804C8.05751 16.7804 7.19386 16.2733 6.74165 15.448L6.11523 14.3081L9.0027 9.01557L11.8716 3.75269L13.1764 1.36182C13.8658 0.121969 15.43 -0.329558 16.6717 0.358836C17.9134 1.04723 18.3657 2.60907 17.6762 3.84892H17.6836L17.6799 3.84522Z" fill="url(#paint0_linear_5981_16052)"></path><path d="M6.14077 3.74064L3.20512 9.02202L0.317654 3.81096C-0.364366 2.56371 0.0878416 1.00187 1.32956 0.317175C2.5787 -0.363817 4.1429 0.0877102 4.82492 1.32756L6.13336 3.74434H6.14077V3.74064Z" fill="url(#paint1_linear_5981_16052)"></path><path d="M11.8701 3.75092L9.00113 9.0138L6.11366 14.3063L4.82375 16.6787C4.13431 17.9185 2.57012 18.3626 1.32469 17.6779C0.0829679 16.9895 -0.361833 15.4277 0.323895 14.1879L3.19654 9.0249L6.13219 3.74352L6.74749 2.64061C7.1997 1.82268 8.06335 1.31934 8.99371 1.31934C9.92408 1.31934 10.7877 1.82638 11.2399 2.64061L11.8589 3.75462L11.8664 3.74722L11.8701 3.75092Z" fill="url(#paint2_linear_5981_16052)"></path><path d="M16.6755 17.6755C16.2789 17.8939 15.8489 17.9975 15.4264 17.9975C14.5256 17.9975 13.6435 17.5201 13.1727 16.6762L11.8828 14.3038L14.8073 9.02246L17.6763 14.178C18.3657 15.4179 17.9172 16.9797 16.6755 17.6681V17.6755Z" fill="url(#paint3_linear_5981_16052)"></path><path d="M67.8338 1.64844C62.6623 1.64844 59.0879 4.58691 59.0879 8.88616C59.0879 13.1854 62.6623 16.1723 67.8338 16.1723C73.0053 16.1723 76.4967 13.1838 76.4967 8.87991C76.4967 4.57598 72.9771 1.64844 67.8338 1.64844ZM67.8338 13.5194C64.4222 13.5194 62.0314 11.628 62.0314 8.85963C62.0314 6.09125 64.4175 4.30913 67.8338 4.30913C71.2501 4.30913 73.5548 6.14587 73.5548 8.85963C73.5548 11.5734 71.1609 13.5147 67.8338 13.5147V13.5209V13.5194Z" fill="#1C2026"></path><path d="M36.758 7.59482H32.1111C29.3602 7.59482 28.618 4.30523 34.339 4.30523C36.7596 4.30523 38.6572 5.34766 39.4823 5.89384L40.9682 3.64669C39.5637 2.41231 37.09 1.64453 34.3124 1.64453C25.1266 1.64453 25.0154 10.1978 32.1393 10.1978H36.8144C39.8393 10.1978 40.3341 13.5155 34.339 13.5155C31.3408 13.5155 28.975 11.9253 28.1499 11.3214L26.6641 13.5701C28.0685 14.8029 31.037 16.173 34.3641 16.173C43.9899 16.1668 44.1011 7.59326 36.758 7.59326V7.59482Z" fill="#1C2026"></path><path d="M51.8529 13.5131C48.3333 13.5131 46.0505 11.6218 46.0505 8.908C46.0505 6.19425 48.3051 4.30757 51.8248 4.30757C53.8335 4.30757 55.703 5.35 56.8302 6.39088L58.5149 4.06101C56.9195 2.80167 54.4708 1.64844 51.831 1.64844C46.55 1.64844 43.1133 4.61032 43.1133 8.91425C43.1133 13.2182 46.6016 16.1723 51.8858 16.1723C54.5804 16.1723 57.0291 14.966 58.623 13.7051L56.8913 11.4283C55.7593 12.4754 53.8883 13.5131 51.8529 13.5131Z" fill="#1C2026"></path><path d="M105.016 1.64609C100.065 1.64609 96.627 4.60797 96.627 8.9119C96.627 13.2158 100.56 16.1699 105.924 16.1699C108.756 16.1699 111.117 15.2383 112.606 13.9774L110.872 11.7068C109.854 12.8039 108.205 13.5982 105.894 13.5982C102.675 13.5982 100.381 12.2561 99.7176 10.1993H113.352V8.88225C113.347 4.57832 109.965 1.64453 105.014 1.64453L105.016 1.64609ZM104.988 4.22252C107.822 4.22252 109.76 5.55365 110.27 7.67596H99.6628C100.189 5.57237 102.108 4.22252 104.988 4.22252Z" fill="#1C2026"></path><path d="M87.3675 1.64609C84.9063 1.64609 82.9539 2.5075 81.6121 3.83551C81.2645 2.74002 80.3047 2.05807 79.0036 2.05807H77.2188V4.66259H78.8674V20.9997H81.7561V14.096C83.0901 15.3553 84.9845 16.1746 87.3706 16.1746C91.9628 16.1746 95.1255 13.1862 95.1255 8.88225C95.1255 4.57832 91.9581 1.64453 87.3659 1.64453L87.3675 1.64609ZM87.009 13.5108C83.8729 13.5108 81.7561 11.6194 81.7561 8.85104C81.7561 6.08267 83.8729 4.30055 87.009 4.30055C90.145 4.30055 92.1804 6.13729 92.1804 8.85104C92.1773 11.6257 90.0073 13.5108 87.009 13.5108Z" fill="#1C2026"></path></g><defs><linearGradient id="paint0_linear_5981_16052" x1="7.58306" y1="17.4539" x2="15.7182" y2="1.6109" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint1_linear_5981_16052" x1="9.59906" y1="15.0251" x2="1.83292" y2="1.2805" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint2_linear_5981_16052" x1="10.5542" y1="1.63392" x2="0.731369" y2="18.2202" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint3_linear_5981_16052" x1="12.2238" y1="9.64424" x2="17.2384" y2="18.7404" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><clipPath id="clip0_5981_16052"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function b_(t,e){return o.openBlock(),o.createElementBlock("svg",IF,[...zF])}const YF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),HF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},WF=[o.createElementVNode("path",{d:"M16.875 16.8763L13.5833 13.5846M15.4167 9.16797C15.4167 12.6197 12.6185 15.418 9.16669 15.418C5.71491 15.418 2.91669 12.6197 2.91669 9.16797C2.91669 5.71619 5.71491 2.91797 9.16669 2.91797C12.6185 2.91797 15.4167 5.71619 15.4167 9.16797Z",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function k_(t,e){return o.openBlock(),o.createElementBlock("svg",HF,[...WF])}const jF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),ZF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},UF=[o.createElementVNode("path",{d:"M16.8753 16.8751L13.5836 13.5834M15.417 9.16675C15.417 12.6185 12.6188 15.4167 9.16699 15.4167C5.71521 15.4167 2.91699 12.6185 2.91699 9.16675C2.91699 5.71497 5.71521 2.91675 9.16699 2.91675C12.6188 2.91675 15.417 5.71497 15.417 9.16675Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",ZF,[...UF])}const qF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),GF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},KF=[o.createElementVNode("path",{d:"M7.99996 4.9974V7.9974L9.99996 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"#7F7F83","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function x_(t,e){return o.openBlock(),o.createElementBlock("svg",GF,[...KF])}const XF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),QF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},JF=[o.createElementVNode("path",{d:"M7.62498 4.45703L5.05206 3.86328L3.86456 5.05078L4.45831 7.6237L2.08331 9.20703V10.7904L4.45831 12.3737L3.86456 14.9466L5.05206 16.1341L7.62498 15.5404L9.20831 17.9154H10.7916L12.375 15.5404L14.9479 16.1341L16.1354 14.9466L15.5416 12.3737L17.9166 10.7904V9.20703L15.5416 7.6237L16.1354 5.05078L14.9479 3.86328L12.375 4.45703L10.7916 2.08203H9.20831L7.62498 4.45703Z",stroke:"#8E8E93"},null,-1),o.createElementVNode("path",{d:"M12.5 9.9987C12.5 11.3794 11.3807 12.4987 9.99998 12.4987C8.61927 12.4987 7.49998 11.3794 7.49998 9.9987C7.49998 8.61799 8.61927 7.4987 9.99998 7.4987C11.3807 7.4987 12.5 8.61799 12.5 9.9987Z",stroke:"#8E8E93"},null,-1)];function M_(t,e){return o.openBlock(),o.createElementBlock("svg",QF,[...JF])}const eR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),tR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nR=[o.createElementVNode("g",{id:"settings 3, gear, preferences"},[o.createElementVNode("g",{id:"Icon"},[o.createElementVNode("path",{d:"M6.29846 4.28462L5.98025 4.21119C5.48466 4.09682 4.96511 4.24582 4.60547 4.60547C4.24582 4.96511 4.09682 5.48466 4.21119 5.98025L4.28462 6.29846C4.4777 7.13515 4.13269 8.00399 3.41823 8.4803L2.93434 8.80289C2.53365 9.07002 2.29297 9.51973 2.29297 10.0013C2.29297 10.4829 2.53365 10.9326 2.93434 11.1997L3.41823 11.5223C4.13269 11.9986 4.4777 12.8675 4.28462 13.7041L4.21119 14.0224C4.09682 14.5179 4.24583 15.0375 4.60547 15.3971C4.96511 15.7568 5.48466 15.9058 5.98025 15.7914L6.29846 15.718C7.13515 15.5249 8.00399 15.8699 8.4803 16.5844L8.80289 17.0683C9.07002 17.469 9.51973 17.7096 10.0013 17.7096C10.4829 17.7096 10.9326 17.469 11.1997 17.0683L11.5223 16.5844C11.9986 15.8699 12.8675 15.5249 13.7041 15.718L14.0224 15.7914C14.5179 15.9058 15.0375 15.7568 15.3971 15.3971C15.7568 15.0375 15.9058 14.5179 15.7914 14.0224L15.718 13.7041C15.5249 12.8675 15.8699 11.9986 16.5844 11.5223L17.0683 11.1997C17.469 10.9326 17.7096 10.4829 17.7096 10.0013C17.7096 9.51973 17.469 9.07002 17.0683 8.80289L16.5844 8.4803C15.8699 8.00399 15.5249 7.13515 15.718 6.29846L15.7914 5.98025C15.9058 5.48466 15.7568 4.96511 15.3971 4.60547C15.0375 4.24583 14.5179 4.09682 14.0224 4.21119L13.7041 4.28462C12.8675 4.4777 11.9986 4.13269 11.5223 3.41823L11.1997 2.93434C10.9326 2.53365 10.4829 2.29297 10.0013 2.29297C9.51973 2.29297 9.07002 2.53365 8.80289 2.93434L8.4803 3.41823C8.00399 4.13269 7.13515 4.4777 6.29846 4.28462Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"}),o.createElementVNode("path",{d:"M12.293 10.0013C12.293 11.267 11.267 12.293 10.0013 12.293C8.73565 12.293 7.70964 11.267 7.70964 10.0013C7.70964 8.73565 8.73565 7.70964 10.0013 7.70964C11.267 7.70964 12.293 8.73565 12.293 10.0013Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})])],-1)];function v_(t,e){return o.openBlock(),o.createElementBlock("svg",tR,[...nR])}const rR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),sR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},iR=[o.createElementVNode("path",{d:"M8.66667 1.9974V5.33073C8.66667 5.69892 8.96514 5.9974 9.33333 5.9974H12.6667M5.66667 11.6641V10.3307M8 11.6641V8.33073M10.3333 11.6641V9.66406M3.66667 1.66406H8.39052C8.56734 1.66406 8.7369 1.7343 8.86193 1.85932L12.8047 5.80213C12.9298 5.92716 13 6.09673 13 6.27354V13.6641C13 14.0323 12.7015 14.3307 12.3333 14.3307H3.66667C3.29848 14.3307 3 14.0323 3 13.6641V2.33073C3 1.96254 3.29848 1.66406 3.66667 1.66406Z",stroke:"#7F7F83","stroke-linecap":"round"},null,-1)];function S_(t,e){return o.openBlock(),o.createElementBlock("svg",sR,[...iR])}const oR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),aR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lR=[o.createElementVNode("g",{id:"arrow-share-right, next, forward"},[o.createElementVNode("path",{id:"vector",d:"M18.75 9.99984L10.4167 2.9165V7.08317C3.33333 7.08317 1.25 9.99984 1.25 17.0832C2.5 14.5832 3.33333 12.9165 10.4167 12.9165V17.0832L18.75 9.99984Z",stroke:"#1C2026"})],-1)];function T_(t,e){return o.openBlock(),o.createElementBlock("svg",aR,[...lR])}const cR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),dR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},uR=[o.createElementVNode("path",{d:"M11.5 14L13.1666 12.3333L11.5 10.6667M3.83329 2L2.16663 3.66667L3.83329 5.33333M2.33329 3.66667H12.3333C12.7015 3.66667 13 3.96514 13 4.33333V7M2.33329 9V11.6667C2.33329 12.0349 2.63177 12.3333 2.99996 12.3333H13",stroke:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function O_(t,e){return o.openBlock(),o.createElementBlock("svg",dR,[...uR])}const hR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),fR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},mR=[o.createElementVNode("path",{d:"M13.6666 2.33203H2.33325V4.9987L6.33325 9.66536V14.332L9.66659 12.9987V9.66536L13.6666 4.9987V2.33203Z",stroke:"#7F7F83"},null,-1)];function D_(t,e){return o.openBlock(),o.createElementBlock("svg",fR,[...mR])}const pR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),gR={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_R=[o.createStaticVNode('<g id="Group 1171281291"><path id="Vector" d="M11.0345 2.89349C11.0345 4.01688 10.1257 4.92565 9.00235 4.92565C6.89639 4.92565 5.16267 6.53194 4.94805 8.58087C4.93799 8.72171 4.92458 8.86255 4.92458 9.0034C4.92458 9.7445 5.12243 10.442 5.46783 11.0423C4.90781 10.0698 3.66704 9.73444 2.68784 10.3012C1.73211 10.8511 1.39006 12.0651 1.9199 13.0308C1.23916 11.8471 0.853516 10.4688 0.853516 9.0034V8.88603C0.913877 4.44947 4.54229 0.861328 8.99564 0.861328C10.119 0.861328 11.0278 1.7701 11.0278 2.89349H11.0345Z" fill="url(#paint0_linear_4793_138373)"></path><path id="Vector_2" d="M15.9771 13.1923C14.5519 15.5564 11.9563 17.1459 8.99859 17.1459C6.04087 17.1459 3.44532 15.5564 2.02011 13.1923C2.01005 13.1822 2.00334 13.1654 1.99328 13.152C1.97652 13.1252 1.95975 13.1017 1.94969 13.0716C1.94969 13.0648 1.94298 13.0615 1.93963 13.0548C1.93292 13.0447 1.92957 13.038 1.92286 13.028C1.39638 12.0622 1.73842 10.8482 2.6908 10.2983C3.66329 9.73826 4.90741 10.0669 5.47079 11.0394C6.17836 12.2567 7.49291 13.0783 9.00195 13.0783C10.511 13.0783 11.8255 12.26 12.5331 11.0394C11.9731 12.0119 12.3017 13.2526 13.2742 13.8194C14.2065 14.3593 15.3869 14.0709 15.9737 13.1956L15.9804 13.1889L15.9771 13.1923Z" fill="url(#paint1_linear_4793_138373)"></path><path id="Vector_3" d="M17.1446 9.00327C17.1446 10.4687 16.7556 11.8402 16.0782 13.0307C16.0782 13.0408 16.0682 13.0475 16.0615 13.0575C16.0615 13.0642 16.0548 13.0676 16.0514 13.0743C16.0346 13.1011 16.0246 13.1246 16.0078 13.1514C16.0011 13.1615 15.991 13.1783 15.981 13.1917C15.3908 14.0736 14.207 14.3553 13.2815 13.8154C12.309 13.2554 11.9803 12.0113 12.5404 11.0354C12.8891 10.4352 13.0836 9.73766 13.0836 8.99656C13.0836 6.74643 11.2527 4.91882 9.00586 4.91882C10.1293 4.91882 11.038 4.01005 11.038 2.88666C11.038 1.76326 10.1293 0.854492 9.00586 0.854492C13.4995 0.854492 17.148 4.5097 17.148 8.99656V9.00327H17.1446Z" fill="url(#paint2_linear_4793_138373)"></path></g><defs><linearGradient id="paint0_linear_4793_138373" x1="9.34775" y1="1.5689" x2="2.32572" y2="9.39579" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint1_linear_4793_138373" x1="3.27765" y1="12.4009" x2="14.193" y2="15.0434" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint2_linear_4793_138373" x1="15.4344" y1="12.8899" x2="11.8798" y2="2.90676" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient></defs>',2)];function E_(t,e){return o.openBlock(),o.createElementBlock("svg",gR,[..._R])}const yR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),wR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bR=[o.createElementVNode("path",{d:"M7.5491 1.28312C7.73016 0.905626 8.26968 0.905627 8.45074 1.28312L10.0849 4.69028C10.1578 4.84223 10.3029 4.94716 10.4705 4.96914L14.2316 5.46239C14.6484 5.51705 14.8152 6.02874 14.5102 6.31684L11.7595 8.91462C11.6367 9.03062 11.5812 9.20066 11.612 9.36642L12.3027 13.0772C12.3793 13.4886 11.9427 13.8048 11.5733 13.6053L8.23804 11.8044C8.0895 11.7242 7.91033 11.7242 7.7618 11.8044L4.42653 13.6053C4.05714 13.8048 3.62057 13.4886 3.69716 13.0772L4.38781 9.36642C4.41866 9.20066 4.36315 9.03062 4.24033 8.91462L1.48967 6.31684C1.18461 6.02874 1.35142 5.51705 1.76822 5.46239L5.52933 4.96914C5.69696 4.94716 5.84205 4.84223 5.91493 4.69028L7.5491 1.28312Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function P_(t,e){return o.openBlock(),o.createElementBlock("svg",wR,[...bR])}const kR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),CR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},xR=[o.createElementVNode("path",{d:"M12.9584 7.29427L11.5417 5.8776L8.00004 9.41927L6.22921 7.64844L2.54171 11.3359M2.33337 2.33594V13.6693H13.6667",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function L_(t,e){return o.openBlock(),o.createElementBlock("svg",CR,[...xR])}const MR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),vR={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},SR=[o.createElementVNode("path",{d:"M18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.5341 5.59088C13.2046 5.26137 12.6704 5.26137 12.3409 5.59088C12.3329 5.59884 12.3254 5.60726 12.3185 5.61612L8.41207 10.5938L6.05686 8.23863C5.72736 7.90912 5.19312 7.90912 4.86362 8.23863C4.53411 8.56813 4.53411 9.10236 4.86362 9.43187L7.84087 12.4091C8.17038 12.7386 8.70461 12.7386 9.03411 12.4091C9.04145 12.4018 9.04838 12.394 9.05486 12.3859L13.5461 6.77191C13.8636 6.44154 13.8596 5.91634 13.5341 5.59088Z",fill:"#2AA248"},null,-1)];function $_(t,e){return o.openBlock(),o.createElementBlock("svg",vR,[...SR])}const TR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),OR={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DR=[o.createElementVNode("circle",{cx:"18",cy:"18",r:"18",fill:"#007AFF"},null,-1),o.createElementVNode("path",{d:"M17.584 9.25L20.084 11.75L17.584 14.25M18.4173 21.75L15.9173 24.25L18.4173 26.75M16.334 24.25H19.6673C23.1191 24.25 25.9173 21.4518 25.9173 18C25.9173 15.9555 24.9356 14.1403 23.4179 13M19.6673 11.75H16.334C12.8822 11.75 10.084 14.5482 10.084 18C10.084 20.0445 11.0657 21.8597 12.5834 23",stroke:"white","stroke-linecap":"square"},null,-1)];function N_(t,e){return o.openBlock(),o.createElementBlock("svg",OR,[...DR])}const ER=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),PR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LR=[o.createStaticVNode('<g id="dot-grid-1x3-horizontal, menu, drag, grab"><g id="vector"><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" fill="#6E6E72"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" fill="#6E6E72"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" fill="#6E6E72"></path><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></g>',1)];function V_(t,e){return o.openBlock(),o.createElementBlock("svg",PR,[...LR])}const $R=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),NR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},VR=[o.createElementVNode("path",{d:"M2.1665 10C2.1665 5.67379 5.67361 2.16669 9.99984 2.16669C14.3261 2.16669 17.8332 5.67379 17.8332 10C17.8332 14.3263 14.3261 17.8334 9.99984 17.8334C5.67361 17.8334 2.1665 14.3263 2.1665 10ZM8.95817 8.04169C8.33685 8.04169 7.83317 8.54537 7.83317 9.16669C7.83317 9.75998 8.29243 10.246 8.87483 10.2886L8.87484 13.5417C8.87484 14.163 9.37852 14.6667 9.99984 14.6667C10.6212 14.6667 11.1248 14.163 11.1248 13.5417L11.1248 9.16669C11.1248 8.54537 10.6212 8.04169 9.99983 8.04169H8.95817ZM9.99984 5.54169C9.37852 5.54169 8.87484 6.04537 8.87484 6.66669C8.87484 7.28801 9.37852 7.79169 9.99984 7.79169C10.6212 7.79169 11.1248 7.28801 11.1248 6.66669C11.1248 6.04537 10.6212 5.54169 9.99984 5.54169Z",fill:"currentColor",stroke:"currentColor"},null,-1)];function B_(t,e){return o.openBlock(),o.createElementBlock("svg",NR,[...VR])}const BR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),AR={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FR=[o.createStaticVNode('<g id="Frame 2118527356"><path id="Vector" d="M15.7101 13.0405C14.7576 13.0405 13.9834 12.2692 13.9834 11.3138V7.91304L9.97199 3.90166C9.2971 3.22677 9.2971 2.137 9.97199 1.46211C10.6469 0.787213 11.7396 0.790134 12.4115 1.46211L16.9284 5.97893C17.2527 6.30323 17.4338 6.74147 17.4338 7.20017V11.3167C17.4338 12.2692 16.6625 13.0434 15.7071 13.0434L15.7101 13.0405Z" fill="url(#paint0_linear_4793_138382)"></path><path id="Vector_2" d="M2.29211 13.0399C1.33966 13.0399 0.56543 12.2686 0.56543 11.3133V8.7218C0.56543 7.76935 1.33674 6.99512 2.29211 6.99512C3.24748 6.99512 4.01879 7.76643 4.01879 8.7218V11.3133C4.01879 12.2657 3.24748 13.0399 2.29211 13.0399Z" fill="url(#paint1_linear_4793_138382)"></path><path id="Vector_3" d="M11.1935 13.0399C10.241 13.0399 9.4668 12.2686 9.4668 11.3132V2.68273C9.4668 1.73028 10.2381 0.956055 11.1935 0.956055C12.1488 0.956055 12.9202 1.72736 12.9202 2.68273V11.3132C12.9202 12.2656 12.1488 13.0399 11.1935 13.0399Z" fill="url(#paint2_linear_4793_138382)"></path><path id="Vector_4" d="M6.69152 13.0398C5.73907 13.0398 4.96484 12.2685 4.96484 11.3131V5.47863C4.96484 4.52618 5.73615 3.75195 6.69152 3.75195C7.64689 3.75195 8.4182 4.52326 8.4182 5.47863V11.3131C8.4182 12.2656 7.64689 13.0398 6.69152 13.0398Z" fill="url(#paint3_linear_4793_138382)"></path></g><defs><linearGradient id="paint0_linear_4793_138382" x1="12.4495" y1="2.93168" x2="19.5082" y2="17.0957" gradientUnits="userSpaceOnUse"><stop offset="0.04" stop-color="#6439FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint1_linear_4793_138382" x1="2.18693" y1="14.2261" x2="2.43527" y2="4.14654" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint2_linear_4793_138382" x1="11.0153" y1="14.3517" x2="11.2461" y2="4.92069" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint3_linear_4793_138382" x1="6.55128" y1="14.2464" x2="6.77917" y2="4.8534" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient></defs>',2)];function A_(t,e){return o.openBlock(),o.createElementBlock("svg",AR,[...FR])}const RR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),IR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zR=[o.createElementVNode("g",{id:"trending-1, trends"},[o.createElementVNode("path",{id:"vector",d:"M2.29297 10.8636L3.14768 8.83481C3.44666 8.12513 4.46178 8.16437 4.70547 8.89504L5.75956 12.0556C6.01597 12.8243 7.10305 12.814 7.34491 12.0405L9.94935 3.71096C10.203 2.89982 11.3607 2.9417 11.5555 3.76905L14.4893 16.2309C14.6804 17.0427 15.8081 17.1042 16.0858 16.318L17.7096 11.7196",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function F_(t,e){return o.openBlock(),o.createElementBlock("svg",IR,[...zR])}const YR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),HR={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WR=[o.createElementVNode("path",{d:"M1 15C1 11.5522 2.36964 8.24558 4.80761 5.80761C7.24558 3.36964 10.5522 2 14 2C17.6343 2.01367 21.1226 3.43177 23.7356 5.95778L27 9.22222",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 1V10H19",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 19C28 22.4478 26.6304 25.7544 24.1924 28.1924C21.7544 30.6304 18.4478 32 15 32C11.3657 31.9863 7.8774 30.5682 5.26444 28.0422L2 24.7778",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M10 24H1V33",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function R_(t,e){return o.openBlock(),o.createElementBlock("svg",HR,[...WR])}const jR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),ZR={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UR=[o.createElementVNode("path",{d:"M1 31L16 16L1 1",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M30 1V31",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function I_(t,e){return o.openBlock(),o.createElementBlock("svg",ZR,[...UR])}const qR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),GR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KR=[o.createStaticVNode('<g id="Waterfall_light"><path id="Rectangle" d="M17.5 17.5H2.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector" d="M3.33331 13.3334V11.6667" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_2" d="M10 10V7.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_3" d="M6.66669 13.3333V8.33331" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_4" d="M13.3333 10.8334V9.16669" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_5" d="M16.6667 12.5V4.16669" stroke="currentColor" stroke-linecap="round"></path></g>',1)];function z_(t,e){return o.openBlock(),o.createElementBlock("svg",GR,[...KR])}const XR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),QR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},JR=[o.createElementVNode("path",{d:"M1.43343 6.42163L2.3735 11.753C2.43744 12.1156 2.78321 12.3577 3.14581 12.2938L6.76052 11.6564M1.43343 6.42163L1.10008 4.5311C1.03615 4.16851 1.27826 3.82274 1.64086 3.7588L9.51932 2.36961C9.88191 2.30568 10.2277 2.54779 10.2916 2.91039L10.625 4.80091L1.43343 6.42163ZM10.6666 7.77171V9.33171L12.0533 10.7184M14.9999 9.33171C14.9999 11.7249 13.0598 13.665 10.6666 13.665C8.27338 13.665 6.33328 11.7249 6.33328 9.33171C6.33328 6.93847 8.27338 4.99838 10.6666 4.99838C13.0598 4.99838 14.9999 6.93847 14.9999 9.33171Z",stroke:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Y_(t,e){return o.openBlock(),o.createElementBlock("svg",QR,[...JR])}const eI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),tI={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},nI=[o.createElementVNode("path",{d:"M22.1352 6.66797H25.4065L18.2597 14.8362L26.6673 25.9513H20.0843L14.9283 19.2101L9.02848 25.9513H5.75525L13.3993 17.2145L5.33398 6.66797H12.0841L16.7448 12.8297L22.1352 6.66797ZM20.9872 23.9933H22.7997L11.0992 8.52313H9.15406L20.9872 23.9933Z",fill:"currentColor"},null,-1)];function H_(t,e){return o.openBlock(),o.createElementBlock("svg",tI,[...nI])}const rI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"}));ie.AccountBalanceWidget=yM,ie.AverageRRLine=zm,ie.BalanceWidget=BM,ie.Button=_c,ie.Calendar=R8,ie.CalendarDropdown=Rp,ie.CalendarWidget=sv,ie.CheckBox=O5,ie.CommissionsFeesWidget=wv,ie.Confetti=dw,ie.CookieManager=on,ie.Dropdown=c5,ie.Icon=ze,ie.Input=m5,ie.LineChart=Eu,ie.LongShort=P0,ie.Menu=P5,ie.NavigationTab=q8,ie.NoMore=jd,ie.NumberInput=j8,ie.PerformanceWidget=vv,ie.PeriodDropdown=Hs,ie.ProgressLine=Ip,ie.Radio=w5,ie.ReturnWidget=zv,ie.Selector=z8,ie.SidebarPopup=Sw,ie.SimpleLineChart=Fm,ie.Switcher=N5,ie.Toast=O0,ie.Toggle=M5,ie.Tooltip=hn,ie.TopPositionsWidget=Jv,ie.TradePerformanceWidget=mS,ie.WidgetChips=Rl,ie.WinrateWidget=SS,ie.addSlashToPair=G6,ie.calculateTimeDifference=wN,ie.firebaseConfig=gL,ie.getDate=yN,ie.getDay=J1,ie.getFullYear=gN,ie.getMonth=_N,ie.numFormat=Q1,ie.scopeInstance=Kl,ie.toBaseDate=q6,ie.toFix=jt,ie.transformKeysToQuery=pN,ie.useToast=K6,ie.withSign=xn,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
49
+ `):" "+h3(i[0]):"as no adapter specified";throw new Te("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:M1};function v1(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ea(null,t)}function m3(t){return v1(t),t.headers=Dr.from(t.headers),t.data=x1.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),f3.getAdapter(t.adapter||k1.adapter)(t).then(function(r){return v1(t),r.data=x1.call(t,t.transformResponse,r),r.headers=Dr.from(r.headers),r},function(r){return c3(r)||(v1(t),r&&r.response&&(r.response.data=x1.call(t,t.transformResponse,r.response),r.response.headers=Dr.from(r.response.headers))),Promise.reject(r)})}const p3=t=>t instanceof Dr?{...t}:t;function Ni(t,e){e=e||{};const n={};function r(d,u,h){return H.isPlainObject(d)&&H.isPlainObject(u)?H.merge.call({caseless:h},d,u):H.isPlainObject(u)?H.merge({},u):H.isArray(u)?u.slice():u}function s(d,u,h){if(H.isUndefined(u)){if(!H.isUndefined(d))return r(void 0,d,h)}else return r(d,u,h)}function i(d,u){if(!H.isUndefined(u))return r(void 0,u)}function a(d,u){if(H.isUndefined(u)){if(!H.isUndefined(d))return r(void 0,d)}else return r(void 0,u)}function l(d,u,h){if(h in e)return r(d,u);if(h in t)return r(void 0,d)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,u)=>s(p3(d),p3(u),!0)};return H.forEach(Object.keys(Object.assign({},t,e)),function(u){const h=c[u]||s,f=h(t[u],e[u],u);H.isUndefined(f)&&h!==l||(n[u]=f)}),n}const g3="1.6.8",S1={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{S1[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const _3={};S1.transitional=function(e,n,r){function s(i,a){return"[Axios v"+g3+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(e===!1)throw new Te(s(a," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!_3[a]&&(_3[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,a,l):!0}};function fL(t,e,n){if(typeof t!="object")throw new Te("options must be an object",Te.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],a=e[i];if(a){const l=t[i],c=l===void 0||a(l,i,t);if(c!==!0)throw new Te("option "+i+" must be "+c,Te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Te("Unknown option "+i,Te.ERR_BAD_OPTION)}}const T1={assertOptions:fL,validators:S1},rs=T1.validators;class ql{constructor(e){this.defaults=e,this.interceptors={request:new s3,response:new s3}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
50
+ `+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ni(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&T1.assertOptions(r,{silentJSONParsing:rs.transitional(rs.boolean),forcedJSONParsing:rs.transitional(rs.boolean),clarifyTimeoutError:rs.transitional(rs.boolean)},!1),s!=null&&(H.isFunction(s)?n.paramsSerializer={serialize:s}:T1.assertOptions(s,{encode:rs.function,serialize:rs.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&H.merge(i.common,i[n.method]);i&&H.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Dr.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const d=[];this.interceptors.response.forEach(function(p){d.push(p.fulfilled,p.rejected)});let u,h=0,f;if(!c){const g=[m3.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,d),f=g.length,u=Promise.resolve(n);h<f;)u=u.then(g[h++],g[h++]);return u}f=l.length;let m=n;for(h=0;h<f;){const g=l[h++],p=l[h++];try{m=g(m)}catch(_){p.call(this,_);break}}try{u=m3.call(this,m)}catch(g){return Promise.reject(g)}for(h=0,f=d.length;h<f;)u=u.then(d[h++],d[h++]);return u}getUri(e){e=Ni(this.defaults,e);const n=d3(e.baseURL,e.url);return r3(n,e.params,e.paramsSerializer)}}H.forEach(["delete","get","head","options"],function(e){ql.prototype[e]=function(n,r){return this.request(Ni(r||{},{method:e,url:n,data:(r||{}).data}))}}),H.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,l){return this.request(Ni(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}ql.prototype[e]=n(),ql.prototype[e+"Form"]=n(!0)});const Gl=ql;class D1{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,l){r.reason||(r.reason=new ea(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new D1(function(s){e=s}),cancel:e}}}const mL=D1;function pL(t){return function(n){return t.apply(null,n)}}function gL(t){return H.isObject(t)&&t.isAxiosError===!0}const O1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(O1).forEach(([t,e])=>{O1[e]=t});const _L=O1;function y3(t){const e=new Gl(t),n=zp(Gl.prototype.request,e);return H.extend(n,Gl.prototype,e,{allOwnKeys:!0}),H.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return y3(Ni(t,s))},n}const at=y3(k1);at.Axios=Gl,at.CanceledError=ea,at.CancelToken=mL,at.isCancel=c3,at.VERSION=g3,at.toFormData=jl,at.AxiosError=Te,at.Cancel=at.CanceledError,at.all=function(e){return Promise.all(e)},at.spread=pL,at.isAxiosError=gL,at.mergeConfig=Ni,at.AxiosHeaders=Dr,at.formToJSON=t=>a3(H.isHTMLForm(t)?new FormData(t):t),at.getAdapter=f3.getAdapter,at.HttpStatusCode=_L,at.default=at;const Kl=at.create({baseURL:"https://api.scope360.io/"}),yL=async()=>{try{const t=on.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await at.post("https://api.scope360.io/refresh",{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:s,refresh_token:i}=e.data;return on.setItem("access_token",n,r),on.setItem("refresh_token",i,s),n}catch(t){if(console.error("Error refreshing access token:",t),on.removeItem("access_token"),on.removeItem("refresh_token"),on.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}throw t}},wL=t=>on.getItem("isOAuth")?t:"Bearer "+t;Kl.interceptors.request.use(async t=>{const e=on.getItem("access_token");return t.headers={Accept:"application/json"},on.getItem("access_token")&&(t.headers.Authorization=wL(e)),t},t=>{Promise.reject(t)}),Kl.interceptors.response.use(t=>t,async function(t){try{const e=t.config;if(t.response.status===401&&!e._retry){e._retry=!0;const n=await yL();return at.defaults.headers.common.Authorization="Bearer "+n,Kl(e)}else return Promise.reject(t)}catch{if(on.removeItem("access_token"),on.removeItem("refresh_token"),on.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}return Promise.reject(t)}});const bL={apiKey:"AIzaSyB_Ld2DPvpUNvAUB5zRFVewb1E3NOwZ56I",authDomain:"scope360-384414.firebaseapp.com",projectId:"scope360-384414",storageBucket:"scope360-384414.appspot.com",messagingSenderId:"642994439819",appId:"1:642994439819:web:963368ff44bab507a6368e",measurementId:"G-BGYS3877GQ"};class Ws extends Error{}class kL extends Ws{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class CL extends Ws{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class xL extends Ws{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Vi extends Ws{}class w3 extends Ws{constructor(e){super(`Invalid unit ${e}`)}}class Wt extends Ws{}class ss extends Ws{constructor(){super("Zone is an abstract class")}}const ne="numeric",Vn="short",an="long",Xl={year:ne,month:ne,day:ne},b3={year:ne,month:Vn,day:ne},ML={year:ne,month:Vn,day:ne,weekday:Vn},k3={year:ne,month:an,day:ne},C3={year:ne,month:an,day:ne,weekday:an},x3={hour:ne,minute:ne},M3={hour:ne,minute:ne,second:ne},v3={hour:ne,minute:ne,second:ne,timeZoneName:Vn},S3={hour:ne,minute:ne,second:ne,timeZoneName:an},T3={hour:ne,minute:ne,hourCycle:"h23"},D3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},O3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Vn},E3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:an},P3={year:ne,month:ne,day:ne,hour:ne,minute:ne},L3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},$3={year:ne,month:Vn,day:ne,hour:ne,minute:ne},N3={year:ne,month:Vn,day:ne,hour:ne,minute:ne,second:ne},vL={year:ne,month:Vn,day:ne,weekday:Vn,hour:ne,minute:ne},V3={year:ne,month:an,day:ne,hour:ne,minute:ne,timeZoneName:Vn},B3={year:ne,month:an,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Vn},A3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,timeZoneName:an},F3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,second:ne,timeZoneName:an};class ta{get type(){throw new ss}get name(){throw new ss}get ianaName(){return this.name}get isUniversal(){throw new ss}offsetName(e,n){throw new ss}formatOffset(e,n){throw new ss}offset(e){throw new ss}equals(e){throw new ss}get isValid(){throw new ss}}let E1=null;class Ql extends ta{static get instance(){return E1===null&&(E1=new Ql),E1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return l6(e,n,r)}formatOffset(e,n){return ia(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let Jl={};function SL(t){return Jl[t]||(Jl[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Jl[t]}const TL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function DL(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,a,l,c,d,u]=r;return[a,s,i,l,c,d,u]}function OL(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=TL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let ec={};class Or extends ta{static create(e){return ec[e]||(ec[e]=new Or(e)),ec[e]}static resetCache(){ec={},Jl={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Or.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return l6(e,n,r,this.name)}formatOffset(e,n){return ia(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=SL(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?OL(r,n):DL(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=ic({year:s,month:i,day:a,hour:c===24?0:c,minute:d,second:u,millisecond:0});let m=+n;const g=m%1e3;return m-=g>=0?g:1e3+g,(f-m)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let R3={};function EL(t,e={}){const n=JSON.stringify([t,e]);let r=R3[n];return r||(r=new Intl.ListFormat(t,e),R3[n]=r),r}let P1={};function L1(t,e={}){const n=JSON.stringify([t,e]);let r=P1[n];return r||(r=new Intl.DateTimeFormat(t,e),P1[n]=r),r}let $1={};function PL(t,e={}){const n=JSON.stringify([t,e]);let r=$1[n];return r||(r=new Intl.NumberFormat(t,e),$1[n]=r),r}let N1={};function LL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=N1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),N1[s]=i),i}let na=null;function $L(){return na||(na=new Intl.DateTimeFormat().resolvedOptions().locale,na)}let I3={};function NL(t){let e=I3[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,I3[t]=e}return e}function VL(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(n===-1)return[t];{let r,s;try{r=L1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=L1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function BL(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function AL(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function FL(t){const e=[];for(let n=1;n<=7;n++){const r=pe.utc(2016,11,13+n);e.push(t(r))}return e}function tc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function RL(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class IL{constructor(e,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:i,...a}=r;if(!n||Object.keys(a).length>0){const l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=PL(e,l)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):z1(e,3);return yt(n,this.padTo)}}}class zL{constructor(e,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Or.create(l).valid?(s=l,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=L1(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class YL{constructor(e,n,r){this.opts={style:"long",...r},!n&&s6()&&(this.rtf=LL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):l$(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const HL={firstDay:1,minimalDays:4,weekend:[6,7]};class Ie{static fromOpts(e){return Ie.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,r,s,i=!1){const a=e||gt.defaultLocale,l=a||(i?"en-US":$L()),c=n||gt.defaultNumberingSystem,d=r||gt.defaultOutputCalendar,u=R1(s)||gt.defaultWeekSettings;return new Ie(l,c,d,u,a)}static resetCache(){na=null,P1={},$1={},N1={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return Ie.create(e,n,r,s)}constructor(e,n,r,s,i){const[a,l,c]=VL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=BL(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=RL(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Ie.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,R1(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,n=!1){return tc(this,e,u6,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=AL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return tc(this,e,m6,()=>{const r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=n?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=FL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return tc(this,void 0,()=>p6,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[pe.utc(2016,11,13,9),pe.utc(2016,11,13,19)].map(n=>this.extract(n,e,"dayperiod"))}return this.meridiemCache})}eras(e){return tc(this,e,g6,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[pe.utc(-40,1,1),pe.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[e]})}extract(e,n,r){const s=this.dtFormatter(e,n),i=s.formatToParts(),a=i.find(l=>l.type.toLowerCase()===r);return a?a.value:null}numberFormatter(e={}){return new IL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new zL(e,this.intl,n)}relFormatter(e={}){return new YL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return EL(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:i6()?NL(this.locale):HL}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let V1=null;class Nt extends ta{static get utcInstance(){return V1===null&&(V1=new Nt(0)),V1}static instance(e){return e===0?Nt.utcInstance:new Nt(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Nt(oc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ia(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ia(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ia(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class WL extends ta{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(me(t)||t===null)return e;if(t instanceof ta)return t;if(UL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?Ql.instance:n==="utc"||n==="gmt"?Nt.utcInstance:Nt.parseSpecifier(n)||Or.create(t)}else return js(t)?Nt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new WL(t)}let z3=()=>Date.now(),Y3="system",H3=null,W3=null,j3=null,Z3=60,U3,q3=null;class gt{static get now(){return z3}static set now(e){z3=e}static set defaultZone(e){Y3=e}static get defaultZone(){return is(Y3,Ql.instance)}static get defaultLocale(){return H3}static set defaultLocale(e){H3=e}static get defaultNumberingSystem(){return W3}static set defaultNumberingSystem(e){W3=e}static get defaultOutputCalendar(){return j3}static set defaultOutputCalendar(e){j3=e}static get defaultWeekSettings(){return q3}static set defaultWeekSettings(e){q3=R1(e)}static get twoDigitCutoffYear(){return Z3}static set twoDigitCutoffYear(e){Z3=e%100}static get throwOnInvalid(){return U3}static set throwOnInvalid(e){U3=e}static resetCaches(){Ie.resetCache(),Or.resetCache()}}class Bn{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const G3=[0,31,59,90,120,151,181,212,243,273,304,334],K3=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new Bn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function B1(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function X3(t,e,n){return n+(ra(t)?K3:G3)[e-1]}function Q3(t,e){const n=ra(t)?K3:G3,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function A1(t,e){return(t-e+7)%7+1}function nc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=X3(r,s,i),l=A1(B1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=sa(d,e,n)):c>sa(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,...lc(t)}}function J3(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=A1(B1(r,1,e),n),l=Ai(r);let c=s*7+i-a-7+e,d;c<1?(d=r-1,c+=Ai(d)):c>l?(d=r+1,c-=Ai(r)):d=r;const{month:u,day:h}=Q3(d,c);return{year:d,month:u,day:h,...lc(t)}}function F1(t){const{year:e,month:n,day:r}=t,s=X3(e,n,r);return{year:e,ordinal:s,...lc(t)}}function e6(t){const{year:e,ordinal:n}=t,{month:r,day:s}=Q3(e,n);return{year:e,month:r,day:s,...lc(t)}}function t6(t,e){if(!me(t.localWeekday)||!me(t.localWeekNumber)||!me(t.localWeekYear)){if(!me(t.weekday)||!me(t.weekNumber)||!me(t.weekYear))throw new Vi("Cannot mix locale-based week fields with ISO-based week fields");return me(t.localWeekday)||(t.weekday=t.localWeekday),me(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),me(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function jL(t,e=4,n=1){const r=rc(t.weekYear),s=kn(t.weekNumber,1,sa(t.weekYear,e,n)),i=kn(t.weekday,1,7);return r?s?i?!1:bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}function ZL(t){const e=rc(t.year),n=kn(t.ordinal,1,Ai(t.year));return e?n?!1:bn("ordinal",t.ordinal):bn("year",t.year)}function n6(t){const e=rc(t.year),n=kn(t.month,1,12),r=kn(t.day,1,sc(t.year,t.month));return e?n?r?!1:bn("day",t.day):bn("month",t.month):bn("year",t.year)}function r6(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=kn(e,0,23)||e===24&&n===0&&r===0&&s===0,a=kn(n,0,59),l=kn(r,0,59),c=kn(s,0,999);return i?a?l?c?!1:bn("millisecond",s):bn("second",r):bn("minute",n):bn("hour",e)}function me(t){return typeof t>"u"}function js(t){return typeof t=="number"}function rc(t){return typeof t=="number"&&t%1===0}function UL(t){return typeof t=="string"}function qL(t){return Object.prototype.toString.call(t)==="[object Date]"}function s6(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function i6(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function GL(t){return Array.isArray(t)?t:[t]}function o6(t,e,n){if(t.length!==0)return t.reduce((r,s)=>{const i=[e(s),s];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function KL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Bi(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function R1(t){if(t==null)return null;if(typeof t!="object")throw new Wt("Week settings must be an object");if(!kn(t.firstDay,1,7)||!kn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!kn(e,1,7)))throw new Wt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function kn(t,e,n){return rc(t)&&t>=e&&t<=n}function XL(t,e){return t-e*Math.floor(t/e)}function yt(t,e=2){const n=t<0;let r;return n?r="-"+(""+-t).padStart(e,"0"):r=(""+t).padStart(e,"0"),r}function os(t){if(!(me(t)||t===null||t===""))return parseInt(t,10)}function Zs(t){if(!(me(t)||t===null||t===""))return parseFloat(t)}function I1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function z1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function ra(t){return t%4===0&&(t%100!==0||t%400===0)}function Ai(t){return ra(t)?366:365}function sc(t,e){const n=XL(e-1,12)+1,r=t+(e-n)/12;return n===2?ra(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ic(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function a6(t,e,n){return-A1(B1(t,1,e),n)+e-1}function sa(t,e=4,n=1){const r=a6(t,e,n),s=a6(t+1,e,n);return(Ai(t)-r+s)/7}function Y1(t){return t>99?t:t>gt.twoDigitCutoffYear?1900+t:2e3+t}function l6(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:e,...i},l=new Intl.DateTimeFormat(n,a).formatToParts(s).find(c=>c.type.toLowerCase()==="timezonename");return l?l.value:null}function oc(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function c6(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new Wt(`Invalid unit value ${t}`);return e}function ac(t,e){const n={};for(const r in t)if(Bi(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=c6(s)}return n}function ia(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${yt(n,2)}:${yt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${yt(n,2)}${yt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function lc(t){return KL(t,["hour","minute","second","millisecond"])}const QL=["January","February","March","April","May","June","July","August","September","October","November","December"],d6=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],JL=["J","F","M","A","M","J","J","A","S","O","N","D"];function u6(t){switch(t){case"narrow":return[...JL];case"short":return[...d6];case"long":return[...QL];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const h6=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],f6=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],e$=["M","T","W","T","F","S","S"];function m6(t){switch(t){case"narrow":return[...e$];case"short":return[...f6];case"long":return[...h6];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const p6=["AM","PM"],t$=["Before Christ","Anno Domini"],n$=["BC","AD"],r$=["B","A"];function g6(t){switch(t){case"narrow":return[...r$];case"short":return[...n$];case"long":return[...t$];default:return null}}function s$(t){return p6[t.hour<12?0:1]}function i$(t,e){return m6(e)[t.weekday-1]}function o$(t,e){return u6(e)[t.month-1]}function a$(t,e){return g6(e)[t.year<0?0:1]}function l$(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(n==="auto"&&i){const h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`}}const a=Object.is(e,-0)||e<0,l=Math.abs(e),c=l===1,d=s[t],u=r?c?d[1]:d[2]||d[1]:c?s[t][0]:t;return a?`${l} ${u} ago`:`in ${l} ${u}`}function _6(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const c$={D:Xl,DD:b3,DDD:k3,DDDD:C3,t:x3,tt:M3,ttt:v3,tttt:S3,T:T3,TT:D3,TTT:O3,TTTT:E3,f:P3,ff:$3,fff:V3,ffff:A3,F:L3,FF:N3,FFF:B3,FFFF:F3};class Lt{static create(e,n={}){return new Lt(e,n)}static parseFormat(e){let n=null,r="",s=!1;const i=[];for(let a=0;a<e.length;a++){const l=e.charAt(a);l==="'"?(r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||l===n?r+=l:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return c$[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0){if(this.opts.forceSimple)return yt(e,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,g)=>this.loc.extract(e,m,g),a=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",l=()=>r?s$(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?o$(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?i$(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Lt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?a$(e,m):i({era:m},"era"),f=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return l();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(m)}};return _6(Lt.parseFormat(n),f)}formatDurationFromString(e,n){const r=c=>{switch(c[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=c=>d=>{const u=r(d);return u?this.num(c.get(u),d.length):d},i=Lt.parseFormat(n),a=i.reduce((c,{literal:d,val:u})=>d?c:c.concat(u),[]),l=e.shiftTo(...a.map(r).filter(c=>c));return _6(i,s(l))}}const y6=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Fi(...t){const e=t.reduce((n,r)=>n+r.source,"");return RegExp(`^${e}$`)}function Ri(...t){return e=>t.reduce(([n,r,s],i)=>{const[a,l,c]=i(e,s);return[{...n,...a},l||r,c]},[{},null,1]).slice(0,2)}function Ii(t,...e){if(t==null)return[null,null];for(const[n,r]of e){const s=n.exec(t);if(s)return r(s)}return[null,null]}function w6(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=os(e[n+s]);return[r,null,n+s]}}const b6=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,d$=`(?:${b6.source}?(?:\\[(${y6.source})\\])?)?`,H1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,k6=RegExp(`${H1.source}${d$}`),W1=RegExp(`(?:T${k6.source})?`),u$=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,h$=/(\d{4})-?W(\d\d)(?:-?(\d))?/,f$=/(\d{4})-?(\d{3})/,m$=w6("weekYear","weekNumber","weekDay"),p$=w6("year","ordinal"),g$=/(\d{4})-(\d\d)-(\d\d)/,C6=RegExp(`${H1.source} ?(?:${b6.source}|(${y6.source}))?`),_$=RegExp(`(?: ${C6.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:os(r)}function y$(t,e){return[{year:zi(t,e),month:zi(t,e+1,1),day:zi(t,e+2,1)},null,e+3]}function Yi(t,e){return[{hours:zi(t,e,0),minutes:zi(t,e+1,0),seconds:zi(t,e+2,0),milliseconds:I1(t[e+3])},null,e+4]}function oa(t,e){const n=!t[e]&&!t[e+1],r=oc(t[e+1],t[e+2]),s=n?null:Nt.instance(r);return[{},s,e+3]}function aa(t,e){const n=t[e]?Or.create(t[e]):null;return[{},n,e+1]}const w$=RegExp(`^T?${H1.source}$`),b$=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function k$(t){const[e,n,r,s,i,a,l,c,d]=t,u=e[0]==="-",h=c&&c[0]==="-",f=(m,g=!1)=>m!==void 0&&(g||m&&u)?-m:m;return[{years:f(Zs(n)),months:f(Zs(r)),weeks:f(Zs(s)),days:f(Zs(i)),hours:f(Zs(a)),minutes:f(Zs(l)),seconds:f(Zs(c),c==="-0"),milliseconds:f(I1(d),h)}]}const C$={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function j1(t,e,n,r,s,i,a){const l={year:e.length===2?Y1(os(e)):os(e),month:d6.indexOf(n)+1,day:os(r),hour:os(s),minute:os(i)};return a&&(l.second=os(a)),t&&(l.weekday=t.length>3?h6.indexOf(t)+1:f6.indexOf(t)+1),l}const x$=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function M$(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=j1(e,s,r,n,i,a,l);let m;return c?m=C$[c]:d?m=0:m=oc(u,h),[f,new Nt(m)]}function v$(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const S$=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,T$=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,D$=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function x6(t){const[,e,n,r,s,i,a,l]=t;return[j1(e,s,r,n,i,a,l),Nt.utcInstance]}function O$(t){const[,e,n,r,s,i,a,l]=t;return[j1(e,l,n,r,s,i,a),Nt.utcInstance]}const E$=Fi(u$,W1),P$=Fi(h$,W1),L$=Fi(f$,W1),$$=Fi(k6),M6=Ri(y$,Yi,oa,aa),N$=Ri(m$,Yi,oa,aa),V$=Ri(p$,Yi,oa,aa),B$=Ri(Yi,oa,aa);function A$(t){return Ii(t,[E$,M6],[P$,N$],[L$,V$],[$$,B$])}function F$(t){return Ii(v$(t),[x$,M$])}function R$(t){return Ii(t,[S$,x6],[T$,x6],[D$,O$])}function I$(t){return Ii(t,[b$,k$])}const z$=Ri(Yi);function Y$(t){return Ii(t,[w$,z$])}const H$=Fi(g$,_$),W$=Fi(C6),j$=Ri(Yi,oa,aa);function Z$(t){return Ii(t,[H$,M6],[W$,j$])}const v6="Invalid Duration",S6={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},U$={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...S6},Cn=146097/400,Hi=146097/4800,q$={years:{quarters:4,months:12,weeks:Cn/7,days:Cn,hours:Cn*24,minutes:Cn*24*60,seconds:Cn*24*60*60,milliseconds:Cn*24*60*60*1e3},quarters:{months:3,weeks:Cn/28,days:Cn/4,hours:Cn*24/4,minutes:Cn*24*60/4,seconds:Cn*24*60*60/4,milliseconds:Cn*24*60*60*1e3/4},months:{weeks:Hi/7,days:Hi,hours:Hi*24,minutes:Hi*24*60,seconds:Hi*24*60*60,milliseconds:Hi*24*60*60*1e3},...S6},Us=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],G$=Us.slice(0).reverse();function as(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new De(r)}function T6(t,e){let n=e.milliseconds??0;for(const r of G$.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function D6(t,e){const n=T6(t,e)<0?-1:1;Us.reduceRight((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]*n,a=t[s][r],l=Math.floor(i/a);e[s]+=l*n,e[r]-=l*a*n}return s},null),Us.reduce((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]%1;e[r]-=i,e[s]+=i*t[r][s]}return s},null)}function K$(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class De{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?q$:U$;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||Ie.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,n){return De.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new Wt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new De({values:ac(e,De.normalizeUnit),loc:Ie.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(js(e))return De.fromMillis(e);if(De.isDuration(e))return e;if(typeof e=="object")return De.fromObject(e);throw new Wt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=I$(e);return r?De.fromObject(r,n):De.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=Y$(e);return r?De.fromObject(r,n):De.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new Wt("need to specify a reason the Duration is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new xL(r);return new De({invalid:r})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new w3(e);return n}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Lt.create(this.loc,r).formatDurationFromString(this,e):v6}toHuman(e={}){if(!this.isValid)return v6;const n=Us.map(r=>{const s=this.values[r];return me(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(s)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=z1(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},pe.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?T6(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e),r={};for(const s of Us)(Bi(n.values,s)||Bi(this.values,s))&&(r[s]=n.get(s)+this.get(s));return as(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=c6(e(this.values[r],r));return as(this,{values:n},!0)}get(e){return this[De.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...ac(e,De.normalizeUnit)};return as(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:s,conversionAccuracy:r};return as(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return D6(this.matrix,e),as(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=K$(this.normalize().shiftToAll().toObject());return as(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>De.normalizeUnit(a));const n={},r={},s=this.toObject();let i;for(const a of Us)if(e.indexOf(a)>=0){i=a;let l=0;for(const d in r)l+=this.matrix[d][a]*r[d],r[d]=0;js(s[a])&&(l+=s[a]);const c=Math.trunc(l);n[a]=c,r[a]=(l*1e3-c*1e3)/1e3}else js(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return D6(this.matrix,n),as(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=this.values[n]===0?0:-this.values[n];return as(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of Us)if(!n(this.values[r],e.values[r]))return!1;return!0}}const Wi="Invalid Interval";function X$(t,e){return!t||!t.isValid?lt.invalid("missing or invalid start"):!e||!e.isValid?lt.invalid("missing or invalid end"):e<t?lt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class lt{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,n=null){if(!e)throw new Wt("need to specify a reason the Interval is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new CL(r);return new lt({invalid:r})}static fromDateTimes(e,n){const r=ca(e),s=ca(n),i=X$(r,s);return i??new lt({start:r,end:s})}static after(e,n){const r=De.fromDurationLike(n),s=ca(e);return lt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=De.fromDurationLike(n),s=ca(e);return lt.fromDateTimes(s.minus(r),s)}static fromISO(e,n){const[r,s]=(e||"").split("/",2);if(r&&s){let i,a;try{i=pe.fromISO(r,n),a=i.isValid}catch{a=!1}let l,c;try{l=pe.fromISO(s,n),c=l.isValid}catch{c=!1}if(a&&c)return lt.fromDateTimes(i,l);if(a){const d=De.fromISO(s,n);if(d.isValid)return lt.after(i,d)}else if(c){const d=De.fromISO(r,n);if(d.isValid)return lt.before(l,d)}}return lt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(e,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(e,n),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?lt.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(ca).filter(a=>this.contains(a)).sort((a,l)=>a.toMillis()-l.toMillis()),r=[];let{s}=this,i=0;for(;s<this.e;){const a=n[i]||this.e,l=+a>+this.e?this.e:a;r.push(lt.fromDateTimes(s,l)),s=l,i+=1}return r}splitBy(e){const n=De.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*s));i=+l>+this.e?this.e:l,a.push(lt.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:lt.fromDateTimes(n,r)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return lt.fromDateTimes(n,r)}static merge(e){const[n,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(e){let n=null,r=0;const s=[],i=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),a=Array.prototype.concat(...i),l=a.sort((c,d)=>c.time-d.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&s.push(lt.fromDateTimes(n,c.time)),n=null);return lt.merge(s)}difference(...e){return lt.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Wi}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Xl,n={}){return this.isValid?Lt.create(this.s.loc.clone(n),e).formatInterval(this):Wi}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Wi}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Wi}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Wi}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:Wi}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):De.invalid(this.invalidReason)}mapEndpoints(e){return lt.fromDateTimes(e(this.s),e(this.e))}}class cc{static hasDST(e=gt.defaultZone){const n=pe.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Or.isValidZone(e)}static normalizeZone(e){return is(e,gt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||Ie.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||Ie.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||Ie.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||Ie.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||Ie.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ie.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ie.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Ie.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return Ie.create(n,null,"gregory").eras(e)}static features(){return{relative:s6(),localeWeek:i6()}}}function O6(t,e){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(De.fromMillis(r).as("days"))}function Q$(t,e,n){const r=[["years",(c,d)=>d.year-c.year],["quarters",(c,d)=>d.quarter-c.quarter+(d.year-c.year)*4],["months",(c,d)=>d.month-c.month+(d.year-c.year)*12],["weeks",(c,d)=>{const u=O6(c,d);return(u-u%7)/7}],["days",O6]],s={},i=t;let a,l;for(const[c,d]of r)n.indexOf(c)>=0&&(a=c,s[c]=d(t,e),l=i.plus(s),l>e?(s[c]--,t=i.plus(s),t>e&&(l=t,s[c]--,t=i.plus(s))):t=l);return[t,s,l,a]}function J$(t,e,n,r){let[s,i,a,l]=Q$(t,e,n);const c=e-s,d=n.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);d.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(i[l]=(i[l]||0)+c/(a-s)));const u=De.fromObject(i,r);return d.length>0?De.fromMillis(c,r).shiftTo(...d).plus(u):u}const Z1={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},E6={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},eN=Z1.hanidec.replace(/[\[|\]]/g,"").split("");function tN(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(t[n].search(Z1.hanidec)!==-1)e+=eN.indexOf(t[n]);else for(const s in E6){const[i,a]=E6[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function An({numberingSystem:t},e=""){return new RegExp(`${Z1[t||"latn"]}${e}`)}const nN="missing Intl.DateTimeFormat.formatToParts support";function Ne(t,e=n=>n){return{regex:t,deser:([n])=>e(tN(n))}}const P6="[  ]",L6=new RegExp(P6,"g");function rN(t){return t.replace(/\./g,"\\.?").replace(L6,P6)}function $6(t){return t.replace(/\./g,"").replace(L6," ").toLowerCase()}function Fn(t,e){return t===null?null:{regex:RegExp(t.map(rN).join("|")),deser:([n])=>t.findIndex(r=>$6(n)===$6(r))+e}}function N6(t,e){return{regex:t,deser:([,n,r])=>oc(n,r),groups:e}}function dc(t){return{regex:t,deser:([e])=>e}}function sN(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function iN(t,e){const n=An(e),r=An(e,"{2}"),s=An(e,"{3}"),i=An(e,"{4}"),a=An(e,"{6}"),l=An(e,"{1,2}"),c=An(e,"{1,3}"),d=An(e,"{1,6}"),u=An(e,"{1,9}"),h=An(e,"{2,4}"),f=An(e,"{4,6}"),m=_=>({regex:RegExp(sN(_.val)),deser:([y])=>y,literal:!0}),p=(_=>{if(t.literal)return m(_);switch(_.val){case"G":return Fn(e.eras("short"),0);case"GG":return Fn(e.eras("long"),0);case"y":return Ne(d);case"yy":return Ne(h,Y1);case"yyyy":return Ne(i);case"yyyyy":return Ne(f);case"yyyyyy":return Ne(a);case"M":return Ne(l);case"MM":return Ne(r);case"MMM":return Fn(e.months("short",!0),1);case"MMMM":return Fn(e.months("long",!0),1);case"L":return Ne(l);case"LL":return Ne(r);case"LLL":return Fn(e.months("short",!1),1);case"LLLL":return Fn(e.months("long",!1),1);case"d":return Ne(l);case"dd":return Ne(r);case"o":return Ne(c);case"ooo":return Ne(s);case"HH":return Ne(r);case"H":return Ne(l);case"hh":return Ne(r);case"h":return Ne(l);case"mm":return Ne(r);case"m":return Ne(l);case"q":return Ne(l);case"qq":return Ne(r);case"s":return Ne(l);case"ss":return Ne(r);case"S":return Ne(c);case"SSS":return Ne(s);case"u":return dc(u);case"uu":return dc(l);case"uuu":return Ne(n);case"a":return Fn(e.meridiems(),0);case"kkkk":return Ne(i);case"kk":return Ne(h,Y1);case"W":return Ne(l);case"WW":return Ne(r);case"E":case"c":return Ne(n);case"EEE":return Fn(e.weekdays("short",!1),1);case"EEEE":return Fn(e.weekdays("long",!1),1);case"ccc":return Fn(e.weekdays("short",!0),1);case"cccc":return Fn(e.weekdays("long",!0),1);case"Z":case"ZZ":return N6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return N6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return dc(/[a-z_+-/]{1,256}?/i);case" ":return dc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:nN};return p.token=t,p}const oN={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function aN(t,e,n){const{type:r,value:s}=t;if(r==="literal"){const c=/^\s+$/.test(s);return{literal:!c,val:c?" ":s}}const i=e[r];let a=r;r==="hour"&&(e.hour12!=null?a=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?a="hour12":a="hour24":a=n.hour12?"hour12":"hour24");let l=oN[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function lN(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function cN(t,e,n){const r=t.match(e);if(r){const s={};let i=1;for(const a in n)if(Bi(n,a)){const l=n[a],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(s[l.token.val[0]]=l.deser(r.slice(i,i+c))),i+=c}return[r,s]}else return[r,{}]}function dN(t){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return me(t.z)||(n=Or.create(t.z)),me(t.Z)||(n||(n=new Nt(t.Z)),r=t.Z),me(t.q)||(t.M=(t.q-1)*3+1),me(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),me(t.u)||(t.S=I1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let U1=null;function uN(){return U1||(U1=pe.fromMillis(1555555555555)),U1}function hN(t,e){if(t.literal)return t;const n=Lt.macroTokenToFormatOpts(t.val),r=A6(n,e);return r==null||r.includes(void 0)?t:r}function V6(t,e){return Array.prototype.concat(...t.map(n=>hN(n,e)))}function B6(t,e,n){const r=V6(Lt.parseFormat(n),t),s=r.map(a=>iN(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=lN(s),c=RegExp(a,"i"),[d,u]=cN(e,c,l),[h,f,m]=u?dN(u):[null,null,void 0];if(Bi(u,"a")&&Bi(u,"H"))throw new Vi("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:d,matches:u,result:h,zone:f,specificOffset:m}}}function fN(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=B6(t,e,n);return[r,s,i,a]}function A6(t,e){if(!t)return null;const r=Lt.create(e,t).dtFormatter(uN()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>aN(a,t,i))}const q1="Invalid DateTime",F6=864e13;function uc(t){return new Bn("unsupported zone",`the zone "${t.name}" is not supported`)}function G1(t){return t.weekData===null&&(t.weekData=nc(t.c)),t.weekData}function K1(t){return t.localWeekData===null&&(t.localWeekData=nc(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qs(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new pe({...n,...e,old:n})}function R6(t,e,n){let r=t-e*60*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=(s-e)*60*1e3;const i=n.offset(r);return s===i?[r,s]:[t-Math.min(s,i)*60*1e3,Math.max(s,i)]}function hc(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function fc(t,e,n){return R6(ic(t),e,n)}function I6(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:r,month:s,day:Math.min(t.c.day,sc(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=De.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),l=ic(i);let[c,d]=R6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function la(t,e,n,r,s,i){const{setZone:a,zone:l}=n;if(t&&Object.keys(t).length!==0||e){const c=e||l,d=pe.fromObject(t,{...n,zone:c,specificOffset:i});return a?d:d.setZone(l)}else return pe.invalid(new Bn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function mc(t,e,n=!0){return t.isValid?Lt.create(Ie.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function X1(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=yt(t.c.year,n?6:4),e?(r+="-",r+=yt(t.c.month),r+="-",r+=yt(t.c.day)):(r+=yt(t.c.month),r+=yt(t.c.day)),r}function z6(t,e,n,r,s,i){let a=yt(t.c.hour);return e?(a+=":",a+=yt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=":")):a+=yt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=yt(t.c.second),(t.c.millisecond!==0||!r)&&(a+=".",a+=yt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!i?a+="Z":t.o<0?(a+="-",a+=yt(Math.trunc(-t.o/60)),a+=":",a+=yt(Math.trunc(-t.o%60))):(a+="+",a+=yt(Math.trunc(t.o/60)),a+=":",a+=yt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const Y6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},mN={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},pN={ordinal:1,hour:0,minute:0,second:0,millisecond:0},H6=["year","month","day","hour","minute","second","millisecond"],gN=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],_N=["year","ordinal","hour","minute","second","millisecond"];function yN(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new w3(t);return e}function W6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return yN(t)}}function j6(t,e){const n=is(e.zone,gt.defaultZone),r=Ie.fromObject(e),s=gt.now();let i,a;if(me(t.year))i=s;else{for(const d of H6)me(t[d])&&(t[d]=Y6[d]);const l=n6(t)||r6(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=fc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function Z6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=z1(a,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(a,l)),i=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return s(i(n.unit),n.unit);for(const a of n.units){const l=i(a);if(Math.abs(l)>=1)return s(l,a)}return s(t>e?-0:0,n.units[n.units.length-1])}function U6(t){let e={},n;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],n=Array.from(t).slice(0,t.length-1)):n=Array.from(t),[e,n]}class pe{constructor(e){const n=e.zone||gt.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Bn("invalid input"):null)||(n.isValid?null:uc(n));this.ts=me(e.ts)?gt.now():e.ts;let s=null,i=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[s,i]=[e.old.c,e.old.o];else{const l=n.offset(this.ts);s=hc(this.ts,l),r=Number.isNaN(s.year)?new Bn("invalid input"):null,s=r?null:s,i=r?null:l}this._zone=n,this.loc=e.loc||Ie.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new pe({})}static local(){const[e,n]=U6(arguments),[r,s,i,a,l,c,d]=n;return j6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=U6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Nt.utcInstance,j6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=qL(e)?e.valueOf():NaN;if(Number.isNaN(r))return pe.invalid("invalid input");const s=is(n.zone,gt.defaultZone);return s.isValid?new pe({ts:r,zone:s,loc:Ie.fromObject(n)}):pe.invalid(uc(s))}static fromMillis(e,n={}){if(js(e))return e<-F6||e>F6?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:is(n.zone,gt.defaultZone),loc:Ie.fromObject(n)});throw new Wt(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(js(e))return new pe({ts:e*1e3,zone:is(n.zone,gt.defaultZone),loc:Ie.fromObject(n)});throw new Wt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=is(n.zone,gt.defaultZone);if(!r.isValid)return pe.invalid(uc(r));const s=Ie.fromObject(n),i=ac(e,W6),{minDaysInFirstWeek:a,startOfWeek:l}=t6(i,s),c=gt.now(),d=me(n.specificOffset)?r.offset(c):n.specificOffset,u=!me(i.ordinal),h=!me(i.year),f=!me(i.month)||!me(i.day),m=h||f,g=i.weekYear||i.weekNumber;if((m||u)&&g)throw new Vi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new Vi("Can't mix ordinal dates with month/day");const p=g||i.weekday&&!m;let _,y,C=hc(c,d);p?(_=gN,y=mN,C=nc(C,a,l)):u?(_=_N,y=pN,C=F1(C)):(_=H6,y=Y6);let k=!1;for(const I of _){const j=i[I];me(j)?k?i[I]=y[I]:i[I]=C[I]:k=!0}const S=p?jL(i,a,l):u?ZL(i):n6(i),M=S||r6(i);if(M)return pe.invalid(M);const D=p?J3(i,a,l):u?e6(i):i,[v,O]=fc(D,d,r),E=new pe({ts:v,zone:r,o:O,loc:s});return i.weekday&&m&&e.weekday!==E.weekday?pe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E}static fromISO(e,n={}){const[r,s]=A$(e);return la(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=F$(e);return la(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=R$(e);return la(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new Wt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=Ie.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[l,c,d,u]=fN(a,e,n);return u?pe.invalid(u):la(l,c,r,`format ${n}`,e,d)}static fromString(e,n,r={}){return pe.fromFormat(e,n,r)}static fromSQL(e,n={}){const[r,s]=Z$(e);return la(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new Wt("need to specify a reason the DateTime is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new kL(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=A6(e,Ie.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return V6(Lt.parseFormat(e),Ie.fromObject(n)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?G1(this).weekYear:NaN}get weekNumber(){return this.isValid?G1(this).weekNumber:NaN}get weekday(){return this.isValid?G1(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?K1(this).weekday:NaN}get localWeekNumber(){return this.isValid?K1(this).weekNumber:NaN}get localWeekYear(){return this.isValid?K1(this).weekYear:NaN}get ordinal(){return this.isValid?F1(this.c).ordinal:NaN}get monthShort(){return this.isValid?cc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?cc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?cc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?cc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,n=6e4,r=ic(this.c),s=this.zone.offset(r-e),i=this.zone.offset(r+e),a=this.zone.offset(r-s*n),l=this.zone.offset(r-i*n);if(a===l)return[this];const c=r-a*n,d=r-l*n,u=hc(c,a),h=hc(d,l);return u.hour===h.hour&&u.minute===h.minute&&u.second===h.second&&u.millisecond===h.millisecond?[qs(this,{ts:c}),qs(this,{ts:d})]:[this]}get isInLeapYear(){return ra(this.year)}get daysInMonth(){return sc(this.year,this.month)}get daysInYear(){return this.isValid?Ai(this.year):NaN}get weeksInWeekYear(){return this.isValid?sa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Lt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(e=0,n={}){return this.setZone(Nt.instance(e),n)}toLocal(){return this.setZone(gt.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=is(e,gt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(n||r){const i=e.offset(this.ts),a=this.toObject();[s]=fc(a,i,e)}return qs(this,{ts:s,zone:e})}else return pe.invalid(uc(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:r});return qs(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=ac(e,W6),{minDaysInFirstWeek:r,startOfWeek:s}=t6(n,this.loc),i=!me(n.weekYear)||!me(n.weekNumber)||!me(n.weekday),a=!me(n.ordinal),l=!me(n.year),c=!me(n.month)||!me(n.day),d=l||c,u=n.weekYear||n.weekNumber;if((d||a)&&u)throw new Vi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new Vi("Can't mix ordinal dates with month/day");let h;i?h=J3({...nc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(sc(h.year,h.month),h.day))):h=e6({...F1(this.c),...n});const[f,m]=fc(h,this.o,this.zone);return qs(this,{ts:f,o:m})}plus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e);return qs(this,I6(this,n))}minus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e).negate();return qs(this,I6(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=De.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(s==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?Lt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):q1}toLocaleString(e=Xl,n={}){return this.isValid?Lt.create(this.loc.clone(n),e).formatDateTime(this):q1}toLocaleParts(e={}){return this.isValid?Lt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const a=e==="extended";let l=X1(this,a);return l+="T",l+=z6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?X1(this,e==="extended"):null}toISOWeekDate(){return mc(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:i=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+z6(this,a==="extended",n,e,r,i):null}toRFC2822(){return mc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return mc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?X1(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||e)&&(r&&(s+=" "),n?s+="z":e&&(s+="ZZ")),mc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():q1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",r={}){if(!this.isValid||!e.isValid)return De.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=GL(n).map(De.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=J$(l,c,i,s);return a?d.negate():d}diffNow(e="milliseconds",n={}){return this.diff(pe.now(),e,n)}until(e){return this.isValid?lt.fromDateTimes(this,e):this}hasSame(e,n,r){if(!this.isValid)return!1;const s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(n,r)<=s&&s<=i.endOf(n,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const n=e.base||pe.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(s=e.unit,i=void 0),Z6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?Z6(e.base||pe.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(pe.isDateTime))throw new Wt("min requires all arguments be DateTimes");return o6(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new Wt("max requires all arguments be DateTimes");return o6(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=Ie.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return B6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return Xl}static get DATE_MED(){return b3}static get DATE_MED_WITH_WEEKDAY(){return ML}static get DATE_FULL(){return k3}static get DATE_HUGE(){return C3}static get TIME_SIMPLE(){return x3}static get TIME_WITH_SECONDS(){return M3}static get TIME_WITH_SHORT_OFFSET(){return v3}static get TIME_WITH_LONG_OFFSET(){return S3}static get TIME_24_SIMPLE(){return T3}static get TIME_24_WITH_SECONDS(){return D3}static get TIME_24_WITH_SHORT_OFFSET(){return O3}static get TIME_24_WITH_LONG_OFFSET(){return E3}static get DATETIME_SHORT(){return P3}static get DATETIME_SHORT_WITH_SECONDS(){return L3}static get DATETIME_MED(){return $3}static get DATETIME_MED_WITH_SECONDS(){return N3}static get DATETIME_MED_WITH_WEEKDAY(){return vL}static get DATETIME_FULL(){return V3}static get DATETIME_FULL_WITH_SECONDS(){return B3}static get DATETIME_HUGE(){return A3}static get DATETIME_HUGE_WITH_SECONDS(){return F3}}function ca(t){if(pe.isDateTime(t))return t;if(t&&t.valueOf&&js(t.valueOf()))return pe.fromJSDate(t);if(t&&typeof t=="object")return pe.fromObject(t);throw new Wt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function jt(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function Q1(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function wN(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function bN(t){return new Date(t).getFullYear()}function q6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function kN(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function CN(t){return new Date(t).getDate()}function J1(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}const xn=(t,e={isPercentage:!1,isFixed:!0,isPlus:!1})=>{let n;t>=0?n=e.isPlus&&t!==0?"+":"":n="-";let r=Math.abs(t);return e.isFixed&&(r=jt(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function xN(t,e){const n=+new Date(e)-+new Date(t),r=Math.floor(n/(1e3*60*60*24)),s=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),i=Math.floor(n%(1e3*60*60)/(1e3*60)),a=Math.floor(n%(1e3*60)/1e3);if(r>0)return`${r} d`;if(s>0)return`${s} h`;if(i>0)return`${i} m`;if(a>0)return`${a} s`}function G6(t){const e=/^(\w{2,4})(.*)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[3];return r===""||s===""?t:`${r}/${s}`}else return t}const MN=(t,e,n,r={},s)=>{const i=o.h(t,e,r),a=document.createElement("div");return a.setAttribute("id",s||""),n.appendChild(a),o.render(i,a),i.component},vN={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},pc=t=>{if(!(t!=null&&t.message))return;const e={...vN,...t},n=MN(D0,e,document.body,void 0,"toast"),r=()=>{var s,i,a;(a=(i=(s=n==null?void 0:n.refs)==null?void 0:s.toast)==null?void 0:i.parentElement)==null||a.remove()};if(setTimeout(r,e.duration),e!=null&&e.hideOnRouteChange){const s=o.watch(()=>window.location.href,()=>{r(),s()})}return{dismiss:r}},SN=(t,e)=>pc({...e,message:t,type:"success"}),TN=(t,e)=>pc({...e,message:t,type:"error"}),DN=(t,e)=>pc({...e,message:t,type:"info"}),K6=()=>({open:pc,success:SN,error:TN,info:DN}),ON={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EN=[o.createElementVNode("path",{d:"M10.6667 4.33073C10.6667 5.80349 9.47275 6.9974 7.99999 6.9974C6.52723 6.9974 5.33332 5.80349 5.33332 4.33073C5.33332 2.85797 6.52723 1.66406 7.99999 1.66406C9.47275 1.66406 10.6667 2.85797 10.6667 4.33073Z",stroke:"#7F7F83","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99999 8.33073C5.26433 8.33073 3.27753 10.3058 2.76741 12.9433C2.69312 13.3274 3.00319 13.6641 3.39438 13.6641H12.6056C12.9968 13.6641 13.3069 13.3274 13.2326 12.9433C12.7224 10.3058 10.7356 8.33073 7.99999 8.33073Z",stroke:"#7F7F83","stroke-linejoin":"round"},null,-1)];function X6(t,e){return o.openBlock(),o.createElementBlock("svg",ON,[...EN])}const PN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X6},render:X6},Symbol.toStringTag,{value:"Module"})),LN={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$N=[o.createElementVNode("g",{id:"ant-design:apple-filled"},[o.createElementVNode("path",{id:"Vector",d:"M17.8237 12.5555C17.8142 10.957 18.5452 9.75234 20.0212 8.86406C19.1957 7.69219 17.9467 7.04766 16.3003 6.92344C14.7415 6.80156 13.036 7.82344 12.4115 7.82344C11.7516 7.82344 10.2424 6.96562 9.05497 6.96562C6.60436 7.00312 4 8.90156 4 12.7641C4 13.9055 4.21053 15.0844 4.63158 16.2984C5.19455 17.8969 7.22411 21.8133 9.34119 21.75C10.4482 21.7242 11.2312 20.9719 12.6717 20.9719C14.0697 20.9719 14.7936 21.75 16.0283 21.75C18.1643 21.7195 19.9999 18.1594 20.5345 16.5562C17.6699 15.218 17.8237 12.6375 17.8237 12.5555ZM15.3376 5.40703C16.5369 3.99609 16.4281 2.71172 16.3926 2.25C15.3329 2.31094 14.1076 2.96484 13.4098 3.76875C12.641 4.63125 12.1892 5.69766 12.2862 6.9C13.4311 6.98672 14.4766 6.40312 15.3376 5.40703Z",fill:"black"})],-1)];function Q6(t,e){return o.openBlock(),o.createElementBlock("svg",LN,[...$N])}const NN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q6},render:Q6},Symbol.toStringTag,{value:"Module"})),VN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BN=[o.createElementVNode("path",{d:"M12.1667 5.83333V12.1667H5.83333M4 4L11.7334 11.7334",stroke:"#F18169","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function J6(t,e){return o.openBlock(),o.createElementBlock("svg",VN,[...BN])}const AN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J6},render:J6},Symbol.toStringTag,{value:"Module"})),FN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},RN=[o.createElementVNode("path",{d:"M12.3334 9.33203L8.00008 13.6654L3.66675 9.33203M8.00008 13.332V2.33203",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function eg(t,e){return o.openBlock(),o.createElementBlock("svg",FN,[...RN])}const IN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:eg},render:eg},Symbol.toStringTag,{value:"Module"})),zN={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},YN=[o.createStaticVNode('<g filter="url(#filter0_d_1815_32605)"><rect x="5" y="5" width="20" height="20" rx="10" fill="#E3EEFE"></rect></g><path fill-rule="evenodd" clip-rule="evenodd" d="M18.7761 15.3109C18.7761 15.0718 18.5822 14.8779 18.3431 14.8779L13.3271 14.8779L15.0217 13.1833C15.1908 13.0142 15.1908 12.7401 15.0217 12.571C14.8527 12.4019 14.5785 12.4019 14.4095 12.571L11.9757 15.0047C11.8067 15.1738 11.8067 15.4479 11.9757 15.617L14.4094 18.0507C14.5785 18.2198 14.8526 18.2198 15.0217 18.0507C15.1908 17.8816 15.1908 17.6075 15.0217 17.4384L13.3271 15.7438L18.3431 15.7438C18.5822 15.7438 18.7761 15.55 18.7761 15.3109Z" fill="#007AFF"></path><defs><filter id="filter0_d_1815_32605" x="0" y="0" width="30" height="30" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="2.5"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1815_32605"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1815_32605" result="shape"></feBlend></filter></defs>',3)];function tg(t,e){return o.openBlock(),o.createElementBlock("svg",zN,[...YN])}const HN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:tg},render:tg},Symbol.toStringTag,{value:"Module"})),WN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jN=[o.createElementVNode("g",{id:"arrow-rotate-right-left, repeat, refresh"},[o.createElementVNode("path",{id:"vector",d:"M16.2597 17.083V13.7497H12.9264M3.74984 2.91634L3.74984 6.24967H7.08317M2.97131 9.11426C2.93514 9.40431 2.9165 9.69982 2.9165 9.99967C2.9165 13.9117 6.08782 17.083 9.99984 17.083C12.3545 17.083 14.6442 15.9341 15.9641 14.1663M17.0284 10.8851C17.0645 10.595 17.0832 10.2995 17.0832 9.99967C17.0832 6.08766 13.9119 2.91634 9.99984 2.91634C7.64522 2.91634 5.35552 4.06523 4.03555 5.83301",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function ng(t,e){return o.openBlock(),o.createElementBlock("svg",WN,[...jN])}const ZN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ng},render:ng},Symbol.toStringTag,{value:"Module"})),UN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qN=[o.createElementVNode("path",{d:"M12.1667 10.1654V3.83203M12.1667 3.83203H5.83333M12.1667 3.83203L4 11.9987",stroke:"#56B683","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function rg(t,e){return o.openBlock(),o.createElementBlock("svg",UN,[...qN])}const GN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:rg},render:rg},Symbol.toStringTag,{value:"Module"})),KN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},XN=[o.createElementVNode("path",{d:"M3.66675 6.66536L8.00008 2.33203L12.3334 6.66536M8.00008 13.6654V2.66536",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function sg(t,e){return o.openBlock(),o.createElementBlock("svg",KN,[...XN])}const QN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:sg},render:sg},Symbol.toStringTag,{value:"Module"})),JN={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eV=[o.createStaticVNode('<rect x="0.5" width="20" height="20" rx="10" fill="#1C2026"></rect><g clip-path="url(#clip0_4453_114916)"><path d="M12.6416 10.892L13.8995 12.1494L10.4953 15.5535L7.09161 12.1498L8.34948 10.892L10.4958 13.0494L12.6416 10.892ZM14.7884 8.74567L16.0564 10.0031L14.7995 11.2605L13.5416 10.0031L14.7884 8.74567ZM10.4958 8.74567L11.7532 9.99196L10.4953 11.2498L9.23791 10.0031L10.4953 8.74613L10.4958 8.74567ZM6.20272 8.74567L7.44994 10.0031L6.20365 11.2494L4.94531 10.0031L6.20272 8.74567ZM10.4962 4.45215L13.8999 7.84567L12.6421 9.10261L10.4958 6.95631L8.34994 9.11372L7.09207 7.85631L10.4958 4.45261L10.4962 4.45215Z" fill="#F3BA2F"></path></g><defs><clipPath id="clip0_4453_114916"><rect width="11.1111" height="11.1111" fill="white" transform="translate(4.94531 4.44434)"></rect></clipPath></defs>',3)];function ig(t,e){return o.openBlock(),o.createElementBlock("svg",JN,[...eV])}const tV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ig},render:ig},Symbol.toStringTag,{value:"Module"})),nV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rV=[o.createElementVNode("g",{id:"simple-icons:binance","clip-path":"url(#clip0_2820_75439)"},[o.createElementVNode("path",{id:"Vector",d:"M13.8533 11.5995L16.1175 13.8628L9.99 19.9903L3.86333 13.8636L6.1275 11.5995L9.99083 15.4828L13.8533 11.5995ZM17.7175 7.73615L20 9.99948L17.7375 12.2628L15.4733 9.99948L17.7175 7.73615ZM9.99083 7.73615L12.2542 9.97948L9.99 12.2436L7.72667 9.99948L9.99 7.73698L9.99083 7.73615ZM2.26333 7.73615L4.50833 9.99948L2.265 12.2428L0 9.99948L2.26333 7.73615ZM9.99167 0.0078125L16.1183 6.11615L13.8542 8.37865L9.99083 4.51531L6.12833 8.39865L3.86417 6.13531L9.99083 0.00864583L9.99167 0.0078125Z",fill:"#F3BA2F"})],-1),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"clip0_2820_75439"},[o.createElementVNode("rect",{width:"20",height:"20",fill:"white"})])],-1)];function og(t,e){return o.openBlock(),o.createElementBlock("svg",nV,[...rV])}const sV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:og},render:og},Symbol.toStringTag,{value:"Module"})),iV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oV=[o.createElementVNode("g",{id:"book, guide, info, faq"},[o.createElementVNode("path",{id:"vector",d:"M16.0404 10.0013V12.293C16.0404 13.2134 15.2942 13.9596 14.3737 13.9596H5.83203C4.7965 13.9596 3.95703 14.7991 3.95703 15.8346C3.95703 16.8702 4.7965 17.7096 5.83203 17.7096H8.33203M7.29036 5.83464H12.707M7.29036 9.16797H10.207M5.6237 2.29297H14.3737C15.2942 2.29297 16.0404 3.03916 16.0404 3.95964V16.043C16.0404 16.9634 15.2942 17.7096 14.3737 17.7096H5.6237C4.70322 17.7096 3.95703 16.9634 3.95703 16.043V3.95964C3.95703 3.03916 4.70322 2.29297 5.6237 2.29297Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function ag(t,e){return o.openBlock(),o.createElementBlock("svg",iV,[...oV])}const aV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ag},render:ag},Symbol.toStringTag,{value:"Module"})),lV={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},cV=[o.createElementVNode("path",{d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"#56B683"},null,-1)];function lg(t,e){return o.openBlock(),o.createElementBlock("svg",lV,[...cV])}const dV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:lg},render:lg},Symbol.toStringTag,{value:"Module"})),uV={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},hV=[o.createElementVNode("path",{d:"M8.74716 2.08146H1.24716C1.17122 2.0817 1.09679 2.10264 1.03188 2.14203C0.966958 2.18143 0.914015 2.23778 0.878742 2.30502C0.84347 2.37227 0.827205 2.44786 0.831697 2.52366C0.83619 2.59946 0.861271 2.6726 0.904241 2.73521L4.65424 8.15188C4.80966 8.37646 5.18382 8.37646 5.33966 8.15188L9.08966 2.73521C9.13306 2.67273 9.15852 2.59956 9.16325 2.52363C9.16799 2.4477 9.15183 2.37193 9.11653 2.30454C9.08122 2.23715 9.02813 2.18073 8.96301 2.1414C8.89788 2.10207 8.82323 2.08134 8.74716 2.08146Z",fill:"#F18169"},null,-1)];function cg(t,e){return o.openBlock(),o.createElementBlock("svg",uV,[...hV])}const fV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:cg},render:cg},Symbol.toStringTag,{value:"Module"})),mV={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pV=[o.createElementVNode("g",{id:"bxs:up-arrow"},[o.createElementVNode("path",{id:"Vector",d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"currentColor"})],-1)];function dg(t,e){return o.openBlock(),o.createElementBlock("svg",mV,[...pV])}const gV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:dg},render:dg},Symbol.toStringTag,{value:"Module"})),_V={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},yV=[o.createElementVNode("path",{d:"M2.91666 7.91536H17.0833M6.24999 3.7487V2.08203M13.75 3.7487V2.08203M3.74999 17.082H16.25C16.7102 17.082 17.0833 16.7089 17.0833 16.2487V4.58203C17.0833 4.12179 16.7102 3.7487 16.25 3.7487H3.74999C3.28975 3.7487 2.91666 4.12179 2.91666 4.58203V16.2487C2.91666 16.7089 3.28975 17.082 3.74999 17.082Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function ug(t,e){return o.openBlock(),o.createElementBlock("svg",_V,[...yV])}const wV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ug},render:ug},Symbol.toStringTag,{value:"Module"})),bV={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kV=[o.createStaticVNode('<g id="Frame 2118527357"><path id="Vector" d="M8.36101 10.6773C8.06238 10.6773 7.76108 10.6187 7.47311 10.4987C6.60388 10.1387 6.04395 9.29882 6.04395 8.36026V4.60337C6.04395 3.75547 6.73186 3.07022 7.5771 3.07022C8.42233 3.07022 9.11025 3.75813 9.11025 4.60337V6.54447L14.7683 0.886471C15.3682 0.286541 16.3387 0.286541 16.9387 0.886471C17.5386 1.4864 17.5386 2.45695 16.9387 3.05688L9.99548 10.0001C9.55287 10.4427 8.96094 10.68 8.36101 10.68V10.6773Z" fill="url(#paint0_linear_4793_138365)"></path><path id="Vector_2" d="M2.14746 11.5627C1.7555 11.5627 1.36355 11.4134 1.06225 11.1147C0.462322 10.5148 0.462322 9.54427 1.06225 8.94434L6.48828 3.51831C7.08821 2.91838 8.05877 2.91838 8.6587 3.51831C9.25863 4.11824 9.25863 5.08879 8.6587 5.68872L3.23266 11.1147C2.93403 11.4134 2.53941 11.5627 2.14746 11.5627Z" fill="url(#paint1_linear_4793_138365)"></path></g><defs><linearGradient id="paint0_linear_4793_138365" x1="6.04395" y1="5.55526" x2="17.3893" y2="5.55526" gradientUnits="userSpaceOnUse"><stop stop-color="#07A360"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient><linearGradient id="paint1_linear_4793_138365" x1="0.614304" y1="7.31519" x2="9.10931" y2="7.31519" gradientUnits="userSpaceOnUse"><stop stop-color="#23E27D"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient></defs>',2)];function hg(t,e){return o.openBlock(),o.createElementBlock("svg",bV,[...kV])}const CV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:hg},render:hg},Symbol.toStringTag,{value:"Module"})),xV={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MV=[o.createElementVNode("g",{id:"check-circle-fill"},[o.createElementVNode("path",{id:"Subtract",d:"M14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7ZM10.5265 4.34846C10.2702 4.09218 9.85474 4.09218 9.59845 4.34846C9.59227 4.35465 9.58645 4.36121 9.58105 4.36809L6.54272 8.23965L4.71089 6.40782C4.45461 6.15154 4.0391 6.15154 3.78281 6.40782C3.52653 6.6641 3.52653 7.07962 3.78281 7.3359L6.09846 9.65154C6.35474 9.90782 6.77025 9.90782 7.02653 9.65154C7.03224 9.64583 7.03763 9.63981 7.04267 9.63351L10.5358 5.26704C10.7828 5.01009 10.7797 4.6016 10.5265 4.34846Z",fill:"currentColor"})],-1)];function fg(t,e){return o.openBlock(),o.createElementBlock("svg",xV,[...MV])}const vV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:fg},render:fg},Symbol.toStringTag,{value:"Module"})),SV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TV=[o.createElementVNode("g",{id:"check, checkmark"},[o.createElementVNode("path",{id:"vector",d:"M1.66663 10.333L6.13721 13.6663L14.3333 2.33301",stroke:"#007AFF","stroke-linecap":"round"})],-1)];function mg(t,e){return o.openBlock(),o.createElementBlock("svg",SV,[...TV])}const DV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mg},render:mg},Symbol.toStringTag,{value:"Module"})),OV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EV=[o.createElementVNode("path",{d:"M5.33333 6.66797L7.52859 8.86323C7.78894 9.12358 8.21105 9.12358 8.4714 8.86323L10.6667 6.66797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function pg(t,e){return o.openBlock(),o.createElementBlock("svg",OV,[...EV])}const PV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pg},render:pg},Symbol.toStringTag,{value:"Module"})),LV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},$V=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function gg(t,e){return o.openBlock(),o.createElementBlock("svg",LV,[...$V])}const NV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gg},render:gg},Symbol.toStringTag,{value:"Module"})),VV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BV=[o.createElementVNode("g",{id:"chevron-left"},[o.createElementVNode("path",{id:"vector",d:"M10.0001 13.3332L4.66675 7.99985L10.0001 2.6665",stroke:"#1C2026","stroke-linecap":"square"})],-1)];function _g(t,e){return o.openBlock(),o.createElementBlock("svg",VV,[...BV])}const AV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_g},render:_g},Symbol.toStringTag,{value:"Module"})),FV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RV=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function yg(t,e){return o.openBlock(),o.createElementBlock("svg",FV,[...RV])}const IV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yg},render:yg},Symbol.toStringTag,{value:"Module"})),zV={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},YV=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function wg(t,e){return o.openBlock(),o.createElementBlock("svg",zV,[...YV])}const HV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wg},render:wg},Symbol.toStringTag,{value:"Module"})),WV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jV=[o.createElementVNode("path",{d:"M6.66669 11.6686L9.70539 8.62985C9.86811 8.46713 10.1319 8.46713 10.2946 8.62985L13.3334 11.6686",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function bg(t,e){return o.openBlock(),o.createElementBlock("svg",WV,[...jV])}const ZV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:bg},render:bg},Symbol.toStringTag,{value:"Module"})),UV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},qV=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function kg(t,e){return o.openBlock(),o.createElementBlock("svg",UV,[...qV])}const GV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:kg},render:kg},Symbol.toStringTag,{value:"Module"})),KV={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XV=[o.createElementVNode("path",{id:"vector",d:"M9.0013 5.00008L5.0013 9.00008M9.0013 9.00008L5.0013 5.00008M13.3346 7.00008C13.3346 10.4979 10.4991 13.3334 7.0013 13.3334C3.5035 13.3334 0.667969 10.4979 0.667969 7.00008C0.667969 3.50228 3.5035 0.666748 7.0013 0.666748C10.4991 0.666748 13.3346 3.50228 13.3346 7.00008Z",stroke:"#F18169","stroke-linecap":"square"},null,-1)];function Cg(t,e){return o.openBlock(),o.createElementBlock("svg",KV,[...XV])}const QV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Cg},render:Cg},Symbol.toStringTag,{value:"Module"})),JV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},eB=[o.createElementVNode("path",{d:"M10.0002 6.46438V13.5355M13.5357 9.99992H6.46463M17.9168 9.99992C17.9168 14.3722 14.3724 17.9166 10.0002 17.9166C5.62791 17.9166 2.0835 14.3722 2.0835 9.99992C2.0835 5.62766 5.62791 2.08325 10.0002 2.08325C14.3724 2.08325 17.9168 5.62766 17.9168 9.99992Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function xg(t,e){return o.openBlock(),o.createElementBlock("svg",JV,[...eB])}const tB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:xg},render:xg},Symbol.toStringTag,{value:"Module"})),nB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},rB=[o.createElementVNode("path",{d:"M10 6.24967V9.99967L12.5 12.4997M17.9167 9.99967C17.9167 14.3719 14.3723 17.9163 10 17.9163C5.62779 17.9163 2.08337 14.3719 2.08337 9.99967C2.08337 5.62742 5.62779 2.08301 10 2.08301C14.3723 2.08301 17.9167 5.62742 17.9167 9.99967Z",stroke:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function Mg(t,e){return o.openBlock(),o.createElementBlock("svg",nB,[...rB])}const sB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Mg},render:Mg},Symbol.toStringTag,{value:"Module"})),iB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},oB=[o.createElementVNode("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function vg(t,e){return o.openBlock(),o.createElementBlock("svg",iB,[...oB])}const aB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:vg},render:vg},Symbol.toStringTag,{value:"Module"})),lB={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cB=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.1665 4.66602L15.8332 16.3327M15.8332 4.66602L4.1665 16.3327",stroke:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function Sg(t,e){return o.openBlock(),o.createElementBlock("svg",lB,[...cB])}const dB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Sg},render:Sg},Symbol.toStringTag,{value:"Module"})),uB={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},hB=[o.createElementVNode("path",{d:"M12.9999 9.58366V11.667M12.9999 11.667V13.7503M12.9999 11.667H10.9166M12.9999 11.667H15.0833M12.9041 6.03082C12.0386 4.19078 10.168 2.91699 7.99992 2.91699C5.00838 2.91699 2.58325 5.34212 2.58325 8.33366C2.58325 11.2425 4.8762 13.6159 7.75326 13.7448M18.4166 11.667C18.4166 14.6585 15.9915 17.0837 12.9999 17.0837C10.0084 17.0837 7.58325 14.6585 7.58325 11.667C7.58325 8.67545 10.0084 6.25033 12.9999 6.25033C15.9915 6.25033 18.4166 8.67545 18.4166 11.667Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Tg(t,e){return o.openBlock(),o.createElementBlock("svg",uB,[...hB])}const fB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Tg},render:Tg},Symbol.toStringTag,{value:"Module"})),mB={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pB=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Vector",opacity:"0.2",d:"M21 12C21 13.78 20.4722 15.5201 19.4832 17.0001C18.4943 18.4802 17.0887 19.6337 15.4442 20.3149C13.7996 20.9961 11.99 21.1743 10.2442 20.8271C8.49836 20.4798 6.89472 19.6226 5.63604 18.364C4.37737 17.1053 3.5202 15.5016 3.17294 13.7558C2.82567 12.01 3.0039 10.2004 3.68509 8.55585C4.36628 6.91131 5.51983 5.50571 6.99987 4.51677C8.47991 3.52784 10.22 3 12 3C12 4.19347 12.4741 5.33807 13.318 6.18198C14.1619 7.02589 15.3065 7.5 16.5 7.5C16.5 8.69347 16.9741 9.83807 17.818 10.682C18.6619 11.5259 19.8065 12 21 12Z",fill:"#007AFF"}),o.createElementVNode("path",{id:"Vector_2",d:"M15.4209 15.3291C15.5779 15.4866 15.6846 15.687 15.7277 15.9051C15.7708 16.1233 15.7483 16.3493 15.6631 16.5546C15.5778 16.7599 15.4336 16.9354 15.2487 17.0588C15.0638 17.1823 14.8464 17.2482 14.6241 17.2482C14.4017 17.2482 14.1844 17.1823 13.9995 17.0588C13.8145 16.9354 13.6703 16.7599 13.5851 16.5546C13.4998 16.3493 13.4773 16.1233 13.5204 15.9051C13.5635 15.687 13.6702 15.4866 13.8272 15.3291C13.9317 15.2242 14.0559 15.141 14.1926 15.0842C14.3294 15.0274 14.476 14.9982 14.6241 14.9982C14.7721 14.9982 14.9187 15.0274 15.0555 15.0842C15.1922 15.141 15.3164 15.2242 15.4209 15.3291ZM7.82719 14.5791C7.67025 14.7366 7.56349 14.937 7.5204 15.1551C7.47731 15.3733 7.49981 15.5993 7.58508 15.8046C7.67034 16.0099 7.81454 16.1854 7.99946 16.3088C8.18438 16.4323 8.40173 16.4982 8.62407 16.4982C8.8464 16.4982 9.06376 16.4323 9.24868 16.3088C9.4336 16.1854 9.57779 16.0099 9.66306 15.8046C9.74832 15.5993 9.77083 15.3733 9.72773 15.1551C9.68464 14.937 9.57788 14.7366 9.42094 14.5791C9.31646 14.4745 9.19239 14.3915 9.05581 14.3349C8.91924 14.2783 8.77285 14.2491 8.625 14.2491C8.47716 14.2491 8.33077 14.2783 8.1942 14.3349C8.05762 14.3915 7.93355 14.4745 7.82907 14.5791H7.82719ZM8.67094 10.9228C8.82788 10.7653 8.93464 10.5649 8.97773 10.3467C9.02083 10.1286 8.99832 9.90262 8.91306 9.69728C8.82779 9.49194 8.6836 9.31647 8.49868 9.19303C8.31376 9.06958 8.0964 9.0037 7.87407 9.0037C7.65173 9.0037 7.43438 9.06958 7.24946 9.19303C7.06454 9.31647 6.92034 9.49194 6.83508 9.69728C6.74981 9.90262 6.72731 10.1286 6.7704 10.3467C6.81349 10.5649 6.92025 10.7653 7.07719 10.9228C7.18183 11.0276 7.30612 11.1106 7.44293 11.1673C7.57975 11.2239 7.72639 11.2529 7.87446 11.2528C8.02252 11.2526 8.1691 11.2232 8.30578 11.1662C8.44245 11.1093 8.56655 11.0259 8.67094 10.9209V10.9228ZM13.1709 10.8291C13.0135 10.6721 12.813 10.5654 12.5949 10.5223C12.3767 10.4792 12.1507 10.5017 11.9454 10.5869C11.7401 10.6722 11.5646 10.8164 11.4412 11.0013C11.3177 11.1862 11.2518 11.4036 11.2518 11.6259C11.2518 11.8483 11.3177 12.0656 11.4412 12.2505C11.5646 12.4355 11.7401 12.5797 11.9454 12.6649C12.1507 12.7502 12.3767 12.7727 12.5949 12.7296C12.813 12.6865 13.0135 12.5798 13.1709 12.4228C13.2758 12.3183 13.359 12.1941 13.4158 12.0574C13.4726 11.9206 13.5018 11.774 13.5018 11.6259C13.5018 11.4779 13.4726 11.3313 13.4158 11.1945C13.359 11.0578 13.2758 10.9336 13.1709 10.8291ZM21.75 12C21.75 13.9284 21.1782 15.8134 20.1068 17.4168C19.0355 19.0202 17.5127 20.2699 15.7312 21.0078C13.9496 21.7458 11.9892 21.9389 10.0979 21.5627C8.20656 21.1865 6.46928 20.2579 5.10571 18.8943C3.74215 17.5307 2.81355 15.7934 2.43735 13.9021C2.06114 12.0108 2.25422 10.0504 2.99218 8.26884C3.73013 6.48726 4.97982 4.96451 6.58319 3.89317C8.18657 2.82183 10.0716 2.25 12 2.25C12.1989 2.25 12.3897 2.32902 12.5303 2.46967C12.671 2.61032 12.75 2.80109 12.75 3C12.75 3.99456 13.1451 4.94839 13.8484 5.65165C14.5516 6.35491 15.5054 6.75 16.5 6.75C16.6989 6.75 16.8897 6.82902 17.0303 6.96967C17.171 7.11032 17.25 7.30109 17.25 7.5C17.25 8.49456 17.6451 9.44839 18.3484 10.1517C19.0516 10.8549 20.0054 11.25 21 11.25C21.1989 11.25 21.3897 11.329 21.5303 11.4697C21.671 11.6103 21.75 11.8011 21.75 12ZM20.2209 12.6928C19.0977 12.5223 18.0598 11.9929 17.2623 11.1836C16.4649 10.3744 15.9508 9.32878 15.7969 8.20312C14.6712 8.0492 13.6256 7.5351 12.8164 6.73768C12.0071 5.94025 11.4777 4.90233 11.3072 3.77906C9.74009 3.91115 8.24339 4.48839 6.99343 5.44279C5.74348 6.39719 4.79235 7.68897 4.25212 9.16593C3.71189 10.6429 3.60507 12.2435 3.94423 13.7791C4.2834 15.3148 5.05442 16.7215 6.16646 17.8335C7.2785 18.9456 8.68522 19.7166 10.2209 20.0558C11.7565 20.3949 13.3571 20.2881 14.8341 19.7479C16.311 19.2077 17.6028 18.2565 18.5572 17.0066C19.5116 15.7566 20.0889 14.2599 20.2209 12.6928Z",fill:"#007AFF"})],-1)];function Dg(t,e){return o.openBlock(),o.createElementBlock("svg",mB,[...pB])}const gB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dg},render:Dg},Symbol.toStringTag,{value:"Module"})),_B={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},yB=[o.createElementVNode("path",{d:"M6.6665 6.74984V3.4165H17.0832V14.2498H13.7498M13.7498 6.74984V17.5832H2.9165V6.74984H13.7498Z",stroke:"#1C2026","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Og(t,e){return o.openBlock(),o.createElementBlock("svg",_B,[...yB])}const wB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Og},render:Og},Symbol.toStringTag,{value:"Module"})),bB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kB=[o.createElementVNode("path",{d:"M6.25 6.25L13.75 13.75M13.75 6.25L6.25 13.75",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Eg(t,e){return o.openBlock(),o.createElementBlock("svg",bB,[...kB])}const CB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Eg},render:Eg},Symbol.toStringTag,{value:"Module"})),xB={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MB=[o.createElementVNode("path",{id:"vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6801 2.76287C14.6095 -0.544651 19.3885 -0.544659 21.3179 2.76287L33.0144 22.8141C34.9589 26.1474 32.5545 30.3334 28.6955 30.3334H5.30245C1.4435 30.3334 -0.960859 26.1474 0.983558 22.8141L12.6801 2.76287ZM17.0007 10.3335C17.9211 10.3335 18.6673 11.0797 18.6673 12.0002V17.0002C18.6673 17.9206 17.9211 18.6668 17.0007 18.6668C16.0802 18.6668 15.334 17.9206 15.334 17.0002V12.0002C15.334 11.0797 16.0802 10.3335 17.0007 10.3335ZM14.9173 22.0002C14.9173 20.8496 15.8501 19.9168 17.0007 19.9168C18.1512 19.9168 19.084 20.8496 19.084 22.0002C19.084 23.1508 18.1512 24.0835 17.0007 24.0835C15.8501 24.0835 14.9173 23.1508 14.9173 22.0002Z",fill:"currentColor"},null,-1)];function Pg(t,e){return o.openBlock(),o.createElementBlock("svg",xB,[...MB])}const vB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pg},render:Pg},Symbol.toStringTag,{value:"Module"})),SB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TB=[o.createStaticVNode('<g id="Date_range_light"><rect id="Rectangle" x="2.5" y="5" width="15" height="12.5" rx="2" stroke="currentColor"></rect><path id="Rectangle_2" d="M2.5 8.33333C2.5 7.08718 2.5 6.4641 2.76795 6C2.94349 5.69596 3.19596 5.44349 3.5 5.26795C3.9641 5 4.58718 5 5.83333 5H14.1667C15.4128 5 16.0359 5 16.5 5.26795C16.804 5.44349 17.0565 5.69596 17.2321 6C17.5 6.4641 17.5 7.08718 17.5 8.33333H2.5Z" fill="currentColor"></path><path id="Line" d="M5.83331 2.5L5.83331 5" stroke="currentColor" stroke-linecap="round"></path><path id="Line_2" d="M14.1667 2.5L14.1667 5" stroke="currentColor" stroke-linecap="round"></path><rect id="Rectangle_3" x="5.83331" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_4" x="5.83331" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_5" x="10.8333" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_6" x="10.8333" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect></g>',1)];function Lg(t,e){return o.openBlock(),o.createElementBlock("svg",SB,[...TB])}const DB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lg},render:Lg},Symbol.toStringTag,{value:"Module"})),OB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EB=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function $g(t,e){return o.openBlock(),o.createElementBlock("svg",OB,[...EB])}const PB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$g},render:$g},Symbol.toStringTag,{value:"Module"})),LB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},$B=[o.createElementVNode("path",{d:"M7.66666 3.33193C7.9428 3.33193 8.16666 3.10807 8.16666 2.83193C8.16666 2.55579 7.9428 2.33193 7.66666 2.33193V3.33193ZM14.1667 8.83193C14.1667 8.55579 13.9428 8.33193 13.6667 8.33193C13.3905 8.33193 13.1667 8.55579 13.1667 8.83193H14.1667ZM2.69733 14.0926L2.92433 13.6471L2.92433 13.6471L2.69733 14.0926ZM2.40599 13.8013L1.96049 14.0283L1.96049 14.0283L2.40599 13.8013ZM13.3027 14.0926L13.5297 14.5381L13.5297 14.5381L13.3027 14.0926ZM13.594 13.8013L14.0395 14.0283L14.0395 14.0283L13.594 13.8013ZM2.40599 3.19594L1.96049 2.96894L1.96049 2.96894L2.40599 3.19594ZM2.69733 2.90459L2.47034 2.45909L2.47034 2.45909L2.69733 2.90459ZM8.33333 6.16526L7.97978 5.81171C7.88601 5.90548 7.83333 6.03266 7.83333 6.16526H8.33333ZM8.33333 8.16526H7.83333C7.83333 8.44141 8.05719 8.66526 8.33333 8.66526V8.16526ZM10.3333 8.16526V8.66526C10.4659 8.66526 10.5931 8.61259 10.6869 8.51882L10.3333 8.16526ZM11.8619 2.63667L12.2155 2.99022L12.2155 2.99022L11.8619 2.63667ZM12.8047 2.63667L12.4512 2.99022L12.4512 2.99022L12.8047 2.63667ZM13.8619 3.69386L13.5084 4.04741L13.5084 4.04741L13.8619 3.69386ZM13.8619 4.63667L14.2155 4.99022L14.2155 4.99022L13.8619 4.63667ZM12.6 13.6653H3.39999V14.6653H12.6V13.6653ZM2.83333 13.0986V3.8986H1.83333V13.0986H2.83333ZM3.39999 3.33193H7.66666V2.33193H3.39999V3.33193ZM13.1667 8.83193V13.0986H14.1667V8.83193H13.1667ZM3.39999 13.6653C3.20506 13.6653 3.08893 13.6649 3.00285 13.6578C2.9226 13.6513 2.9134 13.6415 2.92433 13.6471L2.47034 14.5381C2.62388 14.6163 2.77933 14.6429 2.92141 14.6545C3.05767 14.6657 3.22156 14.6653 3.39999 14.6653V13.6653ZM1.83333 13.0986C1.83333 13.277 1.83294 13.4409 1.84407 13.5772C1.85568 13.7193 1.88226 13.8747 1.96049 14.0283L2.85149 13.5743C2.85706 13.5852 2.84731 13.576 2.84075 13.4957C2.83372 13.4097 2.83333 13.2935 2.83333 13.0986H1.83333ZM2.92433 13.6471C2.89297 13.6311 2.86747 13.6056 2.85149 13.5743L1.96049 14.0283C2.07234 14.2478 2.25082 14.4263 2.47034 14.5381L2.92433 13.6471ZM12.6 14.6653C12.7784 14.6653 12.9423 14.6657 13.0786 14.6545C13.2207 14.6429 13.3761 14.6163 13.5297 14.5381L13.0757 13.6471C13.0866 13.6415 13.0774 13.6513 12.9971 13.6578C12.9111 13.6649 12.7949 13.6653 12.6 13.6653V14.6653ZM13.1667 13.0986C13.1667 13.2935 13.1663 13.4097 13.1592 13.4957C13.1527 13.576 13.1429 13.5852 13.1485 13.5743L14.0395 14.0283C14.1177 13.8747 14.1443 13.7193 14.1559 13.5772C14.1671 13.4409 14.1667 13.277 14.1667 13.0986H13.1667ZM13.5297 14.5381C13.7492 14.4263 13.9277 14.2478 14.0395 14.0283L13.1485 13.5743C13.1325 13.6056 13.107 13.6311 13.0757 13.6471L13.5297 14.5381ZM2.83333 3.8986C2.83333 3.70366 2.83372 3.58753 2.84075 3.50145C2.84731 3.4212 2.85706 3.412 2.85149 3.42293L1.96049 2.96894C1.88226 3.12248 1.85568 3.27793 1.84407 3.42002C1.83294 3.55627 1.83333 3.72016 1.83333 3.8986H2.83333ZM3.39999 2.33193C3.22156 2.33193 3.05767 2.33154 2.92141 2.34267C2.77933 2.35428 2.62388 2.38086 2.47034 2.45909L2.92433 3.3501C2.9134 3.35567 2.9226 3.34591 3.00285 3.33935C3.08893 3.33232 3.20506 3.33193 3.39999 3.33193V2.33193ZM2.85149 3.42293C2.86747 3.39157 2.89297 3.36608 2.92433 3.3501L2.47034 2.45909C2.25082 2.57094 2.07234 2.74942 1.96049 2.96894L2.85149 3.42293ZM7.83333 6.16526V8.16526H8.83333V6.16526H7.83333ZM8.33333 8.66526H10.3333V7.66526H8.33333V8.66526ZM8.68688 6.51882L12.2155 2.99022L11.5084 2.28312L7.97978 5.81171L8.68688 6.51882ZM12.4512 2.99022L13.5084 4.04741L14.2155 3.34031L13.1583 2.28312L12.4512 2.99022ZM13.5084 4.28312L9.97978 7.81171L10.6869 8.51882L14.2155 4.99022L13.5084 4.28312ZM13.5084 4.04741C13.5735 4.1125 13.5735 4.21803 13.5084 4.28312L14.2155 4.99022C14.6711 4.53461 14.6711 3.79592 14.2155 3.34031L13.5084 4.04741ZM12.2155 2.99022C12.2806 2.92513 12.3861 2.92513 12.4512 2.99022L13.1583 2.28312C12.7027 1.8275 11.964 1.8275 11.5084 2.28312L12.2155 2.99022Z",fill:"#8E8E93"},null,-1)];function Ng(t,e){return o.openBlock(),o.createElementBlock("svg",LB,[...$B])}const NB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ng},render:Ng},Symbol.toStringTag,{value:"Module"})),VB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BB=[o.createElementVNode("g",{id:"eye-slash, hide, eye off, see, look, not visible"},[o.createElementVNode("path",{id:"vector",d:"M6.61522 4.0171L6.16217 4.22863L6.58523 5.13473L7.03828 4.9232L6.61522 4.0171ZM18.3333 10.0003L18.7836 10.2176L18.8885 10.0003L18.7836 9.78291L18.3333 10.0003ZM15.5482 13.2014L15.1996 13.5597L15.9164 14.257L16.265 13.8986L15.5482 13.2014ZM8.58575 7.879L8.23219 7.52545L7.52509 8.23256L7.87864 8.58611L8.58575 7.879ZM11.4142 12.1216L11.7677 12.4752L12.4748 11.7681L12.1213 11.4145L11.4142 12.1216ZM1.66663 10.0004L1.21635 9.783L1.11141 10.0004L1.21635 10.2177L1.66663 10.0004ZM5.44185 5.9087L5.83601 5.60107L5.22076 4.81274L4.8266 5.12037L5.44185 5.9087ZM8.45097 8.73505L8.76756 8.34805L7.99355 7.71487L7.67696 8.10187L8.45097 8.73505ZM11.8719 12.3448L12.2625 12.0326L11.6381 11.2515L11.2475 11.5636L11.8719 12.3448ZM14.683 15.2394L15.0953 14.9566L14.5297 14.132L14.1174 14.4147L14.683 15.2394ZM7.03828 4.9232C8.93441 4.03789 10.9848 4.02635 12.8844 4.88762C14.7897 5.75148 16.5759 7.51002 17.883 10.2176L18.7836 9.78291C17.3966 6.90986 15.4577 4.95638 13.2974 3.97686C11.1313 2.99476 8.77544 3.00849 6.61522 4.0171L7.03828 4.9232ZM16.265 13.8986C17.2196 12.9174 18.0735 11.6885 18.7836 10.2176L17.883 9.78291C17.2144 11.1679 16.4197 12.3055 15.5482 13.2014L16.265 13.8986ZM9.99996 12.0003C8.89539 12.0003 7.99996 11.1049 7.99996 10.0003H6.99996C6.99996 11.6572 8.34311 13.0003 9.99996 13.0003V12.0003ZM7.87864 8.58611L11.4142 12.1216L12.1213 11.4145L8.58575 7.879L7.87864 8.58611ZM1.93807 2.64555L17.3547 18.0622L18.0618 17.3551L2.64518 1.93844L1.93807 2.64555ZM1.93807 2.64555L4.99681 5.70428L5.70392 4.99718L2.64518 1.93844L1.93807 2.64555ZM4.99681 5.70428L14.296 15.0035L15.0031 14.2964L5.70392 4.99718L4.99681 5.70428ZM14.296 15.0035L17.3547 18.0622L18.0618 17.3551L15.0031 14.2964L14.296 15.0035ZM2.1169 10.2177C3.03149 8.32318 4.18155 6.89229 5.44185 5.9087L4.8266 5.12037C3.42791 6.21196 2.18733 7.77163 1.21635 9.783L2.1169 10.2177ZM7.99996 10.0003C7.99996 9.51973 8.16884 9.07992 8.45097 8.73505L7.67696 8.10187C7.25405 8.61884 6.99996 9.28058 6.99996 10.0003H7.99996ZM11.2475 11.5636C10.9054 11.8371 10.4724 12.0003 9.99996 12.0003V13.0003C10.7074 13.0003 11.3589 12.7548 11.8719 12.3448L11.2475 11.5636ZM1.21635 10.2177C2.74591 13.3862 4.94766 15.437 7.37506 16.2947C9.8101 17.1551 12.4168 16.7936 14.683 15.2394L14.1174 14.4147C12.1009 15.7977 9.82648 16.1003 7.70822 15.3518C5.58233 14.6007 3.55863 12.7695 2.1169 9.783L1.21635 10.2177Z",fill:"currentColor"})],-1)];function Vg(t,e){return o.openBlock(),o.createElementBlock("svg",VB,[...BB])}const AB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vg},render:Vg},Symbol.toStringTag,{value:"Module"})),FB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RB=[o.createElementVNode("path",{d:"M1.66663 10L1.21635 9.78265L1.11141 10L1.21635 10.2174L1.66663 10ZM18.3333 9.99993L18.7836 10.2173L18.8885 9.99993L18.7836 9.78256L18.3333 9.99993ZM2.1169 10.2174C4.06897 6.17373 7.08064 4.25002 9.99996 4.25C12.9193 4.24998 15.9309 6.17364 17.883 10.2173L18.7836 9.78256C16.7128 5.49292 13.4025 3.24997 9.99996 3.25C6.59739 3.25003 3.28716 5.49301 1.21635 9.78265L2.1169 10.2174ZM1.21635 10.2174C3.28716 14.507 6.59739 16.75 9.99996 16.75C13.4025 16.7499 16.7128 14.5069 18.7836 10.2173L17.883 9.78256C15.9309 13.8262 12.9193 15.7499 9.99996 15.75C7.08063 15.75 4.06897 13.8263 2.1169 9.78265L1.21635 10.2174ZM12 10C12 11.1046 11.1045 12 9.99996 12V13C11.6568 13 13 11.6569 13 10H12ZM9.99996 12C8.89539 12 7.99996 11.1046 7.99996 10H6.99996C6.99996 11.6569 8.34311 13 9.99996 13V12ZM7.99996 10C7.99996 8.89543 8.89539 8 9.99996 8V7C8.34311 7 6.99996 8.34315 6.99996 10H7.99996ZM9.99996 8C11.1045 8 12 8.89543 12 10H13C13 8.34315 11.6568 7 9.99996 7V8Z",fill:"currentColor"},null,-1)];function Bg(t,e){return o.openBlock(),o.createElementBlock("svg",FB,[...RB])}const IB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bg},render:Bg},Symbol.toStringTag,{value:"Module"})),zB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},YB=[o.createElementVNode("path",{d:"M16.0833 2.91797H3.91666C3.36437 2.91797 2.91666 3.36568 2.91666 3.91797V5.88138C2.91666 6.12009 3.00205 6.35093 3.1574 6.53217L7.67591 11.8038C7.83126 11.985 7.91666 12.2158 7.91666 12.4546V16.8576C7.91666 17.5651 8.63118 18.0488 9.28805 17.7861L11.4547 16.9194C11.8344 16.7675 12.0833 16.3998 12.0833 15.9909V12.4546C12.0833 12.2158 12.1687 11.985 12.3241 11.8038L16.8426 6.53217C16.9979 6.35093 17.0833 6.12009 17.0833 5.88138V3.91797C17.0833 3.36568 16.6356 2.91797 16.0833 2.91797Z",stroke:"#1C2026","stroke-linejoin":"round"},null,-1)];function Ag(t,e){return o.openBlock(),o.createElementBlock("svg",zB,[...YB])}const HB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ag},render:Ag},Symbol.toStringTag,{value:"Module"})),WB={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jB=[o.createElementVNode("path",{id:"vector",d:"M2.08333 7.58317V2.58317C2.08333 1.6627 2.82953 0.916504 3.75 0.916504H7.44136C7.99862 0.916504 8.519 1.19501 8.82811 1.65867L9.50522 2.67434C9.81433 3.138 10.3347 3.4165 10.892 3.4165H16.25C17.1705 3.4165 17.9167 4.1627 17.9167 5.08317V12.5832C17.9167 13.5036 17.1705 14.2498 16.25 14.2498H8.75M3.75 10.0832V12.5832M3.75 12.5832V15.0832M3.75 12.5832H1.25M3.75 12.5832H6.25",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function Fg(t,e){return o.openBlock(),o.createElementBlock("svg",WB,[...jB])}const ZB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fg},render:Fg},Symbol.toStringTag,{value:"Module"})),UB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qB=[o.createElementVNode("g",{id:"folder-open"},[o.createElementVNode("path",{id:"vector",d:"M4.5835 16.2503L6.66683 9.16699H17.0835M4.5835 16.2503H16.4585L18.5418 9.16699H17.0835M4.5835 16.2503H2.0835V2.91699H8.3335L10.0002 5.41699H17.0835V9.16699",stroke:"currentColor","stroke-linecap":"round"})],-1)];function Rg(t,e){return o.openBlock(),o.createElementBlock("svg",UB,[...qB])}const GB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rg},render:Rg},Symbol.toStringTag,{value:"Module"})),KB={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XB=[o.createStaticVNode('<path d="M24.6298 6.08302L20.7811 13.0454L16.8629 20.132L16.0137 21.6615C15.4079 22.759 14.2508 23.4393 12.9944 23.4393C11.7379 23.4393 10.5809 22.759 9.975 21.6516L9.13574 20.122L13.0043 13.0206L16.848 5.95887L18.5961 2.7508C19.5197 1.08718 21.6154 0.481319 23.279 1.405C24.9427 2.32869 25.5485 4.42436 24.6248 6.08798H24.6348L24.6298 6.08302Z" fill="url(#f)"></path><path d="M9.16962 5.943L5.23651 13.0296L1.36797 6.03736C0.454215 4.3638 1.06007 2.26813 2.7237 1.34941C4.39725 0.43566 6.49292 1.04152 7.40667 2.70514L9.15969 5.94797H9.16962V5.943Z" fill="url(#g)"></path><path d="M16.8459 5.95703L13.0022 13.0187L9.13361 20.1202L7.40542 23.3034C6.48174 24.9671 4.38607 25.563 2.71748 24.6443C1.05385 23.7206 0.457922 21.6249 1.37664 19.9613L5.22533 13.0336L9.15843 5.9471L9.9828 4.46721C10.5887 3.36972 11.7457 2.69434 12.9922 2.69434C14.2387 2.69434 15.3958 3.37468 16.0017 4.46721L16.831 5.96199L16.8409 5.95206L16.8459 5.95703Z" fill="url(#n)"></path><path d="M23.2844 24.6409C22.753 24.9339 22.1769 25.0729 21.6108 25.0729C20.4041 25.0729 19.2222 24.4323 18.5915 23.3001L16.8633 20.1168L20.7815 13.0303L24.6252 19.948C25.5489 21.6116 24.948 23.7073 23.2844 24.631V24.6409Z" fill="url(#m)"></path><defs><linearGradient id="f" x1="11.1023" y1="24.3432" x2="22.0276" y2="3.09843" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="g" x1="13.8029" y1="21.0845" x2="3.37424" y2="2.65549" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="n" x1="15.0829" y1="3.11645" x2="1.89312" y2="25.3544" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="m" x1="17.3202" y1="13.8646" x2="24.0541" y2="26.0612" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient></defs>',5)];function Ig(t,e){return o.openBlock(),o.createElementBlock("svg",KB,[...XB])}const QB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ig},render:Ig},Symbol.toStringTag,{value:"Module"})),JB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},eA=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175L16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function zg(t,e){return o.openBlock(),o.createElementBlock("svg",JB,[...eA])}const tA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:zg},render:zg},Symbol.toStringTag,{value:"Module"})),nA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},rA=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175C17.924 16.3402 16.7046 17.6185 15.223 18.5264C13.7415 19.4343 12.0489 19.9405 10.3122 19.9951C8.5754 20.0496 6.85439 19.6507 5.31875 18.8377C3.78311 18.0246 2.48583 16.8254 1.55477 15.3583L3.66559 14.0187C4.36388 15.119 5.33684 16.0184 6.48857 16.6282C7.64031 17.2381 8.93106 17.5372 10.2336 17.4963C11.5362 17.4554 12.8056 17.0757 13.9168 16.3948C15.028 15.7139 15.9425 14.7552 16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function Yg(t,e){return o.openBlock(),o.createElementBlock("svg",nA,[...rA])}const sA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yg},render:Yg},Symbol.toStringTag,{value:"Module"})),iA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oA=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Ellipse",d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"currentColor"})],-1)];function Hg(t,e){return o.openBlock(),o.createElementBlock("svg",iA,[...oA])}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hg},render:Hg},Symbol.toStringTag,{value:"Module"})),lA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cA=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#F2F2F2"},null,-1)];function Wg(t,e){return o.openBlock(),o.createElementBlock("svg",lA,[...cA])}const dA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wg},render:Wg},Symbol.toStringTag,{value:"Module"})),uA={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hA=[o.createStaticVNode('<g id="google-authenticator-3 1" clip-path="url(#clip0_2798_100151)"><path id="Vector" d="M24 11.5003C24 12.6548 23.095 13.5897 21.9775 13.5897H15L12 7.32163L15.2375 1.52876C15.7975 0.529276 17.0325 0.188367 18 0.764296C18.9675 1.34281 19.2975 2.61864 18.74 3.61812L15.5025 9.41099H21.9775C23.095 9.41099 24 10.3459 24 11.5003Z" fill="#1A73E8"></path><path id="Vector_2" d="M18.0002 22.2347C17.0327 22.8107 15.7977 22.4698 15.2377 21.4703L12.0002 15.6774L8.76272 21.4703C8.20272 22.4698 6.96772 22.8107 6.00022 22.2347C5.03272 21.6562 4.70272 20.3804 5.26022 19.3809L8.49772 13.5881L12.0002 13.4512L15.5027 13.5881L18.7402 19.3809C19.2977 20.3804 18.9677 21.6562 18.0002 22.2347Z" fill="#EA4335"></path><path id="Vector_3" d="M12.0002 7.32163L11.0877 9.88361L8.49772 9.41099L5.26022 3.61812C4.70272 2.61864 5.03272 1.34281 6.00022 0.764296C6.96772 0.188367 8.20272 0.529276 8.76272 1.52876L12.0002 7.32163Z" fill="#FBBC04"></path><path id="Vector_4" d="M11.4775 9.41016L9.13 13.5889H2.0225C0.905 13.5889 0 12.654 0 11.4995C0 10.3451 0.905 9.41016 2.0225 9.41016H11.4775Z" fill="#34A853"></path><path id="Vector_5" d="M15.5026 13.5884H8.49756L12.0001 7.32031L15.5026 13.5884Z" fill="#185DB7"></path></g><defs><clipPath id="clip0_2798_100151"><rect width="24" height="22.9091" fill="white" transform="translate(0 0.0449219)"></rect></clipPath></defs>',2)];function jg(t,e){return o.openBlock(),o.createElementBlock("svg",uA,[...hA])}const fA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jg},render:jg},Symbol.toStringTag,{value:"Module"})),mA={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pA=[o.createStaticVNode('<g id="7123025_logo_google_g_icon 1"><g id="Group"><path id="Vector" d="M19.9498 12.1755C19.9498 11.6795 19.9018 11.1675 19.8218 10.6875H12.8938V13.5195H16.8618C16.7018 14.4315 16.1738 15.2315 15.3898 15.7435L17.7578 17.5835C19.1498 16.2875 19.9498 14.3995 19.9498 12.1755Z" fill="#4280EF"></path><path id="Vector_2" d="M12.8957 19.3458C14.8797 19.3458 16.5437 18.6898 17.7597 17.5698L15.3917 15.7458C14.7357 16.1938 13.8877 16.4498 12.8957 16.4498C10.9757 16.4498 9.35969 15.1538 8.76769 13.4258L6.33569 15.2978C7.58369 17.7778 10.1117 19.3458 12.8957 19.3458Z" fill="#34A353"></path><path id="Vector_3" d="M8.76717 13.4071C8.46318 12.4951 8.46318 11.5031 8.76717 10.5911L6.33518 8.70312C5.29518 10.7831 5.29518 13.2311 6.33518 15.2951L8.76717 13.4071Z" fill="#F6B704"></path><path id="Vector_4" d="M12.8957 7.56853C13.9357 7.55253 14.9597 7.95253 15.7117 8.67253L17.8077 6.56053C16.4797 5.31253 14.7197 4.64053 12.8957 4.65653C10.1117 4.65653 7.58369 6.22453 6.33569 8.70453L8.76769 10.5925C9.35969 8.84853 10.9757 7.56853 12.8957 7.56853Z" fill="#E54335"></path></g></g>',1)];function Zg(t,e){return o.openBlock(),o.createElementBlock("svg",mA,[...pA])}const gA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zg},render:Zg},Symbol.toStringTag,{value:"Module"})),_A={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},yA=[o.createElementVNode("path",{d:"M5.24982 3.1215L4.79677 3.33303L5.21983 4.23914L5.67288 4.02761L5.24982 3.1215ZM14.6666 7.99866L15.1169 8.21603L15.2218 7.99866L15.1169 7.78129L14.6666 7.99866ZM12.3668 10.4898L12.0182 10.8482L12.735 11.5455L13.0836 11.1871L12.3668 10.4898ZM6.93926 6.23093L6.58571 5.87738L5.8786 6.58448L6.23215 6.93804L6.93926 6.23093ZM9.06058 9.76647L9.41413 10.12L10.1212 9.41291L9.76769 9.05936L9.06058 9.76647ZM1.33325 7.99874L0.882974 7.78137L0.77804 7.99874L0.882974 8.21611L1.33325 7.99874ZM4.41495 4.80423L4.80912 4.4966L4.19387 3.70827L3.7997 4.0159L4.41495 4.80423ZM6.83812 7.0498L7.15471 6.66279L6.38071 6.02961L6.06412 6.41662L6.83812 7.0498ZM9.55991 9.95236L9.95047 9.64018L9.32609 8.85905L8.93553 9.17124L9.55991 9.95236ZM11.8029 12.2725L12.2152 11.9897L11.6497 11.165L11.2373 11.4478L11.8029 12.2725ZM5.67288 4.02761C7.16338 3.33169 8.77318 3.32268 10.2662 3.99961C11.7649 4.67913 13.1786 6.06647 14.2163 8.21603L15.1169 7.78129C13.9993 5.46631 12.4329 3.88403 10.6791 3.08885C8.9196 2.29108 7.00441 2.30229 5.24982 3.1215L5.67288 4.02761ZM13.0836 11.1871C13.8556 10.3935 14.5447 9.40127 15.1169 8.21603L14.2163 7.78129C13.6856 8.88071 13.0558 9.78162 12.3668 10.4898L13.0836 11.1871ZM7.99992 9.4987C7.17149 9.4987 6.49992 8.82713 6.49992 7.9987H5.49992C5.49992 9.37941 6.61921 10.4987 7.99992 10.4987V9.4987ZM6.23215 6.93804L9.06058 9.76647L9.76769 9.05936L6.93926 6.23093L6.23215 6.93804ZM1.4797 2.18558L13.813 14.5189L14.5201 13.8118L2.18681 1.47848L1.4797 2.18558ZM1.4797 2.18558L3.92669 4.63258L4.6338 3.92547L2.18681 1.47848L1.4797 2.18558ZM3.92669 4.63258L11.366 12.0719L12.0731 11.3648L4.6338 3.92547L3.92669 4.63258ZM11.366 12.0719L13.813 14.5189L14.5201 13.8118L12.0731 11.3648L11.366 12.0719ZM1.78353 8.21611C2.50956 6.71214 3.42056 5.5803 4.41495 4.80423L3.7997 4.0159C2.66692 4.89998 1.6654 6.16059 0.882974 7.78137L1.78353 8.21611ZM6.49992 7.9987C6.49992 7.63814 6.6265 7.30849 6.83812 7.0498L6.06412 6.41662C5.71172 6.8474 5.49992 7.39899 5.49992 7.9987H6.49992ZM8.93553 9.17124C8.6789 9.37637 8.35438 9.4987 7.99992 9.4987V10.4987C8.58938 10.4987 9.13242 10.2941 9.55991 9.95236L8.93553 9.17124ZM0.882974 8.21611C2.11541 10.7691 3.89461 12.4317 5.86668 13.1285C7.8464 13.828 9.96502 13.5329 11.8029 12.2725L11.2373 11.4478C9.64906 12.537 7.86277 12.7732 6.19985 12.1856C4.52928 11.5953 2.92813 10.1524 1.78353 7.78137L0.882974 8.21611Z",fill:"#7F7F83"},null,-1)];function Ug(t,e){return o.openBlock(),o.createElementBlock("svg",_A,[...yA])}const wA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ug},render:Ug},Symbol.toStringTag,{value:"Module"})),bA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kA=[o.createElementVNode("g",{id:"home-line"},[o.createElementVNode("path",{id:"vector",d:"M8.31137 2.6316L8.7863 3.21206L8.31137 2.6316ZM9.54856 1.79906L9.75171 2.52102L9.54856 1.79906ZM11.6886 2.6316L11.2137 3.21206L11.6886 2.6316ZM10.4514 1.79906L10.2483 2.52102L10.4514 1.79906ZM4.03502 16.6933L4.37551 16.0251L4.03502 16.6933ZM3.125 14.2083H3.875H3.125ZM3.30666 15.965L3.97491 15.6245L3.30666 15.965ZM16.6933 15.965L16.0251 15.6245L16.6933 15.965ZM15.965 16.6933L15.6245 16.0251L15.965 16.6933ZM16.8166 7.22743L17.5403 7.03063L16.8166 7.22743ZM15.897 6.07478L15.422 6.65525L15.897 6.07478ZM16.5652 6.69701L15.9546 7.13251L16.5652 6.69701ZM3.125 8.13866H2.375H3.125ZM3.18341 7.22743L2.45969 7.03063L3.18341 7.22743ZM4.10303 6.07478L3.6281 5.49431L4.10303 6.07478ZM3.43476 6.69701L4.04537 7.13251H4.04537L3.43476 6.69701ZM6.45833 12.7917C6.04412 12.7917 5.70833 13.1274 5.70833 13.5417C5.70833 13.9559 6.04412 14.2917 6.45833 14.2917V12.7917ZM13.5417 14.2917C13.9559 14.2917 14.2917 13.9559 14.2917 13.5417C14.2917 13.1274 13.9559 12.7917 13.5417 12.7917V14.2917ZM16.125 8.13866V14.2083H17.625V8.13866H16.125ZM14.2083 16.125H5.79167V17.625H14.2083V16.125ZM3.875 14.2083V8.13866H2.375V14.2083H3.875ZM4.57796 6.65525L8.7863 3.21206L7.83644 2.05113L3.6281 5.49431L4.57796 6.65525ZM11.2137 3.21206L15.422 6.65525L16.3719 5.49431L12.1636 2.05113L11.2137 3.21206ZM8.7863 3.21206C9.09564 2.95896 9.29647 2.79527 9.46067 2.68011C9.61712 2.57038 9.69739 2.53631 9.75171 2.52102L9.34541 1.0771C9.06494 1.15602 8.82742 1.2921 8.59937 1.45203C8.37907 1.60654 8.1287 1.81201 7.83644 2.05113L8.7863 3.21206ZM12.1636 2.05113C11.8713 1.81201 11.6209 1.60654 11.4006 1.45203C11.1726 1.2921 10.9351 1.15602 10.6546 1.0771L10.2483 2.52102C10.3026 2.53631 10.3829 2.57038 10.5393 2.68011C10.7035 2.79527 10.9044 2.95896 11.2137 3.21206L12.1636 2.05113ZM9.75171 2.52102C9.91408 2.47533 10.0859 2.47533 10.2483 2.52102L10.6546 1.0771C10.2265 0.956641 9.77349 0.956641 9.34541 1.0771L9.75171 2.52102ZM5.79167 16.125C5.31258 16.125 4.99837 16.1244 4.75808 16.1048C4.52654 16.0859 4.43042 16.0531 4.37551 16.0251L3.69452 17.3616C3.99613 17.5153 4.31163 17.5733 4.63593 17.5998C4.95147 17.6256 5.33733 17.625 5.79167 17.625V16.125ZM2.375 14.2083C2.375 14.6627 2.37442 15.0485 2.4002 15.3641C2.42669 15.6884 2.48472 16.0039 2.6384 16.3055L3.97491 15.6245C3.94693 15.5696 3.91413 15.4734 3.89522 15.2419C3.87558 15.0016 3.875 14.6874 3.875 14.2083H2.375ZM4.37551 16.0251C4.20303 15.9372 4.06279 15.797 3.97491 15.6245L2.6384 16.3055C2.87009 16.7602 3.2398 17.1299 3.69452 17.3616L4.37551 16.0251ZM16.125 14.2083C16.125 14.6874 16.1244 15.0016 16.1048 15.2419C16.0859 15.4734 16.0531 15.5696 16.0251 15.6245L17.3616 16.3055C17.5153 16.0039 17.5733 15.6884 17.5998 15.3641C17.6256 15.0485 17.625 14.6627 17.625 14.2083H16.125ZM14.2083 17.625C14.6627 17.625 15.0485 17.6256 15.3641 17.5998C15.6884 17.5733 16.0039 17.5153 16.3055 17.3616L15.6245 16.0251C15.5696 16.0531 15.4735 16.0859 15.2419 16.1048C15.0016 16.1244 14.6874 16.125 14.2083 16.125V17.625ZM16.0251 15.6245C15.9372 15.797 15.797 15.9372 15.6245 16.0251L16.3055 17.3616C16.7602 17.1299 17.1299 16.7602 17.3616 16.3055L16.0251 15.6245ZM17.625 8.13866C17.625 7.71545 17.6312 7.36469 17.5403 7.03063L16.0929 7.42424C16.1188 7.51973 16.125 7.63327 16.125 8.13866H17.625ZM15.422 6.65525C15.8132 6.97528 15.8972 7.05194 15.9546 7.13251L17.1758 6.26151C16.9748 5.97966 16.6994 5.76231 16.3719 5.49431L15.422 6.65525ZM17.5403 7.03063C17.4653 6.75471 17.3419 6.4943 17.1758 6.26151L15.9546 7.13251C16.0176 7.22081 16.0644 7.31959 16.0929 7.42424L17.5403 7.03063ZM3.875 8.13866C3.875 7.63327 3.88116 7.51973 3.90712 7.42424L2.45969 7.03063C2.36884 7.36469 2.375 7.71545 2.375 8.13866H3.875ZM3.6281 5.49431C3.30056 5.7623 3.02518 5.97966 2.82416 6.26151L4.04537 7.13251C4.10283 7.05194 4.18681 6.97528 4.57796 6.65525L3.6281 5.49431ZM3.90712 7.42424C3.93558 7.31958 3.98239 7.22081 4.04537 7.13251L2.82416 6.26151C2.65812 6.4943 2.53472 6.75471 2.45969 7.03063L3.90712 7.42424ZM6.45833 14.2917H13.5417V12.7917H6.45833V14.2917Z",fill:"currentColor"})],-1)];function qg(t,e){return o.openBlock(),o.createElementBlock("svg",bA,[...kA])}const CA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qg},render:qg},Symbol.toStringTag,{value:"Module"})),xA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},MA=[o.createElementVNode("path",{d:"M8 16.5C12.4183 16.5 16 12.9183 16 8.5C16 4.08172 12.4183 0.5 8 0.5C3.58172 0.5 0 4.08172 0 8.5C0 12.9183 3.58172 16.5 8 16.5ZM8.9307 7.08789L7.92875 11.793C7.85844 12.1328 7.95805 12.3262 8.23344 12.3262C8.4268 12.3262 8.71977 12.2559 8.91898 12.0801L8.83109 12.4961C8.54398 12.8418 7.91117 13.0938 7.36625 13.0938C6.66313 13.0938 6.3643 12.6719 6.55766 11.7754L7.29594 8.30664C7.36039 8.01367 7.3018 7.9082 7.00883 7.83789L6.55766 7.75586L6.63969 7.375L8.9307 7.08789ZM8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55229 4 9 4.44772 9 5C9 5.55228 8.55229 6 8 6Z",fill:"#007AFF"},null,-1)];function Gg(t,e){return o.openBlock(),o.createElementBlock("svg",xA,[...MA])}const vA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gg},render:Gg},Symbol.toStringTag,{value:"Module"})),SA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},TA=[o.createElementVNode("path",{d:"M3.37169 16.9938L3.62139 16.5038L3.62139 16.5038L3.37169 16.9938ZM3.00751 16.6296L2.51746 16.8793L2.51746 16.8793L3.00751 16.6296ZM16.9925 16.6296L17.4826 16.8793L16.9925 16.6296ZM16.6283 16.9938L16.878 17.4839L16.6283 16.9938ZM16.9925 3.37298L16.5025 3.62267L16.5025 3.62267L16.9925 3.37298ZM16.6283 3.0088L16.878 2.51874L16.878 2.51874L16.6283 3.0088ZM3.00751 3.37298L2.51746 3.12328V3.12328L3.00751 3.37298ZM3.37169 3.0088L3.122 2.51874H3.122L3.37169 3.0088ZM16.5334 4.2513V15.7513H17.6334V4.2513H16.5334ZM15.75 16.5346H4.25002V17.6346H15.75V16.5346ZM3.46669 15.7513V4.2513H2.36669V15.7513H3.46669ZM4.25002 3.46797H15.75V2.36797H4.25002V3.46797ZM4.25002 16.5346C4.00759 16.5346 3.85884 16.5342 3.74748 16.5251C3.69555 16.5209 3.66395 16.5155 3.64458 16.511C3.63535 16.5088 3.62959 16.5069 3.62637 16.5058C3.62327 16.5047 3.62183 16.504 3.62139 16.5038L3.122 17.4839C3.30159 17.5754 3.48493 17.6073 3.6579 17.6215C3.82445 17.6351 4.02574 17.6346 4.25002 17.6346V16.5346ZM2.36669 15.7513C2.36669 15.9756 2.36626 16.1769 2.37987 16.3434C2.394 16.5164 2.42596 16.6997 2.51746 16.8793L3.49757 16.3799C3.49734 16.3795 3.49663 16.3781 3.49552 16.375C3.49437 16.3717 3.49253 16.366 3.49036 16.3567C3.4858 16.3374 3.48046 16.3058 3.47621 16.2538C3.46711 16.1425 3.46669 15.9937 3.46669 15.7513H2.36669ZM3.62139 16.5038C3.56808 16.4766 3.52473 16.4332 3.49757 16.3799L2.51746 16.8793C2.65009 17.1396 2.86171 17.3512 3.122 17.4839L3.62139 16.5038ZM16.5334 15.7513C16.5334 15.9937 16.5329 16.1425 16.5238 16.2538C16.5196 16.3058 16.5142 16.3374 16.5097 16.3567C16.5075 16.366 16.5057 16.3717 16.5045 16.375C16.5034 16.3781 16.5027 16.3795 16.5025 16.3799L17.4826 16.8793C17.5741 16.6997 17.606 16.5164 17.6202 16.3434C17.6338 16.1769 17.6334 15.9756 17.6334 15.7513H16.5334ZM15.75 17.6346C15.9743 17.6346 16.1756 17.6351 16.3421 17.6215C16.5151 17.6073 16.6985 17.5754 16.878 17.4839L16.3787 16.5038C16.3782 16.504 16.3768 16.5047 16.3737 16.5058C16.3705 16.5069 16.3647 16.5088 16.3555 16.511C16.3361 16.5155 16.3045 16.5209 16.2526 16.5251C16.1412 16.5342 15.9925 16.5346 15.75 16.5346V17.6346ZM16.5025 16.3799C16.4753 16.4332 16.432 16.4766 16.3787 16.5038L16.878 17.4839C17.1383 17.3512 17.35 17.1396 17.4826 16.8793L16.5025 16.3799ZM17.6334 4.2513C17.6334 4.02702 17.6338 3.82573 17.6202 3.65918C17.606 3.48621 17.5741 3.30287 17.4826 3.12328L16.5025 3.62267C16.5027 3.62312 16.5034 3.62455 16.5045 3.62765C16.5057 3.63087 16.5075 3.63664 16.5097 3.64586C16.5142 3.66523 16.5196 3.69683 16.5238 3.74876C16.5329 3.86013 16.5334 4.00887 16.5334 4.2513H17.6334ZM15.75 3.46797C15.9925 3.46797 16.1412 3.4684 16.2526 3.4775C16.3045 3.48174 16.3361 3.48708 16.3555 3.49164C16.3647 3.49381 16.3705 3.49566 16.3737 3.49681C16.3768 3.49791 16.3782 3.49862 16.3787 3.49885L16.878 2.51874C16.6985 2.42724 16.5151 2.39528 16.3421 2.38115C16.1756 2.36754 15.9743 2.36797 15.75 2.36797V3.46797ZM17.4826 3.12328C17.35 2.86299 17.1383 2.65137 16.878 2.51874L16.3787 3.49885C16.432 3.52601 16.4753 3.56936 16.5025 3.62267L17.4826 3.12328ZM3.46669 4.2513C3.46669 4.00887 3.46711 3.86013 3.47621 3.74876C3.48046 3.69683 3.4858 3.66523 3.49036 3.64586C3.49253 3.63664 3.49437 3.63087 3.49552 3.62765C3.49663 3.62455 3.49734 3.62312 3.49757 3.62267L2.51746 3.12328C2.42596 3.30287 2.394 3.48621 2.37987 3.65918C2.36626 3.82573 2.36669 4.02702 2.36669 4.2513H3.46669ZM4.25002 2.36797C4.02574 2.36797 3.82445 2.36754 3.6579 2.38115C3.48493 2.39528 3.30159 2.42724 3.122 2.51874L3.62139 3.49885C3.62183 3.49862 3.62327 3.49791 3.62637 3.49681C3.62959 3.49566 3.63535 3.49381 3.64458 3.49164C3.66395 3.48708 3.69555 3.48174 3.74748 3.4775C3.85884 3.4684 4.00759 3.46797 4.25002 3.46797V2.36797ZM3.49757 3.62267C3.52473 3.56936 3.56808 3.52601 3.62139 3.49885L3.122 2.51874C2.86171 2.65137 2.65009 2.86299 2.51746 3.12328L3.49757 3.62267ZM9.45002 2.91797V17.0846H10.55V2.91797H9.45002Z",fill:"#1C2026"},null,-1)];function Kg(t,e){return o.openBlock(),o.createElementBlock("svg",SA,[...TA])}const DA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kg},render:Kg},Symbol.toStringTag,{value:"Module"})),OA={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EA=[o.createStaticVNode('<g id="LOGO SCOPE" clip-path="url(#clip0_2737_18129)"><g id="Group"><g id="Group_2"><path id="Vector" d="M116.288 3.07053H116.696C117.017 3.07053 117.233 2.88014 117.233 2.60393C117.233 2.32772 117.04 2.1545 116.691 2.1545C116.365 2.1545 116.149 2.34644 116.13 2.63982H115.484C115.509 2.02029 115.994 1.61768 116.722 1.61768C117.45 1.61768 117.896 1.97504 117.896 2.5103C117.896 2.92071 117.615 3.21721 117.203 3.29212V3.30616C117.704 3.3483 118.026 3.64948 118.026 4.11296C118.026 4.71376 117.48 5.11325 116.705 5.11325C115.93 5.11325 115.451 4.69815 115.418 4.08175H116.09C116.11 4.3642 116.343 4.5499 116.713 4.5499C117.082 4.5499 117.311 4.35328 117.311 4.06926C117.311 3.7634 117.081 3.5777 116.702 3.5777H116.287V3.07209L116.288 3.07053Z" fill="#1C2026"></path><path id="Vector_2" d="M118.699 4.49667C118.513 4.21422 118.418 3.83501 118.418 3.39026C118.418 2.28228 118.958 1.61438 119.825 1.61438C120.466 1.61438 120.965 1.99203 121.059 2.53977H120.369C120.301 2.31662 120.085 2.16837 119.822 2.16837C119.354 2.16837 119.071 2.61624 119.086 3.37153H119.1C119.235 3.04382 119.565 2.82691 119.994 2.82691C120.632 2.82691 121.104 3.29507 121.104 3.9302C121.104 4.61839 120.567 5.11308 119.816 5.11308C119.334 5.11308 118.936 4.89461 118.701 4.49667H118.699ZM120.419 3.95205C120.419 3.60717 120.16 3.35437 119.81 3.35437C119.459 3.35437 119.196 3.60717 119.196 3.94581C119.196 4.28444 119.464 4.55597 119.808 4.55597C120.152 4.55597 120.42 4.28912 120.42 3.95361L120.419 3.95205Z" fill="#1C2026"></path><path id="Vector_3" d="M121.484 3.35575C121.484 2.27431 122.002 1.61108 122.843 1.61108C123.684 1.61108 124.199 2.27275 124.199 3.35263C124.199 4.43252 123.687 5.10822 122.843 5.10822C121.999 5.10822 121.484 4.43876 121.484 3.35419V3.35575ZM123.485 3.35575C123.485 2.5989 123.241 2.17287 122.843 2.17287C122.445 2.17287 122.198 2.60202 122.198 3.35575C122.198 4.10949 122.442 4.54799 122.843 4.54799C123.244 4.54799 123.485 4.11885 123.485 3.35575Z" fill="#1C2026"></path><path id="Vector_4" d="M124.523 2.39511C124.523 1.98001 124.844 1.65698 125.262 1.65698C125.68 1.65698 126.003 1.98001 126.003 2.39511C126.003 2.81021 125.679 3.1348 125.262 3.1348C124.846 3.1348 124.523 2.81177 124.523 2.39511ZM125.599 2.39511C125.599 2.20785 125.452 2.05648 125.264 2.05648C125.076 2.05648 124.929 2.20785 124.929 2.39511C124.929 2.58237 125.082 2.73531 125.264 2.73531C125.455 2.73531 125.599 2.57769 125.599 2.39511Z" fill="#1C2026"></path></g><path id="Vector_5" d="M4.27462 15.1864C4.27462 14.492 4.67074 13.8584 5.29545 13.5525C5.40505 13.4995 5.51308 13.4449 5.62111 13.3918C10.6297 10.9106 14.7522 8.48864 14.7945 7.73334C14.6692 7.63971 14.4469 7.56013 14.1322 7.50395C12.6542 7.24022 9.15016 7.52735 4.23705 9.6684C3.97871 9.78075 3.71881 9.89779 3.4542 10.0211L1.90887 6.70028C5.4207 5.07577 9.32239 3.90693 12.4616 3.78989C15.1593 3.68846 17.2933 4.36105 18.1419 6.18686C19.7013 9.53419 12.9877 13.7632 6.93002 16.814C5.71192 17.4273 4.27306 16.5488 4.27306 15.188L4.27462 15.1864Z" fill="url(#paint0_linear_2737_18129)"></path><path id="Vector_6" d="M18.3385 7.73053C18.2993 7.87722 18.2508 8.02391 18.2023 8.1706C18.1662 8.27983 18.1287 8.38907 18.0817 8.49363C17.9893 8.7043 17.8797 8.90717 17.7545 9.10067C17.6292 9.29418 17.4977 9.483 17.3474 9.64998C17.1955 9.81695 17.0264 9.95428 16.8511 10.0978C16.6726 10.243 16.4847 10.3756 16.289 10.4958C16.087 10.6206 15.8772 10.7314 15.6627 10.8329C15.5938 10.8656 15.5234 10.8968 15.4529 10.9265C12.1086 12.359 8.51693 13.3437 5.62668 13.3952H5.41531C2.95406 13.3952 1.0314 12.6992 0.232896 10.9858C-1.34218 7.59632 5.36834 3.28459 11.4291 0.222838C12.5063 -0.321786 13.7338 0.165099 14.0673 1.32145C14.2176 1.84422 14.1221 2.37324 13.8637 2.78834C13.6853 3.07392 13.43 3.30956 13.1169 3.46249C12.8977 3.57017 12.6832 3.68096 12.464 3.78864C8.12864 5.97026 4.56984 8.1113 3.75725 9.10379C3.62104 9.27077 3.69619 9.52357 3.90129 9.58755C3.99837 9.61876 4.11266 9.64529 4.24105 9.6687C4.52757 9.7202 4.89394 9.74985 5.3292 9.74985C7.13756 9.74985 10.1781 9.22863 14.1346 7.50425L14.1565 7.49333C14.3976 7.356 16.5661 6.05608 15.9508 4.24743C15.9555 4.24899 15.9618 4.25056 15.9665 4.25212C15.979 4.2568 15.9915 4.26148 16.004 4.26616C16.0588 4.28801 16.1121 4.31298 16.1669 4.33482C16.2498 4.36916 16.3313 4.40817 16.4127 4.44718C16.516 4.49556 16.6162 4.54862 16.7164 4.60479C16.8307 4.66878 16.9434 4.73744 17.053 4.80922C17.172 4.88881 17.2879 4.97308 17.3991 5.06359C17.5149 5.15878 17.6276 5.26022 17.731 5.36945C17.8375 5.48181 17.9361 5.60041 18.0253 5.72837C18.1146 5.8579 18.1944 5.99522 18.2571 6.14035C18.3197 6.28548 18.3729 6.44778 18.4042 6.60851C18.4371 6.78173 18.4496 6.95807 18.4418 7.13285C18.4324 7.33728 18.3933 7.53546 18.34 7.73209L18.3385 7.73053Z" fill="url(#paint1_linear_2737_18129)"></path></g><g id="Group_3"><path id="Vector_7" d="M67.835 1.64722C62.6636 1.64722 59.0891 4.58569 59.0891 8.88494C59.0891 13.1842 62.6636 16.171 67.835 16.171C73.0065 16.171 76.498 13.1826 76.498 8.87869C76.498 4.57476 72.9783 1.64722 67.835 1.64722ZM67.835 13.5181C64.4234 13.5181 62.0326 11.6268 62.0326 8.85841C62.0326 6.09003 64.4187 4.30791 67.835 4.30791C71.2513 4.30791 73.556 6.14465 73.556 8.85841C73.556 11.5722 71.1621 13.5135 67.835 13.5135V13.5197V13.5181Z" fill="#1C2026"></path><path id="Vector_8" d="M36.7585 7.59421H32.1116C29.3607 7.59421 28.6186 4.30462 34.3396 4.30462C36.7601 4.30462 38.6577 5.34705 39.4828 5.89323L40.9687 3.64608C39.5643 2.4117 37.0905 1.64392 34.3129 1.64392C25.1271 1.64392 25.0159 10.1972 32.1398 10.1972H36.8149C39.8398 10.1972 40.3346 13.5148 34.3396 13.5148C31.3413 13.5148 28.9755 11.9247 28.1504 11.3207L26.6646 13.5695C28.069 14.8023 31.0375 16.1724 34.3646 16.1724C43.9904 16.1662 44.1016 7.59265 36.7585 7.59265V7.59421Z" fill="#1C2026"></path><path id="Vector_9" d="M51.8526 13.5119C48.3329 13.5119 46.0502 11.6205 46.0502 8.90678C46.0502 6.19303 48.3048 4.30635 51.8244 4.30635C53.8332 4.30635 55.7026 5.34878 56.8299 6.38965L58.5146 4.05979C56.9192 2.80045 54.4704 1.64722 51.8307 1.64722C46.5496 1.64722 43.1129 4.60909 43.1129 8.91302C43.1129 13.217 46.6013 16.171 51.8855 16.171C54.58 16.171 57.0288 14.9647 58.6226 13.7038L56.891 11.427C55.759 12.4741 53.888 13.5119 51.8526 13.5119Z" fill="#1C2026"></path><path id="Vector_10" d="M105.017 1.64548C100.067 1.64548 96.6284 4.60736 96.6284 8.91129C96.6284 13.2152 100.561 16.1693 105.925 16.1693C108.758 16.1693 111.119 15.2377 112.608 13.9768L110.873 11.7062C109.855 12.8032 108.207 13.5975 105.896 13.5975C102.677 13.5975 100.383 12.2555 99.719 10.1987H113.353V8.88164C113.348 4.57771 109.966 1.64392 105.016 1.64392L105.017 1.64548ZM104.989 4.22191C107.823 4.22191 109.761 5.55304 110.272 7.67535H99.6642C100.19 5.57176 102.11 4.22191 104.989 4.22191Z" fill="#1C2026"></path><path id="Vector_11" d="M87.369 1.64548C84.9077 1.64548 82.9553 2.50689 81.6135 3.8349C81.2659 2.73941 80.3062 2.05746 79.0051 2.05746H77.2202V4.66198H78.8689V20.9991H81.7576V14.0954C83.0915 15.3547 84.986 16.174 87.3721 16.174C91.9643 16.174 95.1269 13.1856 95.1269 8.88164C95.1269 4.57771 91.9596 1.64392 87.3674 1.64392L87.369 1.64548ZM87.0104 13.5102C83.8744 13.5102 81.7576 11.6188 81.7576 8.85043C81.7576 6.08206 83.8744 4.29994 87.0104 4.29994C90.1465 4.29994 92.1819 6.13668 92.1819 8.85043C92.1788 11.625 90.0087 13.5102 87.0104 13.5102Z" fill="#1C2026"></path></g></g><defs><linearGradient id="paint0_linear_2737_18129" x1="17.2181" y1="8.42625" x2="2.76763" y2="6.60461" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="1" stop-color="#007AFF"></stop></linearGradient><linearGradient id="paint1_linear_2737_18129" x1="11.116" y1="1.09206" x2="18.2166" y2="8.13786" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="0.511338" stop-color="#007AFF"></stop><stop offset="1" stop-color="#00BAF2"></stop></linearGradient><clipPath id="clip0_2737_18129"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function Xg(t,e){return o.openBlock(),o.createElementBlock("svg",OA,[...EA])}const PA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xg},render:Xg},Symbol.toStringTag,{value:"Module"})),LA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},$A=[o.createElementVNode("path",{d:"M12.2942 3.70313L3.64616 12.3512M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C6.25106 14.3307 4.66772 13.6218 3.52162 12.4757C2.37551 11.3296 1.66663 9.7463 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C9.74886 1.66406 11.3322 2.37295 12.4783 3.51905C13.6244 4.66516 14.3333 6.24849 14.3333 7.9974Z",stroke:"#7F7F83","stroke-linecap":"round"},null,-1)];function Qg(t,e){return o.openBlock(),o.createElementBlock("svg",LA,[...$A])}const NA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qg},render:Qg},Symbol.toStringTag,{value:"Module"})),VA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BA=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.16602 4.16669L15.8327 15.8334M15.8327 4.16669L4.16602 15.8334",stroke:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function Jg(t,e){return o.openBlock(),o.createElementBlock("svg",VA,[...BA])}const AA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jg},render:Jg},Symbol.toStringTag,{value:"Module"})),FA={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RA=[o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 10.2357L11.0974 9.76425L7.99981 12.8619L4.90218 9.76425L4.43078 10.2357L7.99981 13.8047L11.5688 10.2357Z",fill:"#8E8E93"},null,-1),o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 5.76435L11.0974 6.23575L7.99981 3.13812L4.90218 6.23575L4.43078 5.76435L7.99981 2.19531L11.5688 5.76435Z",fill:"#8E8E93"},null,-1)];function e_(t,e){return o.openBlock(),o.createElementBlock("svg",FA,[...RA])}const IA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),zA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},YA=[o.createElementVNode("g",{id:"bell, notification, activity, alert"},[o.createElementVNode("path",{id:"vector",d:"M13.3332 15.4163C12.7721 16.8879 11.4908 17.9163 9.99984 17.9163C8.5089 17.9163 7.22756 16.8879 6.6665 15.4163M17.0832 15.4163L16.0884 7.45785C15.7045 4.38726 13.0943 2.08301 9.99984 2.08301C6.90536 2.08301 4.29514 4.38726 3.91132 7.45785L2.9165 15.4163H17.0832Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function t_(t,e){return o.openBlock(),o.createElementBlock("svg",zA,[...YA])}const HA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),WA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},jA=[o.createElementVNode("path",{d:"M7.66671 13.6641H3.00004C2.63185 13.6641 2.33337 13.3656 2.33337 12.9974V5.66406M2.33337 5.66406V3.66406C2.33337 3.29587 2.63185 2.9974 3.00004 2.9974H13C13.3682 2.9974 13.6667 3.29587 13.6667 3.66406V5.66406M2.33337 5.66406H13.6667M13.6667 5.66406V8.33073M5.00004 2.9974V1.66406M11 2.9974V1.66406M14.3334 10.3307L11.2223 14.3307L9.66671 12.7307",stroke:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function n_(t,e){return o.openBlock(),o.createElementBlock("svg",WA,[...jA])}const ZA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),UA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qA=[o.createElementVNode("path",{d:"M7.99996 4.83073V4.12703M7.99996 11.1641V11.8678M9.66663 5.9974C9.36244 5.57672 8.65113 5.18258 7.99996 5.18258C7.23841 5.18258 6.2407 5.50839 6.2407 6.43361C6.2407 8.43726 9.75922 7.59402 9.75922 9.50747C9.75922 10.4257 8.77347 10.8122 7.99996 10.8122C7.34878 10.8122 6.54488 10.4181 6.2407 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function r_(t,e){return o.openBlock(),o.createElementBlock("svg",UA,[...qA])}const GA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),KA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XA=[o.createElementVNode("g",{id:"pie_chart_light"},[o.createElementVNode("circle",{id:"Ellipse",cx:"10",cy:"10",r:"7.5",stroke:"currentColor","stroke-width":"1.66667"}),o.createElementVNode("path",{id:"Vector",d:"M10 10H17.5",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"}),o.createElementVNode("path",{id:"Vector_2",d:"M10 2.5V9.94822C10 9.98137 10.0132 10.0132 10.0366 10.0366L15 15",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"})],-1)];function s_(t,e){return o.openBlock(),o.createElementBlock("svg",KA,[...XA])}const QA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),JA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eF=[o.createElementVNode("g",{id:"pie-chart-1, graph, chart, statistics"},[o.createElementVNode("path",{id:"vector",d:"M10.0013 2.29297C5.74411 2.29297 2.29297 5.74411 2.29297 10.0013C2.29297 14.2585 5.74411 17.7096 10.0013 17.7096C13.3576 17.7096 16.2128 15.5646 17.271 12.5707M10.0013 2.29297C14.2585 2.29297 17.7096 5.74411 17.7096 10.0013C17.7096 10.9022 17.5551 11.7671 17.271 12.5707M10.0013 2.29297V10.0013L17.271 12.5707",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})],-1)];function i_(t,e){return o.openBlock(),o.createElementBlock("svg",JA,[...eF])}const tF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),nF={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rF=[o.createElementVNode("g",{id:"plus-small, add small"},[o.createElementVNode("path",{id:"vector",d:"M10.5 5.41666V9.99999M10.5 9.99999V14.5833M10.5 9.99999H5.91669M10.5 9.99999H15.0834",stroke:"currentColor","stroke-linecap":"square"})],-1)];function o_(t,e){return o.openBlock(),o.createElementBlock("svg",nF,[...rF])}const sF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),iF={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oF=[o.createStaticVNode('<g id="darhboard"><rect id="Rectangle" x="4" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_2" x="4" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_3" x="14" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_4" x="14" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect></g>',1)];function a_(t,e){return o.openBlock(),o.createElementBlock("svg",iF,[...oF])}const aF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),lF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cF=[o.createElementVNode("g",{id:"folder-1"},[o.createElementVNode("path",{id:"vector",d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function l_(t,e){return o.openBlock(),o.createElementBlock("svg",lF,[...cF])}const dF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),uF={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hF=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",fill:"#007AFF",stroke:"#007AFF","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M16 21.75C19.1756 21.75 21.75 19.1756 21.75 16C21.75 12.8244 19.1756 10.25 16 10.25C12.8244 10.25 10.25 12.8244 10.25 16C10.25 19.1756 12.8244 21.75 16 21.75Z",fill:"#007AFF",stroke:"#F6F6F6","stroke-width":"1.5"},null,-1)];function c_(t,e){return o.openBlock(),o.createElementBlock("svg",uF,[...hF])}const fF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),mF={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pF=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M20.5 16C20.5 18.4853 18.4853 20.5 16 20.5C13.5147 20.5 11.5 18.4853 11.5 16C11.5 13.5147 13.5147 11.5 16 11.5C18.4853 11.5 20.5 13.5147 20.5 16Z",fill:"white",stroke:"#8E8E93"},null,-1)];function d_(t,e){return o.openBlock(),o.createElementBlock("svg",mF,[...pF])}const gF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),_F={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},yF=[o.createElementVNode("path",{d:"M2.33337 8.0026H4.66671L6.33337 10.3359L9.66671 5.33594L11.3334 8.0026H13.6667M2.33337 2.33594H13.6667V13.6693H2.33337V2.33594Z",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function u_(t,e){return o.openBlock(),o.createElementBlock("svg",_F,[...yF])}const wF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),bF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},kF=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function h_(t,e){return o.openBlock(),o.createElementBlock("svg",bF,[...kF])}const CF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),xF={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},MF=[o.createElementVNode("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM12.0303 4.96967C11.7374 4.67678 11.2626 4.67678 10.9697 4.96967C10.9626 4.97674 10.9559 4.98424 10.9498 4.9921L7.4774 9.41674L5.38388 7.32322C5.09098 7.03033 4.61611 7.03033 4.32322 7.32322C4.03032 7.61612 4.03032 8.09099 4.32322 8.38388L6.96966 11.0303C7.26256 11.3232 7.73743 11.3232 8.03032 11.0303C8.03685 11.0238 8.043 11.0169 8.04876 11.0097L12.041 6.01947C12.3232 5.72582 12.3196 5.25897 12.0303 4.96967Z",fill:"#34C759"},null,-1)];function f_(t,e){return o.openBlock(),o.createElementBlock("svg",xF,[...MF])}const vF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),SF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},TF=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function m_(t,e){return o.openBlock(),o.createElementBlock("svg",SF,[...TF])}const DF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),OF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M20.1104 27.8037C19.4495 28.7243 18.5312 29.1846 17.3555 29.1846C16.1797 29.1846 15.2568 28.7266 14.5869 27.8105C13.9215 26.89 13.5889 25.639 13.5889 24.0576C13.5889 22.4899 13.9238 21.248 14.5938 20.332C15.2637 19.4115 16.1842 18.9512 17.3555 18.9512C18.5267 18.9512 19.445 19.4092 20.1104 20.3252C20.7757 21.2367 21.1084 22.4785 21.1084 24.0508C21.1084 25.6322 20.7757 26.8831 20.1104 27.8037ZM15.7217 26.8809C16.109 27.5599 16.6536 27.8994 17.3555 27.8994C18.0573 27.8994 18.5996 27.5599 18.9824 26.8809C19.3698 26.1973 19.5635 25.2562 19.5635 24.0576C19.5635 22.8727 19.3675 21.9408 18.9756 21.2617C18.5882 20.5781 18.0482 20.2363 17.3555 20.2363C16.6628 20.2363 16.1204 20.5781 15.7285 21.2617C15.3366 21.9453 15.1406 22.8773 15.1406 24.0576C15.1406 25.2562 15.3343 26.1973 15.7217 26.8809ZM23.0293 31.1055H21.7168L25.2168 19.1357H26.5293L23.0293 31.1055ZM29.4414 24.5361V23.333H30.6309C31.1595 23.333 31.5902 23.1826 31.9229 22.8818C32.2601 22.5811 32.4287 22.1982 32.4287 21.7334C32.4287 21.264 32.2715 20.8926 31.957 20.6191C31.6471 20.3457 31.2051 20.209 30.6309 20.209C30.0977 20.209 29.6647 20.3525 29.332 20.6396C28.9993 20.9222 28.8102 21.3073 28.7646 21.7949H27.3223C27.3815 20.929 27.7142 20.2386 28.3203 19.7236C28.931 19.2087 29.724 18.9512 30.6992 18.9512C31.638 18.9512 32.4105 19.1927 33.0166 19.6758C33.6227 20.1543 33.9258 20.7718 33.9258 21.5283C33.9258 22.139 33.7412 22.654 33.3721 23.0732C33.0029 23.488 32.5107 23.75 31.8955 23.8594V23.8867C32.6429 23.9368 33.2354 24.1761 33.6729 24.6045C34.1149 25.0329 34.3359 25.5911 34.3359 26.2793C34.3359 27.1315 33.9919 27.8288 33.3037 28.3711C32.6156 28.9134 31.752 29.1846 30.7129 29.1846C29.6602 29.1846 28.8102 28.9225 28.1631 28.3984C27.5205 27.8698 27.1742 27.1748 27.124 26.3135H28.5938C28.6439 26.792 28.8558 27.1771 29.2295 27.4688C29.6077 27.7604 30.1022 27.9062 30.7129 27.9062C31.3145 27.9062 31.8089 27.7536 32.1963 27.4482C32.5837 27.1383 32.7773 26.7419 32.7773 26.2588C32.7773 25.7256 32.5882 25.3063 32.21 25.001C31.8363 24.6911 31.3236 24.5361 30.6719 24.5361H29.4414Z",fill:"#1C2026"},null,-1)];function p_(t,e){return o.openBlock(),o.createElementBlock("svg",OF,[...EF])}const PF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),LF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$F=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621L41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M17.417 29V20.6533H17.3828L14.8057 22.4854V20.9814L17.4033 19.1357H18.9141V29H17.417ZM21.8672 31.1055H20.5547L24.0547 19.1357H25.3672L21.8672 31.1055ZM28.2793 24.5361V23.333H29.4688C29.9974 23.333 30.4281 23.1826 30.7607 22.8818C31.098 22.5811 31.2666 22.1982 31.2666 21.7334C31.2666 21.264 31.1094 20.8926 30.7949 20.6191C30.485 20.3457 30.043 20.209 29.4688 20.209C28.9355 20.209 28.5026 20.3525 28.1699 20.6396C27.8372 20.9222 27.6481 21.3073 27.6025 21.7949H26.1602C26.2194 20.929 26.5521 20.2386 27.1582 19.7236C27.7689 19.2087 28.5618 18.9512 29.5371 18.9512C30.4759 18.9512 31.2484 19.1927 31.8545 19.6758C32.4606 20.1543 32.7637 20.7718 32.7637 21.5283C32.7637 22.139 32.5791 22.654 32.21 23.0732C31.8408 23.488 31.3486 23.75 30.7334 23.8594V23.8867C31.4808 23.9368 32.0732 24.1761 32.5107 24.6045C32.9528 25.0329 33.1738 25.5911 33.1738 26.2793C33.1738 27.1315 32.8298 27.8288 32.1416 28.3711C31.4535 28.9134 30.5898 29.1846 29.5508 29.1846C28.498 29.1846 27.6481 28.9225 27.001 28.3984C26.3584 27.8698 26.012 27.1748 25.9619 26.3135H27.4316C27.4818 26.792 27.6937 27.1771 28.0674 27.4688C28.4456 27.7604 28.9401 27.9062 29.5508 27.9062C30.1523 27.9062 30.6468 27.7536 31.0342 27.4482C31.4215 27.1383 31.6152 26.7419 31.6152 26.2588C31.6152 25.7256 31.4261 25.3063 31.0479 25.001C30.6742 24.6911 30.1615 24.5361 29.5098 24.5361H28.2793Z",fill:"#1C2026"},null,-1)];function g_(t,e){return o.openBlock(),o.createElementBlock("svg",LF,[...$F])}const NF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),VF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621C43.0223 39.2165 40.0957 42.2844 36.54 44.4634C32.9842 46.6423 28.9221 47.8572 24.7539 47.9882C20.5856 48.1191 16.4552 47.1618 12.7697 45.2104C9.08414 43.259 5.97068 40.3809 3.73613 36.8598L6.77571 34.9309C8.67507 37.9238 11.3215 40.3701 14.4542 42.0288C17.5869 43.6875 21.0978 44.5013 24.6408 44.3899C28.1838 44.2786 31.6366 43.246 34.659 41.3939C37.6814 39.5417 40.169 36.934 41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M13.9854 22.0273C13.9854 21.1387 14.3044 20.4049 14.9424 19.8262C15.585 19.2428 16.3962 18.9512 17.376 18.9512C18.3148 18.9512 19.0964 19.2155 19.7207 19.7441C20.3451 20.2728 20.6572 20.929 20.6572 21.7129C20.6572 22.2643 20.5046 22.7884 20.1992 23.2852C19.8939 23.7773 19.3607 24.4131 18.5996 25.1924L16.1318 27.6738V27.708H20.8145V29H14.0674V27.9609L17.6289 24.3311C18.2305 23.7021 18.6338 23.2191 18.8389 22.8818C19.0439 22.54 19.1465 22.1755 19.1465 21.7881C19.1465 21.3506 18.971 20.9792 18.6201 20.6738C18.2692 20.3685 17.8385 20.2158 17.3281 20.2158C16.7904 20.2158 16.3392 20.389 15.9746 20.7354C15.6146 21.0771 15.4346 21.5055 15.4346 22.0205V22.041H13.9854V22.0273ZM22.7217 31.1055H21.4092L24.9092 19.1357H26.2217L22.7217 31.1055ZM29.1338 24.5361V23.333H30.3232C30.8519 23.333 31.2826 23.1826 31.6152 22.8818C31.9525 22.5811 32.1211 22.1982 32.1211 21.7334C32.1211 21.264 31.9639 20.8926 31.6494 20.6191C31.3395 20.3457 30.8975 20.209 30.3232 20.209C29.79 20.209 29.3571 20.3525 29.0244 20.6396C28.6917 20.9222 28.5026 21.3073 28.457 21.7949H27.0146C27.0739 20.929 27.4066 20.2386 28.0127 19.7236C28.6234 19.2087 29.4163 18.9512 30.3916 18.9512C31.3304 18.9512 32.1029 19.1927 32.709 19.6758C33.3151 20.1543 33.6182 20.7718 33.6182 21.5283C33.6182 22.139 33.4336 22.654 33.0645 23.0732C32.6953 23.488 32.2031 23.75 31.5879 23.8594V23.8867C32.3353 23.9368 32.9277 24.1761 33.3652 24.6045C33.8073 25.0329 34.0283 25.5911 34.0283 26.2793C34.0283 27.1315 33.6842 27.8288 32.9961 28.3711C32.3079 28.9134 31.4443 29.1846 30.4053 29.1846C29.3525 29.1846 28.5026 28.9225 27.8555 28.3984C27.2129 27.8698 26.8665 27.1748 26.8164 26.3135H28.2861C28.3363 26.792 28.5482 27.1771 28.9219 27.4688C29.3001 27.7604 29.7946 27.9062 30.4053 27.9062C31.0068 27.9062 31.5013 27.7536 31.8887 27.4482C32.276 27.1383 32.4697 26.7419 32.4697 26.2588C32.4697 25.7256 32.2806 25.3063 31.9023 25.001C31.5286 24.6911 31.016 24.5361 30.3643 24.5361H29.1338Z",fill:"#1C2026"},null,-1)];function __(t,e){return o.openBlock(),o.createElementBlock("svg",VF,[...BF])}const AF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),FF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M16.0293 24.5361V23.333H17.2188C17.7474 23.333 18.1781 23.1826 18.5107 22.8818C18.848 22.5811 19.0166 22.1982 19.0166 21.7334C19.0166 21.264 18.8594 20.8926 18.5449 20.6191C18.235 20.3457 17.793 20.209 17.2188 20.209C16.6855 20.209 16.2526 20.3525 15.9199 20.6396C15.5872 20.9222 15.3981 21.3073 15.3525 21.7949H13.9102C13.9694 20.929 14.3021 20.2386 14.9082 19.7236C15.5189 19.2087 16.3118 18.9512 17.2871 18.9512C18.2259 18.9512 18.9984 19.1927 19.6045 19.6758C20.2106 20.1543 20.5137 20.7718 20.5137 21.5283C20.5137 22.139 20.3291 22.654 19.96 23.0732C19.5908 23.488 19.0986 23.75 18.4834 23.8594V23.8867C19.2308 23.9368 19.8232 24.1761 20.2607 24.6045C20.7028 25.0329 20.9238 25.5911 20.9238 26.2793C20.9238 27.1315 20.5798 27.8288 19.8916 28.3711C19.2035 28.9134 18.3398 29.1846 17.3008 29.1846C16.248 29.1846 15.3981 28.9225 14.751 28.3984C14.1084 27.8698 13.762 27.1748 13.7119 26.3135H15.1816C15.2318 26.792 15.4437 27.1771 15.8174 27.4688C16.1956 27.7604 16.6901 27.9062 17.3008 27.9062C17.9023 27.9062 18.3968 27.7536 18.7842 27.4482C19.1715 27.1383 19.3652 26.7419 19.3652 26.2588C19.3652 25.7256 19.1761 25.3063 18.7979 25.001C18.4242 24.6911 17.9115 24.5361 17.2598 24.5361H16.0293ZM22.9062 31.1055H21.5938L25.0938 19.1357H26.4062L22.9062 31.1055ZM29.3184 24.5361V23.333H30.5078C31.0365 23.333 31.4671 23.1826 31.7998 22.8818C32.137 22.5811 32.3057 22.1982 32.3057 21.7334C32.3057 21.264 32.1484 20.8926 31.834 20.6191C31.5241 20.3457 31.082 20.209 30.5078 20.209C29.9746 20.209 29.5417 20.3525 29.209 20.6396C28.8763 20.9222 28.6872 21.3073 28.6416 21.7949H27.1992C27.2585 20.929 27.5911 20.2386 28.1973 19.7236C28.8079 19.2087 29.6009 18.9512 30.5762 18.9512C31.515 18.9512 32.2874 19.1927 32.8936 19.6758C33.4997 20.1543 33.8027 20.7718 33.8027 21.5283C33.8027 22.139 33.6182 22.654 33.249 23.0732C32.8799 23.488 32.3877 23.75 31.7725 23.8594V23.8867C32.5199 23.9368 33.1123 24.1761 33.5498 24.6045C33.9919 25.0329 34.2129 25.5911 34.2129 26.2793C34.2129 27.1315 33.8688 27.8288 33.1807 28.3711C32.4925 28.9134 31.6289 29.1846 30.5898 29.1846C29.5371 29.1846 28.6872 28.9225 28.04 28.3984C27.3975 27.8698 27.0511 27.1748 27.001 26.3135H28.4707C28.5208 26.792 28.7327 27.1771 29.1064 27.4688C29.4847 27.7604 29.9792 27.9062 30.5898 27.9062C31.1914 27.9062 31.6859 27.7536 32.0732 27.4482C32.4606 27.1383 32.6543 26.7419 32.6543 26.2588C32.6543 25.7256 32.4652 25.3063 32.0869 25.001C31.7132 24.6911 31.2005 24.5361 30.5488 24.5361H29.3184Z",fill:"#1C2026"},null,-1)];function y_(t,e){return o.openBlock(),o.createElementBlock("svg",FF,[...RF])}const IF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),zF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},YF=[o.createElementVNode("g",{id:"qr-code, barcode, scan"},[o.createElementVNode("path",{id:"vector",d:"M11.2498 11.2493V13.7493H13.7498M14.5832 11.2493H17.0832M17.0832 14.5827H14.5832V17.0827M11.2498 17.0827V16.2493M8.74984 2.91602H2.9165V8.74935H8.74984V2.91602ZM2.9165 11.2493H8.74984V17.0827H2.9165V11.2493ZM11.2498 2.91602H17.0832V8.74935H11.2498V2.91602Z",stroke:"#007AFF","stroke-linecap":"square"})],-1)];function w_(t,e){return o.openBlock(),o.createElementBlock("svg",zF,[...YF])}const HF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),WF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jF=[o.createStaticVNode('<g clip-path="url(#clip0_5981_16052)"><path d="M116.288 3.07004H116.696C117.017 3.07004 117.233 2.87965 117.233 2.60344C117.233 2.32723 117.04 2.15401 116.691 2.15401C116.365 2.15401 116.149 2.34595 116.13 2.63933H115.484C115.509 2.0198 115.994 1.61719 116.722 1.61719C117.45 1.61719 117.896 1.97455 117.896 2.50981C117.896 2.92023 117.615 3.21673 117.203 3.29163V3.30568C117.704 3.34781 118.026 3.64899 118.026 4.11247C118.026 4.71327 117.48 5.11277 116.705 5.11277C115.93 5.11277 115.451 4.69767 115.418 4.08126H116.09C116.11 4.36371 116.343 4.54942 116.713 4.54942C117.082 4.54942 117.311 4.35279 117.311 4.06877C117.311 3.76291 117.081 3.57721 116.702 3.57721H116.287V3.0716L116.288 3.07004Z" fill="#1C2026"></path><path d="M118.7 4.49557C118.513 4.21312 118.418 3.83391 118.418 3.38916C118.418 2.28119 118.958 1.61328 119.826 1.61328C120.466 1.61328 120.965 1.99093 121.059 2.53867H120.369C120.301 2.31552 120.085 2.16727 119.822 2.16727C119.354 2.16727 119.071 2.61514 119.087 3.37043H119.101C119.235 3.04272 119.566 2.82581 119.995 2.82581C120.632 2.82581 121.105 3.29397 121.105 3.9291C121.105 4.61729 120.568 5.11198 119.816 5.11198C119.334 5.11198 118.936 4.89351 118.701 4.49557H118.7ZM120.419 3.95095C120.419 3.60607 120.161 3.35327 119.81 3.35327C119.459 3.35327 119.196 3.60607 119.196 3.94471C119.196 4.28334 119.464 4.55487 119.808 4.55487C120.153 4.55487 120.42 4.28802 120.42 3.95251L120.419 3.95095Z" fill="#1C2026"></path><path d="M121.484 3.35404C121.484 2.2726 122.003 1.60938 122.843 1.60938C123.684 1.60938 124.199 2.27104 124.199 3.35092C124.199 4.43081 123.687 5.10651 122.843 5.10651C121.999 5.10651 121.484 4.43705 121.484 3.35248V3.35404ZM123.485 3.35404C123.485 2.59719 123.241 2.17116 122.843 2.17116C122.446 2.17116 122.198 2.60031 122.198 3.35404C122.198 4.10778 122.443 4.54628 122.843 4.54628C123.244 4.54628 123.485 4.11714 123.485 3.35404Z" fill="#1C2026"></path><path d="M124.523 2.39438C124.523 1.97928 124.844 1.65625 125.262 1.65625C125.68 1.65625 126.003 1.97928 126.003 2.39438C126.003 2.80948 125.679 3.13407 125.262 3.13407C124.846 3.13407 124.523 2.81104 124.523 2.39438ZM125.599 2.39438C125.599 2.20712 125.452 2.05574 125.264 2.05574C125.076 2.05574 124.929 2.20712 124.929 2.39438C124.929 2.58164 125.082 2.73457 125.264 2.73457C125.455 2.73457 125.599 2.57696 125.599 2.39438Z" fill="#1C2026"></path><path d="M17.6799 3.84522L14.8073 9.03408L11.8828 14.3155L11.2489 15.4554C10.7967 16.2733 9.93306 16.7804 8.99529 16.7804C8.05751 16.7804 7.19386 16.2733 6.74165 15.448L6.11523 14.3081L9.0027 9.01557L11.8716 3.75269L13.1764 1.36182C13.8658 0.121969 15.43 -0.329558 16.6717 0.358836C17.9134 1.04723 18.3657 2.60907 17.6762 3.84892H17.6836L17.6799 3.84522Z" fill="url(#paint0_linear_5981_16052)"></path><path d="M6.14077 3.74064L3.20512 9.02202L0.317654 3.81096C-0.364366 2.56371 0.0878416 1.00187 1.32956 0.317175C2.5787 -0.363817 4.1429 0.0877102 4.82492 1.32756L6.13336 3.74434H6.14077V3.74064Z" fill="url(#paint1_linear_5981_16052)"></path><path d="M11.8701 3.75092L9.00113 9.0138L6.11366 14.3063L4.82375 16.6787C4.13431 17.9185 2.57012 18.3626 1.32469 17.6779C0.0829679 16.9895 -0.361833 15.4277 0.323895 14.1879L3.19654 9.0249L6.13219 3.74352L6.74749 2.64061C7.1997 1.82268 8.06335 1.31934 8.99371 1.31934C9.92408 1.31934 10.7877 1.82638 11.2399 2.64061L11.8589 3.75462L11.8664 3.74722L11.8701 3.75092Z" fill="url(#paint2_linear_5981_16052)"></path><path d="M16.6755 17.6755C16.2789 17.8939 15.8489 17.9975 15.4264 17.9975C14.5256 17.9975 13.6435 17.5201 13.1727 16.6762L11.8828 14.3038L14.8073 9.02246L17.6763 14.178C18.3657 15.4179 17.9172 16.9797 16.6755 17.6681V17.6755Z" fill="url(#paint3_linear_5981_16052)"></path><path d="M67.8338 1.64844C62.6623 1.64844 59.0879 4.58691 59.0879 8.88616C59.0879 13.1854 62.6623 16.1723 67.8338 16.1723C73.0053 16.1723 76.4967 13.1838 76.4967 8.87991C76.4967 4.57598 72.9771 1.64844 67.8338 1.64844ZM67.8338 13.5194C64.4222 13.5194 62.0314 11.628 62.0314 8.85963C62.0314 6.09125 64.4175 4.30913 67.8338 4.30913C71.2501 4.30913 73.5548 6.14587 73.5548 8.85963C73.5548 11.5734 71.1609 13.5147 67.8338 13.5147V13.5209V13.5194Z" fill="#1C2026"></path><path d="M36.758 7.59482H32.1111C29.3602 7.59482 28.618 4.30523 34.339 4.30523C36.7596 4.30523 38.6572 5.34766 39.4823 5.89384L40.9682 3.64669C39.5637 2.41231 37.09 1.64453 34.3124 1.64453C25.1266 1.64453 25.0154 10.1978 32.1393 10.1978H36.8144C39.8393 10.1978 40.3341 13.5155 34.339 13.5155C31.3408 13.5155 28.975 11.9253 28.1499 11.3214L26.6641 13.5701C28.0685 14.8029 31.037 16.173 34.3641 16.173C43.9899 16.1668 44.1011 7.59326 36.758 7.59326V7.59482Z" fill="#1C2026"></path><path d="M51.8529 13.5131C48.3333 13.5131 46.0505 11.6218 46.0505 8.908C46.0505 6.19425 48.3051 4.30757 51.8248 4.30757C53.8335 4.30757 55.703 5.35 56.8302 6.39088L58.5149 4.06101C56.9195 2.80167 54.4708 1.64844 51.831 1.64844C46.55 1.64844 43.1133 4.61032 43.1133 8.91425C43.1133 13.2182 46.6016 16.1723 51.8858 16.1723C54.5804 16.1723 57.0291 14.966 58.623 13.7051L56.8913 11.4283C55.7593 12.4754 53.8883 13.5131 51.8529 13.5131Z" fill="#1C2026"></path><path d="M105.016 1.64609C100.065 1.64609 96.627 4.60797 96.627 8.9119C96.627 13.2158 100.56 16.1699 105.924 16.1699C108.756 16.1699 111.117 15.2383 112.606 13.9774L110.872 11.7068C109.854 12.8039 108.205 13.5982 105.894 13.5982C102.675 13.5982 100.381 12.2561 99.7176 10.1993H113.352V8.88225C113.347 4.57832 109.965 1.64453 105.014 1.64453L105.016 1.64609ZM104.988 4.22252C107.822 4.22252 109.76 5.55365 110.27 7.67596H99.6628C100.189 5.57237 102.108 4.22252 104.988 4.22252Z" fill="#1C2026"></path><path d="M87.3675 1.64609C84.9063 1.64609 82.9539 2.5075 81.6121 3.83551C81.2645 2.74002 80.3047 2.05807 79.0036 2.05807H77.2188V4.66259H78.8674V20.9997H81.7561V14.096C83.0901 15.3553 84.9845 16.1746 87.3706 16.1746C91.9628 16.1746 95.1255 13.1862 95.1255 8.88225C95.1255 4.57832 91.9581 1.64453 87.3659 1.64453L87.3675 1.64609ZM87.009 13.5108C83.8729 13.5108 81.7561 11.6194 81.7561 8.85104C81.7561 6.08267 83.8729 4.30055 87.009 4.30055C90.145 4.30055 92.1804 6.13729 92.1804 8.85104C92.1773 11.6257 90.0073 13.5108 87.009 13.5108Z" fill="#1C2026"></path></g><defs><linearGradient id="paint0_linear_5981_16052" x1="7.58306" y1="17.4539" x2="15.7182" y2="1.6109" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint1_linear_5981_16052" x1="9.59906" y1="15.0251" x2="1.83292" y2="1.2805" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint2_linear_5981_16052" x1="10.5542" y1="1.63392" x2="0.731369" y2="18.2202" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint3_linear_5981_16052" x1="12.2238" y1="9.64424" x2="17.2384" y2="18.7404" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><clipPath id="clip0_5981_16052"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function b_(t,e){return o.openBlock(),o.createElementBlock("svg",WF,[...jF])}const ZF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),UF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},qF=[o.createElementVNode("path",{d:"M16.875 16.8763L13.5833 13.5846M15.4167 9.16797C15.4167 12.6197 12.6185 15.418 9.16669 15.418C5.71491 15.418 2.91669 12.6197 2.91669 9.16797C2.91669 5.71619 5.71491 2.91797 9.16669 2.91797C12.6185 2.91797 15.4167 5.71619 15.4167 9.16797Z",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function k_(t,e){return o.openBlock(),o.createElementBlock("svg",UF,[...qF])}const GF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),KF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},XF=[o.createElementVNode("path",{d:"M16.8753 16.8751L13.5836 13.5834M15.417 9.16675C15.417 12.6185 12.6188 15.4167 9.16699 15.4167C5.71521 15.4167 2.91699 12.6185 2.91699 9.16675C2.91699 5.71497 5.71521 2.91675 9.16699 2.91675C12.6188 2.91675 15.417 5.71497 15.417 9.16675Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",KF,[...XF])}const QF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),JF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},eR=[o.createElementVNode("path",{d:"M7.99996 4.9974V7.9974L9.99996 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"#7F7F83","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function x_(t,e){return o.openBlock(),o.createElementBlock("svg",JF,[...eR])}const tR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),nR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},rR=[o.createElementVNode("path",{d:"M7.62498 4.45703L5.05206 3.86328L3.86456 5.05078L4.45831 7.6237L2.08331 9.20703V10.7904L4.45831 12.3737L3.86456 14.9466L5.05206 16.1341L7.62498 15.5404L9.20831 17.9154H10.7916L12.375 15.5404L14.9479 16.1341L16.1354 14.9466L15.5416 12.3737L17.9166 10.7904V9.20703L15.5416 7.6237L16.1354 5.05078L14.9479 3.86328L12.375 4.45703L10.7916 2.08203H9.20831L7.62498 4.45703Z",stroke:"#8E8E93"},null,-1),o.createElementVNode("path",{d:"M12.5 9.9987C12.5 11.3794 11.3807 12.4987 9.99998 12.4987C8.61927 12.4987 7.49998 11.3794 7.49998 9.9987C7.49998 8.61799 8.61927 7.4987 9.99998 7.4987C11.3807 7.4987 12.5 8.61799 12.5 9.9987Z",stroke:"#8E8E93"},null,-1)];function M_(t,e){return o.openBlock(),o.createElementBlock("svg",nR,[...rR])}const sR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),iR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oR=[o.createElementVNode("g",{id:"settings 3, gear, preferences"},[o.createElementVNode("g",{id:"Icon"},[o.createElementVNode("path",{d:"M6.29846 4.28462L5.98025 4.21119C5.48466 4.09682 4.96511 4.24582 4.60547 4.60547C4.24582 4.96511 4.09682 5.48466 4.21119 5.98025L4.28462 6.29846C4.4777 7.13515 4.13269 8.00399 3.41823 8.4803L2.93434 8.80289C2.53365 9.07002 2.29297 9.51973 2.29297 10.0013C2.29297 10.4829 2.53365 10.9326 2.93434 11.1997L3.41823 11.5223C4.13269 11.9986 4.4777 12.8675 4.28462 13.7041L4.21119 14.0224C4.09682 14.5179 4.24583 15.0375 4.60547 15.3971C4.96511 15.7568 5.48466 15.9058 5.98025 15.7914L6.29846 15.718C7.13515 15.5249 8.00399 15.8699 8.4803 16.5844L8.80289 17.0683C9.07002 17.469 9.51973 17.7096 10.0013 17.7096C10.4829 17.7096 10.9326 17.469 11.1997 17.0683L11.5223 16.5844C11.9986 15.8699 12.8675 15.5249 13.7041 15.718L14.0224 15.7914C14.5179 15.9058 15.0375 15.7568 15.3971 15.3971C15.7568 15.0375 15.9058 14.5179 15.7914 14.0224L15.718 13.7041C15.5249 12.8675 15.8699 11.9986 16.5844 11.5223L17.0683 11.1997C17.469 10.9326 17.7096 10.4829 17.7096 10.0013C17.7096 9.51973 17.469 9.07002 17.0683 8.80289L16.5844 8.4803C15.8699 8.00399 15.5249 7.13515 15.718 6.29846L15.7914 5.98025C15.9058 5.48466 15.7568 4.96511 15.3971 4.60547C15.0375 4.24583 14.5179 4.09682 14.0224 4.21119L13.7041 4.28462C12.8675 4.4777 11.9986 4.13269 11.5223 3.41823L11.1997 2.93434C10.9326 2.53365 10.4829 2.29297 10.0013 2.29297C9.51973 2.29297 9.07002 2.53365 8.80289 2.93434L8.4803 3.41823C8.00399 4.13269 7.13515 4.4777 6.29846 4.28462Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"}),o.createElementVNode("path",{d:"M12.293 10.0013C12.293 11.267 11.267 12.293 10.0013 12.293C8.73565 12.293 7.70964 11.267 7.70964 10.0013C7.70964 8.73565 8.73565 7.70964 10.0013 7.70964C11.267 7.70964 12.293 8.73565 12.293 10.0013Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})])],-1)];function v_(t,e){return o.openBlock(),o.createElementBlock("svg",iR,[...oR])}const aR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),lR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},cR=[o.createElementVNode("path",{d:"M8.66667 1.9974V5.33073C8.66667 5.69892 8.96514 5.9974 9.33333 5.9974H12.6667M5.66667 11.6641V10.3307M8 11.6641V8.33073M10.3333 11.6641V9.66406M3.66667 1.66406H8.39052C8.56734 1.66406 8.7369 1.7343 8.86193 1.85932L12.8047 5.80213C12.9298 5.92716 13 6.09673 13 6.27354V13.6641C13 14.0323 12.7015 14.3307 12.3333 14.3307H3.66667C3.29848 14.3307 3 14.0323 3 13.6641V2.33073C3 1.96254 3.29848 1.66406 3.66667 1.66406Z",stroke:"#7F7F83","stroke-linecap":"round"},null,-1)];function S_(t,e){return o.openBlock(),o.createElementBlock("svg",lR,[...cR])}const dR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),uR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hR=[o.createElementVNode("g",{id:"arrow-share-right, next, forward"},[o.createElementVNode("path",{id:"vector",d:"M18.75 9.99984L10.4167 2.9165V7.08317C3.33333 7.08317 1.25 9.99984 1.25 17.0832C2.5 14.5832 3.33333 12.9165 10.4167 12.9165V17.0832L18.75 9.99984Z",stroke:"#1C2026"})],-1)];function T_(t,e){return o.openBlock(),o.createElementBlock("svg",uR,[...hR])}const fR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),mR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},pR=[o.createElementVNode("path",{d:"M11.5 14L13.1666 12.3333L11.5 10.6667M3.83329 2L2.16663 3.66667L3.83329 5.33333M2.33329 3.66667H12.3333C12.7015 3.66667 13 3.96514 13 4.33333V7M2.33329 9V11.6667C2.33329 12.0349 2.63177 12.3333 2.99996 12.3333H13",stroke:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function D_(t,e){return o.openBlock(),o.createElementBlock("svg",mR,[...pR])}const gR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),_R={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},yR=[o.createElementVNode("path",{d:"M13.6666 2.33203H2.33325V4.9987L6.33325 9.66536V14.332L9.66659 12.9987V9.66536L13.6666 4.9987V2.33203Z",stroke:"#7F7F83"},null,-1)];function O_(t,e){return o.openBlock(),o.createElementBlock("svg",_R,[...yR])}const wR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),bR={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kR=[o.createStaticVNode('<g id="Group 1171281291"><path id="Vector" d="M11.0345 2.89349C11.0345 4.01688 10.1257 4.92565 9.00235 4.92565C6.89639 4.92565 5.16267 6.53194 4.94805 8.58087C4.93799 8.72171 4.92458 8.86255 4.92458 9.0034C4.92458 9.7445 5.12243 10.442 5.46783 11.0423C4.90781 10.0698 3.66704 9.73444 2.68784 10.3012C1.73211 10.8511 1.39006 12.0651 1.9199 13.0308C1.23916 11.8471 0.853516 10.4688 0.853516 9.0034V8.88603C0.913877 4.44947 4.54229 0.861328 8.99564 0.861328C10.119 0.861328 11.0278 1.7701 11.0278 2.89349H11.0345Z" fill="url(#paint0_linear_4793_138373)"></path><path id="Vector_2" d="M15.9771 13.1923C14.5519 15.5564 11.9563 17.1459 8.99859 17.1459C6.04087 17.1459 3.44532 15.5564 2.02011 13.1923C2.01005 13.1822 2.00334 13.1654 1.99328 13.152C1.97652 13.1252 1.95975 13.1017 1.94969 13.0716C1.94969 13.0648 1.94298 13.0615 1.93963 13.0548C1.93292 13.0447 1.92957 13.038 1.92286 13.028C1.39638 12.0622 1.73842 10.8482 2.6908 10.2983C3.66329 9.73826 4.90741 10.0669 5.47079 11.0394C6.17836 12.2567 7.49291 13.0783 9.00195 13.0783C10.511 13.0783 11.8255 12.26 12.5331 11.0394C11.9731 12.0119 12.3017 13.2526 13.2742 13.8194C14.2065 14.3593 15.3869 14.0709 15.9737 13.1956L15.9804 13.1889L15.9771 13.1923Z" fill="url(#paint1_linear_4793_138373)"></path><path id="Vector_3" d="M17.1446 9.00327C17.1446 10.4687 16.7556 11.8402 16.0782 13.0307C16.0782 13.0408 16.0682 13.0475 16.0615 13.0575C16.0615 13.0642 16.0548 13.0676 16.0514 13.0743C16.0346 13.1011 16.0246 13.1246 16.0078 13.1514C16.0011 13.1615 15.991 13.1783 15.981 13.1917C15.3908 14.0736 14.207 14.3553 13.2815 13.8154C12.309 13.2554 11.9803 12.0113 12.5404 11.0354C12.8891 10.4352 13.0836 9.73766 13.0836 8.99656C13.0836 6.74643 11.2527 4.91882 9.00586 4.91882C10.1293 4.91882 11.038 4.01005 11.038 2.88666C11.038 1.76326 10.1293 0.854492 9.00586 0.854492C13.4995 0.854492 17.148 4.5097 17.148 8.99656V9.00327H17.1446Z" fill="url(#paint2_linear_4793_138373)"></path></g><defs><linearGradient id="paint0_linear_4793_138373" x1="9.34775" y1="1.5689" x2="2.32572" y2="9.39579" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint1_linear_4793_138373" x1="3.27765" y1="12.4009" x2="14.193" y2="15.0434" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint2_linear_4793_138373" x1="15.4344" y1="12.8899" x2="11.8798" y2="2.90676" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient></defs>',2)];function E_(t,e){return o.openBlock(),o.createElementBlock("svg",bR,[...kR])}const CR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),xR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MR=[o.createElementVNode("path",{d:"M7.5491 1.28312C7.73016 0.905626 8.26968 0.905627 8.45074 1.28312L10.0849 4.69028C10.1578 4.84223 10.3029 4.94716 10.4705 4.96914L14.2316 5.46239C14.6484 5.51705 14.8152 6.02874 14.5102 6.31684L11.7595 8.91462C11.6367 9.03062 11.5812 9.20066 11.612 9.36642L12.3027 13.0772C12.3793 13.4886 11.9427 13.8048 11.5733 13.6053L8.23804 11.8044C8.0895 11.7242 7.91033 11.7242 7.7618 11.8044L4.42653 13.6053C4.05714 13.8048 3.62057 13.4886 3.69716 13.0772L4.38781 9.36642C4.41866 9.20066 4.36315 9.03062 4.24033 8.91462L1.48967 6.31684C1.18461 6.02874 1.35142 5.51705 1.76822 5.46239L5.52933 4.96914C5.69696 4.94716 5.84205 4.84223 5.91493 4.69028L7.5491 1.28312Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function P_(t,e){return o.openBlock(),o.createElementBlock("svg",xR,[...MR])}const vR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),SR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TR=[o.createElementVNode("path",{d:"M12.9584 7.29427L11.5417 5.8776L8.00004 9.41927L6.22921 7.64844L2.54171 11.3359M2.33337 2.33594V13.6693H13.6667",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function L_(t,e){return o.openBlock(),o.createElementBlock("svg",SR,[...TR])}const DR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),OR={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},ER=[o.createElementVNode("path",{d:"M18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.5341 5.59088C13.2046 5.26137 12.6704 5.26137 12.3409 5.59088C12.3329 5.59884 12.3254 5.60726 12.3185 5.61612L8.41207 10.5938L6.05686 8.23863C5.72736 7.90912 5.19312 7.90912 4.86362 8.23863C4.53411 8.56813 4.53411 9.10236 4.86362 9.43187L7.84087 12.4091C8.17038 12.7386 8.70461 12.7386 9.03411 12.4091C9.04145 12.4018 9.04838 12.394 9.05486 12.3859L13.5461 6.77191C13.8636 6.44154 13.8596 5.91634 13.5341 5.59088Z",fill:"#2AA248"},null,-1)];function $_(t,e){return o.openBlock(),o.createElementBlock("svg",OR,[...ER])}const PR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),LR={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$R=[o.createElementVNode("circle",{cx:"18",cy:"18",r:"18",fill:"#007AFF"},null,-1),o.createElementVNode("path",{d:"M17.584 9.25L20.084 11.75L17.584 14.25M18.4173 21.75L15.9173 24.25L18.4173 26.75M16.334 24.25H19.6673C23.1191 24.25 25.9173 21.4518 25.9173 18C25.9173 15.9555 24.9356 14.1403 23.4179 13M19.6673 11.75H16.334C12.8822 11.75 10.084 14.5482 10.084 18C10.084 20.0445 11.0657 21.8597 12.5834 23",stroke:"white","stroke-linecap":"square"},null,-1)];function N_(t,e){return o.openBlock(),o.createElementBlock("svg",LR,[...$R])}const NR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),VR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BR=[o.createStaticVNode('<g id="dot-grid-1x3-horizontal, menu, drag, grab"><g id="vector"><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" fill="#6E6E72"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" fill="#6E6E72"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" fill="#6E6E72"></path><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></g>',1)];function V_(t,e){return o.openBlock(),o.createElementBlock("svg",VR,[...BR])}const AR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),FR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RR=[o.createElementVNode("path",{d:"M2.1665 10C2.1665 5.67379 5.67361 2.16669 9.99984 2.16669C14.3261 2.16669 17.8332 5.67379 17.8332 10C17.8332 14.3263 14.3261 17.8334 9.99984 17.8334C5.67361 17.8334 2.1665 14.3263 2.1665 10ZM8.95817 8.04169C8.33685 8.04169 7.83317 8.54537 7.83317 9.16669C7.83317 9.75998 8.29243 10.246 8.87483 10.2886L8.87484 13.5417C8.87484 14.163 9.37852 14.6667 9.99984 14.6667C10.6212 14.6667 11.1248 14.163 11.1248 13.5417L11.1248 9.16669C11.1248 8.54537 10.6212 8.04169 9.99983 8.04169H8.95817ZM9.99984 5.54169C9.37852 5.54169 8.87484 6.04537 8.87484 6.66669C8.87484 7.28801 9.37852 7.79169 9.99984 7.79169C10.6212 7.79169 11.1248 7.28801 11.1248 6.66669C11.1248 6.04537 10.6212 5.54169 9.99984 5.54169Z",fill:"currentColor",stroke:"currentColor"},null,-1)];function B_(t,e){return o.openBlock(),o.createElementBlock("svg",FR,[...RR])}const IR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),zR={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},YR=[o.createStaticVNode('<g id="Frame 2118527356"><path id="Vector" d="M15.7101 13.0405C14.7576 13.0405 13.9834 12.2692 13.9834 11.3138V7.91304L9.97199 3.90166C9.2971 3.22677 9.2971 2.137 9.97199 1.46211C10.6469 0.787213 11.7396 0.790134 12.4115 1.46211L16.9284 5.97893C17.2527 6.30323 17.4338 6.74147 17.4338 7.20017V11.3167C17.4338 12.2692 16.6625 13.0434 15.7071 13.0434L15.7101 13.0405Z" fill="url(#paint0_linear_4793_138382)"></path><path id="Vector_2" d="M2.29211 13.0399C1.33966 13.0399 0.56543 12.2686 0.56543 11.3133V8.7218C0.56543 7.76935 1.33674 6.99512 2.29211 6.99512C3.24748 6.99512 4.01879 7.76643 4.01879 8.7218V11.3133C4.01879 12.2657 3.24748 13.0399 2.29211 13.0399Z" fill="url(#paint1_linear_4793_138382)"></path><path id="Vector_3" d="M11.1935 13.0399C10.241 13.0399 9.4668 12.2686 9.4668 11.3132V2.68273C9.4668 1.73028 10.2381 0.956055 11.1935 0.956055C12.1488 0.956055 12.9202 1.72736 12.9202 2.68273V11.3132C12.9202 12.2656 12.1488 13.0399 11.1935 13.0399Z" fill="url(#paint2_linear_4793_138382)"></path><path id="Vector_4" d="M6.69152 13.0398C5.73907 13.0398 4.96484 12.2685 4.96484 11.3131V5.47863C4.96484 4.52618 5.73615 3.75195 6.69152 3.75195C7.64689 3.75195 8.4182 4.52326 8.4182 5.47863V11.3131C8.4182 12.2656 7.64689 13.0398 6.69152 13.0398Z" fill="url(#paint3_linear_4793_138382)"></path></g><defs><linearGradient id="paint0_linear_4793_138382" x1="12.4495" y1="2.93168" x2="19.5082" y2="17.0957" gradientUnits="userSpaceOnUse"><stop offset="0.04" stop-color="#6439FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint1_linear_4793_138382" x1="2.18693" y1="14.2261" x2="2.43527" y2="4.14654" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint2_linear_4793_138382" x1="11.0153" y1="14.3517" x2="11.2461" y2="4.92069" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint3_linear_4793_138382" x1="6.55128" y1="14.2464" x2="6.77917" y2="4.8534" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient></defs>',2)];function A_(t,e){return o.openBlock(),o.createElementBlock("svg",zR,[...YR])}const HR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),WR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jR=[o.createElementVNode("g",{id:"trending-1, trends"},[o.createElementVNode("path",{id:"vector",d:"M2.29297 10.8636L3.14768 8.83481C3.44666 8.12513 4.46178 8.16437 4.70547 8.89504L5.75956 12.0556C6.01597 12.8243 7.10305 12.814 7.34491 12.0405L9.94935 3.71096C10.203 2.89982 11.3607 2.9417 11.5555 3.76905L14.4893 16.2309C14.6804 17.0427 15.8081 17.1042 16.0858 16.318L17.7096 11.7196",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function F_(t,e){return o.openBlock(),o.createElementBlock("svg",WR,[...jR])}const ZR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),UR={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qR=[o.createElementVNode("path",{d:"M1 15C1 11.5522 2.36964 8.24558 4.80761 5.80761C7.24558 3.36964 10.5522 2 14 2C17.6343 2.01367 21.1226 3.43177 23.7356 5.95778L27 9.22222",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 1V10H19",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 19C28 22.4478 26.6304 25.7544 24.1924 28.1924C21.7544 30.6304 18.4478 32 15 32C11.3657 31.9863 7.8774 30.5682 5.26444 28.0422L2 24.7778",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M10 24H1V33",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function R_(t,e){return o.openBlock(),o.createElementBlock("svg",UR,[...qR])}const GR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),KR={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XR=[o.createElementVNode("path",{d:"M1 31L16 16L1 1",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M30 1V31",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function I_(t,e){return o.openBlock(),o.createElementBlock("svg",KR,[...XR])}const QR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),JR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eI=[o.createStaticVNode('<g id="Waterfall_light"><path id="Rectangle" d="M17.5 17.5H2.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector" d="M3.33331 13.3334V11.6667" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_2" d="M10 10V7.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_3" d="M6.66669 13.3333V8.33331" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_4" d="M13.3333 10.8334V9.16669" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_5" d="M16.6667 12.5V4.16669" stroke="currentColor" stroke-linecap="round"></path></g>',1)];function z_(t,e){return o.openBlock(),o.createElementBlock("svg",JR,[...eI])}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),nI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},rI=[o.createElementVNode("path",{d:"M1.43343 6.42163L2.3735 11.753C2.43744 12.1156 2.78321 12.3577 3.14581 12.2938L6.76052 11.6564M1.43343 6.42163L1.10008 4.5311C1.03615 4.16851 1.27826 3.82274 1.64086 3.7588L9.51932 2.36961C9.88191 2.30568 10.2277 2.54779 10.2916 2.91039L10.625 4.80091L1.43343 6.42163ZM10.6666 7.77171V9.33171L12.0533 10.7184M14.9999 9.33171C14.9999 11.7249 13.0598 13.665 10.6666 13.665C8.27338 13.665 6.33328 11.7249 6.33328 9.33171C6.33328 6.93847 8.27338 4.99838 10.6666 4.99838C13.0598 4.99838 14.9999 6.93847 14.9999 9.33171Z",stroke:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Y_(t,e){return o.openBlock(),o.createElementBlock("svg",nI,[...rI])}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),iI={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},oI=[o.createElementVNode("path",{d:"M22.1352 6.66797H25.4065L18.2597 14.8362L26.6673 25.9513H20.0843L14.9283 19.2101L9.02848 25.9513H5.75525L13.3993 17.2145L5.33398 6.66797H12.0841L16.7448 12.8297L22.1352 6.66797ZM20.9872 23.9933H22.7997L11.0992 8.52313H9.15406L20.9872 23.9933Z",fill:"currentColor"},null,-1)];function H_(t,e){return o.openBlock(),o.createElementBlock("svg",iI,[...oI])}const aI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"}));ie.AccountBalanceWidget=CM,ie.AverageRRLine=zm,ie.BalanceWidget=IM,ie.Button=_c,ie.Calendar=R8,ie.CalendarDropdown=Rp,ie.CalendarWidget=lv,ie.CheckBox=D5,ie.CommissionsFeesWidget=xv,ie.Confetti=dw,ie.CookieManager=on,ie.Dropdown=c5,ie.Icon=ze,ie.Input=m5,ie.LineChart=Eu,ie.LongShort=P0,ie.Menu=P5,ie.NavigationTab=q8,ie.NoMore=jd,ie.NumberInput=j8,ie.PerformanceWidget=Ov,ie.PeriodDropdown=Hs,ie.ProgressLine=Ip,ie.Radio=w5,ie.ReturnWidget=jv,ie.Selector=z8,ie.SidebarPopup=Ew,ie.SimpleLineChart=Fm,ie.Switcher=N5,ie.Textarea=pw,ie.Toast=D0,ie.Toggle=M5,ie.Tooltip=hn,ie.TopPositionsWidget=rS,ie.TradePerformanceWidget=yS,ie.WidgetChips=Rl,ie.WinrateWidget=ES,ie.addSlashToPair=G6,ie.calculateTimeDifference=xN,ie.firebaseConfig=bL,ie.getDate=CN,ie.getDay=J1,ie.getFullYear=bN,ie.getMonth=kN,ie.numFormat=Q1,ie.scopeInstance=Kl,ie.toBaseDate=q6,ie.toFix=jt,ie.transformKeysToQuery=wN,ie.useToast=K6,ie.withSign=xn,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
51
51
  //# sourceMappingURL=scope360-core.umd.cjs.map